PageSourceSearch

https://ttb.org/1796.ee97258feeeae067.js

js ttb.org collected 2026-09-24 09:35:31 UTC 26,182 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[1796],{21796(U,R,_){_.d(R,{CustomPostDetailPage:()=>st});var p=_(75796),A=_(55537),f=_(83534),C=_(86234),h=_(33428),y=_(46474),M=_(49458),k=_(84288),O=_(61e3),B=_(42962),o=_(47415),a=_(18856),d=_(38622),m=_(68394),P=_(50032),$=_(78810),I=_(18440),W=_(28147),w=_(47762),x=_(85238),H=_(22322),S=_(85562),b=_(30299),t=_(10599),j=_(43400),G=_(58850),K=_(68554),N=_(20995),F=_(53472);function V(u,v){if(1&u){const e=t.RV6();t.j41(0,"ion-card",17),t.bIt("click",function(){b.eBV(e);const n=t.XpG(2);return b.Njj(n.openInNewBrowser(n.pdf_url))}),t.j41(1,"ion-card-content")(2,"div",18)(3,"div",19)(4,"div",20),t.nrm(5,"ion-icon",21),t.k0s()(),t.j41(6,"div",22)(7,"p"),t.EFF(8),t.k0s(),t.j41(9,"p"),t.nrm(10,"ion-icon",23),t.k0s()()()()()}if(2&u){const e=t.XpG(2);t.R7$(8),t.SpI("",e.pdf_name," ")}}function X(u,v){if(1&u&&(t.j41(0,"div",28),t.nrm(1,"app-audio-player",29),t.k0s()),2&u){const e=t.XpG(3);t.R7$(),t.Y8G("title",e.custom_post.title)("audioUrl",e.audio_url)("from",e.audio_type)("imageUrl",e.get_image)("all_posts",e.all_posts)("navigation_path",e.navigation_path)}}function Y(u,v){if(1&u&&(t.j41(0,"ion-card",24)(1,"ion-card-content")(2,"div",18)(3,"div",19)(4,"div",20),t.nrm(5,"ion-icon",25),t.k0s()(),t.j41(6,"div",26)(7,"h6"),t.EFF(8),t.k0s()()(),t.DNE(9,X,2,6,"div",27),t.k0s()()),2&u){const e=t.XpG(2);t.R7$(8),t.JRh(e.custom_post.title),t.R7$(),t.Y8G("ngIf",e.all_posts.length)}}
1function J(u,v){1&u&&(t.j41(0,"div",32),t.nrm(1,"ion-spinner",33),t.k0s())}function z(u,v){if(1&u&&t.nrm(0,"app-comments-section",34),2&u){const e=t.XpG(3);t.Y8G("comments",e.comments)("from","post")("id",e.post_id)}}function Q(u,v){if(1&u&&(t.j41(0,"ion-card",24)(1,"ion-card-content")(2,"ion-card-title"),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.DNE(5,J,2,0,"div",30)(6,z,1,3,"app-comments-section",31),t.k0s()()),2&u){const e=t.XpG(2);t.R7$(3),t.JRh(t.bMT(4,3,"CUSTOM_POST.Comments")),t.R7$(2),t.Y8G("ngIf",e.comments_loading),t.R7$(),t.Y8G("ngIf",!e.comments_loading)}}function Z(u,v){if(1&u){const e=t.RV6();t.j41(0,"ion-card",35)(1,"ion-card-header")(2,"ion-card-title"),t.EFF(3,"Follow us"),t.k0s()(),t.nrm(4,"hr",36),t.j41(5,"ion-card-content")(6,"ion-button",37),t.bIt("click",function(){b.eBV(e);const n=t.XpG(2);return b.Njj(n.copyLink())}),t.nrm(7,"ion-icon",38),t.k0s(),t.j41(8,"ion-button",37),t.bIt("click",function(){b.eBV(e);const n=t.XpG(2);return b.Njj(n.shareToSocialMedia("facebook"))}),t.nrm(9,"ion-icon",39),t.k0s(),t.j41(10,"ion-button",37),t.bIt("click",function(){b.eBV(e);const n=t.XpG(2);return b.Njj(n.shareToSocialMedia("twitter"))}),t.nrm(11,"ion-icon",40),t.k0s()()()}}function q(u,v){if(1&u){const e=t.RV6();t.j41(0,"ion-grid",11)(1,"div",12)(2,"h2"),t.EFF(3),t.k0s()(),t.j41(4,"div",13),t.bIt("click",function(n){b.eBV(e);const i=t.XpG();return b.Njj(i.onContentClick(n))}),t.k0s(),t.DNE(5,V,11,1,"ion-card",14)(6,Y,10,2,"ion-card",15)(7,Q,7,5,"ion-card",15)(8,Z,12,0,"ion-card",16),t.k0s()}if(2&u){const e=t.XpG();t.R7$(3),t.JRh(e.custom_post.title),t.R7$(),t.Y8G("innerHTML",e.inner_html,t.npT),t.R7$(),t.Y8G("ngIf",""!==e.pdf_url),t.R7$(),t.Y8G("ngIf",!0===e.is_audio_avaiable),t.R7$(),t.Y8G("ngIf",!e.is_rss&&"0"===(null==e.page_data?null:e.page_data.is_hide_comment)),t.R7$(),t.Y8G("ngIf",!e.hide_follow_us)}}function tt(u,v){1&u&&t.nrm(0,"app-skeleton-loader",44),2&u&&t.Y8G("lines",20)("showImage",!0)}function et(u,v){if(1&u&&(t.j41(0,"div",42),t.DNE(1,tt,1,2,"app-skeleton-loader",43),t.k0s()),2&u){const e=t.XpG(2);t.R7$(),t.Y8G("ngIf",e.loading)}}function it(u,v){if(1&u&&t.DNE(0,et,2,1,"div",41),2&u){const e=t.XpG();t.Y8G("ngIf",e.loading_station_data||e.loading)}}(0,H.a)({"arrow-back":S.$$C,arrowBack:S.$$C,copy:S.Cal,"logo-facebook":S.GNQ,"logo-twitter":S.Z2c,logoFacebook:S.GNQ,logoTwitter:S.Z2c,"musical-notes":S.SbI,musicalNotes:S.SbI});let st=(()=>{class u{constructor(e,s,n,i,r,g,l,c,D,E,T,L){this.custom_post_service=e,this.dom=s,this.platform=n,this.observable_service=i,this.activated_route=r,this.app_service=g,this.shows_service=l,this.router=c,this.pdf_service=D,this.prerender_service=E,this.common_component_service=T,this.stationStore=L,this.custom_post=null,this.inner_html=null,this.comments=[],this.comments_loading=!1,this.post_id=1,this.loading=!0,this.loading_station_data=!0,this.page_id="1",this.device_type="",this.is_rss=!1,this.audio_url="",this.is_audio_avaiable=!1,this.page_data=void 0,this.get_image="",this.lang="",this.post_link="",this.hide_follow_us=!0,this.pdf_url="",this.pdf_name="",this.discover_card=[],this.audio_type=o.Ew.AUDIO_COMPONENT,this.all_posts=[],this.navigation_path="",this.banner_image="",this.subscriptions=[],this.commentsLoadTimeout=null}ngOnInit(){const e=this.observable_service.lang_code.subscribe(E=>{this.lang=E});this.subscriptions.push(e);const s=this.activated_route.snapshot.paramMap,n=s.get("parentSlug"),i=s.get("postSlug"),r=s.get("id"),g=s.get("pageId");g&&(this.page_id=g);const l=this.stationStore.getStationDetail(),c=localStorage.getItem("app_lang")||a.YM.ENG_LANG_ID;if(l&&0!==l.design.station_id)return this.loading_station_data=!1,this.lang=c,this.hideGlobalLoadingIfVisible(),void this.processPostData(l,n,i,r);const D=(0,$.z)([this.observable_service.station_detail.pipe((0,m.p)(E=>0!==E.design.station_id),(0,P.$)()),this.observable_service.lang_code.pipe((0,m.p)(E=>!!E),(0,P.$)())]).subscribe(([E,T])=>{this.loading_station_data&&(this.loading_station_data=!1,this.lang=T,this.hideGlobalLoadingIfVisible(),this.processPostData(E,n,i,r))});this.subscriptions.push(D)}
1ngOnDestroy(){this.subscriptions.forEach(e=>e.unsubscribe()),this.commentsLoadTimeout&&clearTimeout(this.commentsLoadTimeout)}loadCommentsDeferred(e){this.comments_loading=!0,this.commentsLoadTimeout&&clearTimeout(this.commentsLoadTimeout),this.commentsLoadTimeout=setTimeout(()=>{this.comments=e,this.comments_loading=!1},100)}hideGlobalLoadingIfVisible(){this.common_component_service.hideLoading()}loadNonCriticalDataDeferred(e){typeof requestIdleCallback<"u"?requestIdleCallback(()=>{this.updateCustomPostDetailMetaTags()},{timeout:2e3}):setTimeout(()=>{this.updateCustomPostDetailMetaTags()},100)}findPageBySlug(e,s){if(s)return e.find(n=>{if("Custom Post"!==n.name||!n.slug)return!1;if("string"==typeof n.slug)return n.slug.replace(/\/$/,"")===s.replace(/\/$/,"");if("object"==typeof n.slug&&null!==n.slug)for(const i in n.slug){const r=n.slug[i];if(r&&r.replace(/\/$/,"")===s.replace(/\/$/,""))return!0}return!1})}processPostData(e,s,n,i){if(this.loading=!0,s&&n&&"custom-post-detail"!=s){const r=this.findPageBySlug(e.pages,s);if(r){this.page_id=r.id.toString(),this.page_data=r,this.banner_image=this.page_data?this.page_data.website_banner:"";const g=this.custom_post_service.getAllCustomPosts(`${this.page_id}&slug=${encodeURIComponent(n)}`,e.design.station_id).subscribe({next:l=>{if(l.status&&Array.isArray(l.data)&&l.data.length>0){const c=l.data[0];this.post_id=c.id,this.getCustomPost(c.id,e.design.station_id),typeof requestIdleCallback<"u"?requestIdleCallback(()=>{this.discover_card[0]=e.discover_cards[0]}):setTimeout(()=>{this.discover_card[0]=e.discover_cards[0]},200)}else l.status&&Array.isArray(l.data)&&0===l.data.length?this.loading=!1:l.status&&l.data&&"object"==typeof l.data&&"channel"in l.data&&l.data.channel&&"object"==typeof l.data.channel&&"item"in l.data.channel?this.setRssDataBySlug(l,n):(this.loading=!1,console.error("Could not find posts for page"))},error:l=>{this.loading=!1,console.error("Error fetching posts for slug:",l)}});this.subscriptions.push(g)}else console.error("Page not found with slug:",s),this.loading=!1}else if(n){const r=decodeURIComponent(n);this.getPostBySlug(r,e.design.station_id)}else i&&this.getCustomPost(parseInt(i,10),e.design.station_id)}setRssDataBySlug(e,s){const n=e?.data?.channel?.item;if(n){const i=n.findIndex(r=>{const l=(r.title||"").toLowerCase().replace(/\s+/g,"-").replace(/[^\w-]+/g,"");return l.includes(s)||s.includes(l)});-1!==i?(this.post_id=i,this.setRssData(e)):(console.error("Could not find post in RSS feed with slug:",s),this.loading=!1)}else console.error("No items in RSS feed"),this.loading=!1}setPageData(e,s){this.page_data=e.pages.find(n=>n.id.toString()===this.page_id),this.page_data&&this.page_data.url?this.getRssData(this.post_id,e.design.station_id):"discover"===this.page_id.toString()?this.getDiscoverData():this.getCustomPost(s,e.design.station_id),this.navigation_path=this.page_data?.title?.[this.lang]??this.page_data?.title?.[a.YM.ENG_LANG_ID]??a.YM.NOT_AVAILABLE}getCustomPost(e,s){this.loading=!0;const n=this.custom_post_service.getCustomPost(e,s).subscribe({next:i=>{i.status&&(this.custom_post=i.data,this.custom_post.hasOwnProperty("post_link")&&(this.post_link=this.custom_post.post_link?this.custom_post.post_link:""),this.setInnerHtmlData(this.custom_post.content),this.hideGlobalLoadingIfVisible(),this.loadCommentsDeferred(this.custom_post.comments),this.loadNonCriticalDataDeferred(s)),this.loading=!1},error:i=>{this.loading=!1,this.hideGlobalLoadingIfVisible(),console.error("Error fetching custom post:",i)}});this.subscriptions.push(n)}getPostBySlug(e,s){this.loading=!0;const n=this.custom_post_service.getPostBySlug(e,s).subscribe({next:i=>{i.status&&(this.custom_post=i.data,this.custom_post.hasOwnProperty("post_link")&&(this.post_link=this.custom_post.post_link?this.custom_post.post_link:""),this.setInnerHtmlData(this.custom_post.content),this.hideGlobalLoadingIfVisible(),this.loadCommentsDeferred(this.custom_post.comments),this.loadNonCriticalDataDeferred(s)),this.loading=!1},error:i=>{this.loading=!1,this.hideGlobalLoadingIfVisible(),console.error("Error fetching post by slug:",i)}});this.subscriptions.push(n)}setInnerHtmlData(e){var s=this;return(0,p.A)(function*(){try{if(!e)return void(s.inner_html=s.dom.bypassSecurityTrustHtml(""));s.inner_html=s.dom.bypassSecurityTrustHtml(e),typeof requestIdleCallback<"u"?requestIdleCallback(()=>{s.processHtmlContentOptimized(e)},{timeout:1e3}):setTimeout(()=>{s.processHtmlContentOptimized(e)},50)}catch{s.inner_html=s.dom.bypassSecurityTrustHtml("Error processing content")}})()}processHtmlContentOptimized(e){if(e)try{e.includes("\\n")&&(e=e.replace(/\\n
1/g,"<br>"));const s=document.createElement("div");s.innerHTML=e,s.querySelectorAll("a").forEach(c=>{const D=c.getAttribute("data-cke-saved-href");if(D&&!c.getAttribute("href")&&c.setAttribute("href",D),!c.getAttribute("href"))return;c.hasAttribute("target")||c.setAttribute("target","_blank");const T=(c.getAttribute("rel")||"").toLowerCase(),L=new Set(T.split(/\s+/).filter(Boolean));["noopener","noreferrer","external"].forEach(nt=>L.add(nt)),c.setAttribute("rel",Array.from(L).join(" ")),c.getAttribute("style")||c.setAttribute("style","color: var(--link-color, #1a73e8); text-decoration: underline;")});const i=s.querySelectorAll("img"),r=300;let g=0;i.forEach(c=>{if(++g>r)return;c.hasAttribute("loading")||c.setAttribute("loading","lazy"),c.hasAttribute("decoding")||c.setAttribute("decoding","async"),c.hasAttribute("fetchpriority")||c.setAttribute("fetchpriority","low");const D=c.getAttribute("style")||"";/max-width\s*:\s*100%/i.test(D)||c.setAttribute("style",(D?D+"; ":"")+"max-width:100%;height:auto"),c.hasAttribute("srcset")&&c.removeAttribute("srcset"),!c.getAttribute("src")&&c.getAttribute("data-src")&&(c.setAttribute("src",c.getAttribute("data-src")),c.removeAttribute("data-src"))}),this.inner_html=this.dom.bypassSecurityTrustHtml(s.innerHTML)}catch(s){console.error("Error processing HTML content:",s)}}onContentClick(e){const s=e.target;if(!s)return;const n=s.closest("a");if(n&&this.platform.is("ios")){e.preventDefault();const i=n.getAttribute("href")||n.dataset.ckeSavedHref||"";i&&this.openInNewBrowser(i)}}checkLink(e){const s=e.match(/href="(.*?)"/);return s&&s.length?(e=e.replace(s[0],""),s[1].includes("css")?this.checkLink(e):s):[]}getRssData(e,s){this.loading=!0,this.is_rss=!0,this.audio_type=o.Ew.RSS_FEED,this.custom_post_service.getAllCustomPosts(this.page_id,s).subscribe(n=>{this.loading=!1,n.status&&this.setRssData(n)})}setRssData(e){var s=this;return(0,p.A)(function*(){const n=e?.data?.channel?.item,i=n[s.post_id];if(i){const r={id:0,station_id:0,title:"",sub_title:"",slug:"",content:"",featured_media:"",status:0,publish_date:"",deleted_at:null,created_at:"",updated_at:"",post_link:"",comments:[],url:"",enclosure:{}},g=e.data.channel;let l=i.image_url||"/assets/img/rss-feed.png";if(l?s.get_image=l:g.hasOwnProperty("image")&&g.image.hasOwnProperty("url")&&(l=g.image.url?g.image.url:"",s.get_image=l),yield s.setDataForAutoPlay(n),g.hasOwnProperty("link")&&(s.post_link=g.link?g.link:""),i.description&&"{}"!=JSON.stringify(i.description)){if(i.description.includes("<img")&&(i.image_url=i.description.match(/src=(.+?[\.jpg|\.gif|\.png]")/)[1].slice(1,-1),i.image_url.includes("150x150")?i.image_url=i.image_url.includes("-150x150")?i.image_url.replace("-150x150",""):i.image_url.replace("150x150",""):i.image_url.includes("300x300")&&(i.image_url=i.image_url.includes("-300x300")?i.image_url.replace("-300x300",""):i.image_url.replace("300x300","")),""!==i.image_url&&null!==i.image_url&&i.image_url.includes("s3.wasabisys.com")&&(0,A.Yq)(i.created_at,"yyyy-MM-dd","en_US")>="2023-05-29")){const c=i.image_url.split("/"),D=c[c.length-2];s.device_type=s.platform.is("mobile")?"radiobase_mobile":s.platform.is("tablet")?"radiobase_tablet":D;const E=i.image_url.replace(D,s.device_type);i.image_url=E}if(i.description.includes("\n"))do{i.description=i.description.replace("\n","<br>")}while(i.description.includes("\n"));if(i.description.includes("\\n"))do{i.description=i.description.replace("\\n","<br>")}while(i.description.includes("\\n"))}if(i.hasOwnProperty("enclosure")&&i.enclosure.hasOwnProperty("@attributes"))if(i.enclosure["@attributes"].hasOwnProperty("type")&&i.enclosure["@attributes"].type.includes("audio"))s.is_audio_avaiable=!0,s.audio_url=i.enclosure["@attributes"].url,i.url=s.audio_url;else if(i.enclosure["@attributes"].hasOwnProperty("type")&&i.enclosure["@attributes"].type.includes("pdf")){s.pdf_service.pdf_book_name=i.title,s.pdf_service.description=i.description,s.pdf_url=i.enclosure["@attributes"].url;const c=s.pdf_url.split("/");s.pdf_name=c[c.length-1],s.pdf_service.pdf_image=l??""}r.id=1,r.station_id=1,r.slug="",r.content=i.description?i.description:"",r.featured_media=i.image_url?i.image_url:"",r.status=1,r.deleted_at=i.pubDate?i.pubDate:"",r.created_at=i.pubDate?i.pubDate:"",r.publish_date=i.pubDate?i.pubDate:"",r.updated_at=i.pubDate?i.pubDate:"",r.comments=[],r.title=i.title?i.title:"Title N/A",s.custom_post=r,s.setInnerHtmlData(s.custom_post.content),s.setNavigationPath(s.custom_post.title),s.hideGlobalLoadingIfVisible()}})()}goBack(){this.app_service.goBack(!0)}copyLink(){this.post_link&&this.app_service.copyLink(this.post_link)}shareToSocialMedia(e){this.post_link&&this.app_service.shareToSocialMedia(e,this.post_link)}openInNewBrowser(e){if(/\.(pdf)([\?#].*)?$/i.test(e)||/application\/pdf/i.test(e)||/\bformat=pdf\b/i.test(e)){const n=this.pdf_service.setPdfData({url:e,title:this.pdf_name||"",description:"",image:this.get_image||"",source:o._Q.DIRECT,sourceParams:{feedUrl:e}}),i=this.pdf_service.buildShareableUrl(n);this.router.navigateByUrl(i)}else W.Browser.open({url:e,windowName:"_blank"})}setDataForAutoPlay(e){e.forEach(s=>{s.art_url=s.image_url?s.image_url:this.get_image,s.name=s.title,s.hasOwnProperty("enclosure")&&s.enclosure.hasOwnProperty("@attributes")&&s.enclosure["@attributes"].hasOwnProperty("type")&&s.enclosure["@attributes"].type.includes("audio")&&(s.url=s.enclosure["@attributes"].url)}),this.all_posts=e}setNavigationPath(e){this.navigation_path=""!==this.navigation_path?`${this.navigation_path} > ${e}`:`${e}`}getDiscoverData(){this.loading=!0,this.shows_service.getAllShows(this.discover_card[0].discover_data.source_link_rss).subscribe(e=>{if(this.loading=!1,e&&!0===e.status&&e.data){const n=(e?.data?.item)[this.post_id];if(n){const i={id:0,station_id:0,title:"",sub_title:"",slug:"",content:"",featured_media:"",status:0,publish_date:"",deleted_at:null,created_at:"",updated_at:"",post_link:"",comments:[]},r=e.data.channel;let g="";if(r&&r.hasOwnProperty("image")&&r.image.hasOwnProperty("url")&&(g=r.image.url?r.image.url:""),n.hasOwnProperty("enclosure")&&n.enclosure.hasOwnProperty("@attributes"))if(n.enclosure["@attributes"].hasOwnProperty("type")&&n.enclosure["@attributes"].type.includes("audio"))this.is_audio_avaiable=!0,this.audio_url=n.enclosure["@attributes"].url;else if(n.enclosure["@attributes"].hasOwnProperty("type")&&n.enclosure["@attributes"].type.includes("pdf")){this.pdf_url=n.enclosure["@attributes"].url;const l=this.pdf_url.split("/");this.pdf_name=l[l.length-1]}i.id=1,i.station_id=1,i.slug="",i.content=n.description?n.description:"",i.featured_media=n.image?n.image_url:g,i.status=1,i.deleted_at=n.pubDate?n.pubDate:"",i.created_at=n.pubDate?n.pubDate:"",i.publish_date=n.pubDate?n.pubDate:"",i.updated_at=n.pubDate?n.pubDate:"",i.comments=[],i.title=n.title?n.title:"Title N/A",this.custom_post=i,this.setInnerHtmlData(this.custom_post.content),this.hideGlobalLoadingIfVisible()}}},e=>{this.loading=!1,this.hideGlobalLoadingIfVisible()})}updateCustomPostDetailMetaTags(){if(this.custom_post&&this.page_data){const e=this.custom_post.title||this.page_data.name||"Custom Post";this.prerender_service.updateMetaTags({title:e,description:this.custom_post.description||`Read ${e} on our platform`,imageUrl:this.custom_post.featured_media||"",url:window.location.href})}}static{this.\u0275fac=function(s){return new(s||u)(t.rXU(y.L),t.rXU(j.up),t.rXU(G.OD),t.rXU(K.s),t.rXU(N.nX),t.rXU(O.d),t.rXU(B.M),t.rXU(N.Ix),t.rXU(d.u),t.rXU(I.b),t.rXU(w.F),t.rXU(F.C))}}static{this.\u0275cmp=t.VBU({type:u,selectors:[["app-custom-post-detail"]],features:[t.Jv_([y.L])],decls:18,vars:10,consts:[["noData",""],[1,"innerPageHeader","innerPageHeader--mobile","toolbar-no-safe-margin-top"],[1,"header--toolbar"],["slot","start"],["color","dark","fill","clear","size","small",3,"click"],["slot","start","name","arrow-back"],[1,"backBtn-wrapper","ion-hide-lg-down"],["color","primary","shape","round",3,"click"],[1,"page-wrapper"],["fixed","",4,"ngIf","ngIfElse"],[3,"custom_page"],["fixed",""],[1,"ion-margin-bottom"],[1,"customHTML","ion-margin-bottom",3,"click","innerHTML"],["class","cCard",3,"click",4,"ngIf"],["class","cCard",4,"ngIf"],["class","cCard cCard--padding",4,"ngIf"],[1,"cCard",3,"click"],[1,"ionMedia"],[1,"ionMedia__item"],[1,"thumbnailBadge","thumbnailBadge--primary","thumbnailBadge--sm"],["src","assets/icons/pdf.svg"],[1,"ionMedia__body__pdf"],["src","assets/icons/link.svg"],[1,"cCard"],["name","musical-notes"],[1,"ionMedia__body"],["class","mb-30",4,"ngIf"],[1,"mb-30"],[3,"title","audioUrl","from","imageUrl","all_posts","navigation_path"],["class","ion-text-center ion-padding",4,"ngIf"],[3,"comments","from","id",4,"ngIf"],[1,"ion-text-center","ion-padding"],["name","crescent","size","small"],[3,"comments","from","id"],[1,"cCard","cCard--padding"],[1,"cCard__divider"],["fill","clear","color","medium",3,"click"],["slot","icon-only","name","copy","size","large"],["slot","icon-only","name","logo-facebook","size","large"],["slot","icon-only","name","logo-twitter","size","large"],["class","commonIcon ion-margin-end ion-text-center",4,"ngIf"],[1,"commonIcon","ion-margin-end","ion-text-center"],["variant","article",3,"lines","showImage",4,"ngIf"],["variant","article",3,"lines","showImage"]],template:function(s,n){if(1&s){const i=t.RV6();t.j41(0,"ion-header",1)(1,"ion-toolbar",2)(2,"ion-buttons",3)(3,"ion-button",4),t.bIt("click",function(){return b.eBV(i),b.Njj(n.goBack())}),t.nrm(4,"ion-icon",5),t.EFF(5),t.nI1(6,"translate"),t.k0s()()()(),t.j41(7,"ion-content")(8,"div",6)(9,"ion-button",7),t.bIt("click",function(){return b.eBV(i),b.Njj(n.goBack())}),t.nrm(10,"ion-icon",5),t.EFF(11),t.nI1(12,"translate"),t.k0s()(),t.j41(13,"div",8),t.DNE(14,q,9,6,"ion-grid",9)(15,it,1,1,"ng-template",null,0,t.C5r),t.k0s(),t.nrm(17,"app-footer",10),t.k0s()}if(2&s){const i=t.sdS(16);t.R7$(5),t.Lme(" ",null!=n.page_data&&n.page_data.title[n.lang]?null==n.page_data?null:n.page_data.title[n.lang]:null==n.page_data?null:n.page_data.title.en," ",t.bMT(6,6,"details")," "),t.R7$(6),t.SpI(" ",t.bMT(12,8,"CUSTOM_POST.Back")," "),t.R7$(3),t.Y8G("ngIf",n.custom_post)("ngIfElse",i),t.R7$(3),t.Y8G("custom_page",!0)}},dependencies:[f.eU,f.ai,f.QW,f.Jm,f.iq,f.W9,f.lO,f.b_,f.ME,f.tN,f.I9,f.w2,A.bT,C.n,h.p,M.h,k.N,x.W,M.D9],styles:[".ionMedia__body__pdf[_ngcontent-%COMP%]{margin-top:13px;display:flex}.ionMedia__body__pdf[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-left:5px;font-size:11px}"]})}}return u})()},42962(U,R,_){_.d(R,{M:()=>k});var p=_(84943),A=_(11334),f=_(91876),C=_(59477),h=_(53118),y=_(30299),M=_(68554);let k=(()=>{class O{constructor(o,a){this.http=o,this.observableService=a,this.api_end_point=p.environment.api_end_point,this.selected_video={},this.is_iframe=!1,this._headers=new C.Lr,this._headers=this._headers.append("Content-Type","application/json"),this._headers=this._headers.append("Content-Type","application/x-www-form-urlencoded; charset=UTF-8"),this._headers=this._headers.append("Authorization",this.api_end_point)}getShows(o,a,d){return this.http.get(`${p.environment.api_end_point}${h.S.SHOWS.SHOWS_LISTING}/${o}/${a}/${d}`,{headers:this._headers})}getShow(o,a){return this.http.get(`${p.environment.api_end_point}${h.S.SHOWS.SHOW}/${a}/${o}`,{headers:this._headers})}getSeriesShows(o,a){return this.http.get(`${p.environment.api_end_point}${h.S.SHOWS.SHOWS_BY_ID}/${a}/${o}`,{headers:this._headers})}getAudioVideoShows(o){return this.http.post(`${p.environment.api_end_point}${h.S.SHOWS.SHOWS_AUDIO_VIDEO}`,o,{headers:this._headers})}getVideoShowsFeed(o){return this.http.post(`${p.environment.api_end_point}${h.S.SHOWS.SHOWS_AUDIO_VIDEO}`,o,{headers:this._headers})}getAllShows(o,a=null,d="0"){const m=o,P=localStorage.getItem("device_id");return this.http.post(`${p.environment.api_end_point}${h.S.SHOWS.EXTERNAL_LINK_DATA}`,JSON.stringify({url:m,method:"getAllShows",device_id:P,page_no:a,hide_future_r
1ss_content:d}),{headers:this._headers})}getFeed(o){return this.http.post(`${p.environment.api_end_point}${h.S.SHOWS.EXTERNAL_DATA}`,JSON.parse(o),{headers:this._headers})}getLatestShow(o){return this.http.get(`${p.environment.api_end_point}${h.S.CONTENT_CMS.GET_RECENT_SHOW}/${o}`,{headers:this._headers})}getYoutubeChannel(o){return this.http.post(`${p.environment.api_end_point}${h.S.SHOWS.EXTERNAL_LINK_DATA}`,JSON.stringify({url:o,method:"getYoutubeChannel",app_lang:"en"}),{headers:this._headers})}getYoutubePlaylist(o){return this.http.post(`${p.environment.api_end_point}${h.S.SHOWS.TRANSLATE_EXTERNAL_LINK}`,JSON.stringify({url:`https://www.googleapis.com/youtube/v3/playlistItems?part=snippet,contentDetails&maxResults=50&playlistId=${o}&key=${p.environment.youtube_api_key}`,method:"getYoutubePlaylist",app_lang:"en"}),{headers:this._headers})}getYoutubeUserPlaylist(o){return this.http.post(`${p.environment.api_end_point}${h.S.SHOWS.EXTERNAL_LINK_DATA}`,JSON.stringify({url:o,method:"getYoutubeUserPlaylist",app_lang:"en"}),{headers:this._headers})}fetchAllVideoDetails(o){return this.http.get(`https://www.googleapis.com/youtube/v3/videos?part=snippet,contentDetails,statistics&id=${o}&key=${p.environment.youtube_api_key}`).pipe((0,f.T)(d=>{if(d.items&&d.items.length>0)return d;throw new Error(`No video details found for IDs: ${o}`)}))}getVimeoChannel(o){return this.http.post(`${p.environment.api_end_point}${h.S.SHOWS.TRANSLATE_EXTERNAL_LINK}`,JSON.stringify({url:o,method:"getVimeoVideo",app_lang:"en"}))}getVimeoUser(o){return this.http.post(`${p.environment.api_end_point}${h.S.SHOWS.TRANSLATE_EXTERNAL_LINK}`,JSON.stringify({url:o,method:"getVimeoUser",app_lang:"en"}),{headers:this._headers})}getChannelId(o){const a=new A.B;return this.http.get(`https://www.googleapis.com/youtube/v3/search?part=snippet&maxResults=5&q=${o}&type=channel&key=${p.environment.youtube_api_key}`).subscribe(d=>{if(0===d.items.length)throw new Error(`Channel not found: ${o}`);a.next(d.items[0].id.channelId)}),a.asObservable()}checkData(o){if(Array.isArray(o))return o;if(o instanceof Object){if(o.hasOwnProperty("data"))return o.data;if(o.hasOwnProperty("items"))return o.items;if(o.hasOwnProperty("channel"))return o.channel.item;{let a=!1,d=[];return Object.keys(o).forEach(m=>{Array.isArray(o[m])&&!a?(a=!0,d=o[m]):Object.keys(o[m]).forEach(P=>
1{Array.isArray(o[P])&&!a&&(a=!0,d=o[P])})}),d}}}getRss(o,a){return this.http.get(`${p.environment.api_end_point}${h.S.SHOWS.SHOW_EXTERNAL}/${o}/${a}`)}createAudioFeedRss(o){return this.http.post(`${p.environment.api_end_point}${h.S.FEEDS.ADD_FEED_RSS}`,JSON.parse(o),{headers:this._headers})}externalLinkData(o,a=0,d="0"){const P=`${p.environment.api_end_point}${h.S.SHOWS.EXTERNAL_LINK_DATA}`,I=JSON.stringify({url:o,method:"getrss",offset:a,hide_future_rss_content:d});return this.http.post(P,JSON.parse(I),{headers:this._headers})}createAudioFeeds(o){return this.http.post(`${p.environment.api_end_point}${h.S.FEEDS.ADD_FEED}`,JSON.parse(o),{headers:this._headers})}createVideoFeeds(o){return this.http.post(`${p.environment.api_end_point}${h.S.FEEDS.ADD_FEED}`,JSON.parse(o),{headers:this._headers})}getFeedsRss(o){return this.http.get(`${p.environment.api_end_point}${h.S.FEEDS.COMMENTS_RSS}${o}`)}getFeeds(o,a){return this.http.get(`${p.environment.api_end_point}${h.S.FEEDS.FEED_COMMENTS}${a}/${o}`)}getPodsDataWithPagination(o){return this.http.post(`${p.environment.api_end_point}${h.S.FEEDS.RSS_AUDIO_FETCH}`,JSON.parse(o),{headers:this._headers})}createAudioFeedsArray(o){return this.http.post(`${p.environment.api_end_point}${h.S.FEEDS.ADD_AUDIO_FEED_MULTIPLE}`,JSON.parse(o),{headers:this._headers})}createSermon(o){return this.http.post(`${p.environment.api_end_point}${h.S.SHOWS.ADD_SHOW}`,JSON.parse(o),{headers:this._headers})}getSermons(o){return this.http.get(`${p.environment.api_end_point}${h.S.SHOWS.SHOW_COMMENTS}${o}`+o)}static{this.\u0275fac=function(a){return new(a||O)(y.KVO(C.Qq),y.KVO(M.s))}}static{this.\u0275prov=y.jDH({token:O,factory:O.\u0275fac,providedIn:"root"})}}return 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.