1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5613],{82751:function(e,n,l){l.d(n,{Z:function(){return o}});var t=l(65413),i=l(90675),r=l(97407);function o(e,n){(0,r.Z)(2,arguments);var l=(0,i.Z)(e),o=(0,t.Z)(n);return isNaN(o)?new Date(NaN):(o&&l.setDate(l.getDate()+o),l)}},35656:function(e,n,l){l.d(n,{Z:function(){return o}});var t=l(65413),i=l(82751),r=l(97407);function o(e,n){(0,r.Z)(2,arguments);var l=(0,t.Z)(n);return(0,i.Z)(e,7*l)}},54369:function(e,n,l){l.d(n,{Z:function(){return r}});var t=l(97407),i=l(65413);function r(e,n){(0,t.Z)(1,arguments);var l,r,h,f=(0,i.Z)(null!==(l=null==n?void 0:n.additionalDigits)&&void 0!==l?l:2);if(2!==f&&1!==f&&0!==f)throw RangeError("additionalDigits must be 0, 1 or 2");if(!("string"==typeof e||"[object String]"===Object.prototype.toString.call(e)))return new Date(NaN);var v=function(e){var n,l={},t=e.split(o.dateTimeDelimiter);if(t.length>2)return l;if(/:/.test(t[0])?n=t[0]:(l.date=t[0],n=t[1],o.timeZoneDelimiter.test(l.date)&&(l.date=e.split(o.timeZoneDelimiter)[0],n=e.substr(l.date.length,e.length))),n){var i=o.timezone.exec(n);i?(l.time=n.replace(i[1],""),l.timezone=i[1]):l.time=n}return l}(e);if(v.date){var g=function(e,n){var l=RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+n)+"})|(\\d{2}|[+-]\\d{"+(2+n)+"})$)"),t=e.match(l);if(!t)return{year:NaN,restDateString:""};var i=t[1]?parseInt(t[1]):null,r=t[2]?parseInt(t[2]):null;return{year:null===r?i:100*r,restDateString:e.slice((t[1]||t[2]).length)}}(v.date,f);r=function(e,n){if(null===n)return new Date(NaN);var l,t,i=e.match(a);if(!i)return new Date(NaN);var r=!!i[4],o=c(i[1]),s=c(i[2])-1,d=c(i[3]),p=c(i[4]),h=c(i[5])-1;if(r)return p>=1&&p<=53&&h>=0&&h<=6?((l=new Date(0)).setUTCFullYear(n,0,4),t=l.getUTCDay()||7,l.setUTCDate(l.getUTCDate()+((p-1)*7+h+1-t)),l):new Date(NaN);var f=new Date(0);return s>=0&&s<=11&&d>=1&&d<=(u[s]||(x(n)?29:28))&&o>=1&&o<=(x(n)?366:365)?(f.setUTCFullYear(n,s,Math.max(o,d)),f):new Date(NaN)}(g.restDateString,g.year)}if(!r||isNaN(r.getTime()))return new Date(NaN);var m=r.getTime(),j=0;if(v.time&&isNaN(j=function(e){var n=e.match(s);if(!n)return NaN;var l=p(n[1]),t=p(n[2]),i=p(n[3]);return(24===l?0===t&&0===i:i>=0&&i<60&&t>=0&&t<60&&l>=0&&l<25)?36e5*l+6e4*t+1e3*i:NaN}(v.time)))return new Date(NaN);if(v.timezone){if(isNaN(h=function(e){if("Z"===e)return 0;var n=e.match(d);if(!n)return 0;var l="+"===n[1]?-1:1,t=parseInt(n[2]),i=n[3]&&parseInt(n[3])||0;return i>=0&&i<=59?l*(36e5*t+6e4*i):NaN}(v.timezone)))return new Date(NaN)}else{var b=new Date(m+j),y=new Date(0);return y.setFullYear(b.getUTCFullYear(),b.getUTCMonth(),b.getUTCDate()),y.setHours(b.getUTCHours(),b.getUTCMinutes(),b.getUTCSeconds(),b.getUTCMilliseconds()),y}return new Date(m+j+h)}var o={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},a=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,s=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,d=/^([+-])(\d{2})(?::?(\d{2}))?$/;function c(e){return e?parseInt(e):1}function p(e){return e&&parseFloat(e.replace(",","."))||0}var u=[31,null,31,30,31,30,31,31,30,31,30,31];function x(e){return e%400==0||e%4==0&&e%100!=0}},87298:function(e,n,l){l.d(n,{Z:function(){return a}});var t=l(90675),i=l(65413),r=l(97407),o=l(99436);function a(e,n){(0,r.Z)(1,arguments);var l,a,s,d,c,p,u,x,h=(0,o.j)(),f=(0,i.Z)(null!==(l=null!==(a=null!==(s=null!==(d=null==n?void 0:n.weekStartsOn)&&void 0!==d?d:null==n?void 0:null===(c=n.locale)||void 0===c?void 0:null===(p=c.options)||void 0===p?void 0:p.weekStartsOn)&&void 0!==s?s:h.weekStartsOn)&&void 0!==a?a:null===(u=h.locale)||void 0===u?void 0:null===(x=u.options)||void 0===x?void 0:x.weekStartsOn)&&void 0!==l?l:0);if(!(f>=0&&f<=6))throw RangeError("weekStartsOn must be between 0 and 6 inclusively");var v=(0,t.Z)(e),g=v.getDay();return v.setDate(v.getDate()-((g<f?7:0)+g-f)),v.setHours(0,0,0,0),v}},68297:function(e,n,l){l.d(n,{Z:function(){return t}});let t=(0,l(97129).Z)("MapPin",[["path",{d:"M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z",key:"2oe9fu"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]])},83094:function(e,n,l){l.r(n),l.d(n,{default:function(){return H}});var t=l(31549),i=l(44194),r=l(66058),o=l(96195),a=l(89813),s=l(21200),d=l(81485),c=l(20575),p=l(81669),u=l(23568),x=l(99116),h=l(66666),f=l(2444),v=l.n(f),g=l(7909),m=l(36635),j=l(35486),b=l(52583),y=l(49143),k=l(61187),_=l(21489),w=l(43023),N=function(e){let{...n}=e,{t:l}=(0,w.$G)(),{propertyDetails:i}=(0,c.usePropertyDetails)();return(0,t.jsxs)(p.k,{justifyContent:"space-between",...n,children:[(null==i?void 0:i.propertySubType)&&(0,t.jsx)(y.Z,{textTransform:"initial",Icon:(0,t.jsx)(g.Ncl,{color:m.O9.black[80]}),label:l((0,_.Ch)(i.propertySubType)),width:"24px",height:"24px"}),(null==i?void 0:i.orientation)&&(0,t.jsx)(y.Z,{Icon:(0,t.jsx)(g.QqS,{color:m.O9.black[80]}),label:l((0,_.T8)(i.orientation)),width:"24px",height:"24px"}),(null==i?void 0:i.view)&&(0,t.jsx)(y.Z,{Icon:(0,t.jsx)(j.Cm,{width:"24px",height:"24px",color:m.O9.black[80]}),label:i.view.toLowerCase(),width:"24px",height:"24px"}),(null==i?void 0:i.propertyCondition)&&(0,t.jsx)(y.Z,{Icon:(0,t.jsx)(g.CE2,{color:m.O9.black[80]}),label:l((0,_.ec)(i.propertyCondition)),width:"24px",height:"24px"})]})},C=l(15885),S=l(49305),T=function(e){var n,l,o,a,s,d,f,w;let{pageNumber:T}=e,{propertyDetails:I}=(0,c.usePropertyDetails)(),{pageDetails:D}=(0,r.usePdfPage)(),{t:Z,i18n:F}=(0,S.$)(),z=(0,i.useMemo)(()=>{var e,n;return(null==D?void 0:null===(e=D.sourceChannel)||void 0===e?void 0:e.includes(C.x.CASAFARI_B2B))||(null==D?void 0:null===(n=D.sourceChannel)||void 0===n?void 0:n.includes(C.x.CASAFARI_B2C))},[D]),O="es"===F.language?"squareMeters":"squareFeet",P=(null==I?void 0:null===(l=I.media)||void 0===l?void 0:null===(n=l[1])||void 0===n?void 0:n.url)||(null==I?void 0:null===(a=I.media)||void 0===a?void 0:null===(o=a[0])||void 0===o?void 0:o.url)||(null==I?void 0:null===(d=I.placeholderMedia)||void 0===d?void 0:null===(s=d[0])||void 0===s?void 0:s.url);return(0,t.jsx)(b.Z,{pageNumber:T,listingType:null==I?void 0:I.listingType,children:(0,t.jsxs)(p.k,{gap:"56px",flex:1,children:[(0,t.jsxs)(p.k,{flex:1,gap:"24px",direction:"column",children:[(0,t.jsx)(u.X,{fontSize:"40px",fontFamily:"Inter",fontWeight:"500",marginBottom:"32px",letterSpacing:"-2px",lineHeight:"112.5%",children:Z("pdf.title")}),(0,t.jsx)(p.k,{direction:z?"column":"row",gap:z?"24px":void 0,justifyContent:"space-between",children:(0,t.jsxs)(p.k,{flex:1,direction:"column",gap:"16px",children:[(0,t.jsxs)(p.k,{flex:1,justifyContent:"space-between",children:[(null==I?void 0:I.bedrooms)?(0,t.jsx)(y.Z,{Icon:(0,t.jsx)(g.Bdi,{color:m.O9.black[80]}),label:"".concat(I.bedrooms," ").concat(Z("pdf.rooms")),width:"24px",height:"24px"}):null,(null==I?void 0:I.bathrooms)?(0,t.jsx)(y.Z,{Icon:(0,t.jsx)(g.khM,{color:m.O9.black[80]}),label:"".concat(I.bathrooms," ").concat(Z("pdf.toilets")),width:"24px",height:"24px",stroke:"neutral.black.80"}):null,(null==I?void 0:I.area)&&(0,t.jsx)(y.Z,{Icon:(0,t.jsx)(g.$uz,{color:m.O9.black[80]}),label:Z("main_info.area",{label:null==I?void 0:I.area[O]}),width:"24px",height:"24px"}),(null==I?void 0:I.furnishingStatus)&&(0,t.jsx)(y.Z,{Icon:(0,t.jsx)(g.$uz,{color:m.O9.black[80]}),label:Z("pdf.furnished_status.".concat(I.furnishingStatus)),width:"24px",height:"24px"})]}),(0,t.jsxs)(p.k,{flex:1,alignItems:"center",gap:"16px",children:[(null==I?void 0:I.propertyDeveloper)&&(0,t.jsx)(y.Z,{Icon:(0,t.jsx)(g.CE2,{color:m.O9.black[80]}),label:I.propertyDeveloper,width:"24px",height:"24px"}),(null==I?void 0:I.ownershipModel)&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(j.Cv,{width:"6px",height:"6px"}),(0,t.jsx)(x.x,{children:Z("pdf.ownership_model.".concat(I.ownershipModel))})]})]})]})}),z?(0,t.jsx)(N,{direction:"column",gap:"24px"}):(0,t.jsx)(x.x,{color:"neutral.700",noOfLines:16,whiteSpace:"pre-wrap",children:null!==(w=null==I?void 0:I.description)&&void 0!==w?w:""})]}),(0,t.jsxs)(p.k,{position:"relative",direction:"column",flex:1,gap:"24px",children:[(0,t.jsx)(h.xu,{position:"relative",flex:1,borderRadius:"16px",overflow:"hidden",children:(0,t.jsx)(v(),{priority:!0,src:P,fill:!0,quality:50,alt:"",style:{objectFit:"cover"}})}),(0,t.jsx)(p.k,{position:"absolute",top:"16px",left:"16px",gap:"16px",children:!!(null==I?void 0:null===(f=I.tags)||void 0===f?void 0:f.length)&&(0,_.NJ)(I.tags).map(e=>(0,t.jsx)(k.Z,{label:Z(e.title),type:e.type},e.type))}),(0,t.jsxs)(p.k,{alignItems:"center",gap:"8px",children:[(null==I?void 0:I.availability)&&(0,t.jsx)(x.x,{fontSize:"16px",color:"neutral.700",children:Z((0,_.lm)(I.availability))}),!!(null==I?void 0:I.constructionYear)&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(j.Cv,{width:"6px",height:"6px"}),(0,t.jsxs)(x.x,{fontSize:"16px",color:"neutral.700",children:[Z("pdf.year_of_construction"),":"," ",I.constructionYear]})]})]}),!z&&(0,t.jsx)(N,{})]})]})})};function I(e){let{url:n}=e;return(0,t.jsx)(h.xu,{flex:1,position:"relative",borderRadius:"20px",overflow:"hidden",children:(0,t.jsx)(v(),{priority:!0,src:n,alt:n,fill:!0,style:{objectFit:"cover"},quality:50})})}var D=function(e){var n;let{pageNumber:l,totalPages:r,updateTotalPages:o}=e,{propertyDetails:a}=(0,c.usePropertyDetails)(),s=(null==a?void 0:null===(n=a.media)||void 0===n?void 0:n.length)>0?a.media:null==a?void 0:a.placeholderMedia,d=function e(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(0===n.length)return[];let t=l%2==0?1:2;return[n.slice(0,t),...e(n.slice(t),l+1)]}(null==s?void 0:s.map(e=>e.url));return(0,i.useEffect)(()=>{d.length+l!==r&&(null==o||o(d.length+l))},[d.length]),(0,t.jsx)(t.Fragment,{children:d.map((e,n)=>(0,t.jsx)(b.Z,{listingType:null==a?void 0:a.listingType,pageNumber:n+l,children:(0,t.jsxs)(p.k,{flex:1,gap:"23px",children:[(0,t.jsx)(I,{url:e[0]}),e[1]&&(0,t.jsx)(I,{url:e[1]})]})},e[0]))})},Z=l(98822),F=function(){var e,n,l,i,r,o,a,s,d;let{t:f}=(0,S.$)(),{propertyDetails:g}=(0,c.usePropertyDetails)(),m=null==g?void 0:null===(e=g.locations)||void 0===e?void 0:e[0],y=null==g?void 0:null===(n=g.locations)||void 0===n?void 0:n[1],k=null==g?void 0:null===(l=g.address)||void 0===l?void 0:l.streetName,_=(null==m?void 0:m.name)||"",w=(null==y?void 0:y.name)||"",N=null==g?void 0:null===(r=g.media)||void 0===r?void 0:null===(i=r[0])||void 0===i?void 0:i.url,C=null!=N?N:null==g?void 0:null===(a=g.placeholderMedia)||void 0===a?void 0:null===(o=a[0])||void 0===o?void 0:o.url;return(0,t.jsx)(b.Z,{listingType:null==g?void 0:g.listingType,showFooter:!1,children:(0,t.jsx)(h.xu,{flex:1,children:(0,t.jsxs)(p.k,{direction:"column",height:"100%",gap:"32px",children:[(0,t.jsx)(p.k,{position:"relative",flex:1,borderRadius:"24px",overflow:"hidden",children:(0,t.jsx)(v(),{src:C,fill:!0,priority:!0,alt:"",style:{objectFit:"cover"},quality:50})}),(0,t.jsxs)(p.k,{direction:"column",children:[(0,t.jsx)(u.X,{fontSize:"28px",fontFamily:"Inter",fontWeight:"500",marginBottom:"18px","letter-spacing":"-1.8px",children:null!==(s=null==g?void 0:g.title)&&void 0!==s?s:""}),(0,t.jsxs)(p.k,{id:"abas",children:[(0,t.jsxs)(p.k,{alignItems:"center",gap:"8px",children:[(0,t.jsx)(x.x,{fontSize:"18px",fontFamily:"Inter",color:"neutral.black.80",children:"".concat(_).concat(k?", ".concat(k):"")}),w&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(j.Cv,{width:"6px",height:"6px"}),(0,t.jsx)(x.x,{fontSize:"18px",fontFamily:"Inter",color:"neutral.black.80",children:w})]})]}),(0,t.jsxs)(Z.r,{href:null!==(d=null==g?void 0:g.externalPropertyReference)&&void 0!==d?d:"/",marginLeft:"auto",display:"flex",justifyItems:"center",gap:"16px",children:[(0,t.jsx)(x.x,{color:"neutral.700",as:"span",fontFamily:"Inter",children:f("pdf.go_to_website")}),(0,t.jsx)(j.h0,{})]})]})]})]})})})};let z={1:[{icon:(0,t.jsx)(g.bPE,{}),text:"personal_shopper.smiley_linear_super_good"},{icon:(0,t.jsx)(g.lIn,{}),text:"personal_shopper.real_estate_market_house_rise"},{icon:(0,t.jsx)(g.Rit,{}),text:"personal_shopper.legal_verdict"}],2:[{icon:(0,t.jsx)(g.qFk,{}),text:"personal_shopper.network"},{icon:(0,t.jsx)(g.ldF,{}),text:"personal_shopper.real_estate_deal_pay"},{icon:(0,t.jsx)(g.MsR,{}),text:"personal_shopper.real_estate_deal_shake"},{icon:(0,t.jsx)(g.vC0,{}),text:"personal_shopper.color_palette_sample"}],3:[{icon:(0,t.jsx)(g.xDV,{}),text:"personal_shopper.real_estate_market_scale"},{icon:(0,t.jsx)(g.tZI,{}),text:"personal_shopper.real_estate_favorite_house_choose"},{icon:(0,t.jsx)(g.iU,{}),text:"personal_shopper.time_clock_six"}]};function O(e){let{icon:n,text:l}=e,[i]=(0,w.$G)();return(0,t.jsxs)(p.k,{direction:"column",background:m.O9.opacity.black["8%"],p:"12px",width:"210px",borderRadius:"16px",alignItems:"center",gap:"12px",children:[(0,t.jsx)(p.k,{alignItems:"center",justifyContent:"center",width:"48px",height:"48px",borderRadius:"50%",background:"white",children:n}),(0,t.jsx)(x.x,{textAlign:"center",fontSize:"14px",children:i(l)})]})}let P={1:"0px",2:"-95px",3:"-50px"};var R=function(e){let{pageNumber:n}=e,[l]=(0,w.$G)(),{propertyDetails:i}=(0,c.usePropertyDetails)();return(0,t.jsx)(b.Z,{pageNumber:n,listingType:null==i?void 0:i.listingType,children:(0,t.jsxs)(p.k,{flex:1,position:"relative",children:[(0,t.jsx)(p.k,{gap:"12px",position:"absolute",children:Object.entries(z).map(e=>{let[n,l]=e;return(0,t.jsx)(p.k,{direction:"column",gap:"12px",marginTop:P[n],children:l.map(e=>(0,t.jsx)(O,{icon:e.icon,text:e.text},e.text))},n)})}),(0,t.jsxs)(p.k,{direction:"column",maxWidth:"382px",justifyContent:"center",alignItems:"flex-end",ml:"auto",children:[(0,t.jsx)(u.X,{color:m.O9.black[120],fontSize:"32px",fontWeight:"500",mb:"12px",textAlign:"right",letterSpacing:"-2px",children:l("pdf.why_personal_shopper")}),(0,t.jsx)(x.x,{color:m.O9.black[80],textAlign:"right",maxWidth:"282px",children:l("pdf.personal_shopper_description")})]})]})})},M=l(42867),A=l(7434),U=(0,l(12077).I)({viewBox:"0 0 14 14",path:(0,t.jsx)("g",{fill:"currentColor",children:(0,t.jsx)("polygon",{points:"5.5 11.9993304 14 3.49933039 12.5 2 5.5 8.99933039 1.5 4.9968652 0 6.49933039"})})}),W=l(43742),E=function(e){let{pageNumber:n}=e,{t:l,i18n:i}=(0,S.$)(),{propertyDetails:r}=(0,c.usePropertyDetails)(),o=(null==r?void 0:r.listingType)==="SALE",a=(0,_.cc)(null==r?void 0:r.businessEntity),s="es"===i.language?"squareMeters":"squareFeet";return(0,t.jsx)(b.Z,{pageNumber:n,listingType:null==r?void 0:r.listingType,children:(0,t.jsxs)(p.k,{flex:1,gap:"40px",direction:"column",fontFamily:"Inter",children:[(0,t.jsxs)(h.xu,{children:[(0,t.jsx)(u.X,{fontSize:"48px",mb:"16px",fontWeight:"500",fontFamily:"",children:l(o?"pdf.all_things_financial_explained":"pdf.price")}),(0,t.jsxs)(x.x,{color:"neutral.black.80",children:[l("pdf.financial_information")," ",l(o?"pdf.sale":"pdf.rental"),"."]})]}),(0,t.jsx)(M.i,{}),(0,t.jsxs)(p.k,{children:[(0,t.jsxs)(h.xu,{children:[(0,t.jsx)(x.x,{color:"neutral.black.120",children:l(o?"pdf.sale":"pdf.rental")}),(0,t.jsxs)(x.x,{fontSize:"48px",children:[(0,_.T4)(o?null==r?void 0:r.price:null==r?void 0:r.rentalPrice),l("pdf.price_unit")," ",!o&&a&&(null==r?void 0:r.rentalPriceTimeUnit)&&"/".concat(l("MONTH"===r.rentalPriceTimeUnit?"pdf.month":"pdf.year")),!o&&!a&&"/".concat(l("pdf.rental_peri
1od"))]})]}),o&&(0,t.jsxs)(h.xu,{ml:"auto",children:[(0,t.jsx)(x.x,{color:"neutral.black.120",children:l("pdf.price_per_area")}),(0,t.jsxs)(x.x,{fontSize:"48px",children:[Math.ceil(null==r?void 0:r.pricePerUnit[s]),l("pdf.price_unit")]})]})]}),(0,t.jsx)(M.i,{}),o?(0,t.jsxs)(A.r,{gridTemplateColumns:a?"repeat(1, 1fr)":"repeat(3, 1fr)",gap:"60px",children:[!a&&!!(null==r?void 0:r.propertyTax)&&(0,t.jsxs)(p.k,{gap:"8px",direction:"column",children:[(0,t.jsx)(x.x,{color:"neutral.black.80",children:"IBI"}),(0,t.jsxs)(x.x,{fontWeight:"600",fontSize:"24px",children:[null==r?void 0:r.propertyTax,l("pdf.IBI_fee")]}),(0,t.jsx)(x.x,{color:"neutral.black.80",children:l("pdf.IBI_description")})]}),!a&&!!(null==r?void 0:r.communityFee)&&(0,t.jsxs)(p.k,{gap:"8px",direction:"column",children:[(0,t.jsx)(x.x,{color:"neutral.black.80",children:l("pdf.community_expenses")}),(0,t.jsxs)(x.x,{fontWeight:"600",fontSize:"24px",children:[null==r?void 0:r.communityFee," ",l("pdf.community_expenses_fee")]}),(0,t.jsx)(x.x,{color:"neutral.black.80",children:l("pdf.community_expenses_description")})]}),!a&&!!(null==r?void 0:r.energyCertificate)&&(0,t.jsxs)(p.k,{gap:"8px",direction:"column",children:[(0,t.jsx)(x.x,{color:"neutral.black.80",children:l("pdf.energy_certificate")}),(0,t.jsx)(x.x,{fontWeight:"600",fontSize:"24px",children:r.energyCertificate}),(0,t.jsx)(x.x,{color:"neutral.black.80",children:l("pdf.energy_certificate_description")})]})]}):(0,t.jsxs)(p.k,{gap:"120px",flexWrap:"wrap",children:[(null==r?void 0:r.moveInDate)&&(0,t.jsxs)(h.xu,{children:[(0,t.jsx)(x.x,{color:"neutral.black.80",fontSize:"18px",children:l("pdf.date_of_availability")}),(0,t.jsx)(x.x,{color:"neutral.black.120",fontSize:"24px",fontWeight:"600",children:(0,_.p6)(r.moveInDate)})]}),!o&&a&&(null==r?void 0:r.rentalInstallmentsPerYear)&&(0,t.jsxs)(h.xu,{children:[(0,t.jsx)(x.x,{color:"neutral.black.80",fontSize:"18px",children:l("pdf.installments_per_year")}),(0,t.jsx)(x.x,{color:"neutral.black.120",fontSize:"24px",fontWeight:"600",children:r.rentalInstallmentsPerYear})]}),!o&&!a&&(null==r?void 0:r.rentalContractType)&&(0,t.jsxs)(h.xu,{children:[(0,t.jsx)(x.x,{color:"neutral.black.80",fontSize:"18px",children:l("pdf.annual_contract")}),(0,t.jsx)(x.x,{color:"neutral.black.120",fontSize:"24px",fontWeight:"600",children:(null==r?void 0:r.rentalContractType)==="PERMANENT"?(0,t.jsxs)(t.Fragment,{children:[l("pdf.yes"),(0,t.jsx)(U,{ml:"8px",width:"20px",height:"20px",color:"positive"})]}):(0,t.jsxs)(t.Fragment,{children:[l("pdf.no"),(0,t.jsx)(W.T,{ml:"8px",width:"14px",height:"14px",color:"neutral.black.80"})]})})]})]})]})})},$=l(68297),B=l(91815);let q=l.n(B)()(()=>Promise.all([l.e(1968),l.e(2222),l.e(3863)]).then(l.bind(l,43863)),{loadableGenerated:{webpack:()=>[43863]},ssr:!1});var Y=function(e){var n,l;let{pageNumber:i}=e,[r]=(0,w.$G)(),{propertyDetails:o}=(0,c.usePropertyDetails)(),{coordinates:a,address:s,country:d,locations:u}=null!=o?o:{},f=null==u?void 0:u.find(e=>10===e.adminLevel),v=null==u?void 0:u.find(e=>8===e.adminLevel);return(0,t.jsxs)(b.Z,{pageNumber:i,title:r("pdf.location"),children:[(0,t.jsxs)(p.k,{gap:"20px",mt:"32px",mb:"20px",fontFamily:"Inter",children:[(0,t.jsxs)(h.xu,{border:"1px solid",borderColor:m.O9.black[20],borderRadius:"16px",p:"15px 20px",flex:"4",children:[(0,t.jsx)(p.k,{alignItems:"center",justifyContent:"center",bg:m.O9.black[20],width:"32px",aspectRatio:"1",borderRadius:"32px",mb:"4px",children:(0,t.jsx)($.Z,{width:"16px",height:"16px",color:m.O9.black[80]})}),(0,t.jsx)(x.x,{fontSize:"18px",fontWeight:"500",color:m.O9.black[120],children:null==s?void 0:s.streetName})]}),(0,t.jsxs)(h.xu,{bg:"white",border:"1px solid",borderColor:m.O9.black[20],borderRadius:"16px",p:"15px 20px",flex:"2",children:[(0,t.jsx)(x.x,{fontSize:"18px",letterSpacing:"-1px",color:m.O9.black[80],textTransform:"capitalize",children:"".concat(null==v?void 0:v.name,", ").concat(d?r("pdf.country.".concat(d)):"")}),(0,t.jsx)(x.x,{fontSize:"18px",fontWeight:"500",letterSpacing:"-1px",color:m.O9.black[120],children:null==f?void 0:f.name})]})]}),(0,t.jsxs)(h.xu,{position:"relative",children:[(0,t.jsx)(q,{location:{coordinates:{lat:null==a?void 0:a.latitude,lng:null==a?void 0:a.longitude},city:null==v?void 0:v.name,country:d,address:"".concat(null!==(n=null==s?void 0:s.streetName)&&void 0!==n?n:"",", ").concat(null!==(l=null==s?void 0:s.streetNumber)&&void 0!==l?l:"")},radius:200,height:"332px"}),(0,t.jsx)(p.k,{position:"absolute",bottom:"24px",left:"24px",zIndex:"1",gap:"16px",fontFamily:"Inter",children:(0,t.jsxs)(p.k,{bg:"white",gap:"8px",color:m.O9.black[120],borderRadius:"40px",alignItems:"center",justifyContent:"center",p:"8px 16px",children:[(0,t.jsx)($.Z,{width:"16px",height:"16px"}),(0,t.jsx)(x.x,{children:r("pdf.your_property")})]})})]})]})},L=l(81274),H=function(e){var n,l,p;let{propertyDetails:u}=e,{updatePDFPageData:x}=(0,r.usePdfPage)(),{updatePropertyDetailsData:h}=(0,c.usePropertyDetails)(),{totalPages:f,updateTotalPages:v}=(0,o.u)(),g=(0,_.cc)(null==u?void 0:u.businessEntity),m=(0,L.ye)("is-pdf-watermarked-images-enabled"),j=(0,i.useMemo)(()=>{var e,n;return(null==u?void 0:null===(e=u.sourceChannel)||void 0===e?void 0:e.includes(C.x.CASAFARI_B2B))||(null==u?void 0:null===(n=u.sourceChannel)||void 0===n?void 0:n.includes(C.x.CASAFARI_B2C))},[u]),b=null==u?void 0:null===(p=u.locations)||void 0===p?void 0:null===(l=p.find(e=>2===e.adminLevel))||void 0===l?void 0:null===(n=l.name)||void 0===n?void 0:n.toUpperCase();return(0,i.useEffect)(()=>{x({agent:{name:"Huspy",email:"[email protected]",phone:"+34 637 00 93 79"},marketType:null==u?void 0:u.marketType,listingType:null==u?void 0:u.listingType,sourceChannel:null==u?void 0:u.sourceChannel,sku:null==u?void 0:u.huspySku,country:b});let e={...u,country:null!=b?b:""};e.media&&Array.isArray(e.media)&&(e.media=e.media.map(e=>m&&e.watermarkedUrl?{...e,url:e.watermarkedUrl}:e)),h(e)},[u,m]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(F,{}),!g&&(0,t.jsx)(Y,{pageNumber:1}),(0,t.jsx)(T,{pageNumber:g?1:2}),(0,t.jsx)(d.Z,{pageNumber:3}),(0,t.jsx)(E,{pageNumber:4}),(0,t.jsx)(D,{pageNumber:5,totalPages:f,updateTotalPages:v}),!g&&(0,t.jsx)(a.Z,{pageNumber:f}),j&&(0,t.jsx)(R,{pageNumber:f+1}),(0,t.jsx)(s.Z,{})]})}}}]);
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.