PageSourceSearch

https://ynassets.younow.com/yn-web/live/961.bf19be7706b9fdfa.js

js younow.com collected 2026-09-24 09:03:43 UTC 20,956 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkyn_web=self.webpackChunkyn_web||[]).push([[961],{92961:(rt,_,o)=>{o.r(_),o.d(_,{YNSubscriptionsPageModule:()=>et});var f=o(12791),g=o(62181),p=function(e){return e.BARS_SUBSCRIPTIONS="BARS_SUBSCRIPTIONS",e.ACTIVE_BARS_SUBSCRIPTIONS="ACTIVE_BARS_SUBSCRIPTIONS",e.BROADCASTER_SUBSCRIPTIONS="BROADCASTER_SUBSCRIPTIONS",e}(p||{}),t=o(17705),v=o(82173),m=o(32576),s=o(60177),u=o(10467),M=o(77048),C=o(63458),h=o(5455),y=o(35977);function T(e,c){if(1&e&&(t.j41(0,"div",2)(1,"div",3),t.EFF(2),t.nI1(3,"number"),t.j41(4,"i",4),t.nrm(5,"div",5)(6,"div",6),t.k0s()()()),2&e){const n=t.XpG();t.Y8G("@fadeScaleAnimation",void 0),t.R7$(2),t.SpI(" +",t.bMT(3,2,n.currencyPurchased)," ")}}let I=(()=>{class e{constructor(n,i,r){this.ref=n,this.barSubscriptionService=i,this.modalService=r,this.ProductType=g.c,this.alive=!0}ngOnInit(){this.getPackages(),this.barSubscriptionService.displayBarsCelebration$.pipe((0,M.v)(()=>this.alive)).subscribe(n=>{this.getPackages(),this.startBarsCelebration(n)})}ngOnDestroy(){this.alive=!1}getPackages(){var n=this;return(0,u.A)(function*(){const{products:i}=yield n.barSubscriptionService.getProducts();n.products=i,n.ref.markForCheck()})()}startBarsCelebration(n){clearTimeout(this.barsCelebrationTimeout),this.modalService.showModalOverlay(),this.currencyPurchased=n,this.ref.markForCheck(),this.barsCelebrationTimeout=window.setTimeout(()=>{this.modalService.hideModalOverlay(),this.currencyPurchased=void 0,this.ref.markForCheck()},2e3)}static{this.\u0275fac=function(i){return new(i||e)(t.rXU(t.gRc),t.rXU(C.p),t.rXU(h.B))}}static{this.\u0275cmp=t.VBU({type:e,selectors:[["app-subscription-packages"]],decls:2,vars:3,consts:[[3,"products","productType"],["class","bars-celebration-wrapper",4,"ngIf"],[1,"bars-celebration-wrapper"],[1,"bars-celebration"],[1,"ynicon","ynicon-bar"],[1,"path1"],[1,"path2"]],template:function(i,r){1&i&&(t.nrm(0,"app-products-list",0),t.DNE(1,T,7,4,"div",1)),2&i&&(t.Y8G("products",r.products)("productType",r.ProductType.BAR_SUBSCRIPTION),t.R7$(1),t.Y8G("ngIf",r.currencyPurchased))},dependencies:[s.bT,y.K,s.QX],styles:[".bars-celebration-wrapper[_ngcontent-%COMP%]{position:absolute;top:7rem;left:0;width:100%;display:flex;z-index:3}.bars-celebration[_ngcontent-%COMP%]{margin:auto}.bars-celebration[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{margin-left:.5rem}"],changeDetection:0})}}return e})();var l=o(62531),P=o(51567),S=o(85872),a=o(49695),R=o(77139);function k(e,c){if(1&e&&(t.j41(0,"span",13)(1,"b",14),t.EFF(2,"settings_paid_through"),t.k0s(),t.EFF(3),t.nI1(4,"date"),t.k0s()),2&e){const n=t.XpG();t.R7$(3),t.SpI(" ",t.i5U(4,1,n.endDate,"mediumDate")," ")}}function E(e,c){if(1&e&&(t.j41(0,"span",15)(1,"b",14),t.EFF(2,"settings_payment_due"),t.k0s(),t.nrm(3,"br"),t.j41(4,"b",14),t.EFF(5,"benefits_expire_label"),t.k0s(),t.EFF(6),t.nI1(7,"date"),t.k0s()),2&e){const n=t.XpG();t.R7$(6),t.SpI(" ",t.i5U(7,1,n.endDate,"mediumDate")," ")}}function A(e,c){1&e&&(t.qex(0),t.j41(1,"b",14),t.EFF(2,"settings_sub_cancelled"),t.k0s(),t.nrm(3,"br"),t.bVm())}
1function x(e,c){if(1&e&&(t.j41(0,"span",15),t.DNE(1,A,4,0,"ng-container",16),t.j41(2,"b",14),t.EFF(3,"benefits_expire_label"),t.k0s(),t.EFF(4),t.nI1(5,"date"),t.k0s()),2&e){const n=t.XpG();t.R7$(1),t.Y8G("ngIf",!n.subscription.isGifted),t.R7$(3),t.SpI(" ",t.i5U(5,2,n.endDate,"mediumDate")," ")}}function B(e,c){if(1&e){const n=t.RV6();t.j41(0,"button",17),t.bIt("click",function(){t.eBV(n);const r=t.XpG();return t.Njj(r.updatePayment())}),t.EFF(1," update_payment "),t.k0s()}if(2&e){const n=t.XpG();t.Y8G("disabled",n.loading)}}function F(e,c){if(1&e){const n=t.RV6();t.j41(0,"button",18),t.bIt("click",function(){t.eBV(n);const r=t.XpG();return t.Njj(r.cancel())}),t.EFF(1," cancel "),t.k0s()}}function N(e,c){if(1&e){const n=t.RV6();t.j41(0,"button",19),t.bIt("click",function(){t.eBV(n);const r=t.XpG();return t.Njj(r.renewSubscription())}),t.EFF(1," settings_renew_sub "),t.k0s()}if(2&e){const n=t.XpG();t.Y8G("disabled",n.loading)}}const O=function(e){return["/",e,"channel"]};let j=(()=>{class e{get endDate(){return 1e3*this.subscription.endDate}get paymentError(){return this.subscription.state===a.LT.PAYMENT_ERROR&&this.subscription.platform!==a.Bp.WEB}get paymentErrorOnWeb(){return this.subscription.state===a.LT.PAYMENT_ERROR&&this.subscription.platform===a.Bp.WEB}constructor(n,i,r,d,b){this.ref=n,this.modalService=i,this.subscriptionService=r,this.translateService=d,this.datePipe=b,this.loading=!1,this.BroadcasterActiveSubscriptionState=a.LT,this.YouNowPlatform=a.Bp}ngOnInit(){}updatePayment(){var n=this;return(0,u.A)(function*(){n.loading=!0,n.ref.markForCheck(),yield n.subscriptionService.updatePayment(n.subscription),n.loading=!1,n.ref.markForCheck()})()}cancel(){var n=this;return(0,u.A)(function*(){(yield n.modalService.open(S.z,"prompt",!0,{title:n.translateService.instant("subscribe_cancel_confirmation"),copy:n.translateService.instant("subscribe_cancel_disclaimer",{name:n.subscription.channelName,date:n.datePipe.transform(n.endDate,"mediumDate")}),hasRedCTA:!0,confirmButtonCopy:n.translateService.instant("subscribe_confirm_cancel"),cancelButtonCopy:n.translateService.instant("no")}).content.result)&&((yield n.subscriptionService.cancelSubscription(n.subscription))||(n.subscription.state=a.LT.ACTIVE_TO_CANCEL,n.ref.markForCheck()))})()}renewSubscription(){var n=this;return(0,u.A)(function*(){n.paymentError?n.modalService.open(S.z,"prompt",!0,{title:n.translateService.instant("subscribe_payment_error_title"),copy:n.subscriptionService.getPaymentErrorCopy(n.subscription.platform),displayButtons:!1}):(n.loading=!0,n.ref.markForCheck(),(yield n.subscriptionService.renewSubscription(n.subscription))||(n.subscription.state=a.LT.ACTIVE,n.ref.markForCheck()),n.loading=!1,n.ref.markForCheck())})()}static{this.\u0275fac=function(i){return new(i||e)(t.rXU(t.gRc),t.rXU(h.B),t.rXU(P.n),t.rXU(m.c$),t.rXU(s.vh))}}static{this.\u0275cmp=t.VBU({type:e,selectors:[["app-active-subscription"]],inputs:{subscription:"subscription"},decls:16,vars:15,consts:[[1,"product-entry"],[1,"left"],[1,"image-wrapper",3,"routerLink"],[1,"thumb-wrapper"],[3,"userId","invertedLoaderColor"],[1,"left__text"],[3,"routerLink"],["class","left__text--subtitle",4,"ngIf"],["class","left__text--subtitle warn",4,"ngIf"],[1,"right"],["class","update","translate","",3,"disabled","click",4,"ngIf"],["class","button button--red","translate","",3,"click",4,"ngIf"],["class","button button--green","translate","",3,"disabled","click",4,"ngIf"],[1,"left__text--subtitle"],["translate",""],[1,"left__text--subtitle","warn"],[4,"ngIf"],["translate","",1,"update",3,"disabled","click"],["translate","",1,"button","button--red",3,"click"],["translate","",1,"button","button--green",3,"disabled","click"]],template:function(i,r){1&i&&(t.j41(0,"div",0)(1,"div",1)(2,"a",2)(3,"div",3),t.nrm(4,"app-user-thumb",4),t.k0s()(),t.j41(5,"div")(6,"h3",5)(7,"a",6),t.EFF(8),t.k0s()(),t.DNE(9,k,5,4,"span",7),t.DNE(10,E,8,4,"span",8),t.DNE(11,x,6,5,"span",8),t.k0s()(),t.j41(12,"div",9),t.DNE(13,B,2,1,"button",10),t.DNE(14,F,2,0,"button",11),t.DNE(15,N,2,1,"button",12),t.k0s()()),2&i&&(t.R7$(2),t.Y8G("routerLink",t.eq3(11,O,r.subscription.channelName)),t.R7$(2),t.Y8G("userId",r.subscription.channelId)("invertedLoaderColor",!0),t.R7$(3),t.Y8G("routerLink",t.eq3(13,O,r.subscription.channelName)),t.R7$(1),t.JRh(r.subscription.channelName),t.R7$(1),t.Y8G("ngIf",r.subscription.state===r.BroadcasterActiveSubscriptionState.ACTIVE),t.R7$(1),t.Y8G("ngIf",r.paymentErrorOnWeb),t.R7$(1),t.Y8G("ngIf",r.subscription.state===r.BroadcasterActiveSubscriptionState.ACTIVE_TO_CANCEL||r.subscription.state===r.BroadcasterActiveSubscriptionState.INACTIVE),t.R7$(2),t.Y8G("ngIf",r.subscription.state===r.BroadcasterActiveSubscriptionState.PAYMENT_ERROR&&r.subscription.platform===r.YouNowPlatform.WEB||r.paymentErrorOnWeb),t.R7$(1),t.Y8G("ngIf",r.subscription.state===r.BroadcasterActiveSubscriptionState.ACTIVE||r.paymentErrorOnWeb),t.R7$(1),t.Y8G("ngIf",r.paymentError||r.subscription.state===r.BroadcasterActiveSubscriptionState.INACTIVE))},dependencies:[m.Mm,s.bT,f.Wk,R.Z,s.vh],styles:[".product-entry[_ngcontent-%COMP%]{padding:.5rem 1rem;display:grid;grid-gap:.5rem;grid-template-columns:14rem 1fr 1fr 6.5rem;min-height:5rem}@media (max-width: 812px){.product-entry[_ngcontent-%COMP%]{padding:.5rem .5rem 1rem;display:flex;flex-direction:column;align-items:center;justify-content:space-between;
1height:100%}}.product-entry.is-disabled[_ngcontent-%COMP%]   .image-wrapper[_ngcontent-%COMP%]{opacity:.7}.product-entry.is-disabled[_ngcontent-%COMP%]   .left__text[_ngcontent-%COMP%], .product-entry.is-disabled[_ngcontent-%COMP%]   .freebars[_ngcontent-%COMP%]{color:var(--color-text-lighter);opacity:.5}.product-entry.is-disabled[_ngcontent-%COMP%]   .product-tag[_ngcontent-%COMP%]{color:var(--color-red)}.product-entry.is-disabled[_ngcontent-%COMP%]   .button[_ngcontent-%COMP%]{background:var(--color-mediumgray);border-color:var(--color-mediumgray)}.product-entry.is-disabled[_ngcontent-%COMP%]   .button[_ngcontent-%COMP%]   .icon[_ngcontent-%COMP%]{filter:grayscale(100%)}.product-entry[_ngcontent-%COMP%]   .left[_ngcontent-%COMP%], .product-entry[_ngcontent-%COMP%]   .middle[_ngcontent-%COMP%]{display:flex;align-items:center}@media (max-width: 812px){.product-entry[_ngcontent-%COMP%]   .left[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;justify-content:center}}.product-entry[_ngcontent-%COMP%]   .middle[_ngcontent-%COMP%]{flex-direction:column;align-items:center;justify-content:center}@media (max-width: 812px){.product-entry[_ngcontent-%COMP%]   .middle[_ngcontent-%COMP%]{min-height:40px}}.product-entry[_ngcontent-%COMP%]   .image-wrapper[_ngcontent-%COMP%]{margin-right:1rem;width:4rem;height:4rem;display:flex}@media (max-width: 812px){.product-entry[_ngcontent-%COMP%]   .image-wrapper[_ngcontent-%COMP%]{margin-right:0}}.product-entry[_ngcontent-%COMP%]   .image-wrapper[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:100%;height:100%;object-fit:contain}.product-entry[_ngcontent-%COMP%]   .thumb-wrapper[_ngcontent-%COMP%]{width:3.5rem;height:3.5rem;margin:auto}.product-entry[_ngcontent-%COMP%]   .left__text[_ngcontent-%COMP%]{font-weight:500}@media (max-width: 812px){.product-entry[_ngcontent-%COMP%]   .left__text[_ngcontent-%COMP%]{margin-top:.15rem;text-align:center}}.product-entry[_ngcontent-%COMP%]   .left__text.left__text--dollars[_ngcontent-%COMP%]{font-size:1rem}.product-entry[_ngcontent-%COMP%]   .left__text--subtitle[_ngcontent-%COMP%]{font-size:.75rem;font-weight:400;color:var(--color-text-lighter);margin-top:.25rem}.product-entry[_ngcontent-%COMP%]   .freebars[_ngcontent-%COMP%]{text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center}.product-entry[_ngcontent-%COMP%]   .freebars[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]{font-size:.75rem;text-transform:uppercase;letter-spacing:1px;color:var(--color-orange);font-weight:700}.product-entry[_ngcontent-%COMP%]   .freebars[_ngcontent-%COMP%]   .pearls-color[_ngcontent-%COMP%]{color:var(--color-purple-light)}.product-entry[_ngcontent-%COMP%]   .freebars[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{height:1.5rem;margin-bottom:.25rem}.product-entry[_ngcontent-%COMP%]   .limited-time[_ngcontent-%COMP%]{color:var(--color-red);font-weight:500;text-align:center}.product-entry[_ngcontent-%COMP%]   .right[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-end}.product-entry[_ngcontent-%COMP%]   .price-wrapper[_ngcontent-%COMP%]{display:flex;flex-direction:column}.product-entry[_ngcontent-%COMP%]   .price-wrapper[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{margin-right:.5rem}.product-entry[_ngcontent-%COMP%]   .button[_ngcontent-%COMP%]{min-width:5.8rem;align-self:flex-end}@media (max-width: 812px){.product-entry[_ngcontent-%COMP%]   .button[_ngcontent-%COMP%]{align-self:center}}.product-entry[_ngcontent-%COMP%]   .button[_ngcontent-%COMP%]   .icon[_ngcontent-%COMP%]{width:1.1rem;margin-right:.5rem}.product-entry[_ngcontent-%COMP%]   .price-before[_ngcontent-%COMP%]{font-size:.85rem;font-weight:600;text-decoration:line-through}@media (max-width: 812px){.product-entry[_ngcontent-%COMP%]   .price-before[_ngcontent-%COMP%]{font-size:.75rem}}.product-entry[_ngcontent-%COMP%]   .product-tag[_ngcontent-%COMP%]{font-weight:600;text-align:center;font-size:.85rem;color:var(--color-blue);display:flex;align-items:center;justify-content:center;margin-bottom:.15rem;line-height:1}.product-entry[_ngcontent-%COMP%]   .product-tag.is-discount[_ngcontent-%COMP%]{color:var(--color-red)}.product-entry[_ngcontent-%COMP%]   .only[_ngcontent-%COMP%]{margin-left:.1rem}.product-entry[_ngcontent-%COMP%]   .display-diamonds[_ngcontent-%COMP%]   .freebars[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]{color:var(--color-blue)}.product-entry[_ngcontent-%COMP%]   .display-diamonds[_ngcontent-%COMP%]   .button-wrapper[_ngcontent-%COMP%]{min-width:8.25rem}.product-entry[_ngcontent-%COMP%]   .button--red[_ngcontent-%COMP%]{text-transform:uppercase}.product-entry[_ngcontent-%COMP%]   .button--red[_ngcontent-%COMP%]:disabled{background:var(--color-mediumgray);border-color:var(--color-mediumgray)}.renewal-date[_ngcontent-%COMP%]{color:var(--color-text-lighter)}.product-entry[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between}.product-entry[_ngcontent-%COMP%]   b[_ngcontent-%COMP%]{font-weight:500}.product-entry[_ngcontent-%COMP%]   .warn[_ngcontent-%COMP%]{color:var(--color-red)}.product-entry[_ngcontent-%COMP%]   .update[_ngcontent-%COMP%]{color:var(--color-blue);margin-right:2rem}.product-entry[_ngcontent-%COMP%]   .update[_ngcontent-%COMP%]:disabled{opacity:.8}.product-entry[_ngcontent-%COMP%]   .right[_ngcontent-%COMP%]   .button[_ngcontent-%COMP%]{margin-left:.5rem}"],changeDetection:0})}}return e})();
1function w(e,c){if(1&e&&(t.j41(0,"li",4),t.nrm(1,"app-active-subscription",5),t.k0s()),2&e){const n=c.$implicit;t.R7$(1),t.Y8G("subscription",n)}}function G(e,c){if(1&e&&(t.j41(0,"ul",2),t.DNE(1,w,2,1,"li",3),t.k0s()),2&e){const n=t.XpG();t.Y8G("@fadeInAnimation",void 0),t.R7$(1),t.Y8G("ngForOf",n.subscriptions)}}function U(e,c){1&e&&(t.j41(0,"li",4),t.nrm(1,"product-list-loader"),t.k0s())}function D(e,c){if(1&e&&(t.j41(0,"ul",2),t.DNE(1,U,2,0,"li",3),t.k0s()),2&e){const n=t.XpG();t.Y8G("@fadeInAnimation",void 0),t.R7$(1),t.Y8G("ngForOf",n.numberOfLoaders(7))}}function Y(e,c){if(1&e&&(t.j41(0,"div",6),t.nrm(1,"img",7),t.j41(2,"h3",8),t.EFF(3,"settings_subscription_title"),t.k0s(),t.j41(4,"h4",9),t.EFF(5,"settings_subscription_subtitle"),t.k0s(),t.j41(6,"ul",10)(7,"li",11),t.EFF(8,"settings_subscription_perk1"),t.k0s(),t.j41(9,"li",11),t.EFF(10,"settings_subscription_perk2"),t.k0s(),t.j41(11,"li",11),t.EFF(12,"settings_subscription_perk3"),t.k0s(),t.j41(13,"li",11),t.EFF(14,"settings_subscription_perk4"),t.k0s(),t.j41(15,"li",11),t.EFF(16,"settings_subscription_perk5"),t.k0s()()()),2&e){const n=t.XpG();t.R7$(1),t.Y8G("src",n.emptyIconSrc,t.B4B)}}let $=(()=>{class e{constructor(n,i,r){this.ref=n,this.subscriptionService=i,this.utilsService=r,this.emptyIconSrc=this.utilsService.getLocalImage("icon-empty-subs")}ngOnInit(){this.getActiveSubscriptions()}numberOfLoaders(n){return Array(n)}getActiveSubscriptions(){var n=this;return(0,u.A)(function*(){n.subscriptions=void 0,n.ref.markForCheck(),n.subscriptions=yield n.subscriptionService.getSettingsActiveSubscriptions(),n.ref.markForCheck()})()}static{this.\u0275fac=function(i){return new(i||e)(t.rXU(t.gRc),t.rXU(P.n),t.rXU(l.TJ))}}static{this.\u0275cmp=t.VBU({type:e,selectors:[["app-broadcaster-subscriptions"]],decls:3,vars:3,consts:[["class","product-list",4,"ngIf"],["class","empty",4,"ngIf"],[1,"product-list"],["class","product-list__entry",4,"ngFor","ngForOf"],[1,"product-list__entry"],[3,"subscription"],[1,"empty"],["alt","Empty icon",3,"src"],["translate","",1,"empty__title"],["translate","",1,"empty__subtitle"],[1,"empty__list"],["translate",""]],template:function(i,r){1&i&&(t.DNE(0,G,2,2,"ul",0),t.DNE(1,D,2,2,"ul",0),t.DNE(2,Y,17,1,"div",1)),2&i&&(t.Y8G("ngIf",null==r.subscriptions?null:r.subscriptions.length),t.R7$(1),t.Y8G("ngIf",!r.subscriptions),t.R7$(1),t.Y8G("ngIf",r.subscriptions&&!r.subscriptions.length))},dependencies:[m.Mm,s.Sq,s.bT,l.u3,j],styles:["@media (max-width: 812px){.product-list[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr 1fr}.product-list[_ngcontent-%COMP%]   .list__entry[_ngcontent-%COMP%]:nth-child(odd){border-right:1px solid var(--main-border-color)}}.product-list__entry[_ngcontent-%COMP%]:not(:last-child){border-bottom:1px solid var(--main-border-color)}.empty[_ngcontent-%COMP%]{margin-top:2rem}.empty__title[_ngcontent-%COMP%]{font-size:1.1rem;margin-top:1rem;margin-bottom:1rem}.empty__subtitle[_ngcontent-%COMP%]{margin-bottom:1rem;color:var(--color-text-lighter)}.empty__list[_ngcontent-%COMP%]{list-style-type:disc;color:var(--color-text-lighter);padding-left:1rem}@media (max-width: 812px){.empty[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{margin:auto}}"],data:{animation:[l.I0]},changeDetection:0})}}return e})();var X=o(33243);let V=(()=>{class e{constructor(n,i,r,d){this.ref=n,this.barSubscriptionService=i,this.utilsService=r,this.cashoutService=d,this.ProductType=g.c,this.emptyState={iconSrc:this.utilsService.getLocalImage("icon-empty-bars-subs"),title:"active_bars_subscriptions_empty_title"}}ngOnInit(){this.getPackages()}getPackages(){var n=this;return(0,u.A)(function*(){const{products:i}=yield n.barSubscriptionService.getActiveProducts();n.products=i,n.ref.markForCheck()})()}static{this.\u0275fac=function(i){return new(i||e)(t.rXU(t.gRc),t.rXU(C.p),t.rXU(l.TJ),t.rXU(X.h))}}static{this.\u0275cmp=t.VBU({type:e,selectors:[["app-active-subscriptions"]],decls:1,vars:3,consts:[[3,"products","emptyState","productType"]],template:function(i,r){1&i&&t.nrm(0,"app-products-list",0),2&i&&t.Y8G("products",r.products)("emptyState",r.emptyState)("productType",r.ProductType.ACTIVE_BAR_SUBSCRIPTION)},dependencies:[y.K],changeDetection:0})}}return e})();const L=function(e){return{"is-active":e}};function z(e,c){if(1&e){const n=t.RV6();t.j41(0,"li",11)(1,"button",12),t.bIt("click",function(){const d=t.eBV(n).$implicit,b=t.XpG();return t.Njj(b.onTabClick(d.type))}),t.EFF(2),t.k0s()()}if(2&e){const n=c.$implicit,i=t.XpG();t.R7$(1),t.Y8G("ngClass",t.eq3(2,L,n.type===i.currentTab)),t.R7$(1),t.SpI(" ",n.label," ")}}function W(e,c){1&e&&(t.j41(0,"div"),t.nrm(1,"app-subscription-packages"),t.k0s())}function J(e,c){1&e&&(t.j41(0,"div"),t.nrm(1,"app-active-subscriptions"),t.k0s())}function K(e,c){1&e&&(t.j41(0,"div"),t.nrm(1,"app-broadcaster-subscriptions"),t.k0s())}function Q(e,c){1&e&&(t.j41(0,"div"),t.EFF(1,"output2"),t.k0s())}let Z=(()=>{class e{constructor(n,i){this.ref=n,this.trpx=i,this.SubscriptionsPageTab=p,this.currentTab=p.BARS_SUBSCRIPTIONS,this.tabs=[{label:"bar_subscriptions",type:p.BARS_SUBSCRIPTIONS},{label:"active_bar_subscriptions",type:p.ACTIVE_BARS_SUBSCRIPTIONS},{label:"broadcaster_subscriptions",type:p.BROADCASTER_SUBSCRIPTIONS}],this.ProductType=g.c}ngOnInit(){this.trpx.capture({event:"PAGE_VIEW",extradata:"BAR_SUBSCRIPTION"})}ngOnDestroy(){}onTabClick(n){this.currentTab=n,this.ref.markForCheck()}static{this.\u0275fac=function(i){return new(i||e)(t.rXU(t.gRc),t.rXU(v.J))}}static{this.\u0275cmp=t.VBU({type:e,selectors:[["app-subscriptions-page"]],decls:14,vars:5,consts:[[1,"main-container","main-container--no-top-padding"],[1,"main-content","main-content--mini"],[1,"page-sticky-top"],[1,"page-header"],["translate","",1,"title"],[1,"menu"],[1,"tabmenu-list"],["class","tabmenu-list__entry",4,"ngFor","ngForOf"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[1,"tabmenu-list__entry"],["translate","",1,"tabmenu-list__content",3,"ngClass","click"]],template:function(i,r){1&i&&(t.j41(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"h1",4),t.EFF(5,"subscriptions"),t.k0s()(),t.j41(6,"nav",5)(7,"ul",6),t.DNE(8,z,3,4,"li",7),t.k0s()()(),t.j41(9,"div",8),t.DNE(10,W,2,0,"div",9),t.DNE(11,J,2,0,"div",9),t.DNE(12,K,2,0,"div",9),t.DNE(13,Q,2,0,"div",10),t.k0s()()()),2&i&&(t.R7$(8),t.Y8G("ngForOf",r.tabs),t.R7$(1),t.Y8G("ngSwitch",r.currentTab),t.R7$(1),t.Y8G("ngSwitchCase",r.SubscriptionsPageTab.BARS_SUBSCRIPTIONS),t.R7$(1),t.Y8G("ngSwitchCase",r.SubscriptionsPageTab.ACTIVE_BARS_SUBSCRIPTIONS),t.R7$(1),t.Y8G("ngSwitchCase",r.SubscriptionsPageTab.BROADCASTER_SUBSCRIPTIONS))},dependencies:[m.Mm,s.YU,s.Sq,s.ux,s.e1,s.fG,I,$,V],styles:[".tabmenu-list__content[_ngcontent-%COMP%]{padding:.5rem 0}.tabmenu-list__content.is-active[_ngcontent-%COMP%]:after{width:6rem}"],changeDetection:0})}}return e})();var H=o(25834),q=o(88419),tt=o(27180);const nt=[{path:"",component:Z}];let et=(()=>{class e{constructor(){}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=t.$C({type:e})}static{this.\u0275inj=t.G2t({imports:[q.V,f.iI.forChild(nt),l.Cd,H.u,tt.B]})}}return e})()}}]);

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.