PageSourceSearch

https://www.theunionsports.com/1228.9a21131df5851302.js

js theunionsports.com collected 2026-10-04 06:36:19 UTC 54,562 bytes, 1 lines download raw bytes

1(self.webpackChunkthe_union_gk=self.webpackChunkthe_union_gk||[]).push([[1228],{49977:(L,Z,a)=>{var e=a(30696);L.exports=function d(T,u){return e(T,u)}},91228:(L,Z,a)=>{"use strict";a.d(Z,{C:()=>xt});var e=a(64537),d=a(20092),T=a(38023),u=a(13528),S=a(49977),V=a.n(S),r=a(59735),J=a(42384),x=a(96630),K=a(36705),b=a(59302),E=a(84539),c=a(86370),W=a(81037),Q=a(7755),D=a(87578),H=a(22274),Y=a(49371),B=a(76492),$=a(78974),G=a(98895),q=a(62439),U=a(26877),y=a(96993),j=a(28141),z=a(1858),X=a(31711),ee=a(76219),te=a(75728),ie=a(3942),ne=a(46515),M=a(88692),P=a(3706),oe=a(22798),se=a(58746),_e=a(9193),le=a(904),me=a(6913),ae=a(36194),re=a(22348),ce=a(76553),de=a(21365),pe=a(38182),ue=a(52382),ge=a(94674),he=a(32177),ve=a(17479),Ce=a(94999),F=a(17427),fe=a(67657),xe=a(3156);const Ee=["overlay"],Me=["cardsMessageForm"],Te=["commentInput"];function ye(s,l){if(1&s){const i=e.EpF();e.TgZ(0,"div",10)(1,"a",11),e.NdJ("click",function(){e.CHM(i);const n=e.oxw(2);return e.KtG(n.onCommentsPages(n.items))}),e._uU(2," View more comments... "),e.qZA()()}}function Pe(s,l){1&s&&e._UZ(0,"em",38)}function Oe(s,l){if(1&s){const i=e.EpF();e.TgZ(0,"li",41)(1,"a",42),e.NdJ("click",function(){e.CHM(i);const n=e.oxw(2).$implicit,o=e.oxw(2);return e.KtG(o.blockUser(n))}),e._uU(2," Block User "),e.qZA()()}}function Ie(s,l){if(1&s){const i=e.EpF();e.TgZ(0,"li",41)(1,"a",42),e.NdJ("click",function(){e.CHM(i);const n=e.oxw(2),o=n.$implicit,_=n.index,m=e.oxw(2);return e.KtG(m.reportComment(m.items,o,_))}),e._uU(2," Report as Inappropriate "),e.qZA()()}}function we(s,l){if(1&s){const i=e.EpF();e.TgZ(0,"li",41)(1,"a",43),e.NdJ("click",function(){e.CHM(i);const n=e.oxw(2).$implicit,o=e.oxw(2);return e.KtG(o.deleteComment("comment",o.items,n))}),e._uU(2," Delete Comment "),e.qZA()()}}function ke(s,l){if(1&s&&(e.TgZ(0,"ul",39),e.YNc(1,Oe,3,0,"li",40),e.ALo(2,"isMyProfile"),e.YNc(3,Ie,3,0,"li",40),e.ALo(4,"isMyProfile"),e.YNc(5,we,3,0,"li",40),e.ALo(6,"isMyProfile"),e.ALo(7,"isMyProfile"),e.ALo(8,"isMyProfile"),e.qZA()),2&s){const i=e.oxw().$implicit,t=e.oxw(2);e.xp6(1),e.Q6J("ngIf",!e.lcZ(2,3,i.user.gsi4pk)&&(null==i||null==i.user?null:i.user.gsi4pk)!==(null==t.whiteLabelConfig||null==t.whiteLabelConfig.user?null:t.whiteLabelConfig.user.gsi4pk)),e.xp6(2),e.Q6J("ngIf",!e.lcZ(4,5,null==i||null==i.user?null:i.user.gsi4pk)&&t.isReportAnInappropriate),e.xp6(2),e.Q6J("ngIf",e.lcZ(6,7,null==t.items||null==t.items.user?null:t.items.user.gsi4pk)||e.lcZ(7,9,null==i||null==i.user?null:i.user.gsi4pk)||e.lcZ(8,11,null==t.items||null==t.items.forum_owner?null:t.items.forum_owner.gsi4pk))}}function Re(s,l){if(1&s&&(e._UZ(0,"p",44),e.ALo(1,"isURL"),e.ALo(2,"hashtagFormat"),e.ALo(3,"bioFormat"),e.ALo(4,"userLink")),2&s){const i=e.oxw().$implicit,t=e.oxw(2);e.MGl("appTranslate","",e.lcZ(1,6,e.xi3(2,8,e.lcZ(3,11,e.xi3(4,13,i.comment,null==i?null:i.reply_tag)),i)),"\n"),e.Q6J("pk",i.pk)("sk",i.sk)("postData",i)("type",t.translationModules.POST_COMMENT)("targetLanguage",i.language)}}function Ae(s,l){if(1&s&&(e.TgZ(0,"div",45)(1,"h5"),e._UZ(2,"app-price-display",46),e.ALo(3,"number"),e.ALo(4,"isMyProfile"),e.qZA(),e.TgZ(5,"p"),e._uU(6,"Tip"),e.qZA()()),2&s){const i=e.oxw().$implicit,t=e.oxw(2);e.xp6(2),e.Q6J("price",e.xi3(3,4,null==i?null:i.complete_Amount,"1.2-2"))("rate",null==i||null==i.currency_info?null:i.currency_info.exchange_rate_to_usd)("symbol",null==i||null==i.currency_info?null:i.currency_info.currency_symbol)("showOnlyCurrency",!e.lcZ(4,7,null==t.items||null==t.items.user?null:t.items.user.gsi4pk))}}function Le(s,l){if(1&s&&(e.TgZ(0,"div",45)(1,"h5"),e._UZ(2,"app-price-display",46),e.ALo(3,"number"),e.ALo(4,"isMyProfile"),e.qZA(),e.TgZ(5,"p"),e._uU(6,"Tip"),e.qZA()()),2&s){const i=e.oxw(2).$implicit,t=e.oxw(2);e.xp6(2),e.Q6J("price",e.xi3(3,4,null==i?null:i.amount,"1.2-2"))("rate",null==i||null==i.currency_info?null:i.currency_info.exchange_rate_to_usd)("symbol",null==i||null==i.currency_info?null:i.currency_info.currency_symbol)("showOnlyCurrency",!e.lcZ(4,7,null==t.items||null==t.items.user?null:t.items.user.gsi4pk))}}function Ze(s,l){if(1&s&&e.YNc(0,Le,7,9,"div",47),2&s){const i=e.oxw().$implicit;e.Q6J("ngIf",null==i?null:i.amount)}}function be(s,l){if(1&s){const i=e.EpF();e.TgZ(0,"button",51),e.NdJ("click",function(n){e.CHM(i);const o=e.oxw(2).$implicit,_=e.oxw(2);return e.KtG(_.onDownloadMedia(n,o))}),e._UZ(1,"em",52),e.qZA()}if(2&s){const i=e.oxw(2).$implicit,t=e.oxw(2);e.ekj("is-downloading",t.isDownloadingMedia(i.video_url)),e.Q6J("disabled",t.isDownloadingMedia(i.video_url))}}function De(s,l){if(1&s&&(e.TgZ(0,"div",48),e._UZ(1,"app-video-player-v2",49),e.YNc(2,be,2,3,"button",50),e.qZA()),2&s){const i=e.oxw().$implicit,t=e.oxw(2);e.xp6(1),e.Q6J("post",i.video_url)("posterImage",i.image_url||"")("autoPlay",!1)("muted",!1)("setAspectRatio",!1)("fitPosterAspect",!0)("videoHeightClass",null)("skipIntersectionObserver",!0)("hideBigPlayButton",!0),e.xp6(1),e.Q6J("ngIf",t.canDownloadMedia(i))}}function Ue(s,l){if(1&s){const i=e.EpF();e.TgZ(0,"button",51),e.NdJ("click",function(n){e.CHM(i);const o=e.oxw(2).$implicit,_=e.oxw(2);return e.KtG(_.onDownloadMedia(n,o))}),e._UZ(1,"em",52),e.qZA()}if(2&s){const i=e.oxw(2).$implicit,t=e.oxw(2);e.ekj("is-downloading",t.isDownloadingMedia(null==i?null:i.image_url)),e.Q6J("disabled",t.isDownloadingMedia(null==i?null:i.image_url))}}function Fe(s,l){if(1&s){const i=e.EpF();e.TgZ(0,"div",53)(1,"img",54),e.NdJ("click",function(){e.CHM(i);const n=e.oxw().$implicit,o=e.oxw(2);return e.KtG(o.openImagePreview(n.image_url))}),e.qZA(),e.YNc(2,Ue,2,3,"button",50),e.qZA()}if(2&s){const i=e.oxw().$implicit,t=e.oxw(2);e.xp6(1),e.Q6J("src",i.image_url,e.LSH),e.xp6(1),e.Q6J("ngIf",t.canDownloadMedia(i))}}function Ne(s,l){if(1&s){const i=e.EpF();e.TgZ(0,"a",55),e.NdJ("click",function(){e.CHM(i);const n=e.oxw().$implicit,o=e.oxw(2);return e.KtG(o.replyComment(n,n.sk,{},!0))}),e._uU(1),e.qZA()}if(2&s){const i=e.oxw().$implicit;e.xp6(1),e.hij(" ",1===i.reply_count?i.reply_count+" Reply":i.reply_count+" Replies"," ")}}function Se(s,l){if(1&s&&e._UZ(0,"app-upload-progress",75),2&s){const i=e.oxw(8);e.Q6J("percent",i.commentVideoProgress)}}function Ve(s,l){if(1&s&&(e.TgZ(0,"div",72),e._UZ(1,"img",73),e.YNc(2,Se,1,1,"app-upload-progress",74),e.qZA()),2&s){const i=e.oxw(7);e.xp6(1),e.Q6J("src",i.commentPreview||i.commentVideoPreview,e.LSH)("alt",i.COMMENT_VIDEO.PREVIEW.ALT),e.xp6(1),e.Q6J("ngIf",i.isCommentVideoUploading)}}function Je(s,l){if(1&s&&e._UZ(0,"img",76),2&s){const i=e.oxw(7);e.Q6J("src",i.commentPreview,e.LSH)}}function Ke(s,l){if(1&s){const i=e.EpF();e.TgZ(0,"div",69),e.YNc(1,Ve,3,3,"div",70),e.YNc(2,Je,1,1,"ng-template",null,71,e.W1O),e.TgZ(4,"a",37),e.NdJ("click",function(){e.CHM(i);const n=e.oxw(6);return e.KtG(n.removePreview())}),e._uU(5,"\xd7"),e.qZA()()}if(2&s){const i=e.MAs(3),t=e.oxw(6);e.xp6(1),e.Q6J("ngIf",t.commentVideoPreview)("ngIfElse",i)}}const O=function(s,l){return{triggerChar:"@",items:s,labelKey:"user_name",maxItems:30,mentionSelect:l,disableSearch:!0,allowSpace:!0}},I=function(s,l){return{triggerChar:"#",items:s,labelKey:"tag_name",maxItems:30,mentionSelect:l,disableSearch:!1,allowSpace:!0}},w=function(s,l){return[s,l]},k=function(s){return{mentions:s}},R=function(){return{isMultiple:!1}};function We(s,l){if(1&s){const i=e.EpF();e.TgZ(0,"div",58)(1,"div"),e._UZ(2,"app-user-image"),e.qZA(),e.TgZ(3,"div",59,60)(5,"form",61),e.NdJ("ngSubmit",function(){e.CHM(i);const n=e.oxw(3).$implicit,o=e.oxw(2);return e.KtG(o.replyOnComment(null==o.items?null:o.items.user,n.pk,n.sk,null==o.items||null==o.items.user?null:o.items.user.gsi4pk,null==o.items?null:o.items.sk))}),e.TgZ(6,"em",62),e.NdJ("click",function(){e.CHM(i);const n=e.MAs(10);return e.KtG(n.click())}),e.qZA(),e.TgZ(7,"input",63,64),e.NdJ("opened",function(){e.CHM(i);const n=e.oxw(5);return e.KtG(n.dashboardService.onMentionPanelOpen())})("closed",function(){e.CHM(i);const n=e.oxw(5);return e.KtG(n.dashboardService.onMentionPanelClosed())})("itemSelected",function(n){e.CHM(i);const o=e.oxw(5);return e.KtG(o.onTaggedUserSelect(n,o.replyForm,"reply_tag"))})("keyup",function(n){e.CHM(i);const o=e.oxw(5);return o.cs.isWhiteSpace(n,o.replyForm),e.KtG(o.checkValue(o.replyForm))}),e.qZA(),e.TgZ(9,"input",65,66),e.NdJ("change",function(n){e.CHM(i);const o=e.oxw(5);return e.KtG(o.uploadComment(n,"reply"))})("mobileFileChange",function(n){e.CHM(i);const o=e.oxw(5);return e.KtG(o.uploadComment(n,"reply",!0))}),e.qZA(),e.TgZ(11,"button",67),e._uU(12," Post "),e.qZA()()(),e.YNc(13,Ke,6,2,"div",68),e.qZA()}if(2&s){const i=e.oxw(5),t=e.MAs(4);e.xp6(5),e.Q6J("formGroup",i.replyForm),e.xp6(2),e.Q6J("mentionConfig",e.VKq(16,k,e.WLB(13,w,e.WLB(7,O,i.users,i.onMentionUserSelect),e.WLB(10,I,i.hashTagList,i.onMentionHashtagSelect))))("mentionListTemplate",t),e.xp6(2),e.Q6J("accept",i.commentMediaAcceptTypes)("fileConfig",e.Dd
1M(18,R)),e.xp6(2),e.Q6J("disabled",i.replyForm.invalid||i.isCommentVideoUploading),e.xp6(2),e.Q6J("ngIf",(i.commentPreview||i.commentVideoPreview)&&i.isReplyImage)}}function Qe(s,l){1&s&&e._UZ(0,"app-loader")}function He(s,l){if(1&s&&(e.ynx(0),e.YNc(1,We,14,19,"div",9),e.YNc(2,Qe,1,0,"app-loader",8),e.BQk()),2&s){const i=e.oxw(2).$implicit,t=e.oxw(2);e.xp6(1),e.Q6J("ngIf",!t.showReplyInput),e.xp6(1),e.Q6J("ngIf",i.isReplyLoader)}}function Ye(s,l){if(1&s){const i=e.EpF();e.TgZ(0,"div",10)(1,"a",11),e.NdJ("click",function(){e.CHM(i);const n=e.oxw(2).$implicit,o=e.oxw(2);return e.KtG(o.getReplyPages(n.sk))}),e._uU(2," View more replies... "),e.qZA()()}}function Be(s,l){1&s&&e._UZ(0,"em",38)}function $e(s,l){if(1&s){const i=e.EpF();e.TgZ(0,"li",41)(1,"a",43),e.NdJ("click",function(){e.CHM(i);const n=e.oxw(2).$implicit,o=e.oxw(4);return e.KtG(o.blockUser(n))}),e._uU(2," Block User "),e.qZA()()}}function Ge(s,l){if(1&s){const i=e.EpF();e.TgZ(0,"li",41)(1,"a",42),e.NdJ("click",function(){e.CHM(i);const n=e.oxw(2),o=n.$implicit,_=n.index,m=e.oxw(2).$implicit,p=e.oxw(2);return e.KtG(p.reportReply(p.items,m,o,_))}),e._uU(2," Report as Inappropriate "),e.qZA()()}}function qe(s,l){if(1&s){const i=e.EpF();e.TgZ(0,"a",43),e.NdJ("click",function(){e.CHM(i);const n=e.oxw(2).$implicit,o=e.oxw(2).$implicit,_=e.oxw(2);return e.KtG(_.deleteComment("reply",_.items,o,n))}),e._uU(1," Delete Comment "),e.qZA()}}function je(s,l){if(1&s&&(e.TgZ(0,"ul",39),e.YNc(1,$e,3,0,"li",40),e.ALo(2,"isMyProfile"),e.YNc(3,Ge,3,0,"li",40),e.ALo(4,"isMyProfile"),e.TgZ(5,"li",41),e.YNc(6,qe,2,0,"a",77),e.ALo(7,"isMyProfile"),e.ALo(8,"isMyProfile"),e.ALo(9,"isMyProfile"),e.qZA()()),2&s){const i=e.oxw().$implicit,t=e.oxw(2).$implicit,n=e.oxw(2);e.xp6(1),e.Q6J("ngIf",!e.lcZ(2,3,null==i||null==i.user?null:i.user.gsi4pk)&&(null==t||null==t.user?null:t.user.gsi4pk)!==(null==n.whiteLabelConfig||null==n.whiteLabelConfig.user?null:n.whiteLabelConfig.user.gsi4pk)),e.xp6(2),e.Q6J("ngIf",!e.lcZ(4,5,null==i||null==i.user?null:i.user.gsi4pk)&&n.isReportAnInappropriate),e.xp6(3),e.Q6J("ngIf",e.lcZ(7,7,null==n.items||null==n.items.user?null:n.items.user.gsi4pk)||e.lcZ(8,9,null==i||null==i.user?null:i.user.gsi4pk)||e.lcZ(9,11,null==n.items||null==n.items.forum_owner?null:n.items.forum_owner.gsi4pk))}}function ze(s,l){if(1&s&&(e._UZ(0,"p",44),e.ALo(1,"isURL"),e.ALo(2,"hashtagFormat"),e.ALo(3,"bioFormat"),e.ALo(4,"userLink")),2&s){const i=e.oxw().$implicit,t=e.oxw(4);e.s9C("appTranslate",e.lcZ(1,6,e.xi3(2,8,e.lcZ(3,11,e.xi3(4,13,i.comment,null==i?null:i.reply_tag)),i))),e.Q6J("pk",i.pk)("sk",i.sk)("postData",i)("type",t.translationModules.POST_COMMENT)("targetLanguage",i.language)}}function Xe(s,l){if(1&s){const i=e.EpF();e.TgZ(0,"button",51),e.NdJ("click",function(n){e.CHM(i);const o=e.oxw(2).$implicit,_=e.oxw(4);return e.KtG(_.onDownloadMedia(n,o))}),e._UZ(1,"em",52),e.qZA()}if(2&s){const i=e.oxw(2).$implicit,t=e.oxw(4);e.ekj("is-downloading",t.isDownloadingMedia(i.video_url)),e.Q6J("disabled",t.isDownloadingMedia(i.video_url))}}function et(s,l){if(1&s&&(e.TgZ(0,"div",48),e._UZ(1,"app-video-player-v2",49),e.YNc(2,Xe,2,3,"button",50),e.qZA()),2&s){const i=e.oxw().$implicit,t=e.oxw(4);e.xp6(1),e.Q6J("post",i.video_url)("posterImage",i.image_url||"")("autoPlay",!1)("muted",!1)("setAspectRatio",!1)("fitPosterAspect",!0)("videoHeightClass",null)("skipIntersectionObserver",!0)("hideBigPlayButton",!0),e.xp6(1),e.Q6J("ngIf",t.canDownloadMedia(i))}}function tt(s,l){if(1&s){const i=e.EpF();e.TgZ(0,"button",51),e.NdJ("click",function(n){e.CHM(i);const o=e.oxw(2).$implicit,_=e.oxw(4);return e.KtG(_.onDownloadMedia(n,o))}),e._UZ(1,"em",52),e.qZA()}if(2&s){const i=e.oxw(2).$implicit,t=e.oxw(4);e.ekj("is-downloading",t.isDownloadingMedia(null==i?null:i.image_url)),e.Q6J("disabled",t.isDownloadingMedia(null==i?null:i.image_url))}}function it(s,l){if(1&s){const i=e.EpF();e.TgZ(0,"div",53)(1,"img",54),e.NdJ("click",function(){e.CHM(i);const n=e.oxw().$implicit,o=e.oxw(4);return e.KtG(o.openImagePreview(n.image_url))}),e.qZA(),e.YNc(2,tt,2,3,"button",50),e.qZA()}if(2&s){const i=e.oxw().$implicit,t=e.oxw(4);e.xp6(1),e.Q6J("src",i.image_url,e.LSH),e.xp6(1),e.Q6J("ngIf",t.canDownloadMedia(i))}}function nt(s,l){if(1&s&&e._UZ(0,"app-upload-progress",75),2&s){const i=e.oxw(8);e.Q6J("percent",i.commentVideoProgress)}}function ot(s,l){if(1&s&&(e.TgZ(0,"div",72),e._UZ(1,"img",73),e.YNc(2,nt,1,1,"app-upload-progress",74),e.qZA()),2&s){const i=e.oxw(7);e.xp6(1),e.Q6J("src",i.commentPreview||i.commentVideoPreview,e.LSH)("alt",i.COMMENT_VIDEO.PREVIEW.ALT),e.xp6(1),e.Q6J("ngIf",i.isCommentVideoUploading)}}function st(s,l){if(1&s&&e._UZ(0,"img",76),2&s){const i=e.oxw(7);e.Q6J("src",i.commentPreview,e.LSH)}}function _t(s,l){if(1&s){const i=e.EpF();e.TgZ(0,"div",69),e.YNc(1,ot,3,3,"div",70),e.YNc(2,st,1,1,"ng-template",null,78,e.W1O),e.TgZ(4,"a",37),e.NdJ("click",function(){e.CHM(i);const n=e.oxw(6);return e.KtG(n.removePreview())}),e._uU(5,"\xd7"),e.qZA()()}if(2&s){const i=e.MAs(3),t=e.oxw(6);e.xp6(1),e.Q6J("ngIf",t.commentVideoPreview)("ngIfElse",i)}}function lt(s,l){1&s&&e._UZ(0,"app-loader")}function mt(s,l){if(1&s){const i=e.EpF();e.ynx(0),e.TgZ(1,"div",58)(2,"div"),e._UZ(3,"app-user-image"),e.qZA(),e.TgZ(4,"div",59,60)(6,"form",61),e.NdJ("ngSubmit",function(){e.CHM(i);const n=e.oxw(3).$implicit,o=e.oxw(2);return e.KtG(o.replyOnComment(null==o.items||null==o.items.user?null:o.items.user.user_name,n.pk,n.sk,null==o.items||null==o.items.user?null:o.items.user.gsi4pk,null==o.items?null:o.items.sk))}),e.TgZ(7,"em",62),e.NdJ("click",function(){e.CHM(i);const n=e.MAs(11);return e.KtG(n.click())}),e.qZA(),e.TgZ(8,"input",63,64),e.NdJ("opened",function(){e.CHM(i);const n=e.oxw(5);return e.KtG(n.dashboardService.onMentionPanelOpen())})("closed",function(){e.CHM(i);const n=e.oxw(5);return e.KtG(n.dashboardService.onMentionPanelClosed())})("itemSelected",function(n){e.CHM(i);const o=e.oxw(5);return e.KtG(o.onTaggedUserSelect(n,o.replyForm,"reply_tag"))})("keyup",function(n){e.CHM(i);const o=e.oxw(5);return o.cs.isWhiteSpace(n,o.replyForm),e.KtG(o.checkValue(o.replyForm))}),e.qZA(),e.TgZ(10,"input",65,66),e.NdJ("change",function(n){e.CHM(i);const o=e.oxw(5);return e.KtG(o.uploadComment(n,"reply"))})("mobileFileChange",function(n){e.CHM(i);const o=e.oxw(5);return e.KtG(o.uploadComment(n,"reply",!0))}),e.qZA(),e.TgZ(12,"button",67),e._uU(13," Post "),e.qZA()()(),e.YNc(14,_t,6,2,"div",68),e.qZA(),e.YNc(15,lt,1,0,"app-loader",8),e.BQk()}if(2&s){const i=e.oxw(3).$implicit,t=e.oxw(2),n=e.MAs(4);e.xp6(6),e.Q6J("formGroup",t.replyForm),e.xp6(2),e.Q6J("mentionConfig",e.VKq(17,k,e.WLB(14,w,e.WLB(8,O,t.users,t.onMentionUserSelect),e.WLB(11,I,t.hashTagList,t.onMentionHashtagSelect))))("mentionListTemplate",n),e.xp6(2),e.Q6J("accept",t.commentMediaAcceptTypes)("fileConfig",e.Dd
1M(19,R)),e.xp6(2),e.Q6J("disabled",t.replyForm.invalid||t.isCommentVideoUploading),e.xp6(2),e.Q6J("ngIf",(t.commentPreview||t.commentVideoPreview)&&t.isReplyImage),e.xp6(1),e.Q6J("ngIf",i.isReplyLoader)}}const N=function(s){return{"has-image":s}};function at(s,l){if(1&s){const i=e.EpF();e.ynx(0),e.TgZ(1,"div",13)(2,"div",14),e.NdJ("click",function(){const o=e.CHM(i).$implicit,_=e.oxw(4);return e.KtG(_.cs.redirectToTopFansV2(null==o?null:o.user,!0))}),e._UZ(3,"img",73),e.qZA(),e.TgZ(4,"div",16)(5,"div",17)(6,"div",18)(7,"div",19)(8,"div",20)(9,"h5"),e._uU(10),e.qZA(),e._UZ(11,"app-tick-icon",21),e.YNc(12,Be,1,0,"em",22),e.qZA()(),e.TgZ(13,"div",23)(14,"span"),e._uU(15),e.ALo(16,"convertDate"),e.qZA(),e.TgZ(17,"div",24)(18,"button",25),e._UZ(19,"em",26),e.qZA(),e.YNc(20,je,10,13,"ul",27),e.qZA()()(),e.YNc(21,ze,5,16,"p",29),e.YNc(22,et,3,10,"div",32),e.YNc(23,it,3,2,"div",33),e.qZA(),e.TgZ(24,"div",35)(25,"label")(26,"input",36),e.NdJ("change",function(n){const _=e.CHM(i).$implicit,m=e.oxw(4);return e.KtG(m.onCommentLike(n,_.pk,_.sk,null==m.items||null==m.items.user?null:m.items.user.email,null==_?null:_.resourceId))}),e.ALo(27,"isLiked"),e.qZA(),e.TgZ(28,"span"),e._uU(29),e.qZA()(),e.TgZ(30,"label",37),e.NdJ("click",function(){const o=e.CHM(i).$implicit,_=e.oxw(2).$implicit,m=e.oxw(2);return e.KtG(m.replyComment(o,_.sk,{}))}),e.TgZ(31,"span"),e._uU(32,"Reply"),e.qZA()()()()(),e.YNc(33,mt,16,20,"ng-container",8),e.BQk()}if(2&s){const i=l.$implicit,t=e.oxw(4);e.xp6(2),e.Q6J("ngClass",e.VKq(19,N,null==i||null==i.user?null:i.user.profile_image_url)),e.xp6(1),e.Q6J("src",i.user.profile_image_url,e.LSH),e.xp6(7),e.AsE(" ",null==i||null==i.user?null:i.user.first_name," ",null==i||null==i.user?null:i.user.last_name," "),e.xp6(1),e.Q6J("creatorData",null==i?null:i.user),e.xp6(1),e.Q6J("ngIf",null==i?null:i.is_subscriber),e.xp6(3),e.hij(" ",e.lcZ(16,15,i.created_at)," "),e.xp6(2),e.Q6J("insideClick",!0),e.xp6(4),e.Q6J("ngIf",null==i?null:i.comment),e.xp6(1),e.Q6J("ngIf",null==i?null:i.video_url),e.xp6(1),e.Q6J("ngIf",(null==i?null:i.image_url)&&!(null!=i&&i.video_url)),e.xp6(3),e.Q6J("checked",e.lcZ(27,17,null==i?null:i.likes))("disabled",t.isCommentLiked),e.xp6(3),e.hij(" ",(null==i?null:i.likes_count)>1?(null==i?null:i.likes_count)+" Likes":((null==i?null:i.likes_count)||"")+" Like"," "),e.xp6(4),e.Q6J("ngIf",(null==t.selectedCommentForReply?null:t.selectedCommentForReply.sk)===i.sk)}}function rt(s,l){if(1&s&&(e.TgZ(0,"div")(1,"div",56),e.YNc(2,He,3,2,"ng-container",8),e.YNc(3,Ye,3,0,"div",6),e.YNc(4,at,34,21,"ng-container",57),e.qZA()()),2&s){const i=e.oxw().$implicit,t=e.oxw(2);e.xp6(2),e.Q6J("ngIf",(null==t.selectedCommentForReply?null:t.selectedCommentForReply.sk)===i.sk),e.xp6(1),e.Q6J("ngIf",!!t.replyCommentsPages.nextPage&&!i.isReplyLoader),e.xp6(1),e.Q6J("ngForOf",t.replyComments)}}function ct(s,l){if(1&s){const i=e.EpF();e.TgZ(0,"div",12)(1,"div")(2,"div",13)(3,"div",14),e.NdJ("click",function(){const o=e.CHM(i).$implicit,_=e.oxw(2);return e.KtG(_.cs.redirectToTopFansV2(null==o?null:o.user,!0))}),e._UZ(4,"img",15),e.qZA(),e.TgZ(5,"div",16)(6,"div",17)(7,"div",18)(8,"div",19)(9,"div",20)(10,"h5"),e._uU(11),e.qZA(),e._UZ(12,"app-tick-icon",21),e.YNc(13,Pe,1,0,"em",22),e.qZA()(),e.TgZ(14,"div",23)(15,"span"),e._uU(16),e.ALo(17,"convertDate"),e.qZA(),e.TgZ(18,"div",24)(19,"button",25),e._UZ(20,"em",26),e.qZA(),e.YNc(21,ke,9,13,"ul",27),e.qZA()()(),e.TgZ(22,"div",28),e.YNc(23,Re,5,16,"p",29),e.YNc(24,Ae,7,9,"div",30),e.YNc(25,Ze,1,1,"ng-template",null,31,e.W1O),e.qZA(),e.YNc(27,De,3,10,"div",32),e.YNc(28,Fe,3,2,"div",33),e.YNc(29,Ne,2,1,"a",34),e.qZA(),e.TgZ(30,"div",35)(31,"label")(32,"input",36),e.NdJ("change",function(n){const _=e.CHM(i).$implicit,m=e.oxw(2);return e.KtG(m.onCommentLike(n,_.pk,_.sk,null==m.items||null==m.items.user?null:m.items.user.email))}),e.ALo(33,"isLiked"),e.qZA(),e.TgZ(34,"span"),e._uU(35),e.qZA()(),e.TgZ(36,"label",37),e.NdJ("click",function(){const o=e.CHM(i).$implicit,_=e.oxw(2);return e.KtG(_.replyComment(o,o.sk,{}))}),e.TgZ(37,"span"),e._uU(38,"Reply"),e.qZA()()()()()(),e.YNc(39,rt,5,3,"div",8),e.qZA()}if(2&s){const i=l.$implicit,t=e.MAs(26),n=e.oxw(2);e.xp6(3),e.Q6J("ngClass",e.VKq(24,N,null==i||null==i.user?null:i.user.profile_image_url)),e.xp6(1),e.Q6J("originalUrl",null==i||null==i.user?null:i.user.profile_image_url)("src",null==i||null==i.user?null:i.user.profile_image_url,e.LSH)("format","webp"),e.xp6(7),e.AsE(" ",null==i||null==i.user?null:i.user.first_name," ",null==i||null==i.user?null:i.user.last_name," "),e.xp6(1),e.Q6J("creatorData",null==i?null:i.user),e.xp6(1),e.Q6J("ngIf",null==i?null:i.is_subscriber),e.xp6(3),e.hij(" ",e.lcZ(17,20,i.created_at)," "),e.xp6(2),e.Q6J("insideClick",!0),e.xp6(
15),e.Q6J("ngIf",null==i?null:i.comment),e.xp6(1),e.Q6J("ngIf",null==i?null:i.complete_Amount)("ngIfElse",t),e.xp6(3),e.Q6J("ngIf",null==i?null:i.video_url),e.xp6(1),e.Q6J("ngIf",(null==i?null:i.image_url)&&!(null!=i&&i.video_url)),e.xp6(1),e.Q6J("ngIf",i.reply_count>0),e.xp6(3),e.Q6J("checked",e.lcZ(33,22,null==i?null:i.likes))("disabled",n.isCommentLiked),e.xp6(3),e.hij(" ",(null==i?null:i.likes_count)>1?(null==i?null:i.likes_count)+" Likes":((null==i?null:i.likes_count)||"")+" Like"," "),e.xp6(4),e.Q6J("ngIf",i.isReply)}}function dt(s,l){1&s&&e._UZ(0,"app-loader")}function pt(s,l){if(1&s&&e._UZ(0,"app-upload-progress",75),2&s){const i=e.oxw(5);e.Q6J("percent",i.commentVideoProgress)}}function ut(s,l){if(1&s&&(e.TgZ(0,"div",72),e._UZ(1,"img",73),e.YNc(2,pt,1,1,"app-upload-progress",74),e.qZA()),2&s){const i=e.oxw(4);e.xp6(1),e.Q6J("src",i.commentPreview||i.commentVideoPreview,e.LSH)("alt",i.COMMENT_VIDEO.PREVIEW.ALT),e.xp6(1),e.Q6J("ngIf",i.isCommentVideoUploading)}}function gt(s,l){if(1&s&&e._UZ(0,"img",76),2&s){const i=e.oxw(4);e.Q6J("src",i.commentPreview,e.LSH)}}function ht(s,l){if(1&s){const i=e.EpF();e.TgZ(0,"div",69),e.YNc(1,ut,3,3,"div",70),e.YNc(2,gt,1,1,"ng-template",null,80,e.W1O),e.TgZ(4,"a",37),e.NdJ("click",function(){e.CHM(i);const n=e.oxw(3);return e.KtG(n.removePreview())}),e._uU(5,"\xd7"),e.qZA()()}if(2&s){const i=e.MAs(3),t=e.oxw(3);e.xp6(1),e.Q6J("ngIf",t.commentVideoPreview)("ngIfElse",i)}}function vt(s,l){if(1&s){const i=e.EpF();e.TgZ(0,"div",58)(1,"div"),e._UZ(2,"app-user-image"),e.qZA(),e.TgZ(3,"div",59,60)(5,"form",61),e.NdJ("ngSubmit",function(){e.CHM(i);const n=e.oxw(2);return e.KtG(n.commentOnPost(n.items))}),e.TgZ(6,"em",62),e.NdJ("click",function(){e.CHM(i);const n=e.MAs(10);return e.KtG(n.click())}),e.qZA(),e.TgZ(7,"input",63,79),e.NdJ("opened",function(){e.CHM(i);const n=e.oxw(2);return e.KtG(n.dashboardService.onMentionPanelOpen())})("closed",function(){e.CHM(i);const n=e.oxw(2);return e.KtG(n.dashboardService.onMentionPanelClosed())})("itemSelected",function(n){e.CHM(i);const o=e.oxw(2);return e.KtG(o.onTaggedUserSelect(n,o.commentForm,"reply_tag"))})("keyup",function(n){e.CHM(i);const o=e.oxw(2);return o.cs.isWhiteSpace(n,o.commentForm),e.KtG(o.checkValue(o.commentForm))}),e.qZA(),e.TgZ(9,"input",65,66),e.NdJ("change",function(n){e.CHM(i);const o=e.oxw(2);return e.KtG(o.uploadComment(n,"comment"))})("mobileFileChange",function(n){e.CHM(i);const o=e.oxw(2);return e.KtG(o.uploadComment(n,"comment",!0))}),e.qZA(),e.TgZ(11,"button",67),e._uU(12," Post "),e.qZA()()(),e.YNc(13,ht,6,2,"div",68),e.qZA()}if(2&s){const i=e.oxw(2),t=e.MAs(4);e.xp6(5),e.Q6J("formGroup",i.commentForm),e.xp6(2),e.Q6J("mentionConfig",e.VKq(16,k,e.WLB(13,w,e.WLB(7,O,i.users,i.onMentionUserSelect),e.WLB(10,I,i.hashTagList,i.onMentionHashtagSelect))))("mentionListTemplate",t),e.xp6(2),e.Q6J("accept",i.commentMediaAcceptTypes)("fileConfig",e.DdM(18,R)),e.xp6(2),e.Q6J("disabled",i.commentForm.invalid||i.isCommentVideoUploading),e.xp6(2),e.Q6J("ngIf",(i.commentPreview||i.commentVideoPreview)&&!i.isReplyImage)}}function Ct(s,l){if(1&s&&(e.TgZ(0,"div",4)(1,"div",5),e.YNc(2,ye,3,0,"div",6),e.YNc(3,ct,40,26,"div",7),e.YNc(4,dt,1,0,"app-loader",8),e.YNc(5,vt,14,19,"div",9),e.qZA()()),2&s){const i=e.oxw();e.xp6(2),e.Q6J("ngIf",!(null==i.commentPages||!i.commentPages.nextPage||null!=i.items&&i.items.isCommentLoader)),e.xp6(1),e.Q6J("ngForOf",i.comments),e.xp6(1),e.Q6J("ngIf",null==i.items?null:i.items.isCommentLoader),e.xp6(1),e.Q6J("ngIf",!(null!=i.items&&i.items.isCommentLoader))}}function ft(s,l){1&s&&e._UZ(0,"app-at-tagging-user",81),2&s&&e.Q6J("mentionListTemplate",l.item)}let xt=(()=>{const l=class{constructor(t,n,o,_,m,p,h,v,C,f){this.cs=t,this.fb=n,this.uploadService=o,this.modalService=_,this.store=m,this.authService=p,this.modalHandlerService=h,this.mediaDownload=v,this.commentVideoService=C,this.isLikeAllowed=!0,this.isCommentAllowed=!0,this.isReplyAllowed=!0,this.isReportAnInappropriate=!0,this.isResourceType=!1,this.isWelcomeVideoComment=!1,this.useExternalDelete=!1,this.canDownloadAttachments=!1,this.commentMediaFilePrefix=r.Mx.COMMENT,this.getCommentEmit=new e.vpe,this.getReplyCommentEmit=new e.vpe,this.commentLikeStatusEmit=new e.vpe,this.commentWithoutImageEmit=new e.vpe,this.commentWithImageEmit=new e.vpe,this.replyWithoutImageEmit=new e.vpe,this.replyWithImageEmit=new e.vpe,this.getReplyPagesEmit=new e.vpe,this.deleteCommentEmit=new e.vpe,this.comments=[],this.replyComments=[],this.showReplyInput=!1,this.replyCommentsPages={nextPage:r.Mx.ONE,previousPage:r.Mx.ZERO,total:r.Mx.ZERO,totalPages:r.Mx.ZERO,sk:"",lastEvaluatedKey:{}},this.commentPages={nextPage:r.Mx.ONE,previousPage:r.Mx.ZERO,total:r.Mx.ZERO,totalPages:r.Mx.ZERO,sk:"",lastEvaluatedKey:{}},this.taggingUsers=[],this.isLikeDisabled=!1,this.isCommentLiked=!1,this.isReplyImage=!1,this.commentVideoPreview="",this.commentVideoSelection=null,this.commentVideoUpload=null,this.commentVideoProgress=r.Mx.ZERO,this.isCommentVideoUploading=!1,this.fileObject={},this.userProfile={},this.translationModules=E.e2,this.feedPosts=[],this.reportedIndex=null,this.previewImages=[],this.users=[],this.hashTagList=[],this.restrictedImages=[],this.MEDIA_DOWNLOAD_LABELS=X.i0,this.application=r.Mx,this.commentMediaAcceptTypes=c.jc.ACCEPT_TYPES,this.COMMENT_VIDEO=c.jc,this.subscriptionList=[],this.videoUploadSubscription=null,this.destroy$=new T.x,this.onMentionUserSelect=g=>(this.setTeggedUsers(g),`@${g.first_name} ${g.last_name} `),this.setTeggedUsers=g=>{const A=Object.assign({user_name:g.user_name,sk:g?.sk,pk:g?.pk,first_name:g.first_name,last_name:g.last_name,profile_pic:g.profile_image_url});this.taggingUsers=[...this.taggingUsers||[],A]},this.onMentionHashtagSelect=g=>`#${g?.tag_name?.replaceAll(/\s/g,"")??""} `,this.dashboardService=f.get(B.w)}ngOnChanges(t){t?.items?.currentValue&&!V()(t?.items.currentValue,t.items.previousValue)&&this.onComments(this.items)}
1ngOnInit(){this.userProfileSubscription(),this.initCommentForm(),this.initReplyForm(),this.searchUsers(),this.getHashTags(),this.handleSubscriptions(),this.whiteLabelConfig=this.cs.getWhiteLabelConfiguration()}handleSubscriptions(){this.cs.getCommentHandling.pipe((0,u.R)(this.destroy$)).subscribe(t=>{t&&(t.status?(this.isCommentLoaderFalse(!1),t.isLoadMore?this.comments.unshift(...[...t.data.items].reverse()):this.comments=[...t.data.items].reverse(),this.commentPages={nextPage:t.data.nextPage,previousPage:t.data.previousPage,total:t.data.total,totalPages:t.data.totalPages,sk:t?.items.sk,lastEvaluatedKey:t?.lastEvaluatedKey},(this.isResourceType||this.items?.is_ad)&&(this.commentPages.nextPage=t?.lastEvaluatedKey?.pk,this.commentPages.sk=t?.lastEvaluatedKey?.sk),this.isReplyLoaderFalse(null,!1)):this.isCommentLoaderFalse(!1))}),this.cs.getReplyCommentHandling.pipe((0,u.R)(this.destroy$)).subscribe(t=>{t&&(t.status?(this.isReplyLoaderFalse(t.commentId,!1),t?.data?.items?.forEach(n=>{n.resourceId=t?.resourceId||""}),this.replyComments=[...t.data.items].reverse(),this.replyCommentsPages={nextPage:t.data.nextPage,previousPage:t.data.previousPage,total:t.data.total,totalPages:t.data.totalPages,sk:t.commentKey,lastEvaluatedKey:t?.lastEvaluatedKey},(this.isResourceType||this.items?.is_ad)&&(this.replyCommentsPages.nextPage=t?.lastEvaluatedKey?.pk,this.replyCommentsPages.sk=t?.lastEvaluatedKey?.sk)):this.isReplyLoaderFalse(t.commentId,!1))}),this.cs.commentLikeStatus.pipe((0,u.R)(this.destroy$)).subscribe(t=>{t&&(t.status?(this.isCommentLiked=!1,this.handleCommentLikeStatus(t.event,t.commentKey)):(this.isCommentLiked=!1,t.event.target.checked=!t.event.target.checked))}),this.cs.commentWithoutImage.pipe((0,u.R)(this.destroy$)).subscribe(t=>{t&&(this.commentForm.get(c._u.COMMENT)?.enable(),t.status?(this.isCommentLoaderFalse(!1),this.setNewComment(t.data)):this.isCommentLoaderFalse(!1))}),this.cs.commentWithImage.pipe((0,u.R)(this.destroy$)).subscribe(t=>{t&&(t.status&&(this.setNewComment(t.data),this.resetAttachment(),this.commentForm.get(c._u.COMMENT).addValidators([d.kI.required]),this.commentForm.get(c._u.COMMENT).updateValueAndValidity(),this.replyForm.get(c._u.COMMENT).addValidators([d.kI.required]),this.replyForm.get(c._u.COMMENT).updateValueAndValidity(),this.isCommentLoaderFalse(!1)),this.commentForm.get(c._u.COMMENT)?.enable())}),this.cs.replyWithImage.pipe((0,u.R)(this.destroy$)).subscribe(t=>{t&&(this.replyForm.get(c._u.COMMENT)?.enable(),t.status?(this.isReplyLoaderFalse(t.encCommentId,!1),this.setReplyComment(t.data,t.encCommentId),this.resetAttachment(),this.commentForm.get(c._u.COMMENT).addValidators([d.kI.required]),this.commentForm.get(c._u.COMMENT).updateValueAndValidity(),this.replyForm.get(c._u.COMMENT).addValidators([d.kI.required]),this.replyForm.get(c._u.COMMENT).updateValueAndValidity()):this.isReplyLoaderFalse(t.encCommentId,!1))}),this.cs.replyWithoutImage.pipe((0,u.R)(this.destroy$)).subscribe(t=>{t&&(this.replyForm.get(c._u.COMMENT)?.enable(),t.status?this.setReplyComment(t.data,t.encCommentId):this.isReplyLoaderFalse(t.encCommentId,!1))}),this.cs.getReplyPages.pipe((0,u.R)(this.destroy$)).subscribe(t=>{t&&(t.status?(this.isReplyLoaderFalse(t.commentId,!1),this.replyComments.unshift(...[...t.res?.data?.items].reverse()),this.replyCommentsPages={nextPage:t?.res?.data?.nextPage,previousPage:t?.res?.data?.previousPage,total:t?.res?.data?.total,totalPages:t?.res?.data?.totalPages,sk:t?.commentId,lastEvaluatedKey:t?.res?.LastEvaluatedKey},(this.isResourceType||this.items?.is_ad)&&(this.replyCommentsPages.nextPage=t?.res?.LastEvaluatedKey?.pk,this.replyCommentsPages.sk=t?.res?.LastEvaluatedKey?.sk)):this.isReplyLoaderFalse(t?.commentId,!1))}),this.cs.onReportSuccess.pipe((0,u.R)(this.destroy$)).subscribe({next:t=>{if(t?.status)switch(t.type){case c._u.CAP_COMMENT:this.comments=this.comments.filter((n,o)=>o!==this.reportedIndex),this.cs.onReportCommentSuccessHandler.next({comments:this.comments,type:t.type});break;case c._u.CAP_REPLY:this.replyComments=this.replyComments.filter((n,o)=>o!==this.reportedIndex),this.cs.onReportCommentSuccessHandler.next({replyComments:this.replyComments,type:t.type})}this.reportedIndex=null}}),this.cs.deleteCommentHandling.pipe((0,u.R)(this.destroy$)).subscribe(t=>
1{if(t?.status&&t.userPost?.sk===this.items?.sk)if(t.type===c._u.COMMENT){this.commentPages.total-=(t.comment?.reply_count??r.Mx.ZERO)+r.Mx.ONE,this.commentPages?.total<r.Mx.ZERO&&(this.commentPages.total=r.Mx.ZERO);const o=this.comments.findIndex(_=>_.sk===t.comment?.sk);o>-1&&this.comments.splice(o,r.Mx.ONE)}else if(t.type===c._u.REPLY){this.replyCommentsPages.total--,this.replyCommentsPages.total<r.Mx.ZERO&&(this.replyCommentsPages.total=r.Mx.ZERO);const n=this.replyComments.findIndex(o=>o.sk===t.reply?.sk);n>-1&&this.replyComments.splice(n,r.Mx.ONE)}})}onComments(t){this.resetAttachment(),this.commentForm?.reset(),this.getComment(t),this.commentForm?.get(c._u.COMMENT)?.addValidators([d.kI.required]),this.commentForm?.get(c._u.COMMENT)?.updateValueAndValidity(),this.commentForm?.get(c._u.REPLY_TAG)?.patchValue([])}scrollToCommentInput(){setTimeout(()=>{this.commentInput?.nativeElement&&this.commentInput?.nativeElement.scrollIntoView({behavior:"smooth",block:"center"})},100)}getComment(t){this.comments=[],this.isCommentLoaderFalse(!0);const n=this.getPostId(t);this.getCommentEmit.emit({encSK:n,page:1,isPinned:t?.pinned||!1,items:t})}deleteComment(t,n,o,_){if(this.useExternalDelete)return void this.deleteCommentEmit.emit({type:t,userPost:n,comment:o,reply:_});const m=this.cs.encodeToUTF(t===c._u.REPLY?_.pk:o.pk),p=this.cs.encodeToUTF(t===c._u.REPLY?_.sk:o.sk),h=t===c._u.REPLY?this.cs.encodeToUTF(o.pk):void 0;this.isResourceType&&(t=t===c._u.REPLY?c._u.RESOURCE_REPLY:c._u.RESOURCE_COMMENT);const v=Object.assign({email:n?.user?.gsi4pk,postId:m,commentId:p,type:t,replyId:h,isPinned:n.pinned});n?.is_ad&&(v.is_ad=!0,v.advertiser_id=n?.advertiser_id),this.cs.closeWelcomeVideoModal.next(!0),this.modalRef=this.modalService.show(W.y,{initialState:v,backdrop:"static"}),this.modalRef.onHide.subscribe(C=>{if(!0!==C||t!==c._u.COMMENT&&t!==c._u.RESOURCE_COMMENT){if(!0===C&&(t===c._u.REPLY||t===c._u.RESOURCE_REPLY)){n.comments_count--,n?.comments_count<r.Mx.ZERO&&(n.comments_count=r.Mx.ZERO),o.reply_count--,o?.reply_count<r.Mx.ZERO&&(o.reply_count=r.Mx.ZERO),this.replyCommentsPages.total--,this.replyCommentsPages.total<r.Mx.ZERO&&(this.replyCommentsPages.total=r.Mx.ZERO);const f=this.replyComments.findIndex(g=>g.sk===_.sk);this.replyComments.splice(f,r.Mx.ONE),this.isWelcomeVideoComment&&this.cs.deleteWelcomeVideoCommentData.next({type:c._u.REPLY,data:this.replyComments,reply_count:o.reply_count,comment_id:o.sk})}}else{const f=(o.reply_count??r.Mx.ZERO)+r.Mx.ONE;n.comments_count-=f,n?.comments_count<r.Mx.ZERO&&(n.comments_count=r.Mx.ZERO),this.commentPages.total-=f,this.commentPages?.total<r.Mx.ZERO&&(this.commentPages.total=r.Mx.ZERO);const g=this.comments.findIndex(A=>A.sk===o.sk);this.comments.splice(g,r.Mx.ONE),this.isWelcomeVideoComment&&this.cs.deleteWelcomeVideoCommentData.next({type:c._u.COMMENT,data:this.comments})}})}
1initCommentForm(){const t=new d.p4("",[d.kI.required]);this.commentForm=this.fb.group({reply_tag:new d.p4(null),image_url:new d.p4(""),video_url:new d.p4(""),comment:t});const n=this.dashboardService.onSearch(t);this.subscriptionList.push(n)}initReplyForm(){const t=new d.p4("",[d.kI.required]);this.replyForm=this.fb.group({reply_tag:new d.p4(null,[d.kI.required]),image_url:new d.p4(""),video_url:new d.p4(""),comment:t});const n=this.dashboardService.onSearch(t);this.subscriptionList.push(n)}replyComment(t,n,{showLoader:o=!0},_=!1){this.selectedCommentForReply=t,this.isReplyLoaderFalse(n,o),this.getReplyComments(n,t),this.replyForm?.get("comment").addValidators([d.kI.required]),this.replyForm.get("comment").patchValue(`@${t.user?.first_name} ${t.user?.last_name} `),this.replyForm.get("reply_tag").patchValue([{first_name:t.user?.first_name,last_name:t.user?.last_name,sk:t?.user?.sk,pk:t?.user?.pk,user_name:t.user?.user_name,profile_pic:t.user?.profile_image_url}]),this.replyForm.get("comment").updateValueAndValidity(),this.comments.forEach(m=>{m.isReply=m.sk===n}),this.showReplyInput=_}isReplyLoaderFalse(t,n){this.comments=this.comments.map(o=>({...o,isReplyLoader:n&&o.sk===t}))}getReplyComments(t,n={}){const o=this.cs.encodeToUTF(t);this.getReplyCommentEmit.emit({commentKey:t,commentId:o,commentItem:n})}onCommentLike(t,n,o,_,m=""){this.cs.setGTag("comment-likes","commentLike");const p=this.cs.encodeToUTF(n),h=this.cs.encodeToUTF(o);this.isCommentLiked=!0,this.commentLikeStatusEmit.emit({postId:p,commentId:h,commentKey:o,checkbox:t,postCreator:_,resourceId:m,is_ad:this.items?.is_ad||!1,advertiser_id:this.items?.advertiser_id||""})}uploadComment(t,n,o=!1){if(o){const _=t?.map(m=>(0,U.qM)(m.uri,m.fileName));this.handleUploadComment(_,n)}else this.handleUploadComment(t.target.files,n)}handleUploadComment(t,n){const o=t?.[r.Mx.ZERO];o&&(this.isVideoFile(o)?this.handleUploadCommentVideo(o,n):(this.commentForm.get("comment").removeValidators(d.kI.requiredTrue),this.replyForm.get("comment").removeValidators(d.kI.requiredTrue),this.cancelVideoUpload(),this.releaseVideoSelection(),this.fileObject={},this.cs.isValidFile(o)?this.commentVideoService.compressCommentImage(o).then(m=>{"reply"===n?(this.isReplyImage=!0,this.replyForm.get("comment").removeValidators([d.kI.required]),this.replyForm.get("comment").updateValueAndValidity()):(this.isReplyImage=!1,this.commentForm.get("comment").removeValidators([d.kI.required]),this.commentForm.get("comment").updateValueAndValidity());const p=m,h=new FileReader;h.readAsDataURL(p),h.onload=v=>{this.commentPreview=v.target.result;const C=`${this.commentMediaFilePrefix+Date.now()}_${p.name.toLowerCase().split(" ").join("_")}`;this.fileObject={file:p,fileName:C,folder:r.D4.ProfileFolder}}}).catch(()=>{this.cs.showErrorMessage(x.Vm.SOMETHING_WENT_WRONG)}):(this.cs.showErrorMessage(x.Vm.INVALID_FILE_TYPE),this.removePreview())))}handleCommentLikeStatus(t,n){this.comments.forEach(o=>{o.sk===n&&(t.target?.checked?o.likes_count=(o.likes_count||r.Mx.ZERO)+r.Mx.ONE:o?.likes_count>r.Mx.ZERO&&(o.likes_count=(o.likes_count||r.Mx.ZERO)-r.Mx.ONE))})}removePreview(){this.resetAttachment(),this.commentForm.patchValue({image_url:"",video_url:""}),this.replyForm.patchValue({image_url:"",video_url:""}),this.commentForm.get("comment").addValidators([d.kI.required]),this.commentForm.get("comment").updateValueAndValidity(),this.replyForm.get("comment").addValidators([d.kI.required]),this.replyForm.get("comment").updateValueAndValidity()}onCommentsPages(t){this.isCommentLoaderFalse(!0);const n=this.getPostId(t);this.getCommentEmit.emit({encSK:n,page:this.commentPages.sk!=t.sk?r.Mx.ONE:this.commentPages.nextPage,isPinned:t?.pinned||!1,items:t,isLoadMore:!0,isLoader:!0,lastEvaluatedKey:this.commentPages.lastEvaluatedKey})}getPostId(t){return this.cs.encodeToUTF(t.pinned&&t?.original_sk?t?.original_sk:t.sk)}isCommentLoaderFalse(t){this.items.isCommentLoader=!!t}commentOnPost(t){if(this.authService.isAuthenticated()){this.commentForm.get(c._u.COMMENT)?.disable(),this.isCommentLoaderFalse(!0),this.cs.setGTag(c._u.TOTAL_COMMENTS,c._u.COMMENT),this.commentForm.value.is_pinned=t.pinned;const n=this.cs.encodeToUTF(t?.user?.gsi4pk),o=this.getPostId(t);this.commentVideoUpload?this.commentWithVideo(t?.user,t.sk,n,o):Object.keys(this.fileObject).length===r.Mx.ZERO?this.commentWithoutImage(t?.user,n,o,t.sk):this.commentWithImage(t?.user,t.sk,n,o)}else this.loginDialog()}commentWithoutImage(t,n,o,_){if(this.authService.isAuthenticated()){const m={...this.commentForm.getRawValue(),is_pinned:this.commentForm.value.is_pinned||!1};this.commentWithoutImageEmit.emit({pk:n,encSK:o,formData:m,user:t,sk:_})}else this.loginDialog()}loginDialog(t){this.modalRef=this.modalService.show(Y.D,{initialState:Object.assign({status:t})})}showInappropriateContent(t){t.appropriate_content=!t.appropriate_content}commentWithImage(t,n,o,_){this.restrictedImages=[],this.uploadService.uploadFileData(b.Y9.uploadFile,this.fileObject).pipe((0,u.R)(this.destroy$)).subscribe({next:m=>{if(m.progressStatus===r.Mx.RESTRICTED&&m.restrictedImage)return this.restrictedImages.push(m.restrictedImage),this.isCommentLoaderFalse(!1),this.modalHandlerService.showRestrictedContentCarouselModal(this.restrictedImages),void this.commentForm.get(c._u.COMMENT)?.enable();m.progressStatus===r.Mx.COMPLETED&&(this.commentForm.patchValue({image_url:m.data}),this.commentWithImageEmit.emit({encPK:o,encSK:_,formData:this.commentForm.getRawValue(),user:t,sk:n}))},error:m=>{this.commentForm.get(c._u.COMMENT)?.enable(),this.isCommentLoaderFalse(!1),m?.statusCode===y.SM.RESTRICTED_CONTENT&&m?.restrictedImage?(this.restrictedImages.push(m.restrictedImage),this.modalHandlerService.showRestrictedContentCarouselModal(this.restrictedImages)):this.cs.showErrorMessage(x.Vm.SOMETHING_WENT_WRONG)}})}commentWithVideo(t,n,o,_){const m=this.commentVideoUpload;m&&(this.restrictedImages=[],this.commentForm.patchValue(m),this.commentWithImageEmit.emit({encPK:o,encSK:_,formData:this.commentForm.getRawValue(),user:t,sk:n}))}setNewComment(t){this.selectedCommentForReply=void 0;let n={};this.store.select(D.SJ).pipe((0,u.R)(this.destroy$)).subscribe(_=>{n=_});
1const o={comment:this.commentForm.value.comment,image_url:this.commentForm.value.image_url,video_url:this.commentForm.value.video_url,download_url:t?.data?.download_url,reply_tag:this.commentForm.value.reply_tag,user_tag:t.data?.user_tag??[],created_at:Date.now(),pk:t.pk,sk:t.sk,user:n,language:t.data?.language,is_subscriber:t?.data?.is_subscriber};this.comments.push(o),this.commentForm.reset()}userProfileSubscription(){this.store.select(D.SJ).pipe((0,u.R)(this.destroy$)).subscribe(t=>{t.sk&&(this.userProfile=t,this.cs.setMyProfile(this.userProfile.email))})}showSubscriptionEndModal(t){this.modalService.show(Q.H,{initialState:{message:E.R.TO_COMMENT_YOU_NEED_TO_SUBSCRIBER,userid:t?.user_name,userProfile:t,descriptionText:E.R.SUBSCRIPTION_MESSAGE},backdrop:"static"})}handleApiError(t,n){t?.message===E.R.NEED_TO_SUBSCRIBE_TO_COMMENT_ON_POST?this.showSubscriptionEndModal(n):this.cs.showErrorMessage(t.message)}reportComment(t,n,o){this.reportedIndex=o,this.reportUserAsInappropiateDialog("COMMENT",{post:t,comment:n},n.user)}reportReply(t,n,o,_){this.reportedIndex=_,this.reportUserAsInappropiateDialog("REPLY",{post:t,comment:n,reply:o},o.user)}reportUserAsInappropiateDialog(t,n,o){this.cs.closeWelcomeVideoModal.next(!0),this.modalRef=this.modalService.show($.Q,{initialState:{type:t,data:n,user:o},backdrop:"static"})}blockUser(t){const n=Object.assign({first_name:t?.user?.first_name,last_name:t?.user?.last_name,email:t?.user?.email,userId:t?.user?.gsi4pk});this.cs.closeWelcomeVideoModal.next(!0),this.modalRef=this.modalService.show(G.V,{initialState:n,class:"modal-sm",backdrop:"static"}),this.modalRef.onHidden.subscribe(o=>{"success"===o&&(this.comments=this.comments.filter(_=>_.user?.gsi4pk!==t?.user?.gsi4pk))})}openImagePreview(t){this.previewImages=[],this.previewImages.push({url:t}),this.overlay&&this.overlay.openOverlay()}canDownloadMedia(t){return this.canDownloadAttachments&&this.mediaDownload.canDownload(t?.download_url,t?.video_url||t?.image_url)}isDownloadingMedia(t){return this.mediaDownload.isDownloading(t)}onDownloadMedia(t,n){t.stopPropagation(),this.mediaDownload.download(n?.download_url,n?.video_url||n?.image_url)}getReplyPages(t){const n=this.replyCommentsPages.sk!=t?r.Mx.ONE:this.replyCommentsPages.nextPage;this.isReplyLoaderFalse(t,!0),this.getReplyPagesEmit.emit({commentId:t,pageNumber:n,lastEvaluatedKey:this.replyCommentsPages.lastEvaluatedKey})}onTaggedUserSelect(t,n,o){if(t?.gsi4pk){const _=n?.get(o);if(_ instanceof d.TO){const m=_.value||[];m?.find(h=>h.user_name==t?.user_name)||(m.push({first_name:t?.first_name,last_name:t?.last_name,sk:t?.sk,pk:t?.pk,user_name:t?.user_name,profile_pic:t?.profile_image_url}),_.patchValue(m))}}}searchUsers(){const t=this.dashboardService.atTaggingUsers.subscribe(n=>{this.users=n});this.subscriptionList.push(t)}checkValue(t){t.value.comment>r.Mx.ONE_THOUSAND&&(t.addValidators(d.kI.requiredTrue),t.get("comment").updateValueAndValidity()),this.taggingUsers.length&&this.taggingUsers.forEach(n=>{if(t.value.comment?.includes(`@${n.first_name} ${n.last_name}`))return!1;{t.patchValue({description:t.value.comment?.replaceAll(`@${n.first_name} ${n.last_name}`,"").replace(/\s{2,}/g," ").trim()});const o=this.taggingUsers?.filter(_=>_.user_name!==n.user_name);return this.taggingUsers=o||[],this.taggingUsers}}),this.dashboardService.setMentionModals(this.cardsMessageForm)}replyOnComment(t,n,o,_,m){if(this.authService.isAuthenticated()){this.replyForm.get(c._u.COMMENT)?.disable(),this.isReplyLoaderFalse(o,!0);const p=this.cs.encodeToUTF(n),h=this.cs.encodeToUTF(o);this.commentVideoUpload?this.replyWithVideo(t,p,h,_,m):Object.keys(this.fileObject).length===r.Mx.ZERO?this.replyWithoutImage(t,p,h,_,m):this.replyWithImage(t,p,h,_,m)}else this.loginDialog()}buildReplyPayloadFormData(){const t={...this.replyForm.getRawValue()},n=this.items?.forum_owner?.gsi4pk;return n&&(t.forum_user=n),t}replyWithImage(t,n,o,_,m){this.restrictedImages=[],this.uploadService.uploadFileData(b.Y9.uploadFile,this.fileObject).pipe((0,u.R)(this.destroy$)).subscribe({next:p=>{if(p.progressStatus===r.Mx.RESTRICTED&&p.restrictedImage)return this.restrictedImages.push(p.restrictedImage),this.isReplyLoaderFalse(o,!1),this.modalHandlerService.showRestrictedContentCarouselModal(this.restrictedImages),void this.replyForm.get(c._u.COMMENT)?.enable();p.progressStatus===r.Mx.COMPLETED&&(this.replyForm.patchValue({image_url:p.data}),this.replyWithImageEmit.emit({encPostId:n,encCommentId:o,userId:_,formData:this.buildReplyPayloadFormData(),postSK:m,user:t}))},error:p=>{this.replyForm.get(c._u.COMMENT)?.enable(),this.isReplyLoaderFalse(o,!1),p?.statusCode===y.SM.RESTRICTED_CONTENT&&p?.restrictedImage?(this.restrictedImages.push(p.restrictedImage),this.modalHandlerService.showRestrictedContentCarouselModal(this.restrictedImages)):this.cs.showErrorMessage(x.Vm.SOMETHING_WENT_WRONG)}})}replyWithVideo(t,n,o,_,m){const p=this.commentVideoUpload;p&&(this.restrictedImages=[],this.replyForm.patchValue(p),this.replyWithImageEmit.emit({encPostId:n,encCommentId:o,userId:_,formData:this.buildReplyPayloadFormData(),postSK:m,user:t}))}replyWithoutImage(t,n,o,_,m){this.replyWithoutImageEmit.emit({user:t,encPostId:n,encCommentId:o,userId:_,postSK:m,formData:this.buildReplyPayloadFormData()})}
1getHashTags(){this.dashboardService.fetchHashTagList().subscribe(t=>{this.hashTagList=t.data,(0,U.z7)(this.hashTagList)})}setReplyComment(t,n){this.selectedCommentForReply=void 0,this.isReplyLoaderFalse(n,!1);const o={comment:this.replyForm.value.comment||t?.data?.comment,image_url:this.replyForm.value.image_url||t?.data?.image_url,video_url:this.replyForm.value.video_url||t?.data?.video_url,download_url:t?.data?.download_url,reply_tag:this.replyForm.value.reply_tag||t?.data?.reply_tag,user_tag:t?.data?.user_tag??[],pk:t.pk,sk:t.sk,user:this.userProfile,language:t.data?.language,resourceId:t?.resource_id,is_subscriber:t?.data?.is_subscriber};this.comments.filter(_=>{this.cs.encodeToUTF(_.sk)===n&&(_.reply_count=(_.reply_count||r.Mx.ZERO)+r.Mx.ONE)}),Array.isArray(this.replyComments)||(this.replyComments=[]),this.replyComments.push(o),this.replyForm.reset()}ngOnDestroy(){this.releaseVideoSelection(),this.subscriptionList.forEach(t=>t?.unsubscribe()),this.destroy$.next(),this.destroy$.complete()}handleUploadCommentVideo(t,n){this.resetAttachment(),this.videoUploadSubscription=this.commentVideoService.attachCommentVideo(t,this.commentMediaFilePrefix).pipe((0,u.R)(this.destroy$)).subscribe({next:o=>this.applyVideoAttachment(o,n),error:o=>{this.resetAttachment(),this.handleVideoUploadError(o)}})}applyVideoAttachment(t,n){if(this.commentVideoSelection=t.selection,this.commentVideoProgress=t.progress,this.commentVideoUpload=t.result||null,this.isCommentVideoUploading=!t.result,t.status!==c.jc.UPLOAD_STATUS.SELECTED)return;this.commentVideoPreview=t.selection.videoObjectUrl,this.commentPreview=t.selection.posterDataUrl,this.isReplyImage=n===c._u.REPLY;const o=this.isReplyImage?this.replyForm:this.commentForm;o.get(c._u.COMMENT)?.removeValidators([d.kI.required]),o.get(c._u.COMMENT)?.updateValueAndValidity()}isVideoFile(t){if(t.type?.startsWith("video/"))return!0;const n=t.name?.toLowerCase()||"";return r.Mx.VIDEO_ACCEPT_TYPES.split(",").some(o=>n.endsWith(o.trim().toLowerCase()))}releaseVideoSelection(){this.commentVideoSelection&&(this.commentVideoService.releaseSelection(this.commentVideoSelection),this.commentVideoSelection=null)}resetAttachment(){this.cancelVideoUpload(),this.releaseVideoSelection(),this.fileObject={},this.commentPreview="",this.commentVideoPreview=""}cancelVideoUpload(){this.videoUploadSubscription?.unsubscribe(),this.videoUploadSubscription=null,this.commentVideoUpload=null,this.commentVideoProgress=r.Mx.ZERO,this.isCommentVideoUploading=!1}handleVideoUploadError(t){if(t?.statusCode===y.SM.RESTRICTED_CONTENT&&t?.restrictedImage)return this.restrictedImages.push(t.restrictedImage),void this.modalHandlerService.showRestrictedContentCarouselModal(this.restrictedImages);this.cs.showErrorMessage(x.Vm.SOMETHING_WENT_WRONG)}};let s=l;return l.\u0275fac=function(n){return new(n||l)(e.Y36(J.v),e.Y36(d.QS),e.Y36(K.C
1),e.Y36(te.tT),e.Y36(ie.yh),e.Y36(H.AuthService),e.Y36(j.Y),e.Y36(z.t),e.Y36(ee.K),e.Y36(e.zs3))},l.\u0275cmp=e.Xpm({type:l,selectors:[["app-comments"]],viewQuery:function(n,o){if(1&n&&(e.Gf(Ee,5),e.Gf(Me,5),e.Gf(Te,5)),2&n){let _;e.iGM(_=e.CRH())&&(o.overlay=_.first),e.iGM(_=e.CRH())&&(o.cardsMessageForm=_.first),e.iGM(_=e.CRH())&&(o.commentInput=_.first)}},inputs:{isLikeAllowed:"isLikeAllowed",isCommentAllowed:"isCommentAllowed",isReplyAllowed:"isReplyAllowed",isReportAnInappropriate:"isReportAnInappropriate",items:"items",isResourceType:"isResourceType",isWelcomeVideoComment:"isWelcomeVideoComment",useExternalDelete:"useExternalDelete",canDownloadAttachments:"canDownloadAttachments",commentMediaFilePrefix:"commentMediaFilePrefix"},outputs:{getCommentEmit:"getCommentEmit",getReplyCommentEmit:"getReplyCommentEmit",commentLikeStatusEmit:"commentLikeStatusEmit",commentWithoutImageEmit:"commentWithoutImageEmit",commentWithImageEmit:"commentWithImageEmit",replyWithoutImageEmit:"replyWithoutImageEmit",replyWithImageEmit:"replyWithImageEmit",getReplyPagesEmit:"getReplyPagesEmit",deleteCommentEmit:"deleteCommentEmit"},features:[e.TTD],decls:5,vars:2,consts:[["class","cards-comment",4,"ngIf"],[3,"images"],["overlay",""],["mentionListTemplate",""],[1,"cards-comment"],[1,"cards-comment-list"],["class","cards-comment-viewmore",4,"ngIf"],["class","cards-comment-item",4,"ngFor","ngForOf"],[4,"ngIf"],["class","cards-comment-post",4,"ngIf"],[1,"cards-comment-viewmore"],["type","button",3,"click"],[1,"cards-comment-item"],[1,"cards-comment-row"],[1,"profileImage","decoration-none",3,"ngClass","click"],["appDisableRightClick","","appMobileOptimization","","alt","Profile","loading","lazy","decoding","async",3,"originalUrl","src","format"],[1,"cards-comment-box"],[1,"cards-comment-content"],[1,"cards-comment-head"],[1,"cards-comment-headleft"],[1,"profileImage-title","comment-profile-title"],["cls","sm",3,"creatorData"],["class","icon-subsribe icon-subs",4,"ngIf"],[1,"cards-comment-headRight"],["dropdown","",1,"btn-group","theme-dropdown-2",3,"insideClick"],["dropdownToggle","","type","button",1,"dropdown-toggle"],[1,"icon-more"],["class","dropdown-menu dropdown-menu-right","role","menu",4,"dropdownMenu"],[1,"cards-comment-tip"],[3,"appTranslate","pk","sk","postData","type","targetLanguage",4,"ngIf"],["class","amountTip",4,"ngIf","ngIfElse"],["showAmount",""],["class","cards-comment-video",4,"ngIf"],["class","cards-comment-image",4,"ngIf"],["class","repliesComment",3,"click",4,"ngIf"],[1,"cards-comment-reply"],["type","checkbox","name","likeReply",1,"decoration-none",3,"checked","disabled","change"],[3,"click"],[1,"icon-subsribe","icon-subs"],["role","menu",1,"dropdown-menu","dropdown-menu-right"],["role","menuitem",4,"ngIf"],["role","menuitem"],[1,"dropdown-item",3,"click"],["type","button",1,"dropdown-item",3,"click"],[3,"appTranslate","pk","sk","postData","type","targetLanguage"],[1,"amountTip"],[3,"price","rate","symbol","showOnlyCurrency"],["class","amountTip",4,"ngIf"],[1,"cards-comment-video"],[3,"post","posterImage","autoPlay","muted","setAspectRatio","fitPosterAspect","videoHeightClass","skipIntersectionObserver","hideBigPlayButton"],["type","button","class","media-download-btn",3,"is-downloading","disabled","click",4,"ngIf"],["type","button",1,"media-download-btn",3,"disabled","click"],[1,"icon-litedownload"],[1,"cards-comment-image"],["appDisableRightClick","","alt","",3,"src","click"],[1,"repliesComment",3,"click"],[1,"cards-comment-item","item-reply"],[4,"ngFor","ngForOf"],[1,"cards-comment-post"],[1,"cards-message-form"],["cardsMessageForm",""],[3,"formGroup","ngSubmit"],[1,"icon-forum-cam","icon-imageUpload",3,"click"],["type","text","placeholder","Write a comment...","formControlName","comment",1,"comment-form-contorl",3,"mentionConfig","mentionListTemplate","opened","closed","itemSelected","keyup"],["replyCommentInput",""],["type","file","name","imageComment","id","imageComment","appMobileBridgeFileInput","",1,"d-none",3,"accept","fileConfig","change","mobileFileChange"],["imageComment",""],["type","submit",1,"comment-form-post",3,"disabled"],["class","cards-imagePreview",4,"ngIf"],[1,"cards-imagePreview"],["class","cards-videoPreview",4,"ngIf","ngIfElse"],["replyImagePreview",""],[1,"cards-videoPreview"],["appDisableRightClick","",3,"src","alt"],[3,"percent",4,"ngIf"],[3,"percent"],["appDisableRightClick","","alt","",3,"src"],["class","dropdown-item","type","button",3,"click",4,"ngIf"],["nestedReplyImagePreview",""],["commentInput",""],["commentImagePreview",""],[3,"mentionListTemplate"]],template:function(n,o){1&n&&(e.YNc(0,Ct,6,4,"div",0),e._UZ(1,"app-image-overlay",1,2),e.YNc(3,ft,1,1,"ng-template",null,3,e.W1O)),2&n&&(e.Q6J("ngIf",null==o.items?null:o.items.isComment),e.xp6(1),e.Q6J("images",o.previewImages))},dependencies:[ne.e,M.mk,M.sg,M.O5,d._Y,d.Fj,d.JJ,d.JL,d.sg,d.u,P.Hz,P.Mq,P.TO,oe.mh,se.D,q.e,_e.U,le.H,me.m,ae.J,re.l,ce.R,de._,pe.H,ue.h,ge.P,M.JJ,he.B,ve.c,Ce.F,F.dY,F.KH,fe.i,xe.Dq],styles:[".profileImage-title[_ngcontent-%COMP%]{display:flex;gap:6px;align-items:flex-end}.icon-subsribe[_ngcontent-%COMP%]{color:var(--theme-interactive-link);font-size:16px}  .cards-comment-content p a{color:var(--theme-interactive-link)!important}  .cards-comment-tip .amountTip .currency-exchange-label{color:var(--configButtonTextColor)}.cards-comment-video[_ngcontent-%COMP%]{position:relative;width:max-content;max-width:100%;margin-top:12px;overflow:hidden;border-radius:8px}.cards-comment-video[_ngcontent-%COMP%]   app-video-player-v2[_ngcontent-%COMP%]{display:inline-block;max-width:100%}
1.cards-comment-video[_ngcontent-%COMP%]     .video-js .vjs-big-play-button{display:none!important}.cards-comment-video[_ngcontent-%COMP%]   .media-download-btn[_ngcontent-%COMP%]{position:absolute;top:8px;right:8px;z-index:130;width:28px;height:28px;border-radius:50%;background:var(--configThemeColor);border:none;display:flex;align-items:center;justify-content:center;cursor:pointer}.cards-comment-video[_ngcontent-%COMP%]   .media-download-btn[_ngcontent-%COMP%]   em[_ngcontent-%COMP%]{font-size:14px}.cards-comment-video[_ngcontent-%COMP%]   .media-download-btn[_ngcontent-%COMP%]   em[_ngcontent-%COMP%]:before{color:var(--configButtonTextColor)}.cards-comment-video[_ngcontent-%COMP%]   .media-download-btn.is-downloading[_ngcontent-%COMP%]{opacity:.6}.cards-comment-video[_ngcontent-%COMP%]   .media-download-btn.is-downloading[_ngcontent-%COMP%]   em[_ngcontent-%COMP%]{animation:media-download-pulse 1s ease-in-out infinite}.cards-imagePreview[_ngcontent-%COMP%]   .cards-videoPreview[_ngcontent-%COMP%]{position:relative;width:150px;height:150px;overflow:hidden;border-radius:8px}.cards-imagePreview[_ngcontent-%COMP%]   .cards-videoPreview[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:100%;height:100%;object-fit:cover}"]}),s})()}}]);

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.