PageSourceSearch

https://www.trinitycineasia.com/en/chunk-NCBFLPAJ.js

js trinitycineasia.com collected 2026-10-10 01:20:41 UTC 40,389 bytes, 1 lines download raw bytes

1import{a as lt,b as st}from"./chunk-BAUFN4D3.js";import"./chunk-ZXZMOB5A.js";import{a as rt}from"./chunk-A7BYRJBR.js";import"./chunk-WCFUYIYM.js";import{a as _e}from"./chunk-D4IKQHDD.js";import{a as at}from"./chunk-UM45CPSW.js";import"./chunk-U72RKZ2G.js";import{a as Ke}from"./chunk-YCONIC4I.js";import{a as je,b as He}from"./chunk-TBK6S3D4.js";import{b as Qe,c as qe}from"./chunk-VHAUJ36P.js";import{a as ce}from"./chunk-LU5KWW56.js";import{b as it,c as nt,d as pe}from"./chunk-ZV77BMLB.js";import"./chunk-4RKD5LRD.js";import{b as Je}from"./chunk-VJO63CHQ.js";import"./chunk-I2HJBEDG.js";import"./chunk-ITOOSU3N.js";import{c as Ze,e as et,f as tt}from"./chunk-YSLCWPOU.js";import"./chunk-V6SAEXG5.js";import"./chunk-A5OPEKJP.js";import"./chunk-WDPVCLAG.js";import"./chunk-JJFKRZ44.js";import"./chunk-IOQIQVBX.js";import"./chunk-FY5PQV2T.js";import{a as ot}from"./chunk-CITRSX4U.js";import"./chunk-U7NZLA53.js";import"./chunk-GGL4C55Z.js";import"./chunk-DHTP7WDP.js";import"./chunk-PA2QRETP.js";import{c as ne,d as ge,g as oe,h as Ue,j as De,k as re,l as Fe,n as $e,p as Be,v as ke,w as ae,x as Ge}from"./chunk-7Q5AMN2A.js";import{a as de}from"./chunk-XHSVKDET.js";import"./chunk-7JZIUBVU.js";import{g as se}from"./chunk-NTCLVDPG.js";import"./chunk-M5WGZ7E4.js";import"./chunk-3K2XMSLK.js";import"./chunk-2AVR6I36.js";import{Ba as we,Fa as le,Ia as Xe,La as ze,Sa as B,Ua as k,eb as We,f as Ae,j as Ne,k as Ve,q as te,r as ie}from"./chunk-ERZY55XP.js";import{f as Le}from"./chunk-KNMSSUV5.js";import"./chunk-2LLRHA6M.js";import{aa as Ye}from"./chunk-DJVNNLLT.js";import{$c as D,Aa as T,Bc as X,Be as xe,Cc as z,Dc as W,Fb as S,Fd as Me,Hc as Q,Jc as _,Kc as C,Lc as b,Mc as Ie,Oc as L,Oe as Re,Pc as A,Qc as N,Qe as F,Tc as q,Ub as Ce,Uc as Te,Vb as d,Wb as ve,Xb as H,ac as x,ad as me,bd as K,ca as Ee,cb as fe,cd as J,da as V,db as ye,fc as a,gc as r,gd as Z,ha as Y,hc as R,ia as Pe,ib as l,ic as M,jb as g,jc as O,lc as y,oe as Oe,qa as j,qc as E,r as Se,ra as u,re as be,sa as m,se as ee,tc as f,uc as s,yb as w,zb as U}from"./chunk-XRTZI5H6.js";import"./chunk-6YE3DFUB.js";import"./chunk-VJZSXCCA.js";var Tt=i=>({selected:i});function Mt(i,p){i&1&&(a(0,"div",10),E(1,2),r());}function Ot(i,p){if(i&1){let e=y();a(0,"div",12)(1,"div",24),E(2,3),r(),a(3,"p-dropdown",25),N("ngModelChange",function(t){u(e);let o=s();return A(o.languageSelected,t)||(o.languageSelected=t),m(t);}),f("onChange",function(t){u(e);let o=s();return m(o.onLanguageSelected(t));}),r()();}if(i&2){let e=s();l(3),d("disabled",e.languages.length<2)("dropdownIcon",e.playerPrices.length<2?"none":"pi pi-chevron-down"),L("ngModel",e.languageSelected),d("options",e.languages);}}function bt(i,p){if(i&1&&(a(0,"div",30)(1,"span",31),_(2),r(),a(3,"span",32),_(4),r()()),i&2){let e=p.$implicit;l(2),C(e.name),l(2),C(e.message?" - "+e.message:"");}}function xt(i,p){if(i&1&&(a(0,"div",34)(1,"span",31),_(2),r()()),i&2){let e=s(3);l(2),C(e.playerSelected.playerQuality.description);}}function Rt(i,p){if(i&1&&S(0,xt,3,1,"div",33),i&2){let e=s(2);d("ngIf",e.playerSelected==null?null:e.playerSelected.playerQuality);}}function Lt(i,p){if(i&1){let e=y();a(0,"div",12)(1,"div",26),E(2,4),r(),a(3,"p-dropdown",27),N("ngModelChange",function(t){u(e);let o=s();return A(o.playerSelected,t)||(o.playerSelected=t),m(t);}),f("onChange",function(){u(e);let t=s();return m(t.onQualitySelected());}),S(4,bt,5,2,"ng-template",28)(5,Rt,1,1,"ng-template",29),r()();}if(i&2){let e=s();l(3),d("disabled",e.players.length<2),L("ngModel",e.playerSelected),d("dropdownIcon",e.playerPrices.length<2?"none":"pi pi-chevron-down")("options",e.players);}}function At(i,p){if(i&1){let e=y();a(0,"p-button",35),f("onClick",function(){u(e);let t=s();return m(t.onDiscountCodeEntered());}),E(1,5),r();}}function Nt(i,p){if(i&1){let e=y();a(0,"p-button",36),f("onClick",function(){u(e);let t=s();return m(t.onDiscountCodeReset());}),E(1,6),r();}}function Vt(i,p){i&1&&(a(0,"small",37),E(1,7),r());}function wt(i,p){i&1&&(a(0,"small",38),E(1,8),r());}function Ut(i,p){if(i&1&&(a(0,"div",46),_(1),r()),i&2){let e=s().$implicit;l(),C(e.label);}}function Dt(i,p){i&1&&(a(0,"span"),_(1,"*"),r());}function Ft(i,p){if(i&1&&(a(0,"div",45),_(1),r()),i&2){let e=s().$implicit,n=s(2);l(),C(n.getAvailabilityDuration(e));}}function $t(i,p){if(i&1){let e=y();M(0),a(1,"div",42),f("click",function(){let t=u(e).$implicit,o=s(2);return m(o.onAvailabilityOptionClick(t));}),S(2,Ut,2,1,"div",43),a(3,"div",44)(4,"span"),_(5),r(),a(6,"span"),_(7),r(),S(8,Dt,2,0,"span",41),r(),S(9,Ft,2,1,"div",45),r(),O();}if(i&2){let e=p.$implicit,n=s(2);l(),d("ngClass",Te(6,Tt,(n.playerPriceSelected==null?null:n.playerPriceSelected.id)===e.id)),l(),d("ngIf",e.label),l(3),C(e.currencyBadge),l(2),C(e.priceInCents/100),l(),d("ngIf",e.discount),l(),x(n.showAvailabilityDays?9:-1);}}function Bt(i,p){i&1&&(a(0,"div"),_(1,"There are not options available"),r());}function kt(i,p){if(i&1&&(a(0,"div",39),S(1,$t,10,8,"ng-container",40)(2,Bt,2,0,"div",41),r()),i&2){let e=s();l(),d("ngForOf",e.playerPricesOptions),l(),d("ngIf",!e.playerPricesOptions||(e.playerPricesOptions==null?null:e.playerPricesOptions.length)===0);}}function Gt(i,p){if(i&1){let e=y();a(0,"a",47),f("click",function(){u(e);let t=s();return m(t.onContinueToPurchase());}),a(1,"span"),_(2),r(),a(3,"div",48),_(4,">"),r()();}if(i&2){let e=s();l(2),C(e.continueLabel);}}var dt=(()=>{class i{get continueLabel(){return this.playerPriceSelected?.message?"Continue to film":"Continue to film purchase";}constructor(e,n,t){this.translationService=e,this.uplayerService=n,this.cd=t,this.environmentService=Pe(we),this.languagesGroup=[],this.players=[],this.onPlayerPriceSelected=new T(),this.onPlayerSelected=new T(),this.languageWasSelected=new T(),this.continueToPurchase=new T(),this.discountCodeEntered=new T(),this.continueWhenSelectVideo=!1,this.showLanguage=!0,this.showSelectVideo=!0,this.showVideoQuality=!0,this.showAvailabilityDays=!0,this.continueWhenSelectVideo=this.environmentService.prepurchaseComponent("continueWhenSelectVideo"),this.showLanguage=!this.environmentService.prepurchaseComponent("hideLanguageVideo"),this.showSelectVideo=!this.environmentService.prepurchaseComponent("hideSelectVideo"),this.showVideoQuality=!this.environmentService.prepurchaseComponent("hideQualityVideo"),this.showAvailabilityDays=!this.environmentService.prepurchaseComponent("hideAvailabilityDays");}ngOnInit(){this.init();}ngOnChanges(e){this.areObjectsEqual(e.playerPrices?.currentValue,e.playerPrices?.previousValue)||this.init();}init(){!this.playerSelected&&this.players?.length&&(this.playerSelected=this.players[0]),!this.languageSelected&&this.languagesGroup?.length>0&&(this.languageSelected=this.languagesGroup[0].language),this.updatePlayerPricesOptions(this.playerSelected),!this.playerPriceSelected&&this.playerPricesOptions?.length&&(this.playerPriceSelected=this.playerPricesOptions[0]),this.languages=this.languagesGroup.map(e=>e.language),this.continueWhenSelectVideo&&(this.onPlayerSelected.emit(this.playerSelected),this.onContinueToPurchase());}onContinueToPurchase(){this.playerPriceSelected&&this.continueToPurchase.emit(this.playerPriceSelected.priceInCents==0);}getAvailabilityDuration(e){return this.uplayerService.getAvailabilityDuration(e);}onDiscountCodeEntered(){this.discountCode!==this.lastDiscountCode&&(this.discountCodeEntered.next(this.discountCode),this.lastDiscountCode=this.discountCode);}onDiscountCodeReset(){this.discountCode=null,this.discountCodeEntered.next(this.discountCode),this.lastDiscountCode=this.discountCode;}onLanguageSelected(e){this.languagesGroup.forEach(n=>
1{n.language.id==e.value.id&&(this.players=n.players);});}onQualitySelected(){this.updatePlayerPricesOptions(this.playerSelected);}getLocaleStringDate(e){return e.toLocaleDateString(this.translationService.currentLanguage().code,{day:"2-digit",month:"short",year:"numeric"});}onAvailabilityOptionClick(e){this.continueToPurchase?this.playerPriceSelected=e:this.playerPriceSelected=null,this.onPlayerPriceSelected.emit(this.playerPriceSelected),this.continueWhenSelectVideo&&this.onContinueToPurchase();}updatePlayerPricesOptions(e){this.playerPricesOptions=this.playerPrices.filter(n=>n.idPlayer==e.id),this.playerPricesOptions?.length>1&&this.playerPricesOptions.sort((n,t)=>n.availabilityDuration-t.availabilityDuration);}areObjectsEqual(e,n){return e==null||n==null?!0:Object.keys(e).length===Object.keys(n).length&&Object.keys(e).every(t=>e[t]===n[t]);}static{this.ɵfac=function(n){return new(n||i)(g(le),g(_e),g(Z));};}static{this.ɵcmp=w({type:i,selectors:[["ush-video-selection"]],inputs:{languagesGroup:"languagesGroup",players:"players",playerSelected:"playerSelected",playerPrices:"playerPrices",discountCode:"discountCode",discountStatus:"discountStatus"},outputs:{onPlayerPriceSelected:"onPlayerPriceSelected",onPlayerSelected:"onPlayerSelected",languageWasSelected:"languageWasSelected",continueToPurchase:"continueToPurchase",discountCodeEntered:"discountCodeEntered"},standalone:!1,features:[j],decls:18,vars:15,consts:()=>{let e;e="Add promo code:";let n;n="Select availability to continue with purchase";let t;t="Select your video preferences";let o;o="Language";let c;c="Video quality";let h;h="Apply code";let P;P="Your promo code was applied successfully";let v;v="Your promo code was applied successfully";let G;return G="The code you entered doesn\u2019t exist. Please check and try again.",[e,n,t,o,c,h,P,v,G,[1,"detail-content"],["data-translate","movie.selectYourVideo",1,"detail-description","detail-option-label"],[1,"detail-options"],[1,"detail-option"],[1,"discount-code-container"],["data-translate","movie.pre-purchase.discount-code.container-lbl",1,"discount-coder-label"],[1,"discount-code-row"],[1,"discount-code-input",3,"ngModelChange","disabled","ngModel"],["class","discount-code-button","data-translate","movie.pre-purchase.discount-code.apply.button-lbl",3,"disabled","onClick",4,"ngIf"],["class","discount-code-button","data-translate","movie.pre-purchase.discount-code.reset.button-lbl",3,"onClick",4,"ngIf"],["class","block applied","data-translate","movie.pre-purchase.discount-code.applied",4,"ngIf"],["class","p-error block","data-translate","movie.pre-purchase.discount-code.error",4,"ngIf"],["data-translate","movie.availabilitySelect",1,"availability-title","subtitle"],["class","availability-options",4,"ngIf"],["class","detail-continue-purchase-btn subtitle",3,"click",4,"ngIf"],["data-translate","movie.field.language",1,"subtitle","detail-option-label","text"],["optionLabel","name",1,"detail-option-lang-dropdown",3,"ngModelChange","onChange","disabled","dropdownIcon","ngModel","options"],["data-translate","movie.videoQuality",1,"subtitle","detail-option-label","text"],[1,"detail-option-lang-dropdown",3,"ngModelChange","onChange","disabled","ngModel","dropdownIcon","options"],["pTemplate","item"],["pTemplate","selectedItem"],[1,"player-item"],[1,"player-item-name"],[1,"player-item-message"],["class","player-item player-item-value",4,"ngIf"],[1,"player-item","player-item-value"],["data-translate","movie.pre-purchase.discount-code.apply.button-lbl",1,"discount-code-button",3,"onClick","disabled"],["data-translate","movie.pre-purchase.discount-code.reset.button-lbl",1,"discount-code-button",3,"onClick"],["data-translate","movie.pre-purchase.discount-code.applied",1,"block","applied"],["data-translate","movie.pre-purchase.discount-code.error",1,"p-error","block"],[1,"availability-options"],[4,"ngFor","ngForOf"],[4,"ngIf"],[1,"availability-option",3,"click","ngClass"],["class","availability-option-desc",4,"ngIf"],[1,"availability-option-price"],[1,"availability-option-duration"],[1,"availability-option-desc"],[1,"detail-continue-purchase-btn","subtitle",3,"click"],[1,"detail-continue-arrow"]];},template:function(n,t){n&1&&(a(0,"div",9),S(1,Mt,2,0,"div",10),a(2,"div",11),S(3,Ot,4,4,"div",12)(4,Lt,6,4,"div",12),r(),a(5,"div",13)(6,"div",14),E(7,0),r(),a(8,"div",15)(9,"input",16),N("ngModelChange",function(c){return A(t.discountCode,c)||(t.discountCode=c),c;}),r(),S(10,At,2,0,"p-button",17)(11,Nt,2,0,"p-button",18),r(),S(12,Vt,2,0,"small",19)(13,wt,2,0,"small",20),r(),a(14,"div",21),E(15,1),r(),S(16,kt,3,2,"div",22)(17,Gt,5,1,"a",23),r()),n&2&&(l(),x(t.showSelectVideo?1:-1),l(2),x(t.showLanguage?3:-1),l(),x(t.showVideoQuality?4:-1),l(5),H("discountApplied",t.discountStatus==="applied")("discountInvalid",t.discountStatus==="invalid"),d("disabled",t.discountStatus==="applied"),L("ngModel",t.discountCode),l(),d("ngIf",t.discountStatus!=="applied"),l(
1),d("ngIf",t.discountStatus==="applied"),l(),d("ngIf",t.discountStatus==="applied"),l(),d("ngIf",t.discountStatus==="invalid"),l(3),d("ngIf",t.playerPricesOptions),l(),d("ngIf",!t.continueWhenSelectVideo));},dependencies:[Oe,be,ee,je,Ye,ne,oe,re,nt],styles:[".detail-content[_ngcontent-%COMP%]{display:flex;flex-direction:column}[_nghost-%COMP%]     .detail-option p-dropdown .p-select.p-disabled{background:transparent!important}[_nghost-%COMP%]     .detail-option p-dropdown .p-select.p-disabled .p-select-dropdown{display:none!important}[_nghost-%COMP%]     .p-disabled, [_nghost-%COMP%]     .p-component:disabled{opacity:.9}[_nghost-%COMP%]     .discount-code-container{margin-bottom:15px}[_nghost-%COMP%]     .discount-code-container .discount-coder-label{margin-bottom:10px;font-weight:700}[_nghost-%COMP%]     .discount-code-container .discount-code-row{display:flex;flex-direction:row}[_nghost-%COMP%]     .discount-code-container .discount-code-row .discount-code-input{margin-right:10px;border:1px solid gray;max-width:300px;height:35px}[_nghost-%COMP%]     .discount-code-container .discount-code-row .discount-code-button button, [_nghost-%COMP%]     .discount-code-container .discount-code-row .discount-code-button button:active, [_nghost-%COMP%]     .discount-code-container .discount-code-row .discount-code-button button:focus{box-shadow:none;border:none;background-color:var(--brandColor);height:35px;color:#fff}[_nghost-%COMP%]     .discount-code-container input.discountInvalid{outline:1px solid rgba(248,0,0,.5)}.detail-continue-purchase-btn[_ngcontent-%COMP%], .detail-use-coupon-btn[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;cursor:pointer;margin-top:30px;margin-right:20px;font-size:1.4em}.detail-continue-purchase-btn[_ngcontent-%COMP%]   .detail-continue-arrow[_ngcontent-%COMP%], .detail-use-coupon-btn[_ngcontent-%COMP%]   .detail-continue-arrow[_ngcontent-%COMP%]{margin-left:20px}.subtitle[_ngcontent-%COMP%]{margin-bottom:10px}.player-item-message[_ngcontent-%COMP%]{color:green;font-weight:600;font-size:smaller}.availability-options[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:15px}.availability-option[_ngcontent-%COMP%]{display:flex;flex-grow:1;flex-direction:column;justify-content:center;transition:all .3s ease;cursor:pointer;box-shadow:var(--uplayAvailabilityOptionBoxShadow);box-shadow:0 2px 6px #0000001a;border:2px solid transparent;background:var(--uplayAvailabilityBackground);width:auto;min-width:150px;max-width:300px;height:120px;color:var(--uplayAvailabilityTextColor);text-align:center}.availability-option.selected[_ngcontent-%COMP%]{transform:scale(1.02);box-shadow:0 0 0 3px #0000000d;border:2px solid var(--uplayAvailabilityTextColor, #333);background:var(--uplayAvailabilitySelectedBackground);color:var(--uplayAvailabilitySelectedTextColor)}.availability-option[_ngcontent-%COMP%]:hover{opacity:.75}.availability-option[_ngcontent-%COMP%]   .availability-option-price[_ngcontent-%COMP%]{font-weight:700;font-size:25px}.availability-option[_ngcontent-%COMP%]   .availability-option-desc[_ngcontent-%COMP%]{font-weight:700;font-size:30px}"]});}}return i;})();var ue=(()=>{class i{constructor(e,n,t){this.http=e,this.usheruApi=n,this.env=t;}postStartOrder(e,n){return this.http.post(`${this.env.api.url}/ticketing/start-order`,{showtime:e.id,tickets:n}
1,{headers:this.usheruApi.getStandardPostHeader()});}postSelectSeats(e,n){return this.http.post(`${this.env.api.url}/ticketing/select-seats`,{order:e.uuid,seats:n},{headers:this.usheruApi.getStandardPostHeader()});}postStripePaymentIntent(e,n,t,o,c,h,P){return this.http.post(`${this.env.api.url}/ticketing/stripe-payment-intent`,{order:e,token:n,currency:t,saveCard:o,consumerName:c,consumerEmail:h,paymentIntentId:P},{headers:this.usheruApi.getStandardPostHeader()});}postConfirmOrder(e){return this.http.post(`${this.env.api.url}/ticketing/confirm-order`,{order:e.uuid},{headers:this.usheruApi.getStandardPostHeader()});}postPosOrder(e,n,t,o){return this.http.post(`${this.env.api.url}/ticketing/post-order`,{order:e.uuid,cinemaMarketing:n,partnerMarketing:o,location:`${t.latitude},${t.longitude}`},{headers:this.usheruApi.getStandardPostHeader()});}selectSeats(e,n){return this.http.post(`${this.env.api.url}/ticketing/select-seats`,{order:e.uuid,seats:n},{headers:this.usheruApi.getStandardPostHeader()});}stripePaymentIntent(e,n,t,o,c,h,P){return this.http.post(`${this.env.api.url}/ticketing/stripe-payment-intent`,{order:e,token:n,currency:t,saveCard:o,consumerName:c,consumerEmail:h,paymentIntentId:P}
1,{headers:this.usheruApi.getStandardPostHeader()});}stripeVideoOrder(e,n,t,o,c){return this.http.post(`${this.env.api.url}/player/order`,{idPlayerPrice:e,saveCard:!1,token:o,paymentIntentId:c,discountCode:n},{headers:this.usheruApi.generateBearerHeader(t)});}confirmOrder(e){return this.http.post(`${this.env.api.url}/ticketing/confirm-order`,{order:e.uuid},{headers:this.usheruApi.getStandardPostHeader()});}placeOrder(e,n,t,o,c){return this.http.post(`${this.env.api.url}/ticketing/post-order`,{order:e.uuid,cinemaMarketing:n,partnerMarketing:t,location:o&c?`${o},${c}`:""},{headers:this.usheruApi.getStandardPostHeader()});}static{this.ɵfac=function(n){return new(n||i)(Y(Le),Y(Xe),Y(ie));};}static{this.ɵprov=Ee({token:i,factory:i.ɵfac,providedIn:"root"});}}return i;})();var zt=["stripeCard"],Wt=["pay"],Qt=["confirm"],qt=()=>["/terms"],pt=(()=>{class i{constructor(e,n,t,o,c){this.formBuilder=e,this.authService=n,this.channelService=t,this.trackingService=o,this.ticketingService=c,this.receiptType="receipt",this.goBackTriggered=new T(),this.paymentCompleted=new T(),this.errorMsg=new T(),this.loadingPayment=!1,this.cardDetailsFilled=!1,this.acceptedTerms=!0,this.cinemaMarketing=!0,this.partnerMarketing=!0,this.DEFAULT_ERROR_MSG="Something went wrong, try again later.",this.stripeExtraForm=this.formBuilder.group({name:new De(null,[ge.required,ge.minLength(3)])});}ngOnInit(){this.partnerName=this.channelService.channel.partner.name,this.authService.$userStatus.subscribe(e=>{this.user=e;}),this.trackingService.trackEvent({action:"AddPaymentInfo",properties:{category:"uPlay",label:this.movie.title,movie:this.movie.title,idMovie:this.movie.id,imdb:this.movie?.imdb,tagsMovie:B(this.movie),genresMovie:k(this.movie),idPlayer:this.player.id,language:this.language.slug,quality:this.player.playerQuality.name}});}doPayment(){this.errorMsg.emit(""),this.stripeExtraForm.controls.name.markAsTouched(),this.stripeExtraForm.valid&&this.acceptedTerms&&this.cardDetailsFilled&&(this.loadingPayment=!0,this.stripeCard.createPaymentMethod());}setPaymentMethod(e,n=null){this.token=e,this.ticketingService.stripeVideoOrder(this.playerPrice.id,this.discountCode,this.authService.accessToken(),e.id,n).subscribe(t=>{t.success?(this.loadingPayment=!1,this.paymentCompleted.emit(!0)):t.stripeInfo?.paymentIntentStatus=="requires_action"?this.stripeCard.stripe.handleCardAction(t.stripeInfo.clientSecret).then(o=>{o.error?(this.loadingPayment=!1,this.errorMsg.emit(o.error.message?o.error.message:this.DEFAULT_ERROR_MSG)):this.setPaymentMethod(this.token,t.stripeInfo.paymentIntentId);}):(this.loadingPayment=!1,this.errorMsg.emit(t.msg?t.msg:this.DEFAULT_ERROR_MSG));},()=>{this.loadingPayment=!1,this.errorMsg.next(this.DEFAULT_ERROR_MSG);});}changeUser(){this.authService.logout("/auth/login");}goBack(){this.goBackTriggered.emit(!0);}get extraData(){return{name:this.user.username,email:this.user.email,name_card:this.stripeExtraForm.controls.name.value};}static{this.ɵfac=function(n){return new(n||i)(g(ke),g(de),g(We),g(se),g(ue));};}static{this.ɵcmp=w({type:i,selectors:[["ush-stripe-payment-form"]],viewQuery:function(n,t){if(n&1&&(X(zt,5),X(Wt,5),X(Qt,5)),n&2){let o;z(o=W())&&(t.stripeCard=o.first),z(o=W())&&(t.payTemp=o.first),z(o=W())&&(t.confirmTemp=o.first);}},inputs:{playerPrice:"playerPrice",receiptType:"receiptType",movie:"movie",language:"language",player:"player",discountCode:"discountCode"},outputs:{goBackTriggered:"goBackTriggered",paymentCompleted:"paymentCompleted",errorMsg:"errorMsg"},standalone:!1,decls:40,vars:18,consts:()=>{let e;e="Name on card";let n;n="Hi, this is the email where you will receive your";let t;t="Not";let o;o="I have read and accept the";let c;c=" Terms and Conditions";let h;h="from";let P;return P="Pay",[["stripeCard",""],n,t,o,c,h,P,[1,"animate","payment-form-wrapper"],[1,"email-msg"],[1,"pointer",3,"click"],[1,"card-warp"],["id","pay-form",3,"formGroup"],[1,"field-group"],["for","filter-location",1,"field-label"],[1,"field-box"],["formControlName","name","type","text","data-translate","stripe.name.on.card","placeholder",e],["cardDetail
1sFilledOut","",3,"completeChange","paymentMethodChange","complete"],[1,"checkboxs"],[1,"checkbox-wrapper"],[1,"p-mr-2",3,"ngModelChange","ngModel","binary"],[1,"checkbox-lbl"],["data-translate","read.accept"],["target","_blank",3,"routerLink"],["data-translate","from"],[1,"step-actions"],["pButton","",3,"click","loading","disabled"],["data-translate","uplay.pay"],[1,"uplay-amount"]];},template:function(n,t){if(n&1){let o=y();a(0,"div",7)(1,"div",8)(2,"span"),E(3,1),r(),a(4,"span"),_(5),r(),_(6),a(7,"a",9),f("click",function(){return u(o),m(t.changeUser());}),a(8,"span"),E(9,2),r(),_(10),r(),_(11," ) "),r(),a(12,"div",10)(13,"form",11)(14,"div",12),R(15,"label",13),a(16,"div",14),R(17,"input",15),r()()(),a(18,"stripe-card",16,0),N("completeChange",function(h){return u(o),A(t.cardDetailsFilled,h)||(t.cardDetailsFilled=h),m(h);}),f("paymentMethodChange",function(h){return u(o),m(t.setPaymentMethod(h));}),r()(),a(20,"div",17)(21,"div",18)(22,"p-checkbox",19),N("ngModelChange",function(h){return u(o),A(t.acceptedTerms,h)||(t.acceptedTerms=h),m(h);}),r(),a(23,"span",20)(24,"span",21),E(25,3),r(),_(26,"\xA0 "),a(27,"a",22),E(28,4),r(),_(29,"\xA0 "),a(30,"span",23),E(31,5),r(),_(32),r()()(),a(33,"div",24)(34,"button",25),f("click",function(){return u(o),m(t.doPayment());}),a(35,"span",26),E(36,6),r(),a(37,"span",27),_(38),D(39,"currency"),r()()()();}n&2&&(l(5),b(" ",t.receiptType,""),l(),b(" ",t.user.email," ( "),l(4),b(" ",t.user.username,"? "),l(3),d("formGroup",t.stripeExtraForm),l(2),H("invalid",!t.stripeExtraForm.controls.name.valid),l(3),L("complete",t.cardDetailsFilled),l(4),L("ngModel",t.acceptedTerms),d("binary",!0),l(5),d("routerLink",q(17,qt)),l(5),b(" ",t.partnerName," "),l(2),d("loading",t.loadingPayment)("disabled",t.loadingPayment||!t.stripeExtraForm.valid||!t.acceptedTerms||!t.cardDetailsFilled),l(4),C(K(39,14,t.playerPrice.priceInCents/100,t.playerPrice.currencyBadge||"\u20AC")));},dependencies:[Fe,ne,oe,Ue,$e,Be,lt,Ve,re,Qe,it,Re],styles:[".checkboxs[_ngcontent-%COMP%]{display:flex;flex-direction:column}.checkbox-lbl[_ngcontent-%COMP%]{font-size:12px}.checkbox-lbl[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:var(--textColor)}.checkbox-wrapper[_ngcontent-%COMP%]{display:flex}.pointer[_ngcontent-%COMP%]{border-bottom:1px solid black;cursor:pointer}.uplay-amount[_ngcontent-%COMP%]{margin-left:7px}[_nghost-%COMP%]     .p-checkbox .p-checkbox-box{width:15px;height:15px}[_nghost-%COMP%]     .p-checkbox .p-checkbox-box .p-checkbox-icon{font-size:10px}[_nghost-%COMP%]     .p-checkbox .p-checkbox-box .p-checkbox-box{background:var(--brandColor);color:#fff;border-color:var(--brandColor);border-radius:var(--borderRadius)}.card-warp[_ngcontent-%COMP%]{margin:20px 0;padding:10px;background:#f5f5f5;max-width:500px}#pay-form[_ngcontent-%COMP%]{margin-bottom:10px}#pay-form[_ngcontent-%COMP%]   .field-box[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{font-size:1em;padding:5px;border:1px solid lightgrey;background:transparent}.step-actions[_ngcontent-%COMP%]{margin-top:20px;display:flex;justify-content:flex-end}.step-actions[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:first-child{margin-right:5px}"]});}}return i;})();var Jt=()=>({height:200,type:"portrait"});function Zt(i,p){if(i&1&&(R(0,"img",17),D(1,"img")),i&2){let e=s(2);d("src",K(1,2,e.movie.portraitPhotoUrl,q(5,Jt)),ye)("alt",e.movie.trTitle+" poster");}}function ei(i,p){i&1&&(a(0,"div",18),M(1),E(2,3),O(),r());}function ti(i,p){if(i&1&&R(0,"span",19),i&2){let e=s(2);d("innerHTML",e.playerSelected.description,fe);}}function ii(i,p){if(i&1&&(M(0),a(1,"div",20),_(2),r(),O()),i&2){let e=s(2);l(2),b(" ",e.movieAvailableToWatchLabel+" "+e.availableToWatchOn," ");}}function ni(i,p){if(i&1){let e=y();a(0,"ush-stripe-payment-form",24),f("goBackTriggered",function(){u(e);let t=s(4);return m(t.backOneStep());})("paymentCompleted",function(){u(e);let t=s(4);return m(t.onPaymentCompleted());})("errorMsg",function(t){u(e);let o=s(4);return m(o.onStripeErrorMsg(t));}),r();}if(i&2){let e=s(4);d("playerPrice",e.playerPriceSelected)("movie",e.movie)("language",e.languageSelected)("player",e.playerSelected)("discountCode",e.discountCode);}}function oi(i,p){if(i&1&&(M(0),S(1,ni,1,5,"ush-stripe-payment-form",23),D(2,"async"),O()),i&2){let e=s(3);l(),d("ngIf",me(2,1,e.isUserLoggedIn$));}}function ri(i,p){if(i&1){let e=y();
1M(0),a(1,"ush-video-selection",21),f("continueToPurchase",function(t){u(e);let o=s(2);return m(o.onContinueToPurchase(t));})("onPlayerPriceSelected",function(t){u(e);let o=s(2);return m(o.onPlayerPriceSelected(t));})("onPlayerSelected",function(t){u(e);let o=s(2);return m(o.onPlayerSelected(t));})("discountCodeEntered",function(t){u(e);let o=s(2);return m(o.onDiscountCodeEntered(t));}),r(),S(2,oi,3,3,"ng-container",22),O();}if(i&2){let e=s(2);l(),d("languagesGroup",e.languagesGroup)("players",e.players)("playerSelected",e.playerSelected)("playerPrices",e.playerPrices)("discountCode",e.discountCode)("discountStatus",e.discountStatus),l(),d("ngIf",!e.videoSelection);}}function ai(i,p){if(i&1&&(a(0,"div",29),_(1),r()),i&2){let e=s(3);l(),C(e.errorMsg);}}function li(i,p){if(i&1){let e=y();a(0,"div",25)(1,"span",26),E(2,4),r(),a(3,"button",27),f("click",function(){u(e);let t=s(2);return m(t.redirectToLogin());}),E(4,5),r()(),S(5,ai,2,1,"div",28);}if(i&2){let e=s(2);l(5),d("ngIf",e.errorMsg);}}function si(i,p){if(i&1&&(a(0,"div",8)(1,"div",9),M(2),S(3,Zt,2,6,"img",10),a(4,"div",11)(5,"div",12),S(6,ei,3,0,"div",13),a(7,"h2",14),_(8),r(),S(9,ti,1,1,"span",15)(10,ii,3,1,"ng-container",16),r(),S(11,ri,3,7,"ng-container",16)(12,li,6,1),D(13,"async"),r(),O(),r()()),i&2){let e=s(),n=Q(2),t=Q(6);l(3),d("ngIf",e.movie.portraitPhotoUrl),l(3),d("ngIf",e.availableInFuture),l(2),C(e.movie.trTitle),l(),d("ngIf",e.playerSelected==null?null:e.playerSelected.description),l(),d("ngIf",e.availableToWatchOn&&e.videoSelection)("ngIfElse",t),l(),d("ngIf",!e.playersLoading)("ngIfElse",n),l(),x(me(13,9,e.isUserLoggedIn$)?-1:12);}}function ci(i,p){i&1&&R(0,"ush-loading-indicator",30),i&2&&(ve("height","100%"),d("aligning","absolute-center"));}function di(i,p){if(i&1){let e=y();a(0,"ush-stripe-payment-form",24),f("goBackTriggered",function(){u(e);let t=s();return m(t.backOneStep());})("paymentCompleted",function(){u(e);let t=s();return m(t.onPaymentCompleted());})("errorMsg",function(t){u(e);let o=s();return m(o.onStripeErrorMsg(t));}),r();}if(i&2){let e=s();d("playerPrice",e.playerPriceSelected)("movie",e.movie)("language",e.languageSelected)("player",e.playerSelected)("discountCode",e.discountCode);}}function pi(i,p){if(i&1&&(a(0,"span",35),_(1),r()),i&2){let e=s(2);l(),b(" ",e.languageSelected.name," | ");}}function _i(i,p){if(i&1&&(a(0,"span",36),_(1),r()),i&2){let e=s(2);Ce("data-translate",e.playerSelected==null||e.playerSelected.playerQuality==null?null:e.playerSelected.playerQuality.trMsg),l(),b(" ",e.playerSelected==null||e.playerSelected.playerQuality==null?null:e.playerSelected.playerQuality.name," ");}}function ui(i,p){if(i&1&&(a(0,"span",37),M(1),E(2,6),O(),_(3),r()),i&2){let e=s(2);l(3),Ie(" ",e.getAvailabilityDuration(e.playerPriceSelected)," ",e.availableToWatchOn?e.movieFromLabel+e.availableToWatchOn:""," ");}}function mi(i,p){if(i&1&&(a(0,"div",31),S(1,pi,2,1,"span",32)(2,_i,2,2,"span",33)(3,ui,4,2,"span",34),r()),i&2){let e=s();l(),d("ngIf",e.languageSelected==null?null:e.languageSelected.name),l(),d("ngIf",e.playerSelected==null?null:e.playerSelected.playerQuality),l(),d("ngIf",!e.videoSelection);}}var he=(()=>{class i{constructor(e,n,t,o,c,h,P,v,G,I,mt,gt,ht,St,Et,Pt){this.route=e,this.movieService=n,this.uplayerService=t,this.metaTagsService=o,this.imageService=c,this.authService=h,this.navigationService=P,this.translateService=v,this.locationService=G,this.trackingService=I,this.router=mt,this.location=gt,this.env=ht,this.pageLoader=St,this.uiAuthService=Et,this.cd=Pt,this.loading=!0,this.playersLoading=!0,this.availablePlayers=!0,this.languagesGroup=[],this.players=[],this.price="",this.videoSelection=!0,this.DEFAULT_ERROR_MSG="Something went wrong, try again later.",this.movieAvailableToWatchLabel="Available to watch on",this.movieFromLabel="from",this.subscriptions=[],this.isUserLoggedIn$=this.authService.$userStatus.pipe(Se(ft=>!!ft));}ngOnDestroy(){this.subscriptions.forEach(e=>e.unsubscribe());}ngOnInit(){this.init();}ngOnChanges(e){e.playerSelected?.currentValue?.id!=e.playerSelected?.previousValue?.id&&this.init();}
1init(){let e=this.route.snapshot.params,n=this.route.snapshot.queryParams;this.queryLanguageId=parseInt(n.language),this.queryPlayerId=parseInt(n.player),this.queryPlayerPriceId=parseInt(n.playerPrice),this.discountCode=n.discountCode;let t=n.priceType;t&&(t==="free"?this.getFreeVideo(this.queryPlayerPriceId):t==="paid"&&(this.videoSelection=!1)),this.subscriptions.push(this.movieService.getMovie(e.slug,this.translateService.language?.slug,this.locationService.selectedCountry?.slug).subscribe(o=>{this.movie=o,this.setMetaTags(o),this.loading=!1,this.pageLoader.hidePageLoader(),this.loadPlayerAndPrices(this.discountCode),this.cd.detectChanges();},o=>{console.error(o);}));}loadPlayerAndPrices(e){this.subscriptions.push(this.uplayerService.getAvailableUplayers(this.movie.id,e).subscribe(n=>{n.purchasedPlayers.length>0&&this.goToMovieDetail(),this.discountStatus=e?n.availablePlayers.find(P=>P?.discount)?"applied":"invalid":null;let t=n.availablePlayers;if(!t){this.availablePlayers=!1,this.players=[],this.playerPrices=[],this.languagesGroup=[],this.languageSelected=null,this.playerPriceSelected=null;return;}this.players=n.players,this.playerPrices=n.availablePlayers,this.buildLanguageGroup(this.players),this.updatePlayerPricesMessages(t);let o,c,h;this.queryLanguageId&&(o=this.languagesGroup.find(P=>P.language.id===this.queryLanguageId).language),this.queryPlayerId&&(c=this.players.find(P=>P.id===this.queryPlayerId)),this.queryPlayerPriceId&&(h=this.playerPrices.find(P=>P.id===this.queryPlayerPriceId)),!this.videoSelection&&this.queryLanguageId&&(h=this.playerPrices.find(P=>P.id==this.queryPlayerPriceId)),this.languageSelected=o||this.languagesGroup[0]?.language,this.playerSelected=c||(this.playerSelected?this.playerSelected:this.players[0]),this.playerPriceSelected=h||(this.playerPriceSelected?this.playerPriceSelected:this.playerPrices[0]),this.availableToWatchOn=this.getAvailableToWatchOn(),this.availableInFuture=this.playerPriceSelected?.availableOnFuture,this.playersLoading=!1,this.cd.detectChanges();},n=>console.log("error at loading player prices")));}buildLanguageGroup(e){let n=[...new Set(e.map(t=>t.language))];this.languagesGroup=n.map(t=>{let o=e.filter(c=>c.language.id===t.id);return{language:t,players:o};});}updatePlayerPricesMessages(e){e.forEach(n=>{n.priceInCents===0&&(n.message="FREE");});}languageToPlayers(e){return this.languagesGroup.find(n=>n.language.id===e).players;}onPlayerPriceSelected(e){this.playerPriceSelected=e,this.updateQueryParams();}onPlayerSelected(e){console.log("PlayerSelected - ",e),this.playerSelected=e;}onDiscountCodeEntered(e){this.discountCode=e,this.updateQueryParams(),this.loadPlayerAndPrices(e);}onContinueToPurchase(e){this.trackingService.trackEvent({action:"InitiateCheckout",properties:{category:"uPlay",label:this.movie.title,movie:this.movie.title,idMovie:this.movie.id,imdb:this.movie?.imdb,tagsMovie:B(this.movie),genresMovie:k(this.movie),idPlayer:this.playerSelected?.id,language:this.languageSelected.slug,quality:this.playerSelected?.playerQuality?.name}}),this.authService.isLoggedIn()?e?this.getFreeVideo(this.playerPriceSelected.id):this.videoSelection=!1:this.env.authentication?.type==="dialog"?this.uiAuthService.presentLoginOptions():(this.navigationService.setBeforeAuthUrl(),this.router.navigate(["/auth/login"],{queryParams:{priceType:e?"free":"paid",language:this.languageSelected.id,player:this.playerSelected.id,playerPrice:this.playerPriceSelected.id,discountCode:this.discountCode}}));}redirectToLogin(){let e={language:this.languageSelected?.id,player:this.playerSelected?.id,playerPrice:this.playerPriceSelected?.id,discountCode:this.discountCode};this.navigationService.setBeforeAuthUrl(),this.uiAuthService.redirectToLogin(e);}getFreeVideo(e){this.subscriptions.push(this.uplayerService.orderFreeVideo(e,this.discountCode).subscribe(n=>{n.success?(this.errorMsg="",this.goToMovieDetail()):this.errorMsg=n.msg?n.msg:this.DEFAULT_ERROR_MSG;},()=>{this.errorMsg=this.DEFAULT_ERROR_MSG;}));}onStripeErrorMsg(e){this.errorMsg=e;}onPaymentCompleted(){this.errorMsg="",this.trackingService.trackEvent({action:"Purchase",properties:{category:"uPlay",label:this.movie.title,movie:this.movie.title,idMovie:this.movie.id,imdb:this.movie?.imdb,tagsMovie:B(this.movie),genresMovie:k(this.movie),idPlayer:this.playerSelected.id,language:this.languageSelected.slug,quality:this.playerSelected.playerQuality.name,value:this.playerPriceSelected.priceInCents/100}}),this.uplayerService.onPurchase(),this.goToMovieDetail();}getAvailableToWatchOn(){return this.playerPriceSelected?.availableOnFuture?this.getDateFromEpoch(this.playerPriceSelected?.availableFrom):"";}getDateFromEpoch(e){return new Date(e).toLocaleDateString(this.translateService.currentLanguage().code,{weekday:"long",day:"2-digit",month:"long"});}backOneStep(){this.videoSelection=!0,this.errorMsg="";}goToMovieDetail(){this.router.navigate(["movie",this.movie.friendlyUrl]);}setMetaTags(e){let n={url:this.location.path(),title:"_channel_ - Watch _movie_ Now",favicon:e?.faviconImageUrl,description:"Watch _movie_ on the _channel_ player. Directed by _director_, Starring _cast_.",video:e.trTrailerLink};e.tilePhotoUrl?n.image=this.imageService.computeUrl(e.tilePhotoUrl,{width:1280}):e.portraitPhotoUrl&&(n.image=this.imageService.computeUrl(e.portraitPhotoUrl,{height:1e3})),n.favicon=e?.faviconImageUrl;let t=e?.movieCrew?.find(c=>
1c.crewRole.name.toLowerCase()=="director")?.star?.name,o=e?.movieCrew?.filter(c=>c.crewRole.name.toLowerCase()=="actor").map(c=>c.star.name).join(", ");this.metaTagsService.setMetaTags(n,{movie:e.title,director:t,cast:o});}getQueryParams(){let e=[];return this.playerPriceSelected&&e.push("playerPrice="+this.playerPriceSelected.id),this.discountCode&&e.push("discountCode="+this.discountCode),e.length>0?e.join("&"):"";}getCurrentFullUrl(){return this.router.url+"?"+this.getQueryParams();}updateQueryParams(){this.location.replaceState(`/uplayer-purchase/${this.movie.friendlyUrl}`,this.getQueryParams());}getAvailabilityDuration(e){return this.uplayerService.getAvailabilityDuration(e);}static{this.ɵfac=function(n){return new(n||i)(g(Ae),g(Je),g(_e),g(rt),g(Ze),g(de),g(Ke),g(le),g(ze),g(se),g(Ne),g(Me),g(ie),g(at),g(ot),g(Z));};}static{this.ɵcmp=w({type:i,selectors:[["ush-pre-purchase"]],standalone:!1,features:[j],decls:7,vars:2,consts:()=>{let e;e="Pre-order";let n;n="Have you purchased the video already?";let t;t="Login here";let o;return o="Available to stream for ",[["loadingIcon",""],["stripePayment",""],["videoDetail",""],e,n,t,o,["class","pre-purchase-page page-content",4,"ngIf","ngIfElse"],[1,"pre-purchase-page","page-content"],[1,"pre-purchase-wrapper"],["class","pre-purchase-poster",3,"src","alt",4,"ngIf"],[1,"pre-purchase-detail-container"],[1,"detail-header"],["class","detail-header-heading text",4,"ngIf"],[1,"detail-header-title","title"],["class","detail-header-description description",3,"innerHTML",4,"ngIf"],[4,"ngIf","ngIfElse"],[1,"pre-purchase-poster",3,"src","alt"],[1,"detail-header-heading","text"],[1,"detail-header-description","description",3,"innerHTML"],["data-translate","movie.availableToWatch",1,"detail-header-subtitle","text"],[3,"continueToPurchase","onPlayerPriceSelected","onPlayerSelected","discountCodeEntered","languagesGroup","players","playerSelected","playerPrices","discountCode","discountStatus"],[4,"ngIf"],[3,"playerPrice","movie","language","player","discountCode","goBackTriggered","paymentCompleted","errorMsg",4,"ngIf"],[3,"goBackTriggered","paymentCompleted","errorMsg","playerPrice","movie","language","player","discountCode"],[1,"login-checker-msg"],["data-translate","public.commons.purchasedVideo"],[1,"login-checker-btn",3,"click"],["class","error-msg",4,"ngIf"],[1,"error-msg"],["height","75vh","fontSize","50px",3,"aligning"],[1,"detail-header-subtitle"],["class","language",4,"ngIf"],["class","playerQualityDescription",4,"ngIf"],["class","availableToStream",4,"ngIf"],[1,"language"],[1,"playerQualityDescription"],[1,"availableToStream"]];},template:function(n,t){if(n&1&&S(0,si,14,11,"div",7)(1,ci,1,3,"ng-template",null,0,J)(3,di,1,5,"ng-template",null,1,J)(5,mi,4,3,"ng-template",null,2,J),n&2){let o=Q(2);d("ngIf",!t.loading)("ngIfElse",o);}},dependencies:[ee,dt,ce,pt,xe,et],styles:[".pre-purchase-wrapper[_ngcontent-%COMP%]{display:flex;flex-direction:column-reverse}.pre-purchase-detail-container[_ngcontent-%COMP%]{display:flex;flex:1;flex-direction:column;justify-content:space-around}.pre-purchase-poster[_ngcontent-%COMP%]{max-width:200px;height:auto;object-fit:contain;object-position:top}@media (max-width: 991px){.pre-purchase-poster[_ngcontent-%COMP%]{margin-top:15px}}.pre-purchase-poster-container[_ngcontent-%COMP%]{display:flex;margin-bottom:20px}.detail-header[_ngcontent-%COMP%], .detail-description[_ngcontent-%COMP%], .detail-option-duration[_ngcontent-%COMP%], .detail-options[_ngcontent-%COMP%], .detail-price-container[_ngcontent-%COMP%]{margin-bottom:30px}.detail-header-title[_ngcontent-%COMP%]{margin:10px 0;text-transform:uppercase}.detail-option[_ngcontent-%COMP%]{margin-bottom:10px;width:200px}.detail-price-container[_ngcontent-%COMP%], .detail-continue-purchase-btn[_ngcontent-%COMP%]{display:flex;align-self:flex-end;font-weight:700}.detail-continue-purchase-btn[_ngcontent-%COMP%]{text-transform:uppercase}.pre-purchase-wrapper[_ngcontent-%COMP%]{margin:0 auto;padding-top:60px;max-width:1100px}@media (min-width: 768px){.pre-purchase-wrapper[_ngcontent-%COMP%]{flex-direction:row}.pre-purchase-poster[_ngcontent-%COMP%]{margin-right:5%}.detail-options[_ngcontent-%COMP%]{display:flex}.detail-options[_ngcontent-%COMP%]   .detail-option[_ngcontent-%COMP%]:first-child{margin-right:30px}}.error-msg[_ngcontent-%COMP%]{margin:0 0 0 auto;color:var(--pink-600)}.login-checker-msg[_ngcontent-%COMP%]{margin-top:15px;margin-left:auto}.login-checker-btn[_ngcontent-%COMP%]{cursor:pointer;color:#00f;font-size:inherit;text-decoration:underline}
1ush-stripe-payment-form[_ngcontent-%COMP%]{margin-top:1.5rem}"]});}}return i;})();var _t=(()=>{class i{static{this.ɵfac=function(n){return new(n||i)();};}static{this.ɵmod=U({type:i});}static{this.ɵinj=V({imports:[F,He,ae,pe]});}}return i;})();var ut=(()=>{class i{static{this.ɵfac=function(n){return new(n||i)();};}static{this.ɵmod=U({type:i});}static{this.ɵinj=V({providers:[ue],imports:[F,Ge,st,te,ae,qe,pe]});}}return i;})();var gi=[{path:":slug",component:he,data:{type:"uplayer-purchase"},pathMatch:"full"}],so=(()=>{class i{static{this.ɵfac=function(n){return new(n||i)();};}static{this.ɵmod=U({type:i});}static{this.ɵinj=V({imports:[F,te.forChild(gi),tt,_t,ce,ut]});}}return i;})();export{he as PrePurchaseVideoPageComponent,so as UplayerFeaturePurchasePageModule};/**i18n:30ec0b054eeab6d59339f950548ee4d0e695b8a3742e5f8d9b97663154cba055*/

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.