"undefined"==typeof AdfDhtmlDvtToolkitPeer&&AdfRichUIPeer.createPeerClass(AdfDhtmlCommonFlashPeer,"AdfDhtmlDvtToolkitPeer",!1);AdfDhtmlDvtToolkitPeer.InitSubclass=function(){AdfObject.ensureClassInitialization(AdfDhtmlDvtToolkitPeer);AdfRichUIPeer.addSuppressedPPRAttributes(this,AdfDvtToolkitComponent.Wf);AdfRichUIPeer.addSuppressedPPRAttributes(this,AdfDvtToolkitComponent.Vf)};A_a("AdfDhtmlDvtToolkitPeer.InitSubclass",AdfDhtmlDvtToolkitPeer.InitSubclass);AdfDhtmlDvtToolkitPeer.zE="\x3cfetch/\x3e";
AdfDhtmlDvtToolkitPeer.prototype.InitDomElement=function(a,b){AdfDhtmlDvtToolkitPeer.superclass.InitDomElement.call(this,a,b);var c=AdfDhtmlDvtToolkitPeer.jH(a.getClientId());c&&(c=A_x.be(c))&&dvt.Hi.es(c);if(c=AdfDhtmlDvtToolkitPeer.kH(a.getClientId()))if(c=A_x.be(c)){var d={},e=document.createElement("div"),f;f="display:none;"+("font-family:"+A_Qb.Ou+";");f+="font-size:"+A_Qb.EE+";";f+="color:"+A_Qb.fq+";";f+="font-weight:"+A_Qb.Qu+";";f+="font-style:"+A_Qb.Pu+";";e.setAttribute("style",f);b.appendChild(e);
for(f=0;f<c.length;f++){var g=c[f],h=g[0],l=g[1];l&&(h=h+" "+l);l=document.createElement("div");l.className=h;l.setAttribute("style","display:none;");e.appendChild(l);for(h=2;h<g.length;h+=2){var m=l,n=g[h+1],p=new A_Rb(d,g[h]),q=void 0;n&&(q=(q=A_Qb[n])?q(m,p.getValue()):A_Qb.ZJ(m,n));null==q||"string"==typeof q&&""==q.replace(/^\s+/g,"")||p.setValue(q)}e.removeChild(l)}b.removeChild(e)}"ATTACHMENT"==this.L(a)&&this.Nl(a);a.getProperty(AdfDhtmlCommonFlashPeer.Lv)&&"HTML5"==this.L(a)&&(c=AdfAgent.AGENT.getComputedStyle(b),
this.vg(a,Number(c.width.substring(0,c.width.length-2))|0,Number(c.height.substring(0,c.height.length-2))|0),this.Ch(a,b));AdfAgent.AGENT.getPlatform()!=AdfAgent.IE_PLATFORM&&(c=this.createCallback(this.up),this.Lw={touchend:c,mouseup:c},AdfAgent.AGENT.startMouseEventCapture(this.Lw))};AdfDhtmlDvtToolkitPeer.prototype.InitDomElement=AdfDhtmlDvtToolkitPeer.prototype.InitDomElement;
AdfDhtmlDvtToolkitPeer.prototype.ComponentRemoved=function(a){AdfDhtmlDvtToolkitPeer.superclass.ComponentRemoved.call(this,a);AdfAgent.AGENT.getPlatform()!=AdfAgent.IE_PLATFORM&&AdfAgent.AGENT.stopMouseEventCapture(this.Lw)};AdfDhtmlDvtToolkitPeer.prototype.ComponentRemoved=AdfDhtmlDvtToolkitPeer.prototype.ComponentRemoved;AdfDhtmlDvtToolkitPeer.prototype.up=function(){this.c&&this.c.dz&&this.c.dz().Ie&&this.c.dz().Ie()};
AdfDhtmlDvtToolkitPeer.prototype.ResizeNotify=function(a,b,c,d){AdfDhtmlDvtToolkitPeer.superclass.ResizeNotify.call(a,b,c,d);if(!this.getComponent().getProperty(AdfDhtmlCommonFlashPeer.NF))if(a=this.getComponent(),b=this.L(a),"HTML5"==b)this.c?(c!=this.Ua||d!=this.mb)&&5<=Math.abs(this.Ua-c)+Math.abs(this.mb-d)&&(this.vg(a,c,d),this.pd(a,null)):(this.vg(a,c,d),this.Ch(a,this.getDomElement()));else if("PNG"==b){b=a.getProperty(AdfDvtToolkitComponent.Wf);var e=a.getProperty(AdfDvtToolkitComponent.Vf);
if(5<Math.abs(b-c)||5<Math.abs(e-d))this.vg(a,c,d),c=new A_Ab(a),c.setPartial(!0),AdfPage.PAGE.queueEventToServer(c)}};AdfDhtmlDvtToolkitPeer.prototype.ResizeNotify=AdfDhtmlDvtToolkitPeer.prototype.ResizeNotify;AdfDhtmlDvtToolkitPeer.prototype.DomReplaceNotify=function(a){AdfDhtmlDvtToolkitPeer.superclass.DomReplaceNotify.call(a);a=this.getComponent();var b=AdfDhtmlDvtToolkitPeer.Yw(a.getClientId());this.pd(a,b)};AdfDhtmlDvtToolkitPeer.prototype.DomReplaceNotify=AdfDhtmlDvtToolkitPeer.prototype.DomReplaceNotify;
AdfDhtmlDvtToolkitPeer.prototype.Hb=function(){};AdfDhtmlDvtToolkitPeer.prototype.CreateView=AdfDhtmlDvtToolkitPeer.prototype.Hb;A_=AdfDhtmlDvtToolkitPeer.prototype;A_.$o=function(){return[]};function A_Sb(a,b){var c=a.$o();if(b&&!(0>=c.length)){for(var d={},e=0;e<c.length;e++){var f=c[e];d[f]=b[f]}A_m(a,d)}}function A_m(a,b){if(!a.zn&&"HTML5"==a.L(a.getComponent())&&(a.c.ES(b),!a.kw)){var c=a.createCallback(a.KG);window.setTimeout(c,0);a.kw=!0}}
A_.vg=function(a,b,c){this.Ua=b;this.mb=c;a.setProperty(AdfDvtToolkitComponent.Vf,c);a.setProperty(AdfDvtToolkitComponent.Wf,b)};
A_.Ch=function(a,b){var c=a.getClientId(),d=new dvt.Rt(b,c);d.ST();d.FU({numberConverterFactory:{createConverter:function(a){return"percent"==a.style?(a=dvt.Hi.getTranslatedString(dvt.Hi.MR,"PERCENT_CONVERTER_"+a.maximumFractionDigits),A_lb.jk(a)):null}}});this.c=this.Hb(d,this.HandleEvent,this);d.getStage().addChild(this.c);c=AdfDhtmlDvtToolkitPeer.Yw(c);AdfAgent.AGENT.getPlatform()==AdfAgent.GECKO_PLATFORM?(d=this.createCallback(this.pd),window.setTimeout(d,0,a,c)):this.pd(a,c)};
A_.KG=function(){this.$l();this.kw=!1};A_.pd=function(a,b){if(b===AdfDhtmlDvtToolkitPeer.zE)A_Kb(this);else if(A_Lb(this),"HTML5"==this.L(a)){A_x.oo("0"+a.getClientId()+": Begin Render");var c=A_x.be(b);c&&(c=dvt.CP.Iz());c=this.xp(c);this.$l(c);A_x.oo("0"+a.getClientId()+": End Render")}};A_.$l=function(a){this.c.render(a,this.Ua,this.mb)};A_.xp=function(a){return a};AdfDhtmlDvtToolkitPeer.Yw=function(a){return AdfDhtmlCommonFlashPeer.ee(a,"_xmlDiv")};
AdfDhtmlDvtToolkitPeer.jH=function(a){return AdfDhtmlCommonFlashPeer.ee(a,"_resourcesDiv")};AdfDhtmlDvtToolkitPeer.kH=function(a){return AdfDhtmlCommonFlashPeer.ee(a,"_styleClassesDiv")};