PageSourceSearch

https://sizzle.recipes/_nuxt/D4cGhtoO.js

js sizzle.recipes collected 2026-10-02 02:06:02 UTC 13,531 bytes, 1 lines download raw bytes

1import{o as p,c as m,u as Z,K as B,M as V,h as F,a as t,g as s,b as d,d as P,l as q,i as w,j as X,e as ee,aa as te,w as x,F as N,r as O,t as j,W as R,f as oe,m as se,p as ne,Q as ae,n as le,ab as re,ac as ie,B as $,s as ce}from"./VXp6BDot.js";import{_ as ue}from"./BY5Cfryo.js";import{_ as J}from"./Cy45116h.js";import{x as Q}from"./PTOy4mIY.js";import{_ as S}from"./DlAUqK2U.js";import{_ as de}from"./DwRS3TLM.js";import{i as pe,f as me,b as fe}from"./cDPZCn88.js";import{t as ge}from"./DVtfNqqh.js";import{a as G,t as K}from"./B3v7I6GA.js";const we={},he={d:"M11 6L21 6.00072M11 12L21 12.0007M11 18L21 18.0007M3 11.9444L4.53846 13.5L8 10M3 5.94444L4.53846 7.5L8 4M4.5 18H4.51M5 18C5 18.2761 4.77614 18.5 4.5 18.5C4.22386 18.5 4 18.2761 4 18C4 17.7239 4.22386 17.5 4.5 17.5C4.77614 17.5 5 17.7239 5 18Z","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"};function ke(y,o){return p(),m("path",he)}const ve=S(we,[["render",ke]]),ye={},Ce={d:"M10 6L21 6.00066M10 12L21 12.0007M10 18L21 18.0007M3 5L5 4V10M5 10H3M5 10H7M7 20H3L6.41274 17.0139C6.78593 16.6873 7 16.2156 7 15.7197C7 14.7699 6.23008 14 5.28033 14H5C4.06808 14 3.28503 14.6374 3.06301 15.5","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"};function _e(y,o){return p(),m("path",Ce)}const be=S(ye,[["render",_e]]),z="sizzle_pwa_dismiss",Y=[14,60,-1],Me=()=>{const y=Z(),o=F(null),u=F(!1),f=F("unknown"),h=F(!1),L=()=>window.matchMedia("(display-mode: standalone)").matches||window.navigator.standalone===!0,r=()=>{try{const a=localStorage.getItem(z);if(!a)return!1;const{timestamp:b,count:C}=JSON.parse(a),v=Y[Math.min(C-1,Y.length-1)];return v===-1?!0:Date.now()-b<v*24*60*60*1e3}catch{return!1}},T=()=>{const a=navigator.userAgent;return/iPad|iPhone|iPod/.test(a)||navigator.platform==="MacIntel"&&navigator.maxTouchPoints>1?"ios":/Firefox/i.test(a)&&!/Seamonkey/i.test(a)?"unsupported":"unknown"},c=()=>{if(!h.value)return;const a=B().path;a.startsWith("/admin")||a.startsWith("/make")||L()||r()||f.value!=="unsupported"&&y.cookieConsent!==void 0&&(f.value==="chromium"||f.value==="ios")&&(u.value=!0)},D=async()=>{if(!o.value)return;o.value.prompt();const{outcome:a}=await o.value.userChoice;o.value=null,a==="accepted"&&(u.value=!1)},A=()=>{u.value=!1;try{const a=localStorage.getItem(z),b=a?JSON.parse(a):{count:0};localStorage.setItem(z,JSON.stringify({timestamp:Date.now(),count:b.count+1}))}catch{}};{const a=B(),b=a.query.pwa==="1";if(f.value=T(),window.addEventListener("beforeinstallprompt",C=>{C.preventDefault(),o.value=C,f.value="chromium",c()}),window.addEventListener("appinstalled",()=>{u.value=!1,o.value=null;try{localStorage.removeItem(z)}catch{}}),V(()=>y.cookieConsent,()=>c()),b){f.value==="unknown"&&(f.value="chromium"),h.value=!0;try{localStorage.removeItem(z)}catch{}u.value=!0}else{const C=F(0);V(()=>a.fullPath,()=>{C.value++,C.value>=2&&!h.value&&(h.value=!0,c())}),setTimeout(()=>{h.value||(h.value=!0,c())},3e4)}}return{showPrompt:u,platform:f,triggerInstall:D,dismiss:A}},xe={class:"pwa-install-card"},$e={class:"pwa-install-body"},Fe={key:1,class:"instructions"},Se={__name:"pwa-install-prompt",setup(y){const{showPrompt:o,platform:u,triggerInstall:f,dismiss:h}=Me();return(L,r)=>{const T=J;return p(),m("div",{class:w(["pwa-install-prompt",{shown:s(o)}])},[t("div",xe,[t("button",{class:"dismiss",onClick:r[0]||(r[0]=(...c)=>s(h)&&s(h)(...c)),"aria-label":"Dismiss install prompt"},[d(T,{name:Q,color:"#8C3E1C",scale:.7})]),r[5]||(r[5]=t("img",{src:"/sizzle-icon-header.webp",alt:"sizzle",width:"44",height:"44"},null,-1)),t("div",$e,[r[3]||(r[3]=t("p",{class:"heading"},"Add Sizzle to your home screen",-1)),r[4]||(r[4]=t("p",{class:"sub"},"Quick access to recipes, anytime.",-1)),s(u)==="chromium"?(p(),m("button",{key:0,class:"primary small install-btn",onClick:r[1]||(r[1]=(...c)=>s(f)&&s(f)(...c))},"Install")):s(u)==="ios"?(p(),m("div",Fe,[...r[2]||(r[2]=[t("p",null,[P(" Tap "),t("svg",{class:"share-icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[t("path",{d:"M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8"}),t("polyline",{points:"16 6 12 2 8 6"}),t("line",{x1:"12",y1:"2",x2:"12",y2:"15"})]),P(" then "),t("strong",null,'"Add to Home Screen"')],-1)])])):q("",!0)])])],2)}}},Le=S(Se,[["__scopeId","data-v-b21d1279"]]),Te={};function Ie(y,o){return p(),m("g",null,[...o[0]||(o[0]=[t("path",{d:"M8 10H21M3 14H21M8 18H21M3 6H21","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)])])}const ze=S(Te,[["render",Ie]]),Ae={},He={d:"M9 15C9 18.3137 11.6863 21 15 21C18.3137 21 21 18.3137 21 15C21 11.6863 18.3137 9 15 9M9 15C12.3137 15 15 12.3137 15 9M9 15C5.68629 15 3 12.3137 3 9C3 5.68629 5.68629 3 9 3C12.3137 3 15 5.68629 15 9M6.5 9H6.51M9 11.5H9.01M13.5 17H13.51M9 6.5H9.01M11.5 9H11.51M17 17H17.01M17 13.5H17.01","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"};function Pe(y,o){return p(),m("path",He)}const De=S(Ae,[["render",Pe]]),Ee={},Ne={d:"M3.23047 15.6021V19.6021M3.23047 17.6021H6.10979C6.51355 17.6021 6.71543 17.6021 6.88849 17.5357C7.04136 17.477 7.17748 17.3816 7.28489 17.258C7.40648 17.1181 7.47547 16.9283 7.61345 16.5489L9.23047 12.1021M16.2305 14.1021L17.9671 14.9704C18.4144 15.1941 18.638 15.3059 18.8584 15.3124C19.0525 15.3182 19.2441 15.2673 19.4098 15.166C19.5979 15.051 19.7366 14.843 20.014 14.4269L20.2251 14.1102C20.5726 13.589 20.7463 13.3284 20.7669 13.0693C20.785 12.8418 20.7248 12.615 20.5962 12.4265C20.4497 12.2117 20.1696 12.0717 19.6094 11.7916L19.2305 11.6021M4.09035 7.62803L5.96145 4.42043C6.23184 3.9569 6.36703 3.72514 6.56088 3.59657C6.73149 3.48341 6.93273 3.42534 7.13741 3.43022C7.36995 3.43575 7.60783 3.5
15986 8.0836 3.80809L15.9789 7.92736C16.7263 8.31731 17.1 8.51229 17.2454 8.78849C17.3725 9.02974 17.3955 9.31242 17.3092 9.57107C17.2104 9.86717 16.8732 10.1201 16.1988 10.6259L13.0216 13.0088C12.7344 13.2242 12.5908 13.3319 12.4312 13.3832C12.2901 13.4286 12.1407 13.4421 11.9938 13.4227C11.8276 13.4007 11.6671 13.3204 11.346 13.1599L4.75685 9.8653C4.22599 9.59987 3.96056 9.46716 3.81581 9.26293C3.6886 9.08344 3.62413 8.86702 3.63238 8.64718C3.64176 8.39703 3.79129 8.1407 4.09035 7.62803Z","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"};function Oe(y,o){return p(),m("path",Ne)}const je=S(Ee,[["render",Oe]]),Be={id:"layout"},Ve={class:"buttons"},qe={key:0,class:"toggles"},We={class:"menu"},Re=["href"],Ge={class:"socials"},Ke={class:"social-link icon-link",href:"https://instagram.com/recipes.sizzle",target:"_blank"},Ye={class:"social-link icon-link",href:"https://www.facebook.com/profile.php?id=61555285710892",target:"_blank"},Ze={class:"social-link icon-link",href:"https://bsky.app/profile/sizzle-recipes.bsky.social",target:"_blank"},Je={class:"browse-body"},Qe={class:"tag-groups"},Ue={class:"tag-list"},it={__name:"default",setup(y){const o=Z(),u=B(),f=$(()=>u.fullPath),{$cookies:h}=X(),L=l=>{o.cookieConsent=h.set(l)};ee(async()=>{{const l=ie();o.isDev=l.public.isDev,o.cookieConsent=h.get("cookieConsent"),o.client={device:{type:/Mobi|Android/i.test(navigator.userAgent)?"mobile":"desktop"}},window.addEventListener("scroll",k=>{o.scrollPosition=k.target.scrollingElement.scrollTop});const e=window.requestIdleCallback??(k=>setTimeout(k,1));window.location.hostname==="sizzle.recipes"&&!u.query.demo&&e(async()=>{const{default:k}=await te(async()=>{const{default:n}=await import("./Bu-nYdeH.js");return{default:n}},[],import.meta.url);k.init("3313ce45f50e6324ac2a0910c55bbba1",{debug:l.public.isDev,track_pageview:!1,persistence:"localStorage"}),V(f,()=>{k.track_pageview()},{deep:!0,immediate:!0});const M=document.createElement("script");M.async=!0,M.src="https://www.googletagmanager.com/gtag/js?id=G-WZYT456N33",document.head.appendChild(M),window.dataLayer=window.dataLayer||[];function g(){dataLayer.push(arguments)}g("js",new Date),g("config","G-WZYT456N33"),(function(n,_,I,W,U,H,E){n[I]=n[I]||function(){(n[I].q=n[I].q||[]).push(arguments)},H=_.createElement(W),H.async=1,H.src="https://www.clarity.ms/tag/"+U,E=_.getElementsByTagName(W)[0],E.parentNode.insertBefore(H,E)})(window,document,"clarity","script","k3z259nfll")}),setTimeout(()=>{o.initAuth()},3e3)}});const r=$(()=>u.name),T=$(()=>{let l="rgba(251, 247, 231, 1)",e="0 0 17px -10px #0000";if(r.value==="make-slug"&&(l="rgba(51, 51, 51, 0.9)"),r.value==="index"){let i=o.scrollPosition/100;i>1&&(i=1),l="rgba(251, 247, 231, "+i+")",o.scrollPosition>=100&&(e="0 0 17px -10px #000f")}return{backgroundColor:l,boxShadow:e}}),c=ce({showMenu:!1}),D=[{label:"browse",path:"/browse",show:!0},{label:"about",path:"/info/about",show:!0},{label:"features",path:"/info/features",show:!1},{label:"help",path:"/info/help",show:!0},{label:"blog",path:"/blog",show:!1}],A=$(()=>{if(u.params.category){for(const l of K)for(const e of l.tags)if(G(e)===u.params.category)return e}return null}),a=F(""),b=$(()=>{const l=a.value.toLowerCase().trim(),e=K.map(i=>({...i,tags:[...i.tags].sort((k,M)=>k.localeCompare(M))}));return l?e.map(i=>({...i,tags:i.tags.filter(k=>k.toLowerCase().includes(l))})).filter(i=>i.tags.length>0):e}),C=$(()=>D.filter(l=>{let e=!0;return!(o.user&&!o.user.isAnonymous)&&l.adminOnly&&(e=!1),l.show||(e=!1),e})),v=l=>{c.showMenu=l!==void 0?l:!c.showMenu,c.showMenu||(a.value=""),document.body.style.overflow=c.showMenu?"hidden":""};return(l,e)=>{const i=ue,k=Le,M=de,g=J;return p(),m("div",Be,[t("div",{class:w(["cookie-consent",{shown:s(o).cookieConsent===void 0&&s(r)!=="info-cookie-policy"&&!s(u).query.demo}])},[t("div",null,[e[17]||(e[17]=t("h5",null,"We use cookies",-1)),t("div",Ve,[t("button",{class:"primary",onClick:e[0]||(e[0]=n=>L(!0))},"OK"),t("button",{class:"secondary",onClick:e[1]||(e[1]=n=>L(!1))},"Not OK")]),t("p",null,[d(i,{to:"/info/cookie-policy"},{default:x(()=>[...e[16]||(e[16]=[P("Read cookie policy",-1)])]),_:1})])])],2),d(M,null,{default:x(()=>[d(k)]),_:1}),t("header",{class:w({"menu-shown":s(c).showMenu}),style:le(s(T))},[d(i,{id:"logo",class:w({"on-make":s(r)=="make-slug"}),to:"/",onClick:e[2]||(e[2]=n=>s(c).showMenu=!1)},{default:x(()=>[...e[18]||(e[18]=[t("img",{src:"/sizzle-icon-header.webp",alt:"sizzle icon",width:"30",height:"30",fetchpriority:"high"},null,-1),t("span",null,"sizzle",-1)])]),_:1},8,["class"]),s(r)=="make-slug"?(p(),m("div",qe,[t("button",{class:w(["small primary",{secondary:!s(o).headerToggles.ingredients,primary:s(o).headerToggles.ingredients}]),onClick:e[3]||(e[3]=n=>s(o).headerToggleSwitch("ingredients"))},[d(g,{class:"ingredients-icon",name:ve,color:s(o).headerToggles.ingredients?"#FFFFFF":"#d55805",scale:1.6},null,8,["color"])],2),t("button",{class:w(["small primary",{secondary:!s(o).headerToggles.steps,primary:s(o).headerToggles.steps}]),onClick:e[4]||(e[4]=n=>s(o).headerToggleSwitch("steps"))},[d(g,{class:"steps-icon",name:be,color:s(o).headerToggles.steps?"#FFFFFF":"#d55805",scale:1.6},null,8,["color"])],2),s(o).timerCount>0?(p(),m("button",{key:0,class:w(["small primary",{secondary:!s(o).headerToggles.timers,primary:s(o).headerToggles.timers}]),onClick:e[5]||(e[5]=n=>s(o).headerToggleSwitch("timers"))},[d(g,{class:"timer-icon",name:ge,color:s(o).headerToggles.timers?"#FFFFFF":"#d55805",scale:1.6},null,8,["color"])],2)):q("",!0)])):q("",!0),d(g,{onClick:e[6]||(e[6]=n=>v(!0)),class:w(["link menu-icon",{hidden:s(c).showMenu}]),name:ze,color:"#FA6F13",scale:1},null,8,["class"]),t("div",We,[t("div",{id:"menu-container",class:w({shown:s(c).showMenu}),onClick:e[15]||(e[15]=n=>v(!1))},[d(g,{onClick:e[7]||(e[7]=n=>v(!1)),class:"link x-mark-icon",name:Q,color:"#fff",scale:1}),t("ul",null,[(p(!0),m(N,null,O(s(C),n=>(p(),m("li",{key:n.path},[t("a",{class:w(["button small",{"primary disabled":n.path===s(f),secondary:n.path!==s(f)}]),href:n.path,onClick:e[8]||(e[8]=_=>v())},j(n.label),11,Re)]))),128))]),t("div",Ge,[t("a",Ke,[d(g,{class:"instagram-icon",name:pe,color:"#FA6F13",scale:1}),e[19]||(e[19]=t("span",null,"instagram",-1))]),t("a",Ye,[d(g,{class:"facebook-icon",name:me,color:"#FA6F13",scale:1}),e[20]||(e[20]=t("span",null,"facebook",-1))]),t("a",Ze,[d(g,{class:"bluesky-icon",name:fe,color:"#FA6F13",scale:1}),e[21]||(e[21]=t("span",null,"bluesky",-1))])]),t("div",{class:"browse-search",onClick:e[10]||(e[10]=R(()=>{},["stop"]))},[oe(t("input",{"onUpdate:modelValue":e[9]||(e[9]=n=>ne(a)?a.value=n:null),type:"text",placeholder:"What are you in the mood for?",class:"tag-search"},null,512),[[se,s(a)]])]),t("div",{class:"browse-categories",onClick:e[12]||(e[12]=R(()=>{},["stop"]))},[t("div",Je,[t("div",Qe,[(p(!0),m(N,null,O(s(b),n=>(p(),m("div",{class:"tag-group",key:n.label},[t("h5",null,j(n.label),1),t("div",Ue,[(p(!0),m(N,null,O(n.tags,_=>(p(),ae(i,{key:_,to:`/browse/${s(G)(_)}`,class:w(["tag",{"tag-dark":_===s(A),"tag-light":_!==s(A)}]),onClick:e[11]||(e[11]=I=>v(!1))},{default:x(()=>[P(j(_),1)]),_:2},1032,["to","class"]))),128))])]))),128))])])]),t("footer",null,[d(i,{class:"icon-link",to:"/info/cookie-policy",onClick:e[13]||(e[13]=n=>v())},{default:x(()=>[d(g,{class:"cookies-icon",name:De,color:"#FA6F13",scale:.8}),e[22]||(e[22]=t("span",null,"cookie policy",-1))]),_:1}),d(i,{class:"icon-link",to:"/info/privacy-policy",onClick:e[14]||(e[14]=n=>v())},{default:x(()=>[d(g,{name:je,color:"#FA6F13",scale:.8}),e[23]||(e[23]=t("span",null,"privacy policy",-1))]),_:1})])],2)]),t("div",{class:w(["overlay",{shown:s(c).showMenu}])},null,2)],6),t("div",{class:w(["content",s(u).name])},[re(l.$slots,"default")],2)])}}};export{it as default};

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.