{"ast":null,"code":"import { NavigationEnd } from '@angular/router';\nimport { filter } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/router\";\nimport * as i2 from \"@angular/platform-browser\";\nexport let PagedetailsComponent = /*#__PURE__*/(() => {\n  class PagedetailsComponent {\n    constructor(router, activatedRoute, titleService) {\n      this.router = router;\n      this.activatedRoute = activatedRoute;\n      this.titleService = titleService;\n    }\n\n    ngOnInit() {\n      this.router.events.pipe(filter(event => event instanceof NavigationEnd)).subscribe(() => {\n        const rt = this.getChild(this.activatedRoute);\n        rt.data.subscribe(data => {\n          this.currentUrl = data.title;\n          this.titleService.setTitle(data.title);\n        });\n      });\n    }\n\n    getChild(activatedRoute) {\n      if (activatedRoute.firstChild) {\n        return this.getChild(activatedRoute.firstChild);\n      } else {\n        return activatedRoute;\n      }\n    }\n\n  }\n\n  PagedetailsComponent.ɵfac = function PagedetailsComponent_Factory(t) {\n    return new (t || PagedetailsComponent)(i0.ɵɵdirectiveInject(i1.Router), i0.ɵɵdirectiveInject(i1.ActivatedRoute), i0.ɵɵdirectiveInject(i2.Title));\n  };\n\n  PagedetailsComponent.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n    type: PagedetailsComponent,\n    selectors: [[\"app-pagedetails\"]],\n    decls: 17,\n    vars: 1,\n    consts: [[1, \"cmt-page-title-row\"], [1, \"cmt-page-title-row-inner\"], [1, \"container\"], [\"id\", \"pageDetails\", 1, \"row\", \"align-items-center\"], [1, \"col-md-4\"], [1, \"page-title-heading\"], [1, \"title\"], [1, \"col-md-8\", 2, \"margin-top\", \"50px\"], [\"behavior\", \"\", \"direction\", \"\"], [1, \"d-flex\", \"justify-content-between\", \"align-items-center\", \"pb-3\"], [\"src\", \"../../../assets/images/UPS.png\", \"alt\", \"\"], [\"src\", \"../../../assets/images/Fedex.png\", \"alt\", \"\"], [\"src\", \"../../../assets/images/DHL.png\", \"alt\", \"\"], [\"src\", \"../../../assets/images/ICL.png\", \"alt\", \"\", 1, \"img-small\"], [\"src\", \"../../../assets/images/Delhivery.png\", \"alt\", \"\", 1, \"img-small\"], [\"src\", \"../../../assets/images/BlueDart.png\", \"alt\", \"\", 1, \"img-small\"]],\n    template: function PagedetailsComponent_Template(rf, ctx) {\n      if (rf & 1) {\n        i0.ɵɵelementStart(0, \"div\", 0);\n        i0.ɵɵelementStart(1, \"div\", 1);\n        i0.ɵɵelementStart(2, \"div\", 2);\n        i0.ɵɵelementStart(3, \"div\", 3);\n        i0.ɵɵelementStart(4, \"div\", 4);\n        i0.ɵɵelementStart(5, \"div\", 5);\n        i0.ɵɵelementStart(6, \"h2\", 6);\n        i0.ɵɵtext(7);\n        i0.ɵɵelementEnd();\n        i0.ɵɵelementEnd();\n        i0.ɵɵelementEnd();\n        i0.ɵɵelement(8, \"div\", 7);\n        i0.ɵɵelementEnd();\n        i0.ɵɵelementStart(9, \"marquee\", 8);\n        i0.ɵɵelementStart(10, \"div\", 9);\n        i0.ɵɵelement(11, \"img\", 10);\n        i0.ɵɵelement(12, \"img\", 11);\n        i0.ɵɵelement(13, \"img\", 12);\n        i0.ɵɵelement(14, \"img\", 13);\n        i0.ɵɵelement(15, \"img\", 14);\n        i0.ɵɵelement(16, \"img\", 15);\n        i0.ɵɵelementEnd();\n        i0.ɵɵelementEnd();\n        i0.ɵɵelementEnd();\n        i0.ɵɵelementEnd();\n        i0.ɵɵelementEnd();\n      }\n\n      if (rf & 2) {\n        i0.ɵɵadvance(7);\n        i0.ɵɵtextInterpolate(ctx.currentUrl);\n      }\n    },\n    styles: [\".cmt-page-title-row-inner[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]{padding:0!important}#pageDetails[_ngcontent-%COMP%]{min-height:400px}.cmt-page-title-row[_ngcontent-%COMP%]{background-size:contain!important;background-repeat:no-repeat!important;height:100%!important}img[_ngcontent-%COMP%]{min-height:4rem!important;max-height:4rem!important}.img-small[_ngcontent-%COMP%]{min-height:2rem!important;max-height:2rem!important}@media screen and (max-width:768px){img[_ngcontent-%COMP%]{min-height:2rem!important;max-height:2rem!important}#pageDetails[_ngcontent-%COMP%]{min-height:250px}}\"]\n  });\n  return PagedetailsComponent;\n})();","map":null,"metadata":{},"sourceType":"module"}