function wh(){this.Init()}v("AdfAgentHelper",wh);z.l(wh);wh.prototype.Init=function(){wh.f.Init.call(this)};z.a("AdfAgentHelper.prototype.Init",{Init:wh.prototype.Init});wh.O=function(){wh.Qi==n&&(wh.Qi=new wh);return wh.Qi};v("AdfAgentHelper.getInstance",wh.O);
wh.prototype.Kn=function(){if(this.WX===k){var a=w.b.R();if("undefined"===typeof a.localStorage)this.WX=p;else try{a.localStorage.setItem("_adfTestKey","on"),a.localStorage.removeItem("_adfTestKey"),this.WX=l}catch(b){D.i.zf(b,"Cannot store data to browser's localStore."),this.WX=p}}return this.WX};z.a("AdfAgentHelper.prototype.isLocalStorageEnabled",{Kn:wh.prototype.Kn});wh.prototype.M1=function(a,b){this.Kn()&&w.b.R().localStorage.setItem(a,b)};
z.a("AdfAgentHelper.prototype.setLocalStorageProperty",{M1:wh.prototype.M1});wh.prototype.fga=function(){if(this.Kn()){for(var a=[],b=0;b<w.b.R().localStorage.length;b++)a.push(w.b.R().localStorage.key(b));return a}return n};z.a("AdfAgentHelper.prototype.getLocalStorageKeys",{fga:wh.prototype.fga});wh.prototype.ZI=function(a){return this.Kn()?w.b.R().localStorage.getItem(a):n};z.a("AdfAgentHelper.prototype.getLocalStorageProperty",{ZI:wh.prototype.ZI});wh.prototype.VR=function(a){this.Kn()&&w.b.R().localStorage.removeItem(a)};
z.a("AdfAgentHelper.prototype.removeLocalStorageProperty",{VR:wh.prototype.VR});