var go=I.ea(I,"AdfDhtmlTrainV2Peer");m("AdfDhtmlTrainV2Peer",go);go.prototype.G=function(a,b){go.h.G.call(this,a,b);var d=a.g(),d=I.j(d,go.Y5a);go.smb(a,d)};r.a("AdfDhtmlTrainV2Peer.prototype.InitDomElement",{G:go.prototype.G});
go.C=function(){this.Y5a="stopsContainer";this.$5a="38";this.j1a="AFDrawAnimationElement";this.Y7a="AFDrawAnimationElementVertical";this.gCa="af|train::join-fill";this.GFa="af|train-vertical::join-fill";this.k1a="af|train::join-wrapper";this.Z7a="af|train-vertical::join-wrapper";this.$7a="af|train-vertical::stops"};m("AdfDhtmlTrainV2Peer.InitSubclass",go.C);go.G8a=function(a){var b=A.c.H(),b=document.querySelector("."+b.getStyleClass(go.gCa)).style.width;a.setProperty("joinWidth",b,!0,G.ld)};
go.F8a=function(a){var b=A.c.H(),b=document.querySelector("."+b.getStyleClass(go.GFa)).style.height;a.setProperty("joinHeight",b,!0,G.ld)};go.smb=function(a,b){var d="vertical"==a.getLayout(),e=q.oa().getElementById(b);if(e){var f=e.childNodes.length-1,g=go.$5a;d?(d=A.c.H(),f=e.querySelector("."+d.getStyleClass(go.$7a)).childNodes.length,e.style.minHeight=Number(g*f)+"px"):e.style.minWidth=Number(g*f)+"px"}};go.Htb=function(a,b,d){"true"==d?go.kdb(a,b):go.jdb(a,b)};
go.jdb=function(a,b){var d=A.c.H(),e=document.querySelector("."+d.getStyleClass(go.gCa)),f=e.style.width;0<a&&a>f&&(C.w(e,d.getStyleClass(go.j1a)),e.style.width=a+"%");d=document.querySelector("."+d.getStyleClass(go.k1a));go.Bib=b;d.style.left=b};go.kdb=function(a,b){var d=A.c.H(),e=document.querySelector("."+d.getStyleClass(go.GFa)),f=e.style.height;0<a&&a>f&&(C.w(e,d.getStyleClass(go.Y7a)),e.style.height=a+"%");d=document.querySelector("."+d.getStyleClass(go.Z7a));go.Bib=b;d.style.top=b};
go.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:go.prototype.Od});
go.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.Li(d,1,b+1))?d.id:null};r.a("AdfDhtmlTrainV2Peer.prototype.convertLocatorToClientId",{Sd:go.prototype.Sd});