PageSourceSearch

https://wondervalleyoe.com/wp-content/themes/wvo/js/dist/bundle.js?ver=1773857660

js wondervalleyoe.com collected 2026-09-24 14:01:34 UTC 59,857 bytes, 1,843 lines download raw bytes

1/******/ (() => { // webpackBootstrap
2/******/ 	var __webpack_modules__ = ({
3
vendor: 429 bytes, lines 4-19
4/***/ "./node_modules/lodash/_Symbol.js":
5/*!****************************************!*\
6  !*** ./node_modules/lodash/_Symbol.js ***!
7  \****************************************/
8/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
9
10var root = __webpack_require__(/*! ./_root */ "./node_modules/lodash/_root.js");
11
12/** Built-in value references. */
13var Symbol = root.Symbol;
14
15module.exports = Symbol;
16
17
18/***/ }),
19
vendor: 1,236 bytes, lines 20-57
20/***/ "./node_modules/lodash/_baseGetTag.js":
21/*!********************************************!*\
22  !*** ./node_modules/lodash/_baseGetTag.js ***!
23  \********************************************/
24/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
25
26var Symbol = __webpack_require__(/*! ./_Symbol */ "./node_modules/lodash/_Symbol.js"),
27    getRawTag = __webpack_require__(/*! ./_getRawTag */ "./node_modules/lodash/_getRawTag.js"),
28    objectToString = __webpack_require__(/*! ./_objectToString */ "./node_modules/lodash/_objectToString.js");
29
30/** `Object#toString` result references. */
31var nullTag = '[object Null]',
32    undefinedTag = '[object Undefined]';
33
34/** Built-in value references. */
35var symToStringTag = Symbol ? Symbol.toStringTag : undefined;
36
37/**
38 * The base implementation of `getTag` without fallbacks for buggy environments.
39 *
40 * @private
41 * @param {*} value The value to query.
42 * @returns {string} Returns the `toStringTag`.
43 */
44function baseGetTag(value) {
45  if (value == null) {
46    return value === undefined ? undefinedTag : nullTag;
47  }
48  return (symToStringTag && symToStringTag in Object(value))
49    ? getRawTag(value)
50    : objectToString(value);
51}
52
53module.exports = baseGetTag;
54
55
56/***/ }),
57
vendor: 774 bytes, lines 58-86
58/***/ "./node_modules/lodash/_baseTrim.js":
59/*!******************************************!*\
60  !*** ./node_modules/lodash/_baseTrim.js ***!
61  \******************************************/
62/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
63
64var trimmedEndIndex = __webpack_require__(/*! ./_trimmedEndIndex */ "./node_modules/lodash/_trimmedEndIndex.js");
65
66/** Used to match leading whitespace. */
67var reTrimStart = /^\s+/;
68
69/**
70 * The base implementation of `_.trim`.
71 *
72 * @private
73 * @param {string} string The string to trim.
74 * @returns {string} Returns the trimmed string.
75 */
76function baseTrim(string) {
77  return string
78    ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, '')
79    : string;
80}
81
82module.exports = baseTrim;
83
84
85/***/ }),
86
vendor: 510 bytes, lines 87-100
87/***/ "./node_modules/lodash/_freeGlobal.js":
88/*!********************************************!*\
89  !*** ./node_modules/lodash/_freeGlobal.js ***!
90  \********************************************/
91/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
92
93/** Detect free variable `global` from Node.js. */
94var freeGlobal = typeof __webpack_require__.g == 'object' && __webpack_require__.g && __webpack_require__.g.Object === Object && __webpack_require__.g;
95
96module.exports = freeGlobal;
97
98
99/***/ }),
100
vendor: 1,464 bytes, lines 101-156
101/***/ "./node_modules/lodash/_getRawTag.js":
102/*!*******************************************!*\
103  !*** ./node_modules/lodash/_getRawTag.js ***!
104  \*******************************************/
105/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
106
107var Symbol = __webpack_require__(/*! ./_Symbol */ "./node_modules/lodash/_Symbol.js");
108
109/** Used for built-in method references. */
110var objectProto = Object.prototype;
111
112/** Used to check objects for own properties. */
113var hasOwnProperty = objectProto.hasOwnProperty;
114
115/**
116 * Used to resolve the
117 * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
118 * of values.
119 */
120var nativeObjectToString = objectProto.toString;
121
122/** Built-in value references. */
123var symToStringTag = Symbol ? Symbol.toStringTag : undefined;
124
125/**
126 * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.
127 *
128 * @private
129 * @param {*} value The value to query.
130 * @returns {string} Returns the raw `toStringTag`.
131 */
132function getRawTag(value) {
133  var isOwn = hasOwnProperty.call(value, symToStringTag),
134      tag = value[symToStringTag];
135
136  try {
137    value[symToStringTag] = undefined;
138    var unmasked = true;
139  } catch (e) {}
140
141  var result = nativeObjectToString.call(value);
142  if (unmasked) {
143    if (isOwn) {
144      value[symToStringTag] = tag;
145    } else {
146      delete value[symToStringTag];
147    }
148  }
149  return result;
150}
151
152module.exports = getRawTag;
153
154
155/***/ }),
156
vendor: 811 bytes, lines 157-188
157/***/ "./node_modules/lodash/_objectToString.js":
158/*!************************************************!*\
159  !*** ./node_modules/lodash/_objectToString.js ***!
160  \************************************************/
161/***/ ((module) => {
162
163/** Used for built-in method references. */
164var objectProto = Object.prototype;
165
166/**
167 * Used to resolve the
168 * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
169 * of values.
170 */
171var nativeObjectToString = objectProto.toString;
172
173/**
174 * Converts `value` to a string using `Object.prototype.toString`.
175 *
176 * @private
177 * @param {*} value The value to convert.
178 * @returns {string} Returns the converted string.
179 */
180function objectToString(value) {
181  return nativeObjectToString.call(value);
182}
183
184module.exports = objectToString;
185
186
187/***/ }),
188
vendor: 609 bytes, lines 189-207
189/***/ "./node_modules/lodash/_root.js":
190/*!**************************************!*\
191  !*** ./node_modules/lodash/_root.js ***!
192  \**************************************/
193/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
194
195var freeGlobal = __webpack_require__(/*! ./_freeGlobal */ "./node_modules/lodash/_freeGlobal.js");
196
197/** Detect free variable `self`. */
198var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
199
200/** Used as a reference to the global object. */
201var root = freeGlobal || freeSelf || Function('return this')();
202
203module.exports = root;
204
205
206/***/ }),
207
vendor: 765 bytes, lines 208-236
208/***/ "./node_modules/lodash/_trimmedEndIndex.js":
209/*!*************************************************!*\
210  !*** ./node_modules/lodash/_trimmedEndIndex.js ***!
211  \*************************************************/
212/***/ ((module) => {
213
214/** Used to match a single whitespace character. */
215var reWhitespace = /\s/;
216
217/**
218 * Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace
219 * character of `string`.
220 *
221 * @private
222 * @param {string} string The string to inspect.
223 * @returns {number} Returns the index of the last non-whitespace character.
224 */
225function trimmedEndIndex(string) {
226  var index = string.length;
227
228  while (index-- && reWhitespace.test(string.charAt(index))) {}
229  return index;
230}
231
232module.exports = trimmedEndIndex;
233
234
235/***/ }),
236
vendor: 6,519 bytes, lines 237-437
237/***/ "./node_modules/lodash/debounce.js":
238/*!*****************************************!*\
239  !*** ./node_modules/lodash/debounce.js ***!
240  \*****************************************/
241/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
242
243var isObject = __webpack_require__(/*! ./isObject */ "./node_modules/lodash/isObject.js"),
244    now = __webpack_require__(/*! ./now */ "./node_modules/lodash/now.js"),
245    toNumber = __webpack_require__(/*! ./toNumber */ "./node_modules/lodash/toNumber.js");
246
247/** Error message constants. */
248var FUNC_ERROR_TEXT = 'Expected a function';
249
250/* Built-in method references for those with the same name as other `lodash` methods. */
251var nativeMax = Math.max,
252    nativeMin = Math.min;
253
254/**
255 * Creates a debounced function that delays invoking `func` until after `wait`
256 * milliseconds have elapsed since the last time the debounced function was
257 * invoked. The debounced function comes with a `cancel` method to cancel
258 * delayed `func` invocations and a `flush` method to immediately invoke them.
259 * Provide `options` to indicate whether `func` should be invoked on the
260 * leading and/or trailing edge of the `wait` timeout. The `func` is invoked
261 * with the last arguments provided to the debounced function. Subsequent
262 * calls to the debounced function return the result of the last `func`
263 * invocation.
264 *
265 * **Note:** If `leading` and `trailing` options are `true`, `func` is
266 * invoked on the trailing edge of the timeout only if the debounced function
267 * is invoked more than once during the `wait` timeout.
268 *
269 * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred
270 * until to the next tick, similar to `setTimeout` with a timeout of `0`.
271 *
272 * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)
273 * for details over the differences between `_.debounce` and `_.throttle`.
274 *
275 * @static
276 * @memberOf _
277 * @since 0.1.0
278 * @category Function
279 * @param {Function} func The function to debounce.
280 * @param {number} [wait=0] The number of milliseconds to delay.
281 * @param {Object} [options={}] The options object.
282 * @param {boolean} [options.leading=false]
283 *  Specify invoking on the leading edge of the timeout.
284 * @param {number} [options.maxWait]
285 *  The maximum time `func` is allowed to be delayed before it's invoked.
286 * @param {boolean} [options.trailing=true]
287 *  Specify invoking on the trailing edge of the timeout.
288 * @returns {Function} Returns the new debounced function.
289 * @example
290 *
291 * // Avoid costly calculations while the window size is in flux.
292 * jQuery(window).on('resize', _.debounce(calculateLayout, 150));
293 *
294 * // Invoke `sendMail` when clicked, debouncing subsequent calls.
295 * jQuery(element).on('click', _.debounce(sendMail, 300, {
296 *   'leading': true,
297 *   'trailing': false
298 * }));
299 *
300 * // Ensure `batchLog` is invoked once after 1 second of debounced calls.
301 * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });
302 * var source = new EventSource('/stream');
303 * jQuery(source).on('message', debounced);
304 *
305 * // Cancel the trailing debounced invocation.
306 * jQuery(window).on('popstate', debounced.cancel);
307 */
308function debounce(func, wait, options) {
309  var lastArgs,
310      lastThis,
311      maxWait,
312      result,
313      timerId,
314      lastCallTime,
315      lastInvokeTime = 0,
316      leading = false,
317      maxing = false,
318      trailing = true;
319
320  if (typeof func != 'function') {
321    throw new TypeError(FUNC_ERROR_TEXT);
322  }
323  wait = toNumber(wait) || 0;
324  if (isObject(options)) {
325    leading = !!options.leading;
326    maxing = 'maxWait' in options;
327    maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;
328    trailing = 'trailing' in options ? !!options.trailing : trailing;
329  }
330
331  function invokeFunc(time) {
332    var args = lastArgs,
333        thisArg = lastThis;
334
335    lastArgs = lastThis = undefined;
336    lastInvokeTime = time;
337    result = func.apply(thisArg, args);
338    return result;
339  }
340
341  function leadingEdge(time) {
342    // Reset any `maxWait` timer.
343    lastInvokeTime = time;
344    // Start the timer for the trailing edge.
345    timerId = setTimeout(timerExpired, wait);
346    // Invoke the leading edge.
347    return leading ? invokeFunc(time) : result;
348  }
349
350  function remainingWait(time) {
351    var timeSinceLastCall = time - lastCallTime,
352        timeSinceLastInvoke = time - lastInvokeTime,
353        timeWaiting = wait - timeSinceLastCall;
354
355    return maxing
356      ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke)
357      : timeWaiting;
358  }
359
360  function shouldInvoke(time) {
361    var timeSinceLastCall = time - lastCallTime,
362        timeSinceLastInvoke = time - lastInvokeTime;
363
364    // Either this is the first call, activity has stopped and we're at the
365    // trailing edge, the system time has gone backwards and we're treating
366    // it as the trailing edge, or we've hit the `maxWait` limit.
367    return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||
368      (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));
369  }
370
371  function timerExpired() {
372    var time = now();
373    if (shouldInvoke(time)) {
374      return trailingEdge(time);
375    }
376    // Restart the timer.
377    timerId = setTimeout(timerExpired, remainingWait(time));
378  }
379
380  function trailingEdge(time) {
381    timerId = undefined;
382
383    // Only invoke if we have `lastArgs` which means `func` has been
384    // debounced at least once.
385    if (trailing && lastArgs) {
386      return invokeFunc(time);
387    }
388    lastArgs = lastThis = undefined;
389    return result;
390  }
391
392  function cancel() {
393    if (timerId !== undefined) {
394      clearTimeout(timerId);
395    }
396    lastInvokeTime = 0;
397    lastArgs = lastCallTime = lastThis = timerId = undefined;
398  }
399
400  function flush() {
401    return timerId === undefined ? result : trailingEdge(now());
402  }
403
404  function debounced() {
405    var time = now(),
406        isInvoking = shouldInvoke(time);
407
408    lastArgs = arguments;
409    lastThis = this;
410    lastCallTime = time;
411
412    if (isInvoking) {
413      if (timerId === undefined) {
414        return leadingEdge(lastCallTime);
415      }
416      if (maxing) {
417        // Handle invocations in a tight loop.
418        clearTimeout(timerId);
419        timerId = setTimeout(timerExpired, wait);
420        return invokeFunc(lastCallTime);
421      }
422    }
423    if (timerId === undefined) {
424      timerId = setTimeout(timerExpired, wait);
425    }
426    return result;
427  }
428  debounced.cancel = cancel;
429  debounced.flush = flush;
430  return debounced;
431}
432
433module.exports = debounce;
434
435
436/***/ }),
437
vendor: 951 bytes, lines 438-478
438/***/ "./node_modules/lodash/isObject.js":
439/*!*****************************************!*\
440  !*** ./node_modules/lodash/isObject.js ***!
441  \*****************************************/
442/***/ ((module) => {
443
444/**
445 * Checks if `value` is the
446 * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
447 * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
448 *
449 * @static
450 * @memberOf _
451 * @since 0.1.0
452 * @category Lang
453 * @param {*} value The value to check.
454 * @returns {boolean} Returns `true` if `value` is an object, else `false`.
455 * @example
456 *
457 * _.isObject({});
458 * // => true
459 *
460 * _.isObject([1, 2, 3]);
461 * // => true
462 *
463 * _.isObject(_.noop);
464 * // => true
465 *
466 * _.isObject(null);
467 * // => false
468 */
469function isObject(value) {
470  var type = typeof value;
471  return value != null && (type == 'object' || type == 'function');
472}
473
474module.exports = isObject;
475
476
477/***/ }),
478
vendor: 848 bytes, lines 479-517
479/***/ "./node_modules/lodash/isObjectLike.js":
480/*!*********************************************!*\
481  !*** ./node_modules/lodash/isObjectLike.js ***!
482  \*********************************************/
483/***/ ((module) => {
484
485/**
486 * Checks if `value` is object-like. A value is object-like if it's not `null`
487 * and has a `typeof` result of "object".
488 *
489 * @static
490 * @memberOf _
491 * @since 4.0.0
492 * @category Lang
493 * @param {*} value The value to check.
494 * @returns {boolean} Returns `true` if `value` is object-like, else `false`.
495 * @example
496 *
497 * _.isObjectLike({});
498 * // => true
499 *
500 * _.isObjectLike([1, 2, 3]);
501 * // => true
502 *
503 * _.isObjectLike(_.noop);
504 * // => false
505 *
506 * _.isObjectLike(null);
507 * // => false
508 */
509function isObjectLike(value) {
510  return value != null && typeof value == 'object';
511}
512
513module.exports = isObjectLike;
514
515
516/***/ }),
517
vendor: 1,060 bytes, lines 518-556
518/***/ "./node_modules/lodash/isSymbol.js":
519/*!*****************************************!*\
520  !*** ./node_modules/lodash/isSymbol.js ***!
521  \*****************************************/
522/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
523
524var baseGetTag = __webpack_require__(/*! ./_baseGetTag */ "./node_modules/lodash/_baseGetTag.js"),
525    isObjectLike = __webpack_require__(/*! ./isObjectLike */ "./node_modules/lodash/isObjectLike.js");
526
527/** `Object#toString` result references. */
528var symbolTag = '[object Symbol]';
529
530/**
531 * Checks if `value` is classified as a `Symbol` primitive or object.
532 *
533 * @static
534 * @memberOf _
535 * @since 4.0.0
536 * @category Lang
537 * @param {*} value The value to check.
538 * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.
539 * @example
540 *
541 * _.isSymbol(Symbol.iterator);
542 * // => true
543 *
544 * _.isSymbol('abc');
545 * // => false
546 */
547function isSymbol(value) {
548  return typeof value == 'symbol' ||
549    (isObjectLike(value) && baseGetTag(value) == symbolTag);
550}
551
552module.exports = isSymbol;
553
554
555/***/ }),
556
vendor: 815 bytes, lines 557-589
557/***/ "./node_modules/lodash/now.js":
558/*!************************************!*\
559  !*** ./node_modules/lodash/now.js ***!
560  \************************************/
561/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
562
563var root = __webpack_require__(/*! ./_root */ "./node_modules/lodash/_root.js");
564
565/**
566 * Gets the timestamp of the number of milliseconds that have elapsed since
567 * the Unix epoch (1 January 1970 00:00:00 UTC).
568 *
569 * @static
570 * @memberOf _
571 * @since 2.4.0
572 * @category Date
573 * @returns {number} Returns the timestamp.
574 * @example
575 *
576 * _.defer(function(stamp) {
577 *   console.log(_.now() - stamp);
578 * }, _.now());
579 * // => Logs the number of milliseconds it took for the deferred invocation.
580 */
581var now = function() {
582  return root.Date.now();
583};
584
585module.exports = now;
586
587
588/***/ }),
589
vendor: 3,080 bytes, lines 590-668
590/***/ "./node_modules/lodash/throttle.js":
591/*!*****************************************!*\
592  !*** ./node_modules/lodash/throttle.js ***!
593  \*****************************************/
594/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
595
596var debounce = __webpack_require__(/*! ./debounce */ "./node_modules/lodash/debounce.js"),
597    isObject = __webpack_require__(/*! ./isObject */ "./node_modules/lodash/isObject.js");
598
599/** Error message constants. */
600var FUNC_ERROR_TEXT = 'Expected a function';
601
602/**
603 * Creates a throttled function that only invokes `func` at most once per
604 * every `wait` milliseconds. The throttled function comes with a `cancel`
605 * method to cancel delayed `func` invocations and a `flush` method to
606 * immediately invoke them. Provide `options` to indicate whether `func`
607 * should be invoked on the leading and/or trailing edge of the `wait`
608 * timeout. The `func` is invoked with the last arguments provided to the
609 * throttled function. Subsequent calls to the throttled function return the
610 * result of the last `func` invocation.
611 *
612 * **Note:** If `leading` and `trailing` options are `true`, `func` is
613 * invoked on the trailing edge of the timeout only if the throttled function
614 * is invoked more than once during the `wait` timeout.
615 *
616 * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred
617 * until to the next tick, similar to `setTimeout` with a timeout of `0`.
618 *
619 * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)
620 * for details over the differences between `_.throttle` and `_.debounce`.
621 *
622 * @static
623 * @memberOf _
624 * @since 0.1.0
625 * @category Function
626 * @param {Function} func The function to throttle.
627 * @param {number} [wait=0] The number of milliseconds to throttle invocations to.
628 * @param {Object} [options={}] The options object.
629 * @param {boolean} [options.leading=true]
630 *  Specify invoking on the leading edge of the timeout.
631 * @param {boolean} [options.trailing=true]
632 *  Specify invoking on the trailing edge of the timeout.
633 * @returns {Function} Returns the new throttled function.
634 * @example
635 *
636 * // Avoid excessively updating the position while scrolling.
637 * jQuery(window).on('scroll', _.throttle(updatePosition, 100));
638 *
639 * // Invoke `renewToken` when the click event is fired, but not more than once every 5 minutes.
640 * var throttled = _.throttle(renewToken, 300000, { 'trailing': false });
641 * jQuery(element).on('click', throttled);
642 *
643 * // Cancel the trailing throttled invocation.
644 * jQuery(window).on('popstate', throttled.cancel);
645 */
646function throttle(func, wait, options) {
647  var leading = true,
648      trailing = true;
649
650  if (typeof func != 'function') {
651    throw new TypeError(FUNC_ERROR_TEXT);
652  }
653  if (isObject(options)) {
654    leading = 'leading' in options ? !!options.leading : leading;
655    trailing = 'trailing' in options ? !!options.trailing : trailing;
656  }
657  return debounce(func, wait, {
658    'leading': leading,
659    'maxWait': wait,
660    'trailing': trailing
661  });
662}
663
664module.exports = throttle;
665
666
667/***/ }),
668
vendor: 1,944 bytes, lines 669-742
669/***/ "./node_modules/lodash/toNumber.js":
670/*!*****************************************!*\
671  !*** ./node_modules/lodash/toNumber.js ***!
672  \*****************************************/
673/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
674
675var baseTrim = __webpack_require__(/*! ./_baseTrim */ "./node_modules/lodash/_baseTrim.js"),
676    isObject = __webpack_require__(/*! ./isObject */ "./node_modules/lodash/isObject.js"),
677    isSymbol = __webpack_require__(/*! ./isSymbol */ "./node_modules/lodash/isSymbol.js");
678
679/** Used as references for various `Number` constants. */
680var NAN = 0 / 0;
681
682/** Used to detect bad signed hexadecimal string values. */
683var reIsBadHex = /^[-+]0x[0-9a-f]+$/i;
684
685/** Used to detect binary string values. */
686var reIsBinary = /^0b[01]+$/i;
687
688/** Used to detect octal string values. */
689var reIsOctal = /^0o[0-7]+$/i;
690
691/** Built-in method references without a dependency on `root`. */
692var freeParseInt = parseInt;
693
694/**
695 * Converts `value` to a number.
696 *
697 * @static
698 * @memberOf _
699 * @since 4.0.0
700 * @category Lang
701 * @param {*} value The value to process.
702 * @returns {number} Returns the number.
703 * @example
704 *
705 * _.toNumber(3.2);
706 * // => 3.2
707 *
708 * _.toNumber(Number.MIN_VALUE);
709 * // => 5e-324
710 *
711 * _.toNumber(Infinity);
712 * // => Infinity
713 *
714 * _.toNumber('3.2');
715 * // => 3.2
716 */
717function toNumber(value) {
718  if (typeof value == 'number') {
719    return value;
720  }
721  if (isSymbol(value)) {
722    return NAN;
723  }
724  if (isObject(value)) {
725    var other = typeof value.valueOf == 'function' ? value.valueOf() : value;
726    value = isObject(other) ? (other + '') : other;
727  }
728  if (typeof value != 'string') {
729    return value === 0 ? value : +value;
730  }
731  value = baseTrim(value);
732  var isBinary = reIsBinary.test(value);
733  return (isBinary || reIsOctal.test(value))
734    ? freeParseInt(value.slice(2), isBinary ? 2 : 8)
735    : (reIsBadHex.test(value) ? NAN : +value);
736}
737
738module.exports = toNumber;
739
740
741/***/ }),
742
743/***/ "./web/app/themes/wvo/js/src/__header/AlertBar.js":
744/*!********************************************************!*\
745  !*** ./web/app/themes/wvo/js/src/__header/AlertBar.js ***!
746  \********************************************************/
747/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
748
749"use strict";
750__webpack_require__.r(__webpack_exports__);
751/* harmony export */ __webpack_require__.d(__webpack_exports__, {
752/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
753/* harmony export */ });
754/* harmony import */ var _utils_vhUnit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../__utils/vhUnit */ "./web/app/themes/wvo/js/src/__utils/vhUnit.js");
755/* eslint-disable */
756
757
758function AlertBar() {
759	const body = document.body;
760	const alertContainer = document.getElementById( 'e29-alert-bar' );
761	const alertItems = alertContainer
762		? alertContainer.querySelectorAll( '.alert-bar__item' )
763		: false;
764	const currentStorage = JSON.parse( sessionStorage.getItem( 'e29-alert-bar' ) );
765	const alertState = currentStorage ? currentStorage : {};
766
767	//Add height to body for other fixed/absolute elements
768	if ( alertContainer ) {
769		const alertObserver = new ResizeObserver( ( entries ) => {
770			entries.forEach( () => {
771				const alertContainerTop = alertContainer.offsetTop;
772				const alertContainerHeight = alertContainer.offsetHeight;
773				body.style.setProperty(
774					'--alert-bar-height',
775					`${ alertContainerHeight + alertContainerTop }px`,
776				);
777			} );
778		} );
779
780		alertObserver.observe( alertContainer );
781	}
782
783	//Manage viewed state
784	function setStorage() {
785		sessionStorage.setItem( 'e29-alert-bar', JSON.stringify( alertState ) );
786	}
787
788	if ( alertItems ) {
789		alertItems.forEach( ( alertItem ) => {
790			const alertClose = alertItem.querySelector( '.alert-bar__close' );
791			const alertID = alertItem.getAttribute( 'id' );
792
793			//Loop through local storage and determine what has been viewed
794			if ( currentStorage ) {
795				for ( const item in currentStorage ) {
796					if ( item === alertID && currentStorage[ item ].viewed ) {
797						document.getElementById( item ).classList.add( 'viewed' );
798					}
799					if ( item === alertID && ! currentStorage[ item ].viewed ) {
800						document
801							.getElementById( item )
802							.classList.remove( 'viewed' );
803					}
804				}
805			} else {
806				alertState[ alertID ] = { viewed: false };
807				alertItem.classList.remove( 'viewed' );
808			}
809
810			//Close alert item and set local storage
811			if ( alertClose ) {
812				alertClose.addEventListener( 'click', function( e ) {
813					e.preventDefault();
814					alertItem.classList.add( 'viewed' );
815					alertState[ alertID ] = { viewed: true };
816					setStorage();
817					(0,_utils_vhUnit__WEBPACK_IMPORTED_MODULE_0__["default"])();
818				} );
819			}
820
821			//Create local storage if it doesn't exist
822			if ( ! currentStorage ) {
823				setStorage();
824			}
825		} );
826	}
827}
828
829/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (AlertBar);
830
831/* eslint-enable */
832
833
834/***/ }),
835
836/***/ "./web/app/themes/wvo/js/src/__header/Header.js":
837/*!******************************************************!*\
838  !*** ./web/app/themes/wvo/js/src/__header/Header.js ***!
839  \******************************************************/
840/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
841
842"use strict";
843__webpack_require__.r(__webpack_exports__);
844/* harmony export */ __webpack_require__.d(__webpack_exports__, {
845/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
846/* harmony export */ });
847/* harmony import */ var _utils_vhUnit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../__utils/vhUnit */ "./web/app/themes/wvo/js/src/__utils/vhUnit.js");
848/* harmony import */ var _utils_lockScroll__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../__utils/lockScroll */ "./web/app/themes/wvo/js/src/__utils/lockScroll.js");
849
850
851const $ = jQuery.noConflict();
852class Header {
853	constructor() {
854		this.body = document.body;
855		this.header = document.querySelector( '.main-header' );
856		this.alertBar = this.header.querySelector( '.alert-bar' );
857		this.time = 300;
858		this.megaMenuLinks = this.header.querySelectorAll( '.main-header__nav .mega-menu__nav-link' );
859		this.megaMenus = this.header.querySelectorAll( '.main-header .mega-menu-wrapper' );
860		this.btnMenu = this.header.querySelector( '.btn-hamburger' );
861		this.menuMobile = this.header.querySelector( '.main-header__nav-mobile--wrapper' );
862		this.menuMobileLinks = this.menuMobile.querySelectorAll( '.mega-menu__nav-link' );
863		this.megaMenusMobile = this.menuMobile.querySelectorAll( '.mega-menu-wrapper' );
864		this.viewport = window.matchMedia( 'screen and (max-width: 1199px)' );
865	}
866
867	init() {
868		if ( ! this.header ) {
869			return;
870		}
871		this.btnMenu.addEventListener( 'click', ( e ) => this.toggleMenu( e ) );
872		[ ...this.menuMobileLinks ].forEach( ( link ) => {
873			link.addEventListener( 'click', ( e ) => this.toggleMobileAccordions( e ) );
874		} );
875		[ ...this.megaMenuLinks ].forEach( ( link ) => {
876			link.addEventListener( 'click', ( e ) => this.toggleMegaMenu( e ) );
877		} );
878	}
879
880	//ToggleMobileAccordion
881	toggleMobileAccordions( e ) {
882		e.preventDefault();
883		const target = e.currentTarget;
884		const menuWrapper = target.parentElement.querySelector( '.mega-menu-wrapper' );
885
886		if ( ! menuWrapper ) {
887			return;
888		}
889		if ( target.classList.contains( 'active' ) && menuWrapper.classList.contains( 'active' ) ) {
890			this.closeAccordion( target, menuWrapper );
891		} else {
892			this.showAccordion( target, menuWrapper );
893		}
894	}
895
896	showAccordion( target, menuWrapper ) {
897		target.classList.add( 'active' );
898		$( menuWrapper ).addClass( 'active' ).stop().slideDown( this.time );
899	}
900
901	closeAccordion( target, menuWrapper ) {
902		target.classList.remove( 'active' );
903		$( menuWrapper ).removeClass( 'active' ).stop().slideUp( this.time );
904	}
905
906	closeAllAccordions() {
907		[ ...this.menuMobileLinks ].forEach( ( el ) => el.classList.remove( 'active' ) );
908		[ ...this.megaMenusMobile ].forEach( ( el ) => {
909			el.classList.remove( 'active' );
910			el.style.display = 'none';
911		} );
912	}
913
914	//ToggleMobileMenu
915	toggleMenu( e ) {
916		const el = e.currentTarget;
917		if ( el.classList.contains( 'active' ) ) {
918			this.closeMenu();
919			return;
920		}
921		this.closeMenu();
922		this.openMenu( e );
923	}
924
925	openMenu( e ) {
926		e.preventDefault();
927		(0,_utils_vhUnit__WEBPACK_IMPORTED_MODULE_0__["default"])();
928		this.menuMobile.classList.add( 'active' );
929
930		e.currentTarget.classList.add( 'active' );
931		this.header.classList.add( 'active' );
932		this.body.classList.add( 'overlayed' );
933		_utils_lockScroll__WEBPACK_IMPORTED_MODULE_1__["default"].lock();
934	}
935
936	closeMenu() {
937		this.menuMobile.classList.remove( 'active' );
938		this.btnMenu.classList.remove( 'active' );
939		this.header.classList.remove( 'active' );
940		this.body.classList.remove( 'overlayed' );
941		_utils_lockScroll__WEBPACK_IMPORTED_MODULE_1__["default"].unlock();
942	}
943
944	//toggleDesktopMegaMenu
945	toggleMegaMenu( e ) {
946		e.preventDefault();
947		const target = e.currentTarget;
948		const menuWrapper = target.parentElement.querySelector( '.mega-menu-wrapper' );
949
950		if ( ! menuWrapper ) {
951			return;
952		}
953		if ( target.classList.contains( 'active' ) && menuWrapper.classList.contains( 'active' ) ) {
954			this.closeMegaMenu();
955			return;
956		}
957		this.closeMegaMenu();
958		this.showMegaMenu( target, menuWrapper );
959	}
960
961	showMegaMenu( target, menuWrapper ) {
962		this.header.classList.add( 'mega-menu-open' );
963		target.classList.add( 'active' );
964		menuWrapper.classList.add( 'active' );
965		_utils_lockScroll__WEBPACK_IMPORTED_MODULE_1__["default"].lock();
966	}
967
968	closeMegaMenu() {
969		this.header.classList.remove( 'mega-menu-open' );
970		[ ...this.megaMenuLinks ].forEach( ( el ) => el.classList.remove( 'active' ) );
971		[ ...this.megaMenus ].forEach( ( el ) => el.classList.remove( 'active' ) );
972		_utils_lockScroll__WEBPACK_IMPORTED_MODULE_1__["default"].unlock();
973	}
974
975	// change number of column depending od viewport width
976	resizeMegaMenu() {
977		if ( ! this.viewport.matches && this.megaMenus ) {
978			const classTwoColumn = 'mega-menu-wrapper--two-columns';
979			const classOneColumn = 'mega-menu-wrapper--one-column';
980			[ ...this.megaMenus ].forEach( ( megaMenu ) => {
981				const rect = megaMenu.getBoundingClientRect();
982				if ( rect.right > ( window.visualViewport.width - 30 ) ) {
983					megaMenu.classList.add( classTwoColumn );
984					if ( megaMenu.classList.contains( classTwoColumn ) ) {
985						megaMenu.classList.add( classOneColumn );
986					}
987				}
988				if ( ( window.visualViewport.width - rect.left ) > 1050 ) {
989					megaMenu.classList.remove( classTwoColumn );
990				}
991				if ( ( window.visualViewport.width - rect.left ) > 750 ) {
992					megaMenu.classList.remove( classOneColumn );
993				}
994			} );
995		}
996	}
997
998	hideOutsideClick( e ) {
999		if ( ! this.header.contains( e.target ) && ( this.header.classList.contains( 'active' ) || this.header.classList.contains( 'mega-menu-open' ) ) ) {
1000			if ( this.viewport.matches ) {
1001				this.closeMenu();
1002			} else if ( this.header.classList.contains( 'mega-menu-open' ) ) {
1003				this.closeMegaMenu();
1004			}
1005		}
1006	}
1007
1008	resized() {
1009		if ( ! this.header ) {
1010			return;
1011		}
1012		if ( ! this.viewport.matches ) {
1013			this.closeMenu();
1014			this.closeAllAccordions();
1015		} else if ( this.viewport.matches ) {
1016			if ( this.header.classList.contains( 'mega-menu-open' ) ) {
1017				this.closeMegaMenu();
1018			}
1019		}
1020		this.resizeMegaMenu();
1021	}
1022}
1023
1024/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (new Header());
1025
1026
1027/***/ }),
1028
1029/***/ "./web/app/themes/wvo/js/src/__init/controller.js":
1030/*!********************************************************!*\
1031  !*** ./web/app/themes/wvo/js/src/__init/controller.js ***!
1032  \********************************************************/
1033/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1034
1035"use strict";
1036__webpack_require__.r(__webpack_exports__);
1037/* harmony export */ __webpack_require__.d(__webpack_exports__, {
1038/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
1039/* harmony export */ });
1040/* harmony import */ var _header_Header__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../__header/Header */ "./web/app/themes/wvo/js/src/__header/Header.js");
1041/* harmony import */ var _shortcodes_accordions__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../__shortcodes/accordions */ "./web/app/themes/wvo/js/src/__shortcodes/accordions.js");
1042/* harmony import */ var _utils_mirrorHover__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../__utils/mirrorHover */ "./web/app/themes/wvo/js/src/__utils/mirrorHover.js");
1043/* harmony import */ var _utils_video__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../__utils/video */ "./web/app/themes/wvo/js/src/__utils/video.js");
1044/* harmony import */ var _utils_smoothScroll__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../__utils/smoothScroll */ "./web/app/themes/wvo/js/src/__utils/smoothScroll.js");
1045/* harmony import */ var _utils_tables__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../__utils/tables */ "./web/app/themes/wvo/js/src/__utils/tables.js");
1046/* harmony import */ var _utils_forms__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../__utils/forms */ "./web/app/themes/wvo/js/src/__utils/forms.js");
1047/* harmony import */ var _utils_vhUnit__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../__utils/vhUnit */ "./web/app/themes/wvo/js/src/__utils/vhUnit.js");
1048/* harmony import */ var _header_AlertBar__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../__header/AlertBar */ "./web/app/themes/wvo/js/src/__header/AlertBar.js");
1049/* harmony import */ var _utils_cookiesAlert__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../__utils/cookiesAlert */ "./web/app/themes/wvo/js/src/__utils/cookiesAlert.js");
1050/* harmony import */ var _utils_sliders__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../__utils/sliders */ "./web/app/themes/wvo/js/src/__utils/sliders.js");
1051/* harmony import */ var _utils_ImageHelper__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../__utils/ImageHelper */ "./web/app/themes/wvo/js/src/__utils/ImageHelper.js");
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065// GLOBAL APP CONTROLLER
1066const controller = {
1067	init() {
1068		document.querySelector( 'html' ).classList.remove( 'no-js' );
1069		_header_Header__WEBPACK_IMPORTED_MODULE_0__["default"].init();
1070		(0,_utils_smoothScroll__WEBPACK_IMPORTED_MODULE_4__["default"])();
1071		_shortcodes_accordions__WEBPACK_IMPORTED_MODULE_1__["default"].init();
1072		_utils_video__WEBPACK_IMPORTED_MODULE_3__["default"].init();
1073		(0,_utils_mirrorHover__WEBPACK_IMPORTED_MODULE_2__["default"])();
1074		_utils_tables__WEBPACK_IMPORTED_MODULE_5__["default"].init();
1075		(0,_utils_vhUnit__WEBPACK_IMPORTED_MODULE_7__["default"])();
1076		(0,_header_AlertBar__WEBPACK_IMPORTED_MODULE_8__["default"])();
1077		(0,_utils_cookiesAlert__WEBPACK_IMPORTED_MODULE_9__["default"])();
1078		_utils_sliders__WEBPACK_IMPORTED_MODULE_10__.ActivitySingleHeroSlider.init();
1079		(0,_utils_ImageHelper__WEBPACK_IMPORTED_MODULE_11__["default"])();
1080	},
1081	loaded() {
1082		document.querySelector( 'body' ).classList.add( 'page-has-loaded' );
1083		(0,_utils_vhUnit__WEBPACK_IMPORTED_MODULE_7__["default"])();
1084		_header_Header__WEBPACK_IMPORTED_MODULE_0__["default"].resizeMegaMenu();
1085	},
1086	resized() {
1087		_header_Header__WEBPACK_IMPORTED_MODULE_0__["default"].resized();
1088		_utils_tables__WEBPACK_IMPORTED_MODULE_5__["default"].toggleShadow();
1089		(0,_utils_vhUnit__WEBPACK_IMPORTED_MODULE_7__["default"])();
1090	},
1091	scrolled() {},
1092	keyDown() {},
1093	mouseUp( e ) {
1094		_header_Header__WEBPACK_IMPORTED_MODULE_0__["default"].hideOutsideClick( e );
1095	},
1096	gformRender() {
1097		(0,_utils_forms__WEBPACK_IMPORTED_MODULE_6__["default"])();
1098	},
1099};
1100/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (controller);
vendor: 23 bytes, lines 1100-1105
1100
1101
1102
1103/***/ }),
1104
1105/***/ "./
1105web/app/themes/wvo/js/src/__shortcodes/accordions.js":
1106/*!**************************************************************!*\
1107  !*** ./web/app/themes/wvo/js/src/__shortcodes/accordions.js ***!
1108  \**************************************************************/
1109/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1110
1111"use strict";
1112__webpack_require__.r(__webpack_exports__);
1113/* harmony export */ __webpack_require__.d(__webpack_exports__, {
1114/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
1115/* harmony export */ });
1116const $ = jQuery.noConflict();
1117
1118class Accordions {
1119	constructor( trigger ) {
1120		this.trigger = $( trigger );
1121	}
1122	init() {
1123		this.bindEvents();
1124	}
1125	bindEvents() {
1126		this.trigger.on( 'click', this.toggleAccordion );
1127	}
1128	toggleAccordion() {
1129		$('.bellow').removeClass('active');
1130		$('.bellow__content').stop().slideUp(250);
1131
1132		$( this ).parents( '.content-links-image__links' ).find( '.content-links-image__link.active:not([data-image-url="' + $( this ).parent().attr( 'data-image-url' ) + '"])' ).removeClass( 'active' ).find( '.bellow__content' ).stop().slideToggle( 250 );
1133		$( this ).parent().toggleClass( 'active' );
1134		$( this ).next().stop().slideToggle( 250 );
1135		if ( $( this ).parent().attr( 'data-image-url' ) ) {
1136			$( this ).parents( '.row' ).find( '.content-links-image__thumbnail-container img' ).attr( 'src', $( this ).parent().attr( 'data-image-url' ) );
1137			$( this ).parents( '.row' ).find( '.content-links-image__thumbnail-container img' ).attr( 'srcset', '' );
1138		}
1139	}
1140}
1141
1142/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (new Accordions( '.bellow__title' ));
1143
1144
1145/***/ }),
1146
1147/***/ "./web/app/themes/wvo/js/src/__utils/ImageHelper.js":
1148/*!**********************************************************!*\
1149  !*** ./web/app/themes/wvo/js/src/__utils/ImageHelper.js ***!
1150  \**********************************************************/
1151/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1152
1153"use strict";
1154__webpack_require__.r(__webpack_exports__);
1155/* harmony export */ __webpack_require__.d(__webpack_exports__, {
1156/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
1157/* harmony export */ });
1158function ImageHelper() {
1159	const images = document.querySelectorAll( 'img' );
1160
1161	if ( images ) {
1162		images.forEach( ( image ) => {
1163			image.addEventListener( 'error', () => {
1164				image.classList.add( 'img-err' );
1165			} );
1166		} );
1167	}
1168}
1169
1170/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ImageHelper);
1171
1172
1173/***/ }),
1174
1175/***/ "./web/app/themes/wvo/js/src/__utils/cookiesAlert.js":
1176/*!***********************************************************!*\
1177  !*** ./web/app/themes/wvo/js/src/__utils/cookiesAlert.js ***!
1178  \***********************************************************/
1179/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1180
1181"use strict";
1182__webpack_require__.r(__webpack_exports__);
1183/* harmony export */ __webpack_require__.d(__webpack_exports__, {
1184/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
1185/* harmony export */ });
1186/**
1187 * Logic for hide cookie alert
1188 */
1189const $ = jQuery.noConflict();
1190
1191function cookiesAlert() {
1192	const cookiesBar = $( '.cookie-bar' );
1193
1194	if ( ! cookiesBar ) {
1195		return;
1196	}
1197
1198	cookiesBar.find( '.cookie-bar__accept' ).on( 'click', () => {
1199		const now = new Date();
1200		now.setTime( now.getTime() + ( 30 * 24 * 60 * 60 * 1000 ) ); // 1 year
1201		document.cookie = `cookies_alert=1;expires=${ now.toUTCString() };path=/`;
1202		cookiesBar.remove();
1203	} );
1204
1205	cookiesBar.find( '.cookie-bar__close' ).on( 'click', () => {
1206		cookiesBar.remove();
1207	} );
1208}
1209
1210/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (cookiesAlert);
1211
1212
1213/***/ }),
1214
1215/***/ "./web/app/themes/wvo/js/src/__utils/detectTabNav.js":
1216/*!***********************************************************!*\
1217  !*** ./web/app/themes/wvo/js/src/__utils/detectTabNav.js ***!
1218  \***********************************************************/
1219/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1220
1221"use strict";
1222__webpack_require__.r(__webpack_exports__);
1223/* harmony export */ __webpack_require__.d(__webpack_exports__, {
1224/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
1225/* harmony export */ });
1226const detectTabNav = ( e ) => {
1227	if ( e.keyCode === 9 ) {
1228		document.querySelector( 'html' ).classList.add( 'user-tab-nav' );
1229
1230		window.removeEventListener( 'keydown', detectTabNav );
1231		window.addEventListener( 'mousedown', detectMouseNav );
1232	}
1233};
1234
1235const detectMouseNav = () => {
1236	document.querySelector( 'html' ).classList.remove( 'user-tab-nav' );
1237
1238	window.removeEventListener( 'mousedown', detectMouseNav );
1239	window.addEventListener( 'keydown', detectTabNav );
1240};
1241
1242/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (detectTabNav);
1243
1244
1245/***/ }),
1246
1247/***/ "./web/app/themes/wvo/js/src/__utils/forms.js":
1248/*!****************************************************!*\
1249  !*** ./web/app/themes/wvo/js/src/__utils/forms.js ***!
1250  \****************************************************/
1251/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1252
1253"use strict";
1254__webpack_require__.r(__webpack_exports__);
1255/* harmony export */ __webpack_require__.d(__webpack_exports__, {
1256/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
1257/* harmony export */ });
1258/* eslint-disable */
1259const $ = jQuery.noConflict();
1260const forms = () => {
1261    // Apply select2 plugin to gform select fields
1262    const singleSelect = $('.gform_wrapper').find('select:not([multiple]):not([class*=select2])');
1263    const multiSelect = $('.gform_wrapper').find('select[multiple]:not([class*=select2])');
1264
1265    if (singleSelect.length) {
1266        singleSelect.each((i, select) => {
1267            const selectSingle = $(select);
1268            const gfPlaceholder = selectSingle.children('.gf_placeholder');
1269            const ariaLabel = selectSingle.attr('aria-label');
1270            let placeholderText = 'Select item';
1271
1272            if (gfPlaceholder.length) {
1273                placeholderText = gfPlaceholder.text();
1274            } else if (ariaLabel) {
1275                placeholderText = ariaLabel;
1276            }
1277
1278            selectSingle.select2({
1279                minimumResultsForSearch: Infinity,
1280                placeholder: placeholderText,
1281                width: '100%',
1282            });
1283
1284            selectSingle.on('select2:close', () => {
1285                $('.select2-selection--single').blur();
1286            });
1287
1288            $(window).on('resize', () => {
1289                selectSingle.select2('close');
1290            });
1291        });
1292    }
1293
1294    if (multiSelect.length) {
1295        multiSelect.each((i, select) => {
1296            const selectSingle = $(select);
1297            const placeholderText = 'Select item';
1298
1299            selectSingle.select2MultiCheckboxes({
1300                minimumResultsForSearch: Infinity,
1301                placeholder: placeholderText,
1302                width: '100%',
1303                templateSelection: function (selected) {
1304                    return selected.length ? (typeof selected === 'object' ? selected.join(', ') : selected) : placeholderText;
1305                }
1306            });
1307
1308            selectSingle.on('select2:close', () => {
1309                $('.select2-selection--single').blur();
1310            });
1311
1312            $(window).on('resize', () => {
1313                selectSingle.select2('close');
1314            });
1315        });
1316    }
1317
1318    // GF datepicker preinit settings
1319    gform.addFilter('gform_datepicker_options_pre_init', (optionsObj) => {
1320        optionsObj.firstDay = 1;
1321        optionsObj.changeMonth = false;
1322        optionsObj.changeYear = false;
1323
1324        return optionsObj;
1325    });
1326};
1327
1328/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (forms);
1329/* eslint-enable */
1330
1331
1332/***/ }),
1333
1334/***/ "./web/app/themes/wvo/js/src/__utils/lockScroll.js":
1335/*!*********************************************************!*\
1336  !*** ./web/app/themes/wvo/js/src/__utils/lockScroll.js ***!
1337  \*********************************************************/
1338/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1339
1340"use strict";
1341__webpack_require__.r(__webpack_exports__);
1342/* harmony export */ __webpack_require__.d(__webpack_exports__, {
1343/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
1344/* harmony export */ });
1345/**
1346 * --------------------------------------------------------------------------
1347 * Lock screen
1348 * Function locking screen scrolling, e.g for modals, menus or other
1349 * --------------------------------------------------------------------------
1350 */
1351
1352const lockScroll = {
1353	isLocked: false,
1354	lock() {
1355		if ( this.isLocked ) {
1356			return;
1357		}
1358		this.isLocked = true;
1359
1360		document.body.style.overflow = 'hidden';
1361	},
1362	unlock() {
1363		if ( ! this.isLocked ) {
1364			return;
1365		}
1366		this.isLocked = false;
1367
1368		document.body.style.overflow = '';
1369	},
1370};
1371
1372/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (lockScroll);
1373
1374
1375/***/ }),
1376
1377/***/ "./web/app/themes/wvo/js/src/__utils/mirrorHover.js":
1378/*!**********************************************************!*\
1379  !*** ./web/app/themes/wvo/js/src/__utils/mirrorHover.js ***!
1380  \**********************************************************/
1381/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1382
1383"use strict";
1384__webpack_require__.r(__webpack_exports__);
1385/* harmony export */ __webpack_require__.d(__webpack_exports__, {
1386/* harmony export */   "default": () => (/* binding */ mirrorHover)
1387/* harmony export */ });
1388const $ = jQuery.noConflict();
1389
1390function mirrorHover() {
1391	$( document ).ready( () => {
1392		$( '[data-mirror-hover]' ).each( ( index, item ) => {
1393			const target = item.getAttribute( 'data-mirror-hover' );
1394			const targetElem = document.querySelector( target );
1395
1396			if ( null !== targetElem ) {
1397				targetElem.addEventListener( 'mouseover', () => {
1398					item.classList.add( 'mirror-hover' );
1399				} );
1400				item.addEventListener( 'mouseover', () => {
1401					targetElem.classList.add( 'mirror-hover' );
1402				} );
1403				targetElem.addEventListener( 'mouseout', () => {
1404					item.classList.remove( 'mirror-hover' );
1405				} );
1406				item.addEventListener( 'mouseout', () => {
1407					targetElem.classList.remove( 'mirror-hover' );
1408				} );
1409			}
1410		} );
1411	} );
1412}
1413
1414
1415/***/ }),
1416
1417/***/ "./web/app/themes/wvo/js/src/__utils/sliders.js":
1418/*!******************************************************!*\
1419  !*** ./web/app/themes/wvo/js/src/__utils/sliders.js ***!
1420  \******************************************************/
1421/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1422
1423"use strict";
1424__webpack_require__.r(__webpack_exports__);
1425/* harmony export */ __webpack_require__.d(__webpack_exports__, {
1426/* harmony export */   "ActivitySingleHeroSlider": () => (/* binding */ ActivitySingleHeroSlider),
1427/* harmony export */   "FluidSlider": () => (/* binding */ FluidSlider),
1428/* harmony export */   "ProgramLinksSlider": () => (/* binding */ ProgramLinksSlider),
1429/* harmony export */   "SimpleSlider": () => (/* binding */ SimpleSlider),
1430/* harmony export */   "TestimonialSlider": () => (/* binding */ TestimonialSlider)
1431/* harmony export */ });
1432const $ = jQuery.noConflict();
1433
1434class Slider {
1435	constructor( selector, args = {} ) {
1436		this.selector = selector;
1437		this.args = args;
1438	}
1439
1440	getDefaultSlickSettings() {
1441		return {
1442			dots: false,
1443			arrows: true,
1444			infinite: true,
1445			slidesToShow: 1,
1446			slidesToScroll: 1,
1447			pauseOnHover: false,
1448			speed: 600,
1449		};
1450	}
1451
1452	/**
1453	 * Override our default slick settings with args provided to the class.
1454	 */
1455	getSlickSettings() {
1456		return Object.assign( {}, this.getDefaultSlickSettings(), this.args );
1457	}
1458
1459	init() {
1460		if ( ! $( this.selector ).not( '.slick-initialized' ).length ) {
1461			return;
1462		}
1463		const settings = this.getSlickSettings();
1464		$( this.selector ).slick( settings );
1465	}
1466}
1467
1468const SimpleSlider = new Slider( '.gallery-slider__slider' );
1469const TestimonialSlider = new Slider( '.testimonial-slider', {
1470	centerMode: true,
1471	variableWidth: true,
1472	infinite: true,
1473	slidesToShow: 1,
1474} );
1475
1476const FluidSlider = new Slider( '.gallery-slider__slider-fluid', {
1477	centerMode: true,
1478	variableWidth: true,
1479} );
1480const ProgramLinksSlider = new Slider( '.program-links__cards', {
1481	dots: true,
1482	arrows: false,
1483	variableWidth: true,
1484	touchThreshold: 100,
1485	infinite: true,
1486	swipeToSlide: true,
1487	mobileFirst: true,
1488	responsive: [ {
1489		breakpoint: 991,
1490		settings: 'unslick',
1491	} ],
1492} );
1493const ActivitySingleHeroSlider = new Slider( '.activity-hero__slider', {
1494	dots: false,
1495	arrows: true,
1496	variableWidth: true,
1497	touchThreshold: 100,
1498	swipeToSlide: true,
1499	loop: true,
1500	prevArrow: false,
1501	useTransform: false,
1502	easing: 'swing',
1503} );
1504
1505
1506
1507
1508/***/ }),
1509
1510/***/ "./web/app/themes/wvo/js/src/__utils/smoothScroll.js":
1511/*!***********************************************************!*\
1512  !*** ./web/app/themes/wvo/js/src/__utils/smoothScroll.js ***!
1513  \***********************************************************/
1514/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1515
1516"use strict";
1517__webpack_require__.r(__webpack_exports__);
1518/* harmony export */ __webpack_require__.d(__webpack_exports__, {
1519/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
1520/* harmony export */ });
1521const $ = jQuery.noConflict();
1522
1523function scrollFunc( e ) {
1524	const body = $( 'body' );
1525	const header = document.querySelector( '.main-header' ).getBoundingClientRect().height;
1526	const inpageNav = $( '.block-hero__links' );
1527	let target = false;
1528
1529	if ( e ) {
1530		e.preventDefault();
1531		const trigger = $( e.currentTarget );
1532		target = trigger.attr( 'href' ) === '#next' ? trigger.parents( 'section' ).next() : $( trigger.attr( 'href' ) );
1533	} else {
1534		const id = window.location.hash;
1535		if ( id ) {
1536			target = $( id );
1537		}
1538	}
1539
1540	if ( target.length ) {
1541		let offset = header; // header height
1542
1543		offset += inpageNav.length ? inpageNav.outerHeight() : 0;
1544
1545		let mt = 0;
1546		let pt = 0;
1547
1548		if ( target.hasClass( 'section-wrapper' ) ) {
1549			mt = parseInt( target.children().first().css( 'margin-top' ), 10 );
1550			pt = parseInt( target.children().first().css( 'padding-top' ), 10 );
1551		} else {
1552			mt = parseInt( target.css( 'margin-top' ), 10 );
1553			pt = parseInt( target.css( 'padding-top' ), 10 );
1554		}
1555
1556		offset += ( mt > 0 && pt === 0 ) ? mt : 0;
1557
1558		body.addClass( 'smooth-scroll' );
1559		$( 'html, body' ).stop().animate( {
1560			scrollTop: parseInt( target.offset().top - offset, 10 ),
1561		}, 600, () => {
1562			setTimeout( () => {
1563				body.removeClass( 'smooth-scroll' );
1564			}, 100 );
1565		} );
1566	}
1567}
1568
1569/**
1570 * Prevent automatic scrolling of page to anchor by browser after loading of page.
1571 * Do not call this function in $(...) or $(window).on('load', ...),
1572 * it should be called earlier, as soon as possible.
1573 */
1574function preventAnchorScroll() {
1575	if ( window.location.hash ) {
1576		window.scrollTo( 0, 0 );
1577	}
1578	setTimeout( scrollFunc, 100 );
1579}
1580
1581function smoothScroll() {
1582	$( document ).on( 'click', 'a[href^="#"]:not([href="#"])', scrollFunc );
1583	// setTimeout(scrollFunc, 100);
1584	preventAnchorScroll();
1585}
1586
1587/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (smoothScroll);
1588
1589
1590/***/ }),
1591
1592/***/ "./web/app/themes/wvo/js/src/__utils/tables.js":
1593/*!*****************************************************!*\
1594  !*** ./web/app/themes/wvo/js/src/__utils/tables.js ***!
1595  \*****************************************************/
1596/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1597
1598"use strict";
1599__webpack_require__.r(__webpack_exports__);
1600/* harmony export */ __webpack_require__.d(__webpack_exports__, {
1601/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
1602/* harmony export */ });
1603const $ = jQuery.noConflict();
1604
1605class Tables {
1606	constructor() {
1607		this.tables = $( 'table.tablepress' );
1608	}
1609
1610	init() {
1611		this.toggleShadow();
1612	}
1613
1614	toggleShadow() {
1615		this.tables.each( ( i, el ) => {
1616			const item = $( el );
1617			const scrollWrapper = item.closest( '.tablepress-scroll-wrapper' );
1618
1619			scrollWrapper.removeClass( 'has-scroll' );
1620			if ( item[ 0 ].offsetWidth > scrollWrapper.width() ) {
1621				scrollWrapper.addClass( 'has-scroll' );
1622			}
1623		} );
1624	}
1625}
1626
1627/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (new Tables());
1628
1629
1630/***/ }),
1631
1632/***/ "./web/app/themes/wvo/js/src/__utils/vhUnit.js":
1633/*!*****************************************************!*\
1634  !*** ./web/app/themes/wvo/js/src/__utils/vhUnit.js ***!
1635  \*****************************************************/
1636/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1637
1638"use strict";
1639__webpack_require__.r(__webpack_exports__);
1640/* harmony export */ __webpack_require__.d(__webpack_exports__, {
1641/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
1642/* harmony export */ });
1643const vhUnit = () => {
1644	const header = document.querySelector( '.main-header' );
1645	document.documentElement.style.setProperty(
1646		'--vh',
1647		`${ window.innerHeight * 0.01 }px`,
1648	);
1649	document.documentElement.style.setProperty(
1650		'--headerHeight',
1651		`${ header.clientHeight * 0.01 }px`,
1652	);
1653};
1654
1655/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (vhUnit);
1656
1657
1658/***/ }),
1659
1660/***/ "./web/app/themes/wvo/js/src/__utils/video.js":
1661/*!****************************************************!*\
1662  !*** ./web/app/themes/wvo/js/src/__utils/video.js ***!
1663  \****************************************************/
1664/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1665
1666"use strict";
1667__webpack_require__.r(__webpack_exports__);
1668/* harmony export */ __webpack_require__.d(__webpack_exports__, {
1669/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
1670/* harmony export */ });
1671const $ = jQuery.noConflict();
1672
1673const Video = {
1674	iframeWrapper: $( '.iframe-wrapper' ),
1675	init() {
1676		const overlay = this.iframeWrapper.find( '.iframe-wrapper__overlay' );
1677		overlay.on( 'click', this.hideOverlay );
1678	},
1679	hideOverlay( e ) {
1680		e.preventDefault();
1681		Video.iframeWrapper.each( ( i, el ) => {
1682			const iframeSrc = $( el ).find( 'iframe' ).attr( 'src' );
1683			if ( iframeSrc ) {
1684				$( el ).find( 'iframe' )[ 0 ].src = '';
1685			}
1686			const imageUrl = $( el ).data( 'image-src' );
1687			$( el )
1688				.find( '.iframe-wrapper__overlay' )
1689				.css( 'background-image', 'url(' + imageUrl + ')' )
1690				.show();
1691		} );
1692
1693		const parent = $( this ).parents( '.iframe-wrapper' );
1694		let source = parent.find( 'iframe' )[ 0 ].dataset.src;
1695		if ( ! parent.hasClass( 'wistia' ) ) {
1696			source += '&autoplay=1&loop=1&rel=0&wmode=transparent';
1697		} else {
1698			source = `https://fast.wistia.net/embed/iframe/${ parent.data(
1699				'video-id',
1700			) }?autoplay=1&silentAutoPlay=false`;
1701		}
1702		parent.find( 'iframe' )[ 0 ].src = source;
1703		$( this ).delay( 300 ).fadeOut();
1704	},
1705};
1706
1707/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Video);
1708
1709
1710/***/ })
vendor: 4,146 bytes, lines 1710-1808
1710
1711
1712/******/ 	});
1713/************************************************************************/
1714/******/ 	// The module cache
1715/******/ 	var __webpack_module_cache__ = {};
1716/******/ 	
1717/******/ 	// The require function
1718/******/ 	function __webpack_require__(moduleId) {
1719/******/ 		// Check if module is in cache
1720/******/ 		var cachedModule = __webpack_module_cache__[moduleId];
1721/******/ 		if (cachedModule !== undefined) {
1722/******/ 			return cachedModule.exports;
1723/******/ 		}
1724/******/ 		// Create a new module (and put it into the cache)
1725/******/ 		var module = __webpack_module_cache__[moduleId] = {
1726/******/ 			// no module.id needed
1727/******/ 			// no module.loaded needed
1728/******/ 			exports: {}
1729/******/ 		};
1730/******/ 	
1731/******/ 		// Execute the module function
1732/******/ 		__webpack_modules__[moduleId](module, module.exports, __webpack_require__);
1733/******/ 	
1734/******/ 		// Return the exports of the module
1735/******/ 		return module.exports;
1736/******/ 	}
1737/******/ 	
1738/************************************************************************/
1739/******/ 	/* webpack/runtime/compat get default export */
1740/******/ 	(() => {
1741/******/ 		// getDefaultExport function for compatibility with non-harmony modules
1742/******/ 		__webpack_require__.n = (module) => {
1743/******/ 			var getter = module && module.__esModule ?
1744/******/ 				() => (module['default']) :
1745/******/ 				() => (module);
1746/******/ 			__webpack_require__.d(getter, { a: getter });
1747/******/ 			return getter;
1748/******/ 		};
1749/******/ 	})();
1750/******/ 	
1751/******/ 	/* webpack/runtime/define property getters */
1752/******/ 	(() => {
1753/******/ 		// define getter functions for harmony exports
1754/******/ 		__webpack_require__.d = (exports, definition) => {
1755/******/ 			for(var key in definition) {
1756/******/ 				if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
1757/******/ 					Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
1758/******/ 				}
1759/******/ 			}
1760/******/ 		};
1761/******/ 	})();
1762/******/ 	
1763/******/ 	/* webpack/runtime/global */
1764/******/ 	(() => {
1765/******/ 		__webpack_require__.g = (function() {
1766/******/ 			if (typeof globalThis === 'object') return globalThis;
1767/******/ 			try {
1768/******/ 				return this || new Function('return this')();
1769/******/ 			} catch (e) {
1770/******/ 				if (typeof window === 'object') return window;
1771/******/ 			}
1772/******/ 		})();
1773/******/ 	})();
1774/******/ 	
1775/******/ 	/* webpack/runtime/hasOwnProperty shorthand */
1776/******/ 	(() => {
1777/******/ 		__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
1778/******/ 	})();
1779/******/ 	
1780/******/ 	/* webpack/runtime/make namespace object */
1781/******/ 	(() => {
1782/******/ 		// define __esModule on exports
1783/******/ 		__webpack_require__.r = (exports) => {
1784/******/ 			if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
1785/******/ 				Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
1786/******/ 			}
1787/******/ 			Object.defineProperty(exports, '__esModule', { value: true });
1788/******/ 		};
1789/******/ 	})();
1790/******/ 	
1791/************************************************************************/
1792var __webpack_exports__ = {};
1793// This entry need to be wrapped in an IIFE because it need to be in strict mode.
1794(() => {
1795"use strict";
1796/*!*********************************************!*\
1797  !*** ./web/app/themes/wvo/js/src/script.js ***!
1798  \*********************************************/
1799__webpack_require__.r(__webpack_exports__);
1800/* harmony import */ var _init_controller__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./__init/controller */ "./web/app/themes/wvo/js/src/__init/controller.js");
1801/* harmony import */ var _utils_detectTabNav__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./__utils/detectTabNav */ "./web/app/themes/wvo/js/src/__utils/detectTabNav.js");
1802/* harmony import */ var lodash_throttle__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lodash/throttle */ "./node_modules/lodash/throttle.js");
1803/* harmony import */ var lodash_throttle__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(lodash_throttle__WEBPACK_IMPORTED_MODULE_2__);
1804
1805
1806
1807
1808let handled = false;
1809
1810_init_controller__WEBPACK_IMPORTED_MODULE_0__["default"].init();
1811
1812window.addEventListener( 'load', _init_controller__WEBPACK_IMPORTED_MODULE_0__["default"].loaded );
1813window.addEventListener( 'scroll', lodash_throttle__WEBPACK_IMPORTED_MODULE_2___default()( _init_controller__WEBPACK_IMPORTED_MODULE_0__["default"].scrolled, 100 ), {
1814	passive: true,
1815} );
1816window.addEventListener( 'resize', lodash_throttle__WEBPACK_IMPORTED_MODULE_2___default()( _init_controller__WEBPACK_IMPORTED_MODULE_0__["default"].resized, 100 ) );
1817window.addEventListener( 'keydown', ( e ) => {
1818	(0,_utils_detectTabNav__WEBPACK_IMPORTED_MODULE_1__["default"])( e );
1819	_init_controller__WEBPACK_IMPORTED_MODULE_0__["default"].keyDown( e );
1820} );
1821
1822const handleMouseAndTouchEvents = ( e ) => {
1823	if ( e.type === 'touchend' ) {
1824		handled = true;
1825		_init_controller__WEBPACK_IMPORTED_MODULE_0__["default"].mouseUp( e );
1826	} else if ( e.type === 'mouseup' && ! handled ) {
1827		_init_controller__WEBPACK_IMPORTED_MODULE_0__["default"].mouseUp( e );
1828	} else {
1829		handled = false;
1830	}
1831};
1832
1833document.addEventListener( 'mouseup', handleMouseAndTouchEvents );
1834document.addEventListener( 'touchend', handleMouseAndTouchEvents );
1835
1836// Gravity Forms
1837jQuery( document ).on( 'gform_post_render', _init_controller__WEBPACK_IMPORTED_MODULE_0__["default"].gformRender );
1838
1839})();
1840
1841/******/ })()
1842;
1843//# sourceMappingURL=bundle.js.map

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.