1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9291],{42463:(e,t,n)=>{n.r(t),n.d(t,{createClient:()=>a});var i=n(64123);let r=null;function a(){return r||(r=(0,i.createBrowserClient)("https://zqxaequozyvnxhlldcql.supabase.co","eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6InpxeGFlcXVvenl2bnhobGxkY3FsIiwicm9sZSI6ImFub24iLCJpYXQiOjE3NTMzNDI1NzUsImV4cCI6MjA2ODkxODU3NX0.IaFByMxetd-5KbjQHlyXgE-1VVZHqJ6-gNp2pGEuDpY")),r}},44478:(e,t,n)=>{n.d(t,{A:()=>i});let i=(0,n(78340).A)("shield-check",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]])},51672:(e,t,n)=>{n.r(t),n.d(t,{AdminBellContainer:()=>c,default:()=>u});var i=n(95155),r=n(12115),a=n(98500),s=n.n(a),l=n(44478),o=n(42463);function c(e){let{isAdmin:t}=e,[n,a]=(0,r.useState)(0),s=(0,r.useMemo)(()=>(0,o.createClient)(),[]),l=(0,r.useCallback)(async()=>{if(!t)return;let{count:e}=await s.from("correction_requests").select("*",{count:"exact",head:!0}).eq("status","pending");a(e||0)},[t,s]);return((0,r.useEffect)(()=>{let e=window.location.pathname.startsWith("/admin");if(t&&!e){requestAnimationFrame(()=>{l()});let e=setInterval(l,6e4);return()=>clearInterval(e)}},[t,l]),t)?(0,i.jsx)(u,{pendingCount:n}):null}function u(e){let{pendingCount:t}=e;return(0,i.jsxs)(s(),{href:"/admin/corrections",className:"relative p-2 rounded-lg hover:bg-white/[0.04] transition-colors group focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--brand-deep)] focus-visible:ring-offset-1 focus-visible:ring-offset-black","aria-label":t>0?`${t} pending correction${1!==t?"s":""}`:"Admin: Corrections",children:[(0,i.jsx)(l.A,{className:"w-4 h-4 text-white/60 group-hover:text-white/70 transition-colors","aria-hidden":"true"}),t>0&&(0,i.jsx)("span",{className:"absolute -top-0.5 -right-0.5 w-4 h-4 bg-red-500 text-white text-[10px] font-bold rounded-full flex items-center justify-center motion-reduce:animate-none animate-pulse","aria-hidden":"true",children:t>9?"9+":t})]})}}}]);
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.