1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="be0ba402-c2bc-45cc-8541-3adb9ce4ccc2",e._sentryDebugIdIdentifier="sentry-dbid-be0ba402-c2bc-45cc-8541-3adb9ce4ccc2")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[84510],{84510:(e,t,s)=>{s.r(t),s.d(t,{default:()=>n});var a=s(95155),l=s(12115),r=s(5917);function n(e){let{blockId:t,items:s,title:n}=e,c=t?"academy.checklist.".concat(t):null,[d,i]=(0,l.useState)(()=>Object.fromEntries(s.map(e=>[e.id,e.checked])));(0,l.useEffect)(()=>{if(c)try{let e=localStorage.getItem(c);e&&i(t=>({...t,...JSON.parse(e)}))}catch(e){}},[c]);let o=s.filter(e=>d[e.id]).length,u=s.length;return(0,a.jsxs)("div",{className:"my-6 rounded-2xl bg-white border border-slate-200 p-5 shadow-[0_1px_2px_rgba(15,23,42,0.04)]",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between mb-3",children:[(0,a.jsx)("h3",{className:"text-slate-900 font-semibold text-sm",children:n||"Checklist"}),(0,a.jsxs)("span",{className:"text-xs font-medium text-slate-500 tabular-nums",children:[o,"/",u]})]}),(0,a.jsx)("div",{className:"h-1.5 bg-slate-100 rounded-full overflow-hidden mb-4",children:(0,a.jsx)("div",{className:"h-full bg-gradient-to-r from-cyan-500 to-emerald-500 transition-all duration-300",style:{width:"".concat(u>0?o/u*100:0,"%")},"aria-hidden":"true"})}),(0,a.jsx)("ul",{className:"space-y-1.5",role:"list",children:s.map(e=>{let t=d[e.id];return(0,a.jsx)("li",{children:(0,a.jsxs)("button",{type:"button",onClick:()=>{var t;return t=e.id,void i(e=>{let s={...e,[t]:!e[t]};if(c)try{localStorage.setItem(c,JSON.stringify(s))}catch(e){}return s})},"aria-pressed":t,className:"group flex items-start gap-3 w-full text-left px-3 py-2 rounded-lg hover:bg-slate-50 transition-colors",children:[(0,a.jsx)("span",{className:"mt-0.5 flex-shrink-0 w-5 h-5 rounded-md border flex items-center justify-center transition-all ".concat(t?"bg-cyan-500 border-cyan-500":"border-slate-300 bg-white group-hover:border-slate-400"),"aria-hidden":"true",children:t&&(0,a.jsx)(r.A,{className:"w-3.5 h-3.5 text-white",strokeWidth:3})}),(0,a.jsx)("span",{className:"text-sm ".concat(t?"text-slate-400 line-through":"text-slate-700"),children:e.text})]})},e.id)})})]})}}}]);
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.