1"use strict";(self.webpackChunkzeiss_greenfield_aem=self.webpackChunkzeiss_greenfield_aem||[]).push([["33916"],{31831:function(e,t,o){o.r(t),o.d(t,{default:()=>c});var l,i=o(56821),s=o(87342),r=o(89665),_=o(85429);let n=".footer-tabs__tab",a=l=class extends r.hp{get is_mobile(){return"small"===_.Z.breakpoint}constructor(e){super(e),this.footer_accordions=[],this.$footer_tabs_nodes=[],this._attach_events=()=>{var e,t;for(let t of this.footer_accordions)null==(e=t.$root)||e.addEventListener("click",this._handle_footer_items_click);null==(t=this.$footer_tabs_nodes)||t.forEach(e=>{e.addEventListener("click",this._handle_footer_items_click)})},this._remove_events=()=>{var e,t;for(let t of this.footer_accordions)null==(e=t.$root)||e.removeEventListener("click",this._handle_footer_items_click);null==(t=this.$footer_tabs_nodes)||t.forEach(e=>{e.removeEventListener("click",this._handle_footer_items_click)})},this._show_footer_ai_label=()=>{var e;(null==(e=this.$footer_ai_label)?void 0:e.hidden)&&(this.$footer_ai_label.hidden=!1,this.$footer_ai_label.classList.remove("footer__ai-label--hidden"))},this._handle_footer_items_click=e=>{let t=e.target,o=null,s=!!t.closest('[data-module="FooterCountrySwitch"]');t.closest(i.Kw)?o=t.closest(i.Kw):t.closest(n)&&(o=t.closest(n)),s||(this._close_all_accordions(o),l._scroll_to_item(o),this._close_all_footer_tabs(o))},this._close_all_footer_tabs=e=>{var t,o;null==(o=null==(t=this.footer_tabs_module)?void 0:t.$tabs)||o.forEach(t=>{var o,l;t!==e&&(null==(l=null==(o=this.footer_tabs_module)?void 0:o.close_tab_content)||l.call(o,t,!0))})},this._close_all_accordions=e=>{for(let t of this.footer_accordions){let o=t.$root;if(o!==e){let e=null==o?void 0:o.querySelectorAll(i.RP);null==e||e.forEach(e=>{null===i.ZP||void 0===i.ZP||i.ZP.close_content_container(e)})}}},this.$node=e}disconnect(e){this._remove_events(),window.removeEventListener(s.xK,this._show_footer_ai_label),super.disconnect(e)}loaded(e){super.loaded(e),this.init_footer_accordions(),this.init_footer_tabs(),this.init_ai_label(),this.is_mobile&&this._attach_events()}init_footer_accordions(){var e,t;for(let o of null!=(t=null==(e=this.$node)?void 0:e.querySelectorAll(i.Kw))?t:[])this.footer_accordions.push(r.lE.module_instance_from_node(o))}init_footer_tabs(){var e,t,o;this.$footer_tabs_wrapper=null==(e=this.$node)?void 0:e.querySelector('[data-module="FooterTabs"]'),this.$footer_tabs_wrapper&&(this.footer_tabs_module=r.lE.module_instance_from_node(this.$footer_tabs_wrapper)),this.$footer_tabs_nodes=Array.from(null!=(o=null==(t=this.$footer_tabs_wrapper)?void 0:t.querySelectorAll(n))?o:[])}init_ai_label(){var e;this.$footer_ai_label=null==(e=this.$node)?void 0:e.querySelector('[data-js-select="Footer_ai-label"]'),(0,s.nU)()?this._show_footer_ai_label():window.addEventListener(s.xK,this._show_footer_ai_label)}resize_observed(){this.is_mobile?this._attach_events():this._remove_events()}};a._scroll_to_item=e=>{let t=.4*(_.Z.aem_edit_mode?2e3:1e3);window.setTimeout(()=>{var t,o,l;let i=document.documentElement.scrollTop,s=e.getBoundingClientRect().top,r=null==(t=document.querySelector(".main-header"))?void 0:t.clientHeight,n=i+(s-(null!=r?r:0));_.Z.aem_edit_mode?null==(l=null==(o=window.parent)?void 0:o.document.getElementById("ContentScrollView"))||l.scroll({top:n,behavior:"smooth"}):window.scrollTo({top:n,behavior:"smooth"})},t)};let c=a=l=function(e,t,o,l){var i,s=arguments.length,r=s<3?t:null===l?l=Object.getOwnPropertyDescriptor(t,o):l;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,o,l);else for(var _=e.length-1;_>=0;_--)(i=e[_])&&(r=(s<3?i(r):s>3?i(t,o,r):i(t,o))||r);return s>3&&r&&Object.defineProperty(t,o,r),r}([r.lE.register("Footer"),r.Sp],a)}}]);
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.