1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2452],{33778:function(e,t,n){Promise.resolve().then(n.bind(n,78868))},99376:function(e,t,n){"use strict";var r=n(35475);n.o(r,"redirect")&&n.d(t,{redirect:function(){return r.redirect}}),n.o(r,"useParams")&&n.d(t,{useParams:function(){return r.useParams}}),n.o(r,"usePathname")&&n.d(t,{usePathname:function(){return r.usePathname}}),n.o(r,"useRouter")&&n.d(t,{useRouter:function(){return r.useRouter}}),n.o(r,"useSearchParams")&&n.d(t,{useSearchParams:function(){return r.useSearchParams}}),n.o(r,"useSelectedLayoutSegments")&&n.d(t,{useSelectedLayoutSegments:function(){return r.useSelectedLayoutSegments}})},26070:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});class r{constructor({message:e,messageId:t}){this.messages={message:e,messageId:t}}}},64358:function(e,t,n){"use strict";var r=n(34307),a=n(27030),o=n(26070),u=n(51983),s=n.n(u),i=n(25566);t.Z=function(){let e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{serverSideToken:n,clientHost:u,sellerId:c,unSendSellerId:l,clientHostDockerImage:d,hostDockerImage:m,ignoreToken:h}=t,v=(0,a.$1)("x-api-key"),p=(0,a.$1)("sellerId"),f=(0,a.$1)("x-url"),g=(0,a.$1)("net-protocol"),b="";try{g&&(b=atob(g.toString()))}catch(e){}let P={"app-version":1,"x-url":f,"Cache-Control":"no-cache, no-store, must-revalidate",Pragma:"no-cache",Expires:"0"};b&&!h&&(P["x-real-ip"]=b),(v||n)&&(h||(P["x-api-key"]=null!=v?v:n),P["Access-Control-Allow-Origin"]="*"),(Number(p)||Number(c))&&(P.seller_id=Number(p||c)),e=u?d?"http://ketabane_client:3000/api":"https://www.ketabane.org/api":m?"http://ketabane_client:3000/callApi":"https://www.ketabane.org/callApi";let _=r.Z.create({baseURL:e,headers:P,timeout:i.env.NEXT_PUBLIC_REQUEST_TIMEOUT?Number(i.env.NEXT_PUBLIC_REQUEST_TIMEOUT):15e3,httpsAgent:new(s()).Agent({rejectUnauthorized:!1})});return _.interceptors.request.use(e=>e,e=>Promise.reject(e)),_.interceptors.response.use(e=>null==e?void 0:e.data,e=>{var t,n,r,u;let{response:s}=e;if(null==s?void 0:null===(t=s.data)||void 0===t?void 0:t.errorCode)throw(null==s?void 0:null===(n=s.data)||void 0===n?void 0:n.errorCode)===401&&(0,a.s$)("x-api-key","user"),new o.Z({message:null==s?void 0:null===(r=s.data)||void 0===r?void 0:r.message,messageId:null==s?void 0:null===(u=s.data)||void 0===u?void 0:u.messageId});return Promise.reject(e)}),_}},27030:function(e,t,n){"use strict";n.d(t,{$1:function(){return i},lE:function(){return s},s$:function(){return c}});let r=new(n(820)).Z,a="ketabane".toString()||"",o={path:"/",domain:".ketabane.org",sameSite:"lax",secure:!0},u={path:o.path,domain:o.domain};function s(e,t,n){try{var u;let s,i={...o};n&&(i.expires=(u=Number(n),(s=new Date).setTime(s.getTime()+u),s)),r.set("".concat(a+"-"+e),t,i)}catch(e){console.log(e)}}function i(e,t){var n;let o=!(arguments.length>2)||void 0===arguments[2]||arguments[2];return null!==(n=r.get(o?"".concat(a+"-"+e):e))&&void 0!==n?n:t}function c(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];t.forEach(e=>{r.remove("".concat(a+"-"+e),u)})}}},function(e){e.O(0,[5501,3665,5922,7648,1644,3145,5587,409,3281,1050,4225,5661,4326,2471,5569,7798,2171,2475,9636,8868,2971,2117,1744],function(){return e(e.s=33778)}),_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.