1import{a as H,b as re}from"./chunk-4M5IXYNP.js";import{a as A,b as oe}from"./chunk-OJSBJ4NA.js";import{a as G,b as ie}from"./chunk-SWOKZLJC.js";import{a as R,b as ne}from"./chunk-PHIZW7LJ.js";import{a as S,b as W}from"./chunk-IS3TQNTQ.js";import{H as k,aa as Z,ba as $,ca as ee}from"./chunk-CVF2EBXS.js";import{Bc as X,dc as j}from"./chunk-5VWF6WJS.js";import{a as U,b as te}from"./chunk-WMNFHQOK.js";import{a as L,e as Y}from"./chunk-JBMJ2I24.js";import{Ba as M,Ca as h,Ec as _,Fc as m,Ja as I,Kb as v,Ob as D,Tc as q,Vc as b,Vd as y,fc as x,hc as P,ic as F,kc as w,lc as N,mc as p,nb as J,nc as s,oc as f,pc as T,sb as c,ua as g,yc as O,zb as V}from"./chunk-L4MDHOUV.js";import{f as B,j as d,k as u,l as C,n as E}from"./chunk-VA6OWENO.js";function ae(t,n){if(t&1){let e=O();s(0,"app-button",6),_("click",function(){M(e);let r=m();return h(r.backMainMenu())}),f()}if(t&2){let e=m();p("iconOnly",!0)("icon",e.ICON_OBJ.filter.modal.left.name)("iconSize",e.ICON_OBJ.filter.modal.left.size)("iconPosition","start")}}function ce(t,n){if(t&1){let e=O();s(0,"li",9)(1,"a",10),_("click",function(){let r=M(e).$implicit,l=m(2);return h(l.openSubMenu(r))}),s(2,"span"),q(3),f(),T(4,"app-icon",11),f()()}if(t&2){let e=n.$implicit,i=m(2);c(3),b(" ",e.title),c(),p("name",i.ICON_OBJ.filter.modal.right.name)("size",i.ICON_OBJ.filter.modal.right.size)}}function se(t,n){if(t&1&&(s(0,"ul",8),w(1,ce,5,3,"li",9,F),f()),t&2){let e=m();c(),N(e.faqs)}}function fe(t,n){if(t&1){let e=O();s(0,"li",9)(1,"a",12),_("click",function(r){let l=M(e).$implicit,o=m(2);return h(o.goToLink(r,l==null||l.url==null?null:l.url.href,l==null?null:l.open_in_new_tab))}),s(2,"span"),q(3),f(),T(4,"app-icon",11),f()()}if(t&2){let e=n.$implicit,i=m(2);c(),p("href",e==null||e.url==null?null:e.url.href,J),c(2),b(" ",e==null||e.url==null?null:e.url.title),c(),p("name",i.ICON_OBJ.filter.modal.right.name)("size",i.ICON_OBJ.filter.modal.right.size)}}function me(t,n){if(t&1&&(s(0,"ul",8),w(1,fe,5,4,"li",9,F),f()),t&2){let e=m();c(),N(e.links)}}var K,Q=B(()=>{"use strict";y();X();te();W();ne();y();K=(()=>{var n;let e=class e extends R{constructor(){super();u(this,n);C(this,n,g(j)),this.faqs=[],this.faqTitle="",this.links=[],this.mainMenu=!0,this.ICON_OBJ={filter:{modal:{close:{name:"product-list/filter-modal/close_dark",size:"18px"},left:{name:"product-list/filter-modal/left_dark",size:"20px"},right:{name:"product-list/filter-modal/right_dark",size:"16px"}}}},this.closeModal=()=>E(this,null,function*(){return d(this,n).dismiss()})}backMainMenu(){this.mainMenu=!0}openSubMenu(l){this.mainMenu=!1,this.faqTitle=l.title,this.links=l.link}goToLink(l,o,a){this.closeModal(),this.onLinkClick(l,o,a)}};n=new WeakMap,e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=v({type:e,selectors:[["app-profile-footer-modal"]],inputs:{faqs:"faqs"},features:[D],decls:11,vars:7,consts:[[1,"footer-faqs-container"],[1,"footer-faqs-toolbar"],[1,"back-button-container"],[1,"link-utilies",3,"iconOnly","icon","iconSize","iconPosition"],[1,"title"],[1,"close-modal-container"],[1,"link-utilies",3,"click","iconOnly","icon","iconSize","iconPosition"],[1,"footer-faqs-list"],[1,"footer-faqs"],[1,"profile-link"],[1,"flex","ion-justify-content-between",3,"click"],[3,"name","size"],[1,"flex","ion-justify-content-between",3,"click","href"]],template:function(o,a){o&1&&(s(0,"div",0)(1,"div",1)(2,"div",2),x(3,ae,1,4,"app-button",3),f(),s(4,"p",4),q(5),f(),s(6,"div",5)(7,"app-button",6),_("click",function(){return a.closeModal()}),f()()(),s(8,"div",7),x(9,se,3,0,"ul",8)(10,me,3,0,"ul",8),f()()),o&2&&(c(3),P(a.mainMenu?-1:3),c(2),b(" ",a.mainMenu?"Scopri di pi\xF9 su Unieuro":a.faqTitle),c(2),p("iconOnly",!0)("icon",a.ICON_OBJ.filter.modal.close.name)("iconSize",a.ICON_OBJ.filter.modal.close.size)("iconPosition","end"),c(2),P(a.mainMenu?9:10))},dependencies:[U,S],styles:[".footer-faqs-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding:1.25rem}.footer-faqs-container[_ngcontent-%COMP%] .footer-faqs-toolbar[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:space-between;padding:.5rem;margin-bottom:.75rem}.footer-faqs-container[_ngcontent-%COMP%] .footer-faqs-toolbar[_ngcontent-%COMP%] .back-button-container[_ngcontent-%COMP%]{width:1.25rem;height:1.25rem}.footer-faqs-container[_ngcontent-%COMP%] .footer-faqs-toolbar[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-size:1rem;font-style:normal;font-weight:400;line-height:1.5rem}.footer-faqs-container[_ngcontent-%COMP%] .footer-faqs-toolbar[_ngcontent-%COMP%] .close-modal-container[_ngcontent-%COMP%]{width:1.25rem;height:1.25rem}.footer-faqs-container[_ngcontent-%COMP%] .footer-faqs-list[_ngcontent-%COMP%]{padding-left:.7rem}.footer-faqs-container[_ngcontent-%COMP%] .footer-faqs-list[_ngcontent-%COMP%] .footer-faqs[_ngcontent-%COMP%]{list-style-type:none;padding:.5rem}.footer-faqs-container[_ngcontent-%COMP%] .footer-faqs-list[_ngcontent-%COMP%] .footer-faqs[_ngcontent-%COMP%] .profile-link[_ngcontent-%COMP%]{margin-bottom:.5rem}.footer-faqs-container[_ngcontent-%COMP%] .footer-faqs-list[_ngcontent-%COMP%] .footer-faqs[_ngcontent-%COMP%] .profile-link[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:.875rem;font-style:normal;font-weight:400;line-height:1.25rem}"]});let t=e;return t})()});function pe(t,n){if(t&1){let e=O();s(0,"div",0)(1,"app-button",1),_("click",function(){M(e);let r=m();return h(r.openFooterModal())}),f()()}if(t&2){let e=m();c(),p("theme","outline_dark")("label","Scopri di pi\xF9 su Unieuro")("expand","full")("icon",e.ICON_OBJ.right.name)("iconSize",e.ICON_OBJ.right.size)("iconPosition","end")("fill","outline")("textWithIcon",!0)("borderColor","var(--ion-color-light)")}}var Te,de=B(()=>{"use strict";y();Y();Z();re();ee();oe();Q();W();ie();y();Te=(()=>{var n,e,i;
1let r=class r{constructor(){u(this,n);u(this,e);u(this,i);C(this,n,g(H)),C(this,e,g($)),C(this,i,g(A)),this.platformIsNative=I(L.isNativePlatform()),this.footerComponents=I(void 0),this.ICON_OBJ=G,V(()=>{d(this,n).getFaqData().subscribe({next:o=>{this.footerComponents.set({text:k(o,"text",""),faqs:k(o,"columns",[]),legalText:k(o,"legal_text",""),paymentMethodIcons:k(o,"icons",[])}),d(this,n).setFaqData(o)},error:o=>{d(this,e).error("Error retriving component (footer): ",o)}})})}openFooterModal(){d(this,i).openModal({component:K,componentProps:{faqs:this.footerComponents().faqs},cssClass:"footer-link-utilies",initialBreakpoint:1,keyboardClose:!1}).then()}};n=new WeakMap,e=new WeakMap,i=new WeakMap,r.\u0275fac=function(a){return new(a||r)},r.\u0275cmp=v({type:r,selectors:[["app-profile-footer-native"]],decls:1,vars:1,consts:[[1,"footer-links-container"],["\u03C0\u03C0","","\u03C0","","\u03C0","",3,"click","theme","label","expand","icon","iconSize","iconPosition","fill","textWithIcon","borderColor"]],template:function(a,z){a&1&&x(0,pe,2,9,"div",0),a&2&&P(z.platformIsNative()?0:-1)},dependencies:[S],styles:[".footer-links-container[_ngcontent-%COMP%]{padding:0 1.25rem;margin-bottom:.2rem}.login-section-platform[_nghost-%COMP%], .login-section-platform [_nghost-%COMP%]{width:100%}.profile-content[_nghost-%COMP%], .profile-content [_nghost-%COMP%]{width:100%}.profile-content[_nghost-%COMP%] .footer-links-container[_ngcontent-%COMP%], .profile-content [_nghost-%COMP%] .footer-links-container[_ngcontent-%COMP%]{padding:0}"]});let t=r;return t})()});export{Te as a,de as b};
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.