PageSourceSearch

https://www.tucumanturismo.gob.ar/_next/static/chunks/pages/autos-d2237e027fc81f9a.js

js tucumanturismo.gob.ar collected 2026-10-02 08:44:15 UTC 10,839 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[172],{276:(e,s,r)=>{"use strict";r.d(s,{A:()=>a});let a=(0,r(7963).A)("globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]])},339:(e,s,r)=>{"use strict";r.d(s,{A:()=>i});var a=r(7876),l=r(4232),t=r(9435),c=r(9423),n=r(2574);let i=e=>{let{onSearch:s,placeholder:r="Buscar actividades, prestadores...",className:i,localidades:d=[]}=e,[o,m]=(0,l.useState)(""),{trackSearch:x}=(0,n.G)();return(0,a.jsx)("div",{className:(0,c.cn)("md:w-8/12 mx-auto mb-6",i),children:(0,a.jsxs)("form",{onSubmit:e=>{e.preventDefault(),x(o),s(o)},className:"flex flex-col md:flex-row items-stretch gap-2 md:gap-0 shadow-sm rounded-lg",children:[(0,a.jsxs)("div",{className:"relative flex-grow",children:[(0,a.jsx)("input",{type:"text",className:"w-full py-2 pl-3 pr-10 text-[1.1em] border border-gray-300 rounded-lg md:rounded-r-none md:rounded-l-lg focus:outline-none focus:ring-2 focus:ring-secondary focus:border-transparent h-10",placeholder:r,value:o,onChange:e=>m(e.target.value)}),(0,a.jsx)("div",{className:"absolute inset-y-0 right-0 flex items-center pr-3 pointer-events-none",children:(0,a.jsx)(t.A,{size:20,className:"text-gray-400"})})]}),d.length>0&&(0,a.jsxs)("select",{className:"w-full md:w-auto py-2 pl-3 pr-8 text-[1.1em] border border-gray-300 md:border-l-0 rounded-lg md:rounded-none focus:outline-none focus:ring-2 focus:ring-secondary h-10 bg-white text-gray-700 cursor-pointer",onChange:e=>{let r=e.target.value;m(r),x(r),s(r)},value:"",children:[(0,a.jsx)("option",{value:"",disabled:!0,children:"Filtrar por localidad..."}),d.map(e=>(0,a.jsx)("option",{value:e.nombre,children:e.nombre},e.id))]}),(0,a.jsx)("div",{children:(0,a.jsx)("button",{type:"submit",className:"w-full md:w-auto py-2 px-6 bg-secondary/90 text-white font-medium rounded-lg md:rounded-l-none md:rounded-r-md hover:bg-secondary focus:outline-none focus:ring-2 focus:ring-secondary focus:ring-offset-2 h-10 transition-colors",children:"Buscar"})})]})})}},2574:(e,s,r)=>{"use strict";r.d(s,{G:()=>n});var a=r(9099),l=r(1060),t=r(9186),c=r(9423);let n=()=>{let e=(0,a.useRouter)(),[s]=(0,l.a)();return{trackSearch:r=>{if(!r)return;let a=(0,t.Ri)("__cookieSesion");if(a)try{let{permiso:l,id:n}=JSON.parse((0,t.To)(a));if(!0===l&&n){let a=(0,c.UK)(e);s({url:window.location.href,busqueda:r,idioma:a.id||1,id:n})}}catch(e){console.error("Error al procesar la cookie para el seguimiento de b\xfasqueda:",e)}}}}},2747:(e,s,r)=>{"use strict";r.d(s,{A:()=>t});var a=r(7876),l=r(4232);let t=e=>{let{children:s,className:r="",direction:t="vertical",imageUrl:c="https://www.tucumanturismo.gob.ar/public/img/1920x650-CircuitosTuristicos-Desktop.jpg",overlayOpacity:n=40,minHeight:i="h-96",speed:d=.5}=e,o=(0,l.useRef)(null),[m,x]=(0,l.useState)(0);return(0,l.useEffect)(()=>{let e=()=>{if(!o.current)return;let{top:e}=o.current.getBoundingClientRect(),s=window.scrollY;e<window.innerHeight&&e>-o.current.offsetHeight&&x(s*d)};return window.addEventListener("scroll",e),e(),()=>{window.removeEventListener("scroll",e)}},[d]),(0,a.jsxs)("div",{ref:o,className:"relative overflow-hidden ".concat(i," ").concat(r),children:[(0,a.jsx)("div",{className:"absolute inset-0 bg-cover bg-center",style:{backgroundImage:"url('".concat(c,"')"),transform:"vertical"===t?"translateY(".concat(m,"px)"):"translateX(".concat(m,"px)")}}),(0,a.jsx)("div",{className:"absolute inset-0 bg-black",style:{opacity:n/100}}),(0,a.jsx)("div",{className:"relative z-10 h-full w-full",children:s})]})}},2956:(e,s,r)=>{"use strict";r.d(s,{A:()=>i});var a=r(7876),l=r(4232),t=r(9099),c=r(9053);let n={es:{home:"Inicio"},en:{home:"Home"}},i=e=>{let{items:s=[],homeLink:r="/"}=e,{lang:i}=(0,t.useRouter)().query,d="EN"===i,o=d?n.en:n.es,m=e=>!d||!e||e.includes("lang=EN")?e:e.includes("?")?"".concat(e,"&lang=EN"):"".concat(e,"?lang=EN");return(0,a.jsx)("nav",{"aria-label":"Breadcrumb",className:"text-[1.1em]",children:(0,a.jsxs)("ol",{className:"flex flex-wrap items-center space-x-1",children:[(0,a.jsx)("li",{className:"flex items-center",children:(0,a.jsx)("a",{href:m(r),className:"flex items-center text-gray-500 hover:text-gray-700 transition-colors",children:(0,a.jsx)("span",{children:o.home})})}),s.length>0&&(0,a.jsx)("li",{className:"flex items-center",children:(0,a.jsx)(c.A,{size:14,className:"text-gray-400"})}),s.map((e,r)=>(0,a.jsxs)(l.Fragment,{children:[(0,a.jsx)("li",{className:"flex items-center",children:(0,a.jsx)("a",{href:m(e.href),className:"".concat(r===s.length-1?"font-medium text-gray-900":"text-gray-500 hover:text-gray-700"," transition-colors"),"aria-current":r===s.length-1?"page":void 0,children:e.label})}),r<s.length-1&&(0,a.jsx)("li",{className:"flex items-center",children:(0,a.jsx)(c.A,{size:14,className:"text-gray-400"})})]},r))]})})}},3305:(e,s,r)=>{"use strict";r.d(s,{A:()=>a});let a=(0,r(7963).A)("phone",[["path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z",key:"foiqr5"}]])},3711:(e,s,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/autos",function(){return r(8027)}])},6781:(e,s,r)=>{"use strict";r.d(s,{A:()=>a});let a=(0,r(7963).A)("map-pin",[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]])},8027:(e,s,r)=>{"use strict";r.r(s),r.d(s,{default:()=>u});var a=r(7876);r(4232);var l=r(4115),t=r(2747),c=r(6781),n=r(3305),i=r(8728),d=r(276),o=r(251),m=r(445);function x(e){let{prestador:s,isLoading:r=!1}=e;if(r)return(0,a.jsxs)("div",{className:"overflow-hidden h-full rounded-lg border border-gray-200 bg-white shadow-sm animate-pulse",children:[(0,a.jsx)("div",{className:"bg-gray-200 p-4",children:(0,a.jsx)("div",{className:"h-6 w-3/4 bg-gray-300 rounded"})}),(0,a.jsxs)("div",{className:"p-4 space-y-4",children:[(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)("div",{className:"h-5 w-2/3 bg-gray-200 rounded"}),(0,a.jsx)("div",{className:"h-4 w-3/4 bg-gray-200 rounded"}),(0,a.jsx)("div",{className:"h-4 w-1/2 bg-gray-200 rounded"})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)("div",{className:"h-5 w-2/3 bg-gray-200 rounded"}),(0,a.jsx)("div",{className:"h-4 w-full bg-gray-200 rounded"}),(0,a.jsx)("div",{className:"h-4 w-full bg-gray-200 rounded"}),(0,a.jsx)("div",{className:"h-4 w-2/3 bg-gray-200 rounded"})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsxs)("div",{className:"flex items-center",children:[(0,a.jsx)("div",{className:"h-5 w-5 mr-2 bg-gray-200 rounded"}),(0,a.jsx)("div",{className:"h-4 w-1/2 bg-gray-200 rounded"})]}),(0,a.jsxs)("div",{className:"flex items-center",children:[(0,a.jsx)("div",{className:"h-5 w-5 mr-2 bg-gray-200 rounded"}),(0,a.jsx)("div",{className:"h-4 w-2/3 bg-gray-200 rounded"})]})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)("div",{className:"h-5 w-1/2 bg-gray-200 rounded mb-2"}),(0,a.jsxs)("div",{className:"flex gap-2",children:[(0,a.jsx)("div",{className:"h-6 w-6 bg-gray-200 rounded"}),(0,a.jsx)("div",{className:"h-6 w-6 bg-gray-200 rounded"}),(0,a.jsx)("div",{className:"h-6 w-6 bg-gray-200 rounded"})]})]})]})]});let{nombre:l,direccion:t,localidad_nombre:x,telefonos:h,email:u,web:g,facebook:j,instagram:f}=s;return(0,a.jsxs)("div",{className:"overflow-hidden h-full rounded-lg border border-gray-200 bg-white shadow-sm",children:[(0,a.jsx)("div",{className:"bg-secondary p-4 text-white font-medium",children:(0,a.jsx)("h3",{className:"md:text-3xl text-xl",children:l})}),(0,a.jsxs)("div",{className:"p-4",children:[(0,a.jsxs)("div",{className:"flex flex-col gap-3 mb-4",children:[(0,a.jsx)("p",{className:"text-gray-700 uppercase font-bold",children:t}),(0,a.jsxs)("p",{className:"text-gray-700 flex items-center",children:[(0,a.jsx)(c.A,{className:"h-5 w-5 mr-2 text-gray-500"}),x," ",t&&"- ".concat(t)]})]}),(0,a.jsxs)("div",{className:"flex flex-col gap-4 mb-4",children:[h&&(0,a.jsxs)("p",{className:"flex items-center text-gray-700 text-xl",children:[(0,a.jsx)(n.A,{className:"h-5 w-5 mr-2 text-gray-500"}),h]}),u&&(0,a.jsxs)("a",{href:"mailto:".concat(u),className:"flex items-center text-gray-700 hover:text-primary text-xl",children:[(0,a.jsx)(i.A,{className:"h-5 w-5 mr-2 text-gray-500"}),u]})]}),(g||j||f)&&(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"text-gray-800 font-medium uppercase mb-2",children:"Encontranos en"}),(0,a.jsxs)("div",{className:"flex gap-2",children:[g&&(0,a.jsx)("a",{href:g,target:"_blank",rel:"noopener noreferrer",className:"text-secondary/90 hover:text-primary",children:(0,a.jsx)(d.A,{className:"h-6 w-6"})}),j&&(0,a.jsx)("a",{href:j,target:"_blank",rel:"noopener noreferrer",className:"text-secondary/90 hover:text-primary",children:(0,a.jsx)(o.A,{className:"h-6 w-6"})}),f&&(0,a.jsx)("a",{href:f,target:"_blank",rel:"noopener noreferrer",className:"text-secondary/90 hover:text-primary",children:(0,a.jsx)(m.A,{className:"h-6 w-6"})})]})]})]})]})}var h=r(2956);function u(){var e;let{data:s,error:r,isLoading:c,isFetching:n}=(0,l.gt)();return r?(0,a.jsx)("p",{children:"Hubo un error al cargar los autos de alquiler"}):(0,a.jsxs)("div",{children:[(0,a.jsx)("section",{children:(0,a.jsx)(t.A,{speed:.2,minHeight:"h-96 md:h-[58vh] xl:h-[45vh]",className:"",imageUrl:"https://www.tucumanturismo.gob.ar/public/img/planviaje/alquilerautos.webp",children:(0,a.jsx)("div",{className:"container mx-auto h-full text-white flex flex-col justify-end",children:(0,a.jsx)("div",{className:"w-11/12 mx-auto pt-5",children:(0,a.jsx)("h2",{className:"text-5xl md:text-6xl font-bold mb-6",children:"Autos"})})})})}),(0,a.jsxs)("div",{className:"w-11/12 mx-auto pt-5",children:[(0,a.jsx)("div",{className:"mb-5",children:(0,a.jsx)(h.A,{items:[{label:"Alquiler de Autos",href:"/autos"}]})}),(0,a.jsx)("div",{children:(0,a.jsx)("h1",{className:"text-center text-4xl font-bold mb-8",children:"Conoc\xe9 donde alquilar autos enTucum\xe1n"})}),(0,a.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-5 w-10/11 mx-auto mb-4",children:c||n?Array(12).fill(0).map((e,s)=>(0,a.jsx)("div",{children:(0,a.jsx)(x,{isLoading:!0})},"skeleton-".concat(s))):null==(e=s.result)?void 0:e.map(e=>(0,a.jsx)("div",{children:(0,a.jsx)(x,{isLoading:!1,prestador:e})},e.id))})]})]})}r(339)},8728:(e,s,r)=>{"use strict";r.d(s,{A:()=>a});let a=(0,r(7963).A)("mail",[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}]])}},e=>{e.O(0,[636,593,792],()=>e(e.s=3711)),_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.