PageSourceSearch

https://www.sergehillproject.co.uk/_next/static/chunks/pages/[slug]-71c35620e62a3775.js

js sergehillproject.co.uk collected 2026-10-04 13:27:41 UTC 5,540 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[219],{11587:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/[slug]",function(){return n(9415)}])},9415:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSG:function(){return l},default:function(){return f}});var r=n(85893),i=n(84873),s=n(21597);function u(e){const{preview:t,loading:n,page:u,settings:o}=e,{title:c,description:a}=o||{};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(s.Z,{data:u,settings:o}),(0,r.jsx)(i.Z,{title:u.title,slug:u.slug,blocks:u.pageBuilderBlocks,indexPage:!0})]})}var o=n(93134),c=n(74356);function a(e){const[t,n]=(0,c.yR)(e.page,o.of,{slug:e.page.slug}),[i,s]=(0,c.yR)(e.settings,o.GL);return(0,r.jsx)(u,{preview:!0,loading:n||s,page:t||{},settings:i||{}})}var l=!0;function f(e){const{page:t,settings:n,draftMode:i}=e;return i?(0,r.jsx)(a,{page:t,settings:n}):(0,r.jsx)(u,{page:t,settings:n})}},34329:function(e,t,n){"use strict";n.d(t,{Kq:function(){return o},Ts:function(){return f},iS:function(){return l},nW:function(){return i},pm:function(){return u},tT:function(){return s}});var r=n(67294);function i(e,t){return"".concat(e,"-").concat(JSON.stringify(t))}function s(e){const[t,n]=(0,r.useReducer)((e=>e+1),0),i=(0,r.useRef)(!0),s=(0,r.useCallback)((()=>{i.current&&(0,r.startTransition)((()=>n()))}),[]);(0,r.useEffect)((()=>(i.current=!0,s(),()=>{i.current=!1})),[s]);return[(0,r.useMemo)((()=>t?[...e]:[]),[e,t]),s]}const u=3e3,o="sanity.preview-kit",c=new Map,a=new Map,l=(0,r.createContext)((function(e,t,n){const r=i(t,n);c.set(r,e),a.has(r)||a.set(r,0);return{subscribe:()=>(a.set(r,a.get(r)+1),()=>{a.set(r,a.get(r)-1),0===a.get(r)&&c.delete(r)}),getSnapshot:()=>c.has(r)?c.get(r):e}})),f=(0,r.createContext)(null)},74356:function(e,t,n){"use strict";n.d(t,{Ji:function(){return g},yR:function(){return c}});var r=n(67294),i=n(69590),s=n(31103),u=n(34329),o=n(85893);function c(e,t,n,o){const{isEqual:c=i}=o||{},f=(0,r.useContext)(u.iS),d=l(n),g=(0,r.useMemo)((()=>f(e,t,d)),[f,e,d,t]),[h]=(0,r.useState)((()=>{if(void 0===e)throw new Error("initialSnapshot can't be undefined, if you don't want an initial value use null instead");try{return JSON.parse(JSON.stringify(e))}catch(t){return console.warn("Failed to deep clone initialSnapshot, this is likely an error and an indication that the snapshot isn't JSON serializable",{initialSnapshot:e,error:t}),e}})),p=(0,r.useCallback)((()=>h),[h]),m=(0,r.useCallback)((e=>e),[]);return[(0,s.useSyncExternalStoreWithSelector)(g.subscribe,g.getSnapshot,p,m,c),a(t,d)]}function a(e,t){const n=(0,r.useContext)(u.Ts),i=(0,r.useMemo)((()=>(0,u.nW)(e,t)),[t,e]);return(0,r.useMemo)((()=>!!Array.isArray(n)&&!n.includes(i)),[i,n])}function l(e){const t=(0,r.useMemo)((()=>JSON.stringify(e||{})),[e]);return(0,r.useMemo)((()=>JSON.parse(t)),[t])}const f=(0,r.lazy)((()=>Promise.all([n.e(702),n.e(699),n.e(986)]).then(n.bind(n,61986)))),d=(0,r.lazy)((()=>n.e(260).then(n.bind(n,14260)))),g=(0,r.memo)((function(e){const{children:t,refreshInterval:n=1e4}=e;if(!e.client)throw new Error("Missing a `client` prop with a configured Sanity client instance");const[i]=(0,r.useState)((()=>e.client.withConfig({requestTagPrefix:e.client.config().requestTagPrefix||u.Kq}))),[s]=(0,r.useState)((()=>e.cache)),[c]=(0,r.useState)((()=>e.logger)),a=(0,r.useMemo)((()=>{var t;return null!=(t=e.turboSourceMap)?t:i.config().resultSourceMap}),[i,e.turboSourceMap]);return a?(0,o.jsx)(r.Suspense,{fallback:t,children:(0,o.jsx)(d,{client:i,logger:c,refreshInterval:n,turboSourceMap:a,children:t})}):(0,o.jsx)(h,{client:i,cache:s,logger:c,refreshInterval:n,children:t})})),h=(0,r.memo)((function(e){var t;const{children:n,refreshInterval:i,client:s,cache:c,logger:a}=e,l=null!=(t=null==c?void 0:c.maxDocuments)?t:u.pm,[f,g]=(0,r.useState)(null),[h,m]=(0,r.useState)(null),[v]=(0,r.useState)((()=>{var e;return null!=(e=null==c?void 0:c.includeTypes)?e:[]}));if(h)throw h;if((0,r.useEffect)((()=>{if(null!==f)return;null==a||a.log("[@sanity/preview-kit]: fetch documents count");const e=new AbortController;return s.fetch(v.length>0?"count(*[_type in $includeTypes])":"count(*)",{includeTypes:v},{filterResponse:!0,signal:e.signal}).then((e=>{null==a||a.log("[@sanity/preview-kit]: documents count",e),g(e)})).catch((e=>{"AbortError"!==e.name&&m(e)})),()=>{e.abort()}}),[s,f,v,a]),null===f)return n;if(i&&f>=l)return(0,o.jsx)(r.Suspense,{fallback:n,children:(0,o.jsx)(d,{client:s,refreshInterval:i,turboSourceMap:!1,logger:a,children:n})});if(f>=l)throw new Error("[@sanity/preview-kit]: You have ".concat(f," documents in your dataset, which is more than the maximum of ").concat(l," documents. Please reduce the number of documents in your dataset or increase the limit."));return(0,o.jsx)(r.Suspense,{fallback:n,children:(0,o.jsx)(p,{...e,children:n})})})),p=(0,r.memo)((function(e){var t;const{children:n,client:i,cache:s,logger:u}=e,{projectId:c,dataset:a,token:l,perspective:d="previewDrafts",requestTagPrefix:g}=(0,r.useMemo)((()=>i.config()),[i]);return(0,o.jsx)(f,{projectId:c,dataset:a,token:l,logger:u,listen:null==(t=null==s?void 0:s.listen)||t,documentLimit:null==s?void 0:s.maxDocuments,overlayDrafts:"previewDrafts"===d,includeTypes:null==s?void 0:s.includeTypes,requestTagPrefix:g,children:n})}))},82729:function(e,t,n){"use strict";function r(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}n.d(t,{_:function(){return r}})}},function(e){e.O(0,[864,955,774,888,179],(function(){return t=11587,e(e.s=t);var t}));var t=e.O();_N_E=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.