PageSourceSearch

https://start.ru/_next/static/chunks/pages/journal-map-51518d0b0792c6b3.js

js start.ru collected 2026-10-02 07:47:09 UTC 6,336 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2088],{9445:(a,r,l)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/journal-map",function(){return l(17965)}])},25578:(a,r,l)=>{"use strict";l.d(r,{A:()=>d,h:()=>p});var e=l(74848);l(96540);var t=l(30291),n=l(18190),o=l(31083);let i=a=>{let{articles:r,className:l}=a;return(0,e.jsx)("ul",{className:l,children:r.map(a=>(0,e.jsx)("li",{children:(0,e.jsx)("a",{href:"/journal/".concat(a.alias),children:a.anchor})},a.id||a.alias))})},s=a=>{let{currentPage:r,total:l,className:t}=a;if(!Number.isInteger(l)||l<=n.l1)return null;let o=Math.ceil(l/n.l1);return(0,e.jsx)("nav",{className:t,"aria-label":"Страницы карты журнала",children:Array.from({length:o},(a,r)=>r+1).map(a=>a===r?(0,e.jsx)("span",{"aria-current":"page",children:a},a):(0,e.jsx)("a",{href:(0,n.cx)(a),children:a},a))})};var u=l(17215),c=l.n(u);let d=()=>(0,e.jsxs)("main",{className:"".concat(c().journalMap," ").concat(c().journalMap_error),children:[(0,e.jsx)(t.A,{title:"Карта статей временно недоступна",noIndex:!0}),(0,e.jsxs)("div",{className:c().journalMap__content,children:[(0,e.jsx)("h1",{className:c().journalMap__title,children:"Карта статей временно недоступна"}),(0,e.jsx)("p",{className:c().journalMap__message,children:"Попробуйте открыть страницу позже."})]})]}),p=a=>{let{articles:r,currentPage:l=1,total:u=r.length}=a,d=(0,n.cx)(l),p=l>1?" — страница ".concat(l):"",_=[{title:"Статьи Журнала START",name:"Статьи Журнала START"}];return(0,e.jsxs)("div",{className:c().journalMap,children:[(0,e.jsx)(t.A,{title:"Все Статьи Журнала START".concat(p),description:"Все опубликованные статьи журнала онлайн-кинотеатра START".concat(p,"."),breadCrumbs:_,canonical:d}),(0,e.jsx)(o.A,{breadcrumbs:_}),(0,e.jsxs)("main",{className:c().journalMap__content,children:[(0,e.jsx)(i,{articles:r,className:c().journalMap__list}),(0,e.jsx)(s,{currentPage:l,total:u,className:c().journalMap__pagination})]})]})}},18190:(a,r,l)=>{"use strict";l.d(r,{Nh:()=>n,SP:()=>o,cx:()=>i,dG:()=>s,l1:()=>t});var e=l(27116);let t=3e3,n=a=>{var r,l,e;return!!((null==a?void 0:null===(l=a.registration)||void 0===l?void 0:null===(r=l.authData)||void 0===r?void 0:r.profile_for_child)||(null==a?void 0:null===(e=a.profile)||void 0===e?void 0:e.childProfile))},o=a=>{var r,l,t,o;let i=null===(l=a.reduxStore)||void 0===l?void 0:null===(r=l.getState)||void 0===r?void 0:r.call(l);return(null===(o=a.req)||void 0===o?void 0:null===(t=o.cookies)||void 0===t?void 0:t[e.AR])==="True"||n(i)},i=a=>1===a?"/journal-map":"/journal-map/page/".concat(a),s=a=>{if("string"!=typeof a||!/^[1-9]\d*$/.test(a))return null;let r=Number(a);return Number.isSafeInteger(r)&&Number.isSafeInteger((r-1)*t)?r:null}},17965:(a,r,l)=>{"use strict";l.r(r),l.d(r,{default:()=>_});var e=l(74848),t=l(96540),n=l(86715),o=l.n(n),i=l(74368),s=l(25578),u=l(27116),c=l(18190),d=l(70927);class p extends t.Component{static async getInitialProps(a){var r,l,e,t;if((0,c.SP)(a))return a.res?(a.res.writeHead(302,{Location:"/kids"}),a.res.end()):o().replace("/kids"),{redirected:!0};let n=(null===(l=a.reduxStore.getState())||void 0===l?void 0:null===(r=l.systemInformation)||void 0===r?void 0:r.API_URL)||u.H$,i=(null===(t=a.reduxStore.getState())||void 0===t?void 0:null===(e=t.systemInformation)||void 0===e?void 0:e.API_KEY)||u.Lq;try{let a=await (0,d.d5)({apiUrl:n,apiKey:i,pageNumber:1});return{articles:a.articles,total:a.total,hasError:!1}}catch(r){return console.error("Failed to load journal map articles",r),a.res&&(a.res.statusCode=500),{articles:[],hasError:!0}}}componentDidMount(){this.props.childProfile&&o().replace("/kids")}componentDidUpdate(a){!a.childProfile&&this.props.childProfile&&o().replace("/kids")}render(){let{articles:a,total:r,hasError:l,redirected:t,childProfile:n}=this.props;return t||n?null:l?(0,e.jsx)(s.A,{}):(0,e.jsx)(s.h,{articles:a,total:r})}}let _=(0,i.Ng)(a=>({childProfile:(0,c.Nh)(a)}))(p)},70927:(a,r,l)=>{"use strict";l.d(r,{AF:()=>n,d5:()=>_});var e=l(47819),t=l(18190);
1class n extends Error{constructor(a){super("Journal map API error in ".concat(a.url," status:").concat(a.status)),this.name="JournalMapApiError",this.status=a.status}}let o={amp:"&",apos:"'",gt:">",laquo:"\xab",lt:"<",mdash:"—",nbsp:" ",ndash:"–",quot:'"',raquo:"\xbb"},i=a=>a.replace(/&(#x[\da-f]+|#\d+|[a-z]+);/gi,(a,r)=>{var l;if("#"!==r[0])return null!==(l=o[r.toLowerCase()])&&void 0!==l?l:a;let e="x"===r[1].toLowerCase(),t=Number.parseInt(r.slice(e?2:1),e?16:10);return!Number.isInteger(t)||t<0||t>1114111?a:String.fromCodePoint(t)}),s=a=>i(a.replace(/<[^>]*>/g," ")).replace(/\s+/g," ").trim(),u=a=>s(a).split(" ").slice(0,3).join(" "),c=a=>{if("string"!=typeof(null==a?void 0:a.alias)||!a.alias.trim()||"string"!=typeof(null==a?void 0:a.title)||!a.title.trim())return null;let r=u(a.title);return r?{id:a.id,alias:a.alias.trim(),anchor:r}:null},d=a=>Array.isArray(a)?a.map(c).filter(Boolean):[],p=async a=>{var r,l,o;let{apiUrl:i,apiKey:s,skip:u=0,limit:c=t.l1}=a,p="".concat(i).concat(e.PI.journal).concat(s,"&content_lang=ru&locale=ru&skip=").concat(u,"&limit=").concat(c),_=await fetch(p,{credentials:"include",method:"GET"});if(_.status>=400)throw new n(_);let m=await _.json();if(!Array.isArray(null==m?void 0:m.articles))throw Error("Invalid journal map response from ".concat(_.url));return{articles:d(m.articles),total:null!==(o=null!==(l=null!==(r=null==m?void 0:m.items_total)&&void 0!==r?r:null==m?void 0:m.articles_total)&&void 0!==l?l:null==m?void 0:m.total)&&void 0!==o?o:null}},_=a=>{let{apiUrl:r,apiKey:l,pageNumber:e}=a;return p({apiUrl:r,apiKey:l,skip:(e-1)*t.l1,limit:t.l1})}},17215:a=>{a.exports={"storybook-root":"JournalMap_storybook-root__h3dxS",journalMap:"JournalMap_journalMap__uNjiW",journalMap_error:"JournalMap_journalMap_error__HKIJS",journalMap__content:"JournalMap_journalMap__content__l3Y_W",journalMap__title:"JournalMap_journalMap__title__jboR7",journalMap__message:"JournalMap_journalMap__message__wwJju",journalMap__list:"JournalMap_journalMap__list__Cq_b0",journalMap__pagination:"JournalMap_journalMap__pagination__Cb7H8"}}},a=>{var r=r=>a(a.s=r);a.O(0,[636,6593,8792],()=>r(9445)),_N_E=a.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.