PageSourceSearch

https://lifehacker.ru/_nuxt/v7.12-DAi-yeQn.js

js lifehacker.ru collected 2026-09-24 08:29:47 UTC 2,589 bytes, 2 lines download raw bytes

1import{b1 as m,bn as g,by as v,bx as f,b9 as h,bz as b,aU as s,aP as t,b4 as _,bA as u,aV as y,b5 as k,aX as E,bB as C,aQ as I,b0 as $}from"./v7.12-_pfsIBSO.js";import{E as N}from"./v7.12-ND-npwtd.js";import{_ as R}from"./v7.12-C5yiUUUy.js";const S=m({name:"RecipeErrorContainer",components:{ErrorInfo:N},props:{error:{type:Object,required:!0}},async setup(e){var i;let r,n;const c=g(()=>{var a,p,o;return(((a=e.error)==null?void 0:a.statusCode)===404||((o=(p=e.error)==null?void 0:p.message)==null?void 0:o.includes("404")))??!1});let d,l;if(c.value){const{data:a,status:p,error:o}=([r,n]=v(()=>f(()=>h().$recipesApi.fetchHomeRecipes(1,3),"$kjczURFSvI")),r=await r,n(),r);o.value&&console.error("Error in RecipeErrorContainer.vue:",o.value),l=(i=a.value)==null?void 0:i.items,d=p}return{is404:c,recipes:l,fetchStatus:d}}},"$ayIv__pFIK"),A=""+new URL("error-404-recepies-DHi5Qsat.svg",import.meta.url).href,V={class:"error-page"},w={key:0,class:"error-page__links"},B=["href"];function D(e,r,n,c,d,l){const i=b("ErrorInfo");return t(),s("main",V,[e.is404?(t(),s(_,{key:0},[r[0]||(r[0]=u('<div class="error-page__image-wrapper" data-v-883d3489><img class="error-page__image" src="'+A+'" alt="На этой странице ничего нет" data-v-883d3489></div><h1 class="error-page__title" data-v-883d3489>Ошибка 404</h1><h2 class="error-page__subtitle" data-v-883d3489>Что происходит?</h2><p class="error-page__description" data-v-883d3489>По этой ссылке у нас ничего нет. Зато есть много других полезных рецептов:</p>',4)),e.recipes&&e.fetchStatus!=="error"&&e.fetchStatus!=="pending"?(t(),s("ul",w,[(t(!0),s(_,null,k(e.recipes,a=>(t(),s("li",{key:a.id},[E("a",{class:"error-page__link",href:a.url},C(a.title),9,B)]))),128))])):y("",!0)],64)):(t(),s(_,{key:1},[I(i,{error:e.error}
1,null,8,["error"]),r[1]||(r[1]=u('<div class="error-page__image-wrapper" data-v-883d3489><img class="error-page__image error-page__image--503" src="'+R+'" data-v-883d3489></div><h1 class="error-page__title" data-v-883d3489>Ошибка 503</h1><h2 class="error-page__subtitle" data-v-883d3489>Что происходит?</h2><p class="error-page__description error-page__description--503" data-v-883d3489>Что-то не так с нашим сервером. Обновите страницу или немного подождите — скоро всё заработает.</p>',4))],64))])}const z=$(S,[["render",D],["__scopeId","data-v-883d3489"]]);export{z as default};
2//# sourceMappingURL=v7.12-DAi-yeQn.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.