1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[330,3733,4687,8015,6963],{881:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/[...slug]",function(){return t(263)}])},3733:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return v}});var o=t(5311),i=t(132),l=t(1297),s=t(7271),a=t(1101),d=t.n(a),r=t(5042),c=t(7748),u=t(2907);function v(e){var n;let{data:t,hidden:a}=e,[v,m]=(0,i.useState)(!1),g=(null==t?void 0:t.hashtag)||"#colivingtogether",h=(null==t?void 0:t.title)||"On se follow",f=(null==t?void 0:t.instagramHandle)||"@hife.coliving",x=(null==t?void 0:t.instagramLinkButton)||[],_=(0,r.Z)(),{encode:p,decode:j}=(0,c.Z)(),b=()=>{(0,u.Z)("clic_reseaux_sociaux",{reseau:"Instagram",location:h}),window.open(j(w),"target")},w=x&&x[0]?(0,i.useMemo)(()=>{var e,n;return p((null===(n=x[0])||void 0===n?void 0:null===(e=n.link)||void 0===e?void 0:e.url)||"")},[]):"",k=()=>{window.innerHeight>=document.body.scrollHeight?m(!0):window.scrollY>10&&!v&&m(!0)};return(0,i.useEffect)(()=>(k(),window.addEventListener("scroll",k,{passive:!0}),()=>{window.removeEventListener("scroll",k),Array.from(document.querySelectorAll('script[src*="taggbox"]')).forEach(e=>e.remove()),m(!1)}),[]),(0,i.useEffect)(()=>{if(v&&!document.getElementById("tagbox")){let e=document.createElement("script");e.src="https://widget.taggbox.com/embed-lite.min.js",e.id="tagbox",e.async=!0,e.defer=!0,e.setAttribute("data-loading","lazy"),document.body.append(e)}},[v]),(0,o.jsx)("section",{className:"".concat(d().instagram," animate ").concat(v?"in-view":""),children:(0,o.jsxs)("div",{className:"container",children:[(0,o.jsxs)("div",{className:d().instagramTitle,children:[(0,o.jsx)("div",{className:"",children:(0,o.jsx)(s.Z,{tag:"h2",as:"h2",className:"uppercase instagram-title",children:h})}),!a&&!["md","sm"].includes(_)&&(0,o.jsx)("div",{className:d().instagramLink,children:(0,o.jsx)(l.Z,{btnType:"dark",className:"uppercase","data-o":w,onClick:b,children:h})})]}),(0,o.jsxs)("div",{className:d().instagramTitle,children:[(0,o.jsx)("div",{className:"",children:(0,o.jsx)(s.Z,{tag:"p","data-o":w,onClick:b,as:"h4",className:"c-typo-title font-bold cursor-pointer",children:g})}),(0,o.jsx)("div",{className:d().instagramLink,children:(0,o.jsx)(s.Z,{tag:"p",as:"h4",className:"c-typo-title font-bold cursor-pointer","data-o":w,onClick:b,children:f})})]}),(0,o.jsx)("div",{className:d().instagramPost,children:v&&(0,o.jsx)(o.Fragment,{children:(0,o.jsx)("div",{className:"taggbox",style:{width:"100%",height:"100%"},"data-widget-id":"122799","data-tags":"false"})})}),!a&&["md","sm"].includes(_)&&(0,o.jsx)("div",{className:d().instagramMobile,children:(0,o.jsx)(l.Z,{btnType:"dark","data-o":w,className:"uppercase",onClick:b,children:null===(n=x[0])||void 0===n?void 0:n.label})})]})})}},4687:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return u}});var o=t(5311),i=t(132),l=t(5762),s=t(5724),a=t(823),d=t.n(a),r=t(4702),c=t(5042);function u(e){var n;let{content:t}=e,[a,u]=(0,i.useState)(!1),{t:v}=(0,s.Z)("common"),m=(0,l.useRouter)(),g=(0,i.useRef)(null),h=(0,i.useRef)(null),f=(0,c.Z)();return(0,i.useLayoutEffect)(()=>{u(!1);let e=g.current,n=h.current;if(e&&n){if(n.classList.remove("is-overflow","is-hidden"),e.style.maxHeight="",e.offsetHeight,e.scrollHeight>e.clientHeight+10||e.scrollWidth>e.clientWidth){n.classList.add("is-overflow","is-hidden");let t=window.innerWidth<=768;e.style.maxHeight=t?"4rem":"2em"}else e.style.maxHeight="".concat(e.scrollHeight,"px")}},[m.asPath,t]),(0,o.jsx)("div",{children:(0,o.jsxs)("div",{ref:h,className:"container ".concat(d().serviceSeo),children:[(0,o.jsx)("div",{ref:g,className:d().jsReadMore,children:(0,o.jsx)(r.Z,{blok:t})}),(null==t?void 0:null===(n=t.content)||void 0===n?void 0:n.length)>2&&(0,o.jsx)("button",{className:d().jsReadMoreToggle,onClick:()=>{if(h.current&&g.current){if(h.current.classList.contains("is-hidden"))g.current.style.maxHeight=g.current.scrollHeight+"px";else{let e=["sm"].includes(f);g.current.style.maxHeight=e?"4rem":"2em"}h.current.classList.toggle("is-hidden"),u(e=>!e)}},children:v(a?"common:Voir moins":"common:Voir plus")})]})})}},7748:function(e,n,t){"use strict";function o(){let e=e=>btoa(unescape(encodeURIComponent(e))),n=e=>decodeURIComponent(escape(window.atob(e)));return{navigate:t=>{window.open(n(e(t)))},encode:e,decode:n}}t.d(n,{Z:function(){return o}}),t(132)},263:function(e,n,t){"use strict";t.r(n),t.d(n,{__N_SSG:function(){return b},default:function(){return w}});
1var o=t(5311),i=t(3481),l=t(4687),s=t(3733),a=t(8527),d=t(1263),r=t(7990),c=t(2159),u=t(132),v=t(5762),m=t(4849),g=t(1081),h=t(4998),f=t(2339),x=t(6227),_=t(1578),p=t(3839),j=t(9699);(0,g.Z)();var b=!0;function w(e){var n,t,g,b;let{story:w,parentKey:k,settings:y,locales:N,locale:T,defaultLocale:E,popins:L,slug:S,prevUrl:Z,nextUrl:C,jsonLdSchema:H,alternateLocaleBlogLinksCount:R,...M}=e,B=(null==w?void 0:null===(n=w.content)||void 0===n?void 0:n.component)==="single_residence",{inView:I}=(0,f.Z)({deferAutoTrigger:B}),[P,F]=(0,u.useState)(!1),[O,q]=(0,u.useState)(!1);(0,u.useEffect)(()=>{F((0,_.p8)())},[]),(0,u.useEffect)(()=>{let e;if(!B||!I){q(!1);return}let n=!1,t=()=>{n||q(!0)},o=()=>{"undefined"!=typeof requestIdleCallback?e=requestIdleCallback(t,{timeout:7e3}):e=setTimeout(t,7e3)};return"complete"===document.readyState?o():window.addEventListener("load",o,{once:!0}),()=>{n=!0,window.removeEventListener("load",o),void 0!==e&&"undefined"!=typeof cancelIdleCallback&&"number"==typeof e?cancelIdleCallback(e):void 0!==e&&clearTimeout(e)}},[B,I]);let U=(null==w?void 0:null===(t=w.content)||void 0===t?void 0:t.component)==="hub_residences",A=P||(B?O:!U&&I),G=(0,r.CG)(c.Ms),{push:V}=(0,v.useRouter)();if(!(null==w?void 0:w.content))return(0,a.notFound)();(0,u.useEffect)(()=>{var e,n,t;(null==w?void 0:null===(e=w.content)||void 0===e?void 0:e.exclude_lang)&&(null==w?void 0:null===(t=w.content)||void 0===t?void 0:null===(n=t.exclude_lang)||void 0===n?void 0:n.includes(T))&&V("/",void 0,{shallow:!0})},[null==w?void 0:null===(g=w.content)||void 0===g?void 0:g.exclude_lang,T,V]);let W=(0,v.useRouter)(),X=!0;if((null==w?void 0:null===(b=w.content)||void 0===b?void 0:b.component)==="home_blog"){let{asPath:e}=W,n=e.match(/\/page\/(\d+)/);X=1===(n?parseInt(n[1],10):1)}return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(h.m0,{story:w,slug:S||"",locale:T,params:(0,p.nB)(T,(0,_.qU)()),load:A,children:(0,o.jsx)("div",{className:"js-wrapper",children:(0,o.jsx)(x.Z,{children:e=>{var n,t,a,r,c,u,v,g,h,f,x,_,p,j,b,w,k,S,H,P,F,O,q;return(0,o.jsx)(o.Fragment,{children:(0,o.jsxs)(i.Z,{story:e,settings:y,locales:N,locale:T,defaultLocale:E,popins:L,prevUrl:Z||void 0,nextUrl:C||void 0,alternateLocaleBlogLinksCount:R||0,fallBackTitle:(null==e?void 0:null===(n=e.content)||void 0===n?void 0:n.hero)&&(null==e?void 0:null===(a=e.content)||void 0===a?void 0:null===(t=a.hero[0])||void 0===t?void 0:t.title)||(null==e?void 0:null===(r=e.content)||void 0===r?void 0:r.title),fallBackDescription:(null==e?void 0:null===(u=e.content)||void 0===u?void 0:null===(c=u.intro)||void 0===c?void 0:c.content)&&(null==e?void 0:null===(f=e.content)||void 0===f?void 0:null===(h=f.intro)||void 0===h?void 0:null===(g=h.content[0])||void 0===g?void 0:null===(v=g.content[0])||void 0===v?void 0:v.text)||(null==e?void 0:null===(x=e.content)||void 0===x?void 0:x.intro)&&(null==e?void 0:null===(p=e.content)||void 0===p?void 0:null===(_=p.intro[0])||void 0===_?void 0:_.quote)||"",children:[(0,o.jsx)(m.Xj,{story:e,blok:e.content,showBelowFold:!B||I,...M}),X&&(null==e?void 0:null===(j=e.content)||void 0===j?void 0:j.bottom_seo_text)&&(null==e?void 0:null===(b=e.content)||void 0===b?void 0:b.bottom_seo_text)&&(0,o.jsx)("div",{className:"container bg-white",children:(0,o.jsx)(l.default,{content:null==e?void 0:null===(w=e.content)||void 0===w?void 0:w.bottom_seo_text},W.asPath)}),!(null==e?void 0:null===(k=e.content)||void 0===k?void 0:k.hide_instagram)&&((null==e?void 0:null===(S=e.content)||void 0===S?void 0:S.component)!=="hub_residences"&&(null==e?void 0:null===(H=e.content)||void 0===H?void 0:H.component)!=="home_blog"||A)&&(0,o.jsx)(s.default,{data:{hashtag:null==y?void 0:null===(P=y.content)||void 0===P?void 0:P.hashtag,title:null==y?void 0:null===(F=y.content)||void 0===F?void 0:F.title,instagramHandle:null==y?void 0:null===(O=y.content)||void 0===O?void 0:O.instagram_handle,instagramLinkButton:null==y?void 0:null===(q=y.content)||void 0===q?void 0:q.instagram_cta}}),G.length>0&&(0,o.jsx)(d.Z,{data:G})]})})}})})}),(0,o.jsx)(j.Z,{schema:H})]})}},1101:function(e){e.exports={instagram:"instagram_instagram__bZ_lf",instagramTitle:"instagram_instagramTitle__x3sjm",instagramLink:"instagram_instagramLink__evG3R",instagramPost:"instagram_instagramPost__nwTYL",instagramMobile:"instagram_instagramMobile__pOFrS"}},823:function(e){e.exports={serviceSeo:"blockSeoText_serviceSeo__QYEh0","is-overflow":"blockSeoText_is-overflow__eSVgy",jsReadMoreToggle:"blockSeoText_jsReadMoreToggle__7fShx","is-hidden":"blockSeoText_is-hidden__6o7yJ",jsReadMore:"blockSeoText_jsReadMore__OB2O1"}}},function(e){e.O(0,[4885,4869,6830,2888,9774,179],function(){return e(e.s=881)}),_N_E=e.O()}]);
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.