1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[96,8231,8553],{13828:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/archive/[[...params]]",function(){return r(4719)}])},58553:(e,t,r)=>{"use strict";r.r(t),r.d(t,{HeaderTechnicalProblem:()=>n,default:()=>l});var i=r(74848),o=r(96540),s=r(84724),a=r.n(s);class n extends o.Component{render(){return(0,i.jsxs)("div",{className:a()["header-technical-problem"],children:[(0,i.jsx)("img",{src:"/static/images/header/alarm.svg"}),(0,i.jsx)("span",{children:this.props.text||"ÐÑ Ð¿Ñоводим ÑеÑ
ниÑеÑкие ÑабоÑÑ, поÑÑÐ¾Ð¼Ñ Ð½ÐµÐºÐ¾ÑоÑÑе ÑÑнкÑии могÑÑ Ð±ÑÑÑ Ð½ÐµÐ´Ð¾ÑÑÑпнÑ"})]})}}let l=n},4719:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>h});var i=r(74848),o=r(96540),s=r(74368),a=r(47819),n=r(27116),l=r(98047),c=r(4120),d=r(58553),u=r(97093),v=r(96243);let m={toggleNotFound:l.GJ,fetched:c.sg};class p extends o.Component{static async getInitialProps(e){var t,r,i,o,s,d,u;let v=(null===(r=e.reduxStore.getState())||void 0===r?void 0:null===(t=r.systemInformation)||void 0===t?void 0:t.API_URL)||n.H$,m=(null===(o=e.reduxStore.getState())||void 0===o?void 0:null===(i=o.systemInformation)||void 0===i?void 0:i.API_KEY)||n.Lq,p=(null===(d=e.reduxStore.getState())||void 0===d?void 0:null===(s=d.systemInformation)||void 0===s?void 0:s.locale)||(null==e?void 0:null===(u=e.query)||void 0===u?void 0:u.locale)||"ru",{params:h,genres:g,year:_}=e.query,f=null==h?void 0:h[0],x=null==h?void 0:h[1],S=null==h?void 0:h[2],y=null,I=null,P=0;"ru"!==p&&(e&&e.res&&(e.res.statusCode=404),e.reduxStore.dispatch((0,l.GJ)(!0)));let w=[f,x,S,g,_].filter(e=>e),b="",j="",A="",k="";w.map(e=>{-1!==n.gp.indexOf(e)?(b+="&category=".concat("tvseries"===e?"series":"movie"),j="tvseries"===e?"series":"movie"):e.includes(",")?parseInt(e.split(",")[0])?(b+="&year=".concat(e),k=e):(b+="&genre=".concat(e),A=e):parseInt(e)?(b+="&year=".concat(e),k=e):(b+="&genre=".concat(e),A=e)});let N="".concat(v).concat(a.PI.catchupsFilters).concat(m,"&for_kids=false").concat(b),E=await fetch(N,{method:"GET",credentials:"include"});if(E.status<400){let e=await E.json();y=null==e?void 0:e.filters}if(e.reduxStore.getState().tvArchive.pageSettings.isPopStated)I=e.reduxStore.getState().tvArchive.pageSettings.items,P=e.reduxStore.getState().tvArchive.pageSettings.items_total;else{let e=new URLSearchParams({for_kids:"false",skip:"0",limit:String(50)});j&&e.set("category",j),A&&e.set("genre",A),k&&e.set("year",k);let t="".concat(v).concat(a.PI.catchups).concat(m,"&").concat(e.toString()),r=await fetch(t,{method:"GET",credentials:"include"});if(r.status<400){let e=await r.json();I=null==e?void 0:e.items,P=e.items_total}}return e.reduxStore.dispatch((0,c.sg)({items:I,items_total:P})),{locale:p,filters:y,categoryFilter:j,genreFilter:A,yearFilter:k,apiUrl:v}}render(){var e;let{authData:t}=this.props.registration,{config:r}=this.props.systemInformation,{filters:o,categoryFilter:s,genreFilter:a,yearFilter:n,apiUrl:l}=this.props;return t&&("RU"!==t.current_country_code||t.profile_for_child)?(0,i.jsx)(u.A,{}):(0,i.jsxs)(i.Fragment,{children:[(null==r?void 0:null===(e=r.popup)||void 0===e?void 0:e.allarmtv)==="on"?(0,i.jsx)(d.default,{text:"ÐекоÑоÑÑе ÐºÐ°Ð½Ð°Ð»Ñ Ð¸ запиÑи Ñ Ð¢Ð Ð½ÐµÐ´Ð¾ÑÑÑпнÑ. СкоÑо вÑÑ Ð¿Ð¾Ñиним"}):null,(0,i.jsx)(v.nN,{children:(0,i.jsx)(v.Ay,{filters:o,categoryFilter:s,genreFilter:a,yearFilter:n,apiUrl:l})})]})}}let h=(0,s.Ng)(e=>({registration:e.registration,systemInformation:e.systemInformation,tvArchive:e.tvArchive}),m)(p)},84724:e=>{e.exports={"storybook-root":"HeaderTechnicalProblem_storybook-root__ZAen3","header-technical-problem":"HeaderTechnicalProblem_header-technical-problem__xsdPx"}}},e=>{var t=t=>e(e.s=t);e.O(0,[636,6593,8792],()=>t(13828)),_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.