"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[3022],{4429:(B,m,e)=>{e.d(m,{I:()=>S});var t=e(1525);const S=async d=>{if(!d.css)return"";const[s,l]=await Promise.all([Promise.all([e.e(1553),e.e(7730)]).then(e.bind(e,1553)),e.e(559).then(e.t.bind(e,559,23))]),g=!1,f=g?s:s.default,h=g?l:l.default;return(await f().use(h({prefix:`#${(0,t.V)(d.id)}`})).process(d.css).catch(y=>(console.error(`Fehler beim verarbeiten des Custom-CSS in Section "${d.name}" [${d.id}]: ${y}`),{css:""}))).css}},1525:(B,m,e)=>{e.d(m,{Q:()=>s,V:()=>d});var t=e(8343),S=e(5904);const d=l=>`section-${l}`,s=l=>{const g=(0,t.E)((0,S.X)()),f=g.stickyHeaderActive?g.headerHeight:0,h=document.querySelector(`#${d(l)}`);if(!h)return;const v=h.getBoundingClientRect().top+window.scrollY;window.scrollTo({top:v-f,behavior:"smooth"})}},3550:(B,m,e)=>{e.d(m,{Z:()=>u});var t=e(1099),S=e(1525),d=e(3659);const s=o=>((0,t.dD)("data-v-92e7f17a"),o=o(),(0,t.Cn)(),o),l={class:"c-loadingSection"},g=s(()=>(0,t._)("div",{class:"c-loadingSection__loader"},[(0,t._)("svg",{class:"c-loadingSection__circularLoader",viewBox:"25 25 50 50"},[(0,t._)("circle",{class:"c-loadingSection__loaderPath",cx:"50",cy:"50",r:"20",fill:"none",stroke:"current","stroke-width":"3"})])],-1));function f(o,p,x,C,E,Z){return(0,t.wg)(),(0,t.iD)("div",l,[g,(0,t.Uk)(),(0,t._)("div",null,'"'+(0,d.zw)(o.section.name)+'" wird geladen',1)])}const h=(0,t.aZ)({name:"LoadingSection",props:{section:{type:Object,required:!0}}});var v=e(1210);const b=(0,v.Z)(h,[["render",f],["__scopeId","data-v-92e7f17a"]]);var _=e(6136);function P(o,p,x,C,E,Z){const D=_.bg,W=_.Fb;return o.hasCustomStyle?((0,t.wg)(),(0,t.j4)(W,{key:0},{default:(0,t.w5)(()=>[(0,t.Wm)(D,{type:"text/css",children:o.customStyle},null,8,["children"])]),_:1})):(0,t.kq)("",!0)}var U=e(4429),i=e(103);const r=(0,t.aZ)({name:"WskSectionStyle",props:{section:{type:Object}},data(){return{customStyle:""}},computed:{hasCustomStyle(){var o;return!!((o=this.section)!=null&&o.css)},updateCustomStyleDebounced(){return(0,i.D)(this.updateCustomStyle,500)}},watch:{"section.css":{immediate:!0,handler(){this.$inPreviewMode&&this.updateCustomStyleDebounced()}}},created(){this.$inDeploymentMode&&this.updateCustomStyle()},methods:{async updateCustomStyle(){if(!this.hasCustomStyle||!this.section){this.customStyle="";return}this.customStyle=this.$inPreviewMode?await(0,U.I)(this.section):this.section.css||""}}}),n=(0,v.Z)(r,[["render",P]]);var c=e(9462);const u=(0,t.aZ)({name:"SectionSet",props:{sections:{type:Array,required:!0}},render(){return this.sections.flatMap(o=>{const p=(0,c.m)();if(!p.isSectionComponentLoaded(o))return(0,t.h)(b,{key:o.id,section:o});const x=(0,t.h)(n,{key:`style_${o.id}`,section:o}),C=(0,t.h)((0,t.up)(p.getSectionComponentName(o)),{key:o.id,id:(0,S.V)(o.id),section:o});return[x,C]})}})},3022:(B,m,e)=>{e.r(m),e.d(m,{default:()=>r});var t=e(1099),S=e(6136),d=e(4098),s=e(2119),l=e(3659),g=e(2092),f=e(9996),h=e(3550);const v=a=>((0,t.dD)("data-v-21fb6d6d"),a=a(),(0,t.Cn)(),a),y={class:"s-errorBody"},b=v(()=>(0,t._)("h1",null,"404",-1)),_=v(()=>(0,t._)("h3",null,"Seite nicht gefunden",-1)),P=(0,t.aZ)({__name:"404",setup(a){const n=(0,f.b)(),c=(0,g.T)(),u=(0,t.Fl)(()=>{var p;return(p=n.website)!=null&&p.header_set_default_id?c.sectionSetById(n.website.header_set_default_id):[]}),o=(0,t.Fl)(()=>{var p;return(p=n.website)!=null&&p.footer_set_default_id?c.sectionSetById(n.website.footer_set_default_id):[]});return(p,x)=>{const C=S.Dx,E=S.h_,Z=S.Fb,D=(0,t.up)("icon"),W=d.Z;return(0,t.wg)(),(0,t.iD)("div",null,[(0,s.SU)(n).website?((0,t.wg)(),(0,t.j4)(Z,{key:0},{default:(0,t.w5)(()=>[(0,t.Wm)(C,null,{default:(0,t.w5)(()=>[(0,t.Uk)((0,l.zw)((0,s.SU)(n).website.meta_title),1)]),_:1}),(0,t.Uk)(),(0,t.Wm)(E,{hid:"description",name:"description",content:(0,s.SU)(n).website.meta_description},null,8,["content"]),(0,t.Uk)(),(0,t.Wm)(E,{name:"robots",content:(0,s.SU)(n).website.meta_robots},null,8,["content"])]),_:1})):(0,t.kq)("",!0),(0,t.Uk)(),(0,t.Wm)((0,s.SU)(h.Z),{sections:(0,s.SU)(u)},null,8,["sections"]),(0,t.Uk)(),(0,t._)("div",y,[b,(0,t.Uk)(),_,(0,t.Uk)(),(0,t.Wm)(W,{to:"/",class:"c-button -colorPrimary -roundedLayout u-mt32"},{default:(0,t.w5)(()=>[(0,t.Wm)(D,{type:"arrow-left",variant:"solid"}),(0,t.Uk)(`
                Zur\xFCck zur Startseite
            `)]),_:1})]),(0,t.Uk)(),(0,t.Wm)((0,s.SU)(h.Z),{sections:(0,s.SU)(o)},null,8,["sections"])])}}});var U=e(1210);const r=(0,U.Z)(P,[["__scopeId","data-v-21fb6d6d"]])},6136:(B,m,e)=>{e.d(m,{Dx:()=>v,Fb:()=>_,bg:()=>b,h_:()=>y});var t=e(1099),S=e(1871);const d=i=>Object.fromEntries(Object.entries(i).filter(([,r])=>r!==void 0)),s=(i,r)=>(a,n)=>((0,S.u)(()=>i({...d(a),...n.attrs},n)),()=>{var c,u;return r?(u=(c=n.slots).default)==null?void 0:u.call(c):null}),l={accesskey:String,autocapitalize:String,autofocus:{type:Boolean,default:void 0},class:[String,Object,Array],contenteditable:{type:Boolean,default:void 0},contextmenu:String,dir:String,draggable:{type:Boolean,default:void 0},enterkeyhint:String,exportparts:String,hidden:{type:Boolean,default:void 0},id:String,inputmode:String,is:String,itemid:String,itemprop:String,itemref:String,itemscope:String,itemtype:String,lang:String,nonce:String,part:String,slot:String,spellcheck:{type:Boolean,default:void 0},style:String,tabindex:String,title:String,translate:String},g=(0,t.aZ)({name:"NoScript",inheritAttrs:!1,props:{...l,title:String,body:Boolean,renderPriority:[String,Number]},setup:s((i,{slots:r})=>{var a;const n={...i},c=(((a=r.default)==null?void 0:a.call(r))||[]).filter(({children:u})=>u).map(({children:u})=>u).join("");return c&&(n.children=c),{noscript:[n]}})}),f=(0,t.aZ)({name:"Link",inheritAttrs:!1,props:{...l,as:String,crossorigin:String,disabled:Boolean,fetchpriority:String,href:String,hreflang:String,imagesizes:String,imagesrcset:String,integrity:String,media:String,prefetch:{type:Boolean,default:void 0},referrerpolicy:String,rel:String,sizes:String,title:String,type:String,methods:String,target:String,body:Boolean,renderPriority:[String,Number]},setup:s(i=>({link:[i]}))}),h=(0,t.aZ)({name:"Base",inheritAttrs:!1,props:{...l,href:String,target:String},setup:s(i=>({base:i}))}),v=(0,t.aZ)({name:"Title",inheritAttrs:!1,setup:s((i,{slots:r})=>{var a,n,c;return{title:((c=(n=(a=r.default)==null?void 0:a.call(r))==null?void 0:n[0])==null?void 0:c.children)||null}})}),y=(0,t.aZ)({name:"Meta",inheritAttrs:!1,props:{...l,charset:String,content:String,httpEquiv:String,name:String,body:Boolean,renderPriority:[String,Number]},setup:s(i=>{const r={...i};return r.httpEquiv&&(r["http-equiv"]=r.httpEquiv,delete r.httpEquiv),{meta:[r]}})}),b=(0,t.aZ)({name:"Style",inheritAttrs:!1,props:{...l,type:String,media:String,nonce:String,title:String,scoped:{type:Boolean,default:void 0},body:Boolean,renderPriority:[String,Number]},setup:s((i,{slots:r})=>{var a,n,c;const u={...i},o=(c=(n=(a=r.default)==null?void 0:a.call(r))==null?void 0:n[0])==null?void 0:c.children;return o&&(u.children=o),{style:[u]}})}),_=(0,t.aZ)({name:"Head",inheritAttrs:!1,setup:(i,r)=>()=>{var a,n;return(n=(a=r.slots).default)==null?void 0:n.call(a)}}),P=(0,t.aZ)({name:"Html",inheritAttrs:!1,props:{...l,manifest:String,version:String,xmlns:String,renderPriority:[String,Number]},setup:s(i=>({htmlAttrs:i}),!0)}),U=(0,t.aZ)({name:"Body",inheritAttrs:!1,props:{...l,renderPriority:[String,Number]},setup:s(i=>({bodyAttrs:i}),!0)})}}]);
