PageSourceSearch

https://puentededomingoflorezturismo.com/_next/static/chunks/0-d0ewbeqq5mn.js

js puentededomingoflorezturismo.com collected 2026-10-05 19:35:11 UTC 2,410 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,89954,e=>{"use strict";var t=e.i(52795),a=e.i(69886),r=e.i(12781),s=e.i(54681);function n(){return(0,t.jsx)("div",{className:"min-h-screen flex items-center justify-center bg-arena",children:(0,t.jsxs)("div",{className:"text-center",children:[(0,t.jsx)("div",{className:"w-12 h-12 border-4 border-terracota border-t-transparent rounded-full animate-spin mx-auto mb-4"}),(0,t.jsx)("p",{className:"text-gray-600",children:"Cargando..."})]})})}function i(){var e;let{data:n,status:i}=(0,r.useSession)(),c=(0,s.useRouter)(),l=(e=(0,s.useSearchParams)().get("callbackUrl"))&&e.startsWith("/")&&!e.startsWith("//")?e:"/",[o,d]=(0,a.useState)(!1);return((0,a.useEffect)(()=>{if("authenticated"===i){let e=n?.user?.canAccessCms;c.replace(e?"/dashboard":l)}else if("unauthenticated"===i){(0,r.signIn)("keycloak",{callbackUrl:window.location.origin+l}).catch(()=>{d(!0)});let e=setTimeout(()=>d(!0),5e3);return()=>clearTimeout(e)}},[i,n,c,l]),o)?(0,t.jsx)("div",{className:"min-h-screen flex items-center justify-center bg-arena",children:(0,t.jsxs)("div",{className:"text-center max-w-md p-8",children:[(0,t.jsx)("h2",{className:"text-xl font-bold text-negro mb-4",children:"Error de autenticacion"}),(0,t.jsx)("p",{className:"text-gray-600 mb-6",children:"No se pudo conectar con el sistema de autenticacion. Intente de nuevo o vuelva a la pagina principal."}),(0,t.jsxs)("div",{className:"flex gap-3 justify-center",children:[(0,t.jsx)("button",{onClick:()=>{d(!1),(0,r.signIn)("keycloak",{callbackUrl:window.location.origin+l})},className:"px-6 py-3 bg-terracota text-white rounded-lg hover:bg-terracota/90 transition-colors",children:"Reintentar"}),(0,t.jsx)("button",{onClick:()=>c.push("/"),className:"px-6 py-3 bg-white text-negro rounded-lg border border-gray-300 hover:bg-gray-50 transition-colors",children:"Volver al inicio"})]})]})}):(0,t.jsx)("div",{className:"min-h-screen flex items-center justify-center bg-arena",children:(0,t.jsxs)("div",{className:"text-center",children:[(0,t.jsx)("div",{className:"w-12 h-12 border-4 border-terracota border-t-transparent rounded-full animate-spin mx-auto mb-4"}),(0,t.jsx)("p",{className:"text-gray-600",children:"Redirigiendo..."})]})})}e.s(["default",0,function(){return(0,t.jsx)(a.Suspense,{fallback:(0,t.jsx)(n,{}),children:(0,t.jsx)(i,{})})}])}]);

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.