1_N_E=(window.webpackJsonp_N_E=window.webpackJsonp_N_E||[]).push([[11],{"55nj":function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/recipes",function(){return t("rG5T")}])},rG5T:function(e,n,t){"use strict";t.r(n),t.d(n,"__N_SSG",(function(){return u}));var s=t("MX0m"),i=t.n(s),c=t("q1tI"),a=t.n(c),r=t("nOHt");var l=a.a.createElement,u=!0;n.default=function(e){var n=e.recipes,t=Object(c.useState)(-1),s=t[0],i=t[1],u=Object(r.useRouter)();return Object(c.useEffect)((function(){u.push(s<0?"/recipes":"/recipes#"+s,void 0,{shallow:!0})}),[s]),Object(c.useEffect)((function(){return u.events.on("hashChangeComplete",(function(e){var n=e.split("#")[1];i(n?parseInt(n):-1)})),function(){u.events.off("hashChangeComplete")}}),[]),l(a.a.Fragment,null,s>=0?l(o,{recipe:n[s],setActiveRecipe:i}):l(m,{recipes:n,activeRecipe:s,setActiveRecipe:i}))};function o(e){var n=e.recipe,t=(e.setActiveRecipe,Object(c.useRef)(null));return Object(c.useEffect)((function(){}),[]),l("article",{ref:t,className:"jsx-4158795563"},l("h1",{className:"jsx-4158795563"},n.fields.Name),l("h3",{className:"jsx-4158795563"},"Ingredients"),l("ul",{className:"jsx-4158795563 "+"list-disc ".concat(n.parsed.ingredients.length>5?"two-col":null)},n.parsed.ingredients.map((function(e){return l("li",{key:e.value,className:"jsx-4158795563"},e.value)}))),l("h3",{className:"jsx-4158795563"},"Method"),l("ul",{className:"jsx-4158795563 list-decimal"},n.parsed.instructions.map((function(e){return l("li",{key:e.value,className:"jsx-4158795563"},e.value)}))),l(i.a,{id:"4158795563"},["html.jsx-4158795563,body.jsx-4158795563,article.jsx-4158795563{padding:0;margin:0;}","ul.jsx-4158795563{width:calc(100% - 3rem);margin-left:1.5rem;}","ul.two-col.jsx-4158795563{-webkit-column-count:2;column-count:2;-webkit-column-gap:1rem;column-gap:1rem;}","li.jsx-4158795563{margin-bottom:2px;}","h1.jsx-4158795563,h3.jsx-4158795563{padding:0;}","h3.jsx-4158795563{border-bottom:1px solid #333;}","@media screen{article.jsx-4158795563{height:100vh;max-height:100vh;padding:2rem 1rem;}h1.jsx-4158795563,h3.jsx-4158795563{margin:0.5rem 1rem;}}","@media print{h1.jsx-4158795563{font-size:12px;padding:0;margin:0.25rem;}h3.jsx-4158795563{font-size:9px;padding:0;margin:0.25rem;}article.jsx-4158795563{font-size:9px;}}"]))}function m(e){var n=e.recipes,t=e.activeRecipe,s=e.setActiveRecipe;return l("article",{className:"px-4 py-4 pb-8"},l("h1",{className:"ml-2 my-4"},"Nosh."),l("ol",null,n.map((function(e,n){return l("li",{className:"list-disc ml-8 blue",key:e.id,onClick:function(e){return s(t===n?-1:n)}},e.fields.Name)}))))}}},[["55nj",0,1,2,3]]]);
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.