1import{r as t,j as S}from"./main-BBboh4T_.js";const v={showCart:!1,showCurrency:!1,showFilters:!1,showMenu:!1,showPopup:!1,activeAccordion:null,toggleCart:()=>{},toggleCurrency:()=>{},toggleFilters:()=>{},toggleMenu:()=>{},togglePopup:()=>{},setActiveAccordion:()=>{}},c=t.createContext(v),F=({children:o})=>{const[a,l]=t.useState(!1),[u,i]=t.useState(!1),[p,s]=t.useState(!1),[g,r]=t.useState(!1),[f,C]=t.useState(null),[d,n]=t.useState(!1);t.useEffect(()=>{if(!localStorage.getItem("loadOnce")){const P=setTimeout(()=>{n(!0)},2e3);return()=>clearTimeout(P)}},[]);const w=()=>{n(!1),localStorage.setItem("loadOnce","true")},h=e=>{l(e)},A=e=>{i(e)},x=e=>{s(e),e&&r(!1)},m=e=>{r(e),e&&s(!1)};return S.jsx(c.Provider,{value:{showCart:a,showCurrency:u,showMenu:g,showFilters:p,showPopup:d,toggleCart:h,toggleCurrency:A,toggleFilters:x,toggleMenu:m,togglePopup:w,activeAccordion:f,setActiveAccordion:C},children:o})},M=()=>{const o=t.useContext(c);if(!o)throw new Error("useAppContext must be used within AppProvider");return o};export{F as A,M as u};
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.