"use strict";exports.id=6272,exports.ids=[6272],exports.modules={56272:(e,t,o)=>{o.d(t,{En:()=>isSearchPage,OJ:()=>isPLP,ZP:()=>__WEBPACK_DEFAULT_EXPORT__,al:()=>usePDP,qt:()=>usePage,tS:()=>isPDP});var s=o(16689),a=o(20997);let isPDP=e=>e?.data?.product?.sku!=void 0&&e?.data?.product?.sku!=null,isPLP=e=>e?.data?.collection?.seo!=void 0&&e?.data?.collection?.seo!=null&&e?.data?.collection?.sku==void 0,isSearchPage=e=>void 0===e||e?.data?.title!=void 0||e?.data?.searchTerm!=void 0,i=(0,s.createContext)(null);function usePage(){let{context:e}=(0,s.useContext)(i);if(null==e)throw Error("Missing Overrides context on React tree");return e}let usePDP=()=>usePage(),__WEBPACK_DEFAULT_EXPORT__=function({context:e,children:t}){let o=(0,s.useMemo)(()=>({context:e}),[e]);return a.jsx(i.Provider,{value:o,children:t})}}};