PageSourceSearch

https://www.le-jacquard-francais.de/on/demandware.static/Sites-ljf…/-/de_DE/v1790246863373/js/carousel.js

js le-jacquard-francais.de collected 2026-09-27 07:14:15 UTC 32,562 bytes, 244 lines download raw bytes

vendor: 3,655 bytes, lines 1-88
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, { enumerable: true, get: getter });
40/******/ 		}
41/******/ 	};
42/******/
43/******/ 	// define __esModule on exports
44/******/ 	__webpack_require__.r = function(exports) {
45/******/ 		if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
46/******/ 			Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
47/******/ 		}
48/******/ 		Object.defineProperty(exports, '__esModule', { value: true });
49/******/ 	};
50/******/
51/******/ 	// create a fake namespace object
52/******/ 	// mode & 1: value is a module id, require it
53/******/ 	// mode & 2: merge all properties of value into the ns
54/******/ 	// mode & 4: return value when already ns object
55/******/ 	// mode & 8|1: behave like require
56/******/ 	__webpack_require__.t = function(value, mode) {
57/******/ 		if(mode & 1) value = __webpack_require__(value);
58/******/ 		if(mode & 8) return value;
59/******/ 		if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
60/******/ 		var ns = Object.create(null);
61/******/ 		__webpack_require__.r(ns);
62/******/ 		Object.defineProperty(ns, 'default', { enumerable: true, value: value });
63/******/ 		if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
64/******/ 		return ns;
65/******/ 	};
66/******/
67/******/ 	// getDefaultExport function for compatibility with non-harmony modules
68/******/ 	__webpack_require__.n = function(module) {
69/******/ 		var getter = module && module.__esModule ?
70/******/ 			function getDefault() { return module['default']; } :
71/******/ 			function getModuleExports() { return module; };
72/******/ 		__webpack_require__.d(getter, 'a', getter);
73/******/ 		return getter;
74/******/ 	};
75/******/
76/******/ 	// Object.prototype.hasOwnProperty.call
77/******/ 	__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
78/******/
79/******/ 	// __webpack_public_path__
80/******/ 	__webpack_require__.p = "";
81/******/
82/******/
83/******/ 	// Load entry module and return exports
84/******/ 	return __webpack_require__(__webpack_require__.s = "./cartridges/app_ljf/cartridge/client/default/js/carousel.js");
85/******/ })
86/************************************************************************/
87/******/ ({
88
89/***/ "./cartridges/app_ljf/cartridge/client/default/js/carousel.js":
90/*!********************************************************************!*\
91  !*** ./cartridges/app_ljf/cartridge/client/default/js/carousel.js ***!
92  \********************************************************************/
93/*! no static exports found */
94/***/ (function(module, exports, __webpack_require__) {
95
96"use strict";
97eval("\nvar debounce = __webpack_require__(/*! lodash/debounce */ \"./node_modules/lodash/debounce.js\");\n\n/**\n * Get display information related to screen size\n * @param {jQuery} element - the current carousel that is being used\n * @returns {Object} an object with display information\n */\nfunction screenSize(element) {\n    var result = {\n        itemsToDisplay: null,\n        sufficientSlides: true\n    };\n    var viewSize = $(window).width();\n    var extraSmallDisplay = element.data('xs');\n    var smallDisplay = element.data('sm');\n    var mediumDisplay = element.data('md');\n    var numberOfSlides = element.data('number-of-slides');\n\n    if (viewSize <= 575.98) {\n        result.itemsToDisplay = extraSmallDisplay;\n    } else if ((viewSize >= 576) && (viewSize <= 768.98)) {\n        result.itemsToDisplay = smallDisplay;\n    } else if (viewSize >= 769) {\n        result.itemsToDisplay = mediumDisplay;\n    }\n\n    if (result.itemsToDisplay && numberOfSlides <= result.itemsToDisplay) {\n        result.sufficientSlides = false;\n    }\n\n    return result;\n}\n\n/**\n * Makes the next element to be displayed next unreachable for screen readers and keyboard nav\n * @param {jQuery} element - the current carousel that is being used\n */\nfunction hiddenSlides(element) {\n    var carousel;\n\n    if (element) {\n        carousel = element;\n    } else {\n        carousel = $('.carousel, .experience-einstein-einsteinCarousel .carousel, .experience-einstein-einsteinCarouselCategory .carousel, .experience-einstein-einsteinCarouselProduct .carousel');\n    }\n\n    var screenSizeInfo = screenSize(carousel);\n\n    var lastDisplayedElement;\n    var elementToBeDisplayed;\n\n    switch (screenSizeInfo.itemsToDisplay) {\n        case 2:\n            lastDisplayedElement = carousel.find('.active.carousel-item + .carousel-item');\n            elementToBeDisplayed = carousel.find('.active.carousel-item + .carousel-item + .carousel-item');\n            break;\n        case 3:\n            lastDisplayedElement = carousel.find('.active.carousel-item + .carousel-item + .carousel-item');\n            elementToBeDisplayed = carousel.find('.active.carousel-item + .carousel-item + .carousel-item + .carousel-item');\n            break;\n        case 4:\n            lastDisplayedElement = carousel.find('.active.carousel-item + .carousel-item + .carousel-item + .carousel-item');\n            elementToBeDisplayed = carousel.find('.active.carousel-item + .carousel-item + .carousel-item + .carousel-item + .carousel-item');\n            break;\n        case 6:\n            lastDisplayedElement = carousel.find('.active.carousel-item + .carousel-item + .carousel-item + .carousel-item + .carousel-item + .carousel-item');\n            elementToBeDisplayed = carousel.find('.active.carousel-item + .carousel-item + .carousel-item + .carousel-item + .carousel-item + .carousel-item + .carousel-item');\n            break;\n        default:\n            break;\n    }\n\n    carousel.find('.active.carousel-item').removeAttr('tabindex').removeAttr('aria-hidden');\n    carousel.find('.active.carousel-item').find('a, button, details, input, textarea, select')\n        .removeAttr('tabindex')\n        .removeAttr('aria-hidden');\n\n    if (lastDisplayedElement) {\n        lastDisplayedElement.removeAttr('tabindex').removeAttr('aria-hidden');\n        lastDisplayedElement.find('a, button, details, input, textarea, select')\n            .removeAttr('tabindex')\n            .removeAttr('aria-hidden');\n    }\n\n    if (elementToBeDisplayed) {\n        elementToBeDisplayed.attr('tabindex', -1).attr('aria-hidden', true);\n        elementToBeDisplayed.find('a, button, details, input, textarea, select')\n            .attr('tabindex', -1)\n            .attr('aria-hidden', true);\n    }\n}\n\n$(document).ready(function () {\n    hiddenSlides();\n\n    $(window).on('resize', debounce(function () {\n        hiddenSlides();\n    }, 500));\n\n    $('body').on('carousel:setup', function () {\n        hiddenSlides();\n    });\n\n    $('.pd-carousel-indicators li').on('click', function () {\n        var position = $(this).data('position');\n        var carouselInner = $(this).parents('.carousel').find('.carousel-inner');\n        carouselInner.carousel(position);\n    });\n\n    $('.carousel, .experience-einstein-einsteinCarousel .carousel, .experience-einstein-einsteinCarouselCategory .carousel, .experience-einstein-einsteinCarouselProduct .carousel').on('touchstart', function (touchStartEvent) {\n        var screenSizeInfo = screenSize($(this));\n        var carouselOff = $(this).parent().hasClass('experience-commerce_layouts-carouselForBanner');\n\n        if (window.innerWidth > 543) {\n            carouselOff = true;\n        }\n\n        if (screenSizeInfo.sufficientSlides && !carouselOff) {\n            var xClick = touchStartEvent.originalEvent.touches[0].pageX;\n            $(this).one('touchmove', function (touchMoveEvent) {\n                var xMove = touchMoveEvent.originalEvent.touches[0].pageX;\n                if (Math.floor(xClick - xMove) > 5) {\n                    $(this).carousel('next');\n                } else if (Math.floor(xClick - xMove) < -5) {\n                    $(this).carousel('prev');\n                }\n            });\n            $('.carousel, .experience-einstein-einsteinCarousel .carousel, .experience-einstein-einsteinCarouselCategory .carousel, .experience-einstein-einsteinCarouselProduct .carousel').on('touchend', function () {\n                $(this).off('touchmove');\n            });\n        }\n    });\n\n    $('.experience-commerce_layouts-bigCarousel .carousel, .experience-einstein-einsteinCarousel .carousel, .experience-einstein-einsteinCarouselCategory .carousel, .experience-einstein-einsteinCarouselProduct .carousel').on('slide.bs.carousel', function (e) {\n        var activeCarouselPosition = $(e.relatedTarget).data('position');\n        $(this).find('.pd-carousel-indicators .active').removeClass('active');
97\n        $(this).find(\".pd-carousel-indicators [data-position='\" + activeCarouselPosition + \"']\").addClass('active');\n\n        var extraSmallDisplay = $(this).data('xs');\n        var smallDisplay = $(this).data('sm');\n        var mediumDisplay = $(this).data('md');\n\n        var arrayOfSlidesToDisplay = [];\n\n        if (!$(this).hasClass('insufficient-xs-slides')) {\n            arrayOfSlidesToDisplay.push(extraSmallDisplay);\n        }\n\n        if (!$(this).hasClass('insufficient-sm-slides')) {\n            arrayOfSlidesToDisplay.push(smallDisplay);\n        }\n\n        if (!$(this).hasClass('insufficient-md-slides')) {\n            arrayOfSlidesToDisplay.push(mediumDisplay);\n        }\n\n        var itemsToDisplay = Math.max.apply(Math, arrayOfSlidesToDisplay);\n\n        var elementIndex = $(e.relatedTarget).index();\n        var numberOfSlides = $('.carousel-item', this).length;\n        var carouselInner = $(this).find('.carousel-inner');\n        var carouselItem;\n\n        if (elementIndex >= numberOfSlides - (itemsToDisplay - 1)) {\n            var it = itemsToDisplay - (numberOfSlides - elementIndex);\n            for (var i = 0; i < it; i++) {\n                // append slides to end\n                if (e.direction === 'left') {\n                    carouselItem = $('.carousel-item', this).eq(i);\n\n                    $(carouselItem).appendTo($(carouselInner));\n                } else {\n                    carouselItem = $('.carousel-item', this).eq(0);\n\n                    $(carouselItem).appendTo($(carouselInner));\n                }\n            }\n        }\n    });\n\n    $('.experience-commerce_layouts-bigCarousel .carousel, .experience-einstein-einsteinCarousel .carousel, .experience-einstein-einsteinCarouselCategory .carousel, .experience-einstein-einsteinCarouselProduct .carousel').on('slid.bs.carousel', function () {\n        hiddenSlides($(this));\n    });\n\n    $('.experience-commerce_layouts-bigCarousel').children('.carousel').carousel({\n        interval: +$('.carousel').attr('scroll-time')\n    });\n\n    $('.experience-commerce_layouts-bigCarousel').each(function () {\n        var carousel = $(this).find('.carousel-inner');\n        if (carousel.children().length <= 1) {\n            carousel.siblings('.carousel-control-prev').css('display', 'none');\n            carousel.siblings('.carousel-control-next').css('display', 'none');\n            carousel.siblings('.pd-carousel-indicators').css('display', 'none');\n        }\n    });\n});\n\n\n//# sourceURL=webpack:///./cartridges/app_ljf/cartridge/client/default/js/carousel.js?");
98
99/***/ }),
100
vendor: 527 bytes, lines 101-111
101/***/ "./node_modules/lodash/_Symbol.js":
102/*!****************************************!*\
103  !*** ./node_modules/lodash/_Symbol.js ***!
104  \****************************************/
105/*! no static exports found */
106/***/ (function(module, exports, __webpack_require__) {
107
108eval("var root = __webpack_require__(/*! ./_root */ \"./node_modules/lodash/_root.js\");\n\n/** Built-in value references. */\nvar Symbol = root.Symbol;\n\nmodule.exports = Symbol;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_Symbol.js?");
109
110/***/ }),
111
vendor: 1,364 bytes, lines 112-122
112/***/ "./node_modules/lodash/_baseGetTag.js":
113/*!********************************************!*\
114  !*** ./node_modules/lodash/_baseGetTag.js ***!
115  \********************************************/
116/*! no static exports found */
117/***/ (function(module, exports, __webpack_require__) {
118
119eval("var Symbol = __webpack_require__(/*! ./_Symbol */ \"./node_modules/lodash/_Symbol.js\"),\n    getRawTag = __webpack_require__(/*! ./_getRawTag */ \"./node_modules/lodash/_getRawTag.js\"),\n    objectToString = __webpack_require__(/*! ./_objectToString */ \"./node_modules/lodash/_objectToString.js\");\n\n/** `Object#toString` result references. */\nvar nullTag = '[object Null]',\n    undefinedTag = '[object Undefined]';\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * The base implementation of `getTag` without fallbacks for buggy environments.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nfunction baseGetTag(value) {\n  if (value == null) {\n    return value === undefined ? undefinedTag : nullTag;\n  }\n  return (symToStringTag && symToStringTag in Object(value))\n    ? getRawTag(value)\n    : objectToString(value);\n}\n\nmodule.exports = baseGetTag;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_baseGetTag.js?");
120
121/***/ }),
122
vendor: 741 bytes, lines 123-133
123/***/ "./node_modules/lodash/_freeGlobal.js":
124/*!********************************************!*\
125  !*** ./node_modules/lodash/_freeGlobal.js ***!
126  \********************************************/
127/*! no static exports found */
128/***/ (function(module, exports, __webpack_require__) {
129
130eval("/* WEBPACK VAR INJECTION */(function(global) {/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\nmodule.exports = freeGlobal;\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../webpack/buildin/global.js */ \"./node_modules/webpack/buildin/global.js\")))\n\n//# sourceURL=webpack:///./node_modules/lodash/_freeGlobal.js?");
131
132/***/ }),
133
vendor: 1,605 bytes, lines 134-144
134/***/ "./node_modules/lodash/_getRawTag.js":
135/*!*******************************************!*\
136  !*** ./node_modules/lodash/_getRawTag.js ***!
137  \*******************************************/
138/*! no static exports found */
139/***/ (function(module, exports, __webpack_require__) {
140
141eval("var Symbol = __webpack_require__(/*! ./_Symbol */ \"./node_modules/lodash/_Symbol.js\");\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the raw `toStringTag`.\n */\nfunction getRawTag(value) {\n  var isOwn = hasOwnProperty.call(value, symToStringTag),\n      tag = value[symToStringTag];\n\n  try {\n    value[symToStringTag] = undefined;\n    var unmasked = true;\n  } catch (e) {}\n\n  var result = nativeObjectToString.call(value);\n  if (unmasked) {\n    if (isOwn) {\n      value[symToStringTag] = tag;\n    } else {\n      delete value[symToStringTag];\n    }\n  }\n  return result;\n}\n\nmodule.exports = getRawTag;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_getRawTag.js?");
142
143/***/ }),
144
vendor: 957 bytes, lines 145-155
145/***/ "./node_modules/lodash/_objectToString.js":
146/*!************************************************!*\
147  !*** ./node_modules/lodash/_objectToString.js ***!
148  \************************************************/
149/*! no static exports found */
150/***/ (function(module, exports) {
151
152eval("/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/**\n * Converts `value` to a string using `Object.prototype.toString`.\n *\n * @private\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n */\nfunction objectToString(value) {\n  return nativeObjectToString.call(value);\n}\n\nmodule.exports = objectToString;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_objectToString.js?");
153
154/***/ }),
155
vendor: 708 bytes, lines 156-166
156/***/ "./node_modules/lodash/_root.js":
157/*!**************************************!*\
158  !*** ./node_modules/lodash/_root.js ***!
159  \**************************************/
160/*! no static exports found */
161/***/ (function(module, exports, __webpack_require__) {
162
163eval("var freeGlobal = __webpack_require__(/*! ./_freeGlobal */ \"./node_modules/lodash/_freeGlobal.js\");\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\nmodule.exports = root;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_root.js?");
164
165/***/ }),
166
vendor: 6,807 bytes, lines 167-177
167/***/ "./node_modules/lodash/debounce.js":
168/*!*****************************************!*\
169  !*** ./node_modules/lodash/debounce.js ***!
170  \*****************************************/
171/*! no static exports found */
172/***/ (function(module, exports, __webpack_require__) {
173
174eval("var isObject = __webpack_require__(/*! ./isObject */ \"./node_modules/lodash/isObject.js\"),\n    now = __webpack_require__(/*! ./now */ \"./node_modules/lodash/now.js\"),\n    toNumber = __webpack_require__(/*! ./toNumber */ \"./node_modules/lodash/toNumber.js\");\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max,\n    nativeMin = Math.min;\n\n/**\n * Creates a debounced function that delays invoking `func` until after `wait`\n * milliseconds have elapsed since the last time the debounced function was\n * invoked. The debounced function comes with a `cancel` method to cancel\n * delayed `func` invocations and a `flush` method to immediately invoke them.\n * Provide `options` to indicate whether `func` should be invoked on the\n * leading and/or trailing edge of the `wait` timeout. The `func` is invoked\n * with the last arguments provided to the debounced function. Subsequent\n * calls to the debounced function return the result of the last `func`\n * invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the debounced function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.debounce` and `_.throttle`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to debounce.\n * @param {number} [wait=0] The number of milliseconds to delay.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=false]\n *  Specify invoking on the leading edge of the timeout.\n * @param {number} [options.maxWait]\n *  The maximum time `func` is allowed to be delayed before it's invoked.\n * @param {boolean} [options.trailing=true]\n *  Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new debounced function.\n * @example\n *\n * // Avoid costly calculations while the window size is in flux.\n * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n *\n * // Invoke `sendMail` when clicked, debouncing subsequent calls.\n * jQuery(element).on('click', _.debounce(sendMail, 300, {\n *   'leading': true,\n *   'trailing': false\n * }));\n *\n * // Ensure `batchLog` is invoked once after 1 second of debounced calls.\n * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });\n * var source = new EventSource('/stream');\n * jQuery(source).on('message', debounced);\n *\n * // Cancel the trailing debounced invocation.\n * jQuery(window).on('popstate', debounced.cancel);\n */\nfunction debounce(func, wait, options) {\n  var lastArgs,\n      lastThis,\n      maxWait,\n      result,\n      timerId,\n      lastCallTime,\n      lastInvokeTime = 0,\n      leading = false,\n      maxing = false,\n      trailing = true;\n\n  if (typeof func != 'function') {\n    throw new TypeError(FUNC_ERROR_TEXT);\n  }\n  wait = toNumber(wait) || 0;\n  if (isObject(options)) {\n    leading = !!options.leading;\n    maxing = 'maxWait' in options;\n    maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;\n    trailing = 'trailing' in options ? !!options.trailing : trailing;\n  }\n\n  function invokeFunc(time) {\n    var args = lastArgs,\n        thisArg = lastThis;\n\n    lastArgs = lastThis = undefined;\n    lastInvokeTime = time;\n    result = func.apply(thisArg, args);\n    return result;\n  }\n\n  function leadingEdge(time) {\n    // Reset any `maxWait` timer.\n    lastInvokeTime = time;\n    // Start the timer for the trailing edge.\n    timerId = setTimeout(timerExpired, wait);\n    // Invoke the leading edge.\n    return leading ? invokeFunc(time) : result;\n  }\n\n  function remainingWait(time) {\n    var timeSinceLastCall = time - lastCallTime,\n        timeSinceLastInvoke = time - lastInvokeTime,\n        timeWaiting = wait - timeSinceLastCall;\n\n    return maxing\n      ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke)\n      : timeWaiting;\n  }\n\n  function shouldInvoke(time) {\n    var timeSinceLastCall = time - lastCallTime,\n        timeSinceLastInvoke = time - lastInvokeTime;\n\n    // Either this is the first call, activity has stopped and we're at the\n    // trailing edge, the system time has gone backwards and we're treating\n    // it as the trailing edge, or we've hit the `maxWait` limit.\n    return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||\n      (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));\n  }\n\n  function timerExpired() {\n    var time = now();\n    if (shouldInvoke(time)) {\n      return trailingEdge(time);\n    }\n    // Restart the timer.\n    timerId = setTimeout(timerExpired, remainingWait(time));\n  }\n\n  function trailingEdge(time) {\n    timerId = undefined;\n\n    // Only invoke if we have `lastArgs` which means `func` has been\n    // debounced at least once.\n    if (trailing && lastArgs) {\n      return invokeFunc(time);\n    }\n    lastArgs = lastThis = undefined;\n    return result;\n  }\n\n  function cancel() {\n    if (timerId !== undefined) {\n      clearTimeout(timerId);\n    }\n    lastInvokeTime = 0;\n    lastArgs = lastCallTime = lastThis = timerId = undefined;\n  }\n\n  function flush() {\n    return timerId === undefined ? result : trailingEdge(now());\n  }\n\n  function debounced() {\n    var time = now(),\n        isInvoking = shouldInvoke(time);\n\n    lastArgs = arguments;\n    lastThis = this;\n    lastCallTime = time;\n\n    if (isInvoking) {\n      if (timerId === undefined) {\n        return leadingEdge(lastCallTime);\n      }\n      if (maxing) {\n        // Handle invocations in a tight loop.\n        clearTimeout(timerId);\n        timerId = setTimeout(timerExpired, wait);\n        return invokeFunc(lastCallTime);\n      }\n    }\n    if (timerId === undefined) {\n      timerId = setTimeout(timerExpired, wait);\n    }\n    return result;\n  }\n  debounced.cancel = cancel;\n  debounced.flush = flush;\n  return debounced;\n}\n\nmodule.exports = debounce;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/debounce.js?");
175
176/***/ }),
177
vendor: 1,099 bytes, lines 178-188
178/***/ "./node_modules/lodash/isObject.js":
179/*!*****************************************!*\
180  !*** ./node_modules/lodash/isObject.js ***!
181  \*****************************************/
182/*! no static exports found */
183/***/ (function(module, exports) {
184
185eval("/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n  var type = typeof value;\n  return value != null && (type == 'object' || type == 'function');\n}\n\nmodule.exports = isObject;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/isObject.js?");
186
187/***/ }),
188
vendor: 1,000 bytes, lines 189-199
189/***/ "./node_modules/lodash/isObjectLike.js":
190/*!*********************************************!*\
191  !*** ./node_modules/lodash/isObjectLike.js ***!
192  \*********************************************/
193/*! no static exports found */
194/***/ (function(module, exports) {
195
196eval("/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n  return value != null && typeof value == 'object';\n}\n\nmodule.exports = isObjectLike;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/isObjectLike.js?");
197
198/***/ }),
199
vendor: 1,184 bytes, lines 200-210
200/***/ "./node_modules/lodash/isSymbol.js":
201/*!*****************************************!*\
202  !*** ./node_modules/lodash/isSymbol.js ***!
203  \*****************************************/
204/*! no static exports found */
205/***/ (function(module, exports, __webpack_require__) {
206
207eval("var baseGetTag = __webpack_require__(/*! ./_baseGetTag */ \"./node_modules/lodash/_baseGetTag.js\"),\n    isObjectLike = __webpack_require__(/*! ./isObjectLike */ \"./node_modules/lodash/isObjectLike.js\");\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n  return typeof value == 'symbol' ||\n    (isObjectLike(value) && baseGetTag(value) == symbolTag);\n}\n\nmodule.exports = isSymbol;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/isSymbol.js?");
208
209/***/ }),
210
vendor: 926 bytes, lines 211-221
211/***/ "./node_modules/lodash/now.js":
212/*!************************************!*\
213  !*** ./node_modules/lodash/now.js ***!
214  \************************************/
215/*! no static exports found */
216/***/ (function(module, exports, __webpack_require__) {
217
218eval("var root = __webpack_require__(/*! ./_root */ \"./node_modules/lodash/_root.js\");\n\n/**\n * Gets the timestamp of the number of milliseconds that have elapsed since\n * the Unix epoch (1 January 1970 00:00:00 UTC).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Date\n * @returns {number} Returns the timestamp.\n * @example\n *\n * _.defer(function(stamp) {\n *   console.log(_.now() - stamp);\n * }, _.now());\n * // => Logs the number of milliseconds it took for the deferred invocation.\n */\nvar now = function() {\n  return root.Date.now();\n};\n\nmodule.exports = now;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/now.js?");
219
220/***/ }),
221
vendor: 2,106 bytes, lines 222-232
222/***/ "./node_modules/lodash/toNumber.js":
223/*!*****************************************!*\
224  !*** ./node_modules/lodash/toNumber.js ***!
225  \*****************************************/
226/*! no static exports found */
227/***/ (function(module, exports, __webpack_require__) {
228
229eval("var isObject = __webpack_require__(/*! ./isObject */ \"./node_modules/lodash/isObject.js\"),\n    isSymbol = __webpack_require__(/*! ./isSymbol */ \"./node_modules/lodash/isSymbol.js\");\n\n/** Used as references for various `Number` constants. */\nvar NAN = 0 / 0;\n\n/** Used to match leading and trailing whitespace. */\nvar reTrim = /^\\s+|\\s+$/g;\n\n/** Used to detect bad signed hexadecimal string values. */\nvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n/** Used to detect binary string values. */\nvar reIsBinary = /^0b[01]+$/i;\n\n/** Used to detect octal string values. */\nvar reIsOctal = /^0o[0-7]+$/i;\n\n/** Built-in method references without a dependency on `root`. */\nvar freeParseInt = parseInt;\n\n/**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\nfunction toNumber(value) {\n  if (typeof value == 'number') {\n    return value;\n  }\n  if (isSymbol(value)) {\n    return NAN;\n  }\n  if (isObject(value)) {\n    var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n    value = isObject(other) ? (other + '') : other;\n  }\n  if (typeof value != 'string') {\n    return value === 0 ? value : +value;\n  }\n  value = value.replace(reTrim, '');\n  var isBinary = reIsBinary.test(value);\n  return (isBinary || reIsOctal.test(value))\n    ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n    : (reIsBadHex.test(value) ? NAN : +value);\n}\n\nmodule.exports = toNumber;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/toNumber.js?");
230
231/***/ }),
232
vendor: 816 bytes, lines 233-242
233/***/ "./node_modules/webpack/buildin/global.js":
234/*!***********************************!*\
235  !*** (webpack)/buildin/global.js ***!
236  \***********************************/
237/*! no static exports found */
238/***/ (function(module, exports) {
239
240eval("var g;\n\n// This works in non-strict mode\ng = (function() {\n\treturn this;\n})();\n\ntry {\n\t// This works if eval is allowed (see CSP)\n\tg = g || new Function(\"return this\")();\n} catch (e) {\n\t// This works if the window reference is available\n\tif (typeof window === \"object\") g = window;\n}\n\n// g can still be undefined, but nothing to do about it...\n// We return undefined, instead of nothing here, so it's\n// easier to handle this case. if(!global) { ...}\n\nmodule.exports = g;\n\n\n//# sourceURL=webpack:///(webpack)/buildin/global.js?");
241
242/***/ })
vendor: 14 bytes, lines 242-244
242
243
244/******/ });

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.