import{n as e,s as t}from"./rolldown-runtime-BG2f4sTM.js";import{Mvt as n,Nvt as r}from"./app-initial-BHB6SClA.js";import{n as i,t as a}from"./use-element-in-view--7okH2PV.js";function o(){let e=(0,s.c)(5),[t,n]=(0,c.useState)(null),[r,a]=(0,c.useState)(null),o;e[0]!==t||e[1]!==r?(o={container:t,target:r},e[0]=t,e[1]=r,e[2]=o):o=e[2];let l=!i(o),u;return e[3]===l?u=e[4]:(u={scrollContainerRef:n,showTitleInToolbar:l,titleRef:a},e[3]=l,e[4]=u),u}var s,c,l=e((()=>{s=n(),c=t(r(),1),a()}));export{o as n,l as t};
//# sourceMappingURL=use-searchable-page-title-visibility-BDDTqBmp.js.map