1 2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="aeb5ea8f-595f-584d-baaf-73f32e2f0b1d")}catch(e){}}(); 3import{a as Y}from"./chunk-WAZJVPP3.js";import"./chunk-MOY7B4A4.js";import{a as K}from"./chunk-WKRYTFSA.js";import"./chunk-NB74HJRR.js";import"./chunk-6ASDHROT.js";import{k as J}from"./chunk-GS62U2PU.js";import"./chunk-77VGLVLI.js";import{a as X}from"./chunk-C5RXSO7B.js";import{d as G}from"./chunk-HX4AK5J6.js";import"./chunk-K6ECHJ32.js";import"./chunk-WAAVIN6Y.js";import"./chunk-HZ3BHBXH.js";import"./chunk-T7ELZBUC.js";import"./chunk-G7KQZIHN.js";import"./chunk-55NE7F2H.js";import"./chunk-LRSBHNW6.js";import"./chunk-73GAHTGQ.js";import"./chunk-MKQN2GRG.js";import"./chunk-VY3T5DKY.js";import"./chunk-XFTWJDK5.js";import"./chunk-MUGVRQIQ.js";import"./chunk-YB37LVQK.js";import"./chunk-4YXJLFJT.js";import"./chunk-W7XBMMJM.js";import{n as A}from"./chunk-MX7NL64W.js";import"./chunk-ZJJW5IEL.js";import"./chunk-JNXVMRNH.js";import"./chunk-EW3UX2GU.js";import"./chunk-5XBUVXKN.js";import"./chunk-GNBB2ZDL.js";import"./chunk-KRVPXY7N.js";import"./chunk-I5JPZY4S.js";import{a as q}from"./chunk-V7S7Q3M4.js";import{s as $}from"./chunk-ISGJVVDU.js";import"./chunk-IG2MPEMB.js";import{Ad as H,Bd as _,Cd as P,Dd as N,Jc as g,Lc as m,Mc as D,Nd as C,Oc as I,Pb as b,Pc as W,Qb as E,Qc as c,Ra as x,Rc as l,Sb as L,Sc as s,Tb as a,Tc as u,Vd as Q,Wd as V,Za as y,_a as T,ad as z,db as S,i as w,ka as v,kd as h,lc as k,md as p,ob as B,oe as F,qd as R,rd as U,sd as j}from"./chunk-B57UFOCG.js";import"./chunk-JMSJNUVZ.js";var Z=["contactModal"];function nn(n,o){if(n&1&&u(0,"img",2),n&2){let i,t,e=p();c("alt",C("Banni\xE8re ",(i=e.pagelet())==null?null:i.stringParam("Title")))("src",(t=e.pagelet())==null?null:t.stringParam("ImageMobile"),b)}}function en(n,o){if(n&1&&u(0,"img",2),n&2){let i,t,e=p();c("alt",C("Banni\xE8re ",(i=e.pagelet())==null?null:i.stringParam("Title")))("src",(t=e.pagelet())==null?null:t.stringParam("Image"),b)}}function tn(n,o){if(n&1){let i=z();l(0,"button",9),h("click",function(){y(i);let e=p();return T(e.generateContactUrl(e.pagelet().stringParam("CodeExpresso")))}),_(1),s()}if(n&2){let i,t=p();a(),N(" ",(i=t.pagelet())==null?null:i.stringParam("ButtonText")," ")}}function on(n,o){if(n&1&&(l(0,"a",6),_(1),s()),n&2){let i,t,e=p();c("routerLink",(i=e.pagelet())==null?null:i.stringParam("ButtonRedirect")),a(),P((t=e.pagelet())==null?null:t.stringParam("ButtonText"))}}function rn(n,o){if(n&1&&u(0,"ish-content-pagelet",11),n&2){let i=o.$implicit;c("pageletId",i)}}function an(n,o){if(n&1&&(l(0,"ish-content-slot",7)(1,"div",10),I(2,rn,1,1,"ish-content-pagelet",11,D),s()()),n&2){let i=p();c("wrapper",!0)("pagelet",i.pagelet()),a(2),W(i.slotsList)}}function sn(n,o){n&1&&(l(0,"ish-modal-dialog",8,0),u(2,"iframe",12),s()),n&2&&(a(2),c("src",o,E))}var wn=(()=>{let o=class o{constructor(){this.modalService=x(J),this.pagelet=F(),this.safeSrc$=new w(void 0),this.destroyRef=x(S)}set content(t){this.modalDialog=t}ngOnInit(){this.currentWindowWidth=window.innerWidth}ngOnChanges(){this.currentWindowWidth=window.innerWidth,this.slotsList=this.pagelet().slot("trenois_app_sf_base_cm:slot.expresso.product.landing.banner.submenu.items.pagelet2-Slot").pageletIDs}onResize(){this.currentWindowWidth=window.innerWidth}generateContactUrl(t){this.currentDialog=this.modalService.open(Y,{centered:!0,windowClass:"lg-modal"});let e=this.currentDialog.componentInstance;e.expressoCode.set(t),e.closeModal.pipe(v(),q(this.destroyRef)).subscribe(()=>{this.currentDialog.dismiss()})}};o.\u0275fac=function(e){return new(e||o)},o.\u0275cmp=k({type:o,selectors:[["gt-cms-trenois-expresso-product-landing-banner"]],viewQuery:function(e,r){if(e&1&&R(Z,5),e&2){let d;U(d=j())&&(r.content=d.first)}},hostBindings:function(e,r){e&1&&h("resize",function(){return r.onResize()},L)},inputs:{pagelet:[1,"pagelet"]},outputs:{pagelet:"pageletChange"},features:[B],decls:12,vars:10,consts:[["contactModal",""],[1,"banner-container"],[3,"src","alt"],[1,"text-container"],[1,"weight-bold"],[1,"btn-primary-bright"],[1,"btn-primary-bright",3,"routerLink"],["slot","trenois_app_sf_base_cm:slot.expresso.product.landing.banner.submenu.items.pagelet2-Slot",3,"wrapper","pagelet"],["titleText","Nous contacter","size","lg","icon","icon-contact"],[1,"btn-primary-bright",3,"click"],[1,"submenu-header","bg-white-color"],[3,"pageletId"],[3,"src"]],template:function(e,r){if(e&1&&(l(0,"div")(1,"div",1),g(2,nn,1,3,"img",2)(3,en,1,3,"img",2),l(4,"div",3)(5,"p",4),_(6),s(),g(7,tn,2,1,"button",5)(8,on,2,2,"a",6),s()(),g(9,an,4,2,"ish-content-slot",7),s(),g(10,sn,3,1,"ish-modal-dialog",8),Q(11,"async")),e&2){let d,M,f,O;H(C("expresso-landing-produit-banniere-container ",(d=r.pagelet())!=null&&d.booleanParam("IsTopBanner")?"top":"bottom")),a(2),m(r.currentWindowWidth<768&&r.pagelet().hasParam("ImageMobile")?2:3),a(4),P((M=r.pagelet())==null?null:M.str
3ingParam("Title")),a(),m((f=r.pagelet())!=null&&f.stringParam("ButtonText").toLowerCase().includes("contact")?7:8),a(2),m(r.slotsList!=null&&r.slotsList.length?9:-1),a(),m((O=V(11,8,r.safeSrc$))?10:-1,O)}},dependencies:[A,X,G,K,$],styles:[".expresso-landing-produit-banniere-container.top[_ngcontent-%COMP%]{margin-bottom:110px}.expresso-landing-produit-banniere-container.bottom[_ngcontent-%COMP%]{width:100vw;padding:64px calc((100vw - 1190px)/2);margin:64px calc((-100vw + 1185px)/2) 0;overflow:hidden;background:#fff}.expresso-landing-produit-banniere-container.bottom[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%]{left:calc(665px + (100vw - 1190px)/2)}.expresso-landing-produit-banniere-container[_ngcontent-%COMP%] .banner-container[_ngcontent-%COMP%]{position:relative;display:flex;align-items:center}.expresso-landing-produit-banniere-container[_ngcontent-%COMP%] .banner-container[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%;height:500px;object-fit:cover}.expresso-landing-produit-banniere-container[_ngcontent-%COMP%] .banner-container[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%]{position:absolute;left:665px;display:flex;flex-direction:column;gap:24px}.expresso-landing-produit-banniere-container[_ngcontent-%COMP%] .banner-container[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{width:491px;font-size:40px;line-height:48px;color:#fff}.expresso-landing-produit-banniere-container[_ngcontent-%COMP%] ish-content-slot[_ngcontent-%COMP%] > ish-content-design-view-wrapper[_ngcontent-%COMP%] .submenu-header[_ngcontent-%COMP%]{display:flex;justify-content:center;height:64px;padding:13px 0 7px}.expresso-landing-produit-banniere-container[_ngcontent-%COMP%] ish-content-slot[_ngcontent-%COMP%] > ish-content-design-view-wrapper[_ngcontent-%COMP%] .submenu-header[_ngcontent-%COMP%] ish-content-pagelet:last-child p{border-right:0}@media screen and (max-width:768px){.expresso-landing-produit-banniere-container.top[_ngcontent-%COMP%]{margin:0 -16px}.expresso-landing-produit-banniere-container.bottom[_ngcontent-%COMP%]{width:unset;padding:0;margin:0 -16px;overflow:unset}.expresso-landing-produit-banniere-container.bottom[_ngcontent-%COMP%] .banner-container[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%]{position:absolute;bottom:0;left:0}.expresso-landing-produit-banniere-container.bottom[_ngcontent-%COMP%] .banner-container[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#fff}.expresso-landing-produit-banniere-container[_ngcontent-%COMP%] .banner-container[_ngcontent-%COMP%]{flex-direction:column;align-items:unset}.expresso-landing-produit-banniere-container[_ngcontent-%COMP%] .banner-container[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:unset}.expresso-landing-produit-banniere-container[_ngcontent-%COMP%] .banner-container.top[_ngcontent-%COMP%]{margin-bottom:20px}.expresso-landing-produit-banniere-container[_ngcontent-%COMP%] .banner-container[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%]{position:unset;gap:16px;padding:0 16px;margin-bottom:20px}.expresso-landing-produit-banniere-container[_ngcontent-%COMP%] .banner-container[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{width:unset;margin-top:20px;font-size:24px;font-weight:700;line-height:32px;color:#092253}.expresso-landing-produit-banniere-container[_ngcontent-%COMP%] ish-content-slot[_ngcontent-%COMP%] > ish-content-design-view-wrapper[_ngcontent-%COMP%]{position:relative;display:block;width:100vw;height:52px;margin-bottom:20px;overflow:hidden;box-shadow:0 2px 10px #0003}.expresso-landing-produit-banniere-container[_ngcontent-%COMP%] ish-content-slot[_ngcontent-%COMP%] > ish-content-design-view-wrapper[_ngcontent-%COMP%] .submenu-header[_ngcontent-%COMP%]{position:absolute;inset:0 -17px 0 0;justify-content:unset;height:52px;padding:8px 0 0;overflow-x:scroll}.expresso-landing-produit-banniere-container[_ngcontent-%COMP%] ish-content-slot[_ngcontent-%COMP%] > ish-content-design-view-wrapper[_ngcontent-%COMP%] [_ngcontent-%COMP%]::-webkit-scrollbar{width:8px;height:0;border:1px solid #fff}.expresso-landing-produit-banniere-container[_ngcontent-%COMP%] ish-content-slot[_ngcontent-%COMP%] > ish-content-design-view-wrapper[_ngcontent-%COMP%] [_ngcontent-%COMP%]::-webkit-scrollbar-track{background:#eee;border-radius:0}.expresso-landing-produit-banniere-container[_ngcontent-%COMP%] ish-content-slot[_ngcontent-%COMP%] > ish-content-design-view-wrapper[_ngcontent-%COMP%] [_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:#b0b0b0;border-radius:0}}iframe[_ngcontent-%COMP%]{width:100%;height:400px;border:0}"],changeDetection:0});let n=o;return n})();export{wn as CMSTrenoisExpressoProductLandingBannerComponent}; 4 5//# debugId=aeb5ea8f-595f-584d-baaf-73f32e2f0b1d
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.