PageSourceSearch

https://satena.com/_next/static/chunks/app/%5Blang%5D/web-check-in/page-7044e5192c23afee.js

js satena.com collected 2026-09-24 22:11:14 UTC 9,371 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1029],{6940:(e,t,s)=>{"use strict";s.d(t,{WebCheckinWidget:()=>c});var l=s(95155),a=s(12115),n=s(20063),i=s(45519),r=s(87463),o=s(55729),d=s(2821);let c=e=>{var t,s;let{onHeightChange:c}=e,{lang:x}=(0,n.useParams)(),u="en"===x?r.QN.en:r.QN.es,m=(0,o.Q)(),h={mobile:"h-[650px] min-h-[600px]",tablet:"h-[800px] min-h-[750px]",laptop:"h-[350px] min-h-[300px]",desktop:"h-[500px] min-h-[450px]"},p={mobile:"top-[130px] mb-[10px]",tablet:"top-[300px] mb-[10px]",laptop:"top-[200px] mb-[10px]",desktop:"top-[300px] mb-[10px]"},f=null!=m?m:"desktop",b=null!=(t=h[f])?t:h.desktop,g=null!=(s=p[f])?s:p.desktop;return(0,a.useEffect)(()=>{var e,t;let s=parseInt(null!=(t=null==(e=b.match(/\d+/))?void 0:e[0])?t:"500",10);null==c||c(s)},[b,c]),(0,l.jsxs)("div",{className:(0,d.A)("absolute left-1/2 -translate-x-1/2 z-40 flex flex-col justify-start items-center w-full max-w-8xl px-8 md:px-16 xl:px-20 overflow-visible bg-transparent",b,g),children:[(0,l.jsx)("div",{className:"w-full text-center mb-6 md:mb-2 ",children:(0,l.jsx)("h1",{className:"font-bold text-white text-2xl sm:text-3xl md:text-4xl lg:text-5xl xl:text-6xl leading-tight text-shadow-md text-shadow-black/60",children:"Web Check-In"})}),(0,l.jsx)("div",{className:"w-full h-full flex justify-center",children:(0,l.jsx)(i.Y,{src:u,title:"BookingSATENA",className:"w-full h-full border-0 rounded-lg"})})]})}},26218:(e,t,s)=>{Promise.resolve().then(s.bind(s,78551)),Promise.resolve().then(s.bind(s,6940)),Promise.resolve().then(s.bind(s,88020))},45519:(e,t,s)=>{"use strict";s.d(t,{Y:()=>a});var l=s(95155);s(12115);let a=e=>{let{src:t,title:s="Widget",className:a}=e;return(0,l.jsx)("iframe",{src:t,name:"iframe-booking",id:"iframe-booking",title:s,scrolling:"no",className:"w-full h-full border-0 bg-transparent block overflow-hidden ".concat(a||"")})}},55729:(e,t,s)=>{"use strict";s.d(t,{Q:()=>n});var l=s(12115);let a={sm:640,md:1024,lg:1440};function n(){let[e,t]=(0,l.useState)(a.lg);return(0,l.useEffect)(()=>{let e=()=>t(window.innerWidth);return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]),(0,l.useMemo)(()=>e<a.sm?"mobile":e<a.md?"tablet":e<a.lg?"laptop":"desktop",[e])}},78551:(e,t,s)=>{"use strict";s.d(t,{default:()=>f});var l=s(95155),a=s(12115),n=s(92309),i=s(20063),r=s(14615),o=s(26497),d=s(51485),c=s(65229);let x={en:{closeAriaLabel:"Close pop-up window"},es:{closeAriaLabel:"Cerrar ventana emergente"}},u=e=>{let{open:t,onClose:s,children:n,classNameContainer:u=""}=e,m=(0,a.useRef)(null),{lang:h}=(0,i.useParams)(),{closeAriaLabel:p}=x[h];return(0,a.useEffect)(()=>(document.body.style.overflow=t?"hidden":"",()=>{document.body.style.overflow=""}),[t]),(0,a.useEffect)(()=>{let e=e=>{"Escape"===e.key&&t&&s()};return t&&(document.addEventListener("keydown",e),setTimeout(()=>{var e;return null==(e=m.current)?void 0:e.focus()},100)),()=>{document.removeEventListener("keydown",e)}},[t,s]),(0,l.jsx)(o.N,{children:t&&(0,l.jsx)(d.P.div,{className:" fixed inset-0 z-100 flex items-center justify-center bg-black/70 backdrop-blur-sm px-4 ",initial:{opacity:0}
1,animate:{opacity:1},exit:{opacity:0},onClick:e=>{e.target===e.currentTarget&&s()},role:"dialog","aria-modal":"true","aria-labelledby":"popup-title","aria-describedby":"popup-description",children:(0,l.jsxs)(d.P.div,{className:" relative flex flex-col w-full max-w-5xl bg-white rounded-xl shadow-xl overflow-y-auto max-h-[90vh] ",initial:{y:60,opacity:0},animate:{y:0,opacity:1},exit:{y:40,opacity:0},transition:{duration:.35,ease:"easeOut"},onClick:e=>e.stopPropagation(),children:[(0,l.jsx)("button",{ref:m,type:"button",onClick:s,"aria-label":p,className:" absolute top-4 right-4 z-50 flex items-center justify-center size-10 rounded-full bg-white hover:bg-satena-2 shadow-md hover:shadow-lg transition-all duration-300 focus:outline-none focus:ring-2 focus:ring-satena-2 focus:ring-offset-2 group ",children:(0,l.jsx)(c.A,{className:"size-5 text-satena-1 group-hover:text-white transition-colors duration-300",strokeWidth:2.5,"aria-hidden":"true"})}),(0,l.jsx)("div",{className:(0,r.cn)("p-5",u),children:n})]})})})};var m=s(3998),h=s(11944),p=s(35299);function f(e){let{lang:t,surveyData:s}=e,{questionsNumber:i,loading:r,success:o,rating:d,handleChangeRating:c,show:x,idxQuestion:f,handleClose:b,handleNextQuestion:g,nextQuestion:j,previewQuestion:v}=(0,n.q)({language:t,questionsNumber:s.questions.length-1,sourceChannel:"web"});return(0,l.jsx)(u,{open:x,onClose:b,classNameContainer:"p-8",children:(0,l.jsxs)("form",{className:"flex flex-col gap-3",onSubmit:g,children:[(0,l.jsx)("h2",{className:"text-lg md:text-3xl font-bold text-satena-1",children:s.title}),0===f?(0,l.jsxs)(a.Fragment,{children:[(0,l.jsx)("p",{className:"text-sm md:text-base",children:s.description}),(0,l.jsx)("h3",{className:"text-sm md:text-xl font-semibold  text-satena-2 text-center md:text-start",children:s.questions[f].subtitle}),(0,l.jsx)(h.A,{lang:t,question:s.questions[f],rating:d,handleClickA:j,handleClickB:b,handleChangeRating:c})]}):(0,l.jsxs)(a.Fragment,{children:[(0,l.jsx)("h3",{className:"text-sm md:text-xl font-semibold  text-satena-2 text-center md:text-start",children:s.questions[f].subtitle}),(0,l.jsx)(h.A,{lang:t,question:s.questions[f],rating:d,handleClickA:j,handleClickB:b,handleChangeRating:c})]}),!s.questions[f].hiddenControls&&(0,l.jsxs)("div",{className:"w-full flex flex-row justify-between",children:[(0,l.jsx)(m.$,{type:"button",variant:"outline1",disabled:f<=0||r||void 0!==o,onClick:()=>v(),children:s.controls.preview}),(0,l.jsxs)(m.$,{type:"submit",variant:"outline1",disabled:r||void 0!==o,children:[r&&(0,l.jsx)(p.A,{className:"animate-spin"}),void 0===o?f<i?s.controls.next:s.controls.end:s.controls.finish]})]})]})})}},83472:(e,t,s)=>{"use strict";s.d(t,{default:()=>g});var l=s(95155),a=s(12115),n=s(52619),i=s.n(n),r=s(17129),o=s(27937),d=s(37772),c=s(14615);function x(e){let{...t}=e;return(0,l.jsx)("nav",{"aria-label":"breadcrumb","data-slot":"breadcrumb",...t})}function u(e){let{className:t,...s}=e;return(0,l.jsx)("ol",{"data-slot":"breadcrumb-list",className:(0,c.cn)("text-satena-1 text-xs md:text-lg flex flex-wrap items-center gap-1.5 break-words sm:gap-2.5",t),...s})}function m(e){let{className:t,...s}=e;return(0,l.jsx)("li",{"data-slot":"breadcrumb-item",className:(0,c.cn)("inline-flex items-center gap-1.5",t),...s})}function h(e){let{asChild:t,className:s,...a}=e,n=t?r.DX:"a";return(0,l.jsx)(n,{"data-slot":"breadcrumb-link",className:(0,c.cn)("hover:text-satena-2 transition-colors duration-500",s),...a})}function p(e){let{children:t,className:s,...a}=e;return(0,l.jsx)("li",{"data-slot":"breadcrumb-separator",role:"presentation","aria-hidden":"true",className:(0,c.cn)("[&>svg]:size-3.5 md:[&>svg]:size-5",s),...a,children:null!=t?t:(0,l.jsx)(o.A,{})})}function f(e){let{className:t,...s}=e;return(0,l.jsxs)("span",{"data-slot":"breadcrumb-ellipsis",role:"presentation","aria-hidden":"true",className:(0,c.cn)("flex size-9 items-center justify-center",t),...s,children:[(0,l.jsx)(d.A,{className:"size-4"}),(0,l.jsx)("span",{className:"sr-only",children:"More"})]})}let b={en:"Home",es:"Inicio"};function g(e){let{lang:t,data:s,className:n="",listClassName:r="",linkClassName:o=""}=e,d=s.length>2,g=d?s.slice(1):s;return(0,l.jsx)(x,{className:n,children:(0,l.jsxs)(u,{className:r,children:[(0,l.jsx)(m,{children:(0,l.jsx)(h,{className:o,asChild:!0,children:(0,l.jsx)(i(),{href:(0,c.z5)({lang:t,url:"/"}),children:b[t]})})}),d&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(p,{}),(0,l.jsx)(m,{children:(0,l.jsx)(h,{className:o,asChild:!0,children:(0,l.jsx)(i(),{href:(0,c.z5)({lang:t,url:s[0].url}),children:(0,l.jsx)(f,{className:"size-4"})})})})]}),g.map((e,s)=>(0,l.jsxs)(a.Fragment,{children:[(0,l.jsx)(p,{}),(0,l.jsx)(m,{children:(0,l.jsx)(h,{className:o,asChild:!0,children:(0,l.jsx)(i(),{href:(0,c.z5)({lang:t,url:e.url}),children:e.label})})})]},s))]})})}},88020:(e,t,s)=>{"use strict";s.d(t,{default:()=>d});var l=s(95155),a=s(55830),n=s(14615),i=s(21873),r=s(12115),o=s(83472);function d(e){let{lang:t,breadcrumb:s,bgImagesData:d,baseUrlImagesPath:c,children:x}=e,[u,m]=(0,r.useState)(void 0);return(0,r.useEffect)(()=>{m((0,n.xD)({elements:d}))},[]),(0,l.jsxs)("main",{className:"relative flex justify-center items-end h-screen overflow-hidden mt-0",children:[u&&(0,l.jsx)(a.l,{xl:{src:"".concat(c).concat(u.idx,"_WEB.webp"),alt:"",fill:!0,width:1920,height:1080},lg:{src:"".concat(c).concat(u.idx,"_LAPTOP.webp"),alt:"",fill:!0,width:1200,height:950},md:{src:"".concat(c).concat(u.idx,"_TABLET.webp"),alt:"",fill:!0,width:990,height:950},sm:{src:"".concat(c).concat(u.idx,"_MOBILE.webp"),alt:"",fill:!0,width:600,height:2e3}}),(0,l.jsx)(o.default,{className:"absolute top-24 md:top-36 left-0 px-8 md:px-16 xl:px-20",listClassName:"text-white drop-shadow-xs drop-shadow-black",linkClassName:"hover:!text-current decoration-transparent underline  underline-offset-4 hover:
1decoration-current",lang:t,data:s}),(0,l.jsxs)("div",{className:"absolute bottom-2 flex items-center gap-1 bg-white text-satena-2 px-4 py-1 rounded-full shadow-md border border-gray-200",children:[(0,l.jsx)(i.A,{className:"w-6 h-6 text-satena-1"}),u&&(0,l.jsx)("span",{className:"font-bold text-xl",children:u.place})]}),x]})}}},e=>{e.O(0,[866,2619,6291,3490,2837,8441,1255,7358],()=>e(e.s=26218)),_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.