PageSourceSearch

https://www.nkc.nu/_next/static/chunks/15c~xwy3~e5mq.js

js nkc.nu collected 2026-10-04 01:52:28 UTC 49,301 bytes, 2 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,18581,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"useMergedRef",{enumerable:!0,get:function(){return n}});let l=e.r(71645);function n(e,t){let r=(0,l.useRef)(null),n=(0,l.useRef)(null);return(0,l.useCallback)(l=>{if(null===l){let e=r.current;e&&(r.current=null,e());let t=n.current;t&&(n.current=null,t())}else e&&(r.current=a(e,l)),t&&(n.current=a(t,l))},[e,t])}function a(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let r=e(t);return"function"==typeof r?r:()=>e(null)}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},88143,(e,t,r)=>{"use strict";function l(e){let{widthInt:t,heightInt:r,blurWidth:l,blurHeight:n,blurDataURL:a,objectFit:o}=e,s=l?40*l:t,i=n?40*n:r,c=s&&i?`viewBox='0 0 ${s} ${i}'`:"";return`%3Csvg xmlns='http://www.w3.org/2000/svg' ${c}%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='${c?"none":"contain"===o?"xMidYMid":"cover"===o?"xMidYMid slice":"none"}' style='filter: url(%23b);' href='${a}'/%3E%3C/svg%3E`}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"getImageBlurSvg",{enumerable:!0,get:function(){return l}})},87690,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var l={VALID_LOADERS:function(){return a},imageConfigDefault:function(){return o}};for(var n in l)Object.defineProperty(r,n,{enumerable:!0,get:l[n]});let a=["default","imgix","cloudinary","akamai","custom"],o={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:14400,formats:["image/webp"],maximumDiskCacheSize:void 0,maximumRedirects:3,maximumResponseBody:5e7,dangerouslyAllowLocalIP:!1,dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"attachment",localPatterns:void 0,remotePatterns:[],qualities:[75],unoptimized:!1,customCacheHandler:!1}},8927,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"getImgProps",{enumerable:!0,get:function(){return c}}),e.r(33525);let l=e.r(43369),n=e.r(88143),a=e.r(87690),o=["-moz-initial","fill","none","scale-down",void 0];function s(e){return void 0!==e.default}function i(e){return void 0===e?e:"number"==typeof e?Number.isFinite(e)?e:NaN:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function c(e,t){var r;let c,d,u,{src:f,sizes:p,unoptimized:m=!1,priority:h=!1,preload:g=!1,loading:x,className:b,quality:y,width:v,height:k,fill:j=!1,style:w,overrideSrc:C,onLoad:_,onLoadingComplete:N,placeholder:z="empty",blurDataURL:M,fetchPriority:S,decoding:E="async",layout:P,objectFit:I,objectPosition:$,lazyBoundary:L,lazyRoot:O,...B}=e,{imgConf:R,showAltText:F,blurComplete:A,defaultLoader:T}=t,D=R||a.imageConfigDefault;if("allSizes"in D)c=D;else{let e=[...D.deviceSizes,...D.imageSizes].sort((e,t)=>e-t),t=D.deviceSizes.sort((e,t)=>e-t),r=D.qualities?.sort((e,t)=>e-t);c={...D,allSizes:e,deviceSizes:t,qualities:r}}if(void 0===T)throw Object.defineProperty(Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config"),"__NEXT_ERROR_CODE",{value:"E163",enumerable:!1,configurable:!0});let H=B.loader||T;delete B.loader,delete B.srcSet;let V="__next_img_default"in H;if(V){if("custom"===c.loader)throw Object.defineProperty(Error(`Image with src "${f}" is missing "loader" prop.
2Read more: https://nextjs.org/docs/messages/next-image-missing-loader`),"__NEXT_ERROR_CODE",{value:"E252",enumerable:!1,
2configurable:!0})}else{let e=H;H=t=>{let{config:r,...l}=t;return e(l)}}if(P){"fill"===P&&(j=!0);let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[P];e&&(w={...w,...e});let t={responsive:"100vw",fill:"100vw"}[P];t&&!p&&(p=t)}let W="",U=i(v),G=i(k);if((r=f)&&"object"==typeof r&&(s(r)||void 0!==r.src)){let e=s(f)?f.default:f;if(!e.src)throw Object.defineProperty(Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received ${JSON.stringify(e)}`),"__NEXT_ERROR_CODE",{value:"E460",enumerable:!1,configurable:!0});if(!e.height||!e.width)throw Object.defineProperty(Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received ${JSON.stringify(e)}`),"__NEXT_ERROR_CODE",{value:"E48",enumerable:!1,configurable:!0});if(d=e.blurWidth,u=e.blurHeight,M=M||e.blurDataURL,W=e.src,!j)if(U||G){if(U&&!G){let t=U/e.width;G=Math.round(e.height*t)}else if(!U&&G){let t=G/e.height;U=Math.round(e.width*t)}}else U=e.width,G=e.height}let q=!h&&!g&&("lazy"===x||void 0===x);(!(f="string"==typeof f?f:W)||f.startsWith("data:")||f.startsWith("blob:"))&&(m=!0,q=!1),c.unoptimized&&(m=!0),V&&!c.dangerouslyAllowSVG&&f.split("?",1)[0].endsWith(".svg")&&(m=!0);let X=i(y),Y=Object.assign(j?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:I,objectPosition:$}:{},F?{}:{color:"transparent"},w),J=A||"empty"===z?null:"blur"===z?`url("data:image/svg+xml;charset=utf-8,${(0,n.getImageBlurSvg)({widthInt:U,heightInt:G,blurWidth:d,blurHeight:u,blurDataURL:M||"",objectFit:Y.objectFit})}")`:`url("${z}")`,Z=o.includes(Y.objectFit)?"fill"===Y.objectFit?"100% 100%":"cover":Y.objectFit,K=J?{backgroundSize:Z,backgroundPosition:Y.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:J}:{},Q=function(e){let{config:t,src:r,unoptimized:n,width:a,quality:o,sizes:s,loader:i}=e;if(n){if(r.startsWith("/")&&!r.startsWith("//")){let e=(0,l.getDeploymentId)();if(e){let t=r.indexOf("?");
2if(-1!==t){let l=new URLSearchParams(r.slice(t+1));l.get("dpl")||(l.append("dpl",e),r=r.slice(0,t)+"?"+l.toString())}else r+=`?dpl=${e}`}}return{src:r,srcSet:void 0,sizes:void 0}}let{widths:c,kind:d}=function(e,t,r){let{deviceSizes:l,allSizes:n}=e;if(r){let e=/(^|\s)(1?\d?\d)vw/g,t=[];for(let l;l=e.exec(r);)t.push(parseInt(l[2]));if(t.length){let e=.01*Math.min(...t);return{widths:n.filter(t=>t>=l[0]*e),kind:"w"}}return{widths:n,kind:"w"}}return"number"!=typeof t?{widths:l,kind:"w"}:{widths:[...new Set([t,2*t].map(e=>n.find(t=>t>=e)||n[n.length-1]))],kind:"x"}}(t,a,s),u=c.length-1;return{sizes:s||"w"!==d?s:"100vw",srcSet:c.map((e,l)=>`${i({config:t,src:r,quality:o,width:e})} ${"w"===d?e:l+1}${d}`).join(", "),src:i({config:t,src:r,quality:o,width:c[u]})}}({config:c,src:f,unoptimized:m,width:U,quality:X,sizes:p,loader:H}),ee=q?"lazy":x;return{props:{...B,loading:ee,fetchPriority:S,width:U,height:G,decoding:E,className:b,style:{...Y,...K},sizes:Q.sizes,srcSet:Q.srcSet,src:C||Q.src},meta:{unoptimized:m,preload:g||h,placeholder:z,fill:j}}}},98879,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return s}});let l=e.r(71645),n="u"<typeof window,a=n?()=>{}:l.useLayoutEffect,o=n?()=>{}:l.useEffect;function s(e){let{headManager:t,reduceComponentsToState:r}=e;function s(){if(t&&t.mountedInstances){let e=l.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(r(e))}}return n&&(t?.mountedInstances?.add(e.children),s()),a(()=>(t?.mountedInstances?.add(e.children),()=>{t?.mountedInstances?.delete(e.children)})),a(()=>(t&&(t._pendingUpdate=s),()=>{t&&(t._pendingUpdate=s)})),o(()=>(t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),()=>{t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)})),null}},25633,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var l={default:function(){return h},defaultHead:function(){return u}};for(var n in l)Object.defineProperty(r,n,{enumerable:!0,get:l[n]});let a=e.r(55682),o=e.r(90809),s=e.r(43476),i=o._(e.r(71645)),c=a._(e.r(98879)),d=e.r(42732);function u(){return[(0,s.jsx)("meta",{charSet:"utf-8"},"charset"),(0,s.jsx)("meta",{name:"viewport",content:"width=device-width"},"viewport")]}function f(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===i.default.Fragment?e.concat(i.default.Children.toArray(t.props.children).reduce((e,t)=>"string"==typeof t||"number"==typeof t?e:e.concat(t),[])):e.concat(t)}e.r(33525);let p=["name","httpEquiv","charSet","itemProp"];function m(e){let t,r,l,n;return e.reduce(f,[]).reverse().concat(u().reverse()).filter((t=new Set,r=new Set,l=new Set,n={},e=>{let a=!0,o=!1;if(e.key&&"number"!=typeof e.key&&e.key.indexOf("$")>0){o=!0;let r=e.key.slice(e.key.indexOf("$")+1);t.has(r)?a=!1:t.add(r)}switch(e.type){case"title":case"base":r.has(e.type)?a=!1:r.add(e.type);break;case"meta":for(let t=0,r=p.length;t<r;t++){let r=p[t];if(e.props.hasOwnProperty(r))if("charSet"===r)l.has(r)?a=!1:l.add(r);else{let t=e.props[r],l=n[r]||new Set;("name"!==r||!o)&&l.has(t)?a=!1:(l.add(t),n[r]=l)}}}return a})).reverse().map((e,t)=>{let r=e.key||t;return i.default.cloneElement(e,{key:r})})}let h=function(e){let{children:t}=e,r=(0,i.useContext)(d.HeadManagerContext);return(0,s.jsx)(c.default,{reduceComponentsToState:m,headManager:r,children:t})};("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},18556,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"ImageConfigContext",{enumerable:!0,get:function(){return a}});let l=e.r(55682)._(e.r(71645)),n=e.r(87690),a=l.default.createContext(n.imageConfigDefault)},65856,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"RouterContext",{enumerable:!0,get:function(){return l}});let l=e.r(55682)._(e.r(71645)).default.createContext(null)},42012,e=>{"use strict";e.s(["default",0,function(e){let{src:t,width:r,quality:l}=e,n=encodeURIComponent(JSON.stringify([{operation:"input",type:"url",url:t.replace(/%/g,"%25")},{operation:"resize",width:r},{operation:"output",format:"webp",quality:l||75}]));return`/_fah/image/process?operations=${n}`}])},5500,(e,t,r)=>{"use strict";
2Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"Image",{enumerable:!0,get:function(){return v}});let l=e.r(55682),n=e.r(90809),a=e.r(43476),o=n._(e.r(71645)),s=l._(e.r(74080)),i=l._(e.r(25633)),c=e.r(8927),d=e.r(87690),u=e.r(18556);e.r(33525);let f=e.r(65856),p=l._(e.r(42012)),m=e.r(18581),h={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/_next/image/",loader:"custom",dangerouslyAllowSVG:!1,unoptimized:!1};function g(e,t,r,l,n,a,o){let s=e?.src;e&&e["data-loaded-src"]!==s&&(e["data-loaded-src"]=s,("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(e.parentElement&&e.isConnected){if("empty"!==t&&n(!0),r?.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let l=!1,n=!1;r.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>l,isPropagationStopped:()=>n,persist:()=>{},preventDefault:()=>{l=!0,t.preventDefault()},stopPropagation:()=>{n=!0,t.stopPropagation()}})}l?.current&&l.current(e)}}))}function x(e){return o.use?{fetchPriority:e}:{fetchpriority:e}}"u"<typeof window&&(globalThis.__NEXT_IMAGE_IMPORTED=!0);let b=(0,o.forwardRef)((e,t)=>{let{src:r,srcSet:l,sizes:n,height:s,width:i,decoding:c,className:d,style:u,fetchPriority:f,placeholder:p,loading:h,unoptimized:b,fill:y,onLoadRef:v,onLoadingCompleteRef:k,setBlurComplete:j,setShowAltText:w,sizesInput:C,onLoad:_,onError:N,...z}=e,M=(0,o.useCallback)(e=>{e&&(N&&(e.src=e.src),e.complete&&g(e,p,v,k,j,b,C))},[r,p,v,k,j,N,b,C]),S=(0,m.useMergedRef)(t,M);return(0,a.jsx)("img",{...z,...x(f),loading:h,width:i,height:s,decoding:c,"data-nimg":y?"fill":"1",className:d,style:u,sizes:n,srcSet:l,src:r,ref:S,onLoad:e=>{g(e.currentTarget,p,v,k,j,b,C)},onError:e=>{w(!0),"empty"!==p&&j(!0),N&&N(e)}})});function y(e){let{isAppRouter:t,imgAttributes:r}=e,l={as:"image",imageSrcSet:r.srcSet,imageSizes:r.sizes,crossOrigin:r.crossOrigin,referrerPolicy:r.referrerPolicy,...x(r.fetchPriority)};return t&&s.default.preload?(s.default.preload(r.src,l),null):(0,a.jsx)(i.default,{children:(0,a.jsx)("link",{rel:"preload",href:r.srcSet?void 0:r.src,...l},"__nimg-"+r.src+r.srcSet+r.sizes)})}let v=(0,o.forwardRef)((e,t)=>{let r=(0,o.useContext)(f.RouterContext),l=(0,o.useContext)(u.ImageConfigContext),n=(0,o.useMemo)(()=>{let e=h||l||d.imageConfigDefault,t=[...e.deviceSizes,...e.imageSizes].sort((e,t)=>e-t),r=e.deviceSizes.sort((e,t)=>e-t),n=e.qualities?.sort((e,t)=>e-t);return{...e,allSizes:t,deviceSizes:r,qualities:n,localPatterns:"u"<typeof window?l?.localPatterns:e.localPatterns}},[l]),{onLoad:s,onLoadingComplete:i}=e,m=(0,o.useRef)(s);(0,o.useEffect)(()=>{m.current=s},[s]);let g=(0,o.useRef)(i);(0,o.useEffect)(()=>{g.current=i},[i]);let[x,v]=(0,o.useState)(!1),[k,j]=(0,o.useState)(!1),{props:w,meta:C}=(0,c.getImgProps)(e,{defaultLoader:p.default,imgConf:n,blurComplete:x,showAltText:k});return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(b,{...w,unoptimized:C.unoptimized,placeholder:C.placeholder,fill:C.fill,onLoadRef:m,onLoadingCompleteRef:g,setBlurComplete:v,setShowAltText:j,sizesInput:e.sizes,ref:t}),C.preload?(0,a.jsx)(y,{isAppRouter:!r,imgAttributes:w}):null]})});("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},94909,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var l={default:function(){return d},getImageProps:function(){return c}};for(var n in l)Object.defineProperty(r,n,{enumerable:!0,get:l[n]});let a=e.r(55682),o=e.r(8927),s=e.r(5500),i=a._(e.r(42012));function c(e){let{props:t}=(0,o.getImgProps)(e,{defaultLoader:i.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/_next/image/",loader:"custom",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,r]of Object.entries(t))void 0===r&&delete t[e];return{props:t}}let d=s.Image},57688,(e,t,r)=>{t.exports=e.r(94909)},47163,e=>{"use strict";e.s(["normalizeLinks",0,function(e){return e.includes("<a")?e.replace(/<a\b([^>]*)>/gi,(e,t)=>{let r=/href\s*=\s*["']([^"']*)["']/i.exec(t);if(!r)return`<a${t}>`;let l=r[1],n=l.startsWith("/")||l.startsWith("#")||!l.includes("://"),a=t.replace(/\s+target\s*=\s*["'][^"']*["']/gi,"").replace(/\s+rel\s*=\s*["'][^"']*["']/gi,"");return n?`<a${a}>`:`<a${a} target="_blank" rel="noopener noreferrer">`}):e},"safeStr",0,function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return"string"==typeof e?e:null==e?t:"number"==typeof e||"boolean"==typeof e?String(e):t},"slugifyCategory",0,function(e){return e.toLowerCase().replace(/[åä]/g,"a").replace(/ö/g,"o").replace(/[^a-z0-9]+/g,"-").replace(/^-|-$/g,"")}])},67585,(e,t,r)=>{"use strict";
2Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"BailoutToCSR",{enumerable:!0,get:function(){return n}});let l=e.r(32061);function n(e){let{reason:t,children:r}=e;if("u"<typeof window)throw Object.defineProperty(new l.BailoutToCSRError(t),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return r}},9885,(e,t,r)=>{"use strict";function l(e){return e.split("/").map(e=>encodeURIComponent(e)).join("/")}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"encodeURIPath",{enumerable:!0,get:function(){return l}})},52157,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"PreloadChunks",{enumerable:!0,get:function(){return i}});let l=e.r(43476),n=e.r(74080),a=e.r(63599),o=e.r(9885),s=e.r(43369);function i(e){let{moduleIds:t}=e;if("u">typeof window)return null;let r=a.workAsyncStorage.getStore();if(void 0===r)return null;let i=[];if(r.reactLoadableManifest&&t){let e=r.reactLoadableManifest;for(let r of t){if(!e[r])continue;let t=e[r].files;i.push(...t)}}if(0===i.length)return null;let c=(0,s.getAssetTokenQuery)();return(0,l.jsx)(l.Fragment,{children:i.map(e=>{let t=`${r.assetPrefix}/_next/${(0,o.encodeURIPath)(e)}${c}`;return e.endsWith(".css")?(0,l.jsx)("link",{precedence:"dynamic",href:t,rel:"stylesheet",as:"style",nonce:r.nonce},e):((0,n.preload)(t,{as:"script",fetchPriority:"low",nonce:r.nonce}),null)})})}},69093,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return c}});let l=e.r(43476),n=e.r(71645),a=e.r(67585),o=e.r(52157);function s(e){return{default:e&&"default"in e?e.default:e}}let i={loader:()=>Promise.resolve(s(()=>null)),loading:null,ssr:!0},c=function(e){let t={...i,...e},r=(0,n.lazy)(()=>t.loader().then(s)),c=t.loading;function d(e){let s=c?(0,l.jsx)(c,{isLoading:!0,pastDelay:!0,error:null}):null,i=!t.ssr||!!t.loading,d=i?n.Suspense:n.Fragment,u=t.ssr?(0,l.jsxs)(l.Fragment,{children:["u"<typeof window?(0,l.jsx)(o.PreloadChunks,{moduleIds:t.modules}):null,(0,l.jsx)(r,{...e})]}):(0,l.jsx)(a.BailoutToCSR,{reason:"next/dynamic",children:(0,l.jsx)(r,{...e})});return(0,l.jsx)(d,{...i?{fallback:s}:{},children:u})}return d.displayName="LoadableComponent",d}},70703,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return n}});let l=e.r(55682)._(e.r(69093));function n(e,t){let r={};"function"==typeof e&&(r.loader=e);let n={...r,...t};return(0,l.default)({...n,modules:n.loadableGenerated?.modules})}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},18566,(e,t,r)=>{t.exports=e.r(76562)},23413,e=>{"use strict";var t=e.i(43476),r=e.i(71645),l=e.i(57688),n=e.i(70703),a=e.i(18566),o=e.i(47163),s=e.i(89994),i=e.i(62388);let c=(0,n.default)(()=>e.A(38261),{loadableGenerated:{modules:[55353]},ssr:!1}),d={facebook:{label:"Facebook",viewBox:"0 0 24 24",path:"M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z"},instagram:{label:"Instagram",viewBox:"0 0 24 24",path:"M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zM12 0C8.741 0 8.333.014 7.053.072 2.695.272.273 2.69.073 7.052.014 8.333 0 8.741 0 12c0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98C8.333 23.986 8.741 24 12 24c3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98C15.668.014 15.259 0 12 0zm0 5.838a6.162 6.162 0 100 12.324 6.162 6.162 0 000-12.324zM12 16a4 4 0 110-8 4 4 0 010 8zm6.406-11.845a1.44 1.44 0 100 2.881 1.44 1.44 0 000-2.881z"},youtube:{label:"YouTube",viewBox:"0 0 24 24",path:"M23.498 6.186a3.016 3.016 0 00-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 00.502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 002.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 002.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z"},tiktok:{label:"TikTok",viewBox:"0 0 24 24",path:"M12.525.02c1.31-.02 2.61-.01 3.91-.02.08 1.53.63 3.09 1.75 4.17 1.12 1.11 2.7 1.62 4.24 1.79v4.03c-1.44-.05-2.89-.35-4.2-.97-.57-.26-1.1-.59-1.62-.93-.01 2.92.01 5.84-.02 8.75-.08 1.4-.54 2.79-1.35 3.94-1.31 1.92-3.58 3.17-5.91 3.21-1.43.08-2.86-.31-4.08
2-1.03-2.02-1.19-3.44-3.37-3.65-5.71-.02-.5-.03-1-.01-1.49.18-1.9 1.12-3.72 2.58-4.96 1.66-1.44 3.98-2.13 6.15-1.72.02 1.48-.04 2.96-.04 4.44-.99-.32-2.15-.23-3.02.37-.63.41-1.11 1.04-1.36 1.75-.21.51-.15 1.07-.14 1.61.24 1.64 1.82 3.02 3.5 2.87 1.12-.01 2.19-.66 2.77-1.61.19-.33.4-.67.41-1.06.1-1.79.06-3.57.07-5.36.01-4.03-.01-8.05.02-12.07z"},x:{label:"X",viewBox:"0 0 24 24",path:"M18.901 1.153h3.68l-8.04 9.19L24 22.846h-7.406l-5.8-7.584-6.638 7.584H.474l8.6-9.83L0 1.154h7.594l5.243 6.932ZM17.61 20.644h2.039L6.486 3.24H4.298Z"},linkedin:{label:"LinkedIn",viewBox:"0 0 24 24",path:"M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z"},whatsapp:{label:"WhatsApp",viewBox:"0 0 24 24",path:"M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z"}},u={facebook:{bg:"#1877F2",fg:"#ffffff"},instagram:{bg:"#E4405F",fg:"#ffffff"},youtube:{bg:"#FF0000",fg:"#ffffff"},tiktok:{bg:"#000000",fg:"#ffffff"},x:{bg:"#000000",fg:"#ffffff"},linkedin:{bg:"#0A66C2",fg:"#ffffff"},whatsapp:{bg:"#25D366",fg:"#ffffff"}};function f(e){let{links:r,textColor:l,colorMode:n}=e,a=r.filter(e=>e.url);return 0===a.length?null:(0,t.jsx)("div",{className:"flex items-center gap-2",children:a.map(e=>{let r=d[e.platform];if(!r)return null;let a=n?u[e.platform]:null;return(0,t.jsx)("a",{href:e.url,target:"_blank",rel:"noopener noreferrer","aria-label":r.label,className:"w-11 h-11 rounded-full flex items-center justify-center transition-all hover:scale-110",style:{backgroundColor:a?a.bg:`${l}20`,color:a?a.fg:l},children:(0,t.jsx)("svg",{className:"w-3.5 h-3.5",fill:"currentColor",viewBox:r.viewBox,children:(0,t.jsx)("path",{d:r.path})})},e.platform)})})}function p(e){let{className:r}=e;return(0,t.jsx)("svg",{className:r||"w-3 h-3",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:"2.5",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19 9l-7 7-7-7"})})}let m=["nkc.nu","www.nkc.nu"];function h(e){if(!e.startsWith("http://")&&!e.startsWith("https://"))return!1;try{return!m.includes(new URL(e).hostname)}catch{return!1}}function g(e,t){if(e.isExternal&&e.externalUrl){try{let t=new URL(e.externalUrl);if(m.includes(t.hostname))return t.pathname+t.search+t.hash||"/"}catch{}return e.externalUrl}if(e.pageId){let r=t.find(t=>t.id===e.pageId);if(r){let t=r.isHomepage?"/":`/${r.slug}`;return e.anchorBlockId?`${t}#block-${e.anchorBlockId}`:t}}return e.anchorBlockId?`#block-${e.anchorBlockId}`:"#"}function x(e,t){return"en"===t&&e.labelEn?e.labelEn:e.label}function b(e){let{item:l,pages:n,currentSlug:a,txtColor:o,bgColor:s,primaryColor:i,radius:c,bodyFont:d,language:u}=e,[f,m]=(0,r.useState)(!1),b=(0,r.useRef)(null),y=l.children||[],v=(0,r.useCallback)(()=>{b.current&&clearTimeout(b.current),m(!0)},[]),k=(0,r.useCallback)(()=>{b.current=setTimeout(()=>m(!1),150)},[]);(0,r.useEffect)(()=>()=>{b.current&&clearTimeout(b.current)},[]);let j=y.some(e=>!!e.pageId&&n.find(t=>
2t.id===e.pageId)?.slug===a);return(0,t.jsxs)("div",{className:"relative",onMouseEnter:v,onMouseLeave:k,children:[(0,t.jsxs)("button",{className:"px-4 py-2 text-xs font-bold uppercase tracking-widest transition-all flex items-center gap-1.5",style:{color:j?i:o,borderRadius:c,backgroundColor:j?`${i}10`:"transparent",fontFamily:d},"aria-haspopup":"true","aria-expanded":f,children:[x(l,u),(0,t.jsx)(p,{className:`w-3 h-3 transition-transform duration-200 ${f?"rotate-180":""}`})]}),(0,t.jsx)("div",{className:"absolute left-0 top-full pt-1 z-50",style:{opacity:+!!f,transform:f?"translateY(0)":"translateY(-4px)",pointerEvents:f?"auto":"none",transition:"opacity 150ms ease, transform 150ms ease"},children:(0,t.jsx)("div",{className:"min-w-[200px] py-2 rounded-xl border shadow-lg",style:{backgroundColor:s,borderColor:`${o}15`,boxShadow:"0 10px 40px -8px rgba(0,0,0,0.15)",borderRadius:"9999px"===c?"12px":c},children:y.map(e=>{let r=!!e.pageId&&n.find(t=>t.id===e.pageId)?.slug===a;return(0,t.jsx)("a",{href:g(e,n),target:h(g(e,n))?"_blank":void 0,rel:h(g(e,n))?"noopener noreferrer":void 0,onClick:t=>{e.anchorBlockId&&!h(g(e,n))&&(t.preventDefault(),document.getElementById(`block-${e.anchorBlockId}`)?.scrollIntoView({behavior:"smooth",block:"start"}))},className:"block px-4 py-2.5 text-xs font-bold uppercase tracking-widest transition-all hover:opacity-70",style:{color:r?i:o,backgroundColor:r?`${i}08`:"transparent",fontFamily:d},children:x(e,u)},e.id)})})})]})}function y(e){let{item:l,pages:n,currentSlug:a,txtColor:o,primaryColor:s,radius:i,bodyFont:c,language:d,onNavigate:u}=e,[f,m]=(0,r.useState)(!1),b=l.children||[],y=b.some(e=>!!e.pageId&&n.find(t=>t.id===e.pageId)?.slug===a);return(0,t.jsxs)("div",{children:[(0,t.jsxs)("button",{onClick:()=>m(!f),className:"w-full px-4 py-3 text-sm font-bold uppercase tracking-widest transition-all flex items-center justify-between",style:{color:y?s:o,borderRadius:i,backgroundColor:y?`${s}10`:"transparent",fontFamily:c},"aria-expanded":f,children:[x(l,d),(0,t.jsx)(p,{className:`w-4 h-4 transition-transform duration-200 ${f?"rotate-180":""}`})]}),(0,t.jsx)("div",{className:"overflow-hidden transition-all duration-200",style:{maxHeight:f?`${56*b.length}px`:"0px",opacity:+!!f},children:(0,t.jsx)("div",{className:"pl-6 border-l-2 ml-4 mt-1 mb-1",style:{borderColor:`${o}15`},children:b.map(e=>{let r=!!e.pageId&&n.find(t=>t.id===e.pageId)?.slug===a;return(0,t.jsx)("a",{href:g(e,n),target:h(g(e,n))?"_blank":void 0,rel:h(g(e,n))?"noopener noreferrer":void 0,onClick:t=>{e.anchorBlockId&&!h(g(e,n))&&(t.preventDefault(),u(),document.getElementById(`block-${e.anchorBlockId}`)?.scrollIntoView({behavior:"smooth",block:"start"}))},className:"block px-4 py-2.5 text-sm font-bold uppercase tracking-widest transition-all",style:{color:r?s:o,borderRadius:i,backgroundColor:r?`${s}10`:"transparent",fontFamily:c},children:x(e,d)},e.id)})})})]})}function v(n){let{club:d,config:u,pages:p,isDark:m,onToggleDark:v,language:k,onToggleLanguage:j,resolvedColors:w}=n,[C,_]=(0,r.useState)(!1),[N,z]=(0,r.useState)(!1),[M,S]=(0,r.useState)(!1),E=(0,a.usePathname)();(0,r.useEffect)(()=>{let t;if(!s.app)return;let r=!1,l=async()=>{let{getAuth:l,onAuthStateChanged:n}=await e.A(3975);r||!s.app||(t=n(l(s.app),e=>S(!!e)))};return"complete"===document.readyState?l():window.addEventListener("load",l,{once:!0}),()=>{r=!0,t?.(),window.removeEventListener("load",l)}},[]);let P="/"===E?"":E.replace(/^\//,"").split("/")[0],I=(0,i.useT)("siteHeader"),$=(0,i.useT)("common"),L=u?.headerConfig,O=Array.isArray(u?.navigation)?u.navigation:[],B=u?.theme,R=u?.socialDisplay?.header!==!1&&(u?.socialLinks||[]).filter(e=>e.url).length>0&&u.socialLinks||[],F=w.bg,A=w.text,T=(0,o.safeStr)(B?.primaryColor,"#e50401"),D=(0,o.safeStr)(L?.logoUrl??d.logoUrl),H=(0,o.safeStr)(d.clubName),V=L?.showClubName!==!1,W=B?.borderRadius==="none"?"0":B?.borderRadius==="sm"?"4px":B?.borderRadius==="md"?"8px":B?.borderRadius==="lg"?"12px":"9999px",U=B?.maxWidth||"1280px",G=B?.bodyFont,q=B?.headingFont,X=e=>!!e.pageId&&(p.find(t=>t.id===e.pageId)?.slug===P||e.pageId&&p.find(t=>
2t.id===e.pageId)?.isHomepage&&"/"===E),Y=e=>{let{ariaLabel:r}=e;return(0,t.jsx)("button",{onClick:v,className:"w-11 h-11 rounded-full flex items-center justify-center transition-all hover:scale-110 cursor-pointer",style:{color:A,backgroundColor:`${A}10`},"aria-label":r,children:m?(0,t.jsx)("svg",{className:"w-4 h-4",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:"2",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 3v1m0 16v1m9-9h-1M4 12H3m15.364 6.364l-.707-.707M6.343 6.343l-.707-.707m12.728 0l-.707.707M6.343 17.657l-.707.707M16 12a4 4 0 11-8 0 4 4 0 018 0z"})}):(0,t.jsx)("svg",{className:"w-4 h-4",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:"2",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M20.354 15.354A9 9 0 018.646 3.646 9.003 9.003 0 0012 21a9.003 9.003 0 008.354-5.646z"})})})};return(0,t.jsxs)("header",{className:`w-full z-50 site-bg ${L?.sticky!==!1?"sticky top-0":""}`,children:[(0,t.jsxs)("div",{className:"mx-auto flex items-center justify-between px-6 py-4",style:{maxWidth:U},children:[(0,t.jsxs)("a",{href:"/",className:"flex items-center gap-3","aria-label":H||$.homeAriaLabel,children:[D&&(0,t.jsx)(l.default,{src:D,alt:H,width:160,height:40,className:"h-10 w-auto object-contain",priority:!0}),V&&H&&(0,t.jsx)("span",{className:"text-lg font-black uppercase tracking-tight",style:{fontFamily:q,color:A},children:H})]}),(0,t.jsxs)("div",{className:"hidden md:flex items-center gap-4",children:[O.length>0&&(0,t.jsx)("nav",{className:"flex items-center gap-1",children:O.map(e=>{if((e.children||[]).length>0)return(0,t.jsx)(b,{item:e,pages:p,currentSlug:P,txtColor:A,bgColor:F,primaryColor:T,radius:W,bodyFont:G,language:k},e.id);let r=X(e);return(0,t.jsx)("a",{href:g(e,p),target:h(g(e,p))?"_blank":void 0,rel:h(g(e,p))?"noopener noreferrer":void 0,onClick:t=>{e.anchorBlockId&&!h(g(e,p))&&(t.preventDefault(),document.getElementById(`block-${e.anchorBlockId}`)?.scrollIntoView({behavior:"smooth",block:"start"}))},className:"px-4 py-2 text-xs font-bold uppercase tracking-widest transition-all",style:{color:r?T:A,borderRadius:W,backgroundColor:r?`${T}10`:"transparent",fontFamily:G},children:x(e,k)},e.id)})}),R.length>0&&(0,t.jsxs)(t.Fragment,{children:[O.length>0&&(0,t.jsx)("div",{className:"w-px h-6",style:{backgroundColor:`${A}20`}}),(0,t.jsx)(f,{links:R,textColor:A,colorMode:u?.socialIconStyle==="color"})]}),v&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"w-px h-6",style:{backgroundColor:`${A}20`}}),(0,t.jsx)(Y,{ariaLabel:m?I.lightMode:I.darkMode})]}),(0,t.jsx)("div",{className:"w-px h-6",style:{backgroundColor:`${A}20`}}),(0,t.jsxs)("div",{className:"flex items-center bg-zinc-100 dark:bg-zinc-800 rounded-lg p-0.5 gap-0.5",children:[(0,t.jsx)("button",{onClick:()=>"sv"!==k&&j(),title:"Svenska","aria-label":"Svenska",className:`cursor-pointer flex items-center gap-1 min-h-[44px] px-3 rounded-md text-xs font-semibold transition-all duration-150 ${"sv"===k?"bg-white dark:bg-zinc-700 text-zinc-900 dark:text-white shadow-sm":"text-zinc-600 dark:text-zinc-300 hover:text-zinc-900 dark:hover:text-white"}`,children:(0,t.jsx)("span",{className:"text-sm leading-none",children:"🇸🇪"})}),(0,t.jsx)("button",{onClick:()=>"en"!==k&&j(),title:"English","aria-label":"English",className:`cursor-pointer flex items-center gap-1 min-h-[44px] px-3 rounded-md text-xs font-semibold transition-all duration-150 ${"en"===k?"bg-white dark:bg-zinc-700 text-zinc-900 dark:text-white shadow-sm":"text-zinc-600 dark:text-zinc-300 hover:text-zinc-900 dark:hover:text-white"}`,children:(0,t.jsx)("span",{className:"text-sm leading-none",children:"🇬🇧"})})]}),(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[M?(0,t.jsx)("a",{href:"/portal/app",className:"px-4 py-2 text-[10px] font-black uppercase tracking-widest transition-all hover:opacity-80",style:{color:A},children:I.myAccount}):(0,t.jsx)("button",{onClick:()=>z(!0),className:"px-4 py-2 text-[10px] font-black uppercase tracking-widest transition-all hover:opacity-80",style:{color:A},children:I.login}),!M&&(0,t.jsx)("a",{href:"/portal/app?register=1",className:"px-4 py-2 text-[10px] font-black uppercase tracking-widest transition-all active:scale-95 rounded-lg",style:{color:"#fff",backgroundColor:T},children:I.becomeMember})]})]}),(0,t.jsxs)("div",{className:"flex items-center gap-2 md:hidden",children:[v&&(0,t.jsx)(Y,{ariaLabel:m?I.lightMode:I.darkMode}),(0,t.jsx)("button",{onClick:()=>_(!C),className:"p-2.5","aria-label":C?$.closeMenu:$.openMenu,"aria-expanded":C,style:{color:A},children:C?(0,t.jsx)("svg",{className:"w-6 h-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:"2",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18L18 6M6 6l12 12"})}):(0,t.jsx)("svg",{className:"w-6 h-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:"2",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4 6h16M4 12h16M4 18h16"})})})]})]}),C&&(0,t.jsxs)("div",{className:"md:hidden border-t px-6 py-4",style:{borderColor:`${A}
215`,backgroundColor:F},children:[O.length>0&&(0,t.jsx)("nav",{className:"flex flex-col gap-1",children:O.map(e=>{if((e.children||[]).length>0)return(0,t.jsx)(y,{item:e,pages:p,currentSlug:P,txtColor:A,primaryColor:T,radius:W,bodyFont:G,language:k,onNavigate:()=>_(!1)},e.id);let r=X(e);return(0,t.jsx)("a",{href:g(e,p),target:h(g(e,p))?"_blank":void 0,rel:h(g(e,p))?"noopener noreferrer":void 0,onClick:t=>{e.anchorBlockId&&!h(g(e,p))?(t.preventDefault(),_(!1),document.getElementById(`block-${e.anchorBlockId}`)?.scrollIntoView({behavior:"smooth",block:"start"})):_(!1)},className:"px-4 py-3 text-sm font-bold uppercase tracking-widest transition-all",style:{color:r?T:A,borderRadius:W,backgroundColor:r?`${T}10`:"transparent",fontFamily:G},children:x(e,k)},e.id)})}),R.length>0&&(0,t.jsxs)("div",{className:`flex items-center gap-3 px-4 ${O.length>0?"pt-4 mt-3 border-t":""}`,style:{borderColor:`${A}15`},children:[(0,t.jsx)("span",{className:"text-[10px] font-black uppercase tracking-widest",style:{color:`${A}60`},children:I.follow}),(0,t.jsx)(f,{links:R,textColor:A,colorMode:u?.socialIconStyle==="color"})]}),(0,t.jsxs)("div",{className:`px-4 ${O.length>0||R.length>0?"pt-4 mt-3 border-t":""}`,style:{borderColor:`${A}15`},children:[(0,t.jsxs)("div",{className:"flex gap-2",children:[M?(0,t.jsx)("a",{href:"/portal/app",className:"flex-1 px-4 py-3 text-sm font-bold uppercase tracking-widest transition-all rounded-lg text-center",style:{color:A,backgroundColor:`${A}08`},children:I.myAccount}):(0,t.jsx)("button",{onClick:()=>{_(!1),z(!0)},className:"flex-1 px-4 py-3 text-sm font-bold uppercase tracking-widest transition-all rounded-lg text-center",style:{color:A,backgroundColor:`${A}08`},children:I.login}),!M&&(0,t.jsx)("a",{href:"/portal/app?register=1",className:"flex-1 px-4 py-3 text-sm font-bold uppercase tracking-widest transition-all active:scale-95 rounded-lg text-center",style:{color:"#fff",backgroundColor:T},children:I.becomeMember})]}),(0,t.jsx)("div",{className:"flex justify-center pt-3",children:(0,t.jsxs)("div",{className:"flex items-center bg-zinc-100 dark:bg-zinc-800 rounded-lg p-0.5 gap-0.5",children:[(0,t.jsxs)("button",{onClick:()=>"sv"!==k&&j(),title:"Svenska",className:`cursor-pointer flex items-center gap-1.5 px-3 py-2.5 rounded-md text-xs font-semibold transition-all duration-150 ${"sv"===k?"bg-white dark:bg-zinc-700 text-zinc-900 dark:text-white shadow-sm":"text-zinc-600 dark:text-zinc-300 hover:text-zinc-900 dark:hover:text-white"}`,children:[(0,t.jsx)("span",{className:"text-sm leading-none",children:"🇸🇪"}),(0,t.jsx)("span",{children:"SV"})]}),(0,t.jsxs)("button",{onClick:()=>"en"!==k&&j(),title:"English",className:`cursor-pointer flex items-center gap-1.5 px-3 py-2.5 rounded-md text-xs font-semibold transition-all duration-150 ${"en"===k?"bg-white dark:bg-zinc-700 text-zinc-900 dark:text-white shadow-sm":"text-zinc-600 dark:text-zinc-300 hover:text-zinc-900 dark:hover:text-white"}`,children:[(0,t.jsx)("span",{className:"text-sm leading-none",children:"🇬🇧"}),(0,t.jsx)("span",{children:"EN"})]})]})})]})]}),N&&(0,t.jsx)(c,{onClose:()=>z(!1),primaryColor:T})]})}let k={facebook:{label:"Facebook",viewBox:"0 0 24 24",path:"M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z"},instagram:{label:"Instagram",viewBox:"0 0 24 24",path:"M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zM12 0C8.741 0 8.333.014 7.053.072 2.695.272.273 2.69.073 7.052.014 8.333 0 8.741 0 12c0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98C8.333 23.986 8.741 24 12 24c3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98C15.668.014 15.259 0 12 0zm0 5.838a6.162 6.162 0 100 12.324 6.162 6.162 0 000-12.324zM12 16a4 4 0 110-8 4 4 0 010 8zm6.406-11.845a1.44 1.44 0 100 2.881 1.44 1.44 0 000-2.881z"},youtube:{label:"YouTube",viewBox:"0 0 24 24",path:"M23.498 6.186a3.016 3.016 0 00-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 00.502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 002.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 002.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z"},tiktok:{label:"TikTok",viewBox:"0 0 24 24",path:"M12.525.02c1.31-.02 2.61-.01 3.91-.02.08 1.53.63 3.09 1.75 4.17 1.12 1.11 2.7 1.62 4.24 1.79v4.03c-1.44-.05-2.89-.35-4.2-.97-.57-.26-1.1-.59-1.62-.93-.01 2.92.01 5.84-.02 8.75-.08 1.4-.54 2.79-1.35 3.94-1.31 1.92-3.58 3.17-5.91 3.21-1.43.08-2.86-.31-4.08
2-1.03-2.02-1.19-3.44-3.37-3.65-5.71-.02-.5-.03-1-.01-1.49.18-1.9 1.12-3.72 2.58-4.96 1.66-1.44 3.98-2.13 6.15-1.72.02 1.48-.04 2.96-.04 4.44-.99-.32-2.15-.23-3.02.37-.63.41-1.11 1.04-1.36 1.75-.21.51-.15 1.07-.14 1.61.24 1.64 1.82 3.02 3.5 2.87 1.12-.01 2.19-.66 2.77-1.61.19-.33.4-.67.41-1.06.1-1.79.06-3.57.07-5.36.01-4.03-.01-8.05.02-12.07z"},x:{label:"X",viewBox:"0 0 24 24",path:"M18.901 1.153h3.68l-8.04 9.19L24 22.846h-7.406l-5.8-7.584-6.638 7.584H.474l8.6-9.83L0 1.154h7.594l5.243 6.932ZM17.61 20.644h2.039L6.486 3.24H4.298Z"},linkedin:{label:"LinkedIn",viewBox:"0 0 24 24",path:"M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z"},whatsapp:{label:"WhatsApp",viewBox:"0 0 24 24",path:"M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z"}},j={facebook:{bg:"#1877F2",fg:"#ffffff"},instagram:{bg:"#E4405F",fg:"#ffffff"},youtube:{bg:"#FF0000",fg:"#ffffff"},tiktok:{bg:"#000000",fg:"#ffffff"},x:{bg:"#000000",fg:"#ffffff"},linkedin:{bg:"#0A66C2",fg:"#ffffff"},whatsapp:{bg:"#25D366",fg:"#ffffff"}};function w(e){let{club:r,config:l,resolvedColors:n}=e,a=(0,i.useT)("siteFooter"),o=l?.footerConfig,s=l?.theme,c=n.text,d=l?.socialIconStyle==="color",u=l?.socialDisplay?.footer!==!1&&(l?.socialLinks||[]).filter(e=>e.url).length>0,f=u&&l.socialLinks||[],p=r&&(r.clubName||r.phone||r.email||r.address||r.swishNumber||r.bankgiro),m=[r.address,[r.postalCode,r.city].filter(Boolean).join(" ")].filter(Boolean).join(", ");return o?.text||(o?.links?.length??0)>0||u||o?.showPoweredBy!==!1||p?(0,t.jsx)("footer",{className:"border-t mt-auto site-bg",style:{borderColor:`${c}15`},children:(0,t.jsxs)("div",{className:"mx-auto px-6 py-10",style:{maxWidth:s?.maxWidth||"1280px"},children:[p&&(0,t.jsxs)("div",{className:"mb-8 flex flex-col md:flex-row items-center md:items-start justify-between gap-4",children:[(0,t.jsxs)("div",{className:"text-center md:text-left",children:[r.clubName&&(0,t.jsx)("p",{className:"font-bold text-sm mb-1",style:{color:c,fontFamily:s?.headingFont},children:r.clubName}),r.organization_number&&(0,t.jsxs)("p",{className:"text-xs mb-1",style:{color:`${c}d9`,fontFamily:s?.bodyFont},children:[a.orgNumberLabel," ",r.organization_number]}),m&&(0,t.jsx)("p",{className:"text-xs",style:{color:`${c}d9`,fontFamily:s?.bodyFont},children:m})]}),(0,t.jsxs)("div",{className:"flex flex-col items-center md:items-end gap-1",children:[r.phone&&(0,t.jsxs)("a",{href:`tel:${r.phone}`,className:"text-xs hover:opacity-70 transition-opacity flex items-center gap-1.5 min-h-[44px]",style:{color:`${c}d9`,fontFamily:s?.bodyFont},children:[(0,t.jsx)("svg",{className:"w-3.5 h-3.5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:"2",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3 5a2 2 0 012-2h3.28a1 1 0 01.948.684l1.498 4.493a1 1 0 01-.502 1.21l-2.257 1.13a11.042 
211.042 0 005.516 5.516l1.13-2.257a1 1 0 011.21-.502l4.493 1.498a1 1 0 01.684.949V19a2 2 0 01-2 2h-1C9.716 21 3 14.284 3 6V5z"})}),r.phone]}),r.email&&(0,t.jsxs)("a",{href:`mailto:${r.email}`,className:"text-xs hover:opacity-70 transition-opacity flex items-center gap-1.5 min-h-[44px]",style:{color:`${c}d9`,fontFamily:s?.bodyFont},children:[(0,t.jsx)("svg",{className:"w-3.5 h-3.5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:"2",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3 8l7.89 5.26a2 2 0 002.22 0L21 8M5 19h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z"})}),r.email]}),r.swishNumber&&(0,t.jsxs)("p",{className:"text-xs flex items-center gap-1.5 min-h-[44px]",style:{color:`${c}d9`,fontFamily:s?.bodyFont},children:[(0,t.jsx)("svg",{className:"w-3.5 h-3.5 flex-shrink-0",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:"2",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M17 9V7a4 4 0 00-8 0v2m-2 0h12a2 2 0 012 2v7a2 2 0 01-2 2H7a2 2 0 01-2-2v-7a2 2 0 012-2z"})}),"Swish: ",r.swishNumber]}),r.bankgiro&&(0,t.jsxs)("p",{className:"text-xs flex items-center gap-1.5 min-h-[44px]",style:{color:`${c}d9`,fontFamily:s?.bodyFont},children:[(0,t.jsx)("svg",{className:"w-3.5 h-3.5 flex-shrink-0",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:"2",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3 10h18M7 15h1m4 0h1m-7 4h12a3 3 0 003-3V8a3 3 0 00-3-3H6a3 3 0 00-3 3v8a3 3 0 003 3z"})}),"Bankgiro: ",r.bankgiro]})]})]}),(f.length>0||o?.links&&o.links.length>0)&&(0,t.jsxs)("div",{className:"flex flex-col md:flex-row items-center justify-between gap-6 mb-8",children:[o?.links&&o.links.length>0&&(0,t.jsx)("nav",{className:"flex items-center gap-4 flex-wrap justify-center md:justify-start",children:o.links.filter(e=>e.url&&e.label).map((e,r)=>(0,t.jsx)("a",{href:e.url,target:"_blank",rel:"noopener noreferrer",className:"text-xs font-bold uppercase tracking-widest hover:opacity-70 transition-opacity",style:{color:c,fontFamily:s?.bodyFont},children:e.label},r))}),f.length>0&&(0,t.jsx)("div",{className:"flex items-center gap-3",children:f.filter(e=>e.url).map(e=>{let r=k[e.platform];if(!r)return null;let l=d?j[e.platform]:null;return(0,t.jsx)("a",{href:e.url,target:"_blank",rel:"noopener noreferrer","aria-label":r.label,className:"w-11 h-11 rounded-full flex items-center justify-center transition-all hover:scale-110 hover:opacity-80",style:{backgroundColor:l?l.bg:`${c}10`,color:l?l.fg:c},children:(0,t.jsx)("svg",{className:"w-4 h-4",fill:"currentColor",viewBox:r.viewBox,children:(0,t.jsx)("path",{d:r.path})})},e.platform)})})]}),o?.text&&(0,t.jsx)("p",{className:"text-sm mb-6 text-center md:text-left",style:{color:`${c}d9`,fontFamily:s?.bodyFont},children:o.text}),(0,t.jsxs)("div",{className:"mt-6 pt-6 border-t text-center flex flex-col items-center gap-2",style:{borderColor:`${c}10`},children:[o?.showPoweredBy!==!1&&(0,t.jsxs)("p",{className:"text-[10px] uppercase tracking-widest",style:{color:`${c}d9`,fontFamily:s?.bodyFont},children:["Powered by"," ",(0,t.jsx)("a",{href:"https://bjj-manager-pro.web.app",className:"hover:opacity-70",style:{color:s?.primaryColor||"#e50401"},children:"BJJ Manager Pro"})]}),(0,t.jsx)("button",{type:"button",onClick:()=>window.dispatchEvent(new CustomEvent("nkc:open-consent")),"aria-label":a.cookieSettingsAria,className:"text-[10px] uppercase tracking-widest hover:opacity-70 transition-opacity",style:{color:`${c}d9`,fontFamily:s?.bodyFont},children:a.cookieSettingsLabel})]})]})}):null}var C=e.i(50661);function _(e){try{document.cookie=`flowroll_lang=${e}; path=/; max-age=31536000; samesite=lax`}catch{}}e.s(["default",0,function(e){let{club:l,config:n,pages:a,children:o}=e,[s,i]=(0,r.useState)(!1),[c,d]=(0,r.useState)("sv"),u=n?.theme?.darkMode??"user";(0,r.useEffect)(()=>{try{let e=localStorage.getItem("flowroll_lang");("en"===e||"sv"===e)&&(d(e),_(e))}catch{}try{let e=localStorage.getItem("flowroll_theme");"on"===u?i(!0):"off"===u?i(!1):"dark"===e?i(!0):"light"===e?i(!1):i(window.matchMedia("(prefers-color-scheme: dark)").matches)}catch{}},[u]),(0,r.useEffect)(()=>{let e=document.documentElement;s?e.classList.contains("dark")||e.classList.add("dark"):e.classList.contains("dark")&&e.classList.remove("dark")},[s]),(0,r.useEffect)(()=>{document.documentElement.lang=c},[c]);let f=(0,r.useCallback)(()=>{"user"===u&&i(e=>{let t=!e;try{localStorage.setItem("flowroll_theme",t?"dark":"light")}catch{}return t})},[u]),p=(0,r.useCallback)(()=>{d(e=>{let t="sv"===e?"en":"sv";try{localStorage.setItem("flowroll_lang",t)}catch{}return _(t),window.dispatchEvent(new CustomEvent(C.LANGUAGE_CHANGED_EVENT,{detail:t})),t})}
2,[]),m=n?.theme,h=s?{bg:m?.darkBackground||"#18181b",text:m?.darkTextColor||"#fafafa"}:{bg:m?.backgroundColor||"#ffffff",text:m?.textColor||"#3f3f46"};return(0,t.jsxs)(C.LanguageContext.Provider,{value:c,children:[(0,t.jsx)(v,{club:l,config:n,pages:a,isDark:s,onToggleDark:"user"===u?f:void 0,language:c,onToggleLanguage:p,resolvedColors:h}),(0,t.jsx)("main",{className:"flex-1 site-bg site-text",children:o}),(0,t.jsx)(w,{club:l,config:n,resolvedColors:h})]})}],23413)},3975,e=>{e.v(t=>Promise.all(["static/chunks/0zmz2igs_iwpm.js","static/chunks/0z6fhrr636.0x.js"].map(t=>e.l(t))).then(()=>t(41166)))},38261,e=>{e.v(t=>Promise.all(["static/chunks/17bk0uy094hp0.js","static/chunks/0z6fhrr636.0x.js"].map(t=>e.l(t))).then(()=>t(55353)))}]);

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.