PageSourceSearch

https://www.thecookscook.com/_next/static/chunks/app/error-3d95266914150caa.js

js thecookscook.com collected 2026-09-24 20:03:07 UTC 18,405 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[18039],{4853:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{cancelIdleCallback:function(){return r},requestIdleCallback:function(){return n}});let n="undefined"!=typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){let t=Date.now();return self.setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)},r="undefined"!=typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(e){return clearTimeout(e)};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},8153:(e,t,n)=>{"use strict";n.d(t,{E:()=>a,SiteLineProvider:()=>l});var r=n(95155),i=n(12115),s=n(97912);let o=(0,i.createContext)({footerLine:s.nf.footerLine});function l(e){let{footerLine:t,children:n}=e;return(0,r.jsx)(o.Provider,{value:{footerLine:t},children:n})}function a(){return(0,i.useContext)(o)}},12172:(e,t,n)=>{"use strict";n.d(t,{R2:()=>o,SX:()=>a,vL:()=>l});var r=n(12115);class i{subscribe(e){return this.listeners.add(e),()=>this.listeners.delete(e)}notify(){this.listeners.forEach(e=>e({...this.state}))}start(){this.state.isActive||(this.state={isActive:!0,progress:0,startTime:Date.now(),expectedDuration:this.estimateLoadingTime()},this.notify(),this.startProgressSimulation())}complete(){this.state.isActive&&(this.cleanup(),this.state.progress=100,this.notify(),setTimeout(()=>{this.state={isActive:!1,progress:0,startTime:0,expectedDuration:0},this.notify()},200))}updateProgress(e){this.state.isActive&&(this.state.progress=Math.min(100,Math.max(0,e)),this.notify())}estimateLoadingTime(){let e=document.querySelectorAll("img").length>0,t=document.querySelectorAll('link[href*="http"]').length>0,n=document.querySelectorAll("script[src]").length>0,r=1;return e&&(r+=.5),t&&(r+=.3),n&&(r+=.2),800*r}startProgressSimulation(){this.progressInterval=setInterval(()=>{let e;if(!this.state.isActive)return;let t=(Date.now()-this.state.startTime)/this.state.expectedDuration;e=t<.3?t/.3*30:t<.8?30+(t-.3)/.5*50:80+(t-.8)/.2*15,this.state.progress=Math.min(95,e),this.notify()},50)}cleanup(){this.progressInterval&&(clearInterval(this.progressInterval),this.progressInterval=null),this.completionTimeout&&(clearTimeout(this.completionTimeout),this.completionTimeout=null)}getState(){return{...this.state}}constructor(){this.state={isActive:!1,progress:0,startTime:0,expectedDuration:0},this.listeners=new Set,this.progressInterval=null,this.completionTimeout=null}}let s=new i;function o(){let[e,t]=r.useState(s.getState());return r.useEffect(()=>{let e=s.subscribe(t);return()=>{e()}},[]),e}let l=()=>s.start(),a=()=>s.complete();{let e=()=>{"complete"===document.readyState&&s.complete()};window.addEventListener("load",e),document.addEventListener("DOMContentLoaded",e);let t=window.location.pathname;setInterval(()=>{window.location.pathname!==t&&(t=window.location.pathname,setTimeout(()=>{s.start(),setTimeout(()=>{s.complete()},300)},50))},100)}},22617:(e,t,n)=>{"use strict";n.d(t,{default:()=>o});var r=n(95155);n(12115);var i=n(56040);let s=()=>(0,r.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{d:"M14.8462 6.3468L20.5 12.0005L14.8463 17.6543L13.7923 16.6005L17.6422 12.7505L3.5 12.7505L3.5 11.2505L17.6422 11.2505L13.7922 7.40055L14.8462 6.3468Z",fill:"currentColor"})}),o=e=>{let{variant:t="solid-black",size:n="desktop",state:o="default",hasIconStart:l=!1,hasIconEnd:a=!1,iconStart:c,iconEnd:d,children:u,disabled:h=!1,link:f,className:p="",onClick:m,style:y}=e,g="btn btn-".concat(t," btn-").concat(n," btn-").concat(o),v=[];l&&v.push("has-icon-start"),a&&v.push("has-icon-end");let x=[g,...v,p].filter(Boolean).join(" ");return m?(0,r.jsxs)("button",{className:x,disabled:h||"disabled"===o,onClick:m,style:y,children:[(0,r.jsx)("span",{className:"btn-icon btn-icon-start",style:{display:l?"inline-flex":"none"},children:c||(0,r.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:(0,r.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z",fill:"
1currentColor"})})}),(0,r.jsx)("span",{className:"btn-label",children:u}),(0,r.jsx)("span",{className:"btn-icon btn-icon-end",style:{display:a?"inline-flex":"none"},children:d||(0,r.jsx)(s,{})})]}):(0,r.jsxs)(i.default,{href:f||"#",className:x,style:y,children:[(0,r.jsx)("span",{className:"btn-icon btn-icon-start",style:{display:l?"inline-flex":"none"},children:c||(0,r.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:(0,r.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v2z",fill:"currentColor"})})}),(0,r.jsx)("span",{className:"btn-label",children:u}),(0,r.jsx)("span",{className:"btn-icon btn-icon-end",style:{display:a?"inline-flex":"none"},children:d||(0,r.jsx)(s,{})})]})}},29001:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{ESCAPE_REGEX:function(){return r},htmlEscapeAttributeString:function(){return l},htmlEscapeJsonString:function(){return o}});let n={"&":"\\u0026",">":"\\u003e","<":"\\u003c","\u2028":"\\u2028","\u2029":"\\u2029"},r=/[&><\u2028\u2029]/g,i={"&":"&amp;",'"':"&quot;","'":"&#39;","<":"&lt;",">":"&gt;"},s=/[&"'<>]/g;function o(e){return e.replace(r,e=>n[e])}function l(e){return e.replace(s,e=>i[e])}},37696:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(95155),i=n(56040),s=n(68321),o=n(47726),l=n(75466);function a(){let e=new Date().getFullYear();return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("footer",{className:"footer",children:(0,r.jsxs)("div",{className:"footer-container",children:[(0,r.jsxs)("div",{className:"footer-left",children:[(0,r.jsx)(l.default,{}),(0,r.jsxs)("p",{className:"footer-copyright",children:["\xa9",e," The Cook's Cook LLC"]})]}),(0,r.jsxs)("div",{className:"footer-right",children:[(0,r.jsxs)("div",{className:"footer-column",children:[(0,r.jsx)("h3",{className:"footer-column-title",children:"Explore"}),(0,r.jsxs)("ul",{className:"footer-column-links",children:[(0,r.jsx)("li",{children:(0,r.jsx)(i.default,{href:"/columns",children:"Columns"})}),(0,r.jsx)("li",{children:(0,r.jsx)(i.default,{href:"/features",children:"Features"})}),(0,r.jsx)("li",{children:(0,r.jsx)(i.default,{href:"/recipes",children:"Recipes"})}),(0,r.jsx)("li",{children:(0,r.jsx)(i.default,{href:"/guides",children:"Guides"})}),(0,r.jsx)("li",{children:(0,r.jsx)(i.default,{href:"/writers/",children:"Writers"})}),(0,r.jsx)("li",{children:(0,r.jsx)(i.default,{href:"/community",children:"Community"})})]})]}),(0,r.jsxs)("div",{className:"footer-column",children:[(0,r.jsx)("h3",{className:"footer-column-title",children:"About"}),(0,r.jsxs)("ul",{className:"footer-column-links",children:[(0,r.jsx)("li",{children:(0,r.jsx)(i.default,{href:"/about",children:"About"})}),(0,r.jsx)("li",{children:(0,r.jsx)(i.default,{href:"/newsletter",children:"Newsletter"})}),(0,r.jsx)("li",{children:(0,r.jsx)(i.default,{href:"/partners",children:"Partnerships"})}),(0,r.jsx)("li",{children:(0,r.jsx)(i.default,{href:"/privacy-policy",children:"Privacy Policy"})}),(0,r.jsx)("li",{children:(0,r.jsx)(i.default,{href:"/terms",children:"Terms of Use"})}),(0,r.jsx)("li",{children:(0,r.jsx)(i.default,{href:"/write-for-us",children:"Write for Us"})}),(0,r.jsx)("li",{children:(0,r.jsx)(o.default,{})})]})]}),(0,r.jsxs)("div",{className:"footer-column",children:[(0,r.jsx)("h3",{className:"footer-column-title",children:"Social"}),(0,r.jsxs)("ul",{className:"footer-column-links",children:[(0,r.jsx)("li",{children:(0,r.jsx)("a",{href:"https://www.facebook.com/groups/TheCooksCookCommunityForum/",target:"_blank",children:"Facebook"})}),(0,r.jsx)("li",{children:(0,r.jsx)("a",{href:"https://x.com/thecookscook",target:"_blank",children:"X"})}),(0,r.jsx)("li",{children:(0,r.jsx)("a",{href:"https://www.instagram.com/thecookscook/",target:"_blank",children:"Instagram"})}),(0,r.jsx)("li",{children:(0,r.jsx)("a",{href:"https://uk.pinterest.com/thecookscook/",target:"_blank",children:"Pinterest"})})]})]})]}),(0,r.jsxs)("p",{className:"footer-copyright footer-copyright-mobile",children:["\xa9 ",e," The Cook's Cook LLC"]})]})}),(0,r.jsx)(s.default,{src:"https://cdn.leadflare.io/tcc-cta-v2.min.js",strategy:"afterInteractive"})]})}}
1,41402:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return v},handleClientScriptLoad:function(){return m},initScriptLoader:function(){return y}});let r=n(28140),i=n(49417),s=n(95155),o=r._(n(47650)),l=i._(n(12115)),a=n(82073),c=n(94681),d=n(4853),u=n(29001),h=new Map,f=new Set,p=e=>{let{src:t,id:n,onLoad:r=()=>{},onReady:i=null,dangerouslySetInnerHTML:s,children:l="",strategy:a="afterInteractive",onError:d,stylesheets:u}=e,p=n||t;if(p&&f.has(p))return;if(h.has(t)){f.add(p),h.get(t).then(r,d);return}let m=()=>{i&&i(),f.add(p)},y=document.createElement("script"),g=new Promise((e,t)=>{y.addEventListener("load",function(t){e(),r&&r.call(this,t),m()}),y.addEventListener("error",function(e){t(e)})}).catch(function(e){d&&d(e)});s?(y.innerHTML=s.__html||"",m()):l?(y.textContent="string"==typeof l?l:Array.isArray(l)?l.join(""):"",m()):t&&(y.src=t,h.set(t,g)),(0,c.setAttributesFromProps)(y,e),"worker"===a&&y.setAttribute("type","text/partytown"),y.setAttribute("data-nscript",a),u&&(e=>{if(o.default.preinit)return e.forEach(e=>{o.default.preinit(e,{as:"style"})});{let t=document.head;e.forEach(e=>{let n=document.createElement("link");n.type="text/css",n.rel="stylesheet",n.href=e,t.appendChild(n)})}})(u),document.body.appendChild(y)};function m(e){let{strategy:t="afterInteractive"}=e;"lazyOnload"===t?window.addEventListener("load",()=>{(0,d.requestIdleCallback)(()=>p(e))}):p(e)}function y(e){e.forEach(m),[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEach(e=>{let t=e.id||e.getAttribute("src");f.add(t)})}function g(e){let{id:t,src:n="",onLoad:r=()=>{},onReady:i=null,strategy:c="afterInteractive",onError:h,stylesheets:m,...y}=e,{updateScripts:g,scripts:v,getIsSsr:x,appDir:b,nonce:j}=(0,l.useContext)(a.HeadManagerContext);j=y.nonce||j;let w=(0,l.useRef)(!1);(0,l.useEffect)(()=>{let e=t||n;w.current||(i&&e&&f.has(e)&&i(),w.current=!0)},[i,t,n]);let k=(0,l.useRef)(!1);if((0,l.useEffect)(()=>{if(!k.current){if("afterInteractive"===c)p(e);else"lazyOnload"===c&&("complete"===document.readyState?(0,d.requestIdleCallback)(()=>p(e)):window.addEventListener("load",()=>{(0,d.requestIdleCallback)(()=>p(e))}));k.current=!0}},[e,c]),("beforeInteractive"===c||"worker"===c)&&(g?(v[c]=(v[c]||[]).concat([{id:t,src:n,onLoad:r,onReady:i,onError:h,...y,nonce:j}]),g(v)):x&&x()?f.add(t||n):x&&!x()&&p({...e,nonce:j})),b){if(m&&m.forEach(e=>{o.default.preinit(e,{as:"style"})}),"beforeInteractive"===c)if(!n)return y.dangerouslySetInnerHTML&&(y.children=y.dangerouslySetInnerHTML.__html,delete y.dangerouslySetInnerHTML),(0,s.jsx)("script",{nonce:j,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+(0,u.htmlEscapeJsonString)(JSON.stringify([0,{...y,id:t}]))+")"}});else return o.default.preload(n,y.integrity?{as:"script",integrity:y.integrity,nonce:j,crossOrigin:y.crossOrigin}:{as:"script",nonce:j,crossOrigin:y.crossOrigin}),(0,s.jsx)("script",{nonce:j,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+(0,u.htmlEscapeJsonString)(JSON.stringify([n,{...y,id:t}]))+")"}});"afterInteractive"===c&&n&&o.default.preload(n,y.integrity?{as:"script",integrity:y.integrity,nonce:j,crossOrigin:y.crossOrigin}:{as:"script",nonce:j,crossOrigin:y.crossOrigin})}return null}Object.defineProperty(g,"__nextScript",{value:!0});let v=g;("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},47726:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>l});var r=n(95155),i=n(84427),s=n(94163);let o=i.Fl["cookie-footer-link-v1.0"];function l(){return(0,r.jsx)("button",{type:"button",className:"footer-cookie-choices",onClick:()=>{try{window.dispatchEvent(new CustomEvent(s.Ri))}catch(e){}},children:o.text})}},50960:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>l});var r=n(95155),i=n(12115),s=n(22617),o=n(37696);function l(e){let{error:t,reset:n}=e;return(0,i.useEffect)(()=>{console.error("Error occurred:",t)},[t]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:"container-xl",children:(0,r.jsxs)("div",{className:"section text-center",children:[(0,r.jsx)("div",{className:"main-heading",children:(0,r.jsx)("h1",{children:"Something went wrong!"})}),(0,r.jsxs)("div",{className:"subheading",children:[(0,r.jsx)("p",{children:"We're sorry, but something unexpected happened. Please try again."}),(0,r.jsx)("p",{children:"If the problem persists, please contact support."})]}),(0,r.jsx)("div",{style:{marginTop:"48px"},children:(0,r.jsx)("button",{onClick:n,className:"btn btn-solid-black btn-desktop",children:"Try again"})}),(0,r.jsx)("div",{style:{marginTop:"16px"},children:(0,r.jsx)(s.default,{variant:"outlined-black",size:"desktop",link:"/",children:"Return Home"})})]})}),(0,r.jsx)(o.A,{})]})}},56040:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>l});var r=n(95155),i=n(52619),s=n.n(i),o=n(12172);function l(e){let{href:t,children:n,className:i,onClick:l,external:a=!1,...c}=e,d=a||t.startsWith("http")||t.startsWith("mailto:")||t.startsWith("tel:"),u=e=>{l&&l(e),d||e.defaultPrevented||(0,o.vL)()};return d?(0,r.jsx)("a",{href:t,className:i,onClick:u,target:"_blank",rel:"noopener noreferrer",...c,children:n}):(0,r.jsx)(s(),{href:t,className:i,onClick:u,...c,children:n})}},68321:(e,t,n)=>{"use strict";n.d(t,{default:()=>i.a});var r=n(41402),i=n.n(r)},75466:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var r=n(95155),i=n(8153);function s(){let{footerLine:e}=(0,i.E)();return(0,r.jsx)("h2",{className:"footer-tagline",children:e})}},84427:(e,t,n)=>{"use strict";n.d(t,{Fl:()=>r,Uh:()=>i});
1let r={"cookie-banner-v1.0":{id:"cookie-banner-v1.0",version:"1.0",loadBearing:!0,policyRef:"Privacy Policy \xa712",text:"Can we see how the site is used?\n\nWe'd like to record which pages get read, so we can suggest things worth reading next and tell whether a change to the site actually helped. That includes Google Analytics.\n\nNothing is set until you choose. The site works exactly the same either way — you can read, save, follow, subscribe and comment whichever you pick.",render:{decline:"No thanks",accept:"Yes, that's fine",link:"What this involves"}},"cookie-footer-link-v1.0":{id:"cookie-footer-link-v1.0",version:"1.0",loadBearing:!1,policyRef:"Privacy Policy \xa712",text:"Cookie choices",render:{onWithdrawal:"Done. We've stopped measuring, and removed what was already set."}},"signup-notice-v1.0":{id:"signup-notice-v1.0",version:"1.0",loadBearing:!0,policyRef:"Privacy Policy \xa71, \xa74",text:"We'll send a sign-in link to this address. What we do with it: Privacy Policy",render:{link:"Privacy Policy"}},"terms-acceptance-v1.0":{id:"terms-acceptance-v1.0",version:"1.0",loadBearing:!0,policyRef:"Terms \xa71, \xa713",text:"I accept the Terms of Use and the Privacy Policy.",render:{termsLink:"Terms of Use",privacyLink:"Privacy Policy"}},"digest-optin-v1.0":{id:"digest-optin-v1.0",version:"1.0",loadBearing:!0,policyRef:"Privacy Policy \xa74, \xa78",text:"Email me the weekly digest. You can stop it any time."},"age-check-v1.0":{id:"age-check-v1.0",version:"1.0",loadBearing:!0,policyRef:"Privacy Policy \xa713",text:"Your date of birth\n\nWe ask so we know you're old enough for an account. We keep the answer — old enough, or not — and not the date itself.",render:{under16:"Thanks for telling us.\n\nYou need to be 16 to have an account here. But you don't need one to use the site: every recipe, every article and every column is free to read and print, and always will be.\n\nCome back and make an account when you're 16 — we'll be here."}},"dnss-page-v1.0":{id:"dnss-page-v1.0",version:"1.0",loadBearing:!1,policyRef:"Privacy Policy \xa710, \xa711",text:"Do Not Sell or Share My Personal Information\n\nWe don't sell your personal information, and the brands who sponsor articles get none of it — no email addresses, no lists, nothing.\n\nWhat we do count is clicks on sponsored placements and links out to partners, and we use Google Analytics to see how the site is used. If you'd rather we didn't, tell us here and we'll stop.",render:{button:"Opt me out",confirmation:"Done. We've stopped counting your clicks on sponsored placements and outbound links, and Google Analytics is switched off for you.",gpcNote:"If your browser sends a Global Privacy Control signal, we already treat that as an opt-out wherever you are. You don't need to do anything here."}},"unsubscribe-confirm-v1.0":{id:"unsubscribe-confirm-v1.0",version:"1.0",loadBearing:!1,policyRef:"Privacy Policy \xa78",text:"You're unsubscribed. We won't send the digest again.\n\nYou'll still get emails about the account itself — sign-in links, security notices — because those come with having one. Closing your account stops those too."},"impersonation-banner-v1.0":{id:"impersonation-banner-v1.0",version:"1.0",loadBearing:!1,policyRef:"Privacy Policy \xa714",text:"You are using the site as {display_name}. Anything you change is recorded against you, not them. {minutes_remaining} minutes left.",render:{stop:"Stop"}}};Object.keys(r).filter(e=>r[e].loadBearing);let i={stringId:{type:String,required:!0},surface:{type:String},version:{type:String,required:!0},termsVersion:{type:String},privacyVersion:{type:String},acceptedAt:{type:Date,required:!0},textHash:{type:String,required:!0},servedText:{type:String,required:!0},_id:!1}},94381:(e,t,n)=>{Promise.resolve().then(n.bind(n,50960))}},e=>{e.O(0,[52619,94163,97912,28441,31255,77358],()=>e(e.s=94381)),_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.