PageSourceSearch

https://www.edimdoma.ru/_next/static/chunks/2031-cc8d41588ffe773f.js

js edimdoma.ru collected 2026-10-02 04:10:39 UTC 7,514 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2031],{2031:(e,t,s)=>{Promise.resolve().then(s.bind(s,34622)),Promise.resolve().then(s.bind(s,62510)),Promise.resolve().then(s.bind(s,98208)),Promise.resolve().then(s.bind(s,77417)),Promise.resolve().then(s.bind(s,68475)),Promise.resolve().then(s.bind(s,20145)),Promise.resolve().then(s.bind(s,13960)),Promise.resolve().then(s.bind(s,42611)),Promise.resolve().then(s.bind(s,10971)),Promise.resolve().then(s.bind(s,99695)),Promise.resolve().then(s.bind(s,7195)),Promise.resolve().then(s.bind(s,56795)),Promise.resolve().then(s.bind(s,38799)),Promise.resolve().then(s.bind(s,75616)),Promise.resolve().then(s.bind(s,80003)),Promise.resolve().then(s.bind(s,4260)),Promise.resolve().then(s.bind(s,56323))},2903:(e,t,s)=>{"use strict";s.d(t,{b:()=>l,D:()=>r});var a=s(98807),n=s(48612);let l=e=>{let{count:t,title:s}=e;return(0,a.jsxs)("div",{className:"flex items-start gap-3",children:[(0,a.jsx)("h2",{className:"titleH2",children:s}),(0,a.jsx)(n.E,{size:"small",theme:"dark",className:"px-1 py-0",children:t})]})};var c=s(24454),i=s(69106);let r=e=>{let{setSearchPhraseAction:t,searchPhrase:s,onSearchAction:n}=e;return(0,a.jsxs)("div",{className:"flex items-center gap-2.5",children:[(0,a.jsx)("span",{className:"relative grow",children:(0,a.jsx)(i.k,{variant:"outline",theme:"light",value:s,onChange:e=>t(e.target.value),onKeyDown:e=>{"Enter"===e.key&&n()},withCross:()=>t("")})}),(0,a.jsx)(c.$,{className:"max-md:rounded-xl max-md:py-2",onClick:n,variant:"dark",children:"Найти"})]})}},5069:(e,t,s)=>{"use strict";s.d(t,{KY:()=>i,Nu:()=>m});var a=s(59886),n=s(132),l=s(33549);let c={telecastCatalog:"/full_telecasts",telecastItem:e=>"/full_telecast/".concat(e)};async function i(e){let{tagId:t,offset:s=0,limit:i=l.mF,sorted:r}=e;if(t){let e=await (0,n.K)({endpoint:a.t.tagCatalog,params:{limit:i,offset:s,id:t,object_name:"FullTelecast",sorted:r},errorMessage:"Не удалось загрузить каталог постов по тегу"});return{full_telecasts:e.objects,count:e.count,offset:e.offset,count_object:e.count_object,tag:e.tag,seo:e.seo}}let o=await (0,n.K)({endpoint:c.telecastCatalog,params:{limit:i,offset:s,sorted:r},errorMessage:"Не удалось загрузить каталог рецептов"});return{full_telecasts:o.full_telecasts,count:o.count,offset:o.offset,count_object:o.count_object,seo:o.seo}}s(88416),s(56126);var r=s(4260),o=s(22678);class d{async fetchTelecasts(e){let{limit:t=l.mF,offset:s,sorted:a=l.UE.new}=e,n=new URLSearchParams({limit:t.toString(),offset:s.toString(),sorted:a.toString()});return(await this.instance.get("".concat(o.B.API_URL).concat(o.m).concat(c.telecastCatalog,"?").concat(n))).data}async fetchFullTelecast(e){return(await this.instance.get("".concat(o.B.API_URL).concat(o.m).concat(c.telecastItem(e)))).data}constructor(e){this.instance=e}}let m=new d(r.axiosInstance)},32789:(e,t,s)=>{"use strict";s.d(t,{C:()=>o});var a=s(98807),n=s(76710),l=s(60796),c=s(34688),i=s(68955),r=s(48612);let o=e=>{var t,s,o;let{news:d,lcpImage:m=!1,variant:h}=e;if(d)return(0,a.jsxs)(n.Z,{link:(0,c.Ff)(d),variant:h,children:[(0,a.jsx)(n.Z.Image,{src:null!=(s=d.image_ed4_big_wide)?s:d.image_ed4_wide,lcpImage:m,title:d.title,placeholder:l.Jk,children:(null==(t=d.any_markers)?void 0:t.exclusive)&&(0,a.jsx)(r.E,{theme:"accent",className:(0,i.cn)("absolute top-1 left-1 z-10 max-w-30 overflow-clip text-nowrap text-ellipsis max-sm:max-w-22 sm:top-3 sm:left-3"),children:"Эксклюзивно"})}),(0,a.jsxs)(n.Z.Content,{children:[(d.updated_at||d.published_at)&&(0,a.jsx)(n.Z.Time,{date:null!=(o=d.updated_at)?o:d.published_at}),(0,a.jsx)(n.Z.Title,{children:d.title})]})]})}},33012:(e,t,s)=>{"use strict";s.d(t,{f0:()=>c,AY:()=>d}),s(88416),s(56126);var a=s(33549);let n={newsCatalog:"/news",newsItem:e=>"/news/".concat(e),newsItemPreview:"/news"};var l=s(132);async function c(e){let{limit:t=a.mF,offset:s=0,sorted:c=a.UE.new,cache:i="no-store",pageType:r,signal:o}=e;return(0,l.K)({endpoint:n.newsCatalog,params:{limit:t,offset:s,sorted:c,page_type:r},errorMessage:"Не удалось загрузить каталог видео",cache:i,signal:o})}var i=s(22678),r=s(4260);class o{async fetchNews(e){let{limit:t=a.mF,offset:s=0,sorted:l=a.UE.new,pageType:c}=e,r=new URLSearchParams({limit:t.toString(),offset:s.toString(),sorted:l.toString(),...c&&{page_type:c}});return(await this.instance.get("".concat(i.B.API_URL).concat(i.m).concat(n.newsCatalog,"?").concat(r))).data}async fetchFullNews(e){return(await this.instance.get("".concat(i.B.API_URL).concat(i.m).concat(n.newsItem(e)))
1).data}async fetchFullNewsPreview(e){return(await this.instance.post("".concat(i.B.API_URL).concat(i.m).concat(n.newsItemPreview),{id:e,preview:"1"})).data}constructor(e){this.instance=e}}let d=new o(r.axiosInstance)},47675:(e,t,s)=>{"use strict";s.d(t,{q:()=>i});var a=s(98807),n=s(76710),l=s(43516),c=s(68955);let i=e=>{let{className:t,video:s,lcpImage:i=!1}=e;return(0,a.jsx)("li",{className:(0,c.cn)("group",t),children:(0,a.jsxs)(n.Z,{link:l.J.telecastSingle("".concat(s.id,"-").concat(s.slug)),children:[(0,a.jsx)(n.Z.Image,{src:s.image_ed4_wide,lcpImage:i,title:s.title,width:370,height:220,className:"h-52 max-h-52"}),(0,a.jsx)(n.Z.Title,{children:s.title})]})})}},80003:(e,t,s)=>{"use strict";s.d(t,{MainPage:()=>_});var a=s(98807);s(26239);var n=s(1157),l=s(99695),c=s(93087),i=s.n(c),r=s(33012),o=s(32789),d=s(2903),m=s(60796),h=s(24454);let u=e=>{var t;let{offset:s=0,limit:n=8,queryKey:c}=e,{data:u}=(0,l.useQuery)({queryKey:c,queryFn:()=>r.AY.fetchNews({limit:n,offset:s,pageType:"main"})});return(0,a.jsxs)("section",{id:"news",className:"basicSection anchor",children:[(0,a.jsx)(d.b,{title:"Новости",count:null!=(t=null==u?void 0:u.count_object)?t:0}),(0,a.jsx)("ul",{className:"grid grid-flow-dense grid-cols-2 gap-x-2.5 gap-y-6 md:grid-cols-4",children:null==u?void 0:u.news.map(e=>(0,a.jsx)("li",{children:(0,a.jsx)(o.C,{news:e})},e.id))}),(0,a.jsx)(i(),{href:m.Jh.newsCatalog,children:(0,a.jsxs)(h.$,{className:"w-full",asChild:!0,children:["Смотреть все"," "]})})]})};var g=s(60392),x=s(5069),v=s(47675),w=s(43516);let j=e=>{let{offset:t=0,limit:s=3,queryKey:n}=e,{data:c}=(0,l.useQuery)({queryKey:n,queryFn:()=>x.Nu.fetchTelecasts({limit:s,offset:t})}),r=null==c?void 0:c.count_object;return(0,a.jsxs)("section",{className:"basicSection anchor",id:"tv",children:[(0,a.jsx)(d.b,{title:"Телепередачи",count:null!=r?r:0}),!!r&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("ul",{className:"xs:grid-cols-1 grid gap-x-2.5 gap-y-6 md:grid-cols-3",children:c.full_telecasts.map(e=>(0,a.jsx)(v.q,{video:e},e.id))}),r>1&&(0,a.jsx)(i(),{href:w.J.telecastsCatalog,children:(0,a.jsx)(h.$,{className:"w-full",asChild:!0,children:"Показать больше"})})]})]})};var p=s(33770),f=s(67451),b=s(37301);let _=e=>{let{resetPasswordToken:t,authModal:s}=e;return(0,n.VW)(t,s),(0,a.jsxs)("article",{className:"basicSection gap-12 pb-8",children:[(0,a.jsxs)("section",{className:"basicSection",children:[(0,a.jsx)("h1",{className:"titleH1",children:"Более 80 000 оригинальных рецептов"}),(0,a.jsx)(f.R,{})]}),(0,a.jsxs)("section",{className:"basicSection anchor",id:"post",children:[(0,a.jsx)("h2",{className:"titleH2",children:"Новые рецепты"}),(0,a.jsx)(g.J,{queryKey:p.l.recipes.main()})]}),(0,a.jsx)(b.v,{queryKey:p.l.posts.main()}),(0,a.jsx)(j,{queryKey:p.l.telecasts.main()}),(0,a.jsx)(u,{queryKey:p.l.news.main()})]})}}}]);

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.