PageSourceSearch

https://sanitaer-heinrich.de/_next/static/chunks/5731-7dbfba7165816e1e.js

js sanitaer-heinrich.de collected 2026-10-06 01:41:55 UTC 93,944 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5731],{14099:function(e,t,r){"use strict";r.r(t),r.d(t,{__N_SSP:function(){return eK},default:function(){return e6},getWebsite:function(){return e2},getWebsiteAttribute:function(){return e5},getWebsiteInformations:function(){return e9},redirectIfWWW:function(){return e0},redirectToWWW:function(){return e1},shouldRedirectToWWW:function(){return e$}});var n=r(50029),i=r(59499),a=r(67294),o=r(11163),s=r(73658),l=r(85893);function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function c(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?u(Object(r),!0).forEach(function(t){(0,i.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var d=e=>{if(s.Z.assertValueNull(e.layout))return(0,l.jsx)(E,{data:e,children:"You have no header configuration for your website."});var t=s.Z.getComponent(e.layout.componentName);return null==t?(0,l.jsxs)(E,{data:e,children:["The header is not renderable ",e.layout.componentName,"."]}):(0,l.jsx)(a.Suspense,{fallback:(0,l.jsx)("div",{}),children:(0,l.jsx)(t,c(c({},e),{},{website:e.website,interface:e.interface,layout:e.layout.attributes,className:"header-container",children:e.children}))})};r(56986);var p=r(15590),h=r(68930),f=r(76731);function g(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function b(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?g(Object(r),!0).forEach(function(t){(0,i.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):g(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var v=e=>{var t=[];try{var r=e.renderDepth?e.renderDepth:1;return void 0!==e.content&&null!=e.content&&e.content.map&&(t=e.content.map((t,n)=>{var i=p.Km.getComponentFromReferenceTable(t.kind);if(null==i)return(0,l.jsxs)("div",{children:["Can not find Component for: ",JSON.stringify(t)]});var o=s.Z.getComponent(i);if(void 0===o||null==o)return(0,l.jsxs)("div",{children:["Component not registered: ",i]});var u=t._id?t._id+"_"+n:e.id?e.id+"_"+n:null;return u||(u="generated_id_".concat(n)),(0,l.jsx)(a.Fragment,{children:(0,f.qf)((0,a.createElement)(o,b(b({content:t,layout:e.layout,renderDepth:r+1},(0,h.hC)(e)),{},{editorElement:e.editorElement,key:e.id?e.id+"_"+n:t._id?t._id+"_"+n:null,id:e.id?e.id+"_"+n:t._id?t._id+"_"+n:null})),e.editorElement?e.editorElement:t,!0==e.noinlineEditor)},u)})),(0,l.jsx)("div",{className:"content-container",children:t})}catch(n){return(0,l.jsx)("div",{className:"content-container error-container debug",children:"Fehler"})}};function m(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}var y=e=>{if(s.Z.assertValueNull(e.page))return(0,l.jsx)(E,{children:"You have no startpage or this page can not be found."});var t=(0,p.QQ)(e.page);return e.page.seoEntry,s.Z.getComponent("SEO"),(0,l.jsx)("div",{children:(0,l.jsx)("div",{className:(e.className?e.className:"")+" content-container",children:(0,l.jsx)(v,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?m(Object(r),!0).forEach(function(t){(0,i.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):m(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({templateVars:e.templateVars,content:t,layout:e.layout},(0,h.hC)(e)))})})},w=r(36587);function O(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function j(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?O(Object(r),!0).forEach(function(t){(0,i.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):O(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var P=e=>(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(w.WebsiteRoot,j(j({},e),{},{navigation:e.navigation,navigationTree:e.navigationTree,website:e.website,children:e.children})),w.WebsiteRootFoot&&(0,l.jsx)(w.WebsiteRootFoot,j(j({},e),{},{navigation:e.navigation,navigationTree:e.navigationTree,website:e.website}))]}),E=e=>(0,l.jsx)("div",{children:e.children});function x(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function _(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?x(Object(r),!0).forEach(function(t){(0,i.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):x(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var D=e=>{if(s.Z.assertValueNull(e.layout))return(0,l.jsx)(E,{children:"You have no footer configuration for your website."});var t=s.Z.getComponent(e.layout.componentName);return null==t?(0,l.jsxs)(E,{children:["The footer is not renderable ",e.layout.componentName,"."]}):(0,l.jsx)(t,_(_({},e),{},{className:"footer-container",children:e.children}))};function k(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function C(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?k(Object(r),!0).forEach(function(t){(0,i.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):k(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var S=e=>{var t=s.Z.getComponent("PopUp");return null==t?null:(0,l.jsx)(a.Suspense,{fallback:(0,l.jsx)("div",{}),children:(0,l.jsx)(t,C(C({},e),{},{website:e.website,interface:e.interface,className:"popup-container",children:e.children}))})};function A(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function N(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?A(Object(r),!0).forEach(function(t){(0,i.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):A(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var I=e=>{if(s.Z.assertValueNull(e.layout))return null;var t=[],r=Array.isArray(e.layout)?e.layout:[e.layout];for(var n of r)try{var i=s.Z.getComponent(n.kind);if(null==i)continue;t.push((0,l.jsx)(i,N(N({},e),{},{website:e.website,interface:e.interface,layout:n,className:"overlay-container"}),n._id))}catch(o){}return(0,l.jsx)(l.Fragment,{children:(0,l.jsx)(a.Suspense,{fallback:(0,l.jsx)("div",{}),children:t})})};function T(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function M(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?T(Object(r),!0).forEach(function(t){(0,i.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):T(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var Z=e=>{var t=s.Z.getComponent("Drawer");return null==t?null:(0,l.jsx)(a.Suspense,{fallback:(0,l.jsx)("div",{}),children:(0,l.jsx)(t,M(M({},e),{},{website:e.website,interface:e.interface,className:"drawer-container"}))})},G=r(87066),F=r(7113),R=r.n(F),B=r(22321),L=r.n(B),V=r(78428),W=r.n(V),U=r(83454);r(59738).config(),U.env.BACKEND;var H,Q="true"===U.env.OLYMPUS_KEEPALIVE,z=G.Z.create({httpAgent:new(L()).Agent({keepAlive:Q}),httpsAgent:new(W()).Agent({keepAlive:Q,rejectUnauthorized:!1}),timeout:parseInt(U.env.OLYMPUS_TIMEOUT_MS||"90000",10)}),q=parseInt(U.env.PEGASUS_META_CACHE_TTL_MS||"60000",10),J=(H=(0,n.Z)(function*(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(q<=0)return t();var n=yield R().get(e);if(n&&!r)return n;var i=yield t();return R().put(e,i,q),i}),function(e,t){return H.apply(this,arguments)}),Y=r(83454);r(59738).config(),r(97218);var K=new class{constructor(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";(0,i.Z)(this,"_endpoint",U.env.BACKEND?U.env.BACKEND:""),window.location.hostname.includes("localhost")&&(this._endpoint=e)}clearNextPath(e){var t=e.replace(/\/\_next\/data\/(.*?\/)/g,"/");
1return t.includes(".json")&&(t=t.split(".json")[0]),t}getFullWebsiteForPreview(e,t,r){return this.getWebsiteFields(e,t,[],r)}getEditorData(e){var t,r=this;return new Promise((t=(0,n.Z)(function*(t,i){if(null!=e){var a=yield*function*(){var i={navigation:[]},a=[];for(var o of e.navigation)if(o){if(o.model.includes("website"))continue;yield z.get(r._endpoint+"/api/pegasus/preview/"+o.model+"/"+o.id).then(function(){var e=(0,n.Z)(function*(e){try{a.push(e.data.data)}catch(t){}});return function(t){return e.apply(this,arguments)}}())}return i.navigation=a,{v:t(i)}}();if("object"==typeof a)return a.v}return t(null)}),function(e,r){return t.apply(this,arguments)}))}getTranslation(e){return J("translations_"+e,()=>{var t;return z.get(this._endpoint+"/api/pegasus/frontend/translations/"+e).then((t=(0,n.Z)(function*(e){try{if(e.data&&e.data.data)return e.data.data;return{}}catch(t){}}),function(e){return t.apply(this,arguments)}))})}getCookies(){return J("olympus_cookies",()=>z.get(this._endpoint+"/api/cookies").then(e=>e.data))}getWebsiteFields(e,t,r){var i,a=this;return arguments.length>3&&void 0!==arguments[3]&&arguments[3],new Promise((i=(0,n.Z)(function*(i,o){try{if(e){var s=r&&r.length>0?"&fields="+r.join(","):"",l=e.split(":")[0];l=l.toLowerCase(),t=a.clearNextPath(t).toLowerCase();var u,c="/api/published/website/search/domain/"+l+"?populationMode=none&path="+t+s;return l.match(/^[0-9a-fA-F]{24}$/)&&(c="/api/pegasus/preview/website/"+l+"?populationMode=none&path="+t+s),Promise.all([z.get(a._endpoint+c).then((u=(0,n.Z)(function*(e){var t=e.data;return void 0!==t.data?(t.data.navigation=[],t.data):t.errors}),function(e){return u.apply(this,arguments)})),a.getCookies()]).then(e=>{var t=e[0],r=e[1];return t.availableCookies=r,i(t)}).catch(e=>o(e))}return i({})}catch(d){o(d)}}),function(e,t){return i.apply(this,arguments)}))}getWebsite(e,t){var r,i=this;return arguments.length>2&&void 0!==arguments[2]&&arguments[2],new Promise((r=(0,n.Z)(function*(r,a){try{if(e){var o=e.split(":")[0];o=o.toLowerCase(),t=i.clearNextPath(t).toLowerCase();var s,l="/api/published/website/search/domain/"+o+"?path="+t;return o.match(/^[0-9a-fA-F]{24}$/)&&(l="/api/pegasus/preview/website/"+o+"?path="+t),Promise.all([z.get(i._endpoint+l).then((s=(0,n.Z)(function*(e){var t=e.data;return void 0!==t.data?(t.data.navigation=[],t.data):t.errors}),function(e){return s.apply(this,arguments)})),i.getCookies()]).then(e=>{var t=e[0],n=e[1];return t.availableCookies=n,r(t)}).catch(e=>a(e))}return r({})}catch(u){a(u)}}),function(e,t){return r.apply(this,arguments)}))}}(Y.env.BACKEND||"http://localhost:9991");function X(){return $.apply(this,arguments)}function $(){return($=(0,n.Z)(function*(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"de";return K.getTranslation(e)})).apply(this,arguments)}function ee(){return(ee=(0,n.Z)(function*(e){return K.getWebsite(e,"")})).apply(this,arguments)}function et(){return(et=(0,n.Z)(function*(e,t){return K.getWebsiteFields(e,"",t)})).apply(this,arguments)}function er(){return(er=(0,n.Z)(function*(e){arguments.length>1&&void 0!==arguments[1]&&arguments[1];var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return K.getFullWebsiteForPreview(null!=e?e:Y.env.WEBSITE_ID,t,r)})).apply(this,arguments)}var en=r(84002),ei=r(13213);function ea(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function eo(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ea(Object(r),!0).forEach(function(t){(0,i.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ea(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var es=e=>(0,l.jsx)("div",{children:(0,l.jsx)(a.Suspense,{fallback:(0,l.jsx)("div",{}),children:(0,l.jsx)(w.Developer,eo(eo({},e),{},{children:e.children}),"developer-preview")})}),el=r(13643),eu=r(9473);function ec(e){return e&&"object"==typeof e&&!Array.isArray(e)}function ed(e){try{return e&&e.rawHeaders&&null!=e.rawHeaders.find(e=>e.includes("Lighthouse"))}catch(t){return!1}}function ep(e,t){var r=Object.assign({},e);return ec(e)&&ec(t)&&Object.keys(t).forEach(n=>{ec(t[n])&&n in e?r[n]=ep(e[n],t[n]):Object.assign(r,{[n]:t[n]})}),r}var eh=r(5152),ef=r.n(eh),eg=r(87664),eb=r(5889),ev=JSON.parse('{"yD":"release/1.30"}'),em=r(21442),ey=r(53637),ew=r(89163),eO=r(35773),ej=r(95305),eP=r(3126),eE=r(87261),ex=r(84082),e_=r(41402),eD=r(30239);class ek extends p.Po{constructor(e){super(e),this.state={endpoint:window.location.hostname.includes("localhost")?"http://localhost:9991":null,error:null,success:!1,loading:!1,password:""}}componentDidMount(){}inputChangeHandler(e){e.persist(),this.setState({password:e.target.value},()=>{})}submit(e){return e.preventDefault(),e.stopPropagation(),this.setState({loading:!0}),new e_.Z(this.state.endpoint).checkPasswod(this.state.password).then(e=>(this.setState({loading:!1}),e.success?(this.setState({success:!0}),eD.Z.setCookieValue("universalAuthCookie",e.authenticationKey),window.location.reload()):(eD.Z.setCookieValue("universalAuthCookie",""),this.setState({error:"Das Passwort ist leider falsch, bitte versuchen Sie es erneut",password:""})),!1))}onSubmitForm(e){return this.submit(e)}render(){return(0,l.jsx)(em.Z,{method:"POST",onSubmit:e=>this.onSubmitForm(e),children:(0,l.jsxs)(ey.Z,{children:[(0,l.jsx)("img",{className:"logo",src:"https://agentur-id.de/api/attachments/62ea22d250f800001b5afa58",alt:"Agentur ID Logo"}),!this.state.success&&(0,l.jsxs)(ew.Z,{children:[(0,l.jsx)(eO.Z,{children:(0,l.jsxs)(ej.Z,{sm:12,children:[(0,l.jsx)(eP.Z,{for:"u20-password",className:"mb-5 title",children:(0,l.jsx)("h3",{children:"Bitte geben Sie das Passwort ein."})}),(0,l.jsx)(eE.Z,{id:"u20-password",name:"u20-password",placeholder:"Passwort...",type:"password",className:"password-input d-flex col-sm-10 col-md-5 mb-5 clean",value:this.state.password,onChange:e=>this.inputChangeHandler(e),onKeyUp:e=>{"Enter"===e.key&&this.submit(e)}})]})}),this.state.error&&(0,l.jsx)(eO.Z,{children:(0,l.jsxs)(ej.Z,{sm:12,children:[(0,l.jsxs)("span",{style:{fontSize:"14pt",color:"red"},children:[this.state.error," "]}),(0,l.jsx)("br",{}),(0,l.jsx)("br",{})]})}),(0,l.jsx)(eO.Z,{children:(0,l.jsx)(ej.Z,{sm:12,className:"d-flex justify-content-center",children:(0,l.jsxs)(ex.Z,{disabled:this.state.loading,className:"button",size:"lg",onClick:e=>this.submit(e),children:[this.state.loading&&(0,l.jsx)("span",{style:{marginRight:"6px"},className:"spinner-border spinner-border-sm",role:"status","aria-hidden":"true"}),"Einloggen"]})})})]}),this.state.success&&(0,l.jsx)("span",{style:{width:"80px",height:"80px",fontSize:"10pt",color:"#F4B327"},className:"spinner-border spinner-border-sm",role:"status","aria-hidden":"true"})]})},"password")}}function eC(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}var eS=e=>(0,l.jsx)("div",{style:{display:"flex",alignItems:"center",verticalAlign:"middle",justifyContent:"center",width:"100%",height:"100vh",backgroundColor:"#202222"}
1,children:(0,l.jsx)(ek,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?eC(Object(r),!0).forEach(function(t){(0,i.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):eC(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({},e))}),eA=r(42474),eN=r.n(eA),eI=r(48764).Buffer,eT=r(37650),eM=r(50834),eZ=r(96750),eG=r(6287);function eF(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function eR(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?eF(Object(r),!0).forEach(function(t){(0,i.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):eF(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var eB=e=>{var t=(0,a.useContext)(eG.Z),[r,n]=a.useState(!1);if((null==t?void 0:t.editorMode)!=!0)return e.children;var i=e=>{var t,r;window.lastScrollPosition=document.documentElement.scrollTop,window.parent.postMessage({type:"editor_edit",element:{_id:null===(t=window.lastDeepestSelectedElement)||void 0===t?void 0:null===(r=t.element)||void 0===r?void 0:r._id}},"*")},o=e=>{var t,r;window.lastScrollPosition=document.documentElement.scrollTop,window.parent.postMessage({type:"editor_delete",element:{_id:null===(t=window.lastDeepestSelectedElement)||void 0===t?void 0:null===(r=t.element)||void 0===r?void 0:r._id}},"*")};return(0,l.jsx)("div",{id:e.id,style:eR(eR({},e.style),{},{zIndex:99999}),className:"editor_overlay_container",children:(0,l.jsxs)("div",{style:{display:"flex"},children:[(0,l.jsx)("button",{onClick:e=>i(e),className:"editor_edit_button",children:(0,l.jsx)("i",{className:"fa fa-pencil"})}),(0,l.jsx)("button",{onClick:e=>o(e),className:"editor_edit_button",children:(0,l.jsx)("i",{className:"fa fa-tras
1h"})})]})})};function eL(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function eV(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?eL(Object(r),!0).forEach(function(t){(0,i.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):eL(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var eW=e=>{var t=(0,a.useContext)(eG.Z),[r,n]=a.useState(!1);return(null==t?void 0:t.editorMode)!=!0?e.children:(0,l.jsx)("div",{id:e.id,style:eV(eV({},e.style),{},{zIndex:99999}),className:"editor_overlay_rectangle"})},eU=function(e){var{children:t,showEditor:r}=e,[n,i]=a.useState(!1),[o,s]=a.useState(null);a.useRef(n);var u=(e,t,r)=>{if(console.log(t),"mouseOut"===e&&(window.deepestSelectedElement=null),"mouseOver"===e&&(window.deepestSelectedElement||(window.deepestSelectedElement={html:r,element:t},window.lastDeepestSelectedElement=window.deepestSelectedElement),window.deepestSelectedElement)){var n,i,a,o,s,l,u=(0,f.MN)(window.deepestSelectedElement.html),c=(0,f.MN)(window.deepestSelectedElement.html,null,!0);u&&c&&(null===(n=document.getElementById("EditorElement"))||void 0===n||n.style.setProperty("top",u.top+window.scrollY+"px"),null===(i=document.getElementById("EditorElement"))||void 0===i||i.style.setProperty("left",u.left+"px"),null===(a=document.getElementById("EditorElementRectangle"))||void 0===a||a.style.setProperty("top",c.top+window.scrollY+"px"),null===(o=document.getElementById("EditorElementRectangle"))||void 0===o||o.style.setProperty("left",c.left+"px"),null===(s=document.getElementById("EditorElementRectangle"))||void 0===s||s.style.setProperty("width",c.width+"px"),null===(l=document.getElementById("EditorElementRectangle"))||void 0===l||l.style.setProperty("height",c.height+"px"))}};return(0,a.useEffect)(()=>{var e=e=>{"Escape"===e.key&&window.parent&&window.parent.postMessage({type:"editor_close"},"*")};return(0,eb.ZJ)()&&(window.onEditorInternalEvent=u,window.addEventListener("keydown",e)),()=>{window.onEditorInternalEvent=null,window.removeEventListener("keydown",e)}},[]),(0,l.jsxs)(eG.Z.Provider,{value:{editorMode:r},children:[r&&(0,l.jsx)(eB,{style:{position:"absolute"},id:"EditorElement"}),r&&(0,l.jsx)(eW,{style:{position:"absolute"},id:"EditorElementRectangle"}),r&&(0,l.jsx)(eW,{style:{position:"absolute"},id:"EditorElementSelectedRectangle"}),t]})},eH=r(83454);function eQ(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function ez(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?eQ(Object(r),!0).forEach(function(t){(0,i.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):eQ(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}r(40327);var eq,eJ,eY=ef()(()=>r.e(5102).then(r.bind(r,35102)),{loadableGenerated:{webpack:()=>[35102]}}),eK=!0,eX=e=>{var t=(0,o.useRouter)().asPath;e.website&&(e.website.path=t);var r=e.pagespeedTest,{0:n,1:i}=(0,a.useState)(e.website),{0:s,1:u}=(0,a.useState)(e.editordata),{0:c,1:h}=(0,a.useState)(0),{0:g,1:b}=(0,a.useState)(null),{0:v,1:m}=(0,a.useState)(0),{0:w,1:O}=(0,a.useState)(!1),{0:j,1:E}=(0,a.useState)(!1),x=ev.yD.split("/").slice(-1).join(""),{0:_,1:k}=(0,a.useState)(null),C=(0,eu.v9)(e=>e.website),{0:A,1:N}=(0,a.useState)(!1),T=(0,eu.I0)(),M=e=>{var t,r,n,i,a=document.querySelector('[data-universal-id="'.concat(e,'"]'));if(a){var o,s,l,u,c=(0,f.MN)(a,null,!0);c&&(null===(o=document.getElementById("EditorElementSelectedRectangle"))||void 0===o||o.style.setProperty("top",c.top+window.scrollY+"px"),null===(s=document.getElementById("EditorElementSelectedRectangle"))||void 0===s||s.style.setProperty("left",c.left+"px"),null===(l=document.getElementById("EditorElementSelectedRectangle"))||void 0===l||l.style.setProperty("width",c.width+"px"),null===(u=document.getElementById("EditorElementSelectedRectangle"))||void 0===u||u.style.setProperty("height",c.height+"px"))}else null===(t=document.getElementById("EditorElementSelectedRectangle"))||void 0===t||t.style.setProperty("top","0px"),null===(r=document.getElementById("EditorElementSelectedRectangle"))||void 0===r||r.style.setProperty("left","0px"),null===(n=document.getElementById("EditorElementSelectedRectangle"))||void 0===n||n.style.setProperty("width","0px"),null===(i=document.getElementById("EditorElementSelectedRectangle"))||void 0===i||i.style.setProperty("height","0px")};_&&(t=_);var G=(e,t,r)=>{if(n){if(n[t]?Array.isArray(n[t])?n[t]=r:(r&&r.id&&delete r.id,n[t]=ep(n[t],r)):n[t]=r,s&&s.navigation){for(var a=0;a<s.navigation.length;a++)s.navigation[a]._id===e&&(s.navigation[a]=ep(s.navigation[a],r));u(s)}i(n)}},F=t=>{try{if(Array.isArray(t)&&t.length>0)return t.map(e=>F(e));var r=(0,eM.Mq)(e.translations,t);if(r)return r}catch(n){}return t};eZ.registerHelper("translate",e=>F(e)),eZ.registerHelper("toLower",e=>e.toLowerCase());var R=(0,a.useRef)(()=>{});if(R.current=t=>{try{if(t.data){if(t.data.universal){if(t.data&&t.data.universal&&"setSelectedEditorElement"===t.data.universal.mode)M(t.data.universal.element_id);else if(t.data&&"remotePrerender"===t.data.universal.mode)!0===t.data.universal.show_editor&&N(!0),E(!0),new e_.Z(e.endpoint).getPrerenderedSite(t.data.universal.authToken,t.data.universal.collection,t.data.universal.elementToSave,n).then(e=>{setTimeout(()=>{G(t.data.universal.element_id,t.data.universal.field,e.data),m(e=>e+1),O(!1),E(!1);try{window.parent.postMessage({type:"u20_editor_ready"},"*")}catch(r){}},100)}).catch(()=>E(!1));else if(void 0!==t.data.universal.conditionalObject)setTimeout(()=>{O(!0),m(v+1)},100),setTimeout(()=>{b(t.data.universal.conditionalObject),m(v+1),O(!1)},250);else if(void 0!==t.data.universal.jumpTo){var r=t.data.universal.jumpTo,a=0,o=-1,s=!1,l=()=>{a++;var e=document.getElementById(r);if(!e){a<25&&setTimeout(l,150);return}
1s||(s=!0,e.style.outline="2px solid red",setTimeout(()=>e.style.outline="",600));var t=e.getBoundingClientRect().top+window.scrollY;window.scroll({top:Math.max(t-150,0),behavior:"smooth"});var n=-1!==o&&4>Math.abs(t-o);o=t,!n&&a<25&&setTimeout(l,400)};l()}else void 0!==t.data.universal.loading?(O(!0),m(v+1),window.lastScrollPosition=document.documentElement.scrollTop):void 0!==t.data.universal.element_id&&setTimeout(()=>{G(t.data.universal.element_id,t.data.universal.field,t.data.universal.value),setTimeout(()=>window.scrollTo(0,window.lastScrollPosition),200),m(v+1),O(!1)},100)}else void 0!==t.data.full_update&&setTimeout(()=>{k(t.data.path),i(t.data.full_update),setTimeout(()=>window.scrollTo(0,window.lastScrollPosition),200),m(v+1),O(!1)},100)}}catch(u){}},(0,a.useEffect)(()=>{var e=e=>{R.current&&R.current(e)};return window.addEventListener("message",e),()=>window.removeEventListener("message",e)},[]),(0,a.useEffect)(()=>{T((0,eT.V4)())},[]),e.showPassword)return(0,l.jsx)(eS,ez({},e));if(e.error)return(0,l.jsx)(en.default,ez({},e));if(!n)return(0,l.jsx)(ei.default,ez({},e));try{var B,L=new p.Km(e.development,n,t);L.setEditorData(s);var V=n.page?n.page:L.getCurrentPage(),W={pagespeedTest:r,navigation:L.getNavigationFlat(),navigationTree:L.getNavigationTree(),website:L.getData(),templateVars:L.getTemplateVars(),websiteState:C,dispatch:T,layout:L.getMasterDesign(),interface:n,conditionalObject:g,development:L.isDevelopment(),startpage:L.isStartpage(),renderDepth:0,translations:e.translations,endpoint:e.endpoint,breadcrumbs:[],cookies:e.availableCookies,renderUpdates:v,page:V,currentNavigation:L.getCurrentNavigation(V),path:t,host:e.host};if(!W.page)return null;if(L.isDevelopment()){var U=L.getEditorDataPages();null!=U&&(void 0!==U.pageContent&&(W.page=U),void 0!==U.content&&(W.page=U))}if(W.page.renderedNumbers={},W.page.remappedRenderedNumbers={},W.page.remappedRenderedParagraphcs={},W.breadcrumbs=L.getBreadcrumbs(W.page),W&&W.page&&W.page,w)return(0,l.jsx)("div",{children:"Loading..."});return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("meta",{name:"pegasus-version",content:x}),j&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("style",{children:"@keyframes u20PreviewBar {0%{left:-40%}100%{left:100%}}"}),(0,l.jsx)("div",{style:{position:"fixed",top:0,left:0,width:"100%",height:"3px",zIndex:2147483646,overflow:"hidden",pointerEvents:"none"},children:(0,l.jsx)("div",{style:{position:"absolute",top:0,height:"100%",width:"40%",background:"#276ef1",animation:"u20PreviewBar 0.9s linear infinite"}})})]}),(0,l.jsx)(a.Suspense,{fallback:(0,l.jsx)("div",{}),children:(0,l.jsx)(eY,ez(ez({},W),{},{navigation:W.navigation,navigationTree:W.navigationTree,website:W.website}))}),(0,l.jsx)(a.Suspense,{fallback:(0,l.jsx)("div",{}),children:(0,l.jsxs)(P,ez(ez({renderUpdates:v},W),{},{children:[(0,l.jsx)(Z,ez(ez({},W),{},{interface:L})),(0,l.jsx)(el.default,ez(ez({hook:"popups_before"},W),{},{interface:L})),(0,l.jsx)(el.default,ez(ez({hook:"popups_complete"},W),{},{interface:L,children:(B="popup",(!(0,eb.ZJ)()||!!(0,eb.mb)("popup"))&&(0,l.jsx)(S,ez(ez({},W),{},{interface:L}),"popups"))})),(0,l.jsx)(el.default,ez(ez({hook:"popups_after"},W),{},{interface:L})),(0,l.jsx)(el.default,ez(ez({hook:"header_before"},W),{},{interface:L})),(0,l.jsx)(el.default,ez(ez({hook:"header_complete"},W),{},{interface:L,children:(0,l.jsx)(d,ez(ez({},W),{},{layout:L.getLayoutHeader(),interface:L}))})),(0,l.jsx)(el.default,ez(ez({hook:"header_after"},W),{},{interface:L})),(0,l.jsx)("main",{id:"u20-main",children:(0,l.jsx)(es,ez(ez({isContentArea:!0,renderUpdates:v},W),{},{layout:L.getLayoutPopup(),interface:L,children:(0,l.jsx)(eU,{showEditor:A,renderUpdates:v,children:(0,l.jsx)(y,ez(ez({isContentArea:!0,renderUpdates:v,className:"page-content "},W),{},{interface:L}))})}))}),(0,l.jsx)(el.default,ez(ez({hook:"footer_before"},W),{},{interface:L})),(0,l.jsx)(el.default,ez(ez({hook:"footer_complete"},W),{},{interface:L,children:(0,l.jsx)(eg.Z,{whenVisible:!0,children:(0,l.jsx)(D,ez(ez({},W),{},{layout:L.getLayoutFooter(),interface:L}))})})),(0,l.jsx)(el.default,ez(ez({hook:"footer_after"},W),{},{interface:L})),(0,l.jsx)(el.default,ez(ez({hook:"overlays_before"},W),{},{interface:L})),(0,l.jsx)(el.default,ez(ez({hook:"overlays_complete"},W),{},{interface:L,children:(0,l.jsx)(I,ez(ez({},W),{},{layout:L.getLayoutOverlay(),interface:L}))}
1)),(0,l.jsx)(el.default,ez(ez({hook:"overlays_after"},W),{},{interface:L}))]}))})]})}catch(H){return(0,l.jsx)(en.default,{error:H.message})}},e$=e=>{var t,r;return(null==e?void 0:null===(t=e.props)||void 0===t?void 0:null===(r=t.website)||void 0===r?void 0:r.redirectToWWW)===!0},e0=e=>{var t=e.req.headers.host;if(t&&t.toLowerCase().startsWith("www")){var{res:r}=e,n=e.req.headers["x-forwarded-proto"]||e.req.connection.encrypted?"https":"http",i=t.split(".").slice(1).join(".");return r.writeHead(301,{Location:n+"://"+i+e.resolvedUrl}),r.end(),!0}return!1},e1=e=>{var t=e.req.headers.host;if(t&&!t.toLowerCase().startsWith("www")){var{res:r}=e,n=e.req.headers["x-forwarded-proto"]||e.req.connection.encrypted?"https":"http";return r.writeHead(302,{Location:n+"://www."+t+e.resolvedUrl}),r.end(),!0}return!1},e2=(eq=(0,n.Z)(function*(e){var{hostDomain:t,ignoreCache:r,editor_data:n,path:i}=e4(e);return function(e){return ee.apply(this,arguments)}(t)}),function(e){return eq.apply(this,arguments)}),e5=(eJ=(0,n.Z)(function*(e,t){var{hostDomain:r,ignoreCache:n,editor_data:i,path:a}=e4(e);return function(e,t){return et.apply(this,arguments)}(r,t)}),function(e,t){return eJ.apply(this,arguments)});function e4(e){var t,r=e.req.headers.host?e.req.headers.host:e.req.host;void 0!==eH&&"true"==eH.env.DEVMODE&&(null==eH.env.REROUTE||"false"==eH.env.REROUTE)&&(r=null);var n=!1,i=null,a=e.req.url;if(a.includes("preview=")){var o=new URLSearchParams(a.split("?")[1]);for(var s of o){var[l,u]=s,c=l.replace("?","").replace("&","").replace("/","").toLowerCase();"preview"==c&&(r=u,n=!0),"editordata"==c&&(i=u)}}return(t=r)&&t.includes(":")&&(t=t.split(":")[0]),t&&0===t.indexOf("www.")&&(t=t.replace("www.","")),r=t,{hostDomain:r,ignoreCache:n,editor_data:i,path:a}}var e8,e9=(e8=(0,n.Z)(function*(e){try{var{hostDomain:t,ignoreCache:r,editor_data:n,path:i}=e4(e),a=i.includes("preview"),o=null,s={};if(i.includes("webconfigpreview"))o={secured:!1},s=yield X("de");else try{var l=yield Promise.all([function(e){return er.apply(this,arguments)}(t,r,i,n),X("de")]);o=l[0],s=l[1]}catch(u){}if(o&&!0===o.secured&&(e.res.status=207,e.res.statusCode=207,!function(e){try{if(e.url&&e.url.includes("editor=true"))return!0;if(e.cookies){var t=e.cookies.universalcookie;if(t){t=t.replace(/\$22/g,'"');var r=JSON.parse(t);if("universalAuthCookie"in r){if(function(e){try{var t,r,n,i,a,o=(t=e,r=eN().createHash("sha512").update("cryptoKeyUniversal20").digest("hex").substring(0,32),n=eN().createHash("sha512").update("cryptoIvUniversal20").digest("hex").substring(0,16),i=eI.from(t,"base64"),a=eN().createDecipheriv("aes-256-cbc",r,n),a.update(i.toString("utf8"),"hex","utf8")+a.final("utf8"));if(o){var s=JSON.parse(o);if(!0===s.allowed){var l=new Date(s.crypt_date);if(new Date().getTime()-l.getTime()<36e6)return!0;console.error("Not found cookie or timeout",e)}}}catch(u){console.error("Error in validateAuthentication",u),console.log(e)}return!1}(eD.Z.fromBase64(r.universalAuthCookie)))return!0}else console.error("Not found universalAuthCookie in cookie",r)}}}catch(n){console.error("ERror in check Authentication",n)}return!1}(e.req)))return{props:{pagespeedTest:ed(e.req),showPassword:!0,website:{logo:o.logo}}};(o=(0,eb.hM)(o))||(e.res.status=404,e.res.statusCode=404);var c=o&&o.editordata?o.editordata:null;return o&&o.editordata&&delete o.editordata,{props:{pagespeedTest:ed(e.req),website:o,path:i,translations:s,endpoint:eH.env.BACKEND,cookies:o&&o.availableCookies?o.availableCookies:[],editordata:c,development:a,host:e.req.headers.host}}}catch(d){return console.error(d),e.res.status=500,e.res.statusCode=500,{props:{error:d.message}}}}),function(e){return e8.apply(this,arguments)}),e6=eX},84002:function(e,t,r){"use strict";r.r(t);var n=r(67294),i=r(85893),a=e=>{var t=e.error?e.error:"500 ERROR HAPPENED",r=null;function a(){r&&(r.className="walk-left",setTimeout(o,1e3))}function o(){r&&(r.className="search-left",setTimeout(s,8e3))}function s(){r&&(r.className="walk-right",setTimeout(l,1e3))}function l(){r&&(r.className="search-right",setTimeout(a,8e3))}return(0,n.useEffect)(()=>{if("undefined"!=typeof document&&null==r&&null!=document.getElementById("skybox")){var e=document.getElementById("skybox").offsetHeight;document.getElementById("skybox").style.height="".concat(32*Math.round(e/32),"px"),r=document.getElementById("player"),a()}}),(0,i.jsxs)("div",{className:"fivehundred",children:[(0,i.jsx)("style",{dangerouslySetInnerHTML:{__html:"body {background-image:  url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i
177u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMDY3IDc5LjE1Nzc0NywgMjAxNS8wMy8zMC0yMzo0MDo0MiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTUgKFdpbmRvd3MpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjQ3OThENjIxNjM0NTExRTlBRDcxODhCMzQyM0FCN0EwIiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOjQ3OThENjIyNjM0NTExRTlBRDcxODhCMzQyM0FCN0EwIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6NDc5OEQ2MUY2MzQ1MTFFOUFENzE4OEIzNDIzQUI3QTAiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6NDc5OEQ2MjA2MzQ1MTFFOUFENzE4OEIzNDIzQUI3QTAiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz4nvDvOAAAABlBMVEXcuUXCjk1OwG03AAAARUlEQVR42mJgJAAYSFDAAATUUoCskH4KUJ1HuQJkMWIVYA1kihWQHpvUVwAJemIVYEssA6sAa3QTUIAtmihRQOfYBAgwAFtpA5VFMQvIAAAAAElFTkSuQmCC');}"}}),(0,i.jsxs)("div",{id:"skybox",className:"skybox",children:[(0,i.jsxs)("div",{className:"txt",children:["Game over",(0,i.jsx)("br",{}),(0,i.jsx)("span",{children:t.toUpperCase()})]}),(0,i.jsx)("div",{id:"player",className:"idle"}),(0,i.jsx)("div",{className:"ground"})]})]})};t.default=a},13213:function(e,t,r){"use strict";r.r(t);var n=r(85893),i=e=>(0,n.jsxs)("div",{className:"fourzerofour",children:[(0,n.jsxs)("div",{id:"clouds",children:[(0,n.jsx)("div",{className:"cloud x1"}),(0,n.jsx)("div",{className:"cloud x1_5"}),(0,n.jsx)("div",{className:"cloud x2"}),(0,n.jsx)("div",{className:"cloud x3"}),(0,n.jsx)("div",{className:"cloud x4"}),(0,n.jsx)("div",{className:"cloud x5"})]}),(0,n.jsxs)("div",{className:"c",children:[(0,n.jsx)("div",{className:"_404",children:"404"}),(0,n.jsx)("hr",{}),(0,n.jsx)("div",{className:"_1",children:"DIE SEITE"}),(0,n.jsx)("div",{className:"_2",children:"WURDE NICHT GEFUNDEN"})]})]});t.default=i},6287:function(e,t,r){"use strict";var n=r(67294).createContext({editorMode:!1});t.Z=n},73658:function(e,t,r){"use strict";var n=r(59499),i=r(36587),a=r(15590);class o{constructor(){this.load()}load(){if(void 0===o.registry)for(var e of(o.registry={},o.registry=Object.assign(o.registry,i),Array.from(Object.keys(o.registry))))o.registry[e.toLowerCase()]=o.registry[e]}getComponent(e){return void 0!==e&&null!=e&&(e.includes(".")&&(e=a.Km.convertToComponentName(e)),e.startsWith("Component")&&(e=a.Km.getComponentFromReferenceTable(e)),void 0!==o.registry[e.toLowerCase()])?o.registry[e.toLowerCase()]:null}assertValueNull(e){return void 0===e||null==e}}(0,n.Z)(o,"registry",void 0);var s=new o;t.Z=s},56986:function(e,t,r){"use strict";r.d(t,{r:function(){return l}});var n=r(59499),i=r(68930),a=r(85893);function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach(function(t){(0,n.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var l=e=>{var t,r,n,o,l,u,c,d,p,h=e.size,f=e.image.external;h||f||(h="medium");var g=(0,i.gJ)(e.image,h),b=g?Array.isArray(e.image)?null!==(t=null!==(r=null===(n=e.image)||void 0===n?void 0:null===(o=n[0])||void 0===o?void 0:o.alt)&&void 0!==r?r:null===(l=e.image)||void 0===l?void 0:null===(u=l[0])||void 0===u?void 0:u.fileName)&&void 0!==t?t:"Bild":null!==(c=null!==(d=null===(p=e.image)||void 0===p?void 0:p.alt)&&void 0!==d?d:e.image.fileName)&&void 0!==c?c:"Bild":"Bild";if(!g)return null;var v={};v=(null==e?void 0:e.loading)!=="eager"?{"data-srcset":f||null!=e&&e.useOriginal?null==e?void 0:e.srcSet:"".concat(g,"_small 700w, ").concat(g,"_medium 1200w, ").concat(g,"_large 1920w"),"data-src":g}:{srcSet:f||null!=e&&e.useOriginal?null==e?void 0:e.srcSet:"".concat(g,"_small 700w, ").concat(g,"_medium 1200w, ").concat(g,"_large 1920w"),src:g};var m=s(s({id:e.id,width:e.width,height:e.height},v),{},{className:"".concat(e.className," ").concat((null==e?void 0:e.loading)==="eager"?"":"lazyload"),style:e.style,alt:b,ref:e.imgRef,onClick:e.onClick,tabIndex:e.tabIndex,"aria-describedby":e["aria-describedby"]});return(0,a.jsx)("img",s({},m))}},76731:function(e,t,r){"use strict";r.d(t,{MN:function(){return b},MO:function(){return v},qf:function(){return f},jd:function(){return g},Th:function(){return h}});var n=r(67294),i=r(59499),a=r(6287),o=r(85893);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}var l=e=>{var t=(0,n.useContext)(a.Z),[r,l]=n.useState(!1),[u,c]=n.useState(null),d=(null==t?void 0:t.editorMode)==!0;if(!0==e.noinlineEditor||!d)return e.children;var p=t=>{l(!0),v("mouseOver",e.element,t.currentTarget)},h=t=>{l(!1),v("mouseOut",e.element,t.currentTarget)},f={cursor:"pointer",display:"contents"},g=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?s(Object(r),!0).forEach(function(t){(0,i.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({},f);return(0,o.jsx)("div",{onMouseOver:e=>p(e),onMouseOut:e=>h(e),"data-universal-id":e.element._id,className:"GridOrContainerableContainer",style:r&&d?g:f,children:e.children})};function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}var c=e=>{var t=(0,n.useContext)(a.Z),[r,s]=n.useState(!1),[l,c]=n.useState(null),d=(null==t?void 0:t.editorMode)==!0;if(!0==e.noinlineEditor||!d)return e.children;var p=t=>{s(!0),v("mouseOver",e.element,t.currentTarget)},h=t=>{s(!1),v("mouseOut",e.element,t.currentTarget)},f={cursor:"pointer",display:"contents"},g=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?u(Object(r),!0).forEach(function(t){(0,i.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({},f);return(0,o.jsx)("div",{onMouseOver:e=>p(e),onMouseOut:e=>h(e),"data-universal-id":e.element._id,className:"SectionableContainer",style:r&&d?g:f,children:e.children})};function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}var p=e=>{var t=(0,n.useContext)(a.Z),[r,s]=n.useState(!1),[l,u]=n.useState(null),c=(null==t?void 0:t.editorMode)==!0;if(!c)return e.children;var p=t=>{s(!0),v("mouseOver",e.element,t.currentTarget)},h=t=>{s(!1),v("mouseOut",e.element,t.currentTarget)},f={cursor:"pointer",display:"contents"},g=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?d(Object(r),!0).forEach(function(t){(0,i.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({},f);return(0,o.jsx)("div",{onMouseOver:e=>p(e),onMouseOut:e=>h(e),"data-universal-id":e.element._id,className:"EditableElement",style:r&&c?g:f,children:e.children})};function h(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return r?e:(0,o.jsx)(l,{element:t,children:e})}function f(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return r?e:(0,o.jsx)(p,{element:t,children:e})}function g(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return r?e:(0,o.jsx)(c,{element:t,children:e})}function b(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:80,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=null===(t=function(e){for(var t=e,r=0;r<10;r++){if("contents"!=t.style.display)return t;if(t.children.length>0)t=t.children[0];else break}return null}(e))||void 0===t?void 0:t.getBoundingClientRect();return i?n?{top:i.top-5,left:i.left-5,width:i.width+10,height:i.height+10}:{top:i.height<100?i.top-3:i.top+5,left:i.width<300?i.left+i.width-10:i.left+i.width-r}:null}var v=(e,t,r)=>{window.onEditorInternalEvent&&window.onEditorInternalEvent(e,t,r)}},13643:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return c}});var n=r(59499);r(67294);var i=r(60564),a=r(15590),o=r(68930),s=r(85893);function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach(function(t){(0,n.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEac
1h(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}class c extends a.Po{constructor(e){super(e)}getHookContent(){if(this.props.website&&this.props.website.hooks){var e=this.props.website.hooks;e&&!Array.isArray(e)&&(e=[e]);var t=e.filter(e=>e.hook&&e.hook.includes(this.props.hook));if(t.length>0)return t.map((e,t)=>(0,s.jsx)(i.R,u(u({id:this.props.hook+"_"+t},(0,o.hC)(this.props)),{},{content:e.content,layout:null}),this.props.hook+"_"+t))}return null}render(){var e=this.getHookContent();return e?e:this.props.children?this.props.children:null}}},41402:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var n=r(50029),i=r(59499),a=r(99591);class o{constructor(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";(0,i.Z)(this,"_endpoint",""),(window.location.hostname.includes("localhost")||"8008"===window.location.port)&&(this._endpoint=e)}getCookies(){var e,t=this,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"123";return new Promise((e=(0,n.Z)(function*(e,n){try{return fetch(t._endpoint+"/api/cookies/"+r).then(t=>e(t.json()))}catch(i){}return e([])}),function(t,r){return e.apply(this,arguments)}))}runProxy(e){var t,r=!(arguments.length>1)||void 0===arguments[1]||arguments[1];return new Promise((t=(0,n.Z)(function*(t,n){try{return fetch("https://universal.ihre-fhw-seite.de/api/pegasus/frontend/proxy?url="+encodeURIComponent(e)).then(e=>e.text()).then(e=>r?t(JSON.parse(e)):t(e)).catch(e=>{n(e)})}catch(i){return n(i)}}),function(e,r){return t.apply(this,arguments)}))}checkPasswod(e){return fetch(this._endpoint?this._endpoint+"/api/pegasus/frontend/password":"/api/pegasus/frontend/password",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({password:e})}).then(e=>e.json())}getTranslations(e){var t,r=this;return new Promise((t=(0,n.Z)(function*(t,n){try{return fetch(r._endpoint+"/api/pegasus/frontend/translations/"+e).then(e=>e.text()).then(e=>{t(e?JSON.parse(e):{})}).catch(e=>t({}))}catch(i){}return t([])}),function(e,r){return t.apply(this,arguments)}))}get(e){return new Promise((t,r)=>{try{return fetch(this._endpoint+e,{method:"GET",headers:{"Content-Type":"application/x-www-form-urlencoded"}}).then(e=>e.text()).then(e=>{t(e?JSON.parse(e):{})})}catch(n){r(n)}})}getPrerenderedSite(e,t,r,n){return new Promise((i,o)=>{try{var s=JSON.stringify({data:r,website:n}),l=a.deflate(s);return fetch(this._endpoint+"/api/models/"+t+"/preRenderElement",{method:"POST",headers:{"Content-Type":"application/json","Content-Encoding":"deflate",Authorization:"Bearer "+e},body:l}).then(e=>e.text()).then(e=>{i(e?JSON.parse(e):{})})}catch(u){o(u)}})}}},60564:function(e,t,r){"use strict";r.d(t,{R:function(){return p}});var n=r(59499),i=r(67294),a=r(73658),o=r(15590),s=r(68930),l=r(76731),u=r(85893);function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function d(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach(function(t){(0,n.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var p=e=>{var t=[],r=e.renderDepth?e.renderDepth:1;if(void 0!==e.content&&null!=e.content&&e.content.map)try{t=e.content.map((t,n)=>{if("string"==typeof t)return(0,u.jsx)("div",{dangerouslySetInnerHTML:{__html:t}});var c=o.Km.getComponentFromReferenceTable(t.kind);if(null==c)return(0,u.jsxs)("div",{children:["Can not find Component for: ",JSON.stringify(t)]});var p=a.Z.getComponent(c);if(void 0===p||null==p)return(0,u.jsxs)("div",{children:["Component not registered: ",c]});var h=t._id?t._id+"_"+n:e.id?e.id+"_"+n:null;e.wrapParentId&&(h=e.id+"_"+t._id+"_"+n),h||(h="generated_id_".concat(n));var f=(0,i.createElement)(p,d(d({},(0,s.hC)(e)),{},{renderDepth:r+1,content:t,editorElement:e.editorElement,layout:e.layout,key:h,id:h}));return(0,u.jsx)(i.Fragment,{children:(0,l.qf)(f,e.editorElement?e.editorElement:t,!0==e.noinlineEditor)},h)})}catch(n){}return(0,u.jsx)(u.Fragment,{children:t})}},5889:function(e,t,r){"use strict";
1function n(){if(new URL(window.location).searchParams.get("editor"))return!0}function i(e){var t=new URL(window.location).searchParams.get("editordata");if(t)try{if(JSON.parse(t).navigation.find(t=>t.model.replace(/\-/g,"").replace(/\_/g,"").toLowerCase().includes(e.toLowerCase())))return!0}catch(r){}return!1}r.d(t,{ZJ:function(){return n},hM:function(){return function e(t){for(var r in t)"attributes"===r&&delete t[r],"meta"===r?delete t[r]:"object"==typeof t[r]&&e(t[r]);return t}},mb:function(){return i}})},36587:function(e,t,r){"use strict";r.r(t),r.d(t,{Accordion:function(){return B},AccordionItem:function(){return L},Anchor:function(){return ey},AnimatedText:function(){return ec},Animation:function(){return ea},BackToTopButton:function(){return eE},Banner:function(){return eb},BasicFooter:function(){return p},BasicHeader:function(){return d},BasicNavigation:function(){return a},BasicVerticalNavigation:function(){return _},Block:function(){return b},Brand:function(){return ew},Breadcrumbs:function(){return ev},Button:function(){return m},CSSAttributes:function(){return eC},CTA:function(){return F},CTAs:function(){return G},Carousel:function(){return S},ColumnContainer:function(){return f},Condition:function(){return D},ContactIcon:function(){return $},ContactIcons:function(){return ee},ContentFooter:function(){return eI},ContentHeader:function(){return x},ContentNavigation:function(){return X},Countdown:function(){return el},Counter:function(){return eu},Developer:function(){return ed},Drawer:function(){return eO},DrawerButton:function(){return ej},EstlandContentHeader:function(){return eT},EstlandHeader:function(){return E},EstlandMobileNavigation:function(){return ef},FacebookFeed:function(){return eM},FlexFooter:function(){return j},FlexHeader:function(){return y},FlexNavigation:function(){return w},FlipBox:function(){return ep},Form:function(){return M},FormItem:function(){return Z},Gallery:function(){return eo},GalleryItem:function(){return eG},Grid:function(){return I},GridItem:function(){return T},Hook:function(){return K},IFrame:function(){return eg},Icon:function(){return v},IconBox:function(){return k},IconBoxContainer:function(){return C},Image:function(){return s},ImageCarousel:function(){return A},ImageComparisonSlider:function(){return eA},InstagramFeed:function(){return eF},ItemGallery:function(){return eZ},JustifiedGallery:function(){return es},List:function(){return et},ListItem:function(){return er},LoadingSpinner:function(){return eS},Map:function(){return en},MobileFlexNavigation:function(){return O},Modal:function(){return z},OverlayNavigation:function(){return eP},PopUp:function(){return R},RawHTML:function(){return e_},RawScript:function(){return eD},RawTag:function(){return ek},Repeatable:function(){return P},Reviews:function(){return ei},SEO:function(){return N},Section:function(){return h},SimpleSlider:function(){return c},Slider:function(){return u},SliderV3:function(){return eB},Spacer:function(){return Q},SphereImage:function(){return eR},StructuredData:function(){return ex},TabItem:function(){return W},Tabs:function(){return V},Template:function(){return eh},Textblock:function(){return o},Timeline:function(){return q},TimelineItem:function(){return J},TimelineItemConnector:function(){return Y},Toolframe:function(){return em},Typeform:function(){return eN},Video:function(){return l},WebsiteRoot:function(){return g},WebsiteRootFoot:function(){return H},WebsiteRootHead:function(){return U}});var n=r(5152),i=r.n(n),a=i()(()=>r.e(5624).then(r.bind(r,15624)),{loadableGenerated:{webpack:()=>[15624]}}),o=i()(()=>Promise.all([r.e(182),r.e(8200),r.e(7647)]).then(r.bind(r,67647)),{loadableGenerated:{webpack:()=>[67647]}}),s=i()(()=>Promise.all([r.e(4527),r.e(9764),r.e(7234),r.e(8200),r.e(1869)]).then(r.bind(r,21869)),{loadableGenerated:{webpack:()=>[21869]}}),l=i()(()=>Promise.all([r.e(2004),r.e(8243),r.e(8200),r.e(1009)]).then(r.bind(r,91009)),{loadableGenerated:{webpack:()=>[91009]}}),u=i()(()=>Promise.all([r.e(5442),r.e(8200),r.e(5279),r.e(8280)]).then(r.bind(r,39509)),{loadableGenerated:{webpack:()=>[39509]}}),c=i()(()=>Promise.all([r.e(5442),r.e(8200),r.e(5279),r.e(5174)]).then(r.bind(r,19645)),{loadableGenerated:{webpack:()=>[19645]}}),d=i()(()=>
1Promise.all([r.e(5442),r.e(8200),r.e(5279),r.e(9362)]).then(r.bind(r,38821)),{loadableGenerated:{webpack:()=>[38821]}}),p=i()(()=>r.e(8363).then(r.bind(r,68363)),{loadableGenerated:{webpack:()=>[68363]}}),h=i()(()=>Promise.all([r.e(182),r.e(8200),r.e(2783)]).then(r.bind(r,92783)),{loadableGenerated:{webpack:()=>[92783]}}),f=i()(()=>Promise.all([r.e(182),r.e(8200),r.e(9713)]).then(r.bind(r,69713)),{loadableGenerated:{webpack:()=>[69713]}}),g=i()(()=>Promise.all([r.e(4527),r.e(7424),r.e(8200),r.e(3400)]).then(r.bind(r,56569)),{loadableGenerated:{webpack:()=>[56569]}}),b=i()(()=>Promise.all([r.e(8200),r.e(1897)]).then(r.bind(r,27566)),{loadableGenerated:{webpack:()=>[27566]}}),v=i()(()=>Promise.all([r.e(4527),r.e(9764),r.e(8200),r.e(3546)]).then(r.bind(r,82713)),{loadableGenerated:{webpack:()=>[82713]}}),m=i()(()=>Promise.all([r.e(8200),r.e(7923)]).then(r.bind(r,42539)),{loadableGenerated:{webpack:()=>[42539]}}),y=i()(()=>Promise.all([r.e(4527),r.e(9764),r.e(8200),r.e(2638)]).then(r.bind(r,17869)),{loadableGenerated:{webpack:()=>[17869]}}),w=i()(()=>Promise.all([r.e(8200),r.e(435),r.e(8052)]).then(r.bind(r,45031)),{loadableGenerated:{webpack:()=>[45031]}}),O=i()(()=>Promise.all([r.e(8200),r.e(435),r.e(6034)]).then(r.bind(r,4762)),{loadableGenerated:{webpack:()=>[4762]}}),j=i()(()=>Promise.all([r.e(8200),r.e(6758)]).then(r.bind(r,62281)),{loadableGenerated:{webpack:()=>[62281]}}),P=i()(()=>Promise.all([r.e(8200),r.e(9540)]).then(r.bind(r,33050)),{loadableGenerated:{webpack:()=>[33050]}}),E=i()(()=>Promise.all([r.e(4527),r.e(5442),r.e(9764),r.e(8200),r.e(5279),r.e(435),r.e(2797)]).then(r.bind(r,32323)),{loadableGenerated:{webpack:()=>[32323]}}),x=i()(()=>Promise.all([r.e(3662),r.e(1758)]).then(r.bind(r,71758)),{loadableGenerated:{webpack:()=>[71758]}}),_=i()(()=>r.e(9474).then(r.bind(r,59474)),{loadableGenerated:{webpack:()=>[59474]}}),D=i()(()=>r.e(7278).then(r.bind(r,67278)),{loadableGenerated:{webpack:()=>[67278]}}),k=i()(()=>Promise.all([r.e(8200),r.e(2663)]).then(r.bind(r,71165)),{loadableGenerated:{webpack:()=>[71165]}}),C=i()(()=>Promise.all([r.e(8200),r.e(9550)]).then(r.bind(r,58779)),{loadableGenerated:{webpack:()=>[58779]}}),S=i()(()=>Promise.all([r.e(5442),r.e(8200),r.e(5125)]).then(r.bind(r,58427)),{loadableGenerated:{webpack:()=>[58427]}}),A=i()(()=>Promise.all([r.e(5442),r.e(6411),r.e(819),r.e(8200),r.e(4977)]).then(r.bind(r,1541)),{loadableGenerated:{webpack:()=>[1541]}}),N=i()(()=>r.e(1421).then(r.bind(r,21421)),{loadableGenerated:{webpack:()=>[21421]}}),I=i()(()=>Promise.all([r.e(8200),r.e(8086)]).then(r.bind(r,37767)),{loadableGenerated:{webpack:()=>[37767]}}),T=Promise.all([r.e(8200),r.e(454)]).then(r.bind(r,3073)),M=i()(()=>Promise.all([r.e(9220),r.e(8200),r.e(4974),r.e(4221)]).then(r.bind(r,64221)),{loadableGenerated:{webpack:()=>[64221]}}),Z=Promise.all([r.e(8200),r.e(4974),r.e(9140)]).then(r.bind(r,64974)),G=i()(()=>Promise.all([r.e(4527),r.e(9764),r.e(5145)]).then(r.bind(r,75145)),{loadableGenerated:{webpack:()=>[75145]}}),F=i()(()=>Promise.all([r.e(4527),r.e(9764),r.e(2991)]).then(r.bind(r,32991)),{loadableGenerated:{webpack:()=>[32991]}}),R=i()(()=>Promise.all([r.e(8200),r.e(3267)]).then(r.bind(r,53147)),{loadableGenerated:{webpack:()=>[53147]}}),B=i()(()=>Promise.all([r.e(4527),r.e(4300),r.e(8200),r.e(676)]).then(r.bind(r,90676)),{loadableGenerated:{webpack:()=>[90676]}}),L=i()(()=>Promise.all([r.e(4527),r.e(1589)]).then(r.bind(r,21589)),{loadableGenerated:{webpack:()=>[21589]}}),V=i()(()=>Promise.all([r.e(7023),r.e(8200),r.e(9782)]).then(r.bind(r,37922)),{loadableGenerated:{webpack:()=>[37922]}}),W=i()(()=>Promise.all([r.e(8200),r.e(7169)]).then(r.bind(r,63773)),{loadableGenerated:{webpack:()=>[63773]}}),U=i()(()=>r.e(5102).then(r.bind(r,35102)),{loadableGenerated:{webpack:()=>[35102]}}),H=i()(()=>Promise.all([r.e(4527),r.e(7424),r.e(4300),r.e(7023),r.e(8200),r.e(7990)]).then(r.bind(r,77990)),{loadableGenerated:{webpack:()=>[77990]}}),Q=i()(()=>Promise.all([r.e(8200),r.e(9228)]).then(r.bind(r,36955)),{loadableGenerated:{webpack:()=>[36955]}}),z=i()(()=>Promise.all([r.e(4527),r.e(7424),r.e(1804)]).then(r.bind(r,71804)),{loadableGenerated:{webpack:()=>[71804]}}),q=i()(()=>Promise.all([r.e(8200),r.e(5508)]).then(r.bind(r,18475)),{loadableGenerated:{webpack:()=>[18475]}}),J=i()(()=>Promise.all([r.e(8200),r.e(5718)]).then(r.bind(r,38673)),{loadableGenerated:{webpack:()=>[38673]}}),Y=i()(()=>Promise.all([r.e(8200),r.e(8536)]).then(r.bind(r,47858)),{loadableGenerated:{webpack:()=>[47858]}}),K=i()(()=>Promise.resolve().then(r.bind(r,13643)),{loadableGenerated:{webpack:()=>[13643]}}),X=i()(()=>Promise.all([r.e(8200),r.e(6210)]).then(r.bind(r,68391)),{loadableGenerated:{webpack:()=>[68391]}}),$=i()(()=>Promise.all([r.e(4527),r.e(9764),r.e(2972)]).then(r.bind(r,52972)),{loadableGenerated:{webpack:()=>[52972]}}),ee=i()(()=>Promise.all([r.e(4527),r.e(9764),r.e(8200),r.e(9086)]).then(r.bind(r,59604)),{loadableGenerated:{webpack:()=>[59604]}}),et=i()(()=>Promise.all([r.e(8200),r.e(5968)]).then(r.bind(r,42618)),{loadableGenerated:{webpack:()=>[42618]}
1}),er=i()(()=>Promise.all([r.e(8200),r.e(428)]).then(r.bind(r,42654)),{loadableGenerated:{webpack:()=>[42654]}}),en=i()(()=>Promise.all([r.e(8200),r.e(9066)]).then(r.bind(r,54908)),{loadableGenerated:{webpack:()=>[54908]}}),ei=i()(()=>Promise.all([r.e(5442),r.e(8200),r.e(4938)]).then(r.bind(r,81810)),{loadableGenerated:{webpack:()=>[81810]}}),ea=i()(()=>r.e(7041).then(r.bind(r,27041)),{loadableGenerated:{webpack:()=>[27041]}}),eo=i()(()=>Promise.all([r.e(6411),r.e(544),r.e(8200),r.e(6494)]).then(r.bind(r,70495)),{loadableGenerated:{webpack:()=>[70495]}}),es=i()(()=>Promise.all([r.e(6411),r.e(544),r.e(3207)]).then(r.bind(r,85745)),{loadableGenerated:{webpack:()=>[85745]}}),el=i()(()=>Promise.all([r.e(1852),r.e(8200),r.e(8611)]).then(r.bind(r,68611)),{loadableGenerated:{webpack:()=>[68611]}}),eu=i()(()=>Promise.all([r.e(9220),r.e(8200),r.e(1833)]).then(r.bind(r,11833)),{loadableGenerated:{webpack:()=>[11833]}}),ec=i()(()=>Promise.all([r.e(8200),r.e(672)]).then(r.bind(r,2573)),{loadableGenerated:{webpack:()=>[2573]}}),ed=i()(()=>Promise.all([r.e(8200),r.e(9310),r.e(5561)]).then(r.bind(r,75561)),{loadableGenerated:{webpack:()=>[75561]}}),ep=i()(()=>Promise.all([r.e(8200),r.e(9730)]).then(r.bind(r,49782)),{loadableGenerated:{webpack:()=>[49782]}}),eh=i()(()=>Promise.all([r.e(8200),r.e(9776)]).then(r.bind(r,86764)),{loadableGenerated:{webpack:()=>[86764]}}),ef=i()(()=>Promise.all([r.e(8200),r.e(435),r.e(5535)]).then(r.bind(r,20024)),{loadableGenerated:{webpack:()=>[20024]}}),eg=i()(()=>Promise.all([r.e(8200),r.e(3353)]).then(r.bind(r,95619)),{loadableGenerated:{webpack:()=>[95619]}}),eb=i()(()=>Promise.all([r.e(5442),r.e(8200),r.e(5279),r.e(8296)]).then(r.bind(r,76430)),{loadableGenerated:{webpack:()=>[76430]}}),ev=i()(()=>Promise.all([r.e(8200),r.e(9438)]).then(r.bind(r,78910)),{loadableGenerated:{webpack:()=>[78910]}}),em=i()(()=>Promise.all([r.e(8200),r.e(9310)]).then(r.bind(r,24051)),{loadableGenerated:{webpack:()=>[24051]}}),ey=i()(()=>r.e(7255).then(r.bind(r,17255)),{loadableGenerated:{webpack:()=>[17255]}}),ew=i()(()=>r.e(8817).then(r.bind(r,48817)),{loadableGenerated:{webpack:()=>[48817]}}),eO=i()(()=>r.e(6198).then(r.bind(r,86198)),{loadableGenerated:{webpack:()=>[86198]}}),ej=i()(()=>Promise.all([r.e(8200),r.e(6005)]).then(r.bind(r,52930)),{loadableGenerated:{webpack:()=>[52930]}}),eP=i()(()=>r.e(3371).then(r.bind(r,13371)),{loadableGenerated:{webpack:()=>[13371]}}),eE=i()(()=>Promise.all([r.e(8200),r.e(1576)]).then(r.bind(r,55226)),{loadableGenerated:{webpack:()=>[55226]}}),ex=i()(()=>r.e(5270).then(r.bind(r,45270)),{loadableGenerated:{webpack:()=>[45270]}}),e_=i()(()=>r.e(2781).then(r.bind(r,52781)),{loadableGenerated:{webpack:()=>[52781]}}),eD=i()(()=>r.e(2736).then(r.bind(r,22736)),{loadableGenerated:{webpack:()=>[22736]}}),ek=i()(()=>r.e(5942).then(r.bind(r,5942)),{loadableGenerated:{webpack:()=>[5942]}}),eC=i()(()=>Promise.all([r.e(8200),r.e(3508)]).then(r.bind(r,18200)),{loadableGenerated:{webpack:()=>[18200]}}),eS=i()(()=>r.e(4806).then(r.bind(r,14806)),{loadableGenerated:{webpack:()=>[14806]}}),eA=i()(()=>Promise.all([r.e(1794),r.e(8200),r.e(9440)]).then(r.bind(r,39440)),{loadableGenerated:{webpack:()=>[39440]}}),eN=i()(()=>r.e(6715).then(r.bind(r,46715)),{loadableGenerated:{webpack:()=>[46715]}}),eI=i()(()=>r.e(2861).then(r.bind(r,52861)),{loadableGenerated:{webpack:()=>[52861]}}),eT=i()(()=>r.e(8832).then(r.bind(r,58832)),{loadableGenerated:{webpack:()=>[58832]}}),eM=i()(()=>r.e(1135).then(r.bind(r,41135)),{loadableGenerated:{webpack:()=>[41135]}}),eZ=i()(()=>Promise.all([r.e(6411),r.e(544),r.e(9129),r.e(8200),r.e(2186)]).then(r.bind(r,16551)),{loadableGenerated:{webpack:()=>[16551]}}),eG=i()(()=>Promise.all([r.e(6411),r.e(9129),r.e(8200),r.e(2672)]).then(r.bind(r,42664)),{loadableGenerated:{webpack:()=>[42664]}}),eF=i()(()=>r.e(3128).then(r.bind(r,43128)),{loadableGenerated:{webpack:()=>[43128]}}),eR=i()(()=>Promise.all([r.e(3737),r.e(2934),r.e(4601),r.e(8200),r.e(2155)]).then(r.bind(r,40657)),{ssr:!1,loadableGenerated:{webpack:()=>[40657]}}),eB=i()(()=>Promise.all([r.e(5442),r.e(4027)]).then(r.bind(r,22433)),{loadableGenerated:{webpack:()=>[22433]}})},68930:function(e,t,r){"use strict";r.d(t,{$f:function(){return b},ZP:function(){return y},gJ:function(){return m},hC:function(){return v}});var n=r(59499),i=r(67294),a=r(50834),o=r(50361),s=r.n(o),l=r(41402),u=r(85893),c=r(83454);function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function p(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?d(Object(r),!0).forEach(function(t){(0,n.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}r(71811),r(40327),r(27361),r(36968),r(18446),r(75472);var h=r(82492);r(7334);var f=r(86492),g=r(51963);function b(e){return p({website:e.website,navigation:e.navigation,layout:e.layout,additionalData:e.additionalData},e.additionalData)}function v(e){return{editorElement:e.editorElement,conditionalObject:e.conditionalObject,dispatch:e.dispatch,endpoint:e.endpoint,navigationTree:e.navigationTree,wrapParentId:e.wrapParentId,website:p(p({},e.website),{},{websiteID:e.website._id}),startpage:e.startpage,interface:e.interface,navigation:e.navigation,breadcrumbs:e.breadcrumbs,isContentArea:e.isContentArea,translations:e.translations,path:e.path,currentNavigation:e.currentNavigation,additionalData:e.additionalData,websiteState:e.websiteState,noinlineEditor:e.noinlineEditor}}function m(e,t){!e||e.external||null!==(r=e)&&void 0!==r&&r.useOriginal||(t="webp");var r,n=void 0!==c&&c.env.DEVMODE&&c.env.DEVMODE.toLowerCase().includes("true")?c.env.BACKEND:"";return(window.location.hostname.includes("localhost")&&(n="https://universal.ihre-fhw-seite.de"),void 0!==e&&null!=e)?(Array.isArray(e)&&e.length>0&&(e=e[0]),!e.url&&e.ref&&(e.url="/api/attachments/"+e.ref),!e.url&&e._id&&(e.url="/api/attachments/"+e._id),e&&e.url)?t?"".concat(n+e.url,"/").concat(t):n+e.url:null:null}class y extends i.Component{constructor(e){super(e),(0,n.Z)(this,"website",void 0),(0,n.Z)(this,"layout",void 0),(0,n.Z)(this,"content",void 0),(0,n.Z)(this,"interface",void 0),(0,n.Z)(this,"templateVars",void 0),(0,n.Z)(this,"installedFonts",[]),(0,n.Z)(this,"props",void 0),(0,n.Z)(this,"state",void 0),(0,n.Z)(this,"getMenuItemTitle",(e,t,r)=>void 0!==e.name?e.name:""),(0,n.Z)(this,"getMenuItemLink",(e,t,r)=>{var n=null!=e.relatedPage?this.getPageById(e.relatedPage):null;return n?void 0!==n.name?n.name:"/":void 0!==e.url?e.url:"/"}),(0,n.Z)(this,"getRGBAValues",e=>g(e)),(0,n.Z)(this,"getRelativeTimeDescription",e=>{var t=new Intl.RelativeTimeFormat("de",{style:"long"}),r=Math.floor((new Date().getTime()-e.getTime())/1e3);if(r<60)return t.format(-r,"second");if(r<3600)return t.format(-Math.floor(r/60),"minute");if(r<86400)return t.format(-Math.floor(r/3600),"hour");if(r<604800)return t.format(-Math.floor(r/86400),"day");if(r<2629800)return t.format(-Math.floor(r/604800),"week");else if(r<31557600)return t.format(-Math.floor(r/2629800),"month");else return t.format(-Math.floor(r/31557600),"year")}),(0,n.Z)(this,"isInBreadcrumbs",(e,t)=>{var r=!1;return"/"===t&&"/"===e?r=!0:e.length>1&&t.includes(e)&&(r=!0),r}),this.props=e,this.interface=e.interface,this.templateVars=this.initializeTemplateVars(e.templateVars),this.state={startpage:e.startpage}}htmlDecode(e){if(e&&e.includes("&nbsp")){var t=e.replace(/(<([^>]+)>)/gi,"");return f.decode(t)}return e}isNotADemoPage(e){return!("string"==typeof e&&(e.includes("mustermann-sanitaer-de.plesk-cn10")||e.includes("hti-test-de.plesk-cn10.dasbad3.de")))}isEditorMode(){if(this.props.website){if(this.props.website.path&&this.props.website.path.includes("editor=")&&null==this.props.conditionalObject)return!0}else console.error("Problematic Editor Mode");return!1}request_get(e){var t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];return new l.Z(this.props.endpoint).runProxy(e,t)}getLocalTemplateVars(){return{}}dispatch(e){return this.props.dispatch(e)}getPageById(e){return this.getWebsiteElement("pages",e)}getConditionQuery(){var e=this.getProp("query");return e?e.jsonQuery:null}isDeveloperMode(){}hasAnyVisibleContent(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this.isEditorMode())return!0;var r=[];if((e.code||e.query)&&!this.execuetCodeOrQuery(e.query,e.code))return!1;for(var n of["content","block","columns","itemContent","accordionItem"]){if(e[n]){if(Array.isArray(e[n]))for(var i=0;i<e[n].length;i++)this.hasAnyVisibleContent(e[n][i],t+1)&&r.push(e[n][i]);else this.hasAnyVisibleContent(e[n],t+1)&&r.push(e[n])}if(r.length>0)return!0}return t>0&&!(e.code||e.query)||r.length>0}executeCode(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=e||this.getProp("code");if(t&&t.length>5){try{var r=this.props.website,n=this.props.additionalData?this.props.additionalData.element:null,i=this.props.page?this.props.page:this.props.website.page?this.props.website.page:null;return Function("website","element","page","self",'"use strict"; '.concat(t))(r,n,i,this)}catch(a){console.log(a)}return!1}return!0}execuetCodeOrQuery(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=e||this.getConditionQuery();return!!(this.executeQuery(r)&&this.executeCode(t))}getWebsiteElement(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return void 0!==this.props.website[e]&&Array.isArray(this.props.website[e])?this.props.website[e].find(e=>e==t||void 0!==e._id&&e._id==t):void 0!==this.props.website[e+"s"]&&Array.isArray(this.props.website[e+"s"])?this.props.website[e+"s"].find(e=>e==t||void 0!==e._id&&e._id==t):void 0}getWebsiteState(e){return this.props.websiteState&&this.props.websiteState[e]?this.props.websiteState[e]:null}filterDuplicates(e){return e?e.filter((t,r,n)=>r===e.findIndex(e=>e.name===t.name)):e}replaceFontPath(e){return e&&!e.includes("api/attachments")&&(e=e.replace(/\/attachments\//g,this.getBackend()+"api/attachments/")),e}getFirstOf(e){var t=null;for(var r of e)if(null!=r&&void 0!==r){t=r;break}return t?"e_"+t:""}prefixId(e){return e.startsWith("e_")?e:"e_"+e}wrapParentId(e){return this.props.wrapParentId?this.prefixId(this.props.id+"_"+e):this.prefixId(e)}getId(){return this.props.wrapParentId?this.wrapParentId(this.getFirstOf([this.props&&this.props.id?this.props.id:null,this.props&&this.props.content?this.props.content._id:null])):this.getProp("cssAttributes.ID")?this.getProp("cssAttributes.ID"):this.getProp("ID")?this.getProp("ID"):this.wrapParentId(this.getFirstOf([this.props&&this.props.content?this.props.content._id:null,this.props&&this.props.id?this.props.id:null]))}getBackend(){return window.location&&window.location.href.includes("localhost:")||void 0!==c&&c.env&&c.env.BACKEND&&c.env.BACKEND.includes("localhost")?"http://localhost:9991/":"/"}getLink(e){return e&&!e.includes("?")?e+this.interface.getQueryPreview():e}installFont(e){if(this.props.website.installedFonts)return!1;if(e&&e.css){if(this.installedFonts.find(t=>t.name===e.name))return!1;e.css=this.replaceFontPath(e.css),this.installedFonts.push(e)}}getFont(e){if(e&&e.css)return this.replaceFontPath(e.css);if(this.props.website&&this.props.website.theme&&this.props.website.theme.customFonts){var t=this.props.website.theme.customFonts.find(t=>t.name===e.name);if(t)return this.replaceFontPath(t.css)}return null}initializeTemplateVars(e){return e||(e={}),e=Object.assign(this.getLocalTemplateVars(),e)}
1getLayoutPropSingle(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=!(arguments.length>2)||void 0===arguments[2]||arguments[2],n=void 0;if(void 0!==this.props.layout){var i=(0,a.Mq)(this.props.layout,e,null,(e,t,r,n,i)=>this.extractDataOnMappedElement(e,t,r,n,i));i&&(Array.isArray(i)?i.length>0&&(n=i[0]):n=i)}if((void 0===n||null==n)&&this.props.layout&&void 0!==this.props.layout.attributes&&null!=this.props.layout.attributes){var o=(0,a.Mq)(this.props.layout.attributes,e,null,(e,t,r,n,i)=>this.extractDataOnMappedElement(e,t,r,n,i));o&&(n=Array.isArray(o)&&o.length>0?o[0]:o)}return void 0!==n&&null!=n?r?this.compile(n):n:r?this.compile(t):t}isEmptyString(e){return void 0===e||null==e||(!Array.isArray(e)||!(e.length>0)||"string"!=typeof e[0])&&!!("string"==typeof e&&e.length<=0||this.isEmptySizeObject(e))}getLayoutProp(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=!(arguments.length>2)||void 0===arguments[2]||arguments[2],n=void 0;return(void 0!==this.props.layout&&null!=this.props.layout&&(n=(0,a.Mq)(this.props.layout,e,null,(e,t,r,n,i)=>this.extractDataOnMappedElement(e,t,r,n,i)),this.isEmptyString(n)&&void 0!==this.props.layout.attributes&&null!=this.props.layout.attributes&&(n=(0,a.Mq)(this.props.layout.attributes,e,null,(e,t,r,n,i)=>this.extractDataOnMappedElement(e,t,r,n,i)))),this.isEmptyString(n))?r&&"string"==typeof t?this.compile(t):t:r?this.compile(n):n}static getDerivedStateFromProps(e,t){var r=t;return t&&e.startpage!=t.startpage&&(r.startpage=e.startpage),t}isSubpage(){return!this.state.startpage}isStartpage(){return this.state.startpage}getChildsFromTree(e,t,r){var n=[],i=e.filter(e=>{if(null!=t&&null!=e.parentItem){if(e.parentItem._id){if(e.parentItem&&null!=e.parentItem._id&&e.parentItem._id==t._id||e.parentItem&&null!=e.parentItem._id&&null!=t.ref_orig&&e.parentItem._id===t.ref_orig||e.parentItem&&e.parentItem.ref&&t.ref&&(e.parentItem.ref==t._id||e.parentItem.ref==t.ref))return!0}else if(e.parentItem==t._id)return!0}return!1});for(var a of i){var o=p({},a);n.push(o);var s=this.getChildsFromTree(e,o,[...r||[],o]);o.items=s}return n}getContentPropAsTree(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=this.getContentProp(e,t),n=[];if(null!=r&&r.filter){var i=r.filter(e=>null==e.parentItem);for(var a of i){var o=s()(a);n.push(o);var l=this.getChildsFromTree(r,o);o.items=l}}return n}hasContentProp(e){var t=(0,a.Mq)(this.props.website,e);return void 0!==t&&null!=t&&0!=t.length}getContentProp(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=!(arguments.length>2)||void 0===arguments[2]||arguments[2];try{var n=(0,a.Mq)(this.props.website,e,null,(e,t,r,n,i)=>this.extractDataOnMappedElement(e,t,r,n,i));if(!this.isEmptyString(n)){if(r)return this.compile(n);return n}}catch(i){console.info(i)}return r?this.compile(t):t}getHSLColors(e){return null}rgbaValuesToRGBString(e){return e&&Array.isArray(e)&&4===e.length?"rgb(".concat(e[0],", ").concat(e[1],", ").concat(e[2],")"):null}getContrast(e){var t=this.hexToRgb(e),r=t.r/255,n=t.g/255,i=t.b/255,a=.2126*(r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4))+.7152*(n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))+.0722*(i<=.03928?i/12.92:Math.pow((i+.055)/1.055,2.4));return(a+.05)/.05>1.05/(a+.05)?"black":"white"}hexToRgb(e){3===(e=e.replace(/^#/,"")).length&&(e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]);var t=parseInt(e.substring(0,2),16),r=parseInt(e.substring(2,4),16),n=parseInt(e.substring(4,6),16);return{r:t,g:r,b:n}}prepareCSSVariable(e){return"string"==typeof e&&e.startsWith("--")?"var(".concat(e,")"):e}containsNumber(e){return/\d/.test(e)}executeQuery(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;try{if(null!=e){void 0!==e.jsonQuery&&(e=e.jsonQuery);var r=this.props.website;this.props.conditionalObject&&(r=h(r,this.props.conditionalObject));var n=this.props&&this.props.website&&this.props.website.page?this.props.website.page:{},i={};return this.props.website.parameterValues&&this.props.website.parameterValues[n._id]&&(i=this.props.website.parameterValues[n._id]),new a.A6(p(p(p({page:n},r),i),t||{})).parseQuery(e)}}catch(o){console.error("Error in condition: ",o)}return!0}getCorrectParameterValues(e,t){if(e.fromValue&&null!=e.fromValue&&e.fromValue.length>0)try{var r=(0,a.Mq)(this.props.website,e.fromValue[0]);if(r){if(Array.isArray(r)&&r.length>0)return r[0];return r}}catch(n){}return"select"===e.type&&Array.isArray(t)&&t.length>0?t[0]:t}getParameterObjects(){var e=[];try{var t={};if(void 0!==this.props.website&&"undefined"!==this.props.website.parameterValues&&this.props.website.parameterValues){var r=this.props.website.parameterValues;void 0!==r[this.props.website.page._id]&&(t=r[this.props.website.page._id])}if(void 0!==this.props.website.page.parameters)for(var n of this.props.website.page.parameters){var i=this.getCorrectParameterValues(n,t[n.name]);e.push(p(p({},n),{},{parameterValue:i,value:i}))}}catch(a){console.info("Problem in filling Parameters",a)}return e}getParameters(e){var t={};try{var r,n,i,a=null;if(!e&&null!==(r=this.props)&&void 0!==r&&null!==(n=r.website)&&void 0!==n&&null!==(i=n.page)&&void 0!==i&&i._id&&(e=this.props.website.page._id),e)for(var o of(Array.isArray(e)||(e=[e]),e)){if(e&&void 0!==this.props.website&&"undefined"!==this.props.website.parameterValues&&this.props.website.parameterValues){var s=this.props.website.parameterValues;void 0!==s[o]&&(a=s[o])}if(a)break}if(a){if(void 0===this.props.website.page.parameters)return a;for(var l of this.props.website.page.parameters)t[l.name]=l.default,t[l.name]=this.getCorrectParameterValues(l,a[l.name])}}catch(u){console.info("Problem in filling Parameters",u)}return t}getMinimumTemplateVarsFromRoot(e,t){var r=this.getParameters(t);return p(p(p({},this.props&&this.props.additionalData?this.props.additionalData:{}),r),{},{parameters:r})}getTemplateVars(e){var t=this.getParameters(e);return p(p(p(p(p(p(p({},this.templateVars),this.props.website),this.props&&this.props.website.page?this.props.website.page:{}),{},{page:this.props&&this.props.website.page?this.props.website.page:{}},this.props&&this.props.additionalData?this.props.additionalData:{}),{},{parameters:t},this.getLocalTemplateVars()),this.getExtendedQueryData()),t)}compile(e){try{if(Array.isArray(e))return e.map(e=>this.compile(e));if(void 0!==e&&null!=e&&"string"==typeof e&&e.includes("{{")){var t,r;return a.f4.compile(e)(this.getTemplateVars())}}catch(n){console.error(this===null||void 0===this?void 0:null===(t=this.props)||void 0===t?void 0:null===(r=t.website)||void 0===r?void 0:r.domain,"Error in compilation",n)}return e}
1lightenDarkenColor(e,t){var r=!1;"#"==e[0]&&(e=e.slice(1),r=!0);var n=parseInt(e,16),i=(n>>16)+t;i>255?i=255:i<0&&(i=0);var a=(n>>8&255)+t;a>255?a=255:a<0&&(a=0);var o=(255&n)+t;return o>255?o=255:o<0&&(o=0),(r?"#":"")+this.convertHex((o|a<<8|i<<16).toString(16))}namedColorsToHex(e){return"black"===e?"#000000":"white"===e?"#ffffff":e}removeAfromRGBA(e){return e&&Array.isArray(e)&&4===e.length?"".concat(e[0],", ").concat(e[1],", ").concat(e[2]):null}convertHex(e){return e.length<6?e.padStart(6,"0"):e}RGBToHex(e){if(e&&"string"==typeof e&&e.startsWith("#"))return 9===e.length?e.substring(0,7):e;if("string"!=typeof e)return console.log("RGB value is not a string:",e),"#000000";var t=e.indexOf(",")>-1?",":" ",r=(+(e=e.substr(4).split(")")[0].split(t))[0]).toString(16),n=(+e[1]).toString(16),i=(+e[2]).toString(16);return 1==r.length&&(r="0"+r),1==n.length&&(n="0"+n),1==i.length&&(i="0"+i),"#"+r+n+i}generateAltColors(e){var t=[];if(e){e.startsWith("#")&&9===e.length&&(e=e.substring(0,7));for(var r=0;r<10;r++){var n=Math.floor(10*r),i=this.lightenDarkenColor(e,-n);t.push({alt:(100-n).toString(),color:i,contrastStyledColor:this.getContrast(i),contrastColor:this.getContrast(i)})}for(var a=0;a<20;a++){var o=Math.floor(10*a),s=this.lightenDarkenColor(e,o);t.push({alt:(100+o).toString(),color:s,contrastColor:this.getContrast(s),contrastStyledColor:this.getContrast(s)})}}return t}getMasterTheme(){if(this.props.website){if(this.props.website.theme)return Array.isArray(this.props.website.theme)?this.props.website.theme[0]:this.props.website.theme}else console.error("A component has no website object - error in code!");return null}getThemePropSingle(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=!(arguments.length>2)||void 0===arguments[2]||arguments[2],n=this.getThemeProp(e,t,r);if(void 0!==n&&null!=n)return Array.isArray(n)?n.length>0&&"string"==typeof n[0]&&r?this.compile(n[0]):n[0]:"string"==typeof n&&r?this.compile(n):n;return r?this.compile(t):t}getThemeProp(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=!(arguments.length>2)||void 0===arguments[2]||arguments[2],n=(0,a.Mq)(this.getMasterTheme(),e,null,(e,t,r,n,i)=>this.extractDataOnMappedElement(e,t,r,n,i));return this.isEmptyString(n)?r?this.compile(t):t:r?this.compile(n):n}getPropSingle(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=!(arguments.length>2)||void 0===arguments[2]||arguments[2],n=this.getProp(e,t,r);if(n){if(!Array.isArray(n))return n;if(n.length>0)return this.compile(n[0])}return r?this.compile(t):t}extractDataOnMappedElement(e,t,r,n,i){var o=null;if(i){var s=[],l=n.split(".");if(l.length>1)for(var u=0;u<l.length-1;
1u++)i[l[u]]&&i[l[u]]._id&&s.push(i[l[u]]._id);o=this.getTemplateVars(s)}return o||(o=this.getTemplateVars()),a.Im.replaceConditionalProp(e,t,o)}getComponentName(){return this.props.content&&this.props.content.componentName?this.props.content.componentName:this.constructor.name}getDesignComponentStyle(e,t){if(this.props&&this.props.website&&this.props.website.activeDesign)try{var r=this.props.website.activeDesign.componentDesigns;if(r&&Array.isArray(r))for(var n of r){var i=n.designVariant&&Array.isArray(n.designVariant)&&n.designVariant.length>0?n.designVariant[0]:null,o=n.Component&&Array.isArray(n.Component)&&n.Component.length>0?n.Component[0]:null;if(o&&(o=o.split(".").slice(-1).join(""))&&o.toLowerCase()===this.getComponentName().toLowerCase()&&i===t)return(0,a.Mq)(n,e)}}catch(s){console.error("Problem with extracting data",s)}return null}getProp(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=!(arguments.length>2)||void 0===arguments[2]||arguments[2],n=null;if(e&&e.toLowerCase().startsWith("cssattribute")){var i=this.getProp("designvariant",null);i&&Array.isArray(i)&&(i=i.length>0?i[0]:null),e.split(".")[0];var o=this.getDesignComponentStyle(e,i);o&&(t=o)}try{n=(0,a.Mq)(p(p({},this.props.additionalData),this.props.content),e,null,(e,t,r,n,i)=>this.extractDataOnMappedElement(e,t,r,n,i)),e.toLowerCase().startsWith("cssattribute")&&null!==(s=n)&&void 0!==s&&s.mergeStylesWithComponentDesign&&(n=p(p({},t),n));var s,l=[];if(this.props.content&&void 0!==this.props.content.dynamicDataMapping){var u=!1,c=this.props.content.dynamicDataMapping.filter(t=>t.field.toLowerCase()==e.toLowerCase());if(c&&c.length>0){n||(n=[]);var d=this.shouldReturnRawElement(e);for(var h of c){var f=this.executeDynamicQuery(h,d);if(null===f&&1===c.length){u=!0;break}if(f){if(!Array.isArray(f)){if(r)return this.compile(f);return f}l.push(...f)}}if(!u){if(r)return this.compile([...n,...l]);return[...n,...l]}}}}catch(g){console.info(g)}if(this.isEmptyString(n)){var b=this.getLayoutProp(e,null);if(!this.isEmptyString(b))return b;var v=this.getThemeProp(e,null);if(!this.isEmptyString(v))return v;var m=this.getContentProp(e,null);if(!this.isEmptyString(m))return m}if(!this.isEmptyString(n)){if(r)return this.compile(n);if(!this.isEmptySizeObject(n))return n}return r?this.compile(t):t}isEmptySizeObject(e){return"px"===e||"pt"===e||"vw"===e||"vh"===e||"em"===e||"rem"===e||"ex"===e||"ch"===e||"cm"===e||"mm"===e||"%"===e}renderRepeatable(e,t,r,n){try{return t.map((t,i)=>{try{return n((0,u.jsx)(e,{path:this.props?this.props.path:null,wrapParentId:!0,id:t._id?t._id+"_"+i:this.getId()+"_"+i,additionalData:{element:t},content:r,interface:this.props.interface,website:this.props.website,layout:this.props.layout,noinlineEditor:this.props.noinlineEditor},t._id?t._id+"_"+i:this.getId()+"_"+i),i,t)}catch(a){}return null})}catch(i){console.info(i)}return null}getImage(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"webp";e&&null!=e&&e.useOriginal&&(t=null);var r=m(e,t);return r&&Array.isArray(r)&&r.length>0?r[0]:r}generateAttributesFromString(){for(var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",r=/([\w-]+)=['"]([^'"]*)['"]|([\w-]+)=([^ ]+)|([\w-]+)/g,n={};null!==(e=r.exec(t));)e[1]?n[e[1]]=e[2]:e[3]?n[e[3]]=e[4]:e[5]&&(n[e[5]]="true");return n}getCurrentNavigation(){return this.props.currentNavigation}getNavigationFlat(){return this.props.navigation&&Array.isArray(this.props.navigation)?this.props.navigation:[]}getCurrentNavigationPath(e){var t=[];return!e||(e=this.getNavigationFlat().find(t=>t._id===e._id))||(e=null),void 0===e&&(e=this.getCurrentNavigation()),e&&(t.push(e),e.parentItem&&t.splice(0,0,...this.getCurrentNavigationPath(e.parentItem))),t}getExtendedQueryData(){var e;return{current_url:this.props.path?this.props.path.split("?")[0]:null,current_navigation:this.props.currentNavigation}}executeDynamicQuery(e,t){var r=this.props&&this.props.website&&this.props.website.page?this.props.website.page:{},n=this.props&&this.props.additionalData?this.props.additionalData:{},i=n&&n.element?n.element:null,o={};this.props.website.parameterValues&&this.props.website.parameterValues[r._id]&&(o=this.props.website.parameterValues[r._id]);var s=this.getParameterObjects(),l=p(p(p(p(p(p({},this.props.content),this.props.website),r),n),{},{website:this.props.website,element:i,parameters:s},o),this.getExtendedQueryData()),u=new a.oU(l,t);if(e.query&&null!=e.query.text&&null===e.query.select){try{if(e.query.text.trim().length<=0)return null;var c=(0,a.Mq)(l,e.query.text,null,(e,t,r,n,i)=>
1this.extractDataOnMappedElement(e,t,r,n,i));if(c)return c}catch(d){}try{return this.compile(e.query.text)}catch(h){}}return u.query(e,(e,t,r,n,i)=>this.extractDataOnMappedElement(e,t,r,n,i))}removeSpaces(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return""!==e?e.replace(/\s\s+/g," ").trim():e}camelToKebab(e){return Array.isArray(e)&&e.length>0&&"string"==typeof e[0]?e[0].replace(/([A-Z])/g,e=>"-".concat(e[0].toLowerCase())):"string"==typeof e&&e.length>0?e.replace(/([A-Z])/g,e=>"-".concat(e[0].toLowerCase())):e}shouldReturnRawElement(e){var t=this.getProp(e+"Content");return!!t&&!!(t.length>0)}}},15590:function(e,t,r){"use strict";r.d(t,{Po:function(){return u.ZP},f4:function(){return i.f4},Im:function(){return i.Im},Km:function(){return l},QQ:function(){return c}});var n=r(59499),i=r(50834);function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach(function(t){(0,n.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var s=r(15386);class l{constructor(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;(0,n.Z)(this,"_website",void 0),(0,n.Z)(this,"_editorData",null),(0,n.Z)(this,"_path",null),(0,n.Z)(this,"development",!1),(0,n.Z)(this,"_editorMode",!1),(0,n.Z)(this,"_templateVars",null),this.development=e,this._website=t,this._website.headerNavigation=this.appendPreviewData(this._website.headerNavigation),this._website.footerNavigation=this.appendPreviewData(this._website.footerNavigation),this._path=this.extractCorrectPath(r),this._editorMode=this.checkEditorMode(r)}checkEditorMode(e){return!1}isStartpage(){return this.getCurrentPage()==this._website.startpage||!!this._path&&("/"===this._path.replace(/\/\//g,"/")||"/home"===this._path.replace(/\/\//g,"/").toLowerCase())}initializeTemplateVars(){this._templateVars=this._website}getTemplateVars(){return this._templateVars||this.initializeTemplateVars(),this._templateVars}isSubpage(){return!this.isStartpage()}setDevelopment(e){this.development=e}extractCorrectPath(e){if(e){var t=e.split("?")[0];return t.split("#")[0]}return e}extractPagesFromNavigation(e){for(var t of e)void 0!==t.related&&null!=t.related&&this._website.pages.push(t.related),null!=t.items&&t.items.length>0&&this.extractPagesFromNavigation(t.items)}getEditorDataPages(){if(this.isDevelopment()&&null!=this._editorData&&void 0!==this._editorData){for(var e of this._editorData.navigation)if(null!=e&&void 0!==e.pageContent||null!=e&&void 0!==e.Content||null!=e&&void 0!==e.content)return e}return null}getDevelopmentFakePage(){var e=null;if(this.isDevelopment()&&null!=this._editorData&&void 0!==this._editorData)for(var t of this._editorData.navigation)null!=t&&void 0!==t.pageContent&&(e=t),null!=t&&void 0!==t.Content&&((e=t).pageContent=t.Content),null!=t&&void 0!==t.content&&((e=t).pageContent=t.content);return e}getDevelopmentContent(){var e=null;if(this.isDevelopment()&&null!=this._editorData&&void 0!==this._editorData)for(var t of this._editorData.navigation)null!=t&&void 0!==t.pageContent&&(e=t.pageContent),null!=t&&void 0!==t.Content&&(e=t.Content),null!=t&&void 0!==t.content&&(e=t.content);return e}setup(){return new Promise(e=>e())}isDevelopment(){return this.development}getEditorData(){return this._editorData}setEditorData(e){this._editorData=e,null!=this.getEditorData()&&(this._path=this.getFakedHeaderNavigationForEditorData())}getNavigationByPath(e){if(void 0===e||null==e||e&&e.length<=1)return null;var t=[];try{if(this.getNavigationFlat())for(var r of this.getNavigationFlat())void 0!==r.url&&null!=r.url&&r.url.length>0&&t.push({element:r,path:r.url});if(this.getFooterNavigation())for(var n of this.getFooterNavigation())void 0!==n.url&&null!=n.url&&n.url.length>0&&t.push({element:n,path:n.url})}catch(i){console.error("Error in fetching navigation Elements",i)}if(t.length<=0)return null;try{var a=s.findBestMatch(e,t.map(e=>e.path));if(a.bestMatch){var o=t.find(e=>e.path==a.bestMatch.target);if(o)return o.element}}catch(l){console.error("ERror in similarity check",l)}return null}getPageByPath(e){if(this._website.pages&&Array.isArray(this._website.pages)){var t=this.getNavigationByPath(e);if(t){var r=null;if(null!=t.relatedPage&&void 0!==t.relatedPage&&(r=Array.isArray(t.relatedPage)?t.relatedPage[0]:t.relatedPage),r){var n=this._website.pages.find(e=>e._id==r._id);if(n)return n}}if(this._website.startpage&&Array.isArray(this._website.startpage)&&this._website.startpage.length>0)return this._website.pages.find(e=>e._id==(void 0!==this._website.startpage[0]._id)?this._website.startpage[0]._id:this._website.startpage[0])}return null}getModelElementByPath(e){if(e.includes("/")&&e.split("/").length>2){var t=e.split("/")[1],r=e.split("/")[2],n=(0,i.Mq)(this._website,t);if(n&&Array.isArray(n)){for(var a of n)if(r.startsWith(a._id)||r.endsWith(a._id)||r.includes(a._id))return a}}return null}getCurrentPage(){var e=null;if(this._website.page)return this._website.page;if(void 0!==this._path&&null!=this._path&&"/"!=this._path){var t=this.getModelElementByPath(this._path);if(t)return t;e=this.getPageByPath(this._path)}return e||(Array.isArray(this._website.startpage)&&this._website.startpage.length>0?this._website.startpage[0]:this._website.startpage)}isEditor(){return this._editorMode}getFakedHeaderNavigationForEditorData(){try{var e=this.getEditorDataPages();if(e){for(var t of this._website.headerNavigation)if(t.relatedPage&&t.relatedPage._id===e._id)return t.url;for(var r of this._website.footerNavigation)if(r.relatedPage&&r.relatedPage._id===e._id)return r.url;if(e.modelUrl)return e.modelUrl}}catch(n){}return null}getCurrentNavigation(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=null;if(null!=this._path&&"/"!=this._path&&(t=this.getNavigationByPath(this._path)))return t;if(e&&this.getNavigationFlat()){for(var r of this.getNavigationFlat())if(r.relatedPage&&r.relatedPage._id===e._id)return r}if(e&&this.getNavigationFlat())for(var n of this.getNavigationFlat()){var i=n.url?n.url.split("?")[0].split("#")[0]:null;if(i&&e.permalink&&e.permalink.toLowerCase()===i.toLowerCase())return n}return!t&&this.getNavigationFlat()&&this.getNavigationFlat().length>0?this.getNavigationFlat()[0]:this.getNavigationByPath("/")}appendPreviewData(e){if(e&&Array.isArray(e))for(var t of e)t&&null!=t.url&&!t.url.includes("preview")?t.url=t.url+this.getQueryPreview():null==t.url&&"string"!=typeof t&&(t.url="/"+this.getQueryPreview());return e}getQueryPreview(){return this.isDevelopment()?"?preview="+this._website._id:""}getFooterNavigation(){return this._website.footerNavigation?this._website.footerNavigation:[]}getNavigationFlat(){return this._website&&this._website.headerNavigation&&Array.isArray(this._website.headerNavigation)?this._website.headerNavigation:[]}getChildsFromTree(e,t){var r=[],n=e.filter(e=>null!=t&&null!=e.parentItem&&(!!e.parentItem._id&&!!t._id&&e.parentItem._id==t._id||null!=t.ref_orig&&e.parentItem._id===t.ref_orig||null!=t.ref&&e.parentItem.ref===t._id||null!=t.ref&&e.parentItem.ref===t.ref));for(var i of n){if(null===i||"object"!=typeof i){r.push(i);continue}var a=o({},i);r.push(a),a.items=this.getChildsFromTree(this.getNavigationFlat(),a)}return r}getNavigationTree(){var e=[],t=this.getNavigationFlat();if(t&&t.filter){var r=t.filter(e=>null==e.parentItem);for(var n of r){if(null===n||"object"!=typeof n){e.push(n);continue}var i=o({},n);e.push(i),i.items=this.getChildsFromTree(this.getNavigationFlat(),i)}}return e}getData(){return this._website}static getComponentFromReferenceTable(e){var t=e;for(var r of this.componentDirectoryNames)t=t.replace(r,"");return t}getMasterDesign(){return this._website.activeDesign?Array.isArray(this._website.activeDesign)?this._website.activeDesign[0]:this._website.activeDesign:null}generateLayoutList(e){try{var t=null;if("string"==typeof e?Array.isArray(this.getMasterDesign()[e])&&this.getMasterDesign()[e].length>0&&(t=this.getMasterDesign()[e]):t=[e],null!=t)return t.map(e=>e).filter(e=>null!=e)}catch(r){console.error(r)}return[]}generateLayout(e){try{var t=null;if("string"==typeof e?Array.isArray(this.getMasterDesign()[e])&&this.getMasterDesign()[e].length>0&&(t=this.getMasterDesign()[e][0]):t=e,null!=t&&(t.__component=l.getComponentFromReferenceTable(t.kind),null!=t.__component)){var r=l.convertToComponentName(t.__component);return{componentName:l.convertFullname(r),attributes:t}}}catch(n){console.error(n)}return null}static capitalizeFirstLetter(e){return e.charAt(0).toUpperCase()+e.slice(1)}static capitalizeWords(e){return e.replace(/(?:^|\s)\S/g,function(e){return e.toUpperCase()})}getLayoutPopup(){return this.generateLayout("popUp")}getLayoutOverlay(){return this.generateLayoutList("overlays")}
1getLayoutDrawers(){return this.generateLayout("drawers")}getLayoutHeader(){return this.generateLayout("header")}getTheme(){return this._website.theme}getLayoutFooter(){return this.generateLayout("footer")}static convertToComponentName(e){if(e.includes(".")){var t=e.split(".")[1];return this.convertFullname(t)}return e}static convertFullname(e){try{e=l.capitalizeFirstLetter(l.capitalizeWords(e.replace(/(\-)/g," "))).replace(/\s/g,"")}catch(t){}return e}static fromJSON(e){return new l(e.development,e.website,e.path)}getBreadcrumbs(e){var t,r=[],n=this.getNavigationPath(e);if(n)for(var i of n.reverse())r.push({name:null!==(t=null==i?void 0:i.name)&&void 0!==t?t:null==i?void 0:i.title,url:i.url});if(r.length<=0&&e.permalink){var a=e.permalink.split("/"),o="";for(var s of a)s.length<=0||(o=o.length>0?o+"/"+s:s,r.push({name:l.capitalizeFirstLetter(s),url:"/"+o}))}return r}getNavigationPath(e){for(var t=e,r=[];null!=t;){var n=!1;for(var i of[...this.getNavigationFlat(),...this.getFooterNavigation()])if(i.relatedPage&&(i.relatedPage._id==t._id||i.relatedPage.ref_orig==t._id)||i._id===t._id||i.ref_orig===t._id){r.push(i),n=!0,t=i.parentItem?i.parentItem:null;break}if(n||(t=null),r.length<=0)break}return r}}(0,n.Z)(l,"componentDirectoryNames",["ComponentContent","ComponentOther","ComponentNavigation","ComponentMobileNavigation","ComponentDevelop","ComponentHeader","ComponentFooter","ComponentOverlays"]);var u=r(68930);function c(e){if(e){if(e.pageContent)return e.pageContent;if(e.content)return e.content}}},76647:function(){}}]);

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.