1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8974],{8935:(e,a,l)=>{"use strict";l.d(a,{default:()=>b});var r=l(5155),t=l(2619),i=l.n(t),s=l(5239),o=l(9436),n=l(1898),c=l(2115),u=l(63),h=l(1924),g=l(6357),m=l(6895),d=l(5626),v=l(3943),x=l(2808);function p(e){let{title:a,roomsLabel:l,bgUrl:t}=e;return(0,r.jsxs)("div",{className:"relative block overflow-hidden rounded-xl border border-white/10 bg-neutral-900/60 text-left w-full transition-all duration-150 focus:outline-none focus-visible:ring-2 focus-visible:ring-gold/60 cursor-pointer aspect-[16/9] group-hover:scale-[1.02] group-active:scale-[0.98] hover-shine",children:[(0,r.jsx)(s.default,{src:t,alt:"","aria-hidden":!0,fill:!0,sizes:"(min-width: 1280px) 512px, (min-width: 640px) 50vw, 100vw",className:"object-cover"}),(0,r.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-black/80 via-black/50 to-black/20 transition-colors duration-300 group-hover:from-black/60 group-hover:via-black/40 group-hover:to-black/10 group-active:from-black/70 group-active:via-black/50 group-active:to-black/20"}),(0,r.jsxs)("div",{className:"relative z-10 flex h-full flex-col justify-between p-4",children:[(0,r.jsx)("h2",{className:"uppercase text-2xl md:text-3xl xl:text-4xl font-semibold tracking-wide [text-shadow:1px_1px_0_rgba(0,0,0,0.8),-1px_1px_0_rgba(0,0,0,0.8),1px_-1px_0_rgba(0,0,0,0.8),-1px_-1px_0_rgba(0,0,0,0.8)]",children:a}),(0,r.jsxs)("div",{className:"flex items-center justify-between",children:[(0,r.jsx)("span",{className:"text-lg md:text-xl text-gray-200",children:l}),(0,r.jsx)("span",{className:"shrink-0 inline-flex items-center justify-center rounded-full border border-white/10 bg-neutral-800/80 text-gray-300 transition-transform group-hover:translate-x-0.5 group-active:translate-x-0 group-active:scale-95 hover:text-yellow-400 hover-shine-dark",style:{width:"clamp(2.25rem, 5vh, 4rem)",height:"clamp(2.25rem, 5vh, 4rem)"},children:(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",style:{width:"clamp(1.25rem, 2.5vh, 2rem)",height:"clamp(1.25rem, 2.5vh, 2rem)"},children:(0,r.jsx)("path",{d:"M13.5 4.5a.75.75 0 0 1 1.06 0l6 6a.75.75 0 0 1 0 1.06l-6 6a.75.75 0 1 1-1.06-1.06l4.72-4.72H3.75a.75.75 0 0 1 0-1.5h14.47l-4.72-4.72a.75.75 0 0 1 0-1.06Z"})})})]})]})]})}function b(){let e=(0,o.c3)(),{startNavigation:a}=(0,n.y)(),l=(0,u.useSearchParams)(),t=(0,c.useMemo)(()=>({laval:"/images/hub/laval-hub-2.avif",montreal:"/images/hub/montreal-hub.avif",sherbrooke:"/images/sherbandsague/prison.avif",saguenay:"/images/hub/saguenay-hub.avif",shawinigan:"/images/hub/shawinigan-hub.avif",ezkapaz:"/images/hub/ezkapaz-hub.avif"}),[]),s=(0,c.useMemo)(()=>{var e,a,l,r,t;return{laval:null!=(e=null===g.P||void 0===g.P?void 0:g.P.length)?e:0,montreal:null!=(a=null===m.x||void 0===m.x?void 0:m.x.length)?a:0,sherbrooke:null!=(l=null===v.J||void 0===v.J?void 0:v.J.length)?l:0,saguenay:null!=(r=null===d.Q||void 0===d.Q?void 0:d.Q.length)?r:0,shawinigan:null!=(t=null===x.c||void 0===x.c?void 0:x.c.length)?t:0,ezkapaz:4}},[]);return(0,r.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4 max-w-5xl mx-auto w-full font-teko",children:["laval","montreal","sherbrooke","saguenay","shawinigan","ezkapaz"].map(o=>{let n="ezkapaz"===o,c=s[o],u="number"==typeof c?e("LocationSelector.rooms",{count:c}):"",g=e("Locations.".concat(o,".name")),m=t[o]||null;return n?(0,r.jsx)("a",{href:"https://www.ezkapaz.com/",target:"_blank",rel:"noopener noreferrer","aria-label":e("Locations.ezkapaz.name"),className:"group",children:(0,r.jsx)(p,{title:g,roomsLabel:u,bgUrl:m})},o):(0,r.jsx)(i(),{href:(0,h.Zg)("/".concat(o),l),onClick:()=>{"ezkapaz"!==o&&a()},"aria-label":e("Locations.".concat(o,".name")),className:"group",children:(0,r.jsx)(p,{title:g,roomsLabel:u,bgUrl:m})},o)})})}},9957:(e,a,l)=>{Promise.resolve().then(l.bind(l,8935))}},e=>{e.O(0,[1026,6394,4115,8441,1255,7358],()=>e(e.s=9957)),_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.