1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="6877f458-c4de-4bbb-8cf6-c01c6fa17920",e._sentryDebugIdIdentifier="sentry-dbid-6877f458-c4de-4bbb-8cf6-c01c6fa17920")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[465],{19501:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var a=r(54568),n=r(7620),s=r(87557);let l=e=>{let{className:t="",width:r,height:l,objectFit:i="cover",testId:o="image-component",onLoad:c,...d}=e,[u,p]=(0,n.useState)(!0),m=(0,n.useMemo)(()=>e=>{p(!1),c&&c(e)},[c]),f=(0,n.useRef)(null);return(0,n.useEffect)(()=>{let e=f.current;e&&e.complete&&m({})},[m]),(0,a.jsx)("img",{ref:f,"data-testid":o,width:r,height:l,className:(0,s.cn)("bg-rug-50 transition-all duration-300",u?"animate-pulse opacity-50":"opacity-100",t),style:{objectFit:i},onLoad:m,onError:()=>p(!1),...d})}},20549:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var a=r(7620),n=r(49437);let s=e=>{let[t,r]=(0,a.useState)(!1);return(0,a.useEffect)(()=>{let t="(min-width: ".concat(n.A[e],")"),a=window.matchMedia(t),s=e=>r(e.matches);return r(a.matches),a.addEventListener?a.addEventListener("change",s):a.addListener(s),()=>{a.removeEventListener?a.removeEventListener("change",s):a.removeListener(s)}},[e]),t}},37587:(e,t,r)=>{"use strict";r.d(t,{Cl:()=>i,Ew:()=>a,Op:()=>l,UC:()=>c,V_:()=>s,WW:()=>n,wH:()=>o});let a={PENTHOUSE:"property.typology.penthouse",TOWNHOUSE:"property.typology.townhouse",HOUSE:"property.typology.house",CHALET:"property.typology.chalet",DUPLEX:"property.typology.duplex",STUDIO:"property.typology.studio",BUILDING:"property.typology.building",LOCAL:"property.typology.local",OFFICE:"property.typology.office",FLAT:"property.typology.flat",PARKING:"property.typology.parking",SOLAR:"property.typology.solar",STORAGE_ROOM:"property.typology.storageRoom",TERRACED_HOUSE:"property.typology.terracedHouse",INDEPENDENT_HOUSE:"property.typology.independentHouse",RURAL_HOUSE:"property.typology.ruralHouse",RUSTIC_HOUSE:"property.typology.rusticHouse",MANSION:"property.typology.mansion",CASTLE:"property.typology.castle",FARMHOUSE:"property.typology.farmhouse",COUNTRY_HOUSE:"property.typology.countryHouse",HOTEL:"property.typology.hotel",PALACE:"property.typology.palace",LAND:"property.typology.land",INDUSTRIAL:"property.typology.industrial",VILLA:"property.typology.villa",GROUNDFLOOR:"property.typology.groundfloor",LOFT:"property.typology.loft",PLAN:"property.typology.plan"},n={INSIDE:"property.situation.interior",OUTSIDE:"property.situation.exterior",APPLE_YARD:"property.situation.appleYard",INSIDE_YARD:"property.situation.insideYard"},s={RENOVATED:"property.status.renovated",IN_REFORM:"property.status.inRenovation",REHABILITATED:"property.status.restored",IN_REHABILITATION:"property.status.inRestoration",NEEDS_REFORM:"property.status.needsRenovation",GOOD:"property.status.goodState",NEEDS_COMPLETE_REFORM:"property.status.needsFullRenovation"},l={EAST:"property.orientation.east",NORTH:"property.orientation.north",NORTH_EAST:"property.orientation.northEast",NORTH_WEST:"property.orientation.northWest",SOUTH:"property.orientation.south",SOUTH_EAST:"property.orientation.southEast",SOUTH_WEST:"property.orientation.southWest",WEST:"property.orientation.west"},i={BASEMENT:"property.floor.basement",SEMI_BASEMENT:"property.floor.semiBasement",LOW_LEVEL:"property.floor.groundFloor",MEZZANINE:"property.floor.mezzanine",MINUS_EIGHT:"-8",MINUS_SEVEN:"-7",MINUS_SIX:"-6",MINUS_FIVE:"-5",MINUS_FOUR:"-4",MINUS_THREE:"-3",MINUS_TWO:"-2",MINUS_ONE:"-1",ONE:"1",TWO:"2",THREE:"3",FOUR:"4",FIVE:"5",SIX:"6",SEVEN:"7",EIGHT:"8",NINE:"9",TEN:"10",ELEVEN:"11",TWELVE:"12",THIRTEEN:"13",FOURTEEN:"14",FIFTEEN:"15",SIXTEEN:"16",SEVENTEEN:"17",EIGHTEEN:"18",NINETEEN:"19",TWENTY:"20",TWENTY_ONE:"21",TWENTY_TWO:"22",TWENTY_THREE:"23",TWENTY_FOUR:"24",TWENTY_FIVE:"25",TWENTY_SIX:"26",TWENTY_SEVEN:"27",TWENTY_EIGHT:"28",TWENTY_NINE:"29",THIRTY:"30"}
1,o={LARGE_CAR:"property.parking.spotCapacity.largeCar",SMALL_CAR:"property.parking.spotCapacity.smallCar",TWO_OR_MORE:"property.parking.spotCapacity.twoOrMore",MOTORBIKE:"property.parking.spotCapacity.motorbike",CAR_AND_MOTORBIKE:"property.parking.spotCapacity.carAndMotorbike"},c={"a coruna":"CIUDADES_ACORUNA.jpg",alicante:"CIUDADES_ALICANTE.jpg",almeria:"CIUDADES_ALMERIA.jpg",barcelona:"CIUDADES_BARCELONA.jpg",vizcaya:"CIUDADES_BILBAO.jpg",cadiz:"CIUDADES_CADIZ.jpg",castellon:"CIUDADES_CASTELLON.jpg","ciudad real":"CIUDADES_CIUDADREAL.jpg",cordoba:"CIUDADES_CORDOBA.jpg",girona:"CIUDADES_GIRONA.jpg",granada:"CIUDADES_GRANADA.jpg",guadalajara:"CIUDADES_GUADALAJARA.jpg",huelva:"CIUDADES_HUELVA.jpg","islas baleares":"CIUDADES_PALMA.jpg",jaen:"CIUDADES_JAEN.jpg",lleida:"CIUDADES_LERIDA.jpg",madrid:"CIUDADES_MADRID.jpg",malaga:"CIUDADES_MALAGA.jpg",murcia:"CIUDADES_MURCIA.jpg",navarra:"CIUDADES_NAVARRA.jpg","santa cruz de tenerife":"CIUDADES_TENERIFE.jpg",sevilla:"CIUDADES_SEVILLA.jpg",tarragona:"CIUDADES_TARRAGONA.jpg",toledo:"CIUDADES_TOLEDO.jpg",valencia:"CIUDADES_VALENCIA.jpg",zaragoza:"CIUDADES_ZARAGOZA.jpg"}},38115:(e,t,r)=>{"use strict";r.d(t,{A:()=>u});var a=r(54568),n=r(87557),s=r(15425),l=r(89079),i=r(54616);let o={MEDIUM:"medium"},c=(0,i.F)("relative flex items-center justify-center rounded-full text-label-m transition-colors duration-300 gap-1 shrink-0",{variants:{mode:{default:[],inverse:[]},variant:{primary:[],secondary:["border"],tertiary:[],ghost:["bg-transparent","border-none"]},size:{small:["w-[36px]","h-[36px]"],medium:["w-[48px]","h-[48px]"]},disabled:{false:null,true:["cursor-not-allowed"]}},compoundVariants:[{mode:"default",variant:"primary",disabled:!1,class:["bg-button-primary-surface-default","text-content-high-inverse","hover:bg-button-primary-surface-hover","active:bg-button-primary-surface-pressed","focus-visible:shadow-[0px_0px_0px_2px_theme(colors.white.DEFAULT),0px_0px_0px_3px_theme(colors.pink.500)]","focus:outline-none"]},{mode:"default",variant:"primary",disabled:!0,class:["bg-button-primary-surface-disabled","text-content-disabled"]},{mode:"default",variant:"secondary",disabled:!1,class:["bg-button-secondary-surface-default","border-border-low","text-content-high","hover:bg-button-secondary-surface-hover","active:bg-button-secondary-surface-pressed","focus-visible:shadow-[0px_0px_0px_2px_theme(colors.white.DEFAULT),0px_0px_0px_3px_theme(colors.pink.500)]","focus:outline-none"]},{mode:"default",variant:"secondary",disabled:!0,class:["bg-button-secondary-surface-default","border-border-mid","text-content-disabled"]},{mode:"default",variant:"tertiary",disabled:!1,class:["bg-button-tertiary-surface-default","border-none","text-content-high","hover:bg-button-tertiary-surface-hover","active:bg-button-tertiary-surface-pressed","focus-visible:shadow-[0px_0px_0px_2px_theme(colors.white.DEFAULT),0px_0px_0px_3px_theme(colors.pink.500)]","focus:outline-none"]},{mode:"default",variant:"tertiary",disabled:!0,class:["bg-button-tertiary-surface-disabled","text-content-disabled"]},{mode:"default",variant:"ghost",disabled:!1,class:["text-content-mid","hover:text-content-high","active:text-content-high","focus-visible:shadow-[0px_0px_0px_2px_theme(colors.white.DEFAULT),0px_0px_0px_3px_theme(colors.pink.500)]","focus:outline-none"]},{mode:"default",variant:"ghost",disabled:!0,class:["text-content-disabled"]},{mode:"inverse",variant:"primary",disabled:!1,class:["bg-content-high-inverse","text-content-high","hover:bg-button-primary-surface-inverse-hover","active:bg-button-primary-surface-inverse-pressed","focus-visible:shadow-[0px_0px_0px_2px_theme(colors.white.DEFAULT),0px_0px_0px_3px_theme(colors.pink.500)]","focus:outline-none"]},{mode:"inverse",variant:"primary",disabled:!0,class:["text-content-low","bg-button-primary-surface-inverse-disabled"]},{mode:"inverse",variant:"secondary",disabled:!1,class:["bg-button-secondary-surface-inverse-default","border-border-mid-inverse","text-content-high-inverse","hover:bg-button-secondary-surface-inverse-hover","active:bg-button-secondary-surface-inverse-pressed","focus-visible:shadow-[0px_0px_0px_2px_theme(colors.deepblue.800),0px_0px_0px_3px_theme(colors.pink.500)]","focus:outline-none","focus-visible:bg-button-secondary-surface-inverse-focused"]},{mode:"inverse",variant:"secondary",disabled:!0,class:["bg-button-secondary-surface-inverse-disabled","border-border-mid-inverse","text-content-disabled-inverse"]},{mode:"inverse",variant:"tertiary",disabled:!1,class:["backdrop-blur-[20px]","bg-action-button-tertiary-surface-inverse-default","border-none","text-content-high-inverse","hover:bg-content-low-inverse","active:bg-action-button-tertiary-surface-inverse-pressed","focus-visible:shadow-[0px_0px_0px_2px_theme(colors.deepblue.800),0px_0px_0px_3px_theme(colors.pink.500)]","focus:outline-none","focus-visible:bg-action-button-tertiary-surface-inverse-default","focus-visible:backdrop-blur-none"]},{mode:"inverse",variant:"tertiary",disabled:!0,class:["backdrop-blur-[20px]","bg-action-button-tertiary-surface-inverse-disabled","text-content-disabled-inverse"]},{variant:"ghost",class:"w-auto h-auto"},{mode:"inverse",variant:"ghost",disabled:!1,class:["text-content-mid-inverse","hover:text-content-high-inverse","active:text-content-high-inverse","focus-visible:shadow-[0px_0px_0px_2px_theme(colors.deepblue.800),0px_0px_0px_3px_theme(colors.pink.500)]","focus:outline-none"]},{mode:"inverse",variant:"ghost",disabled:!0,class:["text-content-disabled-inverse"]}],defaultVariants:{mode:"default",disabled:!1,variant:"primary",size:o.MEDIUM}}),d=(0,i.F)("",{variants:{size:{small:["w-5","h-5"],medium:["w-6","h-6"]}},defaultVariants:{size:o.MEDIUM}}),u=e=>{let{className:t,variant:r,size:i,mode:o,disabled:u,iconName:p,text:m,as:f="button",testId:x="action-button-component",onClick:h,preventDefault:v,ref:g,loading:b,...y}=e,E=e=>{v&&e.preventDefault(),null==h||h(e)},A=(0,n.cn)(c({variant:r,size:i,mode:o,disabled:u||b}),t),N=(0,a.jsxs)(a.Fragment,{children:[b&&(0,a.jsx)(s.A,{name:"ui-loading",className:(0,n.cn)("animate-spin",d({size:i}))}),!b&&p&&(0,a.jsx)(s.A,{name:p,className:d({size:i})}),!b&&m&&(0,a.jsx)("div",{className:(0,n.cn)("flex justify-center items-center",d({size:i})),children:(0,a.jsx)("span",{className:"text-label-m absolute",children:m})})]});if("link"===f){let{href:e,...t}=y;return(0,a.jsx)(l.A,{ref:g,"data-testid":x,className:A,href:e,"aria-disabled":!!u||void 0,tabIndex:u?-1:void 0,inert:!!u,onClick:E,...t,children:N})}let{type:_="button",...w}=y;return(0,a.jsx)("button",{ref:g,"data-testid":x,type:_,className:A,disabled:!!u,onClick:E,...w,children:N})}},42391:(e,t,r)=>{Promise.resolve().then(r.bind(r,78268))},46836:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});var a=r(54568),n=r(7620),s=r(87557);r(99664);var l=r(15425);let i=(0,r(54616).F)("absolute top-1/2 z-10 h-full w-12 -translate-y-1/2 px-4 py-2 from-transparent to-white",{variants:{direction:{next:["right-0 bg-gradient-to-r"],prev:["left-0 bg-gradient-to-l"]}}}),o=e=>{let{testId:t="button-nav",direction:r="next",sliderRef:n,childWidths:o,setFocusIndex:c,currentIndex:d}=e;return(0,a.jsxs)("button",{"data-testid":t,className:(0,s.cn)(i({direction:r})),onClick:()=>(e=>{let{sliderRef:t,childWidths:r,direction:a,setFocusIndex:n,currentIndex:s}=e;if(!t.current)return;let l=(e=>{let{sliderRef:t,childWidths:r,direction:a}=e;if(!t.current||!t.current.clientWidth||0===r.length)return 0;let n=t.current.scrollLeft,s=t.current.clientWidth;if(s<=0)return 0;let l=0,i=0,o=0;for(let e=0;e<r.length;e++){let t=r[e];t<0||(l+=t,!o&&l>n+s&&(o=l-s+(r[e]||0)/2))}l=0;for(let e=0;e<r.length;e++){let t=r[e];if(t<0)continue;let a=l+t;if(a>=n){i=l-(r[e-1]||0)/2;break}l=a}return i=Math.max(0,i),"next"===a?Math.max(0,o-n):Math.max(0,n-i)})({sliderRef:t,childWidths:r,direction:a});t.current.scrollTo({left:t.current.scrollLeft+("next"===a?l:-l),behavior:"smooth"}),n(0===s?s:s+("next"===a?1:-1))})({sliderRef:n,childWidths:o,direction:r,setFocusIndex:c,currentIndex:d}),children:["prev"===r&&(0,a.jsx)(l.A,{name:"ui-chevron-left"}),"next"===r&&(0,a.jsx)(l.A,{name:"ui-chevron-right"})]})},c=e=>{let{children:t,initialIndex:r=0,testId:l="fluid-overflow",className:i}
1=e,c=(0,n.useRef)(null),[d,u]=(0,n.useState)({isPrevButtonEnabled:!1,isNextButtonEnabled:!1}),p=(0,n.useRef)([]),[m,f]=(0,n.useState)(r),{handleMouseDown:x,handleMouseMove:h,handleMouseUpOrLeave:v}=(e=>{let t=(0,n.useRef)(!1),r=(0,n.useRef)(0),a=(0,n.useRef)(0);return"object"==typeof navigator&&(()=>{let e=navigator.userAgent.toLowerCase();return e.includes("safari")&&!e.includes("chrome")})()?{handleMouseDown:void 0,handleMouseMove:void 0,handleMouseUpOrLeave:void 0,isDragging:!1}:{handleMouseDown:n=>{e.current&&(t.current=!0,r.current=n.pageX-e.current.offsetLeft,a.current=e.current.scrollLeft)},handleMouseMove:n=>{if(!t.current||!e.current)return;n.preventDefault();let s=(n.pageX-e.current.offsetLeft-r.current)*2;e.current.scrollLeft=a.current-s},handleMouseUpOrLeave:()=>{t.current=!1}}})(c),g=(0,n.useCallback)(()=>{((e,t)=>{if(!e.current)return;let r=e.current.scrollLeft,a=e.current.scrollWidth-e.current.offsetWidth,n=r>0,s=Math.ceil(r)<Math.floor(a-1);t(e=>n!==e.isPrevButtonEnabled||s!==e.isNextButtonEnabled?{isPrevButtonEnabled:n,isNextButtonEnabled:s}:e)})(c,u)},[]);(0,n.useEffect)(()=>{if(c.current&&c.current.firstElementChild){let e=Array.from(c.current.firstElementChild.children);if(p.current=e.map(e=>e.offsetWidth),r<e.length){let t=c.current.offsetWidth,a=e[r];if(!a)return;let n=a.offsetWidth,s=e.slice(0,r).reduce((e,t)=>e+t.offsetWidth,0);c.current.scrollTo({left:Math.max(0,s-(t-n)/2),behavior:"auto"})}}g()},[t,r,g]),(0,n.useEffect)(()=>{let e=()=>g();return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[g]);let b=e=>{e<0||e>=p.current.length||f(e)};return(0,a.jsxs)("div",{"data-testid":l,className:(0,s.cn)("relative",i),children:[(0,a.jsx)("div",{ref:c,className:"scrollContainer flex overflow-x-auto scroll-smooth [-ms-overflow-style:none] [scrollbar-width:none] [&::-webkit-scrollbar]:hidden",onScroll:g,onMouseUp:v,onMouseLeave:v,onMouseDown:x,onMouseMove:h,children:t}),d.isPrevButtonEnabled&&(0,a.jsx)(o,{testId:"button-control-prev",index:m,sliderRef:c,childWidths:p.current,direction:"prev",setFocusIndex:b,currentIndex:m}),d.isNextButtonEnabled&&(0,a.jsx)(o,{testId:"button-control-next",index:m,sliderRef:c,childWidths:p.current,direction:"next",setFocusIndex:b,currentIndex:m})]})}},74847:(e,t,r)=>{"use strict";r.d(t,{J:()=>s,Y:()=>i});let a=["madrid","barcelona","malaga","sevilla","valencia"],n=["barcelona","madrid","alicante","tarragona","valencia"],s=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],s=r?n:a,l=e.toLowerCase(),i=t.toLowerCase(),o=s.indexOf(l),c=s.indexOf(i);return -1!==o&&-1!==c?o-c:-1!==o?-1:-1!==c?1:l.localeCompare(i)},l=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],s=e.toLowerCase(),l=t.toLowerCase(),i=r?n:a,o=i.indexOf(s),c=i.indexOf(l);return -1!==o&&-1!==c?o-c:0},i=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=t?n:a,s=e.filter(e=>r.includes(e.slug)).sort((e,r)=>l(e.slug,r.slug,t)),i=e.filter(e=>!r.includes(e.slug)).sort((e,t)=>e.name.localeCompare(t.name));return[...s.map((e,t)=>({label:e.name,value:e.slug,...t===s.length-1?{separator:!0}:{}})),...i.map(e=>({label:e.name,value:e.slug}))]}},78268:(e,t,r)=>{"use strict";r.d(t,{default:()=>K});var a=r(54568),n=r(87557),s=r(72512),l=r(19501),i=r(37636),o=r(54616);let c=(0,o.F)("relative flex flex-col justify-between overflow-hidden min-h-[200px]",{variants:{size:{large:["p-6"],small:["p-5"]},style:{solid:[],photo:["relative"]},inverse:{false:[],true:[]}},compoundVariants:[{style:"solid",inverse:!1,class:"bg-white"},{style:"solid",inverse:!0,class:"bg-deepblue-800"}],defaultVariants:{size:"large",style:"solid",inverse:!1}}),d=(0,o.F)("flex flex-col gap-3 h-full mb-6",{variants:{style:{solid:[],photo:["z-10"]}},defaultVariants:{style:"solid"}}),u=(0,o.F)("",{variants:{inverse:{false:["text-content-mid"],true:["text-content-mid-inverse"]},style:{solid:[],photo:["text-content-mid-inverse"]}},defaultVariants:{style:"solid",inverse:!1}}),p=(0,o.F)("",{variants:{inverse:{false:["text-content-high"],true:["text-content-high-inverse"]},style:{solid:[],photo:["text-content-high-inverse"]}},defaultVariants:{style:"solid",inverse:!1}}),m=(0,o.F)("",{variants:{inverse:{false:["text-content-low"],true:["text-content-low-inverse"]},style:{solid:[],photo:["text-content-mid-inverse"]}},defaultVariants:{style:"solid",inverse:!1}}),f=(0,o.F)("",{variants:{inverse:{false:["text-content-mid"],true:["text-content-mid-inverse"]},style:{solid:[],photo:["text-content-mid-inverse"]}},defaultVariants:{style:"solid",inverse:!1}}),x=(0,o.F)("flex items-center justify-center w-10 h-10 rounded-full",{variants:{style:{solid:["bg-surface-rug-low"],photo:["bg-white-25"]}},defaultVariants:{style:"solid"}}),h=(0,o.F)("absolute inset-0",{variants:{style:{photo:["bg-background-overlay"]}},defaultVariants:{style:"photo"}}),v=e=>{let{label:t,title:r,subtitle:o,description:v,icon:g,primaryButtonLabel:b,primaryButtonIcon:y,secondaryButtonLabel:E,secondaryButtonIcon:A,onPrimaryButtonClick:N,onSecondaryButtonClick:_,primaryButtonUrl:w,primaryButtonIsInternalLink:I,secondaryButtonUrl:j,secondaryButtonIsInternalLink:C,imageUrl:D,className:T,testId:S="multifunctional-card",size:L="large",style:R="solid",inverse:O=!1}=e,U=O||"photo"===R;return(0,a.jsxs)("div",{className:(0,n.cn)(c({size:L,style:R,inverse:O,className:T})),"data-testid":S,children:["photo"===R&&D&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(l.A,{src:D,alt:"",className:"absolute inset-0 h-full w-full object-cover"}),(0,a.jsx)("div",{className:(0,n.cn)(h())})]}),(0,a.jsxs)("div",{className:d({style:R}),children:[g&&(0,a.jsx)("div",{className:(0,n.cn)(x({style:R})),children:g}),t&&(0,a.jsx)(i.A,{variant:"label-m",className:(0,n.cn)(u({style:R,inverse:O})),children:t}),(0,a.jsxs)("div",{children:[(0,a.jsx)(i.A,{variant:"large"===L?"heading-m":"heading-s",className:(0,n.cn)(p({style:R,inverse:O})),children:r}),o&&(0,a.jsx)(i.A,{variant:"large"===L?"heading-m":"heading-s",className:(0,n.cn)(m({style:R,inverse:O})),children:o})]}),v&&(0,a.jsx)(i.A,{variant:"body-m",className:(0,n.cn)(f({style:R,inverse:O})),children:v})]}),(b||E)&&(0,a.jsxs)("div",{className:"flex flex-col *:w-full *:max-w-full *:sm:w-auto
1sm:flex-row gap-2 z-10",children:[b&&(0,a.jsx)(s.A,{variant:"photo"===R?"tertiary":"primary",...w?{as:"link",href:w,isInternalLink:I}:{as:"button"},mode:U?"inverse":"default",rightIcon:y||void 0,onClick:N,children:b}),E&&(0,a.jsx)(s.A,{variant:"secondary",...j?{as:"link",href:j,isInternalLink:C}:{as:"button"},mode:U?"inverse":"default",rightIcon:A||void 0,onClick:_,children:E})]})]})},g=(0,o.F)("mx-auto max-w-screen-xl flex flex-col bg-background-overlay bg-cover bg-no-repeat bg-center sm:aspect-[16/10] md:aspect-[16/9] lg:aspect-[21/9]",{variants:{style:{margin:"w-[calc(100%-3rem)] sm:w-[calc(100%-7rem)] md:w-[calc(100%-15rem)]","full-width":"w-full"}},defaultVariants:{style:"margin"}}),b=(0,o.F)("p-4 md:p-6 w-full max-w-[448px] lg:min-h-[448px] ",{variants:{style:{margin:"mt-13 sm:mt-0","full-width":"pr-16"}},defaultVariants:{style:"margin"}}),y=e=>{let{imageUrl:t,style:r="margin",cardProps:s,className:l,testId:i="banner-multifunctional-component"}=e;return(0,a.jsx)("div",{className:(0,n.cn)(g({style:r}),l),"data-testid":i,style:{backgroundImage:"url(".concat(t,")")},children:(0,a.jsx)("div",{className:(0,n.cn)(b({style:r})),children:(0,a.jsx)(v,{...s,className:"h-full"})})})};var E=r(7620),A=r(20549);let N=e=>{let{children:t,className:r,...s}=e;return(0,a.jsx)("div",{className:(0,n.cn)("organisms-layout md:px-30 *:max-w-content w-full px-6 *:mx-auto",r),...s,children:t})};var _=r(46836),w=r(82723),I=r(15425);let j=e=>{let{className:t,iconName:r,testId:l,description:o,title:c,subtitle:d,label:u,button:p,isInverse:m=!1,align:f}=e,x=m?"text-content-high-inverse":"text-content-high",h=(null==p?void 0:p.href)?{as:"link",href:p.href,isInternalLink:p.isInternalLink}:{as:"button"};return(0,a.jsxs)("div",{"data-testid":l,className:(0,n.cn)("section-header-display flex flex-col",{"text-center":"center"===f,"items-center":"center"===f},t),children:[r&&(0,a.jsx)("div",{className:(0,n.cn)("icon-wrapper mb-4 flex size-fit items-center justify-center rounded-full bg-black/5 p-[10px] backdrop-brightness-90 backdrop-contrast-125 backdrop-saturate-150",{"bg-white-16 backdrop-brightness-100 backdrop-contrast-100 backdrop-saturate-100":m}),children:(0,a.jsx)(I.A,{name:r,className:(0,n.cn)("",x)})}),(0,a.jsxs)("div",{className:(0,n.cn)("section-header-display__content flex flex-col gap-3 md:gap-4",{"text-center":"center"===f,"items-center":"center"===f}),children:[u&&(0,a.jsx)(i.A,{variant:"label-m",className:m?"text-content-mid-inverse":"text-content-mid",children:u}),(0,a.jsxs)("div",{className:"title-block",children:[(0,a.jsx)(i.A,{variant:"heading-m",className:(0,n.cn)(x,"md:text-heading-l"),children:c}),d&&(0,a.jsx)(i.A,{variant:"heading-m",className:(0,n.cn)(m?"text-content-low-inverse":"text-content-low","md:text-heading-l"),children:d})]}),o&&(0,a.jsx)(i.A,{variant:"label-m",className:(0,n.cn)("max-w-[640px]",x),children:o})]}),p&&(0,a.jsx)("div",{className:"ection-header-display__cta mt-6",children:(0,a.jsx)(s.A,{onClick:p.onClick,variant:"primary",mode:m?"inverse":"default",size:"medium",rightIcon:p.iconName,...h,children:p.label})})]})},C=(0,o.F)("flex gap-10 md:gap-8",{variants:{hasToggle:{true:"flex-col",false:"flex-col xl:flex-row xl:items-between xl:gap-[120px]"}},defaultVariants:{hasToggle:!1}}),D=(0,o.F)("p-6 md:p-10 bg-rug-50"),T=e=>{let{label:t,title:r,subtitle:s,description:l,renderToggle:i,testId:o="faqs-component",className:c,children:d}=e,u=(0,A.A)("md"),p=!!i,m=u?"medium":"small";return(0,a.jsxs)(N,{"data-testid":o,className:(0,n.cn)(C({hasToggle:p}),c,"w-full"),children:[(0,a.jsx)(j,{label:t,title:r,subtitle:s,description:l,className:(0,n.cn)("xl:min-w-[440px]",{"text-center":p,"text-center md:text-left":!p,"mb-6":u&&!p})}),i&&(0,a.jsx)(_.A,{className:"m-auto !max-w-full",children:i({size:m})}),(0,a.jsx)("div",{className:(0,n.cn)(D()),children:(0,a.jsx)(w.A,{size:m,className:"w-full md:min-w-[640px]",children:d})})]})};var S=r(38115),L=r(96014),R=r(37932);let O=(0,o.F)("flex h-9 w-9 items-center justify-center overflow-hidden rounded-full",{variants:{active:{true:"bg-action-button-tertiary-surface-inverse-pressed",false:"bg-content-disabled-inverse"}},defaultVariants:{active:!0}}),U=(0,o.F)("z-1 relative flex w-full flex-col justify-between",{variants:{active:{true:"text-content-high-inverse",false:"text-content-low-inverse"}}}),k=e=>{let{name:t,initials:r,text:s,image:o,actionButton:c,onClickActionButton:d,active:u=!1,testId:p="card-testimonial-component"}=e;return(0,a.jsxs)("div",{"data-active":u,className:"relative flex aspect-[4/5] max-w-[380px] shrink cursor-pointer p-6","data-testid":p,onClick:d,children:[(0,a.jsxs)("div",{className:"absolute inset-0 z-0 overflow-hidden",children:[(0,a.jsx)(l.A,{src:o,alt:"Testimonial from ".concat(t),className:"absolute h-full w-full object-cover",testId:"".concat(p,"-image")}),!u&&(0,a.jsx)("div",{className:"inactive-img-grey-overlay bg-grey-200/50 absolute inset-0 z-[1]"}),(0,a.jsx)("div",{className:"from-deepblue-800/0 to-deepblue-800/80 absolute inset-0 z-[1] bg-gradient-to-b"})]}),c&&(0,a.jsx)("div",{className:"absolute left-1/2 top-1/2 z-[1] -translate-x-1/2 -translate-y-1/2",children:(0,a.jsx)(S.A,{iconName:c,variant:"tertiary",mode:"inverse",disabled:!u,onClick:d})}),(0,a.jsxs)("div",{className:U({active:u}),children:[(0,a.jsxs)("div",{className:"inline-flex items-center gap-2",children:[(0,a.jsx)("div",{className:(0,n.cn)(O({active:u})),children:(0,a.jsx)(i.A,{variant:"label-xs",children:r})}),(0,a.jsx)(i.A,{variant:"body-m-medium",children:t})]}),(0,a.jsx)(i.A,{variant:"title-m",className:"line-clamp-4",children:s})]})]})},M=(0,o.F)("",{variants:{isInverse:{true:"py-20 md:py-[120px] bg-background-inverse",false:"bg-surface-white"}},defaultVariants:{isInverse:!1}}),F=e=>{let{ctaProps:t,headerProps:r,autoplayInterval:l=2e3,showControls:i=!0,showIndicator:o=!0,isInverse:c=!1,slides:d,activeSlide:u=Math.round(d.length/2),className:p,testId:m="testimonial-carousel-component"}=e,[f,x]=(0,E.useState)(u-1),[h,v]=(0,E.useState)(!1),[{currentSlide:g,onSlideChange:b,sliderApiRef:y,...A},{canScrollNext:_,canScrollPrev:w}]=(0,R.x)({defaultSlide:f}),{timeProgress:I,handleManualChange:C}=(e=>{let{totalItems:t,currentIndex:r,onChange:a,intervalDuration:n=5e3,disabled:s=!1,animationDelay:l=0}=e,[i,o]=(0,E.useState)(0),c=(0,E.useRef)(null),d=(0,E.useRef)(!1),u=(0,E.useRef)(null),p=(0,E.useCallback)(()=>{a((r+1)%t)},[r,t,a]);(0,E.useEffect)(()=>{u.current=e=>{let t=Math.min((Date.now()-e)/n*100,100);t>99.5?(o(100),c.current&&(cancelAnimationFrame(c.current),c.current=null),p()):(o(t),c.current=requestAnimationFrame(()=>{u.current&&u.current(e)}))}},[p,n,c]);let m=(0,E.useCallback)(e=>{u.current&&u.current(e)},[]),f=(0,E.useCallback)(()=>
1{if(s||d.current){d.current=!1;return}c.current&&(cancelAnimationFrame(c.current),c.current=null),o(0);let e=Date.now()+l;c.current=requestAnimationFrame(()=>m(e))},[m,s,l]),x=(0,E.useCallback)(e=>{c.current&&(cancelAnimationFrame(c.current),c.current=null),d.current=!0,o(100),a(e)},[a]);return(0,E.useEffect)(()=>(f(),()=>{c.current&&(cancelAnimationFrame(c.current),c.current=null)}),[r,f]),{timeProgress:i,handleManualChange:x}})({totalItems:d.length,currentIndex:f,onChange:x,intervalDuration:l}),D=(0,E.useCallback)(()=>{v(!0)},[]),T=(0,E.useCallback)(e=>{let t=e<f,r=e>f,a=Math.abs(e-f),n=0===a?1:Math.pow(.867,a),s="scale(".concat(n,")");if(t){let t=f-e;s+=" translateX(".concat(190*t,"px)")}else if(r){let t=e-f;s+=" translateX(-".concat(190*t,"px)")}return s},[f]),O=(0,E.useCallback)(e=>{let t=e-1;t>=0&&t<d.length&&(C(t),b({currentSlide:e,canScrollNext:e<d.length,canScrollPrev:e>1}))},[C,b,d.length]);return(0,a.jsxs)(N,{className:(0,n.cn)(M({isInverse:c}),p),"data-testid":m,children:[(0,a.jsx)(j,{...r,isInverse:c,align:"center",className:"mb-14"}),(0,a.jsxs)("div",{className:"w-full max-w-[530px] md:max-w-[784px]",children:[(0,a.jsxs)("div",{className:"flex items-center gap-4",children:[i&&(0,a.jsx)(S.A,{variant:"secondary",mode:c?"inverse":"default",size:"small",iconName:"ui-chevron-left",className:"hidden md:flex",onClick:()=>{D(),O(h?g-1:g+1)},disabled:!w}),(0,a.jsx)(R.A,{currentSlide:f+1,sliderApiRef:y,onSlideChange:b,options:{loop:!1,align:"center",watchDrag:!1,duration:11},className:"*:basis-[300px] *:md:basis-[380px]",...A,children:d.map((e,t)=>{let r=t===f;return(0,a.jsx)("div",{"data-testid":"".concat(t),className:"relative w-fit shrink-0 grow-0 transition-transform duration-[250ms] ease-out",style:{transform:T(t),zIndex:r?20:10-Math.abs(t-f)},children:(0,a.jsx)(k,{...e,active:r,actionButton:e.onClickActionButton?e.actionButton||"ui-play":void 0,onClickActionButton:e.onClickActionButton})},"testimonial-carousel-slide-".concat(e.text,"-").concat(t))})}),i&&(0,a.jsx)(S.A,{variant:"secondary",mode:c?"inverse":"default",size:"small",iconName:"ui-chevron-right",className:"hidden md:flex",onClick:()=>{D(),O(h?g+1:g+2)},disabled:!_})]}),o&&d.length>1&&(0,a.jsx)("div",{className:"mx-auto mt-6 w-fit",children:(0,a.jsx)(L.A,{activeStep:f+1,onStepClick:O,timeProgress:I,isInverse:c,size:"mid",steps:d.length,type:"dot"})})]}),(null==t?void 0:t.onClick)&&(0,a.jsx)(s.A,{...t,mode:c?"inverse":"default",className:"w-fit"})]})};var B=r(834),z=r(82911),H=r(37587),V=r(19664),W=r.n(V);let q=e=>{let{location:t,queryParams:r}=e,n=(0,z.w)("ciudades/".concat(H.UC[t.slug]||"CIUDADES__GRAL.jpg")),l=r?"/".concat(t.slug,"?").concat(r):"/".concat(t.slug);return(0,a.jsxs)(W(),{prefetch:!1,href:l,className:"relative h-full flex items-center justify-center",children:[(0,a.jsx)("img",{src:n,alt:t.name,className:"w-full h-full object-cover"}),(0,a.jsx)(s.A,{variant:"tertiary",mode:"inverse",className:"absolute max-w-[calc(100%-1.5rem)]",withChevronAnimation:!0,children:t.name})]})};var P=r(74847);let G=e=>{let{className:t,mode:r="expanding",headerProps:l,ctaProps:i,gridItems:o,itemsPerPage:c=6,headerContent:d}=e,[u,p]=(0,E.useState)(c),m=(0,E.useMemo)(()=>(null==i?void 0:i.href)?{as:"link",href:i.href,isInternalLink:i.isInternalLink}:{as:"button"},[i]),f=(0,E.useMemo)(()=>"all"===r?o:o.slice(0,u),[o,r,u]);return(0,a.jsxs)(N,{className:(0,n.cn)("py-20 md:py-30 flex flex-col gap-14",t,{"gap-4":!!d}),children:[(0,a.jsx)(j,{align:"center",...l}),d,(0,a.jsx)("div",{className:"w-full gap-4 flex *:min-w-[calc(50%-1rem)] *:md:min-w-[calc(33.3%-1rem)] *:h-[200px] *:md:h-[240px] *:lg:h-[398px] *:flex-1 flex-wrap",children:f.map((e,t)=>(0,a.jsx)("div",{children:e},"grid-item-".concat(t)))}),"expanding"===r&&u<o.length&&i&&(0,a.jsx)(s.A,{variant:"secondary",...m,rightIcon:i.iconName,onClick:e=>{var t;p(e=>e+c),null==i||null==(t=i.onClick)||t.call(i,e)},children:i.label})]})},Y=e=>{let{provinces:t}=e,{t:r}=(0,B.WD)(),n=(0,E.useMemo)(()=>(null==t?void 0:t.sort((e,t)=>(0,P.J)(e.slug,t.slug)).map(e=>(0,a.jsx)(q,{location:e},e.slug)))||[],[t]);return(0,a.jsx)(G,{className:"pb-0 md:pb-0 -mt-10 md:-mt-12",headerProps:{title:r("rentGridProvinces.title"),description:r("rentGridProvinces.description")},ctaProps:{label:r("rentGridProvinces.ctaLabel")},gridItems:n})};var X=r(24333);function K(e){let{t}=(0,B.WD)("rent");return(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("div",{className:"md:gap-30 md:mb-30 mb-20 flex flex-col gap-20",children:[(0,a.jsx)(Y,{provinces:e.provinces}),(0,a.jsx)(T,{...{label:t("faqs.label"),title:t("faqs.title"),children:[{title:t("faqs.faq1.title"),content:t("faqs.faq1.content")},{title:t("faqs.faq2.title"),content:t("faqs.faq2.content")},{title:t("faqs.faq3.title"),content:t("faqs.faq3.content")},{title:t("faqs.faq4.title"),content:t("faqs.faq4.content")},{title:t("faqs.faq5.title"),content:t("faqs.faq5.content")},{title:t("faqs.faq6.title"),content:t("faqs.faq6.content")}].map((e,t)=>(0,a.jsx)(w.A.Item,{title:e.title,children:e.content},"faq-".concat(t)))},className:"bg-surface-rug-low md:py-30 py-20"}),(0,a.jsx)(F,{...{headerProps:{title:t("reviews.headerProps.title"),subtitle:t("reviews.headerProps.subtitle"),label:t("reviews.headerProps.label")},slides:[{name:"Irina Delgado",image:(0,z.w)("servicios-rtl-alquiler/07/RTL-07-TESTIMONIAL-01.jpg"),initials:"ID",text:t("reviews.slide1.text")},{name:"Sof\xeda Pe\xf1alver",image:(0,z.w)("servicios-rtl-alquiler/07/RTL-07-TESTIMONIAL-02.jpg"),initials:"SP",text:t("reviews.slide2.text")},{name:"Adri\xe1n Blanco",image:(0,z.w)("servicios-rtl-alquiler/07/RTL-07-TESTIMONIAL-03.jpg"),initials:"AB",text:t("reviews.slide3.text")}],autoplayInterval:5500}}),(0,a.jsx)(y,{...{imageUrl:(0,z.w)("servicios-rtl-alquiler/08/SERVICIOS-ALQUILER-08-03.jpg"),cardProps:{label:t("crossell.label"),title:t("crossell.title"),subtitle:t("crossell.subtitle"),primaryButtonLabel:t
1("crossell.primaryButtonLabel"),primaryButtonIcon:"ui-chevron-right",primaryButtonUrl:(0,X.BK)("sales"),primaryButtonIsInternalLink:!0,secondaryButtonLabel:t("crossell.secondaryButtonLabel"),secondaryButtonIcon:"ui-chevron-right",secondaryButtonUrl:(0,X.BK)("acquisitions"),secondaryButtonIsInternalLink:!0}}})]})})}},82723:(e,t,r)=>{"use strict";r.d(t,{A:()=>g});var a=r(54568),n=r(87557),s=r(7620);let l=function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0,[r,a]=(0,s.useState)(e);return(0,s.useEffect)(()=>{void 0!==t&&a(t)},[t]),[r,()=>{a(e=>!e)}]};var i=r(15425),o=r(54616);let c=(0,o.F)("relative border-b",{variants:{mode:{default:"border-b-border-low duration-500",inverse:"border-border-mid-inverse"},size:{small:"",medium:"",large:""}}}),d=(0,o.F)("flex flex-col w-full items-center justify-between text-left focus-visible:ring-2 focus-visible:ring-border-highlight/50 focus:outline-none",{variants:{size:{small:"text-label-s pb-4",medium:"text-label-m pb-4",large:"text-title-s pb-6"},mode:{default:"text-content-high",inverse:"text-content-high-inverse"}}}),u=(0,o.F)("text-label-m ml-auto pl-4",{variants:{mode:{default:"text-content-mid",inverse:"text-content-mid-inverse"},size:{small:"text-label-s",medium:"text-label-m",large:"text-label-m"}}}),p=(0,o.F)("text-label-m w-full mb-2",{variants:{mode:{default:"text-content-mid",inverse:"text-content-mid-inverse"},size:{small:"text-label-s",medium:"text-label-m",large:"text-label-m"}}}),m=(0,o.F)("transform transition-transform duration-500 ml-4",{variants:{isOpen:{true:["rotate-180"],false:["rotate-0"]},size:{small:"h-[20px] w-[20px]",medium:"h-[24px] w-[24px]",large:"h-[24px] w-[24px]"}}}),f=(0,o.F)("grid pb-0 transition-all ease-in-out duration-300",{variants:{isOpen:{true:"grid-rows-[1fr]",false:"grid-rows-[0fr]"},mode:{default:"text-content-high",inverse:"text-content-high-inverse"},size:{small:"text-body-s",medium:"text-body-m",large:"text-body-m"},textContentColor:{high:"text-content-high",mid:"text-content-mid"}},compoundVariants:[{isOpen:!0,size:["small","medium"],class:"pb-4"},{isOpen:!0,size:"large",class:"pb-6"},{mode:"inverse",textContentColor:"high",class:"text-content-high-inverse"},{mode:"inverse",textContentColor:"mid",class:"text-content-mid-inverse"}]}),x=e=>{let{title:t,children:r,label:o,size:x="medium",mode:h="default",textContentColor:v="high",defaultOpen:g,open:b,className:y,testId:E="accordion-component",topLabel:A,onToggle:N}=e,[_,w]=l(g,b),I=(0,s.useRef)(null);(0,s.useEffect)(()=>{I.current&&_&&(I.current.style.overflow="visible")},[]);let j=(0,s.useCallback)((e,t)=>{t.target.dataset.testid==="".concat(E,"-content-panel")&&"grid-template-rows"===t.nativeEvent.propertyName&&I.current&&("end"===e&&"false"===t.target.ariaHidden?I.current.style.overflow="visible":I.current.style.overflow="hidden")},[E]);return(0,a.jsxs)("article",{className:(0,n.cn)(c({mode:h,size:x,className:y})),"data-testid":E,children:[(0,a.jsxs)("button",{className:(0,n.cn)(d({mode:h,size:x})),onClick:()=>{w(),null==N||N()},"aria-expanded":_,"data-testid":"".concat(E,"-header-button"),children:[A&&(0,a.jsx)("span",{className:(0,n.cn)(p({mode:h,size:x})),"data-testid":"".concat(E,"-top-header-label"),children:A}),(0,a.jsxs)("div",{className:"focus-visible:ring-border-highlight/50 flex w-full items-center justify-between text-left focus:outline-none focus-visible:ring-2",children:["string"==typeof t?(0,a.jsx)("span",{children:t}):t,o&&(0,a.jsx)("span",{className:(0,n.cn)(u({mode:h,size:x})),"data-testid":"".concat(E,"-header-label"),children:o}),(0,a.jsx)(i.A,{name:"ui-chevron-down",className:(0,n.cn)(m({isOpen:_,size:x})),testId:"".concat(E,"-chevron-icon")})]})]}),(0,a.jsx)("div",{"data-testid":"".concat(E,"-content-panel"),role:"region","aria-hidden":!_,onTransitionStart:e=>j("start",e),onTransitionEnd:e=>j("end",e),className:(0,n.cn)(f({mode:h,size:x,textContentColor:v,isOpen:_})),children:(0,a.jsx)("div",{ref:I,className:"overflow-hidden",children:r})})]})},h=(0,s.createContext)({}),v=e=>{let{children:t,mode:r,size:s,textContentColor:l,className:i,testId:o="accordion-group-component"}=e;return(0,a.jsx)(h.Provider,{value:{size:s,mode:r,textContentColor:l,testId:o},children:(0,a.jsx)("div",{"data-testid":o,className:(0,n.cn)("flex flex-col gap-4 whitespace-pre-wrap",{"gap-6":"large"===s},i),children:t})})};v.Item=e=>{let{children:t,mode:r,size:n,textContentColor:l,...i}=e,{mode:o,size:c,textContentColor:d,testId:u}=(()=>{let e=(0,s.useContext)(h);if(void 0===e)throw Error("useAccordionGroupContext must be used within a AccordionGroupContextProvider");return e})(),p=(0,s.useId)();return(0,a.jsx)(x,{mode:r||o,size:n||c,textContentColor:l||d,testId:"".concat(u,"-item-").concat(p),...i,children:t})};let g=v},82911:(e,t,r)=>{"use strict";r.d(t,{w:()=>n});let a=(0,r(63653).lh)("NEXT_PUBLIC_CLK_PUBLIC_CDN_URL"),n=e=>{let t="".concat(a,"/images3_0/");return"string"!=typeof e?e.pathnames.map(r=>"".concat(t).concat(e.basePath).concat(r)):"".concat(t).concat(e)}},99664:()=>{}},e=>{e.O(0,[8207,31,7599,5681,2981,5313,587,2109,7358],()=>e(e.s=42391)),_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.