1(globalThis.webpackChunk_inventis_front_end_boilerplate=globalThis.webpackChunk_inventis_front_end_boilerplate||[]).push([[474],{4732:(e,o,t)=>{var n={"./base/document-component-loader.js":[8546],"./components/call-to-action/call-to-action.js":[7677,677],"./components/cookie-consent/cookie-consent.js":[6711,711],"./components/dropdown/dropdown.js":[2021,21],"./components/faq/faq-item.js":[693,693],"./components/filter/clear-date.js":[881,881],"./components/filter/filter.js":[4349,349],"./components/form/form.js":[7184,184],"./components/gallery/gallery.js":[877,128,877],"./components/iframe/iframe.js":[5731,731],"./components/language-selection/language-selection.js":[2061,61],"./components/oembed/OEmbedParser.js":[7064,64],"./components/oembed/oembed.js":[595,64],"./components/page-header/menu-toggle.js":[8408,408],"./components/page-header/search.js":[8092,92],"./components/video/video-banner.js":[500,660,500],"./components/video/video.js":[3917,660,917]};function s(e){if(!t.o(n,e))return Promise.resolve().then(()=>{var o=new Error("Cannot find module '"+e+"'");throw o.code="MODULE_NOT_FOUND",o});var o=n[e],s=o[0];return Promise.all(o.slice(1).map(t.e)).then(()=>t(s))}s.keys=()=>Object.keys(n),s.id=4732,e.exports=s},8546:(e,o,t)=>{"use strict";t.r(o),t.d(o,{ComponentLoader:()=>r});class n{options={observerSelector:"[data-component-observe]"};componentLoader;observers=new WeakMap;constructor(e,o={}){this.options={...this.options,...o},this.componentLoader=e}createObserversWithin(e){e.querySelectorAll(this.options.observerSelector).forEach(e=>this.createObserverForElement(e))}destroyObserversWithin(e){e.querySelectorAll(this.options.observerSelector).forEach(e=>this.destroyObserverForElement(e))}createObserverForElement(e){if(this.observers.has(e))throw new Error("Element already has an active component observer, cannot attach another to the same element.");const o=new MutationObserver(e=>e.forEach(e=>this.handleMutation(e)));o.observe(e,{childList:!0,subtree:!0}),this.observers.set(e,o)}destroyObserverForElement(e){this.observers.has(e)&&(this.observers.get(e).disconnect(),this.observers.delete(e))}handleMutation(e){e.addedNodes.forEach(e=>{e instanceof HTMLElement&&this.componentLoader.loadComponents(e)}),e.removedNodes.forEach(e=>{e instanceof HTMLElement&&(this.destroyObserverForElement(e),this.componentLoader.destroyComponents(e))})}}class s{components=new WeakMap;options={componentSelector:"[data-component]",componentDatasetName:"component",observerOptions:{}};observer;constructor(e={}){this.options={...this.options,...e},this.observer=new n(this,this.options.observerOptions)}loadComponentsWithin(e,o=!0){this.findElementsWithComponentDefinition(e,!1).forEac
1h(e=>this.loadComponentForElement(e)),o&&this.observer.createObserversWithin(e)}loadComponents(e,o=!0){this.findElementsWithComponentDefinition(e,!0).forEach(e=>this.loadComponentForElement(e)),o&&this.observer.createObserversWithin(e)}destroyComponentsWithin(e){this.findElementsWithComponentDefinition(e,!1).forEach(e=>this.destroyComponentForElement(e))}destroyComponents(e){this.findElementsWithComponentDefinition(e,!0).forEach(e=>this.destroyComponentForElement(e))}async loadComponentForElement(e,o=null){if(this.components.has(e))throw new Error("Element already has a component instance.");let t=null===o?this.getComponentDefinition(e):o;const n=(await this.importComponent(t)).default(e);return this.components.set(e,n),n}destroyComponentForElement(e){if(!this.components.has(e))return;const o=this.components.get(e);this.components.delete(e),"function"==typeof o.destroy&&setTimeout(()=>o.destroy(),0)}importComponent(e){throw new Error(`Can't import component "${e}". You have to extend this class and implement the method importComponent!`)}findElementsWithComponentDefinition(e,o){const t=[...e.querySelectorAll(this.options.componentSelector)];return o&&null!==this.getComponentDefinition(e)&&t.unshift(e),t}getComponentDefinition(e){return this.options.componentDatasetName in e.dataset?e.dataset[this.options.componentDatasetName]:null}}class r extends s{namespaces={};importComponent(e){let o="components",n=e;const s=e.indexOf(":");if(-1!==s){const t=e.substring(0,s);if(!Object.hasOwn(this.namespaces,t)){if(!t.endsWith("bundle"))throw new Error(`Namespace "${t}" is not known to the component loader. Is it defined?`);{let e=t.slice(0,-6);this.namespaces[t]=`${e}-bundle/components`}}o=this.namespaces[t],n=e.substring(s+1)}return t(4732)(`./${o}/${n}.js`)}}(new r).loadComponents(window.document.body)}},e=>{var o;o=8546,e(e.s=o)}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.