(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[628],{19958:function(e,t,a){Promise.resolve().then(a.bind(a,92607)),Promise.resolve().then(a.bind(a,7879)),Promise.resolve().then(a.bind(a,76445)),Promise.resolve().then(a.t.bind(a,17784,23)),Promise.resolve().then(a.t.bind(a,21638,23)),Promise.resolve().then(a.bind(a,20796)),Promise.resolve().then(a.bind(a,10941)),Promise.resolve().then(a.bind(a,76327)),Promise.resolve().then(a.bind(a,76400)),Promise.resolve().then(a.bind(a,51322)),Promise.resolve().then(a.bind(a,43007)),Promise.resolve().then(a.bind(a,49657)),Promise.resolve().then(a.bind(a,46992)),Promise.resolve().then(a.bind(a,49212)),Promise.resolve().then(a.bind(a,76887))},76327:function(e,t,a){"use strict";a.d(t,{CrossSellCard:function(){return j}});var r=a(5862),s=a(24648),l=a(94231),o=a(16850),n=a(42219),i=a(13606),d=a(96679),c=a(23424),u=a(44714),m=a(67058),f=a(11957),x=a(49010),p=a(76726),h=a(14891),b=a(61256),g=a(41896),v=a(39595);let y=s.z.object({name:s.z.string().min(2),email:s.z.string().email(),phone:s.z.string()});function j(e){let{codigo:t,status:a}=e,{brand:s}=(0,i.D)(),[j,w]=(0,m.useState)(!1),[N,C]=(0,m.useState)(!1),{register:k,handleSubmit:S,reset:z}=(0,d.cI)({resolver:(0,p.F)(y),values:{name:"",email:"",phone:""}}),_=(0,m.useCallback)(()=>{window.open("https://simulador.credihome.com.br/loft?origin=CRM_SITES_CHOOSE_DETAILS_MORTGAGE_BANNER","_blank","noopener"),(0,f.s7)({event:"CrossSell",local:"Detalhes do im\xf3vel"})},[]),I=(0,m.useCallback)(async e=>{var r,l;let{name:o,email:i,phone:d}=e;C(!0);let c=await fetch("/api/client/lead",{method:"POST",body:JSON.stringify({nome:o,fone:d.replace(/\D/g,""),email:i,mensagem:"Lead capturado pelo banner de financiamento no detalhe do im\xf3vel",veiculo:"Site Imobili\xe1rio",interesse:a,anuncio:t})});if(!c.ok){n.toast.error("N\xe3o foi poss\xedvel enviar proposta, tente novamente mais tarde."),C(!1);return}let u=await c.json();if(200!==u.status||!u.Codigo){n.toast.error("N\xe3o foi poss\xedvel enviar proposta, tente novamente mais tarde."),C(!1);return}let m=(null==s?void 0:s.emailToLeads)||(null==s?void 0:null===(l=s.brokerContacts)||void 0===l?void 0:null===(r=l.find(e=>e.isPrimary))||void 0===r?void 0:r.brokerEmail);m&&await (0,g.Lq)({to:{name:s.brokerName,email:m},replyTo:{name:o,email:i},phone:d,interest:a,subject:"Proposta de ".concat(o," para o im\xf3vel ").concat(t),propertyCode:t}),n.toast.success("Proposta enviada com sucesso!"),z(),(0,f.s7)({event:"Form Lead Im\xf3vel",local:"Detalhes do im\xf3vel"}),w(!1),_(),C(!1)},[a,t,null==s?void 0:s.emailToLeads,null==s?void 0:s.brokerContacts,s.brokerName,z,_]);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:"flex flex-col-reverse md:flex-row bg-[#F2F4F8] shadow-lg border border-slate-50 rounded-xl h-full",children:[(0,r.jsxs)("div",{className:"flex flex-col gap-4 flex-grow p-6 py-11",children:[(0,r.jsx)("h4",{className:"text-3xl font-semibold",children:"Financiamento F\xe1cil"}),(0,r.jsxs)("div",{className:"flex flex-col space-y-1",children:[(0,r.jsx)("span",{className:"text-base font-normal leading-5",children:"Pretende Financiar?"}),(0,r.jsx)("span",{className:"text-lg font-bold leading-5 line-clamp-2",children:"SIMULE AS MELHORES TAXAS EM UM S\xd3 LUGAR"})]}),(0,r.jsx)("p",{className:"line-clamp-3 text-sm text-gray-600",children:"Simule seu financiamento em minutos com todos os bancos e consiga a melhor proposta."}),(0,r.jsx)("div",{className:"flex flex-row items-center justify-start mt-8 w-full",children:(0,r.jsx)(x.z,{type:"button",onClick:()=>w(!0),className:"flex flex-row flex-nowrap w-full md:w-fit items-center justify-center gap-2 bg-brand rounded-[4px] text-sm text-brand-foreground font-bold px-4 hover:bg-brand hover:opacity-80 transition-opacity duration-300 ease-in h-12",children:"Simular"})})]}),(0,r.jsx)("div",{className:"relative w-[40%] h-[250px] transition-all overflow-clip",children:(0,r.jsx)(o.default,{src:"/cross_sell.svg",fill:!0,alt:"UndrawDiscountElement",sizes:"10vw"})})]}),(0,r.jsx)(v.Vq,{open:j,onOpenChange:w,children:(0,r.jsxs)(v.cZ,{className:"w-[95%] md:w-fit max-w-full h-fit max-h-full rounded-lg overflow-y-auto",children:[(0,r.jsxs)(v.fK,{className:"border-b border-gray-200 pb-1.5 h-fit",children:[(0,r.jsx)(v.$N,{className:"text-start text-base font-bold text-brand",children:"Financiamento F\xe1cil"}),(0,r.jsx)(v.Be,{})]}),(0,r.jsx)("section",{className:"flex flex-col bg-transparent w-full",children:(0,r.jsxs)("form",{onSubmit:S(I),className:"flex flex-col w-full gap-2",autoComplete:"off",children:[(0,r.jsx)(u.I,{type:"text",placeholder:"Nome",className:"bg-white text-black",...k("name")}),(0,r.jsx)(u.I,{type:"email",placeholder:"Email",className:"bg-white text-black",...k("email")}),(0,r.jsx)(b.Z,{format:"(##) #####-####",mask:"-",type:"tel",placeholder:"Telefone",className:"bg-white text-black",...k("phone")}),(0,r.jsx)(x.z,{type:"submit",className:"flex flex-row flex-nowrap w-full items-center justify-center gap-1.5 bg-brand rounded-[4px] border border-brand text-sm text-brand-foreground font-bold px-4 hover:bg-brand hover:opacity-80 transition-opacity duration-300 ease-in h-12",children:N?(0,r.jsx)(h.$,{children:"Enviando..."}):"Enviar"}),(0,r.jsxs)("div",{className:"flex flex-row items-center gap-2",children:[(0,r.jsx)(c.IEI,{size:20,className:"shrink-0"}),(0,r.jsxs)("p",{className:"text-xs font-normal leading-4",children:["As informa\xe7\xf5es ser\xe3o utilizadas para que a nossa equipe possa entrar em contato de acordo com a ",(0,r.jsx)(l.default,{href:"/politica-privacidade",className:"text-xs text-brand-emphasis font-normal leading-4",children:"pol\xedtica de privacidade e termos de servi\xe7o"})]})]})]})})]})})]})}},76400:function(e,t,a){"use strict";a.d(t,{ImovelActionsAnchored:function(){return f}});var r=a(5862),s=a(42219),l=a(13606),o=a(6128),n=a(67058),i=a(49010),d=a(38184),c=a(11957),u=a(52443),m=a(39595);function f(e){let{property:t}=e,{brand:a}=(0,l.D)(),[f,x]=(0,n.useState)(!1),p=(0,n.useCallback)(()=>{var e,t;if(!(null==a?void 0:null===(e=a.brokerContacts)||void 0===e?void 0:e.length))return null;let r=null===(t=a.brokerContacts)||void 0===t?void 0:t.find(e=>e.isPrimary);if(!r||!(null==r?void 0:r.brokerPhoneNumber)){s.toast.error("Telefone do corretor n\xe3o cadastrado");return}let l=r.brokerPhoneNumber.replace(/\D/g,"");window.open("tel:".concat(l),"_blank","noopener"),(0,c.s7)({event:"Ligar",local:"Detalhes do im\xf3vel"})},[a]),h=(0,n.useCallback)(()=>{var e,r;if(!(null==a?void 0:null===(e=a.brokerContacts)||void 0===e?void 0:e.length))return null;let l=null===(r=a.brokerContacts)||void 0===r?void 0:r.find(e=>e.isPrimary);if(!l||!(null==l?void 0:l.brokerWhatsappNumber)){s.toast.error("Telefone do corretor n\xe3o encontrado");return}let o=l.brokerWhatsappNumber.replace(/\D/g,""),n=(0,c.gf)({property:t});window.open("https://api.whatsapp.com/send?phone=55".concat(o,"&text=Ol\xe1, gostaria de mais informa\xe7\xf5es sobre o im\xf3vel ").concat(n),"_blank","noopener"),(0,c.s7)({event:"Contato WhatsApp",local:"Detalhes do im\xf3vel"})},[t,a]);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:"flex justify-around w-full gap-1 lg:pb-0.5 lg:pr-0 pb-2",children:[(0,r.jsx)(i.z,{onClick:()=>x(!0),className:"flex flex-row flex-nowrap w-full items-center justify-center gap-2 bg-white rounded-[4px] text-sm text-brand font-bold px-4 hover:bg-brand hover:text-brand-foreground transition-color duration-700 ease-in-out h-12 border border-brand",children:"D\xfavidas"}),(null==a?void 0:a.propertyDetailShowVisitSchedule)?(0,r.jsx)(u.Z,{anchored:!0,property:t}):(0,r.jsx)(i.z,{onClick:p,className:"flex flex-row flex-nowrap w-full items-center justify-center gap-2 bg-brand rounded-[4px] text-sm text-brand-foreground font-bold px-4 hover:bg-brand hover:opacity-80 transition-colors duration-300 ease-in h-12",children:"Ligar"}),(0,r.jsx)(i.z,{onClick:h,className:"appearance-none inline-flex gap-1 items-center justify-center px-3 py-0 text-sm leading-4 whitespace-nowrap rounded-md focus:outline-none cursor-pointer h-12 tracking-normal font-bold normal-case text-white transition-colors ease-in-out duration-500 lg:w-full bg-[#29A71A] hover:bg-[#238E17]","aria-label":"botao-flutuante-whats",children:(0,r.jsx)(o.xpo,{size:24})})]}),(0,r.jsx)(m.Vq,{open:f,onOpenChange:x,children:(0,r.jsxs)(m.cZ,{className:"w-[95%] md:w-fit max-w-full h-fit max-h-full rounded-lg overflow-y-auto bg-white",children:[(0,r.jsxs)(m.fK,{className:"border-b border-gray-200 pb-1.5 h-fit",children:[(0,r.jsx)(m.$N,{className:"text-start text-lg font-bold",children:(0,r.jsx)("span",{className:"line-clamp-1",children:(null==a?void 0:a.propertyContactFormHeaderText)||"Proposta"})}),(0,r.jsx)(m.Be,{})]}),(0,r.jsx)("section",{className:"flex flex-col bg-transparent rounded-xl w-full pb-3 gap-4",children:(0,r.jsxs)("div",{className:"flex flex-col w-full gap-2",children:[(0,r.jsx)("div",{className:"flex flex-col items-start gap-1.5 mb-2",children:(0,r.jsx)("p",{className:"text-sm font-normal",children:"Preencha os campos para que um de nossos especialistas entre em contato"})}),(0,r.jsx)(d.E,{property:t})]})})]})})]})}},51322:function(e,t,a){"use strict";a.d(t,{ImovelContactFormActions:function(){return f}});var r=a(5862),s=a(42219),l=a(67058),o=a(13606),n=a(6128),i=a(7824),d=a(11957),c=a(49010),u=a(38184),m=a(52443);function f(e){let{property:t}=e,{brand:a}=(0,o.D)(),f=(0,l.useCallback)(()=>{var e,t;if(!(null==a?void 0:null===(e=a.brokerContacts)||void 0===e?void 0:e.length))return null;let r=null===(t=a.brokerContacts)||void 0===t?void 0:t.find(e=>e.isPrimary);if(!r){s.toast.error("Telefone do corretor n\xe3o encontrado");return}if(!(null==r?void 0:r.brokerPhoneNumber)){s.toast.error("Telefone do corretor n\xe3o cadastrado");return}let l=r.brokerPhoneNumber.replace(/\D/g,"");window.open("tel:".concat(l),"_blank","noopener"),(0,d.s7)({event:"Ligar",local:"Detalhes do im\xf3vel"})},[a]),x=(0,l.useCallback)(()=>{var e,r;if(!(null==a?void 0:null===(e=a.brokerContacts)||void 0===e?void 0:e.length))return null;let l=null===(r=a.brokerContacts)||void 0===r?void 0:r.find(e=>e.isPrimary);if(!l||!(null==l?void 0:l.brokerWhatsappNumber)){s.toast.error("Telefone do corretor n\xe3o encontrado");return}let o=l.brokerWhatsappNumber.replace(/\D/g,""),n=(0,d.gf)({property:t});window.open("https://api.whatsapp.com/send?phone=55".concat(o,"&text=Ol\xe1, gostaria de mais informa\xe7\xf5es sobre o im\xf3vel ").concat(n),"_blank","noopener"),(0,d.s7)({event:"Contato WhatsApp",local:"Detalhes do im\xf3vel"})},[t,a]);return(0,r.jsxs)("section",{children:[(0,r.jsxs)("div",{className:"flex flex-row gap-1.5 mb-2",children:[(null==a?void 0:a.propertyDetailShowVisitSchedule)&&(0,r.jsx)(m.Z,{property:t}),(null==a?void 0:a.propertyDetailShowActionsContactForm)&&(0,r.jsxs)(r.Fragment,{children:[!(null==a?void 0:a.propertyDetailShowVisitSchedule)&&(0,r.jsxs)(c.z,{onClick:f,className:"flex flex-row flex-nowrap w-full items-center justify-center gap-2 bg-brand rounded-[4px] text-sm text-brand-foreground font-bold px-4 hover:bg-brand hover:opacity-80 transition-colors duration-300 ease-in h-12",children:[(0,r.jsx)(i.CoD,{size:16}),"Ligar"]}),(0,r.jsxs)(c.z,{onClick:x,className:"flex flex-row flex-nowrap w-full items-center justify-center gap-2 bg-[#29A71A] rounded-[4px] text-sm text-white font-bold px-4 hover:bg-[#238e17] transition-colors duration-300 ease-in h-12",children:[(0,r.jsx)(n.xpo,{size:18}),"WhatsApp"]})]})]}),(0,r.jsx)("section",{className:"flex flex-col bg-white rounded-xl w-full px-4 pt-6 pb-5 gap-4",children:(0,r.jsxs)("div",{className:"flex flex-col w-full gap-2",children:[(0,r.jsxs)("div",{className:"flex flex-col items-start gap-1.5 mb-2",children:[(0,r.jsx)("span",{className:"text-2xl font-bold line-clamp-1",children:(null==a?void 0:a.propertyContactFormHeaderText)||"Proposta"}),(0,r.jsx)("p",{className:"text-sm font-normal",children:"Preencha os campos para que um de nossos especialistas entre em contato"})]}),(0,r.jsx)(u.E,{property:t})]})})]})}},43007:function(e,t,a){"use strict";a.d(t,{ImovelImage:function(){return p}});var r=a(5862),s=a(67058),l=a(19619),o=a(15631),n=a(11957);a(5088);var i=a(42219),d=a(77580),c=a(49010);function u(e){let{title:t}=e,a=(0,s.useCallback)(async e=>{if(e.stopPropagation(),e.preventDefault(),window.navigator){if(navigator.share)try{await navigator.share({title:t,url:window.location.href})}catch(e){i.toast.error("Erro ao compartilhar conte\xfado")}else try{await navigator.clipboard.writeText(window.location.href),i.toast.success("Link copiado para a \xe1rea de transfer\xeancia")}catch(e){i.toast.error("Erro ao copiar link para a \xe1rea de transfer\xeancia")}}},[t]);return(0,r.jsx)(c.z,{onClick:a,className:"flex items-center gap-2 text-xs font-medium h-6 bg-white text-brand hover:bg-brand hover:text-brand-emphasis transition-colors duration-300 ease-in",children:(0,r.jsx)(d.PPi,{})})}var m=a(3411),f=a(97812),x=a(39595);function p(e){var t;let{images:a,property:i,brand:d}=e,[c,p]=(0,s.useState)(),[h,b]=(0,s.useState)(0),[g,v]=(0,s.useState)(!1),y=()=>[[d.showPropertyExactLocation&&(null==i?void 0:i.Endereco),d.showPropertyExactLocation&&(null==i?void 0:i.Numero),d.showShoppingDistrict?null==i?void 0:i.BairroComercial:null==i?void 0:i.Bairro,null==i?void 0:i.Cidade].filter(e=>e).join(", "),[i.UF].filter(e=>e).join(" - ")].filter(e=>e).join(" - "),j=Object.keys((null==i?void 0:i.FinalidadeStatus)||{}),w=(null==i?void 0:null===(t=i.EEmpreendimento)||void 0===t?void 0:t.toUpperCase())==="SIM"?(null==i?void 0:i.Empreendimento)||(null==i?void 0:i.TituloSite)||"...":(null==i?void 0:i.TituloSite)||"...";return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(o.tq,{slidesPerView:1,spaceBetween:16,thumbs:{swiper:c},modules:[f.Rv,f.W_,f.s5,f.o3,f.Qr],navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},loop:!0,onSlideChange:e=>b(e.realIndex),className:"h-[360px] md:h-[520px] w-full box-border inline-flex",children:[a.map((e,t)=>(0,r.jsxs)(o.o5,{className:"w-full cursor-zoom-in relative",onClick:()=>v(!0),children:[(0,r.jsxs)("div",{className:"h-full w-full absolute top-0 left-0 rounded-[8px] overflow-clip",children:[(0,r.jsx)("div",{className:"h-full w-full transition-all rounded-[8px] bg-gray-300 bg-cover bg-center bg-no-repeat",style:{backgroundImage:"url(".concat(e,")")}}),(0,r.jsx)("div",{className:"absolute top-0 left-0 w-full h-full bg-gradient-to-bl from-transparent to-slate-900 opacity-70"})]}),(0,r.jsxs)("section",{className:"absolute left-4 md:left-10 right-4 md:right-10 bottom-4 md:bottom-10 flex flex-col-reverse md:flex-row justify-between gap-4",children:[(0,r.jsxs)("div",{className:"flex flex-col gap-3 flex-1",children:[(0,r.jsxs)("div",{className:"flex flex-row flex-wrap gap-3 mb-2",children:[(0,r.jsxs)("span",{className:"bg-white text-brand py-1 px-3 text-xs font-medium rounded-full",children:["C\xf3d: ",null==i?void 0:i.Codigo]}),(0,r.jsx)("span",{id:"finalidade",className:"bg-white text-brand py-1 px-3 text-xs font-medium rounded-full",children:null==i?void 0:i.Status}),(0,r.jsx)("span",{className:"hidden md:block bg-white text-brand py-1 px-3 text-xs font-medium rounded-full",children:null==i?void 0:i.Categoria}),(0,r.jsxs)("div",{className:"flex flex-row gap-3",children:[(0,r.jsx)(u,{title:w}),(0,r.jsx)(m._,{code:i.Codigo,type:"button"})]})]}),(0,r.jsx)("h3",{className:"text-base md:text-3xl font-bold text-white line-clamp-1",children:w}),(0,r.jsxs)("div",{className:"flex flex-row gap-1.5 items-center text-white",children:[(0,r.jsx)(l.c7Z,{size:22,className:"flex-shrink-0"}),(0,r.jsx)("h3",{className:"text-sm font-medium",children:y()})]})]}),(0,r.jsx)("div",{className:"flex flex-col justify-end gap-2",children:(0,r.jsxs)("div",{className:"flex flex-col items-end gap-1",children:[j.includes("VENDA")&&Number((null==i?void 0:i.ValorVenda)||"0")>0&&(0,r.jsx)("div",{className:"flex flex-row items-center py-1 px-3 bg-brand text-brand-foreground rounded-full",children:(0,r.jsx)("span",{className:"flex-shrink-0 text-base md:text-xl font-medium",children:(0,n.xG)(Number((null==i?void 0:i.ValorVenda)||0))})}),j.includes("ALUGUEL")&&Number((null==i?void 0:i.ValorLocacao)||"0")>0&&(0,r.jsx)("div",{className:"flex flex-row items-center py-1 px-3 bg-brand text-brand-foreground rounded-full",children:(0,r.jsxs)("span",{className:"flex-shrink-0 text-base md:text-xl font-medium",children:[(0,n.xG)(Number((null==i?void 0:i.ValorLocacao)||0))," ",(0,r.jsx)("span",{className:"text-base",children:"/ m\xeas"})]})})]})})]})]},t)),(0,r.jsx)("div",{className:"swiper-button-prev !hidden md:!flex"}),(0,r.jsx)("div",{className:"swiper-button-next !hidden md:!flex"})]}),(0,r.jsx)(o.tq,{onSwiper:p,spaceBetween:10,slidesPerView:4,freeMode:!0,watchSlidesProgress:!0,modules:[f.Rv,f.W_,f.o3],loop:!0,className:"h-[80px] md:h-[130px] box-border mt-6 flex",children:a.map((e,t)=>(0,r.jsx)(o.o5,{className:"w-[25%] h-[100%]",children:(0,r.jsx)("div",{className:"h-full w-full transition-all rounded-[8px] bg-cover bg-center bg-no-repeat ".concat(h===t?"opacity-100":"opacity-50"),style:{backgroundImage:"url(".concat(e,")")}})},t))}),(0,r.jsx)(x.Vq,{open:g,onOpenChange:v,children:(0,r.jsxs)(x.cZ,{className:"w-fit max-w-full rounded-lg",children:[(0,r.jsxs)(x.fK,{className:"",children:[(0,r.jsx)(x.$N,{className:"text-start text-base font-bold text-brand",children:"Visualizador de imagens"}),(0,r.jsx)(x.Be,{children:(0,r.jsx)("hr",{})})]}),(0,r.jsx)("div",{className:"hide-scrollbar flex w-[81vw] max-h-[81vh] flex-col gap-5 overflow-auto md:p-2",children:(0,r.jsx)("div",{className:"w-full h-full mx-auto",children:(0,r.jsx)(o.tq,{slidesPerView:1,spaceBetween:16,modules:[f.Rv,f.W_,f.s5,f.Qr],navigation:!0,loop:!0,initialSlide:h,className:"h-96 min-h-[80vh] max-h-[80vh] w-full box-border inline-flex rounded-[8px]",children:a.map((e,t)=>(0,r.jsx)(o.o5,{className:"w-full",children:(0,r.jsx)("div",{className:"h-full w-full transition-all rounded-[8px] bg-gray-300 bg-contain bg-center bg-no-repeat",style:{backgroundImage:"url(".concat(e,")")}})},t))})})})]})})]})}a(64973),a(19748),a(13967),a(88633)},49657:function(e,t,a){"use strict";a.r(t),a.d(t,{default:function(){return m}});var r=a(5862),s=a(67058),l=a(319),o=a.n(l),n=a(81863),i=a(39150),d=a(71706),c=a(63499);a(69420);let u=new(o()).Icon({iconUrl:"/marker-icon.png",iconSize:[55,55],iconAnchor:[12,41],popupAnchor:[1,-34],shadowSize:[41,41]});function m(e){let{latitude:t,longitude:a,showPropertyExactLocation:l}=e,o=parseFloat(t.toString().replace(",",".")),m=parseFloat(a.toString().replace(",",".")),f=o>90||o<-90?0:o,x=m>180||m<-180?0:m,p=[f,x],h=(0,s.useCallback)(()=>{let e="https://www.google.com/maps?q=".concat(f,",").concat(x);window.open(e,"_blank")},[f,x]);return(0,r.jsx)("div",{className:"relative h-[40vh] w-full",children:(0,r.jsxs)(n.h,{id:"contact-map",center:p,zoom:15,minZoom:3,scrollWheelZoom:!1,style:{height:"40vh",width:"100%",borderRadius:"1.5rem"},className:"z-0",children:[(0,r.jsx)(i.I,{url:"https://{s}.basemaps.cartocdn.com/light_all/{z}/{x}/{y}{r}.png",attribution:'\xa9 OpenStreetMap contributors'}),l?(0,r.jsx)(d.J,{position:p,icon:u,eventHandlers:{click:h}}):(0,r.jsx)(c.C,{center:p,radius:500,pathOptions:{color:"green",fillColor:"green",fillOpacity:.2}})]})})}},38184:function(e,t,a){"use strict";a.d(t,{E:function(){return y}});var r=a(5862),s=a(24648),l=a(94231),o=a(42219),n=a(13606),i=a(96679),d=a(23424),c=a(44714),u=a(67058),m=a(49010),f=a(11610),x=a(76726),p=a(14891),h=a(61256),b=a(41896),g=a(11957);let v=s.z.object({name:s.z.string().min(2),email:s.z.string().email(),phone:s.z.string(),message:s.z.string()});function y(e){let{property:t}=e,{brand:a}=(0,n.D)(),[s,y]=(0,u.useState)(!1),{register:j,handleSubmit:w,reset:N}=(0,i.cI)({resolver:(0,x.F)(v)}),C=(0,u.useCallback)(async e=>{var r,s;let{name:l,email:n,phone:i,message:d}=e;y(!0);let c=await fetch("/api/client/lead",{method:"POST",body:JSON.stringify({nome:l,fone:i.replace(/\D/g,""),email:n,mensagem:d,veiculo:"Site Imobili\xe1rio",interesse:t.Status,anuncio:t.Codigo})});if(!c.ok){o.toast.error("N\xe3o foi poss\xedvel enviar proposta, tente novamente mais tarde."),y(!1);return}let u=await c.json();if(200!==u.status||!u.Codigo){o.toast.error("N\xe3o foi poss\xedvel enviar proposta, tente novamente mais tarde."),y(!1);return}let m=(null==a?void 0:a.emailToLeads)||(null==a?void 0:null===(s=a.brokerContacts)||void 0===s?void 0:null===(r=s.find(e=>e.isPrimary))||void 0===r?void 0:r.brokerEmail);m&&await (0,b.Lq)({to:{name:a.brokerName,email:m},replyTo:{name:l,email:n},phone:i,interest:t.Status,subject:"Proposta de ".concat(l," para o im\xf3vel ").concat(t.Codigo),propertyCode:t.Codigo}),o.toast.success("Proposta enviada com sucesso!"),N(),(0,g.s7)({event:"Form Lead Im\xf3vel",local:"Detalhes do im\xf3vel"}),y(!1)},[null==a?void 0:a.brokerContacts,a.brokerName,null==a?void 0:a.emailToLeads,t.Codigo,t.Status,N]);return(0,r.jsx)("section",{className:"flex flex-col bg-white rounded-xl w-full",children:(0,r.jsxs)("form",{onSubmit:w(C),className:"flex flex-col w-full gap-2",autoComplete:"off",children:[(0,r.jsx)(c.I,{type:"text",placeholder:"Nome",className:"bg-white text-black",...j("name")}),(0,r.jsx)(c.I,{type:"email",placeholder:"Email",className:"bg-white text-black",...j("email")}),(0,r.jsx)(h.Z,{format:"(##) #####-####",mask:"-",type:"tel",placeholder:"Telefone",className:"bg-white text-black",...j("phone")}),(0,r.jsx)(f.g,{rows:6,placeholder:"D\xfavidas",className:"bg-white text-black",...j("message")}),(0,r.jsx)(m.z,{type:"submit",className:"flex flex-row flex-nowrap w-full items-center justify-center gap-1.5 bg-brand rounded-[4px] border border-brand text-sm text-brand-foreground font-bold px-4 hover:bg-brand hover:opacity-80 transition-opacity duration-300 ease-in h-12",children:s?(0,r.jsx)(p.$,{children:"Enviando..."}):"Enviar"}),(0,r.jsxs)("div",{className:"flex flex-row items-center gap-2",children:[(0,r.jsx)(d.IEI,{size:20,className:"shrink-0"}),(0,r.jsxs)("p",{className:"text-xs font-normal leading-4",children:["As informa\xe7\xf5es ser\xe3o utilizadas para que a nossa equipe possa entrar em contato de acordo com a ",(0,r.jsx)(l.default,{href:"/politica-privacidade",className:"text-xs text-brand-emphasis font-normal leading-4",children:"pol\xedtica de privacidade e termos de servi\xe7o"})]})]})]})})}},52443:function(e,t,a){"use strict";a.d(t,{Z:function(){return D}});var r=a(5862),s=a(24648),l=a(42219),o=a(66206),n=a(83363),i=a(13606),d=a(96679),c=a(44714),u=a(49010),m=a(73218),f=a(95135),x=a(14891),p=a(76726),h=a(61256),b=a(87402),g=a(2238),v=a(67058),y=a(99918),j=a(1367),w=a(76488),N=a(23424),C=a(41896),k=a(39595),S=a(45495),z=a(19619),_=a(11957);let I=s.z.object({name:s.z.string().min(2),email:s.z.string().email(),phone:s.z.string()});function D(e){let{anchored:t,property:a}=e,{brand:s}=(0,i.D)(),[D,P]=(0,v.useState)(!1),[A,E]=(0,v.useState)(!1),[O,T]=(0,v.useState)(!1),[V,F]=(0,v.useState)([]),[M,q]=(0,v.useState)(),[B,L]=(0,v.useState)(new Date),[R,U]=(0,v.useState)(!1),{register:G,handleSubmit:$,reset:Z}=(0,d.cI)({resolver:(0,p.F)(I)});(0,v.useEffect)(()=>{E(!1),q(void 0),L(new Date)},[D]),(0,v.useEffect)(()=>{if(!B)return;let e=async()=>{if(T(!0),q(void 0),await new Promise(e=>setTimeout(e,500)),0===B.getDay()){F([]),T(!1);return}if(6===B.getDay()){F(["08:00","08:30","09:00","09:30","10:00","10:30","11:00","11:30","12:00","12:30","13:00"].map(e=>({time:e,filled:"available"}))),T(!1);return}F(["08:00","08:30","09:00","09:30","10:00","10:30","11:00","11:30","12:00","12:30","13:00","13:30","14:00","14:30","15:00","15:30","16:00","16:30","17:00","17:30","18:00"].map(e=>({time:e,filled:"available"}))),T(!1)};B&&e()},[B]);let J=e=>{q(e)},W=(0,v.useCallback)(async e=>{let{name:t,email:r,phone:o}=e;U(!0);try{var i,d;if(!M||!B){l.toast.info("Selecione uma data e hor\xe1rio para agendar a visita.");return}let e=Number(M.split(":")[0]),c=Number(M.split(":")[1]),u=(0,y.H)((0,j.B)(B,e),c),m=(null==s?void 0:s.emailToScheduleVisit)||(null==s?void 0:null===(d=s.brokerContacts)||void 0===d?void 0:null===(i=d.find(e=>e.isPrimary))||void 0===i?void 0:i.brokerEmail);if(!m){l.toast.error("Email do corretor n\xe3o encontrado");return}await (0,C.Dy)({to:{name:s.brokerName,email:m},replyTo:{name:t,email:r},phone:o,date:(0,w.WU)(u,"dd 'de' MMMM '\xe0s' HH':'mm'.'",{locale:n.F}),subject:"Agendamento de visita para o im\xf3vel ".concat(a.Codigo),propertyCode:a.Codigo}),P(!1),E(!1),q(void 0),L(new Date),(0,l.toast)("Reserva realizada com sucesso!",{description:(0,w.WU)(u,"'Para o dia' dd 'de' MMMM '\xe0s' HH':'mm'.'",{locale:n.F})}),(0,_.s7)({event:"Agendar Visita",local:"Detalhes do im\xf3vel"})}catch(e){return l.toast.error("Ocorreu um erro ao criar sua reserva!")}finally{Z(),U(!1)}},[null==s?void 0:s.brokerContacts,s.brokerName,null==s?void 0:s.emailToScheduleVisit,B,M,a.Codigo,Z]);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(u.z,{onClick:()=>P(!0),className:"flex flex-row flex-nowrap w-full items-center justify-center gap-2 bg-brand rounded-[4px] text-sm text-brand-foreground font-bold px-4 hover:bg-brand hover:opacity-80 transition-opacity duration-300 ease-in h-12",children:t?(0,r.jsx)(r.Fragment,{children:"Agendar"}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(N.i95,{size:19}),"Agendar visita"]})}),(0,r.jsx)(k.Vq,{open:D,onOpenChange:P,children:(0,r.jsxs)(k.cZ,{className:"w-[95%] md:w-fit max-w-full h-[95%] md:h-fit max-h-full rounded-lg overflow-y-auto",children:[(0,r.jsxs)(k.fK,{className:"border-b border-gray-200 pb-1.5 h-fit",children:[(0,r.jsxs)(k.$N,{className:"text-start text-base font-bold text-brand",children:[A&&(0,r.jsx)(u.z,{variant:"outline",size:"sm",onClick:()=>E(!1),className:"mr-4 h-6",children:(0,r.jsx)(S.dUf,{})}),"Agendar visita"]}),(0,r.jsx)(k.Be,{})]}),(0,r.jsx)("section",{children:(0,r.jsx)(b.M,{mode:"wait",children:A?(0,r.jsxs)(g.E.div,{initial:{opacity:0,scale:.8},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.8},transition:{duration:.6,ease:"easeInOut"},className:"w-full",children:[(0,r.jsxs)("div",{className:"flex flex-col items-center justify-center gap-1 mb-4",children:[(0,r.jsxs)("div",{className:"flex flex-row items-center gap-2",children:[(0,r.jsx)(m.lwX,{size:30}),(0,r.jsx)("h3",{className:"text-lg font-bold text-brand",children:"Confirme seu dados"})]}),(0,r.jsx)("p",{className:"text-center text-sm text-gray-500",children:"Confirme seus dados para agendar a visita"})]}),(0,r.jsxs)("form",{onSubmit:$(W),className:"flex flex-col w-full gap-4",autoComplete:"off",children:[(0,r.jsxs)("div",{className:"flex flex-col items-center justify-center lg:flex-row",children:[(0,r.jsx)("div",{className:"flex flex-col justify-center min-w-64 gap-4",children:(0,r.jsx)(f.f,{mode:"single",disableNavigation:!0,disabled:!0,selected:B,locale:n.F,fromDate:new Date,styles:{head_cell:{textTransform:"capitalize"},caption:{textTransform:"capitalize"}}})}),(0,r.jsxs)("div",{className:"flex flex-col w-full min-w-64",children:[(0,r.jsxs)(u.z,{variant:"outline",size:"sm",className:(0,o.cn)("rounded-full dark:text-white","pointer-events-none cursor-not-allowed bg-brand-emphasis"),children:[M," horas"]}),(0,r.jsxs)("div",{className:"flex flex-col gap-2 mt-10 md:mt-24",children:[(0,r.jsx)(c.I,{type:"text",placeholder:"Nome",className:"bg-white",...G("name")}),(0,r.jsx)(c.I,{type:"email",placeholder:"Email",className:"bg-white",...G("email")}),(0,r.jsx)(h.Z,{format:"(##) #####-####",mask:"-",type:"tel",placeholder:"Telefone",className:"bg-white",...G("phone")})]})]})]}),(0,r.jsx)(u.z,{type:"submit",className:"w-full text-white",children:R?(0,r.jsx)("span",{className:"flex items-center gap-4",children:"Criando reserva..."}):(0,r.jsxs)("span",{className:"flex items-center gap-4",children:["Confirmar reserva ",(0,r.jsx)(N.Bmm,{size:25})]})})]})]},"formIndex1"):(0,r.jsxs)(g.E.div,{initial:{opacity:0,scale:.8},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.8},transition:{duration:.6,ease:"easeInOut"},className:"w-full h-full overflow-y-auto",children:[(0,r.jsxs)("div",{className:"flex flex-col items-center justify-center gap-1 mb-4",children:[(0,r.jsxs)("div",{className:"flex flex-row items-center gap-2",children:[(0,r.jsx)(m.lwX,{size:30}),(0,r.jsx)("h3",{className:"text-lg font-bold text-brand",children:"Agende sua visita"})]}),(0,r.jsx)("p",{className:"text-center text-sm text-gray-500",children:"Escolha a data e o hor\xe1rio para visitar o im\xf3vel"})]}),(0,r.jsxs)("div",{className:"flex flex-col items-center justify-center lg:flex-row",children:[(0,r.jsx)("div",{className:"flex justify-center min-w-64",children:(0,r.jsx)(f.f,{mode:"single",selected:B,onSelect:L,locale:n.F,fromDate:new Date,styles:{head_cell:{textTransform:"capitalize"},caption:{textTransform:"capitalize"}}})}),(0,r.jsx)("section",{className:"min-w-64",children:B&&(0,r.jsx)(r.Fragment,{children:O?(0,r.jsx)("div",{className:"flex justify-center items-center h-40",children:(0,r.jsx)(x.$,{axis:"col",children:"Carregando..."})}):(0,r.jsx)(r.Fragment,{children:(null==V?void 0:V.length)>0?(0,r.jsx)("div",{className:"grid grid-cols-4 gap-2 px-5 pb-5 pt-4 lg:grid-cols-3",children:null==V?void 0:V.map(e=>(0,r.jsx)(u.z,{variant:M===e.time?"default":"outline",size:"sm",className:(0,o.cn)("rounded-full dark:text-white","filled"===e.filled?"pointer-events-none cursor-not-allowed bg-brand-emphasis":"cursor-pointer"),onClick:()=>J(e.time),children:e.time},e.time))}):(0,r.jsxs)("div",{className:"flex flex-col justify-center items-center gap-2 h-40",children:[(0,r.jsx)(z.FS7,{size:40,className:"text-brand"}),(0,r.jsx)("span",{className:"text-sm text-center",children:"N\xe3o h\xe1 hor\xe1rios dispon\xedveis"})]})})})})]}),(0,r.jsx)(u.z,{className:"w-full text-white",disabled:!M||!B,onClick:()=>E(!0),children:(0,r.jsxs)("span",{className:"flex items-center gap-4",children:["Confirmar horario ",(0,r.jsx)(N.Bmm,{size:25})]})})]},"formIndex0")})})]})})]})}},46992:function(e,t,a){"use strict";a.d(t,{VirtualTour:function(){return o}});var r=a(5862),s=a(49010),l=a(2046);function o(e){let{Tour360:t}=e;return(0,r.jsxs)(s.z,{type:"button",onClick:()=>window.open(t,"_blank","noopener"),className:"flex flex-row flex-nowrap w-full items-center justify-center gap-2 bg-white rounded-[4px] text-sm text-brand font-bold px-4 hover:bg-brand hover:text-brand-foreground transition-color duration-700 ease-in-out h-12 border border-brand shadow-lg",children:[(0,r.jsx)(l.RDp,{size:20})," Tour virtual"]})}},45554:function(e,t,a){"use strict";a.d(t,{m:function(){return i}});var r=a(5862),s=a(42219),l=a(66206),o=a(13606),n=a(67058);function i(e){let{code:t}=e,{brand:a}=(0,o.D)(),[i,d]=(0,n.useState)(!1);(0,n.useEffect)(()=>{var e;JSON.parse(null!==(e=localStorage.getItem("compare"))&&void 0!==e?e:"[]").includes(t)&&d(!0)},[t,a]);let c=(0,n.useCallback)(async e=>{var a;e.stopPropagation(),e.preventDefault();let r=JSON.parse(null!==(a=localStorage.getItem("compare"))&&void 0!==a?a:"[]");if(r.length>=5){s.toast.error("Voc\xea s\xf3 pode comparar at\xe9 5 im\xf3veis");return}let l=r.indexOf(t);-1===l?(r.push(t),d(!0),s.toast.success("Im\xf3vel adicionado para comparara\xe7\xe3o")):(r.splice(l,1),d(!1),s.toast.success("Im\xf3vel removido de compara\xe7\xe3o")),localStorage.setItem("compare",JSON.stringify(r))},[t]);return(0,r.jsx)("button",{onClick:c,className:(0,l.cn)("flex items-center py-1 px-2.5 transition-colors duration-200 ease-linear hover:bg-brand hover:text-white rounded-xl",i?"bg-brand text-white":"bg-white"),children:(0,r.jsx)("span",{className:"block text-xs font-normal leading-3",children:"Comparar"})})}},3411:function(e,t,a){"use strict";a.d(t,{_:function(){return c}});var r=a(5862),s=a(42219),l=a(66206),o=a(6128),n=a(13606),i=a(67058),d=a(49010);function c(e){let{code:t,type:a}=e,{brand:c}=(0,n.D)(),[u,m]=(0,i.useState)(!1);(0,i.useEffect)(()=>{var e;JSON.parse(null!==(e=localStorage.getItem("favorites"))&&void 0!==e?e:"[]").includes(t)&&m(!0)},[t,c]);let f=(0,i.useCallback)(async e=>{var a;e.stopPropagation(),e.preventDefault();let r=JSON.parse(null!==(a=localStorage.getItem("favorites"))&&void 0!==a?a:"[]"),l=r.indexOf(t);-1===l?(r.push(t),m(!0),s.toast.success("Im\xf3vel adicionado aos favoritos")):(r.splice(l,1),m(!1),s.toast.success("Im\xf3vel removido dos favoritos")),localStorage.setItem("favorites",JSON.stringify(r))},[t]);return(0,r.jsx)(r.Fragment,{children:"icon"===a?(0,r.jsx)(o.$0H,{onClick:f,size:28,className:(0,l.cn)("cursor-pointer transition-colors duration-200 ease-linear hover:text-brand drop-shadow-lg",u?"text-brand":"text-white")}):(0,r.jsx)(d.z,{onClick:f,className:(0,l.cn)("flex items-center gap-2 text-xs font-medium h-6 transition-colors duration-300 ease-in",u?"bg-brand text-white hover:bg-brand hover:text-brand-emphasis":"bg-white text-brand hover:bg-brand hover:text-brand-emphasis"),children:(0,r.jsx)(o.BgW,{})})})}},49212:function(e,t,a){"use strict";a.r(t),a.d(t,{PropertyCard:function(){return g}});var r=a(5862),s=a(94231),l=a(16850),o=a(59763),n=a(13606),i=a(67058),d=a(21005),c=a(45495),u=a(45554),m=a(3411),f=a(11957),x=a(49010),p=a(6128),h=a(42219);let b=e=>{let{src:t,width:a,quality:r}=e;return t};function g(e){var t;let{property:a}=e,{brand:g}=(0,n.D)(),v=(0,i.useCallback)(e=>[[e.showShoppingDistrict?null==a?void 0:a.BairroComercial:null==a?void 0:a.Bairro,null==a?void 0:a.Cidade].filter(e=>e).join(", "),[a.UF].filter(e=>e).join(" - ")].filter(e=>e).join(" - "),[null==a?void 0:a.Bairro,null==a?void 0:a.BairroComercial,null==a?void 0:a.Cidade,a.UF]),y=(0,i.useMemo)(()=>v(g),[g,v]),j=Object.keys((null==a?void 0:a.FinalidadeStatus)||{}),w=(0,f.gf)({property:a}),N=(0,i.useMemo)(()=>{var e,t;return null===(t=g.brokerContacts)||void 0===t?void 0:null===(e=t.find(e=>e.isPrimary))||void 0===e?void 0:e.brokerWhatsappNumber},[g]),C=(0,i.useCallback)(e=>{if(e.preventDefault(),!N){h.toast.error("Telefone do corretor n\xe3o encontrado");return}let t=N.replace(/\D/g,"");window.open("https://api.whatsapp.com/send?phone=55".concat(t,"&text=Ol\xe1, gostaria de mais informa\xe7\xf5es sobre o im\xf3vel ").concat(w),"_blank","noopener"),(0,f.s7)({event:"Contato WhatsApp",local:"Card de im\xf3vel"})},[N,w]);return(0,r.jsxs)(s.default,{href:"/imovel/".concat(w),className:"flex flex-col bg-transparent rounded-3xl h-full overflow-hidden shadow-md border-[0.1px]",children:[(0,r.jsxs)("div",{className:"relative h-[350px] w-full transition-all rounded-t-3xl bg-brand mb-2 overflow-clip",children:[(0,r.jsx)(l.default,{src:a.FotoDestaque,loader:b,fill:!0,alt:a.TituloSite,sizes:"10vw",unoptimized:!0,className:"rounded-t-3xl object-cover object-center"}),(0,r.jsxs)("div",{className:"absolute top-4 right-4 left-4 flex flex-row justify-between z-10",children:[(0,r.jsxs)("span",{className:"inline-block text-xs text-white font-normal leading-6 bg-brand opacity-65 px-2.5 py-1 rounded-xl",children:["C\xf3d: ",a.Codigo]}),(0,r.jsxs)("div",{className:"flex flex-row text-xs gap-2.5",children:[(0,r.jsx)(u.m,{code:a.Codigo}),(0,r.jsx)(m._,{code:a.Codigo,type:"icon"})]})]})]}),(0,r.jsxs)("div",{className:"flex flex-col gap-2 px-4 pb-4 flex-grow",children:[(0,r.jsxs)("ul",{className:"flex flex-row justify-between items-center border-b mt-2 pb-2 divide-x divide-slate-200 [&>li]:px-4 [&>li]:justify-center min-h-12",children:[Number(a.Dormitorios||"0")>0&&(0,r.jsxs)("li",{className:"flex flex-row items-center text-brand first:pl-0 last:pr-0 first:justify-start last:justify-end w-full",title:"Dormit\xf3rios",children:[(0,r.jsx)(c.cmF,{size:20}),(0,r.jsxs)("span",{className:"text-sm left-6 ml-4",children:["Dorm ",a.Dormitorios||0]})]}),Number(a.BanheiroSocialQtd||"0")>0&&(0,r.jsxs)("li",{className:"flex flex-row items-center text-brand first:pl-0 last:pr-0 first:justify-start last:justify-end w-full",title:"Banheiros",children:[(0,r.jsx)(d.kw7,{size:20}),(0,r.jsxs)("span",{className:"text-sm left-6 ml-4",children:["Ban ",a.BanheiroSocialQtd||0]})]}),Number(a.AreaTotal||"0")>0&&(0,r.jsxs)("li",{className:"flex flex-row items-center text-brand first:pl-0 last:pr-0 first:justify-start last:justify-end w-full",title:"\xc1rea total",children:[(0,r.jsx)(o.yB9,{size:20}),(0,r.jsxs)("span",{className:"text-sm left-6 ml-4",children:[Math.floor(Number(a.AreaTotal||"0"))||0,"m\xb2"]})]})]}),(0,r.jsx)("span",{className:"text-[13px] font-normal leading-5 h-4",children:a.Categoria}),(null==a?void 0:null===(t=a.EEmpreendimento)||void 0===t?void 0:t.toUpperCase())==="SIM"?(0,r.jsx)("span",{className:"text-lg font-semibold line-clamp-1",children:(null==a?void 0:a.Empreendimento)||(null==a?void 0:a.TituloSite)||"..."}):(0,r.jsx)("span",{className:"text-lg font-semibold line-clamp-1",children:(null==a?void 0:a.TituloSite)||"..."}),(0,r.jsxs)("div",{className:"flex flex-col justify-end",children:[j.includes("VENDA")&&Number((null==a?void 0:a.ValorVenda)||"0")>0&&(0,r.jsx)("span",{className:"text-base font-medium",children:(0,f.xG)(Number((null==a?void 0:a.ValorVenda)||"0"))}),j.includes("ALUGUEL")&&Number((null==a?void 0:a.ValorLocacao)||"0")>0&&(0,r.jsxs)("span",{className:"text-base font-medium",children:[(0,f.xG)(Number((null==a?void 0:a.ValorLocacao)||"0"))," ",(0,r.jsx)("span",{className:"text-base",children:"/ m\xeas"})]})]}),(0,r.jsx)("div",{className:"mt-auto",children:(0,r.jsx)("span",{className:"text-sm font-normal line-clamp-1",children:y})}),(null==g?void 0:g.showWhatsappPropertyCard)&&(0,r.jsxs)(x.z,{onClick:e=>C(e),className:"flex flex-row flex-nowrap w-full items-center justify-center gap-2 shadow-none border bg-transparent rounded-[4px] text-sm text-inherit border-inherit px-4 hover:bg-[#29A71A] hover:text-white transition-colors duration-300 ease-in h-9",children:[(0,r.jsx)(p.xpo,{size:18}),"Tirar d\xfavidas"]})]})]})}},61256:function(e,t,a){"use strict";var r=a(5862),s=a(44714),l=a(67058),o=a(46858);let n=(0,l.forwardRef)((e,t)=>(0,r.jsx)(o.HH,{...e,customInput:s.I,getInputRef:t}));n.displayName="InputMask",t.Z=n},14891:function(e,t,a){"use strict";a.d(t,{$:function(){return o}});var r=a(5862),s=a(66206);let l=(0,a(43623).tv)({base:"flex gap-2 items-center justify-center",variants:{axis:{row:"flex-row",col:"flex-col"}},defaultVariants:{axis:"row"}});function o(e){let{className:t,axis:a,...o}=e;return(0,r.jsxs)("div",{role:"status",className:l({axis:a}),children:[(0,r.jsxs)("svg",{"aria-hidden":"true",className:(0,s.cn)("size-4 text-gray-200 animate-spin fill-brand-emphasis",t),viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),(0,r.jsx)("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]}),o.children]})}},49010:function(e,t,a){"use strict";a.d(t,{d:function(){return i},z:function(){return d}});var r=a(5862),s=a(67058),l=a(90213),o=a(95880),n=a(66206);let i=(0,o.j)("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),d=s.forwardRef((e,t)=>{let{className:a,variant:s,size:o,asChild:d=!1,...c}=e,u=d?l.g7:"button";return(0,r.jsx)(u,{className:(0,n.cn)(i({variant:s,size:o,className:a})),ref:t,...c})});d.displayName="Button"},95135:function(e,t,a){"use strict";a.d(t,{f:function(){return i}});var r=a(5862);a(67058);var s=a(49964),l=a(66206),o=a(49010),n=a(57008);function i(e){let{className:t,classNames:a,showOutsideDays:i=!0,...d}=e;return(0,r.jsx)(s._W,{showOutsideDays:i,className:(0,l.cn)("p-3",t),classNames:{months:"flex flex-col sm:flex-row space-y-4 sm:space-x-4 sm:space-y-0",month:"space-y-4",caption:"flex justify-center pt-1 relative items-center",caption_label:"text-sm font-medium",nav:"space-x-1 flex items-center",nav_button:(0,l.cn)((0,o.d)({variant:"outline"}),"h-7 w-7 bg-transparent p-0 opacity-50 hover:opacity-100"),nav_button_previous:"absolute left-1",nav_button_next:"absolute right-1",table:"w-full border-collapse space-y-1",head_row:"flex",head_cell:"text-muted-foreground rounded-md w-8 font-normal text-[0.8rem]",row:"flex w-full mt-2",cell:(0,l.cn)("relative p-0 text-center text-sm focus-within:relative focus-within:z-20 [&:has([aria-selected])]:bg-accent [&:has([aria-selected].day-outside)]:bg-accent/50 [&:has([aria-selected].day-range-end)]:rounded-r-md","range"===d.mode?"[&:has(>.day-range-end)]:rounded-r-md [&:has(>.day-range-start)]:rounded-l-md first:[&:has([aria-selected])]:rounded-l-md last:[&:has([aria-selected])]:rounded-r-md":"[&:has([aria-selected])]:rounded-md"),day:(0,l.cn)((0,o.d)({variant:"ghost"}),"h-8 w-8 p-0 font-normal aria-selected:opacity-100"),day_range_start:"day-range-start",day_range_end:"day-range-end",day_selected:"bg-primary text-primary-foreground hover:bg-primary hover:text-primary-foreground focus:bg-primary focus:text-primary-foreground",day_today:"bg-accent text-accent-foreground",day_outside:"day-outside text-muted-foreground aria-selected:bg-accent/50 aria-selected:text-muted-foreground",day_disabled:"text-muted-foreground opacity-50",day_range_middle:"aria-selected:bg-accent aria-selected:text-accent-foreground",day_hidden:"invisible",...a},components:{IconLeft:e=>{let{...t}=e;return(0,r.jsx)(n.wyc,{className:"h-4 w-4"})},IconRight:e=>{let{...t}=e;return(0,r.jsx)(n.XCv,{className:"h-4 w-4"})}},...d})}i.displayName="Calendar"},76887:function(e,t,a){"use strict";a.d(t,{Carousel:function(){return u},CarouselContent:function(){return m},CarouselItem:function(){return f},CarouselNext:function(){return p},CarouselPrevious:function(){return x}});var r=a(5862),s=a(67058),l=a(57008),o=a(52765),n=a(66206),i=a(49010);let d=s.createContext(null);function c(){let e=s.useContext(d);if(!e)throw Error("useCarousel must be used within a ");return e}let u=s.forwardRef((e,t)=>{let{orientation:a="horizontal",opts:l,setApi:i,plugins:c,className:u,children:m,...f}=e,[x,p]=(0,o.Z)({...l,axis:"horizontal"===a?"x":"y"},c),[h,b]=s.useState(!1),[g,v]=s.useState(!1),y=s.useCallback(e=>{e&&(b(e.canScrollPrev()),v(e.canScrollNext()))},[]),j=s.useCallback(()=>{null==p||p.scrollPrev()},[p]),w=s.useCallback(()=>{null==p||p.scrollNext()},[p]),N=s.useCallback(e=>{"ArrowLeft"===e.key?(e.preventDefault(),j()):"ArrowRight"===e.key&&(e.preventDefault(),w())},[j,w]);return s.useEffect(()=>{p&&i&&i(p)},[p,i]),s.useEffect(()=>{if(p)return y(p),p.on("reInit",y),p.on("select",y),()=>{null==p||p.off("select",y)}},[p,y]),(0,r.jsx)(d.Provider,{value:{carouselRef:x,api:p,opts:l,orientation:a||((null==l?void 0:l.axis)==="y"?"vertical":"horizontal"),scrollPrev:j,scrollNext:w,canScrollPrev:h,canScrollNext:g},children:(0,r.jsx)("div",{ref:t,onKeyDownCapture:N,className:(0,n.cn)("relative",u),role:"region","aria-roledescription":"carousel",...f,children:m})})});u.displayName="Carousel";let m=s.forwardRef((e,t)=>{let{className:a,...s}=e,{carouselRef:l,orientation:o}=c();return(0,r.jsx)("div",{ref:l,className:"overflow-hidden",children:(0,r.jsx)("div",{ref:t,className:(0,n.cn)("flex","horizontal"===o?"-ml-4":"-mt-4 flex-col",a),...s})})});m.displayName="CarouselContent";let f=s.forwardRef((e,t)=>{let{className:a,...s}=e,{orientation:l}=c();return(0,r.jsx)("div",{ref:t,role:"group","aria-roledescription":"slide",className:(0,n.cn)("min-w-0 shrink-0 grow-0 basis-full","horizontal"===l?"pl-4":"pt-4",a),...s})});f.displayName="CarouselItem";let x=s.forwardRef((e,t)=>{let{className:a,variant:s="outline",size:o="icon",...d}=e,{orientation:u,scrollPrev:m,canScrollPrev:f}=c();return(0,r.jsxs)(i.z,{ref:t,variant:s,size:o,className:(0,n.cn)("absolute h-8 w-8 rounded-full","horizontal"===u?"-left-12 top-1/2 -translate-y-1/2":"-top-12 left-1/2 -translate-x-1/2 rotate-90",a),disabled:!f,onClick:m,...d,children:[(0,r.jsx)(l.Y4O,{className:"h-4 w-4"}),(0,r.jsx)("span",{className:"sr-only",children:"Previous slide"})]})});x.displayName="CarouselPrevious";let p=s.forwardRef((e,t)=>{let{className:a,variant:s="outline",size:o="icon",...d}=e,{orientation:u,scrollNext:m,canScrollNext:f}=c();return(0,r.jsxs)(i.z,{ref:t,variant:s,size:o,className:(0,n.cn)("absolute h-8 w-8 rounded-full","horizontal"===u?"-right-12 top-1/2 -translate-y-1/2":"-bottom-12 left-1/2 -translate-x-1/2 rotate-90",a),disabled:!f,onClick:m,...d,children:[(0,r.jsx)(l.LZ3,{className:"h-4 w-4"}),(0,r.jsx)("span",{className:"sr-only",children:"Next slide"})]})});p.displayName="CarouselNext"},39595:function(e,t,a){"use strict";a.d(t,{$N:function(){return f},Be:function(){return x},Vq:function(){return i},cZ:function(){return u},fK:function(){return m}});var r=a(5862),s=a(67058),l=a(65801),o=a(57008),n=a(66206);let i=l.fC;l.xz;let d=l.h_;l.x8;let c=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(l.aV,{ref:t,className:(0,n.cn)("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",a),...s})});c.displayName=l.aV.displayName;let u=s.forwardRef((e,t)=>{let{className:a,children:s,...i}=e;return(0,r.jsxs)(d,{children:[(0,r.jsx)(c,{}),(0,r.jsxs)(l.VY,{ref:t,className:(0,n.cn)("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",a),...i,children:[s,(0,r.jsxs)(l.x8,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[(0,r.jsx)(o.Pxu,{className:"h-4 w-4"}),(0,r.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})});u.displayName=l.VY.displayName;let m=e=>{let{className:t,...a}=e;return(0,r.jsx)("div",{className:(0,n.cn)("flex flex-col space-y-1.5 text-center sm:text-left",t),...a})};m.displayName="DialogHeader";let f=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(l.Dx,{ref:t,className:(0,n.cn)("text-lg font-semibold leading-none tracking-tight",a),...s})});f.displayName=l.Dx.displayName;let x=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(l.dk,{ref:t,className:(0,n.cn)("text-sm text-muted-foreground",a),...s})});x.displayName=l.dk.displayName},44714:function(e,t,a){"use strict";a.d(t,{I:function(){return o}});var r=a(5862),s=a(67058),l=a(66206);let o=s.forwardRef((e,t)=>{let{className:a,type:s,...o}=e;return(0,r.jsx)("input",{type:s,className:(0,l.cn)("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",a),ref:t,...o})});o.displayName="Input"},11610:function(e,t,a){"use strict";a.d(t,{g:function(){return o}});var r=a(5862),s=a(67058),l=a(66206);let o=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)("textarea",{className:(0,l.cn)("flex min-h-[60px] w-full rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",a),ref:t,...s})});o.displayName="Textarea"},41896:function(e,t,a){"use strict";a.d(t,{DZ:function(){return s},Dy:function(){return l},Lq:function(){return r}});let r=async e=>{if(!e.to.name&&!e.to.email)return;let t=new Date;t.setMinutes(t.getMinutes()+2);let a={type:"create_scheduled_event",args:{webhook:"".concat("https://loft-util-service-6yhsypgxha-rj.a.run.app","/email/lead"),schedule_at:t.toISOString(),payload:e,headers:[{name:"x-loft-event-signature",value:"aksjndfjksdfbh98934hr93uhoiqhdo09i2hdeuchbuagdsyg6ey8e7wq9dho9GIUg87g877gIJbkjByufUYGyi"}],retry_conf:{num_retries:30,timeout_seconds:60,retry_interval_seconds:900},comment:"Send email lead"}};await fetch("https://ppbxdsyojwqujdrmnxdv.hasura.sa-east-1.nhost.run/v1/metadata",{method:"POST",headers:{"Content-Type":"application/json","x-hasura-admin-secret":"aamsd0h293hr78gh9ugs9ausgaugd9q3ghouabf0q91ihihHUiuguYiugIUBGhggFij89yuKJG8gdyga8dus8h372gh827gd87gd8ag8"},body:JSON.stringify(a)})},s=async e=>{if(!e.to.name&&!e.to.email)return;let t=new Date;t.setMinutes(t.getMinutes()+2);let a={type:"create_scheduled_event",args:{webhook:"".concat("https://loft-util-service-6yhsypgxha-rj.a.run.app","/email/contact"),schedule_at:t.toISOString(),payload:e,headers:[{name:"x-loft-event-signature",value:"aksjndfjksdfbh98934hr93uhoiqhdo09i2hdeuchbuagdsyg6ey8e7wq9dho9GIUg87g877gIJbkjByufUYGyi"}],retry_conf:{num_retries:30,timeout_seconds:60,retry_interval_seconds:900},comment:"Send email contact"}};await fetch("https://ppbxdsyojwqujdrmnxdv.hasura.sa-east-1.nhost.run/v1/metadata",{method:"POST",headers:{"Content-Type":"application/json","x-hasura-admin-secret":"aamsd0h293hr78gh9ugs9ausgaugd9q3ghouabf0q91ihihHUiuguYiugIUBGhggFij89yuKJG8gdyga8dus8h372gh827gd87gd8ag8"},body:JSON.stringify(a)})},l=async e=>{if(!e.to.name&&!e.to.email)return;let t=new Date;t.setMinutes(t.getMinutes()+2);let a={type:"create_scheduled_event",args:{webhook:"".concat("https://loft-util-service-6yhsypgxha-rj.a.run.app","/email/scheduling"),schedule_at:t.toISOString(),payload:e,headers:[{name:"x-loft-event-signature",value:"aksjndfjksdfbh98934hr93uhoiqhdo09i2hdeuchbuagdsyg6ey8e7wq9dho9GIUg87g877gIJbkjByufUYGyi"}],retry_conf:{num_retries:30,timeout_seconds:60,retry_interval_seconds:900},comment:"Send email scheduling"}};await fetch("https://ppbxdsyojwqujdrmnxdv.hasura.sa-east-1.nhost.run/v1/metadata",{method:"POST",headers:{"Content-Type":"application/json","x-hasura-admin-secret":"aamsd0h293hr78gh9ugs9ausgaugd9q3ghouabf0q91ihihHUiuguYiugIUBGhggFij89yuKJG8gdyga8dus8h372gh827gd87gd8ag8"},body:JSON.stringify(a)})}},43623:function(e,t,a){"use strict";a.d(t,{tv:function(){return v}});var r=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,s=e=>!e||"object"!=typeof e||0===Object.keys(e).length,l=(e,t)=>JSON.stringify(e)===JSON.stringify(t);function o(e){let t=[];return function e(t,a){t.forEach(function(t){Array.isArray(t)?e(t,a):a.push(t)})}(e,t),t}var n=(...e)=>o(e).filter(Boolean),i=(e,t)=>{let a={},r=Object.keys(e),s=Object.keys(t);for(let l of r)if(s.includes(l)){let r=e[l],s=t[l];"object"==typeof r&&"object"==typeof s?a[l]=i(r,s):Array.isArray(r)||Array.isArray(s)?a[l]=n(s,r):a[l]=s+" "+r}else a[l]=e[l];for(let e of s)r.includes(e)||(a[e]=t[e]);return a},d=e=>e&&"string"==typeof e?e.replace(/\s+/g," ").trim():e,c=a(58615),u={twMerge:!0,twMergeConfig:{},responsiveVariants:!1},m=e=>e||void 0,f=(...e)=>m(o(e).filter(Boolean).join(" ")),x=null,p={},h=!1,b=(...e)=>t=>t.twMerge?((!x||h)&&(h=!1,x=s(p)?c.m6:(0,c.q7)({...p,extend:{theme:p.theme,classGroups:p.classGroups,conflictingClassGroupModifiers:p.conflictingClassGroupModifiers,conflictingClassGroups:p.conflictingClassGroups,...p.extend}})),m(x(f(e)))):f(e),g=(e,t)=>{for(let a in t)e.hasOwnProperty(a)?e[a]=f(e[a],t[a]):e[a]=t[a];return e},v=(e,t)=>{let{extend:a=null,slots:o={},variants:c={},compoundVariants:m=[],compoundSlots:x=[],defaultVariants:v={}}=e,y={...u,...t},j=null!=a&&a.base?f(a.base,null==e?void 0:e.base):null==e?void 0:e.base,w=null!=a&&a.variants&&!s(a.variants)?i(c,a.variants):c,N=null!=a&&a.defaultVariants&&!s(a.defaultVariants)?{...a.defaultVariants,...v}:v;s(y.twMergeConfig)||l(y.twMergeConfig,p)||(h=!0,p=y.twMergeConfig);let C=s(null==a?void 0:a.slots),k=s(o)?{}:{base:f(null==e?void 0:e.base,C&&(null==a?void 0:a.base)),...o},S=C?k:g({...null==a?void 0:a.slots},s(k)?{base:null==e?void 0:e.base}:k),z=s(null==a?void 0:a.compoundVariants)?m:n(null==a?void 0:a.compoundVariants,m),_=e=>{if(s(w)&&s(o)&&C)return b(j,null==e?void 0:e.class,null==e?void 0:e.className)(y);if(z&&!Array.isArray(z))throw TypeError(`The "compoundVariants" prop must be an array. Received: ${typeof z}`);if(x&&!Array.isArray(x))throw TypeError(`The "compoundSlots" prop must be an array. Received: ${typeof x}`);let t=(e,t,a=[],r)=>{let s=a;if("string"==typeof t)s=s.concat(d(t).split(" ").map(t=>`${e}:${t}`));else if(Array.isArray(t))s=s.concat(t.reduce((t,a)=>t.concat(`${e}:${a}`),[]));else if("object"==typeof t&&"string"==typeof r){for(let a in t)if(t.hasOwnProperty(a)&&a===r){let l=t[a];if(l&&"string"==typeof l){let t=d(l);s[r]?s[r]=s[r].concat(t.split(" ").map(t=>`${e}:${t}`)):s[r]=t.split(" ").map(t=>`${e}:${t}`)}else Array.isArray(l)&&l.length>0&&(s[r]=l.reduce((t,a)=>t.concat(`${e}:${a}`),[]))}}return s},a=(a,l=w,o=null,n=null)=>{var i;let d=l[a];if(!d||s(d))return null;let c=null!=(i=null==n?void 0:n[a])?i:null==e?void 0:e[a];if(null===c)return null;let u=r(c),m=Array.isArray(y.responsiveVariants)&&y.responsiveVariants.length>0||!0===y.responsiveVariants,f=null==N?void 0:N[a],x=[];if("object"==typeof u&&m)for(let[e,a]of Object.entries(u)){let r=d[a];if("initial"===e){f=a;continue}Array.isArray(y.responsiveVariants)&&!y.responsiveVariants.includes(e)||(x=t(e,r,x,o))}let p=d[(null!=u&&"object"!=typeof u?u:r(f))||"false"];return"object"==typeof x&&"string"==typeof o&&x[o]?g(x,p):x.length>0?(x.push(p),x):p},l=(e,t)=>{if(!w||"object"!=typeof w)return null;let r=[];for(let s in w){let l=a(s,w,e,t),o="base"===e&&"string"==typeof l?l:l&&l[e];o&&(r[r.length]=o)}return r},n={};for(let t in e)void 0!==e[t]&&(n[t]=e[t]);let i=(t,a)=>{var r;let s="object"==typeof(null==e?void 0:e[t])?{[t]:null==(r=e[t])?void 0:r.initial}:{};return{...N,...n,...s,...a}},c=(e=[],t)=>{let a=[];for(let{class:r,className:s,...l}of e){let e=!0;for(let[a,r]of Object.entries(l)){let s=i(a,t);if(Array.isArray(r)){if(!r.includes(s[a])){e=!1;break}}else if(s[a]!==r){e=!1;break}}e&&(r&&a.push(r),s&&a.push(s))}return a},u=e=>{let t=c(z,e);if(!Array.isArray(t))return t;let a={};for(let e of t)if("string"==typeof e&&(a.base=b(a.base,e)(y)),"object"==typeof e)for(let[t,r]of Object.entries(e))a[t]=b(a[t],r)(y);return a},m=e=>{if(x.length<1)return null;let t={};for(let{slots:a=[],class:r,className:l,...o}of x){if(!s(o)){let t=!0;for(let a of Object.keys(o)){let r=i(a,e)[a];if(void 0===r||(Array.isArray(o[a])?!o[a].includes(r):o[a]!==r)){t=!1;break}}if(!t)continue}for(let e of a)t[e]=t[e]||[],t[e].push([r,l])}return t};if(!s(o)||!C){let e={};if("object"==typeof S&&!s(S))for(let t of Object.keys(S))e[t]=e=>{var a,r;return b(S[t],l(t,e),(null!=(a=u(e))?a:[])[t],(null!=(r=m(e))?r:[])[t],null==e?void 0:e.class,null==e?void 0:e.className)(y)};return e}return b(j,w?Object.keys(w).map(e=>a(e,w)):null,c(z),null==e?void 0:e.class,null==e?void 0:e.className)(y)};return _.variantKeys=(()=>{if(!(!w||"object"!=typeof w))return Object.keys(w)})(),_.extend=a,_.base=j,_.slots=S,_.variants=w,_.defaultVariants=N,_.compoundSlots=x,_.compoundVariants=z,_}}},function(e){e.O(0,[6398,9846,8791,8014,4822,9016,4277,8618,4868,1510,205,8642,2856,4563,3547,9889,6858,5801,2238,3139,2765,8535,9165,6196,158,1003,1744],function(){return e(e.s=19958)}),_N_E=e.O()}]);