PageSourceSearch

https://miraflores.com.gt/_next/static/chunks/169-6ab8cd0144a244bd.js

js miraflores.com.gt collected 2026-10-04 09:05:14 UTC 12,660 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[169],{66871:function(e,t,l){l.r(t),l.d(t,{AssistanceComponent:function(){return p}});var n=l(57437),a=l(2265),s=l(93342),c=l(79004),o=l(15209),r=l(99837),i=l(51585);let x=e=>{let{cityCore:t}=e,{aboutData:l}=(0,r.i)();return(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,n.jsxs)("p",{className:"flex gap-4 text-b2 text-neutral-400",children:[(0,n.jsx)(i.M,{nameIcon:"icon-location",sizeIcon:"text-h5",classIcon:"text-tertiary"}),null==t?void 0:t.location]}),(0,n.jsxs)("p",{className:"flex flex-col gap-1 text-b2 text-neutral-400",children:[(0,n.jsx)("strong",{className:"block text-semi text-black",children:null==l?void 0:l.ubicacionsub1title}),(0,n.jsx)("span",{children:null==l?void 0:l.ubicacionsub1desc}),(0,n.jsx)("span",{children:null==l?void 0:l.ubicacionsub2desc})]}),(0,n.jsxs)("div",{className:"flex flex-col gap-6 lg:flex-row",children:[(0,n.jsx)(c.X,{link:"https://www.google.com/maps/?q=".concat(null==t?void 0:t.latitude,",").concat(null==t?void 0:t.longitude),target:"_blank",text:"Google maps",inverted:!0}),(0,n.jsx)(c.X,{link:"https://waze.com/ul?ll=".concat(null==t?void 0:t.latitude,",").concat(null==t?void 0:t.longitude),target:"_blank",text:"Waze",inverted:!0})]})]})})},d=e=>{let{cityCore:t}=e;return(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,n.jsxs)("p",{className:"flex gap-4 text-b2 text-neutral-400",children:[(0,n.jsx)(i.M,{nameIcon:"icon-call",sizeIcon:"text-b1",classIcon:"text-tertiary"}),null==t?void 0:t.phone]}),(0,n.jsxs)("p",{className:"flex gap-4 text-b2 text-neutral-400 break-words",children:[(0,n.jsx)(i.M,{nameIcon:"icon-mail",sizeIcon:"text-b1",classIcon:"text-tertiary"}),null==t?void 0:t.email]}),(0,n.jsxs)("div",{className:"flex flex-col gap-6 lg:flex-row",children:[(0,n.jsx)(c.X,{link:"tel:+502".concat(null==t?void 0:t.phone),target:"_blank",text:"Llamar",inverted:!0,hasIcon:!0,nameIcon:"icon-call",positionIcon:"left"}),(0,n.jsx)(c.X,{link:"https://api.whatsapp.com/send?phone=+502".concat(null==t?void 0:t.phone,"&text=Hola.%20Quisiera%20informaci%C3%B3n..."),text:"Whatsapp",inverted:!0,target:"_blank",hasIcon:!0,nameIcon:"icon-whatsapp",positionIcon:"left"})]})]})})};var u=l(82849);let h=()=>{let{cityCoreSelected:e}=(0,u.Z)();return(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,n.jsxs)("p",{className:"flex gap-4 text-b2 text-neutral-400",children:[(0,n.jsx)(i.M,{nameIcon:"icon-call",sizeIcon:"text-b1",classIcon:"text-tertiary"}),null==e?void 0:e.phone]}),(0,n.jsxs)("p",{className:"flex gap-4 text-b2 text-neutral-400 break-words",children:[(0,n.jsx)(i.M,{nameIcon:"icon-mail",sizeIcon:"text-b1",classIcon:"text-tertiary"}),null==e?void 0:e.email]})]})})},p=e=>{var t;let{direction:l,items:r,schedules:i,contactButtons:p=!1,cityCore:m}=e,[f,g]=(0,a.useState)(1),{cityCoreSelected:v}=(0,u.Z)();return(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)("div",{className:"max-w-container mx-auto flex flex-col lg:items-center ".concat("reverse"==l?"lg:flex-row":"lg:flex-row-reverse"," lg:justify-start gap-8 lg:gap-20"),children:[(0,n.jsx)("div",{className:"hidden lg:block relative w-full lg:w-1/2 flex-shrink-0",children:(null===(t=r[f-1])||void 0===t?void 0:t.img)&&(0,n.jsx)("img",{className:"shadow-lg w-full object-cover",src:r[f-1].img,alt:m?null==m?void 0:m.name:r[f-1].title})}),(0,n.jsxs)("div",{className:"w-full lg:w-1/2 flex flex-col gap-5 lg:gap-10",children:[r.map((e,t)=>f===t+1?(0,n.jsxs)("div",{className:"flex flex-col",children:[(0,n.jsx)("div",{className:"block lg:hidden w-full mb-4",children:(0,n.jsx)("img",{className:"shadow-lg w-full object-cover",src:e.img,alt:m?null==m?void 0:m.name:e.title})}),(0,n.jsxs)("div",{className:"flex flex-col pl-4 lg:pl-8 gap-4 border-l-2 border-secondary",children:[(0,n.jsx)("h4",{className:"text-h4 pb-4 ".concat("uppercase"),children:e.title}),(0,n.jsx)("p",{className:"text-b2 text-neutral-300",children:e.desc}),e.subContent&&"schedule"==e.typeContent?(0,n.jsx)("div",{className:"p-2 bg-neutral-100 mt-4 w-full lg:max-w-400 rounded-lg",children:(0,n.jsx)(o.P,{schedule:i})}):null,e.subContent&&"location"==e.typeContent?(0,n.jsx)(x,{cityCore:m}):null,e.subContent&&"contact"==e.typeContent?(0,n.jsx)(d,{cityCore:m}):null,e.subContent&&"kiosco"==e.typeContent?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:"p-2 bg-neutral-100 mt-4 w-full lg:max-w-400 rounded-lg",children:[(0,n.jsx)("p",{className:"block pb-4 font-semibold text-b2",children:"Horarios"}),(0,n.jsx)(o.P,{schedule:i})]}),(0,n.jsx)("div",{className:"w-60 break-words",children:(0,n.jsx)(h,{})})]}):null]})]},t):(0,n.jsx)("button",{className:"text-left pl-4 lg:pl-8",onClick:()=>g(t+1),children:(0,n.jsx)("h4",{className:"text-h4 ".concat("uppercase"),children:e.title})},t)),p?(0,n.jsxs)("div",{className:"flex flex-col lg:flex-row items-center gap-4 pl-4 lg:pl-8 mt-4 lg:mt-0",children:[(0,n.jsx)(s.CtaBaseComp,{link:"tel:+502".concat(null==v?void 0:v.phone),text:"Solicitar asistencia",hasIcon:!0,nameIcon:"icon-call",positionIcon:"left"}),(0,n.jsx)(c.X,{link:"https://wa.me/+502".concat(null==v?void 0:v.concierge_whatsapp_number,"?text=Hola,%20necesito%20ayuda"),text:"Whatsapp",hasIcon:!0,nameIcon:"icon-whatsapp",positionIcon:"left",inverted:!0,target:"_blank"})]}):null]})]})})}},93342:function(e,t,l){l.r(t),l.d(t,{CtaBaseComp:function(){return s}});var n=l(57437),a=l(8792);let s=e=>{let{tipo:t="link",link:l,target:s="_self",text:c,hasIcon:o=!1,positionIcon:r,nameIcon:i,onClick:x}=e;return(0,n.jsx)(n.Fragment,{children:(0,n.jsx)("div",{className:"relative z-10 flex flex-col lg:flex-row w-full lg:w-auto",children:"link"===t?(0,n.jsxs)(a.default,{className:"flex items-center justify-center ".concat("right"==r?"":"flex-row-reverse"," gap-4 px-6 py-3 w-auto bg-secondary text-white hover:bg-white hover:text-secondary  border border-secondary rounded-full cursor-pointer"),href:l,target:s,onClick:x,children:[c,o?(0,n.jsx)("span",{className:i}):null]}):(0,n.jsxs)("button",{onClick:x,type:"button",className:"flex items-center justify-center ".concat("right"==r?"":"flex-row-reverse"," gap-4 px-6 py-3 w-auto bg-secondary text-white hover:bg-white hover:text-secondary  border border-secondary rounded-full cursor-pointer"),children:[c,o?(0,n.jsx)("span",{className:i}):null]})})})}},79004:function(e,t,l){l.d(t,{X:function(){return s}});var n=l(57437),a=l(8792);let s=e=>{let{tipo:t="link",zindex:l="z-10",link:s,target:c="_self",text:o,hasIcon:r=!1,positionIcon:i="right",nameIcon:x,onClick:d,inverted:u=!1,classwrap:h="",like:p}=e;return(0,n.jsx)(n.Fragment,{children:(0,n.jsx)("div",{className:"relative ".concat(l," flex flex-col lg:flex-row w-full lg:w-auto ").concat(h),children:"link"===t?(0,n.jsxs)(a.default,{className:"flex items-center justify-center ".concat("right"==i?"":"flex-row-reverse"," gap-4 px-6 py-3 w-auto rounded-full cursor-pointer ").concat(u?"bg-white text-secondary hover:bg-secondary hover:text-white border border-secondary hover:border-white":"bg-secondary text-white hover:bg-white hover:text-secondary border border-secondary hover:border-secondary"," "),href:s,target:c,children:[o,r?p?(0,n.jsx)("span",{className:"icon-favorite"}):(0,n.jsx)("span",{className:x}):null]}):(0,n.jsxs)("button",{onClick:d,type:"button",className:"flex items-center justify-center ".concat("right"==i?"":"flex-row-reverse"," gap-4 px-6 py-3 w-auto rounded-full cursor-pointer ").concat(u?"bg-white text-secondary hover:bg-secondary hover:text-white border border-secondary hover:border-white":"bg-secondary text-white hover:bg-white hover:text-secondary border border-secondary hover:border-secondary"),children:[o,r?p?(0,n.jsx)("span",{className:"icon-favorite"}):(0,n.jsx)("span",{className:x}):null]})})})}},51585:function(e,t,l){l.d(t,{M:function(){return a}});var n=l(57437);let a=e=>{let{nameIcon:t,sizeIcon:l,classIcon:a="",classWrap:s=""}=e;return(0,n.jsx)(n.Fragment,{children:(0,n.jsx)("span",{className:"relative block leading-none ".concat(s),children:(0,n.jsx)("span",{className:"".concat(t," ").concat(l," ").concat(a)})})})}},72941:function(e,t,l){l.r(t),l.d(t,{InnerHeader:function(){return o}});var n=l(57437),a=l(2265),s=l(79004),c=l(18878);let o=e=>{let{tipo:t="general",withoutText:l=!1,urlImage:o,titleBanner:r,classname:i,withButton:x=!1,textButton:d,urlButton:u,hasIcon:h=!1,iconName:p,backLink:m=!1,backLinkUrl:f}=e,g=(0,a.useMemo)(()=>["mpg","mp2","mpeg","mpe","mpv","mp4"],[]),v=(0,a.useMemo)(()=>
1{if(!o)return!1;let e=o.split("."),t=e[e.length-1].toLowerCase();return g.includes(t)},[o,g]),[b,j]=(0,a.useState)(!1),w=(0,a.useCallback)(()=>{j(!0)},[]),y=(0,a.useMemo)(()=>({background:r&&""!==r?"rgb(0 0 0 / 0.5)":"none"}),[r]),N=(0,a.useMemo)(()=>"home"===t?"relative z-10 text-white text-h1Mobile lg:text-h0Brand lg:max-w-[850px] mx-auto text-center ".concat("uppercase"," ").concat(""):"relative z-10 text-white ".concat("text-h1Mobile lg:text-h1"," ").concat("uppercase"),[t]);return(0,n.jsx)(n.Fragment,{children:v?(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)("div",{className:"relative flex flex-col items-center justify-center h-[275px] lg:h-[360px] gap-6 overflow-hidden bg-black ".concat(i),children:[(0,n.jsxs)("video",{className:"absolute w-auto min-w-full h-full max-w-none object-cover transition-opacity duration-300 ".concat(b?"opacity-100":"opacity-0"),autoPlay:!0,loop:!0,muted:!0,playsInline:!0,onLoadedData:w,preload:"auto",children:[(0,n.jsx)("source",{src:o,type:"video/mp4"}),"Your browser does not support the video tag."]}),(0,n.jsx)("div",{className:"absolute z-0 top-0 left-0 w-full h-full",style:y}),r?(0,n.jsx)("h1",{className:N,children:r}):null,x&&(0,n.jsx)(s.X,{text:d,link:u,hasIcon:h,nameIcon:p,classwrap:"!w-auto"})]})}):(0,n.jsxs)("div",{className:"relative flex flex-col items-center justify-center h-[275px] lg:h-[360px] gap-6 overflow-hidden ".concat(i),style:{backgroundImage:"url(".concat(o,")"),backgroundSize:"cover",backgroundPosition:"center"},children:[m&&(0,n.jsx)("div",{className:"relative block w-full max-w-container px-5 lg:px-0 pt-24 lg:pt-32",children:(0,n.jsx)(c.k,{text:"Regresar",link:f,hasIcon:!0,nameIcon:"icon-arrow_left",positionIcon:"left",inverted:!0})}),(0,n.jsx)("div",{className:"absolute z-0 top-0 left-0 w-full h-full",style:y}),!l&&r?(0,n.jsx)("h1",{className:N,children:r}):null,x&&(0,n.jsx)(s.X,{text:d,link:u,hasIcon:h,nameIcon:p,classwrap:"!w-auto"})]})})}},18878:function(e,t,l){l.d(t,{k:function(){return s}});var n=l(57437),a=l(8792);let s=e=>{let{withouthText:t=!1,link:l="",target:s="_self",text:c,hasIcon:o=!1,positionIcon:r="right",nameIcon:i,sizeIcon:x="text-b4",inverted:d,classname:u="",classIcon:h="",classwrap:p=""}=e;return(0,n.jsx)("div",{className:"relative z-10 flex flex-col lg:flex-row w-full lg:w-auto ".concat(p),children:(0,n.jsxs)(a.default,{href:l||"/",target:s,className:"flex items-center ".concat("right"==r?"flex-row":"flex-row-reverse justify-end"," gap-4 text-b1 ").concat(d?"text-white hover:text-white":"text-secondary hover:text-primary"," ").concat(u," "),children:[t?null:c,o?(0,n.jsx)("span",{className:"".concat(i," ").concat(x," ").concat(h)}):null]})})}},15209:function(e,t,l){l.d(t,{P:function(){return s}});var n=l(57437),a=l(2265);let s=e=>{let{schedule:t,wrapclass:l}=e,[s,c]=(0,a.useState)(null),[o,r]=(0,a.useState)(0);function i(e){let t=e.split(":");return t[0]+":"+t[1]}return(0,a.useEffect)(()=>{let e=new Date().getDay();0===e&&(e=7),r(e)},[]),new Date().getDay(),(0,a.useEffect)(()=>{null===s&&t&&c(t.sort((e,t)=>e.day_id-t.day_id))},[t]),(0,n.jsx)(n.Fragment,{children:(0,n.jsx)("ul",{className:"flex items-stretch justify-between w-full ".concat(l),children:s&&s.map((e,t)=>(0,n.jsx)("li",{className:"".concat((null==e?void 0:e.day_id)===o?"text-white bg-secondary rounded-lg":""),children:(0,n.jsxs)("div",{className:"flex flex-col w-10 p-1 rounded-tiny font-thirdFont pb-4 relative  ".concat((null==e?void 0:e.day_id)===o?"text-white":"text-secondary"),children:[(0,n.jsxs)("span",{className:"text-b4 font-medium uppercase",children:[["Lun","Mar","Mie","Jue","Vie","Sab","Dom"][e.day_id-1]," "]}),(0,n.jsx)("span",{className:"text-b4",children:i(e.start)}),(0,n.jsx)("span",{className:"text-b4",children:i(e.end)}),(null==e?void 0:e.day_id)===o?(0,n.jsx)("span",{className:"absolute bottom-1 left-1/3 icon-arrow_up text-white text-b5"}):null]})},t))})})}},82849:function(e,t,l){var n=l(22020),a=l(65249);let s=(0,n.Ue)((0,a.tJ)(e=>({cityCoreSelected:null,setCityCoreSelected:t=>e({cityCoreSelected:t})}),{name:"cityCoreStore",storage:(0,a.FL)(()=>sessionStorage)}));t.Z=s}}]);

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.