PageSourceSearch

https://chathome.lu/_next/static/chunks/app/not-found-bf8e889a0800ed50.js

js chathome.lu collected 2026-10-08 03:21:22 UTC 10,783 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[24345],{3144:(e,t,r)=>{"use strict";r.d(t,{LanguageProvider:()=>p,o:()=>h,u:()=>g});var n=r(54568),o=r(7620),l=r(63680);let a=(0,o.createContext)(void 0),i=e=>"en"===e||"fr"===e||"lu"===e||"de"===e||"pt"===e,s=/^\/(en|fr|de|lb|lu|pt)(?=\/|$)/,u=new Map,d=Object.freeze({}),c=new Set,f=e=>{window.localStorage.setItem("language",e),document.cookie=`chathome_lang=${encodeURIComponent(e)}; path=/; max-age=31536000; samesite=lax`,document.documentElement.lang=e};function p({children:e,initialLanguage:t,dictionary:r,knownNamespaces:p,dictionaryVersion:h,isTrimmed:g=!1}){let[m,v]=(0,o.useState)(()=>{if(t&&i(t))return t;let e=(()=>{if("undefined"==typeof document)return null;let e=document.cookie.match(/(?:^|;\s*)chathome_lang=([^;]+)/);return e?decodeURIComponent(e[1]):null})();if(i(e))return e;let r=window.localStorage.getItem("language");return i(r)?r:"en"});o.useEffect(()=>{f(m)},[m]);let[y,x]=(0,o.useState)(null);(0,o.useEffect)(()=>{if(!g||!h)return;let e=!1;return(function(e,t){let r=`${e}:${t}`,n=u.get(r);if(n)return n;let o=fetch(`/api/i18n/${e}?v=${encodeURIComponent(t)}`,{credentials:"same-origin"}).then(async e=>{if(!e.ok)return null;let t=await e.json();return"object"==typeof t&&null!==t&&"dictionary"in t&&"object"==typeof t.dictionary&&null!==t.dictionary?t.dictionary:null}).catch(()=>null);return u.set(r,o),o})(m,h).then(t=>{!e&&t&&x(t)}),()=>{e=!0}},[g,h,m]);let b=y??r,w=g&&!y,$=(0,o.useMemo)(()=>{if(!w||!p||0===p.length||"undefined"==typeof Proxy)return b;let e=new Set(p),t="true"===l.env.NEXT_PUBLIC_I18N_NAMESPACE_DEBUG;return new Proxy(b,{get(r,n,o){if("string"==typeof n&&e.has(n)&&!(n in r)){let e,r;return t&&(e=window.location.pathname,r=`${e}:${n}`,c.has(r)||(c.add(r),console.error(`[i18n-miss] namespace "${n}" is read on this route but was not in its allowlist — add it to route-namespaces.ts`,{path:e,locale:m}))),d}return Reflect.get(r,n,o)}})},[b,w,p,m]);return(0,n.jsx)(a.Provider,{value:{language:m,setLanguage:e=>{e!==m&&(f(e),window.location.assign((e=>{let{pathname:t,search:r,hash:n}=window.location,o=s.test(t)?t.replace(s,`/${e}`):`/${e}${"/"===t?"":t}`;return`${o}${r}${n}`})(e)))},t:$},children:e})}function h(){let e=(0,o.useContext)(a);if(void 0===e)throw Error("useLanguage must be used within a LanguageProvider");return e}function g(){let{language:e}=h(),t=(0,o.useRef)(null),[r,n]=(0,o.useState)(null);return(0,o.useEffect)(()=>{n(t.current),t.current=e},[e]),{lang:e,prevLang:r}}},10067:(e,t,r)=>{"use strict";r.d(t,{NotFoundClient:()=>s});var n=r(54568),o=r(78128),l=r(64529),a=r(76081),i=r(44314);function s({copy:e}){return(0,n.jsx)("div",{className:"flex min-h-screen bg-background font-sans text-foreground",children:(0,n.jsx)("main",{id:"main-content",className:"flex flex-1 items-center justify-center px-4 py-16",children:(0,n.jsxs)(o.m.div,{initial:{opacity:0,y:12},animate:{opacity:1,y:0},transition:{duration:.35,ease:[.16,1,.3,1]},className:"w-full max-w-lg space-y-6 text-center",children:[(0,n.jsx)("p",{className:"font-serif text-7xl font-bold tracking-tight text-primary/20 sm:text-8xl",children:"404"}),(0,n.jsxs)("div",{className:"space-y-3",children:[(0,n.jsx)("h1",{className:"font-serif text-3xl font-bold tracking-tight text-foreground sm:text-4xl",children:e.title}),(0,n.jsx)("p",{className:"text-base leading-relaxed text-muted-foreground",children:e.message})]}),(0,n.jsx)(a.$,{size:"lg",asChild:!0,className:"min-h-[44px] rounded-full px-8",children:(0,n.jsxs)(i.Link,{href:"/",children:[(0,n.jsx)(l.A,{className:"mr-2 h-4 w-4"}),e.go_home]})})]})})})}},33670:(e,t,r)=>{"use strict";r.d(t,{s:()=>a,t:()=>l});var n=r(7620);function o(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function l(...e){return t=>{let r=!1,n=e.map(e=>{let n=o(e,t);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let t=0;t<n.length;t++){let r=n[t];"function"==typeof r?r():o(e[t],null)}}}}function a(...e){return n.useCallback(l(...e),e)}},42728:(e,t,r)=>{Promise.resolve().then(r.bind(r,10067))},44314:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Link:()=>p,prefixLocale:()=>c});var n=r(54568),o=r(65587),l=r.n(o),a=r(7620),i=r(3144);let s=/^\/(?:(?:en|fr|de|lu|lb|pt)\/)?discover(?:\/|\?|$)/,u=/^\/(en|fr|de|lu|lb|pt)(\/|$|\?)/,d=/^\/(en|fr|de|lu|lb|pt)$/;function c(e,t){return e.startsWith("http://")||e.startsWith("https://")||e.startsWith("#")||e.startsWith("/api/")||u.test(e)||d.test(e)?e:"/"===e?`/${t}`:e.startsWith("/?")?`/${t}${e.slice(1)}`:e.startsWith("?")||e.startsWith("/")?`/${t}${e}
1`:`/${t}/${e}`}function f(){let{pending:e}=(0,o.useLinkStatus)();return(0,a.useEffect)(()=>{e&&window.dispatchEvent(new CustomEvent("chathome:route-pending"))},[e]),null}function p({href:e,children:t,prefetch:r,...o}){let{language:a}=(0,i.o)(),u="string"==typeof e?c(e,a):e,d="string"==typeof u?void 0!==r?r:!s.test(u)&&void 0:r;return(0,n.jsxs)(l(),{href:u,prefetch:d,...o,children:[t,(0,n.jsx)(f,{})]})}},64318:(e,t,r)=>{"use strict";r.d(t,{cn:()=>l});var n=r(9917),o=r(2809);function l(...e){return(0,o.QP)((0,n.$)(e))}},64529:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(81007).A)("house",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"r6nss1"}]])},76081:(e,t,r)=>{"use strict";r.d(t,{$:()=>u});var n=r(54568),o=r(7620),l=r(78347),a=r(91397),i=r(64318);let s=(0,a.F)("inline-flex items-center justify-center whitespace-nowrap rounded-lg text-[length:var(--app-font-sm)] font-semibold ring-offset-background transition-all duration-200 active:scale-[0.97] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-sm hover:bg-primary/90 hover:shadow-md hover:-translate-y-px dark:bg-foreground dark:text-background dark:hover:bg-foreground
1/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input dark:border-foreground/20 bg-background hover:bg-accent hover:text-accent-foreground hover:shadow-sm",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80 hover:-translate-y-px hover:shadow-sm",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary dark:text-foreground underline-offset-4 hover:underline"},size:{default:"h-[var(--app-button-height)] px-[var(--app-button-px)]",sm:"h-[var(--app-button-height-sm)] rounded-md px-[var(--app-button-px-sm)] text-[length:var(--app-font-xs)]",lg:"h-[var(--app-button-height-lg)] rounded-xl px-[var(--app-button-px-lg)] text-[length:var(--app-font-md)]",icon:"h-11 w-11"}},defaultVariants:{variant:"default",size:"default"}}),u=o.forwardRef(({className:e,variant:t,size:r,asChild:o=!1,...a},u)=>{let d=o?l.DX:"button";return(0,n.jsx)(d,{type:o?void 0:a.type??"button",className:(0,i.cn)(s({variant:t,size:r,className:e})),ref:u,...a})});u.displayName="Button"},78347:(e,t,r)=>{"use strict";let n,o,l;r.d(t,{DX:()=>p});var a,i=r(7620),s=r(33670),u=r(54568),d=Symbol.for("react.lazy"),c=(a||(a=r.t(i,2)))[" use ".trim().toString()];function f(e){var t;return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===d&&"_payload"in e&&"object"==typeof(t=e._payload)&&null!==t&&"then"in t}var p=((l=i.forwardRef((e,t)=>{let{children:r,...n}=e;if(f(r)&&"function"==typeof c&&(r=c(r._payload)),i.isValidElement(r)){var o;let e,l,a=(o=r,(l=(e=Object.getOwnPropertyDescriptor(o.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?o.ref:(l=(e=Object.getOwnPropertyDescriptor(o,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?o.props.ref:o.props.ref||o.ref),u=function(e,t){let r={...t};for(let n in t){let o=e[n],l=t[n];/^on[A-Z]/.test(n)?o&&l?r[n]=(...e)=>{let t=l(...e);return o(...e),t}:o&&(r[n]=o):"style"===n?r[n]={...o,...l}:"className"===n&&(r[n]=[o,l].filter(Boolean).join(" "))}return{...e,...r}}(n,r.props);return r.type!==i.Fragment&&(u.ref=t?(0,s.t)(t,a):a),i.cloneElement(r,u)}return i.Children.count(r)>1?i.Children.only(null):null})).displayName="Slot.SlotClone",n=l,(o=i.forwardRef((e,t)=>{let{children:r,...o}=e;f(r)&&"function"==typeof c&&(r=c(r._payload));let l=i.Children.toArray(r),a=l.find(g);if(a){let e=a.props.children,r=l.map(t=>t!==a?t:i.Children.count(e)>1?i.Children.only(null):i.isValidElement(e)?e.props.children:null);return(0,u.jsx)(n,{...o,ref:t,children:i.isValidElement(e)?i.cloneElement(e,void 0,r):null})}return(0,u.jsx)(n,{...o,ref:t,children:r})})).displayName="Slot.Slot",o),h=Symbol("radix.slottable");function g(e){return i.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===h}},81007:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(7620);let o=e=>{let t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,r)=>r?r.toUpperCase():t.toLowerCase());return t.charAt(0).toUpperCase()+t.slice(1)},l=(...e)=>e.filter((e,t,r)=>!!e&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim();var a={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let i=(0,n.forwardRef)(({color:e="currentColor",size:t=24,strokeWidth:r=2,absoluteStrokeWidth:o,className:i="",children:s,iconNode:u,...d},c)=>(0,n.createElement)("svg",{ref:c,...a,width:t,height:t,stroke:e,strokeWidth:o?24*Number(r)/Number(t):r,className:l("lucide",i),...!s&&!(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0})(d)&&{"aria-hidden":"true"},...d},[...u.map(([e,t])=>(0,n.createElement)(e,t)),...Array.isArray(s)?s:[s]])),s=(e,t)=>{let r=(0,n.forwardRef)(({className:r,...a},s)=>(0,n.createElement)(i,{ref:s,iconNode:t,className:l(`lucide-${o(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,r),...a}));return r.displayName=o(e),r}},91397:(e,t,r)=>{"use strict";r.d(t,{F:()=>a});var n=r(9917);let o=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,l=n.$,a=(e,t)=>r=>{var n;if((null==t?void 0:t.variants)==null)return l(e,null==r?void 0:r.class,null==r?void 0:r.className);let{variants:a,defaultVariants:i}=t,s=Object.keys(a).map(e=>{let t=null==r?void 0:r[e],n=null==i?void 0:i[e];if(null===t)return null;let l=o(t)||o(n);return a[e][l]}),u=r&&Object.entries(r).reduce((e,t)=>
1{let[r,n]=t;return void 0===n||(e[r]=n),e},{});return l(e,s,null==t||null==(n=t.compoundVariants)?void 0:n.reduce((e,t)=>{let{class:r,className:n,...o}=t;return Object.entries(o).every(e=>{let[t,r]=e;return Array.isArray(r)?r.includes({...i,...u}[t]):({...i,...u})[t]===r})?[...e,r,n]:e},[]),null==r?void 0:r.class,null==r?void 0:r.className)}}},e=>{e.O(0,[78128,65587,63357,587,61968,77358],()=>e(e.s=42728)),_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.