PageSourceSearch

https://www.mumbaicricket.com/971.ec4e69f6e36f7a51.js

js mumbaicricket.com collected 2026-10-02 06:42:40 UTC 13,382 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkmyApp=self.webpackChunkmyApp||[]).push([[971],{5971:(A,l,r)=>{r.r(l),r.d(l,{PhotoswidgetModule:()=>M});var h=r(4755),p=r(4209),u=r(2340),c=r(1591),t=r(9523),_=r(1491),d=r(4333);function w(o,s){if(1&o){const e=t.EpF();t.TgZ(0,"img",30),t.NdJ("error",function(){t.CHM(e);const a=t.oxw(2);return t.KtG(a.src=a.swidgetBasePath+"images/photodefault.jpg")}),t.qZA()}if(2&o){const e=t.oxw().$implicit;t.s9C("src",e.Image[0].tmedImg,t.LSH)}}function I(o,s){if(1&o){const e=t.EpF();t.TgZ(0,"img",30),t.NdJ("error",function(){t.CHM(e);const a=t.oxw(2);return t.KtG(a.src=a.swidgetBasePath+"images/photodefault.jpg")}),t.qZA()}if(2&o){const e=t.oxw().$implicit;t.s9C("src",e.Image[0].image,t.LSH)}}function v(o,s){if(1&o&&t._UZ(0,"img",31),2&o){const e=t.oxw(2);t.MGl("src","",e.swidgetBasePath,"images/photodefault.jpg",t.LSH)}}function x(o,s){if(1&o&&(t.TgZ(0,"p",32),t._uU(1),t.qZA()),2&o){const e=t.oxw().$implicit,i=t.oxw();t.xp6(1),t.Oqu(i.getCategoryName(e.Category))}}function T(o,s){if(1&o&&t._UZ(0,"a",33),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,s){if(1&o&&t._UZ(0,"a",34),2&o){const e=t.oxw().$implicit;t.s9C("href",e.Image[0].image,t.LSH)}}function S(o,s){if(1&o){const e=t.EpF();t.TgZ(0,"div",35)(1,"div",36),t.NdJ("click",function(){t.CHM(e);const a=t.oxw(2);return t.KtG(a.share("facebook"))}),t.O4$(),t.TgZ(2,"svg",37),t._UZ(3,"path",38),t.qZA()(),t.kcU(),t.TgZ(4,"div",39),t.NdJ("click",function(){t.CHM(e);const a=t.oxw(2);return t.KtG(a.share("twitter"))}),t.O4$(),t.TgZ(5,"svg",40),t._UZ(6,"path",41),t.qZA()(),t.kcU(),t.TgZ(7,"div",42),t.NdJ("click",function(){t.CHM(e);const a=t.oxw(2);return t.KtG(a.share("whatsapp"))}),t.O4$(),t.TgZ(8,"svg",40),t._UZ(9,"path",43),t.qZA()()()}2&o&&t.Q6J("@slideInOut",void 0)}const P=function(o){return{active:o}};function y(o,s){if(1&o){const e=t.EpF();t.TgZ(0,"div",12)(1,"figure",13)(2,"picture"),t.YNc(3,w,1,1,"img",14),t.YNc(4,I,1,1,"img",14),t.YNc(5,v,1,1,"img",15),t.qZA(),t.TgZ(6,"figcaption",16),t.YNc(7,x,2,1,"p",17),t.TgZ(8,"p",18),t._uU(9),t.qZA(),t.TgZ(10,"div",19)(11,"span",20),t._UZ(12,"img",21),t._uU(13),t.qZA(),t.TgZ(14,"span",22),t._uU(15),t.qZA()()(),t.YNc(16,T,1,3,"a",23),t.YNc(17,C,1,1,"a",24),t.TgZ(18,"div",25)(19,"button",26,27),t.NdJ("click",function(){const n=t.CHM(e).$implicit,g=t.oxw();return t.KtG(g.toggleShareOptions(n))}),t._UZ(21,"img",28),t.qZA(),t.YNc(22,S,10,1,"div",29),t.qZA()()()}if(2&o){const e=s.$implicit,i=t.oxw();t.Gre("col s12 m6 l3 photoGrid-thumb ",i.widgetGrid,""),t.xp6(3),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(2),t.Q6J("ngIf",null!=e.Category&&""!=e.Category&&0!=e.Category),t.xp6(2),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(14,P,1==e.isShare)),t.xp6(3),t.Q6J("ngIf",1==e.isShare)}}function N(o,s){if(1&o){const e=t.EpF();t.TgZ(0,"div",44)(1,"pagination-controls",45),t.NdJ("pageChange",function(a){t.CHM(e);const n=t.oxw();return t.KtG(n.page=a)}),t.qZA()()}}function Z(o,s){1&o&&t._UZ(0,"div",46)}const L=function(o){return{itemsPerPage:10,currentPage:o}},D=[{path:"",component:(()=>{class o{constructor(e,i,a){this.apiService=e,this.document=i,this.renderer=a,this.swidgetBasePath=u.N.swidgetBasePath,this.siteBasePath=u.N.mediaPath,this.widgetGrid=16,this.menuId="2",this.pagedItems=[],this.categList=[],this.clientFeedData=[],this.mediaList=[],this.page=1,this.maxSize=5,this.directionLinks=!0,this.autoHide=!0,this.catGoryMenu="all",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/se
1nd",instagram:"instagram://story-share"}}loadCSS(e,i){const a=e.createElement("link");return a.rel="stylesheet",a.type="text/css",a.href=i,e.appendChild(this.document.body,a),a}ngOnInit(){this.apiService.fetchClientData().subscribe(e=>{if(e=JSON.parse(e),this.clientFeedData=null!=e.clientData&&e.clientData.length>0?e.clientData:[],this.clientFeedData.length>0){var i=this.clientFeedData.filter(n=>n.menuId==this.menuId),a=i[0].groupName;console.log(a,""),console.log(i,"newsfeedlink"),null!=i[0].data[0].categoryPath&&""!=i[0].data[0].categoryPath&&this.getCategList(i[0].data[0].categoryPath,a)}}),this.apiService.getPhotosData().subscribe(e=>{e=(e=e.replace("onPhotos(","")).replace(");","");var i=null!=(e=JSON.parse(e)).photos?e.photos:[];console.log([]),this.mediaList=i,this.pagedItems=i,this.loadCSS(this.renderer,"assets/css/stories/PVNI-crud.css?v=081112")})}getCategList(e,i){var a="on"+i+"Category";this.apiService.fetchMediaCategList(e).subscribe(n=>{n=(n=n.replace(a+"(","")).replace(");","");let g=[];g=(n=JSON.parse(n)).category,this.categList=g.filter(m=>0!=m.CategoryID),console.log(this.categList,"urlnewslistcat")})}filtermediaDataBycategory(e){if(""!=e&&null!=e){let i=e.CategoryID;this.catGoryMenu=e.CategoryName,console.log(this.catGoryMenu,"menutype");let a=[];a=this.mediaList.filter(n=>n.Category==i),this.pagedItems=a}else this.catGoryMenu="all",this.page=1,this.pagedItems=this.mediaList;console.log("catfilter")}getDate(e){var i=e.split(" "),a="",m=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(f){f.mNo==m[1]&&(a=f.mText)}),m[2]+" "+a+" "+m[0]}getCategoryName(e){if(null!=this.categList&&this.categList.length>0){var i=this.categList.filter(a=>a.CategoryID==e);return null!=i&&i.length>0?i[0].CategoryName:""}}toggleShareOptions(e){console.log(this.pagedItems,"testtt"),console.log(e.SNo,"test2");for(var i=0;i<this.pagedItems.length;i++)this.pagedItems[i].SNo==e.SNo?(console.log("yes11"),this.pagedItems[i].isShare=0==this.pagedItems[i].isShare||""==this.pagedItems[i].isShare||null==this.pagedItems[i].isShare?1:0):this.pagedItems[i].isShare=0;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):"instagram"==e?this.shareToInstagram(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 a=new URLSearchParams({text:`${e.Title}\n\n${e.Description}\n\n${e.url}`});this.openShareWindow(`${this.platforms.whatsapp}?${a}`)}shareToInstagram(e){if(this.isInstagramAvailable())try{console.log("testinsta");const i=new URLSearchParams({source_application:window.location.hostname,text:e.Title,url:e.url,caption:null!=e.Description&&""!=e.Description?e.Description:""});window.location.href=`${this.platforms.instagram}?${i}`}catch(i){console.warn("Failed to open Instagram sharing:",i),this.fallbackToInstagramShare(e)}else this.fallbackToInstagramShare(e)}fallbackToInstagramShare(e){this.openShareWindow("https://instagram.com"),console.info("Direct sharing to Instagram is not supported. Please copy and paste the content manually.")}isInstagramAvailable(){return/iPhone|iPad|iPod|Android/i.test(navigator.userAgent)}openShareWindow(e){window.open(e,"ShareWindow","height=450, width=600, top="+(window.innerHeight/2-225)+", left
1="+(window.innerWidth/2-300))}}return o.\u0275fac=function(e){return new(e||o)(t.Y36(_.s),t.Y36(h.K0),t.Y36(t.Qsj))},o.\u0275cmp=t.Xpm({type:o,selectors:[["app-photoswidget"]],decls:16,vars:8,consts:[["id","mediaGrid-page",1,"default-bg-pattern"],[1,"indPage-Header"],[1,"header-wrapper"],["id","main-content","tabindex","0"],["type","hidden","name","pagename","value","videos",1,"pagename"],[1,"wrapper"],[1,"row"],["id","photoGrid-SM-wrapper"],["id","photoGrid-SM",1,"photosSlider"],["data-mediaId","item.SNo",3,"class",4,"ngFor","ngForOf"],["class","pagination_container",4,"ngIf"],["class","errMsg",4,"ngIf"],["data-mediaId","item.SNo"],[1,"thumb-container"],["loading","lazy","alt","","class","thumb-image lazyload",3,"src","error",4,"ngIf"],["loading","lazy","alt","","class","thumb-image lazyload",3,"src",4,"ngIf"],[1,"thumb-caption","anim-transition"],["class","secTag tagColor-one",4,"ngIf"],[1,"capTitle","marginB10"],[1,"photos-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,"secTag","tagColor-one"],[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"],[1,"pagination_container"],[1,"float-right",3,"pageChange"],[1,"errMsg"]],template:function(e,i){1&e&&(t.TgZ(0,"div",0)(1,"div",1)(2,"div",2)(3,"h1"),t._uU(4,"Photos"),t.qZA()()(),t.TgZ(5,"main",3),t._UZ(6,"input",4),t.TgZ(7,"div",5)(8,"div",6)(9,"section",7)(10,"div",6)(11,"div",8),t.YNc(12,y,23,16,"div",9),t.ALo(13,"paginate"),t.qZA(),t.YNc(14,N,2,0,"div",10),t.YNc(15,Z,1,0,"div",11),t.qZA()()()()()()),2&e&&(t.xp6(12),t.Q6J("ngForOf",t.xi3(13,3,i.pagedItems,t.VKq(6,L,i.page))),t.xp6(2),t.Q6J("ngIf",i.pagedItems.length>10),t.xp6(1),t.Q6J("ngIf",i.pagedItems.length<1))},dependencies:[h.mk,h.sg,h.O5,d.LS,d._s],data:{animation:[(0,c.X$)("slideInOut",[(0,c.eR)(":enter",[(0,c.oB)({transform:"translateY(-10px)",opacity:0}
1),(0,c.jt)("200ms ease-out",(0,c.oB)({transform:"translateY(0)",opacity:1}))]),(0,c.eR)(":leave",[(0,c.jt)("200ms ease-in",(0,c.oB)({transform:"translateY(-10px)",opacity:0}))])])]}}),o})()}];let k=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=t.oAB({type:o}),o.\u0275inj=t.cJS({imports:[p.Bz.forChild(D),p.Bz]}),o})(),M=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=t.oAB({type:o}),o.\u0275inj=t.cJS({imports:[h.ez,k,d.JX]}),o})()}}]);

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.