PageSourceSearch

https://coursesity.com/3763.98f8bbfe08112123.js

js coursesity.com collected 2026-10-02 04:07:39 UTC 3,957 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkquickcode_ui=self.webpackChunkquickcode_ui||[]).push([[3763],{3763:(p,S,u)=>{u.r(S),u.d(S,{UrlHandlerModule:()=>g});var h=u(4460),R=u(3393),t=u(9431),T=u(6160),s=u(3107);const c=[{path:"",component:(()=>{class i{constructor(e,r,a){this.router=e,this.route=r,this.httpRepository=a,this.ROUTS=t.ROUTS,this.CONSTANTS=t.CONSTANTS}ngOnInit(){this.initAfterUrlRead()}initAfterUrlRead(){if(-1===this.router.url.indexOf(t.ROUTS.COURSE_REDIRECT_URL)&&-1===this.router.url.indexOf(t.ROUTS.FREE_COURSE_REDIRECT_URL)||this.redirectUrl("/"+t.ROUTS.FEATURED_AND_NEW_COURSES+t.CONSTANTS.NEW_COURSES),-1!==this.router.url.indexOf(t.ROUTS.BEST_PROGRAMMING_COURSES_REDIRECT_URL)&&this.redirectUrl("/"+t.ROUTS.COURSES_BY_COURSESECTION+t.CONSTANTS.DEVELOPMENT),-1===this.router.url.indexOf(t.ROUTS.COURSE_NEW_DESIGN_REDIRECT_URL)&&-1===this.router.url.indexOf(t.ROUTS.DESIGN_COURSES_REDIRECT_URL)||this.redirectUrl("/"+t.ROUTS.COURSES_BY_COURSESECTION+t.CONSTANTS.DESIGN),-1!==this.router.url.indexOf(t.ROUTS.ENGINEER_BLOG_REDIRECT_URL)&&this.redirectUrl("/"+t.ROUTS.ENGINEER_BLOG),-1!==this.router.url.indexOf(t.ROUTS.BEST_TUTORIAL_LEARN_BY_SUBJECT)){let o=this.route.snapshot.paramMap.get("subcategoryUrlSlug");this.redirectUrl("/"+t.ROUTS.COURSES_BY_SUBCATEGORY+o)}let e=this.route.snapshot.paramMap.get("categoryId"),r=this.route.snapshot.paramMap.get("categoryName");e&&r&&this.getCategoryUrlslug(e);let a=this.route.snapshot.paramMap.get("subcategoryId"),l=this.route.snapshot.paramMap.get("subcategoryName");a&&l&&-1!==this.router.url.indexOf(t.ROUTS.SUBCATEGORYID_BEST_TUTORIALS_LEARN_REDIRECT_URL)&&l?this.getSubcategoryUrlslug(a,l,t.ROUTS.COURSES_BY_SUBCATEGORY_BEST):(a&&l||-1!==this.router.url.indexOf(t.ROUTS.SUBCATEGORYNAME_FREE_TUTORIALS_LEARN_REDIRECT_URL)&&l)&&this.getSubcategoryUrlslug(a,l,t.ROUTS.COURSES_BY_SUBCATEGORY);let U=this.route.snapshot.paramMap.get("courseId"),n=this.route.snapshot.paramMap.get("courseName");if(U&&n)if(isNaN(Number(U))){if(isNaN(Number(n)))return void this.router.navigateByUrl("/"+t.ROUTS.INDEX_PATH);this.getCourseUrlslug(n)}else this.getCourseUrlslug(U);let E=this.route.snapshot.paramMap.get("courseDetailId"),d=this.route.snapshot.paramMap.get("courseDetailName");E&&d&&this.getCourseUrlslug(E)}redirectUrl(e){this.router.navigateByUrl(e)}getSubcategoryUrlslug(e,r,a){this.httpRepository.getSubcategoryUrlslug(e,r).subscribe(l=>{l.data?this.redirectUrl("/"+a+l.data):this.router.navigateByUrl("/"+t.ROUTS.INDEX_PATH)},l=>{console.log(l),this.router.navigateByUrl("/"+t.ROUTS.INDEX_PATH)})}getCategoryUrlslug(e){this.httpRepository.getCategoryUrlslug(e).subscribe(r=>{r.data?this.redirectUrl("/"+t.ROUTS.COURSES_BY_CATEGORY+r.data):this.router.navigateByUrl("/"+t.ROUTS.INDEX_PATH)},r=>{console.log(r),this.router.navigateByUrl("/"+t.ROUTS.INDEX_PATH)})}getCourseUrlslug(e){this.httpRepository.getCourseUrlslug(e).subscribe(r=>{r.data?this.redirectUrl("/"+t.ROUTS.COURSE_DETAIL_PATH+r.data):this.router.navigateByUrl("/"+t.ROUTS.INDEX_PATH)},r=>{console.log(r),this.router.navigateByUrl("/"+t.ROUTS.INDEX_PATH)})}static#t=this.\u0275fac=function(r){return new(r||i)(s.rXU(R.Ix),s.rXU(R.nX),s.rXU(T.T))};static#r=this.\u0275cmp=s.VBU({type:i,selectors:[["app-url-handler"]],decls:6,vars:0,consts:[[1,"row"],[1,"col","align-self-center","redirect-block"]],template:function(r,a){1&r&&(s.j41(0,"div",0)(1,"div",1)(2,"p"),s.EFF(3,"The most updated version of the page is getting ready."),s.k0s(),s.j41(4,"p"),s.EFF(5,"Please wait for a moment..."),s.k0s()()())}})}return i})()}];let O=(()=>{class i{static#t=this.\u0275fac=function(r){return new(r||i)};static#r=this.\u0275mod=s.$C({type:i});static#e=this.\u0275inj=s.G2t({imports:[R.iI.forChild(c),R.iI]})}return i})(),g=(()=>{class i{static#t=this.\u0275fac=function(r){return new(r||i)};static#r=this.\u0275mod=s.$C({type:i});static#e=this.\u0275inj=s.G2t({imports:[h.MD,O]})}return i})()}}]);
2//# sourceMappingURL=3763.98f8bbfe08112123.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.