1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7251],{378:(e,t,r)=>{r.d(t,{default:()=>x});var n=r(95155),l=r(12115),o=r(84988),a=r(95943),i=r(27294),c=r(96449),u=r(85515),s=r(35579),f=r(12108);function d(e){let{color:t="rgba(255,255,255,0.7)"}=e,[r,o]=(0,l.useState)(!1);return((0,l.useEffect)(()=>{function e(){o(window.scrollY>400)}return window.addEventListener("scroll",e,{passive:!0}),()=>window.removeEventListener("scroll",e)},[]),r)?(0,n.jsx)("button",{onClick:()=>window.scrollTo({top:0,behavior:"smooth"}),"aria-label":"Tilbage til toppen",className:"fixed bottom-24 right-5 z-50 flex h-10 w-10 items-center justify-center rounded-full shadow-lg transition-all hover:scale-110 hover:opacity-100 lg:bottom-8 lg:right-8 lg:h-11 lg:w-11",style:{backgroundColor:"rgba(0,0,0,0.25)",backdropFilter:"blur(8px)",border:"1px solid ".concat(t,"30"),color:t,opacity:.8},children:(0,n.jsx)(f.A,{size:18,strokeWidth:2})}):null}var m=r(31346);function h(e){let t=e.match(/rgba?\((\d+),\s*(\d+),\s*(\d+)/);return!!t&&(.299*t[1]+.587*t[2]+.114*t[3])/255<.5}let p={tov:{bg:"linear-gradient(180deg, ".concat(m.eC[4]," -23.67%, ").concat(m.eC[1]," 100%)"),footerBg:"",logoColor:m.eC[2],textColor:"#00556b",navTextColor:"#00556b"},vov:{bg:"linear-gradient(180deg, ".concat(m.c0[4]," 0%, ").concat(m.c0[1]," 100%)"),footerBg:"",logoColor:m.c0[3],textColor:"#ffffff"},fw:{bg:"linear-gradient(180deg, ".concat(m.mM[5]," 0%, ").concat(m.mM[2]," 100%)"),footerBg:"",logoColor:m.mM[2],textColor:"#ffffff"},omOs:{bg:"linear-gradient(180deg, ".concat(m.c0[5]," 0%, ").concat(m.c0[1]," 95.77%)"),footerBg:"",logoColor:m.c0[3],textColor:"#ffffff",navBg:"rgba(114, 161, 174, 0.35)"}};function x(e){var t;let{theme:r,customLogo:f,customLogoImage:m,bg:x,footerBg:g,logoColor:v,footerTextColor:y,siteNavTextColor:b,customLogoImageFilter:w,logoHref:k="/",children:j}=e,[C,A]=(0,l.useState)(!1),P=(0,l.useRef)(null),[E,N]=(0,l.useState)(null),F=(0,l.useRef)(null);(0,l.useEffect)(()=>{let e=()=>A(window.scrollY>10);return e(),window.addEventListener("scroll",e,{passive:!0}),()=>window.removeEventListener("scroll",e)},[]),(0,l.useEffect)(()=>{function e(){let e=P.current;if(!e)return;let t=e.getBoundingClientRect(),r=window.innerWidth/2,n=t.top+t.height/2;for(let t of document.elementsFromPoint(r,n)){if(e.contains(t)||t===e||t===document.documentElement||t===document.body)continue;let r=window.getComputedStyle(t),n=r.backgroundColor;if(n&&"transparent"!==n&&"rgba(0, 0, 0, 0)"!==n)return void N(h(n));let l=r.backgroundImage;if(l&&"none"!==l){let e=function(e){let t=e.match(/rgba?\([^)]+\)|#[0-9a-fA-F]{3,8}/);return t?t[0]:null}(l);if(e)return void N(h(e))}}N(!1)}function t(){F.current||(F.current=requestAnimationFrame(()=>{e(),F.current=null}))}return e(),window.addEventListener("scroll",t,{passive:!0}),()=>{window.removeEventListener("scroll",t),F.current&&cancelAnimationFrame(F.current)}},[]);let L=p[r],R=null!=x?x:L.bg,B=null!=g?g:L.footerBg,S=null!=v?v:L.logoColor,M=null!=y?y:L.textColor,_=C?"rgba(0,0,0,0.12)":null!=(t=L.navBg)?t:"transparent",O=null!=b?b:L.navTextColor;return(0,n.jsxs)("div",{className:"flex min-h-screen flex-col pb-[72px] lg:pb-0","data-theme":r,style:{background:R},children:[(0,n.jsx)(i.A,{}),(0,n.jsxs)("div",{children:[(0,n.jsx)("div",{className:"flex justify-end px-6 pt-4",children:(0,n.jsx)(o.A,{})}),(0,n.jsx)("div",{className:"flex justify-center px-6 pt-4 pb-6",children:(0,n.jsx)(a.A,{href:k,customImage:m,customName:f,color:S,customImageFilter:w})})]}),(0,n.jsx)("div",{ref:P,className:"sticky top-0 z-40 hidden lg:block transition-all duration-300",style:{backdropFilter:"blur(12px)",WebkitBackdropFilter:"blur(12px)",backgroundColor:_},children:(0,n.jsx)(c.default,{textColor:null===E?O:E?"white":null!=O?O:"#003D4F"})}),(0,n.jsx)("div",{className:"pb-4"}),(0,n.jsx)("main",{id:"main",children:j}),(0,n.jsx)("div",{className:"mt-auto",style:B?{backgroundColor:B}:void 0,children:(0,n.jsx)(u.default,{textColor:M})}),(0,n.jsx)(s.default,{pageBg:B||"#00556b"}),(0,n.jsx)(d,{})]})}},403:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(71847).A)("Megaphone",[["path",{d:"m3 11 18-5v12L3 14v-3z",key:"n962bs"}],["path",{d:"M11.6 16.8a3 3 0 1 1-5.8-1.6",key:"1yl0tm"}]])},4106:(e,t,r)=>{r.d(t,{FD:()=>g,MY:()=>o,PJ:()=>a,Wl:()=>c,XP:()=>f,_x:()=>l,bL:()=>d,po:()=>u,ql:()=>s,wO:()=>i,yL:()=>v});var n=r(95704);function l(e){return("object"==typeof e?null==e.host&&null==e.hostname:!/^[a-z]+:/i.test(e))&&!function(e){let t="object"==typeof e?e.pathname:e;return null!=t&&!t.startsWith("/")}(e)}function o(e,t){return e.replace(RegExp(`^${t}`),"")||"/"}function a(e,t){let r=e;
1return/^\/(\?.*)?$/.test(t)&&(t=t.slice(1)),r+=t}function i(e,t){return t===e||t.startsWith(`${e}/`)}function c(e,t,r){return"string"==typeof e?e:e[t]||r}function u(e){let t=function(){try{return"true"===n.env._next_intl_trailing_slash}catch{return!1}}(),[r,...l]=e.split("#"),o=l.join("#"),a=r;if("/"!==a){let e=a.endsWith("/");t&&!e?a+="/":!t&&e&&(a=a.slice(0,-1))}return o&&(a+="#"+o),a}function s(e,t){let r=u(e),n=u(t);return(function(e){let t=e.replace(/\/\[\[(\.\.\.[^\]]+)\]\]/g,"(?:/(.*))?").replace(/\[\[(\.\.\.[^\]]+)\]\]/g,"(?:/(.*))?").replace(/\[(\.\.\.[^\]]+)\]/g,"(.+)").replace(/\[([^\]]+)\]/g,"([^/]+)");return RegExp(`^${t}$`)})(r).test(n)}function f(e,t){return"never"!==t.mode&&t.prefixes?.[e]||d(e)}function d(e){return"/"+e}function m(e){return e.includes("[[...")}function h(e){return e.includes("[...")}function p(e){return e.includes("[")}function x(e,t){let r=e.split("/"),n=t.split("/"),l=Math.max(r.length,n.length);for(let e=0;e<l;e++){let t=r[e],l=n[e];if(!t&&l)return -1;if(t&&!l)return 1;if(t||l){if(!p(t)&&p(l))return -1;if(p(t)&&!p(l))return 1;if(!h(t)&&h(l))return -1;if(h(t)&&!h(l))return 1;if(!m(t)&&m(l))return -1;if(m(t)&&!m(l))return 1}}return 0}function g(e){return e.sort(x)}function v(e){return"function"==typeof e.then}},12108:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(71847).A)("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]])},15239:(e,t,r)=>{r.d(t,{default:()=>l.a});var n=r(54652),l=r.n(n)},15561:(e,t,r)=>{r.d(t,{default:()=>o});var n=r(95155),l=r(12115);function o(e){let{children:t,className:r="",delay:o=0}=e,a=(0,l.useRef)(null),[i,c]=(0,l.useState)(!1);return(0,l.useEffect)(()=>{let e=a.current;if(!e)return;let t=new IntersectionObserver(e=>{let[r]=e;(null==r?void 0:r.isIntersecting)&&(c(!0),t.disconnect())},{threshold:.1});return t.observe(e),()=>t.disconnect()},[]),(0,n.jsx)("div",{ref:a,className:r,style:{opacity:+!!i,transform:i?"translateY(0)":"translateY(18px)",transition:"opacity 0.6s ease ".concat(o,"ms, transform 0.6s ease ").concat(o,"ms")},children:t})}},18955:(e,t,r)=>{r.d(t,{c:()=>o});var n=r(51567);function l(e,t){return(...e)=>{try{return t(...e)}catch{throw Error(void 0)}}}let o=l(0,n.c3);l(0,n.kc)},20063:(e,t,r)=>{var n=r(47260);r.o(n,"permanentRedirect")&&r.d(t,{permanentRedirect:function(){return n.permanentRedirect}}),r.o(n,"redirect")&&r.d(t,{redirect:function(){return n.redirect}}),r.o(n,"useParams")&&r.d(t,{useParams:function(){return n.useParams}}),r.o(n,"usePathname")&&r.d(t,{usePathname:function(){return n.usePathname}}),r.o(n,"useRouter")&&r.d(t,{useRouter:function(){return n.useRouter}}),r.o(n,"useSearchParams")&&r.d(t,{useSearchParams:function(){return n.useSearchParams}})},24033:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(71847).A)("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]])},27294:(e,t,r)=>{r.d(t,{A:()=>o});var n=r(95155),l=r(51567);function o(){let e=(0,l.Ym)();return(0,n.jsx)("a",{href:"#main",className:"sr-only focus:not-sr-only focus:absolute focus:left-4 focus:top-4 focus:z-[100] focus:rounded-full focus:bg-white focus:px-5 focus:py-2.5 focus:text-sm focus:font-semibold focus:text-teal focus:shadow-lg",children:"en"===e?"Skip to content":"Spring til indhold"})}},31346:(e,t,r)=>{r.d(t,{c0:()=>n,eC:()=>o,mM:()=>l});let n={1:"#00556B",2:"#397B8D",3:"#72A1AE",4:"#ABC7CF",5:"#E3EDF0"},l={1:"#FF8B65",2:"#FFA385",3:"#FFBBA4",4:"#FFD3C3",5:"#FFEBE2"},o={1:"#90C0A9",2:"#A5CCBA",3:"#BBD9CA",4:"#D0E5DA",5:"#EEF7F5"}},47937:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(71847).A)("BookOpen",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]])},54652:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return c},getImageProps:function(){return i}});let n=r(28140),l=r(75040),o=r(81356),a=n._(r(71124));function i(e){let{props:t}=(0,l.getImgProps)(e,{defaultLoader:a.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],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=o.Image},55251:(e,t,r)=>{r.d(t,{A:()=>m});var n=r(20063),l=r(12115),o=r.t(l,2),a=r(51567),i=o["use".trim()],c=r(4106),u=r(64707),s=r(85919),f=r(95155),d=r(57301);function m(e){let{Link:t,config:r,getPathname:o,...m}=function(e,t){var r,o,a;let d={...r=t||{},localePrefix:"object"==typeof(a=r.localePrefix)?a:{mode:a||"always"}
1,localeCookie:!!((o=r.localeCookie)??1)&&{name:"NEXT_LOCALE",sameSite:"lax",..."object"==typeof o&&o},localeDetection:r.localeDetection??!0,alternateLinks:r.alternateLinks??!0},m=d.pathnames,h=(0,l.forwardRef)(function({href:t,locale:r,...n},l){let o,a;"object"==typeof t?(o=t.pathname,a=t.params):o=t;let s=(0,c._x)(t),h=e(),x=(0,c.yL)(h)?i(h):h,g=s?p({locale:r||x,href:null==m?o:{pathname:o,params:a},forcePrefix:null!=r||void 0}):o;return(0,f.jsx)(u.default,{ref:l,href:"object"==typeof t?{...t,pathname:g}:g,locale:r,localeCookie:d.localeCookie,...n})});function p(e){let t,{forcePrefix:r,href:n,locale:l}=e;return null==m?"object"==typeof n?(t=n.pathname,n.query&&(t+=(0,s.Zn)(n.query))):t=n:t=(0,s.FP)({locale:l,...(0,s.TK)(n),pathnames:d.pathnames}),(0,s.x3)(t,l,d,r)}function x(e){return function(t,...r){return e(p(t),...r)}}return{config:d,Link:h,redirect:x(n.redirect),permanentRedirect:x(n.permanentRedirect),getPathname:p}}(a.Ym,e);return{...m,Link:t,usePathname:function(){let e=function(e){let t=(0,n.usePathname)(),r=(0,a.Ym)();return(0,l.useMemo)(()=>{if(!t)return t;let n=t,l=(0,c.XP)(r,e.localePrefix);if((0,c.wO)(l,t))n=(0,c.MY)(t,l);else if("never"!==e.localePrefix.mode&&e.localePrefix.prefixes){let e=(0,c.bL)(r);(0,c.wO)(e,t)&&(n=(0,c.MY)(t,e))}return n},[e.localePrefix,r,t])}(r),t=(0,a.Ym)();return(0,l.useMemo)(()=>e&&r.pathnames?(0,s.aM)(t,e,r.pathnames):e,[t,e])},useRouter:function(){let e=(0,n.useRouter)(),t=(0,a.Ym)(),i=(0,n.usePathname)();return(0,l.useMemo)(()=>{function n(e){return function(n,l){let{locale:a,...c}=l||{},u=[o({href:n,locale:a||t,forcePrefix:null!=a||void 0})];Object.keys(c).length>0&&u.push(c),(0,d.A)(r.localeCookie,i,t,a),e(...u)}}return{...e,push:n(e.push),replace:n(e.replace),prefetch:n(e.prefetch)}},[t,i,e])},getPathname:o}}},57301:(e,t,r)=>{r.d(t,{A:()=>l});var n=r(85919);function l(e,t,r,l){if(!e||l===r||null==l||!t)return;let o=(0,n.DT)(t),{name:a,...i}=e;i.path||(i.path=""!==o?o:"/");let c=`${a}=${l};`;for(let[e,t]of Object.entries(i))c+=`${"maxAge"===e?"max-age":e}`,"boolean"!=typeof t&&(c+="="+t),c+=";";document.cookie=c}},57828:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(71847).A)("Eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]])},64707:(e,t,r)=>{r.d(t,{default:()=>u});var n=r(52619),l=r(20063),o=r(12115),a=r(51567),i=r(57301),c=r(95155),u=(0,o.forwardRef)(function(e,t){let{href:r,locale:o,localeCookie:u,onClick:s,prefetch:f,...d}=e,m=(0,a.Ym)(),h=null!=o&&o!==m,p=(0,l.usePathname)();return h&&(f=!1),(0,c.jsx)(n,{ref:t,href:r,hrefLang:h?o:void 0,onClick:function(e){(0,i.A)(u,p,m,o),s&&s(e)},prefetch:f,...d})})},71847:(e,t,r)=>{r.d(t,{A:()=>i});var n=r(12115);let l=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.filter((e,t,r)=>!!e&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim()};var o={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 a=(0,n.forwardRef)((e,t)=>{let{color:r="currentColor",size:a=24,strokeWidth:i=2,absoluteStrokeWidth:c,className:u="",children:s,iconNode:f,...d}=e;return(0,n.createElement)("svg",{ref:t,...o,width:a,height:a,stroke:r,strokeWidth:c?24*Number(i)/Number(a):i,className:l("lucide",u),...d},[...f.map(e=>{let[t,r]=e;return(0,n.createElement)(t,r)}),...Array.isArray(s)?s:[s]])}),i=(e,t)=>{let r=(0,n.forwardRef)((r,o)=>{let{className:i,...c}=r;return(0,n.createElement)(a,{ref:o,iconNode:t,className:l("lucide-".concat(e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),i),...c})});return r.displayName="".concat(e),r}},84497:(e,t,r)=>{r.d(t,{A:()=>n});function n(e){return e}},84988:(e,t,r)=>{r.d(t,{A:()=>a});var n=r(95155),l=r(51567),o=r(22952);function a(e){let{className:t}=e,r=(0,l.Ym)(),a=(0,o.a8)(),i=(0,o.rd)();return(0,n.jsx)("button",{onClick:function(){i.replace(a,{locale:"da"===r?"en":"da"})},className:null!=t?t:"rounded-full px-3 py-1 text-[10px] font-semibold uppercase tracking-widest text-white/40 transition-colors hover:bg-white/10 hover:text-white/80",title:"da"===r?"Switch to English":"Skift til dansk",children:"da"===r?"EN":"DA"})}},85919:(e,t,r)=>{r.d(t,{DT:()=>c,FP:()=>a,TK:()=>l,Zn:()=>o,aM:()=>i,x3:()=>u});var n=r(4106);function l(e){return"string"==typeof e?{pathname:e}:e}function o(e){let t=new URLSearchParams;
1for(let[r,n]of Object.entries(e))Array.isArray(n)?n.forEach(e=>{t.append(r,String(e))}):t.set(r,String(n));return"?"+t.toString()}function a({pathname:e,locale:t,params:r,pathnames:l,query:a}){function i(e){let i,c=l[e];return c?(i=(0,n.Wl)(c,t,e),r&&Object.entries(r).forEach(([e,t])=>{let r,n;Array.isArray(t)?(r=`(\\[)?\\[...${e}\\](\\])?`,n=t.map(e=>String(e)).join("/")):(r=`\\[${e}\\]`,n=String(t)),i=i.replace(RegExp(r,"g"),n)}),i=new URL(i=i.replace(/\[\[\.\.\..+\]\]/g,""),"http://l").pathname):i=e,i=(0,n.po)(i),a&&(i+=o(a)),i}if("string"==typeof e)return i(e);{let{pathname:t,...r}=e;return{...r,pathname:i(t)}}}function i(e,t,r){let l=(0,n.FD)(Object.keys(r)),o=decodeURI(t);for(let t of l){let l=r[t];if("string"==typeof l){if((0,n.ql)(l,o))return t}else if((0,n.ql)((0,n.Wl)(l,e,t),o))return t}return t}function c(e,t=window.location.pathname){return"/"===e?t:t.replace(e,"")}function u(e,t,r,l){let o,{mode:a}=r.localePrefix;if(void 0!==l)o=l;else if((0,n._x)(e)){let e=r.domains?.find(e=>e.locales.includes(t)),n=e?.localePrefix||a;"always"===n?o=!0:"as-needed"===n&&(o=e?t!==e.defaultLocale:t!==r.defaultLocale)}return o?(0,n.PJ)((0,n.XP)(t,r.localePrefix),e):e}},95943:(e,t,r)=>{r.d(t,{A:()=>c});var n=r(95155),l=r(15239),o=r(22952),a=r(51567);let i="font-[family-name:var(--font-lora)]";function c(e){let{href:t,color:r,customName:c,customImage:u,customImageFilter:s}=e,f=(0,a.Ym)(),d=r?{color:r}:void 0;if(u)return(0,n.jsx)(o.N_,{href:t,children:(0,n.jsx)(l.default,{src:u,alt:"",width:300,height:80,className:"h-12 md:h-16 w-auto",style:s?{filter:s}:void 0})});if(c){let[e,r]=c.split("\n");return(0,n.jsxs)(o.N_,{href:t,className:"".concat(i," text-left leading-[1.2]"),children:[(0,n.jsx)("div",{className:"text-3xl font-normal md:text-4xl",style:d,children:e}),r&&(0,n.jsx)("div",{className:"pl-10 text-3xl italic md:pl-14 md:text-4xl",style:d,children:r})]})}return(0,n.jsxs)(o.N_,{href:t,className:"".concat(i," text-center leading-none"),children:[(0,n.jsx)("div",{className:"text-3xl font-normal text-white md:text-4xl",style:d,children:"Center for"}),(0,n.jsx)("div",{className:"text-3xl italic text-white md:text-4xl",style:d,children:"en"===f?"Violence":"Voldsforebyggelse"}),"en"===f&&(0,n.jsx)("div",{className:"text-3xl italic text-white md:text-4xl",style:d,children:"Prevention"})]})}}}]);
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.