PageSourceSearch

https://firstfence.co.uk/2226-3457f4e33b743c94836d.js

js firstfence.co.uk collected 2026-10-05 10:55:56 UTC 4,922 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkfirst_fence_website=self.webpackChunkfirst_fence_website||[]).push([[2226],{12226:function(e,t,a){a.r(t),a.d(t,{default:function(){return U}});var l=a(96540),c=a(71836),n=a(98153),i=a(45660),r=a(76790),s=a(45592),m=a(60798);var o=e=>{var t;let{children:a,fallback:l=null}=e;const{indexUiState:c}=(0,m.J)();return null!==(t=c.query)&&void 0!==t&&t.trim()?a:l},d=a(647),u=a(58097),h=a(85823),E=a(8695),g=a(64810),p=a(32287),v=a(11541),N=a(8894),f=a(24191);var _=e=>{let{hit:t,sendEvent:a}=e;const{imageCollection:c}=t,n=(0,N.Q)(c),i=n?n.url:null;return l.createElement("div",{onClick:()=>{null==a||a("click",t,"Category Clicked"),null!=t&&t.mongo_id&&(0,f.x)({event:v.R.CATEGORY_FROM_SEARCH_BAR,content_id:t.mongo_id,content_type:v.y.CATEGORY}),(0,g.oo)(t.path)},className:"category-hits-module--container--11e61"},l.createElement("div",{className:"category-hits-module--imageContainer--a0da5"},l.createElement(p._,{src:i,height:"60",width:"60",className:"category-hits-module--image--d1809",alt:t.title?t.title:"Search web icon"})),l.createElement("div",null,l.createElement(E.f,{className:"category-hits-module--highlight--bed55",attribute:"title",hit:t,highlightedTagName:"em"})))};var C=e=>{let{hit:t={},sendEvent:a}=e;const{path:c,mongo_id:n}=t;return l.createElement("div",{onClick:()=>{null==a||a("click",t,"Page Clicked"),n&&(0,f.x)({event:v.R.PAGE_FROM_SEARCH_BAR,content_id:n,content_type:v.y.PAGE}),(0,g.oo)(c)},className:"page-hits-module--container--f0f11"},l.createElement("div",null,l.createElement(E.f,{className:"page-hits-module--highlight--9ffec",attribute:"title",hit:t,highlightedTagName:"em"})))},b=a(60877),k=a(5302),y="product-hits-module--highlight--d0312";var R=e=>{let{hit:t,sendEvent:a}=e;return l.createElement("div",{onClick:()=>{null==a||a("click",t,"Product Clicked"),(0,b.zC)(null==t?void 0:t.mongo_id,null==t?void 0:t.__queryID),null!=t&&t.mongo_id&&((0,f.x)({event:v.R.PRODUCT_FROM_SEARCH_BAR,content_id:t.mongo_id,content_type:v.y.PRODUCT}),(0,g.oo)(t.path))},className:"product-hits-module--container--cdcb9"},l.createElement("div",{className:"product-hits-module--imageContainer--15b1c"},l.createElement(p._,{src:t.image,className:"product-hits-module--image--3af04",alt:t.title?t.title:"Search web icon"})),l.createElement("div",null,l.createElement(E.f,{className:y,attribute:"title",hit:t,highlightedTagName:"em"}),t.sku&&l.createElement("div",{className:"product-hits-module--skubox--c97eb"},l.createElement("div",null,"SKU: "),l.createElement("div",{className:"product-hits-module--sku--7fead"},l.createElement(E.f,{className:y,attribute:"sku",hit:t,highlightedTagName:"em"}))),t.price&&l.createElement("div",null,l.createElement("div",null,(0,k.bV)(t.price)))))},A=a(77644),S="popular-search-terms-module--link--4d46d";var x=()=>l.createElement("div",null,l.createElement("div",{className:"popular-search-terms-module--prompt--3bf50"},"Start typing to search products, categories and pages."),l.createElement("div",{className:"popular-search-terms-module--title--5d94f"},"Or jump to a popular search"),l.createElement("div",{className:"popular-search-terms-module--content--03a0b"},l.createElement(g.N_,{to:"/palisade-security-fencing",className:S},"Palisade Fencing"),l.createElement(g.N_,{to:"/palisade-security-fencing/security-gates",className:S},"Palisade Gates"),l.createElement(g.N_,{to:"/palisade-security-fencing/palisade-fencing-accessories",className:S},"Gate Locks and Accessories"))),O=a(73992);var P=e=>{let{onClose:t}=e;const{results:a}=(0,m.J)(),c={q:null==a?void 0:a.query},n=O.stringify(c,!1);return l.createElement("div",{className:"show-more-module--container--6957b",onClick:()=>{t(n)}},"Show more results")},T="search-module--header--01469",w="search-module--hit--bb7d4",G="search-module--hits--ade1f";var U=e=>{let{onClose:t}=e;return l.createElement("div",{className:"search-module--container--63f08"},l.createElement(u.s,{indexName:"products",searchClient:h.A},l.createElement(c.G,{className:"search-module--searchBox--57e12","aria-label":"Search"}),l.createElement(o,{fallback:l.createElement(x,null)},l.createElement(n.j,{indexName:"products"},l.createElement(i.Z,s._),l.createElement("div",{className:T},"PRODUCTS"),l.createElement(d.a,{fallback:l.createElement(A.A,null)},l.createElement(r.f,{hitComponent:R,classNames:{list:G,item:w}}),l.createElement(P,{onClose:t}))),l.createElement(n.j,{indexName:"category"},l.createElement("div",{className:T},"CATEGORIES"),l.createElement(d.a,{fallback:l.createElement(A.A,null)},l.createElement(r.f,{hitComponent:_,classNames:{list:G,item:w}}),l.createElement(P,{onClose:t}))),l.createElement(n.j,{indexName:"pages"},l.createElement("div",{className:T},"PAGES"),l.createElement(d.a,{fallback:l.createElement(A.A,null)},l.createElement(r.f,{hitComponent:C,classNames:{list:G,item:w}}),l.createElement(P,{onClose:t}))))))}}}]);
2//# sourceMappingURL=2226-3457f4e33b743c94836d.js.map

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.