1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9859,4111],{1763:function(e,t,l){var n;n=e=>(()=>{var t={703:(e,t,l)=>{"use strict";var n=l(414);function a(){}function i(){}i.resetWarningCache=a,e.exports=function(){function e(e,t,l,a,i,o){if(o!==n){var r=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw r.name="Invariant Violation",r}}function t(){return e}e.isRequired=e;var l={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:a};return l.PropTypes=l,l}},697:(e,t,l)=>{e.exports=l(703)()},414:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},98:t=>{"use strict";t.exports=e}},l={};function n(e){var a=l[e];if(void 0!==a)return a.exports;var i=l[e]={exports:{}};return t[e](i,i.exports,n),i.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var l in t)n.o(t,l)&&!n.o(e,l)&&Object.defineProperty(e,l,{enumerable:!0,get:t[l]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};return(()=>{"use strict";n.r(a),n.d(a,{default:()=>b});var e=n(98),t=n.n(e),l=n(697),i=n.n(l);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var n in l)Object.prototype.hasOwnProperty.call(l,n)&&(e[n]=l[n])}return e}).apply(this,arguments)}var r=function(e){var l=e.pageClassName,n=e.pageLinkClassName,a=e.page,i=e.selected,r=e.activeClassName,s=e.activeLinkClassName,c=e.getEventListener,u=e.pageSelectedHandler,d=e.href,p=e.extraAriaContext,v=e.pageLabelBuilder,g=e.rel,m=e.ariaLabel||"Page "+a+(p?" "+p:""),h=null;return i&&(h="page",m=e.ariaLabel||"Page "+a+" is your current page",l=void 0!==l?l+" "+r:r,void 0!==n?void 0!==s&&(n=n+" "+s):n=s),t().createElement("li",{className:l},t().createElement("a",o({rel:g,role:d?void 0:"button",className:n,href:d,tabIndex:i?"-1":"0","aria-label":m,"aria-current":h,onKeyPress:u},c(u)),v(a)))};function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var n in l)Object.prototype.hasOwnProperty.call(l,n)&&(e[n]=l[n])}return e}).apply(this,arguments)}r.propTypes={pageSelectedHandler:i().func.isRequired,selected:i().bool.isRequired,pageClassName:i().string,pageLinkClassName:i().string,activeClassName:i().string,activeLinkClassName:i().string,extraAriaContext:i().string,href:i().string,ariaLabel:i().string,page:i().number.isRequired,getEventListener:i().func.isRequired,pageLabelBuilder:i().func.isRequired,rel:i().string};var c=function(e){var l=e.breakLabel,n=e.breakAriaLabel,a=e.breakClassName,i=e.breakLinkClassName,o=e.breakHandler,r=e.getEventListener;return t().createElement("li",{className:a||"break"},t().createElement("a",s({className:i,role:"button",tabIndex:"0","aria-label":n,onKeyPress:o},r(o)),l))};function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return null!=e?e:t}function d(e){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function p(){return(p=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var n in l)Object.prototype.hasOwnProperty.call(l,n)&&(e[n]=l[n])}return e}).apply(this,arguments)}function v(e,t){return(v=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function g(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function h(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}c.propTypes={breakLabel:i().oneOfType([i().string,i().node]),breakAriaLabel:i().string,breakClassName:i().string,breakLinkClassName:i().string,breakHandler:i().func.isRequired,getEventListener:i().func.isRequired};var f=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&v(e,t)}(i,e);var l,n,a=(n=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,t=m(i);return e=n?Reflect.construct(t,arguments,m(this).constructor):t.apply(this,arguments),function(e,t){if(t&&("object"===d(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return g(e)}(this,e)});function i(e){var l,n;return function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,i),h(g(l=a.call(this,e)),"handlePreviousPage",function(e){var t=l.state.selected;l.handleClick(e,null,t>0?t-1:void 0,{isPrevious:!0})}),h(g(l),"handleNextPage",function(e){var t=l.state.selected,n=l.props.pageCount;l.handleClick(e,null,t<n-1?t+1:void 0,{isNext:!0})}),h(g(l),"handlePageSelected",function(e,t){if(l.state.selected===e)return l.callActiveCallback(e),void l.handleClick(t,null,void 0,{isActive:!0});l.handleClick(t,null,e)}),h(g(l),"handlePageChange",function(e){l.state.selected!==e&&(l.setState({selected:e}),l.callCallback(e))}),h(g(l),"getEventListener",function(e){return h({},l.props.eventListener,e)}),h(g(l),"handleClick",function(e,t,n){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=a.isPrevious,o=a.isNext,r=a.isBreak,s=a.isActive;e.preventDefault?e.preventDefault():e.returnValue=!1;var c=l.state.selected,u=l.props.onClick,d=n;if(u){var p=u({index:t,selected:c,nextSelectedPage:n,event:e,isPrevious:void 0!==i&&i,isNext:void 0!==o&&o,isBreak:void 0!==r&&r,isActive:void 0!==s&&s});if(!1===p)return;Number.isInteger(p)&&(d=p)}void 0!==d&&l.handlePageChange(d)}),h(g(l),"handleBreakClick",function(e,t){var n=l.state.selected;l.handleClick(t,e,n<e?l.getForwardJump():l.getBackwardJump(),{isBreak:!0})}),h(g(l),"callCallback",function(e){void 0!==l.props.onPageChange&&"function"==typeof l.props.onPageChange&&l.props.onPageChange({selected:e})}),h(g(l),"callActiveCallback",function(e){void 0!==l.props.onPageActive&&"function"==typeof l.props.onPageActive&&l.props.onPageActive({selected:e})}),h(g(l),"getElementPageRel",function(e){var t=l.state.selected,n=l.props,a=n.nextPageRel,i=n.prevPageRel,o=n.selectedPageRel;return t-1===e?i:t===e?o:t+1===e?a:void 0}),h(g(l),"pagination",function(){var e=[],n=l.props,a=n.pageRangeDisplayed,i=n.pageCount,o=n.marginPagesDisplayed,r=n.breakLabel,s=n.breakClassName,u=n.breakLinkClassName,d=n.breakAriaLabels,p=l.state.selected;if(i<=a)for(var v=0;v<i;v++)e.push(l.getPageElement(v));else{var g=a/2,m=a-g;p>i-a/2?g=a-(m=i-p):p<a/2&&(m=a-(g=p));var h,f,b=function(e){return l.getPageElement(e)},_=[];for(h=0;h<i;h++){var x=h+1;if(x<=o)_.push({type:"page",index:h,display:b(h)});else if(x>i-o)_.push({type:"page",index:h,display:b(h)});else if(h>=p-g&&h<=p+(0===p&&a>1?m-1:m))_.push({type:"page",index:h,display:b(h)});else if(r&&_.length>0&&_[_.length-1].display!==f&&(a>0||o>0)){var y=h<p?d.backward:d.forward;f=t().createElement(c,{key:h,breakAriaLabel:y,breakLabel:r,breakClassName:s,breakLinkClassName:u,breakHandler:l.handleBreakClick.bind(null,h),getEventListener:l.getEventListener}),_.push({type:"break",index:h,display:f})}}_.forEach(function(t,l){var n=t;"break"===t.type&&_[l-1]&&"page"===_[l-1].type&&_[l+1]&&"page"===_[l+1].type&&_[l+1].index-_[l-1].index<=2&&(n={type:"page",index:t.index,display:b(t.index)}),e.push(n.display)})}return e}),void 0!==e.initialPage&&void 0!==e.forcePage&&console.warn("(react-paginate): Both initialPage (".concat(e.initialPage,") and forcePage (").concat(e.forcePage,") props are provided, which is discouraged.")+" Use exclusively forcePage prop for a controlled component.\nSee https://reactjs.org/docs/forms.html#controlled-components"),n=e.initialPage?e.initialPage:e.forcePage?e.forcePage:0,l.state={selected:n},l}return l=[{key:"componentDidMount",value:function(){var e=this.props,t=e.initialPage,l=e.disableInitialCallback,n=e.extraAriaContext,a=e.pageCount,i=e.forcePage;void 0===t||l||this.callCallback(t),n&&console.warn("DEPRECATED (react-paginate): The extraAriaContext prop is deprecated. You should now use the ariaLabelBuilder instead."),Number.isInteger(a)||console.warn("(react-paginate): The pageCount prop value provided is not an integer (".concat(a,"). Did you forget a Math.ceil()?")),void 0!==t&&t>a-1&&console.warn("(react-paginate): The initialPage prop provided is greater than the maximum page index from pageCount prop (".concat(t," > ").concat(a-1,").")),void 0!==i&&i>a-1&&console.warn("(react-paginate): The forcePage prop provided is greater than the maximum page index from pageCount prop (".concat(i," > ").concat(a-1,")."))}},{key:"componentDidUpdate",value:function(e){void 0!==this.props.forcePage&&this.props.forcePage!==e.forcePage&&(this.props.forcePage>this.props.pageCount-1&&console.warn("(react-paginate): The forcePage prop provided is greater than the maximum page index from pageCount prop (".concat(this.props.forcePage," > ").concat(this.props.pageCount-1,").")),this.setState({selected:this.props.forcePage}
1)),Number.isInteger(e.pageCount)&&!Number.isInteger(this.props.pageCount)&&console.warn("(react-paginate): The pageCount prop value provided is not an integer (".concat(this.props.pageCount,"). Did you forget a Math.ceil()?"))}},{key:"getForwardJump",value:function(){var e=this.state.selected,t=this.props,l=t.pageCount,n=e+t.pageRangeDisplayed;return n>=l?l-1:n}},{key:"getBackwardJump",value:function(){var e=this.state.selected-this.props.pageRangeDisplayed;return e<0?0:e}},{key:"getElementHref",value:function(e){var t=this.props,l=t.hrefBuilder,n=t.pageCount,a=t.hrefAllControls;if(l)return a||e>=0&&e<n?l(e+1,n,this.state.selected):void 0}},{key:"ariaLabelBuilder",value:function(e){var t=e===this.state.selected;if(this.props.ariaLabelBuilder&&e>=0&&e<this.props.pageCount){var l=this.props.ariaLabelBuilder(e+1,t);return this.props.extraAriaContext&&!t&&(l=l+" "+this.props.extraAriaContext),l}}},{key:"getPageElement",value:function(e){var l=this.state.selected,n=this.props,a=n.pageClassName,i=n.pageLinkClassName,o=n.activeClassName,s=n.activeLinkClassName,c=n.extraAriaContext,u=n.pageLabelBuilder;return t().createElement(r,{key:e,pageSelectedHandler:this.handlePageSelected.bind(null,e),selected:l===e,rel:this.getElementPageRel(e),pageClassName:a,pageLinkClassName:i,activeClassName:o,activeLinkClassName:s,extraAriaContext:c,href:this.getElementHref(e),ariaLabel:this.ariaLabelBuilder(e),page:e+1,pageLabelBuilder:u,getEventListener:this.getEventListener})}},{key:"render",value:function(){var e=this.props.renderOnZeroPageCount;if(0===this.props.pageCount&&void 0!==e)return e?e(this.props):e;var l=this.props,n=l.disabledClassName,a=l.disabledLinkClassName,i=l.pageCount,o=l.className,r=l.containerClassName,s=l.previousLabel,c=l.previousClassName,d=l.previousLinkClassName,v=l.previousAriaLabel,g=l.prevRel,m=l.nextLabel,h=l.nextClassName,f=l.nextLinkClassName,b=l.nextAriaLabel,_=l.nextRel,x=this.state.selected,y=0===x,C=x===i-1,L="".concat(u(c)).concat(y?" ".concat(u(n)):""),k="".concat(u(h)).concat(C?" ".concat(u(n)):""),N="".concat(u(d)).concat(y?" ".concat(u(a)):""),P="".concat(u(f)).concat(C?" ".concat(u(a)):"");return t().createElement("ul",{className:o||r,role:"navigation","aria-label":"Pagination"},t().createElement("li",{className:L},t().createElement("a",p({className:N,href:this.getElementHref(x-1),tabIndex:y?"-1":"0",role:"button",onKeyPress:this.handlePreviousPage,"aria-disabled":y?"true":"false","aria-label":v,rel:g},this.getEventListener(this.handlePreviousPage)),s)),this.pagination(),t().createElement("li",{className:k},t().createElement("a",p({className:P,href:this.getElementHref(x+1),tabIndex:C?"-1":"0",role:"button",onKeyPress:this.handleNextPage,"aria-disabled":C?"true":"false","aria-label":b,rel:_},this.getEventListener(this.handleNextPage)),m)))}}],function(e,t){for(var l=0;l<t.length;l++){var n=t[l];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(i.prototype,l),Object.defineProperty(i,"prototype",{writable:!1}),i}(e.Component);h(f,"propTypes",{pageCount:i().number.isRequired,pageRangeDisplayed:i().number,marginPagesDisplayed:i().number,previousLabel:i().node,previousAriaLabel:i().string,prevPageRel:i().string,prevRel:i().string,nextLabel:i().node,nextAriaLabel:i().string,nextPageRel:i().string,nextRel:i().string,breakLabel:i().oneOfType([i().string,i().node]),breakAriaLabels:i().shape({forward:i().string,backward:i().string}),hrefBuilder:i().func,hrefAllControls:i().bool,onPageChange:i().func,onPageActive:i().func,onClick:i().func,initialPage:i().number,forcePage:i().number,disableInitialCallback:i().bool,containerClassName:i().string,className:i().string,pageClassName:i().string,pageLinkClassName:i().string,pageLabelBuilder:i().func,activeClassName:i().string,activeLinkClassName:i().string,previousClassName:i().string,nextClassName:i().string,previousLinkClassName:i().string,nextLinkClassName:i().string,disabledClassName:i().string,disabledLinkClassName:i().string,breakClassName:i().string,breakLinkClassName:i().string,extraAriaContext:i().string,ariaLabelBuilder:i().func,eventListener:i().string,renderOnZeroPageCount:i().func,selectedPageRel:i().string}),h(f,"defaultProps",{pageRangeDisplayed:2,marginPagesDisplayed:3,activeClassName:"selected",previousLabel:"Previous",previousClassName:"previous",previousAriaLabel:"Previous page",prevPageRel:"prev",prevRel:"prev",nextLabel:"Next",nextClassName:"next",nextAriaLabel:"Next page",nextPageRel:"next",nextRel:"next",breakLabel:"...",breakAriaLabels:{forward:"Jump forward",backward:"Jump backward"},disabledClassName:"disabled",disableInitialCallback:!1,pageLabelBuilder:function(e){return e},eventListener:"onClick",renderOnZeroPageCount:void 0,selectedPageRel:"canonical",hrefAllControls:!1});let b=f})(),a})(),e.exports=n(l(132))},3657:function(e,t,l){"use strict";l.d(t,{Z:function(){return N}});var n=l(5311),a=l(132),i=l(5042),o=l(9333),r=l(7271);function s(e){let{className:t=""}=e;return(0,n.jsx)("svg",{width:"738",height:"63",viewBox:"0 0 738 63",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:t,children:(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M738 0L0 53.3551V63H738V0Z",fill:"white"})})}var c=l(6764),u=l.n(c),d=l(6174),p=l(6381),v=l.n(p),g=l(4034),m=l.n(g),h=l(5762),f=l(4702),b=l(1689),_=l(4787);let x={sm:"(max-width: 1023px) 213px, min(50vw, 420px)",lg:"(max-width: 1023px) 270px, min(50vw, 720px)"},y={sm:70,lg:78},C={sm:{width:213,height:191},lg:{width:270,height:242}};function L(e){let{alt:t,variant:l,thumbnail:a,lazyImage:o}=e,{ref:r,inView:c}=(0,b.YD)({triggerOnce:!0,rootMargin:o?"0px 24px 0px 0px":"200px 0px",threshold:o?.15:0,skip:!o}),u=(0,i.Z)(),d=!o&&!["sm","md"].includes(u),p=C[l],v=x[l],g=!o||c;return(0,n.jsxs)("figure",{ref:o?r:void 0,children:[g&&(null==a?void 0:a.filename)&&d?(0,n.jsx)(m(),{src:a.filename,alt:t,fill:!0,sizes:v,quality:y[l],className:"absolute inset-0 h-full w-full object-cover",loading:"lazy"}):g&&(null==a?void 0:a.filename)?(0,n.jsx)("img",{src:(0,_.Yd)(a.filename,l),alt:t,width:p.width,height:p.height,className:"absolute inset-0 h-full w-full object-cover",loading:"lazy",decoding:"async"}):g?(0,n.jsx)(m(),{src:"/images/blogItem.png",alt:t,fill:!0,sizes:v,quality:65,loading:"lazy"}):(0,n.jsx)("div",{className:"absolute inset-0 bg-[var(--border)]","aria-hidden":"true"}),(0,n.jsx)(s,{className:"deco"})]})}function k(e){var t,l,a;let{title:i,short_title:o,category:s,content:c,name:p,variant:g="sm",tag:m="div",thumbnail:b,color:_="d85935",_url:x="",lazyImage:y=!1}=e,{locale:C,defaultLocale:k}=(0,h.useRouter)();return(0,n.jsx)("div",{children:(0,n.jsxs)(v(),{href:x,className:"".concat(u().blogItem," ").concat(u()["blogItem__".concat(g)]),children:[(0,n.jsx)(L,{alt:o,variant:g,thumbnail:b,lazyImage:y}),(0,n.jsxs)("div",{className:u().blogItemContent,children:[(0,n.jsx)(r.Z,{tag:m,as:"h4",className:"blog-title font-extrabold",dangerouslySetInnerHTML:{__html:(0,d.Z)(o||i)}}
1),(0,n.jsx)(r.Z,{tag:"div",as:"captionH1",className:"font-bold uppercase category",style:{color:"".concat(null==s?void 0:null===(l=s.content)||void 0===l?void 0:null===(t=l.color)||void 0===t?void 0:t.value)},dangerouslySetInnerHTML:{__html:(0,d.Z)(null==s?void 0:null===(a=s.content)||void 0===a?void 0:a.title)}}),(0,n.jsx)(f.Z,{blok:c,className:"".concat(u().blogContent," line-clamp-").concat(e.clamp),as:"subtitleH3"})]})]})})}function N(e){let{data:t=[],variant:l="sm",tag:r="h3"}=e,s=(0,i.Z)();return(0,n.jsx)("div",{className:"".concat(u().blogItemWrap," ").concat(u()["blogItemWrap__".concat(l)]),children:["sm","md"].includes(s)?(0,n.jsx)(o.Z,{pagination:!1,navigation:!1,slidesPerView:"auto",spaceBetween:16,breakpoints:{768:{cssMode:!1}},cssMode:!0,data:t.map((e,t)=>({content:(0,a.createElement)(k,{tag:"h2",variant:l,lazyImage:!0,...e,key:"bs-".concat(e._id).concat(t)})}))}):t.map((e,t)=>(0,a.createElement)(k,{tag:"h2",variant:l,...e,key:"bws-".concat(e._id).concat(t)}))})}},9859:function(e,t,l){"use strict";l.r(t),l.d(t,{default:function(){return w}});var n=l(5311),a=l(132),i=l(5762),o=l(5724),r=l(8527),s=l(2396),c=l(5042),u=l(2023),d=l(3195),p=l(1763),v=l.n(p),g=l(3781),m=l.n(g),h=l(4849),f=l(5916),b=l(2988),_=l(7504),x=l(3657),y=l(1689);function C(e){let{children:t,minHeight:l=360}=e,{ref:a,inView:i}=(0,y.YD)({triggerOnce:!0,rootMargin:"120px 0px",threshold:0});return(0,n.jsx)("div",{ref:a,children:i?t:(0,n.jsx)("div",{style:{minHeight:l},"aria-hidden":"true"})})}var L=l(4111),k=l(8467),N=l(1263),P=l(6455),j=l(1578);function w(e){var t,l,p,g,y;let{blok:w,blogPosts:I,story:E,lcpImagePreload:S}=e,{t:A}=(0,o.Z)("blog"),{push:T,locale:O,query:R}=(0,i.useRouter)(),[Z,B]=(0,a.useState)(I),[D,H]=(0,a.useState)(""),[M,F]=(0,a.useState)("");(0,a.useEffect)(()=>{(0,j.K1)()&&(async()=>{try{let e=(0,h.bS)(),t={version:(0,j.qU)()?"published":"draft",language:O,content_type:"single_blog",per_page:100,page:1,resolve_relations:"single_blog.category,single_blog.city"},{data:l}=await e.get("cdn/stories",t);(null==l?void 0:l.stories)&&B(l.stories)}catch(e){}})()},[O]);let q=(Z||[]).filter(e=>{var t,l,n;return!(null==e?void 0:null===(t=e.content)||void 0===t?void 0:t.exclude_lang)||!(null==e?void 0:null===(n=e.content)||void 0===n?void 0:null===(l=n.exclude_lang)||void 0===l?void 0:l.includes(O))}),W=(null==w?void 0:null===(t=w.seo)||void 0===t?void 0:t.title)?null==w?void 0:null===(l=w.seo)||void 0===l?void 0:l.title:(null==w?void 0:null===(p=w.hero[0])||void 0===p?void 0:p.title)?null==w?void 0:null===(g=w.hero[0])||void 0===g?void 0:g.title.replace(/\n/g,""):"Blog",G={ALL_CITIES:String(A("Toutes les villes")),ALL_CATEGORIES:String(A("Toutes les cat\xe9gories"))},z=(0,a.useMemo)(()=>(0,_.yp)(q,"city"),[q]),U=(0,a.useMemo)(()=>(0,_.yp)(q,"category"),[q]),V=(0,r.usePathname)(),Y=[{title:null==w?void 0:w.title,link:V,id:""+V}];(0,k.Z)(Y),(0,u.Z)();let J=(0,c.Z)(),K=Number(null==R?void 0:null===(y=R.slug)||void 0===y?void 0:y[2])||1,X=e=>{let t=e.filter((e,t)=>t<2);return[t,e.filter((e,t)=>t>=2&&t<6),e.filter((e,t)=>t>=6&&t<8),e.filter((e,t)=>t>=8)]},Q=["sm","md"].includes(J),$=(0,a.useMemo)(()=>[{label:Q?A("Les villes"):G.ALL_CITIES,value:G.ALL_CITIES},...z],[z,Q,G.ALL_CITIES,A]),ee=(0,a.useMemo)(()=>[{label:Q?A("Les cat\xe9gories"):G.ALL_CATEGORIES,value:G.ALL_CATEGORIES},...U],[U,Q,G.ALL_CATEGORIES,A]),et=(e,t,l)=>t&&""!==t&&("city"!==e||t!==G.ALL_CITIES)&&("category"!==e||t!==G.ALL_CATEGORIES)?"city"===e?l.filter(e=>{var l,n,a,i;return(null==e?void 0:null===(i=e.content)||void 0===i?void 0:null===(a=i.city)||void 0===a?void 0:null===(n=a[0])||void 0===n?void 0:null===(l=n.content)||void 0===l?void 0:l.title)===t}):l.filter(e=>{var l,n,a,i;return(null==e?void 0:null===(i=e.content)||void 0===i?void 0:null===(a=i.category)||void 0===a?void 0:null===(n=a[0])||void 0===n?void 0:null===(l=n.content)||void 0===l?void 0:l.title)===t}):l,el=(0,a.useMemo)(()=>{let e=q;return D&&D!==G.ALL_CITIES&&(e=et("city",D,e)),M&&M!==G.ALL_CATEGORIES&&(e=et("category",M,e)),e},[q,D,M,G.ALL_CITIES,G.ALL_CATEGORIES]),en=(e=>{let t=(K-1)*12;return X(e.slice(t,t+12))})(el),ea=e=>{F(e.value)};return(0,a.useEffect)(()=>{let{category:e}=window;e&&ea({label:e,value:e}),window.scrollTo(0,0),window.document&&(0,d.Z)(W,V)},[]),(0,a.useEffect)(()=>{1===Math.ceil(el.length/12)&&T({pathname:"/".concat(null==E?void 0:E.full_slug)})},[T,null==E?void 0:E.full_slug]),(0,n.jsxs)("main",{...(0,h.LF)(w),children:[(0,n.jsx)(P.Z,{story:w}),(0,n.jsx)(N.Z,{data:Y,isForHead:!0}),(0,n.jsx)(f.Z,{blok:null==w?void 0:w.hero[0],isBottom:!0,lcpImageUrl:S,children:(0,n.jsx)(b.default,{className:"deco"})}),(0,n.jsx)("section",{className:m().filter,children:(0,n.jsxs)("div",{className:"container flex md:block !w-full md:!w-inherit px-4",children:[Q&&$.length>0&&$.find(e=>e.value!==G.ALL_CITIES)?(0,n.jsxs)("div",{className:"".concat(m().filterDropdown," w-full"),children:[(0,n.jsx)("label",{htmlFor:"blog-filter-city",className:"sr-only",children:A("Les villes")}),(0,n.jsx)("select",{id:"blog-filter-city",className:m().nativeFilterSelect,value:D||G.ALL_CITIES,onChange:e=>{H(e.target.value)},children:$.map(e=>(0,n.jsx)("option",{value:e.value,children:e.label},String(e.value)))})]}):$.length>0&&$.find(e=>e.value!==G.ALL_CITIES)?(0,n.jsx)(s.Z,{label:G.ALL_CITIES,dropDownClassName:m().filterDropdown,options:[{label:G.ALL_CITIES,value:G.ALL_CITIES},...z],value:D,onChange:e=>{H(e.value)},customSelectedClassName:D==G.ALL_CITIES?"whitespace-nowrap md:whitespace-normal min-w-40":"min-w-40"}):null,Q?(0,n.jsxs)("div",{className:"".concat(m().filterDropdown," w-full"),children:[(0,n.jsx)("label",{htmlFor:"blog-filter-category",className:"sr-only",children:A("Les cat\xe9gories")}),(0,n.jsx)("select",{id:"blog-filter-category",className:"".concat(m().nativeFilterSelect," min-w-44 max-w-fit"),value:M||G.ALL_CATEGORIES,onChange:e=>{F(e.target.value)},children:ee.map(e=>(0,n.jsx)("option",{value:e.value,children:e.label},String(e.value)))})]}):(0,n.jsx)(s.Z,{label:G.ALL_CATEGORIES,dropDownClassName:m().filterDropdown,options:[{label:G.ALL_CATEGORIES,value:G.ALL_CATEGORIES},...U],value:M,customSelectedClassName:"min-w-44",onChange:ea})]})}),en.map((e,t)=>e&&e.length?(0,n.jsx)("div",{className:"".concat(m().blogSection," ").concat((t+1)%2==0?m().small:m().big," ").concat(t===en.length-1?m().last:""),children:(0,n.jsx)("div",{className:"container",children:(0,n.jsx)(C,{minHeight:0===t?320:360,children:(0,n.jsx)(x.Z,{data:e.map(e=>{var l,n,a,i,o,r,s;return{id:e.uuid,title:null==e?void 0:null===(l=e.content)||void 0===l?void 0:l.title,short_title:null==e?void 0:null===(n=e.content)||void 0===n?void 0:n.short_title,category:null==e?void 0:null===(i=e.content)||void 0===i?void 0:null===(a=i.category)||void 0===a?void 0:a[0],content:(null==e?void 0:null===(o=e.content)||void 0===o?void 0:o.introduction)||(null==e?void 0:null===(r=e.content)||void 0===r?void 0:r.body),clamp:(t+1)%2==0?3:4,name:null==e?void 0:e.name,thumbnail:null==e?void 0:null===(s=e.content)||void 0===s?void 0:s.thumbnail,_url:null==e?void 0:e.full_slug,translated_slugs:null==e?void 0:e.translate_slugs}}),variant:(t+1)%2==0?"sm":"lg",tag:"div"})})})},"blog-".concat(t)):(0,n.jsx)(n.Fragment,{})),el.length>12&&(0,n.jsx)("section",{className:m().pagination,children:(0,n.jsx)("div",{className:"container",children:(0,n.jsx)(v(),{pageCount:Math.ceil(el.length/12),className:"pagination",forcePage:K-1,onPageChange:e=>{let{selected:t}=e;0===t?T("/".concat(null==E?void 0:E.full_slug)):T("/".concat(null==E?void 0:E.full_slug,"page/").concat(t+1,"/"))},hrefBuilder:e=>1===e?"/".concat(null==E?void 0:E.full_slug):"/".concat(null==E?void 0:E.full_slug,"page/").concat(e,"/")})})}),(0,n.jsx)("div",{className:"pt-0 md:pt-48",children:(0,n.jsx)(L.default,{blok:{component:w,items_push:null==w?void 0:w.blocks_push,_uid:null==w?void 0:w._uid},className:m().push})})]})}},4111:function(e,t,l){"use strict";l.r(t),l.d(t,{default:function(){return E}});var n=l(5311),a=l(132),i=l(7190),o=l(5724),r=l(4497),s=l(7271),c=l(2140),u=l.n(c),d=l(5762),p=l(4702),v=l(4849),g=l(3129),m=l(4034),h=l.n(m);function f(e){var t,l,a,i,c,m,f,b,_,x;let{blok:y,type:C="Experience"}=e,{t:L}=(0,o.Z)("common"),k=(0,d.useRouter)(),N=null==y?void 0:y.content;return(0,n.jsx)("div",{onClick:()=>{var e,t;k.push((0,g.m)(null==N?void 0:null===(t=N.link)||void 0===t?void 0:null===(e=t[0])||void 0===e?void 0:e.link))},...(0,v.LF)(y),children:(0,n.jsxs)("div",{className:"".concat(u().cardIllus," ").concat(u()["card".concat(C)]),style:{"--bg":"".concat(null==N?void 0:null===(t=N.background_color)||void 0===t?void 0:t.value)},children:[(null==N?void 0:N.illustration)&&(null==N?void 0:N.illustration.filename)&&(0,n.jsx)("div",{className:u().cardIllus__img,children:(0,n.jsx)(h(),{src:null==N?void 0:N.illustration.filename,alt:null!==(x=null==N?void 0:null===(l=N.illustration)||void 0===l?void 0:l.alt)&&void 0!==x?x:null==N?void 0:N.title,loading:"lazy",width:163,height:163,sizes:"(max-width: 768px) 163px, (max-width: 1024px) 163px, 163px",quality:65})}),(0,n.jsxs)("div",{className:"".concat(u().cardIllus__desc," ").concat((null==N?void 0:N.illustration)?"":"pl-7 lg:pl-14"),children:[(0,n.jsx)(s.Z,{tag:"p",as:"h3",className:"".concat(u().pushTitle," digital-title"),style:{color:"".concat(null==N?void 0:null===(a=N.title_color)||void 0===a?void 0:a.value)},children:null==N?void 0:N.title}),(0,n.jsx)(p.Z,{blok:null==N?void 0:N.subtitle,as:"bodyH1",className:u().blogContent}),(null==N?void 0:null===(i=N.link)||void 0===i?void 0:i[0])&&(0,n.jsx)(r.Z,{href:(0,g.m)(null==N?void 0:null===(m=N.link)||void 0===m?void 0:null===(c=m[0])||void 0===c?void 0:c.link),label:null==N?void 0:null===(b=N.link)||void 0===b?void 0:null===(f=b[0])||void 0===f?void 0:f.label,hover:"#".concat(null==N?void 0:null===(_=N.title_color)||void 0===_?void 0:_.value),btnType:"dark"})]})]})})}var b=l(7200),_=l.n(b),x=l(1689),y=l(6174),C=l(1297),L=l(7032),k=l(4474),N=l.n(k),P=l(2907),j=l(6381),w=l.n(j),I=a.forwardRef((e,t)=>
1{var l,a,i,o,r,c,u,d,m,h,f,b,_,x,k,j,I;let{blok:E,bg:S="F7EBD7",titleColor:A="d85935",className:T="",blockClassName:O=""}=e,R=null==E?void 0:null===(o=E.link)||void 0===o?void 0:null===(i=o[0])||void 0===i?void 0:null===(a=i.link)||void 0===a?void 0:null===(l=a.cached_url)||void 0===l?void 0:l.match(/\/popins\//),Z=null==E?void 0:null===(c=E.link_event)||void 0===c?void 0:null===(r=c[0])||void 0===r?void 0:r.label;return R||w(),(0,n.jsx)("section",{ref:t,id:E.component,className:"push-simple ".concat(T),...(0,v.LF)(E),children:(0,n.jsx)("div",{id:null==E?void 0:E._uid,className:"\n ".concat(N().pushSimple," \n block \n ").concat(O," \n "),children:(0,n.jsxs)("div",{className:"".concat(N().pushSimple__content," pushSimple-content"),children:[(0,n.jsx)(s.Z,{tag:"p",as:"h3",className:"".concat(N().pushSimpleTitle," pushSimple-title"),style:{color:"#".concat(A)},dangerouslySetInnerHTML:{__html:(0,y.Z)(null==E?void 0:E.title)}}),(null==E?void 0:E.subtitle)&&(0,n.jsx)(p.Z,{blok:null==E?void 0:E.subtitle,as:"bodyH1",className:"c-bleu-fonce"}),(null==E?void 0:null===(u=E.list_item)||void 0===u?void 0:u.length)>0&&(0,n.jsx)("ul",{className:"mt-12 mb-9",children:null==E?void 0:null===(d=E.list_item)||void 0===d?void 0:d.map((e,t)=>(0,n.jsxs)("li",{className:"flex gap-x-2.5 mb-2",children:[(0,n.jsx)("span",{className:N().bullet,children:(0,n.jsx)(L.Z,{})}),(0,n.jsx)("span",{dangerouslySetInnerHTML:{__html:(0,y.Z)(e)}})]},"sml-".concat(t)))}),(null===(h=E.link)||void 0===h?void 0:null===(m=h[0])||void 0===m?void 0:m.link)&&(0,n.jsx)(C.Z,{tag:"link",href:(0,g.m)(null===(b=E.link)||void 0===b?void 0:null===(f=b[0])||void 0===f?void 0:f.link),btnType:"light",className:"mr-8 mt-2",tracking:()=>{Z&&(0,P.Z)(Z)},...null===(x=E.link)||void 0===x?void 0:null===(_=x[0])||void 0===_?void 0:_.link,children:null===(I=E.link)||void 0===I?void 0:null===(j=I[0])||void 0===j?void 0:null===(k=j.link)||void 0===k?void 0:k.label})]})})})});function E(e){let{blok:t,className:l="",inListing:a,position:o,isHaveContactBlock:r}=e,{ref:s,inView:c}=(0,x.YD)({triggerOnce:!0,rootMargin:"-200px 0px"});if(!(null==t?void 0:t.items_push)||(null==t?void 0:t.disabled))return null;let u=t.items_push,d=u.map((e,t)=>({item:e,content:function(e){if(!e||"string"==typeof e||"object"!=typeof e)return null;let t=e.content;return t&&"object"==typeof t?t:null}(e),index:t})).filter(e=>e.content);if(0===d.length)return null;if(u.length<2){let{item:e,content:t}=d[0];return"simple"===t.push_style?(0,n.jsx)(I,{ref:s,className:"single-push animate ".concat(c?"in-view":""),blok:t,titleColor:null==e?void 0:e.titleColor}):(0,n.jsx)(i.default,{ref:s,className:"single-push animate ".concat(c?"in-view":""),blok:t,linkedResidences:null,isHaveContactBlock:r})}return(0,n.jsx)("section",{id:t.component,ref:s,className:"double-push ".concat(_().push," ").concat(l," animate ").concat(c?"in-view":""),...(0,v.LF)(t),children:(0,n.jsx)("div",{id:null==t?void 0:t._uid,className:"".concat(a?"":"container"," lg:grid grid-cols-2 gap-4"),children:d.map(e=>{var t,l;let{item:a,content:i,index:o}=e;return"simple"===i.push_style?(0,n.jsx)(I,{ref:s,className:"single-push animate ".concat(c?"in-view":""),blok:i,titleColor:null==a?void 0:a.titleColor},"".concat(null!==(t=null==a?void 0:a._uid)&&void 0!==t?t:o,"-").concat(o)):(0,n.jsx)(f,{blok:a},"".concat(null!==(l=null==a?void 0:a._uid)&&void 0!==l?l:o,"-").concat(o))})})})}},2023:function(e,t,l){"use strict";function n(){return function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;return e?e.length<=t?e:"".concat(e.slice(0,t),"..."):""}}l.d(t,{Z:function(){return n}}),l(132)},3195:function(e,t,l){"use strict";function n(e,t){window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"virtual_page",title:e,path:t})}l.d(t,{Z:function(){return n}})},7504:function(e,t,l){"use strict";l.d(t,{ZP:function(){return a},yp:function(){return n}});let n=(e,t)=>e.reduce((e,l)=>{var n,a,i,o,r,s,c,u,d,p;return(null==l?void 0:null===(a=l.content)||void 0===a?void 0:null===(n=a[t])||void 0===n?void 0:n[0])&&!e.includes(null==l?void 0:null===(s=l.content)||void 0===s?void 0:null===(r=s[t])||void 0===r?void 0:null===(o=r[0])||void 0===o?void 0:null===(i=o.content)||void 0===i?void 0:i.title)&&(e=[...e,null==l?void 0:null===(p=l.content)||void 0===p?void 0:null===(d=p[t])||void 0===d?void 0:null===(u=d[0])||void 0===u?void 0:null===(c=u.content)||void 0===c?void 0:c.title]),e},[]).map(e=>({label:e,value:e}));function a(e){return e?e.replace(/\n/gim,"<br/>"):e}},2140:function(e){e.exports={cardIllus:"digital_cardIllus___TGn6",cardIllus__img:"digital_cardIllus__img__WJP8K",cardIllus__desc:"digital_cardIllus__desc__eNrqB",pushTitle:"digital_pushTitle__grkGN"}},4474:function(e){e.exports={pushSimple:"pushSimple_pushSimple__o4nj1",pushSimple__content:"pushSimple_pushSimple__content__MHrFd",link:"pushSimple_link__Wc_dU",pushSimpleTitle:"pushSimple_pushSimpleTitle__vHFCz",bullet:"pushSimple_bullet__Uj8ma"}},6764:function(e){e.exports={blogItemWrap:"blogItem_blogItemWrap__PvgXD",blogItemWrap__sm:"blogItem_blogItemWrap__sm__wiL1B",blogContent:"blogItem_blogContent__qAHqB",blogItemWrap__lg:"blogItem_blogItemWrap__lg__Wmv3b",blogItem__sm:"blogItem_blogItem__sm__eXEjP",blogItem:"blogItem_blogItem__7aDh1",blogItem__lg:"blogItem_blogItem__lg__dbBBL",blogItemContent:"blogItem_blogItemContent__SnAui"}},3781:function(e){e.exports={big:"home-blog-page_big__v9DDS",small:"home-blog-page_small__Ooa2V",last:"home-blog-page_last__mhIYo",push:"home-blog-page_push__0zZdh",filter:"home-blog-page_filter__VCUEe",filterDropdown:"home-blog-page_filterDropdown__Cjz7N",nativeFilterSelect:"home-blog-page_nativeFilterSelect__Norrj",blogSection:"home-blog-page_blogSection__FtVBg",pagination:"home-blog-page_pagination___qZYR"}},7200:function(e){e.exports={push:"push_push__t9aUc"}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.