PageSourceSearch

https://pro.passpass.be/_next/static/chunks/4216-e47d614cdd1e5c3c.js

js passpass.be collected 2026-10-02 05:34:17 UTC 14,462 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4216],{42316:(e,t,r)=>{r.d(t,{default:()=>m});var s=r(73365),a=r(99568),n=r.n(a),o=r(58872),i=r(29717),l=r(1521);function d(e,t,r=""){return e?"string"==typeof e?e:e[t]||e.fr||r:r}var c=r(63506),u=r(90346);function p(e,t=20){let r=(0,u.sW)(e);return r?(0,s.jsx)(u.nR,{icon:r,size:t,strokeWidth:1.5}):null}function x(e,t){if("page"===e.linkType){if("contactPage"===e.pageType)return`/${t}/contact`;if("pricingPage"===e.pageType)return`/${t}/pricing`;if("featurePage"===e.pageType&&e.pageSlug)return`/${t}/platform/${e.pageSlug}`;if("solutionPage"===e.pageType&&e.pageSlug)return`/${t}/solutions/${e.pageSlug}`;if(e.pageSlug)return`/${t}/${e.pageSlug}`}return"href"===e.linkType&&e.href?e.href:"anchor"===e.linkType&&e.anchor?`#${e.anchor}`:"#"}function m({locale:e,dict:t,logoUrl:r,siteTitle:a,mainNavigation:u,headerSecondaryCta:f,headerCta:h,variant:b="edge"}){let g=(0,i.usePathname)()||"",[v,j]=(0,l.useState)(!1),[w,N]=(0,l.useState)(!1),[y,k]=(0,l.useState)(!1),[$,_]=(0,l.useState)(null),T=(t,r)=>{if(!t)return!1;let s=g.split(/[?#]/)[0].replace(/\/$/,""),a=t.split(/[?#]/)[0].replace(/\/$/,"");return(a===`/${e}`?s===a:!!(s===a||s.startsWith(a+"/")))||!!r&&r.some(t=>{let r=x(t,e).split(/[?#]/)[0].replace(/\/$/,"");return!!r&&(s===r||s.startsWith(r+"/"))})},[C,S]=(0,l.useState)(null),[F,E]=(0,l.useState)(!1);(0,l.useEffect)(()=>{if(v){N(!0);let e=requestAnimationFrame(()=>k(!0));return()=>cancelAnimationFrame(e)}if(w){k(!1);let e=setTimeout(()=>N(!1),250);return()=>clearTimeout(e)}},[v,w]),(0,l.useEffect)(()=>{let e=()=>E(window.scrollY>0);return e(),window.addEventListener("scroll",e,{passive:!0}),()=>window.removeEventListener("scroll",e)},[]),(0,l.useEffect)(()=>{if("u">typeof document&&v){let e=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{document.body.style.overflow=e}}},[v]),(0,l.useEffect)(()=>{if(!v)return;let e=e=>{"Escape"===e.key&&j(!1)};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[v]);let P=u||[],z=f?.buttonText||t.nav.signin,L=f?.link?.href||"https://dashboard.passpass.be",I=f?.link?.openInNewTab??!1,M=h?.buttonText||t.nav.start_free,B=h?.link?.href||"https://dashboard.passpass.be/auth/register",W=h?.link?.openInNewTab??!0,R="floating"===b,A=R?"fixed z-50 inset-x-0 top-0 px-3 pt-[max(0.75rem,env(safe-area-inset-top))] md:pt-4 md:px-4 bg-white md:bg-transparent":`fixed z-50 inset-x-0 top-0 bg-white/98 backdrop-blur-sm transition-[border-color] duration-200 border-b ${F?"border-border/50":"border-transparent"}`,O=R?`mx-auto max-w-[1100px] rounded-[var(--radius-lg)] bg-white md:bg-white/95 md:backdrop-blur-sm border border-border/50 transition-shadow duration-200 ${F?"shadow-[0_8px_24px_-8px_rgba(20,20,20,0.15)]":"shadow-[0_4px_16px_-8px_rgba(20,20,20,0.08)]"}`:"container-section";return(0,s.jsxs)("header",{className:A,children:[(0,s.jsx)("a",{href:"#main",className:"sr-only focus:not-sr-only focus:absolute focus:z-[100] focus:top-2 focus:left-2 focus:px-4 focus:py-2 focus:bg-primary focus:text-white focus:rounded-[var(--radius-md)] focus:text-sm focus:font-medium",children:"Skip to main content"}),null!==C&&(0,s.jsx)("div",{className:"fixed inset-0 z-40",onClick:()=>S(null)}),(0,s.jsx)("div",{className:`relative z-50 ${O}`,children:(0,s.jsxs)("div",{className:`flex items-center justify-between gap-4 ${R?"h-14 pl-4 pr-3 md:pl-5 md:pr-3":"h-16"}`,children:[(0,s.jsxs)("div",{className:"flex items-center gap-6 md:gap-8",children:[(0,s.jsx)(n(),{href:`/${e}`,className:"flex items-center shrink-0",children:r?(0,s.jsx)(o.default,{src:r,alt:a||"PassPass",width:120,height:34,className:R?"h-[30px] w-auto":"h-[34px] w-auto",priority:!0}):(0,s.jsx)("span",{className:`font-semibold text-foreground ${R?"text-base":"text-xl"}`,children:a||"PassPass"})}),(0,s.jsx)("nav",{className:"hidden md:flex items-center","aria-label":"Main navigation",children:(0,s.jsx)("ul",{className:"flex items-center gap-1 list-none m-0 p-0",children:P.map((t,r)=>{let a,o,i=(t.columns??[]).flatMap(e=>
1e?.items??[]).filter(Boolean),l=i.length>0,c=l?i:t.children??[],u=c.length>0,m=C===r,f=x(t,e),h=T(f,c);return(0,s.jsxs)("li",{className:"relative",onMouseEnter:()=>u&&S(r),onMouseLeave:()=>S(null),children:[(0,s.jsxs)(n(),{href:f,target:t.openInNewTab?"_blank":void 0,"aria-current":h?"page":void 0,className:`relative flex items-center gap-1.5 px-3 py-2 text-sm font-medium rounded-[var(--radius-sm)] transition-colors text-foreground cursor-pointer before:absolute before:-top-4 before:-bottom-4 before:left-0 before:right-0 before:content-[''] ${m?"bg-[#EEF6FF]":""} hover:bg-[#EEF6FF]`,children:[d(t.label,e),u&&(0,s.jsx)("svg",{width:"10",height:"10",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round",className:`opacity-60 transition-transform ${m?"rotate-180":""}`,children:(0,s.jsx)("polyline",{points:"6 9 12 15 18 9"})})]}),u&&m&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:"absolute left-0 right-0 h-6 top-full"}),(0,s.jsx)("div",{className:R?"absolute left-0 top-full mt-4 z-50":"fixed left-0 right-0 top-[68px] z-50",onMouseEnter:()=>S(r),onMouseLeave:()=>S(null),children:(0,s.jsx)("div",{className:R?"":"container-section",children:l?(0,s.jsx)("div",{className:"bg-white rounded-[var(--radius-lg)] shadow-sm border border-border",style:{maxWidth:`${Math.min(500*t.columns.length,1500)}px`},children:(o=(a=t.columns).some(e=>e?.title),(0,s.jsxs)("div",{className:"p-6",children:[d(t.dropdownTitle,e)&&(0,s.jsx)("div",{className:`px-2 ${t.dropdownShowDivider?"mb-4 pb-4 border-b border-neutral-100":"mb-4"}`,children:(0,s.jsx)("p",{className:`text-sm font-medium text-foreground ${!1!==t.dropdownTitleUppercase?"uppercase":""}`,children:d(t.dropdownTitle,e)})}),(0,s.jsxs)("div",{className:"grid gap-x-10",style:{gridTemplateColumns:`repeat(${a.length}, minmax(340px, 1fr))`,gridTemplateRows:o?"auto 1fr":"1fr"},children:[o&&a.map((t,a)=>(0,s.jsx)("div",{className:"pb-4 px-2",children:t?.title?(0,s.jsx)("p",{className:"text-sm font-medium text-foreground uppercase",children:d(t.title,e)}):(0,s.jsx)("div",{})},`title-${r}-${a}`)),a.map((t,a)=>(0,s.jsx)("div",{className:"space-y-1",children:(t?.items??[]).map((t,r)=>(0,s.jsxs)(n(),{href:x(t,e),target:t.openInNewTab?"_blank":void 0,onClick:()=>S(null),className:"flex items-start gap-3 p-2 rounded-[var(--radius-sm)] transition-transform duration-300 ease-out hover:translate-x-1 group",children:[t.icon&&(0,s.jsx)("span",{className:"flex items-center justify-center w-10 h-10 rounded-[var(--radius-sm)] text-foreground shrink-0",style:{backgroundColor:t.iconBackgroundColor||"var(--muted, #F1F2F3)"},children:p(t.icon,20)}),(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"text-sm font-medium text-foreground",children:d(t.label,e)}),d(t.description,e)&&(0,s.jsx)("div",{className:"text-xs text-foreground-muted",children:d(t.description,e)})]})]},`col-${a}-child-${r}`))},`items-${r}-${a}`))]})]}))}):(0,s.jsxs)("div",{className:"bg-white rounded-[var(--radius-lg)] shadow-sm border border-border",children:[d(t.dropdownTitle,e)&&(0,s.jsx)("div",{className:`px-6 pt-5 ${t.dropdownShowDivider?"pb-4 border-b border-neutral-100":"pb-1"}`,children:(0,s.jsx)("p",{className:`text-sm font-medium text-foreground ${!1!==t.dropdownTitleUppercase?"uppercase":""}`,children:d(t.dropdownTitle,e)})}),(0,s.jsx)("div",{className:`${d(t.dropdownTitle,e)?"px-6 pb-6 pt-2":"p-6"} ${(t.children?.length||0)>5?"grid grid-cols-2 gap-x-8 gap-y-1 max-w-[1050px]":"space-y-1 max-w-[660px]"}`,children:t.children.map((t,r)=>(0,s.jsxs)(n(),{href:x(t,e),target:t.openInNewTab?"_blank":void 0,onClick:()=>S(null),className:"flex items-start gap-3 p-2 -mx-2 rounded-[var(--radius-sm)] transition-transform duration-300 ease-out hover:translate-x-1 group",children:[t.icon&&(0,s.jsx)("span",{className:"flex items-center justify-center w-10 h-10 rounded-[var(--radius-sm)] text-foreground shrink-0",style:{backgroundColor:t.iconBackgroundColor||"var(--muted, #F1F2F3)"},children:p(t.icon,20)}),(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"text-sm font-medium text-foreground",children:d(t.label,e)}),d(t.description,e)&&(0,s.jsx)("div",{className:"text-xs text-foreground-muted",children:d(t.description,e)})]})]},`${d(t.label,e)||"child"}-${r}`))})]})})})]})]},`${d(t.label,e)||"item"}-${r}`)})})})]}),(0,s.jsxs)("div",{className:"flex items-center",children:[(0,s.jsxs)("div",{className:"hidden md:flex items-center gap-2 shrink-0",children:[(0,s.jsx)(c.$,{variant:"outline",size:"sm",href:L,target:I?"_blank":void 0,className:R?"h-9 px-3.5 text-sm":"h-10 px-4",children:z}),(0,s.jsx)(c.$,{size:"sm",href:B,ctaLocation:"header_desktop",target:W?"_blank":void 0,className:R?"h-9 px-3.5 text-sm":"h-10 px-4",children:M})]}),(0,s.jsx)("button",{onClick:()=>j(!v),className:"md:hidden relative w-11 h-11 -mr-2 flex items-center justify-center text-foreground rounded-full hover:bg-muted transition-colors","aria-label":"Toggle menu","aria-expanded":v,children:(0,s.jsxs)("span",{className:"relative w-6 h-6 block",children:[(0,s.jsx)("span",{className:`absolute left-0 right-0 top-[5px] h-[2px] bg-current roun
1ded-full origin-center transition-transform duration-300 ease-[cubic-bezier(0.65,0,0.35,1)] ${v?"translate-y-[6px] rotate-45":""}`}),(0,s.jsx)("span",{className:`absolute left-0 right-0 top-[11px] h-[2px] bg-current rounded-full transition-opacity duration-200 ${v?"opacity-0":"opacity-100"}`}),(0,s.jsx)("span",{className:`absolute left-0 right-0 top-[17px] h-[2px] bg-current rounded-full origin-center transition-transform duration-300 ease-[cubic-bezier(0.65,0,0.35,1)] ${v?"-translate-y-[6px] -rotate-45":""}`})]})})]})]})}),w&&(0,s.jsx)("div",{className:`md:hidden fixed z-[60] transition-opacity duration-200 ease-out ${R?"inset-0 p-3":"inset-0"} ${y?"opacity-100":"opacity-0"}`,children:(0,s.jsxs)("div",{className:`bg-white flex flex-col h-full ${R?`mx-auto max-w-[1100px] rounded-[var(--radius-lg)] border border-border overflow-hidden ${F?"shadow-[0_8px_24px_-8px_rgba(20,20,20,0.15)]":"shadow-[0_4px_16px_-8px_rgba(20,20,20,0.08)]"}`:""}`,children:[(0,s.jsxs)("div",{className:`flex items-center justify-between shrink-0 ${R?"h-14 pl-4 pr-3":"h-16 px-4"}`,children:[(0,s.jsx)(n(),{href:`/${e}`,className:"flex items-center",onClick:()=>j(!1),children:r?(0,s.jsx)(o.default,{src:r,alt:a||"PassPass",width:120,height:34,className:R?"h-[30px] w-auto":"h-[34px] w-auto"}):(0,s.jsx)("span",{className:`font-semibold text-foreground ${R?"text-base":"text-xl"}`,children:a||"PassPass"})}),(0,s.jsx)("button",{onClick:()=>j(!1),className:"relative w-11 h-11 -mr-2 flex items-center justify-center text-foreground rounded-full hover:bg-muted transition-colors","aria-label":"Close menu",children:(0,s.jsxs)("span",{className:"relative w-6 h-6 block",children:[(0,s.jsx)("span",{className:"absolute left-0 right-0 top-[5px] h-[2px] bg-current rounded-full origin-center translate-y-[6px] rotate-45"}),(0,s.jsx)("span",{className:"absolute left-0 right-0 top-[17px] h-[2px] bg-current rounded-full origin-center -translate-y-[6px] -rotate-45"})]})})]}),(0,s.jsx)("nav",{className:`flex-1 overflow-y-auto flex flex-col transition-transform duration-300 ease-out ${R?"px-4 py-3":"px-6 py-4"} ${y?"translate-y-0":"-translate-y-1"}`,children:P.map((t,r)=>{let a=(t.columns??[]).flatMap(e=>e?.items??[]).filter(Boolean),o=a.length>0?a:t.children??[],i=o.length>0,l=$===r;return(0,s.jsxs)("div",{className:"w-full",children:[i?(0,s.jsxs)("button",{type:"button",onClick:()=>_(l?null:r),className:"w-full flex items-center justify-between py-4 text-xl font-semibold text-foreground text-left","aria-expanded":l,children:[d(t.label,e),(0,s.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round",className:`opacity-50 transition-transform duration-200 ${l?"rotate-180":""}`,children:(0,s.jsx)("polyline",{points:"6 9 12 15 18 9"})})]}):(0,s.jsx)(n(),{href:x(t,e),target:t.openInNewTab?"_blank":void 0,"aria-current":T(x(t,e),[])?"page":void 0,className:"block py-4 text-xl font-semibold text-foreground",onClick:()=>j(!1),children:d(t.label,e)}),i&&l&&(0,s.jsx)("div",{className:"pb-4 flex flex-col gap-1",children:o.map((t,a)=>(0,s.jsxs)(n(),{href:x(t,e),target:t.openInNewTab?"_blank":void 0,className:"flex items-center gap-3 px-2 py-3 rounded-[var(--radius-sm)] hover:bg-muted transition-colors text-left",onClick:()=>j(!1),children:[t.icon&&(0,s.jsx)("span",{className:"flex items-center justify-center w-10 h-10 rounded-[var(--radius-sm)] text-foreground shrink-0",style:{backgroundColor:t.iconBackgroundColor||"var(--muted, #F1F2F3)"},children:p(t.icon,20)}),(0,s.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,s.jsx)("div",{className:"text-base font-medium text-foreground",children:d(t.label,e)}),d(t.description,e)&&(0,s.jsx)("div",{className:"text-sm text-foreground-muted mt-0.5",children:d(t.description,e)})]})]},`mob-${r}-${a}`))})]},`mob-${r}`)})}),(0,s.jsxs)("div",{className:`shrink-0 flex flex-col gap-3 ${R?"px-4 pt-3 pb-4 border-t border-border":"px-6 pt-4 pb-4"}`,style:R?void 0:{paddingBottom:"calc(env(safe-area-inset-bottom, 0px) + 1rem)"},children:[(0,s.jsx)(c.$,{variant:"outline",href:L,target:I?"_blank":void 0,className:"w-full h-12 text-base",onClick:()=>j(!1),children:z}),(0,s.jsx)(c.$,{href:B,ctaLocation:"header_mobile",target:W?"_blank":void 0,className:"w-full h-12 text-base",onClick:()=>j(!1),children:M})]})]})})]})}},48495:(e,t,r)=>
1{Object.defineProperty(t,"__esModule",{value:!0});var s={default:function(){return c},getImageProps:function(){return d}};for(var a in s)Object.defineProperty(t,a,{enumerable:!0,get:s[a]});let n=r(12563),o=r(53441),i=r(38137),l=n._(r(93635));function d(e){let{props:t}=(0,o.getImgProps)(e,{defaultLoader:l.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[75,80,85,90,95],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,r]of Object.entries(t))void 0===r&&delete t[e];return{props:t}}let c=i.Image},49277:(e,t,r)=>{r.d(t,{Q:()=>a});var s=r(91511);let a=(0,s.createServerReference)("40832eb75e66dd8a2fe10c0b43abbbd4db4b6156fe",s.callServer,void 0,s.findSourceMapURL,"revalidateSyncTags")},58872:(e,t,r)=>{r.d(t,{default:()=>a.a});var s=r(48495),a=r.n(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.