1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5293],{5481:(e,t,s)=>{"use strict";s.d(t,{A:()=>b});var a=s(37876),n=s(14232),l=s(34846),r=s(69241),i=s(54587),c=s.n(i),o=s(48230),m=s.n(o),d=s(89099),u=s.n(d),p=s(91592),x=s(37139),h=s(54976),f=s(41176),g=s(33670),j=s(83776),v=s(41407),A=s(30360),y=s(34328);let b=n.memo(e=>{var t,s;let{property:n,carousel:i=!0,onClick:o=()=>{},large:b=!1,searchCriteraUuid:N=null}=e;if((0,x.A)(n))return(0,a.jsxs)("div",{className:"font-sans text-base antialiased property-teaser-item animate-pulse",children:[(0,a.jsx)("div",{className:"w-full bg-gray-100 aspect-[16/10]"}),(0,a.jsxs)("div",{className:"pt-1 border-t teaser-link",children:[(0,a.jsx)("div",{className:"w-1/2 h-2 mt-1 bg-gray-100"}),(0,a.jsx)("div",{className:"w-3/4 h-2 mt-1 bg-teal-200"}),(0,a.jsx)("span",{className:"inline-block pt-2",children:["home","bed","surface"].map(e=>(0,a.jsx)("span",{className:"pr-2 text-sm text-gray-500",children:(0,a.jsx)(j.A,{name:e})},"features-".concat(e)))})]})]});let{asPath:w}=(0,d.useRouter)(),{t:_}=(0,l.Bd)(),{data:k}=(0,p.wV)(),{id:S,slug:z,locality:C,country:E,images:P,rooms:T,bedrooms:q,price:V,isPriceDisplayed:B,isException:I,sold:R,source:L,promotion:O}=n,X=(0,y.A)(n),D=!!(null==k||null==(t=k.user)?void 0:t.token),F=(0,A.Sk)(P,D,L).sort((e,t)=>e.order-t.order),H=F.length>0,J=i&&H&&F.length>1,K="anywhere"===L?"/achat-international":(0,A.s_)(w),M=N?"/achat-immobilier/".concat(S):"".concat(K,"/").concat(z),U=()=>{i&&u().push(M),o(z)};return(0,a.jsxs)("div",{className:"font-sans text-base antialiased property-teaser-item",children:[(0,a.jsxs)("div",{className:"relative",children:[H&&!J&&(0,a.jsx)("div",{className:"relative cursor-pointer",onClick:U,children:(0,a.jsx)(c(),{src:F[0].url,alt:"".concat(C,", ").concat(E),width:600,height:375,sizes:"(max-width: 768px) 50vw, 25vw",loading:"lazy",className:"object-cover w-full aspect-[3/2]"})}),H&&J&&(0,a.jsx)(g.A,{images:F.map(e=>e.url),onClick:U,max:3,fallbackAlt:"".concat(C,", ").concat(E)}),(0,a.jsxs)("span",{className:"absolute top-0 left-0 z-10 ml-1",style:{display:"flex",gap:"4px"},children:[R&&(0,a.jsx)("span",{className:(0,r.A)(v.qS.red,{"mt-1":H}),children:_("filters.sold")}),!R&&!(0,x.A)(O)&&!(0,h.A)(O)&&(0,a.jsx)("span",{className:(0,r.A)(v.qS.teal,{"mt-1":H}),children:_("filters.features.promotion")}),!R&&I&&(0,a.jsx)("span",{className:(0,r.A)(v.qS.gold,{"mt-1":H}),children:_("filters.features.prestige")})]})]}),(0,a.jsxs)(m(),{href:M,onClick:()=>o(z),className:(0,r.A)("teaser-link",H?"pt-1":"border-t pt-5"),children:[(0,a.jsxs)("span",{className:(0,r.A)(!b&&"text-sm"),children:[(0,a.jsx)("strong",{className:(0,r.A)("block capitalize",!i&&"pb-1"),children:"".concat(C,", ").concat(E)}),!R&&B&&(0,f.A)(null==V?void 0:V.amount)&&(0,a.jsx)("strong",{className:(0,r.A)("myssir"===L&&I?"text-gold-500":"myssir"===L?"text-teal-600":"text-gold-500"),children:(0,A.$g)({number:null!=(s=V.amount)?s:0,currency:V.currency})}),!R&&(!B||(0,x.A)(V))&&(0,a.jsx)("strong",{className:(0,r.A)("myssir"===L&&I?"text-gold-500":"myssir"===L?"text-teal-600":"text-gold-500"),children:_("global.price_on_demand")})]}),(0,a.jsx)("span",{className:"inline-block pt-1",children:[["home",T,T],["bed",q,q],["surface","".concat(X,"m\xb2"),X]].map(e=>{let[t,s,n]=e;return 0!==(0,A.Ju)(n||0)&&(0,a.jsxs)("span",{className:"pr-2 text-sm text-gray-500 whitespace-nowrap",children:[(0,a.jsx)(j.A,{name:t})," ",s]},"features-".concat(t))})})]})]})})},21804:(e,t,s)=>{"use strict";s.r(t),s.d(t,{__N_SSP:()=>N,default:()=>w});var a=s(37876),n=s(14232),l=s(69241),r=s(48230),i=s.n(r),c=s(89099),o=s(37139),m=s(44646),d=s(97715),u=s(83776),p=s(5481),x=s(57823),h=s(98858),f=s(48220),g=s(82740),j=s(86075),v=s(32402),A=s(70976),y=s(41407),b=s(30360),N=!0;let w=e=>{let{property:t,agent:s}=e;if((0,o.A)(t))return(0,a.jsx)(j.default,{statusCode:404});
1let[r,N]=(0,n.useState)(!1),[w,_]=(0,n.useState)({mail:null}),{asPath:k,locale:S}=(0,c.useRouter)(),{t:z}=(0,f.gN)("templates.property_contact"),{reference:C,title:E,locality:P,country:T,slug:q}=t,V=async e=>{_(e);let t={propertyName:"".concat(E[null!=S?S:"fr"]," - ").concat(P," (").concat(T,") - ").concat(C),propertyUrl:"".concat(h.A.mainDomain,"/achat-international/").concat(q)};(await (0,v.Ii)({...e,...t},null!=S?S:"fr")).success&&(N(!0),A.A.event("realestate.property.contact",{mode:"form"}))};return(0,n.useEffect)(()=>{A.A.dl({slug:(0,b.L7)(k),reference:C}),(0,o.A)(k)||A.A.event("PageView",{page_path:k,page_title:(0,b.wS)(t)})},[k]),(0,a.jsxs)(g.A,{children:[(0,a.jsx)(x.A,{noPageView:!0}),(0,a.jsxs)("main",{id:"mainContent",className:"container py-4 mb-7",children:[(0,a.jsx)(m.A,{crumbs:[{href:"/",title:"home"},{href:"/achat-international/".concat(q),title:E[null!=S?S:"fr"]},{title:z("breadcrumb")}]}),(0,a.jsxs)("div",{className:"mt-6 row-lg",children:[(0,a.jsxs)("div",{className:"w-full gutter-lg md:w-1/2",children:[r&&(0,a.jsx)(u.A,{name:"mail-ok",className:(0,l.A)("text-h1 text-teal-600")}),(0,a.jsxs)("h1",{id:"cy-title",className:(0,l.A)("text-h2 font-medium",r&&"mt-3"),children:[z(r?"sent_to":"title")," ",null==s?void 0:s.fullName]}),(0,a.jsxs)("p",{className:"mt-2 text-sm text-gray-500",children:[z("about")," ",(0,a.jsxs)(i(),{href:"/achat-international/".concat(q),className:(0,l.A)(y.nf.gray100),children:["#",C]})]}),!r&&(0,a.jsx)("div",{className:"mt-6",children:(0,a.jsx)(d.xc,{onSubmit:V})}),r&&(0,a.jsxs)("p",{className:"mt-3",children:[z("success")," (",null==w?void 0:w.mail,")."]}),r&&(0,a.jsx)(i(),{href:"/achat-international/".concat(q),className:(0,l.A)(y.x6.secondary,"mt-4"),children:z("go_back")})]}),(0,a.jsxs)("div",{className:"w-full mt-4 gutter-lg md:w-1/3 md:mx-1/12 md:mt-0",children:[(0,a.jsx)("h3",{className:"mb-2 text-base font-medium text-gray-500",children:z("the_property")}),(0,a.jsx)(p.A,{property:t})]})]})]})]})}},23050:e=>{e.exports={default:"Breadcrumb_default__7Khob"}},25102:(e,t,s)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/achat-international/[slug]/contact",function(){return s(21804)}])},33670:(e,t,s)=>{"use strict";s.d(t,{A:()=>u});var a=s(37876);s(14232);var n=s(19357),l=s(69241),r=s(54587),i=s.n(r),c=s(83776),o=s(43197),m=s(30360);let d=e=>{let{className:t="",onClick:s}=e,n=t.includes("prev");return(0,a.jsx)("button",{type:"button",onClick:s,className:(0,l.A)("slick-arrow",n?"left-0":"right-0"),children:(0,a.jsx)(c.A,{name:"fat-chevron-".concat(n?"left":"right")})})},u=e=>{let{onClick:t=()=>{},images:s,max:l=1e16,fallbackAlt:r}=e,c=e=>"string"==typeof(null==e?void 0:e[0])&&!(null==e?void 0:e[0].includes("imgs.azureedge.net")),u=e=>"string"==typeof(null==e?void 0:e[0])&&(null==e?void 0:e[0].includes("imgs.azureedge.net"));return(0,a.jsxs)(n.A,{className:"slick-wrapper",dots:!0,infinite:!0,slidesToShow:1,slidesToScroll:1,nextArrow:(0,a.jsx)(d,{}),prevArrow:(0,a.jsx)(d,{}),children:[!c(s)&&!u(s)&&(null==s?void 0:s.slice(0,l).map((e,s)=>(0,a.jsx)(o.A,{onClick:t,src:e,ratio:"16/10",sm:"25",md:"25",lg:"25"},"image-".concat(s)))),c(s)&&(null==s?void 0:s.slice(0,l).map((e,s)=>(0,a.jsx)(i(),{onClick:t,src:(0,m.rf)(e),alt:null!=r?r:"",width:1800,height:1200,sizes:"25vw",className:"object-cover bg-gray-200 aspect-[3/2]"},e+s))),u(s)&&(null==s?void 0:s.slice(0,l).map((e,s)=>(0,a.jsx)("div",{className:"overflow-hidden aspect-[16/10]",children:(0,a.jsx)(i(),{onClick:t,src:(0,m.rf)(e),width:500,height:300,alt:"Picture of the property",className:"block object-cover w-full h-full"})},e+s)))]})}},34328:(e,t,s)=>{"use strict";s.d(t,{A:()=>n});var a=s(37139);let n=e=>{var t;let{type:s,surfaces:n}=e,l="apartment"!==s||(0,a.A)(n.balanced)||0===n.balanced?"house"!==s||(0,a.A)(n.computed)||0===n.computed?"house"!==s||(0,a.A)(n.usable)||0===n.usable?"terrain"!==s||(0,a.A)(n.land)||0===n.land?n.computed:n.land:n.usable:n.computed:n.balanced;return null!=(t=null!=l?l:e.surface)?t:0}},44646:(e,t,s)=>{"use strict";s.d(t,{A:()=>x});var a=s(37876);s(14232);var n=s(69241),l=s(48230),r=s.n(l),i=s(55682),c=s(80044),o=s(83776),m=s(48220),d=s(41407),u=s(23050),p=s.n(u);let x=e=>{var t;let{crumbs:s,dark:l}=e,{t:u}=(0,m.gN)("global");return(0,a.jsx)("nav",{"aria-label":u("breadcrumb"),children:(0,a.jsxs)("ol",{className:(0,n.A)("list-none md:text-sm text-gray-500",p()),children:[(0,i.A)(1,s).map((e,t)=>{let{title:i,href:c}=e;return(0,a.jsxs)("li",{className:(0,n.A)(t===s.length-2?"inline":"hidden md:inline"),children:[(0,a.jsx)("span",{"aria-hidden":"true",className:(0,n.A)("pr-1 inline md:hidden",l&&"text-white"),children:"â"}),(0,a.jsxs)(r(),{href:null!=c?c:"/",className:(0,n.A)(l?d.nf.negative:d.nf.gray100,"home"===i&&d.nf.reset),children:["home"===i&&(0,a.jsx)(o.A,{name:"home"}),"home"!==i&&i]}),(0,a.jsx)("span",{"aria-hidden":"true",className:(0,n.A)("px-1 hidden md:inline",l&&"text-white"),children:"âº"})]},"crumb-".concat(t))}),(0,a.jsx)("li",{className:(0,n.A)("hidden md:inline",l&&"text-white"),"aria-current":"page",children:null==(t=(0,c.A)(s))?void 0:t.t
1itle})]})})}},57823:(e,t,s)=>{"use strict";s.d(t,{A:()=>x});var a=s(37876),n=s(14232),l=s(34846),r=s(77328),i=s.n(r),c=s(89099),o=s(41176),m=s(84164),d=s(37139),u=s(80044),p=s(70976);let x=e=>{var t,s,r,x,h,f;let{metatags:g,title:j,cover:v,noPageView:A=!1}=e,y="https://www.switzerland-sothebysrealty.ch",{asPath:b}=(0,c.useRouter)(),N="".concat(y).concat(b),{t:w}=(0,l.Bd)(),_=(0,o.A)(g)?(0,m.A)(e=>"description"===e.attributes.name,g):void 0,k=(0,o.A)(g)?(0,m.A)(e=>"title"===e.attributes.name,g):void 0,S="string"==typeof v?v:null==v||null==(s=v.links)||null==(t=s.open_graph)?void 0:t.href;return(0,n.useEffect)(()=>{if(p.A.reset(),p.A.init({}),!A&&(0,o.A)(b)){var e;p.A.event("PageView",{page_path:b,page_title:(null==k||null==(e=k.attributes)?void 0:e.content)||"Titre inconnu"})}},[b]),(0,a.jsxs)(i(),{children:[(0,a.jsx)("link",{rel:"canonical",href:N}),((0,d.A)(g)||!g.some(e=>{var t;return(null==(t=e.attributes)?void 0:t.name)==="title"}))&&(0,o.A)(j)&&(0,a.jsx)("title",{children:j}),null==g?void 0:g.map((e,t)=>{let{tag:s,attributes:l}=e;return(null==l?void 0:l.name)==="title"?(0,a.jsx)("title",{children:l.content},"meta-".concat(t)):(0,n.createElement)(s,{...l,key:"meta-".concat(t)})}),(0,a.jsx)("meta",{property:"og:type",content:"website"}),(0,a.jsx)("meta",{property:"og:url",content:N}),(0,o.A)(k)&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("meta",{property:"og:site_name",content:(0,u.A)((null==k||null==(x=k.attributes)||null==(r=x.content)?void 0:r.split(" | "))||[])}),(0,a.jsx)("meta",{property:"og:title",content:null==k||null==(h=k.attributes)?void 0:h.content})]}),(0,o.A)(_)&&(0,a.jsx)("meta",{property:"og:description",content:null==_||null==(f=_.attributes)?void 0:f.content}),(0,o.A)(S)&&(0,a.jsx)("meta",{property:"og:image",content:S}),(0,d.A)(S)&&(0,a.jsx)("meta",{property:"og:image",content:"".concat(y,"/images/og-image-new.jpg")}),(0,a.jsx)("link",{rel:"apple-touch-icon",sizes:"180x180",href:"/apple-touch-icon.png"}),(0,a.jsx)("link",{rel:"icon",type:"image/png",href:"/favicon-32x32.png",sizes:"32x32"}),(0,a.jsx)("link",{rel:"icon",type:"image/png",href:"/favicon-16x16.png",sizes:"16x16"}),(0,a.jsx)("link",{rel:"manifest",href:"/manifest.json"}),(0,a.jsx)("link",{rel:"mask-icon",href:"/safari-pinned-tab.svg",color:"#0c2340"}),(0,a.jsx)("meta",{name:"theme-color",content:"#0c2340"}),(0,a.jsx)("link",{type:"text/plain",rel:"author",href:"/humans.txt"}),(0,a.jsx)("script",{dangerouslySetInnerHTML:{__html:"\n console.log('%c".concat(w("footer.realised_by"),"', 'color: #e30074; font-family: sans-serif; font-size: 16px;');\n console.log('%cAntistatique', 'color: #e30074; font-weight: bold; font-family: sans-serif; font-size: 42px;');\n console.log('%c").concat(y,"/humans.txt', 'color: #e30074; font-family: sans-serif; font-size: 16px;');\n console.log('%chttps://antistatique.net', 'color: #e30074; font-family: sans-serif; font-size: 16px;');\n ")}})]})}},86075:(e,t,s)=>{"use strict";s.r(t),s.d(t,{__N_SSP:()=>u,default:()=>p});var a=s(37876);s(14232);var n=s(69241),l=s(48230),r=s.n(l),i=s(37139),c=s(57823),o=s(48220),m=s(82740),d=s(41407),u=!0;let p=e=>{var t,s,l;let{statusCode:u}=e,{t:p}=(0,o.gN)("templates.error");return(0,a.jsxs)(m.A,{children:[(0,a.jsx)(c.A,{metatags:[{attributes:{name:"title",content:"Error ".concat(u)}}]}),(0,a.jsxs)("main",{className:"container py-4 mb-7",children:[(0,a.jsxs)("div",{className:"relative py-10",id:"mainContent",children:[!(0,i.A)(u)&&(0,a.jsxs)("h1",{className:"absolute z-20 font-thin transform -translate-x-1/2 -translate-y-1/2 top-50 left-50",style:{fontSize:"200px"},children:[null==(t=Array.from(u.toString()))?void 0:t[0],(0,a.jsx)("span",{className:"px-6 opacity-0",children:null==(s=Array.from(u.toString()))?void 0:s[1]}),null==(l=Array.from(u.toString()))?void 0:l[2]]}),(0,a.jsx)("div",{className:"absolute z-10 mt-2 transform -translate-x-1/2 -translate-y-1/2 top-50 left-50",children:(0,a.jsxs)("video",{width:"200",className:"max-w-none",loop:!0,playsInline:!0,muted:!0,autoPlay:!0,children:[(0,a.jsx)("source",{src:"/videos/globe-sm.webm",type:"video/webm"}),(0,a.jsx)("source",{src:"/videos/globe-sm.mp4",type:"video/mp4"})]})})]}),(0,a.jsx)("div",{className:"mx-auto lg:w-1/2",children:(0,a.jsxs)("div",{className:"text-center",children:[(0,a.jsx)("div",{}),(0,a.jsx)("p",{className:"mt-4",children:p("content")}),(0,a.jsxs)("p",{className:"mt-4",children:[(0,a.jsx)("strong",{className:"font-medium",children:p("back")}),(0,a.jsx)(r(),{href:"/west",className:(0,n.A)(d.x6.primary,"ml-1"),children:p("cta")})]})]})})]})]})}}},e=>{e.O(0,[6701,1215,6934,1052,4011,8275,8487,4188,2740,636,6593,8792],()=>e(e.s=25102)),_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.