define(["exports","./edu-vendor","./edu-main","npm:navigo/lib/navigo.js","css:/base.css","css:/style-web.css","css:/header-web.css","systemjs","npm:tablesort/dist/tablesort.min.js","css:/pages/profile/review-star.css","css:/icons-social.css"],function(e,t,s,a,r,n,o,i,c,u,l){"use strict";class h{constructor(){this.queryParams=new t.BehaviorSubject({}),this.fragment=new t.BehaviorSubject("");let e=g.subscribe(e=>{e&&this.queryParams.next(e.params||{})});this.queryParams.subscribe({complete:()=>{e.unsubscribe()}});let s=e=>{this.fragment.next(location.hash)};window.addEventListener("hashchange",s),this.fragment.subscribe({complete:()=>{window.removeEventListener("hashchange",s)}})}}class m{constructor(){}navigate(e,t={skipLocationChange:!1}){return new Promise((a,r)=>{const n={updateBrowserURL:!0};try{let r=f.lastResolved(),o="";r&&r[0]&&r[0].url&&(o=r[0].url),o=e&&e.length?e.join("/"):o,t.queryParams&&(o+="?"+s.objectSerialize(t.queryParams)),t.fragment&&(o+="#"+t.fragment),f.navigate(o,n),setTimeout(()=>{a(!0)},200)}catch(e){r(e)}})}}let d=[];const g=new t.BehaviorSubject(null);let f;class p{static forRoot(e){d=d.concat(e)}get navigo(){return f}constructor(){if(!f){let e=document.querySelector("head base").getAttribute("href")||"/";f=new a(e);const t=e=>{const t=e?[e]:f.lastResolved()||[];s.arrayForEach(t,e=>{g.next({url:e.url,params:e.params,query:e.queryString})})};let r=location.pathname.substring(location.pathname.indexOf(e)+e.length-1);d.forEach(e=>{if(e.path){let s=e.path;s==r&&(r=null),"prefix"==e.pathMatch&&(s+="/*"),f.on(s,()=>{},{after:t})}}),r&&f.on(location.pathname.substring(location.pathname.indexOf(e)+e.length-1),()=>{},{after:t}),f.resolve(),t()}}}p.ɵfac=function(e){return new(e||p)},p.ɵmod=t.ɵɵdefineNgModule({type:p}),p.ɵinj=t.ɵɵdefineInjector({providers:[h,m],imports:[t.CommonModule]}),e.ActivatedRoute=h,e.GetNavigo=function(){return f},e.Router=m,e.RouterModule=p});