PageSourceSearch

https://hife-coliving.fr/_next/static/chunks/3570.c51c72b50cfd5cfd.js

js hife-coliving.fr collected 2026-10-07 19:28:40 UTC 15,852 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3570],{4497:function(e,n,t){"use strict";var i=t(5311);t(132);var l=t(3158),o=t.n(l),a=t(8943),s=t(6174),r=t(6381),c=t.n(r),d=t(7990),u=t(2113),v=t(5762);n.Z=e=>{let{btnType:n="primary",type:t,label:l,hover:r,style:p,tag:m="link",className:_="",href:g,inModal:h,modalParent:w,extraData:x,target:j,tracking:f,onClick:y,color:k,...N}=e,b=(0,d.TL)(),{locale:A}=(0,v.useRouter)(),S=h||g&&g.match(/\/?pop(p|)ins\//),C=null,H=g;if(g&&g.match(/\/accueil/i)&&(H="/"),S){var E,I,T;let e=null==g?void 0:null===(T=g.replace(new RegExp("^/".concat(A,"/")),""))||void 0===T?void 0:null===(I=T.replace(new RegExp("".concat(A,"/")),""))||void 0===I?void 0:null===(E=I.replace(/\/?pop(p|)ins\//,""))||void 0===E?void 0:E.replaceAll("/","");C=(0,a.j)(e)}let B=S?"button":"link"===m&&"EXTERNAL"===t?"a":"link"===m?c():m;return(0,i.jsx)(i.Fragment,{children:(0,i.jsxs)(B,{className:"k-link ".concat(o().link," ").concat(n&&o()[n]," ").concat(_),href:S?void 0:H,rel:"EXTERNAL"===t?"noopener noreferrer":void 0,onClick:y||(S?()=>{f&&f(),b((0,u.cf)({modalData:C,extraData:x}))}:()=>{f&&f()}),target:j&&""!==j?j:void 0,...N,style:{"--hover-color":r||"#142336",...p},children:[(0,i.jsxs)("svg",{width:"23",height:"23",className:o().iconLeft,viewBox:"0 0 23 23",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,i.jsx)("circle",{cx:"11.5",cy:"11.5",r:"11",fill:"currentColor",stroke:"currentColor"}),(0,i.jsx)("path",{className:"link-path",d:"M15 8L7 16",stroke:"white"}),(0,i.jsx)("path",{className:"link-path",d:"M9 7.5H15.5V14",stroke:"white"})]}),(0,i.jsx)("span",{dangerouslySetInnerHTML:{__html:(0,s.Z)(l)}}),(0,i.jsxs)("svg",{width:"23",height:"23",className:o().iconRight,viewBox:"0 0 23 23",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,i.jsx)("path",{d:"M15 8L7 16",stroke:"currentColor"}),(0,i.jsx)("path",{d:"M9 7.5H15.5V14",stroke:"currentColor"}),(0,i.jsx)("circle",{cx:"11.5",cy:"11.5",r:"11",stroke:"currentColor"})]})]})})}},5531:function(e,n,t){"use strict";var i=t(5311),l=t(132),o=t(3660),a=t(820);t(5416),t(9464),t(5643),t(7902);var s=t(2579),r=t(7242),c=t(8899);n.Z=l.forwardRef(function(e,n){let{children:t,className:l="",navigation:d=!0,pagination:u,data:v=[],slideClassName:p="",onInit:m,animatedTransition:_,changeOnSmallHeight:g,fromLanding:h,hideArrowNavMobile:w,moveArrowNavToTop:x,loop:j=!1,...f}=e;return(0,i.jsxs)(a.tq,{ref:n,onInit:e=>{m&&m(e)},className:"".concat(c.swiperSlide," ").concat(l," !pl-0 !left-0 !ml-0"),..._?{effect:"creative",creativeEffect:{prev:{translate:["-60%",0,-1]},next:{translate:["100%",0,0]}}}:{},modules:[o.W_,o.tl,o.oM,o.xW,o.pt,o.gI],preloadImages:!1,autoHeight:!0,lazy:{enabled:!0,checkInView:!0,loadPrevNext:!0},navigation:!!d&&{prevEl:".swiper-button-prev",nextEl:".swiper-button-next"},pagination:!!u&&{el:".swiper-pagination",clickable:!0},loop:j,...f,children:[v.map((e,n)=>(0,i.jsx)(a.o5,{className:"".concat(p," ").concat(e.slideClassName),children:e.content},"s-".concat(n))),u&&(0,i.jsx)("div",{className:"".concat(c.swiperPagination," swiper-pagination")}),d&&!w&&(0,i.jsxs)("div",{className:"".concat(c.swiperNav," ").concat(g?"".concat(c.swiperNavSmallHeight," swiper-nav-sh"):""," ").concat(h?"".concat(c.swiperNavSmallHeightLanding):""," swiper-nav ").concat(x?c.arrowNavTop:""),children:[(0,i.jsxs)("div",{className:"".concat(c.swiperButton," ").concat(c.swiperButtonPrev," swiper-button-prev cursor-pointer ").concat(j?"!opacity-100 !pointer-events-auto":""),children:[(0,i.jsx)(r.Z,{}),(0,i.jsx)(r.Z,{})]}),(0,i.jsxs)("div",{className:"".concat(c.swiperButton," ").concat(c.swiperButtonNext," swiper-button-next cursor-pointer ").concat(j?"!opacity-100 !pointer-events-auto":""),children:[(0,i.jsx)(s.Z,{}),(0,i.jsx)(s.Z,{})]})]})]})})},3570:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return A}});var i=t(5311),l=t(132),o=t(5042),a=t(7271),s=t(7163),r=t.n(s),c=t(5762),d=t(2907),u=t(5724),v=t(6174),p=t(4497),m=t(4849),_=t(4034),g=t.n(_),h={src:"/_next/static/media/avatar.21dde778.png",height:81,width:73,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAICAMAAAAC2hU0AAAAclBMVEXX4OeymHu6rqvA2ezLvsDP5PDW5+/QzMnJvrvPyMK1tbl8kpRfWGLHuKe71etqTU+NZV6lmZbA0OFjg23V4Ohuk2uImK+Wh4Zyh5HAmYjBvLzV6vV4fISyn6Tf7fOPiYtCSky4pJeohYxvW2FjdnmXnKYKDUrGAAAAGnRSTlP+/PXe9+7u9/Hv8PD+8O/+/v799+v39+X27nXJUg8AAAAJcEhZcwAACxMAAAsTAQCanBgAAABCSURBVHicBcEFAoAgEATARUkLO7gDzP9/0RlYW0hjHCpuYggS9elvfie0V/8MeYFLMYdvhaYR4B2KKEEIlJ3S87H9fPYD5ClQvkgAAAAASUVORK5CYII=",blurWidth:7,blurHeight:8},w=t(4702),x=t(3129),j=t(1689),f=t(4998);function y(e){var n,t,o,s,_,y,k,N,b,A,S;let{blok:C,residenceName:H,joinWidget:E}=e,{t:I}=(0,u.Z)("common"),T=(0,c.useRouter)(),{isLoading:B}=(0,f.u0)(),L="string"==typeof C&&B,{ref:R,inView:P}=(0,j.YD)({triggerOnce:!0,rootMargin:"100px 0px",threshold:.1}),M=L?null:null==C?void 0:null===(n=C.content)||void 0===n?void 0:n.link,Z=(0,l.useMemo)(()=>{var e,n,t,l,o,a;return!P||L?null:(null==C?void 0:null===(n=C.content)||void 0===n?void 0:null===(e=n.thumbnail)||void 0===e?void 0:e.filename)?(0,i.jsx)("div",{className:"image-wrapper",children:(0,i.jsx)(g(),{src:null==C?void 0:null===(l=C.content)||void 0===l?void 0:null===(t=l.thumbnail)||void 0===t?void 0:t.filename,width:77,height:85,alt:null==C?void 0:null===(o=C.content)||void 0===o?void 0:o.title,loading:"lazy"})}):(0,i.jsx)(g(),{src:h,alt:null==C?void 0:null===(a=C.content)||void 0===a?void 0:a.title,objectFit:"cover",loading:"eager",quality:65,height:85,width:77})},[P,L,C]);return(0,i.jsx)("div",{ref:R,className:"".concat(r().testimony," ").concat(P&&!L&&(null==C?void 0:C.content)?"":r(
1).skeleton),style:(!P||L)&&(null==C?void 0:C.content)?void 0:{"--avatar-bg":null==C?void 0:null===(o=C.content)||void 0===o?void 0:null===(t=o.frame_color)||void 0===t?void 0:t.value},id:L?void 0:null==C?void 0:C.component,...L?{}:(0,m.LF)(C),"data-test":P&&!L&&(null==C?void 0:C.content)?"persona_blok":"persona_skeleton",children:P&&!L&&(null==C?void 0:C.content)?(0,i.jsxs)(i.Fragment,{children:[E&&(null===(_=E.props)||void 0===_?void 0:null===(s=_.children)||void 0===s?void 0:s.length)>1&&(null===(y=E.props)||void 0===y?void 0:y.children[1])!=!1?(0,i.jsx)("div",{className:"mb-4",children:E}):(0,i.jsx)("div",{className:r().testimony__avatar,children:Z}),(0,i.jsxs)("div",{onClick:P&&!L?()=>{if(!L&&M&&M[0]&&M[0].link&&"-"!==M[0].link.cached_url){var e;(0,d.Z)("cta_type_colifer",{type:null==C?void 0:null===(e=C.content)||void 0===e?void 0:e.title,click_text:M&&M[0]?M[0].label:I("common:Je d\xe9couvre")}),T.push((0,x.m)(M[0].link))}}:void 0,className:r().testimony__content,children:[(0,i.jsx)(a.Z,{tag:"p",as:"h6",className:"".concat(r().personasHeadTitle," c-bleu-fonce"),dangerouslySetInnerHTML:{__html:(0,v.Z)(null==C?void 0:null===(k=C.content)||void 0===k?void 0:k.title)}}),(0,i.jsx)(w.Z,{as:"bodyH3",className:"c-grey",blok:null==C?void 0:null===(N=C.content)||void 0===N?void 0:N.subtitle}),(null==M?void 0:M[0])&&(null==M?void 0:null===(b=M[0])||void 0===b?void 0:b.link)&&(null==M?void 0:null===(S=M[0])||void 0===S?void 0:null===(A=S.link)||void 0===A?void 0:A.cached_url)&&(0,i.jsx)(p.Z,{href:(0,x.m)(M[0].link),label:"".concat(I(M[0].label))||"".concat(I("common:Je d\xe9couvre"))})]})]}):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{className:"".concat(r().testimony__avatar)}),(0,i.jsxs)("div",{className:r().testimony__content,style:{minHeight:"300px"},children:[(0,i.jsx)("div",{className:"h-4 w-3/4 mb-4 ".concat(r().animatePulse," ").concat(r().bgGray200," ").concat(r().rounded)}),(0,i.jsx)("div",{className:"h-3 w-full mb-2 ".concat(r().animatePulse," ").concat(r().bgGray200," ").concat(r().rounded)}),(0,i.jsx)("div",{className:"h-3 w-5/6 mb-4 ".concat(r().animatePulse," ").concat(r().bgGray200," ").concat(r().rounded)}),(0,i.jsx)("div",{className:"h-8 w-32 ".concat(r().animatePulse," ").concat(r().bgGray200," ").concat(r().rounded)})]})]})})}var k=t(5531);let N=e=>{let{widgetId:n,scriptSrc:t,alias:o}=e,a=(0,c.useRouter)();return(0,l.useEffect)(()=>{let e=document.getElementById("script-".concat(n));e&&e.remove();let i=document.getElementById(n);i&&(i.innerHTML="");let l=document.createElement("script");return l.id="script-".concat(n),l.src=t,l.setAttribute("data-join-widget-id",n),l.setAttribute("data-join-widget-alias",o),l.async=!0,document.body.appendChild(l),()=>{let e=document.getElementById("script-".concat(n));e&&e.remove();let t=document.getElementById(n);t&&(t.innerHTML="")}},[a.asPath,n,t,o]),(0,i.jsx)("div",{id:n,style:{display:"block"},className:"".concat(r().item_persona," flex justify-center ")})},b=e=>{let{widgetId:n,scriptSrc:t,alias:i,onReady:o}=e;return(0,l.useEffect)(()=>{let e,l,a,s=!1,r=()=>{if(s)return;let e=document.createElement("div");e.id=n,e.style.display="none",document.body.appendChild(e);let l=document.createElement("script");l.src=t,l.async=!0,l.setAttribute("data-join-widget-id",n),l.setAttribute("data-join-widget-alias",i);let r=!1,c=null,d=null,u=()=>{null!==c&&(window.clearInterval(c),c=null),null!==d&&(window.clearTimeout(d),d=null)},v=e=>{if(!r){r=!0;try{o(e)}catch(e){}u()}};l.onerror=()=>{v(!1)},document.body.appendChild(l),c=window.setInterval(()=>{let e=document.getElementById(n);if(!e)return;let t=!!e.shadowRoot&&e.shadowRoot.children.length>0,i=""!==(e.innerHTML||"").trim();(t||i)&&v(!0)},100),d=window.setTimeout(()=>{v(!1)},5e3),a=()=>{var n,t;u(),l.onerror=null;try{null===(n=l.parentNode)||void 0===n||n.removeChild(l)}catch(e){}try{null===(t=e.parentNode)||void 0===t||t.removeChild(e)}catch(e){}}},c=()=>{s||r()};return"undefined"!=typeof requestIdleCallback?e=requestIdleCallback(c,{timeout:5e3}):l=setTimeout(c,3e3),()=>{s=!0,void 0!==e&&"undefined"!=typeof cancelIdleCallback&&cancelIdleCallback(e),void 0!==l&&clearTimeout(l),null==a||a()}},[n,t,i,o]),null};function A(e){let{blok:n,data:t,className:s="",tag:c="h2",residence:d,isSingleResidence:u=!1,realIndex:p}=e,[_,g]=(0,l.useState)(!1),{ref:h,inView:x}=(0,j.YD)({triggerOnce:!0,rootMargin:"200px 0px",threshold:.1}),f=(0,o.Z)();if(null==n?void 0:n.disabled)return null;let[A,S]=(0,l.useState)({}),[C,H]=(0,l.useState)({}),E=(e,n)=>{S(n=>n[e]?n:{...n,[e]:!0}),H(t=>t[e]===n?t:{...t,[e]:n})},[I,T]=(0,l.useState)([]);(0,l.useEffect)(()=>{let e=!0;return async function(){var t,i,l,o,a,s;
1if(!x||!(null==n?void 0:n.items_persona)||(null==n?void 0:n.items_persona.length)>0&&!(null==n?void 0:null===(t=n.items_persona[0])||void 0===t?void 0:t.content)){e&&T([]);return}let r=(null==n?void 0:n.items_persona)||[],c=[];for(let e=0;e<r.length;e++){let n=r[e],t=(null==n?void 0:null===(i=n.content)||void 0===i?void 0:i.join_widget)&&(null==n?void 0:null===(l=n.content)||void 0===l?void 0:l.join_widget.length)>0&&(null==n?void 0:null===(o=n.content)||void 0===o?void 0:o.join_widget[0].widget_id)&&(null==n?void 0:null===(a=n.content)||void 0===a?void 0:a.join_widget[0].has_stories)?null==n?void 0:null===(s=n.content)||void 0===s?void 0:s.join_widget[0]:null;if(!t){c.push(n);continue}try{if(!(await fetch("/api/check-url?url=".concat(encodeURIComponent(t.source)))).ok)continue}catch(e){continue}c.push(n)}e&&T(c)}(),()=>{e=!1}},[null==n?void 0:n.items_persona,x]);let B=(0,l.useMemo)(()=>x?(I||[]).map((e,n)=>{let t=(null==e?void 0:e.content)||e,l=t.join_widget&&t.join_widget.length>0&&t.join_widget[0].widget_id&&t.join_widget[0].has_stories?t.join_widget[0]:null,o=!1,a=null;return l?(l&&(o=l,a=C),{content:(0,i.jsx)(y,{blok:e,residenceName:(null==d?void 0:d.shortName)||(null==d?void 0:d.name),joinWidget:(0,i.jsxs)(i.Fragment,{children:[!o&&(0,i.jsx)(b,{widgetId:"".concat(l.widget_id,"-loader"),scriptSrc:l.source,alias:l.widget_alias,onReady:e=>E(n,e)},"loader-".concat(n)),o&&l.widget_id&&a&&l.has_stories&&(0,i.jsx)(N,{widgetId:l.widget_id,scriptSrc:l.source,alias:l.widget_alias},"persona-join-".concat(n))]})},"c-".concat(n))}):null}).filter(Boolean):[],[x,I,d,A,C,E]),L=(0,l.useCallback)(()=>{g(!0)},[]),R=["sm","md"].includes(f);return(0,i.jsx)("section",{id:"".concat(null==n?void 0:n.component).concat(u?p:""),className:"".concat(r().personas," ").concat(s," ").concat(x?"in-view":""),...(0,m.LF)(n),ref:h,children:(0,i.jsxs)("div",{id:null==n?void 0:n._uid,className:"container ".concat(_?"":"init-slide"),children:[(0,i.jsxs)("div",{className:r().personasHead,children:[(0,i.jsx)(a.Z,{tag:c,as:"h3",className:"h2",dangerouslySetInnerHTML:{__html:(0,v.Z)((null==n?void 0:n.title)||"")}}),(null==n?void 0:n.subtitle)&&!R&&(0,i.jsx)(w.Z,{blok:null==n?void 0:n.subtitle,as:"subtitleH2",className:"subtitleH2"})]}),(0,i.jsx)("div",{className:R?"":"grid grid-cols-3 gap-4",children:R?(0,i.jsx)(k.Z,{navigation:!1,pagination:!0,onSlideChange:L,data:B,lazy:{enabled:!0,loadPrevNext:!0}}):0==I.length?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(y,{blok:"",residenceName:""}),(0,i.jsx)(y,{blok:"",residenceName:""}),(0,i.jsx)(y,{blok:"",residenceName:""})]}):I.map((e,n)=>{let t=(null==e?void 0:e.content)||e,l=t.join_widget&&t.join_widget.length>0&&t.join_widget[0].widget_id&&t.join_widget[0].has_stories?t.join_widget[0]:null,o=!1,a=null;return l?(l&&(o=l,a=C),(0,i.jsx)("div",{className:"flex justify-start ",children:(0,i.jsx)(y,{blok:e,residenceName:(null==d?void 0:d.shortName)||(null==d?void 0:d.name),joinWidget:(0,i.jsxs)(i.Fragment,{children:[!o&&(0,i.jsx)(b,{widgetId:"".concat(l.widget_id,"-loader"),scriptSrc:l.source,alias:l.widget_alias,onReady:e=>E(n,e)},"loader-".concat(n)),o&&l.widget_id&&a&&(0,i.jsx)(N,{widgetId:l.widget_id,scriptSrc:l.source,alias:l.widget_alias},"persona-join-".concat(n))]})},"c-".concat(n))},n)):(0,i.jsx)("div",{className:"flex justify-start ",children:(0,i.jsx)(y,{blok:e,residenceName:(null==d?void 0:d.shortName)||(null==d?void 0:d.name),joinWidget:null},"c-".concat(n))},n)})})]})})}},3129:function(e,n,t){"use strict";t.d(n,{m:function(){return i}});let i=e=>{var n;return(null==e?void 0:null===(n=e.story)||void 0===n?void 0:n.full_slug)?e.story.full_slug:(null==e?void 0:e.cached_url)||""}},6174:function(e,n,t){"use strict";function i(e){if(!e)return e;var n=e.replace(/(Hife)(\s)/gim,(e,n,t)=>n===n.toUpperCase()?'HI<em style="margin-right:4px">F</em>E'.concat(t):'Hi<em style="margin-right:2px">f</em>e'.concat(t));return(n=(n=n.replace(/(\s)(Hife)/gim,(e,n,t)=>t===t.toUpperCase()?"".concat(n,'HI<em style="margin-right:4px">F</em>E'):"".concat(n,'Hi<em style="margin-right:2px">f</em>e'))).replace(/\/accueil\//gim,"/")).replace(/\/home\//gim,"/")}t.d(n,{Z:function(){return i}})},3158:function(e){e.exports={link:"link_link__914CH",iconLeft:"link_iconLeft__MBe59",iconRight:"link_iconRight__lK
1DWW",primary:"link_primary__MYXn3",white:"link_white__4Q_gf",dark:"link_dark__S_LL4"}},8899:function(e){e.exports={swiperNav:"swiperSlider_swiperNav__Yj3hB",navigationOnTop:"swiperSlider_navigationOnTop__IeDTx",swiper:"swiperSlider_swiper__wXkKT",swiperNavSmallHeightLanding:"swiperSlider_swiperNavSmallHeightLanding__jv6yR",swiperNavSmallHeight:"swiperSlider_swiperNavSmallHeight__goy5K",swiperButton:"swiperSlider_swiperButton__1KZAD",swiperButtonPrev:"swiperSlider_swiperButtonPrev__1C3a_",swiperButtonNext:"swiperSlider_swiperButtonNext__LakwA",swiperPagination:"swiperSlider_swiperPagination__3CY4K",swiperSlide:"swiperSlider_swiperSlide__3CEfa",arrowNavTop:"swiperSlider_arrowNavTop__kD_o1"}},7163:function(e){e.exports={testimony:"personas_testimony__ojNJo",testimony__avatar:"personas_testimony__avatar__9tPjN",testimony__content:"personas_testimony__content__R83yQ",skeleton:"personas_skeleton__B7TcC",animatePulse:"personas_animatePulse__zqCXP",pulse:"personas_pulse__lybwW",bgGray200:"personas_bgGray200__RTrti",rounded:"personas_rounded__1Q5ED",personaThumbnail:"personas_personaThumbnail__ey7yY",personas:"personas_personas__WDAxu",personasHead:"personas_personasHead__KePQ6",personasHeadTitle:"personas_personasHeadTitle__jCc_e",item_persona:"personas_item_persona__Jkoms"}}}]);

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.