1/******/ (function(modules) { // webpackBootstrap 2/******/ // The module cache 3/******/ var installedModules = {}; 4/******/ 5/******/ // The require function 6/******/ function __webpack_require__(moduleId) { 7/******/ 8/******/ // Check if module is in cache 9/******/ if(installedModules[moduleId]) { 10/******/ return installedModules[moduleId].exports; 11/******/ } 12/******/ // Create a new module (and put it into the cache) 13/******/ var module = installedModules[moduleId] = { 14/******/ i: moduleId, 15/******/ l: false, 16/******/ exports: {} 17/******/ }; 18/******/ 19/******/ // Execute the module function 20/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); 21/******/ 22/******/ // Flag the module as loaded 23/******/ module.l = true; 24/******/ 25/******/ // Return the exports of the module 26/******/ return module.exports; 27/******/ } 28/******/ 29/******/ 30/******/ // expose the modules object (__webpack_modules__) 31/******/ __webpack_require__.m = modules; 32/******/ 33/******/ // expose the module cache 34/******/ __webpack_require__.c = installedModules; 35/******/ 36/******/ // define getter function for harmony exports 37/******/ __webpack_require__.d = function(exports, name, getter) { 38/******/ if(!__webpack_require__.o(exports, name)) { 39/******/ Object.defineProperty(exports, name, { 40/******/ configurable: false, 41/******/ enumerable: true, 42/******/ get: getter 43/******/ }); 44/******/ } 45/******/ }; 46/******/ 47/******/ // getDefaultExport function for compatibility with non-harmony modules 48/******/ __webpack_require__.n = function(module) { 49/******/ var getter = module && module.__esModule ? 50/******/ function getDefault() { return module['default']; } : 51/******/ function getModuleExports() { return module; }; 52/******/ __webpack_require__.d(getter, 'a', getter); 53/******/ return getter; 54/******/ }; 55/******/ 56/******/ // Object.prototype.hasOwnProperty.call 57/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; 58/******/ 59/******/ // __webpack_public_path__ 60/******/ __webpack_require__.p = ""; 61/******/ 62/******/ // Load entry module and return exports 63/******/ return __webpack_require__(__webpack_require__.s = 89); 64/******/ }) 65/************************************************************************/ 66/******/ ({ 67 68/***/ 22: 69/***/ (function(module, exports, __webpack_require__) { 70 71"use strict"; 72 73exports.__esModule = true; 74var openPopupElement = null; 75exports.selectPopup = function (selectedPopup) { 76 var popupElems = document.querySelectorAll('[data-cldt-fed-stagelink-role=container] .cldt-fed-finance-rate-popup'); 77 Array.prototype.forEach.call(popupElems, function (popup) { 78 var isSelected = popup === selectedPopup; 79 popup.setAttribute('data-open', isSelected.toString()); 80 }); 81 openPopupElement = selectedPopup; 82}; 83var findClosestAncestor = function (elem, selector) { 84 while (elem) { 85 if (elem.matches(selector)) { 86 return elem; 87 } 88 elem = elem.parentElement; 89 } 90 return null; 91}; 92var attachItemListeners = function (itemElement) { 93 var popupElement = itemElement.querySelector('.cldt-fed-finance-rate-popup'); 94 var stageRateInfo = itemElement.querySelector('[data-cldt-fed-stagelink-role=popupTrigger]'); 95 stageRateInfo && 96 stageRateInfo.addEventListener('click', function (ev) { 97 var closest = findClosestAncestor(ev.target, '.cldt-fed-finance-rate-popup'); 98 var onPopup = closest !== null; 99 if (onPopup) { 100 } 101 else if (openPopupElement === popupElement) { 102 exports.selectPopup(null); 103 } 104 else { 105 exports.selectPopup(popupElement); 106 } 107 ev.stopPropagation(); 108 ev.preventDefault(); 109 }); 110 var closeIcon = itemElement.querySelector('.cldt-fed-close-icon'); 111 closeIcon && 112 closeIcon.addEventListener('click', function (ev) { 113 exports.selectPopup(null); 114 ev.stopPropagation(); 115 ev.preventDefault(); 116 }); 117 var moreInformationLink = itemElement.querySelector('.cldt-fed-finance-rate-popup-more-info'); 118 moreInformationLink && 119 moreInformationLink.addEventListener('click', function (ev) { 120 window.open('https://www.leasingmarkt.de/allgemeine-geschaeftsbedingungen', '_blank'); 121 ev.stopPropagation(); 122 ev.preventDefault(); 123 }); 124}; 125exports.attachListeners = function () { 126 var all = document.querySelectorAll('[data-cldt-fed-stagelink-role=container]'); 127 Array.prototype.forEach.call(all, attachItemListeners); 128 document.addEventListener('click', function () { return exports.selectPopup(null); }); 129}; 130 131 132/***/ }), 133 134/***/ 89: 135/***/ (function(module, exports, __webpack_require__) { 136 137"use strict"; 138 139 140__webpack_require__(22).attachListeners(); 141 142/***/ }) 143 144/******/ });
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.