PageSourceSearch

https://app.summaverse.com/_nuxt/BYGgSqXG.js

js summaverse.com collected 2026-10-04 20:49:20 UTC 1,186 bytes, 1 lines download raw bytes

1import{a as D,A as E}from"./DHr9lByg.js";const d=s=>{const f=D.create(s);return f.interceptors.request.use(async e=>{var o;const a=await((o=s.hooks)==null?void 0:o.onReadAccessToken());return a&&(e.headers.Authorization=`Bearer ${a}`),e}),f.interceptors.response.use(e=>e,async e=>{var o,r,k,h,R,T,l,A,S;const a=s.shouldRefresh?s.shouldRefresh(e):((o=e.response)==null?void 0:o.status)===401;if(e instanceof E){const u=e.config;if(a&&u){await((k=(r=s.hooks)==null?void 0:r.onRemoveAccessToken)==null?void 0:k.call(r));const t=s.lock;let n;if((t==null?void 0:t.enabled)===!0){const{key:c}=t,i=t.object();i[c]||(i[c]=(R=(h=s.hooks)==null?void 0:h.onFetchAccessToken)==null?void 0:R.call(h),i[c].finally(()=>{delete i[c]})),n=await i[c]}else n=await((l=(T=s.hooks)==null?void 0:T.onFetchAccessToken)==null?void 0:l.call(T));if(n)return await((S=(A=s.hooks)==null?void 0:A.onWriteAccessToken)==null?void 0:S.call(A,n)),u.headers.Authorization=`Bearer ${n}`,D(u)}}return Promise.reject(e)}),f},_={USER_INITIALS:"SD",DATE_FORMAT:"MMM DD, YYYY",CURRENCY_SYMBOLS:{IDR:"Rp",USD:"$"},TOAST_TITLE_STYLE:{fontWeight:"600",fontSize:"16px"},HTTP_LOCK_KEY:"refreshAccessToken"};export{_ as D,d as a};

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.