1import{a as Ie,b as Q,e as Te,f as Dt,g as Ft,h as Ee,i as ke,j as $t,k as Rt,l as Le}from"./chunk-5QITQQE2.js";import{a as Oe}from"./chunk-OQIRJL5T.js";import{a as Mt}from"./chunk-NEY2XQOD.js";import{a as L}from"./chunk-7PQDQ7VT.js";import{a as Bt}from"./chunk-HEPANJXQ.js";import{a as Tt,b as oe}from"./chunk-PICEFZFW.js";import{a as Lt}from"./chunk-JYRI3RTO.js";import{a as kt}from"./chunk-YV6OXNWG.js";import"./chunk-TI4OVWIA.js";import{b as Be,d as Et}from"./chunk-TL52Q2EP.js";import{v as ee,w as ae,z as le}from"./chunk-UXYN4UOD.js";import{b as xt,e as ht,g as Ct,i as vt,l as _t,o as St}from"./chunk-INWC7YQA.js";import{a as It}from"./chunk-4UCIY33O.js";import{a as re}from"./chunk-XWC2NMBS.js";import{a as ne}from"./chunk-TXKU5TWF.js";import{h as I}from"./chunk-RKUC452X.js";import{f as yt}from"./chunk-CATCMEVP.js";import{f as Ot,g as Pt}from"./chunk-OGAMVAPJ.js";import"./chunk-KROR5PBK.js";import"./chunk-BS4XPZFX.js";import"./chunk-AEZDFCZA.js";import{b as Pe}from"./chunk-MVJEXMHJ.js";import{a as g}from"./chunk-QW6CPKWC.js";import{n as gt,w as X}from"./chunk-RQNKNBUA.js";import{P as q,Q as v,t as ye}from"./chunk-YXFADB6Y.js";import"./chunk-6HDDN75T.js";import"./chunk-3OEZGFIG.js";import{i as W,j as bt,k as Y,p as k,u as Se}from"./chunk-X2JKRYUW.js";import{c as ie,d as O}from"./chunk-P5RJELKI.js";import{$b as at,$c as l,Ca as A,Cc as ct,Da as z,Ea as be,Fa as ge,Fc as mt,Gc as d,Hb as y,Hc as C,Ic as f,Jb as rt,Jc as ce,Kb as xe,Lc as M,Mb as F,Mc as N,N as nt,Nc as S,Oc as j,Sc as ft,Tc as _,Uc as $,Vb as he,Vc as J,Xb as w,Xc as ut,Yb as ot,Zb as b,_c as r,a as Z,ac as T,ad as h,b as K,bc as E,bd as H,cc as c,dc as a,ec as p,fc as u,gc as Ce,hc as ve,ic as _e,jb as R,l as tt,lb as P,lc as G,ma as te,mc as lt,qb as n,qd as wt,rc as U,sc as m,wa as B,wc as pt,xc as st,y as it,yc as dt}from"./chunk-QFHKCCQT.js";var At=v($t,e=>e);var Me=class e{static \u0275fac=function(t){return new(t||e)};static \u0275cmp=y({type:e,selectors:[["cgp-cinepass-duo-banner"]],decls:15,vars:11,consts:[[1,"tw:relative","tw:flex","tw:h-130.5","tw:flex-col","tw:justify-end","tw:overflow-hidden","tw:rounded-10","tw:border","tw:border-neutral-base","tw:bg-neutral-base","tw:lg:h-89.5"],["src","/assets/source/img/cinepass-duo-device.png","alt","",1,"tw:absolute","tw:inset-0","tw:h-full","tw:w-full","tw:object-cover","tw:object-[75%_center]","tw:lg:object-center"],[1,"tw:absolute","tw:inset-0","tw:bg-gradient-linear-cinepass-duo-banner-mobile","tw:lg:bg-gradient-radial-cinepass-duo-banner"],[1,"tw:relative","tw:z-10","tw:flex","tw:flex-col","tw:gap-y-6","tw:p-4","tw:lg:p-12"],[1,"tw:font-trade","tw:text-display-xl","tw:uppercase","tw:lg:text-display-2xl"],[1,"tw:inline-block","tw:bg-linear-to-r","tw:from-brand-base","tw:to-[#F89808]","tw:bg-clip-text","tw:text-transparent"],[1,"tw:inline-block","tw:text-neutral-primary"],[1,"tw:m-0","tw:text-body-md","tw:font-semibold","tw:text-neutral-primary","tw:lg:max-w-md",3,"innerHTML"]],template:function(t,o){t&1&&(Ce(0,"section",0),_e(1,"img",1)(2,"div",2),Ce(3,"div",3)(4,"h3",4)(5,"span",5),d(6),r(7,"translate"),ve(),_e(8,"br"),Ce(9,"span",6),d(10),r(11,"translate"),ve()(),_e(12,"p",7),r(13,"translate"),r(14,"trustHtml"),ve()()),t&2&&(n(6),f(" ",l(7,3,"SubscriptionOffers.DuoBanner.YellowTitle")," "),n(4),C(l(11,5,"SubscriptionOffers.DuoBanner.WhiteTitle")),n(2),lt("innerHTML",l(14,9,l(13,7,"SubscriptionOffers.DuoBanner.Subtitle")),R))},dependencies:[O,Bt],encapsulation:2,changeDetection:0})};var ei=["cgpCurrentShowCard",""],zt=e=>({slug:e}),De=class e{show;static \u0275fac=function(t){return new(t||e)};static \u0275cmp=y({type:e,selectors:[["","cgpCurrentShowCard",""]],inputs:{show:"show"},attrs:ei,decls:15,vars:22,consts:[[1,"group","tw:block","tw:w-full","tw:lg:h-108","tw:overflow-hidden","tw:mb-2",3,"routerLink"],[1,"tw:block","tw:w-full","tw:max-lg:h-[200px]","tw:mb-0","tw:hover:scale-105","tw:duration-300",3,"src"],[1,"tw:flex","tw:justify-center","tw:items-center","tw:mb-0"],[1,"tw:text-xs","tw:lg:text-title-base","tw:text-center",3,"routerLink"],[1,"tw:text-xs","tw:lg:text-title-base","tw:text-neutral-secondary","tw:text-center"],[1,"poster__labels"]],template:function(t,o){t&1&&(a(0,"a",0),r(1,"getShowUrl"),r(2,"translate"),a(3,"picture"),u(4,"img",1),r(5,"translate"),p()(),a(6,"figcaption")(7,"div",2)(8,"a",3),r(9,"getShowUrl"),r(10,"translate"),d(11),p()(),a(12,"p",4),d(13),p(),u(14,"div",5),p()),t&2&&(c("routerLink",h(2,8,l(1,
16,o.show.movie),_(18,zt,o.show.slug))),n(4),c("src",j(l(5,11,(o.show.poster==null?null:o.show.poster.lg)??"Shared.ShowItem.DefaultPoster")),P),n(4),c("routerLink",h(10,15,l(9,13,o.show.movie),_(20,zt,o.show.slug))),n(3),f(" ",o.show.title," "),n(2),f(" ",o.show.releasedYear," "))},dependencies:[L,ye,O,Lt],encapsulation:2,changeDetection:0})};var Ut=v(Et(ee),e=>e?.offer?e.offer:null);function ti(e,i){if(e&1&&(a(0,"div",12),d(1),p()),e&2){let t=m().ngIf;n(),f(" ",t.highlightLabel," ")}}function ii(e,i){if(e&1&&(a(0,"p",13),d(1),p()),e&2){let t=m().ngIf;n(),f(" ",t.perksSubtitle," ")}}function ni(e,i){e&1&&(a(0,"p",14),d(1),r(2,"translate"),p()),e&2&&(n(),f(" ",l(2,1,"SubscriptionOffers.CardPerks.Perks")," "))}function ri(e,i){if(e&1&&(a(0,"li",17)(1,"div",18),u(2,"div",19),p()()),e&2){let t=i.$implicit;n(2),c("innerHTML",t,R)}}function oi(e,i){if(e&1&&(a(0,"ul",15),F(1,ri,3,1,"li",16),p()),e&2){let t=m().ngIf;n(),c("ngForOf",t.perksDetails)}}function ai(e,i){if(e&1){let t=G();a(0,"div",4)(1,"a",20),U("click",function(){A(t);let s=m().ngIf,x=m();return x.selectPlan(s),z(x.sendTracking(s))}),a(2,"span",21),d(3),r(4,"translate"),p()()()}e&2&&(n(3),C(l(4,1,"SubscriptionOffers.CardPerks.Select")))}function li(e,i){if(e&1&&(a(0,"div",2)(1,"div",3)(2,"div",4)(3,"div",5)(4,"p",6),d(5),r(6,"translate"),p(),F(7,ti,2,1,"div",7),p(),F(8,ii,2,1,"p",8)(9,ni,3,3,"p",9),p(),F(10,oi,2,1,"ul",10)(11,ai,5,3,"div",11),r(12,"translate"),p()()),e&2){let t=i.ngIf,o=m();n(4),c("id","header-"+o.id),n(),f(" ",t.perksTitle||l(6,7,"SubscriptionOffers.Card.TellMeMore")," "),n(2),c("ngIf",t.highlighted&&t.highlightLabel),n(),c("ngIf",t.perksSubtitle),n(),c("ngIf",t.perksDetails.length>0),n(),c("ngIf",t.perksDetails.length>0),n(),c("ngIf",l(12,9,"SubscriptionOffers.CardPerks.ShowSelectBtn")==="true")}}var Fe=class e{store=B(q);translator=B(ie);tracker=B(ne);id=ee;opened$=g(Be(this.id));offer$=g(Ut);selectPlan(i){this.store.dispatch(le.close({id:ee})),this.store.dispatch(le.open({id:ae})),this.store.dispatch(Q.selectPlan({offer:i}))}sendTracking(i){this.store.select(I).pipe(te(this.translator.get("Tracking.Currency"))).subscribe(([t,o])=>{let s={currency:o,value:i.price/100,items:[{item_id:i.id,item_name:i.zuoraSubscriptionType,item_category:"pass",item_category2:t?.subscription?.currentPlan&&t.subscription.eligibleForAddonChange?"change_subscription":"new_subscription",price:i.price/100,quantity:1}]};this.tracker.push({ecommerce:null},null),this.tracker.push({event:"select_item",ecommerce:s},null),this.tracker.push({ecommerce:null},null),this.tracker.push({event:"view_item",ecommerce:s},null)})}static \u0275fac=function(t){return new(t||e)};static \u0275cmp=y({type:e,selectors:[["cgp-offer-card-perks-modal"]],decls:4,vars:7,consts:[["data-theme","dark","id","modal-tell-me-more","cgpTwModalContainer","",1,"tw:flex","tw:group","tw:max-lg:items-end","tw:fixed","tw:bottom-0","tw:top-0","tw:left-0","tw:right-0","tw:z-200","tw:items-center","tw:justify-center",3,"ngClass","modalId"],["data-modal-content","","class","tw:bg-neutral-inverted-higher-01 tw:lg:w-full tw:group-data-[theme=dark]:bg-neutral-higher-01 tw:text-neutral-inverted-primary tw:group-data-[theme=dark]:text-neutral-primary tw:lg:max-h-[90vh] tw:lg:rounded-10 tw:rounded-t-10 tw:overflow-auto tw:max-lg:opacity-0 tw:max-lg:translate-y-[10%] tw:max-lg:group-[.open]:opacity-100 tw:max-lg:group-[.open]:translate-y-0 tw:duration-500 tw:transaition-[padding]",4,"ngIf"],["data-modal-content","",1,"tw:bg-neutral-inverted-higher-01","tw:lg:w-full","tw:group-data-[theme=dark]:bg-neutral-higher-01","tw:text-neutral-inverted-primary","tw:group-data-[theme=dark]:text-neutral-primary","tw:lg:max-h-[90vh]","tw:lg:rounded-10","tw:rounded-t-10","tw:overflow-auto","tw:max-lg:opacity-0","tw:max-lg:translate-y-[10%]","tw:max-lg:group-[.open]:opacity-100","tw:max-lg:group-[.open]:translate-y-0","tw:duration-500","tw:transaition-[padding]"],[1,"tw:pt-11","tw:pb-6"],[1,"tw:px-4","tw:lg:px-6"],[1,"tw:flex","tw:justify-between","tw:items-center","tw:mb-4"],[1,"tw:text-title-base","tw:font-semibold","tw:mb-0",3,"id"],["class","tw:text-title-sm tw:text-brand-primary tw:bg-brand-alpha-lower-01 tw:rounded-sm tw:py-1 tw:px-2 tw:w-fit",4,"ngIf"],["class","tw:text-base tw:mb-6",4,"ngIf"],["class","tw:text-label-base tw:text-brand-primary tw:mb-2 tw:uppercase",4,"ngIf"],["class","tw:flex tw:max-lg:items-stretch tw:lg:flex-col tw:lg:gap-2 tw:max-lg:overflow-auto tw:px-2 tw:lg:px-4 tw:max-lg:snap-x tw:max-lg:snap-mandatory",4,"ngIf"],["class","tw:px-4 tw:lg:px-6",4,"ngIf"],[1,"tw:text-title-sm","tw:text-brand-primary","tw:bg-brand-alpha-lower-01","tw:rounded-sm","tw:py-1","tw:px-2","tw:w-fit"],[1,"tw:text-base","tw:mb-6"],[1,"tw:text-label-base","tw:text-brand-primary","tw:mb-2","tw:uppercase"],[1,"tw:flex","tw:max-lg:items-stretch","tw:lg:flex-col","tw:lg:gap-2","tw:max-lg:overflow-auto","tw:px-2","tw:lg:px-4","tw:max-lg:snap-x","tw:max-lg:snap-mandatory"],["class","tw:ps-2 tw:max-lg:w-11/12 tw:shrink-0 tw:max-lg:snap-start",4,"ngFor","ngForOf"],[1,"tw:ps-2","tw:max-lg:w-11/12","tw:shrink-0","tw:max-lg:snap-start"],[1,"tw:p-4","tw:w-full","tw:h-full","tw:rounded-md","tw:bg-neutral-alpha-higher-01"],[1,"tw:text-base","tw:mb-0",3,"innerHTML"],["role","button",1,"tw:w-full","tw:mt-6","tw:bg-brand-base","tw:text-neutral-inverted-primary","tw:hover:bg-brand-higher-01","tw:hover:shadow-btn-primary-hover","tw:data-disabled::bg-brand-higher-01","tw:data-disabled:text-neutral-inverted-muted-placeholders","tw:max-lg:w-full","tw:h-12","tw:text-title-base","tw:py-3","tw:inline-flex","tw:items-center","tw:justify-center","tw:px-4","tw:gap-2.5","tw:rounded-md","tw:ease-out-quart","tw:duration-300","tw:transition-all","tw:data-disabled:pointer-events-none",3,"click"],[1,"tw:peer-[&]:pt-0.5"]],template:function(t,o){t&1&&(a(0,"div",0),r(1,"async"),F(2,li,13,11,"div",1),r(3,"async"),p()),t&2&&(c("ngClass",l(1,3,o.opened$)?"open":"tw:hidden!")("modalId",o.id),n(2),c("ngIf",l(3,5,o.offer$)))},dependencies:[L,W,bt,Y,Le,k,O],encapsulation:2,changeDetection:0})};var se=class e{transform(i,t,o){return i===null||t===null||o===null?"":i.replace(t,o)}static \u0275fac=function(t){return new(t||e)};static \u0275pipe=xe({name:"replace",type:e,pure:!0})};var $e=v(I,e=>e?.subscriptions.cinepass?e.subscription?.currentPlan??null:null);var Re=v(I,e=>e?.subscription?.eligibleReSubscription??!1);var Ae=v(I,e=>e?.subscription?.eligibleRenewal??!1);var ze=v(ke,e=>e===null?null:K(Z({},e),{selectedOptions:e.selectedOptions.filter(i=>i.quantity>0)}));var Nt=v(ze,e=>{if(e===null)return 0;let i=e.offer.discountPrice??e.offer.price;for(let t of e.selectedOptions)i+=t.option.price*t.quantity;return i});var Ue=class e{element;emitter;paddingBottom="0px";cdr=B(wt);destroyed$=new tt;ngOnDestroy(){this.destroyed$.next(null),this.destroyed$.complete()}ngAfterViewInit(){let i=this.element?.nativeElement;if(!i)return;new ResizeObserver(()=>{let o=i.clientHeight;o&&(this.paddingBottom=`${o+16}px`,this.cdr.detectChanges())}).observe(i)}static \u0275fac=function(t){return new(t||e)};static \u0275dir=rt({type:e,selectors:[["","cgpTwModalPaddingHelper",""]],hostVars:2,hostBindings:function(t,o){t&2&&ct("padding-bottom",o.paddingBottom)},inputs:{element:"element",emitter:"emitter"}})};var de=class e{transform(i,t=[]){let o=[];o.push("offer="+i.id);for(let s of t)for(let x=0;x<s.quantity;x++)o.push("options[]="+s.option.id);return o.join("&")}static \u0275fac=function(t){return new(t||e)};static \u0275pipe=xe({name:"getSubscriptionUrlParams",type:e,pure:!0})};var si=["footer"],di=(e,i,t)=>({"tw:bg-clip-text tw:text-transparent":e,"tw:bg-[linear-gradient(102deg,rgba(252,252,252,0.30)_-12.56%,rgba(252,252,252,0.90)_74.76%,rgba(255,255,255,0.20)_171.61%)]":i,"tw:bg-linear-to-r tw:from-brand-base tw:to-[#F89808]":t}),fe=e=>({price:e}),ci=e=>({"tw:text-brand-primary":e}),jt=e=>({params:e}),mi=(e,i)=>i.text,Vt=(e,i)=>i.option.id;function fi(e,i){if(e&1&&(a(0,"span",13),d(1),p()),e&2){m(2);let t=S(0);c("ngClass",J(2,di,t.offer.titleAdditionalColor==="YELLOW"||t.offer.titleAdditionalColor==="SILVER",t.offer.titleAdditionalColor==="SILVER",t.offer.titleAdditionalColor==="YELLOW")),n(),f(" ",t.offer.titleAdditional," ")}}function ui(e,i){if(e&1&&(a(0,"span",15),d(1),r(2,"translate"),r(3,"number"),r(4,"translate"),r(5,"replace"),r(6,"translate"),p()),e&2){m(2);let t=S(0);n(),f(" ",h(6,12,"SubscriptionOffers.Card.Price",_(15,fe,H(5,8,h(3,3,t.offer.price/100,l(2,1,"
1SubscriptionOffers.Card.PriceFormat")),".",l(4,6,"SubscriptionOffers.Card.PriceDecimalReplacer"))))," ")}}function wi(e,i){if(e&1&&(a(0,"div",19),d(1),p()),e&2){m(2);let t=S(0);n(),f(" ",t.offer.discountLabel," ")}}function bi(e,i){e&1&&(a(0,"p",20),d(1),p()),e&2&&(n(),f(" ",i," "))}function gi(e,i){if(e&1&&(a(0,"li",23)(1,"span"),d(2),p()()),e&2){let t=m().$implicit;c("ngClass",_(2,ci,t.color==="YELLOW")),n(2),C(t.text)}}function xi(e,i){if(e&1&&w(0,gi,3,4,"li",23),e&2){let t=i.$implicit;b(t.text?0:-1)}}function hi(e,i){if(e&1&&(a(0,"div",21)(1,"ul",22),T(2,xi,1,1,null,null,mi),p()()),e&2){m(2);let t=S(0);n(2),E(t.offer.descriptionDetails)}}function Ci(e,i){if(e&1){let t=G();a(0,"div",29)(1,"button",30),U("click",function(){A(t);let s=m().$implicit,x=m(3);return z(x.selectOption(s.option.id,-1))}),u(2,"cgp-icon",31),p(),a(3,"span",32),d(4),p(),a(5,"button",33),U("click",function(){A(t);let s=m().$implicit,x=m(3);return z(x.selectOption(s.option.id,1))}),u(6,"cgp-icon",31),p()()}if(e&2){let t=m().$implicit;n(),c("disabled",t.quantity===0?"1":null),n(),c("id","moins")("modifier","tw:stroke-current tw:w-full tw:h-full"),n(2),f(" ",t.quantity," "),n(),c("disabled",t.quantity>=t.option.limit?"1":null),n(),c("id","plus")("modifier","tw:fill-current tw:w-full tw:h-full")}}function vi(e,i){if(e&1){let t=G();a(0,"button",34),U("click",function(){A(t);let s=m().$implicit,x=m(3);return z(x.selectOption(s.option.id,1))}),a(1,"div",35),u(2,"cgp-icon",31),p(),a(3,"span",36),d(4),r(5,"translate"),p()(),a(6,"button",37),U("click",function(){A(t);let s=m().$implicit,x=m(3);return z(x.selectOption(s.option.id,-1))}),a(7,"div",35),be(),a(8,"svg",38),u(9,"path",39)(10,"path",40),p()(),ge(),a(11,"span",36),d(12),r(13,"translate"),p()()}e&2&&(n(2),c("id","plus")("modifier","tw:fill-current tw:h-5"),n(2),C(l(5,4,"Modal.SubscriptionPlan.Add")),n(8),C(l(13,6,"Modal.SubscriptionPlan.Added")))}function _i(e,i){if(e&1&&(a(0,"div",25)(1,"p",26)(2,"span"),d(3),p(),a(4,"span"),d(5),r(6,"translate"),r(7,"number"),r(8,"translate"),r(9,"replace"),r(10,"translate"),r(11,"translate"),p()(),a(12,"div",27),u(13,"div",28),w(14,Ci,7,7,"div",29)(15,vi,14,8),p()()),e&2){let t=i.$implicit,o=i.$index,s=i.$count;c("ngClass",o===s-1?"tw:mb-6":"tw:mb-4"),n(3),C(t.option.title),n(2),ce(" ",h(10,18,"SubscriptionOffers.Card.Price",_(23,fe,H(9,14,h(7,9,t.option.price/100,l(6,7,"SubscriptionOffers.Card.PriceFormat")),".",l(8,12,"SubscriptionOffers.Card.PriceDecimalReplacer"))))," ",l(11,21,"Modal.SubscriptionPlan.PerMonth")," "),n(7),he("data-add-on",t.quantity>0?"1":"0"),n(),c("innerHTML",t.option.description,R),n(),b(t.option.limit>1?14:15)}}function Si(e,i){if(e&1&&(a(0,"h3",24),d(1),r(2,"translate"),p(),T(3,_i,16,25,"div",25,Vt)),e&2){m(2);let t=S(0);n(),f(" ",l(2,1,"Modal.SubscriptionPlan.Option.Title")," "),n(2),E(t.selectedOptions)}}function yi(e,i){if(e&1&&(a(0,"div",2)(1,"div",5)(2,"h3",6),d(3),r(4,"translate"),p(),a(5,"div",7)(6,"div",8)(7,"label",9)(8,"div",10)(9,"div",11)(10,"h2",12),d(11),w(12,fi,2,6,"span",13),p()(),a(13,"div",14),w(14,ui,7,17,"span",15),a(15,"p",16)(16,"span",17),d(17),r(18,"translate"),r(19,"number"),r(20,"translate"),r(21,"replace"),p(),a(22,"span",18),d(23),r(24,"translate"),r(25,"translate"),p()(),w(26,wi,2,1,"div",19),p()(),a(27,"div"),w(28,bi,2,1,"p",20),w(29,hi,4,0,"div",21),p()()()(),w(30,Si,5,3),p()()),e&2){let t,o=m(),s=S(0);c("element",o.footerBlock)("emitter",o.selectedPlan$),n(2),c("id","header-"+o.id),n(),C(l(4,13,"Modal.SubscriptionPlan.Title")),n(8),f(" ",s.offer.title," "),n(),b(s.offer.titleAdditional?12:-1),n(2),b(s.offer.discountPrice?14:-1),n(3),f(" ",H(21,22,h(19,17,(s.offer.discountPrice??s.offer.price)/100,l(18,15,"SubscriptionOffers.Card.PriceFormat")),".",l(20,20,"SubscriptionOffers.Card.PriceDecimalReplacer"))," "),n(6),f(" /",s.offer.periodicity==="monthly"?l(24,26,"SubscriptionOffers.Card.Month"):l(25,28,"SubscriptionOffers.Card.Year")," "),n(3),b(s.offer.discountPrice&&s.offer.discountLabel?26:-1),n(2),b((t=s.offer.subtitle)?28:-1,t),n(),b(s.offer.descriptionDetails.length>0?29:-1),n(),b(s.selectedOptions.length>0?30:-1)}}function Oi(e,i){if(e&1&&(a(0,"div",41),u(1,"cgp-icon",49),a(2,"p",50),d(3),p()()),e&2){m(2);let t=S(0);n(),c("iconClass",!0)("id","gift")("modifier","tw:h-5 tw:w-5 tw:shrink-0 tw:-rotate-12 tw:text-brand-primary"),n(2),C(t.offer.promotionalHighlight)}}function Pi(e,i){e&1&&(a(0,"span"),d(1),r(2,"translate"),r(3,"number"),r(4,"translate"),r(5,"replace"),r(6,"translate"),r(7,"translate"),p()),e&2&&(n(),ce(" ",h(6,13,"SubscriptionOffers.Card.Price",_(18,fe,H(5,9,h(3,4,i/100,l(2,2,"SubscriptionOffers.Card.PriceFormat")),".",l(4,7,"SubscriptionOffers.Card.PriceDecimalReplacer"))))," ",l(7,16,"Modal.SubscriptionPlan.PerMonth")," "))}function Bi(e,i){if(e&1&&d(0),e&2){let t=m().$implicit;f(" *",t.quantity," ")}}function Ii(e,i){if(e&1&&(a(0,"p",46),d(1),w(2,Bi,1,1),a(3,"span",47),d(4),r(5,"translate"),r(6,"number"),r(7,"translate"),r(8,"replace"),r(9,"translate"),r(10,"translate"),p()()),e&2){let t=i.$implicit;n(),f(" ",t.option.title," "),n(),b(t.quantity>1?2:-1),n(2),ce(" ",h(9,15,"SubscriptionOffers.Card.Price",_(20,fe,H(8,11,h(6,6,t.option.price*t.quantity/100,l(5,4,"SubscriptionOffers.Card.PriceFormat")),".",l(7,9,"SubscriptionOffers.Card.PriceDecimalReplacer"))))," ",l(10,18,"Modal.SubscriptionPlan.PerMonth")," ")}}function Ti(e,i){if(e&1){let t=G();a(0,"div",4)(1,"div"),w(2,Oi,4,4,"div",41),a(3,"details",42)(4,"summary",43)(5,"span",44),d(6),r(7,"translate"),u(8,"cgp-icon",31),p(),a(9,"div",44),w(10,Pi,8,20,"span"),r(11,"async"),p()(),a(12,"div",45)(13,"p",46),d(14),a(15,"span",47),d(16),r(17,"translate"),r(18,"number"),r(19,"translate"),r(20,"replace"),r(21,"translate"),r(22,"translate"),p()(),T(23,Ii,11,22,"p",46,Vt),p()(),a(25,"a",48),r(26,"async"),r(27,"async"),r(28,"translate"),r(29,"async"),r(30,"async"),r(31,"getSubscriptionUrlParams"),r(32,"translate"),r(33,"getSubscriptionUrlParams"),r(34,"translate"),U("click",function(){let s=A(t),x=m();return z(x.sendTracking(s))}),a(35,"span",36),d(36),r(37,"translate"),p()()()()}if(e&2){let t,o=i,s=m(),x=S(0);n(2),b(x&&x.offer.promotionalHighlight?2:-1),n(4),f(" ",l(7,10,"Modal.SubscriptionPlan.Total")," "),n(2),c("id","arrow-down")("modifier","tw:fill-current tw:w-6 tw:h-6 t
1w:group-open:rotate-180"),n(2),b((t=l(11,12,s.total$))?10:-1,t),n(4),f(" ",o.offer.title," "),n(2),ce(" ",h(21,25,"SubscriptionOffers.Card.Price",_(54,fe,H(20,21,h(18,16,(o.offer.discountPrice??o.offer.price)/100,l(17,14,"SubscriptionOffers.Card.PriceFormat")),".",l(19,19,"SubscriptionOffers.Card.PriceDecimalReplacer"))))," ",l(22,28,"Modal.SubscriptionPlan.PerMonth")," "),n(7),E(o.selectedOptions),n(2),c("href",l(26,30,s.tunnelUrl$)+(l(27,32,s.currentPlan$)?l(28,34,"Routes.Client.Subscription.ChangeOffer"):l(29,36,s.eligibleReSubscription$)||l(30,38,s.eligibleRenewal$)?h(32,43,"Routes.Client.Subscription.ReSubscription",_(56,jt,h(31,40,o.offer,o.selectedOptions))):h(34,49,"Routes.Client.Subscription.Offer",_(58,jt,h(33,46,o.offer,o.selectedOptions)))),P),n(11),C(l(37,52,"Modal.SubscriptionPlan.Submit"))}}var Ne=class e{footerBlock;store=B(q);id=ae;opened$=g(Be(this.id));selectedPlan$=g(ke);planResume$=g(ze);total$=g(Nt);tunnelUrl$=g(oe);currentPlan$=g($e);eligibleReSubscription$=g(Re);eligibleRenewal$=g(Ae);tracker=B(ne);translator=B(ie);selectOption(i,t){this.store.dispatch(Q.selectOption({id:i,modifier:t}))}sendTracking(i){let t=i.selectedOptions.map(o=>({item_id:o.option.id,item_name:o.option.title,item_category:"option",price:o.option.price/100,quantity:o.quantity}));this.store.select(I).pipe(te(this.total$,this.translator.get("Tracking.Currency"))).subscribe(([o,s,x])=>{this.tracker.push({ecommerce:null},null),this.tracker.push({event:"add_to_cart",ecommerce:{currency:x,value:s/100,items:[...t,{item_id:i.offer.id,item_name:i.offer.zuoraSubscriptionType,item_category:"pass",item_category2:o?.subscription?.currentPlan&&o.subscription.eligibleForAddonChange?"change_subscription":"new_subscription",price:i.offer.price/100}]}},null)})}static \u0275fac=function(t){return new(t||e)};static \u0275cmp=y({type:e,selectors:[["cgp-selected-plan-modal"]],viewQuery:function(t,o){if(t&1&&pt(si,5),t&2){let s;st(s=dt())&&(o.footerBlock=s.first)}},decls:9,vars:11,consts:[["footer",""],["cgpTwModalContainer","","data-theme","dark","id","modal-select-plan",1,"tw:flex","tw:group","tw:max-lg:items-end","tw:fixed","tw:bottom-0","tw:top-0","tw:left-0","tw:right-0","tw:z-200","tw:items-center","tw:justify-center",3,"modalId","ngClass"],["cgpTwModalPaddingHelper","","data-modal-content","",1,"tw:bg-neutral-inverted-higher-01","tw:lg:w-full","tw:group-data-[theme=dark]:bg-neutral-higher-01","tw:text-neutral-inverted-primary","tw:group-data-[theme=dark]:text-neutral-primary","tw:lg:max-h-[90vh]","tw:lg:rounded-10","tw:rounded-t-10","tw:overflow-auto","tw:max-lg:opacity-0","tw:max-lg:translate-y-[10%]","tw:max-lg:group-[.open]:opacity-100","tw:max-lg:group-[.open]:translate-y-0","tw:duration-500","tw:transaition-[padding]",3,"element","emitter"],["data-modal-footer","","footer","",1,"tw:fixed","tw:lg:absolute","tw:z-20","tw:bottom-0","tw:left-0","tw:right-0","tw:bg-neutral-inverted-base","tw:group-data-[theme=dark]:bg-neutral-higher-01","tw:group-data-[theme=dark]:border-t","tw:group-data-[theme=dark]:border-neutral-base","tw:max-lg:opacity-0","tw:max-lg:translate-y-[10%]","tw:max-lg:group-[.open]:opacity-100","tw:max-lg:group-[.open]:translate-y-0","tw:max-lg:duration-500"],[1,"tw:p-4","tw:pb-6","tw:group-data-[theme=dark]:bg-neutral-alpha-higher-01"],[1,"tw:px-4","tw:pt-6"],[1,"tw:text-title-lg","tw:mb-2.5",3,"id"],["data-plan","","data-theme","dark",1,"tw:mb-6","tw:group","tw:overflow-hidden","tw:relative","tw:p-[2px]","tw:data-[theme=dark]:p-px","tw:rounded-10","tw:bg-neutral-inverted-lower-02","tw:data-[theme=dark]:bg-neutral-base","tw:data-[theme=dark]:text-neutral-primary","tw:shadow-cinepass-tunnel-card","tw:has-checked:bg-gradient-cinepass-selected","tw:duration-300","tw:data-[theme=light]:before:hidden","tw:before:w-[21rem]","tw:before:h-[21rem]","tw:before:block","tw:before:absolute","tw:before:rounded-full","tw:before:bg-gradient-radial-cinepass-dark","tw:before:-left-[240px]","tw:before:-top-[196px]"],[1,"tw:relative","tw:z-10","tw:rounded-lg","tw:overflow-hidden","tw:group-data-[theme=dark]:bg-neutral-higher-01","tw:shadow-cinepass-border-effect","tw:group-data-[theme=dark]:shadow-none","tw:has-checked:shadow-transparent","tw:duration-300"],[1,"tw:block","tw:p-4","tw:lg:p-6","tw:bg-neutral-inverted-base","tw:group-data-[theme=dark]:bg-neutral-alpha-higher-01","{%","if","inputName%}","tw:cursor-pointer","{%","endif","%}"],[1,"tw:flex","tw:justify-between"],[1,"tw:flex","tw:items-start","tw:gap-1","tw:max-lg:flex-col"],[1,"tw:flex","tw:items-center","tw:gap-x-1","tw:self-start","tw:font-trade","tw:text-display-sm","tw:uppercase"],[3,"ngClass"],[1,"tw:flex","tw:flex-col","tw:items-end"],[1,"tw:text-title-sm","tw:text-neutral-muted-placeholders","tw:line-through"],[1,"tw:mb-0","tw:text-right"],["data-price","",1,"tw:text-title-xl"],[1,"tw:text-sm","tw:text-neutral-inverted-secondary","tw:group-data-[theme=dark]:text-neutral-secondary"],[1,"tw:mt-1","tw:w-fit","tw:shrink-0","tw:rounded-sm","tw:bg-brand-alpha-lower-01","tw:px-1.5","tw:pt-1","tw:pb-0.5","tw:font-trade","tw:text-display-xs","tw:text-brand-primary","tw:uppercase"],[1,"tw:text-title-sm","tw:mb-0"],[1,"tw:text-sm","tw:group-data-[theme=dark]:text-neutral-secondary","tw:[&_p]:mb-0.5","tw:[&_p]:last-child:mb-0"],["role","list",1,"tw:list-['-']","tw:flex-1","tw:group-data-[theme=dark]:text-neutral-secondary"],[1,"tw:text-sm","tw:ps-1",3,"ngClass"],[1,"tw:text-title-lg","tw:mb-2.5"],["data-theme","dark",1,"tw:group","tw:rounded-10","tw:border","t
1w:border-neutral-inverted-lower-02","tw:bg-neutral-inverted-base","tw:p-4","tw:shadow-cinepass-tunnel-card","tw:data-[theme=dark]:border-neutral-base","tw:data-[theme=dark]:bg-neutral-alpha-higher-01","tw:mb-4",3,"ngClass"],[1,"tw:mb-2","tw:flex","tw:items-center","tw:justify-between","tw:text-title-base"],[1,"tw:group","tw:flex","tw:items-center","tw:justify-between","tw:gap-4","tw:lg:h-10"],[1,"tw:mb-0","tw:text-sm","tw:text-neutral-inverted-secondary","tw:group-data-[theme=dark]:text-neutral-secondary",3,"innerHTML"],["data-quantity","","data-theme","dark",1,"tw:group","tw:relative","tw:w-fit"],["data-quantity-minus","",1,"tw:w-6","tw:h-6","tw:rounded-full","tw:bg-neutral-base","tw:group-data-[theme=dark]:bg-neutral-inverted-base","tw:text-neutral-primary","tw:group-data-[theme=dark]:text-neutral-inverted-primary","tw:disabled:opacity-30","tw:duration-300",3,"click","disabled"],[3,"id","modifier"],["data-quantity-count","",1,"tw:text-lg-mobile"],["data-quantity-plus","",1,"tw:w-6","tw:h-6","tw:rounded-full","tw:bg-neutral-base","tw:group-data-[theme=dark]:bg-neutral-inverted-base","tw:text-neutral-primary","tw:group-data-[theme=dark]:text-neutral-inverted-primary","tw:disabled:opacity-30",3,"click","disabled"],["role","button",1,"tw:group-data-[add-on='1']:hidden","tw:max-lg:w-fit!","tw:bg-neutral-inverted-base","tw:text-neutral-inverted-primary","tw:hover:shadow-btn-primary-hover","tw:max-lg:w-full","tw:h-10","tw:text-title-sm","tw:py-2.5","tw:inline-flex","tw:items-center","tw:justify-center","tw:px-4","tw:gap-2.5","tw:rounded-md","tw:ease-out-quart","tw:duration-300","tw:transition-all","tw:data-disabled:pointer-events-none",3,"click"],[1,"tw:peer","tw:pointer-events-none","tw:[&>svg]:w-5","[&>svg]:"],[1,"tw:peer-[&]:pt-0.5"],["role","button",1,"tw:group-data-[add-on='0']:hidden","tw:max-lg:w-fit!","tw:bg-neutral-inverted-base","tw:text-neutral-inverted-primary","tw:hover:shadow-btn-primary-hover","tw:max-lg:w-full","tw:h-10","tw:text-title-sm","tw:py-2.5","tw:inline-flex","tw:items-center","tw:justify-center","tw:px-4","tw:gap-2.5","tw:rounded-md","tw:ease-out-quart","tw:duration-300","tw:transition-all","tw:data-disabled:pointer-events-none",3,"click"],["fill","none","height","24","viewBox","0 0 24 24","width","24","xmlns","http://www.w3.org/2000/svg",1,"tw:h-5","tw:fill-current"],["clip-rule","evenodd","d","M12 23C18.0751 23 23 18.0751 23 12C23 5.92487 18.0751 1 12 1C5.92487 1 1 5.92487 1 12C1 18.0751 5.92487 23 12 23ZM8.18049 11.7333C7.93984 12.0093 7.93984 12.4371 8.18049 12.713L10.1991 15.0876C10.3114 15.2165 10.4683 15.2901 10.6332 15.291C10.7981 15.2901 10.9549 15.2165 11.0672 15.0867L15.7186 9.8912C15.9584 9.61522 15.9584 9.18741 15.7186 8.91143C15.6063 8.78156 15.4495 8.70898 15.2846 8.70898C15.1197 8.70898 14.9619 8.78156 14.8496 8.91143L10.6331 13.617L9.04949 11.7333C8.93721 11.6034 8.77944 11.5308 8.61455 11.5308C8.44967 11.5308 8.2928 11.6034 8.18049 11.7333Z","fill","currentColor","fill-rule","evenodd","opacity","0.05"],["clip-rule","evenodd","d","M12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM8.14896 11.7299C7.90521 12.0094 7.90521 12.4427 8.14896 12.7222L10.1936 15.1273C10.3073 15.2579 10.4662 15.3324 10.6332 15.3333C10.8002 15.3324 10.9591 15.2579 11.0728 15.1263L15.784 9.86408C16.0269 9.58456 16.0269 9.15124 15.784 8.87172C15.6703 8.74017 15.5114 8.66667 15.3444 8.66667C15.1774 8.66667 15.0176 8.74017 14.9038 8.87172L10.6332 13.6378L9.02913 11.7299C8.9154 11.5983 8.75561 11.5248 8.58859 11.5248C8.4216 11.5248 8.26271 11.5983 8.14896 11.7299Z","fill","currentColor","fill-rule","evenodd"],[1,"tw:mb-3","tw:flex","tw:items-center","tw:gap-2","tw:rounded-md","tw:bg-brand-alpha-lower-01","tw:px-4","tw:py-3"],["data-expandable-summary","",1,"tw:group","tw:mb-0","tw:list-none"],[1,"tw:text-title-base","tw:mb-1","tw:group-open:mb-2","tw:flex","tw:justify-between","tw:[&::-webkit-details-marker]:hidden"],[1,"tw:flex","tw:items-center"],[1,"tw:opacity-0","tw:group-open:opacity-100","tw:duration-300"],[1,"tw:text-base","tw:mb-1","tw:flex","tw:justify-between"],[1,"tw:text-base"],[1,"tw:w-full","tw:mt-4","tw:bg-brand-base","tw:text-neutral-inverted-primary","tw:hover:bg-brand-higher-01","tw:hover:shadow-btn-primary-hover","tw:data-disabled::bg-brand-higher-01","tw:data-disabled:text-neutral-inverted-muted-placeholders","tw:max-lg:w-full","tw:h-12","tw:text-title-base","tw:py-3","tw:inline-flex","tw:items-center","tw:justify-center","tw:px-4","tw:gap-2.5","tw:rounded-md","tw:ease-out-quart","tw:duration-300","tw:transition-all","tw:data-disabled:pointer-events-none",3,"click","href"],[3,"iconClass","id","modifier"],[1,"tw:mb-0","tw:text-body-sm","tw:text-brand-primary"]],template:function(t,o){if(t&1&&(M(0),r(1,"async"),a(2,"div",1),r(3,"async"),w(4,yi,31,30,"div",2),a(5,"div",3,0),w(7,Ti,38,60,"div",4),r(8,"async"),p()()),t&2){let s,x=N(l(1,4,o.selectedPlan$));
1n(2),c("modalId",o.id)("ngClass",l(3,7,o.opened$)?"open":"tw:hidden!"),n(2),b(x?4:-1),n(3),b((s=l(8,9,o.planResume$))?7:-1,s)}},dependencies:[L,W,Le,Ue,Pe,k,Se,O,de,se],encapsulation:2,changeDetection:0})};function Ei(e,i){let t=Oe(i.toLowerCase());return e.address.postalCode?.startsWith(i)||Oe(e.address.city.toLowerCase()).includes(t)||Oe(e.name.toLowerCase()).includes(t)}var ki=v(Dt,Ft,(e,i)=>i.length===0?e:e.filter(t=>Ei(t,i))),Ht=v(Pt,ki,(e,i)=>i.map(t=>K(Z({},t),{route:e.includes(t.slug)})).sort((t,o)=>t.name>o.name?1:-1));var qt=v(Ht,Ot,yt,(e,i,t)=>e.map(o=>{let s=i[o.slug];return s?K(Z({},o),{tags:t.filter(x=>s.tags.includes(x.slug))}):K(Z({},o),{tags:[]})}).sort((o,s)=>o.name<s.name?-1:1));var Mi=e=>({slug:e}),Di=(e,i)=>i.slug;function Fi(e,i){e&1&&(a(0,"div",0)(1,"p",11),d(2),r(3,"translate"),p(),a(4,"h3",12),d(5),r(6,"translate"),p()()),e&2&&(n(2),f(" ",l(3,2,"SubscriptionOffers.StoreLocator.Title")),n(3),C(l(6,4,"SubscriptionOffers.StoreLocator.Subtitle")))}function $i(e,i){if(e&1&&(a(0,"a",14),r(1,"translate"),d(2),p()),e&2){let t=m().$implicit;c("routerLink",h(1,2,"Routes.Cinema.Single",_(5,Mi,t.slug))),n(2),C(t.name)}}function Ri(e,i){if(e&1&&d(0),e&2){let t=m().$implicit;f(" ",t.name," ")}}function Ai(e,i){if(e&1&&u(0,"cgp-experience-icon",17),e&2){let t=i.$implicit;c("parentDivModifier","tw:flex tw:h-6 tw:items-center tw:rounded-xs tw:px-1")("tag",t)("svgModifier","tw:max-h-3.5 tw:w-full tw:max-w-11 tw:text-neutral-secondary")("applyColors",!1)}}function zi(e,i){if(e&1&&(a(0,"div",16),T(1,Ai,1,4,"cgp-experience-icon",17,at),p()),e&2){let t=m().$implicit;n(),E(t.tags)}}function Ui(e,i){if(e&1&&(a(0,"li",10)(1,"p",13),w(2,$i,3,7,"a",14)(3,Ri,1,1),p(),a(4,"p",15),d(5),p(),w(6,zi,3,0,"div",16),p()),e&2){let t=i.$implicit;n(2),b(t.route?2:3),n(3),f(" ",t.address.address),n(),b(t.tags?6:-1)}}var je=class e{store=B(q);partners$=g(qt);searchForm=new Ct("",{nonNullable:!0});searchSubscription;ngOnInit(){this.searchSubscription=this.searchForm.valueChanges.pipe(nt(350)).subscribe(i=>{this.store.dispatch(Ie.search({value:i}))})}ngOnDestroy(){this.searchSubscription?.unsubscribe()}static \u0275fac=function(t){return new(t||e)};static \u0275cmp=y({type:e,selectors:[["cgp-store-locator"]],decls:15,vars:8,consts:[[1,"tw:flex-1"],[1,"tw:relative","tw:overflow-hidden","tw:flex","tw:gap-6","tw:p-6","tw:rounded-10","tw:bg-neutral-higher-01","tw:h-[31rem]"],[1,"tw:flex","tw:flex-col","tw:flex-1","tw:overflow-hidden","tw:h-full"],[1,"tw:-mt-2","tw:mb-4","tw:group"],[1,"tw:relative","tw:mt-2","tw:rounded-md"],["type","text","name","input","id","input","required","false",1,"tw:group-[.disabled]:bg-neutral-inverted-higher-02","tw:group-[.error]:border-danger-base","tw:group-[.error]:bg-danger-higher-03","tw:group-[.error]:text-danger-inverted-primary","tw:group-[.error]:placeholder:text-danger-inverted-primary","tw:focus:bg-neutral-inverted-base","tw:hover:placeholder:text-neutral-inverted-secondary","tw:hover:border-neutral-inverted-higher-01","tw:hover:bg-neutral-inverted-higher-01","tw:placeholder:transition-all","tw:placeholder:text-neutral-inverted-muted-placeholders","tw:bg-neutral-inverted-base","tw:text-neutral-inverted-primary","tw:border","tw:border-neutral-inverted-base","tw:text-sm","tw:block","tw:w-full","tw:h-12","tw:px-4","tw:pl-10","tw:rounded-md","tw:transition-all","tw:ease-out-quart","tw:duration-300","tw:outline-hidden",3,"placeholder","formControl"],[1,"tw:pointer-events-none","tw:absolute","tw:inset-y-0","tw:flex","tw:items-center","tw:[&>svg]:h-auto","tw:[&>svg]:w-5","tw:[&>svg]:text-neutral-inverted-muted-placeholders","tw:left-0","tw:pl-3"],["width","1.05em","height","1em","viewBox","0 0 25 24","slot","icon","data-icon","magnify",1,"icon","tw:fill-current"],[0,"xlink","href","/assets/source/img/sprite.svg#icon-magnify"],[1,"tw:flex","tw:flex-col","tw:overflow-auto"],[1,"tw:py-3","tw:shrink-0","tw:shadow-locator-card","tw:border-b","tw:border-neutral-base","tw:last:border-0","tw:max-w-full"],[1,"tw:text-label-base","tw:uppercase","tw:text-brand-primary","tw:mb-1","tw:lg:block","tw:hidden"],[1,"tw:text-title-lg","tw:lg:text-title-2xl","tw:mb-6","tw:lg:mb-8"],[1,"tw:title-sm","tw:font-bold","tw:text-neutral-primary"],[3,"routerLink"],[1,"tw:text-sm","tw:text-neutral-secondary"],[1,"tw:flex","tw:gap-1","tw:mt-2"],[3,"parentDivModifier","tag","svgModifier","applyColors"]],template:function(t,o){if(t&1&&(M(0),r(1,"async"),w(2,Fi,7,6,"div",0),a(3,"div",1)(4,"div",2)(5,"f
1ieldset",3)(6,"div",4),u(7,"input",5),r(8,"translate"),a(9,"div",6),be(),a(10,"svg",7),u(11,"use",8),p()()()(),ge(),a(12,"ul",9),T(13,Ui,7,3,"li",10,Di),p()()()),t&2){let s=l(1,4,o.partners$);n(2),b(s?2:-1),n(5),c("placeholder",j(l(8,6,"SubscriptionOffers.PartnersModal.Placeholder")))("formControl",o.searchForm),n(6),E(s)}},dependencies:[L,ye,St,xt,ht,_t,vt,kt,k,O],encapsulation:2,changeDetection:0})};function Ni(e,i){if(e&1&&(a(0,"a",7),d(1),u(2,"cgp-icon-legacy",8),p()),e&2){let t=m().ngIf;c("href",j(t.cta.url),P),n(),f(" ",t.cta.label," "),n(),c("id","arrow-right")("modifier","tw:w-5 tw:h-5 tw:fill-neutral-primary")}}function ji(e,i){if(e&1&&(a(0,"div",1)(1,"div",2)(2,"span",3)(3,"span",4),d(4),r(5,"translate"),p()(),u(6,"div",5),F(7,Ni,3,5,"a",6),p()()),e&2){let t=i.ngIf;n(4),f(" ",l(5,3,"SubscriptionOffers.Promotion.Badge")," "),n(2),c("innerHTML",t.description,R),n(),c("ngIf",t.cta)}}var Ve=class e{promotion$=g(Te);static \u0275fac=function(t){return new(t||e)};static \u0275cmp=y({type:e,selectors:[["cgp-subscription-banner"]],decls:2,vars:3,consts:[["class","tw:relative tw:mx-auto tw:w-full tw:max-w-xl tw:p-px tw:shadow-cinepass-offer-banner tw:bg-linear-to-r tw:from-neutral-inverted-base tw:via-brand-secondary tw:via-10% tw:to-danger-700 tw:to-85% tw:rounded-lg",4,"ngIf"],[1,"tw:relative","tw:mx-auto","tw:w-full","tw:max-w-xl","tw:p-px","tw:shadow-cinepass-offer-banner","tw:bg-linear-to-r","tw:from-neutral-inverted-base","tw:via-brand-secondary","tw:via-10%","tw:to-danger-700","tw:to-85%","tw:rounded-lg"],[1,"tw:w-full","tw:flex","tw:flex-col","tw:md:flex-row","tw:justify-center","tw:md:justify-between","tw:py-4","tw:ps-16","tw:pe
1-6","tw:bg-linear-to-r","tw:from-brand-base","tw:to-danger-higher-01","tw:rounded-lg"],[1,"tw:absolute","tw:flex","tw:justify-center","tw:items-center","tw:left-0","tw:before:bg-neutral-inverted-base","tw:before:w-14","tw:before:h-10","tw:before:block","tw:before:rounded-lg","tw:before:absolute","tw:before:-rotate-6"],[1,"tw:text-title-base","tw:text-neutral-inverted-primary","tw:relative","tw:z-1","tw:block"],[1,"tw:text-title-base","tw:mb-0",3,"innerHTML"],["class","tw:text-title-sm tw:flex tw:items-center tw:transition-transform tw:duration-300 tw:in-out-quart tw:hover:translate-x-1 tw:hover:rotate-[0.0001deg]",3,"href",4,"ngIf"],[1,"tw:text-title-sm","tw:flex","tw:items-center","tw:transition-transform","tw:duration-300","tw:in-out-quart","tw:hover:translate-x-1","tw:hover:rotate-[0.0001deg]",3,"href"],[3,"id","modifier"]],template:function(t,o){t&1&&(F(0,ji,8,5,"div",0),r(1,"async")),t&2&&c("ngIf",l(1,1,o.promotion$))},dependencies:[L,Y,re,k,O],encapsulation:2,changeDetection:0})};var He=class e{id;key;static \u0275fac=function(t){return new(t||e)};static \u0275cmp=y({type:e,selectors:[["cgp-subscription-benefits-item"]],inputs:{id:"id",key:"key"},decls:5,vars:5,consts:[[1,"tw:p-1","tw:lg:p-2","tw:rounded-md","tw:bg-brand-alpha-lower-01"],[3,"id","modifier"],[1,"tw:text-title-sm","tw:lg:text-title-base","tw:ms-4","tw:mb-0"]],template:function(t,o){t&1&&(a(0,"div",0),u(1,"cgp-icon-legacy",1),p(),a(2,"p",2),d(3),r(4,"translate"),p()),t&2&&(n(),c("id",o.id)("modifier","tw:text-brand-primary tw:w-8 tw:h-8 tw:fill-brand-primary"),n(2),C(l(4,3,o.key)))},dependencies:[L,re,O],encapsulation:2,changeDetection:0})};var Vi=(e,i)=>i.id;function Hi(e,i){if(e&1&&u(0,"cgp-subscription-benefits-item",4),e&2){let t=i.$implicit;c("id",t.id)("key",t.key)}}var qe=class e{website$=g(gt);subscriptionItems={nl:{gift:"SubscriptionOffers.Benefits.Item.Birthday","pause-round":"SubscriptionOffers.Benefits.Item.Pause",coupon:"SubscriptionOffers.Benefits.Item.GourmetMenu",balloons:"SubscriptionOffers.Benefits.Item.EveningEvent","add-friends":"SubscriptionOffers.Benefits.Item.EveningParty",friends:"SubscriptionOffers.Benefits.Item.Referral"},ch:{profile:"SubscriptionOffers.Benefits.Item.Accompagn","document-scanner":"SubscriptionOffers.Benefits.Item.Pause","mail-account":"SubscriptionOffers.Benefits.Item.Referral","special-event":"SubscriptionOffers.Benefits.Item.EveningParty","user-premium":"SubscriptionOffers.Benefits.Item.Gift",food:"SubscriptionOffers.Benefits.Item.EveningEvent","ticket-birthday":"SubscriptionOffers.Benefits.Item.Birthday"},be:{"ticket-birthday":"SubscriptionOffers.Benefits.Item.Birthday",food:"SubscriptionOffers.Benefits.Item.GourmetMenu","movie-clap":"SubscriptionOffers.Benefits.Item.EveningParty",profile:"SubscriptionOffers.Benefits.Item.Accompagn","document-scanner":"SubscriptionOffers.Benefits.Item.Pause","mail-account":"SubscriptionOffers.Benefits.Item.Referral"},default:{friends:"SubscriptionOffers.Benefits.Item.Accompagn","ticket-birthday":"SubscriptionOffers.Benefits.Item.Birthday",food:"SubscriptionOffers.Benefits.Item.GourmetMenu",food_1:"SubscriptionOffers.Benefits.Item.EveningParty","pause-round":"SubscriptionOffers.Benefits.Item.Pause","movie-clap":"SubscriptionOffers.Benefits.Item.EveningEvent",surprise:"SubscriptionOffers.Benefits.Item.Referral",gift:"SubscriptionOffers.Benefits.Item.MonthlySurprise"}};items$=this.website$.pipe(it(i=>{let t=i??"default";return Object.entries(this.subscriptionItems[t]??this.subscriptionItems.default).map(([s,x])=>({id:s.replace(/_\d+$/,""),key:x}))}));static \u0275fac=function(t){return new(t||e)};static \u0275cmp=y({type:e,selectors:[["cgp-subscription-benefits"]],decls:12,vars:8,consts:[[1,"tw:flex-1"],[1,"tw:text-label-base","tw:uppercase","tw:text-brand-primary","tw:mb-1","tw:lg:block"],[1,"tw:text-title-lg","tw:lg:text-title-2xl","tw:mb-6","tw:lg:mb-8"],[1,"tw:lg:grid","tw:lg:grid-cols-3","tw:lg:gap-x-20"],[1,"tw:flex","tw:items-center","tw:mb-6","tw:lg:mb-8","tw:max-lg:last:mb-0",3,"id","key"]],template:function(t,o){t&1&&(a(0,"div")(1,"div",0)(2,"h4",1),d(3),r(4,"translate"),p(),a(5,"h3",2),d(6),r(7,"translate"),p()(),a(8,"div",3),T(9,Hi,1,2,"cgp-subscription-benefits-item",4,Vi),r(11,"async"),p()()),t&2&&(n(3),f(" ",l(4,2,"SubscriptionOffers.Benefits.Title")," "),n(3),f(" ",l(7,4,"SubscriptionOffers.Benefits.Subtitle")," "),n(3),E(l(11,6,o.items$)))},dependencies:[He,k,O],encapsulation:2,changeDetection:0})};var Gt=v(I,e=>e?.subscription?.downgrade??null);var Wt=v(I,e=>e?.subscription?.eligibleChanges??[]);var Yt=v(I,e=>e?.subscription?.eligibleForAddonChange??!1);var Qt=v(Ee,e=>!!e.find(i=>i.highlighted&&i.highlightLabel!==null));var qi=(e,i)=>({"tw:lg:mt-11":e,"tw:w-full tw:lg:w-1/4":i}),Gi=(e,i,t,o,s)=>({"tw:overflow-visible tw:before:hidden":e,"tw:bg-neutral-alpha-higher-01":i,"tw:bg-[#1F2326]":t,"tw:bg-brand-base":o,"tw:bg-neutral-inverted-base":s}),Zt=e=>({price:e}),Wi=(e,i)=>({"tw:bg-brand-base":e,"tw:bg-neutral-inverted-base":i}),Yi=e=>({date:e}),Qi=(e,i,t)=>({"tw:bg-clip-text tw:text-transparent":e,"tw:bg-[linear-gradient(102deg,rgba(252,252,252,0.30)_-12.56%,rgba(252,252,252,0.90)_74.76%,rgba(255,255,255,0.20)_171.61%)]":i,"tw:bg-linear-to-r tw:from-brand-base tw:to-[#F89808]":t}),Zi=e=>({"tw:text-brand-primary":e}),Kt=e=>({params:e}),Ki=(e,i)=>({tunnelId:e,params:i}),Ke=(e,i)=>({item_id:e,item_name:i,item_category:"pass"}),We=e=>[e],Je=(e,i,t)=>({currency:e,value:i,items:t}),Ji=(e,i)=>({"tw:bg-brand-base tw:text-neutral-inverted-primary tw:hover:bg-brand-higher-01 tw:data-disabled::bg-brand-higher-01":e,"tw:bg-neutral-alpha-higher-02 tw::text-neutral-primary tw:data-disabled:bg-neutral-alpha-higher-01":i}),Xi=(e,i)=>({"tw:bg-brand-base tw:text-neutral-inverted-primary tw:hover:bg-brand-higher-01 tw:hover:shadow-btn-primary-hover tw:data-disabled::bg-brand-higher-01":e,"tw:bg-neutral-alpha-higher-02 tw:text-neutral-primary tw:hover:shadow-btn-primary-hover tw:data-disabled:bg-neutral-alpha-higher-01":i}),en=e=>({quantity:1,option:e}),tn=(e,i)=>i.text,nn=(e,i)=>i.id;function rn(e,i){if(e&1&&(a(0,"div",2),d(1),r(2,"translate"),p()),e&2){m();let t=S(0),o=S(2);c("ngClass",$(4,Wi,!o||t===o.plan,o&&t!==o.plan)),n(),f(" ",l(2,2,"SubscriptionOffers.Card.CurrentPlan")," ")}}function on(e,i){if(e&1&&(a(0,"div",3),d(1),r(2,"translate"),r(3,"dayjsDate"),r(4,"translate"),p()),e&2){m();let t=S(2);n(),f(" ",h(4,6,"SubscriptionOffers.Card.NewPlan",_(9,Yi,h(3,3,t.executionDate,l(2,1,"SubscriptionOffers.Card.DateFormat"))))," ")}}function an(e,i){if(e&1&&(a(0,"div",5),d(1),p()),e&2){let t=m();n(),f(" ",t.offer.highlightLabel," ")}}function ln(e,i){if(e&1&&(a(0,"span",0),d(1),p()),e&2){let t=m();c("ngClass",J(2,Qi,t.offer.titleAdditionalColor==="YELLOW"||t.offer.titleAdditionalColor==="SILVER",t.offer.titleAdditionalColor==="SILVER",t.offer.titleAdditionalColor==="YELLOW")),n(),f(" ",t.offer.titleAdditional," ")}}function pn(e,i){if(e&1&&(a(0,"p",9),d(1),p()),e&2){let t=m();
1n(),f(" ",t.offer.subtitle," ")}}function sn(e,i){if(e&1&&(a(0,"div",17),d(1),p()),e&2){let t=m(2);n(),f(" ",t.offer.discountLabel," ")}}function dn(e,i){if(e&1&&(a(0,"div",11)(1,"span",16),d(2),r(3,"translate"),r(4,"number"),r(5,"translate"),r(6,"replace"),r(7,"translate"),p(),w(8,sn,2,1,"div",17),p()),e&2){let t=m();n(2),f(" ",h(7,13,"SubscriptionOffers.Card.Price",_(16,Zt,H(6,9,h(4,4,t.offer.price/100,l(3,2,"SubscriptionOffers.Card.PriceFormat")),".",l(5,7,"SubscriptionOffers.Card.PriceDecimalReplacer"))))," "),n(6),b(t.offer.discountLabel?8:-1)}}function cn(e,i){if(e&1&&(a(0,"li",0),u(1,"cgp-icon",18),a(2,"span"),d(3),p()()),e&2){let t=m().$implicit;c("ngClass",_(5,Zi,t.color==="YELLOW")),n(),c("iconClass",!0)("id","check")("modifier","tw:fill-neutral-secondary tw:me-1 tw:h-5 tw:w-5 tw:shrink-0"),n(2),C(t.text)}}function mn(e,i){if(e&1&&w(0,cn,4,7,"li",0),e&2){let t=i.$implicit;b(t.text?0:-1)}}function fn(e,i){if(e&1&&(a(0,"div",15),u(1,"cgp-icon",19),a(2,"p",20),d(3),p()()),e&2){let t=m();n(),c("id","gift")("modifier","tw:pe-1 tw:w-6 tw:h-6 tw:fill-brand-primary"),n(2),C(t.offer.promotionalHighlight)}}function un(e,i){if(e&1){let t=G();a(0,"a",23),U("click",function(){A(t);let s=m(2);return s.openPlanModal(s.offer),z(s.sendTracking(s.offer))}),a(1,"span",24),d(2),r(3,"translate"),p()()}e&2&&(n(2),f(" ",l(3,1,"SubscriptionOffers.Card.Select")," "))}function wn(e,i){if(e&1&&(a(0,"a",25),r(1,"async"),r(2,"async"),r(3,"async"),r(4,"getSubscriptionUrlParams"),r(5,"translate"),r(6,"getSubscriptionUrlParams"),r(7,"translate"),r(8,"translate"),r(9,"number"),a(10,"span",24),d(11),r(12,"translate"),p()()),e&2){let t=m(3);c("event","select_item")("href",l(1,4,t.tunnelUrl$)+(l(2,6,t.eligibleReSubscription$)||l(3,8,t.eligibleRenewal$)?h(5,12,"Routes.Client.Subscription.ReSubscription",_(26,Kt,l(4,10,t.offer))):h(7,17,"Routes.Client.Subscription.Offer",$(28,Ki,t.offer.tunnelId,l(6,15,t.offer)))),P)("promotions",J(36,Je,l(8,20,"Tracking.Currency"),l(9,22,t.offer.price/100),_(34,We,$(31,Ke,t.offer.id,t.offer.zuoraSubscriptionType)))),n(11),f(" ",l(12,24,"SubscriptionOffers.Card.Select")," ")}}function bn(e,i){if(e&1&&(M(0),r(1,"async"),w(2,wn,13,40,"a",25)),e&2){let t=m(2),o=l(1,1,t.subscriptionOfferWithTunnelId$);n(2),b(o&&t.offer.tunnelId!==null||o===!1?2:-1)}}function gn(e,i){if(e&1){let t=G();a(0,"div",22)(1,"a",26),U("click",function(){A(t);let s=m(2);return z(s.openPerksModal(s.offer))}),a(2,"span",24),d(3),r(4,"translate"),p()()()}e&2&&(n(3),f(" ",l(4,1,"SubscriptionOffers.Card.TellMeMore")," "))}function xn(e,i){if(e&1&&(w(0,un,4,3,"a",21)(1,bn,3,3),w(2,gn,5,3,"div",22)),e&2){let t=m();b(t.offer.options.length>0?0:1),n(2),b(t.offer.perksTitle||t.offer.perksSubtitle||t.offer.perksDetails.length>0?2:-1)}}function hn(e,i){if(e&1&&(a(0,"div",22)(1,"a",27),r(2,"async"),r(3,"async"),r(4,"translate"),r(5,"async"),r(6,"translate"),r(7,"translate"),r(8,"number"),a(9,"span",24),d(10),r(11,"async"),r(12,"translate"),p()()()),e&2){let t=m(2),o=S(0),s=S(2);n(),c("event","select_item")("href",t.offer.options.length>0&&l(2,5,t.eligibleForAddonChange$)?l(3,7,t.tunnelUrl$)+l(4,9,"Routes.Client.Subscription.ChangeOffer"):l(5,11,t.clientUrl$)+l(6,13,"Routes.Client.Account.Subscription"),P)("ngClass",$(23,Ji,!s||s.plan===o,s&&s.plan!==o))("promotions",J(31,Je,l(7,15,"Tracking.Currency"),l(8,17,t.offer.price/100),_(29,We,$(26,Ke,t.offer.id,t.offer.zuoraSubscriptionType)))),n(9),f(" ",l(12,21,t.offer.options.length>0&&l(11,19,t.eligibleForAddonChange$)?"SubscriptionOffers.Card.ChangeSubscription":"SubscriptionOffers.Card.ViewSubscription")," ")}}function Cn(e,i){e&1&&(a(0,"span",24),d(1),r(2,"translate"),p()),e&2&&(n(),f(" ",l(2,1,"SubscriptionOffers.Card.ChangePlan")," "))}function vn(e,i){e&1&&(a(0,"span",24),d(1),r(2,"translate"),p()),e&2&&(n(),f(" ",l(2,1,"SubscriptionOffers.Card.CheckSubscription")," "))}function _n(e,i){e&1&&(a(0,"div",30),d(1),r(2,"translate"),p()),e&2&&(n(),f(" ",l(2,1,"SubscriptionOffers.Card.ChangePlanDisabled")," "))}function Sn(e,i){if(e&1&&(a(0,"div",28)(1,"a",29),r(2,"async"),r(3,"translate"),r(4,"getSubscriptionUrlParams"),r(5,"translate"),r(6,"number"),w(7,Cn,3,3,"span",24)(8,vn,3,3,"span",24),p(),w(9,_n,3,3,"div",30),p()),e&2){let t=m(3),o=S(2),s=S(4),x=S(9);n(),c("event","select_item")("href",l(2,7,t.tunnelUrl$)+l(3,9,"Routes.Client.Subscription.ChangeOffer")+"?"+l(4,11,t.offer),P)("ngClass",$(17,Xi,o&&t.offer.zuoraSubscriptionType===o.plan,!o||t.offer.zuoraSubscriptionType!==o.plan))("promotions",J(25,Je,l(5,13,"Tracking.Currency"),l(6,15,t.offer.price/100),_(23,We,$(20,Ke,t.offer.id,t.offer.zuoraSubscriptionType)))),he("data-disabled",!s.includes(t.offer.zuoraSubscriptionType)&&!x?"1":null),n(6),b(t.offer.zuoraSubscriptionType!==(o==null?null:o.plan)?7:8),n(2),b(s.includes(t.offer.zuoraSubscriptionType)?-1:9)}}function yn(e,i){if(e&1&&w(0,Sn,10,29,"div",28),e&2){m(2);let t=S(4);b(t?0:-1)}}function On(e,i){if(e&1&&w(0,hn,13,35,"div",22)(1,yn,1,1),e&2){let t=m(),o=S(0);b(o===t.offer.zuoraSubscriptionType?0:1)}}function Pn(e,i){if(e&1&&(a(0,"div",31)(1,"a",32),r(2,"async"),r(3,"getSubscriptionUrlParams"),r(4,"translate"),a(5,"span",33),d(6),p()()()),e&2){let t=m().$implicit,o=m(2);n(),c("href",l(2,2,o.tunnelUrl$)+h(4,7,"Routes.Client.Subscription.Offer",_(14,Kt,h(3,4,o.offer,_(12,We,_(10,en,t))))),P),n(5),f(" ",t.bundleDescription," ")}}function Bn(e,i){if(e&1&&w(0,Pn,7,16,"div",31),e&2){let t=i.$implicit;b(t.bundleable&&t.bundleDescription?0:-1)}}function In(e,i){if(e&1&&T(0,Bn,1,1,null,null,nn),e&2){let t=m();E(t.offer.options)}}var Ge=class e{offer;offersLength;subscriptionOfferWithTunnelId$=g(X("subscriptionOfferWithTunnelId"));clientUrl$=g(Tt);tunnelUrl$=g(oe);currentPlan$=g($e);eligibleChanges$=g(Wt);eligibleForAddonChange$=g(Yt);highlightedOfferWithLabel$=g(Qt);downgrade$=g(Gt);eligibleReSubscription$=g(Re);eligibleRenewal$=g(Ae);store=B(q);translator=B(ie);tracker=B(ne);openPerksModal(i){this.store.dispatch(le.open({id:ee,data:{offer:i}}))}openPlanModal(i){this.store.dispatch(le.open({id:ae})),this.store.dispatch(Q.selectPlan({offer:i}))}sendTracking(i){this.store.select(I).pipe(te(this.translator.get("Tracking.Currency"))).subscribe(([t,o])=>{let s={currency:o,value:i.price/100,items:[{item_id:i.id,item_name:i.zuoraSubscriptionType,item_category:"pass",item_category2:t?.subscription?.currentPlan&&t.subscription.eligibleForAddonChange?"change_subscription":"new_subscription",price:i.price/100,quantity:1}]};this.tracker.push({ecommerce:null},null),this.tracker.push({event:"select_item",ecommerce:s},null),this.tracker.push({ecommerce:null},null),this.tracker.push({event:"view_item",ecommerce:s},null)})}static \u0275fac=function(t){return new(t||e)};static \u0275cmp=y({type:e,selectors:[["cgp-subscription-offer-card"]],inputs:{offer:"offer",offersLength:"offersLength"},decls:44,vars:57,consts:[[3,"ngClass"],[1,"tw:mb-4","tw:overflow-hidden","tw:rounded-10","tw:before:absolute","tw:before:-top-43","tw:before:-left-52","tw:before:block","tw:before:size-88","tw:before:rounded-full","tw:before:bg-[radial-gradient(40%_40%_at_60%_50%,rgba(254,185,30,0.50)_0%,rgba(255,255,255,0.00)_100%)]","tw:before:opacity-35","tw:before:duration-500","tw:lg:mb-0","tw:relative","tw:h-full","tw:p-0.5",3,"ngClass"],[1,"tw:absolute","tw:-top-2.5","tw:left-4","tw:z-10","tw:w-fit","tw:rounded-sm","tw:px-2","tw:pb-1","tw:pt-1.5","tw:text-label-base","tw:uppercase","tw:text-neutral-inverted-primary",3,"ngClass"],[1,"tw:absolute","tw:-top-2.5","tw:left-4","tw:z-10","tw:w-fit","tw:rounded-sm","tw:px-2","tw:pb-1","tw:pt-1.5","tw:text-label-base","tw:uppercase","tw:text-neutral-inverted-primary","tw:bg-brand-base"],[1,"tw:relative","tw:h-full","tw:p-6","tw:px-4","tw:lg:flex","tw:lg:flex-col","tw:rounded-10","tw:bg-neutral-higher-01"],[1,"tw:mb-4","tw:w-fit","tw:shrink-0","tw:rounded-sm","tw:bg-brand-alpha-lower-01","tw:px-2","tw:py-1","tw:text-title-sm","tw:text-brand-primary"],[1,"tw:flex","tw:min-h-27.5","tw:shrink-0","tw:grow-0","tw:flex-col","tw:border-b","tw:border-neutral-base"],[1,"tw:min-h-27.5","tw:shrink-0","tw:pb-5"],[1,"tw:mb-2","tw:font-trade","tw:text-display-lg","tw:uppercase"],[1,"tw:mb-0","tw:text-title-sm"],[1,"tw:relative","tw:mb-4","tw:pt-5","tw:lg:pt-11.5"],[1,"tw:relative","tw:lg:absolute","tw:lg:top-5","tw:lg:left-0","tw:z-10","tw:flex","tw:items-center","tw:gap-x-2"],[1,"tw:text-title-2xl"],[1,"tw:grow","tw:pb-5","tw:lg:pb-16.5"],["role","list",1,"tw:flex-1","tw:text-sm","tw:text-neutral-secondary","tw:[&>li]:flex"],[1,"tw:flex","tw:items-center","tw:px-2","tw:pt-2","tw:pb-4","tw:-mb-2","tw:rounded-t-md","tw:bg-brand-alpha-lower-01","tw:text-brand-primary"],[1,"tw:text-title-md","tw:text-neutral-muted-placeholders","tw:line-through"],[1,"tw:-mt-0.5","tw:w-fit","tw:shrink-0","tw:rounded-sm","tw:bg-brand-alpha-lower-01","tw:px-1.5","tw:pt-1","tw:pb-0.5","tw:font-trade","tw:text-display-xs","tw:text-brand-primary","tw:uppercase"],[3,"iconClass","id","modifier"],[3,"id","modifier"],[1,"tw:mb-0","tw:text-body-xs"],["role","button",1,"tw:max-lg:w-full","tw:w-full","tw:bg-brand-base","tw:text-neutral-inverted-primary","tw:hover:bg-brand-higher-01","tw:hover:shadow-btn-primary-hover","tw:data-disabled::bg-brand-higher-01","tw:data-disabled:text-neutral-inverted-muted-placeholders","tw:inline-flex","tw:items-center","tw:justify-center","tw:px-4","tw:gap-2.5","tw:rounded-md","tw:ease-out-quart","tw:duration-300","tw:transition-all","tw:data-disabled:pointer-events-none","tw:h-12","tw:text-title-base","tw:py-3"],[1,"tw:group","tw:relative","tw:w-fit","tw:mt-2","tw:w-full"],["role","button",1,"tw:max-lg:w-full","tw:w-full","tw:bg-brand-base","tw:text-neutral-inverted-primary","tw:hover:bg-brand-higher-01","tw:hover:shadow-btn-primary-hover","tw:data-disabled::bg-brand-higher-01","tw:data-disabled:text-neutral-inverted-muted-placeholders","tw:inline-flex","tw:items-center","tw:justify-center","tw:px-4","tw:gap-2.5","tw:rounded-md","tw:ease-out-quart","tw:duration-300","tw:transition-all","tw:data-disabled:pointer-events-none","tw:h-12","tw:text-title-base","tw:py-3",3,"click"],[1,"tw:peer-[&]:pt-0.5"],["cgpInternalPromoEventTracker","","role","button",1,"tw:max-lg:w-full","tw:w-full","tw:bg-brand-base","tw:text-neutral-inverted-primary","tw:hover:bg-brand-higher-01","tw:hover:shadow-btn-primary-hover","tw:data-disabled::bg-brand-higher-01","tw:data-disabled:text-neutral-inverted-muted-placeholders","tw:inline-flex","tw:items-center","tw:justify-center","tw:px-4","tw:gap-2.5","tw:rounded-md","tw:ease-out-quart","tw:duration-300","tw:transition-all","tw:data-disabled:pointer-events-none","tw:h-12","tw:text-title-base","tw:py-3",3,"event","href","promotions"],["role","button",1,"tw:mt-4","tw:block","tw:w-full","tw:text-neutral-primary","tw:hover:shadow-btn-primary-hover","tw:max-lg:w-full","tw:h-10","tw:text-title-sm","tw:py-2.5","tw:inline-flex","tw:items-center","tw:justify-center","tw:px-4","tw:gap-2.5","tw:rounded-md","tw:ease-out-quart","tw:duration-300","tw:transition-all","tw:data-disabled:pointer-events-none",3,"click"],["cgpInternalPromoEventTracker","","role","button",1,"tw:inline-flex","tw:items-center","tw:justify-center","tw:gap-2.5","tw:rounded-md","tw:px-4","tw:transition-all","tw:duration-300","tw:ease-out-quart","tw:data-disabled:pointer-events-none","tw:w-full","tw:max-lg:w-full","tw:h-12","tw:py-3","tw:text-title-base","tw:data-[disabled]:text-neutral-inverted-muted-placeholders","tw:hover:shadow-btn-primary-hover",3,"event","href","ngClass","promotions"],[1,"tw:group","tw:relative"],["cgpInternalPromoEventTracker","","role","button",1,"tw:w-full","tw:bg-neutral-alpha-higher-02","tw:text-neutral-primary","tw:hover:shadow-btn-primary-hover","tw:data-disabled:bg-neutral-alpha-higher-01","tw:data-disabled:text-neutral-inverted-muted-placeholders","tw:max-lg:w-full","tw:h-12","tw:text-title-base","tw:py-3","tw:inline-flex","tw:items-center","tw:justify-center","tw:px-4","tw:gap-2.5","tw:rounded-md","tw:ease-out-quart","tw:duration-300","tw:transition-all","tw:data-disabled:pointer-events-none",3,"event","href","ngClass","promotions"],[1,"tw:pointer-events-none","tw:absolute","tw:z-10","tw:rounded-md","tw:border","t
1w:border-neutral-higher-01","tw:bg-neutral-base","tw:p-4","tw:text-center","tw:opacity-0","tw:duration-300","tw:before:absolute","tw:before:-bottom-1.5","tw:before:left-2/4","tw:before:-z-10","tw:before:h-3","tw:before:w-3","tw:before:rotate-45","tw:before:border-[6px]","tw:before:border-b-neutral-base","tw:before:border-e-neutral-base","tw:before:border-s-transparent","tw:before:border-t-transparent","tw:group-hover:opacity-100","tw:-top-16","tw:lg:-top-28","tw:xl:-top-24"],["data-theme","dark",1,"tw:group","tw:relative","tw:w-fit","tw:mt-2","tw:w-full"],["data-disabled","false","target","_self",1,"tw:flex","tw:border","tw:border-transparent","tw:w-full","tw:items-center","tw:justify-center","tw:rounded-md","tw:data-[disabled=true]:cursor-not-allowed","tw:transition-all","tw:duration-300","tw:ease-out-quart","tw:data-[disabled=false]:cursor-pointer","tw:data-[disabled=false]:cursor-pointer","tw:backdrop-blur-[3.125rem]","tw:bg-neutral-alpha-higher-02","tw:text-neutral-primary","tw:data-[disabled=true]:bg-neutral-alpha-higher-01","tw:data-[disabled=true]:text-neutral-muted-placeholders","tw:data-[disabled=false]:hover:bg-neutral-alpha-higher-03","tw:group-data-[theme=light]:bg-neutral-alpha-inverted-higher-01","tw:group-data-[theme=light]:text-neutral-inverted-primary","tw:data-[disabled=true]:group-data-[theme=light]:bg-neutral-inverted-higher-03","tw:data-[disabled=true]:group-data-[theme=light]:text-neutral-inverted-alpha-muted-placeholders","tw:hover:data-[disabled=false]:group-data-[theme=light]:bg-neutral-alpha-inverted-higher-02","tw:text-title-base","tw:px-3.5","tw:py-2.75",3,"href"],[1,"tw:truncate","tw:px-1.5"]],template:function(t,o){if(t&1&&(M(0),r(1,"async"),M(2),r(3,"async"),M(4),r(5,"async"),M(6),r(7,"async"),a(8,"div",0),M(9),a(10,"div",1),w(11,rn,3,7,"div",2),w(12,on,5,11,"div",3),a(13,"div",4),w(14,an,2,1,"div",5),a(15,"div",6)(16,"div",7)(17,"h2",8),d(18),w(19,ln,2,6,"span",0),p(),w(20,pn,2,1,"p",9),p()(),a(21,"div",10),w(22,dn,9,18,"div",11),a(23,"p",9)(24,"span",12),d(25),r(26,"translate"),r(27,"number"),r(28,"translate"),r(29,"replace"),r(30,"translate"),p(),a(31,"span"),d(32),r(33,"translate"),r(34,"translate"),p()()(),a(35,"div",13)(36,"ul",14),T(37,mn,1,1,null,null,tn),p()(),w(39,fn,4,3,"div",15),w(40,xn,3,2),r(41,"async"),ot(42,On,2,1),w(43,In,2,0),p()()()),t&2){let s=N(l(1,14,o.currentPlan$));n(2);let x=N(l(3,17,o.downgrade$));n(2),N(l(5,20,o.eligibleChanges$));let ue=l(7,23,o.highlightedOfferWithLabel$);n(4),c("ngClass",$(46,qi,ue&&!o.offer.highlighted&&s===null,o.offersLength!==4));let Xe=o.offer.zuoraSubscriptionType===s&&(!x||x.plan!==s);n();let Ze=N(s&&x&&x.plan===o.offer.zuoraSubscriptionType),et=x&&s!==x.plan,we=Xe||Ze||o.offer.highlighted&&s===null;n(),c("ngClass",ut(49,Gi,we,et&&o.offer.zuoraSubscriptionType===s,!we,we,we&&et&&!Ze)),n(),b(Xe?11:-1),n(),b(Ze?12:-1),n(2),b(o.offer.highlighted&&o.offer.highlightLabel&&s===null?14:-1),n(4),f(" ",o.offer.title," "),n(),b(o.offer.titleAdditional?19:-1),n(),b(o.offer.subtitle?20:-1),n(2),b(o.offer.discountPrice!==null?22:-1),n(3),f(" ",h(30,37,"SubscriptionOffers.Card.Price",_(55,Zt,H(29,33,h(27,28,(o.offer.discountPrice??o.offer.price)/100,l(26,26,"SubscriptionOffers.Card.PriceFormat")),".",l(28,31,"SubscriptionOffers.Card.PriceDecimalReplacer"))))),n(7),f("/",o.offer.periodicity==="monthly"?l(33,40,"SubscriptionOffers.Card.Month"):l(34,42,"SubscriptionOffers.Card.Year")," "),n(5),E(o.offer.descriptionDetails),n(2),b(o.offer.promotionalHighlight&&(s===null||s===o.offer.zuoraSubscriptionType)?39:-1),n(),b(s===null||l(41,44,o.eligibleRenewal$)?40:42),n(3),b(o.offer.options.length>0&&s===null?43:-1)}},dependencies:[Mt,W,Pe,se,It,de,O,Se,k],encapsulation:2,changeDetection:0})};function Tn(e,i){if(e&1&&u(0,"source",19),e&2){let t=m();c("srcset",t.promotion.desktopImage.md)}}function En(e,i){if(e&1&&u(0,"source",20),e&2){let t=m();c("srcset",t.promotion.mobileImage.lg)}}function kn(e,i){if(e&1&&u(0,"source",21),e&2){let t=m();c("srcset",t.promotion.desktopImage.lg)}}function Ln(e,i){if(e&1&&u(0,"img",22),e&2){let t=m();c("src",t.promotion.mobileImage.sm,P)}}var Ye=class e{promotion;static \u0275fac=function(t){return new(t||e)};static \u0275cmp=y({type:e,selectors:[["cgp-subscription-promotions"]],inputs:{promotion:"promotion"},decls:28,vars:15,consts:[[1,"tw:container"],[1,"tw:p-4","tw:lg:p-0","tw:rounded-10","tw:overflow-hidden","tw:bg-neutral-higher-01","tw:lg:flex","tw:lg:flex-row-reverse","t
1w:lg:items-stretch","tw:lg:justify-between"],[1,"tw:h-56","tw:lg:h-auto","tw:overflow-hidden","tw:lg:shrink-0","tw:max-lg:text-center","tw:lg:relative","tw:lg:flex-1"],["media","(min-width:1024px) and (-webkit-min-device-pixel-ratio: 2), (min-width:1024px) and (min-resolution: 192dpi)",3,"srcset",4,"ngIf"],["media","(-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi)",3,"srcset",4,"ngIf"],["media","(min-width:1024px)",3,"srcset",4,"ngIf"],["loading","lazy","class","tw:object-contain tw:object-bottom tw:h-full tw:mx-auto tw:lg:absolute tw:lg:right-0",3,"src",4,"ngIf"],[1,"tw:lg:p-12","tw:lg:max-w-xl"],[1,"tw:text-title-lg","tw:lg:text-title-2xl","tw:mb-6"],[1,"tw:flex","tw:mb-6"],[1,"tw:text-title-base","tw:mb-0"],[1,"tw:text-lg","tw:font-semibold","tw:text-brand-primary","tw:text-trade","tw:block"],[1,"tw:text-title-base","tw:border-s-2","tw:border-s-common-border-neutral-higher-01","tw:ps-12","tw:ms-12","tw:mb-0"],[1,"tw:text-base","tw:text-neutral-secondary","tw:mb-4",3,"innerHTML"],[1,"tw:flex","tw:max-lg:flex-col","tw:items-center","tw:gap-5","tw:lg:gap-7"],["target","_self","role","button",1,"tw:bg-neutral-alpha-higher-02","tw:text-neutral-primary","tw:hover:shadow-btn-primary-hover","tw:data-disabled:bg-neutral-alpha-higher-01","tw:data-disabled:text-neutral-inverted-muted-placeholders","tw:max-lg:w-full","tw:h-12","tw:text-title-base","tw:py-3","tw:inline-flex","tw:items-center","tw:justify-center","tw:px-4","tw:gap-2.5","tw:rounded-md","tw:ease-out-quart","tw:duration-300","tw:transition-all","tw:data-disabled:pointer-events-none",3,"href"],[1,"tw:peer-[&]:pt-0.5"],[1,"tw:text-title-sm","tw:flex","tw:items-center","tw:transition-transform","tw:duration-300","tw:in-out-quart","tw:hover:translate-x-1","tw:hover:rotate-[0.0001deg]",3,"href"],["modifier","tw:w-5 tw:h-5 tw:fill-neutral-primary",3,"id"],["media","(min-width:1024px) and (-webkit-min-device-pixel-ratio: 2), (min-width:1024px) and (min-resolution: 192dpi)",3,"srcset"],["media","(-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi)",3,"srcset"],["media","(min-width:1024px)",3,"srcset"],["loading","lazy",1,"tw:object-contain","tw:object-bottom","tw:h-full","tw:mx-auto","tw:lg:absolute","tw:lg:right-0",3,"src"]],template:function(t,o){t&1&&(a(0,"div",0)(1,"div",1)(2,"div",2)(3,"picture"),F(4,Tn,1,1,"source",3)(5,En,1,1,"source",4)(6,kn,1,1,"source",5)(7,Ln,1,1,"img",6),p()(),a(8,"div",7)(9,"h3",8),d(10),p(),a(11,"div",9)(12,"p",10)(13,"span",11),d(14),p(),d(15),p(),a(16,"p",12)(17,"span",11),d(18),p(),d(19),p()(),u(20,"div",13),a(21,"div",14)(22,"a",15)(23,"span",16),d(24),p()(),a(25,"a",17),d(26),u(27,"cgp-icon-legacy",18),p()()()()()),t&2&&(n(4),c("ngIf",o.promotion.mobileImage),n(),c("ngIf",o.promotion.desktopImage),n(),c("ngIf",o.promotion.desktopImage),n(),c("ngIf",o.promotion.mobileImage),n(3),C(o.promotion.title),n(4),C(o.promotion.yellowText1),n(),C(o.promotion.whiteText1),n(3),C(o.promotion.yellowText2),n(),C(o.promotion.whiteText2),n(),c("innerHTML",o.promotion.description,R),n(2),c("href",o.promotion.ctaUrl1,P),n(2),C(o.promotion.ctaLabel1),n(),c("href",o.promotion.ctaUrl2,P),n(),f(" ",o.promotion.ctaLabel2," "),n(),c("id","arrow-right"))},dependencies:[L,Y,re],encapsulation:2,changeDetection:0})};var Mn=(e,i)=>({"tw:flex-1":e,"tw:lg:columns-2":i});function Dn(e,i){if(e&1&&(a(0,"div",4)(1,"p",5),d(2),r(3,"translate"),p(),a(4,"p",6),d(5),r(6,"translate"),p(),a(7,"a",7),r(8,"async"),r(9,"translate"),a(10,"span",8),d(11),r(12,"translate"),p()()()),e&2){let t=m();n(2),f(" ",l(3,4,"SubscriptionOffers.Gifting.Voucher.Title")," "),n(3),f(" ",l(6,6,"SubscriptionOffers.Gifting.Voucher.Description")," "),n(2),c("href",l(8,8,t.tunnelUrl$)+l(9,10,"Routes.Client.Subscription.UseVoucher"),P),n(4),f(" ",l(12,12,"SubscriptionOffers.Gifting.Voucher.Button")," ")}}function Fn(e,i){if(e&1&&(a(0,"div",4)(1,"p",5),d(2),r(3,"translate"),p(),a(4,"p",6),d(5),r(6,"translate"),p(),a(7,"a",9),r(8,"async"),r(9,"translate"),a(10,"span",8),d(11),r(12,"translate"),p()()()),e&2){let t=m();n(2),f(" ",l(3,4,"SubscriptionOffers.Gifting.VoucherGift.Title")," "),n(3),f(" ",l(6,6,"SubscriptionOffers.Gifting.VoucherGift.Description")," "),n(2),c("href",l(8,8,t.tunnelUrl$)+l(9,10,"Routes.Client.Subscription.Voucher"),P),n(4),f(" ",l(12,12,"SubscriptionOffers.Gifting.VoucherGift.Button")," ")}}var Qe=class e{businessCodeEnabled;voucherGiftingEnabled;tunnelUrl$=g(oe);static \u0275fac=function(t){return new(t||e)};static \u0275cmp=y({type:e,selectors:[["cgp-subscription-voucher"]],inputs:{businessCodeEnabled:"businessCodeEnabled",voucherGiftingEnabled:"voucherGiftingEnabled"},decls:10,vars:13,consts:[[1,"tw:flex-1"],[1,"tw:text-label-base","tw:uppercase","tw:text-brand-primary","tw:mb-1","tw:lg:block"],[1,"tw:text-title-lg","tw:lg:text-title-2xl","tw:mb-6","tw:lg:mb-8"],["class","tw:block tw:p-6 t
1w:rounded-10 tw:bg-neutral-higher-01 tw:mb-4 lg-tw:mb-0 tw:hover:bg-neutral-alpha-higher-02 tw:transition-colors tw:duration-300 tw:in-out-quart",4,"ngIf"],[1,"tw:block","tw:p-6","tw:rounded-10","tw:bg-neutral-higher-01","tw:mb-4","lg-tw:mb-0","tw:hover:bg-neutral-alpha-higher-02","tw:transition-colors","tw:duration-300","tw:in-out-quart"],[1,"tw:text-title-base","tw:mb-0"],[1,"tw:text-base","tw:text-neutral-secondary","tw:mb-6"],["role","button","target","_blank",1,"tw:bg-neutral-alpha-higher-02","tw:text-neutral-primary","tw:hover:shadow-btn-primary-hover","tw:data-disabled:bg-neutral-alpha-higher-01","tw:data-disabled:text-neutral-inverted-muted-placeholders","tw:max-lg:w-full","tw:h-12","tw:text-title-base","tw:py-3","tw:inline-flex","tw:items-center","tw:justify-center","tw:px-4","tw:gap-2.5","tw:rounded-md","tw:ease-out-quart","tw:duration-300","tw:transition-all","tw:data-disabled:pointer-events-none",3,"href"],[1,"tw:peer-[&]:pt-0.5"],["role","button",1,"tw:bg-neutral-alpha-higher-02","tw:text-neutral-primary","tw:hover:shadow-btn-primary-hover","tw:data-disabled:bg-neutral-alpha-higher-01","tw:data-disabled:text-neutral-inverted-muted-placeholders","tw:max-lg:w-full","tw:h-12","tw:text-title-base","tw:py-3","tw:inline-flex","tw:items-center","tw:justify-center","tw:px-4","tw:gap-2.5","tw:rounded-md","tw:ease-out-quart","tw:duration-300","tw:transition-all","tw:data-disabled:pointer-events-none",3,"href"]],template:function(t,o){t&1&&(a(0,"div",0)(1,"p",1),d(2),r(3,"translate"),p(),a(4,"h3",2),d(5),r(6,"translate"),p()(),a(7,"div"),F(8,Dn,13,14,"div",3)(9,Fn,13,14,"div",3),p()),t&2&&(n(2),f(" ",l(3,6,"SubscriptionOffers.Gifting.Subtitle")," "),n(3),f(" ",l(6,8,"SubscriptionOffers.Gifting.Title")," "),n(2),mt($(10,Mn,!o.voucherGiftingEnabled||!o.businessCodeEnabled,o.voucherGiftingEnabled&&o.businessCodeEnabled)),n(),c("ngIf",o.businessCodeEnabled),n(),c("ngIf",o.voucherGiftingEnabled))},dependencies:[L,Y,k,O],encapsulation:2,changeDetection:0})};var $n=()=>["tw:relative tw:h-160 tw:overflow-hidden","tw:after:absolute tw:after:inset-0 tw:after:z-0","tw:after:bg-linear-to-t tw:after:from-neutral-base tw:after:from-30% tw:after:to-transparent tw:after:to-75%","tw:lg:h-156 tw:lg:after:bg-gradient-cinepass-hero-lg"],Rn=(e,i)=>({businessCodeEnabled:e,voucherGiftingEnabled:i}),An=(e,i)=>i.title,zn=(e,i)=>i.id,Un=(e,i)=>i.slug;function Nn(e,i){e&1&&u(0,"cgp-subscription-banner")}function jn(e,i){if(e&1&&u(0,"cgp-subscription-offer-card",14),e&2){let t=i.$implicit;m(2);let o=S(19);c("offer",t)("offersLength",o.length)}}function Vn(e,i){if(e&1&&(a(0,"section",9)(1,"div",0),T(2,jn,1,2,"cgp-subscription-offer-card",14,zn),p()()),e&2){m();let t=S(19);n(),c("ngClass","tw:container "+(t.length===4?"tw:items-stretch tw:lg:grid tw:lg:grid-cols-4 tw:lg:gap-4":"tw:flex tw:justify-center")),n(),E(t)}}function Hn(e,i){e&1&&(a(0,"section",10)(1,"div",11),u(2,"cgp-cinepass-duo-banner"),p()())}function qn(e,i){if(e&1&&(a(0,"section",10)(1,"div",11),u(2,"cgp-subscription-voucher",15),p()()),e&2){m();let t=S(24);n(2),c("businessCodeEnabled",t.businessCodeEnabled)("voucherGiftingEnabled",t.voucherGiftingEnabled)}}function Gn(e,i){if(e&1&&(a(0,"section",12),u(1,"cgp-subscription-promotions",16),p()),e&2){let t=i.$implicit;n(),c("promotion",t)}}function Wn(e,i){if(e&1&&u(0,"figure",20),e&2){let t=i.$implicit;c("show",t)}}function Yn(e,i){if(e&1&&(a(0,"section",13)(1,"p",17),d(2),r(3,"translate"),p(),a(4,"h3",18),d(5),r(6,"translate"),p(),a(7,"div",19),T(8,Wn,1,1,"figure",20,Un),p()()),e&2){m();let t=S(36);n(2),f(" ",l(3,2,"SubscriptionOffers.CurrentShows.Title")," "),n(3),f(" ",l(6,4,"SubscriptionOffers.CurrentShows.Subtitle")," "),n(3),E(t)}}function Qn(e,i){e&1&&(a(0,"section",10)(1,"div",11),u(2,"cgp-store-locator"),p()())}var Jt=class e{store=B(q);storeLocatordDisplayed$=g(X("subscriptionOffersStoreLocator"));promotion$=g(Te);offers$=g(Ee);currentShows$=g(At);subscriptionOffersPromotions$=g(Rt);businessCodeEnabled$=g(X("businessCodeEnabled"));voucherGiftingEnabled$=g(X("voucherGiftingEnabled"));cinepassDuoBloc$=g(X("cinepassDuoBloc"));constructor(){let i=this.store;i.dispatch(Ie.request()),i.dispatch(Q.request())}static \u0275fac=function(t){return new(t||e)};static \u0275cmp=y({type:e,selectors:[["cgp-subscription-offers-page"]],decls:41,vars:52,consts:[[3,"ngClass"],["media",`(min-width:1024px) and (-webkit-min-device-pixel-ratio: 2), 2(min-width:1024px) and (min-resolution: 192dpi)`,3,"srcset"],["media",`(-webkit-min-device-pixel-ratio: 2), 3(min-resolution: 192dpi)`,3,"srcset"],["media","(min-width:1024px)",3,"srcset"],["alt","cinepass landing fr","decoding","async","fetchpriority","high","loading","eager",1,"tw:absolute","tw:h-full","tw:w-full","tw:object-cover","tw:object-top",3,"src"],[1,"tw:relative","tw:z-10","tw:mx-auto","tw:flex","tw:h-full","tw:max-w-164","tw:flex-col","tw:justify-end","tw:px-4","tw:py-6","tw:lg:px-0","tw:lg:py-8"],[1,"tw:mb-4","tw:font-trade","tw:text-display-xl","tw:uppercase","tw:lg:text-center","tw:lg:text-display-2xl",3,"innerHTML"],[1,"tw:text-base","tw:lg:text-center","tw:lg:text-body-lg"],[1,"tw:mt-5","tw:lg:grid","tw:lg:grid-cols-16"],[1,"tw:lg:col-span-14","tw:lg:col-start-2","tw:lg:pb-12"],[1,"tw:py-10","tw:lg:col-span-12","tw:lg:col-start-3","t
3w:lg:py-12"],[1,"tw:container"],[1,"tw:lg:col-start-3","tw:lg:col-span-12","tw:py-10","tw:lg:py-12"],[1,"tw:container","tw:py-10","tw:lg:col-span-12","tw:lg:col-start-3","tw:lg:py-12"],[1,"tw:contents",3,"offer","offersLength"],[3,"businessCodeEnabled","voucherGiftingEnabled"],[3,"promotion"],[1,"tw:mb-1","tw:text-label-base","tw:text-brand-primary","tw:uppercase"],[1,"tw:mb-6","tw:text-title-lg","tw:lg:mb-10","tw:lg:text-title-2xl"],[1,"tw:flex","tw:lg:gap-4","tw:px-2","tw:overflow-auto","tw:snap-x","tw:snap-mandatory","tw:hide-scrollbar"],["cgpCurrentShowCard","",1,"tw:shrink-0","tw:snap-center","tw:px-2","tw:w-[166px]","tw:lg:w-80",3,"show"]],template:function(t,o){if(t&1&&(a(0,"section",0)(1,"picture"),u(2,"source",1),r(3,"translate"),u(4,"source",2),r(5,"translate"),u(6,"source",3),r(7,"translate"),u(8,"img",4),r(9,"translate"),p(),a(10,"div",5),u(11,"h1",6),r(12,"translate"),a(13,"p",7),d(14),r(15,"translate"),p(),w(16,Nn,1,0,"cgp-subscription-banner"),r(17,"async"),p()(),a(18,"div",8),M(19),r(20,"async"),w(21,Vn,4,1,"section",9),w(22,Hn,3,0,"section",10),r(23,"async"),M(24),r(25,"async"),r(26,"async"),w(27,qn,3,2,"section",10),a(28,"section",10)(29,"div",11),u(30,"cgp-subscription-benefits"),p()(),u(31,"cgp-offer-card-perks-modal")(32,"cgp-selected-plan-modal"),T(33,Gn,2,1,"section",12,An),r(35,"async"),M(36),r(37,"async"),w(38,Yn,10,6,"section",13),w(39,Qn,3,0,"section",10),r(40,"async"),p()),t&2){c("ngClass",ft(48,$n)),n(2),c("srcset",j(l(3,17,"SubscriptionOffers.Hero.BackgroundImg.Srcset"))),n(2),c("srcset",j(l(5,19,"SubscriptionOffers.Hero.BackgroundImg.Srcset"))),n(2),c("srcset",j(l(7,21,"SubscriptionOffers.Hero.BackgroundImg.Src"))),n(2),c("src",j(l(9,23,"SubscriptionOffers.Hero.BackgroundImg.Src")),P),n(3),c("innerHTML",l(12,25,"SubscriptionOffers.Hero.Title"),R),n(3),f(" ",l(15,27,"SubscriptionOffers.Hero.Subtitle")," "),n(2),b(l(17,29,o.promotion$)?16:-1),n(3);let s=N(l(20,31,o.offers$));n(2),b(s&&s.length>0?21:-1),n(),b(l(23,34,o.cinepassDuoBloc$)?22:-1),n(2);let x=N($(49,Rn,l(25,36,o.businessCodeEnabled$),l(26,38,o.voucherGiftingEnabled$)));n(3),b(x.businessCodeEnabled||x.voucherGiftingEnabled?27:-1),n(6),E(l(35,41,o.subscriptionOffersPromotions$)),n(3);let ue=N(l(37,43,o.currentShows$));n(2),b(ue&&ue.length>0?38:-1),n(),b(l(40,46,o.storeLocatordDisplayed$)?39:-1)}},dependencies:[Ve,Ge,Qe,qe,Fe,Ne,De,je,Ye,W,Me,O,k],encapsulation:2,changeDetection:0})};export{Jt as SubscriptionOffersPageComponent};
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.