function Hf(){this.Init()}m("AdfUserActivityInfo",Hf);m("AdfUserActivityInfo",Hf);Hf.$m="pr0";m("AdfUserActivityInfo.PREVIOUS",Hf.$m);Hf.No="prm";m("AdfUserActivityInfo.PRIMARY",Hf.No);Hf.Vz="sec";m("AdfUserActivityInfo.SECONDARY",Hf.Vz);Hf.n4a="pr";r.v(Hf);Hf.$=function(a){u.J(a);var b=Hf.XV;b||(b={},Hf.XV=b);var d=null;a&&(d=b[a],d||(d=new Hf,b[a]=d));return d};Hf.getInstance=Hf.$;m("AdfUserActivityInfo.getInstance",Hf.$);
Hf.Q$=function(){var a=Hf.No,b=Hf.$m,d=Hf.b5(a);d?(Hf.O4(String(d),b),d=Hf.$(b),d.CH()||d.pv(lD()),Hf.R6(a)):(a=Hf.$(b),a.CH()||a.pv(lD()));if(a=Hf.b5(b))Hf.O4(String(a),Hf.uka(1)),Hf.R6(b);b=Hf.Vz;if(a=Hf.b5(b))Hf.O4(String(a),b),Hf.R6(b)};Hf.restoreFromSessionStorage=Hf.Q$;m("AdfUserActivityInfo.restoreFromSessionStorage",Hf.Q$);Hf.Xy=function(a){u.Ya(a);Hf.R6(a)};Hf.removeFromSessionStorageByType=Hf.Xy;m("AdfUserActivityInfo.removeFromSessionStorageByType",Hf.Xy);
Hf.S$=function(){if(null!=Hf.XV){Hf.Q$();var a=Hf.$(Hf.$m),b=lD();a.fz(b);Hf.dz(Hf.$m);Hf.$(Hf.No).pv(b);Hf.dz(Hf.No);Hf.q8()}};Hf.saveToSessionStorage=Hf.S$;m("AdfUserActivityInfo.saveToSessionStorage",Hf.S$);Hf.dz=function(a){var b=Hf.$(a);b&&(userActInfoValue=Hf.ceb(b),Hf.umb(a))};Hf.saveToSessionStorageByType=Hf.dz;m("AdfUserActivityInfo.saveToSessionStorageByType",Hf.dz);Hf.prototype.Init=function(){Hf.h.Init.call(this);this.rrt=this.ppr=this.eif=this.cet=this.cst=this.cid=null};
r.a("AdfUserActivityInfo.prototype.Init",{Init:Hf.prototype.Init});Hf.s9=function(){var a=q.b,b=a.Gu(),d=b.createElement("TEMP");a.S()==q.ia?b.documentElement=d:b.appendChild(d);b=gb.getDefault().Ry(d,Hf.XV,null);Hf.Xy(Hf.No);Hf.Xy(Hf.$m);Hf.Xy(Hf.Vz);for(var d=1,e=Hf.uka(d);Hf.b5(e);)Hf.Xy(e),e=Hf.uka(d++);Hf.dz(Hf.No);Hf.q8();return a.Tu(b)};Hf.getMarshaledObject=Hf.s9;m("AdfUserActivityInfo.getMarshaledObject",Hf.s9);Hf.Zrb=function(a){var b=null;a||(a=Hf.No);b=Hf.$(a);b.Bwb=lD()};
m("AdfUserActivityInfo.setRequestSentTime",Hf.Zrb);Hf.Tua=function(a){var b=null;a||(a=Hf.$m);b=Hf.$(a);b.R$=b.R$||lD()};m("AdfUserActivityInfo.setResponseReceivedTime",Hf.Tua);Hf.prototype.LO=function(){return this.cid};Hf.prototype.getContextId=Hf.prototype.LO;r.a("AdfUserActivityInfo.prototype.getContextId",{LO:Hf.prototype.LO});Hf.prototype.WY=function(){return this.pid};Hf.prototype.getParentContextId=Hf.prototype.WY;r.a("AdfUserActivityInfo.prototype.getParentContextId",{WY:Hf.prototype.WY});
Hf.prototype.CH=function(){return this.cst};Hf.prototype.getClientStartTime=Hf.prototype.CH;r.a("AdfUserActivityInfo.prototype.getClientStartTime",{CH:Hf.prototype.CH});Hf.prototype.W8=function(){return this.cet};Hf.prototype.getClientEndTime=Hf.prototype.W8;r.a("AdfUserActivityInfo.prototype.getClientEndTime",{W8:Hf.prototype.W8});Hf.prototype.C9=function(){return this.R$};r.a("AdfUserActivityInfo.prototype.getResponseTime",{C9:Hf.prototype.C9});Hf.prototype.Gra=function(){return this.eif};
Hf.prototype.getEventInfo=Hf.prototype.Gra;r.a("AdfUserActivityInfo.prototype.getEventInfo",{Gra:Hf.prototype.Gra});Hf.prototype.osa=function(){return this.ppr};Hf.prototype.getPprTargets=Hf.prototype.osa;r.a("AdfUserActivityInfo.prototype.getPprTargets",{osa:Hf.prototype.osa});Hf.prototype.TZ=function(a){this.cid=a};Hf.prototype.setContextId=Hf.prototype.TZ;r.a("AdfUserActivityInfo.prototype.setContextId",{TZ:Hf.prototype.TZ});Hf.prototype.maa=function(a){this.pid=a};
Hf.prototype.setParentContextId=Hf.prototype.maa;r.a("AdfUserActivityInfo.prototype.setParentContextId",{maa:Hf.prototype.maa});Hf.prototype.pv=function(a){this.cst=a};Hf.prototype.setClientStartTime=Hf.prototype.pv;r.a("AdfUserActivityInfo.prototype.setClientStartTime",{pv:Hf.prototype.pv});Hf.prototype.fz=function(a){this.cet=a};Hf.prototype.setClientEndTime=Hf.prototype.fz;r.a("AdfUserActivityInfo.prototype.setClientEndTime",{fz:Hf.prototype.fz});
Hf.prototype.iaa=function(a,b,d,e){this.eif||(this.eif={});a&&(this.eif.ety=a);b&&(this.eif.cld=b);d&&(this.eif.cty=d);e&&(this.eif.cdn=e);d=A.c.m(b);if(null!=d){for(b=a=null;null!=d;){if("oracle.adf.RichRegion"==d.getComponentType()){a=d.K("viewId");b=d.K("viewName");break}d=d.getParent()}a&&(this.eif.rvd=a,b&&(this.eif.rvn=b))}};Hf.prototype.setEventInfo=Hf.prototype.iaa;r.a("AdfUserActivityInfo.prototype.setEventInfo",{iaa:Hf.prototype.iaa});Hf.prototype.naa=function(a){a&&(this.ppr=a)};
Hf.prototype.setPprTargets=Hf.prototype.naa;r.a("AdfUserActivityInfo.prototype.setPprTargets",{naa:Hf.prototype.naa});Hf.prototype.Uua=function(a){this.R$=a};r.a("AdfUserActivityInfo.prototype.setResponseTime",{Uua:Hf.prototype.Uua});Hf.prototype.Jp=function(){this.ppr=this.pid=this.eif=this.cet=this.cst=this.cid=null};Hf.prototype.cleanup=Hf.prototype.Jp;r.a("AdfUserActivityInfo.prototype.cleanup",{Jp:Hf.prototype.Jp});
Hf.q8=function(){var a=Hf.XV;if(a){for(var b in a){var d=a[b];d.Jp&&d.Jp()}Hf.XV=null}};Hf.cleanInstanceMap=Hf.q8;m("AdfUserActivityInfo.cleanInstanceMap",Hf.q8);Hf.O4=function(a,b){var d=Hf.$(b);a=a.replace(/'/g,'"');var e=JSON.parse(a);if(null!=e){if(null==d.CH()){var f=e.cst;null!=f&&d.pv(f)}null==d.LO()&&(f=e.cid,null!=f&&d.TZ(f));null==d.WY()&&(f=e.pid,null!=f&&"undefined"!=f&&d.maa(f));d.fz(e.cet);null==d.C9()&&(e=e.R$)&&"null"!==e&&d.Uua(e)}};Hf._getAsObject=Hf.O4;
Hf.ceb=function(a){return"{'cid':'"+a.LO()+"','pid':'"+a.WY()+"','cst':'"+a.CH()+"','cet':'"+a.W8()+"','rrt':'"+a.C9()+"'}"};function lD(){return(new Date).getTime().toString()}Hf.uka=function(a){return a&&(u.Da(a),0<a)?Hf.n4a+a.toString():Hf.$m};Hf.b5=function(a){var b=q.b,d=null;try{d=b.Vu(a)}catch(e){v.l.fine("User activity information may be inaccurate as a failure occurred when attempting to retrieve property from sessionStorage - "+a)}return d};
Hf.R6=function(a){var b=q.b;try{b.Zy(a)}catch(d){v.l.fine("User activity information may be inaccurate as a failure occurred when attempting to remove property from sessionStorage - "+a)}};Hf.umb=function(a){var b=userActInfoValue,d=q.b;try{d.Ns(a,b)}catch(e){v.l.fine("User activity information may be inaccurate as a failure occurred when attempting to save property-value to sessionStorage "+a+", "+b)}};