(window.webpackJsonpdr_cs_frontend=window.webpackJsonpdr_cs_frontend||[]).push([[16],{742:function(e,t,n){"use strict";var o;n.d(t,"a",(function(){return o})),function(e){e.NAVIGATION="navigation-event",e.HEADER="header-event",e.HEADER_EXTENDED="header-extended-event",e.FOOTER="footer-event",e.FOOTER_EXTENDED="footer-extended-event"}(o||(o={}))},743:function(e,t,n){"use strict";n.d(t,"g",(function(){return o})),n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return l})),n.d(t,"c",(function(){return c})),n.d(t,"d",(function(){return d})),n.d(t,"e",(function(){return h})),n.d(t,"f",(function(){return f}));var o="Click_Apply",r="Main_job_ad",l="Mobile_job_ad",c="Preview",d="Sticky_job_ad",h="Spontaneous",f="Spontaneous_matching"},744:function(e,t,n){"use strict";n(46),n(143);var o=n(1),r=n(243),l=n(70),c=n(141),d=n(748),h=n(749),f=n(98),m=Object(o.defineComponent)({name:"ApplyJob",mixins:[h.a],emits:["click-apply"],components:{ModalConsent:d.a,Link:l.a,Button:c.a},props:{buttonClass:{type:String,default:void 0},isExternal:{type:Boolean,default:!1},careersSiteUrl:{type:String,default:void 0},applyEmail:{type:String,default:void 0},disabled:{type:Boolean,default:!1},openConsentModalOnLoad:{type:Boolean,default:!1},jobAdTitle:{type:String,default:void 0},brandName:{type:String,default:void 0}},data:function(){return{blankTarget:f.d.Blank,location:""}},computed:{applyText:function(){return Object(r.a)("ui.apply_button",this)},applyExternalJobAdText:function(){return this.applyEmail&&!this.careersSiteUrl?this.$t("ui.apply_button_mail"):this.applyText},externalUrl:function(){var e;if(this.applyEmail&&!this.careersSiteUrl){var body=this.$t("career.job_ad.apply_email_mailto_body",{job_ad_title:encodeURIComponent(null!==(e=this.jobAdTitle)&&void 0!==e?e:"")}),t=[];return this.jobAdTitle&&t.push(encodeURIComponent(this.jobAdTitle)),this.brandName&&t.push(this.brandName),this.location&&t.push(this.location),t.length>0?"mailto:".concat(this.applyEmail,"?subject=").concat(t.join(" | "),"&body=").concat(body):"mailto:".concat(this.applyEmail,"?body=").concat(body)}return this.careersSiteUrl}},methods:{clickApply:function(){this.$emit("click-apply"),this.openConsentModal()}},created:function(){this.openConsentModalOnLoad&&this.openConsentModal()},mounted:function(){this.location=window.location.href}}),v=n(6),component=Object(v.a)(m,(function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"apply-job-container"},[e.disabled||e.isExternal?!e.disabled&&e.isExternal?[t("Link",{staticClass:"action__button",class:e.buttonClass,attrs:{href:e.externalUrl,target:e.blankTarget}},[e._v("\n      "+e._s(e.applyExternalJobAdText)+"\n    ")])]:[t("Button",{staticClass:"action__button",class:e.buttonClass,attrs:{disabled:!0}},[e._v("\n      "+e._s(e.applyText)+"\n    ")])]:[t("Button",{staticClass:"action__button",class:e.buttonClass,on:{click:e.clickApply}},[e._v("\n      "+e._s(e.applyText)+"\n    ")]),e._v(" "),t("portal",{attrs:{to:"overlay"}},[e.shouldDisplayConsentModal?t("ModalConsent",{attrs:{"consent-src":e.consentIframeSrc},on:{"close-modal":e.closeConsentModal}}):e._e()],1)]],2)}),[],!1,null,null,null);t.a=component.exports},745:function(e,t,n){"use strict";n(71),n(27),n(9);var o=n(1),r=n(11),l=Object(o.defineComponent)({name:"CommonConfigurationMixin",computed:{jobAdListingSettings:function(){return this.$store.getters[r.CAREERS_SITE_NAMESPACE+"/jobAdListingSettings"]},brands:function(){return this.$store.getters[r.CAREERS_SITE_NAMESPACE+"/brands"]},hasEnableAggregateLogo:function(){var e;return null!==(e=this.jobAdListingSettings.enable_aggregate_logo)&&void 0!==e&&e}},methods:{getMarkName:function(e){var t,n=this.getBrand(e);return null!==(t=null==n?void 0:n.name)&&void 0!==t?t:""},getMarkLogo:function(e){var t=this.getBrand(e);return null==t?void 0:t.image},setMarkLogo:function(e){return this.hasEnableAggregateLogo&&e&&e.brand_id?this.getMarkLogo(e.brand_id):void 0},getBrand:function(e){return this.brands.find((function(t){return t.id===e}))}}}),c=n(6),component=Object(c.a)(l,undefined,undefined,!1,null,null,null);t.a=component.exports},746:function(e,t,n){"use strict";n(9),n(197);var o=n(3),r=n(4),l=n(106),c=n(44),d=n(107),h=n(0),f=n(454),m=n(1),v=n(95);m.default.use(v.b);var _=new v.a({});function y(e,t,n){return t=Object(c.a)(t),Object(l.a)(e,x()?Reflect.construct(t,n||[],Object(c.a)(e).constructor):t.apply(e,n))}function x(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(x=function(){return!!e})()}var C=function(e){function t(){var e;return Object(o.a)(this,t),(e=y(this,t,arguments)).page=0,e.index=-1,e.text="",e}return Object(d.a)(t,e),Object(r.a)(t,[{key:"next",value:function(){this.page+=1}},{key:"previous",value:function(){this.page>0&&(this.page-=1),0===this.page&&(this.index=-1)}},{key:"resetPage",value:function(){this.page=0,this.index=-1}},{key:"setIndex",value:function(e){this.index=e}},{key:"setText",value:function(text){this.text=text}},{key:"getPage",get:function(){return this.page}},{key:"getIndex",get:function(){return this.index}},{key:"getText",get:function(){return this.text}}]),t}(f.VuexModule);Object(h.a)([f.Mutation],C.prototype,"next",null),Object(h.a)([f.Mutation],C.prototype,"previous",null),Object(h.a)([f.Mutation],C.prototype,"resetPage",null),Object(h.a)([f.Mutation],C.prototype,"setIndex",null),Object(h.a)([f.Mutation],C.prototype,"setText",null),C=Object(h.a)([Object(f.Module)({dynamic:!0,store:_,name:"Modal",namespaced:!0})],C);t.a=C},747:function(e,t,n){"use strict";n(46);var o=n(1),r=n(454),l=(n(18),n(19),n(48),n(40),n(32),n(9),n(24),n(8)),c=(n(195),n(142)),d=n(742),h=n(99),f=n(746),m=n(750),v=n(245),_=n(144);function y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function x(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?y(Object(n),!0).forEach((function(t){Object(l.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):y(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var C=Object(r.getModule)(f.a),S=Object(o.defineComponent)({name:"ModalHeader",computed:{ButtonVariants:function(){return v.a}},components:{IconButton:m.a,Icon:c.a,Link:_.a},props:{text:{type:String,default:""},textExtended:{type:String,default:""},textActionButton:{type:String,required:!0},iconNavigation:{type:Object,required:!0},iconTitle:{type:Object},iconExtended:{type:Object},page:{type:Number,required:!0},extended:{type:Boolean,default:!1}},data:function(){return{iconButtonNavigation:{leftIcon:x({},this.iconNavigation)},cloneText:this.text}},methods:{modalAction:function(){this.$emit(d.a.NAVIGATION)},action:function(){return this.$emit(d.a.HEADER,!0),!0},extendedAction:function(){this.$emit(d.a.HEADER_EXTENDED)}},watch:{page:function(e){if(e>0)return this.iconButtonNavigation.leftIcon&&(this.iconButtonNavigation.leftIcon.type=h.a.ARROW_LEFT,this.iconButtonNavigation.leftIcon.text="Before"),void(this.cloneText=C.getText);this.iconButtonNavigation.leftIcon=x({},this.iconNavigation),this.cloneText=this.text}}}),w=n(6),component=Object(w.a)(S,(function(){var e=this,t=e._self._c;e._self._setupProxy;return t("header",{staticClass:"modal__header"},[t("IconButton",e._b({attrs:{variant:"link"},nativeOn:{click:function(t){return e.modalAction.apply(null,arguments)}}},"IconButton",e.iconButtonNavigation,!1)),e._v(" "),e.iconTitle||e.cloneText?t("div",{staticClass:"modal__header-title"},[e.iconTitle?t("Icon",e._b({},"Icon",e.iconTitle,!1)):e._e(),e._v(" "),e.cloneText?t("span",[e._v(e._s(e.cloneText))]):e._e()],1):e._e(),e._v(" "),e.extended&&(e.iconExtended||e.textExtended)?t("IconButton",{attrs:{"left-icon":e.iconExtended,label:e.textExtended,variant:e.ButtonVariants.LINK},nativeOn:{click:function(t){return e.extendedAction.apply(null,arguments)}}}):e._e(),e._v(" "),t("Link",{attrs:{href:"#",text:"textActionButton"},nativeOn:{click:function(t){return t.preventDefault(),e.action.apply(null,arguments)}}},[e._v("\n    "+e._s(e.textActionButton)+"\n  ")])],1)}),[],!1,null,null,null),O=component.exports,A=n(754),E=n(757),j=Object(r.getModule)(f.a),k=Object(o.defineComponent)({name:"Modal",components:{ModalFooter:A.a,ModalHeader:O},props:{headerSettings:{type:Object,default:null},footerSettings:{type:Object,default:null},displayHeader:{type:Boolean,default:!0},displayFooter:{type:Boolean,default:!0},rewind:{type:Boolean,default:!1},extended:{type:Boolean,default:!1}},data:function(){return{focusableEls:[],iframe:null,iframeLoaded:!1}},computed:{page:function(){return j.getPage},ariaLabel:function(){var e;return null===(e=this.headerSettings)||void 0===e?void 0:e.text},firstFocusableEl:function(){return this.focusableEls.length>0?this.focusableEls[0]:void 0},lastFocusableEl:function(){return this.focusableEls.length>0?this.focusableEls[this.focusableEls.length-1]:void 0}},methods:{navigationEvent:function(){0===this.page?this.$emit("close-modal"):j.previous()},headerEvent:function(e){return this.$emit("modal-action",e),e},headerExtendedEvent:function(e){this.$emit(d.a.HEADER_EXTENDED,e)},footerEvent:function(e){return j.resetPage(),this.$emit("close-modal",e),e},lockFocusOnModal:function(){this.setFocusableEls(),this.focusOnFirstElement(),this.addEventListeners()},setFocusableEls:function(){var e,t=this;this.focusableEls=Object(E.a)(this.$el),this.iframe=this.$el.querySelector("iframe"),this.iframeLoaded?this.addIframeFocusableEls():(null===(e=this.iframe)||void 0===e?void 0:e.contentWindow)&&this.iframe.contentWindow.addEventListener("load",(function(){t.iframeLoaded=!0,t.addIframeFocusableEls()}))},focusOnFirstElement:function(){this.firstFocusableEl&&this.firstFocusableEl.focus()},focusOnLastElement:function(){this.lastFocusableEl&&this.lastFocusableEl.focus()},addEventListeners:function(){this.removeEventListeners(),window.addEventListener("keydown",this.handleKeydownEvent),this.iframe&&this.iframe.contentWindow&&(window.document.addEventListener("popup-content-changed",this.setFocusableEls,!1),this.iframe.contentWindow.addEventListener("keydown",this.handleKeydownEvent))},removeEventListeners:function(){window.removeEventListener("keydown",this.handleKeydownEvent),this.iframe&&this.iframe.contentWindow&&(window.document.removeEventListener("iframe-content-changed",this.setFocusableEls),this.iframe.contentWindow.removeEventListener("keydown",this.handleKeydownEvent))},addIframeFocusableEls:function(){var e,t,n,o,r,l=(null===(t=null===(e=this.iframe)||void 0===e?void 0:e.contentDocument)||void 0===t?void 0:t.body)||(null===(r=null===(o=null===(n=this.iframe)||void 0===n?void 0:n.contentWindow)||void 0===o?void 0:o.document)||void 0===r?void 0:r.body);if(l){var c=Object(E.a)(l);this.focusableEls=this.focusableEls.concat(c)}},handleKeydownEvent:function(e){var t,n,o=document.activeElement;this.iframe&&(o=null===(n=null===(t=this.iframe.contentWindow)||void 0===t?void 0:t.document)||void 0===n?void 0:n.activeElement),"Tab"===e.key||9===e.keyCode?e.shiftKey?o===this.firstFocusableEl&&(this.focusOnLastElement(),e.preventDefault()):o===this.lastFocusableEl&&(this.focusOnFirstElement(),e.preventDefault()):"Escape"!==e.key&&"Escape"!==e.code||this.$emit("close-modal")}},watch:{rewind:function(e){e&&j.resetPage()}},mounted:function(){var e=this;this.$nextTick((function(){return e.lockFocusOnModal()}))},beforeDestroy:function(){this.removeEventListeners()}}),P=Object(w.a)(k,(function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"modal",attrs:{role:"dialog","aria-modal":"true","aria-label":e.ariaLabel}},[e.displayHeader?e._t("header",(function(){return[t("ModalHeader",e._b({attrs:{page:e.page,extended:e.extended},on:{"header-event":e.headerEvent,"navigation-event":e.navigationEvent,"header-extended-event":e.headerExtendedEvent}},"ModalHeader",e.headerSettings,!1))]})):e._e(),e._v(" "),t("main",{staticClass:"modal__main",attrs:{role:"main"}},[e._t("body")],2),e._v(" "),e.displayFooter?e._t("footer",(function(){return[t("ModalFooter",e._b({attrs:{extended:e.extended},on:{"footer-event":e.footerEvent}},"ModalFooter",e.footerSettings,!1))]})):e._e()],2)}),[],!1,null,null,null);t.a=P.exports},748:function(e,t,n){"use strict";var o=n(1),r=n(747),l=n(99),c=n(142),d=n(756),h=Object(o.defineComponent)({name:"ModalConsent",mixins:[d.a],components:{Modal:r.a,Icon:c.a},props:{consentSrc:{type:String,required:!0}},computed:{iconClose:function(){return{type:l.a.CLOSE,text:this.$t("ui.close")}},iframeTitle:function(){return this.$t("ui.apply_button")}}}),f=n(6),component=Object(f.a)(h,(function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"overlay consent"},[t("Modal",{staticClass:"consent-modal",attrs:{"display-footer":!1,"display-header":!1},on:{"close-modal":function(t){return e.$emit("close-modal")}},scopedSlots:e._u([{key:"body",fn:function(){return[t("button",{staticClass:"modal__close-button",on:{click:function(t){return e.$emit("close-modal")}}},[t("Icon",e._b({},"Icon",e.iconClose,!1))],1),e._v(" "),t("iframe",{staticClass:"consent-iframe",attrs:{title:e.iframeTitle,src:e.consentSrc}})]},proxy:!0}])})],1)}),[],!1,null,null,null);t.a=component.exports},749:function(e,t,n){"use strict";n(46),n(32),n(9),n(17),n(47),n(43);var o=n(1);n(37),n(165),n(42),n(164);var r=n(122),l=n(11);function c(e,t){var n=e.host,o=e.account,r=e.token;if(!n||!o||!r)throw new Error("Invalid TextKernel widget configuration");var l,c,script,d="https://".concat(n,"/sourcebox/js/tkwidget.js"),h={account:o,token:r,hostname:"https://".concat(n,"/sourcebox"),interfacelocale:"french",showEditing:!1,skipStore:!1,doValidation:!1,postProfileUrl:t};window.TK?window.TK.CONFIG=h:(l=d,c=function(){window.TK.CONFIG=h},(script=document.createElement("script")).type="text/javascript",script.src=l,script.onload=c,document.getElementsByTagName("head")[0].appendChild(script))}var d=n(242),h=Object(o.defineComponent)({name:"ConsentMixin",props:{jobAdId:{type:String},jobAdCareerDomain:{type:String}},data:function(){return{shouldDisplayConsentModal:!1}},computed:{domainName:function(){return this.$store.getters[l.CAREERS_SITE_NAMESPACE+"/domainName"]},inMatchingMode:function(){return this.$store.state[d.JOB_ADS_NAMESPACE].inMatchingMode},consentIframeSrc:function(){var e,t,n,o=function(component,e){for(var t in e=e||new URLSearchParams,component.$route.query)if(Object.prototype.hasOwnProperty.call(component.$route.query,t)&&t.startsWith("utm_")){var n=component.$route.query[t];"string"==typeof n&&e.append(t,n)}return e}(this),c=null!==(e=this.jobAdCareerDomain)&&void 0!==e?e:this.domainName;if(this.jobAdId){o.append("jobAdId",this.jobAdId);var d=this.jobAdId.split("-")[0];o.append("hasAppliedToJobAd",this.getHasAppliedToJobAdValue(d))}(null===(n=null===(t=this.$route)||void 0===t?void 0:t.params)||void 0===n?void 0:n.jobAdBroadcastHash)&&o.append("broadcastHash",this.$route.params.jobAdBroadcastHash),this.inMatchingMode&&o.append("hasMatchingMode",this.inMatchingMode.toString());var h=this.$store.state[l.CAREERS_SITE_NAMESPACE].draftHash;return h&&o.append("draft_hash",h.toString()),r.a.replace(":domainName",c).replace(":locale",this.$i18n.locale).replace(":query",o.toString())}},methods:{getHasAppliedToJobAdValue:function(e){var t=localStorage.getItem("__amplify__hasAppliedToJobAd"+e);return t&&JSON.parse(t).data?"1":"0"},openConsentModal:function(){this.shouldDisplayConsentModal=!0,this.initTextKernelWidget()},closeConsentModal:function(){this.shouldDisplayConsentModal=!1},initTextKernelWidget:function(){var e,t=null!==(e=this.jobAdCareerDomain)&&void 0!==e?e:this.domainName,n=this.jobAdId?this.jobAdId.split("-")[0]:"0",o=this.$i18n.locale.replace("-","_"),r="https://".concat(t,"/server/social/process/").concat(n,"?locale=").concat(o);c(this.$config.textKernelWidgetConfig,r)}}}),f=h,m=n(6),component=Object(m.a)(f,undefined,undefined,!1,null,null,null);t.a=component.exports},752:function(e,t,n){"use strict";var o=n(1),r=n(246);t.a=Object(o.defineComponent)({name:"BreakpointsMixin",computed:{isDesktop:function(){return this.$breakpoints.width>=r.c},isMobile:function(){return this.$breakpoints.width<=r.a},isTablet:function(){return this.$breakpoints.width>=r.d&&this.$breakpoints.width<=r.b}},render:function(){return null}})},754:function(e,t,n){"use strict";var o=n(1),r=n(742),l=n(145),c=n(750),d=n(245),h=Object(o.defineComponent)({name:"ModalFooter",computed:{ButtonVariants:function(){return d.a}},components:{Button:l.a,IconButton:c.a},props:{text:{type:String,required:!0},textExtended:{type:String},textExtendedButton:{type:String},extendedButtonIcon:{type:Object},isExtendedButtonDisabled:{type:Boolean,default:!1},extended:{type:Boolean,default:!1}},methods:{action:function(){this.$emit(r.a.FOOTER)},extendedAction:function(){this.$emit(r.a.FOOTER_EXTENDED)}}}),f=n(6),component=Object(f.a)(h,(function(){var e=this,t=e._self._c;e._self._setupProxy;return t("footer",{staticClass:"modal__footer"},[e.extended?t("IconButton",{staticClass:"modal__footer-extended-button",attrs:{"left-icon":e.extendedButtonIcon,label:e.textExtendedButton,variant:e.isExtendedButtonDisabled?e.ButtonVariants.DISABLED:e.ButtonVariants.LIGHT,disabled:e.isExtendedButtonDisabled},on:{click:e.extendedAction}}):e._e(),e._v(" "),t("Button",{staticClass:"modal__footer-button",on:{click:e.action}},[e._v(e._s(e.extended?e.textExtended:e.text))])],1)}),[],!1,null,null,null);t.a=component.exports},756:function(e,t,n){"use strict";var o=n(1);t.a=Object(o.defineComponent)({mounted:function(){document.documentElement.style.overflowY="hidden"},beforeDestroy:function(){document.documentElement.style.overflowY="scroll"}})},757:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));n(143),n(9),n(24);var o=["a[href]","area","button","input","select","summary","textarea","*[tabindex]"];function r(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.querySelectorAll(o.join(", ")),r=[];return n.forEach((function(element){var e=element;(t.hidden||function(e){return e.offsetHeight>0&&!e.disabled&&e.tabIndex>-1}(e))&&r.push(e)})),r}},760:function(e,t,n){"use strict";n.d(t,"b",(function(){return c})),n.d(t,"a",(function(){return m}));var o=n(1),r=Object(o.defineComponent)({name:"InputText",props:{value:{type:String,default:""},placeholder:{type:String,default:""},required:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1}}}),l=n(6),c=Object(l.a)(r,(function(){var e=this,t=e._self._c;e._self._setupProxy;return t("input",{attrs:{type:"text",placeholder:e.placeholder,required:e.required,disabled:e.disabled,readonly:e.readonly,tabindex:"0"},domProps:{value:e.value},on:{input:function(t){return e.$emit("input",t.target.value)},change:function(t){return e.$emit("change",t.target.value)}}})}),[],!1,null,null,null).exports,d=Object(o.defineComponent)({name:"ButtonRadio",model:{prop:"isChecked",event:"change"},props:{isChecked:{type:String,default:null},value:{type:String,default:null},disabled:{type:Boolean,default:!1},required:{type:Boolean,default:!1}},computed:{checked:function(){return this.isChecked===this.value}}}),h=(Object(l.a)(d,(function(){var e=this,t=e._self._c;e._self._setupProxy;return t("input",{attrs:{type:"radio",required:e.required,disabled:e.disabled},domProps:{checked:e.checked,value:e.value},on:{change:function(t){return e.$emit("change",t.target.value)}}})}),[],!1,null,null,null).exports,n(63)),f=(n(36),n(320),n(9),n(47),n(41),Object(o.defineComponent)({name:"ButtonCheckbox",model:{prop:"aggregatedValue",event:"change"},props:{value:{type:String,required:!0},disabled:{type:Boolean,default:!1},required:{type:Boolean,default:!1},aggregatedValue:{default:!1},trueValue:{default:!0},falseValue:{default:!1},inline:{type:Boolean,default:!1},extended:{type:Boolean,default:!1}},computed:{safeId:function(){return"dr-checkbox-".concat(Math.random().toString(36).substr(2,7))},orientation:function(){return{display:this.inline?"inline-flex":"flex"}},checked:function(){return this.aggregatedValue instanceof Array?this.aggregatedValue.includes(this.value):this.aggregatedValue===this.trueValue}},methods:{emitChange:function(e){var t=e.target.checked;if(this.aggregatedValue instanceof Array){var n=Object(h.a)(this.aggregatedValue);t?n.push(this.value):n.splice(n.indexOf(this.value),1),this.$emit("change",n)}else this.$emit("change",t?this.trueValue:this.falseValue)}}})),m=Object(l.a)(f,(function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"dr-checkbox",class:{"dr-checkbox--extended":e.extended},style:e.orientation},[t("input",{staticClass:"dr-checkbox__input",attrs:{id:e.safeId,type:"checkbox",disabled:e.disabled,required:e.required},domProps:{checked:e.checked,value:e.value},on:{change:e.emitChange}}),e._v(" "),t("label",{staticClass:"dr-checkbox__label",attrs:{for:e.safeId}},[e._t("default")],2)])}),[],!1,null,null,null).exports,v=(n(27),Object(o.defineComponent)({name:"InputFile",props:{value:{type:String,default:""},title:{type:String,default:""},name:{type:String,required:!0},required:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},multiple:{type:Boolean,default:!1},dragAndDropActive:{type:Boolean,default:!1}},methods:{dragover:function(e){e.currentTarget instanceof HTMLElement&&(e.preventDefault(),this.$emit("dragover",e))},dragleave:function(e){e.currentTarget instanceof HTMLElement&&this.$emit("dragleave",e)},drop:function(e){var t;this.$el instanceof HTMLInputElement&&(e.preventDefault(),this.$emit("drop",e),this.$el.files=(null===(t=e.dataTransfer)||void 0===t?void 0:t.files)||null,this.dragleave(e))}}}));Object(l.a)(v,(function(){var e=this,t=e._self._c;e._self._setupProxy;return t("input",{staticClass:"input-file",attrs:{type:"file",name:e.name,required:e.required,tabindex:"0",multiple:e.multiple,disabled:e.disabled},domProps:{value:e.value},on:{input:function(t){return e.$emit("input",t)},change:function(t){return e.$emit("change",t)},dragover:function(t){e.dragAndDropActive&&e.dragover},dragleave:function(t){e.dragAndDropActive&&e.dragleave},drop:function(t){e.dragAndDropActive&&e.drop}}})}),[],!1,null,null,null).exports},789:function(e,t,n){"use strict";n.d(t,"a",(function(){return Y}));var o=n(2),r=(n(25),n(18),n(51),n(80),n(763),n(79),n(36),n(28),n(9),n(55),n(27),n(17),n(47),n(41),n(37),n(78),n(787),n(24),n(42),n(21)),l=n(327),c=n(98),d=n(4),h=n(3),f=n(0),m=n(452),v=n(313),_=Object(d.a)((function e(t,data){Object(h.a)(this,e),this.logic_value=c.a.CustomSection,this.id=t,this.title=data.title,this.text=data.text,this.display_variation=data.display_variation,this.picture=data.picture,this.link=data.link?new v.a(data.link):void 0}));Object(f.a)([Object(m.a)()],_.prototype,"link",void 0);var y=n(163),picture=n(315),x=Object(d.a)((function e(input){Object(h.a)(this,e),this.job_title=input.job_title,this.name=input.name,input.photo&&(this.photo=new picture.a(input.photo))}));Object(f.a)([Object(y.a)()],x.prototype,"job_title",void 0),Object(f.a)([Object(y.a)()],x.prototype,"name",void 0),Object(f.a)([Object(m.a)()],x.prototype,"photo",void 0);var C=Object(d.a)((function e(t,data){Object(h.a)(this,e),this.logic_value=c.a.HighlightedQuote,this.id=t,this.title=data.title,this.quote=data.quote,this.color=data.color,this.author=new x(data.author),this.link=new v.a(data.link)}));Object(f.a)([Object(y.a)()],C.prototype,"quote",void 0),Object(f.a)([Object(y.a)()],C.prototype,"color",void 0),Object(f.a)([Object(m.a)()],C.prototype,"author",void 0),Object(f.a)([Object(m.a)()],C.prototype,"link",void 0);var S=Object(d.a)((function e(data){Object(h.a)(this,e),this.title=data.title,this.text=data.text,this.color=data.color}));Object(f.a)([Object(y.a)()],S.prototype,"title",void 0),Object(f.a)([Object(y.a)()],S.prototype,"text",void 0),Object(f.a)([Object(y.a)()],S.prototype,"color",void 0);var w=Object(d.a)((function e(t,data){var n;Object(h.a)(this,e),this.logic_value=c.a.KeyFigures,this.id=t,this.title=data.title,this.subtitle=null!==(n=data.subtitle)&&void 0!==n?n:"",this.items=data.items.map((function(e){return new S(e)}))}));Object(f.a)([Object(y.a)()],w.prototype,"title",void 0),Object(f.a)([Object(y.a)()],w.prototype,"subtitle",void 0),Object(f.a)([Object(m.a)()],w.prototype,"items",void 0);var O=n(736),A=Object(d.a)((function e(data){Object(h.a)(this,e),this.foreign_id=data.foreign_id,this.type=data.type,this.title=data.title,this.external_url=data.external_url,this.thumbnail_src=data.thumbnail_src,void 0!==data.displayConsent&&(this.displayConsent=data.displayConsent)}));Object(f.a)([Object(y.a)()],A.prototype,"foreign_id",void 0),Object(f.a)([Object(y.a)()],A.prototype,"title",void 0),Object(f.a)([Object(O.a)()],A.prototype,"displayConsent",void 0);var E=Object(d.a)((function e(t,data){Object(h.a)(this,e),this.logic_value=c.a.LatestVideos,this.id=t,this.title=data.title,this.items=data.items.map((function(e){return new A(e)}))}));Object(f.a)([Object(y.a)()],E.prototype,"id",void 0),Object(f.a)([Object(y.a)()],E.prototype,"title",void 0),Object(f.a)([Object(m.a)()],E.prototype,"items",void 0);var j=Object(d.a)((function e(data){Object(h.a)(this,e),this.logo=new picture.a(data.logo),data.external_link&&(this.external_link=new v.a(data.external_link))}));Object(f.a)([Object(m.a)()],j.prototype,"logo",void 0);var k=Object(d.a)((function e(t,data){var n;Object(h.a)(this,e),this.logic_value=c.a.OurBrands,this.id=t,this.title=data.title,this.subtitle=null!==(n=data.subtitle)&&void 0!==n?n:"",this.items=data.items.map((function(e){return new j(e)}))}));Object(f.a)([Object(y.a)()],k.prototype,"id",void 0),Object(f.a)([Object(y.a)()],k.prototype,"title",void 0),Object(f.a)([Object(y.a)()],k.prototype,"subtitle",void 0),Object(f.a)([Object(m.a)()],k.prototype,"items",void 0);var P=Object(d.a)((function e(t,data){Object(h.a)(this,e),this.logic_value=c.a.Slideshow,this.id=t,this.title=data.title,this.items=data.items.map((function(e){return new picture.a(e)})),data.badge&&(this.badge=new picture.a(data.badge))})),M=Object(d.a)((function e(data){Object(h.a)(this,e),this.text=data.text,this.author=new x(data.author)}));Object(f.a)([Object(y.a)()],M.prototype,"text",void 0),Object(f.a)([Object(m.a)()],M.prototype,"author",void 0);var I=Object(d.a)((function e(t,data){Object(h.a)(this,e),this.logic_value=c.a.Testimonials,this.id=t,this.title=data.title,this.items=data.items.map((function(e){return new M(e)})),this.color=data.color,this.backgroundColor=data.backgroundColor}));Object(f.a)([Object(y.a)()],I.prototype,"title",void 0),Object(f.a)([Object(y.a)()],I.prototype,"color",void 0),Object(f.a)([Object(y.a)()],I.prototype,"backgroundColor",void 0),Object(f.a)([Object(m.a)()],I.prototype,"items",void 0);var B=Object(d.a)((function e(t,data){Object(h.a)(this,e),this.logic_value=c.a.TextBlock,this.id=t,this.title=data.title,this.text=data.text,this.link=data.link?new v.a(data.link):void 0}));Object(f.a)([Object(y.a)()],B.prototype,"title",void 0),Object(f.a)([Object(y.a)()],B.prototype,"text",void 0),Object(f.a)([Object(m.a)()],B.prototype,"link",void 0);var $=Object(d.a)((function e(t,data){Object(h.a)(this,e),this.logic_value=c.a.AWordFrom,this.id=t,this.title=data.title,this.text=data.text,this.author=new x(data.author),this.color=data.color,data.link&&(this.link=new v.a(data.link))}));Object(f.a)([Object(y.a)()],$.prototype,"title",void 0),Object(f.a)([Object(y.a)()],$.prototype,"text",void 0),Object(f.a)([Object(y.a)()],$.prototype,"color",void 0),Object(f.a)([Object(m.a)()],$.prototype,"author",void 0),Object(f.a)([Object(m.a)()],$.prototype,"link",void 0);var F=n(86),T=Object(d.a)((function e(t,n){Object(h.a)(this,e),this.locale=t.locale,this.meta=t.meta,this.blocks=n,this.name=t.name})),D=T=Object(f.a)([F.a],T),R=n(128),meta=n(318),N=Object(d.a)((function e(input){Object(h.a)(this,e),this.id=input.id,this.logic_value=input.logic_value,input.detail&&(this.detail=input.detail)}));Object(f.a)([Object(y.a)()],N.prototype,"id",void 0);var L=Object(d.a)((function e(input){Object(h.a)(this,e),this.locale=new R.a(input.locale),input.name&&(this.name=input.name),this.meta=new meta.a(input.meta),this.blocks=input.blocks.map((function(e){return new N(e)}))}));Object(f.a)([Object(m.a)()],L.prototype,"locale",void 0),Object(f.a)([Object(m.a)()],L.prototype,"meta",void 0),Object(f.a)([Object(m.a)()],L.prototype,"blocks",void 0);var J=n(116),V=n(56),H=Object(d.a)((function e(t,data){Object(h.a)(this,e),this.logic_value=c.a.HtmlBlock,this.id=t,this.title=data.title,this.html=data.html})),W=n(11),U=Object(d.a)((function e(t,data){var n;Object(h.a)(this,e),this.logic_value=c.a.ImageBlock,this.id=t,this.title=null!==(n=data.title)&&void 0!==n?n:"",this.picture=data.picture}));Object(f.a)([Object(y.a)()],U.prototype,"title",void 0),Object(f.a)([Object(m.a)()],U.prototype,"picture",void 0);var z=Object(d.a)((function e(t,data){Object(h.a)(this,e),this.logic_value=c.a.VideoBlock,this.id=t,this.block_title=data.block_title,this.foreign_id=data.foreign_id,this.title=data.title,this.external_url=data.external_url,this.thumbnail_src=data.thumbnail_src,this.type=data.type}));function K(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return G(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return G(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,o=function(){};return{s:o,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,l=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return l=e.done,e},e:function(e){c=!0,r=e},f:function(){try{l||null==n.return||n.return()}finally{if(c)throw r}}}}function G(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=new Array(t);i<t;i++)n[i]=e[i];return n}function Y(e,t,n,o,r){return Z.apply(this,arguments)}function Z(){return(Z=Object(o.a)(regeneratorRuntime.mark((function e(t,n,o,r,l){var c,d,h,f,m,v,_;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return d=!0,h=[],e.next=4,X(t,o,d);case 4:if(f=e.sent,!d){e.next=10;break}m=K(f.blocks);try{for(m.s();!(v=m.n()).done;)_=v.value,h.push(se(_.logic_value,_.id,_.detail,n))}catch(e){m.e(e)}finally{m.f()}e.next=13;break;case 10:return e.next=12,te(t,n,f.blocks);case 12:h=e.sent;case 13:return l&&(h=ce(l,h)),(null===(c=null==r?void 0:r.store)||void 0===c?void 0:c.state[W.CAREERS_SITE_NAMESPACE].draftHash)&&(h=Q(h)),e.abrupt("return",new D(f,h));case 17:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Q(e){return e.map((function(e){var t;return e.logic_value===c.a.HighlightedQuote?(null===(t=e.link)||void 0===t?void 0:t.logicValue)&&l.a.includes(e.link.logicValue)&&(e.link.target=c.d.Self):e.logic_value===c.a.OurBrands&&(e.items=e.items.map((function(e){var t;return(null===(t=e.external_link)||void 0===t?void 0:t.logicValue)&&l.a.includes(e.external_link.logicValue)&&(e.external_link.target=c.d.Self),e}))),e}))}function X(e,t,n){return ee.apply(this,arguments)}function ee(){return(ee=Object(o.a)(regeneratorRuntime.mark((function e(t,n,o){var r,l,data;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return l={with_block_detail:o,published_blocks:!0},e.prev=1,e.next=4,J.a.getPage(t.careers_site_domain_name,t.locale.iso_code,n,l);case 4:data=e.sent,r=new L(data),e.next=11;break;case 8:e.prev=8,e.t0=e.catch(1),Object(V.a)(e.t0);case 11:return le(r),e.abrupt("return",r);case 13:case"end":return e.stop()}}),e,null,[[1,8]])})))).apply(this,arguments)}function te(e,t,n){return ne.apply(this,arguments)}function ne(){return(ne=Object(o.a)(regeneratorRuntime.mark((function e(t,n,o){var r,l;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,ie(t,n,o);case 2:return r=e.sent,l=[],r.forEach((function(e){"fulfilled"===e.status&&l.push(e.value)})),e.abrupt("return",l);case 6:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function ie(e,t,n){return oe.apply(this,arguments)}function oe(){return(oe=Object(o.a)(regeneratorRuntime.mark((function e(t,n,o){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.allSettled(o.map((function(e){return re(t,n,e.logic_value,e.id)})));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function re(e,t,n,o){return ae.apply(this,arguments)}function ae(){return(ae=Object(o.a)(regeneratorRuntime.mark((function e(t,n,o,r){var l,data;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,J.a.getBlock(t.careers_site_domain_name,t.locale.iso_code,o,r);case 3:data=e.sent,l=se(o,r,data,n),e.next=10;break;case 7:e.prev=7,e.t0=e.catch(0),Object(V.a)(e.t0);case 10:return le(l),e.abrupt("return",l);case 12:case"end":return e.stop()}}),e,null,[[0,7]])})))).apply(this,arguments)}function se(e,t,data,n){switch(e){case c.a.Slideshow:return new P(t,data);case c.a.HighlightedQuote:return new C(t,data);case c.a.KeyFigures:return new w(t,data);case c.a.TextBlock:return new B(t,data);case c.a.AWordFrom:return new $(t,data);case c.a.OurBrands:return new k(t,data);case c.a.LatestVideos:return function(e,data,t){return data.items=data.items.map((function(e){return e.displayConsent=t.disabling_tac,e})),new E(e,data)}(t,data,n);case c.a.Testimonials:return new I(t,data);case c.a.CustomSection:return new _(t,data);case c.a.HtmlBlock:return new H(t,data);case c.a.ImageBlock:return new U(t,data);case c.a.VideoBlock:return new z(t,data);default:throw new Error("Invalid block type: "+e)}}function le(input){var e=Object(r.a)(input);e.length&&Object(V.a)(e)}function ce(e,t){if("company_link"===e){var n=t.findIndex((function(e){return"latest_videos"===e.logic_value}));n>-1&&(t[n].arrowsPositionOffset=1)}return t}Object(f.a)([Object(y.a)()],z.prototype,"id",void 0),Object(f.a)([Object(y.a)()],z.prototype,"foreign_id",void 0),Object(f.a)([Object(y.a)()],z.prototype,"block_title",void 0),Object(f.a)([Object(y.a)()],z.prototype,"title",void 0),Object(f.a)([Object(y.a)()],z.prototype,"external_url",void 0),Object(f.a)([Object(y.a)()],z.prototype,"thumbnail_src",void 0)},821:function(e,t,n){"use strict";var o=n(1),r=n(454),l=n(746),c=Object(r.getModule)(l.a),d=Object(o.defineComponent)({computed:{page:function(){return c.getPage},currentIndex:function(){return c.getIndex}},methods:{next:function(e,text){c.next(),c.setText(text),this.currentIndex<0&&c.setIndex(e),this.$emit("next",e,text)}}}),h=n(6),component=Object(h.a)(d,undefined,undefined,!1,null,null,null);t.a=component.exports},917:function(e,t,n){"use strict";n.r(t);n(46),n(55),n(27),n(9),n(42),n(71),n(36),n(28),n(104),n(47),n(41),n(24);var o=n(1),r=n(317),l=n(39),c=n(242),d=n(745),h=Object(o.defineComponent)({name:"CheckboxFilter",mixins:[d.a],components:{Picture:r.a},props:{filterType:{type:String,required:!0,validator:function(e){return Object.values(l.a).includes(e)}},extended:{type:Boolean,default:!1}},data:function(){return{items:[],values:[]}},computed:{filters:function(){return this.$store.state[c.JOB_ADS_NAMESPACE].filters},filterParameters:function(){return this.$store.state[c.JOB_ADS_NAMESPACE].filterParameters},brands:function(){return this.$store.getters[c.CAREERS_SITE_NAMESPACE+"/brands"]},listIds:function(){return this.items.map((function(e){return e.id}))},isFilterBrand:function(){return this.filterType===l.a.BrandFilter},isFilterCustomYesNo:function(){return this.filterType===l.a.CustomFieldYesNo}},methods:{initFilters:function(){this.filters[this.filterType]&&(this.isFilterBrand?this.initBrandFilters():this.isFilterCustomYesNo?this.initCustomYesNoFilters():this.items=this.filters[this.filterType],this.filterParameters[this.filterType].length>0&&(this.values=this.filterParameters[this.filterType]))},initBrandFilters:function(){var e=this;this.items=this.brands.map((function(t){var n;return{id:t.id||0,count:(null===(n=e.filters[e.filterType].find((function(filter){return t.id===filter.id})))||void 0===n?void 0:n.count)||0,name:t.name||""}}))},initCustomYesNoFilters:function(){var e=this;this.filters[this.filterType].forEach((function(option){option.name=1===option.id?e.$t("career.global.yes"):e.$t("career.global.no")})),this.items=this.filters[this.filterType]},onModelChange:function(){this.updateFilters()},updateFilters:function(){this.$store.commit(c.JOB_ADS_NAMESPACE+"/updateFilters",{type:this.filterType,values:this.values})},isItemSelected:function(e){return this.values.includes(e.id)||this.values.includes(e.id.toString())}},watch:{filters:{handler:function(){this.initFilters()}},filterParameters:{deep:!0,handler:function(){this.values=[],this.initFilters()}}},created:function(){this.initFilters()}}),f=n(6),component=Object(f.a)(h,(function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",e._l(e.items,(function(n){return t("label",{key:n.id,staticClass:"filter-menu__label",class:{"filter-menu__label--selected":e.isItemSelected(n)}},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.values,expression:"values"}],staticClass:"filter-menu__input",class:{"sr-only":e.extended},attrs:{name:n.name,type:"checkbox"},domProps:{value:n.id,checked:Array.isArray(e.values)?e._i(e.values,n.id)>-1:e.values},on:{change:[function(t){var o=e.values,r=t.target,l=!!r.checked;if(Array.isArray(o)){var c=n.id,d=e._i(o,c);r.checked?d<0&&(e.values=o.concat([c])):d>-1&&(e.values=o.slice(0,d).concat(o.slice(d+1)))}else e.values=l},e.onModelChange]}}),e._v(" "),e.extended&&!e.isFilterBrand?t("span",{staticClass:"filter-menu__extended-input",class:{"filter-menu__extended-input--selected":e.isItemSelected(n)}}):e._e(),e._v(" "),t("span",{staticClass:"filter-menu__picture",class:{"filter-menu__picture--selected":e.isItemSelected(n)}},[e.isFilterBrand?t("Picture",e._b({},"Picture",e.getMarkLogo(n.id),!1)):e._e(),e._v(" "),t("span",{staticClass:"filter-menu__name",class:{"filter-menu__name--selected":e.isItemSelected(n)}},[e._v(e._s(n.name)),t("span",{staticClass:"filter-menu__counter",class:{"filter-menu__counter--selected":e.isItemSelected(n)}},[e._v("("+e._s(n.count)+")")])])],1)])})),0)}),[],!1,null,null,null);t.default=component.exports},927:function(e,t,n){"use strict";n.r(t);var o=n(8),r=n(2),l=(n(18),n(19),n(71),n(28),n(48),n(40),n(32),n(9),n(17),n(43),n(24),n(25),n(1)),c=n(457),d=n.n(c),h=n(785),f=n(105),m=n(99),v=n(751),_=Object(l.defineComponent)({components:{Paragraph:v.a,Icon:f.a,Card:h.a},props:{text:{type:String,required:!0}},data:function(){return{isVisible:!0,closeIcon:{text:"Close",type:m.a.CLOSE}}},methods:{close:function(){this.isVisible=!1,this.$emit("close")}}}),y=n(6),x=Object(y.a)(_,(function(){var e=this,t=e._self._c;e._self._setupProxy;return t("Card",{staticClass:"notification",class:{visible:e.isVisible}},[t("Paragraph",{staticClass:"notification__text"},[e._v(e._s(e.text))]),e._v(" "),t("Icon",e._b({staticClass:"notification__close",on:{click:e.close}},"Icon",e.closeIcon,!1))],1)}),[],!1,null,null,null).exports,C=n(11),S=(n(249),n(741)),w=n(63),O=(n(46),n(870)),A=n.n(O),E=n(142),j=Object(l.defineComponent)({name:"InputLabel",props:{label:{type:String,required:!1}}}),k=Object(y.a)(j,(function(){var e=this,t=e._self._c;e._self._setupProxy;return t("label",{staticClass:"label"},[e._v(e._s(e.label))])}),[],!1,null,null,null).exports,P=n(760),M=Object(l.defineComponent)({name:"SearchInput",components:{Icon:E.a,InputLabel:k,InputText:P.b,"v-select":A.a},props:{value:{},icon:{type:Object,validator:function(e){return Boolean(!e||{}.hasOwnProperty.call(e,"text")&&{}.hasOwnProperty.call(e,"type"))}},label:{type:Object},input:{type:Object,required:!0},autocomplete:{type:Boolean,default:!1},autocompleteOptions:{type:Array},multiple:{type:Boolean,default:!1},vueSelectOptions:{type:Object,default:function(){return{}}}},methods:{autocompleteSearch:function(e){this.$emit("search",e)},onInput:function(e){this.$emit("input",e)},onFocus:function(){this.$emit("search-focus")},onBlur:function(){this.$emit("search-blur")},onOptionDeselected:function(e){this.$emit("option-deselected",e)}},computed:{hasLabel:function(){return Boolean(this.label)},searchInputClass:function(){return{"search-input":!0,"search-input--autocomplete":this.autocomplete,"search-input--multiple":this.multiple}}}}),I=Object(y.a)(M,(function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{class:e.searchInputClass},[e.icon?t("Icon",e._b({staticClass:"search-input__icon"},"Icon",e.icon,!1)):e._e(),e._v(" "),t("div",{staticClass:"search-input-container"},[e.hasLabel?t("input-label",e._b({staticClass:"search-input__label"},"input-label",e.label,!1)):e._e(),e._v(" "),e.autocomplete?t("v-select",e._b({staticClass:"search-input__select",attrs:{value:e.value,placeholder:e.input.placeholder,multiple:e.multiple,options:e.autocompleteOptions,"filter-by":function(){return!0}},on:{search:e.autocompleteSearch,input:e.onInput,"search:blur":e.onBlur,"search:focus":e.onFocus,"option:deselected":e.onOptionDeselected},scopedSlots:e._u([{key:"option",fn:function(option){return[option.icon?t("Icon",e._b({staticClass:"search-input__option-icon"},"Icon",option.icon,!1)):e._e(),e._v(" "),t("span",{staticClass:"search-input__option-label"},[e._v(e._s(option.label))])]}},{key:"no-options",fn:function(){return[e._t("no-options")]},proxy:!0},{key:"open-indicator",fn:function(){return[e._t("open-indicator")]},proxy:!0}],null,!0)},"v-select",e.vueSelectOptions,!1)):t("InputText",e._b({staticClass:"search-input__input"},"InputText",e.input,!1))],1)],1)}),[],!1,null,null,null).exports,B=n(928),$=n(88),F=n(4),T=n(3),D=n(0),R=n(739),N=Object(F.a)((function e(input){Object(T.a)(this,e),this.items=input.items}));Object(D.a)([Object(R.a)()],N.prototype,"items",void 0);var L=n(163),J=n(452),V=Object(F.a)((function e(input){Object(T.a)(this,e),this.place_id=input.place_id,this.geometry=input.geometry}));Object(D.a)([Object(L.a)()],V.prototype,"place_id",void 0),Object(D.a)([Object(J.a)()],V.prototype,"geometry",void 0);var H=n(56);function W(){return(W=Object(r.a)(regeneratorRuntime.mark((function e(t,q,n){var o,data;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,$.a.getLocationSuggestions(t,q,n);case 3:data=e.sent,o=new N(data),e.next=10;break;case 7:e.prev=7,e.t0=e.catch(0),Object(H.a)(e.t0);case 10:return e.abrupt("return",o);case 11:case"end":return e.stop()}}),e,null,[[0,7]])})))).apply(this,arguments)}function U(){return(U=Object(r.a)(regeneratorRuntime.mark((function e(t,n,o){var r,data;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,$.a.getPlaceDetails(t,n,o);case 3:data=e.sent,r=new V(data),e.next=10;break;case 7:e.prev=7,e.t0=e.catch(0),Object(H.a)(e.t0);case 10:return e.abrupt("return",r);case 11:case"end":return e.stop()}}),e,null,[[0,7]])})))).apply(this,arguments)}var z=Object(l.defineComponent)({name:"AutocompletePendingStateMixin",data:function(){return{isPending:!0}},computed:{pendingClass:function(){return this.isPending?" vs--pending":""}},methods:{setPendingState:function(e){this.isPending=e}}}),K=Object(y.a)(z,undefined,undefined,!1,null,null,null).exports,G=n(242),Y=n(122);function Z(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Q(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Z(Object(n),!0).forEach((function(t){Object(o.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Z(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var X=Object(l.defineComponent)({name:"LocationAutocomplete",mixins:[K],components:{SearchInput:I},props:{value:{type:Object}},data:function(){return{options:[],userGeolocationOption:[{id:"0",label:"",icon:{text:"Location target",type:m.a.LOCATION_TARGET}}],debounceFetch:function(){},googleSessionToken:null,settings:{icon:{text:"Search",type:m.a.LOCATION},label:{label:"ui.location_research"},input:{title:"text",placeholder:"",value:"",readonly:!1,disabled:!1},autocomplete:!0,vueSelectOptions:{clearable:!0,searchable:!0}}}},computed:{locationPlaceholder:function(){return this.$store.state[G.JOB_ADS_NAMESPACE].locationPlaceholder},domainName:function(){return this.$store.getters[C.CAREERS_SITE_NAMESPACE+"/domainName"]},computedClass:function(){return"vs--location".concat(this.pendingClass)},locationOptions:function(){return[].concat(Object(w.a)(this.userGeolocationOption),Object(w.a)(this.options))}},methods:{autocomplete:function(e){this.options=[],e.length>2&&this.debounceFetch(e,this)},fetchSuggestions:function(e){var t=this;this.domainName&&function(e,t,n){return W.apply(this,arguments)}(this.domainName,e,this.googleSessionToken||"").then((function(e){var n={text:"Search",type:m.a.SEARCH};e&&e.items&&(t.options=e.items.map((function(option){return Q(Q({},option),{},{icon:n})}))),t.$nextTick((function(){t.$emit("on-dropdown")}))}))},onSelectOption:function(e){var t=this;if(this.domainName)if(e){if(!e.id||"0"===e.id)return void this.getNearByJobs();(function(e,t,n){return U.apply(this,arguments)})(this.domainName,e.id,this.googleSessionToken||"").then((function(n){e.details=n,t.$emit("input",e)}))}else this.$emit("input",null)},getNearByJobs:function(){navigator.geolocation?navigator.geolocation.getCurrentPosition(this.onGeolocationSuccess,this.onGeolocationError):this.$router.push({query:Q(Q({},this.$route.query),{},{errorKey:"ui.location_current_location_no-support"})})},onGeolocationSuccess:function(e){this.$store.commit("".concat(G.JOB_ADS_NAMESPACE,"/updateGeolocation"),{lat:e.coords.latitude,lng:e.coords.longitude})},onGeolocationError:function(e){console.error(e.message),this.$router.push({query:Q(Q({},this.$route.query),{},{errorKey:"ui.location_current_location_error"})})},onBlur:function(){this.googleSessionToken=null,this.$emit("on-dropdown-hidden")},onFocus:function(){var e=this;this.googleSessionToken=Object(B.a)(),this.$store.commit(G.JOB_ADS_NAMESPACE+"/setLocationPlaceholder",{placeholder:Y.b}),this.$nextTick((function(){e.$emit("on-dropdown")}))}},watch:{locationPlaceholder:{handler:function(){this.settings.input.placeholder=this.$t(this.locationPlaceholder),this.locationPlaceholder!==Y.b&&this.$emit("input",null)}}},created:function(){var e=this;this.debounceFetch=d()((function(t){return e.fetchSuggestions(t)}),350),this.settings.label&&(this.settings.label.label=this.$t(this.settings.label.label)),this.settings.input.placeholder=this.$t(this.locationPlaceholder),this.userGeolocationOption[0].label=this.$t("ui.location_current_location")}}),ee=X,te=Object(y.a)(ee,(function(){var e=this,t=e._self._c;e._self._setupProxy;return t("search-input",e._b({class:e.computedClass,attrs:{"autocomplete-options":e.locationOptions,value:e.value},on:{search:e.autocomplete,input:e.onSelectOption,"search-focus":e.onFocus,"search-blur":e.onBlur},scopedSlots:e._u([{key:"no-options",fn:function(){return[e._v(e._s(e.$t("ui.no-matching-options")))]},proxy:!0}])},"search-input",e.settings,!1))}),[],!1,null,null,null).exports,ne=(n(143),n(758)),ie=(n(763),n(320),n(871)),oe=n.n(ie),re=n(81),ae=n.n(re),se=n(72),le=n.n(se),ce=n(332),ue=(n(51),n(80),n(79),n(55),n(27),n(47),n(37),n(42),n(13)),de=(n(881),n(305)),pe=n.n(de),he=n(484),fe=n.n(he),me=n(883),be=n.n(me),ge=n(884),ve=n.n(ge);function _e(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return ye(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ye(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,o=function(){};return{s:o,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,l=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return l=e.done,e},e:function(e){c=!0,r=e},f:function(){try{l||null==n.return||n.return()}finally{if(c)throw r}}}}function ye(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=new Array(t);i<t;i++)n[i]=e[i];return n}function xe(e,data){for(var t=ve()(data.settings),i=0;i<t.length;i++)t[i]=Se(e,t[i],data.translatableKeys);return t}function Ce(e,data){return Se(e,data.settings,data.translatableKeys)}function Se(e,t,n){var o,r=ve()(t),l=_e(n);try{for(l.s();!(o=l.n()).done;){var c=o.value;if(pe()(r,c)){var d=we(c),h=d.lastChildKey,f=d.ancestorsKey;if(f){var m=fe()(r,f),v=Ae(m,h,e);be()(r,f,v)}else be()(r,h,e.$t(r[h]))}}}catch(e){l.e(e)}finally{l.f()}return r}function we(e){var t=e.split("."),n=t.splice(-1);return{lastChildKey:Object(ue.a)(n,1)[0],ancestorsKey:t.join(".")}}var Oe,Ae=function(source,e,t){return new Proxy(source,{get:function(n,o,r){return o===e?t.$t(n[o]):Reflect.get(n,o,r)}})},Ee=Object(l.defineComponent)({name:"KeywordsAutocompleteMixin",mixins:[K],props:{initialValues:{type:Array}},data:function(){return{selectedOptions:[],options:[],debounceFetch:{},initialSettings:{settings:{icon:{text:"ui.job_research",type:m.a.LABEL},label:{label:"ui.job_research"},input:{title:"ui.job_research_placeholder",placeholder:"ui.job_research_placeholder",value:"",readonly:!1,disabled:!1},autocomplete:!0,multiple:!0,vueSelectOptions:{taggable:!0,closeOnSelect:!1}},translatableKeys:["icon.text","label.label","input.text","input.placeholder"]},settings:{}}},computed:{domainName:function(){return this.$store.getters[C.CAREERS_SITE_NAMESPACE+"/domainName"]},localizedCareersSite:function(){return this.$store.state[C.CAREERS_SITE_NAMESPACE].localizedCareersSite},searchInputComputedClass:function(){return this.pendingClass},wrapperClass:function(){return{"vs-keywords":!0}}},methods:{autocomplete:function(e){this.options=[],e.length>2?this.debounceFetch(e,this):this.setPendingState(!0)},fetchSuggestions:function(e){var t=this;this.domainName&&Object(ce.d)(this.domainName,e,this.localizedCareersSite.locale.iso_code).then((function(e){t.setPendingState(!1),e.items&&(t.options=e.items.map((function(e){return e.label})))}))},addOption:function(e){if(this.debounceFetch.cancel(),le()(e))return this.selectedOptions;var option=ae()(e)?e[0]:e;return option&&(this.selectedOptions.push(option),this.selectedOptions=oe()(this.selectedOptions)),this.$emit("input",this.selectedOptions),this.selectedOptions},removeOption:function(option){var e=this.selectedOptions.findIndex((function(e){return e===option}));return this.selectedOptions.splice(e,1),this.$emit("input",this.selectedOptions),this.selectedOptions}},watch:{initialValues:{handler:function(){this.selectedOptions=this.initialValues?Object(w.a)(this.initialValues):[]}}},created:function(){var e=this;this.selectedOptions=this.initialValues?Object(w.a)(this.initialValues):[],this.debounceFetch=d()((function(t){return e.fetchSuggestions(t)}),350),this.settings=Ce(this,this.initialSettings)}}),je=Object(y.a)(Ee,undefined,undefined,!1,null,null,null).exports,ke=Object(l.defineComponent)({name:"DesktopKeywordsAutocomplete",mixins:[je],components:{SearchInput:I,DRTag:ne.a,IconButton:S.a},data:function(){return{placeholderOptions:"",openSelection:!1}},computed:{wrapperClass:function(){return{"vs-keywords":!0,"vs-keywords--with-preview":!0,"vs-keywords--open-selection":this.openSelection}},showSelectedKeywordsList:function(){return this.openSelection&&this.isPending},showOpenIndicator:function(){return this.selectedOptions.length>0},openIndicatorIcon:function(){return this.openSelection?{type:m.a.CHEVRON_UP,text:this.$t("ui.close")}:{type:m.a.CHEVRON_DOWN,text:this.$t("ui.open")}}},methods:{onFocus:function(){this.placeholderOptions="",this.selectedOptions.length>0&&(this.openSelection=!0)},onBlur:function(){this.setPlaceholderOptions(),this.openSelection=!1},onOptionSelect:function(e){var t=this;this.addOption(e),this.$nextTick((function(){t.onFocus()}))},onOptionDeselect:function(option){this.removeOption(option),this.setPlaceholderOptions()},setPlaceholderOptions:function(){this.placeholderOptions=this.selectedOptions.join(", ")}},watch:{initialValues:{immediate:!0,handler:function(){this.selectedOptions=this.initialValues?Object(w.a)(this.initialValues):[],this.setPlaceholderOptions()}}}}),Pe=Object(y.a)(ke,(function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{class:e.wrapperClass},[t("search-input",e._b({class:e.searchInputComputedClass,attrs:{value:e.placeholderOptions,"autocomplete-options":e.options,multiple:!1},on:{search:e.autocomplete,"search-focus":e.onFocus,"search-blur":e.onBlur,input:e.onOptionSelect,"option-deselected":e.onOptionDeselect},scopedSlots:e._u([{key:"open-indicator",fn:function(){return[e.showOpenIndicator?t("IconButton",{staticClass:"vs__open-indicator",attrs:{label:e.selectedOptions.length,"right-icon":e.openIndicatorIcon,variant:"secondary-outlined"}}):t("span")]},proxy:!0}])},"search-input",e.settings,!1)),e._v(" "),t("div",{directives:[{name:"show",rawName:"v-show",value:e.showSelectedKeywordsList,expression:"showSelectedKeywordsList"}],staticClass:"selected-keywords selected-keywords--dropdown"},[t("p",{staticClass:"selected-keywords__header"},[e._v(e._s(e.$t("ui.your-research")))]),e._v(" "),t("div",{staticClass:"selected-keywords__list"},e._l(e.selectedOptions,(function(n){return t("div",{key:n},[t("d-r-tag",{staticClass:"selected-keywords__item",attrs:{removable:!0},on:{delete:function(t){return e.removeOption(n)}},scopedSlots:e._u([{key:"description",fn:function(){return[e._v(e._s(n))]},proxy:!0}],null,!0)})],1)})),0)])],1)}),[],!1,null,null,null).exports,Me=n(255),Ie=Object(l.defineComponent)({name:"ResearchFields",components:{IconButton:S.a,LocationAutocomplete:te,DesktopKeywordsAutocomplete:Pe},data:function(){return{keywords:[],place:null,researchButton:{leftIcon:{text:"ui.research",type:m.a.SEARCH,display_sr_only_text:!1},label:"ui.research"}}},computed:{searchParameters:function(){return this.$store.state[G.JOB_ADS_NAMESPACE].searchParameters}},methods:{translateResearchButtonText:function(){this.researchButton.label=this.$t(this.researchButton.label),this.researchButton.leftIcon&&(this.researchButton.leftIcon.text=this.$t(this.researchButton.leftIcon.text))},updateSearchParameters:function(data){var e,t;this.$store.commit(G.JOB_ADS_NAMESPACE+"/updateSearchParameters",data),this.$store.commit(G.JOB_ADS_NAMESPACE+"/setIsMapIdle",{isMapIdle:!1}),data.place&&(null===(t=null===(e=data.place.details)||void 0===e?void 0:e.geometry)||void 0===t?void 0:t.viewport)&&this.$store.commit(G.JOB_ADS_NAMESPACE+"/setGoogleLocationViewport",{viewport:Object(Me.b)(data.place.details.geometry.viewport)})},onKeywordsChange:function(e){this.keywords=e},initializeValues:function(){var e=this.searchParameters,t=e.keywords,n=e.place;this.keywords=null!=t?t:[],this.place=n},search:function(){return this.updateSearchParameters({keywords:this.keywords,place:this.place}),this.$emit("search",{locationSearch:this.place}),{locationSearch:this.place}}},watch:{searchParameters:{handler:function(){this.initializeValues()},deep:!0}},created:function(){this.initializeValues(),this.translateResearchButtonText()}}),Be=Object(y.a)(Ie,(function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"research-container"},[t("desktop-keywords-autocomplete",{attrs:{"initial-values":e.keywords},on:{input:e.onKeywordsChange}}),e._v(" "),t("LocationAutocomplete",{staticClass:"vs-location",model:{value:e.place,callback:function(t){e.place=t},expression:"place"}}),e._v(" "),t("IconButton",e._b({staticClass:"research-container__action research-container__action--search",on:{click:e.search}},"IconButton",e.researchButton,!1))],1)}),[],!1,null,null,null).exports,$e=(n(36),n(41),n(791)),Fe=n(740),Te=n(809),De=Object(l.defineComponent)({name:"AvatarCheckbox",components:{Icon:E.a,Avatar:Te.a},props:{value:{type:Boolean,required:!0},id:{type:String},avatar:{type:Object,required:!0}},data:function(){return{closeIcon:{text:"close",type:m.a.CLOSE,display_sr_only_text:!1}}},computed:{avatarCheckboxClass:function(){return{"avatar-checkbox":!0,"avatar-checkbox--checked":this.value}},ariaPressed:function(){return this.value?"true":"false"}},methods:{input:function(){this.$emit("input",!this.value)}}}),Re=Object(y.a)(De,(function(){var e=this,t=e._self._c;e._self._setupProxy;return t("button",{class:e.avatarCheckboxClass,attrs:{"aria-pressed":e.ariaPressed},on:{click:e.input}},[t("Avatar",{attrs:{img:e.avatar}}),e._v(" "),e.value?t("Icon",e._b({},"Icon",e.closeIcon,!1)):e._e()],1)}),[],!1,null,null,null).exports,Ne=n(243),Le=n(905),Je=n.n(Le);!function(e){e.FULL_PAGE="full-page",e.HALF_PAGE="half-page"}(Oe||(Oe={}));var Ve=64,qe=16,He=88,We=768,Ue=1920,ze={breakpoint:767,settings:{slidesToShow:1,slidesToScroll:1}};function Ke(e,t){var n=[ze];n.push(function(e,t){var n=function(e,t){var n;n=e===Oe.FULL_PAGE?Math.floor((t-Ve)/He):Math.floor((t/2-Ve-qe)/He);return n}(e,We),o=function(e,t){var n;n=e===Oe.FULL_PAGE?t*He+Ve:2*(t*He+Ve+qe);return n}(e,n+1)-1,r=n<t?n:t;return{breakpoint:o,settings:{slidesToShow:r,slidesToScroll:r-1}}}(e,t));for(var o=Je()(n);o&&Ye(o,t);){var r=Ge(e,o);n.push(r),o=r}return n}function Ge(e,t){return{breakpoint:e===Oe.FULL_PAGE?t.breakpoint+He:t.breakpoint+2*He,settings:{slidesToShow:t.settings.slidesToShow?t.settings.slidesToShow+1:void 0,slidesToScroll:t.settings.slidesToScroll?t.settings.slidesToScroll+1:void 0}}}function Ye(e,t){return e.breakpoint<=Ue&&!!e.settings.slidesToShow&&e.settings.slidesToShow<t}var Ze={dots:!1,swipe:!1,infinite:!1,slidesToShow:1,slidesToScroll:1,centerPadding:"20px",initialSlide:0,centerMode:!1,focusOnSelect:!1,variableWidth:!0,responsive:[ze]};var Qe,Xe=n(39),et=Object(l.defineComponent)({name:"BrandsFilter",components:{AvatarCheckbox:Re,Carousel:$e.a,IconButton:S.a,Title:Fe.a},props:{pageWidthType:{type:String,default:Oe.HALF_PAGE},extended:{type:Boolean,default:!1}},data:function(){return{settings:{},prevIcon:{type:m.a.ARROW_LEFT,text:Object(Ne.a)("ui.previous_brands",this)},nextIcon:{type:m.a.ARROW_RIGHT,text:Object(Ne.a)("ui.next_brands",this)},currentHoverIndex:null,currentSlideIndex:0,slidesToShow:0}},computed:{filters:function(){return this.$store.state[G.JOB_ADS_NAMESPACE].filters},filterParameters:function(){return this.$store.state[G.JOB_ADS_NAMESPACE].filterParameters},brands:function(){return this.$store.getters[G.CAREERS_SITE_NAMESPACE+"/brands"]},sliderClass:function(){var e=this;return function(t){var n="brands-filter__item";if(null!==e.currentHoverIndex&&!e.extended){var o=t-e.currentHoverIndex;0===Math.abs(o)?n+=" --genius-main-hover":1===Math.abs(o)&&(n+=" --genius-secondary-hover"),o>0?n+=" --genius-translate-to-right":o<0&&(n+=" --genius-translate-to-left")}return n}},options:function(){var e=this.filterParameters[Xe.a.BrandFilter];return this.brands.map((function(option,t){return{id:option.id.toString(10),value:e.includes(option.id.toString(10)),avatar:option.image,index:t}}))},displayOptions:function(){return this.options.length>0},nextSlidesNumber:function(){var e=this.brands.length-this.currentSlideIndex-this.slidesToShow;return e>0?e:0},prevSlidesNumber:function(){return this.currentSlideIndex},domainName:function(){return this.$store.getters[G.CAREERS_SITE_NAMESPACE+"/domainName"]}},methods:{getCarousel:function(){return this.$refs.carousel},updateSearchBrands:function(e){this.$store.commit(G.JOB_ADS_NAMESPACE+"/updateFilters",{type:Xe.a.BrandFilter,values:e})},mouseOver:function(e){this.currentHoverIndex=this.options.findIndex((function(t){return t.index===e}))},mouseLeave:function(){this.currentHoverIndex=null},beforeSlidesChange:function(e,t){this.currentSlideIndex=t},refreshSlidesToShow:function(){var e,t=null===(e=this.getCarousel())||void 0===e?void 0:e.getInnerCarousel().$refs.innerSlider;this.slidesToShow=t.$props.slidesToShow},change:function(e,t){var n,o;null===(n=this.$mixpanel)||void 0===n||n.track("Click_Brand_filter",{domain:this.domainName,page_type:"job_ad_list",brand_name:null===(o=this.brands.find((function(t){return t.id.toString(10)===e})))||void 0===o?void 0:o.name,brand_id:e});var r,l=this.filterParameters[Xe.a.BrandFilter];r=t?[].concat(Object(w.a)(l),[e]):l.filter((function(t){return t!==e})),this.updateSearchBrands(r),this.$emit("change",e,t)}},created:function(){var e,t;this.settings=(e=this.pageWidthType,t=this.brands.length,Ze.slidesToShow=t,Ze.slidesToScroll=t-1,Ze.responsive=Ke(e,t),Ze)}}),tt=Object(y.a)(et,(function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"brands-filter",class:{"brands-filter--extended":e.extended},on:{mouseleave:e.mouseLeave}},[t("Title",{attrs:{tag:"h2"}},[e._v(e._s(e.$t("ui.offers-by-brands")))]),e._v(" "),e.displayOptions?t("Carousel",e._b({ref:"carousel",staticClass:"brands-filter__carousel",on:{"re-init":e.refreshSlidesToShow,"before-change":e.beforeSlidesChange},scopedSlots:e._u([{key:"prevArrow",fn:function(){return[t("IconButton",{attrs:{"left-icon":e.prevIcon,label:"+".concat(e.prevSlidesNumber)}})]},proxy:!0},{key:"nextArrow",fn:function(){return[t("IconButton",{attrs:{"right-icon":e.nextIcon,label:"+".concat(e.nextSlidesNumber)}})]},proxy:!0}],null,!1,566242052)},"Carousel",e.settings,!1),e._l(e.options,(function(option,n){return t("div",{key:option.id,class:e.sliderClass(n),on:{mouseover:function(t){return e.mouseOver(n)}}},[t("div",{staticClass:"genius-wrapper"},[t("AvatarCheckbox",e._b({on:{input:function(t){return e.change(option.id,t)}}},"AvatarCheckbox",option,!1))],1)])})),0):e._e()],1)}),[],!1,null,null,null).exports,nt=n(750),it=Object(l.defineComponent)({name:"TextBlockAction",components:{IconButton:nt.a,Title:Fe.a},props:{title:{type:String,default:""},button:{type:Object,required:!0}},methods:{emitClick:function(){this.$emit("click")}}}),ot=Object(y.a)(it,(function(){var e=this,t=e._self._c;e._self._setupProxy;return t("section",{staticClass:"text-block-action"},[e.title?t("Title",{staticClass:"text-block-action__title"},[e._v("\n    "+e._s(e.title)+"\n  ")]):e._e(),e._v(" "),t("IconButton",e._b({staticClass:"text-block-action__button",on:{click:e.emitClick}},"IconButton",e.button,!1))],1)}),[],!1,null,null,null).exports,at=n(748),st=n(749),lt=n(743),ct=Object(l.defineComponent)({name:"SpontaneousApplicationBlock",mixins:[st.a],components:{ModalConsent:at.a,TextBlockAction:ot},props:{extended:{type:Boolean,default:!1}},data:function(){return{iconButton:{rightIcon:{text:"Image",type:m.a.IMAGE,display_sr_only_text:!1},label:"ui.spontaneous-application_button"}}},methods:{apply:function(){var e;null===(e=this.$mixpanel)||void 0===e||e.track(lt.g,{domain:this.domainName,button_name:lt.e}),this.openConsentModal()}},created:function(){this.iconButton.label=this.$t(this.iconButton.label)}}),ut=Object(y.a)(ct,(function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{class:{"spontaneous-application-block-parent-extended":e.extended}},[t("TextBlockAction",{staticClass:"spontaneous-application-block",class:{"spontaneous-application-block--extended":e.extended},attrs:{title:e.$t("ui.spontaneous-application_title"),button:e.iconButton},on:{click:e.apply}}),e._v(" "),t("portal",{attrs:{to:"overlay"}},[e.shouldDisplayConsentModal?t("ModalConsent",{attrs:{"consent-src":e.consentIframeSrc},on:{"close-modal":e.closeConsentModal}}):e._e()],1)],1)}),[],!1,null,null,null).exports,pt=n(747),ht=n(754),ft=n(807),mt=n(14),bt=n(746),gt=n(821),vt=Object(l.defineComponent)({name:"RemoteWorkingMixin",computed:{jobAdFilters:function(){return this.$store.getters["".concat(G.JOB_ADS_NAMESPACE,"/jobAdFilters")]}},methods:{hasRemoteWorkFilter:function(){var e,t,n=0;return null===(t=null===(e=this.jobAdFilters)||void 0===e?void 0:e.remoteWorkTypes)||void 0===t||t.forEach((function(e){n+=e.count})),n>=Y.o}}}),_t=Object(y.a)(vt,undefined,undefined,!1,null,null,null).exports,yt=Object(l.defineComponent)({name:"NavigationFilter",components:{FilterMenu:function(){return n.e(24).then(n.bind(null,929))}},mixins:[_t,gt.a],props:{components:{type:Array},extended:{type:Boolean,default:!1}},computed:{jobAdFilters:function(){return this.$store.getters["".concat(G.JOB_ADS_NAMESPACE,"/jobAdFilters")]},filterParameters:function(){return this.$store.state[G.JOB_ADS_NAMESPACE].filterParameters}},methods:{getCount:function(e){return this.filterParameters[e].length},isDisabled:function(e){return!!this.jobAdFilters&&this.jobAdFilters[e].length<=0},displayFilterMenu:function(e,t){return this.displayRemoteWorkFilter(e)&&(this.currentIndex<0||t===this.currentIndex)},displayRemoteWorkFilter:function(e){return e!==Xe.a.RemoteWorkFilter||this.hasRemoteWorkFilter()}},watch:{page:{handler:function(){var e=0===this.page?null:this.components[this.currentIndex].data.filterType;this.$store.commit("".concat(G.JOB_ADS_NAMESPACE,"/setCurrentFilterSelected"),{filter:e}),this.$emit("current-filter-type",this.currentIndex)}}}}),xt=Object(y.a)(yt,(function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",[e._l(e.components,(function(component,n){return[t("FilterMenu",e._b({directives:[{name:"show",rawName:"v-show",value:e.displayFilterMenu(component.data.filterType,n),expression:"displayFilterMenu(component.data.filterType, index)"}],key:n,attrs:{index:n,count:e.getCount(component.data.filterType),disabled:e.isDisabled(component.data.filterType),extended:e.extended}},"FilterMenu",component.data,!1))]}))],2)}),[],!1,null,null,null).exports,Ct=n(70),St=Object(l.defineComponent)({name:"MobileKeywordsAutocomplete",mixins:[je],components:{Link:Ct.a,SearchInput:I,DRTag:ne.a},props:{clearable:{type:Boolean,default:!1}},computed:{yourResearchText:function(){return this.$t("ui.your-research")},resetAllText:function(){return this.$t("ui.reset")}},methods:{emitDropdownEvents:function(){var e=this;this.$nextTick((function(){e.options.length?e.$emit("on-dropdown"):e.$emit("on-dropdown-hidden")}))}},watch:{options:{handler:"emitDropdownEvents"}}}),wt=Object(y.a)(St,(function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{class:e.wrapperClass},[t("search-input",e._b({class:e.searchInputComputedClass,attrs:{"autocomplete-options":e.options,multiple:!1},on:{search:e.autocomplete,input:e.addOption,"option-deselected":e.removeOption,"search-focus":e.emitDropdownEvents,"search-blur":function(t){return e.$emit("on-dropdown-hidden")}}},"search-input",e.settings,!1)),e._v(" "),e.clearable?t("div",{staticClass:"action--clear"},[t("span",[e._v(e._s(e.yourResearchText))])]):e._e(),e._v(" "),t("div",{staticClass:"selected-keywords"},[t("div",{staticClass:"selected-keywords__list"},e._l(e.selectedOptions,(function(n){return t("div",{key:n},[t("d-r-tag",{staticClass:"selected-keywords__item",attrs:{removable:!0},on:{delete:function(t){return e.removeOption(n)}},scopedSlots:e._u([{key:"description",fn:function(){return[e._v(e._s(n))]},proxy:!0}],null,!0)})],1)})),0)])],1)}),[],!1,null,null,null).exports,Ot=function(){return Promise.resolve().then(n.bind(null,917))},At={settings:[{data:{iconProp:{text:"ui.contracts",type:m.a.FILE},title:"ui.contract-types",component:Ot,panelTitle:"ui.contract-types",filterType:Xe.a.ContractFilter}},{data:{iconProp:{text:"ui.working-time",type:m.a.CLOCK},title:"ui.working-time",component:Ot,panelTitle:"ui.working-time",filterType:Xe.a.WorkingTimeFilter}},{data:{iconProp:{text:"ui.functions",type:m.a.BUSINESS_CASE},title:"ui.functions",component:Ot,panelTitle:"ui.functions",filterType:Xe.a.JobFilter}},{data:{iconProp:{text:"ui.brands",type:m.a.BUILDING},title:"ui.brands",component:Ot,panelTitle:"ui.brands",filterType:Xe.a.BrandFilter}},{data:{iconProp:{text:"ui.remote-work",type:m.a.BUILDING},title:"ui.remote-work",component:Ot,panelTitle:"ui.remote-work",filterType:Xe.a.RemoteWorkFilter}}],translatableKeys:["data.iconProp.text","data.title","data.panelTitle"]},Et={settings:{headerSettings:{text:"ui.filters",textExtended:"",textActionButton:"ui.clear",iconNavigation:{type:m.a.CLOSE,text:"ui.close"},iconTitle:{type:m.a.FILTER,text:"ui.filters"},iconExtended:void 0},footerSettings:{text:"ui.perform-research",textExtended:"ui.research",textExtendedButton:"ui.reset",extendedButtonIcon:{type:m.a.RESET,text:"ui.reset"}}},translatableKeys:["headerSettings.text","headerSettings.textExtended","headerSettings.textActionButton","headerSettings.iconNavigation.text","headerSettings.iconTitle.text","footerSettings.text","footerSettings.textExtended","footerSettings.textExtendedButton"]},jt={settings:{headerSettings:{text:"ui.your-research",textExtended:"",textActionButton:"ui.clear",iconNavigation:{type:m.a.CLOSE,text:"ui.close"},iconTitle:{type:m.a.SEARCH,text:"ui.search"},iconExtended:void 0},footerSettings:{text:"ui.research",textExtended:"ui.research",textExtendedButton:"ui.reset",extendedButtonIcon:{type:m.a.RESET,text:"ui.reset"}}},translatableKeys:["headerSettings.text","headerSettings.textExtended","headerSettings.textActionButton","headerSettings.iconNavigation.text","headerSettings.iconTitle.text","footerSettings.text","footerSettings.textExtended","footerSettings.textExtendedButton"]},kt={settings:{headerSettings:{text:"ui.filters",textExtended:"",textActionButton:"ui.clear",iconNavigation:{type:m.a.CLOSE,text:"ui.close"},iconTitle:void 0,iconExtended:{type:m.a.CLOSE,text:"ui.close"}},footerSettings:{text:"ui.perform-research",textExtended:"ui.research",textExtendedButton:"ui.clear",extendedButtonIcon:void 0}},translatableKeys:["headerSettings.text","headerSettings.textExtended","headerSettings.textActionButton","headerSettings.iconNavigation.text","headerSettings.iconTitle.text","footerSettings.text","footerSettings.textExtended","footerSettings.textExtendedButton"]},Pt=n(193),Mt=Object(mt.getModule)(bt.a),It=Object(l.defineComponent)({components:{MobileKeywordsAutocomplete:wt,LocationAutocomplete:te,Modal:pt.a,ModalFooter:ht.a,NavigationFilter:xt,Divider:ft.a},props:{filtersComponent:{type:Array,required:!0},isResearchFilter:{type:Boolean,default:!1},isDefaultFilter:{type:Boolean,default:!0},extended:{type:Boolean,default:!1},isModalDisplayed:{type:Boolean,default:!1}},data:function(){return{filtersSettings:{headerSettings:{},footerSettings:{}},selectedFilterSettings:{headerSettings:{},footerSettings:{}},researchSettings:{headerSettings:{},footerSettings:{}},isFilterSelected:!1,currentFilterIndex:-1,rewind:!1,keywords:[],place:null}},computed:{searchParameters:function(){return this.$store.state[G.JOB_ADS_NAMESPACE].searchParameters},filterParameters:function(){return this.$store.state[G.JOB_ADS_NAMESPACE].filterParameters},isFilterParametersEmpty:function(){return this.$store.getters[G.JOB_ADS_NAMESPACE+"/isFilterParametersEmpty"]},isCurrentViewportEmpty:function(){return this.$store.getters[G.JOB_ADS_NAMESPACE+"/isCurrentViewportEmpty"]},researchClasses:function(){return{"research-modal-container":!0,"research-modal-container--full":this.isResearchFilter&&!this.isFilterSelected&&this.isDefaultFilter,"research-modal-container--extended":this.extended}},isSearchParametersEmpty:function(){return le()(this.keywords)&&le()(this.place)},displayClearButton:function(){return!this.isSearchParametersEmpty||!this.isFilterParametersEmpty},headerSettings:function(){return this.updateDisplayStatusOfClearButton(),this.isDefaultFilter?this.isFilterSelected?this.selectedFilterSettings.headerSettings:this.filtersSettings.headerSettings:this.researchSettings.headerSettings},footerSettings:function(){return this.isDefaultFilter?this.isFilterSelected?this.selectedFilterSettings.footerSettings:this.filtersSettings.footerSettings:this.researchSettings.footerSettings}},created:function(){this.isResearchFilter&&this.initializeValues(),this.filtersSettings=Ce(this,Et),this.selectedFilterSettings=function(e){return Ce(e,kt)}(this),this.researchSettings=function(e){return Ce(e,jt)}(this)},mounted:function(){window.addEventListener("scroll",this.setVhProp),window.addEventListener("resize",this.setVhProp),this.$nextTick(this.setVhProp)},beforeDestroy:function(){window.removeEventListener("scroll",this.setVhProp),window.removeEventListener("resize",this.setVhProp)},methods:{initializeValues:function(){var e;this.keywords=null!==(e=this.searchParameters.keywords)&&void 0!==e?e:[],this.place=this.searchParameters.place},eraseFilters:function(){this.isResearchFilter&&!this.isFilterSelected&&(this.keywords=[],this.place=null,this.$emit("erase-search-parameters")),this.isDefaultFilter&&this.$emit("erase-filters")},closeModal:function(){0!==Mt.getPage&&Mt.previous(),this.$emit("close-modal")},search:function(){this.updateSearchParameters({keywords:this.keywords,place:this.place});var e={locationSearch:this.place};return this.$emit("get-job-ads",e),e},setVhProp:function(){var e=.01*window.innerHeight;document.documentElement.style.setProperty("--vh","".concat(e,"px"))},updateSearchParameters:function(data){var e,t;this.$store.commit(G.JOB_ADS_NAMESPACE+"/updateSearchParameters",data),this.$store.commit(G.JOB_ADS_NAMESPACE+"/setIsMapIdle",{isMapIdle:!1}),data.place&&(null===(t=null===(e=data.place.details)||void 0===e?void 0:e.geometry)||void 0===t?void 0:t.viewport)&&this.$store.commit(G.JOB_ADS_NAMESPACE+"/setGoogleLocationViewport",{viewport:Object(Me.b)(data.place.details.geometry.viewport)})},onCurrentFilterChange:function(e){this.currentFilterIndex=e,this.isFilterSelected=e>=0,this.setIconTitle(),-1===this.currentFilterIndex&&this.search()},setIconTitle:function(){this.selectedFilterSettings.headerSettings.iconTitle=this.isFilterSelected?this.filtersComponent[this.currentFilterIndex].data.iconProp:this.selectedFilterSettings.headerSettings.iconTitle},updateDisplayStatusOfClearButton:function(){(this.isDefaultFilter?this.filtersSettings.headerSettings:this.researchSettings.headerSettings).textActionButton=this.shouldClearButtonBeDisplayed()?this.$t("ui.clear"):""},shouldClearButtonBeDisplayed:function(){return this.isFilterSelected?this.isTheFilterOfTheCurrentPageEmpty():this.isResearchFilter&&this.isDefaultFilter?!this.isFilterParametersEmpty||!this.isSearchParametersEmpty:this.isResearchFilter?!this.isSearchParametersEmpty:!this.isFilterParametersEmpty},isTheFilterOfTheCurrentPageEmpty:function(){var e=this.filtersComponent[this.currentFilterIndex].data.filterType;return this.filterParameters[e].length>0},commitAndClose:function(){var e=this;this.rewind=!0,this.$nextTick((function(){e.closeModal(),e.search()}))},onKeywordsChange:function(e){this.keywords=e},modalHeightShouldBeExtended:function(){return!this.isDefaultFilter&&Object(Pt.c)(window.navigator.userAgent)},onDropdown:function(){var e=this.$refs.research;e&&this.modalHeightShouldBeExtended()&&(e.setAttribute("style",""),this.$nextTick((function(){var t=e.scrollHeight+15;e.setAttribute("style","min-height: ".concat(t,"px;"))})))},onDropdownHidden:function(){var e=this.$refs.research;e&&e.setAttribute("style","")}},watch:{searchParameters:{deep:!0,immediate:!0,handler:"initializeValues"}}}),Bt=Object(y.a)(It,(function(){var e=this,t=e._self._c;e._self._setupProxy;return t("transition",{attrs:{appear:"",name:e.extended?"filters-modal-extended":"filters-modal"}},[t("Modal",{staticClass:"filters-modal",class:{"filters-modal--extended":e.extended,"filters-modal--extended-filter-selected":e.extended&&e.isFilterSelected},attrs:{"header-settings":e.headerSettings,rewind:e.rewind,extended:e.extended},on:{"close-modal":e.closeModal,"header-extended-event":e.closeModal,"modal-action":e.eraseFilters,"clear-all-filters":function(t){return e.$emit("clear-all-filters")}},scopedSlots:e._u([{key:"body",fn:function(){return[e.isResearchFilter&&!e.isFilterSelected?t("div",{ref:"research",class:e.researchClasses},[t("MobileKeywordsAutocomplete",{attrs:{"initial-values":e.keywords,clearable:e.displayClearButton},on:{input:e.onKeywordsChange,"clear-all-filters":function(t){return e.$emit("clear-all-filters")},"on-dropdown":e.onDropdown,"on-dropdown-hidden":e.onDropdownHidden}}),e._v(" "),t("divider"),e._v(" "),t("LocationAutocomplete",{on:{"on-dropdown":e.onDropdown,"on-dropdown-hidden":e.onDropdownHidden},model:{value:e.place,callback:function(t){e.place=t},expression:"place"}})],1):e._e(),e._v(" "),e.isDefaultFilter?t("NavigationFilter",{attrs:{components:e.filtersComponent,extended:e.extended},on:{"current-filter-type":e.onCurrentFilterChange}}):e._e()]},proxy:!0},{key:"footer",fn:function(){return[t("div",{staticClass:"filters-modal__footer-wrapper"},[t("ModalFooter",e._b({attrs:{"is-extended-button-disabled":!e.displayClearButton,extended:e.extended},on:{"footer-event":e.commitAndClose,"footer-extended-event":e.eraseFilters}},"ModalFooter",e.footerSettings,!1))],1)]},proxy:!0}])})],1)}),[],!1,null,null,null).exports,$t=n(246),Ft=n(98),Tt=n(745);n(104);!function(e){e.LEFT="left",e.RIGHT="right",e.CENTER="center"}(Qe||(Qe={}));var Dt,Rt=Object(l.defineComponent)({name:"DRDropdown",components:{Icon:f.a},props:{appendIcon:{type:Boolean,default:!1},position:{type:String,default:Qe.CENTER,validator:function(e){return Object.values(Qe).includes(e)}},disabled:{type:Boolean,default:!1},openIndicatorIcon:{type:Object,required:!1,default:function(){return{text:m.a.CHEVRON_DOWN,type:m.a.CHEVRON_DOWN}}},extended:{type:Boolean,default:!1}},data:function(){return{visible:!1}},created:function(){this.resetEmitter(),document.addEventListener("click",this.handler)},beforeDestroy:function(){var e=this;document.removeEventListener("click",this.handler),this.$root.$off("dr-dropdown-open",(function(){return e.visible=!1})),this.$root.$off("dr-dropdown-hide",(function(){return e.visible=!1}))},computed:{safeId:function(){return"dr-dropdown-id-".concat(Math.random().toString(36).substr(2,5))},expanded:function(){return this.visible?"true":"false"},controlClasses:function(){return["dr-dropdown__control",this.visible?"dr-dropdown__control--active":"",this.disabled?"dr-dropdown__control--disabled":""]},iconClasses:function(){return["dr-dropdown__control-icon",this.visible?"dr-dropdown__control-icon--active":""]},bodyClasses:function(){return["dr-dropdown__body","dr-dropdown__body--".concat(this.position)]}},methods:{handler:function(e){var t=e.target;!(t.closest(".dr-dropdown__control")||t.closest(".dr-dropdown__body"))&&this.visible&&this.$root.$emit("dr-dropdown-hide")},show:function(){this.visible=!0},hide:function(){this.visible=!1},resetEmitter:function(){var e=this;this.$root.$on("dr-dropdown-open",(function(){return e.visible=!1})),this.$root.$on("dr-dropdown-hide",(function(){return e.visible=!1}))},toggle:function(e){if(!this.disabled&&["click","keydown"].includes(e.type)){if(this.visible)return this.$root.$emit("dr-dropdown-hide"),void this.hide();e.target.closest(".dr-dropdown__body")||(this.$root.$emit("dr-dropdown-open"),this.show())}}}}),Nt=Object(y.a)(Rt,(function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"dr-dropdown",class:{"dr-dropdown--extended":e.extended}},[t("button",{class:e.controlClasses,attrs:{id:e.safeId,"aria-expanded":e.expanded},on:{click:e.toggle,keydown:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"])?null:e.hide.apply(null,arguments)}}},[e._t("label"),e._v(" "),e.appendIcon?t("Icon",e._b({class:e.iconClasses,attrs:{display_sr_only_text:!1}},"Icon",e.openIndicatorIcon,!1)):e._e()],2),e._v(" "),t("transition",{attrs:{name:"fade"}},[t("div",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],class:e.bodyClasses},[t("ul",{staticClass:"dr-dropdown__body-list",attrs:{"aria-labelledby":e.safeId}},[e._t("default")],2),e._v(" "),e._t("actions")],2)])],1)}),[],!1,null,null,null),Lt=Nt.exports,Jt=Object(l.defineComponent)({name:"DRDropdownItem"}),Vt=Object(y.a)(Jt,(function(){var e=this,t=e._self._c;e._self._setupProxy;return t("li",{staticClass:"dr-dropdown__body-list-item"},[e._t("default")],2)}),[],!1,null,null,null).exports,qt=Object(l.defineComponent)({name:"DRDropdownDivider"}),Ht=Object(y.a)(qt,(function(){var e=this;e._self._c,e._self._setupProxy;return e._m(0)}),[function(){var e=this._self._c;this._self._setupProxy;return e("li",{staticClass:"dr-dropdown__list-divider",attrs:{role:"presentation"}},[e("hr",{staticClass:"dr-dropdown__list-divider-line",attrs:{role:"separator","aria-orientation":"horizontal"}})])}],!1,null,null,null).exports,Wt=Object(l.defineComponent)({name:"DRDropdownActions"}),Ut=Object(y.a)(Wt,(function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"dr-dropdown__actions"},[e._t("action-reset"),e._v(" "),e._t("default"),e._v(" "),e._t("action-apply")],2)}),[],!1,null,null,null).exports,zt=n(141),Kt=n(250);!function(e){e.DESKTOP="desktop",e.MOBILE="mobile"}(Dt||(Dt={}));var Gt=Object(l.defineComponent)({name:"MatchingButton",components:{IconButton:S.a},props:{type:{type:String,required:!0,validator:function(e){return Object.values(Dt).includes(e)}},className:{type:String}},computed:{iconButton:function(){var e=this.$t("ui.match-my-cv");return{leftIcon:{text:e,type:m.a.WAND},label:e}},resolutionClass:function(){var e=this.type===Dt.DESKTOP?["matching-button--desktop"]:["matching-button--mobile"];return this.className&&e.push(this.className),e},domainName:function(){return this.$store.getters["".concat(C.CAREERS_SITE_NAMESPACE,"/domainName")]}},methods:{openMatchingModal:function(){var e;null===(e=this.$mixpanel)||void 0===e||e.track("Click_Matching_Button",{domain:this.domainName,page_type:"job_ad_list"}),this.$store.commit(C.CAREERS_SITE_NAMESPACE+"/commitDisplayMatchingModal")}}}),Yt=Object(y.a)(Gt,(function(){var e=this,t=e._self._c;e._self._setupProxy;return t("IconButton",e._b({staticClass:"matching-button",class:e.resolutionClass,on:{click:e.openMatchingModal}},"IconButton",e.iconButton,!1))}),[],!1,null,null,null).exports,Zt=Object(l.defineComponent)({name:"MatchingStatusActions",components:{IconButton:S.a,DRDropdown:Lt,DRDropdownItem:Vt,DRDropdownDivider:Ht,Icon:f.a,Paragraph:v.a},computed:{editIcon:function(){return{type:m.a.EDIT,text:this.$t("ui.upload")}},enabledStatusIcon:function(){return{type:m.a.CIRCLE_FULL,text:this.$t("ui.enabled"),class:"enabled"}},disabledStatusIcon:function(){return{type:m.a.CIRCLE_FULL,text:this.$t("ui.disabled"),class:"disabled"}}},methods:{uploadNewCV:function(){this.closeDropdown(),this.$store.commit(C.CAREERS_SITE_NAMESPACE+"/commitDisplayMatchingModal",!0)},closeDropdown:function(){this.$root.$emit("dr-dropdown-hide")},enableMatching:function(){this.$store.commit(G.JOB_ADS_NAMESPACE+"/setInMatchingMode",!0),this.closeDropdown(),this.$emit("status-change")},disableMatching:function(){this.$store.commit(G.JOB_ADS_NAMESPACE+"/setInMatchingMode",!1),this.closeDropdown(),this.$emit("status-change")}}}),Qt=Object(y.a)(Zt,(function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"matching-status-actions"},[t("DRDropdownItem",{attrs:{tabindex:"0"},nativeOn:{click:function(t){return e.enableMatching.apply(null,arguments)},keyup:[function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.enableMatching.apply(null,arguments)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"])?null:e.closeDropdown.apply(null,arguments)}]}},[t("Icon",e._b({},"Icon",e.enabledStatusIcon,!1)),e._v(" "),t("div",{staticClass:"matching-status-button__label"},[t("Paragraph",[e._v(e._s(e.$t("ui.matching.enable.title")))]),e._v(" "),t("Paragraph",[e._v(e._s(e.$t("ui.matching.enable.details")))])],1)],1),e._v(" "),t("DRDropdownDivider"),e._v(" "),t("DRDropdownItem",{attrs:{tabindex:"0"},nativeOn:{click:function(t){return e.disableMatching.apply(null,arguments)},keyup:[function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.disableMatching.apply(null,arguments)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"])?null:e.closeDropdown.apply(null,arguments)}]}},[t("Icon",e._b({},"Icon",e.disabledStatusIcon,!1)),e._v(" "),t("div",{staticClass:"matching-status-button__label"},[t("Paragraph",[e._v(e._s(e.$t("ui.matching.disable.title")))]),e._v(" "),t("Paragraph",[e._v(e._s(e.$t("ui.matching.disable.details")))])],1)],1),e._v(" "),t("DRDropdownDivider"),e._v(" "),t("DRDropdownItem",{attrs:{tabindex:"0"},nativeOn:{click:function(t){return e.uploadNewCV.apply(null,arguments)},keyup:[function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.uploadNewCV.apply(null,arguments)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"])?null:e.closeDropdown.apply(null,arguments)}]}},[t("Icon",e._b({},"Icon",e.editIcon,!1)),e._v(" "),t("Paragraph",[e._v(e._s(e.$t("ui.matching.update-cv")))])],1)],1)}),[],!1,null,null,null),Xt=Qt.exports;n(123);function en(e){return new Promise((function(t){return setTimeout(t,e)}))}var tn=Object(l.defineComponent)({name:"MatchingStatusModal",components:{Modal:pt.a,MatchingStatusActions:Xt},methods:{getModal:function(){return this.$refs.modal},fixAccessibility:function(){var e=this;return Object(r.a)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,new Promise((function(e){return setTimeout(e,0)}));case 2:e.getModal().setFocusableEls();case 3:case"end":return t.stop()}}),t)})))()}},mounted:function(){this.$root.$on("dr-dropdown-open",this.fixAccessibility)},beforeDestroy:function(){this.$root.$off("dr-dropdown-open",this.fixAccessibility)}}),nn=Object(y.a)(tn,(function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"overlay matching-status-modal",on:{click:function(t){return t.target!==t.currentTarget?null:e.$emit("close-modal")}}},[t("Modal",{ref:"modal",attrs:{"display-footer":!1,"display-header":!1},scopedSlots:e._u([{key:"body",fn:function(){return[t("MatchingStatusActions")]},proxy:!0}])})],1)}),[],!1,null,null,null).exports,on=Object(l.defineComponent)({name:"MatchingStatusButton",components:{MatchingStatusModal:nn,MatchingStatusActions:Xt,IconButton:S.a,DRDropdown:Lt,DRDropdownItem:Vt,DRDropdownDivider:Ht,Icon:f.a,Paragraph:v.a,Modal:pt.a},props:{modal:{type:Boolean,default:!1}},methods:{closeDropdown:function(){this.$root.$emit("dr-dropdown-hide")},setBackgroundScroll:function(e){this.modal&&(document.documentElement.style.overflowY=e)}},computed:{inMatchingMode:function(){return this.$store.state[G.JOB_ADS_NAMESPACE].inMatchingMode},position:function(){return this.modal?"left":"center"},enabledStatusIcon:function(){return{type:m.a.CIRCLE_FULL,text:this.$t("ui.enabled"),class:"enabled"}},disabledStatusIcon:function(){return{type:m.a.CIRCLE_FULL,text:this.$t("ui.disabled"),class:"disabled"}},mainIcon:function(){return this.inMatchingMode?this.enabledStatusIcon:this.disabledStatusIcon}},mounted:function(){var e=this;this.$root.$on("dr-dropdown-open",(function(){return e.setBackgroundScroll("hidden")})),this.$root.$on("dr-dropdown-hide",(function(){return e.setBackgroundScroll("scroll")}))},beforeDestroy:function(){var e=this;this.$root.$off("dr-dropdown-open",(function(){return e.setBackgroundScroll("hidden")})),this.$root.$off("dr-dropdown-hide",(function(){return e.setBackgroundScroll("scroll")}))}}),rn=Object(y.a)(on,(function(){var e=this,t=e._self._c;e._self._setupProxy;return t("DRDropdown",{staticClass:"matching-status-button",attrs:{"append-icon":"",position:e.position},scopedSlots:e._u([{key:"label",fn:function(){return[t("Icon",e._b({staticClass:"matching-status-button__status-icon"},"Icon",e.mainIcon,!1)),e._v(" "),t("span",[e._v(e._s(e.$t("ui.matching.title")))])]},proxy:!0}])},[e._v(" "),e.modal?t("MatchingStatusModal",{ref:"modal",on:{"close-modal":e.closeDropdown}}):t("MatchingStatusActions")],1)}),[],!1,null,null,null).exports,an=n(321),sn=Object(l.defineComponent)({name:"JobAdFiltersGroup",mixins:[_t],components:{Button:zt.a,IconButton:S.a,DRDropdown:Lt,DRDropdownItem:Vt,DRDropdownActions:Ut,DRDropdownDivider:Ht,ButtonCheckbox:P.a,MatchingButton:Yt,MatchingStatusButton:rn},props:{clearable:{type:Boolean,default:!1},extended:{type:Boolean,default:!1}},data:function(){return{appliedJobs:[],appliedContractTypes:[],appliedCustomFieldYesNo:[],appliedCustomFieldMcqChoice:[],appliedWorkingTimes:[],appliedRemoteWorkTypes:[],filtersValues:Xe.a}},methods:{reset:function(){var e;null===(e=this.$mixpanel)||void 0===e||e.track("Click_Filter_reset",{domain:this.domainName,page_type:"job_ad_list"}),this.$emit("clear")},applySelected:function(e,t){var n,o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];null===(n=this.$mixpanel)||void 0===n||n.track("Click_Filter",{domain:this.domainName,filter_name:e.includes("customField")?"customFilter":e,page_type:"job_ad_list"}),o&&this.$root.$emit("dr-dropdown-hide"),this.$store.commit(G.JOB_ADS_NAMESPACE+"/updateFilters",{type:e,values:t}),this.$emit("search")},resetSelected:function(e){this.applySelected(e,[],!1)},checkChanges:function(e){this.appliedJobs=e[Xe.a.JobFilter],this.appliedContractTypes=e[Xe.a.ContractFilter],this.appliedWorkingTimes=e[Xe.a.WorkingTimeFilter],this.appliedRemoteWorkTypes=e[Xe.a.RemoteWorkFilter]||[],this.appliedCustomFieldYesNo=e[Xe.a.CustomFieldYesNo],this.appliedCustomFieldMcqChoice=e[Xe.a.CustomFieldMcqChoice]}},computed:{filterParameters:function(){return this.$store.state[G.JOB_ADS_NAMESPACE].filterParameters},count:function(){return this.$store.state[G.JOB_ADS_NAMESPACE].count},jobAdFilters:function(){return this.$store.getters[G.JOB_ADS_NAMESPACE+"/jobAdFilters"]},matchingJobAdsIds:function(){return this.$store.state[G.JOB_ADS_NAMESPACE].matchingJobAdsIds},isMatchingActive:function(){return this.$store.getters[C.CAREERS_SITE_NAMESPACE+"/isMatchingActive"]},customFilter:function(){return this.$store.getters[C.CAREERS_SITE_NAMESPACE+"/customFilter"]},domainName:function(){return this.$store.getters[C.CAREERS_SITE_NAMESPACE+"/domainName"]},clearButtonProps:function(){return{leftIcon:{text:this.$t("ui.reset"),type:m.a.RESET},label:this.$t("ui.reset")}},displayRemoteWorkFilter:function(){return this.hasRemoteWorkFilter()},displayCustomFieldMcqChoiceFilter:function(){var e;return(null===(e=this.customFilter)||void 0===e?void 0:e.value_type)===Kt.a.McqField},displayCustomFieldYesNoFilter:function(){var e;return(null===(e=this.customFilter)||void 0===e?void 0:e.value_type)===Kt.a.YesNoField},displayJobsClearButton:function(){return!le()(this.appliedJobs)},displayContractsClearButton:function(){return!le()(this.appliedContractTypes)},displayWorkingTimesClearButton:function(){return!le()(this.appliedWorkingTimes)},displayRemoteWorkClearButton:function(){return!le()(this.appliedRemoteWorkTypes)},displayCustomFieldYesNoClearButton:function(){return!le()(this.appliedCustomFieldYesNo)},displayCustomFieldMcqChoiceClearButton:function(){return!le()(this.appliedCustomFieldMcqChoice)},matchingButtonType:function(){return Dt.DESKTOP},displayMatchingStatusButton:function(){return this.isMatchingActive&&!le()(this.matchingJobAdsIds)},displayMatchingButton:function(){return this.isMatchingActive&&!!this.count&&this.count>=an.a}},watch:{filterParameters:{handler:"checkChanges",deep:!0,immediate:!0}}}),ln=sn,cn=Object(y.a)(ln,(function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"dr-dropdown-group",class:{"dr-dropdown-group--extended":e.extended}},[e.displayMatchingStatusButton?t("MatchingStatusButton",{on:{"status-change":function(t){return e.$emit("search")}}}):e.displayMatchingButton?t("MatchingButton",{attrs:{type:e.matchingButtonType}}):e._e(),e._v(" "),e.displayCustomFieldYesNoFilter?t("DRDropdown",{attrs:{extended:e.extended,"append-icon":"",disabled:e.jobAdFilters.customFieldYesNo.length<=0},scopedSlots:e._u([{key:"label",fn:function(){return[e._v("\n      "+e._s(e.customFilter.name)+"\n      "),e.appliedCustomFieldYesNo.length?t("span",{staticClass:"dr-dropdown__count-label"},[e._v("\n        "+e._s(e.appliedCustomFieldYesNo.length)+"\n      ")]):e._e()]},proxy:!0},{key:"actions",fn:function(){return[t("DRDropdownActions",{scopedSlots:e._u([e.displayCustomFieldYesNoClearButton?{key:"action-reset",fn:function(){return[t("Button",{attrs:{variant:"link"},on:{click:function(t){return e.resetSelected(e.filtersValues.CustomFieldYesNo)}}},[e._v("\n            "+e._s(e.$t("ui.clear"))+"\n          ")])]},proxy:!0}:null,{key:"action-apply",fn:function(){return[t("Button",{staticClass:"apply-button",on:{click:function(t){return e.applySelected(e.filtersValues.CustomFieldYesNo,e.appliedCustomFieldYesNo)}}},[e._v("\n            "+e._s(e.$t("ui.apply"))+"\n          ")])]},proxy:!0}],null,!0)})]},proxy:!0}],null,!1,3174063440)},[e._v(" "),e._l(e.jobAdFilters.customFieldYesNo,(function(option){return t("DRDropdownItem",{key:option.id},[t("ButtonCheckbox",{attrs:{value:option.id.toString(),extended:e.extended},model:{value:e.appliedCustomFieldYesNo,callback:function(t){e.appliedCustomFieldYesNo=t},expression:"appliedCustomFieldYesNo"}},[e._v("\n        "+e._s(option.name)+"\n        "),t("span",{staticClass:"dr-dropdown__quantity"},[e._v("("+e._s(option.count)+")")])])],1)}))],2):e._e(),e._v(" "),e.displayCustomFieldMcqChoiceFilter?t("DRDropdown",{attrs:{extended:e.extended,"append-icon":"",disabled:e.jobAdFilters.customFieldMcqChoice<=0},scopedSlots:e._u([{key:"label",fn:function(){return[e._v("\n      "+e._s(e.customFilter.name)+"\n      "),e.appliedCustomFieldMcqChoice.length?t("span",{staticClass:"dr-dropdown__count-label"},[e._v("\n        "+e._s(e.appliedCustomFieldMcqChoice.length)+"\n      ")]):e._e()]},proxy:!0},{key:"actions",fn:function(){return[t("DRDropdownActions",{scopedSlots:e._u([e.displayCustomFieldMcqChoiceClearButton?{key:"action-reset",fn:function(){return[t("Button",{attrs:{variant:"link"},on:{click:function(t){return e.resetSelected(e.filtersValues.CustomFieldMcqChoice)}}},[e._v("\n            "+e._s(e.$t("ui.clear"))+"\n          ")])]},proxy:!0}:null,{key:"action-apply",fn:function(){return[t("Button",{staticClass:"apply-button",on:{click:function(t){return e.applySelected(e.filtersValues.CustomFieldMcqChoice,e.appliedCustomFieldMcqChoice)}}},[e._v("\n            "+e._s(e.$t("ui.apply"))+"\n          ")])]},proxy:!0}],null,!0)})]},proxy:!0}],null,!1,1759378640)},[e._v(" "),e._l(e.jobAdFilters.customFieldMcqChoice,(function(option){return t("DRDropdownItem",{key:option.id},[t("ButtonCheckbox",{attrs:{value:option.id.toString(),extended:e.extended},model:{value:e.appliedCustomFieldMcqChoice,callback:function(t){e.appliedCustomFieldMcqChoice=t},expression:"appliedCustomFieldMcqChoice"}},[e._v("\n        "+e._s(option.name)+"\n        "),t("span",{staticClass:"dr-dropdown__quantity"},[e._v("("+e._s(option.count)+")")])])],1)}))],2):e._e(),e._v(" "),t("DRDropdown",{attrs:{extended:e.extended,"append-icon":"",disabled:e.jobAdFilters.jobs.length<=0},scopedSlots:e._u([{key:"label",fn:function(){return[e._v("\n      "+e._s(e.$t("ui.functions"))+"\n      "),e.appliedJobs.length?t("span",{staticClass:"dr-dropdown__count-label"},[e._v("\n        "+e._s(e.appliedJobs.length)+"\n      ")]):e._e()]},proxy:!0},{key:"actions",fn:function(){return[t("DRDropdownActions",{scopedSlots:e._u([e.displayJobsClearButton?{key:"action-reset",fn:function(){return[t("Button",{attrs:{variant:"link"},on:{click:function(t){return e.resetSelected(e.filtersValues.JobFilter)}}},[e._v("\n            "+e._s(e.$t("ui.clear"))+"\n          ")])]},proxy:!0}:null,{key:"action-apply",fn:function(){return[t("Button",{staticClass:"apply-button",on:{click:function(t){return e.applySelected(e.filtersValues.JobFilter,e.appliedJobs)}}},[e._v("\n            "+e._s(e.$t("ui.apply"))+"\n          ")])]},proxy:!0}],null,!0)})]},proxy:!0}])},[e._v(" "),e._l(e.jobAdFilters.jobs,(function(n){return t("DRDropdownItem",{key:n.id},[t("ButtonCheckbox",{attrs:{extended:e.extended,value:n.id.toString()},model:{value:e.appliedJobs,callback:function(t){e.appliedJobs=t},expression:"appliedJobs"}},[e._v("\n        "+e._s(n.name)+"\n        "),t("span",{staticClass:"dr-dropdown__quantity"},[e._v("("+e._s(n.count)+")")])])],1)}))],2),e._v(" "),t("DRDropdown",{attrs:{extended:e.extended,"append-icon":"",disabled:e.jobAdFilters.jobs.length<=0},scopedSlots:e._u([{key:"label",fn:function(){return[e._v("\n      "+e._s(e.$t("ui.contracts"))+"\n      "),e.appliedContractTypes.length?t("span",{staticClass:"dr-dropdown__count-label"},[e._v("\n        "+e._s(e.appliedContractTypes.length)+"\n      ")]):e._e()]},proxy:!0},{key:"actions",fn:function(){return[t("DRDropdownActions",{scopedSlots:e._u([e.displayContractsClearButton?{key:"action-reset",fn:function(){return[t("Button",{attrs:{variant:"link"},on:{click:function(t){return e.resetSelected(e.filtersValues.ContractFilter)}}},[e._v("\n            "+e._s(e.$t("ui.clear"))+"\n          ")])]},proxy:!0}:null,{key:"action-apply",fn:function(){return[t("Button",{staticClass:"apply-button",on:{click:function(t){return e.applySelected(e.filtersValues.ContractFilter,e.appliedContractTypes)}}},[e._v("\n            "+e._s(e.$t("ui.apply"))+"\n          ")])]},proxy:!0}],null,!0)})]},proxy:!0}])},[e._v(" "),e._l(e.jobAdFilters.contractTypes,(function(n){return t("DRDropdownItem",{key:n.id},[t("ButtonCheckbox",{attrs:{extended:e.extended,value:n.id.toString()},model:{value:e.appliedContractTypes,callback:function(t){e.appliedContractTypes=t},expression:"appliedContractTypes"}},[e._v("\n        "+e._s(n.name)+"\n        "),t("span",{staticClass:"dr-dropdown__quantity"},[e._v("("+e._s(n.count)+")")])])],1)}))],2),e._v(" "),t("DRDropdown",{attrs:{extended:e.extended,"append-icon":"",disabled:e.jobAdFilters.jobs.length<=0},scopedSlots:e._u([{key:"label",fn:function(){return[e._v("\n      "+e._s(e.$t("ui.working-time"))+"\n      "),e.appliedWorkingTimes.length?t("span",{staticClass:"dr-dropdown__count-label"},[e._v("\n        "+e._s(e.appliedWorkingTimes.length)+"\n      ")]):e._e()]},proxy:!0},{key:"actions",fn:function(){return[t("DRDropdownActions",{scopedSlots:e._u([e.displayWorkingTimesClearButton?{key:"action-reset",fn:function(){return[t("Button",{attrs:{variant:"link"},on:{click:function(t){return e.resetSelected(e.filtersValues.WorkingTimeFilter)}}},[e._v("\n            "+e._s(e.$t("ui.clear"))+"\n          ")])]},proxy:!0}:null,{key:"action-apply",fn:function(){return[t("Button",{staticClass:"apply-button",on:{click:function(t){return e.applySelected(e.filtersValues.WorkingTimeFilter,e.appliedWorkingTimes)}}},[e._v("\n            "+e._s(e.$t("ui.apply"))+"\n          ")])]},proxy:!0}],null,!0)})]},proxy:!0}])},[e._v(" "),e._l(e.jobAdFilters.workingTimes,(function(time){return t("DRDropdownItem",{key:time.id},[t("ButtonCheckbox",{attrs:{extended:e.extended,value:time.id.toString()},model:{value:e.appliedWorkingTimes,callback:function(t){e.appliedWorkingTimes=t},expression:"appliedWorkingTimes"}},[e._v("\n        "+e._s(time.name)+"\n        "),t("span",{staticClass:"dr-dropdown__quantity"},[e._v("("+e._s(time.count)+")")])])],1)}))],2),e._v(" "),e.displayRemoteWorkFilter?t("DRDropdown",{attrs:{extended:e.extended,"append-icon":"",disabled:e.jobAdFilters.jobs.length<=0},scopedSlots:e._u([{key:"label",fn:function(){return[e._v("\n      "+e._s(e.$t("ui.remote-work"))+"\n      "),e.appliedRemoteWorkTypes.length?t("span",{staticClass:"dr-dropdown__count-label"},[e._v("\n        "+e._s(e.appliedRemoteWorkTypes.length)+"\n      ")]):e._e()]},proxy:!0},{key:"actions",fn:function(){return[t("DRDropdownActions",{scopedSlots:e._u([e.displayRemoteWorkClearButton?{key:"action-reset",fn:function(){return[t("Button",{attrs:{variant:"link"},on:{click:function(t){return e.resetSelected(e.filtersValues.RemoteWorkFilter)}}},[e._v("\n            "+e._s(e.$t("ui.clear"))+"\n          ")])]},proxy:!0}:null,{key:"action-apply",fn:function(){return[t("Button",{staticClass:"apply-button",on:{click:function(t){return e.applySelected(e.filtersValues.RemoteWorkFilter,e.appliedRemoteWorkTypes)}}},[e._v("\n            "+e._s(e.$t("ui.apply"))+"\n          ")])]},proxy:!0}],null,!0)})]},proxy:!0}],null,!1,941275242)},[e._v(" "),e._l(e.jobAdFilters.remoteWorkTypes,(function(n){return t("DRDropdownItem",{key:n.id},[t("ButtonCheckbox",{attrs:{extended:e.extended,value:n.id.toString()},model:{value:e.appliedRemoteWorkTypes,callback:function(t){e.appliedRemoteWorkTypes=t},expression:"appliedRemoteWorkTypes"}},[e._v("\n        "+e._s(n.name)+"\n        "),t("span",{staticClass:"dr-dropdown__quantity"},[e._v("("+e._s(n.count)+")")])])],1)}))],2):e._e(),e._v(" "),e.clearable?t("IconButton",e._b({staticClass:"dr-dropdown-group__action--clear",attrs:{variant:"link"},on:{click:function(t){return e.reset()}}},"IconButton",e.clearButtonProps,!1)):e._e()],1)}),[],!1,null,null,null).exports,un=Object(l.defineComponent)({name:"DesktopFilters",components:{ResearchFields:Be,JobAdFiltersGroup:cn},props:{extended:{type:Boolean,default:!1}},computed:{isSearchParametersEmpty:function(){return this.$store.getters[G.JOB_ADS_NAMESPACE+"/isSearchParametersEmpty"]},isFilterParametersEmpty:function(){return this.$store.getters[G.JOB_ADS_NAMESPACE+"/isFilterParametersEmpty"]},isCurrentViewportEmpty:function(){return this.$store.getters[G.JOB_ADS_NAMESPACE+"/isCurrentViewportEmpty"]},displayClearButton:function(){return!this.isSearchParametersEmpty||!this.isFilterParametersEmpty||!this.isCurrentViewportEmpty}},methods:{search:function(e){return this.$emit("search",e),e}}}),dn=Object(y.a)(un,(function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"desktop-filters",class:{"desktop-filters--extended":e.extended}},[t("ResearchFields",{on:{search:e.search}}),e._v(" "),t("client-only",[t("JobAdFiltersGroup",{attrs:{clearable:e.displayClearButton,extended:e.extended},on:{search:e.search,clear:function(t){return e.$emit("clear")}}})],1)],1)}),[],!1,null,null,null).exports,pn=n(917),hn=n(96),fn=Object(l.defineComponent)({name:"MobileFilters",components:{ResearchFields:Be,ModalFilters:Bt,IconButton:S.a,CheckboxFilter:pn.default},props:{displayFiltersModal:{type:Boolean,default:!1},displayResearchModal:{type:Boolean,default:!1},extended:{type:Boolean,default:!1}},computed:{jobAdListingSettings:function(){return this.$store.getters[C.CAREERS_SITE_NAMESPACE+"/jobAdListingSettings"]},brands:function(){return this.$store.getters[C.CAREERS_SITE_NAMESPACE+"/brands"]},customFilter:function(){return this.$store.getters[C.CAREERS_SITE_NAMESPACE+"/customFilter"]},canDisplayBrandsFilter:function(){return this.$store.getters[C.CAREERS_SITE_NAMESPACE+"/canDisplayBrandsFilter"]},filtersComponent:function(){return this.canDisplayBrandsFilter?this.translatedFiltersComponent:this.translatedFiltersComponent.filter((function(e){return e.data.filterType!==Xe.a.BrandFilter}))},displayModal:function(){return this.displayFiltersModal||this.displayResearchModal}},methods:{initCustomFilter:function(){if(this.customFilter){var e,t;switch(this.customFilter.value_type){case Kt.a.YesNoField:e=Xe.a.CustomFieldYesNo;break;case Kt.a.McqField:e=Xe.a.CustomFieldMcqChoice;break;default:return void hn.$logger.error("Filter ".concat(this.customFilter.value_type," is not supported"),{})}this.translatedFiltersComponent.unshift({data:{iconProp:{text:this.customFilter.name,type:m.a.FILTER},title:this.customFilter.name,component:(t=Object(r.a)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,pn.default;case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))),function(){return t.apply(this,arguments)}),panelTitle:this.customFilter.name,filterType:e}})}},getJobAds:function(e){return this.$emit("search",e),e},eraseFilters:function(){this.$store.commit(G.JOB_ADS_NAMESPACE+"/eraseFilters"),this.$emit("clear")},eraseSearchParameters:function(){this.$store.commit(G.JOB_ADS_NAMESPACE+"/eraseSearchParameters"),this.$emit("clear")},closeFiltersModal:function(){this.$emit("closeModal")}},data:function(){return{translatedFiltersComponent:[]}},created:function(){this.translatedFiltersComponent=xe(this,At),this.initCustomFilter()}}),mn=fn,bn=Object(y.a)(mn,(function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"overlay",class:{"overlay--extended":e.extended,"overlay--hidden":!e.displayModal,"overlay--displayed":e.displayModal},on:{click:function(t){return t.target!==t.currentTarget?null:e.closeFiltersModal.apply(null,arguments)}}},[e.displayModal?t("ModalFilters",{attrs:{"filters-component":e.filtersComponent,"is-research-filter":e.displayResearchModal,"is-default-filter":e.displayFiltersModal,extended:e.extended,"is-modal-displayed":e.displayModal},on:{"get-job-ads":e.getJobAds,"close-modal":e.closeFiltersModal,"erase-filters":e.eraseFilters,"erase-search-parameters":e.eraseSearchParameters,"clear-all-filters":function(t){return e.$emit("clearAllFilters")}}}):e._e()],1)}),[],!1,null,null,null),gn=bn.exports,vn=(n(195),n(783)),_n=n(806),yn=(n(164),n(145));function xn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}var Cn=Object(l.defineComponent)({name:"Pagination",components:{Button:yn.a,Link:Ct.a,IconButton:S.a},props:{pageCount:{type:Number,required:!0},pageToStart:{type:Number},infoText:{type:String,required:!0},extended:{type:Boolean,default:!1},previousLabel:{type:String},nextLabel:{type:String}},data:function(){return{selectedPage:1,pageOffset:3,pagesAsArray:[],activePages:[],showAllItems:!1}},created:function(){this.activePages.includes(this.selectedPage)||(this.selectedPage+this.pageOffset>=this.pageCount?(this.showAllItems=!0,this.activePages=Object(w.a)(this.pagesAsArray.slice(-5,-1))):this.activePages=this.pagesAsArray.slice(0,this.selectedPage)),this.selectPage(this.selectedPage)},updated:function(){this.showAllItems&&!this.lastSelected&&this.activePages.length>0&&!this.lastChunk&&this.pageCount-this.activePages[this.activePages.length-1]>1&&(this.showAllItems=!1)},computed:{firstSelected:function(){return this.selectedPage<=1},lastSelected:function(){return this.selectedPage===this.pageCount},lastChunk:function(){return this.activePages[this.activePages.indexOf(this.selectedPage+1)]===this.pageCount-2},paginationControlsClassFirstSelected:function(){return{pagination__controls:!0,"pagination__controls--hidden":this.firstSelected}},paginationControlsClassLastSelected:function(){return{pagination__controls:!0,"pagination__controls--hidden":this.lastSelected}}},methods:{setPaginationLinkClass:function(e){return{pagination__link:!0,"pagination__link--active":this.selectedPage===e}},setHref:function(e){if(void 0!==this.$route&&this.$route.query){var t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?xn(Object(n),!0).forEach((function(t){Object(o.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},this.$route.query);return"?"+new URLSearchParams(Object.assign(t,{page:e})).toString()}return""},startPage:function(){this.pageToStart&&(this.selectedPage=this.pageToStart)},convertPages:function(){this.pagesAsArray=Array.from({length:this.pageCount},(function(e,i){return i+1}))},setActivePages:function(){this.pageCount<2*this.pageOffset?(this.activePages=this.pagesAsArray.slice(0,this.pageCount-1),this.showAllItems=!0):this.activePages=this.pagesAsArray.slice(0,this.pageOffset)},isLast:function(){return this.activePages.indexOf(this.selectedPage)===this.activePages.length-1},isFirst:function(){return 0===this.activePages.indexOf(this.selectedPage)&&1!==this.activePages[0]},shift:function(){var e=this.selectedPage-2,t=this.selectedPage+1;this.activePages=this.pagesAsArray.slice(e,t)},selectPage:function(e){this.selectedPage=e,this.selectedPage===this.pageCount?(this.showAllItems=!0,this.activePages=Object(w.a)(this.pagesAsArray.slice(-5,-1))):(this.isLast()&&!this.showAllItems?this.shift():this.isFirst()&&(this.shift(),this.showAllItems&&!this.lastChunk&&(this.showAllItems=!1)),!this.showAllItems&&this.lastChunk&&(this.showAllItems=!0,this.activePages=[].concat(Object(w.a)(this.activePages),Object(w.a)(this.pagesAsArray.slice(-2,this.pagesAsArray.length-1))))),this.$emit("onPageChanged",e)},next:function(){return++this.selectedPage,this.isLast()&&!this.showAllItems&&this.shift(),!this.showAllItems&&this.lastChunk&&(this.showAllItems=!0,this.activePages=[].concat(Object(w.a)(this.activePages),Object(w.a)(this.pagesAsArray.slice(-2,this.pagesAsArray.length-1)))),this.updateQueryParams(),this.$emit("onPageChanged",this.selectedPage),this.selectedPage},rewind:function(){return--this.selectedPage,this.isFirst()&&(this.shift(),this.showAllItems&&!this.lastChunk&&(this.showAllItems=!1)),this.updateQueryParams(),this.$emit("onPageChanged",this.selectedPage),this.selectedPage},updateQueryParams:function(){void 0!==this.$router&&this.$router.push({query:{page:this.selectedPage}})}},watch:{pageCount:{immediate:!0,handler:function(){this.startPage(),this.convertPages(),this.setActivePages()}}}}),Sn=Cn,wn=Object(y.a)(Sn,(function(){var e=this,t=e._self._c;e._self._setupProxy;return t("nav",{staticClass:"pagination",class:{"pagination--extended":e.extended}},[t("div",{staticClass:"pagination__wrapper"},[e.extended?t("Button",{class:e.paginationControlsClassFirstSelected,attrs:{tabindex:e.firstSelected?-1:0},on:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.rewind.apply(null,arguments)}},nativeOn:{click:function(t){return t.preventDefault(),e.rewind.apply(null,arguments)}}},[e._v("\n      "+e._s(e.previousLabel)+"\n    ")]):t("IconButton",{class:e.paginationControlsClassFirstSelected,attrs:{"aria-label":"previous page","right-icon":{text:"previous page",type:"chevron_left"},tabindex:e.firstSelected?-1:0},on:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.rewind.apply(null,arguments)}},nativeOn:{click:function(t){return t.preventDefault(),e.rewind.apply(null,arguments)}}}),e._v(" "),t("ol",{staticClass:"pagination__pages"},[e._l(e.activePages,(function(n){return t("li",{key:n,staticClass:"pagination__page"},[t("Link",{class:e.setPaginationLinkClass(n),attrs:{href:e.setHref(n),"aria-label":"page ".concat(n),text:"".concat(n)},nativeOn:{click:function(t){return t.preventDefault(),e.selectPage(n)}}},[t("span",[e._v(e._s(n))])])],1)})),e._v(" "),e.showAllItems?e._e():t("li",{staticClass:"pagination__page"},[e._m(0)]),e._v(" "),t("li",{staticClass:"pagination__page"},[t("Link",{class:e.setPaginationLinkClass(e.pageCount),attrs:{href:e.setHref(e.pageCount),"aria-label":"page ".concat(e.pageCount),tabindex:"0",text:e.pageCount},nativeOn:{click:function(t){return t.preventDefault(),e.selectPage(e.pageCount)}}},[t("span",[e._v(e._s(e.pageCount))])])],1)],2),e._v(" "),e.extended?t("Button",{class:e.paginationControlsClassLastSelected,attrs:{tabindex:e.lastSelected?-1:0},on:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.next.apply(null,arguments)}},nativeOn:{click:function(t){return t.preventDefault(),e.next.apply(null,arguments)}}},[e._v("\n      "+e._s(e.nextLabel)+"\n    ")]):t("IconButton",{class:e.paginationControlsClassLastSelected,attrs:{"right-icon":{text:"next page",type:"chevron_right"},tabindex:e.lastSelected?-1:0},on:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.next.apply(null,arguments)}},nativeOn:{click:function(t){return t.preventDefault(),e.next.apply(null,arguments)}}})],1),e._v(" "),t("span",{staticClass:"pagination__info-text"},[e._v(e._s(e.infoText))])])}),[function(){var e=this,t=e._self._c;e._self._setupProxy;return t("span",{staticClass:"pagination__delimiter"},[t("span",[e._v("...")])])}],!1,null,null,null),On=wn.exports,An=n(338),En=n.n(An),jn=n(314),kn={slidesToShow:1,slidesToScroll:1,easing:"swing",speed:700,dots:!1,arrows:!1,centerMode:!1,infinite:!1},Pn=n(752),Mn=Object(l.defineComponent)({name:"JobAdsPreviewPagination",components:{Icon:f.a,IconButton:nt.a},mixins:[Pn.a],data:function(){return{nextButtonIcon:{type:m.a.CHEVRON_RIGHT,text:"ui.next_job_posting"},prevButtonIcon:{type:m.a.CHEVRON_LEFT,text:"ui.previous_job_posting"}}},props:{currentIndex:{type:Number,required:!0},total:{type:Number,required:!0},extended:{type:Boolean,default:!1}},computed:{prevClass:function(){return this.isPrevActive?"active":"disabled"},nextClass:function(){return this.isNextActive?"active":"disabled"},isPrevActive:function(){return this.currentIndex>0},isNextActive:function(){return this.currentIndex+1<this.total},infoText:function(){return this.isDesktop||this.extended?this.$t("ui.pagination-ads-preview",{index:this.currentIndex+1,total:this.total}):"".concat(this.currentIndex+1,"/").concat(this.total)}},created:function(){this.nextButtonIcon.text=this.$t(this.nextButtonIcon.text),this.prevButtonIcon.text=this.$t(this.prevButtonIcon.text)},mounted:function(){this.isMobile&&(this.nextButtonIcon.type=this.extended?m.a.CHEVRON_RIGHT:m.a.ARROW_RIGHT,this.prevButtonIcon.type=this.extended?m.a.CHEVRON_LEFT:m.a.ARROW_LEFT)},methods:{prev:function(){this.isPrevActive&&this.$emit("prev")},next:function(){this.isNextActive&&this.$emit("next")}}}),In=Object(y.a)(Mn,(function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"job-preview-modal__pagination"},[t("IconButton",{class:e.prevClass,attrs:{"top-icon":e.prevButtonIcon},on:{click:e.prev}}),e._v(" "),t("span",{staticClass:"pagination__text"},[e._v("\n    "+e._s(e.infoText)+"\n  ")]),e._v(" "),t("IconButton",{class:e.nextClass,attrs:{"top-icon":e.nextButtonIcon},on:{click:e.next}})],1)}),[],!1,null,null,null).exports,Bn=n(820),$n=n(144),Fn=n(819),Tn=Object(l.defineComponent)({name:"JobAdPreview",components:{Button:zt.a,Link:$n.a,JobAdCard:Bn.a,Divider:ft.a,RichTextRender:Fn.a},props:{mainProps:{type:Object,required:!0},mission:{type:String,required:!0},viewMoreLabel:{type:String,required:!0},viewMoreUrl:{type:String,required:!0},applyLabel:{type:String},extended:{type:Boolean,default:!1}},computed:{actionClass:function(){return this.applyLabel?"job-ad-preview__action job-ad-preview__action--multiple":"job-ad-preview__action"}},methods:{apply:function(){this.$emit("apply")}}}),Dn=Object(y.a)(Tn,(function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"job-ad-preview"},[t("JobAdCard",e._b({attrs:{extended:e.extended}},"JobAdCard",e.mainProps,!1)),e._v(" "),t("Divider",{attrs:{"is-presentation":!0}}),e._v(" "),t("RichTextRender",{staticClass:"job-ad-preview__description",attrs:{tabindex:"-1",html:e.mission}}),e._v(" "),t("div",{class:e.actionClass},[e.viewMoreLabel?t("Link",{staticClass:"button button--secondary action__button",attrs:{href:e.viewMoreUrl}},[e._v(e._s(e.viewMoreLabel))]):e._e(),e._v(" "),e._t("actionButton",(function(){return[e.applyLabel?t("Button",{staticClass:"action__button",on:{click:e.apply}},[e._v("\n        "+e._s(e.applyLabel)+"\n      ")]):e._e()]}))],2)],1)}),[],!1,null,null,null).exports,Rn=n(757),Nn=n(744),Ln=n(244);function Jn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Vn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Jn(Object(n),!0).forEach((function(t){Object(o.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Jn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var qn=Object(l.defineComponent)({name:"SingleJobAdPreview",components:{ApplyJob:Nn.a,JobAdPreview:Dn},mixins:[Tt.a,Pn.a],props:{jobAdId:{type:Object,required:!0},isSlide:{type:Boolean,default:!1},activeSlide:{type:Boolean,default:!1},extended:{type:Boolean,default:!1}},data:function(){return{jobAd:null,jobAdPreview:null,loading:!1,jobHasDefaultImage:!0}},watch:{activeSlide:"fixInteractiveElements",jobAdId:function(){this.previewJob(this.jobAdId)}},computed:{domainName:function(){return this.$store.getters["".concat(C.CAREERS_SITE_NAMESPACE,"/domainName")]},displayActionButton:function(){return!!this.jobAd&&!this.jobAd.is_external&&!this.jobAd.is_aggregated},previewBlockClass:function(){return{"job-ad-preview--full-height":this.isMobile}},noResultText:function(){return this.loading?this.$t("ui.loading"):this.$t("ui.general-error")}},created:function(){this.previewJob(this.jobAdId)},methods:{previewJob:function(e){var t=this,n=e.job_ad_id,o=e.address_id,r=e.is_external;return this.domainName&&n?(this.loading=!0,void Object(ce.b)({domain:this.domainName,locale:Object(Ln.a)(this.$i18n.locale),jobAdId:n.toString(),isExternal:r||!1,addressId:null==o?void 0:o.toString()}).then((function(data){t.jobAdPreview=data?t.createPreviewObject(data,null!=r&&r):null,t.jobAd=null!=data?data:null,t.$nextTick((function(){t.$emit("data-loaded")})),t.jobHasDefaultImage=t.hasEnableAggregateLogo&&data&&void 0!==data.image})).catch((function(){t.jobAdPreview=null,t.jobAd=null})).finally((function(){t.loading=!1}))):null},createPreviewObject:function(e,t){var n,o,r,l;return{mainProps:{image:this.getPreviewImage(e),markLogo:this.setMarkLogo(e),contract:null!==(n=e.contract)&&void 0!==n?n:"",location:null!==(o=e.location)&&void 0!==o?o:"",job:null!==(r=e.job)&&void 0!==r?r:"",title:null!==(l=e.title)&&void 0!==l?l:"",displayAsALink:!1},mission:Object(jn.d)(e.description)||"",viewMoreLabel:this.$t("ui.view-more"),viewMoreUrl:this.getViewMoreUrl(e,t),applyLabel:e.is_external||e.is_aggregated?"":this.$t("ui.apply_button")}},getPreviewImage:function(e){return this.isMobile&&e.image_wide?Vn(Vn({},e.image_wide),{},{alt:"",display_alt:!0}):e.image?Vn(Vn({},e.image),{},{alt:"",display_alt:!0}):void 0},getViewMoreUrl:function(e){var t,n,o=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!e.url)return"";var r=null!==(t=e.career_domain)&&void 0!==t?t:this.domainName;if(o){if(e.careers_site_url)return e.careers_site_url;n=this.localePath({name:"job-jobAdId-jobExternalSlug",params:{externalId:e.id}})}else if(e.is_aggregated&&e.broadcast_hash)n=this.localePath(e.broadcast_hash);else{var l=e.url.split("/"),c=Object(ue.a)(l,2),d=c[0],h=c[1];n=d&&h?this.localePath({name:"job-jobAdId-jobAddressSlug",params:{jobAdId:d,jobAddressSlug:h}}):this.localePath({name:"job-jobSlug",params:{jobSlug:e.url}})}return r===this.domainName?n:"".concat(this.$config.urlProtocol,"://").concat(r).concat(n)},fixInteractiveElements:function(){var e=this;Object(Rn.a)(this.$el,{hidden:!0}).forEach((function(element){element.setAttribute("tabindex",e.activeSlide?"0":"-1")}))},clickApply:function(){var e,t=this.jobAdId,n=t.job_ad_id,o=t.is_external;null===(e=this.$mixpanel)||void 0===e||e.track(lt.g,{domain:this.domainName,button_name:lt.c,job_ad_id:n,job_ad_is_external:o})}}}),Hn=qn,Wn=Object(y.a)(Hn,(function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"job-ad-preview-wrapper"},[e.jobAdPreview?t("JobAdPreview",e._b({class:e.previewBlockClass,attrs:{extended:e.extended},scopedSlots:e._u([e.displayActionButton?{key:"actionButton",fn:function(){return[t("ApplyJob",{attrs:{"job-ad-id":e.jobAd.id,"is-external":e.jobAdId.is_external,"careers-site-url":e.jobAd.careers_site_url,"job-ad-career-domain":e.jobAd.career_domain},on:{"click-apply":e.clickApply}})]},proxy:!0}:{key:"actionButton",fn:function(){return[t("span")]},proxy:!0}],null,!0)},"JobAdPreview",e.jobAdPreview,!1)):t("div",{staticClass:"no-result"},[e._v(e._s(e.noResultText))])],1)}),[],!1,null,null,null).exports,Un=Object(l.defineComponent)({components:{SingleJobAdPreview:Wn,Carousel:$e.a,JobAdsPreviewPagination:In},props:{extended:{type:Boolean,default:!1}},data:function(){return{settings:kn,currentIndex:0}},computed:{jobAdsToPreview:function(){return this.$store.state[G.JOB_ADS_NAMESPACE].jobAdsToPreview},slider:function(){return this.$refs.slider}},watch:{jobAdsToPreview:{deep:!0,handler:"onJobAdsToPreviewChange"}},methods:{onJobAdsToPreviewChange:function(){this.reInitSlider()},viewPrevJob:function(){this.slider.prev()},viewNextJob:function(){this.slider.next()},beforeChange:function(e,t){this.currentIndex=t},reInitSlider:function(){var e=this,t=this.settings.slidesToShow;this.settings.slidesToShow=t+1,this.$nextTick((function(){e.settings.slidesToShow=t})),this.currentIndex=0,this.slider.goTo(0,!1)}}}),zn=Object(y.a)(Un,(function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"slider-wrapper"},[t("Carousel",e._b({ref:"slider",on:{"before-change":e.beforeChange}},"Carousel",e.settings,!1),e._l(e.jobAdsToPreview,(function(n,o){return t("div",{key:o},[t("SingleJobAdPreview",{attrs:{"job-ad-id":n,"is-slide":!0,"active-slide":e.currentIndex===o,extended:e.extended}})],1)})),0),e._v(" "),t("JobAdsPreviewPagination",{attrs:{"current-index":e.currentIndex,total:e.jobAdsToPreview.length,extended:e.extended},on:{prev:e.viewPrevJob,next:e.viewNextJob}})],1)}),[],!1,null,null,null).exports,Kn=Object(l.defineComponent)({name:"GeneralModalMixin",data:function(){return{MODAL_OPEN_CLASSNAME:"modal-open"}},mounted:function(){document.body.classList.add(this.MODAL_OPEN_CLASSNAME)},destroyed:function(){document.body.classList.remove(this.MODAL_OPEN_CLASSNAME)}}),Gn=Object(l.defineComponent)({name:"ModalJobPreview",components:{SingleJobAdPreview:Wn,JobAdsPreviewSlider:zn,Modal:pt.a,Card:h.a,IconButton:S.a},props:{extended:{type:Boolean,default:!1}},mixins:[Tt.a,Pn.a,Kn],data:function(){return{MODAL_OPEN_CLASSNAME:"preview-modal-open"}},computed:{jobAdsToPreview:function(){return this.$store.state[G.JOB_ADS_NAMESPACE].jobAdsToPreview},displayJobAdsInSlider:function(){return this.jobAdsToPreview.length>1},iconClose:function(){return{type:m.a.CLOSE,text:this.$t("ui.close")}},modalClass:function(){return{"job-preview-modal":!0,"job-preview-modal--desktop-slider":this.displayJobAdsInSlider&&this.isDesktop,"job-preview-modal--mobile-slider":this.displayJobAdsInSlider&&this.isMobile,"job-preview-modal--extended":this.extended}}},watch:{jobAdsToPreview:{deep:!0,handler:"onJobAdsToPreviewChange"}},methods:{onJobAdsToPreviewChange:function(){this.focusOnModal()},closeModal:function(){this.$emit("close-modal")},focusOnModal:function(){this.$refs.modal.focusOnFirstElement()},onDataLoaded:function(){this.$refs.modal.setFocusableEls()}}}),Yn=Object(y.a)(Gn,(function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"job-ad-preview-overlay",on:{click:function(t){return t.target!==t.currentTarget?null:e.closeModal.apply(null,arguments)}}},[t("Modal",{ref:"modal",class:e.modalClass,attrs:{"display-footer":!1,"display-header":!1},on:{"close-modal":e.closeModal},scopedSlots:e._u([{key:"body",fn:function(){return[t("Card",{staticClass:"job-preview-modal__card"},[t("IconButton",e._b({ref:"closeModal",staticClass:"close",attrs:{tabindex:"0",variant:"link"},on:{click:e.closeModal,keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.closeModal.apply(null,arguments)}}},"IconButton",{leftIcon:e.iconClose},!1)),e._v(" "),e.displayJobAdsInSlider?e._e():t("SingleJobAdPreview",{attrs:{"job-ad-id":e.jobAdsToPreview[0],extended:e.extended},on:{"data-loaded":e.onDataLoaded}}),e._v(" "),e.displayJobAdsInSlider?t("JobAdsPreviewSlider",{attrs:{extended:e.extended}}):e._e()],1)]},proxy:!0}])})],1)}),[],!1,null,null,null),Zn=Yn.exports,Qn=Object(l.defineComponent)({name:"SubscribeButton",mixins:[Pn.a],components:{IconButton:S.a},data:function(){return{displayButton:!1}},computed:{isSearchParametersEmpty:function(){return this.$store.getters[G.JOB_ADS_NAMESPACE+"/isSearchParametersEmpty"]},isFilterParametersEmpty:function(){return this.$store.getters[G.JOB_ADS_NAMESPACE+"/isFilterParametersEmpty"]},iconButton:function(){var e=this.isMobile?"":this.$t("ui.subscribe-to-jobs");return{rightIcon:{text:e,type:m.a.BELL},label:e}},displaySubscriptionButton:function(){return!this.isSearchParametersEmpty||!this.isFilterParametersEmpty}},methods:{setDisplayButton:function(){this.displayButton=this.displaySubscriptionButton}},watch:{isSearchParametersEmpty:{handler:function(){this.setDisplayButton()},deep:!0,immediate:!1},isFilterParametersEmpty:{handler:function(){this.setDisplayButton()},deep:!0,immediate:!1}},mounted:function(){var e=this;this.$nextTick((function(){e.setDisplayButton()}))}}),Xn=Object(y.a)(Qn,(function(){var e=this,t=e._self._c;e._self._setupProxy;return e.displayButton?t("IconButton",e._b({staticClass:"subscribe-button",attrs:{variant:"secondary-outlined"},on:{click:function(t){return e.$emit("click")}}},"IconButton",e.iconButton,!1)):e._e()}),[],!1,null,null,null).exports;var ei=Object(l.defineComponent)({name:"JobAdList",mixins:[Tt.a,Pn.a],components:{MatchingStatusButton:rn,BrandsFilter:tt,JobAdCard:_n.a,Pagination:On,Title:Fe.a,ModalJobPreview:Zn,SubscribeButton:Xn,MatchingButton:Yt,Link:Ct.a},props:{currentPage:{type:Number,required:!0},fromPage:{type:Number,required:!0},pageToStart:{type:Number,required:!0},toPage:{type:Number,required:!0},displayJobAdPreviews:{type:Boolean,default:!0}},data:function(){return{displayJobPreviewModal:!1,displayContent:!0,preModalState:{scrollHeightPosition:0,pageNumber:0},matchingButtonClass:"",throttleSetMatchingVisibility:Function}},computed:{careersSite:function(){return this.$store.state[C.CAREERS_SITE_NAMESPACE].careersSite},jobAdListingSettings:function(){return this.$store.getters[C.CAREERS_SITE_NAMESPACE+"/jobAdListingSettings"]},jobAds:function(){return this.$store.state[G.JOB_ADS_NAMESPACE].jobAds},count:function(){return this.$store.state[G.JOB_ADS_NAMESPACE].count},jobAdsToPreview:function(){return this.$store.state[G.JOB_ADS_NAMESPACE].jobAdsToPreview},canDisplayBrandsFilter:function(){return this.$store.getters[C.CAREERS_SITE_NAMESPACE+"/canDisplayBrandsFilter"]},isMatchingActive:function(){return this.$store.getters[C.CAREERS_SITE_NAMESPACE+"/isMatchingActive"]},domainName:function(){return this.$store.getters[C.CAREERS_SITE_NAMESPACE+"/domainName"]},matchingJobAdsIds:function(){return this.$store.state[G.JOB_ADS_NAMESPACE].matchingJobAdsIds},paginationIndex:function(){return this.preModalState.pageNumber>0?this.preModalState.pageNumber:this.pageToStart},displayPagination:function(){var e;return(null===(e=this.jobAds)||void 0===e?void 0:e.length)>0&&this.pageCount>1},brandsFilterStyle:function(){return{visibility:""===this.formattedCount?"hidden":""}},jobAdListClasses:function(){return Object(o.a)(Object(o.a)(Object(o.a)({},Y.f,!0),Y.e,!this.jobAdListingSettings.with_map),Y.g,!this.canDisplayBrandsFilter)},formattedCount:function(){return void 0===this.count?"":this.count.toLocaleString("fr-FR")},pageCount:function(){return void 0===this.count?0:Math.ceil(this.count/Y.j)},brandsFilterPageWidthType:function(){return this.jobAdListingSettings.with_map?Oe.HALF_PAGE:Oe.FULL_PAGE},infoText:function(){var e;return e=void 0===this.count?0:this.count<this.toPage?this.count:this.toPage,this.$t("ui.pagination-ads-info",{from:this.fromPage,to:e,total:this.count})},appearance:function(){return this.isDesktop&&this.jobAdListingSettings.with_map?vn.a.RECTANGLE:vn.a.SQUARE},matchingButtonType:function(){return Dt.MOBILE},displayMatchingButton:function(){return this.isMatchingActive&&!!this.count&&this.count>=an.a},jobAdCardClass:function(){return{"job-ad-card--bordered":!0}},displayMatchingStatusButton:function(){return this.isMatchingActive&&!le()(this.matchingJobAdsIds)&&!this.isDesktop}},methods:{getModalJobPreview:function(){return this.$refs.modalJobPreview},getJobsContainer:function(){return this.$refs.jobsContainer},onJobAdCardClick:function(e){var t=le()(this.getViewMoreUrl(e));(this.displayJobAdPreviews||t)&&this.previewJob(e)},previewJob:function(e){var t=e.is_external?{job_ad_id:e.job_ad_id,address_id:void 0}:Object(jn.e)(e.id);t.is_external=e.is_external,this.$store.commit("".concat(G.JOB_ADS_NAMESPACE,"/setJobAdsToPreview"),[t])},onCloseModal:function(){this.$store.commit("".concat(G.JOB_ADS_NAMESPACE,"/setJobAdsToPreview"),[]),this.closePreviewModal(),this.returnToPreModalState()},showPreviewModal:function(){var e=this;this.setPreModalState(),this.displayJobPreviewModal=!0,this.$emit("show-modal"),this.$nextTick((function(){document.body.addEventListener("mousedown",e.closeJobPreviewModalIfClickedOutside)}))},closePreviewModal:function(){document.body.removeEventListener("mousedown",this.closeJobPreviewModalIfClickedOutside),this.displayJobPreviewModal=!1},closeJobPreviewModalIfClickedOutside:function(e){var element=this.getModalJobPreview().$el;element===e.target||element.contains(e.target)||this.onCloseModal()},getJobAdCard:function(e){return Object(jn.b)(e,this.isMobile)},getJobAdExternalSiteLinkText:function(e){if(!e.is_aggregated||!e.brand_id)return null;if(e.careers_site_url)return this.$t("career.job_ad_list.see_job_ad_on_external_site_link_no_mark_name");var t=this.getMarkName(e.brand_id);return t?this.$t("career.job_ad_list.see_job_ad_on_external_site_link",{markName:t}):this.$t("career.job_ad_list.see_job_ad_on_external_site_link_no_mark_name")},getViewMoreUrl:function(e){var t,n;if(!e.url)return"";var o=null!==(t=e.career_domain)&&void 0!==t?t:this.domainName;if(e.is_external){if(e.careers_site_url)return e.careers_site_url;n=this.localePath({name:"job-jobAdId-jobExternalSlug",params:{externalId:e.id}})}else if(e.is_aggregated&&e.broadcast_hash)n=this.localePath(e.broadcast_hash);else{var r=e.url.split("/"),l=Object(ue.a)(r,2),c=l[0],d=l[1];n=c&&d?this.localePath({name:"job-jobAdId-jobAddressSlug",params:{jobAdId:c,jobAddressSlug:d}}):this.localePath({name:"job-jobSlug",params:{jobSlug:e.url}})}return o===this.domainName?n:"".concat(this.$config.urlProtocol,"://").concat(o).concat(n)},setPreModalState:function(){this.displayContent=!1,this.preModalState.scrollHeightPosition=window.scrollY,this.preModalState.pageNumber=this.currentPage},returnToPreModalState:function(){var e=this;this.displayContent=!0,this.$nextTick((function(){window.scrollTo(0,e.preModalState.scrollHeightPosition),e.resetPreModalState()}))},resetPreModalState:function(){this.preModalState={scrollHeightPosition:0,pageNumber:0}},setEventListeners:function(){window.addEventListener("scroll",this.throttleSetMatchingVisibility),window.addEventListener("resize",this.throttleSetMatchingVisibility)},removeEventListeners:function(){window.removeEventListener("scroll",this.throttleSetMatchingVisibility),window.removeEventListener("resize",this.throttleSetMatchingVisibility)},setMatchingButtonVisibility:function(){this.displayMatchingButton&&this.displayContent&&(this.matchingButtonClass=function(element,e){if(!element)return!1;var rect=element.getBoundingClientRect(),t=window.innerHeight||document.documentElement.clientHeight;return(e.threshold?rect.bottom+e.threshold:rect.bottom)<=t}(this.getJobsContainer(),{threshold:20})?"fade-out":"fade-in")},onJobAdsToPreviewChange:function(){le()(this.jobAdsToPreview)?this.closePreviewModal():this.showPreviewModal()},pageChanged:function(e){var t;return null===(t=this.$mixpanel)||void 0===t||t.track_pageview({domain:this.domainName,page_type:"job_ad_list",pagination:e,total_number_of_pages:this.pageCount}),this.$emit("page-changed",e),e},search:function(){this.$emit("search")}},watch:{jobAdsToPreview:{deep:!0,handler:"onJobAdsToPreviewChange"}},created:function(){this.throttleSetMatchingVisibility=En()(this.setMatchingButtonVisibility,an.b,{leading:!1,trailing:!0})},mounted:function(){this.setEventListeners()},beforeDestroy:function(){this.removeEventListeners(),this.displayJobPreviewModal&&this.closePreviewModal()}}),ti=Object(y.a)(ei,(function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{class:e.jobAdListClasses},[e.displayJobPreviewModal?t("ModalJobPreview",{ref:"modalJobPreview",attrs:{extended:e.careersSite.is_extended},on:{"close-modal":e.onCloseModal}}):e._e(),e._v(" "),e.displayContent?t("div",[t("div",{staticClass:"jobs-header"},[t("Title",[e._v("\n        "+e._s(e.$tc("ui.offers",e.count,{totalJobs:e.formattedCount})))]),e._v(" "),t("div",{staticClass:"jobs-header__actions"},[e.displayMatchingStatusButton?t("MatchingStatusButton",{attrs:{modal:!0},on:{"status-change":function(t){return e.$emit("search")}}}):e.displayMatchingButton?t("MatchingButton",{attrs:{"class-name":e.matchingButtonClass,type:e.matchingButtonType}}):e._e(),e._v(" "),t("SubscribeButton",{class:{"subscribe-button--extended":e.careersSite.is_extended},on:{click:function(t){return e.$emit("show-subscribe-modal")}}})],1)],1),e._v(" "),e.canDisplayBrandsFilter?t("BrandsFilter",{style:e.brandsFilterStyle,attrs:{"page-width-type":e.brandsFilterPageWidthType,extended:e.careersSite.is_extended},on:{change:e.search}}):e._e(),e._v(" "),t("div",{ref:"jobsContainer",staticClass:"jobs-container",attrs:{tabindex:"-1"}},e._l(e.jobAds,(function(n){return t("div",{key:n.id,staticClass:"job-ad-card-wrapper",attrs:{tabindex:"0",role:"document"},on:{click:function(t){return e.onJobAdCardClick(n)},keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.onJobAdCardClick(n)}}},[t("JobAdCard",e._b({class:e.jobAdCardClass,attrs:{"mark-logo":e.setMarkLogo(n),"data-score":n.score,appearance:e.appearance,"external-site-link-text":e.getJobAdExternalSiteLinkText(n),"display-as-a-link":!e.displayJobAdPreviews,"view-more-url":e.getViewMoreUrl(n),extended:e.careersSite.is_extended}},"JobAdCard",e.getJobAdCard(n),!1))],1)})),0),e._v(" "),e.displayPagination?t("Pagination",{ref:"pagination",attrs:{extended:e.careersSite.is_extended,"page-count":e.pageCount,"info-text":e.infoText,"page-to-start":e.paginationIndex,"previous-label":e.$t("ui.pagination-previous"),"next-label":e.$t("ui.pagination-next")},on:{onPageChanged:e.pageChanged}}):e._e()],1):e._e()],1)}),[],!1,null,null,null).exports,ni=(n(78),Object(l.defineComponent)({name:"MapOverlay",components:{Icon:E.a},computed:{openMapIconText:function(){return Object(Ne.a)("ui.open-map-full-screen",this)}}})),ii=Object(y.a)(ni,(function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"map-overlay",on:{click:function(t){return e.$emit("map-enlarge")}}},[t("div",{staticClass:"map-overlay__body"},[t("Icon",{staticClass:"map-overlay__icon",attrs:{type:"full_screen",text:e.openMapIconText}}),e._v(" "),e._t("default")],2)])}),[],!1,null,null,null).exports,oi=n(340),ri=(n(478),n(922));function ai(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}var si=Object(l.defineComponent)({name:"Map",props:{apiKey:{type:String,default:""},zoom:{type:Number},language:{type:String},region:{type:String},viewport:{type:Object},options:{type:Object},highlightedPlaceCategory:{type:String},highlightedPlaceId:{type:String},colors:{type:Object,required:!0}},data:function(){return{google:null,map:null,mapWrapperSelector:"mapWrapper",googleFeatureStyleOptions:{strokeColor:this.colors.linkColor,strokeOpacity:1,strokeWeight:1.5,fillOpacity:0}}},computed:{mapOptions:function(){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ai(Object(n),!0).forEach((function(t){Object(o.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ai(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({mapId:"a2d2a79116741112",zoom:this.zoom,zoomControlOptions:{position:this.google&&this.google.maps.ControlPosition?this.google.maps.ControlPosition.RIGHT_TOP:7},fullscreenControl:!1},this.options)},mapWrapper:function(){return this.$refs[this.mapWrapperSelector]},googleMapsFeatureType:function(){return"country"===this.highlightedPlaceCategory||"administrative_area_level_1"===this.highlightedPlaceCategory||"administrative_area_level_2"===this.highlightedPlaceCategory||"locality"===this.highlightedPlaceCategory||"postal_code"===this.highlightedPlaceCategory?this.highlightedPlaceCategory.toUpperCase():null},googleMapsFeatureLayer:function(){return this.googleMapsFeatureType&&this.map?this.map.getFeatureLayer(this.googleMapsFeatureType):null}},methods:{initMap:function(){var e=this;return Object(r.a)(regeneratorRuntime.mark((function t(){var n,o;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(null===(n=window.google)||void 0===n){t.next=4;break}t.t0=n,t.next=7;break;case 4:return t.next=6,e.initializeGoogleMap();case 6:t.t0=t.sent;case 7:o=t.t0,e.google=o,e.map=new o.maps.Map(e.mapWrapper,e.mapOptions);case 10:case"end":return t.stop()}}),t)})))()},initEvents:function(){var e=this;this.google&&this.map&&(this.google.maps.event.addListener(this.map,"bounds_changed",En()((function(){var t=e.getZoomAndEsViewport();e.$emit("bounds-changed",t.viewport,t.zoom)}),300,{leading:!1,trailing:!0})),this.google.maps.event.addListener(this.map,"drag",En()((function(){var t=e.getZoomAndEsViewport();e.$emit("drag",t.viewport,t.zoom)}),300,{leading:!1,trailing:!0})),this.google.maps.event.addListener(this.map,"dragend",En()((function(){var t=e.getZoomAndEsViewport();e.$emit("drag-end",t.viewport,t.zoom)}),300,{leading:!1,trailing:!0})),this.google.maps.event.addListener(this.map,"zoom_changed",En()((function(){var t=e.getZoomAndEsViewport();e.$emit("zoom-changed",t.viewport,t.zoom)}),200,{leading:!1,trailing:!0})),this.google.maps.event.addListener(this.map,"idle",En()((function(){var t=e.getZoomAndEsViewport();e.$emit("idle",t.viewport,t.zoom)}),600,{leading:!1,trailing:!0})))},getEsViewport:function(){var e,t=null===(e=this.map)||void 0===e?void 0:e.getBounds();if(t){var n=t.getNorthEast().toJSON(),o=t.getSouthWest().toJSON();return{top_left:{lat:n.lat,lon:o.lng},bottom_right:{lat:o.lat,lon:n.lng}}}},getZoomAndEsViewport:function(){var e;return{zoom:null===(e=this.map)||void 0===e?void 0:e.getZoom(),viewport:this.getEsViewport()}},initializeGoogleMap:function(){var e=this;return Object(r.a)(regeneratorRuntime.mark((function t(){var n,o;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!window.googlePromise){t.next=4;break}return t.next=3,window.googlePromise;case 3:case 9:return t.abrupt("return",t.sent);case 4:return n={language:e.language,region:e.region},o=new ri.a(e.apiKey,n),window.googlePromise=o.load(),t.next=9,window.googlePromise;case 10:case"end":return t.stop()}}),t)})))()},googleFeatureStyleCallback:function(e){if(e.feature.placeId===this.highlightedPlaceId)return this.googleFeatureStyleOptions}},watch:{googleMapsFeatureLayer:function(e,t){t&&(t.style=null),e&&(e.style=this.googleFeatureStyleCallback)},highlightedPlaceId:function(){this.googleMapsFeatureLayer&&(this.googleMapsFeatureLayer.style=this.googleFeatureStyleCallback)}},mounted:function(){var e=this;return Object(r.a)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.initMap();case 2:e.initEvents(),e.$emit("init",e.google,e.map);case 4:case"end":return t.stop()}}),t)})))()}}),ci=si,ui=Object(y.a)(ci,(function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{ref:e.mapWrapperSelector,staticClass:"google-map-wrapper"})}),[],!1,null,null,null).exports,di=n(87),pi=(n(464),n(465),n(466),n(467),n(468),n(469),n(470),n(471),n(472),n(473),n(474),n(475),n(476),n(477),n(906)),hi=n(907),fi=n.n(hi),mi=n(908),bi=n.n(mi);function gi(e,t){var n=_i(e);return Array.from(n.keys()).findIndex((function(e){return e===t}))+1}function vi(e){var t=gi(e,"pin-atRest");return function(n){if(1===n.length&&1===n[0].location_count)return function(marker,e){var t=gi(e,"pin-atRest"),n=gi(e,"pin-blurred"),o=t;bi()(marker.selected)&&(o=!0===marker.selected?t:n);return{index:o,text:marker.count.toString(10),title:""}}(n[0],e);var o=0;return n.forEach((function(marker){o+=marker.count})),o>1?function(e,t,n){var o=gi(n,"cluster-atRest"),r=gi(n,"cluster-blurred"),l=o;if(bi()(e[0].selected)){l=e.some((function(e){return e.selected}))?o:r}return{index:l,text:t.toString(),title:""}}(n,o,e):{text:"1",index:t,title:""}}}function _i(e){var t,n,o=new Map;return o.set("pin-atRest",{url:null!==(t=e.atRest)&&void 0!==t?t:"",height:32,width:25,anchorIcon:[32,12],anchorText:[4,0],textSize:12,textColor:""}),o.set("pin-blurred",{url:null!==(n=e.blurred)&&void 0!==n?n:"",height:32,width:25,anchorIcon:[32,12],anchorText:[4,0],textSize:12,textColor:e.blurredTextColor?"#".concat(e.blurredTextColor):""}),o.set("cluster-atRest",{url:e.clusterSemiBold,height:52,width:52,textSize:16,anchorText:[14,2],anchorIcon:[26,26],textColor:e.clusterTextColor}),o.set("cluster-blurred",{url:e.clusterSemiBold,height:52,width:53,textSize:16,anchorText:[14,2],anchorIcon:[26,26],textColor:e.blurredTextColor?"#".concat(e.blurredTextColor):""}),o}function yi(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return xi(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return xi(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,o=function(){};return{s:o,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,l=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return l=e.done,e},e:function(e){c=!0,r=e},f:function(){try{l||null==n.return||n.return()}finally{if(c)throw r}}}}function xi(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=new Array(t);i<t;i++)n[i]=e[i];return n}var Ci=function(){function e(t,n,o){Object(T.a)(this,e),this.markers=new Map,this.google=t,this.googleMap=n,this.pinsConfiguration=o}return Object(F.a)(e,[{key:"initMarkerCluster",value:function(){var e,t,n=(e=this.pinsConfiguration,t=_i(e),Array.from(t.values()));this.markerClusterer=new pi.a(this.googleMap,[],{gridSize:50,minimumClusterSize:1,zoomOnClick:!1,styles:n}),this.markerClusterer.setCalculator(vi(this.pinsConfiguration))}},{key:"fitMapToMarkers",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return this.markerClusterer.fitMapToMarkers(e)}},{key:"fitGivenViewport",value:function(e){var t=this.google,n=Object(Me.a)(t,e),o=new t.maps.LatLngBounds(n.southwest,n.northeast);this.googleMap.setCenter(o.getCenter()),this.googleMap.fitBounds(o)}},{key:"onClusterClick",value:function(e){var t=this;this.google.maps.event.addListener(this.markerClusterer,"clusterclick",(function(n){var o=[],r=n.getMarkers();r&&(r.forEach((function(marker){o.push.apply(o,Object(w.a)(marker.job_ad_ids))})),t.jobAdsAreInSameLocation(r)?e(o):(t.zoomInCluster(r),e()))}))}},{key:"jobAdsAreInSameLocation",value:function(e){return this.getCurrentZoom()===Y.l||!(e.length>1)&&1===e[0].location_count}},{key:"zoomInCluster",value:function(e){var t=this.google,n=new t.maps.LatLngBounds;e.forEach((function(marker){var e=new t.maps.LatLngBounds(marker.viewport.southwest,marker.viewport.northeast);n.union(e)})),this.googleMap.setCenter(n.getCenter()),this.googleMap.fitBounds(n)}},{key:"drawMarkers",value:function(e){var t=this,n=new Map,o=new Map,r=new Map;if(e){e.forEach((function(e){var r,l,c="".concat(null===(r=e.location)||void 0===r?void 0:r.lat,"/").concat(null===(l=e.location)||void 0===l?void 0:l.lon,"/").concat(e.count),marker=t.markers.get(c);marker?n.set(c,marker):o.set(c,t.createMarker(e))}));var l,c=yi(this.markers);try{for(c.s();!(l=c.n()).done;){var d=Object(ue.a)(l.value,2),h=d[0],marker=d[1];n.has(h)||(marker.setMap(null),r.set(h,marker))}}catch(e){c.e(e)}finally{c.f()}this.markerClusterer.removeMarkers(Array.from(r.values())),this.markerClusterer.addMarkers(Array.from(o.values()));var f,m=yi(n);try{for(m.s();!(f=m.n()).done;){var v=Object(ue.a)(f.value,2),_=v[0],y=v[1];o.set(_,y)}}catch(e){m.e(e)}finally{m.f()}this.markers=o}}},{key:"getCurrentZoom",value:function(){return this.googleMap.getZoom()}},{key:"createMarker",value:function(e){var t,n,o,r=this.google,l={position:{lat:null===(t=e.location)||void 0===t?void 0:t.lat,lng:null===(n=e.location)||void 0===n?void 0:n.lon},label:null===(o=e.count)||void 0===o?void 0:o.toString(),count:e.count,job_ad_ids:e.job_ad_ids,viewport:Object(Me.a)(r,e.viewport),location_count:null==e?void 0:e.location_count,map:this.googleMap};return new r.maps.Marker(l)}},{key:"resetMarkers",value:function(){0!==this.markers.size&&(this.markers.forEach((function(marker){marker.setMap(null)})),this.markers.clear(),this.markerClusterer.clearMarkers())}},{key:"selectMarkerByJobAdIds",value:function(e){le()(e)?this.markers.forEach((function(marker){marker.selected=void 0})):this.markers.forEach((function(marker){marker.selected=marker.job_ad_ids.some((function(t){return fi()(t,e[0],jn.a)}))})),this.refreshMarkers()}},{key:"refreshMarkers",value:function(){var e=this.markers;this.markerClusterer.clearMarkers(),this.markerClusterer.addMarkers(Array.from(e.values()))}}]),e}(),Si=Object(l.defineComponent)({name:"MapWrapper",components:{Map:ui,MapOverlay:ii,PoweredBy:oi.a,IconButton:S.a},props:{extended:{type:Boolean,default:!1},colors:{type:Object,required:!0},mapMustBeHidden:{type:Boolean,default:!1}},data:function(){return{isFullscreen:!1,mapZoom:Y.c,google:null,googleMap:null,mapClusterService:null}},computed:{domainName:function(){return this.$store.getters[C.CAREERS_SITE_NAMESPACE+"/domainName"]},localizedCareersSite:function(){return this.$store.state[C.CAREERS_SITE_NAMESPACE].localizedCareersSite},jobAdListingSettings:function(){return this.$store.getters[C.CAREERS_SITE_NAMESPACE+"/jobAdListingSettings"]},withMap:function(){return this.$store.getters[C.CAREERS_SITE_NAMESPACE+"/withMap"]},googleMapRegion:function(){return this.$store.getters[C.CAREERS_SITE_NAMESPACE+"/googleMapRegion"]},googleLocationViewport:function(){return this.$store.state[G.JOB_ADS_NAMESPACE].googleLocationViewport},clusters:function(){return this.$store.state[G.JOB_ADS_NAMESPACE].clusters},geolocation:function(){return this.$store.state[G.JOB_ADS_NAMESPACE].geolocation},isMapIdle:function(){return this.$store.state[G.JOB_ADS_NAMESPACE].isMapIdle},currentViewport:function(){return this.$store.state[G.JOB_ADS_NAMESPACE].currentViewport},viewportResetted:function(){return this.$store.state[G.JOB_ADS_NAMESPACE].viewportResetted},highlightedPlace:function(){return this.$store.state[G.JOB_ADS_NAMESPACE].highlightedPlace},pinsConfiguration:function(){return this.$store.getters[C.CAREERS_SITE_NAMESPACE+"/pinsConfiguration"]},jobAdsToPreview:function(){return this.$store.state[G.JOB_ADS_NAMESPACE].jobAdsToPreview},googleMapsOptions:function(){return{mapTypeControl:!1,zoomControl:!0,scrollwheel:!0,streetViewControl:!1,minZoom:Y.m,maxZoom:Y.l,zoomControlOptions:{position:9}}},poweredBy:function(){if(this.localizedCareersSite){var e=this.localizedCareersSite.powered_by,t=e.logo,link=e.link,text=e.text;return{logo:t,link:Object(di.c)(link),text:text}}},langForMap:function(){return this.$i18n.locale.substr(0,2)},enlargeMapText:function(){return Object(Ne.a)("ui.enlarge-map",this)},map:function(){return this.$refs.map}},methods:{onMapToggle:function(){this.isFullscreen=!this.isFullscreen,this.$emit("mapToggle",this.isFullscreen)},onMapInit:function(e,t){var n=this;this.google=e,this.googleMap=t,this.$store.commit(G.JOB_ADS_NAMESPACE+"/setIsMapIdle",{isMapIdle:!1}),this.mapClusterService=new Ci(e,t,this.pinsConfiguration),this.mapClusterService.initMarkerCluster(),this.mapClusterService.onClusterClick((function(e){n.setJobAdsToPreview(e||[])})),!this.googleLocationViewport||this.mapMustBeHidden?this.$emit("onMapReady"):this.mapClusterService.fitGivenViewport(this.googleLocationViewport)},setJobAdsToPreview:function(e){this.$store.commit("".concat(G.JOB_ADS_NAMESPACE,"/setJobAdsToPreview"),e)},onBoundsChanged:function(){this.isMapIdle&&this.$parent.rescaleComponents()},onZoomChanged:function(e,t){var n;this.isMapIdle&&(this.viewportResetted?this.$store.commit(G.JOB_ADS_NAMESPACE+"/setViewportResetted",!1):(this.setLocationPlaceholder(),null===(n=this.mapClusterService)||void 0===n||n.resetMarkers(),this.reloadData(e,t,!0)))},onDragEnd:function(e,t){this.isMapIdle&&(this.setLocationPlaceholder(),this.reloadData(e,t,!0))},onMapIdle:function(e,t){var n=this;return Object(r.a)(regeneratorRuntime.mark((function o(){return regeneratorRuntime.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:if(e){o.next=2;break}return o.abrupt("return");case 2:if(n.isMapIdle||n.$store.commit(G.JOB_ADS_NAMESPACE+"/setIsMapIdle",{isMapIdle:!0}),!n.googleLocationViewport){o.next=7;break}return o.next=6,n.reloadData(e,t);case 6:n.$store.commit(G.JOB_ADS_NAMESPACE+"/setGoogleLocationViewport",{viewport:null});case 7:case"end":return o.stop()}}),o)})))()},setLocationPlaceholder:function(){this.$store.commit(G.JOB_ADS_NAMESPACE+"/setLocationPlaceholder",{placeholder:Y.p})},reloadData:function(e,t){var n=arguments,o=this;return Object(r.a)(regeneratorRuntime.mark((function r(){var l;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(l=n.length>2&&void 0!==n[2]&&n[2],e&&!o.mapMustBeHidden){r.next=3;break}return r.abrupt("return");case 3:return o.$store.commit("".concat(G.JOB_ADS_NAMESPACE,"/setCurrentZoom"),{zoom:t}),o.$store.commit("".concat(G.JOB_ADS_NAMESPACE,"/setCurrentViewport"),{viewport:e}),r.next=7,o.$store.dispatch("".concat(G.JOB_ADS_NAMESPACE,"/fetchAndCommitJobAds"),{domainName:o.domainName,locale:Object(Ln.a)(o.$i18n.locale),searchByMap:l,withMap:o.withMap});case 7:case"end":return r.stop()}}),r)})))()},fitGivenViewport:function(){var e,t,n;this.currentViewport&&!this.mapMustBeHidden&&(null===(e=this.mapClusterService)||void 0===e||e.fitGivenViewport(this.currentViewport),null===(t=this.mapClusterService)||void 0===t||t.resetMarkers(),this.reloadData(this.currentViewport,null===(n=this.googleMap)||void 0===n?void 0:n.getZoom()))}},watch:{clusters:{deep:!0,handler:function(){this.mapClusterService&&(this.mapClusterService.drawMarkers(this.clusters),null===this.currentViewport&&this.viewportResetted&&this.mapClusterService.fitMapToMarkers(52))}},geolocation:{deep:!0,handler:function(){this.map.map.setCenter(this.geolocation),this.map.map.setZoom(Y.k)}},googleLocationViewport:{handler:function(){var e;this.googleLocationViewport&&!this.mapMustBeHidden&&(null===(e=this.mapClusterService)||void 0===e||e.fitGivenViewport(this.googleLocationViewport))}},jobAdsToPreview:{immediate:!0,handler:function(){this.mapClusterService&&!this.mapMustBeHidden&&this.mapClusterService.selectMarkerByJobAdIds(this.jobAdsToPreview)}}}}),wi=Si,Oi=Object(y.a)(wi,(function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"map-container",class:{"map-container--full-screen":e.isFullscreen,"map-container--extended":e.extended}},[t("div",{staticClass:"map-container__wrapper",class:[e.isFullscreen?"map-container__wrapper--full-screen":""]},[t("div",{staticClass:"map-container__tools",class:[e.isFullscreen?"map-container__tools--active":""]},[t("IconButton",{staticClass:"button-rounded",attrs:{"bottom-icon":{text:"close",type:"close"}},on:{click:e.onMapToggle}}),e._v(" "),t("IconButton",{staticClass:"button-rounded search",attrs:{"bottom-icon":{text:"filter",type:"search"}},on:{click:function(t){return e.$emit("researchButtonClick")}}}),e._v(" "),t("IconButton",{staticClass:"button-rounded",attrs:{"bottom-icon":{text:"filter",type:"filter"}},on:{click:function(t){return e.$emit("filterButtonClick")}}})],1),e._v(" "),e.isFullscreen?e._e():t("MapOverlay",{on:{"map-enlarge":e.onMapToggle}},[e._v("\n      "+e._s(e.enlargeMapText)+"\n    ")]),e._v(" "),t("Map",{ref:"map",class:{"google-map-wrapper--full-screen":e.isFullscreen},attrs:{language:e.langForMap,region:e.googleMapRegion,zoom:e.mapZoom,"api-key":e.jobAdListingSettings.google_api_key,options:e.googleMapsOptions,"highlighted-place-category":e.highlightedPlace?e.highlightedPlace.place_type:void 0,"highlighted-place-id":e.highlightedPlace?e.highlightedPlace.id:void 0,colors:e.colors},on:{init:e.onMapInit,"bounds-changed":e.onBoundsChanged,"zoom-changed":e.onZoomChanged,"drag-end":e.onDragEnd,idle:e.onMapIdle}}),e._v(" "),t("PoweredBy",e._b({},"PoweredBy",e.poweredBy,!1))],1)])}),[],!1,null,null,null).exports,Ai=n(319),Ei=n(789),ji=Object(l.defineComponent)({name:"MobileFiltersButtons",components:{ResearchFields:Be,IconButton:S.a},props:{extended:{type:Boolean,default:!1}},data:function(){return{researchButtonProps:{leftIcon:{text:"recherche",type:m.a.SEARCH}},keywordsLength:0,placeLabel:""}},computed:{searchParameters:function(){return this.$store.state[G.JOB_ADS_NAMESPACE].searchParameters},filterParameters:function(){return this.$store.state[G.JOB_ADS_NAMESPACE].filterParameters},filterIconProps:function(){var e={label:this.$t("ui.filter")};return 0===this.appliedFiltersLength&&(e.topIcon={text:"Filter",type:m.a.FILTER}),e},appliedFiltersLength:function(){var e=0;return Object.values(this.filterParameters).forEach((function(t){(null==t?void 0:t.length)&&e++})),e},placeLabelClass:function(){return this.keywordsLength>0?"icon-button__label-place add-bullet":"icon-button__label-place"},keywordsMoreLabel:function(){return"+".concat(this.keywordsLength-1)},firstKeyword:function(){return this.keywordsLength>0?this.searchParameters.keywords[0]:""},hasKeywords:function(){return this.keywordsLength>0},hasPlaceLabel:function(){return""!==this.placeLabel}},methods:{onFilterParameters:function(){var e,t,n;this.keywordsLength=null===(e=this.searchParameters.keywords)||void 0===e?void 0:e.length,this.placeLabel=null!==(n=null===(t=this.searchParameters.place)||void 0===t?void 0:t.label)&&void 0!==n?n:""}},watch:{searchParameters:{handler:"onFilterParameters",deep:!0,immediate:!0}}}),ki=Object(y.a)(ji,(function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"mobile-filters",class:{"mobile-filters--extended":e.extended}},[t("IconButton",e._b({staticClass:"mobile-filters__research-button",on:{click:function(t){return e.$emit("researchButtonClick")}},scopedSlots:e._u([{key:"label",fn:function(){return[e.hasKeywords?t("span",{staticClass:"icon-button__label-keywords"},[e._v("\n        "+e._s(e.firstKeyword)+"\n      ")]):e._e(),e._v(" "),e.keywordsLength>1?t("span",{staticClass:"icon-button__label-keywords-more"},[e._v("\n        "+e._s(e.keywordsMoreLabel)+"\n      ")]):e._e(),e._v(" "),e.hasPlaceLabel?t("span",{class:e.placeLabelClass},[e._v(e._s(e.placeLabel))]):e._e(),e._v(" "),e.hasKeywords||e.hasPlaceLabel?e._e():[e._v("\n        "+e._s(e.$t("ui.type-your-search"))+"\n      ")]]},proxy:!0}])},"IconButton",e.researchButtonProps,!1)),e._v(" "),t("IconButton",e._b({staticClass:"mobile-filters__filters-button",on:{click:function(t){return e.$emit("filterButtonClick")}},scopedSlots:e._u([e.appliedFiltersLength>0?{key:"label",fn:function(){return[t("div",{staticClass:"extended-template"},[t("span",{staticClass:"extended-template__count"},[e._v(e._s(e.appliedFiltersLength))]),e._v("\n        "+e._s(e.filterIconProps.label)+"\n      ")])]},proxy:!0}:null],null,!0)},"IconButton",e.filterIconProps,!1))],1)}),[],!1,null,null,null).exports,Pi=Object(l.defineComponent)({components:{DRDropdown:Lt,DRDropdownItem:Vt,Icon:f.a},props:{value:{type:String,default:Kt.c.Daily}},data:function(){return{options:[],iconChecked:{type:m.a.CIRCLE_FULL,text:"ui.selected"},iconUnchecked:{type:m.a.CIRCLE_EMPTY,text:"ui.unselected"},openIndicator:{type:m.a.TRIANGLE_BASE_UP,text:"ui.open"}}},created:function(){this.options=Object.values(Kt.c).map((function(e,t){return{id:t,label:e,value:e}})),this.iconChecked.text=this.$t(this.iconChecked.text),this.iconUnchecked.text=this.$t(this.iconUnchecked.text),this.openIndicator.text=this.$t(this.openIndicator.text)},computed:{dropdownItemClass:function(){var e=this;return function(t){return{"dr-dropdown__body-list-item--selected":t===e.value}}}},methods:{select:function(e){this.$emit("input",e),this.$refs.dropdown.hide()}}}),Mi=Object(y.a)(Pi,(function(){var e=this,t=e._self._c;e._self._setupProxy;return t("DRDropdown",{ref:"dropdown",staticClass:"subscribe-modal__frequency",attrs:{"append-icon":"",position:"right","open-indicator-icon":e.openIndicator},scopedSlots:e._u([{key:"label",fn:function(){return[e._v("\n    "+e._s(e.$t("ui.alert-email.frequency.".concat(e.value)))+"\n  ")]},proxy:!0}])},[e._v(" "),e._l(e.options,(function(option){return t("DRDropdownItem",{key:option.id,class:e.dropdownItemClass(option.value),nativeOn:{click:function(t){return e.select(option.value)},keydown:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"space",32,t.key,[" ","Spacebar"])?null:e.select(option.value)}}},[t("div",{attrs:{tabindex:"0"}},[e._v("\n      "+e._s(e.$t("ui.alert-email.frequency.".concat(option.label)))+"\n      "),t("Icon",e._b({staticClass:"frequency__radio-button"},"Icon",option.value===e.value?e.iconChecked:e.iconUnchecked,!1))],1)])}))],2)}),[],!1,null,null,null).exports;function Ii(e){return/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(e)}var Bi=n(737),$i=Object(F.a)((function e(input){Object(T.a)(this,e),this.id=input.id}));function Fi(){return(Fi=Object(r.a)(regeneratorRuntime.mark((function e(t,n,o,r,l,c,d){var h,f,data;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return h=d.replace("-","_"),e.prev=1,e.next=4,$.a.createSubscription(t,n,o,r,l.keywords,l.place,c,h);case 4:data=e.sent,f=new $i(data),e.next=11;break;case 8:e.prev=8,e.t0=e.catch(1),Object(H.a)(e.t0);case 11:return e.abrupt("return",f);case 12:case"end":return e.stop()}}),e,null,[[1,8]])})))).apply(this,arguments)}function Ti(e,t){return Di.apply(this,arguments)}function Di(){return(Di=Object(r.a)(regeneratorRuntime.mark((function e(t,n){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,$.a.subscriptionValidation(t,n);case 3:e.next=8;break;case 5:e.prev=5,e.t0=e.catch(0),Object(H.a)(e.t0);case 8:case"end":return e.stop()}}),e,null,[[0,5]])})))).apply(this,arguments)}function Ri(e,t){return Ni.apply(this,arguments)}function Ni(){return(Ni=Object(r.a)(regeneratorRuntime.mark((function e(t,n){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,$.a.unsubscribe(t,n);case 3:e.next=8;break;case 5:e.prev=5,e.t0=e.catch(0),Object(H.a)(e.t0);case 8:case"end":return e.stop()}}),e,null,[[0,5]])})))).apply(this,arguments)}Object(D.a)([Object(Bi.a)()],$i.prototype,"id",void 0);var Li=Object(l.defineComponent)({components:{SubscriptionFrequencyDropdown:Mi,Modal:pt.a,IconButton:S.a,Icon:f.a,Title:Fe.a,Paragraph:v.a,ModalFooter:ht.a,DRTag:ne.a,InputText:P.b,InputLabel:k,Button:zt.a},mixins:[Tt.a],data:function(){return{headerIcon:{type:m.a.NOTIFICATION,text:"ui.notification"},closeIcon:{type:m.a.CLOSE,text:"ui.close"},alertIconExtended:{type:m.a.RINGING_BELL,text:"ui.notification"},validatedIcon:{type:m.a.CHECK,text:"ui.valid"},warningIcon:{type:m.a.WARNING,text:"ui.invalid"},footerSettings:{text:"ui.alert-email.submit"},data:{name:"",email:"",frequency:Kt.c.Daily},errors:{name:"",email:""},touched:{name:!1,email:!1},displaySuccessMessage:!1}},computed:{domainName:function(){return this.$store.getters["".concat(C.CAREERS_SITE_NAMESPACE,"/domainName")]},searchParameters:function(){return this.$store.state[G.JOB_ADS_NAMESPACE].searchParameters},filterParameters:function(){return this.$store.state[G.JOB_ADS_NAMESPACE].filterParameters},filters:function(){return this.$store.state[G.JOB_ADS_NAMESPACE].filters},researchRecapList:function(){var e,t=this,n=Object(w.a)(this.searchParameters.keywords);(null===(e=this.searchParameters.place)||void 0===e?void 0:e.label)&&n.push(this.searchParameters.place.label.split(",")[0]);var o=[];return Object.keys(this.filterParameters).forEach((function(e){t.filterParameters[e].forEach((function(n){if(e!==Xe.a.EntitiesFilter)if(e===Xe.a.BrandFilter)o.push(t.getMarkName(parseInt(n.toString())));else{var option=t.filters[e].find((function(e){return e.id.toString()===n.toString()}));(null==option?void 0:option.name)&&o.push(option.name)}}))})),[].concat(Object(w.a)(n),o)},fieldClasses:function(){return{name:{"subscribe-modal__field":!0,"subscribe-modal__field--has-error":!le()(this.errors.name)},email:{"subscribe-modal__field":!0,"subscribe-modal__field--has-error":!le()(this.errors.email)}}},displayEmailValidIcon:function(){return!le()(this.data.email)&&Ii(this.data.email)}},created:function(){this.closeIcon.text=this.$t(this.closeIcon.text),this.headerIcon.text=this.$t(this.headerIcon.text),this.validatedIcon.text=this.$t(this.validatedIcon.text),this.footerSettings.text=this.$t(this.footerSettings.text)},methods:{validateForm:function(){return this.errors.name="",this.errors.email="",this.touched.name&&le()(this.data.name)&&(this.errors.name=this.$t("ui.validation.required")),this.touched.email&&le()(this.data.email)?this.errors.email=this.$t("ui.validation.required"):this.touched.email&&!Ii(this.data.email)&&(this.errors.email=this.$t("ui.validation.email")),le()(this.errors.name)&&le()(this.errors.email)},onChangeField:function(e){this.touched[e]=!0,this.validateForm()},submit:function(){var e=this;this.displaySuccessMessage?this.$emit("close-modal"):(this.touched.email=!0,this.touched.name=!0,this.validateForm()&&function(e,t,n,o,r,l,c){return Fi.apply(this,arguments)}(this.domainName,this.data.name,this.data.email,this.data.frequency,this.searchParameters,this.filterParameters,Object(Ln.a)(this.$i18n.locale)).then((function(){e.displaySuccessMessage=!0,e.footerSettings.text=e.$t("ui.alert-email.success-button")})).catch((function(t){var n,o,r,l=null===(r=null===(o=null===(n=t.response)||void 0===n?void 0:n.data)||void 0===o?void 0:o.error)||void 0===r?void 0:r.validationErrors,c=l.name,d=l.email;(null==c?void 0:c.length)&&(e.errors.name=c.join(" ")),(null==d?void 0:d.length)&&(e.errors.email=d.join(" "))})))}}}),Ji=Li,Vi=Object(y.a)(Ji,(function(){var e=this,t=e._self._c;e._self._setupProxy;return t("portal",{attrs:{to:"overlay"}},[t("div",{staticClass:"overlay",on:{click:function(t){return t.target!==t.currentTarget?null:e.$emit("close-modal")}}},[t("transition",{attrs:{appear:"",name:"subscribe-modal__transition"}},[t("Modal",{staticClass:"subscribe-modal",scopedSlots:e._u([{key:"header",fn:function(){return[t("div",{staticClass:"modal__header"},[t("Title",{attrs:{tag:"h4"}},[e._v(e._s(e.$t("ui.alert-email.title")))]),e._v(" "),t("Icon",e._b({staticClass:"subscribe-modal__header-icon",attrs:{inline:!0}},"Icon",e.headerIcon,!1)),e._v(" "),t("Icon",e._b({staticClass:"modal__close-button",on:{click:function(t){return e.$emit("close-modal")}}},"Icon",e.closeIcon,!1))],1)]},proxy:!0},{key:"body",fn:function(){return[e.displaySuccessMessage?t("div",[t("Title",{attrs:{tag:"h4"}},[e._v(e._s(e.$t("ui.alert-email.success-title")))]),e._v(" "),t("div",{staticClass:"modal__subtitle"},[t("Paragraph",[e._v("\n                "+e._s(e.$t("ui.alert-email.success-description"))+"\n              ")])],1)],1):t("div",[t("Title",{attrs:{tag:"h4"}},[e._v(e._s(e.$t("ui.alert-email.title")))]),e._v(" "),t("div",{staticClass:"modal__subtitle"},[t("Icon",e._b({staticClass:"subscribe-modal__alert-icon-extended"},"Icon",e.alertIconExtended,!1)),e._v(" "),t("Paragraph",[e._v("\n                "+e._s(e.$t("ui.alert-email.subtitle"))+"\n              ")])],1),e._v(" "),t("div",{staticClass:"subscribe-modal__field"},[t("Paragraph",{staticClass:"subscribe-modal__label subscribe-modal__label--bold"},[e._v("\n                "+e._s(e.$t("ui.alert-email.recap"))+"\n              ")]),e._v(" "),t("div",{staticClass:"subscribe-modal__recap-list"},e._l(e.researchRecapList,(function(option,n){return t("DRTag",{key:n,scopedSlots:e._u([{key:"description",fn:function(){return[e._v(e._s(option))]},proxy:!0}],null,!0)})})),1)],1),e._v(" "),t("div",{class:e.fieldClasses.name},[t("InputLabel",{staticClass:"subscribe-modal__label subscribe-modal__label--required",attrs:{label:e.$t("ui.alert-email.labels.name")}}),e._v(" "),t("InputText",{staticClass:"subscribe-modal__input",attrs:{id:"name",placeholder:e.$t("ui.alert-email.placeholders.name"),type:"text",name:"name",required:!0},on:{change:function(t){return e.onChangeField("name")}},model:{value:e.data.name,callback:function(t){e.$set(e.data,"name",t)},expression:"data.name"}}),e._v(" "),e.errors.name?t("Icon",e._b({staticClass:"subscribe-modal__warning-icon"},"Icon",e.warningIcon,!1)):e._e(),e._v(" "),e.errors.name?t("p",{staticClass:"error"},[t("Icon",e._b({},"Icon",e.warningIcon,!1)),e._v("\n                "+e._s(e.errors.name)+"\n              ")],1):e._e()],1),e._v(" "),t("div",{class:e.fieldClasses.email},[t("InputLabel",{staticClass:"subscribe-modal__label subscribe-modal__label--required",attrs:{label:e.$t("ui.alert-email.labels.email")}}),e._v(" "),t("InputText",{staticClass:"subscribe-modal__input",attrs:{id:"email",placeholder:e.$t("ui.alert-email.placeholders.email"),name:"email",required:!0},on:{change:function(t){return e.onChangeField("email")},input:function(t){e.errors.email&&e.onChangeField("email")}},model:{value:e.data.email,callback:function(t){e.$set(e.data,"email",t)},expression:"data.email"}}),e._v(" "),e.displayEmailValidIcon?t("Icon",e._b({staticClass:"subscribe-modal__email-valid-icon"},"Icon",e.validatedIcon,!1)):e._e(),e._v(" "),e.errors.email?t("Icon",e._b({staticClass:"subscribe-modal__warning-icon"},"Icon",e.warningIcon,!1)):e._e(),e._v(" "),e.errors.email?t("p",{staticClass:"error"},[t("Icon",e._b({},"Icon",e.warningIcon,!1)),e._v("\n                "+e._s(e.errors.email)+"\n              ")],1):e._e()],1),e._v(" "),t("div",{staticClass:"subscribe-modal__field"},[t("InputLabel",{staticClass:"subscribe-modal__label subscribe-modal__label--required",attrs:{label:e.$t("ui.alert-email.labels.frequency")}}),e._v(" "),t("SubscriptionFrequencyDropdown",{model:{value:e.data.frequency,callback:function(t){e.$set(e.data,"frequency",t)},expression:"data.frequency"}})],1)],1)]},proxy:!0},{key:"footer",fn:function(){return[t("ModalFooter",e._b({on:{"footer-event":e.submit}},"ModalFooter",e.footerSettings,!1))]},proxy:!0}])})],1)],1)])}),[],!1,null,null,null).exports,qi=n(756),Hi=Object(l.defineComponent)({name:"SubscribeModal",mixins:[Vi,qi.a]}),Wi=Object(y.a)(Hi,undefined,undefined,!1,null,null,null).exports,Ui=Object(l.defineComponent)({name:"SubscribeManagement",components:{Modal:pt.a,ModalFooter:ht.a,Title:Fe.a,Icon:f.a,IconButton:S.a},extends:Vi,props:{isSubscribe:{type:Boolean,default:!1}},data:function(){return{footerSettings:{text:"ui.alert-email.back-job-ads"}}},computed:{modalTitle:function(){return this.isSubscribe?this.$t("ui.alert-email.first-email-alert-modal-title"):this.$t("ui.alert-email.unsubscribe-modal-title")},modalDescription:function(){return this.isSubscribe?this.$t("ui.alert-email.first-email-alert-modal-description"):this.$t("ui.alert-email.unsubscribe-modal-description")}},methods:{closeModal:function(){this.$emit("close-modal")}}}),zi=Object(y.a)(Ui,(function(){var e=this,t=e._self._c;e._self._setupProxy;return t("portal",{attrs:{to:"overlay"}},[t("div",{staticClass:"overlay",on:{click:function(t){return t.target!==t.currentTarget?null:e.closeModal.apply(null,arguments)}}},[t("Modal",{staticClass:"subscribe-modal",scopedSlots:e._u([{key:"header",fn:function(){return[t("div",{staticClass:"modal__header"},[t("Icon",e._b({staticClass:"subscribe-modal__header-icon",attrs:{inline:"true"}},"Icon",e.headerIcon,!1)),e._v(" "),t("Icon",e._b({staticClass:"modal__close-button",on:{click:function(t){return e.$emit("close-modal")}}},"Icon",e.closeIcon,!1))],1)]},proxy:!0},{key:"body",fn:function(){return[t("Title",{attrs:{tag:"h4"}},[e._v(e._s(e.modalTitle))]),e._v(" "),t("div",{staticClass:"modal__subtitle"},[t("Paragraph",[e._v("\n            "+e._s(e.modalDescription)+"\n          ")])],1)]},proxy:!0},{key:"footer",fn:function(){return[t("ModalFooter",e._b({on:{"footer-event":e.closeModal}},"ModalFooter",e.footerSettings,!1))]},proxy:!0}])})],1)])}),[],!1,null,null,null),Ki=zi.exports;function Gi(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Yi(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Gi(Object(n),!0).forEach((function(t){Object(o.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Gi(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Zi=n(796),Qi=n(196),Xi=n(755),eo=Object(l.defineComponent)({name:"DropBox",components:{Paragraph:Zi.a,Picture:Qi.a,Button:zt.a},props:{pictureSrc:{type:String,default:Xi.a},text:{type:String,required:!0},details:{type:String},disabled:{type:Boolean,default:!1}},data:function(){return{filename:null,dragover:!1}},computed:{className:function(){return{dropbox:!0,"dropbox--disabled":this.disabled,"dropbox--dragover":this.dragover}}},methods:{onDragOver:function(){this.disabled||(this.dragover=!0)},onDragLeave:function(){this.disabled||(this.dragover=!1)},onDrop:function(e){var t;this.disabled||(this.$refs.inputFile.files=(null===(t=e.dataTransfer)||void 0===t?void 0:t.files)||null,this.onFileChange(),this.onDragLeave());this.$emit("drop",e)},onFileChange:function(){var e=this.$refs.inputFile;e.files&&e.files[0]&&(this.filename=e.files[0].name,this.$emit("change",e.files[0]))},triggerFileInputClick:function(){this.disabled||this.$refs.inputFile.click();this.$emit("click")},stopEventPropagation:function(e){e.stopPropagation()}}}),to=Object(y.a)(eo,(function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{class:e.className,on:{dragover:function(t){return t.preventDefault(),e.onDragOver.apply(null,arguments)},dragleave:function(t){return t.preventDefault(),e.onDragLeave.apply(null,arguments)},drop:function(t){return t.preventDefault(),e.onDrop.apply(null,arguments)},click:e.triggerFileInputClick}},[t("Picture",{attrs:{src:e.pictureSrc,display_alt:!1,alt:""}}),e._v(" "),t("Button",{staticClass:"dropbox__upload-button",attrs:{disabled:e.disabled,variant:e.disabled?"disabled":"primary"},on:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.triggerFileInputClick.apply(null,arguments)}}},[e._v("\n    "+e._s(e.text)+"\n  ")]),e._v(" "),e.filename?t("span",[e._v(e._s(e.filename))]):e._e(),e._v(" "),t("input",{ref:"inputFile",attrs:{disabled:e.disabled,type:"file",tabindex:"-1"},on:{change:e.onFileChange,click:e.stopEventPropagation}}),e._v(" "),t("Paragraph",{staticClass:"dropbox__details"},[e._v(e._s(e.details))])],1)}),[],!1,null,null,null),no=to.exports,io=n(229),oo=n.n(io),ro=Object(l.defineComponent)({components:{DropBox:no,Paragraph:v.a,ButtonCheckbox:P.a},data:function(){return{consent:!1,consentErrorMessage:""}},methods:{updateConsentErrorMessage:function(){this.consentErrorMessage=this.consent?"":this.$t("ui.matching.consent-error")},changeConsent:function(){var e=this;this.updateConsentErrorMessage(),this.$nextTick((function(){e.$emit("content-change")}))},onUpload:function(e){this.$emit("upload",e)}}}),ao=Object(y.a)(ro,(function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"matching-modal__body matching-modal__upload-view"},[t("Paragraph",{staticClass:"matching-modal__subtitle"},[e._v("\n    "+e._s(e.$t("ui.matching.subtitle"))+"\n  ")]),e._v(" "),t("ButtonCheckbox",{staticClass:"matching-modal__consent",attrs:{value:"true"},on:{change:e.changeConsent},model:{value:e.consent,callback:function(t){e.consent=t},expression:"consent"}},[e._v("\n    "+e._s(e.$t("ui.matching.consent"))+"\n  ")]),e._v(" "),t("Paragraph",{staticClass:"matching-modal__consent-error"},[e._v("\n    "+e._s(e.consentErrorMessage)+"\n  ")]),e._v(" "),t("DropBox",{attrs:{disabled:!e.consent,text:e.$t("ui.matching.drag-and-drop-file"),details:e.$t("ui.matching.upload-details")},on:{change:e.onUpload,click:e.updateConsentErrorMessage,drop:e.updateConsentErrorMessage}})],1)}),[],!1,null,null,null).exports;function so(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function lo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?so(Object(n),!0).forEach((function(t){Object(o.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):so(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var co,uo=Object(l.defineComponent)({name:"NavigationDots",components:{Icon:f.a},props:{total:{type:Number,required:!0},index:{type:Number,default:0}},data:function(){return{icon:{text:"",type:m.a.CIRCLE_FULL}}}}),po=Object(y.a)(uo,(function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"navigation-dots"},e._l(e.total,(function(i){return t("Icon",e._b({key:i,class:i===e.index?"selected":""},"Icon",e.icon,!1))})),1)}),[],!1,null,null,null).exports,ho=n(909),fo=n.n(ho),mo=Object(l.defineComponent)({name:"Animation",data:function(){return{animation:null}},props:{path:{type:String,required:!0},loop:{type:Boolean,default:!0},autoplay:{type:Boolean,default:!0},initialSegment:{type:Array}},mounted:function(){this.animation=fo.a.loadAnimation({container:this.$refs.container,renderer:"svg",loop:this.loop,autoplay:this.autoplay,path:this.path,initialSegment:this.initialSegment})},methods:{playSegment:function(e,t){this.animation&&this.animation.playSegments(e,t)},setSpeed:function(e){this.animation&&this.animation.setSpeed(e)}}}),bo=Object(y.a)(mo,(function(){var e=this._self._c;this._self._setupProxy;return e("div",{ref:"container",staticClass:"animation"})}),[],!1,null,null,null).exports;!function(e){e.BLUE="matching-modal__view--blue",e.RED="matching-modal__view--red",e.GREEN="matching-modal__view--green",e.YELLOW="matching-modal__view--yellow"}(co||(co={}));var go,vo=Object(l.defineComponent)({components:{Paragraph:v.a,Button:zt.a,Picture:Qi.a,NavigationDots:po,IconButton:S.a,Animation:bo},props:{totalSlides:{type:Number,required:!1},slideIndex:{type:Number,required:!1},animationPath:{type:String,required:!0},animationSegment:{type:Array,required:!0},animationLoop:{type:Boolean,default:!1},title:{type:String,required:!0},subtitle:{type:String},buttonText:{type:String},closeButtonDisplay:{type:Boolean,default:!1},closeButtonText:{type:String,default:""},variant:{type:String,required:!1,default:co.BLUE}},data:function(){return{closeIcon:{type:m.a.CLOSE,text:"ui.close"}}},watch:{animationSegment:{deep:!0,immediate:!0,handler:function(){var e=this.getAnimation();e&&this.totalSlides&&e.playSegment(this.animationSegment,!0)}}},computed:{className:function(){return["matching-modal__body","matching-modal__view",this.variant]}},methods:{getAnimation:function(){return this.$refs.animation},close:function(){this.$store.commit(C.CAREERS_SITE_NAMESPACE+"/commitDisplayMatchingModal",!1)}},mounted:function(){this.getAnimation().setSpeed(.7)}}),_o=Object(y.a)(vo,(function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{class:e.className},[e.closeButtonDisplay?t("IconButton",e._b({staticClass:"close-button",attrs:{label:e.closeButtonText},on:{click:e.close}},"IconButton",{leftIcon:lo(lo({},e.closeIcon),{},{text:e.$t(e.closeIcon.text)})},!1)):e._e(),e._v(" "),t("div",{staticClass:"matching-upper-row"},[t("Animation",{ref:"animation",attrs:{path:e.animationPath,"initial-segment":e.animationSegment,loop:e.animationLoop}})],1),e._v(" "),t("div",{staticClass:"matching-lower-row"},[t("Paragraph",{key:e.title,staticClass:"matching-modal__title",domProps:{innerHTML:e._s(e.title)}}),e._v(" "),t("Paragraph",{staticClass:"matching-modal__subtitle"},[e._v("\n      "+e._s(e.subtitle)+"\n    ")]),e._v(" "),e.buttonText?t("Button",{staticClass:"action-button",on:{click:function(t){return e.$emit("click")}}},[e._v("\n      "+e._s(e.buttonText)+"\n    ")]):e._e(),e._v(" "),e._t("default"),e._v(" "),e.totalSlides?t("NavigationDots",{attrs:{total:e.totalSlides,index:e.slideIndex+1}}):e._e()],2)],1)}),[],!1,null,null,null).exports,yo=Object(l.defineComponent)({components:{Paragraph:v.a,Button:zt.a,Picture:Qi.a,MatchingView:_o},props:{count:{type:Number,required:!0}},data:function(){return{animationSegment:[360,540]}},computed:{title:function(){var title=this.$tc("ui.matching.results.title",this.count);return title.replace(/"[^"]*"|'[^']*'|(\d+)/g,(function(a,b){return b?'<span class="highlighted-text">'+b+"</span>":a}))},buttonText:function(){var title=this.count>0?"ui.matching.results.action":"ui.spontaneous-application_button";return this.$t(title)}},methods:{showResult:function(){var e=this.count>0?"view-results":"view-spontaneous";this.$emit(e)}}}),xo=Object(y.a)(yo,(function(){var e=this,t=e._self._c;e._self._setupProxy;return t("MatchingView",{staticClass:"matching-modal__results-view",attrs:{title:e.title,count:e.count,subtitle:e.$t("ui.matching.results.subtitle"),"button-text":e.buttonText,"close-button-display":!0,"animation-path":"/animations/loader-validate-matching.json","animation-segment":e.animationSegment},on:{click:e.showResult}})}),[],!1,null,null,null).exports,Co=Object(l.defineComponent)({components:{MatchingView:_o},data:function(){return{animationSegment:[115,247]}},methods:{getInputElement:function(){return this.$refs.inputFile},triggerFileInputClick:function(){this.getInputElement().click()},onFileChange:function(){var e=this.getInputElement();e.files&&this.$emit("upload",e.files[0])}}}),So=Object(y.a)(Co,(function(){var e=this,t=e._self._c;e._self._setupProxy;return t("MatchingView",{staticClass:"matching-modal__results-view",attrs:{title:e.$t("ui.matching.upload-error"),subtitle:e.$t("ui.matching.upload-error-subtitle"),"button-text":e.$t("ui.matching.upload"),"close-button-display":!0,"animation-path":"/animations/loader-failure-matching.json","animation-segment":e.animationSegment},on:{click:e.triggerFileInputClick}},[t("input",{directives:[{name:"show",rawName:"v-show",value:!1,expression:"false"}],ref:"inputFile",attrs:{type:"file"},on:{change:e.onFileChange}})])}),[],!1,null,null,null).exports;!function(e){e.UPLOAD_VIEW="UPLOAD",e.RESULTS_VIEW="RESULTS",e.LOADING_VIEW="LOADING",e.ERROR_VIEW="ERROR"}(go||(go={}));var wo=n(431);function Oo(e,t){return Ao.apply(this,arguments)}function Ao(){return(Ao=Object(r.a)(regeneratorRuntime.mark((function e(t,n){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,$.a.getMatchingJobAds(t,n.base64File,n.fileName);case 3:return e.abrupt("return",e.sent);case 6:e.prev=6,e.t0=e.catch(0),Object(H.a)(e.t0);case 9:case"end":return e.stop()}}),e,null,[[0,6]])})))).apply(this,arguments)}function Eo(e){return jo.apply(this,arguments)}function jo(){return(jo=Object(r.a)(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,n=new wo.a,e.next=4,n.openDatabase();case 4:return e.next=6,n.put(an.c,t,an.d);case 6:return n.closeDatabase(),e.abrupt("return",!0);case 10:return e.prev=10,e.t0=e.catch(0),Object(H.b)(e.t0),e.abrupt("return",!1);case 14:case"end":return e.stop()}}),e,null,[[0,10]])})))).apply(this,arguments)}function ko(e){return new Promise((function(t,n){var o=new FileReader;o.onload=function(){return t(o.result)},o.onerror=n,o.readAsDataURL(e)}))}var Po=n(812),Mo=n.n(Po),Io={settings:[{totalSlides:an.f,slideIndex:0,title:"ui.matching.loading.upload",closeButtonDisplay:!0,closeButtonText:"",animationPath:"/animations/loader-validate-matching.json",animationSegment:[0,89]},{totalSlides:an.f,slideIndex:1,title:"ui.matching.loading.background",closeButtonDisplay:!0,closeButtonText:"",variant:co.YELLOW,animationPath:"/animations/loader-validate-matching.json",animationSegment:[90,179]},{totalSlides:an.f,slideIndex:2,title:"ui.matching.loading.skills",closeButtonDisplay:!0,closeButtonText:"",variant:co.RED,animationPath:"/animations/loader-validate-matching.json",animationSegment:[180,268]},{totalSlides:an.f,slideIndex:3,title:"ui.matching.loading.offers",closeButtonDisplay:!0,closeButtonText:"",variant:co.GREEN,animationPath:"/animations/loader-validate-matching.json",animationSegment:[269,350]}],translatableKeys:["title","closeButtonText"]},Bo=Object(l.defineComponent)({components:{MatchingView:_o},data:function(){return{slides:[],currentSlide:0}},created:function(){this.slides=xe(this,Io)},mounted:function(){this.changeSlides()},methods:{changeSlides:function(){var e=this;this.slides.forEach((function(t,n){Mo()((function(){e.currentSlide=n}),an.g*n)}))}}}),$o=Object(y.a)(Bo,(function(){var e=this,t=e._self._c;e._self._setupProxy;return t("MatchingView",e._b({attrs:{"animation-loop":!0}},"MatchingView",e.slides[e.currentSlide],!1))}),[],!1,null,null,null).exports;function Fo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function To(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Fo(Object(n),!0).forEach((function(t){Object(o.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Fo(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Do=Object(l.defineComponent)({name:"MatchingModal",components:{LoadingView:$o,UploadView:ao,ResultsView:xo,ErrorView:So,Modal:pt.a,IconButton:S.a,Paragraph:v.a,ButtonCheckbox:P.a,DropBox:no},mixins:[qi.a,Pn.a],data:function(){return{currentView:go.UPLOAD_VIEW,loadingStartedAt:0,uploadedCV:{base64File:"",fileName:""},closeModalDelayMobile:300,closeIcon:{type:m.a.CLOSE,text:"ui.close"},fadingIn:!1,displayHeader:!0,matchingJobAdsIds:[],matchingJobAdsCount:0}},computed:{normalizedSearchParameters:function(){return this.$store.getters["".concat(G.JOB_ADS_NAMESPACE,"/normalizedSearchParameters")]},normalisedFilterParameters:function(){return this.$store.getters["".concat(G.JOB_ADS_NAMESPACE,"/normalisedFilterParameters")]},className:function(){return{"matching-modal":!0,"matching-modal--fade-in":this.isMobile&&this.fadingIn&&this.currentView===go.UPLOAD_VIEW,"matching-modal--fade-out":this.isMobile&&!this.fadingIn&&this.currentView===go.UPLOAD_VIEW,"matching-modal--full-screen":this.isMobile&&this.currentView!==go.UPLOAD_VIEW}},displayUploadView:function(){return this.currentView===go.UPLOAD_VIEW},displayResultsView:function(){return this.currentView===go.RESULTS_VIEW},displayLoadingView:function(){return this.currentView===go.LOADING_VIEW},displayErrorView:function(){return this.currentView===go.ERROR_VIEW}},mounted:function(){this.fadingIn=!0,this.setDisplayHeader(),window.addEventListener("resize",this.resetDeviceSizeRelatedProperties)},methods:{selfClose:function(){var e=this;this.fadingIn=!1;var t=this.isMobile?this.closeModalDelayMobile:0;setTimeout((function(){e.$store.commit(C.CAREERS_SITE_NAMESPACE+"/commitDisplayMatchingModal",!1)}),t)},onFileUpload:function(e){var t=this;return Object(r.a)(regeneratorRuntime.mark((function n(){var o;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,t.changeToLoadingView(),o=t.$store.state[C.CAREERS_SITE_NAMESPACE].careersSite.domain_name,n.next=5,ko(e);case 5:return n.t0=n.sent,n.t1=e.name,t.uploadedCV={base64File:n.t0,fileName:n.t1},n.next=10,Oo(o,t.uploadedCV);case 10:return t.matchingJobAdsIds=n.sent,n.next=13,t.getMatchingJobAdsCount();case 13:return t.matchingJobAdsCount=n.sent,n.next=16,t.changeToResultsView();case 16:n.next=21;break;case 18:n.prev=18,n.t2=n.catch(0),t.changeToErrorView();case 21:case"end":return n.stop()}}),n,null,[[0,18]])})))()},viewResults:function(){var e=this;return Object(r.a)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.$store.commit(G.JOB_ADS_NAMESPACE+"/setMatchingJobAdsIds",e.matchingJobAdsIds),e.$store.commit(G.JOB_ADS_NAMESPACE+"/setInMatchingMode",!0),t.next=4,Eo(e.uploadedCV);case 4:e.selfClose(),e.$emit("view-results");case 6:case"end":return t.stop()}}),t)})))()},viewSpontaneous:function(){this.selfClose(),this.$emit("view-spontaneous")},fixAccessibility:function(){this.$refs.modal.setFocusableEls()},changeToResultsView:function(){var e=this;return Object(r.a)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.waitLoadingViewToEndAnimation();case 2:e.currentView=go.RESULTS_VIEW,e.setDisplayHeader();case 4:case"end":return t.stop()}}),t)})))()},changeToLoadingView:function(){this.currentView=go.LOADING_VIEW,this.setDisplayHeader(),this.loadingStartedAt=oo()()},changeToErrorView:function(){this.currentView=go.ERROR_VIEW,this.setDisplayHeader()},waitLoadingViewToEndAnimation:function(){var e=this;return Object(r.a)(regeneratorRuntime.mark((function t(){var n,o;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=oo()(),!((o=n-e.loadingStartedAt-an.e)<0)){t.next=5;break}return t.next=5,en(Math.abs(o));case 5:case"end":return t.stop()}}),t)})))()},resetDeviceSizeRelatedProperties:function(){this.setDisplayHeader()},setDisplayHeader:function(){this.displayHeader=window.innerWidth>=$t.d||this.currentView===go.UPLOAD_VIEW},getMatchingJobAdsCount:function(){var e=this;return Object(r.a)(regeneratorRuntime.mark((function t(){var n,o,data;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!le()(e.matchingJobAdsIds)){t.next=2;break}return t.abrupt("return",0);case 2:return n=e.$store.state[C.CAREERS_SITE_NAMESPACE].careersSite.domain_name,(o=To({},e.normalisedFilterParameters))[Xe.a.JobAdsIdsFilter]=e.matchingJobAdsIds,t.next=7,Object(ce.c)({domainName:n,searchParameters:e.normalizedSearchParameters,filters:o,locale:Object(Ln.a)(e.$i18n.locale),limit:0});case 7:return data=t.sent,t.abrupt("return",data.count);case 9:case"end":return t.stop()}}),t)})))()}}}),Ro=Object(y.a)(Do,(function(){var e=this,t=e._self._c;e._self._setupProxy;return t("portal",{attrs:{to:"overlay"}},[t("div",{staticClass:"overlay",on:{click:function(t){return t.target!==t.currentTarget?null:e.selfClose.apply(null,arguments)}}},[t("Modal",{ref:"modal",class:e.className,attrs:{"display-footer":!1,"display-header":e.displayHeader},on:{"close-modal":e.selfClose},scopedSlots:e._u([{key:"header",fn:function(){return[t("div",{staticClass:"modal__header"},[t("span",{staticClass:"modal__header-title"},[e._v(e._s(e.$t("ui.match-my-cv")))]),e._v(" "),t("IconButton",e._b({ref:"closeModal",staticClass:"modal__close-button",attrs:{tabindex:"0",variant:"link"},on:{click:e.selfClose,keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.selfClose.apply(null,arguments)}}},"IconButton",{leftIcon:Yi(Yi({},e.closeIcon),{},{text:e.$t(e.closeIcon.text)})},!1))],1)]},proxy:!0},{key:"body",fn:function(){return[e.displayUploadView?t("UploadView",{on:{"content-change":e.fixAccessibility,upload:e.onFileUpload}}):e._e(),e._v(" "),e.displayResultsView?t("ResultsView",{attrs:{count:e.matchingJobAdsCount},on:{"view-spontaneous":e.viewSpontaneous,"view-results":e.viewResults}}):e._e(),e._v(" "),e.displayLoadingView?t("LoadingView"):e._e(),e._v(" "),e.displayErrorView?t("ErrorView",{on:{upload:e.onFileUpload}}):e._e()]},proxy:!0}])})],1)])}),[],!1,null,null,null),No=Ro.exports,Lo=n(158),Jo=n(49);function Vo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}var qo={width:""},Ho=Object(l.defineComponent)({name:"JobAdsListingPage",components:{ModalConsent:at.a,MatchingModal:No,SubscribeManagement:Ki,SubscribeModal:Wi,MapWrapper:Oi,JobAdList:ti,MobileFilters:gn,DesktopFilters:dn,SpontaneousApplicationBlock:ut,Notification:x,MobileFiltersButtons:ki},nuxtI18n:{paths:{cs:"/annonces",da:"/annonces",de_CH:"/annonces",de:"/annonces",en:"/annonces",es:"/annonces",it_CH:"/annonces",it:"/annonces",ja:"/annonces",ko:"/annonces",fr_CA:"/annonces",fr_CH:"/annonces",fr:"/annonces",nl:"/annonces",pl:"/annonces",pt:"/annonces",pt_BR:"/annonces",ro:"/annonces",sv:"/annonces",tr:"/annonces",zh_CN:"/annonces",zh_HK:"/annonces"}},mixins:[Tt.a,st.a],computed:{careersSite:function(){return this.$store.state[C.CAREERS_SITE_NAMESPACE].careersSite},getQueryFilters:function(){return this.$store.getters[G.JOB_ADS_NAMESPACE+"/getQueryFilters"]},inMatchingMode:function(){return this.$store.state[G.JOB_ADS_NAMESPACE].inMatchingMode},withMap:function(){return this.$store.getters[C.CAREERS_SITE_NAMESPACE+"/withMap"]},displayMatchingModal:function(){return this.$store.state[C.CAREERS_SITE_NAMESPACE].displayMatchingModal},queryParams:function(){return this.$route.query},errorKeyText:function(){if("string"!=typeof this.$route.query.errorKey)return"";var e=this.$t(this.$route.query.errorKey);return"string"!=typeof e?"":e},displayMap:function(){return!!this.jobAdListingSettings.with_map&&!this.displayFilters&&!this.displaySearch},displayJobAdPreviews:function(){return this.displayMap&&this.jobAdListingSettings.job_ad_preview_enabled},pageViewProperties:function(){return{domain:this.domainName,current_page_title:this.pageData.meta.title,page_type:"Job_ad_list"}},mobileFiltersClasses:function(){return{"mobile-filters-container":!0,"mobile-filters-container-overlay":this.displayFilters||this.displaySearch}}},data:function(){return{debounceFetch:function(){},displayFiltersModal:!1,mapMustBeHidden:!0,debounceHideMapOnMobile:function(){},domain:"",pageData:{},currentPage:1,fromPage:1,pageToStart:1,toPage:Y.j,displayFilters:!1,displaySearch:!1,hideMap:!1,googleMapWrapper:{},listContainer:{},googleMapWrapperStyle:{},footerElement:{},customHeaderElement:{},listMapContainerTop:0,displaySubscribeModal:!1,displaySubscribeManagementModal:!1,isSubscribe:!1,showModalConsent:!1,colors:{},mapWrapperStyle:null}},watch:{getQueryFilters:{deep:!0,handler:function(){this.$router.push({query:this.getQueryFilters})}},inMatchingMode:function(){var e=this;return Object(r.a)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.getPaginatedJobAds(1);case 2:case"end":return t.stop()}}),t)})))()},displayMatchingModal:"manageLayoutOverflow",displayFilters:"manageHtmlOverflow",displaySearch:"manageLayoutOverflow"},asyncData:function(e){return Object(r.a)(regeneratorRuntime.mark((function t(){var n,o,r,l,c,d,h,f;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=e.store.state[C.CAREERS_SITE_NAMESPACE].careersSite.domain_name,o="string"==typeof e.query.page?parseInt(e.query.page,10):1,e.store.commit("".concat(G.JOB_ADS_NAMESPACE,"/updateFiltersFromMasterFilters"),e.route.query),r=e.store.state[C.CAREERS_SITE_NAMESPACE].localizedCareersSite,l=e.store.state[C.CAREERS_SITE_NAMESPACE].careersSite,c=r.pages.find((function(e){return e.logic_value===Ft.c.JobsLink})),c){t.next=9;break}return e.error({statusCode:404,message:"Not found"}),t.abrupt("return");case 9:if((d=r.navigation_links.find((function(e){return e.type===Jo.d.Page&&e.page_id===c.id})))&&d.type===Jo.d.Page&&!d.is_hidden){t.next=13;break}return e.error({statusCode:404,message:"Not found"}),t.abrupt("return");case 13:return e.store.commit(C.CAREERS_SITE_NAMESPACE+"/commitPageId",{pageId:c.id}),t.next=16,Object(Ei.a)(r,l,c.id,e);case 16:return h=t.sent,t.next=19,Object(Lo.b)(n);case 19:return f=t.sent,t.abrupt("return",{domain:n,pageData:h,pageToStart:o,colors:f});case 21:case"end":return t.stop()}}),t)})))()},created:function(){var e=this;this.calculateRange(this.pageToStart),this.debounceFetch=d()((function(t){return e.getPaginatedJobAds(t)}),350),(this.$route.query.subscribe||this.$route.query.unsubscribe)&&this.$router.replace({query:{}})},mounted:function(){var e=this;return Object(r.a)(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return null===(n=e.$mixpanel)||void 0===n||n.track_pageview(e.pageViewProperties),e.mapMustBeHidden=e.shouldMapBeHidden(),e.debounceHideMapOnMobile=d()(e.hideMapOnMobile,350),e.initializeHtmlElementsVariables(),e.addListenersForComponentsRescale(),e.$nextTick(e.rescaleComponents),t.next=8,e.manageSubscription();case 8:window.addEventListener("resize",e.debounceHideMapOnMobile);case 9:case"end":return t.stop()}}),t)})))()},beforeDestroy:function(){window.removeEventListener("scroll",this.rescaleComponents),window.removeEventListener("resize",this.rescaleComponents),window.removeEventListener("resize",this.debounceHideMapOnMobile),this.resetAllFilters()},head:function(){return Object(Ai.a)(this.domain,"/",this.pageData.meta)},methods:{shouldMapBeHidden:function(){return window.innerWidth<=$t.a},hideMapOnMobile:function(){var e=this.shouldMapBeHidden();this.mapMustBeHidden!==e&&(this.mapMustBeHidden=e,this.resetCurrentViewPortAndRetrieveJobs())},initMapClusters:function(){var e=this;return Object(r.a)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.getPaginatedJobAds(e.pageToStart,{updateViewport:!0});case 2:e.$refs.mapWrapper.fitGivenViewport();case 4:case"end":return t.stop()}}),t)})))()},manageSubscription:function(){var e=this;return Object(r.a)(regeneratorRuntime.mark((function t(){var n,o;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=e.$nuxt.context,o=n.store.state[C.CAREERS_SITE_NAMESPACE].careersSite,!e.$nuxt.context.route.query.subscribe){t.next=14;break}return t.prev=3,t.next=6,Ti(n.route.query.subscribe,o.domain_name);case 6:e.displaySubscribeManagementModal=!0,e.isSubscribe=!0,t.next=12;break;case 10:t.prev=10,t.t0=t.catch(3);case 12:t.next=23;break;case 14:if(!n.route.query.unsubscribe){t.next=23;break}return t.prev=15,t.next=18,Ri(n.route.query.unsubscribe,o.domain_name);case 18:e.displaySubscribeManagementModal=!0,t.next=23;break;case 21:t.prev=21,t.t1=t.catch(15);case 23:case"end":return t.stop()}}),t,null,[[3,10],[15,21]])})))()},retrieveJobs:function(e){var t=this;return Object(r.a)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if((null==e?void 0:e.locationSearch)&&!t.mapMustBeHidden){n.next=3;break}return n.next=3,t.getPaginatedJobAds();case 3:t.$store.commit("".concat(G.JOB_ADS_NAMESPACE,"/setHighlightedPlace"),(null==e?void 0:e.locationSearch)||null);case 4:case"end":return n.stop()}}),n)})))()},getPaginatedJobAds:function(){var e=arguments,t=this;return Object(r.a)(regeneratorRuntime.mark((function n(){var o,r;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return o=e.length>0&&void 0!==e[0]?e[0]:1,r=e.length>1&&void 0!==e[1]?e[1]:{updateViewport:!1},n.next=4,t.$store.dispatch("".concat(G.JOB_ADS_NAMESPACE,"/fetchAndCommitJobAds"),{domainName:t.domain,page:o,locale:Object(Ln.a)(t.$i18n.locale),withMap:t.withMap&&!t.mapMustBeHidden,updateViewport:r.updateViewport});case 4:t.calculateRange(o),t.goTopListing();case 6:case"end":return n.stop()}}),n)})))()},manageLayoutOverflow:function(e){var t=e?"hidden":"visible";document.querySelectorAll(".layout").forEach((function(e){return e.style.overflow=t}))},manageHtmlOverflow:function(e){document.documentElement.style.overflowY=e?"hidden":"scroll"},openModalConsentFromMatching:function(){var e;null===(e=this.$mixpanel)||void 0===e||e.track(lt.g,{domain:this.domainName,button_name:lt.f}),this.closeMatchingModal(),this.showModalConsent=!0},closeMatchingModal:function(){this.$store.commit(C.CAREERS_SITE_NAMESPACE+"/commitDisplayMatchingModal",!1)},closeModalConsent:function(){this.showModalConsent=!1},addJobAds:function(e){this.currentPage!==e&&(this.debounceFetch(e,this),this.focusOnFirstJobAd())},resetFiltersAndRetrieveJobs:function(){this.resetAllFilters(),this.retrieveJobs()},resetCurrentViewPortAndRetrieveJobs:function(){this.$store.commit(G.JOB_ADS_NAMESPACE+"/resetCurrentViewport"),this.retrieveJobs()},resetAllFilters:function(){this.$store.commit(G.JOB_ADS_NAMESPACE+"/eraseFilters"),this.$store.commit(G.JOB_ADS_NAMESPACE+"/eraseSearchParameters"),this.$store.commit(G.JOB_ADS_NAMESPACE+"/resetCurrentViewport")},calculateRange:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;this.toPage=e*Y.j,this.fromPage=this.toPage-Y.n,this.currentPage=e},toggleFiltersModal:function(){this.displayFilters=!this.displayFilters},toggleResearchModal:function(){this.displaySearch=!this.displaySearch},resetDisplayFilters:function(){this.displayFilters=!1,this.displaySearch=!1},showSubscribeModal:function(){this.displaySubscribeModal=!0},closeSubscribeModal:function(){this.displaySubscribeModal=!1},closeSubscribeManagementModal:function(){this.displaySubscribeManagementModal=!1},goTopListing:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"smooth";if("undefined"!=typeof window){var t=0;!this.customHeaderElement&&window.scrollY>=Y.q&&(t=Y.q),window.scrollTo({top:t,behavior:e})}},focusOnFirstJobAd:function(){var e=document.querySelector(".jobs-container .job-ad-card-wrapper");e&&e.focus({preventScroll:!0})},initializeHtmlElementsVariables:function(){if(this.displayMap){var map=this.$refs.mapWrapper.map;this.googleMapWrapper=map.mapWrapper,this.listContainer=this.$refs.listContainer.$el,this.footerElement=this.$refs.spontaneousApplicationElement?this.$refs.spontaneousApplicationElement.$el:document.querySelector("footer.footer"),this.googleMapWrapper&&(this.googleMapWrapperStyle=this.googleMapWrapper.style)}this.customHeaderElement=document.querySelector(".custom-header")},addListenersForComponentsRescale:function(){window.addEventListener("scroll",this.rescaleComponents),window.addEventListener("resize",this.rescaleComponents)},rescaleComponents:function(){this.displayMap&&this.googleMapWrapper&&this.rescaleMapAndList(),this.rescaleJobListWithoutMap(),this.rescaleFilters(),this.setVhProp()},setVhProp:function(){var e=.01*window.innerHeight;document.documentElement.style.setProperty("--vh","".concat(e,"px"))},rescaleMapAndList:function(){var e=window.innerWidth,t=window.innerHeight;if(this.mapWrapperStyle=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Vo(Object(n),!0).forEach((function(t){Object(o.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Vo(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},qo),e<=$t.b)return this.googleMapWrapperStyle.removeProperty("min-height"),void this.listContainer.style.removeProperty("min-height");if(this.mapWrapperStyle.width="calc(100% - "+this.listContainer.offsetWidth+"px)",this.googleMapWrapper&&this.listContainer&&this.footerElement.getBoundingClientRect().top>t){var n=t-this.googleMapWrapper.getBoundingClientRect().top+"px";this.googleMapWrapperStyle.minHeight=n,this.listContainer.style.minHeight=n}},rescaleJobListWithoutMap:function(){this.listContainer&&this.mapMustBeHidden&&(this.listContainer.style.minHeight=window.innerHeight-this.footerElement.getBoundingClientRect().top+"px")},rescaleFilters:function(){window.innerWidth<=$t.b?this.setMobileFiltersTop():this.setDesktopFiltersTop()},setMobileFiltersTop:function(){var e=this.$refs.mobileFilters;this.setPositionTopFilter(e,!0)},setDesktopFiltersTop:function(){var e=this.$refs.desktopFilters.$el;this.setPositionTopFilter(e)},setPositionTopFilter:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(this.customHeaderElement||e&&!e.style.top)if(this.customHeaderElement){var n=t?".mobile-filters-container":".desktop-filters",o=document.querySelector(n);if(o){o.style.top=this.customHeaderElement.clientHeight+"px";var r=document.querySelector(".list-map-container");if(this.listMapContainerTop=t?0:this.customHeaderElement.clientHeight+e.clientHeight,r.style.top=this.listMapContainerTop+"px",!t&&this.displayMap){var l=document.querySelector(".map-container");l&&(l.style.top=r.style.top,this.rescaleMapAndList())}}}else{var c=t?".navbar-mobile":".navbar",d=document.querySelector(c);d&&(e.style.top=Math.round(d.getBoundingClientRect().height)+"px")}},scrollDisplayPreview:function(){var e=this;this.$nextTick((function(){e.goTopListing("auto")}))},viewMatchingResults:function(){var e=this;return Object(r.a)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.getPaginatedJobAds(1);case 2:e.closeMatchingModal();case 3:case"end":return t.stop()}}),t)})))()}}}),Wo=Ho,Uo=Object(y.a)(Wo,(function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",[t("main",{ref:"pageContainer",staticClass:"page__container job-ads-listing-page",attrs:{role:"main"}},[e.queryParams.errorKey?t("Notification",{attrs:{text:e.errorKeyText}}):e._e(),e._v(" "),t("DesktopFilters",{ref:"desktopFilters",attrs:{extended:e.careersSite.is_extended},on:{search:e.retrieveJobs,clear:e.resetFiltersAndRetrieveJobs}}),e._v(" "),t("div",{ref:"mobileFilters",class:e.mobileFiltersClasses},[t("MobileFiltersButtons",{attrs:{extended:e.careersSite.is_extended},on:{researchButtonClick:e.toggleResearchModal,filterButtonClick:e.toggleFiltersModal}}),e._v(" "),t("MobileFilters",{attrs:{"display-filters-modal":e.displayFilters,"display-research-modal":e.displaySearch,extended:e.careersSite.is_extended},on:{search:e.retrieveJobs,clear:e.retrieveJobs,closeModal:e.resetDisplayFilters,clearAllFilters:e.resetFiltersAndRetrieveJobs}})],1),e._v(" "),t("div",{staticClass:"list-map-container",class:{"list-map-container--without-map":e.mapMustBeHidden}},[t("JobAdList",{ref:"listContainer",class:{"job-ads-list--extended":e.careersSite.is_extended},attrs:{"to-page":e.toPage,"current-page":e.currentPage,"from-page":e.fromPage,"page-to-start":e.pageToStart,"display-job-ad-previews":e.displayJobAdPreviews},on:{"page-changed":e.addJobAds,search:e.retrieveJobs,"show-modal":e.scrollDisplayPreview,"show-subscribe-modal":e.showSubscribeModal}}),e._v(" "),t("MapWrapper",{directives:[{name:"show",rawName:"v-show",value:e.displayMap,expression:"displayMap"}],ref:"mapWrapper",style:e.mapWrapperStyle,attrs:{extended:e.careersSite.is_extended,colors:e.colors,"map-must-be-hidden":e.mapMustBeHidden},on:{researchButtonClick:e.toggleResearchModal,filterButtonClick:e.toggleFiltersModal,onMapReady:e.initMapClusters,mapToggle:e.manageLayoutOverflow}})],1)],1),e._v(" "),e.displaySubscribeModal?t("SubscribeModal",{on:{"close-modal":e.closeSubscribeModal}}):e._e(),e._v(" "),e.displaySubscribeManagementModal?t("SubscribeManagement",{attrs:{"is-subscribe":e.isSubscribe},on:{"close-modal":e.closeSubscribeManagementModal}}):e._e(),e._v(" "),e.jobAdListingSettings.allow_spontaneous?t("SpontaneousApplicationBlock",{ref:"spontaneousApplicationElement",attrs:{extended:e.careersSite.is_extended}}):e._e(),e._v(" "),e.displayMatchingModal?t("MatchingModal",{on:{"view-results":e.viewMatchingResults,"view-spontaneous":e.openModalConsentFromMatching}}):e._e(),e._v(" "),e.showModalConsent?t("ModalConsent",{attrs:{"consent-src":e.consentIframeSrc},on:{"close-modal":e.closeModalConsent}}):e._e()],1)}),[],!1,null,null,null);t.default=Uo.exports}}]);