1import{b as x,c as J}from"./chunk-54EGFMSO.js";import{b as G}from"./chunk-2PZQVO5M.js";import"./chunk-YSEUWOBF.js";import"./chunk-2MNCRMEG.js";import"./chunk-WAKOINC4.js";import{g as Q,m as V}from"./chunk-CQVGPCJN.js";import"./chunk-2JZU3INV.js";import{d as Z}from"./chunk-MRPA26HF.js";import"./chunk-QPY6YZD2.js";import"./chunk-YNOYMHTV.js";import"./chunk-RYYSJJVE.js";import{$ as K,f as h}from"./chunk-DSTH3QV4.js";import{Ab as l,Bb as M,Ca as R,Da as T,Fb as $,Gb as j,Ka as i,Kb as D,Kc as I,Mb as L,Ob as s,Oc as U,Qa as a,Wb as O,Ya as z,Yb as _,_b as b,a as y,ca as w,d as v,da as k,fb as B,fd as m,hc as F,hd as q,id as H,jc as r,jd as Y,kc as c,o as P,oa as S,pb as N,rb as E,tb as A,yb as d,zb as o}from"./chunk-6KO6CXQN.js";import"./chunk-Q5ZUIUCT.js";var nn=e=>({var1:e});function tn(e,f){if(e&1){let t=D();o(0,"div",4)(1,"h2",11),_(2),r(3,"amount"),l(),o(4,"div",12),L("click",function(){w(t);let p=s(2);return k(p.openNewsletterDialog())}),_(5),l()()}if(e&2){let t=s().$implicit,n=s();i(2),b(" ",t("msg_amout_off",F(4,nn,c(3,2,n.discountPrice())))," "),i(3),b(" ",t("action_redeem_here")," ")}}function en(e,f){if(e&1&&($(0),o(1,"section",1),r(2,"async"),r(3,"async"),r(4,"async"),o(5,"section",2)(6,"div",3),E(7,tn,6,6,"div",4),r(8,"async"),o(9,"a",5),r(10,"async"),M(11,"img",6),o(12,"div",7),M(13,"div",8)(14,"span",9),o(15,"div",10),_(16),l()()()()()(),j()),e&2){let t=f.$implicit,n=s();i(),O("hugescreen",c(2,15,n.biggerThan$)?.md)("desktop",c(3,17,n.biggerThan$)?.mobileL)("widescreen",c(4,19,n.biggerThan$)?.sm),i(6),A(c(8,21,n.biggerThan$)?.sm?-1:7),i(2),d("routerLink",n.informationPageUrlFragment("products"))("queryParams",c(10,23,n.queryParamsToKeep$)),N("aria-label",t("label_credit_card_installments")),i(2),d("src",n.bannerLink(),T),i(2),d("innerHTML",t("label_shop_now"),R),i(2),O("reverse",n.isRtlLayout()),i(),b(" ",t("featured_banner_action")," ")}}var on="https://firebasestorage.googleapis.com/v0/b/popsygae.appspot.com/o/HomePageBanners%2FInstallmentsBanner%2F",rn=".png?alt=media&token=829995d9-4e62-4320-96f9-c76105a876b9",cn={sa:{amount:10,currency:"SAR"},ae:{amount:10,currency:"AED"}},vn=(()=>{class e{constructor(t,n,p,W){this.translateService=t,this.akitaScreenQuery=n,this.akitaRouterQuery=p,this.akitaNewsletterService=W,this.discountPrice=S(cn.ae),this.destroySubject=new v,this.subscriptions=new y,this.isRtlLayout=m(this.akitaRouterQuery.selectIsRtlLayout(),{initialValue:!1}),this.biggerThan$=this.akitaScreenQuery.selectBiggerThan(),this.queryParamsToKeep$=this.akitaRouterQuery.selectQueryParamsToKeep(),this.discountPrice=m(this.akitaRouterQuery.selectCountry().pipe(P(g=>{let u=x[g]||x.ae,C=h[g]||h.ae;return{amount:u,currency:C}})),{initialValue:{amount:40,currency:"AED"}}),this.bannerLink=m(this.biggerThan$.pipe(P(g=>{let u=g.sm?"big":"medium",C=this.translateService.getActiveLang()||"en",X=this.akitaRouterQuery.country==="SA"?"sa":"ae";return`${on}${u}_${X}_${C}${rn}`})),{initialValue:null})}get homeUrlFragment(){return this.akitaRouterQuery.homeUrlFragment}informationPageUrlFragment(t){let n=this.homeUrlFragment;return n.push(t),n}openNewsletterDialog(){this.akitaNewsletterService.openUpNewsletter()}ngOnDestroy(){this.destroySubject.next(),this.destroySubject.complete(),this.subscriptions&&this.subscriptions.unsubscribe()}static{this.\u0275fac=function(n){return new(n||e)(a(q),a(Z),a(K),a(J))}}static{this.\u0275cmp=z({type:e,selectors:[["app-subscription-banner"]],decls:1,vars:0,consts:[[4,"transloco"],["id","subscriptionBanner",1,"subscription-banner"],[1,"content"],[1,"cards","full-width","position-relative"],[1,"cta","popsy-card","secondary","flex-wrap"],[1,"popsy-card","card-banner","position-relative",3,"routerLink","queryParams"],[1,"image-banner","p-0",3,"src"],[1,"banner-head"],[1,"head",3,"innerHTML"],["aria-hidden","true",1,"fixed-space-8"],[1,"bottom","blue"],[1,"title"],[1,"button","popsy-card","bottom",3,"click"]],template:function(n,p){n&1&&B(0,en,17,25,"ng-container",0)},dependencies:[U,Y,H,V,Q,I,G],styles:["@keyframes _ngcontent-%COMP%_loading{0%{transform:translate(-45%)}to{transform:translate(345%)}}.subscription-banner[_ngcontent-%COMP%]{display:block;position:relative;box-sizing:border-box;backface-visibility:hidden;transform:translateZ(0);transform-origin:50% 51%;padding:12px 16px}.subscription-banner[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{display:block;position:relative;box-sizing:border-box;backface-visibility:hidden;transform:translateZ(0);transform-origin:50% 51%;max-width:1200px;margin:0 auto;display:flex;flex-direction:column;justify-content:space-evenly;align-items:center;list-style:none;padding:0}.subscription-banner[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .cards[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr;gap:16px}.widescreen.subscription-banner[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .cards[_ngcontent-%COMP%]{display:block}.subscription-banner[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .cards[_ngcontent-%COMP%] .cta[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding:16px!important;gap:8px}.widescreen.subscription-banner[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .cards[_ngcontent-%COMP%] .cta[_ngcontent-%COMP%]{flex-direction:column;gap:24px;align-items:center;justify-content:center}.subscription-banner[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .cards[_ngcontent-%COMP%] .cta[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-size:18px;white-space:nowrap}.desktop.subscription-banner[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .cards[_ngcontent-%COMP%] .cta[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-size:24px}.subscription-banner[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .cards[_ngcontent-%COMP%] .cta[_ngcontent-%COMP%] .button[_ngcontent-%COMP%]{min-width:50%;padding:8px 16px!important;text-align:center}.subscription-banner[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .cards[_ngcontent-%COMP%] .image-banner[_ngcontent-%COMP%]{position:absolute;width:100%;height:100%;object-fit:cover}.largescreen.subscription-banner[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .cards[_ngcontent-%COMP%] .image-banner[_ngcontent-%COMP%]{max-height:unset}.subscription-banner[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .cards[_ngcontent-%COMP%] .banner-head[_ngcontent-%COMP%]{position:relative;padding:7%}.widescreen.subscription-banner[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .cards[_ngcontent-%COMP%] .banner-head[_ngcontent-%COMP%]{padding:4% 7%}.subscription-banner[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .cards[_ngcontent-%COMP%] .banner-head[_ngcontent-%COMP%] .head[_ngcontent-%COMP%] h3{font-size:25px;line-height:35px;color:#fff}.widescreen.subscription-banner[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .cards[_ngcontent-%COMP%] .banner-head[_ngcontent-%COMP%] .head[_ngcontent-%COMP%] h3{font-size:55px;line-height:63px}.subscription-banner[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .cards[_ngcontent-%COMP%] .centered[_ngcontent-%COMP%]{margin:0 auto;width:fit-content;padding:8px 16px!important;border-radius:20px;background-color:#e5e7eb;text-transform:uppercase}.subscription-banner[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .cards[_ngcontent-%COMP%] .popsy-card[_ngcontent-%COMP%]{display:flex;position:relative;padding:0;cursor:pointer}.subscription-banner[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .cards[_ngcontent-%COMP%] .popsy-card.centered[_ngcontent-%COMP%]{margin:0 auto;width:fit-content}.subscription-banner[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .cards[_ngcontent-%COMP%] .popsy-card.centered[_ngcontent-%COMP%] .bottom[_ngcontent-%COMP%]{position:relative}.subscription-banner[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .cards[_ngcontent-%COMP%] .popsy-card[_ngcontent-%COMP%] .bottom[_ngcontent-%COMP%]{cursor:pointer;margin:8px;font-weight:600;width:fit-content;text-align:center;min-width:30%;padding:8px 16px!important;border-radius:20px;background-color:#31abf7;color:#fff;text-transform:capitalize;font-size:20px}.subscription-banner[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .cards[_ngcontent-%COMP%] .popsy-card[_ngcontent-%COMP%] .bottom.gray[_ngcontent-%COMP%]{background-color:#e5e7eb;color:#6b778c}.subscription-banner[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .cards[_ngcontent-%COMP%] .popsy-card[_ngcontent-%COMP%] .bottom.blue[_ngcontent-%COMP%]{cursor:pointer;margin:8px;font-weight:600;width:80%;text-align:center;min-width:30%;padding:8px 24px!important;border-radius:20px;background-color:#5aa9f1;color:#fff;white-space:nowrap;text-transform:capitalize;font-size:20px}.widescreen.subscription-banner[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .cards[_ngcontent-%COMP%] .popsy-card[_ngcontent-%COMP%] .bottom.blue[_ngcontent-%COMP%]{font-size:25px}.subscription-banner[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .cards[_ngcontent-%COMP%] .popsy-card[_ngcontent-%COMP%] .bottom.reverse[_ngcontent-%COMP%]{right:unset;left:0}.subscription-banner[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .col[_ngcontent-%COMP%]{display:flex;box-sizing:border-box;align-items:center;justify-content:center;width:100%;max-width:420px}.widescreen.subscription-banner[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .col[_ngcontent-%COMP%]{flex-direction:row;justify-content:flex-start;max-width:unset}.hugescreen.subscription-banner[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .col[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{text-align:start}.subscription-banner[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .col[_ngcontent-%COMP%] span.text-highlight[_ngcontent-%COMP%]{font-size:560px}.subscription-banner[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .col[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], .subscription-banner[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .col[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] .text-highlight[_ngcontent-%COMP%]{font-size:50px;line-height:55px;font-weight:600;min-height:50px;font-display:swap;margin:16px 0;font-size:38px;text-align:center} .subscription-banner .content .col h1, .subscription-banner .content .col h1 .text-highlight{font-size:50px;line-height:55px;font-weight:600;min-height:50px;font-display:swap;margin:16px 0;font-size:38px}.subscription-banner[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .col.mockup[_ngcontent-%COMP%]{height:240px}.subscription-banner[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{display:block;position:relative;box-sizing:border-box;backface-visibility:hidden;transform:translateZ(0);transform-origin:50% 51%;font-size:42px;height:42px;min-height:42px;max-height:42px;width:42px;min-width:42px;max-width:42px;line-height:42px}"]})}}return e})();export{vn as SubscriptionBannerComponent};
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.