PageSourceSearch

https://litportal.ru/_next/static/chunks/pages/search/[totalAlias]/authors-73f36e04a7022db2.js

js litportal.ru collected 2026-10-02 20:24:49 UTC 6,121 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[297],{6434:function(e,t,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/search/[totalAlias]/authors",function(){return a(6309)}])},3888:function(e,t,a){"use strict";var s=a(5893),n=a(2415),c=a(6759),r=a(3743),i=a(582),o=a(1464),_=a(2114);t.Z=e=>{let{data:t,totalAlias:a}=e,l=(0,o.iv)(a),u=Math.ceil(t.total_count/_.O),m="/search/";return(0,s.jsxs)(n.Z,{title:'Результаты поиска по запросу "'.concat(l,'"'),description:"Результаты поиска книг и авторов в библиотеке ЛитПортал.",canonicalHref:m,pageHref:m,robotsNoFollow:!0,children:[(0,s.jsx)(c.Z,{firstPageName:"Поиск автора"}),(0,s.jsx)("h1",{className:"h1",children:"Поиск автора: \xab".concat(l,"\xbb")}),!!t.data.length&&(0,s.jsx)(r.Z,{data:t.data.map(e=>({alias:"/avtory/".concat(e.alias,"/"),name:(0,o.O_)(e.base_author_data.first_name,e.base_author_data.middle_name,e.base_author_data.last_name),bookCount:e.books_count}))}),(0,s.jsx)(i.Z,{pagesCount:null!=u?u:0,postName:"search/".concat(a,"/authors/")})]})}},3743:function(e,t,a){"use strict";var s=a(5893),n=a(1664),c=a.n(n),r=a(1464),i=a(3679),o=a.n(i);t.Z=e=>{let{data:t}=e;return(0,s.jsx)("ul",{className:o().booksList,children:t.map((e,t)=>(0,s.jsxs)("li",{className:o().booksList__item,children:[(0,s.jsx)(c(),{prefetch:!1,href:e.alias,className:o().booksList__name,children:e.name}),(0,s.jsx)("span",{className:o().booksList__count,children:e.bookCount&&(0,s.jsxs)("span",{className:o().booksList__word,children:[e.bookCount," ",(0,r.VD)(Number(e.bookCount))]})})]},"".concat(e.alias,"-").concat(t)))})}},6759:function(e,t,a){"use strict";var s=a(5893),n=a(1664),c=a.n(n),r=a(987),i=a.n(r);t.Z=e=>{let{firstPageName:t,secondPageName:a,thirdPageName:n,firstPageAlias:r,secondPageAlias:o}=e;return(0,s.jsxs)("ul",{className:i().breadcrumbsList,children:[(0,s.jsx)("li",{className:i().breadcrumbsList__item,children:(0,s.jsx)(c(),{prefetch:!1,className:i().breadcrumbsList__itemLink,href:"/",children:"Главная"})}),(0,s.jsx)("li",{className:i().breadcrumbsList__item,children:r?(0,s.jsx)(c(),{prefetch:!1,className:i().breadcrumbsList__itemLink,href:"".concat(r),children:t}):(0,s.jsx)(s.Fragment,{children:t})}),!!a&&(0,s.jsx)("li",{className:i().breadcrumbsList__item,children:o?(0,s.jsx)(c(),{prefetch:!1,className:i().breadcrumbsList__itemLink,href:"".concat(o),children:a}):(0,s.jsx)(s.Fragment,{children:a})}),!!n&&(0,s.jsx)("li",{className:i().breadcrumbsList__item,children:(0,s.jsx)("span",{className:i().breadcrumbsList__itemTxt,children:n})})]})}},582:function(e,t,a){"use strict";a.d(t,{Z:function(){return p}});var s=a(5893),n=a(1664),c=a.n(n),r=a(1163);let i=(e,t)=>{let a=[],s=0;return!t&&1>=t||(0<e-2&&a.push(e-2),0<e-1&&a.push(e-1),a.push(e),t>=e+1&&a.push(e+1),t>=e+2&&a.push(e+2),1<a[0]-1&&(a.unshift("..."),s+=1),2<t-a[a.length-(2-s)]&&a.push("..."),-1===a.indexOf(1)&&a.unshift(1),-1===a.indexOf(t)&&a.push(t)),a};var o=a(3609),_=a.n(o),l=e=>{let{currentPageNo:t,postName:a,isReadPage:n,postfixUrl:r,firstPageLink:i}=e;if(!t||0==t-1)return null;let o=2===t?i:"/".concat(a).concat(t-1).concat(r?"/".concat(r):"");return(0,s.jsx)(c(),{prefetch:!1,className:n?"".concat(_().prev," ").concat(_().prev_read):"".concat(_().prev),href:o,children:n&&(0,s.jsx)(s.Fragment,{children:"<<"})})},u=a(5410),m=a.n(u),d=e=>{let{currentPageNo:t,pagesCount:a,postName:n,isReadPage:r,postfixUrl:i}=e;if(!t||!a||a<t+1)return null;let o="/".concat(n).concat(t+1).concat(i?"/".concat(i):"");return(0,s.jsx)(c(),{prefetch:!1,className:r?"".concat(m().next," ").concat(m().next_read):"".concat(m().next),href:o,children:r&&(0,s.jsx)(s.Fragment,{children:">>"})})},h=a(8635),b=a.n(h),p=e=>{let t,{pagesCount:a=0,postName:n,extraClassName:o,postfixUrl:_,isReadPage:u,isStaticPages:m=!1,defaultCurrentPage:h}=e;if(!a||!n)return null;let p=(0,r.useRouter)();if(m){let e=p.pathname.split("/");t=Number(e[e.length-1])}else{var x,f;t=h||parseInt(null!==(f=null==p?void 0:null===(x=p.query)||void 0===x?void 0:x.pageNumber)&&void 0!==f?f:1)||1}let L=p.asPath,k=i(t,a),N=u?"".concat(L.replace("/page/".concat(h,"/"),"/page/1/")):L.includes("page")?L.split("page")[0]:"./";return a<2?(0,s.jsx)(s.Fragment,{}):(0,s.jsx)(s.Fragment,{children:a>1?(0,s.jsx)("div",{className:b().bookPagination,children:(0,s.jsxs)("div",{className:o?"".concat(b().pagination," ").concat(b()["".concat(o)]):b().pagination,children:[(0,s.jsx)(l,{currentPageNo:t,postName:n,isReadPage:u,postfixUrl:_,firstPageLink:N}),k.map((e,a)=>{let r=_?"/".concat(n).concat(e).concat(_):"/".concat(n).concat(e);return"number"==typeof e?(0,s.jsx)(c(),{prefetch:!1,href:1===e?N:r,className:e===t?"".concat(b().active):"".concat(b().pagination__link),children:e},"id-".concat(a)):(0,s.jsx)("span",{children:e},"id-".concat(a))}),(0,s.jsx)(d,{currentPageNo:t,pagesCount:a,postName:n,isReadPage:u,postfixUrl:_})]})}):(0,s.jsx)(s.Fragment,{})})}},6309:function(e,t,a){"use strict";a.r(t),a.d(t,{__N_SSP:function(){return c}});var s=a(5893),n=a(3888),c=!0;t.default=e=>{let{data:t,totalAlias:a}=e;return(0,s.jsx)(n.Z,{data:t,totalAlias:a})}},3679:function(e){e.exports={booksList:"BooksList_booksList__rBEE9",booksList__item:"BooksList_booksList__item__qo2Rm",booksList__name:"BooksList_booksList__name__K9c15",booksList__count:"BooksList_booksList__count___FCju"}},987:function(e){e.exports={breadcrumbsList:"Breadcrumbs_breadcrumbsList__QwBfl",breadcrumbsList__item:"Breadcrumbs_breadcrumbsList__item__s_W_M",breadcrumbsList__itemLink:"Breadcrumbs_breadcrumbsList__itemLink__t_WCt",breadcrumbsList__itemLink_genre:"Breadcrumbs_breadcrumbsList__itemLink_genre__2c8Vk"}},5410:function(e){e.exports={next:"Next_next__5tJXc",next_read:"Next_next_read__af5wp"}},8635:function(e){e.exports={pagination:"Pagination_pagination__thWr5",pagination__link:"Pagination_pagination__link__innVr",active:"Pagination_active__FIUxq"}},3609:function(e){e.exports={prev:"Previous_prev__nRln6",prev_read:"Previous_prev_read__90vMX"}}},function(e){e.O(0,[717,2415,2888,9774,179],function(){return e(e.s=6434)}),_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.