vendor: 78 bytes, lines 1-3
1/******/ (() => { // webpackBootstrap 2/******/ var __webpack_modules__ = ({ 3
vendor: 25,087 bytes, lines 4-767
4/***/ "./node_modules/regenerator-runtime/runtime.js": 5/*!*****************************************************!*\ 6 !*** ./node_modules/regenerator-runtime/runtime.js ***! 7 \*****************************************************/ 8/***/ ((module) => { 9 10/** 11 * Copyright (c) 2014-present, Facebook, Inc. 12 * 13 * This source code is licensed under the MIT license found in the 14 * LICENSE file in the root directory of this source tree. 15 */ 16 17var runtime = (function (exports) { 18 "use strict"; 19 20 var Op = Object.prototype; 21 var hasOwn = Op.hasOwnProperty; 22 var undefined; // More compressible than void 0. 23 var $Symbol = typeof Symbol === "function" ? Symbol : {}; 24 var iteratorSymbol = $Symbol.iterator || "@@iterator"; 25 var asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator"; 26 var toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; 27 28 function define(obj, key, value) { 29 Object.defineProperty(obj, key, { 30 value: value, 31 enumerable: true, 32 configurable: true, 33 writable: true 34 }); 35 return obj[key]; 36 } 37 try { 38 // IE 8 has a broken Object.defineProperty that only works on DOM objects. 39 define({}, ""); 40 } catch (err) { 41 define = function(obj, key, value) { 42 return obj[key] = value; 43 }; 44 } 45 46 function wrap(innerFn, outerFn, self, tryLocsList) { 47 // If outerFn provided and outerFn.prototype is a Generator, then outerFn.prototype instanceof Generator. 48 var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator; 49 var generator = Object.create(protoGenerator.prototype); 50 var context = new Context(tryLocsList || []); 51 52 // The ._invoke method unifies the implementations of the .next, 53 // .throw, and .return methods. 54 generator._invoke = makeInvokeMethod(innerFn, self, context); 55 56 return generator; 57 } 58 exports.wrap = wrap; 59 60 // Try/catch helper to minimize deoptimizations. Returns a completion 61 // record like context.tryEntries[i].completion. This interface could 62 // have been (and was previously) designed to take a closure to be 63 // invoked without arguments, but in all the cases we care about we 64 // already have an existing method we want to call, so there's no need 65 // to create a new function object. We can even get away with assuming 66 // the method takes exactly one argument, since that happens to be true 67 // in every case, so we don't have to touch the arguments object. The 68 // only additional allocation required is the completion record, which 69 // has a stable shape and so hopefully should be cheap to allocate. 70 function tryCatch(fn, obj, arg) { 71 try { 72 return { type: "normal", arg: fn.call(obj, arg) }; 73 } catch (err) { 74 return { type: "throw", arg: err }; 75 } 76 } 77 78 var GenStateSuspendedStart = "suspendedStart"; 79 var GenStateSuspendedYield = "suspendedYield"; 80 var GenStateExecuting = "executing"; 81 var GenStateCompleted = "completed"; 82 83 // Returning this object from the innerFn has the same effect as 84 // breaking out of the dispatch switch statement. 85 var ContinueSentinel = {}; 86 87 // Dummy constructor functions that we use as the .constructor and 88 // .constructor.prototype properties for functions that return Generator 89 // objects. For full spec compliance, you may wish to configure your 90 // minifier not to mangle the names of these two functions. 91 function Generator() {} 92 function GeneratorFunction() {} 93 function GeneratorFunctionPrototype() {} 94 95 // This is a polyfill for %IteratorPrototype% for environments that 96 // don't natively support it. 97 var IteratorPrototype = {}; 98 define(IteratorPrototype, iteratorSymbol, function () { 99 return this; 100 }); 101 102 var getProto = Object.getPrototypeOf; 103 var NativeIteratorPrototype = getProto && getProto(getProto(values([]))); 104 if (NativeIteratorPrototype && 105 NativeIteratorPrototype !== Op && 106 hasOwn.call(NativeIteratorPrototype, iteratorSymbol)) { 107 // This environment has a native %IteratorPrototype%; use it instead 108 // of the polyfill. 109 IteratorPrototype = NativeIteratorPrototype; 110 } 111 112 var Gp = GeneratorFunctionPrototype.prototype = 113 Generator.prototype = Object.create(IteratorPrototype); 114 GeneratorFunction.prototype = GeneratorFunctionPrototype; 115 define(Gp, "constructor", GeneratorFunctionPrototype); 116 define(GeneratorFunctionPrototype, "constructor", GeneratorFunction); 117 GeneratorFunction.displayName = define( 118 GeneratorFunctionPrototype, 119 toStringTagSymbol, 120 "GeneratorFunction" 121 ); 122 123 // Helper for defining the .next, .throw, and .return methods of the 124 // Iterator interface in terms of a single ._invoke method. 125 function defineIteratorMethods(prototype) { 126 ["next", "throw", "return"].forEach(function(method) { 127 define(prototype, method, function(arg) { 128 return this._invoke(method, arg); 129 }); 130 }); 131 } 132 133 exports.isGeneratorFunction = function(genFun) { 134 var ctor = typeof genFun === "function" && genFun.constructor; 135 return ctor 136 ? ctor === GeneratorFunction || 137 // For the native GeneratorFunction constructor, the best we can 138 // do is to check its .name property. 139 (ctor.displayName || ctor.name) === "GeneratorFunction" 140 : false; 141 }; 142 143 exports.mark = function(genFun) { 144 if (Object.setPrototypeOf) { 145 Object.setPrototypeOf(genFun, GeneratorFunctionPrototype); 146 } else { 147 genFun.__proto__ = GeneratorFunctionPrototype; 148 define(genFun, toStringTagSymbol, "GeneratorFunction"); 149 } 150 genFun.prototype = Object.create(Gp); 151 return genFun; 152 }; 153 154 // Within the body of any async function, `await x` is transformed to 155 // `yield regeneratorRuntime.awrap(x)`, so that the runtime can test 156 // `hasOwn.call(value, "__await")` to determine if the yielded value is 157 // meant to be awaited. 158 exports.awrap = function(arg) { 159 return { __await: arg }; 160 }; 161 162 function AsyncIterator(generator, PromiseImpl) { 163 function invoke(method, arg, resolve, reject) { 164 var record = tryCatch(generator[method], generator, arg); 165 if (record.type === "throw") { 166 reject(record.arg); 167 } else { 168 var result = record.arg; 169 var value = result.value; 170 if (value && 171 typeof value === "object" && 172 hasOwn.call(value, "__await")) { 173 return PromiseImpl.resolve(value.__await).then(function(value) { 174 invoke("next", value, resolve, reject); 175 }, function(err) { 176 invoke("throw", err, resolve, reject); 177 }); 178 } 179 180 return PromiseImpl.resolve(value).then(function(unwrapped) { 181 // When a yielded Promise is resolved, its final value becomes 182 // the .value of the Promise<{value,done}> result for the 183 // current iteration. 184 result.value = unwrapped; 185 resolve(result); 186 }, function(error) { 187 // If a rejected Promise was yielded, throw the rejection back 188 // into the async generator function so it can be handled there. 189 return invoke("throw", error, resolve, reject); 190 }); 191 } 192 } 193 194 var previousPromise; 195 196 function enqueue(method, arg) { 197 function callInvokeWithMethodAndArg() { 198 return new PromiseImpl(function(resolve, reject) { 199 invoke(method, arg, resolve, reject); 200 }); 201 } 202 203 return previousPromise = 204 // If enqueue has been called before, then we want to wait until 205 // all previous Promises have been resolved before calling invoke, 206 // so that results are always delivered in the correct order. If 207 // enqueue has not been called before, then it is important to 208 // call invoke immediately, without waiting on a callback to fire, 209 // so that the async generator function has the opportunity to do 210 // any necessary setup in a predictable way. This predictability 211 // is why the Promise constructor synchronously invokes its 212 // executor callback, and why async functions synchronously 213 // execute code before the first await. Since we implement simple 214 // async functions in terms of async generators, it is especially 215 // important to get this right, even though it requires care. 216 previousPromise ? previousPromise.then( 217 callInvokeWithMethodAndArg, 218 // Avoid propagating failures to Promises returned by later 219 // invocations of the iterator. 220 callInvokeWithMethodAndArg 221 ) : callInvokeWithMethodAndArg(); 222 } 223 224 // Define the unified helper method that is used to implement .next, 225 // .throw, and .return (see defineIteratorMethods). 226 this._invoke = enqueue; 227 } 228 229 defineIteratorMethods(AsyncIterator.prototype); 230 define(AsyncIterator.prototype, asyncIteratorSymbol, function () { 231 return this; 232 }); 233 exports.AsyncIterator = AsyncIterator; 234 235 // Note that simple async functions are implemented on top of 236 // AsyncIterator objects; they just return a Promise for the value of 237 // the final result produced by the iterator. 238 exports.async = function(innerFn, outerFn, self, tryLocsList, PromiseImpl) { 239 if (PromiseImpl === void 0) PromiseImpl = Promise; 240 241 var iter = new AsyncIterator( 242 wrap(innerFn, outerFn, self, tryLocsList), 243 PromiseImpl 244 ); 245 246 return exports.isGeneratorFunction(outerFn) 247 ? iter // If outerFn is a generator, return the full iterator. 248 : iter.next().then(function(result) { 249 return result.done ? result.value : iter.next(); 250 }); 251 }; 252 253 function makeInvokeMethod(innerFn, self, context) { 254 var state = GenStateSuspendedStart; 255 256 return function invoke(method, arg) { 257 if (state === GenStateExecuting) { 258 throw new Error("Generator is already running"); 259 } 260 261 if (state === GenStateCompleted) { 262 if (method === "throw") { 263 throw arg; 264 } 265 266 // Be forgiving, per 25.3.3.3.3 of the spec: 267 // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-generatorresume 268 return doneResult(); 269 } 270 271 context.method = method; 272 context.arg = arg; 273 274 while (true) { 275 var delegate = context.delegate; 276 if (delegate) { 277 var delegateResult = maybeInvokeDelegate(delegate, context); 278 if (delegateResult) { 279 if (delegateResult === ContinueSentinel) continue; 280 return delegateResult; 281 } 282 } 283 284 if (context.method === "next") { 285 // Setting context._sent for legacy support of Babel's 286 // function.sent implementation. 287 context.sent = context._sent = context.arg; 288 289 } else if (context.method === "throw") { 290 if (state === GenStateSuspendedStart) { 291 state = GenStateCompleted; 292 throw context.arg; 293 } 294 295 context.dispatchException(context.arg); 296 297 } else if (context.method === "return") { 298 context.abrupt("return", context.arg); 299 } 300 301 state = GenStateExecuting; 302 303 var record = tryCatch(innerFn, self, context); 304 if (record.type === "normal") { 305 // If an exception is thrown from innerFn, we leave state === 306 // GenStateExecuting and loop back for another invocation. 307 state = context.done 308 ? GenStateCompleted 309 : GenStateSuspendedYield; 310 311 if (record.arg === ContinueSentinel) { 312 continue; 313 } 314 315 return { 316 value: record.arg, 317 done: context.done 318 }; 319 320 } else if (record.type === "throw") { 321 state = GenStateCompleted; 322 // Dispatch the exception by looping back around to the 323 // context.dispatchException(context.arg) call above. 324 context.method = "throw"; 325 context.arg = record.arg; 326 } 327 } 328 }; 329 } 330 331 // Call delegate.iterator[context.method](context.arg) and handle the 332 // result, either by returning a { value, done } result from the 333 // delegate iterator, or by modifying context.method and context.arg, 334 // setting context.delegate to null, and returning the ContinueSentinel. 335 function maybeInvokeDelegate(delegate, context) { 336 var method = delegate.iterator[context.method]; 337 if (method === undefined) { 338 // A .throw or .return when the delegate iterator has no .throw 339 // method always terminates the yield* loop. 340 context.delegate = null; 341 342 if (context.method === "throw") { 343 // Note: ["return"] must be used for ES3 parsing compatibility. 344 if (delegate.iterator["return"]) { 345 // If the delegate iterator has a return method, give it a 346 // chance to clean up. 347 context.method = "return"; 348 context.arg = undefined; 349 maybeInvokeDelegate(delegate, context); 350 351 if (context.method === "throw") { 352 // If maybeInvokeDelegate(context) changed context.method from 353 // "return" to "throw", let that override the TypeError below. 354 return ContinueSentinel; 355 } 356 } 357 358 context.method = "throw"; 359 context.arg = new TypeError( 360 "The iterator does not provide a 'throw' method"); 361 } 362 363 return ContinueSentinel; 364 } 365 366 var record = tryCatch(method, delegate.iterator, context.arg); 367 368 if (record.type === "throw") { 369 context.method = "throw"; 370 context.arg = record.arg; 371 context.delegate = null; 372 return ContinueSentinel; 373 } 374 375 var info = record.arg; 376 377 if (! info) { 378 context.method = "throw"; 379 context.arg = new TypeError("iterator result is not an object"); 380 context.delegate = null; 381 return ContinueSentinel; 382 } 383 384 if (info.done) { 385 // Assign the result of the finished delegate to the temporary 386 // variable specified by delegate.resultName (see delegateYield). 387 context[delegate.resultName] = info.value; 388 389 // Resume execution at the desired location (see delegateYield). 390 context.next = delegate.nextLoc; 391 392 // If context.method was "throw" but the delegate handled the 393 // exception, let the outer generator proceed normally. If 394 // context.method was "next", forget context.arg since it has been 395 // "consumed" by the delegate iterator. If context.method was 396 // "return", allow the original .return call to continue in the 397 // outer generator. 398 if (context.method !== "return") { 399 context.method = "next"; 400 context.arg = undefined; 401 } 402 403 } else { 404 // Re-yield the result returned by the delegate method. 405 return info; 406 } 407 408 // The delegate iterator is finished, so forget it and continue with 409 // the outer generator. 410 context.delegate = null; 411 return ContinueSentinel; 412 } 413 414 // Define Generator.prototype.{next,throw,return} in terms of the 415 // unified ._invoke helper method. 416 defineIteratorMethods(Gp); 417 418 define(Gp, toStringTagSymbol, "Generator"); 419 420 // A Generator should always return itself as the iterator object when the 421 // @@iterator function is called on it. Some browsers' implementations of the 422 // iterator prototype chain incorrectly implement this, causing the Generator 423 // object to not be returned from this call. This ensures that doesn't happen. 424 // See https://github.com/facebook/regenerator/issues/274 for more details. 425 define(Gp, iteratorSymbol, function() { 426 return this; 427 }); 428 429 define(Gp, "toString", function() { 430 return "[object Generator]"; 431 }); 432 433 function pushTryEntry(locs) { 434 var entry = { tryLoc: locs[0] }; 435 436 if (1 in locs) { 437 entry.catchLoc = locs[1]; 438 } 439 440 if (2 in locs) { 441 entry.finallyLoc = locs[2]; 442 entry.afterLoc = locs[3]; 443 } 444 445 this.tryEntries.push(entry); 446 } 447 448 function resetTryEntry(entry) { 449 var record = entry.completion || {}; 450 record.type = "normal"; 451 delete record.arg; 452 entry.completion = record; 453 } 454 455 function Context(tryLocsList) { 456 // The root entry object (effectively a try statement without a catch 457 // or a finally block) gives us a place to store values thrown from 458 // locations where there is no enclosing try statement. 459 this.tryEntries = [{ tryLoc: "root" }]; 460 tryLocsList.forEach(pushTryEntry, this); 461 this.reset(true); 462 } 463 464 exports.keys = function(object) { 465 var keys = []; 466 for (var key in object) { 467 keys.push(key); 468 } 469 keys.reverse(); 470 471 // Rather than returning an object with a next method, we keep 472 // things simple and return the next function itself. 473 return function next() { 474 while (keys.length) { 475 var key = keys.pop(); 476 if (key in object) { 477 next.value = key; 478 next.done = false; 479 return next; 480 } 481 } 482 483 // To avoid creating an additional object, we just hang the .value 484 // and .done properties off the next function object itself. This 485 // also ensures that the minifier will not anonymize the function. 486 next.done = true; 487 return next; 488 }; 489 }; 490 491 function values(iterable) { 492 if (iterable) { 493 var iteratorMethod = iterable[iteratorSymbol]; 494 if (iteratorMethod) { 495 return iteratorMethod.call(iterable); 496 } 497 498 if (typeof iterable.next === "function") { 499 return iterable; 500 } 501 502 if (!isNaN(iterable.length)) { 503 var i = -1, next = function next() { 504 while (++i < iterable.length) { 505 if (hasOwn.call(iterable, i)) { 506 next.value = iterable[i]; 507 next.done = false; 508 return next; 509 } 510 } 511 512 next.value = undefined; 513 next.done = true; 514 515 return next; 516 }; 517 518 return next.next = next; 519 } 520 } 521 522 // Return an iterator with no values. 523 return { next: doneResult }; 524 } 525 exports.values = values; 526 527 function doneResult() { 528 return { value: undefined, done: true }; 529 } 530 531 Context.prototype = { 532 constructor: Context, 533 534 reset: function(skipTempReset) { 535 this.prev = 0; 536 this.next = 0; 537 // Resetting context._sent for legacy support of Babel's 538 // function.sent implementation. 539 this.sent = this._sent = undefined; 540 this.done = false; 541 this.delegate = null; 542 543 this.method = "next"; 544 this.arg = undefined; 545 546 this.tryEntries.forEach(resetTryEntry); 547 548 if (!skipTempReset) { 549 for (var name in this) { 550 // Not sure about the optimal order of these conditions: 551 if (name.charAt(0) === "t" && 552 hasOwn.call(this, name) && 553 !isNaN(+name.slice(1))) { 554 this[name] = undefined; 555 } 556 } 557 } 558 }, 559 560 stop: function() { 561 this.done = true; 562 563 var rootEntry = this.tryEntries[0]; 564 var rootRecord = rootEntry.completion; 565 if (rootRecord.type === "throw") { 566 throw rootRecord.arg; 567 } 568 569 return this.rval; 570 }, 571 572 dispatchException: function(exception) { 573 if (this.done) { 574 throw exception; 575 } 576 577 var context = this; 578 function handle(loc, caught) { 579 record.type = "throw"; 580 record.arg = exception; 581 context.next = loc; 582 583 if (caught) { 584 // If the dispatched exception was caught by a catch block, 585 // then let that catch block handle the exception normally. 586 context.method = "next"; 587 context.arg = undefined; 588 } 589 590 return !! caught; 591 } 592 593 for (var i = this.tryEntries.length - 1; i >= 0; --i) { 594 var entry = this.tryEntries[i]; 595 var record = entry.completion; 596 597 if (entry.tryLoc === "root") { 598 // Exception thrown outside of any try block that could handle 599 // it, so set the completion value of the entire function to 600 // throw the exception. 601 return handle("end"); 602 } 603 604 if (entry.tryLoc <= this.prev) { 605 var hasCatch = hasOwn.call(entry, "catchLoc"); 606 var hasFinally = hasOwn.call(entry, "finallyLoc"); 607 608 if (hasCatch && hasFinally) { 609 if (this.prev < entry.catchLoc) { 610 return handle(entry.catchLoc, true); 611 } else if (this.prev < entry.finallyLoc) { 612 return handle(entry.finallyLoc); 613 } 614 615 } else if (hasCatch) { 616 if (this.prev < entry.catchLoc) { 617 return handle(entry.catchLoc, true); 618 } 619 620 } else if (hasFinally) { 621 if (this.prev < entry.finallyLoc) { 622 return handle(entry.finallyLoc); 623 } 624 625 } else { 626 throw new Error("try statement without catch or finally"); 627 } 628 } 629 } 630 }, 631 632 abrupt: function(type, arg) { 633 for (var i = this.tryEntries.length - 1; i >= 0; --i) { 634 var entry = this.tryEntries[i]; 635 if (entry.tryLoc <= this.prev && 636 hasOwn.call(entry, "finallyLoc") && 637 this.prev < entry.finallyLoc) { 638 var finallyEntry = entry; 639 break; 640 } 641 } 642 643 if (finallyEntry && 644 (type === "break" || 645 type === "continue") && 646 finallyEntry.tryLoc <= arg && 647 arg <= finallyEntry.finallyLoc) { 648 // Ignore the finally entry if control is not jumping to a 649 // location outside the try/catch block. 650 finallyEntry = null; 651 } 652 653 var record = finallyEntry ? finallyEntry.completion : {}; 654 record.type = type; 655 record.arg = arg; 656 657 if (finallyEntry) { 658 this.method = "next"; 659 this.next = finallyEntry.finallyLoc; 660 return ContinueSentinel; 661 } 662 663 return this.complete(record); 664 }, 665 666 complete: function(record, afterLoc) { 667 if (record.type === "throw") { 668 throw record.arg; 669 } 670 671 if (record.type === "break" || 672 record.type === "continue") { 673 this.next = record.arg; 674 } else if (record.type === "return") { 675 this.rval = this.arg = record.arg; 676 this.method = "return"; 677 this.next = "end"; 678 } else if (record.type === "normal" && afterLoc) { 679 this.next = afterLoc; 680 } 681 682 return ContinueSentinel; 683 }, 684 685 finish: function(finallyLoc) { 686 for (var i = this.tryEntries.length - 1; i >= 0; --i) { 687 var entry = this.tryEntries[i]; 688 if (entry.finallyLoc === finallyLoc) { 689 this.complete(entry.completion, entry.afterLoc); 690 resetTryEntry(entry); 691 return ContinueSentinel; 692 } 693 } 694 }, 695 696 "catch": function(tryLoc) { 697 for (var i = this.tryEntries.length - 1; i >= 0; --i) { 698 var entry = this.tryEntries[i]; 699 if (entry.tryLoc === tryLoc) { 700 var record = entry.completion; 701 if (record.type === "throw") { 702 var thrown = record.arg; 703 resetTryEntry(entry); 704 } 705 return thrown; 706 } 707 } 708 709 // The context.catch method must only be called with a location 710 // argument that corresponds to a known catch block. 711 throw new Error("illegal catch attempt"); 712 }, 713 714 delegateYield: function(iterable, resultName, nextLoc) { 715 this.delegate = { 716 iterator: values(iterable), 717 resultName: resultName, 718 nextLoc: nextLoc 719 }; 720 721 if (this.method === "next") { 722 // Deliberately forget the last sent value so that we don't 723 // accidentally pass it on to the delegate. 724 this.arg = undefined; 725 } 726 727 return ContinueSentinel; 728 } 729 }; 730 731 // Regardless of whether this script is executing as a CommonJS module 732 // or not, return the runtime object so that we can declare the variable 733 // regeneratorRuntime in the outer scope, which allows this module to be 734 // injected easily by `bin/regenerator --include-runtime script.js`. 735 return exports; 736 737}( 738 // If this script is executing as a CommonJS module, use module.exports 739 // as the regeneratorRuntime namespace. Otherwise create a new empty 740 // object. Either way, the resulting object will be used to initialize 741 // the regeneratorRuntime variable at the top of this file. 742 true ? module.exports : 0 743)); 744 745try { 746 regeneratorRuntime = runtime; 747} catch (accidentalStrictMode) { 748 // This module should not be running in strict mode, so the above 749 // assignment should always work unless something is misconfigured. Just 750 // in case runtime.js accidentally runs in strict mode, in modern engines 751 // we can explicitly access globalThis. In older engines we can escape 752 // strict mode using a global Function call. This could conceivably fail 753 // if a Content Security Policy forbids using Function, but in that case 754 // the proper solution is to fix the accidental strict mode problem. If 755 // you've misconfigured your bundler to force strict mode and applied a 756 // CSP to forbid Function, and you're not willing to fix either of those 757 // problems, please detail your unique predicament in a GitHub issue. 758 if (typeof globalThis === "object") { 759 globalThis.regeneratorRuntime = runtime; 760 } else { 761 Function("r", "regeneratorRuntime = r")(runtime); 762 } 763} 764 765 766/***/ }), 767
768/***/ "./src/js/_what-input.min.js": 769/*!***********************************!*\ 770 !*** ./src/js/_what-input.min.js ***! 771 \***********************************/ 772/***/ (function(module) { 773 774!function(e,t){ true?module.exports=t():0}(this,function(){return i1={},n1.m=o1=[function(e1,t1){"use strict";e1.exports=(function(){if("undefined"==typeof document||"undefined"==typeof window)return{ask:function ask(){return"initial"},element:function element(){return null},ignoreKeys:function ignoreKeys(){},specificKeys:function specificKeys(){},registerOnChange:function registerOnChange(){},unRegisterOnChange:function unRegisterOnChange(){}};var t2=document.documentElement,n2=null,s="initial",u=s,o2=Date.now(),i2="false",d=["button","input","select","textarea"],r1=[],c=[16,17,18,91,93],w=[],p={keydown:"keyboard",keyup:"keyboard",mousedown:"mouse",mousemove:"mouse",MSPointerDown:"pointer",MSPointerMove:"pointer",pointerdown:"pointer",pointermove:"pointer",touchstart:"touch",touchend:"touch"},a1=!1,f={x:null,y:null},l={2:"touch",3:"touch",4:"mouse"},m=!1;try{var e=Object.defineProperty({},"passive",{get:function get(){m=!0}});window.addEventListener("test",null,e)}catch(e2){}var h=function h(){var e=!!m&&{passive:!0};document.addEventListener("DOMContentLoaded",v),window.PointerEvent?(window.addEventListener("pointerdown",y),window.addEventListener("pointermove",E)):window.MSPointerEvent?(window.addEventListener("MSPointerDown",y),window.addEventListener("MSPointerMove",E)):(window.addEventListener("mousedown",y),window.addEventListener("mousemove",E),"ontouchstart"in window&&(window.addEventListener("touchstart",y,e),window.addEventListener("touchend",y))),window.addEventListener(O(),E,e),window.addEventListener("keydown",y),window.addEventListener("keyup",y),window.addEventListener("focusin",L),window.addEventListener("focusout",b)},v=function v(){if(i2=!(t2.getAttribute("data-whatpersist")||"false"===document.body.getAttribute("data-whatpersist")))try{window.sessionStorage.getItem("what-input")&&(s=window.sessionStorage.getItem("what-input")),window.sessionStorage.getItem("what-intent")&&(u=window.sessionStorage.getItem("what-intent"))}catch(e){}g("input"),g("intent")},y=function y(e){var t=e.which,n=p[e.type];"pointer"===n&&(n=S(e));var o=!w.length&& -1===c.indexOf(t),i=w.length&& -1!==w.indexOf(t),r="keyboard"===n&&t&&(o||i)||"mouse"===n||"touch"===n;if(M(n)&&(r=!1),r&&s!==n&&(x("input",s=n),g("input")),r&&u!==n){var a=document.activeElement;a&&a.nodeName&&(-1===d.indexOf(a.nodeName.toLowerCase())||"button"===a.nodeName.toLowerCase()&&!C(a,"form"))&&(x("intent",u=n),g("intent"))}},g=function g(e){t2.setAttribute("data-what"+e,"input"===e?s:u),k(e)},E=function E(e){var t=p[e.type];"pointer"===t&&(t=S(e)),A(e),(!a1&&!M(t)||a1&&"wheel"===e.type||"mousewheel"===e.type||"DOMMouseScroll"===e.type)&&u!==t&&(x("intent",u=t),g("intent"))},L=function L(e){e.target.nodeName?(n2=e.target.nodeName.toLowerCase(),t2.setAttribute("data-whatelement",n2),e.target.classList&&e.target.classList.length&&t2.setAttribute("data-whatclasses",e.target.classList.toString().replace(" ",","))):b()},b=function b(){n2=null,t2.removeAttribute("data-whatelement"),t2.removeAttribute("data-whatclasses")},x=function x(e,t){if(i2)try{window.sessionStorage.setItem("what-"+e,t)}catch(e3){}},S=function S(e){return"number"==typeof e.pointerType?l[e.pointerType]:"pen"===e.pointerType?"touch":e.pointerType},M=function M(e){var t=Date.now(),n="mouse"===e&&"touch"===s&&t-o2<200;return o2=t,n},O=function O(){return"onwheel"in document.createElement("div")?"wheel":void 0!==document.onmousewheel?"mousewheel":"DOMMouseScroll"},k=function k(e){for(var t=0,n=r1.length;t<n;t++)r1[t].type===e&&r1[t].fn.call(void 0,"input"===e?s:u)},A=function A(e){f.x!==e.screenX||f.y!==e.screenY?(a1=!1,f.x=e.screenX,f.y=e.screenY):a1=!0},C=function C(e,t){var n=window.Element.prototype;if(n.matches||(n.matches=n.msMatchesSelector||n.webkitMatchesSelector),n.closest)return e.closest(t);do{if(e.matches(t))return e;e=e.parentElement||e.parentNode}while(null!==e&&1===e.nodeType);return null};return"addEventListener"in window&&Array.prototype.indexOf&&(p[O()]="mouse",h()),{ask:function ask(e){return"intent"===e?u:s},element:function element(){return n2},ignoreKeys:function ignoreKeys(e){c=e},specificKeys:function specificKeys(e){w=e},registerOnChange:function registerOnChange(e,t){r1.push({fn:e,type:t||"input"})},unRegisterOnChange:function unRegisterOnChange(e4){var t3=function(e){for(var t=0,n=r1.length;t<n;t++)if(r1[t].fn===e)return t}(e4);!t3&&0!==t3||r1.splice(t3,1)},clearStorage:function clearStorage(){window.sessionStorage.clear()}}})()}],n1.c=i1,n1.p="",n1(0);function n1(e){if(i1[e])return i1[e].exports;var t=i1[e]={exports:{},id:e,loaded:!1};
774return o1[e].call(t.exports,t,t.exports,n1),t.loaded=!0,t.exports}var o1,i1}) 775 776/***/ })
vendor: 7,049 bytes, lines 776-952
776, 777 778/***/ "jquery": 779/*!*************************!*\ 780 !*** external "jQuery" ***! 781 \*************************/ 782/***/ ((module) => { 783 784"use strict"; 785module.exports = window["jQuery"]; 786 787/***/ }) 788 789/******/ }); 790/************************************************************************/ 791/******/ // The module cache 792/******/ var __webpack_module_cache__ = {}; 793/******/ 794/******/ // The require function 795/******/ function __webpack_require__(moduleId) { 796/******/ // Check if module is in cache 797/******/ var cachedModule = __webpack_module_cache__[moduleId]; 798/******/ if (cachedModule !== undefined) { 799/******/ return cachedModule.exports; 800/******/ } 801/******/ // Create a new module (and put it into the cache) 802/******/ var module = __webpack_module_cache__[moduleId] = { 803/******/ // no module.id needed 804/******/ // no module.loaded needed 805/******/ exports: {} 806/******/ }; 807/******/ 808/******/ // Execute the module function 809/******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__); 810/******/ 811/******/ // Return the exports of the module 812/******/ return module.exports; 813/******/ } 814/******/ 815/******/ // expose the modules object (__webpack_modules__) 816/******/ __webpack_require__.m = __webpack_modules__; 817/******/ 818/************************************************************************/ 819/******/ /* webpack/runtime/compat get default export */ 820/******/ (() => { 821/******/ // getDefaultExport function for compatibility with non-harmony modules 822/******/ __webpack_require__.n = (module) => { 823/******/ var getter = module && module.__esModule ? 824/******/ () => (module['default']) : 825/******/ () => (module); 826/******/ __webpack_require__.d(getter, { a: getter }); 827/******/ return getter; 828/******/ }; 829/******/ })(); 830/******/ 831/******/ /* webpack/runtime/create fake namespace object */ 832/******/ (() => { 833/******/ var getProto = Object.getPrototypeOf ? (obj) => (Object.getPrototypeOf(obj)) : (obj) => (obj.__proto__); 834/******/ var leafPrototypes; 835/******/ // create a fake namespace object 836/******/ // mode & 1: value is a module id, require it 837/******/ // mode & 2: merge all properties of value into the ns 838/******/ // mode & 4: return value when already ns object 839/******/ // mode & 16: return value when it's Promise-like 840/******/ // mode & 8|1: behave like require 841/******/ __webpack_require__.t = function(value, mode) { 842/******/ if(mode & 1) value = this(value); 843/******/ if(mode & 8) return value; 844/******/ if(typeof value === 'object' && value) { 845/******/ if((mode & 4) && value.__esModule) return value; 846/******/ if((mode & 16) && typeof value.then === 'function') return value; 847/******/ } 848/******/ var ns = Object.create(null); 849/******/ __webpack_require__.r(ns); 850/******/ var def = {}; 851/******/ leafPrototypes = leafPrototypes || [null, getProto({}), getProto([]), getProto(getProto)]; 852/******/ for(var current = mode & 2 && value; typeof current == 'object' && !~leafPrototypes.indexOf(current); current = getProto(current)) { 853/******/ Object.getOwnPropertyNames(current).forEach((key) => (def[key] = () => (value[key]))); 854/******/ } 855/******/ def['default'] = () => (value); 856/******/ __webpack_require__.d(ns, def); 857/******/ return ns; 858/******/ }; 859/******/ })(); 860/******/ 861/******/ /* webpack/runtime/define property getters */ 862/******/ (() => { 863/******/ // define getter functions for harmony exports 864/******/ __webpack_require__.d = (exports, definition) => { 865/******/ for(var key in definition) { 866/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { 867/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); 868/******/ } 869/******/ } 870/******/ }; 871/******/ })(); 872/******/ 873/******/ /* webpack/runtime/ensure chunk */ 874/******/ (() => { 875/******/ __webpack_require__.f = {}; 876/******/ // This file contains only the entry chunk. 877/******/ // The chunk loading function for additional chunks 878/******/ __webpack_require__.e = (chunkId) => { 879/******/ return Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => { 880/******/ __webpack_require__.f[key](chunkId, promises); 881/******/ return promises; 882/******/ }, [])); 883/******/ }; 884/******/ })(); 885/******/ 886/******/ /* webpack/runtime/get javascript chunk filename */ 887/******/ (() => { 888/******/ // This function allow to reference async chunks 889/******/ __webpack_require__.u = (chunkId) => { 890/******/ // return url for filenames based on template 891/******/ return "" + chunkId + ".js"; 892/******/ }; 893/******/ })(); 894/******/ 895/******/ /* webpack/runtime/get mini-css chunk filename */ 896/******/ (() => { 897/******/ // This function allow to reference all chunks 898/******/ __webpack_require__.miniCssF = (chunkId) => { 899/******/ // return url for filenames based on template 900/******/ return undefined; 901/******/ }; 902/******/ })(); 903/******/ 904/******/ /* webpack/runtime/global */ 905/******/ (() => { 906/******/ __webpack_require__.g = (function() { 907/******/ if (typeof globalThis === 'object') return globalThis; 908/******/ try { 909/******/ return this || new Function('return this')(); 910/******/ } catch (e) { 911/******/ if (typeof window === 'object') return window; 912/******/ } 913/******/ })(); 914/******/ })(); 915/******/ 916/******/ /* webpack/runtime/hasOwnProperty shorthand */ 917/******/ (() => { 918/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)) 919/******/ })(); 920/******/ 921/******/ /* webpack/runtime/load script */ 922/******/ (() => { 923/******/ var inProgress = {}; 924/******/ var dataWebpackPrefix = "wp-travers-starter:"; 925/******/ // loadScript function to load a script via script tag 926/******/ __webpack_require__.l = (url, done, key, chunkId) => { 927/******/ if(inProgress[url]) { inProgress[url].push(done); return; } 928/******/ var script, needAttach; 929/******/ if(key !== undefined) { 930/******/ var scripts = document.getElementsByTagName("script"); 931/******/ for(var i = 0; i < scripts.length; i++) { 932/******/ var s = scripts[i]; 933/******/ if(s.getAttribute("src") == url || s.getAttribute("data-webpack") == dataWebpackPrefix + key) { script = s; break; } 934/******/ } 935/******/ } 936/******/ if(!script) { 937/******/ needAttach = true; 938/******/ script = document.createElement('script'); 939/******/ 940/******/ script.charset = 'utf-8'; 941/******/ script.timeout = 120; 942/******/ if (__webpack_require__.nc) { 943/******/ script.setAttribute("nonce", __webpack_require__.nc); 944/******/ } 945/******/ script.setAttribute("data-webpack", dataWebpackPrefix + key); 946/******/ script.src = url; 947/******/ } 948/******/ inProgress[url] = [done]; 949/******/ var onScriptComplete = (prev, event) => { 950/******/ // avoid mem leaks in IE. 951/******/ script.onerror = script.onload = null; 952/******/ clearTimeout(timeout);
vendor: 4,285 bytes, lines 953-1034
953/******/ var doneFns = inProgress[url]; 954/******/ delete inProgress[url]; 955/******/ script.parentNode && script.parentNode.removeChild(script); 956/******/ doneFns && doneFns.forEach((fn) => (fn(event))); 957/******/ if(prev) return prev(event); 958/******/ } 959/******/ ; 960/******/ var timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000); 961/******/ script.onerror = onScriptComplete.bind(null, script.onerror); 962/******/ script.onload = onScriptComplete.bind(null, script.onload); 963/******/ needAttach && document.head.appendChild(script); 964/******/ }; 965/******/ })(); 966/******/ 967/******/ /* webpack/runtime/make namespace object */ 968/******/ (() => { 969/******/ // define __esModule on exports 970/******/ __webpack_require__.r = (exports) => { 971/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { 972/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); 973/******/ } 974/******/ Object.defineProperty(exports, '__esModule', { value: true }); 975/******/ }; 976/******/ })(); 977/******/ 978/******/ /* webpack/runtime/publicPath */ 979/******/ (() => { 980/******/ var scriptUrl; 981/******/ if (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + ""; 982/******/ var document = __webpack_require__.g.document; 983/******/ if (!scriptUrl && document) { 984/******/ if (document.currentScript) 985/******/ scriptUrl = document.currentScript.src 986/******/ if (!scriptUrl) { 987/******/ var scripts = document.getElementsByTagName("script"); 988/******/ if(scripts.length) scriptUrl = scripts[scripts.length - 1].src 989/******/ } 990/******/ } 991/******/ // When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration 992/******/ // or pass an empty string ("") and set the __webpack_public_path__ variable from your code to use your own logic. 993/******/ if (!scriptUrl) throw new Error("Automatic publicPath is not supported in this browser"); 994/******/ scriptUrl = scriptUrl.replace(/#.*$/, "").replace(/\?.*$/, "").replace(/\/[^\/]+$/, "/"); 995/******/ __webpack_require__.p = scriptUrl; 996/******/ })(); 997/******/ 998/******/ /* webpack/runtime/jsonp chunk loading */ 999/******/ (() => { 1000/******/ // no baseURI 1001/******/ 1002/******/ // object to store loaded and loading chunks 1003/******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched 1004/******/ // [resolve, reject, Promise] = chunk loading, 0 = chunk loaded 1005/******/ var installedChunks = { 1006/******/ "main": 0 1007/******/ }; 1008/******/ 1009/******/ __webpack_require__.f.j = (chunkId, promises) => { 1010/******/ // JSONP chunk loading for javascript 1011/******/ var installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined; 1012/******/ if(installedChunkData !== 0) { // 0 means "already installed". 1013/******/ 1014/******/ // a Promise means "currently loading". 1015/******/ if(installedChunkData) { 1016/******/ promises.push(installedChunkData[2]); 1017/******/ } else { 1018/******/ if(true) { // all chunks have JS 1019/******/ // setup Promise in chunk cache 1020/******/ var promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject])); 1021/******/ promises.push(installedChunkData[2] = promise); 1022/******/ 1023/******/ // start chunk loading 1024/******/ var url = __webpack_require__.p + __webpack_require__.u(chunkId); 1025/******/ // create error before stack unwound to get useful stacktrace later 1026/******/ var error = new Error(); 1027/******/ var loadingEnded = (event) => { 1028/******/ if(__webpack_require__.o(installedChunks, chunkId)) { 1029/******/ installedChunkData = installedChunks[chunkId]; 1030/******/ if(installedChunkData !== 0) installedChunks[chunkId] = undefined; 1031/******/ if(installedChunkData) { 1032/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type); 1033/******/ var realSrc = event && event.target && event.target.src; 1034/******/ error.message = 'Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')';
1035/******/ error.name = 'ChunkLoadError'; 1036/******/ error.type = errorType; 1037/******/ error.request = realSrc; 1038/******/ installedChunkData[1](error); 1039/******/ } 1040/******/ } 1041/******/ }; 1042/******/ __webpack_require__.l(url, loadingEnded, "chunk-" + chunkId, chunkId); 1043/******/ } else installedChunks[chunkId] = 0; 1044/******/ } 1045/******/ } 1046/******/ }; 1047/******/ 1048/******/ // no prefetching 1049/******/ 1050/******/ // no preloaded 1051/******/ 1052/******/ // no HMR 1053/******/ 1054/******/ // no HMR manifest 1055/******/ 1056/******/ // no on chunks loaded 1057/******/ 1058/******/ // install a JSONP callback for chunk loading 1059/******/ var webpackJsonpCallback = (parentChunkLoadingFunction, data) => { 1060/******/ var [chunkIds, moreModules, runtime] = data; 1061/******/ // add "moreModules" to the modules object, 1062/******/ // then flag all "chunkIds" as loaded and fire callback 1063/******/ var moduleId, chunkId, i = 0; 1064/******/ if(chunkIds.some((id) => (installedChunks[id] !== 0))) { 1065/******/ for(moduleId in moreModules) { 1066/******/ if(__webpack_require__.o(moreModules, moduleId)) { 1067/******/ __webpack_require__.m[moduleId] = moreModules[moduleId]; 1068/******/ } 1069/******/ } 1070/******/ if(runtime) var result = runtime(__webpack_require__); 1071/******/ } 1072/******/ if(parentChunkLoadingFunction) parentChunkLoadingFunction(data); 1073/******/ for(;i < chunkIds.length; i++) { 1074/******/ chunkId = chunkIds[i]; 1075/******/ if(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) { 1076/******/ installedChunks[chunkId][0](); 1077/******/ } 1078/******/ installedChunks[chunkId] = 0; 1079/******/ } 1080/******/ 1081/******/ } 1082/******/ 1083/******/ var chunkLoadingGlobal = self["webpackChunkwp_travers_starter"] = self["webpackChunkwp_travers_starter"] || []; 1084/******/ chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0)); 1085/******/ chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal)); 1086/******/ })(); 1087/******/ 1088/************************************************************************/ 1089var __webpack_exports__ = {}; 1090// This entry need to be wrapped in an IIFE because it need to be in strict mode. 1091(() => { 1092"use strict"; 1093/*!************************!*\ 1094 !*** ./src/js/main.js ***! 1095 \************************/ 1096__webpack_require__.r(__webpack_exports__); 1097/* harmony import */ var regenerator_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! regenerator-runtime */ "./node_modules/regenerator-runtime/runtime.js"); 1098/* harmony import */ var regenerator_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(regenerator_runtime__WEBPACK_IMPORTED_MODULE_0__); 1099/* harmony import */ var jquery__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! jquery */ "jquery"); 1100/* harmony import */ var jquery__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(jquery__WEBPACK_IMPORTED_MODULE_1__); 1101/* harmony import */ var _what_input_min__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./_what-input.min */ "./src/js/_what-input.min.js"); 1102/* harmony import */ var _what_input_min__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_what_input_min__WEBPACK_IMPORTED_MODULE_2__); 1103function asyncGeneratorStep(gen,resolve,reject,_next,_throw,key,arg){try{var info=gen[key](arg);var value=info.value}catch(error){reject(error);return}if(info.done){resolve(value)}else{Promise.resolve(value).then(_next,_throw)}}function _asyncToGenerator(fn){return function(){var self=this,args=arguments;return new Promise(function(resolve,reject){var gen=fn.apply(self,args);function _next(value){asyncGeneratorStep(gen,resolve,reject,_next,_throw,"next",value)}function _throw(err){asyncGeneratorStep(gen,resolve,reject,_next,_throw,"throw",err)}_next(undefined)})}}var getPlyr=function(){var _ref=_asyncToGenerator(regenerator_runtime__WEBPACK_IMPORTED_MODULE_0___default().mark(function _callee(){return regenerator_runtime__WEBPACK_IMPORTED_MODULE_0___default().wrap(function _callee$(_ctx){while(1)switch(_ctx.prev=_ctx.next){case 0:return _ctx.abrupt("return",__webpack_require__.e(/*! import() */ "vendors-node_modules_plyr_dist_plyr_min_js").then(__webpack_require__.t.bind(__webpack_require__, /*! plyr */ "./node_modules/plyr/dist/plyr.min.js", 23)).then(function(param){var Plyr=param.default;return Plyr}));case 1:case"end":return _ctx.stop()}},_callee)}));return function getPlyr(){return _ref.apply(this,arguments)}}();var getSwiper=function(){var _ref=_asyncToGenerator(regenerator_runtime__WEBPACK_IMPORTED_MODULE_0___default().mark(function _callee(){return regenerator_runtime__WEBPACK_IMPORTED_MODULE_0___default().wrap(function _callee$(_ctx){while(1)switch(_ctx.prev=_ctx.next){case 0:return _ctx.abrupt("return",__webpack_require__.e(/*! import() */ "vendors-node_modules_swiper_swiper-bundle_esm_js").then(__webpack_require__.bind(__webpack_require__, /*! swiper/bundle */ "./node_modules/swiper/swiper-bundle.esm.js")).then(function(param){var Swiper=param.default;return Swiper}));case 1:case"end":return _ctx.stop()}},_callee)}));return function getSwiper(){return _ref.apply(this,arguments)}}();(function($){var update_dimensions=function update_dimensions(){windowW=$window.width();headerH=$header.length?$header.outerHeight():0;update_adminbar();update_scroll()};var update_scroll=function update_scroll(){if($window.scrollTop()<scrollT){scrollUp=true}else{scrollUp=false}scrollT=$window.scrollTop()};var update_adminbar=function update_adminbar(){adminBar_h=parseInt($html.css("margin-top"))+parseInt($body.css("margin-top"))};
1103var auto_hide_header=function auto_hide_header(){if(!scrollUp&&scrollT>2*headerH){$html.addClass('is-nav-hide')}else{$html.removeClass('is-nav-hide')}};var sticky_nav_update=function sticky_nav_update(){if($header.get(0).getBoundingClientRect().top<=adminBar_h){if(!$html.hasClass('is-sticky-nav')){$html.addClass('is-sticky-nav')}$header.height($headerInner.outerHeight())}else{if($html.hasClass('is-sticky-nav')){$html.removeClass('is-sticky-nav');$header.css('height','auto')}}};var menu_mobile_toggle=function menu_mobile_toggle(){if($html.hasClass('t_has-menuMobileOpen')){menu_mobile_close()}else{menu_mobile_open()}};var menu_mobile_open=function menu_mobile_open(){if(!$html.hasClass('t_is-scrollBlockedMobile')){sauvScroll=scrollT;idMenuMobileTimeOut=w.setTimeout(function(){$html.addClass('t_is-scrollBlockedMobile')},300)}$html.addClass('t_has-menuMobileOpen');$triggerMobile.attr('aria-expanded','true')};var menu_mobile_close=function menu_mobile_close(){if(idMenuMobileTimeOut)w.clearTimeout(idMenuMobileTimeOut);$html.removeClass('t_is-scrollBlockedMobile');$triggerMobile.attr('aria-expanded','false');w.scrollTo(0,sauvScroll);w.setTimeout(function(){$html.removeClass('t_has-menuMobileOpen')},50)};var form_init=function form_init($cont){$cont=$cont&&$cont.length?$cont:$main;$cont.find('.t_form_field,p.login-username,p.login-password,.pmpro_checkout-field,#other_discount_code_tr,#discount_code_form').find('input:not([type="button"],[type="submit"])').on('blur',function(){$(this).closest('p,div,form')[this.value?'addClass':'removeClass']('t_is-filled')}).on('focusin',function(){$(this).closest('p,div,form').addClass('t_is-active')}).on('focusout',function(){$(this).closest('p,div,form').removeClass('t_is-active')}).trigger('blur');$cont.find('select').on('change',function(event){$(this).closest('p,div')[this.value?'addClass':'removeClass']('t_is-filled')}).trigger('change');$cont.find('.t_form_check,p.login-remember').find('input:checkbox').on('change',function(){$(this).closest('p,div')[$(this).is(':checked')?'addClass':'removeClass']('t_is-checked')}).trigger('change')};var sliders_init=function sliders_init(){var $testimonials=$body.find(".t_testimonial:not(.slider-enabled)");$testimonials.each(function(idx,el){sliders_testimonials(idx,el)});var $posts=$body.find(".t_posts:not(.slider-enabled)");$posts.each(function(idx,el){sliders_posts(idx,el)});var $homeSliders=$body.find(".t_slider_slides:not(.slider-enabled)");$homeSliders.each(function(idx,el){sliders_homes(idx,el)});var $logosSliders=$body.find(".t_logos:not(.slider-enabled)");$logosSliders.each(function(idx,el){sliders_logos(idx,el)})};var requestTick=function requestTick(){if(!ticking){ticking=true;w.requestAnimationFrame(trigger_scroll)}};var trigger_scroll=function trigger_scroll(){ticking=false;sticky_nav_update();auto_hide_header()};var w=window,$window=$(w),$html=$('html'),$body=$('body'),$header=$('#header'),$headerInner=$header.find('.t_header_inner'),$main=$('#main'),adminBar_h=0,$triggerMobile=$('#menuTrigger'),sauvScroll=0,headerH,windowW,scrollT,scrollUp=false;$html.addClass('t_is-js-init');update_dimensions();var idMenuMobileTimeOut=false;$triggerMobile.on('click',function(event){event.preventDefault();menu_mobile_toggle()});form_init();var players_init=function(){var _ref=_asyncToGenerator(regenerator_runtime__WEBPACK_IMPORTED_MODULE_0___default().mark(function _callee(){var Plyr;return regenerator_runtime__WEBPACK_IMPORTED_MODULE_0___default().wrap(function _callee$(_ctx){while(1)switch(_ctx.prev=_ctx.next){case 0:_ctx.next=2;return getPlyr();case 2:Plyr=_ctx.sent;$('.wp-block-embed.is-type-video .wp-block-embed__wrapper iframe').on('load',function(){var $iframe=$(this),$wrapper=$iframe.parent('.wp-block-embed__wrapper');new Plyr($wrapper.get(0),{controls:['play','progress','current-time','mute','volume','fullscreen',]})});case 4:case"end":return _ctx.stop()}},_callee)}));return function players_init(){return _ref.apply(this,arguments)}}();players_init();var sliders_testimonials=function(){var _ref=_asyncToGenerator(regenerator_runtime__WEBPACK_IMPORTED_MODULE_0___default().mark(function _callee(idx,el){var $slider,Swiper;return regenerator_runtime__WEBPACK_IMPORTED_MODULE_0___default().wrap(function _callee$(_ctx){while(1)switch(_ctx.prev=_ctx.next){case 0:$slider=$(el);$slider.addClass('swiper');$slider.children().wrapAll('<div class="swiper-wrapper">');$slider.find('blockquote').addClass('swiper-slide');$slider.append('<div class="swiper-pagination" />');_ctx.next=7;return getSwiper();case 7:Swiper=_ctx.sent;new Swiper(el,{effect:'fade',fadeEffect:{crossFade:true},speed:500,slidesPerView:1,spaceBetween:50,pagination:{el:$slider.find('.swiper-pagination').get(0),clickable:true,type:'bullets'}});case 9:case"end":return _ctx.stop()}},_callee)}));return function sliders_testimonials(idx,el){return _ref.apply(this,arguments)}}();var sliders_posts=function(){var _ref=_asyncToGenerator(regenerator_runtime__WEBPACK_IMPORTED_MODULE_0___default().mark(function _callee(idx,el){var $slider,Swiper;return regenerator_runtime__WEBPACK_IMPORTED_MODULE_0___default().wrap(function _callee$(_ctx){while(1)switch(_ctx.prev=_ctx.next){case 0:$slider=$(el);$slider.addClass('swiper');$slider.children().wrapAll('<div class="swiper-wrapper">');$slider.find('article').addClass('swiper-slide');_ctx.next=6;return getSwiper();case 6:Swiper=_ctx.sent;new Swiper(el,{slidesPerView:"auto",spaceBetween:"6%",freeMode:true,breakpoints:{960:{spaceBetween:60}}});case 8:case"end":return _ctx.stop()}},_callee)}));return function sliders_posts(idx,el){return _ref.apply(this,arguments)}}();var sliders_homes=function(){var _ref=_asyncToGenerator(regenerator_runtime__WEBPACK_IMPORTED_MODULE_0___default().mark(function _callee(idx,el){var $slider,$parent,Swiper,swiper_homes;return regenerator_runtime__WEBPACK_IMPORTED_MODULE_0___default().wrap(function _callee$(_ctx){while(1)switch(_ctx.prev=_ctx.next){case 0:$slider=$(el);$parent=$slider.closest('.t_slider');$slider.addClass('swiper');$slider.children().wrapAll('<div class="swiper-wrapper">');$slider.find('figure').addClass('swiper-slide');$slider.append('<div class="swiper-pagination" />');_ctx.next=8;return getSwiper();case 8:Swiper=_ctx.sent;swiper_homes=new Swiper(el,{speed:500,slidesPerView:1,width:windowW*2,spaceBetween:0,pagination:{el:$slider.find('.swiper-pagination').get(0),clickable:true,type:'bullets'},breakpoints:{960:{width:windowW}},on:{slideChange:function slideChange(swiper){var current=swiper.activeIndex;var max=swiper.slides.length;var position=current*100/max;$parent.css('background-position-x',position+'%')}}});$(window).resize(function(){swiper_homes.params.width=windowW*2});case 11:case"end":return _ctx.stop()}},_callee)}));return function sliders_homes(idx,el){return _ref.apply(this,arguments)}}();var sliders_logos=function(){var _ref=_asyncToGenerator(regenerator_runtime__WEBPACK_IMPORTED_MODULE_0___default().mark(function _callee(idx,el){var $slider,Swiper;return regenerator_runtime__WEBPACK_IMPORTED_MODULE_0___default().wrap(function _callee$(_ctx){while(1)switch(_ctx.prev=_ctx.next){case 0:$slider=$(el);$slider.children().wrapAll('<div class="swiper"><div class="swiper-wrapper">');$slider.find('figure').addClass('swiper-slide');$slider.append('<div class="t_logos_prev"></div>');$slider.append('<div class="t_logos_next"></div>');_ctx.next=7;return getSwiper();case 7:Swiper=_ctx.sent;new Swiper($slider.find('.swiper').get(0),{speed:500,slidesPerView:2,slidesPerGroup:2,spaceBetween:0,watchSlidesProgress:true,centerInsufficientSlides:true,navigation:{nextEl:$slider.find('.t_logos_next').get(0),prevEl:$slider.find('.t_logos_prev').get(0)},breakpoints:{420:{slidesPerView:3,slidesPerGroup:3},520:{slidesPerView:4,slidesPerGroup:4}
1103,620:{slidesPerView:5,slidesPerGroup:5},720:{slidesPerView:6,slidesPerGroup:6},820:{slidesPerView:7,slidesPerGroup:7},920:{slidesPerView:8,slidesPerGroup:8},960:{slidesPerView:4,slidesPerGroup:4},1085:{slidesPerView:5,slidesPerGroup:5},1280:{slidesPerView:6,slidesPerGroup:6},1472:{slidesPerView:7,slidesPerGroup:7},1665:{slidesPerView:8,slidesPerGroup:8}}});case 9:case"end":return _ctx.stop()}},_callee)}));return function sliders_logos(idx,el){return _ref.apply(this,arguments)}}();sliders_init();$window.on('resize',function(){update_dimensions();$window.trigger('scroll')});var ticking=false;$window.on('scroll',function(){update_scroll();requestTick()});$window.trigger('resize')})(jquery__WEBPACK_IMPORTED_MODULE_1__) 1104})(); 1105 1106/******/ })() 1107; 1108//# sourceMappingURL=main.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.