PageSourceSearch

https://podarkus.ru/_next/static/chunks/pages/articles/%5Bid%5D-9145ea36188163f9.js

js podarkus.ru collected 2026-09-25 02:35:41 UTC 3,976 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6245],{62745:(e,t,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/articles/[id]",function(){return n(71886)}])},71886:(e,t,n)=>{"use strict";n.r(t),n.d(t,{__N_SSG:()=>R,default:()=>B,fetchAllArticles:()=>U});var i=n(62426),r=n(52411),l=n(60176),s=n(4902),o=n(37876),c=n(1367),a=n(46499),u=n(14232),d=n(98854),p=n(89099),h=n(10841),m=n.n(h);n(30441);var g=n(63261),f=n(80145),_=n(57267),A=n(77395),v=n(70355),y=n(13904),x=n(11704),b=n(80160),k=n(99464),C=n(38388),j=n(92743),w=n(65266),S=n(27137),O=n(27283),E=n(26151),I=n(4645),L=n(22217),P=n(19293);"eng"===w.Np&&m().locale("en-US");let N=function(e){var t=e.history,n=(0,f.Bd)("containers.pages.article").t,r=(0,p.useRouter)(),l=(0,d.wA)(),c=(0,E.A)(function(e){return{viewingArticle:e.articles.viewingArticle,nextArticleCode:e.articles.nextArticleCode,user:e.session.user}}),h=c.viewingArticle,m=c.nextArticleCode,N=c.user,T=(0,u.useMemo)(function(){if(!h)return null;var e,t=null==(e=h.products)?void 0:e.map(function(e){var t;return{"@type":"Product",name:e.name,description:e.description,image:(null==(t=e.images)?void 0:t[0])||void 0,offers:{"@type":"Offer",price:e.price,priceCurrency:"RUB",url:e.link,availability:"https://schema.org/InStock"}}});return{"@context":"https://schema.org","@type":"Article",headline:h.title,description:h.teaser,datePublished:h.pub_date,image:h.image,author:{"@type":"Organization",name:"Подаркус",url:"https://podarkus.ru/"},publisher:{"@type":"Organization",name:"ООО Подаркус",url:"https://podarkus.ru/contacts",logo:{"@type":"ImageObject",url:"".concat(w.C8,"/logo/logo_d_podarkus.svg")}},mainEntity:(null==t?void 0:t.length)?{"@type":"ItemList",itemListOrder:"https://schema.org/ItemListOrderAscending",numberOfItems:t.length,itemListElement:t}:void 0}},[h]),R=(0,a._)((0,u.useState)(!1),2),B=R[0],U=R[1],D=(null==h?void 0:h.products)||[],H=h?String(h.teaser||""):"",M=H.length>w.Ul?(0,o.jsxs)(o.Fragment,{children:[(0,g.Ay)(H.slice(0,w.Ul)),"..."]}):(0,g.Ay)(H),F=(0,u.useCallback)(function(){return(0,i._)(function(){return(0,s.YH)(this,function(e){return(0,O.A)(t||[],r),[2]})})()},[r,t]),G=(0,u.useCallback)(function(e){(0,I.A)("click-button-add-gift-articles-step1"),l((0,L.ho)("addStoreProduct",{productData:e,isCopy:!0,isArticle:!0}))},[l]),Y=(0,u.useCallback)(function(e){U(!e)},[]);return(0,o.jsxs)(o.Fragment,{children:[h&&(0,o.jsx)(v.A,{metaData:{TITLE:h.meta_title,DESCRIPTION:h.meta_description,KEYWORDS:h.meta_keywords},children:T&&(0,o.jsx)("script",{dangerouslySetInnerHTML:{__html:JSON.stringify(T)},type:"application/ld+json"})}),(0,o.jsx)(A.A,{isPrivate:!1,noBanner:!1,notFoundHistory:[],children:(0,o.jsx)(y.A,{footer:(0,o.jsx)(x.A,{}),header:(0,o.jsx)(_.A,{}),hideMenu:!0,stretch:!0,children:h?(0,o.jsxs)(b.A,{nextArticleCode:m,onBack:F,top:(0,o.jsx)(k.R,{caption:h.title,dateISO:h.pub_date,description:M,imageUrl:h.image,isListShow:B,switcher:Y}),children:[(0,o.jsx)(C.t,{isListShow:B,onAddToList:G,products:D}),(0,S.A)(N)&&(0,o.jsx)(P.A,{})]}):(0,o.jsx)(j.A,{centered:!0,fs14:!1,mtLarge:!1,mtMedium:!1,pg:!0,purpleBlack:!1,children:n("note")})})})]})};var T=n(90459),R=!0;let B=function(e){return(0,o.jsx)(N,(0,r._)({},e))};var U=function(){return(0,i._)(function(){var e,t,n,i,r,o,a,u,d;return(0,s.YH)(this,function(s){switch(s.label){case 0:e=[],t=!0,n=0,s.label=1;case 1:if(!(t&&n<=99999))return[3,3];return[4,c.Vs.query({query:T.c3R,variables:{limit:50,offset:n},fetchPolicy:"network-only"})];case 2:return(null==(a=s.sent())||null==(o=a.data)||null==(r=o.Collections_GetCollectionsPublic)||null==(i=r.collections)?void 0:i.length)?(d=a.data.Collections_GetCollectionsPublic.collections.map(function(e){var t,n;return{id:null!=(t=null==e?void 0:e.id)?t:0,code:null!=(n=null==e?void 0:e.code)?n:""}}),(u=e).push.apply(u,(0,l._)(d)),n+=50):t=!1,[3,1];case 3:return[2,e]}})})()}}},e=>{e.O(0,[7133,7383,2620,9091,7395,7267,3904,3152,636,6593,8792],()=>e(e.s=62745)),_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.