import{a as we,c as ot}from"./chunk-7RLAFGY6.js";import{$ as j,$a as re,$c as M,A as z,Aa as O,Ab as s,Ad as Ye,Ba as oe,Bb as b,Bd as de,Be as tt,C as be,Cb as Ue,Cd as T,De as nt,E as Ne,Ed as ge,Fa as f,Fd as fe,Fe as it,Gd as Z,I as Ae,Id as F,Ja as c,Kd as ue,La as Me,Mb as pe,Md as _e,Nb as y,Nd as xe,Qb as D,Qd as We,Sa as i,Sb as Ge,T as Y,Ta as o,U as ee,Ua as g,Ub as W,Ud as Te,V as U,Va as Fe,Vb as se,Vd as Q,Wa as De,Xg as ct,Ya as V,Yc as Ve,Z as Be,Za as P,Zd as Xe,_ as te,_a as u,_c as qe,aa as ne,ab as ae,ac as je,ad as Ke,ag as Re,bb as I,cb as L,cg as rt,da as R,de as Ze,dg as at,dh as ke,ea as k,eg as pt,fg as st,hb as He,ib as l,j as $,jb as d,kb as _,lb as q,ld as ce,le as Qe,lg as lt,lh as mt,m as ye,mb as Se,n as H,na as ie,p as w,qd as $e,r as Pe,ra as C,rb as ze,sa as v,tb as G,te as Je,va as n,wc as le,wd as me,we as et,x as S,ya as h,yc as X,yd as N,zb as a}from"./chunk-33PV2Q5J.js";var dt=(()=>{class e{static forRoot(){return ee,{ngModule:e,providers:[]}}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275mod=oe({type:e})}static{this.\u0275inj=te({imports:[W,X,Te,Q,W,X,Te,Q,at,st]})}}return e})();var gt=(()=>{class e{http;prefix;suffix;constructor(t,r="/assets/i18n/",p=".json"){this.http=t,this.prefix=r,this.suffix=p}getTranslation(t){return this.http.get(`${this.prefix}${t}${this.suffix}`)}static \u0275fac=function(r){return new(r||e)(ne(je),ne(String),ne(String))};static \u0275prov=Be({token:e,factory:e.\u0275fac})}return e})();var ft="(?=^.{8,}$)((?=.*\\d)|(?=.*\\W+))(?![.\\n])(?=.*[A-Z])(?=.*[a-z]).*$",Ln="^([+]){0,1}([()0-9- ]){5,}$";var ut=new j("UserComIntegrationServiceInterface");var Pt=e=>({email:e});function bt(e,m){if(e&1&&(i(0,"div",3)(1,"p",4),l(2),a(3,"translate"),o(),i(4,"button",5),l(5),a(6,"translate"),o()()),e&2){let t=u();n(2),d(b(3,3,"REGISTER.REGISTER_CONFIRMATION",G(8,Pt,t.registerForm.controls.email.value))),n(2),c("routerLink",t.backToLoginLink),n(),d(s(6,6,"REGISTER.LOGIN_BTN"))}}function Mt(e,m){e&1&&(i(0,"small",31),l(1),a(2,"translate"),o()),e&2&&(n(),d(s(2,1,"REGISTER.FIELD_REQUIRED")))}function St(e,m){e&1&&(i(0,"small",32),l(1),a(2,"translate"),o()),e&2&&(n(),d(s(2,1,"REGISTER.INVALID_EMAIL")))}function Tt(e,m){e&1&&(i(0,"small",33),l(1),a(2,"translate"),o()),e&2&&(n(),d(s(2,1,"REGISTER.FIELD_REQUIRED")))}function wt(e,m){e&1&&(i(0,"small",34),l(1),a(2,"translate"),o()),e&2&&(n(),d(s(2,1,"REGISTER.INVALID_PASSWORD")))}function Rt(e,m){e&1&&(i(0,"small",35),l(1),a(2,"translate"),o()),e&2&&(n(),_("",s(2,1,"REGISTER.FIELD_REQUIRED")," "))}function kt(e,m){e&1&&(i(0,"small",36),l(1),a(2,"translate"),o()),e&2&&(n(),_(" ",s(2,1,"REGISTER.INVALID_PASSWORD_REPEAT")," "))}function Lt(e,m){e&1&&(i(0,"small",37),l(1),a(2,"translate"),o()),e&2&&(n(),_("",s(2,1,"REGISTER.FIELD_REQUIRED")," "))}function Nt(e,m){e&1&&(i(0,"small",41),l(1),a(2,"translate"),o()),e&2&&(n(),d(s(2,1,"REGISTER.FIELD_REQUIRED")))}function At(e,m){if(e&1&&(i(0,"div",38),g(1,"re-captcha",39),f(2,Nt,3,3,"small",40),o()),e&2){let t=m.ngIf,r=u(2);n(),c("siteKey",r.googleRecaptchaSiteKey)("size",t),n(),c("ngIf",r.isFieldInvalid("recaptchaReactive","required"))}}function Bt(e,m){e&1&&(i(0,"small",42),l(1),a(2,"translate"),i(3,"span",43)(4,"reset-password")(5,"span",44),l(6),a(7,"translate"),o()()()()),e&2&&(n(),_(" ",s(2,2,"REGISTER.MAIL_ALREADY_EXIST")," "),n(5),d(s(7,4,"REGISTER.MAIL_ALREADY_EXIST_LABEL_FOR_LINK")))}function Ft(e,m){e&1&&(i(0,"small"),l(1),a(2,"translate"),o()),e&2&&(n(),d(s(2,1,"REGISTER.ERROR")))}function Dt(e,m){if(e&1){let t=V();i(0,"form",6),P("ngSubmit",function(){R(t);let p=u();return k(p.onRegisterFormSubmit())}),g(1,"img",7),i(2,"p",8),l(3),a(4,"translate"),o(),i(5,"fieldset",9)(6,"div",10)(7,"input",11),a(8,"translate"),P("keyup",function(){R(t);let p=u();return k(p.onKeyUp())}),o(),f(9,Mt,3,3,"small",12)(10,St,3,3,"small",13),o(),i(11,"div",10)(12,"input",14),a(13,"translate"),P("keyup",function(){R(t);let p=u();return k(p.onKeyUp())}),o(),f(14,Tt,3,3,"small",15)(15,wt,3,3,"small",16),o(),i(16,"div",17)(17,"input",18),a(18,"translate"),P("keyup",function(){R(t);let p=u();return k(p.onKeyUp())}),o(),f(19,Rt,3,3,"small",19)(20,kt,3,3,"small",20),o(),i(21,"div",21)(22,"label")(23,"input",22),P("keyup",function(){R(t);let p=u();return k(p.onKeyUp())}),o(),g(24,"i",23)(25,"span",24),a(26,"translate"),o(),f(27,Lt,3,3,"small",25),o(),f(28,At,3,3,"div",26),a(29,"async"),i(30,"div",27),f(31,Bt,8,6,"small",28)(32,Ft,3,3,"small",29),o(),i(33,"button",30),l(34),a(35,"translate"),o()()()}if(e&2){let t=u();c("formGroup",t.registerForm),n(3),d(s(4,19,"REGISTER.LABEL")),n(2),c("disabled",t.loading),n(2),I("placeholder",s(8,21,"REGISTER.EMAIL_ADDRESS")),n(2),c("ngIf",t.isFieldInvalid("email","required")),n(),c("ngIf",t.isFieldInvalid("email","email")),n(2),I("placeholder",s(13,23,"REGISTER.PASSWORD")),n(2),c("ngIf",t.isFieldInvalid("password","required")),n(),c("ngIf",t.isFieldInvalid("password","pattern")),n(2),I("placeholder",s(18,25,"REGISTER.PASSWORD_REPEAT")),n(2),c("ngIf",t.isFieldInvalid("password_repeat","required")),n(),c("ngIf",t.isFormInvalid("passwordsSame")&&t.isTouched("password_repeat")),n(3),c("checked",t.acceptancesChecked),n(2),c("innerHtml",s(26,27,"REGISTER.ACCEPTANCES"),C),n(2),c("ngIf",t.isFieldInvalid("acceptances","required")),n(),c("ngIf",s(29,29,t.captchaSubscription$)),n(3),c("ngIf",t.requestStatus===1),n(),c("ngIf",t.requestStatus>1),n(2),_("",s(35,31,"REGISTER.REGISTER_BUTTON")," ")}}var $n=(()=>{class e{constructor(t,r,p,E){this.authService=t,this.userComIntegrationService=r,this.environment=p,this.formVisible=!0,this.loading=!1,this.passwordPattern=ft,this.registerClick=new $,this.registerResponse=this.registerData(),this.requestStatus=0,this.googleRecaptchaSiteKey=this.environment.googleRecaptchaSiteKey,this.backToLoginLink="",this.registerForm=new Z({email:new F("",[T.required,T.email]),password:new F("",[T.required,T.pattern(this.passwordPattern)]),password_repeat:new F("",[T.required]),acceptances:new F("",T.required),recaptchaReactive:new F(null,T.required)},{validators:Ht}),this.captchaSubscription$=E.observe(["(max-width: 400px)"]).pipe(w(Ie=>Ie.matches?"compact":"normal"))}ngOnInit(){}onRegisterFormSubmit(){this.validateAllFormFields(this.registerForm),this.registerClick.next(null)}isFieldInvalid(t,r){return this.registerForm.controls[t].hasError(r)&&this.isTouched(t)}isFormInvalid(t){return this.registerForm.hasError(t)}isTouched(t){return this.registerForm.controls[t].touched}registerData(){return this.registerClick.pipe(U(()=>{this.requestStatus=0}),S(()=>this.registerForm.valid),U(()=>{this.loading=!0}),Y(()=>this.authService.register(this.registerForm.controls.email.value,this.registerForm.controls.password.value).pipe(z(t=>{if(this.requestStatus=999,this.loading=!1,t&&t.error&&t.error.errorMessage){JSON.parse(t.error.statusCode)===1&&(this.requestStatus=1);try{let r=JSON.parse(t.error.errorMessage);this.requestStatus=r.statusCode}catch(r){console.log(r,"Error")}}return H("error")}))),S(t=>t!=="error"),U(t=>this.userComIntegrationService.sendRegisterEvent(t.email)),w(()=>"success"),U(()=>{this.formVisible=!1,this.loading=!1,this.requestStatus=0}))}onKeyUp(){this.requestStatus=0}validateAllFormFields(t){Object.keys(t.controls).forEach(r=>{let p=t.get(r);p instanceof F?p.markAsTouched({onlySelf:!0}):p instanceof Z&&this.validateAllFormFields(p)})}static{this.\u0275fac=function(r){return new(r||e)(h(Ze),h(ut),h(ce),h($e))}}static{this.\u0275cmp=O({type:e,selectors:[["register"]],inputs:{backToLoginLink:"backToLoginLink"},standalone:!1,decls:4,vars:4,consts:[["id","redirect",1,"col","register","bg-white","shadow","m-auto"],["class","p-5 d-flex flex-column align-content-center",4,"ngIf"],["class","p-5 d-flex flex-column",3,"formGroup","ngSubmit",4,"ngIf"],[1,"p-5","d-flex","flex-column","align-content-center"],[1,"register-confirmation"],["type","submit",1,"btn","btn-primary","register-btn","mx-auto",3,"routerLink"],[1,"p-5","d-flex","flex-column",3,"ngSubmit","formGroup"],["src","assets/svg/logo-sonel-id.svg",1,"header-sonel-id-logo"],[1,"header","mb-5","mt-4"],[3,"disabled"],[1,"d-flex","flex-column","mb-3"],["tabindex","1","autocomplete","username","title","email","formControlName","email","type","email",1,"col-12","form-control","rounded-30","login-txt",3,"keyup","placeholder"],["id","registerEmailRequiredError",4,"ngIf"],["id","invalidEmailError",4,"ngIf"],["tabindex","2","autocomplete","new-password","formControlName","password","type","password",1,"col-12","form-control","rounded-30","login-txt",3,"keyup","placeholder"],["id","passwordRequiredError",4,"ngIf"],["id","invalidPasswordError",4,"ngIf"],[1,"d-flex","flex-column","mb-5"],["tabindex","3","autocomplete","new-password","formControlName","password_repeat","type","password",1,"col-12","form-control","rounded-30","login-txt",3,"keyup","placeholder"],["id","passwordRepeatRequiredError",4,"ngIf"],["id","invalidPasswordRepeatError",4,"ngIf"],[1,"d-flex","flex-column"],["tabindex","4","formControlName","acceptances","type","checkbox","required","",3,"keyup","checked"],["id","checkboxPolicy"],[1,"ms-3",3,"innerHtml"],["id","checkboxRequiredError",4,"ngIf"],["class","d-flex flex-column mt-4",4,"ngIf"],[1,"col-12","mt-2"],["id","emailAlreadyExistError",4,"ngIf"],[4,"ngIf"],["id","registerButton","tabindex","5","type","submit",1,"btn","btn-primary","register-btn","mt-4"],["id","registerEmailRequiredError"],["id","invalidEmailError"],["id","passwordRequiredError"],["id","invalidPasswordError"],["id","passwordRepeatRequiredError"],["id","invalidPasswordRepeatError"],["id","checkboxRequiredError"],[1,"d-flex","flex-column","mt-4"],["formControlName","recaptchaReactive",1,"register-captcha",3,"siteKey","size"],["id","recaptchaRequiredError",4,"ngIf"],["id","recaptchaRequiredError"],["id","emailAlreadyExistError"],[1,"reset-password-component"],[1,"register-label"]],template:function(r,p){r&1&&(i(0,"div",0),f(1,bt,7,10,"div",1),a(2,"async"),f(3,Dt,36,33,"form",2),o()),r&2&&(n(),c("ngIf",s(2,2,p.registerResponse)),n(2),c("ngIf",p.formVisible))},dependencies:[y,le,ue,de,Ye,ge,fe,We,_e,xe,rt,pt,lt,N,D,M],styles:['.register[_ngcontent-%COMP%]{width:100%}.header-sonel-id-logo[_ngcontent-%COMP%]{width:200px;margin-bottom:15px}.header[_ngcontent-%COMP%]{font-family:Poppins,Open Sans,sans-serif;font-size:28px;line-height:27px;font-weight:700;letter-spacing:1px}.login-txt[_ngcontent-%COMP%]{font-family:Poppins,Open Sans,sans-serif;font-size:14px;line-height:21px;font-weight:400;text-align:left;color:#16272f;padding:14px 24px}.rounded-30[_ngcontent-%COMP%]{border-radius:30px;border:2px solid #C2C9CC}.register-btn[_ngcontent-%COMP%]{padding-left:30px;padding-right:30px;height:48px;background:#029ef0;border-radius:30px;text-transform:none;border:#029EF0 1px solid;width:100%}input[type=checkbox][_ngcontent-%COMP%]{display:none}input[type=checkbox][_ngcontent-%COMP%]:checked + i[_ngcontent-%COMP%]{background:#003463;border-color:#003463}input[type=checkbox][_ngcontent-%COMP%]:checked + i[_ngcontent-%COMP%]:hover:after{opacity:1}input[type=checkbox][_ngcontent-%COMP%]:checked + i[_ngcontent-%COMP%]:after{opacity:1;border-color:#fff}input[type=checkbox][_ngcontent-%COMP%] + i[_ngcontent-%COMP%]{box-sizing:border-box}input[type=checkbox][_ngcontent-%COMP%] + i[_ngcontent-%COMP%]:before, input[type=checkbox][_ngcontent-%COMP%] + i[_ngcontent-%COMP%]:after{box-sizing:border-box}input[type=checkbox][_ngcontent-%COMP%] + i[_ngcontent-%COMP%]{position:relative;display:inline-block;top:-1px;width:20px;height:20px;min-width:20px;min-height:20px;margin:0;vertical-align:middle;border:1px solid #C2C9CC;transition:background .2s ease;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;background:#fff;font-size:18px;cursor:pointer}input[type=checkbox][_ngcontent-%COMP%] + i[_ngcontent-%COMP%]:hover:after{opacity:.04}input[type=checkbox][_ngcontent-%COMP%] + i[_ngcontent-%COMP%]:after{content:"";opacity:0;transform:translateZ(1px) rotate(-45deg);outline:1px solid transparent;position:absolute;top:22%;left:15%;width:.68em;height:.4em;border:.1em solid #222;border-top:none;border-right:none;background:#0000}input[_ngcontent-%COMP%]:-webkit-autofill{font-family:Poppins,Open Sans,sans-serif;font-size:14px;line-height:21px;font-weight:400;text-align:left;color:#16272f;padding:14px 24px}[_nghost-%COMP%] a{color:unset;text-decoration:underline}.invisible[_ngcontent-%COMP%]{visibility:hidden}#emailAlreadyExistError[_ngcontent-%COMP%]{padding:0}small[_ngcontent-%COMP%]{padding:0 24px;color:#fd4c3e;margin-top:4px;font-family:Poppins,Open Sans,sans-serif;font-size:12px;font-weight:700}.register-confirmation[_ngcontent-%COMP%]{font-size:14px;padding:100px 0;text-align:center;line-height:21px}.register-captcha[_ngcontent-%COMP%]{max-width:250px}.register-label[_ngcontent-%COMP%]{cursor:pointer;text-decoration:underline}@media (max-width: 600px){.frame[_ngcontent-%COMP%], .register-btn[_ngcontent-%COMP%]{width:100%}}@media (min-width: 576px){.register[_ngcontent-%COMP%]{max-width:500px;width:100%}}']})}}return e})(),Ht=e=>{let m=e,t=m.controls.password.value,r=m.controls.password_repeat.value;return t===r?null:t.length>0&&r.length>0?{passwordsSame:!0}:null};var _t=new j("NewsletterService");function zt(e,m){e&1&&(i(0,"small",14),l(1),a(2,"translate"),o()),e&2&&(n(),_(" ",s(2,1,"NEWSLETTER.INVALID_EMAIL")," "))}function Ut(e,m){if(e&1){let t=V();i(0,"form",8),P("submit",function(){R(t);let p=He(3),E=u();return k(E.onSubscribeClick(p.value))}),i(1,"div",9),g(2,"input",10,0),a(4,"translate"),i(5,"div",11),f(6,zt,3,3,"small",12),o()(),i(7,"button",13),l(8),a(9,"translate"),o()()}if(e&2){let t=u();c("formGroup",t.newsletterForm),n(2),I("placeholder",s(4,4,"NEWSLETTER.HINT")),n(4),c("ngIf",t.isFieldInvalid("newsletter","pattern")),n(2),_(" ",s(9,6,"NEWSLETTER.BUTTON")," ")}}function Gt(e,m){e&1&&(i(0,"p",15),l(1),a(2,"translate"),o()),e&2&&(n(),_(" ",s(2,1,"NEWSLETTER.SUCCESSFUL"),""))}var jt='^(([^<>()\\[\\]\\\\.,;:\\s@"]+(\\.[^<>()\\[\\]\\\\.,;:\\s@"]+)*)|(".+"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$',Vt="SHOP_NEWSLETTER_TAG",oi=(()=>{class e{constructor(t,r){this.newsletterService=t,this.shopService=r,this.successfulSubscription=!1,this.destroySubject=new $,this.onSubscribeClickSubject=new $,this.newsletterForm=new Z({newsletter:new F("",[T.required,T.pattern(jt)])},{validators:[qt]}),this.onSubscribeClickSubject.pipe(ee(this.destroySubject),Ne(300),Y(p=>this.shopService.getShopAttribute(Vt).pipe(S(E=>E!=null),Y(E=>this.newsletterService.subscribe(p,[E]).pipe(U(()=>{this.successfulSubscription=!0})))))).subscribe()}ngOnInit(){}ngOnDestroy(){this.destroySubject.next(),this.destroySubject.complete()}isFieldInvalid(t,r){return this.newsletterForm.controls[t].hasError(r)&&this.newsletterForm.controls[t].touched}onSubscribeClick(t){return this.newsletterForm.valid&&this.onSubscribeClickSubject.next(t),!1}static{this.\u0275fac=function(r){return new(r||e)(h(_t),h(et))}}static{this.\u0275cmp=O({type:e,selectors:[["newsletter"]],standalone:!1,decls:12,vars:8,consts:[["email",""],[1,"box","newsletter-component-box"],[1,"container","align-items-center","d-flex","main-frame"],[1,"newsletter-box","text-center","mx-auto","w-100"],[1,"title"],[1,"description"],["class","flex-wrap d-sm-inline-flex w-100 justify-content-center form-group",3,"formGroup","submit",4,"ngIf"],["class","w-100 justify-content-center successful-information",4,"ngIf"],[1,"flex-wrap","d-sm-inline-flex","w-100","justify-content-center","form-group",3,"submit","formGroup"],[1,"newsletter-block"],["type","email","formControlName","newsletter",1,"form-control","newsletter-input",3,"placeholder"],[1,"errors"],["class","data-error",4,"ngIf"],["type","submit",1,"btn","text-color","newsletter-button"],[1,"data-error"],[1,"w-100","justify-content-center","successful-information"]],template:function(r,p){r&1&&(i(0,"div",1)(1,"div",2)(2,"div",3)(3,"div")(4,"p",4),l(5),a(6,"translate"),o(),i(7,"p",5),l(8),a(9,"translate"),o()(),f(10,Ut,10,8,"form",6)(11,Gt,3,3,"p",7),o()()()),r&2&&(n(5),d(s(6,4,"NEWSLETTER.TITLE")),n(3),d(s(9,6,"NEWSLETTER.DESCRIPTION")),n(2),c("ngIf",!p.successfulSubscription),n(),c("ngIf",p.successfulSubscription))},dependencies:[y,ue,de,ge,fe,_e,xe,M],styles:["@media (max-width: 1920px){div.container[_ngcontent-%COMP%]{width:40vw}}@media (max-width: 1366px){div.container[_ngcontent-%COMP%]{width:60vw}}@media (min-width: 1360px){.newsletter-component-box[_ngcontent-%COMP%] .main-frame[_ngcontent-%COMP%]{max-width:1206px}}@media (max-width: 800px){div.container[_ngcontent-%COMP%]{width:87vw}.newsletter-block[_ngcontent-%COMP%], input.newsletter-input[_ngcontent-%COMP%]{width:100%}button.newsletter-button[_ngcontent-%COMP%]{width:100%;margin-left:unset}div.form-group[_ngcontent-%COMP%]{width:100%}p.title[_ngcontent-%COMP%]{font-size:22px;text-transform:none}input.form-control[_ngcontent-%COMP%]{text-align:center}}.newsletter-button[_ngcontent-%COMP%]{margin-bottom:0;margin-top:0;font-family:Poppins,Open Sans,sans-serif;font-weight:600;background:#029ef0;font-size:14px;border-radius:1.875rem;height:3rem;width:7.063rem}.text-color[_ngcontent-%COMP%]{color:#fff}.title[_ngcontent-%COMP%]{font-family:Poppins,Open Sans,sans-serif;font-weight:700;line-height:42px;font-size:24px;color:#16272f;padding-bottom:.8125rem;text-transform:none}.description[_ngcontent-%COMP%]{font-family:Poppins,Open Sans,sans-serif;font-weight:400;line-height:27px;font-size:18px;color:#16272f;padding-bottom:1.5rem;display:block}.newsletter-input[_ngcontent-%COMP%]{font-size:14px;border-radius:1.875rem;width:21.75rem;height:3rem;padding-left:1.5rem;padding-right:1.5rem;margin-bottom:.8125rem}.container[_ngcontent-%COMP%]{min-height:30vh;width:40vw;padding:unset}.box[_ngcontent-%COMP%]{background-color:#fff}.btn[_ngcontent-%COMP%]{text-transform:none;margin-left:.5625rem}.newsletter-box[_ngcontent-%COMP%]{margin-top:2.25rem;margin-bottom:2.25rem}.successful-information[_ngcontent-%COMP%]{color:#00a730;font-family:Poppins,Open Sans,sans-serif;font-weight:600;line-height:27px;font-size:18px;padding-bottom:1.5rem}.data-error[_ngcontent-%COMP%]{color:red;font-family:Poppins,sans-serif;font-size:14px;line-height:21px;font-weight:400}.errors[_ngcontent-%COMP%]{margin-bottom:20px}"]})}}return e})(),qt=e=>{let m=e,t=m.controls.newsletter.value;return m.controls.newsletter.touched&&t.length===0?{notEmptyData:!0}:null};var Ce=new j("AttrShopService"),xt="SHOP_SOCIAL_MEDIA",ht="SHOP_CONTACT",Ct="SHOP_INFO_HEADER";var ve=class{constructor(m,t,r){this.icon=m,this.alt=t,this.url=r}},Oe=class{constructor(m,t,r,p,E){this.email=m,this.emailHtml=t,this.phoneShortcutHtml=r,this.phoneNumberHtml=p,this.openHoursHtml=E}},Ee=class{constructor(m,t,r,p){this.firstInfo=m,this.secondInfo=t,this.thirdInfo=r,this.fourthInfo=p}};function Kt(e,m){if(e&1&&(i(0,"div",2)(1,"div",3),g(2,"img",4)(3,"p",5),a(4,"safeHtml"),o(),i(5,"div",6),g(6,"img",7)(7,"p",5),a(8,"safeHtml"),o(),i(9,"div",6),g(10,"img",8)(11,"p",5),a(12,"safeHtml"),o(),i(13,"div",9),g(14,"img",10)(15,"p",5),a(16,"safeHtml"),o()()),e&2){let t=m.ngIf;n(3),c("innerHTML",s(4,4,t.firstInfo),C),n(4),c("innerHTML",s(8,6,t.secondInfo),C),n(4),c("innerHTML",s(12,8,t.thirdInfo),C),n(4),c("innerHTML",s(16,10,t.fourthInfo),C)}}var fi=(()=>{class e{constructor(t){this.attrShopService=t,this.infoHeader$=this.attrShopService.getDisplayValShopAttributeByCode(Ct).pipe(w(r=>{let p=JSON.parse(r);return new Ee(p.firstInfo,p.secondInfo,p.thirdInfo,p.fourthInfo)}),z(()=>H(null)),S(r=>r!=null))}ngOnInit(){}static{this.\u0275fac=function(r){return new(r||e)(h(Ce))}}static{this.\u0275cmp=O({type:e,selectors:[["app-header-general-info-strip"]],standalone:!1,decls:3,vars:3,consts:[[1,"header-general-info-strip"],["class","container-xl main-frame px-0 px-xl-3",4,"ngIf"],[1,"container-xl","main-frame","px-0","px-xl-3"],[1,"left-column-message"],["src","assets/svg/header-bar-volunteer.svg",1,"header-item-icon"],[3,"innerHTML"],[1,"center-column-message"],["src","assets/svg/header-bar-sell.svg",1,"header-item-icon"],["src","assets/svg/header-bar-box.svg",1,"header-item-icon"],[1,"right-column-message"],["src","assets/svg/header-bar-headset.svg",1,"header-item-icon"]],template:function(r,p){r&1&&(i(0,"div",0),f(1,Kt,17,12,"div",1),a(2,"async"),o()),r&2&&(n(),c("ngIf",s(2,1,p.infoHeader$)))},dependencies:[y,N,D,it],styles:[".header-general-info-strip[_ngcontent-%COMP%]{background:#003463;width:100%;height:40px}.header-general-info-strip[_ngcontent-%COMP%] *[class^=container][_ngcontent-%COMP%]{display:grid;grid-auto-columns:100%;grid-auto-rows:100%;justify-items:center;grid-auto-flow:column;height:100%;animation:_ngcontent-%COMP%_fadeHoriziontal 8.6s 1s ease-in-out alternate infinite}.header-general-info-strip[_ngcontent-%COMP%] *[class^=container][_ngcontent-%COMP%] .header-item-icon[_ngcontent-%COMP%]{max-height:100%}.header-general-info-strip[_ngcontent-%COMP%] *[class^=container][_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{height:100%;display:grid;grid-auto-flow:column;align-items:center;align-content:center;grid-gap:12px;width:auto;padding:0 15px;text-align:left}.header-general-info-strip[_ngcontent-%COMP%] *[class^=container][_ngcontent-%COMP%] > *[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-weight:300}.header-general-info-strip[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#f8f8f8;font-size:12px;font-family:Poppins,Open Sans,sans-serif;text-transform:uppercase;letter-spacing:1px;line-height:1!important}.left-column-message[_ngcontent-%COMP%]{width:25%;float:left}.center-column-message[_ngcontent-%COMP%]{width:25%;float:left;text-align:center}.right-column-message[_ngcontent-%COMP%]{width:25%;float:right;text-align:right}@media (min-width: 1200px){.header-general-info-strip[_ngcontent-%COMP%]{background:#f7f7f7}.header-general-info-strip[_ngcontent-%COMP%] *[class^=container][_ngcontent-%COMP%]{animation:unset;grid-auto-columns:1fr;justify-items:stretch}.header-general-info-strip[_ngcontent-%COMP%] *[class^=container][_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{text-align:center;padding:0}.header-general-info-strip[_ngcontent-%COMP%] *[class^=container][_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:first-child{text-align:left}.header-general-info-strip[_ngcontent-%COMP%] *[class^=container][_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:last-child{text-align:right}.header-general-info-strip[_ngcontent-%COMP%] *[class^=container][_ngcontent-%COMP%] > *[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-weight:600}.header-general-info-strip[_ngcontent-%COMP%] *[class^=container][_ngcontent-%COMP%] > *[_ngcontent-%COMP%] .header-item-icon[_ngcontent-%COMP%]{display:none}.header-general-info-strip[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#59656b}}@keyframes _ngcontent-%COMP%_fadeHoriziontal{0%,15%{opacity:1;margin-left:0}16%,18%{opacity:0}19%,47%{opacity:1;margin-left:-100%}49%,51%{opacity:0}52%,81%{opacity:1;margin-left:-200%}82%,84%{opacity:0}85%,to{opacity:1;margin-left:-300%}}"]})}}return e})();var $t=["*"],vt=(()=>{class e{constructor(){}ngOnInit(){}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275cmp=O({type:e,selectors:[["promo-box"]],standalone:!1,ngContentSelectors:$t,decls:3,vars:0,consts:[[1,"promo-container","shadow"],[1,"inner-box","promo-form"]],template:function(r,p){r&1&&(re(),i(0,"div",0)(1,"div",1),ae(2),o()())},styles:[".promo-form[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:space-between;height:100%}.promo-container[_ngcontent-%COMP%]{width:100%;height:100%;background:#fff;margin:0 auto}.promo-container[_ngcontent-%COMP%] .inner-box[_ngcontent-%COMP%]{padding:60px 50px 60px 40px;width:100%;height:100%}[_nghost-%COMP%] .header{font-family:Poppins,Open Sans,sans-serif;font-size:28px;line-height:27px;font-weight:700;text-align:left;color:#16272f}[_nghost-%COMP%] .header-txt{font-family:Poppins,Open Sans,sans-serif;font-size:18px;line-height:27px;font-weight:400;text-align:left;color:#16272f;margin:13px 0 31px;white-space:pre-wrap;width:90%}"]})}}return e})();var Xt=["*"];function Zt(e,m){e&1&&(i(0,"li",4)(1,"span",5),g(2,"span",6)(3,"span",7),a(4,"translate"),o()()),e&2&&(n(3),c("innerHTML",s(4,1,"REGISTER_PROMO_BOX.REGISTER_BENEFIT_FOURTH"),C))}var hi=(()=>{class e{constructor(t){this.domainService=t,this.registerRoute="",this.polishDomain=this.domainService.isPolish()}ngOnInit(){}static{this.\u0275fac=function(r){return new(r||e)(h(me))}}static{this.\u0275cmp=O({type:e,selectors:[["app-register-box-promo"]],inputs:{registerRoute:"registerRoute"},standalone:!1,ngContentSelectors:Xt,decls:30,vars:21,consts:[[1,"mb-4"],[1,"header"],[1,"header-txt"],[1,"advantages-list"],[1,"navy-blue-color"],[1,"txt"],[1,"circle","float-start","me-2"],[1,"d-flex",3,"innerHTML"],["class","navy-blue-color",4,"ngIf"],["type","submit",1,"btn","btn-primary","register-btn",3,"routerLink","fragment"],[1,"content-box"]],template:function(r,p){r&1&&(re(),i(0,"promo-box")(1,"div",0)(2,"p",1),l(3),a(4,"translate"),o(),i(5,"p",2),l(6),a(7,"translate"),o(),i(8,"ul",3)(9,"li",4)(10,"span",5),g(11,"span",6)(12,"span",7),a(13,"translate"),o()(),i(14,"li",4)(15,"span",5),g(16,"span",6)(17,"span",7),a(18,"translate"),o()(),i(19,"li",4)(20,"span",5),g(21,"span",6)(22,"span",7),a(23,"translate"),o()(),f(24,Zt,5,3,"li",8),o()(),i(25,"button",9),l(26),a(27,"translate"),o(),i(28,"div",10),ae(29),o()()),r&2&&(n(3),d(s(4,9,"REGISTER_PROMO_BOX.REGISTER")),n(3),d(s(7,11,"REGISTER_PROMO_BOX.REGISTER_TXT")),n(6),c("innerHTML",s(13,13,"REGISTER_PROMO_BOX.REGISTER_BENEFIT_FIRST"),C),n(5),c("innerHTML",s(18,15,"REGISTER_PROMO_BOX.REGISTER_BENEFIT_SECOND"),C),n(5),c("innerHTML",s(23,17,"REGISTER_PROMO_BOX.REGISTER_BENEFIT_THIRD"),C),n(2),c("ngIf",p.polishDomain),n(),c("routerLink",p.registerRoute)("fragment","redirect"),n(),_(" ",s(27,19,"REGISTER_PROMO_BOX.REGISTER")," "))},dependencies:[y,le,vt,M],styles:[".continue-as-guest-box-promo-btn[_ngcontent-%COMP%]{width:100%;height:48px;background:#fff!important;border-radius:30px!important;text-transform:none;border:#003463 1px solid!important;color:#003463!important}.circle[_ngcontent-%COMP%]{height:12px;width:12px;background-color:unset;border-radius:50%;display:inline-block;border:#029EF0 2px solid;margin-top:2px}.register-btn[_ngcontent-%COMP%]{width:100%;height:48px;background:#029ef0;border-radius:30px;text-transform:none;border:#029EF0 1px solid;margin-bottom:0;margin-top:auto}.header-txt[_ngcontent-%COMP%]{margin-bottom:52px}.txt[_ngcontent-%COMP%]{color:#16272f;font-family:Poppins,Open Sans,sans-serif;font-size:14px;line-height:17px;font-weight:400;width:85%}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{display:block}.advantages-list[_ngcontent-%COMP%]{margin-top:0;justify-content:space-between;display:flex;flex-direction:column;height:110px}@media (max-width: 768px){.header-txt[_ngcontent-%COMP%], ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin-bottom:10px}.advantages-list[_ngcontent-%COMP%]{margin-top:0;height:130px}}@media (max-width: 767px){.content-box[_ngcontent-%COMP%]{max-width:unset}}"]})}}return e})();function Qt(e,m){if(e&1&&(i(0,"li"),g(1,"span",33),o()),e&2){let t=u().ngIf;n(),c("innerHTML",t.phoneShortcutHtml,C)}}function Jt(e,m){if(e&1&&(i(0,"li"),g(1,"span",33),o()),e&2){let t=u().ngIf;n(),c("innerHTML",t.phoneNumberHtml,C)}}function en(e,m){if(e&1&&(i(0,"li"),g(1,"a",34),o()),e&2){let t=u().ngIf;n(),L("href","mailto: ",t.email,"",v),c("innerHTML",t.emailHtml,C)}}function tn(e,m){if(e&1&&(i(0,"li"),g(1,"p",33),o()),e&2){let t=u().ngIf;n(),c("innerHTML",t.openHoursHtml,C)}}function nn(e,m){if(e&1&&(Fe(0),f(1,Qt,2,1,"li",11)(2,Jt,2,1,"li",11)(3,en,2,3,"li",11)(4,tn,2,1,"li",11),De()),e&2){let t=m.ngIf;n(),c("ngIf",t.phoneShortcutHtml),n(),c("ngIf",t.phoneNumberHtml),n(),c("ngIf",t.emailHtml),n(),c("ngIf",t.openHoursHtml)}}function on(e,m){if(e&1&&(i(0,"a",35),g(1,"img",36),o()),e&2){let t=m.$implicit;I("href",t.url,v),n(),I("src",t.icon,v),I("alt",t.alt)}}function rn(e,m){if(e&1&&g(0,"img",37),e&2){let t=m.$implicit;I("src",t.value,v),L("alt","",t.key," logo")}}function an(e,m){if(e&1&&g(0,"img",38),e&2){let t=m.$implicit;I("src",t.src,v),I("alt",t.alt)}}var Ni=(()=>{class e{constructor(t,r,p,E,Ie){this.paymentService=t,this.platformId=r,this.environment=p,this.attrShopService=E,this.domainService=Ie,this.paymentIconMapping={iMojePaymentGatewayLabel:"assets/png/imoje-footer-logo.png",iMojePayLaterPaymentGatewayLabel:"assets/png/imoje-footer-logo.png",payPalCheckoutPaymentGatewayLabel:"assets/svg/paypal-footer-logo.svg",stripeCheckoutPaymentGatewayLabel:"assets/svg/stripe-footer-logo.svg",stripeKlarnaCheckoutPaymentGatewayLabel:"assets/svg/stripe-klarna-footer-logo.svg",webpayclCheckoutPaymentGatewayLabel:"assets/png/webpaycl-footer-logo.png",leaselinkPaymentGatewayLabel:"assets/png/leaselink-footer-logo.png"},this.socialMediaIconMapping={facebook:"assets/svg/facebook-footer-btn.svg",youtube:"assets/svg/youtube-footer-btn.svg",linkedin:"assets/png/linkedin-footer-btn.png",default:"assets/svg/default-footer-btn.svg"},this.baseHref="/",this.contactUsUrl=this.domainService.isUsa()?"/shop/contact-us":"/contact-us",this.deliveryImages=(()=>{switch(!0){case this.domainService.isPeru():return{OLVO:"assets/png/olva.png"};case this.domainService.isChile():return{FEDEX:"assets/png/fedex-footer.png",CHILEXPRESS:"assets/png/chilexpress-footer.png"};default:return{DHL:"assets/svg/dhl-logo.svg",UPS:"assets/svg/ups-logo.svg"}}})(),this.supportedPaymentMethods$=this.paymentService.getPayments().pipe(Pe(x=>ye(x)),w(x=>this.paymentIconMapping.hasOwnProperty(x.pgLabel)?{src:this.paymentIconMapping[x.pgLabel],alt:x.name}:null),S(x=>x!=null),Ae(x=>x.src),be()),this.socialMediaObservable$=this.attrShopService.getDisplayValShopAttributeByCode(xt).pipe(w(x=>JSON.parse(x).sort((Ot,Et)=>Ot.rank-Et.rank)),Pe(x=>ye(x)),w(x=>{let B=this.socialMediaIconMapping.hasOwnProperty(x.name)?this.socialMediaIconMapping[x.name]:this.socialMediaIconMapping.default;return new ve(B,name+" icon",x.url)}),z(()=>H(null)),S(x=>x!=null),be()),this.contactObservable$=this.attrShopService.getDisplayValShopAttributeByCode(ht).pipe(w(x=>{let B=JSON.parse(x);return new Oe(B.email,B.emailHtml,B.phoneShortcutHtml,B.phoneNumberHtml,B.openHoursHtml)}),z(()=>H(null)),S(x=>x!=null)),this.currentYear=new Date().getFullYear(),this.baseHref=this.environment.baseHref}ngOnInit(){}backToTheTop(){if(se(this.platformId)){let t=document.getElementById("top");t!==null&&(t.scrollIntoView(),t=null)}}static{this.\u0275fac=function(r){return new(r||e)(h(we),h(ie),h(ce),h(Ce),h(me))}}static{this.\u0275cmp=O({type:e,selectors:[["app-footer"]],standalone:!1,features:[ze([{provide:we,useClass:ot}])],decls:106,vars:70,consts:[[1,"footer-box"],[1,"container-xl","main-frame"],[1,"ps-sm-4","ps-xl-0","pe-sm-4","pe-xl-0"],[1,"row"],[1,"col-md-3","col-sm-12","col-xs-12"],["type","checkbox","id","footer-col-1"],["for","footer-col-1"],[1,"css-circle"],[1,"css-circle-minus"],[1,"css-circle-plus"],[1,"footer-col-content"],[4,"ngIf"],["id","contactUs",3,"href","innerHTML"],[1,"d-inline-flex","social-media-container"],["class","footer-social-media","target","_blank",3,"href",4,"ngFor","ngForOf"],["type","checkbox","id","footer-col-2"],["for","footer-col-2"],[3,"href"],["type","checkbox","id","footer-col-3"],["for","footer-col-3"],["id","faqId",3,"href"],["type","checkbox","id","footer-col-4"],["for","footer-col-4"],["class","delivery-logo delivery-image-size",3,"src","alt",4,"ngFor","ngForOf"],["src","assets/svg/mastercard-footer-logo.svg","alt","mastercard logo",1,"payment-logo"],["src","assets/png/visa-footer-logo.png","alt","visa logo",1,"payment-logo"],["class","payment-logo",3,"src","alt",4,"ngFor","ngForOf"],[1,"to-top",3,"click"],["src","assets/svg/to-top-site-btn.svg","alt","back to top icon"],[1,"d-flex","justify-content-between"],[1,"copyright"],[1,"mobile-to-top",3,"click"],["src","assets/svg/to-top-site-btn.svg","alt","back to top icon",1,"mobile-to-top-img"],[3,"innerHTML"],[3,"href","innerHTML"],["target","_blank",1,"footer-social-media",3,"href"],[3,"src","alt"],[1,"delivery-logo","delivery-image-size",3,"src","alt"],[1,"payment-logo",3,"src","alt"]],template:function(r,p){r&1&&(i(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4),g(5,"input",5),i(6,"label",6),l(7),a(8,"translate"),i(9,"div",7)(10,"span",8),l(11,"-"),o(),i(12,"span",9),l(13,"+"),o()()(),i(14,"div",10)(15,"ul"),f(16,nn,5,4,"ng-container",11),a(17,"async"),i(18,"li"),g(19,"a",12),a(20,"translate"),o()(),i(21,"div",13),f(22,on,2,3,"a",14),a(23,"async"),o()()(),i(24,"div",4),g(25,"input",15),i(26,"label",16),l(27),a(28,"translate"),i(29,"div",7)(30,"span",8),l(31,"-"),o(),i(32,"span",9),l(33,"+"),o()()(),i(34,"div",10)(35,"ul")(36,"li")(37,"a",17),l(38),a(39,"translate"),o()(),i(40,"li")(41,"a",17),l(42),a(43,"translate"),o()(),i(44,"li")(45,"a",17),l(46),a(47,"translate"),o()()()()(),i(48,"div",4),g(49,"input",18),i(50,"label",19),l(51),a(52,"translate"),i(53,"div",7)(54,"span",8),l(55,"-"),o(),i(56,"span",9),l(57,"+"),o()()(),i(58,"div",10)(59,"ul")(60,"li")(61,"a",20),l(62),a(63,"translate"),o()(),i(64,"li")(65,"a",17),l(66),a(67,"translate"),o()(),i(68,"li")(69,"a",17),l(70),a(71,"translate"),o()(),i(72,"li")(73,"a",17),l(74),a(75,"translate"),o()()()()(),i(76,"div",4),g(77,"input",21),i(78,"label",22),l(79),a(80,"translate"),i(81,"div",7)(82,"span",8),l(83,"-"),o(),i(84,"span",9),l(85,"+"),o()()(),i(86,"div",10)(87,"p"),l(88),a(89,"translate"),o(),f(90,rn,1,3,"img",23),a(91,"keyvalue"),i(92,"p"),l(93),a(94,"translate"),o(),g(95,"img",24)(96,"img",25),f(97,an,1,2,"img",26),a(98,"async"),o()(),i(99,"a",27),P("click",function(){return p.backToTheTop()}),g(100,"img",28),o()(),i(101,"div",29)(102,"p",30),l(103),o(),i(104,"a",31),P("click",function(){return p.backToTheTop()}),g(105,"img",32),o()()()()()),r&2&&(n(7),_("",s(8,34,"FOOTER.CONTACT.HEADER")," "),n(9),c("ngIf",s(17,36,p.contactObservable$)),n(3),c("href",p.contactUsUrl,v)("innerHTML",s(20,38,"CONTACT_US.CONTACT_FORM"),C),n(3),c("ngForOf",s(23,40,p.socialMediaObservable$)),n(5),_("",s(28,42,"FOOTER.INFORMATION.HEADER")," "),n(10),L("href","",p.baseHref,"content/aboutus",v),n(),d(s(39,44,"FOOTER.INFORMATION.ABOUT_US")),n(3),L("href","",p.baseHref,"content/regulations",v),n(),d(s(43,46,"FOOTER.INFORMATION.REGULATIONS")),n(3),L("href","",p.baseHref,"content/privacypolicy",v),n(),d(s(47,48,"FOOTER.INFORMATION.PRIVACY_POLICY")),n(5),_("",s(52,50,"FOOTER.HELP.HEADER")," "),n(10),L("href","",p.baseHref,"content/faq",v),n(),d(s(63,52,"FOOTER.HELP.FAQ")),n(3),L("href","",p.baseHref,"content/delivery",v),n(),d(s(67,54,"FOOTER.HELP.DELIVERY")),n(3),L("href","",p.baseHref,"content/payment",v),n(),d(s(71,56,"FOOTER.HELP.PAYMENT")),n(3),L("href","",p.baseHref,"content/reclamation",v),n(),d(s(75,58,"FOOTER.HELP.RECLAMATION")),n(5),_("",s(80,60,"FOOTER.DELIVERY_PAYMENT.HEADER")," "),n(9),d(s(89,62,"FOOTER.DELIVERY_PAYMENT.DELIVERY")),n(2),c("ngForOf",s(91,64,p.deliveryImages)),n(3),d(s(94,66,"FOOTER.DELIVERY_PAYMENT.PAYMENT")),n(4),c("ngForOf",s(98,68,p.supportedPaymentMethods$)),n(6),_("\xA9 ",p.currentYear," Sonel"))},dependencies:[pe,y,N,D,Ge,M],styles:[".delivery-image-size[_ngcontent-%COMP%]{height:86px;width:100px}.footer-col-content[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#fff;font-family:Poppins,Open Sans,sans-serif!important;font-size:14px;line-height:21px;font-weight:400!important}.footer-social-media[_ngcontent-%COMP%]{width:48px;height:48px;bottom:0;padding:0!important;margin-right:20px;margin-top:20px}.social-media-container[_ngcontent-%COMP%]{flex-wrap:wrap;margin-top:10px}.payment-logo[_ngcontent-%COMP%]{width:100px;height:auto}",".footer-box[_ngcontent-%COMP%]{background:#17272f;width:100%;margin:0 auto;padding-bottom:84px;position:relative;overflow:hidden}.main-frame[_ngcontent-%COMP%]{position:relative}.footer-box[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{display:none}.footer-box[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{color:#fff;font-family:Poppins,Open Sans,sans-serif!important;font-size:18px;line-height:27px;font-weight:700!important;margin:61px 0 14px;display:grid;justify-content:space-between;grid-template-columns:auto 44px;justify-items:center}.footer-box[_ngcontent-%COMP%] .footer-col-content[_ngcontent-%COMP%]{display:block;width:100%;height:100%}.footer-col-content[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#fff;font-family:Poppins,Open Sans,sans-serif!important;font-size:14px;line-height:21px;font-weight:400!important}.footer-col-content[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#fff;font-family:Poppins,Open Sans,sans-serif!important;font-size:14px;line-height:21px;font-weight:400!important;padding:29px 0 15px;display:block}.footer-col-content[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}.footer-box[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%], .footer-box[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:block}.footer-box[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{padding:0 0 15px}.css-circle[_ngcontent-%COMP%]{width:24px;height:24px;background:#455259 0 0 no-repeat padding-box;box-shadow:0 3px 12px #00314a;border-radius:60px;opacity:1;transform:rotate(0);float:right;display:none}.css-circle[_ngcontent-%COMP%] .css-circle-minus[_ngcontent-%COMP%], .css-circle[_ngcontent-%COMP%] .css-circle-plus[_ngcontent-%COMP%]{text-align:center;display:flex;justify-content:center;align-items:center;position:relative;top:-1px;left:0;right:0;font-weight:400!important;display:none;margin:auto;-webkit-user-select:none;user-select:none}.footer-col-content[_ngcontent-%COMP%] .delivery-logo[_ngcontent-%COMP%]{padding:10px 10px 22px 0}.footer-col-content[_ngcontent-%COMP%] .payment-logo[_ngcontent-%COMP%]{padding:10px 10px 0 0}.footer-facebook[_ngcontent-%COMP%]{width:48px;height:48px;position:absolute;bottom:0;padding:0!important}.footer-youtube[_ngcontent-%COMP%]{width:48px;height:48px;position:absolute;bottom:0;left:80px;padding:0!important}.copyright[_ngcontent-%COMP%]{position:absolute;left:48%;bottom:0;color:#fff;font-family:Poppins,Open Sans,sans-serif!important;font-size:14px;line-height:21px;font-weight:400!important}.to-top[_ngcontent-%COMP%]{position:absolute;top:34px;right:-8px;display:block;cursor:pointer;width:unset;padding:unset}.mobile-to-top[_ngcontent-%COMP%]{display:none}.mobile-to-top-img[_ngcontent-%COMP%]{width:80px;height:80px}@media (min-width: 1360px){.footer-box[_ngcontent-%COMP%] .main-frame[_ngcontent-%COMP%]{max-width:1206px}}@media (max-width: 575.98px){.footer-box[_ngcontent-%COMP%]{padding-top:30px;padding-bottom:30px}.footer-col-content[_ngcontent-%COMP%]{padding-top:20px}.to-top[_ngcontent-%COMP%]{display:none}.mobile-to-top[_ngcontent-%COMP%]{display:block}.footer-col-content[_ngcontent-%COMP%] .footer-facebook[_ngcontent-%COMP%], .footer-col-content[_ngcontent-%COMP%] .footer-youtube[_ngcontent-%COMP%]{display:none}.copyright[_ngcontent-%COMP%]{position:relative;left:0;align-self:center}.footer-box[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{cursor:pointer;border-bottom:1px solid #59656B;margin:20px 0 0;padding-bottom:20px}.css-circle[_ngcontent-%COMP%], .css-circle[_ngcontent-%COMP%] .css-circle-plus[_ngcontent-%COMP%]{display:block}.footer-box[_ngcontent-%COMP%] input[_ngcontent-%COMP%] + label[_ngcontent-%COMP%] .css-circle-plus[_ngcontent-%COMP%]{display:none}.footer-box[_ngcontent-%COMP%] input[_ngcontent-%COMP%] + label[_ngcontent-%COMP%] .css-circle-plus[_ngcontent-%COMP%]{display:block}.footer-box[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:checked + label[_ngcontent-%COMP%] .css-circle-plus[_ngcontent-%COMP%]{display:none}.footer-box[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:checked + label[_ngcontent-%COMP%] .css-circle-minus[_ngcontent-%COMP%]{display:block}.mobile-to-top-img[_ngcontent-%COMP%]{margin-right:-18px}.footer-box[_ngcontent-%COMP%] .footer-col-content[_ngcontent-%COMP%]{height:0;overflow:hidden;display:none}.footer-box[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:checked ~ .footer-col-content[_ngcontent-%COMP%]{height:auto;display:block}}"]})}}return e})();var Le=e=>({leadTime:e}),pn=e=>({quantity:e});function sn(e,m){if(e&1&&(g(0,"img",17),a(1,"resize")),e&2){let t=u();I("src",Ue(1,1,t.product.picture,"128","128"),v)}}function ln(e,m){if(e&1&&(i(0,"p",18),l(1),a(2,"translate"),o()),e&2){let t=u();n(),q(" ",s(2,2,"PRODUCT.LABEL_CAT_NUMBER")," ",t.product.manufacturerCode,"")}}function cn(e,m){e&1&&(i(0,"p",19),l(1),a(2,"translate"),i(3,"span",20),l(4,"24h"),o()()),e&2&&(n(),_(" ",s(2,1,"PRODUCT.LEAD_TIME.REALIZATION")," "))}function mn(e,m){if(e&1&&(i(0,"p",19),l(1),a(2,"translate"),i(3,"span",20),l(4),a(5,"translate"),o()()),e&2){let t=u();n(),_(" ",s(2,2,"PRODUCT.LEAD_TIME.REALIZATION")," "),n(3),d(b(5,4,"PRODUCT.LEAD_TIME.DAYS",G(7,Le,t.product.leadTime)))}}function dn(e,m){if(e&1&&g(0,"availability-indicator",21),e&2){let t=u();c("product",t.product)("showLeadTime",!0)}}function gn(e,m){if(e&1&&(i(0,"div",22)(1,"p",23),l(2),a(3,"translate"),o(),i(4,"p",24),l(5),a(6,"currencySymbol"),o(),i(7,"p",25),l(8),a(9,"currencySymbol"),a(10,"translate"),o()()),e&2){let t=u();n(2),q("",t.product.quantity," ",s(3,5,"PRODUCT.PIECES"),""),n(3),d(b(6,7,t.product.priceNet,t.product.currency)),n(3),q("",b(9,10,t.product.priceGross,t.product.currency)," ",s(10,13,"PRODUCT.GROSS"),"")}}function fn(e,m){e&1&&(i(0,"p",19),l(1),a(2,"translate"),i(3,"span",20),l(4,"24h"),o()()),e&2&&(n(),_(" ",s(2,1,"PRODUCT.LEAD_TIME.REALIZATION")," "))}function un(e,m){if(e&1&&(i(0,"p",19),l(1),a(2,"translate"),i(3,"span",20),l(4),a(5,"translate"),o()()),e&2){let t=u().$implicit;n(),_(" ",s(2,2,"PRODUCT.LEAD_TIME.REALIZATION")," "),n(3),d(b(5,4,"PRODUCT.LEAD_TIME.DAYS",G(7,Le,t.itemLeadTime)))}}function _n(e,m){if(e&1&&(i(0,"div",26)(1,"div",27)(2,"div",28)(3,"p",22),l(4),a(5,"translate"),o(),f(6,fn,5,3,"p",10)(7,un,6,9,"p",10),o(),i(8,"div",29)(9,"p",30),l(10),a(11,"currencySymbol"),o(),i(12,"p",31),l(13),a(14,"currencySymbol"),a(15,"translate"),o()()()()),e&2){let t=m.$implicit,r=u();n(4),Se("",t.productName," (",t.quantity," ",s(5,8,"PRODUCT.PIECES"),")"),n(2),c("ngIf",t.itemLeadTime===1),n(),c("ngIf",t.itemLeadTime>1),n(3),d(b(11,10,t.netPrice,r.product.currency)),n(3),q("",b(14,13,t.grossPrice,r.product.currency)," ",s(15,16,"PRODUCT.GROSS"),"")}}function xn(e,m){e&1&&(i(0,"p",19),l(1),a(2,"translate"),i(3,"span",20),l(4,"24h"),o()()),e&2&&(n(),_(" ",s(2,1,"PRODUCT.LEAD_TIME.REALIZATION")," "))}function hn(e,m){if(e&1&&(i(0,"p",19),l(1),a(2,"translate"),i(3,"span",20),l(4),a(5,"translate"),o()()),e&2){let t=u(2).$implicit;n(),_(" ",s(2,2,"PRODUCT.LEAD_TIME.REALIZATION")," "),n(3),d(b(5,4,"PRODUCT.LEAD_TIME.DAYS",G(7,Le,t.leadTime)))}}function Cn(e,m){if(e&1&&(i(0,"div",27)(1,"div",28)(2,"p",22),l(3),a(4,"translate"),o(),f(5,xn,5,3,"p",10)(6,hn,6,9,"p",10),o(),i(7,"div",29)(8,"p",30),l(9),a(10,"currencySymbol"),o(),i(11,"p",31),l(12),a(13,"currencySymbol"),a(14,"translate"),o()()()),e&2){let t=u().$implicit,r=u();n(3),Se("",t.productName," (",t.quantity," ",s(4,8,"PRODUCT.PIECES"),")"),n(2),c("ngIf",t.leadTime===1),n(),c("ngIf",t.leadTime>1),n(3),d(b(10,10,t.saleNetPrice,r.product.currency)),n(3),q("",b(13,13,t.saleGrossPrice,r.product.currency)," ",s(14,16,"PRODUCT.GROSS"),"")}}function vn(e,m){if(e&1&&(i(0,"div"),f(1,Cn,15,18,"div",32),o()),e&2){let t=m.$implicit;n(),c("ngIf",t.applied)}}function On(e,m){if(e&1&&(i(0,"div",33)(1,"p",34),l(2),a(3,"translate"),o()()),e&2){let t=u();n(2),d(b(3,1,"PRODUCT.AVAILABLE_QUANTITY",G(4,pn,t.error.availableToSellQuantity)))}}var zi=(()=>{class e{constructor(t){this.locale=t,this.navigate=!0,this.error=null,this.displayLeadTime=!1}ngOnInit(){}static{this.\u0275fac=function(r){return new(r||e)(h(Xe))}}static{this.\u0275cmp=O({type:e,selectors:[["summary-item"]],inputs:{product:"product",navigate:"navigate",error:"error",displayLeadTime:"displayLeadTime"},standalone:!1,decls:20,vars:15,consts:[[1,"item-container","px-4","px-md-5","py-5"],[1,"item-details"],[1,"d-inline-flex"],[1,"image-wrapper"],["class","image-box",3,"src",4,"ngIf"],[1,"description-container"],[1,"product-code"],[1,"product-name"],[1,"description-footer"],["class","product-catalog-code",4,"ngIf"],["class","product-lead-time",4,"ngIf"],[3,"product","showLeadTime",4,"ngIf"],[1,"action-section"],["class","w-100",4,"ngIf"],["class","d-flex services",4,"ngFor","ngForOf"],[4,"ngFor","ngForOf"],["class","message-section",4,"ngIf"],[1,"image-box",3,"src"],[1,"product-catalog-code"],[1,"product-lead-time"],[1,"lead-time-info"],[3,"product","showLeadTime"],[1,"w-100"],[1,"product-quantity","font-weight-bold"],[1,"price-net"],[1,"price-gross"],[1,"d-flex","services"],[1,"service-section"],[1,"service-description"],[1,"service-price"],[1,"ms-auto","price-net"],[1,"ms-auto","price-gross"],["class","service-section",4,"ngIf"],[1,"message-section"],[1,"available-quantity","font-weight-bold"]],template:function(r,p){r&1&&(i(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3),f(4,sn,2,5,"img",4),o(),i(5,"div",5)(6,"p",6),l(7),o(),i(8,"p",7),l(9),o(),i(10,"div",8),f(11,ln,3,4,"p",9)(12,cn,5,3,"p",10)(13,mn,6,9,"p",10),o(),f(14,dn,1,2,"availability-indicator",11),o()(),i(15,"div",12),f(16,gn,11,15,"div",13),o()(),f(17,_n,16,18,"div",14)(18,vn,2,1,"div",15)(19,On,4,6,"div",16),o()),r&2&&(Me("validation-error",p.error),n(2),Me("header",p.navigate),n(2),c("ngIf",p.product),n(3),d(p.product.productModel),n(2),d(p.product.productName),n(2),c("ngIf",p.product.manufacturerCode),n(),c("ngIf",p.displayLeadTime&&p.product.leadTime===1),n(),c("ngIf",p.displayLeadTime&&p.product.leadTime>1),n(),c("ngIf",!p.displayLeadTime),n(2),c("ngIf",p.product),n(),c("ngForOf",p.product.serviceItems),n(),c("ngForOf",p.product.services),n(),c("ngIf",p.error))},dependencies:[pe,y,Qe,N,M,nt,tt],styles:[".no-horizontal-padding[_nghost-%COMP%] .item-container[_ngcontent-%COMP%]{padding-left:0!important;padding-right:0!important}.description-footer[_ngcontent-%COMP%]{margin-bottom:15px!important}.service-price[_ngcontent-%COMP%]{min-width:100px;text-align:end}.service-section[_ngcontent-%COMP%]{justify-content:right;float:right;display:inline-flex;align-items:center;width:100%}.service-description[_ngcontent-%COMP%]{width:100%}@media (min-width: 768px){.service-description[_ngcontent-%COMP%]{width:250px}}",".item-container[_ngcontent-%COMP%]{padding:30px 40px;background-color:#fff;min-height:188px;display:flex;flex-direction:column}.item-details[_ngcontent-%COMP%]{width:100%;align-items:center;display:flex}.message-section[_ngcontent-%COMP%]{padding-top:10px;align-self:flex-end}.header[_ngcontent-%COMP%]{cursor:pointer}.image-wrapper[_ngcontent-%COMP%]{width:128px;height:128px;display:flex;justify-content:center;align-items:center}.image-box[_ngcontent-%COMP%]{max-height:100%}.description-container[_ngcontent-%COMP%]{margin-left:48px;display:flex;flex-direction:column;text-align:left}.validation-error[_ngcontent-%COMP%] .product-quantity[_ngcontent-%COMP%], .validation-error[_ngcontent-%COMP%] .available-quantity[_ngcontent-%COMP%]{color:red}.action-section[_ngcontent-%COMP%]{display:flex;margin-right:0;margin-left:auto}.action-section[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{margin-left:20px;text-align:right}.action-section[_ngcontent-%COMP%] .product-quantity[_ngcontent-%COMP%], .action-section[_ngcontent-%COMP%] .available-quantity[_ngcontent-%COMP%]{font-size:14px;line-height:21px}.action-section[_ngcontent-%COMP%] .product-quantity[_ngcontent-%COMP%]{margin:16px 0}.action-section[_ngcontent-%COMP%] .available-quantity[_ngcontent-%COMP%]{margin:8px 0}.product-code[_ngcontent-%COMP%]{font-size:14px;font-weight:600;line-height:21px;color:#16272f}.product-name[_ngcontent-%COMP%]{font-size:14px;font-weight:400;line-height:21px;color:#16272f;max-width:550px}.product-catalog-code[_ngcontent-%COMP%]{font-size:12px;font-weight:500;line-height:18px;color:#959da1;text-transform:uppercase}.product-lead-time[_ngcontent-%COMP%]{font-size:12px;font-weight:500;line-height:18px;color:#959da1}.lead-time-info[_ngcontent-%COMP%]{font-size:12px;font-weight:800;line-height:18px;color:#959da1}.product-availability[_ngcontent-%COMP%]{margin-top:8px}.quantity-section[_ngcontent-%COMP%]{margin-bottom:0}.description-footer[_ngcontent-%COMP%]{margin-bottom:0;margin-top:auto}.price-net[_ngcontent-%COMP%]{color:#16272f;line-height:27px;font-size:18px;font-weight:400}.price-gross[_ngcontent-%COMP%]{color:#16272f;line-height:18px;font-size:12px;font-weight:400}.trash-button[_ngcontent-%COMP%]{width:48px;height:48px;background:url(/assets/svg/trash.svg) no-repeat center;border:unset}.quantity-dropdown[_ngcontent-%COMP%]{margin-right:24px}.quantity-selector[_ngcontent-%COMP%]{height:48px;width:56px;font-family:Poppins,Open Sans,sans-serif;font-weight:600;color:#003463;border-radius:0;-webkit-appearance:none;-moz-appearance:none;background:#f7f7f7;border:unset;border-bottom:#003463 solid 2px;text-align:left;padding:0 14px}.quantity-dropdown[_ngcontent-%COMP%] .dropdown-toggle[_ngcontent-%COMP%]:after{border:unset;content:url(/assets/svg/arrow.svg);margin-right:0;margin-left:auto}.quantity-dropdown[_ngcontent-%COMP%] .show[_ngcontent-%COMP%]{border-radius:unset;padding:0;min-width:48px}.quantity-dropdown[_ngcontent-%COMP%] .quantity-item[_ngcontent-%COMP%]{width:100%;background:#f7f7f7;font-family:Poppins,Open Sans,sans-serif;font-weight:600;color:#003463;border:unset} .description-footer .quantity-section{margin-bottom:0!important}@media (max-width: 700px){.item-container[_ngcontent-%COMP%]{display:inline-block;text-align:left;padding:30px}.message-section[_ngcontent-%COMP%]{padding-top:10px;text-align:right}.action-section[_ngcontent-%COMP%]{margin-top:unset;text-align:center;justify-content:center}.action-section[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{margin:0;text-align:right}.description-container[_ngcontent-%COMP%]{margin-left:15px}.price-section[_ngcontent-%COMP%]{margin-right:0;margin-left:auto}.header[_ngcontent-%COMP%]{margin-left:0;margin-right:auto}}"]})}}return e})();function En(e,m){if(e&1){let t=V();i(0,"div",1)(1,"div",2)(2,"div",3)(3,"div",4)(4,"div",5),g(5,"img",6),i(6,"span",7),l(7),a(8,"translate"),o(),i(9,"span",8),l(10),a(11,"translate"),o(),i(12,"span",9),l(13),a(14,"translate"),o(),i(15,"div",10)(16,"button",11),P("click",function(){let p=R(t).ngIf,E=u();return k(E.onClick(p))}),l(17),a(18,"translate"),o()()()(),i(19,"div",12),g(20,"img",13),o()()()()}e&2&&(n(7),d(s(8,4,"BLOG.SUBTITLE")),n(3),d(s(11,6,"BLOG.TITLE")),n(3),d(s(14,8,"BLOG.DESCRIPTION")),n(4),d(s(18,10,"BLOG.BUTTON")))}var Ki=(()=>{class e{constructor(t,r){this.platformId=t,this.translateService=r,this.blogLink=this.translateService.get("BLOG.BUTTON_URL")}onClick(t){se(this.platformId)&&window.open(t,"_blank")}static{this.\u0275fac=function(r){return new(r||e)(h(ie),h(qe))}}static{this.\u0275cmp=O({type:e,selectors:[["blog"]],standalone:!1,decls:2,vars:3,consts:[["class","blog-box align-items-center d-flex full-size",4,"ngIf"],[1,"blog-box","align-items-center","d-flex","full-size"],[1,"container-xl","main-frame"],[1,"blog-container","text-center","row","pt-5","pb-3","px-4"],[1,"pl-0","pe-5","col-lg-5","col-12"],[1,"d-flex","flex-column","text-start"],["src","assets/svg/ico-section-knowledge.svg","alt","blog-icon",1,"blog-icon","mb-2"],[1,"subtitle","mt-4"],[1,"title","mt-1"],[1,"description","pt-2","mt-4"],[1,"row","mx-0","mt-3"],[1,"btn","base-button","w-auto","px-5",3,"click"],[1,"col-lg-7","col-12","px-0"],["src","assets/svg/blog-image.svg","alt","blog-image",1,"d-flex","w-100","blog-image"]],template:function(r,p){r&1&&(f(0,En,21,12,"div",0),a(1,"async")),r&2&&c("ngIf",s(1,1,p.blogLink))},dependencies:[y,N,D,M],styles:["@media (min-width: 1360px){.blog-box[_ngcontent-%COMP%] .main-frame[_ngcontent-%COMP%]{max-width:1206px}}.blog-box[_ngcontent-%COMP%]{background-color:#fff;font-size:18px;font-weight:300;color:#16272f}.blog-icon[_ngcontent-%COMP%]{width:40px;height:40px}.title[_ngcontent-%COMP%]{font-weight:700;font-size:24px;white-space:break-spaces}.btn[_ngcontent-%COMP%]{display:flex;justify-content:center;align-content:center;flex-wrap:wrap}.btn[_ngcontent-%COMP%], .btn[_ngcontent-%COMP%]:hover{color:#fff}.full-size[_ngcontent-%COMP%]{margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw)}"]})}}return e})();function In(e){return new gt(e,"./assets/i18n/",".json")}var Eo=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275mod=oe({type:e})}static{this.\u0275inj=te({imports:[W,X,Q,Ke.forChild({loader:{provide:Ve,useFactory:In,deps:[Je]}}),ke,dt,mt,ct,Re,ke,Re]})}}return e})();export{Ki as a,Ce as b,_t as c,oi as d,fi as e,Ni as f,ft as g,Ln as h,ut as i,$n as j,hi as k,dt as l,gt as m,zi as n,In as o,Eo as p};