(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{"/5ci":function(e,t,n){"use strict";n.r(t);var i=n("ofXK"),a=n("3Pt+"),c=n("sYmb"),o=n("uIW0"),l=n("UWk7"),r=n("GAWG"),s=n("j672"),d=n("AytR"),m=n("fXoL"),u=n("DiM6"),b=n("jhN1"),g=n("LYBR"),h=n("tyNb"),p=n("qVlC"),f=n("oOf3"),v=n("GmSP"),C=n("/9+q");function D(e,t){if(1&e&&(m.ac(0,"span"),m.Vc(1),m.Zb()),2&e){const e=m.mc();m.Hb(1),m.Wc("hi"!=e.translate.currentLang?null==e.pageTitle?null:e.pageTitle.NameEnglish:null==e.pageTitle?null:e.pageTitle.NameHindi)}}function M(e,t){if(1&e&&(m.ac(0,"span"),m.Vc(1),m.Zb()),2&e){const e=m.mc();m.Hb(1),m.Wc("en"==e.translate.currentLang?null==e.category?null:e.category.SubMenuNameEnglish:null==e.category?null:e.category.SubMenuNameHindi)}}function I(e,t){if(1&e){const e=m.bc();m.ac(0,"div",11),m.ac(1,"div",12),m.ac(2,"div",13),m.ac(3,"div",14),m.ac(4,"label",15),m.Vc(5),m.nc(6,"translate"),m.Zb(),m.ac(7,"input",16),m.ic("ngModelChange",(function(t){return m.Mc(e),m.mc().filterModel.SearchKeyword=t}))("keyup.enter",(function(){return m.Mc(e),m.mc().onSearch()})),m.nc(8,"translate"),m.Zb(),m.Zb(),m.ac(9,"div",17),m.ac(10,"label",18),m.Vc(11,"\xa0"),m.Zb(),m.ac(12,"button",19),m.ic("click",(function(){return m.Mc(e),m.mc().onSearch()})),m.Wb(13,"i",20),m.Vc(14),m.nc(15,"translate"),m.Zb(),m.Zb(),m.ac(16,"div",17),m.ac(17,"label",18),m.Vc(18,"\xa0"),m.Zb(),m.ac(19,"button",21),m.ic("click",(function(){return m.Mc(e),m.mc().reset()})),m.Wb(20,"i",22),m.Vc(21),m.nc(22,"translate"),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.Zb()}if(2&e){const e=m.mc();m.Hb(5),m.Wc(m.oc(6,5,"TextSearch_txt")),m.Hb(2),m.uc("placeholder",m.oc(8,7,"TextSearch_txt")),m.tc("ngModel",e.filterModel.SearchKeyword),m.Hb(7),m.Xc(" ",m.oc(15,9,"Search_txt")," "),m.Hb(7),m.Xc(" ",m.oc(22,11,"Reset_txt")," ")}}function Z(e,t){if(1&e&&(m.ac(0,"span"),m.Vc(1),m.nc(2,"date"),m.Zb()),2&e){const e=m.mc().$implicit,t=m.mc(3);m.Hb(1),m.Xc(" ",m.pc(2,1,e.AchievementDate,t.DateFormat)," ")}}function T(e,t){if(1&e&&(m.ac(0,"span"),m.Vc(1),m.Zb()),2&e){const e=m.mc().$implicit;m.Hb(1),m.Xc(" ",e.AchievementDateHindi," ")}}function y(e,t){1&e&&(m.ac(0,"span"),m.Vc(1,"N/A"),m.Zb())}function x(e,t){if(1&e&&(m.ac(0,"a",37),m.nc(1,"translate"),m.Wb(2,"i",38),m.Zb()),2&e){const e=m.mc().$implicit;m.uc("href",null==e?null:e.PdfFIleName,m.Pc),m.uc("title",m.oc(1,2,"pdf_txt"))}}function P(e,t){if(1&e){const e=m.bc();m.ac(0,"a",37),m.nc(1,"translate"),m.ac(2,"img",39),m.ic("error",(function(t){return m.Mc(e),m.mc(5).commonService.onImageError(t,"assets/images/loader.gif")})),m.nc(3,"translate"),m.nc(4,"translate"),m.Zb(),m.Zb()}if(2&e){const e=m.mc().$implicit;m.uc("href",e,m.Pc),m.uc("title",m.oc(1,5,"Image_txt")),m.Hb(2),m.uc("src",e,m.Pc),m.uc("title",m.oc(3,7,"Image_txt")),m.uc("alt",m.oc(4,9,"Image_txt"))}}function S(e,t){if(1&e&&(m.Yb(0),m.Tc(1,P,5,11,"a",36),m.Xb()),2&e){const e=t.$implicit;m.Hb(1),m.tc("ngIf",e)}}function _(e,t){if(1&e){const e=m.bc();m.ac(0,"a",37),m.nc(1,"translate"),m.ac(2,"img",39),m.ic("error",(function(t){return m.Mc(e),m.mc(4).commonService.onImageError(t,"assets/images/loader.gif")})),m.nc(3,"translate"),m.nc(4,"translate"),m.Zb(),m.Zb()}if(2&e){const e=m.mc().$implicit;m.uc("href",e.ImagePath,m.Pc),m.uc("title",m.oc(1,5,"Image_txt")),m.Hb(2),m.uc("src",e.ImagePath,m.Pc),m.uc("title",m.oc(3,7,"Image_txt")),m.uc("alt",m.oc(4,9,"Image_txt"))}}function w(e,t){if(1&e&&(m.ac(0,"a",37),m.nc(1,"translate"),m.Wb(2,"i",40),m.Zb()),2&e){const e=m.mc().$implicit;m.uc("href",null==e?null:e.Url,m.Pc),m.uc("title",m.oc(1,2,"WebsiteUrl"))}}function L(e,t){if(1&e&&(m.Yb(0),m.ac(1,"tr"),m.ac(2,"td"),m.Vc(3),m.Zb(),m.ac(4,"td"),m.Vc(5),m.Zb(),m.ac(6,"td"),m.Tc(7,Z,3,4,"span",6),m.Tc(8,T,2,1,"span",6),m.Tc(9,y,2,0,"span",6),m.Zb(),m.ac(10,"td"),m.Tc(11,x,3,4,"a",35),m.Tc(12,S,2,1,"ng-container",34),m.Tc(13,_,5,11,"a",36),m.Tc(14,w,3,4,"a",35),m.Zb(),m.Zb(),m.Xb()),2&e){const e=t.$implicit,n=t.index,i=m.mc(3);m.Hb(3),m.Xc(" ",(i.indexModel.Page-1)*i.indexModel.PageSize+(n+1)," "),m.Hb(2),m.Xc(" ","en"==i.translate.currentLang?e.AchievementHindi:e.SubjectHindi?e.SubjectHindi:e.AchievementHindi," "),m.Hb(2),m.tc("ngIf","en"==i.translate.currentLang&&(null==e?null:e.AchievementDate)),m.Hb(1),m.tc("ngIf","en"!=i.translate.currentLang&&(null==e?null:e.AchievementDateHindi)),m.Hb(1),m.tc("ngIf",!(null!=e&&e.AchievementDate||null!=e&&e.AchievementDateHindi)),m.Hb(2),m.tc("ngIf",e.PdfFIleName),m.Hb(1),m.tc("ngForOf",e.ImageFiles),m.Hb(1),m.tc("ngIf",e.ImagePath),m.Hb(1),m.tc("ngIf",e.Url)}}function V(e,t){if(1&e&&(m.Yb(0),m.ac(1,"div",29),m.ac(2,"div",30),m.ac(3,"table",31),m.ac(4,"thead"),m.ac(5,"tr"),m.ac(6,"th",32),m.Vc(7),m.nc(8,"translate"),m.Zb(),m.ac(9,"th"),m.Vc(10),m.nc(11,"translate"),m.Zb(),m.ac(12,"th"),m.Vc(13),m.nc(14,"translate"),m.Zb(),m.ac(15,"th",33),m.Vc(16),m.nc(17,"translate"),m.Zb(),m.Zb(),m.Zb(),m.ac(18,"tbody"),m.Tc(19,L,15,9,"ng-container",34),m.nc(20,"paginate"),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.Xb()),2&e){const e=m.mc(2);m.Hb(7),m.Wc(m.oc(8,5,"SrNo_txt")),m.Hb(3),m.Wc(m.oc(11,7,"Description_txt")),m.Hb(3),m.Wc(m.oc(14,9,"Date_txt")),m.Hb(3),m.Wc(m.oc(17,11,"Attachment_txt")),m.Hb(3),m.tc("ngForOf",m.pc(20,13,e.model,e.pagerConfig))}}function k(e,t){1&e&&(m.ac(0,"option",49),m.Vc(1,"25"),m.Zb())}function N(e,t){1&e&&(m.ac(0,"option",50),m.Vc(1,"50"),m.Zb())}function O(e,t){1&e&&(m.ac(0,"option",51),m.Vc(1,"100"),m.Zb())}function A(e,t){if(1&e){const e=m.bc();m.ac(0,"div",41),m.ac(1,"select",42),m.ic("change",(function(t){return m.Mc(e),m.mc(2).changePageSize(t.target.value)})),m.ac(2,"option",43),m.Vc(3,"10"),m.Zb(),m.Tc(4,k,2,0,"option",44),m.Tc(5,N,2,0,"option",45),m.Tc(6,O,2,0,"option",46),m.ac(7,"option",47),m.Vc(8),m.nc(9,"translate"),m.Zb(),m.Zb(),m.ac(10,"pagination-controls",48),m.ic("pageChange",(function(t){return m.Mc(e),m.mc(2).getNextPageRecord(t)})),m.nc(11,"translate"),m.nc(12,"translate"),m.Zb(),m.Zb()}if(2&e){const e=m.mc(2);m.Hb(4),m.tc("ngIf",e.totalRecords>25),m.Hb(1),m.tc("ngIf",e.totalRecords>50),m.Hb(1),m.tc("ngIf",e.totalRecords>100),m.Hb(1),m.uc("value",e.totalRecords),m.Hb(1),m.Xc(" ",m.oc(9,7,"All_txt")," "),m.Hb(2),m.uc("previousLabel",m.oc(11,9,"Previous_txt")),m.uc("nextLabel",m.oc(12,11,"Next_txt"))}}function W(e,t){if(1&e){const e=m.bc();m.ac(0,"div",23),m.ac(1,"div",24),m.ac(2,"div",25),m.ac(3,"h1",26),m.ac(4,"img",27),m.ic("error",(function(t){return m.Mc(e),m.mc().commonService.onImageError(t,"assets/images/departmental_galley.png")})),m.nc(5,"translate"),m.nc(6,"translate"),m.Zb(),m.Vc(7),m.nc(8,"translate"),m.Zb(),m.Zb(),m.Zb(),m.ac(9,"div",24),m.Tc(10,V,21,16,"ng-container",6),m.Tc(11,A,13,13,"div",28),m.Zb(),m.Zb()}if(2&e){const e=m.mc();m.Hb(4),m.uc("src",(null==e.pageTitle?null:e.pageTitle.ImagePath)||"assets/images/new-gov-orders.png",m.Pc),m.uc("title",m.oc(5,6,"Government_Orders_txt")),m.uc("alt",m.oc(6,8,"Government_Orders_txt")),m.Hb(3),m.Xc(" ",m.oc(8,10,"Government_Orders_txt")," "),m.Hb(3),m.tc("ngIf",(null==e.model?null:e.model.length)>0),m.Hb(1),m.tc("ngIf",e.totalRecords>10)}}function E(e,t){if(1&e&&m.Wb(0,"div",55),2&e){const e=m.mc().$implicit;m.tc("innerHTML",null==e?null:e.EditorDetailEnglish,m.Nc)}}function G(e,t){if(1&e&&m.Wb(0,"div",55),2&e){const e=m.mc().$implicit;m.tc("innerHTML",null==e?null:e.EditorDetail,m.Nc)}}function F(e,t){if(1&e&&(m.ac(0,"a",37),m.nc(1,"translate"),m.Wb(2,"i",38),m.Zb()),2&e){const e=m.mc().$implicit;m.uc("href",null==e?null:e.PdfFIleName,m.Pc),m.uc("title",m.oc(1,2,"pdf_txt"))}}function R(e,t){if(1&e){const e=m.bc();m.ac(0,"a",37),m.nc(1,"translate"),m.ac(2,"img",39),m.ic("error",(function(t){return m.Mc(e),m.mc(5).commonService.onImageError(t,"assets/images/loader.gif")})),m.nc(3,"translate"),m.nc(4,"translate"),m.Zb(),m.Zb()}if(2&e){const e=m.mc().$implicit;m.uc("href",e,m.Pc),m.uc("title",m.oc(1,5,"Image_txt")),m.Hb(2),m.uc("src",e,m.Pc),m.uc("title",m.oc(3,7,"Image_txt")),m.uc("alt",m.oc(4,9,"Image_txt"))}}function X(e,t){if(1&e&&(m.Yb(0),m.Tc(1,R,5,11,"a",36),m.Xb()),2&e){const e=t.$implicit;m.Hb(1),m.tc("ngIf",e)}}function B(e,t){if(1&e){const e=m.bc();m.ac(0,"a",37),m.nc(1,"translate"),m.ac(2,"img",39),m.ic("error",(function(t){return m.Mc(e),m.mc(4).commonService.onImageError(t,"assets/images/loader.gif")})),m.nc(3,"translate"),m.nc(4,"translate"),m.Zb(),m.Zb()}if(2&e){const e=m.mc().$implicit;m.uc("href",e.ImagePath,m.Pc),m.uc("title",m.oc(1,5,"Image_txt")),m.Hb(2),m.uc("src",e.ImagePath,m.Pc),m.uc("title",m.oc(3,7,"Image_txt")),m.uc("alt",m.oc(4,9,"Image_txt"))}}function U(e,t){if(1&e&&(m.ac(0,"a",37),m.nc(1,"translate"),m.Wb(2,"i",40),m.Zb()),2&e){const e=m.mc().$implicit;m.uc("href",null==e?null:e.Url,m.Pc),m.uc("title",m.oc(1,2,"WebsiteUrl"))}}function z(e,t){if(1&e&&(m.Yb(0),m.ac(1,"tr"),m.ac(2,"td"),m.Vc(3),m.Zb(),m.ac(4,"td"),m.ac(5,"div",53),m.Vc(6),m.Zb(),m.Tc(7,E,1,1,"div",54),m.Tc(8,G,1,1,"div",54),m.Zb(),m.ac(9,"td"),m.Tc(10,F,3,4,"a",35),m.Tc(11,X,2,1,"ng-container",34),m.Tc(12,B,5,11,"a",36),m.Tc(13,U,3,4,"a",35),m.Zb(),m.Zb(),m.Xb()),2&e){const e=t.$implicit,n=t.index,i=m.mc(3);m.Hb(3),m.Xc(" ",(i.indexModel.Page-1)*i.indexModel.PageSize+(n+1)," "),m.Hb(3),m.Xc(" ","en"==i.translate.currentLang?e.AchievementHindi:e.SubjectHindi?e.SubjectHindi:e.AchievementHindi," "),m.Hb(1),m.tc("ngIf","en"==i.translate.currentLang),m.Hb(1),m.tc("ngIf","en"!=i.translate.currentLang),m.Hb(2),m.tc("ngIf",e.PdfFIleName),m.Hb(1),m.tc("ngForOf",e.ImageFiles),m.Hb(1),m.tc("ngIf",e.ImagePath),m.Hb(1),m.tc("ngIf",e.Url)}}function j(e,t){if(1&e&&(m.ac(0,"div",29),m.ac(1,"div",30),m.ac(2,"table",31),m.ac(3,"thead"),m.ac(4,"tr"),m.ac(5,"th",32),m.Vc(6),m.nc(7,"translate"),m.Zb(),m.ac(8,"th"),m.Vc(9),m.nc(10,"translate"),m.Zb(),m.ac(11,"th",33),m.Vc(12),m.nc(13,"translate"),m.Zb(),m.Zb(),m.Zb(),m.ac(14,"tbody"),m.Tc(15,z,14,8,"ng-container",34),m.nc(16,"paginate"),m.Zb(),m.Zb(),m.Zb(),m.Zb()),2&e){const e=m.mc(2);m.Hb(6),m.Wc(m.oc(7,4,"SrNo_txt")),m.Hb(3),m.Wc(m.oc(10,6,"Description_txt")),m.Hb(3),m.Wc(m.oc(13,8,"Attachment_txt")),m.Hb(3),m.tc("ngForOf",m.pc(16,10,e.model,e.pagerConfig))}}function Y(e,t){1&e&&(m.ac(0,"option",49),m.Vc(1,"25"),m.Zb())}function q(e,t){1&e&&(m.ac(0,"option",50),m.Vc(1,"50"),m.Zb())}function J(e,t){1&e&&(m.ac(0,"option",51),m.Vc(1,"100"),m.Zb())}function K(e,t){if(1&e){const e=m.bc();m.ac(0,"div",41),m.ac(1,"select",42),m.ic("change",(function(t){return m.Mc(e),m.mc(2).changeSpecialZonePageSize(t.target.value)})),m.ac(2,"option",43),m.Vc(3,"10"),m.Zb(),m.Tc(4,Y,2,0,"option",44),m.Tc(5,q,2,0,"option",45),m.Tc(6,J,2,0,"option",46),m.ac(7,"option",47),m.Vc(8),m.nc(9,"translate"),m.Zb(),m.Zb(),m.ac(10,"pagination-controls",48),m.ic("pageChange",(function(t){return m.Mc(e),m.mc(2).getSpecialZoneNextPageRecord(t)})),m.nc(11,"translate"),m.nc(12,"translate"),m.Zb(),m.Zb()}if(2&e){const e=m.mc(2);m.Hb(4),m.tc("ngIf",e.totalRecords>25),m.Hb(1),m.tc("ngIf",e.totalRecords>50),m.Hb(1),m.tc("ngIf",e.totalRecords>100),m.Hb(1),m.uc("value",e.totalRecords),m.Hb(1),m.Xc(" ",m.oc(9,7,"All_txt")," "),m.Hb(2),m.uc("previousLabel",m.oc(11,9,"Previous_txt")),m.uc("nextLabel",m.oc(12,11,"Next_txt"))}}function Q(e,t){if(1&e){const e=m.bc();m.ac(0,"div",23),m.ac(1,"div",24),m.ac(2,"div",25),m.ac(3,"h1",26),m.ac(4,"img",27),m.ic("error",(function(t){return m.Mc(e),m.mc().commonService.onImageError(t,"assets/images/requered-doc.png")})),m.nc(5,"translate"),m.nc(6,"translate"),m.Zb(),m.Vc(7),m.nc(8,"translate"),m.Zb(),m.Zb(),m.Zb(),m.ac(9,"div",24),m.Tc(10,j,17,13,"div",52),m.Tc(11,K,13,13,"div",28),m.Zb(),m.Zb()}if(2&e){const e=m.mc();m.Hb(4),m.uc("src",(null==e.pageTitle?null:e.pageTitle.ImagePath)||"assets/images/new-gov-orders.png",m.Pc),m.uc("title",m.oc(5,6,"specialEconomicZone_txt")),m.uc("alt",m.oc(6,8,"specialEconomicZone_txt")),m.Hb(3),m.Xc(" ",m.oc(8,10,"specialEconomicZone_txt")," "),m.Hb(3),m.tc("ngIf",(null==e.model?null:e.model.length)>0),m.Hb(1),m.tc("ngIf",e.totalRecords>10)}}function ee(e,t){if(1&e&&(m.ac(0,"span"),m.Vc(1),m.Zb()),2&e){const e=m.mc(2);m.Hb(1),m.Wc("hi"!=e.translate.currentLang?null==e.pageTitle?null:e.pageTitle.NameEnglish:null==e.pageTitle?null:e.pageTitle.NameHindi)}}function te(e,t){if(1&e&&(m.ac(0,"span"),m.Vc(1),m.Zb()),2&e){const e=m.mc(2);m.Hb(1),m.Wc("en"==e.translate.currentLang?null==e.category?null:e.category.SubMenuNameEnglish:null==e.category?null:e.category.SubMenuNameHindi)}}function ne(e,t){1&e&&(m.ac(0,"th"),m.Vc(1),m.nc(2,"translate"),m.Zb()),2&e&&(m.Hb(1),m.Wc(m.oc(2,1,"Date_txt")))}function ie(e,t){if(1&e&&m.Wb(0,"div",55),2&e){const e=m.mc().$implicit;m.tc("innerHTML",null==e?null:e.EditorDetailEnglish,m.Nc)}}function ae(e,t){if(1&e&&m.Wb(0,"div",55),2&e){const e=m.mc().$implicit;m.tc("innerHTML",null==e?null:e.EditorDetail,m.Nc)}}function ce(e,t){if(1&e&&(m.ac(0,"span"),m.Vc(1),m.nc(2,"date"),m.Zb()),2&e){const e=m.mc(2).$implicit,t=m.mc(3);m.Hb(1),m.Xc(" ",m.pc(2,1,e.AchievementDate,t.DateFormat)," ")}}function oe(e,t){if(1&e&&(m.ac(0,"span"),m.Vc(1),m.Zb()),2&e){const e=m.mc(2).$implicit;m.Hb(1),m.Xc(" ",e.AchievementDateHindi," ")}}function le(e,t){1&e&&(m.ac(0,"span"),m.Vc(1,"N/A"),m.Zb())}function re(e,t){if(1&e&&(m.ac(0,"td"),m.Tc(1,ce,3,4,"span",6),m.Tc(2,oe,2,1,"span",6),m.Tc(3,le,2,0,"span",6),m.Zb()),2&e){const e=m.mc().$implicit,t=m.mc(3);m.Hb(1),m.tc("ngIf","en"==t.translate.currentLang&&(null==e?null:e.AchievementDate)),m.Hb(1),m.tc("ngIf","en"!=t.translate.currentLang&&(null==e?null:e.AchievementDateHindi)),m.Hb(1),m.tc("ngIf",!(null!=e&&e.AchievementDate||null!=e&&e.AchievementDateHindi))}}function se(e,t){if(1&e&&(m.ac(0,"a",37),m.nc(1,"translate"),m.Wb(2,"i",38),m.Zb()),2&e){const e=m.mc().$implicit;m.uc("href",null==e?null:e.PdfFIleName,m.Pc),m.uc("title",m.oc(1,2,"pdf_txt"))}}function de(e,t){if(1&e&&(m.ac(0,"a",37),m.nc(1,"translate"),m.Wb(2,"i",40),m.Zb()),2&e){const e=m.mc().$implicit;m.uc("href",null==e?null:e.Url,m.Pc),m.uc("title",m.oc(1,2,"WebsiteUrl"))}}function me(e,t){if(1&e){const e=m.bc();m.ac(0,"a",37),m.nc(1,"translate"),m.ac(2,"img",57),m.ic("error",(function(t){return m.Mc(e),m.mc(5).commonService.onImageError(t,"assets/images/loader.gif")})),m.nc(3,"translate"),m.nc(4,"translate"),m.Zb(),m.Zb()}if(2&e){const e=m.mc().$implicit;m.uc("href",e,m.Pc),m.uc("title",m.oc(1,5,"Image_txt")),m.Hb(2),m.uc("src",e,m.Pc),m.uc("title",m.oc(3,7,"Image_txt")),m.uc("alt",m.oc(4,9,"Image_txt"))}}function ue(e,t){if(1&e&&(m.Yb(0),m.Tc(1,me,5,11,"a",36),m.Xb()),2&e){const e=t.$implicit;m.Hb(1),m.tc("ngIf",e)}}function be(e,t){if(1&e&&(m.Yb(0),m.ac(1,"tr"),m.ac(2,"td"),m.Vc(3),m.Zb(),m.ac(4,"td"),m.ac(5,"div",53),m.Vc(6),m.Zb(),m.Tc(7,ie,1,1,"div",54),m.Tc(8,ae,1,1,"div",54),m.Zb(),m.Tc(9,re,4,3,"td",6),m.ac(10,"td"),m.Tc(11,se,3,4,"a",35),m.Tc(12,de,3,4,"a",35),m.Tc(13,ue,2,1,"ng-container",34),m.Zb(),m.Zb(),m.Xb()),2&e){const e=t.$implicit,n=t.index,i=m.mc(3);m.Hb(3),m.Xc(" ",(i.indexModel.Page-1)*i.indexModel.PageSize+(n+1)," "),m.Hb(3),m.Xc(" ","en"==i.translate.currentLang?e.AchievementHindi:e.SubjectHindi?e.SubjectHindi:e.AchievementHindi," "),m.Hb(1),m.tc("ngIf","en"==i.translate.currentLang),m.Hb(1),m.tc("ngIf","en"!=i.translate.currentLang),m.Hb(1),m.tc("ngIf",i.category&&i.category.IsVisibleDate),m.Hb(2),m.tc("ngIf",e.PdfFIleName),m.Hb(1),m.tc("ngIf",e.Url),m.Hb(1),m.tc("ngForOf",e.ImageFiles)}}function ge(e,t){if(1&e&&(m.ac(0,"div",29),m.ac(1,"div",30),m.ac(2,"table",31),m.ac(3,"thead"),m.ac(4,"tr"),m.ac(5,"th",32),m.Vc(6),m.nc(7,"translate"),m.Zb(),m.ac(8,"th"),m.Vc(9),m.nc(10,"translate"),m.Zb(),m.Tc(11,ne,3,3,"th",6),m.ac(12,"th",33),m.Vc(13),m.nc(14,"translate"),m.Zb(),m.Zb(),m.Zb(),m.ac(15,"tbody"),m.Tc(16,be,14,8,"ng-container",34),m.nc(17,"paginate"),m.Zb(),m.Zb(),m.Zb(),m.Zb()),2&e){const e=m.mc(2);m.Hb(6),m.Wc(m.oc(7,5,"SrNo_txt")),m.Hb(3),m.Wc(m.oc(10,7,"Description_txt")),m.Hb(2),m.tc("ngIf",e.category&&e.category.IsVisibleDate),m.Hb(2),m.Wc(m.oc(14,9,"Attachment_txt")),m.Hb(3),m.tc("ngForOf",m.pc(17,11,e.model,e.pagerConfig))}}function he(e,t){1&e&&(m.ac(0,"option",49),m.Vc(1,"25"),m.Zb())}function pe(e,t){1&e&&(m.ac(0,"option",50),m.Vc(1,"50"),m.Zb())}function fe(e,t){1&e&&(m.ac(0,"option",51),m.Vc(1,"100"),m.Zb())}function ve(e,t){if(1&e){const e=m.bc();m.ac(0,"div",41),m.ac(1,"select",42),m.ic("change",(function(t){return m.Mc(e),m.mc(2).changeSpecialZonePageSize(t.target.value)})),m.ac(2,"option",43),m.Vc(3,"10"),m.Zb(),m.Tc(4,he,2,0,"option",44),m.Tc(5,pe,2,0,"option",45),m.Tc(6,fe,2,0,"option",46),m.ac(7,"option",47),m.Vc(8),m.nc(9,"translate"),m.Zb(),m.Zb(),m.ac(10,"pagination-controls",48),m.ic("pageChange",(function(t){return m.Mc(e),m.mc(2).getSpecialZoneNextPageRecord(t)})),m.nc(11,"translate"),m.nc(12,"translate"),m.Zb(),m.Zb()}if(2&e){const e=m.mc(2);m.Hb(4),m.tc("ngIf",e.totalRecords>25),m.Hb(1),m.tc("ngIf",e.totalRecords>50),m.Hb(1),m.tc("ngIf",e.totalRecords>100),m.Hb(1),m.uc("value",e.totalRecords),m.Hb(1),m.Xc(" ",m.oc(9,7,"All_txt")," "),m.Hb(2),m.uc("previousLabel",m.oc(11,9,"Previous_txt")),m.uc("nextLabel",m.oc(12,11,"Next_txt"))}}function Ce(e,t){if(1&e){const e=m.bc();m.ac(0,"div",23),m.ac(1,"div",24),m.ac(2,"div",25),m.ac(3,"h1",26),m.ac(4,"img",56),m.ic("error",(function(t){return m.Mc(e),m.mc().commonService.onImageError(t,"assets/images/new-gov-orders.png")}))("error",(function(t){return m.Mc(e),m.mc().commonService.onImageError(t,"assets/images/requered-doc.png")})),m.Zb(),m.Tc(5,ee,2,1,"span",6),m.Tc(6,te,2,1,"span",6),m.Zb(),m.Zb(),m.Zb(),m.ac(7,"div",24),m.Tc(8,ge,18,14,"div",52),m.Tc(9,ve,13,13,"div",28),m.Zb(),m.Zb()}if(2&e){const e=m.mc();m.Hb(4),m.uc("title","en"==e.translate.currentLang?e.category.SubMenuNameEnglish:e.category.SubMenuNameHindi),m.uc("alt","en"==e.translate.currentLang?e.category.SubMenuNameEnglish:e.category.SubMenuNameHindi),m.tc("src",null==e.category?null:e.category.ImagePath,m.Pc),m.Hb(1),m.tc("ngIf",e.pageTitle),m.Hb(1),m.tc("ngIf",!e.pageTitle),m.Hb(2),m.tc("ngIf",(null==e.model?null:e.model.length)>0),m.Hb(1),m.tc("ngIf",e.totalRecords>10)}}function He(e,t){if(1&e&&(m.ac(0,"a",37),m.nc(1,"translate"),m.Wb(2,"i",38),m.Zb()),2&e){const e=m.mc().$implicit;m.uc("href",null==e?null:e.PdfFIleName,m.Pc),m.uc("title",m.oc(1,2,"pdf_txt"))}}function De(e,t){if(1&e){const e=m.bc();m.ac(0,"a",37),m.nc(1,"translate"),m.ac(2,"img",39),m.ic("error",(function(t){return m.Mc(e),m.mc(5).commonService.onImageError(t,"assets/images/loader.gif")})),m.nc(3,"translate"),m.nc(4,"translate"),m.Zb(),m.Zb()}if(2&e){const e=m.mc().$implicit;m.uc("href",e,m.Pc),m.uc("title",m.oc(1,5,"Image_txt")),m.Hb(2),m.uc("src",e,m.Pc),m.uc("title",m.oc(3,7,"Image_txt")),m.uc("alt",m.oc(4,9,"Image_txt"))}}function Me(e,t){if(1&e&&(m.Yb(0),m.Tc(1,De,5,11,"a",36),m.Xb()),2&e){const e=t.$implicit;m.Hb(1),m.tc("ngIf",e)}}function Ie(e,t){if(1&e){const e=m.bc();m.ac(0,"a",37),m.nc(1,"translate"),m.ac(2,"img",39),m.ic("error",(function(t){return m.Mc(e),m.mc(4).commonService.onImageError(t,"assets/images/loader.gif")})),m.nc(3,"translate"),m.nc(4,"translate"),m.Zb(),m.Zb()}if(2&e){const e=m.mc().$implicit;m.uc("href",e.ImagePath,m.Pc),m.uc("title",m.oc(1,5,"Image_txt")),m.Hb(2),m.uc("src",e.ImagePath,m.Pc),m.uc("title",m.oc(3,7,"Image_txt")),m.uc("alt",m.oc(4,9,"Image_txt"))}}function Ze(e,t){if(1&e&&(m.ac(0,"a",37),m.nc(1,"translate"),m.Wb(2,"i",40),m.Zb()),2&e){const e=m.mc().$implicit;m.uc("href",null==e?null:e.Url,m.Pc),m.uc("title",m.oc(1,2,"WebsiteUrl"))}}function Te(e,t){if(1&e&&(m.Yb(0),m.ac(1,"tr"),m.ac(2,"td"),m.Vc(3),m.Zb(),m.ac(4,"td"),m.Vc(5),m.Zb(),m.ac(6,"td"),m.Tc(7,He,3,4,"a",35),m.Tc(8,Me,2,1,"ng-container",34),m.Tc(9,Ie,5,11,"a",36),m.Tc(10,Ze,3,4,"a",35),m.Zb(),m.Zb(),m.Xb()),2&e){const e=t.$implicit,n=t.index,i=m.mc(3);m.Hb(3),m.Xc(" ",(i.indexModel.Page-1)*i.indexModel.PageSize+(n+1)," "),m.Hb(2),m.Xc(" ","en"==i.translate.currentLang?e.AchievementHindi:e.SubjectHindi?e.SubjectHindi:e.AchievementHindi," "),m.Hb(2),m.tc("ngIf",e.PdfFIleName),m.Hb(1),m.tc("ngForOf",e.ImageFiles),m.Hb(1),m.tc("ngIf",e.ImagePath),m.Hb(1),m.tc("ngIf",e.Url)}}function ye(e,t){if(1&e&&(m.ac(0,"div",29),m.ac(1,"div",30),m.ac(2,"table",31),m.ac(3,"thead"),m.ac(4,"tr"),m.ac(5,"th",32),m.Vc(6),m.nc(7,"translate"),m.Zb(),m.ac(8,"th"),m.Vc(9),m.nc(10,"translate"),m.Zb(),m.ac(11,"th",33),m.Vc(12),m.nc(13,"translate"),m.Zb(),m.Zb(),m.Zb(),m.ac(14,"tbody"),m.Tc(15,Te,11,6,"ng-container",34),m.nc(16,"paginate"),m.Zb(),m.Zb(),m.Zb(),m.Zb()),2&e){const e=m.mc(2);m.Hb(6),m.Wc(m.oc(7,4,"SrNo_txt")),m.Hb(3),m.Wc(m.oc(10,6,"Scheme-Package-Description_txt")),m.Hb(3),m.Wc(m.oc(13,8,"Attachment_txt")),m.Hb(3),m.tc("ngForOf",m.pc(16,10,e.packagesModel,e.packagesPagerConfig))}}function xe(e,t){if(1&e){const e=m.bc();m.ac(0,"div",23),m.ac(1,"div",24),m.ac(2,"div",25),m.ac(3,"h1",26),m.ac(4,"img",27),m.ic("error",(function(t){return m.Mc(e),m.mc().commonService.onImageError(t,"assets/images/requered-doc.png")})),m.nc(5,"translate"),m.nc(6,"translate"),m.Zb(),m.Vc(7),m.nc(8,"translate"),m.Zb(),m.Zb(),m.Zb(),m.ac(9,"div",24),m.Tc(10,ye,17,13,"div",52),m.Zb(),m.Zb()}if(2&e){const e=m.mc();m.Hb(4),m.uc("src",(null==e.pageTitle?null:e.pageTitle.ImagePath)||"assets/images/scheme-package.png",m.Pc),m.uc("title",m.oc(5,5,"Detail-scheme-Package_txt")),m.uc("alt",m.oc(6,7,"Detail-scheme-Package_txt")),m.Hb(3),m.Xc(" ",m.oc(8,9,"Detail-scheme-Package_txt")," "),m.Hb(3),m.tc("ngIf",(null==e.packagesModel?null:e.packagesModel.length)>0)}}function Pe(e,t){if(1&e&&(m.ac(0,"span"),m.Vc(1),m.nc(2,"date"),m.Zb()),2&e){const e=m.mc().$implicit,t=m.mc(3);m.Hb(1),m.Xc(" ",m.pc(2,1,e.AchievementDate,t.DateFormat)," ")}}function Se(e,t){if(1&e&&(m.ac(0,"span"),m.Vc(1),m.Zb()),2&e){const e=m.mc().$implicit;m.Hb(1),m.Xc(" ",e.AchievementDateHindi," ")}}function _e(e,t){if(1&e&&(m.ac(0,"a",59),m.Wb(1,"i",60),m.Zb()),2&e){const e=m.mc().$implicit;m.uc("href",null==e?null:e.PdfFIleName,m.Pc)}}function we(e,t){if(1&e&&(m.Yb(0),m.ac(1,"tr"),m.ac(2,"td"),m.Vc(3),m.Zb(),m.ac(4,"td"),m.Vc(5),m.Zb(),m.ac(6,"td"),m.Tc(7,Pe,3,4,"span",6),m.Tc(8,Se,2,1,"span",6),m.Zb(),m.ac(9,"td"),m.Tc(10,_e,2,1,"a",58),m.Zb(),m.Zb(),m.Xb()),2&e){const e=t.$implicit,n=t.index,i=m.mc(3);m.Hb(3),m.Xc(" ",(i.inMediaIndexModel.Page-1)*i.inMediaIndexModel.PageSize+(n+1)," "),m.Hb(2),m.Xc(" ","en"==i.translate.currentLang?e.AchievementHindi:e.SubjectHindi?e.SubjectHindi:e.AchievementHindi," "),m.Hb(2),m.tc("ngIf","en"==i.translate.currentLang&&(null==e?null:e.AchievementDate)),m.Hb(1),m.tc("ngIf","en"!=i.translate.currentLang&&(null==e?null:e.AchievementDateHindi)),m.Hb(2),m.tc("ngIf",e.PdfFIleName)}}function Le(e,t){if(1&e&&(m.ac(0,"div",29),m.ac(1,"div",30),m.ac(2,"table",31),m.ac(3,"thead"),m.ac(4,"tr"),m.ac(5,"th",32),m.Vc(6),m.nc(7,"translate"),m.Zb(),m.ac(8,"th"),m.Vc(9),m.nc(10,"translate"),m.Zb(),m.ac(11,"th"),m.Vc(12),m.nc(13,"translate"),m.Zb(),m.ac(14,"th",33),m.Vc(15),m.nc(16,"translate"),m.Zb(),m.Zb(),m.Zb(),m.ac(17,"tbody"),m.Tc(18,we,11,5,"ng-container",34),m.nc(19,"paginate"),m.Zb(),m.Zb(),m.Zb(),m.Zb()),2&e){const e=m.mc(2);m.Hb(6),m.Wc(m.oc(7,5,"SrNo_txt")),m.Hb(3),m.Wc(m.oc(10,7,"NewsHeadline_txt")),m.Hb(3),m.Wc(m.oc(13,9,"Date_txt")),m.Hb(3),m.Wc(m.oc(16,11,"Attachment_txt")),m.Hb(3),m.tc("ngForOf",m.pc(19,13,e.inMediaModel,e.inMediaPagerConfig))}}function Ve(e,t){if(1&e){const e=m.bc();m.ac(0,"div",23),m.ac(1,"div",24),m.ac(2,"div",25),m.ac(3,"h1",26),m.ac(4,"img",27),m.ic("error",(function(t){return m.Mc(e),m.mc().commonService.onImageError(t,"assets/images/requered-doc.png")})),m.nc(5,"translate"),m.nc(6,"translate"),m.Zb(),m.Vc(7),m.nc(8,"translate"),m.Zb(),m.Zb(),m.Zb(),m.ac(9,"div",24),m.Tc(10,Le,20,16,"div",52),m.Zb(),m.Zb()}if(2&e){const e=m.mc();m.Hb(4),m.uc("src",(null==e.pageTitle?null:e.pageTitle.ImagePath)||"assets/images/new-gov-orders.png",m.Pc),m.uc("title",m.oc(5,5,"InMedia_txt")),m.uc("alt",m.oc(6,7,"InMedia_txt")),m.Hb(3),m.Xc(" ",m.oc(8,9,"InMedia_txt")," "),m.Hb(3),m.tc("ngIf",(null==e.inMediaModel?null:e.inMediaModel.length)>0)}}function ke(e,t){1&e&&m.Wb(0,"app-mini-loader")}function Ne(e,t){1&e&&m.Wb(0,"app-no-records",62),2&e&&m.tc("showImage",!0)}function Oe(e,t){if(1&e&&(m.Yb(0),m.Tc(1,ke,1,0,"app-mini-loader",6),m.Tc(2,Ne,1,1,"app-no-records",61),m.Xb()),2&e){const e=m.mc();m.Hb(1),m.tc("ngIf",!e.model),m.Hb(1),m.tc("ngIf",e.model&&0==e.model.length)}}function Ae(e,t){1&e&&m.Wb(0,"app-mini-loader")}function We(e,t){1&e&&m.Wb(0,"app-no-records",62),2&e&&m.tc("showImage",!0)}function Ee(e,t){1&e&&(m.ac(0,"option",49),m.Vc(1,"25"),m.Zb())}function Ge(e,t){1&e&&(m.ac(0,"option",50),m.Vc(1,"50"),m.Zb())}function Fe(e,t){1&e&&(m.ac(0,"option",51),m.Vc(1,"100"),m.Zb())}function Re(e,t){if(1&e){const e=m.bc();m.ac(0,"div",41),m.ac(1,"select",42),m.ic("change",(function(t){return m.Mc(e),m.mc(2).packageChangePageSize(t.target.value)})),m.ac(2,"option",47),m.Vc(3),m.nc(4,"translate"),m.Zb(),m.ac(5,"option",43),m.Vc(6,"10"),m.Zb(),m.Tc(7,Ee,2,0,"option",44),m.Tc(8,Ge,2,0,"option",45),m.Tc(9,Fe,2,0,"option",46),m.Zb(),m.ac(10,"pagination-controls",63),m.ic("pageChange",(function(t){return m.Mc(e),m.mc(2).packageGetNextPageRecord(t)})),m.nc(11,"translate"),m.nc(12,"translate"),m.Zb(),m.Zb()}if(2&e){const e=m.mc(2);m.Hb(2),m.uc("value",e.packagesTotalRecords),m.Hb(1),m.Xc(" ",m.oc(4,7,"All_txt")," "),m.Hb(4),m.tc("ngIf",e.packagesTotalRecords>25),m.Hb(1),m.tc("ngIf",e.packagesTotalRecords>50),m.Hb(1),m.tc("ngIf",e.packagesTotalRecords>100),m.Hb(1),m.uc("previousLabel",m.oc(11,9,"Previous_txt")),m.uc("nextLabel",m.oc(12,11,"Next_txt"))}}function Xe(e,t){if(1&e&&(m.Yb(0),m.Tc(1,Ae,1,0,"app-mini-loader",6),m.Tc(2,We,1,1,"app-no-records",61),m.Tc(3,Re,13,13,"div",28),m.Xb()),2&e){const e=m.mc();m.Hb(1),m.tc("ngIf",!e.packagesModel),m.Hb(1),m.tc("ngIf",e.packagesModel&&0==e.packagesModel.length),m.Hb(1),m.tc("ngIf",e.packagesTotalRecords>10)}}function Be(e,t){1&e&&m.Wb(0,"app-mini-loader")}function Ue(e,t){1&e&&m.Wb(0,"app-no-records",62),2&e&&m.tc("showImage",!0)}function ze(e,t){1&e&&(m.ac(0,"option",49),m.Vc(1,"25"),m.Zb())}function je(e,t){1&e&&(m.ac(0,"option",50),m.Vc(1,"50"),m.Zb())}function $e(e,t){1&e&&(m.ac(0,"option",51),m.Vc(1,"100"),m.Zb())}function Ye(e,t){if(1&e){const e=m.bc();m.ac(0,"div",41),m.ac(1,"select",42),m.ic("change",(function(t){return m.Mc(e),m.mc(2).InMediaChangePageSize(t.target.value)})),m.ac(2,"option",43),m.Vc(3,"10"),m.Zb(),m.Tc(4,ze,2,0,"option",44),m.Tc(5,je,2,0,"option",45),m.Tc(6,$e,2,0,"option",46),m.ac(7,"option",47),m.Vc(8),m.nc(9,"translate"),m.Zb(),m.Zb(),m.ac(10,"pagination-controls",63),m.ic("pageChange",(function(t){return m.Mc(e),m.mc(2).InMediaGetNextPageRecord(t)})),m.nc(11,"translate"),m.nc(12,"translate"),m.Zb(),m.Zb()}if(2&e){const e=m.mc(2);m.Hb(4),m.tc("ngIf",e.inMediaTotalRecords>25),m.Hb(1),m.tc("ngIf",e.inMediaTotalRecords>50),m.Hb(1),m.tc("ngIf",e.inMediaTotalRecords>100),m.Hb(1),m.uc("value",e.inMediaTotalRecords),m.Hb(1),m.Xc(" ",m.oc(9,7,"All_txt")," "),m.Hb(2),m.uc("previousLabel",m.oc(11,9,"Previous_txt")),m.uc("nextLabel",m.oc(12,11,"Next_txt"))}}function qe(e,t){if(1&e&&(m.Yb(0),m.Tc(1,Be,1,0,"app-mini-loader",6),m.Tc(2,Ue,1,1,"app-no-records",61),m.Tc(3,Ye,13,13,"div",28),m.Xb()),2&e){const e=m.mc();m.Hb(1),m.tc("ngIf",!e.inMediaModel),m.Hb(1),m.tc("ngIf",e.inMediaModel&&0==e.inMediaModel.length),m.Hb(1),m.tc("ngIf",e.inMediaTotalRecords>10)}}let Je=(()=>{class e{constructor(e,t,n,i,a,c,r,m){this._achievementAwardService=e,this.translate=t,this.sanitizer=n,this.commonService=i,this.route=a,this._titleService=c,this._route=r,this._distDeptService=m,this.indexModel=new s.d,this.totalRecords=0,this.pagerConfig={id:"datapager",itemsPerPage:this.indexModel.PageSize,currentPage:this.indexModel.Page,totalItems:this.totalRecords},this.DateFormat=d.a.DateFormat,this.DatePickerFormat=d.a.DatePickerFormat,this.minimumDate=d.a.MinimumDate,this.IsLoading=!0,this.filterModel=new l.b,this.achievementEnum=o.a,this.achievementSubCatEnum=o.b,this.category=new l.d,this.packagesIndexModel=new s.d,this.packagesTotalRecords=0,this.packagesPagerConfig={id:"datapager",itemsPerPage:this.packagesIndexModel.PageSize,currentPage:this.packagesIndexModel.Page,totalItems:this.packagesTotalRecords},this.inMediaIndexModel=new s.d,this.inMediaTotalRecords=0,this.inMediaPagerConfig={id:"datapager",itemsPerPage:this.inMediaIndexModel.PageSize,currentPage:this.inMediaIndexModel.Page,totalItems:this.inMediaTotalRecords}}ngOnInit(){this._route.paramMap.subscribe(e=>{this.pageTitle=void 0;let t=this.route.url.split("/"),n=e.get("dptCode");this.DepartmentCode=n?Number(n):this.commonService.GetWebDistDeptCode(),this.filterModel.DepartmentCode=this.DepartmentCode;let i=e.get("submenuCode");this.submenuCode=Number(i);let a=e.get("catCode");this.categoryCode=Number(a),this.pageName=i&&a?t[t.length-4]:a?t[t.length-3]:t[t.length-2],this.getPageHeading(),this.getCategoryDetail(),this.getData()})}getPageHeading(){this.submenuCode>0&&this.getSubmenuDetail()}getSubmenuDetail(){this._distDeptService.GetSubmenuDetail(this.submenuCode).subscribe(e=>{if(e.IsSuccess){let t=e.Data;t&&(this.pageTitle=new s.f,this.pageTitle.NameEnglish=t.DisplayNameEnglish,this.pageTitle.NameHindi=t.DisplayNameHindi,this.pageTitle.ImagePath=t.IconImage,this.commonService.SetWebTitle("hi"==this.translate.currentLang?this.pageTitle.NameHindi:this.pageTitle.NameEnglish))}},e=>{})}getData(){switch(this.pageName){case"government-orders":this._titleService.setTitle("hi"==this.translate.currentLang?"\u0926\u0938\u094d\u0924\u093e\u0935\u0947\u091c\u093c : \u0930\u093e\u091c\u0938\u094d\u0925\u093e\u0928 \u0938\u0930\u0915\u093e\u0930\u0964":"Government Orders : Rajasthan Government"),this.getGovernmentOrderData();break;case"special-economic-zone":this._titleService.setTitle("hi"==this.translate.currentLang?"\u0935\u093f\u0936\u0947\u0937 \u0906\u0930\u094d\u0925\u093f\u0915 \u0915\u094d\u0937\u0947\u0924\u094d\u0930 : \u0930\u093e\u091c\u0938\u094d\u0925\u093e\u0928 \u0938\u0930\u0915\u093e\u0930\u0964":"Special Economic Zone : Rajasthan Government"),this.geSpecialZoneData();break;case"grid-data":this._titleService.setTitle("hi"==this.translate.currentLang?" \u0930\u093e\u091c\u0938\u094d\u0925\u093e\u0928 \u0938\u0930\u0915\u093e\u0930\u0964":" Rajasthan Government"),this.geSpecialZoneData();break;case"scheme-package":this._titleService.setTitle("hi"==this.translate.currentLang?"\u092f\u094b\u091c\u0928\u093e\u0930\u094d\u0928\u094d\u0924\u0917\u0924 \u092a\u0948\u0915\u0947\u091c : \u0930\u093e\u091c\u0938\u094d\u0925\u093e\u0928 \u0938\u0930\u0915\u093e\u0930\u0964":"SCHEME PACKAGE : Rajasthan Government"),this.GetPackageData();break;case"in-media":this._titleService.setTitle("hi"==this.translate.currentLang?"\u0938\u092e\u093e\u091a\u093e\u0930 \u092a\u0924\u094d\u0930\u094b \u0938\u0947 : \u0930\u093e\u091c\u0938\u094d\u0925\u093e\u0928 \u0938\u0930\u0915\u093e\u0930\u0964":"IN MEDIA : Rajasthan Government"),this.GetInMediaData();break;default:this.route.navigate(["home"])}}get IsDateShow(){return this.categoryCode!=Number(this.achievementEnum.AllDownloadFormsCode)}GetInMediaData(){this.IsLoading=!0,this.inMediaModel=void 0,this.filterModel.IndexModel=this.inMediaIndexModel,this.filterModel.IndexModel.OrderBy="AchievementDate",this.filterModel.IndexModel.OrderByAsc=0,this.filterModel.DepartmentCode=this.DepartmentCode,this.filterModel.SubCategoryCode=this.achievementSubCatEnum.InMediaCode,this._achievementAwardService.GetAchievementListBySearchFilterData(this.filterModel,!1).subscribe(e=>{e.IsSuccess?(this.inMediaModel=e.Data.Data,this.inMediaIndexModel.IsPostBack||(this.inMediaTotalRecords=e.Data.TotalRecords),this.InMediaUpdatePageConfig()):this.inMediaModel=[],this.IsLoading=!1},e=>{this.inMediaModel=[]})}InMediaGetNextPageRecord(e){window.scroll(0,0),this.inMediaIndexModel.IsPostBack=!0,this.inMediaIndexModel.Page=e,this.GetInMediaData()}InMediaChangePageSize(e){window.scroll(0,0),this.inMediaIndexModel.IsPostBack=!0,this.inMediaIndexModel.PageSize=Number(e),this.inMediaIndexModel.Page=1,this.GetInMediaData()}InMediaUpdatePageConfig(){this.pagerConfig={itemsPerPage:this.inMediaIndexModel.PageSize,currentPage:this.inMediaIndexModel.Page,totalItems:this.inMediaTotalRecords}}GetPackageData(){this.IsLoading=!0,this.packagesModel=void 0,this.filterModel.IndexModel=this.packagesIndexModel,this.filterModel.IndexModel.OrderBy="AchievementDate",this.filterModel.IndexModel.OrderByAsc=0,this.filterModel.DepartmentCode=this.DepartmentCode,this.filterModel.SubCategoryCode=this.achievementSubCatEnum.SchemePackageCode,this._achievementAwardService.GetAchievementListBySearchFilterData(this.filterModel,!1).subscribe(e=>{e.IsSuccess?(this.packagesModel=e.Data.Data,this.packagesIndexModel.IsPostBack||(this.packagesTotalRecords=e.Data.TotalRecords),this.packageUpdatePageConfig()):this.packagesModel=[],this.IsLoading=!1},e=>{this.packagesModel=[]})}packageGetNextPageRecord(e){window.scroll(0,0),this.packagesIndexModel.IsPostBack=!0,this.packagesIndexModel.Page=e,this.GetPackageData()}packageChangePageSize(e){window.scroll(0,0),this.packagesIndexModel.IsPostBack=!0,this.packagesIndexModel.PageSize=Number(e),this.packagesIndexModel.Page=1,this.GetPackageData()}packageUpdatePageConfig(){this.pagerConfig={itemsPerPage:this.packagesIndexModel.PageSize,currentPage:this.packagesIndexModel.Page,totalItems:this.packagesTotalRecords}}getGovernmentOrderData(){this.IsLoading=!0,this.model=void 0,this.filterModel.IndexModel=this.indexModel,this.filterModel.IndexModel.OrderBy="AchievementDate",this.filterModel.IndexModel.OrderByAsc=0,this.filterModel.DepartmentCode=this.DepartmentCode,this.filterModel.SubCategoryCode=this.achievementSubCatEnum.StateOrderCode,this._achievementAwardService.GetAchievementListBySearchFilterData(this.filterModel,!0).subscribe(e=>{e.IsSuccess?(this.model=e.Data.Data,this.indexModel.IsPostBack||(this.totalRecords=e.Data.TotalRecords),this.updatePageConfig()):this.model=[],this.IsLoading=!1},e=>{this.model=[]})}onSearch(){switch(this.indexModel.Page=1,this.indexModel.IsPostBack=!1,this.pageName){case"government-orders":this.getGovernmentOrderData();break;case"special-economic-zone":case"grid-data":this.geSpecialZoneData();break;case"scheme-package":this.GetPackageData();break;case"in-media":this.GetInMediaData()}}reset(){this.filterModel=new l.b,this.onSearch()}getNextPageRecord(e){window.scroll(0,0),this.indexModel.IsPostBack=!0,this.indexModel.Page=e,this.getGovernmentOrderData()}changePageSize(e){window.scroll(0,0),this.indexModel.IsPostBack=!0,this.indexModel.PageSize=Number(e),this.indexModel.Page=1,this.getGovernmentOrderData()}updatePageConfig(){this.pagerConfig.itemsPerPage=this.filterModel.IndexModel.PageSize,this.pagerConfig.currentPage=this.filterModel.IndexModel.Page,this.pagerConfig.totalItems=this.totalRecords}GetDDLList(){this._distDeptService.GetAllDDL(r.a.DDLFilterLKeyForAchievementList).subscribe(e=>{e.IsSuccess&&(this.dDLList=e.Data)},e=>{})}getFilterdDDL(e,t,n){const i=new s.c;i.FilterFor=e,i.Value=t,i.FilterFrom=n,this.filterDDlModel=[],this.filterDDlModel.push(i),this._distDeptService.GetFilterdDDL(this.filterDDlModel).subscribe(e=>{var t,n,a,c;e.IsSuccess&&("ddlDepartmentLetterstoCentralGovt"===i.FilterFor||(null===(n=null===(t=e)||void 0===t?void 0:t.Data)||void 0===n?void 0:n.ddlDepartmentLetterstoCentralGovt))&&(this.filterModel.DepartmentCode=0,this.dDLList.ddlDepartmentLetterstoCentralGovt=null===(c=null===(a=e)||void 0===a?void 0:a.Data)||void 0===c?void 0:c.ddlDepartmentLetterstoCentralGovt)},e=>{})}geSpecialZoneData(){this.model=void 0,this.IsLoading=!0,this.filterModel.IndexModel=this.indexModel,this.filterModel.IndexModel.OrderBy="ModifiedDate",this.filterModel.IndexModel.OrderByAsc=0,this.filterModel.DepartmentCode=this.DepartmentCode,this.filterModel.CategoryCode=this.categoryCode,this._achievementAwardService.GetAchievementListBySearchFilterData(this.filterModel).subscribe(e=>{e.IsSuccess?(this.model=e.Data.Data,this.indexModel.IsPostBack||(this.totalRecords=e.Data.TotalRecords),this.updatePageConfig()):this.model=[],this.IsLoading=!1},e=>{this.model=[]})}getSpecialZoneNextPageRecord(e){window.scroll(0,0),this.filterModel.IndexModel.IsPostBack=!0,this.filterModel.IndexModel.Page=e,this.geSpecialZoneData()}changeSpecialZonePageSize(e){window.scroll(0,0),this.indexModel.IsPostBack=!0,this.indexModel.PageSize=Number(e),this.indexModel.Page=1,this.geSpecialZoneData()}updateSpecialZonePageConfig(){this.pagerConfig={itemsPerPage:this.indexModel.PageSize,currentPage:this.indexModel.Page,totalItems:this.totalRecords}}getCategoryDetail(){this._achievementAwardService.GetAcievementCatDetail(this.categoryCode).subscribe(e=>{e.IsSuccess&&(this.category=e.Data,this.commonService.SetWebTitle("hi"==this.translate.currentLang?this.category.TitleHindi:this.category.Title))},e=>{console.error(e)})}}return e.\u0275fac=function(t){return new(t||e)(m.Vb(u.a),m.Vb(c.d),m.Vb(b.b),m.Vb(g.a),m.Vb(h.b),m.Vb(b.d),m.Vb(h.a),m.Vb(p.a))},e.\u0275cmp=m.Pb({type:e,selectors:[["app-ddw-document-list"]],decls:21,vars:16,consts:[["aria-label","breadcrumb",1,"breadcrumb_nav"],[1,"container","p-0"],[1,"breadcrumb"],[1,"breadcrumb-item"],[3,"routerLink"],["aria-current","page",1,"breadcrumb-item","active"],[4,"ngIf"],[1,"inner-page","pt-0"],["class","orders_filter",4,"ngIf"],[3,"ngSwitch"],["class","container p-4",4,"ngSwitchCase"],[1,"orders_filter"],[1,"container-fluid"],[1,"row","justify-content-center"],[1,"col-xl-2","col-lg-4","col-md-4","col-sm-4","wow","fadeInUp"],[1,"text-white"],["type","text",1,"form-control",3,"placeholder","ngModel","ngModelChange","keyup.enter"],[1,"col-xl-2","col-lg-4","col-md-4","col-sm-6","wow","fadeInUp"],[1,"d-none","d-sm-block"],[1,"btn","btn-success","filter-btn","d-block","w-100","fadeInUp",2,"border","none",3,"click"],[1,"fas","fa-search","mr-2"],[1,"btn","btn-danger","filter-btn","d-block","w-100","fadeInUp",2,"border","none",3,"click"],[1,"fas","fa-redo-alt","mr-2"],[1,"container","p-4"],[1,"row"],[1,"col-xl-12","col-lg-12","mb-12"],[1,"title","text-center"],[1,"img-fluid",2,"max-width","45px",3,"src","title","alt","error"],["class","new-pagination-outer",4,"ngIf"],[1,"col-lg-12"],[1,"table-responsive"],["border","0",1,"table","table-striped","table-bordered","table-new-design"],[2,"width","30px"],[2,"width","180px"],[4,"ngFor","ngForOf"],["class","text-blue mr-2 fa-2x","target","_blank",3,"href","title",4,"ngIf"],["target","_blank","class","text-blue mr-2 fa-2x",3,"href","title",4,"ngIf"],["target","_blank",1,"text-blue","mr-2","fa-2x",3,"href","title"],[1,"fas","fa-file-pdf"],[1,"table-data-sm-img",2,"width","100px","height","auto","max-height","100px",3,"src","title","alt","error"],[1,"fas","fa-globe"],[1,"new-pagination-outer"],["name","example_length","aria-controls","example",1,"form-control-sm",2,"width","70px",3,"change"],["selected","","value","10"],["value","25",4,"ngIf"],["value","50",4,"ngIf"],["value","100",4,"ngIf"],[3,"value"],["id","datapager","autoHide","true",1,"text-center","mt-4",3,"previousLabel","nextLabel","pageChange"],["value","25"],["value","50"],["value","100"],["class","col-lg-12",4,"ngIf"],[2,"text-align","justify"],["style","text-align: justify",3,"innerHTML",4,"ngIf"],[2,"text-align","justify",3,"innerHTML"],[1,"img-fluid",3,"src","title","alt","error"],[1,"table-data-sm-img",2,"width","auto","height","auto","max-width","40px",3,"src","title","alt","error"],["target","_blank","class","text-blue mr-2 fa-2x",3,"href",4,"ngIf"],["target","_blank",1,"text-blue","mr-2","fa-2x",3,"href"],[1,"fas","fa-download"],[3,"showImage",4,"ngIf"],[3,"showImage"],["autoHide","true",1,"w-100","text-center","mt-4",3,"previousLabel","nextLabel","pageChange"]],template:function(e,t){1&e&&(m.ac(0,"nav",0),m.ac(1,"div",1),m.ac(2,"ol",2),m.ac(3,"li",3),m.ac(4,"a",4),m.Vc(5),m.nc(6,"translate"),m.Zb(),m.Zb(),m.ac(7,"li",5),m.Tc(8,D,2,1,"span",6),m.Tc(9,M,2,1,"span",6),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.ac(10,"section",7),m.Tc(11,I,23,13,"div",8),m.Yb(12,9),m.Tc(13,W,12,12,"div",10),m.Tc(14,Q,12,12,"div",10),m.Tc(15,Ce,10,7,"div",10),m.Tc(16,xe,11,11,"div",10),m.Tc(17,Ve,11,11,"div",10),m.Xb(),m.Tc(18,Oe,3,2,"ng-container",6),m.Tc(19,Xe,4,3,"ng-container",6),m.Tc(20,qe,4,3,"ng-container",6),m.Zb()),2&e&&(m.Hb(4),m.uc("routerLink",t.commonService.GetHomePageUrl()),m.Hb(1),m.Wc(m.oc(6,14,"Home_txt")),m.Hb(3),m.tc("ngIf",t.pageTitle),m.Hb(1),m.tc("ngIf",!t.pageTitle),m.Hb(2),m.tc("ngIf","scheme-package"!=t.pageName),m.Hb(1),m.tc("ngSwitch",t.pageName),m.Hb(1),m.tc("ngSwitchCase","government-orders"),m.Hb(1),m.tc("ngSwitchCase","special-economic-zone"),m.Hb(1),m.tc("ngSwitchCase","grid-data"),m.Hb(1),m.tc("ngSwitchCase","scheme-package"),m.Hb(1),m.tc("ngSwitchCase","in-media"),m.Hb(1),m.tc("ngIf","government-orders"==t.pageName||"special-economic-zone"==t.pageName||"grid-data"==t.pageName),m.Hb(1),m.tc("ngIf","scheme-package"==t.pageName),m.Hb(1),m.tc("ngIf","in-media"==t.pageName))},directives:[h.d,i.n,i.p,i.q,a.b,a.m,a.p,i.m,a.q,a.w,f.c,v.a,C.a],pipes:[c.c,f.b,i.e],styles:[""]}),e})();var Ke=n("ic5G"),Qe=n("Sy1n"),et=n("kQyY");function tt(e,t){if(1&e&&(m.ac(0,"span"),m.Vc(1),m.Zb()),2&e){const e=m.mc();m.Hb(1),m.Wc("hi"!=e.translate.currentLang?null==e.pageTitle?null:e.pageTitle.NameEnglish:null==e.pageTitle?null:e.pageTitle.NameHindi)}}function nt(e,t){1&e&&(m.ac(0,"span"),m.Vc(1),m.Zb()),2&e&&(m.Hb(1),m.Wc(" "))}function it(e,t){if(1&e&&(m.ac(0,"span"),m.Vc(1),m.Zb()),2&e){const e=m.mc(2);m.Hb(1),m.Wc("hi"!=e.translate.currentLang?null==e.pageTitle?null:e.pageTitle.NameEnglish:null==e.pageTitle?null:e.pageTitle.NameHindi)}}function at(e,t){1&e&&(m.ac(0,"span"),m.Vc(1),m.Zb()),2&e&&(m.Hb(1),m.Wc(" "))}function ct(e,t){if(1&e){const e=m.bc();m.ac(0,"li"),m.ac(1,"a",30),m.ac(2,"img",31),m.ic("error",(function(t){return m.Mc(e),m.mc(6)._commonService.onImageError(t,"assets/images/default.png")})),m.Zb(),m.Zb(),m.Zb()}if(2&e){const e=m.mc().$implicit,t=m.mc(2),n=t.index,i=t.$implicit,a=m.mc(3);m.Hb(1),m.uc("href",e,m.Pc),m.Jb("data-lightbox","images_",n,""),m.uc("title","en"==a.translate.currentLang?i.Achievement:i.AchievementHindi),m.Hb(1),m.uc("title","en"==a.translate.currentLang?i.Achievement:i.AchievementHindi),m.uc("alt","en"==a.translate.currentLang?i.Achievement:i.AchievementHindi),m.tc("src",e,m.Pc)}}function ot(e,t){if(1&e&&(m.Yb(0),m.Tc(1,ct,3,6,"li",5),m.Xb()),2&e){const e=t.index;m.Hb(1),m.tc("ngIf",e>0)}}function lt(e,t){if(1&e&&(m.ac(0,"ul",28),m.Tc(1,ot,2,1,"ng-container",29),m.Zb()),2&e){const e=m.mc().$implicit;m.Hb(1),m.tc("ngForOf",e.ImageFiles)}}function rt(e,t){if(1&e){const e=m.bc();m.ac(0,"div",22),m.ac(1,"a",23),m.ic("error",(function(t){return m.Mc(e),m.mc(3)._commonService.onImageError(t,"assets/images/default.png")})),m.ac(2,"img",24),m.ic("error",(function(t){return m.Mc(e),m.mc(3)._commonService.onImageError(t,"assets/images/default.png")})),m.Zb(),m.Tc(3,lt,2,1,"ul",25),m.ac(4,"div",26),m.Vc(5),m.nc(6,"slice"),m.nc(7,"slice"),m.Zb(),m.Zb(),m.ac(8,"div",27),m.Vc(9),m.nc(10,"translate"),m.Zb(),m.Zb()}if(2&e){const e=t.$implicit,n=t.index,i=m.mc(3);m.Hb(1),m.Jb("data-lightbox","images_",n,""),m.uc("title","en"==i.translate.currentLang?e.Achievement:e.AchievementHindi),m.tc("href",e.ImagePath,m.Pc),m.Hb(1),m.uc("title","en"==i.translate.currentLang?e.Achievement:e.AchievementHindi),m.uc("alt","en"==i.translate.currentLang?e.Achievement:e.AchievementHindi),m.tc("src",e.ImagePath,m.Pc),m.Hb(1),m.tc("ngIf",e.ImageFiles&&e.ImageFiles.length>0),m.Hb(2),m.Xc(" ","en"==i.translate.currentLang?(null==e?null:e.Achievement.length)>80?m.qc(6,10,null==e?null:e.Achievement,0,80)+"...":null==e?null:e.Achievement:(null==e?null:e.AchievementHindi.length)>80?m.qc(7,14,null==e?null:e.AchievementHindi,0,80)+"...":null==e?null:e.AchievementHindi," "),m.Hb(4),m.Yc("",m.oc(10,18,"RecordEntryNo_txt")," : ",null==e?null:e.Id,"")}}function st(e,t){if(1&e){const e=m.bc();m.ac(0,"select",35),m.ic("change",(function(t){return m.Mc(e),m.mc(4).posterChangePageSize(t.target.value)})),m.ac(1,"option",36),m.Vc(2),m.nc(3,"translate"),m.Zb(),m.ac(4,"option",37),m.Vc(5,"15"),m.Zb(),m.ac(6,"option",38),m.Vc(7,"30"),m.Zb(),m.ac(8,"option",39),m.Vc(9,"60"),m.Zb(),m.ac(10,"option",40),m.Vc(11,"120"),m.Zb(),m.Zb()}if(2&e){const e=m.mc(4);m.Hb(1),m.uc("value",e.posterTotalRecords),m.Hb(1),m.Wc(m.oc(3,2,"All_txt"))}}function dt(e,t){if(1&e){const e=m.bc();m.ac(0,"div",32),m.Tc(1,st,12,4,"select",33),m.ac(2,"pagination-controls",34),m.ic("pageChange",(function(t){return m.Mc(e),m.mc(3).posterGetNextPageRecord(t)})),m.nc(3,"translate"),m.nc(4,"translate"),m.Zb(),m.Zb()}if(2&e){const e=m.mc(3);m.Hb(1),m.tc("ngIf",e.posterTotalRecords>e.posterIndexModel.PageSize),m.Hb(1),m.uc("previousLabel",m.oc(3,3,"Previous_txt")),m.uc("nextLabel",m.oc(4,5,"Next_txt"))}}function mt(e,t){if(1&e&&(m.Yb(0),m.ac(1,"div",17),m.ac(2,"div",18),m.Tc(3,rt,11,20,"div",19),m.nc(4,"paginate"),m.Zb(),m.Zb(),m.ac(5,"div",20),m.Tc(6,dt,5,7,"div",21),m.Zb(),m.Xb()),2&e){const e=m.mc(2);m.Hb(3),m.tc("ngForOf",m.pc(4,2,e.posterModel,e.posterPagerConfig)),m.Hb(3),m.tc("ngIf",e.posterTotalRecords>15)}}function ut(e,t){1&e&&m.Wb(0,"app-mini-loader")}function bt(e,t){1&e&&m.Wb(0,"app-no-records",41),2&e&&m.tc("showImage",!0)}function gt(e,t){if(1&e){const e=m.bc();m.ac(0,"div",13),m.ac(1,"h1",14),m.ac(2,"img",15),m.ic("error",(function(t){return m.Mc(e),m.mc()._commonService.onImageError(t,"assets/images/Poster.png")})),m.Zb(),m.Tc(3,it,2,1,"span",5),m.Tc(4,at,2,1,"span",5),m.Zb(),m.Tc(5,mt,7,5,"ng-container",5),m.Tc(6,ut,1,0,"app-mini-loader",5),m.Tc(7,bt,1,1,"app-no-records",16),m.Zb()}if(2&e){const e=m.mc();m.Hb(2),m.uc("title",e.pageTitle?"hi"!=e.translate.currentLang?null==e.pageTitle?null:e.pageTitle.NameEnglish:null==e.pageTitle?null:e.pageTitle.NameHindi:" "),m.uc("alt",e.pageTitle?"hi"!=e.translate.currentLang?null==e.pageTitle?null:e.pageTitle.NameEnglish:null==e.pageTitle?null:e.pageTitle.NameHindi:" "),m.tc("src",null==e.pageTitle?null:e.pageTitle.ImagePath,m.Pc),m.Hb(1),m.tc("ngIf",e.pageTitle),m.Hb(1),m.tc("ngIf",!e.pageTitle),m.Hb(1),m.tc("ngIf",e.posterModel&&(null==e.posterModel?null:e.posterModel.length)>0),m.Hb(1),m.tc("ngIf",!e.posterModel),m.Hb(1),m.tc("ngIf",e.posterModel&&0==e.posterModel.length)}}function ht(e,t){if(1&e&&(m.ac(0,"span"),m.Vc(1),m.Zb()),2&e){const e=m.mc(2);m.Hb(1),m.Wc("hi"!=e.translate.currentLang?null==e.pageTitle?null:e.pageTitle.NameEnglish:null==e.pageTitle?null:e.pageTitle.NameHindi)}}function pt(e,t){1&e&&(m.ac(0,"span"),m.Vc(1),m.Zb()),2&e&&(m.Hb(1),m.Wc(" "))}function ft(e,t){if(1&e){const e=m.bc();m.Yb(0),m.ac(1,"a",50),m.ac(2,"video",51),m.ic("playing",(function(t){return m.Mc(e),m.mc(5).onMediaPlaying(t,!1)})),m.Wb(3,"source",52),m.Zb(),m.Zb(),m.Xb()}if(2&e){const e=m.mc(2),t=e.$implicit,n=e.index;m.Hb(1),m.uc("href",t.Url,m.Pc),m.Hb(1),m.vc("id","my_video_",n,""),m.uc("poster",t.ThumbnailPath,m.Pc),m.Hb(1),m.uc("src",t.Url,m.Pc),m.vc("type","video/",t.Url.split(".")[t.Url.split(".").length-1],"")}}function vt(e,t){if(1&e){const e=m.bc();m.ac(0,"a",50),m.ac(1,"iframe",53),m.ic("onclick",(function(t){return m.Mc(e),m.mc(5).onMediaPlaying(t,!1)})),m.Zb(),m.Zb()}if(2&e){const e=m.mc(2).$implicit,t=m.mc(3);m.tc("href",t.SafeUrl(e.YoutubeURL?e.YoutubeURL:e.Url),m.Pc),m.Hb(1),m.tc("src",e.safeUrl,m.Oc)}}function Ct(e,t){if(1&e&&(m.ac(0,"div",44),m.ac(1,"div",45),m.ac(2,"div",46),m.Tc(3,ft,4,5,"ng-container",47),m.Tc(4,vt,2,2,"ng-template",null,48,m.Uc),m.Zb(),m.ac(6,"div",49),m.Vc(7),m.nc(8,"slice"),m.nc(9,"slice"),m.Zb(),m.ac(10,"p"),m.Vc(11),m.nc(12,"translate"),m.Zb(),m.Zb(),m.Zb()),2&e){const e=m.Kc(5),t=m.mc().$implicit,n=m.mc(3);m.uc("title","en"==n.translate.currentLang?t.Achievement:t.AchievementHindi),m.Hb(3),m.tc("ngIf",1==n.isExtenstionUrl(t.Url))("ngIfElse",e),m.Hb(3),m.uc("title","en"==n.translate.currentLang?t.Achievement:t.AchievementHindi),m.Hb(1),m.Xc(" ","hi"==n.translate.currentLang?t.AchievementHindi.length>60?m.qc(8,7,t.AchievementHindi,0,60)+"...":t.AchievementHindi:t.Achievement.length>60?m.qc(9,11,t.Achievement,0,60)+"...":t.Achievement," "),m.Hb(4),m.Yc("",m.oc(12,15,"RecordEntryNo_txt")," : ",null==t?null:t.Id,"")}}function Ht(e,t){if(1&e&&(m.Yb(0),m.Tc(1,Ct,13,17,"div",43),m.Xb()),2&e){const e=t.$implicit;m.Hb(1),m.tc("ngIf",(null==e.Url?null:e.Url.length)>0||e.YoutubeURL)}}function Dt(e,t){if(1&e){const e=m.bc();m.ac(0,"div",32),m.ac(1,"select",54),m.ic("change",(function(t){return m.Mc(e),m.mc(3).videoChangePageSize(t.target.value)})),m.ac(2,"option",36),m.Vc(3),m.nc(4,"translate"),m.Zb(),m.ac(5,"option",37),m.Vc(6,"15"),m.Zb(),m.ac(7,"option",38),m.Vc(8,"30"),m.Zb(),m.ac(9,"option",39),m.Vc(10,"60"),m.Zb(),m.ac(11,"option",40),m.Vc(12,"120"),m.Zb(),m.Zb(),m.ac(13,"pagination-controls",55),m.ic("pageChange",(function(t){return m.Mc(e),m.mc(3).videoGetNextPageRecord(t)})),m.nc(14,"translate"),m.nc(15,"translate"),m.Zb(),m.Zb()}if(2&e){const e=m.mc(3);m.Hb(2),m.uc("value",e.videoTotalRecords),m.Hb(1),m.Wc(m.oc(4,4,"All_txt")),m.Hb(10),m.uc("previousLabel",m.oc(14,6,"Previous_txt")),m.uc("nextLabel",m.oc(15,8,"Next_txt"))}}function Mt(e,t){if(1&e&&(m.Yb(0),m.ac(1,"div",18),m.Tc(2,Ht,2,1,"ng-container",29),m.nc(3,"paginate"),m.Zb(),m.Tc(4,Dt,16,10,"div",21),m.Xb()),2&e){const e=m.mc(2);m.Hb(2),m.tc("ngForOf",m.pc(3,2,e.videoModel,e.videoPagerConfig)),m.Hb(2),m.tc("ngIf",e.videoTotalRecords>15)}}function It(e,t){1&e&&m.Wb(0,"app-mini-loader")}function Zt(e,t){1&e&&m.Wb(0,"app-no-records",41),2&e&&m.tc("showImage",!0)}function Tt(e,t){if(1&e){const e=m.bc();m.ac(0,"div",42),m.ac(1,"h1",14),m.ac(2,"img",15),m.ic("error",(function(t){return m.Mc(e),m.mc()._commonService.onImageError(t,"assets/images/Video.png")})),m.Zb(),m.Tc(3,ht,2,1,"span",5),m.Tc(4,pt,2,1,"span",5),m.Zb(),m.Tc(5,Mt,5,5,"ng-container",5),m.Tc(6,It,1,0,"app-mini-loader",5),m.Tc(7,Zt,1,1,"app-no-records",16),m.Zb()}if(2&e){const e=m.mc();m.Hb(2),m.uc("title",e.pageTitle?"hi"!=e.translate.currentLang?null==e.pageTitle?null:e.pageTitle.NameEnglish:null==e.pageTitle?null:e.pageTitle.NameHindi:" "),m.uc("alt",e.pageTitle?"hi"!=e.translate.currentLang?null==e.pageTitle?null:e.pageTitle.NameEnglish:null==e.pageTitle?null:e.pageTitle.NameHindi:" "),m.tc("src",null==e.pageTitle?null:e.pageTitle.ImagePath,m.Pc),m.Hb(1),m.tc("ngIf",e.pageTitle),m.Hb(1),m.tc("ngIf",!e.pageTitle),m.Hb(1),m.tc("ngIf",e.videoModel&&(null==e.videoModel?null:e.videoModel.length)>0),m.Hb(1),m.tc("ngIf",!e.videoModel),m.Hb(1),m.tc("ngIf",e.videoModel&&0==e.videoModel.length)}}function yt(e,t){if(1&e&&(m.ac(0,"span"),m.Vc(1),m.Zb()),2&e){const e=m.mc(2);m.Hb(1),m.Wc("hi"!=e.translate.currentLang?null==e.pageTitle?null:e.pageTitle.NameEnglish:null==e.pageTitle?null:e.pageTitle.NameHindi)}}function xt(e,t){1&e&&(m.ac(0,"span"),m.Vc(1),m.Zb()),2&e&&(m.Hb(1),m.Wc(" "))}function Pt(e,t){if(1&e){const e=m.bc();m.ac(0,"div",57),m.ac(1,"div",58),m.Wb(2,"img",59),m.ac(3,"audio",60),m.ic("playing",(function(t){return m.Mc(e),m.mc(4).onMediaPlaying(t,!0)})),m.Wb(4,"source",61),m.Zb(),m.ac(5,"div",49),m.Vc(6),m.nc(7,"slice"),m.nc(8,"slice"),m.Zb(),m.ac(9,"div",27),m.Vc(10),m.nc(11,"translate"),m.Zb(),m.Zb(),m.Zb()}if(2&e){const e=m.mc().$implicit,t=m.mc(3);m.uc("title","en"==t.translate.currentLang?e.Achievement:e.AchievementHindi),m.Hb(2),m.uc("title","en"==t.translate.currentLang?e.Achievement:e.AchievementHindi),m.uc("alt","en"==t.translate.currentLang?e.Achievement:e.AchievementHindi),m.Hb(2),m.uc("src",e.Url,m.Pc),m.Hb(1),m.uc("title","en"==t.translate.currentLang?e.Achievement:e.AchievementHindi),m.Hb(1),m.Xc(" ","hi"==t.translate.currentLang?e.AchievementHindi.length>60?m.qc(7,8,e.AchievementHindi,0,60)+"...":e.AchievementHindi:e.Achievement.length>60?m.qc(8,12,e.Achievement,0,60)+"...":e.Achievement," "),m.Hb(4),m.Yc("",m.oc(11,16,"RecordEntryNo_txt")," : ",null==e?null:e.Id,"")}}function St(e,t){if(1&e&&(m.Yb(0),m.Tc(1,Pt,12,18,"div",56),m.Xb()),2&e){const e=t.$implicit;m.Hb(1),m.tc("ngIf",null!=e.Url&&(null==e.Url?null:e.Url.length)>0)}}function _t(e,t){if(1&e){const e=m.bc();m.ac(0,"div",32),m.ac(1,"select",54),m.ic("change",(function(t){return m.Mc(e),m.mc(3).audioChangePageSize(t.target.value)})),m.ac(2,"option",36),m.Vc(3),m.nc(4,"translate"),m.Zb(),m.ac(5,"option",37),m.Vc(6,"15"),m.Zb(),m.ac(7,"option",38),m.Vc(8,"30"),m.Zb(),m.ac(9,"option",39),m.Vc(10,"60"),m.Zb(),m.ac(11,"option",40),m.Vc(12,"120"),m.Zb(),m.Zb(),m.ac(13,"pagination-controls",62),m.ic("pageChange",(function(t){return m.Mc(e),m.mc(3).audioGetNextPageRecord(t)})),m.nc(14,"translate"),m.nc(15,"translate"),m.Zb(),m.Zb()}if(2&e){const e=m.mc(3);m.Hb(2),m.uc("value",e.audioTotalRecords),m.Hb(1),m.Wc(m.oc(4,4,"All_txt")),m.Hb(10),m.uc("previousLabel",m.oc(14,6,"Previous_txt")),m.uc("nextLabel",m.oc(15,8,"Next_txt"))}}function wt(e,t){if(1&e&&(m.Yb(0),m.ac(1,"div",18),m.Tc(2,St,2,1,"ng-container",29),m.nc(3,"paginate"),m.Zb(),m.Tc(4,_t,16,10,"div",21),m.Xb()),2&e){const e=m.mc(2);m.Hb(2),m.tc("ngForOf",m.pc(3,2,e.audioModel,e.audioPagerConfig)),m.Hb(2),m.tc("ngIf",e.audioTotalRecords>15)}}function Lt(e,t){1&e&&m.Wb(0,"app-mini-loader")}function Vt(e,t){1&e&&m.Wb(0,"app-no-records")}function kt(e,t){if(1&e){const e=m.bc();m.ac(0,"div",42),m.ac(1,"h1",14),m.ac(2,"img",15),m.ic("error",(function(t){return m.Mc(e),m.mc()._commonService.onImageError(t,"assets/images/Audio.png")})),m.Zb(),m.Tc(3,yt,2,1,"span",5),m.Tc(4,xt,2,1,"span",5),m.Zb(),m.Tc(5,wt,5,5,"ng-container",5),m.Tc(6,Lt,1,0,"app-mini-loader",5),m.Tc(7,Vt,1,0,"app-no-records",5),m.Zb()}if(2&e){const e=m.mc();m.Hb(2),m.uc("title",e.pageTitle?"hi"!=e.translate.currentLang?null==e.pageTitle?null:e.pageTitle.NameEnglish:null==e.pageTitle?null:e.pageTitle.NameHindi:" "),m.uc("alt",e.pageTitle?"hi"!=e.translate.currentLang?null==e.pageTitle?null:e.pageTitle.NameEnglish:null==e.pageTitle?null:e.pageTitle.NameHindi:" "),m.tc("src",null==e.pageTitle?null:e.pageTitle.ImagePath,m.Pc),m.Hb(1),m.tc("ngIf",e.pageTitle),m.Hb(1),m.tc("ngIf",!e.pageTitle),m.Hb(1),m.tc("ngIf",e.audioModel&&(null==e.audioModel?null:e.audioModel.length)>0),m.Hb(1),m.tc("ngIf",!e.audioModel),m.Hb(1),m.tc("ngIf",e.audioModel&&0==e.audioModel.length)}}function Nt(e,t){if(1&e&&(m.ac(0,"span"),m.Vc(1),m.Zb()),2&e){const e=m.mc(2);m.Hb(1),m.Wc("hi"!=e.translate.currentLang?null==e.pageTitle?null:e.pageTitle.NameEnglish:null==e.pageTitle?null:e.pageTitle.NameHindi)}}function Ot(e,t){1&e&&(m.ac(0,"span"),m.Vc(1),m.Zb()),2&e&&(m.Hb(1),m.Wc(" "))}function At(e,t){if(1&e){const e=m.bc();m.ac(0,"div",22),m.ac(1,"a",63),m.ic("error",(function(t){return m.Mc(e),m.mc(3)._commonService.onImageError(t,"assets/images/default.png")})),m.ac(2,"img",24),m.ic("error",(function(t){return m.Mc(e),m.mc(3)._commonService.onImageError(t,"assets/images/default.png")})),m.Zb(),m.Zb(),m.ac(3,"div",27),m.Vc(4),m.nc(5,"translate"),m.Zb(),m.Zb()}if(2&e){const e=t.$implicit,n=m.mc(3);m.Hb(1),m.uc("title","en"==n.translate.currentLang?e.Achievement:e.AchievementHindi),m.tc("href",e.ImagePath,m.Pc),m.Hb(1),m.uc("title","en"==n.translate.currentLang?e.Achievement:e.AchievementHindi),m.uc("alt","en"==n.translate.currentLang?e.Achievement:e.AchievementHindi),m.tc("src",e.ImagePath,m.Pc),m.Hb(2),m.Yc("",m.oc(5,7,"RecordEntryNo_txt")," : ",null==e?null:e.Id,"")}}function Wt(e,t){if(1&e){const e=m.bc();m.ac(0,"div",32),m.ac(1,"select",54),m.ic("change",(function(t){return m.Mc(e),m.mc(3).advertisementChangePageSize(t.target.value)})),m.ac(2,"option",36),m.Vc(3),m.nc(4,"translate"),m.Zb(),m.ac(5,"option",37),m.Vc(6,"15"),m.Zb(),m.ac(7,"option",38),m.Vc(8,"30"),m.Zb(),m.ac(9,"option",39),m.Vc(10,"60"),m.Zb(),m.ac(11,"option",40),m.Vc(12,"120"),m.Zb(),m.Zb(),m.ac(13,"pagination-controls",64),m.ic("pageChange",(function(t){return m.Mc(e),m.mc(3).advertisementGetNextPageRecord(t)})),m.nc(14,"translate"),m.nc(15,"translate"),m.Zb(),m.Zb()}if(2&e){const e=m.mc(3);m.Hb(2),m.uc("value",e.advertisementTotalRecords),m.Hb(1),m.Wc(m.oc(4,4,"All_txt")),m.Hb(10),m.uc("previousLabel",m.oc(14,6,"Previous_txt")),m.uc("nextLabel",m.oc(15,8,"Next_txt"))}}function Et(e,t){if(1&e&&(m.Yb(0),m.ac(1,"div",17),m.ac(2,"div",18),m.Tc(3,At,6,9,"div",19),m.nc(4,"paginate"),m.Zb(),m.Zb(),m.Tc(5,Wt,16,10,"div",21),m.Xb()),2&e){const e=m.mc(2);m.Hb(3),m.tc("ngForOf",m.pc(4,2,e.advertisementModel,e.advertisementPagerConfig)),m.Hb(2),m.tc("ngIf",e.advertisementTotalRecords>15)}}function Gt(e,t){1&e&&m.Wb(0,"app-mini-loader")}function Ft(e,t){1&e&&m.Wb(0,"app-no-records",41),2&e&&m.tc("showImage",!0)}function Rt(e,t){if(1&e){const e=m.bc();m.ac(0,"div",13),m.ac(1,"h1",14),m.ac(2,"img",15),m.ic("error",(function(t){return m.Mc(e),m.mc()._commonService.onImageError(t,"assets/images/ADVT.png")})),m.Zb(),m.Tc(3,Nt,2,1,"span",5),m.Tc(4,Ot,2,1,"span",5),m.Zb(),m.Tc(5,Et,6,5,"ng-container",5),m.Tc(6,Gt,1,0,"app-mini-loader",5),m.Tc(7,Ft,1,1,"app-no-records",16),m.Zb()}if(2&e){const e=m.mc();m.Hb(2),m.uc("title",e.pageTitle?"hi"!=e.translate.currentLang?null==e.pageTitle?null:e.pageTitle.NameEnglish:null==e.pageTitle?null:e.pageTitle.NameHindi:" "),m.uc("alt",e.pageTitle?"hi"!=e.translate.currentLang?null==e.pageTitle?null:e.pageTitle.NameEnglish:null==e.pageTitle?null:e.pageTitle.NameHindi:" "),m.tc("src",null==e.pageTitle?null:e.pageTitle.ImagePath,m.Pc),m.Hb(1),m.tc("ngIf",e.pageTitle),m.Hb(1),m.tc("ngIf",!e.pageTitle),m.Hb(1),m.tc("ngIf",e.advertisementModel&&(null==e.advertisementModel?null:e.advertisementModel.length)>0),m.Hb(1),m.tc("ngIf",!e.advertisementModel),m.Hb(1),m.tc("ngIf",e.advertisementModel&&0==e.advertisementModel.length)}}function Xt(e,t){if(1&e&&(m.ac(0,"span"),m.Vc(1),m.Zb()),2&e){const e=m.mc(2);m.Hb(1),m.Wc("hi"!=e.translate.currentLang?null==e.pageTitle?null:e.pageTitle.NameEnglish:null==e.pageTitle?null:e.pageTitle.NameHindi)}}function Bt(e,t){1&e&&(m.ac(0,"span"),m.Vc(1),m.Zb()),2&e&&(m.Hb(1),m.Wc(" "))}function Ut(e,t){if(1&e){const e=m.bc();m.ac(0,"div",22),m.ac(1,"a",65),m.ac(2,"img",24),m.ic("error",(function(t){return m.Mc(e),m.mc(3)._commonService.onImageError(t,"assets/images/default.png")})),m.Zb(),m.ac(3,"div",26),m.Vc(4),m.nc(5,"slice"),m.nc(6,"slice"),m.Zb(),m.Zb(),m.ac(7,"div",27),m.Vc(8),m.nc(9,"translate"),m.Zb(),m.Zb()}if(2&e){const e=t.$implicit,n=m.mc(3);m.Hb(1),m.uc("title","en"==n.translate.currentLang?e.Achievement:e.AchievementHindi),m.tc("href",e.PdfFIleName,m.Pc),m.Hb(1),m.uc("title","en"==n.translate.currentLang?e.Achievement:e.AchievementHindi),m.uc("alt","en"==n.translate.currentLang?e.Achievement:e.AchievementHindi),m.tc("src",e.ImagePath,m.Pc),m.Hb(2),m.Xc(" ","en"==n.translate.currentLang?(null==e?null:e.Achievement.length)>80?m.qc(5,8,null==e?null:e.Achievement,0,80)+"...":null==e?null:e.Achievement:(null==e?null:e.AchievementHindi.length)>80?m.qc(6,12,null==e?null:e.AchievementHindi,0,80)+"...":null==e?null:e.AchievementHindi," "),m.Hb(4),m.Yc("",m.oc(9,16,"RecordEntryNo_txt")," : ",null==e?null:e.Id,"")}}function zt(e,t){if(1&e){const e=m.bc();m.ac(0,"div",32),m.ac(1,"select",54),m.ic("change",(function(t){return m.Mc(e),m.mc(3).attachmentChangePageSize(t.target.value)})),m.ac(2,"option",36),m.Vc(3),m.nc(4,"translate"),m.Zb(),m.ac(5,"option",37),m.Vc(6,"15"),m.Zb(),m.ac(7,"option",38),m.Vc(8,"30"),m.Zb(),m.ac(9,"option",39),m.Vc(10,"60"),m.Zb(),m.ac(11,"option",40),m.Vc(12,"120"),m.Zb(),m.Zb(),m.ac(13,"pagination-controls",66),m.ic("pageChange",(function(t){return m.Mc(e),m.mc(3).attachmentGetNextPageRecord(t)})),m.nc(14,"translate"),m.nc(15,"translate"),m.Zb(),m.Zb()}if(2&e){const e=m.mc(3);m.Hb(2),m.uc("value",e.attachmentTotalRecords),m.Hb(1),m.Wc(m.oc(4,4,"All_txt")),m.Hb(10),m.uc("previousLabel",m.oc(14,6,"Previous_txt")),m.uc("nextLabel",m.oc(15,8,"Next_txt"))}}function jt(e,t){if(1&e&&(m.Yb(0),m.ac(1,"div",17),m.ac(2,"div",18),m.Tc(3,Ut,10,18,"div",19),m.nc(4,"paginate"),m.Zb(),m.Zb(),m.Tc(5,zt,16,10,"div",21),m.Xb()),2&e){const e=m.mc(2);m.Hb(3),m.tc("ngForOf",m.pc(4,2,e.attachmentModel,e.attachmentPagerConfig)),m.Hb(2),m.tc("ngIf",e.attachmentTotalRecords>15)}}function $t(e,t){1&e&&m.Wb(0,"app-mini-loader")}function Yt(e,t){1&e&&m.Wb(0,"app-no-records",41),2&e&&m.tc("showImage",!0)}function qt(e,t){if(1&e){const e=m.bc();m.ac(0,"div",42),m.ac(1,"h1",14),m.ac(2,"img",15),m.ic("error",(function(t){return m.Mc(e),m.mc()._commonService.onImageError(t,"assets/images/ADVT.png")})),m.Zb(),m.Tc(3,Xt,2,1,"span",5),m.Tc(4,Bt,2,1,"span",5),m.Zb(),m.Tc(5,jt,6,5,"ng-container",5),m.Tc(6,$t,1,0,"app-mini-loader",5),m.Tc(7,Yt,1,1,"app-no-records",16),m.Zb()}if(2&e){const e=m.mc();m.Hb(2),m.uc("title",e.pageTitle?"hi"!=e.translate.currentLang?null==e.pageTitle?null:e.pageTitle.NameEnglish:null==e.pageTitle?null:e.pageTitle.NameHindi:" "),m.uc("alt",e.pageTitle?"hi"!=e.translate.currentLang?null==e.pageTitle?null:e.pageTitle.NameEnglish:null==e.pageTitle?null:e.pageTitle.NameHindi:" "),m.tc("src",null==e.pageTitle?null:e.pageTitle.ImagePath,m.Pc),m.Hb(1),m.tc("ngIf",e.pageTitle),m.Hb(1),m.tc("ngIf",!e.pageTitle),m.Hb(1),m.tc("ngIf",e.attachmentModel&&(null==e.attachmentModel?null:e.attachmentModel.length)>0),m.Hb(1),m.tc("ngIf",!e.attachmentModel),m.Hb(1),m.tc("ngIf",e.attachmentModel&&0==e.attachmentModel.length)}}function Jt(e,t){if(1&e&&(m.ac(0,"span"),m.Vc(1),m.Zb()),2&e){const e=m.mc(2);m.Hb(1),m.Wc("hi"!=e.translate.currentLang?null==e.pageTitle?null:e.pageTitle.NameEnglish:null==e.pageTitle?null:e.pageTitle.NameHindi)}}function Kt(e,t){1&e&&(m.ac(0,"span"),m.Vc(1),m.Zb()),2&e&&(m.Hb(1),m.Wc(" "))}function Qt(e,t){if(1&e){const e=m.bc();m.ac(0,"div"),m.ac(1,"a",70),m.ic("click",(function(){m.Mc(e);const n=t.$implicit;return m.mc(3)._commonService.setFocus("record_"+n.Id)})),m.Vc(2),m.Zb(),m.Zb()}if(2&e){const e=t.$implicit,n=t.index,i=m.mc(3);m.Hb(2),m.Yc(" ",(i.descriptionIndexModel.Page-1)*i.descriptionIndexModel.PageSize+(n+1),". ","en"==i.translate.currentLang?e.AchievementHindi:e.SubjectHindi?e.SubjectHindi:e.AchievementHindi," ")}}function en(e,t){if(1&e){const e=m.bc();m.ac(0,"div"),m.ac(1,"div",77),m.ac(2,"a",50),m.ac(3,"img",31),m.ic("error",(function(t){return m.Mc(e),m.mc(4)._commonService.onImageError(t,"assets/images/record-not-found.png")})),m.Zb(),m.Zb(),m.Zb(),m.Zb()}if(2&e){const e=m.mc().$implicit,t=m.mc(3);m.Hb(2),m.uc("href",null==e?null:e.ImagePath,m.Pc),m.Hb(1),m.uc("src",null==e?null:e.ImagePath,m.Pc),m.uc("title","en"==t.translate.currentLang?e.AchievementHindi:e.SubjectHindi),m.uc("alt","en"==t.translate.currentLang?e.AchievementHindi:e.SubjectHindi)}}function tn(e,t){if(1&e&&(m.ac(0,"div"),m.ac(1,"div",78),m.ac(2,"a",50),m.Wb(3,"i",79),m.Zb(),m.Zb(),m.Zb()),2&e){const e=m.mc().$implicit;m.Hb(2),m.uc("href",null==e?null:e.PdfFIleName,m.Pc)}}function nn(e,t){if(1&e&&(m.ac(0,"div",71),m.ac(1,"div",42),m.ac(2,"div",72),m.ac(3,"div",73),m.ac(4,"h2",74),m.Vc(5),m.Zb(),m.ac(6,"div",75),m.Tc(7,en,4,4,"div",5),m.Tc(8,tn,4,1,"div",5),m.Zb(),m.Zb(),m.Wb(9,"pre",76),m.Zb(),m.Zb(),m.Zb()),2&e){const e=t.$implicit,n=t.index,i=m.mc(3);m.uc("id","record_"+e.Id),m.Hb(5),m.Yc(" ",(i.descriptionIndexModel.Page-1)*i.descriptionIndexModel.PageSize+(n+1),". ","en"==i.translate.currentLang?e.AchievementHindi:e.SubjectHindi?e.SubjectHindi:e.AchievementHindi," "),m.Hb(2),m.tc("ngIf",null==e?null:e.ImagePath),m.Hb(1),m.tc("ngIf",null==e?null:e.PdfFIleName),m.Hb(1),m.tc("innerHTML","hi"==i.translate.currentLang?e.EditorDetail:e.EditorDetailEnglish,m.Nc)}}function an(e,t){if(1&e){const e=m.bc();m.ac(0,"div",32),m.ac(1,"select",54),m.ic("change",(function(t){return m.Mc(e),m.mc(3).descriptionChangePageSize(t.target.value)})),m.ac(2,"option",36),m.Vc(3),m.nc(4,"translate"),m.Zb(),m.ac(5,"option",37),m.Vc(6,"15"),m.Zb(),m.ac(7,"option",38),m.Vc(8,"30"),m.Zb(),m.ac(9,"option",39),m.Vc(10,"60"),m.Zb(),m.ac(11,"option",40),m.Vc(12,"120"),m.Zb(),m.Zb(),m.ac(13,"pagination-controls",80),m.ic("pageChange",(function(t){return m.Mc(e),m.mc(3).descriptionGetNextPageRecord(t)})),m.nc(14,"translate"),m.nc(15,"translate"),m.Zb(),m.Zb()}if(2&e){const e=m.mc(3);m.Hb(2),m.uc("value",e.descriptionTotalRecords),m.Hb(1),m.Wc(m.oc(4,4,"All_txt")),m.Hb(10),m.uc("previousLabel",m.oc(14,6,"Previous_txt")),m.uc("nextLabel",m.oc(15,8,"Next_txt"))}}function cn(e,t){if(1&e&&(m.Yb(0),m.ac(1,"div",68),m.ac(2,"div",9),m.ac(3,"div",42),m.Tc(4,Qt,3,2,"div",29),m.Zb(),m.Zb(),m.Zb(),m.ac(5,"div",68),m.Tc(6,nn,10,6,"div",69),m.nc(7,"paginate"),m.Zb(),m.Tc(8,an,16,10,"div",21),m.Xb()),2&e){const e=m.mc(2);m.Hb(4),m.tc("ngForOf",e.descriptionModel),m.Hb(2),m.tc("ngForOf",m.pc(7,3,e.descriptionModel,e.descriptionPagerConfig)),m.Hb(2),m.tc("ngIf",e.descriptionTotalRecords>15)}}function on(e,t){1&e&&m.Wb(0,"app-mini-loader")}function ln(e,t){1&e&&m.Wb(0,"app-no-records",41),2&e&&m.tc("showImage",!0)}function rn(e,t){if(1&e){const e=m.bc();m.ac(0,"div",67),m.ac(1,"h1",14),m.ac(2,"img",15),m.ic("error",(function(t){return m.Mc(e),m.mc()._commonService.onImageError(t,"assets/images/ADVT.png")})),m.Zb(),m.Tc(3,Jt,2,1,"span",5),m.Tc(4,Kt,2,1,"span",5),m.Zb(),m.Tc(5,cn,9,6,"ng-container",5),m.Tc(6,on,1,0,"app-mini-loader",5),m.Tc(7,ln,1,1,"app-no-records",16),m.Zb()}if(2&e){const e=m.mc();m.Hb(2),m.uc("title",e.pageTitle?"hi"!=e.translate.currentLang?null==e.pageTitle?null:e.pageTitle.NameEnglish:null==e.pageTitle?null:e.pageTitle.NameHindi:" "),m.uc("alt",e.pageTitle?"hi"!=e.translate.currentLang?null==e.pageTitle?null:e.pageTitle.NameEnglish:null==e.pageTitle?null:e.pageTitle.NameHindi:" "),m.tc("src",null==e.pageTitle?null:e.pageTitle.ImagePath,m.Pc),m.Hb(1),m.tc("ngIf",e.pageTitle),m.Hb(1),m.tc("ngIf",!e.pageTitle),m.Hb(1),m.tc("ngIf",e.descriptionModel&&(null==e.descriptionModel?null:e.descriptionModel.length)>0),m.Hb(1),m.tc("ngIf",!e.descriptionModel),m.Hb(1),m.tc("ngIf",e.descriptionModel&&0==e.descriptionModel.length)}}let sn=(()=>{class e{constructor(e,t,n,i,a,c,o,l,r,d){this.achievementAwardService=e,this._dptDistrictWebsiteService=t,this.translate=n,this.sanitizer=i,this.route=a,this._app=c,this._route=o,this._titleService=l,this._achService=r,this._commonService=d,this.pageName="",this.posterIndexModel=new s.d,this.posterTotalRecords=0,this.posterPagerConfig={id:"poster-paging",itemsPerPage:this.posterIndexModel.PageSize,currentPage:this.posterIndexModel.Page,totalItems:this.posterTotalRecords},this.videoIndexModel=new s.d,this.videoTotalRecords=0,this.videoPagerConfig={id:"video-paging",itemsPerPage:this.videoIndexModel.PageSize,currentPage:this.videoIndexModel.Page,totalItems:this.videoTotalRecords},this.audioIndexModel=new s.d,this.audioTotalRecords=0,this.audioPagerConfig={id:"audio-paging",itemsPerPage:this.audioIndexModel.PageSize,currentPage:this.audioIndexModel.Page,totalItems:this.audioTotalRecords},this.advertisementIndexModel=new s.d,this.advertisementTotalRecords=0,this.advertisementPagerConfig={id:"advertisement-paging",itemsPerPage:this.advertisementIndexModel.PageSize,currentPage:this.advertisementIndexModel.Page,totalItems:this.advertisementTotalRecords},this.attachmentIndexModel=new s.d,this.attachmentTotalRecords=0,this.attachmentPagerConfig={id:"attachment-paging",itemsPerPage:this.attachmentIndexModel.PageSize,currentPage:this.attachmentIndexModel.Page,totalItems:this.attachmentTotalRecords},this.descriptionIndexModel=new s.d,this.descriptionTotalRecords=0,this.descriptionPagerConfig={id:"description-paging",itemsPerPage:this.descriptionIndexModel.PageSize,currentPage:this.descriptionIndexModel.Page,totalItems:this.descriptionTotalRecords},this.isShowPoster=!1,this.isShowVideo=!1,this.isShowAudio=!1,this.isShowAdvertisment=!1,this.isShowAttachment=!1,this.isShowDescription=!1,this.departmentCode=0}ngOnInit(){this._route.paramMap.subscribe(e=>{this.pageTitle=void 0;let t=this.route.url.replace("/","").split("/");console.log("url",t),this.departmentCode=this._commonService.GetWebDistDeptCode();let n=this._route.snapshot.params.dptCode;n&&(this.departmentCode=Number(n));let i=this._route.snapshot.params.catCode;i&&(this.catCode=Number(i));let a=this._route.snapshot.params.subCatCode;a&&(this.subCatCode=Number(a));let c=this._route.snapshot.params.submenuCode;c&&(this.submenuCode=Number(c)),this.pageName=this._route.snapshot.params.pageName||(this.submenuCode>=0?this.subCatCode||0==this.subCatCode?t[t.length-5]:this.catCode||0==this.catCode?t[t.length-4]:t[t.length-3]:this.subCatCode||0==this.subCatCode?t[t.length-4]:this.catCode||0==this.catCode?t[t.length-3]:t[t.length-2]),this.getPageHeading(),this._commonService.SetWebTitle("hi"==this.translate.currentLang?"\u0917\u0947\u0932\u0930\u0940":"Gallery"),this.getData()})}getPageHeading(){this.submenuCode>0?this.getSubmenuDetail():this.subCatCode>0?this.getSubCategoryDetail():this.getCategoryDetail()}getSubmenuDetail(){this._dptDistrictWebsiteService.GetSubmenuDetail(this.submenuCode).subscribe(e=>{if(e.IsSuccess){let t=e.Data;t&&(this.pageTitle=new s.f,this.pageTitle.NameEnglish=t.DisplayNameEnglish,this.pageTitle.NameHindi=t.DisplayNameHindi,this.pageTitle.ImagePath=t.IconImage,this._commonService.SetWebTitle("hi"==this.translate.currentLang?this.pageTitle.NameHindi:this.pageTitle.NameEnglish))}},e=>{})}getData(){switch(this.pageName){case"video":this._commonService.SetWebTitle("hi"==this.translate.currentLang?"\u0935\u0940\u0921\u093f\u092f\u094b":"Video"),this.isShowVideo=!0,this.videoIndexModel.PageSize=15,this.videoListData();break;case"audio":case"cm-speech":this._commonService.SetWebTitle("hi"==this.translate.currentLang?"\u0911\u0921\u093f\u092f\u094b":"Audio"),this.isShowAudio=!0,this.audioIndexModel.PageSize=15,this.audioListData();break;case"poster":this._commonService.SetWebTitle("hi"==this.translate.currentLang?"\u092a\u094b\u0938\u094d\u091f\u0930":"Poster"),this.isShowPoster=!0,this.posterIndexModel.PageSize=15,this.posterListData();break;case"images":case"photo-gallery":this._commonService.SetWebTitle("hi"==this.translate.currentLang?"\u092b\u093c\u094b\u091f\u094b \u0917\u0947\u0932\u0930\u0940":"Photo Gallery"),this.isShowPoster=!0,this.posterIndexModel.PageSize=15,this.posterListData();break;case"advertisement":this._commonService.SetWebTitle("hi"==this.translate.currentLang?"\u0935\u093f\u091c\u094d\u091e\u093e\u092a\u0928":"Advertisement"),this.isShowAdvertisment=!0,this.advertisementIndexModel.PageSize=15,this.advertisementListData();break;case"attachments":this.isShowAttachment=!0,this.attachmentIndexModel.PageSize=15,this.getAttachmentsData();break;case"description-list":this.isShowDescription=!0,this.descriptionIndexModel.PageSize=15,this.getDescriptionData();break;default:this.route.navigate(["home"])}}getCategoryDetail(){this._achService.GetAcievementCatDetail(this.catCode).subscribe(e=>{if(e.IsSuccess){this.pageTitle=new s.f;let t=e.Data;this.pageTitle.NameEnglish=t.SubMenuNameEnglish,this.pageTitle.NameHindi=t.SubMenuNameHindi,this.pageTitle.ImagePath=t.ImagePath,this._commonService.SetWebTitle("hi"==this.translate.currentLang?this.pageTitle.NameHindi:this.pageTitle.NameEnglish)}},e=>{console.error(e)})}getSubCategoryDetail(){this._achService.GetAcievementSubCatDetail(this.subCatCode).subscribe(e=>{if(e.IsSuccess){this.pageTitle=new s.f;let t=e.Data;this.pageTitle.NameEnglish=t.Title,this.pageTitle.NameHindi=t.TitleHindi,this.pageTitle.ImagePath=t.ImagePath,this._commonService.SetWebTitle("hi"==this.translate.currentLang?this.pageTitle.NameHindi:this.pageTitle.NameEnglish)}},e=>{console.error(e)})}posterListData(){this.posterModel=void 0,this.posterIndexModel.OrderBy="AchievementDate",this.posterIndexModel.OrderByAsc=0,this.posterIndexModel.AdvanceSearchModel={DepartmentCode:this.departmentCode,CategoryCode:this.catCode||0,SubCategoryCode:this.subCatCode||0},this.achievementAwardService.GetPostersListData(this.posterIndexModel).subscribe(e=>{e.IsSuccess?(this.posterModel=e.Data.Data,this.posterIndexModel.IsPostBack||(this.posterTotalRecords=e.Data.TotalRecords),this.posterUpdatePageConfig()):this.posterModel=[]},e=>{this.posterModel=[]})}posterGetNextPageRecord(e){window.scroll(0,0),this.posterIndexModel.IsPostBack=!0,this.posterIndexModel.Page=e,this.posterListData()}posterChangePageSize(e){window.scroll(0,0),this.posterIndexModel.IsPostBack=!0,this.posterIndexModel.PageSize=Number(e),this.posterIndexModel.Page=1,this.posterListData()}posterUpdatePageConfig(){this.posterPagerConfig.itemsPerPage=this.posterIndexModel.PageSize,this.posterPagerConfig.currentPage=this.posterIndexModel.Page,this.posterPagerConfig.totalItems=this.posterTotalRecords}videoListData(){this.videoModel=void 0,this.videoIndexModel.OrderBy="AchievementDate",this.videoIndexModel.OrderByAsc=0,this.videoIndexModel.AdvanceSearchModel={DepartmentCode:this.departmentCode,CategoryCode:this.catCode||0,SubCategoryCode:this.subCatCode||0},this.achievementAwardService.GetVideoListData(this.videoIndexModel).subscribe(e=>{e.IsSuccess?(this.videoModel=e.Data.Data,this.videoModel.forEach(e=>{e.safeUrl=this.SafeUrl(e.YoutubeURL?e.YoutubeURL:e.Url)}),this.videoIndexModel.IsPostBack||(this.videoTotalRecords=e.Data.TotalRecords),this.videoUpdatePageConfig()):this.videoModel=[]},e=>{this.videoModel=[]})}videoGetNextPageRecord(e){window.scroll(0,0),this.videoIndexModel.IsPostBack=!0,this.videoIndexModel.Page=e,this.videoListData()}videoChangePageSize(e){window.scroll(0,0),this.videoIndexModel.IsPostBack=!0,this.videoIndexModel.PageSize=Number(e),this.videoIndexModel.Page=1,this.videoListData()}videoUpdatePageConfig(){this.videoPagerConfig.itemsPerPage=this.videoIndexModel.PageSize,this.videoPagerConfig.currentPage=this.videoIndexModel.Page,this.videoPagerConfig.totalItems=this.videoTotalRecords}audioListData(){this.audioModel=void 0,this.audioIndexModel.OrderBy="Priority",this.audioIndexModel.OrderByAsc=1,this.audioIndexModel.AdvanceSearchModel={DepartmentCode:this.departmentCode,CategoryCode:this.catCode||0,SubCategoryCode:this.subCatCode||0},this.achievementAwardService.GetAudioListData(this.audioIndexModel).subscribe(e=>{e.IsSuccess?(this.audioModel=e.Data.Data,this.audioIndexModel.IsPostBack||(this.audioTotalRecords=e.Data.TotalRecords),this.audioUpdatePageConfig()):this.audioModel=[]},e=>{this.audioModel=[]})}audioGetNextPageRecord(e){window.scroll(0,0),this.audioIndexModel.IsPostBack=!0,this.audioIndexModel.Page=e,this.audioListData()}audioChangePageSize(e){window.scroll(0,0),this.audioIndexModel.IsPostBack=!0,this.audioIndexModel.PageSize=Number(e),this.audioIndexModel.Page=1,this.audioListData()}audioUpdatePageConfig(){this.audioPagerConfig.itemsPerPage=this.audioIndexModel.PageSize,this.audioPagerConfig.currentPage=this.audioIndexModel.Page,this.audioPagerConfig.totalItems=this.audioTotalRecords}advertisementListData(){this.advertisementModel=void 0,this.advertisementIndexModel.OrderBy="AchievementDate",this.advertisementIndexModel.OrderByAsc=0,this.advertisementIndexModel.AdvanceSearchModel={DepartmentCode:this.departmentCode,CategoryCode:this.catCode||0,SubCategoryCode:this.subCatCode||0},this.achievementAwardService.GetAdvertisementListData(this.advertisementIndexModel).subscribe(e=>{e.IsSuccess?(this.advertisementModel=e.Data.Data,this.advertisementIndexModel.IsPostBack||(this.advertisementTotalRecords=e.Data.TotalRecords),this.advertisementUpdatePageConfig()):this.advertisementModel=[]},e=>{this.advertisementModel=[]})}advertisementGetNextPageRecord(e){window.scroll(0,0),this.advertisementIndexModel.IsPostBack=!0,this.advertisementIndexModel.Page=e,this.advertisementListData()}advertisementChangePageSize(e){window.scroll(0,0),this.advertisementIndexModel.IsPostBack=!0,this.advertisementIndexModel.PageSize=Number(e),this.advertisementIndexModel.Page=1,this.advertisementListData()}advertisementUpdatePageConfig(){this.advertisementPagerConfig.itemsPerPage=this.advertisementIndexModel.PageSize,this.advertisementPagerConfig.currentPage=this.advertisementIndexModel.Page,this.advertisementPagerConfig.totalItems=this.advertisementTotalRecords}getAttachmentsData(){this.attachmentModel=void 0,this.attachmentIndexModel.OrderBy="Priority",this.attachmentIndexModel.OrderByAsc=1,this.attachmentIndexModel.AdvanceSearchModel={DepartmentCode:this.departmentCode,CategoryCode:this.catCode||0,SubCategoryCode:this.subCatCode||0},this.achievementAwardService.GetAdvertisementListData(this.attachmentIndexModel).subscribe(e=>{e.IsSuccess?(this.attachmentModel=e.Data.Data,this.attachmentIndexModel.IsPostBack||(this.attachmentTotalRecords=e.Data.TotalRecords),this.attachmentUpdatePageConfig()):this.attachmentModel=[]},e=>{this.attachmentModel=[]})}attachmentGetNextPageRecord(e){window.scroll(0,0),this.attachmentIndexModel.IsPostBack=!0,this.attachmentIndexModel.Page=e,this.getAttachmentsData()}attachmentChangePageSize(e){window.scroll(0,0),this.attachmentIndexModel.IsPostBack=!0,this.attachmentIndexModel.PageSize=Number(e),this.attachmentIndexModel.Page=1,this.getAttachmentsData()}attachmentUpdatePageConfig(){this.attachmentPagerConfig.itemsPerPage=this.attachmentIndexModel.PageSize,this.attachmentPagerConfig.currentPage=this.attachmentIndexModel.Page,this.attachmentPagerConfig.totalItems=this.attachmentTotalRecords}getDescriptionData(){this.descriptionModel=void 0,this.descriptionIndexModel.OrderBy="Priority",this.descriptionIndexModel.OrderByAsc=1,this.descriptionIndexModel.AdvanceSearchModel={DepartmentCode:this.departmentCode,CategoryCode:this.catCode||0,SubCategoryCode:this.subCatCode||0},this.achievementAwardService.GetAdvertisementListData(this.descriptionIndexModel).subscribe(e=>{e.IsSuccess?(this.descriptionModel=e.Data.Data,this.descriptionIndexModel.IsPostBack||(this.descriptionTotalRecords=e.Data.TotalRecords),this.descriptionUpdatePageConfig()):this.descriptionModel=[]},e=>{this.descriptionModel=[]})}descriptionGetNextPageRecord(e){window.scroll(0,0),this.descriptionIndexModel.IsPostBack=!0,this.descriptionIndexModel.Page=e,this.getDescriptionData()}descriptionChangePageSize(e){window.scroll(0,0),this.descriptionIndexModel.IsPostBack=!0,this.descriptionIndexModel.PageSize=Number(e),this.descriptionIndexModel.Page=1,this.getDescriptionData()}descriptionUpdatePageConfig(){this.descriptionPagerConfig.itemsPerPage=this.descriptionIndexModel.PageSize,this.descriptionPagerConfig.currentPage=this.descriptionIndexModel.Page,this.descriptionPagerConfig.totalItems=this.descriptionTotalRecords}onMediaPlaying(e,t){var n,i;e.preventDefault(),null!=this.currentPlayingVideo&&(null===(n=this.currentPlayingVideo)||void 0===n||n.pause()),null!=this.currentPlayingAudio&&(null===(i=this.currentPlayingAudio)||void 0===i||i.pause()),t?(this.currentPlayingAudio=e.target,this.currentPlayingAudio.play()):(this.currentPlayingVideo=e.target,this.currentPlayingVideo.play())}isExtenstionUrl(e){return new RegExp(/\.\w{3,4}($|\?)/i).test(e)}SafeUrl(e){return null!=e&&e.length>0?new RegExp(/\/view(v|V?)/i).test(e)?(e=e.replace(/\/view(v|V?)/i,"/preview"),this.sanitizer.bypassSecurityTrustResourceUrl(e)):(e=e.replace(/\/watch\?(v|V\?)=/g,"/embed/"),this.sanitizer.bypassSecurityTrustResourceUrl(e)):null}}return e.\u0275fac=function(t){return new(t||e)(m.Vb(u.a),m.Vb(p.a),m.Vb(c.d),m.Vb(b.b),m.Vb(h.b),m.Vb(Qe.a),m.Vb(h.a),m.Vb(b.d),m.Vb(u.a),m.Vb(g.a))},e.\u0275cmp=m.Pb({type:e,selectors:[["app-gallery"]],decls:20,vars:12,consts:[["aria-label","breadcrumb",1,"breadcrumb_nav"],[1,"breadcrumb"],[1,"breadcrumb-item"],[3,"routerLink"],["aria-current","page",1,"breadcrumb-item","active"],[4,"ngIf"],[1,"order_page"],[1,"gallery","pt-5"],[1,"container-fluid"],[1,"row"],["class","col-lg-12 pb-4",4,"ngIf"],["class","col-lg-12",4,"ngIf"],["class","col-lg-12 p-0",4,"ngIf"],[1,"col-lg-12","pb-4"],[1,"title","text-center"],[1,"img-fluid","mr-10",3,"src","title","alt","error"],[3,"showImage",4,"ngIf"],[1,"photo-gallery","photo-gallery-new-design"],[1,"d-flex","flex-row","flex-wrap","my-flex-container","justify-content-center","photos"],["class","photo-gallery-bx align-items-center d-flex justify-content-center",4,"ngFor","ngForOf"],[1,"text-center","my-5"],["class","new-pagination-outer",4,"ngIf"],[1,"photo-gallery-bx","align-items-center","d-flex","justify-content-center"],[1,"img-loader",3,"href","title","error"],[1,"img-fluid","rounded",3,"src","title","alt","error"],["style","display: none;",4,"ngIf"],[1,"home-gallery-items-caption"],[1,"soft-entry"],[2,"display","none"],[4,"ngFor","ngForOf"],[3,"href","title"],[3,"src","title","alt","error"],[1,"new-pagination-outer"],["name","example_length","aria-controls","example","class","form-control-sm top-0","style","width:70px;",3,"change",4,"ngIf"],["id","poster-paging","autoHide","true",1,"w-100","text-center","mt-4",3,"previousLabel","nextLabel","pageChange"],["name","example_length","aria-controls","example",1,"form-control-sm","top-0",2,"width","70px",3,"change"],[3,"value"],["selected","","value","15"],["value","30"],["value","60"],["value","120"],[3,"showImage"],[1,"col-lg-12"],["class","col-sm-6 col-md-6 col-lg-6 col-xl-4 item mb-3 ",3,"title",4,"ngIf"],[1,"col-sm-6","col-md-6","col-lg-6","col-xl-4","item","mb-3",3,"title"],[1,"audio-card","video-card-new","text-center"],[1,"embed-responsive","embed-responsive-21by9"],[4,"ngIf","ngIfElse"],["iframVideo",""],[1,"av-caption",3,"title"],["target","_blank",3,"href"],["width","100%","height","100%","controls","","preload","metadata","data-setup",'{ "aspectRatio":"100%:100%", "playbackRates": [1, 1.5, 2] }',1,"embed-responsive-item",3,"id","poster","playing"],[3,"src","type"],["width","100%","height","100%","frameborder","0","allow","accelerometer; autoplay; gyroscope; picture-in-picture","allowfullscreen","",1,"embed-responsive-item",3,"src","onclick"],["name","example_length","aria-controls","example",1,"form-control-sm",2,"width","70px",3,"change"],["id","video-paging","autoHide","true",1,"w-100","text-center","mt-4",3,"previousLabel","nextLabel","pageChange"],["class","col-sm-6 col-md-6 col-lg-4 col-xl-3 item mb-4",3,"title",4,"ngIf"],[1,"col-sm-6","col-md-6","col-lg-4","col-xl-3","item","mb-4",3,"title"],[1,"audio-card","text-center"],["src","assets/images/high-volume.png",1,"img-fluid",3,"title","alt"],["preload","none","controls","",1,"w-100",3,"playing"],[3,"src"],["id","audio-paging","autoHide","true",1,"w-100","text-center","mt-4",3,"previousLabel","nextLabel","pageChange"],["data-lightbox","photos",3,"href","title","error"],["id","advertisement-paging","autoHide","true",1,"w-100","text-center","mt-4",3,"previousLabel","nextLabel","pageChange"],["target","_blank",1,"img-loader",3,"href","title"],["id","attachment-paging","autoHide","true",1,"w-100","text-center","mt-4",3,"previousLabel","nextLabel","pageChange"],[1,"col-lg-12","p-0"],[1,"container"],["class","row mt-4",3,"id",4,"ngFor","ngForOf"],["href","javascript:void(0);",1,"btn","btn-round","btn-theme","btn-yellow","mb-3",3,"click"],[1,"row","mt-4",3,"id"],[1,"card-d-1"],[1,"d-md-flex","align-items-center","justify-content-between","mb-2"],[1,"text-color-theme-blue","font-size-3x"],[1,"d-flex","align-items-center"],[3,"innerHTML"],[1,"card-d-1-gallery-img"],[1,"card-d-1-gallery-pdf"],[1,"fas","fa-file-pdf"],["id","description-paging","autoHide","true",1,"w-100","text-center","mt-4",3,"previousLabel","nextLabel","pageChange"]],template:function(e,t){1&e&&(m.Wb(0,"app-loader"),m.ac(1,"nav",0),m.ac(2,"ol",1),m.ac(3,"li",2),m.ac(4,"a",3),m.Vc(5),m.nc(6,"translate"),m.Zb(),m.Zb(),m.ac(7,"li",4),m.Tc(8,tt,2,1,"span",5),m.Tc(9,nt,2,1,"span",5),m.Zb(),m.Zb(),m.Zb(),m.ac(10,"section",6),m.ac(11,"section",7),m.ac(12,"div",8),m.ac(13,"div",9),m.Tc(14,gt,8,8,"div",10),m.Tc(15,Tt,8,8,"div",11),m.Tc(16,kt,8,8,"div",11),m.Tc(17,Rt,8,8,"div",10),m.Tc(18,qt,8,8,"div",11),m.Tc(19,rn,8,8,"div",12),m.Zb(),m.Zb(),m.Zb(),m.Zb()),2&e&&(m.Hb(4),m.uc("routerLink",t._commonService.GetHomePageUrl()),m.Hb(1),m.Wc(m.oc(6,10,"Home_txt")),m.Hb(3),m.tc("ngIf",t.pageTitle),m.Hb(1),m.tc("ngIf",!t.pageTitle),m.Hb(5),m.tc("ngIf",t.isShowPoster),m.Hb(1),m.tc("ngIf",t.isShowVideo),m.Hb(1),m.tc("ngIf",t.isShowAudio),m.Hb(1),m.tc("ngIf",t.isShowAdvertisment),m.Hb(1),m.tc("ngIf",t.isShowAttachment),m.Hb(1),m.tc("ngIf",t.isShowDescription))},directives:[et.a,h.d,i.n,i.m,f.c,a.q,a.w,v.a,C.a],pipes:[c.c,f.b,i.u],styles:[""]}),e})();var dn=n("+xgG"),mn=n("DxiF"),un=n("qnWF");function bn(e,t){if(1&e&&(m.ac(0,"span"),m.Vc(1),m.Zb()),2&e){const e=m.mc();m.Hb(1),m.Wc("hi"!=e.translate.currentLang?null==e.pageTitle?null:e.pageTitle.NameEnglish:null==e.pageTitle?null:e.pageTitle.NameHindi)}}function gn(e,t){1&e&&(m.ac(0,"span"),m.Vc(1),m.nc(2,"translate"),m.Zb()),2&e&&(m.Hb(1),m.Wc(m.oc(2,1,"AssemblyConstituency_txt")))}function hn(e,t){if(1&e&&(m.ac(0,"span"),m.Vc(1),m.Zb()),2&e){const e=m.mc();m.Hb(1),m.Wc("hi"!=e.translate.currentLang?null==e.pageTitle?null:e.pageTitle.NameEnglish:null==e.pageTitle?null:e.pageTitle.NameHindi)}}function pn(e,t){1&e&&(m.ac(0,"span"),m.Vc(1),m.nc(2,"translate"),m.Zb()),2&e&&(m.Hb(1),m.Wc(m.oc(2,1,"AssemblyConstituency_txt")))}function fn(e,t){if(1&e&&(m.ac(0,"a",29),m.Wb(1,"i",30),m.Vc(2),m.Zb()),2&e){const e=m.mc().$implicit;m.vc("href","mailto:",null==e?null:e.Email,"",m.Pc),m.Hb(2),m.Xc(" ",null==e?null:e.Email," ")}}function vn(e,t){if(1&e&&(m.ac(0,"a",31),m.Wb(1,"i",32),m.Vc(2),m.Zb()),2&e){const e=m.mc().$implicit;m.vc("href","tel:",null==e?null:e.whatsappNumber,"",m.Pc),m.Hb(2),m.Xc(" ",null==e?null:e.whatsappNumber,"")}}function Cn(e,t){if(1&e){const e=m.bc();m.ac(0,"div",13),m.ac(1,"a",14),m.ac(2,"div",15),m.ac(3,"img",16),m.ic("error",(function(t){return m.Mc(e),m.mc()._commonService.onImageError(t,"assets/images/user-default.jpg")})),m.Zb(),m.Zb(),m.ac(4,"div",17),m.ac(5,"h5",18),m.Vc(6),m.Zb(),m.ac(7,"div",19),m.Vc(8),m.Zb(),m.ac(9,"p",20),m.Vc(10),m.Zb(),m.ac(11,"div",21),m.ac(12,"a",22),m.Wb(13,"i",23),m.Zb(),m.ac(14,"a",24),m.Wb(15,"i",25),m.Zb(),m.Zb(),m.ac(16,"div",26),m.Tc(17,fn,3,2,"a",27),m.Tc(18,vn,3,2,"a",28),m.Zb(),m.Zb(),m.Zb(),m.Zb()}if(2&e){const e=t.$implicit,n=m.mc();m.Hb(1),m.wc("routerLink","/home/mla-detail/",e.MLACode,"/",n.departmentCode,""),m.Hb(2),m.uc("alt","hi"==n.translate.currentLang?null==e?null:e.MLANameHindi:null==e?null:e.MLANameEng),m.uc("title","hi"==n.translate.currentLang?null==e?null:e.MLANameHindi:null==e?null:e.MLANameEng),m.tc("src",n.sanitizeImageUrl(null==e?null:e.MLAPhoto),m.Pc),m.Hb(1),m.wc("routerLink","/home/mla-detail/",e.MLACode,"/",n.departmentCode,""),m.Hb(2),m.Xc(" ","hi"==n.translate.currentLang?null==e?null:e.MLANameHindi:null==e?null:e.MLANameEng," "),m.Hb(2),m.Xc(" ","hi"==n.translate.currentLang?null==e?null:e.DesignationDisplayNameHindi:null==e?null:e.DesignationDisplayName," "),m.Hb(2),m.Yc("","hi"==n.translate.currentLang?null==e?null:e.NameHindi:null==e?null:e.Name,", ","hi"==n.translate.currentLang?null==e?null:e.DistrictTitleHindi:null==e?null:e.DistrictTitle,""),m.Hb(7),m.tc("ngIf",null==e?null:e.Email),m.Hb(1),m.tc("ngIf",null==e?null:e.whatsappNumber)}}function Hn(e,t){1&e&&m.Wb(0,"app-mini-loader")}function Dn(e,t){1&e&&m.Wb(0,"app-no-records",33),2&e&&m.tc("showImage",!0)}let Mn=(()=>{class e{constructor(e,t,n,i,a,c){var o,l,r,d,m,u;this._commonService=e,this._dptDistrictWebsiteService=t,this.translate=n,this.sanitizer=i,this._titleService=a,this.route=c,this.departmentCode=0,this.designationCode=0,this.indexModel=new s.d,this.submenuCode=0,this._commonService.SetWebTitle("hi"==n.currentLang?"\u091c\u093f\u0932\u0947 \u0915\u0947 \u0935\u093f\u0927\u093e\u092f\u0915\u0917\u0923":"MLA of District"),this.indexModel.PageSize=101;let b=null===(r=null===(l=null===(o=this.route)||void 0===o?void 0:o.snapshot)||void 0===l?void 0:l.params)||void 0===r?void 0:r.dptCode;this.departmentCode=Number(b||e.GetWebDistDeptCode()),this.route.snapshot.params.submenuCode&&(this.submenuCode=Number(this.route.snapshot.params.submenuCode||0));let g=null===(u=null===(m=null===(d=this.route)||void 0===d?void 0:d.snapshot)||void 0===m?void 0:m.params)||void 0===u?void 0:u.catCode;this.designationCode=Number(g||0),this.getPageHeading()}getPageHeading(){this.submenuCode>0?this.getSubmenuDetail():this.designationCode>0&&this.getDesignationDetail()}getSubmenuDetail(){this._dptDistrictWebsiteService.GetSubmenuDetail(this.submenuCode).subscribe(e=>{if(e.IsSuccess){let t=e.Data;t&&(this.pageTitle=new s.f,this.pageTitle.NameEnglish=t.DisplayNameEnglish,this.pageTitle.NameHindi=t.DisplayNameHindi,this.pageTitle.ImagePath=t.IconImage,this._commonService.SetWebTitle("hi"==this.translate.currentLang?this.pageTitle.NameHindi:this.pageTitle.NameEnglish))}},e=>{})}getDesignationDetail(){this._dptDistrictWebsiteService.GetAllDDL(r.a.ddlKey_ddlDesignation).subscribe(e=>{var t,n;if(e.IsSuccess){let i=null===(t=e)||void 0===t?void 0:t.Data;if(i&&i.ddlDesignation&&i.ddlDesignation.length>0){let e=i.ddlDesignation.find(e=>e.Value==this.designationCode);e&&(this.pageTitle=new s.f,this.pageTitle.NameEnglish=e.Text,this.pageTitle.NameHindi=null===(n=e.OtherData)||void 0===n?void 0:n.NameHindi,this._commonService.SetWebTitle("hi"==this.translate.currentLang?this.pageTitle.NameHindi:this.pageTitle.NameEnglish))}}},e=>{console.error(e.message)})}ngOnInit(){this.GetList()}GetList(){this.model=void 0,this.indexModel.OrderByAsc=1,this.indexModel.AdvanceSearchModel={DepartmentCode:this.departmentCode},this._dptDistrictWebsiteService.GetMLAConstituency(this.indexModel).subscribe(e=>{this.model=e.IsSuccess?e.Data.Data:[]},e=>{this.model=[]})}sanitizeImageUrl(e){return this.sanitizer.bypassSecurityTrustUrl(e)}}return e.\u0275fac=function(t){return new(t||e)(m.Vb(g.a),m.Vb(p.a),m.Vb(c.d),m.Vb(b.b),m.Vb(b.d),m.Vb(h.a))},e.\u0275cmp=m.Pb({type:e,selectors:[["app-ddw-assembly-constituncy-list"]],decls:21,vars:18,consts:[["aria-label","breadcrumb",1,"breadcrumb_nav"],[1,"breadcrumb"],[1,"breadcrumb-item"],[3,"routerLink"],["aria-current","page",1,"breadcrumb-item","active"],[4,"ngIf"],[1,"inner-page","page-district-page-assembly-constituncy"],[1,"container"],[1,"title","text-center"],[1,"img-fluid",3,"title","alt","src","error"],[1,"row"],["class","col-lg-3 col-md-6 col-sm-6 mb-4",4,"ngFor","ngForOf"],[3,"showImage",4,"ngIf"],[1,"col-lg-3","col-md-6","col-sm-6","mb-4"],[1,"home-assembly-constituncy-items","text-center","d-block",3,"routerLink"],[1,"home-assembly-constituncy-items-img","d-flex","justify-content-center"],[3,"src","alt","title","error"],[1,"home-assembly-constituncy-items-detail","py-2",3,"routerLink"],[1,"text-blue","mb-1"],[1,"m-0","mla-detail-desination"],[1,"m-0","text-muted"],[1,"home-assembly-constituncy-items-social","pt-2"],["href","https://www.facebook.com/RajCMO/","target","_blank",1,"socail-color-fb"],[1,"fab","fa-facebook-f"],["href","https://twitter.com/RajCMO","target","_blank",1,"socail-color-twitter"],[1,"fab","fa-twitter"],[1,"mp-mla-items-info-footer"],["class","d-block w-100 mb-1 text-white",3,"href",4,"ngIf"],["class","d-block w-100 text-white",3,"href",4,"ngIf"],[1,"d-block","w-100","mb-1","text-white",3,"href"],[1,"bi","bi-envelope"],[1,"d-block","w-100","text-white",3,"href"],[1,"bi","bi-telephone"],[3,"showImage"]],template:function(e,t){1&e&&(m.ac(0,"nav",0),m.ac(1,"ol",1),m.ac(2,"li",2),m.ac(3,"a",3),m.Vc(4),m.nc(5,"translate"),m.Zb(),m.Zb(),m.ac(6,"li",4),m.Tc(7,bn,2,1,"span",5),m.Tc(8,gn,3,3,"span",5),m.Zb(),m.Zb(),m.Zb(),m.ac(9,"section",6),m.ac(10,"div",7),m.ac(11,"h1",8),m.ac(12,"img",9),m.ic("error",(function(e){return t._commonService.onImageError(e,"assets/images/mla-list.png")})),m.nc(13,"translate"),m.nc(14,"translate"),m.Zb(),m.Tc(15,hn,2,1,"span",5),m.Tc(16,pn,3,3,"span",5),m.Zb(),m.ac(17,"div",10),m.Tc(18,Cn,19,13,"div",11),m.Zb(),m.Tc(19,Hn,1,0,"app-mini-loader",5),m.Tc(20,Dn,1,1,"app-no-records",12),m.Zb(),m.Zb()),2&e&&(m.Hb(3),m.uc("routerLink",t._commonService.GetHomePageUrl()),m.Hb(1),m.Wc(m.oc(5,12,"Home_txt")),m.Hb(3),m.tc("ngIf",t.pageTitle),m.Hb(1),m.tc("ngIf",!t.pageTitle),m.Hb(4),m.uc("title",m.oc(13,14,"AssemblyConstituency_txt")),m.uc("alt",m.oc(14,16,"AssemblyConstituency_txt")),m.uc("src",(null==t.pageTitle?null:t.pageTitle.ImagePath)||"assets/images/mla-list.png",m.Pc),m.Hb(3),m.tc("ngIf",t.pageTitle),m.Hb(1),m.tc("ngIf",!t.pageTitle),m.Hb(2),m.tc("ngForOf",t.model),m.Hb(1),m.tc("ngIf",!t.model),m.Hb(1),m.tc("ngIf",t.model&&0==t.model.length))},directives:[h.d,i.n,i.m,h.c,v.a,C.a],pipes:[c.c],styles:[""]}),e})();var In=n("6mOv");function Zn(e,t){if(1&e&&(m.ac(0,"span"),m.Vc(1),m.Zb()),2&e){const e=m.mc();m.Hb(1),m.Wc("hi"!=e.translate.currentLang?null==e.pageTitle?null:e.pageTitle.NameEnglish:null==e.pageTitle?null:e.pageTitle.NameHindi)}}function Tn(e,t){1&e&&(m.ac(0,"span"),m.Vc(1),m.Zb()),2&e&&(m.Hb(1),m.Wc(" "))}function yn(e,t){if(1&e&&(m.ac(0,"option",28),m.Vc(1),m.Zb()),2&e){const e=t.$implicit;m.uc("value",e.Value),m.Hb(1),m.Wc(e.Text)}}function xn(e,t){if(1&e){const e=m.bc();m.ac(0,"div",16),m.ac(1,"div",17),m.ac(2,"div",18),m.ac(3,"div",19),m.ac(4,"label"),m.Vc(5,"Category"),m.Zb(),m.ac(6,"select",20),m.ic("ngModelChange",(function(t){return m.Mc(e),m.mc().indexModel.SubCategoryCode=t})),m.ac(7,"option",21),m.Vc(8,"--Select--"),m.Zb(),m.Tc(9,yn,2,2,"option",22),m.Zb(),m.Zb(),m.ac(10,"div",23),m.ac(11,"label"),m.Vc(12,"\xa0"),m.Zb(),m.ac(13,"button",24),m.ic("click",(function(){m.Mc(e);const t=m.mc();return t.indexModel.IndexModel.Page=1,t.getData()})),m.Wb(14,"i",25),m.Vc(15),m.nc(16,"translate"),m.Zb(),m.Zb(),m.ac(17,"div",23),m.ac(18,"label"),m.Vc(19,"\xa0"),m.Zb(),m.ac(20,"button",26),m.ic("click",(function(){return m.Mc(e),m.mc().reset()})),m.Wb(21,"i",27),m.Vc(22),m.nc(23,"translate"),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.Zb()}if(2&e){const e=m.mc();m.Hb(6),m.tc("ngModel",e.indexModel.SubCategoryCode),m.Hb(3),m.tc("ngForOf",null==e.dDLList?null:e.dDLList.ddlAchievementSubCategory),m.Hb(6),m.Xc(" ",m.oc(16,4,"Search_txt")," "),m.Hb(7),m.Xc(" ",m.oc(23,6,"Reset_txt")," ")}}function Pn(e,t){if(1&e&&(m.ac(0,"span"),m.Vc(1),m.Zb()),2&e){const e=m.mc();m.Hb(1),m.Wc("hi"!=e.translate.currentLang?null==e.pageTitle?null:e.pageTitle.NameEnglish:null==e.pageTitle?null:e.pageTitle.NameHindi)}}function Sn(e,t){1&e&&(m.ac(0,"span"),m.Vc(1),m.Zb()),2&e&&(m.Hb(1),m.Wc(" "))}function _n(e,t){1&e&&m.Wb(0,"app-mini-loader")}function wn(e,t){1&e&&m.Wb(0,"app-no-records",29),2&e&&m.tc("showImage",!0)}function Ln(e,t){if(1&e&&(m.ac(0,"div",11),m.ac(1,"div",40),m.ac(2,"a",41),m.Wb(3,"i",42),m.Zb(),m.Zb(),m.Zb()),2&e){const e=m.mc().$implicit;m.Hb(2),m.uc("href",null==e?null:e.PdfFIleName,m.Pc)}}function Vn(e,t){if(1&e){const e=m.bc();m.ac(0,"div",32),m.ac(1,"div",33),m.ac(2,"div",34),m.ac(3,"img",35),m.ic("error",(function(t){return m.Mc(e),m.mc(2)._commonService.onImageError(t,"assets/images/record-not-found.png")})),m.Zb(),m.Zb(),m.Zb(),m.ac(4,"div",36),m.ac(5,"h2",37),m.Vc(6),m.Zb(),m.Tc(7,Ln,4,1,"div",38),m.ac(8,"div",11),m.Wb(9,"pre",39),m.Zb(),m.Zb(),m.Zb()}if(2&e){const e=t.$implicit,n=m.mc(2);m.Hb(3),m.uc("src",null==e?null:e.ImagePath,m.Pc),m.uc("title","en"==n.translate.currentLang?e.AchievementHindi:e.SubjectHindi),m.uc("alt","en"==n.translate.currentLang?e.AchievementHindi:e.SubjectHindi),m.Hb(3),m.Xc(" ","en"==n.translate.currentLang?e.AchievementHindi:e.SubjectHindi?e.SubjectHindi:e.AchievementHindi," "),m.Hb(1),m.tc("ngIf",null==e?null:e.PdfFIleName),m.Hb(2),m.tc("innerHTML","hi"==n.translate.currentLang?e.EditorDetail:e.EditorDetailEnglish,m.Nc)}}function kn(e,t){1&e&&(m.ac(0,"option",48),m.Vc(1,"10"),m.Zb())}function Nn(e,t){1&e&&(m.ac(0,"option",49),m.Vc(1,"30"),m.Zb())}function On(e,t){1&e&&(m.ac(0,"option",50),m.Vc(1,"60"),m.Zb())}function An(e,t){1&e&&(m.ac(0,"option",51),m.Vc(1,"120"),m.Zb())}function Wn(e,t){if(1&e){const e=m.bc();m.ac(0,"select",43),m.ic("change",(function(t){return m.Mc(e),m.mc(2).ChangePageSize(t.target.value)})),m.ac(1,"option",28),m.Vc(2),m.nc(3,"translate"),m.Zb(),m.Tc(4,kn,2,0,"option",44),m.Tc(5,Nn,2,0,"option",45),m.Tc(6,On,2,0,"option",46),m.Tc(7,An,2,0,"option",47),m.Zb()}if(2&e){const e=m.mc(2);m.Hb(1),m.uc("value",e.totalRecords),m.Hb(1),m.Xc(" ",m.oc(3,6,"All_txt")," "),m.Hb(2),m.tc("ngIf",e.totalRecords>10),m.Hb(1),m.tc("ngIf",e.totalRecords>30),m.Hb(1),m.tc("ngIf",e.totalRecords>60),m.Hb(1),m.tc("ngIf",e.totalRecords>120)}}function En(e,t){if(1&e&&(m.Yb(0),m.Tc(1,Vn,10,6,"div",30),m.nc(2,"paginate"),m.Tc(3,Wn,8,8,"select",31),m.Xb()),2&e){const e=m.mc();m.Hb(1),m.tc("ngForOf",m.pc(2,2,e.model,e.pagerConfig)),m.Hb(2),m.tc("ngIf",e.totalRecords>10)}}function Gn(e,t){if(1&e&&(m.ac(0,"div",60),m.ac(1,"div",40),m.ac(2,"a",41),m.Wb(3,"i",42),m.Zb(),m.Zb(),m.Zb()),2&e){const e=m.mc().$implicit;m.Hb(2),m.uc("href",null==e?null:e.PdfFIleName,m.Pc)}}function Fn(e,t){if(1&e){const e=m.bc();m.ac(0,"div",54),m.ac(1,"div",55),m.Tc(2,Gn,4,1,"div",56),m.ac(3,"div",57),m.ac(4,"img",35),m.ic("error",(function(t){return m.Mc(e),m.mc(2)._commonService.onImageError(t,"assets/images/default.png")})),m.Zb(),m.Zb(),m.ac(5,"div",58),m.ac(6,"a",59),m.Vc(7),m.Zb(),m.Wb(8,"pre",39),m.Zb(),m.Zb(),m.Zb()}if(2&e){const e=t.$implicit,n=m.mc(2);m.Hb(2),m.tc("ngIf",null==e?null:e.PdfFIleName),m.Hb(2),m.uc("src",null==e?null:e.ImagePath,m.Pc),m.uc("title","en"==n.translate.currentLang?e.AchievementHindi:e.SubjectHindi),m.uc("alt","en"==n.translate.currentLang?e.AchievementHindi:e.SubjectHindi),m.Hb(3),m.Xc(" ","en"==n.translate.currentLang?e.AchievementHindi:e.SubjectHindi?e.SubjectHindi:e.AchievementHindi," "),m.Hb(1),m.tc("innerHTML","hi"==n.translate.currentLang?e.EditorDetail:e.EditorDetailEnglish,m.Nc)}}function Rn(e,t){1&e&&(m.ac(0,"option",48),m.Vc(1,"10"),m.Zb())}function Xn(e,t){1&e&&(m.ac(0,"option",49),m.Vc(1,"30"),m.Zb())}function Bn(e,t){1&e&&(m.ac(0,"option",50),m.Vc(1,"60"),m.Zb())}function Un(e,t){1&e&&(m.ac(0,"option",51),m.Vc(1,"120"),m.Zb())}function zn(e,t){if(1&e){const e=m.bc();m.ac(0,"select",43),m.ic("change",(function(t){return m.Mc(e),m.mc(2).ChangePageSize(t.target.value)})),m.ac(1,"option",28),m.Vc(2),m.nc(3,"translate"),m.Zb(),m.Tc(4,Rn,2,0,"option",44),m.Tc(5,Xn,2,0,"option",45),m.Tc(6,Bn,2,0,"option",46),m.Tc(7,Un,2,0,"option",47),m.Zb()}if(2&e){const e=m.mc(2);m.Hb(1),m.uc("value",e.totalRecords),m.Hb(1),m.Xc(" ",m.oc(3,6,"All_txt")," "),m.Hb(2),m.tc("ngIf",e.totalRecords>10),m.Hb(1),m.tc("ngIf",e.totalRecords>30),m.Hb(1),m.tc("ngIf",e.totalRecords>60),m.Hb(1),m.tc("ngIf",e.totalRecords>120)}}function jn(e,t){if(1&e&&(m.Yb(0),m.ac(1,"div",52),m.Tc(2,Fn,9,6,"div",53),m.nc(3,"paginate"),m.Zb(),m.Tc(4,zn,8,8,"select",31),m.Xb()),2&e){const e=m.mc();m.Hb(2),m.tc("ngForOf",m.pc(3,2,e.model,e.pagerConfig)),m.Hb(2),m.tc("ngIf",e.totalRecords>10)}}function $n(e,t){if(1&e){const e=m.bc();m.ac(0,"div",62),m.ac(1,"div",55),m.ac(2,"a",63),m.ac(3,"div",64),m.ac(4,"img",35),m.ic("error",(function(t){return m.Mc(e),m.mc(2)._commonService.onImageError(t,"assets/images/default.png")})),m.Zb(),m.Zb(),m.ac(5,"div",58),m.ac(6,"h2",65),m.Vc(7),m.Zb(),m.Wb(8,"pre",39),m.Zb(),m.Zb(),m.Zb(),m.Zb()}if(2&e){const e=t.$implicit,n=m.mc(2);m.Hb(2),m.vc("href","pages/district-detail/",null==e?null:e.Id,"",m.Pc),m.Hb(2),m.uc("src",null==e?null:e.ImagePath,m.Pc),m.uc("title","en"==n.translate.currentLang?e.AchievementHindi:e.SubjectHindi),m.uc("alt","en"==n.translate.currentLang?e.AchievementHindi:e.SubjectHindi),m.Hb(3),m.Xc(" ","en"==n.translate.currentLang?e.AchievementHindi:e.SubjectHindi?e.SubjectHindi:e.AchievementHindi," "),m.Hb(1),m.tc("innerHTML","hi"==n.translate.currentLang?e.DescriptionHindi:e.Description,m.Nc)}}function Yn(e,t){1&e&&(m.ac(0,"option",48),m.Vc(1,"10"),m.Zb())}function qn(e,t){1&e&&(m.ac(0,"option",49),m.Vc(1,"30"),m.Zb())}function Jn(e,t){1&e&&(m.ac(0,"option",50),m.Vc(1,"60"),m.Zb())}function Kn(e,t){1&e&&(m.ac(0,"option",51),m.Vc(1,"120"),m.Zb())}function Qn(e,t){if(1&e){const e=m.bc();m.ac(0,"select",43),m.ic("change",(function(t){return m.Mc(e),m.mc(2).ChangePageSize(t.target.value)})),m.ac(1,"option",28),m.Vc(2),m.nc(3,"translate"),m.Zb(),m.Tc(4,Yn,2,0,"option",44),m.Tc(5,qn,2,0,"option",45),m.Tc(6,Jn,2,0,"option",46),m.Tc(7,Kn,2,0,"option",47),m.Zb()}if(2&e){const e=m.mc(2);m.Hb(1),m.uc("value",e.totalRecords),m.Hb(1),m.Xc(" ",m.oc(3,6,"All_txt")," "),m.Hb(2),m.tc("ngIf",e.totalRecords>10),m.Hb(1),m.tc("ngIf",e.totalRecords>30),m.Hb(1),m.tc("ngIf",e.totalRecords>60),m.Hb(1),m.tc("ngIf",e.totalRecords>120)}}function ei(e,t){if(1&e&&(m.Yb(0),m.ac(1,"div",52),m.Tc(2,$n,9,6,"div",61),m.nc(3,"paginate"),m.Zb(),m.Tc(4,Qn,8,8,"select",31),m.Xb()),2&e){const e=m.mc();m.Hb(2),m.tc("ngForOf",m.pc(3,2,e.model,e.pagerConfig)),m.Hb(2),m.tc("ngIf",e.totalRecords>10)}}function ti(e,t){if(1&e){const e=m.bc();m.ac(0,"div",67),m.ac(1,"div",68),m.ac(2,"div",69),m.ac(3,"a",63),m.ac(4,"img",70),m.ic("error",(function(t){return m.Mc(e),m.mc(2)._commonService.onImageError(t,"assets/images/default.png")})),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.ac(5,"div",71),m.ac(6,"div",72),m.ac(7,"h2",73),m.Vc(8),m.Zb(),m.ac(9,"p",74),m.ac(10,"span"),m.Vc(11),m.Zb(),m.Vc(12," > "),m.ac(13,"span"),m.Vc(14),m.Zb(),m.Zb(),m.ac(15,"div",10),m.ac(16,"div",75),m.ac(17,"p"),m.Wb(18,"i",76),m.ac(19,"strong"),m.Vc(20,"Address : "),m.Zb(),m.ac(21,"a",77),m.Vc(22),m.Zb(),m.Zb(),m.Zb(),m.ac(23,"div",75),m.ac(24,"p"),m.Wb(25,"i",78),m.ac(26,"strong"),m.Vc(27,"Email : "),m.Zb(),m.Vc(28),m.Zb(),m.Zb(),m.ac(29,"div",75),m.ac(30,"p"),m.Wb(31,"i",79),m.ac(32,"strong"),m.Vc(33,"Pincode : "),m.Zb(),m.Vc(34),m.Zb(),m.Zb(),m.ac(35,"div",75),m.ac(36,"p"),m.Wb(37,"i",80),m.ac(38,"strong"),m.Vc(39,"Phone : "),m.Zb(),m.Vc(40),m.Zb(),m.Zb(),m.ac(41,"div",11),m.ac(42,"p"),m.Wb(43,"i",81),m.ac(44,"strong"),m.Vc(45,"Website : "),m.Zb(),m.ac(46,"a",77),m.Vc(47),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.Zb()}if(2&e){const e=t.$implicit,n=m.mc(2);m.Hb(3),m.vc("href","pages/district-detail/",null==e?null:e.Id,"",m.Pc),m.Hb(1),m.uc("src",null==e?null:e.ImagePath,m.Pc),m.uc("title","en"==n.translate.currentLang?e.AchievementHindi:e.SubjectHindi),m.uc("alt","en"==n.translate.currentLang?e.AchievementHindi:e.SubjectHindi),m.Hb(4),m.Wc("en"==n.translate.currentLang?e.AchievementHindi:e.SubjectHindi?e.SubjectHindi:e.AchievementHindi),m.Hb(3),m.Wc("en"==n.translate.currentLang?"Category":"\u0936\u094d\u0930\u0947\u0923\u0940"),m.Hb(3),m.Wc("en"==n.translate.currentLang?e.AchievementSubCategory:e.AchievementSubCategoryHindi),m.Hb(7),m.tc("href",e.GoogleMapUrl,m.Pc),m.Hb(1),m.Xc(" ","en"==n.translate.currentLang?e.Address_English:e.Address_Hindi," "),m.Hb(6),m.Xc(" ",e.Email," "),m.Hb(6),m.Xc(" ",e.PinCode," "),m.Hb(6),m.Xc(" ",e.Phone," "),m.Hb(6),m.tc("href",n.getSafeUrl(e.Url),m.Pc),m.Hb(1),m.Xc(" ",e.Url," ")}}function ni(e,t){1&e&&(m.ac(0,"option",48),m.Vc(1,"10"),m.Zb())}function ii(e,t){1&e&&(m.ac(0,"option",49),m.Vc(1,"30"),m.Zb())}function ai(e,t){1&e&&(m.ac(0,"option",50),m.Vc(1,"60"),m.Zb())}function ci(e,t){1&e&&(m.ac(0,"option",51),m.Vc(1,"120"),m.Zb())}function oi(e,t){if(1&e){const e=m.bc();m.ac(0,"select",43),m.ic("change",(function(t){return m.Mc(e),m.mc(2).ChangePageSize(t.target.value)})),m.ac(1,"option",28),m.Vc(2),m.nc(3,"translate"),m.Zb(),m.Tc(4,ni,2,0,"option",44),m.Tc(5,ii,2,0,"option",45),m.Tc(6,ai,2,0,"option",46),m.Tc(7,ci,2,0,"option",47),m.Zb()}if(2&e){const e=m.mc(2);m.Hb(1),m.uc("value",e.totalRecords),m.Hb(1),m.Xc(" ",m.oc(3,6,"All_txt")," "),m.Hb(2),m.tc("ngIf",e.totalRecords>10),m.Hb(1),m.tc("ngIf",e.totalRecords>30),m.Hb(1),m.tc("ngIf",e.totalRecords>60),m.Hb(1),m.tc("ngIf",e.totalRecords>120)}}function li(e,t){if(1&e&&(m.Yb(0),m.Tc(1,ti,48,14,"div",66),m.nc(2,"paginate"),m.Tc(3,oi,8,8,"select",31),m.Xb()),2&e){const e=m.mc();m.Hb(1),m.tc("ngForOf",m.pc(2,2,e.model,e.pagerConfig)),m.Hb(2),m.tc("ngIf",e.totalRecords>10)}}function ri(e,t){if(1&e&&(m.ac(0,"div",9),m.ac(1,"div",10),m.ac(2,"div",11),m.ac(3,"div",40),m.ac(4,"a",41),m.Wb(5,"i",42),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.Zb()),2&e){const e=m.mc().$implicit;m.Hb(4),m.uc("href",null==e?null:e.PdfFIleName,m.Pc)}}function si(e,t){if(1&e){const e=m.bc();m.ac(0,"img",85),m.ic("error",(function(t){return m.Mc(e),m.mc(3)._commonService.onImageError(t,"assets/images/departmental_galley.png")})),m.Zb()}if(2&e){const e=m.mc().$implicit,t=m.mc(2);m.uc("src",null==e?null:e.ImagePath,m.Pc),m.uc("title","en"==t.translate.currentLang?e.AchievementHindi:e.SubjectHindi),m.uc("alt","en"==t.translate.currentLang?e.AchievementHindi:e.SubjectHindi)}}function di(e,t){if(1&e){const e=m.bc();m.Yb(0),m.ac(1,"div",83),m.ac(2,"h2",84),m.ac(3,"img",85),m.ic("error",(function(t){return m.Mc(e),m.mc(2)._commonService.onImageError(t,"assets/images/departmental_galley.png")})),m.Zb(),m.Vc(4),m.Zb(),m.Tc(5,ri,6,1,"div",86),m.Wb(6,"br"),m.Wb(7,"pre",39),m.Tc(8,si,1,3,"img",87),m.Zb(),m.Xb()}if(2&e){const e=t.$implicit,n=m.mc(2);m.Hb(3),m.uc("src",null==e?null:e.AchievementSubCategoryImagePath,m.Pc),m.uc("title","en"==n.translate.currentLang?e.AchievementHindi:e.SubjectHindi),m.uc("alt","en"==n.translate.currentLang?e.AchievementHindi:e.SubjectHindi),m.Hb(1),m.Xc(" ","en"==n.translate.currentLang?e.AchievementHindi:e.SubjectHindi?e.SubjectHindi:e.AchievementHindi," "),m.Hb(1),m.tc("ngIf",null==e?null:e.PdfFIleName),m.Hb(2),m.tc("innerHTML","hi"==n.translate.currentLang?e.EditorDetail:e.EditorDetailEnglish,m.Nc),m.Hb(1),m.tc("ngIf",null==e?null:e.ImagePath)}}function mi(e,t){1&e&&(m.ac(0,"option",48),m.Vc(1,"10"),m.Zb())}function ui(e,t){1&e&&(m.ac(0,"option",49),m.Vc(1,"30"),m.Zb())}function bi(e,t){1&e&&(m.ac(0,"option",50),m.Vc(1,"60"),m.Zb())}function gi(e,t){1&e&&(m.ac(0,"option",51),m.Vc(1,"120"),m.Zb())}function hi(e,t){if(1&e){const e=m.bc();m.ac(0,"select",43),m.ic("change",(function(t){return m.Mc(e),m.mc(2).ChangePageSize(t.target.value)})),m.ac(1,"option",28),m.Vc(2),m.nc(3,"translate"),m.Zb(),m.Tc(4,mi,2,0,"option",44),m.Tc(5,ui,2,0,"option",45),m.Tc(6,bi,2,0,"option",46),m.Tc(7,gi,2,0,"option",47),m.Zb()}if(2&e){const e=m.mc(2);m.Hb(1),m.uc("value",e.totalRecords),m.Hb(1),m.Xc(" ",m.oc(3,6,"All_txt")," "),m.Hb(2),m.tc("ngIf",e.totalRecords>10),m.Hb(1),m.tc("ngIf",e.totalRecords>30),m.Hb(1),m.tc("ngIf",e.totalRecords>60),m.Hb(1),m.tc("ngIf",e.totalRecords>120)}}function pi(e,t){if(1&e&&(m.Yb(0),m.Tc(1,di,9,7,"ng-container",82),m.nc(2,"paginate"),m.Tc(3,hi,8,8,"select",31),m.Xb()),2&e){const e=m.mc();m.Hb(1),m.tc("ngForOf",m.pc(2,2,e.model,e.pagerConfig)),m.Hb(2),m.tc("ngIf",e.totalRecords>10)}}let fi=(()=>{class e{constructor(e,t,n,i,a,c,r,d,m){this.achievementAwardService=e,this._dptDistrictWebsiteService=t,this.translate=n,this.sanitizer=i,this.route=a,this._app=c,this._route=r,this._commonService=d,this._departmentService=m,this.totalRecords=0,this.achievementEnum=o.a,this.indexModel=new l.b,this.submenuCode=0,this.dDLList=new s.b,this.pagerConfig={id:"data-paging",itemsPerPage:this.indexModel.IndexModel.PageSize,currentPage:this.indexModel.IndexModel.Page,totalItems:this.totalRecords},this._route.paramMap.subscribe(e=>{this.indexModel.IndexModel.PageSize=10,this.indexModel.IndexModel.OrderBy="Priority",this.indexModel.IndexModel.OrderByAsc=1,this.pageTitle=void 0;let t=e.get("dptCode");t?(this.indexModel.DepartmentCode=Number(t),localStorage.setItem("websiteCode",t)):localStorage.getItem("websiteCode")&&(this.indexModel.DepartmentCode=Number(localStorage.getItem("websiteCode"))),this.catCode=Number(e.get("catCode")),this.submenuCode=Number(e.get("submenuCode")||0),this.indexModel.CategoryCode=e.get("catCode"),131==this.catCode?this.GetGeneralSubCategory(131):this.dDLList.ddlAchievementSubCategory=[],this.getData(),this.getPageHeading()})}getPageHeading(){this.submenuCode>0?this.getSubmenuDetail():this.catCode>0&&this.getCategoryDetail()}getSubmenuDetail(){this._dptDistrictWebsiteService.GetSubmenuDetail(this.submenuCode).subscribe(e=>{if(e.IsSuccess){let t=e.Data;t&&(this.pageTitle=new s.f,this.pageTitle.NameEnglish=t.DisplayNameEnglish,this.pageTitle.NameHindi=t.DisplayNameHindi,this.pageTitle.ImagePath=t.IconImage,this._commonService.SetWebTitle("hi"==this.translate.currentLang?this.pageTitle.NameHindi:this.pageTitle.NameEnglish))}})}ngOnInit(){let e=localStorage.getItem("websiteCode");this.GetDepartmentMenuList(JSON.parse(e))}getData(){this.model=void 0,this.achievementAwardService.GetAchievementListBySearchFilterData(this.indexModel,!0).subscribe(e=>{e.IsSuccess?(this.model=e.Data.Data,this.indexModel.IndexModel.IsPostBack||(this.totalRecords=e.Data.TotalRecords),this.UpdatePageConfig()):this.model=[]},e=>{this.model=[]})}reset(){this.indexModel.SubCategoryCode=0,this.getData()}getSafeUrl(e){return this.sanitizer.bypassSecurityTrustUrl(e)}getCategoryDetail(){this.achievementAwardService.GetAcievementCatDetail(this.catCode).subscribe(e=>{if(e.IsSuccess){let t=e.Data;t&&(this.pageTitle=new s.f,this.pageTitle.NameEnglish=t.SubMenuNameEnglish,this.pageTitle.NameHindi=t.SubMenuNameHindi,this._commonService.SetWebTitle("hi"==this.translate.currentLang?t.SubMenuNameHindi:t.SubMenuNameEnglish))}},e=>{console.error(e)})}NextPageRecord(e){window.scroll(0,0),this.indexModel.IndexModel.IsPostBack=!0,this.indexModel.IndexModel.Page=e,this.getData()}ChangePageSize(e){window.scroll(0,0),this.indexModel.IndexModel.IsPostBack=!0,this.indexModel.IndexModel.PageSize=Number(e),this.indexModel.IndexModel.Page=1,this.getData()}UpdatePageConfig(){this.pagerConfig.itemsPerPage=this.indexModel.IndexModel.PageSize,this.pagerConfig.currentPage=this.indexModel.IndexModel.Page,this.pagerConfig.totalItems=this.totalRecords}GetDepartmentMenuList(e){this._departmentService.GetDepartmentMenuList(e).subscribe(e=>{if(e.IsSuccess){let t=e.Data;t&&this._departmentService.setDeptMenuList(t)}},e=>{console.error(e)})}GetGeneralSubCategory(e){this.indexModel.CategoryCode?this._departmentService.GetGeneralSubCategory(e).subscribe(e=>{e.IsSuccess&&(this.dDLList.ddlAchievementSubCategory=e.Data)}):this.dDLList.ddlAchievementSubCategory=[]}}return e.\u0275fac=function(t){return new(t||e)(m.Vb(u.a),m.Vb(p.a),m.Vb(c.d),m.Vb(b.b),m.Vb(h.b),m.Vb(Qe.a),m.Vb(h.a),m.Vb(g.a),m.Vb(In.a))},e.\u0275cmp=m.Pb({type:e,selectors:[["app-ddw-dictrict-info-detail"]],decls:29,vars:25,consts:[["aria-label","breadcrumb",1,"breadcrumb_nav"],[1,"breadcrumb"],[1,"breadcrumb-item"],[3,"routerLink"],["aria-current","page",1,"breadcrumb-item","active"],[4,"ngIf"],[1,"order_page"],["class","orders_filter",4,"ngIf"],[1,"gallery","pt-5"],[1,"container"],[1,"row"],[1,"col-lg-12"],[1,"title","text-center"],[1,"img-fluid","mr-10",3,"src","title","alt","error"],[3,"showImage",4,"ngIf"],["id","data-paging","autoHide","true",1,"w-100","text-center","mt-4",3,"previousLabel","nextLabel","pageChange"],[1,"orders_filter"],[1,"container-fluid"],[1,"row","justify-content-center"],[1,"col","l3","xl3","m3","s12"],["name","SubCategoryCode",1,"form-control",3,"ngModel","ngModelChange"],["value","0"],[3,"value",4,"ngFor","ngForOf"],[1,"col-lg-2","col-sm-6","col-12"],[1,"btn","btn-success","filter-btn","d-block","w-100",2,"border","none",3,"click"],[1,"fas","fa-search","mr-2"],[1,"btn","btn-danger","filter-btn","d-block","w-100",2,"border","none",3,"click"],[1,"fas","fa-redo-alt","mr-2"],[3,"value"],[3,"showImage"],["class","row mb-5 align-items-center custom-slider-1 w-100",4,"ngFor","ngForOf"],["name","example_length","aria-controls","example","class","form-control-sm","style","width: 70px",3,"change",4,"ngIf"],[1,"row","mb-5","align-items-center","custom-slider-1","w-100"],[1,"col-lg-5","p-0"],[1,"festival-img","d-flex","align-items-center","justify-content-center","img-box"],[3,"src","title","alt","error"],[1,"col-lg-7","mt-4","mt-lg-0","festival-details","px-4","py-3"],[1,"text-color-theme-blue","font-size-5x","mb-3"],["class","col-lg-12",4,"ngIf"],[3,"innerHTML"],[1,"page-file-download"],["target","_blank",1,"page-file-download-btn",3,"href"],[1,"fas","fa-file-pdf"],["name","example_length","aria-controls","example",1,"form-control-sm",2,"width","70px",3,"change"],["selected","","value","10",4,"ngIf"],["value","30",4,"ngIf"],["value","60",4,"ngIf"],["value","120",4,"ngIf"],["selected","","value","10"],["value","30"],["value","60"],["value","120"],[1,"row","m-0","w-100","h-100"],["class","col-lg-4 col-sm-6 mb-5",4,"ngFor","ngForOf"],[1,"col-lg-4","col-sm-6","mb-5"],[1,"card-2-design","box-box-shadow"],["class","right",4,"ngIf"],[1,"card-2-design-img","d-flex","align-items-center","justify-content-center","position-relative"],[1,"card-2-design-detail","p-3"],["href","#",1,"text-color-theme-blue","font-size-3x","mb-2","d-block"],[1,"right"],["class","col-lg-6 mb-4",4,"ngFor","ngForOf"],[1,"col-lg-6","mb-4"],[3,"href"],[1,"card-2-design-img","d-flex","align-items-center","justify-content-center"],[1,"text-color-theme-blue","font-size-4x","mb-2","place-visit-title"],["class","row w-100 titi-part-section",4,"ngFor","ngForOf"],[1,"row","w-100","titi-part-section"],[1,"col-lg-3","p-0"],[1,"image-container"],[1,"bg-image-part",3,"src","title","alt","error"],[1,"col-lg-9"],[1,"details","details-part4"],[1,"accomodationtitlecolor"],[1,"category","category-part3"],[1,"col-lg-6"],[1,"fas","fa-map-marker-alt","icon-part-section"],["target","_blank",3,"href"],[1,"fas","fa-envelope","envelope-part","icon-part-section"],[1,"fas","fa-thumbtack","pincode","icon-part-section"],[1,"fas","fa-phone","phone-call","icon-part-section"],[1,"fas","fa-globe","globe-part","icon-part-section"],[4,"ngFor","ngForOf"],[1,"mb-4","col-md-12"],[1,"text-color-theme-blue","font-size-4x","mb-3","d-flex","align-items-center","how-reach-img"],[1,"mr-10",3,"src","title","alt","error"],["class","container",4,"ngIf"],["class","mr-10",3,"src","title","alt","error",4,"ngIf"]],template:function(e,t){1&e&&(m.ac(0,"nav",0),m.ac(1,"ol",1),m.ac(2,"li",2),m.ac(3,"a",3),m.Vc(4),m.nc(5,"translate"),m.Zb(),m.Zb(),m.ac(6,"li",4),m.Tc(7,Zn,2,1,"span",5),m.Tc(8,Tn,2,1,"span",5),m.Zb(),m.Zb(),m.Zb(),m.ac(9,"section",6),m.Tc(10,xn,24,8,"div",7),m.ac(11,"section",8),m.ac(12,"div",9),m.ac(13,"div",10),m.ac(14,"div",11),m.ac(15,"h1",12),m.ac(16,"img",13),m.ic("error",(function(e){return t._commonService.onImageError(e,"assets/images/loader.gif")})),m.Zb(),m.Tc(17,Pn,2,1,"span",5),m.Tc(18,Sn,2,1,"span",5),m.Zb(),m.Zb(),m.Tc(19,_n,1,0,"app-mini-loader",5),m.Tc(20,wn,1,1,"app-no-records",14),m.Tc(21,En,4,5,"ng-container",5),m.Tc(22,jn,5,5,"ng-container",5),m.Tc(23,ei,5,5,"ng-container",5),m.Tc(24,li,4,5,"ng-container",5),m.Tc(25,pi,4,5,"ng-container",5),m.ac(26,"pagination-controls",15),m.ic("pageChange",(function(e){return t.NextPageRecord(e)})),m.nc(27,"translate"),m.nc(28,"translate"),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.Zb()),2&e&&(m.Hb(3),m.uc("routerLink",t._commonService.GetHomePageUrl()),m.Hb(1),m.Xc(" ",m.oc(5,19,"Home_txt")," "),m.Hb(3),m.tc("ngIf",t.pageTitle),m.Hb(1),m.tc("ngIf",!t.pageTitle),m.Hb(2),m.tc("ngIf",t.indexModel.CategoryCode==t.achievementEnum.DAccomodationCode),m.Hb(6),m.uc("src",(null==t.pageTitle?null:t.pageTitle.ImagePath)||"assets/images/icon-district-tab-2.png",m.Pc),m.uc("title",t.pageTitle?"hi"!=t.translate.currentLang?null==t.pageTitle?null:t.pageTitle.NameEnglish:null==t.pageTitle?null:t.pageTitle.NameHindi:" "),m.uc("alt",t.pageTitle?"hi"!=t.translate.currentLang?null==t.pageTitle?null:t.pageTitle.NameEnglish:null==t.pageTitle?null:t.pageTitle.NameHindi:" "),m.Hb(1),m.tc("ngIf",t.pageTitle),m.Hb(1),m.tc("ngIf",!t.pageTitle),m.Hb(1),m.tc("ngIf",!t.model),m.Hb(1),m.tc("ngIf",t.model&&0==t.model.length),m.Hb(1),m.tc("ngIf",t.indexModel.CategoryCode==t.achievementEnum.DFestivalsCode||t.indexModel.CategoryCode==t.achievementEnum.DistrictSmartCityCode||t.indexModel.CategoryCode==t.achievementEnum.DistrictAwardsCode),m.Hb(1),m.tc("ngIf",t.indexModel.CategoryCode==t.achievementEnum.DArtCultureLifestyleCode||t.indexModel.CategoryCode==t.achievementEnum.DSupportingInstitutionsCode),m.Hb(1),m.tc("ngIf",t.indexModel.CategoryCode==t.achievementEnum.DTouristPlacesCode||t.indexModel.CategoryCode==t.achievementEnum.DWildlifeCode||t.indexModel.CategoryCode==t.achievementEnum.DLocalProduceCode||t.indexModel.CategoryCode==t.achievementEnum.DCulinaryDelightsCode||t.indexModel.CategoryCode==t.achievementEnum.DProductsMadeByNomadicCastes_GroupsCode||t.indexModel.CategoryCode==t.achievementEnum.DProductsMadeByWomenSelf_HelpGroupsCode),m.Hb(1),m.tc("ngIf",t.indexModel.CategoryCode==t.achievementEnum.DAccomodationCode),m.Hb(1),m.tc("ngIf",t.indexModel.CategoryCode==t.achievementEnum.DHowtoReachCode),m.Hb(1),m.uc("previousLabel",m.oc(27,21,"Previous_txt")),m.uc("nextLabel",m.oc(28,23,"Next_txt")))},directives:[h.d,i.n,f.c,a.u,a.m,a.p,a.q,a.w,i.m,v.a,C.a],pipes:[c.c,f.b],styles:["select.form-control-sm[_ngcontent-%COMP%]{top:0!important}pre[_ngcontent-%COMP%]{text-align:justify}.accommodation-card[_ngcontent-%COMP%]{display:-webkit-box;display:flex;border:1px solid #ddd;border-radius:10px;overflow:hidden;box-shadow:2px 2px 10px rgba(0,0,0,.1);max-width:900px;margin:auto;background:#fff}.image-container[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:300px;height:auto;-o-object-fit:cover;object-fit:cover}.details[_ngcontent-%COMP%]{padding:20px;-webkit-box-flex:1;flex:1}h2[_ngcontent-%COMP%]{margin-top:0;color:#fff}.accomodationtitlecolor[_ngcontent-%COMP%]{color:#000}.category[_ngcontent-%COMP%]{font-size:14px;color:#666;margin-bottom:15px}.info[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:5px 0;font-size:14px}.icon[_ngcontent-%COMP%]{margin-right:5px}a[_ngcontent-%COMP%]{color:#333}a[_ngcontent-%COMP%], a[_ngcontent-%COMP%]:hover{text-decoration:none}a[_ngcontent-%COMP%]:hover{color:#007bff}.bg-image-part[_ngcontent-%COMP%]{width:100%!important;border-radius:8px}.titi-part-section[_ngcontent-%COMP%]{border:1px solid #dedede;padding:10px;border-radius:10px}.details-part4[_ngcontent-%COMP%]{padding:0}.category-part3[_ngcontent-%COMP%]{font-weight:600;margin:18px 0;font-size:1em;background:#eee;padding:7px;border:1px solid #ddd}.category-part3[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#000}.main-part-section[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-pack:stretch;justify-content:stretch}.icon-part-section[_ngcontent-%COMP%]{width:25px;height:25px;line-height:25px;font-size:inherit;margin-right:8px;background:#f52d2d;color:#fff;border-radius:50%;text-align:center}.envelope-part[_ngcontent-%COMP%]{background:#05af39}.pincode[_ngcontent-%COMP%]{background:#f9a408}.phone-call[_ngcontent-%COMP%]{background:#5d5d5d}.globe-part[_ngcontent-%COMP%]{background:#007bff}"]}),e})();var vi=n("9h9k"),Ci=n("MZWM"),Hi=n("56/0");function Di(e,t){1&e&&(m.ac(0,"li",13),m.Vc(1),m.nc(2,"translate"),m.Zb()),2&e&&(m.Hb(1),m.Xc(" ",m.oc(2,1,"AboutTitle_txt")," "))}function Mi(e,t){if(1&e){const e=m.bc();m.ac(0,"h1",14),m.ac(1,"img",15),m.ic("error",(function(t){return m.Mc(e),m.mc().commonService.onImageError(t,"assets/images/loader.gif")})),m.nc(2,"translate"),m.nc(3,"translate"),m.Zb(),m.Vc(4),m.nc(5,"translate"),m.Zb()}2&e&&(m.Hb(1),m.uc("title",m.oc(2,3,"AboutTitle_txt")),m.uc("alt",m.oc(3,5,"AboutTitle_txt")),m.Hb(3),m.Xc(" ",m.oc(5,7,"AboutTitle_txt")," "))}function Ii(e,t){if(1&e&&(m.ac(0,"section",16),m.ac(1,"div",17),m.ac(2,"div",18),m.ac(3,"div",19),m.ac(4,"div",20),m.Wb(5,"p",21),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.Zb()),2&e){const e=m.mc();m.Hb(5),m.tc("innerHTML","hi"==e.translate.currentLang&&null!=e.dataModel&&e.dataModel.DetailsInHindi?null==e.dataModel?null:e.dataModel.DetailsInHindi:null==e.dataModel?null:e.dataModel.Details,m.Nc)}}function Zi(e,t){1&e&&m.Wb(0,"app-mini-loader")}function Ti(e,t){1&e&&m.Wb(0,"app-no-records",22),2&e&&m.tc("showImage",!0)}let yi=(()=>{class e{constructor(e,t,n,i,a,c){this.departmentProfile=e,this.translate=t,this.sanitizer=n,this._route=i,this._titleService=a,this.commonService=c,this.departmentCode=0,this.departmentProfileFilterModel=new Ci.c,this.jankalyanEntryTypeEnum=vi.d,this._route.paramMap.subscribe(e=>{if(e.get("dptCode")){let t=e.get("dptCode");localStorage.getItem("websiteCode")?this.departmentCode=Number(localStorage.getItem("websiteCode")):t&&(this.departmentCode=Number(t),localStorage.setItem("websiteCode",t)),this.pageType="about",this.commonService.SetWebTitle("hi"==this.translate.currentLang?"\u092c\u093e\u0930\u0947 \u092e\u0947\u0902":"About Us"),this.getDepartmentProfileListData()}})}ngOnInit(){}getDepartmentProfileListData(){this.dataModel=void 0,this.departmentProfileFilterModel.DepartmentCode=this.departmentCode,this.departmentProfileFilterModel.EntryTypeCode=Number(this.jankalyanEntryTypeEnum.AboutCode),this.departmentProfileFilterModel.IndexModel.PageSize=1,this.departmentProfile.GetList(this.departmentProfileFilterModel).subscribe(e=>{var t,n;if(e.IsSuccess)if(this.departmentProfileModel=null===(n=null===(t=e)||void 0===t?void 0:t.Data)||void 0===n?void 0:n.Data,this.departmentProfileModel&&this.departmentProfileModel.length>1)for(let i in this.departmentProfileModel)this.departmentProfileModel[i].Details=this.sanitizer.bypassSecurityTrustHtml(this.departmentProfileModel[i].Details);else this.departmentProfileModel&&1==this.departmentProfileModel.length?(this.dataModel=this.departmentProfileModel[0],this.dataModel.Details=this.sanitizer.bypassSecurityTrustHtml(this.departmentProfileModel[0].Details)):this.dataModel={};else this.dataModel={}},e=>{this.dataModel={},console.error(e.message)})}onDownload(e){e&&open("'url'","_blank").document.write('')}}return e.\u0275fac=function(t){return new(t||e)(m.Vb(Hi.a),m.Vb(c.d),m.Vb(b.b),m.Vb(h.a),m.Vb(b.d),m.Vb(g.a))},e.\u0275cmp=m.Pb({type:e,selectors:[["app-ddw-district-information"]],decls:16,vars:11,consts:[["id","sticky-anchor"],["aria-label","breadcrumb",1,"breadcrumb_nav"],[1,"container","p-0"],[1,"breadcrumb"],[1,"breadcrumb-item"],[3,"routerLink"],[3,"ngSwitch"],["class","breadcrumb-item active","aria-current","page",4,"ngSwitchCase"],[1,"col-lg-12","mt-5"],["class","title text-center mb-1",4,"ngSwitchCase"],["class","inner-page page-about page-editor-entry-design",4,"ngIf"],[4,"ngIf"],[3,"showImage",4,"ngIf"],["aria-current","page",1,"breadcrumb-item","active"],[1,"title","text-center","mb-1"],["src","assets/images/icon-district-tab-1.png",1,"img-fluid",3,"title","alt","error"],[1,"inner-page","page-about","page-editor-entry-design"],[1,"container"],[1,"row"],[1,"col-lg-12"],[1,"about-yajona-text"],[2,"text-align","justify !important",3,"innerHTML"],[3,"showImage"]],template:function(e,t){1&e&&(m.Wb(0,"div",0),m.ac(1,"nav",1),m.ac(2,"div",2),m.ac(3,"ol",3),m.ac(4,"li",4),m.ac(5,"a",5),m.Vc(6),m.nc(7,"translate"),m.Zb(),m.Zb(),m.Yb(8,6),m.Tc(9,Di,3,3,"li",7),m.Xb(),m.Zb(),m.Zb(),m.Zb(),m.Yb(10,6),m.ac(11,"div",8),m.Tc(12,Mi,6,9,"h1",9),m.Zb(),m.Xb(),m.Tc(13,Ii,6,1,"section",10),m.Tc(14,Zi,1,0,"app-mini-loader",11),m.Tc(15,Ti,1,1,"app-no-records",12)),2&e&&(m.Hb(5),m.uc("routerLink",t.commonService.GetHomePageUrl()),m.Hb(1),m.Wc(m.oc(7,9,"Home_txt")),m.Hb(2),m.tc("ngSwitch",t.pageType),m.Hb(1),m.tc("ngSwitchCase","about"),m.Hb(1),m.tc("ngSwitch",t.pageType),m.Hb(2),m.tc("ngSwitchCase","about"),m.Hb(1),m.tc("ngIf",t.dataModel),m.Hb(1),m.tc("ngIf",!t.dataModel),m.Hb(1),m.tc("ngIf",t.dataModel&&0==t.commonService.GetObjectLength(t.dataModel)))},directives:[h.d,i.p,i.q,i.n,v.a,C.a],pipes:[c.c],styles:[""]}),e})();var xi=n("RVz6"),Pi=n("K2V9");function Si(e,t){if(1&e){const e=m.bc();m.Yb(0),m.ac(1,"div",9),m.ac(2,"a",10),m.ac(3,"div",11),m.Vc(4),m.Zb(),m.ac(5,"div",12),m.ac(6,"img",13),m.ic("error",(function(t){return m.Mc(e),m.mc(3)._commonService.onImageError(t,"assets/images/scheme_logo.png")})),m.Zb(),m.Zb(),m.ac(7,"div",14),m.Vc(8),m.Wb(9,"i",15),m.Zb(),m.Zb(),m.Zb(),m.Xb()}if(2&e){const e=t.$implicit,n=m.mc(3);m.Hb(2),m.vc("routerLink","/scheme/detail/",e.Id,""),m.Hb(2),m.Xc(" ","hi"==n.translate.currentLang?e.DepartmentTitleHindi:e.DepartmentTitle," "),m.Hb(2),m.uc("src",e.Logo,m.Pc),m.uc("alt","hi"==n.translate.currentLang?e.NameHindi:e.NameEnglish),m.uc("title","hi"==n.translate.currentLang?e.NameHindi:e.NameEnglish),m.Hb(2),m.Xc(" ","hi"==n.translate.currentLang?e.NameHindi:e.NameEnglish," ")}}function _i(e,t){if(1&e&&(m.ac(0,"div",7),m.Tc(1,Si,10,6,"ng-container",8),m.nc(2,"paginate"),m.Zb()),2&e){const e=m.mc(2);m.Hb(1),m.tc("ngForOf",m.pc(2,1,e.schemeModel,e.schemePagerConfig))}}function wi(e,t){if(1&e&&(m.ac(0,"section"),m.ac(1,"div",1),m.ac(2,"div",2),m.ac(3,"div",3),m.ac(4,"div",4),m.Vc(5),m.nc(6,"translate"),m.Zb(),m.ac(7,"a",5),m.Vc(8),m.nc(9,"translate"),m.Zb(),m.Zb(),m.Zb(),m.Tc(10,_i,3,4,"div",6),m.Zb(),m.Zb()),2&e){const e=m.mc();m.Lb("home-schemes schemes py-1 py-md-5 ",e.BackGroundClass,""),m.Hb(5),m.Xc(" ",m.oc(6,6,"Schemes_txt"),""),m.Hb(3),m.Xc(" ",m.oc(9,8,"ViewAll_txt"),""),m.Hb(2),m.tc("ngIf",e.schemeRecordsExist)}}let Li=(()=>{class e{constructor(e,t,n){this.translate=e,this._commonService=t,this.schemeService=n,this.DepartmentCode=0,this.AdmDepartmentCode=0,this.IsDistrictDepartmentCode=!1,this.onShowData=new m.q,this.schemeFilterModel=new s.g,this.schemeTotalRecords=0,this.schemeRecordsExist=!1,this.schemePagerConfig={id:"scheme-paging",itemsPerPage:this.schemeFilterModel.indexModel.PageSize,currentPage:this.schemeFilterModel.indexModel.Page,totalItems:this.schemeTotalRecords},this.schemeFilterModel.indexModel.PageSize=3}ngOnInit(){this.GetSchemeListData()}GetSchemeListData(){this.schemeFilterModel.AdmDepartmentCode=this.IsDistrictDepartmentCode?0:this.AdmDepartmentCode,this.schemeFilterModel.DepartmentCode=0,this.schemeFilterModel.indexModel=this.schemeFilterModel.indexModel,this.schemeFilterModel.indexModel.OrderBy="ItemOrder",this.schemeFilterModel.indexModel.OrderByAsc=1,this.schemeFilterModel.IsFlagShipScheme=1,this.schemeService.GetFilterSchemeData(this.schemeFilterModel).subscribe(e=>{var t,n,i,a;e.IsSuccess?(this.schemeModel=null===(n=null===(t=e)||void 0===t?void 0:t.Data)||void 0===n?void 0:n.Data,this.onShowData.emit(this.schemeModel.length>0),this.schemeFilterModel.indexModel.IsPostBack||(this.schemeTotalRecords=(null===(a=null===(i=e)||void 0===i?void 0:i.Data)||void 0===a?void 0:a.TotalRecords)||0),this.schemeRecordsExist=this.schemeModel.length>0,this.schemeUpdatePageConfig()):this.onShowData.emit(!1)},e=>{this.onShowData.emit(!1)})}schemeUpdatePageConfig(){window.scroll(0,0),this.schemePagerConfig.itemsPerPage=this.schemeFilterModel.indexModel.PageSize,this.schemePagerConfig.currentPage=this.schemeFilterModel.indexModel.Page,this.schemePagerConfig.totalItems=this.schemeTotalRecords}}return e.\u0275fac=function(t){return new(t||e)(m.Vb(c.d),m.Vb(g.a),m.Vb(Pi.a))},e.\u0275cmp=m.Pb({type:e,selectors:[["app-ddw-flag-ship-section"]],inputs:{DepartmentCode:"DepartmentCode",AdmDepartmentCode:"AdmDepartmentCode",IsDistrictDepartmentCode:"IsDistrictDepartmentCode",BackGroundClass:"BackGroundClass"},outputs:{onShowData:"onShowData"},decls:1,vars:1,consts:[[3,"class",4,"ngIf"],[1,"container"],[1,"row"],[1,"col-lg-12","d-md-flex","align-items-center","justify-content-between","mb-5"],[1,"section-title","text-center","m-auto"],["href","https://jankalyan.rajasthan.gov.in/#/flagshipscheme","target","_blank",1,"btn","btn-round","btn-theme","btn-yellow"],["class","w-100 row justify-content-center m-0",4,"ngIf"],[1,"w-100","row","justify-content-center","m-0"],[4,"ngFor","ngForOf"],[1,"col-md-4","mb-3","mb-md-0"],[1,"scheme_bx","d-block",3,"routerLink"],[1,"scheme_titile"],[1,"scheme-img","d-flex","align-items-center","justify-content-center"],[1,"img-fluid",3,"src","alt","title","error"],[1,"seheme_name"],[1,"fa","fa-chevron-right"]],template:function(e,t){1&e&&m.Tc(0,wi,11,10,"section",0),2&e&&m.tc("ngIf",(null==t.schemeModel?null:t.schemeModel.length)>0)},directives:[i.n,i.m,h.d],pipes:[c.c,f.b],styles:[""]}),e})();function Vi(e,t){if(1&e&&(m.ac(0,"a",7),m.Vc(1),m.nc(2,"translate"),m.Zb()),2&e){const e=m.mc();m.vc("routerLink","/pages/assembly-constituency/",e.DepartmentCode,""),m.Hb(1),m.Xc(" ",m.oc(2,2,"ViewAll_txt")," ")}}function ki(e,t){if(1&e&&(m.ac(0,"a",19),m.Wb(1,"i",20),m.Vc(2),m.Zb()),2&e){const e=m.mc().$implicit;m.vc("href","mailto:",null==e?null:e.Email,"",m.Pc),m.Hb(2),m.Xc(" ",null==e?null:e.Email," ")}}function Ni(e,t){if(1&e&&(m.ac(0,"a",21),m.Wb(1,"i",22),m.Vc(2),m.Zb()),2&e){const e=m.mc().$implicit;m.vc("href","tel:",null==e?null:e.whatsappNumber,"",m.Pc),m.Hb(2),m.Xc(" ",null==e?null:e.whatsappNumber,"")}}function Oi(e,t){if(1&e){const e=m.bc();m.ac(0,"div",8),m.ac(1,"a",9),m.ac(2,"div",10),m.ac(3,"img",11),m.ic("error",(function(t){return m.Mc(e),m.mc()._commonService.onImageError(t,"assets/images/user-default.jpg")})),m.Zb(),m.Zb(),m.ac(4,"div",12),m.ac(5,"h5",13),m.Vc(6),m.Zb(),m.ac(7,"div",14),m.Vc(8),m.Zb(),m.ac(9,"p",15),m.Vc(10),m.Zb(),m.ac(11,"div",16),m.Tc(12,ki,3,2,"a",17),m.Tc(13,Ni,3,2,"a",18),m.Zb(),m.Zb(),m.Zb(),m.Zb()}if(2&e){const e=t.$implicit,n=m.mc();m.Hb(1),m.wc("routerLink","/pages/mla-detail/",e.MLACode,"/",n.departmentCode,""),m.Hb(2),m.uc("alt","hi"==n.translate.currentLang?null==e?null:e.MLANameHindi:null==e?null:e.MLANameEng),m.uc("title","hi"==n.translate.currentLang?null==e?null:e.MLANameHindi:null==e?null:e.MLANameEng),m.tc("src",n.sanitizeImageUrl(null==e?null:e.MLAPhoto),m.Pc),m.Hb(1),m.wc("routerLink","/pages/mla-detail/",e.MLACode,"/",n.departmentCode,""),m.Hb(2),m.Xc(" ","hi"==n.translate.currentLang?null==e?null:e.MLANameHindi:null==e?null:e.MLANameEng," "),m.Hb(2),m.Xc(" ","hi"==n.translate.currentLang?null==e?null:e.DesignationDisplayNameHindi:null==e?null:e.DesignationDisplayName," "),m.Hb(2),m.Yc("","hi"==n.translate.currentLang?null==e?null:e.NameHindi:null==e?null:e.Name,", ","hi"==n.translate.currentLang?null==e?null:e.DistrictTitleHindi:null==e?null:e.DistrictTitle,""),m.Hb(2),m.tc("ngIf",null==e?null:e.Email),m.Hb(1),m.tc("ngIf",null==e?null:e.whatsappNumber)}}function Ai(e,t){1&e&&m.Wb(0,"app-mini-loader")}function Wi(e,t){1&e&&m.Wb(0,"app-no-records")}let Ei=(()=>{class e{constructor(e,t,n,i,a,c){var o,l,r;this._dptDistrictWebsiteService=e,this.translate=t,this.sanitizer=n,this._titleService=i,this.route=a,this._commonService=c,this.DepartmentCode=0,this.indexModel=new s.d,this.departmentCode=0,this.indexModel=new s.d,this.indexModel.PageSize=8;let d=null===(r=null===(l=null===(o=this.route)||void 0===o?void 0:o.snapshot)||void 0===l?void 0:l.params)||void 0===r?void 0:r.dptCode;this.DepartmentCode=c.GetWebDistDeptCode(d)}ngOnInit(){this.GetList()}GetList(){this.model=void 0,this.indexModel.OrderByAsc=1,this.indexModel.AdvanceSearchModel={DepartmentCode:this.DepartmentCode},this._dptDistrictWebsiteService.GetMLAConstituency(this.indexModel).subscribe(e=>{this.model=e.IsSuccess?e.Data.Data:[]},e=>{this.model=[]})}sanitizeImageUrl(e){return this.sanitizer.bypassSecurityTrustUrl(e)}}return e.\u0275fac=function(t){return new(t||e)(m.Vb(p.a),m.Vb(c.d),m.Vb(b.b),m.Vb(b.d),m.Vb(h.a),m.Vb(g.a))},e.\u0275cmp=m.Pb({type:e,selectors:[["app-ddw-assembly-constituncy"]],inputs:{DepartmentCode:"DepartmentCode",BackGroundClass:"BackGroundClass"},decls:11,vars:10,consts:[[1,"container"],[1,"row"],[1,"col-lg-12","d-md-flex","align-items-center","justify-content-between","mb-5"],[1,"section-title","text-center","m-auto"],["class","btn btn-round btn-theme btn-yellow",3,"routerLink",4,"ngIf"],["class","col-lg-3 col-md-6 col-sm-6 mb-4",4,"ngFor","ngForOf"],[4,"ngIf"],[1,"btn","btn-round","btn-theme","btn-yellow",3,"routerLink"],[1,"col-lg-3","col-md-6","col-sm-6","mb-4"],[1,"home-assembly-constituncy-items","text-center","d-block",3,"routerLink"],[1,"home-assembly-constituncy-items-img","d-flex","justify-content-center"],[3,"src","alt","title","error"],[1,"home-assembly-constituncy-items-detail","py-2",3,"routerLink"],[1,"text-blue","mb-1"],[1,"m-0","mla-detail-desination"],[1,"m-0","text-muted"],[1,"mp-mla-items-info-footer"],["class","d-block w-100 mb-1 text-white",3,"href",4,"ngIf"],["class","d-block w-100 text-white",3,"href",4,"ngIf"],[1,"d-block","w-100","mb-1","text-white",3,"href"],[1,"bi","bi-envelope"],[1,"d-block","w-100","text-white",3,"href"],[1,"bi","bi-telephone"]],template:function(e,t){1&e&&(m.ac(0,"section"),m.ac(1,"div",0),m.ac(2,"div",1),m.ac(3,"div",2),m.ac(4,"div",3),m.Vc(5),m.nc(6,"translate"),m.Zb(),m.Tc(7,Vi,3,4,"a",4),m.Zb(),m.Tc(8,Oi,14,13,"div",5),m.Tc(9,Ai,1,0,"app-mini-loader",6),m.Tc(10,Wi,1,0,"app-no-records",6),m.Zb(),m.Zb(),m.Zb()),2&e&&(m.Lb("home-assembly-constituncy ",t.BackGroundClass,""),m.Hb(5),m.Xc(" ",m.oc(6,8,"AssemblyConstituency_txt")," "),m.Hb(2),m.tc("ngIf",t.model&&t.model.length),m.Hb(1),m.tc("ngForOf",t.model),m.Hb(1),m.tc("ngIf",!t.model),m.Hb(1),m.tc("ngIf",t.model&&0==t.model.length))},directives:[i.n,i.m,h.d,h.c,v.a,C.a],pipes:[c.c],styles:[""]}),e})();function Gi(e,t){1&e&&m.Wb(0,"i",15)}function Fi(e,t){1&e&&m.Wb(0,"i",16)}const Ri=function(e){return{cursor:e}};function Xi(e,t){if(1&e&&(m.ac(0,"div",7),m.ac(1,"div",8),m.ac(2,"a",9),m.Wb(3,"img",10),m.Zb(),m.ac(4,"div",11),m.ac(5,"a",12),m.Tc(6,Gi,1,0,"i",13),m.Tc(7,Fi,1,0,"i",14),m.Vc(8),m.Zb(),m.Zb(),m.Zb(),m.Zb()),2&e){const e=t.$implicit;m.Hb(2),m.tc("ngStyle",m.Ec(10,Ri,e.AttachmentPath||e.URL?"cursor":"initial")),m.Ib("href",e.AttachmentPath||e.URL||null,m.Pc),m.Hb(1),m.tc("src",e.IconPath||"assets/images/departmental_galley.png",m.Pc)("alt",e.Subject)("title",e.Subject),m.Hb(2),m.tc("ngStyle",m.Ec(12,Ri,e.AttachmentPath||e.URL?"cursor":"initial")),m.Ib("href",e.AttachmentPath||e.URL||null,m.Pc),m.Hb(1),m.tc("ngIf",e.AttachmentPath),m.Hb(1),m.tc("ngIf",e.URL&&!e.AttachmentPath),m.Hb(1),m.Xc(" ",e.Subject," ")}}function Bi(e,t){1&e&&m.Wb(0,"app-mini-loader")}function Ui(e,t){1&e&&m.Wb(0,"app-no-records")}let zi=(()=>{class e{constructor(e,t,n){this._dptDistrictWebsiteService=e,this._commonService=t,this.translate=n,this.dataType=xi.a}ngOnInit(){let e=this._commonService.GetWebDistDeptCode();this.getDeptAssetsIconAndList(e)}getDeptAssetsIconAndList(e){this._dptDistrictWebsiteService.GetDeptAssetsIconAndList(e).subscribe(e=>{e.IsSuccess?(this.iconData=[],(e.Data.Data||[]).forEach(e=>{e.DataTypeCode===this.dataType.Assets_DataType_Icon&&this.iconData.push(e)}),setTimeout(()=>{this.IconSlider()},50)):this.iconData=[]},()=>{this.iconData=[]})}IconSlider(){$(".slider-items-6").slick({dots:this.iconData.length>6,infinite:!0,autoplay:!0,autoplaySpeed:4e3,slidesToShow:6,slidesToScroll:6,responsive:[{breakpoint:1400,settings:{slidesToShow:3,slidesToScroll:3}},{breakpoint:1350,settings:{slidesToShow:5,slidesToScroll:5}},{breakpoint:1200,settings:{slidesToShow:3,slidesToScroll:3}},{breakpoint:767,settings:{slidesToShow:2,slidesToScroll:2}},{breakpoint:595,settings:{slidesToShow:1,slidesToScroll:1}}]})}}return e.\u0275fac=function(t){return new(t||e)(m.Vb(p.a),m.Vb(g.a),m.Vb(c.d))},e.\u0275cmp=m.Pb({type:e,selectors:[["app-ddw-assets-icons"]],inputs:{BackGroundClass:"BackGroundClass"},decls:9,vars:6,consts:[[1,"container-fluid"],[1,"row"],[1,"col-lg-12","col-xl-12","page-budget-left-aside"],[1,"budget-doc-bg","d-flex","align-items-center","justify-content-center"],[1,"row","slider-items-6","container","p-0","m-0"],["class","budget-doc-items",4,"ngFor","ngForOf"],[4,"ngIf"],[1,"budget-doc-items"],[1,"budget-doc"],["target","_blank",1,"budget-doc-img","d-flex","align-items-center","justify-content-center",3,"ngStyle"],[3,"src","alt","title"],[1,"budget-doc-btn"],["target","_blank",1,"btn",3,"ngStyle"],["class","bi bi-file-earmark-pdf mr-2",4,"ngIf"],["class","bi bi-globe mr-2",4,"ngIf"],[1,"bi","bi-file-earmark-pdf","mr-2"],[1,"bi","bi-globe","mr-2"]],template:function(e,t){1&e&&(m.ac(0,"div"),m.ac(1,"div",0),m.ac(2,"div",1),m.ac(3,"div",2),m.ac(4,"section",3),m.ac(5,"div",4),m.Tc(6,Xi,9,14,"div",5),m.Zb(),m.Tc(7,Bi,1,0,"app-mini-loader",6),m.Tc(8,Ui,1,0,"app-no-records",6),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.Zb()),2&e&&(m.Lb("py-3 mb-5 ",t.BackGroundClass," impo-updates"),m.Hb(6),m.tc("ngForOf",t.iconData),m.Hb(1),m.tc("ngIf",!t.iconData),m.Hb(1),m.tc("ngIf",t.iconData&&0==t.iconData.length))},directives:[i.m,i.n,i.o,v.a,C.a],styles:[".budget-doc-img[_ngcontent-%COMP%]{height:150px;width:150px;background:#fff;border-radius:20px;margin:auto;outline:4px double #e5e5e5;outline-offset:-2px}.budget-doc-img[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:130px}.budget-doc-btn[_ngcontent-%COMP%]{text-align:center;margin-top:25px}.budget-doc-btn[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{height:25px;width:25px;margin-right:6px}.budget-doc-btn[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-align:start;align-items:start;-webkit-box-pack:center;justify-content:center;margin:auto;background:#ab3566;font-size:120%;font-weight:400;color:#fff;text-transform:uppercase;padding:5px;border:2px solid transparent;border-radius:10px;box-shadow:0 0 11px #5b6fdd;min-height:64px}.budget-doc-btn[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{position:relative;top:5px}.budget-doc-btn[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]:hover{background:#151d4c}.budget-doc-bg[_ngcontent-%COMP%]{margin-bottom:20px}.impo-updates[_ngcontent-%COMP%] .slick-slide[_ngcontent-%COMP%]{margin:0 10px}"]}),e})();function ji(e,t){if(1&e){const e=m.bc();m.ac(0,"button",20),m.ic("click",(function(){m.Mc(e);const t=m.mc();return t.openInNewTab("/pages/general/images/"+t.redirectUrlDeptCode+"/"+(null==t.achievementEnum?null:t.achievementEnum.PostersCode))})),m.Vc(1),m.nc(2,"translate"),m.Zb()}2&e&&(m.Hb(1),m.Xc(" ",m.oc(2,1,"ViewAll_txt")," "))}function $i(e,t){if(1&e){const e=m.bc();m.Yb(0),m.ac(1,"div",21),m.ac(2,"a",22),m.ic("error",(function(t){return m.Mc(e),m.mc()._commonService.onImageError(t,"assets/images/default.png")})),m.ac(3,"img",23),m.ic("error",(function(t){return m.Mc(e),m.mc()._commonService.onImageError(t,"assets/images/default.png")})),m.Zb(),m.Zb(),m.Zb(),m.Xb()}if(2&e){const e=t.$implicit,n=m.mc();m.Hb(1),m.uc("title","en"==n.translate.currentLang?e.Achievement:e.AchievementHindi),m.Hb(1),m.uc("href",e.ImagePath,m.Pc),m.Hb(1),m.uc("src",e.ImagePath,m.Pc),m.uc("alt","en"==n.translate.currentLang?e.Achievement:e.AchievementHindi),m.uc("title","en"==n.translate.currentLang?e.Achievement:e.AchievementHindi)}}function Yi(e,t){1&e&&m.Wb(0,"app-mini-loader",24)}function qi(e,t){1&e&&m.Wb(0,"app-no-records",24)}function Ji(e,t){if(1&e){const e=m.bc();m.ac(0,"button",20),m.ic("click",(function(){return m.Mc(e),m.mc().viewAllVideos()})),m.Vc(1),m.nc(2,"translate"),m.Zb()}2&e&&(m.Hb(1),m.Xc(" ",m.oc(2,1,"ViewAll_txt")," "))}function Ki(e,t){if(1&e){const e=m.bc();m.Yb(0),m.ac(1,"a",32),m.ac(2,"video",33),m.ic("playing",(function(t){return m.Mc(e),m.mc(3).onMediaPlaying(t,!1)})),m.Wb(3,"source",34),m.Zb(),m.Zb(),m.Xb()}if(2&e){const e=m.mc(2).$implicit;m.Hb(1),m.uc("href",e.Url,m.Pc),m.Hb(1),m.uc("poster",e.ThumbnailPath,m.Pc),m.Hb(1),m.uc("src",e.Url,m.Pc),m.vc("type","video/",e.Url.split(".")[e.Url.split(".").length-1],"")}}function Qi(e,t){if(1&e&&(m.ac(0,"a",32),m.Wb(1,"iframe",35),m.Zb()),2&e){const e=m.mc(2).$implicit,t=m.mc();m.tc("href",e.SafeUrl,m.Pc),m.Hb(1),m.uc("title","hi"==t.translate.currentLang?e.AchievementHindi:e.Achievement),m.tc("src",e.SafeUrl,m.Oc)}}function ea(e,t){if(1&e&&(m.ac(0,"div",26),m.ac(1,"div",27),m.ac(2,"div",28),m.Tc(3,Ki,4,4,"ng-container",29),m.Tc(4,Qi,2,3,"ng-template",null,30,m.Uc),m.Zb(),m.ac(6,"div",31),m.Vc(7),m.nc(8,"slice"),m.nc(9,"slice"),m.Zb(),m.Zb(),m.Zb()),2&e){const e=m.Kc(5),t=m.mc().$implicit,n=m.mc();m.uc("title","en"==n.translate.currentLang?t.Achievement:t.AchievementHindi),m.Hb(3),m.tc("ngIf",1==n.isExtenstionUrl(t.Url))("ngIfElse",e),m.Hb(3),m.uc("title","en"==n.translate.currentLang?t.Achievement:t.AchievementHindi),m.Hb(1),m.Xc(" ","hi"==n.translate.currentLang?t.AchievementHindi.length>60?m.qc(8,5,t.AchievementHindi,0,60)+"...":t.AchievementHindi:t.Achievement.length>60?m.qc(9,9,t.Achievement,0,60)+"...":t.Achievement," ")}}function ta(e,t){if(1&e&&(m.Yb(0),m.Tc(1,ea,10,13,"div",25),m.Xb()),2&e){const e=t.$implicit;m.Hb(1),m.tc("ngIf",e.Url&&(null==e.Url?null:e.Url.length)>0||e.YoutubeURL)}}function na(e,t){1&e&&m.Wb(0,"app-mini-loader",24)}function ia(e,t){1&e&&m.Wb(0,"app-no-records",24)}function aa(e,t){if(1&e){const e=m.bc();m.ac(0,"button",20),m.ic("click",(function(){m.Mc(e);const t=m.mc();return t.openInNewTab("/pages/general/images/"+t.redirectUrlDeptCode+"/"+(null==t.achievementEnum?null:t.achievementEnum.AdvertisementCode))})),m.Vc(1),m.nc(2,"translate"),m.Zb()}2&e&&(m.Hb(1),m.Xc(" ",m.oc(2,1,"ViewAll_txt")," "))}function ca(e,t){if(1&e){const e=m.bc();m.Yb(0),m.ac(1,"div",21),m.ac(2,"a",22),m.ic("error",(function(t){return m.Mc(e),m.mc()._commonService.onImageError(t,"assets/images/default.png")})),m.ac(3,"img",36),m.ic("error",(function(t){return m.Mc(e),m.mc()._commonService.onImageError(t,"assets/images/default.png")})),m.Zb(),m.Zb(),m.Zb(),m.Xb()}if(2&e){const e=t.$implicit,n=m.mc();m.Hb(1),m.uc("title","en"==n.translate.currentLang?e.Achievement:e.AchievementHindi),m.Hb(1),m.uc("href",e.ImagePath,m.Pc),m.Hb(1),m.uc("src",e.ImagePath,m.Pc),m.uc("title","en"==n.translate.currentLang?e.Achievement:e.AchievementHindi),m.uc("alt","en"==n.translate.currentLang?e.Achievement:e.AchievementHindi)}}function oa(e,t){1&e&&m.Wb(0,"app-mini-loader",24)}function la(e,t){1&e&&m.Wb(0,"app-no-records",24)}function ra(e,t){if(1&e){const e=m.bc();m.ac(0,"button",20),m.ic("click",(function(){m.Mc(e);const t=m.mc();return t.openInNewTab("/pages/general/audio/"+t.redirectUrlDeptCode+"/"+(null==t.achievementEnum?null:t.achievementEnum.AudioCode))})),m.Vc(1),m.nc(2,"translate"),m.Zb()}2&e&&(m.Hb(1),m.Xc(" ",m.oc(2,1,"ViewAll_txt")," "))}function sa(e,t){if(1&e){const e=m.bc();m.ac(0,"div",26),m.ac(1,"div",37),m.Wb(2,"img",38),m.ac(3,"audio",39),m.ic("playing",(function(t){return m.Mc(e),m.mc(2).onMediaPlaying(t,!0)})),m.Wb(4,"source",34),m.Zb(),m.ac(5,"div",31),m.Vc(6),m.nc(7,"slice"),m.nc(8,"slice"),m.Zb(),m.Zb(),m.Zb()}if(2&e){const e=m.mc().$implicit,t=m.mc();m.uc("title","en"==t.translate.currentLang?e.Achievement:e.AchievementHindi),m.Hb(4),m.uc("src",e.Url,m.Pc),m.vc("type","audio/",e.Url.split(".")[e.Url.split(".").length-1],""),m.Hb(1),m.uc("title","en"==t.translate.currentLang?e.Achievement:e.AchievementHindi),m.Hb(1),m.Xc(" ","hi"==t.translate.currentLang?e.AchievementHindi.length>60?m.qc(7,5,e.AchievementHindi,0,60)+"...":e.AchievementHindi:e.Achievement.length>60?m.qc(8,9,e.Achievement,0,60)+"...":e.Achievement," ")}}function da(e,t){if(1&e&&(m.Yb(0),m.Tc(1,sa,9,13,"div",25),m.Xb()),2&e){const e=t.$implicit;m.Hb(1),m.tc("ngIf",null!=e.Url&&(null==e.Url?null:e.Url.length)>0)}}function ma(e,t){1&e&&m.Wb(0,"app-mini-loader",24)}function ua(e,t){1&e&&m.Wb(0,"app-no-records",24)}let ba=(()=>{class e{constructor(e,t,n,i,a){this.achievementAwardService=e,this.translate=t,this.sanitizer=n,this._router=i,this._commonService=a,this.DepartmentCode=0,this.posterModelCount=0,this.advertisementModelCount=0,this.audioModelCount=0,this.videoModelCount=0,this.redirectUrlDeptCode=0,this.achievementEnum=o.a,this.newsModel=[],this.DateFormat=d.a.DateFormat,this.onPause=new m.q}ngOnInit(){this.GetAllData(),this.redirectUrlDeptCode=this._commonService.IsDistrict()?0:this.DepartmentCode}GetAllData(){this.GetPosterData(),this.GetAdvertisementData(),this.GetAudioData(),this.GetVideoData()}GetPosterData(){this.posterModel=void 0;let e=new l.b;e.IndexModel.OrderBy="AchievementDate",e.IndexModel.OrderByAsc=0,e.IndexModel.PageSize=3,e.IsImageRequired=!0,e.CategoryCode=this.achievementEnum.PostersCode,e.DepartmentCode=this._commonService.IsDistrict()?0:this.DepartmentCode,this.achievementAwardService.GetAchievementListBySearchFilterData(e,!1).subscribe(e=>{var t;e.IsSuccess?(this.posterModelCount=null===(t=e.Data.Data)||void 0===t?void 0:t.length,this.posterModel=e.Data.Data.splice(0,2)):this.posterModel=[]},e=>{this.posterModel=[]})}GetVideoData(){this.videoModel=void 0;let e=new l.b;e.IndexModel.OrderBy="AchievementDate",e.IndexModel.OrderByAsc=0,e.IndexModel.PageSize=3,e.IsURLRequired=!0,e.CategoryCode=this.achievementEnum.VideoCode,this.DepartmentCode==vi.a.DirectorateOfPeaceNonViolence&&(e.CategoryCode=this.achievementEnum.RashtrapitaCode,e.SubCategoryCode=o.b.Rashtrapita_Video,e.IsURLRequired=!1),e.DepartmentCode=this._commonService.IsDistrict()?0:this.DepartmentCode,this.achievementAwardService.GetAchievementListBySearchFilterData(e,!1).subscribe(e=>{var t;e.IsSuccess?(this.videoModelCount=null===(t=e.Data.Data)||void 0===t?void 0:t.length,this.videoModel=e.Data.Data.splice(0,2),this.videoModel&&this.videoModel.length>0&&this.videoModel.forEach(e=>{e.SafeUrl=this.SafeUrl(e.YoutubeURL||e.Url)})):this.videoModel=[]},e=>{this.videoModel=[]})}GetAudioData(){this.audioModel=void 0;let e=new l.b;e.IndexModel.OrderBy="Priority",e.IndexModel.OrderByAsc=1,e.IndexModel.PageSize=3,e.IsURLRequired=!0,e.CategoryCode=this.achievementEnum.AudioCode,e.DepartmentCode=this._commonService.IsDistrict()?0:this.DepartmentCode,this.achievementAwardService.GetAchievementListBySearchFilterData(e,!1).subscribe(e=>{var t;e.IsSuccess?(this.audioModelCount=null===(t=e.Data.Data)||void 0===t?void 0:t.length,this.audioModel=e.Data.Data.splice(0,2)):this.audioModel=[]},e=>{this.audioModel=[]})}GetAdvertisementData(){this.advertisementModel=void 0;let e=new l.b;e.IndexModel.OrderBy="AchievementDate",e.IndexModel.OrderByAsc=0,e.IndexModel.PageSize=3,e.IsImageRequired=!0,e.CategoryCode=this.achievementEnum.AdvertisementCode,e.DepartmentCode=this._commonService.IsDistrict()?0:this.DepartmentCode,this.achievementAwardService.GetAchievementListBySearchFilterData(e,!1).subscribe(e=>{var t;e.IsSuccess?(this.advertisementModelCount=null===(t=e.Data.Data)||void 0===t?void 0:t.length,this.advertisementModel=e.Data.Data.splice(0,2)):this.advertisementModel=[]},e=>{this.advertisementModel=[]})}isExtenstionUrl(e){return new RegExp(/\.\w{3,4}($|\?)/i).test(e)}SafeUrl(e){return new RegExp(/\/view(v|V?)/i).test(e)?(e=e.replace(/\/view(v|V?)/i,"/preview"),this.sanitizer.bypassSecurityTrustResourceUrl(e)):(e=e.replace(/\/watch\?(v|V\?)=/g,"/embed/"),this.sanitizer.bypassSecurityTrustResourceUrl(e))}onMediaPlaying(e,t){var n,i;e.preventDefault(),null===(n=this.currentPlayingAudio)||void 0===n||n.pause(),null===(i=this.currentPlayingVideo)||void 0===i||i.pause(),t?(this.currentPlayingAudio=e.target,this.currentPlayingAudio.play()):(this.currentPlayingVideo=e.target,this.currentPlayingVideo.play()),this.mediaControlModel=new s.e,this.mediaControlModel.Item=e,this.mediaControlModel.IsAudio=t,this.onPause.emit(this.mediaControlModel)}GetMonth(e){var t,n,i;return null!=e?(null===(t=e)||void 0===t?void 0:t.includes("-"))?null===(n=e)||void 0===n?void 0:n.split("-")[1]:null===(i=e)||void 0===i?void 0:i.split("/")[1]:""}viewAllVideos(){var e;let t="";t=this.DepartmentCode==vi.a.DirectorateOfPeaceNonViolence?"/pages/general/video/"+this.redirectUrlDeptCode+"/"+this.achievementEnum.RashtrapitaCode+"/"+o.b.Rashtrapita_Video:"/pages/general/video/"+this.redirectUrlDeptCode+"/"+(null===(e=this.achievementEnum)||void 0===e?void 0:e.VideoCode),this.openInNewTab(t)}openInNewTab(e){this._router.navigate([]).then(t=>{window.open(d.a.isHashUrl?`#${e}`:e,"_blank")})}}return e.\u0275fac=function(t){return new(t||e)(m.Vb(u.a),m.Vb(c.d),m.Vb(b.b),m.Vb(h.b),m.Vb(g.a))},e.\u0275cmp=m.Pb({type:e,selectors:[["app-ddw-awareness-material"]],inputs:{DepartmentCode:"DepartmentCode",BackGroundClass:"BackGroundClass"},outputs:{onPause:"onPause"},decls:56,vars:35,consts:[[1,"container-fluid"],[1,"section-title","text-center","mb-5"],[1,"row"],[1,"col-lg-5","mb-4"],[1,"home-awareness-material-items"],[1,"d-flex","align-items-center","justify-content-between","mb-3","home-awareness-material-items-title"],[1,"section-title","mb-0"],["class","btn btn-round btn-theme btn-yellow",3,"click",4,"ngIf"],[1,"photo-gallery","home-new-poster"],[1,"photos"],[1,"d-flex","flex-row","flex-wrap","my-flex-container","justify-content-center","photos","w-100"],[4,"ngFor","ngForOf"],["color","#fff",4,"ngIf"],[1,"col-lg-7","mb-4"],[1,"col-lg-5"],[1,"d-flex","align-items-center","justify-content-between","mb-4","home-awareness-material-items-title"],[3,"ngClass"],[1,"photo-gallery"],[1,"row","photos"],[1,"col-lg-7"],[1,"btn","btn-round","btn-theme","btn-yellow",3,"click"],[1,"photo-gallery-bx","align-items-center","d-flex","justify-content-center",3,"title"],["data-lightbox","photos",3,"href","error"],[1,"img-fluid","rounded",3,"src","alt","title","error"],["color","#fff"],["class","col-xl-6 col-lg-6 col-sm-6 col-12 mb-0",3,"title",4,"ngIf"],[1,"col-xl-6","col-lg-6","col-sm-6","col-12","mb-0",3,"title"],[1,"audio-card","video-card-new","text-center"],[1,"embed-responsive","embed-responsive-21by9"],[4,"ngIf","ngIfElse"],["iframVideo",""],[1,"av-caption",3,"title"],["target","_blank",3,"href"],["id","my_video_1","width","100%","height","100%","controls","","preload","none","data-setup",'{ "aspectRatio":"100%:100%", "playbackRates": [1, 1.5, 2] }',1,"embed-responsive-item",3,"poster","playing"],[3,"src","type"],["width","1280","height","720","frameborder","0","allow","accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share","allowfullscreen","",3,"src","title"],[1,"img-fluid","rounded",3,"src","title","alt","error"],[1,"audio-card","text-center"],["src","assets/images/high-volume.png","alt","CMO",1,"img-fluid"],["preload","none","controls","",1,"w-100",3,"playing"]],template:function(e,t){1&e&&(m.ac(0,"section"),m.ac(1,"div",0),m.ac(2,"div",1),m.Vc(3),m.nc(4,"translate"),m.Zb(),m.ac(5,"div",2),m.ac(6,"div",3),m.ac(7,"div",4),m.ac(8,"div",5),m.ac(9,"h1",6),m.Vc(10),m.nc(11,"translate"),m.Zb(),m.Tc(12,ji,3,3,"button",7),m.Zb(),m.ac(13,"div",8),m.ac(14,"div",9),m.ac(15,"div",10),m.Tc(16,$i,4,5,"ng-container",11),m.Tc(17,Yi,1,0,"app-mini-loader",12),m.Tc(18,qi,1,0,"app-no-records",12),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.ac(19,"div",13),m.ac(20,"div",4),m.ac(21,"div",5),m.ac(22,"h1",6),m.Vc(23),m.nc(24,"translate"),m.Zb(),m.Tc(25,Ji,3,3,"button",7),m.Zb(),m.ac(26,"div",2),m.Tc(27,ta,2,1,"ng-container",11),m.Tc(28,na,1,0,"app-mini-loader",12),m.Tc(29,ia,1,0,"app-no-records",12),m.Zb(),m.Zb(),m.Zb(),m.ac(30,"div",14),m.ac(31,"div",4),m.ac(32,"div",15),m.ac(33,"h1",6),m.Vc(34),m.nc(35,"translate"),m.Zb(),m.Tc(36,aa,3,3,"button",7),m.Zb(),m.ac(37,"div",2),m.ac(38,"div",16),m.ac(39,"div",17),m.ac(40,"div",18),m.ac(41,"div",10),m.Tc(42,ca,4,5,"ng-container",11),m.Tc(43,oa,1,0,"app-mini-loader",12),m.Tc(44,la,1,0,"app-no-records",12),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.ac(45,"div",19),m.ac(46,"div",4),m.ac(47,"div",15),m.ac(48,"h1",6),m.Vc(49),m.nc(50,"translate"),m.Zb(),m.Tc(51,ra,3,3,"button",7),m.Zb(),m.ac(52,"div",2),m.Tc(53,da,2,1,"ng-container",11),m.Tc(54,ma,1,0,"app-mini-loader",12),m.Tc(55,ua,1,0,"app-no-records",12),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.Zb()),2&e&&(m.Lb("awareness-material ",t.BackGroundClass,""),m.Hb(3),m.Wc(m.oc(4,25,"AwarenessMaterial_txt")),m.Hb(7),m.Xc(" ",m.oc(11,27,"Posters_txt"),""),m.Hb(2),m.tc("ngIf",t.posterModelCount>2),m.Hb(4),m.tc("ngForOf",t.posterModel),m.Hb(1),m.tc("ngIf",!t.posterModel),m.Hb(1),m.tc("ngIf",t.posterModel&&0==t.posterModel.length),m.Hb(5),m.Wc(m.oc(24,29,"Video_txt")),m.Hb(2),m.tc("ngIf",t.videoModelCount>2),m.Hb(2),m.tc("ngForOf",t.videoModel),m.Hb(1),m.tc("ngIf",!t.videoModel),m.Hb(1),m.tc("ngIf",t.videoModel&&0==t.videoModel.length),m.Hb(5),m.Xc(" ",m.oc(35,31,"Advertisement_txt")," "),m.Hb(2),m.tc("ngIf",t.advertisementModelCount>2),m.Hb(2),m.tc("ngClass",(null==t.advertisementModel?null:t.advertisementModel.length)>0&&(null==t.newsModel?null:t.newsModel.length)>0?"col-lg-6 col-md-6":"col-lg-12 col-md-12"),m.Hb(4),m.tc("ngForOf",t.advertisementModel),m.Hb(1),m.tc("ngIf",!t.advertisementModel),m.Hb(1),m.tc("ngIf",t.advertisementModel&&0==t.advertisementModel.length),m.Hb(5),m.Wc(m.oc(50,33,"Audio_txt")),m.Hb(2),m.tc("ngIf",t.audioModelCount>2),m.Hb(2),m.tc("ngForOf",t.audioModel),m.Hb(1),m.tc("ngIf",!t.audioModel),m.Hb(1),m.tc("ngIf",t.audioModel&&0==t.audioModel.length))},directives:[i.n,i.m,i.l,v.a,C.a],pipes:[c.c,i.u],styles:[".photo-gallery-bx[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-height:240px}.photo-gallery-bx[_ngcontent-%COMP%]{width:45%}section.awareness-material[_ngcontent-%COMP%] h1.section-title[_ngcontent-%COMP%]{color:#fff;font-size:160%;font-weight:400}.audio-card[_ngcontent-%COMP%]{min-height:280px}"]}),e})();var ga=n("AeFW"),ha=n("ylkv");function pa(e,t){if(1&e&&(m.ac(0,"a",8),m.Vc(1),m.Zb()),2&e){const e=m.mc().$implicit,t=m.mc(2);m.tc("href",e.Url,m.Pc),m.Hb(1),m.Xc(" ","hi"==t.translate.currentLang?e.AchievementHindi:e.Achievement," ")}}function fa(e,t){if(1&e&&(m.ac(0,"a",8),m.Vc(1),m.Zb()),2&e){const e=m.mc(2).$implicit,t=m.mc(2);m.tc("href",e.PdfFIleName,m.Pc),m.Hb(1),m.Xc(" ","hi"==t.translate.currentLang?e.AchievementHindi:e.Achievement," ")}}function va(e,t){if(1&e&&m.Tc(0,fa,2,2,"a",5),2&e){const e=m.mc().$implicit,t=m.Kc(5);m.tc("ngIf",e.PdfFIleName)("ngIfElse",t)}}function Ca(e,t){if(1&e&&(m.ac(0,"a",9),m.Vc(1),m.Zb()),2&e){const e=m.mc().$implicit,t=m.mc(2);m.Hb(1),m.Xc(" ","hi"==t.translate.currentLang?e.AchievementHindi:e.Achievement," ")}}function Ha(e,t){if(1&e&&(m.ac(0,"li"),m.Tc(1,pa,2,2,"a",5),m.Tc(2,va,1,2,"ng-template",null,6,m.Uc),m.Tc(4,Ca,2,1,"ng-template",null,7,m.Uc),m.Zb()),2&e){const e=t.$implicit,n=m.Kc(3);m.Hb(1),m.tc("ngIf",e.Url)("ngIfElse",n)}}function Da(e,t){if(1&e&&(m.ac(0,"section",1),m.ac(1,"div",2),m.Vc(2,"Announcements"),m.Zb(),m.ac(3,"marquee",3),m.ac(4,"ul"),m.Tc(5,Ha,6,2,"li",4),m.Zb(),m.Zb(),m.Zb()),2&e){const e=m.mc();m.Hb(5),m.tc("ngForOf",e.advertisementModel)}}let Ma=(()=>{class e{constructor(e,t,n){this._achievementService=e,this.translate=t,this._commonService=n,this.advertisementModel=[]}ngOnInit(){this.GetAchievementListBySearchFilter()}GetAchievementListBySearchFilter(){let e=new l.b;e.IndexModel.OrderBy="ModifiedDate",e.IndexModel.OrderByAsc=0,e.CategoryCode=o.a.NewsTickerCode,e.DepartmentCode=this._commonService.GetWebDistDeptCode(),e.IndexModel.PageSize=5,e.IsBase64File=!1,e.IsLatestUpdate=-1,this._achievementService.GetAchievementListBySearchFilterData(e).subscribe(e=>{e.IsSuccess&&(this.advertisementModel=[],this.advertisementModel=e.Data.Data)},e=>{console.error(e)})}}return e.\u0275fac=function(t){return new(t||e)(m.Vb(u.a),m.Vb(c.d),m.Vb(g.a))},e.\u0275cmp=m.Pb({type:e,selectors:[["app-ddw-marquee-section"]],decls:1,vars:1,consts:[["class","home-marquee text-center",4,"ngIf"],[1,"home-marquee","text-center"],[1,"home-marquee-title"],["onmouseover","this.stop();","onmouseout","this.start();","scrollamount","5"],[4,"ngFor","ngForOf"],["target","_blank",3,"href",4,"ngIf","ngIfElse"],["itemPDF",""],["itemWithoutLink",""],["target","_blank",3,"href"],["href","javascript:void(0)"]],template:function(e,t){1&e&&m.Tc(0,Da,6,1,"section",0),2&e&&m.tc("ngIf",t.advertisementModel.length>0)},directives:[i.n,i.m],styles:['section.home-marquee[_ngcontent-%COMP%]{background:#d90e00;padding:5px;display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;-webkit-box-pack:center;justify-content:center}section.home-marquee[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{display:inline-block;margin:0 20px}section.home-marquee[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#fff;position:relative}section.home-marquee[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:before{background:hsla(0,0%,100%,.6);height:10px;width:10px;position:absolute;content:"";border-radius:100%;top:3px;left:-15px}']}),e})(),Ia=(()=>{class e{constructor(e){this.sanitizer=e}transform(e){if(e)return this.sanitizer.bypassSecurityTrustResourceUrl(e)}}return e.\u0275fac=function(t){return new(t||e)(m.Vb(b.b))},e.\u0275pipe=m.Ub({name:"safeUrl",type:e,pure:!0}),e})();function Za(e,t){1&e&&m.Wb(0,"div",18)}function Ta(e,t){if(1&e&&(m.ac(0,"div",18),m.ac(1,"a",19),m.Wb(2,"img",20),m.Zb(),m.Zb()),2&e){const e=m.mc();m.Hb(2),m.uc("alt","hi"==e.translate.currentLang?"\u0935\u0902\u0926\u0947-\u0917\u0902\u0917\u093e":"vande-ganga"),m.uc("title","hi"==e.translate.currentLang?"\u0935\u0902\u0926\u0947-\u0917\u0902\u0917\u093e":"vande-ganga")}}function ya(e,t){if(1&e){const e=m.bc();m.ac(0,"a",26),m.ac(1,"img",27),m.ic("error",(function(t){return m.Mc(e),m.mc(3)._commonService.onImageError(t,"assets/images/slider-default.png")})),m.Zb(),m.Zb()}if(2&e){const e=m.mc().$implicit,t=m.mc(2);m.tc("href",null==e?null:e.Url,m.Pc),m.Hb(1),m.uc("title","en"==t.translate.currentLang?e.AchievementHindi:e.SubjectHindi),m.uc("alt","en"==t.translate.currentLang?e.AchievementHindi:e.SubjectHindi),m.tc("src",e.ImagePath,m.Pc)}}function xa(e,t){if(1&e){const e=m.bc();m.ac(0,"a"),m.ac(1,"img",27),m.ic("error",(function(t){return m.Mc(e),m.mc(3)._commonService.onImageError(t,"assets/images/slider-default.png")})),m.Zb(),m.Zb()}if(2&e){const e=m.mc().$implicit,t=m.mc(2);m.Hb(1),m.uc("title","en"==t.translate.currentLang?e.AchievementHindi:e.SubjectHindi),m.uc("alt","en"==t.translate.currentLang?e.AchievementHindi:e.SubjectHindi),m.tc("src",e.ImagePath,m.Pc)}}function Pa(e,t){if(1&e&&(m.ac(0,"div",23),m.Tc(1,ya,2,4,"a",24),m.Tc(2,xa,2,3,"a",25),m.Zb()),2&e){const e=t.$implicit;m.Mb("active",0==t.index),m.Hb(1),m.tc("ngIf",null==e?null:e.Url),m.Hb(1),m.tc("ngIf",!(null!=e&&e.Url))}}function Sa(e,t){if(1&e&&(m.ac(0,"div",21),m.Tc(1,Pa,3,4,"div",22),m.Zb()),2&e){const e=m.mc();m.Hb(1),m.tc("ngForOf",e.resultModel)}}function _a(e,t){if(1&e){const e=m.bc();m.ac(0,"div",21),m.ac(1,"div",28),m.ac(2,"img",27),m.ic("error",(function(t){return m.Mc(e),m.mc()._commonService.onImageError(t,"assets/images/slider-default.png")})),m.nc(3,"translate"),m.nc(4,"translate"),m.Zb(),m.Zb(),m.Zb()}if(2&e){const e=m.mc();m.Hb(2),m.uc("title",m.oc(3,3,"JankalyanPortal_txt")),m.uc("alt",m.oc(4,5,"JankalyanPortal_txt")),m.tc("src",e.dtpModel&&e.dtpModel.Admin_DefaultBanner?e.dtpModel.Admin_DefaultBanner:"assets/images/slider-default.png",m.Pc)}}function wa(e,t){if(1&e&&(m.Wb(0,"iframe",31),m.nc(1,"safeUrl")),2&e){const e=m.mc(2);m.tc("src",m.oc(1,1,e.rajAdvtSideBarUrl+"/"+((null==e.dtpModel?null:e.dtpModel.RajAdvtDataSourceCode)||0)),m.Oc)}}function La(e,t){if(1&e&&(m.Wb(0,"iframe",31),m.nc(1,"safeUrl")),2&e){const e=m.mc(2);m.tc("src",m.oc(1,1,e.rajAdvtSideBarUrl+"/0"),m.Oc)}}function Va(e,t){if(1&e&&(m.ac(0,"div",29),m.Tc(1,wa,2,3,"iframe",30),m.Tc(2,La,2,3,"iframe",30),m.Zb()),2&e){const e=m.mc();m.Hb(1),m.tc("ngIf",null==e.dtpModel?null:e.dtpModel.IsSideBarDeptSpecific),m.Hb(1),m.tc("ngIf",!(null!=e.dtpModel&&e.dtpModel.IsSideBarDeptSpecific))}}function ka(e,t){if(1&e&&(m.ac(0,"div",32),m.ac(1,"div",33),m.ac(2,"div",34),m.ac(3,"h3"),m.Vc(4),m.Zb(),m.Zb(),m.ac(5,"div",35),m.Vc(6),m.Zb(),m.ac(7,"div",36),m.Wb(8,"iframe",37),m.Zb(),m.Zb(),m.Zb()),2&e){const e=m.mc();m.Hb(4),m.Xc(" ",e.dtpModel.IFrameHeading,""),m.Hb(2),m.Xc(" ",e.dtpModel.IFrameDescription,""),m.Hb(2),m.tc("src",null==e.dtpModel?null:e.dtpModel.IFrameURLSafe,m.Oc)}}function Na(e,t){if(1&e&&(m.ac(0,"div"),m.ac(1,"div",38),m.ac(2,"div",36),m.ac(3,"div",39),m.ac(4,"a",40),m.ac(5,"div",41),m.Wb(6,"img",42),m.nc(7,"translate"),m.nc(8,"translate"),m.Zb(),m.ac(9,"div",43),m.ac(10,"span"),m.Vc(11),m.Zb(),m.Vc(12),m.nc(13,"translate"),m.Wb(14,"i",44),m.Zb(),m.Zb(),m.ac(15,"a",40),m.ac(16,"div",41),m.Wb(17,"img",45),m.nc(18,"translate"),m.nc(19,"translate"),m.Zb(),m.ac(20,"div",43),m.ac(21,"span"),m.Vc(22),m.Zb(),m.Vc(23),m.nc(24,"translate"),m.Wb(25,"i",44),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.Zb()),2&e){const e=m.mc();m.Lb("home-page-ent-number ",e.BackGroundClass," text-center"),m.Hb(4),m.vc("routerLink","/scheme/",e.DepartmentCode,""),m.Hb(2),m.uc("title",m.oc(7,13,"Schemes_txt")),m.uc("alt",m.oc(8,15,"Schemes_txt")),m.Hb(5),m.Xc(" ",null==e.quickLinksModel[0]?null:e.quickLinksModel[0].TotalCount," "),m.Hb(1),m.Xc(" ",m.oc(13,17,"Schemes_txt")," "),m.Hb(3),m.vc("routerLink","/services/",e.DepartmentCode,""),m.Hb(2),m.uc("title",m.oc(18,19,"GovServices_txt")),m.uc("alt",m.oc(19,21,"GovServices_txt")),m.Hb(5),m.Xc(" ",null==e.quickLinksModel[1]?null:e.quickLinksModel[1].TotalCount," "),m.Hb(1),m.Xc(" ",m.oc(24,23,"GovServices_txt")," ")}}let Oa=(()=>{class e{constructor(e,t,n,i,a,c){this.sanitizer=e,this.translate=t,this._achivementService=n,this._dptDistrictWebsiteService=i,this._commonService=a,this._departmentService=c,this.DepartmentCode=0,this.indexModel=new s.d,this.resultModel=[],this.quickLinksModel=[],this.enumdata=xi.b,this.sliderPaused=!1,this.defaultBannerUrl="",this.rajAdvtSideBarUrl=d.a.AdvertisementUrl+"#/side-bar",this.isShowIconOnBanner=!1,this.deptCodes=[371,370,369,368,367,365,364,282,281,279,245,228,1006,1005,1855,323,280,372,208,384,383,173,125],this.defaultBannerUrl=ga.a.DefaultBannerUrl}ngOnInit(){this._departmentService.getDepartmentDetail().subscribe(e=>{e&&(this.dtpModel=e)}),this.GetBannerData(),this.GetQuickLinksData(),console.log(this.BackGroundClass),this.deptCode=this._commonService.GetWebDistDeptCode(),this.deptCodes.findIndex(e=>e==this.deptCode)}GetBannerData(){let e=new l.b;e.IndexModel.OrderBy="Priority",e.IndexModel.OrderByAsc=1,e.CategoryCode=o.a.WebHomePageImageCode,e.DepartmentCode=this.DepartmentCode,e.IndexModel.PageSize=101,e.IsBase64File=!1,this._achivementService.GetAchievementListBySearchFilterData(e,!1).subscribe(e=>{e.IsSuccess&&(this.resultModel=[],this.resultModel=e.Data.Data,0==this.resultModel.length&&(this.dtpModel=new ha.b,this._departmentService.getDepartmentDetail().subscribe(e=>{this.dtpModel=e})),this.addCarousel())},e=>{console.error(e)})}sanitizeImageUrl(e){return this.sanitizer.bypassSecurityTrustUrl(e)}GetQuickLinksData(){this._dptDistrictWebsiteService.GetDepartemntWebsiteQuickLink(this.DepartmentCode).subscribe(e=>{e.IsSuccess&&(this.quickLinksModel=[],this.quickLinksModel=e.Data)},e=>{console.error(e)})}addCarousel(){$("#HomeSlider").carousel({interval:4e3,cycle:!0,pause:!1})}playPause(e){var t=this.sliderPaused?"cycle":"pause";this.sliderPaused=!this.sliderPaused,$("#HomeSlider").carousel(t),$("#playPausebtnIcon").toggleClass("fa-play fa-pause")}onViewFile(e){let t=new s.a;t.Title="PDF file",t.TitleHindi="\u092a\u0940\u0921\u0940\u090f\u092b \u092b\u093e\u0907\u0932",t.Url=e,t.FileType="PDF",localStorage.setItem("content-data",JSON.stringify(t)),window.open("/pdf-viewer")}}return e.\u0275fac=function(t){return new(t||e)(m.Vb(b.b),m.Vb(c.d),m.Vb(u.a),m.Vb(p.a),m.Vb(g.a),m.Vb(In.a))},e.\u0275cmp=m.Pb({type:e,selectors:[["app-ddw-banner"]],inputs:{DepartmentData:"DepartmentData",DepartmentCode:"DepartmentCode",BackGroundClass:"BackGroundClass"},decls:26,vars:10,consts:[[1,"container-fluid","p-0"],[1,"row","m-0"],[1,"col-slider"],["class","col-slider-2",4,"ngIf"],["id","HomeSlider","data-ride","carousel",1,"carousel","homepage-slider","slide","carousel-fade","m-0"],["HomeSlider",""],["id","toggleCarousel",1,"slider-act-btn",3,"click"],["id","playPausebtnIcon",1,"fa","fa-pause"],["class","carousel-inner",4,"ngIf"],["href","#HomeSlider","role","button","data-slide","prev",1,"carousel-control-prev","carousel-control-icon"],["aria-hidden","true"],[1,"fas","fa-chevron-left"],[1,"sr-only"],["href","#HomeSlider","role","button","data-slide","next",1,"carousel-control-next","carousel-control-icon"],[1,"fas","fa-chevron-right"],["class","col-advertisement",4,"ngIf"],["class","container pt-3 pb-3",4,"ngIf"],[3,"class",4,"ngIf"],[1,"col-slider-2"],["target","_blank","href","https://water.rajasthan.gov.in/wr/#/pages/department-page/2937",1,"r-raj"],["src","assets/images/vande-ganga-logo.jpeg",1,"zoom-in-zoom-out","logo-vande-ganga",3,"alt","title"],[1,"carousel-inner"],["class","carousel-item",3,"active",4,"ngFor","ngForOf"],[1,"carousel-item"],["target","_blank",3,"href",4,"ngIf"],[4,"ngIf"],["target","_blank",3,"href"],[3,"src","title","alt","error"],[1,"carousel-item","active"],[1,"col-advertisement"],["width","100%","height","100%",3,"src",4,"ngIf"],["width","100%","height","100%",3,"src"],[1,"container","pt-3","pb-3"],[1,"row"],[1,"col-md-12","advertisement-block"],[1,"col-md-12","pb-3"],[1,"col-md-12"],["width","100%",2,"min-height","500px",3,"src"],[1,"row","w-100"],[1,"home-page-ent-number-items"],[3,"routerLink"],[1,"home-page-ent-number-items-img"],["src","assets/images/svg/scheme.svg",1,"img-fluid",3,"title","alt"],[1,"home-page-ent-number-info"],[1,"fa","fa-chevron-right"],["src","assets/images/svg/services.svg",1,"img-fluid",3,"title","alt"]],template:function(e,t){1&e&&(m.ac(0,"section"),m.ac(1,"div",0),m.ac(2,"div",1),m.ac(3,"div",2),m.Tc(4,Za,1,0,"div",3),m.Tc(5,Ta,3,2,"div",3),m.ac(6,"div",4,5),m.ac(8,"button",6),m.ic("click",(function(e){return t.playPause(e)})),m.Wb(9,"i",7),m.Zb(),m.Tc(10,Sa,2,1,"div",8),m.Tc(11,_a,5,7,"div",8),m.ac(12,"a",9),m.ac(13,"span",10),m.Wb(14,"i",11),m.Zb(),m.ac(15,"span",12),m.Vc(16,"Previous"),m.Zb(),m.Zb(),m.ac(17,"a",13),m.ac(18,"span",10),m.Wb(19,"i",14),m.Zb(),m.ac(20,"span",12),m.Vc(21,"Next"),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.Tc(22,Va,3,2,"div",15),m.Zb(),m.Zb(),m.Zb(),m.Tc(23,ka,9,3,"div",16),m.Tc(24,Na,26,25,"div",17),m.Wb(25,"app-ddw-marquee-section")),2&e&&(m.Lb("home-banner-slider ",t.BackGroundClass,""),m.Hb(4),m.tc("ngIf",t.isShowIconOnBanner),m.Hb(1),m.tc("ngIf",142==t.deptCode),m.Hb(5),m.tc("ngIf",(null==t.resultModel?null:t.resultModel.length)>0),m.Hb(1),m.tc("ngIf",0==(null==t.resultModel?null:t.resultModel.length)),m.Hb(11),m.tc("ngIf",t.dtpModel&&(null==t.dtpModel?null:t.dtpModel.IsDisplaySideNewsWindow)),m.Hb(1),m.tc("ngIf",t.dtpModel.IsDisplayIFrame&&null!=(null==t.dtpModel?null:t.dtpModel.IFrameURL)),m.Hb(1),m.tc("ngIf",t.enumdata.Department==(null==t.DepartmentData?null:t.DepartmentData.DepartmentDistrictCode)))},directives:[i.n,Ma,i.m,h.d],pipes:[c.c,Ia],styles:[".col-slider-2[_ngcontent-%COMP%]{position:absolute;z-index:9999;left:50px;margin-top:50px}.col-slider[_ngcontent-%COMP%]{position:relative}.col-slider-2[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:300px;margin:auto;max-height:300px;border-radius:20px}.banner-icon[_ngcontent-%COMP%]{display:grid;gap:50px}.logo-vande-ganga[_ngcontent-%COMP%]{width:150px;height:auto;position:absolute;top:0!important;left:5px;z-index:1000;border:2px solid #0378d0}@media screen and (max-width:767px){.zoom-in-zoom-out[_ngcontent-%COMP%]{max-width:141px!important}.banner-icon[_ngcontent-%COMP%]{gap:10px}}@media screen and (max-width:400px){.col-slider-2[_ngcontent-%COMP%]{margin-top:15px}}"]}),e})();var Aa=n("tDDI"),Wa=n("6a0g");class Ea extends s.d{}var Ga=n("PaCI"),Fa=n("MLVi");let Ra=(()=>{class e{constructor(e){this._baseService=e}GetDepartmentAchivement_DeptCatWiseList(e){return this._baseService.post(r.a.AchievementDepartmentCoutWiseListUrl,e)}GetDepartmentAchivement_DeptCatWiseCount(e=0){return this._baseService.get(r.a.AchievementDepartmentCoutListUrl+e)}}return e.\u0275fac=function(t){return new(t||e)(m.ec(Fa.a))},e.\u0275prov=m.Rb({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function Xa(e,t){1&e&&(m.ac(0,"li",20),m.ac(1,"a",21),m.Wb(2,"img",22),m.nc(3,"translate"),m.nc(4,"translate"),m.Vc(5),m.nc(6,"translate"),m.Zb(),m.Zb()),2&e&&(m.Hb(2),m.uc("title",m.oc(3,3,"Achievement_txt")),m.uc("alt",m.oc(4,5,"Achievement_txt")),m.Hb(3),m.Xc(" ",m.oc(6,7,"Achievement_txt")," "))}function Ba(e,t){1&e&&(m.ac(0,"li",20),m.ac(1,"a",23),m.Wb(2,"img",24),m.nc(3,"translate"),m.nc(4,"translate"),m.Vc(5),m.nc(6,"translate"),m.Zb(),m.Zb()),2&e&&(m.Hb(2),m.uc("title",m.oc(3,3,"GovtInitiatives_txt")),m.uc("alt",m.oc(4,5,"GovtInitiatives_txt")),m.Hb(3),m.Xc(" ",m.oc(6,7,"GovtInitiatives_txt")," "))}function Ua(e,t){1&e&&(m.ac(0,"li",20),m.ac(1,"a",25),m.Wb(2,"img",26),m.nc(3,"translate"),m.nc(4,"translate"),m.Vc(5),m.nc(6,"translate"),m.Zb(),m.Zb()),2&e&&(m.Hb(2),m.uc("title",m.oc(3,3,"BudgetAnnouncement_txt")),m.uc("alt",m.oc(4,5,"BudgetAnnouncement_txt")),m.Hb(3),m.Xc(" ",m.oc(6,7,"BudgetAnnouncement_txt")," "))}function za(e,t){1&e&&(m.ac(0,"li",20),m.ac(1,"a",27),m.Wb(2,"img",28),m.nc(3,"translate"),m.nc(4,"translate"),m.Vc(5),m.nc(6,"translate"),m.Zb(),m.Zb()),2&e&&(m.Hb(2),m.uc("title",m.oc(3,3,"CabinetDecisions_txt")),m.uc("alt",m.oc(4,5,"CabinetDecisions_txt")),m.Hb(3),m.Xc(" ",m.oc(6,7,"CabinetDecisions_txt")," "))}function ja(e,t){1&e&&(m.ac(0,"li",20),m.ac(1,"a",29),m.Wb(2,"img",30),m.nc(3,"translate"),m.nc(4,"translate"),m.Vc(5),m.nc(6,"translate"),m.Zb(),m.Zb()),2&e&&(m.Hb(2),m.uc("title",m.oc(3,3,"JanGhoshnaPatra_txt")),m.uc("alt",m.oc(4,5,"JanGhoshnaPatra_txt")),m.Hb(3),m.Xc(" ",m.oc(6,7,"JanGhoshnaPatra_txt")," "))}function $a(e,t){if(1&e){const e=m.bc();m.ac(0,"a",39),m.ic("click",(function(){m.Mc(e);const t=m.mc().$implicit;return m.mc(2).getReadMoreData(t.AchievementHindi?t.AchievementHindi?t.AchievementHindi:t.Achievement:t.Achievement?t.Achievement:t.AchievementHindi)})),m.Vc(1),m.nc(2,"translate"),m.Zb()}2&e&&(m.Hb(1),m.Xc(" ",m.oc(2,1,"Readmore")," "))}function Ya(e,t){if(1&e&&(m.ac(0,"div",34),m.ac(1,"div",35),m.ac(2,"div",36),m.Wb(3,"img",22),m.nc(4,"translate"),m.nc(5,"translate"),m.Zb(),m.ac(6,"div",37),m.ac(7,"h5"),m.ac(8,"pre",19),m.nc(9,"slice"),m.nc(10,"slice"),m.nc(11,"slice"),m.nc(12,"slice"),m.Vc(13," "),m.Zb(),m.Tc(14,$a,3,3,"a",38),m.Zb(),m.Zb(),m.Zb(),m.Zb()),2&e){const e=t.$implicit,n=m.mc(2);m.Hb(3),m.uc("title",m.oc(4,4,"Achievement_txt")),m.uc("alt",m.oc(5,6,"Achievement_txt")),m.Hb(5),m.tc("innerHTML","hi"==n.translate.currentLang?((null==e.AchievementHindi?null:e.AchievementHindi.length)>500?(m.qc(9,8,e.AchievementHindi,0,500),1):e.AchievementHindi)?e.AchievementHindi:(null==e.Achievement?null:e.Achievement.length)>500?m.qc(10,12,e.Achievement,0,500)+"...":e.Achievement:((null==e.Achievement?null:e.Achievement.length)>500?(m.qc(11,16,e.Achievement,0,500),1):e.Achievement)?e.Achievement:(null==e.AchievementHindi?null:e.AchievementHindi.length)>500?m.qc(12,20,e.AchievementHindi,0,500)+"...":e.AchievementHindi,m.Nc),m.Hb(6),m.tc("ngIf",("en"!=n.translate.currentLang?null==e?null:null==e.AchievementHindi?null:e.AchievementHindi.length:null==e?null:null==e.Achievement?null:e.Achievement.length)<500)}}function qa(e,t){1&e&&(m.ac(0,"div",40),m.ac(1,"a",41),m.Vc(2),m.nc(3,"translate"),m.Zb(),m.Zb()),2&e&&(m.Hb(2),m.Xc(" ",m.oc(3,1,"ViewAll_txt")," "))}function Ja(e,t){if(1&e&&(m.ac(0,"div",31),m.ac(1,"div",1),m.Tc(2,Ya,15,24,"div",32),m.Tc(3,qa,4,3,"div",33),m.Zb(),m.Zb()),2&e){const e=m.mc();m.Hb(2),m.tc("ngForOf",e.otherAchievementList),m.Hb(1),m.tc("ngIf",(null==e.otherAchievementList?null:e.otherAchievementList.length)>5)}}function Ka(e,t){if(1&e){const e=m.bc();m.ac(0,"a",39),m.ic("click",(function(){m.Mc(e);const t=m.mc().$implicit;return m.mc(2).getReadMoreData(t.AchievementHindi?t.AchievementHindi?t.AchievementHindi:t.Achievement:t.Achievement?t.Achievement:t.AchievementHindi)})),m.Vc(1),m.nc(2,"translate"),m.Zb()}2&e&&(m.Hb(1),m.Xc(" ",m.oc(2,1,"Readmore")," "))}function Qa(e,t){if(1&e){const e=m.bc();m.ac(0,"div",34),m.ac(1,"div",35),m.ac(2,"div",36),m.ac(3,"img",43),m.ic("error",(function(t){return m.Mc(e),m.mc(2)._commonService.onImageError(t,"assets/images/icon-achievements-list.png")})),m.nc(4,"translate"),m.nc(5,"translate"),m.Zb(),m.Zb(),m.ac(6,"div",37),m.ac(7,"h5"),m.ac(8,"pre",19),m.nc(9,"slice"),m.nc(10,"slice"),m.nc(11,"slice"),m.nc(12,"slice"),m.Vc(13," "),m.Zb(),m.Tc(14,Ka,3,3,"a",38),m.Zb(),m.Zb(),m.Zb(),m.Zb()}if(2&e){const e=t.$implicit,n=m.mc(2);m.Hb(3),m.uc("src",null==e?null:e.AchievementCategoryImagePath,m.Pc),m.uc("title",m.oc(4,5,"GovtInitiatives_txt")),m.uc("alt",m.oc(5,7,"GovtInitiatives_txt")),m.Hb(5),m.tc("innerHTML","hi"==n.translate.currentLang?((null==e.AchievementHindi?null:e.AchievementHindi.length)>500?(m.qc(9,9,e.AchievementHindi,0,500),1):e.AchievementHindi)?e.AchievementHindi:(null==e.Achievement?null:e.Achievement.length)>500?m.qc(10,13,e.Achievement,0,500)+"...":e.Achievement:((null==e.Achievement?null:e.Achievement.length)>500?(m.qc(11,17,e.Achievement,0,500),1):e.Achievement)?e.Achievement:(null==e.AchievementHindi?null:e.AchievementHindi.length)>500?m.qc(12,21,e.AchievementHindi,0,500)+"...":e.AchievementHindi,m.Nc),m.Hb(6),m.tc("ngIf",("en"!=n.translate.currentLang?null==e?null:null==e.AchievementHindi?null:e.AchievementHindi.length:null==e?null:null==e.Achievement?null:e.Achievement.length)>500)}}function ec(e,t){if(1&e&&(m.ac(0,"div",40),m.ac(1,"a",44),m.Vc(2),m.nc(3,"translate"),m.Zb(),m.Zb()),2&e){const e=m.mc(2);m.Hb(1),m.vc("routerLink","/home/departmental-achievements-detail/",e.newInitiativeAchievementList[0].AchievementCategoryCode,""),m.Hb(1),m.Xc(" ",m.oc(3,2,"ViewAll_txt")," ")}}function tc(e,t){if(1&e&&(m.ac(0,"div",42),m.ac(1,"div",1),m.Tc(2,Qa,15,25,"div",32),m.Tc(3,ec,4,4,"div",33),m.Zb(),m.Zb()),2&e){const e=m.mc();m.Hb(2),m.tc("ngForOf",e.newInitiativeAchievementList),m.Hb(1),m.tc("ngIf",(null==e.newInitiativeAchievementList?null:e.newInitiativeAchievementList.length)>5)}}function nc(e,t){if(1&e){const e=m.bc();m.ac(0,"a",39),m.ic("click",(function(){m.Mc(e);const t=m.mc().$implicit;return m.mc(2).getReadMoreData(null==t?null:t.Announcement_Description)})),m.Vc(1),m.nc(2,"translate"),m.Zb()}2&e&&(m.Hb(1),m.Xc(" ",m.oc(2,1,"Readmore")," "))}function ic(e,t){if(1&e&&(m.ac(0,"div",34),m.ac(1,"div",35),m.ac(2,"div",36),m.Wb(3,"img",26),m.nc(4,"translate"),m.nc(5,"translate"),m.Zb(),m.ac(6,"div",37),m.ac(7,"h5"),m.ac(8,"p"),m.Vc(9),m.nc(10,"slice"),m.Tc(11,nc,3,3,"a",38),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.Zb()),2&e){const e=t.$implicit;m.Hb(3),m.uc("title",m.oc(4,4,"BudgetAnnouncement_txt")),m.uc("alt",m.oc(5,6,"BudgetAnnouncement_txt")),m.Hb(6),m.Xc(" ",(null==e?null:null==e.Announcement_Description?null:e.Announcement_Description.length)>200?m.qc(10,8,null==e?null:e.Announcement_Description,0,200)+"...":null==e?null:e.Announcement_Description," "),m.Hb(2),m.tc("ngIf",(null==e?null:null==e.Announcement_Description?null:e.Announcement_Description.length)>200)}}function ac(e,t){if(1&e&&(m.ac(0,"div",45),m.ac(1,"div",1),m.Tc(2,ic,12,12,"div",32),m.ac(3,"div",40),m.ac(4,"a",44),m.Vc(5),m.nc(6,"translate"),m.Zb(),m.Zb(),m.Zb(),m.Zb()),2&e){const e=m.mc();m.Hb(2),m.tc("ngForOf",e.budgetModel),m.Hb(2),m.vc("routerLink","/cmis-budgetannouncements/",e.DepartmentCode,""),m.Hb(1),m.Xc(" ",m.oc(6,3,"ViewAll_txt")," ")}}function cc(e,t){if(1&e){const e=m.bc();m.ac(0,"a",39),m.ic("click",(function(){m.Mc(e);const t=m.mc().$implicit;return m.mc(2).getReadMoreData(null==t?null:t.Announcement_Description)})),m.Vc(1),m.nc(2,"translate"),m.Zb()}2&e&&(m.Hb(1),m.Xc(" ",m.oc(2,1,"Readmore")," "))}function oc(e,t){if(1&e&&(m.ac(0,"div",34),m.ac(1,"div",35),m.ac(2,"div",36),m.Wb(3,"img",28),m.nc(4,"translate"),m.nc(5,"translate"),m.Zb(),m.ac(6,"div",37),m.ac(7,"h5"),m.ac(8,"p"),m.Vc(9),m.nc(10,"slice"),m.Tc(11,cc,3,3,"a",38),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.Zb()),2&e){const e=t.$implicit;m.Hb(3),m.uc("title",m.oc(4,4,"CabinetDecisions_txt")),m.uc("alt",m.oc(5,6,"CabinetDecisions_txt")),m.Hb(6),m.Xc(" ",(null==e?null:null==e.Announcement_Description?null:e.Announcement_Description.length)>200?m.qc(10,8,null==e?null:e.Announcement_Description,0,200)+"...":null==e?null:e.Announcement_Description," "),m.Hb(2),m.tc("ngIf",(null==e?null:null==e.Announcement_Description?null:e.Announcement_Description.length)>200)}}function lc(e,t){if(1&e&&(m.ac(0,"div",40),m.ac(1,"a",44),m.Vc(2),m.nc(3,"translate"),m.Zb(),m.Zb()),2&e){const e=m.mc(2);m.Hb(1),m.vc("routerLink","/cmis-cabinetdecisions/",e.DepartmentCode,""),m.Hb(1),m.Xc(" ",m.oc(3,2,"ViewAll_txt")," ")}}function rc(e,t){if(1&e&&(m.ac(0,"div",46),m.ac(1,"div",1),m.Tc(2,oc,12,12,"div",32),m.Tc(3,lc,4,4,"div",33),m.Zb(),m.Zb()),2&e){const e=m.mc();m.Hb(2),m.tc("ngForOf",e.cabinetDecisionsModel),m.Hb(1),m.tc("ngIf",(null==e.cabinetDecisionsModel?null:e.cabinetDecisionsModel.length)>5)}}function sc(e,t){if(1&e){const e=m.bc();m.ac(0,"a",39),m.ic("click",(function(){m.Mc(e);const t=m.mc().$implicit;return m.mc(2).getReadMoreData(null==t?null:t.Announcement_Description)})),m.Vc(1),m.nc(2,"translate"),m.Zb()}2&e&&(m.Hb(1),m.Xc(" ",m.oc(2,1,"Readmore")," "))}function dc(e,t){if(1&e&&(m.ac(0,"div",34),m.ac(1,"div",35),m.ac(2,"div",36),m.Wb(3,"img",30),m.nc(4,"translate"),m.nc(5,"translate"),m.Zb(),m.ac(6,"div",37),m.ac(7,"h5"),m.ac(8,"p"),m.Vc(9),m.nc(10,"slice"),m.Tc(11,sc,3,3,"a",38),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.Zb()),2&e){const e=t.$implicit;m.Hb(3),m.uc("title",m.oc(4,4,"JanGhoshnaPatra_txt")),m.uc("alt",m.oc(5,6,"JanGhoshnaPatra_txt")),m.Hb(6),m.Xc(" ",(null==e?null:null==e.Announcement_Description?null:e.Announcement_Description.length)>200?m.qc(10,8,null==e?null:e.Announcement_Description,0,200)+"...":null==e?null:e.Announcement_Description," "),m.Hb(2),m.tc("ngIf",(null==e?null:null==e.Announcement_Description?null:e.Announcement_Description.length)>200)}}function mc(e,t){if(1&e&&(m.ac(0,"div",40),m.ac(1,"a",44),m.Vc(2),m.nc(3,"translate"),m.Zb(),m.Zb()),2&e){const e=m.mc(2);m.Hb(1),m.vc("routerLink","/cmis-janghoshnapatra/",e.DepartmentCode,""),m.Hb(1),m.Xc(" ",m.oc(3,2,"ViewAll_txt")," ")}}function uc(e,t){if(1&e&&(m.ac(0,"div",47),m.ac(1,"div",1),m.Tc(2,dc,12,12,"div",32),m.Tc(3,mc,4,4,"div",33),m.Zb(),m.Zb()),2&e){const e=m.mc();m.Hb(2),m.tc("ngForOf",e.JanghoshnaModel),m.Hb(1),m.tc("ngIf",(null==e.JanghoshnaModel?null:e.JanghoshnaModel.length)>5)}}let bc=(()=>{class e{constructor(e,t,n,i,a){this._cmisModuleService=e,this.translate=t,this.achievementAwardService=n,this._importantDecisionService=i,this._commonService=a,this.DepartmentCode=0,this.DateFormat=d.a.DateFormat,this.cMISModuleEnum=Aa.a,this.achmodel=[],this.achListmodel=[],this.catEnum=o.a,this.newInitiativeIndexModel=new s.d,this.newInitiativeModel=[],this.budgetModel=[],this.budgeFilterModel=new Wa.a,this.cabinetDecisionsModel=[],this.cabinetDecisionsFilterModel=new Wa.a,this.JanghoshnaModel=[],this.JanghoshnaFilterModel=new Wa.a,this.filterModel=new Ea,this.readMoreHTML="",this.indexModel=new s.d}ngOnInit(){this.GetBudgetData(),this.GetCabinetDecisionsData(),this.GetJanghoshnaData(),this.GetDepartmentAchivement_DeptCatWiseList()}GetJanghoshnaData(){this.JanghoshnaFilterModel.ModuleId=Number(this.cMISModuleEnum.JanGhoshnaPatraCode),this.JanghoshnaFilterModel.JanDepartmentCode=this.DepartmentCode,this._cmisModuleService.GetAllCMISModuleDataGroupByDepartment(this.JanghoshnaFilterModel).subscribe(e=>{var t,n,i,a,c,o;if(e.IsSuccess){var l=[];(null===(i=null===(n=null===(t=e)||void 0===t?void 0:t.Data)||void 0===n?void 0:n.Data)||void 0===i?void 0:i.length)>0&&(l=null===(c=null===(a=e)||void 0===a?void 0:a.Data)||void 0===c?void 0:c.Data),(null===(o=l)||void 0===o?void 0:o.length)>0&&(this.JanghoshnaModel=l[0].Items.splice(0,6))}},e=>{})}GetCabinetDecisionsData(){this.cabinetDecisionsFilterModel.ModuleId=Number(this.cMISModuleEnum.CabinetDecisionCode),this.cabinetDecisionsFilterModel.JanDepartmentCode=this.DepartmentCode,this._cmisModuleService.GetAllCMISModuleDataGroupByDepartment(this.cabinetDecisionsFilterModel).subscribe(e=>{var t,n,i,a,c,o;if(e.IsSuccess){var l=[];(null===(i=null===(n=null===(t=e)||void 0===t?void 0:t.Data)||void 0===n?void 0:n.Data)||void 0===i?void 0:i.length)>0&&(l=null===(c=null===(a=e)||void 0===a?void 0:a.Data)||void 0===c?void 0:c.Data),(null===(o=l)||void 0===o?void 0:o.length)>0&&(this.cabinetDecisionsModel=l[0].Items.splice(0,6))}},e=>{})}GetBudgetData(){this.budgeFilterModel.ModuleId=Number(this.cMISModuleEnum.BudgetAnnouncementCode),this.budgeFilterModel.JanDepartmentCode=this.DepartmentCode,this._cmisModuleService.GetAllCMISModuleDataGroupByDepartment(this.budgeFilterModel).subscribe(e=>{var t,n,i,a,c,o;if(e.IsSuccess){var l=[];(null===(i=null===(n=null===(t=e)||void 0===t?void 0:t.Data)||void 0===n?void 0:n.Data)||void 0===i?void 0:i.length)>0&&(l=null===(c=null===(a=e)||void 0===a?void 0:a.Data)||void 0===c?void 0:c.Data),(null===(o=l)||void 0===o?void 0:o.length)>0&&(this.budgetModel=l[0].Items.splice(0,6))}},e=>{})}GetDepartmentAchivement_DeptCatWiseList(){this.filterModel.DepartmentCode=this.DepartmentCode,this.filterModel.OrderBy="AchievementDate",this.filterModel.OrderByAsc=0,this.filterModel.PageSize=101,this._importantDecisionService.GetDepartmentAchivement_DeptCatWiseList(this.filterModel).subscribe(e=>{if(e.IsSuccess){if(this.allAchievementList=e.Data.Data,this.allAchievementList&&this.allAchievementList.length>0){let e=0,t=0,n=this.catEnum.NewInitiativesCode;this.newInitiativeAchievementList=[],this.otherAchievementList=[],this.allAchievementList.forEach(i=>{i.AchievementCategoryCode==n&&e<6?(this.newInitiativeAchievementList.push(i),e++):i.AchievementCategoryCode!=n&&t<6&&(this.otherAchievementList.push(i),t++)})}}else this.allAchievementList=[]},e=>{this.allAchievementList=[],console.error(e)})}getReadMoreData(e){this.readMoreHTML=e}}return e.\u0275fac=function(t){return new(t||e)(m.Vb(Ga.a),m.Vb(c.d),m.Vb(u.a),m.Vb(Ra),m.Vb(g.a))},e.\u0275cmp=m.Pb({type:e,selectors:[["app-ddw-cmis-module"]],inputs:{DepartmentCode:"DepartmentCode",BackGroundClass:"BackGroundClass"},decls:26,vars:14,consts:[[1,"container"],[1,"row"],[1,"col-lg-12"],[1,"tab-design1","tab-info-design-dept"],["id","myTab","role","tablist",1,"nav","nav-tabs","justify-content-center"],["class","nav-item",4,"ngIf"],["id","myTabContent",1,"tab-content","p-4"],["class","tab-pane fade show active","id","dep-tab1",4,"ngIf"],["class","tab-pane fade","id","dep-tab2",4,"ngIf"],["class","tab-pane fade","id","dep-tab3",4,"ngIf"],["class","tab-pane fade","id","dep-tab4",4,"ngIf"],["class","tab-pane fade","id","dep-tab5",4,"ngIf"],["id","ReadMoreModal","tabindex","-1","role","dialog","aria-labelledby","ReadMoreModal","aria-hidden","true",1,"modal","fade","modal-dsign-sm"],["role","document",1,"modal-dialog","modal-dialog-centered"],[1,"modal-content"],[1,"modal-body"],[1,"d-block","mb-4"],["type","button","data-dismiss","modal","aria-label","Close",1,"close"],["aria-hidden","true"],[3,"innerHTML"],[1,"nav-item"],["data-toggle","tab","href","#dep-tab1",1,"nav-link","active"],["src","assets/images/icon-dept-achievements.png",3,"title","alt"],["data-toggle","tab","href","#dep-tab2",1,"nav-link"],["src","assets/images/icon-dept-initiative.png",3,"title","alt"],["data-toggle","tab","href","#dep-tab3",1,"nav-link"],["src","assets/images/icon-dept-budget.png",3,"title","alt"],["data-toggle","tab","href","#dep-tab4",1,"nav-link"],["src","assets/images/icon-dept-cabinet-des.png",3,"title","alt"],["data-toggle","tab","href","#dep-tab5",1,"nav-link"],["src","assets/images/icon-dept-janghoshna.png",3,"title","alt"],["id","dep-tab1",1,"tab-pane","fade","show","active"],["class","col-xl-4 col-lg-6 col-md-6 col-sm-12 mb-3",4,"ngFor","ngForOf"],["class","col-lg-12 text-center",4,"ngIf"],[1,"col-xl-4","col-lg-6","col-md-6","col-sm-12","mb-3"],[1,"card-design-1","d-flex"],[1,"card-design-1-img"],[1,"card-design-1-detail"],["href","#","class","text-primary","data-toggle","modal","data-target","#ReadMoreModal",3,"click",4,"ngIf"],["href","#","data-toggle","modal","data-target","#ReadMoreModal",1,"text-primary",3,"click"],[1,"col-lg-12","text-center"],["routerLink","/home/departmental-achievements-detail",1,"btn","btn-round","btn-theme","btn-yellow"],["id","dep-tab2",1,"tab-pane","fade"],[3,"src","title","alt","error"],[1,"btn","btn-round","btn-theme","btn-yellow",3,"routerLink"],["id","dep-tab3",1,"tab-pane","fade"],["id","dep-tab4",1,"tab-pane","fade"],["id","dep-tab5",1,"tab-pane","fade"]],template:function(e,t){1&e&&(m.ac(0,"section"),m.ac(1,"div",0),m.ac(2,"div",1),m.ac(3,"div",2),m.ac(4,"section",3),m.ac(5,"ul",4),m.Tc(6,Xa,7,9,"li",5),m.Tc(7,Ba,7,9,"li",5),m.Tc(8,Ua,7,9,"li",5),m.Tc(9,za,7,9,"li",5),m.Tc(10,ja,7,9,"li",5),m.Zb(),m.ac(11,"div",6),m.Tc(12,Ja,4,2,"div",7),m.Tc(13,tc,4,2,"div",8),m.Tc(14,ac,7,5,"div",9),m.Tc(15,rc,4,2,"div",10),m.Tc(16,uc,4,2,"div",11),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.ac(17,"div",12),m.ac(18,"div",13),m.ac(19,"div",14),m.ac(20,"div",15),m.ac(21,"div",16),m.ac(22,"button",17),m.ac(23,"span",18),m.Vc(24,"\xd7"),m.Zb(),m.Zb(),m.Zb(),m.Wb(25,"P",19),m.Zb(),m.Zb(),m.Zb(),m.Zb()),2&e&&(m.Lb("home-about-us ",t.BackGroundClass,""),m.Hb(6),m.tc("ngIf",(null==t.otherAchievementList?null:t.otherAchievementList.length)>0),m.Hb(1),m.tc("ngIf",(null==t.newInitiativeAchievementList?null:t.newInitiativeAchievementList.length)>0),m.Hb(1),m.tc("ngIf",(null==t.budgetModel?null:t.budgetModel.length)>0),m.Hb(1),m.tc("ngIf",(null==t.cabinetDecisionsModel?null:t.cabinetDecisionsModel.length)>0),m.Hb(1),m.tc("ngIf",(null==t.JanghoshnaModel?null:t.JanghoshnaModel.length)>0),m.Hb(2),m.tc("ngIf",(null==t.otherAchievementList?null:t.otherAchievementList.length)>0),m.Hb(1),m.tc("ngIf",(null==t.newInitiativeAchievementList?null:t.newInitiativeAchievementList.length)>0),m.Hb(1),m.tc("ngIf",(null==t.budgetModel?null:t.budgetModel.length)>0),m.Hb(1),m.tc("ngIf",(null==t.cabinetDecisionsModel?null:t.cabinetDecisionsModel.length)>0),m.Hb(1),m.tc("ngIf",(null==t.JanghoshnaModel?null:t.JanghoshnaModel.length)>0),m.Hb(9),m.tc("innerHTML",t.readMoreHTML,m.Nc))},directives:[i.n,i.m,h.d],pipes:[c.c,i.u],styles:[""]}),e})();var gc=n("T5CN"),hc=n("Lexf"),pc=n("t7Da");function fc(e,t){if(1&e&&(m.ac(0,"section"),m.ac(1,"div",1),m.ac(2,"div",2),m.ac(3,"div",3),m.Wb(4,"p",4),m.Zb(),m.Zb(),m.Zb(),m.Zb()),2&e){const e=m.mc();m.Lb("dept-dynamic-info-home-page ",e.BackGroundClass,""),m.Hb(4),m.tc("innerHTML",e.sanitizer.bypassSecurityTrustHtml("hi"==e.translate.currentLang&&null!=e.dataModel&&e.dataModel.DetailsInHindi?null==e.dataModel?null:e.dataModel.DetailsInHindi:null==e.dataModel?null:e.dataModel.Details),m.Nc)}}let vc=(()=>{class e{constructor(e,t,n,i,a,c,o){this.departmentProfile=e,this.translate=t,this.sanitizer=n,this._route=i,this.orderService=a,this.commonService=c,this._distDeptService=o,this.pageTitle=new s.f,this.dataModel=new Ci.d,this.departmentProfileFilterModel=new Ci.c,this.departmentRecordsExist=!1,this.departmentProfileTotalRecords=0,this.totalRecords=0,this.DateFormat=d.a.DateFormat,this.orderValDocEnum=gc.f,this.orderPublicPortal=[],this.orderFilterModel=new hc.d,this.entryDataType=vi.e,this.IsLoading=!0,this.departmentProfilePagerConfig={id:"departmentProfile-paging",itemsPerPage:this.departmentProfileFilterModel.IndexModel.PageSize,currentPage:this.departmentProfileFilterModel.IndexModel.Page,totalItems:this.departmentProfileTotalRecords}}ngOnInit(){this.getDepartmentProfileListData()}getEntryTypeDetail(){this.orderPublicPortal=[],this.IsLoading=!0,this.JankalyanEntrymodel=void 0,this.pageTitle=new s.f,this.departmentProfileFilterModel.EntryTypeCode&&this._distDeptService.GetJankalyanEntryTypeDetail(Number(this.departmentProfileFilterModel.EntryTypeCode)).subscribe(e=>{if(e.IsSuccess){let t=e.Data;this.JankalyanEntrymodel=e.Data,t&&this.JankalyanEntrymodel.GovernmentDocumentTypeCode&&this.JankalyanEntrymodel.GovernmentDocumentSubTypeCode&&this.GetGovDocList()}},e=>{console.error(e)})}getDepartmentProfileListData(){this.IsLoading=!0,this.dataModel=void 0,this.departmentProfileFilterModel.IndexModel.PageSize=1,this.departmentProfileFilterModel.JankalyanCategoryCode=vi.b.AboutDepartmantDistCode,this.departmentProfileFilterModel.EntryTypeCode=vi.d.HomeCode,this.departmentProfileFilterModel.DepartmentCode=this.commonService.GetWebDistDeptCode(),this.departmentProfile.GetList(this.departmentProfileFilterModel).subscribe(e=>{var t,n,i,a;e.IsSuccess?(this.departmentProfileModel=null===(n=null===(t=e)||void 0===t?void 0:t.Data)||void 0===n?void 0:n.Data,this.dataModel=this.departmentProfileModel&&1==this.departmentProfileModel.length?this.departmentProfileModel[0]:new Ci.d,this.departmentProfileFilterModel.IndexModel.IsPostBack||(this.departmentProfileTotalRecords=(null===(a=null===(i=e)||void 0===i?void 0:i.Data)||void 0===a?void 0:a.TotalRecords)||0)):this.dataModel={},this.IsLoading=!1},e=>{this.dataModel={},this.IsLoading=!1})}GetGovDocList(){this.orderFilterModel.IndexModel.Page=1,this.orderFilterModel.IndexModel.PageSize=10,this.orderFilterModel.Type=this.JankalyanEntrymodel.GovernmentDocumentTypeCode,this.orderFilterModel.SubTypeCode=this.JankalyanEntrymodel.GovernmentDocumentSubTypeCode,this.orderService.Get(this.orderFilterModel).subscribe(e=>{var t,n,i,a;this.orderPublicPortal=[],e.IsSuccess?(this.orderPublicPortal=null===(n=null===(t=e)||void 0===t?void 0:t.Data)||void 0===n?void 0:n.Data,this.orderFilterModel.IndexModel.IsPostBack||(this.totalRecords=null===(a=null===(i=e)||void 0===i?void 0:i.Data)||void 0===a?void 0:a.TotalRecords)):this.totalRecords=0},e=>{console.error(e.message)})}}return e.\u0275fac=function(t){return new(t||e)(m.Vb(Hi.a),m.Vb(c.d),m.Vb(b.b),m.Vb(h.a),m.Vb(pc.a),m.Vb(g.a),m.Vb(p.a))},e.\u0275cmp=m.Pb({type:e,selectors:[["app-ddw-department-info"]],inputs:{BackGroundClass:"BackGroundClass"},decls:1,vars:1,consts:[[3,"class",4,"ngIf"],[1,"container"],[1,"row"],[1,"col-lg-12"],[2,"text-align","justify !important",3,"innerHTML"]],template:function(e,t){1&e&&m.Tc(0,fc,5,4,"section",0),2&e&&m.tc("ngIf",null==t.dataModel?null:t.dataModel.Details)},directives:[i.n],styles:[""]}),e})();function Cc(e,t){1&e&&(m.ac(0,"li",12),m.ac(1,"a",13),m.Wb(2,"img",14),m.nc(3,"translate"),m.nc(4,"translate"),m.Vc(5),m.nc(6,"translate"),m.Zb(),m.Zb()),2&e&&(m.Hb(2),m.uc("alt",m.oc(3,3,"AboutTitle_txt")),m.uc("title",m.oc(4,5,"AboutTitle_txt")),m.Hb(3),m.Xc(" ",m.oc(6,7,"AboutTitle_txt")," "))}function Hc(e,t){1&e&&(m.ac(0,"li",12),m.ac(1,"a",15),m.Wb(2,"img",16),m.nc(3,"translate"),m.nc(4,"translate"),m.Vc(5),m.nc(6,"translate"),m.Zb(),m.Zb()),2&e&&(m.Hb(2),m.uc("alt",m.oc(3,3,"FairFestivals_txt")),m.uc("title",m.oc(4,5,"FairFestivals_txt")),m.Hb(3),m.Xc(" ",m.oc(6,7,"FairFestivals_txt")," "))}function Dc(e,t){1&e&&(m.ac(0,"li",12),m.ac(1,"a",17),m.Wb(2,"img",18),m.nc(3,"translate"),m.nc(4,"translate"),m.Vc(5),m.nc(6,"translate"),m.Zb(),m.Zb()),2&e&&(m.Hb(2),m.uc("alt",m.oc(3,3,"ArtCulture_txt")),m.uc("title",m.oc(4,5,"ArtCulture_txt")),m.Hb(3),m.Xc(" ",m.oc(6,7,"ArtCulture_txt")," "))}function Mc(e,t){1&e&&(m.ac(0,"li",12),m.ac(1,"a",19),m.Wb(2,"img",20),m.nc(3,"translate"),m.nc(4,"translate"),m.Vc(5),m.nc(6,"translate"),m.Zb(),m.Zb()),2&e&&(m.Hb(2),m.uc("alt",m.oc(3,3,"PlacesVisit_txt")),m.uc("title",m.oc(4,5,"PlacesVisit_txt")),m.Hb(3),m.Xc(" ",m.oc(6,7,"PlacesVisit_txt")," "))}function Ic(e,t){1&e&&(m.ac(0,"li",12),m.ac(1,"a",21),m.Wb(2,"img",22),m.nc(3,"translate"),m.nc(4,"translate"),m.Vc(5),m.nc(6,"translate"),m.Zb(),m.Zb()),2&e&&(m.Hb(2),m.uc("alt",m.oc(3,3,"HowReach_txt")),m.uc("title",m.oc(4,5,"HowReach_txt")),m.Hb(3),m.Xc(" ",m.oc(6,7,"HowReach_txt")," "))}function Zc(e,t){if(1&e&&(m.ac(0,"div",23),m.ac(1,"div",1),m.ac(2,"div",2),m.ac(3,"div",3),m.Wb(4,"p",24),m.ac(5,"a",25),m.Vc(6),m.nc(7,"translate"),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.Zb()),2&e){const e=m.mc();m.Hb(4),m.tc("innerHTML",e.sanitizer.bypassSecurityTrustHtml("hi"==e.translate.currentLang&&null!=e.dataModel&&e.dataModel.DetailsInHindi?null==e.dataModel?null:e.dataModel.DetailsInHindi:null==e.dataModel?null:e.dataModel.Details),m.Nc),m.Hb(1),m.vc("routerLink","/home/district-info/",e.DepartmentCode,""),m.Hb(1),m.Xc(" ",m.oc(7,3,"ViewAll_txt")," ")}}const Tc=function(e){return{active:e}};function yc(e,t){if(1&e){const e=m.bc();m.ac(0,"div",38),m.ac(1,"div",39),m.ac(2,"div",40),m.ac(3,"div",41),m.ac(4,"img",42),m.ic("error",(function(t){return m.Mc(e),m.mc(2)._commonService.onImageError(t,"assets/images/record-not-found.png")})),m.Zb(),m.Zb(),m.Zb(),m.ac(5,"div",43),m.ac(6,"h2",44),m.Vc(7),m.Zb(),m.Wb(8,"pre",45),m.Zb(),m.Zb(),m.Zb()}if(2&e){const e=t.$implicit,n=t.index,i=m.mc(2);m.tc("ngClass",m.Ec(6,Tc,0==n)),m.Hb(4),m.uc("src",null==e?null:e.ImagePath,m.Pc),m.uc("title","en"==i.translate.currentLang?e.AchievementHindi:e.SubjectHindi),m.uc("alt","en"==i.translate.currentLang?e.AchievementHindi:e.SubjectHindi),m.Hb(3),m.Xc(" ","en"==i.translate.currentLang?e.AchievementHindi:e.SubjectHindi?e.SubjectHindi:e.AchievementHindi," "),m.Hb(1),m.tc("innerHTML","hi"==i.translate.currentLang?e.EditorDetail:e.EditorDetailEnglish,m.Nc)}}function xc(e,t){if(1&e&&(m.ac(0,"div",26),m.ac(1,"div",1),m.ac(2,"div",27),m.ac(3,"div",28),m.Tc(4,yc,9,8,"div",29),m.Zb(),m.ac(5,"div",30),m.ac(6,"a",31),m.ac(7,"span",32),m.Wb(8,"i",33),m.Zb(),m.ac(9,"span",34),m.Vc(10,"Previous"),m.Zb(),m.Zb(),m.ac(11,"a",35),m.ac(12,"span",32),m.Wb(13,"i",36),m.Zb(),m.ac(14,"span",34),m.Vc(15,"Next"),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.ac(16,"div",37),m.ac(17,"a",25),m.Vc(18),m.nc(19,"translate"),m.Zb(),m.Zb(),m.Zb()),2&e){const e=m.mc();m.Hb(4),m.tc("ngForOf",e.festivalsModel),m.Hb(13),m.wc("routerLink","/home/district-info-detail/",e.DepartmentCode,"/",e.achievementEnum.DFestivalsCode,""),m.Hb(1),m.Xc(" ",m.oc(19,4,"ViewAll_txt")," ")}}function Pc(e,t){if(1&e){const e=m.bc();m.ac(0,"div",48),m.ac(1,"div",49),m.ac(2,"div",50),m.ac(3,"img",42),m.ic("error",(function(t){return m.Mc(e),m.mc(2)._commonService.onImageError(t,"assets/images/default.png")})),m.Zb(),m.Zb(),m.ac(4,"div",51),m.ac(5,"a",52),m.Vc(6),m.Zb(),m.Wb(7,"pre",45),m.Zb(),m.Zb(),m.Zb()}if(2&e){const e=t.$implicit,n=m.mc(2);m.Hb(3),m.uc("src",null==e?null:e.ImagePath,m.Pc),m.uc("title","en"==n.translate.currentLang?e.AchievementHindi:e.SubjectHindi),m.uc("alt","en"==n.translate.currentLang?e.AchievementHindi:e.SubjectHindi),m.Hb(2),m.vc("routerLink","/home/district-info-detail/",n.DepartmentCode,"/art-&-culture"),m.Hb(1),m.Xc(" ","en"==n.translate.currentLang?e.AchievementHindi:e.SubjectHindi?e.SubjectHindi:e.AchievementHindi," "),m.Hb(1),m.tc("innerHTML","hi"==n.translate.currentLang?e.EditorDetail:e.EditorDetailEnglish,m.Nc)}}function Sc(e,t){if(1&e&&(m.ac(0,"div",46),m.ac(1,"div",1),m.ac(2,"div",2),m.Tc(3,Pc,8,6,"div",47),m.ac(4,"div",37),m.ac(5,"a",25),m.Vc(6),m.nc(7,"translate"),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.Zb()),2&e){const e=m.mc();m.Hb(3),m.tc("ngForOf",e.artCultureLifestyleModel),m.Hb(2),m.wc("routerLink","/home/district-info-detail/",e.DepartmentCode,"/",e.achievementEnum.DArtCultureLifestyleCode,""),m.Hb(1),m.Xc(" ",m.oc(7,4,"ViewAll_txt")," ")}}function _c(e,t){if(1&e){const e=m.bc();m.ac(0,"div",56),m.ac(1,"div",49),m.ac(2,"div",57),m.ac(3,"img",42),m.ic("error",(function(t){return m.Mc(e),m.mc(2)._commonService.onImageError(t,"assets/images/default.png")})),m.Zb(),m.Zb(),m.ac(4,"div",51),m.ac(5,"h2",58),m.Vc(6),m.Zb(),m.Wb(7,"pre",45),m.Zb(),m.Zb(),m.Zb()}if(2&e){const e=t.$implicit,n=m.mc(2);m.Hb(3),m.uc("src",null==e?null:e.ImagePath,m.Pc),m.uc("title","en"==n.translate.currentLang?e.AchievementHindi:e.SubjectHindi),m.uc("alt","en"==n.translate.currentLang?e.AchievementHindi:e.SubjectHindi),m.Hb(3),m.Xc(" ","en"==n.translate.currentLang?e.AchievementHindi:e.SubjectHindi?e.SubjectHindi:e.AchievementHindi," "),m.Hb(1),m.tc("innerHTML","hi"==n.translate.currentLang?e.EditorDetail:e.EditorDetailEnglish,m.Nc)}}function wc(e,t){if(1&e&&(m.ac(0,"div",53),m.ac(1,"div",1),m.ac(2,"div",2),m.Tc(3,_c,8,5,"div",54),m.ac(4,"div",55),m.ac(5,"a",25),m.Vc(6),m.nc(7,"translate"),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.Zb()),2&e){const e=m.mc();m.Hb(3),m.tc("ngForOf",e.touristPlacesModel),m.Hb(2),m.wc("routerLink","/home/district-info-detail/",e.DepartmentCode,"/",e.achievementEnum.DTouristPlacesCode,""),m.Hb(1),m.Xc(" ",m.oc(7,4,"ViewAll_txt")," ")}}function Lc(e,t){if(1&e){const e=m.bc();m.Yb(0),m.ac(1,"div",61),m.ac(2,"h2",62),m.ac(3,"img",63),m.ic("error",(function(t){return m.Mc(e),m.mc(2)._commonService.onImageError(t,"assets/images/departmental_galley.png")})),m.Zb(),m.Vc(4),m.Zb(),m.Wb(5,"pre",45),m.Zb(),m.Xb()}if(2&e){const e=t.$implicit,n=m.mc(2);m.Hb(3),m.uc("src",null==e?null:e.AchievementSubCategoryImagePath,m.Pc),m.uc("title","en"==n.translate.currentLang?e.AchievementHindi:e.SubjectHindi),m.uc("alt","en"==n.translate.currentLang?e.AchievementHindi:e.SubjectHindi),m.Hb(1),m.Xc(" ","en"==n.translate.currentLang?e.AchievementHindi:e.SubjectHindi?e.SubjectHindi:e.AchievementHindi," "),m.Hb(1),m.tc("innerHTML","hi"==n.translate.currentLang?e.EditorDetail:e.EditorDetailEnglish,m.Nc)}}function Vc(e,t){if(1&e&&(m.ac(0,"div",59),m.ac(1,"div",1),m.ac(2,"div",2),m.ac(3,"div",3),m.Tc(4,Lc,6,5,"ng-container",60),m.ac(5,"div",37),m.ac(6,"a",25),m.Vc(7),m.nc(8,"translate"),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.Zb()),2&e){const e=m.mc();m.Hb(4),m.tc("ngForOf",e.howtoReachModel),m.Hb(2),m.wc("routerLink","/home/district-info-detail/",e.DepartmentCode,"/",e.achievementEnum.DHowtoReachCode,""),m.Hb(1),m.Xc(" ",m.oc(8,4,"ViewAll_txt")," ")}}let kc=(()=>{class e{constructor(e,t,n,i,a,c,l){this.departmentProfile=e,this.translate=t,this.sanitizer=n,this._achivementService=i,this._titleService=a,this._commonService=c,this._route=l,this.DepartmentCode=0,this.achievementEnum=o.a,this.dataModel=new Ci.d,this.departmentProfileFilterModel=new Ci.c,this.jankalyanEntryTypeEnum=vi.d,this.artCultureLifestyleModel=[],this.festivalsModel=[],this.howtoReachModel=[],this.touristPlacesModel=[]}ngOnInit(){this._route.paramMap.subscribe(e=>{this.getDepartmentProfileListData(),this.GetFestivalseData(),this.GetArtCultureLifestyleData(),this.GetTouristPlacesData(),this.GetHowToReachData()})}GetFestivalseData(){let e=new l.b;e.IndexModel.OrderBy="Priority",e.IndexModel.OrderByAsc=0,e.CategoryCode=this.achievementEnum.DFestivalsCode,e.DepartmentCode=this.DepartmentCode,e.IndexModel.PageSize=3,this._achivementService.GetAchievementListBySearchFilterData(e,!0).subscribe(e=>{e.IsSuccess&&(this.festivalsModel=[],this.festivalsModel=e.Data.Data)},e=>{console.error(e)})}GetArtCultureLifestyleData(){let e=new l.b;e.IndexModel.OrderBy="Priority",e.IndexModel.OrderByAsc=0,e.CategoryCode=this.achievementEnum.DArtCultureLifestyleCode,e.DepartmentCode=this.DepartmentCode,e.IndexModel.PageSize=3,this._achivementService.GetAchievementListBySearchFilterData(e,!0).subscribe(e=>{e.IsSuccess&&(this.artCultureLifestyleModel=[],this.artCultureLifestyleModel=e.Data.Data)},e=>{console.error(e)})}GetHowToReachData(){let e=new l.b;e.IndexModel.OrderBy="Priority",e.IndexModel.OrderByAsc=1,e.CategoryCode=this.achievementEnum.DHowtoReachCode,e.DepartmentCode=this.DepartmentCode,e.IndexModel.PageSize=3,this._achivementService.GetAchievementListBySearchFilterData(e,!0).subscribe(e=>{e.IsSuccess&&(this.howtoReachModel=[],this.howtoReachModel=e.Data.Data)},e=>{console.error(e)})}GetTouristPlacesData(){let e=new l.b;e.IndexModel.OrderBy="Priority",e.IndexModel.OrderByAsc=0,e.CategoryCode=this.achievementEnum.DTouristPlacesCode,e.DepartmentCode=this.DepartmentCode,e.IndexModel.PageSize=3,this._achivementService.GetAchievementListBySearchFilterData(e,!0).subscribe(e=>{e.IsSuccess&&(this.touristPlacesModel=[],this.touristPlacesModel=e.Data.Data)},e=>{console.error(e)})}getDepartmentProfileListData(){this.departmentProfileFilterModel.IndexModel.PageSize=1,this.departmentProfileFilterModel.DepartmentCode=this.DepartmentCode,this.departmentProfileFilterModel.EntryTypeCode=this.jankalyanEntryTypeEnum.AboutCode,this.departmentProfile.GetList(this.departmentProfileFilterModel).subscribe(e=>{var t,n;if(e.IsSuccess)if(this.departmentProfileModel=null===(n=null===(t=e)||void 0===t?void 0:t.Data)||void 0===n?void 0:n.Data,this.departmentProfileModel&&this.departmentProfileModel.length>1)for(let i in this.departmentProfileModel)this.departmentProfileModel[i].Details=this.departmentProfileModel[i].Details;else this.departmentProfileModel&&1==this.departmentProfileModel.length?(this.dataModel=this.departmentProfileModel[0],this.dataModel.Details=this.departmentProfileModel[0].Details):this.dataModel=new Ci.d;else this.dataModel=new Ci.d},e=>{console.error(e.message)})}onDownload(e){e&&open("'url'","_blank").document.write('')}}return e.\u0275fac=function(t){return new(t||e)(m.Vb(Hi.a),m.Vb(c.d),m.Vb(b.b),m.Vb(u.a),m.Vb(b.d),m.Vb(g.a),m.Vb(h.a))},e.\u0275cmp=m.Pb({type:e,selectors:[["app-ddw-district-info"]],inputs:{DepartmentCode:"DepartmentCode",BackGroundClass:"BackGroundClass"},decls:17,vars:13,consts:[[1,"tab-design1","tab-info-design-district"],[1,"container"],[1,"row"],[1,"col-lg-12"],["id","myTab","role","tablist",1,"nav","nav-tabs","justify-content-center","mb-4","border-0"],["class","nav-item",4,"ngIf"],["id","myTabContent",1,"tab-content","p-0"],["class","tab-pane tab-dis-about bg-overlay position-relative fade show active","id","dis-tab1",4,"ngIf"],["class","tab-pane fade tab-dis-fair bg-overlay position-relative","id","dis-tab2",4,"ngIf"],["class","tab-pane fade tab-dis-culture bg-overlay position-relative","id","dis-tab3",4,"ngIf"],["class","tab-pane fade tab-dis-place-visit bg-overlay position-relative","id","dis-tab4",4,"ngIf"],["class","tab-pane fade tab-dis-how-reach bg-overlay position-relative","id","dis-tab5",4,"ngIf"],[1,"nav-item"],["data-toggle","tab","href","#dis-tab1",1,"nav-link","active"],["src","assets/images/icon-district-tab-1.png",3,"alt","title"],["data-toggle","tab","href","#dis-tab2",1,"nav-link"],["src","assets/images/icon-district-tab-2.png",3,"alt","title"],["data-toggle","tab","href","#dis-tab3",1,"nav-link"],["src","assets/images/icon-district-tab-3.png",3,"alt","title"],["data-toggle","tab","href","#dis-tab4",1,"nav-link"],["src","assets/images/icon-district-tab-4.png",3,"alt","title"],["data-toggle","tab","href","#dis-tab5",1,"nav-link"],["src","assets/images/icon-district-tab-5.png",3,"alt","title"],["id","dis-tab1",1,"tab-pane","tab-dis-about","bg-overlay","position-relative","fade","show","active"],[2,"text-align","justify !important",3,"innerHTML"],[1,"btn","btn-round","btn-theme","btn-yellow",3,"routerLink"],["id","dis-tab2",1,"tab-pane","fade","tab-dis-fair","bg-overlay","position-relative"],["id","SliderData-1","data-ride","carousel",1,"carousel","slide","slider-data-d-1"],[1,"carousel-inner"],["class","carousel-item mb-4 custom-slider-1",3,"ngClass",4,"ngFor","ngForOf"],[1,"slider-data-d-1-arrow"],["href","#SliderData-1","role","button","data-slide","prev",1,"slider-data-d-1-arrow-icon"],["aria-hidden","true"],[1,"fas","fa-chevron-left"],[1,"sr-only"],["href","#SliderData-1","role","button","data-slide","next",1,"slider-data-d-1-arrow-icon"],[1,"fas","fa-chevron-right"],[1,"col-lg-12","text-center"],[1,"carousel-item","mb-4","custom-slider-1",3,"ngClass"],[1,"row","align-items-center"],[1,"col-lg-5","p-0"],[1,"festival-img","d-flex","align-items-center","justify-content-center","img-box"],[3,"src","title","alt","error"],[1,"col-lg-7","mt-4","mt-lg-0","festival-details","px-4","py-3"],[1,"text-color-theme-blue","font-size-5x","mb-3"],[3,"innerHTML"],["id","dis-tab3",1,"tab-pane","fade","tab-dis-culture","bg-overlay","position-relative"],["class","col-lg-4 col-sm-6 mb-5",4,"ngFor","ngForOf"],[1,"col-lg-4","col-sm-6","mb-5"],[1,"card-2-design","box-box-shadow","h-100"],[1,"card-2-design-img","d-flex","align-items-center","justify-content-center","position-relative"],[1,"card-2-design-detail","p-3"],[1,"text-color-theme-blue","font-size-3x","mb-2","d-block",3,"routerLink"],["id","dis-tab4",1,"tab-pane","fade","tab-dis-place-visit","bg-overlay","position-relative"],["class","col-lg-4 mb-4 mb-lg-0",4,"ngFor","ngForOf"],[1,"col-lg-12","text-center","mt-5"],[1,"col-lg-4","mb-4","mb-lg-0"],[1,"card-2-design-img","d-flex","align-items-center","justify-content-center"],[1,"text-color-theme-blue","font-size-4x","mb-2","place-visit-title"],["id","dis-tab5",1,"tab-pane","fade","tab-dis-how-reach","bg-overlay","position-relative"],[4,"ngFor","ngForOf"],[1,"mb-4","col-md-12"],[1,"text-color-theme-blue","font-size-4x","mb-3","d-flex","align-items-center","how-reach-img"],[1,"mr-10",3,"src","title","alt","error"]],template:function(e,t){1&e&&(m.ac(0,"section"),m.ac(1,"section",0),m.ac(2,"div",1),m.ac(3,"div",2),m.ac(4,"div",3),m.ac(5,"ul",4),m.Tc(6,Cc,7,9,"li",5),m.Tc(7,Hc,7,9,"li",5),m.Tc(8,Dc,7,9,"li",5),m.Tc(9,Mc,7,9,"li",5),m.Tc(10,Ic,7,9,"li",5),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.ac(11,"div",6),m.Tc(12,Zc,8,5,"div",7),m.Tc(13,xc,20,6,"div",8),m.Tc(14,Sc,8,6,"div",9),m.Tc(15,wc,8,6,"div",10),m.Tc(16,Vc,9,6,"div",11),m.Zb(),m.Zb(),m.Zb()),2&e&&(m.Lb("home-about-us ",t.BackGroundClass," "),m.Hb(6),m.tc("ngIf",null==t.dataModel?null:t.dataModel.Details),m.Hb(1),m.tc("ngIf",(null==t.festivalsModel?null:t.festivalsModel.length)>0),m.Hb(1),m.tc("ngIf",(null==t.artCultureLifestyleModel?null:t.artCultureLifestyleModel.length)>0),m.Hb(1),m.tc("ngIf",(null==t.touristPlacesModel?null:t.touristPlacesModel.length)>0),m.Hb(1),m.tc("ngIf",(null==t.howtoReachModel?null:t.howtoReachModel.length)>0),m.Hb(2),m.tc("ngIf",null==t.dataModel?null:t.dataModel.Details),m.Hb(1),m.tc("ngIf",(null==t.festivalsModel?null:t.festivalsModel.length)>0),m.Hb(1),m.tc("ngIf",(null==t.artCultureLifestyleModel?null:t.artCultureLifestyleModel.length)>0),m.Hb(1),m.tc("ngIf",(null==t.touristPlacesModel?null:t.touristPlacesModel.length)>0),m.Hb(1),m.tc("ngIf",(null==t.howtoReachModel?null:t.howtoReachModel.length)>0))},directives:[i.n,h.d,i.m,i.l],pipes:[c.c],styles:[""]}),e})();function Nc(e,t){if(1&e&&(m.ac(0,"a",6),m.Vc(1),m.nc(2,"translate"),m.Zb()),2&e){const e=m.mc();m.vc("routerLink","/pages/inaugurations/",e.DepartmentCode,""),m.Hb(1),m.Xc(" ",m.oc(2,2,"ViewAll_txt")," ")}}function Oc(e,t){if(1&e){const e=m.bc();m.ac(0,"div",9),m.ac(1,"a",10),m.ac(2,"div",11),m.Vc(3),m.nc(4,"date"),m.Zb(),m.ac(5,"div",12),m.ac(6,"img",13),m.ic("error",(function(t){return m.Mc(e),m.mc(2)._commonService.onImageError(t,"assets/images/dpt-Inaugration.png")})),m.Zb(),m.Zb(),m.ac(7,"div",14),m.Vc(8),m.Zb(),m.Zb(),m.Zb()}if(2&e){const e=t.$implicit,n=m.mc(2);m.Hb(1),m.vc("routerLink","/home/press-release/",null==e?null:e.Id,""),m.Hb(2),m.Xc(" ","hi"==n.translate.currentLang?null==e?null:e.PressReleaseDateHindi:m.pc(4,6,null==e?null:e.PressreleaseDate,"d MMM, y")," "),m.Hb(3),m.uc("src",null==e?null:e.HomePageImageUrl,m.Pc),m.uc("alt",null==e?null:e.Description),m.uc("title",null==e?null:e.Description),m.Hb(2),m.Xc(" ",null==e?null:e.Description," ")}}function Ac(e,t){if(1&e&&(m.ac(0,"div",7),m.Tc(1,Oc,9,9,"div",8),m.Zb()),2&e){const e=m.mc();m.Hb(1),m.tc("ngForOf",e.generalModel)}}function Wc(e,t){1&e&&m.Wb(0,"app-mini-loader")}function Ec(e,t){1&e&&m.Wb(0,"app-no-records")}let Gc=(()=>{class e{constructor(e,t,n){this._commonService=e,this.translate=t,this._dptDistrictWebsiteService=n,this.DepartmentCode=0,this.departmentCode=0,this.enumdata=vi.d,this.DateFormat=d.a.DateFormat,this.departmentCode=this._commonService.GetWebDistDeptCode()}ngOnInit(){this.GetInaugrationData()}GetInaugrationData(){this.generalModel=void 0;let e=new ha.f;e.IsLokarpanInauguration=!0,e.IsBase64File=!1,e.PageSize=3,e.OrderByAsc=0,e.OrderBy="PressreleaseDate",e.DepartmentCode=this.departmentCode,e.CategoryCode=0,this._dptDistrictWebsiteService.GetDptInAugrationLink(e).subscribe(e=>{e.IsSuccess?(this.generalModel=[],this.generalModel=e.Data.Data):this.generalModel=[]},e=>{this.generalModel=[],console.error(e)})}}return e.\u0275fac=function(t){return new(t||e)(m.Vb(g.a),m.Vb(c.d),m.Vb(p.a))},e.\u0275cmp=m.Pb({type:e,selectors:[["app-ddw-inauguration"]],inputs:{DepartmentCode:"DepartmentCode",BackGroundClass:"BackGroundClass"},decls:10,vars:10,consts:[[1,"container"],[1,"col-lg-12","d-md-flex","align-items-center","justify-content-between","mb-5"],[1,"section-title","text-center","m-auto"],["class","btn btn-round btn-theme btn-yellow",3,"routerLink",4,"ngIf"],["class","row justify-content-center",4,"ngIf"],[4,"ngIf"],[1,"btn","btn-round","btn-theme","btn-yellow",3,"routerLink"],[1,"row","justify-content-center"],["class","col-lg-4 col-md-6 col-sm-12 mb-5 mb-lg-0",4,"ngFor","ngForOf"],[1,"col-lg-4","col-md-6","col-sm-12","mb-5","mb-lg-0"],[1,"home-inauguration-items","custom-card","position-relative","d-block",3,"routerLink"],[1,"home-inauguration-items-date"],[1,"home-inauguration-items-img","d-flex","align-items-center","justify-content-center"],[3,"src","alt","title","error"],[1,"home-inauguration-items-info","d-block"]],template:function(e,t){1&e&&(m.ac(0,"section"),m.ac(1,"div",0),m.ac(2,"div",1),m.ac(3,"div",2),m.Vc(4),m.nc(5,"translate"),m.Zb(),m.Tc(6,Nc,3,4,"a",3),m.Zb(),m.Tc(7,Ac,2,1,"div",4),m.Tc(8,Wc,1,0,"app-mini-loader",5),m.Tc(9,Ec,1,0,"app-no-records",5),m.Zb(),m.Zb()),2&e&&(m.Lb("home-inauguration ",t.BackGroundClass,""),m.Hb(4),m.Xc(" ",m.oc(5,8,"Inauguration_txt")," "),m.Hb(2),m.tc("ngIf",(null==t.generalModel?null:t.generalModel.length)>0),m.Hb(1),m.tc("ngIf",(null==t.generalModel?null:t.generalModel.length)>0),m.Hb(1),m.tc("ngIf",!t.generalModel),m.Hb(1),m.tc("ngIf",t.generalModel&&0==t.generalModel.length))},directives:[i.n,h.d,i.m,v.a,C.a],pipes:[c.c,i.e],styles:[""]}),e})();const Fc=["map"];function Rc(e,t){if(1&e&&(m.ac(0,"option",12),m.Vc(1),m.Zb()),2&e){const e=t.$implicit;m.tc("ngValue",e.Value),m.Hb(1),m.Xc(" ",e.Text," ")}}function Xc(e,t){if(1&e){const e=m.bc();m.ac(0,"select",9),m.ic("ngModelChange",(function(t){return m.Mc(e),m.mc().selectedOfficeCode=t}))("change",(function(){m.Mc(e);const t=m.mc();return t.displayOfficeOnMap(t.selectedOfficeCode)})),m.ac(1,"option",10),m.Vc(2,"--All--"),m.Zb(),m.Tc(3,Rc,2,2,"option",11),m.Zb()}if(2&e){const e=m.mc();m.tc("ngModel",e.selectedOfficeCode),m.Hb(3),m.tc("ngForOf",e.ddlOffice)}}function Bc(e,t){1&e&&(m.ac(0,"div",13),m.ac(1,"div",14),m.Wb(2,"div",15,16),m.Zb(),m.Zb())}function Uc(e,t){1&e&&m.Wb(0,"app-mini-loader")}let zc=(()=>{class e{constructor(e,t,n){this._commonService=e,this._departmentService=t,this.translate=n,this.deptCode=0,this.zoomLevel=12}ngOnInit(){this.getDepartmentDetail(),this.setMapConfig()}setMapConfig(){this.platform=new H.service.Platform({app_id:d.a.HereMapId,app_code:d.a.HereMapCode,useHTTPS:!0})}getDepartmentDetail(){this._departmentService.getDepartmentDetail().subscribe(e=>{e&&(this.deptCode=e.DepartmentCode,this.defaultOfficeCode=e.DefaultOfficeCode,this.selectedOfficeCode=this.defaultOfficeCode?String(this.defaultOfficeCode):"0",this.getOffices())})}getOffices(){this.deptCode>0&&this._commonService.GetOfficesFor(this.deptCode,0).subscribe(e=>{e.IsSuccess?(this.ddlOffice=e.Data.filter(e=>e.OtherData&&e.OtherData.Latitude&&e.OtherData.Longitude),this.defaultOfficeDetail=this.ddlOffice.find(e=>Number(e.Value)==this.defaultOfficeCode),setTimeout(()=>{this.bindMap()},500)):this.ddlOffice=[]},e=>{this.ddlOffice=[],console.error(e)})}bindMap(){let e=this.platform.createDefaultLayers();this.map=new H.Map(this.mapElement.nativeElement,e.normal.map,{zoom:this.defaultOfficeDetail?this.zoomLevel:6,center:{lat:this.defaultOfficeDetail?this.defaultOfficeDetail.OtherData.Latitude:d.a.HereMapLatitude,lng:this.defaultOfficeDetail?this.defaultOfficeDetail.OtherData.Longitude:d.a.HereMapLongitude}}),new H.mapevents.Behavior(new H.mapevents.MapEvents(this.map)),this.ui=H.ui.UI.createDefault(this.map,e),this.displayOfficeOnMap(this.selectedOfficeCode)}displayOfficeOnMap(e){this.map.removeObjects(this.map.getObjects());let t=this.ddlOffice.filter(t=>t.Value==e||0==e);t&&t.length>0&&t.forEach(e=>{this.addMarker({lat:e.OtherData.Latitude,lng:e.OtherData.Longitude},e.OtherData.OfficeAddress||"")})}addMarker(e,t){let n=new H.map.Marker(e);t&&(n.setData("

"+t+"

"),n.addEventListener("tap",e=>{let t=new H.ui.InfoBubble(e.target.getPosition(),{content:e.target.getData()});this.ui.addBubble(t)},!1)),this.map.addObject(n)}}return e.\u0275fac=function(t){return new(t||e)(m.Vb(g.a),m.Vb(In.a),m.Vb(c.d))},e.\u0275cmp=m.Pb({type:e,selectors:[["app-ddw-office-locator"]],viewQuery:function(e,t){var n;1&e&&m.bd(Fc,!0),2&e&&m.Jc(n=m.jc())&&(t.mapElement=n.first)},inputs:{BackGroundClass:"BackGroundClass"},decls:12,vars:9,consts:[[1,"sec-wsc-items","map-view-data"],[1,"container"],[1,"row"],[1,"col-lg-12"],[1,"wsc-4"],[1,"sec-wsc-title","text-center"],["class","form-control",3,"ngModel","ngModelChange","change",4,"ngIf"],["class","sec-wsc-body text-center",4,"ngIf"],[4,"ngIf"],[1,"form-control",3,"ngModel","ngModelChange","change"],["value","0"],[3,"ngValue",4,"ngFor","ngForOf"],[3,"ngValue"],[1,"sec-wsc-body","text-center"],[1,"map-view-data-map"],[2,"width","100%","height","500px"],["map",""]],template:function(e,t){1&e&&(m.ac(0,"section"),m.ac(1,"div",0),m.ac(2,"div",1),m.ac(3,"div",2),m.ac(4,"div",3),m.ac(5,"section",4),m.ac(6,"div",5),m.Vc(7),m.nc(8,"translate"),m.Tc(9,Xc,4,2,"select",6),m.Zb(),m.Tc(10,Bc,4,0,"div",7),m.Tc(11,Uc,1,0,"app-mini-loader",8),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.Zb()),2&e&&(m.Lb("page-web-service-configuration py-0 ",t.BackGroundClass,""),m.Hb(7),m.Xc(" ",m.oc(8,7,"OfficeLocator_txt")," "),m.Hb(2),m.tc("ngIf",t.ddlOffice&&t.ddlOffice.length>0),m.Hb(1),m.tc("ngIf",t.ddlOffice),m.Hb(1),m.tc("ngIf",!t.ddlOffice))},directives:[i.n,a.u,a.m,a.p,a.q,a.w,i.m,v.a],pipes:[c.c],styles:[".sec-wsc-items[_ngcontent-%COMP%]{background:#d4ecff;padding:45px 0}.sec-wsc-title[_ngcontent-%COMP%]{font-size:230%;color:#000;font-weight:600;margin-bottom:35px}.table-shadow[_ngcontent-%COMP%]{background:#fff;padding:10px;border-radius:15px;box-shadow:0 0 20px #d7d7d7}.caption-top[_ngcontent-%COMP%]{caption-side:top}caption[_ngcontent-%COMP%]{color:#000;font-size:20px;padding:0 0 12px;font-weight:600}.custom-form-control[_ngcontent-%COMP%]{width:100%;border:1px solid #c7c7c7;padding:10px 12px;border-radius:10px}.custom-form-control[_ngcontent-%COMP%]:focus{border-color:#000}.custom-form-control[_ngcontent-%COMP%]:focus-visible{outline:none}.table-header-fix[_ngcontent-%COMP%]{position:relative;max-height:400px}.table-header-fix[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{position:-webkit-sticky;position:sticky;top:-10px}.direct-view-data[_ngcontent-%COMP%]{background:#f3fffe!important}.map-view-data[_ngcontent-%COMP%]{background:#fcffdc!important}"]}),e})();var jc=function(e){return e.Order="Order",e.PressRelease="Press Release",e.Scheme="Scheme",e.DepartmentProfile="Department Profile",e.GeneralEntry="General Entry",e.Project="Project",e}({}),$c=function(e){return e.GovtDocument="GOVERNMENT DOCUMENT",e.GeneralEntry="GENERAL ENTRY",e}({});function Yc(e,t){if(1&e&&(m.lc(),m.kc(),m.ac(0,"a",19),m.Vc(1),m.nc(2,"translate"),m.Zb()),2&e){const e=m.mc();m.vc("routerLink","/home/press-release-list/",e.DepartmentCode,""),m.Hb(1),m.Xc(" ",m.oc(2,2,"ViewAll_txt")," ")}}function qc(e,t){if(1&e&&(m.ac(0,"a",20),m.ac(1,"div",21),m.Vc(2),m.nc(3,"date"),m.Zb(),m.ac(4,"div",22),m.Vc(5),m.Zb(),m.Zb()),2&e){const e=t.$implicit,n=m.mc();m.vc("routerLink","/home/press-release/",null==e?null:e.Id,""),m.Hb(2),m.Xc(" ","en"==n.translate.currentLang?m.pc(3,3,null==e?null:e.PressreleaseDate,"dd MMM, yyyy"):null==e?null:e.PressreleaseDateHindi," "),m.Hb(3),m.Xc(" ",null==e?null:e.Description," ")}}function Jc(e,t){1&e&&m.Wb(0,"app-mini-loader")}function Kc(e,t){1&e&&m.Wb(0,"app-no-records")}function Qc(e,t){if(1&e&&(m.lc(),m.kc(),m.ac(0,"a",19),m.Vc(1),m.nc(2,"translate"),m.Zb()),2&e){const e=m.mc();m.vc("routerLink","/pages/department-order/",e.DepartmentCode,""),m.Hb(1),m.Xc(" ",m.oc(2,2,"ViewAll_txt")," ")}}function eo(e,t){if(1&e&&(m.ac(0,"a",20),m.ac(1,"div",21),m.Vc(2),m.nc(3,"date"),m.Zb(),m.ac(4,"div",22),m.Vc(5),m.Zb(),m.Zb()),2&e){const e=t.$implicit;m.mc(),m.vc("routerLink","/order/detail/",null==e?null:e.Id,""),m.Hb(2),m.Xc(" ",m.pc(3,3,null==e?null:e.Date,"dd MMM, yyyy")," "),m.Hb(3),m.Xc(" ",null==e?null:e.Title," ")}}function to(e,t){1&e&&m.Wb(0,"app-mini-loader")}function no(e,t){1&e&&m.Wb(0,"app-no-records")}function io(e,t){if(1&e&&(m.lc(),m.kc(),m.ac(0,"a",19),m.Vc(1),m.nc(2,"translate"),m.Zb()),2&e){const e=m.mc(2);m.vc("routerLink","/pages/tender-list/",e.DepartmentCode,""),m.Hb(1),m.Xc(" ",m.oc(2,2,"ViewAll_txt")," ")}}function ao(e,t){if(1&e&&(m.ac(0,"a",25),m.ac(1,"div",21),m.Vc(2),m.nc(3,"date"),m.Zb(),m.ac(4,"div",22),m.Vc(5),m.Zb(),m.Zb()),2&e){const e=t.$implicit;m.mc(2),m.uc("href",null==e?null:e.SoftCopyURL,m.Pc),m.Hb(2),m.Xc(" ",m.pc(3,3,null==e?null:e.ReleaseDate,"dd MMM, yyyy")," "),m.Hb(3),m.Xc(" ",null==e?null:e.NITPurpose," ")}}function co(e,t){1&e&&m.Wb(0,"app-mini-loader")}function oo(e,t){1&e&&m.Wb(0,"app-no-records")}function lo(e,t){if(1&e&&(m.ac(0,"div",2),m.ac(1,"div",3),m.ac(2,"div",4),m.ac(3,"div",5),m.lc(),m.ac(4,"svg",23),m.Wb(5,"path",17),m.Zb(),m.Vc(6),m.nc(7,"translate"),m.Zb(),m.Tc(8,io,3,4,"a",9),m.Zb(),m.kc(),m.ac(9,"div",10),m.Tc(10,ao,6,6,"a",24),m.Tc(11,co,1,0,"app-mini-loader",12),m.Tc(12,oo,1,0,"app-no-records",12),m.Zb(),m.Zb(),m.Zb()),2&e){const e=m.mc();m.Hb(6),m.Xc(" ",m.oc(7,5,"Tender_txt")," "),m.Hb(2),m.tc("ngIf",(null==e.tenderModel?null:e.tenderModel.length)>0),m.Hb(2),m.tc("ngForOf",e.tenderModel),m.Hb(1),m.tc("ngIf",!e.tenderModel),m.Hb(1),m.tc("ngIf",e.tenderModel&&0==e.tenderModel.length)}}const ro=function(e){return[e]};function so(e,t){if(1&e&&(m.lc(),m.kc(),m.ac(0,"a",19),m.Vc(1),m.nc(2,"translate"),m.Zb()),2&e){const e=m.mc();m.tc("routerLink",m.Ec(4,ro,"/pages/department-order/latest/"+e.DepartmentCode)),m.Hb(1),m.Xc(" ",m.oc(2,2,"ViewAll_txt")," ")}}function mo(e,t){if(1&e&&(m.Yb(0),m.Vc(1),m.nc(2,"date"),m.Xb()),2&e){const e=m.mc(4).$implicit;m.Hb(1),m.Xc(" ",m.pc(2,1,null==e?null:e.AchievementDate,"dd MMM, yyyy")," ")}}function uo(e,t){if(1&e&&m.Vc(0),2&e){const e=m.mc(4).$implicit;m.Xc(" ",null==e?null:e.AchievementDateHindi," ")}}function bo(e,t){if(1&e&&(m.ac(0,"div",21),m.Tc(1,mo,3,4,"ng-container",26),m.Tc(2,uo,1,1,"ng-template",null,30,m.Uc),m.Zb()),2&e){const e=m.Kc(3),t=m.mc(4);m.Hb(1),m.tc("ngIf","en"==t.translate.currentLang)("ngIfElse",e)}}function go(e,t){if(1&e&&(m.Yb(0),m.ac(1,"a",25),m.Tc(2,bo,4,2,"div",29),m.ac(3,"div",22),m.Vc(4),m.Zb(),m.Zb(),m.Xb()),2&e){const e=m.mc(2).$implicit,t=m.mc();m.Hb(1),m.uc("href",null==e?null:e.Url,m.Pc),m.Hb(1),m.tc("ngIf",null==e?null:e.AchievementDate),m.Hb(2),m.Xc(" ","en"==t.translate.currentLang?null==e?null:e.Achievement:null==e?null:e.AchievementHindi," ")}}function ho(e,t){if(1&e&&(m.Yb(0),m.Vc(1),m.nc(2,"date"),m.Xb()),2&e){const e=m.mc(4).$implicit;m.Hb(1),m.Xc(" ",m.pc(2,1,null==e?null:e.AchievementDate,"dd MMM, yyyy")," ")}}function po(e,t){if(1&e&&m.Vc(0),2&e){const e=m.mc(4).$implicit;m.Xc(" ",null==e?null:e.AchievementDateHindi," ")}}function fo(e,t){if(1&e&&(m.ac(0,"div",21),m.Tc(1,ho,3,4,"ng-container",26),m.Tc(2,po,1,1,"ng-template",null,30,m.Uc),m.Zb()),2&e){const e=m.Kc(3),t=m.mc(4);m.Hb(1),m.tc("ngIf","en"==t.translate.currentLang)("ngIfElse",e)}}function vo(e,t){if(1&e&&(m.ac(0,"a",25),m.Tc(1,fo,4,2,"div",29),m.ac(2,"div",22),m.Vc(3),m.Zb(),m.Zb()),2&e){const e=m.mc(2).$implicit,t=m.mc();m.uc("href",null==e?null:e.PdfFIleName,m.Pc),m.Hb(1),m.tc("ngIf",null==e?null:e.AchievementDate),m.Hb(2),m.Xc(" ","en"==t.translate.currentLang?null==e?null:e.Achievement:null==e?null:e.AchievementHindi," ")}}function Co(e,t){if(1&e&&(m.Yb(0),m.Tc(1,go,5,3,"ng-container",26),m.Tc(2,vo,4,3,"ng-template",null,28,m.Uc),m.Xb()),2&e){const e=m.Kc(3),t=m.mc().$implicit;m.Hb(1),m.tc("ngIf",(null==t?null:null==t.Url?null:t.Url.length)>0)("ngIfElse",e)}}function Ho(e,t){if(1&e&&(m.Yb(0),m.Vc(1),m.nc(2,"date"),m.Xb()),2&e){const e=m.mc(3).$implicit;m.Hb(1),m.Xc(" ",m.pc(2,1,null==e?null:e.AchievementDate,"dd MMM, yyyy")," ")}}function Do(e,t){if(1&e&&m.Vc(0),2&e){const e=m.mc(3).$implicit;m.Xc(" ",null==e?null:e.AchievementDateHindi," ")}}function Mo(e,t){if(1&e&&(m.ac(0,"div",21),m.Tc(1,Ho,3,4,"ng-container",26),m.Tc(2,Do,1,1,"ng-template",null,30,m.Uc),m.Zb()),2&e){const e=m.Kc(3),t=m.mc(3);m.Hb(1),m.tc("ngIf","en"==t.translate.currentLang)("ngIfElse",e)}}function Io(e,t){if(1&e&&(m.ac(0,"a",20),m.Tc(1,Mo,4,2,"div",29),m.ac(2,"div",22),m.Vc(3),m.Zb(),m.Zb()),2&e){const e=m.mc().$implicit,t=m.mc();m.vc("routerLink","/order/detail/",null==e?null:e.Id,""),m.Hb(1),m.tc("ngIf",null==e?null:e.AchievementDate),m.Hb(2),m.Xc(" ","en"==t.translate.currentLang?null==e?null:e.Achievement:null==e?null:e.AchievementHindi," ")}}function Zo(e,t){if(1&e&&(m.Yb(0),m.Tc(1,Co,4,2,"ng-container",26),m.Tc(2,Io,4,3,"ng-template",null,27,m.Uc),m.Xb()),2&e){const e=t.$implicit,n=m.Kc(3),i=m.mc();m.Hb(1),m.tc("ngIf",(null==e?null:e.ModuleName)==i.moduleType.GeneralEntry)("ngIfElse",n)}}function To(e,t){1&e&&m.Wb(0,"app-mini-loader")}function yo(e,t){1&e&&m.Wb(0,"app-no-records")}function xo(e,t){1&e&&(m.lc(),m.kc(),m.ac(0,"a",35),m.Vc(1),m.nc(2,"translate"),m.Zb()),2&e&&(m.Hb(1),m.Xc(" ",m.oc(2,1,"ViewAll_txt")," "))}function Po(e,t){1&e&&m.Wb(0,"i",37)}function So(e,t){if(1&e&&(m.ac(0,"a",20),m.ac(1,"div",21),m.Tc(2,Po,1,0,"i",36),m.Vc(3),m.nc(4,"date"),m.Zb(),m.ac(5,"div",22),m.Vc(6),m.Zb(),m.Zb()),2&e){const e=t.$implicit;m.mc(2),m.vc("routerLink","/order/detail/",null==e?null:e.Id,""),m.Hb(2),m.tc("ngIf",!(null!=e&&e.Date)),m.Hb(1),m.Xc(" ",m.pc(4,4,null==e?null:e.Date,"dd MMM, yyyy")," "),m.Hb(3),m.Xc(" ",null==e?null:e.Title," ")}}function _o(e,t){1&e&&m.Wb(0,"app-mini-loader")}function wo(e,t){1&e&&m.Wb(0,"app-no-records")}function Lo(e,t){if(1&e&&(m.ac(0,"div",2),m.ac(1,"div",3),m.ac(2,"div",4),m.ac(3,"div"),m.ac(4,"div",5),m.lc(),m.ac(5,"svg",31),m.Wb(6,"path",32),m.Wb(7,"path",33),m.Zb(),m.Vc(8),m.nc(9,"translate"),m.Zb(),m.Zb(),m.Tc(10,xo,3,3,"a",34),m.Zb(),m.kc(),m.ac(11,"div",10),m.Tc(12,So,7,7,"a",11),m.Tc(13,_o,1,0,"app-mini-loader",12),m.Tc(14,wo,1,0,"app-no-records",12),m.Zb(),m.Zb(),m.Zb()),2&e){const e=m.mc();m.Hb(8),m.Xc(" ",m.oc(9,5,"AdminDeptUpdate_txt")," "),m.Hb(2),m.tc("ngIf",(null==e.OthetDepartmentLatestUpdatesModel?null:e.OthetDepartmentLatestUpdatesModel.length)>0),m.Hb(2),m.tc("ngForOf",e.OthetDepartmentLatestUpdatesModel),m.Hb(1),m.tc("ngIf",!e.OthetDepartmentLatestUpdatesModel),m.Hb(1),m.tc("ngIf",e.OthetDepartmentLatestUpdatesModel&&0==e.OthetDepartmentLatestUpdatesModel.length)}}let Vo=(()=>{class e{constructor(e,t,n,i,a){this._commonService=e,this._dptDistrictWebsiteService=t,this.translate=n,this.sanitizer=i,this._route=a,this.IsCodeOfConduct=!0,this.DepartmentCode=0,this.IsDistrictDepartmentCode=!1,this.IsDisplayAdmDeptUpdates=!1,this.DistrictDepartmentCode=0,this.isDistrict=!1,this.moduleType=$c,this.orderType=gc.e,this.orderSubType=gc.d,this.IsHideTenderFromHome=!1,this.IsCodeOfConduct=this._commonService.IsCodeOfConduct()}ngOnInit(){this._route.paramMap.subscribe(e=>{this.isDistrict=this._commonService.IsDistrict(),this.GetPressReleaseData(),this.GetTenderData(),this.GetOrderData(),this.GetGeneralEntryData(),this.GetOthetDepartmentLatestUpdatesData(),this.IsHideTenderFromHome="true"==localStorage.getItem("IsHideTenderFromHome")})}GetData(){this.model=void 0,0==this.DepartmentCode&&(this.DepartmentCode=this._commonService.GetWebDistDeptCode()),this.isDistrict?this._dptDistrictWebsiteService.GetOrderPressReleaseTenderData(0,this.DepartmentCode).subscribe(e=>{e.IsSuccess?this.model=e.Data:this.clearData()},e=>{this.clearData()}):this._dptDistrictWebsiteService.GetOrderPressReleaseTenderData(this.DepartmentCode,0).subscribe(e=>{e.IsSuccess?this.model=e.Data:this.clearData()},e=>{this.clearData()})}GetPressReleaseData(){this.pressReleaseModel=void 0,0==this.DepartmentCode&&(this.DepartmentCode=this._commonService.GetWebDistDeptCode()),this.isDistrict?this._dptDistrictWebsiteService.GetPressReleaseData(0,this.DepartmentCode).subscribe(e=>{this.pressReleaseModel=e.IsSuccess?e.Data:[]},e=>{this.pressReleaseModel=[]}):this._dptDistrictWebsiteService.GetPressReleaseData(this.DepartmentCode,0).subscribe(e=>{this.pressReleaseModel=e.IsSuccess?e.Data:[]},e=>{this.pressReleaseModel=[]})}GetTenderData(){this.tenderModel=void 0,0==this.DepartmentCode&&(this.DepartmentCode=this._commonService.GetWebDistDeptCode()),this.isDistrict?this._dptDistrictWebsiteService.GetTenderData(0,this.DepartmentCode).subscribe(e=>{this.tenderModel=e.IsSuccess?e.Data:[]},e=>{this.tenderModel=[]}):this._dptDistrictWebsiteService.GetTenderData(this.DepartmentCode,0).subscribe(e=>{this.tenderModel=e.IsSuccess?e.Data:[]},e=>{this.tenderModel=[]})}GetOrderData(){this.OrderModel=void 0,0==this.DepartmentCode&&(this.DepartmentCode=this._commonService.GetWebDistDeptCode()),this.isDistrict?this._dptDistrictWebsiteService.GetOrderData(0,this.DepartmentCode).subscribe(e=>{this.OrderModel=e.IsSuccess?e.Data:[]},e=>{this.OrderModel=[]}):this._dptDistrictWebsiteService.GetOrderData(this.DepartmentCode,0).subscribe(e=>{this.OrderModel=e.IsSuccess?e.Data:[]},e=>{this.OrderModel=[]})}GetGeneralEntryData(){this.GeneralEntryModel=void 0,0==this.DepartmentCode&&(this.DepartmentCode=this._commonService.GetWebDistDeptCode()),this.isDistrict?this._dptDistrictWebsiteService.GetGeneralEntryData(0,this.DepartmentCode).subscribe(e=>{this.GeneralEntryModel=e.IsSuccess?e.Data:[]},e=>{this.GeneralEntryModel=[]}):this._dptDistrictWebsiteService.GetGeneralEntryData(this.DepartmentCode,0).subscribe(e=>{this.GeneralEntryModel=e.IsSuccess?e.Data:[]},e=>{this.GeneralEntryModel=[]})}GetOthetDepartmentLatestUpdatesData(){this.OthetDepartmentLatestUpdatesModel=void 0,0==this.DepartmentCode&&(this.DepartmentCode=this._commonService.GetWebDistDeptCode()),this.isDistrict?this._dptDistrictWebsiteService.GetOthetDepartmentLatestUpdatesData(0,this.DepartmentCode).subscribe(e=>{this.OthetDepartmentLatestUpdatesModel=e.IsSuccess?e.Data:[]},e=>{this.OthetDepartmentLatestUpdatesModel=[]}):this._dptDistrictWebsiteService.GetOthetDepartmentLatestUpdatesData(this.DepartmentCode,0).subscribe(e=>{this.OthetDepartmentLatestUpdatesModel=e.IsSuccess?e.Data:[]},e=>{this.OthetDepartmentLatestUpdatesModel=[]})}clearData(){this.model.PressReleaseList=[],this.model.GovDocumentList=[],this.model.TenderList=[],this.model.GeneralEntryList=[],this.model.OtherDeptLatestUpdateList=[]}}return e.\u0275fac=function(t){return new(t||e)(m.Vb(g.a),m.Vb(p.a),m.Vb(c.d),m.Vb(b.b),m.Vb(h.a))},e.\u0275cmp=m.Pb({type:e,selectors:[["app-ddw-order-tender-pressrelease"]],inputs:{DepartmentCode:"DepartmentCode",IsDistrictDepartmentCode:"IsDistrictDepartmentCode",IsDisplayAdmDeptUpdates:"IsDisplayAdmDeptUpdates",BackGroundClass:"BackGroundClass"},decls:45,vars:26,consts:[[1,"container-fluid"],[1,"row"],[1,"middle-content-items-card"],[1,"middle-content-custom-card","h-100"],[1,"custom-card-title","d-flex","align-items-center","justify-content-between","px-3"],[1,"d-flex","align-items-center"],["xmlns","http://www.w3.org/2000/svg","width","30","height","30","fill","#5e7428","viewBox","0 0 16 16",1,"mr-2"],["d","M7.84 4.1a.178.178 0 0 1 .32 0l.634 1.285a.178.178 0 0 0 .134.098l1.42.206c.145.021.204.2.098.303L9.42 6.993a.178.178 0 0 0-.051.158l.242 1.414a.178.178 0 0 1-.258.187l-1.27-.668a.178.178 0 0 0-.165 0l-1.27.668a.178.178 0 0 1-.257-.187l.242-1.414a.178.178 0 0 0-.05-.158l-1.03-1.001a.178.178 0 0 1 .098-.303l1.42-.206a.178.178 0 0 0 .134-.098L7.84 4.1z"],["d","M2 2a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v13.5a.5.5 0 0 1-.777.416L8 13.101l-5.223 2.815A.5.5 0 0 1 2 15.5V2zm2-1a1 1 0 0 0-1 1v12.566l4.723-2.482a.5.5 0 0 1 .554 0L13 14.566V2a1 1 0 0 0-1-1H4z"],["class","btn btn-round btn-theme",3,"routerLink",4,"ngIf"],[1,"custom-card-body"],["class","middle-content-items mb-2",3,"routerLink",4,"ngFor","ngForOf"],[4,"ngIf"],["xmlns","http://www.w3.org/2000/svg","width","30","height","30","fill","#a71515","viewBox","0 0 16 16",1,"mr-2"],["d","M8 16a2 2 0 0 0 2-2H6a2 2 0 0 0 2 2zM8 1.918l-.797.161A4.002 4.002 0 0 0 4 6c0 .628-.134 2.197-.459 3.742-.16.767-.376 1.566-.663 2.258h10.244c-.287-.692-.502-1.49-.663-2.258C12.134 8.197 12 6.628 12 6a4.002 4.002 0 0 0-3.203-3.92L8 1.917zM14.22 12c.223.447.481.801.78 1H1c.299-.199.557-.553.78-1C2.68 10.2 3 6.88 3 6c0-2.42 1.72-4.44 4.005-4.901a1 1 0 1 1 1.99 0A5.002 5.002 0 0 1 13 6c0 .88.32 4.2 1.22 6z"],["class","middle-content-items-card",4,"ngIf"],["xmlns","http://www.w3.org/2000/svg","width","25","height","25","fill","#024a76","viewBox","0 0 16 16",1,"mr-2"],["fill-rule","evenodd","d","M0 .5A.5.5 0 0 1 .5 0h2a.5.5 0 0 1 0 1h-2A.5.5 0 0 1 0 .5Zm4 0a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1h-10A.5.5 0 0 1 4 .5Zm-4 2A.5.5 0 0 1 .5 2h2a.5.5 0 0 1 0 1h-2a.5.5 0 0 1-.5-.5Zm4 0a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5Zm-4 2A.5.5 0 0 1 .5 4h2a.5.5 0 0 1 0 1h-2a.5.5 0 0 1-.5-.5Zm4 0a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5Zm-4 2A.5.5 0 0 1 .5 6h2a.5.5 0 0 1 0 1h-2a.5.5 0 0 1-.5-.5Zm4 0a.5.5 0 0 1 .5-.5h8a.5.5 0 0 1 0 1h-8a.5.5 0 0 1-.5-.5Zm-4 2A.5.5 0 0 1 .5 8h2a.5.5 0 0 1 0 1h-2a.5.5 0 0 1-.5-.5Zm4 0a.5.5 0 0 1 .5-.5h8a.5.5 0 0 1 0 1h-8a.5.5 0 0 1-.5-.5Zm-4 2a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 0 1h-2a.5.5 0 0 1-.5-.5Zm4 0a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1h-10a.5.5 0 0 1-.5-.5Zm-4 2a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 0 1h-2a.5.5 0 0 1-.5-.5Zm4 0a.5.5 0 0 1 .5-.5h6a.5.5 0 0 1 0 1h-6a.5.5 0 0 1-.5-.5Zm-4 2a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 0 1h-2a.5.5 0 0 1-.5-.5Zm4 0a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5Z"],[4,"ngFor","ngForOf"],[1,"btn","btn-round","btn-theme",3,"routerLink"],[1,"middle-content-items","mb-2",3,"routerLink"],[1,"middle-content-date"],[1,"middle-content-info"],["xmlns","http://www.w3.org/2000/svg","width","30","height","30","fill","#024a76","viewBox","0 0 16 16",1,"mr-2"],["target","_blank","class","middle-content-items mb-2",3,"href",4,"ngFor","ngForOf"],["target","_blank",1,"middle-content-items","mb-2",3,"href"],[4,"ngIf","ngIfElse"],["govtDoc",""],["elsePDF",""],["class","middle-content-date",4,"ngIf"],["hindiDate",""],["xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","#8409b1","viewBox","0 0 16 16",1,"mr-2"],["d","M10.854 7.146a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708 0l-1.5-1.5a.5.5 0 1 1 .708-.708L7.5 9.793l2.646-2.647a.5.5 0 0 1 .708 0z"],["d","M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5zM1 4v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4H1z"],["routerLink","/pages/admin-department-updates","class","btn btn-round btn-theme",4,"ngIf"],["routerLink","/pages/admin-department-updates",1,"btn","btn-round","btn-theme"],["class","fas fa-calendar",4,"ngIf"],[1,"fas","fa-calendar"]],template:function(e,t){1&e&&(m.ac(0,"section"),m.ac(1,"div",0),m.ac(2,"div",1),m.ac(3,"div",2),m.ac(4,"div",3),m.ac(5,"div",4),m.ac(6,"div",5),m.lc(),m.ac(7,"svg",6),m.Wb(8,"path",7),m.Wb(9,"path",8),m.Zb(),m.Vc(10),m.nc(11,"translate"),m.Zb(),m.Tc(12,Yc,3,4,"a",9),m.Zb(),m.kc(),m.ac(13,"div",10),m.Tc(14,qc,6,6,"a",11),m.Tc(15,Jc,1,0,"app-mini-loader",12),m.Tc(16,Kc,1,0,"app-no-records",12),m.Zb(),m.Zb(),m.Zb(),m.ac(17,"div",2),m.ac(18,"div",3),m.ac(19,"div",4),m.ac(20,"div",5),m.lc(),m.ac(21,"svg",13),m.Wb(22,"path",14),m.Zb(),m.Vc(23),m.nc(24,"translate"),m.Zb(),m.Tc(25,Qc,3,4,"a",9),m.Zb(),m.kc(),m.ac(26,"div",10),m.Tc(27,eo,6,6,"a",11),m.Tc(28,to,1,0,"app-mini-loader",12),m.Tc(29,no,1,0,"app-no-records",12),m.Zb(),m.Zb(),m.Zb(),m.Tc(30,lo,13,7,"div",15),m.ac(31,"div",2),m.ac(32,"div",3),m.ac(33,"div",4),m.ac(34,"div",5),m.lc(),m.ac(35,"svg",16),m.Wb(36,"path",17),m.Zb(),m.Vc(37),m.nc(38,"translate"),m.Zb(),m.Tc(39,so,3,6,"a",9),m.Zb(),m.kc(),m.ac(40,"div",10),m.Tc(41,Zo,4,2,"ng-container",18),m.Tc(42,To,1,0,"app-mini-loader",12),m.Tc(43,yo,1,0,"app-no-records",12),m.Zb(),m.Zb(),m.Zb(),m.Tc(44,Lo,15,7,"div",15),m.Zb(),m.Zb(),m.Zb()),2&e&&(m.Lb("middle-content ",t.BackGroundClass,""),m.Hb(10),m.Xc(" ",m.oc(11,20,"Press_Releases_txt")," "),m.Hb(2),m.tc("ngIf",(null==t.pressReleaseModel?null:t.pressReleaseModel.length)>0),m.Hb(2),m.tc("ngForOf",t.pressReleaseModel),m.Hb(1),m.tc("ngIf",!t.pressReleaseModel),m.Hb(1),m.tc("ngIf",t.pressReleaseModel&&0==t.pressReleaseModel.length),m.Hb(7),m.Xc(" ",m.oc(24,22,"Government_Documents_txt")," "),m.Hb(2),m.tc("ngIf",(null==t.OrderModel?null:t.OrderModel.length)>0),m.Hb(2),m.tc("ngForOf",t.OrderModel),m.Hb(1),m.tc("ngIf",!t.OrderModel),m.Hb(1),m.tc("ngIf",t.OrderModel&&0==t.OrderModel.length),m.Hb(1),m.tc("ngIf",!t.IsHideTenderFromHome),m.Hb(7),m.Xc(" ",m.oc(38,24,"LatestUpdatetitle_txt")," "),m.Hb(2),m.tc("ngIf",(null==t.GeneralEntryModel?null:t.GeneralEntryModel.length)>0),m.Hb(2),m.tc("ngForOf",t.GeneralEntryModel),m.Hb(1),m.tc("ngIf",!t.GeneralEntryModel),m.Hb(1),m.tc("ngIf",t.GeneralEntryModel&&0==t.GeneralEntryModel.length),m.Hb(1),m.tc("ngIf",!t.isDistrict&&t.IsDisplayAdmDeptUpdates))},directives:[i.n,i.m,h.d,v.a,C.a],pipes:[c.c,i.e],styles:[""]}),e})();function ko(e,t){if(1&e&&(m.ac(0,"p",12),m.Vc(1),m.Zb()),2&e){const e=m.mc().$implicit,t=m.mc(3);m.Hb(1),m.Wc("en"==t.translate.currentLang?null==e?null:e.Achievement:null==e?null:e.AchievementHindi)}}function No(e,t){if(1&e){const e=m.bc();m.ac(0,"div"),m.ac(1,"a",8),m.ac(2,"div",9),m.ac(3,"img",10),m.ic("error",(function(t){return m.Mc(e),m.mc(3)._commonService.onImageError(t,"assets/images/loader.gif")})),m.Zb(),m.Tc(4,ko,2,1,"p",11),m.Zb(),m.Zb(),m.Zb()}if(2&e){const e=t.$implicit,n=m.mc(3);m.Hb(1),m.uc("href",null==e?null:e.Url,m.Pc),m.Hb(2),m.uc("src",null==e?null:e.ImagePath,m.Pc),m.uc("alt","en"==n.translate.currentLang?null==e?null:e.Achievement:null==e?null:e.AchievementHindi),m.uc("title","en"==n.translate.currentLang?null==e?null:e.Achievement:null==e?null:e.AchievementHindi),m.Hb(1),m.tc("ngIf",!(null!=e&&e.ImagePath))}}function Oo(e,t){if(1&e&&(m.Yb(0),m.Tc(1,No,5,5,"div",7),m.Xb()),2&e){const e=m.mc(2);m.Hb(1),m.tc("ngForOf",e.LinkModel)}}function Ao(e,t){if(1&e&&(m.ac(0,"p",12),m.Vc(1),m.Zb()),2&e){const e=m.mc().$implicit,t=m.mc(3);m.Hb(1),m.Wc("en"==t.translate.currentLang?null==e?null:e.Achievement:null==e?null:e.AchievementHindi)}}function Wo(e,t){if(1&e){const e=m.bc();m.ac(0,"div"),m.ac(1,"a",8),m.ac(2,"div",9),m.ac(3,"img",10),m.ic("error",(function(t){return m.Mc(e),m.mc(3)._commonService.onImageError(t,"assets/images/loader.gif")})),m.Zb(),m.Tc(4,Ao,2,1,"p",11),m.Zb(),m.Zb(),m.Zb()}if(2&e){const e=t.$implicit,n=m.mc(3);m.Hb(1),m.uc("href",null==e?null:e.Url,m.Pc),m.Hb(2),m.uc("src",null==e?null:e.ImagePath,m.Pc),m.uc("alt","en"==n.translate.currentLang?null==e?null:e.Achievement:null==e?null:e.AchievementHindi),m.uc("title","en"==n.translate.currentLang?null==e?null:e.Achievement:null==e?null:e.AchievementHindi),m.Hb(1),m.tc("ngIf",!(null!=e&&e.ImagePath))}}function Eo(e,t){if(1&e&&(m.Yb(0),m.Tc(1,Wo,5,5,"div",7),m.Xb()),2&e){const e=m.mc(2);m.Hb(1),m.tc("ngForOf",e.generalEntryLinks)}}function Go(e,t){if(1&e&&(m.ac(0,"div",6),m.Tc(1,Oo,2,1,"ng-container",5),m.Tc(2,Eo,2,1,"ng-container",5),m.Zb()),2&e){const e=m.mc();m.Hb(1),m.tc("ngIf",e.linkTypeCode==e.linkTypeCodeEnum.OtherImportantLinkType_Both||e.linkTypeCode==e.linkTypeCodeEnum.OtherImportantLinkType_OnlyDefaultLinks),m.Hb(1),m.tc("ngIf",e.linkTypeCode==e.linkTypeCodeEnum.OtherImportantLinkType_Both||e.linkTypeCode==e.linkTypeCodeEnum.OtherImportantLinkType_OnlyLinksFromGeneralEntry)}}function Fo(e,t){1&e&&m.Wb(0,"app-mini-loader")}function Ro(e,t){1&e&&m.Wb(0,"app-no-records")}let Xo=(()=>{class e{constructor(e,t,n,i,a){this._achievementService=e,this.sanitizer=t,this.translate=n,this._departmentService=i,this._commonService=a,this.linkTypeCode=0,this.linkTypeCodeEnum=xi.a,this.achievementEnum=o.a,this.DepartmentCode=0}ngOnInit(){this.getImportantLinkData(),this._departmentService.getDepartmentDetail().subscribe(e=>{e&&(this.linkTypeCode=e.OtherImportantLinkTypeCode,this.generalEntryLinks=e.OtherImportantLinks)})}getImportantLinkData(){this.LinkModel=void 0;let e=new l.b;e.IndexModel.OrderBy="AchievementDate",e.IndexModel.OrderByAsc=0,e.IndexModel.PageSize=5,e.IsURLRequired=!0,e.CategoryCode=this.achievementEnum.WebImportantLinksCode,e.DepartmentCode=vi.a.ChiranjeeviPortal,e.IsActive=!0,this._achievementService.GetAchievementListBySearchFilterData(e,!1).subscribe(e=>{e.IsSuccess?(this.LinkModel=e.Data.Data,this.LinkModel.map(e=>{e.SafeUrl=this.SafeUrl(e.Url)}),setTimeout(()=>{this.AddSlider()},50)):this.LinkModel=[]},e=>{this.LinkModel=[]})}sanitizeUrl(e){return this.sanitizer.bypassSecurityTrustResourceUrl(e)}SafeUrl(e){var t,n;return null==e?"":new RegExp(/\/view(v|V?)/i).test(e)?(e=null===(n=e)||void 0===n?void 0:n.replace(/\/view(v|V?)/i,"/preview"),this.sanitizer.bypassSecurityTrustResourceUrl(e)):(e=null===(t=e)||void 0===t?void 0:t.replace(/\/watch\?(v|V\?)=/g,"/embed/"),this.sanitizer.bypassSecurityTrustResourceUrl(e))}AddSlider(){$(".slider-items-4").slick({dots:this.LinkModel.length>4,infinite:!0,autoplay:!0,autoplaySpeed:4e3,slidesToShow:4,slidesToScroll:4,responsive:[{breakpoint:1400,settings:{slidesToShow:3,slidesToScroll:3}},{breakpoint:800,settings:{slidesToShow:2,slidesToScroll:2}},{breakpoint:480,settings:{slidesToShow:1,slidesToScroll:1}}]})}}return e.\u0275fac=function(t){return new(t||e)(m.Vb(u.a),m.Vb(b.b),m.Vb(c.d),m.Vb(In.a),m.Vb(g.a))},e.\u0275cmp=m.Pb({type:e,selectors:[["app-ddw-other-impt-link"]],inputs:{BackGroundClass:"BackGroundClass",DepartmentCode:"DepartmentCode"},decls:10,vars:9,consts:[[1,"container"],[1,"row","w-100","m-0"],[1,"col-lg-12"],[1,"section-title","text-center"],["class","slider-items-4 container p-0 m-0",4,"ngIf"],[4,"ngIf"],[1,"slider-items-4","container","p-0","m-0"],[4,"ngFor","ngForOf"],["target","_blank",1,"website-impo-links-items","d-block","text-center",3,"href"],[1,"website-impo-links-items-img"],[3,"src","alt","title","error"],["class","impo-links-default-text",4,"ngIf"],[1,"impo-links-default-text"]],template:function(e,t){1&e&&(m.ac(0,"section"),m.ac(1,"div",0),m.ac(2,"div",1),m.ac(3,"div",2),m.ac(4,"div",3),m.Vc(5),m.nc(6,"translate"),m.Zb(),m.Zb(),m.Tc(7,Go,3,2,"div",4),m.Tc(8,Fo,1,0,"app-mini-loader",5),m.Tc(9,Ro,1,0,"app-no-records",5),m.Zb(),m.Zb(),m.Zb()),2&e&&(m.Lb("website-impo-links ",t.BackGroundClass,""),m.Hb(5),m.Wc(m.oc(6,7,"OtherImportantLinks_txt")),m.Hb(2),m.tc("ngIf",t.LinkModel&&(null==t.LinkModel?null:t.LinkModel.length)>0||t.generalEntryLinks&&(null==t.generalEntryLinks?null:t.generalEntryLinks.length)>0),m.Hb(1),m.tc("ngIf",!t.LinkModel),m.Hb(1),m.tc("ngIf",t.LinkModel&&0==t.LinkModel.length))},directives:[i.n,i.m,v.a,C.a],pipes:[c.c],styles:[""]}),e})();function Bo(e,t){if(1&e&&(m.ac(0,"a",12),m.Vc(1),m.nc(2,"translate"),m.Zb()),2&e){const e=m.mc().$implicit;m.uc("routerLink",e.Url),m.Hb(1),m.Xc(" ",m.oc(2,2,"ViewAll_txt")," ")}}function Uo(e,t){if(1&e&&(m.ac(0,"small"),m.ac(1,"strong"),m.Vc(2,"Date:"),m.Zb(),m.Vc(3),m.nc(4,"date"),m.Zb()),2&e){const e=m.mc().$implicit,t=m.mc(3);m.Hb(3),m.Xc(" ","hi"==t.translate.currentLang?null==e?null:e.DateHindi:m.pc(4,1,null==e?null:e.Date,t.DateFormat)," ")}}const zo=function(e){return{cursor:e}};function jo(e,t){if(1&e){const e=m.bc();m.Yb(0),m.ac(1,"li",13),m.ac(2,"a",14),m.ic("click",(function(){m.Mc(e);const n=t.$implicit;return m.mc(3).OpenUrl(null==n?null:n.RedirectURL)})),m.ac(3,"div",15),m.ac(4,"img",16),m.ic("error",(function(t){return m.Mc(e),m.mc(3)._commonService.onImageError(t,"assets/images/doc_default.png")})),m.Zb(),m.Zb(),m.ac(5,"div",17),m.ac(6,"h6"),m.Vc(7),m.Zb(),m.Tc(8,Uo,5,4,"small",0),m.Zb(),m.Zb(),m.Zb(),m.Xb()}if(2&e){const e=t.$implicit,n=m.mc(3);m.Hb(2),m.tc("ngStyle",m.Ec(6,zo,null!=e&&e.RedirectURL?"pointer":null!=e&&e.RedirectURL?"auto":null)),m.Hb(2),m.uc("src",null==e?null:e.IconPath,m.Pc),m.uc("alt","hi"==n.translate.currentLang?null==e?null:e.NameHindi:null==e?null:e.Name),m.uc("title","hi"==n.translate.currentLang?null==e?null:e.NameHindi:null==e?null:e.Name),m.Hb(3),m.Wc("hi"==n.translate.currentLang?null==e?null:e.NameHindi:null==e?null:e.Name),m.Hb(1),m.tc("ngIf",null==e?null:e.Date)}}function $o(e,t){if(1&e&&(m.ac(0,"section"),m.ac(1,"div",3),m.ac(2,"div",4),m.ac(3,"div",5),m.ac(4,"div",6),m.ac(5,"div",7),m.Vc(6),m.Zb(),m.Tc(7,Bo,3,4,"a",8),m.Zb(),m.ac(8,"div",9),m.ac(9,"ul",10),m.Tc(10,jo,9,8,"ng-container",11),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.Zb()),2&e){const e=t.$implicit,n=m.mc(2);m.Lb("document home-doc-new-section mt-0 ",n.BackGroundClass,""),m.Hb(6),m.Xc(" ","hi"==n.translate.currentLang?null==e?null:e.DisplayNameHindi:null==e?null:e.DisplayNameEnglish," "),m.Hb(1),m.tc("ngIf",(null==e?null:e.OtherLinkList.length)>0),m.Hb(3),m.tc("ngForOf",null==e?null:e.OtherLinkList)}}function Yo(e,t){if(1&e&&(m.Yb(0),m.Tc(1,$o,11,6,"section",2),m.Xb()),2&e){const e=m.mc();m.Hb(1),m.tc("ngForOf",e.tranSubMenuList)}}function qo(e,t){if(1&e&&(m.ac(0,"p"),m.Vc(1),m.Zb()),2&e){const e=m.mc(2);m.Hb(1),m.Xc(" ",null==e.DepartmentData?null:e.DepartmentData.HomePageCatDesc," ")}}function Jo(e,t){if(1&e){const e=m.bc();m.Yb(0),m.ac(1,"a",22),m.ic("click",(function(){m.Mc(e);const n=t.$implicit;return m.mc(2).redirectToImpLink(n)})),m.ac(2,"div",23),m.ac(3,"img",16),m.ic("error",(function(t){return m.Mc(e),m.mc(2)._commonService.onImageError(t,"assets/images/icon-achievements-list.png")})),m.Zb(),m.Zb(),m.ac(4,"p",24),m.Vc(5),m.Zb(),m.Zb(),m.Xb()}if(2&e){const e=t.$implicit,n=m.mc(2);m.Hb(3),m.uc("src",null==e?null:e.IconImage,m.Pc),m.uc("alt","hi"==n.translate.currentLang?null==e?null:e.DisplayNameHindi:null==e?null:e.DisplayNameEnglish),m.uc("title","hi"==n.translate.currentLang?null==e?null:e.DisplayNameHindi:null==e?null:e.DisplayNameEnglish),m.Hb(2),m.Wc("hi"==n.translate.currentLang?null==e?null:e.DisplayNameHindi:null==e?null:e.DisplayNameEnglish)}}function Ko(e,t){if(1&e&&(m.ac(0,"section"),m.ac(1,"div",3),m.ac(2,"div",18),m.ac(3,"div",19),m.ac(4,"div",20),m.ac(5,"h1"),m.Vc(6),m.Zb(),m.Tc(7,qo,2,1,"p",0),m.Zb(),m.ac(8,"div",21),m.Tc(9,Jo,6,4,"ng-container",11),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.Zb()),2&e){const e=m.mc();m.Lb("link-new-d-1 ",e.BackGroundClass,""),m.Hb(6),m.Xc(" ","en"==e.translate.currentLang?null==e.DepartmentData?null:e.DepartmentData.WebsiteDynamicCategory:null==e.DepartmentData?null:e.DepartmentData.WebsiteDynamictransaction," "),m.Hb(1),m.tc("ngIf",null==e.DepartmentData?null:e.DepartmentData.HomePageCatDesc),m.Hb(2),m.tc("ngForOf",e.catSubMenuList)}}function Qo(e,t){if(1&e){const e=m.bc();m.ac(0,"div",32),m.ac(1,"a",33),m.ic("click",(function(){m.Mc(e);const n=t.$implicit;return m.mc(3).redirectToImpLink(n)})),m.ac(2,"img",16),m.ic("error",(function(t){return m.Mc(e),m.mc(3)._commonService.onImageError(t,"assets/images/icon-achievements-list.png")})),m.Zb(),m.ac(3,"span"),m.Vc(4),m.Zb(),m.Zb(),m.Zb()}if(2&e){const e=t.$implicit,n=m.mc(3);m.Hb(2),m.uc("src",null==e?null:e.IconImage,m.Pc),m.uc("alt","hi"==n.translate.currentLang?null==e?null:e.DisplayNameHindi:null==e?null:e.DisplayNameEnglish),m.uc("title","hi"==n.translate.currentLang?null==e?null:e.DisplayNameHindi:null==e?null:e.DisplayNameEnglish),m.Hb(2),m.Xc(" ","hi"==n.translate.currentLang?null==e?null:e.DisplayNameHindi:null==e?null:e.DisplayNameEnglish," ")}}function el(e,t){if(1&e&&(m.ac(0,"div",28),m.ac(1,"div",29),m.Vc(2),m.Zb(),m.ac(3,"div",30),m.Tc(4,Qo,5,4,"div",31),m.Zb(),m.Zb()),2&e){const e=m.mc(2);m.Hb(2),m.Xc(" ","en"==e.translate.currentLang?null==e.DepartmentData?null:e.DepartmentData.WebsiteDynamicCategory:null==e.DepartmentData?null:e.DepartmentData.WebsiteDynamictransaction," "),m.Hb(2),m.tc("ngForOf",e.catSubMenuList)}}function tl(e,t){if(1&e&&(m.ac(0,"li",39),m.ac(1,"a",40),m.Wb(2,"i",41),m.Vc(3),m.Zb(),m.Zb()),2&e){const e=t.$implicit,n=t.index,i=m.mc(3);m.Hb(1),m.Lb("nav-link ",0==n?"active":"",""),m.vc("href","#tab_",e.Id,"",m.Pc),m.Hb(2),m.Wc("en"==i.translate.currentLang?e.DisplayNameEnglish:e.DisplayNameHindi)}}function nl(e,t){if(1&e&&(m.ac(0,"div",46),m.ac(1,"h3",47),m.Vc(2),m.Zb(),m.ac(3,"p",48),m.Vc(4),m.nc(5,"date"),m.Zb(),m.Zb()),2&e){const e=t.$implicit,n=m.mc(4);m.Hb(2),m.Wc("en"==n.translate.currentLang?e.Name:e.NameHindi),m.Hb(2),m.Xc(" ","en"==n.translate.currentLang?m.pc(5,2,null==e?null:e.Date,"d MMM, y"):null==e?null:e.DateHindi," ")}}function il(e,t){1&e&&m.Wb(0,"app-no-records",49),2&e&&m.tc("showImage",!1)}function al(e,t){if(1&e&&(m.Yb(0),m.ac(1,"div",42),m.ac(2,"div",43),m.Tc(3,nl,6,5,"div",44),m.Tc(4,il,1,1,"app-no-records",45),m.Zb(),m.Zb(),m.Xb()),2&e){const e=t.$implicit,n=t.index;m.Hb(1),m.Lb("tab-pane fade ",0==n?"show active":"",""),m.vc("id","tab_",e.Id,""),m.Hb(2),m.tc("ngForOf",e.OtherLinkList),m.Hb(1),m.tc("ngIf",e.OtherLinkList&&0==e.OtherLinkList.length)}}function cl(e,t){if(1&e&&(m.ac(0,"div",34),m.ac(1,"div",35),m.ac(2,"ul",36),m.Tc(3,tl,4,5,"li",37),m.Zb(),m.ac(4,"div",38),m.Tc(5,al,5,6,"ng-container",11),m.Zb(),m.Zb(),m.Zb()),2&e){const e=m.mc(2);m.Hb(3),m.tc("ngForOf",e.tabsList),m.Hb(2),m.tc("ngForOf",e.tabsList)}}function ol(e,t){if(1&e&&(m.ac(0,"section"),m.ac(1,"div",25),m.ac(2,"div",18),m.Tc(3,el,5,2,"div",26),m.Tc(4,cl,6,2,"div",27),m.Zb(),m.Zb(),m.Zb()),2&e){const e=m.mc();m.Lb("home-new-document-design home-ext-link pb-5 w-100 ",e.BackGroundClass,""),m.Hb(3),m.tc("ngIf",e.catSubMenuList&&(null==e.catSubMenuList?null:e.catSubMenuList.length)>0),m.Hb(1),m.tc("ngIf",e.tabsList&&e.tabsList.length>0)}}let ll=(()=>{class e{constructor(e,t,n,i,a){this.translate=e,this._commonService=t,this._dptDistrictWebsiteService=n,this._departmentService=i,this._router=a,this.deptCode=0,this.tranSubMenuList=[],this.catSubMenuList=[],this.tabsList=[],this.enumdata=xi.a,this.DateFormat=d.a.DateFormat,this.deptCode=this._commonService.GetWebDistDeptCode();let c=this._commonService.getTemplateName();this.isUniveristyTemplate=c==ga.b.University}ngOnInit(){this._departmentService.getDeptMenuList().subscribe(e=>{e&&(this.menuListModel=e)}),this.GetTransactionSubMenues(),this.GetCategorySubMenues(),this.GetTabRecords()}GetTransactionSubMenues(){let e=new ha.d;e.DepartmentCode=this.deptCode,e.CommonCategoryCode=this.enumdata.TransactionSubMenu,e.TopCount=3,this._dptDistrictWebsiteService.GetDptWebsiteSubMenus(e).subscribe(e=>{e.IsSuccess&&(this.tranSubMenuList=e.Data)},e=>{console.error(e)})}GetCategorySubMenues(){let e=new ha.d;e.DepartmentCode=this.deptCode,e.CommonCategoryCode=this.enumdata.CategorySubMenu,e.TopCount=5,this._dptDistrictWebsiteService.GetDptWebsiteSubMenus(e).subscribe(e=>{e.IsSuccess&&(this.catSubMenuList=e.Data)},e=>{console.error(e)})}GetTabRecords(){let e=new ha.d;e.DepartmentCode=this.deptCode,e.CommonCategoryCode=this.enumdata.DisplayInTabOnHomePage,e.TopCount=5,this._dptDistrictWebsiteService.GetDptWebsiteSubMenus(e).subscribe(e=>{e.IsSuccess&&(this.tabsList=e.Data)},e=>{console.error(e)})}OpenUrl(e){e&&(open("'url'","_blank").location.href=e)}redirectToImpLink(e){var t,n,i;let a=void 0,c=void 0;e.RedirectionManagementRadio==xi.a.URLOfSameWebsiteOtherWebsite&&(a=null===(t=e)||void 0===t?void 0:t.RedirectionURL),e.RedirectionManagementRadio==xi.a.PDFFileUpload?a=null===(n=e)||void 0===n?void 0:n.PDFAttachment:(e.RedirectionManagementRadio=xi.a.DataEnteredInScreens)&&(c=null===(i=e)||void 0===i?void 0:i.Url),a?this.OpenUrl(a):this._router.navigateByUrl(c)}}return e.\u0275fac=function(t){return new(t||e)(m.Vb(c.d),m.Vb(g.a),m.Vb(p.a),m.Vb(In.a),m.Vb(h.b))},e.\u0275cmp=m.Pb({type:e,selectors:[["app-ddw-other-links"]],inputs:{DepartmentData:"DepartmentData",BackGroundClass:"BackGroundClass"},decls:3,vars:3,consts:[[4,"ngIf"],[3,"class",4,"ngIf"],[3,"class",4,"ngFor","ngForOf"],[1,"container"],[1,"row","justify-content-center"],[1,"col-xl-12","col-md-12","col-sm-12","col-lg-12","wow","fadeInUp"],[1,"col-lg-12","d-md-flex","align-items-center","justify-content-between","mb-4"],[1,"section-title","text-center","m-auto"],["class","btn btn-round btn-theme btn-yellow",3,"routerLink",4,"ngIf"],[1,"doc-detail-bx","document-new-bx","document-new-bx-horizontal"],[1,"list-group","flex-row","flex-wrap","justify-content-center"],[4,"ngFor","ngForOf"],[1,"btn","btn-round","btn-theme","btn-yellow",3,"routerLink"],[1,"list-group-item","list-group-item-action"],[1,"d-flex","align-items-center",3,"ngStyle","click"],[1,"d-box-icon"],[3,"src","alt","title","error"],[1,"list-caption"],[1,"row"],[1,"col-lg-12"],[1,"link-new-d-1-header","text-center"],[1,"link-new-d-1-content"],["href","javascript:void(0);",1,"link-new-d-1-content-items",3,"click"],[1,"link-new-d-1-content-items-img"],[1,"mb-0"],[1,"container-fluid"],["class","dynamic-flex-75",4,"ngIf"],["class","dynamic-flex-25 mt-5 mt-xl-0",4,"ngIf"],[1,"dynamic-flex-75"],[1,"section-title","text-center"],[1,"d-flex","flex-wrap","justify-content-center"],["class","home-new-document-design-items text-center",4,"ngFor","ngForOf"],[1,"home-new-document-design-items","text-center"],[3,"click"],[1,"dynamic-flex-25","mt-5","mt-xl-0"],[1,"new-tab-design-1"],["id","myTab","role","tablist",1,"nav","nav-tabs"],["class","nav-item",4,"ngFor","ngForOf"],["id","myTabContent",1,"tab-content"],[1,"nav-item"],["id","new-tab-design1","data-toggle","tab","role","tab",3,"href"],[1,"fas","fa-external-link-alt"],["role","tabpanel",3,"id"],[1,"new-tab-design-1-items"],["class","new-tab-design-1-items-list",4,"ngFor","ngForOf"],[3,"showImage",4,"ngIf"],[1,"new-tab-design-1-items-list"],[1,"mb-1"],[1,"m-0"],[3,"showImage"]],template:function(e,t){1&e&&(m.Tc(0,Yo,2,1,"ng-container",0),m.Tc(1,Ko,10,6,"section",1),m.Tc(2,ol,5,5,"section",1)),2&e&&(m.tc("ngIf",t.tranSubMenuList&&(null==t.tranSubMenuList?null:t.tranSubMenuList.length)>0),m.Hb(1),m.tc("ngIf",t.isUniveristyTemplate&&t.catSubMenuList&&(null==t.catSubMenuList?null:t.catSubMenuList.length)>0),m.Hb(1),m.tc("ngIf",!t.isUniveristyTemplate&&(t.catSubMenuList&&(null==t.catSubMenuList?null:t.catSubMenuList.length)>0||t.tabsList&&t.tabsList.length>0)))},directives:[i.n,i.m,h.d,i.o,C.a],pipes:[c.c,i.e],styles:[""]}),e})();function rl(e,t){if(1&e&&(m.ac(0,"a",6),m.Vc(1),m.nc(2,"translate"),m.Zb()),2&e){const e=m.mc();m.wc("routerLink","/pages/general/photo-gallery/",e.searchModel.DepartmentCode,"/",e.searchModel.CategoryCode,""),m.Hb(1),m.Xc(" ",m.oc(2,3,"ViewAll_txt")," ")}}function sl(e,t){if(1&e){const e=m.bc();m.ac(0,"li"),m.ac(1,"a",19),m.ac(2,"img",14),m.ic("error",(function(t){return m.Mc(e),m.mc(5)._commonService.onImageError(t,"assets/images/default.png")})),m.Zb(),m.Zb(),m.Zb()}if(2&e){const e=m.mc().$implicit,t=m.mc(2),n=t.index,i=t.$implicit,a=m.mc(2);m.Hb(1),m.uc("href",e,m.Pc),m.Jb("data-lightbox","images_",n,"B"),m.uc("title","en"==a.translate.currentLang?i.Achievement:i.AchievementHindi),m.Hb(1),m.uc("title","en"==a.translate.currentLang?i.Achievement:i.AchievementHindi),m.uc("alt","en"==a.translate.currentLang?i.Achievement:i.AchievementHindi),m.tc("src",e,m.Pc)}}function dl(e,t){if(1&e&&(m.Yb(0),m.Tc(1,sl,3,6,"li",5),m.Xb()),2&e){const e=t.index;m.Hb(1),m.tc("ngIf",e>0)}}function ml(e,t){if(1&e&&(m.ac(0,"ul",17),m.Tc(1,dl,2,1,"ng-container",18),m.Zb()),2&e){const e=m.mc().$implicit;m.Hb(1),m.tc("ngForOf",e.ImageFiles)}}function ul(e,t){if(1&e){const e=m.bc();m.ac(0,"div",11),m.ac(1,"a",12),m.ic("error",(function(t){return m.Mc(e),m.mc(2)._commonService.onImageError(t,"assets/images/default.png")})),m.nc(2,"slice"),m.nc(3,"slice"),m.ac(4,"div",13),m.ac(5,"img",14),m.ic("error",(function(t){return m.Mc(e),m.mc(2)._commonService.onImageError(t,"assets/images/default.png")})),m.Zb(),m.Zb(),m.Tc(6,ml,2,1,"ul",15),m.ac(7,"div",16),m.Vc(8),m.nc(9,"slice"),m.nc(10,"slice"),m.Zb(),m.Zb(),m.Zb()}if(2&e){const e=t.$implicit,n=t.index,i=m.mc(2);m.Hb(1),m.Jb("data-lightbox","images_",n,"A"),m.uc("title","en"==i.translate.currentLang?(null==e?null:e.Achievement.length)>80?m.qc(2,8,null==e?null:e.Achievement,0,80)+"...":null==e?null:e.Achievement:(null==e?null:e.Achievement.length)>80?m.qc(3,12,null==e?null:e.Achievement,0,80)+"...":null==e?null:e.Achievement),m.tc("href",e.ImagePath,m.Pc),m.Hb(4),m.uc("title","en"==i.translate.currentLang?e.Achievement:e.AchievementHindi),m.uc("alt","en"==i.translate.currentLang?e.Achievement:e.AchievementHindi),m.tc("src",e.ImagePath,m.Pc),m.Hb(1),m.tc("ngIf",e.ImageFiles&&e.ImageFiles.length>0),m.Hb(2),m.Xc(" ","hi"==i.translate.currentLang?(null==e?null:e.AchievementHindi.length)>60?m.qc(9,16,null==e?null:e.AchievementHindi,0,60)+"...":null==e?null:e.AchievementHindi:(null==e?null:e.Achievement.length)>60?m.qc(10,20,null==e?null:e.Achievement,0,60)+"...":null==e?null:e.Achievement," ")}}function bl(e,t){if(1&e&&(m.ac(0,"div",7),m.ac(1,"div",8),m.ac(2,"div",9),m.Tc(3,ul,11,24,"div",10),m.Zb(),m.Zb(),m.Zb()),2&e){const e=m.mc();m.Hb(3),m.tc("ngForOf",e.photoModel)}}function gl(e,t){1&e&&m.Wb(0,"app-mini-loader")}function hl(e,t){1&e&&m.Wb(0,"app-no-records")}let pl=(()=>{class e{constructor(e,t,n){this.translate=e,this._achievementService=t,this._commonService=n,this.searchModel=new l.b,this.achievementEnum=o.a,this.totalRecords=0}ngOnInit(){this.GetData()}GetData(){this.searchModel.IndexModel.OrderBy="AchievementDate",this.searchModel.IndexModel.OrderByAsc=0,this.searchModel.IndexModel.PageSize=4,this.searchModel.CategoryCode=Number(this.achievementEnum.DepartmentalPhotoGalleryCode),this.searchModel.DepartmentCode=this._commonService.GetWebDistDeptCode(),this.searchModel.IndexModel.AdvanceSearchModel={DepartmentCode:this.searchModel.DepartmentCode,CategoryCode:this.searchModel.CategoryCode||0,SubCategoryCode:0},this._achievementService.GetPostersListData(this.searchModel.IndexModel).subscribe(e=>{e.IsSuccess?(this.photoModel=e.Data.Data,this.totalRecords=e.Data.TotalRecords,console.log(this.photoModel)):this.photoModel=[]},e=>{this.photoModel=[],console.error(e)})}}return e.\u0275fac=function(t){return new(t||e)(m.Vb(c.d),m.Vb(u.a),m.Vb(g.a))},e.\u0275cmp=m.Pb({type:e,selectors:[["app-ddw-photo-gallery"]],inputs:{BackGroundClass:"BackGroundClass"},decls:10,vars:10,consts:[[1,"container"],[1,"col-lg-12","d-md-flex","align-items-center","justify-content-between","mb-5"],[1,"section-title","text-center","m-auto"],["target","_blank","class","btn btn-round btn-theme btn-yellow",3,"routerLink",4,"ngIf"],["class","col-lg-12 col-md-12 col-12 mb-4 mb-lg-0",4,"ngIf"],[4,"ngIf"],["target","_blank",1,"btn","btn-round","btn-theme","btn-yellow",3,"routerLink"],[1,"col-lg-12","col-md-12","col-12","mb-4","mb-lg-0"],[1,"home-new-program-bg-white"],[1,"row"],["class","col-lg-3 col-md-3 col-sm-3 col-3 mb-3 px-2",4,"ngFor","ngForOf"],[1,"col-lg-3","col-md-3","col-sm-3","col-3","mb-3","px-2"],[1,"home-gallery-items","d-block",3,"href","title","error"],[1,"home-gallery-items-img","d-flex","align-items-center","justify-content-center"],[3,"src","title","alt","error"],["style","display: none;",4,"ngIf"],[1,"home-gallery-items-caption"],[2,"display","none"],[4,"ngFor","ngForOf"],[3,"href","title"]],template:function(e,t){1&e&&(m.ac(0,"section"),m.ac(1,"div",0),m.ac(2,"div",1),m.ac(3,"div",2),m.Vc(4),m.nc(5,"translate"),m.Zb(),m.Tc(6,rl,3,5,"a",3),m.Zb(),m.Tc(7,bl,4,1,"div",4),m.Tc(8,gl,1,0,"app-mini-loader",5),m.Tc(9,hl,1,0,"app-no-records",5),m.Zb(),m.Zb()),2&e&&(m.Lb("home-inauguration ",t.BackGroundClass,""),m.Hb(4),m.Xc(" ",m.oc(5,8,"PhotoGallery_txt")," "),m.Hb(2),m.tc("ngIf",t.totalRecords>t.searchModel.IndexModel.PageSize),m.Hb(1),m.tc("ngIf",(null==t.photoModel?null:t.photoModel.length)>0),m.Hb(1),m.tc("ngIf",!t.photoModel),m.Hb(1),m.tc("ngIf",t.photoModel&&0==t.photoModel.length))},directives:[i.n,h.d,i.m,v.a,C.a],pipes:[c.c,i.u],styles:["a.home-gallery-items[_ngcontent-%COMP%] .home-gallery-items-img[_ngcontent-%COMP%]{height:250px;overflow:hidden;border-radius:3px 3px 0 0;box-shadow:0 0 15px 0 rgb(73 78 92/25%)}a.home-gallery-items[_ngcontent-%COMP%] .home-gallery-items-img[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-height:250px;width:auto}a.home-gallery-items[_ngcontent-%COMP%] .home-gallery-items-caption[_ngcontent-%COMP%]{border-radius:0 0 3px 3px;box-shadow:0 0 15px 0 rgb(73 78 92/25%)}"]}),e})();function fl(e,t){if(1&e&&(m.ac(0,"div",7),m.Vc(1),m.Zb()),2&e){const e=m.mc();m.Hb(1),m.Xc(" ","en"!=e.translate.currentLang?e.SectionNameHi||e.SectionNameEn:e.SectionNameEn||e.SectionNameHi,"")}}function vl(e,t){1&e&&(m.ac(0,"div",7),m.Vc(1),m.nc(2,"translate"),m.Zb()),2&e&&(m.Hb(1),m.Xc(" ",m.oc(2,1,"press_release_Gallery_txt")," "))}function Cl(e,t){if(1&e&&(m.ac(0,"a",8),m.Vc(1),m.nc(2,"translate"),m.Zb()),2&e){const e=m.mc();m.vc("routerLink","/pages/press-release/gallery/",e.filterModel.DepartmentCode,""),m.Hb(1),m.Xc(" ",m.oc(2,2,"ViewAll_txt")," ")}}function Hl(e,t){if(1&e){const e=m.bc();m.ac(0,"li"),m.ac(1,"a",23),m.ac(2,"img",24),m.ic("error",(function(t){return m.Mc(e),m.mc(5)._commonService.onImageError(t,"assets/images/default.png")})),m.Zb(),m.Zb(),m.Zb()}if(2&e){const e=m.mc().$implicit,t=m.mc(2),n=t.index,i=t.$implicit;m.Hb(1),m.uc("href",e,m.Pc),m.Jb("data-lightbox","images_",n,""),m.uc("title",i.Description),m.Hb(1),m.uc("title",i.Description),m.uc("alt",i.Description),m.tc("src",e,m.Pc)}}function Dl(e,t){if(1&e&&(m.Yb(0),m.Tc(1,Hl,3,6,"li",6),m.Xb()),2&e){const e=t.index;m.Hb(1),m.tc("ngIf",e>0)}}function Ml(e,t){if(1&e&&(m.ac(0,"ul",21),m.Tc(1,Dl,2,1,"ng-container",22),m.Zb()),2&e){const e=m.mc().$implicit;m.Hb(1),m.tc("ngForOf",e.ImageAttachments)}}function Il(e,t){if(1&e){const e=m.bc();m.ac(0,"div",13),m.ac(1,"a",14),m.ic("error",(function(t){return m.Mc(e),m.mc(2)._commonService.onImageError(t,"assets/images/default.png")})),m.ac(2,"div",15),m.Vc(3),m.nc(4,"date"),m.Zb(),m.ac(5,"div",16),m.ac(6,"img",17),m.ic("error",(function(t){return m.Mc(e),m.mc(2)._commonService.onImageError(t,"assets/images/default.png")})),m.Zb(),m.Zb(),m.Tc(7,Ml,2,1,"ul",18),m.ac(8,"a",19),m.ac(9,"div",20),m.ac(10,"span"),m.Vc(11),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.Zb()}if(2&e){const e=t.$implicit,n=t.index,i=m.mc(2);m.Hb(1),m.Jb("data-lightbox","images_",n,""),m.uc("title",e.Description),m.tc("href",e.HomePageImageUrl,m.Pc),m.Hb(2),m.Xc(" ","hi"==i.translate.currentLang?null==e?null:e.PressReleaseDateHindi:m.pc(4,10,null==e?null:e.PressreleaseDate,"d MMM, y")," "),m.Hb(3),m.uc("title",e.Description),m.uc("alt",e.Description),m.tc("src",e.HomePageImageUrl,m.Pc),m.Hb(1),m.tc("ngIf",e.ImageAttachments&&e.ImageAttachments.length>0),m.Hb(1),m.vc("routerLink","/home/press-release/",null==e?null:e.Id,""),m.Hb(3),m.Xc(" ",e.Description," ")}}function Zl(e,t){if(1&e&&(m.ac(0,"div",9),m.ac(1,"div",10),m.ac(2,"div",11),m.Tc(3,Il,12,13,"div",12),m.Zb(),m.Zb(),m.Zb()),2&e){const e=m.mc();m.Hb(3),m.tc("ngForOf",e.generalModel)}}function Tl(e,t){1&e&&m.Wb(0,"app-mini-loader")}function yl(e,t){1&e&&m.Wb(0,"app-no-records")}let xl=(()=>{class e{constructor(e,t,n,i){this.translate=e,this.sanitizer=t,this._distDeptService=n,this._commonService=i,this.filterModel=new ha.f,this.totalRecords=0}ngOnInit(){this.GetPressReleaseData()}GetPressReleaseData(){this.generalModel=void 0,this.filterModel.IsBase64File=!1,this.filterModel.PageSize=4,this.filterModel.OrderBy="PressreleaseDate",this.filterModel.DepartmentCode=this._commonService.GetWebDistDeptCode(),this.filterModel.IsImageRequired=!0,this._distDeptService.GetDptInAugrationLink(this.filterModel).subscribe(e=>{e.IsSuccess?(this.generalModel=e.Data.Data,this.totalRecords=e.Data.TotalRecords):this.generalModel=[]},e=>{this.generalModel=[],console.error(e)})}}return e.\u0275fac=function(t){return new(t||e)(m.Vb(c.d),m.Vb(b.b),m.Vb(p.a),m.Vb(g.a))},e.\u0275cmp=m.Pb({type:e,selectors:[["app-ddw-press-release-gallery"]],inputs:{BackGroundClass:"BackGroundClass",SectionNameEn:"SectionNameEn",SectionNameHi:"SectionNameHi"},decls:10,vars:9,consts:[[1,"container"],[1,"col-lg-12","d-md-flex","align-items-center","justify-content-between","mb-5"],["class","section-title text-center m-auto",4,"ngIf","ngIfElse"],["defaultHeading",""],["class","btn btn-round btn-theme btn-yellow",3,"routerLink",4,"ngIf"],["class","col-lg-12 col-md-12 col-12 mb-4 mb-lg-0",4,"ngIf"],[4,"ngIf"],[1,"section-title","text-center","m-auto"],[1,"btn","btn-round","btn-theme","btn-yellow",3,"routerLink"],[1,"col-lg-12","col-md-12","col-12","mb-4","mb-lg-0"],[1,"home-new-program-bg-white","home-press-release-gallery"],[1,"row"],["class","col-lg-3 col-md-3 col-sm-3 col-3 mb-3 px-2",4,"ngFor","ngForOf"],[1,"col-lg-3","col-md-3","col-sm-3","col-3","mb-3","px-2"],[1,"home-gallery-items","d-block",3,"href","title","error"],[1,"home-inauguration-items-date"],[1,"home-gallery-items-img","d-flex","align-items-center","justify-content-center"],[1,"img-fluid","rounded",3,"src","title","alt","error"],["style","display: none;",4,"ngIf"],[3,"routerLink"],[1,"home-gallery-items-caption"],[2,"display","none"],[4,"ngFor","ngForOf"],[3,"href","title"],[3,"src","title","alt","error"]],template:function(e,t){if(1&e&&(m.ac(0,"section"),m.ac(1,"div",0),m.ac(2,"div",1),m.Tc(3,fl,2,1,"div",2),m.Tc(4,vl,3,3,"ng-template",null,3,m.Uc),m.Tc(6,Cl,3,4,"a",4),m.Zb(),m.Tc(7,Zl,4,1,"div",5),m.Tc(8,Tl,1,0,"app-mini-loader",6),m.Tc(9,yl,1,0,"app-no-records",6),m.Zb(),m.Zb()),2&e){const e=m.Kc(5);m.Lb("home-inauguration ",t.BackGroundClass,""),m.Hb(3),m.tc("ngIf",t.SectionNameHi||t.SectionNameEn)("ngIfElse",e),m.Hb(3),m.tc("ngIf",t.totalRecords>t.filterModel.PageSize),m.Hb(1),m.tc("ngIf",(null==t.generalModel?null:t.generalModel.length)>0),m.Hb(1),m.tc("ngIf",!t.generalModel),m.Hb(1),m.tc("ngIf",t.generalModel&&0==t.generalModel.length)}},directives:[i.n,h.d,i.m,v.a,C.a],pipes:[c.c,i.e],styles:[""]}),e})();function Pl(e,t){if(1&e){const e=m.bc();m.Yb(0),m.ac(1,"video",20),m.ic("playing",(function(t){return m.Mc(e),m.mc(4).onMediaPlaying(t,!1)})),m.Wb(2,"source",21),m.Zb(),m.Xb()}if(2&e){const e=m.mc(),t=e.index,n=e.$implicit,i=m.mc(3);m.Hb(1),m.vc("id","my_video_",t,""),m.uc("poster",null==n?null:n.ThumbnailPath,m.Pc),m.Hb(1),m.vc("type","video/",null==n?null:null==n.Url?null:n.Url.split(".")[(null==n?null:null==n.Url?null:n.Url.split(".").length)-1],""),m.tc("src",i.sanitizeUrl(null==n?null:n.Url),m.Pc)}}function Sl(e,t){if(1&e){const e=m.bc();m.ac(0,"iframe",23),m.ic("onclick",(function(t){return m.Mc(e),m.mc(5).onMediaPlaying(t,!1)})),m.Zb()}if(2&e){const e=m.mc(2).$implicit;m.tc("src",null==e?null:e.SafeUrl,m.Oc)}}function _l(e,t){if(1&e&&m.Tc(0,Sl,1,1,"iframe",22),2&e){const e=m.mc().$implicit;m.tc("ngIf",(null==e?null:null==e.Url?null:e.Url.length)>0)}}function wl(e,t){if(1&e&&(m.Yb(0),m.ac(1,"div",14),m.ac(2,"div",15),m.ac(3,"div",16),m.Tc(4,Pl,3,4,"ng-container",17),m.Tc(5,_l,1,1,"ng-template",null,18,m.Uc),m.Zb(),m.ac(7,"div",19),m.Vc(8),m.nc(9,"slice"),m.nc(10,"slice"),m.Zb(),m.Zb(),m.Zb(),m.Xb()),2&e){const e=t.$implicit,n=m.Kc(6),i=m.mc(3);m.Hb(4),m.tc("ngIf",1==i.isExtenstionUrl(null==e?null:e.Url))("ngIfElse",n),m.Hb(3),m.uc("title","en"==i.translate.currentLang?null==e?null:e.Achievement:null==e?null:e.AchievementHindi),m.Hb(1),m.Xc(" ","hi"==i.translate.currentLang?(null==e?null:e.AchievementHindi.length)>60?m.qc(9,4,null==e?null:e.AchievementHindi,0,60)+"...":null==e?null:e.AchievementHindi:(null==e?null:e.Achievement.length)>60?m.qc(10,8,null==e?null:e.Achievement,0,60)+"...":null==e?null:e.Achievement," ")}}function Ll(e,t){if(1&e&&(m.ac(0,"div",7),m.ac(1,"div",8),m.ac(2,"div",9),m.ac(3,"h1",10),m.Vc(4),m.nc(5,"translate"),m.Zb(),m.ac(6,"a",11),m.Vc(7),m.nc(8,"translate"),m.Zb(),m.Zb(),m.ac(9,"div",12),m.Tc(10,wl,11,12,"ng-container",13),m.Zb(),m.Zb(),m.Zb()),2&e){const e=m.mc(2);m.Hb(4),m.Xc(" ",m.oc(5,3,"ProgramVideo_txt")," "),m.Hb(3),m.Xc(" ",m.oc(8,5,"ViewAll_txt")," "),m.Hb(3),m.tc("ngForOf",e.videoModel)}}function Vl(e,t){if(1&e){const e=m.bc();m.Yb(0),m.ac(1,"div",27),m.ac(2,"div",28),m.Wb(3,"img",29),m.ac(4,"audio",30),m.ic("playing",(function(t){return m.Mc(e),m.mc(4).onMediaPlaying(t,!0)})),m.Wb(5,"source",21),m.Zb(),m.ac(6,"div",19),m.Vc(7),m.nc(8,"slice"),m.nc(9,"slice"),m.Zb(),m.Zb(),m.Zb(),m.Xb()}if(2&e){const e=m.mc().$implicit,t=m.mc(3);m.Hb(1),m.uc("title","en"==t.translate.currentLang?null==e?null:e.Achievement:null==e?null:e.AchievementHindi),m.Hb(2),m.uc("title","en"==t.translate.currentLang?null==e?null:e.Achievement:null==e?null:e.AchievementHindi),m.uc("alt","en"==t.translate.currentLang?null==e?null:e.Achievement:null==e?null:e.AchievementHindi),m.Hb(2),m.vc("type","audio/",null==e?null:null==e.Url?null:e.Url.split(".")[(null==e?null:null==e.Url?null:e.Url.split(".").length)-1],""),m.tc("src",t.sanitizeUrl(null==e?null:e.Url),m.Pc),m.Hb(1),m.uc("title","en"==t.translate.currentLang?null==e?null:e.Achievement:null==e?null:e.AchievementHindi),m.Hb(1),m.Xc(" ","hi"==t.translate.currentLang?(null==e?null:e.AchievementHindi.length)>60?m.qc(8,7,null==e?null:e.AchievementHindi,0,60)+"...":null==e?null:e.AchievementHindi:(null==e?null:e.Achievement.length)>60?m.qc(9,11,null==e?null:e.Achievement,0,60)+"...":null==e?null:e.Achievement," ")}}function kl(e,t){if(1&e){const e=m.bc();m.Yb(0),m.ac(1,"video",20),m.ic("playing",(function(t){return m.Mc(e),m.mc(5).onMediaPlaying(t,!1)})),m.Wb(2,"source",21),m.Zb(),m.Xb()}if(2&e){const e=m.mc(2),t=e.index,n=e.$implicit,i=m.mc(3);m.Hb(1),m.vc("id","cmmy_video_",t,""),m.uc("poster",null==n?null:n.ThumbnailPath,m.Pc),m.Hb(1),m.vc("type","video/",null==n?null:null==n.Url?null:n.Url.split(".")[(null==n?null:null==n.Url?null:n.Url.split(".").length)-1],""),m.tc("src",i.sanitizeUrl(null==n?null:n.Url),m.Pc)}}function Nl(e,t){if(1&e){const e=m.bc();m.ac(0,"iframe",32),m.ic("playing",(function(t){return m.Mc(e),m.mc(6).onMediaPlaying(t,!1)})),m.Zb()}if(2&e){const e=m.mc(3).$implicit;m.tc("src",null==e?null:e.SafeUrl,m.Oc)}}function Ol(e,t){if(1&e&&m.Tc(0,Nl,1,1,"iframe",31),2&e){const e=m.mc(2).$implicit;m.tc("ngIf",(null==e?null:null==e.Url?null:e.Url.length)>0)}}function Al(e,t){if(1&e&&(m.ac(0,"div",14),m.ac(1,"div",15),m.ac(2,"div",16),m.Tc(3,kl,3,4,"ng-container",17),m.Tc(4,Ol,1,1,"ng-template",null,18,m.Uc),m.Zb(),m.ac(6,"div",19),m.Vc(7),m.nc(8,"slice"),m.nc(9,"slice"),m.Zb(),m.Zb(),m.Zb()),2&e){const e=m.Kc(5),t=m.mc().$implicit,n=m.mc(3);m.Hb(3),m.tc("ngIf",1==n.isExtenstionUrl(null==t?null:t.Url))("ngIfElse",e),m.Hb(3),m.uc("title","en"==n.translate.currentLang?null==t?null:t.Achievement:null==t?null:t.AchievementHindi),m.Hb(1),m.Xc(" ","hi"==n.translate.currentLang?(null==t?null:t.AchievementHindi.length)>60?m.qc(8,4,null==t?null:t.AchievementHindi,0,60)+"...":null==t?null:t.AchievementHindi:(null==t?null:t.Achievement.length)>60?m.qc(9,8,null==t?null:t.Achievement,0,60)+"...":null==t?null:t.Achievement," ")}}function Wl(e,t){if(1&e&&(m.Yb(0),m.Tc(1,Vl,10,15,"ng-container",17),m.Tc(2,Al,10,12,"ng-template",null,26,m.Uc),m.Xb()),2&e){const e=t.$implicit,n=m.Kc(3),i=m.mc(3);m.Hb(1),m.tc("ngIf",i.IsAudioContent(null==e?null:e.Url))("ngIfElse",n)}}function El(e,t){if(1&e&&(m.ac(0,"div",24),m.ac(1,"div",8),m.ac(2,"div",9),m.ac(3,"h1",10),m.Vc(4),m.nc(5,"translate"),m.Zb(),m.ac(6,"a",25),m.Vc(7),m.nc(8,"translate"),m.Zb(),m.Zb(),m.ac(9,"div",12),m.Tc(10,Wl,4,2,"ng-container",13),m.Zb(),m.Zb(),m.Zb()),2&e){const e=m.mc(2);m.Hb(4),m.Xc(" ",m.oc(5,3,"CMSpeech_txt")," "),m.Hb(3),m.Wc(m.oc(8,5,"ViewAll_txt")),m.Hb(3),m.tc("ngForOf",e.audioModel)}}function Gl(e,t){if(1&e&&(m.ac(0,"section"),m.ac(1,"div",1),m.ac(2,"h1",2),m.Vc(3),m.nc(4,"translate"),m.Zb(),m.Zb(),m.ac(5,"div",3),m.ac(6,"div",4),m.Tc(7,Ll,11,7,"div",5),m.Tc(8,El,11,7,"div",6),m.Zb(),m.Zb(),m.Zb()),2&e){const e=m.mc();m.Lb("home-new-program ",e.BackGroundClass,""),m.Hb(3),m.Xc(" ",m.oc(4,6,"Program_txt")," "),m.Hb(4),m.tc("ngIf",(null==e.videoModel?null:e.videoModel.length)>0),m.Hb(1),m.tc("ngIf",(null==e.audioModel?null:e.audioModel.length)>0)}}let Fl=(()=>{class e{constructor(e,t,n,i){this.datePipe=e,this.translate=t,this._achievementService=n,this.sanitizer=i,this.DepartmentCode=0,this.audioModel=[],this.videoModel=[],this.achievementEnum=o.a,this.DateFormat=d.a.DateFormat,this.onPause=new m.q}ngOnInit(){this.getProgramVideoData(),this.getCMSpeechData()}GetCategoryGroupAchievementListData(){let e=new s.d;e.OrderBy="AchievementDate",e.OrderByAsc=0,this._achievementService.GetCategoryGroupAchievementListData(e).subscribe(e=>{var t,n,i,a;e.IsSuccess&&(null===(n=null===(t=e)||void 0===t?void 0:t.Data)||void 0===n?void 0:n.Data)&&(this.CategoryGroupViewModel=null===(a=null===(i=e)||void 0===i?void 0:i.Data)||void 0===a?void 0:a.Data)},e=>{this.CategoryGroupViewModel=[]})}sanitizeUrl(e){return this.sanitizer.bypassSecurityTrustResourceUrl(e)}getProgramVideoData(){let e=new l.b;e.IndexModel.OrderBy="AchievementDate",e.IndexModel.OrderByAsc=0,e.IndexModel.PageSize=2,e.IsURLRequired=!0,e.CategoryCode=this.achievementEnum.ProgramVideoCode,e.DepartmentCode=this.DepartmentCode,e.IsActive=!0,this._achievementService.GetAchievementListBySearchFilterData(e,!1).subscribe(e=>{e.IsSuccess&&(this.videoModel=e.Data.Data,this.videoModel.map(e=>{e.SafeUrl=this.SafeUrl(e.YoutubeURL?e.YoutubeURL:e.Url)}))},e=>{})}getCMSpeechData(){let e=new l.b;e.IndexModel.OrderBy="AchievementDate",e.IndexModel.OrderByAsc=0,e.IndexModel.PageSize=2,e.IsURLRequired=!0,e.CategoryCode=this.achievementEnum.CMSpeechCode,e.DepartmentCode=this.DepartmentCode,this._achievementService.GetAchievementListBySearchFilterData(e,!1).subscribe(e=>{e.IsSuccess&&(this.audioModel=e.Data.Data,this.audioModel.map(e=>{e.SafeUrl=this.SafeUrl(e.YoutubeURL?e.YoutubeURL:e.Url)}))},e=>{})}isExtenstionUrl(e){return null!=e&&new RegExp(/\.\w{3,4}($|\?)/i).test(e)}SafeUrl(e){var t,n;return null==e?"":new RegExp(/\/view(v|V?)/i).test(e)?(e=null===(n=e)||void 0===n?void 0:n.replace(/\/view(v|V?)/i,"/preview"),this.sanitizer.bypassSecurityTrustResourceUrl(e)):(e=null===(t=e)||void 0===t?void 0:t.replace(/\/watch\?(v|V\?)=/g,"/embed/"),this.sanitizer.bypassSecurityTrustResourceUrl(e))}onMediaPlaying(e,t){this.mediaControlModel=new s.e,this.mediaControlModel.Item=e,this.mediaControlModel.IsAudio=t,this.onPause.emit(this.mediaControlModel)}IsAudioContent(e){return!!new RegExp(/\.(?:wav|mp3|aac|flac|ogg|wma|aiff|aa|alac|au)$/i).test(e)}}return e.\u0275fac=function(t){return new(t||e)(m.Vb(i.e),m.Vb(c.d),m.Vb(u.a),m.Vb(b.b))},e.\u0275cmp=m.Pb({type:e,selectors:[["app-ddw-program"]],inputs:{DepartmentCode:"DepartmentCode",BackGroundClass:"BackGroundClass"},outputs:{onPause:"onPause"},decls:1,vars:1,consts:[[3,"class",4,"ngIf"],[1,"col-lg-12","mt-5"],[1,"section-title","text-center"],[1,"container-fluid"],[1,"row","justify-content-center"],["class","col-lg-6 col-md-12 col-12 mb-4 mb-lg-0",4,"ngIf"],["class","col-lg-6 col-md-12 col-12",4,"ngIf"],[1,"col-lg-6","col-md-12","col-12","mb-4","mb-lg-0"],[1,"home-new-program-bg-white"],[1,"d-flex","align-items-center","mb-4","justify-content-between"],[1,"title","mb-0"],["routerLink","/program-video",1,"btn","btn-round","btn-theme","btn-yellow"],[1,"row"],[4,"ngFor","ngForOf"],[1,"col-xl-6","col-lg-6","col-sm-6","col-12","mb-3"],[1,"audio-card","video-card-new","d-flex","justify-content-center","text-center"],[1,"embed-responsive","embed-responsive-21by9"],[4,"ngIf","ngIfElse"],["iframVideo",""],[1,"av-caption",3,"title"],["width","100%","height","100%","controls","","preload","none","data-setup",'{ "aspectRatio":"100%:100%", "playbackRates": [1, 1.5, 2] }',1,"embed-responsive-item",3,"id","poster","playing"],[3,"src","type"],["class","embed-responsive-item","width","100%","height","100%","frameborder","0","allow","accelerometer; gyroscope; picture-in-picture","allowfullscreen","",3,"src","onclick",4,"ngIf"],["width","100%","height","100%","frameborder","0","allow","accelerometer; gyroscope; picture-in-picture","allowfullscreen","",1,"embed-responsive-item",3,"src","onclick"],[1,"col-lg-6","col-md-12","col-12"],["routerLink","/cm-speech",1,"btn","btn-round","btn-theme","btn-yellow"],["videoContent",""],[1,"col-xl-6","col-lg-12","col-sm-12","col-12","mb-3",3,"title"],[1,"audio-card","text-center"],["src","assets/images/high-volume.png",1,"img-fluid",3,"title","alt"],["preload","none","controls","",1,"w-100",3,"playing"],["preload","none","class","embed-responsive-item","width","100%","height","100%","frameborder","0","allow","accelerometer; autoplay; gyroscope; picture-in-picture","allowfullscreen","",3,"src","playing",4,"ngIf"],["preload","none","width","100%","height","100%","frameborder","0","allow","accelerometer; autoplay; gyroscope; picture-in-picture","allowfullscreen","",1,"embed-responsive-item",3,"src","playing"]],template:function(e,t){1&e&&m.Tc(0,Gl,9,8,"section",0),2&e&&m.tc("ngIf",(null==t.videoModel?null:t.videoModel.length)>0||(null==t.audioModel?null:t.audioModel.length)>0)},directives:[i.n,h.d,i.m],pipes:[c.c,i.u],styles:[""]}),e})();var Rl=n("1cbQ"),Xl=n("9GqC");function Bl(e,t){if(1&e&&(m.ac(0,"a",9),m.Vc(1),m.nc(2,"translate"),m.Zb()),2&e){const e=m.mc();m.xc("routerLink","/project-or-works/",e.completedStatus,"/",e.ongoingfilter.DepartmentCode,"/",e.ongoingfilter.DistrictDepartmentCode,""),m.Hb(1),m.Wc(m.oc(2,4,"ViewAll_txt"))}}function Ul(e,t){if(1&e&&(m.Yb(0),m.ac(1,"div",10),m.ac(2,"div",11),m.ac(3,"div",12),m.ac(4,"div"),m.ac(5,"strong",13),m.Vc(6),m.Zb(),m.ac(7,"p",14),m.Vc(8),m.nc(9,"slice"),m.Zb(),m.Zb(),m.ac(10,"div",15),m.ac(11,"ul",16),m.ac(12,"li"),m.ac(13,"strong"),m.Vc(14,"Cost:"),m.Zb(),m.Vc(15),m.Zb(),m.ac(16,"li"),m.ac(17,"strong"),m.Vc(18,"District:"),m.Zb(),m.Vc(19),m.Zb(),m.Zb(),m.ac(20,"div",17),m.ac(21,"a",18),m.Vc(22,"View detail"),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.Xb()),2&e){const e=t.$implicit,n=m.mc();m.Hb(6),m.Wc("hi"!=n.translate.currentLang?(null==e?null:null==e.CategoryName?null:e.CategoryName.length)>0?null==e?null:e.CategoryName:"":(null==e?null:null==e.CategoryNameHindi?null:e.CategoryNameHindi.length)>0?null==e?null:e.CategoryNameHindi:""),m.Hb(2),m.Xc(" ",(null==e?null:null==e.Description?null:e.Description.length)>200?m.qc(9,5,null==e?null:e.Description,0,200)+"...":null==e?null:e.Description," "),m.Hb(7),m.Xc("",e.Cost," Lakh"),m.Hb(4),m.Xc(" ","hi"!=n.translate.currentLang?(null==e?null:null==e.MLAConstituencyDistrictNameHindi?null:e.MLAConstituencyDistrictNameHindi.length)>0?null==e?null:e.MLAConstituencyDistrictNameHindi:"":(null==e?null:null==e.MLAConstituencyDistrictName?null:e.MLAConstituencyDistrictName.length)>0?null==e?null:e.MLAConstituencyDistrictName:"",""),m.Hb(2),m.vc("routerLink","/project-master/detail/",null==e?null:e.Id,"")}}function zl(e,t){1&e&&m.Wb(0,"app-mini-loader")}function jl(e,t){1&e&&m.Wb(0,"app-no-records")}let $l=(()=>{class e{constructor(e,t){this.projectService=e,this.translate=t,this.DepartmentCode=0,this.IsDistrictDepartmentCode=!1,this.onShowData=new m.q,this.enumdata=xi.b,this.completedStatus=this.enumdata.ProjectStatusCompleted,this.ongoingStatus=this.enumdata.ProjectStatusOnGoing,this.ongoingfilter=new Rl.a}ngOnInit(){this.GetListCompleted(),this.GetListOngoing()}GetListCompleted(){this.modelCompleted=void 0;const e=new Rl.a;e.IndexModel.PageSize=2,e.IndexModel.Page=1,e.StatusCode=this.completedStatus,e.DepartmentCode=this.IsDistrictDepartmentCode?0:this.DepartmentCode,e.DistrictDepartmentCode=this.IsDistrictDepartmentCode?this.DepartmentCode:0,e.IndexModel.OrderBy="ModifiedDate",e.IndexModel.OrderByAsc=0,this.projectService.GetProjectMasterListBySearchFilterData(e).subscribe(e=>{e.IsSuccess?(this.modelCompleted=e.Data.Data,this.onShowData.emit(this.modelCompleted.length>0)):(this.modelCompleted=[],this.onShowData.emit(!1))},e=>{this.modelCompleted=[],this.onShowData.emit(!1)})}GetListOngoing(){this.modelOngoing=void 0,this.ongoingfilter.IndexModel.PageSize=2,this.ongoingfilter.IndexModel.Page=1,this.ongoingfilter.StatusCode=this.ongoingStatus,this.ongoingfilter.DepartmentCode=this.IsDistrictDepartmentCode?0:this.DepartmentCode,this.ongoingfilter.DistrictDepartmentCode=this.IsDistrictDepartmentCode?this.DepartmentCode:0,this.ongoingfilter.IndexModel.OrderBy="ModifiedDate",this.ongoingfilter.IndexModel.OrderByAsc=0,this.projectService.GetProjectMasterListBySearchFilterData(this.ongoingfilter).subscribe(e=>{e.IsSuccess?(this.modelOngoing=e.Data.Data,this.onShowData.emit(this.modelOngoing.length>0)):(this.modelOngoing=[],this.onShowData.emit(!1))},e=>{this.modelOngoing=[],this.onShowData.emit(!1)})}}return e.\u0275fac=function(t){return new(t||e)(m.Vb(Xl.a),m.Vb(c.d))},e.\u0275cmp=m.Pb({type:e,selectors:[["app-ddw-project-or-work"]],inputs:{DepartmentCode:"DepartmentCode",IsDistrictDepartmentCode:"IsDistrictDepartmentCode",BackGroundClass:"BackGroundClass"},outputs:{onShowData:"onShowData"},decls:16,vars:13,consts:[[1,"section-title","text-center"],[1,"container-fluid"],[1,"row"],[1,"col-lg-6","col-md-12","col-sm-12","p-4","home-project-complete-project"],[1,"d-flex","align-items-center","justify-content-between","mb-4"],[1,"section-title","text-white","m-0"],["class","btn btn-round btn-theme btn-yellow",3,"routerLink",4,"ngIf"],[4,"ngFor","ngForOf"],[4,"ngIf"],[1,"btn","btn-round","btn-theme","btn-yellow",3,"routerLink"],[1,"col-lg-6"],[1,"card-design-2","h-100","align-items-center","text-dark","d-block"],[1,"card-design-2-info","flex-column"],[1,"d-block","mb-2","home-project-title"],[1,"home-project-discription"],[1,"mt-auto"],[1,"mb-3"],[1,"text-right"],["href","javasript:void(0)",1,"text-theme","font-w-600",3,"routerLink"]],template:function(e,t){1&e&&(m.ac(0,"section"),m.ac(1,"div",0),m.Vc(2),m.nc(3,"translate"),m.Zb(),m.ac(4,"div",1),m.ac(5,"div",2),m.ac(6,"div",3),m.ac(7,"div",4),m.ac(8,"div",5),m.Vc(9),m.nc(10,"translate"),m.Zb(),m.Tc(11,Bl,3,6,"a",6),m.Zb(),m.ac(12,"div",2),m.Tc(13,Ul,23,9,"ng-container",7),m.Tc(14,zl,1,0,"app-mini-loader",8),m.Tc(15,jl,1,0,"app-no-records",8),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.Zb()),2&e&&(m.Lb("home-project ",t.BackGroundClass,""),m.Hb(2),m.Wc(m.oc(3,9,"ProjectsOrWorkSection_txt")),m.Hb(7),m.Wc(m.oc(10,11,"CompleteProjects_txt")),m.Hb(2),m.tc("ngIf",t.modelCompleted&&(null==t.modelCompleted?null:t.modelCompleted.length)),m.Hb(2),m.tc("ngForOf",t.modelCompleted),m.Hb(1),m.tc("ngIf",!t.modelCompleted),m.Hb(1),m.tc("ngIf",t.modelCompleted&&0==t.modelCompleted.length))},directives:[i.n,i.m,h.d,v.a,C.a],pipes:[c.c,i.u],styles:[""]}),e})();function Yl(e,t){if(1&e&&(m.ac(0,"a",5),m.ac(1,"div",6),m.Wb(2,"img",7),m.Zb(),m.ac(3,"div",8),m.ac(4,"span"),m.Vc(5),m.Zb(),m.Vc(6),m.nc(7,"translate"),m.Wb(8,"i",9),m.Zb(),m.Zb()),2&e){const e=m.mc(2);m.vc("routerLink","/scheme/",e.DepartmentCode,""),m.Hb(5),m.Xc(" ",null==e.quickLinksModel[0]?null:e.quickLinksModel[0].TotalCount," "),m.Hb(1),m.Xc(" ",m.oc(7,3,"Schemes_txt")," ")}}function ql(e,t){if(1&e&&(m.ac(0,"a",5),m.ac(1,"div",6),m.Wb(2,"img",10),m.Zb(),m.ac(3,"div",8),m.ac(4,"span"),m.Vc(5),m.Zb(),m.Vc(6),m.nc(7,"translate"),m.Wb(8,"i",9),m.Zb(),m.Zb()),2&e){const e=m.mc(2);m.vc("routerLink","/services/",e.DepartmentCode,""),m.Hb(5),m.Xc(" ",null==e.quickLinksModel[1]?null:e.quickLinksModel[1].TotalCount," "),m.Hb(1),m.Xc(" ",m.oc(7,3,"GovServices_txt")," ")}}function Jl(e,t){if(1&e&&(m.ac(0,"div"),m.ac(1,"div",1),m.ac(2,"div",2),m.ac(3,"div",3),m.Tc(4,Yl,9,5,"a",4),m.Tc(5,ql,9,5,"a",4),m.Zb(),m.Zb(),m.Zb(),m.Zb()),2&e){const e=m.mc();m.Lb("home-page-ent-number text-center ",e.BackGroundClass,""),m.Hb(4),m.tc("ngIf",e.haveSchemes),m.Hb(1),m.tc("ngIf",e.haveServices)}}let Kl=(()=>{class e{constructor(e,t,n){this.sanitizer=e,this._dptDistrictWebsiteService=t,this.translate=n,this.DepartmentCode=0,this.quickLinksModel=[],this.enumdata=xi.b,this.haveSchemes=!1,this.haveServices=!1}ngOnInit(){this.GetQuickLinksData()}GetQuickLinksData(){this._dptDistrictWebsiteService.GetDepartemntWebsiteQuickLink(this.DepartmentCode).subscribe(e=>{var t,n;e.IsSuccess&&(this.quickLinksModel=[],this.quickLinksModel=e.Data,this.quickLinksModel&&this.quickLinksModel.length>0&&(null===(t=this.quickLinksModel[0])||void 0===t?void 0:t.TotalCount)&&(this.haveSchemes=!0),this.quickLinksModel&&this.quickLinksModel.length>1&&(null===(n=this.quickLinksModel[1])||void 0===n?void 0:n.TotalCount)&&(this.haveServices=!0))},e=>{console.error(e)})}}return e.\u0275fac=function(t){return new(t||e)(m.Vb(b.b),m.Vb(p.a),m.Vb(c.d))},e.\u0275cmp=m.Pb({type:e,selectors:[["app-ddw-scheme-service"]],inputs:{DepartmentData:"DepartmentData",DepartmentCode:"DepartmentCode",BackGroundClass:"BackGroundClass"},decls:1,vars:1,consts:[[3,"class",4,"ngIf"],[1,"row","w-100"],[1,"col-md-12"],[1,"home-page-ent-number-items"],[3,"routerLink",4,"ngIf"],[3,"routerLink"],[1,"home-page-ent-number-items-img"],["src","assets/images/new_scheme.png","alt","CMO",1,"img-fluid"],[1,"home-page-ent-number-info"],[1,"fa","fa-chevron-right"],["src","assets/images/gov_servce.png","alt","CMO",1,"img-fluid"]],template:function(e,t){1&e&&m.Tc(0,Jl,6,5,"div",0),2&e&&m.tc("ngIf",t.enumdata.Department==(null==t.DepartmentData?null:t.DepartmentData.DepartmentDistrictCode)&&(t.haveSchemes||t.haveServices))},directives:[i.n,h.d],pipes:[c.c],styles:[""]}),e})();var Ql=n("81W+");function er(e,t){if(1&e&&(m.ac(0,"a",7),m.Vc(1),m.nc(2,"translate"),m.Zb()),2&e){const e=m.mc();m.wc("routerLink","/pages/general/video/",e.searchModel.DepartmentCode,"/",e.searchModel.CategoryCode,""),m.Hb(1),m.Xc(" ",m.oc(2,3,"ViewAll_txt")," ")}}function tr(e,t){if(1&e){const e=m.bc();m.Yb(0),m.ac(1,"a",18),m.ac(2,"video",19),m.ic("playing",(function(t){return m.Mc(e),m.mc(3).onMediaPlaying(t,!1)})),m.Wb(3,"source",20),m.Zb(),m.Zb(),m.Xb()}if(2&e){const e=m.mc(),t=e.$implicit,n=e.index;m.Hb(1),m.uc("href",t.Url,m.Pc),m.Hb(1),m.vc("id","my_video_",n,""),m.uc("poster",t.ThumbnailPath,m.Pc),m.Hb(1),m.uc("src",t.Url,m.Pc),m.vc("type","video/",t.Url.split(".")[t.Url.split(".").length-1],"")}}function nr(e,t){if(1&e&&m.Wb(0,"iframe",21),2&e){const e=m.mc().$implicit,t=m.mc(2);m.uc("title","en"==t.translate.currentLang?null==e?null:e.Achievement:null==e?null:e.AchievementHindi),m.tc("src",e.SafeUrl,m.Oc)}}function ir(e,t){if(1&e&&(m.Yb(0),m.ac(1,"div",12),m.ac(2,"div",13),m.ac(3,"div",14),m.Tc(4,tr,4,5,"ng-container",15),m.Tc(5,nr,1,2,"ng-template",null,16,m.Uc),m.Zb(),m.ac(7,"div",17),m.Vc(8),m.nc(9,"slice"),m.nc(10,"slice"),m.Zb(),m.Zb(),m.Zb(),m.Xb()),2&e){const e=t.$implicit,n=m.Kc(6),i=m.mc(2);m.Hb(4),m.tc("ngIf",1==i.isExtenstionUrl(e.Url))("ngIfElse",n),m.Hb(3),m.uc("title","en"==i.translate.currentLang?null==e?null:e.Achievement:null==e?null:e.AchievementHindi),m.Hb(1),m.Xc(" ","hi"==i.translate.currentLang?(null==e?null:e.AchievementHindi.length)>60?m.qc(9,4,null==e?null:e.AchievementHindi,0,60)+"...":null==e?null:e.AchievementHindi:(null==e?null:e.Achievement.length)>60?m.qc(10,8,null==e?null:e.Achievement,0,60)+"...":null==e?null:e.Achievement," ")}}function ar(e,t){if(1&e&&(m.ac(0,"div",8),m.ac(1,"div",9),m.ac(2,"div",10),m.Tc(3,ir,11,12,"ng-container",11),m.Zb(),m.Zb(),m.Zb()),2&e){const e=m.mc();m.Hb(3),m.tc("ngForOf",e.videoModel)}}function cr(e,t){1&e&&m.Wb(0,"app-mini-loader")}function or(e,t){1&e&&m.Wb(0,"app-no-records")}function lr(e,t){if(1&e&&(m.ac(0,"a",7),m.Vc(1),m.nc(2,"translate"),m.Zb()),2&e){const e=m.mc(2);m.wc("routerLink","/pages/general/video/",e.brSearchModel.DepartmentCode,"/",e.brSearchModel.CategoryCode,""),m.Hb(1),m.Xc(" ",m.oc(2,3,"ViewAll_txt")," ")}}function rr(e,t){if(1&e){const e=m.bc();m.Yb(0),m.ac(1,"video",19),m.ic("playing",(function(t){return m.Mc(e),m.mc(3).onMediaPlaying(t,!1)})),m.Wb(2,"source",20),m.Zb(),m.Xb()}if(2&e){const e=m.mc(),t=e.index,n=e.$implicit;m.Hb(1),m.vc("id","my_video_",t,""),m.uc("poster",n.ThumbnailPath,m.Pc),m.Hb(1),m.uc("src",n.Url,m.Pc),m.vc("type","video/",n.Url.split(".")[n.Url.split(".").length-1],"")}}function sr(e,t){if(1&e&&m.Wb(0,"iframe",21),2&e){const e=m.mc().$implicit,t=m.mc(2);m.uc("title","en"==t.translate.currentLang?null==e?null:e.Achievement:null==e?null:e.AchievementHindi),m.tc("src",e.SafeUrl,m.Oc)}}function dr(e,t){if(1&e&&(m.Yb(0),m.ac(1,"div",12),m.ac(2,"div",13),m.ac(3,"div",14),m.Tc(4,rr,3,4,"ng-container",15),m.Tc(5,sr,1,2,"ng-template",null,16,m.Uc),m.Zb(),m.ac(7,"div",17),m.Vc(8),m.nc(9,"slice"),m.nc(10,"slice"),m.Zb(),m.Zb(),m.Zb(),m.Xb()),2&e){const e=t.$implicit,n=m.Kc(6),i=m.mc(2);m.Hb(4),m.tc("ngIf",1==i.isExtenstionUrl(e.Url))("ngIfElse",n),m.Hb(3),m.uc("title","en"==i.translate.currentLang?null==e?null:e.Achievement:null==e?null:e.AchievementHindi),m.Hb(1),m.Xc(" ","hi"==i.translate.currentLang?(null==e?null:e.AchievementHindi.length)>60?m.qc(9,4,null==e?null:e.AchievementHindi,0,60)+"...":null==e?null:e.AchievementHindi:(null==e?null:e.Achievement.length)>60?m.qc(10,8,null==e?null:e.Achievement,0,60)+"...":null==e?null:e.Achievement," ")}}function mr(e,t){1&e&&m.Wb(0,"app-mini-loader")}function ur(e,t){1&e&&m.Wb(0,"app-no-records")}function br(e,t){if(1&e&&(m.ac(0,"section"),m.ac(1,"div",0),m.ac(2,"div",1),m.ac(3,"div",2),m.Vc(4),m.nc(5,"translate"),m.Zb(),m.Tc(6,lr,3,5,"a",3),m.Zb(),m.ac(7,"div",8),m.ac(8,"div",9),m.ac(9,"div",10),m.Tc(10,dr,11,12,"ng-container",11),m.Zb(),m.Zb(),m.Zb(),m.Tc(11,mr,1,0,"app-mini-loader",5),m.Tc(12,ur,1,0,"app-no-records",5),m.Zb(),m.Zb()),2&e){const e=m.mc();m.Lb("home-inauguration ",e.BackGroundClass,""),m.Hb(4),m.Xc(" ",m.oc(5,8,"BudgetReviewVideo_txt")," "),m.Hb(2),m.tc("ngIf",e.brTotalRecords>e.brSearchModel.IndexModel.PageSize),m.Hb(4),m.tc("ngForOf",e.brVideoModel),m.Hb(1),m.tc("ngIf",!e.brVideoModel),m.Hb(1),m.tc("ngIf",e.brVideoModel&&0==e.brVideoModel.length)}}let gr=(()=>{class e{constructor(e,t,n,i){this.translate=e,this._achievementService=t,this.sanitizer=n,this._commonService=i,this.totalRecords=0,this.searchModel=new l.b,this.brTotalRecords=0,this.brSearchModel=new l.b,this.departmentEnum=Ql.a,this.deptCode=0,this.deptCode=this._commonService.GetWebDistDeptCode()}ngOnInit(){this.getData(),this.deptCode==this.departmentEnum.BudgetWebsite&&this.getBudgetReviewData()}getData(){this.searchModel.IndexModel.OrderBy="AchievementDate",this.searchModel.IndexModel.OrderByAsc=0,this.searchModel.IndexModel.PageSize=4,this.searchModel.CategoryCode=Number(o.a.VideoGalleryCode),this.searchModel.DepartmentCode=this.deptCode,this.searchModel.IndexModel.AdvanceSearchModel={DepartmentCode:this.searchModel.DepartmentCode,CategoryCode:this.searchModel.CategoryCode,SubCategoryCode:0},this._achievementService.GetVideoListData(this.searchModel.IndexModel).subscribe(e=>{e.IsSuccess?(this.videoModel=e.Data.Data,this.videoModel&&this.videoModel.length>0&&this.videoModel.forEach(e=>{e.SafeUrl=this.SafeUrl(e.YoutubeURL||e.Url)}),this.searchModel.IndexModel.IsPostBack||(this.totalRecords=e.Data.TotalRecords)):this.videoModel=[]},e=>{this.videoModel=[],console.error(e)})}getBudgetReviewData(){this.brSearchModel.IndexModel.OrderBy="AchievementDate",this.brSearchModel.IndexModel.OrderByAsc=0,this.brSearchModel.IndexModel.PageSize=4,this.brSearchModel.CategoryCode=Number(o.a.BudgetReviewVideoCode),this.brSearchModel.DepartmentCode=this.deptCode,this.brSearchModel.IndexModel.AdvanceSearchModel={DepartmentCode:this.brSearchModel.DepartmentCode,CategoryCode:this.brSearchModel.CategoryCode,SubCategoryCode:0},this._achievementService.GetVideoListData(this.brSearchModel.IndexModel).subscribe(e=>{e.IsSuccess?(this.brVideoModel=e.Data.Data,this.brVideoModel&&this.brVideoModel.length>0&&this.brVideoModel.forEach(e=>{e.SafeUrl=this.SafeUrl(e.YoutubeURL||e.Url)}),this.brSearchModel.IndexModel.IsPostBack||(this.brTotalRecords=e.Data.TotalRecords)):this.brVideoModel=[]},e=>{this.brVideoModel=[],console.error(e)})}SafeUrl(e){var t,n;return null==e?"":new RegExp(/\/view(v|V?)/i).test(e)?(e=null===(n=e)||void 0===n?void 0:n.replace(/\/view(v|V?)/i,"/preview"),this.sanitizer.bypassSecurityTrustResourceUrl(e)):(e=null===(t=e)||void 0===t?void 0:t.replace(/\/watch\?(v|V\?)=/g,"/embed/"),this.sanitizer.bypassSecurityTrustResourceUrl(e))}isExtenstionUrl(e){return new RegExp(/\.\w{3,4}($|\?)/i).test(e)}sanitizeUrl(e){return this.sanitizer.bypassSecurityTrustResourceUrl(e)}onMediaPlaying(e,t){var n,i;e.preventDefault(),null!=this.currentPlayingVideo&&(null===(n=this.currentPlayingVideo)||void 0===n||n.pause()),null!=this.currentPlayingAudio&&(null===(i=this.currentPlayingAudio)||void 0===i||i.pause()),t?(this.currentPlayingAudio=e.target,this.currentPlayingAudio.play()):(this.currentPlayingVideo=e.target,this.currentPlayingVideo.play())}}return e.\u0275fac=function(t){return new(t||e)(m.Vb(c.d),m.Vb(u.a),m.Vb(b.b),m.Vb(g.a))},e.\u0275cmp=m.Pb({type:e,selectors:[["app-ddw-video-gallery"]],inputs:{BackGroundClass:"BackGroundClass"},decls:11,vars:11,consts:[[1,"container"],[1,"col-lg-12","d-md-flex","align-items-center","justify-content-between","mb-5"],[1,"section-title","text-center","m-auto"],["target","_blank","class","btn btn-round btn-theme btn-yellow",3,"routerLink",4,"ngIf"],["class","col-lg-12 col-md-12 col-12 mb-4 mb-lg-0",4,"ngIf"],[4,"ngIf"],[3,"class",4,"ngIf"],["target","_blank",1,"btn","btn-round","btn-theme","btn-yellow",3,"routerLink"],[1,"col-lg-12","col-md-12","col-12","mb-4","mb-lg-0"],[1,"home-new-program-bg-white"],[1,"row"],[4,"ngFor","ngForOf"],[1,"col-xl-3","col-lg-3","col-sm-3","col-12","mb-3"],[1,"audio-card","video-card-new","d-flex","justify-content-center","text-center"],[1,"embed-responsive","embed-responsive-21by9"],[4,"ngIf","ngIfElse"],["iframVideo",""],[1,"av-caption",3,"title"],["target","_blank",3,"href"],["width","100%","height","100%","controls","","preload","none","data-setup",'{ "aspectRatio":"100%:100%", "playbackRates": [1, 1.5, 2] }',1,"embed-responsive-item",3,"id","poster","playing"],[3,"src","type"],["width","971","height","546","frameborder","0","allow","accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share","allowfullscreen","",3,"src","title"]],template:function(e,t){1&e&&(m.ac(0,"section"),m.ac(1,"div",0),m.ac(2,"div",1),m.ac(3,"div",2),m.Vc(4),m.nc(5,"translate"),m.Zb(),m.Tc(6,er,3,5,"a",3),m.Zb(),m.Tc(7,ar,4,1,"div",4),m.Tc(8,cr,1,0,"app-mini-loader",5),m.Tc(9,or,1,0,"app-no-records",5),m.Zb(),m.Zb(),m.Tc(10,br,13,10,"section",6)),2&e&&(m.Lb("home-inauguration ",t.BackGroundClass,""),m.Hb(4),m.Xc(" ",m.oc(5,9,"VideoGallery_txt")," "),m.Hb(2),m.tc("ngIf",t.totalRecords>t.searchModel.IndexModel.PageSize),m.Hb(1),m.tc("ngIf",t.videoModel&&t.videoModel.length>0),m.Hb(1),m.tc("ngIf",!t.videoModel),m.Hb(1),m.tc("ngIf",t.videoModel&&0==t.videoModel.length),m.Hb(1),m.tc("ngIf",t.brVideoModel&&t.brVideoModel.length>0))},directives:[i.n,h.d,i.m,v.a,C.a],pipes:[c.c,i.u],styles:[""]}),e})();const hr=function(e,t){return["/pages/government-order/images",e,t,"1771"]};function pr(e,t){if(1&e&&(m.ac(0,"button",19),m.Vc(1),m.nc(2,"translate"),m.Zb()),2&e){const e=m.mc();m.tc("routerLink",m.Fc(4,hr,e._commonService.GetWebDistDeptCode(),e.orderTypeEnum.Publication)),m.Hb(1),m.Xc(" ",m.oc(2,2,"ViewAll_txt")," ")}}function fr(e,t){if(1&e){const e=m.bc();m.Yb(0),m.ac(1,"div",20),m.ac(2,"a",21),m.ic("error",(function(t){return m.Mc(e),m.mc()._commonService.onImageError(t,"assets/images/default.png")})),m.ac(3,"img",22),m.ic("error",(function(t){return m.Mc(e),m.mc()._commonService.onImageError(t,"assets/images/default.png")})),m.Zb(),m.Zb(),m.Zb(),m.Xb()}if(2&e){const e=t.$implicit;m.mc(),m.Hb(1),m.uc("title",e.Title),m.Hb(1),m.uc("href",e.ImagePath,m.Pc),m.Hb(1),m.uc("src",e.ImagePath,m.Pc),m.uc("alt",e.Title),m.uc("title",e.Title)}}function vr(e,t){1&e&&m.Wb(0,"app-mini-loader",23)}function Cr(e,t){1&e&&m.Wb(0,"app-no-records",23)}const Hr=function(e,t){return["/pages/government-order/images",e,t,"2169"]};function Dr(e,t){if(1&e&&(m.ac(0,"button",19),m.Vc(1),m.nc(2,"translate"),m.Zb()),2&e){const e=m.mc();m.tc("routerLink",m.Fc(4,Hr,e._commonService.GetWebDistDeptCode(),e.orderTypeEnum.Publication)),m.Hb(1),m.Xc(" ",m.oc(2,2,"ViewAll_txt")," ")}}function Mr(e,t){if(1&e){const e=m.bc();m.Yb(0),m.ac(1,"div",20),m.ac(2,"a",24),m.ic("error",(function(t){return m.Mc(e),m.mc()._commonService.onImageError(t,"assets/images/default.png")})),m.ac(3,"img",25),m.ic("error",(function(t){return m.Mc(e),m.mc()._commonService.onImageError(t,"assets/images/default.png")})),m.Zb(),m.Zb(),m.Zb(),m.Xb()}if(2&e){const e=t.$implicit;m.mc(),m.Hb(1),m.uc("title",e.Title),m.Hb(1),m.uc("href",e.ImagePath,m.Pc),m.Hb(1),m.uc("src",e.ImagePath,m.Pc),m.uc("title",e.Title),m.uc("alt",e.Title)}}function Ir(e,t){1&e&&m.Wb(0,"app-mini-loader",23)}function Zr(e,t){1&e&&m.Wb(0,"app-no-records",23)}let Tr=(()=>{class e{constructor(e,t,n,i,a){this._orderService=e,this.translate=t,this.sanitizer=n,this._router=i,this._commonService=a,this.orderTypeEnum=gc.e,this.posterModelCount=0,this.advertisementModelCount=0,this.audioModelCount=0,this.videoModelCount=0,this.DepartmentCode=0,this.DateFormat=d.a.DateFormat,this.onPause=new m.q}ngOnInit(){this.GetPoster(),this.GetAdvertisement()}GetAudio(){this.GetListByTypeCode(1684).subscribe(e=>{var t,n,i,a;if(this.audioModel=[],e.IsSuccess)return this.filterModel.IndexModel.IsPostBack||(this.audioModelCount=null===(n=null===(t=e)||void 0===t?void 0:t.Data)||void 0===n?void 0:n.TotalRecords),this.audioModel=null===(a=null===(i=e)||void 0===i?void 0:i.Data)||void 0===a?void 0:a.Data;this.audioModelCount=0},e=>{console.error(e.message),this.audioModel=[]})}GetAdvertisement(){this.GetListByTypeCode(gc.d.Advertisement).subscribe(e=>{var t,n,i,a;if(this.advertisementModel=[],e.IsSuccess)return this.filterModel.IndexModel.IsPostBack||(this.advertisementModelCount=null===(n=null===(t=e)||void 0===t?void 0:t.Data)||void 0===n?void 0:n.TotalRecords),this.advertisementModel=null===(a=null===(i=e)||void 0===i?void 0:i.Data)||void 0===a?void 0:a.Data;this.advertisementModelCount=0},e=>{console.error(e.message),this.advertisementModel=[]})}GetPoster(){this.GetListByTypeCode(gc.d.Poster).subscribe(e=>{var t,n,i,a;if(this.posterModel=[],e.IsSuccess)return this.filterModel.IndexModel.IsPostBack||(this.posterModelCount=null===(n=null===(t=e)||void 0===t?void 0:t.Data)||void 0===n?void 0:n.TotalRecords),this.posterModel=null===(a=null===(i=e)||void 0===i?void 0:i.Data)||void 0===a?void 0:a.Data;this.posterModelCount=0},e=>{console.error(e.message),this.posterModel=[]})}GetVideo(){this.GetListByTypeCode(1863).subscribe(e=>{var t,n,i,a;if(this.videoModel=[],this.videoModel=null===(n=null===(t=e)||void 0===t?void 0:t.Data)||void 0===n?void 0:n.Data,e.IsSuccess)return this.filterModel.IndexModel.IsPostBack||(this.videoModelCount=null===(a=null===(i=e)||void 0===i?void 0:i.Data)||void 0===a?void 0:a.TotalRecords),this.videoModel&&this.videoModel.length>0&&this.videoModel.forEach(e=>{e.SafeUrl=this.SafeUrl(e.YoutubeURL||e.Url)}),this.videoModel;this.videoModelCount=0},e=>{console.error(e.message),this.videoModel=[]})}isExtenstionUrl(e){return new RegExp(/\.\w{3,4}($|\?)/i).test(e)}onMediaPlaying(e,t){var n,i;e.preventDefault(),null===(n=this.currentPlayingAudio)||void 0===n||n.pause(),null===(i=this.currentPlayingVideo)||void 0===i||i.pause(),t?(this.currentPlayingAudio=e.target,this.currentPlayingAudio.play()):(this.currentPlayingVideo=e.target,this.currentPlayingVideo.play()),this.mediaControlModel=new s.e,this.mediaControlModel.Item=e,this.mediaControlModel.IsAudio=t,this.onPause.emit(this.mediaControlModel)}SafeUrl(e){return new RegExp(/\/view(v|V?)/i).test(e)?(e=e.replace(/\/view(v|V?)/i,"/preview"),this.sanitizer.bypassSecurityTrustResourceUrl(e)):(e=e.replace(/\/watch\?(v|V\?)=/g,"/embed/"),this.sanitizer.bypassSecurityTrustResourceUrl(e))}GetListByTypeCode(e){let t=new hc.d;return t.IndexModel.Page=1,t.IndexModel.PageSize=2,t.IndexModel.OrderBy="Date",t.IndexModel.OrderByAsc=0,t.Type=this.orderTypeEnum.Publication,t.SubTypeCode=e,t.DepartmentCode=this._commonService.GetWebDistDeptCode(),this.filterModel=t,this._orderService.Get(t)}}return e.\u0275fac=function(t){return new(t||e)(m.Vb(pc.a),m.Vb(c.d),m.Vb(b.b),m.Vb(h.b),m.Vb(g.a))},e.\u0275cmp=m.Pb({type:e,selectors:[["app-ddw-order-awareness-material"]],inputs:{DepartmentCode:"DepartmentCode",BackGroundClass:"BackGroundClass"},outputs:{onPause:"onPause"},decls:34,vars:20,consts:[[2,"background","#fff !important"],[1,"container-fluid"],[1,"section-title","text-center","mb-5"],[1,"row"],[1,"col-lg-6","mb-4"],[1,"home-order-material-items"],[1,"d-flex","align-items-center","justify-content-between","mb-3","home-order-material-items-title"],[1,"section-title","mb-0"],["class","btn btn-round btn-theme btn-yellow",3,"routerLink",4,"ngIf"],[1,"photo-gallery","home-new-poster"],[1,"photos"],[1,"d-flex","flex-row","flex-wrap","my-flex-container","justify-content-center","photos","w-100"],[4,"ngFor","ngForOf"],["color","#fff",4,"ngIf"],[1,"col-lg-6"],[1,"d-flex","align-items-center","justify-content-between","mb-4","home-order-material-items-title"],[1,"col-lg-12","col-md-12"],[1,"photo-gallery"],[1,"row","photos"],[1,"btn","btn-round","btn-theme","btn-yellow",3,"routerLink"],[1,"photo-gallery-bx","align-items-center","d-flex","justify-content-center",3,"title"],["data-lightbox","photosSection",3,"href","error"],[1,"img-fluid","rounded",3,"src","alt","title","error"],["color","#fff"],["data-lightbox","photosAdvertisements",3,"href","error"],[1,"img-fluid","rounded",3,"src","title","alt","error"]],template:function(e,t){1&e&&(m.ac(0,"section",0),m.ac(1,"div",1),m.ac(2,"div",2),m.Vc(3),m.nc(4,"translate"),m.Zb(),m.ac(5,"div",3),m.ac(6,"div",4),m.ac(7,"div",5),m.ac(8,"div",6),m.ac(9,"h1",7),m.Vc(10),m.nc(11,"translate"),m.Zb(),m.Tc(12,pr,3,7,"button",8),m.Zb(),m.ac(13,"div",9),m.ac(14,"div",10),m.ac(15,"div",11),m.Tc(16,fr,4,5,"ng-container",12),m.Tc(17,vr,1,0,"app-mini-loader",13),m.Tc(18,Cr,1,0,"app-no-records",13),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.ac(19,"div",14),m.ac(20,"div",5),m.ac(21,"div",15),m.ac(22,"h1",7),m.Vc(23),m.nc(24,"translate"),m.Zb(),m.Tc(25,Dr,3,7,"button",8),m.Zb(),m.ac(26,"div",3),m.ac(27,"div",16),m.ac(28,"div",17),m.ac(29,"div",18),m.ac(30,"div",11),m.Tc(31,Mr,4,5,"ng-container",12),m.Tc(32,Ir,1,0,"app-mini-loader",13),m.Tc(33,Zr,1,0,"app-no-records",13),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.Zb()),2&e&&(m.Lb("order-material py-5 ",t.BackGroundClass,""),m.Hb(3),m.Wc(m.oc(4,14,"AwarenessMaterial_txt")),m.Hb(7),m.Xc(" ",m.oc(11,16,"Posters_txt"),""),m.Hb(2),m.tc("ngIf",t.posterModelCount>t.filterModel.IndexModel.PageSize),m.Hb(4),m.tc("ngForOf",t.posterModel),m.Hb(1),m.tc("ngIf",!t.posterModel),m.Hb(1),m.tc("ngIf",t.posterModel&&0==t.posterModel.length),m.Hb(5),m.Xc(" ",m.oc(24,18,"Advertisement_txt")," "),m.Hb(2),m.tc("ngIf",t.advertisementModelCount>t.filterModel.IndexModel.PageSize),m.Hb(6),m.tc("ngForOf",t.advertisementModel),m.Hb(1),m.tc("ngIf",!t.advertisementModel),m.Hb(1),m.tc("ngIf",t.advertisementModel&&0==t.advertisementModel.length))},directives:[i.n,i.m,h.c,v.a,C.a],pipes:[c.c],styles:[".order-material[_ngcontent-%COMP%] .section-title[_ngcontent-%COMP%]:after, .order-material[_ngcontent-%COMP%] .section-title[_ngcontent-%COMP%]:before{display:none}section.order-material[_ngcontent-%COMP%]{box-shadow:0 0 20px #e7e7e7;max-width:1600px;margin:auto;border-radius:40px;border-top:5px solid #009688}.order-material[_ngcontent-%COMP%] .photo-gallery-bx[_ngcontent-%COMP%]{box-shadow:none;width:40%;border:2px solid #dfdfdf;border-radius:10px;height:300px;background:#fbfdff}.order-material[_ngcontent-%COMP%] .photo-gallery-bx[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-height:295px}.order-material[_ngcontent-%COMP%] .btn-theme[_ngcontent-%COMP%]{background:transparent;color:#135da4!important;text-decoration:underline}"]}),e})();function yr(e,t){if(1&e&&(m.ac(0,"section"),m.ac(1,"div",1),m.ac(2,"div",2),m.ac(3,"div",3),m.Wb(4,"p",4),m.Zb(),m.Zb(),m.Zb(),m.Zb()),2&e){const e=m.mc();m.Lb("dept-dynamic-info-home-page ",e.BackGroundClass,""),m.Hb(4),m.tc("innerHTML",e.sanitizer.bypassSecurityTrustHtml("hi"==e.translate.currentLang&&null!=e.model&&e.model.DetailsInHindi?null==e.model?null:e.model.DetailsInHindi:null==e.model?null:e.model.Details),m.Nc)}}let xr=(()=>{class e{constructor(e,t,n,i){this.sanitizer=e,this.translate=t,this._commonService=n,this._departmentProfileService=i,this.isLoading=!0,this.filterModel=new Ci.c,this.model=new Ci.d}ngOnInit(){this.getDepartmentProfileData()}getDepartmentProfileData(){this.isLoading=!0,this.model=void 0,this.filterModel.IndexModel.PageSize=1,this.filterModel.JankalyanCategoryCode=vi.b.AboutDepartmantDistCode,this.filterModel.EntryTypeCode=vi.d.WelcomePage,this.filterModel.DepartmentCode=this._commonService.GetWebDistDeptCode(),this._departmentProfileService.GetList(this.filterModel).subscribe(e=>{var t,n;if(e.IsSuccess){let i=null===(n=null===(t=e)||void 0===t?void 0:t.Data)||void 0===n?void 0:n.Data;this.model=i&&1==i.length?i[0]:new Ci.d}else this.model={};this.isLoading=!1},e=>{this.model={},this.isLoading=!1})}}return e.\u0275fac=function(t){return new(t||e)(m.Vb(b.b),m.Vb(c.d),m.Vb(g.a),m.Vb(Hi.a))},e.\u0275cmp=m.Pb({type:e,selectors:[["app-welcome-section"]],inputs:{BackGroundClass:"BackGroundClass"},decls:1,vars:1,consts:[[3,"class",4,"ngIf"],[1,"container"],[1,"row"],[1,"col-lg-12"],[2,"text-align","justify !important",3,"innerHTML"]],template:function(e,t){1&e&&m.Tc(0,yr,5,4,"section",0),2&e&&m.tc("ngIf",null==t.model?null:t.model.Details)},directives:[i.n],styles:[""]}),e})();function Pr(e,t){if(1&e&&(m.ac(0,"section"),m.ac(1,"div",1),m.ac(2,"div",2),m.ac(3,"div",3),m.Wb(4,"p",4),m.Zb(),m.Zb(),m.Zb(),m.Zb()),2&e){const e=m.mc();m.Lb("dept-dynamic-info-home-page ",e.BackGroundClass,""),m.Hb(4),m.tc("innerHTML",e.sanitizer.bypassSecurityTrustHtml("hi"==e.translate.currentLang&&null!=e.model&&e.model.DetailsInHindi?null==e.model?null:e.model.DetailsInHindi:null==e.model?null:e.model.Details),m.Nc)}}let Sr=(()=>{class e{constructor(e,t,n,i){this.sanitizer=e,this.translate=t,this._commonService=n,this._departmentProfileService=i,this.isLoading=!0,this.filterModel=new Ci.c,this.model=new Ci.d}ngOnInit(){this.getDepartmentProfileData()}getDepartmentProfileData(){this.isLoading=!0,this.model=void 0,this.filterModel.IndexModel.PageSize=1,this.filterModel.JankalyanCategoryCode=vi.b.AboutDepartmantDistCode,this.filterModel.EntryTypeCode=vi.d.WelcomePage2,this.filterModel.DepartmentCode=this._commonService.GetWebDistDeptCode(),this._departmentProfileService.GetList(this.filterModel).subscribe(e=>{var t,n;if(e.IsSuccess){let i=null===(n=null===(t=e)||void 0===t?void 0:t.Data)||void 0===n?void 0:n.Data;this.model=i&&1==i.length?i[0]:new Ci.d}else this.model={};this.isLoading=!1},e=>{this.model={},this.isLoading=!1})}}return e.\u0275fac=function(t){return new(t||e)(m.Vb(b.b),m.Vb(c.d),m.Vb(g.a),m.Vb(Hi.a))},e.\u0275cmp=m.Pb({type:e,selectors:[["app-welcome2-section"]],inputs:{BackGroundClass:"BackGroundClass"},decls:1,vars:1,consts:[[3,"class",4,"ngIf"],[1,"container"],[1,"row"],[1,"col-lg-12"],[2,"text-align","justify !important",3,"innerHTML"]],template:function(e,t){1&e&&m.Tc(0,Pr,5,4,"section",0),2&e&&m.tc("ngIf",null==t.model?null:t.model.Details)},directives:[i.n],styles:[""]}),e})();function _r(e,t){if(1&e&&(m.ac(0,"section"),m.ac(1,"div",1),m.ac(2,"div",2),m.ac(3,"div",3),m.Wb(4,"p",4),m.Zb(),m.Zb(),m.Zb(),m.Zb()),2&e){const e=m.mc();m.Lb("dept-dynamic-info-home-page ",e.BackGroundClass,""),m.Hb(4),m.tc("innerHTML",e.sanitizer.bypassSecurityTrustHtml("hi"==e.translate.currentLang&&null!=e.model&&e.model.DetailsInHindi?null==e.model?null:e.model.DetailsInHindi:null==e.model?null:e.model.Details),m.Nc)}}let wr=(()=>{class e{constructor(e,t,n,i){this.sanitizer=e,this.translate=t,this._commonService=n,this._departmentProfileService=i,this.isLoading=!0,this.filterModel=new Ci.c,this.model=new Ci.d}ngOnInit(){this.getDepartmentProfileData()}getDepartmentProfileData(){this.isLoading=!0,this.model=void 0,this.filterModel.IndexModel.PageSize=1,this.filterModel.JankalyanCategoryCode=vi.b.AboutDepartmantDistCode,this.filterModel.EntryTypeCode=vi.d.WelcomePage3,this.filterModel.DepartmentCode=this._commonService.GetWebDistDeptCode(),this._departmentProfileService.GetList(this.filterModel).subscribe(e=>{var t,n;if(e.IsSuccess){let i=null===(n=null===(t=e)||void 0===t?void 0:t.Data)||void 0===n?void 0:n.Data;this.model=i&&1==i.length?i[0]:new Ci.d}else this.model={};this.isLoading=!1},e=>{this.model={},this.isLoading=!1})}}return e.\u0275fac=function(t){return new(t||e)(m.Vb(b.b),m.Vb(c.d),m.Vb(g.a),m.Vb(Hi.a))},e.\u0275cmp=m.Pb({type:e,selectors:[["app-welcome3-section"]],inputs:{BackGroundClass:"BackGroundClass"},decls:1,vars:1,consts:[[3,"class",4,"ngIf"],[1,"container"],[1,"row"],[1,"col-lg-12"],[2,"text-align","justify !important",3,"innerHTML"]],template:function(e,t){1&e&&m.Tc(0,_r,5,4,"section",0),2&e&&m.tc("ngIf",null==t.model?null:t.model.Details)},directives:[i.n],styles:[""]}),e})();var Lr=function(e){return e.Photo="PHOTO",e.Video="VIDEO",e.Image="PHOTO",e}({});function Vr(e,t){if(1&e&&(m.ac(0,"option",11),m.Vc(1),m.Zb()),2&e){const e=t.$implicit,n=m.mc(2);m.tc("value",e.Value),m.Hb(1),m.Xc(" ","en"!=n.translate.currentLang?e.OtherData.DepartmentTitleHindi:e.Text," ")}}function kr(e,t){if(1&e){const e=m.bc();m.ac(0,"select",10),m.ic("change",(function(t){return m.Mc(e),m.mc().onDistrictSelect(t)}))("ngModelChange",(function(t){return m.Mc(e),m.mc().filters.DepartmentCode=t})),m.ac(1,"option",11),m.Vc(2),m.nc(3,"translate"),m.Zb(),m.Tc(4,Vr,2,2,"option",12),m.Zb()}if(2&e){const e=m.mc();m.tc("ngModel",e.filters.DepartmentCode),m.Hb(1),m.tc("value",0),m.Hb(1),m.Xc("--",m.oc(3,4,"District_txt"),"--"),m.Hb(2),m.tc("ngForOf",e.departments)}}function Nr(e,t){if(1&e&&(m.ac(0,"span"),m.Vc(1),m.Zb()),2&e){const e=m.mc();m.Hb(1),m.Xc(" ","en"!=e.translate.currentLang?e.SectionNameHi||e.SectionNameEn:e.SectionNameEn||e.SectionNameHi,"")}}function Or(e,t){1&e&&(m.ac(0,"span"),m.Vc(1),m.nc(2,"translate"),m.Zb()),2&e&&(m.Hb(1),m.Xc(" ",m.oc(2,1,"PhotoGallery_txt"),""))}const Ar=function(e,t){return["/pages/uploader",e,"gallery",t,0]};function Wr(e,t){if(1&e&&(m.ac(0,"a",13),m.ac(1,"span"),m.Vc(2),m.nc(3,"translate"),m.Zb(),m.Zb()),2&e){const e=m.mc();m.tc("routerLink",m.Fc(4,Ar,e.UploaderTypeEnum.Image,e.filters.DepartmentCode)),m.Hb(2),m.Xc(" ",m.oc(3,2,"ViewAll_txt"),"")}}function Er(e,t){if(1&e){const e=m.bc();m.ac(0,"li"),m.ac(1,"a",27),m.ac(2,"img",21),m.ic("error",(function(t){return m.Mc(e),m.mc(5)._commonService.onImageError(t,"assets/images/default.png")})),m.Zb(),m.Zb(),m.Zb()}if(2&e){const e=m.mc().$implicit,t=m.mc(2),n=t.index,i=t.$implicit;m.Hb(1),m.uc("href",e,m.Pc),m.Jb("data-lightbox","uploader_images_",n,"A"),m.uc("title",i.Subject),m.Hb(1),m.uc("title",i.Subject),m.uc("alt",i.Subject),m.tc("src",e,m.Pc)}}function Gr(e,t){if(1&e&&(m.Yb(0),m.Tc(1,Er,3,6,"li",9),m.Xb()),2&e){const e=t.index;m.Hb(1),m.tc("ngIf",e>0)}}function Fr(e,t){if(1&e&&(m.ac(0,"ul",25),m.Tc(1,Gr,2,1,"ng-container",26),m.Zb()),2&e){const e=m.mc().$implicit;m.Hb(1),m.tc("ngForOf",e.Images)}}function Rr(e,t){if(1&e&&(m.ac(0,"span"),m.Vc(1),m.Zb()),2&e){const e=m.mc().$implicit,t=m.mc(2);m.Hb(1),m.Xc(" ","hi"==t.translate.currentLang?e.DepartmentTitleHindi||e.DepartmentTitle:e.DepartmentTitle||e.DepartmentTitleHindi," ")}}function Xr(e,t){if(1&e&&(m.ac(0,"span"),m.Vc(1),m.nc(2,"slice"),m.nc(3,"slice"),m.Zb()),2&e){const e=m.mc().$implicit,t=m.mc(2);m.Hb(1),m.Xc(" ","hi"==t.translate.currentLang?(null==e?null:e.Subject.length)>60?m.qc(2,1,null==e?null:e.Subject,0,60)+"...":null==e?null:e.Subject:(null==e?null:e.Subject.length)>60?m.qc(3,5,null==e?null:e.Subject,0,60)+"...":null==e?null:e.Subject," ")}}function Br(e,t){if(1&e&&(m.ac(0,"span",28),m.Vc(1),m.nc(2,"date"),m.nc(3,"date"),m.Zb()),2&e){const e=m.mc().$implicit,t=m.mc(2);m.Hb(1),m.Wc("hi"==t.translate.currentLang?e.DateHindi||m.pc(2,1,e.Date,t.DateFormat):m.pc(3,4,e.Date,t.DateFormat)||e.DateHindi)}}function Ur(e,t){if(1&e){const e=m.bc();m.ac(0,"div",18),m.ac(1,"a",19),m.ic("error",(function(t){return m.Mc(e),m.mc(2)._commonService.onImageError(t,"assets/images/default.png")})),m.nc(2,"slice"),m.nc(3,"slice"),m.ac(4,"div",20),m.ac(5,"img",21),m.ic("error",(function(t){return m.Mc(e),m.mc(2)._commonService.onImageError(t,"assets/images/default.png")})),m.Zb(),m.Zb(),m.Tc(6,Fr,2,1,"ul",22),m.ac(7,"div",23),m.Tc(8,Rr,2,1,"span",9),m.Tc(9,Xr,4,9,"span",9),m.Zb(),m.Tc(10,Br,4,7,"span",24),m.Zb(),m.Zb()}if(2&e){const e=t.$implicit,n=t.index,i=m.mc(2);m.Hb(1),m.Jb("data-lightbox","uploader_images_",n,"A"),m.uc("title","en"==i.translate.currentLang?(null==e?null:null==e.Subject?null:e.Subject.length)>80?m.qc(2,10,null==e?null:e.Subject,0,80)+"...":null==e?null:e.Subject:(null==e?null:null==e.Subject?null:e.Subject.length)>80?m.qc(3,14,null==e?null:e.Subject,0,80)+"...":null==e?null:e.Subject),m.tc("href",e.Images[0],m.Pc),m.Hb(4),m.uc("title",e.Subject),m.uc("alt",e.Subject),m.tc("src",e.Images[0],m.Pc),m.Hb(1),m.tc("ngIf",e.Images&&e.Images.length>0),m.Hb(2),m.tc("ngIf",e.DepartmentTitle||e.DepartmentTitleHindi),m.Hb(1),m.tc("ngIf",null==e?null:e.Subject),m.Hb(1),m.tc("ngIf",e.DateHindi||e.Date)}}function zr(e,t){if(1&e&&(m.ac(0,"div",14),m.ac(1,"div",15),m.ac(2,"div",16),m.Tc(3,Ur,11,18,"div",17),m.Zb(),m.Zb(),m.Zb()),2&e){const e=m.mc();m.Hb(3),m.tc("ngForOf",e.data)}}function jr(e,t){1&e&&m.Wb(0,"app-mini-loader")}function $r(e,t){1&e&&m.Wb(0,"app-no-records")}let Yr=(()=>{class e{constructor(e,t,n){this.translate=e,this._dptDistrictWebsiteService=t,this._commonService=n,this.departments=[],this.filters=new ha.e,this.totalRecords=0,this.UploaderTypeEnum=Lr,this.DateFormat=d.a.DateFormat}ngOnInit(){this.GetData()}onDistrictSelect(e){this.GetData()}GetData(){this.data=void 0,this.filters.OrderBy="ModifiedDate",this.filters.OrderByAsc=0,this.filters.PageSize=4,this.filters.UploaderType=Lr.Image,this.filters.DepartmentCode=this._commonService.GetWebDistDeptCode(),this._dptDistrictWebsiteService.GetUploaderDataForFront(this.filters).subscribe(e=>{var t,n;e.IsSuccess?(this.data=e.Data.Data,this.totalRecords=e.Data.TotalRecords,(null===(t=this.data)||void 0===t?void 0:t.length)&&!(null===(n=this.departments)||void 0===n?void 0:n.length)&&this.GetDepartmentByAdminDepartmentCodes()):this.data=[]},e=>{this.data=[]})}GetDepartmentByAdminDepartmentCodes(){this._dptDistrictWebsiteService.GetDepartmentByAdminDepartmentCodes(Ql.a.Collectorate.toString()).subscribe(e=>{this.departments=e.IsSuccess?e.Data:[]})}}return e.\u0275fac=function(t){return new(t||e)(m.Vb(c.d),m.Vb(p.a),m.Vb(g.a))},e.\u0275cmp=m.Pb({type:e,selectors:[["app-uploader-photo-gallery"]],inputs:{BackGroundClass:"BackGroundClass",SectionNameEn:"SectionNameEn",SectionNameHi:"SectionNameHi"},decls:13,vars:10,consts:[[1,"container"],[1,"col-lg-12","d-md-flex","align-items-center","justify-content-between","mb-5"],[1,"col-lg-4",2,"display","none"],["class","custom-select","style","max-width: 170px;",3,"ngModel","change","ngModelChange",4,"ngIf"],[1,"section-title","text-center","m-auto"],[4,"ngIf","ngIfElse"],["defaultHeading",""],["class","btn btn-round btn-theme btn-yellow",3,"routerLink",4,"ngIf"],["class","col-lg-12 col-md-12 col-12 mb-4 mb-lg-0",4,"ngIf"],[4,"ngIf"],[1,"custom-select",2,"max-width","170px",3,"ngModel","change","ngModelChange"],[3,"value"],[3,"value",4,"ngFor","ngForOf"],[1,"btn","btn-round","btn-theme","btn-yellow",3,"routerLink"],[1,"col-lg-12","col-md-12","col-12","mb-4","mb-lg-0"],[1,"home-new-program-bg-white"],[1,"row"],["class","col-lg-3 col-md-3 col-sm-6 col-12 mb-3 px-2",4,"ngFor","ngForOf"],[1,"col-lg-3","col-md-3","col-sm-6","col-12","mb-3","px-2"],[1,"home-gallery-items","d-block",3,"href","title","error"],[1,"home-gallery-items-img","d-flex","align-items-center","justify-content-center"],[3,"src","title","alt","error"],["style","display: none;",4,"ngIf"],[1,"home-gallery-items-caption"],["class","new-date-design",4,"ngIf"],[2,"display","none"],[4,"ngFor","ngForOf"],[3,"href","title"],[1,"new-date-design"]],template:function(e,t){if(1&e&&(m.ac(0,"section"),m.ac(1,"div",0),m.ac(2,"div",1),m.ac(3,"div",2),m.Tc(4,kr,5,6,"select",3),m.Zb(),m.ac(5,"div",4),m.Tc(6,Nr,2,1,"span",5),m.Tc(7,Or,3,3,"ng-template",null,6,m.Uc),m.Zb(),m.Tc(9,Wr,4,7,"a",7),m.Zb(),m.Tc(10,zr,4,1,"div",8),m.Tc(11,jr,1,0,"app-mini-loader",9),m.Tc(12,$r,1,0,"app-no-records",9),m.Zb(),m.Zb()),2&e){const e=m.Kc(8);m.Lb("home-inauguration ",t.BackGroundClass,""),m.Hb(4),m.tc("ngIf",t.data||!t.data&&t.filters.DepartmentCode),m.Hb(2),m.tc("ngIf",t.SectionNameHi||t.SectionNameEn)("ngIfElse",e),m.Hb(3),m.tc("ngIf",t.totalRecords>t.filters.PageSize),m.Hb(1),m.tc("ngIf",(null==t.data?null:t.data.length)>0),m.Hb(1),m.tc("ngIf",!t.data),m.Hb(1),m.tc("ngIf",t.data&&0==t.data.length)}},directives:[i.n,a.u,a.m,a.p,a.q,a.w,i.m,h.d,v.a,C.a],pipes:[c.c,i.u,i.e],styles:[""]}),e})();function qr(e,t){if(1&e&&(m.ac(0,"option",11),m.Vc(1),m.Zb()),2&e){const e=t.$implicit,n=m.mc(2);m.tc("value",e.Value),m.Hb(1),m.Xc(" ","en"!=n.translate.currentLang?e.OtherData.DepartmentTitleHindi:e.Text," ")}}function Jr(e,t){if(1&e){const e=m.bc();m.ac(0,"select",10),m.ic("change",(function(t){return m.Mc(e),m.mc().onDistrictSelect(t)}))("ngModelChange",(function(t){return m.Mc(e),m.mc().filters.DepartmentCode=t})),m.ac(1,"option",11),m.Vc(2),m.nc(3,"translate"),m.Zb(),m.Tc(4,qr,2,2,"option",12),m.Zb()}if(2&e){const e=m.mc();m.tc("ngModel",e.filters.DepartmentCode),m.Hb(1),m.tc("value",0),m.Hb(1),m.Xc("--",m.oc(3,4,"District_txt"),"--"),m.Hb(2),m.tc("ngForOf",e.departments)}}function Kr(e,t){if(1&e&&(m.ac(0,"span"),m.Vc(1),m.Zb()),2&e){const e=m.mc();m.Hb(1),m.Xc(" ","en"!=e.translate.currentLang?e.SectionNameHi||e.SectionNameEn:e.SectionNameEn||e.SectionNameHi,"")}}function Qr(e,t){1&e&&(m.ac(0,"span"),m.Vc(1),m.nc(2,"translate"),m.Zb()),2&e&&(m.Hb(1),m.Xc(" ",m.oc(2,1,"VideoGallery_txt"),""))}const es=function(e,t){return["/pages/uploader",e,"gallery",t,0]};function ts(e,t){if(1&e&&(m.ac(0,"a",13),m.Vc(1),m.nc(2,"translate"),m.Zb()),2&e){const e=m.mc();m.tc("routerLink",m.Fc(4,es,e.UploaderTypeEnum.Video,e.filters.DepartmentCode)),m.Hb(1),m.Xc(" ",m.oc(2,2,"ViewAll_txt")," ")}}function ns(e,t){if(1&e&&(m.ac(0,"span",27),m.Vc(1),m.Zb()),2&e){const e=m.mc().$implicit,t=m.mc(2);m.Hb(1),m.Xc(" ","hi"==t.translate.currentLang?e.DepartmentTitleHindi||e.DepartmentTitle:e.DepartmentTitle||e.DepartmentTitleHindi," ")}}function is(e,t){if(1&e&&(m.ac(0,"span",28),m.Vc(1),m.nc(2,"slice"),m.nc(3,"slice"),m.Zb()),2&e){const e=m.mc().$implicit,t=m.mc(2);m.Hb(1),m.Xc(" ","hi"==t.translate.currentLang?(null==e?null:e.Subject.length)>60?m.qc(2,1,null==e?null:e.Subject,0,60)+"...":null==e?null:e.Subject:(null==e?null:e.Subject.length)>60?m.qc(3,5,null==e?null:e.Subject,0,60)+"...":null==e?null:e.Subject," ")}}function as(e,t){if(1&e&&(m.ac(0,"span",29),m.Vc(1),m.nc(2,"date"),m.nc(3,"date"),m.Zb()),2&e){const e=m.mc().$implicit,t=m.mc(2);m.Hb(1),m.Wc("hi"==t.translate.currentLang?e.DateHindi||m.pc(2,1,e.Date,t.DateFormat):m.pc(3,4,e.Date,t.DateFormat)||e.DateHindi)}}function cs(e,t){if(1&e){const e=m.bc();m.Yb(0),m.ac(1,"div",18),m.ac(2,"div",19),m.ac(3,"div",20),m.Yb(4),m.ac(5,"video",21),m.ic("playing",(function(t){return m.Mc(e),m.mc(2).onMediaPlaying(t)})),m.Wb(6,"source",22),m.Zb(),m.Xb(),m.Zb(),m.ac(7,"div",23),m.Tc(8,ns,2,1,"span",24),m.Tc(9,is,4,9,"span",25),m.Zb(),m.Tc(10,as,4,7,"span",26),m.Zb(),m.Zb(),m.Xb()}if(2&e){const e=t.$implicit,n=t.index;m.mc(2),m.Hb(5),m.vc("id","my_video_",n,""),m.Hb(1),m.uc("src",e.VideoPath,m.Pc),m.vc("type","video/",e.VideoPath.split(".")[e.VideoPath.split(".").length-1],""),m.Hb(1),m.uc("title",null==e?null:e.Subject),m.Hb(1),m.tc("ngIf",e.DepartmentTitle||e.DepartmentTitleHindi),m.Hb(1),m.tc("ngIf",null==e?null:e.Subject),m.Hb(1),m.tc("ngIf",e.DateHindi||e.Date)}}function os(e,t){if(1&e&&(m.ac(0,"div",14),m.ac(1,"div",15),m.ac(2,"div",16),m.Tc(3,cs,11,7,"ng-container",17),m.Zb(),m.Zb(),m.Zb()),2&e){const e=m.mc();m.Hb(3),m.tc("ngForOf",e.data)}}function ls(e,t){1&e&&m.Wb(0,"app-mini-loader")}function rs(e,t){1&e&&m.Wb(0,"app-no-records")}let ss=(()=>{class e{constructor(e,t,n,i){this.translate=e,this._dptDistrictWebsiteService=t,this._commonService=n,this.sanitizer=i,this.DateFormat=d.a.DateFormat,this.totalRecords=0,this.filters=new ha.e,this.UploaderTypeEnum=Lr,this.departments=[]}ngOnInit(){this.getData()}onDistrictSelect(e){this.getData()}getData(){this.data=void 0,this.filters.OrderBy="ModifiedDate",this.filters.OrderByAsc=0,this.filters.PageSize=3,this.filters.UploaderType=Lr.Video,this.filters.DepartmentCode=this._commonService.GetWebDistDeptCode(),this._dptDistrictWebsiteService.GetUploaderDataForFront(this.filters).subscribe(e=>{var t,n;e.IsSuccess?(this.data=e.Data.Data,this.totalRecords=e.Data.TotalRecords,(null===(t=this.data)||void 0===t?void 0:t.length)&&!(null===(n=this.departments)||void 0===n?void 0:n.length)&&this.GetDepartmentByAdminDepartmentCodes()):this.data=[]},e=>{this.data=[]})}sanitizeUrl(e){return this.sanitizer.bypassSecurityTrustResourceUrl(e)}onMediaPlaying(e){var t;e.preventDefault(),null!=this.currentPlayingVideo&&(null===(t=this.currentPlayingVideo)||void 0===t||t.pause()),this.currentPlayingVideo=e.target,this.currentPlayingVideo.play()}GetDepartmentByAdminDepartmentCodes(){this._dptDistrictWebsiteService.GetDepartmentByAdminDepartmentCodes(Ql.a.Collectorate.toString()).subscribe(e=>{this.departments=e.IsSuccess?e.Data:[]})}}return e.\u0275fac=function(t){return new(t||e)(m.Vb(c.d),m.Vb(p.a),m.Vb(g.a),m.Vb(b.b))},e.\u0275cmp=m.Pb({type:e,selectors:[["app-uploader-video-gallery"]],inputs:{BackGroundClass:"BackGroundClass",SectionNameEn:"SectionNameEn",SectionNameHi:"SectionNameHi"},decls:13,vars:10,consts:[[1,"container"],[1,"col-lg-12","d-md-flex","align-items-center","justify-content-between","mb-5"],[1,"col-lg-4",2,"display","none"],["class","custom-select","style","max-width: 170px;",3,"ngModel","change","ngModelChange",4,"ngIf"],[1,"section-title","text-center","m-auto"],[4,"ngIf","ngIfElse"],["defaultHeading",""],["target","_blank","class","btn btn-round btn-theme btn-yellow",3,"routerLink",4,"ngIf"],["class","col-lg-12 col-md-12 col-12 mb-4 mb-lg-0",4,"ngIf"],[4,"ngIf"],[1,"custom-select",2,"max-width","170px",3,"ngModel","change","ngModelChange"],[3,"value"],[3,"value",4,"ngFor","ngForOf"],["target","_blank",1,"btn","btn-round","btn-theme","btn-yellow",3,"routerLink"],[1,"col-lg-12","col-md-12","col-12","mb-4","mb-lg-0"],[1,"home-new-program-bg-white"],[1,"row"],[4,"ngFor","ngForOf"],[1,"col-xl-4","col-lg-3","col-sm-6","col-12","mb-3"],[1,"audio-card","video-card-new","d-flex","justify-content-center","text-center"],[1,"embed-responsive","embed-responsive-21by9"],["width","100%","height","100%","controls","","preload","none","data-setup",'{ "aspectRatio":"100%:100%", "playbackRates": [1, 1.5, 2] }',1,"embed-responsive-item",3,"id","playing"],[3,"src","type"],[1,"av-caption","d-block",3,"title"],["class","d-block",4,"ngIf"],["class","d-block text-muted",4,"ngIf"],["class","new-date-design",4,"ngIf"],[1,"d-block"],[1,"d-block","text-muted"],[1,"new-date-design"]],template:function(e,t){if(1&e&&(m.ac(0,"section"),m.ac(1,"div",0),m.ac(2,"div",1),m.ac(3,"div",2),m.Tc(4,Jr,5,6,"select",3),m.Zb(),m.ac(5,"div",4),m.Tc(6,Kr,2,1,"span",5),m.Tc(7,Qr,3,3,"ng-template",null,6,m.Uc),m.Zb(),m.Tc(9,ts,3,7,"a",7),m.Zb(),m.Tc(10,os,4,1,"div",8),m.Tc(11,ls,1,0,"app-mini-loader",9),m.Tc(12,rs,1,0,"app-no-records",9),m.Zb(),m.Zb()),2&e){const e=m.Kc(8);m.Lb("py-5 ",t.BackGroundClass,""),m.Hb(4),m.tc("ngIf",t.data||!t.data&&t.filters.DepartmentCode),m.Hb(2),m.tc("ngIf",t.SectionNameHi||t.SectionNameEn)("ngIfElse",e),m.Hb(3),m.tc("ngIf",t.totalRecords>t.filters.PageSize),m.Hb(1),m.tc("ngIf",null==t.data?null:t.data.length),m.Hb(1),m.tc("ngIf",!t.data),m.Hb(1),m.tc("ngIf",t.data&&0==t.data.length)}},directives:[i.n,a.u,a.m,a.p,a.q,a.w,i.m,h.d,v.a,C.a],pipes:[c.c,i.u,i.e],styles:[""]}),e})();function ds(e,t){if(1&e&&(m.ac(0,"span"),m.Vc(1),m.Zb()),2&e){const e=m.mc();m.Hb(1),m.Xc(" ","en"!=e.translate.currentLang?e.SectionNameHi||e.SectionNameEn:e.SectionNameEn||e.SectionNameHi,"")}}function ms(e,t){1&e&&(m.ac(0,"span"),m.Vc(1," In Media"),m.Zb())}function us(e,t){if(1&e&&(m.ac(0,"a",8),m.Vc(1),m.nc(2,"translate"),m.Zb()),2&e){const e=m.mc();m.xc("routerLink","/pages/sm/government-order/images/0/",e.DepartmentCode,"/",e.orderType.InMediaNewsofDept,"/",e.orderSubType.InNewsPaper,""),m.Hb(1),m.Xc(" ",m.oc(2,4,"ViewAll_txt")," ")}}function bs(e,t){if(1&e){const e=m.bc();m.ac(0,"li"),m.ac(1,"a",19),m.ac(2,"img",14),m.ic("error",(function(t){return m.Mc(e),m.mc(5)._commonService.onImageError(t,"assets/images/default.png")})),m.Zb(),m.Zb(),m.Zb()}if(2&e){const e=m.mc().$implicit,t=m.mc(2),n=t.index,i=t.$implicit;m.mc(2),m.Hb(1),m.uc("href",e,m.Pc),m.Jb("data-lightbox","images_",n,""),m.uc("title",i.Title),m.Hb(1),m.uc("title",i.Title),m.uc("alt",i.Title),m.tc("src",e,m.Pc)}}function gs(e,t){if(1&e&&(m.Yb(0),m.Tc(1,bs,3,6,"li",7),m.Xb()),2&e){const e=t.index;m.Hb(1),m.tc("ngIf",e>0)}}function hs(e,t){if(1&e&&(m.ac(0,"ul",17),m.Tc(1,gs,2,1,"ng-container",18),m.Zb()),2&e){const e=m.mc().$implicit;m.Hb(1),m.tc("ngForOf",e.ImageFiles)}}function ps(e,t){if(1&e){const e=m.bc();m.ac(0,"div",11),m.ac(1,"a",12),m.ic("error",(function(t){return m.Mc(e),m.mc(2)._commonService.onImageError(t,"assets/images/default.png")})),m.nc(2,"slice"),m.nc(3,"slice"),m.ac(4,"div",13),m.ac(5,"img",14),m.ic("error",(function(t){return m.Mc(e),m.mc(2)._commonService.onImageError(t,"assets/images/default.png")})),m.Zb(),m.Zb(),m.Tc(6,hs,2,1,"ul",15),m.ac(7,"div",16),m.Vc(8),m.nc(9,"slice"),m.nc(10,"slice"),m.Zb(),m.Zb(),m.Zb()}if(2&e){const e=t.$implicit,n=t.index,i=m.mc(2);m.Hb(1),m.Jb("data-lightbox","images_",n,""),m.uc("title","en"==i.translate.currentLang?(null==e?null:e.Title.length)>80?m.qc(2,8,null==e?null:e.Title,0,80)+"...":null==e?null:e.Title:(null==e?null:e.Title.length)>80?m.qc(3,12,null==e?null:e.Title,0,80)+"...":null==e?null:e.Title),m.tc("href",e.ImagePath,m.Pc),m.Hb(4),m.uc("title",e.Title),m.uc("alt",e.Title),m.tc("src",e.ImagePath,m.Pc),m.Hb(1),m.tc("ngIf",e.ImageFiles&&e.ImageFiles.length>0),m.Hb(2),m.Xc(" ","hi"==i.translate.currentLang?(null==e?null:e.Title.length)>60?m.qc(9,16,null==e?null:e.Title,0,60)+"...":null==e?null:e.Title:(null==e?null:e.Title.length)>60?m.qc(10,20,null==e?null:e.Title,0,60)+"...":null==e?null:e.Title," ")}}function fs(e,t){if(1&e&&(m.ac(0,"div",9),m.Tc(1,ps,11,24,"div",10),m.Zb()),2&e){const e=m.mc();m.Hb(1),m.tc("ngForOf",e.orderPublicPortal)}}function vs(e,t){1&e&&m.Wb(0,"app-mini-loader")}function Cs(e,t){1&e&&m.Wb(0,"app-no-records")}let Hs=(()=>{class e{constructor(e,t,n,i,a){this.translate=e,this._commonService=t,this.orderService=n,this._distDeptService=i,this.route=a,this.DepartmentCode=0,this.indexModel=new s.d,this.model=new hc.d,this.isLatest=!1,this.DateFormat=d.a.DateFormat,this.departmentCode=0,this.orderType=gc.e,this.orderSubType=gc.d,this.DepartmentCode=this._commonService.GetWebDistDeptCode()}ngOnInit(){this.GetList()}GetList(){this.orderPublicPortal=void 0,this.model.IndexModel=this.indexModel,this.model.DepartmentCode=this.DepartmentCode,this.model.IsImagesRequired=!0,this.model.Type=this.orderType.InMediaNewsofDept,this.model.SubTypeCode=this.orderSubType.InNewsPaper,this.model.IndexModel.PageSize=3,this.model.IndexModel.OrderBy="Date",this.orderService.Get(this.model).subscribe(e=>{var t,n;this.orderPublicPortal=[],this.orderPublicPortal=e.IsSuccess?null===(n=null===(t=e)||void 0===t?void 0:t.Data)||void 0===n?void 0:n.Data:[]},e=>{console.error(e.message),this.orderPublicPortal=[]})}}return e.\u0275fac=function(t){return new(t||e)(m.Vb(c.d),m.Vb(g.a),m.Vb(pc.a),m.Vb(p.a),m.Vb(h.a))},e.\u0275cmp=m.Pb({type:e,selectors:[["app-ddw-custom-section"]],inputs:{DepartmentCode:"DepartmentCode",BackGroundClass:"BackGroundClass",SectionNameEn:"SectionNameEn",SectionNameHi:"SectionNameHi"},decls:11,vars:9,consts:[[1,"container"],[1,"col-lg-12","d-md-flex","align-items-center","justify-content-between","mb-5"],[1,"section-title","text-center","m-auto"],[4,"ngIf","ngIfElse"],["defaultHeading",""],["class","btn btn-round btn-theme btn-yellow",3,"routerLink",4,"ngIf"],["class","row justify-content-center",4,"ngIf"],[4,"ngIf"],[1,"btn","btn-round","btn-theme","btn-yellow",3,"routerLink"],[1,"row","justify-content-center"],["class","col-lg-4 col-md-6 col-sm-12 mb-5 mb-lg-0",4,"ngFor","ngForOf"],[1,"col-lg-4","col-md-6","col-sm-12","mb-5","mb-lg-0"],[1,"home-gallery-items","d-block",3,"href","title","error"],[1,"home-gallery-items-img","d-flex","align-items-center","justify-content-center"],[3,"src","title","alt","error"],["style","display: none;",4,"ngIf"],[1,"home-gallery-items-caption"],[2,"display","none"],[4,"ngFor","ngForOf"],[3,"href","title"]],template:function(e,t){if(1&e&&(m.ac(0,"section"),m.ac(1,"div",0),m.ac(2,"div",1),m.ac(3,"div",2),m.Tc(4,ds,2,1,"span",3),m.Tc(5,ms,2,0,"ng-template",null,4,m.Uc),m.Zb(),m.Tc(7,us,3,6,"a",5),m.Zb(),m.Tc(8,fs,2,1,"div",6),m.Tc(9,vs,1,0,"app-mini-loader",7),m.Tc(10,Cs,1,0,"app-no-records",7),m.Zb(),m.Zb()),2&e){const e=m.Kc(6);m.Lb("home-inauguration ",t.BackGroundClass,""),m.Hb(4),m.tc("ngIf",t.SectionNameHi||t.SectionNameEn)("ngIfElse",e),m.Hb(3),m.tc("ngIf",(null==t.orderPublicPortal?null:t.orderPublicPortal.length)>2),m.Hb(1),m.tc("ngIf",(null==t.orderPublicPortal?null:t.orderPublicPortal.length)>0),m.Hb(1),m.tc("ngIf",!t.orderPublicPortal),m.Hb(1),m.tc("ngIf",t.orderPublicPortal&&0==t.orderPublicPortal.length)}},directives:[i.n,h.d,i.m,v.a,C.a],pipes:[c.c,i.u],styles:[""]}),e})();var Ds=function(e){return e[e.ListingWithSearchPage=30839]="ListingWithSearchPage",e[e.GISData=30838]="GISData",e[e.Views=30837]="Views",e[e.IFrame=30836]="IFrame",e[e.ListingPage=30835]="ListingPage",e[e.NumericDataReturn=30834]="NumericDataReturn",e}({});class Ms{constructor(){this.IFrameWebservice=[],this.ListingPageWebservice=[],this.NumericDataWebservice=[]}}var Is=n("ADQb");let Zs=(()=>{class e{constructor(e){this._baseService=e}getWebServiceById(e){let t=new Is.a;return t.Add("id",e.toString()),this._baseService.get(r.a.GetWebServicesById,t)}GetAllWebService(e=0,t=0,n=!0){let i=new Is.a;return i.Add("deptCode",e.toString()),i.Add("secDeptCode",t.toString()),i.Add("isResponse",n.toString()),this._baseService.get(r.a.GetAllWebServiceUrl,i)}}return e.\u0275fac=function(t){return new(t||e)(m.ec(Fa.a))},e.\u0275prov=m.Rb({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function Ts(e,t){if(1&e&&(m.ac(0,"div",15),m.ac(1,"h2"),m.Vc(2),m.Zb(),m.ac(3,"p",16),m.Vc(4),m.Zb(),m.Zb()),2&e){const e=t.$implicit;m.Hb(2),m.Wc(e.value),m.Hb(2),m.Wc(e.key)}}function ys(e,t){if(1&e&&(m.ac(0,"section",11),m.ac(1,"div",12),m.Vc(2),m.Zb(),m.ac(3,"div",13),m.Tc(4,Ts,5,2,"div",14),m.Zb(),m.Zb()),2&e){const e=t.$implicit,n=m.mc(3);m.Hb(2),m.Wc("en"==n.translate.currentLang?e.DisplayTitle||e.DisplayTitleHindi:e.DisplayTitleHindi||e.DisplayTitle),m.Hb(2),m.tc("ngForOf",e.Data)}}function xs(e,t){if(1&e&&(m.ac(0,"section",6),m.ac(1,"div",7),m.ac(2,"div",8),m.ac(3,"div",9),m.Tc(4,ys,5,2,"section",10),m.Zb(),m.Zb(),m.Zb(),m.Zb()),2&e){const e=m.mc(2);m.Hb(4),m.tc("ngForOf",null==e.model?null:e.model.NumericDataWebservice)}}function Ps(e,t){if(1&e&&(m.ac(0,"th"),m.Vc(1),m.Zb()),2&e){const e=t.$implicit;m.Hb(1),m.Wc(e)}}function Ss(e,t){if(1&e&&(m.ac(0,"td"),m.Vc(1),m.Zb()),2&e){const e=t.$implicit,n=m.mc().$implicit;m.Hb(1),m.Wc(n[e])}}function _s(e,t){if(1&e&&(m.ac(0,"tr"),m.Tc(1,Ss,2,1,"td",23),m.Zb()),2&e){const e=m.mc().index,t=m.mc(3);m.Hb(1),m.tc("ngForOf",t.columnsToDisplay[e])}}const ws=function(e){return{"table-header-fix":e}};function Ls(e,t){if(1&e&&(m.ac(0,"div",9),m.ac(1,"h4"),m.Vc(2),m.Zb(),m.ac(3,"div",21),m.ac(4,"table",22),m.ac(5,"thead"),m.ac(6,"tr"),m.Tc(7,Ps,2,1,"th",23),m.Zb(),m.Zb(),m.ac(8,"tbody"),m.Tc(9,_s,2,1,"tr",23),m.Zb(),m.Zb(),m.Zb(),m.Zb()),2&e){const e=t.$implicit,n=t.index,i=m.mc(3);m.Hb(2),m.Xc("","en"==i.translate.currentLang?e.DisplayTitle||e.DisplayTitleHindi:e.DisplayTitleHindi||e.DisplayTitle," "),m.Hb(1),m.tc("ngClass",m.Ec(4,ws,e.IsAutoScroll)),m.Hb(4),m.tc("ngForOf",i.columnsToDisplay[n]),m.Hb(2),m.tc("ngForOf",e.Data)}}function Vs(e,t){if(1&e&&(m.ac(0,"section",17),m.ac(1,"div",7),m.ac(2,"div",8),m.ac(3,"div",9),m.ac(4,"section",18),m.ac(5,"div",19),m.ac(6,"div",8),m.Tc(7,Ls,10,6,"div",20),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.Zb()),2&e){const e=m.mc(2);m.Hb(7),m.tc("ngForOf",null==e.model?null:e.model.ListingPageWebservice)}}function ks(e,t){if(1&e&&(m.ac(0,"div",9),m.ac(1,"section",25),m.ac(2,"div",12),m.Vc(3),m.Zb(),m.ac(4,"div",19),m.Wb(5,"iframe",26),m.nc(6,"safeUrl"),m.Zb(),m.Zb(),m.Zb()),2&e){const e=t.$implicit,n=m.mc(3);m.Hb(3),m.Wc("en"==n.translate.currentLang?e.DisplayTitle||e.DisplayTitleHindi:e.DisplayTitleHindi||e.DisplayTitle),m.Hb(2),m.tc("src",m.oc(6,2,e.Url),m.Oc)}}function Ns(e,t){if(1&e&&(m.ac(0,"section",24),m.ac(1,"div",7),m.ac(2,"div",8),m.Tc(3,ks,7,4,"div",20),m.Zb(),m.Zb(),m.Zb()),2&e){const e=m.mc(2);m.Hb(3),m.tc("ngForOf",null==e.model?null:e.model.IFrameWebservice)}}function Os(e,t){if(1&e&&(m.ac(0,"section",2),m.Tc(1,xs,5,1,"section",3),m.Tc(2,Vs,8,1,"section",4),m.Tc(3,Ns,4,1,"section",5),m.Zb()),2&e){const e=m.mc();m.Hb(1),m.tc("ngIf",null==e.model.NumericDataWebservice?null:e.model.NumericDataWebservice.length),m.Hb(1),m.tc("ngIf",null==e.model.ListingPageWebservice?null:e.model.ListingPageWebservice.length),m.Hb(1),m.tc("ngIf",null==e.model.IFrameWebservice?null:e.model.IFrameWebservice.length)}}function As(e,t){1&e&&m.Wb(0,"app-mini-loader")}let Ws=(()=>{class e{constructor(e,t,n,i,a){this._webServicesConfiguration=e,this._commonService=t,this.translate=n,this.commonService=i,this._route=a,this.webserviceTypeEnum=Ds,this.columnsToDisplay=[],this.DptCode=0,this.listData=[],this.DptCode=this.commonService.GetWebDistDeptCode(this._route.snapshot.params.websiteCode)}ngOnInit(){this.GetAllWebService()}getDataById(e){this._webServicesConfiguration.getWebServiceById(e).subscribe(e=>{e.IsSuccess&&(e.Data.length>0?this.setPropertiesForListData(e.Data):this.setPropertiesForNumericData(e.Data))})}GetAllWebService(){this._webServicesConfiguration.GetAllWebService(this.DptCode).subscribe(e=>{this.model=e.IsSuccess?this.processWebserviceData(e.Data):new Ms},()=>{this.model=new Ms})}processWebserviceData(e){let t=new Ms;return e&&e.forEach(e=>{var n,i;switch(e.CategoryCode){case this.webserviceTypeEnum.IFrame:t.IFrameWebservice.push(e);break;case this.webserviceTypeEnum.ListingPage:e.Data.d&&(e.Data=JSON.parse(e.Data.d)),t.ListingPageWebservice.push(e),this.columnsToDisplay.push((null===(i=null===(n=e)||void 0===n?void 0:n.Data)||void 0===i?void 0:i.length)?Object.keys(e.Data[0]):[]);break;case this.webserviceTypeEnum.NumericDataReturn:e.Data.Data&&(e.Data=e.Data.Data),Array.isArray(e.Data)&&(e.Data=e.Data[0]);let a=[];Object.keys(e.Data).forEach(t=>{"data"==t.toLowerCase()&&Array.isArray(e.Data.data)?(a=[],Object.keys(e.Data.data[0]).forEach(t=>{a.push({key:t,value:e.Data.data[0][t]})})):"data"!=t.toLowerCase()||Array.isArray(e.Data.data)?a.push({key:t,value:e.Data[t]}):(a=[],Object.keys(e.Data.data).forEach(t=>{a.push({key:t,value:e.Data.data[t]})}))}),e.Data=a,t.NumericDataWebservice.push(e)}}),t}setPropertiesForListData(e){this.listData=e;let t=Object.keys(this.listData[0]);this.columnsToDisplay=t}setPropertiesForNumericData(e){this.objectData=e,this.objectDataKeys=Object.keys(this.objectData)}}return e.\u0275fac=function(t){return new(t||e)(m.Vb(Zs),m.Vb(g.a),m.Vb(c.d),m.Vb(g.a),m.Vb(h.a))},e.\u0275cmp=m.Pb({type:e,selectors:[["app-web-services-configuration"]],decls:2,vars:2,consts:[["class","page-web-service-configuration py-0",4,"ngIf"],[4,"ngIf"],[1,"page-web-service-configuration","py-0"],["class","sec-wsc-items numeric-data",4,"ngIf"],["class","sec-wsc-items listing-data",4,"ngIf"],["class","sec-wsc-items iframe-data",4,"ngIf"],[1,"sec-wsc-items","numeric-data"],[1,"container"],[1,"row"],[1,"col-lg-12"],["class","wsc-1 mb-5",4,"ngFor","ngForOf"],[1,"wsc-1","mb-5"],[1,"sec-wsc-title","text-center"],[1,"sec-wsc-body","d-flex","flex-wrap","justify-content-between"],["class","numeric-data-items text-center",4,"ngFor","ngForOf"],[1,"numeric-data-items","text-center"],[1,"m-0"],[1,"sec-wsc-items","listing-data"],[1,"wsc-2"],[1,"sec-wsc-body"],["class","col-lg-12",4,"ngFor","ngForOf"],[1,"listing-data-table","table-responsive","table-shadow",3,"ngClass"],[1,"table","m-0","caption-top"],[4,"ngFor","ngForOf"],[1,"sec-wsc-items","iframe-data"],[1,"wsc-3"],["title","","height","500px","width","100%",3,"src"]],template:function(e,t){1&e&&(m.Tc(0,Os,4,3,"section",0),m.Tc(1,As,1,0,"app-mini-loader",1)),2&e&&(m.tc("ngIf",t.model&&((null==t.model.IFrameWebservice?null:t.model.IFrameWebservice.length)||(null==t.model.ListingPageWebservice?null:t.model.ListingPageWebservice.length)||(null==t.model.NumericDataWebservice?null:t.model.NumericDataWebservice.length))),m.Hb(1),m.tc("ngIf",!t.model))},directives:[i.n,i.m,i.l,v.a],pipes:[Ia],styles:[".sec-wsc-items[_ngcontent-%COMP%]{background:#d4ecff;padding:45px 0}.sec-wsc-title[_ngcontent-%COMP%]{font-size:230%;color:#000;font-weight:600;margin-bottom:35px}.table-shadow[_ngcontent-%COMP%]{background:#fff;padding:10px;border-radius:15px;box-shadow:0 0 20px #d7d7d7}.caption-top[_ngcontent-%COMP%]{caption-side:top}caption[_ngcontent-%COMP%]{color:#000;font-size:20px;padding:0 0 12px;font-weight:600}.custom-form-control[_ngcontent-%COMP%]{width:100%;border:1px solid #c7c7c7;padding:10px 12px;border-radius:10px}.custom-form-control[_ngcontent-%COMP%]:focus{border-color:#000}.custom-form-control[_ngcontent-%COMP%]:focus-visible{outline:none}.table-header-fix[_ngcontent-%COMP%]{position:relative;max-height:400px}.table-header-fix[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{position:-webkit-sticky;position:sticky;top:-10px}.numeric-data-items[_ngcontent-%COMP%]{-webkit-box-flex:1;flex:1 1 20%;padding:20px;background:#135da4}.numeric-data-items[_ngcontent-%COMP%]:nth-child(odd){background:#0a58ca}.numeric-data-items[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:250%;font-weight:600;color:#fff}.numeric-data-items[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:120%;color:hsla(0,0%,100%,.6)}.numeric-data[_ngcontent-%COMP%] .sec-wsc-body[_ngcontent-%COMP%]{background:#fff;border-radius:15px;box-shadow:0 0 20px #ddd;overflow:hidden}.numeric-data[_ngcontent-%COMP%] .sec-wsc-body[_ngcontent-%COMP%] .numeric-data-items[_ngcontent-%COMP%]:first-child{background:#e59900}.numeric-data[_ngcontent-%COMP%] .sec-wsc-body[_ngcontent-%COMP%] .numeric-data-items[_ngcontent-%COMP%]:nth-child(2){background:#d03432}.numeric-data[_ngcontent-%COMP%] .sec-wsc-body[_ngcontent-%COMP%] .numeric-data-items[_ngcontent-%COMP%]:nth-child(3){background:#2996bf}.numeric-data[_ngcontent-%COMP%] .sec-wsc-body[_ngcontent-%COMP%] .numeric-data-items[_ngcontent-%COMP%]:nth-child(4){background:#009688}.numeric-data[_ngcontent-%COMP%] .sec-wsc-body[_ngcontent-%COMP%] .numeric-data-items[_ngcontent-%COMP%]:nth-child(5){background:#795548}.numeric-data[_ngcontent-%COMP%] .sec-wsc-body[_ngcontent-%COMP%] .numeric-data-items[_ngcontent-%COMP%]:nth-child(6){background:#3f51b5}.numeric-data[_ngcontent-%COMP%] .sec-wsc-body[_ngcontent-%COMP%] .numeric-data-items[_ngcontent-%COMP%]:nth-child(7){background:#96004c}.listing-data[_ngcontent-%COMP%]{background:#fff4de!important}.listing-data-table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background:#135da4;color:#fff;border:none}.listing-data-table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:none}.listing-data-table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background:#ebf5ff}.iframe-data[_ngcontent-%COMP%]{background:#fceaff!important}.iframe-data[_ngcontent-%COMP%] iframe[_ngcontent-%COMP%]{background:#fff;border-radius:5px;box-shadow:0 0 20px #d5d5d5}.direct-view-data[_ngcontent-%COMP%]{background:#f3fffe!important}.map-view-data[_ngcontent-%COMP%]{background:#fcffdc!important}.dy-form-list-view-data[_ngcontent-%COMP%]{background:#ffe3da!important}.table-custom-design[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background:#135da4;color:#fff;border:none}.table-custom-design[_ngcontent-%COMP%] td[_ngcontent-%COMP%], .table-custom-design[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{text-align:left}.table-custom-design[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:none}.table-custom-design[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background:#ebf5ff}@media screen and (max-width:767px){.numeric-data-items[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:170%}.numeric-data-items[_ngcontent-%COMP%]{-webkit-box-flex:1;flex:1 1 50%}}"]}),e})();const Es=["container"];function Gs(e,t){}function Fs(e,t){if(1&e&&m.Wb(0,"iframe",10),2&e){const e=m.mc();m.tc("src",e.popUpUrl,m.Oc)}}let Rs=(()=>{class e{constructor(e,t,n,i,a,c,o){this.componentFactoryResolver=e,this._app=t,this._dptDistrictWebsiteService=n,this._route=i,this._commonService=a,this._departmentService=c,this._sanitizer=o,this.DepartmentCode=0,this.AdmDepartmentCode=0,this.IsDistrictDepartmentCode=!1,this.sectionModel=[],this.enumdata=xi.b,this.isShowProjectSection=!0,this.isAssemblyConstituncyComponentLoad=!1,this.isBannerComponentLoad=!1,this.isAwarenessMaterialComponentLoad=!1,this.isOrderAwarenessMaterialComponentLoad=!1,this.isDepartmentInfoComponentLoad=!1,this.isCmisModuleComponentLoad=!1,this.isDistrictInfoComponentLoad=!1,this.isInaugurationComponentLoad=!1,this.isDdwPressReleaseGalleryLoad=!1,this.isOtherImptLinkComponentLoad=!1,this.isOtherLinksComponentLoad=!1,this.isProgramComponentLoad=!1,this.isProjectOrWorkComponentLoad=!1,this.isOrderTenderPressreleaseComponentLoad=!1,this.isFlagShipSectionComponentLoad=!1,this.isSchemeServiceComponentLoad=!1,this.isOfficeLocatorComponentLoad=!1,this.isVideoGalleryComponentLoad=!1,this.isPhotoGalleryComponentLoad=!1,this.isAssetsIconsComponentLoad=!1,this.isWelcomePageComponentLoad=!1,this.isWelcomePage2ComponentLoad=!1,this.isWelcomePage3ComponentLoad=!1,this.isUploaderVideoGalleryComponentLoad=!1,this.isUploaderPhotoGalleryComponentLoad=!1,this.isCustomSectionComponentLoad=!1,this.isWebServicesConfigSectionComponentLoad=!1,this.isCodeOfConduct=!0,this._app.showLoaderEvent(!1),this.DepartmentCode=this._commonService.GetWebDistDeptCode()}ngOnInit(){this._route.paramMap.subscribe(e=>{this._commonService.updateMenu.next(),this._departmentService.getDepartmentDetail().subscribe(e=>{var t,n;e&&(this.model=e,this.checkDepartmentDetail(),this.model&&((null===(t=this.model)||void 0===t?void 0:t.IsDisplayRajAdvtPopup)||(null===(n=this.model)||void 0===n?void 0:n.PersonalizedPopupUrl))&&this.showRajAdvtPopUp())})})}bindComponentData(){this.container.clear(),this.sectionModel.forEach(e=>{if("DdwAssemblyConstituncyComponent"!=e.ComponentName||this.isAssemblyConstituncyComponentLoad||this.enumdata.District!=this.model.DepartmentDistrictCode)if(this.isCodeOfConduct||"DdwAwarenessMaterialComponent"!=e.ComponentName||this.isAwarenessMaterialComponentLoad)if("DdwOrderAwarenessMaterialComponent"!=e.ComponentName||this.isOrderAwarenessMaterialComponentLoad)if("DdwBannerComponent"!=e.ComponentName||this.isBannerComponentLoad)if("DdwDepartmentInfoComponent"!=e.ComponentName||this.enumdata.Department!=this.model.DepartmentDistrictCode&&this.enumdata.Portal_Other!=this.model.DepartmentDistrictCode||this.isDepartmentInfoComponentLoad)if("DdwCmisModuleComponent"!=e.ComponentName||this.enumdata.Department!=this.model.DepartmentDistrictCode||this.isCmisModuleComponentLoad)if("DdwDistrictInfoComponent"!=e.ComponentName||this.enumdata.District!=this.model.DepartmentDistrictCode||this.isDistrictInfoComponentLoad)if(this.isCodeOfConduct||"DdwInaugurationComponent"!=e.ComponentName||this.isInaugurationComponentLoad)if("DdwPressReleaseGalleryComponent"!=e.ComponentName||this.isDdwPressReleaseGalleryLoad)if("DdwOtherImptLinkComponent"!=e.ComponentName||this.isOtherImptLinkComponentLoad)if("DdwOtherLinksComponent"!=e.ComponentName||this.isOtherLinksComponentLoad)if(this.isCodeOfConduct||"DdwProgramComponent"!=e.ComponentName||this.isProgramComponentLoad)if("DdwProjectOrWorkComponent"!=e.ComponentName||this.isProjectOrWorkComponentLoad)if("DdwOrderTenderPressreleaseComponent"!=e.ComponentName||this.isOrderTenderPressreleaseComponentLoad)if(this.isCodeOfConduct||"DdwFlagShipSectionComponent"!=e.ComponentName||this.isFlagShipSectionComponentLoad)if(this.isCodeOfConduct||"SchemeService"!=e.ComponentName||this.isSchemeServiceComponentLoad)if("DdwOfficeLocatorComponent"!=e.ComponentName||this.isOfficeLocatorComponentLoad)if(this.isCodeOfConduct||"DdwVideoGalleryComponent"!=e.ComponentName||this.isVideoGalleryComponentLoad)if(this.isCodeOfConduct||"DdwPhotoGalleryComponent"!=e.ComponentName||this.isPhotoGalleryComponentLoad)if("DdwAssetsIconsComponent"!=e.ComponentName||this.isAssetsIconsComponentLoad)if("WelcomePageComponent"!=e.ComponentName||this.isWelcomePageComponentLoad)if("WelcomePage2Component"!=e.ComponentName||this.isWelcomePage2ComponentLoad)if("WelcomePage3Component"!=e.ComponentName||this.isWelcomePage3ComponentLoad)if(this.isCodeOfConduct||"UploaderPhotoGalleryComponent"!=e.ComponentName||this.isUploaderPhotoGalleryComponentLoad)if(this.isCodeOfConduct||"UploaderVideoGalleryComponent"!=e.ComponentName||this.isUploaderVideoGalleryComponentLoad)if("DdwCustomSectionComponent"!=e.ComponentName||this.isCustomSectionComponentLoad){if("WebServicesConfigurationComponent"==e.ComponentName&&!this.isWebServicesConfigSectionComponentLoad){this.isWebServicesConfigSectionComponentLoad=!0;let t=this.componentFactoryResolver.resolveComponentFactory(Ws),n=this.container.createComponent(t);n.instance.BackGroundClass=e.BackGroundClass?e.BackGroundClass:"",n.instance.SectionNameEn=e.NameEnglish?e.NameEnglish:"",n.instance.SectionNameHi=e.NameHindi?e.NameHindi:""}}else{this.isCustomSectionComponentLoad=!0;let t=this.componentFactoryResolver.resolveComponentFactory(Hs),n=this.container.createComponent(t);n.instance.BackGroundClass=e.BackGroundClass?e.BackGroundClass:"",n.instance.SectionNameEn=e.NameEnglish?e.NameEnglish:"",n.instance.SectionNameHi=e.NameHindi?e.NameHindi:""}else{this.isUploaderVideoGalleryComponentLoad=!0;let t=this.componentFactoryResolver.resolveComponentFactory(ss),n=this.container.createComponent(t);n.instance.BackGroundClass=e.BackGroundClass?e.BackGroundClass:"",n.instance.SectionNameEn=e.NameEnglish?e.NameEnglish:"",n.instance.SectionNameHi=e.NameHindi?e.NameHindi:""}else{this.isUploaderPhotoGalleryComponentLoad=!0;let t=this.componentFactoryResolver.resolveComponentFactory(Yr),n=this.container.createComponent(t);n.instance.BackGroundClass=e.BackGroundClass?e.BackGroundClass:"",n.instance.SectionNameEn=e.NameEnglish?e.NameEnglish:"",n.instance.SectionNameHi=e.NameHindi?e.NameHindi:""}else{this.isWelcomePage3ComponentLoad=!0;let t=this.componentFactoryResolver.resolveComponentFactory(wr);this.container.createComponent(t).instance.BackGroundClass=e.BackGroundClass?e.BackGroundClass:""}else{this.isWelcomePage2ComponentLoad=!0;let t=this.componentFactoryResolver.resolveComponentFactory(Sr);this.container.createComponent(t).instance.BackGroundClass=e.BackGroundClass?e.BackGroundClass:""}else{this.isWelcomePageComponentLoad=!0;let t=this.componentFactoryResolver.resolveComponentFactory(xr);this.container.createComponent(t).instance.BackGroundClass=e.BackGroundClass?e.BackGroundClass:""}else{this.isAssetsIconsComponentLoad=!0;let t=this.componentFactoryResolver.resolveComponentFactory(zi);this.container.createComponent(t).instance.BackGroundClass=e.BackGroundClass?e.BackGroundClass:""}else{this.isPhotoGalleryComponentLoad=!0;let t=this.componentFactoryResolver.resolveComponentFactory(pl);this.container.createComponent(t).instance.BackGroundClass=e.BackGroundClass?e.BackGroundClass:""}else{this.isVideoGalleryComponentLoad=!0;let t=this.componentFactoryResolver.resolveComponentFactory(gr);this.container.createComponent(t).instance.BackGroundClass=e.BackGroundClass?e.BackGroundClass:""}else{this.isOfficeLocatorComponentLoad=!0;let t=this.componentFactoryResolver.resolveComponentFactory(zc);this.container.createComponent(t).instance.BackGroundClass=e.BackGroundClass?e.BackGroundClass:""}else{this.isSchemeServiceComponentLoad=!0;let t=this.componentFactoryResolver.resolveComponentFactory(Kl),n=this.container.createComponent(t);n.instance.DepartmentCode=this.DepartmentCode,n.instance.DepartmentData=this.model,n.instance.BackGroundClass=e.BackGroundClass?e.BackGroundClass:""}else{this.isFlagShipSectionComponentLoad=!0;let t=this.componentFactoryResolver.resolveComponentFactory(Li),n=this.container.createComponent(t);n.instance.DepartmentCode=this.DepartmentCode,n.instance.AdmDepartmentCode=this.AdmDepartmentCode,n.instance.IsDistrictDepartmentCode=this.IsDistrictDepartmentCode,n.instance.BackGroundClass=e.BackGroundClass?e.BackGroundClass:""}else{this.isOrderTenderPressreleaseComponentLoad=!0;let t=this.componentFactoryResolver.resolveComponentFactory(Vo),n=this.container.createComponent(t);n.instance.DepartmentCode=this.DepartmentCode,n.instance.IsDistrictDepartmentCode=this.IsDistrictDepartmentCode,n.instance.IsDisplayAdmDeptUpdates=this.model.IsDisplayAdmDeptUpdates,n.instance.BackGroundClass=e.BackGroundClass?e.BackGroundClass:""}else{this.isProjectOrWorkComponentLoad=!0;let t=this.componentFactoryResolver.resolveComponentFactory($l),n=this.container.createComponent(t);n.instance.DepartmentCode=this.DepartmentCode,n.instance.IsDistrictDepartmentCode=this.IsDistrictDepartmentCode,n.instance.BackGroundClass=e.BackGroundClass?e.BackGroundClass:""}else{this.isProgramComponentLoad=!0;let t=this.componentFactoryResolver.resolveComponentFactory(Fl),n=this.container.createComponent(t);n.instance.DepartmentCode=this.DepartmentCode,n.instance.BackGroundClass=e.BackGroundClass?e.BackGroundClass:""}else{this.isOtherLinksComponentLoad=!0;let t=this.componentFactoryResolver.resolveComponentFactory(ll),n=this.container.createComponent(t);n.instance.DepartmentCode=this.DepartmentCode,n.instance.DepartmentData=this.model,n.instance.BackGroundClass=e.BackGroundClass?e.BackGroundClass:""}else{this.isOtherImptLinkComponentLoad=!0;let t=this.componentFactoryResolver.resolveComponentFactory(Xo),n=this.container.createComponent(t);n.instance.DepartmentCode=this.DepartmentCode,n.instance.BackGroundClass=e.BackGroundClass?e.BackGroundClass:""}else{this.isDdwPressReleaseGalleryLoad=!0;let t=this.componentFactoryResolver.resolveComponentFactory(xl),n=this.container.createComponent(t);n.instance.DepartmentCode=this.DepartmentCode,n.instance.BackGroundClass=e.BackGroundClass?e.BackGroundClass:"",n.instance.SectionNameEn=e.NameEnglish?e.NameEnglish:"",n.instance.SectionNameHi=e.NameHindi?e.NameHindi:""}else{this.isInaugurationComponentLoad=!0;let t=this.componentFactoryResolver.resolveComponentFactory(Gc),n=this.container.createComponent(t);n.instance.DepartmentCode=this.DepartmentCode,n.instance.BackGroundClass=e.BackGroundClass?e.BackGroundClass:""}else{this.isDistrictInfoComponentLoad=!0;let t=this.componentFactoryResolver.resolveComponentFactory(kc),n=this.container.createComponent(t);n.instance.DepartmentCode=this.DepartmentCode,n.instance.BackGroundClass=e.BackGroundClass?e.BackGroundClass:""}else{this.isCmisModuleComponentLoad=!0;let t=this.componentFactoryResolver.resolveComponentFactory(bc),n=this.container.createComponent(t);n.instance.DepartmentCode=this.DepartmentCode,n.instance.BackGroundClass=e.BackGroundClass?e.BackGroundClass:""}else{this.isDepartmentInfoComponentLoad=!0;let t=this.componentFactoryResolver.resolveComponentFactory(vc),n=this.container.createComponent(t);n.instance.DepartmentCode=this.DepartmentCode,n.instance.BackGroundClass=e.BackGroundClass?e.BackGroundClass:""}else{this.isBannerComponentLoad=!0;let t=this.componentFactoryResolver.resolveComponentFactory(Oa),n=this.container.createComponent(t);n.instance.DepartmentCode=this.DepartmentCode,n.instance.BackGroundClass=e.BackGroundClass?e.BackGroundClass:""}else{this.isOrderAwarenessMaterialComponentLoad=!0;let t=this.componentFactoryResolver.resolveComponentFactory(Tr),n=this.container.createComponent(t);n.instance.DepartmentCode=this.DepartmentCode,n.instance.BackGroundClass=e.BackGroundClass?e.BackGroundClass:""}else{this.isAwarenessMaterialComponentLoad=!0;let t=this.componentFactoryResolver.resolveComponentFactory(ba),n=this.container.createComponent(t);n.instance.DepartmentCode=this.DepartmentCode,n.instance.BackGroundClass=e.BackGroundClass?e.BackGroundClass:""}else{this.isAssemblyConstituncyComponentLoad=!0;let t=this.componentFactoryResolver.resolveComponentFactory(Ei),n=this.container.createComponent(t);n.instance.DepartmentCode=this.DepartmentCode,n.instance.BackGroundClass=e.BackGroundClass?e.BackGroundClass:""}})}ngOnDestroy(){this._app.showLoaderEvent(!0)}checkDepartmentDetail(){var e,t,n;(null===(e=this.model)||void 0===e?void 0:e.DepartmentDistrictCode)==this.enumdata.District&&(this.IsDistrictDepartmentCode=!0),(null===(t=this.model)||void 0===t?void 0:t.Department_AdmDepartmentCode)&&(this.AdmDepartmentCode=null===(n=this.model)||void 0===n?void 0:n.Department_AdmDepartmentCode),this.GetWebsiteHomePageSection()}GetWebsiteHomePageSection(){this._dptDistrictWebsiteService.GetWebsiteHomePageSection(this.DepartmentCode).subscribe(e=>{var t;e.IsSuccess&&(this.sectionModel=null===(t=e)||void 0===t?void 0:t.Data,this.isCodeOfConduct=this._commonService.IsCodeOfConduct(),this.bindComponentData())},e=>{})}showRajAdvtPopUp(){var e,t;null!=sessionStorage.getItem("isPopupShown")&&null!=sessionStorage.getItem("isPopupShown")||(this.popUpUrl=this._sanitizer.bypassSecurityTrustResourceUrl(d.a.AdvertisementUrl),sessionStorage.setItem("isPopupShown","1"),(null===(e=this.model)||void 0===e?void 0:e.PersonalizedPopupUrl)&&$("#RajAdvtPopupModelCustom").modal("show"),(null===(t=this.model)||void 0===t?void 0:t.IsDisplayRajAdvtPopup)&&$("#RajAdvtPopupModel").modal("show"))}}return e.\u0275fac=function(t){return new(t||e)(m.Vb(m.l),m.Vb(Qe.a),m.Vb(p.a),m.Vb(h.a),m.Vb(g.a),m.Vb(In.a),m.Vb(b.b))},e.\u0275cmp=m.Pb({type:e,selectors:[["app-ddw-home"]],viewQuery:function(e,t){var n;1&e&&m.Rc(Es,!0,m.U),2&e&&m.Jc(n=m.jc())&&(t.container=n.first)},decls:19,vars:2,consts:[["container",""],["id","RajAdvtPopupModel","data-keyboard","false","data-backdrop","static",1,"modal","fade"],[1,"modal-dialog",2,"max-width","1000px"],[1,"modal-content"],[1,"modal-header"],["type","button","data-dismiss","modal","title","Close",1,"close"],[1,"glyphicon","glyphicon-remove"],["width","100%","height","610px",3,"src",4,"ngIf"],["id","RajAdvtPopupModelCustom","data-keyboard","false","data-backdrop","static",1,"modal","fade"],["height","610px",3,"src"],["width","100%","height","610px",3,"src"]],template:function(e,t){1&e&&(m.Tc(0,Gs,0,0,"ng-template",null,0,m.Uc),m.ac(2,"div",1),m.ac(3,"div",2),m.ac(4,"div",3),m.ac(5,"div",4),m.ac(6,"button",5),m.ac(7,"span",6),m.Vc(8,"X"),m.Zb(),m.Zb(),m.Zb(),m.Tc(9,Fs,1,1,"iframe",7),m.Zb(),m.Zb(),m.Zb(),m.ac(10,"div",8),m.Vc(11,"? "),m.ac(12,"div",2),m.ac(13,"div",3),m.ac(14,"div",4),m.ac(15,"button",5),m.ac(16,"span",6),m.Vc(17,"X"),m.Zb(),m.Zb(),m.Zb(),m.Wb(18,"img",9),m.Zb(),m.Zb(),m.Zb()),2&e&&(m.Hb(9),m.tc("ngIf",t.popUpUrl),m.Hb(9),m.tc("src",null==t.model?null:t.model.PersonalizedPopupUrl,m.Pc))},directives:[i.n],styles:[""]}),e})();function Xs(e,t){if(1&e&&(m.ac(0,"div",29),m.Vc(1),m.Zb()),2&e){const e=m.mc();m.Hb(1),m.Xc(" ","hi"==e.translate.currentLang?null==e.mLAModel?null:e.mLAModel.DesignationDisplayNameHindi:null==e.mLAModel?null:e.mLAModel.DesignationDisplayName," ")}}function Bs(e,t){if(1&e&&(m.ac(0,"a",30),m.Wb(1,"i",31),m.Vc(2),m.Zb()),2&e){const e=m.mc();m.vc("href","mailto:",null==e.mLAModel?null:e.mLAModel.Email,"",m.Pc),m.Hb(2),m.Xc(" ",null==e.mLAModel?null:e.mLAModel.Email," ")}}function Us(e,t){if(1&e&&(m.ac(0,"a",32),m.Wb(1,"i",33),m.Vc(2),m.Zb()),2&e){const e=m.mc();m.vc("href","tel:",null==e.mLAModel?null:e.mLAModel.whatsappNumber,"",m.Pc),m.Hb(2),m.Xc(" ",null==e.mLAModel?null:e.mLAModel.whatsappNumber,"")}}function zs(e,t){if(1&e&&(m.ac(0,"div",34),m.ac(1,"a",35),m.ac(2,"div",36),m.ac(3,"div"),m.ac(4,"strong",37),m.Vc(5),m.Zb(),m.ac(6,"p",38),m.Vc(7),m.nc(8,"slice"),m.Zb(),m.Zb(),m.ac(9,"div",39),m.ac(10,"ul",40),m.ac(11,"li"),m.ac(12,"strong"),m.Vc(13,"Cost:"),m.Zb(),m.Vc(14),m.Zb(),m.ac(15,"li"),m.ac(16,"strong"),m.Vc(17,"District:"),m.Zb(),m.Vc(18),m.Zb(),m.Zb(),m.ac(19,"div",41),m.ac(20,"a",42),m.Vc(21),m.nc(22,"translate"),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.Zb()),2&e){const e=t.$implicit,n=m.mc();m.Hb(5),m.Wc("hi"!=n.translate.currentLang?(null==e?null:null==e.CategoryName?null:e.CategoryName.length)>0?null==e?null:e.CategoryName:"":(null==e?null:null==e.CategoryNameHindi?null:e.CategoryNameHindi.length)>0?null==e?null:e.CategoryNameHindi:""),m.Hb(2),m.Xc(" ",(null==e?null:null==e.Description?null:e.Description.length)>200?m.qc(8,6,null==e?null:e.Description,0,200)+"...":null==e?null:e.Description," "),m.Hb(7),m.Xc("",e.Cost," Lakh"),m.Hb(4),m.Xc(" ","hi"!=n.translate.currentLang?(null==e?null:null==e.MLAConstituencyDistrictNameHindi?null:e.MLAConstituencyDistrictNameHindi.length)>0?null==e?null:e.MLAConstituencyDistrictNameHindi:"":(null==e?null:null==e.MLAConstituencyDistrictName?null:e.MLAConstituencyDistrictName.length)>0?null==e?null:e.MLAConstituencyDistrictName:"",""),m.Hb(2),m.vc("routerLink","/project-master/detail/",null==e?null:e.Id,""),m.Hb(1),m.Wc(m.oc(22,10,"Viewdetail_txt"))}}function js(e,t){1&e&&m.Wb(0,"app-mini-loader")}function $s(e,t){1&e&&m.Wb(0,"app-no-records")}function Ys(e,t){if(1&e){const e=m.bc();m.ac(0,"div",47),m.ac(1,"div",48),m.ac(2,"div",49),m.Vc(3),m.nc(4,"date"),m.Zb(),m.ac(5,"div",50),m.ac(6,"img",12),m.ic("error",(function(t){return m.Mc(e),m.mc(2)._commonService.onImageError(t,"assets/images/website/city10.png")})),m.Zb(),m.Zb(),m.ac(7,"a",51),m.Vc(8),m.Zb(),m.Zb(),m.Zb()}if(2&e){const e=t.$implicit,n=m.mc(2);m.Hb(3),m.Xc(" ","en"==n.translate.currentLang?m.pc(4,5,null==e?null:e.PressreleaseDate,"d MMM, y"):null==e?null:e.PressReleaseDateHindi," "),m.Hb(3),m.uc("src",null==e?null:e.HomePageImageUrl,m.Pc),m.uc("title",null==e?null:e.Description),m.uc("alt",null==e?null:e.Description),m.Hb(2),m.Xc(" ",null==e?null:e.Description," ")}}function qs(e,t){if(1&e&&(m.ac(0,"section",43),m.ac(1,"div",44),m.ac(2,"div",45),m.Vc(3),m.nc(4,"translate"),m.Zb(),m.ac(5,"div",22),m.Tc(6,Ys,9,8,"div",46),m.Zb(),m.Zb(),m.Zb()),2&e){const e=m.mc();m.Hb(3),m.Wc(m.oc(4,2,"Shilayanas_txt")),m.Hb(3),m.tc("ngForOf",e.shilanyasModel)}}function Js(e,t){if(1&e){const e=m.bc();m.ac(0,"div",47),m.ac(1,"div",48),m.ac(2,"div",49),m.Vc(3),m.nc(4,"date"),m.Zb(),m.ac(5,"div",50),m.ac(6,"img",12),m.ic("error",(function(t){return m.Mc(e),m.mc(2)._commonService.onImageError(t,"assets/images/website/city12.png")})),m.Zb(),m.Zb(),m.ac(7,"a",51),m.Vc(8),m.Zb(),m.Zb(),m.Zb()}if(2&e){const e=t.$implicit,n=m.mc(2);m.Hb(3),m.Xc(" ","en"==n.translate.currentLang?m.pc(4,5,null==e?null:e.PressreleaseDate,"d MMM, y"):null==e?null:e.PressReleaseDateHindi," "),m.Hb(3),m.uc("src",null==e?null:e.HomePageImageUrl,m.Pc),m.uc("title",null==e?null:e.Description),m.uc("alt",null==e?null:e.Description),m.Hb(2),m.Xc(" ",null==e?null:e.Description," ")}}function Ks(e,t){if(1&e&&(m.ac(0,"section",43),m.ac(1,"div",44),m.ac(2,"div",45),m.Vc(3),m.nc(4,"translate"),m.Zb(),m.ac(5,"div",22),m.Tc(6,Js,9,8,"div",46),m.Zb(),m.Zb(),m.Zb()),2&e){const e=m.mc();m.Hb(3),m.Wc(m.oc(4,2,"Lokarpan_txt")),m.Hb(3),m.tc("ngForOf",e.lokarpanModel)}}let Qs=(()=>{class e{constructor(e,t,n,i,a,c){this.projectService=e,this._commonService=t,this._dptDistrictWebsiteService=n,this.translate=i,this._route=a,this.sanitizer=c,this.isDistrict=!1,this.shilanyasModel=[],this.lokarpanModel=[],this.pressReleaseEnum=vi.d,this.DateFormat=d.a.DateFormat,this.mlaIndexModel=new s.d,this.modelCompleted=[],this.modelOngoing=[],this.enumdata=xi.b,this.completedStatus=this.enumdata.ProjectStatusCompleted,this.ongoingStatus=this.enumdata.ProjectStatusOnGoing,this.ongoingfilter=new Rl.a,this._route.paramMap.subscribe(e=>{this.mLAConstituencyCode=Number(e.get("mlaCode"));let t=e.get("dptCode");localStorage.getItem("websiteCode")?this.departmentCode=Number(localStorage.getItem("websiteCode")):t&&(this.departmentCode=Number(t),localStorage.setItem("websiteCode",t))}),localStorage.getItem("IsDistrict")&&(this.isDistrict=JSON.parse(localStorage.getItem("IsDistrict")))}ngOnInit(){this.GetMLaDetailList(),this.GetListCompleted(),this.GetListOngoing(),this.GetLokarpanData(),this.GetShilanyasData()}GetMLaDetailList(){this.mlaIndexModel.PageSize=1,this.mlaIndexModel.OrderByAsc=1,this.mlaIndexModel.AdvanceSearchModel={MLACode:this.mLAConstituencyCode},this._dptDistrictWebsiteService.GetMLAConstituency(this.mlaIndexModel).subscribe(e=>{e.IsSuccess&&(this.mLAModel=e.Data.Data[0])},e=>{})}GetLokarpanData(){let e=new ha.f;e.SubCategoryCode=Number(this.pressReleaseEnum.LokarpanCode),e.VIPPersonCode=this.mLAConstituencyCode,e.DepartmentCode=this.departmentCode,e.OrderBy="PressreleaseDate",this._dptDistrictWebsiteService.GetDptInAugrationLink(e).subscribe(e=>{this.lokarpanModel=[],e.IsSuccess&&(this.lokarpanModel=e.Data.Data)},e=>{console.error(e)})}GetShilanyasData(){let e=new ha.f;e.SubCategoryCode=Number(this.pressReleaseEnum.ShilanyasCode),e.VIPPersonCode=this.mLAConstituencyCode,e.DepartmentCode=this.departmentCode,e.OrderBy="PressreleaseDate",this._dptDistrictWebsiteService.GetDptInAugrationLink(e).subscribe(e=>{this.shilanyasModel=[],e.IsSuccess&&(this.shilanyasModel=e.Data.Data)},e=>{console.error(e)})}GetListCompleted(){const e=new Rl.a;e.IndexModel.Page=1,e.MLAConstituencyCode=this.mLAConstituencyCode,e.StatusCode=this.completedStatus,e.IndexModel.OrderBy="ModifiedDate",e.IndexModel.OrderByAsc=0,this.projectService.GetProjectMasterListBySearchFilterData(e).subscribe(e=>{e.IsSuccess&&(this.modelCompleted=e.Data.Data)},e=>{})}GetListOngoing(){this.ongoingfilter.IndexModel.Page=1,this.ongoingfilter.StatusCode=this.ongoingStatus,this.ongoingfilter.MLAConstituencyCode=this.mLAConstituencyCode,this.ongoingfilter.IndexModel.OrderBy="ModifiedDate",this.ongoingfilter.IndexModel.OrderByAsc=0,this.projectService.GetProjectMasterListBySearchFilterData(this.ongoingfilter).subscribe(e=>{e.IsSuccess&&(this.modelOngoing=e.Data.Data)},e=>{})}sanitizeImageUrl(e){return this.sanitizer.bypassSecurityTrustUrl(e)}}return e.\u0275fac=function(t){return new(t||e)(m.Vb(Xl.a),m.Vb(g.a),m.Vb(p.a),m.Vb(c.d),m.Vb(h.a),m.Vb(b.b))},e.\u0275cmp=m.Pb({type:e,selectors:[["app-ddw-mla-detail"]],decls:42,vars:28,consts:[["aria-label","breadcrumb",1,"breadcrumb_nav"],[1,"breadcrumb"],[1,"breadcrumb-item"],[3,"routerLink"],[1,"breadcrumb-item","active",3,"routerLink"],["aria-current","page",1,"breadcrumb-item","active"],[1,"page-mla-details"],[1,"container","pt-5"],[1,"row","mb-5","justify-content-center"],[1,"col-xl-4","col-lg-6","col-md-6","col-sm-12"],[1,"mla-detail-img-item","bg-pattern-1"],[1,"mla-detail-img"],[3,"src","title","alt","error"],[1,"mla-detail-info","text-center"],[1,"text-white"],["class","m-0 mla-detail-desination",4,"ngIf"],[1,"m-0","text-white"],[1,"mp-mla-items-info-footer"],["class","d-block w-100 mb-1 text-white",3,"href",4,"ngIf"],["class","d-block w-100 text-white",3,"href",4,"ngIf"],[1,"home-project"],[1,"container-fluid"],[1,"row"],[1,"col-lg-6","col-md-6","col-sm-12","p-4","home-project-complete-project"],[1,"d-flex","align-items-center","justify-content-between","mb-4"],[1,"section-title","text-white","m-0"],["class","col-lg-6 mb-3",4,"ngFor","ngForOf"],[4,"ngIf"],["class","home-inauguration",4,"ngIf"],[1,"m-0","mla-detail-desination"],[1,"d-block","w-100","mb-1","text-white",3,"href"],[1,"bi","bi-envelope"],[1,"d-block","w-100","text-white",3,"href"],[1,"bi","bi-telephone"],[1,"col-lg-6","mb-3"],[1,"card-design-2","h-100","align-items-center","text-dark","d-block"],[1,"card-design-2-info","flex-column"],[1,"d-block","mb-2","home-project-title"],[1,"home-project-discription"],[1,"mt-auto"],[1,"mb-3"],[1,"text-right"],["href","javasript:void(0)",1,"text-theme","font-w-600",3,"routerLink"],[1,"home-inauguration"],[1,"container"],[1,"section-title","text-center","mb-5"],["class","col-lg-3 col-md-6 col-sm-12 mb-5 mb-lg-0",4,"ngFor","ngForOf"],[1,"col-lg-3","col-md-6","col-sm-12","mb-5","mb-lg-0"],[1,"home-inauguration-items","custom-card","position-relative"],[1,"home-inauguration-items-date"],[1,"home-inauguration-items-img","d-flex","align-items-center","justify-content-center"],[1,"home-inauguration-items-info","d-block"]],template:function(e,t){1&e&&(m.ac(0,"nav",0),m.ac(1,"ol",1),m.ac(2,"li",2),m.ac(3,"a",3),m.Vc(4),m.nc(5,"translate"),m.Zb(),m.Zb(),m.ac(6,"li",4),m.Vc(7),m.nc(8,"translate"),m.Zb(),m.ac(9,"li",5),m.Vc(10),m.nc(11,"translate"),m.Zb(),m.Zb(),m.Zb(),m.ac(12,"section",6),m.ac(13,"div",7),m.ac(14,"div",8),m.ac(15,"div",9),m.ac(16,"div",10),m.ac(17,"div",11),m.ac(18,"img",12),m.ic("error",(function(e){return t._commonService.onImageError(e,"assets/images/user-default.jpg")})),m.Zb(),m.Zb(),m.ac(19,"div",13),m.ac(20,"h2",14),m.Vc(21),m.Zb(),m.Tc(22,Xs,2,1,"div",15),m.ac(23,"p",16),m.Vc(24),m.Zb(),m.ac(25,"div",17),m.Tc(26,Bs,3,2,"a",18),m.Tc(27,Us,3,2,"a",19),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.ac(28,"section",20),m.ac(29,"div",21),m.ac(30,"div",22),m.ac(31,"div",23),m.ac(32,"div",24),m.ac(33,"div",25),m.Vc(34),m.nc(35,"translate"),m.Zb(),m.Zb(),m.ac(36,"div",22),m.Tc(37,zs,23,12,"div",26),m.Tc(38,js,1,0,"app-mini-loader",27),m.Tc(39,$s,1,0,"app-no-records",27),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.Tc(40,qs,7,4,"section",28),m.Tc(41,Ks,7,4,"section",28),m.Zb()),2&e&&(m.Hb(3),m.uc("routerLink",t._commonService.GetHomePageUrl()),m.Hb(1),m.Wc(m.oc(5,20,"Home_txt")),m.Hb(2),m.vc("routerLink","/home/assembly-constituency/",t.departmentCode,""),m.Hb(1),m.Xc(" ",m.oc(8,22,"AssemblyConstituencyList_txt"),""),m.Hb(3),m.Xc(" ",m.oc(11,24,"AssemblyConstituencyDetail_txt"),""),m.Hb(8),m.uc("title","hi"==t.translate.currentLang?null==t.mLAModel?null:t.mLAModel.MLANameHindi:null==t.mLAModel?null:t.mLAModel.MLANameEng),m.uc("alt","hi"==t.translate.currentLang?null==t.mLAModel?null:t.mLAModel.MLANameHindi:null==t.mLAModel?null:t.mLAModel.MLANameEng),m.tc("src",t.sanitizeImageUrl(null==t.mLAModel?null:t.mLAModel.MLAPhoto),m.Pc),m.Hb(3),m.Xc(" ","hi"==t.translate.currentLang?null==t.mLAModel?null:t.mLAModel.MLANameHindi:null==t.mLAModel?null:t.mLAModel.MLANameEng," "),m.Hb(1),m.tc("ngIf",null==t.mLAModel?null:null==t.mLAModel.DesignationName?null:t.mLAModel.DesignationName.includes("Minister")),m.Hb(2),m.Yc("","hi"==t.translate.currentLang?null==t.mLAModel?null:t.mLAModel.NameHindi:null==t.mLAModel?null:t.mLAModel.Name,", ","hi"==t.translate.currentLang?null==t.mLAModel?null:t.mLAModel.DistrictTitleHindi:null==t.mLAModel?null:t.mLAModel.DistrictTitle," "),m.Hb(2),m.tc("ngIf",null==t.mLAModel?null:t.mLAModel.Email),m.Hb(1),m.tc("ngIf",null==t.mLAModel?null:t.mLAModel.whatsappNumber),m.Hb(7),m.Wc(m.oc(35,26,"CompleteProjects_txt")),m.Hb(3),m.tc("ngForOf",t.modelCompleted),m.Hb(1),m.tc("ngIf",!t.modelCompleted),m.Hb(1),m.tc("ngIf",t.modelCompleted&&0==t.modelCompleted.length),m.Hb(1),m.tc("ngIf",(null==t.shilanyasModel?null:t.shilanyasModel.length)>0),m.Hb(1),m.tc("ngIf",(null==t.lokarpanModel?null:t.lokarpanModel.length)>0))},directives:[h.d,h.c,i.n,i.m,v.a,C.a],pipes:[c.c,i.u,i.e],styles:[""]}),e})();function ed(e,t){if(1&e&&(m.ac(0,"span"),m.Vc(1),m.nc(2,"date"),m.Zb()),2&e){const e=m.mc(2).$implicit,t=m.mc(2);m.Hb(1),m.Xc(" ",m.pc(2,1,e.AchievementDate,t.DateFormat)," ")}}function td(e,t){if(1&e&&(m.ac(0,"span"),m.Vc(1),m.Zb()),2&e){const e=m.mc(2).$implicit;m.Hb(1),m.Xc(" ",e.AchievementDateHindi," ")}}function nd(e,t){if(1&e&&(m.Yb(0),m.Tc(1,ed,3,4,"span",12),m.Tc(2,td,2,1,"span",12),m.Xb()),2&e){const e=m.mc().$implicit,t=m.mc(2);m.Hb(1),m.tc("ngIf","en"==t.translate.currentLang&&(null==e?null:e.AchievementDate)),m.Hb(1),m.tc("ngIf","en"!=t.translate.currentLang&&(null==e?null:e.AchievementDateHindi))}}function id(e,t){1&e&&(m.ac(0,"span"),m.Vc(1,"\xa0"),m.Zb())}function ad(e,t){if(1&e){const e=m.bc();m.ac(0,"a",23),m.ic("click",(function(){m.Mc(e);const t=m.mc().$implicit;return m.mc(2).onDownload(null==t?null:t.PdfFIleName)})),m.Wb(1,"i",24),m.Vc(2),m.nc(3,"translate"),m.Zb()}2&e&&(m.Hb(2),m.Xc(" ",m.oc(3,1,"ViewAttachments_txt")," "))}function cd(e,t){if(1&e&&(m.Yb(0),m.ac(1,"tr"),m.ac(2,"td"),m.Vc(3),m.Wb(4,"br"),m.Vc(5),m.Zb(),m.ac(6,"td"),m.Vc(7),m.Zb(),m.ac(8,"td"),m.Vc(9),m.Zb(),m.ac(10,"td"),m.Tc(11,nd,3,2,"ng-container",20),m.Tc(12,id,2,0,"ng-template",null,21,m.Uc),m.Zb(),m.ac(14,"td"),m.Vc(15),m.Zb(),m.ac(16,"td"),m.Tc(17,ad,4,3,"a",22),m.Zb(),m.Zb(),m.Xb()),2&e){const e=t.$implicit,n=t.index,i=m.Kc(13),a=m.mc(2);m.Hb(3),m.Xc("",(a.indexModel.Page-1)*a.indexModel.PageSize+(n+1),"/ "),m.Hb(2),m.Wc(null==e?null:e.Id),m.Hb(2),m.Xc(" ","en"!=a.translate.currentLang?null==e?null:e.DepartmentHindi:null==e?null:e.Department," "),m.Hb(2),m.Xc(" ","en"!=a.translate.currentLang?null==e?null:e.AchievementCategoryHindi:null==e?null:e.AchievementCategory,""),m.Hb(2),m.tc("ngIf",(null==e?null:e.AchievementDate)&&(null==e?null:e.AchievementDateHindi))("ngIfElse",i),m.Hb(4),m.Xc(" ","en"!=a.translate.currentLang?null==e?null:e.AchievementHindi:null==e?null:e.Achievement," "),m.Hb(2),m.tc("ngIf",e.PdfFIleName)}}function od(e,t){if(1&e&&(m.ac(0,"div",13),m.ac(1,"div",14),m.ac(2,"table",15),m.ac(3,"thead"),m.ac(4,"tr"),m.ac(5,"th",16),m.Vc(6),m.nc(7,"translate"),m.Wb(8,"br"),m.Vc(9),m.nc(10,"translate"),m.Zb(),m.ac(11,"th",17),m.Vc(12),m.nc(13,"translate"),m.Zb(),m.ac(14,"th",17),m.Vc(15),m.nc(16,"translate"),m.Zb(),m.ac(17,"th"),m.Vc(18),m.nc(19,"translate"),m.Zb(),m.ac(20,"th"),m.Vc(21),m.nc(22,"translate"),m.Zb(),m.ac(23,"th",18),m.Vc(24),m.nc(25,"translate"),m.Zb(),m.Zb(),m.Zb(),m.ac(26,"tbody"),m.Tc(27,cd,18,8,"ng-container",19),m.nc(28,"paginate"),m.Zb(),m.Zb(),m.Zb(),m.Zb()),2&e){const e=m.mc();m.Hb(6),m.Xc("",m.oc(7,8,"SrNo_txt"),"/ "),m.Hb(3),m.Xc("",m.oc(10,10,"RecordEntryNo_txt")," "),m.Hb(3),m.Wc(m.oc(13,12,"Department_txt")),m.Hb(3),m.Wc(m.oc(16,14,"Category")),m.Hb(3),m.Wc(m.oc(19,16,"Date_txt")),m.Hb(3),m.Wc(m.oc(22,18,"Subject_txt")),m.Hb(3),m.Wc(m.oc(25,20,"Attachments_txt")),m.Hb(3),m.tc("ngForOf",m.pc(28,22,e.model,e.pagerConfig))}}function ld(e,t){1&e&&(m.ac(0,"div",13),m.ac(1,"h3",25),m.Vc(2),m.nc(3,"translate"),m.Zb(),m.Zb()),2&e&&(m.Hb(2),m.Wc(m.oc(3,1,"NoRecordFound_txt")))}function rd(e,t){if(1&e){const e=m.bc();m.Yb(0),m.ac(1,"div",26),m.ac(2,"select",27),m.ic("change",(function(t){return m.Mc(e),m.mc().changePageSize(t.target.value)})),m.ac(3,"option",28),m.Vc(4),m.nc(5,"translate"),m.Zb(),m.ac(6,"option",29),m.Vc(7,"10"),m.Zb(),m.ac(8,"option",30),m.Vc(9,"25"),m.Zb(),m.ac(10,"option",31),m.Vc(11,"50"),m.Zb(),m.ac(12,"option",32),m.Vc(13,"100"),m.Zb(),m.Zb(),m.ac(14,"pagination-controls",33),m.ic("pageChange",(function(t){return m.Mc(e),m.mc().getNextPageRecord(t)})),m.nc(15,"translate"),m.nc(16,"translate"),m.Zb(),m.Zb(),m.Xb()}if(2&e){const e=m.mc();m.Hb(3),m.uc("value",e.totalRecords),m.Hb(1),m.Wc(m.oc(5,4,"All_txt")),m.Hb(10),m.uc("previousLabel",m.oc(15,6,"Previous_txt")),m.uc("nextLabel",m.oc(16,8,"Next_txt"))}}let sd=(()=>{class e{constructor(e,t,n,i,a,c){this._achievementAwardService=e,this.translate=t,this.sanitizer=n,this._commonService=i,this._titleService=a,this._route=c,this.indexModel=new s.d,this.totalRecords=0,this.pagerConfig={id:"datapager",itemsPerPage:this.indexModel.PageSize,currentPage:this.indexModel.Page,totalItems:this.totalRecords},this.DateFormat=d.a.DateFormat,this.DatePickerFormat=d.a.DatePickerFormat,this.minimumDate=d.a.MinimumDate,this.IsLoading=!0,this.filterModel=new l.b,this.achievementEnum=o.a,this.enumdata=xi.b,a.setTitle("hi"==t.currentLang?" \u0930\u093e\u091c\u0938\u094d\u0925\u093e\u0928 \u0938\u0930\u0915\u093e\u0930\u0964":" Rajasthan Government"),this._route.paramMap.subscribe(e=>{this.pageType=e.get("pageType"),this._titleService.setTitle(this.pageType),this.pageCode=e.get("pageCode");let t=e.get("dptCode");localStorage.getItem("websiteCode")?this.filterModel.DepartmentCode=Number(localStorage.getItem("websiteCode")):t&&(this.filterModel.DepartmentCode=Number(t),localStorage.setItem("websiteCode",t)),this.GetData()})}ngOnInit(){}GetData(){this.IsLoading=!0,this.filterModel.IndexModel=this.indexModel,this.filterModel.IndexModel.OrderBy="AchievementDate",this.filterModel.IndexModel.OrderByAsc=0,this.filterModel.CommonCategoryCode=this.enumdata.CommonCategoryLookupTransactions,this._achievementAwardService.GetAchievementListBySearchFilterData(this.filterModel,!1).subscribe(e=>{e.IsSuccess&&(this.model=e.Data.Data,this.model&&(this.pageTypeHindi=this.model[0].AchievementCategoryHindi),this.indexModel.IsPostBack||(this.totalRecords=e.Data.TotalRecords),this.updatePageConfig()),this.IsLoading=!1},e=>{})}getNextPageRecord(e){window.scroll(0,0),this.indexModel.IsPostBack=!0,this.indexModel.Page=e,this.GetData()}changePageSize(e){window.scroll(0,0),this.indexModel.IsPostBack=!0,this.indexModel.PageSize=Number(e),this.indexModel.Page=1,this.GetData()}updatePageConfig(){this.pagerConfig={itemsPerPage:this.indexModel.PageSize,currentPage:this.indexModel.Page,totalItems:this.totalRecords}}onDownload(e){e&&open("'url'","_blank").document.write('')}}return e.\u0275fac=function(t){return new(t||e)(m.Vb(u.a),m.Vb(c.d),m.Vb(b.b),m.Vb(g.a),m.Vb(b.d),m.Vb(h.a))},e.\u0275cmp=m.Pb({type:e,selectors:[["app-ddw-newly-added-list"]],decls:19,vars:11,consts:[["aria-label","breadcrumb",1,"breadcrumb_nav"],[1,"breadcrumb"],[1,"breadcrumb-item"],[3,"routerLink"],["aria-current","page",1,"breadcrumb-item","active"],[1,"inner-page","pt-0"],[1,"container-fluid","p-4"],[1,"row"],[1,"col-xl-12","col-lg-12","mb-12"],[1,"title","text-center"],["src","assets/images/cm-letter.png",1,"img-fluid",2,"max-width","45px",3,"title","alt","error"],["class","col-lg-12",4,"ngIf"],[4,"ngIf"],[1,"col-lg-12"],[1,"table-responsive"],["border","0",1,"table","table-striped","table-bordered","table-new-design"],[2,"width","30px"],[2,"width","250px"],[2,"width","180px"],[4,"ngFor","ngForOf"],[4,"ngIf","ngIfElse"],["Blankdata",""],["href","javascript:void(0);","class","btn btn-secondary btn-sm",3,"click",4,"ngIf"],["href","javascript:void(0);",1,"btn","btn-secondary","btn-sm",3,"click"],[1,"fas","fa-paperclip"],[1,"text-center"],[1,"new-pagination-outer"],["name","example_length","aria-controls","example",1,"form-control-sm",2,"width","70px",3,"change"],[3,"value"],["selected","","value","10"],["value","25"],["value","50"],["value","100"],["autoHide","true",1,"w-100","text-center","mt-4",3,"previousLabel","nextLabel","pageChange"]],template:function(e,t){1&e&&(m.ac(0,"nav",0),m.ac(1,"ol",1),m.ac(2,"li",2),m.ac(3,"a",3),m.Vc(4),m.nc(5,"translate"),m.Zb(),m.Zb(),m.ac(6,"li",4),m.Vc(7),m.Zb(),m.Zb(),m.Zb(),m.ac(8,"section",5),m.ac(9,"div",6),m.ac(10,"div",7),m.ac(11,"div",8),m.ac(12,"h1",9),m.ac(13,"img",10),m.ic("error",(function(e){return t._commonService.onImageError(e,"assets/images/loader.gif")})),m.Zb(),m.Vc(14),m.Zb(),m.Zb(),m.Zb(),m.ac(15,"div",7),m.Tc(16,od,29,25,"div",11),m.Tc(17,ld,4,3,"div",11),m.Tc(18,rd,17,10,"ng-container",12),m.Zb(),m.Zb(),m.Zb()),2&e&&(m.Hb(3),m.uc("routerLink",t._commonService.GetHomePageUrl()),m.Hb(1),m.Wc(m.oc(5,9,"Home_txt")),m.Hb(3),m.Xc(" ","en"!=t.translate.currentLang?t.pageTypeHindi:t.pageType,""),m.Hb(6),m.uc("title","en"!=t.translate.currentLang?t.pageTypeHindi:t.pageType),m.uc("alt","en"!=t.translate.currentLang?t.pageTypeHindi:t.pageType),m.Hb(1),m.Xc(" ","en"!=t.translate.currentLang?t.pageTypeHindi:t.pageType," "),m.Hb(2),m.tc("ngIf",(null==t.model?null:t.model.length)>0),m.Hb(1),m.tc("ngIf",(null==t.model||t.model.length<=0)&&!t.IsLoading),m.Hb(1),m.tc("ngIf",(null==t.model?null:t.model.length)>0))},directives:[h.d,i.n,i.m,a.q,a.w,f.c],pipes:[c.c,f.b,i.e],styles:[""]}),e})(),dd=(()=>{class e{constructor(e,t,n,i,a,c){this.departmentProfile=e,this.translate=t,this.sanitizer=n,this._route=i,this._commonService=a,this._titleService=c,this.dataModel=new Ci.d,this.departmentProfileFilterModel=new Ci.c,this.departmentRecordsExist=!1,this.departmentProfileTotalRecords=0,this.departmentProfilePagerConfig={id:"departmentProfile-paging",itemsPerPage:this.departmentProfileFilterModel.IndexModel.PageSize,currentPage:this.departmentProfileFilterModel.IndexModel.Page,totalItems:this.departmentProfileTotalRecords},this.jankalyanEntryTypeEnum=vi.d,this._route.paramMap.subscribe(e=>{this.pageType=e.get("pageType"),this._titleService.setTitle(this.pageType),this.pageCode=e.get("pageCode");let t=e.get("dptCode");localStorage.getItem("websiteCode")?this.departmentProfileFilterModel.DepartmentCode=Number(localStorage.getItem("websiteCode")):t&&(this.departmentProfileFilterModel.DepartmentCode=Number(t),localStorage.setItem("websiteCode",t)),this.getDepartmentProfileListData()})}ngOnInit(){}getDepartmentProfileListData(){this.departmentProfileFilterModel.IndexModel.PageSize=1,this.departmentProfileFilterModel.JankalyanCategoryCode=this.pageCode,this.departmentProfile.GetList(this.departmentProfileFilterModel).subscribe(e=>{var t,n;if(e.IsSuccess)if(this.departmentProfileModel=null===(n=null===(t=e)||void 0===t?void 0:t.Data)||void 0===n?void 0:n.Data,this.departmentProfileModel&&this.departmentProfileModel.length>1)for(let i in this.departmentProfileModel)this.departmentProfileModel[i].Details=this.sanitizer.bypassSecurityTrustHtml(this.departmentProfileModel[i].Details);else this.departmentProfileModel&&1==this.departmentProfileModel.length?(this.dataModel=this.departmentProfileModel[0],this.dataModel.Details=this.sanitizer.bypassSecurityTrustHtml(this.departmentProfileModel[0].Details)):this.dataModel=new Ci.d;else this.dataModel=new Ci.d},e=>{console.error(e.message)})}}return e.\u0275fac=function(t){return new(t||e)(m.Vb(Hi.a),m.Vb(c.d),m.Vb(b.b),m.Vb(h.a),m.Vb(g.a),m.Vb(b.d))},e.\u0275cmp=m.Pb({type:e,selectors:[["app-ddw-other-link-general"]],decls:18,vars:8,consts:[["aria-label","breadcrumb",1,"breadcrumb_nav"],[1,"container","p-0"],[1,"breadcrumb"],[1,"breadcrumb-item"],[3,"routerLink"],["aria-current","page",1,"breadcrumb-item","active"],[3,"ngSwitch"],[1,"title","text-center","mb-1"],[1,"inner-page","page-about","page-editor-entry-design"],[1,"container"],[1,"row"],[1,"col-lg-12"],[1,"about-yajona-text"],[3,"innerHTML"]],template:function(e,t){1&e&&(m.ac(0,"nav",0),m.ac(1,"div",1),m.ac(2,"ol",2),m.ac(3,"li",3),m.ac(4,"a",4),m.Vc(5),m.nc(6,"translate"),m.Zb(),m.Zb(),m.ac(7,"li",5),m.Vc(8),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.Yb(9,6),m.ac(10,"h1",7),m.Vc(11),m.Zb(),m.Xb(),m.ac(12,"section",8),m.ac(13,"div",9),m.ac(14,"div",10),m.ac(15,"div",11),m.ac(16,"div",12),m.Wb(17,"p",13),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.Zb()),2&e&&(m.Hb(4),m.uc("routerLink",t._commonService.GetHomePageUrl()),m.Hb(1),m.Wc(m.oc(6,6,"Home_txt")),m.Hb(3),m.Wc(t.pageType),m.Hb(1),m.tc("ngSwitch",t.pageType),m.Hb(2),m.Wc(t.pageType),m.Hb(6),m.tc("innerHTML",null==t.dataModel?null:t.dataModel.Details,m.Nc))},directives:[h.d,i.p],pipes:[c.c],styles:[""]}),e})();function md(e,t){if(1&e&&(m.ac(0,"span"),m.Vc(1),m.nc(2,"date"),m.Zb()),2&e){const e=m.mc(2).$implicit,t=m.mc(2);m.Hb(1),m.Xc(" ",m.pc(2,1,e.AchievementDate,t.DateFormat),"")}}function ud(e,t){if(1&e&&(m.ac(0,"span"),m.Vc(1),m.Zb()),2&e){const e=m.mc(2).$implicit;m.Hb(1),m.Xc("",e.AchievementDateHindi," ")}}function bd(e,t){if(1&e&&(m.Yb(0),m.Tc(1,md,3,4,"span",12),m.Tc(2,ud,2,1,"span",12),m.Xb()),2&e){const e=m.mc().$implicit,t=m.mc(2);m.Hb(1),m.tc("ngIf","en"==t.translate.currentLang&&(null==e?null:e.AchievementDate)),m.Hb(1),m.tc("ngIf","en"!=t.translate.currentLang&&(null==e?null:e.AchievementDateHindi))}}function gd(e,t){1&e&&(m.ac(0,"span"),m.Vc(1,"\xa0"),m.Zb())}function hd(e,t){if(1&e){const e=m.bc();m.ac(0,"a",23),m.ic("click",(function(){m.Mc(e);const t=m.mc().$implicit;return m.mc(2).onDownload(null==t?null:t.PdfFIleName)})),m.Wb(1,"i",24),m.Vc(2),m.nc(3,"translate"),m.Zb()}2&e&&(m.Hb(2),m.Xc(" ",m.oc(3,1,"ViewAttachments_txt")," "))}function pd(e,t){if(1&e&&(m.Yb(0),m.ac(1,"tr"),m.ac(2,"td"),m.Vc(3),m.Wb(4,"br"),m.Vc(5),m.Zb(),m.ac(6,"td"),m.Vc(7),m.Zb(),m.ac(8,"td"),m.Tc(9,bd,3,2,"ng-container",20),m.Tc(10,gd,2,0,"ng-template",null,21,m.Uc),m.Zb(),m.ac(12,"td"),m.Vc(13),m.Zb(),m.ac(14,"td"),m.Tc(15,hd,4,3,"a",22),m.Zb(),m.Zb(),m.Xb()),2&e){const e=t.$implicit,n=t.index,i=m.Kc(11),a=m.mc(2);m.Hb(3),m.Xc("",(a.indexModel.Page-1)*a.indexModel.PageSize+(n+1),"/ "),m.Hb(2),m.Wc(null==e?null:e.Id),m.Hb(2),m.Xc(" ","en"!=a.translate.currentLang?null==e?null:e.DepartmentHindi:null==e?null:e.Department," "),m.Hb(2),m.tc("ngIf",(null==e?null:e.AchievementDate)&&(null==e?null:e.AchievementDateHindi))("ngIfElse",i),m.Hb(4),m.Xc(" ","en"!=a.translate.currentLang?null==e?null:e.AchievementHindi:null==e?null:e.Achievement," "),m.Hb(2),m.tc("ngIf",e.PdfFIleName)}}function fd(e,t){if(1&e&&(m.ac(0,"div",13),m.ac(1,"div",14),m.ac(2,"table",15),m.ac(3,"thead"),m.ac(4,"tr"),m.ac(5,"th",16),m.Vc(6),m.nc(7,"translate"),m.Wb(8,"br"),m.Vc(9),m.nc(10,"translate"),m.Zb(),m.ac(11,"th",17),m.Vc(12),m.nc(13,"translate"),m.Zb(),m.ac(14,"th"),m.Vc(15),m.nc(16,"translate"),m.Zb(),m.ac(17,"th"),m.Vc(18),m.nc(19,"translate"),m.Zb(),m.ac(20,"th",18),m.Vc(21),m.nc(22,"translate"),m.Zb(),m.Zb(),m.Zb(),m.ac(23,"tbody"),m.Tc(24,pd,16,7,"ng-container",19),m.nc(25,"paginate"),m.Zb(),m.Zb(),m.Zb(),m.Zb()),2&e){const e=m.mc();m.Hb(6),m.Xc("",m.oc(7,7,"SrNo_txt"),"/ "),m.Hb(3),m.Xc("",m.oc(10,9,"RecordEntryNo_txt")," "),m.Hb(3),m.Wc(m.oc(13,11,"Department_txt")),m.Hb(3),m.Wc(m.oc(16,13,"Date_txt")),m.Hb(3),m.Wc(m.oc(19,15,"Subject_txt")),m.Hb(3),m.Wc(m.oc(22,17,"Attachments_txt")),m.Hb(3),m.tc("ngForOf",m.pc(25,19,e.model,e.pagerConfig))}}function vd(e,t){1&e&&(m.ac(0,"div",13),m.ac(1,"h3",25),m.Vc(2),m.nc(3,"translate"),m.Zb(),m.Zb()),2&e&&(m.Hb(2),m.Wc(m.oc(3,1,"NoRecordFound_txt")))}function Cd(e,t){if(1&e){const e=m.bc();m.Yb(0),m.ac(1,"div",26),m.ac(2,"select",27),m.ic("change",(function(t){return m.Mc(e),m.mc().changePageSize(t.target.value)})),m.ac(3,"option",28),m.Vc(4),m.nc(5,"translate"),m.Zb(),m.ac(6,"option",29),m.Vc(7,"10"),m.Zb(),m.ac(8,"option",30),m.Vc(9,"25"),m.Zb(),m.ac(10,"option",31),m.Vc(11,"50"),m.Zb(),m.ac(12,"option",32),m.Vc(13,"100"),m.Zb(),m.Zb(),m.ac(14,"pagination-controls",33),m.ic("pageChange",(function(t){return m.Mc(e),m.mc().getNextPageRecord(t)})),m.nc(15,"translate"),m.nc(16,"translate"),m.Zb(),m.Zb(),m.Xb()}if(2&e){const e=m.mc();m.Hb(3),m.uc("value",e.totalRecords),m.Hb(1),m.Wc(m.oc(5,4,"All_txt")),m.Hb(10),m.uc("previousLabel",m.oc(15,6,"Previous_txt")),m.uc("nextLabel",m.oc(16,8,"Next_txt"))}}let Hd=(()=>{class e{constructor(e,t,n,i,a,c,r){this._dptDistrictWebsiteService=e,this._achievementAwardService=t,this.translate=n,this.sanitizer=i,this._commonService=a,this._titleService=c,this._route=r,this.indexModel=new s.d,this.totalRecords=0,this.pagerConfig={id:"datapager",itemsPerPage:this.indexModel.PageSize,currentPage:this.indexModel.Page,totalItems:this.totalRecords},this.DateFormat=d.a.DateFormat,this.DatePickerFormat=d.a.DatePickerFormat,this.minimumDate=d.a.MinimumDate,this.IsLoading=!0,this.filterModel=new l.b,this.achievementEnum=o.a,this.pageTitle=new s.f,c.setTitle("hi"==n.currentLang?" \u0930\u093e\u091c\u0938\u094d\u0925\u093e\u0928 \u0938\u0930\u0915\u093e\u0930\u0964":" Rajasthan Government"),this._route.paramMap.subscribe(e=>{this.pageType=e.get("pageType"),this._titleService.setTitle(this.pageType),this.pageCode=e.get("pageCode");let t=e.get("dptCode");localStorage.getItem("websiteCode")?this.filterModel.DepartmentCode=Number(localStorage.getItem("websiteCode")):t&&(this.filterModel.DepartmentCode=Number(t),localStorage.setItem("websiteCode",t)),this.GetData(),this.pageCode&&this.GetAchievementCategoryDetail()})}ngOnInit(){}GetData(){this.IsLoading=!0,this.filterModel.IndexModel=this.indexModel,this.filterModel.IndexModel.OrderBy="AchievementDate",this.filterModel.IndexModel.OrderByAsc=0,this.filterModel.CategoryCode=this.pageCode,this._achievementAwardService.GetAchievementListBySearchFilterData(this.filterModel,!1).subscribe(e=>{e.IsSuccess&&(this.model=e.Data.Data,this.indexModel.IsPostBack||(this.totalRecords=e.Data.TotalRecords),this.updatePageConfig()),this.IsLoading=!1},e=>{})}getNextPageRecord(e){window.scroll(0,0),this.indexModel.IsPostBack=!0,this.indexModel.Page=e,this.GetData()}changePageSize(e){window.scroll(0,0),this.indexModel.IsPostBack=!0,this.indexModel.PageSize=Number(e),this.indexModel.Page=1,this.GetData()}updatePageConfig(){this.pagerConfig={itemsPerPage:this.indexModel.PageSize,currentPage:this.indexModel.Page,totalItems:this.totalRecords}}onDownload(e){e&&open("'url'","_blank").document.write('')}GetAchievementCategoryDetail(){this._dptDistrictWebsiteService.GetAchievementCategoryDetail(Number(this.pageCode)).subscribe(e=>{if(e.IsSuccess){let t=e.Data;t&&(this.pageTitle.NameEnglish=t.SubMenuNameEnglish,this.pageTitle.NameHindi=t.SubMenuNameHindi)}},e=>{})}}return e.\u0275fac=function(t){return new(t||e)(m.Vb(p.a),m.Vb(u.a),m.Vb(c.d),m.Vb(b.b),m.Vb(g.a),m.Vb(b.d),m.Vb(h.a))},e.\u0275cmp=m.Pb({type:e,selectors:[["app-ddw-other-link-transaction"]],decls:19,vars:12,consts:[["aria-label","breadcrumb",1,"breadcrumb_nav"],[1,"breadcrumb"],[1,"breadcrumb-item"],[3,"routerLink"],["aria-current","page",1,"breadcrumb-item","active"],[1,"inner-page","pt-0"],[1,"container-fluid","p-4"],[1,"row"],[1,"col-xl-12","col-lg-12","mb-12"],[1,"title","text-center"],[1,"img-fluid",2,"max-width","45px",3,"src","title","alt","error"],["class","col-lg-12",4,"ngIf"],[4,"ngIf"],[1,"col-lg-12"],[1,"table-responsive"],["border","0",1,"table","table-striped","table-bordered","table-new-design"],[2,"width","30px"],[2,"width","250px"],[2,"width","180px"],[4,"ngFor","ngForOf"],[4,"ngIf","ngIfElse"],["Blankdata",""],["href","javascript:void(0);","class","btn btn-secondary btn-sm",3,"click",4,"ngIf"],["href","javascript:void(0);",1,"btn","btn-secondary","btn-sm",3,"click"],[1,"fas","fa-paperclip"],[1,"text-center"],[1,"new-pagination-outer"],["name","example_length","aria-controls","example",1,"form-control-sm",2,"width","70px",3,"change"],[3,"value"],["selected","","value","10"],["value","25"],["value","50"],["value","100"],["autoHide","true",1,"w-100","text-center","mt-4",3,"previousLabel","nextLabel","pageChange"]],template:function(e,t){1&e&&(m.ac(0,"nav",0),m.ac(1,"ol",1),m.ac(2,"li",2),m.ac(3,"a",3),m.Vc(4),m.nc(5,"translate"),m.Zb(),m.Zb(),m.ac(6,"li",4),m.Vc(7),m.Zb(),m.Zb(),m.Zb(),m.ac(8,"section",5),m.ac(9,"div",6),m.ac(10,"div",7),m.ac(11,"div",8),m.ac(12,"h1",9),m.ac(13,"img",10),m.ic("error",(function(e){return t._commonService.onImageError(e,"assets/images/icon-achievements-list.png")})),m.Zb(),m.Vc(14),m.Zb(),m.Zb(),m.Zb(),m.ac(15,"div",7),m.Tc(16,fd,26,22,"div",11),m.Tc(17,vd,4,3,"div",11),m.Tc(18,Cd,17,10,"ng-container",12),m.Zb(),m.Zb(),m.Zb()),2&e&&(m.Hb(3),m.uc("routerLink",t._commonService.GetHomePageUrl()),m.Hb(1),m.Wc(m.oc(5,10,"Home_txt")),m.Hb(3),m.Xc(" ","en"!=t.translate.currentLang?t.pageTitle.NameHindi:t.pageTitle.NameEnglish," "),m.Hb(6),m.uc("title","en"!=t.translate.currentLang?t.pageTitle.NameHindi:t.pageTitle.NameEnglish),m.uc("alt","en"!=t.translate.currentLang?t.pageTitle.NameHindi:t.pageTitle.NameEnglish),m.tc("src",null==t.model[0]?null:t.model[0].AchievementCategoryImagePath,m.Pc),m.Hb(1),m.Xc(" ","en"!=t.translate.currentLang?t.pageTitle.NameHindi:t.pageTitle.NameEnglish," "),m.Hb(2),m.tc("ngIf",(null==t.model?null:t.model.length)>0),m.Hb(1),m.tc("ngIf",(null==t.model||t.model.length<=0)&&!t.IsLoading),m.Hb(1),m.tc("ngIf",(null==t.model?null:t.model.length)>0))},directives:[h.d,i.n,i.m,a.q,a.w,f.c],pipes:[c.c,f.b,i.e],styles:[""]}),e})();function Dd(e,t){if(1&e){const e=m.bc();m.ac(0,"div",18),m.ac(1,"div",19),m.ac(2,"div",20),m.ac(3,"img",21),m.ic("error",(function(t){return m.Mc(e),m.mc(2)._commonService.onImageError(t,"assets/images/no-img.png")})),m.Zb(),m.Zb(),m.Zb(),m.ac(4,"a",22),m.ac(5,"span",23),m.Wb(6,"i",24),m.Zb(),m.ac(7,"span",25),m.Vc(8,"Previous"),m.Zb(),m.Zb(),m.ac(9,"a",26),m.ac(10,"span",23),m.Wb(11,"i",27),m.Zb(),m.ac(12,"span",25),m.Vc(13,"Next"),m.Zb(),m.Zb(),m.Zb()}if(2&e){const e=m.mc(2);m.Hb(3),m.uc("title",null==e.generalModel?null:e.generalModel.Description),m.uc("alt",null==e.generalModel?null:e.generalModel.Description),m.tc("src",null==e.generalModel?null:e.generalModel.HomePageImageUrl,m.Pc)}}function Md(e,t){if(1&e&&(m.Yb(0),m.Tc(1,Dd,14,3,"div",17),m.Xb()),2&e){const e=m.mc();m.Hb(1),m.tc("ngIf",e.generalModel)}}function Id(e,t){if(1&e){const e=m.bc();m.ac(0,"div",35),m.ac(1,"button",36),m.ic("click",(function(){m.Mc(e);const t=m.mc(2);return t._commonService.ShareOnWhatsapp(("en"==t.translate.currentLang?null==t.generalModel?null:t.generalModel.CategoryName:null==t.generalModel?null:t.generalModel.CategoryNameHindi)+" : "+(null==t.generalModel?null:t.generalModel.Description),t.pageLink)})),m.nc(2,"translate"),m.lc(),m.ac(3,"svg",37),m.Wb(4,"path",38),m.Zb(),m.Zb(),m.Zb()}2&e&&(m.Hb(1),m.uc("title",m.oc(2,1,"WhatsAppShare_txt")))}function Zd(e,t){if(1&e){const e=m.bc();m.Yb(0),m.ac(1,"a",39),m.ic("click",(function(){m.Mc(e);const n=t.$implicit;return m.mc(2).openAttachmentInNewTabl(n)})),m.Wb(2,"i",40),m.Vc(3," Download"),m.Zb(),m.Xb()}}function Td(e,t){if(1&e&&(m.ac(0,"div",28),m.ac(1,"h4",29),m.Vc(2),m.Zb(),m.ac(3,"p",30),m.Wb(4,"i",31),m.Vc(5),m.nc(6,"date"),m.Zb(),m.ac(7,"div",32),m.Tc(8,Id,5,3,"div",33),m.ac(9,"div"),m.Tc(10,Zd,4,0,"ng-container",16),m.Zb(),m.Zb(),m.Wb(11,"p",34),m.Zb()),2&e){const e=m.mc();m.Hb(2),m.Xc("",null==e.generalModel?null:e.generalModel.Description," "),m.Hb(3),m.Xc(" ","en"==e.translate.currentLang?m.pc(6,5,null==e.generalModel?null:e.generalModel.PressreleaseDate,"d MMM, y"):null==e.generalModel?null:e.generalModel.PressReleaseDateHindi," "),m.Hb(3),m.tc("ngIf",e.isDistrict),m.Hb(2),m.tc("ngForOf",null==e.generalModel?null:e.generalModel.Attachments),m.Hb(1),m.tc("innerHTML",null==e.generalModel?null:e.generalModel.GeneralDescription,m.Nc)}}function yd(e,t){1&e&&m.Wb(0,"app-mini-loader")}function xd(e,t){1&e&&m.Wb(0,"app-no-records",41),2&e&&m.tc("showImage",!0)}function Pd(e,t){if(1&e){const e=m.bc();m.Yb(0),m.ac(1,"a",46),m.ic("click",(function(){m.Mc(e);const n=t.$implicit;return m.mc(3).openAttachmentInNewTabl(n)})),m.ac(2,"img",21),m.ic("error",(function(t){return m.Mc(e),m.mc(3)._commonService.onImageError(t,"assets/images/no-img.png")})),m.nc(3,"translate"),m.nc(4,"translate"),m.Zb(),m.Zb(),m.Xb()}if(2&e){const e=t.$implicit;m.Hb(2),m.uc("title",m.oc(3,3,"PhotoGallery_txt")),m.uc("alt",m.oc(4,5,"PhotoGallery_txt")),m.tc("src",e,m.Pc)}}function Sd(e,t){if(1&e&&(m.ac(0,"div",43),m.ac(1,"div",44),m.Vc(2),m.nc(3,"translate"),m.Zb(),m.ac(4,"div",15),m.ac(5,"div",45),m.Tc(6,Pd,5,7,"ng-container",16),m.Zb(),m.Zb(),m.Zb()),2&e){const e=m.mc(2);m.Hb(2),m.Wc(m.oc(3,2,"PhotoGallery_txt")),m.Hb(4),m.tc("ngForOf",null==e.generalModel?null:e.generalModel.ImageAttachments)}}function _d(e,t){if(1&e&&(m.Yb(0),m.Tc(1,Sd,7,4,"div",42),m.Xb()),2&e){const e=m.mc();m.Hb(1),m.tc("ngIf",(null==e.generalModel?null:e.generalModel.ImageAttachments)&&(null==e.generalModel?null:e.generalModel.ImageAttachments.length))}}function wd(e,t){if(1&e&&(m.Yb(0),m.ac(1,"a",47),m.ac(2,"div",48),m.Vc(3),m.nc(4,"date"),m.Zb(),m.ac(5,"div",49),m.Vc(6),m.Zb(),m.Zb(),m.Xb()),2&e){const e=t.$implicit,n=m.mc();m.Hb(1),m.vc("routerLink","/home/press-release/",null==e?null:e.Id,""),m.Hb(2),m.Xc(" ","en"==n.translate.currentLang?m.pc(4,3,e.PressreleaseDate,"d MMM, y"):e.PressReleaseDateHindi," "),m.Hb(3),m.Wc(null==e?null:e.Description)}}function Ld(e,t){1&e&&m.Wb(0,"app-mini-loader")}function Vd(e,t){1&e&&m.Wb(0,"app-no-records")}let kd=(()=>{class e{constructor(e,t,n,i,a,c,o,l,r){this.achievementAwardService=e,this.translate=t,this.sanitizer=n,this.route=i,this._app=a,this._route=c,this._titleService=o,this._commonService=l,this._dptDistrictWebsiteService=r,this.indexModel=new ha.f,this.isDistrict=!1,this.IsCodeOfConduct=!0,this._commonService.SetWebTitle("hi"==t.currentLang?"\u092a\u094d\u0930\u0947\u0938 \u0935\u093f\u091c\u094d\u091e\u092a\u094d\u0924\u093f \u0935\u093f\u0935\u0930\u0923":"Press Release Detail"),this.isDistrict=l.IsDistrict(),this._route.paramMap.subscribe(e=>{this.indexModel.EntryNumber=Number(e.get("pressreleaseid")),this.indexModel.DepartmentCode=l.GetWebDistDeptCode(),this.GetPressReleaseData(),this.GetTopPressRelease()}),this.IsCodeOfConduct=this._commonService.IsCodeOfConduct()}ngOnInit(){this.pageLink=window.location.href}GetPressReleaseData(){this.generalModel=void 0;let e=new ha.f;e.PageSize=3,e.IsBase64File=!1,e.EntryNumber=this.indexModel.EntryNumber,this._dptDistrictWebsiteService.GetDptInAugrationLink(e).subscribe(e=>{e.IsSuccess?(this.generalModel=e.Data.Data[0],this.generalModel.GeneralDescription=this.sanitizer.bypassSecurityTrustHtml(this.generalModel.GeneralDescription)):this.generalModel={}},e=>{this.generalModel={},console.error(e)})}openAttachmentInNewTabl(e){window.open(e,"_blank")}GetTopPressRelease(){this.PressReleaseListModel=void 0;let e=new ha.f;e.PageSize=3,e.OrderBy="CreatedDate",e.OrderByAsc=0,e.IsBase64File=!1,e.DepartmentCode=this.indexModel.DepartmentCode,this._dptDistrictWebsiteService.GetDptInAugrationLink(e).subscribe(e=>{this.PressReleaseListModel=e.IsSuccess?e.Data.Data:[]},e=>{this.PressReleaseListModel=[],console.error(e)})}}return e.\u0275fac=function(t){return new(t||e)(m.Vb(u.a),m.Vb(c.d),m.Vb(b.b),m.Vb(h.b),m.Vb(Qe.a),m.Vb(h.a),m.Vb(b.d),m.Vb(g.a),m.Vb(p.a))},e.\u0275cmp=m.Pb({type:e,selectors:[["app-ddw-press-release-detail"]],decls:27,vars:18,consts:[["aria-label","breadcrumb",1,"breadcrumb_nav"],[1,"breadcrumb"],[1,"breadcrumb-item"],[3,"routerLink"],["aria-current","page",1,"breadcrumb-item","active"],[1,"page-press-release-details","py-5"],[1,"container"],[1,"row"],[1,"col-lg-8"],[4,"ngIf"],["class","press-release-details-left pt-4",4,"ngIf"],[3,"showImage",4,"ngIf"],[1,"col-lg-4","press-release-details-right"],[1,"middle-content-custom-card"],[1,"custom-card-title"],[1,"custom-card-body"],[4,"ngFor","ngForOf"],["id","SliderPress","class","carousel slide","data-ride","carousel",4,"ngIf"],["id","SliderPress","data-ride","carousel",1,"carousel","slide"],[1,"carousel-inner"],[1,"carousel-item","active"],[3,"src","title","alt","error"],["href","#SliderPress","role","button","data-slide","prev",1,"carousel-control-prev","carousel-control-icon"],["aria-hidden","true"],[1,"fas","fa-chevron-left"],[1,"sr-only"],["href","#SliderPress","role","button","data-slide","next",1,"carousel-control-next","carousel-control-icon"],[1,"fas","fa-chevron-right"],[1,"press-release-details-left","pt-4"],[1,"text-theme"],[1,"text-muted"],[1,"fas","fa-calendar","mr-1"],[1,"text-center","d-flex","align-items-center","mb-4","justify-content-between"],["class","detail-page-share-icons",4,"ngIf"],[3,"innerHTML"],[1,"detail-page-share-icons"],["type","submit",1,"btn-whtsap_share",3,"title","click"],["xmlns","http://www.w3.org/2000/svg","width","16","height","16","fill","currentColor","viewBox","0 0 16 16",1,"bi","bi-whatsapp"],["d","M13.601 2.326A7.854 7.854 0 0 0 7.994 0C3.627 0 .068 3.558.064 7.926c0 1.399.366 2.76 1.057 3.965L0 16l4.204-1.102a7.933 7.933 0 0 0 3.79.965h.004c4.368 0 7.926-3.558 7.93-7.93A7.898 7.898 0 0 0 13.6 2.326zM7.994 14.521a6.573 6.573 0 0 1-3.356-.92l-.24-.144-2.494.654.666-2.433-.156-.251a6.56 6.56 0 0 1-1.007-3.505c0-3.626 2.957-6.584 6.591-6.584a6.56 6.56 0 0 1 4.66 1.931 6.557 6.557 0 0 1 1.928 4.66c-.004 3.639-2.961 6.592-6.592 6.592zm3.615-4.934c-.197-.099-1.17-.578-1.353-.646-.182-.065-.315-.099-.445.099-.133.197-.513.646-.627.775-.114.133-.232.148-.43.05-.197-.1-.836-.308-1.592-.985-.59-.525-.985-1.175-1.103-1.372-.114-.198-.011-.304.088-.403.087-.088.197-.232.296-.346.1-.114.133-.198.198-.33.065-.134.034-.248-.015-.347-.05-.099-.445-1.076-.612-1.47-.16-.389-.323-.335-.445-.34-.114-.007-.247-.007-.38-.007a.729.729 0 0 0-.529.247c-.182.198-.691.677-.691 1.654 0 .977.71 1.916.81 2.049.098.133 1.394 2.132 3.383 2.992.47.205.84.326 1.129.418.475.152.904.129 1.246.08.38-.058 1.171-.48 1.338-.943.164-.464.164-.86.114-.943-.049-.084-.182-.133-.38-.232z"],[1,"btn","btn-round","btn-theme","btn-yellow",3,"click"],[1,"fas","fa-file-pdf","mr-2"],[3,"showImage"],["class"," middle-content-custom-card mb-5",4,"ngIf"],[1,"middle-content-custom-card","mb-5"],[1,"custom-card-title","text-uppercase"],[1,"side-photo-gallery","d-flex","flex-wrap"],[1,"side-photo-gallery-img",3,"click"],[1,"middle-content-items","d-block","text-dark","mb-2",3,"routerLink"],[1,"middle-content-date"],[1,"middle-content-info"]],template:function(e,t){1&e&&(m.ac(0,"nav",0),m.ac(1,"ol",1),m.ac(2,"li",2),m.ac(3,"a",3),m.Vc(4),m.nc(5,"translate"),m.Zb(),m.Zb(),m.ac(6,"li",4),m.Vc(7),m.nc(8,"translate"),m.Zb(),m.Zb(),m.Zb(),m.ac(9,"section",5),m.ac(10,"div",6),m.ac(11,"div",7),m.ac(12,"div",8),m.Tc(13,Md,2,1,"ng-container",9),m.Tc(14,Td,12,8,"div",10),m.Tc(15,yd,1,0,"app-mini-loader",9),m.Tc(16,xd,1,1,"app-no-records",11),m.Zb(),m.ac(17,"div",12),m.Tc(18,_d,2,1,"ng-container",9),m.ac(19,"div",13),m.ac(20,"div",14),m.Vc(21),m.nc(22,"translate"),m.Zb(),m.ac(23,"div",15),m.Tc(24,wd,7,6,"ng-container",16),m.Zb(),m.Zb(),m.Tc(25,Ld,1,0,"app-mini-loader",9),m.Tc(26,Vd,1,0,"app-no-records",9),m.Zb(),m.Zb(),m.Zb(),m.Zb()),2&e&&(m.Hb(3),m.uc("routerLink",t._commonService.GetHomePageUrl()),m.Hb(1),m.Wc(m.oc(5,12,"Home_txt")),m.Hb(3),m.Xc("",m.oc(8,14,"PressReleaseDetail_txt")," "),m.Hb(6),m.tc("ngIf",!t.IsCodeOfConduct),m.Hb(1),m.tc("ngIf",t.generalModel),m.Hb(1),m.tc("ngIf",!t.generalModel),m.Hb(1),m.tc("ngIf",t.generalModel&&0==t._commonService.GetObjectLength(t.generalModel)),m.Hb(2),m.tc("ngIf",!t.IsCodeOfConduct),m.Hb(3),m.Wc(m.oc(22,16,"LatestPressReleases_txt")),m.Hb(3),m.tc("ngForOf",t.PressReleaseListModel),m.Hb(1),m.tc("ngIf",!t.PressReleaseListModel),m.Hb(1),m.tc("ngIf",t.PressReleaseListModel&&0==t.PressReleaseListModel.length))},directives:[h.d,i.n,i.m,v.a,C.a],pipes:[c.c,i.e],styles:[""]}),e})();var Nd=n("hzby");function Od(e,t){if(1&e&&(m.ac(0,"li",37),m.Vc(1),m.Zb()),2&e){const e=m.mc();m.Hb(1),m.Xc(" ","hi"==e.translate.currentLang?e.pageTitle.NameHindi:e.pageTitle.NameEnglish," ")}}function Ad(e,t){1&e&&(m.ac(0,"li",37),m.Vc(1),m.nc(2,"translate"),m.Zb()),2&e&&(m.Hb(1),m.Xc(" ",m.oc(2,1,"Press_Releases_txt")," "))}function Wd(e,t){if(1&e&&(m.ac(0,"option",38),m.Vc(1),m.Zb()),2&e){const e=t.$implicit;m.tc("value",e.Value),m.Hb(1),m.Xc(" ",e.Text," ")}}function Ed(e,t){if(1&e&&(m.ac(0,"option",38),m.Vc(1),m.Zb()),2&e){const e=t.$implicit;m.tc("value",e.Value),m.Hb(1),m.Xc(" ",e.Text," ")}}function Gd(e,t){if(1&e&&(m.ac(0,"option",38),m.Vc(1),m.Zb()),2&e){const e=t.$implicit;m.tc("value",e.Value),m.Hb(1),m.Xc(" ",e.Text," ")}}function Fd(e,t){if(1&e&&(m.ac(0,"option",38),m.Vc(1),m.Zb()),2&e){const e=t.$implicit;m.tc("value",e.Value),m.Hb(1),m.Xc("",e.Text," ")}}function Rd(e,t){if(1&e&&(m.ac(0,"span"),m.Vc(1),m.Zb()),2&e){const e=m.mc();m.Hb(1),m.Xc(" ","hi"==e.translate.currentLang?e.pageTitle.NameHindi:e.pageTitle.NameEnglish," ")}}function Xd(e,t){1&e&&(m.ac(0,"span"),m.Vc(1),m.nc(2,"translate"),m.Zb()),2&e&&(m.Hb(1),m.Xc(" ",m.oc(2,1,"Press_Releases_txt")," "))}function Bd(e,t){1&e&&(m.ac(0,"th"),m.Vc(1),m.nc(2,"translate"),m.Zb()),2&e&&(m.Hb(1),m.Wc(m.oc(2,1,"Image_txt")))}function Ud(e,t){if(1&e&&(m.Wb(0,"img",51),m.nc(1,"translate"),m.nc(2,"translate")),2&e){const e=m.mc(2).$implicit,t=m.mc(2);m.uc("title",m.oc(1,3,"Attachment_txt")),m.uc("alt",m.oc(2,5,"Attachment_txt")),m.tc("src",t.sanitizeImageUrl(e.HomePageImageUrl),m.Pc)}}function zd(e,t){1&e&&m.Wb(0,"div",52)}function jd(e,t){if(1&e&&(m.ac(0,"td"),m.Tc(1,Ud,3,7,"img",49),m.Tc(2,zd,1,0,"div",50),m.Zb()),2&e){const e=m.mc().$implicit;m.Hb(1),m.tc("ngIf",e.HomePageImageUrl),m.Hb(1),m.tc("ngIf",!e.HomePageImageUrl)}}function $d(e,t){if(1&e&&(m.Yb(0),m.ac(1,"tr"),m.ac(2,"td"),m.Vc(3),m.Zb(),m.ac(4,"td"),m.Vc(5),m.nc(6,"date"),m.Zb(),m.ac(7,"td"),m.Vc(8),m.Zb(),m.Tc(9,jd,3,2,"td",34),m.ac(10,"td"),m.ac(11,"a",48),m.Vc(12),m.nc(13,"translate"),m.Zb(),m.Zb(),m.Zb(),m.Xb()),2&e){const e=t.$implicit,n=t.index,i=m.mc(2);m.Hb(3),m.Wc((i.filterModel.Page-1)*i.filterModel.PageSize+(n+1)),m.Hb(2),m.Xc(" ","en"==i.translate.currentLang?m.pc(6,6,e.PressreleaseDate,"d MMM, y"):e.PressReleaseDateHindi," "),m.Hb(3),m.Xc(" ",e.Description," "),m.Hb(1),m.tc("ngIf",!i.isCodeOfConduct),m.Hb(2),m.vc("routerLink","/home/press-release/",null==e?null:e.Id,""),m.Hb(1),m.Wc(m.oc(13,9,"ViewDetail_txt"))}}function Yd(e,t){if(1&e){const e=m.bc();m.ac(0,"div",53),m.ac(1,"select",54),m.ic("change",(function(t){return m.Mc(e),m.mc(2).posterChangePageSize(t.target.value)})),m.ac(2,"option",38),m.Vc(3),m.nc(4,"translate"),m.Zb(),m.ac(5,"option",55),m.Vc(6,"15"),m.Zb(),m.ac(7,"option",56),m.Vc(8,"25"),m.Zb(),m.ac(9,"option",57),m.Vc(10,"50"),m.Zb(),m.ac(11,"option",58),m.Vc(12,"100"),m.Zb(),m.Zb(),m.ac(13,"pagination-controls",59),m.ic("pageChange",(function(t){return m.Mc(e),m.mc(2).posterGetNextPageRecord(t)})),m.nc(14,"translate"),m.nc(15,"translate"),m.Zb(),m.Zb()}if(2&e){const e=m.mc(2);m.Hb(2),m.uc("value",e.totalRecords),m.Hb(1),m.Wc(m.oc(4,4,"All_txt")),m.Hb(10),m.uc("previousLabel",m.oc(14,6,"Previous_txt")),m.uc("nextLabel",m.oc(15,8,"Next_txt"))}}function qd(e,t){if(1&e&&(m.ac(0,"div",39),m.ac(1,"div",40),m.ac(2,"div",41),m.ac(3,"table",42),m.ac(4,"thead"),m.ac(5,"tr"),m.ac(6,"th",43),m.Vc(7),m.nc(8,"translate"),m.Zb(),m.ac(9,"th",44),m.Vc(10),m.nc(11,"translate"),m.Zb(),m.ac(12,"th"),m.Vc(13),m.nc(14,"translate"),m.Zb(),m.Tc(15,Bd,3,3,"th",34),m.ac(16,"th",45),m.Vc(17),m.nc(18,"translate"),m.Zb(),m.Zb(),m.Zb(),m.ac(19,"tbody"),m.Tc(20,$d,14,11,"ng-container",46),m.nc(21,"paginate"),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.Tc(22,Yd,16,10,"div",47),m.Zb()),2&e){const e=m.mc();m.Hb(7),m.Wc(m.oc(8,7,"SrNo_txt")),m.Hb(3),m.Wc(m.oc(11,9,"Date_txt")),m.Hb(3),m.Wc(m.oc(14,11,"Subject_txt")),m.Hb(2),m.tc("ngIf",!e.isCodeOfConduct),m.Hb(2),m.Wc(m.oc(18,13,"ViewDetail_txt")),m.Hb(3),m.tc("ngForOf",m.pc(21,15,e.generalModel,e.pagerConfig)),m.Hb(2),m.tc("ngIf",e.totalRecords>15)}}function Jd(e,t){1&e&&m.Wb(0,"app-mini-loader")}function Kd(e,t){1&e&&m.Wb(0,"app-no-records",60),2&e&&m.tc("showImage",!0)}const Qd=function(e){return{containerClass:"theme-dark-blue",dateInputFormat:e,showWeekNumbers:!1}};let em=(()=>{class e{constructor(e,t,n,i,a,c,o,l,r){this.achievementAwardService=e,this.translate=t,this.sanitizer=n,this.route=i,this._app=a,this._route=c,this._distDeptService=o,this._commonService=l,this.datePipe=r,this.isTableView=!1,this.totalRecords=0,this.noRecords=!1,this.filterModel=new ha.f,this.categoryCode=0,this.subCatCode=0,this.DatePickerFormat=d.a.DatePickerFormat,this.minimumDate=d.a.MinimumDate,this.pressreleaseIndexModel=new s.d,this.enumdata=vi.d,this.dDLList=new s.b,this.ddlDepartment=[],this.DateFormat=d.a.DateFormat,this.submenuCode=0,this.isCodeOfConduct=!0,this._route.paramMap.subscribe(e=>{var t,n,i;this.pageTitle=void 0;let a=null===(i=null===(n=null===(t=this._route)||void 0===t?void 0:t.snapshot)||void 0===n?void 0:n.params)||void 0===i?void 0:i.submenuCode;this.submenuCode=Number(a||0),this.deptCode=Number(e.get("dptCode"))||this._commonService.GetWebDistDeptCode();let c=e.get("CategoryCode");c&&(this.categoryCode=Number(c));let o=e.get("SubCategoryCode");o&&(this.subCatCode=Number(o),this.filterModel.SubCategoryCode=this.subCatCode),this.getPageHeading();let l=this.route.url.replace("/","").split("/");switch(this.pageName=a?l[l.length-4]:l[l.length-3],this.pageName){case"press-release-list":this.categoryCode=this.enumdata.PressReleaseCode;break;case"special-press-release-list":this.categoryCode=this.enumdata.SpecialReleaseCode}}),l.IsDistrict()?this.filterModel.DistrictDepartmentCode=this.deptCode:this.filterModel.DepartmentCode=this.deptCode,this.pagerConfig={id:"prs09890",itemsPerPage:this.filterModel.PageSize,currentPage:this.filterModel.Page,totalItems:this.totalRecords},this.dDLList=new s.b,this.ddlDepartment=[]}ngOnInit(){this.GetDDLList(),this.isCodeOfConduct=this._commonService.IsCodeOfConduct(),this.GetJankalyanEntryTypebyDepartmentCode("",this.categoryCode),setTimeout(()=>{this.GetPressReleaseData()},1e3)}getPageHeading(){this.submenuCode&&this.submenuCode>0?this.getSubmenuDetail():this.categoryCode&&this.categoryCode>0&&this.getCategoryDetail()}GetPressReleaseData(){this.generalModel=void 0,this.filterModel.IsBase64File=!1,this.filterModel.PageSize=15,this.filterModel.CategoryCode=this.categoryCode,this.filterModel.OrderBy="PressreleaseDate",this._distDeptService.GetDptInAugrationLink(this.filterModel).subscribe(e=>{e.IsSuccess?(this.generalModel=e.Data.Data,this.totalRecords=e.Data.TotalRecords,this.posterUpdatePageConfig()):this.generalModel=[]},e=>{this.generalModel=[],console.error(e)})}posterGetNextPageRecord(e){window.scroll(0,0),this.filterModel.IsPostBack=!0,this.filterModel.Page=e,this.GetPressReleaseData()}posterChangePageSize(e){window.scroll(0,0),this.filterModel.IsPostBack=!0,this.filterModel.PageSize=Number(e),this.filterModel.Page=1,this.GetPressReleaseData()}posterUpdatePageConfig(){this.pagerConfig.itemsPerPage=this.filterModel.PageSize,this.pagerConfig.currentPage=this.filterModel.Page,this.pagerConfig.totalItems=this.totalRecords}sanitizeImageUrl(e){return this.sanitizer.bypassSecurityTrustUrl(e)}GetDDLList(){this._distDeptService.GetAllDDL(r.a.PressReleaseDDLKey).subscribe(e=>{var t;e.IsSuccess&&(this.dDLList=null===(t=e)||void 0===t?void 0:t.Data,sessionStorage.setItem("pressReleaseDDL",JSON.stringify(this.dDLList)))},e=>{console.error(e.message)})}GetJankalyanEntryTypebyDepartmentCode(e,t){(e||t)&&this._distDeptService.GetJankalyanEntryTypebyDepartmentCode(String(e),Number(t)).subscribe(e=>{e.IsSuccess&&(this.ddlEntryTypeMaster=e.Data)})}getParticipantList(e){e?this._distDeptService.GetVIPPersonListOfPressRelease(e).subscribe(e=>{e.IsSuccess&&(this.ddlParticipant=e.Data)}):this.ddlParticipant=[]}saveFilterAndGet(){this.saveFilter(),this.GetPressReleaseData()}saveFilter(){this.filterModel.Page=1,this.filterModel.VIPCategoryCode&&(this.filterModel.VIPCategoryCode=String(this.filterModel.VIPCategoryCode)),this.filterModel.VIPPersonCode&&(this.filterModel.VIPPersonCode=this.filterModel.VIPPersonCode),sessionStorage.setItem("pressReleaseFilter",JSON.stringify(this.filterModel))}reset(){this.filterModel=new ha.f,sessionStorage.removeItem("pressReleaseFilter"),this.GetJankalyanEntryTypebyDepartmentCode("",this.categoryCode),this._commonService.IsDistrict()?this.filterModel.DistrictDepartmentCode=this.deptCode:this.filterModel.DepartmentCode=this.deptCode,this.saveFilterAndGet()}getSubmenuDetail(){this._distDeptService.GetSubmenuDetail(this.submenuCode).subscribe(e=>{if(e.IsSuccess){let t=e.Data;t&&(this.pageTitle=new s.f,this.pageTitle.NameEnglish=t.DisplayNameEnglish,this.pageTitle.NameHindi=t.DisplayNameHindi,this.pageTitle.ImagePath=t.IconImage,this._commonService.SetWebTitle("hi"==this.translate.currentLang?this.pageTitle.NameHindi:this.pageTitle.NameEnglish))}},e=>{})}getCategoryDetail(){this.categoryCode&&this._distDeptService.GetJankalyanCategoryDetail(Number(this.categoryCode)).subscribe(e=>{if(e.IsSuccess){let t=e.Data;t&&(this.pageTitle=new s.f,this.pageTitle.NameEnglish=t.SubMenuNameEnglish||t.Name,this.pageTitle.NameHindi=t.SubMenuNameHindi||t.NameHindi,this._commonService.SetWebTitle("hi"==this.translate.currentLang?this.pageTitle.NameHindi:this.pageTitle.NameEnglish))}})}}return e.\u0275fac=function(t){return new(t||e)(m.Vb(u.a),m.Vb(c.d),m.Vb(b.b),m.Vb(h.b),m.Vb(Qe.a),m.Vb(h.a),m.Vb(p.a),m.Vb(g.a),m.Vb(i.e))},e.\u0275cmp=m.Pb({type:e,selectors:[["app-ddw-press-release-list"]],decls:90,vars:80,consts:[["aria-label","breadcrumb",1,"breadcrumb_nav"],[1,"breadcrumb"],[1,"breadcrumb-item"],[3,"routerLink"],["class","breadcrumb-item active","aria-current","page",4,"ngIf"],["autocomplete","off"],[1,"order_page"],[1,"orders_filter"],[1,"container-fluid"],[1,"row","justify-content-center"],[1,"col-xl-3","col-lg-3","col-sm-6","col-12","wow","fadeInUp"],["name","CategoryCode",1,"form-control",3,"ngModel","ngModelChange","change"],["value","0"],[3,"value",4,"ngFor","ngForOf"],["name","SubCategoryCode",1,"form-control",3,"ngModel","ngModelChange"],["name","VIPCategoryCode",1,"form-control",3,"ngModel","ngModelChange","change"],["value",""],["name","VIPPersonCode",1,"form-control",3,"ngModel","ngModelChange"],[1,"col-xl-3","col-lg-3","col-sm-6","col-12","calendar-icon-date","fadeInUp"],["autocomplete","off","type","text","name","PressReleaseFromDate","bsDatepicker","",1,"form-control",3,"placeholder","ngModel","bsConfig","minDate","ngModelChange"],["catFromDate","bsDatepicker"],[1,"fas","fa-calendar-alt",3,"click"],["lable","","for","101"],["autocomplete","off","type","text","name","PressReleaseToDate","bsDatepicker","",1,"form-control",3,"placeholder","ngModel","bsConfig","minDate","ngModelChange"],["catToDate","bsDatepicker"],[1,"col-xl-3","col-lg-3","col-sm-6","col-12"],[1,"btn","btn-success","filter-btn","d-block","w-100",2,"border","none",3,"click"],[1,"fas","fa-search","mr-2"],[1,"btn","btn-danger","filter-btn","d-block","w-100",2,"border","none",3,"click"],[1,"fas","fa-redo-alt","mr-2"],[1,"inner-page","press-release-list-page","py-5"],[1,"container"],[1,"title","text-center"],[1,"img-fluid",2,"max-width","45px",3,"src","title","alt"],[4,"ngIf"],["class","row m-0",4,"ngIf"],[3,"showImage",4,"ngIf"],["aria-current","page",1,"breadcrumb-item","active"],[3,"value"],[1,"row","m-0"],[1,"col-lg-12","p-0"],[1,"table-responsive"],["border","0","cellspacing","0","cellpadding","0","width","100%",1,"table","font-14","table-striped","table_order_list","table-custom","table-custom"],["width","70"],["width","150px"],["width","150"],[4,"ngFor","ngForOf"],["class","new-pagination-outer",4,"ngIf"],[1,"btn","btn-round","btn-theme","btn-yellow","btn-sm","py-1",3,"routerLink"],["class","img-fluid","width","100px","style","height:auto;max-height: 100px;",3,"src","title","alt",4,"ngIf"],["width","100px","height","10px",4,"ngIf"],["width","100px",1,"img-fluid",2,"height","auto","max-height","100px",3,"src","title","alt"],["width","100px","height","10px"],[1,"new-pagination-outer"],["name","example_length","aria-controls","example",1,"form-control-sm",2,"width","70px",3,"change"],["selected","","value","15"],["value","25"],["value","50"],["value","100"],["id","prs09890",1,"text-center","mt-4",3,"previousLabel","nextLabel","pageChange"],[3,"showImage"]],template:function(e,t){if(1&e){const e=m.bc();m.ac(0,"nav",0),m.ac(1,"ol",1),m.ac(2,"li",2),m.ac(3,"a",3),m.Vc(4),m.nc(5,"translate"),m.Zb(),m.Zb(),m.Tc(6,Od,2,1,"li",4),m.Tc(7,Ad,3,3,"li",4),m.Zb(),m.Zb(),m.ac(8,"form",5),m.ac(9,"section",6),m.ac(10,"div",7),m.ac(11,"div",8),m.ac(12,"div",9),m.ac(13,"div",10),m.ac(14,"label"),m.Vc(15),m.nc(16,"translate"),m.Zb(),m.ac(17,"select",11),m.ic("ngModelChange",(function(e){return t.filterModel.CategoryCode=e}))("change",(function(e){return t.GetJankalyanEntryTypebyDepartmentCode("",e.target.value)})),m.ac(18,"option",12),m.Vc(19),m.nc(20,"translate"),m.Zb(),m.Tc(21,Wd,2,2,"option",13),m.Zb(),m.Zb(),m.ac(22,"div",10),m.ac(23,"label"),m.Vc(24),m.nc(25,"translate"),m.Zb(),m.ac(26,"select",14),m.ic("ngModelChange",(function(e){return t.filterModel.SubCategoryCode=e})),m.ac(27,"option",12),m.Vc(28),m.nc(29,"translate"),m.Zb(),m.Tc(30,Ed,2,2,"option",13),m.Zb(),m.Zb(),m.ac(31,"div",10),m.ac(32,"label"),m.Vc(33),m.nc(34,"translate"),m.Zb(),m.ac(35,"select",15),m.ic("ngModelChange",(function(e){return t.filterModel.VIPCategoryCode=e}))("change",(function(e){return t.getParticipantList(e.target.value)})),m.ac(36,"option",16),m.Vc(37),m.nc(38,"translate"),m.Zb(),m.Tc(39,Gd,2,2,"option",13),m.Zb(),m.Zb(),m.ac(40,"div",10),m.ac(41,"label"),m.Vc(42),m.nc(43,"translate"),m.Zb(),m.ac(44,"select",17),m.ic("ngModelChange",(function(e){return t.filterModel.VIPPersonCode=e})),m.ac(45,"option",16),m.Vc(46),m.nc(47,"translate"),m.Zb(),m.Tc(48,Fd,2,2,"option",13),m.Zb(),m.Zb(),m.ac(49,"div",18),m.ac(50,"label"),m.Vc(51),m.nc(52,"translate"),m.Zb(),m.ac(53,"input",19,20),m.ic("ngModelChange",(function(e){return t.filterModel.PressReleaseFromDate=e})),m.nc(55,"translate"),m.Zb(),m.ac(56,"i",21),m.ic("click",(function(){return m.Mc(e),m.Kc(54).toggle()})),m.Zb(),m.Zb(),m.ac(57,"div",18),m.ac(58,"label",22),m.Vc(59),m.nc(60,"translate"),m.Zb(),m.ac(61,"input",23,24),m.ic("ngModelChange",(function(e){return t.filterModel.PressReleaseToDate=e})),m.nc(63,"translate"),m.Zb(),m.ac(64,"i",21),m.ic("click",(function(){return m.Mc(e),m.Kc(62).toggle()})),m.Zb(),m.Zb(),m.ac(65,"div",25),m.ac(66,"label"),m.Vc(67,"\xa0"),m.Zb(),m.ac(68,"button",26),m.ic("click",(function(){return t.saveFilterAndGet()})),m.Wb(69,"i",27),m.Vc(70),m.nc(71,"translate"),m.Zb(),m.Zb(),m.ac(72,"div",25),m.ac(73,"label"),m.Vc(74,"\xa0"),m.Zb(),m.ac(75,"button",28),m.ic("click",(function(){return t.reset()})),m.Wb(76,"i",29),m.Vc(77),m.nc(78,"translate"),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.ac(79,"section",30),m.ac(80,"div",31),m.ac(81,"h1",32),m.Wb(82,"img",33),m.nc(83,"translate"),m.nc(84,"translate"),m.Tc(85,Rd,2,1,"span",34),m.Tc(86,Xd,3,3,"span",34),m.Zb(),m.Tc(87,qd,23,18,"div",35),m.Tc(88,Jd,1,0,"app-mini-loader",34),m.Tc(89,Kd,1,1,"app-no-records",36),m.Zb(),m.Zb()}if(2&e){const e=m.Kc(54),n=m.Kc(62);m.Hb(3),m.uc("routerLink",t._commonService.GetHomePageUrl()),m.Hb(1),m.Wc(m.oc(5,42,"Home_txt")),m.Hb(2),m.tc("ngIf",t.pageTitle),m.Hb(1),m.tc("ngIf",!t.pageTitle),m.Hb(8),m.Wc(m.oc(16,44,"Category_txt")),m.Hb(2),m.tc("ngModel",t.filterModel.CategoryCode),m.Hb(2),m.Xc("--",m.oc(20,46,"Category_txt"),"--"),m.Hb(2),m.tc("ngForOf",null==t.dDLList?null:t.dDLList.ddlPressReleaseCategory),m.Hb(3),m.Wc(m.oc(25,48,"SubCategory_txt")),m.Hb(2),m.tc("ngModel",t.filterModel.SubCategoryCode),m.Hb(2),m.Xc("--",m.oc(29,50,"SubCategory_txt"),"--"),m.Hb(2),m.tc("ngForOf",t.ddlEntryTypeMaster),m.Hb(3),m.Wc(m.oc(34,52,"VIPCategory_txt")),m.Hb(2),m.tc("ngModel",t.filterModel.VIPCategoryCode),m.Hb(2),m.Xc("--",m.oc(38,54,"VIPCategory_txt"),"--"),m.Hb(2),m.tc("ngForOf",null==t.dDLList?null:t.dDLList.ddlDesignationForPressRelease),m.Hb(3),m.Wc(m.oc(43,56,"VIPCategoryPersion_txt")),m.Hb(2),m.tc("ngModel",t.filterModel.VIPPersonCode),m.Hb(2),m.Xc("--",m.oc(47,58,"VIPCategoryPersion_txt"),"--"),m.Hb(2),m.tc("ngForOf",t.ddlParticipant),m.Hb(3),m.Xc("",m.oc(52,60,"PressReleaseFromDate_txt")," "),m.Hb(2),m.uc("placeholder",m.oc(55,62,"PressReleaseFromDate_txt")),m.tc("ngModel",t.filterModel.PressReleaseFromDate)("bsConfig",m.Ec(76,Qd,t.DatePickerFormat))("minDate",t.minimumDate),m.Hb(3),m.Ib("aria-expanded",e.isOpen),m.Hb(3),m.Wc(m.oc(60,64,"PressReleaseToDate_txt")),m.Hb(2),m.uc("placeholder",m.oc(63,66,"PressReleaseToDate_txt")),m.tc("ngModel",t.filterModel.PressReleaseToDate)("bsConfig",m.Ec(78,Qd,t.DatePickerFormat))("minDate",t.minimumDate),m.Hb(3),m.Ib("aria-expanded",n.isOpen),m.Hb(6),m.Xc(" ",m.oc(71,68,"Search_txt")," "),m.Hb(7),m.Xc(" ",m.oc(78,70,"Reset_txt")," "),m.Hb(5),m.uc("src",(null==t.pageTitle?null:t.pageTitle.ImagePath)||"assets/images/CM-directions.png",m.Pc),m.uc("title",t.pageTitle?"hi"==t.translate.currentLang?t.pageTitle.NameHindi:t.pageTitle.NameEnglish:m.oc(83,72,"Press_Releases_txt")),m.uc("alt",t.pageTitle?"hi"==t.translate.currentLang?t.pageTitle.NameHindi:t.pageTitle.NameEnglish:m.oc(84,74,"Press_Releases_txt")),m.Hb(3),m.tc("ngIf",t.pageTitle),m.Hb(1),m.tc("ngIf",!t.pageTitle),m.Hb(1),m.tc("ngIf",(null==t.generalModel?null:t.generalModel.length)>0),m.Hb(1),m.tc("ngIf",!t.generalModel),m.Hb(1),m.tc("ngIf",t.generalModel&&0==t.generalModel.length)}},directives:[h.d,i.n,a.x,a.n,a.o,a.u,a.m,a.p,a.q,a.w,i.m,Nd.b,a.b,Nd.a,f.c,v.a,C.a],pipes:[c.c,f.b,i.e],styles:[""]}),e})();function tm(e,t){1&e&&(m.ac(0,"span"),m.Vc(1),m.nc(2,"translate"),m.Zb()),2&e&&(m.Hb(1),m.Xc(" ",m.oc(2,1,"Tender_list_txt")," "))}function nm(e,t){1&e&&(m.ac(0,"span"),m.Vc(1),m.nc(2,"translate"),m.Zb()),2&e&&(m.Hb(1),m.Xc(" ",m.oc(2,1,"Archived_tender_list_txt")," "))}function im(e,t){if(1&e&&(m.ac(0,"span"),m.Vc(1),m.Zb()),2&e){const e=m.mc();m.Hb(1),m.Xc(" ","hi"!=e.translate.currentLang?null==e.pageTitle?null:e.pageTitle.NameEnglish:null==e.pageTitle?null:e.pageTitle.NameHindi," ")}}function am(e,t){if(1&e&&(m.ac(0,"span"),m.Vc(1),m.Zb()),2&e){const e=m.mc();m.Hb(1),m.Xc(" ","hi"!=e.translate.currentLang?null==e.pageTitle?null:e.pageTitle.NameEnglish:null==e.pageTitle?null:e.pageTitle.NameHindi," (Archived) ")}}function cm(e,t){if(1&e&&(m.ac(0,"option",52),m.Vc(1),m.Zb()),2&e){const e=t.$implicit;m.tc("value",e.Value),m.Hb(1),m.Wc(e.Text)}}function om(e,t){1&e&&(m.ac(0,"span"),m.Vc(1),m.nc(2,"translate"),m.Zb()),2&e&&(m.Hb(1),m.Xc(" ",m.oc(2,1,"Tender_list_txt")," "))}function lm(e,t){1&e&&(m.ac(0,"span"),m.Vc(1),m.nc(2,"translate"),m.Zb()),2&e&&(m.Hb(1),m.Xc(" ",m.oc(2,1,"Archived_tender_list_txt")," "))}function rm(e,t){if(1&e&&(m.ac(0,"span"),m.Vc(1),m.Zb()),2&e){const e=m.mc();m.Hb(1),m.Xc(" ","hi"!=e.translate.currentLang?null==e.pageTitle?null:e.pageTitle.NameEnglish:null==e.pageTitle?null:e.pageTitle.NameHindi," ")}}function sm(e,t){if(1&e&&(m.ac(0,"span"),m.Vc(1),m.Zb()),2&e){const e=m.mc();m.Hb(1),m.Xc(" ","hi"!=e.translate.currentLang?null==e.pageTitle?null:e.pageTitle.NameEnglish:null==e.pageTitle?null:e.pageTitle.NameHindi," (Archived) ")}}function dm(e,t){1&e&&(m.ac(0,"span"),m.Vc(1),m.nc(2,"translate"),m.Zb()),2&e&&(m.Hb(1),m.Xc(" ",m.oc(2,1,"View_tender_list_txt")," "))}function mm(e,t){1&e&&(m.ac(0,"span"),m.Vc(1),m.nc(2,"translate"),m.Zb()),2&e&&(m.Hb(1),m.Xc(" ",m.oc(2,1,"View_archived_tender_list_txt")," "))}const um=function(e){return{"bg-danger":e}},bm=function(e,t){return["/pages/sm/tender-list",e,t,0]},gm=function(e,t){return["/pages/sm/archive-tender-list",e,t,1]};function hm(e,t){if(1&e&&(m.ac(0,"li",53),m.ac(1,"a",54),m.Vc(2,">> "),m.Tc(3,dm,3,3,"span",5),m.Tc(4,mm,3,3,"span",5),m.Zb(),m.Zb()),2&e){const e=m.mc();m.Hb(1),m.tc("ngClass",m.Ec(4,um,1!=e.isExpired))("routerLink",1==e.isExpired?m.Fc(6,bm,e.submenuCode,e.departmentCode):m.Fc(9,gm,e.submenuCode,e.departmentCode)),m.Hb(2),m.tc("ngIf",1==e.isExpired),m.Hb(1),m.tc("ngIf",0==e.isExpired)}}function pm(e,t){if(1&e&&(m.ac(0,"a",60),m.Wb(1,"i",61),m.Vc(2),m.nc(3,"translate"),m.Zb()),2&e){const e=m.mc().$implicit;m.uc("href",null==e?null:e.SoftCopyURL,m.Pc),m.Hb(2),m.Xc(" ",m.oc(3,2,"ViewAttachments_txt")," ")}}const fm=function(e){return{"tender-expire":e}};function vm(e,t){if(1&e&&(m.ac(0,"div",55),m.ac(1,"div",56),m.ac(2,"div",57),m.ac(3,"h5"),m.ac(4,"strong"),m.Vc(5),m.nc(6,"translate"),m.Zb(),m.ac(7,"span"),m.Vc(8),m.Zb(),m.Zb(),m.ac(9,"h5"),m.ac(10,"strong"),m.Vc(11),m.nc(12,"translate"),m.Zb(),m.ac(13,"span"),m.Vc(14),m.Zb(),m.Zb(),m.Zb(),m.ac(15,"div",58),m.ac(16,"div"),m.ac(17,"p"),m.Vc(18),m.nc(19,"translate"),m.Zb(),m.ac(20,"ul"),m.ac(21,"li"),m.Vc(22),m.nc(23,"translate"),m.nc(24,"date"),m.Zb(),m.ac(25,"li"),m.Vc(26),m.nc(27,"translate"),m.nc(28,"date"),m.Zb(),m.ac(29,"li"),m.Vc(30),m.nc(31,"translate"),m.nc(32,"date"),m.Zb(),m.Zb(),m.Zb(),m.Tc(33,pm,4,4,"a",59),m.Zb(),m.Zb(),m.Zb()),2&e){const e=t.$implicit,n=m.mc();m.Hb(1),m.tc("ngClass",m.Ec(35,fm,e.IsExpired)),m.Hb(4),m.Xc(" ",m.oc(6,14,"RNNo_txt")," : "),m.Hb(3),m.Xc(" ",e.RONo?e.RONo:"-"," "),m.Hb(3),m.Xc(" ",m.oc(12,16,"NITNo_txt")," : "),m.Hb(3),m.Xc(" ",e.NITNo?e.NITNo:"-"," "),m.Hb(4),m.Yc("",m.oc(19,18,"NITPurpose_txt"),": ",e.NITPurpose," "),m.Hb(4),m.Yc(" ",m.oc(23,20,"ReleaseDate_txt")," : ",e.ReleaseDate?m.pc(24,22,e.ReleaseDate,n.dateFormat):" -"," "),m.Hb(4),m.Yc(" ",m.oc(27,25,"FormIssuingDate_txt")," : ",e.FormIssuingDate?m.pc(28,27,e.FormIssuingDate,n.dateFormat):" -"," "),m.Hb(4),m.Yc(" ",m.oc(31,30,"FormSubmissionDate_txt")," : ",e.FormSubmissionDate?m.pc(32,32,e.FormSubmissionDate,n.dateFormat):" -"," "),m.Hb(3),m.tc("ngIf",e.SoftCopyURL)}}function Cm(e,t){if(1&e&&(m.ac(0,"a",73),m.Wb(1,"i",74),m.Zb()),2&e){const e=m.mc().$implicit;m.uc("href",e.PDFUrl,m.Pc)}}function Hm(e,t){if(1&e&&(m.ac(0,"li",69),m.ac(1,"div",70),m.ac(2,"div"),m.Vc(3),m.ac(4,"span",71),m.Vc(5),m.nc(6,"date"),m.Zb(),m.Zb(),m.Tc(7,Cm,2,1,"a",72),m.Zb(),m.Zb()),2&e){const e=t.$implicit,n=m.mc(3);m.Hb(3),m.Xc(" ",e.Description," "),m.Hb(2),m.Wc(m.pc(6,3,e.Date,n.dateFormat)),m.Hb(2),m.tc("ngIf",e.PDFUrl)}}function Dm(e,t){if(1&e&&(m.ac(0,"a",75),m.Wb(1,"i",61),m.Vc(2),m.nc(3,"translate"),m.Zb()),2&e){const e=m.mc().$implicit;m.uc("href",null==e?null:e.SoftCopyURL,m.Pc),m.Hb(2),m.Xc(" ",m.oc(3,2,"ViewAttachments_txt"),"")}}function Mm(e,t){if(1&e&&(m.ac(0,"tr",65),m.ac(1,"td"),m.Vc(2),m.Zb(),m.ac(3,"td"),m.Vc(4),m.Zb(),m.ac(5,"td"),m.Vc(6),m.Zb(),m.ac(7,"td"),m.Vc(8),m.ac(9,"ul",66),m.Tc(10,Hm,8,6,"li",67),m.Zb(),m.Zb(),m.ac(11,"td"),m.Vc(12),m.nc(13,"date"),m.Zb(),m.ac(14,"td"),m.Vc(15),m.nc(16,"date"),m.Zb(),m.ac(17,"td"),m.Vc(18),m.nc(19,"date"),m.Zb(),m.ac(20,"td"),m.Vc(21),m.nc(22,"date"),m.Zb(),m.ac(23,"td"),m.Vc(24," \xa0 "),m.Tc(25,Dm,4,4,"a",68),m.Zb(),m.Zb()),2&e){const e=t.$implicit,n=t.index,i=m.mc(2);m.tc("ngClass",m.Ec(23,fm,e.IsExpired)),m.Hb(2),m.Xc(" ",(i.indexModel.Page-1)*i.indexModel.PageSize+(n+1),""),m.Hb(2),m.Wc(e.RONo?e.RONo:"-"),m.Hb(2),m.Wc(e.NITNo?e.NITNo:"-"),m.Hb(2),m.Xc("",e.NITPurpose," "),m.Hb(2),m.tc("ngForOf",e.TenderMappingList),m.Hb(2),m.Wc(e.ReleaseDate?m.pc(13,11,e.ReleaseDate,i.dateFormat):" -"),m.Hb(3),m.Xc(" ",e.FormIssuingDate?m.pc(16,14,e.FormIssuingDate,i.dateFormat):" -",""),m.Hb(3),m.Wc(e.FormSubmissionDate?m.pc(19,17,e.FormSubmissionDate,i.dateFormat):" -"),m.Hb(3),m.Wc(e.TenderOpeningDate?m.pc(22,20,e.TenderOpeningDate,i.dateFormat):" -"),m.Hb(4),m.tc("ngIf",e.SoftCopyURL)}}function Im(e,t){if(1&e&&(m.ac(0,"div",62),m.ac(1,"table",63),m.ac(2,"thead"),m.ac(3,"tr"),m.ac(4,"th"),m.Vc(5),m.nc(6,"translate"),m.Zb(),m.ac(7,"th"),m.Vc(8),m.nc(9,"translate"),m.Zb(),m.ac(10,"th"),m.Vc(11),m.nc(12,"translate"),m.Zb(),m.ac(13,"th"),m.Vc(14),m.nc(15,"translate"),m.Zb(),m.ac(16,"th"),m.Vc(17),m.nc(18,"translate"),m.Zb(),m.ac(19,"th"),m.Vc(20),m.nc(21,"translate"),m.Zb(),m.ac(22,"th"),m.Vc(23),m.nc(24,"translate"),m.Zb(),m.ac(25,"th"),m.Vc(26),m.nc(27,"translate"),m.Zb(),m.ac(28,"th"),m.Vc(29),m.nc(30,"translate"),m.Zb(),m.Zb(),m.Zb(),m.ac(31,"tbody"),m.Tc(32,Mm,26,25,"tr",64),m.nc(33,"paginate"),m.Zb(),m.Zb(),m.Zb()),2&e){const e=m.mc();m.Hb(5),m.Xc("",m.oc(6,10,"SrNo_txt")," "),m.Hb(3),m.Xc("",m.oc(9,12,"RNNo_txt")," "),m.Hb(3),m.Wc(m.oc(12,14,"NITNo_txt")),m.Hb(3),m.Wc(m.oc(15,16,"NITPurpose_txt")),m.Hb(3),m.Wc(m.oc(18,18,"ReleaseDate_txt")),m.Hb(3),m.Wc(m.oc(21,20,"FormIssuingDate_txt")),m.Hb(3),m.Wc(m.oc(24,22,"FormSubmissionDate_txt")),m.Hb(3),m.Wc(m.oc(27,24,"TenderOpeningDate_txt")),m.Hb(3),m.Wc(m.oc(30,26,"Action_txt")),m.Hb(3),m.tc("ngForOf",m.pc(33,28,e.model,e.pagerConfig))}}function Zm(e,t){1&e&&m.Wb(0,"app-mini-loader")}function Tm(e,t){1&e&&m.Wb(0,"app-no-records",76),2&e&&m.tc("showImage",!0)}function ym(e,t){if(1&e){const e=m.bc();m.Yb(0),m.ac(1,"div",77),m.ac(2,"select",78),m.ic("ngModelChange",(function(t){return m.Mc(e),m.mc().pagesize=t}))("change",(function(t){return m.Mc(e),m.mc().changePageSize(t.target.value)})),m.ac(3,"option",52),m.Vc(4),m.nc(5,"translate"),m.Zb(),m.ac(6,"option",79),m.Vc(7,"12"),m.Zb(),m.ac(8,"option",80),m.Vc(9,"20"),m.Zb(),m.ac(10,"option",81),m.Vc(11,"30"),m.Zb(),m.Zb(),m.ac(12,"pagination-controls",82),m.ic("pageChange",(function(t){return m.Mc(e),m.mc().getNextPageRecord(t)})),m.nc(13,"translate"),m.nc(14,"translate"),m.Zb(),m.Zb(),m.Xb()}if(2&e){const e=m.mc();m.Hb(2),m.tc("ngModel",e.pagesize),m.Hb(1),m.uc("value",e.totalRecords),m.Hb(1),m.Wc(m.oc(5,5,"All_txt")),m.Hb(8),m.uc("previousLabel",m.oc(13,7,"Previous_txt")),m.uc("nextLabel",m.oc(14,9,"Next_txt"))}}const xm=function(e){return{containerClass:"theme-dark-blue",dateInputFormat:e,showWeekNumbers:!1}};let Pm=(()=>{class e{constructor(e,t,n,i){this._DptDistrictWebsiteService=e,this._route=t,this.translate=n,this._commonService=i,this.indexModel=new ha.a,this.totalRecords=0,this.pagerConfig={id:"datapager",itemsPerPage:this.indexModel.PageSize,currentPage:this.indexModel.Page,totalItems:this.totalRecords},this.pagesize="12",this.departmentCode=0,this.dateFormat=d.a.DateFormat,this.isExpired=-1,this.curDate=new Date,this.minimumDate=d.a.MinimumDate,this.DatePickerFormat=d.a.DatePickerFormat,this.submenuCode=0,this._route.params.subscribe(e=>{var t,n,a,c,o;this.pageTitle=void 0,this.isExpired=null!=(t=e.IsExpired)?t:-1,this.cateCode=null!=(n=e.catCode)?n:"0",this.indexModel.CategoryCode=this.cateCode,this.officeCode=null!=(a=e.officeCode)?a:"0",this.indexModel.OfficeCode=this.officeCode,this.departmentCode=null!=(c=e.dptCode)?c:i.GetWebDistDeptCode(),this.departmentCode&&this.GetOfficeWiseTender(),this.submenuCode=null!=(o=e.submenuCode)?o:"0",this.getPageHeading()})}getPageHeading(){this.submenuCode&&this.submenuCode>0&&this.getSubmenuDetail()}getSubmenuDetail(){this._DptDistrictWebsiteService.GetSubmenuDetail(this.submenuCode).subscribe(e=>{if(e.IsSuccess){let t=e.Data;t&&(this.pageTitle=new s.f,this.pageTitle.NameEnglish=t.DisplayNameEnglish,this.pageTitle.NameHindi=t.DisplayNameHindi,this.pageTitle.ImagePath=t.IconImage,this._commonService.SetWebTitle("hi"==this.translate.currentLang?this.pageTitle.NameHindi:this.pageTitle.NameEnglish))}})}ngOnInit(){this.GetDDLList(),this.GetData()}onSearch(){this.GetData()}reset(){this.indexModel=new ha.a,sessionStorage.removeItem("isHistoryBack"),sessionStorage.removeItem("orderFilter"),this.indexModel.CategoryCode=this.cateCode,this.indexModel.OfficeCode=this.officeCode,this.GetData()}GetData(){this.model=void 0,this.indexModel.DepartmentCode=this.departmentCode,this.indexModel.IsExpired=this.isExpired,this.indexModel.OrderByAsc=0,this._DptDistrictWebsiteService.GetAllTendorData(this.indexModel).subscribe(e=>{e.IsSuccess?(this.model=e.Data.Data,this.indexModel.IsPostBack||(this.totalRecords=e.Data.TotalRecords),this._commonService.SetWebTitle("hi"==this.translate.currentLang?"\u091f\u0947\u0902\u0921\u0930 \u0938\u0942\u091a\u0940":"Tender List"),this.updatePageConfig()):this.model=[]},e=>{this.model=[]})}updatePageConfig(){this.pagerConfig={itemsPerPage:this.indexModel.PageSize,currentPage:this.indexModel.Page,totalItems:this.totalRecords}}changePageSize(e){window.scroll(0,0),this.indexModel.IsPostBack=!0,this.indexModel.PageSize=Number(e),this.indexModel.Page=1,this.GetData()}getNextPageRecord(e){window.scroll(0,0),this.indexModel.IsPostBack=!0,this.indexModel.Page=e,this.GetData()}GetDDLList(){this._DptDistrictWebsiteService.GetAllDDL(r.a.DDLKeyForTender).subscribe(e=>{e.IsSuccess&&(this.dDLList=e.Data)},e=>{console.error(e)})}GetOfficeWiseTender(){this._DptDistrictWebsiteService.GetOfficeWiseTenderCounts(this.departmentCode,this.cateCode).subscribe(e=>{this.tenderOrderList=e.IsSuccess?e.Data:[]},e=>{this.tenderOrderList=[],console.log(e)})}}return e.\u0275fac=function(t){return new(t||e)(m.Vb(p.a),m.Vb(h.a),m.Vb(c.d),m.Vb(g.a))},e.\u0275cmp=m.Pb({type:e,selectors:[["app-ddw-tender-list"]],decls:141,vars:136,consts:[["aria-label","breadcrumb",1,"breadcrumb_nav"],[1,"breadcrumb"],[1,"breadcrumb-item"],[3,"routerLink"],["aria-current","page",1,"breadcrumb-item","active"],[4,"ngIf"],[1,"orders_filter"],[1,"container-fluid"],[1,"row","justify-content-center"],[1,"col-xl-3","col-lg-3","col-sm-6","col-12","wow","fadeInUp"],["type","text",1,"form-control",3,"placeholder","ngModel","ngModelChange"],[1,"form-control",3,"disabled","ngModel","ngModelChange"],["value","0"],[3,"value",4,"ngFor","ngForOf"],[1,"col-xl-3","col-lg-3","col-sm-6","col-12","calendar-icon-date","fadeInUp"],["type","text","bsDatepicker","",1,"form-control",3,"placeholder","ngModel","bsConfig","minDate","ngModelChange"],["ReleaseFromDate","bsDatepicker"],[1,"fas","fa-calendar-alt",3,"click"],["ReleaseToDate","bsDatepicker"],[1,"input-group-addon"],[1,"glyphicon","glyphicon-calendar"],["FormIssuingFromDate","bsDatepicker"],["FormIssuingToDate","bsDatepicker"],["FormSubmissionFromDate","bsDatepicker"],["FormSubmissionToDate","bsDatepicker"],[1,"col-lg-2","col-sm-6","col-12"],[1,"btn","btn-success","filter-btn","d-block","w-100",2,"border","none",3,"click"],[1,"fas","fa-search","mr-2"],[1,"btn","btn-danger","filter-btn","d-block","w-100",2,"border","none",3,"click"],[1,"fas","fa-redo-alt","mr-2"],[1,"inner-page","tender-list","py-5"],[1,"container"],[1,"title","text-center"],[1,"img-fluid",2,"max-width","45px",3,"src","title","alt"],[1,"row"],[1,"col-lg-12"],[1,"list-grid-view-btn","text-right","mb-4"],[1,"nav","nav-tabs"],["class","nav-item",4,"ngIf"],[1,"nav-item",2,"display","none"],["id","TenderGrid-tab","data-toggle","tab","href","#TenderGrid",1,"nav-link"],["type","button"],[1,"fas","fa-th"],["id","TenderList-tab","data-toggle","tab","href","#TenderList",1,"nav-link","active"],["type","button",1,"active"],[1,"fas","fa-th-list"],[1,"tab-content","row","w-100","m-0"],["id","TenderGrid",1,"row","tab-pane","fade"],["class","col-lg-4 col-md-4 col-sm-12 mb-3 ",4,"ngFor","ngForOf"],["id","TenderList",1,"col-lg-12","tab-pane","fade","show","active"],["class","table-responsive table-shadow",4,"ngIf"],[3,"showImage",4,"ngIf"],[3,"value"],[1,"nav-item"],["href","javascript:void(0)",1,"btn","btn-round","btn-theme","mr-3",3,"ngClass","routerLink"],[1,"col-lg-4","col-md-4","col-sm-12","mb-3"],[1,"new-d-box-1","d-flex","flex-column",3,"ngClass"],[1,"new-d-box-1-header"],[1,"new-d-box-1-body"],["target","_blank","class","btn btn-warning btn-sm mt-auto mb-1 p-2",3,"href",4,"ngIf"],["target","_blank",1,"btn","btn-warning","btn-sm","mt-auto","mb-1","p-2",3,"href"],[1,"fas","fa-file-pdf"],[1,"table-responsive","table-shadow"],[1,"table","table-striped","table-custom","m-auto","table-tender"],[3,"ngClass",4,"ngFor","ngForOf"],[3,"ngClass"],[1,"tender-list-sub-item"],["class","mb-1",4,"ngFor","ngForOf"],["target","_blank","class","btn btn-danger btn-sm mt-auto mb-1 p-2",3,"href",4,"ngIf"],[1,"mb-1"],[1,"d-flex","justify-content-between"],[1,"mr-10"],["class","p-0 text-dark","style","font-size:20px; position:relative;","target","_blank",3,"href",4,"ngIf"],["target","_blank",1,"p-0","text-dark",2,"font-size","20px","position","relative",3,"href"],[1,"fas","fa-paperclip"],["target","_blank",1,"btn","btn-danger","btn-sm","mt-auto","mb-1","p-2",3,"href"],[3,"showImage"],[1,"new-pagination-outer","p-0","mt-4","justify-content-center","flex-column"],["name","example_length","aria-controls","example",1,"form-control-sm",2,"width","70px",3,"ngModel","ngModelChange","change"],["value","12"],["value","20"],["value","30"],["autoHide","true",1,"text-center","mt-4",3,"previousLabel","nextLabel","pageChange"]],template:function(e,t){if(1&e){const e=m.bc();m.ac(0,"nav",0),m.ac(1,"ol",1),m.ac(2,"li",2),m.ac(3,"a",3),m.Vc(4),m.nc(5,"translate"),m.Zb(),m.Zb(),m.ac(6,"li",4),m.Tc(7,tm,3,3,"span",5),m.Tc(8,nm,3,3,"span",5),m.Tc(9,im,2,1,"span",5),m.Tc(10,am,2,1,"span",5),m.Zb(),m.Zb(),m.Zb(),m.ac(11,"div",6),m.ac(12,"div",7),m.ac(13,"div",8),m.ac(14,"div",9),m.ac(15,"label"),m.Vc(16),m.nc(17,"translate"),m.Zb(),m.ac(18,"input",10),m.ic("ngModelChange",(function(e){return t.indexModel.RONo=e})),m.nc(19,"translate"),m.Zb(),m.Zb(),m.ac(20,"div",9),m.ac(21,"label"),m.Vc(22),m.nc(23,"translate"),m.Zb(),m.ac(24,"input",10),m.ic("ngModelChange",(function(e){return t.indexModel.NITNo=e})),m.nc(25,"translate"),m.Zb(),m.Zb(),m.ac(26,"div",9),m.ac(27,"label"),m.Vc(28),m.nc(29,"translate"),m.Zb(),m.ac(30,"select",11),m.ic("ngModelChange",(function(e){return t.indexModel.OfficeCode=e})),m.ac(31,"option",12),m.Vc(32),m.nc(33,"translate"),m.Zb(),m.Tc(34,cm,2,2,"option",13),m.Zb(),m.Zb(),m.ac(35,"div",14),m.ac(36,"label"),m.Vc(37),m.nc(38,"translate"),m.Zb(),m.ac(39,"input",15,16),m.ic("ngModelChange",(function(e){return t.indexModel.ReleaseFromDate=e})),m.nc(41,"translate"),m.Zb(),m.ac(42,"i",17),m.ic("click",(function(){return m.Mc(e),m.Kc(40).toggle()})),m.Zb(),m.Zb(),m.ac(43,"div",14),m.ac(44,"label"),m.Vc(45),m.nc(46,"translate"),m.Zb(),m.ac(47,"input",15,18),m.ic("ngModelChange",(function(e){return t.indexModel.ReleaseToDate=e})),m.nc(49,"translate"),m.Zb(),m.ac(50,"i",17),m.ic("click",(function(){return m.Mc(e),m.Kc(48).toggle()})),m.Zb(),m.ac(51,"span",19),m.Wb(52,"span",20),m.Zb(),m.Zb(),m.ac(53,"div",14),m.ac(54,"label"),m.Vc(55),m.nc(56,"translate"),m.Zb(),m.ac(57,"input",15,21),m.ic("ngModelChange",(function(e){return t.indexModel.FormIssuingFromDate=e})),m.nc(59,"translate"),m.Zb(),m.ac(60,"i",17),m.ic("click",(function(){return m.Mc(e),m.Kc(58).toggle()})),m.Zb(),m.Zb(),m.ac(61,"div",14),m.ac(62,"label"),m.Vc(63),m.nc(64,"translate"),m.Zb(),m.ac(65,"input",15,22),m.ic("ngModelChange",(function(e){return t.indexModel.FormIssuingToDate=e})),m.nc(67,"translate"),m.Zb(),m.ac(68,"i",17),m.ic("click",(function(){return m.Mc(e),m.Kc(66).toggle()})),m.Zb(),m.ac(69,"span",19),m.Wb(70,"span",20),m.Zb(),m.Zb(),m.ac(71,"div",14),m.ac(72,"label"),m.Vc(73),m.nc(74,"translate"),m.Zb(),m.ac(75,"input",15,23),m.ic("ngModelChange",(function(e){return t.indexModel.FormSubmissionFromDate=e})),m.nc(77,"translate"),m.Zb(),m.ac(78,"i",17),m.ic("click",(function(){return m.Mc(e),m.Kc(76).toggle()})),m.Zb(),m.Zb(),m.ac(79,"div",14),m.ac(80,"label"),m.Vc(81),m.nc(82,"translate"),m.Zb(),m.ac(83,"input",15,24),m.ic("ngModelChange",(function(e){return t.indexModel.FormSubmissionToDate=e})),m.nc(85,"translate"),m.Zb(),m.ac(86,"i",17),m.ic("click",(function(){return m.Mc(e),m.Kc(84).toggle()})),m.Zb(),m.ac(87,"span",19),m.Wb(88,"span",20),m.Zb(),m.Zb(),m.ac(89,"div",9),m.ac(90,"label"),m.Vc(91),m.nc(92,"translate"),m.Zb(),m.ac(93,"input",10),m.ic("ngModelChange",(function(e){return t.indexModel.NITPurpose=e})),m.nc(94,"translate"),m.Zb(),m.Zb(),m.ac(95,"div",25),m.ac(96,"label"),m.Vc(97,"\xa0"),m.Zb(),m.ac(98,"button",26),m.ic("click",(function(){return t.onSearch()})),m.Wb(99,"i",27),m.Vc(100),m.nc(101,"translate"),m.Zb(),m.Zb(),m.ac(102,"div",25),m.ac(103,"label"),m.Vc(104,"\xa0"),m.Zb(),m.ac(105,"button",28),m.ic("click",(function(){return t.reset()})),m.Wb(106,"i",29),m.Vc(107),m.nc(108,"translate"),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.ac(109,"section",30),m.ac(110,"div",31),m.ac(111,"h1",32),m.Wb(112,"img",33),m.nc(113,"translate"),m.nc(114,"translate"),m.Tc(115,om,3,3,"span",5),m.Tc(116,lm,3,3,"span",5),m.Tc(117,rm,2,1,"span",5),m.Tc(118,sm,2,1,"span",5),m.Zb(),m.ac(119,"div",34),m.ac(120,"div",35),m.ac(121,"div",36),m.ac(122,"ul",37),m.Tc(123,hm,5,12,"li",38),m.ac(124,"li",39),m.ac(125,"a",40),m.ac(126,"button",41),m.Wb(127,"i",42),m.Zb(),m.Zb(),m.Zb(),m.ac(128,"li",39),m.ac(129,"a",43),m.ac(130,"button",44),m.Wb(131,"i",45),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.ac(132,"div",46),m.ac(133,"div",47),m.Tc(134,vm,34,37,"div",48),m.nc(135,"paginate"),m.Zb(),m.ac(136,"div",49),m.Tc(137,Im,34,31,"div",50),m.Zb(),m.Zb(),m.Zb(),m.Tc(138,Zm,1,0,"app-mini-loader",5),m.Tc(139,Tm,1,1,"app-no-records",51),m.Tc(140,ym,15,11,"ng-container",5),m.Zb(),m.Zb()}if(2&e){const e=m.Kc(40),n=m.Kc(48),i=m.Kc(58),a=m.Kc(66),c=m.Kc(76),o=m.Kc(84);m.Hb(3),m.uc("routerLink",t._commonService.GetHomePageUrl()),m.Hb(1),m.Wc(m.oc(5,71,"Home_txt")),m.Hb(3),m.tc("ngIf",1!=t.isExpired&&0==t.submenuCode),m.Hb(1),m.tc("ngIf",1==t.isExpired&&0==t.submenuCode),m.Hb(1),m.tc("ngIf",1!=t.isExpired&&t.submenuCode>0),m.Hb(1),m.tc("ngIf",1==t.isExpired&&t.submenuCode>0),m.Hb(6),m.Wc(m.oc(17,73,"RNNo_txt")),m.Hb(2),m.uc("placeholder",m.oc(19,75,"RNNo_txt")),m.tc("ngModel",t.indexModel.RONo),m.Hb(4),m.Wc(m.oc(23,77,"NITNo_txt")),m.Hb(2),m.uc("placeholder",m.oc(25,79,"NITNo_txt")),m.tc("ngModel",t.indexModel.NITNo),m.Hb(4),m.Wc(m.oc(29,81,"Office_txt")),m.Hb(2),m.tc("disabled",t.officeCode>0)("ngModel",t.indexModel.OfficeCode),m.Hb(2),m.Xc("--",m.oc(33,83,"Office_txt"),"--"),m.Hb(2),m.tc("ngForOf",t.tenderOrderList),m.Hb(3),m.Xc("",m.oc(38,85,"ReleaseFromDate_txt")," "),m.Hb(2),m.uc("placeholder",m.oc(41,87,"ReleaseFromDate_txt")),m.tc("ngModel",t.indexModel.ReleaseFromDate)("bsConfig",m.Ec(124,xm,t.DatePickerFormat))("minDate",t.minimumDate),m.Hb(3),m.Ib("aria-expanded",e.isOpen),m.Hb(3),m.Wc(m.oc(46,89,"ReleaseToDate_txt")),m.Hb(2),m.uc("placeholder",m.oc(49,91,"ReleaseToDate_txt")),m.tc("ngModel",t.indexModel.ReleaseToDate)("bsConfig",m.Ec(126,xm,t.DatePickerFormat))("minDate",t.indexModel.ReleaseFromDate?t.indexModel.ReleaseFromDate:t.minimumDate),m.Hb(3),m.Ib("aria-expanded",n.isOpen),m.Hb(5),m.Xc("",m.oc(56,93,"FormIssuingFromDate_txt")," "),m.Hb(2),m.uc("placeholder",m.oc(59,95,"FormIssuingFromDate_txt")),m.tc("ngModel",t.indexModel.FormIssuingFromDate)("bsConfig",m.Ec(128,xm,t.DatePickerFormat))("minDate",t.minimumDate),m.Hb(3),m.Ib("aria-expanded",i.isOpen),m.Hb(3),m.Wc(m.oc(64,97,"FormIssuingToDate_txt")),m.Hb(2),m.uc("placeholder",m.oc(67,99,"FormIssuingToDate_txt")),m.tc("ngModel",t.indexModel.FormIssuingToDate)("bsConfig",m.Ec(130,xm,t.DatePickerFormat))("minDate",t.indexModel.FormIssuingFromDate?t.indexModel.FormIssuingFromDate:t.minimumDate),m.Hb(3),m.Ib("aria-expanded",a.isOpen),m.Hb(5),m.Xc("",m.oc(74,101,"FormSubmissionFromDate_txt")," "),m.Hb(2),m.uc("placeholder",m.oc(77,103,"FormSubmissionFromDate_txt")),m.tc("ngModel",t.indexModel.FormSubmissionFromDate)("bsConfig",m.Ec(132,xm,t.DatePickerFormat))("minDate",t.minimumDate),m.Hb(3),m.Ib("aria-expanded",c.isOpen),m.Hb(3),m.Wc(m.oc(82,105,"FormSubmissionToDate_txt")),m.Hb(2),m.uc("placeholder",m.oc(85,107,"FormSubmissionToDate_txt")),m.tc("ngModel",t.indexModel.FormSubmissionToDate)("bsConfig",m.Ec(134,xm,t.DatePickerFormat))("minDate",t.indexModel.FormSubmissionFromDate?t.indexModel.FormSubmissionFromDate:t.minimumDate),m.Hb(3),m.Ib("aria-expanded",o.isOpen),m.Hb(5),m.Wc(m.oc(92,109,"NITPurpose_txt")),m.Hb(2),m.uc("placeholder",m.oc(94,111,"NITPurpose_txt")),m.tc("ngModel",t.indexModel.NITPurpose),m.Hb(7),m.Xc("",m.oc(101,113,"Search_txt")," "),m.Hb(7),m.Xc(" ",m.oc(108,115,"Reset_txt")," "),m.Hb(5),m.uc("src",(null==t.pageTitle?null:t.pageTitle.ImagePath)||"assets/images/title-category.png",m.Pc),m.uc("title",m.oc(113,117,"Tender_list_txt")),m.uc("alt",m.oc(114,119,"Tender_list_txt")),m.Hb(3),m.tc("ngIf",1!=t.isExpired&&0==t.submenuCode),m.Hb(1),m.tc("ngIf",1==t.isExpired&&0==t.submenuCode),m.Hb(1),m.tc("ngIf",1!=t.isExpired&&t.submenuCode>0),m.Hb(1),m.tc("ngIf",1==t.isExpired&&t.submenuCode>0),m.Hb(5),m.tc("ngIf",-1!=t.isExpired),m.Hb(11),m.tc("ngForOf",m.pc(135,121,t.model,t.pagerConfig)),m.Hb(3),m.tc("ngIf",(null==t.model?null:t.model.length)>0),m.Hb(1),m.tc("ngIf",!t.model),m.Hb(1),m.tc("ngIf",t.model&&0==t.model.length),m.Hb(1),m.tc("ngIf",t.totalRecords>12)}},directives:[h.d,i.n,a.b,a.m,a.p,a.u,a.q,a.w,i.m,Nd.b,Nd.a,i.l,v.a,C.a,f.c],pipes:[c.c,f.b,i.e],styles:[""]}),e})();var Sm=n("lWHn");function _m(e,t){if(1&e&&(m.ac(0,"li",18),m.Vc(1),m.Zb()),2&e){const e=m.mc();m.Hb(1),m.Xc(" ",e.pageTitle.NameEnglish?"en"==e.translate.currentLang?e.pageTitle.NameEnglish:e.pageTitle.NameHindi:null==e.model[0]?null:e.model[0].ContactCategoryName," ")}}function wm(e,t){if(1&e&&(m.Yb(0),m.Vc(1),m.Xb()),2&e){const e=m.mc();m.Hb(1),m.Xc(" ",e.pageTitle.NameEnglish?"en"==e.translate.currentLang?e.pageTitle.NameEnglish:e.pageTitle.NameHindi:e.model[0].ContactCategoryName," ")}}function Lm(e,t){if(1&e&&m.Vc(0),2&e){const e=m.mc();m.Xc(" ",e.pageTitle.NameEnglish?"en"==e.translate.currentLang?e.pageTitle.NameEnglish:e.pageTitle.NameHindi:""," ")}}function Vm(e,t){if(1&e){const e=m.bc();m.ac(0,"div",19),m.ac(1,"div",20),m.ac(2,"input",21),m.ic("ngModelChange",(function(t){return m.Mc(e),m.mc().searchKeyword=t})),m.nc(3,"translate"),m.Zb(),m.ac(4,"div",22),m.ac(5,"button",23),m.ic("click",(function(){return m.Mc(e),m.mc().GetList()})),m.Wb(6,"i",24),m.Zb(),m.Zb(),m.Zb(),m.ac(7,"div",25),m.ac(8,"button",26),m.ic("click",(function(){return m.Mc(e),m.mc().printDepartment("deptreport")})),m.lc(),m.ac(9,"svg",27),m.Wb(10,"path",28),m.Wb(11,"path",29),m.Zb(),m.kc(),m.ac(12,"span"),m.Vc(13),m.nc(14,"translate"),m.Zb(),m.Zb(),m.ac(15,"button",30),m.ic("click",(function(){return m.Mc(e),m.mc().DepartmentontactDetailToExcel()})),m.lc(),m.ac(16,"svg",31),m.Wb(17,"path",32),m.Zb(),m.kc(),m.ac(18,"span"),m.Vc(19),m.nc(20,"translate"),m.Zb(),m.Zb(),m.Zb(),m.Zb()}if(2&e){const e=m.mc();m.Hb(2),m.uc("placeholder",m.oc(3,4,"Search_txt")),m.tc("ngModel",e.searchKeyword),m.Hb(11),m.Xc(" ",m.oc(14,6,"Print_txt"),""),m.Hb(6),m.Xc(" ",m.oc(20,8,"excel_txt"),"")}}function km(e,t){1&e&&(m.ac(0,"th"),m.Vc(1),m.nc(2,"translate"),m.Zb()),2&e&&(m.Hb(1),m.Wc(m.oc(2,1,"Phone_txt")))}function Nm(e,t){1&e&&(m.ac(0,"th"),m.Vc(1),m.nc(2,"translate"),m.Zb()),2&e&&(m.Hb(1),m.Wc(m.oc(2,1,"Email_txt")))}function Om(e,t){1&e&&(m.ac(0,"th"),m.Vc(1),m.nc(2,"translate"),m.Zb()),2&e&&(m.Hb(1),m.Wc(m.oc(2,1,"Image_txt")))}function Am(e,t){if(1&e&&(m.ac(0,"td"),m.ac(1,"a",41),m.Vc(2),m.Zb(),m.Zb()),2&e){const e=m.mc().$implicit;m.Hb(1),m.vc("href","tel:",e.MobileNo,"",m.Pc),m.Hb(1),m.Xc(" ",e.MobileNo," ")}}function Wm(e,t){if(1&e&&(m.ac(0,"td"),m.ac(1,"a",41),m.Vc(2),m.Zb(),m.Zb()),2&e){const e=m.mc().$implicit;m.Hb(1),m.vc("href","mailto:",e.Email,"",m.Pc),m.Hb(1),m.Xc(" ",e.Email," ")}}function Em(e,t){if(1&e){const e=m.bc();m.ac(0,"img",44),m.ic("error",(function(t){return m.Mc(e),m.mc(5)._commonService.onImageError(t,"assets/images/loader.gif")})),m.Zb()}if(2&e){const e=m.mc(2).$implicit,t=m.mc(3);m.uc("title","en"==t.translate.currentLang?t.pageTitle.NameEnglish:t.pageTitle.NameHindi),m.uc("alt","en"==t.translate.currentLang?t.pageTitle.NameEnglish:t.pageTitle.NameHindi),m.tc("src",t.sanitizeImageUrl(e.ImagePath),m.Pc)}}function Gm(e,t){1&e&&m.Wb(0,"div",45)}function Fm(e,t){if(1&e&&(m.ac(0,"td"),m.Tc(1,Em,1,3,"img",42),m.Tc(2,Gm,1,0,"div",43),m.Zb()),2&e){const e=m.mc().$implicit;m.Hb(1),m.tc("ngIf",e.ImagePath),m.Hb(1),m.tc("ngIf",!e.ImagePath)}}function Rm(e,t){if(1&e&&(m.ac(0,"a",46),m.Wb(1,"i",47),m.nc(2,"translate"),m.Zb()),2&e){const e=m.mc().$implicit;m.uc("href",e.AttachmentUrl,m.Pc),m.Hb(1),m.uc("title",m.oc(2,2,"View_txt"))}}function Xm(e,t){if(1&e&&(m.Yb(0),m.ac(1,"tr"),m.ac(2,"td"),m.Vc(3),m.Zb(),m.ac(4,"td"),m.Vc(5),m.Zb(),m.ac(6,"td"),m.Vc(7),m.Zb(),m.ac(8,"td"),m.Vc(9),m.Zb(),m.ac(10,"td"),m.Vc(11),m.Zb(),m.ac(12,"td"),m.Vc(13),m.Zb(),m.ac(14,"td"),m.Vc(15),m.Zb(),m.ac(16,"td"),m.Vc(17),m.Zb(),m.Tc(18,Am,3,2,"td",15),m.Tc(19,Wm,3,2,"td",15),m.Tc(20,Fm,3,2,"td",15),m.ac(21,"td"),m.Vc(22," \xa0 "),m.Tc(23,Rm,3,4,"a",40),m.Zb(),m.Zb(),m.Xb()),2&e){const e=t.$implicit,n=t.index,i=m.mc(3);m.Hb(3),m.Xc(" ",(i.indexModel.Page-1)*i.indexModel.PageSize+(n+1)," "),m.Hb(2),m.Xc(" ","en"==i.translate.currentLang?e.OfficerName:e.OfficerNameInHindi," "),m.Hb(2),m.Xc(" ","en"==i.translate.currentLang?e.DesignationName:"NULL"==e.DesignationNameHindi?"--":e.DesignationNameHindi," "),m.Hb(2),m.Xc(" ","en"==i.translate.currentLang?null==e.Office?"--":e.Office:null==e.OfficeHindi?"--":e.OfficeHindi," "),m.Hb(2),m.Xc(" ",null==e.AreaSpecialization?"--":e.AreaSpecialization," "),m.Hb(2),m.Xc(" ",null==e.Qualification?"--":e.Qualification," "),m.Hb(2),m.Xc(" ",null==e.ContactCategoryName?"--":e.ContactCategoryName," "),m.Hb(2),m.Yc(" ","en"==i.translate.currentLang?e.Place:e.PlaceInHindi," ","en"==i.translate.currentLang?e.Address:e.AddressInHindi," "),m.Hb(1),m.tc("ngIf",i.isMobileExist),m.Hb(1),m.tc("ngIf",i.isEmailExist),m.Hb(1),m.tc("ngIf",!i.IsCodeOfConduct),m.Hb(3),m.tc("ngIf",null==e?null:e.AttachmentUrl)}}function Bm(e,t){if(1&e&&(m.ac(0,"div",36),m.ac(1,"table",37),m.ac(2,"thead"),m.ac(3,"tr"),m.ac(4,"th",38),m.Vc(5),m.nc(6,"translate"),m.Zb(),m.ac(7,"th"),m.Vc(8),m.nc(9,"translate"),m.Zb(),m.ac(10,"th"),m.Vc(11),m.nc(12,"translate"),m.Zb(),m.ac(13,"th"),m.Vc(14),m.nc(15,"translate"),m.Zb(),m.ac(16,"th"),m.Vc(17),m.nc(18,"translate"),m.Zb(),m.ac(19,"th"),m.Vc(20),m.nc(21,"translate"),m.Zb(),m.ac(22,"th"),m.Vc(23),m.nc(24,"translate"),m.Zb(),m.ac(25,"th"),m.Vc(26),m.nc(27,"translate"),m.Zb(),m.Tc(28,km,3,3,"th",15),m.Tc(29,Nm,3,3,"th",15),m.Tc(30,Om,3,3,"th",15),m.ac(31,"th"),m.Vc(32),m.nc(33,"translate"),m.Zb(),m.Zb(),m.Zb(),m.ac(34,"tbody"),m.Tc(35,Xm,24,13,"ng-container",39),m.nc(36,"paginate"),m.Zb(),m.Zb(),m.Zb()),2&e){const e=m.mc(2);m.Hb(5),m.Wc(m.oc(6,13,"SNo_txt")),m.Hb(3),m.Wc(m.oc(9,15,"OfficerName_txt")),m.Hb(3),m.Wc(m.oc(12,17,"Designation")),m.Hb(3),m.Wc(m.oc(15,19,"Office_txt")),m.Hb(3),m.Wc(m.oc(18,21,"AreaOfSpecialization_txt")),m.Hb(3),m.Wc(m.oc(21,23,"Qualification_txt")),m.Hb(3),m.Wc(m.oc(24,25,"ContactCategoryName_txt")),m.Hb(3),m.Wc(m.oc(27,27,"PlaceAddress_txt")),m.Hb(2),m.tc("ngIf",e.isMobileExist),m.Hb(1),m.tc("ngIf",e.isEmailExist),m.Hb(1),m.tc("ngIf",!e.IsCodeOfConduct),m.Hb(2),m.Wc(m.oc(33,29,"Attachment_txt")),m.Hb(3),m.tc("ngForOf",m.pc(36,31,e.model,e.pagerConfig))}}function Um(e,t){if(1&e&&(m.ac(0,"div",48),m.ac(1,"a",49),m.Wb(2,"i",50),m.Vc(3),m.nc(4,"translate"),m.Zb(),m.Wb(5,"iframe",51),m.Zb()),2&e){const e=m.mc(2);m.Hb(1),m.tc("href",e.safeURL,m.Pc),m.Hb(2),m.Wc(m.oc(4,3,"Downloads_txt")),m.Hb(2),m.tc("src",e.safeURL,m.Oc)}}function zm(e,t){if(1&e&&(m.ac(0,"div",33),m.Tc(1,Bm,37,34,"div",34),m.Tc(2,Um,6,5,"div",35),m.Zb()),2&e){const e=m.mc();m.Hb(1),m.tc("ngIf",e.IsData),m.Hb(1),m.tc("ngIf",e.IsPDF&&(null==e.model[0]?null:e.model[0].AttachmentUrl))}}function jm(e,t){1&e&&m.Wb(0,"app-mini-loader")}function $m(e,t){1&e&&m.Wb(0,"app-no-records",52),2&e&&m.tc("showImage",!0)}function Ym(e,t){1&e&&(m.ac(0,"option",61),m.Vc(1,"10"),m.Zb())}function qm(e,t){1&e&&(m.ac(0,"option",62),m.Vc(1,"25"),m.Zb())}function Jm(e,t){1&e&&(m.ac(0,"option",63),m.Vc(1,"50"),m.Zb())}function Km(e,t){1&e&&(m.ac(0,"option",64),m.Vc(1,"100"),m.Zb())}function Qm(e,t){if(1&e){const e=m.bc();m.ac(0,"div",53),m.ac(1,"div",53),m.ac(2,"select",54),m.ic("change",(function(t){return m.Mc(e),m.mc().changePageSize(t.target.value)})),m.ac(3,"option",55),m.Vc(4),m.nc(5,"translate"),m.Zb(),m.Tc(6,Ym,2,0,"option",56),m.Tc(7,qm,2,0,"option",57),m.Tc(8,Jm,2,0,"option",58),m.Tc(9,Km,2,0,"option",59),m.Zb(),m.ac(10,"pagination-controls",60),m.ic("pageChange",(function(t){return m.Mc(e),m.mc().getNextPageRecord(t)})),m.nc(11,"translate"),m.nc(12,"translate"),m.Zb(),m.Zb(),m.Zb()}if(2&e){const e=m.mc();m.Hb(3),m.uc("value",e.totalRecords),m.Hb(1),m.Xc(" ",m.oc(5,9,"All_txt")," "),m.Hb(2),m.tc("ngIf",e.totalRecords>10),m.Hb(1),m.tc("ngIf",e.totalRecords>25),m.Hb(1),m.tc("ngIf",e.totalRecords>50),m.Hb(1),m.tc("ngIf",e.totalRecords>100),m.Hb(1),m.uc("previousLabel",m.oc(11,11,"Previous_txt")),m.uc("maxSize",e.totalRecords),m.uc("nextLabel",m.oc(12,13,"Next_txt"))}}let eu=(()=>{class e{constructor(e,t,n,i,a,c){this._dptDistrictWebsiteService=e,this.translate=t,this.sanitizer=n,this._titleService=i,this.route=a,this._commonService=c,this.departmentCode=0,this.catCode=0,this.indexModel=new s.d,this.totalRecords=0,this.pagerConfig={id:"datapager",itemsPerPage:this.indexModel.PageSize,currentPage:this.indexModel.Page,totalItems:this.totalRecords},this.pageTitle=new s.f,this.deptcode=0,this.IsLoading=!0,this.isMobileExist=!1,this.isEmailExist=!1,this.searchKeyword="",this.submenuCode=0,this.IsCodeOfConduct=!0,this.IsCodeOfConduct=this._commonService.IsCodeOfConduct()}ngOnInit(){this.route.paramMap.subscribe(e=>{var t,n,i,a,c,o;this.indexModel=new s.d,this.indexModel.IsPostBack=!0,this.indexModel.PageSize=101,this.indexModel.OrderBy="DisplayOrderNo";let l=null===(i=null===(n=null===(t=this.route)||void 0===t?void 0:t.snapshot)||void 0===n?void 0:n.params)||void 0===i?void 0:i.submenuCode;this.submenuCode=Number(l||0);let r=null===(o=null===(c=null===(a=this.route)||void 0===a?void 0:a.snapshot)||void 0===c?void 0:c.params)||void 0===o?void 0:o.dptCode;this.departmentCode=r?Number(r):this._commonService.GetWebDistDeptCode(),this.route.snapshot.params.catCode&&(this.catCode=Number(this.route.snapshot.params.catCode)),this.getPageHeading(),this.GetList()})}getPageHeading(){this.submenuCode&&this.submenuCode>0?this.getSubmenuDetail():this.catCode&&this.catCode>0&&this.GetDepartmentontactCategoryDetail()}getSubmenuDetail(){this._dptDistrictWebsiteService.GetSubmenuDetail(this.submenuCode).subscribe(e=>{if(e.IsSuccess){let t=e.Data;t&&(this.pageTitle.NameEnglish=t.DisplayNameEnglish,this.pageTitle.NameHindi=t.DisplayNameHindi,this.pageTitle.ImagePath=t.IconImage,this._commonService.SetWebTitle("hi"==this.translate.currentLang?this.pageTitle.NameHindi:this.pageTitle.NameEnglish))}},e=>{})}GetList(){this.IsLoading=!0,this.model=void 0,this.indexModel.Search="",this.indexModel.OrderByAsc=1,this.indexModel.AdvanceSearchModel={DepartmentCode:this.departmentCode,CategoryCode:this.catCode,SearchKeyword:this.searchKeyword.trim()},this._dptDistrictWebsiteService.GetDepartmentontactDetail(this.indexModel).subscribe(e=>{var t,n,i;e.IsSuccess?(this.model=e.Data.Data,this.model.length>0&&(this.IsData=null===(t=this.model[0])||void 0===t?void 0:t.IsData,this.IsPDF=null===(n=this.model[0])||void 0===n?void 0:n.IsPDF,this.IsURL=null===(i=this.model[0])||void 0===i?void 0:i.IsURL,this.IsPDF?this.safeURL=this.sanitizer.bypassSecurityTrustResourceUrl(this.model[0].AttachmentUrl):this.IsURL?(setTimeout(()=>{window.history.back()},100),window.open(this.model[0].URL,"_blank")):(this.model.find(e=>e.MobileNo)&&(this.isMobileExist=!0),this.model.find(e=>e.Email)&&(this.isEmailExist=!0))),this.indexModel.IsPostBack||(this.totalRecords=e.Data.TotalRecords),this.updatePageConfig()):this.model=[],this.IsLoading=!1},e=>{this.model=[]})}sanitizeImageUrl(e){return this.sanitizer.bypassSecurityTrustUrl(e)}getNextPageRecord(e){window.scroll(0,0),this.indexModel.IsPostBack=!0,this.indexModel.Page=e,this.GetList()}changePageSize(e){window.scroll(0,0),this.indexModel.IsPostBack=!0,this.indexModel.PageSize=Number(e),this.indexModel.Page=1,this.GetList()}updatePageConfig(){this.pagerConfig={itemsPerPage:this.indexModel.PageSize,currentPage:this.indexModel.Page,totalItems:this.totalRecords}}GetDepartmentontactCategoryDetail(){this._dptDistrictWebsiteService.GetDepartmentontactCategoryDetail(this.catCode).subscribe(e=>{if(e.IsSuccess){let t=e.Data;t&&(this.pageTitle.NameEnglish=t.Lookup,this.pageTitle.NameHindi=t.NameHindi,this._commonService.SetWebTitle("hi"==this.translate.currentLang?this.pageTitle.NameHindi:this.pageTitle.NameEnglish))}},e=>{})}reset(){this.searchKeyword="",this.indexModel=new s.d,this.GetList()}printDepartment(e){let t,n;t=document.getElementById(e).outerHTML,n=window.open(" ","","top=0,left=0,height=100%,width=100%"),n.document.open(),n.document.write(`\n \n \n ${this.pageTitle.NameEnglish}\n \n \n ${t}\n `),n.document.close()}DepartmentontactDetailToExcel(){this._dptDistrictWebsiteService.GetAllDepartmentontactDetailToExcel(this.indexModel,"en"==this.translate.currentLang).subscribe(e=>{if(e.IsSuccess){const t=e.Data,n=document.createElement("a"),i="hi"==this.translate.currentLang?this.pageTitle.NameHindi:this.pageTitle.NameEnglish;n.href=t,n.download=i,n.target="blank",n.click()}},e=>{console.log(e)})}}return e.\u0275fac=function(t){return new(t||e)(m.Vb(p.a),m.Vb(c.d),m.Vb(b.b),m.Vb(b.d),m.Vb(h.a),m.Vb(g.a))},e.\u0275cmp=m.Pb({type:e,selectors:[["app-ddw-department-contact-detail"]],decls:22,vars:15,consts:[["aria-label","breadcrumb",1,"breadcrumb_nav"],[1,"breadcrumb"],[1,"breadcrumb-item"],[3,"routerLink"],["class","breadcrumb-item active","aria-current","page",4,"ngIf"],[1,"inner-page","pt-0"],[1,"container","p-4"],[1,"row"],[1,"col-xl-12","col-lg-12","mb-12"],[1,"title","text-center"],[1,"img-fluid","mr-10",2,"max-width","45px",3,"src","title","alt"],[4,"ngIf","ngIfElse"],["default",""],["class","row mb-5 scheme_search align-items-center",4,"ngIf"],["id","deptreport","class","col-lg-12",4,"ngIf"],[4,"ngIf"],[3,"showImage",4,"ngIf"],["class","new-pagination-outer",4,"ngIf"],["aria-current","page",1,"breadcrumb-item","active"],[1,"row","mb-5","scheme_search","align-items-center"],[1,"input-group","col-md-5"],["type","search","aria-label","Search",1,"form-control",3,"ngModel","placeholder","ngModelChange"],[1,"input-group-append"],[1,"btn",3,"click"],[1,"fas","fa-search"],[1,"col-xl-6","text-right","svg-btns"],["type","button",1,"text-danger",2,"border-color","#dc3545",3,"click"],["xmlns","http://www.w3.org/2000/svg","width","25","height","25","fill","#dc3545","viewBox","0 0 16 16",1,"bi","bi-printer"],["d","M2.5 8a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1z"],["d","M5 1a2 2 0 0 0-2 2v2H2a2 2 0 0 0-2 2v3a2 2 0 0 0 2 2h1v1a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2v-1h1a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2h-1V3a2 2 0 0 0-2-2H5zM4 3a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v2H4V3zm1 5a2 2 0 0 0-2 2v1H2a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v3a1 1 0 0 1-1 1h-1v-1a2 2 0 0 0-2-2H5zm7 2v3a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1v-3a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1z"],[1,"text-primary",3,"click"],["xmlns","http://www.w3.org/2000/svg","width","25","height","25","fill","currentColor","viewBox","0 0 16 16",1,"bi","bi-filetype-xlsx"],["fill-rule","evenodd","d","M14 4.5V11h-1V4.5h-2A1.5 1.5 0 0 1 9.5 3V1H4a1 1 0 0 0-1 1v9H2V2a2 2 0 0 1 2-2h5.5L14 4.5ZM7.86 14.841a1.13 1.13 0 0 0 .401.823c.13.108.29.192.479.252.19.061.411.091.665.091.338 0 .624-.053.858-.158.237-.105.416-.252.54-.44a1.17 1.17 0 0 0 .187-.656c0-.224-.045-.41-.135-.56a1.002 1.002 0 0 0-.375-.357 2.028 2.028 0 0 0-.565-.21l-.621-.144a.97.97 0 0 1-.405-.176.37.37 0 0 1-.143-.299c0-.156.061-.284.184-.384.125-.101.296-.152.513-.152.143 0 .266.023.37.068a.624.624 0 0 1 .245.181.56.56 0 0 1 .12.258h.75a1.093 1.093 0 0 0-.199-.566 1.21 1.21 0 0 0-.5-.41 1.813 1.813 0 0 0-.78-.152c-.293 0-.552.05-.777.15-.224.099-.4.24-.527.421-.127.182-.19.395-.19.639 0 .201.04.376.123.524.082.149.199.27.351.367.153.095.332.167.54.213l.618.144c.207.049.36.113.462.193a.387.387 0 0 1 .153.326.512.512 0 0 1-.085.29.558.558 0 0 1-.255.193c-.111.047-.25.07-.413.07-.117 0-.224-.013-.32-.04a.837.837 0 0 1-.249-.115.578.578 0 0 1-.255-.384h-.764Zm-3.726-2.909h.893l-1.274 2.007 1.254 1.992h-.908l-.85-1.415h-.035l-.853 1.415H1.5l1.24-2.016-1.228-1.983h.931l.832 1.438h.036l.823-1.438Zm1.923 3.325h1.697v.674H5.266v-3.999h.791v3.325Zm7.636-3.325h.893l-1.274 2.007 1.254 1.992h-.908l-.85-1.415h-.035l-.853 1.415h-.861l1.24-2.016-1.228-1.983h.931l.832 1.438h.036l.823-1.438Z"],["id","deptreport",1,"col-lg-12"],["class","table-responsive",4,"ngIf"],["style","width: 100%; text-align: center",4,"ngIf"],[1,"table-responsive"],["border","0",1,"table","table-striped","table-bordered","table-new-design"],[2,"width","30px"],[4,"ngFor","ngForOf"],["target","_blank","class","text-blue mr-2 fa-2x",3,"href",4,"ngIf"],[3,"href"],["class","img-fluid","width","100px","style","height: auto; max-height: 100px",3,"src","title","alt","error",4,"ngIf"],["width","100px","height","10px",4,"ngIf"],["width","100px",1,"img-fluid",2,"height","auto","max-height","100px",3,"src","title","alt","error"],["width","100px","height","10px"],["target","_blank",1,"text-blue","mr-2","fa-2x",3,"href"],[1,"fas","fa-file-pdf",3,"title"],[2,"width","100%","text-align","center"],["target","_blank",1,"btn","btn-round","btn-theme","btn-yellow","d-block","d-sm-none","py-2","btn-lg",3,"href"],[1,"fas","fa-file-pdf","mr-2"],[1,"pdf-Viewer","d-none","d-sm-block",3,"src"],[3,"showImage"],[1,"new-pagination-outer"],["name","example_length","aria-controls","example",1,"form-control-sm",2,"width","70px",3,"change"],[3,"value"],["selected","","value","10",4,"ngIf"],["value","25",4,"ngIf"],["value","50",4,"ngIf"],["value","100",4,"ngIf"],["autoHide","true",1,"w-100","text-center","mt-4",3,"previousLabel","maxSize","nextLabel","pageChange"],["selected","","value","10"],["value","25"],["value","50"],["value","100"]],template:function(e,t){if(1&e&&(m.ac(0,"nav",0),m.ac(1,"ol",1),m.ac(2,"li",2),m.ac(3,"a",3),m.Vc(4),m.nc(5,"translate"),m.Zb(),m.Zb(),m.Tc(6,_m,2,1,"li",4),m.Zb(),m.Zb(),m.ac(7,"section",5),m.ac(8,"div",6),m.ac(9,"div",7),m.ac(10,"div",8),m.ac(11,"h1",9),m.Wb(12,"img",10),m.Tc(13,wm,2,1,"ng-container",11),m.Tc(14,Lm,1,1,"ng-template",null,12,m.Uc),m.Zb(),m.Tc(16,Vm,21,10,"div",13),m.Zb(),m.Zb(),m.ac(17,"div",7),m.Tc(18,zm,3,2,"div",14),m.Tc(19,jm,1,0,"app-mini-loader",15),m.Tc(20,$m,1,1,"app-no-records",16),m.Tc(21,Qm,13,15,"div",17),m.Zb(),m.Zb(),m.Zb()),2&e){const e=m.Kc(15);m.Hb(3),m.uc("routerLink",t._commonService.GetHomePageUrl()),m.Hb(1),m.Wc(m.oc(5,13,"Home_txt")),m.Hb(2),m.tc("ngIf",t.model),m.Hb(6),m.uc("src",(null==t.pageTitle?null:t.pageTitle.ImagePath)||"assets/images/cm-letter.png",m.Pc),m.uc("title",t.pageTitle?"hi"!=t.translate.currentLang?null==t.pageTitle?null:t.pageTitle.NameEnglish:null==t.pageTitle?null:t.pageTitle.NameHindi:null==t.model[0]?null:t.model[0].ContactCategoryName),m.uc("alt",t.pageTitle?"hi"!=t.translate.currentLang?null==t.pageTitle?null:t.pageTitle.NameEnglish:null==t.pageTitle?null:t.pageTitle.NameHindi:null==t.model[0]?null:t.model[0].ContactCategoryName),m.Hb(1),m.tc("ngIf",t.model)("ngIfElse",e),m.Hb(3),m.tc("ngIf",t.IsData),m.Hb(2),m.tc("ngIf",(null==t.model?null:t.model.length)>0),m.Hb(1),m.tc("ngIf",!t.model),m.Hb(1),m.tc("ngIf",t.model&&0==t.model.length),m.Hb(1),m.tc("ngIf",!t.IsPDF&&t.totalRecords>10)}},directives:[h.d,i.n,a.b,a.m,a.p,i.m,v.a,C.a,a.q,a.w,f.c],pipes:[c.c,f.b],styles:[""]}),e})();var tu=n("5TL6");function nu(e,t){if(1&e&&(m.ac(0,"span"),m.Vc(1),m.Zb()),2&e){const e=m.mc();m.Hb(1),m.Wc("hi"!=e.translate.currentLang?null==e.pageTitle?null:e.pageTitle.NameEnglish:null==e.pageTitle?null:e.pageTitle.NameHindi)}}function iu(e,t){1&e&&(m.ac(0,"span"),m.Vc(1),m.nc(2,"translate"),m.Zb()),2&e&&(m.Hb(1),m.Xc(" ",m.oc(2,1,"Inauguration_txt"),""))}function au(e,t){if(1&e&&(m.ac(0,"span"),m.Vc(1),m.Zb()),2&e){const e=m.mc();m.Hb(1),m.Wc("hi"!=e.translate.currentLang?null==e.pageTitle?null:e.pageTitle.NameEnglish:null==e.pageTitle?null:e.pageTitle.NameHindi)}}function cu(e,t){1&e&&(m.ac(0,"span"),m.Vc(1),m.nc(2,"translate"),m.Zb()),2&e&&(m.Hb(1),m.Xc(" ",m.oc(2,1,"Inauguration_txt"),""))}function ou(e,t){if(1&e){const e=m.bc();m.ac(0,"div",21),m.ac(1,"img",22),m.ic("error",(function(t){return m.Mc(e),m.mc(3)._commonService.onImageError(t,"assets/images/website/dpt-Inaugration.png")})),m.Zb(),m.Zb()}if(2&e){const e=m.mc().$implicit;m.Hb(1),m.uc("src",null==e?null:e.HomePageImageUrl,m.Pc),m.uc("title",null==e?null:e.Description),m.uc("alt",null==e?null:e.Description)}}function lu(e,t){if(1&e&&(m.ac(0,"div",16),m.ac(1,"a",17),m.ac(2,"div",18),m.Vc(3),m.nc(4,"date"),m.Zb(),m.Tc(5,ou,2,3,"div",19),m.ac(6,"div",20),m.Vc(7),m.Zb(),m.Zb(),m.Zb()),2&e){const e=t.$implicit,n=m.mc(2);m.Hb(1),m.vc("routerLink","/home/press-release/",null==e?null:e.Id,""),m.Hb(2),m.Xc(" ","hi"==n.translate.currentLang?null==e?null:e.PressReleaseDateHindi:m.pc(4,4,null==e?null:e.PressreleaseDate,"d MMM, y")," "),m.Hb(2),m.tc("ngIf",!n.isCodeOfConduct),m.Hb(2),m.Xc(" ",null==e?null:e.Description," ")}}function ru(e,t){1&e&&(m.ac(0,"option",31),m.Vc(1,"25"),m.Zb())}function su(e,t){1&e&&(m.ac(0,"option",32),m.Vc(1,"50"),m.Zb())}function du(e,t){1&e&&(m.ac(0,"option",33),m.Vc(1,"100"),m.Zb())}function mu(e,t){if(1&e){const e=m.bc();m.ac(0,"div",23),m.ac(1,"select",24),m.ic("change",(function(t){return m.Mc(e),m.mc(2).changePageSize(t.target.value)})),m.ac(2,"option",25),m.Vc(3),m.nc(4,"translate"),m.Zb(),m.ac(5,"option",26),m.Vc(6,"15"),m.Zb(),m.Tc(7,ru,2,0,"option",27),m.Tc(8,su,2,0,"option",28),m.Tc(9,du,2,0,"option",29),m.Zb(),m.ac(10,"pagination-controls",30),m.ic("pageChange",(function(t){return m.Mc(e),m.mc(2).getNextPageRecord(t)})),m.nc(11,"translate"),m.nc(12,"translate"),m.Zb(),m.Zb()}if(2&e){const e=m.mc(2);m.Hb(2),m.uc("value",e.totalRecords),m.Hb(1),m.Wc(m.oc(4,7,"All_txt")),m.Hb(4),m.tc("ngIf",e.totalRecords>15),m.Hb(1),m.tc("ngIf",e.totalRecords>25),m.Hb(1),m.tc("ngIf",e.totalRecords>50),m.Hb(1),m.uc("previousLabel",m.oc(11,9,"Previous_txt")),m.uc("nextLabel",m.oc(12,11,"Next_txt"))}}function uu(e,t){if(1&e&&(m.ac(0,"div",13),m.Tc(1,lu,8,7,"div",14),m.nc(2,"paginate"),m.Tc(3,mu,13,13,"div",15),m.Zb()),2&e){const e=m.mc();m.Hb(1),m.tc("ngForOf",m.pc(2,2,e.generalModel,e.pagerConfig)),m.Hb(2),m.tc("ngIf",e.totalRecords>15)}}function bu(e,t){1&e&&m.Wb(0,"app-mini-loader")}function gu(e,t){1&e&&m.Wb(0,"app-no-records",34),2&e&&m.tc("showImage",!0)}let hu=(()=>{class e{constructor(e,t,n,i,a,c,o){this.translate=e,this.sanitizer=t,this.route=n,this._app=i,this._route=a,this._commonService=c,this._dptDistrictWebsiteService=o,this.departmentCode=0,this.totalRecords=0,this.enumdata=vi.d,this.DateFormat=d.a.DateFormat,this.filterModel=new ha.f,this.pressreleaseIndexModel=new s.d,this.submenuCode=0,this.isCodeOfConduct=!0,this._commonService.SetWebTitle("hi"==e.currentLang?"\u0932\u094b\u0915\u093e\u0930\u094d\u092a\u0923":"Inauguration"),this._route.paramMap.subscribe(e=>{this.pageTitle=void 0;let t=e.get("dptCode");localStorage.getItem("websiteCode")?this.departmentCode=Number(localStorage.getItem("websiteCode")):t&&(this.departmentCode=Number(t),localStorage.setItem("websiteCode",t));let n=e.get("submenuCode");this.submenuCode=Number(n||0),this.filterModel.PageSize=15,this.filterModel.OrderByAsc=0,this.filterModel.OrderBy="PressreleaseDate",this.pagerConfig={id:"inaugurations-list",itemsPerPage:this.filterModel.PageSize,currentPage:this.filterModel.Page,totalItems:this.totalRecords},this.isCodeOfConduct=this._commonService.IsCodeOfConduct(),this.getPageHeading(),this.GetInaugurationData()})}ngOnInit(){}getPageHeading(){this.submenuCode>0&&this.getSubmenuDetail()}getSubmenuDetail(){this._dptDistrictWebsiteService.GetSubmenuDetail(this.submenuCode).subscribe(e=>{if(e.IsSuccess){let t=e.Data;t&&(this.pageTitle=new s.f,this.pageTitle.NameEnglish=t.DisplayNameEnglish,this.pageTitle.NameHindi=t.DisplayNameHindi,this.pageTitle.ImagePath=t.IconImage,this._commonService.SetWebTitle("hi"==this.translate.currentLang?this.pageTitle.NameHindi:this.pageTitle.NameEnglish))}},e=>{})}GetInaugurationData(){this.generalModel=void 0,this.filterModel.SubCategoryCode=0,this.filterModel.IsLokarpanInauguration=!0,this.filterModel.DepartmentCode=this.departmentCode,this._dptDistrictWebsiteService.GetDptInAugrationLink(this.filterModel).subscribe(e=>{e.IsSuccess?(this.generalModel=[],this.generalModel=e.Data.Data,this.totalRecords=e.Data.TotalRecords,this.updatePageConfig()):this.generalModel=[]},e=>{this.generalModel=[],console.error(e)})}getNextPageRecord(e){this.filterModel.IsPostBack=!0,this.filterModel.Page=e,this.GetInaugurationData()}changePageSize(e){this.filterModel.IsPostBack=!0,this.filterModel.PageSize=Number(e),this.filterModel.Page=1,this.GetInaugurationData()}updatePageConfig(){this.pagerConfig.itemsPerPage=this.filterModel.PageSize,this.pagerConfig.currentPage=this.filterModel.Page,this.pagerConfig.totalItems=this.totalRecords}sanitizeImageUrl(e){return this.sanitizer.bypassSecurityTrustUrl(e)}}return e.\u0275fac=function(t){return new(t||e)(m.Vb(c.d),m.Vb(b.b),m.Vb(h.b),m.Vb(Qe.a),m.Vb(h.a),m.Vb(g.a),m.Vb(p.a))},e.\u0275cmp=m.Pb({type:e,selectors:[["app-ddw-inauguration-list"]],decls:21,vars:18,consts:[["aria-label","breadcrumb",1,"breadcrumb_nav"],[1,"breadcrumb"],[1,"breadcrumb-item"],[3,"routerLink"],["aria-current","page",1,"breadcrumb-item","active"],[4,"ngIf"],[1,"inner-page","press-release-list-page","py-5"],[1,"container"],[1,"row"],[1,"title","text-center"],[1,"mr-10",3,"src","title","alt"],["class","row justify-content-center",4,"ngIf"],[3,"showImage",4,"ngIf"],[1,"row","justify-content-center"],["class","col-lg-4 col-md-6 col-sm-12 mb-5 mb-lg-5",4,"ngFor","ngForOf"],["class","new-pagination-outer",4,"ngIf"],[1,"col-lg-4","col-md-6","col-sm-12","mb-5","mb-lg-5"],[1,"home-inauguration-items","custom-card","position-relative","d-block",3,"routerLink"],[1,"home-inauguration-items-date"],["class","home-inauguration-items-img d-flex align-items-center justify-content-center",4,"ngIf"],[1,"home-inauguration-items-info","d-block"],[1,"home-inauguration-items-img","d-flex","align-items-center","justify-content-center"],[3,"src","title","alt","error"],[1,"new-pagination-outer"],["name","example_length","aria-controls","example",1,"form-control-sm",2,"width","70px",3,"change"],[3,"value"],["selected","","value","15"],["value","25",4,"ngIf"],["value","50",4,"ngIf"],["value","100",4,"ngIf"],["id","inaugurations-list",1,"text-center","mt-4",3,"previousLabel","nextLabel","pageChange"],["value","25"],["value","50"],["value","100"],[3,"showImage"]],template:function(e,t){1&e&&(m.ac(0,"nav",0),m.ac(1,"ol",1),m.ac(2,"li",2),m.ac(3,"a",3),m.Vc(4),m.nc(5,"translate"),m.Zb(),m.Zb(),m.ac(6,"li",4),m.Tc(7,nu,2,1,"span",5),m.Tc(8,iu,3,3,"span",5),m.Zb(),m.Zb(),m.Zb(),m.ac(9,"section",6),m.ac(10,"div",7),m.ac(11,"div",8),m.ac(12,"h1",9),m.Wb(13,"img",10),m.nc(14,"translate"),m.nc(15,"translate"),m.Tc(16,au,2,1,"span",5),m.Tc(17,cu,3,3,"span",5),m.Zb(),m.Zb(),m.Tc(18,uu,4,5,"div",11),m.Tc(19,bu,1,0,"app-mini-loader",5),m.Tc(20,gu,1,1,"app-no-records",12),m.Zb(),m.Zb()),2&e&&(m.Hb(3),m.uc("routerLink",t._commonService.GetHomePageUrl()),m.Hb(1),m.Wc(m.oc(5,12,"Home_txt")),m.Hb(3),m.tc("ngIf",t.pageTitle),m.Hb(1),m.tc("ngIf",!t.pageTitle),m.Hb(5),m.uc("src",(null==t.pageTitle?null:t.pageTitle.ImagePath)||"assets/images/icon-district-tab-2.png",m.Pc),m.uc("title",m.oc(14,14,"Inauguration_txt")),m.uc("alt",m.oc(15,16,"Inauguration_txt")),m.Hb(3),m.tc("ngIf",t.pageTitle),m.Hb(1),m.tc("ngIf",!t.pageTitle),m.Hb(1),m.tc("ngIf",(null==t.generalModel?null:t.generalModel.length)>0),m.Hb(1),m.tc("ngIf",!t.generalModel),m.Hb(1),m.tc("ngIf",t.generalModel&&0==t.generalModel.length))},directives:[h.d,i.n,i.m,a.q,a.w,f.c,v.a,C.a],pipes:[c.c,f.b,i.e],styles:[""]}),e})();class pu{}const fu=["SearchText"];function vu(e,t){if(1&e&&(m.ac(0,"div",23),m.Vc(1),m.Zb()),2&e){const e=m.mc();m.Hb(1),m.Xc(" ","en"==e.translate.currentLang?"Please enter at least 5 characters to get search result.":"\u0916\u094b\u091c \u092a\u0930\u093f\u0923\u093e\u092e \u092a\u094d\u0930\u093e\u092a\u094d\u0924 \u0915\u0930\u0928\u0947 \u0915\u0947 \u0932\u093f\u090f \u0915\u0943\u092a\u092f\u093e \u0915\u092e \u0938\u0947 \u0915\u092e 5 \u0905\u0915\u094d\u0937\u0930 \u0926\u0930\u094d\u091c \u0915\u0930\u0947\u0902\u0964"," ")}}function Cu(e,t){if(1&e&&(m.ac(0,"div",36),m.ac(1,"a",37),m.ac(2,"div",38),m.ac(3,"h4"),m.Vc(4),m.Zb(),m.ac(5,"div",39),m.ac(6,"p",40),m.Vc(7),m.Zb(),m.ac(8,"small"),m.Vc(9),m.nc(10,"date"),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.Zb()),2&e){const e=t.$implicit,n=m.mc(3);m.Hb(1),m.vc("routerLink","/order/detail/",e.Code,""),m.Hb(3),m.Xc(" ","en"==n.translate.currentLang?e.Title:e.TitleHindi," "),m.Hb(3),m.Xc(" ","en"==n.translate.currentLang?e.TypeName:e.TypeNameHindi," "),m.Hb(2),m.Xc(" ","en"==n.translate.currentLang?m.pc(10,4,e.Date,"dd MMM yyyy"):e.DateHindi," ")}}function Hu(e,t){if(1&e&&(m.ac(0,"div",26),m.ac(1,"div",27),m.ac(2,"span",28),m.lc(),m.ac(3,"svg",16),m.Wb(4,"path",17),m.Zb(),m.Vc(5),m.nc(6,"translate"),m.kc(),m.ac(7,"span",29),m.Vc(8),m.Zb(),m.Zb(),m.ac(9,"span",30),m.Wb(10,"i",31),m.Zb(),m.Zb(),m.ac(11,"div",32),m.ac(12,"div",33),m.ac(13,"div",34),m.Tc(14,Cu,11,7,"div",35),m.Zb(),m.Zb(),m.Zb(),m.Zb()),2&e){const e=m.mc(2);m.Hb(5),m.Xc(" ",m.oc(6,3,"Government_Orders_txt")," "),m.Hb(3),m.Wc(e.orders.length),m.Hb(6),m.tc("ngForOf",e.orders)}}function Du(e,t){if(1&e&&(m.ac(0,"div",36),m.ac(1,"a",43),m.ac(2,"div",38),m.ac(3,"h4"),m.Vc(4),m.Zb(),m.ac(5,"div",39),m.ac(6,"p",40),m.Vc(7),m.Zb(),m.ac(8,"small"),m.Vc(9),m.nc(10,"date"),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.Zb()),2&e){const e=t.$implicit,n=m.mc(3);m.Hb(1),m.vc("routerLink","/scheme/detail/",e.Code,""),m.Hb(3),m.Xc(" ","en"==n.translate.currentLang?e.Title:e.TitleHindi," "),m.Hb(3),m.Xc(" ","en"==n.translate.currentLang?e.TypeName:e.TypeNameHindi," "),m.Hb(2),m.Xc(" ","en"==n.translate.currentLang?m.pc(10,4,e.Date,"dd MMM yyyy"):e.DateHindi," ")}}function Mu(e,t){if(1&e&&(m.ac(0,"div",26),m.ac(1,"div",41),m.ac(2,"span",28),m.lc(),m.ac(3,"svg",16),m.Wb(4,"path",17),m.Zb(),m.Vc(5),m.nc(6,"translate"),m.kc(),m.ac(7,"span",29),m.Vc(8),m.Zb(),m.Zb(),m.ac(9,"span",30),m.Wb(10,"i",31),m.Zb(),m.Zb(),m.ac(11,"div",42),m.ac(12,"div",33),m.ac(13,"div",34),m.Tc(14,Du,11,7,"div",35),m.Zb(),m.Zb(),m.Zb(),m.Zb()),2&e){const e=m.mc(2);m.Hb(5),m.Xc(" ",m.oc(6,3,"Schemes_txt")," "),m.Hb(3),m.Wc(e.schemes.length),m.Hb(6),m.tc("ngForOf",e.schemes)}}function Iu(e,t){if(1&e&&(m.ac(0,"div",36),m.ac(1,"a",43),m.ac(2,"div",38),m.ac(3,"h4"),m.Vc(4),m.Zb(),m.ac(5,"div",39),m.ac(6,"p",40),m.Vc(7),m.Zb(),m.ac(8,"small"),m.Vc(9),m.nc(10,"date"),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.Zb()),2&e){const e=t.$implicit,n=m.mc(3);m.Hb(1),m.vc("routerLink","/project-master/detail/",e.Code,""),m.Hb(3),m.Xc(" ","en"==n.translate.currentLang?e.Title:e.TitleHindi," "),m.Hb(3),m.Xc(" ","en"==n.translate.currentLang?e.TypeName:e.TypeNameHindi," "),m.Hb(2),m.Xc(" ","en"==n.translate.currentLang?m.pc(10,4,e.Date,"dd MMM yyyy"):e.DateHindi," ")}}function Zu(e,t){if(1&e&&(m.ac(0,"div",26),m.ac(1,"div",44),m.ac(2,"span",28),m.lc(),m.ac(3,"svg",16),m.Wb(4,"path",17),m.Zb(),m.Vc(5),m.nc(6,"translate"),m.kc(),m.ac(7,"span",29),m.Vc(8),m.Zb(),m.Zb(),m.ac(9,"span",30),m.Wb(10,"i",31),m.Zb(),m.Zb(),m.ac(11,"div",45),m.ac(12,"div",33),m.ac(13,"div",34),m.Tc(14,Iu,11,7,"div",35),m.Zb(),m.Zb(),m.Zb(),m.Zb()),2&e){const e=m.mc(2);m.Hb(5),m.Xc(" ",m.oc(6,3,"ProjectMaster_txt")," "),m.Hb(3),m.Wc(e.projects.length),m.Hb(6),m.tc("ngForOf",e.projects)}}function Tu(e,t){if(1&e&&(m.ac(0,"div",36),m.ac(1,"a",43),m.ac(2,"div",48),m.ac(3,"div",38),m.ac(4,"h4"),m.Vc(5),m.Zb(),m.ac(6,"div",39),m.ac(7,"p",40),m.Vc(8),m.Zb(),m.ac(9,"small"),m.Vc(10),m.nc(11,"date"),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.Zb()),2&e){const e=t.$implicit,n=m.mc(3);m.Hb(1),m.vc("routerLink","/home/general-entry/detail/",e.Code,""),m.Hb(4),m.Xc(" ","en"==n.translate.currentLang?e.Title:e.TitleHindi," "),m.Hb(3),m.Xc(" ","en"==n.translate.currentLang?e.TypeName:e.TypeNameHindi," "),m.Hb(2),m.Xc(" ","en"==n.translate.currentLang?m.pc(11,4,e.Date,"dd MMM yyyy"):e.DateHindi," ")}}function yu(e,t){if(1&e&&(m.ac(0,"div",26),m.ac(1,"div",46),m.ac(2,"span",28),m.lc(),m.ac(3,"svg",16),m.Wb(4,"path",17),m.Zb(),m.Vc(5),m.nc(6,"translate"),m.kc(),m.ac(7,"span",29),m.Vc(8),m.Zb(),m.Zb(),m.ac(9,"span",30),m.Wb(10,"i",31),m.Zb(),m.Zb(),m.ac(11,"div",47),m.ac(12,"div",33),m.ac(13,"div",34),m.Tc(14,Tu,12,7,"div",35),m.Zb(),m.Zb(),m.Zb(),m.Zb()),2&e){const e=m.mc(2);m.Hb(5),m.Xc(" ",m.oc(6,3,"GeneralEntries_txt")," "),m.Hb(3),m.Wc(e.generalEntries.length),m.Hb(6),m.tc("ngForOf",e.generalEntries)}}function xu(e,t){if(1&e&&(m.ac(0,"div",36),m.ac(1,"a",43),m.ac(2,"div",38),m.ac(3,"h4"),m.Vc(4),m.Zb(),m.ac(5,"div",39),m.ac(6,"p",40),m.Vc(7),m.Zb(),m.ac(8,"small"),m.Vc(9),m.nc(10,"date"),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.Zb()),2&e){const e=t.$implicit,n=m.mc(3);m.Hb(1),m.vc("routerLink","/home/press-release/",e.Code,""),m.Hb(3),m.Xc(" ","en"==n.translate.currentLang?e.Title:e.TitleHindi," "),m.Hb(3),m.Xc(" ","en"==n.translate.currentLang?e.TypeName:e.TypeNameHindi," "),m.Hb(2),m.Xc(" ","en"==n.translate.currentLang?m.pc(10,4,e.Date,"dd MMM yyyy"):e.DateHindi," ")}}function Pu(e,t){if(1&e&&(m.ac(0,"div",26),m.ac(1,"div",49),m.ac(2,"span",28),m.lc(),m.ac(3,"svg",16),m.Wb(4,"path",17),m.Zb(),m.Vc(5),m.nc(6,"translate"),m.kc(),m.ac(7,"span",29),m.Vc(8),m.Zb(),m.Zb(),m.ac(9,"span",30),m.Wb(10,"i",31),m.Zb(),m.Zb(),m.ac(11,"div",50),m.ac(12,"div",33),m.ac(13,"div",34),m.Tc(14,xu,11,7,"div",35),m.Zb(),m.Zb(),m.Zb(),m.Zb()),2&e){const e=m.mc(2);m.Hb(5),m.Xc(" ",m.oc(6,3,"Press_Releases_txt")," "),m.Hb(3),m.Wc(e.pressReleases.length),m.Hb(6),m.tc("ngForOf",e.pressReleases)}}function Su(e,t){if(1&e&&(m.ac(0,"div",24),m.Tc(1,Hu,15,5,"div",25),m.Tc(2,Mu,15,5,"div",25),m.Tc(3,Zu,15,5,"div",25),m.Tc(4,yu,15,5,"div",25),m.Tc(5,Pu,15,5,"div",25),m.Zb()),2&e){const e=m.mc();m.Hb(1),m.tc("ngIf",e.orders&&e.orders.length>0),m.Hb(1),m.tc("ngIf",e.schemes&&e.schemes.length>0),m.Hb(1),m.tc("ngIf",e.projects&&e.projects.length>0),m.Hb(1),m.tc("ngIf",e.generalEntries&&e.generalEntries.length>0),m.Hb(1),m.tc("ngIf",e.pressReleases&&e.pressReleases.length>0)}}function _u(e,t){1&e&&m.Wb(0,"app-mini-loader")}function wu(e,t){1&e&&(m.ac(0,"div",51),m.ac(1,"div",52),m.Wb(2,"img",53),m.Zb(),m.ac(3,"p"),m.Vc(4),m.nc(5,"translate"),m.Zb(),m.Zb()),2&e&&(m.Hb(4),m.Wc(m.oc(5,1,"NoRecordFound_txt")))}let Lu=(()=>{class e{constructor(e,t,n,i){this._route=e,this.translate=t,this._commonService=n,this._DptDistrictWebsiteService=i,this.showErr=!1,this.moduleEnum=jc,this.reqModel=new pu,this._commonService.SetWebTitle("hi"==this.translate.currentLang?"\u0916\u094b\u091c \u092a\u0930\u093f\u0923\u093e\u092e":"Search Result"),this.reqModel.DepartmentCode=n.GetWebDistDeptCode(),this._route.paramMap.subscribe(e=>{let t=localStorage.getItem("searchText");t?(this.reqModel.SearchText=t,this.onSearch()):this.searchResult=[]})}ngOnInit(){}ngAfterViewInit(){this._route.paramMap.subscribe(e=>{this.searchText.nativeElement.focus()})}restrictSpecialChars(e){/^[a-zA-Z0-9]*$/.test(e.key)||e.preventDefault()}onSearch(){this.searchResult=this.orders=this.schemes=this.projects=void 0,this.deptProfiles=this.pressReleases=this.generalEntries=void 0,this.reqModel.SearchText&&this.reqModel.SearchText.length>=5?(this.showErr=!1,this.getSearchResult()):(this.searchResult=[],this.showErr=!0)}getSearchResult(){localStorage.setItem("searchText",this.reqModel.SearchText),this._DptDistrictWebsiteService.GetWebsiteSearchResult(this.reqModel).subscribe(e=>{e.IsSuccess&&(this.searchResult=e.Data||[],this.searchResult&&this.searchResult.length>0&&(this.orders=this.searchResult.filter(e=>e.ModuleName==this.moduleEnum.Order),this.schemes=this.searchResult.filter(e=>e.ModuleName==this.moduleEnum.Scheme),this.projects=this.searchResult.filter(e=>e.ModuleName==this.moduleEnum.Project),this.deptProfiles=this.searchResult.filter(e=>e.ModuleName==this.moduleEnum.DepartmentProfile),this.pressReleases=this.searchResult.filter(e=>e.ModuleName==this.moduleEnum.PressRelease),this.generalEntries=this.searchResult.filter(e=>e.ModuleName==this.moduleEnum.GeneralEntry)))},e=>{console.error(e.message)})}}return e.\u0275fac=function(t){return new(t||e)(m.Vb(h.a),m.Vb(c.d),m.Vb(g.a),m.Vb(p.a))},e.\u0275cmp=m.Pb({type:e,selectors:[["app-search-result"]],viewQuery:function(e,t){var n;1&e&&m.bd(fu,!0),2&e&&m.Jc(n=m.jc())&&(t.searchText=n.first)},decls:29,vars:15,consts:[["aria-label","breadcrumb",1,"breadcrumb_nav"],[1,"breadcrumb"],[1,"breadcrumb-item"],[3,"routerLink"],["aria-current","page",1,"breadcrumb-item","active"],[1,"inner-page","page-search"],[1,"container"],[1,"row","pb-5","scheme_search","flex-column","text-center"],[1,"input-group","col-xl-5","m-auto"],["type","text","placeholder","\u092f\u0939\u093e\u0902 \u0932\u093f\u0916\u0947..","minlength","5","maxlength","25",1,"form-control",3,"ngModel","keypress","ngModelChange","keydown.enter"],["SearchText",""],[1,"input-group-append"],[1,"btn",3,"click"],[1,"fa","fa-search"],["class","search_error",4,"ngIf"],[1,"title","text-center"],["xmlns","http://www.w3.org/2000/svg","width","16","height","16","fill","currentColor","viewBox","0 0 16 16",1,"bi","bi-search"],["d","M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z"],[1,"row"],[1,"col-lg-12","search-card-outer"],["class","accordion accordion-d-1","id","accordionExample",4,"ngIf"],[4,"ngIf"],["class","search-not-found text-center",4,"ngIf"],[1,"search_error"],["id","accordionExample",1,"accordion","accordion-d-1"],["class","card search-card",4,"ngIf"],[1,"card","search-card"],["data-toggle","collapse","data-target","#SearchOrders","aria-expanded","true",1,"card-header","collapsed"],[1,"title"],[1,"search-page-count"],[1,"accicon"],[1,"fas","fa-angle-down","rotate-icon"],["id","SearchOrders","data-parent","#accordionExample",1,"collapse"],[1,"card-body"],[1,"search-card-items-info-content","row","mt-0","justify-content-start"],["class","col-md-4 mb-2 px-2",4,"ngFor","ngForOf"],[1,"col-md-4","mb-2","px-2"],["target","_blank",1,"search-card-inner-bx","d-flex","flax-wrap",3,"routerLink"],[1,"search-card-inner-bx-info","d-flex","flex-column","h-100"],[1,"d-flex","justify-content-between","mt-auto"],[1,"m-0"],["data-toggle","collapse","data-target","#SearchSchemes","aria-expanded","true",1,"card-header","collapsed"],["id","SearchSchemes","data-parent","#accordionExample",1,"collapse"],["target","_blank",1,"search-card-inner-bx","d-flex","flax-wrap","align-items-center",3,"routerLink"],["data-toggle","collapse","data-target","#SearchProjects","aria-expanded","true",1,"card-header","collapsed"],["id","SearchProjects","data-parent","#accordionExample",1,"collapse"],["data-toggle","collapse","data-target","#SearchGeneralEntries","aria-expanded","true",1,"card-header","collapsed"],["id","SearchGeneralEntries","data-parent","#accordionExample",1,"collapse"],[1,"search-card-inner-bx","d-flex","flax-wrap","align-items-center"],["data-toggle","collapse","data-target","#SearchPressRelease","aria-expanded","true",1,"card-header","collapsed"],["id","SearchPressRelease","data-parent","#accordionExample",1,"collapse"],[1,"search-not-found","text-center"],[1,"search-not-found-img","mb-4"],["src","assets/images/record-not-found.png"]],template:function(e,t){1&e&&(m.ac(0,"nav",0),m.ac(1,"ol",1),m.ac(2,"li",2),m.ac(3,"a",3),m.Vc(4),m.nc(5,"translate"),m.Zb(),m.Zb(),m.ac(6,"li",4),m.Vc(7),m.nc(8,"translate"),m.Zb(),m.Zb(),m.Zb(),m.ac(9,"section",5),m.ac(10,"div",6),m.ac(11,"div",7),m.ac(12,"div",8),m.ac(13,"input",9,10),m.ic("keypress",(function(e){return t.restrictSpecialChars(e)}))("ngModelChange",(function(e){return t.reqModel.SearchText=e}))("keydown.enter",(function(){return t.onSearch()})),m.Zb(),m.ac(15,"div",11),m.ac(16,"button",12),m.ic("click",(function(){return t.onSearch()})),m.Wb(17,"i",13),m.Zb(),m.Zb(),m.Zb(),m.Tc(18,vu,2,1,"div",14),m.Zb(),m.ac(19,"h1",15),m.lc(),m.ac(20,"svg",16),m.Wb(21,"path",17),m.Zb(),m.Vc(22),m.nc(23,"translate"),m.Zb(),m.kc(),m.ac(24,"div",18),m.ac(25,"div",19),m.Tc(26,Su,6,5,"div",20),m.Tc(27,_u,1,0,"app-mini-loader",21),m.Tc(28,wu,6,3,"div",22),m.Zb(),m.Zb(),m.Zb(),m.Zb()),2&e&&(m.Hb(3),m.uc("routerLink",t._commonService.GetHomePageUrl()),m.Hb(1),m.Wc(m.oc(5,9,"Home_txt")),m.Hb(3),m.Xc(" ",m.oc(8,11,"SearchResult_txt")," "),m.Hb(6),m.tc("ngModel",t.reqModel.SearchText),m.Hb(5),m.tc("ngIf",t.showErr),m.Hb(4),m.Xc(" ",m.oc(23,13,"SearchResult_txt")," "),m.Hb(4),m.tc("ngIf",t.searchResult&&t.searchResult.length>0),m.Hb(1),m.tc("ngIf",!t.searchResult),m.Hb(1),m.tc("ngIf",t.searchResult&&0==t.searchResult.length))},directives:[h.d,a.b,a.j,a.i,a.m,a.p,i.n,i.m,v.a],pipes:[c.c,i.e],styles:[".accordion-d-1[_ngcontent-%COMP%] .card-header[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-size:150%;color:#000}.accordion-d-1[_ngcontent-%COMP%] .card-header[_ngcontent-%COMP%] .accicon[_ngcontent-%COMP%]{float:right;font-size:20px;width:1.2em}.accordion-d-1[_ngcontent-%COMP%] .card-header[_ngcontent-%COMP%]{cursor:pointer;border-bottom:none;display:-webkit-box;display:flex;-webkit-box-pack:justify;justify-content:space-between;-webkit-box-align:center;align-items:center;padding:30px 15px}.accordion-d-1[_ngcontent-%COMP%] .card[_ngcontent-%COMP%]{border:1px solid #ddd}.accordion-d-1[_ngcontent-%COMP%] .card-body[_ngcontent-%COMP%]{border-top:1px solid #ddd;padding:0 0 20px}.accordion-d-1[_ngcontent-%COMP%] .card-header[_ngcontent-%COMP%]:not(.collapsed) .rotate-icon[_ngcontent-%COMP%]{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.card.search-card[_ngcontent-%COMP%]{border:none!important;margin-bottom:20px}.accordion[_ngcontent-%COMP%] > .card[_ngcontent-%COMP%] > .card-header[_ngcontent-%COMP%]{background:#f9f6eb}.accordion[_ngcontent-%COMP%] > .card.search-card[_ngcontent-%COMP%]:first-child .card-header[_ngcontent-%COMP%], .accordion[_ngcontent-%COMP%] > .card.search-card[_ngcontent-%COMP%]:first-child .search-card-items-info-content[_ngcontent-%COMP%]{background:#ecf6ff!important}.accordion[_ngcontent-%COMP%] > .card.search-card[_ngcontent-%COMP%]:nth-child(2) .card-header[_ngcontent-%COMP%], .accordion[_ngcontent-%COMP%] > .card.search-card[_ngcontent-%COMP%]:nth-child(2) .search-card-items-info-content[_ngcontent-%COMP%]{background:#fbeeec!important}.accordion[_ngcontent-%COMP%] > .card.search-card[_ngcontent-%COMP%]:nth-child(3) .card-header[_ngcontent-%COMP%], .accordion[_ngcontent-%COMP%] > .card.search-card[_ngcontent-%COMP%]:nth-child(3) .search-card-items-info-content[_ngcontent-%COMP%]{background:#ecfff0!important}.accordion[_ngcontent-%COMP%] > .card.search-card[_ngcontent-%COMP%]:nth-child(4) .card-header[_ngcontent-%COMP%], .accordion[_ngcontent-%COMP%] > .card.search-card[_ngcontent-%COMP%]:nth-child(4) .search-card-items-info-content[_ngcontent-%COMP%]{background:#fffae9!important}.accordion[_ngcontent-%COMP%] > .card.search-card[_ngcontent-%COMP%]:nth-child(5) .card-header[_ngcontent-%COMP%], .accordion[_ngcontent-%COMP%] > .card.search-card[_ngcontent-%COMP%]:nth-child(5) .search-card-items-info-content[_ngcontent-%COMP%]{background:#f9e9ff!important}.accordion[_ngcontent-%COMP%] > .card.search-card[_ngcontent-%COMP%]:nth-child(2) .card-header[_ngcontent-%COMP%] span.search-page-count[_ngcontent-%COMP%]{background:#d3432d}.accordion[_ngcontent-%COMP%] > .card.search-card[_ngcontent-%COMP%]:nth-child(3) .card-header[_ngcontent-%COMP%] span.search-page-count[_ngcontent-%COMP%]{background:#009688}.accordion[_ngcontent-%COMP%] > .card.search-card[_ngcontent-%COMP%]:nth-child(4) .card-header[_ngcontent-%COMP%] span.search-page-count[_ngcontent-%COMP%]{background:#d3a300}.accordion[_ngcontent-%COMP%] > .card.search-card[_ngcontent-%COMP%]:nth-child(5) .card-header[_ngcontent-%COMP%] span.search-page-count[_ngcontent-%COMP%]{background:#9728c1}.accordion-d-1[_ngcontent-%COMP%] .card.search-card[_ngcontent-%COMP%]:last-child{border:none!important}.accordion-d-1[_ngcontent-%COMP%] .card-header[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{height:30px;width:30px;margin-right:10px;fill:#4a6a8d}.accordion[_ngcontent-%COMP%] > .card[_ngcontent-%COMP%] > .card-header.collapsed[_ngcontent-%COMP%] span.title[_ngcontent-%COMP%]{font-weight:500}.accordion[_ngcontent-%COMP%] > .card[_ngcontent-%COMP%] > .card-header[_ngcontent-%COMP%] span.title[_ngcontent-%COMP%]{font-weight:600}span.search-page-count[_ngcontent-%COMP%]{background:#135da4;color:#fff;padding:3px 10px;border-radius:13px;margin-left:10px;box-shadow:0 0 10px #d9d9d9}.search_error[_ngcontent-%COMP%]{font-size:90%;margin-top:10px;color:red}.search-not-found[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:33px;margin-top:50px;margin-bottom:25px;color:#c51a05;text-align:center}@media (max-width:767px){.accordion-d-1[_ngcontent-%COMP%] .card-header[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-size:125%;color:#000}.accordion-d-1[_ngcontent-%COMP%] .card-header[_ngcontent-%COMP%]{padding:15px 8px}span.search-page-count[_ngcontent-%COMP%]{font-size:100%}}"]}),e})();function Vu(e,t){if(1&e){const e=m.bc();m.ac(0,"div",25),m.ac(1,"img",26),m.ic("error",(function(t){return m.Mc(e),m.mc(2)._commonService.onImageError(t,"assets/images/no-img.png")})),m.Zb(),m.Zb()}if(2&e){const e=t.$implicit,n=t.index,i=m.mc(2);m.tc("ngClass",0===n?"carousel-item active":"carousel-item"),m.Hb(1),m.uc("title","en"==i.translate.currentLang?i.model.Achievement:i.model.SubjectHindi),m.uc("alt","en"==i.translate.currentLang?i.model.Achievement:i.model.SubjectHindi),m.tc("src",e,m.Pc)}}function ku(e,t){1&e&&(m.ac(0,"a",27),m.nc(1,"translate"),m.ac(2,"span",28),m.Wb(3,"i",29),m.Zb(),m.ac(4,"span",30),m.Vc(5,"Previous"),m.Zb(),m.Zb()),2&e&&m.uc("title",m.oc(1,1,"Previous_txt"))}function Nu(e,t){1&e&&(m.ac(0,"a",31),m.nc(1,"translate"),m.ac(2,"span",28),m.Wb(3,"i",32),m.Zb(),m.ac(4,"span",30),m.Vc(5,"Next"),m.Zb(),m.Zb()),2&e&&m.uc("title",m.oc(1,1,"Next_txt"))}function Ou(e,t){if(1&e&&(m.ac(0,"div",20),m.ac(1,"div",21),m.Tc(2,Vu,2,4,"div",22),m.Zb(),m.Tc(3,ku,6,3,"a",23),m.Tc(4,Nu,6,3,"a",24),m.Zb()),2&e){const e=m.mc();m.Hb(2),m.tc("ngForOf",null==e.model?null:e.model.ImageFiles),m.Hb(1),m.tc("ngIf",(null==e.model?null:null==e.model.ImageFiles?null:e.model.ImageFiles.length)>1),m.Hb(1),m.tc("ngIf",(null==e.model?null:null==e.model.ImageFiles?null:e.model.ImageFiles.length)>1)}}function Au(e,t){if(1&e){const e=m.bc();m.ac(0,"div",33),m.ac(1,"div",34),m.Wb(2,"img",35),m.ac(3,"audio",36),m.ic("playing",(function(t){return m.Mc(e),m.mc().onMediaPlaying(t,!0)})),m.Wb(4,"source",37),m.Zb(),m.Zb(),m.Zb()}if(2&e){const e=m.mc();m.uc("title","en"==e.translate.currentLang?e.model.Achievement:e.model.AchievementHindi),m.Hb(2),m.uc("title","en"==e.translate.currentLang?e.model.Achievement:e.model.AchievementHindi),m.uc("alt","en"==e.translate.currentLang?e.model.Achievement:e.model.AchievementHindi),m.Hb(2),m.uc("src",e.model.Url,m.Pc)}}function Wu(e,t){if(1&e){const e=m.bc();m.ac(0,"div"),m.ac(1,"div",38),m.ac(2,"video",39),m.ic("playing",(function(t){return m.Mc(e),m.mc().onMediaPlaying(t,!1)})),m.Wb(3,"source",40),m.Zb(),m.Zb(),m.Zb()}if(2&e){const e=m.mc();m.Hb(2),m.uc("poster",e.model.ThumbnailPath,m.Pc),m.Hb(1),m.uc("src",e.model.Url,m.Pc),m.vc("type","video/",e.model.Url.split(".")[e.model.Url.split(".").length-1],"")}}function Eu(e,t){if(1&e&&(m.ac(0,"p",42),m.Wb(1,"i",43),m.Vc(2),m.nc(3,"date"),m.Zb()),2&e){const e=m.mc(2);m.Hb(2),m.Xc(" ","en"==e.translate.currentLang?m.pc(3,1,e.model.AchievementDate,"dd MMM, yyyy"):e.model.AchievementDateHindi," ")}}function Gu(e,t){if(1&e&&(m.ac(0,"div"),m.Tc(1,Eu,4,4,"p",41),m.Zb()),2&e){const e=m.mc();m.Hb(1),m.tc("ngIf",e.model.AchievementDate||e.model.AchievementDateHindi)}}function Fu(e,t){if(1&e){const e=m.bc();m.ac(0,"a",44),m.ic("click",(function(){m.Mc(e);const t=m.mc();return t.downloadFile(null==t.model?null:t.model.PdfFIleName,null==t.model?null:t.model.Achievement)})),m.Wb(1,"i",45),m.Vc(2),m.nc(3,"translate"),m.Zb()}2&e&&(m.Hb(2),m.Xc(" ",m.oc(3,1,"Download_txt")," "))}function Ru(e,t){if(1&e&&(m.ac(0,"a",46),m.lc(),m.ac(1,"svg",47),m.Wb(2,"path",48),m.Zb(),m.Zb()),2&e){const e=m.mc();m.tc("href",e.model.Url,m.Pc)}}function Xu(e,t){if(1&e){const e=m.bc();m.ac(0,"div",49),m.ac(1,"button",50),m.ic("click",(function(){m.Mc(e);const t=m.mc();return t._commonService.ShareOnWhatsapp("en"==t.translate.currentLang?"General Detail : "+t.model.Achievement:"\u0938\u093e\u092e\u093e\u0928\u094d\u092f \u0935\u093f\u0935\u0930\u0923 : "+t.model.SubjectHindi,t.pageLink)})),m.nc(2,"translate"),m.lc(),m.ac(3,"svg",51),m.Wb(4,"path",52),m.Zb(),m.Zb(),m.Zb()}2&e&&(m.Hb(1),m.uc("title",m.oc(2,1,"WhatsAppShare_txt")))}function Bu(e,t){if(1&e&&m.Wb(0,"p",53),2&e){const e=m.mc();m.tc("innerHTML","en"==e.translate.currentLang?null==e.model?null:e.model.Description:null==e.model?null:e.model.DescriptionHindi,m.Nc)}}function Uu(e,t){if(1&e&&m.Wb(0,"p",53),2&e){const e=m.mc();m.tc("innerHTML","en"==e.translate.currentLang?null==e.model?null:e.model.EditorDetailEnglish:null==e.model?null:e.model.EditorDetail,m.Nc)}}let zu=(()=>{class e{constructor(e,t,n,i,a){this._achievementAwardService=e,this._route=t,this._commonService=n,this.sanitizer=i,this.translate=a,this.achievementEnum=o.a,this.model=new l.e,this.departmentCode=this._commonService.GetWebDistDeptCode(),this.isDistrict=!1,this.recordId=t.snapshot.params.id,this.isDistrict=n.IsDistrict(),this._commonService.SetWebTitle("hi"==a.currentLang?"\u0938\u093e\u092e\u093e\u0928\u094d\u092f \u092a\u094d\u0930\u0935\u093f\u0937\u094d\u091f\u093f":"General Detail")}ngOnInit(){this.pageLink=window.location.href,this.GetDetail()}get IsShowImages(){return Number(this.achievementEnum.AudioCode)!=this.model.AchievementCategoryCode&&Number(this.achievementEnum.VideoCode)!=this.model.AchievementCategoryCode}GetDetail(){this._achievementAwardService.GetDetailById(this.recordId).subscribe(e=>{e.IsSuccess&&(this.model=e.Data)})}downloadFile(e,t){const n=document.createElement("a");n.setAttribute("href",e),n.setAttribute("download",t+".pdf"),document.body.appendChild(n),n.click(),n.remove()}SafeUrl(e){return null!=e&&e.length>0?new RegExp(/\/view(v|V?)/i).test(e)?(e=e.replace(/\/view(v|V?)/i,"/preview"),this.sanitizer.bypassSecurityTrustResourceUrl(e)):(e=e.replace(/\/watch\?(v|V\?)=/g,"/embed/"),this.sanitizer.bypassSecurityTrustResourceUrl(e)):null}onMediaPlaying(e,t){var n,i;e.preventDefault(),null!=this.currentPlayingVideo&&(null===(n=this.currentPlayingVideo)||void 0===n||n.pause()),null!=this.currentPlayingAudio&&(null===(i=this.currentPlayingAudio)||void 0===i||i.pause()),t?(this.currentPlayingAudio=e.target,this.currentPlayingAudio.play()):(this.currentPlayingVideo=e.target,this.currentPlayingVideo.play())}}return e.\u0275fac=function(t){return new(t||e)(m.Vb(u.a),m.Vb(h.a),m.Vb(g.a),m.Vb(b.b),m.Vb(c.d))},e.\u0275cmp=m.Pb({type:e,selectors:[["app-general-entry-detail"]],decls:29,vars:18,consts:[["aria-label","breadcrumb",1,"breadcrumb_nav"],[1,"breadcrumb"],[1,"breadcrumb-item"],[3,"routerLink"],["aria-current","page",1,"breadcrumb-item","active"],[1,"page-press-release-details","py-5"],[1,"container"],[1,"row"],[1,"col-lg-8","page-entry-details"],["id","SliderPress","class","carousel slide","data-ride","carousel",4,"ngIf"],["class","audio-card video-card-new text-center",3,"title",4,"ngIf"],[4,"ngIf"],[1,"press-release-details-left","pt-4"],[1,"text-theme","text-center"],[1,"av-caption"],[1,"text-center","d-flex","align-model-center","mb-4","justify-content-center"],["class","btn btn-round btn-theme btn-yellow m-0",3,"click",4,"ngIf"],["target","_blank","class","visit-web-icon ml-3",3,"href",4,"ngIf"],["class","detail-page-share-icons",4,"ngIf"],[3,"innerHTML",4,"ngIf"],["id","SliderPress","data-ride","carousel",1,"carousel","slide"],[1,"carousel-inner"],[3,"ngClass",4,"ngFor","ngForOf"],["class","carousel-control-prev carousel-control-icon","href","#SliderPress","role","button","data-slide","prev","title","Previous",3,"title",4,"ngIf"],["class","carousel-control-next carousel-control-icon","href","#SliderPress","role","button","data-slide","next",3,"title",4,"ngIf"],[3,"ngClass"],[3,"src","title","alt","error"],["href","#SliderPress","role","button","data-slide","prev","title","Previous",1,"carousel-control-prev","carousel-control-icon",3,"title"],["aria-hidden","true"],[1,"fas","fa-chevron-left"],[1,"sr-only"],["href","#SliderPress","role","button","data-slide","next",1,"carousel-control-next","carousel-control-icon",3,"title"],[1,"fas","fa-chevron-right"],[1,"audio-card","video-card-new","text-center",3,"title"],[1,"audio-card","text-center"],["src","assets/images/high-volume.png",1,"img-fluid",3,"title","alt"],["preload","none","controls","",1,"w-100",3,"playing"],[3,"src"],[1,"embed-responsive","embed-responsive-21by9"],["width","100%","height","100%","controls","","preload","none","data-setup",'{ "aspectRatio":"100%:100%", "playbackRates": [1, 1.5, 2] }',1,"embed-responsive-item",3,"poster","playing"],[3,"src","type"],["class","text-muted",4,"ngIf"],[1,"text-muted"],[1,"fas","fa-calendar","mr-1"],[1,"btn","btn-round","btn-theme","btn-yellow","m-0",3,"click"],[1,"fas","fa-file-pdf","mr-2"],["target","_blank",1,"visit-web-icon","ml-3",3,"href"],["xmlns","http://www.w3.org/2000/svg","width","30","height","30","fill","currentColor","viewBox","0 0 16 16",1,"bi","bi-globe","mr-3"],["d","M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8zm7.5-6.923c-.67.204-1.335.82-1.887 1.855A7.97 7.97 0 0 0 5.145 4H7.5V1.077zM4.09 4a9.267 9.267 0 0 1 .64-1.539 6.7 6.7 0 0 1 .597-.933A7.025 7.025 0 0 0 2.255 4H4.09zm-.582 3.5c.03-.877.138-1.718.312-2.5H1.674a6.958 6.958 0 0 0-.656 2.5h2.49zM4.847 5a12.5 12.5 0 0 0-.338 2.5H7.5V5H4.847zM8.5 5v2.5h2.99a12.495 12.495 0 0 0-.337-2.5H8.5zM4.51 8.5a12.5 12.5 0 0 0 .337 2.5H7.5V8.5H4.51zm3.99 0V11h2.653c.187-.765.306-1.608.338-2.5H8.5zM5.145 12c.138.386.295.744.468 1.068.552 1.035 1.218 1.65 1.887 1.855V12H5.145zm.182 2.472a6.696 6.696 0 0 1-.597-.933A9.268 9.268 0 0 1 4.09 12H2.255a7.024 7.024 0 0 0 3.072 2.472zM3.82 11a13.652 13.652 0 0 1-.312-2.5h-2.49c.062.89.291 1.733.656 2.5H3.82zm6.853 3.472A7.024 7.024 0 0 0 13.745 12H11.91a9.27 9.27 0 0 1-.64 1.539 6.688 6.688 0 0 1-.597.933zM8.5 12v2.923c.67-.204 1.335-.82 1.887-1.855.173-.324.33-.682.468-1.068H8.5zm3.68-1h2.146c.365-.767.594-1.61.656-2.5h-2.49a13.65 13.65 0 0 1-.312 2.5zm2.802-3.5a6.959 6.959 0 0 0-.656-2.5H12.18c.174.782.282 1.623.312 2.5h2.49zM11.27 2.461c.247.464.462.98.64 1.539h1.835a7.024 7.024 0 0 0-3.072-2.472c.218.284.418.598.597.933zM10.855 4a7.966 7.966 0 0 0-.468-1.068C9.835 1.897 9.17 1.282 8.5 1.077V4h2.355z"],[1,"detail-page-share-icons"],["type","submit",1,"btn-whtsap_share",3,"title","click"],["xmlns","http://www.w3.org/2000/svg","width","16","height","16","fill","currentColor","viewBox","0 0 16 16",1,"bi","bi-whatsapp","m-0"],["d","M13.601 2.326A7.854 7.854 0 0 0 7.994 0C3.627 0 .068 3.558.064 7.926c0 1.399.366 2.76 1.057 3.965L0 16l4.204-1.102a7.933 7.933 0 0 0 3.79.965h.004c4.368 0 7.926-3.558 7.93-7.93A7.898 7.898 0 0 0 13.6 2.326zM7.994 14.521a6.573 6.573 0 0 1-3.356-.92l-.24-.144-2.494.654.666-2.433-.156-.251a6.56 6.56 0 0 1-1.007-3.505c0-3.626 2.957-6.584 6.591-6.584a6.56 6.56 0 0 1 4.66 1.931 6.557 6.557 0 0 1 1.928 4.66c-.004 3.639-2.961 6.592-6.592 6.592zm3.615-4.934c-.197-.099-1.17-.578-1.353-.646-.182-.065-.315-.099-.445.099-.133.197-.513.646-.627.775-.114.133-.232.148-.43.05-.197-.1-.836-.308-1.592-.985-.59-.525-.985-1.175-1.103-1.372-.114-.198-.011-.304.088-.403.087-.088.197-.232.296-.346.1-.114.133-.198.198-.33.065-.134.034-.248-.015-.347-.05-.099-.445-1.076-.612-1.47-.16-.389-.323-.335-.445-.34-.114-.007-.247-.007-.38-.007a.729.729 0 0 0-.529.247c-.182.198-.691.677-.691 1.654 0 .977.71 1.916.81 2.049.098.133 1.394 2.132 3.383 2.992.47.205.84.326 1.129.418.475.152.904.129 1.246.08.38-.058 1.171-.48 1.338-.943.164-.464.164-.86.114-.943-.049-.084-.182-.133-.38-.232z"],[3,"innerHTML"]],template:function(e,t){1&e&&(m.ac(0,"nav",0),m.ac(1,"ol",1),m.ac(2,"li",2),m.ac(3,"a",3),m.Vc(4),m.nc(5,"translate"),m.Zb(),m.Zb(),m.ac(6,"li",4),m.Vc(7),m.nc(8,"translate"),m.Zb(),m.Zb(),m.Zb(),m.ac(9,"section",5),m.ac(10,"div",6),m.ac(11,"div",7),m.ac(12,"div",8),m.Tc(13,Ou,5,3,"div",9),m.Tc(14,Au,5,4,"div",10),m.Tc(15,Wu,4,3,"div",11),m.ac(16,"div",12),m.ac(17,"h4",13),m.Vc(18),m.Zb(),m.ac(19,"div",14),m.Vc(20),m.Zb(),m.Tc(21,Gu,2,1,"div",11),m.ac(22,"div",15),m.ac(23,"div"),m.Tc(24,Fu,4,3,"a",16),m.Tc(25,Ru,3,1,"a",17),m.Zb(),m.Tc(26,Xu,5,3,"div",18),m.Zb(),m.Tc(27,Bu,1,1,"p",19),m.Tc(28,Uu,1,1,"p",19),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.Zb()),2&e&&(m.Hb(3),m.uc("routerLink",t._commonService.GetHomePageUrl()),m.Hb(1),m.Wc(m.oc(5,14,"Home_txt")),m.Hb(3),m.Xc(" ",m.oc(8,16,"GeneralEntry_txt")," "),m.Hb(6),m.tc("ngIf",t.IsShowImages),m.Hb(1),m.tc("ngIf",(null==t.achievementEnum?null:t.achievementEnum.AudioCode)==t.model.AchievementCategoryCode),m.Hb(1),m.tc("ngIf",(null==t.achievementEnum?null:t.achievementEnum.VideoCode)==t.model.AchievementCategoryCode),m.Hb(3),m.Xc(" ","en"==t.translate.currentLang?t.model.Achievement:t.model.SubjectHindi," "),m.Hb(2),m.Xc(" ","hi"==t.translate.currentLang?t.model.AchievementHindi:t.model.Achievement," "),m.Hb(1),m.tc("ngIf",1==t.model.IsVisibleDate),m.Hb(3),m.tc("ngIf",null==t.model?null:t.model.PdfFIleName),m.Hb(1),m.tc("ngIf",null==t.model?null:t.model.Url),m.Hb(1),m.tc("ngIf",t.isDistrict),m.Hb(1),m.tc("ngIf","en"==t.translate.currentLang?null==t.model?null:t.model.Description:null==t.model?null:t.model.DescriptionHindi),m.Hb(1),m.tc("ngIf","en"==t.translate.currentLang?null==t.model?null:t.model.EditorDetailEnglish:null==t.model?null:t.model.EditorDetail))},directives:[h.d,i.n,i.m,i.l],pipes:[c.c,i.e],styles:[""]}),e})();function ju(e,t){if(1&e&&(m.ac(0,"li",15),m.Vc(1),m.Zb()),2&e){const e=m.mc();m.Hb(1),m.Xc(" ","hi"!=e.translate.currentLang?null==e.pageTitle?null:e.pageTitle.NameEnglish:null==e.pageTitle?null:e.pageTitle.NameHindi," ")}}function $u(e,t){1&e&&(m.ac(0,"li",15),m.Vc(1),m.nc(2,"translate"),m.Zb()),2&e&&(m.Hb(1),m.Xc(" ",m.oc(2,1,"SubCategoryWiseCount_txt")," "))}function Yu(e,t){if(1&e&&(m.ac(0,"span"),m.Vc(1),m.Zb()),2&e){const e=m.mc();m.Hb(1),m.Wc("hi"!=e.translate.currentLang?null==e.pageTitle?null:e.pageTitle.NameEnglish:null==e.pageTitle?null:e.pageTitle.NameHindi)}}function qu(e,t){1&e&&(m.ac(0,"span"),m.Vc(1),m.nc(2,"translate"),m.Zb()),2&e&&(m.Hb(1),m.Wc(m.oc(2,1,"SubCategoryWiseCount_txt")))}function Ju(e,t){if(1&e&&(m.ac(0,"a",4),m.Vc(1),m.Zb()),2&e){const e=m.mc().$implicit,t=m.mc(2);m.wc("routerLink","/pages/dept-profile/",t.catCode,"/",e.Value,""),m.Hb(1),m.Xc(" ","hi"!=t.translate.currentLang?null==e?null:null==e.OtherData?null:e.OtherData.Name:null==e?null:null==e.OtherData?null:e.OtherData.NameHindi," ")}}function Ku(e,t){if(1&e&&(m.ac(0,"a",4),m.Vc(1),m.Zb()),2&e){const e=m.mc().$implicit,t=m.mc(2);m.xc("routerLink","/pages/dept-office-profile/lookup-count/",t.officeCode,"/",t.catCode,"/",e.Value,""),m.Hb(1),m.Yc(" ","hi"!=t.translate.currentLang?null==e?null:null==e.OtherData?null:e.OtherData.Name:null==e?null:null==e.OtherData?null:e.OtherData.NameHindi," (",null==e?null:null==e.OtherData?null:e.OtherData.RecordCount,") ")}}function Qu(e,t){if(1&e&&(m.ac(0,"li"),m.Tc(1,Ju,2,3,"a",19),m.Tc(2,Ku,2,5,"a",19),m.Zb()),2&e){const e=m.mc(2);m.Hb(1),m.tc("ngIf",0==e.officeCode),m.Hb(1),m.tc("ngIf",e.officeCode>0)}}function eb(e,t){if(1&e&&(m.ac(0,"div",16),m.ac(1,"ul",17),m.Tc(2,Qu,3,2,"li",18),m.Zb(),m.Zb()),2&e){const e=m.mc();m.Hb(2),m.tc("ngForOf",e.entryTypes)}}function tb(e,t){1&e&&m.Wb(0,"app-mini-loader")}function nb(e,t){1&e&&m.Wb(0,"app-no-records",20),2&e&&m.tc("showImage",!0)}let ib=(()=>{class e{constructor(e,t,n,i){this._route=e,this.translate=t,this._commonService=n,this._distDeptService=i,this.deptCode=0,this.officeCode=0,this.catCode=0,this.submenuCode=0,this._route.paramMap.subscribe(e=>{this.pageTitle=void 0,this.deptCode=this._commonService.GetWebDistDeptCode();let t=e.get("catCode");this.catCode=t?Number(t):0;let n=e.get("officeCode");this.officeCode=n?Number(n):0;let i=e.get("submenuCode");this.submenuCode=Number(i||0),this.getEntryTypeListByCategory(),this.getPageHeading()})}getPageHeading(){this.submenuCode&&this.submenuCode>0?this.getSubmenuDetail():this.catCode>0&&this.getCategoryDetail()}getSubmenuDetail(){this._distDeptService.GetSubmenuDetail(this.submenuCode).subscribe(e=>{if(e.IsSuccess){let t=e.Data;t&&(this.pageTitle=new s.f,this.pageTitle.NameEnglish=t.DisplayNameEnglish,this.pageTitle.NameHindi=t.DisplayNameHindi,this.pageTitle.ImagePath=t.IconImage,this._commonService.SetWebTitle("hi"==this.translate.currentLang?this.pageTitle.NameHindi:this.pageTitle.NameEnglish))}},e=>{})}ngOnInit(){}getCategoryDetail(){this._distDeptService.GetJankalyanCategoryDetail(this.catCode).subscribe(e=>{if(e.IsSuccess){let t=e.Data;t&&(this.pageTitle=new s.f,this.pageTitle.NameEnglish=t.SubMenuNameEnglish||t.Name,this.pageTitle.NameHindi=t.SubMenuNameHindi||t.NameHindi,this._commonService.SetWebTitle("hi"==this.translate.currentLang?this.pageTitle.NameHindi:this.pageTitle.NameEnglish))}},e=>{console.error(e)})}getEntryTypeListByCategory(){this._distDeptService.GetDeptProfileSubCategories(this.catCode,this.deptCode,this.officeCode).subscribe(e=>{var t;this.entryTypes=e.IsSuccess?null===(t=e)||void 0===t?void 0:t.Data:[]},e=>{console.error(e.message)})}}return e.\u0275fac=function(t){return new(t||e)(m.Vb(h.a),m.Vb(c.d),m.Vb(g.a),m.Vb(p.a))},e.\u0275cmp=m.Pb({type:e,selectors:[["app-dept-profile-sub-categories"]],decls:22,vars:18,consts:[["id","sticky-anchor"],["aria-label","breadcrumb",1,"breadcrumb_nav"],[1,"breadcrumb"],[1,"breadcrumb-item"],[3,"routerLink"],["class","breadcrumb-item active","aria-current","page",4,"ngIf"],[1,"col-lg-12","mt-5"],[1,"title","text-center","mb-1"],[1,"img-fluid",3,"src","title","alt"],[4,"ngIf"],[1,"inner-page","page-about","page-editor-entry-design"],[1,"container"],[1,"row"],["class","col-lg-12",4,"ngIf"],[3,"showImage",4,"ngIf"],["aria-current","page",1,"breadcrumb-item","active"],[1,"col-lg-12"],[1,"quick-link","site-map-link","page-sitemap-list","p-5","page-link-listing"],[4,"ngFor","ngForOf"],[3,"routerLink",4,"ngIf"],[3,"showImage"]],template:function(e,t){1&e&&(m.Wb(0,"div",0),m.ac(1,"nav",1),m.ac(2,"ol",2),m.ac(3,"li",3),m.ac(4,"a",4),m.Vc(5),m.nc(6,"translate"),m.Zb(),m.Zb(),m.Tc(7,ju,2,1,"li",5),m.Tc(8,$u,3,3,"li",5),m.Zb(),m.Zb(),m.ac(9,"div",6),m.ac(10,"h1",7),m.Wb(11,"img",8),m.nc(12,"translate"),m.nc(13,"translate"),m.Tc(14,Yu,2,1,"span",9),m.Tc(15,qu,3,3,"span",9),m.Zb(),m.Zb(),m.ac(16,"section",10),m.ac(17,"div",11),m.ac(18,"div",12),m.Tc(19,eb,3,1,"div",13),m.Tc(20,tb,1,0,"app-mini-loader",9),m.Tc(21,nb,1,1,"app-no-records",14),m.Zb(),m.Zb(),m.Zb()),2&e&&(m.Hb(4),m.uc("routerLink",t._commonService.GetHomePageUrl()),m.Hb(1),m.Wc(m.oc(6,12,"Home_txt")),m.Hb(2),m.tc("ngIf",t.pageTitle),m.Hb(1),m.tc("ngIf",!t.pageTitle),m.Hb(3),m.uc("src",(null==t.pageTitle?null:t.pageTitle.ImagePath)||"assets/images/document_Icon.png",m.Pc),m.uc("title",t.pageTitle?"hi"!=t.translate.currentLang?null==t.pageTitle?null:t.pageTitle.NameEnglish:null==t.pageTitle?null:t.pageTitle.NameHindi:m.oc(12,14,"SubCategoryWiseCount_txt")),m.uc("alt",t.pageTitle?"hi"!=t.translate.currentLang?null==t.pageTitle?null:t.pageTitle.NameEnglish:null==t.pageTitle?null:t.pageTitle.NameHindi:m.oc(13,16,"SubCategoryWiseCount_txt")),m.Hb(3),m.tc("ngIf",t.pageTitle),m.Hb(1),m.tc("ngIf",!t.pageTitle),m.Hb(4),m.tc("ngIf",t.entryTypes&&t.entryTypes.length>0),m.Hb(1),m.tc("ngIf",!t.entryTypes),m.Hb(1),m.tc("ngIf",t.entryTypes&&0==t.entryTypes.length))},directives:[h.d,i.n,i.m,v.a,C.a],pipes:[c.c],styles:[""]}),e})();function ab(e,t){if(1&e&&(m.ac(0,"span"),m.Vc(1),m.Zb()),2&e){const e=m.mc();m.Hb(1),m.Wc("hi"!=e.translate.currentLang?null==e.pageTitle?null:e.pageTitle.NameEnglish:null==e.pageTitle?null:e.pageTitle.NameHindi)}}function cb(e,t){1&e&&(m.ac(0,"span"),m.Vc(1),m.Zb()),2&e&&(m.Hb(1),m.Wc(" "))}function ob(e,t){if(1&e&&(m.ac(0,"span"),m.Vc(1),m.Zb()),2&e){const e=m.mc();m.Hb(1),m.Wc("hi"!=e.translate.currentLang?null==e.pageTitle?null:e.pageTitle.NameEnglish:null==e.pageTitle?null:e.pageTitle.NameHindi)}}function lb(e,t){1&e&&(m.ac(0,"span"),m.Vc(1),m.Zb()),2&e&&(m.Hb(1),m.Wc(" "))}function rb(e,t){if(1&e){const e=m.bc();m.ac(0,"div"),m.ac(1,"a",18),m.ic("click",(function(){m.Mc(e);const n=t.$implicit;return m.mc(2)._commonService.setFocus("record_"+n.Id)})),m.Vc(2),m.Zb(),m.Zb()}if(2&e){const e=t.$implicit,n=t.index,i=m.mc(2);m.Hb(2),m.Yc(" ",(i.departmentProfileFilterModel.IndexModel.Page-1)*i.departmentProfileFilterModel.IndexModel.PageSize+(n+1),". ","en"==i.translate.currentLang?e.LookupTypeName:e.LookupTypeNameHindi," ")}}function sb(e,t){if(1&e){const e=m.bc();m.ac(0,"div"),m.ac(1,"div",25),m.ac(2,"a",26),m.ac(3,"img",27),m.ic("error",(function(t){return m.Mc(e),m.mc(3)._commonService.onImageError(t,"assets/images/record-not-found.png")})),m.Zb(),m.Zb(),m.Zb(),m.Zb()}if(2&e){const e=m.mc().$implicit,t=m.mc(2);m.Hb(2),m.uc("href",null==e?null:e.ImageURL,m.Pc),m.Hb(1),m.uc("src",null==e?null:e.ImageURL,m.Pc),m.uc("title","en"==t.translate.currentLang?e.LookupTypeName:e.LookupTypeNameHindi),m.uc("alt","en"==t.translate.currentLang?e.LookupTypeName:e.LookupTypeNameHindi)}}function db(e,t){if(1&e&&(m.ac(0,"div"),m.ac(1,"div",28),m.ac(2,"a",26),m.Wb(3,"i",29),m.Zb(),m.Zb(),m.Zb()),2&e){const e=m.mc().$implicit;m.Hb(2),m.uc("href",null==e?null:e.PDFURL,m.Pc)}}function mb(e,t){if(1&e&&(m.ac(0,"div",19),m.ac(1,"div",15),m.ac(2,"div",20),m.ac(3,"div",21),m.ac(4,"h2",22),m.Vc(5),m.Zb(),m.ac(6,"div",23),m.Tc(7,sb,4,4,"div",5),m.Tc(8,db,4,1,"div",5),m.Zb(),m.Zb(),m.Wb(9,"pre",24),m.Zb(),m.Zb(),m.Zb()),2&e){const e=t.$implicit,n=t.index,i=m.mc(2);m.uc("id","record_"+e.Id),m.Hb(5),m.Yc(" ",(i.departmentProfileFilterModel.IndexModel.Page-1)*i.departmentProfileFilterModel.IndexModel.PageSize+(n+1),". ","en"==i.translate.currentLang?e.LookupTypeName:e.LookupTypeNameHindi," "),m.Hb(2),m.tc("ngIf",null==e?null:e.ImageURL),m.Hb(1),m.tc("ngIf",null==e?null:e.PDFURL),m.Hb(1),m.tc("innerHTML","hi"==i.translate.currentLang?e.DetailsInHindi:e.Details,m.Nc)}}function ub(e,t){if(1&e&&(m.Yb(0),m.ac(1,"div",14),m.ac(2,"div",9),m.ac(3,"div",15),m.Tc(4,rb,3,2,"div",16),m.Zb(),m.Zb(),m.Zb(),m.ac(5,"div",14),m.Tc(6,mb,10,6,"div",17),m.Zb(),m.Xb()),2&e){const e=m.mc();m.Hb(4),m.tc("ngForOf",e.descriptionModel),m.Hb(2),m.tc("ngForOf",e.descriptionModel)}}function bb(e,t){1&e&&m.Wb(0,"app-mini-loader")}function gb(e,t){1&e&&m.Wb(0,"app-no-records",30),2&e&&m.tc("showImage",!0)}let hb=(()=>{class e{constructor(e,t,n,i,a){this._route=e,this.translate=t,this._commonService=n,this.departmentProfile=i,this._distDeptService=a,this.deptCode=0,this.officeCode=0,this.catCode=0,this.entryTypeCode=0,this.departmentProfileFilterModel=new Ci.c,this.submenuCode=0,this._route.paramMap.subscribe(e=>{this.pageTitle=void 0;let t=e.get("dptCode");this.deptCode=Number(t||this._commonService.GetWebDistDeptCode());let n=e.get("submenuCode");this.submenuCode=Number(n||0);let i=e.get("officeCode");this.officeCode=i?Number(i):0;let a=e.get("catCode");this.catCode=a?Number(a):0;let c=e.get("entryTypeCode");this.entryTypeCode=c?Number(c):0,this.getPageHeading()})}getPageHeading(){this.submenuCode&&this.submenuCode>0?this.getSubmenuDetail():this.entryTypeCode>0&&this.getEntryTypeDetail()}getSubmenuDetail(){this._distDeptService.GetSubmenuDetail(this.submenuCode).subscribe(e=>{if(e.IsSuccess){let t=e.Data;t&&(this.pageTitle=new s.f,this.pageTitle.NameEnglish=t.DisplayNameEnglish,this.pageTitle.NameHindi=t.DisplayNameHindi,this.pageTitle.ImagePath=t.IconImage,this._commonService.SetWebTitle("hi"==this.translate.currentLang?this.pageTitle.NameHindi:this.pageTitle.NameEnglish))}},e=>{})}ngOnInit(){this.departmentProfileFilterModel.IndexModel.Page=1,this.departmentProfileFilterModel.IndexModel.PageSize=101,this.departmentProfileFilterModel.DepartmentCode=this.deptCode,this.departmentProfileFilterModel.OfficeCode=this.officeCode,this.departmentProfileFilterModel.JankalyanCategoryCode=this.catCode,this.departmentProfileFilterModel.EntryTypeCode=this.entryTypeCode,this.getDepartmentProfileListData()}getEntryTypeDetail(){this._distDeptService.GetJankalyanEntryTypeDetail(Number(this.entryTypeCode)).subscribe(e=>{if(e.IsSuccess){let t=e.Data;t&&(this.pageTitle=new s.f,this.pageTitle.NameEnglish=t.SubMenuNameEnglish,this.pageTitle.NameHindi=t.SubMenuNameHindi,this.pageTitle.ImagePath=t.ImagePath,this._commonService.SetWebTitle("hi"==this.translate.currentLang?this.pageTitle.NameHindi:this.pageTitle.NameEnglish))}},e=>{console.error(e)})}getDepartmentProfileListData(){this.departmentProfile.GetList(this.departmentProfileFilterModel).subscribe(e=>{this.descriptionModel=[],e.IsSuccess&&(this.descriptionModel=e.Data.Data)},e=>{console.error(e.message)})}}return e.\u0275fac=function(t){return new(t||e)(m.Vb(h.a),m.Vb(c.d),m.Vb(g.a),m.Vb(Hi.a),m.Vb(p.a))},e.\u0275cmp=m.Pb({type:e,selectors:[["app-dept-profile-sub-category-lookup-list"]],decls:21,vars:14,consts:[["aria-label","breadcrumb",1,"breadcrumb_nav"],[1,"breadcrumb"],[1,"breadcrumb-item"],[3,"routerLink"],["aria-current","page",1,"breadcrumb-item","active"],[4,"ngIf"],[1,"order_page"],[1,"gallery","pt-5"],[1,"container-fluid"],[1,"row"],[1,"col-lg-12","p-0"],[1,"title","text-center"],[1,"img-fluid","mr-10",3,"src","title","alt","error"],[3,"showImage",4,"ngIf"],[1,"container"],[1,"col-lg-12"],[4,"ngFor","ngForOf"],["class","row mt-4 inner-page page-about page-editor-entry-design",3,"id",4,"ngFor","ngForOf"],["href","javascript:void(0);",1,"btn","btn-round","btn-theme","btn-yellow","mb-3",3,"click"],[1,"row","mt-4","inner-page","page-about","page-editor-entry-design",3,"id"],[1,"card-d-1"],[1,"d-md-flex","align-items-center","justify-content-between","mb-2"],[1,"text-color-theme-blue","font-size-3x"],[1,"d-flex","align-items-center"],[3,"innerHTML"],[1,"card-d-1-gallery-img"],["target","_blank",3,"href"],[3,"src","title","alt","error"],[1,"card-d-1-gallery-pdf"],[1,"fas","fa-file-pdf"],[3,"showImage"]],template:function(e,t){1&e&&(m.ac(0,"nav",0),m.ac(1,"ol",1),m.ac(2,"li",2),m.ac(3,"a",3),m.Vc(4),m.nc(5,"translate"),m.Zb(),m.Zb(),m.ac(6,"li",4),m.Tc(7,ab,2,1,"span",5),m.Tc(8,cb,2,1,"span",5),m.Zb(),m.Zb(),m.Zb(),m.ac(9,"section",6),m.ac(10,"section",7),m.ac(11,"div",8),m.ac(12,"div",9),m.ac(13,"div",10),m.ac(14,"h1",11),m.ac(15,"img",12),m.ic("error",(function(e){return t._commonService.onImageError(e,"assets/images/ADVT.png")})),m.Zb(),m.Tc(16,ob,2,1,"span",5),m.Tc(17,lb,2,1,"span",5),m.Zb(),m.Tc(18,ub,7,2,"ng-container",5),m.Tc(19,bb,1,0,"app-mini-loader",5),m.Tc(20,gb,1,1,"app-no-records",13),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.Zb()),2&e&&(m.Hb(3),m.uc("routerLink",t._commonService.GetHomePageUrl()),m.Hb(1),m.Wc(m.oc(5,12,"Home_txt")),m.Hb(3),m.tc("ngIf",t.pageTitle),m.Hb(1),m.tc("ngIf",!t.pageTitle),m.Hb(7),m.uc("title",t.pageTitle?"hi"!=t.translate.currentLang?null==t.pageTitle?null:t.pageTitle.NameEnglish:null==t.pageTitle?null:t.pageTitle.NameHindi:" "),m.uc("alt",t.pageTitle?"hi"!=t.translate.currentLang?null==t.pageTitle?null:t.pageTitle.NameEnglish:null==t.pageTitle?null:t.pageTitle.NameHindi:" "),m.tc("src",null==t.pageTitle?null:t.pageTitle.ImagePath,m.Pc),m.Hb(1),m.tc("ngIf",t.pageTitle),m.Hb(1),m.tc("ngIf",!t.pageTitle),m.Hb(1),m.tc("ngIf",t.descriptionModel&&(null==t.descriptionModel?null:t.descriptionModel.length)>0),m.Hb(1),m.tc("ngIf",!t.descriptionModel),m.Hb(1),m.tc("ngIf",t.descriptionModel&&0==t.descriptionModel.length))},directives:[h.d,i.n,i.m,v.a,C.a],pipes:[c.c],styles:[""]}),e})();function pb(e,t){if(1&e&&(m.ac(0,"span"),m.Vc(1),m.Zb()),2&e){const e=m.mc();m.Hb(1),m.Wc("hi"!=e.translate.currentLang?null==e.pageTitle?null:e.pageTitle.NameEnglish:null==e.pageTitle?null:e.pageTitle.NameHindi)}}function fb(e,t){1&e&&(m.ac(0,"span"),m.Vc(1),m.nc(2,"translate"),m.Zb()),2&e&&(m.Hb(1),m.Xc(" ",m.oc(2,1,"Department_Achivement"),""))}function vb(e,t){if(1&e&&(m.ac(0,"span"),m.Vc(1),m.Zb()),2&e){const e=m.mc();m.Hb(1),m.Wc("hi"!=e.translate.currentLang?null==e.pageTitle?null:e.pageTitle.NameEnglish:null==e.pageTitle?null:e.pageTitle.NameHindi)}}function Cb(e,t){1&e&&(m.ac(0,"span"),m.Vc(1),m.nc(2,"translate"),m.Zb()),2&e&&(m.Hb(1),m.Xc(" ",m.oc(2,1,"Department_Achivement"),""))}function Hb(e,t){if(1&e&&(m.Yb(0),m.ac(1,"tr"),m.ac(2,"td"),m.Vc(3),m.Zb(),m.ac(4,"td"),m.Vc(5),m.Zb(),m.ac(6,"td"),m.Vc(7),m.Zb(),m.ac(8,"td"),m.ac(9,"a",19),m.Vc(10),m.nc(11,"translate"),m.Zb(),m.Zb(),m.Zb(),m.Xb()),2&e){const e=t.$implicit,n=t.index,i=m.mc(2);m.Hb(3),m.Wc(n+1),m.Hb(2),m.Xc(" ","en"==i.translate.currentLang?e.CategoryName:e.CategoryNameHindi," "),m.Hb(2),m.Xc(" ",e.Total," "),m.Hb(2),m.vc("routerLink","/home/departmental-achievements-detail/",null==e?null:e.CategoryCode,""),m.Hb(1),m.Wc(m.oc(11,5,"ViewDetail_txt"))}}function Db(e,t){if(1&e&&(m.ac(0,"div",12),m.ac(1,"div",13),m.ac(2,"div",14),m.ac(3,"table",15),m.ac(4,"thead"),m.ac(5,"tr"),m.ac(6,"th",16),m.Vc(7),m.nc(8,"translate"),m.Zb(),m.ac(9,"th",17),m.Vc(10),m.nc(11,"translate"),m.Zb(),m.ac(12,"th",16),m.Vc(13),m.nc(14,"translate"),m.Zb(),m.ac(15,"th",16),m.Vc(16),m.nc(17,"translate"),m.Zb(),m.Zb(),m.Zb(),m.ac(18,"tbody"),m.Tc(19,Hb,12,7,"ng-container",18),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.Zb()),2&e){const e=m.mc();m.Hb(7),m.Wc(m.oc(8,5,"SrNo_txt")),m.Hb(3),m.Xc(" ",m.oc(11,7,"AchievementCategory_txt")," "),m.Hb(3),m.Wc(m.oc(14,9,"DocumentsCount_txt")),m.Hb(3),m.Wc(m.oc(17,11,"ViewDetail_txt")),m.Hb(3),m.tc("ngForOf",e.achievementDepartmentCategoryList)}}function Mb(e,t){1&e&&m.Wb(0,"app-mini-loader")}function Ib(e,t){1&e&&m.Wb(0,"app-no-records",20),2&e&&m.tc("showImage",!0)}let Zb=(()=>{class e{constructor(e,t,n,i,a){this._departmentAchivementService=e,this._distDeptService=t,this.route=n,this._commonService=i,this.translate=a,this.departmentCode=0,this.submenuCode=0}ngOnInit(){this.GetDepartmentAchivement_DeptCatWiseCount(),this.route.paramMap.subscribe(e=>{this.pageTitle=void 0;let t=e.get("submenuCode");this.submenuCode=Number(t||0),this.getPageHeading()})}getPageHeading(){this.submenuCode>0&&this.getSubmenuDetail()}getSubmenuDetail(){this._distDeptService.GetSubmenuDetail(this.submenuCode).subscribe(e=>{if(e.IsSuccess){let t=e.Data;t&&(this.pageTitle=new s.f,this.pageTitle.NameEnglish=t.DisplayNameEnglish,this.pageTitle.NameHindi=t.DisplayNameHindi,this.pageTitle.ImagePath=t.IconImage,this._commonService.SetWebTitle("hi"==this.translate.currentLang?this.pageTitle.NameHindi:this.pageTitle.NameEnglish))}},e=>{})}GetDepartmentAchivement_DeptCatWiseCount(){this.achievementDepartmentCategoryList=void 0,this.departmentCode=this._commonService.GetWebDistDeptCode(),this._departmentAchivementService.GetDepartmentAchivement_DeptCatWiseCount(this.departmentCode).subscribe(e=>{this.achievementDepartmentCategoryList=e.IsSuccess?e.Data:[]},e=>{this.achievementDepartmentCategoryList=[],console.error(e)})}}return e.\u0275fac=function(t){return new(t||e)(m.Vb(Ra),m.Vb(p.a),m.Vb(h.a),m.Vb(g.a),m.Vb(c.d))},e.\u0275cmp=m.Pb({type:e,selectors:[["app-departmental-achievements"]],decls:18,vars:12,consts:[["aria-label","breadcrumb",1,"breadcrumb_nav"],[1,"breadcrumb"],[1,"breadcrumb-item"],[3,"routerLink"],["aria-current","page",1,"breadcrumb-item","active"],[4,"ngIf"],[1,"inner-page","press-release-list-page"],[1,"container"],[1,"title","text-center"],[1,"img-fluid",3,"src"],["class","row m-0",4,"ngIf"],[3,"showImage",4,"ngIf"],[1,"row","m-0"],[1,"col-lg-12","p-0"],[1,"table-responsive"],["border","0","cellspacing","0","cellpadding","0","width","100%",1,"table","font-14","table-striped","table_order_list","table-custom","table-custom"],["width","20px"],["width","200px"],[4,"ngFor","ngForOf"],[1,"btn","btn-round","btn-theme","btn-yellow","btn-sm","py-1",3,"routerLink"],[3,"showImage"]],template:function(e,t){1&e&&(m.ac(0,"nav",0),m.ac(1,"ol",1),m.ac(2,"li",2),m.ac(3,"a",3),m.Vc(4),m.nc(5,"translate"),m.Zb(),m.Zb(),m.ac(6,"li",4),m.Tc(7,pb,2,1,"span",5),m.Tc(8,fb,3,3,"span",5),m.Zb(),m.Zb(),m.Zb(),m.ac(9,"section",6),m.ac(10,"div",7),m.ac(11,"h1",8),m.Wb(12,"img",9),m.Tc(13,vb,2,1,"span",5),m.Tc(14,Cb,3,3,"span",5),m.Zb(),m.Tc(15,Db,20,13,"div",10),m.Tc(16,Mb,1,0,"app-mini-loader",5),m.Tc(17,Ib,1,1,"app-no-records",11),m.Zb(),m.Zb()),2&e&&(m.Hb(3),m.uc("routerLink",t._commonService.GetHomePageUrl()),m.Hb(1),m.Xc(" ",m.oc(5,10,"Home_txt")," "),m.Hb(3),m.tc("ngIf",t.pageTitle),m.Hb(1),m.tc("ngIf",!t.pageTitle),m.Hb(4),m.uc("src",(null==t.pageTitle?null:t.pageTitle.ImagePath)||"assets/images/requered-doc.png",m.Pc),m.Hb(1),m.tc("ngIf",t.pageTitle),m.Hb(1),m.tc("ngIf",!t.pageTitle),m.Hb(1),m.tc("ngIf",(null==t.achievementDepartmentCategoryList?null:t.achievementDepartmentCategoryList.length)>0),m.Hb(1),m.tc("ngIf",!t.achievementDepartmentCategoryList),m.Hb(1),m.tc("ngIf",t.achievementDepartmentCategoryList&&0==t.achievementDepartmentCategoryList.length))},directives:[h.d,i.n,i.m,v.a,C.a],pipes:[c.c],styles:[""]}),e})();function Tb(e,t){if(1&e&&(m.ac(0,"span"),m.Vc(1),m.Zb()),2&e){const e=m.mc();m.Hb(1),m.Wc("hi"!=e.translate.currentLang?null==e.pageTitle?null:e.pageTitle.NameEnglish:null==e.pageTitle?null:e.pageTitle.NameHindi)}}function yb(e,t){1&e&&(m.ac(0,"span"),m.Vc(1),m.nc(2,"translate"),m.Zb()),2&e&&(m.Hb(1),m.Wc(m.oc(2,1,"Department_Achivement")))}function xb(e,t){if(1&e&&(m.ac(0,"span"),m.Vc(1),m.Zb()),2&e){const e=m.mc();m.Hb(1),m.Wc("hi"!=e.translate.currentLang?null==e.pageTitle?null:e.pageTitle.NameEnglish:null==e.pageTitle?null:e.pageTitle.NameHindi)}}function Pb(e,t){1&e&&(m.ac(0,"span"),m.Vc(1),m.nc(2,"translate"),m.Zb()),2&e&&(m.Hb(1),m.Wc(m.oc(2,1,"Department_Achivement")))}function Sb(e,t){if(1&e){const e=m.bc();m.ac(0,"div",25),m.ac(1,"a",26),m.ic("error",(function(t){return m.Mc(e),m.mc(4)._commonService.onImageError(t,"assets/images/default.png")})),m.ac(2,"img",27),m.ic("error",(function(t){return m.Mc(e),m.mc(4)._commonService.onImageError(t,"assets/images/default.png")})),m.Zb(),m.Zb(),m.ac(3,"p",28),m.Vc(4),m.Zb(),m.Zb()}if(2&e){const e=t.$implicit,n=m.mc(2).$implicit;m.Hb(1),m.tc("href",e,m.Pc),m.Hb(1),m.tc("src",e,m.Pc),m.Hb(2),m.Xc(" ",n.ImageFiles.length," Image")}}function _b(e,t){if(1&e&&(m.ac(0,"div",22),m.ac(1,"div",23),m.Tc(2,Sb,5,3,"div",24),m.Zb(),m.Zb()),2&e){const e=m.mc().$implicit;m.Hb(2),m.tc("ngForOf",e.ImageFiles)}}function wb(e,t){if(1&e&&(m.ac(0,"div",29),m.ac(1,"a",30),m.nc(2,"translate"),m.Wb(3,"i",31),m.Zb(),m.Zb()),2&e){const e=m.mc().$implicit;m.Hb(1),m.uc("title",m.oc(2,2,"ShowPDF_txt")),m.uc("href",null==e?null:e.PdfFIleName,m.Pc)}}function Lb(e,t){if(1&e&&(m.ac(0,"div",14),m.Tc(1,_b,3,1,"div",15),m.ac(2,"div",16),m.ac(3,"h4",17),m.Vc(4),m.Zb(),m.ac(5,"div"),m.ac(6,"div",18),m.Tc(7,wb,4,4,"div",19),m.Zb(),m.Zb(),m.Zb(),m.Wb(8,"hr"),m.ac(9,"div",20),m.ac(10,"ul"),m.ac(11,"li"),m.Wb(12,"p",21),m.Zb(),m.Zb(),m.Zb(),m.Zb()),2&e){const e=t.$implicit;m.mc(2),m.Hb(1),m.tc("ngIf",e.ImageFiles&&e.ImageFiles.length>0),m.Hb(3),m.Xc(" ",e.GeneralDetail,""),m.Hb(3),m.tc("ngIf",null==e?null:e.PdfFIleName),m.Hb(5),m.tc("innerHTML",null==e?null:e.AchievementHindi,m.Nc)}}function Vb(e,t){if(1&e&&(m.Yb(0),m.Tc(1,Lb,13,4,"div",13),m.Xb()),2&e){const e=m.mc();m.Hb(1),m.tc("ngForOf",e.achievementList)}}function kb(e,t){1&e&&m.Wb(0,"app-mini-loader")}function Nb(e,t){1&e&&m.Wb(0,"app-no-records",32),2&e&&m.tc("showImage",!0)}let Ob=(()=>{class e{constructor(e,t,n,i,a,c){this.route=e,this._route=t,this._departmentAchivementService=n,this._commonService=i,this.translate=a,this._dptDistrictWebsiteService=c,this.departmentCode=0,this.cateCode=0,this.filterModel=new Ea,this.submenuCode=0,this._route.paramMap.subscribe(e=>{var t,n,i;this.pageTitle=void 0;let a=null===(i=null===(n=null===(t=this._route)||void 0===t?void 0:t.snapshot)||void 0===n?void 0:n.params)||void 0===i?void 0:i.submenuCode;this.submenuCode=Number(a||0),this.cateCode=Number(e.get("catecode")),this.departmentCode=Number(e.get("dptcode")),null!=this.cateCode&&null!=this.cateCode&&(this.departmentCode=this._commonService.GetWebDistDeptCode(),this.filterModel.CategoryCode=String(this.cateCode),this.filterModel.DepartmentCode=this._commonService.GetWebDistDeptCode(),this.filterModel.PageSize=101,this.GetDepartmentAchivement_DeptCatWiseList()),this.getPageHeading()})}getPageHeading(){this.submenuCode>0?this.getSubmenuDetail():this.departmentCode>0&&this.GetDepartmentAchivement_DeptCatWiseCount()}ngOnInit(){}getSubmenuDetail(){this._dptDistrictWebsiteService.GetSubmenuDetail(this.submenuCode).subscribe(e=>{if(e.IsSuccess){let t=e.Data;t&&(this.pageTitle=new s.f,this.pageTitle.NameEnglish=t.DisplayNameEnglish,this.pageTitle.NameHindi=t.DisplayNameHindi,this.pageTitle.ImagePath=t.IconImage,this._commonService.SetWebTitle("hi"==this.translate.currentLang?this.pageTitle.NameHindi:this.pageTitle.NameEnglish))}},e=>{})}GetDepartmentAchivement_DeptCatWiseList(){this._departmentAchivementService.GetDepartmentAchivement_DeptCatWiseList(this.filterModel).subscribe(e=>{this.achievementList=e.IsSuccess?e.Data.Data:[]},e=>{this.achievementList=[],console.error(e)})}GetDepartmentAchivement_DeptCatWiseCount(){this._departmentAchivementService.GetDepartmentAchivement_DeptCatWiseCount(this.departmentCode).subscribe(e=>{e.IsSuccess&&(this.pageTitle=new s.f,this.categoryModel=e.Data.find(e=>e.CategoryCode==this.cateCode),this.pageTitle.NameEnglish=this.categoryModel.CategoryName,this.pageTitle.NameHindi=this.categoryModel.this.categoryModel)},e=>{console.error(e)})}}return e.\u0275fac=function(t){return new(t||e)(m.Vb(h.b),m.Vb(h.a),m.Vb(Ra),m.Vb(g.a),m.Vb(c.d),m.Vb(p.a))},e.\u0275cmp=m.Pb({type:e,selectors:[["app-departmental-achievements-detail"]],decls:20,vars:12,consts:[["aria-label","breadcrumb",1,"breadcrumb_nav"],[1,"breadcrumb"],[1,"breadcrumb-item"],[3,"routerLink"],["aria-current","page",1,"breadcrumb-item","active"],[4,"ngIf"],[1,"col-lg-12","mt-5"],[1,"title","text-center"],[1,"img-fluid",3,"src"],[1,"inner-page","page-about","page-editor-entry-design"],[1,"container"],[1,"row"],[3,"showImage",4,"ngIf"],["class","col-lg-12",4,"ngFor","ngForOf"],[1,"col-lg-12"],["class","photo-gallery photo-gallery-new-design",4,"ngIf"],[1,"d-flex","justify-content-between","align-items-center"],[1,"m-0"],[1,"col-lg-12","right","d-flex","align-items-center"],["class","page-file-download page-file-download-pos-static ml-3",4,"ngIf"],[1,"about-yajona-text"],[2,"text-align","justify !important",3,"innerHTML"],[1,"photo-gallery","photo-gallery-new-design"],[1,"d-flex","flex-row","flex-wrap","my-flex-container","justify-content-center","photos"],["class","photo-gallery-bx align-items-center d-flex justify-content-center",4,"ngFor","ngForOf"],[1,"photo-gallery-bx","align-items-center","d-flex","justify-content-center"],["data-lightbox","photos","title","",3,"href","error"],["title","","alt","",1,"img-fluid","rounded",3,"src","error"],[1,"mb-0","mt-2","w-100","d-block","text-right","text-muted",2,"font-size","12px"],[1,"page-file-download","page-file-download-pos-static","ml-3"],["target","_blank",1,"page-file-download-btn",3,"title","href"],[1,"fas","fa-file-pdf"],[3,"showImage"]],template:function(e,t){1&e&&(m.ac(0,"nav",0),m.ac(1,"ol",1),m.ac(2,"li",2),m.ac(3,"a",3),m.Vc(4),m.nc(5,"translate"),m.Zb(),m.Zb(),m.ac(6,"li",4),m.Tc(7,Tb,2,1,"span",5),m.Tc(8,yb,3,3,"span",5),m.Zb(),m.Zb(),m.Zb(),m.ac(9,"div",6),m.ac(10,"h1",7),m.Wb(11,"img",8),m.Tc(12,xb,2,1,"span",5),m.Tc(13,Pb,3,3,"span",5),m.Zb(),m.Zb(),m.ac(14,"section",9),m.ac(15,"div",10),m.ac(16,"div",11),m.Tc(17,Vb,2,1,"ng-container",5),m.Tc(18,kb,1,0,"app-mini-loader",5),m.Tc(19,Nb,1,1,"app-no-records",12),m.Zb(),m.Zb(),m.Zb()),2&e&&(m.Hb(3),m.uc("routerLink",t._commonService.GetHomePageUrl()),m.Hb(1),m.Xc(" ",m.oc(5,10,"Home_txt")," "),m.Hb(3),m.tc("ngIf",t.pageTitle),m.Hb(1),m.tc("ngIf",!t.pageTitle||!(null!=t.pageTitle&&t.pageTitle.NameEnglish)||!(null!=t.pageTitle&&t.pageTitle.NameHindi)),m.Hb(3),m.uc("src",(null==t.pageTitle?null:t.pageTitle.ImagePath)||"assets/images/requered-doc.png",m.Pc),m.Hb(1),m.tc("ngIf",t.pageTitle),m.Hb(1),m.tc("ngIf",!t.pageTitle||!(null!=t.pageTitle&&t.pageTitle.NameEnglish)||!(null!=t.pageTitle&&t.pageTitle.NameHindi)),m.Hb(4),m.tc("ngIf",t.achievementList),m.Hb(1),m.tc("ngIf",!t.achievementList),m.Hb(1),m.tc("ngIf",t.achievementList&&0==t.achievementList.length))},directives:[h.d,i.n,i.m,v.a,C.a],pipes:[c.c],styles:[""]}),e})();class Ab{}class Wb{}let Eb=(()=>{class e{constructor(e){this._baseService=e}GetComplianceNoOfEntryInJankalyanReportData(e){return this._baseService.post(r.a.ComplianceNoOfEntryInJankalyanReportDataURL,e)}GetDistrictComplianceFrontReportData(e){return this._baseService.post(r.a.GetDistrictComplianceFrontReportDataURL,e)}GetModuleById(e){const t=new Is.a;return t.Add("Id",e),this._baseService.get(r.a.GetModuleById,t)}}return e.\u0275fac=function(t){return new(t||e)(m.ec(Fa.a))},e.\u0275prov=m.Rb({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function Gb(e,t){if(1&e&&(m.Yb(0),m.ac(1,"a",20),m.Vc(2),m.nc(3,"translate"),m.Zb(),m.Xb()),2&e){const e=m.mc();m.Hb(1),m.vc("routerLink","/cmis-janghoshnapatra/",e.filterModel.DepartmentCode,""),m.Hb(1),m.Xc(" ",m.oc(3,2,"JanGhoshnaPatra_txt"),"")}}function Fb(e,t){if(1&e&&(m.Yb(0),m.Vc(1),m.nc(2,"translate"),m.ac(3,"a",20),m.Vc(4),m.nc(5,"translate"),m.Zb(),m.Xb()),2&e){const e=m.mc();m.Hb(1),m.Xc(" ",m.oc(2,3,"CabinetDecisions_txt")," "),m.Hb(2),m.vc("routerLink","/cmis-cabinetdecisions/",e.filterModel.DepartmentCode,""),m.Hb(1),m.Xc(" ",m.oc(5,5,"CabinetDecisions_txt"),"")}}function Rb(e,t){if(1&e&&(m.Yb(0),m.ac(1,"a",20),m.Vc(2),m.nc(3,"translate"),m.Zb(),m.Xb()),2&e){const e=m.mc();m.Hb(1),m.vc("routerLink","/cmis-cm-announcements/",e.filterModel.DepartmentCode,""),m.Hb(1),m.Xc(" ",m.oc(3,2,"CMAnnouncement_txt"),"")}}function Xb(e,t){if(1&e&&(m.Yb(0),m.ac(1,"a",20),m.Vc(2),m.nc(3,"translate"),m.Zb(),m.Xb()),2&e){const e=m.mc();m.Hb(1),m.vc("routerLink","/cmis-budgetannouncements/",e.filterModel.DepartmentCode,""),m.Hb(1),m.Xc(" ",m.oc(3,2,"BudgetAnnouncement_txt"),"")}}function Bb(e,t){if(1&e&&(m.Yb(0),m.ac(1,"a",20),m.Vc(2),m.nc(3,"translate"),m.Zb(),m.Xb()),2&e){const e=m.mc();m.Hb(1),m.vc("routerLink","/cmis-cabinetdecisions/",e.filterModel.DepartmentCode,""),m.Hb(1),m.Xc(" ",m.oc(3,2,"CMDirection_txt"),"")}}function Ub(e,t){if(1&e&&(m.ac(0,"span"),m.ac(1,"a",22),m.ac(2,"span"),m.Wb(3,"i",23),m.Zb(),m.Zb(),m.Zb()),2&e){const e=t.$implicit;m.Hb(1),m.uc("href",e,m.Pc)}}function zb(e,t){1&e&&(m.ac(0,"samp"),m.Vc(1," --"),m.Zb())}function jb(e,t){if(1&e&&(m.ac(0,"tr"),m.ac(1,"td"),m.Vc(2),m.Zb(),m.ac(3,"td"),m.Vc(4),m.Zb(),m.ac(5,"td"),m.Vc(6),m.Zb(),m.ac(7,"td"),m.Vc(8),m.Zb(),m.ac(9,"td"),m.Tc(10,Ub,4,1,"span",21),m.Tc(11,zb,2,0,"samp",19),m.Zb(),m.Zb()),2&e){const e=t.$implicit,n=t.index;m.Hb(2),m.Wc(n+1),m.Hb(2),m.Wc(e.YearText?e.YearText:"--"),m.Hb(2),m.Xc("",e.Description?e.Description:"--"," "),m.Hb(2),m.Xc("",e.ComplianceDone?e.ComplianceDone:"--"," "),m.Hb(2),m.tc("ngForOf",e.Attachments),m.Hb(1),m.tc("ngIf",0==(null==e.Attachments?null:e.Attachments.length))}}function $b(e,t){if(1&e&&(m.ac(0,"tbody"),m.Tc(1,jb,12,6,"tr",21),m.Zb()),2&e){const e=m.mc();m.Hb(1),m.tc("ngForOf",null==e.model?null:e.model.GovDocumentList)}}function Yb(e,t){if(1&e&&(m.ac(0,"span"),m.ac(1,"a",22),m.ac(2,"span"),m.Wb(3,"i",23),m.Zb(),m.Zb(),m.Zb()),2&e){const e=t.$implicit;m.Hb(1),m.uc("href",e,m.Pc)}}function qb(e,t){1&e&&(m.ac(0,"samp"),m.Vc(1," --"),m.Zb())}function Jb(e,t){if(1&e&&(m.ac(0,"tr"),m.ac(1,"td"),m.Vc(2),m.Zb(),m.ac(3,"td"),m.Vc(4),m.Zb(),m.ac(5,"td"),m.Vc(6),m.Zb(),m.ac(7,"td"),m.Vc(8),m.Zb(),m.ac(9,"td"),m.Tc(10,Yb,4,1,"span",21),m.Tc(11,qb,2,0,"samp",19),m.Zb(),m.Zb()),2&e){const e=t.$implicit,n=t.index;m.Hb(2),m.Wc(n+1),m.Hb(2),m.Wc(e.YearText?e.YearText:"--"),m.Hb(2),m.Xc("",e.Description?e.Description:"--"," "),m.Hb(2),m.Xc("",e.ComplianceDone?e.ComplianceDone:"--"," "),m.Hb(2),m.tc("ngForOf",e.Attachments),m.Hb(1),m.tc("ngIf",0==(null==e.Attachments?null:e.Attachments.length))}}function Kb(e,t){if(1&e&&(m.ac(0,"tbody"),m.Tc(1,Jb,12,6,"tr",21),m.Zb()),2&e){const e=m.mc();m.Hb(1),m.tc("ngForOf",e.distComplianceList)}}let Qb=(()=>{class e{constructor(e,t,n,i){this._complianceService=e,this._commonService=t,this.translate=n,this._route=i,this.filterModel=new Ab,this.moduleModel=new Wb,this.departmentCode="",this.totalEntry=0,this.moduleEnum=Aa.a,this.isDistrict=!1,this.distComplianceList=[],this.isDistrict=t.IsDistrict(),this._route.paramMap.subscribe(e=>{this.moduleId=Number(e.get("modulecode")),this.GetModuleById(this.moduleId),this.filterModel.DepartmentCode=this._commonService.GetWebDistDeptCode(),this.filterModel.ModuleId=this.moduleId,this.isDistrict?this.GetDistComplianceReport():this.GetDeptComplianceReport()})}ngOnInit(){}GetDeptComplianceReport(){this._complianceService.GetComplianceNoOfEntryInJankalyanReportData(this.filterModel).subscribe(e=>{e.IsSuccess&&(this.model=e.Data,this.totalEntry=this.model.ProjectsList.length+this.model.GovDocumentList.length+this.model.SchemeList.length+this.model.GeneralEntryList.length)})}GetDistComplianceReport(){this._complianceService.GetDistrictComplianceFrontReportData(this.filterModel).subscribe(e=>{e.IsSuccess&&(this.distComplianceList=e.Data,this.totalEntry=this.distComplianceList.length)})}GetModuleById(e){this._complianceService.GetModuleById(e).subscribe(e=>{e.IsSuccess&&(this.moduleModel=e.Data)})}}return e.\u0275fac=function(t){return new(t||e)(m.Vb(Eb),m.Vb(g.a),m.Vb(c.d),m.Vb(h.a))},e.\u0275cmp=m.Pb({type:e,selectors:[["app-compliance-report"]],decls:48,vars:39,consts:[["aria-label","breadcrumb",1,"breadcrumb_nav"],[1,"breadcrumb"],[1,"breadcrumb-item"],["routerLink","#"],["aria-current","page",1,"breadcrumb-item","active"],[3,"ngSwitch"],[4,"ngSwitchCase"],[1,"col-lg-12","mt-5"],[1,"title","text-center","mb-1"],["src","assets/images/document_Icon.png",1,"img-fluid",3,"title","alt"],[1,"inner-page","page-jan-entry-details"],[1,"container"],[1,"row"],[1,"col-lg-12"],[1,"table-responsive"],[1,"table","table-striped","table-bordered","font-90","table-w-attachment","mx-100","table-blue"],[2,"width","50px"],[2,"width","100px"],[2,"width","300px"],[4,"ngIf"],[3,"routerLink"],[4,"ngFor","ngForOf"],["target","_blank",1,"btn","btn-info","btn-pdf","pdfbtn",3,"href"],[1,"fas","fa-file-pdf","mr-1"]],template:function(e,t){1&e&&(m.ac(0,"nav",0),m.ac(1,"ol",1),m.ac(2,"li",2),m.ac(3,"a",3),m.Vc(4),m.nc(5,"translate"),m.Zb(),m.Zb(),m.ac(6,"li",4),m.Yb(7,5),m.Tc(8,Gb,4,4,"ng-container",6),m.Tc(9,Fb,6,7,"ng-container",6),m.Tc(10,Rb,4,4,"ng-container",6),m.Tc(11,Xb,4,4,"ng-container",6),m.Tc(12,Bb,4,4,"ng-container",6),m.Xb(),m.Zb(),m.ac(13,"li",4),m.Vc(14),m.nc(15,"translate"),m.Zb(),m.Zb(),m.Zb(),m.ac(16,"div",7),m.ac(17,"h1",8),m.Wb(18,"img",9),m.nc(19,"translate"),m.nc(20,"translate"),m.Vc(21),m.nc(22,"translate"),m.Zb(),m.Zb(),m.ac(23,"section",10),m.ac(24,"div",11),m.ac(25,"div",12),m.ac(26,"div",13),m.ac(27,"div",14),m.ac(28,"table",15),m.ac(29,"thead"),m.ac(30,"tr"),m.ac(31,"th",16),m.Vc(32),m.nc(33,"translate"),m.Zb(),m.ac(34,"th",17),m.Vc(35),m.nc(36,"translate"),m.Zb(),m.ac(37,"th",18),m.Vc(38),m.nc(39,"translate"),m.Zb(),m.ac(40,"th",18),m.Vc(41),m.nc(42,"translate"),m.Zb(),m.ac(43,"th",17),m.Vc(44),m.nc(45,"translate"),m.Zb(),m.Zb(),m.Zb(),m.Tc(46,$b,2,1,"tbody",19),m.Tc(47,Kb,2,1,"tbody",19),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.Zb()),2&e&&(m.Hb(4),m.Xc(" ",m.oc(5,19,"Home_txt"),""),m.Hb(3),m.tc("ngSwitch",t.filterModel.ModuleId),m.Hb(1),m.tc("ngSwitchCase",t.moduleEnum.JanGhoshnaPatraCode),m.Hb(1),m.tc("ngSwitchCase",t.moduleEnum.CabinetDecisionCode),m.Hb(1),m.tc("ngSwitchCase",t.moduleEnum.CMAnnouncementCode),m.Hb(1),m.tc("ngSwitchCase",t.moduleEnum.BudgetAnnouncementCode),m.Hb(1),m.tc("ngSwitchCase",t.moduleEnum.CMDirectionCode),m.Hb(2),m.Xc(" ",m.oc(15,21,"Compilance_Report")," "),m.Hb(4),m.uc("title",m.oc(19,23,"SiteMap_txt")),m.uc("alt",m.oc(20,25,"SiteMap_txt")),m.Hb(3),m.Yc(" ","en"!=t.translate.currentLang?null==t.moduleModel?null:t.moduleModel.ModuleNameHindi:null==t.moduleModel?null:t.moduleModel.modulename," ",m.oc(22,27,"Compilance_Report")," "),m.Hb(11),m.Wc(m.oc(33,29,"SNo_txt")),m.Hb(3),m.Wc(m.oc(36,31,"Year_txt")),m.Hb(3),m.Wc(m.oc(39,33,"Compliance_Required")),m.Hb(3),m.Wc(m.oc(42,35,"Compliance_Done")),m.Hb(3),m.Wc(m.oc(45,37,"Attachments_txt")),m.Hb(2),m.tc("ngIf",!t.isDistrict),m.Hb(1),m.tc("ngIf",t.isDistrict))},directives:[h.d,i.p,i.q,i.n,i.m],pipes:[c.c],styles:[""]}),e})();function eg(e,t){if(1&e&&(m.ac(0,"option",42),m.Vc(1),m.Zb()),2&e){const e=t.$implicit;m.tc("value",e.Value),m.Hb(1),m.Xc("",e.Text," ")}}function tg(e,t){if(1&e){const e=m.bc();m.ac(0,"div",10),m.ac(1,"label"),m.Vc(2),m.nc(3,"translate"),m.Zb(),m.ac(4,"select",11),m.ic("ngModelChange",(function(t){return m.Mc(e),m.mc().model.DepartmentCode=t}))("change",(function(){return m.Mc(e),m.mc().GetSubType()})),m.ac(5,"option",12),m.Vc(6),m.nc(7,"translate"),m.Zb(),m.Tc(8,eg,2,2,"option",13),m.Zb(),m.Zb()}if(2&e){const e=m.mc();m.Hb(2),m.Wc(m.oc(3,4,"Department_txt")),m.Hb(2),m.tc("ngModel",e.model.DepartmentCode),m.Hb(2),m.Xc("--",m.oc(7,6,"Department_txt"),"--"),m.Hb(2),m.tc("ngForOf",null==e.dDLList?null:e.dDLList.ddlDepartmentOrder)}}function ng(e,t){if(1&e&&(m.ac(0,"option",42),m.Vc(1),m.Zb()),2&e){const e=t.$implicit;m.tc("value",e.Value),m.Hb(1),m.Wc(e.Text)}}function ig(e,t){if(1&e&&(m.ac(0,"option",43),m.Vc(1),m.Zb()),2&e){const e=t.$implicit;m.tc("ngValue",e.Value),m.Hb(1),m.Xc(" ",e.Text,"")}}function ag(e,t){if(1&e&&(m.ac(0,"option",43),m.Vc(1),m.Zb()),2&e){const e=t.$implicit;m.tc("ngValue",e.Id),m.Hb(1),m.Xc(" ",e.Lookup,"")}}function cg(e,t){if(1&e&&(m.ac(0,"option",43),m.Vc(1),m.Zb()),2&e){const e=t.$implicit;m.tc("ngValue",e.Value),m.Hb(1),m.Xc(" ",e.Text,"")}}function og(e,t){1&e&&(m.ac(0,"span"),m.ac(1,"strong",47),m.Vc(2),m.nc(3,"translate"),m.Zb(),m.Vc(4," / "),m.Zb()),2&e&&(m.Hb(2),m.Xc(" ",m.oc(3,1,"OrderNo_txt")," "))}function lg(e,t){if(1&e&&(m.Yb(0),m.Tc(1,og,5,3,"span",40),m.Xb()),2&e){const e=m.mc(2);m.Hb(1),m.tc("ngIf",(null==e.orderPublicPortal[0]?null:e.orderPublicPortal[0].TypeDocumentNoMandatory)==e.orderValDocEnum.Yes)}}function rg(e,t){1&e&&(m.ac(0,"strong",47),m.Vc(1),m.nc(2,"translate"),m.Zb(),m.Vc(3," / ")),2&e&&(m.Hb(1),m.Xc(" ",m.oc(2,1,"OrderNo_txt")," "))}function sg(e,t){if(1&e&&(m.Yb(0),m.ac(1,"strong",47),m.Vc(2),m.Zb(),m.Xb()),2&e){const e=m.mc().$implicit,t=m.mc(2);m.Hb(2),m.Xc(" ","en"!=t.translate.currentLang?e.TypeNameHindi:e.TypeName," ")}}function dg(e,t){1&e&&(m.ac(0,"strong",47),m.Vc(1,"N/A"),m.Zb())}function mg(e,t){if(1&e&&(m.Yb(0),m.Vc(1),m.Xb()),2&e){const e=m.mc().$implicit,t=m.mc(2);m.Hb(1),m.Xc(" ","en"!=t.translate.currentLang?e.SubTypeNameHindi:e.SubTypeName," ")}}function ug(e,t){1&e&&(m.ac(0,"strong",47),m.Vc(1,"N/A"),m.Zb())}function bg(e,t){if(1&e&&(m.ac(0,"strong",47),m.Vc(1),m.Zb()),2&e){const e=m.mc().$implicit;m.Hb(1),m.Xc(" ",e.OrderNo," ")}}function gg(e,t){if(1&e&&(m.ac(0,"li",68),m.ac(1,"a",69),m.lc(),m.ac(2,"svg",70),m.Wb(3,"path",71),m.Wb(4,"path",72),m.Zb(),m.Zb(),m.Zb()),2&e){const e=m.mc().$implicit;m.Hb(1),m.uc("href",e.Path,m.Pc)}}function hg(e,t){if(1&e&&(m.Yb(0),m.Tc(1,gg,5,1,"li",67),m.Xb()),2&e){const e=t.$implicit;m.Hb(1),m.tc("ngIf",e.Path||!1)}}function pg(e,t){if(1&e&&(m.ac(0,"ul",65),m.Tc(1,hg,2,1,"ng-container",66),m.Zb()),2&e){const e=m.mc().$implicit;m.Hb(1),m.tc("ngForOf",e.AttachmentList)}}function fg(e,t){if(1&e&&(m.ac(0,"li",68),m.ac(1,"a",69),m.lc(),m.ac(2,"svg",70),m.Wb(3,"path",71),m.Wb(4,"path",72),m.Zb(),m.Zb(),m.Zb()),2&e){const e=m.mc().$implicit;m.Hb(1),m.uc("href",e.Path,m.Pc)}}function vg(e,t){if(1&e&&(m.Yb(0),m.Tc(1,fg,5,1,"li",67),m.Xb()),2&e){const e=t.$implicit;m.Hb(1),m.tc("ngIf",e.Path||!1)}}function Cg(e,t){if(1&e&&(m.ac(0,"ul",65),m.Tc(1,vg,2,1,"ng-container",66),m.Zb()),2&e){const e=m.mc().$implicit;m.Hb(1),m.tc("ngForOf",e.AttachmentList)}}function Hg(e,t){if(1&e&&(m.ac(0,"a",73),m.lc(),m.ac(1,"svg",74),m.Wb(2,"path",75),m.Wb(3,"path",76),m.Zb(),m.Zb()),2&e){const e=m.mc().$implicit;m.uc("href",null==e?null:e.ImagePath,m.Pc)}}function Dg(e,t){if(1&e&&(m.ac(0,"a",77),m.lc(),m.ac(1,"svg",78),m.Wb(2,"path",79),m.Zb(),m.Zb()),2&e){const e=m.mc().$implicit;m.uc("href",null==e?null:e.Url,m.Pc)}}function Mg(e,t){if(1&e&&(m.ac(0,"tr",56),m.ac(1,"td"),m.Vc(2),m.Zb(),m.ac(3,"td"),m.ac(4,"span"),m.Tc(5,sg,3,1,"ng-container",49),m.Tc(6,dg,2,0,"ng-template",null,57,m.Uc),m.Zb(),m.Wb(8,"br"),m.ac(9,"span"),m.Tc(10,mg,2,1,"ng-container",49),m.Tc(11,ug,2,0,"ng-template",null,58,m.Uc),m.Zb(),m.Wb(13,"br"),m.ac(14,"strong",48),m.Vc(15),m.nc(16,"date"),m.Zb(),m.Zb(),m.ac(17,"td"),m.Tc(18,bg,2,1,"strong",59),m.Wb(19,"br"),m.ac(20,"span"),m.Vc(21),m.Zb(),m.Zb(),m.ac(22,"td"),m.Vc(23),m.Zb(),m.ac(24,"td"),m.ac(25,"div",60),m.Tc(26,pg,2,1,"ul",61),m.Tc(27,Cg,2,1,"ul",61),m.Tc(28,Hg,4,1,"a",62),m.Tc(29,Dg,3,1,"a",63),m.ac(30,"a",64),m.Vc(31),m.nc(32,"translate"),m.Zb(),m.Zb(),m.Zb(),m.Zb()),2&e){const e=t.$implicit,n=t.index,i=t.$implicit,a=m.Kc(7),c=m.Kc(12),o=m.mc(2);m.Hb(2),m.Xc(" ",(o.indexModel.Page-1)*o.indexModel.PageSize+(n+1)," "),m.Hb(3),m.tc("ngIf",e.TypeName||e.TypeNameHindi)("ngIfElse",a),m.Hb(5),m.tc("ngIf",e.SubTypeName||e.SubTypeNameHindi)("ngIfElse",c),m.Hb(5),m.Wc(m.pc(16,15,e.Date,o.DateFormat)),m.Hb(3),m.tc("ngIf",e.TypeDocumentNoMandatory==o.orderValDocEnum.Yes),m.Hb(3),m.Wc(e.Title),m.Hb(2),m.Xc(" ","en"!=o.translate.currentLang&&e.DepartmentTitleHindi?e.DepartmentTitleHindi:e.DepartmentTitle," "),m.Hb(3),m.tc("ngIf",e.AttachmentList.length>0&&1==e.IsOldOrder&&0==e.IsAnnexure),m.Hb(1),m.tc("ngIf",e.AttachmentList.length>0&&0==e.IsOldOrder&&1==e.IsAnnexure),m.Hb(1),m.tc("ngIf",e.ImagePath),m.Hb(1),m.tc("ngIf",e.Url),m.Hb(1),m.vc("routerLink","/order/detail/",i.Id,""),m.Hb(1),m.Wc(m.oc(32,18,"ViewDetail_txt"))}}function Ig(e,t){if(1&e){const e=m.bc();m.ac(0,"select",80),m.ic("change",(function(t){return m.Mc(e),m.mc(2).changePageSize(t.target.value)})),m.ac(1,"option",42),m.Vc(2),m.nc(3,"translate"),m.Zb(),m.ac(4,"option",81),m.Vc(5,"10"),m.Zb(),m.ac(6,"option",82),m.Vc(7,"25"),m.Zb(),m.ac(8,"option",83),m.Vc(9,"50"),m.Zb(),m.ac(10,"option",84),m.Vc(11,"100"),m.Zb(),m.Zb()}if(2&e){const e=m.mc(2);m.Hb(1),m.uc("value",e.totalRecords),m.Hb(1),m.Wc(m.oc(3,2,"All_txt"))}}function Zg(e,t){if(1&e){const e=m.bc();m.Yb(0),m.ac(1,"div",44),m.ac(2,"table",45),m.ac(3,"thead"),m.ac(4,"tr"),m.ac(5,"th",46),m.Vc(6),m.nc(7,"translate"),m.Zb(),m.ac(8,"th"),m.ac(9,"strong",47),m.Vc(10),m.nc(11,"translate"),m.Zb(),m.Wb(12,"br"),m.Vc(13),m.nc(14,"translate"),m.Wb(15,"br"),m.ac(16,"strong",48),m.Vc(17),m.nc(18,"translate"),m.Zb(),m.Zb(),m.ac(19,"th"),m.Tc(20,lg,2,1,"ng-container",49),m.Tc(21,rg,4,3,"ng-template",null,50,m.Uc),m.Wb(23,"br"),m.ac(24,"span"),m.Vc(25),m.nc(26,"translate"),m.Zb(),m.Zb(),m.ac(27,"th"),m.Vc(28),m.nc(29,"translate"),m.Zb(),m.ac(30,"th",51),m.Vc(31),m.nc(32,"translate"),m.Zb(),m.Zb(),m.Zb(),m.ac(33,"tbody"),m.Tc(34,Mg,33,20,"tr",52),m.nc(35,"paginate"),m.Zb(),m.Zb(),m.Zb(),m.ac(36,"div",53),m.Tc(37,Ig,12,4,"select",54),m.ac(38,"pagination-controls",55),m.ic("pageChange",(function(t){return m.Mc(e),m.mc().getNextPageRecord(t)})),m.nc(39,"translate"),m.nc(40,"translate"),m.Zb(),m.Zb(),m.Xb()}if(2&e){const e=m.Kc(22),t=m.mc();m.Hb(6),m.Wc(m.oc(7,13,"SrNo_txt")),m.Hb(4),m.Xc(" ",m.oc(11,15,"Type_txt")," / "),m.Hb(3),m.Xc(" ",m.oc(14,17,"SubType_txt")," / "),m.Hb(4),m.Xc(" ",m.oc(18,19,"DateofIssue_txt")," "),m.Hb(3),m.tc("ngIf",t.model.Type>0)("ngIfElse",e),m.Hb(5),m.Xc(" ",m.oc(26,21,"Title_txt")," "),m.Hb(3),m.Wc(m.oc(29,23,"Department_txt")),m.Hb(3),m.Wc(m.oc(32,25,"Documents_txt")),m.Hb(3),m.tc("ngForOf",m.pc(35,27,t.orderPublicPortal,t.pagerConfig)),m.Hb(3),m.tc("ngIf",t.totalRecords>(null==t.indexModel?null:t.indexModel.PageSize)),m.Hb(1),m.uc("previousLabel",m.oc(39,30,"Previous_txt")),m.uc("nextLabel",m.oc(40,32,"Next_txt"))}}function Tg(e,t){1&e&&(m.ac(0,"div",85),m.ac(1,"h3",86),m.Vc(2),m.nc(3,"translate"),m.Zb(),m.Zb()),2&e&&(m.Hb(2),m.Wc(m.oc(3,1,"NoRecordFound_txt")))}const yg=function(e){return{containerClass:"theme-dark-blue",dateInputFormat:e,showWeekNumbers:!1}};let xg=(()=>{class e{constructor(e,t,n,i,a,c,o,l){this.route=e,this.router=t,this.orderService=n,this.commonService=i,this.translate=a,this._orderService=c,this._titleService=o,this._distDeptService=l,this.indexModel=new s.d,this.totalRecords=0,this.orderPublicPortal=[],this.model=new hc.d,this.dDLList=new s.b,this.DateFormat=d.a.DateFormat,this.DatePickerFormat=d.a.DatePickerFormat,this.minimumDate=d.a.MinimumDate,this.ddlDepartment=[],this.orderValDocEnum=gc.f,this.IsLoading=!0,this.ddlOrderSubType=[],this.lookupList=[]}ngOnInit(){this.route.paramMap.subscribe(e=>{this.indexModel=new s.d,this.totalRecords=0,this.orderPublicPortal=[],this.model=new hc.d,this.dDLList=new s.b,this.ddlDepartment=[],this.IsLoading=!0,this.ddlOrderSubType=[],this.model.DepartmentCode=this.commonService.GetWebDistDeptCode(),this.pagerConfig={id:"order",itemsPerPage:this.indexModel.PageSize,currentPage:this.indexModel.Page,totalItems:this.totalRecords},this.saveFilterAndGet(),setTimeout(()=>{this.GetDDLList()},200)})}reset(){this.model=new hc.d,sessionStorage.removeItem("isHistoryBack"),sessionStorage.removeItem("orderFilter"),this.saveFilterAndGet()}GetList(){this.indexModel.PageSize=10,this.model.IndexModel=this.indexModel,this.getFilter(),this.IsLoading=!0,this.orderService.GetAdminLatestOrder(this.model).subscribe(e=>{var t,n,i,a;this.orderPublicPortal=[],e.IsSuccess?(this.orderPublicPortal=null===(n=null===(t=e)||void 0===t?void 0:t.Data)||void 0===n?void 0:n.Data,this.indexModel.IsPostBack||(this.totalRecords=null===(a=null===(i=e)||void 0===i?void 0:i.Data)||void 0===a?void 0:a.TotalRecords),this.updatePageConfig()):this.totalRecords=0,this.IsLoading=!1},e=>{console.error(e.message)})}GetDDLList(){null!=sessionStorage.getItem("odrDDL")?this.dDLList=JSON.parse(sessionStorage.getItem("odrDDL")):this._distDeptService.GetAllDDL(r.a.DDLKeyForAdmLatestOrderList).subscribe(e=>{var t;e.IsSuccess&&(this.dDLList=null===(t=e)||void 0===t?void 0:t.Data,sessionStorage.setItem("odrDDL",JSON.stringify(this.dDLList)))},e=>{console.error(e.message)})}GetSubType(){this.model.SubTypeCode=0,this.ddlOrderSubType=[],(this.model.DepartmentCode>0||this.model.Type>0)&&this._distDeptService.GetOrderSubTypesByFilter(Number(this.model.Type),Number(this.model.DepartmentCode)).subscribe(e=>{e.IsSuccess&&(this.ddlOrderSubType=e.Data)},e=>{})}GetLookupList(){let e=this.model.SubTypeCode;e>0&&this._orderService.GetLookupTypeListByOrderDocumentSubTypeId(e).subscribe(e=>{e.IsSuccess&&(this.lookupList=e.Data)},e=>{console.error(e.message)})}saveFilterAndGet(){if(this.saveFilter(),JSON.parse(localStorage.getItem("IsLatestUpdate"))){let e=new Date((new Date).getTime()-1296e6),t=new Date(Date.UTC(new Date(e).getFullYear(),new Date(e).getMonth(),new Date(e).getDate())).toISOString();this.model.EntryFromDate=t}this.GetList()}getFilter(){1==JSON.parse(sessionStorage.getItem("isHistoryBack"))&&null!=sessionStorage.getItem("orderFilter")&&(sessionStorage.removeItem("isHistoryBack"),this.model=JSON.parse(sessionStorage.getItem("orderFilter")),this.indexModel=this.model.IndexModel,this.updatePageConfig(),this.GetSubType())}saveFilter(){this.model.IndexModel=this.indexModel,sessionStorage.setItem("orderFilter",JSON.stringify(this.model))}getNextPageRecord(e){window.scroll(0,0),this.indexModel.IsPostBack=!0,this.indexModel.Page=e,this.saveFilterAndGet()}changePageSize(e){window.scroll(0,0),this.indexModel.IsPostBack=!0,this.indexModel.PageSize=Number(e),this.indexModel.Page=1,this.saveFilterAndGet()}updatePageConfig(){this.pagerConfig={itemsPerPage:this.indexModel.PageSize,currentPage:this.indexModel.Page,totalItems:this.totalRecords}}ngOnDestroy(){localStorage.removeItem("IsLatestUpdate")}}return e.\u0275fac=function(t){return new(t||e)(m.Vb(h.a),m.Vb(h.b),m.Vb(pc.a),m.Vb(g.a),m.Vb(c.d),m.Vb(pc.a),m.Vb(b.d),m.Vb(p.a))},e.\u0275cmp=m.Pb({type:e,selectors:[["app-adm-dept-latest-orders"]],decls:108,vars:92,consts:[["aria-label","breadcrumb",1,"breadcrumb_nav"],[1,"breadcrumb"],[1,"breadcrumb-item"],[3,"routerLink"],["aria-current","page",1,"breadcrumb-item","active"],[1,"order_page"],[1,"orders_filter"],[1,"container-fluid"],[1,"row","justify-content-center"],["class","col-xl-3 col-lg-3 col-sm-6 col-12 wow fadeInUp",4,"ngIf"],[1,"col-xl-3","col-lg-3","col-sm-6","col-12","wow","fadeInUp"],[1,"form-control",3,"ngModel","ngModelChange","change"],["value","0"],[3,"value",4,"ngFor","ngForOf"],[3,"ngValue",4,"ngFor","ngForOf"],[1,"form-control",3,"ngModel","ngModelChange"],["type"," text",1,"form-control",3,"ngModel","placeholder","ngModelChange"],[1,"col-xl-3","col-lg-3","col-sm-6","col-12","calendar-icon-date","fadeInUp"],["type","text","bsDatepicker","",1,"form-control",3,"placeholder","ngModel","bsConfig","minDate","ngModelChange"],["FromDate","bsDatepicker"],[1,"fas","fa-calendar-alt",3,"click"],["ToDate","bsDatepicker"],[1,"input-group-addon"],[1,"glyphicon","glyphicon-calendar"],[1,"col-lg-2","col-sm-6","col-12"],[1,"btn","btn-success","filter-btn","d-block","w-100",2,"border","none",3,"click"],[1,"fas","fa-search","mr-2"],[1,"btn","btn-danger","filter-btn","d-block","w-100",2,"border","none",3,"click"],[1,"fas","fa-redo-alt","mr-2"],[1,"order-list"],[1,"row"],[1,"col-xl-12"],[1,"title","text-center"],["src","assets/images/document_Icon.png",1,"img-fluid",2,"max-width","45px",3,"title","alt"],[1,"row","mb-5","scheme_search"],[1,"input-group","col-xl-5","m-auto"],["type","search","aria-label","Search",1,"form-control",3,"ngModel","placeholder","ngModelChange"],[1,"input-group-append"],[1,"btn",3,"click"],[1,"fas","fa-search"],[4,"ngIf"],["class","col-lg-12",4,"ngIf"],[3,"value"],[3,"ngValue"],[1,"table-responsive"],[1,"table","table-striped","table-bordered","table-new-design"],["width","80"],[1,"badge","badge-info"],[1,"text-orange"],[4,"ngIf","ngIfElse"],["elseHeader",""],[2,"width","250px"],["class","hovercolor",4,"ngFor","ngForOf"],[1,"new-pagination-outer"],["name","example_length","aria-controls","example","class","form-control-sm","style","width:70px;",3,"change",4,"ngIf"],["autoHide","true",1,"w-100","text-center","mt-4",3,"previousLabel","nextLabel","pageChange"],[1,"hovercolor"],["blankTypeName",""],["blankSTypeName",""],["class","badge badge-info",4,"ngIf"],[1,"d-flex","align-items-center"],["class","image-list",4,"ngIf"],["title","Document Image","target","_blank","class","text-info mr-2",3,"href",4,"ngIf"],["title","Document Url","target","_blank","class","text-primary mr-2",3,"href",4,"ngIf"],["title","detail",1,"btn","btn-dark","px-2","py-1",2,"font-size","100%",3,"routerLink"],[1,"image-list"],[4,"ngFor","ngForOf"],["class","",4,"ngIf"],[1,""],["target","_blank",1,"text-danger",3,"href"],["xmlns","http://www.w3.org/2000/svg","width","30","height","30","fill","currentColor","viewBox","0 0 16 16",1,"bi","bi-file-earmark-pdf"],["d","M14 14V4.5L9.5 0H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2zM9.5 3A1.5 1.5 0 0 0 11 4.5h2V14a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1h5.5v2z"],["d","M4.603 14.087a.81.81 0 0 1-.438-.42c-.195-.388-.13-.776.08-1.102.198-.307.526-.568.897-.787a7.68 7.68 0 0 1 1.482-.645 19.697 19.697 0 0 0 1.062-2.227 7.269 7.269 0 0 1-.43-1.295c-.086-.4-.119-.796-.046-1.136.075-.354.274-.672.65-.823.192-.077.4-.12.602-.077a.7.7 0 0 1 .477.365c.088.164.12.356.127.538.007.188-.012.396-.047.614-.084.51-.27 1.134-.52 1.794a10.954 10.954 0 0 0 .98 1.686 5.753 5.753 0 0 1 1.334.05c.364.066.734.195.96.465.12.144.193.32.2.518.007.192-.047.382-.138.563a1.04 1.04 0 0 1-.354.416.856.856 0 0 1-.51.138c-.331-.014-.654-.196-.933-.417a5.712 5.712 0 0 1-.911-.95 11.651 11.651 0 0 0-1.997.406 11.307 11.307 0 0 1-1.02 1.51c-.292.35-.609.656-.927.787a.793.793 0 0 1-.58.029zm1.379-1.901c-.166.076-.32.156-.459.238-.328.194-.541.383-.647.547-.094.145-.096.25-.04.361.01.022.02.036.026.044a.266.266 0 0 0 .035-.012c.137-.056.355-.235.635-.572a8.18 8.18 0 0 0 .45-.606zm1.64-1.33a12.71 12.71 0 0 1 1.01-.193 11.744 11.744 0 0 1-.51-.858 20.801 20.801 0 0 1-.5 1.05zm2.446.45c.15.163.296.3.435.41.24.19.407.253.498.256a.107.107 0 0 0 .07-.015.307.307 0 0 0 .094-.125.436.436 0 0 0 .059-.2.095.095 0 0 0-.026-.063c-.052-.062-.2-.152-.518-.209a3.876 3.876 0 0 0-.612-.053zM8.078 7.8a6.7 6.7 0 0 0 .2-.828c.031-.188.043-.343.038-.465a.613.613 0 0 0-.032-.198.517.517 0 0 0-.145.04c-.087.035-.158.106-.196.283-.04.192-.03.469.046.822.024.111.054.227.09.346z"],["title","Document Image","target","_blank",1,"text-info","mr-2",3,"href"],["xmlns","http://www.w3.org/2000/svg","width","30","height","30","fill","currentColor","viewBox","0 0 16 16",1,"bi","bi-images"],["d","M4.502 9a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3z"],["d","M14.002 13a2 2 0 0 1-2 2h-10a2 2 0 0 1-2-2V5A2 2 0 0 1 2 3a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v8a2 2 0 0 1-1.998 2zM14 2H4a1 1 0 0 0-1 1h9.002a2 2 0 0 1 2 2v7A1 1 0 0 0 15 11V3a1 1 0 0 0-1-1zM2.002 4a1 1 0 0 0-1 1v8l2.646-2.354a.5.5 0 0 1 .63-.062l2.66 1.773 3.71-3.71a.5.5 0 0 1 .577-.094l1.777 1.947V5a1 1 0 0 0-1-1h-10z"],["title","Document Url","target","_blank",1,"text-primary","mr-2",3,"href"],["xmlns","http://www.w3.org/2000/svg","width","30","height","30","fill","currentColor","viewBox","0 0 16 16",1,"bi","bi-globe2"],["d","M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8zm7.5-6.923c-.67.204-1.335.82-1.887 1.855-.143.268-.276.56-.395.872.705.157 1.472.257 2.282.287V1.077zM4.249 3.539c.142-.384.304-.744.481-1.078a6.7 6.7 0 0 1 .597-.933A7.01 7.01 0 0 0 3.051 3.05c.362.184.763.349 1.198.49zM3.509 7.5c.036-1.07.188-2.087.436-3.008a9.124 9.124 0 0 1-1.565-.667A6.964 6.964 0 0 0 1.018 7.5h2.49zm1.4-2.741a12.344 12.344 0 0 0-.4 2.741H7.5V5.091c-.91-.03-1.783-.145-2.591-.332zM8.5 5.09V7.5h2.99a12.342 12.342 0 0 0-.399-2.741c-.808.187-1.681.301-2.591.332zM4.51 8.5c.035.987.176 1.914.399 2.741A13.612 13.612 0 0 1 7.5 10.91V8.5H4.51zm3.99 0v2.409c.91.03 1.783.145 2.591.332.223-.827.364-1.754.4-2.741H8.5zm-3.282 3.696c.12.312.252.604.395.872.552 1.035 1.218 1.65 1.887 1.855V11.91c-.81.03-1.577.13-2.282.287zm.11 2.276a6.696 6.696 0 0 1-.598-.933 8.853 8.853 0 0 1-.481-1.079 8.38 8.38 0 0 0-1.198.49 7.01 7.01 0 0 0 2.276 1.522zm-1.383-2.964A13.36 13.36 0 0 1 3.508 8.5h-2.49a6.963 6.963 0 0 0 1.362 3.675c.47-.258.995-.482 1.565-.667zm6.728 2.964a7.009 7.009 0 0 0 2.275-1.521 8.376 8.376 0 0 0-1.197-.49 8.853 8.853 0 0 1-.481 1.078 6.688 6.688 0 0 1-.597.933zM8.5 11.909v3.014c.67-.204 1.335-.82 1.887-1.855.143-.268.276-.56.395-.872A12.63 12.63 0 0 0 8.5 11.91zm3.555-.401c.57.185 1.095.409 1.565.667A6.963 6.963 0 0 0 14.982 8.5h-2.49a13.36 13.36 0 0 1-.437 3.008zM14.982 7.5a6.963 6.963 0 0 0-1.362-3.675c-.47.258-.995.482-1.565.667.248.92.4 1.938.437 3.008h2.49zM11.27 2.461c.177.334.339.694.482 1.078a8.368 8.368 0 0 0 1.196-.49 7.01 7.01 0 0 0-2.275-1.52c.218.283.418.597.597.932zm-.488 1.343a7.765 7.765 0 0 0-.395-.872C9.835 1.897 9.17 1.282 8.5 1.077V4.09c.81-.03 1.577-.13 2.282-.287z"],["name","example_length","aria-controls","example",1,"form-control-sm",2,"width","70px",3,"change"],["selected","","value","10"],["value","25"],["value","50"],["value","100"],[1,"col-lg-12"],[1,"text-center"]],template:function(e,t){if(1&e){const e=m.bc();m.ac(0,"nav",0),m.ac(1,"ol",1),m.ac(2,"li",2),m.ac(3,"a",3),m.Vc(4),m.nc(5,"translate"),m.Zb(),m.Zb(),m.ac(6,"li",4),m.Vc(7),m.nc(8,"translate"),m.Zb(),m.Zb(),m.Zb(),m.ac(9,"section",5),m.ac(10,"div",6),m.ac(11,"div",7),m.ac(12,"div",8),m.Tc(13,tg,9,8,"div",9),m.ac(14,"div",10),m.ac(15,"label"),m.Vc(16),m.nc(17,"translate"),m.Zb(),m.ac(18,"select",11),m.ic("ngModelChange",(function(e){return t.model.Type=e}))("change",(function(){return t.GetSubType()})),m.ac(19,"option",12),m.Vc(20),m.nc(21,"translate"),m.Zb(),m.Tc(22,ng,2,2,"option",13),m.Zb(),m.Zb(),m.ac(23,"div",10),m.ac(24,"label"),m.Vc(25),m.nc(26,"translate"),m.Zb(),m.ac(27,"select",11),m.ic("ngModelChange",(function(e){return t.model.SubTypeCode=e}))("change",(function(){return t.GetLookupList()})),m.ac(28,"option",12),m.Vc(29),m.nc(30,"translate"),m.Zb(),m.Tc(31,ig,2,2,"option",14),m.Zb(),m.Zb(),m.ac(32,"div",10),m.ac(33,"label"),m.Vc(34),m.nc(35,"translate"),m.Zb(),m.ac(36,"select",15),m.ic("ngModelChange",(function(e){return t.model.LookupCode=e})),m.ac(37,"option",12),m.Vc(38),m.nc(39,"translate"),m.Zb(),m.Tc(40,ag,2,2,"option",14),m.Zb(),m.Zb(),m.ac(41,"div",10),m.ac(42,"label"),m.Vc(43),m.nc(44,"translate"),m.Zb(),m.ac(45,"input",16),m.ic("ngModelChange",(function(e){return t.model.OrderNo=e})),m.nc(46,"translate"),m.Zb(),m.Zb(),m.ac(47,"div",10),m.ac(48,"label"),m.Vc(49),m.nc(50,"translate"),m.Zb(),m.ac(51,"select",15),m.ic("ngModelChange",(function(e){return t.model.BeneficiaryCategory=e})),m.ac(52,"option",12),m.Vc(53),m.nc(54,"translate"),m.Zb(),m.Tc(55,cg,2,2,"option",14),m.Zb(),m.Zb(),m.ac(56,"div",17),m.ac(57,"label"),m.Vc(58),m.nc(59,"translate"),m.Zb(),m.ac(60,"input",18,19),m.ic("ngModelChange",(function(e){return t.model.FromDate=e})),m.nc(62,"translate"),m.Zb(),m.ac(63,"i",20),m.ic("click",(function(){return m.Mc(e),m.Kc(61).toggle()})),m.Zb(),m.Zb(),m.ac(64,"div",17),m.ac(65,"label"),m.Vc(66),m.nc(67,"translate"),m.Zb(),m.ac(68,"input",18,21),m.ic("ngModelChange",(function(e){return t.model.ToDate=e})),m.nc(70,"translate"),m.Zb(),m.ac(71,"i",20),m.ic("click",(function(){return m.Mc(e),m.Kc(69).toggle()})),m.Zb(),m.ac(72,"span",22),m.Wb(73,"span",23),m.Zb(),m.Zb(),m.Zb(),m.ac(74,"div",8),m.ac(75,"div",24),m.ac(76,"label"),m.Vc(77,"\xa0"),m.Zb(),m.ac(78,"button",25),m.ic("click",(function(){return t.indexModel.Page=1,t.saveFilterAndGet()})),m.Wb(79,"i",26),m.Vc(80),m.nc(81,"translate"),m.Zb(),m.Zb(),m.ac(82,"div",24),m.ac(83,"label"),m.Vc(84,"\xa0"),m.Zb(),m.ac(85,"button",27),m.ic("click",(function(){return t.reset()})),m.Wb(86,"i",28),m.Vc(87),m.nc(88,"translate"),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.ac(89,"section",29),m.ac(90,"div",7),m.ac(91,"div",30),m.ac(92,"div",31),m.ac(93,"h1",32),m.Wb(94,"img",33),m.nc(95,"translate"),m.nc(96,"translate"),m.Vc(97),m.nc(98,"translate"),m.Zb(),m.ac(99,"div",34),m.ac(100,"div",35),m.ac(101,"input",36),m.ic("ngModelChange",(function(e){return t.model.Search=e})),m.nc(102,"translate"),m.Zb(),m.ac(103,"div",37),m.ac(104,"button",38),m.ic("click",(function(){return t.indexModel.Page=1,t.saveFilterAndGet()})),m.Wb(105,"i",39),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.Tc(106,Zg,41,34,"ng-container",40),m.Tc(107,Tg,4,3,"div",41),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.Zb()}if(2&e){const e=m.Kc(61),n=m.Kc(69);m.Hb(3),m.uc("routerLink",t.commonService.GetHomePageUrl()),m.Hb(1),m.Wc(m.oc(5,44,"Home_txt")),m.Hb(3),m.Xc(" ",m.oc(8,46,"AdminDeptUpdate_txt")," "),m.Hb(6),m.tc("ngIf",!1),m.Hb(3),m.Wc(m.oc(17,48,"Type_txt")),m.Hb(2),m.tc("ngModel",t.model.Type),m.Hb(2),m.Xc("--",m.oc(21,50,"Type_txt"),"--"),m.Hb(2),m.tc("ngForOf",null==t.dDLList?null:t.dDLList.ddlOrderType),m.Hb(3),m.Wc(m.oc(26,52,"SubType_txt")),m.Hb(2),m.tc("ngModel",t.model.SubTypeCode),m.Hb(2),m.Xc("--",m.oc(30,54,"SubType_txt"),"--"),m.Hb(2),m.tc("ngForOf",t.ddlOrderSubType),m.Hb(3),m.Wc(m.oc(35,56,"LookupType_txt")),m.Hb(2),m.tc("ngModel",t.model.LookupCode),m.Hb(2),m.Xc("--",m.oc(39,58,"LookupType_txt"),"--"),m.Hb(2),m.tc("ngForOf",t.lookupList),m.Hb(3),m.Wc(m.oc(44,60,"OrderCircularNotificationPolicyNo_txt")),m.Hb(2),m.uc("placeholder",m.oc(46,62,"OrderCircularNotificationPolicyNo_txt")),m.tc("ngModel",t.model.OrderNo),m.Hb(4),m.Wc(m.oc(50,64,"BeneficiaryCategory_txt")),m.Hb(2),m.tc("ngModel",t.model.BeneficiaryCategory),m.Hb(2),m.Xc("--",m.oc(54,66,"BeneficiaryCategory_txt"),"--"),m.Hb(2),m.tc("ngForOf",null==t.dDLList?null:t.dDLList.ddlBeneficiaryCategory),m.Hb(3),m.Xc("",m.oc(59,68,"FromDate_txt")," "),m.Hb(2),m.uc("placeholder",m.oc(62,70,"FromDate_txt")),m.tc("ngModel",t.model.FromDate)("bsConfig",m.Ec(88,yg,t.DatePickerFormat))("minDate",t.minimumDate),m.Hb(3),m.Ib("aria-expanded",e.isOpen),m.Hb(3),m.Wc(m.oc(67,72,"ToDate_txt")),m.Hb(2),m.uc("placeholder",m.oc(70,74,"ToDate_txt")),m.tc("ngModel",t.model.ToDate)("bsConfig",m.Ec(90,yg,t.DatePickerFormat))("minDate",t.model.FromDate?t.model.FromDate:t.minimumDate),m.Hb(3),m.Ib("aria-expanded",n.isOpen),m.Hb(9),m.Xc(" ",m.oc(81,76,"Search_txt")," "),m.Hb(7),m.Xc(" ",m.oc(88,78,"Reset_txt")," "),m.Hb(7),m.uc("title",m.oc(95,80,"AdminDeptUpdate_txt")),m.uc("alt",m.oc(96,82,"AdminDeptUpdate_txt")),m.Hb(3),m.Xc(" ",m.oc(98,84,"AdminDeptUpdate_txt")," "),m.Hb(4),m.uc("placeholder",m.oc(102,86,"Search_txt")),m.tc("ngModel",t.model.Search),m.Hb(5),m.tc("ngIf",(null==t.orderPublicPortal?null:t.orderPublicPortal.length)>0),m.Hb(1),m.tc("ngIf",0==t.orderPublicPortal.length&&!t.IsLoading)}},directives:[h.d,i.n,a.u,a.m,a.p,a.q,a.w,i.m,a.b,Nd.b,Nd.a,f.c],pipes:[c.c,f.b,i.e],styles:[""]}),e})();function Pg(e,t){1&e&&m.Wb(0,"i",23)}function Sg(e,t){1&e&&m.Wb(0,"i",24)}const _g=function(e){return{cursor:e}};function wg(e,t){if(1&e&&(m.ac(0,"div",15),m.ac(1,"div",16),m.ac(2,"a",17),m.Wb(3,"img",18),m.Zb(),m.ac(4,"div",19),m.ac(5,"a",20),m.Tc(6,Pg,1,0,"i",21),m.Tc(7,Sg,1,0,"i",22),m.Vc(8),m.Zb(),m.Zb(),m.Zb(),m.Zb()),2&e){const e=t.$implicit;m.Hb(2),m.tc("ngStyle",m.Ec(10,_g,e.AttachmentPath||e.URL?"cursor":"initial")),m.Ib("href",e.AttachmentPath||e.URL||null,m.Pc),m.Hb(1),m.tc("src",e.IconPath||"assets/images/departmental_galley.png",m.Pc)("alt",e.Subject)("title",e.Subject),m.Hb(2),m.tc("ngStyle",m.Ec(12,_g,e.AttachmentPath||e.URL?"cursor":"initial")),m.Ib("href",e.AttachmentPath||e.URL||null,m.Pc),m.Hb(1),m.tc("ngIf",e.AttachmentPath),m.Hb(1),m.tc("ngIf",e.URL&&!e.AttachmentPath),m.Hb(1),m.Xc(" ",e.Subject," ")}}function Lg(e,t){if(1&e&&(m.ac(0,"section",13),m.ac(1,"div",9),m.Tc(2,wg,9,14,"div",14),m.Zb(),m.Zb()),2&e){const e=m.mc();m.Hb(2),m.tc("ngForOf",e.iconData)}}function Vg(e,t){if(1&e&&(m.ac(0,"section",13),m.ac(1,"div",25),m.Wb(2,"iframe",26),m.nc(3,"safeUrl"),m.Zb(),m.Zb()),2&e){const e=m.mc();m.Hb(2),m.tc("src",m.oc(3,1,e.flipBookIframeUrl),m.Oc)}}function kg(e,t){if(1&e&&(m.ac(0,"td"),m.Vc(1),m.nc(2,"date"),m.Zb()),2&e){const e=m.mc().$implicit;m.Hb(1),m.Wc(m.pc(2,1,e.Date,"d MMM, y"))}}function Ng(e,t){if(1&e&&(m.ac(0,"td"),m.Vc(1),m.Zb()),2&e){const e=m.mc().$implicit;m.Hb(1),m.Wc(e.HindiDate)}}function Og(e,t){if(1&e&&(m.ac(0,"a",36),m.Wb(1,"i",37),m.Zb()),2&e){const e=m.mc().$implicit;m.tc("href",e.URL,m.Pc)}}function Ag(e,t){if(1&e&&(m.ac(0,"a",36),m.Wb(1,"i",38),m.Zb()),2&e){const e=m.mc().$implicit;m.tc("href",e.AttachmentPath,m.Pc)}}function Wg(e,t){if(1&e&&(m.ac(0,"tr"),m.ac(1,"td"),m.Vc(2),m.Zb(),m.ac(3,"td"),m.Vc(4),m.Zb(),m.Tc(5,kg,3,4,"td",32),m.Tc(6,Ng,2,1,"td",32),m.ac(7,"td"),m.ac(8,"div",34),m.Tc(9,Og,2,1,"a",35),m.Tc(10,Ag,2,1,"a",35),m.Zb(),m.Zb(),m.Zb()),2&e){const e=t.$implicit,n=t.index,i=m.mc(2);m.Hb(2),m.Wc(n+1),m.Hb(2),m.Wc(e.Subject),m.Hb(1),m.tc("ngIf","en"==i.translate.currentLang),m.Hb(1),m.tc("ngIf","en"!=i.translate.currentLang),m.Hb(3),m.tc("ngIf",e.URL),m.Hb(1),m.tc("ngIf",e.AttachmentPath)}}function Eg(e,t){1&e&&m.Wb(0,"app-mini-loader")}function Gg(e,t){1&e&&m.Wb(0,"app-no-records",39),2&e&&m.tc("showImage",!0)}function Fg(e,t){if(1&e&&(m.ac(0,"div",27),m.ac(1,"table",28),m.ac(2,"thead"),m.ac(3,"tr"),m.ac(4,"th",29),m.Vc(5),m.nc(6,"translate"),m.Zb(),m.ac(7,"th"),m.Vc(8),m.nc(9,"translate"),m.Zb(),m.ac(10,"th"),m.Vc(11),m.nc(12,"translate"),m.Zb(),m.ac(13,"th",30),m.Vc(14),m.nc(15,"translate"),m.Zb(),m.Zb(),m.Zb(),m.ac(16,"tbody"),m.Tc(17,Wg,11,6,"tr",31),m.Zb(),m.Zb(),m.Tc(18,Eg,1,0,"app-mini-loader",32),m.Tc(19,Gg,1,1,"app-no-records",33),m.Zb()),2&e){const e=m.mc();m.Hb(5),m.Wc(m.oc(6,7,"SrNo_txt")),m.Hb(3),m.Wc(m.oc(9,9,"Subject_txt")),m.Hb(3),m.Wc(m.oc(12,11,"Date_txt")),m.Hb(3),m.Wc(m.oc(15,13,"Action_txt")),m.Hb(3),m.tc("ngForOf",e.listData),m.Hb(1),m.tc("ngIf",!e.listData),m.Hb(1),m.tc("ngIf",e.listData&&0==e.listData.length)}}let Rg=(()=>{class e{constructor(e,t,n){this._dptDistrictWebsiteService=e,this._commonService=t,this.translate=n,this.dataType=xi.a,this.flipBookUrl=""}ngOnInit(){let e=this._commonService.GetWebDistDeptCode();this.getDeptAssetsIconAndList(e),this._commonService.SetWebTitle("en"==this.translate.currentLang?"Important Updates":"\u092e\u0939\u0924\u094d\u0935\u092a\u0942\u0930\u094d\u0923 \u0905\u092a\u0921\u0947\u091f")}getDeptAssetsIconAndList(e){this._dptDistrictWebsiteService.GetDeptAssetsIconAndList(e).subscribe(e=>{if(e.IsSuccess){this.listData=[],this.iconData=[],this.flipBookIframeUrl=void 0;const t=e.Data.Data||[];t.forEach(e=>{if(e.DataTypeCode===this.dataType.Assets_DataType_Icon||e.DataTypeCode===this.dataType.AssetsLocal_DataType_Icon)this.iconData.push(e);else if(e.DataTypeCode===this.dataType.Assets_DataType_List||e.DataTypeCode===this.dataType.AssetsLocal_DataType_List)this.listData.push(e);else if(!(e.DataTypeCode!==this.dataType.Assets_DataType_Assets&&e.DataTypeCode!==this.dataType.AssetsLocal_DataType_Assets||e.CategoryCode!=this.dataType.Assets_EBookletFlipBookFrom&&e.CategoryCode!=this.dataType.AssetsLocal_EBookletFlipBookFrom)){var n=t.filter(e=>e.CategoryCode==this.dataType.Assets_EBookletFlipBookFrom||e.CategoryCode==this.dataType.AssetsLocal_EBookletFlipBookFrom);n&&n.length>0&&(this.flipBookIframeUrl=d.a.FlipBookUrl+n[0].AttachmentPath,console.log(this.flipBookIframeUrl))}})}else this.flipBookIframeUrl=void 0,this.listData=[],this.iconData=[]},()=>{this.flipBookIframeUrl=void 0,this.listData=[],this.iconData=[]})}}return e.\u0275fac=function(t){return new(t||e)(m.Vb(p.a),m.Vb(g.a),m.Vb(c.d))},e.\u0275cmp=m.Pb({type:e,selectors:[["app-assets-list"]],decls:22,vars:18,consts:[["aria-label","breadcrumb",1,"breadcrumb_nav"],[1,"breadcrumb"],[1,"breadcrumb-item"],["routerLink","#"],["aria-current","page",1,"breadcrumb-item","active"],[1,"inner-page","page-budget"],[1,"title","text-center"],["src","assets/images/Important_decision.png",1,"img-fluid",2,"max-width","45px",3,"title","alt"],[1,"container"],[1,"row"],[1,"col-lg-12","col-xl-12","p-4","page-budget-left-aside"],["class","budget-doc-bg",4,"ngIf"],["class","table-responsive table-shadow mt-5",4,"ngIf"],[1,"budget-doc-bg"],["class","budget-doc-items m-4",4,"ngFor","ngForOf"],[1,"budget-doc-items","m-4"],[1,"budget-doc"],["target","_blank",1,"budget-doc-img","d-flex","align-items-center","justify-content-center",3,"ngStyle"],[3,"src","alt","title"],[1,"budget-doc-btn"],["target","_blank",1,"btn",3,"ngStyle"],["class","bi bi-file-earmark-pdf mr-2",4,"ngIf"],["class","bi bi-globe mr-2",4,"ngIf"],[1,"bi","bi-file-earmark-pdf","mr-2"],[1,"bi","bi-globe","mr-2"],[1,"flip-book","w-100"],["height","950","width","100%",3,"src"],[1,"table-responsive","table-shadow","mt-5"],["border","0","cellspacing","0","cellpadding","0","width","100%",1,"table","font-14","table-striped","table_order_list","table-custom","table-custom","m-0"],[2,"width","80px"],[2,"width","150px"],[4,"ngFor","ngForOf"],[4,"ngIf"],[3,"showImage",4,"ngIf"],[1,"new-action-btn"],["target","_blank",3,"href",4,"ngIf"],["target","_blank",3,"href"],[1,"bi","bi-globe","text-primary"],[1,"bi","bi-file-earmark-pdf","text-danger"],[3,"showImage"]],template:function(e,t){1&e&&(m.ac(0,"nav",0),m.ac(1,"ol",1),m.ac(2,"li",2),m.ac(3,"a",3),m.Vc(4),m.nc(5,"translate"),m.Zb(),m.Zb(),m.ac(6,"li",4),m.Vc(7),m.nc(8,"translate"),m.Zb(),m.Zb(),m.Zb(),m.ac(9,"section",5),m.ac(10,"h1",6),m.Wb(11,"img",7),m.nc(12,"translate"),m.nc(13,"translate"),m.Vc(14),m.nc(15,"translate"),m.Zb(),m.ac(16,"div",8),m.ac(17,"div",9),m.ac(18,"div",10),m.Tc(19,Lg,3,1,"section",11),m.Tc(20,Vg,4,3,"section",11),m.Tc(21,Fg,20,15,"div",12),m.Zb(),m.Zb(),m.Zb(),m.Zb()),2&e&&(m.Hb(4),m.Xc(" ",m.oc(5,8,"Home_txt"),""),m.Hb(3),m.Wc(m.oc(8,10,"ImportantUpdates_txt")),m.Hb(4),m.uc("title",m.oc(12,12,"ImportantUpdates_txt")),m.uc("alt",m.oc(13,14,"ImportantUpdates_txt")),m.Hb(3),m.Xc(" ",m.oc(15,16,"ImportantUpdates_txt")," "),m.Hb(5),m.tc("ngIf",null!=t.iconData&&t.iconData.length>0),m.Hb(1),m.tc("ngIf",t.flipBookIframeUrl),m.Hb(1),m.tc("ngIf",null!=t.listData&&t.listData.length>0))},directives:[h.d,i.n,i.m,i.o,v.a,C.a],pipes:[c.c,Ia,i.e],styles:[".page-budget-right-aside[_ngcontent-%COMP%]{background:#ad1c05}.budget-profile[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:85px}.budget-profile[_ngcontent-%COMP%]{height:120px;width:120px;margin:auto;background:#fff;border-radius:100%;border:2px solid #fff;box-shadow:0 0 20px #172366}.budget-iframe[_ngcontent-%COMP%], .budget-iframe[_ngcontent-%COMP%] iframe[_ngcontent-%COMP%]{border-radius:20px}.budget-iframe[_ngcontent-%COMP%]{background:#fff;padding:10px;overflow:hidden}.budget-remark[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]{background:rgba(0,0,0,.4);border:none;border-radius:15px}.page-budget-right-card[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:28px;font-weight:600;margin-bottom:20px}.page-budget-right-card-img[_ngcontent-%COMP%]{border-radius:20px;overflow:hidden;box-shadow:0 0 20px #c7c299}.budget-remark[_ngcontent-%COMP%]{background:rgba(0,0,0,.5);color:#fff;padding:10px;border-radius:10px;box-shadow:0 0 20px #2a3b9b}.budget-remark[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:95%;line-height:25px}.budget-card-list[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:150%;font-weight:600;margin-bottom:7px;color:#1f285a}.budget-card-list[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;font-size:95%;white-space:normal}.page-budget-right-card[_ngcontent-%COMP%] .budget-card-list[_ngcontent-%COMP%]:nth-child(odd){background:hsla(0,0%,100%,.6)}.budget-card-list[_ngcontent-%COMP%]{background:#fff!important;padding:12px;border-radius:15px;margin-bottom:12px;box-shadow:0 0 10px #7e1606}.budget-doc-img[_ngcontent-%COMP%]{height:150px;width:150px;background:#fff;border-radius:20px;margin:auto;outline:4px double #e5e5e5;outline-offset:3px}.budget-doc-img[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:130px}.budget-doc-btn[_ngcontent-%COMP%]{text-align:center;margin-top:25px}.budget-doc-btn[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{height:25px;width:25px;margin-right:6px}.budget-doc-btn[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;-webkit-box-pack:center;justify-content:center;margin:auto;background:#ab3566;font-size:135%;font-weight:600;color:#fff;text-transform:uppercase;padding:10px;border:2px solid transparent;border-radius:10px;box-shadow:0 0 11px #5b6fdd}.budget-doc-btn[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]:hover{background:#151d4c}.budget-doc-bg[_ngcontent-%COMP%]{margin-bottom:20px}.outerContainer[_ngcontent-%COMP%]{width:100%!important;height:90%!important;position:absolute!important;z-index:99999!important}"]}),e})();var Xg=n("71LL");const Bg=["skipperMainContent"],Ug=["skipperMenuContent"],zg=["pageBody"];function jg(e,t){if(1&e&&(m.ac(0,"span"),m.Vc(1),m.Zb()),2&e){const e=m.mc(2);m.Hb(1),m.Wc("hi"!=e.translate.currentLang?null==e.pageTitle?null:e.pageTitle.NameEnglish:null==e.pageTitle?null:e.pageTitle.NameHindi)}}function $g(e,t){1&e&&(m.ac(0,"span"),m.Vc(1),m.Zb()),2&e&&(m.Hb(1),m.Wc(" "))}function Yg(e,t){if(1&e&&(m.ac(0,"nav",8),m.ac(1,"div",9),m.ac(2,"ol",10),m.ac(3,"li",11),m.ac(4,"a",12),m.Vc(5),m.nc(6,"translate"),m.Zb(),m.Zb(),m.ac(7,"li",13),m.Tc(8,jg,2,1,"span",5),m.Tc(9,$g,2,1,"span",5),m.Zb(),m.Zb(),m.Zb(),m.Zb()),2&e){const e=m.mc();m.Hb(4),m.uc("routerLink",e.commonService.GetHomePageUrl()),m.Hb(1),m.Wc(m.oc(6,4,"Home_txt")),m.Hb(3),m.tc("ngIf",e.pageTitle),m.Hb(1),m.tc("ngIf",!e.pageTitle)}}function qg(e,t){if(1&e&&(m.ac(0,"span"),m.Vc(1),m.Zb()),2&e){const e=m.mc();m.Hb(1),m.Wc("hi"!=e.translate.currentLang?null==e.pageTitle?null:e.pageTitle.NameEnglish:null==e.pageTitle?null:e.pageTitle.NameHindi)}}function Jg(e,t){1&e&&(m.ac(0,"span"),m.Vc(1),m.Zb()),2&e&&(m.Hb(1),m.Wc(" "))}function Kg(e,t){if(1&e&&(m.ac(0,"div",18),m.ac(1,"div",19),m.Wb(2,"p",20),m.Zb(),m.Zb()),2&e){const e=m.mc(2);m.Hb(2),m.tc("innerHTML",e.sanitizer.bypassSecurityTrustHtml("hi"==e.translate.currentLang&&null!=e.model&&e.model.DescriptionHindi?null==e.model?null:e.model.DescriptionHindi:null==e.model?null:e.model.DescriptionEng),m.Nc)}}function Qg(e,t){if(1&e&&(m.ac(0,"section",14),m.ac(1,"div",15),m.ac(2,"div",16),m.Wb(3,"br"),m.Tc(4,Kg,3,1,"div",17),m.Zb(),m.Zb(),m.Zb()),2&e){const e=m.mc();m.Hb(4),m.tc("ngIf",null==e.model?null:e.model.DescriptionEng)}}function eh(e,t){1&e&&m.Wb(0,"app-mini-loader")}function th(e,t){1&e&&m.Wb(0,"app-no-records",21),2&e&&m.tc("showImage",!0)}let nh=(()=>{class e{constructor(e,t,n,i,a,c,o,l,r,s,d,m,u){this.departmentProfile=e,this.translate=t,this.sanitizer=n,this._route=i,this._router=a,this.commonService=c,this._dptDistrictWebsiteService=o,this._departmentService=l,this.router=r,this._commonService=s,this.appService=d,this.renderer=m,this.metaTagService=u,this.pageUrlCode=0,this.model=new Ci.e,this.submenuCode=0,this.IsLoading=!0,this.pageCode=0,this.DepartmentCode=0,this.LookupCode=0,this.isAuthenticationRequired=!1,this.keywords="",this.description="",this.dptModel=new ha.b,this.enumdata=xi.b,this.fontSize=14,this.templateClass=""}ngOnInit(){this._route.paramMap.subscribe(e=>{this.pageTitle=void 0,this.templateClass=this._commonService.GetLocalStorageVal("TemplateClass");let t=e.get("deptCode");t&&(this.DepartmentCode=Number(t||0));let n=e.get("lookupCode");n&&(this.LookupCode=Number(n||0));let i=e.get("pageCode");i&&(this.pageCode=Number(i||0));let a=e.get("submenuCode");a&&(this.submenuCode=Number(a||0)),this.pageUrlCode&&(this.pageCode=this.pageUrlCode),this.getPageHeading(),sessionStorage.getItem("IsVerified")&&JSON.parse(sessionStorage.getItem("IsVerified"))?this.GetDepartmentPageDetail(this.DepartmentCode?this.DepartmentCode:0,this.LookupCode,this.pageCode):this.GetIsAuthenticationRequired(this.DepartmentCode?this.DepartmentCode:0,this.LookupCode,this.pageCode)})}getPageHeading(){this.submenuCode>0&&this.getSubmenuDetail()}getSubmenuDetail(){this._dptDistrictWebsiteService.GetSubmenuDetail(this.submenuCode).subscribe(e=>{if(e.IsSuccess){let t=e.Data;t&&(this.pageTitle=new s.f,this.pageTitle.NameEnglish=t.DisplayNameEnglish,this.pageTitle.NameHindi=t.DisplayNameHindi,this.pageTitle.ImagePath=t.IconImage,this.commonService.SetWebTitle("hi"==this.translate.currentLang?this.pageTitle.NameHindi:this.pageTitle.NameEnglish))}},e=>{})}GetIsAuthenticationRequired(e,t,n){this.model=void 0,this.departmentProfile.GetIsAuthenticationRequired(Number(e),Number(t),Number(n)).subscribe(e=>{e.IsSuccess&&(this.isAuthenticationRequired=e.Data.IsAuthenticationRequired,this.isAuthenticationRequired?this._router.navigate(["registration"],{queryParams:{pageCode:n}}):this.GetDepartmentPageDetail(this.DepartmentCode?this.DepartmentCode:0,this.LookupCode,this.pageCode))},e=>{console.error(e)})}GetDepartmentPageDetail(e,t,n){sessionStorage.removeItem("IsVerified"),this.model=void 0,this.departmentProfile.GetDepartmentPageDetail(Number(e),Number(t),Number(n)).subscribe(e=>{if(e.IsSuccess){let t=e.Data;this.model=e.Data,this.model.DepartmentCode&&"4444"==d.a.LocalWebsiteCode&&(localStorage.setItem("websiteCode",this.model.DepartmentCode.toString()),this.getDepartmentDetail(Number(this.model.DepartmentCode)),this.GetDepartmentMenuList(Number(this.model.DepartmentCode))),t&&0==this.submenuCode&&(this.pageTitle=new s.f,this.pageTitle.NameEnglish=t.SubjectEng,this.pageTitle.NameHindi=t.SubjectHindi,this.commonService.SetWebTitle("hi"==this.translate.currentLang?this.pageTitle.NameHindi:this.pageTitle.NameEnglish)),this.model.DepartmentPagesMetaKeyword&&(this.keywords=this.model.DepartmentPagesMetaKeyword,this.metaTagService.updateTag({name:"keywords",content:this.keywords})),this.model.DepartmentPagesMetaDescription&&(this.description=this.model.DepartmentPagesMetaDescription,this.metaTagService.updateTag({name:"description",content:this.description}))}},e=>{console.error(e)})}getDepartmentDetail(e){1==Number.isNaN(e)&&this.router.navigate(["page-not-found"]),this._departmentService.GetDepartmentDetailByDptCode(e).subscribe(e=>{var t,n,i,a,c;if(null!=e.Data&&0!=e.IsSuccess||this.router.navigate(["page-not-found"]),e.IsSuccess&&(this.dptModel=null===(t=e)||void 0===t?void 0:t.Data,this.dptModel)){this.dptModel.WebsiteLogoPath&&this._commonService.changeFaviconIcon(this.dptModel.WebsiteLogoPath);let e=localStorage.getItem("language");if(((null===(n=this.dptModel)||void 0===n?void 0:n.DefaultLanguage)||e)&&this._commonService.ChangeLanguage((null===(i=this.dptModel)||void 0===i?void 0:i.DefaultLanguage)||e),null===(a=this.dptModel)||void 0===a?void 0:a.WebsiteImage){let e=null===(c=this.dptModel)||void 0===c?void 0:c.WebsiteImage;this.dptModel.WebsiteImage=e.split(" ").join("%20")}else this.dptModel.WebsiteImage="assets/images/website/bg-patter-1.jpg";this.dptModel.IFrameURLSafe=this.sanitizer.bypassSecurityTrustResourceUrl(this.dptModel.IFrameURL),this.templateClass=this.dptModel.TemplateClass,localStorage.setItem("IsDistrict",JSON.stringify(this.dptModel.DepartmentDistrictCode==this.enumdata.District)),localStorage.setItem("DistrictName",this.dptModel.DepartmentTitle),localStorage.setItem("DistrictNameHindi",this.dptModel.DepartmentTitleHindi),localStorage.setItem("FolderName",this.dptModel.FolderName),localStorage.setItem("MenuBarClass",this.dptModel.MenuBarClass),localStorage.setItem("IsHideTenderFromHome",this.dptModel.IsHideTenderFromHome),localStorage.setItem("TemplateClass",this.templateClass),localStorage.setItem("metaKeywords",this.dptModel.MetaTagKeywords),localStorage.setItem("metaDescription",this.dptModel.MetaTagDescriptions),localStorage.setItem("IsCodeOfConduct",JSON.stringify(this.dptModel.IsCodeOfConduct)),this._commonService.SetWebTitle("hi"==this.translate.currentLang?"\u092e\u0941\u0916 \u092a\u0943\u0937\u094d\u0920":"Home"),this.keywords="undefined"==localStorage.getItem("metaKeywords")||"null"==localStorage.getItem("metaKeywords")?"Jankalyan Portal, Public Welfare Portal, \u091c\u0928\u0915\u0932\u094d\u092f\u093e\u0923 \u092a\u094b\u0930\u094d\u091f\u0932, Government of Rajasthan, \u0930\u093e\u091c\u0938\u094d\u0925\u093e\u0928 \u0938\u0930\u0915\u093e\u0930, Jaipur, Rajasthan, Portal":localStorage.getItem("metaKeywords"),this.metaTagService.updateTag({name:"keywords",content:this.keywords}),this.description="undefined"==localStorage.getItem("metaDescription")||"null"==localStorage.getItem("metaDescription")?"The government of Rajasthan is committed to public welfare as well being of its public is the priority of the Government.Jankalyan portal(a Public Welfare Portal) fulfills this ideology of Hon\u2019ble Chief Minister of Rajasthan \u201c\u091c\u0928\u0915\u0932\u094d\u092f\u093e\u0923 \u0939\u0940 \u092a\u094d\u0930\u093e\u0925\u092e\u093f\u0915\u0924\u093e \u091c\u0928\u0915\u0932\u094d\u092f\u093e\u0923 \u0939\u0940 \u092a\u094d\u0930\u0924\u093f\u092c\u0926\u094d\u0927\u0924\u093e\u201d":localStorage.getItem("metaDescription"),this.metaTagService.updateTag({name:"description",content:this.description}),this._departmentService.setDepartmentDetail(this.dptModel)}},e=>{})}GetDepartmentMenuList(e){this._departmentService.GetDepartmentMenuList(e).subscribe(e=>{if(e.IsSuccess){let t=e.Data;t&&this._departmentService.setDeptMenuList(t)}},e=>{console.error(e)})}skipToMainContent(){this.skipper.nativeElement.focus()}onSkipToNavbar(){this.skipperNavbar.nativeElement.focus()}setFont(e){null==e?this.fontSize=null!=sessionStorage.getItem("fontSize")?Number(sessionStorage.getItem("fontSize")):this.fontSize:(this.fontSize=e,sessionStorage.setItem("fontSize",this.fontSize.toString())),this.pageBody.nativeElement.style.fontSize=`${this.fontSize}px`}setTheme(e=""){""==e?e=null!=localStorage.getItem("currentTheme")?localStorage.getItem("currentTheme"):"theme-default":localStorage.setItem("currentTheme",e);let t=this.pageBody.nativeElement;t.className.split(" ").forEach(e=>{e.length>0&&this.renderer.removeClass(t,e)}),this.renderer.addClass(t,null!=e?e:"theme-default")}ngOnDestroy(){this.keywords="undefined"==localStorage.getItem("metaKeywords")||"null"==localStorage.getItem("metaKeywords")?"Jankalyan Portal, Public Welfare Portal, \u091c\u0928\u0915\u0932\u094d\u092f\u093e\u0923 \u092a\u094b\u0930\u094d\u091f\u0932, Government of Rajasthan, \u0930\u093e\u091c\u0938\u094d\u0925\u093e\u0928 \u0938\u0930\u0915\u093e\u0930, Jaipur, Rajasthan, Portal":localStorage.getItem("metaKeywords"),this.metaTagService.updateTag({name:"keywords",content:this.keywords}),this.description="undefined"==localStorage.getItem("metaDescription")||"null"==localStorage.getItem("metaDescription")?"The government of Rajasthan is committed to public welfare as well being of its public is the priority of the Government.Jankalyan portal(a Public Welfare Portal) fulfills this ideology of Hon\u2019ble Chief Minister of Rajasthan \u201c\u091c\u0928\u0915\u0932\u094d\u092f\u093e\u0923 \u0939\u0940 \u092a\u094d\u0930\u093e\u0925\u092e\u093f\u0915\u0924\u093e \u091c\u0928\u0915\u0932\u094d\u092f\u093e\u0923 \u0939\u0940 \u092a\u094d\u0930\u0924\u093f\u092c\u0926\u094d\u0927\u0924\u093e\u201d":localStorage.getItem("metaDescription"),this.metaTagService.updateTag({name:"description",content:this.description})}}return e.\u0275fac=function(t){return new(t||e)(m.Vb(Hi.a),m.Vb(c.d),m.Vb(b.b),m.Vb(h.a),m.Vb(h.b),m.Vb(g.a),m.Vb(p.a),m.Vb(In.a),m.Vb(h.b),m.Vb(g.a),m.Vb(Xg.a),m.Vb(m.K),m.Vb(b.c))},e.\u0275cmp=m.Pb({type:e,selectors:[["app-department-page-detail"]],viewQuery:function(e,t){var n;1&e&&(m.bd(Bg,!0),m.bd(Ug,!0),m.bd(zg,!0)),2&e&&(m.Jc(n=m.jc())&&(t.skipper=n.first),m.Jc(n=m.jc())&&(t.skipperNavbar=n.first),m.Jc(n=m.jc())&&(t.pageBody=n.first))},inputs:{pageUrlCode:"pageUrlCode"},decls:10,vars:9,consts:[["id","sticky-anchor"],["class","breadcrumb_nav","aria-label","breadcrumb",4,"ngIf"],[1,"col-lg-12","mt-5"],[1,"title","text-center","mb-1"],[1,"img-fluid",3,"src","title","alt"],[4,"ngIf"],["class","inner-p age page-about page-editor-entry-design",4,"ngIf"],[3,"showImage",4,"ngIf"],["aria-label","breadcrumb",1,"breadcrumb_nav"],[1,"container","p-0"],[1,"breadcrumb"],[1,"breadcrumb-item"],[3,"routerLink"],["aria-current","page",1,"breadcrumb-item","active"],[1,"inner-p","age","page-about","page-editor-entry-design"],[1,"container"],[1,"row"],["class","col-lg-12",4,"ngIf"],[1,"col-lg-12"],[1,"about-yajona-text"],[1,"department-page-html",2,"text-align","justify !important",3,"innerHTML"],[3,"showImage"]],template:function(e,t){1&e&&(m.Wb(0,"div",0),m.Tc(1,Yg,10,6,"nav",1),m.ac(2,"div",2),m.ac(3,"h1",3),m.Wb(4,"img",4),m.Tc(5,qg,2,1,"span",5),m.Tc(6,Jg,2,1,"span",5),m.Zb(),m.Zb(),m.Tc(7,Qg,5,1,"section",6),m.Tc(8,eh,1,0,"app-mini-loader",5),m.Tc(9,th,1,1,"app-no-records",7)),2&e&&(m.Hb(1),m.tc("ngIf",!t.pageUrlCode),m.Hb(3),m.uc("src",(null==t.pageTitle?null:t.pageTitle.ImagePath)||"assets/images/requered-doc.png",m.Pc),m.uc("title",t.pageTitle?"hi"!=t.translate.currentLang?null==t.pageTitle?null:t.pageTitle.NameEnglish:null==t.pageTitle?null:t.pageTitle.NameHindi:" "),m.uc("alt",t.pageTitle?"hi"!=t.translate.currentLang?null==t.pageTitle?null:t.pageTitle.NameEnglish:null==t.pageTitle?null:t.pageTitle.NameHindi:" "),m.Hb(1),m.tc("ngIf",t.pageTitle),m.Hb(1),m.tc("ngIf",!t.pageTitle),m.Hb(1),m.tc("ngIf",t.model),m.Hb(1),m.tc("ngIf",!t.model),m.Hb(1),m.tc("ngIf",t.model&&0==t.commonService.GetObjectLength(t.model)))},directives:[i.n,h.d,v.a,C.a],pipes:[c.c],styles:["",".department-page-html[_ngcontent-%COMP%]{ width: 100%; overflow-x: scroll;}"]}),e})();function ih(e,t){if(1&e&&(m.ac(0,"span"),m.Vc(1),m.Zb()),2&e){const e=m.mc();m.Hb(1),m.Wc("hi"!=e.translate.currentLang?null==e.pageTitle?null:e.pageTitle.NameEnglish:null==e.pageTitle?null:e.pageTitle.NameHindi)}}function ah(e,t){1&e&&(m.ac(0,"span"),m.Vc(1),m.nc(2,"translate"),m.Zb()),2&e&&(m.Hb(1),m.Wc(m.oc(2,1,"OfficeWiseCount_txt")))}function ch(e,t){if(1&e&&(m.ac(0,"span"),m.Vc(1),m.Zb()),2&e){const e=m.mc();m.Hb(1),m.Wc("hi"!=e.translate.currentLang?null==e.pageTitle?null:e.pageTitle.NameEnglish:null==e.pageTitle?null:e.pageTitle.NameHindi)}}function oh(e,t){1&e&&(m.ac(0,"span"),m.Vc(1),m.nc(2,"translate"),m.Zb()),2&e&&(m.Hb(1),m.Wc(m.oc(2,1,"OfficeWiseCount_txt")))}function lh(e,t){if(1&e&&(m.ac(0,"a",4),m.Vc(1),m.Zb()),2&e){const e=m.mc().$implicit,t=m.mc(2);m.wc("routerLink","/pages/dept-office-profile/sub-cat-count/",e.Value,"/",t.catCode,""),m.Hb(1),m.Yc(" ","hi"!=t.translate.currentLang?null==e?null:null==e.OtherData?null:e.OtherData.OfficeName:null==e?null:null==e.OtherData?null:e.OtherData.OfficeNameHindi," (",null==e?null:null==e.OtherData?null:e.OtherData.RecordCount,") ")}}function rh(e,t){if(1&e&&(m.ac(0,"a",4),m.Vc(1),m.Zb()),2&e){const e=m.mc().$implicit,t=m.mc(2);m.xc("routerLink","/pages/dept-office-profile/lookup-count/",e.Value,"/",t.catCode,"/",t.entryTypeCode,""),m.Hb(1),m.Yc(" ","hi"!=t.translate.currentLang?null==e?null:null==e.OtherData?null:e.OtherData.OfficeName:null==e?null:null==e.OtherData?null:e.OtherData.OfficeNameHindi," (",null==e?null:null==e.OtherData?null:e.OtherData.RecordCount,") ")}}function sh(e,t){if(1&e&&(m.ac(0,"li"),m.Tc(1,lh,2,4,"a",18),m.Tc(2,rh,2,5,"a",18),m.Zb()),2&e){const e=m.mc(2);m.Hb(1),m.tc("ngIf",0==e.entryTypeCode),m.Hb(1),m.tc("ngIf",e.entryTypeCode>0)}}function dh(e,t){if(1&e&&(m.ac(0,"div",15),m.ac(1,"ul",16),m.Tc(2,sh,3,2,"li",17),m.Zb(),m.Zb()),2&e){const e=m.mc();m.Hb(2),m.tc("ngForOf",e.officeList)}}function mh(e,t){1&e&&m.Wb(0,"app-mini-loader")}function uh(e,t){1&e&&m.Wb(0,"app-no-records",19),2&e&&m.tc("showImage",!0)}let bh=(()=>{class e{constructor(e,t,n,i){this._route=e,this.translate=t,this._commonService=n,this._distDeptService=i,this.deptCode=0,this.catCode=0,this.entryTypeCode=0,this.submenuCode=0,this._route.paramMap.subscribe(e=>{this.pageTitle=void 0,this.deptCode=this._commonService.GetWebDistDeptCode();let t=e.get("submenuCode");this.submenuCode=Number(t||0);let n=e.get("catCode");this.catCode=Number(n||0);let i=e.get("entryTypeCode");this.entryTypeCode=Number(i||0),this.getPageHeading(),this.getDeptProfileOfficeList()})}ngOnInit(){}getPageHeading(){this.submenuCode>0?this.getSubmenuDetail():this.entryTypeCode>0?this.getEntryTypeDetail():this.catCode>0&&this.getCategoryDetail()}getSubmenuDetail(){this._distDeptService.GetSubmenuDetail(this.submenuCode).subscribe(e=>{if(e.IsSuccess){let t=e.Data;t&&(this.pageTitle=new s.f,this.pageTitle.NameEnglish=t.DisplayNameEnglish,this.pageTitle.NameHindi=t.DisplayNameHindi,this.pageTitle.ImagePath=t.IconImage,this._commonService.SetWebTitle("hi"==this.translate.currentLang?this.pageTitle.NameHindi:this.pageTitle.NameEnglish))}},e=>{})}getCategoryDetail(){this._distDeptService.GetJankalyanCategoryDetail(this.catCode).subscribe(e=>{if(e.IsSuccess){let t=e.Data;t&&(this.pageTitle=new s.f,this.pageTitle.NameEnglish=(t.SubMenuNameEnglish||t.Name)+" (Office Wise Count)",this.pageTitle.NameHindi=(t.SubMenuNameHindi||t.NameHindi)+" (\u0915\u093e\u0930\u094d\u092f\u093e\u0932\u092f \u0935\u093e\u0930 \u0917\u0923\u0928\u093e)",this.pageTitle.ImagePath=t.ImagePath,this._commonService.SetWebTitle("hi"==this.translate.currentLang?this.pageTitle.NameHindi:this.pageTitle.NameEnglish))}},e=>{console.error(e)})}getEntryTypeDetail(){this._distDeptService.GetJankalyanEntryTypeDetail(this.entryTypeCode).subscribe(e=>{if(e.IsSuccess){let t=e.Data;t&&(this.pageTitle=new s.f,this.pageTitle.NameEnglish=(t.SubMenuNameEnglish||t.Name)+" (Office Wise Count)",this.pageTitle.NameHindi=(t.SubMenuNameHindi||t.NameHindi)+" (\u0915\u093e\u0930\u094d\u092f\u093e\u0932\u092f \u0935\u093e\u0930 \u0917\u0923\u0928\u093e)",this.pageTitle.ImagePath=t.ImagePath,this._commonService.SetWebTitle("hi"==this.translate.currentLang?this.pageTitle.NameHindi:this.pageTitle.NameEnglish))}},e=>{console.error(e)})}getDeptProfileOfficeList(){this._distDeptService.GetOfficeWiseDeptProfileRecordCount(this.deptCode,this.catCode,this.entryTypeCode).subscribe(e=>{var t;this.officeList=e.IsSuccess?null===(t=e)||void 0===t?void 0:t.Data:[]},e=>{console.error(e.message)})}}return e.\u0275fac=function(t){return new(t||e)(m.Vb(h.a),m.Vb(c.d),m.Vb(g.a),m.Vb(p.a))},e.\u0275cmp=m.Pb({type:e,selectors:[["app-dept-profile-office-wise-count"]],decls:24,vars:18,consts:[["id","sticky-anchor"],["aria-label","breadcrumb",1,"breadcrumb_nav"],[1,"breadcrumb"],[1,"breadcrumb-item"],[3,"routerLink"],["aria-current","page",1,"breadcrumb-item","active"],[4,"ngIf"],[1,"col-lg-12","mt-5"],[1,"title","text-center","mb-1"],[1,"img-fluid",3,"src","title","alt"],[1,"inner-page","page-about","page-editor-entry-design"],[1,"container"],[1,"row"],["class","col-lg-12",4,"ngIf"],[3,"showImage",4,"ngIf"],[1,"col-lg-12"],[1,"quick-link","site-map-link","page-sitemap-list","p-5","page-link-listing"],[4,"ngFor","ngForOf"],[3,"routerLink",4,"ngIf"],[3,"showImage"]],template:function(e,t){1&e&&(m.Wb(0,"div",0),m.ac(1,"nav",1),m.ac(2,"ol",2),m.ac(3,"li",3),m.ac(4,"a",4),m.Vc(5),m.nc(6,"translate"),m.Zb(),m.Zb(),m.ac(7,"li",5),m.Tc(8,ih,2,1,"span",6),m.Tc(9,ah,3,3,"span",6),m.Zb(),m.Zb(),m.Zb(),m.ac(10,"div",7),m.ac(11,"h1",8),m.Wb(12,"img",9),m.nc(13,"translate"),m.nc(14,"translate"),m.ac(15,"span"),m.Tc(16,ch,2,1,"span",6),m.Tc(17,oh,3,3,"span",6),m.Zb(),m.Zb(),m.Zb(),m.ac(18,"section",10),m.ac(19,"div",11),m.ac(20,"div",12),m.Tc(21,dh,3,1,"div",13),m.Tc(22,mh,1,0,"app-mini-loader",6),m.Tc(23,uh,1,1,"app-no-records",14),m.Zb(),m.Zb(),m.Zb()),2&e&&(m.Hb(4),m.uc("routerLink",t._commonService.GetHomePageUrl()),m.Hb(1),m.Wc(m.oc(6,12,"Home_txt")),m.Hb(3),m.tc("ngIf",t.pageTitle),m.Hb(1),m.tc("ngIf",!t.pageTitle),m.Hb(3),m.uc("src",(null==t.pageTitle?null:t.pageTitle.ImagePath)||"assets/images/document_Icon.png",m.Pc),m.uc("title",m.oc(13,14,"OfficeList_txt")),m.uc("alt",m.oc(14,16,"OfficeList_txt")),m.Hb(4),m.tc("ngIf",t.pageTitle),m.Hb(1),m.tc("ngIf",!t.pageTitle),m.Hb(4),m.tc("ngIf",t.officeList&&t.officeList.length>0),m.Hb(1),m.tc("ngIf",!t.officeList),m.Hb(1),m.tc("ngIf",t.officeList&&0==t.officeList.length))},directives:[h.d,i.n,i.m,v.a,C.a],pipes:[c.c],styles:[""]}),e})();function gh(e,t){if(1&e&&(m.ac(0,"span"),m.Vc(1),m.Zb()),2&e){const e=m.mc();m.Hb(1),m.Wc("hi"!=e.translate.currentLang?null==e.pageTitle?null:e.pageTitle.NameEnglish:null==e.pageTitle?null:e.pageTitle.NameHindi)}}function hh(e,t){if(1&e&&(m.ac(0,"span"),m.Vc(1),m.nc(2,"translate"),m.nc(3,"translate"),m.Zb()),2&e){const e=m.mc();m.Hb(1),m.Wc(e.deptCode!=e.deptCodeEnum.DIETSRajasthan?m.oc(2,1,"Dept_Website_Links_txt"):m.oc(3,3,"DIETS_txt"))}}function ph(e,t){if(1&e&&(m.ac(0,"option",29),m.Vc(1),m.Zb()),2&e){const e=t.$implicit,n=m.mc(2);m.tc("value","en"==n.translate.currentLang?e.DisplayName:e.DisplayNameHindi),m.Hb(1),m.Wc("en"==n.translate.currentLang?e.DisplayName:e.DisplayNameHindi)}}function fh(e,t){if(1&e){const e=m.bc();m.Yb(0),m.ac(1,"div",25),m.ac(2,"label"),m.Vc(3),m.nc(4,"translate"),m.Zb(),m.ac(5,"select",26),m.ic("ngModelChange",(function(t){return m.Mc(e),m.mc().departmentDisplayName=t})),m.ac(6,"option",27),m.Vc(7),m.nc(8,"translate"),m.Zb(),m.Tc(9,ph,2,2,"option",28),m.Zb(),m.Zb(),m.Xb()}if(2&e){const e=m.mc();m.Hb(3),m.Wc(m.oc(4,4,"Department_txt")),m.Hb(2),m.tc("ngModel",e.departmentDisplayName),m.Hb(2),m.Xc("--",m.oc(8,6,"Department_txt"),"--"),m.Hb(2),m.tc("ngForOf",e.departmentddl)}}function vh(e,t){if(1&e&&(m.ac(0,"option",29),m.Vc(1),m.Zb()),2&e){const e=t.$implicit;m.tc("value",e.Value),m.Hb(1),m.Wc(e.Text)}}function Ch(e,t){if(1&e){const e=m.bc();m.ac(0,"div",25),m.ac(1,"label"),m.Vc(2),m.nc(3,"translate"),m.Zb(),m.ac(4,"select",26),m.ic("ngModelChange",(function(t){return m.Mc(e),m.mc().districtCode=t})),m.ac(5,"option",30),m.Vc(6),m.nc(7,"translate"),m.Zb(),m.Tc(8,vh,2,2,"option",28),m.Zb(),m.Zb()}if(2&e){const e=m.mc();m.Hb(2),m.Wc(m.oc(3,4,"District_txt")),m.Hb(2),m.tc("ngModel",e.districtCode),m.Hb(2),m.Xc("--",m.oc(7,6,"District_txt"),"--"),m.Hb(2),m.tc("ngForOf",null==e.dDLList?null:e.dDLList.ddlDistrict)}}function Hh(e,t){if(1&e&&(m.ac(0,"span"),m.Vc(1),m.Zb()),2&e){const e=m.mc();m.Hb(1),m.Wc("hi"!=e.translate.currentLang?null==e.pageTitle?null:e.pageTitle.NameEnglish:null==e.pageTitle?null:e.pageTitle.NameHindi)}}function Dh(e,t){if(1&e&&(m.ac(0,"span"),m.Vc(1),m.nc(2,"translate"),m.nc(3,"translate"),m.Zb()),2&e){const e=m.mc();m.Hb(1),m.Wc(e.deptCode!=e.deptCodeEnum.DIETSRajasthan?m.oc(2,1,"Dept_Website_Links_txt"):m.oc(3,3,"DIETS_txt"))}}const Mh=function(e,t,n){return{"fa-sort":e,"fa-sort-up":t,"fa-sort-down":n}};function Ih(e,t){if(1&e){const e=m.bc();m.ac(0,"th",33),m.ic("click",(function(){return m.Mc(e),m.mc(2).onSorting("Code")})),m.Vc(1),m.nc(2,"translate"),m.Wb(3,"i",34),m.Zb()}if(2&e){const e=m.mc(2);m.Hb(1),m.Xc(" ",m.oc(2,2,"Code_txt")," "),m.Hb(2),m.tc("ngClass",m.Gc(4,Mh,"Code"!=e.sort.column,e.sort.isAsc&&"Code"===e.sort.column,!e.sort.isAsc&&"Code"===e.sort.column))}}function Zh(e,t){if(1&e){const e=m.bc();m.ac(0,"th",33),m.ic("click",(function(){return m.Mc(e),m.mc(2).onSorting("District")})),m.Vc(1),m.nc(2,"translate"),m.Wb(3,"i",34),m.Zb()}if(2&e){const e=m.mc(2);m.Hb(1),m.Xc(" ",m.oc(2,2,"District_txt")," "),m.Hb(2),m.tc("ngClass",m.Gc(4,Mh,"District"!=e.sort.column,e.sort.isAsc&&"District"===e.sort.column,!e.sort.isAsc&&"District"===e.sort.column))}}function Th(e,t){if(1&e&&(m.ac(0,"td"),m.Vc(1),m.Zb()),2&e){const e=m.mc().$implicit,t=m.mc(2);m.Hb(1),m.Xc("","en"==t.translate.currentLang?e.DepartmentShortTitle?e.DepartmentShortTitle:"-":e.DepartmentShortTitleHindi?e.DepartmentShortTitleHindi:"-"," ")}}function yh(e,t){if(1&e&&(m.ac(0,"td"),m.Vc(1),m.Zb()),2&e){const e=m.mc().$implicit,t=m.mc(2);m.Hb(1),m.Xc("","en"==t.translate.currentLang?e.DistrictTitle?e.DistrictTitle:"-":e.DistrictTitleHindi?e.DistrictTitleHindi:"-"," ")}}function xh(e,t){if(1&e&&(m.ac(0,"a",39),m.Vc(1),m.nc(2,"translate"),m.Zb()),2&e){const e=m.mc().$implicit;m.uc("href",e.SectoralWebsiteURL,m.Pc),m.Hb(1),m.Xc(" ",m.oc(2,2,"GoToWebsite_txt")," ")}}function Ph(e,t){if(1&e&&(m.ac(0,"a",39),m.Vc(1),m.nc(2,"translate"),m.Zb()),2&e){const e=m.mc(3);m.wc("href","",e.departmentUrl,"",e.deptCode,"",m.Pc),m.Hb(1),m.Xc(" ",m.oc(2,3,"GoToWebsite_txt")," ")}}function Sh(e,t){if(1&e&&(m.ac(0,"tr"),m.ac(1,"td"),m.Vc(2),m.Zb(),m.ac(3,"td"),m.Vc(4),m.Zb(),m.ac(5,"td"),m.Vc(6),m.Zb(),m.Tc(7,Th,2,1,"td",5),m.Tc(8,yh,2,1,"td",5),m.ac(9,"td"),m.ac(10,"div",37),m.Tc(11,xh,3,4,"a",38),m.Tc(12,Ph,3,5,"a",38),m.Zb(),m.Zb(),m.Zb()),2&e){const e=t.$implicit,n=t.index,i=m.mc(2);m.Hb(2),m.Wc(n+1),m.Hb(2),m.Wc("en"==i.translate.currentLang?e.DisplayName?e.DisplayName:"-":e.DisplayNameHindi?e.DisplayNameHindi:"-"),m.Hb(2),m.Wc("en"==i.translate.currentLang?e.DepartmentCategoryName?e.DepartmentCategoryName:"-":e.DepartmentCategoryNameHindi?e.DepartmentCategoryNameHindi:"-"),m.Hb(1),m.tc("ngIf",i.deptCode!=i.deptCodeEnum.DIETSRajasthan),m.Hb(1),m.tc("ngIf",i.deptCode!=i.deptCodeEnum.DIETSRajasthan),m.Hb(3),m.tc("ngIf",e.SectoralWebsiteURL),m.Hb(1),m.tc("ngIf",!e.SectoralWebsiteURL)}}function _h(e,t){if(1&e){const e=m.bc();m.ac(0,"div",31),m.ac(1,"table",32),m.ac(2,"thead"),m.ac(3,"tr"),m.ac(4,"th"),m.Vc(5),m.nc(6,"translate"),m.Zb(),m.ac(7,"th",33),m.ic("click",(function(){return m.Mc(e),m.mc().onSorting("Department")})),m.Vc(8),m.nc(9,"translate"),m.Wb(10,"i",34),m.Zb(),m.ac(11,"th",33),m.ic("click",(function(){return m.Mc(e),m.mc().onSorting("DepartmentCategory")})),m.Vc(12),m.nc(13,"translate"),m.Wb(14,"i",34),m.Zb(),m.Tc(15,Ih,4,8,"th",35),m.Tc(16,Zh,4,8,"th",35),m.ac(17,"th"),m.Vc(18),m.nc(19,"translate"),m.Zb(),m.Zb(),m.Zb(),m.ac(20,"tbody"),m.Tc(21,Sh,13,7,"tr",36),m.Zb(),m.Zb(),m.Zb()}if(2&e){const e=m.mc();m.Hb(5),m.Xc("",m.oc(6,9,"SNo_txt")," "),m.Hb(3),m.Xc(" ",m.oc(9,11,"Department_txt")," "),m.Hb(2),m.tc("ngClass",m.Gc(17,Mh,"Department"!=e.sort.column,e.sort.isAsc&&"Department"===e.sort.column,!e.sort.isAsc&&"Department"===e.sort.column)),m.Hb(2),m.Xc(" ",m.oc(13,13,"DepartmentCategory_txt")," "),m.Hb(2),m.tc("ngClass",m.Gc(21,Mh,"DepartmentCategory"!=e.sort.column,e.sort.isAsc&&"DepartmentCategory"===e.sort.column,!e.sort.isAsc&&"DepartmentCategory"===e.sort.column)),m.Hb(1),m.tc("ngIf",e.deptCode!=e.deptCodeEnum.DIETSRajasthan),m.Hb(1),m.tc("ngIf",e.deptCode!=e.deptCodeEnum.DIETSRajasthan),m.Hb(2),m.Wc(m.oc(19,15,"Action_txt")),m.Hb(3),m.tc("ngForOf",e.deptModel)}}function wh(e,t){1&e&&m.Wb(0,"app-mini-loader")}function Lh(e,t){1&e&&m.Wb(0,"app-no-records",40),2&e&&m.tc("showImage",!0)}let Vh=(()=>{class e{constructor(e,t,n,i){this._route=e,this.commonService=t,this._dptDistrictWebsiteService=n,this.translate=i,this.dDLList=new s.b,this.districtCode="0",this.departmentDisplayName="",this.departmentddl=[],this.indexModel=new s.d,this.submenuCode=0,this.deptCodeEnum=vi.a,this.sort={isAsc:!0,column:""},this.departmentUrl=ga.a.DepartmentUrl,this._route.paramMap.subscribe(e=>{var t;this.pageTitle=void 0,this.deptCode=null!=(t=Number(e.get("dptCode")))?t:this.commonService.GetWebDistDeptCode(),this.submenuCode=Number(e.get("submenuCode"))||0,this.getPageHeading()})}get Language(){return localStorage.getItem("language")?localStorage.getItem("language"):"hi"}onSorting(e){this.sort.column===e?this.sort.isAsc=!this.sort.isAsc:(this.sort.column=e,this.sort.isAsc=!0),this.deptModel.sort((t,n)=>{let i="";return"Department"===e?i="hi"==this.Language?"DisplayNameHindi":"DisplayName":"DepartmentCategory"===e?i="hi"==this.Language?"DepartmentCategoryNameHindi":"DepartmentCategoryName":"Code"===e?i="hi"==this.Language?"DepartmentShortTitleHindi":"DepartmentShortTitle":"District"===e&&(i="hi"==this.Language?"DistrictTitleHindi":"DistrictTitle"),t[i]n[i]?this.sort.isAsc?1:-1:0})}ngOnInit(){this.GetDDLList(),this.getDepartmentWebsiteLinkData()}getPageHeading(){this.submenuCode&&this.submenuCode>0&&this.getSubmenuDetail()}getSubmenuDetail(){this._dptDistrictWebsiteService.GetSubmenuDetail(this.submenuCode).subscribe(e=>{if(e.IsSuccess){let t=e.Data;t&&(this.pageTitle=new s.f,this.pageTitle.NameEnglish=t.DisplayNameEnglish,this.pageTitle.NameHindi=t.DisplayNameHindi,this.pageTitle.ImagePath=t.IconImage,this.commonService.SetWebTitle("hi"==this.translate.currentLang?this.pageTitle.NameHindi:this.pageTitle.NameEnglish))}})}onSearch(e){Number(this.districtCode||0)>0&&e!=vi.a.DIETSRajasthan?this.deptModel=this.deptWebsiteModel.filter(e=>e.DistrictCode==this.districtCode):e==vi.a.DIETSRajasthan&&this.departmentDisplayName?this.deptModel=this.deptWebsiteModel.filter(e=>e.DisplayName==this.departmentDisplayName||e.DisplayNameHindi==this.departmentDisplayName):this.getDepartmentWebsiteLinkData()}reset(){this.districtCode="0",this.getDepartmentWebsiteLinkData()}GetDDLList(){this._dptDistrictWebsiteService.GetAllDDL(r.a.DDLKeyForOrderEntry).subscribe(e=>{e.IsSuccess&&(this.dDLList=e.Data)},e=>{console.error(e.message)})}getDepartmentWebsiteLinkData(){this._dptDistrictWebsiteService.GetDeptWebsiteLinksData(this.deptCode).subscribe(e=>{e.IsSuccess&&(this.deptModel=e.Data,this.departmentddl=e.Data,this.deptWebsiteModel=this.deptModel)})}}return e.\u0275fac=function(t){return new(t||e)(m.Vb(h.a),m.Vb(g.a),m.Vb(p.a),m.Vb(c.d))},e.\u0275cmp=m.Pb({type:e,selectors:[["app-department-website-links"]],decls:43,vars:26,consts:[["aria-label","breadcrumb",1,"breadcrumb_nav"],[1,"breadcrumb"],[1,"breadcrumb-item"],[3,"routerLink"],["aria-current","page",1,"breadcrumb-item","active"],[4,"ngIf"],[1,"orders_filter"],[1,"container-fluid"],[1,"row","justify-content-center"],[4,"ngIf","ngIfElse"],["defaultTemplate",""],[1,"col-lg-2","col-sm-6","col-12"],[1,"btn","btn-success","filter-btn","d-block","w-100",2,"border","none",3,"click"],[1,"fas","fa-search","mr-2"],[1,"btn","btn-danger","filter-btn","d-block","w-100",2,"border","none",3,"click"],[1,"fas","fa-redo-alt","mr-2"],[1,"inner-page","tender-list","py-5"],[1,"container"],[1,"title","text-center"],[1,"img-fluid",2,"max-width","45px",3,"src","title","alt"],[1,"row"],[1,"tab-content","row","w-100","m-0"],["id","TenderList",1,"col-lg-12","tab-pane","fade","show","active"],["class","table-responsive table-shadow",4,"ngIf"],[3,"showImage",4,"ngIf"],[1,"col-xl-3","col-lg-3","col-sm-6","col-12","wow","fadeInUp"],[1,"form-control",3,"ngModel","ngModelChange"],["value",""],[3,"value",4,"ngFor","ngForOf"],[3,"value"],["value","0"],[1,"table-responsive","table-shadow"],[1,"table","table-striped","table-custom","m-auto","table-tender"],[1,"cursor-pointer",3,"click"],[1,"fa","fa-fw",3,"ngClass"],["class","cursor-pointer",3,"click",4,"ngIf"],[4,"ngFor","ngForOf"],[1,"dept-grid-list-action-btn"],["target","_blank","class","btn btn-round btn-theme",3,"href",4,"ngIf"],["target","_blank",1,"btn","btn-round","btn-theme",3,"href"],[3,"showImage"]],template:function(e,t){if(1&e&&(m.ac(0,"nav",0),m.ac(1,"ol",1),m.ac(2,"li",2),m.ac(3,"a",3),m.Vc(4),m.nc(5,"translate"),m.Zb(),m.Zb(),m.ac(6,"li",4),m.Tc(7,gh,2,1,"span",5),m.Tc(8,hh,4,5,"span",5),m.Zb(),m.Zb(),m.Zb(),m.ac(9,"div",6),m.ac(10,"div",7),m.ac(11,"div",8),m.Tc(12,fh,10,8,"ng-container",9),m.Tc(13,Ch,9,8,"ng-template",null,10,m.Uc),m.ac(15,"div",11),m.ac(16,"label"),m.Vc(17,"\xa0"),m.Zb(),m.ac(18,"button",12),m.ic("click",(function(){return t.onSearch(t.deptCode)})),m.Wb(19,"i",13),m.Vc(20),m.nc(21,"translate"),m.Zb(),m.Zb(),m.ac(22,"div",11),m.ac(23,"label"),m.Vc(24,"\xa0"),m.Zb(),m.ac(25,"button",14),m.ic("click",(function(){return t.reset()})),m.Wb(26,"i",15),m.Vc(27),m.nc(28,"translate"),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.ac(29,"section",16),m.ac(30,"div",17),m.ac(31,"h1",18),m.Wb(32,"img",19),m.nc(33,"translate"),m.nc(34,"translate"),m.Tc(35,Hh,2,1,"span",5),m.Tc(36,Dh,4,5,"span",5),m.Zb(),m.ac(37,"div",20),m.ac(38,"div",21),m.ac(39,"div",22),m.Tc(40,_h,22,25,"div",23),m.Zb(),m.Zb(),m.Zb(),m.Tc(41,wh,1,0,"app-mini-loader",5),m.Tc(42,Lh,1,1,"app-no-records",24),m.Zb(),m.Zb()),2&e){const e=m.Kc(14);m.Hb(3),m.uc("routerLink",t.commonService.GetHomePageUrl()),m.Hb(1),m.Wc(m.oc(5,16,"Home_txt")),m.Hb(3),m.tc("ngIf",t.pageTitle),m.Hb(1),m.tc("ngIf",!t.pageTitle),m.Hb(4),m.tc("ngIf",t.deptCode==t.deptCodeEnum.DIETSRajasthan)("ngIfElse",e),m.Hb(8),m.Xc("",m.oc(21,18,"Search_txt")," "),m.Hb(7),m.Xc(" ",m.oc(28,20,"Reset_txt")," "),m.Hb(5),m.uc("src",(null==t.pageTitle?null:t.pageTitle.ImagePath)||"assets/images/document_Icon.png",m.Pc),m.uc("title",m.oc(33,22,"Dept_Website_Links_txt")),m.uc("alt",m.oc(34,24,"Dept_Website_Links_txt")),m.Hb(3),m.tc("ngIf",t.pageTitle),m.Hb(1),m.tc("ngIf",!t.pageTitle),m.Hb(4),m.tc("ngIf",(null==t.deptModel?null:t.deptModel.length)>0),m.Hb(1),m.tc("ngIf",!t.deptModel),m.Hb(1),m.tc("ngIf",t.deptModel&&0==t.deptModel.length)}},directives:[h.d,i.n,a.u,a.m,a.p,a.q,a.w,i.m,i.l,v.a,C.a],pipes:[c.c],styles:[""]}),e})();function kh(e,t){if(1&e&&(m.ac(0,"li",14),m.Vc(1),m.Zb()),2&e){const e=m.mc();m.Hb(1),m.Xc(" ","hi"==e.translate.currentLang?e.pageTitle.NameHindi:e.pageTitle.NameEnglish," ")}}function Nh(e,t){1&e&&(m.ac(0,"li",14),m.Vc(1),m.nc(2,"translate"),m.nc(3,"translate"),m.Zb()),2&e&&(m.Hb(1),m.Yc(" ",m.oc(2,2,"Press_Releases_txt")," - ",m.oc(3,4,"SubCatList_txt")," "))}function Oh(e,t){if(1&e&&(m.ac(0,"span"),m.Vc(1),m.Zb()),2&e){const e=m.mc();m.Hb(1),m.Xc(" ","hi"==e.translate.currentLang?e.pageTitle.NameHindi:e.pageTitle.NameEnglish," ")}}function Ah(e,t){1&e&&(m.ac(0,"span"),m.Vc(1),m.nc(2,"translate"),m.nc(3,"translate"),m.Zb()),2&e&&(m.Hb(1),m.Yc(" ",m.oc(2,2,"Press_Releases_txt")," - ",m.oc(3,4,"SubCatList_txt")," "))}function Wh(e,t){if(1&e&&(m.ac(0,"li"),m.ac(1,"a",3),m.Vc(2),m.Zb(),m.Zb()),2&e){const e=m.mc().$implicit,t=m.mc(2);m.Hb(1),m.xc("routerLink","/pages/press-release-list/",t.deptCode,"/",t.categoryCode,"/",null==e?null:e.Value,""),m.Hb(1),m.Yc(" ","hi"!=t.translate.currentLang?null==e?null:null==e.OtherData?null:e.OtherData.Name:null==e?null:null==e.OtherData?null:e.OtherData.NameHindi," (",null==e?null:null==e.OtherData?null:e.OtherData.PressReleaseCount,") ")}}function Eh(e,t){if(1&e&&(m.Yb(0),m.Tc(1,Wh,3,5,"li",8),m.Xb()),2&e){const e=t.$implicit;m.Hb(1),m.tc("ngIf",(null==e?null:null==e.OtherData?null:e.OtherData.PressReleaseCount)>0)}}function Gh(e,t){if(1&e&&(m.ac(0,"div",15),m.ac(1,"ul",16),m.Tc(2,Eh,2,1,"ng-container",17),m.Zb(),m.Zb()),2&e){const e=m.mc();m.Hb(2),m.tc("ngForOf",e.subCatList)}}function Fh(e,t){1&e&&m.Wb(0,"app-mini-loader")}function Rh(e,t){1&e&&m.Wb(0,"app-no-records",18),2&e&&m.tc("showImage",!0)}let Xh=(()=>{class e{constructor(e,t,n,i){this.route=e,this.translate=t,this._commonService=n,this._distDeptService=i,this.deptCode=0,this.categoryCode=0,this.submenuCode=0}ngOnInit(){this.route.paramMap.subscribe(e=>{this.pageTitle=void 0;let t=e.get("submenuCode");this.submenuCode=Number(t||0);let n=e.get("dptCode");this.deptCode=Number(n||0);let i=e.get("CategoryCode");this.categoryCode=Number(i||0),this.getPageHeading(),this.GetSubType()})}getPageHeading(){this.submenuCode>0?this.getSubmenuDetail():this.categoryCode>0&&this.getCategoryDetail()}getSubmenuDetail(){this._distDeptService.GetSubmenuDetail(this.submenuCode).subscribe(e=>{if(e.IsSuccess){let t=e.Data;t&&(this.pageTitle=new s.f,this.pageTitle.NameEnglish=t.DisplayNameEnglish,this.pageTitle.NameHindi=t.DisplayNameHindi,this.pageTitle.ImagePath=t.IconImage,this._commonService.SetWebTitle("hi"==this.translate.currentLang?this.pageTitle.NameHindi:this.pageTitle.NameEnglish))}},e=>{})}getCategoryDetail(){this.categoryCode&&this._distDeptService.GetJankalyanCategoryDetail(Number(this.categoryCode)).subscribe(e=>{if(e.IsSuccess){let t=e.Data;t&&(this.pageTitle=new s.f,this.pageTitle.NameEnglish=(t.SubMenuNameEnglish||t.Name)+" (Sub Category List)",this.pageTitle.NameHindi=(t.SubMenuNameHindi||t.NameHindi)+" (\u0909\u092a \u0936\u094d\u0930\u0947\u0923\u0940 \u0938\u0942\u091a\u0940)",this._commonService.SetWebTitle("hi"==this.translate.currentLang?this.pageTitle.NameHindi:this.pageTitle.NameEnglish))}})}GetSubType(){this.subCatList=void 0,(this.deptCode>0||this.categoryCode>0)&&this._distDeptService.GetPressReleaseSubCategories(this.deptCode,this.categoryCode).subscribe(e=>{this.subCatList=e.IsSuccess?e.Data:[]},e=>{this.subCatList=[],console.error(e.message)})}}return e.\u0275fac=function(t){return new(t||e)(m.Vb(h.a),m.Vb(c.d),m.Vb(g.a),m.Vb(p.a))},e.\u0275cmp=m.Pb({type:e,selectors:[["app-ddw-press-release-sub-category-list"]],decls:21,vars:18,consts:[["aria-label","breadcrumb",1,"breadcrumb_nav"],[1,"breadcrumb"],[1,"breadcrumb-item"],[3,"routerLink"],["class","breadcrumb-item active","aria-current","page",4,"ngIf"],[1,"col-lg-12","mt-5"],[1,"title","text-center","mb-1"],[1,"img-fluid",2,"max-width","45px",3,"src","title","alt"],[4,"ngIf"],[1,"inner-page","page-about","page-editor-entry-design"],[1,"container"],[1,"row"],["class","col-lg-12",4,"ngIf"],[3,"showImage",4,"ngIf"],["aria-current","page",1,"breadcrumb-item","active"],[1,"col-lg-12"],[1,"quick-link","site-map-link","page-sitemap-list","p-5","page-link-listing"],[4,"ngFor","ngForOf"],[3,"showImage"]],template:function(e,t){1&e&&(m.ac(0,"nav",0),m.ac(1,"ol",1),m.ac(2,"li",2),m.ac(3,"a",3),m.Vc(4),m.nc(5,"translate"),m.Zb(),m.Zb(),m.Tc(6,kh,2,1,"li",4),m.Tc(7,Nh,4,6,"li",4),m.Zb(),m.Zb(),m.ac(8,"div",5),m.ac(9,"h1",6),m.Wb(10,"img",7),m.nc(11,"translate"),m.nc(12,"translate"),m.Tc(13,Oh,2,1,"span",8),m.Tc(14,Ah,4,6,"span",8),m.Zb(),m.Zb(),m.ac(15,"section",9),m.ac(16,"div",10),m.ac(17,"div",11),m.Tc(18,Gh,3,1,"div",12),m.Tc(19,Fh,1,0,"app-mini-loader",8),m.Tc(20,Rh,1,1,"app-no-records",13),m.Zb(),m.Zb(),m.Zb()),2&e&&(m.Hb(3),m.uc("routerLink",t._commonService.GetHomePageUrl()),m.Hb(1),m.Wc(m.oc(5,12,"Home_txt")),m.Hb(2),m.tc("ngIf",t.pageTitle),m.Hb(1),m.tc("ngIf",!t.pageTitle),m.Hb(3),m.uc("src",(null==t.pageTitle?null:t.pageTitle.ImagePath)||"assets/images/CM-directions.png",m.Pc),m.uc("title",t.categoryCode>0?"hi"==t.translate.currentLang?t.pageTitle.NameHindi:t.pageTitle.NameEnglish:m.oc(11,14,"Press_Releases_txt")),m.uc("alt",t.categoryCode>0?"hi"==t.translate.currentLang?t.pageTitle.NameHindi:t.pageTitle.NameEnglish:m.oc(12,16,"Press_Releases_txt")),m.Hb(3),m.tc("ngIf",t.pageTitle),m.Hb(1),m.tc("ngIf",!t.pageTitle),m.Hb(4),m.tc("ngIf",t.subCatList&&t.subCatList.length>0),m.Hb(1),m.tc("ngIf",!t.subCatList),m.Hb(1),m.tc("ngIf",t.subCatList&&0==t.subCatList.length))},directives:[h.d,i.n,i.m,v.a,C.a],pipes:[c.c],styles:[""]}),e})();function Bh(e,t){if(1&e&&(m.ac(0,"li",14),m.Vc(1),m.Zb()),2&e){const e=m.mc();m.Hb(1),m.Xc(" ","hi"==e.translate.currentLang?e.pageTitle.NameHindi:e.pageTitle.NameEnglish," ")}}function Uh(e,t){1&e&&(m.ac(0,"li",14),m.Vc(1),m.nc(2,"translate"),m.Zb()),2&e&&(m.Hb(1),m.Xc(" ",m.oc(2,1,"press_release_Gallery_txt")," "))}function zh(e,t){if(1&e&&(m.ac(0,"span"),m.Vc(1),m.Zb()),2&e){const e=m.mc();m.Hb(1),m.Xc("","hi"==e.translate.currentLang?e.pageTitle.NameHindi:e.pageTitle.NameEnglish," ")}}function jh(e,t){1&e&&(m.ac(0,"span"),m.Vc(1),m.nc(2,"translate"),m.Zb()),2&e&&(m.Hb(1),m.Wc(m.oc(2,1,"press_release_Gallery_txt")))}function $h(e,t){if(1&e){const e=m.bc();m.ac(0,"li"),m.ac(1,"a",26),m.ac(2,"img",27),m.ic("error",(function(t){return m.Mc(e),m.mc(5)._commonService.onImageError(t,"assets/images/default.png")})),m.Zb(),m.Zb(),m.Zb()}if(2&e){const e=m.mc().$implicit,t=m.mc(2),n=t.index,i=t.$implicit;m.Hb(1),m.uc("href",e,m.Pc),m.Jb("data-lightbox","images_",n,""),m.uc("title",i.Description),m.Hb(1),m.uc("title",i.Description),m.uc("alt",i.Description),m.tc("src",e,m.Pc)}}function Yh(e,t){if(1&e&&(m.Yb(0),m.Tc(1,$h,3,6,"li",10),m.Xb()),2&e){const e=t.index;m.Hb(1),m.tc("ngIf",e>0)}}function qh(e,t){if(1&e&&(m.ac(0,"ul",24),m.Tc(1,Yh,2,1,"ng-container",25),m.Zb()),2&e){const e=m.mc().$implicit;m.Hb(1),m.tc("ngForOf",e.ImageAttachments)}}function Jh(e,t){if(1&e){const e=m.bc();m.ac(0,"div",17),m.ac(1,"a",18),m.ic("error",(function(t){return m.Mc(e),m.mc(2)._commonService.onImageError(t,"assets/images/default.png")})),m.ac(2,"div",19),m.Vc(3),m.nc(4,"date"),m.Zb(),m.ac(5,"div",20),m.ac(6,"img",21),m.ic("error",(function(t){return m.Mc(e),m.mc(2)._commonService.onImageError(t,"assets/images/default.png")})),m.Zb(),m.Zb(),m.Tc(7,qh,2,1,"ul",22),m.ac(8,"a",3),m.ac(9,"div",23),m.ac(10,"span"),m.Vc(11),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.Zb()}if(2&e){const e=t.$implicit,n=t.index,i=m.mc(2);m.Hb(1),m.Jb("data-lightbox","images_",n,""),m.uc("title",e.Description),m.tc("href",e.HomePageImageUrl,m.Pc),m.Hb(2),m.Xc(" ","hi"==i.translate.currentLang?null==e?null:e.PressReleaseDateHindi:m.pc(4,10,null==e?null:e.PressreleaseDate,"d MMM, y")," "),m.Hb(3),m.uc("title",e.Description),m.uc("alt",e.Description),m.tc("src",e.HomePageImageUrl,m.Pc),m.Hb(1),m.tc("ngIf",e.ImageAttachments&&e.ImageAttachments.length>0),m.Hb(1),m.vc("routerLink","/home/press-release/",null==e?null:e.Id,""),m.Hb(3),m.Xc(" ",e.Description," ")}}function Kh(e,t){1&e&&(m.ac(0,"option",36),m.Vc(1,"15"),m.Zb())}function Qh(e,t){1&e&&(m.ac(0,"option",37),m.Vc(1,"25"),m.Zb())}function ep(e,t){1&e&&(m.ac(0,"option",38),m.Vc(1,"50"),m.Zb())}function tp(e,t){1&e&&(m.ac(0,"option",39),m.Vc(1,"100"),m.Zb())}function np(e,t){if(1&e){const e=m.bc();m.ac(0,"div",28),m.ac(1,"select",29),m.ic("ngModelChange",(function(t){return m.Mc(e),m.mc(2).filterModel.PageSize=t}))("change",(function(t){return m.Mc(e),m.mc(2).changePageSize(t.target.value)})),m.ac(2,"option",30),m.Vc(3),m.nc(4,"translate"),m.Zb(),m.Tc(5,Kh,2,0,"option",31),m.Tc(6,Qh,2,0,"option",32),m.Tc(7,ep,2,0,"option",33),m.Tc(8,tp,2,0,"option",34),m.Zb(),m.ac(9,"pagination-controls",35),m.ic("pageChange",(function(t){return m.Mc(e),m.mc(2).getNextPageRecord(t)})),m.nc(10,"translate"),m.nc(11,"translate"),m.Zb(),m.Zb()}if(2&e){const e=m.mc(2);m.Hb(1),m.tc("ngModel",e.filterModel.PageSize),m.Hb(1),m.uc("value",e.totalRecords),m.Hb(1),m.Wc(m.oc(4,9,"All_txt")),m.Hb(2),m.tc("ngIf",e.totalRecords>0),m.Hb(1),m.tc("ngIf",e.totalRecords>15),m.Hb(1),m.tc("ngIf",e.totalRecords>25),m.Hb(1),m.tc("ngIf",e.totalRecords>50),m.Hb(1),m.uc("previousLabel",m.oc(10,11,"Previous_txt")),m.uc("nextLabel",m.oc(11,13,"Next_txt"))}}function ip(e,t){if(1&e&&(m.ac(0,"div",7),m.Tc(1,Jh,12,13,"div",15),m.nc(2,"paginate"),m.Tc(3,np,12,15,"div",16),m.Zb()),2&e){const e=m.mc();m.Hb(1),m.tc("ngForOf",m.pc(2,2,e.generalModel,e.pagerConfig)),m.Hb(2),m.tc("ngIf",e.totalRecords>e.filterModel.PageSize)}}function ap(e,t){1&e&&m.Wb(0,"app-mini-loader")}function cp(e,t){1&e&&m.Wb(0,"app-no-records",40),2&e&&m.tc("showImage",!0)}let op=(()=>{class e{constructor(e,t,n,i,a){this.translate=e,this.sanitizer=t,this._distDeptService=n,this._commonService=i,this._route=a,this.filterModel=new ha.f,this.totalRecords=0,this.submenuCode=0,this.pagerConfig={id:"inaugurations-list",itemsPerPage:this.filterModel.PageSize,currentPage:this.filterModel.Page,totalItems:this.totalRecords},this._route.paramMap.subscribe(e=>{this.pageTitle=void 0;let t=e.get("submenuCode");this.submenuCode=Number(t||0);let n=e.get("dptCode");this.deptCode=n?Number(n):this._commonService.GetWebDistDeptCode();let i=e.get("CategoryCode");this.catCode=i?Number(i):0,this.getPageHeading()})}getPageHeading(){this.submenuCode>0?this.getSubmenuDetail():this.catCode&&this.catCode>0&&this.getCategoryDetail()}getCategoryDetail(){this.catCode&&this._distDeptService.GetJankalyanCategoryDetail(Number(this.catCode)).subscribe(e=>{if(e.IsSuccess){let t=e.Data;t&&(this.pageTitle=new s.f,this.pageTitle.NameEnglish=t.SubMenuNameEnglish||t.Name,this.pageTitle.NameHindi=t.SubMenuNameHindi||t.NameHindi,this._commonService.SetWebTitle("hi"==this.translate.currentLang?this.pageTitle.NameHindi:this.pageTitle.NameEnglish))}})}getSubmenuDetail(){this._distDeptService.GetSubmenuDetail(this.submenuCode).subscribe(e=>{if(e.IsSuccess){let t=e.Data;t&&(this.pageTitle=new s.f,this.pageTitle.NameEnglish=t.DisplayNameEnglish,this.pageTitle.NameHindi=t.DisplayNameHindi,this.pageTitle.ImagePath=t.IconImage,this._commonService.SetWebTitle("hi"==this.translate.currentLang?this.pageTitle.NameHindi:this.pageTitle.NameEnglish))}},e=>{})}ngOnInit(){this.filterModel.PageSize=15,this.GetPressReleaseData()}GetPressReleaseData(){this.generalModel=void 0,this.filterModel.IsBase64File=!1,this.filterModel.OrderBy="PressreleaseDate",this.filterModel.DepartmentCode=this.deptCode,this.filterModel.CategoryCode=this.catCode,this.filterModel.IsImageRequired=!0,this._distDeptService.GetDptInAugrationLink(this.filterModel).subscribe(e=>{e.IsSuccess?(this.generalModel=e.Data.Data,this.totalRecords=e.Data.TotalRecords,this.updatePageConfig()):this.generalModel=[]},e=>{this.generalModel=[],console.error(e)})}getNextPageRecord(e){this.filterModel.IsPostBack=!0,this.filterModel.Page=e,this.GetPressReleaseData()}changePageSize(e){this.filterModel.IsPostBack=!0,this.filterModel.PageSize=Number(e),this.filterModel.Page=1,this.GetPressReleaseData()}updatePageConfig(){this.pagerConfig.itemsPerPage=this.filterModel.PageSize,this.pagerConfig.currentPage=this.filterModel.Page,this.pagerConfig.totalItems=this.totalRecords}}return e.\u0275fac=function(t){return new(t||e)(m.Vb(c.d),m.Vb(b.b),m.Vb(p.a),m.Vb(g.a),m.Vb(h.a))},e.\u0275cmp=m.Pb({type:e,selectors:[["app-ddw-press-release-gallery-list"]],decls:21,vars:18,consts:[["aria-label","breadcrumb",1,"breadcrumb_nav"],[1,"breadcrumb"],[1,"breadcrumb-item"],[3,"routerLink"],["class","breadcrumb-item active","aria-current","page",4,"ngIf"],[1,"inner-page","press-release-list-page","py-5"],[1,"container"],[1,"row"],[1,"title","text-center"],[1,"mr-10",3,"src","title","alt"],[4,"ngIf"],[1,"home-new-program-bg-white","home-press-release-gallery"],["class","row",4,"ngIf"],[3,"showImage",4,"ngIf"],["aria-current","page",1,"breadcrumb-item","active"],["class","col-lg-3 col-md-3 col-sm-3 col-3 mb-3 px-2",4,"ngFor","ngForOf"],["class","new-pagination-outer",4,"ngIf"],[1,"col-lg-3","col-md-3","col-sm-3","col-3","mb-3","px-2"],[1,"home-gallery-items","d-block",3,"href","title","error"],[1,"home-inauguration-items-date"],[1,"home-gallery-items-img","d-flex","align-items-center","justify-content-center"],[1,"img-fluid","rounded",3,"src","title","alt","error"],["style","display: none;",4,"ngIf"],[1,"home-gallery-items-caption"],[2,"display","none"],[4,"ngFor","ngForOf"],[3,"href","title"],[3,"src","title","alt","error"],[1,"new-pagination-outer"],["name","example_length","aria-controls","example",1,"form-control-sm",2,"width","70px",3,"ngModel","ngModelChange","change"],[3,"value"],["value","15",4,"ngIf"],["value","25",4,"ngIf"],["value","50",4,"ngIf"],["value","100",4,"ngIf"],["id","inaugurations-list",1,"text-center","mt-4",3,"previousLabel","nextLabel","pageChange"],["value","15"],["value","25"],["value","50"],["value","100"],[3,"showImage"]],template:function(e,t){1&e&&(m.ac(0,"nav",0),m.ac(1,"ol",1),m.ac(2,"li",2),m.ac(3,"a",3),m.Vc(4),m.nc(5,"translate"),m.Zb(),m.Zb(),m.Tc(6,Bh,2,1,"li",4),m.Tc(7,Uh,3,3,"li",4),m.Zb(),m.Zb(),m.ac(8,"section",5),m.ac(9,"div",6),m.ac(10,"div",7),m.ac(11,"h1",8),m.Wb(12,"img",9),m.nc(13,"translate"),m.nc(14,"translate"),m.Tc(15,zh,2,1,"span",10),m.Tc(16,jh,3,3,"span",10),m.Zb(),m.Zb(),m.ac(17,"div",11),m.Tc(18,ip,4,5,"div",12),m.Zb(),m.Tc(19,ap,1,0,"app-mini-loader",10),m.Tc(20,cp,1,1,"app-no-records",13),m.Zb(),m.Zb()),2&e&&(m.Hb(3),m.uc("routerLink",t._commonService.GetHomePageUrl()),m.Hb(1),m.Wc(m.oc(5,12,"Home_txt")),m.Hb(2),m.tc("ngIf",t.pageTitle),m.Hb(1),m.tc("ngIf",!t.pageTitle),m.Hb(5),m.uc("src",(null==t.pageTitle?null:t.pageTitle.ImagePath)||"assets/images/icon-district-tab-2.png",m.Pc),m.uc("title",m.oc(13,14,"press_release_Gallery_txt")),m.uc("alt",m.oc(14,16,"press_release_Gallery_txt")),m.Hb(3),m.tc("ngIf",t.pageTitle),m.Hb(1),m.tc("ngIf",!t.pageTitle),m.Hb(2),m.tc("ngIf",(null==t.generalModel?null:t.generalModel.length)>0),m.Hb(1),m.tc("ngIf",!t.generalModel),m.Hb(1),m.tc("ngIf",t.generalModel&&0==t.generalModel.length))},directives:[h.d,i.n,i.m,a.u,a.m,a.p,a.q,a.w,f.c,v.a,C.a],pipes:[c.c,f.b,i.e],styles:[""]}),e})();function lp(e,t){if(1&e&&(m.ac(0,"span"),m.Vc(1),m.Zb()),2&e){const e=m.mc();m.Hb(1),m.Xc(" ","hi"!=e.translate.currentLang?null==e.pageTitle?null:e.pageTitle.NameEnglish:null==e.pageTitle?null:e.pageTitle.NameHindi," ")}}function rp(e,t){1&e&&(m.ac(0,"span"),m.Vc(1),m.nc(2,"translate"),m.Zb()),2&e&&(m.Hb(1),m.Wc(m.oc(2,1,"Web_Directory_txt")))}function sp(e,t){if(1&e&&(m.ac(0,"span"),m.Vc(1),m.Zb()),2&e){const e=m.mc();m.Hb(1),m.Xc(" ","hi"!=e.translate.currentLang?null==e.pageTitle?null:e.pageTitle.NameEnglish:null==e.pageTitle?null:e.pageTitle.NameHindi," ")}}function dp(e,t){1&e&&(m.ac(0,"span"),m.Vc(1),m.nc(2,"translate"),m.Zb()),2&e&&(m.Hb(1),m.Wc(m.oc(2,1,"Web_Directory_txt")))}function mp(e,t){if(1&e&&(m.ac(0,"h2"),m.Vc(1),m.Zb()),2&e){const e=m.mc().$implicit,t=m.mc();m.Hb(1),m.Xc(" ","hi"!=t.translate.currentLang?null==e[1][0].OtherData?null:e[1][0].OtherData.DepartmentCategoryName:null==e[1][0].OtherData?null:e[1][0].OtherData.DepartmentCategoryNameHindi," ")}}function up(e,t){if(1&e&&(m.ac(0,"h2"),m.Vc(1),m.Zb()),2&e){const e=m.mc().$implicit,t=m.mc();m.Hb(1),m.Xc(" ","hi"!=t.translate.currentLang?(null==e[1][0].OtherData?null:e[1][0].OtherData.DepartmentSubCategoryName)||(null==e[1][0].OtherData?null:e[1][0].OtherData.DepartmentCategoryName):(null==e[1][0].OtherData?null:e[1][0].OtherData.DepartmentSubCategoryNameHindi)||(null==e[1][0].OtherData?null:e[1][0].OtherData.DepartmentCategoryNameHindi)," ")}}function bp(e,t){if(1&e&&(m.ac(0,"h2"),m.Vc(1),m.Zb()),2&e){const e=m.mc().$implicit,t=m.mc();m.Hb(1),m.Xc(" ","hi"!=t.translate.currentLang?null==e[1][0].OtherData?null:e[1][0].OtherData.AdmDepartmentTitle:null==e[1][0].OtherData?null:e[1][0].OtherData.AdmDepartmentTitleHindi," ")}}function gp(e,t){if(1&e&&(m.ac(0,"h2"),m.Vc(1),m.Zb()),2&e){const e=m.mc().$implicit,t=m.mc();m.Hb(1),m.Xc(" ","hi"!=t.translate.currentLang?null==e[1][0].OtherData?null:e[1][0].OtherData.SectorDepartmentTitle:null==e[1][0].OtherData?null:e[1][0].OtherData.SectorDepartmentTitleHindi," ")}}function hp(e,t){if(1&e&&(m.ac(0,"a",19),m.Vc(1),m.Zb()),2&e){const e=m.mc().$implicit,t=m.mc(2);m.uc("href",null==e?null:null==e.OtherData?null:e.OtherData.SectoralWebsiteURL,m.Pc),m.Hb(1),m.Xc(" ","hi"!=t.translate.currentLang?null==e?null:null==e.OtherData?null:e.OtherData.DepartmentTitle:null==e?null:null==e.OtherData?null:e.OtherData.DepartmentTitleHindi," ")}}function pp(e,t){if(1&e&&(m.ac(0,"a",19),m.Vc(1),m.Zb()),2&e){const e=m.mc().$implicit,t=m.mc(2);m.wc("href","",t.departmentUrl,"",e.Value,"",m.Pc),m.Hb(1),m.Xc(" ","hi"!=t.translate.currentLang?null==e?null:null==e.OtherData?null:e.OtherData.DepartmentTitle:null==e?null:null==e.OtherData?null:e.OtherData.DepartmentTitleHindi," ")}}function fp(e,t){if(1&e&&(m.ac(0,"li"),m.Tc(1,hp,2,2,"a",18),m.Tc(2,pp,2,3,"a",18),m.Zb()),2&e){const e=t.$implicit;m.Hb(1),m.tc("ngIf",null==e?null:null==e.OtherData?null:e.OtherData.SectoralWebsiteURL),m.Hb(1),m.tc("ngIf",!(null!=e&&null!=e.OtherData&&e.OtherData.SectoralWebsiteURL))}}function vp(e,t){if(1&e&&(m.ac(0,"div",15),m.Tc(1,mp,2,1,"h2",5),m.Tc(2,up,2,1,"h2",5),m.Tc(3,bp,2,1,"h2",5),m.Tc(4,gp,2,1,"h2",5),m.ac(5,"div",16),m.ac(6,"ul"),m.Tc(7,fp,3,2,"li",17),m.Zb(),m.Zb(),m.Zb()),2&e){const e=t.$implicit,n=m.mc();m.Hb(1),m.tc("ngIf",n.groupBy===n.WebDirectoryGroupByEnum.DepartmentCategory),m.Hb(1),m.tc("ngIf",n.groupBy===n.WebDirectoryGroupByEnum.DepartmentSubCategory),m.Hb(1),m.tc("ngIf",n.groupBy===n.WebDirectoryGroupByEnum.AdminDepartment),m.Hb(1),m.tc("ngIf",n.groupBy===n.WebDirectoryGroupByEnum.SectorDepartment),m.Hb(3),m.tc("ngForOf",e[1])}}function Cp(e,t){1&e&&m.Wb(0,"app-mini-loader")}function Hp(e,t){1&e&&m.Wb(0,"app-no-records",20),2&e&&m.tc("showImage",!0)}let Dp=(()=>{class e{constructor(e,t,n,i){this.route=e,this.translate=t,this._commonService=n,this._distDeptService=i,this.submenuCode=0,this.departmentUrl=ga.a.DepartmentUrl,this.WebDirectoryGroupByEnum=Ql.b,this.route.paramMap.subscribe(e=>{this.pageTitle=void 0;let t=e.get("submenuCode");this.submenuCode=Number(t||0);let n=e.get("dptCode");this.deptCode=Number(n||0);let i=e.get("catCode");this.catCode=Number(i||0);let a=e.get("groupBy");this.groupBy=a||this.WebDirectoryGroupByEnum.DepartmentCategory,this.getPageHeading(),this.directoryData?this.setGroupOnData(this.directoryData):this.getData()})}ngOnInit(){}getPageHeading(){this.submenuCode>0&&this.getSubmenuDetail()}getSubmenuDetail(){this._distDeptService.GetSubmenuDetail(this.submenuCode).subscribe(e=>{if(e.IsSuccess){let t=e.Data;t&&(this.pageTitle=new s.f,this.pageTitle.NameEnglish=t.DisplayNameEnglish,this.pageTitle.NameHindi=t.DisplayNameHindi,this.pageTitle.ImagePath=t.IconImage,this._commonService.SetWebTitle("hi"==this.translate.currentLang?this.pageTitle.NameHindi:this.pageTitle.NameEnglish))}},e=>{})}getData(){this._distDeptService.GetWebDirectory(this.deptCode,this.catCode).subscribe(e=>{e.IsSuccess?(this.directoryData=e.Data,this.setGroupOnData(this.directoryData)):this.groupByDirectories=void 0},e=>{this.groupByDirectories=void 0,console.error(e.message)})}setGroupOnData(e){this.groupByDirectories=void 0,e&&e.length>0&&(this.groupBy===this.WebDirectoryGroupByEnum.DepartmentCategory?(e=e.filter(e=>e.OtherData.DepartmentCategoryCode&&"0"!=e.OtherData.DepartmentCategoryCode),this.groupByDirectories=this._commonService.groupBy(e,e=>e.OtherData.DepartmentCategoryCode),this.groupByDirectories=[...new Map([...this.groupByDirectories].sort((e,t)=>null==e[1][0].OtherData.DepartmentCategoryDisplayOrder||""==e[1][0].OtherData.DepartmentCategoryDisplayOrder?1:null==t[1][0].OtherData.DepartmentCategoryDisplayOrder||""==t[1][0].OtherData.DepartmentCategoryDisplayOrder?-1:e[1][0].OtherData.DepartmentCategoryDisplayOrder-t[1][0].OtherData.DepartmentCategoryDisplayOrder))]):this.groupBy===this.WebDirectoryGroupByEnum.DepartmentSubCategory?(e=e.filter(e=>e.OtherData.DepartmentSubCategoryCode&&"0"!=e.OtherData.DepartmentSubCategoryCode),this.groupByDirectories=this._commonService.groupBy(e,e=>e.OtherData.DepartmentSubCategoryCode),this.groupByDirectories=[...new Map([...this.groupByDirectories].sort((e,t)=>null==e[1][0].OtherData.DepartmentCategoryDisplayOrder||""==e[1][0].OtherData.DepartmentCategoryDisplayOrder?1:null==t[1][0].OtherData.DepartmentCategoryDisplayOrder||""==t[1][0].OtherData.DepartmentCategoryDisplayOrder?-1:e[1][0].OtherData.DepartmentCategoryDisplayOrder-t[1][0].OtherData.DepartmentCategoryDisplayOrder))],console.log(this.groupByDirectories)):this.groupBy===this.WebDirectoryGroupByEnum.AdminDepartment?(e=e.filter(e=>e.OtherData.AdmDepartmentCode&&"0"!=e.OtherData.AdmDepartmentCode),this.groupByDirectories=this._commonService.groupBy(e,e=>e.OtherData.AdmDepartmentCode),this.groupByDirectories=[...new Map([...this.groupByDirectories].sort((e,t)=>e[1][0].OtherData.AdmDepartmentTitle.localeCompare(t[1][0].OtherData.AdmDepartmentTitle)))]):this.groupBy===this.WebDirectoryGroupByEnum.SectorDepartment&&(e=e.filter(e=>e.OtherData.SectorPortalDeptCode&&"0"!=e.OtherData.SectorPortalDeptCode),this.groupByDirectories=this._commonService.groupBy(e,e=>e.OtherData.SectorPortalDeptCode),this.groupByDirectories=[...new Map([...this.groupByDirectories].sort((e,t)=>null==e[1][0].OtherData.SectorDepartmentDisplayOrder||""==e[1][0].OtherData.SectorDepartmentDisplayOrder?1:null==t[1][0].OtherData.SectorDepartmentDisplayOrder||""==t[1][0].OtherData.SectorDepartmentDisplayOrder?-1:e[1][0].OtherData.SectorDepartmentDisplayOrder-t[1][0].OtherData.SectorDepartmentDisplayOrder))]))}}return e.\u0275fac=function(t){return new(t||e)(m.Vb(h.a),m.Vb(c.d),m.Vb(g.a),m.Vb(p.a))},e.\u0275cmp=m.Pb({type:e,selectors:[["app-web-directory"]],decls:23,vars:17,consts:[["aria-label","breadcrumb",1,"breadcrumb_nav"],[1,"breadcrumb"],[1,"breadcrumb-item"],["routerLink",""],["aria-current","page",1,"breadcrumb-item","active"],[4,"ngIf"],[1,"col-lg-12","mt-5"],[1,"title","text-center","mb-1"],[1,"img-fluid",3,"src","title","alt"],[1,"inner-page","page-web-directory"],[1,"container"],[1,"row"],[1,"col-lg-12"],["class","page-web-directory-list",4,"ngFor","ngForOf"],[3,"showImage",4,"ngIf"],[1,"page-web-directory-list"],[1,"page-web-directory-list-body"],[4,"ngFor","ngForOf"],["target","_blank",3,"href",4,"ngIf"],["target","_blank",3,"href"],[3,"showImage"]],template:function(e,t){1&e&&(m.ac(0,"nav",0),m.ac(1,"ol",1),m.ac(2,"li",2),m.ac(3,"a",3),m.Vc(4),m.nc(5,"translate"),m.Zb(),m.Zb(),m.ac(6,"li",4),m.Tc(7,lp,2,1,"span",5),m.Tc(8,rp,3,3,"span",5),m.Zb(),m.Zb(),m.Zb(),m.ac(9,"div",6),m.ac(10,"h1",7),m.Wb(11,"img",8),m.nc(12,"translate"),m.nc(13,"translate"),m.Tc(14,sp,2,1,"span",5),m.Tc(15,dp,3,3,"span",5),m.Zb(),m.Zb(),m.ac(16,"section",9),m.ac(17,"div",10),m.ac(18,"div",11),m.ac(19,"div",12),m.Tc(20,vp,8,5,"div",13),m.Tc(21,Cp,1,0,"app-mini-loader",5),m.Tc(22,Hp,1,1,"app-no-records",14),m.Zb(),m.Zb(),m.Zb(),m.Zb()),2&e&&(m.Hb(4),m.Wc(m.oc(5,11,"Home_txt")),m.Hb(3),m.tc("ngIf",t.pageTitle),m.Hb(1),m.tc("ngIf",!t.pageTitle),m.Hb(3),m.uc("src",(null==t.pageTitle?null:t.pageTitle.ImagePath)||"assets/images/document_Icon.png",m.Pc),m.uc("title",m.oc(12,13,"Web_Directory_txt")),m.uc("alt",m.oc(13,15,"Web_Directory_txt")),m.Hb(3),m.tc("ngIf",t.pageTitle),m.Hb(1),m.tc("ngIf",!t.pageTitle),m.Hb(5),m.tc("ngForOf",t.groupByDirectories),m.Hb(1),m.tc("ngIf",!t.groupByDirectories),m.Hb(1),m.tc("ngIf",t.groupByDirectories&&0==t.groupByDirectories.length))},directives:[h.d,i.n,i.m,v.a,C.a],pipes:[c.c],styles:[""]}),e})();function Mp(e,t){if(1&e&&(m.ac(0,"span"),m.Vc(1),m.Zb()),2&e){const e=m.mc();m.Hb(1),m.Wc("hi"!=e.translate.currentLang?null==e.pageTitle?null:e.pageTitle.NameEnglish:null==e.pageTitle?null:e.pageTitle.NameHindi)}}function Ip(e,t){1&e&&(m.ac(0,"span"),m.Vc(1),m.nc(2,"translate"),m.Zb()),2&e&&(m.Hb(1),m.Wc(m.oc(2,1,"Tender_txt")))}function Zp(e,t){if(1&e&&(m.ac(0,"span"),m.Vc(1),m.Zb()),2&e){const e=m.mc();m.Hb(1),m.Wc("hi"!=e.translate.currentLang?null==e.pageTitle?null:e.pageTitle.NameEnglish:null==e.pageTitle?null:e.pageTitle.NameHindi)}}function Tp(e,t){1&e&&(m.ac(0,"span"),m.Vc(1),m.nc(2,"translate"),m.Zb()),2&e&&(m.Hb(1),m.Wc(m.oc(2,1,"Tender_txt")))}function yp(e,t){if(1&e&&(m.ac(0,"li"),m.ac(1,"a",4),m.Vc(2),m.Zb(),m.Zb()),2&e){const e=m.mc().$implicit,t=m.mc(2);m.Hb(1),m.xc("routerLink","/pages/tender-list/",t.deptCode,"/",t.catCode,"/",null==e?null:e.Value,""),m.Hb(1),m.Yc(" ","hi"!=t.translate.currentLang?null==e?null:e.OtherData.OfficeName:null==e?null:e.OtherData.OfficeNameHindi," (",null==e?null:e.OtherData.TenderCount,") ")}}function xp(e,t){if(1&e&&(m.Yb(0),m.Tc(1,yp,3,5,"li",6),m.Xb()),2&e){const e=t.$implicit;m.Hb(1),m.tc("ngIf",null==e?null:e.OtherData.TenderCount)}}function Pp(e,t){if(1&e&&(m.ac(0,"div",14),m.ac(1,"ul",15),m.Tc(2,xp,2,1,"ng-container",16),m.Zb(),m.Zb()),2&e){const e=m.mc();m.Hb(2),m.tc("ngForOf",e.tenderOrderList)}}function Sp(e,t){1&e&&m.Wb(0,"app-mini-loader")}function _p(e,t){1&e&&m.Wb(0,"app-no-records")}let wp=(()=>{class e{constructor(e,t,n,i,a){this.route=e,this.translate=t,this.commonService=n,this._distDeptService=i,this._DptDistrictWebsiteService=a,this.deptCode=0,this.catCode=0,this.submenuCode=0}ngOnInit(){this.route.paramMap.subscribe(e=>{this.pageTitle=void 0,this.deptCode=Number(e.get("dptCode"))||0,this.catCode=Number(e.get("catCode"))||0,this.submenuCode=Number(e.get("submenuCode"))||0,this.getPageHeading()}),this.GetOfficeWiseTenderCounts()}getPageHeading(){this.submenuCode&&this.submenuCode>0&&this.getSubmenuDetail()}getSubmenuDetail(){this._DptDistrictWebsiteService.GetSubmenuDetail(this.submenuCode).subscribe(e=>{if(e.IsSuccess){let t=e.Data;t&&(this.pageTitle=new s.f,this.pageTitle.NameEnglish=t.DisplayNameEnglish,this.pageTitle.NameHindi=t.DisplayNameHindi,this.pageTitle.ImagePath=t.IconImage,this.commonService.SetWebTitle("hi"==this.translate.currentLang?this.pageTitle.NameHindi:this.pageTitle.NameEnglish))}})}GetOfficeWiseTenderCounts(){this._DptDistrictWebsiteService.GetOfficeWiseTenderCounts(this.deptCode,this.catCode).subscribe(e=>{this.tenderOrderList=e.IsSuccess?e.Data:[]},e=>{this.tenderOrderList=[],console.log(e)})}getCategoryDetails(){this._DptDistrictWebsiteService.GetAllDDL(r.a.DDLKeyForTender).subscribe(e=>{if(e.IsSuccess){let t=e.Data.ddlTenderCategory.filter(e=>e.Value==this.catCode);t.length&&(this.pageTitle.NameEnglish=t[0].OtherData.Name,this.pageTitle.NameHindi=t[0].OtherData.NameHindi)}})}}return e.\u0275fac=function(t){return new(t||e)(m.Vb(h.a),m.Vb(c.d),m.Vb(g.a),m.Vb(p.a),m.Vb(p.a))},e.\u0275cmp=m.Pb({type:e,selectors:[["app-office-wise-tender-count"]],decls:25,vars:20,consts:[["id","sticky-anchor"],["aria-label","breadcrumb",1,"breadcrumb_nav"],[1,"breadcrumb"],[1,"breadcrumb-item"],[3,"routerLink"],["aria-current","page",1,"breadcrumb-item","active"],[4,"ngIf"],[1,"col-lg-12","mt-5"],[1,"title","text-center","mb-1"],[1,"img-fluid",3,"src","title","alt","error"],[1,"inner-page","page-about","page-editor-entry-design"],[1,"container"],[1,"row"],["class","col-lg-12",4,"ngIf"],[1,"col-lg-12"],[1,"quick-link","site-map-link","page-sitemap-list","p-5","page-link-listing"],[4,"ngFor","ngForOf"]],template:function(e,t){1&e&&(m.Wb(0,"div",0),m.ac(1,"nav",1),m.ac(2,"ol",2),m.ac(3,"li",3),m.ac(4,"a",4),m.Vc(5),m.nc(6,"translate"),m.Zb(),m.Zb(),m.ac(7,"li",5),m.Tc(8,Mp,2,1,"span",6),m.Tc(9,Ip,3,3,"span",6),m.Vc(10),m.nc(11,"translate"),m.Zb(),m.Zb(),m.Zb(),m.ac(12,"div",7),m.ac(13,"h1",8),m.ac(14,"img",9),m.ic("error",(function(e){return t.commonService.onImageError(e,"assets/images/document_Icon.png")})),m.Zb(),m.Tc(15,Zp,2,1,"span",6),m.Tc(16,Tp,3,3,"span",6),m.Vc(17),m.nc(18,"translate"),m.Zb(),m.Zb(),m.ac(19,"section",10),m.ac(20,"div",11),m.ac(21,"div",12),m.Tc(22,Pp,3,1,"div",13),m.Tc(23,Sp,1,0,"app-mini-loader",6),m.Tc(24,_p,1,0,"app-no-records",6),m.Zb(),m.Zb(),m.Zb()),2&e&&(m.Hb(4),m.uc("routerLink",t.commonService.GetHomePageUrl()),m.Hb(1),m.Wc(m.oc(6,14,"Home_txt")),m.Hb(3),m.tc("ngIf",(null==t.pageTitle?null:t.pageTitle.NameEnglish)||(null==t.pageTitle?null:t.pageTitle.NameHindi)),m.Hb(1),m.tc("ngIf",!(null!=t.pageTitle&&t.pageTitle.NameEnglish||null!=t.pageTitle&&t.pageTitle.NameHindi)),m.Hb(1),m.Xc(" - ",m.oc(11,16,"OfficeList_txt")," "),m.Hb(4),m.uc("src",(null==t.pageTitle?null:t.pageTitle.ImagePath)||"assets/images/document_Icon.png",m.Pc),m.uc("title",t.pageTitle?"hi"!=t.translate.currentLang?null==t.pageTitle?null:t.pageTitle.NameEnglish:null==t.pageTitle?null:t.pageTitle.NameHindi:" "),m.uc("alt",t.pageTitle?"hi"!=t.translate.currentLang?null==t.pageTitle?null:t.pageTitle.NameEnglish:null==t.pageTitle?null:t.pageTitle.NameHindi:" "),m.Hb(1),m.tc("ngIf",(null==t.pageTitle?null:t.pageTitle.NameEnglish)||(null==t.pageTitle?null:t.pageTitle.NameHindi)),m.Hb(1),m.tc("ngIf",!(null!=t.pageTitle&&t.pageTitle.NameEnglish||null!=t.pageTitle&&t.pageTitle.NameHindi)),m.Hb(1),m.Xc(" - ",m.oc(18,18,"OfficeList_txt")," "),m.Hb(5),m.tc("ngIf",t.tenderOrderList&&t.tenderOrderList.length),m.Hb(1),m.tc("ngIf",!t.tenderOrderList),m.Hb(1),m.tc("ngIf",t.tenderOrderList&&0==t.tenderOrderList.length))},directives:[h.d,i.n,i.m,v.a,C.a],pipes:[c.c],styles:[""]}),e})();function Lp(e,t){if(1&e&&(m.ac(0,"span"),m.Vc(1),m.Zb()),2&e){const e=m.mc();m.Hb(1),m.Wc("hi"!=e.translate.currentLang?null==e.pageTitle?null:e.pageTitle.NameEnglish:null==e.pageTitle?null:e.pageTitle.NameHindi)}}function Vp(e,t){1&e&&(m.ac(0,"span"),m.Vc(1),m.Zb()),2&e&&(m.Hb(1),m.Wc(" "))}function kp(e,t){if(1&e&&(m.ac(0,"span"),m.Vc(1),m.Zb()),2&e){const e=m.mc();m.Hb(1),m.Wc("hi"!=e.translate.currentLang?null==e.pageTitle?null:e.pageTitle.NameEnglish:null==e.pageTitle?null:e.pageTitle.NameHindi)}}function Np(e,t){1&e&&(m.ac(0,"span"),m.Vc(1),m.Zb()),2&e&&(m.Hb(1),m.Wc(" "))}function Op(e,t){if(1&e){const e=m.bc();m.ac(0,"div"),m.ac(1,"a",19),m.ic("click",(function(){m.Mc(e);const n=t.$implicit;return m.mc(2)._commonService.setFocus("record_"+n.Id)})),m.Vc(2),m.Zb(),m.Zb()}if(2&e){const e=t.$implicit,n=t.index,i=m.mc(2);m.Hb(2),m.Yc(" ",(i.descriptionIndexModel.Page-1)*i.descriptionIndexModel.PageSize+(n+1),". ","en"==i.translate.currentLang?e.AchievementHindi:e.SubjectHindi?e.SubjectHindi:e.AchievementHindi," ")}}function Ap(e,t){if(1&e){const e=m.bc();m.ac(0,"div"),m.ac(1,"div",26),m.ac(2,"a",27),m.ac(3,"img",28),m.ic("error",(function(t){return m.Mc(e),m.mc(3)._commonService.onImageError(t,"assets/images/record-not-found.png")})),m.Zb(),m.Zb(),m.Zb(),m.Zb()}if(2&e){const e=m.mc().$implicit,t=m.mc(2);m.Hb(2),m.uc("href",null==e?null:e.ImagePath,m.Pc),m.Hb(1),m.uc("src",null==e?null:e.ImagePath,m.Pc),m.uc("title","en"==t.translate.currentLang?e.AchievementHindi:e.SubjectHindi),m.uc("alt","en"==t.translate.currentLang?e.AchievementHindi:e.SubjectHindi)}}function Wp(e,t){if(1&e&&(m.ac(0,"div"),m.ac(1,"div",29),m.ac(2,"a",27),m.Wb(3,"i",30),m.Zb(),m.Zb(),m.Zb()),2&e){const e=m.mc().$implicit;m.Hb(2),m.uc("href",null==e?null:e.PdfFIleName,m.Pc)}}function Ep(e,t){if(1&e&&(m.ac(0,"div",20),m.ac(1,"div",15),m.ac(2,"div",21),m.ac(3,"div",22),m.ac(4,"h2",23),m.Vc(5),m.Zb(),m.ac(6,"div",24),m.Tc(7,Ap,4,4,"div",5),m.Tc(8,Wp,4,1,"div",5),m.Zb(),m.Zb(),m.Wb(9,"pre",25),m.Zb(),m.Zb(),m.Zb()),2&e){const e=t.$implicit,n=t.index,i=m.mc(2);m.uc("id","record_"+e.Id),m.Hb(5),m.Yc(" ",(i.descriptionIndexModel.Page-1)*i.descriptionIndexModel.PageSize+(n+1),". ","en"==i.translate.currentLang?e.AchievementHindi:e.SubjectHindi?e.SubjectHindi:e.AchievementHindi," "),m.Hb(2),m.tc("ngIf",null==e?null:e.ImagePath),m.Hb(1),m.tc("ngIf",null==e?null:e.PdfFIleName),m.Hb(1),m.tc("innerHTML","hi"==i.translate.currentLang?e.EditorDetail:e.EditorDetailEnglish,m.Nc)}}function Gp(e,t){if(1&e){const e=m.bc();m.ac(0,"div",31),m.ac(1,"select",32),m.ic("change",(function(t){return m.Mc(e),m.mc(2).descriptionChangePageSize(t.target.value)})),m.ac(2,"option",33),m.Vc(3),m.nc(4,"translate"),m.Zb(),m.ac(5,"option",34),m.Vc(6,"15"),m.Zb(),m.ac(7,"option",35),m.Vc(8,"30"),m.Zb(),m.ac(9,"option",36),m.Vc(10,"60"),m.Zb(),m.ac(11,"option",37),m.Vc(12,"120"),m.Zb(),m.Zb(),m.ac(13,"pagination-controls",38),m.ic("pageChange",(function(t){return m.Mc(e),m.mc(2).descriptionGetNextPageRecord(t)})),m.nc(14,"translate"),m.nc(15,"translate"),m.Zb(),m.Zb()}if(2&e){const e=m.mc(2);m.Hb(2),m.uc("value",e.descriptionTotalRecords),m.Hb(1),m.Wc(m.oc(4,4,"All_txt")),m.Hb(10),m.uc("previousLabel",m.oc(14,6,"Previous_txt")),m.uc("nextLabel",m.oc(15,8,"Next_txt"))}}function Fp(e,t){if(1&e&&(m.Yb(0),m.ac(1,"div",14),m.ac(2,"div",9),m.ac(3,"div",15),m.Tc(4,Op,3,2,"div",16),m.Zb(),m.Zb(),m.Zb(),m.ac(5,"div",14),m.Tc(6,Ep,10,6,"div",17),m.nc(7,"paginate"),m.Zb(),m.Tc(8,Gp,16,10,"div",18),m.Xb()),2&e){const e=m.mc();m.Hb(4),m.tc("ngForOf",e.descriptionModel),m.Hb(2),m.tc("ngForOf",m.pc(7,3,e.descriptionModel,e.descriptionPagerConfig)),m.Hb(2),m.tc("ngIf",e.descriptionTotalRecords>15)}}function Rp(e,t){1&e&&m.Wb(0,"app-mini-loader")}function Xp(e,t){1&e&&m.Wb(0,"app-no-records",39),2&e&&m.tc("showImage",!0)}let Bp=(()=>{class e{constructor(e,t,n,i,a,c){this.achievementAwardService=e,this._dptDistrictWebsiteService=t,this._route=n,this._commonService=i,this.route=a,this.translate=c,this.descriptionIndexModel=new s.d,this.descriptionTotalRecords=0,this.descriptionPagerConfig={id:"description-paging",itemsPerPage:this.descriptionIndexModel.PageSize,currentPage:this.descriptionIndexModel.Page,totalItems:this.descriptionTotalRecords},this.departmentCode=0,this.pageName="",this.submenuCode=0,this._route.paramMap.subscribe(e=>{this.pageTitle=void 0;let t=this.route.url.replace("/","").split("/"),n=this._route.snapshot.params.dptCode;this.departmentCode=n?Number(n):this._commonService.GetWebDistDeptCode();let i=this._route.snapshot.params.catCode;i&&(this.catCode=Number(i));let a=this._route.snapshot.params.subCatCode;a&&(this.subCatCode=Number(a));let c=this._route.snapshot.params.submenuCode;c&&(this.submenuCode=Number(c)),this.pageName=this.submenuCode>=0?this.subCatCode?t[t.length-5]:this.catCode?t[t.length-4]:t[t.length-3]:this.subCatCode?t[t.length-4]:this.catCode?t[t.length-3]:t[t.length-2],this.getPageHeading(),this._commonService.SetWebTitle("hi"==this.translate.currentLang?"\u0935\u093f\u0935\u0930\u0923":"Description")})}getPageHeading(){this.submenuCode>0?this.getSubmenuDetail():this.subCatCode>0?this.getSubCategoryDetail():this.getCategoryDetail()}getSubmenuDetail(){this._dptDistrictWebsiteService.GetSubmenuDetail(this.submenuCode).subscribe(e=>{if(e.IsSuccess){let t=e.Data;t&&(this.pageTitle=new s.f,this.pageTitle.NameEnglish=t.DisplayNameEnglish,this.pageTitle.NameHindi=t.DisplayNameHindi,this.pageTitle.ImagePath=t.IconImage,this._commonService.SetWebTitle("hi"==this.translate.currentLang?this.pageTitle.NameHindi:this.pageTitle.NameEnglish))}},e=>{})}ngOnInit(){this.getDescriptionData()}getDescriptionData(){this.descriptionModel=void 0,this.descriptionIndexModel.OrderBy="Priority",this.descriptionIndexModel.OrderByAsc=1,this.descriptionIndexModel.AdvanceSearchModel={DepartmentCode:this.departmentCode,CategoryCode:this.catCode||0,SubCategoryCode:this.subCatCode||0},this.achievementAwardService.GetAdvertisementListData(this.descriptionIndexModel).subscribe(e=>{e.IsSuccess?(this.descriptionModel=e.Data.Data,this.descriptionIndexModel.IsPostBack||(this.descriptionTotalRecords=e.Data.TotalRecords),this.descriptionUpdatePageConfig()):this.descriptionModel=[]},e=>{this.descriptionModel=[]})}descriptionGetNextPageRecord(e){window.scroll(0,0),this.descriptionIndexModel.IsPostBack=!0,this.descriptionIndexModel.Page=e,this.getDescriptionData()}descriptionChangePageSize(e){window.scroll(0,0),this.descriptionIndexModel.IsPostBack=!0,this.descriptionIndexModel.PageSize=Number(e),this.descriptionIndexModel.Page=1,this.getDescriptionData()}descriptionUpdatePageConfig(){this.descriptionPagerConfig.itemsPerPage=this.descriptionIndexModel.PageSize,this.descriptionPagerConfig.currentPage=this.descriptionIndexModel.Page,this.descriptionPagerConfig.totalItems=this.descriptionTotalRecords}getCategoryDetail(){this.achievementAwardService.GetAcievementCatDetail(this.catCode).subscribe(e=>{if(e.IsSuccess){this.pageTitle=new s.f;let t=e.Data;this.pageTitle.NameEnglish=t.SubMenuNameEnglish,this.pageTitle.NameHindi=t.SubMenuNameHindi,this.pageTitle.ImagePath=t.ImagePath,this._commonService.SetWebTitle("hi"==this.translate.currentLang?this.pageTitle.NameHindi:this.pageTitle.NameEnglish)}},e=>{console.error(e)})}getSubCategoryDetail(){this.achievementAwardService.GetAcievementSubCatDetail(this.subCatCode).subscribe(e=>{if(e.IsSuccess){this.pageTitle=new s.f;let t=e.Data;this.pageTitle.NameEnglish=t.Title,this.pageTitle.NameHindi=t.TitleHindi,this.pageTitle.ImagePath=t.ImagePath,this._commonService.SetWebTitle("hi"==this.translate.currentLang?this.pageTitle.NameHindi:this.pageTitle.NameEnglish)}},e=>{console.error(e)})}}return e.\u0275fac=function(t){return new(t||e)(m.Vb(u.a),m.Vb(p.a),m.Vb(h.a),m.Vb(g.a),m.Vb(h.b),m.Vb(c.d))},e.\u0275cmp=m.Pb({type:e,selectors:[["app-subject-description-bookmark-list"]],decls:22,vars:14,consts:[["aria-label","breadcrumb",1,"breadcrumb_nav"],[1,"breadcrumb"],[1,"breadcrumb-item"],[3,"routerLink"],["aria-current","page",1,"breadcrumb-item","active"],[4,"ngIf"],[1,"order_page"],[1,"gallery","pt-5"],[1,"container-fluid"],[1,"row"],[1,"col-lg-12","p-0"],[1,"title","text-center"],[1,"img-fluid","mr-10",3,"src","title","alt","error"],[3,"showImage",4,"ngIf"],[1,"container"],[1,"col-lg-12"],[4,"ngFor","ngForOf"],["class","row mt-4",3,"id",4,"ngFor","ngForOf"],["class","new-pagination-outer",4,"ngIf"],["href","javascript:void(0);",1,"btn","btn-round","btn-theme","btn-yellow","mb-3",3,"click"],[1,"row","mt-4",3,"id"],[1,"card-d-1"],[1,"d-md-flex","align-items-center","justify-content-between","mb-2"],[1,"text-color-theme-blue","font-size-3x"],[1,"d-flex","align-items-center"],[3,"innerHTML"],[1,"card-d-1-gallery-img"],["target","_blank",3,"href"],[3,"src","title","alt","error"],[1,"card-d-1-gallery-pdf"],[1,"fas","fa-file-pdf"],[1,"new-pagination-outer"],["name","example_length","aria-controls","example",1,"form-control-sm",2,"width","70px",3,"change"],[3,"value"],["selected","","value","15"],["value","30"],["value","60"],["value","120"],["id","description-paging","autoHide","true",1,"w-100","text-center","mt-4",3,"previousLabel","nextLabel","pageChange"],[3,"showImage"]],template:function(e,t){1&e&&(m.Wb(0,"app-loader"),m.ac(1,"nav",0),m.ac(2,"ol",1),m.ac(3,"li",2),m.ac(4,"a",3),m.Vc(5),m.nc(6,"translate"),m.Zb(),m.Zb(),m.ac(7,"li",4),m.Tc(8,Lp,2,1,"span",5),m.Tc(9,Vp,2,1,"span",5),m.Zb(),m.Zb(),m.Zb(),m.ac(10,"section",6),m.ac(11,"section",7),m.ac(12,"div",8),m.ac(13,"div",9),m.ac(14,"div",10),m.ac(15,"h1",11),m.ac(16,"img",12),m.ic("error",(function(e){return t._commonService.onImageError(e,"assets/images/ADVT.png")})),m.Zb(),m.Tc(17,kp,2,1,"span",5),m.Tc(18,Np,2,1,"span",5),m.Zb(),m.Tc(19,Fp,9,6,"ng-container",5),m.Tc(20,Rp,1,0,"app-mini-loader",5),m.Tc(21,Xp,1,1,"app-no-records",13),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.Zb()),2&e&&(m.Hb(4),m.uc("routerLink",t._commonService.GetHomePageUrl()),m.Hb(1),m.Wc(m.oc(6,12,"Home_txt")),m.Hb(3),m.tc("ngIf",t.pageTitle),m.Hb(1),m.tc("ngIf",!t.pageTitle),m.Hb(7),m.uc("title",t.pageTitle?"hi"!=t.translate.currentLang?null==t.pageTitle?null:t.pageTitle.NameEnglish:null==t.pageTitle?null:t.pageTitle.NameHindi:" "),m.uc("alt",t.pageTitle?"hi"!=t.translate.currentLang?null==t.pageTitle?null:t.pageTitle.NameEnglish:null==t.pageTitle?null:t.pageTitle.NameHindi:" "),m.tc("src",null==t.pageTitle?null:t.pageTitle.ImagePath,m.Pc),m.Hb(1),m.tc("ngIf",t.pageTitle),m.Hb(1),m.tc("ngIf",!t.pageTitle),m.Hb(1),m.tc("ngIf",t.descriptionModel&&(null==t.descriptionModel?null:t.descriptionModel.length)>0),m.Hb(1),m.tc("ngIf",!t.descriptionModel),m.Hb(1),m.tc("ngIf",t.descriptionModel&&0==t.descriptionModel.length))},directives:[et.a,h.d,i.n,i.m,a.q,a.w,f.c,v.a,C.a],pipes:[c.c,f.b],styles:[""]}),e})();function Up(e,t){if(1&e&&(m.ac(0,"span"),m.Vc(1),m.Zb()),2&e){const e=m.mc();m.Hb(1),m.Wc("hi"!=e.translate.currentLang?null==e.pageTitle?null:e.pageTitle.NameEnglish:null==e.pageTitle?null:e.pageTitle.NameHindi)}}function zp(e,t){1&e&&(m.ac(0,"span"),m.Vc(1),m.Zb()),2&e&&(m.Hb(1),m.Wc(" "))}function jp(e,t){if(1&e&&(m.ac(0,"span"),m.Vc(1),m.Zb()),2&e){const e=m.mc();m.Hb(1),m.Wc("hi"!=e.translate.currentLang?null==e.pageTitle?null:e.pageTitle.NameEnglish:null==e.pageTitle?null:e.pageTitle.NameHindi)}}function $p(e,t){1&e&&(m.ac(0,"span"),m.Vc(1),m.Zb()),2&e&&(m.Hb(1),m.Wc(" "))}function Yp(e,t){if(1&e&&(m.ac(0,"h6",15),m.Vc(1),m.Zb()),2&e){const e=m.mc();m.Hb(1),m.Xc(" ",e.subCatDescription," ")}}function qp(e,t){if(1&e&&(m.ac(0,"a",28),m.Vc(1),m.Zb()),2&e){const e=m.mc().$implicit,t=m.mc(3);m.uc("href",null==e?null:e.Url,m.Pc),m.Hb(1),m.Xc(" ","en"==t.translate.currentLang?e.Achievement:e.AchievementHindi,"")}}function Jp(e,t){if(1&e&&(m.ac(0,"a"),m.Vc(1),m.Zb()),2&e){const e=m.mc().$implicit,t=m.mc(3);m.Hb(1),m.Xc(" ","en"==t.translate.currentLang?e.Achievement:e.AchievementHindi,"")}}function Kp(e,t){if(1&e&&(m.ac(0,"a",29),m.Wb(1,"i",30),m.Zb()),2&e){const e=m.mc().$implicit;m.uc("href",null==e?null:e.Url,m.Pc)}}function Qp(e,t){if(1&e&&(m.ac(0,"a",31),m.Wb(1,"i",32),m.Zb()),2&e){const e=m.mc().$implicit,t=m.mc(3);m.tc("href",t.commonService.GetGoogleMapUrl(e.Latitude,e.Longitude),m.Pc)}}function ef(e,t){if(1&e){const e=m.bc();m.ac(0,"div",19),m.ac(1,"div",20),m.ac(2,"div",21),m.ac(3,"img",22),m.ic("error",(function(t){return m.Mc(e),m.mc(3).commonService.onImageError(t,"assets/images/no-img.png")})),m.Zb(),m.Zb(),m.ac(4,"div",23),m.ac(5,"h6"),m.Tc(6,qp,2,2,"a",24),m.Tc(7,Jp,2,1,"a",5),m.Zb(),m.ac(8,"p"),m.Vc(9),m.Zb(),m.ac(10,"div",25),m.Tc(11,Kp,2,1,"a",26),m.Tc(12,Qp,2,1,"a",27),m.Zb(),m.Zb(),m.Zb(),m.Zb()}if(2&e){const e=t.$implicit,n=m.mc(3);m.Hb(3),m.tc("src",e.ImagePath,m.Pc)("alt","en"==n.translate.currentLang?e.Achievement:e.AchievementHindi)("title","en"==n.translate.currentLang?e.Achievement:e.AchievementHindi),m.Hb(3),m.tc("ngIf",e.Url),m.Hb(1),m.tc("ngIf",!e.Url),m.Hb(2),m.Wc("en"==n.translate.currentLang?e.Description:e.DescriptionHindi),m.Hb(2),m.tc("ngIf",e.Url),m.Hb(1),m.tc("ngIf",e.Latitude&&e.Longitude)}}function tf(e,t){if(1&e&&(m.ac(0,"div",17),m.ac(1,"h2"),m.Vc(2),m.Zb(),m.ac(3,"div",12),m.Tc(4,ef,13,8,"div",18),m.Zb(),m.Zb()),2&e){const e=t.$implicit,n=m.mc(2);m.Hb(2),m.Xc("",e[1][0].LookupName?e[1][0].LookupName:"en"==n.translate.currentLang?n.pageTitle.NameEnglish:n.pageTitle.NameHindi," "),m.Hb(2),m.tc("ngForOf",e[1])}}function nf(e,t){if(1&e&&(m.Yb(0),m.Tc(1,tf,5,2,"div",16),m.Xb()),2&e){const e=m.mc();m.Hb(1),m.tc("ngForOf",e.groupByLookup)}}function af(e,t){1&e&&m.Wb(0,"app-mini-loader")}function cf(e,t){1&e&&m.Wb(0,"app-no-records",33),2&e&&m.tc("showImage",!0)}let of=(()=>{class e{constructor(e,t,n,i,a){this._route=e,this._achievementAwardService=t,this.commonService=n,this.translate=i,this._distDeptService=a,this.filterModel=new l.b,this.submenuCode=0,this.subCatDescription="",this._route.params.subscribe(e=>{this.pageTitle=void 0,this.filterModel.DepartmentCode=e.deptCode||0,this.filterModel.CategoryCode=e.catCode||0,this.filterModel.SubCategoryCode=e.subCatCode||0,this.submenuCode=Number(e.submenuCode||0),this.getPageHeading(),this.getData()})}ngOnInit(){}getPageHeading(){this.submenuCode>0?this.getSubmenuDetail():Number(this.filterModel.SubCategoryCode||0)>0?this.getSubCategoryDetail():this.filterModel.CategoryCode&&Number(this.filterModel.CategoryCode||0)>0&&this.getCategoryDetail()}getSubmenuDetail(){this._distDeptService.GetSubmenuDetail(this.submenuCode).subscribe(e=>{if(e.IsSuccess){let t=e.Data;t&&(this.pageTitle=new s.f,this.pageTitle.NameEnglish=t.DisplayNameEnglish,this.pageTitle.NameHindi=t.DisplayNameHindi,this.pageTitle.ImagePath=t.IconImage,this.commonService.SetWebTitle("hi"==this.translate.currentLang?this.pageTitle.NameHindi:this.pageTitle.NameEnglish))}},e=>{})}getCategoryDetail(){this.filterModel.CategoryCode&&this._distDeptService.GetJankalyanCategoryDetail(Number(this.filterModel.CategoryCode)).subscribe(e=>{if(e.IsSuccess){let t=e.Data;t&&(this.pageTitle=new s.f,this.pageTitle.NameEnglish=t.SubMenuNameEnglish||t.Name,this.pageTitle.NameHindi=t.SubMenuNameHindi||t.NameHindi,this.commonService.SetWebTitle("hi"==this.translate.currentLang?this.pageTitle.NameHindi:this.pageTitle.NameEnglish))}})}getData(){this.filterModel.IndexModel.PageSize=101,this._achievementAwardService.GetAchievementListBySearchFilterData(this.filterModel,!0).subscribe(e=>{e.IsSuccess?(this.data=e.Data.Data,this.groupByLookup=this.commonService.groupBy(this.data,e=>e.LookupCode),this.groupByLookup=[...this.groupByLookup]):this.data=[]},e=>{this.data=[]})}getSubCategoryDetail(){this._achievementAwardService.GetAcievementSubCatDetail(Number(this.filterModel.SubCategoryCode)).subscribe(e=>{if(e.IsSuccess){this.pageTitle=new s.f;let t=e.Data;this.pageTitle.NameEnglish=t.Title,this.pageTitle.NameHindi=t.TitleHindi,this.subCatDescription=t.Description}},e=>{console.error(e)})}}return e.\u0275fac=function(t){return new(t||e)(m.Vb(h.a),m.Vb(u.a),m.Vb(g.a),m.Vb(c.d),m.Vb(p.a))},e.\u0275cmp=m.Pb({type:e,selectors:[["app-gen-entry-lookup-grid"]],decls:22,vars:13,consts:[["aria-label","breadcrumb",1,"breadcrumb_nav"],[1,"breadcrumb"],[1,"breadcrumb-item"],[3,"routerLink"],["aria-current","page",1,"breadcrumb-item","active"],[4,"ngIf"],[1,"col-lg-12","mt-5"],[1,"title","text-center","mb-1"],[1,"img-fluid",3,"src"],["style","text-align: center;",4,"ngIf"],[1,"inner-page","page-web-directory"],[1,"container"],[1,"row"],[1,"col-lg-12"],[3,"showImage",4,"ngIf"],[2,"text-align","center"],["class","gov-doc-grid",4,"ngFor","ngForOf"],[1,"gov-doc-grid"],["class","col-sm-6 col-lg-4 col-xl-3 mb-4",4,"ngFor","ngForOf"],[1,"col-sm-6","col-lg-4","col-xl-3","mb-4"],[1,"gov-doc-grid-items"],[1,"gov-doc-grid-items-img","d-flex","align-items-center","justify-content-center"],[3,"src","alt","title","error"],[1,"gov-doc-grid-items-body"],["target","_blank","style","color: black;",3,"href",4,"ngIf"],[1,"gov-doc-grid-items-action"],["class","text-info","target","_blank","title","Site Url",3,"href",4,"ngIf"],["target","_blank","title","Map","class","text-primary",3,"href",4,"ngIf"],["target","_blank",2,"color","black",3,"href"],["target","_blank","title","Site Url",1,"text-info",3,"href"],[1,"fa","fa-globe"],["target","_blank","title","Map",1,"text-primary",3,"href"],[1,"fa","fa-map-marker"],[3,"showImage"]],template:function(e,t){1&e&&(m.ac(0,"nav",0),m.ac(1,"ol",1),m.ac(2,"li",2),m.ac(3,"a",3),m.Vc(4),m.nc(5,"translate"),m.Zb(),m.Zb(),m.ac(6,"li",4),m.Tc(7,Up,2,1,"span",5),m.Tc(8,zp,2,1,"span",5),m.Zb(),m.Zb(),m.Zb(),m.ac(9,"div",6),m.ac(10,"h1",7),m.Wb(11,"img",8),m.Tc(12,jp,2,1,"span",5),m.Tc(13,$p,2,1,"span",5),m.Zb(),m.Tc(14,Yp,2,1,"h6",9),m.Zb(),m.ac(15,"section",10),m.ac(16,"div",11),m.ac(17,"div",12),m.ac(18,"div",13),m.Tc(19,nf,2,1,"ng-container",5),m.Tc(20,af,1,0,"app-mini-loader",5),m.Tc(21,cf,1,1,"app-no-records",14),m.Zb(),m.Zb(),m.Zb(),m.Zb()),2&e&&(m.Hb(3),m.uc("routerLink",t.commonService.GetHomePageUrl()),m.Hb(1),m.Wc(m.oc(5,11,"Home_txt")),m.Hb(3),m.tc("ngIf",t.pageTitle),m.Hb(1),m.tc("ngIf",!t.pageTitle),m.Hb(3),m.uc("src",(null==t.pageTitle?null:t.pageTitle.ImagePath)||"assets/images/requered-doc.png",m.Pc),m.Hb(1),m.tc("ngIf",t.pageTitle),m.Hb(1),m.tc("ngIf",!t.pageTitle),m.Hb(1),m.tc("ngIf",t.subCatDescription),m.Hb(5),m.tc("ngIf",t.groupByLookup&&t.groupByLookup.length),m.Hb(1),m.tc("ngIf",!t.groupByLookup),m.Hb(1),m.tc("ngIf",t.groupByLookup&&0==t.groupByLookup.length))},directives:[h.d,i.n,i.m,v.a,C.a],pipes:[c.c],styles:[""]}),e})();function lf(e,t){if(1&e&&(m.ac(0,"span"),m.Vc(1),m.Zb()),2&e){const e=m.mc();m.Hb(1),m.Wc("hi"!=e.translate.currentLang?null==e.pageTitle?null:e.pageTitle.NameEnglish:null==e.pageTitle?null:e.pageTitle.NameHindi)}}function rf(e,t){1&e&&(m.ac(0,"span"),m.Vc(1),m.Zb()),2&e&&(m.Hb(1),m.Wc(" "))}function sf(e,t){if(1&e&&(m.ac(0,"span"),m.Vc(1),m.Zb()),2&e){const e=m.mc();m.Hb(1),m.Wc("hi"!=e.translate.currentLang?null==e.pageTitle?null:e.pageTitle.NameEnglish:null==e.pageTitle?null:e.pageTitle.NameHindi)}}function df(e,t){1&e&&(m.ac(0,"span"),m.Vc(1),m.Zb()),2&e&&(m.Hb(1),m.Wc(" "))}function mf(e,t){if(1&e&&(m.ac(0,"h2"),m.Vc(1),m.Zb()),2&e){const e=m.mc().$implicit,t=m.mc(2);m.Hb(1),m.Xc(" ",e[1][0].AchievementSubCategory?e[1][0].AchievementSubCategory:t.pageTitle.NameEnglish,"")}}function uf(e,t){if(1&e&&(m.ac(0,"h2"),m.Vc(1),m.Zb()),2&e){const e=m.mc().$implicit,t=m.mc(2);m.Hb(1),m.Xc(" ",e[1][0].AchievementSubCategoryHindi?e[1][0].AchievementSubCategoryHindi:t.pageTitle.NameHindi," ")}}function bf(e,t){if(1&e&&(m.ac(0,"a",26),m.Vc(1),m.Zb()),2&e){const e=m.mc().$implicit,t=m.mc(3);m.uc("href",null==e?null:e.Url,m.Pc),m.Hb(1),m.Xc(" ","en"==t.translate.currentLang?e.Achievement:e.AchievementHindi,"")}}function gf(e,t){if(1&e&&(m.ac(0,"a"),m.Vc(1),m.Zb()),2&e){const e=m.mc().$implicit,t=m.mc(3);m.Hb(1),m.Xc(" ","en"==t.translate.currentLang?e.Achievement:e.AchievementHindi,"")}}function hf(e,t){if(1&e&&(m.ac(0,"a",27),m.Wb(1,"i",28),m.Zb()),2&e){const e=m.mc().$implicit;m.uc("href",null==e?null:e.Url,m.Pc)}}function pf(e,t){if(1&e&&(m.ac(0,"a",29),m.Wb(1,"i",30),m.Zb()),2&e){const e=m.mc().$implicit,t=m.mc(3);m.tc("href",t.commonService.GetGoogleMapUrl(e.Latitude,e.Longitude),m.Pc)}}function ff(e,t){if(1&e){const e=m.bc();m.ac(0,"div",17),m.ac(1,"div",18),m.ac(2,"div",19),m.ac(3,"img",20),m.ic("error",(function(t){return m.Mc(e),m.mc(3).commonService.onImageError(t,"assets/images/no-img.png")})),m.Zb(),m.Zb(),m.ac(4,"div",21),m.ac(5,"h6"),m.Tc(6,bf,2,2,"a",22),m.Tc(7,gf,2,1,"a",5),m.Zb(),m.ac(8,"p"),m.Vc(9),m.Zb(),m.ac(10,"div",23),m.Tc(11,hf,2,1,"a",24),m.Tc(12,pf,2,1,"a",25),m.Zb(),m.Zb(),m.Zb(),m.Zb()}if(2&e){const e=t.$implicit,n=m.mc(3);m.Hb(3),m.tc("src",e.ImagePath,m.Pc)("alt","en"==n.translate.currentLang?e.Achievement:e.AchievementHindi)("title","en"==n.translate.currentLang?e.Achievement:e.AchievementHindi),m.Hb(3),m.tc("ngIf",e.Url),m.Hb(1),m.tc("ngIf",!e.Url),m.Hb(2),m.Wc("en"==n.translate.currentLang?e.Description:e.DescriptionHindi),m.Hb(2),m.tc("ngIf",e.Url),m.Hb(1),m.tc("ngIf",e.Latitude&&e.Longitude)}}function vf(e,t){if(1&e&&(m.ac(0,"div",15),m.Tc(1,mf,2,1,"h2",5),m.Tc(2,uf,2,1,"h2",5),m.ac(3,"div",11),m.Tc(4,ff,13,8,"div",16),m.Zb(),m.Zb()),2&e){const e=t.$implicit,n=m.mc(2);m.Hb(1),m.tc("ngIf","en"==n.translate.currentLang),m.Hb(1),m.tc("ngIf","hi"==n.translate.currentLang),m.Hb(2),m.tc("ngForOf",e[1])}}function Cf(e,t){if(1&e&&(m.Yb(0),m.Tc(1,vf,5,3,"div",14),m.Xb()),2&e){const e=m.mc();m.Hb(1),m.tc("ngForOf",e.groupBySubCat)}}function Hf(e,t){1&e&&m.Wb(0,"app-mini-loader")}function Df(e,t){1&e&&m.Wb(0,"app-no-records",31),2&e&&m.tc("showImage",!0)}let Mf=(()=>{class e{constructor(e,t,n,i,a){this._route=e,this._achievementAwardService=t,this._distDeptService=n,this.commonService=i,this.translate=a,this.filterModel=new l.b,this.submenuCode=0,this._route.params.subscribe(e=>{this.pageTitle=void 0,this.filterModel.DepartmentCode=e.deptCode||0,this.filterModel.CategoryCode=e.catCode||0,this.submenuCode=Number(e.submenuCode||0),this.getPageHeading(),this.getData()})}getPageHeading(){this.submenuCode>0?this.getSubmenuDetail():Number(this.filterModel.CategoryCode||0)>0&&this.getCategoryDetail()}getSubmenuDetail(){this._distDeptService.GetSubmenuDetail(this.submenuCode).subscribe(e=>{if(e.IsSuccess){let t=e.Data;t&&(this.pageTitle=new s.f,this.pageTitle.NameEnglish=t.DisplayNameEnglish,this.pageTitle.NameHindi=t.DisplayNameHindi,this.pageTitle.ImagePath=t.IconImage,this.commonService.SetWebTitle("hi"==this.translate.currentLang?this.pageTitle.NameHindi:this.pageTitle.NameEnglish))}},e=>{})}ngOnInit(){}getData(){this.groupBySubCat=null,this.filterModel.IndexModel.PageSize=101,this._achievementAwardService.GetAchievementListBySearchFilterData(this.filterModel,!0).subscribe(e=>{e.IsSuccess?(this.data=e.Data.Data,this.groupBySubCat=this.commonService.groupBy(this.data,e=>e.AchievementSubCategoryCode),this.groupBySubCat=[...this.groupBySubCat]):this.data=[]},e=>{this.data=[]})}getCategoryDetail(){this._achievementAwardService.GetAcievementCatDetail(Number(this.filterModel.CategoryCode)).subscribe(e=>{if(e.IsSuccess){this.pageTitle=new s.f;let t=e.Data;this.pageTitle.NameEnglish=t.SubMenuNameEnglish,this.pageTitle.NameHindi=t.SubMenuNameHindi}},e=>{console.error(e)})}}return e.\u0275fac=function(t){return new(t||e)(m.Vb(h.a),m.Vb(u.a),m.Vb(p.a),m.Vb(g.a),m.Vb(c.d))},e.\u0275cmp=m.Pb({type:e,selectors:[["app-gen-entry-subcategory-grid"]],decls:21,vars:12,consts:[["aria-label","breadcrumb",1,"breadcrumb_nav"],[1,"breadcrumb"],[1,"breadcrumb-item"],[3,"routerLink"],["aria-current","page",1,"breadcrumb-item","active"],[4,"ngIf"],[1,"col-lg-12","mt-5"],[1,"title","text-center","mb-1"],[1,"img-fluid",3,"src"],[1,"inner-page","page-web-directory"],[1,"container"],[1,"row"],[1,"col-lg-12"],[3,"showImage",4,"ngIf"],["class","gov-doc-grid",4,"ngFor","ngForOf"],[1,"gov-doc-grid"],["class","col-sm-6 col-lg-4 col-xl-3 mb-4",4,"ngFor","ngForOf"],[1,"col-sm-6","col-lg-4","col-xl-3","mb-4"],[1,"gov-doc-grid-items"],[1,"gov-doc-grid-items-img","d-flex","align-items-center","justify-content-center"],[3,"src","alt","title","error"],[1,"gov-doc-grid-items-body"],["target","_blank","style","color: black;",3,"href",4,"ngIf"],[1,"gov-doc-grid-items-action"],["class","text-info","target","_blank","title","Site Url",3,"href",4,"ngIf"],["target","_blank","title","Map","class","text-primary",3,"href",4,"ngIf"],["target","_blank",2,"color","black",3,"href"],["target","_blank","title","Site Url",1,"text-info",3,"href"],[1,"fa","fa-globe"],["target","_blank","title","Map",1,"text-primary",3,"href"],[1,"fa","fa-map-marker"],[3,"showImage"]],template:function(e,t){1&e&&(m.ac(0,"nav",0),m.ac(1,"ol",1),m.ac(2,"li",2),m.ac(3,"a",3),m.Vc(4),m.nc(5,"translate"),m.Zb(),m.Zb(),m.ac(6,"li",4),m.Tc(7,lf,2,1,"span",5),m.Tc(8,rf,2,1,"span",5),m.Zb(),m.Zb(),m.Zb(),m.ac(9,"div",6),m.ac(10,"h1",7),m.Wb(11,"img",8),m.Tc(12,sf,2,1,"span",5),m.Tc(13,df,2,1,"span",5),m.Zb(),m.Zb(),m.ac(14,"section",9),m.ac(15,"div",10),m.ac(16,"div",11),m.ac(17,"div",12),m.Tc(18,Cf,2,1,"ng-container",5),m.Tc(19,Hf,1,0,"app-mini-loader",5),m.Tc(20,Df,1,1,"app-no-records",13),m.Zb(),m.Zb(),m.Zb(),m.Zb()),2&e&&(m.Hb(3),m.uc("routerLink",t.commonService.GetHomePageUrl()),m.Hb(1),m.Wc(m.oc(5,10,"Home_txt")),m.Hb(3),m.tc("ngIf",t.pageTitle),m.Hb(1),m.tc("ngIf",!t.pageTitle),m.Hb(3),m.uc("src",(null==t.pageTitle?null:t.pageTitle.ImagePath)||"assets/images/requered-doc.png\t",m.Pc),m.Hb(1),m.tc("ngIf",t.pageTitle),m.Hb(1),m.tc("ngIf",!t.pageTitle),m.Hb(5),m.tc("ngIf",t.groupBySubCat&&t.groupBySubCat.length),m.Hb(1),m.tc("ngIf",!t.groupBySubCat),m.Hb(1),m.tc("ngIf",t.groupBySubCat&&0==t.groupBySubCat.length))},directives:[h.d,i.n,i.m,v.a,C.a],pipes:[c.c],styles:[""]}),e})();function If(e,t){if(1&e&&(m.ac(0,"span"),m.Vc(1),m.Zb()),2&e){const e=m.mc();m.Hb(1),m.Wc("hi"!=e.translate.currentLang?null==e.pageTitle?null:e.pageTitle.NameEnglish:null==e.pageTitle?null:e.pageTitle.NameHindi)}}function Zf(e,t){1&e&&(m.ac(0,"span"),m.Vc(1),m.Zb()),2&e&&(m.Hb(1),m.Wc(" "))}function Tf(e,t){if(1&e&&(m.ac(0,"span"),m.Vc(1),m.Zb()),2&e){const e=m.mc();m.Hb(1),m.Wc("hi"!=e.translate.currentLang?null==e.pageTitle?null:e.pageTitle.NameEnglish:null==e.pageTitle?null:e.pageTitle.NameHindi)}}function yf(e,t){1&e&&(m.ac(0,"span"),m.Vc(1),m.Zb()),2&e&&(m.Hb(1),m.Wc(" "))}const xf=function(e){return{active:e}};function Pf(e,t){if(1&e&&(m.Yb(0),m.ac(1,"a",19),m.Vc(2),m.Wb(3,"i",20),m.Zb(),m.Xb()),2&e){const e=t.$implicit,n=t.index,i=m.mc(2);m.Hb(1),m.vc("id","Tab",n,"-tab"),m.vc("href","#Tab",n,"",m.Pc),m.tc("ngClass",m.Ec(4,xf,0==n)),m.Hb(1),m.Xc(" ","en"==i.translate.currentLang?e.AchievementHindi:e.SubjectHindi?e.SubjectHindi:e.AchievementHindi," ")}}function Sf(e,t){if(1&e&&(m.ac(0,"div"),m.ac(1,"div",26),m.ac(2,"a",27),m.Wb(3,"i",28),m.Zb(),m.Zb(),m.Zb()),2&e){const e=m.mc().$implicit;m.Hb(2),m.uc("href",null==e?null:e.PdfFIleName,m.Pc)}}function _f(e,t){if(1&e&&(m.ac(0,"div"),m.ac(1,"div",29),m.ac(2,"a",27),m.Wb(3,"i",30),m.Zb(),m.Zb(),m.Zb()),2&e){const e=m.mc().$implicit;m.Hb(2),m.uc("href",null==e?null:e.Url,m.Pc)}}function wf(e,t){if(1&e&&(m.ac(0,"span"),m.Vc(1),m.nc(2,"date"),m.Zb()),2&e){const e=m.mc(2).$implicit,t=m.mc(2);m.Hb(1),m.Xc(" (",m.pc(2,1,e.AchievementDate,t.DateFormat),") ")}}function Lf(e,t){if(1&e&&(m.ac(0,"span"),m.Tc(1,wf,3,4,"span",5),m.Zb()),2&e){const e=m.mc().$implicit,t=m.mc(2);m.Hb(1),m.tc("ngIf","en"==t.translate.currentLang&&(null==e?null:e.AchievementDate))}}function Vf(e,t){if(1&e&&m.Wb(0,"div",31),2&e){const e=m.mc().$implicit;m.tc("innerHTML",null==e?null:e.EditorDetailEnglish,m.Nc)}}function kf(e,t){if(1&e&&m.Wb(0,"div",31),2&e){const e=m.mc().$implicit;m.tc("innerHTML",null==e?null:e.EditorDetail,m.Nc)}}function Nf(e,t){if(1&e){const e=m.bc();m.ac(0,"div",32),m.ac(1,"div",33),m.ac(2,"a",27),m.ac(3,"img",34),m.ic("error",(function(t){return m.Mc(e),m.mc(3).commonService.onImageError(t,"assets/images/record-not-found.png")})),m.Zb(),m.Zb(),m.Zb(),m.Zb()}if(2&e){const e=m.mc().$implicit,t=m.mc(2);m.Hb(2),m.uc("href",null==e?null:e.ImagePath,m.Pc),m.Hb(1),m.uc("src",null==e?null:e.ImagePath,m.Pc),m.uc("title","en"==t.translate.currentLang?e.AchievementHindi:e.SubjectHindi),m.uc("alt","en"==t.translate.currentLang?e.AchievementHindi:e.SubjectHindi)}}const Of=function(e){return{"active show":e}};function Af(e,t){if(1&e&&(m.Yb(0),m.ac(1,"div",21),m.ac(2,"div",13),m.ac(3,"div",22),m.Tc(4,Sf,4,1,"div",5),m.Tc(5,_f,4,1,"div",5),m.ac(6,"h4"),m.Vc(7),m.Zb(),m.ac(8,"h5"),m.Tc(9,Lf,2,1,"span",5),m.Zb(),m.ac(10,"div",23),m.ac(11,"p"),m.Vc(12),m.Zb(),m.Zb(),m.Tc(13,Vf,1,1,"div",24),m.Tc(14,kf,1,1,"div",24),m.Tc(15,Nf,4,4,"div",25),m.Zb(),m.Zb(),m.Zb(),m.Xb()),2&e){const e=t.$implicit,n=t.index,i=m.mc(2);m.Hb(1),m.vc("id","Tab",n,""),m.tc("ngClass",m.Ec(10,Of,0==n)),m.Hb(3),m.tc("ngIf",null==e?null:e.PdfFIleName),m.Hb(1),m.tc("ngIf",null==e?null:e.Url),m.Hb(2),m.Xc(" ","en"==i.translate.currentLang?e.AchievementHindi:e.SubjectHindi?e.SubjectHindi:e.AchievementHindi," "),m.Hb(2),m.tc("ngIf",i.category&&i.category.IsVisibleDate),m.Hb(3),m.Xc(" ","en"==i.translate.currentLang?e.Description:e.DescriptionHindi?e.DescriptionHindi:e.Description,""),m.Hb(1),m.tc("ngIf","en"==i.translate.currentLang),m.Hb(1),m.tc("ngIf","en"!=i.translate.currentLang),m.Hb(1),m.tc("ngIf",null==e?null:e.ImagePath)}}function Wf(e,t){if(1&e&&(m.ac(0,"div",13),m.ac(1,"div",14),m.ac(2,"div",15),m.Tc(3,Pf,4,6,"ng-container",16),m.Zb(),m.Zb(),m.ac(4,"div",17),m.ac(5,"div",18),m.Tc(6,Af,16,12,"ng-container",16),m.Zb(),m.Zb(),m.Zb()),2&e){const e=m.mc();m.Hb(3),m.tc("ngForOf",e.model),m.Hb(3),m.tc("ngForOf",e.model)}}function Ef(e,t){1&e&&m.Wb(0,"app-mini-loader")}function Gf(e,t){1&e&&m.Wb(0,"app-no-records",35),2&e&&m.tc("showImage",!0)}let Ff=(()=>{class e{constructor(e,t,n,i,a,c,r,s){this._achievementAwardService=e,this.translate=t,this.sanitizer=n,this.commonService=i,this.route=a,this._titleService=c,this._route=r,this._distDeptService=s,this.DateFormat=d.a.DateFormat,this.filterModel=new l.b,this.achievementEnum=o.a,this.subMenuCode=0,this.departmentCode=0,this.categoryCode=0,this.subCatCode=0,this.category=new l.d,this._route.paramMap.subscribe(e=>{this.pageTitle=void 0;let t=e.get("submenuCode");this.subMenuCode=Number(t||0);let n=e.get("dptCode");this.departmentCode=Number(n||this.commonService.GetWebDistDeptCode());let i=e.get("catCode");this.categoryCode=Number(i||0);let a=e.get("subCatCode");this.subCatCode=Number(a||0),this.getPageHeading(),this.getCategoryDetail(),this.geGenEntryVerticalTabData()})}ngOnInit(){}getPageHeading(){this.subMenuCode>0&&this.getSubmenuDetail()}getSubmenuDetail(){this._distDeptService.GetSubmenuDetail(this.subMenuCode).subscribe(e=>{if(e.IsSuccess){let t=e.Data;t&&(this.pageTitle=new s.f,this.pageTitle.NameEnglish=t.DisplayNameEnglish,this.pageTitle.NameHindi=t.DisplayNameHindi,this.pageTitle.ImagePath=t.IconImage,this.commonService.SetWebTitle("hi"==this.translate.currentLang?this.pageTitle.NameHindi:this.pageTitle.NameEnglish))}},e=>{})}getCategoryDetail(){this._achievementAwardService.GetAcievementCatDetail(this.categoryCode).subscribe(e=>{if(e.IsSuccess){let t=e.Data;t&&(this.category=t,0==this.subMenuCode&&(this.pageTitle=new s.f,this.pageTitle.NameEnglish=t.SubMenuNameEnglish,this.pageTitle.NameHindi=t.SubMenuNameHindi,this.pageTitle.ImagePath=t.ImagePath,this.commonService.SetWebTitle("hi"==this.translate.currentLang?t.TitleHindi:t.Title)))}},e=>{console.error(e)})}get IsDateShow(){return this.categoryCode!=Number(this.achievementEnum.AllDownloadFormsCode)}geGenEntryVerticalTabData(){this.model=void 0,this.filterModel.IndexModel=new s.d,this.filterModel.IndexModel.OrderBy=this.IsDateShow?"AchievementDate":"Priority",this.filterModel.IndexModel.OrderByAsc=this.IsDateShow?0:1,this.filterModel.DepartmentCode=this.departmentCode,this.filterModel.CategoryCode=this.categoryCode,this.filterModel.SubCategoryCode=this.subCatCode,this._achievementAwardService.GetAchievementListBySearchFilterData(this.filterModel).subscribe(e=>{this.model=e.IsSuccess?e.Data.Data:[]},e=>{this.model=[]})}}return e.\u0275fac=function(t){return new(t||e)(m.Vb(u.a),m.Vb(c.d),m.Vb(b.b),m.Vb(g.a),m.Vb(h.b),m.Vb(b.d),m.Vb(h.a),m.Vb(p.a))},e.\u0275cmp=m.Pb({type:e,selectors:[["app-gen-entry-vertical-tab"]],decls:19,vars:14,consts:[["aria-label","breadcrumb",1,"breadcrumb_nav"],[1,"breadcrumb"],[1,"breadcrumb-item"],[3,"routerLink"],["aria-current","page",1,"breadcrumb-item","active"],[4,"ngIf"],[1,"col-lg-12","mt-5"],[1,"title","text-center","mb-1"],[1,"img-fluid",2,"max-width","45px",3,"src","title","alt","error"],[1,"inner-page","page-gen-entry-tabing"],[1,"container"],["class","row",4,"ngIf"],[3,"showImage",4,"ngIf"],[1,"row"],[1,"col-lg-3"],["id","v-pills-tab","role","tablist","aria-orientation","vertical",1,"nav","flex-column","nav-pills"],[4,"ngFor","ngForOf"],[1,"col-lg-9","mt-4","mt-lg-0"],["id","v-pills-tabContent",1,"tab-content"],["data-toggle","pill",1,"nav-link",3,"ngClass","id","href"],[1,"bi","bi-chevron-right"],[1,"tab-pane","fade",3,"ngClass","id"],[1,"col-lg-12"],[2,"text-align","justify"],["style","text-align: justify",3,"innerHTML",4,"ngIf"],["class","mt-5",4,"ngIf"],[1,"page-gen-entry-tabing-pdf"],["target","_blank",3,"href"],[1,"fas","fa-file-pdf"],[1,"page-gen-entry-tabing-url"],[1,"fas","fa-globe"],[2,"text-align","justify",3,"innerHTML"],[1,"mt-5"],[1,"page-gen-entry-tabing-img"],[3,"src","title","alt","error"],[3,"showImage"]],template:function(e,t){1&e&&(m.ac(0,"nav",0),m.ac(1,"ol",1),m.ac(2,"li",2),m.ac(3,"a",3),m.Vc(4),m.nc(5,"translate"),m.Zb(),m.Zb(),m.ac(6,"li",4),m.Tc(7,If,2,1,"span",5),m.Tc(8,Zf,2,1,"span",5),m.Zb(),m.Zb(),m.Zb(),m.ac(9,"div",6),m.ac(10,"h1",7),m.ac(11,"img",8),m.ic("error",(function(e){return t.commonService.onImageError(e,"assets/images/CM-directions.png")})),m.Zb(),m.Tc(12,Tf,2,1,"span",5),m.Tc(13,yf,2,1,"span",5),m.Zb(),m.Zb(),m.ac(14,"section",9),m.ac(15,"div",10),m.Tc(16,Wf,7,2,"div",11),m.Tc(17,Ef,1,0,"app-mini-loader",5),m.Tc(18,Gf,1,1,"app-no-records",12),m.Zb(),m.Zb()),2&e&&(m.Hb(3),m.uc("routerLink",t.commonService.GetHomePageUrl()),m.Hb(1),m.Wc(m.oc(5,12,"Home_txt")),m.Hb(3),m.tc("ngIf",t.pageTitle),m.Hb(1),m.tc("ngIf",!t.pageTitle),m.Hb(3),m.uc("title",t.pageTitle?"hi"!=t.translate.currentLang?null==t.pageTitle?null:t.pageTitle.NameEnglish:null==t.pageTitle?null:t.pageTitle.NameHindi:" "),m.uc("alt",t.pageTitle?"hi"!=t.translate.currentLang?null==t.pageTitle?null:t.pageTitle.NameEnglish:null==t.pageTitle?null:t.pageTitle.NameHindi:" "),m.tc("src",null==t.pageTitle?null:t.pageTitle.ImagePath,m.Pc),m.Hb(1),m.tc("ngIf",t.pageTitle),m.Hb(1),m.tc("ngIf",!t.pageTitle),m.Hb(3),m.tc("ngIf",t.model&&t.model.length>0),m.Hb(1),m.tc("ngIf",!t.model),m.Hb(1),m.tc("ngIf",t.model&&0==t.model.length))},directives:[h.d,i.n,i.m,i.l,v.a,C.a],pipes:[c.c,i.e],styles:[""]}),e})();function Rf(e,t){if(1&e&&(m.ac(0,"span"),m.Vc(1),m.Zb()),2&e){const e=m.mc();m.Hb(1),m.Xc(" ","hi"!=e.translate.currentLang?e.pageTitle.NameEnglish:e.pageTitle.NameHindi," ")}}function Xf(e,t){if(1&e&&(m.ac(0,"span"),m.Vc(1),m.nc(2,"translate"),m.nc(3,"translate"),m.Zb()),2&e){const e=m.mc();m.Hb(1),m.Xc(" ",e.isShowPoster?m.oc(2,1,"DistrictPhotoGallery_txt"):m.oc(3,3,"DistrictVideoGallery_txt")," ")}}function Bf(e,t){1&e&&(m.ac(0,"h1",17),m.Wb(1,"img",18),m.nc(2,"translate"),m.nc(3,"translate"),m.Vc(4),m.nc(5,"translate"),m.Zb()),2&e&&(m.Hb(1),m.uc("title",m.oc(2,3,"DistrictPhotoGallery_txt")),m.uc("alt",m.oc(3,5,"DistrictPhotoGallery_txt")),m.Hb(3),m.Xc(" ",m.oc(5,7,"DistrictPhotoGallery_txt")," "))}function Uf(e,t){if(1&e){const e=m.bc();m.ac(0,"h1",17),m.ac(1,"img",19),m.ic("error",(function(t){return m.Mc(e),m.mc(2)._commonService.onImageError(t,"assets/images/Poster.png")})),m.Zb(),m.Vc(2),m.Zb()}if(2&e){const e=m.mc(2);m.Hb(1),m.uc("title","en"==e.translate.currentLang?e.pageTitle.NameEnglish:e.pageTitle.NameHindi),m.uc("alt","en"==e.translate.currentLang?e.pageTitle.NameEnglish:e.pageTitle.NameHindi),m.tc("src",null==e.pageTitle?null:e.pageTitle.ImagePath,m.Pc),m.Hb(1),m.Xc(" ","hi"!=e.translate.currentLang?e.pageTitle.NameEnglish:e.pageTitle.NameHindi," ")}}function zf(e,t){if(1&e&&(m.ac(0,"option",21),m.Vc(1),m.Zb()),2&e){const e=t.$implicit,n=m.mc(3);m.tc("value",e.Value),m.Hb(1),m.Xc(" ","en"!=n.translate.currentLang?e.OtherData.DepartmentTitleHindi:e.Text," ")}}function jf(e,t){if(1&e){const e=m.bc();m.ac(0,"select",20),m.ic("change",(function(t){return m.Mc(e),m.mc(2).onDistrictSelect(t)}))("ngModelChange",(function(t){return m.Mc(e),m.mc(2).indexModel.DepartmentCode=t})),m.ac(1,"option",21),m.Vc(2),m.nc(3,"translate"),m.Zb(),m.Tc(4,zf,2,2,"option",22),m.Zb()}if(2&e){const e=m.mc(2);m.tc("ngModel",e.indexModel.DepartmentCode),m.Hb(1),m.tc("value",0),m.Hb(1),m.Xc("--",m.oc(3,4,"District_txt"),"--"),m.Hb(2),m.tc("ngForOf",e.departments)}}function $f(e,t){if(1&e){const e=m.bc();m.ac(0,"li"),m.ac(1,"a",39),m.ac(2,"img",40),m.ic("error",(function(t){return m.Mc(e),m.mc(6)._commonService.onImageError(t,"assets/images/default.png")})),m.Zb(),m.Zb(),m.Zb()}if(2&e){const e=m.mc().$implicit,t=m.mc(2),n=t.index,i=t.$implicit;m.Hb(1),m.uc("href",e,m.Pc),m.Jb("data-lightbox","images_",n,""),m.uc("title",i.Subject),m.Hb(1),m.uc("title",i.Subject),m.uc("alt",i.Subject),m.tc("src",e,m.Pc)}}function Yf(e,t){if(1&e&&(m.Yb(0),m.Tc(1,$f,3,6,"li",5),m.Xb()),2&e){const e=t.index;m.Hb(1),m.tc("ngIf",e>0)}}function qf(e,t){if(1&e&&(m.ac(0,"ul",37),m.Tc(1,Yf,2,1,"ng-container",38),m.Zb()),2&e){const e=m.mc().$implicit;m.Hb(1),m.tc("ngForOf",e.Images)}}function Jf(e,t){if(1&e&&(m.ac(0,"div",41),m.Vc(1),m.Zb()),2&e){const e=m.mc().$implicit,t=m.mc(3);m.Hb(1),m.Xc(" ","en"==t.translate.currentLang?e.DepartmentTitle:e.DepartmentTitleHindi,"")}}function Kf(e,t){if(1&e&&(m.ac(0,"div",42),m.Vc(1),m.nc(2,"slice"),m.Zb()),2&e){const e=m.mc().$implicit;m.Hb(1),m.Xc(" ",(null==e?null:e.Subject.length)>80?m.qc(2,1,null==e?null:e.Subject,0,80)+"...":null==e?null:e.Subject,"")}}function Qf(e,t){if(1&e){const e=m.bc();m.ac(0,"div",28),m.ac(1,"span",29),m.Vc(2),m.nc(3,"date"),m.nc(4,"date"),m.Zb(),m.ac(5,"a",30),m.ic("error",(function(t){return m.Mc(e),m.mc(3)._commonService.onImageError(t,"assets/images/default.png")})),m.ac(6,"img",31),m.ic("error",(function(t){return m.Mc(e),m.mc(3)._commonService.onImageError(t,"assets/images/default.png")})),m.Zb(),m.Tc(7,qf,2,1,"ul",32),m.Zb(),m.ac(8,"div",33),m.Tc(9,Jf,2,1,"div",34),m.Tc(10,Kf,3,5,"div",35),m.Zb(),m.ac(11,"div",36),m.Vc(12),m.nc(13,"translate"),m.Zb(),m.Zb()}if(2&e){const e=t.$implicit,n=t.index,i=m.mc(3);m.Hb(2),m.Xc(" ","en"==i.translate.currentLang?m.pc(3,12,e.Date,i.dateFormat):m.pc(4,15,e.DateHindi,i.dateFormat),""),m.Hb(3),m.Jb("data-lightbox","images_",n,""),m.uc("title",e.Subject),m.tc("href",e.Images[0],m.Pc),m.Hb(1),m.uc("title",e.Subject),m.uc("alt",e.Subject),m.tc("src",e.Images[0],m.Pc),m.Hb(1),m.tc("ngIf",e.Images&&e.Images.length>0),m.Hb(2),m.tc("ngIf",142!=i.indexModel.DepartmentCode),m.Hb(1),m.tc("ngIf",null==e?null:e.Subject),m.Hb(2),m.Yc("",m.oc(13,18,"RecordEntryNo_txt")," : ",null==e?null:e.Id,"")}}function ev(e,t){if(1&e){const e=m.bc();m.ac(0,"select",46),m.ic("ngModelChange",(function(t){return m.Mc(e),m.mc(4).indexModel.PageSize=t}))("change",(function(t){return m.Mc(e),m.mc(4).ChangePageSize(t.target.value)})),m.ac(1,"option",21),m.Vc(2),m.nc(3,"translate"),m.Zb(),m.ac(4,"option",47),m.Vc(5,"9"),m.Zb(),m.ac(6,"option",48),m.Vc(7,"15"),m.Zb(),m.ac(8,"option",49),m.Vc(9,"30"),m.Zb(),m.ac(10,"option",50),m.Vc(11,"60"),m.Zb(),m.ac(12,"option",51),m.Vc(13,"120"),m.Zb(),m.Zb()}if(2&e){const e=m.mc(4);m.tc("ngModel",e.indexModel.PageSize),m.Hb(1),m.uc("value",e.totalRecords),m.Hb(1),m.Wc(m.oc(3,3,"All_txt"))}}function tv(e,t){if(1&e){const e=m.bc();m.ac(0,"div",43),m.Tc(1,ev,14,5,"select",44),m.ac(2,"pagination-controls",45),m.ic("pageChange",(function(t){return m.Mc(e),m.mc(3).GetNextPageRecord(t)})),m.nc(3,"translate"),m.nc(4,"translate"),m.Zb(),m.Zb()}if(2&e){const e=m.mc(3);m.Hb(1),m.tc("ngIf",e.totalRecords>e.indexModel.PageSize),m.Hb(1),m.uc("previousLabel",m.oc(3,3,"Previous_txt")),m.uc("nextLabel",m.oc(4,5,"Next_txt"))}}function nv(e,t){if(1&e&&(m.Yb(0),m.ac(1,"div",23),m.ac(2,"div",24),m.Tc(3,Qf,14,20,"div",25),m.nc(4,"paginate"),m.Zb(),m.Zb(),m.ac(5,"div",26),m.Tc(6,tv,5,7,"div",27),m.Zb(),m.Xb()),2&e){const e=m.mc(2);m.Hb(3),m.tc("ngForOf",m.pc(4,2,e.model,e.posterPagerConfig)),m.Hb(3),m.tc("ngIf",e.totalRecords>9)}}function iv(e,t){1&e&&m.Wb(0,"app-mini-loader")}function av(e,t){1&e&&m.Wb(0,"app-no-records",52),2&e&&m.tc("showImage",!0)}function cv(e,t){if(1&e&&(m.ac(0,"div",12),m.Tc(1,Bf,6,9,"h1",13),m.Tc(2,Uf,3,4,"h1",13),m.ac(3,"div",14),m.Tc(4,jf,5,6,"select",15),m.Zb(),m.Tc(5,nv,7,5,"ng-container",5),m.Tc(6,iv,1,0,"app-mini-loader",5),m.Tc(7,av,1,1,"app-no-records",16),m.Zb()),2&e){const e=m.mc();m.Hb(1),m.tc("ngIf",!e.pageTitle),m.Hb(1),m.tc("ngIf",e.pageTitle),m.Hb(2),m.tc("ngIf",e.model||!e.model&&e.indexModel.DepartmentCode),m.Hb(1),m.tc("ngIf",e.model&&(null==e.model?null:e.model.length)>0),m.Hb(1),m.tc("ngIf",!e.model),m.Hb(1),m.tc("ngIf",e.model&&0==e.model.length)}}function ov(e,t){1&e&&(m.ac(0,"h1",17),m.Wb(1,"img",18),m.nc(2,"translate"),m.nc(3,"translate"),m.Vc(4),m.nc(5,"translate"),m.Zb()),2&e&&(m.Hb(1),m.uc("title",m.oc(2,3,"DistrictVideoGallery_txt")),m.uc("alt",m.oc(3,5,"DistrictVideoGallery_txt")),m.Hb(3),m.Xc(" ",m.oc(5,7,"DistrictVideoGallery_txt")," "))}function lv(e,t){if(1&e){const e=m.bc();m.ac(0,"h1",17),m.ac(1,"img",19),m.ic("error",(function(t){return m.Mc(e),m.mc(2)._commonService.onImageError(t,"assets/images/Video.png")})),m.Zb(),m.Vc(2),m.Zb()}if(2&e){const e=m.mc(2);m.Hb(1),m.uc("title","en"==e.translate.currentLang?e.pageTitle.NameEnglish:e.pageTitle.NameHindi),m.uc("alt","en"==e.translate.currentLang?e.pageTitle.NameEnglish:e.pageTitle.NameHindi),m.tc("src",null==e.pageTitle?null:e.pageTitle.ImagePath,m.Pc),m.Hb(1),m.Xc(" ","hi"!=e.translate.currentLang?e.pageTitle.NameEnglish:e.pageTitle.NameHindi," ")}}function rv(e,t){if(1&e&&(m.ac(0,"option",21),m.Vc(1),m.Zb()),2&e){const e=t.$implicit,n=m.mc(3);m.tc("value",e.Value),m.Hb(1),m.Xc(" ","en"!=n.translate.currentLang?e.OtherData.DepartmentTitleHindi:e.Text," ")}}function sv(e,t){if(1&e){const e=m.bc();m.ac(0,"select",20),m.ic("change",(function(t){return m.Mc(e),m.mc(2).onDistrictSelect(t)}))("ngModelChange",(function(t){return m.Mc(e),m.mc(2).indexModel.DepartmentCode=t})),m.ac(1,"option",21),m.Vc(2),m.nc(3,"translate"),m.Zb(),m.Tc(4,rv,2,2,"option",22),m.Zb()}if(2&e){const e=m.mc(2);m.tc("ngModel",e.indexModel.DepartmentCode),m.Hb(1),m.tc("value",0),m.Hb(1),m.Xc("--",m.oc(3,4,"District_txt"),"--"),m.Hb(2),m.tc("ngForOf",e.departments)}}function dv(e,t){if(1&e&&(m.ac(0,"div",63),m.Vc(1),m.nc(2,"slice"),m.Zb()),2&e){const e=m.mc(2).$implicit;m.Hb(1),m.Xc(" ",e.Subject.length>60?m.qc(2,1,e.Subject,0,60)+"...":e.Subject," ")}}function mv(e,t){if(1&e){const e=m.bc();m.ac(0,"div",55),m.ac(1,"div",56),m.ac(2,"span",29),m.Vc(3),m.nc(4,"date"),m.nc(5,"date"),m.Zb(),m.ac(6,"div",57),m.ac(7,"video",58),m.ic("playing",(function(t){return m.Mc(e),m.mc(4).onMediaPlaying(t,!1)})),m.Wb(8,"source",59),m.Zb(),m.Zb(),m.ac(9,"div",60),m.ac(10,"div",61),m.Vc(11),m.Zb(),m.Tc(12,dv,3,5,"div",62),m.Zb(),m.ac(13,"p"),m.Vc(14),m.nc(15,"translate"),m.Zb(),m.Zb(),m.Zb()}if(2&e){const e=m.mc(),t=e.$implicit,n=e.index,i=m.mc(3);m.uc("title",t.Subject),m.Hb(3),m.Xc(" ","en"==i.translate.currentLang?m.pc(4,9,t.Date,i.dateFormat):m.pc(5,12,t.DateHindi,i.dateFormat),""),m.Hb(4),m.vc("id","my_video_",n,""),m.Hb(1),m.uc("src",t.VideoPath,m.Pc),m.vc("type","video/",t.VideoPath.split(".")[t.VideoPath.split(".").length-1],""),m.Hb(3),m.Xc(" ","en"==i.translate.currentLang?t.DepartmentTitle:t.DepartmentTitleHindi," "),m.Hb(1),m.tc("ngIf",null==t?null:t.Subject),m.Hb(2),m.Yc("",m.oc(15,15,"RecordEntryNo_txt")," : ",null==t?null:t.Id,"")}}function uv(e,t){if(1&e&&(m.Yb(0),m.Tc(1,mv,16,17,"div",54),m.Xb()),2&e){const e=t.$implicit;m.Hb(1),m.tc("ngIf",(null==e.Url?null:e.Url.length)>0||e.VideoPath)}}function bv(e,t){if(1&e){const e=m.bc();m.ac(0,"div",43),m.ac(1,"select",64),m.ic("ngModelChange",(function(t){return m.Mc(e),m.mc(3).indexModel.PageSize=t}))("change",(function(t){return m.Mc(e),m.mc(3).ChangePageSize(t.target.value)})),m.ac(2,"option",21),m.Vc(3),m.nc(4,"translate"),m.Zb(),m.ac(5,"option",47),m.Vc(6,"9"),m.Zb(),m.ac(7,"option",48),m.Vc(8,"15"),m.Zb(),m.ac(9,"option",49),m.Vc(10,"30"),m.Zb(),m.ac(11,"option",50),m.Vc(12,"60"),m.Zb(),m.ac(13,"option",51),m.Vc(14,"120"),m.Zb(),m.Zb(),m.ac(15,"pagination-controls",65),m.ic("pageChange",(function(t){return m.Mc(e),m.mc(3).GetNextPageRecord(t)})),m.nc(16,"translate"),m.nc(17,"translate"),m.Zb(),m.Zb()}if(2&e){const e=m.mc(3);m.Hb(1),m.tc("ngModel",e.indexModel.PageSize),m.Hb(1),m.uc("value",e.totalRecords),m.Hb(1),m.Wc(m.oc(4,5,"All_txt")),m.Hb(12),m.uc("previousLabel",m.oc(16,7,"Previous_txt")),m.uc("nextLabel",m.oc(17,9,"Next_txt"))}}function gv(e,t){if(1&e&&(m.Yb(0),m.ac(1,"div",24),m.Tc(2,uv,2,1,"ng-container",38),m.nc(3,"paginate"),m.Zb(),m.Tc(4,bv,18,11,"div",27),m.Xb()),2&e){const e=m.mc(2);m.Hb(2),m.tc("ngForOf",m.pc(3,2,e.model,e.videoPagerConfig)),m.Hb(2),m.tc("ngIf",e.totalRecords>9)}}function hv(e,t){1&e&&m.Wb(0,"app-mini-loader")}function pv(e,t){1&e&&m.Wb(0,"app-no-records",52),2&e&&m.tc("showImage",!0)}function fv(e,t){if(1&e&&(m.ac(0,"div",53),m.Tc(1,ov,6,9,"h1",13),m.Tc(2,lv,3,4,"h1",13),m.ac(3,"div",14),m.Tc(4,sv,5,6,"select",15),m.Zb(),m.Tc(5,gv,5,5,"ng-container",5),m.Tc(6,hv,1,0,"app-mini-loader",5),m.Tc(7,pv,1,1,"app-no-records",16),m.Zb()),2&e){const e=m.mc();m.Hb(1),m.tc("ngIf",!e.pageTitle),m.Hb(1),m.tc("ngIf",e.pageTitle),m.Hb(2),m.tc("ngIf",e.model||!e.model&&e.indexModel.DepartmentCode),m.Hb(1),m.tc("ngIf",e.model&&(null==e.model?null:e.model.length)>0),m.Hb(1),m.tc("ngIf",!e.model),m.Hb(1),m.tc("ngIf",e.model&&0==e.model.length)}}let vv=(()=>{class e{constructor(e,t,n,i,a,c,o,l){this.achievementAwardService=e,this.translate=t,this.sanitizer=n,this.route=i,this._app=a,this._route=c,this._titleService=o,this._commonService=l,this.pageName="",this.departments=[],this.indexModel=new ha.e,this.totalRecords=0,this.posterPagerConfig={id:"poster-paging",itemsPerPage:this.indexModel.PageSize,currentPage:this.indexModel.Page,totalItems:this.totalRecords},this.videoPagerConfig={id:"video-paging",itemsPerPage:this.indexModel.PageSize,currentPage:this.indexModel.Page,totalItems:this.totalRecords},this.isShowPoster=!1,this.isShowVideo=!1,this.departmentCode=0,this.submenuCode=0,this.dateFormat=d.a.DateFormat}ngOnInit(){this._route.paramMap.subscribe(e=>{this.isShowPoster=!1,this.isShowVideo=!1;let t=this._route.snapshot.params.dptCode;this.departmentCode=t?Number(t):this._commonService.GetWebDistDeptCode(),this.indexModel.DepartmentCode=this.departmentCode,this._commonService.SetWebTitle("hi"==this.translate.currentLang?"\u0917\u0947\u0932\u0930\u0940":"Gallery");let n=this._route.snapshot.params.type;n==Lr.Photo?(this.pageName="Photo",this.isShowPoster=!0,this.indexModel.PageSize=9):n==Lr.Video?(this.pageName="Video",this.isShowVideo=!0,this.indexModel.PageSize=9):this.route.navigate(["home"]),this.submenuCode=Number(this._route.snapshot.params.submenuCode||0),this.getPageHeading(),this.getListData()})}getPageHeading(){this.submenuCode>0?this.getSubmenuDetail():"Photo"==this.pageName?this._commonService.SetWebTitle("hi"==this.translate.currentLang?"\u092b\u093c\u094b\u091f\u094b \u0917\u0947\u0932\u0930\u0940":"Photo Gallery"):"Video"==this.pageName&&this._commonService.SetWebTitle("hi"==this.translate.currentLang?"\u0935\u0940\u0921\u093f\u092f\u094b \u0917\u0947\u0932\u0930\u0940":"Video Gallery")}getSubmenuDetail(){this.achievementAwardService.GetSubmenuDetail(this.submenuCode).subscribe(e=>{if(e.IsSuccess){let t=e.Data;t&&(this.pageTitle=new s.f,this.pageTitle.NameEnglish=t.DisplayNameEnglish,this.pageTitle.NameHindi=t.DisplayNameHindi,this.pageTitle.ImagePath=t.IconImage,this._commonService.SetWebTitle("hi"==this.translate.currentLang?this.pageTitle.NameHindi:this.pageTitle.NameEnglish))}})}getListData(){this.model=void 0,this.indexModel.OrderBy="ModifiedDate",this.indexModel.OrderByAsc=0,this.indexModel.UploaderType=this.pageName,this.achievementAwardService.GetUploaderDataForFront(this.indexModel).subscribe(e=>{var t,n;e.IsSuccess?(this.model=e.Data.Data,this.indexModel.IsPostBack||(this.totalRecords=e.Data.TotalRecords,(null===(t=this.model)||void 0===t?void 0:t.length)&&!(null===(n=this.departments)||void 0===n?void 0:n.length)&&this.GetDepartmentByAdminDepartmentCodes()),"Photo"==this.pageName?this.posterUpdatePageConfig():this.videoUpdatePageConfig()):this.model=[]},e=>{this.model=[]})}onDistrictSelect(e){this.getListData()}GetDepartmentByAdminDepartmentCodes(){this.achievementAwardService.GetDepartmentByAdminDepartmentCodes(Ql.a.Collectorate.toString()).subscribe(e=>{this.departments=e.IsSuccess?e.Data:[]})}GetNextPageRecord(e){window.scroll(0,0),this.indexModel.IsPostBack=!0,this.indexModel.Page=e,this.getListData()}ChangePageSize(e){window.scroll(0,0),this.indexModel.IsPostBack=!0,this.indexModel.PageSize=Number(e),this.indexModel.Page=1,this.getListData()}posterUpdatePageConfig(){this.posterPagerConfig.itemsPerPage=this.indexModel.PageSize,this.posterPagerConfig.currentPage=this.indexModel.Page,this.posterPagerConfig.totalItems=this.totalRecords}videoUpdatePageConfig(){this.videoPagerConfig.itemsPerPage=this.indexModel.PageSize,this.videoPagerConfig.currentPage=this.indexModel.Page,this.videoPagerConfig.totalItems=this.totalRecords}onMediaPlaying(e,t){var n,i;e.preventDefault(),null!=this.currentPlayingVideo&&(null===(n=this.currentPlayingVideo)||void 0===n||n.pause()),null!=this.currentPlayingAudio&&(null===(i=this.currentPlayingAudio)||void 0===i||i.pause()),t?(this.currentPlayingAudio=e.target,this.currentPlayingAudio.play()):(this.currentPlayingVideo=e.target,this.currentPlayingVideo.play())}isExtenstionUrl(e){return new RegExp(/\.\w{3,4}($|\?)/i).test(e)}SafeUrl(e){return null!=e&&e.length>0?new RegExp(/\/view(v|V?)/i).test(e)?(e=e.replace(/\/view(v|V?)/i,"/preview"),this.sanitizer.bypassSecurityTrustResourceUrl(e)):(e=e.replace(/\/watch\?(v|V\?)=/g,"/embed/"),this.sanitizer.bypassSecurityTrustResourceUrl(e)):null}}return e.\u0275fac=function(t){return new(t||e)(m.Vb(p.a),m.Vb(c.d),m.Vb(b.b),m.Vb(h.b),m.Vb(Qe.a),m.Vb(h.a),m.Vb(b.d),m.Vb(g.a))},e.\u0275cmp=m.Pb({type:e,selectors:[["app-photo-video-uploader-gallery"]],decls:15,vars:8,consts:[["aria-label","breadcrumb",1,"breadcrumb_nav"],[1,"breadcrumb"],[1,"breadcrumb-item"],[3,"routerLink"],["aria-current","page",1,"breadcrumb-item","active"],[4,"ngIf"],[1,"order_page"],[1,"gallery","pt-5"],[1,"container-fluid"],[1,"row"],["class","col-lg-12 pb-4",4,"ngIf"],["class","col-lg-12",4,"ngIf"],[1,"col-lg-12","pb-4"],["class","title text-center",4,"ngIf"],[1,"text-center","mb-4",2,"display","none"],["class","custom-select","style","max-width: 170px;",3,"ngModel","change","ngModelChange",4,"ngIf"],[3,"showImage",4,"ngIf"],[1,"title","text-center"],["src","assets/images/Poster.png",1,"img-fluid","mr-10",3,"title","alt"],[1,"img-fluid","mr-10",3,"src","title","alt","error"],[1,"custom-select",2,"max-width","170px",3,"ngModel","change","ngModelChange"],[3,"value"],[3,"value",4,"ngFor","ngForOf"],[1,"photo-gallery","photo-gallery-new-design"],[1,"d-flex","flex-row","flex-wrap","my-flex-container","justify-content-center","photos"],["class","photo-gallery-bx align-items-center d-flex justify-content-center",4,"ngFor","ngForOf"],[1,"text-center","my-5"],["class","new-pagination-outer",4,"ngIf"],[1,"photo-gallery-bx","align-items-center","d-flex","justify-content-center"],[1,"new-date-design"],[1,"img-loader",3,"href","title","error"],[1,"img-fluid","rounded",3,"src","title","alt","error"],["style","display: none;",4,"ngIf"],[1,"home-gallery-items-caption"],["class","home-gallery-items-caption-first",4,"ngIf"],["class","home-gallery-items-caption-last",4,"ngIf"],[1,"soft-entry"],[2,"display","none"],[4,"ngFor","ngForOf"],[3,"href","title"],[3,"src","title","alt","error"],[1,"home-gallery-items-caption-first"],[1,"home-gallery-items-caption-last"],[1,"new-pagination-outer"],["name","example_length","aria-controls","example","class","form-control-sm top-0","style","width:70px;",3,"ngModel","ngModelChange","change",4,"ngIf"],["id","poster-paging","autoHide","true",1,"w-100","text-center","mt-4",3,"previousLabel","nextLabel","pageChange"],["name","example_length","aria-controls","example",1,"form-control-sm","top-0",2,"width","70px",3,"ngModel","ngModelChange","change"],["selected","","value","9"],["value","15"],["value","30"],["value","60"],["value","120"],[3,"showImage"],[1,"col-lg-12"],["class","col-sm-6 col-md-6 col-lg-6 col-xl-4 item mb-4 px-0 px-md-3",3,"title",4,"ngIf"],[1,"col-sm-6","col-md-6","col-lg-6","col-xl-4","item","mb-4","px-0","px-md-3",3,"title"],[1,"audio-card","video-card-new","text-center"],[1,"embed-responsive","embed-responsive-21by9"],["width","100%","height","100%","controls","","preload","none","data-setup",'{ "aspectRatio":"100%:100%", "playbackRates": [1, 1.5, 2] }',1,"embed-responsive-item",3,"id","playing"],[3,"src","type"],[1,"av-caption","d-block"],[1,"av-caption-fist"],["class","d-block text-muted",4,"ngIf"],[1,"d-block","text-muted"],["name","example_length","aria-controls","example",1,"form-control-sm",2,"width","70px",3,"ngModel","ngModelChange","change"],["id","video-paging",1,"w-100","text-center","mt-4",3,"previousLabel","nextLabel","pageChange"]],template:function(e,t){1&e&&(m.ac(0,"nav",0),m.ac(1,"ol",1),m.ac(2,"li",2),m.ac(3,"a",3),m.Vc(4),m.nc(5,"translate"),m.Zb(),m.Zb(),m.ac(6,"li",4),m.Tc(7,Rf,2,1,"span",5),m.Tc(8,Xf,4,5,"span",5),m.Zb(),m.Zb(),m.Zb(),m.ac(9,"section",6),m.ac(10,"section",7),m.ac(11,"div",8),m.ac(12,"div",9),m.Tc(13,cv,8,6,"div",10),m.Tc(14,fv,8,6,"div",11),m.Zb(),m.Zb(),m.Zb(),m.Zb()),2&e&&(m.Hb(3),m.uc("routerLink",t._commonService.GetHomePageUrl()),m.Hb(1),m.Wc(m.oc(5,6,"Home_txt")),m.Hb(3),m.tc("ngIf",t.pageTitle),m.Hb(1),m.tc("ngIf",!t.pageTitle),m.Hb(5),m.tc("ngIf",t.isShowPoster),m.Hb(1),m.tc("ngIf",t.isShowVideo))},directives:[h.d,i.n,a.u,a.m,a.p,a.q,a.w,i.m,f.c,v.a,C.a],pipes:[c.c,f.b,i.e,i.u],styles:[""]}),e})();function Cv(e,t){if(1&e&&(m.ac(0,"li",18),m.Vc(1),m.Zb()),2&e){const e=m.mc();m.Hb(1),m.Xc(" ",e.pageTitle.NameEnglish?"en"==e.translate.currentLang?e.pageTitle.NameEnglish:e.pageTitle.NameHindi:null==e.model[0]?null:e.model[0].ContactCategoryName," ")}}function Hv(e,t){if(1&e&&(m.Yb(0),m.Vc(1),m.Xb()),2&e){const e=m.mc();m.Hb(1),m.Xc(" ",e.pageTitle.NameEnglish?"en"==e.translate.currentLang?e.pageTitle.NameEnglish:e.pageTitle.NameHindi:e.model[0].ContactCategoryName," ")}}function Dv(e,t){if(1&e&&m.Vc(0),2&e){const e=m.mc();m.Xc(" ",e.pageTitle.NameEnglish?"en"==e.translate.currentLang?e.pageTitle.NameEnglish:e.pageTitle.NameHindi:""," ")}}function Mv(e,t){if(1&e){const e=m.bc();m.ac(0,"div",19),m.ac(1,"div",20),m.ac(2,"input",21),m.ic("ngModelChange",(function(t){return m.Mc(e),m.mc().searchKeyword=t})),m.nc(3,"translate"),m.Zb(),m.ac(4,"div",22),m.ac(5,"button",23),m.ic("click",(function(){return m.Mc(e),m.mc().GetList()})),m.Wb(6,"i",24),m.Zb(),m.Zb(),m.Zb(),m.ac(7,"div",25),m.ac(8,"button",26),m.ic("click",(function(){return m.Mc(e),m.mc().printDepartment("deptreport")})),m.lc(),m.ac(9,"svg",27),m.Wb(10,"path",28),m.Wb(11,"path",29),m.Zb(),m.kc(),m.ac(12,"span"),m.Vc(13),m.nc(14,"translate"),m.Zb(),m.Zb(),m.ac(15,"button",30),m.ic("click",(function(){return m.Mc(e),m.mc().DepartmentontactDetailToExcel()})),m.lc(),m.ac(16,"svg",31),m.Wb(17,"path",32),m.Zb(),m.kc(),m.ac(18,"span"),m.Vc(19),m.nc(20,"translate"),m.Zb(),m.Zb(),m.Zb(),m.Zb()}if(2&e){const e=m.mc();m.Hb(2),m.uc("placeholder",m.oc(3,4,"Search_txt")),m.tc("ngModel",e.searchKeyword),m.Hb(11),m.Xc(" ",m.oc(14,6,"Print_txt"),""),m.Hb(6),m.Xc(" ",m.oc(20,8,"excel_txt"),"")}}function Iv(e,t){1&e&&(m.ac(0,"th"),m.Vc(1),m.nc(2,"translate"),m.Zb()),2&e&&(m.Hb(1),m.Wc(m.oc(2,1,"Phone_txt")))}function Zv(e,t){1&e&&(m.ac(0,"th"),m.Vc(1),m.nc(2,"translate"),m.Zb()),2&e&&(m.Hb(1),m.Wc(m.oc(2,1,"Email_txt")))}function Tv(e,t){if(1&e&&(m.ac(0,"span"),m.Vc(1),m.nc(2,"date"),m.Zb()),2&e){const e=m.mc().$implicit,t=m.mc(3);m.Hb(1),m.Xc(" ",m.pc(2,1,e.DateOfBirth,t.DateFormat),"")}}function yv(e,t){if(1&e&&(m.ac(0,"span"),m.Vc(1),m.Zb()),2&e){const e=m.mc().$implicit;m.Hb(1),m.Xc("",e.DateOfBirthHindi," ")}}function xv(e,t){if(1&e&&(m.ac(0,"td"),m.ac(1,"a",42),m.Vc(2),m.Zb(),m.Zb()),2&e){const e=m.mc().$implicit;m.Hb(1),m.vc("href","tel:",e.MobileNo,"",m.Pc),m.Hb(1),m.Xc(" ",e.MobileNo," ")}}function Pv(e,t){if(1&e&&(m.ac(0,"td"),m.ac(1,"a",42),m.Vc(2),m.Zb(),m.Zb()),2&e){const e=m.mc().$implicit;m.Hb(1),m.vc("href","mailto:",e.Email,"",m.Pc),m.Hb(1),m.Xc(" ",e.Email," ")}}function Sv(e,t){if(1&e){const e=m.bc();m.ac(0,"img",43),m.ic("error",(function(t){return m.Mc(e),m.mc(4)._commonService.onImageError(t,"assets/images/loader.gif")})),m.Zb()}if(2&e){const e=m.mc().$implicit,t=m.mc(3);m.uc("title","en"==t.translate.currentLang?t.pageTitle.NameEnglish:t.pageTitle.NameHindi),m.uc("alt","en"==t.translate.currentLang?t.pageTitle.NameEnglish:t.pageTitle.NameHindi),m.tc("src",t.sanitizeImageUrl(e.ImagePath),m.Pc)}}function _v(e,t){1&e&&m.Wb(0,"div",44)}function wv(e,t){if(1&e&&(m.Yb(0),m.ac(1,"tr"),m.ac(2,"td"),m.Vc(3),m.Zb(),m.ac(4,"td"),m.Vc(5),m.Zb(),m.ac(6,"td"),m.Vc(7),m.Zb(),m.ac(8,"td"),m.Tc(9,Tv,3,4,"span",15),m.Tc(10,yv,2,1,"span",15),m.Zb(),m.ac(11,"td"),m.Vc(12),m.Zb(),m.Tc(13,xv,3,2,"td",15),m.Tc(14,Pv,3,2,"td",15),m.ac(15,"td"),m.Tc(16,Sv,1,3,"img",40),m.Tc(17,_v,1,0,"div",41),m.Zb(),m.Zb(),m.Xb()),2&e){const e=t.$implicit,n=t.index,i=m.mc(3);m.Hb(3),m.Xc(" ",(i.indexModel.Page-1)*i.indexModel.PageSize+(n+1)," "),m.Hb(2),m.Xc(" ","en"==i.translate.currentLang?e.OfficerName:e.OfficerNameInHindi," "),m.Hb(2),m.Xc(" ","en"==i.translate.currentLang?e.DesignationName:"NULL"==e.DesignationNameHindi?"--":e.DesignationNameHindi," "),m.Hb(2),m.tc("ngIf","en"==i.translate.currentLang&&(null==e?null:e.DateOfBirth)),m.Hb(1),m.tc("ngIf","en"!=i.translate.currentLang&&(null==e?null:e.DateOfBirthHindi)),m.Hb(2),m.Yc(" ","en"==i.translate.currentLang?e.Place:e.PlaceInHindi," ","en"==i.translate.currentLang?e.Address:e.AddressInHindi," "),m.Hb(1),m.tc("ngIf",i.isMobileExist),m.Hb(1),m.tc("ngIf",i.isEmailExist),m.Hb(2),m.tc("ngIf",e.ImagePath),m.Hb(1),m.tc("ngIf",!e.ImagePath)}}function Lv(e,t){if(1&e&&(m.ac(0,"div",36),m.ac(1,"table",37),m.ac(2,"thead"),m.ac(3,"tr"),m.ac(4,"th",38),m.Vc(5),m.nc(6,"translate"),m.Zb(),m.ac(7,"th"),m.Vc(8),m.nc(9,"translate"),m.Zb(),m.ac(10,"th"),m.Vc(11),m.nc(12,"translate"),m.Zb(),m.ac(13,"th"),m.Vc(14),m.nc(15,"translate"),m.Zb(),m.ac(16,"th"),m.Vc(17),m.nc(18,"translate"),m.Zb(),m.Tc(19,Iv,3,3,"th",15),m.Tc(20,Zv,3,3,"th",15),m.ac(21,"th"),m.Vc(22),m.nc(23,"translate"),m.Zb(),m.Zb(),m.Zb(),m.ac(24,"tbody"),m.Tc(25,wv,18,11,"ng-container",39),m.nc(26,"paginate"),m.Zb(),m.Zb(),m.Zb()),2&e){const e=m.mc(2);m.Hb(5),m.Wc(m.oc(6,9,"SNo_txt")),m.Hb(3),m.Wc(m.oc(9,11,"OfficerName_txt")),m.Hb(3),m.Wc(m.oc(12,13,"Designation")),m.Hb(3),m.Wc(m.oc(15,15,"DateOfBirth_txt")),m.Hb(3),m.Wc(m.oc(18,17,"PlaceAddress_txt")),m.Hb(2),m.tc("ngIf",e.isMobileExist),m.Hb(1),m.tc("ngIf",e.isEmailExist),m.Hb(2),m.Wc(m.oc(23,19,"Image_txt")),m.Hb(3),m.tc("ngForOf",m.pc(26,21,e.model,e.pagerConfig))}}function Vv(e,t){if(1&e&&(m.ac(0,"div",45),m.ac(1,"a",46),m.Wb(2,"i",47),m.Vc(3),m.nc(4,"translate"),m.Zb(),m.Wb(5,"iframe",48),m.Zb()),2&e){const e=m.mc(2);m.Hb(1),m.tc("href",e.safeURL,m.Pc),m.Hb(2),m.Wc(m.oc(4,3,"Downloads_txt")),m.Hb(2),m.tc("src",e.safeURL,m.Oc)}}function kv(e,t){if(1&e&&(m.ac(0,"div",33),m.Tc(1,Lv,27,24,"div",34),m.Tc(2,Vv,6,5,"div",35),m.Zb()),2&e){const e=m.mc();m.Hb(1),m.tc("ngIf",e.IsData),m.Hb(1),m.tc("ngIf",e.IsPDF&&(null==e.model[0]?null:e.model[0].AttachmentUrl))}}function Nv(e,t){1&e&&m.Wb(0,"app-mini-loader")}function Ov(e,t){1&e&&m.Wb(0,"app-no-records",49),2&e&&m.tc("showImage",!0)}function Av(e,t){1&e&&(m.ac(0,"option",58),m.Vc(1,"10"),m.Zb())}function Wv(e,t){1&e&&(m.ac(0,"option",59),m.Vc(1,"25"),m.Zb())}function Ev(e,t){1&e&&(m.ac(0,"option",60),m.Vc(1,"50"),m.Zb())}function Gv(e,t){1&e&&(m.ac(0,"option",61),m.Vc(1,"100"),m.Zb())}function Fv(e,t){if(1&e){const e=m.bc();m.ac(0,"div",50),m.ac(1,"div",50),m.ac(2,"select",51),m.ic("change",(function(t){return m.Mc(e),m.mc().changePageSize(t.target.value)})),m.ac(3,"option",52),m.Vc(4),m.nc(5,"translate"),m.Zb(),m.Tc(6,Av,2,0,"option",53),m.Tc(7,Wv,2,0,"option",54),m.Tc(8,Ev,2,0,"option",55),m.Tc(9,Gv,2,0,"option",56),m.Zb(),m.ac(10,"pagination-controls",57),m.ic("pageChange",(function(t){return m.Mc(e),m.mc().getNextPageRecord(t)})),m.nc(11,"translate"),m.nc(12,"translate"),m.Zb(),m.Zb(),m.Zb()}if(2&e){const e=m.mc();m.Hb(3),m.uc("value",e.totalRecords),m.Hb(1),m.Xc(" ",m.oc(5,9,"All_txt")," "),m.Hb(2),m.tc("ngIf",e.totalRecords>10),m.Hb(1),m.tc("ngIf",e.totalRecords>25),m.Hb(1),m.tc("ngIf",e.totalRecords>50),m.Hb(1),m.tc("ngIf",e.totalRecords>100),m.Hb(1),m.uc("previousLabel",m.oc(11,11,"Previous_txt")),m.uc("maxSize",e.totalRecords),m.uc("nextLabel",m.oc(12,13,"Next_txt"))}}let Rv=(()=>{class e{constructor(e,t,n,i,a,c){this._dptDistrictWebsiteService=e,this.translate=t,this.sanitizer=n,this._titleService=i,this.route=a,this._commonService=c,this.departmentCode=0,this.catCode=0,this.indexModel=new s.d,this.currentNextMonthWiseData=1,this.totalRecords=0,this.pagerConfig={id:"datapager",itemsPerPage:this.indexModel.PageSize,currentPage:this.indexModel.Page,totalItems:this.totalRecords},this.pageTitle=new s.f,this.deptcode=0,this.IsLoading=!0,this.isMobileExist=!1,this.isEmailExist=!1,this.searchKeyword="",this.submenuCode=0,this.DateFormat=d.a.DateFormat}ngOnInit(){this.route.paramMap.subscribe(e=>{var t,n,i,a,c,o;this.indexModel=new s.d,this.indexModel.IsPostBack=!0,this.indexModel.PageSize=101,this.indexModel.OrderBy="DisplayOrderNo";let l=null===(i=null===(n=null===(t=this.route)||void 0===t?void 0:t.snapshot)||void 0===n?void 0:n.params)||void 0===i?void 0:i.submenuCode;this.submenuCode=Number(l||0);let r=null===(o=null===(c=null===(a=this.route)||void 0===a?void 0:a.snapshot)||void 0===c?void 0:c.params)||void 0===o?void 0:o.dptCode;this.departmentCode=r?Number(r):this._commonService.GetWebDistDeptCode(),this.route.snapshot.params.catCode&&(this.catCode=Number(this.route.snapshot.params.catCode)),this.getPageHeading(),this.GetList()})}getPageHeading(){this.submenuCode&&this.submenuCode>0?this.getSubmenuDetail():this.catCode&&this.catCode>0&&this.GetDepartmentontactCategoryDetail()}getSubmenuDetail(){this._dptDistrictWebsiteService.GetSubmenuDetail(this.submenuCode).subscribe(e=>{if(e.IsSuccess){let t=e.Data;t&&(this.pageTitle.NameEnglish=t.DisplayNameEnglish,this.pageTitle.NameHindi=t.DisplayNameHindi,this.pageTitle.ImagePath=t.IconImage,this._commonService.SetWebTitle("hi"==this.translate.currentLang?this.pageTitle.NameHindi:this.pageTitle.NameEnglish))}},e=>{})}GetList(){this.IsLoading=!0,this.model=void 0,this.indexModel.Search="",this.indexModel.OrderByAsc=1,this.indexModel.AdvanceSearchModel={DepartmentCode:this.departmentCode,CategoryCode:this.catCode,SearchKeyword:this.searchKeyword.trim(),currentNextMonthWiseData:this.currentNextMonthWiseData},this._dptDistrictWebsiteService.GetDepartmentontactDetail(this.indexModel).subscribe(e=>{var t,n,i;e.IsSuccess?(this.model=e.Data.Data,this.model.length>0&&(this.IsData=null===(t=this.model[0])||void 0===t?void 0:t.IsData,this.IsPDF=null===(n=this.model[0])||void 0===n?void 0:n.IsPDF,this.IsURL=null===(i=this.model[0])||void 0===i?void 0:i.IsURL,this.IsPDF?this.safeURL=this.sanitizer.bypassSecurityTrustResourceUrl(this.model[0].AttachmentUrl):this.IsURL?(setTimeout(()=>{window.history.back()},100),window.open(this.model[0].URL,"_blank")):(this.model.find(e=>e.MobileNo)&&(this.isMobileExist=!0),this.model.find(e=>e.Email)&&(this.isEmailExist=!0))),this.indexModel.IsPostBack||(this.totalRecords=e.Data.TotalRecords),this.updatePageConfig()):this.model=[],this.IsLoading=!1},e=>{this.model=[]})}sanitizeImageUrl(e){return this.sanitizer.bypassSecurityTrustUrl(e)}getNextPageRecord(e){window.scroll(0,0),this.indexModel.IsPostBack=!0,this.indexModel.Page=e,this.GetList()}changePageSize(e){window.scroll(0,0),this.indexModel.IsPostBack=!0,this.indexModel.PageSize=Number(e),this.indexModel.Page=1,this.GetList()}updatePageConfig(){this.pagerConfig={itemsPerPage:this.indexModel.PageSize,currentPage:this.indexModel.Page,totalItems:this.totalRecords}}GetDepartmentontactCategoryDetail(){this._dptDistrictWebsiteService.GetDepartmentontactCategoryDetail(this.catCode).subscribe(e=>{if(e.IsSuccess){let t=e.Data;t&&(this.pageTitle.NameEnglish=t.Lookup,this.pageTitle.NameHindi=t.NameHindi,this._commonService.SetWebTitle("hi"==this.translate.currentLang?this.pageTitle.NameHindi:this.pageTitle.NameEnglish))}},e=>{})}reset(){this.searchKeyword="",this.indexModel=new s.d,this.GetList()}printDepartment(e){let t,n;t=document.getElementById(e).outerHTML,n=window.open(" ","","top=0,left=0,height=100%,width=100%"),n.document.open(),n.document.write(`\n \n \n ${this.pageTitle.NameEnglish}\n \n \n ${t}\n `),n.document.close()}DepartmentontactDetailToExcel(){this._dptDistrictWebsiteService.GetAllDepartmentontactDetailToExcel(this.indexModel,"en"==this.translate.currentLang).subscribe(e=>{if(e.IsSuccess){const t=e.Data,n=document.createElement("a"),i="hi"==this.translate.currentLang?this.pageTitle.NameHindi:this.pageTitle.NameEnglish;n.href=t,n.download=i,n.target="blank",n.click()}},e=>{console.log(e)})}}return e.\u0275fac=function(t){return new(t||e)(m.Vb(p.a),m.Vb(c.d),m.Vb(b.b),m.Vb(b.d),m.Vb(h.a),m.Vb(g.a))},e.\u0275cmp=m.Pb({type:e,selectors:[["app-birthday-wise-contact-directory"]],decls:22,vars:15,consts:[["aria-label","breadcrumb",1,"breadcrumb_nav"],[1,"breadcrumb"],[1,"breadcrumb-item"],[3,"routerLink"],["class","breadcrumb-item active","aria-current","page",4,"ngIf"],[1,"inner-page","pt-0"],[1,"container","p-4"],[1,"row"],[1,"col-xl-12","col-lg-12","mb-12"],[1,"title","text-center"],[1,"img-fluid","mr-10",2,"max-width","45px",3,"src","title","alt"],[4,"ngIf","ngIfElse"],["default",""],["class","row mb-5 scheme_search align-items-center",4,"ngIf"],["id","deptreport","class","col-lg-12",4,"ngIf"],[4,"ngIf"],[3,"showImage",4,"ngIf"],["class","new-pagination-outer",4,"ngIf"],["aria-current","page",1,"breadcrumb-item","active"],[1,"row","mb-5","scheme_search","align-items-center"],[1,"input-group","col-md-5"],["type","search","aria-label","Search",1,"form-control",3,"ngModel","placeholder","ngModelChange"],[1,"input-group-append"],[1,"btn",3,"click"],[1,"fas","fa-search"],[1,"col-xl-6","text-right","svg-btns"],["type","button",1,"text-danger",2,"border-color","#dc3545",3,"click"],["xmlns","http://www.w3.org/2000/svg","width","25","height","25","fill","#dc3545","viewBox","0 0 16 16",1,"bi","bi-printer"],["d","M2.5 8a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1z"],["d","M5 1a2 2 0 0 0-2 2v2H2a2 2 0 0 0-2 2v3a2 2 0 0 0 2 2h1v1a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2v-1h1a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2h-1V3a2 2 0 0 0-2-2H5zM4 3a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v2H4V3zm1 5a2 2 0 0 0-2 2v1H2a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v3a1 1 0 0 1-1 1h-1v-1a2 2 0 0 0-2-2H5zm7 2v3a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1v-3a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1z"],[1,"text-primary",3,"click"],["xmlns","http://www.w3.org/2000/svg","width","25","height","25","fill","currentColor","viewBox","0 0 16 16",1,"bi","bi-filetype-xlsx"],["fill-rule","evenodd","d","M14 4.5V11h-1V4.5h-2A1.5 1.5 0 0 1 9.5 3V1H4a1 1 0 0 0-1 1v9H2V2a2 2 0 0 1 2-2h5.5L14 4.5ZM7.86 14.841a1.13 1.13 0 0 0 .401.823c.13.108.29.192.479.252.19.061.411.091.665.091.338 0 .624-.053.858-.158.237-.105.416-.252.54-.44a1.17 1.17 0 0 0 .187-.656c0-.224-.045-.41-.135-.56a1.002 1.002 0 0 0-.375-.357 2.028 2.028 0 0 0-.565-.21l-.621-.144a.97.97 0 0 1-.405-.176.37.37 0 0 1-.143-.299c0-.156.061-.284.184-.384.125-.101.296-.152.513-.152.143 0 .266.023.37.068a.624.624 0 0 1 .245.181.56.56 0 0 1 .12.258h.75a1.093 1.093 0 0 0-.199-.566 1.21 1.21 0 0 0-.5-.41 1.813 1.813 0 0 0-.78-.152c-.293 0-.552.05-.777.15-.224.099-.4.24-.527.421-.127.182-.19.395-.19.639 0 .201.04.376.123.524.082.149.199.27.351.367.153.095.332.167.54.213l.618.144c.207.049.36.113.462.193a.387.387 0 0 1 .153.326.512.512 0 0 1-.085.29.558.558 0 0 1-.255.193c-.111.047-.25.07-.413.07-.117 0-.224-.013-.32-.04a.837.837 0 0 1-.249-.115.578.578 0 0 1-.255-.384h-.764Zm-3.726-2.909h.893l-1.274 2.007 1.254 1.992h-.908l-.85-1.415h-.035l-.853 1.415H1.5l1.24-2.016-1.228-1.983h.931l.832 1.438h.036l.823-1.438Zm1.923 3.325h1.697v.674H5.266v-3.999h.791v3.325Zm7.636-3.325h.893l-1.274 2.007 1.254 1.992h-.908l-.85-1.415h-.035l-.853 1.415h-.861l1.24-2.016-1.228-1.983h.931l.832 1.438h.036l.823-1.438Z"],["id","deptreport",1,"col-lg-12"],["class","table-responsive",4,"ngIf"],["style","width: 100%; text-align: center",4,"ngIf"],[1,"table-responsive"],["border","0",1,"table","table-striped","table-bordered","table-new-design"],[2,"width","30px"],[4,"ngFor","ngForOf"],["class","img-fluid","width","100px","style","height: auto; max-height: 100px",3,"src","title","alt","error",4,"ngIf"],["width","100px","height","10px",4,"ngIf"],[3,"href"],["width","100px",1,"img-fluid",2,"height","auto","max-height","100px",3,"src","title","alt","error"],["width","100px","height","10px"],[2,"width","100%","text-align","center"],["target","_blank",1,"btn","btn-round","btn-theme","btn-yellow","d-block","d-sm-none","py-2","btn-lg",3,"href"],[1,"fas","fa-file-pdf","mr-2"],[1,"pdf-Viewer","d-none","d-sm-block",3,"src"],[3,"showImage"],[1,"new-pagination-outer"],["name","example_length","aria-controls","example",1,"form-control-sm",2,"width","70px",3,"change"],[3,"value"],["selected","","value","10",4,"ngIf"],["value","25",4,"ngIf"],["value","50",4,"ngIf"],["value","100",4,"ngIf"],["autoHide","true",1,"w-100","text-center","mt-4",3,"previousLabel","maxSize","nextLabel","pageChange"],["selected","","value","10"],["value","25"],["value","50"],["value","100"]],template:function(e,t){if(1&e&&(m.ac(0,"nav",0),m.ac(1,"ol",1),m.ac(2,"li",2),m.ac(3,"a",3),m.Vc(4),m.nc(5,"translate"),m.Zb(),m.Zb(),m.Tc(6,Cv,2,1,"li",4),m.Zb(),m.Zb(),m.ac(7,"section",5),m.ac(8,"div",6),m.ac(9,"div",7),m.ac(10,"div",8),m.ac(11,"h1",9),m.Wb(12,"img",10),m.Tc(13,Hv,2,1,"ng-container",11),m.Tc(14,Dv,1,1,"ng-template",null,12,m.Uc),m.Zb(),m.Tc(16,Mv,21,10,"div",13),m.Zb(),m.Zb(),m.ac(17,"div",7),m.Tc(18,kv,3,2,"div",14),m.Tc(19,Nv,1,0,"app-mini-loader",15),m.Tc(20,Ov,1,1,"app-no-records",16),m.Tc(21,Fv,13,15,"div",17),m.Zb(),m.Zb(),m.Zb()),2&e){const e=m.Kc(15);m.Hb(3),m.uc("routerLink",t._commonService.GetHomePageUrl()),m.Hb(1),m.Wc(m.oc(5,13,"Home_txt")),m.Hb(2),m.tc("ngIf",t.model),m.Hb(6),m.uc("src",(null==t.pageTitle?null:t.pageTitle.ImagePath)||"assets/images/cm-letter.png",m.Pc),m.uc("title",t.pageTitle?"hi"!=t.translate.currentLang?null==t.pageTitle?null:t.pageTitle.NameEnglish:null==t.pageTitle?null:t.pageTitle.NameHindi:null==t.model[0]?null:t.model[0].ContactCategoryName),m.uc("alt",t.pageTitle?"hi"!=t.translate.currentLang?null==t.pageTitle?null:t.pageTitle.NameEnglish:null==t.pageTitle?null:t.pageTitle.NameHindi:null==t.model[0]?null:t.model[0].ContactCategoryName),m.Hb(1),m.tc("ngIf",t.model)("ngIfElse",e),m.Hb(3),m.tc("ngIf",t.IsData),m.Hb(2),m.tc("ngIf",(null==t.model?null:t.model.length)>0),m.Hb(1),m.tc("ngIf",!t.model),m.Hb(1),m.tc("ngIf",t.model&&0==t.model.length),m.Hb(1),m.tc("ngIf",!t.IsPDF&&t.totalRecords>10)}},directives:[h.d,i.n,a.b,a.m,a.p,i.m,v.a,C.a,a.q,a.w,f.c],pipes:[c.c,f.b,i.e],styles:[""]}),e})();var Xv=n("HDdC"),Bv=n("3N8a");const Uv=new(n("IjjT").a)(Bv.a);var zv=n("DH7j");function jv(e){return!Object(zv.a)(e)&&e-parseFloat(e)+1>=0}var $v=n("z+Ro");function Yv(e){const{index:t,period:n,subscriber:i}=e;if(i.next(t),!i.closed){if(-1===n)return i.complete();e.index=t+1,this.schedule(e,n)}}var qv=n("IzEk"),Jv=function(e){return e[e.DistrictCollector=11]="DistrictCollector",e}({}),Kv=function(e){return e[e.DistrictAdministrationDATA=30261]="DistrictAdministrationDATA",e}({});class Qv{}class eC{}class tC{}class nC{}class iC{}let aC=(()=>{class e{constructor(e){this._baseService=e}Add(e){return this._baseService.post(r.a.RegisterSveepParticipantUrl,e)}ResentOTP(e,t){const n=new Is.a;return n.Add("name",t),n.Add("mobile",e),this._baseService.get(r.a.ResentOTPUrl,n)}VerifyOtp(e){return this._baseService.post(r.a.VerifyOtpUrl,e)}GetContactDetail(e){return this._baseService.post(r.a.GetContactDetail,e)}}return e.\u0275fac=function(t){return new(t||e)(m.ec(Fa.a))},e.\u0275prov=m.Rb({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();var cC=n("mDsY");function oC(e,t){if(1&e&&(m.ac(0,"span"),m.Vc(1),m.Zb()),2&e){const e=m.mc();m.Hb(1),m.Wc("hi"!=e.translate.currentLang?null==e.pageTitle?null:e.pageTitle.NameEnglish:null==e.pageTitle?null:e.pageTitle.NameHindi)}}function lC(e,t){1&e&&(m.ac(0,"span"),m.Vc(1),m.nc(2,"translate"),m.Zb()),2&e&&(m.Hb(1),m.Wc(m.oc(2,1,"SveepProgram_txt")))}function rC(e,t){1&e&&(m.ac(0,"span",63),m.Vc(1),m.nc(2,"translate"),m.Zb()),2&e&&(m.Hb(1),m.Xc(" ",m.oc(2,1,"nameRequired_txt")," "))}function sC(e,t){1&e&&(m.ac(0,"span",63),m.Vc(1),m.nc(2,"translate"),m.Zb()),2&e&&(m.Hb(1),m.Xc(" ",m.oc(2,1,"mobileRequired_txt")," "))}function dC(e,t){if(1&e){const e=m.bc();m.ac(0,"button",64),m.ic("click",(function(){return m.Mc(e),m.mc().SaveClick()})),m.Vc(1),m.nc(2,"translate"),m.Zb()}if(2&e){const e=m.mc();m.tc("disabled",e.iscountDownStop),m.Hb(1),m.Xc(" ",m.oc(2,2,"SubmitButton_txt")," ")}}function mC(e,t){1&e&&(m.ac(0,"button",65),m.Vc(1),m.nc(2,"translate"),m.Zb()),2&e&&(m.Hb(1),m.Xc(" ",m.oc(2,1,"DownloadCertificate_txt")," "))}function uC(e,t){if(1&e&&(m.ac(0,"div",66),m.Vc(1),m.nc(2,"translate"),m.nc(3,"translate"),m.Zb()),2&e){const e=m.mc();m.Hb(1),m.Xc(" ","en"!=e.translate.currentLang?"\u0915\u0943\u092a\u092f\u093e "+m.oc(2,1,"OTP_txt")+" \u0932\u093f\u0916\u0947\u0902":"Please Enter"+m.oc(3,3,"OTP_txt")," ")}}const bC=function(){return{standalone:!0}},gC=function(e){return{"is-invalid":e}};let hC=(()=>{class e{constructor(e,t,n,i,c,o,l){this._sweepParticipantService=e,this.formBuilder=t,this._commonService=n,this.translate=i,this.route=c,this._router=o,this._distDeptService=l,this.model=new Qv,this.OTPControl=new a.d("",a.v.required),this.responseData=new eC,this.verifyOTPModel=new tC,this.isVerify=!1,this.name="",this.mobileNo="",this.maskedMobileNumber="",this.contactCategoryEnum=Kv,this.designationCodeEnum=Jv,this.filterModel=new iC,this.contactModel=new nC,this.deptCode=0,this.submenuCode=0,this.isSubmitted=!1,this.isApplyVote=null,this.counterTimer=d.a.counterTimer,this.tick=1e3,this.iscountDownStop=!1,this.districtNameHindi=this._commonService.GetLocalStorageVal("DistrictNameHindi"),this.districtNameHindi=this.districtNameHindi.replace("\u091c\u093f\u0932\u093e","")}ngOnInit(){this.FormGroupInit(),this._commonService.IsDistrict()&&(this.districtName=this._commonService.GetLocalStorageVal("en"==this.translate.currentLang?"DistrictName":"DistrictNameHindi")||"",this.districtName=this.districtName.replace("en"==this.translate.currentLang?"District":"\u091c\u093f\u0932\u093e",""),this.model.DepartmentCode=Number(this._commonService.GetLocalStorageVal("websiteCode"))||0),this.route.paramMap.subscribe(e=>{this.pageTitle=void 0;let t=e.get("submenuCode");this.submenuCode=Number(t||0);let n=e.get("dptCode");this.deptCode=Number(n||this.model.DepartmentCode),this.getPageHeading()}),this.formGroup.get("mobileNo").valueChanges.subscribe(e=>{this.maskedMobileNumber=this.maskMobileNumber(this.model.MobileNo)})}getPageHeading(){this.submenuCode>0&&this.getSubmenuDetail()}getSubmenuDetail(){this._distDeptService.GetSubmenuDetail(this.submenuCode).subscribe(e=>{if(e.IsSuccess){let t=e.Data;t&&(this.pageTitle=new s.f,this.pageTitle.NameEnglish=t.DisplayNameEnglish,this.pageTitle.NameHindi=t.DisplayNameHindi,this.pageTitle.ImagePath=t.IconImage,this._commonService.SetWebTitle("hi"==this.translate.currentLang?this.pageTitle.NameHindi:this.pageTitle.NameEnglish))}},e=>{console.error(e)})}SaveClick(){this.isSubmitted=!0,this.formGroup.get("name").enable(),this.OTPControl.setValue(void 0),this.formGroup.get("mobileNo").enable(),this.formGroup.markAllAsTouched(),this.formGroup.valid&&this.isApplyVote&&this._sweepParticipantService.Add(this.model).subscribe(e=>{e.IsSuccess?(this.responseData=e.Data,this.GetContactDetail(),this.responseData.IsAlreadyExistsUser?(this.isVerify=!0,this.formGroup.get("name").disable(),this.formGroup.get("mobileNo").disable(),this._commonService.alertMsg("",this.responseData.IsAlreadyExistsUserMassage,"info")):(this.startTimer(),$("#OTP-Reg").modal("show"))):(this.formGroup.get("name").enable(),this.formGroup.get("mobileNo").enable(),this._commonService.alertMsg("Opps!",e.Message,"info"))},e=>{this.formGroup.get("name").enable(),this.formGroup.get("mobileNo").enable(),console.error(e.Message)})}GetContactDetail(){this.filterModel.DepartmentCode=this.model.DepartmentCode,this.filterModel.CategoryCode=this.contactCategoryEnum.DistrictAdministrationDATA,this.filterModel.DesignationCode=this.designationCodeEnum.DistrictCollector,this._sweepParticipantService.GetContactDetail(this.filterModel).subscribe(e=>{e.IsSuccess?this.contactModel=e.Data[0]:this.model=null},e=>{this.model=null})}FormGroupInit(){this.formGroup=this.formBuilder.group({name:[null,a.v.required],mobileNo:[null,a.v.required]})}onResendOTP(){this.iscountDownStop||this._sweepParticipantService.ResentOTP(this.model.MobileNo,this.model.Name).subscribe(e=>{e.IsSuccess&&(this.OTPControl.setValue(void 0),this.startTimer(),this._commonService.alertMsg("Success!","OTP Sent...!","success"))})}onVerifyOTP(){this.OTPControl.markAllAsTouched(),this.isVerify=!1,this.OTPControl.valid&&(this.verifyOTPModel.OTP=Number(this.OTPControl.value||0),this.verifyOTPModel.Id=Number(this.responseData.Id||0),this._sweepParticipantService.VerifyOtp(this.verifyOTPModel).subscribe(e=>{e.IsSuccess?"True"==e.Data?(this.formGroup.get("name").disable(),this.formGroup.get("mobileNo").disable(),this.isVerify=!0,$("#OTP-Reg").modal("hide"),this.verifyOTPModel.OTP=void 0):this._commonService.alertMsg("Opps!","Invalid OTP Entered"):this._commonService.alertMsg("Opps!",e.Message,"warning")},e=>{this.formGroup.get("name").enable(),this.formGroup.get("mobileNo").enable(),console.error(e.Message)}))}numberOnly(e,t=!1){return this._commonService.numberOnly(e,t)}isApplyVoteSelection(){this.isApplyVote||(this.isApplyVote=null)}startTimer(){this.counterTimer=d.a.counterTimer,this.iscountDownStop=!0,this.countDown=function(e=0,t,n){let i=-1;return jv(t)?i=Number(t)<1?1:Number(t):Object($v.a)(t)&&(n=t),Object($v.a)(n)||(n=Uv),new Xv.a(t=>{const a=jv(e)?e:+e-n.now();return n.schedule(Yv,a,{index:0,period:i,subscriber:t})})}(0,this.tick).pipe(Object(qv.a)(this.counterTimer)).subscribe(()=>{--this.counterTimer,0==this.counterTimer&&(this.countDown.unsubscribe(),this.iscountDownStop=!1)})}transform(e){const t=Math.floor(e/60);return("00"+t).slice(-2)+":"+("00"+Math.floor(e-60*t)).slice(-2)}maskMobileNumber(e){if(e&&e.length>=4){const t=e.substring(0,2),n=e.substring(e.length-2);return t+"*".repeat(e.length-4)+n}return e}}return e.\u0275fac=function(t){return new(t||e)(m.Vb(aC),m.Vb(a.c),m.Vb(g.a),m.Vb(c.d),m.Vb(h.a),m.Vb(h.b),m.Vb(p.a))},e.\u0275cmp=m.Pb({type:e,selectors:[["app-ddw-sveep-participant"]],decls:120,vars:64,consts:[["aria-label","breadcrumb",1,"breadcrumb_nav"],[1,"container","p-0"],[1,"breadcrumb"],[1,"breadcrumb-item"],[3,"routerLink"],["aria-current","page",1,"breadcrumb-item","active"],[4,"ngIf"],[1,"container","d-none"],[1,"row"],[1,"col-lg-12"],[1,"participant-msg"],[2,"color","#1705df"],[1,"m-0"],[1,"d-none",3,"formGroup"],[1,"inner-page"],[1,"form-box"],[1,"container"],[1,"row","justify-content-center"],[1,"col-xl-12","col-lg-12","col-sm-12","col-12","wow","fadeInUp","mb-2"],[1,"text-white"],["type","text","readonly","",1,"form-control",2,"background","#dbdbdb",3,"value"],[2,"color","red"],["type","text","formControlName","name",1,"form-control",3,"placeholder","ngModel","ngModelChange"],["class","form-error",4,"ngIf"],["type","text","formControlName","mobileNo","maxlength","10","minlength","10",1,"form-control",3,"placeholder","ngModel","ngModelChange","keypress"],[1,"custom-control","custom-checkbox"],["type","checkbox","id","isApplyVote",1,"custom-control-input",3,"disabled","ngModel","ngModelOptions","ngModelChange","change"],["for","isApplyVote",1,"custom-control-label"],[1,"col-xl-12","col-lg-12","col-sm-12","col-12","mt-2","wow","fadeInUp","mb-2"],[1,"d-flex","orders_filter-btn-grp"],["style","border: none","class","btn btn-round btn-theme btn-yellow p-2",3,"disabled","click",4,"ngIf"],["style","border: none","data-toggle","modal","data-target","#certificate-Reg","class","btn btn-round btn-success filter-btn p-2",4,"ngIf"],["id","OTP-Reg","tabindex","-1","role","dialog","aria-labelledby","OTP-Reg","aria-hidden","true","data-backdrop","static",1,"modal","fade","modal-dsign-sm","modal-new-theme-design","modal-send-otp"],["OTPModel",""],["role","document",1,"modal-dialog","modal-dialog-centered"],[1,"modal-content"],[1,"modal-header"],[1,"modal-title"],["type","button","data-dismiss","modal","aria-label","Close",1,"close"],["aria-hidden","true"],[1,"modal-body"],[1,"modal-send-otp-img","text-center"],["src","assets/images/mobile-otp.png","alt","Jankalyan"],[1,"form-group","otp-control","position-relative","mb-2"],[1,"d-flex"],["type","text","placeholder","Enter OTP","maxlength","6","minlength","4",1,"form-control",3,"formControl","ngClass","keypress"],["href","javascript:void(0)",1,"btn","btn-success",3,"click"],["class","invalid-feedback",4,"ngIf"],[1,"modal-footer","pb-0","justify-content-center"],["type","button",1,"text-danger","m-auto",3,"click"],[1,"bi","bi-arrow-clockwise"],[1,"otp-timer"],["id","certificate-Reg","tabindex","-1","role","dialog","aria-labelledby","OTP-Reg","aria-hidden","true","data-backdrop","static",1,"modal","fade","modal-dsign-sm","modal-new-theme-design","modal-send-otp"],["Certificate",""],["role","document",1,"modal-dialog","modal-dialog-centered","modal-xl",2,"max-width","1060px"],[1,"modal-header","py-2"],[1,"modal-body","p-0"],[3,"name","mobileNo","districtName","officerName","signaturePath","officerNameInHindi"],[1,"inner-page","pb-5","pt-0"],[1,"col-lg-12","col-md-12","col-sm-12"],[1,"page-not-found","text-center","m-3"],[1,"page-not-found-img","mb-2"],["src","assets/images/Program-Closed.png","alt","CMO"],[1,"form-error"],[1,"btn","btn-round","btn-theme","btn-yellow","p-2",2,"border","none",3,"disabled","click"],["data-toggle","modal","data-target","#certificate-Reg",1,"btn","btn-round","btn-success","filter-btn","p-2",2,"border","none"],[1,"invalid-feedback"]],template:function(e,t){1&e&&(m.ac(0,"nav",0),m.ac(1,"div",1),m.ac(2,"ol",2),m.ac(3,"li",3),m.ac(4,"a",4),m.Vc(5),m.nc(6,"translate"),m.Zb(),m.Zb(),m.ac(7,"li",5),m.Tc(8,oC,2,1,"span",6),m.Tc(9,lC,3,3,"span",6),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.ac(10,"div",7),m.ac(11,"div",8),m.ac(12,"div",9),m.ac(13,"div",10),m.ac(14,"h1"),m.ac(15,"span",11),m.Vc(16," \u092e\u091c\u092c\u0942\u0924 \u0932\u094b\u0915\u0924\u0902\u0924\u094d\u0930 \u0915\u0947 \u0932\u093f\u090f "),m.Zb(),m.Vc(17,"\u091c\u0928 \u091c\u093e\u0917\u0930\u0942\u0915\u0924\u093e \u0905\u092d\u093f\u092f\u093e\u0928 "),m.Zb(),m.ac(18,"h2"),m.Vc(19," \u092e\u0947\u0930\u093e \u0938\u0902\u0915\u0932\u094d\u092a "),m.Zb(),m.ac(20,"p"),m.Vc(21," \u092e\u0948\u0902 \u092d\u093e\u0930\u0924 \u0915\u093e \u0928\u093e\u0917\u0930\u093f\u0915, \u0932\u094b\u0915\u0924\u0902\u0924\u094d\u0930 \u092e\u0947\u0902 \u0905\u092a\u0928\u0940 \u092a\u0942\u0930\u094d\u0923 \u0906\u0938\u094d\u0925\u093e \u0930\u0916\u0924\u0947 \u0939\u0941\u090f \u092f\u0939 \u0936\u092a\u0925 \u0932\u0947\u0924\u093e / \u0932\u0947\u0924\u0940 \u0939\u0942\u0902 \u0915\u093f \u092e\u0948\u0902, \u0905\u092a\u0928\u0947 \u0926\u0947\u0936 \u0915\u0940 \u0932\u094b\u0915\u0924\u093e\u0902\u0924\u094d\u0930\u093f\u0915 \u092a\u0930\u092e\u094d\u092a\u0930\u093e\u0913\u0902 \u0915\u0940 \u092e\u0930\u094d\u092f\u093e\u0926\u093e \u0915\u094b \u092c\u0928\u093e\u090f \u0930\u0916\u0942\u0902\u0917\u093e / \u0930\u0916\u0942\u0902\u0917\u0940 \u0924\u0925\u093e \u0938\u094d\u0935\u0924\u0902\u0924\u094d\u0930, \u0928\u093f\u0937\u094d\u092a\u0915\u094d\u0937 \u090f\u0935\u0902 \u0936\u093e\u0902\u0924\u093f\u092a\u0942\u0930\u094d\u0923 \u0928\u093f\u0930\u094d\u0935\u093e\u091a\u0928 \u0915\u0940 \u0917\u0930\u093f\u092e\u093e \u0915\u094b \u0905\u0915\u094d\u0937\u0941\u0923\u094d\u0923 \u0930\u0916\u0924\u0947 \u0939\u0941\u090f, \u0928\u093f\u0930\u094d\u092d\u0940\u0915 \u0939\u094b\u0915\u0930, \u0927\u0930\u094d\u092e, \u0935\u0930\u094d\u0917, \u091c\u093e\u0924\u093f, \u0938\u092e\u0941\u0926\u093e\u092f, \u092d\u093e\u0937\u093e \u0905\u0925\u0935\u093e \u0905\u0928\u094d\u092f \u0915\u093f\u0938\u0940 \u092d\u0940 \u092a\u094d\u0930\u0932\u094b\u092d\u0928 \u0938\u0947 \u092a\u094d\u0930\u092d\u093e\u0935\u093f\u0924 \u0939\u0941\u090f \u092c\u093f\u0928\u093e \u0938\u092d\u0940 \u0928\u093f\u0930\u094d\u0935\u093e\u091a\u0928\u094b\u0902 \u092e\u0947\u0902 \u0905\u092a\u0928\u0947 \u092e\u0924\u093e\u0927\u093f\u0915\u093e\u0930 \u0915\u093e \u092a\u094d\u0930\u092f\u094b\u0917 \u0915\u0930\u0942\u0902\u0917\u093e / \u0915\u0930\u0942\u0917\u0940\u0902\u0964 "),m.Zb(),m.ac(22,"p",12),m.Vc(23),m.ac(24,"strong"),m.Vc(25," 'SVEEP' Program "),m.Zb(),m.Vc(26," \u0915\u093e \u0938\u092e\u0930\u094d\u0925\u0928 \u0915\u0930\u0924\u093e/\u0915\u0930\u0924\u0940 \u0939\u0942\u0901 \u0914\u0930 \u092e\u091c\u092c\u0942\u0924 \u0932\u094b\u0915\u0924\u0902\u0924\u094d\u0930 \u0915\u0940 \u092a\u0930\u093f\u0915\u0932\u094d\u092a\u0928\u093e \u0915\u094b \u0938\u093e\u0915\u093e\u0930 \u0915\u0930\u0928\u0947 \u092e\u0947\u0902 \u092e\u0947\u0930\u0940 \u0915\u094d\u0937\u092e\u0924\u093e \u0915\u0947 \u0905\u0928\u0941\u0938\u093e\u0930 \u0938\u0939\u092f\u094b\u0917 \u0915\u093e \u0938\u0902\u0915\u0932\u094d\u092a \u0932\u0947\u0924\u093e/\u0932\u0947\u0924\u0940 \u0939\u0942\u0901 \u0964 "),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.ac(27,"form",13),m.ac(28,"div"),m.ac(29,"section",14),m.ac(30,"div",15),m.ac(31,"div",16),m.ac(32,"div",17),m.ac(33,"div",18),m.ac(34,"label",19),m.Vc(35),m.nc(36,"translate"),m.Zb(),m.Wb(37,"input",20),m.Zb(),m.ac(38,"div",18),m.ac(39,"label",19),m.Vc(40),m.nc(41,"translate"),m.ac(42,"span",21),m.Vc(43,"*"),m.Zb(),m.Zb(),m.ac(44,"input",22),m.ic("ngModelChange",(function(e){return t.model.Name=e})),m.nc(45,"translate"),m.Zb(),m.Tc(46,rC,3,3,"span",23),m.Zb(),m.ac(47,"div",18),m.ac(48,"label",19),m.Vc(49),m.nc(50,"translate"),m.ac(51,"span",21),m.Vc(52,"*"),m.Zb(),m.Zb(),m.ac(53,"input",24),m.ic("ngModelChange",(function(e){return t.model.MobileNo=e}))("keypress",(function(e){return t.numberOnly(e)})),m.nc(54,"translate"),m.Zb(),m.Tc(55,sC,3,3,"span",23),m.Zb(),m.ac(56,"div",18),m.ac(57,"div",25),m.ac(58,"input",26),m.ic("ngModelChange",(function(e){return t.isApplyVote=e}))("change",(function(){return t.isApplyVoteSelection()})),m.Zb(),m.ac(59,"label",27),m.Vc(60," \u092e\u0948\u0902 \u092e\u0924\u093e\u0927\u093f\u0915\u093e\u0930 \u0915\u093e \u0938\u0902\u0915\u0932\u094d\u092a \u0932\u0947\u0924\u093e / \u0932\u0947\u0924\u0940 \u0939\u0942\u0902\u0964 "),m.ac(61,"span",21),m.Vc(62,"*"),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.ac(63,"div",28),m.ac(64,"div",29),m.Tc(65,dC,3,4,"button",30),m.Tc(66,mC,3,3,"button",31),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.ac(67,"div",32,33),m.ac(69,"div",34),m.ac(70,"div",35),m.ac(71,"div",36),m.ac(72,"h5",37),m.Vc(73),m.nc(74,"translate"),m.Zb(),m.ac(75,"button",38),m.ac(76,"span",39),m.Vc(77,"\xd7"),m.Zb(),m.Zb(),m.Zb(),m.ac(78,"div",40),m.ac(79,"div",41),m.Wb(80,"img",42),m.Zb(),m.ac(81,"p"),m.Vc(82),m.ac(83,"strong"),m.Vc(84),m.Zb(),m.Zb(),m.ac(85,"div",43),m.ac(86,"div",44),m.ac(87,"input",45),m.ic("keypress",(function(e){return t.numberOnly(e)})),m.Zb(),m.Wb(88,"span"),m.ac(89,"a",46),m.ic("click",(function(){return t.onVerifyOTP()})),m.Vc(90),m.nc(91,"translate"),m.Zb(),m.Zb(),m.Tc(92,uC,4,5,"div",47),m.Zb(),m.ac(93,"div",48),m.ac(94,"a",49),m.ic("click",(function(){return t.onResendOTP()})),m.Wb(95,"i",50),m.Vc(96),m.nc(97,"translate"),m.Zb(),m.ac(98,"div",51),m.Vc(99),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.ac(100,"div",52,53),m.ac(102,"div",54),m.ac(103,"div",35),m.ac(104,"div",55),m.ac(105,"h5",37),m.Vc(106),m.nc(107,"translate"),m.Zb(),m.ac(108,"button",38),m.ac(109,"span",39),m.Vc(110,"\xd7"),m.Zb(),m.Zb(),m.Zb(),m.ac(111,"div",56),m.Wb(112,"app-sveep-certificate",57),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.ac(113,"section",58),m.ac(114,"div",16),m.ac(115,"div",8),m.ac(116,"div",59),m.ac(117,"div",60),m.ac(118,"div",61),m.Wb(119,"img",62),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.Zb()),2&e&&(m.Hb(4),m.uc("routerLink",t._commonService.GetHomePageUrl()),m.Hb(1),m.Wc(m.oc(6,41,"Home_txt")),m.Hb(3),m.tc("ngIf",t.pageTitle),m.Hb(1),m.tc("ngIf",!t.pageTitle),m.Hb(14),m.Xc(" \u092e\u0948\u0902, ",t.districtNameHindi," \u091c\u093f\u0932\u0947 \u092e\u0947\u0902 \u092e\u091c\u092c\u0942\u0924 \u0932\u094b\u0915\u0924\u0902\u0924\u094d\u0930 \u0915\u0947 \u0932\u093f\u090f \u091a\u0932\u093e\u092f\u0947 \u091c\u093e \u0930\u0939\u0947 "),m.Hb(4),m.tc("formGroup",t.formGroup),m.Hb(8),m.Xc("",m.oc(36,43,"District_txt")," "),m.Hb(2),m.tc("value",t.districtName),m.Hb(3),m.Xc("",m.oc(41,45,"OfficerName_txt")," "),m.Hb(4),m.uc("placeholder",m.oc(45,47,"OfficerName_txt")),m.tc("ngModel",t.model.Name),m.Hb(2),m.tc("ngIf",t.formGroup.get("name").errors&&t.formGroup.get("name").touched),m.Hb(3),m.Xc("",m.oc(50,49,"Mobile_txt")," "),m.Hb(4),m.uc("placeholder",m.oc(54,51,"Mobile_txt")),m.tc("ngModel",t.model.MobileNo),m.Hb(2),m.tc("ngIf",t.formGroup.get("mobileNo").errors&&t.formGroup.get("mobileNo").touched),m.Hb(2),m.Sc("color",!t.isApplyVote&&t.isSubmitted?"red":"black"),m.Hb(1),m.tc("disabled",t.isVerify)("ngModel",t.isApplyVote)("ngModelOptions",m.Dc(61,bC)),m.Hb(7),m.tc("ngIf",!t.isVerify),m.Hb(1),m.tc("ngIf",t.isVerify),m.Hb(7),m.Wc(m.oc(74,53,"otp_verification_txt")),m.Hb(9),m.Xc("",t.model.Name," "),m.Hb(2),m.Xc("(",t.model.MobileNo,")"),m.Hb(3),m.tc("formControl",t.OTPControl)("ngClass",m.Ec(62,gC,t.OTPControl.errors&&t.OTPControl.touched)),m.Hb(3),m.Xc(" ",m.oc(91,55,"VerifyOTP_txt")," "),m.Hb(2),m.tc("ngIf",(null==t.OTPControl?null:t.OTPControl.hasError("required"))&&t.OTPControl.touched),m.Hb(2),m.Kb(t.iscountDownStop?"text-muted disabled":"text-danger"),m.Hb(2),m.Xc(" ",m.oc(97,57,"ResendOTP_txt"),""),m.Hb(3),m.Xc(" ",t.transform(t.counterTimer)," "),m.Hb(7),m.Wc(m.oc(107,59,"Certificate_txt")),m.Hb(6),m.tc("name",t.model.Name)("mobileNo",t.maskedMobileNumber)("districtName",t.districtName)("officerName",null==t.contactModel?null:t.contactModel.OfficerName)("signaturePath",null==t.contactModel?null:t.contactModel.SignaturePath)("officerNameInHindi",null==t.contactModel?null:t.contactModel.OfficerNameInHindi))},directives:[h.d,i.n,a.x,a.n,a.g,a.b,a.m,a.f,a.i,a.j,a.a,a.p,a.e,i.l,cC.a],pipes:[c.c],styles:[".modal-send-otp-img[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-height:300px;margin:20px 0}.swal2-container.swal2-center.swal2-backdrop-show[_ngcontent-%COMP%]{z-index:10000000000000000}.swal2[_ngcontent-%COMP%]{-webkit-tap-highlight-color:rgba(0,0,0,0);z-index:9999999999!important}.form-error[_ngcontent-%COMP%]{color:red;font-size:12px}input[type=checkbox][_ngcontent-%COMP%]{width:17px;height:17px}a.disabled[_ngcontent-%COMP%]{color:grey!important;cursor:not-allowed;text-decoration:underline}"]}),e})();class pC{constructor(){this.DepartmentCode=0}}function fC(e,t){if(1&e&&(m.ac(0,"div",25),m.Vc(1),m.nc(2,"translate"),m.nc(3,"translate"),m.Zb()),2&e){const e=m.mc();m.Hb(1),m.Xc(" ","en"!=e._translate.currentLang?"\u0915\u0943\u092a\u092f\u093e "+m.oc(2,1,"Name_txt")+" \u0932\u093f\u0916\u0947\u0902":"Please Enter "+m.oc(3,3,"Name_txt")," ")}}function vC(e,t){if(1&e&&(m.ac(0,"div",25),m.Vc(1),m.nc(2,"translate"),m.nc(3,"translate"),m.Zb()),2&e){const e=m.mc();m.Hb(1),m.Xc(" ","en"!=e._translate.currentLang?"\u0915\u0943\u092a\u092f\u093e \u0935\u0948\u0927 "+m.oc(2,1,"MobileNumber_txt")+" \u0926\u0930\u094d\u091c\u091c\u093c \u0915\u0930\u0947\u0902":"Please Enter valid "+m.oc(3,3,"MobileNumber_txt")," ")}}function CC(e,t){if(1&e&&(m.ac(0,"div",25),m.Vc(1),m.nc(2,"translate"),m.nc(3,"translate"),m.Zb()),2&e){const e=m.mc();m.Hb(1),m.Xc(" ","en"!=e._translate.currentLang?"\u0915\u0943\u092a\u092f\u093e "+m.oc(2,1,"EmailAddress_txt")+" \u0932\u093f\u0916\u0947\u0902":"Please Enter "+m.oc(3,3,"EmailAddress_txt")," ")}}function HC(e,t){if(1&e&&(m.ac(0,"div",25),m.Vc(1),m.nc(2,"translate"),m.nc(3,"translate"),m.Zb()),2&e){const e=m.mc();m.Hb(1),m.Xc(" ","en"!=e._translate.currentLang?"\u0915\u0943\u092a\u092f\u093e \u0935\u0948\u0927 "+m.oc(2,1,"EmailAddress_txt")+" \u0926\u0930\u094d\u091c \u0915\u0930\u0947\u0902":"Please Enter valid "+m.oc(3,3,"EmailAddress_txt")," ")}}function DC(e,t){if(1&e&&(m.ac(0,"div",25),m.Vc(1),m.nc(2,"translate"),m.nc(3,"translate"),m.Zb()),2&e){const e=m.mc();m.Hb(1),m.Xc(" ","en"!=e._translate.currentLang?"\u0915\u0943\u092a\u092f\u093e "+m.oc(2,1,"Address_txt")+" \u0932\u093f\u0916\u0947\u0902":"Please Enter "+m.oc(3,3,"Address_txt")," ")}}function MC(e,t){if(1&e&&(m.ac(0,"div",25),m.Vc(1),m.nc(2,"translate"),m.nc(3,"translate"),m.Zb()),2&e){const e=m.mc();m.Hb(1),m.Xc(" ","en"!=e._translate.currentLang?"\u0915\u0943\u092a\u092f\u093e "+m.oc(2,1,"Feedback")+" \u0932\u093f\u0916\u0947\u0902":"Please Enter "+m.oc(3,3,"Feedback_txt")," ")}}function IC(e,t){if(1&e&&(m.ac(0,"div",26),m.ac(1,"b"),m.Vc(2),m.Zb(),m.Zb()),2&e){const e=t.$implicit;m.Hb(2),m.Wc(e)}}function ZC(e,t){1&e&&(m.ac(0,"div",25),m.Vc(1," Captcha"),m.Zb())}const TC=function(e){return{"is-invalid":e}};let yC=(()=>{class e{constructor(e,t,n,i,c,o,l){this._dptDistrictWebsiteService=e,this.commonService=t,this.route=n,this.fb=i,this._translate=c,this._app=o,this.router=l,this.model=new pC,this.captchaText=[],this.isCaptchaValidated=!1,this.isResendOTP=!0,this.isButtonDisabled=!1,this.feedbackformGroup=this.fb.group({Mobile:[void 0,a.v.compose([a.v.maxLength(12),a.v.minLength(10)])],Name:[void 0,a.v.required],Email:[void 0,a.v.compose([a.v.email])],Address:[void 0],FeedBack:[void 0],CaptchaEntered:[void 0,a.v.required]})}ngOnInit(){this.generateCaptcha()}get CaptchaEntered(){return this.feedbackformGroup.get("CaptchaEntered")}onUserFeedbackDetail(){this.feedbackformGroup.markAllAsTouched(),this.feedbackformGroup.valid&&(this.validateCaptcha(),this.isCaptchaValidated&&(this._app.showLoaderEvent(!0),this.model.DepartmentCode=this.commonService.GetWebDistDeptCode(),this._dptDistrictWebsiteService.AddDepartmentFeedback(this.model).subscribe(e=>{this._app.showLoaderEvent(!1),e.Result.IsSuccess?(this.commonService.alertMsg("Success!","Feedback saved successfully...!","success"),this.router.navigate(["home"])):this.commonService.alertMsg("Opps!",e.Message,"warning")})))}generateCaptcha(){for(let e=0;e<5;e++){let t=this.makeRandom(1,"ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890");this.captchaText[e]=t}}makeRandom(e,t){let n="";for(let i=0;i0)}}function LC(e,t){if(1&e&&(m.Yb(0),m.Tc(1,SC,6,6,"div",16),m.ac(2,"div",17),m.Tc(3,wC,2,1,"ng-container",18),m.Zb(),m.Xb()),2&e){const e=m.mc();m.Hb(1),m.tc("ngIf",e.model.ImageFiles[0]),m.Hb(2),m.tc("ngForOf",e.model.ImageFiles)}}function VC(e,t){if(1&e&&(m.ac(0,"div",11),m.ac(1,"div",26),m.ac(2,"h2"),m.Vc(3,"How to Reach:"),m.Zb(),m.ac(4,"div",27),m.ac(5,"div",28),m.ac(6,"div",29),m.Wb(7,"i",30),m.Zb(),m.ac(8,"div",31),m.ac(9,"h3"),m.Vc(10,"By Air"),m.Zb(),m.ac(11,"p"),m.Vc(12),m.Zb(),m.Zb(),m.Zb(),m.ac(13,"div",28),m.ac(14,"div",32),m.Wb(15,"i",33),m.Zb(),m.ac(16,"div",31),m.ac(17,"h3"),m.Vc(18,"By Train"),m.Zb(),m.ac(19,"p"),m.Vc(20),m.Zb(),m.Zb(),m.Zb(),m.ac(21,"div",28),m.ac(22,"div",34),m.Wb(23,"i",35),m.Zb(),m.ac(24,"div",31),m.ac(25,"h3"),m.Vc(26,"By Road"),m.Zb(),m.ac(27,"p"),m.Vc(28),m.Zb(),m.Zb(),m.Zb(),m.Wb(29,"pre",15),m.Zb(),m.Zb(),m.Zb()),2&e){const e=m.mc();m.Hb(12),m.Wc("hi"!=e.translate.currentLang?null==e.model?null:e.model.ByAir:null==e.model?null:e.model.ByAirHi),m.Hb(8),m.Wc("hi"!=e.translate.currentLang?null==e.model?null:e.model.ByRail:null==e.model?null:e.model.ByRailHi),m.Hb(8),m.Wc("hi"!=e.translate.currentLang?null==e.model?null:e.model.ByRoad:null==e.model?null:e.model.ByRoadHi),m.Hb(1),m.tc("innerHTML","hi"!==e.translate.currentLang?null==e.model?null:e.model.Description:null==e.model?null:e.model.DescriptionHindi,m.Nc)}}function kC(e,t){if(1&e&&(m.ac(0,"div",11),m.ac(1,"div",26),m.Wb(2,"pre",15),m.Zb(),m.Zb()),2&e){const e=m.mc();m.Hb(2),m.tc("innerHTML","hi"!==e.translate.currentLang?null==e.model?null:e.model.Description:null==e.model?null:e.model.DescriptionHindi,m.Nc)}}function NC(e,t){if(1&e&&(m.ac(0,"div",11),m.ac(1,"div",26),m.ac(2,"p"),m.Wb(3,"i",36),m.ac(4,"strong"),m.Vc(5,"Address : "),m.Zb(),m.ac(6,"a",37),m.Vc(7),m.Zb(),m.Zb(),m.ac(8,"p"),m.Wb(9,"i",38),m.ac(10,"strong"),m.Vc(11,"Pincode : "),m.Zb(),m.Vc(12),m.Zb(),m.ac(13,"p"),m.Wb(14,"i",39),m.ac(15,"strong"),m.Vc(16,"Phone : "),m.Zb(),m.Vc(17),m.Zb(),m.ac(18,"p"),m.Wb(19,"i",40),m.ac(20,"strong"),m.Vc(21,"Email : "),m.Zb(),m.Vc(22),m.Zb(),m.ac(23,"p"),m.Wb(24,"i",41),m.ac(25,"strong"),m.Vc(26,"Website : "),m.Zb(),m.ac(27,"a",37),m.Vc(28),m.Zb(),m.Zb(),m.ac(29,"p"),m.Wb(30,"i",42),m.ac(31,"strong"),m.Vc(32,"GoogleMapUrl : "),m.Zb(),m.ac(33,"a",37),m.Vc(34),m.Zb(),m.Zb(),m.Zb(),m.Zb()),2&e){const e=m.mc();m.Hb(6),m.tc("href",e.getSafeUrl(e.model.GoogleMapUrl),m.Pc),m.Hb(1),m.Xc(" ","en"==e.translate.currentLang?e.model.Address_English:e.model.Address_Hindi," "),m.Hb(5),m.Xc(" ",e.model.PinCode," "),m.Hb(5),m.Xc(" ",e.model.Phone," "),m.Hb(5),m.Xc(" ",e.model.Email," "),m.Hb(5),m.tc("href",e.getSafeUrl(e.model.Url),m.Pc),m.Hb(1),m.Xc(" ",e.model.Url," "),m.Hb(5),m.tc("href",e.getSafeUrl(e.model.GoogleMapUrl),m.Pc),m.Hb(1),m.Xc(" ",e.model.GoogleMapUrl," ")}}let OC=(()=>{class e{constructor(e,t,n,i,a,c){this.achievementAwardService=e,this.translate=t,this._departmentService=n,this.sanitizer=i,this._route=a,this._commonService=c,this.model=new l.j,this.AchievementCategoryEnum=o.a}ngOnInit(){this._route.paramMap.subscribe(e=>{let t=e.get("placeId");t&&(this.placeId=Number(t))}),this.getData();let e=localStorage.getItem("websiteCode");this.GetDepartmentMenuList(JSON.parse(e))}getData(){this.achievementAwardService.GetIndiaPortalDetail(this.placeId).subscribe(e=>{this.model=e.IsSuccess?e.Data:void 0},e=>{this.model=void 0})}GetDepartmentMenuList(e){this._departmentService.GetDepartmentMenuList(e).subscribe(e=>{if(e.IsSuccess){let t=e.Data;t&&this._departmentService.setDeptMenuList(t)}},e=>{console.error(e)})}getSafeUrl(e){return this.sanitizer.bypassSecurityTrustUrl(e)}}return e.\u0275fac=function(t){return new(t||e)(m.Vb(u.a),m.Vb(c.d),m.Vb(In.a),m.Vb(b.b),m.Vb(h.a),m.Vb(g.a))},e.\u0275cmp=m.Pb({type:e,selectors:[["app-india-portal-detail"]],decls:26,vars:9,consts:[[1,"main-heading"],[1,"container"],[1,"row"],[1,"col-xl-12"],[1,"heading-part"],[1,"breadcrumb-container"],[1,"breadcrumb-item"],[1,"breadcrumb-separator"],["class","col-xl-12",4,"ngIf","ngIfElse"],[1,"row","row-part-section"],["fullWidth",""],[1,"col-xl-6"],[4,"ngIf"],["class","col-xl-6",4,"ngIf"],[1,"title-part"],[3,"innerHTML"],["class","photo-gallery-bx",4,"ngIf"],[1,"row","photos"],[4,"ngFor","ngForOf"],[1,"photo-gallery-bx"],["data-lightbox","photos",3,"href","error"],[1,"img-fluid","rounded",3,"src","error"],[1,"soft-entry"],["class","inner-photo-part align-items-center d-flex justify-content-center",4,"ngIf"],[1,"inner-photo-part","align-items-center","d-flex","justify-content-center"],[1,"img-fluid","rounded","image-part-section",3,"src","error"],[1,"how-to-reach"],[1,"transport"],[1,"transport-item"],[1,"icon","air"],[1,"bi","bi-airplane","airplane"],[1,"details"],[1,"icon","train"],[1,"bi","bi-train-front","airplane"],[1,"icon","road"],[1,"bi","bi-bus-front","airplane"],[1,"fas","fa-map-signs","signs-part","icon-part-section"],["target","_blank",3,"href"],[1,"fas","fa-thumbtack","pincode","icon-part-section"],[1,"fas","fa-phone","phone-call","icon-part-section"],[1,"fas","fa-envelope","envelope-part","icon-part-section"],[1,"fas","fa-globe","globe-part","icon-part-section"],[1,"fas","fa-map-marker-alt","icon-part-section"]],template:function(e,t){if(1&e&&(m.ac(0,"section",0),m.ac(1,"div",1),m.ac(2,"div",2),m.ac(3,"div",3),m.ac(4,"div",4),m.ac(5,"h1"),m.Vc(6),m.Zb(),m.Zb(),m.Zb(),m.ac(7,"div",3),m.ac(8,"div",5),m.ac(9,"span",6),m.ac(10,"strong"),m.Vc(11),m.Zb(),m.Zb(),m.ac(12,"span",7),m.Vc(13,">"),m.Zb(),m.ac(14,"span",6),m.Vc(15),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.ac(16,"div",2),m.Tc(17,xC,3,1,"div",8),m.Zb(),m.ac(18,"div",9),m.Tc(19,PC,3,1,"ng-template",null,10,m.Uc),m.ac(21,"div",11),m.Tc(22,LC,4,2,"ng-container",12),m.Zb(),m.Tc(23,VC,30,4,"div",13),m.Tc(24,kC,3,1,"div",13),m.Tc(25,NC,35,9,"div",13),m.Zb(),m.Zb(),m.Zb()),2&e){const e=m.Kc(20);m.Hb(6),m.Wc("hi"!=t.translate.currentLang?null==t.model?null:t.model.Title:null==t.model?null:t.model.TitleHindi),m.Hb(5),m.Wc("en"==t.translate.currentLang?"Category":"\u0936\u094d\u0930\u0947\u0923\u0940"),m.Hb(4),m.Wc("hi"!=t.translate.currentLang?null==t.model?null:t.model.Category:null==t.model?null:t.model.CategoryHindi),m.Hb(2),m.tc("ngIf",(null==t.model?null:t.model.CategoryCode)==t.AchievementCategoryEnum.DTouristPlacesCode)("ngIfElse",e),m.Hb(5),m.tc("ngIf",t.model.ImageFiles&&(null==t.model.ImageFiles?null:t.model.ImageFiles.length)>0),m.Hb(1),m.tc("ngIf",(null==t.model?null:t.model.CategoryCode)==t.AchievementCategoryEnum.DTouristPlacesCode),m.Hb(1),m.tc("ngIf",(null==t.model?null:t.model.CategoryCode)==t.AchievementCategoryEnum.DCulinaryDelightsCode||(null==t.model?null:t.model.CategoryCode)==t.AchievementCategoryEnum.DLocalProduceCode||(null==t.model?null:t.model.CategoryCode)==t.AchievementCategoryEnum.DProductsMadeByNomadicCastes_GroupsCode||(null==t.model?null:t.model.CategoryCode)==t.AchievementCategoryEnum.DProductsMadeByWomenSelf_HelpGroupsCode),m.Hb(1),m.tc("ngIf",(null==t.model?null:t.model.CategoryCode)==t.AchievementCategoryEnum.DAccomodationCode)}},directives:[i.n,i.m],pipes:[c.c],styles:[".main-heading[_ngcontent-%COMP%]{padding-top:50px}.heading-part[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:2em}.breadcrumb-container[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;padding:5px 6px;background-color:#eee;border:1px solid #ddd;width:100%;box-sizing:border-box}.breadcrumb-item[_ngcontent-%COMP%]{font-size:14px;color:#333;white-space:nowrap}.breadcrumb-separator[_ngcontent-%COMP%]{margin:0 5px;color:#666}.how-to-reach[_ngcontent-%COMP%], .title-part[_ngcontent-%COMP%]{padding-top:15px}.how-to-reach[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{margin-bottom:20px;font-size:24px;color:#333}.transport[_ngcontent-%COMP%]{-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;gap:20px}.transport[_ngcontent-%COMP%], .transport-item[_ngcontent-%COMP%]{display:-webkit-box;display:flex}.transport-item[_ngcontent-%COMP%]{-webkit-box-align:start;align-items:flex-start;gap:25px}.icon[_ngcontent-%COMP%]{width:60px;height:60px;border-radius:50%;display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;-webkit-box-pack:center;justify-content:center;color:#fff;font-size:18px;min-width:60px}.icon.air[_ngcontent-%COMP%]{background-color:#333}.icon.train[_ngcontent-%COMP%]{background-color:#6ab344}.icon.road[_ngcontent-%COMP%]{background-color:#e94b35}.details[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin:0;font-size:18px;color:#444}.airplane[_ngcontent-%COMP%]{font-size:40px}.details[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:5px 0 0;font-size:14px;color:#666}.photo-gallery-bx[_ngcontent-%COMP%]{width:100%!important;text-align:center!important}.photos[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:200px!important}.soft-entry[_ngcontent-%COMP%]{display:none!important}.photos[_ngcontent-%COMP%]{display:-webkit-box!important;display:flex!important;gap:12px;background:#cbcbcb;padding:10px;border-radius:10px;-webkit-box-pack:start;justify-content:flex-start}.inner-photo-part[_ngcontent-%COMP%]{width:110px;height:100px;-o-object-fit:cover;object-fit:cover;background:#fff;padding:5px;border-radius:10px}.icon-part-section[_ngcontent-%COMP%]{width:25px;height:25px;line-height:25px;font-size:inherit;margin-right:18px;background:#f52d2d;color:#fff;border-radius:50%;text-align:center}.envelope-part[_ngcontent-%COMP%]{background:#05af39}.pincode[_ngcontent-%COMP%]{background:#f9a408}.phone-call[_ngcontent-%COMP%]{background:#5d5d5d}.globe-part[_ngcontent-%COMP%]{background:#007bff}.signs-part[_ngcontent-%COMP%]{background:#6ab344}a[_ngcontent-%COMP%]{color:#333;text-decoration:none}a[_ngcontent-%COMP%]:hover{color:#007bff;text-decoration:underline}.image-part-section[_ngcontent-%COMP%]{max-width:70px;height:70px}.row-part-section[_ngcontent-%COMP%]{-webkit-box-pack:left!important;justify-content:left!important}@media (max-width:768px){.breadcrumb-container[_ngcontent-%COMP%]{padding:8px}.breadcrumb-item[_ngcontent-%COMP%]{font-size:12px}.breadcrumb-separator[_ngcontent-%COMP%]{margin:0 3px}.how-to-reach[_ngcontent-%COMP%]{padding:15px}.icon[_ngcontent-%COMP%]{width:30px;height:30px;font-size:14px}.details[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:16px}.details[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:13px}}"]}),e})();function AC(e,t){if(1&e){const e=m.bc();m.ac(0,"div"),m.ac(1,"div",4),m.ac(2,"a",5),m.ac(3,"div",6),m.ac(4,"div",7),m.ac(5,"img",8),m.ic("error",(function(t){return m.Mc(e),m.mc()._commonService.onImageError(t,"assets/images/photo-gallery-default-image.jpg")})),m.Zb(),m.Zb(),m.ac(6,"div",9),m.ac(7,"div",10),m.Vc(8),m.Zb(),m.ac(9,"div",11),m.Vc(10),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.Zb(),m.Zb()}if(2&e){const e=t.$implicit,n=m.mc();m.Hb(2),m.wc("routerLink","/pages/public-utility/",n.depId,"/",e.SubCategoryCode,""),m.Hb(3),m.uc("src",e.ImagePath,m.Pc),m.Hb(3),m.Wc(e.total),m.Hb(2),m.Xc(" ","hi"!=n.translate.currentLang?null==e?null:e.Title:null==e?null:e.TitleHindi,"")}}let WC=(()=>{class e{constructor(e,t,n,i){this.achievementAwardService=e,this.translate=t,this._commonService=n,this._route=i,this.model=[]}ngOnInit(){this._route.paramMap.subscribe(e=>{let t=e.get("dptCode");t&&(this.depId=Number(t))}),this.getData()}getData(){this.achievementAwardService.GetPubicUtilityCount(this.depId).subscribe(e=>{this.model=e.IsSuccess?e.Data:void 0},e=>{this.model=void 0})}}return e.\u0275fac=function(t){return new(t||e)(m.Vb(u.a),m.Vb(c.d),m.Vb(g.a),m.Vb(h.a))},e.\u0275cmp=m.Pb({type:e,selectors:[["app-public-utility-count"]],decls:6,vars:4,consts:[[1,"icon-block"],[1,"icon-title-1"],[4,"ngFor","ngForOf"],[1,"crl"],[1,"icon-block-in"],[3,"routerLink"],[1,"icon-block-in2"],[1,"icon-block-image"],["alt","icon",1,"block-image-icon",3,"src","error"],[1,"icon-block-content"],[1,"icon-counting"],[1,"icon-name"]],template:function(e,t){1&e&&(m.ac(0,"div",0),m.ac(1,"h1",1),m.Vc(2),m.nc(3,"translate"),m.Zb(),m.Tc(4,AC,11,5,"div",2),m.Wb(5,"div",3),m.Zb()),2&e&&(m.Hb(2),m.Wc(m.oc(3,2,"PublicUtilityCount_txt")),m.Hb(2),m.tc("ngForOf",t.model))},directives:[i.m,h.d],pipes:[c.c],styles:["body[_ngcontent-%COMP%]{font-family:Arial,Helvetica,sans-serif}.icon-block[_ngcontent-%COMP%]{max-width:1320px;height:auto;margin:0 auto 50px}.icon-block-in2[_ngcontent-%COMP%]{float:left;width:100%;border:1px solid;padding:11px;border-radius:5px;margin-bottom:15px}.icon-block-in[_ngcontent-%COMP%]{width:33%;float:left;padding:0 10px}.icon-block-image[_ngcontent-%COMP%]{width:86px;float:left;padding-right:15px}.icon-block-image[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%}.icon-block-content[_ngcontent-%COMP%]{float:left}.icon-counting[_ngcontent-%COMP%]{font-size:30px;font-weight:900;width:100%;color:#135da4}.icon-name[_ngcontent-%COMP%]{font-size:18px;float:left}.crl[_ngcontent-%COMP%]{clear:both}.icon-title-1[_ngcontent-%COMP%]{text-align:center;padding:52px;font-size:36px;color:#151d4c;font-weight:700}@media only screen and (max-width:1000px){.icon-block-in[_ngcontent-%COMP%]{width:50%}}@media only screen and (max-width:500px){.icon-block-in[_ngcontent-%COMP%]{width:100%}}.icon-block-in2[_ngcontent-%COMP%]{border:1px solid #151d4c;border-bottom:5px solid;color:1px solid #151d4c}"]}),e})();function EC(e,t){if(1&e&&(m.ac(0,"a",10),m.Wb(1,"i",11),m.Zb()),2&e){const e=m.mc().$implicit;m.uc("href",e.PdfFIleName,m.Pc)}}function GC(e,t){if(1&e&&(m.ac(0,"a",10),m.Wb(1,"i",12),m.Zb()),2&e){const e=m.mc().$implicit;m.uc("href",e.url,m.Pc)}}function FC(e,t){if(1&e&&(m.ac(0,"div",4),m.ac(1,"div",5),m.ac(2,"div",6),m.ac(3,"a",7),m.Vc(4),m.Zb(),m.ac(5,"p"),m.Vc(6),m.Zb(),m.ac(7,"p"),m.ac(8,"strong"),m.Vc(9,"Phone:"),m.Zb(),m.Vc(10),m.Zb(),m.ac(11,"p"),m.ac(12,"strong"),m.Vc(13,"Category/Type:"),m.Zb(),m.Vc(14),m.Zb(),m.ac(15,"p"),m.ac(16,"strong"),m.Vc(17,"Pincode:"),m.Zb(),m.Vc(18),m.Zb(),m.ac(19,"p"),m.ac(20,"strong"),m.Vc(21,"Email:"),m.Zb(),m.Vc(22),m.Zb(),m.ac(23,"div",8),m.Tc(24,EC,2,1,"a",9),m.Tc(25,GC,2,1,"a",9),m.Zb(),m.Zb(),m.Zb(),m.Zb()),2&e){const e=t.$implicit,n=m.mc();m.Hb(3),m.uc("href",null==e?null:e.GoogleMapUrl,m.Pc),m.Hb(1),m.Wc("hi"!=n.translate.currentLang?null==e?null:e.Title:null==e?null:e.TitleHindi),m.Hb(2),m.Wc(null==e?null:e.Address),m.Hb(4),m.Xc(" ",null==e?null:e.Phone,""),m.Hb(4),m.Xc(" ",null==e?null:e.Lookup,""),m.Hb(4),m.Xc(" ",null==e?null:e.PinCode,""),m.Hb(4),m.Xc(" ",null==e?null:e.Email,""),m.Hb(2),m.tc("ngIf",e.PdfFIleName),m.Hb(1),m.tc("ngIf",e.url)}}let RC=(()=>{class e{constructor(e,t,n){this.achievementAwardService=e,this.translate=t,this._route=n,this.model=[]}ngOnInit(){this._route.paramMap.subscribe(e=>{let t=e.get("dptCode");t&&(this.dptCode=Number(t));let n=e.get("catCode");n&&(this.catCode=Number(n));let i=e.get("id");i&&(this.id=Number(i))}),this.getData()}getData(){this.achievementAwardService.GetCategoryWisePubicUtilityUrl(this.dptCode,this.catCode,this.id).subscribe(e=>{this.model=e.IsSuccess?e.Data:void 0},e=>{this.model=void 0})}}return e.\u0275fac=function(t){return new(t||e)(m.Vb(u.a),m.Vb(c.d),m.Vb(h.a))},e.\u0275cmp=m.Pb({type:e,selectors:[["app-public-utility"]],decls:6,vars:2,consts:[[1,"container","my-4"],[1,"mb-4"],[1,"row"],["class","col-md-6",4,"ngFor","ngForOf"],[1,"col-md-6"],[1,"in-cart"],[1,"bank-card"],["target","_blank",1,"bank-title",3,"href"],[1,"action-buttons"],["target","_blank",3,"href",4,"ngIf"],["target","_blank",3,"href"],[1,"bi","bi-file-pdf-fill","icon-part2"],[1,"bi","bi-globe2","icon-part2"]],template:function(e,t){1&e&&(m.ac(0,"section"),m.ac(1,"div",0),m.ac(2,"h1",1),m.Vc(3),m.Zb(),m.ac(4,"div",2),m.Tc(5,FC,26,9,"div",3),m.Zb(),m.Zb(),m.Zb()),2&e&&(m.Hb(3),m.Wc("hi"!=t.translate.currentLang?null==t.model[0]?null:t.model[0].SubCategoryName:null!=t.model[0]&&t.model[0].SubCategoryNameHindi?null==t.model[0]?null:t.model[0].SubCategoryNameHindi:null==t.model[0]?null:t.model[0].SubCategoryName),m.Hb(2),m.tc("ngForOf",t.model))},directives:[i.m,i.n],styles:[".action-buttons[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{font-size:25px;color:#135da4;margin-right:15px}.bank-card[_ngcontent-%COMP%]{background:#e7e7e7;padding:15px;border-radius:15px;margin-bottom:50px}.bank-title[_ngcontent-%COMP%]{font-weight:700;font-size:26px;color:#135da4}"]}),e})();const XC=[{path:"",pathMatch:"full",redirectTo:"dptHome"},{path:"dptHome",component:Rs},{path:"dptHome/:dptCode",component:Rs},{path:"assembly-constituency/:dptCode",component:Mn},{path:"sm/assembly-constituency/:submenuCode/:dptCode",component:Mn},{path:"assembly-constituency/:dptCode/:catCode",component:Mn},{path:"sm/assembly-constituency/:submenuCode/:dptCode/:catCode",component:Mn},{path:"district-info/:dptCode",component:yi},{path:"district-info-detail/:dptCode/:catCode",component:fi},{path:"district-detail/:placeId",component:OC},{path:"sm/district-info-detail/:submenuCode/:dptCode/:catCode",component:fi},{path:"general-entry/detail/:id",component:zu},{path:"newly-added/:pageType/:pageCode/:dptCode",component:Hd},{path:"other-links/:pageType/:pageCode/:dptCode",component:dd},{path:"newly-added-List/:pageType/:pageCode/:dptCode",component:sd},{path:"tender/offices/:dptCode/:catCode",component:wp},{path:"sm/tender/offices/:submenuCode/:dptCode/:catCode",component:wp},{path:"tender-list/:dptCode",component:Pm},{path:"tender-list/:dptCode/:IsExpired",component:Pm},{path:"archive-tender-list/:dptCode/:IsExpired",component:Pm},{path:"sm/tender-list/:submenuCode/:dptCode/:IsExpired",component:Pm},{path:"sm/archive-tender-list/:submenuCode/:dptCode/:IsExpired",component:Pm},{path:"tender-list/:dptCode/:catCode/:officeCode",component:Pm},{path:"mla-detail/:mlaCode/:dptCode",component:Qs},{path:"public-document/:id",component:un.a},{path:"video/:dptCode",component:sn},{path:"poster/:dptCode",component:sn},{path:"audio/:dptCode",component:sn},{path:"advertisement/:dptCode",component:sn},{path:"general/:pageName/:dptCode",component:sn},{path:"video/:dptCode/:catCode",component:sn},{path:"sm/video/:submenuCode/:dptCode/:catCode",component:sn},{path:"poster/:dptCode/:catCode",component:sn},{path:"audio/:dptCode/:catCode",component:sn},{path:"sm/audio/:submenuCode/:dptCode/:catCode",component:sn},{path:"advertisement/:dptCode/:catCode",component:sn},{path:"images/:dptCode/:catCode",component:sn},{path:"sm/images/:submenuCode/:dptCode/:catCode",component:sn},{path:"photo-gallery/:dptCode/:catCode",component:sn},{path:"sm/photo-gallery/:submenuCode/:dptCode/:catCode",component:sn},{path:"attachments/:dptCode/:catCode",component:sn},{path:"sm/attachments/:submenuCode/:dptCode/:catCode",component:sn},{path:"general/:pageName/:dptCode/:catCode",component:sn},{path:"sm/general/:pageName/:submenuCode/:dptCode/:catCode",component:sn},{path:"video/:dptCode/:catCode/:subCatCode",component:sn},{path:"sm/video/:submenuCode/:dptCode/:catCode/:subCatCode",component:sn},{path:"poster/:dptCode/:catCode/:subCatCode",component:sn},{path:"audio/:dptCode/:catCode/:subCatCode",component:sn},{path:"sm/audio/:submenuCode/:dptCode/:catCode/:subCatCode",component:sn},{path:"advertisement/:dptCode/:catCode/:subCatCode",component:sn},{path:"images/:dptCode/:catCode/:subCatCode",component:sn},{path:"photo-gallery/:dptCode/:catCode/:subCatCode",component:sn},{path:"sm/photo-gallery/:submenuCode/:dptCode/:catCode/:subCatCode",component:sn},{path:"attachments/:dptCode/:catCode/:subCatCode",component:sn},{path:"general/:pageName/:dptCode/:catCode/:subCatCode",component:sn},{path:"sm/general/:pageName/:submenuCode/:dptCode/:catCode/:subCatCode",component:sn},{path:"description-list/:dptCode/:catCode/:subCatCode",component:Bp},{path:"description-list/:dptCode/:catCode",component:Bp},{path:"sm/description-list/:submenuCode/:dptCode/:catCode",component:Bp},{path:"citizen-corner",component:dn.a},{path:"department-order/:dptCode",component:mn.a},{path:"department-order/latest/:dptCode",component:mn.a},{path:"award/:dpt",component:Ke.a},{path:"sm/award/:submenuCode/:dpt",component:Ke.a},{path:"press-release-list/:dptCode",component:em},{path:"press-release/gallery/:dptCode",component:op},{path:"sm/press-release/gallery/:submenuCode/:dptCode/:CategoryCode",component:op},{path:"press-release/gallery/:dptCode/:CategoryCode",component:op},{path:"press-release-list/:dptCode/:CategoryCode",component:em},{path:"press-release-list/:dptCode/:CategoryCode/:SubCategoryCode",component:em},{path:"sm/press-release-list/:submenuCode/:dptCode/:CategoryCode",component:em},{path:"special-press-release-list/:dptCode",component:em},{path:"special-press-release-list/:dptCode/:CategoryCode",component:em},{path:"press-release/sub-categories/:dptCode/:CategoryCode",component:Xh},{path:"sm/press-release/sub-categories/:submenuCode/:dptCode/:CategoryCode",component:Xh},{path:"press-release/:pressreleaseid",component:kd},{path:"feedback",component:yC},{path:"inaugurations/:dptCode",component:hu},{path:"sm/inaugurations/:submenuCode/:dptCode",component:hu},{path:"in-media",component:Je},{path:"in-media/:dptCode",component:Je},{path:"government-orders",component:Je},{path:"government-orders/:dptCode",component:Je},{path:"special-economic-zone",component:Je},{path:"special-economic-zone/:dptCode",component:Je},{path:"special-economic-zone/:dptCode/:catCode",component:Je},{path:"grid-data/:dptCode/:catCode",component:Je},{path:"sm/grid-data/:submenuCode/:dptCode/:catCode",component:Je},{path:"photos",component:Sm.a},{path:"photos/:dptCode",component:Sm.a},{path:"sm/photos/:submenuCode/:dptCode",component:Sm.a},{path:"contact-directory",component:eu},{path:"contact-directory/:dptCode",component:eu},{path:"contact-directory/:dptCode/:catCode",component:eu},{path:"sm/contact-directory/:submenuCode/:dptCode/:catCode",component:eu},{path:"birthday-wise-contact-directory",component:Rv},{path:"birthday-wise-contact-directory/:dptCode",component:Rv},{path:"birthday-wise-contact-directory/:dptCode/:catCode",component:Rv},{path:"sm/birthday-wise-contact-directory/:submenuCode/:dptCode/:catCode",component:Rv},{path:"jankalyan-category-and-entry-type/:deptCode/:catCode/:entryTypeCode",component:tu.a},{path:"jankalyan-category-and-entry-type/:deptCode/:catCode/:entryTypeCode/:lookupCode",component:tu.a},{path:"state-policy/:dptCode",component:mn.a},{path:"sm/state-policy/:submenuCode/:dptCode",component:mn.a},{path:"search-result/:txt",component:Lu},{path:"search-result",component:Lu},{path:"dept-profile/office-wise-count/:catCode",component:bh},{path:"dept-profile/office-wise-count/:catCode/:entryTypeCode",component:bh},{path:"sm/dept-profile/office-wise-count/:submenuCode/:catCode",component:bh},{path:"sm/dept-profile/office-wise-count/:submenuCode/:catCode/:entryTypeCode",component:bh},{path:"dept-profile/:catCode",component:ib},{path:"sm/dept-profile/:submenuCode/:catCode",component:ib},{path:"dept-office-profile/sub-cat-count/:officeCode/:catCode",component:ib},{path:"dept-profile/:catCode/:entryTypeCode",component:hb},{path:"sm/dept-profile/:submenuCode/:catCode/:entryTypeCode",component:hb},{path:"sm/dept-profile/:submenuCode/:dptCode/:catCode/:entryTypeCode",component:hb},{path:"dept-office-profile/lookup-count/:officeCode/:catCode/:entryTypeCode",component:hb},{path:"departmental-achievements",component:Zb},{path:"sm/departmental-achievements/:submenuCode",component:Zb},{path:"departmental-achievements/:dptCode",component:Zb},{path:"departmental-achievements-detail/:dptcode/:catecode",component:Ob},{path:"departmental-achievements-detail/:catecode",component:Ob},{path:"sm/departmental-achievements-detail/:submenuCode/:dptcode/:catecode",component:Ob},{path:"sm/departmental-achievements-detail/:submenuCode/:catecode",component:Ob},{path:"departmental-achievements-detail",component:Ob},{path:"compliance-report",component:Qb},{path:"compliance-report/:modulecode",component:Qb},{path:"admin-department-updates",component:xg},{path:"assets-list",component:Rg},{path:"department-page/:deptCode/:lookupCode/:pageCode",component:nh},{path:"department-page/:pageCode",component:nh},{path:"sm/department-page/:submenuCode/:pageCode",component:nh},{path:"department-website-links/:dptCode",component:Vh},{path:"sm/department-website-links/:submenuCode/:dptCode",component:Vh},{path:":groupBy/web-directory",component:Dp},{path:"sm/:groupBy/web-directory/:submenuCode",component:Dp},{path:"web-directory",component:Dp},{path:"gen-entry/activity-grid/:deptCode/:catCode/:subCatCode",component:of},{path:"sm/gen-entry/activity-grid/:submenuCode/:deptCode/:catCode/:subCatCode",component:of},{path:"gen-entry/subcategory-grid/:deptCode/:catCode",component:Mf},{path:"sm/gen-entry/subcategory-grid/:submenuCode/:deptCode/:catCode",component:Mf},{path:"sm/gen-entry/vertical-tabs/:submenuCode/:deptCode/:catCode",component:Ff},{path:"sm/gen-entry/vertical-tabs/:submenuCode/:deptCode/:catCode/:subCatCode",component:Ff},{path:"uploader/:type/gallery/:dptCode/:catCode",component:vv},{path:"sm/uploader/:type/gallery/:submenuCode/:dptCode/:catCode",component:vv},{path:"sm/sveep-program/certificate",component:hC},{path:"sm/sveep-program/certificate/:submenuCode/:dptCode",component:hC},{path:"public-utility-count/:dptCode",component:WC},{path:"public-utility/:dptCode/:catCode",component:RC},{path:"public-utility/:dptCode/:catCode/:id",component:RC}];let BC=(()=>{class e{}return e.\u0275mod=m.Tb({type:e}),e.\u0275inj=m.Sb({factory:function(t){return new(t||e)},imports:[[h.e.forChild(XC)],h.e]}),e})();var UC=n("7+yb");n.d(t,"DistrictDepartmentWebsiteModule",(function(){return zC}));let zC=(()=>{class e{}return e.\u0275mod=m.Tb({type:e}),e.\u0275inj=m.Sb({factory:function(t){return new(t||e)},imports:[[i.c,BC,a.h,c.b,UC.a,a.s]]}),e})()}}]);