PageSourceSearch

https://www.quellenhof.it/_assets/dd2ce5bfd9e5111f7a787dd76b0f8b88…/entry--sections--hero.js?1779107441

js quellenhof.it collected 2026-09-26 06:41:57 UTC 4,239 bytes, 83 lines download raw bytes

1"use strict";
2(globalThis["webpackChunk"] = globalThis["webpackChunk"] || []).push([["entry--sections--hero"],{
3
4/***/ "../Templates/Sections/Hero/frontend.js"
5/*!**********************************************!*\
6  !*** ../Templates/Sections/Hero/frontend.js ***!
7  \**********************************************/
8(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
9
10__webpack_require__.r(__webpack_exports__);
11/* harmony import */ var bn_source_root_js_utilities_dom7__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! bn-source-root-js/utilities/dom7 */ "../Assets/JavaScript/source/utilities/dom7.js");
12/* harmony import */ var bn_source_root_js_variables_variables__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! bn-source-root-js/variables/variables */ "../Assets/JavaScript/source/variables/variables.js");
13/* harmony import */ var bn_source_root_js_utilities_video_helper__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! bn-source-root-js/utilities/video-helper */ "../Assets/JavaScript/source/utilities/video-helper.js");
14/* harmony import */ var bn_source_root_js_utilities_slider__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! bn-source-root-js/utilities/slider */ "../Assets/JavaScript/source/utilities/slider.js");
15/* harmony import */ var bn_source_root_js_utilities_async_exec__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! bn-source-root-js/utilities/async-exec */ "../Assets/JavaScript/source/utilities/async-exec.js");
16/* harmony import */ var bn_source_root_js_utilities_general__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! bn-source-root-js/utilities/_general */ "../Assets/JavaScript/source/utilities/_general.js");
17/*  ==========================================================================
18    HERO
19    ========================================================================== */
20
21// node modules imports
22
23
24// local imports
25
26
27
28
29
30
31/* CODE
32 * --------------------------------------------------------------------------- */
33
34// define identifier
35const identifier = 'Hero';
36
37// initialize module
38const $section = (0,bn_source_root_js_utilities_dom7__WEBPACK_IMPORTED_MODULE_0__["default"])(`.${bn_source_root_js_variables_variables__WEBPACK_IMPORTED_MODULE_1__.CLASSNAMES.sect}[data-id="${identifier}"]`);
39if ($section.length) {
40  const $container = $section;
41  (0,bn_source_root_js_utilities_async_exec__WEBPACK_IMPORTED_MODULE_4__.asyncExec)(() => {
42    // initialize the responsive sources for video tags
43    (0,bn_source_root_js_utilities_video_helper__WEBPACK_IMPORTED_MODULE_2__.initResponsiveVideoSources)($container);
44  });
45
46  // slider
47  const $slider = $container.find('.JS-vista');
48  const sliderOverrides = {
49    autoplay: {
50      delay: 6000
51    },
52    effect: 'fade',
53    rewind: true,
54    speed: 2000
55  };
56  const itemsToShow = {
57    desktop: 1,
58    tablet: 1,
59    mobile: 1
60  };
61  const sliderInstance = (0,bn_source_root_js_utilities_slider__WEBPACK_IMPORTED_MODULE_3__.initSlider)($slider, sliderOverrides, itemsToShow);
62  (0,bn_source_root_js_utilities_video_helper__WEBPACK_IMPORTED_MODULE_2__.initStartStopVideos)($slider, sliderInstance);
63
64  // open voucher dropdown on portal page
65  (0,bn_source_root_js_utilities_general__WEBPACK_IMPORTED_MODULE_5__.triggerDropdown)($container, 'JS-voucher-dropdown', true);
66  // open impression dropdown on portal page
67  (0,bn_source_root_js_utilities_general__WEBPACK_IMPORTED_MODULE_5__.triggerDropdown)($container, 'JS-impression-dropdown', true);
68  function handleScroll() {
69    (0,bn_source_root_js_utilities_general__WEBPACK_IMPORTED_MODULE_5__.scrollTop)(10, $container, 'data-scroll');
70  }
71  document.addEventListener('DOMContentLoaded', handleScroll);
72  window.addEventListener('scroll', handleScroll);
73}
74
75/***/ }
76
77},
78/******/ __webpack_require__ => { // webpackRuntimeModules
79/******/ var __webpack_exec__ = (moduleId) => (__webpack_require__(__webpack_require__.s = moduleId))
80/******/ __webpack_require__.O(0, ["bn-internal-functions","vendor--dom7","vendor--ssr-window","vendor--lodash-es","vendor--swiper","vendor--animated-scroll-to"], () => (__webpack_exec__("../Templates/Sections/Hero/frontend.js")));
81/******/ var __webpack_exports__ = __webpack_require__.O();
82/******/ }
83]);

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.