1import{r as e}from"./rolldown-runtime-S-ySWqyJ.js";import{t}from"./jsx-runtime-BJ-vK_ex.js";import{_ as n}from"./index-l3gQc0OH.js";import{r,t as i}from"./InstallButton-B-hheUq3.js";var a=e(n(),1),o=t(),s=`cts-sticky-install-dismissed`,c=({dataSource:e=`sticky-bar`})=>{let[t,n]=(0,a.useState)(!1);return(0,a.useEffect)(()=>{try{sessionStorage.getItem(s)!==`1`&&n(!0)}catch{n(!0)}},[]),t?(0,o.jsxs)(`div`,{className:`lg:hidden fixed bottom-0 inset-x-0 z-40 bg-black/95 backdrop-blur border-t border-gray-800 px-4 py-3 flex items-center gap-3`,children:[(0,o.jsxs)(`div`,{className:`flex-1 min-w-0`,children:[(0,o.jsx)(`p`,{className:`text-sm font-semibold text-white truncate`,children:`Cast to Sonos`}),(0,o.jsx)(`p`,{className:`text-xs text-gray-400 truncate`,children:`Free to start · No account needed`})]}),(0,o.jsx)(`a`,{href:i,target:`_blank`,rel:`noopener noreferrer`,onClick:()=>r(e),"data-source":e,className:`inline-flex items-center whitespace-nowrap px-4 py-2 rounded-lg bg-gray-600 hover:bg-gray-700 text-white text-sm font-medium transition-colors`,children:`Add to Chrome`}),(0,o.jsx)(`button`,{type:`button`,onClick:()=>{n(!1);try{sessionStorage.setItem(s,`1`)}catch{}},"aria-label":`Dismiss install bar`,className:`text-gray-500 hover:text-gray-300 p-1 shrink-0`,children:(0,o.jsx)(`svg`,{className:`w-5 h-5`,fill:`none`,stroke:`currentColor`,viewBox:`0 0 24 24`,children:(0,o.jsx)(`path`,{strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:2,d:`M6 18L18 6M6 6l12 12`})})})]}):null};export{c 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.