PageSourceSearch

https://boighor.com/_next/static/chunks/pages/contents/category/[catcode]-1aca955992b3baf1.js

js boighor.com collected 2026-10-02 00:00:45 UTC 4,025 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2655],{1331:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/contents/category/[catcode]",function(){return t(9256)}])},9256:function(e,n,t){"use strict";t.r(n),t.d(n,{__N_SSG:function(){return g},default:function(){return y}});var o=t(4051),r=t.n(o),i=t(5893),a=t(9008),s=t(1163),c=t(7294),u=t(8533),d=t(7364),l=t(6986),v=t(7114),f=t(8484),h=t(270);function p(e,n,t,o,r,i,a){try{var s=e[i](a),c=s.value}catch(u){return void t(u)}s.done?n(c):Promise.resolve(c).then(o,r)}var m=function(e){var n=e.booksContent,t=e.type,o=e.code,a=(0,c.useState)(n),s=a[0],m=a[1],x=(0,c.useState)(null===n||void 0===n?void 0:n.data),g=x[0],y=x[1],_=(0,c.useState)(2),b=_[0],k=_[1],w=(0,d.Z)().user,j=function(){var e,n=(e=r().mark((function e(){var n,t;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(b<=(null===s||void 0===s?void 0:s.pagelimit))){e.next=6;break}return n={page:b,catcode:o,msisdn:(null===w||void 0===w?void 0:w.msisdn)||""},e.next=4,(0,l.PX)(n);case 4:"1"===(t=e.sent).status.responseCode?(m(t.data),y(g.concat(null===t||void 0===t?void 0:t.data.data))):alert("No Data Found!");case 6:k(b+1);case 7:case"end":return e.stop()}}),e)})),function(){var n=this,t=arguments;return new Promise((function(o,r){var i=e.apply(n,t);function a(e){p(i,o,r,a,s,"next",e)}function s(e){p(i,o,r,a,s,"throw",e)}a(void 0)}))});return function(){return n.apply(this,arguments)}}();return(0,i.jsxs)("div",{children:[(0,i.jsx)(f.Z,{title:"genre"===t?null===s||void 0===s?void 0:s.genre_en:null===s||void 0===s?void 0:s.catname_en}),(0,i.jsx)("div",{className:"container",children:(0,i.jsx)("main",{className:"inner-page-sec-padding-bottom",children:(0,i.jsx)("div",{className:"container",children:(0,i.jsx)(u.Z,{style:{overflow:"visible"},dataLength:null===g||void 0===g?void 0:g.length,next:j,scrollThreshold:.5,hasMore:!((null===s||void 0===s?void 0:s.pagelimit)<b),loader:(0,i.jsx)(v.Z,{}),children:(0,i.jsx)(h.Z,{booklist:g})})})})})]})};function x(e,n,t,o,r,i,a){try{var s=e[i](a),c=s.value}catch(u){return void t(u)}s.done?n(c):Promise.resolve(c).then(o,r)}var g=!0,y=function(e){var n=e.booksContent,t=(0,s.useRouter)(),o=(0,c.useState)(null),u=o[0],f=o[1],h=(0,d.Z)(),p=h.user,g=h.isLoading,y=(0,c.useState)(!0),_=y[0],b=y[1],k=function(){var e,n=(e=r().mark((function e(){var n,o;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return b(!0),n={page:1,catcode:t.query.catcode,msisdn:null===p||void 0===p?void 0:p.msisdn},e.prev=2,e.next=5,(0,l.PX)(n);case 5:o=e.sent,f(o.data),e.next=11;break;case 9:e.prev=9,e.t0=e.catch(2);case 11:return e.prev=11,b(!1),e.finish(11);case 14:case"end":return e.stop()}}),e,null,[[2,9,11,14]])}
1)),function(){var n=this,t=arguments;return new Promise((function(o,r){var i=e.apply(n,t);function a(e){x(i,o,r,a,s,"next",e)}function s(e){x(i,o,r,a,s,"throw",e)}a(void 0)}))});return function(){return n.apply(this,arguments)}}();return(0,c.useEffect)((function(){t.query.catcode&&!g&&k()}),[p,g,t.query.catcode]),_||t.isFallback||g?(0,i.jsx)("div",{className:"container",children:(0,i.jsx)(v.Z,{})}):(0,i.jsxs)("div",{children:[(0,i.jsxs)(a.default,{children:[(0,i.jsx)("title",{children:" ".concat(null===n||void 0===n?void 0:n.catname_en," | Boighor")}),(0,i.jsx)("meta",{property:"og:title",content:" ".concat(null===n||void 0===n?void 0:n.catname_en," | Boighor")}),(0,i.jsx)("meta",{name:"og:description",content:"Download top rated & best selling bangla e-books from the renowned authors. Boighor is the largest library of Bengali e-books of all time & genre, Captivating Audio-books with the smartest & simplest UI for your utmost eBook reading experience."})]}),!_&&void 0!==(null===p||void 0===p?void 0:p.msisdn)&&u?(0,i.jsx)(m,{booksContent:u,type:"category",code:t.query.catcode}):(0,i.jsx)(m,{booksContent:n,type:"category",code:t.query.catcode})]})}}},function(e){e.O(0,[2013,4980,3874,5675,4949,4815,8379,9774,2888,179],(function(){return n=1331,e(e.s=n);var n}));var n=e.O();_N_E=n}]);

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.