MSN=0)return this.storage.key(e)}setObject(e,t){void 0!==t?this.setItem(e,JSON.stringify(t)):this.removeItem(e)}removeObject(e){const t=this.removeItem(e);if(null!=t)return o(t)}setItem(e,t){if(this.supported)try{this.storage.setItem(e,t)}catch(e){a.logError(e)}}get length(){if(this.supported)return this.storage.length}removeItem(e){if(this.supported){const t=this.getItem(e);return this.storage.removeItem(e),t}}removeSubstringKeys(e){if(!this.supported||!e)return;const t=[];for(let n=0;n{const e=b();return e&&”1″===e.getItem(v)||s()&&location.search&&location.search.includes(“uxlogin=1″)}));const q=y((()=>{const e=function(){try{return sessionStorage}catch(e){return null}}();return e&&!!e.getItem(S)}));let C;function I(e,t){if(!e)return null;if(t)return function(e){const t=document.cookie.match(`\b${e}=([^;]*)`);return t?t[1]:null}(e);if(!C){const e=”undefined”!=typeof document&&document.cookie.split(“; “);C={};const t=e&&e.length;for(let n=0;n(s()&&r()||{}).apptype));const H=y((()=>{const e=I(W,!0),t=e&&o(decodeURIComponent(e)),{login_hint:n}=t||{};return n&&t})),N=y((()=>!!I(W))),T=y((()=>R()&&(H()||!I(“ace”)))),L=y((()=>{var e;return s()&&!(O()in _)&&(e=/bprg-nodualauth($|;|,)/,!(s()&&(document.head.dataset.info||””).match(e)))})),R=y((()=>L()&&!(O()in E)));y((()=>L()&&(!(O()in E)||!N()))),y((()=>L()&&!D()));function x(e,t){const n={};return e&&(n[g]=`Bearer ${e}`),t&&(n[p]=t),n}function D(){return R()&&k()||T()&&(T()&&!k()&&H()&&”expired”==function(){if(d=h(),!d)return”notAvailable”;const e=d&&d.expiresOn,t=new Date(e);return t&&t.getTime()&&t>new Date?”valid”:”expired”}()||q())}var P;!function(e){e.GLOBAL=”GLOBAL”,e.GCC_MODERATE=”GCC_MODERATE”}(P||(P={}));const M=[0,656,980,1304],F=[0,540,768,1084,1400,1779];function U(e,t=F){for(let n=t.length-1;n>=0;n–)if(e>=t[n])return n}const $={ver:”0.1.0″,spec:{innerWidth:{clientValue:()=>window.innerWidth},innerHeight:{clientValue:()=>window.innerHeight},outerWidth:{clientValue:()=>window.outerWidth},breakpoint:{clientValue:()=>U(window.innerWidth,M)},locationHash:{clientValue:()=>window.location.hash},locationHref:{clientValue:()=>window.location.href},locationHost:{clientValue:()=>window.location.host},locationHostName:{clientValue:()=>window.location.hostname},locationOrigin:{clientValue:()=>window.location.origin},locationPathName:{clientValue:()=>window.location.pathname},locationProtocol:{clientValue:()=>window.location.protocol},locationSearch:{clientValue:()=>window.location.search},screenTop:{clientValue:()=>window.screenTop},screenY:{clientValue:()=>window.screenY},canUseCssGrid:{clientValue:()=>window.CSS&&window.CSS.supports&&CSS.supports(“display”,”grid”)||!1},devicePixelRatio:{clientValue:()=>window.devicePixelRatio},language:{clientValue:()=>document.documentElement.lang},direction:{clientValue:()=>document.documentElement.dir}}};class V{constructor(e,t){if(this.url=new URL(e.href),this.innerHeight=e.innerHeight,this.devicePixelRatio=e.devicePixelRatio,this.canUseCssGrid=e.canUseCssGrid,this.requestId=e.requestId,this.cookie=e.cookie,this.referer=e.referer,this.userAgent=e.userAgent,this.oneServiceHeaders=function(e){try{if(e)return…
Like this:
Like Loading...