1import{o as e}from"./rolldown-runtime-DAXXjFlN.js";import{t}from"./react-Bb3IsNbi.js";import{t as n}from"./jsx-runtime-DX3WBWVO.js";import{o as r}from"./hooks-CuEZV2-q.js";import{i}from"./chunk-KS7C4IRE-DCsL4i4D.js";import{m as a}from"./users-Cg-OeGzC.js";var o=e(t(),1);function s(e){if(!e)return{};try{return JSON.parse(e)}catch{return{}}}function c(e,t){let n=s(e);return JSON.stringify({...n,...t})}var l=n(),u=()=>{let{data:e}=r(),{mutateAsync:t}=a(),n=o.useMemo(()=>e?.accessibility&&s(e.accessibility).apOnboarding||{},[e?.accessibility]),i=o.useCallback(async n=>{if(!e)return;let r=s(e.accessibility),i=c(e.accessibility,{apOnboarding:{...r.apOnboarding,...n}});await t({...e,accessibility:i})},[e,t]);return{isOnboarded:!!n.welcomeStepsFinished,isExplainerClosed:!!n.exploreExplainerClosed,setOnboarded:e=>i({welcomeStepsFinished:e}),setExplainerClosed:e=>i({exploreExplainerClosed:e})}},d=()=>(0,l.jsx)(`div`,{className:`h-full pt-14`,children:(0,l.jsx)(i,{})});export{u as n,d as 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.