1"use strict";(self.webpackChunkmyApp=self.webpackChunkmyApp||[]).push([[594],{330:(I,g,n)=>{n.d(g,{r:()=>A});var u=n(2340),_=n(6489),l=n(1944),r=n(1591),t=n(9523),v=n(1491),m=n(4755);const a=["photosContainer"];function d(o,c){if(1&o){const e=t.EpF();t.TgZ(0,"img",33),t.NdJ("error",function(){t.CHM(e);const s=t.oxw(2);return t.KtG(s.src=s.swidgetBasePath+"images/photodefault.jpg")}),t.qZA()}if(2&o){const e=t.oxw().$implicit;t.s9C("src",e.Image[0].tmedImg,t.LSH)}}function p(o,c){if(1&o){const e=t.EpF();t.TgZ(0,"img",33),t.NdJ("error",function(){t.CHM(e);const s=t.oxw(2);return t.KtG(s.src=s.swidgetBasePath+"images/photodefault.jpg")}),t.qZA()}if(2&o){const e=t.oxw().$implicit;t.s9C("src",e.Image[0].image,t.LSH)}}function x(o,c){if(1&o&&t._UZ(0,"img",34),2&o){const e=t.oxw(2);t.MGl("src","",e.swidgetBasePath,"images/photodefault.jpg",t.LSH)}}function P(o,c){if(1&o&&t._UZ(0,"a",35),2&o){const e=t.oxw().$implicit,i=t.oxw();t.cQ8("href","",i.siteBasePath,"photos/",e.Season,"/",e.SNo,"",t.LSH)}}function C(o,c){if(1&o&&t._UZ(0,"a",36),2&o){const e=t.oxw().$implicit;t.s9C("href",e.Image[0].image,t.LSH)}}function S(o,c){if(1&o){const e=t.EpF();t.TgZ(0,"div",37)(1,"div",38),t.NdJ("click",function(){t.CHM(e);const s=t.oxw(2);return t.KtG(s.share("facebook"))}),t.O4$(),t.TgZ(2,"svg",39),t._UZ(3,"path",40),t.qZA()(),t.kcU(),t.TgZ(4,"div",41),t.NdJ("click",function(){t.CHM(e);const s=t.oxw(2);return t.KtG(s.share("twitter"))}),t.O4$(),t.TgZ(5,"svg",42),t._UZ(6,"path",43),t.qZA()(),t.kcU(),t.TgZ(7,"div",44),t.NdJ("click",function(){t.CHM(e);const s=t.oxw(2);return t.KtG(s.share("whatsapp"))}),t.O4$(),t.TgZ(8,"svg",42),t._UZ(9,"path",45),t.qZA()()()}2&o&&t.Q6J("@slideInOut",void 0)}const Z=function(o){return{active:o}};function M(o,c){if(1&o){const e=t.EpF();t.TgZ(0,"div",16)(1,"div",17),t.YNc(2,d,1,1,"img",18),t.YNc(3,p,1,1,"img",18),t.YNc(4,x,1,1,"img",19),t.TgZ(5,"div",20)(6,"div",21)(7,"h3"),t._uU(8),t.qZA(),t.TgZ(9,"div",22)(10,"span",23),t._UZ(11,"img",24),t._uU(12),t.qZA(),t.TgZ(13,"span",25),t._uU(14),t.qZA()(),t.YNc(15,P,1,3,"a",26),t.YNc(16,C,1,1,"a",27),t.TgZ(17,"div",28)(18,"button",29,30),t.NdJ("click",function(){const h=t.CHM(e).$implicit,f=t.oxw();return t.KtG(f.toggleShareOptions(h))}),t._UZ(20,"img",31),t.qZA(),t.YNc(21,S,10,1,"div",32),t.qZA()()()()()}if(2&o){const e=c.$implicit,i=t.oxw();t.xp6(2),t.Q6J("ngIf",null!=e.Image[0].tmedImg&&""!=e.Image[0].tmedImg),t.xp6(1),t.Q6J("ngIf",(null==e.Image[0].tmedImg||""==e.Image[0].tmedImg)&&null!=e.Image[0].image&&""!=e.Image[0].image),t.xp6(1),t.Q6J("ngIf",!(null!=e.Image[0].tmedImg&&""!=e.Image[0].tmedImg||null!=e.Image[0].image&&""!=e.Image[0].image)),t.xp6(4),t.Oqu(e.Title),t.xp6(4),t.Oqu(e.Image.length),t.xp6(2),t.Oqu(i.getDate(e.Date)),t.xp6(1),t.Q6J("ngIf",(null!=e.Image[0].tmedImg&&""!=e.Image[0].tmedImg||null!=e.Image[0].image&&""!=e.Image[0].image)&&e.Image.length>1),t.xp6(1),t.Q6J("ngIf",(null!=e.Image[0].tmedImg&&""!=e.Image[0].tmedImg||null!=e.Image[0].image&&""!=e.Image[0].image)&&1==e.Image.length),t.xp6(2),t.Q6J("ngClass",t.VKq(10,Z,1==e.isShare)),t.xp6(3),t.Q6J("ngIf",1==e.isShare)}}let A=(()=>{class o{constructor(e){this.apiService=e,this.swidgetBasePath="https://d3ml9nicy4vh6j.cloudfront.net/",this.siteBasePath=u.N.mediaPath,this.widgetGrid=16,this.pagedItems=[],this.photosSlider=[],this.slides=[],this.platforms={facebook:"https://www.facebook.com/sharer/sharer.php",twitter:"https://twitter.com/intent/tweet",linkedin:"https://www.linkedin.com/shareArticle",whatsapp:"https://api.whatsapp.com/send",instagram:"instagram://story-share"}}ngAfterViewInit(){}ngOnDestroy(){this.destroySwiper()}ngOnInit(){this.apiService.getPhotosData().subscribe(e=>{e=(e=e.replace("onPhotos(","")).replace(");","");var i=null!=(e=JSON.parse(e)).photos?e.photos:[];let s=[];for(var h=0;h<10;h++)null!=i[h]&&""!=i[h]&&s.push(i[h]);this.slides=s,setTimeout(()=>{this.initSwiper()},1e3)})}getDate(e){var i=e.split(" "),s="",w=i[0].split("-");return[{mNo:"01",mText:"Jan"},{mNo:"02",mText:"Feb"},{mNo:"03",mText:"Mar"},{mNo:"04",mText:"Apr"},{mNo:"05",mText:"May"},{mNo:"06",mText:"Jun"},{mNo:"07",mText:"Jul"},{mNo:"08",mText:"Aug"},{mNo:"09",mText:"Sep"},{mNo:"10",mText:"Oct"},{mNo:"11",mText:"Nov"},{mNo:"12",mText:"Dec"}].map(function(T){T.mNo==w[1]&&(s=T.mText)}),w[2]+" "+s+" "+w[0]}destroySwiper(){this.swiper&&(this.swiper.destroy(),this.swiper=void 0)}initSwiper(){this.swiper&&this.destroySwiper(),this.swiper=new _.Z(this.photosContainer.nativeElement,{modules:[l.W_,l.tl,l.LW,l.Gk],slidesPerView:3.5,spaceBetween:30,mousewheel:!0,direction:"horizontal",scrollbar:{el:".swiper-scrollbar-photos",hide:!1,draggable:!0},pagination:{el:".swiper-pagination",clickable:!0},breakpoints:{320:{slidesPerView:1.5,spaceBetween:10},480:{slidesPerView:1.5,spaceBetween:20},768:{slidesPerView:2.5,spaceBetween:30},1024:{slidesPerView:3.5,spaceBetween:30}}})}toggleShareOptions(e){for(var i=0;i<this.slides.length;
1i++)this.slides[i].isShare=this.slides[i].SNo!=e.SNo||0!=this.slides[i].isShare&&""!=this.slides[i].isShare&&null!=this.slides[i].isShare?0:1;this.shareItem=e,this.shareItem.url=this.siteBasePath+"photos/"+e.Season+"/"+e.SNo,console.log(this.shareItem,"clicknews")}share(e){"facebook"==e?this.shareToFacebook(this.shareItem):"twitter"==e?this.shareToTwitter(this.shareItem):"linkedin"==e?this.shareToLinkedIn(this.shareItem):"whatsapp"==e?this.shareToWhatsApp(this.shareItem):console.warn(`Unsupported platform: ${e}`)}shareToFacebook(e){const i=new URLSearchParams({u:e.url,quote:e.Title});this.openShareWindow(`${this.platforms.facebook}?${i}`)}shareToTwitter(e){e.Description=null!=e.Description&&""!=e.Description?e.Description:"";const i=new URLSearchParams({text:`${e.Title}\n${e.Description}`,url:e.url});this.openShareWindow(`${this.platforms.twitter}?${i}`)}shareToLinkedIn(e){const i=new URLSearchParams({url:e.url,Title:e.Title,summary:null!=e.Description&&""!=e.Description?e.Description:"",source:window.location.hostname});this.openShareWindow(`${this.platforms.linkedin}?${i}`)}shareToWhatsApp(e){console.log(e.Description),e.Description=null!=e.Description&&""!=e.Description?e.Description:"";const s=new URLSearchParams({text:`${e.Title}\n\n${e.Description}\n\n${e.url}`});this.openShareWindow(`${this.platforms.whatsapp}?${s}`)}openShareWindow(e){window.open(e,"ShareWindow","height=450, width=600, top="+(window.innerHeight/2-225)+", left="+(window.innerWidth/2-300))}}return o.\u0275fac=function(e){return new(e||o)(t.Y36(v.s))},o.\u0275cmp=t.Xpm({type:o,selectors:[["app-photosv1"]],viewQuery:function(e,i){if(1&e&&t.Gf(a,5),2&e){let s;t.iGM(s=t.CRH())&&(i.photosContainer=s.first)}},decls:20,vars:1,consts:[[1,"media_container"],[1,"media_title"],[1,"media_title-inner","latest-photos"],[1,"media_title-box"],[1,"media_title-name"],["href","/photos",1,"media-link"],["id","Icon_Arrow_Right","data-name","Icon/Arrow Right","xmlns","http://www.w3.org/2000/svg","width","","height","","viewBox","0 0 34 34"],["id","Icon_Arrow_Right-2","data-name","Icon/Arrow Right"],["id","Grid","d","M0,0H34V34H0Z","fill","none"],["id","Mask","d","M12.1,4.4,9.478,1.878a1.071,1.071,0,0,1,0-1.556,1.175,1.175,0,0,1,1.616,0l4.571,4.4a1.071,1.071,0,0,1,0,1.556l-4.571,4.4a1.175,1.175,0,0,1-1.616,0,1.071,1.071,0,0,1,0-1.556L12.1,6.6H1.141a1.1,1.1,0,1,1,0-2.2Z","transform","translate(9 11)","fill",""],[1,"slider_section"],[1,"swiper-container","custom-swiper","photos-swiper"],["photosContainer",""],[1,"swiper-wrapper"],["class","swiper-slide",4,"ngFor","ngForOf"],[1,"swiper-scrollbar","swiper-scrollbar-photos"],[1,"swiper-slide"],[1,"slide-item"],["loading","lazy","alt","","class","thumb-image lazyload",3,"src","error",4,"ngIf"],["loading","lazy","alt","","class","thumb-image lazyload",3,"src",4,"ngIf"],[1,"content"],[1,"content-inner"],[1,"ph
1otos-count-wrap"],[1,"photo-count"],["src","assets/images/cam.png","alt",""],[1,"postDate"],["class","otherLinks",3,"href",4,"ngIf"],["data-fancybox","images","class","otherLinks",3,"href",4,"ngIf"],[1,"share-container"],[1,"share-button",3,"ngClass","click"],["shareBtn",""],["src","assets/images/share-ico.png","alt","Share"],["class","share-menu",4,"ngIf"],["loading","lazy","alt","",1,"thumb-image","lazyload",3,"src","error"],["loading","lazy","alt","",1,"thumb-image","lazyload",3,"src"],[1,"otherLinks",3,"href"],["data-fancybox","images",1,"otherLinks",3,"href"],[1,"share-menu"],["title","Share on Facebook",1,"share-option",3,"click"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 512 512"],["d","M512 256C512 114.6 397.4 0 256 0S0 114.6 0 256C0 376 82.7 476.8 194.2 504.5V334.2H141.4V256h52.8V222.3c0-87.1 39.4-127.5 125-127.5c16.2 0 44.2 3.2 55.7 6.4V172c-6-.6-16.5-1-29.6-1c-42 0-58.2 15.9-58.2 57.2V256h83.6l-14.4 78.2H287V510.1C413.8 494.8 512 386.9 512 256h0z"],["title","Share on Twitter",1,"share-option",3,"click"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 448 512"],["d","M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zm297.1 84L257.3 234.6 379.4 396H283.8L209 298.1 123.3 396H75.8l111-126.9L69.7 116h98l67.7 89.5L313.6 116h47.5zM323.3 367.6L153.4 142.9H125.1L296.9 367.6h26.3z"],["title","Share on WhatsApp",1,"share-option",3,"click"],["d","M92.1 254.6c0 24.9 7 49.2 20.2 70.1l3.1 5-13.3 48.6L152 365.2l4.8 2.9c20.2 12 43.4 18.4 67.1 18.4h.1c72.6 0 133.3-59.1 133.3-131.8c0-35.2-15.2-68.3-40.1-93.2c-25-25-58-38.7-93.2-38.7c-72.7 0-131.8 59.1-131.9 131.8zM274.8 330c-12.6 1.9-22.4 .9-47.5-9.9c-36.8-15.9-61.8-51.5-66.9-58.7c-.4-.6-.7-.9-.8-1.1c-2-2.6-16.2-21.5-16.2-41c0-18.4 9-27.9 13.2-32.3c.3-.3 .5-.5 .7-.8c3.6-4 7.9-5 10.6-5c2.6 0 5.3 0 7.6 .1c.3 0 .5 0 .8 0c2.3 0 5.2 0 8.1 6.8c1.2 2.9 3 7.3 4.9 11.8c3.3 8 6.7 16.3 7.3 17.6c1 2 1.7 4.3 .3 6.9c-3.4 6.8-6.9 10.4-9.3 13c-3.1 3.2-4.5 4.7-2.3 8.6c15.3 26.3 30.6 35.4 53.9 47.1c4 2 6.3 1.7 8.6-1c2.3-2.6 9.9-11.6 12.5-15.5c2.6-4 5.3-3.3 8.9-2s23.1 10.9 27.1 12.9c.8 .4 1.5 .7 2.1 1c2.8 1.4 4.7 2.3 5.5 3.6c.9 1.9 .9 9.9-2.4 19.1c-3.3 9.3-19.1 17.7-26.7 18.8zM448 96c0-35.3-28.7-64-64-64H64C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V96zM148.1 393.9L64 416l22.5-82.2c-13.9-24-21.2-51.3-21.2-79.3C65.4 167.1 136.5 96 223.9 96c42.4 0 82.2 16.5 112.2 46.5c29.9 30 47.9 69.8 47.9 112.2c0 87.4-72.7 158.5-160.1 158.5c-26.6 0-52.7-6.7-75.8-19.3z"]],template:function(e,i){1&e&&(t.TgZ(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4),t._uU(5,"Latest "),t.TgZ(6,"span"),t._uU(7,"PHOTOS"),t.qZA()(),t.TgZ(8,"a",5),t._uU(9,"All Photos "),t.O4$(),t.TgZ(10,"svg",6)(11,"g",7),t._UZ(12,"path",8)(13,"path",9),t.qZA()()()()()(),t.kcU(),t.TgZ(14,"div",10)(15,"div",11,12)(17,"div",13),t.YNc(18,M,22,12,"div",14),t.qZA(),t._UZ(19,"div",15),t.qZA()()()),2&e&&(t.xp6(18),t.Q6J("ngForOf",i.slides))},dependencies:[m.mk,m.sg,m.O5],data:{animation:[(0,r.X$)("slideInOut",[(0,r.eR)(":enter",[(0,r.oB)({transform:"translateY(-10px)",opacity:0}),(0,r.jt)("200ms ease-out",(0,r.oB)({transform:"translateY(0)",opacity:1}))]),(0,r.eR)(":leave",[(0,r.jt)("200ms ease-in",(0,r.oB)({transform:"translateY(-10px)",opacity:0}))])])]}}),o})()},6594:(I,g,n)=>{n.r(g),n.d(g,{Photosv1Module:()=>m});var u=n(4755),_=n(4209),l=n(330),r=n(9523);const t=[{path:"",component:l.r}];let v=(()=>{class a{}return a.\u0275fac=function(p){return new(p||a)},a.\u0275mod=r.oAB({type:a}),a.\u0275inj=r.cJS({imports:[_.Bz.forChild(t),_.Bz]}),a})(),m=(()=>{class a{}return a.\u0275fac=function(p){return new(p||a)},a.\u0275mod=r.oAB({type:a}),a.\u0275inj=r.cJS({imports:[u.ez,v]}),a})()}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.