/*! Copyright 2016-2023 Epic Systems Corporation */
!function WP$UI$SubwayStop$definition(){var t=$$WP.Common.ModelCollection,e=function WP$UI$SubwayStop(t){this.WP$Common$Model(t),this.Status=this.Status||o.Unstarted},n={s_dataMembers:["Index","Name","Icon","Status","Compact","SvgLibraryIcon","RTLIcon"],Index:null,Name:null,Icon:null,Status:null,Compact:!1,SvgLibraryIcon:null,RTLIcon:!1,IsCompleted:function WP$UI$SubwayStop$IsPast(){return this.Status===o.Completed},IsCurrent:function WP$UI$SubwayStop$IsCurrent(){return this.Status===o.Current},IsFuture:function WP$UI$SubwayStop$IsFuture(){return this.Status===o.Unstarted},IsVisited:function WP$UI$SubwayStop$IsVisited(){return this.Status===o.Current||this.Status===o.Completed||this.Status===o.Incomplete},IsPreLogin:function WP$UI$SubwayStop$IsPreLogin(){return $$WP.Utilities.UI.Prelogin}},o={Unstarted:0,Current:1,Completed:2,Incomplete:3,Indeterminate:99},s=[{propertyNames:"Index",storeAs:"single"},{propertyNames:"Status",storeAs:"set"}],u=["Status"],r=[{propertyName:"Status",value:o.Current,bumpToValue:o.Indeterminate}];e.prototype=n,e.StatusEnum=o,e.createModelCollection=function WP$UI$SubwayStop$createModelCollection(){return new t(s,u,r)},e.convertRawStops=function WP$UI$SubwayStop$convertRawStops(t,n){var o,s,u,r;for(r=[],n.openChangeBatch(),o=0;o<t.length;o++)"object"==typeof(s=t[o])&&void 0!==s.Index&&(null===(u=n.getFromIndex("Index",s.Index))&&(u=new e(s),n.add(u)),r.push(u));return n.closeChangeBatch(),r},e.removeStop=function WP$UI$SubwayStop$removeStop(t,e){e.openChangeBatch(),e.remove(t),e.closeChangeBatch()},$$WP.UI=$$WP.UI||{},$$WP.UI.SubwayStop=e,e.extend($$WP.Common.Model,"WP$UI$SubwayStop")}(),$$WP.Debug.UnitTest=$$WP.Debug.UnitTest||{},$$WP.Debug.UnitTest.tests=$$WP.Debug.UnitTest.tests||[],$$WP.Debug.UnitTest.tests.push((function UnitTests$Income(t){$$WP.Debug.UnitTest.assert}));