1(()=>{var __webpack_modules__={6624(__unused_webpack_module,exports,__webpack_require__){"use strict";exports.GsSlider=void 0;const ABaseModule_1=__webpack_require__(2372),SchaufensterWidget_1=__webpack_require__(1859),GcButton_1=__webpack_require__(7153);class GsSlider extends ABaseModule_1.ABaseModule{static getHtmlString(json,fragmentName,arrowColor,teilnehmerid,realID,anlieferer){return`<div class="mod mod-GsSlider mod-GsSlider--${arrowColor}">\n\t\t\t\t\t${GsSlider.getItems(json,fragmentName,teilnehmerid,realID,anlieferer)}\n\t\t\t\t</div>`}static getItems(json,fragmentName,teilnehmerid,realID,anlieferer){let widgetsString="";return json.forEach((item,key)=>{"SchaufensterWidget"===fragmentName&&(widgetsString+=SchaufensterWidget_1.SchaufensterWidget.getHTMLString(item,key,teilnehmerid,realID,anlieferer)),"GcButton"===fragmentName&&(widgetsString+=GcButton_1.GcButton.getHtmlString(item))}),widgetsString}constructor(element){super(element),this.MOD_GSSLIDER__ARROW="mod-GsSlider__arrow",window.matchMedia("(pointer: coarse)").matches||element.getElementsByClassName("mod-GsSlider__slider").length||(this.modSlider=document.createElement("div"),this.arrowLeft=this.createArrow("left"),this.arrowRight=this.createArrow("right"),this.slider=this.element,this.insertSliderElement(),this.init())}insertSliderElement(){this.modSlider.className=this.slider.className,this.slider.className="mod-GsSlider__slider",this.modSlider.style.overflow="hidden",this.slider.parentNode.insertBefore(this.modSlider,this.slider),this.modSlider.appendChild(this.slider),this.modSlider.appendChild(this.arrowLeft),this.modSlider.appendChild(this.arrowRight)}createArrow(direction){const localArrow=document.createElement("span");return localArrow.classList.add(this.MOD_GSSLIDER__ARROW),localArrow.setAttribute("data-direction",direction),localArrow.setAttribute("data-show","false"),localArrow}init(){this.initSlider(!1)}initSlider(alreadyInitialized){!1===alreadyInitialized&&window.addEventListener("resize",()=>{this.initSlider(!0)}),this.initElement()}initElement(){this.initArrows(),this.bindClickListeners(),this.slider.setAttribute("data-initialized","true")}initArrows(){this.slider.offsetWidth>=this.modSlider.offsetWidth?(this.showHideArrows(),this.slider.addEventListener("scroll",()=>{this.showHideArrows()})):(this.arrowLeft.setAttribute("data-show","false"),this.arrowRight.setAttribute("data-show","false"))}showHideArrows(){this.slider.scrollLeft<1?this.arrowLeft.setAttribute("data-show","false"):this.arrowLeft.setAttribute("data-show","true"),this.slider.scrollWidth-this.slider.clientWidth-this.slider.scrollLeft<5?this.arrowRight.setAttribute("data-show","false"):this.arrowRight.setAttribute("data-show","true")}bindClickListeners(){if(0===this.slider.children.length)return;const scrollBy=this.slider.children[0].scrollWidth/100*70;let offset=0;this.modSlider.addEventListener("click",event=>{if(!event.target.classList.contains(this.MOD_GSSLIDER__ARROW))return;const direction=event.target.getAttribute("data-direction");"left"===direction?offset=-1:"right"===direction&&(offset=1),this.slider.scrollBy({top:0,left:offset*scrollBy,behavior:"smooth"})})}}exports.GsSlider=GsSlider},4816(__unused_webpack_module,exports,__webpack_require__){"use strict";exports.Consentmanager=void 0;const WipeTracking_1=__webpack_require__(9895);class Consentmanager{static get instance(){return this.privateInstance||(this.privateInstance=new Consentmanager),this.privateInstance}static hasConsent(element){if(!element.hasAttribute("data-cmp-vendor"))return!0;const cmpData=Consentmanager.getCmpData();if(!cmpData)return WipeTracking_1.WipeTracking.instance.logAction(this.loggingText),!1;const vendorId=element.getAttribute("data-cmp-vendor");return!!(""===vendorId||"vendorConsents"in cmpData&&vendorId in cmpData.vendorConsents&&cmpData.vendorConsents[vendorId])}static hasConsentForVendor(vendorId){const cmpData=Consentmanager.getCmpData();return cmpData?!!(cmpData.vendorConsents[this.KENNUNG_WIPE_ANALYSE]||""===vendorId||"vendorConsents"in cmpData&&vendorId in cmpData.vendorConsents&&cmpData.vendorConsents[vendorId]):(WipeTracking_1.WipeTracking.instance.logAction(this.loggingText),!1)}static waitForConsentChangeForVendor(vendorId,callback){__cmp("addEventListener",["consentapproved",()=>{callback(!0)},!1],null),__cmp("addEventListener",["consentrejected",()=>{callback(!1)},!1],null),__cmp("addEventListener",["consentcustom",()=>{callback(Consentmanager.hasConsentForVendor(vendorId))},!1],null),__cmp("addEventListener",["consent",()=>{callback(Consentmanager.hasConsentForVendor(vendorId))},!1],null)}static hasPurposeConsent(purposeId){const cmpData=Consentmanager.getCmpData();return cmpData?!!(""===purposeId||"purposeConsents"in cmpData&&purposeId in cmpData.purposeConsents&&cmpData.purposeConsents[purposeId]):(WipeTracking_1.WipeTracking.instance.logAction(this.loggingText),!1)}static showConsentScreen(){__cmp("showGDPRScreenAdvanced")}
1static getCmpData(){let i=0,cmpData=__cmp("getCMPData");if(cmpData)return cmpData;const cmpInterval=window.setInterval(()=>{if(cmpData=__cmp("getCMPData"),cmpData)return clearInterval(cmpInterval),cmpData;i++,100===i&&clearInterval(cmpInterval)},200);return cmpData}static update(){window.setTimeout(()=>{__cmp?__cmp("checkBlocking"):WipeTracking_1.WipeTracking.instance.logAction("Technisches Logging: !__cmp")},1e3)}constructor(){}init(){}}exports.Consentmanager=Consentmanager,Consentmanager.loggingText="Technisches Logging: !cmpData",Consentmanager.KENNUNG_WIPE_ANALYSE="c23721"},3287(__unused_webpack_module,exports,__webpack_require__){"use strict";exports.Lightbox=void 0;const ABaseModule_1=__webpack_require__(2372),Consentmanager_1=__webpack_require__(4816),WipeTracking_1=__webpack_require__(9895);class Lightbox extends ABaseModule_1.ABaseModule{static openWegwerfIframe(dataSrc,vendorId){const iframeWrapper=document.createElement("div"),iframe=document.createElement("iframe");if(iframeWrapper.classList.add("mod"),iframeWrapper.classList.add("mod-Lightbox"),iframeWrapper.id="modWegwerfIframe",!iframeWrapper.querySelector(this.closeSelector)){const CLOSE=document.createElement("span");CLOSE.setAttribute("tabindex","0"),CLOSE.classList.add(this.closeClassName),iframeWrapper.appendChild(CLOSE)}iframeWrapper.appendChild(iframe),iframe.setAttribute("data-cmp-vendor",vendorId),""===vendorId||Consentmanager_1.Consentmanager.hasConsent(iframe)?iframe.setAttribute("src",dataSrc):(iframe.classList.add("cmplazyload"),iframe.setAttribute("width","400"),iframe.setAttribute("height","400"),iframe.setAttribute("data-cmp-src",dataSrc),Consentmanager_1.Consentmanager.update()),new Lightbox(iframeWrapper,this.callBackOnClose,!0)}static openWegwerfIframeReserviermich(){const iframeWrapper=document.createElement("div");if(iframeWrapper.classList.add("mod"),iframeWrapper.classList.add("mod-Lightbox"),iframeWrapper.id="modWegwerfIframe",!iframeWrapper.querySelector(".mod-Lightbox__close")){const CLOSE=document.createElement("span");CLOSE.classList.add("mod-Lightbox__close"),CLOSE.setAttribute("tabindex","0"),iframeWrapper.appendChild(CLOSE)}new Lightbox(iframeWrapper,this.callBackOnClose,!0)}static callBackOnClose(){const lightbox=document.getElementById("modWegwerfIframe");lightbox.parentNode.removeChild(lightbox);lightbox.getElementsByTagName("iframe")[0].getAttribute("src").match("vermittlungsservice")&&WipeTracking_1.WipeTracking.instance.logAction("vs_klickstrecke_seitex_schlieÃen")}constructor(element,callBackOnClose,closeOnBackground){super(element),this.callBackOnClose=callBackOnClose,this.closeOnBackground=closeOnBackground,this.init()}init(){const that=this;window.addEventListener("message",function(e){e.origin.includes("gelbeseiten.de")&&"closeIframe"===e.data&&that.close()});const closeElement=this.element.getElementsByClassName("mod-Lightbox__close")[0];this.element.parentNode&&this.element.parentNode.removeChild(this.element),this.element.parentNode&&"body"===this.element.parentNode.tagName.toLowerCase()||document.getElementsByTagName("body")[0].appendChild(this.element),window.setTimeout(()=>{this.element.setAttribute("active","true"),Consentmanager_1.Consentmanager.update()},100),closeElement&&(closeElement.addEventListener("click",()=>{this.close()}),closeElement.addEventListener("keyup",e=>{"Enter"!==e.key&&" "!==e.key||this.close()})),this.closeOnBackground&&this.element.addEventListener("click",event=>{event.target===this.element&&this.close()})}close(){this.element.removeAttribute("active"),this.callBackOnClose(this.element)}}exports.Lightbox=Lightbox,Lightbox.closeSelector=".mod-Lightbox__close",Lightbox.closeClassName="mod-Lightbox__close"},7153(__unused_webpack_module,exports){"use strict";exports.GcButton=void 0;class GcButton{static getHtmlString(json){return"telefon"===json.type&&void 0===window.orientation?"":GcButton.getButtonString(json)}static getButtonString(json){return json.buchungsMoeglichkeit?GcButton.getButtonBuchungsMoeglichkeit(json):json.gcLink.href&&json.gcLink.zeigeModulAn?GcButton.getButtonLink(json):GcButton.getButtonSpan(json)}static getButtonSpan(json){let target="";return(document.body.classList.contains("trefferListeExtern")||json.gcLink.targetBlank)&&(target="_blank"),`<span\n\t\t\t\tclass="${json.gcLink.classAppend}"\n\t\t\t\tdata-wipe='${json.gcLink.dataWipe.replaceAll(""",'"')}'\n\t\t\t\tdata-isNeededPromise="${json.neededPromise}
1"\n\t\t\t\tdata-parameters='${json.parameters.replaceAll(""",'"')}'\n\t\t\t\tdata-target="${target}"\n\t\t\t\tdata-prg="${json.gcLink.href}"\n\t\t\t\t>\n\t\t\t\t\t${json.gcLink.text}\n\t\t\t\t</span>`}static getButtonLink(json){let target="";return(document.body.classList.contains("trefferListeExtern")||json.gcLink.targetBlank)&&(target="_blank"),`<span class="${json.gcLink.classAppend}"\n\t\t\t\t\tdata-wipe='${json.gcLink.dataWipe.replaceAll(""",'"')}'\n\t\t\t\t\tdata-isNeededPromise="${json.neededPromise}"\n\t\t\t\t\tdata-parameters='${json.parameters.replaceAll(""",'"')}'\n\t\t\t\t\tdata-cookieinfo="${json.dataCookieinfo}"\n\t\t\t\t\tdata-target="${target}"\n\t\t\t\t\tdata-prg="${json.gcLink.href}"\n\t\t\t\t\t>\n\t\t\t\t\t\t${json.gcLink.text}\n\t\t\t\t</span>`}static getButtonBuchungsMoeglichkeit(json){return"Terminwunsch"===json.buchungsMoeglichkeit.anbieter?`<span\n\t\t\t\tclass="gc-btn gc-btn--s buchung-btn ${json.gcLink.classAppend} ${json.buchungsMoeglichkeit.anbieter+"-btn"}"\n\t\t\t\tdata-wipe='${json.gcLink.dataWipe.replaceAll(""",'"')}'\n\t\t\t\tdata-layer-type="${json.buchungsMoeglichkeit.type}"\n\t\t\t\tdata-layer-name="${json.buchungsMoeglichkeit.anbieter}"\n\t\t\t\tdata-parameters='${json.parameters}'\n\t\t\t\tid="${json.gcLink.id}"\n\t\t\t>\n\t\t\t\t${json.gcLink.text}\n\t\t\t</span>`:`<span\n\t\t\tclass="contains-icon-${json.gcLink.text}\n\t\t\t\t\t${json.buchungsMoeglichkeit.anbieter}-btn gc-btn gc-btn--s buchung-btn"\n\t\t\tdata-wipe='${json.gcLink.dataWipe.replaceAll(""",'"')}'\n\t\t\tdata-layer-type="${json.type}"\n\t\t\tdata-layer-name="${json.buchungsMoeglichkeit.anbieter}"\n\t\t\tdata-layer-prg="${json.buchungsMoeglichkeit.iframeUrl}"\n\t\t\tdata-cmp-vendor="${"Doctena"===json.buchungsMoeglichkeit.anbieter?"c7334":""}"\n\t\t\tonclick="void(0);"\n\t\t\t>\n\t\t\t\t${json.buchungsMoeglichkeit.type}\n\t\t\t</span>`}}exports.GcButton=GcButton},7998(__unused_webpack_module,exports,__webpack_require__){"use strict";exports.LazyLoad=void 0;const Consentmanager_1=__webpack_require__(4816),ABaseModule_1=__webpack_require__(2372);class LazyLoad extends ABaseModule_1.ABaseModule{constructor(){super(document.getElementsByTagName("body")[0]),this.init()}init(){this.loadLazyImagesOnlyWhenScrolledTo()}loadLazyImagesOnlyWhenScrolledTo(){const lazyImages=[].slice.call(document.querySelectorAll("[data-lazy-cmp-src]"));if("IntersectionObserver"in window&&"isIntersecting"in IntersectionObserverEntry.prototype){const lazyImageObserver=new IntersectionObserver(entries=>{entries.forEach(entry=>{if(entry.isIntersecting){const lazyImage=entry.target;this.insertImage(lazyImage),lazyImageObserver.unobserve(lazyImage)}})},{rootMargin:"50px"});lazyImages.forEach(lazyImage=>{lazyImageObserver.observe(lazyImage)})}}insertImage(lazyImage){if("img"===lazyImage.tagName.toLowerCase()||"source"===lazyImage.tagName.toLowerCase()||"iframe"===lazyImage.tagName.toLowerCase()){const dataLazyCmpSrc=lazyImage.getAttribute("data-lazy-cmp-src");Consentmanager_1.Consentmanager.hasConsent(lazyImage)?this.setImageWhenConsentIsGiven(lazyImage,dataLazyCmpSrc):dataLazyCmpSrc&&(lazyImage.classList.add("cmplazyload"),lazyImage.setAttribute("data-cmp-src",dataLazyCmpSrc),Consentmanager_1.Consentmanager.update())}else if(lazyImage.dataset.lazyBgSrcset){const images=lazyImage.dataset.lazyBgSrcset.split(", "),breakpoint=lazyImage.datasetbreakpoint*(lazyImage.parentNode.childNodes.length-1);window.innerWidth<breakpoint?lazyImage.style.backgroundImage=`url('${images[0].split(" ")[0]}')`:lazyImage.style.backgroundImage=`url('${images[1].split(" ")[0]}')`}}setImageWhenConsentIsGiven(lazyImage,dataLazyCmpSrc){dataLazyCmpSrc&&(lazyImage.src=dataLazyCmpSrc)}}exports.LazyLoad=LazyLoad},8222(__unused_webpack_module,exports){"use strict";exports.TealiumTracking=void 0;class TealiumTracking{static get instance(){return this.privateInstance||(this.privateInstance=new TealiumTracking),this.privateInstance}static addClickToUtagDataLayer(clickedElement){if(!window.utag_data||"object"!=typeof window.utag||"function"!=typeof window.utag.link)return void console.error("--- GAP Clicks konnten nicht initialisert werden!");let tealiumEventObject={};const wipeData=JSON.parse(clickedElement.getAttribute("data-wipe"))||{};tealiumEventObject=this.fillTealiumEventObject(tealiumEventObject),tealiumEventObject.enh_action="product_click",tealiumEventObject.gap_prod_clickType=[wipeData.name],tealiumEventObject.id=wipeData.id,window.utag.link(tealiumEventObject)}static logPageView(){if(`; ${document.cookie}`.split("; __cmpconsentx15760=").length>1)return;"undefined"!=typeof __tcfapi&&__tcfapi("addEventListener",2,function(tcData,success){if(success&&tcData&&("tcloaded"===tcData.eventStatus||"useractioncomplete"===tcData.eventStatus)){const newObject=this.fillTealiumEventObject({});window.utag.view(newObject)}})}static addEsucheNettoToUtagDataLayer(pageType,logMessage){if(("trefferliste"!==pageType.toLowerCase()||!document.getElementsByClassName("mod-Treffer").length)&&"detailseite"!==pageType.toLowerCase())return;if("function"!=typeof Object.assign)return;const utagData=this.getCertainProperties(window.utag_data,this.getValidKeys()),pageViewDataTmp=document.querySelector("[data-wwa-wipe-pageview-data]")?document.querySelector("[data-wwa-wipe-pageview-data]").getAttribute("data-wwa-wipe-pageview-data"):"",pageViewData=this.getCertainProperties(pageViewDataTmp,this.getValidKeys()),utagDataNew=Object.assign(utagData,pageViewData);utagDataNew.ga_events=logMessage,window.utag.link(utagDataNew)}static fillTealiumEventObject(tealiumEventObject){return Array.prototype.forEach.call(this.getValidKeys(),value=>{"string"==typeof window.utag_data[value]&&(tealiumEventObject[value]=window.utag_data[value])}),tealiumEventObject}static getCertainProperties(objectToCheck,propertiesArray){if(!propertiesArray||"object"!=typeof objectToCheck)return{};const tempObj={};return propertiesArray.forEach(property=>{objectToCheck[property]&&(tempObj[property]=objectToCheck[property])}),tempObj}static getValidKeys(){return["gap_environment","gap_contentPath","gap_subdomain","gap_pageName","gap_pageType","gap_adSlots","r_total","gap_searchType","gap_searchSuccessType","gap_searchtermWhat","gap_searchtermWhere","gap_searchtermWhereId","gap_entryTypeWhat","gap_entryTypeWhere","pubNo","bookNo","q_cat","pagename"]}getCmpObject(tcData){return{cmpCCPA:"0",cmpConsentPurposes:`,${this.get
1StringFromArray(tcData.purpose.consents)}${this.getStringFromArray(tcData.customPurposeConsent)}`,cmpConsentString:tcData.tcString,cmpConsentVendors:`,${this.getStringFromArray(tcData.vendor.consents)}${this.getStringFromArray(tcData.customVendorConsents)}`,cmpCustomPurposeConsent:`,${this.getStringFromArray(tcData.customPurposeConsents)}`,cmpCustomVendorsConsent:`,${this.getStringFromArray(tcData.customVendorConsents)}`,cmpGDPR:tcData.gdprApplies?"1":"0",cmpGoogleVendorsConsent:`,${this.getStringFromArray(tcData.googleVendorConsents)}`,cmpIABUSP:"",cmpLIPurposes:`,${this.getStringFromArray(tcData.customPurposeConsents)}${this.getStringFromArray(tcData.purpose.consents)}`,cmpLIVendors:`,${this.getStringFromArray(tcData.customVendorConsents)}${this.getStringFromArray(tcData.vendor.consents)}`,cmpPurposesConsent:`,${this.getStringFromArray(tcData.purpose.consents)}`,cmpVendorsConsent:`,${this.getStringFromArray(tcData.vendor.consents)}`,event:"cmpEvent",tealium_event:"cmpEvent"}}getStringFromArray(dataArray){let returnString="";return dataArray.forEach((value,key)=>{returnString+=`${key},`}),returnString}constructor(){}init(){}}exports.TealiumTracking=TealiumTracking},9895(__unused_webpack_module,exports,__webpack_require__){"use strict";exports.WipeTracking=void 0;const TealiumTracking_1=__webpack_require__(8222),Consentmanager_1=__webpack_require__(4816);class WipeTracking{static get instance(){return this.privateInstance||(this.privateInstance=new WipeTracking),this.privateInstance}get pagetype(){return this.PAGETYPE}get pagename(){return this.PAGENAME}static getClosest(inElement,attribute){return inElement.closest(`[${attribute}]`)}constructor(){this.DATA_COOKIEINFO="data-cookieinfo",this.PAGEVIEW_DATA="data-wwa-wipe-pageview-data",this.wa$="object"==typeof _WWA_?_WWA_.getAnalyzer("GS",{trackPagePerf:!0,trackClicks:!0,trackErrors:{stack:!0},domain:".gelbeseiten.de ",useCookies:!1}):null;const pageTypeRaw=document.body.getAttribute("id");this.PAGETYPE=pageTypeRaw.replace(/^./,pageTypeRaw[0].toUpperCase()),this.PAGENAME=window.utag&&window.utag.data&&window.utag.data.pageName?window.utag.data.pageName:this.PAGETYPE}init(){const isDev=document.body.hasAttribute("data-umgebung")&&"prod"!==document.body.getAttribute("data-umgebung");isDev&&this.wa$.setOptions({environment:"sandbox"});Consentmanager_1.Consentmanager.waitForConsentChangeForVendor("c23721",hasConsent=>{isDev?this.wa$.setOptions({useCookies:hasConsent,environment:"sandbox"}):this.wa$.setOptions({useCookies:hasConsent})}),null===this.wa$||this.noTrackPage()?this.setzeRealIdCookieOhneWipe():(this.trackZusatzInfos(),this.trackPageAttr(),this.trackViewport(),this.trackInputDevice(),document.addEventListener("DOMContentLoaded",()=>{this.trackPageView(),this.trackEvents(),this.trackGeneralEvents(),this.trackRealViews(),this.trackPageItems()}))}trackPageAttr(){document.addEventListener("DOMContentLoaded",()=>{Array.prototype.forEach.call(document.querySelectorAll("[data-wipe-pageattr]"),element=>{try{this.wa$.setCustomPageAttr(JSON.parse(element.getAttribute("data-wipe-pageattr")))}catch(e){this.wa$.setCustomPageAttr(element.getAttribute("data-wipe-pageattr"))}})})}trackZusatzInfos(){window.location.hash.match(/zusatzinfos/g)&&this.wa$.setCustomPageAttr("Zusatzinfos (Rankingwert,Kunde) wurden aufgerufen")}trackViewport(){const width=window.innerWidth;let viewport;viewport=width<100?0:100*Math.floor(width/100),this.wa$.setCustomPageAttr(JSON.parse(`{"viewport-width": "> ${viewport}"}`))}trackInputDevice(){let device="touch";window.matchMedia("(pointer: fine)").matches&&(device="mouse"),this.wa$.setCustomPageAttr(JSON.parse(`{"device": "${device}"}`))}trackPageView(){null!==this.wa$&&(document.querySelector(`[${this.PAGEVIEW_DATA}]`)?this.wa$.setPageAttr(JSON.parse(document.querySelector(`[${this.PAGEVIEW_DATA}]`).getAttribute(this.PAGEVIEW_DATA))):this.wa$.setPageAttr({pageName:this.PAGENAME,type:this.PAGETYPE}),this.wa$.logPageView(),TealiumTracking_1.TealiumTracking.logPageView())}logPageView(queryType){if(document.querySelector(`[${this.PAGEVIEW_DATA}]`)){const pageviewData=JSON.parse(document.querySelector(`[${this.PAGEVIEW_DATA}]`).getAttribute(this.PAGEVIEW_DATA));pageviewData.q_type=queryType,this.wa$.setPageAttr(pageviewData)}else this.wa$.setPageAttr({pageName:this.PAGENAME,type:this.PAGETYPE,q_type:queryType});this.wa$.logPageView()}trackPageViewString(pageName){this.wa$.setPageAttr({pageName,type:this.PAGETYPE}
1),this.wa$.logPageView(),TealiumTracking_1.TealiumTracking.logPageView()}trackPageViewJSON(pageAttributes){this.wa$.setPageAttr(pageAttributes),this.wa$.logPageView(),TealiumTracking_1.TealiumTracking.logPageView()}trackGeneralEvents(){const scrollListener=event=>{this.logAction(`${this.PAGETYPE}: scroll`),TealiumTracking_1.TealiumTracking.addEsucheNettoToUtagDataLayer(this.PAGETYPE,"erfolgreiche Suche scroll"),window.eSucheNettoInstance.fireESucheNetto(),event.currentTarget.removeEventListener("scroll",scrollListener)};document.addEventListener("scroll",scrollListener),setTimeout(()=>{this.wa$.setCustomPageAttr(`${this.PAGETYPE}: >5s`),TealiumTracking_1.TealiumTracking.addEsucheNettoToUtagDataLayer(this.PAGETYPE,"erfolgreiche Suche >5s"),window.eSucheNettoInstance.fireESucheNetto()},5e3)}trackItemViewTL(){null!==this.wa$&&document.getElementById("trefferAnzahl")&&this.wa$.setPageItems(JSON.parse(document.getElementById("trefferAnzahl").getAttribute("data-pageitems")),"list")}trackItemViewDS(){const itemsObject=[{na:document.getElementsByClassName("mod-TeilnehmerKopf__name")[0].textContent,id:document.body.getAttribute("data-teilnehmerid")}];this.logItemView(itemsObject,"details")}trackRealViews(){setTimeout(()=>{const tracklings=[].slice.call(document.querySelectorAll("[data-wipe-realview]"));if("IntersectionObserver"in window&&"isIntersecting"in IntersectionObserverEntry.prototype){const tracklingObserver=new IntersectionObserver(entries=>{Array.prototype.forEach.call(entries,entry=>{if(entry.isIntersecting){const trackling=entry.target;this.wa$.setCustomPageAttr(JSON.parse(`{"view": "${trackling.getAttribute("data-wipe-realview")}_anzeige"}`)),tracklingObserver.unobserve(trackling)}})});Array.prototype.forEach.call(tracklings,trackling=>{tracklingObserver.observe(trackling)})}},900)}trackEvents(){["click","change","submit","mouseup","mouseover"].forEach(eventName=>{document.body.addEventListener(eventName,event=>{if(event.type!==eventName)return;let myElement=event.target;myElement.hasAttribute("data-wipe")||(myElement=WipeTracking.getClosest(myElement,"data-wipe")),myElement&&this.logEvents(myElement,eventName)})})}logActionFromElement(myElement,eventName){this.logEvents(myElement,eventName)}logEvents(myElement,eventName){if(myElement){const logData=this.getLogData(eventName,myElement);logData&&this.logAction(logData.name,logData.data),"click"===eventName&&TealiumTracking_1.TealiumTracking.addClickToUtagDataLayer(myElement)}}logItemView(itemsObject,viewcontext){this.wa$&&!this.noTrackPage()&&this.wa$.logItemView(itemsObject,viewcontext)}logItemViewName(itemName,viewcontext){this.wa$&&!this.noTrackPage()&&this.wa$.logItemView(JSON.parse(itemName),viewcontext)}logAction(name,object){if(!this.wa$||this.noTrackPage())return;let wptEnabled=!0;if(document.body.getAttribute("data-trackingprefix")&&(wptEnabled=!1,name=document.body.getAttribute("data-trackingprefix")+name),object)return this.wa$.logAction(name,object),void(object.hasOwnProperty("item")&&wptEnabled&&this.wa$.logAction("WPT - nachweisbare Kundenkontakte"));this.wa$.logAction(name)}setGSCustomPageAttr(name,object){this.wa$&&(name&&this.wa$.setCustomPageAttr(name),object&&this.wa$.setCustomPageAttr(object))}logError(message){this.wa$.logError(`JS-Fehler mit der Fehlermeldung \n${message} \nBrowser war \n${navigator.userAgent}`)}getCrossDomainID(){return this.wa$?this.wa$.xdt.xi():""}getLogData(eventName,myElement){const dataWipe=JSON.parse(myElement.getAttribute("data-wipe"));if(!dataWipe||dataWipe.listener!==eventName)return!1;const logDataDetails={};return dataWipe.synchron&&(logDataDetails.then=myElement),dataWipe.id&&(logDataDetails.item={id:dataWipe.id}),myElement.hasAttribute(this.DATA_COOKIEINFO)&&(document.cookie=`${myElement.getAttribute(this.DATA_COOKIEINFO)};max-age=120;domain=gelbeseiten.de;path=/`),{name:dataWipe.name,data:logDataDetails}}trackPageItems(){null!==this.wa$&&Array.prototype.forEach.call(document.querySelectorAll("[data-pageitems]"),element=>{const pageItems=element.getAttribute("data-pageitems");this.wa$.setPageItems(JSON.parse(pageItems),element.getAttribute("data-viewcontext"))})}setzeRealIdCookieOhneWipe(){document.body.addEventListener("click",event=>{let myElement=event.target;myElement.hasAttribute(`${this.DATA_COOKIEINFO}`)||(myElement=WipeTracking.getClosest(myElement,`${this.DATA_COOKIEINFO}`)),myElement&&(document.cookie=`${myElement.getAttribute(this.DATA_COOKIEINFO)};max-age=120;domain=gelbeseiten.de;path=/`,window.location.href=myElement.getAttribute("href"))})}noTrackPage(){return document.location.href.includes("sedi/vorschau")}}exports.WipeTracking=WipeTracking},1859(__unused_webpack_module,exports,__webpack_require__){"use strict";exports.SchaufensterWidget=void 0;const Lightbox_1=__webpack_require__(3287);class SchaufensterWidget{static getHTMLString(widget,key,teilnehmerid,realID,anlieferer){if(!widget.elemente.length)return"";let htmlString="";if(htmlString+=this.getArrows(widget.elemente.length),widget.elemente[0].typ.includes("video")||widget.elemente[0].typ.includes("youtube"))htmlString+=`<div class="mod-Schaufenster__widget">\n\t\t\t\t${SchaufensterWidget.getWidgetElemente(widget,teilnehmerid)}\n\t\t\t</div>`;else{const link="verlag"!==anlieferer||null!==widget.link&&""!==widget.link?widget.link:"/gsbiz/"+realID;htmlString+=`<div data-prg="${window.btoa(link)}"\n\t\t\t\tclass="mod-Schaufenster__widget mod-Schaufenster__widget--link"\n\t\t\t\tdata-wipe="{"listener": "click","name": "Klick auf Schaufensterlink im ${key+1}. Schaufenster","id": "${teilnehmerid}","synchron": true}">\n\t\t\t\t\t${SchaufensterWidget.getWidgetElemente(widget,teilnehmerid)}\n\t\t\t\t</div>`}return htmlString}static getArrows(anzahl){return anzahl>3?'<span class="mod-GsSlider__arrow" data-direction="left" data-show="false"></span><span class="mod-GsSlider__arrow" data-direction="right" data-show="false"></span>':""}static getYoutubeLink(link){let embedLink="https://www.youtube.com/embed/";return link&&-1!==link.indexOf("?v=")?embedLink+=link.substring(link.lastIndexOf("?v=")+3):link&&-1!==link.indexOf("youtu.be")&&(embedLink+=link.substring(link.lastIndexOf("/")+1)),embedLink+="?autoplay=1",embedLink}static showYoutubeVideo(event,link){Lightbox_1.Lightbox.openWegwerfIframe(this.getYoutubeLink(decodeURIComponent(escape(window.atob(link)))),"s30")}static getV4allLink(link){const V4ALL_URL_PART2=`&player=n&partnerid=GS39650867937&bgcolor=000000&Height=${9*window.innerWidth/16*.8}&Width=${window.innerWidth}`;return"https://video.gelbeseiten.de/HDPlayer.php?autostart=true&target="+(link.indexOf("v4all.de")>0?link.substring(link.indexOf("v4all.de")+8):link)+V4ALL_URL_PART2}static showV4allVideo(event,link){Lightbox_1.Lightbox.openWegwerfIframe(this.getV4allLink(decodeURIComponent(escape(window.atob(link)))),"")}static baueBild(element){return`<img src=${element.inhalt} alt=""\n\t\t\t\t\tclass="mod-Schaufenster__element mod-Schaufenster__${element.typ}--${element.style} mod-Schaufenster__element--${element.typ}--align--${element.align}\n\t\t\t\t\t\tmod-Schaufenster__element--position--${element.position}"\n\t\t\t\t\t/>`}
1static getWidgetElemente(json,teilnehmerid){const widgetElementeJson=json.elemente;let widgetElementeString="";return widgetElementeJson.forEach(element=>{""===element.typ?widgetElementeString+=`<div class="gc-box--red">\n\t\t\t\t\tDatenfehler: Schaufenster-Typ ${element.typ} ist nicht definiert.\n\t\t\t\t</div>`:"text"===element.typ?widgetElementeString+=`<div\n\t\t\t\t\tclass="mod-Schaufenster__${element.typ}--${element.style} mod-Schaufenster__element--${element.typ}--align--${element.align} mod-Schaufenster__element--${element.position}">\n\t\t\t\t\t${element.inhalt}\n\t\t\t\t\t</div>`:"bild"===element.typ?widgetElementeString+=this.generateBildWidget(element):"video"===element.typ?widgetElementeString+=this.generateVideoWidget(element):"youtube"===element.typ&&json.link.indexOf("youtu")>0?widgetElementeString+=this.generateYoutubeVideoWidget(json,element,teilnehmerid):"v4all_video"===element.typ&&0===json.link.indexOf("https")&&(widgetElementeString+=this.generateV4allVideoWidget(json,element,teilnehmerid))}),widgetElementeString}static generateBildWidget(element){let result="";return"bild"===element.typ&&element.inhalt&&0===element.inhalt.indexOf("https")?result+=this.baueBild(element):"bild"!==element.typ||element.inhalt&&element.inhalt.startsWith("https")||(result+=`<div class="gc-box--red">\n\t\t\t\t\t"${element.inhalt}" ist kein gültiger Pfad zu einem Bild.\n\t\t\t\t\t</div>`),result}static generateYoutubeVideoWidget(json,element,teilnehmerid){let result="";return element.inhalt&&0===element.inhalt.indexOf("https")&&(result+=this.baueBild(element)),result+=`<div class="mod-Schaufenster__element__youtubeButton" data-prg="${window.btoa(json.link)}" data-teilnehmerId="${teilnehmerid}"></div>`,result}static generateV4allVideoWidget(json,element,teilnehmerid){let result="";return element.inhalt&&0===element.inhalt.indexOf("https")&&(result+=this.baueBild(element)),result+=`<div class="mod-Schaufenster__element__v4allButton" data-prg="${window.btoa(json.link)}" data-teilnehmerId="${teilnehmerid}"> </div>`,result}static generateVideoWidget(element){return"video"===element.typ&&element.inhalt&&0===element.inhalt.indexOf("https")?`<video class="mod-Schaufenster__element mod-Schaufenster__${element.typ}--${element.style} mod-Schaufenster__element__${element.typ}--align--${element.align}\n\t\t\t\t\t\tmod-Schaufenster__element--position--${element.position}" controls width="204" height="140"\n\t\t\t\t\t/>\n\t\t\t\t\t\t<source src=${element.inhalt} />\n\t\t\t\t\t</video>`:"video"!==element.typ||element.inhalt&&element.inhalt.startsWith("https")?"":`<div class="gc-box--red">\n\t\t\t\t\t"${element.inhalt}" ist kein gültiger Pfad zu einem Video.\n\t\t\t\t\t</div>`}}exports.SchaufensterWidget=SchaufensterWidget},7597(){(()=>{var _a;console.log("forwarding Go yellow neu (can-manipulation raus)");let urlString=window.location.href;urlString.endsWith("?from=legacy/")&&(urlString=urlString.slice(0,-1));const hasLegacyParam="legacy"===(null!==(_a=new URL(urlString).searchParams.get("from"))&&void 0!==_a?_a:""),hasBeenNotified=sessionStorage.getItem("goyellow_migration_noticed");hasLegacyParam&&(hasBeenNotified||(sessionStorage.setItem("goyellow_migration_noticed","true"),function(){console.log("banner anzeigen");const banner=document.createElement("div");banner.id="goyellow-migration-banner",Object.assign(banner.style,{position:"fixed",top:"0",left:"0",width:"100%",backgroundColor:"#fff9e6",color:"#333333",borderBottom:"2px solid #ffcc00",padding:"12px 24px",boxShadow:"0 2px 10px rgba(0,0,0,0.1)",zIndex:"99999",fontFamily:"sans-serif",fontSize:"14px",lineHeight:"1.4",display:"flex",justifyContent:"space-between",alignItems:"center",boxSizing:"border-box"});const textSpan=document.createElement("span");textSpan.style.marginRight="20px",textSpan.style.flex="1",textSpan.innerText="Leider ist Goyellow.de nicht mehr verfügbar. Für weiterhin optimale Suchergebnisse und interessante Angebote haben wir Sie auf Gelbe Seiten weitergeleitet.";const closeBtn=document.createElement("button");closeBtn.innerText="â",closeBtn.setAttribute("aria-label","Hinweis schlieÃen"),Object.assign(closeBtn.style,{background:"none",border:"none",fontSize:"18px",cursor:"pointer",color:"#666",fontWeight:"bold",padding:"4px 8px"}),closeBtn.onclick=()=>{banner.remove()},banner.appendChild(textSpan),banner.appendChild(closeBtn),document.body?(console.log("banner einfügen if"),document.body.appendChild(banner)):(console.log("banner einfügen else"),window.addEventListener("DOMContentLoaded",()=>{document.body.appendChild(banner)}))}()))})()},8371(__unused_webpack_module,exports,__webpack_require__){"use strict";exports.i=void 0;const App_1=__webpack_require__(4081),LazyLoad_1=__webpack_require__(7998),GsSlider_1=__webpack_require__(6624);__webpack_require__(7597),exports.i=[GsSlider_1.GsSlider],App_1.App.instance.init(exports.i),new LazyLoad_1.LazyLoad},2372(__unused_webpack_module,exports){"use strict";exports.ABaseModule=void 0;exports.ABaseModule=class{constructor(element){this._moduleName=this.constructor.name||this.constructor.toString().match(/^function (.*)\(/)[1]||"constructor name not found",this._element=element,this._decodeBase64()}_decodeBase64(){if(null===this.element||void 0===this.element)return;const elementsToDecode=this.element.querySelectorAll("[data-base64]");Array.prototype.forEach.call(elementsToDecode,element=>{const method=element.getAttribute("data-base64");
1switch(method){case"text":element.innerHTML=window.atob(element.innerHTML)||"";break;case"link":element.setAttribute("href",window.atob(element.getAttribute("href")))}element.setAttribute("data-base64",method+"-decoded")})}get element(){return this._element}get moduleName(){return this._moduleName}}},4081(__unused_webpack_module,exports,__webpack_require__){"use strict";exports.R=exports.App=void 0;const ModuleFactory_1=__webpack_require__(6776),IndexedDBHandler_1=__webpack_require__(9041);class App{constructor(){this.isInitialized=!1,this.modules=[],this.browserDocument=document,this.browserWindow=window,this.browserHTMLTag=this.browserDocument.querySelector("html")}static get instance(){return this.privateInstance||(this.privateInstance=new App),this.privateInstance}static get isDevelopment(){return!1}init(modules){this.isInitialized&&App.isDevelopment&&console.warn("app is already initialized"),this.gsIndexedDB=IndexedDBHandler_1.IndexedDBHandler.instance,this.addModules(modules),this.initModules(),this.hideWhenPromiseNotSupported(),this.isInitialized=!0,document.body.classList.add("gs_ready"),document.body.classList.remove("gs_loading")}get breakpoint(){return this.breakpointData}getGsIndexedDB(){return this.gsIndexedDB}addModules(modules){modules.forEach(ctor=>{ModuleFactory_1.ModuleFactory.add(ctor)})}initModules(){const moduleElements=document.getElementsByClassName("mod");for(let i=0;i<moduleElements.length;i++){const element=moduleElements[i],[,moduleName]=element.className.match(/mod-([\w]+)/);if(!moduleName)return;const instance=ModuleFactory_1.ModuleFactory.create(moduleName,element);instance&&this.modules.push(instance)}}hideWhenPromiseNotSupported(){if("undefined"==typeof Promise||-1===Promise.toString().indexOf("[native code]")){const styleString='<style type="text/css">[data-isNeededPromise="true"] {display: none !important;}</style>';document.head.insertAdjacentHTML("beforeend",styleString)}}}exports.App=App,function(Breakpoints){Breakpoints.xs="xs",Breakpoints.sm="sm",Breakpoints.md="md",Breakpoints.lg="lg",Breakpoints.xlg="xlg"}(exports.R||(exports.R={}))},9041(__unused_webpack_module,exports){"use strict";exports.IndexedDBHandler=void 0;class IndexedDBHandler{constructor(){this.idbRequest=null}static get instance(){return IndexedDBHandler.isSupportedPromise?(this.privateInstance||(this.privateInstance=new IndexedDBHandler),this.privateInstance):null}put(tableName,data,maxTableSize){return IndexedDBHandler.isSupportedPromise?(Array.prototype.forEach.call(data,key=>{data[key]=encodeURI(data[key])}),new Promise((resolve,reject)=>{this.getDbRequest().then(dbRequest=>{const table=this.getTable(dbRequest,tableName);table.put(data).onsuccess=putEvent=>{table.count().onsuccess=countEvent=>{countEvent.target.result>maxTableSize&&(table.index("timestamp").openCursor().onsuccess=cursorEvent=>{cursorEvent.target.result.delete().onsuccess=deleteEvent=>{resolve("Successfully deleted superfluous row")}}),resolve("Successfully put new row")}}},error=>{console.error(error)})})):null}getLatest(tableName){return IndexedDBHandler.isSupportedPromise?new Promise((resolve,reject)=>{this.getDbRequest().then(dbRequest=>{this.getTable(dbRequest,tableName).index("timestamp").openCursor(null,"prev").onsuccess=event=>{resolve(event.target.result)}},error=>{reject(error)})}):null}getTable(dbRequest,name){return dbRequest.result.objectStoreNames.contains(name)?dbRequest.result.transaction([name],"readwrite").objectStore(name):(console.error(`ObjectStore ${name} doesn't exist`),null)}getDbRequest(){return new Promise((resolve,reject)=>{"indexedDB"in window||reject("IndexedDB wird nicht unterstuetzt"),this.idbRequest&&resolve(this.idbRequest);const dbOpen=window.indexedDB.open("GelbeSeiten",1);dbOpen.onsuccess=event=>{this.idbRequest=event.target,resolve(event.target)},dbOpen.onerror=error=>{reject(error)},dbOpen.onupgradeneeded=event=>{dbOpen.result.objectStoreNames.contains("searches")||dbOpen.result.createObjectStore("searches",{keyPath:"was_wo"}).createIndex("timestamp","timestamp"),dbOpen.result.onversionchange=versionChangeEvent=>{this.idbRequest=event.target,resolve(versionChangeEvent.target)}}})}}exports.IndexedDBHandler=IndexedDBHandler,IndexedDBHandler.isSupportedPromise="undefined"!=typeof Promise&&Promise.toString().indexOf("[native code]")>-1},6776(__unused_webpack_module,exports,__webpack_require__){"use strict";exports.ModuleFactory=void 0;const App_1=__webpack_require__(4081);!function(ModuleFactory){const modules={};ModuleFactory.add=function(ctor){const constructorName=ctor.name||ctor.toString().split(" ")[1].split("(")[0]||"constructor name not found";
1modules[constructorName]?App_1.App.isDevelopment&&console.error(`module ${constructorName} is already registered`):modules[constructorName]=ctor},ModuleFactory.create=function(moduleName,element){return modules[moduleName]?new modules[moduleName](element):null}}(exports.ModuleFactory||(exports.ModuleFactory={}))}};const __webpack_module_cache__={};(function __webpack_require__(moduleId){const cachedModule=__webpack_module_cache__[moduleId];if(void 0!==cachedModule)return cachedModule.exports;const module=__webpack_module_cache__[moduleId]={exports:{}};return __webpack_modules__[moduleId](module,module.exports,__webpack_require__),module.exports})(8371)})();
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.