1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7177],{8020:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/dashboard/status",function(){return r(28343)}])},28343:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>x});var s=r(37876),n=r(14232),i=r(90030),a=r(34725),l=r(45704);let o=e=>e?new Date(e).toLocaleString("en-US",{timeZone:"America/New_York",month:"short",day:"numeric",hour:"numeric",minute:"2-digit"}):"";function d({value:e,total:t,size:r=84}){let n=(r-10)/2,i=2*Math.PI*n;return(0,s.jsxs)("svg",{width:r,height:r,viewBox:`0 0 ${r} ${r}`,className:"shrink-0 -rotate-90",children:[(0,s.jsx)("circle",{cx:r/2,cy:r/2,r:n,fill:"none",stroke:"rgba(255,255,255,0.15)",strokeWidth:"7"}),(0,s.jsx)("circle",{cx:r/2,cy:r/2,r:n,fill:"none",stroke:"#5eefaa",strokeWidth:"7",strokeLinecap:"round",strokeDasharray:i,strokeDashoffset:i*(1-(t?e/t:0)),style:{transition:"stroke-dashoffset .8s cubic-bezier(.2,.7,.2,1)"}})]})}function c({ok:e,partial:t}){let[r,n]=e?["Configured","bg-green-50 text-green-700"]:t?["Partial","bg-amber-50 text-amber-700"]:["Not set","bg-gray-100 dark:bg-white/6 text-gray-500 dark:text-white/60"];return(0,s.jsx)("span",{className:`text-[10px] font-bold rounded-full px-2 py-0.5 shrink-0 ${n}`,children:r})}function h({it:e}){let t=e.ok?"linear-gradient(135deg,#2e9664,#42B97E)":e.partial?"linear-gradient(135deg,#d97706,#f59e0b)":e.critical?"linear-gradient(135deg,#dc2626,#ef4444)":"linear-gradient(135deg,#9ca3af,#c4c9d0)";return(0,s.jsxs)("div",{className:"bg-white dark:bg-white/4 roun
1ded-2xl border border-gray-100 dark:border-white/10 shadow-xs p-4 transition-all hover:shadow-md hover:-translate-y-px",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2.5",children:[(0,s.jsx)("span",{className:"w-8 h-8 rounded-xl shrink-0 flex items-center justify-center text-white text-xs font-black shadow-xs",style:{background:t},children:String(e.label||"?").charAt(0).toUpperCase()}),(0,s.jsx)("p",{className:"font-bold text-gray-900 dark:text-white text-sm flex-1 min-w-0 truncate",children:e.label}),(0,s.jsx)(c,{ok:e.ok,partial:e.partial})]}),(0,s.jsx)("p",{className:"text-gray-400 dark:text-white/40 text-xs mt-2",children:e.powers}),e.reason&&(0,s.jsxs)("p",{className:"text-amber-600 dark:text-amber-400 text-xs mt-2 font-semibold",children:["Set, but not usable: ",e.reason]}),(0,s.jsx)("div",{className:"flex flex-wrap gap-1.5 mt-2.5",children:e.required.map(e=>(0,s.jsx)("span",{className:`text-[10px] font-mono rounded-md px-1.5 py-0.5 ${e.set?"bg-green-50 text-green-700":"bg-gray-100 dark:bg-white/6 text-gray-400 dark:text-white/40 line-through"}`,children:e.name},e.name))})]})}function u({c:e}){return e.never?(0,s.jsx)("span",{className:"w-2.5 h-2.5 rounded-full bg-gray-300 shrink-0"}):e.last_ok?e.stale?(0,s.jsx)("span",{className:"w-2.5 h-2.5 rounded-full bg-amber-500 shrink-0"}):(0,s.jsx)("span",{className:"w-2.5 h-2.5 rounded-full bg-green-500 shrink-0"}):(0,s.jsxs)("span",{className:"relative flex w-2.5 h-2.5 shrink-0",children:[(0,s.jsx)("span",{className:"animate-ping absolute inline-flex h-full w-full rounded-full bg-red-400 opacity-60"}),(0,s.jsx)("span",{className:"relative inline-flex rounded-full w-2.5 h-2.5 bg-red-500"})]})}function x(){let[e,t]=(0,n.useState)(null),[r,c]=(0,n.useState)(!0);function x(){c(!0),fetch("/api/admin/health").then(e=>e.json()).then(e=>{t(e),c(!1)}).catch(()=>c(!1))}(0,n.useEffect)(()=>{x();let e=setInterval(x,6e4);return()=>clearInterval(e)},[]);let[m,p]=(0,n.useState)(!1),[f,g]=(0,n.useState)(""),b=(e?.integrations||[]).find(e=>"cache"===e.key)?.ok;async function y(){p(!0),g("");try{let e=await fetch("/api/admin/cache-clear",{method:"POST"}),t=await e.json().catch(()=>({}));g(e.ok?t.note||`Cleared ${t.cleared} key${1===t.cleared?"":"s"}`:"Failed")}catch{g("Failed")}finally{p(!1),setTimeout(()=>g(""),4e3)}}let[v,j]=(0,n.useState)("all"),[k,w]=(0,n.useState)(""),[_,S]=(0,n.useState)(null);async function N(e){w(e),S(null);try{let t=await fetch("/api/admin/cron-run",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({job:e})}),r=await t.json().catch(()=>({}));S({ok:t.ok,text:t.ok?`${(0,a.dZ)(e)} ran in ${r.ranFor}. ${"object"==typeof r.result?JSON.stringify(r.result):""}`.trim():r.result?.detail||r.error||`Failed (${r.status||t.status})`}),x()}catch(e){S({ok:!1,text:e.message||"Could not run it"})}finally{w("")}}let C=(e?.integrations||[]).filter(e=>e.critical),F=(e?.integrations||[]).filter(e=>!e.critical),R=(0,n.useMemo)(()=>(0,a.tN)(e?.crons),[e?.crons]),z=(0,n.useMemo)(()=>{let t=(0,a.oK)(e?.crons||[]);return"all"===v?t:t.filter(e=>(0,a.ij)(e)===v)},[e?.crons,v]),A=R.failing+R.stale+R.never;return(0,s.jsx)(i.Ay,{title:"System status",children:(0,s.jsx)("div",{className:"space-y-5 max-w-6xl",children:r&&!e?(0,s.jsxs)("div",{className:"space-y-5",children:[(0,s.jsx)("div",{className:"h-36 rounded-3xl bg-gray-100 dark:bg-white/6 animate-pulse"}),(0,s.jsx)("div",{className:"grid md:grid-cols-2 gap-3",children:[0,1,2,3].map(e=>(0,s.jsx)("div",{className:"h-28 rounded-2xl bg-gray-100 dark:bg-white/6 animate-pulse"},e))})]}):e?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{className:"relative overflow-hidden rounded-3xl p-6 md:p-7 text-white shadow-xl shadow-[#0F2044]/20",style:{background:e.ok?"linear-gradient(135deg,#0F2044 0%,#1a3a6e 55%,#1e5c40 120%)":"linear-gradient(135deg,#2a1020 0%,#5c1e1e 60%,#0F2044 130%)"},children:[(0,s.jsx)("div",{className:"absolute inset-0 pointer-events-none",style:{backgroundImage:"radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px)",backgroundSize:"22px 22px"}}),(0,s.jsx)("div",{className:"pointer-events-none absolute -top-16 -right-12 w-56 h-56 rounded-full blur-3xl op
1acity-30",style:{background:e.ok?"radial-gradient(circle,#5eefaa,transparent 70%)":"radial-gradient(circle,#ff8080,transparent 70%)"}}),(0,s.jsxs)("div",{className:"relative flex flex-col items-center text-center gap-4 md:flex-row md:items-center md:text-left md:gap-7",children:[(0,s.jsxs)("div",{className:"relative shrink-0",children:[(0,s.jsx)(d,{value:e.summary?.configured||0,total:e.summary?.total||1}),(0,s.jsxs)("div",{className:"absolute inset-0 flex flex-col items-center justify-center",children:[(0,s.jsx)("span",{className:"text-lg font-black leading-none",children:e.summary?.configured}),(0,s.jsxs)("span",{className:"text-[9px] font-bold uppercase tracking-wider text-white/60",children:["of ",e.summary?.total]})]})]}),(0,s.jsxs)("div",{className:"min-w-0 md:flex-1",children:[(0,s.jsxs)("div",{className:"flex items-center justify-center md:justify-start gap-2.5",children:[(0,s.jsxs)("span",{className:"relative flex w-3 h-3 shrink-0",children:[e.ok&&(0,s.jsx)("span",{className:"animate-ping absolute inline-flex h-full w-full rounded-full bg-green-400 opacity-60"}),(0,s.jsx)("span",{className:`relative inline-flex rounded-full w-3 h-3 ${e.ok?"bg-green-400":"bg-red-400"}`})]}),(0,s.jsx)("h2",{className:"text-xl md:text-2xl font-extrabold tracking-tight",children:e.ok?"All systems operational":"Attention needed"})]}),(0,s.jsxs)("div",{className:"flex flex-wrap justify-center md:justify-start gap-2 mt-3",children:[(0,s.jsxs)("span",{className:`inline-flex items-center gap-1.5 text-xs font-bold rounded-full px-3 py-1.5 border border-white/15 ${e.db?.ok?"bg-white/10":"bg-red-500/30"}`,children:[(0,s.jsxs)("svg",{width:"12",height:"12",fill:"none",stroke:"currentColor",strokeWidth:"2",viewBox:"0 0 24 24",children:[(0,s.jsx)("ellipse",{cx:"12",cy:"5",rx:"9",ry:"3"}),(0,s.jsx)("path",{d:"M21 5v14a9 3 0 0 1-18 0V5"}),(0,s.jsx)("path",{d:"M3 12a9 3 0 0 0 18 0"})]}),"Database ",e.db?.ok?`\xb7 ${e.db.ms}ms`:"unreachable"]}),(0,s.jsxs)("span",{className:"inline-flex items-center gap-1.5 text-xs font-bold rounded-full px-3 py-1.5 bg-white/10 border border-white/15",children:[(0,s.jsxs)("svg",{width:"12",height:"12",fill:"none",stroke:"currentColor",strokeWidth:"2",viewBox:"0 0 24 24",children:[(0,s.jsx)("rect",{x:"3",y:"4",width:"18",height:"18",rx:"2"}),(0,s.jsx)("path",{d:"M16 2v4M8 2v4M3 10h18"})]}),0===A?"All jobs healthy":`${A} job${1===A?"":"s"} need a look`]}),(0,s.jsxs)("span",{className:"inline-flex items-center text-xs font-semibold rounded-full px-3 py-1.5 bg-white/5 border border-white/10 text-white/60",children:[e.env," \xb7 checked ",o(e.generatedAt)]})]}),e.summary?.criticalDown?.length>0&&(0,s.jsxs)("p",{className:"text-red-200 text-sm mt-3 font-semibold",children:["Critical not configured: ",e.summary.criticalDown.join(", ")]})]}),(0,s.jsxs)("div",{className:"shrink-0 flex flex-col items-end gap-1.5",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[b&&(0,s.jsxs)("button",{onClick:y,disabled:m,className:"inline-flex items-center gap-1.5 text-xs font-bold px-4 py-2.5 rounded-xl bg-white/10 border border-white/20 hover:bg-white/20 transition-all disabled:opacity-60",title:"Flush the shared member/me cache (logged to the activity log)",children:[(0,s.jsxs)("svg",{width:"13",height:"13",fill:"none",stroke:"currentColor",strokeWidth:"2.2",viewBox:"0 0 24 24",children:[(0,s.jsx)("path",{d:"M3 6h18"}),(0,s.jsx)("path",{d:"M19 6l-1 14a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2L5 6"}),(0,s.jsx)("path",{d:"M10 11v6M14 11v6"})]}),m?"Clearingâ¦":"Clear cache"]}),(0,s.jsxs)("button",{onClick:x,disabled:r,className:"inline-flex items-center gap-1.5 text-xs font-bold px-4 py-2.5 rounded-xl bg-white/10 border border-white/20 hover:bg-white/20 transition-all disabled:opacity-60",children:[(0,s.jsxs)("svg",{width:"13",height:"13",fill:"none",stroke:"currentColor",strokeWidth:"2.2",viewBox:"0 0 24 24",className:r?"animate-spin":"",children:[(0,s.jsx)("path",{d:"M3 12a9 9 0 1 0 3-6.7L3 8"}),(0,s.jsx)("path",{d:"M3 3v5h5"})]}),r?"Checkingâ¦":"Refresh"]})]}),f&&(0,s.jsx)("span",{className:"text-[11px] text-white/70",children:f})]})]})]}),e.crons?.length>0&&(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{className:"flex items-center justify-between gap-2 mb-2 flex-wrap",children:[(0,s.jsx)("p",{className:"text-gray-400 dark:text-white/40 text-[11px] font-semibold uppercase tracking-widest",children:"Backgroun
1d jobs"}),(0,s.jsxs)("div",{className:"flex items-center gap-1.5 flex-wrap",children:[(0,s.jsxs)("button",{onClick:()=>j("all"),className:`text-[11px] font-bold rounded-full px-2.5 py-1 transition-all ${"all"===v?"bg-[#0F2044] text-white":"bg-white dark:bg-white/4 border border-gray-200 dark:border-white/10 text-gray-500 dark:text-white/60 hover:text-gray-800"}`,children:["All \xb7 ",(e.crons||[]).length]}),a.gD.map(({key:e,label:t})=>R[e]>0&&(0,s.jsxs)("button",{onClick:()=>j(v===e?"all":e),className:`inline-flex items-center gap-1.5 text-[11px] font-bold rounded-full px-2.5 py-1 transition-all border ${v===e?"bg-[#0F2044] text-white border-[#0F2044]":"bg-white dark:bg-white/4 border-gray-200 dark:border-white/10 text-gray-500 dark:text-white/60 hover:text-gray-800"}`,children:[(0,s.jsx)("span",{className:`w-1.5 h-1.5 rounded-full ${"ok"===e?"bg-green-500":"stale"===e?"bg-amber-500":"failing"===e?"bg-red-500":"bg-gray-300"}`}),t," \xb7 ",R[e]]},e))]})]}),_&&(0,s.jsx)("p",{className:`text-sm font-semibold mb-3 wrap-break-word ${_.ok?"text-brand-green-dark dark:text-brand-green-light":"text-red-600 dark:text-red-300"}`,children:_.text}
1),(0,s.jsxs)("div",{className:"bg-white dark:bg-white/4 rounded-2xl border border-gray-100 dark:border-white/10 shadow-xs divide-y divide-gray-50 dark:divide-white/10 overflow-hidden",children:[z.map(e=>(0,s.jsxs)("div",{className:"flex items-center gap-3 px-4 py-3 hover:bg-gray-50/60 dark:hover:bg-white/6 transition-colors",children:[(0,s.jsx)(u,{c:e}),(0,s.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2 flex-wrap",children:[(0,s.jsx)("span",{className:"text-[13px] text-gray-900 dark:text-white font-semibold capitalize",children:(0,a.dZ)(e.job)}),e.never&&(0,s.jsx)("span",{className:"text-[10px] font-bold text-gray-500 dark:text-white/60 bg-gray-100 dark:bg-white/6 rounded-full px-2 py-0.5",children:"never ran"}),!e.never&&!e.last_ok&&(0,s.jsxs)("span",{className:"text-[10px] font-bold text-red-600 bg-red-50 rounded-full px-2 py-0.5",children:["failing",e.fail_streak>1?` \xd7${e.fail_streak}`:""]}),!e.never&&e.last_ok&&e.stale&&(0,s.jsx)("span",{className:"text-[10px] font-bold text-amber-600 bg-amber-50 rounded-full px-2 py-0.5",children:"stale â hasnât run on schedule"})]}),e.last_detail&&(0,s.jsx)("p",{className:`text-xs mt-0.5 truncate ${e.last_ok?"text-gray-400 dark:text-white/40":"text-red-500"}`,children:e.last_detail}),e.never&&(0,s.jsx)("p",{className:"text-xs mt-0.5 text-gray-400 dark:text-white/40",children:"Expected by the watchdog, but no heartbeat yet â check vercel.json."})]}),(0,l.iU)(e.job)&&(0,s.jsx)("button",{type:"button",onClick:()=>N(e.job),disabled:!!k,className:"shrink-0 text-[11px] font-bold rounded-lg px-2.5 py-1 border border-gray-200 dark:border-white/15 text-gray-600 dark:text-white/70 hover:border-brand-orange hover:text-brand-orange disabled:opacity-40",children:k===e.job?"Runningâ¦":"Run now"}),(0,s.jsx)("span",{className:"text-gray-400 dark:text-white/40 text-xs ml-auto shrink-0",title:o(e.last_run),children:e.never?"â":(0,a.KN)(e.last_run)})]},e.job)),0===z.length&&(0,s.jsx)("p",{className:"text-gray-400 dark:text-white/40 text-sm text-center py-8",children:"No jobs in this state."})]})]}),(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{className:"flex items-center justify-between mb-2",children:[(0,s.jsx)("p",{className:"text-gray-400 dark:text-white/40 text-[11px] font-semibold uppercase tracking-widest",children:"Critical APIs & integrations"}),(0,s.jsxs)("span",{className:"text-[11px] font-bold text-gray-500 dark:text-white/60",children:[C.filter(e=>e.ok).length,"/",C.length," configured"]})]}),(0,s.jsx)("div",{className:"grid md:grid-cols-2 gap-3",children:C.map(e=>(0,s.jsx)(h,{it:e},e.key))})]}),(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{className:"flex items-center justify-between mb-2",children:[(0,s.jsx)("p",{className:"text-gray-400 dark:text-white/40 text-[11px] font-semibold uppercase tracking-widest",children:"Optional APIs & integrations"}),(0,s.jsxs)("span",{className:"text-[11px] font-bold text-gray-500 dark:text-white/60",children:[F.filter(e=>e.ok).length,"/",F.length," configured"]})]}),(0,s.jsx)("div",{className:"grid md:grid-cols-2 gap-3",children:F.map(e=>(0,s.jsx)(h,{it:e},e.key))})]}),(0,s.jsx)("p",{className:"text-gray-400 dark:text-white/40 text-xs",children:"Shows only whether each key is set â never its value. Auto-refreshes every minute."})]}):(0,s.jsx)("p",{className:"text-red-600 text-sm",children:"Could not run the health check."})})})}},34725:(e,t,r)=>{"use strict";function s(e){if(!e)return"";let t=Math.max(0,(Date.now()-new Date(e).getTime())/1e3);return t<90?"just now":t<3600?`${Math.round(t/60)}m ago`:t<172800?`${Math.round(t/3600)}h ago`:`${Math.round(t/86400)}d ago`}r.d(t,{KN:()=>s,dZ:()=>n,gD:()=>a,ij:()=>i,oK:()=>d,tN:()=>l});let n=e=>String(e||"").replace(/^cron_/,"").replace(/[-_]/g," ");function i(e){return e.never?"never":e.last_ok?e.stale?"stale":"ok":"failing"}let a=[{key:"ok",label:"Healthy"},{key:"stale",label:"Stale"},{key:"failing",label:"Failing"},{key:"never",label:"Never ran"}];function l(e=[]){let t={ok:0,stale:0,failing:0,never:0};for(let r of e)t[i(r)]+=1;return t}let o={failing:0,stale:1,never:2,ok:3};function d(e=[]){return[...e].sort((e,t)=>
1o[i(e)]-o[i(t)]||String(e.job).localeCompare(String(t.job)))}},45704:(e,t,r)=>{"use strict";r.d(t,{iU:()=>n});let s=[{job:"cron_db_backup",route:"db-backup",label:"Nightly database archive",why:"Verify the encryption key and storage without waiting for 08:00 UTC."},{job:"cron_payment_fees",route:"payment-fees",label:"Backfill Stripe fees",why:"Bounded per run and idempotent â it only fills rows where fee_cents IS NULL."},{job:"cron_audit_anchor",route:"audit-anchor",label:"Audit-log integrity anchor",why:"Read-only verification plus one anchor row."},{job:"cron_watchdog",route:"watchdog",label:"Cron watchdog",why:"Re-checks every jobâs heartbeat. Alerts only on a state change."}];function n(e){return s.some(t=>t.job===e)}},72552:()=>{},72784:(e,t,r)=>{"use strict";var s=r(65364);r(72552);var n=r(14232),i=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(n),a=void 0!==s&&s.env&&!0,l=function(e){return"[object String]"===Object.prototype.toString.call(e)},o=function(){function e(e){var t=void 0===e?{}:e,r=t.name,s=void 0===r?"stylesheet":r,n=t.optimizeForSpeed,i=void 0===n?a:n;d(l(s),"`name` must be a string"),this._name=s,this._deletedRulePlaceholder="#"+s+"-deleted-rule____{}",d("boolean"==typeof i,"`optimizeForSpeed` must be a boolean"),this._optimizeForSpeed=i,this._serverSheet=void 0,this._tags=[],this._injected=!1,this._rulesCount=0;var o=document.querySelector('meta[property="csp-nonce"]');this._nonce=o?o.getAttribute("content"):null}var t,r=e.prototype;return r.setOptimizeForSpeed=function(e){d("boolean"==typeof e,"`setOptimizeForSpeed` accepts a boolean"),d(0===this._rulesCount,"optimizeForSpeed cannot be when rules have already been inserted"),this.flush(),this._optimizeForSpeed=e,this.inject()},r.isOptimizeForSpeed=function(){return this._optimizeForSpeed},r.inject=function(){var e=this;if(d(!this._injected,"sheet already injected"),this._injected=!0,this._optimizeForSpeed){this._tags[0]=this.makeStyleTag(this._name),this._optimizeForSpeed="insertRule"in this.getSheet(),this._optimizeForSpeed||(a||console.warn("StyleSheet: optimizeForSpeed mode not supported falling back to standard mode."),this.flush(),this._injected=!0);return}this._serverSheet={cssRules:[],insertRule:function(t,r){return"number"==typeof r?e._serverSheet.cssRules[r]={cssText:t}:e._serverSheet.cssRules.push({cssText:t}),r},deleteRule:function(t){e._serverSheet.cssRules[t]=null}}},r.getSheetForTag=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]},r.getSheet=function(){return this.getSheetForTag(this._tags[this._tags.length-1])},r.insertRule=function(e,t){if(d(l(e),"`insertRule` accepts only strings"),this._optimizeForSpeed){var r=this.getSheet();"number"!=typeof t&&(t=r.cssRules.length);try{r.insertRule(e,t)}catch(t){return a||console.warn("StyleSheet: illegal rule: \n\n"+e+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),-1}}else{var s=this._tags[t];this._tags.push(this.makeStyleTag(this._name,e,s))}return this._rulesCount++},r.replaceRule=function(e,t){if(this._optimizeForSpeed){var r=this.getSheet();if(t.trim()||(t=this._deletedRulePlaceholder),!r.cssRules[e])return e;r.deleteRule(e);try{r.insertRule(t,e)}catch(s){a||console.warn("StyleSheet: illegal rule: \n\n"+t+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),r.insertRule(this._deletedRulePlaceholder,e)}}else{var s=this._tags[e];d(s,"old rule at index `"+e+"` not found"),s.textContent=t}return e},r.deleteRule=function(e){if(this._optimizeForSpeed)this.replaceRule(e,"");else{var t=this._tags[e];d(t,"rule at index `"+e+"` not found"),t.parentNode.removeChild(t),this._tags[e]=null}},r.flush=function(){this._injected=!1,this._rulesCount=0,this._tags.forEac
1h(function(e){return e&&e.parentNode.removeChild(e)}),this._tags=[]},r.cssRules=function(){var e=this;return this._tags.reduce(function(t,r){return r?t=t.concat(Array.prototype.map.call(e.getSheetForTag(r).cssRules,function(t){return t.cssText===e._deletedRulePlaceholder?null:t})):t.push(null),t},[])},r.makeStyleTag=function(e,t,r){t&&d(l(t),"makeStyleTag accepts only strings as second parameter");var s=document.createElement("style");this._nonce&&s.setAttribute("nonce",this._nonce),s.type="text/css",s.setAttribute("data-"+e,""),t&&s.appendChild(document.createTextNode(t));var n=document.head||document.getElementsByTagName("head")[0];return r?n.insertBefore(s,r):n.appendChild(s),s},t=[{key:"length",get:function(){return this._rulesCount}}],function(e,t){for(var r=0;r<t.length;r++){var s=t[r];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(e,s.key,s)}}(e.prototype,t),e}();function d(e,t){if(!e)throw Error("StyleSheet: "+t+".")}var c=function(e){for(var t=5381,r=e.length;r;)t=33*t^e.charCodeAt(--r);return t>>>0},h={};function u(e,t){if(!t)return"jsx-"+e;var r=String(t),s=e+r;return h[s]||(h[s]="jsx-"+c(e+"-"+r)),h[s]}function x(e,t){var r=e+t;return h[r]||(h[r]=t.replace(/__jsx-style-dynamic-selector/g,e)),h[r]}var m=function(){function e(e){var t=void 0===e?{}:e,r=t.styleSheet,s=void 0===r?null:r,n=t.optimizeForSpeed,i=void 0!==n&&n;this._sheet=s||new o({name:"styled-jsx",optimizeForSpeed:i}),this._sheet.inject(),s&&"boolean"==typeof i&&(this._sheet.setOptimizeForSpeed(i),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._fromServer=void 0,this._indices={},this._instancesCounts={}}var t=e.prototype;return t.add=function(e){var t=this;void 0===this._optimizeForSpeed&&(this._optimizeForSpeed=Array.isArray(e.children),this._sheet.setOptimizeForSpeed(this._optimizeForSpeed),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._fromServer||(this._fromServer=this.selectFromServer(),this._instancesCounts=Object.keys(this._fromServer).reduce(function(e,t){return e[t]=0,e},{}));var r=this.getIdAndRules(e),s=r.styleId,n=r.rules;if(s in this._instancesCounts){this._instancesCounts[s]+=1;return}var i=n.map(function(e){return t._sheet.insertRule(e)}).filter(function(e){return -1!==e});this._indices[s]=i,this._instancesCounts[s]=1},t.remove=function(e){var t=this,r=this.getIdAndRules(e).styleId;if(function(e,t){if(!e)throw Error("StyleSheetRegistry: "+t+".")}(r in this._instancesCounts,"styleId: `"+r+"` not found"),this._instancesCounts[r]-=1,this._instancesCounts[r]<1){var s=this._fromServer&&this._fromServer[r];s?(s.parentNode.removeChild(s),delete this._fromServer[r]):(this._indices[r].forEach(function(e){return t._sheet.deleteRule(e)}),delete this._indices[r]),delete this._instancesCounts[r]}},t.update=function(e,t){this.add(t),this.remove(e)},t.flush=function(){this._sheet.flush(),this._sheet.inject(),this._fromServer=void 0,this._indices={},this._instancesCounts={}},t.cssRules=function(){var e=this,t=this._fromServer?Object.keys(this._fromServer).map(function(t){return[t,e._fromServer[t]]}):[],r=this._sheet.cssRules();return t.concat(Object.keys(this._indices).map(function(t){return[t,e._indices[t].map(function(e){return r[e].cssText}).join(e._optimizeForSpeed?"":"\n")]}).filter(function(e){return!!e[1]}))},t.styles=function(e){var t,r;return t=this.cssRules(),void 0===(r=e)&&(r={}),t.map(function(e){var t=e[0],s=e[1];return i.default.createElement("style",{id:"__"+t,key:"__"+t,nonce:r.nonce?r.nonce:void 0,dangerouslySetInnerHTML:{__html:s}})})},t.getIdAndRules=function(e){var t=e.children,r=e.dynamic,s=e.id;if(r){var n=u(s,r);return{styleId:n,rules:Array.isArray(t)?t.map(function(e){return x(n,e)}):[x(n,t)]}}return{styleId:u(s),rules:Array.isArray(t)?t:[t]}},t.selectFromServer=function(){return Array.prototype.slice.call(document.querySelectorAll('[id^="__jsx-"]')).reduce(function(e,t){return e[t.id.slice(2)]=t,e},{})},e}(),p=n.createContext(null);p.displayName="StyleSheetContext";var f=i.default.useInsertionEffect||i.default.useLayoutEffect,g=new m;function b(e){var t=g||n.useContext(p);return t&&f(function(){return t.add(e),function(){t.remove(e)}},[e.id,String(e.dynamic)]),null}b.dynamic=function(e){return e.map(function(e){return u(e[0],e[1])}).join(" ")},t.style=b},75961:(e,t,r)=>{"use strict";e.exports=r(72784).style}},e=>{e.O(0,[8230,6475,30,636,6593,8792],()=>e(e.s=8020)),_N_E=e.O()}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.