PageSourceSearch

https://recrutement.vastpro.fr/build/page-results-061b6686915c65ad5a06.chunk.js

js vastpro.fr collected 2026-10-04 18:09:28 UTC 99,967 bytes, 902 lines download raw bytes

1"use strict";(globalThis.webpackChunkcareer_site_ui=globalThis.webpackChunkcareer_site_ui||[]).push([[4811],{43458(e,t,n){n.d(t,{D:()=>r});const r=n(2345).Ay.img`
2  object-fit: cover;
3  filter: brightness(50%);
4  height: 100%;
5  width: 100%;
6  position: absolute;
7  object-position: ${e=>{let t=e.bgPosition;return void 0===t?"center":t}};
8`},17378(e,t,n){n.d(t,{f:()=>s});var r=n(2345),i=n(18845),o=n(31085);const a=["children"],l=(0,r.Ay)(i.o)`
9  margin: 1em 0;
10  max-width: 45rem; // See https://ux.stackexchange.com/questions/108801/what-is-the-best-number-of-paragraph-width-for-readability.
11`,s=e=>{let t=e.children,n=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,a);return(0,o.jsx)(l,{...n,children:t})}},49324(e,t,n){n.d(t,{m:()=>P});var r=n(14041),i=n(85426),o=n.n(i),a=n(15801),l=n(53018),s=n(17068),c=n(59974),d=n(39067),p=n.n(d);const u={id:p().string.isRequired,index:p().number.isRequired,trackingCallback:p().func.isRequired,partner:p().string.isRequired,dataTestDomLocation:p().string.isRequired};var f=n(21293),h=n(11446),m=n(4414),g=n(31802),x=n(31085);const y=e=>{let t=e.children,n=e.id,i=e.index,d=e.trackingCallback,p=e.partner,u=e.dataTestDomLocation;const y=(0,r.useContext)(l.Qj).config,b=(0,g.j)(),v=a.M$.SEE_JOB_OFFER_DETAILS_PAGE,w=(0,g.G)(e=>e.search.pageOffersRange).firstOfferPosition+i,C=(0,g.G)(e=>e.jobOffers)[n];return(0,x.jsx)(m.L,{"data-testid":"cvc-job-offer-internal-redirection","data-test-advertiser":p,"data-test-position":`cvc-job-offer-${w}`,"data-test-dom-location":u,to:(0,s.X2)(window.location,n),sanitizedLink:(0,s.ZR)(window.location,n),onClick:()=>{d(),y.analytics?.google_tag_manager?.active&&o().dataLayer({dataLayer:{event:"EventGeneric",EventCat:"Results Job Offer With Internal Redirection",EventAction:"Voir details offre",EventLibelle:"[RP] - Lire la suite"}}),(0,f.oU)(h.PianoAnalytics.EventType.PRODUCT_CLICK,{product_data:[(0,f.h6)(C,w)]}),b((0,a.Iy)(v,n,(0,c.Dq)(u),w))},children:t})};y.propTypes=u;var b=n(59376),v=n(83878),w=n(95707),C=n(2345),j=n(99739),_=n(39382);const A=C.Ay.a`
12  display: block;
13  position: relative;
14`,k=()=>(0,v.Mz)(e=>e.jobOffers,(e,t)=>t,(e,t)=>e[t]&&e[t].link),O=()=>(0,v.Mz)(e=>e.jobOffers,(e,t)=>t,(e,t)=>e[t]&&e[t].reference),E=e=>{let t=e.children,n=e.id,i=e.index,s=e.trackingCallback,d=e.partner,p=e.dataTestDomLocation;const u=(0,r.useContext)(l.Qj).config,m=(0,g.j)(),y=(0,r.useMemo)(k,[]),v=(0,r.useMemo)(O,[]),C=(0,g.G)(e=>y(e,n)),E=(0,b.zy)(),$=(0,g.G)(e=>v(e,n)),S=r.createRef(),L=a.M$.SEE_JOB_OFFER_DETAILS_REDIRECT,P=(0,g.G)(e=>e.search.pageOffersRange).firstOfferPosition+i;let T=C;u.features?.forward_query_params_to_job_offer_link&&(T=((e,t)=>{const n=new URLSearchParams(t.search),r=new URL(e),i=new URLSearchParams(r.
14search);return n.has("from")&&i.append("from",n.get("from")),n.has("id_candidat")&&i.append("id_candidat",n.get("id_candidat")),r.search=i.toString(),r.toString()})(C,E));const I=(0,g.G)(e=>(0,_.Cp)(e,n));return(0,x.jsx)(A,{"data-test-advertiser":d,"data-test-position":`cvc-job-offer-${P}`,"data-testid":"cvc-job-offer-external-redirection","data-test-dom-location":p,target:"_blank",rel:"noopener noreferrer",href:T,ref:S,onClick:()=>{s(),u.analytics?.google_tag_manager?.active&&o().dataLayer({dataLayer:{event:"EventGeneric",EventCat:"Results Job Offer With External Redirection",EventAction:"Voir details offre",EventLibelle:"[RP] - Lire la suite"}}),!0===u.analytics?.at_internet&&((e,t)=>{w.A.sendClick({elem:e.current,name:t,chapter1:"cv_catcher",chapter2:"parcours_web",level2:"Recrutement",type:"navigation"})})(S,$),m((0,a.Iy)(L,n,(0,c.Dq)(p),P));const e={transaction_id:(0,j.A)(),product_data:[(0,f.h6)(I)]};(0,f.oU)(h.PianoAnalytics.EventType.PRODUCT_PURCHASED,e)},children:t})};E.propTypes=u;var $=n(30940),S=n(83511);const L=C.Ay.div`
15  width: 100%;
16`,P=e=>{let t=e.id,n=e.index,i=e.trackingCallback,o=e.partner,a=e.dataTestDomLocation,s=e.children;const c=(0,g.j)(),d=(0,r.useContext)(l.Qj).config,p=(0,$._Z)(d,o).workflow,u=(0,g.G)(e=>e.search.pageOffersRange),f={partner:o,dataTestDomLocation:a,id:t,index:n,trackingCallback:i};let m;return m=p===h.ApplicationWorkflowType.DETAILS_REDIRECTION||p===h.ApplicationWorkflowType.IN_APP?(0,x.jsx)(y,{...f,children:s}):(0,x.jsx)(E,{...f,children:s}),(0,x.jsx)(L,{onClick:()=>{const e=u.firstOfferPosition+n;c((0,S.XV)(e))},children:m})};P.propTypes=u},60402(e,t,n){n.d(t,{t:()=>a});var r=n(53018),i=n(72666),o=n(94544);const a=()=>{const e=(0,r._r)().config;return(0,o.qx)()&&e.company_url?{href:e.company_url}:{to:i.J.HOME}}}
16,52180(e,t,n){n.r(t),n.d(t,{ResultsPage:()=>wa});var r=n(14041),i=n(2345),o=n(92981),a=n(31802),l=n(6027),s=n(53018),c=n(10760),d=n(85168),p=n(97434),u=n(59376),f=n(51691),h=n(62739),m=n(71047),g=n(18845),x=n(57620),y=n(83878);const b=(0,y.Mz)(e=>e.isMatching,e=>e);var v=n(74814),w=n(7972),C=n(31085);const j=["view"],_=(e,t,n,r,i)=>1===e.length?t(e[0]):2===e.length?`${t(e[0])}, ${t(e[1])}`:e.length>2?`${t(e[0])}, ${t(e[1])} + ${e.length-2} ${e.length-2<=1?n(r):n(i)}`:"",A=e=>{let t=e.view,n=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,j);const r=(0,p.Bd)(),i=r.t,o=r.i18n,l=(0,w.x)().translateRemoteWorkType,s=(0,a.G)(x.GQ),c=(0,a.G)(b),d=(0,a.G)(x.lq),u=(0,a.G)(x.su),f=(0,a.G)(x.zG),h=(0,a.G)(x.eO),m=(0,a.G)(x.DB),g=(0,a.G)(x.BP),y=_(s,e=>(0,v.LK)(e,o.language),i,"contract_filter.one_selected","contract_filter.multiple_selected"),A=_(d,e=>e,i,"country_filter.one_selected","country_filter.multiple_selected"),k=_(u,e=>e,i,"city_filter.one_selected","city_filter.multiple_selected"),O=_(f,e=>l(e),i,"remote_work_type_filter.one_selected","remote_work_type_filter.multiple_selected"),E=_(h,e=>e,i,"company_filter.one_selected","company_filter.multiple_selected"),$=_(g,e=>e,i,"job_sector_filter.one_selected","job_sector_filter.multiple_selected");let S;for(const e of m)S=S?S+" • "+_(e.values,e=>e,i,"",""):_(e.values,e=>e,i,"","");const L=[y,A,k,O,E,$,S].filter(Boolean).join(" • ");return!c&&L?(0,C.jsx)(t,{...n,children:L}):null},k=(0,i.Ay)(g.o)`
17  margin-right: 16px;
18  font-weight: 600;
19`,O=i.Ay.div`
20  flex: 1;
21  display: flex;
22  align-items: center;
23  flex-wrap: wrap;
24  padding: 4px 0px;
25
26  ${e=>e.theme.breakpoints.down("tablet")} {
27    flex-direction: column;
28    align-items: flex-start;
29
30    ${k} {
31      margin-bottom: 16px;
32    }
33  }
34`,E=e=>{let t=e.children;const n=(0,p.Bd)().t,r=(0,a.j)(),i=(0,u.zy)(),o=(0,u.Zp)();return(0,C.jsxs)(O,{children:[(0,C.jsx)(k,{component:"span",autoContrast:!0,children:t}),(0,C.jsx)(f.x,{onClick:()=>{(0,m.ei)(o,i),r((0,h.G1)())},withUnderline:!0,bold:!0,children:(0,C.jsx)(g.o,{autoContrast:!0,component:"span",children:n("reset_filters")})})]})},$=e=>(0,C.jsx)(A,{view:E,...e});var S=n(46702),L=n(32066),P=n(16305),T=n(5403),I=n(86858),M=n(56214);const R=["colorName","fill","Icon","size"],G=i.Ay.div`
35  display: flex;
36  align-items: center;
37  justify-content: center;
38  width: 38px;
39  height: 38px;
40  background-color: ${e=>{let t=e.colorName,n=e.theme;return(0,I.x6)(n.palette,t,I.Xs)}};
41  border-color: ${e=>{let t=e.colorName,n=e.theme;return(0,I.x6)(n.palette,t,I.qf)}};
42  border-radius: 50%;
43  border-width: 2px;
44  border-style: solid;
45`,F=e=>{let t=e.colorName,n=void 0===t?I.Fl:t,r=e.fill,i=void 0===r?"#fff":r,o=e.Icon,a=e.size,l=void 0===a?24:a,s=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,R);return(0,C.jsx)(G,{colorName:n,...s,children:(0,C.jsx)(M.h,{fill:i,View:o,size:l,withContrast:!0})})},z=["children","colorName","Icon","iconSize"],B=i.Ay.button`
46  display: flex;
47  align-items: stretch;
48  background-color: ${e=>{let t=e.theme;return(0,I.x6)(t.palette,I.QZ,I.Xs)}};
49  border-radius: 24px;
50  cursor: pointer;
51
52  :disabled {
53    opacity: 0.5;
54    cursor: not-allowed;
55    // Prevents any events
56    pointer-events: none;
57  }
58`,V=(0,i.Ay)(F)`
59  border-color: #fff;
60`,D=(0,i.Ay)(g.o)`
61  line-height: 22px;
62  padding: 8px 16px;
63`,N=e=>{let t=e.children,n=e.colorName,r=void 0===n?I.Fl:n,i=e.Icon,o=e.iconSize,a=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,z);return(0,C.jsxs)(B,{...a,children:[(0,C.jsx)(V,{colorName:r,Icon:i,size:o}),t&&(0,C.jsx)(D,{component:"span",autoContrast:!0,children:t})]})};var Z=n(20286);const H=["disabled","Icon","size"],U=i.Ay.button`
64  cursor: pointer;
65
66  &:disabled {
67    opacity: 0.5;
68    cursor: not-allowed;
69    pointer-events: none;
70  }
71
72  ${e=>{let t=e.theme,n=e.colorName;const r=(0,I.x6)(t.palette,n,I.Xs),i=(0,I.x6)(t.palette,n,I.qf);return`\n      & > div {\n        border-color: ${r};\n        transition: all ${t.transitions.duration.standard}ms ease;\n      }\n\n      &:hover > div {\n        background-color: ${(0,I.Po)(r)};\n        border-color: ${(0,I.Po)(r)};\n      }\n\n      &:hover > svg {\n        fill: ${t.palette.getContrastText(r)} !important;\n      }\n\n      &:focus > div {\n        background-color: ${(0,I.TJ)(r)};\n        border-color: ${(0,I.TJ)(r)};\n        box-shadow: 0 0 0 0.2rem ${(0,I.EY)(i)};\n      }\n    `}}
73`,q=e=>{let t=e.disabled,n=e.Icon,r=e.size,i=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,H);const o=t?I.o1:i.colorName??I.Fl;return(0,C.jsx)(U,{colorName:o,disabled:t,...i,children:(0,C.jsx)(F,{colorName:o,fill:t?Z.c3[600]:i.fill,Icon:n,size:r})})};var J=n(14540),W=n(38286),X=n(24114),K=n(21293),Q=n(11446);const Y=(0,i.Ay)(S.A)`
74  bottom: 0;
75  left: 0;
76  margin: 16px;
77  position: fixed;
78  z-index: 1;
79`,ee=e=>{let t=e.rounded,n=void 0!==t&&t,i=e.withText,o=void 0!==i&&i,s=e.filters,c=void 0===s?void 0:s;const d=(0,p.Bd)().t,u=(0,a.j)(),f=(0,(0,J.d)().isBelowBreakpoint)("tablet"),h=(0,a.G)(l.JT),m=(0,a.G)(x.As),g=(0,a.G)(x.Ut),y=(0,W.sc)(),b=(0,W.J0)(),v=(0,r.useCallback)(()=>{const e=c?{queries:"string"==typeof c.queries?c.queries:m,contracts:Array.isArray(c.contracts)?c.contracts:g.contracts,cities:Array.isArray(c.cities)?c.cities:g.cities}:{queries:m,contracts:g.contracts,cities:g.cities};(0,K.PK)(Q.PianoAnalytics.FrontOffice.EventName.ALERT_LOAD,h,"Créer une alerte mail"),u((0,X.AV)({isOpen:!0,filters:e,source:"email-alerts-manual-subscription-serp"}))},[u,c,m,g,h]);if(!y)return null;const w=!b,j=d("email_alerts.button_text");let _=(0,C.jsx)(T.$,{colorName:I.ll,disabled:w,onClick:v,size:"small",children:j});return n?_=(0,C.jsx)(N,{colorName:I.ll,disabled:w,Icon:P.r,onClick:v,children:o?j:void 0}):f&&(_=(0,C.jsx)(Y,{children:(0,C.jsx)(q,{colorName:I.ll,disabled:w,Icon:P.r,onClick:v})})),w?(0,C.jsx)(L.A,{title:d("email_alerts.disabled_no_active_filters"),children:(0,C.jsx)(S.A,{children:_})}):_};var te=n(90930),ne=n(17019),re=n(83256),ie=n(3976),oe=n(71413),ae=n(24540),le=n(28938),se=n(38544),ce=n(28885),de=n(15801),pe=n(92697);const ue=()=>{const e=(0,u.Zp)(),t=(0,a.G)(pe.fs);return(0,r.useCallback)((n,r)=>{if(!t)throw new Error("Missing router location to write a search filter");r.length?(0,m.ep)(e,t,n,r):(0,m.AI)(e,t,n)},[t,e])};var fe=n(81554),he=n(80012),me=n(113),ge=n(41289),xe=n(83435),ye=n(1961),be=n(82633),ve=n(29187),we=n(40285),Ce=n(87084),je=n(3639),_e=n(59241);const Ae=i.Ay.input`
80  opacity: 0;
81  pointer-events: none;
82  position: absolute;
83  overflow: hidden;
84  visibility: hidden;
85`,ke=i.Ay.li`
86  font-family: var(--secondary-font);
87  list-style-type: none;
88  display: flex;
89  align-items: center;
90`;var Oe=n(23210),Ee=n(48078),$e=n(30940);const Se=["dataTestId","disabled","fetchJobOffers","icon","id","includeFilter","label","onChange","options","placeholder","selectedOptions","noTranslateLabels"],Le=["aggregations","selectedFields","dispatchFunction"];function Pe(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,l=[],s=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){c=!0,i=e}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Te(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)?Te(e,t):void 0}}
90(e,t)||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.")}()}function Te(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Ie(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}const Me=(0,i.Ay)(M.h)`
91  ${e=>{let t=e.open;return`\n    transition: all ${e.theme.transitions.duration.short}ms ease;\n    ${t&&"transform: rotateZ(180deg);"}\n  `}}
92`,Re=i.Ay.button`
93  border: 1px solid ${Z.c3[200]};
94  border-radius: 50px;
95  cursor: pointer;
96  display: flex;
97  align-items: center;
98  gap: 8px;
99  font-weight: 500;
100  line-height: 20px;
101  padding: 8px 16px;
102  transition: ${e=>`all ${e.theme.transitions.duration.shorter}ms ease`};
103
104  ${e=>{let t=e.theme;
104const n=t.palette.pageBackground.serp,r=t.palette.getContrastText(n);return i.AH`
105      color: ${r};
106      background-color: ${n};
107
108      & > svg {
109        fill: ${r};
110      }
111    `}}
112
113  &:focus-visible,
114  &[data-active="true"] {
115    ${e=>{let t=e.theme;const n=t.palette.common.white,r=t.palette.getContrastText(n);return i.AH`
116        color: ${r};
117        background-color: ${n};
118
119        & > svg {
120          fill: ${r};
121        }
122      `}}
123  }
124`,Ge=(0,i.Ay)(fe.Ay)`
125  & > .MuiPaper-root {
126    border-radius: 0 0 8px 8px;
127    border: 1px solid ${Z.c3[200]};
128    box-shadow: ${e=>e.theme.shadows.default};
129    margin-top: 4px;
130    max-height: 300px;
131    min-width: 300px;
132  }
133`,Fe=i.Ay.div`
134  padding: 16px;
135  display: flex;
136  flex-direction: column;
137  gap: 4px;
138`,ze=(0,i.Ay)(ke)`
139  cursor: pointer;
140  display: flex;
141  align-items: center;
142  border-radius: 4px;
143  gap: 8px;
144  user-select: none;
145  padding: 12px 16px;
146  transition: ${e=>`all ${e.theme.transitions.duration.shorter}ms ease`};
147
148  &:hover {
149    background-color: ${e=>{const t=e.theme.palette.primary.main;return(0,he.X4)(t,.2)}};
150  }
151`,Be=i.Ay.div`
152  font-weight: 500;
153`,Ve=i.Ay.span`
154  font-size: 11px;
155  line-height: 15px;
156`,De=(0,i.Ay)(me.A)`
157  height: 20px;
158  width: 20px;
159  background-color: ${e=>{let t=e.theme;return(0,I.x6)(t.palette,"secondary","main")}};
160  cursor: pointer;
161
162  .MuiChip-label {
163    display: flex;
164    height: 100%;
165    align-items: center;
166    padding: 0;
167    color: ${e=>{let t=e.theme;const n=(0,I.x6)(t.palette,"secondary","main");return t.palette.getContrastText(n)}};
168  }
169`,Ne=i.Ay.div`
170  display: flex;
171  align-items: center;
172  position: relative;
173  overflow: visible;
174  padding: 0 8px;
175`,Ze=(0,i.Ay)(ge.A)`
176  padding: 0;
177
178  & > svg {
179    font-size: 1rem;
180  }
181`,He=i.Ay.div`
182  width: 100%;
183  padding: 18px 18px 0 18px;
184`,Ue=(0,r.memo)(function(e){let t=e.option,n=e.onSelectOption,r=e.onUnselectOption,i=e.isOptionSelected,o=e.style,a=e.noTranslateLabels;const l=t.label,s=t.total,c=t.value;return(0,C.jsxs)(ze,{value:c,onClick:()=>{i?r(t):n(t)},style:o,children:[(0,C.jsx)(Ze,{size:"small",checked:i,"aria-selected":i}),a?(0,C.jsx)(Be,{translate:"no",className:"notranslate",children:l}):(0,C.jsx)(Be,{children:l}),(0,C.jsx)(Ve,{children:s})]})}),qe=(0,r.memo)(function(e){let t=e.dataTestId,n=e.disabled,i=e.fetchJobOffers,o=e.icon,a=e.id,l=e.includeFilter,s=e.label,c=e.onChange,d=e.options,p=e.placeholder,u=e.selectedOptions,f=e.noTranslateLabels,h=Ie(e,Se);const m=Pe((0,r.useState)(null),2),g=m[0],x=m[1],y=Pe((0,r.useState)(!1),2),b=y[0],v=y[1],w=Pe((0,r.useState)([]),2),j=w[0],_=w[1],A=(0,Oe.d)(),k=(0,r.useRef)(!1),O=(0,r.useRef)(null),E=(0,r.useMemo)(()=>(0,be.A)(u,e=>e.value),[u]),$=(0,r.useMemo)(()=>new ye.A(d,{threshold:.2,keys:["label"]}),[d]),S=(0,r.useCallback)(()=>{v(!1),i(k.current),k.current=!1},[i]);(0,r.useEffect)(()=>{if(!b)return;const e=e=>{e.target instanceof Node&&O.current?.contains(e.target)||S()};return window.addEventListener("scroll",e,!0),()=>window.removeEventListener("scroll",e,!0)},[b,S]),(0,r.useEffect)(()=>{_(d)},[d]);const L=(0,r.useCallback)(e=>{const t=[...u,e];k.current=!0,c(t,!1)},[c,u]),P=(0,r.useCallback)(e=>{const t=(0,ve.A)(u,t=>t.value!==e.value);k.current=!0,c(t,!1)},[c,u]);return(0,C.jsxs)(Ne,{...h,children:[(0,C.jsxs)(Re,{disabled:n,onClick:e=>{x(e.currentTarget),v(!0)},"data-active":b||!!E.length,"data-testid":t,children:[o&&(0,C.jsx)(M.h,{size:16,View:o}),(0,C.jsx)("span",{children:s}),E.length?(0,C.jsx)(De,{"data-testid":`${t}-count`,label:E.length}):null,(0,C.jsx)(Me,{View:je.r,size:12,open:b})]}),(0,C.jsxs)(Ge,{"data-testid":"cvc-contract-types-filter-2022",id:a,open:b,anchorEl:g,onClose:S,disableScrollLock:!0,keepMounted:!0,slotProps:{paper:{ref:O}},anchorOrigin:{vertical:"bottom",horizontal:"left"},children:[l?(0,C.jsx)(He,{children:(0,C.jsx)(xe.A,{fullWidth:!0,id:`${a}-search`,label:p,onChange:e=>{const t=e.target.value;A(()=>(e=>{if(e){const t=$.search(e),n=(0,be.A)(t,e=>e.item);_(n)}else _(d)})(t),500)},size:"small",variant:"outlined"})}):null,(0,C.jsx)(Fe,{children:j.map((e,t)=>(0,C.jsx)(Ue,{option:e,onSelectOption:L,onUnselectOption:P,isOptionSelected:(0,we.A)(E,e.value),noTranslateLabels:f},t))})]}),(0,C.jsx)(Ae,{id:a?`${a}-input`:void 0,defaultValue:E.join(","),"aria-hidden":"true",tabIndex:-1})]})}),Je=(0,r.memo)(function(e){let t=e.aggregations,n=e.selectedFields,i=e.dispatchFunction,o=Ie(e,Le);const a=(0,Ee.xn)(_e.Feature.IA_SEARCH),l=Pe((0,r.useState)([]),2),s=l[0],c=l[1],d=(0,r.useMemo)(()=>(0,m.zp)(t),[t]),p=0===d.length;return(0,r.useEffect)(()=>{const e=(0,be.A)(n,e=>"string"==typeof e?e:e.values),r=(0,$e.op)(t,e);c(r),(0,Ce.A)(r.map(e=>e.value),e).length>0&&i(r,!1)},[t,n,i]),(0,C.jsx)(qe,{options:d,selectedOptions:s,onChange:function(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];c(e),t&&i(e,!0)},fetchJobOffers:e=>{e&&(i(s,!0),(0,K.oU)(Q.PianoAnalytics.EventType.PAGE_DISPLAY,{page_category:Q.PianoAnalytics.FrontOffice.PageCategory.LIST,page_subject:Q.PianoAnalytics.FrontOffice.PageSubject.OFFER,page_type:a?Q.PianoAnalytics.FrontOffice.PageType.LO_SEARCH_IA:Q.PianoAnalytics.FrontOffice.PageType.LO_SEARCH,page_hostname:window.location.hostname}))},disabled:p,...o})}),We=(0,r.memo)(function(e){const t=(0,se.wA)(),n=(0,p.Bd)().t,i=(0,W.Gb)(),o=ue(),l=(0,a.G)(e=>e.search.aggregations.cities),s=(0,a.G)(x.su),c=n("city_filter.placeholder"),d=n("city_filter.label"),u=(0,r.useCallback)((e,n)=>{t((0,h.X6)(e.map(e=>e.value),n)),t((0,de.uI)(de.M$.FILTER_CLICK_CITIES,e)),i&&t((0,X.nD)())},[i,t]);return(0,r.useEffect)(()=>{o("cities",s)},[s]),(0,C.jsx)(Je,{dataTestId:"cvc-city-filter",aggregations:l,selectedFields:s,dispatchFunction:u,icon:ce.f,includeFilter:!0,label:d,placeholder:c,noTranslateLabels:!0,...e})});var Xe=n(95652);const Ke=(0,r.memo)(function(e){const t=(0,p.Bd)().t,n=(0,oe.E)(),i=(0,se.wA)(),o=(0,W.Gb)(),l=ue(),s=(0,a.G)(x.iR),c=(0,a.G)(x.eO),d=(0,r.useCallback)((e,t)=>{i((0,h.n0)(e.map(e=>e.value),t)),i((0,de.uI)(de.M$.FILTER_CLICK_COMPANIES,e)),o&&i((0,X.nD)())},[o,i]);(0,r.useEffect)(()=>
184{l("companies",c)},[c]);const u=n.filter(e=>!s.some(t=>t.key===e.name)),f=s.concat(u.map(e=>({key:e.name,total:0})));return(0,C.jsx)(Je,{dataTestId:"cvc-company-filter",aggregations:f,selectedFields:c,dispatchFunction:d,icon:Xe.A,label:t("company_filter.label"),placeholder:t("company_filter.label"),noTranslateLabels:!0,...e})});var Qe=n(13134);const Ye=(0,r.memo)(function(e){const t=(0,se.wA)(),n=(0,W.Gb)(),i=ue(),o=(0,a.G)(e=>e.search.aggregations.countries),l=(0,a.G)(x.lq),s=(0,p.Bd)().t,c=s("country_filter.label"),d=s("country_filter.placeholder"),u=(0,r.useCallback)((e,r)=>{t((0,h.m3)(e.map(e=>e.value),r)),t((0,de.uI)(de.M$.FILTER_CLICK_COUNTRIES,e)),n&&t((0,X.nD)())},[n,t]);return(0,r.useEffect)(()=>{i("countries",l)},[l]),(0,C.jsx)(Je,{dataTestId:"cvc-country-filter",aggregations:o,selectedFields:l,dispatchFunction:u,icon:Qe.R,includeFilter:!0,label:c,placeholder:d,...e})});var et=n(54993);const tt=(0,r.memo)(function(e){const t=(0,a.G)(e=>e.search.aggregations.job_sectors),n=(0,a.G)(x.BP),i=(0,se.wA)(),o=(0,W.Gb)(),l=(0,p.Bd)().t,s=ue(),c=l("job_sector_filter.label"),d=l("job_sector_filter.label"),u=(0,r.useCallback)((e,t)=>{i((0,h.oC)(e.map(e=>e.value),t)),o&&i((0,X.nD)())},[o,i]);return(0,r.useEffect)(()=>{s("sectors",n)},[n]),(0,C.jsx)(Je,{aggregations:t,selectedFields:n,dispatchFunction:u,icon:et.q,label:c,placeholder:d,...e})});var nt=n(77518);const rt=(0,r.memo)(function(e){const t=(0,a.j)(),n=(0,W.Gb)(),i=(0,p.Bd)().t,o=ue(),l=i("remote_work_type_filter.label"),s=i("remote_work_type_filter.label"),c=(0,a.G)(e=>e.search.aggregations.remote_work_types),d=(0,a.G)(x.zG),u=c.map(e=>({key:e.key,label:i(`job_offers.remote_work_types.${(0,le.QX)(e.key)}`),total:e.total})),f=(0,r.useCallback)((e,r)=>{t((0,h.yW)(e.map(e=>e.value),r)),t((0,de.uI)(de.M$.FILTER_CLICK_REMOTE_WORK_TYPES,e)),n&&t((0,X.nD)())},[n,t]);return(0,r.useEffect)(()=>{o("remote",d)},[d]),(0,C.jsx)(Je,{aggregations:u,dataTestId:"cvc-remote-work-types-filter",dispatchFunction:f,icon:nt.H,label:l,placeholder:s,selectedFields:d,...e})});var it=n(99160);const ot=(0,r.memo)(function(e){const t=(0,p.Bd)().t,n=(0,ae.f)(),i=(0,W.Gb)(),o=(0,se.wA)(),l=ue(),s=(0,a.G)(e=>(0,v.uz)(e.search.contracts,e.search.aggregations.contracts),se.bN),c=(0,a.G)(e=>(0,v.kh)(e.search.aggregations.contracts,n),se.bN),d=t("contract_filter.label"),u=t("contract_filter.label"),f=(0,r.useCallback)((e,t)=>{o((0,h.ry)(e.map(e=>e.value),t)),o((0,de.uI)(de.M$.FILTER_CLICK_CONTRACT_TYPES,e)),i&&o((0,X.nD)())},[i,o]);return(0,r.useEffect)(()=>
184{l("contracts",s)},[s]),(0,C.jsx)(Je,{dataTestId:"cvc-contract-types-filter",aggregations:c,selectedFields:s,dispatchFunction:f,icon:it.n,label:d,placeholder:u,...e})});var at=n(33976),lt=n(42853),st=n(33917),ct=n(13394),dt=n(75681);const pt=(0,r.memo)(function(e){let t=e.filter,n=e.label;const i=(0,a.j)(),o=(0,W.Gb)(),l=ue(),s=(0,a.G)(e=>(0,x.I7)(e,t.request_field)),c=(0,a.G)(x.DB),d=(0,r.useCallback)((e,n)=>{const r=(0,be.A)(e,e=>e.value),a={field:t.request_field,values:r},l=(0,be.A)(c,e=>e.field===t.request_field?a:e);if((0,at.A)(l,{field:t.request_field})||l.push(a),!(0,lt.A)(l,c)&&(i((0,h.EO)(l,n)),n)){const n=`filter_click_${t.request_field}`;i((0,de.uI)(n,e))}o&&i((0,X.nD)())},[i,c,t.request_field,o]),p=(0,m.n1)(t.request_field);(0,r.useEffect)(()=>{let e=[];c?.length&&(e=c[0].values),l(p,e)},[c]);const u=t.icon&&dt.LT[t.icon]?dt.LT[t.icon]:ct.u;return(0,C.jsx)(Je,{dataTestId:(0,st.A)(`cvc-${t.request_field}-filter`),aggregations:s,selectedFields:c,dispatchFunction:d,icon:u,label:n,placeholder:n})}),ut=(0,i.Ay)(re.RC)`
185  &.swiper {
186    // Compensate the padding-left of the Filter Button.
187    margin: 0 0 0 -12px;
188  }
189
190  .swiper-wrapper {
191    display: flex;
192  }
193
194  .swiper-slide {
195    height: auto;
196    width: auto;
197    display: flex;
198    align-items: center;
199    justify-content: center;
200  }
201`,ft=i.Ay.div`
202  display: flex;
203  flex-wrap: wrap;
204  gap: 8px;
205  margin-left: -8px;
206`,ht={[Q.DefaultFilterType.City]:We,[Q.DefaultFilterType.Company]:Ke,[Q.DefaultFilterType.Country]:Ye,[Q.DefaultFilterType.JobSector]:tt,[Q.DefaultFilterType.RemoteWork]:rt,[Q.DefaultFilterType.Contract]:ot},mt=(0,i.Ay)(e=>{const t=(0,oe.E)(),n=(0,s._r)().config,r=(0,i.DP)(),o=(0,te.A)(r.breakpoints.up("desktop")),l=(0,a.G)(x.rk),c=(0,a.G)(x.o_),d=(0,ae.f)(),p=ie.A.getFilters(n,d).filter(e=>Q.ClientConfigHelper.isCustomFilter(e)?(e=>e.active&&!!e.label)(e):(e=>{switch(e.type){case Q.DefaultFilterType.Company:return e.active||!!t.length;case Q.DefaultFilterType.JobSector:return e.active&&"fr"===d;case Q.DefaultFilterType.RemoteWork:return e.active&&(0,le.Wr)(l);case Q.DefaultFilterType.Contract:return e.active&&!!c.length;default:return e.active}})(e)).map(e=>Q.ClientConfigHelper.isCustomFilter(e)?(e=>(0,C.jsx)(pt,{filter:e,label:e.label},e.request_field))(e):(e=>{const t=ht[e.type];return(0,C.jsx)(t,{id:`${e.type}-filter`},e.type)})(e));return o?(0,C.jsx)(ft,{...e,children:p}):(0,C.jsx)(ut,{keyboard:!0,modules:[ne.s3],slidesPerView:"auto",...e,children:p.map((e,t)=>(0,C.jsx)(re.qr,{children:e},t))})})``,gt=i.Ay.div`
207  width: 100%;
208
209  ${e=>e.theme.breakpoints.down("desktop")} {
210    order: 2; // Display filters and map below profile
211  }
212`,xt=i.Ay.div`
213  display: flex;
214  align-items: center;
215  justify-content: space-between;
216  flex-wrap: wrap;
217  gap: 16px;
218  width: 100%;
219  margin: 8px 0px;
220
221  @media (max-width: ${e=>`${e.theme.breakpoints.values.tablet}px`}) {
222    margin-top: 0px;
223    margin-bottom: 8px;
224  }
225
226  @media (max-width: ${e=>`${e.theme.breakpoints.values.laptop}px`}) {
227    align-items: flex-start;
228  }
229`,yt=i.Ay.div`
230  display: flex;
231  align-items: flex-start;
232  justify-content: flex-end;
233  margin-top: 16px;
234  width: 100%;
235
236  @media (max-width: ${e=>`${e.theme.breakpoints.values.tablet}px`}) {
237    align-items: stretch;
238    flex-direction: column;
239  }
240`,bt=e=>{let t=e.id;return(0,C.jsxs)(gt,{children:[(0,C.jsxs)(xt,{id:t,children:[(0,C.jsx)(mt,{}),(0,C.jsx)(ee,{})]}),(0,C.jsx)(yt,{children:(0,C.jsx)($,{})})]})};var vt=n(30547),wt=n(97134),Ct=n(27502),jt=n(46329),_t=n(59193),At=n(20385),kt=n(78554),Ot=n(17378);function Et(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}const $t=(0,_t.Ay)(Ot.f)`
241  margin-bottom: 0;
242`,St=(0,_t.Ay)(jt.Ay)`
243  height: 12px;
244
245  .MuiSlider-mark {
246    width: 4px;
247    height: 4px;
248    border-radius: 50%;
249    opacity: 1;
250
251    &[data-index="0"],
252    &:not(.MuiSlider-markActive) {
253      opacity: 0;
254    }
255  }
256
257  .MuiSlider-thumb {
258    height: 18px;
259    width: 18px;
260    box-shadow: none;
261    border: 2px solid #ffffff;
262  }
263`,Lt=(0,_t.Ay)(S.A)`
264  width: 100%;
265  padding: 0 16px 0 4px;
266`,Pt=null,Tt=[{value:0,scaledValue:"0.01km",label:"0"},{value:10,scaledValue:"10km",label:"10"},{value:20,scaledValue:"30km",label:"30"},{value:30,scaledValue:"50km",label:"50"},{value:40,scaledValue:"100km",label:"100"},{value:50,scaledValue:"150km",label:"150"},{value:60,scaledValue:Pt,label:"Illimitée"}],It=()=>{const e=(0,p.Bd)().t;return(0,be.A)(Tt,t=>60===t.value?{...t,label:e("profile_workplace.unlimited")}:t)},Mt=(0,r.memo)(e=>{const t=It(),n=(0,se.wA)(),i=(0,kt.p)(),o=(0,p.Bd)().t,a=(0,s._r)().config,l=(0,se.d4)(e=>e.search.max_distance_filter)||Pt,c=(f=(0,r.useState)(l),m=2,function(e){if(Array.isArray(e))return e}(f)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,l=[],s=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){c=!0,i=e}
266finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return l}}(f,m)||function(e,t){if(e){if("string"==typeof e)return Et(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)?Et(e,t):void 0}}(f,m)||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.")}()),d=c[0],u=c[1];var f,m;if(!l&&l!==Pt)throw new Error("Invalid config.jobOfferRequest.max_distance_filter property. Please check the config.json file of the partner. It should either be null or a string.");const g=(x=d,(0,at.A)(t,{scaledValue:x}));var x;const y=60===g.value?o("profile_workplace.unlimited"):`${g.label} km`;return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)($t,{children:o("profile_workplace.max_distance",{distance:y})}),(0,C.jsx)(Lt,{children:(0,C.jsx)(St,{"aria-label":"distance autour des villes","data-testid":"profile-city-slider",value:g.value,marks:t,max:60,min:0,onChange:(e,n)=>{const r=(e=>(0,at.A)(t,{value:e}))(n);r&&u(r.scaledValue)},onChangeCommitted:()=>{var e;n((0,h.Zp)(d)),e=d,i(Q.eventTypes.ProfileActionsEventTypes.MAX_DISTANCE_FILTER,{new_distance:e,initial_distance:(0,At.A)(a,"jobOfferRequest.max_distance_filter",null)})},step:null,valueLabelDisplay:"auto",valueLabelFormat:y,...e})})]})});Mt.displayName="ProfileCitySlider";var Rt=n(39067),Gt=n.n(Rt),Ft=n(37028);function zt(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,l=[],s=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){c=!0,i=e}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Bt(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)?Bt(e,t):void 0}}(e,t)||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.")}()}function Bt(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}const Vt=e=>{let t=e.onSuggestionSelected,n=e.fetchSuggestions,i=e.view;const o=zt((0,r.useState)(""),2),a=o[0],l=o[1],s=zt((0,r.useState)([]),2),c=s[0],d=s[1],p=e=>{""!==e.value||""!==a?e.setAttribute("data-is-active","true"):e.setAttribute("data-is-active","false")},u=()=>{d([])},f=(0,Ft.A)(async e=>{let t=e.value,r=e.reason;if(["input-changed","input"].includes(r)&&t.length>=2)try{const e=await n(t);d(e.suggestions)}catch(e){u()}},600);return(0,C.jsx)(i,{onChange:(e,t)=>
266{let n=t.newValue;l(void 0!==n?n:e.target.value),p(e.target)},onBlur:e=>{p(e.target)},onSelectSuggestion:(e,n)=>{let r=n.suggestion;t(r),l("")},getSuggestionValue:e=>e.label,value:a,suggestions:c,onSuggestionsClearRequested:u,onSuggestionsFetchRequested:f})};Vt.propTypes={onSuggestionSelected:Gt().func.isRequired,fetchSuggestions:Gt().func.isRequired,view:Gt().elementType};var Dt=n(30377);const Nt=e=>{let t=e.view;const n=(0,se.wA)(),i=(0,p.Bd)().i18n,o=(0,r.useCallback)(e=>{n((0,h.aQ)(e))},[n]);return(0,C.jsx)(t,{onSuggestionSelected:o,fetchSuggestions:async e=>{const t={text:e,type:"city"};return{total:(n=await(0,Dt.IH)(t)).numFound,suggestions:n.suggestions.map(e=>({id:e.id,label:e.international_labels[i.language]?e.international_labels[i.language]:e.default_label,coordinates:e.coordinates?e.coordinates.lat+","+e.coordinates.lon:"",country:e.is_part_of_size>=1?e.is_part_of[0]:"",region:e.is_part_of_size>=2?e.is_part_of[1]:"",department:e.is_part_of_size>=3?e.is_part_of[e.is_part_of_size-1]:"",postal_code:e.postal_codes.length>=1?e.postal_codes[0]:""}))};var n}})};var Zt=n(48749),Ht=n(29347);const Ut=e=>{let t=e.view;const n=(0,se.wA)(),i=(0,p.Bd)().i18n,o=(0,r.useCallback)(e=>{n((0,h.je)(e)),n((0,Zt.Pd)())},[n]);return(0,C.jsx)(t,{onSuggestionSelected:o,fetchSuggestions:async e=>{const t={lang:i.language,country:(0,Ht.JJ)(i.language),input:e,enable_sectors_white_list:!1};let n=await(0,Dt.zA)(t);const r=n.suggestions.slice(0,10).map(e=>({id:e.id,label:e.label,sector_label:e.sector_label}));return{total:n.numFound,suggestions:r}}})},qt=e=>{let t=e.view;const n=(0,se.wA)(),i=(0,p.Bd)().i18n,o=(0,Ht.JJ)(i.language),a=(0,r.useCallback)(e=>{n((0,h.ZY)(e)),n((0,Zt.Pd)())},[n]);return(0,C.jsx)(t,{onSuggestionSelected:a,fetchSuggestions:async e=>{const t={lang:i.language+"_"+o,text:e};let n=await(0,Dt.pC)(t);const r=n.list.map(e=>({id:e.source.id,category:e.source.category,label:e.source[t.lang].label,score:e.score}));return{total:n.numFound,suggestions:r}}})};var Jt=n(35133);function Wt(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,l=[],s=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){c=!0,i=e}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Xt(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)?Xt(e,t):void 0}}(e,t)||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.")}()}function Xt(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}const Kt=(0,r.createContext)({inputLabel:""}),Qt=(0,_t.Ay)(Jt.A)`
267  margin-top: 8px;
268`,Yt=(0,_t.Ay)(xe.A)`
269  .MuiInputBase-root {
270    border-radius: 5px;
271
272    &::before {
273      border: none;
274    } 
275  }
276  .MuiInputLabel-root {
277    &:not(.Mui-focused) {
278      color: ${Z.c3[500]};
279    }
280  }
281`,en=e=>{let t=e.suggestions,n=e.getSuggestionValue,i=e.onSelectSuggestion,o=e.onSuggestionsFetchRequested,a=e.onSuggestionsClearRequested;const l=(0,r.useContext)(Kt).inputLabel,s=Wt((0,r.useState)(""),2),c=s[0],d=s[1],p=Wt((0,r.useState)(null),2),u=p[0],f=p[1];return(0,C.jsx)(Qt,{onInputChange:(e,t,r)=>{d(t),o({value:t??n(t),reason:r})},onChange:(e,t,n)=>{"selectOption"===n&&(i(e,{suggestion:t}),a()),f(null),d("")},value:u,inputValue:c,freeSolo:!0,options:t,renderInput:e=>(0,C.jsx)(Yt,{...e,label:l,color:I.ll,variant:"outlined"})})},tn=e=>(0,C.jsx)(Vt,{view:en,...e}),nn=()=>{const e=(0,p.Bd)().t;return(0,C.jsx)(Kt.Provider,{value:{inputLabel:e("profile_identity.place_of_residence_placeholder")},children:(0,C.jsx)(Nt,{view:tn})})},rn=()=>{const e=(0,p.Bd)().t;
281return(0,C.jsx)(Kt.Provider,{value:{inputLabel:e("profile_jobs.placeholder")},children:(0,C.jsx)(Ut,{view:tn})})},on=()=>{const e=(0,p.Bd)().t;return(0,C.jsx)(Kt.Provider,{value:{inputLabel:e("profile_skills.placeholder")},children:(0,C.jsx)(qt,{view:tn})})};function an(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}const ln=(0,r.createContext)(void 0),sn=e=>{let t=e.children;const n=(0,(0,J.d)().isBelowBreakpoint)("desktop"),i=(l=(0,r.useState)(n),s=2,function(e){if(Array.isArray(e))return e}(l)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,l=[],s=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){c=!0,i=e}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return l}}(l,s)||function(e,t){if(e){if("string"==typeof e)return an(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)?an(e,t):void 0}}(l,s)||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.")}()),o=i[0],a=i[1];var l,s;return(0,r.useEffect)(()=>{a(!n)},[n]),(0,C.jsx)(ln.Provider,{value:{expanded:o,setExpanded:a},children:t})},cn=()=>{const e=(0,r.useContext)(ln);if(!e)throw new Error("useCollapse must be used within a CollapseProvider");return e},dn=e=>{let t=e.children;const n=cn().expanded,r=(0,(0,J.d)().isBelowBreakpoint)("desktop");return(0,C.jsx)(vt.A,{orientation:"vertical",unmountOnExit:!0,in:!r||n,children:t})};var pn=n(37529),un=(0,r.forwardRef)(({size:e=24,...t},n)=>r.createElement("svg",{height:e,ref:n,viewBox:"0 0 24 24",width:e,xmlns:"http://www.w3.org/2000/svg",...t},r.createElement("path",{d:"M22.1568 19C22.3118 19.0013 22.4659 18.9712 22.6093 18.9117C22.7526 18.8521 22.8827 18.764 22.9919 18.6531C23.1011 18.5423 23.1875 18.4106 23.2458 18.2659C23.3042 18.1211 23.3333 17.9657 23.332 17.8095C23.3306 17.6532 23.2988 17.4986 23.238 17.3548C23.1776 17.212 23.0893 17.0829 22.9791 16.9743L13.1447 6.98772C12.9257 6.76906 12.6299 6.64363 12.3216 6.6409H12.3184C12.0101 6.64364 11.7154 6.76799 11.4964 6.98666L1.66046 16.974L1.65798 16.9765C1.44636 17.1992 1.32944 17.4972 1.33207 17.8056C1.33479 18.114 1.45661 18.4097 1.67216 18.6287C1.88794 18.8477 2.18077 18.9728 2.48709 18.9755C2.79332 18.9782 3.08785 18.8583 3.30734 18.6432L3.30982 18.6411L12.3198 9.49209L21.3301 18.6411C21.437 18.7528 21.565 18.8422 21.7064 18.9039C21.8486 18.9659 22.0018 18.9986 22.1568 19ZM11.6879 7.05687C11.6899 7.05514 11.6922 7.05363 11.6942 7.05191C11.6702 7.07179 11.647 7.0928 11.6247 7.11503L11.6879 7.05687ZM23.0774 18.1978L23.0472 18.2655C23.0446 18.2709 23.0415 18.2761 23.0387 18.2815C23.0527 18.2542 23.0658 18.2264 23.0774 18.1978ZM22.8625 18.5258C22.9074 18.4802 22.9474 18.4301 22.9827 18.3769C22.9655 18.4028 22.9475 18.4283 22.9281 18.4524C22.9075 18.4779 22.8855 18.5024 22.8625 18.5258ZM22.1585 18.8184C22.0932 18.8178 22.0282 18.8104 21.9646 18.7968C21.901 18.7832 21.8387 18.7633 21.7787 18.7372C21.7488 18.7241 21.7196 18.7095 21.6911 18.6936C21.6656 18.6792 21.6408 18.6636 21.6167 18.6471C21.6677 18.6821 21.7218 18.7124 21.7787 18.7372C21.8987 18.7895 22.028 18.8172 22.1585 18.8184C22.2202 18.8189 22.2815 18.8131 22.3419 18.8021C22.3135 18.8073 22.2848 18.8115 22.2561 18.8141C22.2237 18.8171 22.1911 18.8187 22.1585 18.8184ZM22.5394 18.7439C22.5978 18.7197 22.6536 18.6895 22.7061 18.6546C22.6808 18.6714 22.6548 18.6876 22.6281 18.7021L22.5394 18.7439Z"}))),fn=(0,r.forwardRef)(({size:e=24,...t},n)=>r.createElement("svg",{height:e,ref:n,viewBox:"0 0 24 24",width:e,xmlns:"http://www.w3.org/2000/svg",...t},r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.95402 2.14249C5.3836 1.71292 6.08008 1.71292 6.50966 2.14249L12.3318 7.96469L18.154 2.14249C18.5836 1.71292 19.2801 1.71292 19.7097 2.14249C20.1392 2.57208 20.1392 3.26855 19.7097 3.69814L13.8875 9.52032C13.0284 10.3795 11.6353 10.3795 10.7762 9.52032
281L4.95402 3.69814C4.52444 3.26855 4.52444 2.57208 4.95402 2.14249ZM4.95402 21.9425L10.7762 16.1203C11.6353 15.2612 13.0284 15.2612 13.8875 16.1203L19.7097 21.9425C20.1392 22.3721 20.1392 23.0686 19.7097 23.4981C19.2801 23.9277 18.5836 23.9277 18.154 23.4981L12.3318 17.676L6.50966 23.4981C6.08008 23.9277 5.3836 23.9277 4.95402 23.4981C4.52444 23.0686 4.52444 22.3721 4.95402 21.9425Z"}))),hn=(0,r.forwardRef)(({size:e=24,...t},n)=>r.createElement("svg",{height:e,ref:n,viewBox:"0 0 24 24",width:e,xmlns:"http://www.w3.org/2000/svg",...t},r.createElement("path",{d:"M18.8807 15.2052C19.1544 15.2054 19.4169 15.3143 19.6103 15.508C19.8037 15.7016 19.9123 15.9642 19.9122 16.2379C19.912 16.5116 19.8028 16.7741 19.6091 16.9675L13.0624 23.5169C12.9667 23.613 12.8527 23.6895 12.7274 23.7415C12.6021 23.7936 12.4676 23.8203 12.3319 23.8203C12.1963 23.8203 12.062 23.7935 11.9367 23.7415C11.8114 23.6895 11.6975 23.613 11.6017 23.5169L5.05472 16.9697C4.86106 16.7763 4.75215 16.5137 4.75195 16.2401C4.75178 15.9664 4.86041 15.7038 5.05379 15.5101C5.24715 15.3165 5.50946 15.2076 5.78309 15.2074C6.0568 15.2072 6.31963 15.3158 6.51332 15.5092L12.3319 21.3262L18.1508 15.5092V15.507C18.3445 15.3136 18.607 15.205 18.8807 15.2052Z"}),r.createElement("path",{d:"M12.3319 1.82031C12.4676 1.82031 12.6021 1.84707 12.7274 1.89911C12.8527 1.95114 12.9667 2.02759 13.0624 2.1237L19.6091 8.67313C19.8025 8.86654 19.9112 9.12892 19.9112 9.40243C19.9112 9.67589 19.8025 9.93806 19.6091 10.1314C19.4157 10.3248 19.1536 10.4335 18.8801 10.4336C18.6066 10.4336 18.3442 10.3248 18.1508 10.1314L12.3319 4.31439L6.51549 10.1314C6.41975 10.2273 6.30592 10.3034 6.18077 10.3554C6.05561 10.4073 5.92139 10.4341 5.78588 10.4342C5.65035 10.4343 5.51592 10.4078 5.39067 10.356C5.26552 10.3043 5.1518 10.2283 5.05596 10.1327C4.96007 10.0369 4.88394 9.9231 4.83199 9.79795C4.78003 9.67278 4.75298 9.53858 4.75288 9.40305C4.75278 9.26755 4.77961 9.13339 4.83137 9.00816C4.88313 8.88293 4.95898 8.76902 5.05472 8.67313L11.6017 2.1237C11.6975 2.02758 11.8114 1.95114 11.9367 1.89911C12.062 1.8471 12.1963 1.82032 12.3319 1.82031Z"})));const mn=i.Ay.div`
282  display: flex;
283  align-items: center;
284  gap: 8px;
285`,gn=(0,i.Ay)(g.o)`
286  margin-right: auto;
287`,xn=(0,i.Ay)(g.o)`
288  display: flex;
289  justify-content: center;
290  align-items: center;
291  text-align: center;
292  border-radius: 50%;
293  padding: 4px;
294  background-color: ${e=>e.theme.palette.primary.light};
295  font-size: 0.85rem;
296  font-weight: 600;
297  line-height: 0.85rem;
298  width: calc(1rem + 8px);
299
300  &::before {
301    content: "";
302    display: block;
303    padding-bottom: 100%;
304  }
305`,yn=(0,i.Ay)(pn.A)`
306  color: ${e=>e.theme.palette.primary.main};
307
308  ${e=>e.theme.breakpoints.up("desktop")} {
309    display: none;
310  }
311`,bn=(0,i.Ay)(q)`
312  ${e=>e.theme.breakpoints.down("desktop")} {
313    display: none;
314  }
315`,vn=e=>{let t=e.count,n=e.desktopCollapsible,r=void 0!==n&&n,i=e.title;const o=(0,p.Bd)().t,a=cn(),l=a.expanded,s=a.setExpanded,c=()=>{s(!l)};return(0,C.jsxs)(mn,{children:[(0,C.jsx)(xn,{component:"div",autoContrast:!0,children:t}),(0,C.jsx)(gn,{component:"h4",autoContrast:!0,variant:"md-bold",children:i}),(0,C.jsx)(yn,{endIcon:(0,C.jsx)(M.h,{View:l?un:je.r,size:16}),onClick:c,size:"small",children:o(l?"common.close":"common.see")}),r&&(0,C.jsx)(bn,{colorName:I.QZ,fill:Z.c3[800],Icon:l?fn:hn,onClick:c,size:24})]})},wn=["children"],Cn=i.Ay.div`
316  display: flex;
317  flex-direction: column;
318  gap: 16px;
319  padding: 24px;
320  position: relative;
321
322  &:not(:last-child)::after {
323    content: "";
324    background-color: rgba(0, 0, 0, 0.06);
325    position: absolute;
326    bottom: 0;
327    left: 0;
328    height: 1px;
329    width: calc(100% - 48px);
330    margin: 0 24px;
331  }
332
333  ${e=>e.theme.breakpoints.down("desktop")} {
334    padding: 16px 24px;
335  }
336`,jn=e=>{let t=e.children,n=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,wn);return(0,C.jsx)(sn,{children:(0,C.jsxs)(Cn,{children:[(0,C.jsx)(vn,{...n}),(0,C.jsx)(dn,{children:t})]})})};var _n=n(43627),An=n(81380),kn=n(56550);const On=e=>{let t=e.view;const n=(0,se.d4)(e=>e.search.workLocalities),i=(0,se.wA)(),o=(0,r.useCallback)(e=>{i((0,h.T1)(e))},[i]);return(0,C.jsx)(t,{items:n,onRemoveItem:o})};var En=n(77889);const $n=e=>{let t=e.view;const n=(0,se.wA)(),i=(0,a.G)(x.pU),o=(0,r.useCallback)(e=>{n((0,h.OO)(e)),n((0,Zt.Pd)())},[n]),l=(0,r.useCallback)(e=>{let t=e.active,r=e.over;if(!r||t.id===r.id)return;const o=i.findIndex(e=>(0,En.NB)(e)===t.id),a=i.findIndex(e=>(0,En.NB)(e)===r.id),l=Array.from(i),s=(0,$e.nw)(l,o);(0,$e.MF)(l,a,s),n((0,h.y2)(l))},[n,i]);return(0,C.jsx)(t,{onDragEnd:l,items:i,onRemoveItem:o})},Sn=()=>(0,y.Mz)(e=>e.search.skills,e=>e.search.hobbies,(e,t)=>[...e,...t]),Ln=e=>{let t=e.view;const n=(0,se.wA)(),i=(0,r.useMemo)(Sn,[]),o=(0,se.d4)(e=>i(e)),a=(0,r.useCallback)(e=>{"HOBBIES"===(0,at.A)(o,["id",e])?.category?n((0,h.HS)(e)):n((0,h.eV)(e)),n((0,Zt.Pd)())},[n,o]);return(0,C.jsx)(t,{items:o,onRemoveItem:a})};var Pn=n(30798);const Tn=i.Ay.div`
337  display: flex;
338  align-items: flex-start;
339  flex-direction: row;
340  flex-wrap: wrap;
341  gap: 8px;
342  margin-top: 8px;
343`;var In=n(31533);const Mn=e=>{let t=e.item,n=e.onRemoveItem;const r=(0,En.NB)(t),i=(0,_n.gl)({id:r}),o=i.attributes,a=i.listeners,l=i.setNodeRef,s=i.transform,c=i.transition,d={transform:kn.Ks.Translate.toString(s),transition:c};return(0,C.jsx)(T.$,{icon:In.M,onClick:()=>n(t.id),ref:l,size:"small",style:d,...o,...a,children:t.label})},Rn=e=>{let t=e.items,n=e.onRemoveItem,r=e.onDragEnd;const i=(0,An.FR)((0,An.MS)(An.AN,{activationConstraint:{distance:5}}));return void 0!==r?(0,C.jsx)(An.Mp,{collisionDetection:An.fp,onDragEnd:r,sensors:i,children:(0,C.jsx)(_n.gB,{items:t.map(e=>(0,En.NB)(e)),children:(0,C.jsx)(Tn,{children:t.map(e=>(0,C.jsx)(vt.A,{in:!0,children:(0,C.jsx)(Mn,{item:e,onRemoveItem:n})},(0,En.NB)(e)))})})}):(0,C.jsx)(Tn,{children:t.map(e=>(0,C.jsx)(Pn.A,{in:!0,children:(0,C.jsx)(T.$,{icon:In.M,onClick:()=>n(e.id),size:"small",children:(0,C.jsx)("span",{children:e.label})})},(0,En.NB)(e)))})};Rn.propTypes={items:Gt().array.isRequired,onRemoveItem:Gt().func.isRequired,onDragEnd:Gt().func};const Gn=()=>(0,C.jsx)(On,{view:Rn}),Fn=()=>(0,C.jsx)($n,{view:Rn}),zn=()=>(0,C.jsx)(Ln,{view:Rn}),Bn=()=>{const e=(0,p.Bd)().t,t=(0,a.G)(x.vp).length;return(0,C.jsxs)(jn,{title:e("profile_workplace.title"),count:t,children:[(0,C.jsx)(g.o,{autoContrast:!0,children:e("profile_identity.place_of_work")}),(0,C.jsx)(vt.A,{orientation:"vertical",unmountOnExit:!0,in:t>0,children:(0,C.jsxs)("div",{children:[(0,C.jsx)(Gn,{}),(0,C.jsx)(Mt,{})]})}),(0,C.jsx)(nn,{})]})},Vn=()=>{const e=(0,p.Bd)().t,t=(0,a.G)(x.pU).length;return(0,C.jsxs)(jn,{title:e("profile_jobs.title"),count:t,children:[(0,C.jsx)(g.o,{autoContrast:!0,children:e("profile_jobs.drag_and_drop_info")}),(0,C.jsx)(Fn,{}),(0,C.jsx)(rn,{})]})};var Dn=n(84979);const Nn=()=>(0,y.Mz)(e=>e.suggestions.skills,e=>e.suggestions.hobbies,(e,t)=>
343[...e,...t]),Zn=e=>{let t=e.view;const n=(0,se.wA)(),i=(0,r.useMemo)(Nn,[]),o=(0,se.d4)(e=>i(e));return(0,C.jsx)(t,{onAddItem:e=>{n((0,Dn.QU)(e)),n((0,Zt.Pd)())},items:o})};var Hn=n(99040);const Un=e=>{let t=e.items,n=e.onAddItem;return(0,C.jsx)(Tn,{children:t.map(e=>(0,C.jsx)(Pn.A,{in:!0,children:(0,C.jsx)(T.$,{onClick:()=>n(e),icon:Hn.u,size:"small",variant:"outlined",children:(0,C.jsx)("span",{children:e.label})})},(0,En.NB)(e)))})},qn=()=>(0,C.jsx)(Zn,{view:Un}),Jn=(0,i.Ay)(g.o)`
344  margin: 16px 0 0 0;
345`,Wn=e=>{let t=e.skillsCount;const n=(0,p.Bd)().t,i=cn(),o=i.expanded,a=i.setExpanded;return(0,r.useEffect)(()=>{a(!0)},[t]),(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(vt.A,{in:o,collapsedSize:t>=5?180:36,children:(0,C.jsx)(zn,{})}),(0,C.jsx)(on,{}),(0,C.jsx)(Jn,{autoContrast:!0,children:n("profile_skills.suggested_skills_text")}),(0,C.jsx)(qn,{})]})},Xn=()=>{const e=(0,p.Bd)().t,t=(0,a.G)(x.JT).length;return(0,C.jsx)(jn,{count:t,desktopCollapsible:!0,title:e("profile_skills.title"),children:(0,C.jsx)(Wn,{skillsCount:t})})};var Kn=n(37639);const Qn=i.Ay.div`
346  display: flex;
347  flex-direction: column;
348  align-items: center;
349  gap: 12px;
350  padding: 16px;
351
352  ${e=>e.theme.breakpoints.between("tablet","laptop")} {
353    flex-direction: row;
354    justify-content: space-between;
355  }
356`,Yn=(0,i.Ay)(Kn.E)`
357  height: 30px;
358  width: 150px;
359`,er=()=>{const e=(0,p.Bd)().t,t=(0,a.G)(l.AR),n=t.first_name,r=t.last_name,i=(0,a.G)(l.EC);return(0,C.jsxs)(Qn,{children:[i?(0,C.jsx)(Yn,{}):(0,C.jsx)(g.o,{component:"h3",autoContrast:!0,"data-testid":"cvc-hello-2022",variant:"xl-bold",children:e("profile_identity.hello_2022",{name:n||r})}),(0,C.jsx)(g.o,{autoContrast:!0,variant:"md-bold",children:e("profile_identity.cv_detect")})]})};var tr=n(14779),nr=n(21598),rr=n(85426),ir=n.n(rr);const or=e=>{let t=e.view;const n=(0,se.wA)(),i=(0,s._r)().config,o=(0,se.d4)(e=>e.search.useProfile),a=(0,r.useCallback)(e=>{const t=de.M$.TOGGLE_PROFILE_SWITCH,r={enable:e};n((0,de.Wf)(t,r)),i.analytics?.google_tag_manager?.active&&ir().dataLayer({dataLayer:{event:"EventGeneric",EventCat:"Toggle Profile",EventAction:"Toggle Profile Switch",EventLibelle:"[RP] - Toggle Profile Switch"}})},[i.analytics?.google_tag_manager?.active,n]),l=(0,r.useCallback)(e=>{n((0,h.yF)(e)),a(e)},[n,a]);return(0,C.jsx)(t,{toggleSwitch:l,isChecked:o})},ar=i.Ay.div`
360  padding: 24px;
361
362  ${e=>e.theme.breakpoints.down("desktop")} {
363    padding: 16px 24px;
364  }
365`,lr=(0,i.Ay)(tr.A)`
366  .MuiFormControlLabel-label {
367    font-size: 1rem;
368  }
369`,sr=e=>{let t=e.isChecked,n=e.toggleSwitch;const r=(0,p.Bd)().t;return(0,C.jsx)(ar,{children:(0,C.jsx)(lr,{control:(0,C.jsx)(nr.A,{color:"primary",checked:t,onChange:e=>{const t=e.target.checked;n(t),(0,K.uC)(t),t?(0,K.Qz)():(0,K.uv)()}}),label:r("profile_identity.display_only_customized_jobs")})})},cr=()=>(0,C.jsx)(or,{view:sr});var dr=(0,r.forwardRef)(({size:e=24,...t},n)=>r.createElement("svg",{height:e,ref:n,viewBox:"0 0 24 24",width:e,xmlns:"http://www.w3.org/2000/svg",...t},r.createElement("path",{d:"M22.1018 4.96317H17.3876V4.17746C17.3876 3.5523 17.1392 2.95275 16.6972 2.5107C16.2551 2.06865 15.6556 1.82031 15.0304 1.82031H10.3161C9.69097 1.82031 9.09142 2.06865 8.64937 2.5107C8.20732 2.95275 7.95898 3.5523 7.95898 4.17746V4.96317H3.2447C3.03631 4.96317 2.83646 5.04595 2.68911 5.1933C2.54176 5.34065 2.45898 5.5405 2.45898 5.74888C2.45898 5.95727 2.54176 6.15712 2.68911 6.30447C2.83646 6.45182 3.03631 6.5346 3.2447 6.5346H4.03041V21.4632C4.03041 22.0883 4.27875 22.6879 4.7208 23.1299C5.16285 23.572 5.7624 23.8203 6.38756 23.8203H18.959C19.5841 23.8203 20.1837 23.572 20.6257 23.1299C21.0678 22.6879 21.3161 22.0883 21.3161 21.4632V6.5346H22.1018C22.3102 6.5346 22.5101 6.45182 22.6574 6.30447C22.8048 6.15712 22.8876 5.95727 22.8876 5.74888C22.8876 5.5405 22.8048 5.34065 22.6574 5.1933C22.5101 5.04595 22.3102 4.96317 22.1018 4.96317ZM9.53041 4.17746C9.53041 3.96907 9.61319 3.76922 9.76054 3.62187C9.90789 3.47452 10.1077 3.39174 10.3161 3.39174H15.0304C15.2388 3.39174 15.4386 3.47452 15.586 3.62187C15.7333 3.76922 15.8161 3.96907 15.8161 4.17746V4.96317H9.53041V4.17746ZM19.7447 21.4632C19.7447 21.6716 19.6619 21.8714 19.5146 22.0188C19.3672 22.1661 19.1674 22.2489 18.959 22.2489H6.38756C6.17917 22.2489 5.97932 22.1661 5.83197 22.0188C5.68462 21.8714 5.60184 21.6716 5.60184 21.4632V6.5346H19.7447V21.4632Z"}),r.createElement("path",{d:"M8.7447 19.8917C8.95308 19.8917 9.15293 19.809 9.30028 19.6616C9.44763 19.5143 9.53041 19.3144 9.53041 19.106V9.67746C9.53041 9.46907 9.44763 9.26922 9.30028 9.12187C9.15293 8.97452 8.95308 8.89174 8.7447 8.89174C8.53631 8.89174 8.33646 8.97452 8.18911 9.12187C8.04176 9.26922 7.95898 9.46907 7.95898 9.67746V19.106C7.95898 19.3144 8.04176 19.5143 8.18911 19.6616C8.33646 19.809 8.53631 19.8917 8.7447 19.8917Z"}),r.createElement("path",{d:"M12.6733 19.8917C12.8817 19.8917 13.0815 19.809 13.2289 19.6616C13.3762 19.5143 13.459 19.3144 13.459 19.106V9.67746C13.459 9.46907 13.3762 9.26922 13.2289 9.12187C13.0815 8.97452 12.8817 8.89174 12.6733 8.89174C12.4649 8.89174 12.265 8.97452 12.1177 9.12187C11.9703 9.26922 11.8876 9.46907 11.8876 9.67746V19.106C11.8876 19.3144 11.9703 19.5143 12.1177 19.6616C12.265 19.809 12.4649 19.8917 12.6733 19.8917Z"}),r.createElement("path",{d:"M16.6018 19.8917C16.8102 19.8917 17.0101 19.809 17.1574 19.6616C17.3048 19.5143 17.3876 19.3144 17.3876 19.106V9.67746C17.3876 9.46907 17.3048 9.26922 17.1574 9.12187C17.0101 8.97452 16.8102 8.89174 16.6018 8.89174C16.3935 8.89174 16.1936 8.97452 16.0463 9.12187C15.8989 9.26922 15.8161 9.46907 15.8161 9.67746V19.106C15.8161 19.3144 15.8989 19.5143 16.0463 19.6616C16.193
3696 19.809 16.3935 19.8917 16.6018 19.8917Z"}))),pr=n(12749);const ur=i.Ay.div`
370  display: flex;
371  flex-direction: column;
372  align-items: center;
373  padding: 16px;
374`,fr=()=>{const e=(0,p.Bd)().t,t=(0,a.G)(l.EC),n=(0,pr.W)(),r=n.mutate,i=n.isPending;return(0,C.jsx)(ur,{children:(0,C.jsx)(T.$,{colorName:I.FV,disabled:t,icon:dr,iconPosition:"left",onClick:()=>r(),loading:i,size:"small",variant:"text",children:e("profile_identity.delete_resume")})})},hr=(0,i.Ay)(vt.A)`
375  flex: 0 1 400px;
376
377  ${e=>e.theme.breakpoints.down("desktop")} {
378    flex: 1;
379
380    &,
381    & .MuiCollapse-wrapper,
382    & .MuiCollapse-wrapperInner {
383      width: 100%;
384    }
385  }
386`,mr=i.Ay.div`
387  background-color: #ffffff;
388  border-radius: 5px;
389  box-shadow: ${e=>e.theme.shadows.default};
390
391  ${e=>e.theme.breakpoints.down("laptop")} {
392    order: 1; // Display profile above filters and map
393  }
394`,gr=(0,i.Ay)(wt.A)`
395  border-radius: 5px;
396  overflow: hidden; // Hide content not rounded corners
397`,xr=i.Ay.div`
398  ${e=>e.disableContent?"\n    opacity: 0.3;\n    user-select: none;\n    pointer-events: none;\n  ":""}
399`,yr=(0,r.memo)(()=>(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Bn,{}),(0,C.jsx)(Vn,{}),(0,C.jsx)(Xn,{})]})),br=()=>{const e=c.A.getResumeId(),t=(0,a.G)(l.JT),n=(0,a.G)(e=>e.search.useProfile),r=!(!e&&!t);return(0,C.jsx)(hr,{orientation:"horizontal",in:r,unmountOnExit:!0,children:(0,C.jsx)(mr,{children:(0,C.jsxs)(gr,{direction:"column",divider:(0,C.jsx)(Ct.A,{}),"data-testid":"cvc-profile-wrapper",children:[(0,C.jsx)(er,{}),(0,C.jsx)(cr,{}),(0,C.jsx)(xr,{disableContent:!n,children:(0,C.jsx)(yr,{})}),(0,C.jsx)(fr,{})]})})})};yr.displayName="ProfileBlocks";var vr=(0,r.forwardRef)(({size:e=24,...t},n)=>r.createElement("svg",{height:e,ref:n,viewBox:"0 0 24 24",width:e,xmlns:"http://www.w3.org/2000/svg",...t},r.createElement("path",{d:"M4.55469 9.98437H11.8594C12.2153 9.98437 12.5039 9.6958 12.5039 9.33984C12.5039 8.98389 12.2153 8.69531 11.8594 8.69531H4.55469C4.19873 8.69531 3.91016 8.98389 3.91016 9.33984C3.91016 9.6958 4.19873 9.98437 4.55469 9.98437Z"}),r.createElement("path",{d:"M10.1406 11.2734H4.55469C4.19873 11.2734 3.91016 11.562 3.91016 11.918C3.91016 12.2739 4.19873 12.5625 4.55469 12.5625H10.1406C10.4966 12.5625 10.7852 12.2739 10.7852 11.918C10.7852 11.562 10.4966 11.2734 10.1406 11.2734Z"}),r.createElement("path",{d:"M10.1406 13.8516H4.55469C4.19873 13.8516 3.91016 14.1401 3.91016 14.4961C3.91016 14.852 4.19873 15.1406 4.55469 15.1406H10.1406C10.4966 15.1406 10.7852 14.852 10.7852 14.4961C10.7852 14.1401 10.4966 13.8516 10.1406 13.8516Z"}),r.createElement("path",{d:"M10.1406 16.4297H4.55469C4.19873 16.4297 3.91016 16.7183 3.91016 17.0742C3.91016 17.4302 4.19873 17.7187 4.55469 17.7187H10.1406C10.4966 17.7187 10.7852 17.4302 10.7852 17.0742C10.7852 16.7183 10.4966 16.4297 10.1406 16.4297Z"}),r.createElement("path",{d:"M23.1432 19.9912L19.9203 16.7682C21.2424 15.0024 21.1016 12.4805 19.4972 10.8761C19.0858 10.4647 18.6087 10.1428 18.0898 9.91962V6.76172C18.0898 6.59079 18.0219 6.42686 17.901 6.30599L13.6043 2.00912C13.4835 1.88825 13.3195 1.82031 13.1486 1.82031H3.69531C2.3922 1.82031 1.33203 2.88048 1.33203 4.18359V21.457C1.33203 22.7601 2.3922 23.8203 3.69531 23.8203H15.7266C17.0297 23.8203 18.0898 22.7601 18.0898 21.457V18.2132C18.4147 18.0735 18.7231 17.895 19.0092 17.6801L22.2317 20.9026C22.3576 21.0285 22.5225 21.0914 22.6875 21.0914C22.8524 21.0914 23.0174 21.0285 23.1432 20.9026C23.395 20.651 23.395 20.2429 23.1432 19.9912ZM18.5857 16.3452C18.2129 16.718 17.7646 16.9876 17.2755 17.1411C17.2605 17.1452 17.2457 17.1498 17.2312 17.1549C16.9351 17.2431 16.6246 17.2891 16.307 17.2891C15.4462 17.2891 14.6369 16.9539 14.0282 16.3452C13.4195 15.7365 13.0843 14.9272 13.0843 14.0664C13.0843 13.2056 13.4195 12.3963 14.0282 11.7876C14.6369 11.1789 15.4462 10.8437 16.307 10.8437C16.6247 10.8437 16.9353 10.8897 17.2314 10.9779C17.2458 10.983 17.2604 10.9876 17.2752 10.9916C17.7644 11.145 18.2129 11.4147 18.5858 11.7876C19.8422 13.0442 19.8422 15.0887 18.5857 16.3452ZM15.8893 6.11719H13.793V4.02091L15.8893 6.11719ZM16.8008 21.457C16.8008 22.0494 16.3189 22.5312 15.7266 22.5312H3.69531C3.10299 22.5312 2.62109 22.0494 2.62109 21.457V4.18359C2.62109 3.59127 3.10299 3.10937 3.69531 3.10937H12.5039V6.76172C12.5039 7.11767 12.7925 7.40625 13.1484 7.40625H16.8008V9.58154C16.6379 9.56392 16.4731 9.55469 16.307 9.55469C15.1018 9.55469 13.9688 10.024 13.1167 10.8761C12.2646 11.7283 11.7953 12.8613 11.7953 14.0664C11.7953 15.2715 12.2646 16.4045 13.1167 17.2567C13.9688 18.1088 15.1018 18.5781 16.307 18.5781C16.4731 18.5781 16.6379 18.5689 16.8008 18.5513V21.457Z"}))),wr=n(95436),Cr=n(28171),jr=n(79137),_r=n(76599),Ar=n(92457),kr=n(79250),Or=n(949),Er=n(65718);const $r=()=>{const e=(0,Er.L)();return e?.serp};var Sr=n(59974),Lr=n(49324),Pr=n(49391),Tr=n(87396),Ir=n(69839);const Mr=e=>{let t=e.company;const n=(0,Ar.m)();return t&&n?(0,C.jsx)(Ir.G,{dataTestId:"job-offer-company-tag",icon:Xe.A,text:t}):null};var Rr=n(35095);const Gr=e=>{let t=e.tag,n=e.text;return(0,C.jsx)(Ir.G,{dataTestId:`job-offer-custom-tag-${t.response_field}`,icon:dt.LT[t.icon]??dt.LT.tag,text:n})};var Fr=n(59474),zr=n(37150),Br=n(66121);const Vr=e=>{let t=e.remoteWorkType;const n=(0,w.x)().translateRemoteWorkType;return(0,le.c7)(t)?(0,C.jsx)(Ir.G,{dataTestId:"job-offer-remote-work-type-tag",icon:nt.H,text:n(t)}):null};var Dr=n(71204),Nr=n(31478);const Zr=e=>{let t=e.text;return(0,C.jsx)(Ir.G,{dataTestId:"job-offer-work-schedule-tag",icon:Nr._,text:t})},Hr=Q.EditorConfig.DefaultTagKey,Ur=e=>{let t=e.jobOffer,n=e.showDistance,i=void 0!==n&&n,o=e.tags;const a=(0,wr.Jr)(),l=(0,Pr._)(t),s={[Hr.Company]:(0,C.jsx)(Mr,{company:t.company}),[Hr.ContractType]:(0,C.jsx)(Rr.B,{contractTypes:t.contract_type}),[Hr.Duration]:t.contract_duration&&(0,C.jsx)(Fr.e,{contractDuration:t.contract_duration}
399),[Hr.Experience]:(0,C.jsx)(zr.u,{experienceMax:t.experience_max,experienceMin:t.experience_min}),[Hr.Locality]:(0,C.jsx)(Br.V,{offer:t,showDistance:i}),[Hr.RemoteWorkType]:(0,C.jsx)(Vr,{remoteWorkType:t.remote_work_type}),[Hr.Salary]:t.salary&&(0,C.jsx)(Dr.k,{salary:t.salary}),[Hr.Schedule]:l&&(0,C.jsx)(Zr,{text:l})};return(0,Q.resolveJobOfferTags)(o,a).flatMap(e=>{if((0,Q.isCustomTag)(e)){const n=(0,Tr.B)(t,e);return e.display&&n?[(0,C.jsx)(Gr,{tag:e,text:n},(0,Tr.F)(e))]:[]}return e.display&&(0,Q.isJobOfferTagAvailable)(e.key,a)?[(0,C.jsx)(r.Fragment,{children:s[e.key]},e.key)]:[]})};var qr=n(71440),Jr=n(61743);const Wr=i.Ay.div`
400  display: flex;
401  flex-wrap: wrap;
402  gap: 16px;
403  background-color: white;
404  box-shadow: ${e=>e.theme.shadows.default};
405  padding: 16px;
406  margin-bottom: 24px;
407  border-left: ${e=>{let t=e.$alreadyApplied,n=e.theme;return t?`6px solid ${n.palette.success.main}`:"none"}};
408  border-radius: 5px;
409  overflow: auto;
410  transition: all ${e=>e.theme.transitions.duration.short}ms ease;
411
412  &:hover {
413    box-shadow: ${e=>e.theme.shadows.hover};
414  }
415
416  ${e=>e.theme.breakpoints.up("tablet")} {
417    padding: 32px;
418  }
419`,Xr=i.Ay.div`
420  display: flex;
421  flex-direction: column;
422  gap: 12px;
423  order: 3;
424  width: 100%;
425`,Kr=(0,i.Ay)(g.o)`
426  overflow: hidden;
427  text-overflow: ellipsis;
428  white-space: normal;
429  overflow-wrap: anywhere;
430  max-width: 80vw;
431  display: -webkit-box;
432  -webkit-line-clamp: 3;
433  -webkit-box-orient: vertical;
434`,Qr=(0,i.Ay)(qr.X)`
435  order: 1;
436  width: 80px;
437  align-self: flex-start;
438
439  ${e=>e.theme.breakpoints.up("tablet")} {
440    width: 100px;
441    order: 0;
442  }
443
444  ${e=>!!e.$noMargin&&"\n    padding: 0;\n    overflow: hidden;\n"}
445`,Yr=i.Ay.div`
446  display: flex;
447  flex-direction: column;
448  flex: 1;
449  gap: 8px;
450  order: 0;
451
452  ${e=>e.theme.breakpoints.up("tablet")} {
453    order: 1;
454  }
455`,ei=i.Ay.span`
456  display: flex;
457  align-items: center;
458  gap: 4px;
459`,ti=(0,i.Ay)(g.o)`
460  color: ${e=>e.theme.palette.grey[400]};
461  margin-left: auto;
462  order: 3;
463
464  ${e=>e.theme.breakpoints.up("tablet")} {
465    order: 2;
466  }
467`,ni=(0,i.Ay)(T.$)`
468  display: none;
469
470  &:hover,
471  &:focus,
472  &:active {
473    filter: brightness(85%);
474    background-color: ${e=>e.theme.palette.primary.main};
475  }
476
477  ${e=>e.theme.breakpoints.up("tablet")} {
478    display: block;
479  }
480`,ri=i.Ay.div`
481  display: flex;
482  flex-direction: column;
483  flex-wrap: nowrap;
484  gap: 16px;
485  justify-content: space-between;
486  align-items: flex-start;
487  order: 2;
488  width: 100%;
489
490  ${e=>e.theme.breakpoints.up("tablet")} {
491    flex-direction: row;
492    order: 4;
493  }
494`,ii=i.Ay.div`
495  display: flex;
496  flex-wrap: wrap;
497  gap: 10px 8px;
498  flex: 1;
499`,oi=(0,r.memo)(function(e){let t=e.id,n=e.index,r=e.showJobOfferDescription,i=void 0===r||r,o=e.dataTestDomLocation;const l=(0,wr.Jr)(),s=l.display_job_offer_publication_date,c=l.use_split_description_fields,d=(0,a.j)(),u=(0,J.d)().isAboveBreakpoint,f=(0,jr.i)(),h=(0,p.Bd)().t,m=(0,a.G)(e=>e.jobOffers[t],se.bN),x=(0,_r.m)(m),y=(0,Ar.m)(),b=(0,kr.P)(m),v=$r(),w=(0,a.G)(e=>!!e.applications[t]?.success),j=(0,a.G)(e=>e.search.pageOffersRange),_=f(m.publication_date);return(0,C.jsx)(Lr.m,{id:t,index:n,trackingCallback:()=>{const e=j.firstOfferPosition+n,r=de.M$.JOB_REDIRECTIONS;d((0,de.Iy)(r,t,Sr.Gc,e))},partner:m.partner,dataTestDomLocation:o,children:(0,C.jsxs)(Wr,{$alreadyApplied:w,children:[y&&b&&(0,C.jsx)(Qr,{alt:"Entity logo",src:b,$noMargin:x?.displayLogoWithoutMarginInSerpOffers}),(0,C.jsxs)(Yr,{children:[(0,C.jsx)(g.o,{component:"h2",sx:{typography:{mobile:"2m-bold",tablet:"lg-bold"}},children:m.title}),w&&(0,C.jsxs)(ei,{children:[(0,C.jsx)(M.h,{mode:"success",View:Cr.I,size:20})," ",(0,C.jsx)(g.o,{color:"success.main",variant:"sm",children:h("application.application_succeeded")})]})]}),s&&_&&(0,C.jsx)(ti,{"data-testid":"job-offer-date",sx:{typography:{mobile:"xs",tablet:"sm"}},children:_}),u("tablet")&&i&&(0,C.jsxs)(Xr,{children:[(0,C.jsx)(Kr,{variant:"md-long",children:c?m.mission_description:m.description}),(0,C.jsx)(Jr.w,{})]}),(0,C.jsxs)(ri,{children:[(0,C.jsx)(ii,{children:(0,C.jsx)(Ur,{jobOffer:m,tags:v?.tags})}),(0,C.jsx)(ni,{size:"small",children:h("job_offers.button")})]})]})})});var ai=n(35057);const li=(0,i.Ay)(Kn.E)`
500  // Make sure the skeleton's height is around the same as the job offer item.
501  height: ${e=>e.tiny?"176px":"246px"};
502  margin-bottom: 24px;
503`,si=e=>{let t=e.tiny,n=void 0!==t&&t;const r=(0,se.d4)(e=>e.search.total||0),i=0===r?1:r>10?10:r;return(0,C.jsx)(C.Fragment,{children:(0,ai.A)(i).map(e=>(0,C.jsx)(li,{tiny:n},e))})},ci=e=>{let t=e.view;const n=(0,a.G)(l.JT),r=(0,a.G)(x.NG),i=(0,a.G)(x.As);let o="job_offers.results_title_without_profile_interval";return n&&r?o="job_offers.results_title_interval":i||(o="job_offers.results_title_without_resume"),(0,C.jsx)(t,{i18nKey:o})},di=(0,r.memo)(function(e){let t=e.view;const n=(0,a.G)(e=>e.search.isFetching||e.profile.isFetching||e.suggestions.isFetching);return(0,C.jsx)(t,{isFetching:n})});var pi=n(63466),ui=(0,r.forwardRef)(({size:e=24,...t},n)=>r.createElement("svg",{height:e,ref:n,viewBox:"0 0 24 24",width:e,xmlns:"http://www.w3.org/2000/svg",...t},r.createElement("path",{d:"M22.5468 1.82031C22.4247 1.82027 22.3043 1.84863 22.1952 1.90318L16.241 4.88106L9.50821 1.88826C9.49721 1.88357 9.48464 1.88274 9.47286 1.87804C9.44256 1.86672 9.41158 1.85728 9.38014 1.84978C9.34888 1.84135 9.31711 1.83477 9.28507 1.83012C9.22126 1.82487 9.15713 1.82487 9.09337 1.83012C9.06132 1.83477 9.02956 1.84135 8.9983 1.84978C8.96685 1.85728 8.93587 1.86672 8.90558 1.87804C8.89379 1.88274 8.88122 1.88352 8.87022 
5031.88826L1.79877 5.03115C1.51489 5.1572 1.33199 5.43868 1.33203 5.74925V23.035C1.33217 23.3009 1.46665 23.5486 1.68952 23.6935C1.91243 23.8386 2.19359 23.8611 2.43672 23.7532L9.18917 20.7517L15.9416 23.7532C15.9534 23.7579 15.966 23.7532 15.9778 23.7603C16.168 23.8454 16.3864 23.8405 16.5725 23.7469C16.5851 23.7414 16.5992 23.7469 16.6118 23.7383L22.8975 20.5954C23.1639 20.4623 23.3322 20.19 23.332 19.8922V2.60641C23.3323 2.17246 22.9807 1.8205 22.5468 1.82031ZM8.40348 19.3815L2.90345 21.8258V6.26L8.40348 3.8156V19.3815ZM15.4749 21.8258L9.9749 19.3815V3.8156L15.4749 6.25995V21.8258ZM21.7607 19.4066L17.0464 21.7637V6.23481L21.7607 3.87766V19.4066Z"})));const fi=(0,y.Mz)(e=>e.suggestions,e=>e),hi=(0,y.Mz)(fi,e=>e.isFetching),mi=((0,y.Mz)(fi,e=>e.fetchingComplete),["isMapDisplayed"]),gi=(0,i.Ay)(T.$).attrs(e=>{let t=e.theme.palette;const n=(0,I.wB)(t.primary.main,t.pageBackground.serp,t.contrastThreshold),r=t.getContrastText(t.pageBackground.serp)===t.common.white?"white":"black";return{colorName:n?"primary":r}})`
504  margin-top: 0;
505  white-space: nowrap;
506`,xi=(0,y.Mz)(x.LH,l.EC,hi,(e,t,n)=>e||t||n),yi=e=>{let t=e.isMapDisplayed,n=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,mi);const r=(0,p.Bd)().t,i=(0,a.G)(xi);return(0,C.jsx)(gi,{icon:ui,iconPosition:"left",disabled:i,size:"small",variant:"outlined",...n,children:r(t?"map.button.hide":"map.button.show")})};var bi=n(39382),vi=n(25240);const wi=e=>{let t=e.isMapDisplayed,n=e.onClick,r=e.view;const i=(0,se.wA)();return(0,C.jsx)(r,{"data-testid":"cvc-toggle-map-button",onClick:()=>{n(),(()=>{const e=de.M$.TOGGLE_MAP_BUTTON,n={is_map_displayed:!t};i((0,de.Wf)(e,n))})()},isMapDisplayed:t})};var Ci=n(66576),ji=n(83205),_i=n.n(ji),Ai=(0,r.forwardRef)(({size:e=24,...t},n)=>r.createElement("svg",{height:e,ref:n,viewBox:"0 0 24 24",width:e,xmlns:"http://www.w3.org/2000/svg",...t},r.createElement("path",{d:"M7.73039 17.4216C7.52579 17.217 7.46052 16.9097 7.56392 16.6399L9.83285 10.7417C9.90765 10.5481 10.0609 10.3948 10.2538 10.32L16.152 8.05182C16.4233 7.94915 16.7284 8.01295 16.9337 8.21828C17.1383 8.42288 17.2036 8.72941 17.1002 9.00002L14.8313 14.8982C14.7565 15.0918 14.6032 15.2451 14.4103 15.3199L8.51212 17.5881C8.24226 17.6915 7.93499 17.6262 7.73039 17.4216ZM11.0847 11.5725L9.52559 15.6264L13.5795 14.0673L15.1385 10.0135L11.0847 11.5725Z"}),r.createElement("path",{d:"M12.332 23.8203C6.26663 23.8203 1.33203 18.8857 1.33203 12.8203C1.33203 6.75491 6.26663 1.82031 12.332 1.82031C18.3974 1.82031 23.332 6.75491 23.332 12.8203C23.332 18.8857 18.3974 23.8203 12.332 23.8203ZM12.332 3.28698C7.0755 3.28698 2.7987 7.56378 2.7987 12.8203C2.7987 18.0768 7.0755 22.3536 12.332 22.3536C17.5886 22.3536 21.8654 18.0768 21.8654 12.8203C21.8654 7.56378 17.5886 3.28698 12.332 3.28698Z"})));const ki=(0,y.Mz)(e=>e.jobOffersMapMarkers,e=>e);var Oi=n(49669),Ei=n(42301);const $i=i.Ay.div`
507  height: 100%;
508
509  ${e=>e.theme.breakpoints.down("desktop")} {
510    height: calc(100% + 10vh);
511    margin-top: -10vh;
512  }
513`,Si=i.Ay.div`
514  display: flex;
515  flex-wrap: wrap;
516  align-items: center;
517  margin-bottom: 24px;
518
519  ${e=>e.theme.breakpoints.down("desktop")} {
520    display: none;
521  }
522`,Li=i.Ay.img`
523  display: block;
524  height: auto;
525  max-width: 128px;
526  max-height: 80px;
527  object-fit: contain;
528`,Pi=i.Ay.div`
529  display: block;
530  width: 2px;
531  height: 30px;
532  border-radius: 4px;
533  background-color: ${e=>{let t=e.theme;return(0,I.x6)(t.palette,I.ll,I.Xs)}};
534  margin: auto 16px;
535`,Ti=i.Ay.div`
536  height: calc(100% - 64px);
537  border-radius: 5px;
538  overflow: hidden;
539
540  ${e=>e.theme.breakpoints.down("desktop")} {
541    height: 100%;
542  }
543`,Ii=i.Ay.div`
544  height: 100%;
545  overflow-y: auto;
546  scrollbar-width: ${e=>e.$showScrollbar?"thin":"none"};
547  scrollbar-color: ${e=>{let t=e.theme;return(0,I.x6)(t.palette,I.ll,I.Xs)}}
548    rgba(0, 0, 0, 0.05);
549
550  ${e=>e.theme.breakpoints.up("desktop")} {
551    padding-right: ${e=>e.$showScrollbar?"35px":0};
552  }
553`,Mi=i.i7`
554  0% {
555    transform: rotate(0deg);
556  }
557  10% {
558    transform: rotate(190deg);
559  }
560  20% {
561    transform: rotate(180deg);
562  }
563  30% {
564    transform: rotate(210deg);
565  }
566  50% {
567    transform: rotate(90deg);
568  }
569  100% {
570    transform: rotate(-45deg);
571  }`,Ri=i.Ay.div`
572  display: flex;
573  flex-direction: column;
574  align-items: center;
575  justify-content: center;
576  text-align: center;
577  background-color: #ffffff;
578  padding: 32px;
579  border-radius: 5px;
580  box-shadow: ${e=>e.theme.shadows.default};
581
582  svg {
583    display: block;
584    animation: ${Mi} 2s infinite ease;
585    margin-bottom: 24px;
586    fill: ${e=>{let t=e.theme;return(0,I.x6)(t.palette,I.ll,I.Xs)}};
587  }
588
589  strong {
590    font-size: 20px;
591  }
592
593  p {
594    white-space: pre-line;
595    margin: 0;
596    margin-top: 8px;
597    line-height: 28.51px;
598  }
599`,Gi=(0,i.Ay)(g.o)`
600  margin: 0 0 0 auto;
601  font-weight: bold;
602  color: ${e=>{let t=e.theme;const n=t.palette.secondary.main,r=(0,I.x6)(t.palette,I.o1,I.Xs);return(0,I.PM)(r,n,t.palette.contrastThreshold)}};
603`,Fi=(0,y.Mz)(ki,e=>({visibleJobOffers:zi(e.list),isUpdatingList:e.isUpdatingList,isFetching:e.isFetching})),zi=e=>{try{return e.filter(e=>e.isVisible)}catch(e){return[]}},Bi=(0,r.memo)(function(){const e=(0,r.useRef)(null),t=(0,s._r)().config,n=(0,p.Bd)().t,i=(0,a.G)(Fi),o=i.visibleJobOffers,l=i.isUpdatingList,c=i.isFetching,d=(0,a.G)(b),u=(0,Ei.YQ)(),f=d||c||l,h=!!o.length||l;return(0,r.useEffect)(()=>{e.current&&e.current.addEventListener("scroll",(0,Ft.A)(e=>{e.target&&(0,Ei.k8)(e.target.scrollTop)},250))},[e]),(0,C.jsxs)($i,{children:[(0,C.jsxs)(Si,{children:[(0,C.jsx)(Li,{src:(0,Oi.y4)(t),alt:n("seo_markup.career_site_home_page.title",{clientName:t.company_name})}),(0,C.jsx)(Pi,{}),(0,C.jsx)(g.o,{autoContrast:!0,component:"h3",variant:"lg-bold",children:n("map.title")}),(0,C.jsx)(Gi,{children:n("map.count",{postProcess:"interval",count:o.length})})]}),(0,C.jsx)(Ti,{children:(0,C.jsx)(Ii,{ref:e,"data-testid":"cvc-job-offer-map-list",$showScrollbar:h,children:f?(0,C.jsx)(Ci.A,{in:!0,children:(0,C.jsx)("div",{children:(0,C.jsx)(si,{tiny:!0})})}):o.length?(0,C.jsx)(_i(),{viewportRef:e,items:o,initialIndex:0,initialOffset:u,children:(e,t)=>(0,C.jsx)(Ci.A,{in:!0,children:(0,C.jsx)("div",{children:(0,C.jsx)(oi,{id:e.id,index:t,showJobOfferDescription:!1,dataTestDomLocation:"cvc-job-offer-map-list"})})},e.id)}):(0,C.jsx)(Ci.A,{in:!0,children:(0,C.jsxs)(Ri,{children:[(0,C.jsx)(M.h,{View:Ai,size:48}),(0,C.jsx)(g.o,{component:"strong",autoContrast:!0,children:n("map.empty_zone.title")}),(0,C.jsx)(g.o,{autoContrast:!0,children:n("map.empty_zone.text")})]})})})})]})});var Vi=n(98494);const Di=["onClick"];function Ni(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}const Zi=(0,r.lazy)(()=>Promise.all([n.e(3299),n.e(1433)]).then(n.bind(n,76208)).then(e=>({default:e.JobOffersMap}))),Hi=i.DU`
604  html {
605    overflow: ${e=>e.isMapDisplayed?"hidden":"auto"};;
606  }
607`,Ui=i.Ay.div`
608  position: fixed;
609  z-index: 3;
610  left: 0;
611  top: 0;
612  width: 100vw;
613  height: 100vh;
614  display: flex;
615
616  @media (max-width: ${e=>`${e.theme.breakpoints.values.desktop}px`}) {
617    flex-direction: column;
618  }
619`,qi=i.Ay.div`
620  position: relative;
621  width: 40%;
622  min-width: 600px;
623  height: 100%;
624  background-color: ${e=>{let t=e.theme;return(0,I.x6)(t.palette,I.o1,I.qf)}};
625  padding: 32px 32px 0 32px;
626
627  @media (max-width: ${e=>`${e.theme.breakpoints.values.desktop}px`}) {
628    width: 100%;
629    height: 45%;
630    min-width: initial;
631    order: 2;
632    padding: 16px 16px 0 16px;
633    z-index: 2;
634  }
635`,Ji=i.Ay.div`
636  position: relative;
637  width: 60%;
638  height: 100%;
639
640  @media (max-width: ${e=>`${e.theme.breakpoints.values.desktop}px`}) {
641    width: 100%;
642    height: 55%;
643    order: 1;
644  }
645`,Wi=i.Ay.div`
646  display: flex;
647  flex: 1;
648  align-items: center;
649  justify-content: center;
650  background-color: ${e=>{let t=e.theme;return(0,I.x6)(t.palette,I.o1,I.qf)}};
651`,Xi=i.Ay.button`
652  position: absolute;
653  z-index: 2;
654  top: 24px;
655  right: 24px;
656  background-color: ${e=>{let t=e.theme;return(0,I.x6)(t.palette,I.Fl,I.Xs)}};
657  display: flex;
658  align-items: center;
659  justify-content: center;
660  border-radius: 50%;
661  width: 38px;
662  height: 38px;
663  border: 2px solid ${I.QZ};
664  cursor: pointer;
665`,Ki=e=>{let t=e.onClick,n=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,Di);return(0,C.jsx)(Xi,{onClick:t,...n,children:(0,C.jsx)(M.h,{View:In.M,size:16,withContrast:!0})})},Qi=e=>(0,a.G)(bi.mO)?(0,C.jsx)(Zi,{...e}):null,Yi=()=>{const e=(0,s._r)().config,t=ue(),n=(0,a.G)(x.Ut),i=(0,r.useRef)(void 0),o=(d=(0,r.useState)(Vi.NZ),p=2,function(e){if(Array.isArray(e))return e}(d)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,l=[],s=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){c=!0,i=e}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return l}}(d,p)||function(e,t){if(e){if("string"==typeof e)return Ni(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)?Ni(e,t):void 0}}(d,p)||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.")}()),l=o[0],c=o[1];var d,p;(0,r.useEffect)(()=>{t("show_map",l?["true"]:[])},[l]);const u=()=>{c(e=>!e)};return(0,r.useEffect)(()=>{l&&(0,K.oU)(Q.PianoAnalytics.EventType.PAGE_DISPLAY,{page_category:Q.PianoAnalytics.FrontOffice.PageCategory.LIST,page_subject:Q.PianoAnalytics.FrontOffice.PageSubject.OFFER,page_type:Q.PianoAnalytics.FrontOffice.PageType.LO_MAP,page_hostname:window.location.hostname,site_name:e.company_name,search_remote:n.remote_work_types?.map(e=>e.split("/").pop()).join("|")})},[l]),(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(wi,{view:yi,onClick:u,isMapDisplayed:l}),(0,C.jsx)(pi.A,{in:l,direction:"left",appear:!1,mountOnEnter:!0,unmountOnExit:!0,children:(0,C.jsxs)(Ui,{children:[(0,C.jsx)(Hi,{isMapDisplayed:l}),(0,C.jsx)(wi,{view:Ki,onClick:u,isMapDisplayed:l}),(0,C.jsxs)(r.Suspense,{fallback:(0,C.jsx)(Wi,{children:(0,C.jsx)(vi.A,{})}),children:[(0,C.jsx)(qi,{children:(0,C.jsx)(Bi,{})}),(0,C.jsx)(Ji,{children:l?(0,C.jsx)(Qi,{onMapMove:e=>{i.current={center:e.getCenter(),zoom:e.getZoom()}},initialViewPort:i.current},"job-offers-map-"+(l?"visible":"hidden")):null},"map-container-"+(l?"visible":"hidden"))]})]})})]})},eo=e=>{let t=e.i18nKey;const n=(0,p.Bd)().t,r=(0,a.G)(x.bl),i=""===n(t).trim();return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)("span",{hidden:!0,"data-testid":"cvc-job-total-number-offers",children:r}),!i&&(0,C.jsx)(g.o,{autoContrast:!0,variant:"lg-bold",children:n(t,{postProcess:"interval",count:r,nbOffers:r})})]})},to=i.Ay.div`
666  display: flex;
667  height: 48px;
668  align-items: center;
669  justify-content: center;
670  gap: 16px;
671  font-size: 19px;
672  font-weight: 700;
673  margin-bottom: 32px;
674  padding: 0;
675
676  svg {
677    min-width: 48px;
678  }
679`,no=i.Ay.div`
680  display: flex;
681  flex-direction: row;
682  justify-content: flex-end;
683
684  @media (max-width: ${e=>`${e.theme.breakpoints.values.laptop}px`}) {
685    width: 100%;
686    justify-content: flex-end;
687  }
688`,ro=i.Ay.div`
689  display: flex;
690  flex-direction: row;
691  align-items: center;
692  justify-content: space-between;
693  width: 100%;
694  margin-bottom: 16px;
695  gap: 24px;
696
697  @media (max-width: ${e=>`${e.theme.breakpoints.values.laptop}px`}) {
698    flex-direction: column;
699    font-size: 16px;
700    gap: 16px;
701    align-items: flex-start;
702    word-wrap: break-word;
703    overflow-wrap: break-word;
704    white-space: normal;
705  }
706`,io=(0,r.memo)(function(e){let t=e.isFetching;const n=(0,p.Bd)().t,i=(0,a.G)(x.fj)||[],o=(()=>{const e=(0,wr.Jr)().display_job_offers_maps,t=(0,a.G)(x.ge),n=!!t.find(e=>"true"===e.key)?.total;return{shouldDisplayMap:(0,r.useMemo)(()=>n&&e,[n,e])}})().shouldDisplayMap;return(0,C.jsx)(C.Fragment,{children:t?(0,C.jsx)(si,{}):(0,C.jsx)(C.Fragment,{children:0===i.length?(0,C.jsxs)(to,{children:[(0,C.jsx)(M.h,{View:vr,withContrast:!0,size:48}),(0,C.jsx)(g.o,{autoContrast:!0,children:n("result_page.no_results")})]}):(0,C.jsxs)(C.Fragment,{children:[(0,C.jsxs)(ro,{children:[(0,C.jsx)(ci,{view:eo}),o&&(0,C.jsx)(no,{children:(0,C.jsx)(Yi,{})})]}),i.map((e,t)=>(0,C.jsx)(oi,{id:e,index:t,dataTestDomLocation:"cvc-job-offer-results-list"},e))]})})})}),oo=()=>(0,C.jsx)(di,{view:io});var ao=n(48107),lo=n.n(ao),so=(0,r.forwardRef)(({size:e=24,...t},n)=>r.createElement("svg",{height:e,ref:n,viewBox:"0 0 24 24",width:e,xmlns:"http://www.w3.org/2000/svg",...t},r.createElement("path",{d:"M21.3446 2.17829C21.8219 2.65559 21.8219 3.42947 21.3446 3.90677L12.4312 12.8203L21.3446 21.7339C21.8219 22.2112 21.8219 22.985 21.3446 23.4623C20.8673 23.9396 20.0936 23.9396 19.6162 23.4623L9.83846 13.6845C9.36114 13.2072 9.36114 12.4334 9.83846 11.9561L19.6162 2.17829C20.0936 1.70099 20.8673 1.70099 21.3446 2.17829Z"}),r.createElement("path",{d:"M4.18414 1.82031C4.85915 1.82031 5.40636 2.36753 5.40636 3.04253V22.5981C5.40636 23.2731 4.85915 23.8203 4.18414 23.8203C3.50913 23.8203 2.96191 23.2731 2.96191 22.5981V3.04253C2.96191 2.36753 3.50913 1.82031 4.18414 1.82031Z"}))),co=n(77682),po=n(63559),uo=(0,r.forwardRef)(({size:e=24,...t},n)=>r.createElement("svg",{height:e,ref:n,viewBox:"0 0 24 24",width:e,xmlns:"http://www.w3.org/2000/svg",...t},r.createElement("path",{d:"M3.23017 23.4623C2.74815 22.985 2.74815 22.2112 3.23017 21.7339L12.2319 12.8203L3.23017 3.90673C2.74815 3.42941 2.74815 2.65566 3.23017 2.17835C3.7122 1.70103 4.49374 1.70103 4.97577 2.17835L14.8503 11.9561C15.3324 12.4334 15.3324 13.2072 14.8503 13.6845L4.97577 23.4623C4.49374 23.9396 3.7122 23.9396 3.23017 23.4623Z"}),r.createElement("path",{d:"M20.5606 23.8203C19.8789 23.8203 19.3263 23.2731 19.3263 22.5981L19.3263 3.04253C19.3263 2.36754 19.8789 1.82031 20.5606 1.82031C21.2423 1.82031 21.7949 2.36754 21.7949 3.04253L21.7949 22.5981C21.7949 23.2731 21.2423 23.8203 20.5606 23.8203Z"}))),fo=n(50390),ho=n(17068);const mo=(0,r.memo)(function(e){let t=e.view;const n=(0,a.j)(),i=(0,a.G)(x.x0),o=(0,a.G)(x.u6),l=(0,a.G)(x.tC),s=(0,r.useCallback)((e,t)=>{n((0,de.Wf)(e,t))},[n]),c=(0,r.useCallback)((e,t)=>{n((0,h.lP)(e));const r=(0,En.Bo)(e,t);n((0,fo.HC)((0,ho.M_)(r)))},[n]);return l<=1?null:(0,C.jsx)(t,{"data-testid":"cvc-job-offers-pagination",currentPage:i,onPageChange:e=>{const t=e.selected*o,n=e.selected+1;let r;r=i+1===n?{event:"next_offers",target_page:n}:i-1===n?{event:"previous_offers",target_page:n}:{event:"go_to_page",target_page:n},(()=>{const e=document.getElementById("result-page-top-anchor");e?.scrollIntoView()})(),s(de.M$.JOB_PAGINATIONS,r),c(t,o)},pageCount:l})}),go=["currentPage","onPageChange","pageCount"],xo=i.AH`
707  ${e=>{let t=e.theme;return`\n    font-size: 1rem;\n    font-weight: 600;\n    border: 1px solid ${t.palette.primary.main};\n    border-radius: 50%;\n    color: ${t.palette.primary.main};\n    cursor: pointer;\n    user-select: none;\n    width: 2.5rem;\n    height: 2.5rem;\n    display: flex;
707\n    align-items: center;\n    justify-content: center;\n    transition: all ${t.transitions.duration.short}ms ease;\n\n    svg {\n      fill: ${t.palette.primary.main};\n    }\n\n    &:hover {\n      background-color: ${t.palette.primary.main};\n      color: ${t.palette.getContrastText(t.palette.primary.main)};\n\n      svg {\n        fill: ${t.palette.getContrastText(t.palette.primary.main)};\n      }\n    }\n  `}}
708`,yo=i.Ay.div`
709  margin: 1em 0;
710
711  .page-link,
712  .cvcatcher-arrow,
713  .break-link {
714    ${xo};
715  }
716
717  &,
718  .cvc-pagination {
719    display: flex;
720    justify-content: center;
721    align-items: center;
722    flex-wrap: wrap;
723    gap: 0.5rem;
724  }
725
726  .cvc-pagination {
727    padding: 0;
728    margin: 0;
729  }
730
731  li {
732    list-style: none;
733  }
734
735  .active-link {
736    background-color: ${e=>e.theme.palette.primary.main};
737    color: ${e=>{let t=e.theme;return t.palette.getContrastText(t.palette.primary.main)}};
738  }
739
740  .disabled {
741    display: none;
742  }
743`,bo=e=>{let t=e.currentPage,n=e.onPageChange,r=e.pageCount,i=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,go);const o=(0,J.d)().isBelowBreakpoint,a=1===t,l=t===r;return(0,C.jsxs)(yo,{...i,children:[(0,C.jsx)("button",{className:a?"disabled cvcatcher-arrow":"cvcatcher-arrow","data-testid":"cvc-job-offers-pagination-first",onClick:()=>n({selected:0}),children:(0,C.jsx)(M.h,{View:so,size:16})}),(0,C.jsx)(lo(),{previousLabel:(0,C.jsx)(M.h,{View:co.g,size:16}),nextLabel:(0,C.jsx)(M.h,{View:po.V,size:16}),selectedPageRel:null,pageCount:r,marginPagesDisplayed:0,pageRangeDisplayed:o("tablet")?1:3,forcePage:t-1,disableInitialCallback:!0,onPageChange:n,hrefBuilder:ho.M_,containerClassName:"cvc-pagination",pageLinkClassName:"page-link",previousLinkClassName:"cvcatcher-arrow cvcatcher-pagination-prev",nextLinkClassName:"cvcatcher-arrow cvcatcher-pagination-next",breakLinkClassName:"break-link",activeLinkClassName:"active-link",breakLabel:!1}),(0,C.jsx)("button",{className:l?"disabled cvcatcher-arrow":"cvcatcher-arrow","data-testid":"cvc-job-offers-pagination-last",onClick:()=>n({selected:r-1}),children:(0,C.jsx)(M.h,{View:uo,size:16})})]})},vo=()=>(0,C.jsx)(mo,{view:bo});var wo=n(52208),Co=n(1939),jo=n(53173),_o=n(21550),Ao=n(7944),ko=n(15002);const Oo=(0,i.Ay)(Co.E)`
744  display: flex;
745  padding: 48px;
746  margin-top: 32px;
747  gap: 48px;
748
749  ${e=>e.theme.breakpoints.down("desktop")} {
750    padding: 24px;
751  }
752`,Eo=i.Ay.div`
753  flex: 3;
754  height: fit-content;
755
756  svg {
757    fill: ${e=>{let t=e.theme;return(0,I.x6)(t.palette,"secondary","light")}};
758  }
759`,$o=i.Ay.div`
760  flex: 10;
761`,So=(0,i.Ay)(g.o)`
762  margin-top: 8px;
763  margin-bottom: 32px;
764`,Lo=e=>{let t=e.spontaneousApplicationBoxRef;const n="spontaneous-application",i=(0,p.Bd)().t,o=(0,u.zy)(),c=(0,r.useRef)(!1),d=(0,s._r)().config,f=d.features.spontaneousApplication?.redirectUrl??null,h=d.features.spontaneousApplication?.partnerName===Q.SPONTANEOUS_APPLICATION_REDIRECT_PARTNER,m=(0,a.G)(l.JT),y=(0,a.G)(l.EC),b=(0,a.G)(x.fj),v=(0,a.G)(x.LH);return(0,r.useEffect)(()=>{if(v||null===b||c.current||o.hash!==`#${n}`)return;const e=window.setTimeout(()=>{const e=document.getElementById(n);e&&(e.scrollIntoView({behavior:"smooth"}),c.current=!0)},1e3);return()=>window.clearTimeout(e)},[v,b,o.hash]),(0,C.jsxs)(Oo,{"data-print-hidden":!0,ref:t,children:[(0,C.jsx)(ko.w,{above:"laptop",children:!y&&!m&&(0,C.jsx)(Eo,{children:(0,C.jsx)(_o.F,{height:"auto",width:"auto"})})}),(0,C.jsxs)($o,{children:[(0,C.jsx)("a",{href:`#${n}`,children:(0,C.jsx)(g.o,{id:n,autoContrast:!0,component:"h2",variant:"2xl-bold",children:i("result_page.spontaneous_application.title")})}),(0,C.jsx)(So,{autoContrast:!0,children:i("result_page.spontaneous_application.subtitle")}),f&&h?(0,C.jsx)(T.$,{href:f,icon:wo.m,iconPosition:"left","data-testid":"cvc-spontaneous-application-redirect-button","aria-label":i("result_page.spontaneous_application.redirect_cta"),children:i("result_page.spontaneous_application.redirect_cta")}):(0,C.jsx)(Ao.B,{children:(0,C.jsx)(jo.v,{})})]})]})},Po=i.Ay.div`
765  display: flex;
766  flex-wrap: wrap;
767  gap: ${e=>e.isProfileSectionDisplayed?"16px 32px":"16px 0px"};
768
769  ${e=>e.theme.breakpoints.down("desktop")} {
770    gap: ${e=>e.isProfileSectionDisplayed?"24px":"24px 0px"};
771  }
772
773  ${e=>e.theme.breakpoints.down("desktop")} {
774    margin-top: 0px;
775  }
776`,To=i.Ay.div`
777  display: flex;
778  flex-direction: column;
779  flex: 1 1 500px;
780  /* Without this, an unbreakable token in an offer description inflates the
781     item's min-content width and wraps the list below the profile column */
782  min-width: 0;
783
784  ${e=>e.theme.breakpoints.down("desktop")} {
785    order: 3; // Display job offers below filters and map
786  }
787`,Io=()=>{const e=c.A.getResumeId(),t=(0,r.useRef)(null),n=(0,a.G)(l.JT),i=(0,s._r)().config,o=!(!e&&!n);return(0,C.jsxs)(Po,{isProfileSectionDisplayed:o,children:[(0,C.jsx)(bt,{id:"result-page-top-anchor"}),(0,C.jsx)(br,{}),(0,C.jsxs)(To,{"data-testid":"cvc-job-offers-list",children:[(0,C.jsx)(oo,{}),(0,C.jsx)(vo,{}),(0,d.B)(i)&&(0,C.jsx)(Lo,{spontaneousApplicationBoxRef:t})]})]})};var Mo=n(49617),Ro=n(43458),Go=n(61258),Fo=n(84778),zo=n(94544),Bo=n(60402),Vo=n(47939),Do=n(56985);const No=i.Ay.div`
788  position: relative;
789  display: flex;
790  flex-direction: column;
791  align-items: center;
792  justify-content: center;
793  gap: 24px;
794  background-size: cover;
795  background-repeat: no-repeat;
796  text-align: center;
797  height: ${e=>e.displayHeader?"64vh":"50vh"};
798  max-height: 160vw;
799  min-height: 512px;
800
801  & > * {
802    z-index: 1;
803  }
804
805  ${e=>e.theme.breakpoints.down("tablet")} {
806    padding-bottom: 68px;
807  }
808`,Zo=(0,i.Ay)(g.o)`
809  font-size: 2.85rem;
810  font-weight: 700;
811  padding-top: 48px;
812
813  ${e=>e.theme.breakpoints.down("tablet")} {
814    font-size: 2em;
815  }
816`,Ho=(0,i.Ay)(Fo.o)`
817  position: absolute;
818  z-index: 2;
819  left: 64px;
820  top: 64px;
821
822  ${e=>e.theme.breakpoints.down("laptop")} {
823    left: 16px;
824    top: 38px;
825    z-index: 5;
826  }
827`,Uo=(0,i.Ay)(Mo.A)`
828  display: flex;
829  justify-content: center;
830  padding: 0 16px;
831
832  ${e=>e.theme.breakpoints.up("laptop")} {
833    padding: 0 24px;
834  }
835`,qo=(0,i.Ay)(Go.t)`
836  max-width: ${e=>e.theme.breakpoints.values.laptop}px;
837
838  ${e=>e.theme.breakpoints.up("desktop")} {
839    max-width: ${e=>e.theme.breakpoints.values.desktop}px;
840  }
841`,Jo=()=>{const e=(0,s._r)().config,t=(0,p.Bd)().t,n=(0,wr.C)(),r=(0,zo.qx)(),i=(0,Bo.t)(),o=(0,wr.Ee)(),a=(()=>{const e=$r();return e?.coverImage??{src:{src:Or.l.SERP_COVER}}})(),l=(0,(0,J.d)().isBelowBreakpoint)("tablet"),c=(0,Vo.W)(a,l),d=(0,Vo.c)(a,l,!1);return(0,C.jsxs)(No,{displayHeader:n,children:[(0,C.jsx)(Ro.D,{alt:c?.altText||"photo de couverture",src:c?.src,bgPosition:d||"50% 25%",fetchPriority:"high"}),!(r&&!e.company_url)&&(0,C.jsx)(Ho,{...i,label:t("career_website_landing.home")}),n&&(0,C.jsx)(Do.Y9,{position:"absolute",transparent:!0}),(0,C.jsx)(Zo,{light:!0,children:t("result_page.cover.title")}),o&&(0,C.jsx)(Uo,{children:(0,C.jsx)(qo,{})})]})};var Wo=n(19873),Xo=n(13805),Ko=n(20877),Qo=n(34618),Yo=(0,r.forwardRef)(({size:e=24,...t},n)=>r.createElement("svg",{height:e,ref:n,viewBox:"0 0 24 24",width:e,xmlns:"http://www.w3.org/2000/svg",...t},r.createElement("path",{d:"M22.7562 14.623C23.2622 14.623 23.6728 15.027 23.6729 15.5247V20.0329C23.6729 22.0214 22.0279 23.6394 20.0062 23.6394H5.33952C3.31781 23.6394 1.67285 22.0214 1.67285 20.0329V15.5247C1.6729 15.027 2.08355 14.623 2.58952 14.623C3.09549 14.623 3.50613 15.027 3.50618 15.5247V20.0329C3.50618 21.0274 4.32843 21.8362 5.33952 21.8362H20.0062C21.0173 21.8362 21.8395 21.0274 21.8395 20.0329V15.5247C21.8396 15.027 22.2502 14.623 22.7562 14.623Z"}),r.createElement("path",{d:"M12.5827 2.00432C12.6425 1.99855 12.7028 1.99858 12.7625 2.00432C12.8129 2.00914 12.8619 2.01903 12.9095 2.03155C12.9191 2.03406 12.9287 2.03626 12.9382 2.03907C12.9531 2.04352 12.9677 2.04892 12.9823 2.0541C12.9942 2.05827 13.0063 2.06164 13.018 2.06631C13.0201 2.06713 13.022 2.06828 13.0241 2.06912C13.0374 2.07455 13.0502 2.08096 13.0631 2.08697C13.0774 2.09358 13.0918 2.09979 13.1058 2.10716C13.1185 2.11386 13.1306 2.1215 13.1429 2.12876C13.1553 2.13605 13.1679 2.14292 
84113.18 2.15083C13.1928 2.1592 13.2048 2.16863 13.2171 2.1776C13.2532 2.20388 13.2883 2.23233 13.3209 2.26448L18.5063 7.36438C18.8641 7.71642 18.8641 8.28726 18.5063 8.63935C18.3275 8.81562 18.0924 8.90374 17.8577 8.90374C17.6232 8.90368 17.3884 8.81556 17.2097 8.63935L13.5895 5.07834V17.328C13.5895 17.8257 13.1789 18.2296 12.6729 18.2296C12.1669 18.2296 11.7562 17.8257 11.7562 17.328V5.07834L8.13601 8.63982C7.95686 8.81558 7.72209 8.90368 7.48796 8.90374C7.25329 8.90374 7.01818 8.81562 6.83943 8.63935C6.48163 8.28727 6.48157 7.71642 6.83943 7.36438L12.0248 2.26448C12.0573 2.23242 12.0922 2.20382 12.1281 2.1776C12.1404 2.16863 12.1524 2.15921 12.1652 2.15083C12.1773 2.14292 12.1899 2.13605 12.2023 2.12876C12.2146 2.1215 12.2267 2.11387 12.2394 2.10716C12.2534 2.09978 12.2679 2.09358 12.2821 2.08697C12.2955 2.08074 12.3088 2.07425 12.3225 2.06865C12.3358 2.06326 12.3494 2.05885 12.3629 2.0541C12.3775 2.04892 12.3921 2.04352 12.4071 2.03907C12.4165 2.03625 12.4262 2.03406 12.4357 2.03155C12.4834 2.01901 12.5323 2.00916 12.5827 2.00432Z"})));function ea(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}const ta=(0,i.Ay)(T.$)`
842  position: fixed;
843  right: 16px;
844  bottom: 16px;
845  z-index: 2;
846  max-width: 300px;
847  display: flex;
848  align-items: center;
849  justify-content: center;
850  padding: 12px 32px;
851`,na=i.Ay.input`
852  position: absolute;
853  opacity: 0;
854  height: 100%;
855  width: 100%;
856  left: 0;
857  cursor: pointer;
858  /* When the click is delegated (consent before opening the picker), the
859     menu item handles the tap and the input is opened programmatically after
860     consent. Otherwise keep the native input clickable. */
861  pointer-events: ${e=>e.$clickDelegated?"none":"auto"};
862`,ra=(0,i.Ay)(Xo.A)`
863  padding: 16px;
864  svg {
865    margin-right: 8px;
866  }
867`,ia=e=>{let t=e.children,n=e.onFileChange,o=e.onClickUpload,a=e.openRef;const l=(0,p.Bd)().t,s=(0,i.DP)(),c=(x=r.useState(null),y=2,function(e){if(Array.isArray(e))return e}(x)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,l=[],s=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){c=!0,i=e}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return l}}(x,y)||function(e,t){if(e){if("string"==typeof e)return ea(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)?ea(e,t):void 0}}(x,y)||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.")}()),d=c[0],u=c[1],f=!!d,h=(0,r.useRef)(null),m=(0,r.useRef)(null),g=Boolean(o);var x,y;a&&(a.current=e=>{const t="camera"===e?h:m;t.current?.click()});const b=()=>{u(null)},v=e=>{b(),o?.(e)};return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(ta,{colorName:"secondary",onClick:e=>{u(e.currentTarget)},size:"large",children:t}),(0,C.jsxs)(Ko.A,{id:"upload-your-cv-menu",anchorEl:d,open:f,onClose:b,keepMounted:g,MenuListProps:{"aria-labelledby":"basic-button",sx:{width:d&&d.offsetWidth}},anchorOrigin:{vertical:"top",horizontal:"left"},transformOrigin:{vertical:"bottom",horizontal:"left"},children:[(0,C.jsxs)(ra,{onClick:g?()=>v("camera"):void 0,children:[(0,C.jsx)(na,{ref:h,$clickDelegated:g,"data-testid":"cvc-resume-upload-input",type:"file",accept:"image/*",capture:!0,onChange:e=>{n(e.target.files)}}),(0,C.jsx)(M.h,{View:Qo.P,size:32,theme:s,mode:"secondary"}),l("widget.take_picture_short")]}),(0,C.jsxs)(ra,{onClick:g?()=>v("file"):void 0,children:[(0,C.jsx)(na,{ref:m,$clickDelegated:g,"data-testid":"cvc-resume-upload-input",type:"file",onChange:e=>{n(e.target.files)}}),(0,C.jsx)(M.h,{View:Yo,size:32,theme:s,mode:"secondary"}),l("widget.upload_file_short")]})]})]})};function oa(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}const aa=e=>{const t=(0,p.Bd)().t;return(0,C.jsx)(ia,{...e,children:t("widget.file_input.main_text")})},la=()=>{const e=c.A.getResumeId(),t=(o=(0,r.useState)(!e),a=2,function(e){if(Array.isArray(e))return e}(o)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,l=[],s=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){c=!0,i=e}
867finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return l}}(o,a)||function(e,t){if(e){if("string"==typeof e)return oa(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)?oa(e,t):void 0}}(o,a)||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.")}()),n=t[0],i=t[1];var o,a;return n?(0,C.jsx)(Wo.A,{mobileUploadZoneView:aa,postAnalysisCallback:()=>{i(!1)},displayMobileAnalysisInModal:!0}):null};var sa=n(21279),ca=n(91590),da=n(62004),pa=n(73250),ua=n(43347),fa=n(95707),ha=n(24808);const ma=e=>{let t=e.view;const n=(0,a.j)(),i=(0,p.Bd)().t,o=(0,s._r)().config,d=(0,u.zy)(),f=(0,a.G)(x.I4),m=(0,a.G)(x.Ut),g=(0,a.G)(x.LH),y=(0,a.G)(b),v=(0,a.G)(l.JT),w=(0,a.G)(x.fj),j=(0,a.G)(e=>e.suggestions.fetchingComplete),_=(0,a.G)(x.x0),A=(0,a.G)(x.tC),k=(0,a.G)(bi.mO)||{},O=(0,a.G)(x.bl)||0,E=(0,a.G)(x.As),$=(0,a.G)(x.Hs);(()=>{const e=(0,a.j)(),t=(0,u.zy)(),n=(0,a.G)(pe.LT),i=(0,r.useRef)(t.search);(0,r.useEffect)(()=>{const r=i.current!==t.search;i.current=t.search,r&&"POP"===n?.action&&e((0,ua.C3)(t))},[e,t,n?.action])})(),(0,r.useEffect)(()=>{const e=de.M$.DISPLAYED_RESULTS_PAGES;n((0,de.Wf)(e,{})),!0===o.analytics?.at_internet&&fa.A.sendPage({name:"results_anal
867yse_cv",chapter1:"cv_catcher",chapter2:"parcours_web",level2:"1"})},[o.analytics?.at_internet,n]),(0,r.useEffect)(()=>{if(!g){const e=()=>{const e=m.custom_filters?.find(e=>"partner_meta.job_sector"===e.field);return e?e.values?.join("|"):m.job_sectors?.join("|")};E||$||v||(0,K.oU)(Q.PianoAnalytics.EventType.PAGE_DISPLAY,{page_category:Q.PianoAnalytics.FrontOffice.PageCategory.LIST,page_subject:Q.PianoAnalytics.FrontOffice.PageSubject.OFFER,page_type:Q.PianoAnalytics.FrontOffice.PageType.LO_EMPLOI,page_hostname:window.location.hostname,search_result:O,site_name:o.company_name,search_what:E,search_where:m.cities?.join("|"),search_contract:m.contracts?.join("|"),search_sector:e(),search_remote:m.remote_work_types?.map(e=>e.split("/").pop()).join("|")}),O&&(0,K.oU)(Q.PianoAnalytics.EventType.PRODUCT_DISPLAY,{product_data:w?.map((e,t)=>{const n=k[e];return(0,K.h6)(n,t+1+10*(_-1))})})}},[g]),(0,r.useEffect)(()=>{v&&c.A.setResumeId(v)},[v]),(0,r.useEffect)(()=>{if(g)return;let e=!1;const t=["cities","companies","contracts","countries","job_sectors","remote_work_types"].reduce((t,n)=>{const r=m[n];return t[n]=r.filter(t=>{const r=f[n].some(e=>e.key===t),i=o.brands.some(e=>e.name===t),a=r||"companies"===n&&i;return a||(e=!0),a}),t},{});e&&n((0,h.KV)(t,!0))},[m,g,d]),(0,r.useEffect)(()=>{const e=v||c.A.getResumeId();n((0,ua.UG)(d)),!1===y&&null===w?n((0,ua.Fz)(e)):v&&!j&&n((0,Zt.m3)()),n((0,pa.Y)(e))},[]);const S=(0,ho.xE)(window.location.href),L=(0,ho.jX)(window.location.href,_,A),P=L.nextPageUrl,T=L.prevPageUrl;return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsxs)(da.mg,{children:[(0,C.jsx)("title",{children:E?i("seo_markup.result_page.search_offer_title",{postProcess:"interval",count:O,clientName:o.company_name,searchText:E,jobOffersCount:O}):i("seo_markup.result_page.all_offers_title",{postProcess:"interval",count:O,clientName:o.company_name,jobOffersCount:O})}),(0,C.jsx)("meta",{name:"description",content:i("seo_markup.result_page.description",{postProcess:"interval",count:O,clientName:o.company_name,jobOffersCount:O})}),!E&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)("meta",{property:"og:title",content:i("seo_markup.result_page.all_offers_title",{postProcess:"interval",count:O,clientName:o.company_name,jobOffersCount:O})}),(0,C.jsx)("meta",{property:"og:description",content:i("seo_markup.result_page.description",{postProcess:"interval",count:O,clientName:o.company_name,jobOffersCount:O})})]}),(0,C.jsx)("meta",{property:"og:url",content:S}),(0,C.jsx)("link",{rel:"canonical",href:S}),o.company_url&&(0,C.jsx)("meta",{name:"publisher",content:o.company_url}),T&&(0,C.jsx)("link",{rel:"prev",href:T}),P&&(0,C.jsx)("link",{rel:"next",href:P})]}),(0,C.jsx)(ha.i,{}),(0,C.jsx)(t,{})]})};var ga=n(75573);const xa=i.Ay.main`
868  background-color: ${e=>
868e.theme.palette.pageBackground.serp};
869  margin-top: var(--app-wrapper-margin-top-desktop);
870
871  @media (min-width: 930px) {
872    margin-top: var(--app-wrapper-margin-top-desktop);
873  }
874
875  @media screen and (max-width: 991px) {
876    margin-top: var(--app-wrapper-margin-top-mobile);
877  }
878`,ya=i.Ay.div`
879  width: 100%;
880  padding: 0 24px;
881  display: flex;
882  align-items: center;
883  flex-direction: column;
884  position: absolute;
885  transform: translate(0, -50%);
886  z-index: 1;
887
888  ${e=>e.theme.breakpoints.down("laptop")} {
889    padding: 0 16px;
890  }
891`,ba=(0,i.Ay)(o.m)`
892  padding-top: 48px;
893  padding-bottom: 64px;
894
895  ${e=>e.theme.breakpoints.down("desktop")} {
896    padding-top: 64px;
897  }
898
899  ${e=>e.theme.breakpoints.down("tablet")} {
900    padding-top: 88px;
901  }
902`,va=(0,r.memo)(()=>{const e=(0,wr.Jr)().display_search_bar_on_results_page,t=(0,wr.MA)(),n=(0,zo.Cc)();return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsxs)(xa,{children:[(0,C.jsx)(Jo,{}),e&&(0,C.jsx)(ya,{children:(0,C.jsx)(ga.e,{})}),(0,C.jsx)(ba,{children:(0,C.jsx)(Io,{})}),!n&&(0,C.jsx)(la,{})]}),t&&(0,C.jsx)(ca.w,{}),(0,C.jsx)(sa.z,{})]})});va.displayName="ResultsPageView";const wa=()=>(0,C.jsx)(ma,{view:va})},98494(e,t,n){n.d(t,{NZ:()=>r,WV:()=>i});const r=()=>new URL(window.location.href).searchParams.has("show_map"),i=(e,t)=>{const n=t.map(t=>{try{const n=t.coordinates.split(",");return{...t,isVisible:e.getBounds().contains({lat:n[0],lng:n[1]})}}catch(e){return t}});return((e,t)=>{const n=[],r=[];return t.forEach(e=>{e.isVisible?n.push(e):r.push(e)}),n.sort((t,n)=>{try{const r=e.getCenter(),i=t.coordinates.split(","),o=n.coordinates.split(",");return Math.sqrt(Math.pow(r.lat-i[0],2)+Math.pow(r.lng-i[1],2))-Math.sqrt(Math.pow(r.lat-o[0],2)+Math.pow(r.lng-o[1],2))}catch(e){return 0}}).concat(r)})(e,n)}},85168(e,t,n){n.d(t,{B:()=>r});const r=e=>e.features?.spontaneousApplication?.active},42301(e,t,n){n.d(t,{YQ:()=>a,ZA:()=>i,k8:()=>o});const r="mapListScroll",i=0,o=e=>{const t=new URL(window.location.href);t.searchParams.set(r,String(e||i)),window.history.replaceState(null,null,t)},a=()=>{try{const e=new URL(window.location.href);return Number(e.searchParams.get(r))||i}catch(e){return i}}},99040(e,t,n){n.d(t,{u:()=>i});var r=n(14041),i=(0,r.forwardRef)(({size:e=24,...t},n)=>r.createElement("svg",{height:e,ref:n,viewBox:"0 0 24 24",width:e,xmlns:"http://www.w3.org/2000/svg",...t},r.createElement("path",{d:"M12.332 23.8203C13.1577 23.8203 13.8268 23.1513 13.8268 22.3256V3.31504C13.8268 2.48935 13.1577 1.82031 12.332 1.82031C11.5063 1.82031 10.8373 2.48935 10.8373 3.31504V22.3256C10.8373 23.1513 11.5063 23.8203 12.332 23.8203Z"}),r.createElement("path",{d:"M2.82676 14.315H21.8373C22.663 14.315 23.332 13.646 23.332 12.8203C23.332 11.9946 22.663 11.3256 21.8373 11.3256H2.82676C2.00107 11.3256 1.33203 11.9946 1.33203 12.8203C1.33203 13.646 2.00107 14.315 2.82676 14.315Z"})))}}]);

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.