PageSourceSearch

https://recrutement.lohr.fr/build/page-brand-a7dfcbb56448cd7ee67d.chunk.js

js lohr.fr collected 2026-10-02 11:05:41 UTC 9,543 bytes, 149 lines download raw bytes

1"use strict";(globalThis.webpackChunkcareer_site_ui=globalThis.webpackChunkcareer_site_ui||[]).push([[9214],{28682(e,t,n){n.d(t,{L:()=>M});var a=n(14041),i=n(2345),r=n(20877),o=n(13805),l=n(59193),s=n(86858),d=n(24540),p=n(97434),c=n(7e3),h=n(27019),g=n(3639),m=n(56214),u=n(11446),x=n(74205),f=n(31085);function b(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=Array(t);n<t;n++)a[n]=e[n];return a}const y=i.Ay.span`
2  display: flex;
3  align-items: center;
4  justify-content: center;
5  background-color: ${e=>{let t=e.theme;return(0,s.x6)(t.palette,s.Fl,s.Xs)}};
6  border-radius: 50%;
7  height: 38px;
8  width: 38px;
9  border: white solid 2px;
10
11  ${e=>e.theme.breakpoints.down("laptop")} {
12    margin-left: 0;
13    padding: 0;
14  }
15`,v=(0,i.Ay)(m.h)`
16  ${e=>{let t=e.open;return`\n    transition: all ${e.theme.transitions.duration.short}ms ease;\n    ${t&&"transform: rotateZ(180deg);"}\n  `}}
17`,w=i.Ay.button`
18  background: #ffffff;
19  border: none;
20  border-radius: 38px;
21  cursor: pointer;
22  display: ${e=>e.displayMobile?"none":"flex"};
23  align-items: center;
24  justify-content: space-between;
25  padding: 0 0 0 16px;
26  height: 38px;
27  width: 115px;
28
29  ${e=>e.theme.breakpoints.down("laptop")} {
30    display: ${e=>e.displayMobile?"flex":"none"};
31    width: 38px;
32    height: 38px;
33    justify-content: center;
34    padding: 0;
35  }
36`,j=(0,l.Ay)(r.A)`
37  margin-top: 8px;
38  max-height: 310px;
39  margin-left: 52px;
40
41  ${e=>e.theme.breakpoints.down("laptop")} {
42    margin-left: 20px;
43  }
44
45  && .MuiMenu-list {
46    padding: 16px;
47    margin: 0;
48    min-width: 127px;
49    min-height: 118px;
50    display: flex;
51    gap: 8px;
52    flex-direction: column;
53    justify-content: space-evenly;
54  }
55`,k=(0,l.Ay)(o.A)`
56  ${e=>{let t=e.theme;const n=(0,s.x6)(t.palette,s.ll,s.qf);return`\n      && {\n        font-family: var(--secondary-font);\n        min-height: 0;\n        padding: 8px;\n        border-radius: 8px;\n        user-select: none;\n        transition: all ${t.transitions.duration.shorter}ms ease;\n      }\n\n      &&.Mui-selected,\n      &&.Mui-selected:hover,\n      &&.Mui-focusVisible,\n      &&:hover {\n        background-color: ${n};\n      }\n    `}}
57`,A=i.Ay.span`
58  margin-left: 8px;
59`,$=i.Ay.div`
60  display: flex;
61  align-items: center;
62  overflow: visible;
63  position: absolute;
64  z-index: 2;
65  right: 64px;
66  top: 64px;
67
68  ${e=>e.theme.breakpoints.down("laptop")} {
69    right: 16px;
70    top: 38px;
71    z-index: 5;
72  }
73
74  &.feature {
75    border: solid 1px #000000de;
76  }
77
78  &.feature,
79  &.spotlight {
80    border-radius: 38px;
81    position: relative;
82    top: initial;
83    right: initial;
84  }
85`,L=i.Ay.div`
86  display: flex;
87  justify-content: space-between;
88  align-items: center;
89
90  img {
91    margin-right: 8px;
92  }
93`,_="cvc-languages-menu",P="cvc-languages-selector-button",S="cvc-languages-selector-button-mobile",M=e=>{let t=e.className,n=e.languages;const i=(0,p.Bd)().t,r=(0,d.f)(),o=(0,x.m)(),l=(B=(0,a.useState)(null),E=2,function(e){if(Array.isArray(e))return e}(B)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,i,r,o,l=[],s=!0,d=!1;try{if(r=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(a=r.call(n)).done)&&(l.push(a.value),l.length!==t);s=!0);}catch(e){d=!0,i=e}finally{try{if(!s&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(d)throw i}}return l}}(B,E)||function(e,t){if(e){if("string"==typeof e)return b(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?b(e,t):void 0}}(B,E)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),m=l[0],M=l[1],C=Boolean(m),H=e=>e===r,O=e=>{M(e.currentTarget)},T=(0,a.useCallback)(()=>{M(null)},[]);var B,E;return(0,a.useEffect)(()=>{if(C)return document.addEventListener("scroll",T),()=>document.removeEventListener("scroll",T)},[T,C]),u.ClientConfigHelper.isMultilingualCareersite(n)?(0,f.jsxs)($,{className:t,children:[(0,f.jsxs)(w,{onClick:O,"data-testid":P,id:P,"aria-label":i("common.choose_language"),"aria-haspopup":"menu","aria-expanded":C,"aria-controls":C?_:void 0,displayMobile:!1,children:[(0,f.jsxs)(L,{children:[(0,f.jsx)(h.d,{lang:r}),(0,c.A)(r)]}),(0,f.jsx)(y,{children:(0,f.jsx)(v,{View:g.r,size:16,fill:s.QZ,open:C,withContrast:!0})})]}),(0,f.jsx)(w,{onClick:O,"data-testid":S,id:S,"aria-label":i("common.choose_language"),"aria-haspopup":"menu","aria-expanded":C,"aria-controls":C?_:void 0,displayMobile:!0,children:(0,f.jsx)(h.d,{lang:r})}),(0,f.jsx)(j,{open:C,anchorEl:m,onClose:T,disableScrollLock:!0,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"right"},MenuListProps:{id:_,"aria-labelledby":m?.id,style:{width:"auto"}},PaperProps:{style:{borderRadius:"8px",scrollbarWidth:"none"}},children:n.map(e=>(0,f.jsxs)(k,{role:"menuitemradio","aria-checked":H(e),selected:H(e),"data-testid":`option-language-${e}`,onClick:()=>{o(e)},children:[(0,f.jsx)(h.d,{lang:e}),(0,f.jsx)(A,{children:i(`languages_names.${e}`)})]},e))})]}):null}},56985(e,t,n){n.d(t,{B3:()=>b,Y9:()=>y,h9:()=>m}),n(14041);var a=n(97434),i=n(2345),r=n(59241),o=n(95436),l=n(3523),s=n(79482),d=n(53018),p=n(49669),c=n(28682),h=n(31085);
93const g=["darkLogo","smallLogo","logoSrc","logoAlt"],m=i.Ay.header`
94  --header-background-color: ${e=>e.theme.palette.primary.main};
95  --header-max-height: var(--landing-cover-carousel-margin-top);
96  --header-padding: 32px;
97
98  width: 100%;
99  max-height: var(--header-max-height);
100  padding: var(--header-padding);
101  display: flex;
102  justify-content: center;
103  position: ${e=>e.position};
104  top: 0;
105  z-index: 2;
106  background-color: ${e=>e.transparent?"transparent":"var(--header-background-color)"};
107
108  ${e=>e.theme.breakpoints.down("laptop")} {
109    --header-max-height: var(--landing-cover-carousel-margin-top-mobile);
110    --header-padding: 24px;
111  }
112
113  ${e=>{let t=e.theme,n=e.isHomePage;if(t.template!==r.UITemplate.LATERAL_BAR_2022)return;let a="";return a+=` \n        ${t.breakpoints.down("desktop")} {\n          position: absolute;\n          top: 0;\n        }\n      `,n&&(a+=`\n        @media (min-width: ${t.breakpoints.values.desktop}px) and (max-height: 830px) {\n          padding-top: 0;\n        }\n      `),a}}
114`,u=i.Ay.a`
115  max-height: 100%;
116  margin: 0;
117  overflow: hidden;
118  display: flex;
119  align-items: center;
120  justify-content: center;
121`,x=i.Ay.span`
122  display: block;
123  height: 0;
124  text-indent: -9999px;
125`,f=i.Ay.img`
126  --image-max-height: 160px;
127
128  display: block;
129  height: 100%;
130  width: 100%;
131  // Firefox needs min-height and/or min-width to be set for the image to be displayed
132  min-height: 80px;
133  min-width: 160px;
134  max-height: var(--image-max-height);
135  max-width: min(50vw, 280px);
136  object-fit: contain;
137
138  ${e=>e.theme.breakpoints.down("desktop")} {
139    --image-max-height: 120px;
140  }
141
142  ${e=>e.theme.breakpoints.down("laptop")} {
143    --image-max-height: 80px;
144  }
145
146  ${e=>{let t=e.theme,n=e.$isHomePage;return t.template===r.UITemplate.LATERAL_BAR_2022&&n&&`\n    @media (min-width: ${t.breakpoints.values.desktop}px) and (max-height: 830px) {\n      max-width: 185px;\n      max-height: 80px;\n    }\n  `}}
147
148  ${e=>e.$isSmall&&"\n      --image-max-height: 90px;\n      height: 90px;\n      min-width: 120px;\n      max-width: min(40vw, 200px);\n    "}
149`,b=e=>{let t=e.children,n=e.className,a=e.position,i=void 0===a?"absolute":a,r=e.transparent,o=void 0!==r&&r;const s=(0,l.a)().isHomePage;return(0,h.jsx)(m,{"data-print-hidden":!0,transparent:o,position:i,isHomePage:s,className:n,children:t})};b.RouterLink=e=>{let t=e.logoType,n=void 0===t?p.ex.LIGHT:t,i=e.smallLogo,r=void 0!==i&&i,s=e.logoSrc,c=e.logoAlt;const g=(0,l.a)().isHomePage,m=(0,d._r)().config,b=(0,a.Bd)().t,y=(0,o.Pn)(),v=b("seo_markup.career_site_home_page.title",{clientName:m.company_name});return(0,h.jsxs)(u,{href:"/",children:[(0,h.jsx)(x,{as:g?"h1":"span",children:v}),y&&(0,h.jsx)(f,{src:s||(0,p.XH)(m,n),alt:c||`Logo ${m.company_name}`,fetchPriority:"high",$isHomePage:g,$isSmall:r})]})};const y=e=>{let t=e.darkLogo,n=e.smallLogo,a=e.logoSrc,i=e.logoAlt,r=function(e,t){if(null==e)return{};var n,a,i=function(e,t){if(null==e)return{};var n={};for(var a in e)if({}.hasOwnProperty.call(e,a)){if(-1!==t.indexOf(a))continue;n[a]=e[a]}return n}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(a=0;a<r.length;a++)n=r[a],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,g);const o=(0,s.V)();return(0,h.jsxs)(b,{...r,children:[(0,h.jsx)(b.RouterLink,{logoType:t?p.ex.DARK:p.ex.LIGHT,smallLogo:n,logoSrc:a,logoAlt:i}),(0,h.jsx)(c.L,{languages:o})]})}},71413(e,t,n){n.d(t,{E:()=>r});var a=n(14041),i=n(53018);const r=()=>{const e=(0,i._r)().config;return(0,a.useMemo)(()=>e.brands,[e.brands])}},25568(e,t,n){n.r(t),n.d(t,{BrandPage:()=>m});var a=n(14041),i=n(59376),r=n(11446),o=n(91590),l=n(56985),s=n(71413),d=n(24540),p=n(95436),c=n(84645),h=n(31085);const g=(0,a.lazy)(()=>(0,c.oQ)().then(e=>({default:e.Page404}))),m=()=>{const e=(0,i.g)().slug,t=(0,d.f)(),n=(0,s.E)(),a=(0,p.C)(),c=(0,p.MA)(),m=e?r.BrandHelper.findBySlug(n,e):void 0;return m&&r.BrandHelper.hasPage(m,t)?(0,h.jsxs)(h.Fragment,{children:[a&&(0,h.jsx)(l.Y9,{position:"static"}),(0,h.jsx)("main",{"data-testid":"cvc-page-brand"}),c&&(0,h.jsx)(o.w,{})]}):(0,h.jsx)(g,{})}}}]);

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.