1"use strict";(self.webpackChunkmvv_energie=self.webpackChunkmvv_energie||[]).push([[9598],{6554(e,t,o){o.r(t),o.d(t,{default:()=>d});o(7495),o(906),o(8781),o(5440),o(5746),o(2762),o(8992),o(4520),o(2577),o(3949),o(2041),o(2953),o(3296),o(7208),o(8408);var i=o(4692),n=o.n(i),r=(o(9635),o(7187)),a=o(4346),s=o(663);function l(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),o.push.apply(o,i)}return o}function p(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?l(Object(o),!0).forEach(function(t){c(e,t,o[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):l(Object(o)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))})}return e}function c(e,t,o){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var i=o.call(e,t||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}const d=class{constructor(){const e=n()("#mvv-exit-popup"),t=n()("#mvv-exit-popup iframe");this._showTimeout=null,this._startShowCallback=this._startShowTimeout.bind(this),this._stopShowCallback=this._stopShowTimeout.bind(this),n()(document).on("click",".share-option_whatsapp",()=>{(0,a.sx)("Popup","Button","Per WhatsApp teilen"),(0,a.W$)("click_popup","popup_button","Per WhatsApp teilen")}),null===window.sessionStorage.getItem(s.A.exitPopup.name)&&((0,r.Xb)()?(this._sensitivity=6e3,n()(window).on("touchend",this._startShowCallback)):(this._sensitivity=30,n()(window).on("mouseleave",this._startShowCallback),n()(window).on("mouseenter",this._stopShowCallback)),e.on("hidden.bs.modal",this._afterExitPopupIsClosed.bind(this))),e.on("shown.bs.modal",()=>{n()(document).find(".modal-backdrop").addClass("exit-popup-backdrop")}),e.on("show.bs.modal",()=>{let e=n()(document).find(".mvv-tarifrechner-head__calculator form.is-ajax"),o=!!e.length,i=n()(document).find(".offerform"),r=p(p(p(p(p(p({},o&&i.find('input[name="verbrauch"]').val()?{verbrauch:i.find('input[name="verbrauch"]').val()}:{}),o&&i.find('input[name="verbrauchnt"]').val()?{verbrauchnt:i.find('input[name="verbrauchnt"]').val()}:{}),o&&i.find('input[name="ort"]').val()?{ort:i.find('input[name="ort"]').val()}:{}),o&&i.find('input[name="plz"]').val()?{plz:i.find('input[name="plz"]').val()}:{}),o&&i.find('input[name="plz"]').val()&&"on"===e.find('input[name="is_doppeltarif"]').val()?{isDoppeltarif:!0}:{}),o&&i.find('input[name="plz"]').val()?{calcTariff:!0}:{}),s=decodeURIComponent(window.location.origin+window.location.pathname+window.location.search);s=this._mergeParamsIntoUrl(s,p(p({},r),{},{utm_source:"whatsapp",utm_medium:"social",utm_campaign:"exit-popup"})),s=s.replaceAll("&","%26").replaceAll("+","%2B"),s=t.contents().find(".share-option_whatsapp").attr("href").replace("$$$ANGEBOTSURL$$$",s),t.contents().find(".share-option_whatsapp").attr("href",s),t.contents().find('[data-id="rechner_uri"]').val(this._mergeParamsIntoUrl(decodeURIComponent(window.location.href),r)),t.contents().find(".share-option_whatsapp").on("click",()=>{(0,a.sx)("Popup","Button","Per WhatsApp teilen"),(0,a.W$)("click_popup","popup_button","Per WhatsApp teilen")}),t.contents().find("#CybotCookiebotDialog, #CybotCookiebotDialogBodyUnderlay").remove(),t.contents().find("body").removeAttr("style"),t.contents().find(".share-option_email").on("click",e=>{let t=n()(e.currentTarget),o=n()(e.currentTarget).closest(".exit-popup");t.hasClass("open")?(o.find(".frame-type-form_formframework").slideUp(),o.find("fieldset.error").removeClass("error"),t.removeClass("open")):(t.addClass("open"),(0,a.sx)("Popup","Button","Mein Angebot erhalten (Email)"),(0,a.W$)("click_popup","popup_button","Mein Angebot erhalten (Email)"))}),t.contents().find(".share-option_email").on("click",this._onMobileMailButtonClick),t.contents().find(".share-option_mobile-back").on("click",this._onMobileBackButtonClick);const l=t.contents()[0],c=l.querySelector("form"),d=new MutationObserver(()=>{l.contains(c)||(n()(l).find(".frame-type-form_formframework").show(),n()(l).find(".fly-privacy-policy").slide
1Up(),d.disconnect())});d.observe(l.body,{childList:!0,subtree:!0}),this._showPrivacyPolicy(t.contents()),n()(l).find("body").hasClass("is-mobile")&&n()(l).find(".frame-type-form_formframework").addClass("hide"),n()(l).on("click",".bb-form-submit",()=>{t.contents().find(".fly-wave").addClass("fly-wave--hide")})})}_onMobileMailButtonClick(e){let t=n()(e.currentTarget).closest(".exit-popup");t.find(".fly-content-mobile").addClass("fly-content-mobile--hide"),t.find(".fly-content-mobile").slideUp(),t.find(".share-option_mobile-back").slideDown(),t.find(".fly-privacy-policy").slideDown(),t.find(".fly-wave").addClass("fly-wave--hide"),t.find(".frame-type-form_formframework").slideDown()}_onMobileBackButtonClick(e){let t=n()(e.currentTarget).closest(".exit-popup");t.find(".fly-content-mobile").removeClass("fly-content-mobile--hide"),t.find(".fly-content-mobile").show(),t.find(".share-option_mobile-back").hide(),t.find(".fly-privacy-policy").hide(),t.find(".frame-type-form_formframework").hide()}_showPrivacyPolicy(e){e.find(".mdc-input-container input").on("focus",()=>{var t,o;e.find(".share-option_mobile-back").is(":visible")||(e.find(".fly-wave").addClass("fly-wave--hide"),null===(t=e.find(".fly-privacy-policy"))||void 0===t||t.addClass("fly-privacy-policy--show"),null===(o=n()("#mvv-exit-popup").find(".fly-privacy-policy"))||void 0===o||o.addClass("fly-privacy-policy--show"))})}_mergeParamsIntoUrl(e,t){const o=/^[a-zA-Z][a-zA-Z\d+\-.]*:\/\//.test(e),i=new URL(o?e:"https://".concat(e));Object.entries(t||{}).forEach(e=>{let[t,o]=e;null!=o&&""!==String(o).trim()&&i.searchParams.set(t,String(o))});const n=i.toString();return o?n:n.replace(/^https?:\/\//,"")}_buildParamString(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"query";const o=[];for(const[t,i]of Object.entries(e||{})){if("href"===t)continue;if(null==i)continue;const e=String(i).trim();""!==e&&o.push("".concat(encodeURIComponent(t),"=").concat(encodeURIComponent(e)))}return 0===o.length?"":"percent"===t?"%"+o.join("%"):"?"+o.join("&")}_afterExitPopupIsClosed(){(0,a.sx)("Popup","Exit","Geschlossen"),(0,a.W$)("click_popup","popup_exit","Geschlossen")}_startShowTimeout(e){if(!(0,r.Xb)()&&e.clientY>20)return!1;window.clearTimeout(this._showTimeout),this._showTimeout=window.setTimeout(()=>{this._showExitPopup()},this._sensitivity)}_stopShowTimeout(){window.clearTimeout(this._showTimeout)}_showExitPopup(){"exit-popup-mail"!==new URLSearchParams(window.location.search).get("utm_source")&&(window.Cookiebot&&window.Cookiebot.consent.preferences&&window.sessionStorage.setItem(s.A.exitPopup.name,!0),n()("#mvv-exit-popup").modal("show"),window.clearTimeout(this._showTimeout),n()(window).off("mouseleave",this._startShowCallback),n()(window).off("mouseenter",this._stopShowCallback),n()(window).off("touchend",this._startShowCallback),(0,a.sx)("Popup","Exit","Angezeigt"),(0,a.W$)("click_popup","popup_exit","Angezeigt"))}}}}]);
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.