function M(a,b){this.Init(a,b)}m("AdfDhtmlPage",M);m("AdfDhtmlPage",M);r.v(M,A);M.E0="screenReader";M.Xwa="default";M.LWa="inaccessible";M.VWa="attachment";M.nfa=Zc.sm("onload total","startup");M.nfa.setDescription("Total time spent in onLoad");M.Qda=Zc.sm("onload callback","startup");M.Qda.setDescription("Time spent in onload callback plus post-callback layout");M.c2=Zc.sm("postaback total","postback");M.c2.setDescription("Total time spent in postback");M.Lda=Zc.sm("browser resize","resize");M.Lda.setDescription("Time spent in resize notify during browser resize");
M.t1="_adfCustomPPRUrlExpando";M.cWa="activeDomElement";M.M1="_afrImageNotLoadedInTime";M.y1="_afrECID";M.p4a="p_AFPrintable";M.q4a="_new";M.sK="isSynchronized";M.S0="callback";M.oza="context";M.pza="state";M.lda="timerId";M.rK="domTimerId";M.z0="oracle.adf.view.rich.TOKENIZED_QUERY";M.Pya="protectionKey";M.aCa=["keydown","keyup","compositionend"];M.Nea="afr::msgFor";
M.ga=function(){for(var a={},b=[w.Yg(w.GQ,w.pi),w.Yg(w.mwa,w.pi),w.Yg(w.Aza,w.pi),w.Yg(w.Cza,w.pi),w.Yg(w.$I,0)],d=b.length-1;0<=d;d--)a[b[d].Ps()]=!0;this.n1a=a;this.z1="p_AFInlineEditable";this.m2="p_AFInlineSelectable";this.Pw="javax.faces.ViewState";this.Gt="Adf-Page-Id";this.a6a="oracle.adf.view.rich.STREAM";this.F4a="oracle.adf.view.rich.NOSTREAM";this.NEa=0;this.b6a=1;this.MEa=2;this.x1a="oracle.adf.view.rich.LAZY_FETCH";this.WDa="oracle.adf.view.faces.RICH_UPDATE";this.yfa="afr::DocWrapper";
this.h3a="_afrNavViewRoot";this.g3a="_afrNavParams";this.u_a=150;this.pXa=w.Yg(w.Yya,w.Ao|w.pi);this.N_a="_afrStyleHolder";this.Nya=1;m("AdfDhtmlPage.PPR_NAVIGATION_ON",M.Nya);this.Mya=2;m("AdfDhtmlPage.PPR_NAVIGATION_FORCE_PPR",M.Mya);this.UCa=0;this.UBa="AUTO";this.Pfa="_afrParserDiv";this.Qza=0;this.k4a="::postscript";this.tFa="ppr";this.J7a="scriptLoading"};
M.prototype.Init=function(a,b){u.s(a,Da);M.h.Init.call(this,a);this.kOa=!1;this.wf=b;this.Hc=b.document;this.gma=this.T5=null;this.sr={};this.GL={};var d=v.l.ek();Hc.prototype.isPrototypeOf(d)&&d.Wua(M.qeb(this.Hc));M.Jya="oracle.adf.view.rich.RENDER";this.Tja=[];this.Sx=new Cr;this.L3={};this.KT=M.Xwa;this.$Na=!1;this.fPa="";this.xIa=this.D3=!1;this.VT=!0;this.gY=this.Ila=!1;this.Via=M.UBa;this.YN=[];this.wd=null;b.onunload=this.D(this.gJ);b.onresize=this.D(this.Fn);d=this.R();d.wwb=q.Td;d.onselectstart=
this.D(this.ukb);this.C4=this.B4=this.Fja=this.Eja=0;var d=this.D(this.tcb),e=this.D(this.ucb),f=this.D(this.scb);this.SU={mousemove:d,mouseup:e,keydown:f,touchmove:d,touchend:e,touchcancel:f};this.FB={};this.yN={};this.FU=[];this.oB={};this.nma={};this.rna={};M.SB={};M.Vjb=1;this.XU=this.WU=this.ux=this.Lja=this.ZL=this.Foa=null;this.C3={};this.w7={};this.NX=0;this.ioa=!1;this.RX=[];this.Wt=1;this.Wt--;this.TL="____GLOBAL_MESSAGES";this.$h={};this.$h.D8=[];this.UA={};this.XKa=M.UCa;this.XW={};this.fj=
null;Dr(this);this.aPa=this.j7=null;this.pGa=!1;this.Tj=b.r3?!0:!1;this.YW=b.s3?!0:!1;this.bOa=this.D(this.aOa);if(this.Tj||this.YW)d=new v("profiler",q.b.x8()),d.getLevel()>v.INFO&&d.Nua(v.INFO),v.Yc=v.PROFILER_LOGGER=d,v.Yc.register();this.l5=!1;this.xG=!0;this.b6=[];this.ge=new Er(this);this.kPa=this.oF=null;this.hY="aggressive";this.nN={};this.Ula=!1;this.f4=null};M.prototype.HTa=function(){return this.MC()};m("AdfDhtmlPage.prototype.isPageFullyLoaded",M.prototype.HTa);M.prototype.Pqb=function(){return this.Gla};
m("AdfDhtmlPage.prototype.isPageOnloadCalled",M.prototype.Pqb);M.prototype.Tpb=function(){return this.ge};m("AdfDhtmlPage.prototype.getDirtyStateService",M.prototype.Tpb);M.prototype.MC=function(){if(this.PG&&0<this.PG.length){for(var a="Javascript error(s): ",b=0;b<this.PG.length;b++)0<b&&(a+=";"),a+=Oe.Kqa(this.PG[b]);this.PG=[];throw a;}return null==this.cD()};m("AdfDhtmlPage.prototype.isSynchronizedWithServer",M.prototype.MC);
M.prototype.cD=function(a){var b=this.Dy();if(b&&a&&(a=Pe.$Va(a))&&Oe.Z0.NO_SUCH_DIALOG_ERROR.reason!==a.reason)return a;a={};var d=Oe.rba;a[d.AUTOMATION_ENABLED]=b;a[d.DTS]=this.Yf();a[d.PHASE]=this.iP();a[d.EVENT_QUEUE_LENGTH]=this.Tja.length;a[d.IS_ATTACHMENT_MODE]=this.Zg();a[d.INITIALIZATION_COMPLETE]=this.Gla;a[d.PARTIAL_TARGETS]=this.VW;a[d.START_ADS_CLIENT_ID_COUNT]=this.NX;a[d.WINDOW_EVENT_HEADER_MAP]=this.eH;a[d.IN_HANDLE_RICH_RESPONSE]=this.tla;a[d.PARTIAL_REQUEST_REDIRECT]=this.Gx;a[d.IN_DELIVER_QUEUED_SERVER_EVENTS]=
this.aG;a[d.IN_DELIVER_QUEUED_EVENTS]=this.s5;a[d.WAITING_FOR_DOCUMENT_UNLOAD]=this.TQa;var b=d.ARE_COMPONENTS_LOADED,e;a:{e=this.b6;for(var f=e.length,g=0;g<f;g++)if(this.m(e[g]).oo()!=G.st){e=!1;break a}e=!0}a[b]=e;a[d.WAITING_FOR_DESCENDANT_RESIZE]=this.sla;a[d.WAITING_FOR_INCOMPLETE_IMAGES]=null!=this.t5&&0<this.t5;a[d.HAS_EVENTS_TO_DELIVER]=this.Sx.oZ();a[d.WAITING_FOR_ANIMATION]=null!=this.bG&&0<this.bG;var h;a:{b=M.SB;for(h in b)if(e=b[h],null!=e&&e[M.sK]){h=!1;break a}h=!0}a[d.ARE_SYNCHRONOUS_TIMERS_CLEARED]=
h;a[d.IN_GET_REQUEST_NAVIGATION]=this.JM;a[d.REST_DATA_SERVICE]=this.nP();a[d.TIMERS]=M.SB;return Oe.$().cD(a)};m("AdfDhtmlPage.prototype.whyIsNotSynchronizedWithServer",M.prototype.cD);M.prototype.getFailedConnectionText=function(){var a=M.h.getFailedConnectionText.call(this);null==a&&(a=this.H().Z("af_document.MSG_FAILED_CONNECTION"));return a};m("AdfDhtmlPage.prototype.getFailedConnectionText",M.prototype.getFailedConnectionText);
M.prototype.jv=function(a){a=a.g();u.assert(-1==E.indexOf(this.b6,a),"Component already registered");this.b6.push(a)};m("AdfDhtmlPage.prototype.registerLoadingComponent",M.prototype.jv);M.prototype.uq=function(a){E.Ig(this.b6,a.g())};m("AdfDhtmlPage.prototype.unregisterLoadingComponent",M.prototype.uq);M.prototype.Qqb=function(){return this.sx};m("AdfDhtmlPage.prototype.isPerformingFullSubmit",M.prototype.Qqb);M.prototype.Jlb=function(){this.sx=!1};M.prototype.Gpb=function(){return this.KT};
m("AdfDhtmlPage.prototype.getAccessibilityMode",M.prototype.Gpb);M.prototype.Mrb=function(a){u.assert(a==M.E0||a==M.Xwa||a==M.LWa,"invalid accessibility mode: ",a);this.KT=a};m("AdfDhtmlPage.prototype.setAccessibilityMode",M.prototype.Mrb);M.prototype.RP=function(){return this.KT==M.E0};m("AdfDhtmlPage.prototype.isScreenReaderMode",M.prototype.RP);M.prototype.Gm=function(){if(void 0===this.Mpa){this.Mpa=!0;var a=this.Y(),b=q.b.tl(),a=null!=a.AdfUserActivityInfo;b&&a||(this.Mpa=!1,v.l.fine("User Activity Monitoring has been disabled either because the feature is disabled or it's enabled but its resources are missing. Please check your app configuration."))}return this.Mpa};
m("AdfDhtmlPage.prototype.isUserActivityMonitoringOn",M.prototype.Gm);M.prototype.Zg=function(){return this.pna===M.VWa};m("AdfDhtmlPage.prototype.isAttachmentMode",M.prototype.Zg);M.prototype.Wrb=function(a,b){this.$Na=a;this.fPa=b};m("AdfDhtmlPage.prototype.setPortlet",M.prototype.Wrb);M.prototype.Oy=function(){return this.$Na};m("AdfDhtmlPage.prototype.isPortlet",M.prototype.Oy);M.prototype.dZ=function(){return this.fPa};m("AdfDhtmlPage.prototype.getRootClientId",M.prototype.dZ);
M.prototype.yZ=function(){return 0!=(this.z9()&M.Nya)};m("AdfDhtmlPage.prototype.isPPRNavigationEnabled",M.prototype.yZ);M.prototype.jaa=function(a){C.tPa(a)};m("AdfDhtmlPage.prototype.setHelpWindowName",M.prototype.jaa);M.prototype.cI=function(a){C.cI(a)};m("AdfDhtmlPage.prototype.launchHelpWindow",M.prototype.cI);
M.prototype.BZ=function(a){this.JM=!0;this.ta(this,this.yQa,null,500);if(this.nO())if(this.yZ()){Fr(this,!0);var b={};this.Gm()&&(Hf.$(Hf.No).pv((new Date).getTime().toString()),b["oracle.adf.view.rich.monitoring.UserActivityInfo"]=Hf.s9());var b=Gr(this,null,b,null),d=null,e=/_afrPage=[^&^#]*&*/,f=e.exec(a);null!=f&&(f=f[0].split(/[=&]/g),1<f.length&&(d=f[1]),a=a.replace(e,""),a=a.replace(/[\?&]+$|[\?&]+(?=#)/,""));e=null;null!=d&&(e={},e[M.Gt]=d);this.Yf().Gs(null,a,e,b,[this]);delete this.JM}else this.Y().location.href=
a;else delete this.JM};m("AdfDhtmlPage.prototype.localNavigate",M.prototype.BZ);M.prototype.nO=function(a){var b=!0,d=this.W7&&(this.EIa||this.ge.DT()),e=null,f=!1;d||(e=Hr(this),f=null!=e&&0<e.length);var g=null;f&&null!=a&&(g=a(e));if(d||f)b=Ir(this,g);return b};m("AdfDhtmlPage.prototype.checkUncommittedData",M.prototype.nO);
M.prototype.qY=function(a,b){u.Mb(a);for(var d=Jr(this),e=!1,f=0;f<a.length&&!e;f++){var g=a[f],e=null!=this.vr&&this.vr[g];!e&&d&&(e=this.ge.m$(g))}e?(d=b,null==d&&(d=this.H().Z("af_region.MSG_CONFIRM_CLOSE")),d=confirm(d)):d=!0;return d};m("AdfDhtmlPage.prototype.checkRegionUncommittedData",M.prototype.qY);M.prototype.K9=function(){return Hr(this)||[]};m("AdfDhtmlPage.prototype.getUncommittedRegionIds",M.prototype.K9);M.prototype.J8a=function(a){u.dc(a);this.D3=a};
m("AdfDhtmlPage.prototype.__setAutomationEnabled",M.prototype.J8a);M.prototype.Dy=function(){return this.D3};m("AdfDhtmlPage.prototype.isAutomationEnabled",M.prototype.Dy);M.prototype.I8a=function(a){u.J(a);this.q$a=a};m("AdfDhtmlPage.prototype.__setAsynchronousUpdatesState",M.prototype.I8a);M.prototype.FY=function(){return this.q$a};m("AdfDhtmlPage.prototype.getAsynchronousUpdatesState",M.prototype.FY);M.prototype.L8a=function(a){u.dc(a);this.xIa=a};
m("AdfDhtmlPage.prototype.__setCssSelectorsUncompressed",M.prototype.L8a);M.prototype.h8=function(){return this.xIa};m("AdfDhtmlPage.prototype.areCssSelectorsUncompressed",M.prototype.h8);M.prototype.Aua=function(a){u.dc(a);this.VT=a};m("AdfDhtmlPage.prototype.setAnimationEnabled",M.prototype.Aua);M.prototype.Uc=function(){return this.VT};m("AdfDhtmlPage.prototype.isAnimationEnabled",M.prototype.Uc);M.prototype.zy=function(){return this.j7};m("AdfDhtmlPage.prototype.getSessionIdentifier",M.prototype.zy);
M.prototype.T8a=function(a){this.j7=a;return this};m("AdfDhtmlPage.prototype.__setSessionIdentifier",M.prototype.T8a);M.prototype.C8a=function(){Kr(this);"aggressive"!=this.hY&&(this.Olb=!0)};m("AdfDhtmlPage.prototype.__notifyReturnFromDialog",M.prototype.C8a);M.prototype.fsb=function(){return this.Ila};m("AdfDhtmlPage.prototype.shouldInterpretEmptyStringSubmittedValuesAsNull",M.prototype.fsb);M.prototype.U8a=function(a){this.Ila=a};
m("AdfDhtmlPage.prototype.__setShouldInterpretEmptyStringSubmittedValuesAsNull",M.prototype.U8a);M.prototype.gsb=function(){return this.gY};m("AdfDhtmlPage.prototype.shouldValidateEmptyFields",M.prototype.gsb);M.prototype.W8a=function(a){this.gY=a};m("AdfDhtmlPage.prototype.__setShouldValidateEmptyFields",M.prototype.W8a);M.prototype.e_=function(){return null==this.Via||this.Via==M.UBa};m("AdfDhtmlPage.prototype.shouldShowHintInNoteTip",M.prototype.e_);M.prototype.O8a=function(a){this.Via=a};
m("AdfDhtmlPage.prototype.__setHintPresentationMode",M.prototype.O8a);M.prototype.xC=function(){return this.aPa};m("AdfDhtmlPage.prototype.getResponseIdentifier",M.prototype.xC);M.prototype.oGa=function(a){this.aPa=a;return this};m("AdfDhtmlPage.prototype.__setResponseIdentifier",M.prototype.oGa);M.prototype.S8a=function(a){this.pna=a;return this};m("AdfDhtmlPage.prototype.__setOutputMode",M.prototype.S8a);M.prototype.hqb=function(){return this.pna};m("AdfDhtmlPage.prototype.getOutputMode",M.prototype.hqb);
M.prototype.f_=function(){return this.pGa};m("AdfDhtmlPage.prototype.shouldTracePPRRequestId",M.prototype.f_);M.prototype.V8a=function(a){this.pGa=a};m("AdfDhtmlPage.prototype.__setShouldTracePPRRequestId",M.prototype.V8a);M.prototype.Df=function(a,b){u.J(a);this.rna[a]=b};m("AdfDhtmlPage.prototype.setPageProperty",M.prototype.Df);M.prototype.Pe=function(a){u.J(a);return this.rna[a]};m("AdfDhtmlPage.prototype.getPageProperty",M.prototype.Pe);
M.prototype.Y8=function(a){u.Ya(a);var b=[],d;for(d in this.sr){var e=this.sr[d];e&&e.getComponentType()==a&&b.push(e)}return b};m("AdfDhtmlPage.prototype.getComponentsByType",M.prototype.Y8);M.prototype.EZ=function(a,b){u.Ja(a);void 0===b&&(b=this);var d=[],e;for(e in this.sr){var f=this.sr[e],g=a.call(b,f);g&1&&d.push(f);if(g&2)break}return d};m("AdfDhtmlPage.prototype.matchComponents",M.prototype.EZ);M.prototype.M9=function(){return void 0!=this.PQa?this.PQa:""};
m("AdfDhtmlPage.prototype.getViewId",M.prototype.M9);M.prototype.Y8a=function(a){this.PQa=a};m("AdfDhtmlPage.prototype.__setViewId",M.prototype.Y8a);M.prototype.m=function(a){return this.sr[a]};m("AdfDhtmlPage.prototype.findComponent",M.prototype.m);M.prototype.Npb=function(){return this.sr};m("AdfDhtmlPage.prototype.getClientIdToComponentMap",M.prototype.Npb);
M.prototype.vh=function(a){if(window.B_)return Lr.vh(this,a);throw Error("Automation must be enabled to call findComponentByAbsoluteLocator()");};m("AdfDhtmlPage.prototype.findComponentByAbsoluteLocator",M.prototype.vh);M.prototype.iC=function(a){if(window.B_)return Lr.iC(this,a);throw Error("Automation must be enabled to call findComponentOrAncestorByAbsoluteLocator()");};m("AdfDhtmlPage.prototype.findComponentOrAncestorByAbsoluteLocator",M.prototype.iC);
M.prototype.AY=function(a,b){if(window.B_)return Lr.AY(this,a,b);throw Error("Automation must be enabled to call findComponentWithBackup()");};m("AdfDhtmlPage.prototype.findComponentWithBackup",M.prototype.AY);M.prototype.hC=function(a,b){if(window.B_)return Lr.hC(this,a,b);throw Error("Automation must be enabled to call findComponentByComplexLocator()");};m("AdfDhtmlPage.prototype.findComponentByComplexLocator",M.prototype.hC);
M.prototype.zH=function(a,b){if(window.B_)return Lr.zH(this,a,b);throw Error("Automation must be enabled to call findComponentsByComplexLocator()");};m("AdfDhtmlPage.prototype.findComponentsByComplexLocator",M.prototype.zH);M.prototype.Kd=function(a){var b=a.g(),d=this.GL[b];if(null==d){var e=a.o(),d=e.Kd(a,b);e.BP()&&(this.GL[b]=d)}return d};m("AdfDhtmlPage.prototype.getAbsoluteLocator",M.prototype.Kd);
M.prototype.nz=function(a){this.wj()&&this.Ud().nz(a);a in this.C3&&(u.J(a),delete this.C3[a],v.l.fine("Stop autoPPR active data on ",a),this.Lva(a));var b=this.HL;null!=b&&(b=b[Fb.ua],null!=b&&Ma.uO(b,new Fb(this,a)));delete this.sr[a];delete this.GL[a]};m("AdfDhtmlPage.prototype.unmapComponent",M.prototype.nz);M.prototype.CZ=function(a,b){this.sr[a]=b};m("AdfDhtmlPage.prototype.mapComponent",M.prototype.CZ);
M.prototype.QVa=function(a){a=a.Kd();for(currClientId in this.GL)this.GL[currClientId].substr(0,a.length)===a&&delete this.GL[currClientId]};m("AdfDhtmlPage.prototype.unmapDescendantComponentAbsoluteLocators",M.prototype.QVa);
M.prototype.Oob=function(a,b){var d;switch(a){case "javascript":Mr(this).cy(b,Nr.UJ);break;case "css":a:{var e=this.Bx;u.assert(null!=e,"Unexpected loadedCss ",e);d=Or(this);if(e[b])for(var e=d?Pr(d.getElementsByTagName("LINK")):[],f=e.length-1;0<=f;--f){var g=e[f];if(g.getAttribute("href")==b){d=g;break a}}else e[b]=!0;e=Qr(this,b);d.appendChild(e);d=e}d.setAttribute("afrres","true");break;case "style":d=q.b.rO(b),d.setAttribute("afrres","true")}};m("AdfDhtmlPage.prototype.addResource",M.prototype.Oob);
M.prototype.i8a=function(a){var b=Rr(this),d=b.reduce(M.knb,{}),e=a.reduce(M.wob,{}),f;for(f in d)f in e&&(delete e[f],delete d[f]);var g=b.filter(function(a){return a.getAttribute("href")in this},d);a=a.filter(function(a){return a in this},e);if(a.length||g.length)b=Or(this),a.reduce(M.Khb,{page:this,head:b,insertBefore:null,$qb:{"data-afr-stylesheet":"1"}}),window.setTimeout(function(){g.every(function(a){a.parentNode&&a.parentNode.removeChild(a)})},1E3)};
m("AdfDhtmlPage.prototype.__applyNewPageStyleSheets",M.prototype.i8a);M.Khb=function(a,b){var d=Qr(a.page,b,a.$qb);a.head.insertBefore(d,a.insertBefore);a.insertBefore=d.nextSibling;return a};M.wob=function(a,b){a[b]=b;return a};M.knb=function(a,b){var d=b.getAttribute("href");d&&(a[d]=b);return a};function Rr(a){a=Or(a);return(a?Pr(a.getElementsByTagName("LINK")):[]).filter(function(a){return a.hasAttribute("data-afr-stylesheet")})}
M.prototype.gJ=function(){this.Yf().gv();null!=v.Yc&&v.Yc.ek().close();this.pHa&&(this.xQa=!0,this.wj()&&this.Ud().B$());Pe.$().mO();var a=this.tia;a&&(a.ac(),this.tia=null);if(a=this.Qub)a.ac(),this.eNa=null;if(a=this.Hna)a.ac(),this.Hna=null;if(a=this.Qpa)a.ac(),this.Qpa=null;(a=xd.$())&&a.ac();this.XZ(null);var b=q.b,a=this.R(),d=this.Y(),e=this.opa;e&&e.ac();e=M.SB;M.SB=null;var f=this.Y(),g;for(g in e){var h=e[g];if(null!=h)try{f.clearTimeout(h[M.rK])}catch(l){}}if(g=this.yOa)b.nq(a,g),this.yOa=
null;this.v6&&(b.xa(d,"beforeunload",this.v6),this.v6=null);if(g=this.qla){e=M.aCa;for(f=0;f<e.length;f++)a.removeEventListener(e[f],g,!0);this.qla=null}if(g=this.lma)b.oq(a,g),this.lma=null;d.onload=null;d.onunload=null;d.onresize=null;if(b=this.kja)b.ac(),this.kja=null;delete this.DMa;this.opa=this.SU=this.sja=this.Hc=this.T5=this.wf=this.QM=this.R7=this.Cka=this.Q7=this.kN=null;M.icb(a);M.h.gJ.call(this);this.RP()&&this.oz(M.pXa)};
M.qla=function(a){var b=A.c,d=q.b;a instanceof CompositionEvent?("compositionend"==a.type&&(b.f4=a.target),d.Ea(a)):b.f4&&a instanceof KeyboardEvent&&("keyup"==a.type&&a.keyCode==w.jb&&a.target==b.f4&&d.Ea(a),b.f4=null)};M.prototype.Kc=function(a){var b=arguments.length;if(0<b){var d=this.VW;null==d&&(this.VW=d=[]);for(var e=0;e<b;e++){var f=arguments[e];u.s(f,G);f=f.g();f in d||(d[f]=!0,d.push(f))}this.FT()}};m("AdfDhtmlPage.prototype.addPartialTargets",M.prototype.Kc);
M.prototype.gH=function(a){var b=this.Y();this.Tj&&(b.H9a=(new Date).getTime());for(var d=arguments.length,e=0;e<d;e++)u.s(arguments[e],G),arguments[e].HQ();this.Tj&&(b.G9a=(new Date).getTime())};m("AdfDhtmlPage.prototype.addComponents",M.prototype.gH);M.prototype.kY=function(a,b){u.Ja(b);u.ji(a);this.eU=Ma.addListener(this.eU,a,b)};m("AdfDhtmlPage.prototype.addBusyStateListener",M.prototype.kY);M.prototype.eQ=function(a,b){u.Ja(b);u.ji(a);this.eU=Ma.removeListener(this.eU,b,a)};
m("AdfDhtmlPage.prototype.removeBusyStateListener",M.prototype.eQ);function Sr(a,b){a.mab==b?v.l.finest("busy state event broadcast called without a change in state"):(a.mab=b,a.eU&&Ma.uO(a.eU,new yb(a,b)))}
M.prototype.pr=function(a){for(var b=this.FU,d=b.length,e=a.g(),f=v.l,g=f.ee(v.WARNING),h=0;h<d;h++){var l=b[h].dl;if(l==a)return;if(l.g()==e){g&&(b=this.R(),g=d="unknown",l=l.o(),a=a.o(),l&&(l=l.i())&&(d=null!=C.X8(b,l)),a&&(a=a.i())&&(g=null!=C.X8(b,a)),f.warning("__registerDescendantResizeNotifyComponent: Another (different) component instance with this same clientId is already in the descendant resize notify list: "+e+" (existingConnected\x3d"+d+", newConnected\x3d"+g+")"));return}}e={dl:a,depth:C.mSa(I.Fb(a))};
b.push(e);1<b.length&&(this.OIa=!0);this.FU=b};m("AdfDhtmlPage.prototype.__registerDescendantResizeNotifyComponent",M.prototype.pr);M.prototype.bp=function(a){for(var b=this.FU,d=b.length,e=0;e<d;e++)if(b[e].dl==a){b.splice(e,1);break}};m("AdfDhtmlPage.prototype.__unregisterDescendantResizeNotifyComponent",M.prototype.bp);M.prototype.EA=function(a){var b=this.wF;a=a.g();if(null==b)b=this.wF=[];else if(-1!=E.indexOf(b,a))return;b.push(a)};
m("AdfDhtmlPage.prototype.__queueDescendantResizeNotifySource",M.prototype.EA);
M.prototype.zA=function(){if(this.wF&&!this.sla){this.sla=!0;try{for(;0<this.wF.length;){var a=this.wF.splice(0,this.wF.length),b=a.length,d=this.FU,e=d.length;this.OIa&&(1<d.length&&d.sort(M.ecb),this.OIa=!1);for(var f=v.l,g=f.ee(v.WARNING),h=0;h<e;h++){var l=d[h].dl;if(g){var n=l.g(),t=!1,y;for(y in this.yN)y==n&&(t=!0);if(!t){f.warning("__doDescendantResizeNotify: A component instance is registered with the descendant resize notify list but not with the regular resize notify list but must be: "+y);
break}}for(t=0;t<b;t++){var z=this.m(a[t]);if(z&&(z==l||z.Dm(l))){this.Xg(l);break}}}}}finally{delete this.sla,delete this.wF}}};m("AdfDhtmlPage.prototype.__doDescendantResizeNotify",M.prototype.zA);M.ecb=function(a,b){var d=a.depth,e=b.depth;return d>e?-1:d<e?1:0};
M.prototype.NZ=function(a){var b={dl:a},d=a.g(),e=this.yN;e[d]=b;var f;a=I.Fb(a);u.u(a);if(a){for(a=a.parentNode;a&&(1!=a.nodeType||!(f=e[a.id]));)a=a.parentNode;null==f&&(f=this.FB);null==f.children&&(f.children=[]);f.children.push(b);b.parent=f}};m("AdfDhtmlPage.prototype.registerResizeNotifyComponent",M.prototype.NZ);
M.prototype.q_=function(a){var b=a.g(),d=this.yN;if(a=d[b])if(delete d[b],(b=a.parent)&&E.Ig(b.children,a),delete a.parent,b=a.children)u.assert(0==b.length,"Unexpected number of children: "+b.length),delete a.children};m("AdfDhtmlPage.prototype.unregisterResizeNotifyComponent",M.prototype.q_);M.prototype.Xg=function(a){if(null==a)a=this.FB;else{var b=a.g();a=this.yN[b];u.assert(null!=a,"No resizeNotifyNode in map for:"+b)}M.au(a,!0)};m("AdfDhtmlPage.prototype.doResizeNotify",M.prototype.Xg);
M.prototype.jo=function(a,b){var d=this.yN,e=d[a.id];if(e)M.au(e,b);else{for(var f=a.parentNode;f&&!(e=d[f.id]);)f=f.parentNode;d=!1;f=Tr(this,!1);e||(f&&(e=this.Gg())&&(d=e.sH(a)),e=this.FB);Ur(this,a,e,d);f&&(e=this.Bm(),d&&e&&e.mua(a))}};m("AdfDhtmlPage.prototype.doResizeNotifyDom",M.prototype.jo);function Ur(a,b,d,e){var f=q.b,g=d.children;if(g){d=d.dl?I.Fb(d.dl):null;for(var h=g.length,l=0;l<h;l++){var n=g[l],t=n.dl.g();(t=f.getElementById(t))&&(M.Shb(b,t,d)?M.au(n,!1):e&&Ur(a,b,n,!0))}}}
M.Shb=function(a,b,d){u.Hb(b);u.Hb(a);u.iqa(d);for(b=b.parentNode;b;){if(b==a)return!0;if(b==d)break;if(V.JTa(b))break;b=b.parentNode}return!1};M.prototype.e8=function(a,b){u.Ja(b);this.BB=Ma.addListener(this.BB,a,b)};m("AdfDhtmlPage.prototype.addPropertyChangeListener",M.prototype.e8);M.prototype.N$=function(a,b){u.Ja(b);this.BB=Ma.removeListener(this.BB,b,a)};m("AdfDhtmlPage.prototype.removePropertyChangeListener",M.prototype.N$);
M.prototype.QFa=function(a,b){var d=a.g(),e=b.popupId,f=this.nN[d];f||(this.nN[d]=f={});f[e]=b;if(e=this.TO())d=q.b,e=d.getElementById(e.g()),(d=d.getElementById(b.anchorId))&&V.Nb(e,d)&&(b.madeEditable=!0,d=b.contentDom,Vr(this,d,this.WU,this.XU),q.b.mj(d,M.y5),C.w(d,"p_AFActiveInlineEditableContainer"),q.b.fe(d,100))};m("AdfDhtmlPage.prototype.__addPopupInfo",M.prototype.QFa);
M.prototype.lGa=function(a,b){var d=a.g(),e=this.nN,f=e[d],g=f[b];g.madeEditable&&(g=g.contentDom)&&(q.b.kv(g,M.y5),C.O(g,"p_AFActiveInlineEditableContainer"));delete f[b];E.zc(f)&&delete e[d]};m("AdfDhtmlPage.prototype.__removePopupInfo",M.prototype.lGa);M.prototype.fZ=function(){var a=this.Foa,b=null;if(a)for(var b=[],d=a.length,e=0;e<d;e++){var f=this.m(a[e]);f&&b.push(f)}return b};m("AdfDhtmlPage.prototype.getSelectedEditingComponents",M.prototype.fZ);
M.prototype.c_=function(a){u.og(a);for(var b=Wr(this,this.ZL,!1),d=[],e=0;e<b.length;e++){var f=Xr(b[e],a);if(f)for(var g=f.length,h=0;h<g;h++)d.push(f[h])}Yr(this,d)};m("AdfDhtmlPage.prototype.setSelectedEditingComponents",M.prototype.c_);M.prototype.TO=function(){var a=this.ZL;return null!=a?this.m(a):null};m("AdfDhtmlPage.prototype.getEditableSubtree",M.prototype.TO);
M.prototype.gaa=function(a,b){u.kH(a);this.WU=a;this.XU=b;var d=this.ZL;if(null!=d)for(var d=Wr(this,d,!0),e=0;e<d.length;e++){var f=d[e];Zr(this,f);Vr(this,f,a,b)}};m("AdfDhtmlPage.prototype.setEditableSubtreeFilter",M.prototype.gaa);function Wr(a,b,d){var e=[],f=q.b;if(b=f.getElementById(b)){e.push(b);a=a.nN;for(var g in a){var h=a[g],l;for(l in h){var n=h[l],t=f.getElementById(n.anchorId);t&&V.Nb(b,t)&&e.push(d?t:n.contentDom)}}}return e}
function Zr(a,b){u.u(b);var d=b.id;d&&a.m(d)&&(C.O(b,M.m2),C.O(b,M.z1));for(d=b.firstChild;d;)1==d.nodeType&&Zr(a,d),d=d.nextSibling}function $r(a,b,d){return a.RZ(G.U0)?nc.sxa:b?b.call(d,a):nc.Hba}function as(a,b,d,e){if(e=$r(a,d,e))d=M.m2,e==nc.Hba&&(e=a.o().jd(a,null))&&e.Vta(a)&&(d=M.z1),C.w(b,d)}function bs(a){a=a.nodeValue;return"compS|"==a.substring(0,6)?a.substr(6):null}function Cc(a,b){var d=bs(b);return d?a.m(d):null}
function Vr(a,b,d,e){u.u(b);var f=b.id;f&&(f=a.m(f))&&as(f,b,d,e);for(b=b.firstChild;b;){f=b.nodeType;if(1==f){var g=a,h=b,f=d,l=e;if("NOSCRIPT"===h.tagName){for(g=h.nextSibling;g&&1!=g.nodeType;)g=g.nextSibling;g&&as(component,g,f,l)}else Vr(g,h,f,l)}else if(8==f&&(h=b,f=d,l=e,g=Cc(a,h))){for(h=h.nextSibling;h&&1!=h.nodeType;)h=h.nextSibling;h&&as(g,h,f,l)}b=b.nextSibling}}
M.prototype.XZ=function(a){u.$j(a,G);var b=this.ZL,d=a?a.g():null;if(d!=b){var e,f=Wr(this,b,!0),g=f.length;if(g)for(e=f[0],b=0;b<g;b++){var h=f[b];q.b.kv(h,M.y5);C.O(h,"p_AFActiveInlineEditableContainer");Zr(this,h)}this.ZL=d;var d=Wr(this,d,!0),f=d.length,l;if(f)for(l=this.Foa,u.$j(a,G),u.og(l),l=null==a?null:Xr(a.o().Qp(),l),b=0;b<f;b++)if(g=d[b])Vr(this,g,this.WU,this.XU),q.b.mj(g,M.y5),C.w(g,"p_AFActiveInlineEditableContainer");Yr(this,l);Ma.BO(this.BB,this,A.cxa,e,a)}};
m("AdfDhtmlPage.prototype.setEditableSubtree",M.prototype.XZ);M.prototype.xh=function(){var a=this.Lja;return null!=a?this.m(a):null};m("AdfDhtmlPage.prototype.getEditedComponent",M.prototype.xh);
M.prototype.sv=function(a,b){u.$j(a,G);var d;if(null!=a){d=a.g();var e=I.xm(a);C.sa(e,M.z1)||(d=null,C.sa(e,M.m2)||(a=null))}else d=null;e=null;null!=d&&(e=a.o().jd(a,b),null==e&&(a=d=null));var f;if(this.Lja!=d){f=this.xh();var g=this.ux;null!=g&&g.Os();this.Lja=d;this.ux=e}else f=a;a&&this.c_([a]);f!=a&&(null!=e&&e.xI(a,b),Ma.BO(this.BB,this,A.dxa,f,a))};m("AdfDhtmlPage.prototype.setEditedComponent",M.prototype.sv);
M.prototype.Yf=function(a,b,d){var e;e=b?this.C9a:d?this.qob:this.kja;if(null==e){if(a)return null;if(this.Zg())e=new Df(f);else{var f=this.Y();e=new Kf(f)}b?this.C9a=e:d?this.qob=e:this.kja=e;e.Wr(this.Gcb,this)}return e};m("AdfDhtmlPage.prototype.getDataTransferService",M.prototype.Yf);M.prototype.nP=function(){!this.bPa&&window.Nsb&&(this.bPa=new $a);return this.bPa};m("AdfDhtmlPage.prototype.getRestDataService",M.prototype.nP);
M.prototype.el=function(){this.kL();var a=this.tia;null==a&&(this.tia=a=new Li);return a};m("AdfDhtmlPage.prototype.getAutoDismissalManager",M.prototype.el);M.prototype.Am=function(){this.kL();var a=this.eNa;null==a&&(this.eNa=a=new $i);return a};m("AdfDhtmlPage.prototype.getModalityManager",M.prototype.Am);M.prototype.Bm=function(){this.kL();var a=this.Hna;null==a&&(this.Hna=a=new dj);return a};m("AdfDhtmlPage.prototype.getPositionManager",M.prototype.Bm);
M.prototype.Gg=function(){this.kL();var a=this.Qpa;null==a&&(this.Qpa=a=new bj);return a};m("AdfDhtmlPage.prototype.getZOrderManager",M.prototype.Gg);M.prototype.ta=function(a,b,d,e,f){u.Ja(b);u.Da(e);var g=M.SB,h=M.Vjb++,l={};l[M.oza]=a;l[M.pza]=d;l[M.S0]=b;l[M.lda]=h;f&&f[M.sK]&&("true"===f[M.sK]||!0===f[M.sK])&&(l[M.sK]=!0);g[h]=l;l[M.rK]=this.Y().setTimeout(function(){return M.N2(h)},e);return h};m("AdfDhtmlPage.prototype.scheduleTimer",M.prototype.ta);
M.prototype.Cs=function(a,b){u.Xf(a);u.Da(b);a=a.valueOf();var d=M.SB[a];null!=d?(window.clearTimeout(d[M.rK]),d[M.rK]=this.Y().setTimeout(function(){return M.N2(a)},b)):v.l.warning("Attempt to reschedule unknown timerId:",a)};m("AdfDhtmlPage.prototype.rescheduleTimer",M.prototype.Cs);M.prototype.ic=function(a){u.Xf(a);a=a.valueOf();var b=M.SB,d=b[a];null!=d?(this.Y().clearTimeout(d[M.rK]),delete b[a]):v.l.warning("Attempt to cancel unknown timerId:",a)};m("AdfDhtmlPage.prototype.cancelTimer",M.prototype.ic);
M.N2=function(a){u.Da(a);var b=M.SB;if(null!=b){var d=b[a];if(null!=d){var e;try{e=d[M.S0].call(d[M.oza],d[M.pza])}catch(f){v.l.Ge(f," when calling timer callback")}u.co(e);void 0==e||0>e?delete b[a]:d[M.rK]=A.c.Y().setTimeout(function(){return M.N2(a)},e)}}};m("AdfDhtmlPage.__callTimerCallback",M.N2);
function cs(a,b){var d=a.Oba();if(null==d)return null;var e=Array(50),f=!1,g=xa.hwa,h=xa.exa,l=xa.gza,n=xa.gwa,t;for(t in d){var y=d[t];if(!y.o()){var z=y.g();(z=a.m(z))&&(y=z)}var z=!1,B=y.Jc(),F;for(F in B){z?e.push(g):(f?e.push(g):(e.push(l),f=!0),e.push(y.g()),e.push("\x3d{"),z=!0);var K=B[F];F.lastIndexOf(G.Gea);null!=K&&(K=K instanceof Date?q.b.toISOString(K):K.toString().replace(/\{/g,"%7B").replace(/\}/g,"%7D").replace(/\,/g,"%2C").replace(/\=/g,"%3D"));e.push(F);e.push(h);e.push(K)}z&&e.push(n)}f&&
e.push(n);b&&a.wba();return e.join("")}M.prototype.ml=function(a){return"//"==a.substring(0,2)?a.substring(1):"/"==a.charAt(0)?this.wia+a:a};m("AdfDhtmlPage.prototype.getResourceURL",M.prototype.ml);M.prototype.tUa=function(a){var b=this.wia,d=a.indexOf(b);return 0<=d?a.substr(d+b.length):"/"==a.charAt(0)?"/"+a:a};m("AdfDhtmlPage.prototype.removeResourceURL",M.prototype.tUa);M.icb=function(a){a=a.getElementsByTagName("iframe");for(var b=a.length-1;0<=b;b--){var d=a[b];d.parentNode.removeChild(d)}};
M.Gub=function(a){for(var b=Array(a),d=0;d<a;d++){for(var e=Array(1E4),f=0;1E4>f;f++)e[f]=f;b[d]=e}};k=M.prototype;k.ukb=function(){if(this.rl())return!1;var a=this.Dg();return!(a&&a.rl())};k.Fn=function(){if(q.b.S()==q.ia){if(!this.WOa){this.WOa=!0;var a=setTimeout;this.sja||(this.sja=this.D(this.Zbb));a(this.sja,M.u_a)}}else this.w6()};k.Zbb=function(){this.WOa=!1;this.w6()};k.w6=function(){if(this.iP()!=A.sba){ds(this,!1);var a=M.Lda.start();M.au(this.FB,!1);M.Lda.stop(a)}};
k.Md=function(a,b,d,e,f){var g=q.b;a=g.Xb(a);this.Eja=a.x;this.Fja=a.y;this.B4=this.Eja;this.C4=this.Fja;this.Xma=b;this.iJa=d;this.vL=e;(this.rcb=f)?this.eva(this.SU,"auto"):(b=this.SU,g.yI(b),this.QM=g.wI(b,this.Hc.documentElement))};m("AdfDhtmlPage.prototype.startDrag",M.prototype.Md);M.prototype.tcb=function(a){var b=this.Xma,d=q.b.Xb(a);b&&b(a,d.x-this.B4,d.y-this.C4);this.B4=d.x;this.C4=d.y};
M.prototype.ucb=function(a){var b=this.iJa,d=q.b.Xb(a);this.Laa();b&&b(a,d.x-this.Eja,d.y-this.Fja);this.B4=d.x;this.C4=d.y};M.prototype.scb=function(a){if(a.keyCode==w.Ih){var b=this.vL;if(b)return this.Laa(),b(),q.b.Ea(a),!1}};M.prototype.Laa=function(){if(this.rcb)this.T9(this.SU);else{var a=q.b,b=this.SU;a.BI(b);var d=a.S()==q.ia?this.QM:null;delete this.QM;a.yH(b,this.Hc.documentElement,d)}this.vL=this.iJa=this.Xma=null};m("AdfDhtmlPage.prototype.stopDrag",M.prototype.Laa);
M.prototype.rl=function(){return this.Xma?!0:!1};m("AdfDhtmlPage.prototype.isDragging",M.prototype.rl);M.prototype.aVa=function(a){this.okb=a};m("AdfDhtmlPage.prototype.setOnLoadCallback",M.prototype.aVa);M.prototype.urb=function(){this.kOa=!0};m("AdfDhtmlPage.prototype.preloadImages",M.prototype.urb);M.prototype.om=function(){return this.Wha};m("AdfDhtmlPage.prototype.getActiveComponentId",M.prototype.om);M.prototype.kqb=function(){return this.mOa};
m("AdfDhtmlPage.prototype.getPreviouslyActiveComponentId",M.prototype.kqb);function Va(a,b){var d=null!=b?q.b.getElementById(b):null;a.GT(d,b)}M.prototype.Hpb=function(){return this.wd};m("AdfDhtmlPage.prototype.getActiveDomElement",M.prototype.Hpb);M.prototype.es=function(){var a=this.Wha;return null!=a?this.m(a):null};m("AdfDhtmlPage.prototype.getActiveComponent",M.prototype.es);
M.prototype.GT=function(a,b){u.iqa(a);u.$d(b);void 0===a&&(a=null);var d=this.es(),e=this.wd;if(q.b.S()==q.ia&&e&&a&&"BODY"==a.tagName&&this.Gg().sH(e))return J.CO(e,1),!1;this.mOa=this.Wha;this.wd=a;this.Wha=b;Ma.BO(this.BB,this,M.cWa,e,a);Ma.BO(this.BB,this,A.Uva,d,this.es());return!0};m("AdfDhtmlPage.prototype.__setActiveDomNodeInfo",M.prototype.GT);
M.prototype.Hg=function(a){if(a){u.s(a,Qa);var b=a.getType();if(1==this.Gx&&nh.JR!=b)v.l.info("Redirect in progress... refusing to queue event : ",a);else{lc.At!=b&&rh.dda!=b||this.ge.tha(a);1==a.aa()&&(void 0!==this.l5&&1==this.l5?this.Cc(!1,!1,!0,"user click event : ",a):this.Cc(!0,!0,!0,"user click event: ",a));M.UCa===this.XKa&&a.Vd()&&(v.l.fine("Page level messages cleared by the following event: ",a),b=es(this,null,!1),A.c.Ne(b));if(a.Kb()){v.l.fine("Client validation triggered by the following event: ",
a);var d=a.getSource(),b=a.pb();var e=d.g9(a),f=!0;if(null!=e){for(var g=d.g(),h=g.lastIndexOf(":"),d=[];0<h;)g=g.substring(0,h),h=this.m(g),null!=h&&h instanceof AdfRichSubform&&d.push(g),h=g.lastIndexOf(":");for(g=0;g<e.length;g++){var l=e[g],n=Array(l);if(l)for(n=l.Cd(n),l=0;n&&l<n.length;l++){var t=n[l];if(null!=t&&t instanceof AdfUIEditableValue&&(!b||t.getImmediate())){for(var y=t.g(),h=y.lastIndexOf(":"),z=null;0<h;){y=y.substring(0,h);h=this.m(y);if(null!=h&&h instanceof AdfRichSubform){z=
y;break}h=y.lastIndexOf(":")}h=!0;if(null!=z)if(y=d.length,0<y)for(subformIdIndex=0;subformIdIndex<y&&z!=d[subformIdIndex];subformIdIndex++)subformIdIndex==y-1&&(h=!1);else 0==this.m(z).getDefault()&&(h=!1);h&&(1==t.getValid()?t.getRequired()&&(z=I.Fb(t),C.Iy(z)&&(t.Wi(),0==t.getValid()&&(f=!1))):(z=I.Fb(t),C.Iy(z)&&(z=t.g(),this.ps(z)?f=!1:(t.Wi(),t.getValid()||(this.ps(z)?f=!1:v.l.severe("AdfDhtmlPage._processValidators: Ignoring that the component with the id '"+z+"' is invalid because there are no messages to show the user."))))))}}}}if(!f){a.cancel();
this.sq();v.l.info("Client validation failed. The following event that triggered the validation was not queued as a result: ",a);return}}this.Tja.push(a);this.iP()!=A.P_&&this.FT()}}};m("AdfDhtmlPage.prototype.queueEvent",M.prototype.Hg);M.prototype.FT=function(a){fs(this,a)};m("AdfDhtmlPage.prototype.__queueEventTimerIfNeeded",M.prototype.FT);
M.prototype.As=function(a){u.assert(!this.aG);if(a)if(u.s(a,Qa),1==this.Gx&&nh.JR!=a.getType())v.l.info("Redirect in progress... refusing to queue event : ",a);else{if(a.PP()&&0==a.fk()){var b=a.getSource(),d=b.g(),e=this.L3,f=e[d];f||(f=0,b.o()&&b.o().WC(b,!0));e[d]=f+1}this.Sx.push(a);this.iP()!=A.P_&&this.FT()}};m("AdfDhtmlPage.prototype.queueEventToServer",M.prototype.As);M.Q8a=function(a){a.ara();a.z$()};m("AdfDhtmlPage.__setNonHtmlResponse",M.Q8a);M.R8a=function(a){a.Xc(!0);a.z$()};
m("AdfDhtmlPage.__setNonHtmlResponsePartialSubmit",M.R8a);M.H8a=function(a,b){A.c.ta(A.c,M.cmb,{km:a,focus:b},100)};m("AdfDhtmlPage.__scrollComponentIntoView",M.H8a);M.cmb=function(a){A.c.m(a.km).scrollIntoView(a.focus)};M.Bnb=function(){var a=A.c;a.bM=void 0;a.H4=void 0;if(a.tla||a.s5||a.aG)fs(a);else{gs(a);var b=a.Sx.lZ();0<=b&&fs(a,b)}};
function fs(a,b){if(void 0===b||50>b)b=50;var d=!1,e=(new Date).getTime()+b;void 0!==a.bM&&(u.assert(void 0!==a.H4),a.H4>e?a.ic(a.bM):d=!0);d||(a.H4=e,d={},15E3>=b&&(d={isSynchronized:"true"}),a.bM=a.ta(a,M.Bnb,null,b,d))}function gs(a){if(!a.s5){var b=a.Tja;try{a.s5=!0;do{var d=b.shift();if(!d)break;d instanceof D||v.l.fine("Broadcasting:",d);d.getSource().ki(d)}while(1)}finally{a.s5=!1}}a.Yf().vm()==Qe.an&&hs(a)}
function hs(a,b,d){if(!a.Zg()&&!a.Gx&&!a.sx&&1!=a.aG){a.aG=!0;var e=a.wj()?E.zc(a.Ud().FO()):!0,f,g=a.VW,h=null;if(g){h=[];f=g.length;for(var l=0;l<f;l++){var n=g[l];a.m(n)&&h.push(n)}h.length||(h=null)}f=h;var t=0<a.NX&&0<a.Wt,y=!e&&a.ioa&&0<a.Wt,z=a.RX,B=t||y||0<z.length,n=null!=a.eH;a.Sx.Wi();var F=a.Sx.oZ(),K=null!=f||B||n,e=!1;if(F||K||b){b={};var P={},g=!0,Q=null,da=M.kka,ba=0!=(a.z9()&M.Mya),h=!1;if(a.Gm())var ta=Hf.$(Hf.No);null!=f&&(l=f.join(","),b[M.Jya]=l,a.Gm()&&ta.naa(l),Q=da(a.m(f[0])),
a.VW=null);var Ha=cs(a,F||null!=b[M.Jya]);if(Ha)b["oracle.adf.view.rich.DELTAS"]=Ha;else if(!F&&!K){a.aG=!1;return}f=!1;var l={},Eb=a.Sx.Zua(K,Ha),Ha=K=null,fb=Eb.length;if(1==fb){var Ya=Eb[0];Ya.PP()?Ya.h$()&&(Ha=Ya):K=Ha=Ya}for(var Ya=[],Lb=[],Kc=!1,fb=fb-1;0<=fb;fb--){var hc=Eb[fb],Rc=hc.getType();l[Rc]=Rc;var Ad=hc.getSource(),Qc=Ad.g();e||(e=hc.OP());var oc=da(Ad);null==Q&&(Q=oc);if(Q==oc){if(Qc){Qc in P||Ya.push(Qc);var oc=hc.kP(),Yb=P[Qc];if(!Yb)Yb=[],P[Qc]=Yb;else if(Yb[Rc])continue;Yb[Rc]=
!0;var ye=hc._adfServerParams;ye&&(b=E.Rb(ye,b));Yb.unshift(oc);a.Gm()&&!Kc&&ta.iaa(hc.getType(),Qc,Ad.getComponentType(),Ad.De())}else v.l.severe("Can not post events for ",component," because it has no clientId");oc=hc.$H()&&!hc.j$();f=f||hc.qca();!ba||oc||Rc!=ab.cd||hc.j$()||(h=oc=!0);g&=oc}else v.l.severe("Only submits to a single form are currently supported");if(hc=Ad.g9(hc)){if(null!==Lb){Rc=!1;for(index=0;index<hc.length;index++)Ad=hc[index].g(),Rc=Rc||Qc==Ad,Lb.push(Ad);Rc||Lb.push(Qc)}}else Lb=
null;a.Gm()&&!Kc&&(ta.pv((new Date).getTime().toString()),Hf.dz(Hf.No),b["oracle.adf.view.rich.monitoring.UserActivityInfo"]=Hf.s9(),Kc=!0)}0<Ya.length&&(b.event=Ya.join(","));for(var Gd in P)b["event."+Gd]=is(P[Gd]);ta=null;if(B){ta={};if(t||y){Gd=y?a.Ud().FO():a.w7;a.w7={};a.NX=0;a.ioa=!1;t=[];y=[];for(currClientId in Gd)null==Q&&(Q=da(a.m(currClientId))),a.Ud().Qta(t,y,currClientId);b["oracle.adf.view.rich.START_ACTIVE_DATA"]=t.join(",");b["oracle.adf.view.rich.START_ACTIVE_DATA_EVENT_IDS"]=y.join(",")}0<
z.length&&(a.RX=[],b["oracle.adf.view.rich.STOP_ACTIVE_DATA"]=z.join(","),F||a.Cc(!1,!1,!0,"user click event: ","oracle.adf.view.rich.STOP_ACTIVE_DATA"))}if(null==Q){a:{Q=a.R().forms;Gd=Q.length;for(z=0;z<Gd;z++)if(F=Q[z],(da=F.id)&&a.m(da)){Q=F;break a}Q=null}if(!Q){a.aG=!1;return}}u.assert(Q,"No form found;  cannot postback");n&&(ta||(ta={}),ta=E.Rb(ta,a.eH),delete a.eH,Q&&"true"==ta["Adf-Window-Opened"]&&(Q.action=a.Y().location.href));C.ZH(Q)&&(n=Q.action,Gd=a.pf(),z=a.Fr,n=Kf.jL(n,Gd),Q.action=
Kf.gha(n,z),d&&Q.setAttribute("enctype","application/x-www-form-urlencoded"));ta=js(a,ta);a.Oy()&&C.l9(Q)&&(g=!1);d=null;null!=K?d=K.getSource().g():g&&Lb&&Lb.length&&(d=Lb.join(","));null!=d&&(b["oracle.adf.view.rich.PROCESS"]=d);g&&h&&(b["oracle.adf.view.rich.PPR_FORCED"]="true");d={};d.x4=Ha;d.Nlb=e;d.Qab=l;d.z8a=a.VX?!0:!1;delete a.VX;null!=K?(f=!1,d.Xjb=!0):a.Sx.oZ()&&(f=!0);g?(ks(a,Q,b,ta,f,d,Ya),a.Cc(!1,!1,!0,"deliver PPR request. Event: ",b.event),a.l5=!0):(a.Cc(!1,!1,!0,"deliver full postback request. Event: ",
b.event),a.wj()&&null!=a.oh&&(b["Adf-Ads-Page-Id"]=a.oh),ls(a,Q,b,f,null==K))}a.aG=!1}}function js(a,b){b||(b={});null!=a.oh&&(b["Adf-Ads-Page-Id"]=a.oh);return b}M.K2=function(a,b){b&&(a._adfServerParams=b)};m("AdfDhtmlPage.__addServerParamsToEvent",M.K2);M.prototype.s8a=function(){return this.T5};m("AdfDhtmlPage.prototype.__getLastDomEvent",M.prototype.s8a);
M.prototype.wRa=function(a){var b=a.getSource(),d=b.g(),e={event:d};e["event."+d]=is(Array(a.kP()));(a=cs(this,!1))&&(e["oracle.adf.view.rich.DELTAS"]=a);b=M.kka(b);a=b.hasAttribute("target")?b.getAttribute("target"):"";b.setAttribute("target",M.q4a);var f,g;if(d=C.ZH(b))g=this.pf(),f=b.getAttribute("action"),b.setAttribute("action",Kf.jL(f,g)),g=b.getAttribute("enctype"),b.setAttribute("enctype","application/x-www-form-urlencoded");ls(this,b,e,!1,!1);b.setAttribute("target",a);d&&(b.setAttribute("action",
f),b.setAttribute("enctype",g))};m("AdfDhtmlPage.prototype.deliverEventToNewWindow",M.prototype.wRa);function is(a){var b=q.b,d=b.Gu(),e=d.createElement("TEMP");b.S()==q.ia?d.documentElement=e:d.appendChild(e);a=1<a.length?a:a[0];e=gb.getDefault().Ry(e,a,null);return b.Tu(e)}
M.prototype.Ri=function(a){var b,d;try{if(1==a.nodeType&&a.id==M.yfa)for(d in this.rY(),this.sr)b=this.sr[d],null!=b&&b.Uz();else{var e=[];ms(this,a,0,e,!1);for(var f=e.length-1;0<=f;f--){var g=e[f];if(null!=g){var h=g.length;for(a=0;a<h;a++)d=g[a],b=this.m(d),null!=b&&b.Uz()}}}}catch(l){v.l.dv(l,"remove components in subtree")}};m("AdfDhtmlPage.prototype.removeComponentsInSubtree",M.prototype.Ri);
function ns(a){var b=A.c,d=M.gRa,e=[];ms(b,a,0,e,!1);for(a=e.length-1;0<=a;a--){var f=e[a];if(null!=f)for(var g=f.length,h=0;h<g;h++){var l=b.m(f[h]);null!=l&&d(l,void 0)}}}M.gRa=function(a){var b=a.o();b&&b.ak(a,!0)};m("AdfDhtmlPage.cancelAllPopupsCallback",M.gRa);function os(a,b,d,e,f){if(b&&a.m(b)){var g=a.nN[b];if(g)for(var h in g)for(var l=g[h].jpb.firstChild;l;)ms(a,l,d+1,e,f),l=l.nextSibling;a=e[d];null==a?(a=Array(b),e[d]=a):a.push(b)}}
function ms(a,b,d,e,f){u.Hb(b);var g=b.nodeType;if(8==g)(b=bs(b))&&os(a,b,d,e,f);else if(1==g&&(!f||C.kb(b))){g=b.firstChild;if(null!=g){var h=d+1;do{switch(g.nodeType){case 1:case 8:ms(a,g,h,e,f)}g=g.nextSibling}while(null!=g)}os(a,b.id,d,e,f)}}M.prototype.j8a=function(){var a=this.R().getElementById(M.WDa);return a&&"dirty"==a.value?(this.Y().location.reload(!0),!0):!1};m("AdfDhtmlPage.prototype.__checkRichResponseDirty",M.prototype.j8a);
M.HOa=function(){var a=document.getElementById("adfFrameBustStyle");a&&a.parentNode.removeChild(a)};M.jgb=function(a){if("_adfShowBody"===a.data){a=a.origin;for(var b=A.c,d=b.V9a,e=d.length,f=0;f<e;f++)if(d[f].test(a)){M.HOa();M.au(b.FB);break}}};M.prototype.X8a=function(a){if(self==top)M.HOa();else if(a){window.addEventListener("message",M.jgb);for(var b=a.length,d=[],e=0;e<b;e++)d[e]=new RegExp(a[e],"i");this.V9a=d}};m("AdfDhtmlPage.prototype.__setUpFrameBusting",M.prototype.X8a);
M.prototype.D8a=function(){var a=this.Y(),b=q.b;try{this.Tj&&(a.I9a=(new Date).getTime());for(var d=M.nfa.start(),e=this.R(),f=M.aCa,g=0;g<f.length;g++)e.addEventListener(f[g],M.qla,!0);var h=this.D(this.xOa);b.hi(e,h);this.yOa=h;this.opa=b.pO();b.Fp(e,M.lma);this.v6=this.D(this.Ifb);b.ba(a,"beforeunload",this.v6);this.Tj&&(a.K9a=(new Date).getTime());M.au(this.FB);this.Tj&&(a.J9a=(new Date).getTime());for(var a={},l=document.getElementsByTagName("link"),e=0,n=l.length;e<n;++e){var t=l[e].getAttribute("href");
t&&(a[t]=!0)}this.Bx=a;if(this.kOa)for(var y=document.getElementsByTagName("IMG"),l=0;l<y.length;l++)(new Image(1,1)).src=y[l].getAttribute("src");Dr(this);var z=this.okb;if(z){var B=M.Qda.start();z();M.Qda.stop(B)}}finally{if(b=b.getElementById("afr::Splash"))b.style.display="none";this.$R(A.Y0)}this.Gla=!0;this.x7();this.sx=!1;M.nfa.stop(d);ps(this);this.Gx=!1;xd.$().Kaa(this);if(this.Tj){var F=this.Y(),b=F.r3,d=(new Date).getTime(),y=F.Ntb-F.Otb,z=F.Jtb-F.Ktb,K=F.Ytb,B=F.Xtb-K,l=F.kub-F.lub,n=
F.Ltb-F.Mtb,t=F.eub-F.fub,a=F.cub-F.dub,e=F.gub-F.hub,P=F.mub,f=P-F.nub,Q=F.Qtb,g=F.Ptb-Q,h=F.iub-F.jub,da=F.G9a-F.H9a,ba=F.Ttb-F.Utb,ta=F.Ztb-F.$tb,Ha=F.Vtb,Eb=Ha-F.Wtb,fb=F.aub-F.bub,Ya=F.Rtb-F.Stb-da,K=K-P,Q=Q-Ha,Ha=F.I9a-b,F=F.J9a-F.K9a;v.Yc.info("initial page load started;",b);v.Yc.info("CSS skin load time;;",l);v.Yc.info("JS Trinidad library load time;;",n);v.Yc.info("JS profiler library load time;;",t);v.Yc.info("JS bootstrap library partition load time;;",z);v.Yc.info("JS prelude script time;;",
a);v.Yc.info("JS profiler script load time;;",e);v.Yc.info("JS core library partition load time;;",y);v.Yc.info("JS translations library load time;;",f);v.Yc.info("HTML layout time;;",K);v.Yc.info("JS library partitions load time;;",B);v.Yc.info("JS load script time;;",ta);v.Yc.info("JS load extended scripts;;",Eb);v.Yc.info("onload handler time;;",Q);v.Yc.info("JS elements added time;;",g);v.Yc.info("JS render skin properties time;;",h);v.Yc.info("JS create components time;;",Ya);v.Yc.info("JS add components time;;",
da);v.Yc.info("JS execute extended scripts time;;",ba);v.Yc.info("JS execute ppr init script time;;",fb);v.Yc.info("pre-load total time;;",Ha);v.Yc.info("resize time;;",F);v.Yc.info("initial page load done;",d,";",d-b);b=(new Date).getTime();this.rG=b-d;this.xG=!1}else this.YW&&(F=this.Y(),b=F.s3,d=(new Date).getTime(),v.Yc.info("initial page load started;",b),v.Yc.info("initial page load done;",d,";",d-b),b=(new Date).getTime(),this.rG=b-d,this.xG=!1);d=this.R();b=d.createElement("div");b.setAttribute("id",
"hiContrastTestEl");d.body.appendChild(b);y=window.getComputedStyle(b);z=y.backgroundImage;B=!1;(B=y.borderTopColor==y.borderRightColor||null!=z&&("none"==z||"url (invalid-url:)"==z))&&this.ta(this,this.Kua,!0,100);d.body.removeChild(b);v.l.ek().flush()};m("AdfDhtmlPage.prototype.__onLoad",M.prototype.D8a);M.prototype.Wpb=function(){return this.cV};m("AdfDhtmlPage.prototype.getFacesPath",M.prototype.Wpb);M.prototype.YZ=function(a){this.cV=a;xd.$().YZ(a)};m("AdfDhtmlPage.prototype.setFacesPath",M.prototype.YZ);
M.prototype.UTa=function(a,b,d,e){a=this.cV+a;null!=b&&(a+=b);b=null;null!=e&&(b={},b[M.Gt]=e);Fr(this,!0);this.Yf().Gs({Xib:d},a,b,"_",[this])};m("AdfDhtmlPage.prototype.loadView",M.prototype.UTa);
M.prototype.Cc=function(a,b,d,e){u.dc(a);u.dc(a,b);u.dc(d);if(this.Tj||d&&this.YW){for(var f=this.Y(),g=this.Tj?f.r3:f.s3,h=4;h<arguments.length;h++)e+=arguments[h];h=(new Date).getTime();void 0===this.rG&&(this.rG=0);var l=h-this.rG;if(a){var n=v.Yc.ek(),t=Ic.prototype.isPrototypeOf(n);t&&b?(n.Kp(),l=(new Date).getTime(),this.rG=0,v.Yc.info(e,";",l),this.xG=!1):t&&!b&&(this.xG?v.Yc.info(e,";",l):v.Yc.info(e,";",l,";",l-g),n.Kp(),this.xG=!0,this.rG+=(new Date).getTime()-h);this.Tj?f.r3=l:f.s3=l}else this.xG?
(v.Yc.info(e,";",l),this.Tj?f.r3=l:f.s3=l):v.Yc.info(e,";",l,";",l-g),this.xG=!1}};m("AdfDhtmlPage.prototype.__perfTimings",M.prototype.Cc);M.prototype.Kua=function(a){var b=this.R();this.Ula=a;1==a?C.w(b.body,"p_AFHighContrast"):C.O(b.body,"p_AFHighContrast")};m("AdfDhtmlPage.prototype.setHighContrast",M.prototype.Kua);M.prototype.Nqb=function(){return this.Ula};m("AdfDhtmlPage.prototype.isHighContrast",M.prototype.Nqb);M.kka=function(a){u.s(a,G);return a.o()?(a=I.oy(a))?C.lf(a):null:null};
function qs(a,b,d){u.J(d);var e=q.b.lf(b,d);e||(e=a.R().createElement("input"),e.type="hidden",e.name=d,b.appendChild(e));return e}M.Xub=function(a){u.assert(a,"Invalid form;  cannot remove elements");if(a=a.elements)for(var b=null,d=a.length-1;0<=d;d--)(b=a.item(0))&&b.parentNode.removeChild(b)};function rs(a){for(;null!=a;)if(a.RZ(G.U0))a=a.getParent();else return a}
M.prototype.xOa=function(a){var b=this.Dg();if(!b||!b.rl()){var d=q.b;d.S()==q.ed&&a&&"keypress"==a.type&&27==a.keyCode&&a.preventDefault();this.$R(A.P_);try{a||(a=this.Y().event);var e=this.Ot();e&&e.Iha(a);var f=this.Tx;f&&f.Dha(a);this.T5=a;var g=d.ca(a);if(null!=g&&null!=g.nodeType){var h=this.es(),l=I.Cf(g),n=a.type,t=d.DZ(n);if("click"==n){e=g;for(delete this.MW;null!=e&&"A"!=e.nodeName;)e=e.parentNode;if(null!=e){var y=e.href;if(null!=y){var z=e.getAttribute("href");z&&0==z.indexOf("#")||(this.MW=
y)}}}else if("focus"==t){if(this.I3&&(this.ic(this.I3),this.I3=null),!this.GT(g,l?l.g():null)){d.Ea(a);return}}else"blur"==t&&(this.I3=this.ta(this,this.lmb,{activeElement:document.activeElement},1,{isSynchronized:!0}));if(null!=l){var B=l.o();if(B){if(t==ha.Oc||t==ha.Nd){if(B.jq()){var F=rs(l);if(F){var K=I.xm(F);K&&(t==ha.Oc?C.w(K,I.Jba):C.O(K,I.Jba))}}}else if("mouseover"==n||"mouseout"==n)if(!d.vv()||d.Dd()&&"Windows"!=q.Bh())v.l.info("The skinning's hover-target pseudo class is not supported on this configuration.");
else if(F=rs(l)){F.o().bind(F);var P=I.xm(F),Q=this.Xha;if("mouseover"==n)P&&P!=Q&&(Q&&(delete this.Xha,C.O(Q,I.IJ)),this.Xha=P,C.w(P,I.IJ));else if("mouseout"==n&&Q){var n=!0,da=d.py(a);if(da&&null!=da.nodeType)if(Q==da)n=!1;else{var ba=I.Cf(da);if(ba=rs(ba)){var ta=ba.o();ta.bind(ba);ta.i()==Q&&(n=!1)}}else n=!1;n&&(C.O(Q,I.IJ),delete this.Xha)}}Ec(B,l,a);var Ha=B.w8(l,a,h);if(Ha){u.assert(Ha.getSource()===l,"event generation can't change event source");switch(Ha.getType()){case ha.Oc:v.l.fine("Focus: ",
l);delete this.Y6;this.GT(g,l.g());ss(this,Ha);break;case ha.Nd:ss(this,Ha)}b&&D.prototype.isPrototypeOf(Ha)&&b.qha(Ha);l.Hg(Ha);var Eb=this.opa.Hu(Ha);Eb&&l.Hg(Eb);gs(this);var fb=this.Sx.lZ();0<=fb?fs(this,fb):void 0!==this.bM&&(this.ic(this.bM),this.H4=this.bM=void 0)}this.wF&&this.Yf().vm()==Qe.an&&this.zA()}else v.l.severe("Peer null during event redistribution for component id: "+l.g())}}}finally{this.$R(A.Y0),v.l.ek().flush()}}};
function ss(a,b){var d=a.HL;if(null!=d){var e=b.getType(),d=d[e];null!=d&&Ma.uO(d,b)}}M.prototype.lmb=function(a){this.I3=null;a=a.activeElement;var b=null;a==document.activeElement?(q.b.dP(a)&&(b=I.Cf(a)),a=b?b.g():null,this.om()!=a&&Va(this,a)):v.l.fine("activeElement not equal document.activeElement in AdfDhtmlPage.prototype._setActiveTimeout")};
M.prototype.sRa=function(a,b,d){u.u(a);u.Da(b);u.J(d);var e=a.ownerDocument,f=e.createElement("DIV"),g=f.style;g.zIndex=b;g.position="absolute";g.visibility="hidden";b=e.createElement("SPAN");b.style.display="block";b.className=d;f.appendChild(b);a.appendChild(f);return f};m("AdfDhtmlPage.prototype.createFloatingDiv",M.prototype.sRa);M.prototype.qVa=function(a,b){ts(a);a.firstChild.appendChild(b);a.style.visibility="visible"};m("AdfDhtmlPage.prototype.showFloatingDiv",M.prototype.qVa);
M.prototype.nTa=function(a){u.u(a);var b=a.style;b.visibility="hidden";b.top="-100px";b.left="-100px";ts(a)};m("AdfDhtmlPage.prototype.hideFloatingDiv",M.prototype.nTa);function ts(a){u.u(a);a=a.firstChild;for(var b=a.firstChild,d;b;)d=b.nextSibling,a.removeChild(b),b=d}M.prototype.SC=function(a){this.Gg().SC(a)};m("AdfDhtmlPage.prototype.prepareMaskingFrame",M.prototype.SC);M.prototype.vH=function(a){var b=this.Gg().vH(a);this.x$(a,b);return b};m("AdfDhtmlPage.prototype.createMaskingFrame",M.prototype.vH);
M.prototype.x$=function(a,b){var d=b.style,e=q.b.jc(a);d.top=e.y+"px";d.left=e.x+"px";d.width=a.offsetWidth+"px";d.height=a.offsetHeight+"px";d.visibility="visible"};m("AdfDhtmlPage.prototype.moveMaskingFrame",M.prototype.x$);M.prototype.UC=function(a){this.Gg().UC(a)};m("AdfDhtmlPage.prototype.removeMaskingFrame",M.prototype.UC);M.prototype.Upb=function(){return this.Hc};m("AdfDhtmlPage.prototype.getDocument",M.prototype.Upb);M.prototype.R=function(){return this.Hc};
m("AdfDhtmlPage.prototype.getDomDocument",M.prototype.R);M.prototype.Y=function(){return this.wf};m("AdfDhtmlPage.prototype.getDomWindow",M.prototype.Y);M.prototype.eva=function(a,b){v.l.finest("Show glasspane");u.assert(a);u.J(b);var d=this.pC();ds(this,!0);d.style.visibility="visible";var e=q.b;e.yI(a);e.setCursor(d,e.getCursor(b));d=e.S()==q.ia?this.Hc.documentElement:d;this.QM=e.wI(a,d)};m("AdfDhtmlPage.prototype.showGlassPane",M.prototype.eva);
M.prototype.T9=function(a){u.assert(a);v.l.finest("Hide glasspane");var b=q.b,d=this.pC();b.setCursor(d,"auto");b.BI(a);var e=b.S()==q.ia?this.Hc.documentElement:d;b.yH(a,e,this.QM);this.QM=null;a=d.style;a.cursor="auto";a.visibility="hidden";a.height="1px";a.width="1px";b.AH(this.R())};m("AdfDhtmlPage.prototype.hideGlassPane",M.prototype.T9);M.prototype.Dg=function(){var a=this.TIa;void 0===a&&(this.TIa=a=this.Y().AdfDhtmlDnDContext?new mo:null);return a};
m("AdfDhtmlPage.prototype.getDnDContext",M.prototype.Dg);M.prototype.UFa=function(){delete this.TIa};m("AdfDhtmlPage.prototype.__clearDnDContext",M.prototype.UFa);M.prototype.pC=function(){var a=this.Cka;a||(this.Cka=a=this.eja(this.R()));return a};m("AdfDhtmlPage.prototype.getGlassPane",M.prototype.pC);
M.prototype.eja=function(a){var b=a.createElement("div");b.className="AFBlockingGlassPane";var d=b.style;d.position="absolute";d.left="0px";d.top="0px";bj&&(d.zIndex=bj.Zra()+1);d.visibility="hidden";d.tabIndex=-1;d=q.b;d.S()==q.Ica&&(b.onmousedown=function(){return!1});d.ae(b);a.body.appendChild(b);d.fe(b,0);return b};
function ds(a,b){var d=a.Cka;if(d&&(d=d.style,b||"visible"==d.visibility)){var e=a.R().body,f=Math.max(e.offsetWidth,e.scrollWidth);d.height=Math.max(e.offsetHeight,e.scrollHeight)+"px";d.width=f+"px"}}M.prototype.aOa=function(a){this.R();var b=this.pC(),d=q.b;if(b){var e=b.style;if(a||"visible"==e.visibility){var f=d.Y();a=d.vo(f);d=d.pl(f);e.height=a+"px";e.width=d+"px";(e=this.R7)&&this.x$(b,e)}}};
function Fr(a,b,d){d||(d=M.tFa);var e=q.b,f=a.R();if(b){if(0==a.YN.length){var g=q.b,h=g.S()==q.ia,l=a.pC();l.onkeydown=q.Td;l.onkeyup=q.Td;l.onkeypress=q.Td;l.onmousedown=q.Td;l.onmouseup=q.Td;l.onmouseover=q.Td;l.onmouseout=q.Td;l.onclick=q.Td;g.vO(l,!0);var n=a.R7=a.vH(l);C.w(n,"AFBlockingMaskingFrame");var t=n.document;null!=t&&g.vO(t,!0);h?J.va(l):g.d$(f,!0);if(h=a.wd)a.xGa=h.id;h=g.Y();g.ba(h,"resize",a.bOa);g.fe(l,M.Qza);g.fe(n,M.Qza);g=l.style;a.aOa(!0);g.visibility="visible";e.hz(f,b);Sr(a,
!0)}a.YN.push(d)}else d=E.lastIndexOf(a.YN,d),u.assert(-1<d),a.YN.splice(d,1),0==a.YN.length&&(e.hz(f,b),Sr(a,!1),b=q.b,b.S(),b.vO(f,!1),e=a.R7,delete a.R7,d=e.document,null!=d&&b.vO(d,!1),C.O(e,"AFBlockingMaskingFrame"),a.UC(e),e=a.pC(),e.onkeydown=null,e.onkeyup=null,e.onkeypress=null,d=e.style,d.cursor="auto",d.visibility="hidden",d.height="0px",d.width="0px",g=a.xGa,delete a.xGa,g&&((d=a.R().activeElement)||(d=a.wd),((g=b.R().getElementById(g))&&e==d||g&&!d)&&J.va(g)),(b.S()!=q.ia||b.S()==q.ia&&
10<b.Ib())&&b.d$(f,!1),f=b.Y(),b.xa(f,"resize",a.bOa))}M.prototype.Caa=function(a){null==this.kN&&(this.kN=us.$());this.kN.display(a,this.R());a?(q.b.fe(this.Q7,50),this.Q7.style.backgroundColor=this.kN.via):(q.b.fe(this.Q7,0),this.Q7.style.backgroundColor="")};m("AdfDhtmlPage.prototype.showPageProcessingIndicator",M.prototype.Caa);M.prototype.Rqb=function(){return null!=this.kN&&this.kN.XL};m("AdfDhtmlPage.prototype.isProcessingIndicatorDisplayed",M.prototype.Rqb);
M.prototype.pq=function(a){if(a.se()==yf.Oo){var b=a.getContext();if(b){var d=b.eRa,e=this.L3,f;for(f in d){var g=e[f]-d[f];u.assert(0<=g);0==g?(delete e[f],(g=this.m(f))&&g.o().WC(g,!1)):e[f]=g}}d=a.ls();vs(this,"complete",{context:b,event:a});if(200==d){var h;a.getResponseHeader&&(h=a.getResponseHeader("Adf-Window-Id"));h&&(A.c.Y().name=h);a.LC()?(this.Cc(!1,!1,!0,"PPR response from server received"),d=a.qo(),d=ws(this,d,b),this.qX?vs(this,"error",{context:b,event:a}):vs(this,"success",{context:b,
event:a}),d&&b&&b.Xjb&&(this.Gx=!1),h&&!d&&A.c.x7(),this.Gm()&&!d&&(prevActInfo=Hf.$(Hf.$m),prevActInfo.fz((new Date).getTime().toString()),Hf.dz(Hf.$m),Hf.Xy(Hf.No)),a=null,b&&(a=b.TFa),a&&M.c2.stop(a),this.Cc(!1,!1,!0,"PPR response processing done"),this.l5=!1,b=M.tFa,a=this.YN,(b?-1<E.indexOf(a,b):0<a.length)&&Fr(this,!1)):xs(this,a.po(),b,a)}else xs(this,null,b,a)}};m("AdfDhtmlPage.prototype.requestStatusChanged",M.prototype.pq);
M.lma=function(a){var b=A.c,d=q.b,e=d.na(a),f=a.shiftKey*w.Bk|a.ctrlKey*w.pi|a.altKey*w.Ao;a.metaKey&&(f|=w.Nq);var e=w.Yg(e,f),g=e.Ps(),f=b.oB[g];if(null!=f){var h=g in M.n1a;if(h){var l=d.ca(a),n=d.Na(l).toLowerCase();"textarea"!=n&&("input"==n?(h=l.type.toLowerCase(),h="text"==h||"password"==h):h=!1)}if(!h){g=b.nma[g];if(f.$Ta){var h=f.kO,l=f.l8,f=null,n=!1,t=0;for(clientId in h)t++;if(1<t){var y=b.R(),z=y.activeElement;z||(z=b.wd);z||(v.l.finest("No known activeElement available for _handleKey."),
z=y.documentElement);y=Number.POSITIVE_INFINITY;for(clientId in h){var B=b.m(clientId);if(B)if(B=I.Fb(B))if(B=C.y9(B,z),0==B){n=!0;f=h[clientId];g=l[clientId];break}else B<y&&(y=B,n=!0,f=h[clientId],g=l[clientId]);else v.l.warning("Unable to locate domElement for clientId \x3d "+clientId+" in _handleKey.");else v.l.warning("Unable to locate component for clientId \x3d "+clientId+" in _handleKey.")}n||v.l.warning("Unable to locate a match for clientId \x3d "+clientId+" in _handleKey.")}if(!n&&1==t)for(clientId in h)f=
h[clientId],g=l[clientId]}!1!==f.call(g,e)&&d.Ea(a)}}};
M.prototype.TC=function(a,b,d){u.s(a,w);u.Ja(b);var e=null;d&&d.km&&(e=d.km);var f=a.Ps();if(f in this.oB){var g=!0;e&&(f=this.oB[f],f.$Ta&&(g=!1,f.kO[e]=b,f.l8[e]=d,v.l.finest("RP.registerKSAdditional, keystroke:callback:clientId ",a," : ",b," : ",e)));g&&v.l.warning("Conflicting shortcut mapping: The keystroke ",a," has already been registered on the RichPage.")}else e?(g={$Ta:!0,kO:{},l8:{}},g.kO[e]=b,g.l8[e]=d,v.l.finest("RP.registerKS, keystroke:callback:clientId ",a," : ",b," : ",e),this.oB[f]=
g):(v.l.finest("RP.registerKS, keystroke:callback ",a," : ",b),this.oB[f]=b,this.nma[f]=d)};m("AdfDhtmlPage.prototype.registerKeyStroke",M.prototype.TC);M.prototype.oz=function(a,b){u.s(a,w);var d=a.Ps();if(b){var e=this.oB[d];e.kO&&1>=e.kO.length?delete this.oB[d]:(delete e.kO[b],delete e.l8[b])}else delete this.oB[d],delete this.nma[d]};m("AdfDhtmlPage.prototype.unregisterKeyStroke",M.prototype.oz);M.prototype.qrb=function(){this.uNa=!0};m("AdfDhtmlPage.prototype.pageIdNotSavedWithURI",M.prototype.qrb);
M.prototype.Vrb=function(a){for(var b=this.R(),d=b.forms.length,e=0;e<d;e++){var f=b.forms[e];u.u(f);if(ys(f)){var g=f.elements[M.Gt],h=null==a?"":a;h!=(null==g?"":g.value)&&(null==g&&(g=b.createElement("input"),g.id=g.name=M.Gt,g.type="hidden",g.autocomplete="off",f.appendChild(g)),g.value=h)}}this.Fr=a;this.Oy()||this.uNa||this.eOa||xd.$().Ms(a)};m("AdfDhtmlPage.prototype.setPageStateId",M.prototype.Vrb);M.prototype.jqb=function(){return this.Fr};m("AdfDhtmlPage.prototype.getPageStateId",M.prototype.jqb);
function ls(a,b,d,e,f){(a.TQa=f)||(d["oracle.adf.view.rich.RESPONSE_EXPECTED"]="no");var g=a.m6;g&&(d["oracle.adf.view.rich.NEW_SESSION_URL"]=g);a.ge.cF();b.target&&0!=b.target.length&&"_self"!=b.target||(a.sx=!0,e&&Fr(a,!0),f?Kr(a):a.ta(a,a.Jlb,null,3E3));e={};a.c4(e,b);E.Rb(e,d);for(var h in e)f=e[h],qs(a,b,h).value=f;q.b.Yr(b);try{b.submit()}catch(l){null!=C.l9(b)&&db.g8(),v.l.rg(l,"doFullPostback form.submit()")}b.action=b.action;for(h in d)d=qs(a,b,h),u.u(d),d.parentNode.removeChild(d)}
function ks(a,b,d,e,f,g,h){u.u(b,"FORM");u.Tc(d);vs(a,"begin",{context:g});f&&Fr(a,!0);f=M.c2.start();var l=E.Rb({},a.L3);g||(g={});g.Frb=!0;g.eRa=l;g.TFa=f;g.CUa=d;g.LRa=b.id;f=a.Yf();var l=null,n=b;C.ZH(b)&&(l=C.l9(b))&&(n=l);var t={};a.c4(t,null!=l?l:b);E.Rb(t,d);d=zs(a,n);null!=l?f.Fs(g,d,e,l,t,[a],null):(h=Gr(a,b,t,h),q.b.Yr(b),f.Gs(g,d,e,h,[a]))}
function As(a){var b=a.R(),d=null,e=b.forms[0];e&&(d=zs(a,e));d&&-1==d.indexOf("j_security_check")||(d=b.location.href,a=d.indexOf("#"),0<a&&(d=d.substring(0,a)));return d}function zs(a,b){var d=q.b.getAttribute(b,M.t1),d=null!=d?d:b.action;d&&""!=d||(d=a.R(),d=d[M.t1]?d[M.t1]:d.location.href);if(!a.Oy()&&a.f_()){var e=d,f=a.xC();null!=f&&(e+=0>d.indexOf("?")?"?":"\x26",e+=M.y1,e=e+"\x3d"+encodeURIComponent(f));d=e}return d}
function Gr(a,b,d,e){u.Au(b,"FORM");u.ji(d);var f={};u.og(e);var g=[];if(null!=e)for(var h=0;h<e.length;h++){var l=e[h],n=g,t=a.m(l);t instanceof AdfUIEditableValue&&n.push(t);n=Bs(l);n!=l&&(l=g,n=a.m(n),n instanceof AdfUIEditableValue&&l.push(n))}if(null!=b&&(b=b.elements))for(e=0;e<b.length;e++){n=b[e];if(l=(h=n.name)&&!n.disabled)var l=a,t=n,y=g,z=Es(t),l=l.QIa?null==z||null!=z.K("_afrFullPost")||!(z instanceof AdfUIEditableValue)||!z.g$()||!z.getValid()||l.ge.IC(z)||l.ge.xha(l,z,t)||-1<E.indexOf(y,
z):!(Fs(t)&&!M.Hkb(z));if(l){l=Es(n);if(n.options)for(f[n.name]=[],t=0;t<n.options.length;t++)y=n.options[t],y.selected&&(z=y.attributes.value,f[h].push(null!=z&&null!=z.value?z.value:y.text));else y=n.value,Fs(n)&&(u.assert(!0),y=""),n=h,t=f[h],null==t||""==t&&null!=y?t=y:null!=y&&""!=y&&(z=null,E.isArray(t)?z=t:(z=[],z.push(t)),z.push(y),t=z),f[n]=t;!a.w4&&null!=l&&(n=l.o())&&(n.bind(l),n.kaa&&(t=f[h],E.isArray(f[h])&&(t=l.getSubmittedValue()),n.kaa(l,t)))}}E.Rb(f,d);a="";for(var B in f)if(d=f[B],
E.isArray(d))for(g=0;g<d.length;g++)a=M.w3(a,B,d[g]);else void 0!=d&&(a=M.w3(a,B,d));return a}M.prototype.c4=function(a,b){var d={};if(null!=b){var e=b.elements;if(e)for(var f=0;f<e.length;f++){var g=e[f],h=g.getAttribute(M.Pya);h&&(d[g.name]=h)}}E.zc(d)||(a["oracle.adf.view.rich.TOKENIZED"]=JSON.stringify(d))};function Gs(a,b){var d=a.R().getElementById(M.WDa);d&&(d.value=b?"dirty":"")}M.prototype.qTa=function(){null==this.bG&&(this.bG=0);++this.bG};
m("AdfDhtmlPage.prototype.incrementPendingAnimation",M.prototype.qTa);M.prototype.C8=function(){null==this.bG?u.assert(!1,"Unable to decrement the pending animation count when it was never incremented in the first place"):(--this.bG,u.assert(0<=this.bG,"More pending animation decrements than increments"))};m("AdfDhtmlPage.prototype.decrementPendingAnimation",M.prototype.C8);
M.prototype.lOa=function(){for(var a=this.Hc.getElementsByTagName("img"),b=a.length,d=0,e=0;e<b;e++){var f=a[e];if(f&&!f.complete){var g=q.b.getComputedStyle(f),h=g.width,g=g.height;if("0px"==h||"auto"==h||"0px"==g||"auto"==g)v.l.finer("An incompletly-loaded image was detected with src \x3d ",f.src,f),d++,C.w(f,M.M1)}v.l.getLevel()==v.FINEST&&null!=f&&v.l.finest("Image load details:",f,f.getAttribute("src"),", w\x3d",f.width,", h\x3d",f.height,", sW\x3d",f.style.width,", sH\x3d",f.style.height,", cmpW\x3d",
h,", cmpH\x3d",g,f.complete?", COMPLETE":", INCOMPLETE",", className\x3d",f.className)}0<d&&(v.l.fine("Number of incomplete images: ",d),null!=this.u5&&this.ic(this.u5),this.ula=1,this.u5=this.ta(this,this.lHa,null,500));this.t5=d};
M.prototype.lHa=function(){this.u5=null;var a=[],b=this.Hc;if(q.b.S()!=q.ia&&b.getElementsByClassName)a=E.ho(b.getElementsByClassName(M.M1));else for(var b=b.getElementsByTagName("img"),d=b.length,e=0;e<d;e++){var f=b[e];C.sa(f,M.M1)&&a.push(f)}for(d=b=0;d<a.length;d++)if((e=a[d])&&e.complete){C.O(e,M.M1);f=I.Cf(e);if(null!=f){this.EA(f);var g=f.o();g&&g.ad&&g.ad(f)}v.l.finer("A previously incompletly-loaded image is now complete with src \x3d ",e.src,", nearestClientComponent \x3d ",f,", imgElement \x3d ",
e)}else b++;v.l.fine("Number of remaining incomplete images (at attempt #",this.ula,"): ",b);0<b&&10>this.ula?(this.ula++,this.u5=this.ta(this,this.lHa,null,500),this.t5=b):(0<b&&v.l.fine("Gave up trying to wait for images to load."),this.zA(),this.t5=0)};
function ws(a,b,d){a.tla=!0;try{var e=b.documentElement;u.assert("partial-response"==q.b.Na(e));var f=C.pa(e);u.assert(null!=f&&1==f.nodeType);var g=Hs(a,f,!1,!1,d);a.XW={};if(g){var h=q.b,l=C.ib(b.documentElement,"changes");if(null!=l){var n=C.ib(l,"extension");if(null!=n&&"adf-redirect-ext"==n.getAttribute("id")){var t=n.childNodes;for(b=0;b<t.length;b++){var y=t[b],z=h.Na(y);if("contextId"==z){if(a.Gm()){var B=h.mc(y);B&&(Hf.$(Hf.$m).TZ(B),Hf.S$())}}else if("redirectCookie"==z){var F=h.mc(y);if(F){var K=
new Date;K.setTime(K.getTime()+3E4);var F=F.replace(/\$exp\$/g,K.toUTCString()),P=F.split("$$");for(c=0;c<P.length;c++)a.R().cookie=P[c]}}}}}}else if(a.zA(),a.Zqa(),d&&d.Nlb){var Q=a.H().Z("AFResponseCompleteStatus");a.Zj(Q)}}finally{a.tla=!1}return g}M.prototype.Yla=function(a){a=this.m(a);return null!=a&&a instanceof AdfUIEditableValue&&a.getImmediate()};
function Is(a,b,d,e,f){var g=q.b,h;for(h in e){var l=g.getElementById(h),n=A.c.m(h);if(!l||!n||ma.lm(e[h],n.getSubmittedValue()))delete e[h];else if(!ma.lm(f[h],n.getSubmittedValue())&&(!d||a.Yla(h)))if(b)for(var n=b.length,t=0;t<n;t++){var y=b[t];if(""!=y){a:{var z=y,y=l,B=!1,F=a.nN[z];if(F){var K=void 0;for(K in F)if(B=V.Nb(F[K].jpb,y)){y=!0;break a}}else B=q.b.getElementById(z),B=C.Nb(B,y);B||0!=y.id.indexOf(z)||(F=A.c,z=F.m(z),y=F.m(y.id),z&&y&&(B=y.Dm(z)));y=B}y&&delete e[h]}}else delete e[h]}}
function Hs(a,b,d,e,f){var g,h,l=C.ib(b,"extension");if(l&&"adf-processed-roots-ext"===l.getAttribute("id")){h={jUa:null,wUa:null,Wsa:!1};if(void 0===l.hasAttribute||l.hasAttribute&&l.hasAttribute("processed")){var n=l.getAttribute("processed");n&&(h.jUa=n.split(" "))}if(void 0===l.hasAttribute||l.hasAttribute&&l.hasAttribute("resetRoot")){var t=l.getAttribute("resetRoot");t&&(h.wUa=t)}var y=l.getAttribute("immediateOnly");h.Wsa="true"===y}g=h;a.rQa=!0;var z=a.qX=!1;try{var B;a.RP()&&a.wj()&&(B={},
E.Rb(B,a.Ud().FO()));var F=q.b,K=F.Na(b);if("changes"==K){var P=null,Q=[],da=[],ba=a.wd,ta=[];if(null!=ba)for(var Ha=ba;Ha;){var Eb=Ha.id;Eb&&(ta[Eb]=ta.push(Ha)-1);Ha=Ha.parentNode}var fb=b.childNodes,Ya=fb.length,Lb,Kc;null!=f&&(Kc=f.Qab);Kc&&Kc[Vb.Pca]&&(a.oF=[]);for(var hc={},Rc={},Ad={},Qc={},oc=0;oc<Ya;oc++){var Yb=fb[oc],ye=F.Na(Yb);if("update"==ye){var Gd;var Bc=a,je=Yb,Ud=Q,gf=da,hd=d,Le=ta,hf=e,wg=hc,zh=Ad,lj=Qc,Nh=Rc;if(je.getAttribute("id")==M.Pw){var ki=je,pf=Bc.R(),sg=q.b,Sf=pf.forms.length;
u.assert(0<Sf);for(var sc=0;sc<Sf;sc++){var Cd=pf.forms[sc];u.u(Cd);if(1==Sf||ys(Cd)){var Yd=sg.mc(ki),Dd=Cd.elements[M.Pw];if(Dd)Dd.value=Yd;else{var hg=pf.createElement("span");hg.innerHTML="\x3cinput type\x3d'hidden' name\x3d'"+M.Pw+"' value\x3d'"+Yd+"' /\x3e";Cd.appendChild(hg)}}}Gd=null}else{var Rd,gk=Bc,zi=hd,li=je.childNodes,Gg=void 0,Vi=li.length;u.assert(1<=Vi,"invalid fragment child count");if(1<Vi){for(var Jj=Array(Vi),mc=0;mc<Vi;mc++){var mi=li[mc];u.assert(4==mi.nodeType,"invalid fragment content");
u.assert(mi.data||mc==Vi-1,"null fragment content");Jj.push(mi.data)}Gg=Jj.join("")}else mi=li[0],u.assert(4==mi.nodeType,"invalid fragment content"),u.assert(mi.data,"null fragment content"),Gg=mi.data;zi&&(Gg=Gg.replace(/__AFR_XML_ELEM/g,"xml"));var Gg="\x3cdiv\x3e"+Gg+"\x3c/div\x3e",Kj=gk.R(),Ie=null,tg=q.b,Ie=tg.getElementById(M.Pfa);Ie||(Ie=Kj.createElement("div"),Ie.style.display="none",Ie.id=M.Pfa,Kj.body.appendChild(Ie),tg.Ia(Ie));tg.S()==q.ia?(Ie.innerHTML="\x3cdiv\x3eie\x3c/div\x3e"+Gg,
Ie.removeChild(Ie.firstChild)):Ie.innerHTML=Gg;var Gk=Ie.firstChild;Ie.removeChild(Gk);Rd=M.jKa(Gk);if(null==Rd)v.l.warning('Unable to locate content in partial page response fragment.  If you are adding a partial target programmatically, try setting clientComponent\x3d"true" on the partial target component.'),Gd=null;else{var Ai={restoreFocusIndex:null,pprNavParams:null,pendingEditableSubtree:null},ig=Rd.getAttribute("id");u.assert(null!=ig,"null id in response fragment");null!=Bc.oF&&Bc.oF.push(ig);
var sh=q.b,th=sh.getElementById(ig);if(null==th)v.l.severe("unable to locate target node: "+ig);else{if("true"==Rd.getAttribute(M.N_a)){var we=Bc.R().body,al=Rd.getAttribute("theme");we.setAttribute("theme",al?al:"");Rd.removeAttribute("theme");var mj=Rd.className;mj!=we.className&&(we.className=mj?mj:"",Bc.Kua(Bc.Ula));Rd.className="";var Hg=Rd.style.cssText;we.style.cssText=Hg?Hg:"";Rd.style.cssText=""}var Ig,Jg=null,Kg=Bc.R().forms[0].action,jg=Kg.indexOf("?");0<=jg&&(Jg=Kg.substring(jg));Ig=Jg;
var oe=Le[ig],Me=I.Cf(th.parentNode),zf=Me?Me.o():null,Hk=Rd.id==M.yfa;if(Hk){var wd=Bc;Pe.$().mO();wd.rna={};Gs(wd,!1);wd.yN={};wd.FB={};wd.FU=[];wd.Sx=new Cr;wd.VW=null;wd.C3={};wd.wj()&&(wd.Wt=1,wd.Ud().reset());wd.vr=null;wd.vu=null;wd.ge.cF()}for(var bl=wg,Ql=zh,ah=lj,hk=Bc.ge.Ara(th),Lj=hk.length,Oh=0;Oh<Lj;Oh++){var Af=hk[Oh],Mj=bl,cl=Ql,bh=ah;if(Af instanceof AdfUIEditableValue){var ni=Af.g(),ch=Af.getSubmittedValue();if(null!=ch){Mj[ni]=ch;var oj=Af.o();oj.bind(Af);if(oj&&oj.ty){var Rl=oj.ty(Af);
cl[ni]=Rl}if(A.c.es()==Af){var ik;b:{var Ph=O.da(Af,null),Je={};try{if("textarea"==Ph.tagName.toLowerCase()||"input"==Ph.tagName.toLowerCase()&&"text"==Ph.type.toLowerCase())Je.ywb=Ph.selectionStart?Ph.selectionStart:0,Je.Sta=Ph.selectionEnd?Ph.selectionEnd:0;else{ik=null;break b}}catch(AD){}ik=Je}bh[ni]=ik}}}}var Sl=th,Do=Nh,jk=Bc.m(Sl.id);if(jk&&"oracle.adf.RichTable"==jk.getComponentType()){var Tl=jk.K("scrollLeft"),Ul=jk.K("scrollTop"),Vl=jk.K("currentlySelectedHeaderId"),Wi={};Wi.scrollLeft=
Tl;Wi.scrollTop=Ul;Wi.selectedHeader=Vl;Do[Sl.id]=Wi}null!=zf?(zf.kua(Me,Rd,th),gf.push(Me.g())):Bc.Hha(Rd,th);null==oe||Hk||(Ai.restoreFocusIndex=oe);var dl=null;Me?(dl=zf.Cqa(Me,Rd),Bc.EA(Me)):dl=Rd;dl&&Ud.push(dl);if(Hk){var Wl=sh.getAttribute(Rd,M.h3a),Eo=sh.getAttribute(Rd,M.g3a);Ai.pprNavParams={viewId:Wl,queryParams:null!=Eo?Eo:Ig}}else hf||Gs(Bc,!0);var Fo=Bc.ZL;if(Fo)for(var el=Wr(Bc,Fo,!0),Nj=0;Nj<el.length;Nj++)if(V.Nb(el[Nj],Rd)){Ai.pendingEditableSubtree=Rd;break}}Gd=Ai}}if(null!=Gd){var Xi=
F.Y().zj&&F instanceof Ee&&F.Mi()!=q.yl;null==Gd.restoreFocusIndex||Xi||(a.Y6=Gd.restoreFocusIndex);null!=Gd.pprNavParams&&(P=Gd.pprNavParams,a.eOa=!0);Gd.pendingEditableSubtree&&(Lb||(Lb=[]),Lb.push(Gd.pendingEditableSubtree))}}else if("eval"==ye){var Go=a,kk=Yb,Ho=kk.getAttribute("src");if(Ho){var vr=Ho;Mr(Go).cy(vr,Nr.UJ)}else{var $m=q.b.mc(kk);$m&&Mr(Go).Xpa($m)}}else if("extension"==ye&&"adf-script-library"==Yb.getAttribute("id")){var Io=a,wr="true"===Yb.getAttribute("background"),Xl=q.b.mc(Yb);
if(wr){var an=Xl;Mr(Io).cy(an,Nr.ZD)}else{var QC=Xl;Mr(Io).cy(QC,Nr.UJ)}}}if(g){var mp=g.jUa,np=g.wUa;a.w4||(np&&Is(a,[np],!1,hc,Ad),mp&&!E.zc(hc)&&Is(a,mp,g.Wsa,hc,Ad));if(np){var RC=[np];a.qX||a.ge.P2(RC,!1)}var SC=mp?mp:[];a.qX||a.ge.P2(SC,!0===g.Wsa)}var TC=P,UC=Lb,VC=B,rj={};rj.resizeDomNodes=Q;rj.domReplacedIds=da;rj.pprNavParams=TC;rj.reqContext=f;rj.savedFocusPath=ta;rj.pendingEditableSubtrees=UC;rj.oldActiveComponents=VC;rj.replacedDirtyValues=hc;rj.selectionRanges=Qc;rj.replacedTableState=
Rc;Mr(a).Z7(a,a.Qlb,rj)}else if("redirect"==K){var Cs=b.getAttribute("url");u.assert(Cs,"Could not get redirect URL");z=!0;Kr(a);a.Cc(!0,!0,!0,"redirect to ",Cs);var WC=a.m(a.fj);a.Gx=!0;(new nh(WC,Cs,f?f._noNavigation:!1)).F(!1)}else if("error"==K){a.qX=!0;for(var vn=null,Ds=0;Ds<b.childNodes.length;Ds++){var fy=b.childNodes[Ds];if("error-message"==F.Na(fy)){vn=F.mc(fy);break}}if(null==vn||0==vn.length)vn="Unknown error during PPR";alert(vn);"true"==b.getAttribute("redirect")&&(Kr(a),document.location.href=
As(a))}else if("noop"!=K)if("retry"==K){var gy=f.LRa,op;gy&&(op=Agent.b.getElementById(gy));op||(op=a.R().forms[0]);ls(a,op,f.CUa,!1,!0)}else u.assert(!1,"invalid root node in rich response")}finally{a.rQa=!1}return z}M.prototype.Vpb=function(){return this.fj};m("AdfDhtmlPage.prototype.getDocumentClientId",M.prototype.Vpb);
M.prototype.Qlb=function(a){var b=a.resizeDomNodes,d=a.domReplacedIds,e=a.pprNavParams,f=a.reqContext,g=a.savedFocusPath,h=a.pendingEditableSubtrees,l=a.replacedDirtyValues,n=a.selectionRanges;a=a.replacedTableState;if(!this.w4){for(var t in l){var y=this.m(t);if(y){this.Ne(y.g());var z=l[t],B=y.o();if(B instanceof O)try{O.E8a(y,B,z)}catch(Q){v.l.fine("component does not support SetDisplayValue")}}}for(var F in a)(l=this.m(F))&&"oracle.adf.RichTable"==l.getComponentType()&&(t=a[F],l.setProperty("scrollLeft",
t.scrollLeft,!0,G.ud),l.setProperty("scrollTop",t.scrollTop,!0,G.ud))}for(var K in a)(l=this.m(K))&&"oracle.adf.RichTable"==l.getComponentType()&&(F=q.b.getElementById(a[K].selectedHeader),(l=l.o())&&F&&Js(l,F));K=q.b;K.S()==q.ia&&8>=Math.floor(K.Ib())?this.ta(this,this.lOa,null,10):this.lOa();0<b.length&&(this.au(b),(b=this.JHa)?this.Cs(b,500):this.JHa=this.ta(this,this.Iab,null,500));0<d.length&&(b=(b=this.HL)?b[Kb.ua]:null,null!=b&&Ma.uO(b,new Kb(this,d)));if(null!=e){this.eOa=!1;if(d=xd.$())d.Z$(e.viewId,
e.queryParams,f?f.Xib:null),this.uNa||d.Ms(this.Fr);ps(this)}if(void 0!=this.Y6){e=this.Y6;u.Mb(g);u.co(e);f=g.length;e>=f&&(e=f-1);f=q.b;d={};for(b=0;b<=e;b++)if(K=f.getElementById(g[b].id),null!=K&&(a=C.VO(K,!1,J.iY,d),a||(a=C.esa(K,K.parentNode,!0,J.iY,d))||(a=C.qsa(K,K.parentNode,J.iY,d)),a)){J.va(a);break}delete this.Y6}if(!this.w4)for(var P in n)if(e=this.m(P))g=n[P],e=O.da(e,null),g&&0!=g.Sta&&e.setSelectionRange&&e.setSelectionRange(g.Sta,g.Sta);if(h)for(;0<h.length;){Vr(this,h[0],this.WU,
this.XU);break}Dr(this)};M.prototype.addEventListener=function(a,b,d){this.HL=Ma.addEventListener(this.HL,a,b,d)};m("AdfDhtmlPage.prototype.addEventListener",M.prototype.addEventListener);M.prototype.removeEventListener=function(a,b,d){this.HL=Ma.removeEventListener(this.HL,a,b,d)};m("AdfDhtmlPage.prototype.removeEventListener",M.prototype.removeEventListener);M.prototype.PUa=function(a){this.fj=a};m("AdfDhtmlPage.prototype.setDocumentClientId",M.prototype.PUa);
M.prototype.ARa=function(a,b){v.l.info("Redirecting to : ",a);var d=this.Y();if(void 0!=d.Pob)d.Pob(a);else{var d=d.location,e=d.href,f=null,g=e.indexOf("#");0<=g&&(f=e.substring(g),e=e.substring(0,g));var h=a,l=null,g=h.indexOf("#");0<=g&&(l=h.substring(g),h=h.substring(0,g));h==e&&null!=l?(f!=l&&(b?d.replace(l):d.href=l),d.reload(!0)):b?d.replace(a):d.href=a}};m("AdfDhtmlPage.prototype.doRedirect",M.prototype.ARa);
M.prototype.lsb=function(){this.XW={};this.Yf().Ty();if(this.Gm()){var a=(new Date).getTime().toString();Hf.$(Hf.$m).fz(a);Hf.dz(Hf.$m);Hf.$(Hf.Vz).fz(a);Hf.Xy(Hf.No);Hf.Xy(Hf.Vz)}var a=this.UA,b=!1,d;for(d in a)if(null!=this.m(d)){for(var e=a[d],f=e.length,g=0;g<f;g++){var h=e[g],b=h.pop(),h=h.pop();this.bo(d,h,b);b=!0}null!=this.UA[d]&&delete this.UA[d]}b&&this.sq();this.C7==M.NEa?xs(this,null,null,null):this.C7==M.MEa?this.ta(this,this.x7,null,500):(d=this.H(),alert(d.Z("af_document.UNKNOWN_STREAMING_ERROR")))};
m("AdfDhtmlPage.prototype.streamingResponseComplete",M.prototype.lsb);M.prototype.nsb=function(){this.Cc(!1,!1,!0,"streaming response processing done");this.C7=M.MEa;this.Gm()&&Hf.Tua(Hf.Vz)};m("AdfDhtmlPage.prototype.streamingResponseWritten",M.prototype.nsb);M.prototype.msb=function(){if(this.Tj||this.YW)v.Yc.info("streaming request sent;",this.Y().L9a),this.Cc(!1,!1,!0,"streaming response received. The ECID is: ",M.y1);this.C7=M.b6a};m("AdfDhtmlPage.prototype.streamingResponseStarted",M.prototype.msb);
M.prototype.xqb=function(a,b,d){this.Tj&&this.Cc(!1,!1,!1,"streaming response segment received");a=a.getElementById(b);u.assert(a);Hs(this,a.firstChild,d,!0,null);this.Tj&&this.Cc(!1,!1,!1,"streaming response segment processed")};m("AdfDhtmlPage.prototype.handleStreamingResponse",M.prototype.xqb);
M.prototype.Csb=function(a,b){var d=a.getElementById(b);u.assert(d);d=d.getElementsByTagName("input")[0];u.assert(d);var e=this.R().forms[0];u.u(e);e=e.elements[M.Pw];u.u(e);e.parentNode.innerHTML="\x3cinput type\x3d'hidden' name\x3d'"+M.Pw+"' value\x3d'"+d.getAttribute("value")+"' /\x3e"};m("AdfDhtmlPage.prototype.updateStreamingViewState",M.prototype.Csb);M.prototype.dGa=function(){this.Gx=!0;var a=As(this);this.Y().location.replace(a)};m("AdfDhtmlPage.prototype.__handleReload",M.prototype.dGa);
M.prototype.$8a=function(a){try{var b=this.Y();if(b===parent&&!b.name){var d=sessionStorage.getItem("Adf-Window-Id");d===a&&(b.name=d)}}catch(e){}return a!=this.Y().name?(this.dGa(),!1):!0};m("AdfDhtmlPage.prototype.__validateWindowId",M.prototype.$8a);M.prototype.w8a=function(a,b){if(a){var d=this.R();d.forms[0].action=a;var e=d.getElementById(M.z0);e&&d.forms[0].removeChild(e)}b&&q.b.setAttribute(d.forms[0],M.t1,b)};m("AdfDhtmlPage.prototype.__handleRichResponseAction",M.prototype.w8a);
M.prototype.B8a=function(a){var b=arguments.length;if(0<b){Mr(this);for(var d=0;d<b;++d){var e=arguments[d];Mr(this).cy(e,Nr.ZD)}}};m("AdfDhtmlPage.prototype.__loadJavaScriptInBackground",M.prototype.B8a);function ps(a){a.Gm()&&(a=null,(a=Hf.$(Hf.$m))&&null!=a.LO()&&(Hf.Q$(),a.fz((new Date).getTime().toString())))}
M.prototype.Hha=function(a,b){var d=q.b,e=null,f=null;null!=b.id&&(e=A.c.m(b.id),null!=e&&(f=e.o()));var g,h=null;null!=f&&(h=f.d9(e,b));null==h&&(h=[b]);g=h;h=g.length;e=null==f?[a]:f.d9(e,a);for(f=0;f<h;f++)this.Ri(g[f]);(h=b.id==M.yfa)||d.yc(b);f=b.parentNode;if(1<g.length){g=g.slice(1,g.length);for(var l=q.b,n=0,t=g.length;n<t;n++){var y=g[n];h||1!=y.nodeType||l.yc(y);f.removeChild(y)}}g=b.nextSibling;f.replaceChild(a,b);l=1;for(n=e.length;l<n;l++)null!=g?f.insertBefore(e[l],g):f.appendChild(e[l]);
h&&d.ey();d.S()==q.ia&&(d=d.getElementById(M.Pfa),d.appendChild(b),d.innerHTML="",b.id="none",b.style.display="none");d=q.b;h=0;for(f=e.length;h<f;h++)g=e[h],1==g.nodeType&&d.Ia(g)};m("AdfDhtmlPage.prototype.__replaceDomElement",M.prototype.Hha);M.jKa=function(a){a=a.childNodes;for(var b=a.length,d=0;d<b;d++){var e=a[d];if(1==e.nodeType)return e.id?e:M.jKa(e)}return null};M.prototype.asb=function(a){this.kPa=a};m("AdfDhtmlPage.prototype.setScriptLoadingPolicy",M.prototype.asb);
function Mr(a){var b=a.Zlb;if(null==b){var b=a.Y(),d=a.R(),b=new Nr(b,d,a.kPa),d=a.D(a.$lb);b.Ypa(d);a.Zlb=b}return b}M.prototype.$lb=function(a){var b=M.J7a,d=this.Yf();a==Nr.$ca?(d.lz(),Fr(this,!0,b)):(Fr(this,!1,b),d.cz())};function Pr(a){if(a){for(var b=a.length,d=Array(b),e=0;e<b;e++)d[e]=a[e];return d}return nodelist}function Or(a){return C.ib(a.Hc.documentElement,"HEAD")}
function Qr(a,b,d){a=a.Hc.createElement("link");a.setAttribute("type","text/css");a.setAttribute("rel","stylesheet");a.setAttribute("href",b);if(d)for(var e in d)a.setAttribute(e,d[e]);return a}M.prototype.au=function(a){for(var b=0;b<a.length;b++)this.jo(a[b],!0)};M.prototype.Z8a=function(a){this.hY=a};m("AdfDhtmlPage.prototype.__setWindowDetectionStrategy",M.prototype.Z8a);
M.prototype.dUa=function(){var a=this.hY;if("none"!==a){var b=this.Y().name,d;(d=!b||this.sx||this.Gx)||(d=this.R().body,d=C.sa(d,M.p4a));if(!(d||this.Olb||this.Zg()))if(-1!=navigator.userAgent.indexOf("Chrome")&&73<=q.b.Ib()?this.VX=!1:this.VX="aggressive"==a,cs(this,!1))a=this.eH,a||(a=this.eH={}),a["Adf-Window-Unloaded"]="with-property-delta",a["Adf-Window-Id"]=b,this.MW&&(a["Adf-Window-Url"]=this.MW),hs(this,!0,!0);else{a=M.w3("","Adf-Window-Id",b);null!=this.Fr&&""!==this.Fr&&(a=M.w3(a,M.Gt,
this.Fr));d=As(this);var e=new Gf;e.tI(this.VX);delete this.VX;e.setRequestHeader("Content-Type","application/x-www-form-urlencoded");e.setRequestHeader("Adf-Window-Unloaded",!0);e.setRequestHeader("Adf-Window-Id",b);this.MW&&e.setRequestHeader("Adf-Window-Url",this.MW);e.send(d,a);e.Jp();delete e}}};m("AdfDhtmlPage.prototype.notifyWindowUnloaded",M.prototype.dUa);
M.prototype.iGa=function(a){if("none"!==this.hY){var b=this.eH;b||(b=this.eH={});b["Adf-Window-Closed"]="joined";b["Adf-Window-Id"]=this.pf();b["Adf-Dialog-Return-Id"]=b["Adf-Dialog-Return-Id"]?b["Adf-Dialog-Return-Id"]+(","+a):a}};m("AdfDhtmlPage.prototype.__notifyWindowClose",M.prototype.iGa);
M.prototype.Aha=function(a,b){if(0==this.sx){var d=this.hY;if("none"!==d){var e=new Gf;e.tI("aggressive"==d);a?(e.setRequestHeader("Adf-Window-Closed","discrete"),e.setRequestHeader("Adf-Window-Id",this.pf()),e.setRequestHeader("Adf-Dialog-Return-Id",b)):(e.setRequestHeader("Adf-Window-Unregistered","true"),e.setRequestHeader("Adf-Window-Unregistered-Id",this.pf()),e.setRequestHeader("Adf-Page-Unregistered-Id",this.oh));null!=this.Fr&&""!==this.Fr&&e.setRequestHeader(M.Gt,this.Fr);d=As(this);e.send(d,
"windowClosed")}}};m("AdfDhtmlPage.prototype.__notifyWindowCloseImmediately",M.prototype.Aha);M.prototype.kL=function(){Tr(this,!0)};m("AdfDhtmlPage.prototype.__ensureCoreBackgroundLoaded",M.prototype.kL);M.prototype.jta=function(){return null!=this.Y().AdfDhtmlPopupWindow};m("AdfDhtmlPage.prototype.isCoreBackgroundScriptLoaded",M.prototype.jta);function Tr(a,b){var d=a.jta();if(b&&!d){var e=a.tbb;u.assert(null!=e,"Unxexpected null coreBackgroundURI");Mr(a).cy(e,Nr.rw)}return d}
M.prototype.A8a=function(a){this.tbb=a;Mr(this).cy(a,Nr.ZD)};m("AdfDhtmlPage.prototype.__loadCoreBackgroundScript",M.prototype.A8a);M.au=function(a,b,d){if(a){var e=a.dl;if(e){var f=I.Fb(e),g=f.clientWidth,f=f.clientHeight,h=a.clientWidth,l=a.clientHeight;if(0==g||0==f||g==h&&f==l&&!b){if(a.clientWidth=g,a.clientHeight=f,!d)return}else a.clientWidth=g,a.clientHeight=f,e.Qe(h,l,g,f)}if(a=a.children)for(b=a.length,e=0;e<b;e++)M.au(a[e],!1,d)}};
M.prototype.Iab=function(){this.JHa=null;this.Cc(!1,!0,!1,"_checkResizeNotifyCallback","(start)");M.au(this.FB,!1,!0);this.Cc(!1,!1,!1,"_checkResizeNotifyCallback","(end)")};M.w3=function(a,b,d){0<a.length&&(a+="\x26");return a+b+"\x3d"+encodeURIComponent(d).replace(/\'/g,"%27").replace(/%20/g,"+")};
function Yr(a,b){u.og(b);var d=a.fZ();if(b!=d){var e;if(null!=d){var f=d.length;for(e=0;e<f;e++)C.O(I.xm(d[e]),"p_AFInlineSelected")}var f=b?b.length:0,g;if(f)for(g=[],e=0;e<f;e++)g.push(b[e].g());else g=null;a.Foa=g;if(f)for(e=0;e<f;e++)C.w(I.xm(b[e]),"p_AFInlineSelected");(e=a.xh())&&-1==E.indexOf(b,e)&&a.sv(null);Ma.BO(a.BB,a,A.bza,d,b)}}
function Xr(a,b){if(null==a)return null;u.Hb(a);u.og(b);var d=null!=b?b.length:0;if(0==d)return null;for(var e=[],f=0;f<d;f++){var g=b[f],h=g.o();h.bind(g);h=h.Qp();V.Nb(a,h)&&e.push(g)}e.length==d&&(e=b);return e}function Ks(a,b,d){if(a=a.m(b))a=I.xm(a),C.O(a,d)}
M.y5=function(a){a:{var b=A.c,d=q.b,e=a.type,f=!0,g="mousemove"===e;if(g||"mouseover"==e||"mousedown"==e||"mouseout"==e){if(g||"mousedown"==e)if(f=!d.ss(a),!f)break a;if(!g){for(var g=d.ca(a),g=I.Cf(g),h=b.TO(),l;null!=g;){var n=l=I.xm(g);if(C.sa(n,M.z1)||C.sa(n,M.m2))break;else g=g!=h?g.getParent():null}if(g&&("mouseover"==e||"mouseout"==e))(h=d.S()==q.ia,n=A.c.Ka().La(),h&&n)?v.l.info("Due to a bug in IE, skinning's hover-target pseudo class not supported on IE in right to left mode."):(h=I.IJ,
"mouseover"==e)?(e=b.kla,g=g.g(),e!==g&&(e&&Ks(b,e,h),b.kla=g,C.w(l,h))):"mouseout"==e&&(e=b.kla)&&(Ks(b,e,h),b.kla=null);else if(g&&"mousedown"==e){e=b.WU;h=b.XU;if(!$r(g,e,h))for(l=l.previousSibling,g=null;l;){n=l.nodeType;if(8==n){if((n=Cc(b,l))&&$r(n,e,h)){g=n;break}}else if(1==n)break;l=l.previousSibling}g&&b.sv(g,a)}}}b=b.ux;null!=b&&b.handleEvent(a);f?d.Ea(a):d.stopPropagation(a)}};M.prototype.UZ=function(a,b){null!=a&&(this.TL=a);this.xjb=b};
m("AdfDhtmlPage.prototype.setDefaultMessageHandlerComponentId",M.prototype.UZ);M.prototype.wm=function(){return this.TL};m("AdfDhtmlPage.prototype.getDefaultMessageHandlerComponentId",M.prototype.wm);M.prototype.rC=function(){return this.xjb};m("AdfDhtmlPage.prototype.getMessageHandlerSlaveComponentId",M.prototype.rC);
M.prototype.bo=function(a,b,d){var e=es(this,a,!1);if(null==this.m(e)){for(var f in this.XW)if(0==e.indexOf(f)){a=b;b=this.UA[e];b||(b=[],this.UA[e]=b);f=[];f.push(a);f.push(d);b.push(f);v.l.info("A message for client id '"+e+"' is being added as delayed messages");return}u.xc&&u.assert(!1,"A message for client id '"+e+"' is being added. No client component with that id can be found. ")}e=es(this,a,!0);f=this.$h[e];f||(f=[],f.i_=[],f.xs=0,f.s8=e,f.title=d,this.$h[e]=f);d=Ba.kZ(b);this.rQa&&d>=Ba.hg&&
(this.qX=!0);f.i_[d]||(f.i_[d]=[]);f.push(b);f.i_[d].push(b);d>f.xs&&(f.xs=d);b=this.rC();b=this.m(null!=b?b:this.wm());b=b.getGlobalOnly?b.getGlobalOnly():!1;f=this.tM;if(!f||d>f)if(null==d)delete this.tM;else if(f=es(this,null,!1),(a=null==a||a==f)||!a&&!b)this.tM=d;Ls(this,e)};m("AdfDhtmlPage.prototype.addMessage",M.prototype.bo);M.prototype.sq=function(a){a=es(this,a,!0);var b=this.pm()[a];a=this.m(a);if(null!=a){var d=a.o();d.bind(a);null!=b?d.OC(a,b.xs,b):d.OC(a)}};
m("AdfDhtmlPage.prototype.showMessages",M.prototype.sq);M.prototype.Tp=function(a){a=es(this,a,!0);return this.$h[a]};m("AdfDhtmlPage.prototype.getMessages",M.prototype.Tp);
M.prototype.pm=function(){var a=this.$h,b=this.wm(),d={};for(messageId in a){var e=this.m(messageId);if(null==e)v.l.info("AdfDhtmlPage.getAllMessages: ignoring messages for non-existing component: ",e);else if(b==messageId)d[messageId]=a[messageId];else{var f=I.Fb(e);C.Iy(f)?d[messageId]=a[messageId]:v.l.info("AdfDhtmlPage.getAllMessages: ignoring messages for hidden component: ",e)}}return d};m("AdfDhtmlPage.prototype.getAllMessages",M.prototype.pm);
M.prototype.Mu=function(a){var b=[],d=this.$h,e=this.TL,f;null!=a&&(f=Ms(a));for(var g in d)f||g!=e?(d=this.m(g),null!=d&&(d=I.Fb(d),C.Iy(d)&&(null==f||a==g||C.Nc(f,d))&&b.push(g))):b.push(null);return b};m("AdfDhtmlPage.prototype.getClientIdsWithMessages",M.prototype.Mu);M.prototype.N8a=function(a){this.XKa=a};m("AdfDhtmlPage.prototype.__setGlobalMessagesResetStrategy",M.prototype.N8a);
M.prototype.Ne=function(a){a=es(this,a,!1);null!=this.$h[a]&&(delete this.$h[a],delete this.tM,Ls(this,a));null!=this.UA[a]&&delete this.UA[a]};m("AdfDhtmlPage.prototype.clearMessages",M.prototype.Ne);M.prototype.rY=function(){var a=[],b;for(b in this.$h)a.push(b);this.$h={};this.$h={D8:[]};delete this.tM;for(var d in a)Ls(this,a[d]);this.UA={}};m("AdfDhtmlPage.prototype.clearAllMessages",M.prototype.rY);M.prototype.ps=function(a){return null!=this.Tp(a)};m("AdfDhtmlPage.prototype.hasMessages",M.prototype.ps);
function Ms(a){var b=A.c.m(a);return b&&b instanceof AdfRichPopup?xc.lC(b):q.b.getElementById(a)}M.prototype.kRa=function(a){var b=this.Mu();if(b){var d=q.b,e=Ms(a);if(e)for(var f=0;f<b.length;f++){var g=b[f];if(null!=g){var h=d.getElementById(g);h&&a!=g&&!C.Nc(e,h)||this.Ne(g)}}}};m("AdfDhtmlPage.prototype.clearSubtreeMessages",M.prototype.kRa);function es(a,b,d){return d?null!=b&&(a.m(b)instanceof AdfUIEditableValue||null!=q.b.getElementById(M.Nea+b))?b:a.TL:null==b?a.wm():b}
function Ns(a){var b=a.tM;if(!b){var d=a.wm(),e=a.rC(),d=a.m(null!=e?e:d),d=d.getGlobalOnly?d.getGlobalOnly():!1,e=es(a,null,!1),f;for(f in a.$h)if(!d||f==e){var g=a.$h[f];null!=g&&(null==b||g.xs>b)&&(b=g.xs)}null!=b&&(a.tM=b)}return b}
function Ls(a,b){var d=a.$h[b];if(b!=a.TL){if(null!=q.b.getElementById(M.Nea+b)){null!=d&&(d.overridden=!0);var e=a.$h.D8;0>e.indexOf(b)&&e.push(b);a.aNa||(a.aNa=a.ta(a,a.Ldb,null,200,{isSynchronized:!0}))}e=a.m(b);if(null!=e){var f=e.o();f.bind(e);null!=d?f.Sy(e,d.xs,d):f.Sy(e);f=!e.xH();for(e=e.getParent();e&&f;)(f=e.o())&&f.Aqa(e),f=!e.xH(),e=e.getParent()}}e=a.m(a.TL);null!=e&&(peer=e.o(),peer.bind(e),peer.Sy(e,Ns(a),d))}
M.prototype.Ldb=function(){for(var a=this.$h.D8,b=a&&a.length||0,d=0;d<b;d++){var e=a[d],f=this.$h&&this.$h[e]||null;if(e=q.b.getElementById(M.Nea+e))null==f?C.jI(e):(C.jI(e),L.hqa(e,f))}this.$h.D8=[];delete this.aNa};M.prototype.Ud=function(){null==this.gia&&(this.gia=new Tf);return this.gia};m("AdfDhtmlPage.prototype.getActiveDataSupport",M.prototype.Ud);M.prototype.wj=function(){return null==this.gia?!1:!0};m("AdfDhtmlPage.prototype.isActiveDataSupported",M.prototype.wj);
M.prototype.XVa=function(a,b){var d=this.w7,e=this.RX,f=e.hasOwnProperty(b);f&&(delete e[b],E.Ig(e,b));if(a||!f)d[b]=!0,this.NX++,v.l.fine("Request start of active data on ",b," startRefCount:",this.Wt),0<this.Wt&&fs(this)};m("AdfDhtmlPage.prototype.updateStartActiveDataStateChange",M.prototype.XVa);M.prototype.mGa=function(){this.ioa=!0;0<this.Wt&&fs(this)};m("AdfDhtmlPage.prototype.__restartAllADSComponents",M.prototype.mGa);
M.prototype.Lva=function(a){var b=this.w7;a in b?(delete b[a],this.NX--):(b=this.RX,a in b||(v.l.fine("Queue ADS stop on clientID:",a),b[a]=!0,b.push(a),fs(this)))};m("AdfDhtmlPage.prototype.updateStopActiveDataStateChange",M.prototype.Lva);M.prototype.x7=function(){this.Wt++;1==this.Wt&&this.wj()&&(this.Ud().Y9(),fs(this))};M.prototype.ksb=function(){};m("AdfDhtmlPage.prototype.stopActiveData",M.prototype.ksb);M.prototype.jsb=function(){};m("AdfDhtmlPage.prototype.startActiveData",M.prototype.jsb);
M.Dj={Fv:0,CONNECTING:1,Dba:2,C0:3};M.prototype.pf=function(){if(null==this.Ppa)try{this.Ppa=this.Y().name}catch(a){v.l.rg(a,"Could not get the window Id.")}return this.Ppa};m("AdfDhtmlPage.prototype.getWindowId",M.prototype.pf);M.prototype.vaa=function(a){this.Ppa=a};m("AdfDhtmlPage.prototype.setWindowId",M.prototype.vaa);M.prototype.iqb=function(){return this.oh};m("AdfDhtmlPage.prototype.getPageId",M.prototype.iqb);M.prototype.Ms=function(a){this.oh=a};m("AdfDhtmlPage.prototype.setPageId",M.prototype.Ms);
M.prototype.ysb=function(a,b){this.Ms(a);for(var d=this.C3,e=arguments.length,f=this.RX,g=1;g<e;g++){var h=arguments[g];u.J(h);h in f&&(delete f[h],E.Ig(f,h));d[h]=!0}};m("AdfDhtmlPage.prototype.updateAutoPPRComponents",M.prototype.ysb);
M.prototype.Ifb=function(a){v.l.ek().flush();if(!this.sx||this.TQa){var b=!1,d=void 0,e=this.m(this.fj);e&&(d=new Ua(e),e.ki(d),d=d.O9(),void 0!==d&&(b=!0));var e=Pe.jTa(),f=null!=this.vr?!0:Jr(this);if(!b&&(this.W7||f||this.ge.L2()||e)){if(!this.ge.DT()&&void 0!=this.Y().AdfDhtmlInputBasePeer){var f=null,g=this.es();g&&(f=g.o());f&&f instanceof $e&&f.d3(g)}g=!1;f=this.W7&&(this.EIa||this.ge.DT())||this.ge.L2();f||(g=Hr(this),g=null!=g&&0<g.length);if(f||g||e)b=!0,d=this.H().Z(e?"af_document.MSG_DEPENDENT_DIALOGS":
"af_document.MSG_UNCOMMITTED_DATA"),a.returnValue=d}this.pHa=!1;if(b){this.pHa=!0;if(this.wj()){var h=this;window.setTimeout(function(){window.setTimeout(function(){h.Ud().O2()},1E3)},1)}return a.returnValue=d}this.xQa=!0;this.dUa();this.wj()&&this.Ud().B$();this.Gm()&&this.Gx&&Hf.S$()}};M.prototype.bsb=function(a){this.B7=a};m("AdfDhtmlPage.prototype.setStreamingDisabled",M.prototype.bsb);M.prototype.Tqb=function(){return this.B7};m("AdfDhtmlPage.prototype.isStreamingDisabled",M.prototype.Tqb);
M.prototype.Hs=function(a,b){var d=this.R().forms[0];u.assert(d,"No form found;  cannot stream data. Make sure that data components are placed within a form");for(var e=zs(this,d),f={},g="",h=[],l=[],n=0;n<b.length;n++){var t=b[n],y=this.R().getElementById(t);C.Iy(y)?(this.XW[t]=!0,h.push(t)):l.push(t)}0<h.length&&(g=h.join(","));f[M.a6a]=g;0<l.length&&(f[M.F4a]=l.join(","));null!=a&&(f[M.Gt]=a);M.OGa(d,f);this.C7=M.NEa;this.Wt--;this.Gm()&&(Hf.$(Hf.Vz).pv((new Date).getTime().toString()),Hf.dz(Hf.Vz));
this.Yf().Hs(e,f);if(this.Tj||this.YW)this.Y().L9a=(new Date).getTime()};m("AdfDhtmlPage.prototype.sendStreamingRequest",M.prototype.Hs);M.OGa=function(a,b){var d=M.Pw,e=a.elements[d];u.assert(e,"No view state token for postback");b[d]=e.value};M.o9a=function(a,b){var d=M.Gt,e=a.elements[d];null!=e&&""!==e.value&&(b[d]=e.value)};
M.prototype.p9=function(a){u.J(a);var b=this.R().forms[0];u.assert(b,"No form found;  cannot perform lazy fetch");var d=b.action,d=-1==d.indexOf("?")?d+"?unique\x3d":d+"\x26unique\x3d",d=d+(new Date).getTime(),e=M.Pw,d=d+("\x26"+e+"\x3d"),e=b[e];u.assert(e,"No view state token for lazy fetch");d+=e.value;e=M.Gt;b=b.elements[e];null!=b&&""!==b.value&&(d+="\x26"+e+"\x3d"+b.value);d+="\x26"+M.x1a+"\x3d"+a;return d=Kf.jL(d,this.pf())};m("AdfDhtmlPage.prototype.getLazyFetchURI",M.prototype.p9);
M.prototype.OTa=function(a){return this.XW[a]};m("AdfDhtmlPage.prototype.isStreamingRequestPending",M.prototype.OTa);M.qeb=function(a){if(0<a.cookie.length){var b=a.cookie.indexOf("JSESSIONID\x3d");if(-1!=b){var d=a.cookie.indexOf(";",b);-1==d&&(d=a.cookie.length);return a.cookie.substring(b+10+1,d)}}return null};M.$ub=function(a,b,d,e,f){u.Xf(e);var g="";e&&(g=new Date,g.setTime(g.getTime()+e),g="expires\x3d"+g.toGMTString()+";");a.cookie=b+"\x3d"+d+";"+g+(f?"path\x3d"+f+";":"path\x3d/;")};
M.Cub=function(a,b){this.Ewb(a,b,"",-99999)};M.prototype.Gcb=function(){var a=this.Yf().vm()!=Qe.an;this.qPa!=a&&(this.qPa=a,q.b.hz(this.R(),a),Sr(this,a));a||hs(this)};M.prototype.Srb=function(a){this.DMa=a};m("AdfDhtmlPage.prototype.setLastFocusedElement",M.prototype.Srb);M.prototype.aqb=function(){return this.DMa};m("AdfDhtmlPage.prototype.getLastFocusedElement",M.prototype.aqb);M.prototype.Urb=function(a){this.dOa=a};m("AdfDhtmlPage.prototype.setPPRNavigationOptions",M.prototype.Urb);
M.prototype.z9=function(){return void 0!=this.dOa?this.dOa:0};m("AdfDhtmlPage.prototype.getPPRNavigationOptions",M.prototype.z9);M.prototype.Zqa=function(){var a=q.b.getElementById("afr::ATFlush");a&&(a.value="1"==a.value?"0":"1")};m("AdfDhtmlPage.prototype.flushToAssistiveTechnology",M.prototype.Zqa);M.prototype.Zj=function(a,b){var d=q.b.getElementById("afr::ATStatus");!d||b&&a==this.Oib||(this.Oib=d.innerHTML=a,(d=this.UHa)?this.Cs(d,2E3):this.UHa=this.ta(this,this.Pab,null,2E3))};
m("AdfDhtmlPage.prototype.announceToAssistiveTechnology",M.prototype.Zj);M.prototype.Pab=function(){var a=q.b.getElementById("afr::ATStatus");a&&(a.innerHTML="",this.Zqa());this.UHa=null};M.prototype.NUa=function(a){this.EIa=a};m("AdfDhtmlPage.prototype.setDataDirty",M.prototype.NUa);M.prototype.qUa=function(a,b){this.ge.Eha(a,b)};m("AdfDhtmlPage.prototype.registerDirtyDataComponent",M.prototype.qUa);
M.prototype.hpb=function(a,b){var d=Ir(this,null),e={};e["oracle.adfinternal.view.faces.rich.navigationToken"]=a;e["oracle.adfinternal.view.faces.rich.confirmNavigation"]=d;d={_noNavigation:!b};u.assert(e,"Attempting to send null payload");var f=this.R().forms[0];u.assert(f,"No form found;  cannot postback");var g=js(this,null);M.OGa(f,e);M.o9a(f,e);ks(this,f,e,g,!1,d,null)};m("AdfDhtmlPage.prototype.confirmNavigation",M.prototype.hpb);
M.IOa=function(a,b){for(var d=b.getElementsByTagName(a),e=d.length-1;0<=e;--e){var f=d[e];f.hasAttribute("afrres")&&b.removeChild(f)}};M.prototype.Arb=function(){var a=Or(this);M.IOa("LINK",a);M.IOa("STYLE",a)};m("AdfDhtmlPage.prototype.removePageResources",M.prototype.Arb);
function xs(a,b,d,e){if(b){var f=M.cdb(b);if(f&&f.documentElement&&f.documentElement.firstChild){var g=q.b.Na(f.documentElement.firstChild);if("error"==g){ws(a,f,null);d&&vs(a,"error",{context:d,responseCode:e.ls(),responseText:b,responseXML:f});return}if("redirect"==g){ws(a,f,null);return}}}else d&&vs(a,"error",{context:d,event:e});u.xc?v.l.severe("Unexpected non-rich response"):v.l.warning("Unexpected non-rich response");a.xQa||a.Y().location.reload(!0)}
M.cdb=function(a){var b=a.length;if(1>=b||"\x3e"!=a.charAt(b-1))return null;var d=null;19<b&&"\x3c/partial-response"==a.substr(b-18-1,18)&&(b=a.lastIndexOf("\x3c?xml"),0<=b&&(d=q.b.$P(a.substring(b))));return d};M.prototype.eGa=function(a){this.W7=a;this.ge.cF()};m("AdfDhtmlPage.prototype.__initUncommittedDataWarningForDocument",M.prototype.eGa);M.prototype.o8a=function(){this.QIa=!0;this.ge.cF()};m("AdfDhtmlPage.prototype.__enableDirtyPostbackPayloads",M.prototype.o8a);M.prototype.y8a=function(){return this.QIa};
m("AdfDhtmlPage.prototype.__isDirtyPostbackPayloadsEnabled",M.prototype.y8a);M.prototype.l8a=function(){this.w4=!0};m("AdfDhtmlPage.prototype.__disableDirtyDataRetainPPR",M.prototype.l8a);function Es(a){var b=I.Cf(a);if(!b)return null;var d=b.g();return d==Bs(a.name)||d==Bs(a.id)?b:null}function Bs(a){var b=null==a?-1:a.lastIndexOf("::");return-1<b?a.substr(0,b):a}M.Hkb=function(a){if(!a)return!1;var b=a.o();return b.p$&&b.p$(a)};
function Fs(a){return("checkbox"==a.type||"radio"==a.type)&&!a.checked}function Kr(a){a.W7=!1;a.vu=null;a.vr=null}function Jr(a){return null==a.vu?!1:!E.zc(a.vu)}function Hr(a){var b=null;if(null!=a.vr){var b=[],d;for(d in a.vr)b.push(d)}if(Jr(a))for(var e in a.vu)null!=a.vr&&a.vr[e]||!a.ge.m$(e)||(null==b&&(b=[]),b.push(e));return b}M.prototype.CT=function(a,b,d){var e=this.wj()?E.zc(this.Ud().FO()):!0,f=this.Ot();e||f&&f.RH()?(this.Tx||(this.Tx=new Os),this.Tx.CT(a,b,d)):this.Tx&&this.Tx.iL()};
m("AdfDhtmlPage.prototype.__initializeSessionTimeoutTimer",M.prototype.CT);M.prototype.u8a=function(){return this.Tx};m("AdfDhtmlPage.prototype.__getSessionTimeoutHelper",M.prototype.u8a);M.prototype.x8a=function(a){var b=this.Ot();b&&b.ata(a)};m("AdfDhtmlPage.prototype.__initUserInactivityTimeout",M.prototype.x8a);M.prototype.Ot=function(){var a=this.sob;if(!a){var b=this.Y().AdfUserInactivityTimeoutHelper;b&&(this.sob=a=new b)}return a};
m("AdfDhtmlPage.prototype.__getUserInactivityTimeoutHelper",M.prototype.Ot);M.prototype.Rpb=function(){return this.oF};m("AdfDhtmlPage.prototype.getComponentIdsUpdatedByPollEvent",M.prototype.Rpb);
M.prototype.$E=function(a,b){u.Ya(a);this.JM=!0;this.ta(this,this.yQa,null,500);var d=this.Y(),e=M.mfb(b,d),f=this.yZ(),g=!1;if(f&&"_blank"!=b)if(g=this.cV,0<a.indexOf("org.apache.myfaces.trinidad.agent.email\x3dtrue"))g=!1;else if(-1!=a.indexOf(":"))var h=q.b.fP(),g=0==a.indexOf(h+g)?!0:!1;else g="/"==a.charAt(0)?0==a.indexOf(g)?!0:!1:!0;f&&g&&e&&e.Re&&e.Re.c?e.Re.c.BZ(a):e==self?e.location.href=a:((d=d.open(a,b))&&d.focus(),delete this.JM)};m("AdfDhtmlPage.prototype.__handleNavigation",M.prototype.$E);
M.mfb=function(a,b){return a&&"null"!=a&&"_self"!=a?"_blank"==a?null:"_top"==a?top:"_parent"==a?parent:b.frames[a]:self};
function vs(a,b,d){if(!0===a.gma&&null!=d.context&&null!=d.context.x4&&d.context.x4 instanceof gh){var e=d.context.x4.Fx["error"==b?"onerror":"onevent"],f={type:"event",status:b,source:d.context.x4.Xmb};if("begin"!=b&&(d.event?(f.zUa=d.event.ls(),f.responseXML=d.event.qo(),f.responseText=d.event.po()):(f.zUa=d.zUa,f.responseXML=d.responseXML,f.responseText=d.responseText),"error"==b)){f.description=null;f.ypb=null;f.xpb=null;d=a.H();if(null==f.responseXML||null==f.responseXML.documentElement)f.description=
d.Z("AFPprEmptyResponse");else{var g=f.responseXML.getElementsByTagName("parsererror");f.description=0<g.length?q.b.mc(g[0]):d.Z("AFPprUnknownError")}f.responseXML&&f.responseXML.documentElement&&"partial-response"==f.responseXML.documentElement.tagName&&f.responseXML.documentElement.firstChild&&"error"==f.responseXML.documentElement.firstChild.tagName&&(d=f.responseXML.documentElement.firstChild,f.ypb=d.firstChild.firstChild.nodeValue,f.xpb=d.firstChild.nextSibling.firstChild.nodeValue)}a=a.hma["error"==
b?"error":"event"];b=0;for(d=a.length;b<d;++b){g=a[b];try{g(f)}catch(h){v.l.severe("AJAX listener threw exception:",h)}}if(e)try{e(f)}catch(h){v.l.severe("AJAX listener threw exception:",h)}}}M.prototype.Eib=function(a,b,d){gh.F(a,b,d)};M.prototype.Dib=function(a){this.hma.event.push(a)};M.prototype.Cib=function(a){this.hma.error.push(a)};
function Dr(a){if(!a.gma&&"undefined"!=typeof a.wf.Uqb&&"undefined"!=typeof a.wf.Uqb.Qob){var b=jsf.Qob;b.Vub=b.request;b.Uub=b.Nob;b.Tub=b.Mob;a.hma={event:[],error:[]};b.request=a.D(a.Eib);b.Nob=a.D(a.Dib);b.Mob=a.D(a.Cib);a.gma=!0}}M.prototype.VFa=function(a,b,d,e,f){u.J(a);u.J(b);u.Ja(d,"confirm callback");e&&u.Da(e,"confirm timeout");var g=this.m(this.fj),h=g.o();h.bind(g);return h.c3(f,a,b,d,e)};m("AdfDhtmlPage.prototype.__confirm",M.prototype.VFa);
M.prototype.RFa=function(a,b,d){u.J(a);u.J(b);u.Ja(d,"alert callback");var e=this.m(this.fj),f=e.o();f.bind(e);return f.c3(!0,a,b,d)};m("AdfDhtmlPage.prototype.__alert",M.prototype.RFa);function ys(a){a=a.id;return null!=a?null!=q.b.getElementById(a+M.k4a):!1}function Ir(a,b){null==b&&(b=a.H().Z("af_document.MSG_CONFIRM_NAVIGATION"));return confirm(b)}M.prototype.VTa=function(a){void 0!=window.onerror&&this.pha(a.message,a.fileName,a.lineNumber)};m("AdfDhtmlPage.prototype.logAsGlobalError",M.prototype.VTa);
M.prototype.pha=function(a,b,d){this.PG||(this.PG=[]);var e=!1;"setting a property that has only a getter"==a&&""==b&&0==d&&(e=!0);q.b.S()==q.ed&&void 0!=a&&(""==b&&0==d&&a.match(/Permission denied for </)&&a.match(/> to call method Location.toString on </)?e=!0:""!=b&&a.match(/Permission denied to get property Location.toString/)&&(e=!0));if(e)return!1;this.PG.push({msg:a,url:b,line:d});return!1};M.prototype.__handleGlobalError=M.prototype.pha;m("AdfDhtmlPage.prototype.__handleGlobalError",M.prototype.pha);
M.prototype.M8a=function(){this.vr=null;0<arguments.length&&(this.vr={});for(var a=0;a<arguments.length;a++)this.vr[arguments[a]]=!0};m("AdfDhtmlPage.prototype.__setDirtyRegions",M.prototype.M8a);M.prototype.kGa=function(a){null==this.vu&&(this.vu={});this.vu[a]=!0};m("AdfDhtmlPage.prototype.__registerRegionClientUncommittedDataTracking",M.prototype.kGa);M.prototype.rGa=function(a){null!=this.vu&&null!=this.vu[a]&&delete this.vu[a]};
m("AdfDhtmlPage.prototype.__unregisterRegionClientUncommittedDataTracking",M.prototype.rGa);M.prototype.yQa=function(){delete this.JM};M.prototype.tq=function(a,b){var d=a,e,f=a.indexOf("#");-1<f&&(d=a.substring(0,f),e=a.substring(f+1));v.l.fine("SimulateMouse, locator: "+a+", compLocator: "+d+", subId: "+e);(d=this.vh(d))?d.tq(e,b):v.l.warning("During simulateMouse, unable to find a component for the provided locator: "+a)};m("AdfDhtmlPage.prototype.simulateMouse",M.prototype.tq);
M.prototype.jz=function(a,b){var d=q.b;null==b&&(b={});null==b.type&&(b.type="click");null==b.$ob&&(b.$ob=!0);null==b.cancelable&&(b.cancelable=!0);null==b.view&&(b.view=window);null==b.detail&&(b.detail=1);null==b.screenX&&(b.screenX=0);null==b.screenY&&(b.screenY=0);null==b.clientX&&(b.clientX=d.Wc(a)+(0<a.offsetWidth?a.offsetWidth/2:0));null==b.clientY&&(b.clientY=d.Ld(a)+(0<a.offsetHeight?a.offsetHeight/2:0));null==b.ctrlKey&&(b.ctrlKey=!1);null==b.altKey&&(b.altKey=!1);null==b.shiftKey&&(b.shiftKey=
!1);null==b.metaKey&&(b.metaKey=!1);null==b.button&&(b.button=0);null==b.relatedTarget&&(b.relatedTarget=null);v.l.fine("simulateDomMouse, domElement id: "+a.id+", type: "+b.type);ya.nSa().jz(a,b)};m("AdfDhtmlPage.prototype.simulateDomMouse",M.prototype.jz);