PageSourceSearch

https://www.knoi.ai/_next/static/chunks/10098-407c5dde8c7a9689.js

js knoi.ai collected 2026-10-02 00:26:12 UTC 6,793 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[10098],{10098:function(e,t,n){n.d(t,{H:function(){return l},W:function(){return s}});var r=n(20366),a=n(79634),o=n(71264),c=n(73519),i=n(96512),u=n(74887);let l=(0,c.hG)(r.e),s=(0,c.hG)(r.f),d=e=>{try{let t=e.split(".")[1];if(!t)return;let n=t.replace(/-/g,"+").replace(/_/g,"/"),r=n.padEnd(n.length+(4-n.length%4)%4,"="),{exp:a}=JSON.parse(atob(r));return"number"==typeof a?a:void 0}catch(e){return}},f=u.tO.get(o.Z.ACCESS_TOKEN)||"";f&&(0,c.dn)(r.f,{token:f}),(0,c.Oz)(r.f,{getAccessToken:()=>u.tO.get(o.Z.ACCESS_TOKEN)||"",getRefreshToken:()=>u.tO.get(o.Z.REFRESH_TOKEN)||"",setAccessToken:e=>{u.tO.set(o.Z.ACCESS_TOKEN,e)},ensureFreshAccessToken:async()=>{let e=u.tO.get(o.Z.ACCESS_TOKEN)||"",t=u.tO.get(o.Z.REFRESH_TOKEN)||"";if(e&&t&&(0,i.ZR)(d(e)))try{let{refreshDevice:e}=await Promise.all([n.e(54310),n.e(39054)]).then(n.bind(n,39054)),t=await e();if(null==t?void 0:t.access_token)return t.access_token}catch(e){}},baseUrl:"".concat(a.T5,"/user")})},20366:function(e,t,n){n.d(t,{e:function(){return a},f:function(){return o}});var r=n(73519);let a=(0,r.Ue)(),o=(0,r.Ue)()},79634:function(e,t,n){n.d(t,{$A:function(){return s},Q1:function(){return u},T5:function(){return _},X9:function(){return f},Zy:function(){return p},bY:function(){return h},cm:function(){return o},cz:function(){return v},eb:function(){return l},wY:function(){return i}});var r,a=n(57708);let o="production",c="production",i=!1,u=!0,l="development"===o,s="production"===o,d={development:"-dev",stage:"-stage",production:"",default:""}[c],f="/api/user",_="https://".concat({development:"dev-",stage:"stage-",production:"",default:""}[c],"public-api.aplusai.ai");window.location.origin,window.location.hostname.replace(/^www\./i,"");let h=null!==(r=a.env.DEV_SERVER_URL)&&void 0!==r?r:"https://meet-api".concat(d,".aplusai.ai"),p="".concat(h,"/api"),v="https://aiaas".concat(d,".buzzni.com/api")},71264:function(e,t,n){var r=n(79634);let a="production"===r.cm?"":r.cm;t.Z={SESSION:"_".concat(a,"_aimeet_session"),USER:"_".concat(a,"_aimeet_user"),ACCESS_TOKEN:"_".concat(a,"_aimeet_access_token"),REFRESH_TOKEN:"_".concat(a,"_aimeet_refresh_token"),PROFILE:"_".concat(a,"_aimeet_profile"),LANGUAGE:"_".concat(a,"_aimeet_language"),STT_QUEUE_LIST:"_".concat(a,"_aimeet_stt_queue_list"),REALTIME_TRANSLATION_FROM:"_".concat(a,"_aimeet_realtime_translation_from"),REALTIME_TRANSLATION_TO:"_".concat(a,"_aimeet_realtime_translation_to")}},73519:function(e,t,n){n.d(t,{Oz:function(){return l},Ue:function(){return s},hG:function(){return d},dn:function(){return u}});var r=n(6e3);let a=(e,t)=>{if("/api/user/device"===e.url)return},o=(e,t)=>{null==e||e.config},c=(e,t)=>{if("/api/user/device"===(null==e?void 0:e.config).url)return};var i=n(96512);let u=async(e,t)=>{if(e&&"string"==typeof t.token)return e.defaults.headers.common.Authorization="Bearer ".concat(t.token),e.defaults.timeout=6e4,new Promise(e=>e())};function l(e,t){let{getAccessToken:n,getRefreshToken:r,setAccessToken:a,ensureFreshAccessToken:o,baseUrl:c}=t;return e.interceptors.request.use(async e=>{let t=await (null==o?void 0:o())||n();return t&&(e.headers.Authorization="Bearer ".concat(t)),e},e=>Promise.reject(e)),e.interceptors.response.use(e=>e,async t=>{var n,o;let u=null==t?void 0:t.config,l=null!==(o=null==t?void 0:null===(n=t.response)||void 0===n?void 0:n.status)&&void 0!==o?o:null==t?void 0:t.status,s=r();if(401===l&&!(null==u?void 0:u.sent)&&s){u.sent=!0;try{let t=await (0,i.ZP)({user:{refresh_token:s},isRefresh:!0,baseUrl:c});if(null==t?void 0:t.access_token){null==a||a(t.access_token),u.headers.Authorization="Bearer ".concat(null==t?void 0:t.access_token),e.defaults.headers.common.Authorization="Bearer ".concat(null==t?void 0:t.access_token);let n={...u.headers,Authorization:"Bearer ".concat(null==t?void 0:t.access_token)};return e({...u,headers:n})}}catch(e){}}return Promise.reject(t)}),e}function s(){let{isPrint:e=!0,...t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=r.default.create(t);return e&&function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{name:""};e.interceptors.request.use(e=>(a(e,t.name),e)),e.interceptors.response.use(e=>(c(e,t.name),e),e=>(o(e,t.name),Promise.reject(e.response)))}(n),n}function d(e){return{get:(t,n,r)=>e.get(t,{params:n,...r}).then(e=>(null==r?void 0:r.callback)?r.callback(e):null==e?void 0:e.data),post:(t,n,r)=>e.post(t,n,r).then(e=>(null==r?void 0:r.callback)?r.callback(e):null==e?void 0:e.data),patch:(t,n,r)=>e.patch(t,n,r).then(e=>(null==r?void 0:r.callback)?r.callback(e):null==e?void 0:e.data),put:(t,n,r)=>e.put(t,n,r).then(e=>(null==r?void 0:r.callback)?r.callback(e):null==e?void 0:e.data),delete:(t,n,r)=>e.delete(t,{data:n,...r}).then(e=>(null==r?void 0:r.callback)?r.callback(e):null==e?void 0:e.data)}}},96512:function(e,t,n){n.d(t,{ZR:function(){return c}});let r=(0,n(73519).Ue)(),a=async(e,t)=>{let{baseUrl:n}=t;try{return await r.get("".concat(n,"/v1/refresh/accesstoken"),{headers:{Authorization:"Bearer ".concat(e)}}).then(e=>e.data)}catch(e){return e}},o=async(e,t)=>{let{baseUrl:n}=t;try{return await r.get("".concat(n,"/v1/refresh/refreshtoken"),{headers:{Authorization:"Bearer ".concat(e)}}).then(e=>e.data)}catch(e){throw e}},c=e=>void 0!==e&&(isNaN(e)?0:new Date(1e3*e).valueOf()-new Date().valueOf())/1e3/60<=30,i=e=>void 0!==e&&(isNaN(e)?0:new Date(1e3*e).valueOf()-new Date().valueOf())/1e3/60/60/24<=30,u=async e=>{let{user:t,isRefresh:n,baseUrl:r}=e;try{let{refresh_token:e,access_token_exp:u,refresh_token_exp:l}=null!=t?t:{};if(!e)return;let s=!1,d=null;if((n||c(u))&&(d=await a(e,{baseUrl:r}),s=!0,null==d?void 0:d.access_token)||(i(l)||s&&!(null==d?void 0:d.access_token))&&(null==(d=await o(e,{baseUrl:r}))?void 0:d.access_token))return{...t,...d};return t}catch(e){throw e}};t.ZP=u},74887:function(e,t,n){n.d(t,{d8:function(){return o},ej:function(){return c},kT:function(){return i},tO:function(){return a}});let r="object"==typeof localStorage?localStorage:{},a={set(e,t){r[e]=JSON.stringify(t)},get(e){if(!r[e])return null;let t=r[e];try{return JSON.parse(t)}catch(e){return t}},delete(e){delete r[e]},clear(){r.clear&&r.clear()}};function o(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};(n={path:"/",...n}).expires instanceof Date&&(n.expires=n.expires.toUTCString());let r=encodeURIComponent(e)+"="+encodeURIComponent(t);for(let e in n){r+="; "+e;let t=n[e];!0!==t&&(r+="="+t)}document.cookie=r}function c(e){try{let t=document.cookie.match(RegExp("(?:^|; )"+(null==e?void 0:e.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,"\\$1"))+"=([^;]*)"));return(null==t?void 0:t[1])?decodeURIComponent(t[1]):void 0}catch(e){return}}function i(e){document.cookie="".concat(e,"=; expires=Thu, 01 Jan 1970 00:00:01 GMT;")}}}]);

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.