var io=I.ea(I,"AdfDhtmlTrainV2Peer");m("AdfDhtmlTrainV2Peer",io);io.prototype.G=function(a,b){io.h.G.call(this,a,b);var d=a.g(),d=I.j(d,io.a6a);io.smb(a,d)};r.a("AdfDhtmlTrainV2Peer.prototype.InitDomElement",{G:io.prototype.G});
io.C=function(){this.a6a="stopsContainer";this.c6a="38";this.o1a="AFDrawAnimationElement";this.a8a="AFDrawAnimationElementVertical";this.kCa="af|train::join-fill";this.KFa="af|train-vertical::join-fill";this.p1a="af|train::join-wrapper";this.b8a="af|train-vertical::join-wrapper";this.c8a="af|train-vertical::stops"};m("AdfDhtmlTrainV2Peer.InitSubclass",io.C);io.J8a=function(a){var b=A.c.H(),b=document.querySelector("."+b.getStyleClass(io.kCa)).style.width;a.setProperty("joinWidth",b,!0,G.ld)};
io.I8a=function(a){var b=A.c.H(),b=document.querySelector("."+b.getStyleClass(io.KFa)).style.height;a.setProperty("joinHeight",b,!0,G.ld)};io.smb=function(a,b){var d="vertical"==a.getLayout(),e=q.oa().getElementById(b);if(e){var f=e.childNodes.length-1,g=io.c6a;d?(d=A.c.H(),f=e.querySelector("."+d.getStyleClass(io.c8a)).childNodes.length,e.style.minHeight=Number(g*f)+"px"):e.style.minWidth=Number(g*f)+"px"}};io.Htb=function(a,b,d){"true"==d?io.ldb(a,b):io.kdb(a,b)};
io.kdb=function(a,b){var d=A.c.H(),e=document.querySelector("."+d.getStyleClass(io.kCa)),f=e.style.width;0<a&&a>f&&(C.w(e,d.getStyleClass(io.o1a)),e.style.width=a+"%");d=document.querySelector("."+d.getStyleClass(io.p1a));io.Cib=b;d.style.left=b};io.ldb=function(a,b){var d=A.c.H(),e=document.querySelector("."+d.getStyleClass(io.KFa)),f=e.style.height;0<a&&a>f&&(C.w(e,d.getStyleClass(io.a8a)),e.style.height=a+"%");d=document.querySelector("."+d.getStyleClass(io.b8a));io.Cib=b;d.style.top=b};
io.prototype.Od=function(a,b,d,e){b=a.g();a=xa.count(b,":");u.assert(0<=d.indexOf(b));d=d.substring(b.length+1);b=d.indexOf(":");0<b&&e.push([a+1,d.substring(0,b)])};r.a("AdfDhtmlTrainV2Peer.prototype.ConvertClientIdToLocator",{Od:io.prototype.Od});
io.prototype.Sd=function(a,b){var d=this.i(),d=C.ib(d,"div");if(!d)return null;var e=a.getLayout();"string"==typeof b&&(b=parseInt(b));if(0==b)return"vertical"==e?(d=C.Ic(d,"div",1),C.pa(d)):C.Ic(d,"div",1);d="vertical"==e?C.Ic(d,"div",1):d;return(d=C.Mi(d,1,b+1))?d.id:null};r.a("AdfDhtmlTrainV2Peer.prototype.convertLocatorToClientId",{Sd:io.prototype.Sd});