PageSourceSearch

https://viana.com.br/_next/static/chunks/app/(public)/page-018865879e2d25a5.js

js viana.com.br collected 2026-10-06 07:46:51 UTC 34,165 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5359],{2140:(e,t,a)=>{Promise.resolve().then(a.bind(a,3662)),Promise.resolve().then(a.bind(a,6485)),Promise.resolve().then(a.bind(a,8457)),Promise.resolve().then(a.bind(a,8520)),Promise.resolve().then(a.bind(a,7751)),Promise.resolve().then(a.bind(a,6257)),Promise.resolve().then(a.t.bind(a,8500,23)),Promise.resolve().then(a.t.bind(a,8437,23))},3662:(e,t,a)=>{"use strict";a.d(t,{default:()=>i});var r=a(5155),s=a(5772),l=a(2115);function i({comments:e}){let t=(0,l.useRef)(null);if(!e||0===e.length)return null;let a=e.filter(e=>1===e.status),n=e=>{if(t.current){let{scrollLeft:a,clientWidth:r}=t.current,s=.75*r;t.current.scrollTo({left:"left"===e?a-s:a+s,behavior:"smooth"})}};return(0,r.jsxs)("section",{id:"trip_comentarios",className:"w-full bg-[#fcfaf5] py-24 overflow-hidden relative",children:[(0,r.jsx)("div",{className:"absolute top-[20%] right-[-10%] w-[35rem] h-[35rem] rounded-full bg-[#00af87]/5 blur-[120px] pointer-events-none z-0"}),(0,r.jsxs)("div",{className:"max-w-[995px] mx-auto px-6 relative z-10 pt-10 md:pt-[105px]",children:[(0,r.jsxs)("div",{className:"flex flex-col items-center text-center gap-6 mb-16 border-b border-slate-200/40 pb-8",children:[(0,r.jsxs)("div",{className:"flex flex-col items-center",children:[(0,r.jsxs)("span",{className:"text-[#00af87] text-[10px] font-bold tracking-widest uppercase mb-2.5 flex items-center gap-1.5",children:[(0,r.jsx)("span",{className:"w-1.5 h-1.5 rounded-full bg-[#00af87] animate-pulse"}),"Depoimentos Verificados"]}),(0,r.jsx)("h2",{className:"text-[#253c7f] font-light text-[32px] md:text-[38px] uppercase tracking-wide font-display m-0 leading-none",children:"O que dizem sobre n\xf3s"})]}),(0,r.jsxs)("a",{href:"https://www.tripadvisor.com.br/Restaurant_Review-g609135-d2427443-Reviews-Restaurante_Viana-Ilhabela_State_of_Sao_Paulo.html",target:"_blank",rel:"noopener noreferrer",className:"border border-[#00af87] text-[#00af87] hover:bg-[#00af87] hover:text-white px-5 py-3 rounded-2xl text-[10px] font-bold uppercase tracking-wider transition-all duration-300 flex items-center gap-2 hover:shadow-md shrink-0",children:[(0,r.jsx)("svg",{className:"w-4 h-4 fill-current",viewBox:"0 0 24 24",children:(0,r.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"})}),"Ver mais no TripAdvisor"]})]}),(0,r.jsxs)("div",{className:"relative w-full",children:[(0,r.jsx)("div",{ref:t,className:"flex gap-6 overflow-x-auto pb-8 pt-4 snap-x snap-mandatory scrollbar-none scroll-smooth -mx-6 px-6",children:a.map(e=>{let t;return(0,r.jsxs)("div",{className:"bg-white rounded-[24px] shadow-[0_8px_30px_rgb(0,0,0,0.015)] hover:shadow-[0_12px_40px_rgb(0,0,0,0.05)] transition-all duration-500 hover:-translate-y-1 p-6 flex flex-col justify-between snap-center w-[290px] sm:w-[330px] shrink-0 group",children:[(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{className:"flex justify-between items-center mb-4 pb-3 border-b border-slate-100/60",children:[(0,r.jsxs)("div",{className:"flex items-center gap-3",children:[((e,t=44)=>e.imagem&&""!==e.imagem.trim()&&"user.jpg"!==e.imagem?(0,r.jsx)("div",{className:"rounded-full overflow-hidden border border-slate-200/50 relative shrink-0 shadow-sm",style:{width:t,height:t},children:(0,r.jsx)(s.default,{src:`/images/trip/${e.imagem}`,alt:e.nome,fill:!0,sizes:`${t}px`,className:"object-cover"})}):(0,r.jsx)("div",{className:"rounded-full flex items-center justify-center bg-slate-50 text-[#00af87] border border-slate-100 shrink-0 shadow-sm",style:{width:t,height:t},title:"Viajante TripAdvisor",children:(0,r.jsxs)("svg",{className:"w-[22px] h-[22px] fill-none stroke-current",strokeWidth:"1.5",viewBox:"0 0 24 24",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,r.jsx)("circle",{cx:"12",cy:"12",r:"9"}),(0,r.jsx)("path",{d:"M3.6 9h16.8M3.6 15h16.8"}),(0,r.jsx)("path",{d:"M11.5 3a17 17 0 0 0 0 18M12.5 3a17 17 0 0 1 0 18"})]})}))(e),(0,r.jsxs)("div",{className:"flex flex-col",children:[(0,r.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,r.jsx)("span",{className:"font-bold text-slate-800 text-sm leading-tight",children:e.nome}),(0,r.jsx)("svg",{className:"w-3.5 h-3.5 text-blue-500 fill-current",viewBox:"0 0 24 24",title:"Avaliador Verificado",children:(0,r.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"})})]}),(0,r.jsx)("span",{className:"text-[9px] text-slate-400 font-light mt-0.5",children:"Ilhabela, SP"})]})]}),(0,r.jsx)("div",{className:"opacity-15 group-hover:opacity-35 transition-opacity duration-300",children:(0,r.jsx)("svg",{className:"w-5 h-5 fill-slate-300",viewBox:"0 0 24 24",children:(0,r.jsx)("path",{d:"M14.017 21v-7.391c0-5.704 3.731-9.57 8.983-10.609l.995 2.151c-2.432.917-3.995 3.638-3.995 5.849h4v10h-9.988zm-12 0v-7.391c0-5.704 3.748-9.57 9-10.609l.996 2.151c-2.433.917-3.996 3.638-3.996 5.849h3.983v10h-9.983z"})})})]}),(0,r.jsx)("div",{className:"mb-3",children:(t=e.nota,(0,r.jsx)("div",{className:"flex gap-1.5 my-1.5",children:Array.from({length:5}).map((e,a)=>(0,r.jsx)("span",{className:`w-3 h-3 rounded-full border border-[#00af87] transition-colors ${a<t?"bg-[#00af87]":"bg-transparent"}`},a))}))}),(0,r.jsxs)("h4",{className:"font-bold text-slate-800 text-sm leading-tight mb-2 italic",children:['"',e.titulo,'"']}
1),(0,r.jsx)("p",{className:"text-slate-500 font-light text-xs leading-relaxed select-text line-clamp-5",children:e.comentario})]}),(0,r.jsxs)("div",{className:"border-t border-slate-100 pt-4 mt-6 flex justify-between items-center text-[9px] text-slate-400 font-semibold tracking-wider",children:[(0,r.jsx)("span",{children:"RECOMMENDED"}),(0,r.jsx)("span",{className:"text-[#00af87] flex items-center gap-1 font-bold",children:"via TripAdvisor"})]})]},e.id)})}),(0,r.jsx)("button",{onClick:()=>n("left"),className:"absolute left-[-20px] top-[45%] -translate-y-1/2 z-20 w-11 h-11 rounded-full bg-white border border-slate-100 shadow-md flex items-center justify-center text-slate-500 hover:text-slate-700 hover:bg-slate-50 active:scale-95 hover:scale-105 transition-all hidden lg:flex","aria-label":"Anterior",children:(0,r.jsx)("svg",{className:"w-5 h-5 fill-none stroke-current",strokeWidth:"2.5",viewBox:"0 0 24 24",children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 19.5L8.25 12l7.5-7.5"})})}),(0,r.jsx)("button",{onClick:()=>n("right"),className:"absolute right-[-20px] top-[45%] -translate-y-1/2 z-20 w-11 h-11 rounded-full bg-white border border-slate-100 shadow-md flex items-center justify-center text-slate-500 hover:text-slate-700 hover:bg-slate-50 active:scale-95 hover:scale-105 transition-all hidden lg:flex","aria-label":"Pr\xf3ximo",children:(0,r.jsx)("svg",{className:"w-5 h-5 fill-none stroke-current",strokeWidth:"2.5",viewBox:"0 0 24 24",children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.25 4.5l7.5 7.5-7.5 7.5"})})})]})]})]})}},4508:(e,t,a)=>{"use strict";a.d(t,{B:()=>n,EditModeProvider:()=>i});var r=a(5155),s=a(2115);let l=(0,s.createContext)();function i({children:e}
1){let[t,a]=(0,s.useState)(!1),[n,o]=(0,s.useState)(!1);return(0,s.useEffect)(()=>{(async()=>{try{let e=await fetch("/api/admin/session");e.ok&&(await e.json()).authenticated&&a(!0)}catch(e){console.error("Session check client error:",e)}})()},[]),(0,r.jsxs)(l.Provider,{value:{isAdmin:t,editMode:n,setEditMode:o},children:[e,t&&(0,r.jsxs)("div",{className:"fixed bottom-6 left-6 z-[9999] glass p-4 rounded-2xl border border-slate-200 shadow-xl flex items-center gap-4 text-xs font-bold text-slate-800 animate-slide",children:[(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)("span",{className:"w-2.5 h-2.5 rounded-full bg-[#fac612] animate-pulse"}),(0,r.jsx)("span",{children:"Painel do Operador"})]}),(0,r.jsx)("div",{className:"w-px h-4 bg-slate-200"}),(0,r.jsxs)("button",{onClick:()=>o(!n),className:`px-3 py-1.5 rounded-xl font-bold uppercase tracking-wider text-[11px] transition-all flex items-center gap-2 border ${n?"bg-[#fac612] text-[#253c7f] border-[#fac612] shadow-md":"bg-white/60 hover:bg-white text-slate-600 border-slate-200"}`,children:[(0,r.jsx)("span",{children:"✏️"}),(0,r.jsx)("span",{children:n?"Salvar & Sair":"Editar Conte\xfado"})]})]})]})}function n(){return(0,s.useContext)(l)}},6257:(e,t,a)=>{"use strict";a.d(t,{default:()=>i});var r=a(5155),s=a(4508),l=a(2115);function i({pagina:e,chave:t,initialText:a,className:n="",as:o="span"}){let{editMode:d}=(0,s.B)(),[c,x]=(0,l.useState)(a||""),[m,h]=(0,l.useState)(!1);console.log(`[EditableText Debug] Key: ${t}, EditMode: ${d}`);let u=async a=>{let r=a.target.innerText;if(r!==c){h(!0);try{(await fetch("/api/admin/textos",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({pagina:e,chave:t,conteudo:r})})).ok?x(r):(alert("Erro ao salvar edi\xe7\xe3o de texto."),a.target.innerText=c)}catch(e){console.error(e),alert("Erro de rede."),a.target.innerText=c}finally{h(!1)}}};return d?(0,r.jsx)(o,{contentEditable:!0,suppressContentEditableWarning:!0,onBlur:u,className:`${n} cursor-text outline-dashed outline-2 outline-offset-2 outline-[#fac612] bg-[#fac612]/5 transition-all ${m?"opacity-50 pointer-events-none":""}`,title:"Clique para editar este texto diretamente",children:c}):(0,r.jsx)(o,{className:n,children:c})}},6485:(e,t,a)=>{"use strict";a.d(t,{default:()=>u});var r=a(5155),s=a(9092),l=a.n(s),i=a(2115),n=a(5772),o=a(677),d=a(619),c=a(8200),x=a(8735),m=a(8281);a(3520),a(9963),a(5214),a(7996);let h=[{id:1,imagem:"viana-praia-1-07-40-19-03-12-2017.jpg",titulo:"Deck Principal \xe0 Beira-Mar",subtitulo:"Ilhabela • SP",tag:"Deck & Vista"}
1,{id:2,imagem:"CopiadeMAY9594-23-51-25-15-04-2021.jpg",titulo:"Gastronomia & Frutos do Mar",subtitulo:"Culin\xe1ria Brasileira",tag:"Gastronomia"},{id:3,imagem:"CopiadeMAY9555copiar-23-52-35-15-04-2021.jpg",titulo:"Drinks & Viana Bar",subtitulo:"Cocktails Autorais",tag:"Viana Bar"},{id:4,imagem:"CamaraaonaMoranga02-18-39-20-14-01-2018.jpg",titulo:"Camar\xe3o na Moranga",subtitulo:"Receita Patenteada",tag:"Especialidade"},{id:5,imagem:"viana-praia-3.jpg",titulo:"P\xf4r do Sol na Praia do Viana",subtitulo:"Vista Panor\xe2mica",tag:"Entardecer"},{id:6,imagem:"viana-praia-6.jpg",titulo:"Sal\xe3o Deck Coberto",subtitulo:"Ambiente Exclusivo",tag:"Ambiente"},{id:7,imagem:"viana-praia-2.jpg",titulo:"Vista A\xe9rea da Praia do Viana",subtitulo:"Litoral Norte SP",tag:"Praia"},{id:8,imagem:"slideset-1.jpg",titulo:"Experi\xeancia Gastron\xf4mica Viana",subtitulo:"Tradi\xe7\xe3o Schoof",tag:"Luxo"}];function u({images:e=h}){let t=e.length>0?e:h,[a,s]=(0,i.useState)(0),[p,f]=(0,i.useState)(null),b=(0,i.useCallback)(()=>{null!==p&&f(e=>e>0?e-1:t.length-1)},[p,t.length]),g=(0,i.useCallback)(()=>{null!==p&&f(e=>e<t.length-1?e+1:0)},[p,t.length]),v=(0,i.useCallback)(e=>{null!==p&&("Escape"===e.key&&f(null),"ArrowLeft"===e.key&&b(),"ArrowRight"===e.key&&g())},[p,b,g]);(0,i.useEffect)(()=>(window.addEventListener("keydown",v),()=>window.removeEventListener("keydown",v)),[v]);let w=null!==p?t[p]:null;return(0,r.jsxs)("section",{id:"galeria-viana",className:"jsx-74dc971a3262048 w-full bg-gradient-to-b from-[#fcfaf5] via-white to-[#f5f3ec] py-20 md:py-28 relative overflow-hidden border-t border-b border-slate-200/60",children:[(0,r.jsx)("div",{className:"jsx-74dc971a3262048 absolute top-0 right-1/4 w-96 h-96 bg-[#fac612]/10 rounded-full blur-3xl pointer-events-none"}),(0,r.jsx)("div",{className:"jsx-74dc971a3262048 absolute bottom-10 left-10 w-96 h-96 bg-[#253c7f]/5 rounded-full blur-3xl pointer-events-none"}),(0,r.jsx)("div",{className:"jsx-74dc971a3262048 max-w-[1240px] mx-auto px-4 sm:px-6 relative z-10",children:(0,r.jsxs)("div",{className:"jsx-74dc971a3262048 relative py-4 px-2 select-none viana-coverflow-wrapper",children:[(0,r.jsx)(o.RC,{modules:[d.A,c.A,x.A,m.A],effect:"coverflow",grabCursor:!0,centeredSlides:!0,loop:!0,slidesPerView:"auto",initialSlide:2,autoplay:{delay:3800,disableOnInteraction:!1,pauseOnMouseEnter:!0},coverflowEffect:{rotate:32,stretch:0,depth:220,modifier:1.25,slideShadows:!0},pagination:{clickable:!0,dynamicBullets:!0},navigation:{nextEl:".viana-swiper-button-next",prevEl:".viana-swiper-button-prev"},onSlideChange:e=>s(e.realIndex),className:"w-full py-8 !overflow-visible",children:t.map((e,t)=>(0,r.jsx)(o.qr,{className:"!w-[300px] sm:!w-[380px] md:!w-[440px] aspect-[4/3] relative rounded-3xl overflow-hidden shadow-2xl transition-all duration-500 cursor-pointer bg-slate-900 group",onClick:()=>f(t),children:(0,r.jsx)(n.default,{src:`/images/slideset/${e.imagem}`,alt:e.titulo||"Restaurante Viana",fill:!0,sizes:"(max-width: 640px) 300px, (max-width: 768px) 380px, 440px",className:"object-cover transition-transform duration-700 ease-out group-hover:scale-105",priority:t<4})},e.id||t))}),(0,r.jsx)("button",{"aria-label":"Anterior",className:"jsx-74dc971a3262048 viana-swiper-button-prev absolute left-2 md:left-6 top-1/2 -translate-y-1/2 z-30 w-[34px] h-[34px] rounded-full bg-white/80 hover:bg-[#253c7f] text-[#253c7f] hover:text-white flex items-center justify-center transition-all duration-300 shadow-lg border border-white/60 backdrop-blur-md active:scale-95 cursor-pointer",children:(0,r.jsx)("svg",{fill:"none",strokeWidth:"2.5",viewBox:"0 0 24 24",className:"jsx-74dc971a3262048 w-4 h-4 stroke-current",children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 19.5L8.25 12l7.5-7.5",className:"jsx-74dc971a3262048"})})}),(0,r.jsx)("button",{"aria-label":"Pr\xf3xima",className:"jsx-74dc971a3262048 viana-swiper-button-next absolute right-2 md:right-6 top-1/2 -translate-y-1/2 z-30 w-[34px] h-[34px] rounded-full bg-white/80 hover:bg-[#253c7f] text-[#253c7f] hover:text-white flex items-center justify-center transition-all duration-300 shadow-lg border border-white/60 backdrop-blur-md active:scale-95 cursor-pointer",children:(0,r.jsx)("svg",{fill:"none",strokeWidth:"2.5",viewBox:"0 0 24 24",className:"jsx-74dc971a3262048 w-4 h-4 stroke-current",children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.25 4.5l7.5 7.5-7.5 7.5",className:"jsx-74dc971a3262048"})})})]})}),w&&(0,r.jsxs)("div",{onClick:()=>f(null),className:"jsx-74dc971a3262048 fixed inset-0 z-[10000] backdrop-blur-2xl bg-black/92 flex flex-col items-center justify-center p-2 md:p-[60px] animate-fade cursor-zoom-out select-none overflow-hidden",children:[(0,r.jsx)("button",{onClick:()=>f(null),"aria-label":"Fechar",className:"jsx-74dc971a3262048 absolute top-3 right-3 md:top-6 md:right-6 z-50 w-11 h-11 rounded-full bg-white/20 hover:bg-white/40 text-white font-bold text-xl flex items-center justify-center transition-all border border-white/30 backdrop-blur-md active:scale-95 shadow-2xl cursor-pointer",children:"✕"}),(0,r.jsx)("button",{onClick:e=>{e.stopPropagation(),b()},"aria-label":"Imagem Anterior",className:"jsx-74dc971a3262048 absolute left-2 md:left-6 top-1/2 -translate-y-1/2 z-50 w-11 h-11 md:w-13 md:h-13 rounded-full bg-white/20 hover:bg-white/40 text-white flex items-center justify-center transition-all border border-white/30 backdrop-blur-md active:scale-90 shadow-2xl cursor-pointer",children:(0,r.jsx)("svg",{fill:"none",strokeWidth:"2.5",viewBox:"0 0 24 24",className:"jsx-74dc971a3262048 w-6 h-6 stroke-current",children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 19.5L8.25 12l7.5-7.5",className:"jsx-74dc971a3262048"})})}),(0,r.jsx)("button",{onClick:e=>{e.stopPropagation(),g()},"aria-label":"Pr\xf3xima Imagem",className:"jsx-74dc971a3262048 absolute right-2 md:right-6 top-1/2 -translate-y-1/2 z-50 w-11 h-11 md:w-13 md:h-13 rounded-full bg-white/20 hover:bg-white/40 text-white flex items-center justify-center transition-all border border-white/30 backdrop-blur-md active:scale-90 shadow-2xl cursor-pointer",children:(0,r.jsx)("svg",{fill:"none",strokeWidth:"2.5",viewBox:"0 0 24 24",className:"jsx-74dc971a3262048 w-6 h-6 stroke-current",children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.25 4.5l7.5 7.5-7.5 7.5",className:"jsx-74dc971a3262048"})})}),(0,r.jsxs)("div",{onClick:e=>e.stopPropagation(),className:"jsx-74dc971a3262048 relative w-full h-full max-w-[calc(100vw-16px)] max-h-[calc(100vh-16px)] md:max-w-[calc(100vw-120px)] md:max-h-[calc(100vh-120px)] flex flex-col items-center justify-center cursor-default",children:[(0,r.jsx)("img",{src:`/images/slideset/${w.imagem}`,alt:w.titulo||"Amplia\xe7\xe3o Viana",className:"jsx-74dc971a3262048 max-w-full max-h-[calc(100vh-100px)] md:max-h-[calc(100vh-180px)] w-auto h-auto object-contain rounded-2xl shadow-2xl border border-white/20 drop-shadow-[0_25px_60px_rgba(0,0,0,0.95)] transition-all duration-300"}),(0,r.jsxs)("div",{className:"jsx-74dc971a3262048 mt-3 px-6 py-2 rounded-2xl bg-black/80 backdrop-blur-md border border-white/20 text-center max-w-[92vw] md:max-w-[80vw] shadow-2xl",children:[(0,r.jsx)("span",{className:"jsx-74dc971a3262048 text-[#fac612] text-xs font-semibold uppercase tracking-wider block",children:w.tag||"Viana Ilhabela"}),(0,r.jsx)("h3",{className:"jsx-74dc971a3262048 text-white font-bold text-base md:text-lg uppercase tracking-wide mt-0.5",children:w.titulo}),w.subtitulo&&(0,r.jsxs)("p",{className:"jsx-74dc971a3262048 text-white/70 text-xs font-light mt-0.5",children:[w.subtitulo,"• Restaurante Viana Praia & Gastronomia"]})]})]})]}),(0,r.jsx)(l(),{id:"74dc971a3262048",children:".viana-coverflow-wrapper .swiper-pagination-bullet{width:10px;height:10px;background:#253c7f;opacity:.35;transition:all.3s ease}.viana-coverflow-wrapper .swiper-pagination-bullet-active{opacity:1;width:28px;border-radius:6px;background:#253c7f;box-shadow:0 4px 12px rgba(37,60,127,.4)}.viana-coverflow-wrapper .swiper-slide-shadow-left,.viana-coverflow-wrapper .swiper-slide-shadow-right{border-radius:1.5rem;background-image:linear-gradient(to right,rgba(16,25,45,.6),rgba(16,25,45,0))!important}"})]})}}
1,7751:(e,t,a)=>{"use strict";a.d(t,{default:()=>o});var r=a(5155),s=a(2115),l=a(5772),i=a(8500),n=a.n(i);function o({slides:e}){let[t,a]=(0,s.useState)(0),[i,d]=(0,s.useState)(!0);return((0,s.useEffect)(()=>{d(window.innerWidth<768);let e=()=>d(window.innerWidth<768);return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]),(0,s.useEffect)(()=>{if(!e||e.length<=1)return;let t=setInterval(()=>{a(t=>(t+1)%e.length)},7e3);return()=>clearInterval(t)},[e]),e&&0!==e.length)?(0,r.jsxs)("section",{className:"relative w-full bg-[#fcfaf5] overflow-hidden flex flex-col md:flex-row",style:{height:i?"calc(80vh + 300px)":"calc(100vh - 210px)"},children:[(0,r.jsx)("div",{className:"hidden md:block absolute top-[-10%] left-[55%] w-[30rem] h-[30rem] rounded-full bg-[#fac612]/5 blur-[100px] pointer-events-none z-0"}),(0,r.jsx)("div",{className:"hidden md:block absolute bottom-[-10%] left-[80%] w-[35rem] h-[35rem] rounded-full bg-[#253c7f]/5 blur-[120px] pointer-events-none z-0"}),(0,r.jsx)("div",{className:"relative h-full w-full z-10 flex flex-row",children:e.map((e,a)=>{let s=a===t;return(0,r.jsxs)("div",{className:`w-full h-full flex flex-col md:flex-row absolute inset-0 transition-all duration-[1200ms] ease-in-out ${s?"opacity-100 z-10 scale-100 visible":"opacity-0 z-0 scale-[0.98] invisible pointer-events-none"}`,children:[(0,r.jsxs)("div",{className:"relative w-full h-[80vh] md:h-full md:w-[55%] md:rounded-r-[35px] md:shadow-2xl md:border-r md:border-white/10 md:z-20 overflow-hidden order-1 md:order-1",children:[(0,r.jsx)(l.default,{src:`/images/slideshow/${e.imagem}`,alt:e.titulo,fill:!0,priority:0===a,sizes:"(max-width: 768px) 100vw, 55vw",className:`object-cover transition-transform duration-[8000ms] ease-out ${s?"scale-105 saturate-[1.1]":"scale-100"}`}),(0,r.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-[#fcfaf5] via-transparent to-transparent md:hidden"})]}),(0,r.jsx)("div",{className:"flex-1 md:w-[45%] px-6 py-8 md:py-0 md:px-12 lg:px-20 flex flex-col justify-start md:justify-center items-center md:items-start bg-[#fcfaf5] md:bg-gradient-to-tr md:from-[#fac612]/5 md:via-[#fcfaf5] md:to-[#253c7f]/4 z-30 order-2 md:order-2 select-none",children:(0,r.jsxs)("div",{className:"flex flex-col max-w-[497px] w-full text-center md:text-left items-center md:items-start",children:[(0,r.jsx)("span",{className:"text-[#fac612] text-[9px] md:text-[10px] font-extrabold uppercase tracking-widest bg-[#fac612]/10 px-3.5 py-1.5 rounded-full mb-4 md:mb-5 inline-block self-center md:self-start shadow-sm border border-[#fac612]/20",children:"◆ Gastronomia Beira-Mar"}),(0,r.jsx)("h1",{className:"text-[26px] sm:text-[32px] md:text-[52px] font-black uppercase leading-[1.1] md:leading-[1.05] tracking-wide text-[#253c7f] m-0 font-display",children:e.titulo}),(0,r.jsx)("h2",{className:"text-[15px] sm:text-[18px] md:text-[25px] font-light text-slate-500 tracking-wide mt-3 m-0 leading-snug",children:e.subt
1itulo?e.subtitulo.replace(/<\/?[^>]+(>|$)/g,""):""}),(0,r.jsx)("p",{className:"text-slate-400 md:text-slate-500 font-light text-xs md:text-sm leading-relaxed mt-3.5 md:mt-5 m-0 select-text",children:e.descricao||"Relaxe e desfrute da combina\xe7\xe3o perfeita entre o som das ondas e uma gastronomia de alto n\xedvel, proporcionando uma experi\xeancia \xfanica em Ilhabela."}),0!==e.exibir_botao&&(0,r.jsx)("div",{className:"flex justify-center md:justify-start mt-5 md:mt-8",children:(0,r.jsx)(n(),{href:e.link_botao||"/cardapio",className:"bg-[#253c7f] text-white hover:bg-[#1b2b5a] active:scale-95 px-7 py-3.5 rounded-2xl font-extrabold text-xs uppercase tracking-widest transition-all shadow-md hover:shadow-lg flex items-center justify-center gap-2 cursor-pointer",children:(0,r.jsx)("span",{children:e.texto_botao||"Ver Card\xe1pio"})})})]})})]},e.id)})}),e.length>1&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("button",{onClick:t=>{t.preventDefault(),a(t=>(t-1+e.length)%e.length)},className:"absolute left-4 top-[40vh] md:left-4 md:top-1/2 md:-translate-y-1/2 z-30 w-9 h-9 md:w-11 md:h-11 flex items-center justify-center text-white md:text-[#253c7f] bg-black/25 md:bg-white/90 hover:bg-black/40 md:hover:bg-white border border-white/10 md:border-slate-100 rounded-full transition-all duration-300 shadow-md hover:scale-105 active:scale-95 group","aria-label":"Anterior",children:(0,r.jsx)("svg",{className:"w-4 h-4 stroke-current transition-transform duration-300 group-hover:-translate-x-0.5",fill:"none",strokeWidth:"3",viewBox:"0 0 24 24",children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 19.5L8.25 12l7.5-7.5"})})}),(0,r.jsx)("button",{onClick:t=>{t.preventDefault(),a(t=>(t+1)%e.length)},className:"absolute right-4 top-[40vh] md:right-[48%] md:top-1/2 md:-translate-y-1/2 z-30 w-9 h-9 md:w-11 md:h-11 flex items-center justify-center text-white md:text-[#253c7f] bg-black/25 md:bg-white/90 hover:bg-black/40 md:hover:bg-white border border-white/10 md:border-slate-100 rounded-full transition-all duration-300 shadow-md hover:scale-105 active:scale-95 group","aria-label":"Pr\xf3ximo",children:(0,r.jsx)("svg",{className:"w-4 h-4 stroke-current transition-transform duration-300 group-hover:translate-x-0.5",fill:"none",strokeWidth:"3",viewBox:"0 0 24 24",children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.25 4.5l7.5 7.5-7.5 7.5"})})})]}),e.length>1&&(0,r.jsx)("div",{className:"absolute bottom-6 left-1/2 -translate-x-1/2 z-30 flex gap-2",children:e.map((e,s)=>(0,r.jsx)("button",{onClick:()=>a(s),className:`h-1.5 rounded-full transition-all duration-500 ${s===t?"w-8 bg-[#fac612]":"w-2.5 bg-[#253c7f]/25 md:bg-slate-300 hover:bg-slate-400"}`,"aria-label":`Ir para slide ${s+1}`},s))})]}):null}},8457:(e,t,a)=>{"use strict";a.d(t,{default:()=>o});var r=a(5155),s=a(2115),l=a(5772),i=a(8500),n=a.n(i);function o({slides:e}
1){let[t,a]=(0,s.useState)(0),[i,d]=(0,s.useState)(!0);return((0,s.useEffect)(()=>{d(window.innerWidth<768);let e=()=>d(window.innerWidth<768);return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]),(0,s.useEffect)(()=>{if(!e||e.length<=1)return;let t=setInterval(()=>{a(t=>(t+1)%e.length)},8e3);return()=>clearInterval(t)},[e]),e&&0!==e.length)?(0,r.jsxs)("section",{className:"relative w-full bg-[#0a0f1d] overflow-hidden",style:{height:i?"calc(95vh)":"calc(100vh - 100px)"},children:[(0,r.jsx)("div",{className:"absolute inset-0 z-0",children:e.map((e,a)=>{let s=a===t;return(0,r.jsxs)("div",{className:`absolute inset-0 transition-opacity duration-[1500ms] ease-in-out ${s?"opacity-100":"opacity-0 pointer-events-none"}`,children:[(0,r.jsx)(l.default,{src:`/images/slideshow/${e.imagem}`,alt:e.titulo,fill:!0,priority:0===a,sizes:"100vw",className:`object-cover transition-transform duration-[9000ms] ease-out ${s?"scale-105 saturate-[1.03]":"scale-100"}`}),(0,r.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-[#0a0f1d]/90 via-[#0a0f1d]/40 to-[#0a0f1d]/30"})]},e.id)})}),(0,r.jsx)("div",{className:"absolute inset-0 mix-blend-soft-light opacity-10 pointer-events-none z-10 bg-radial-glow"}),(0,r.jsx)("div",{className:"relative h-full w-full max-w-[1100px] mx-auto px-8 flex flex-col justify-center items-center text-center z-20",children:e.map((e,a)=>{let s=(e.titulo||"").split(" "),l=s.pop()||"",i=s.join(" ");return(0,r.jsxs)("div",{className:`transition-all duration-[1000ms] ease-out flex flex-col items-center max-w-[800px] ${a===t?"opacity-100 translate-y-0":"opacity-0 translate-y-8 pointer-events-none absolute"}`,children:[e.subtitulo&&(0,r.jsx)("span",{className:"text-[#fac612] text-[10px] md:text-xs font-semibold uppercase tracking-[0.25em] mb-4 md:mb-6 inline-block",style:{fontFamily:"var(--font-outfit), sans-serif"}
1,children:e.subtitulo.replace(/<\/?[^>]+(>|$)/g,"")}),(0,r.jsxs)("h1",{className:"text-4xl sm:text-5xl md:text-7xl font-light text-white leading-[1.1] m-0",style:{fontFamily:"'Cormorant Garamond', serif"},children:[i," ",(0,r.jsx)("span",{className:"italic font-normal text-slate-200",children:l})]}),(0,r.jsx)("div",{className:"w-12 h-[1px] bg-[#fac612]/70 my-6 md:my-8"}),(0,r.jsx)("p",{className:"text-slate-350 font-light text-sm md:text-base max-w-[620px] leading-relaxed m-0 select-text",children:e.descricao||"Relaxe e desfrute da combina\xe7\xe3o perfeita entre o som das ondas e uma gastronomia de alto n\xedvel, proporcionando uma experi\xeancia \xfanica em Ilhabela."}),0!==e.exibir_botao&&(0,r.jsx)("div",{className:"flex justify-center mt-8 md:mt-10",children:(0,r.jsx)(n(),{href:e.link_botao||"/cardapio",className:"border border-white/20 hover:border-[#fac612] text-white hover:text-slate-900 bg-white/5 hover:bg-[#fac612] active:scale-95 px-8 py-3.5 rounded-full font-bold text-xs uppercase tracking-widest transition-all duration-350 shadow-sm flex items-center justify-center gap-2 cursor-pointer",style:{fontFamily:"var(--font-outfit), sans-serif"},children:(0,r.jsx)("span",{children:e.texto_botao||"Ver Card\xe1pio"})})})]},e.id)})}),e.length>1&&(0,r.jsxs)("div",{className:"absolute inset-x-4 top-1/2 -translate-y-1/2 z-30 flex justify-between pointer-events-none",children:[(0,r.jsx)("button",{onClick:t=>{t.preventDefault(),a(t=>(t-1+e.length)%e.length)},className:"w-12 h-12 flex items-center justify-center text-white/50 hover:text-white bg-black/10 hover:bg-black/30 border border-white/10 rounded-full transition-all duration-300 pointer-events-auto hover:scale-105 active:scale-95 group","aria-label":"Anterior",children:(0,r.jsx)("svg",{className:"w-4 h-4 stroke-current transition-transform duration-300 group-hover:-translate-x-0.5",fill:"none",strokeWidth:"2",viewBox:"0 0 24 24",children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 19.5L8.25 12l7.5-7.5"})})}),(0,r.jsx)("button",{onClick:t=>{t.preventDefault(),a(t=>(t+1)%e.length)},className:"w-12 h-12 flex items-center justify-center text-white/50 hover:text-white bg-black/10 hover:bg-black/30 border border-white/10 rounded-full transition-all duration-300 pointer-events-auto hover:scale-105 active:scale-95 group","aria-label":"Pr\xf3ximo",children:(0,r.jsx)("svg",{className:"w-4 h-4 stroke-current transition-transform duration-300 group-hover:translate-x-0.5",fill:"none",strokeWidth:"2",viewBox:"0 0 24 24",children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.25 4.5l7.5 7.5-7.5 7.5"})})})]}),e.length>1&&(0,r.jsx)("div",{className:"absolute bottom-10 left-10 z-30 flex gap-2",children:e.map((e,s)=>(0,r.jsx)("button",{onClick:()=>a(s),className:`h-0.5 rounded-full transition-all duration-500 ${s===t?"w-10 bg-[#fac612]":"w-4 bg-white/20 hover:bg-white/50"}`,"aria-label":`Ir para slide ${s+1}`},s))})]}):null}},8520:(e,t,a)=>{"use strict";a.d(t,{default:()=>o});var r=a(5155),s=a(2115),l=a(5772),i=a(8500),n=a.n(i);function o({slides:e}
1){let[t,a]=(0,s.useState)(0),[i,d]=(0,s.useState)(!0);return((0,s.useEffect)(()=>{d(window.innerWidth<768);let e=()=>d(window.innerWidth<768);return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]),(0,s.useEffect)(()=>{if(!e||e.length<=1)return;let t=setInterval(()=>{a(t=>(t+1)%e.length)},7e3);return()=>clearInterval(t)},[e]),e&&0!==e.length)?(0,r.jsxs)("section",{className:"relative w-full bg-slate-950 overflow-hidden",style:{height:i?"calc(90vh)":"calc(100vh - 120px)"},children:[(0,r.jsx)("div",{className:"absolute inset-0 z-0",children:e.map((e,a)=>{let s=a===t;return(0,r.jsxs)("div",{className:`absolute inset-0 transition-opacity duration-1000 ease-in-out ${s?"opacity-100":"opacity-0 pointer-events-none"}`,children:[(0,r.jsx)(l.default,{src:`/images/slideshow/${e.imagem}`,alt:e.titulo,fill:!0,priority:0===a,sizes:"100vw",className:`object-cover transition-transform duration-[8000ms] ease-out ${s?"scale-105 saturate-[1.05]":"scale-100"}`}),(0,r.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-slate-950/80 via-slate-950/40 to-slate-950/20 md:bg-gradient-to-r md:from-slate-950/75 md:via-slate-950/30 md:to-transparent"})]},e.id)})}),(0,r.jsx)("div",{className:"absolute inset-0 mix-blend-soft-light opacity-15 pointer-events-none z-10 bg-radial-glow"}),(0,r.jsx)("div",{className:"relative h-full w-full max-w-[1200px] mx-auto px-6 flex items-center z-20",children:(0,r.jsx)("div",{className:"w-full md:max-w-[550px]",children:e.map((e,a)=>(0,r.jsx)("div",{className:`transition-all duration-700 flex flex-col items-center md:items-start ${a===t?"opacity-100 translate-y-0 scale-100":"opacity-0 translate-y-6 scale-98 pointer-events-none absolute"}`,children:(0,r.jsxs)("div",{className:"w-full bg-white/12 backdrop-blur-lg border border-white/20 p-8 md:p-10 rounded-[32px] flex flex-col items-center md:items-start text-center md:text-left select-none relative",style:{boxShadow:"0 -2px 4px rgba(20, 184, 166, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04), 0 10px 30px rgba(15, 23, 42, 0.25), inset 0 1.5px 2px rgba(255, 255, 255, 0.2)"},children:[(0,r.jsx)("span",{className:"text-[#0F172A] text-[9px] md:text-[10px] font-black uppercase tracking-widest bg-[#B4EBE1] px-3.5 py-1.5 rounded-full mb-4 md:mb-5 shadow-sm border border-white/20",children:"◆ Gastronomia Beira-Mar"}),(0,r.jsx)("h1",{className:"text-[28px] sm:text-[34px] md:text-[46px] font-black uppercase leading-[1.1] tracking-wide text-white m-0 font-display",children:e.titulo}),(0,r.jsx)("h2",{className:"text-[14px] sm:text-[16px] md:text-[20px] font-light text-slate-200 tracking-wide mt-3.5 m-0 leading-snug",children:e.subt
1itulo?e.subtitulo.replace(/<\/?[^>]+(>|$)/g,""):""}),(0,r.jsx)("p",{className:"text-slate-300 font-light text-xs md:text-sm leading-relaxed mt-4 m-0 select-text",children:e.descricao||"Relaxe e desfrute da combina\xe7\xe3o perfeita entre o som das ondas e uma gastronomia de alto n\xedvel, proporcionando uma experi\xeancia \xfanica em Ilhabela."}),0!==e.exibir_botao&&(0,r.jsx)("div",{className:"flex justify-center md:justify-start mt-6 md:mt-8",children:(0,r.jsx)(n(),{href:e.link_botao||"/cardapio",className:"bg-[#fac612] text-slate-900 hover:bg-white active:scale-95 px-8 py-3.5 rounded-2xl font-black text-xs uppercase tracking-widest transition-all shadow-md hover:shadow-lg flex items-center justify-center gap-2 cursor-pointer",children:(0,r.jsx)("span",{children:e.texto_botao||"Ver Card\xe1pio"})})})]})},e.id))})}),e.length>1&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("button",{onClick:t=>{t.preventDefault(),a(t=>(t-1+e.length)%e.length)},className:"absolute left-6 bottom-6 md:left-10 md:top-1/2 md:-translate-y-1/2 z-30 w-11 h-11 flex items-center justify-center text-white bg-white/10 hover:bg-[#fac612] hover:text-slate-900 border border-white/20 rounded-full transition-all duration-300 shadow-md hover:scale-105 active:scale-95 group","aria-label":"Anterior",children:(0,r.jsx)("svg",{className:"w-4.5 h-4.5 stroke-current transition-transform duration-300 group-hover:-translate-x-0.5",fill:"none",strokeWidth:"2.5",viewBox:"0 0 24 24",children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 19.5L8.25 12l7.5-7.5"})})}),(0,r.jsx)("button",{onClick:t=>{t.preventDefault(),a(t=>(t+1)%e.length)},className:"absolute right-6 bottom-6 md:right-10 md:top-1/2 md:-translate-y-1/2 z-30 w-11 h-11 flex items-center justify-center text-white bg-white/10 hover:bg-[#fac612] hover:text-slate-900 border border-white/20 rounded-full transition-all duration-300 shadow-md hover:scale-105 active:scale-95 group","aria-label":"Pr\xf3ximo",children:(0,r.jsx)("svg",{className:"w-4.5 h-4.5 stroke-current transition-transform duration-300 group-hover:translate-x-0.5",fill:"none",strokeWidth:"2.5",viewBox:"0 0 24 24",children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.25 4.5l7.5 7.5-7.5 7.5"})})})]}),e.length>1&&(0,r.jsx)("div",{className:"absolute bottom-8 left-1/2 -translate-x-1/2 z-30 flex gap-2",children:e.map((e,s)=>(0,r.jsx)("button",{onClick:()=>a(s),className:`h-1 rounded-full transition-all duration-500 ${s===t?"w-8 bg-[#fac612]":"w-3 bg-white/30 hover:bg-white/60"}`,"aria-label":`Ir para slide ${s+1}`},s))})]}):null}}},e=>{e.O(0,[4110,5772,8500,3758,8441,3794,7358],()=>e(e.s=2140)),_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.