PageSourceSearch

https://www.carpetandflooringcapecoral.com/_next/static/chunks/app…/%5Bplatform%5D/layout-d2099b0f886a2b04.js

js carpetandflooringcapecoral.com collected 2026-09-27 21:13:23 UTC 10,766 bytes, 1 lines download raw bytes

1try{!function(){var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="19aeeae8-33ca-414f-b568-dcc93241e137",e._sentryDebugIdIdentifier="sentry-dbid-19aeeae8-33ca-414f-b568-dcc93241e137")}()}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7480],{80477:function(e,n,t){Promise.resolve().then(t.bind(t,8426)),Promise.resolve().then(t.bind(t,17545)),Promise.resolve().then(t.bind(t,11330)),Promise.resolve().then(t.bind(t,25683)),Promise.resolve().then(t.bind(t,88540)),Promise.resolve().then(t.bind(t,80389)),Promise.resolve().then(t.bind(t,68370)),Promise.resolve().then(t.bind(t,47101)),Promise.resolve().then(t.bind(t,92303)),Promise.resolve().then(t.bind(t,22031)),Promise.resolve().then(t.bind(t,67919)),Promise.resolve().then(t.bind(t,24724)),Promise.resolve().then(t.bind(t,97838)),Promise.resolve().then(t.bind(t,31281)),Promise.resolve().then(t.bind(t,50107)),Promise.resolve().then(t.bind(t,15025)),Promise.resolve().then(t.bind(t,19076)),Promise.resolve().then(t.bind(t,95798)),Promise.resolve().then(t.bind(t,86336)),Promise.resolve().then(t.bind(t,94286)),Promise.resolve().then(t.bind(t,39776)),Promise.resolve().then(t.bind(t,75217)),Promise.resolve().then(t.bind(t,75424)),Promise.resolve().then(t.bind(t,37989)),Promise.resolve().then(t.bind(t,47102)),Promise.resolve().then(t.bind(t,28615)),Promise.resolve().then(t.t.bind(t,43062,23)),Promise.resolve().then(t.bind(t,82614)),Promise.resolve().then(t.bind(t,82709)),Promise.resolve().then(t.bind(t,76681)),Promise.resolve().then(t.bind(t,76812)),Promise.resolve().then(t.bind(t,2849)),Promise.resolve().then(t.bind(t,72474)),Promise.resolve().then(t.bind(t,69907)),Promise.resolve().then(t.bind(t,49865)),Promise.resolve().then(t.bind(t,45495)),Promise.resolve().then(t.bind(t,85677)),Promise.resolve().then(t.bind(t,58716)),Promise.resolve().then(t.bind(t,1532)),Promise.resolve().then(t.bind(t,91773)),Promise.resolve().then(t.bind(t,32637)),Promise.resolve().then(t.bind(t,34346)),Promise.resolve().then(t.t.bind(t,81020,23))},8426:function(e,n,t){"use strict";t.d(n,{AnalyticsListener:function(){return s}});var r=t(8187),o=t(49865),i=t(23615),l=t(41498);function s(){let e=(0,i.usePathname)(),n=(0,i.useSearchParams)(),t=(0,o.useClientContext)(),s=(0,l.useRef)(null);return(0,l.useEffect)(()=>{var o,i,l;let a=e+n.toString();if(s.current===a)return;let u=null===s.current;s.current=a,u||(null===(l=window.analytics)||void 0===l||null===(i=l.page)||void 0===i||i.call(l,{retailer:{name:t.clientName,universalRetailerId:t.universalRetailerId}},null===(o=window.analytics)||void 0===o?void 0:o._defaultContext),r.k.withMetadata({pathname:e}).info("Tracked page view"))},[e,n,t.clientName,t.universalRetailerId]),null}},17545:function(e,n,t){"use strict";t.d(n,{default:function(){return s}});var r=t(8187),o=t(23615),i=t(41498);let l=!1;function s(){let e=(0,o.usePathname)(),n=(0,o.useSearchParams)(),t=(0,i.useRef)(null);return(0,i.useEffect)(()=>{!function(){if(l||"undefined"==typeof document)return;l=!0;let e=document.addEventListener.bind(document);document.addEventListener=(n,t,o)=>{if("DOMContentLoaded"===n&&"loading"!==document.readyState&&null!=t){Promise.resolve().then(()=>{try{let e=new Event("DOMContentLoaded");"function"==typeof t?t(e):t.handleEvent(e)}catch(e){r.k.withError(e).warn("[RouteChangeScriptRunner] DOMContentLoaded shim listener threw")}});return}return e(n,t,o)}}()},[]),(0,i.useEffect)(()=>{let o=e+n.toString();if(t.current===o)return;let i=null===t.current;if(t.current=o,i)return;let l=document.querySelectorAll('script[data-script-lifecycle="on-route-change"], script#form-name-variables'),s=new Set;for(let n of l){if(n.id){if(s.has(n.id))continue;s.add(n.id)}try{!function(e){let n=document.createElement("script");e.type&&(n.type=e.type),e.src?/cctm\.xyz\/t\.js|tctm\.co\/t\.js/.test(e.src)?function(){var e;let n=window.__ctm;if("function"==typeof(null==n?void 0:null===(e=n.main)||void 0===e?void 0:e.runNow)){n.main.runNow();return}}():(n.src=e.src,document.head.appendChild(n)):(n.textContent=e.textContent,document.head.appendChild(n),document.head.removeChild(n))}(n)}catch(t){var a;r.k.withError(t).withMetadata({pathname:e,preview:null===(a=n.textContent)||void 0===a?void 0:a.slice(0,120)}).warn("[RouteChangeScriptRunner] failed to re-execute on-route-change script")}}},[e,n]),null}},82709:function(e,n,t){"use strict";t.d(n,{ApplyFilterAction:function(){return i},HydrateFilters:function(){return l},SRPReducerFactory:function(){return s}});var r=t(8187),o=t(36140);function i(e,n){let t=JSON.parse(JSON.stringify(e.filters)),o=t.find(e=>{let{name:t}=e;return t===n.filter});if(null==o)return e;switch(null==o.enabledValues&&(o.enabledValues=[]),n.type){case"SET_ALL_TO":o.enabledValues=[n.value];break;case"UPDATE":o.enabledValues.push(n.value);break;case"REMOVE":{let e=o.enabledValues.findIndex(e=>e===n.value||"".concat(e).toLowerCase()==="".concat(n.value).toLowerCase());-1===e&&r.k.warn("Couldn't find filter (".concat(n.filter,": ").concat(n.value,") to remove")),o.enabledValues=[...o.enabledValues.slice(0,e),...o.enabledValues.slice(e+1,o.enabledValues.length)]}}return o.enabledValues=Array.from(new Set(o.enabledValues)),{...e,filters:t,needsHydration:!0}}function l(e,n){let t=[...e];for(let e of t)for(let t in e.potentialValues){var r,o,i;e.potentialValues[t]=null!==(i=null==n?void 0:null===(o=n.find(n=>n.name===e.name))||void 0===o?void 0:null===(r=o.potentialValues)||void 0===r?void 0:r[t])&&void 0!==i?i:0}return t}let s=e=>(n,t)=>{let r=!1;switch(null==t?void 0:t.type){case"RESET":n.filters=t.filters,n.loading=!1;break;case"CLEAR_ALL":for(let e of n.filters)e.enabledValues=[];r=!0;break;case"APPLY":r=!0;break;case"HYDRATE_FILTERS":n.filters=l(n.filters,t.hydratedFilters),n.needsHydration=!1;break;case"HYDRATE_FILTERS_FAIL":n.needsHydration=!1;break;case"UPDATE_SORT":n.sort=t.value,r=!0;break;default:n=i(n,t)}return r&&e(function(e,n){let t=new URL(window.location.pathname,"https://any-base-path-will-do-here.com"),r=(0,o.ik)(t.searchParams,e);n&&r.set("sort",n);let i="?".concat(r.toString());return 1===i.length&&(i=""),"/p".concat(i)}(n.filters,n.sort)),{...n}}},82614:function(e,n,t){"use strict";t.d(n,{NavigationManager:function(){return a}});var r=t(23615),o=t(41498),i=t(8187);let l={name:"analytics",handler(e){var n,t,r;let{pathname:o,clientName:l,universalRetailerId:s}=e;null===(r=window.analytics)||void 0===r||null===(t=r.page)||void 0===t||t.call(r,{retailer:{name:l,universalRetailerId:s}},null===(n=window.analytics)||void 0===n?void 0:n._defaultContext),i.k.withMetadata({pathname:o}).info("Tracked page view")}},s={name:"broadstreet-refresh",handler(){setTimeout(()=>{var e,n;let t=document.querySelector(".srp__bs-banner banner-zone");if(null==t)return;let r=t.childNodes[0];r&&r.childNodes.length>0||(null===(e=window.broadstreet)||void 0===e||e.clearCampaignLog(),null===(n=window.broadstreet)||void 0===n||n.loadZone(t))},500)}};function a(e){let{additionalPlugins:n=[],context:t={}}=e,i=(0,r.usePathname)(),a=(0,r.useSearchParams)(),u=(0,o.useRef)(null),c=JSON.stringify(t),d=(0,o.useMemo)(()=>t,[c]),f=(0,o.useMemo)(()=>[l,s,...n],[n]);return(0,o.useEffect)(()=>{let e=a.toString(),n=i+e,t=u.current;if(t===n||(u.current=n,null===t))return;let r={...d,currentPath:n,previousPath:t,pathname:i,searchParams:e};for(let e of f){console.debug('[NavigationManager] Running plugin "'.concat(e.name,'"'));try{let n=e.handler(r);n instanceof Promise&&n.catch(n=>console.error('[NavigationManager] Plugin "'.concat(e.name,'" threw:'),n))}catch(n){console.error('[NavigationManager] Plugin "'.concat(e.name,'" threw:'),n)}}},[i,a,d,f]),null}},2849:function(e,n,t){"use strict";t.d(n,{ProductSearchBoxContext:function(){return i},ProductSearchBoxProvider:function(){return l}});var r=t(52641),o=t(41498);let i=(0,o.createContext)(null);function l(e){let{children:n}=e,[t,l]=(0,o.useState)(!1),[s,a]=(0,o.useState)(!1);(0,o.useEffect)(()=>{document.addEventListener("keydown",e=>
1{"k"===e.key&&(e.metaKey||e.ctrlKey)&&(e.preventDefault(),f())})},[]);let u=(0,o.useRef)(null),c=(0,o.useRef)(null),d=(0,o.useRef)(null);function f(){a(!0);let{current:e}=c;e&&(e.open||e.showModal())}return(0,r.jsx)(i.Provider,{value:{open:f,close:function(){let{current:e}=c;e&&e.open&&e.close()},focus:function(){var e;if(!(null==c?void 0:null===(e=c.current)||void 0===e?void 0:e.open))return;let{current:n}=u;if(!n)return;let t=n.querySelector("input");null==t||t.focus()},reset:function(){var e;if(!(null==c?void 0:null===(e=c.current)||void 0===e?void 0:e.open))return;let{current:n}=u;n&&n.reset()},modal:u,dialog:c,resetBtn:d,available:t,setAvailable:l,loaded:s},children:n})}},72474:function(e,n,t){"use strict";t.d(n,{useArticles:function(){return i}});var r=t(36140),o=t(41498);function i(e,n){let[t,i]=(0,o.useState)([]);return n=(n=Array.isArray(n)?n:[n]).map(e=>(0,r.hH)(e)).join(","),(0,o.useEffect)(()=>{fetch("/api/articles?slug=".concat(e).concat(n.length?"&tags=".concat(n):"")).then(e=>e.json()).then(e=>{let{articles:n}=e;return i(null!=n?n:[])})},[e,n]),t}},69907:function(e,n,t){"use strict";t.d(n,{useBrandNames:function(){return o}});var r=t(41498);function o(){let[e,n]=(0,r.useState)([]);return(0,r.useEffect)(()=>{fetch("/api/products/brands").then(e=>e.json()).then(e=>{let{brands:t}=e;return n(t)})},[]),e}},85677:function(e,n,t){"use strict";t.d(n,{useCurrentProduct:function(){return o}});var r=t(41498);let o=()=>{let[e,n]=(0,r.useState)(null);return(0,r.useEffect)(()=>{let e=document.getElementById("product-json-ld");try{if(null!=e){var t,r;let o=JSON.parse(null!==(r=e.textContent)&&void 0!==r?r:"");n({Brand:null===(t=o.brand)||void 0===t?void 0:t.name,Product:o.name,Variant:o.color,UPID:o.productID,SKU:o.sku})}}catch(e){n(null)}},[]),e}},1532:function(e,n,t){"use strict";t.d(n,{useProductSearchBox:function(){return i}});var r=t(41498),o=t(2849);let i=()=>(0,r.useContext)(o.ProductSearchBoxContext)},91773:function(e,n,t){"use strict";t.d(n,{useTypes:function(){return o}});var r=t(41498);function o(){let[e,n]=(0,r.useState)([]);return(0,r.useEffect)(()=>{fetch("/api/products/types").then(e=>e.json()).then(e=>{let{types:t}=e;return n(t)})},[]),e}},32637:function(e,n,t){"use strict";t.d(n,{useUrl:function(){return o}});var r=t(41498);let o=function(){let{withFragment:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{withFragment:!1},[n,t]=(0,r.useState)();return(0,r.useEffect)(()=>{t(e?window.location.href:window.location.href.split("#")[0])},[]),n}}},function(e){e.O(0,[8527,1100,6299,5607,7457,107,120,9643,1744],function(){return e(e.s=80477)}),_N_E=e.O()}]);

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.