PageSourceSearch

https://cignalplay.com/6544.b527b58bc2d6b979.js

js cignalplay.com collected 2026-10-01 12:26:22 UTC 9,624 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkplive_web_ui=self.webpackChunkplive_web_ui||[]).push([[6544],{6544:(X,u,o)=>{o.r(u),o.d(u,{SearchModule:()=>G});var m=o(6895),f=o(3689),x=o(9383),y=o(1241),M=o(9366),P=o(5861),v=o(4546),w=o(2241),b=o(5705),O=o(6955),R=o(6750),I=o(3751),A=o(3232),T=o(2114),L=o(6005),Y=o(8929),C=o(7625),Z=o(6202),N=o(761),e=o(4650),E=o(7368),U=o(2669),F=o(9032);function J(n,c){if(1&n){const t=e.EpF();e.TgZ(0,"h2",4),e._uU(1),e.ALo(2,"translate"),e.qZA(),e.TgZ(3,"qp-plus-grid",5),e.NdJ("selectedCard",function(r){e.CHM(t);const s=e.oxw(2);return e.KtG(s.onSelectedCardChanged(r))}),e.qZA()}if(2&n){const t=e.oxw(2);e.xp6(1),e.Oqu(e.lcZ(2,6,"search.top")),e.xp6(2),e.Q6J("resourcesVm",t.searchDefaultResults)("freePackage",t.freePackage)("userLocation",t.actualLocationGroup)("flexCard",t.isMobile)("showMicrodramaTag",!0)}}function j(n,c){1&n&&(e.ynx(0),e.YNc(1,J,4,8,"ng-template",null,3,e.W1O),e.BQk())}function B(n,c){if(1&n){const t=e.EpF();e.ynx(0),e.TgZ(1,"h2"),e._uU(2),e.ALo(3,"translate"),e.qZA(),e.TgZ(4,"qp-plus-grid",7),e.NdJ("selectedCard",function(r){e.CHM(t);const s=e.oxw(2);return e.KtG(s.onSelectedCardChanged(r))}),e.qZA(),e.BQk()}if(2&n){const t=e.oxw(2);e.xp6(2),e.AsE("",e.lcZ(3,7,"search.results"),' "',t.params,'"'),e.xp6(2),e.Q6J("resourcesVm",t.searchResults)("showMicrodramaTag",!0)("freePackage",t.freePackage)("userLocation",t.actualLocationGroup)("flexCard",t.isMobile)}}function Q(n,c){1&n&&(e.TgZ(0,"div",8)(1,"h2"),e._uU(2),e.ALo(3,"translate"),e.qZA(),e.TgZ(4,"h3"),e._uU(5),e.ALo(6,"translate"),e.qZA()()),2&n&&(e.xp6(2),e.Oqu(e.lcZ(3,2,"search.notFound")),e.xp6(3),e.hij(" ",e.lcZ(6,4,"search.didYouMean")," "))}function $(n,c){if(1&n&&(e.YNc(0,B,5,9,"ng-container",1),e.YNc(1,Q,7,6,"ng-template",null,6,e.W1O)),2&n){const t=e.MAs(2),a=e.oxw();e.Q6J("ngIf",(null==a.searchResults?null:a.searchResults.length)>0)("ngIfElse",t)}}const z=[{path:"**",component:(()=>{class n{constructor(t,a,r,s,l,g,i,S,p,d,W,D,V,H){this.searchService=t,this.metadataService=a,this.configService=r,this.router=s,this.sessionStorage=l,this.loginAdaptor=g,this.selectedCardUtilityService=i,this.seoService=S,this.newrelic=p,this.clevertap=d,this.navbarService=W,this.ruleService=D,this.localStorage=V,this.popupService=H,this.isMobile=!1,this.lastSearch="",this.validSearch=!1,this.destroy$=new Y.xQ,this.applicationConfig=this.configService.applicationConfig,this.actualLocationGroup=this.ruleService.getCurrentRegionGroup(),this.navbarService.getSizeObservable().pipe((0,C.R)(this.destroy$)).subscribe(h=>{this.isMobile=h}),this.searchService.queryParams.pipe((0,C.R)(this.destroy$)).subscribe(h=>this.onSearch(h))}ngOnInit(){if(this.freePackage=this.applicationConfig.isFreeContentTag,this.seoService.updateTitle("Search"),this.isLoggedIn=this.loginAdaptor.isLoggedIn(),this.getPopularSearches(),this.router.url.includes("?q=")){const t=this.router.url.split("=")[1].replace(new RegExp("%20","g")," ");this.onSearch(t)}}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}onSearch(t){this.params=t,this.getResults(t)}getResults(t=""){var a=this;return(0,P.Z)(function*(){if(t&&t.length>=3)try{const r=yield a.metadataService.fetchSearchResults(t.trim());a.newrelic.sendNewrelicEvent(v.B.SEARCH,null,{searchString:t,totalItems:r.count||0}),a.searchResults=a.addUpcomingTagIfNeeded(r.seriesData.map(s=>(s.image=s.image?.replace(/(\/)\d(-)\d*(x)\d*(.jpg)/g,"/0-2x3.jpg"),s))),a.validSearch=!0,a.searchService.totalItems=a.searchResults.length}catch{a.searchResults=[],a.validSearch=!1}else a.searchResults=[],a.validSearch=!1})()}getPopularSearches(){this.metadataService.getDataFromContentURL(this.applicationConfig.noSearchResultsURL,!1,this.sessionStorage).subscribe(a=>{this.searchDefaultResults=a?.data?this.addUpcomingTagIfNeeded(a.data.map(r=>(r.image=r.image?.replace(/(\/)\d(-)\d*(x)\d*(.jpg)/g,"/0-2x3.jpg"),r))):null})}onSelectedCardChanged(t){const a=t?.detail?.resourceVm;if("shortseries"!==a.type)this.newrelic.sendNewrelicEvent(v.B.SEARCH,null,{searchString:this.lastSearch,totalItems:this.searchService.totalItems,searchItemPosition:parseInt(t?.detail?.index+1||null,10)}),this.selectedCardUtilityService.validateCardAction(a);else{if(!this.loginAdaptor.isLoggedIn())return void this.router.navigate(["/app/login"]);const l=JSON.parse(this.localStorage.getItem("entitlementNames")||"[]"),g=JSON.parse(this.localStorage.getItem("entitlementServiceNames")||"[]"),i=["plivepremium","premium75","premium200","cplayprem","dashflix","microdrama"];l?.some(p=>i.some(d=>p.toLowerCase().includes(d)))||g?.some(p=>i.some(d=>p.toLowerCase().includes(d)))?this.popupService.openModalInfoPopup(a):(this.localStorage.setItem("isSelectedCard","ShortSeries"),this.router.navigate(["/store"],{queryParams:{tab:"microdrama"}}))}}addUpcomingTagIfNeeded(t){return t.map(a=>{const r=a.lodtg;if(!Array.isArray(r)||!r[1]?.n)return a;const s=r[1].n,l=s.some(i=>i.toLowerCase().startsWith("watch in")),g=s.some(i=>"upcoming"===i.toLowerCase());if(l&&!g){const i=[...r];return i[1]={...i[1],n:["Upcoming",...s]},{...a,lodtg:i}}return a})}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Z.o),e.Y36(N.$),e.Y36(O.E),e.Y36(f.F0),e.Y36(E.M),e.Y36(R.X),e.Y36(I._),e.Y36(U.L),e.Y36(w.g),e.Y36(b.I),e.Y36(A.I),e.Y36(L.Q),e.Y36(F.g),e.Y36(T.q))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-search"]],decls:4,vars:2,consts:[[1,"search"],[4,"ngIf","ngIfElse"],["results",""],["default",""],[1,"top-searches"],["cardWidth","160",3,"resourcesVm","freePackage","userLocation","flexCard","showMicrodramaTag","selectedCard"],["notFound",""],["cardWidth","160",3,"resourcesVm","showMicrodramaTag","freePackage","userLocation","flexCard","selectedCard"],[1,"n
1ot-found"]],template:function(t,a){if(1&t&&(e.TgZ(0,"div",0),e.YNc(1,j,3,0,"ng-container",1),e.YNc(2,$,3,2,"ng-template",null,2,e.W1O),e.qZA()),2&t){const r=e.MAs(3);e.xp6(1),e.Q6J("ngIf",!a.validSearch)("ngIfElse",r)}},dependencies:[m.O5,x.X$],styles:['@font-face{font-family:Roboto;font-weight:300;font-display:swap;src:url(Roboto-Light.1ad50b89ab7c557e.ttf) format("truetype")}@font-face{font-family:Roboto;font-weight:400;font-display:swap;src:url(Roboto-Regular.d0bc87a819730d23.ttf) format("truetype")}@font-face{font-family:Roboto;font-weight:600;font-display:swap;src:url(Roboto-Bold.c36a3fe042b96dc3.ttf) format("truetype")}@font-face{font-family:Roboto;font-weight:700;font-display:swap;src:url(Roboto-Bold.c36a3fe042b96dc3.ttf) format("truetype")}[_nghost-%COMP%]{--qp-font-family: $font-family;--progress-bar-background-color: #ec2027;--card-live-tag: url(live-tag.6799b94ebdd4da69.svg);--card-premium-tag: url(premium-tag.734f8bd55e38dfcd.svg);--skeleton-icon: url(pilipinaslive-skeleton.9c4af7b752c9551b.svg);--overlay-icon: url(continue-watching.5edd4401655e65a6.svg);--plus-arrow: url(carousel-arrow.f26b09b64a86121a.svg);--plus-carousel-header-sa-arrow: url(see-all-arrow.14c62aae4b32fee0.svg);--multicam-tag-icon: url(multicam-icon.e71bbf7e3e98e526.svg);--viewers-tag-icon: url(viewers-icon.bb731ad89465ffe9.svg)}.search[_ngcontent-%COMP%]   qp-tag.watch-in-tag[_ngcontent-%COMP%]{display:none!important}.search[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:20px;box-sizing:border-box;width:100%;overflow-x:hidden;padding:25px 86px 32px;--tag-padding: 4px 8px;--tag-border-radius: 2px;--tag-top: 8px;--viewers-tag-r: 8px;--viewers-tag-t: 8px;--upcoming-tag-bg: #f6c511;--upcoming-tag-c: #111;--upcoming-tag-top: 8px;--upcoming-tag-bottom: auto;--upcoming-tag-left: auto;--upcoming-tag-right: 8px;--upcoming-tag-width: auto;--upcoming-tag-justify-content: center;--upcoming-tag-align-item: center;--upcoming-tag-border-radius: 4px;--live-tag-top: 8px;--live-tag-left: none;--live-tag-right: 8px;--live-tag-border-radius: 3px;--premium-tag-top: 8px;--multicam-tag-position: relative;--free-tag-position: relative;--free-tag-left: 0px;--free-tag-border-radius: 0px 3px 3px 0px;--left-tag-container-padding: 0px 0px 0px 0px;--left-tag-container-gap: 0px}.search[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{font-weight:600}@media only screen and (max-width: 900px){.search[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{font-size:16px;line-height:19px}}.search[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{color:#ffffffb3;font-size:24px;line-height:30px}@media only screen and (max-width: 900px){.search[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{font-size:14px;line-height:16px}}.search[_ngcontent-%COMP%]   .not-found[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:8px}.search[_ngcontent-%COMP%]   .not-found[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-weight:800;color:#ec2027}@media only screen and (max-width: 900px){.search[_ngcontent-%COMP%]{padding:96px 16px 88px}}@media only screen and (max-width: 840px){.search[_ngcontent-%COMP%]{--upcoming-tag-top: 30px;--upcoming-tag-left: 8px;--upcoming-tag-right: auto}}@media only screen and (max-width: 700px){.search[_ngcontent-%COMP%]{--upcoming-tag-top: 8px;--upcoming-tag-left: auto;--upcoming-tag-right: 8px}}@media only screen and (max-width: 680px){.search[_ngcontent-%COMP%]{--upcoming-tag-top: 30px;--upcoming-tag-left: 8px;--upcoming-tag-right: auto}}@media only screen and (max-width: 548px){.search[_ngcontent-%COMP%]{--upcoming-tag-top: 8px;--upcoming-tag-left: auto;--upcoming-tag-right: 8px}}@media only screen and (max-width: 520px){.search[_ngcontent-%COMP%]{--upcoming-tag-top: 30px;--upcoming-tag-left: 8px;--upcoming-tag-right: auto}}']}),n})()}];let G=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[m.ez,y.x,M.q,f.Bz.forChild(z),x.aw.forChild({extend:!0})]}),n})()}}]);

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.