1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[27424,21922],{54683:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/preview/photoreport/[...slug]",function(){return r(46339)}])},23300:function(e,t,r){"use strict";r.d(t,{Z:function(){return a}});var i=r(85893),s=r(81226),n=r(5396),o=r.n(n);function a(){return(0,i.jsx)("div",{className:o().wrapper,children:(0,i.jsxs)("div",{className:o().inner,children:[(0,i.jsx)("span",{className:o().logo,children:(0,i.jsx)(s.Z,{})}),(0,i.jsx)("div",{className:o().title,children:"ÐагÑÑзка..."})]})})}},45706:function(e,t,r){"use strict";r.r(t),r.d(t,{__N_SSP:function(){return p},default:function(){return f}});var i=r(85893),s=r(66750),n=r(48362),o=r(45085),a=r(91267),l=r(15040),u=r(91683),c=r(49097),d=r(35379);let _=e=>{let{size:t=20,fieldName:r="loadItemsList",offset:i}=e,s={size:t,priority:20,has_icon:!0,type:"media",is_media:!0,sort:"publish_at:desc"};return i&&(s.offset=i),{[r]:{...s}}};var p=!0;function f(e){let t=(0,n.ZP)(e),r=t("itemSelections"),o=t("itemSelections","total"),p=(0,n.pW)(e)._source,f=o?o.value:0,h=t("linkedMaterials");return(0,i.jsxs)(a.Z,{children:[(0,i.jsx)(l.Z,{item:p}),(0,i.jsx)(u.Z,{className:"layoutGlobalSection",children:(0,i.jsx)(d.Z,{listInitial:r,listSizeTotal:f,partSize:20,autoFetchDataCounter:3,fetchData:async e=>{let{offset:t}=e,r=await (0,s.ZP)({query:{..._({fieldName:"itemSelections",offset:t})}});return"serverError"in r?[]:(0,n.ZP)(r)("itemSelections")},children:(0,i.jsx)(c.Z,{item:p,linkedMaterials:h,isPreview:e.isPreview})})})]})}f.getLayout=e=>(0,o.Z)({page:e})},46339:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return p}});var i=r(85893),s=r(67294),n=r(38788),o=r(87066),a=r(45706),l=r(66750),u=r(23300),c=r(45085),d=r(66506);let _=async(e,t)=>{try{let{data:r}=await o.default.post("".concat(t,"/apiauth/apps/admin-core/preview"),{id:e,source_type:d.F.Photo,type:"media"},{withCredentials:!0}),i=await (0,l.ZP)({query:{linkedMaterials:{size:15,source_type:"article",priority:100,video:{id:e},fields:["id","link_title","url","is_rodina"]}}}),s=await (0,l.ZP)({query:{itemSelections:{size:20,priority:20,has_icon:!0,is_media:!0,type:"media",sort:"publish_at:desc"}}}),n={item:{hits:[{_source:r,sort:[],_id:""}],priority:100,total:{value:1}},itemSelections:{hits:"serverError"in s?[]:s.hits,priority:"serverError"in s?20:s.priority,total:"serverError"in s?{value:1}:s.total}};return"serverError"in i||"serverError"in s?{...n}:{...n,...i,...s}}catch(e){console.log(e)}};function p(e){let{id:t}
1=e,[r,o]=(0,s.useState)(null),{utilsData:l}=(0,n.i)();return(0,s.useEffect)(()=>{let e=null==l?void 0:l.host;!r&&e&&_(t,e).then(e=>{e&&o(e)})},[t,r,l]),r?(0,i.jsx)(c.Z,{page:(0,i.jsx)(a.default,{...r,isPreview:!0})}):(0,i.jsx)(u.Z,{})}p.getInitialProps=async e=>{let{query:t}=e;return{id:Number(t.slug[0])}}},5396:function(e){e.exports={wrapper:"PreloaderLogo_wrapper__8_QFP",inner:"PreloaderLogo_inner__F2tNf",logo:"PreloaderLogo_logo__zDDfs",title:"PreloaderLogo_title__40KQy"}}},function(e){e.O(0,[30719,32634,89386,12382,92888,49774,40179],function(){return e(e.s=54683)}),_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.