1/* global a2a*/ 2(function (Drupal) { 3 'use strict'; 4 5 Drupal.behaviors.addToAny = { 6 attach: function (context, settings) { 7 // If not the full document (it's probably AJAX), and window.a2a exists 8 if (context !== document && window.a2a) { 9 a2a.init_all(); // Init all uninitiated AddToAny instances 10 } 11 } 12 }; 13 14})(Drupal); 15; 16/*! 17 * Bootstrap v5.0.2 (https://getbootstrap.com/) 18 * Copyright 2011-2021 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) 19 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) 20 */ 21(function (global, factory) { 22 typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('@popperjs/core')) : 23 typeof define === 'function' && define.amd ? define(['@popperjs/core'], factory) : 24 (global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.bootstrap = factory(global.Popper)); 25}(this, (function (Popper) { 'use strict'; 26 27 function _interopNamespace(e) { 28 if (e && e.__esModule) return e; 29 var n = Object.create(null); 30 if (e) { 31 Object.keys(e).forEach(function (k) { 32 if (k !== 'default') { 33 var d = Object.getOwnPropertyDescriptor(e, k); 34 Object.defineProperty(n, k, d.get ? d : { 35 enumerable: true, 36 get: function () { 37 return e[k]; 38 } 39 }); 40 } 41 }); 42 } 43 n['default'] = e; 44 return Object.freeze(n); 45 } 46 47 var Popper__namespace = /*#__PURE__*/_interopNamespace(Popper); 48 49 /** 50 * -------------------------------------------------------------------------- 51 * Bootstrap (v5.0.2): dom/selector-engine.js 52 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) 53 * -------------------------------------------------------------------------- 54 */ 55 56 /** 57 * ------------------------------------------------------------------------ 58 * Constants 59 * ------------------------------------------------------------------------ 60 */ 61 const NODE_TEXT = 3; 62 const SelectorEngine = { 63 find(selector, element = document.documentElement) { 64 return [].concat(...Element.prototype.querySelectorAll.call(element, selector)); 65 }, 66 67 findOne(selector, element = document.documentElement) { 68 return Element.prototype.querySelector.call(element, selector); 69 }, 70 71 children(element, selector) { 72 return [].concat(...element.children).filter(child => child.matches(selector)); 73 }, 74 75 parents(element, selector) { 76 const parents = []; 77 let ancestor = element.parentNode; 78 79 while (ancestor && ancestor.nodeType === Node.ELEMENT_NODE && ancestor.nodeType !== NODE_TEXT) { 80 if (ancestor.matches(selector)) { 81 parents.push(ancestor); 82 } 83 84 ancestor = ancestor.parentNode; 85 } 86 87 return parents; 88 }, 89 90 prev(element, selector) { 91 let previous = element.previousElementSibling; 92 93 while (previous) { 94 if (previous.matches(selector)) { 95 return [previous]; 96 } 97 98 previous = previous.previousElementSibling; 99 } 100 101 return []; 102 }, 103 104 next(element, selector) { 105 let next = element.nextElementSibling; 106 107 while (next) { 108 if (next.matches(selector)) { 109 return [next]; 110 } 111 112 next = next.nextElementSibling; 113 } 114 115 return []; 116 } 117 118 }; 119 120 /** 121 * -------------------------------------------------------------------------- 122 * Bootstrap (v5.0.2): util/index.js 123 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) 124 * -------------------------------------------------------------------------- 125 */ 126 127 const MAX_UID = 1000000; 128 const MILLISECONDS_MULTIPLIER = 1000; 129 const TRANSITION_END = 'transitionend'; // Shoutout AngusCroll (https://goo.gl/pxwQGp) 130 131 const toType = obj => { 132 if (obj === null || obj === undefined) { 133 return `${obj}`; 134 } 135 136 return {}.toString.call(obj).match(/\s([a-z]+)/i)[1].toLowerCase(); 137 }; 138 /** 139 * -------------------------------------------------------------------------- 140 * Public Util Api 141 * -------------------------------------------------------------------------- 142 */ 143 144 145 const getUID = prefix => { 146 do { 147 prefix += Math.floor(Math.random() * MAX_UID); 148 } while (document.getElementById(prefix)); 149 150 return prefix; 151 }; 152 153 const getSelector = element => { 154 let selector = element.getAttribute('data-bs-target'); 155 156 if (!selector || selector === '#') { 157 let hrefAttr = element.getAttribute('href'); // The only valid content that could double as a selector are IDs or classes, 158 // so everything starting with `#` or `.`. If a "real" URL is used as the selector, 159 // `document.querySelector` will rightfully complain it is invali
159d. 160 // See https://github.com/twbs/bootstrap/issues/32273 161 162 if (!hrefAttr || !hrefAttr.includes('#') && !hrefAttr.startsWith('.')) { 163 return null; 164 } // Just in case some CMS puts out a full URL with the anchor appended 165 166 167 if (hrefAttr.includes('#') && !hrefAttr.startsWith('#')) { 168 hrefAttr = `#${hrefAttr.split('#')[1]}`; 169 } 170 171 selector = hrefAttr && hrefAttr !== '#' ? hrefAttr.trim() : null; 172 } 173 174 return selector; 175 }; 176 177 const getSelectorFromElement = element => { 178 const selector = getSelector(element); 179 180 if (selector) { 181 return document.querySelector(selector) ? selector : null; 182 } 183 184 return null; 185 }; 186 187 const getElementFromSelector = element => { 188 const selector = getSelector(element); 189 return selector ? document.querySelector(selector) : null; 190 }; 191 192 const getTransitionDurationFromElement = element => { 193 if (!element) { 194 return 0; 195 } // Get transition-duration of the element 196 197 198 let { 199 transitionDuration, 200 transitionDelay 201 } = window.getComputedStyle(element); 202 const floatTransitionDuration = Number.parseFloat(transitionDuration); 203 const floatTransitionDelay = Number.parseFloat(transitionDelay); // Return 0 if element or transition duration is not found 204 205 if (!floatTransitionDuration && !floatTransitionDelay) { 206 return 0; 207 } // If multiple durations are defined, take the first 208 209 210 transitionDuration = transitionDuration.split(',')[0]; 211 transitionDelay = transitionDelay.split(',')[0]; 212 return (Number.parseFloat(transitionDuration) + Number.parseFloat(transitionDelay)) * MILLISECONDS_MULTIPLIER; 213 }; 214 215 const triggerTransitionEnd = element => { 216 element.dispatchEvent(new Event(TRANSITION_END)); 217 }; 218 219 const isElement = obj => { 220 if (!obj || typeof obj !== 'object') { 221 return false; 222 } 223 224 if (typeof obj.jquery !== 'undefined') { 225 obj = obj[0]; 226 } 227 228 return typeof obj.nodeType !== 'undefined'; 229 }; 230 231 const getElement = obj => { 232 if (isElement(obj)) { 233 // it's a jQuery object or a node element 234 return obj.jquery ? obj[0] : obj; 235 } 236 237 if (typeof obj === 'string' && obj.length > 0) { 238 return SelectorEngine.findOne(obj); 239 } 240 241 return null; 242 }; 243 244 const typeCheckConfig = (componentName, config, configTypes) => { 245 Object.keys(configTypes).forEach(property => { 246 const expectedTypes = configTypes[property]; 247 const value = config[property]; 248 const valueType = value && isElement(value) ? 'element' : toType(value); 249 250 if (!new RegExp(expectedTypes).test(valueType)) { 251 throw new TypeError(`${componentName.toUpperCase()}: Option "${property}" provided type "${valueType}" but expected type "${expectedTypes}".`); 252 } 253 }); 254 }; 255 256 const isVisible = element => { 257 if (!isElement(element) || element.getClientRects().length === 0) { 258 return false; 259 } 260 261 return getComputedStyle(element).getPropertyValue('visibility') === 'visible'; 262 }; 263 264 const isDisabled = element => { 265 if (!element || element.nodeType !== Node.ELEMENT_NODE) { 266 return true; 267 } 268 269 if (element.classList.contains('disabled')) { 270 return true; 271 } 272 273 if (typeof element.disabled !== 'undefined') { 274 return element.disabled; 275 } 276 277 return element.hasAttribute('disabled') && element.getAttribute('disabled') !== 'false'; 278 }; 279 280 const findShadowRoot = element => { 281 if (!document.documentElement.attachShadow) { 282 return null; 283 } // Can find the shadow root otherwise it'll return the document 284 285 286 if (typeof element.getRootNode === 'function') { 287 const root = element.getRootNode(); 288 return root instanceof ShadowRoot ? root : null; 289 } 290 291 if (element instanceof ShadowRoot) { 292 return element; 293 } // when we don't find a shadow root 294 295 296 if (!element.parentNode) { 297 return null; 298 } 299 300 return findShadowRoot(element.parentNode); 301 }; 302 303 const noop = () => {}; 304 305 const reflow = element => element.offsetHeight; 306 307 const getjQuery = () => { 308 const { 309 jQuery 310 } = window; 311 312 if (jQuery && !document.body.hasAttribute('data-bs-no-jquery')) { 313 return jQuery; 314 } 315 316 return null; 317 }; 318 319 const DOMContentLoadedCallbacks = []; 320 321 const onDOMContentLoaded = callback => { 322 if (document.readyState === 'loading') { 323 // add listener on the first call when the document is in loading state 324 if (!DOMContentLoadedCallbacks.length) { 325 document.addEventListener('DOMContentLoaded', () => { 326 DOMContentLoadedCallbacks.forEach(callback => callback()); 327 }); 328 } 329 330 DOMContentLoadedCallbacks.push(callback); 331 } else { 332 callback(); 333 } 334 }; 335 336 const isRTL = () => document.documentElement.dir === 'rtl'; 337 338 const defineJQueryPlugin = plugin => { 339 onDOMContentLoaded(() => { 340 const $ = getjQuery(); 341 /* istanbul ignore if */ 342 343 if ($) { 344 const name = plugin.NAME; 345 const JQUERY_NO_CONFLICT = $.fn[name]; 346 $.fn[name] = plugin.jQueryInterface; 347 $.fn[name].Constructor = plugin; 348 349 $.fn[name].noConflict = () => { 350 $.fn[name] = JQUERY_NO_CONFLICT; 351 return plugin.jQueryInterface; 352 }; 353 } 354 }); 355 }; 356 357 const execute = callback => { 358 if (typeof callback === 'function') { 359 callback(); 360 } 361 }; 362 363 const executeAfterTransition = (callback, transitionElement, waitForTransition = true) => { 364 if (!waitForTransition) { 365 execute(callback); 366 return; 367 } 368 369 const durationPadding = 5; 370 const emulatedDuration = getTransitionDurationFromElement(transitionElement) + durationPadding;
371 let called = false; 372 373 const handler = ({ 374 target 375 }) => { 376 if (target !== transitionElement) { 377 return; 378 } 379 380 called = true; 381 transitionElement.removeEventListener(TRANSITION_END, handler); 382 execute(callback); 383 }; 384 385 transitionElement.addEventListener(TRANSITION_END, handler); 386 setTimeout(() => { 387 if (!called) { 388 triggerTransitionEnd(transitionElement); 389 } 390 }, emulatedDuration); 391 }; 392 /** 393 * Return the previous/next element of a list. 394 * 395 * @param {array} list The list of elements 396 * @param activeElement The active element 397 * @param shouldGetNext Choose to get next or previous element 398 * @param isCycleAllowed 399 * @return {Element|elem} The proper element 400 */ 401 402 403 const getNextActiveElement = (list, activeElement, shouldGetNext, isCycleAllowed) => { 404 let index = list.indexOf(activeElement); // if the element does not exist in the list return an element depending on the direction and if cycle is allowed 405 406 if (index === -1) { 407 return list[!shouldGetNext && isCycleAllowed ? list.length - 1 : 0]; 408 } 409 410 const listLength = list.length; 411 index += shouldGetNext ? 1 : -1; 412 413 if (isCycleAllowed) { 414 index = (index + listLength) % listLength; 415 } 416 417 return list[Math.max(0, Math.min(index, listLength - 1))]; 418 }; 419 420 /** 421 * -------------------------------------------------------------------------- 422 * Bootstrap (v5.0.2): dom/event-handler.js 423 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) 424 * -------------------------------------------------------------------------- 425 */ 426 /** 427 * ------------------------------------------------------------------------ 428 * Constants 429 * ------------------------------------------------------------------------ 430 */ 431 432 const namespaceRegex = /[^.]*(?=\..*)\.|.*/; 433 const stripNameRegex = /\..*/; 434 const stripUidRegex = /::\d+$/; 435 const eventRegistry = {}; // Events storage 436 437 let uidEvent = 1; 438 const customEvents = { 439 mouseenter: 'mouseover', 440 mouseleave: 'mouseout' 441 }; 442 const customEventsRegex = /^(mouseenter|mouseleave)/i; 443 const nativeEvents = new Set(['click', 'dblclick', 'mouseup', 'mousedown', 'contextmenu', 'mousewheel', 'DOMMouseScroll', 'mouseover', 'mouseout', 'mousemove', 'selectstart', 'selectend', 'keydown', 'keypress', 'keyup', 'orientationchange', 'touchstart', 'touchmove', 'touchend', 'touchcancel', 'pointerdown', 'pointermove', 'pointerup', 'pointerleave', 'pointercancel', 'gesturestart', 'gesturechange', 'gestureend', 'focus', 'blur', 'change', 'reset', 'select', 'submit', 'focusin', 'focusout', 'load', 'unload', 'beforeunload', 'resize', 'move', 'DOMContentLoaded', 'readystatechange', 'error', 'abort', 'scroll']); 444 /** 445 * ------------------------------------------------------------------------ 446 * Private methods 447 * ------------------------------------------------------------------------ 448 */ 449 450 function getUidEvent(element, uid) { 451 return uid && `${uid}::${uidEvent++}` || element.uidEvent || uidEvent++; 452 } 453 454 function getEvent(element) { 455 const uid = getUidEvent(element); 456 element.uidEvent = uid; 457 eventRegistry[uid] = eventRegistry[uid] || {}; 458 return eventRegistry[uid]; 459 } 460 461 function bootstrapHandler(element, fn) { 462 return function handler(event) { 463 event.delegateTarget = element; 464 465 if (handler.oneOff) { 466 EventHandler.off(element, event.type, fn); 467 } 468 469 return fn.apply(element, [event]); 470 }; 471 } 472 473 function bootstrapDelegationHandler(element, selector, fn) { 474 return function handler(event) { 475 const domElements = element.querySelectorAll(selector); 476 477 for (let { 478 target 479 } = event; target && target !== this; target = target.parentNode) { 480 for (let i = domElements.length; i--;) { 481 if (domElements[i] === target) { 482 event.delegateTarget = target; 483 484 if (handler.oneOff) { 485 // eslint-disable-next-line unicorn/consistent-destructuring 486 EventHandler.off(element, event.type, selector, fn); 487 } 488 489 return fn.apply(target, [event]); 490 } 491 } 492 } // To please ESLint 493 494 495 return null; 496 }; 497 } 498 499 function findHandler(events, handler, delegationSelector = null) { 500 const uidEventList = Object.keys(events); 501 502 for (let i = 0, len = uidEventList.length; i < len; i++) { 503 const event = events[uidEventList[i]]; 504 505 if (event.originalHandler === handler && event.delegationSelector === delegationSelector) { 506 return event; 507 } 508 } 509 510 return null; 511 } 512 513 function normalizeParams(originalTypeEvent, handler, delegationFn) { 514 const delegation = typeof handler === 'string'; 515 const originalHandler = delegation ? delegationFn : handler; 516 let typeEvent = getTypeEvent(originalTypeEvent); 517 const isNative = nativeEvents.has(typeEvent); 518 519 if (!isNative) { 520 typeEvent = originalTypeEvent; 521 } 522 523 return [delegation, originalHandler, typeEvent]; 524 } 525 526 function addHandler(element, originalTypeEvent, handler, delegationFn, oneOff) { 527 if (typeof originalTypeEvent !== 'string' || !element) { 528 return; 529 } 530 531 if (!handler) { 532 handler = delegationFn; 533 delegationFn = null; 534 } // in case of mouseenter or mouseleave wrap the handler within a function that checks for its DOM position 535 // this prevents the handler from being dispatched the same way as mouseover or mouseout does 536 537 538 if (customEventsRegex.test(originalTypeEvent)) { 539 const wrapFn = fn => { 540 return function (event) { 541 if (!event.relatedTarget || event.relatedTarget !== event.delegateTarget && !event.delegateTarget.contains(event.relatedTarget)) {
vendor: 4,733 bytes, lines 542-681
542 return fn.call(this, event); 543 } 544 }; 545 }; 546 547 if (delegationFn) { 548 delegationFn = wrapFn(delegationFn); 549 } else { 550 handler = wrapFn(handler); 551 } 552 } 553 554 const [delegation, originalHandler, typeEvent] = normalizeParams(originalTypeEvent, handler, delegationFn); 555 const events = getEvent(element); 556 const handlers = events[typeEvent] || (events[typeEvent] = {}); 557 const previousFn = findHandler(handlers, originalHandler, delegation ? handler : null); 558 559 if (previousFn) { 560 previousFn.oneOff = previousFn.oneOff && oneOff; 561 return; 562 } 563 564 const uid = getUidEvent(originalHandler, originalTypeEvent.replace(namespaceRegex, '')); 565 const fn = delegation ? bootstrapDelegationHandler(element, handler, delegationFn) : bootstrapHandler(element, handler); 566 fn.delegationSelector = delegation ? handler : null; 567 fn.originalHandler = originalHandler; 568 fn.oneOff = oneOff; 569 fn.uidEvent = uid; 570 handlers[uid] = fn; 571 element.addEventListener(typeEvent, fn, delegation); 572 } 573 574 function removeHandler(element, events, typeEvent, handler, delegationSelector) { 575 const fn = findHandler(events[typeEvent], handler, delegationSelector); 576 577 if (!fn) { 578 return; 579 } 580 581 element.removeEventListener(typeEvent, fn, Boolean(delegationSelector)); 582 delete events[typeEvent][fn.uidEvent]; 583 } 584 585 function removeNamespacedHandlers(element, events, typeEvent, namespace) { 586 const storeElementEvent = events[typeEvent] || {}; 587 Object.keys(storeElementEvent).forEach(handlerKey => { 588 if (handlerKey.includes(namespace)) { 589 const event = storeElementEvent[handlerKey]; 590 removeHandler(element, events, typeEvent, event.originalHandler, event.delegationSelector); 591 } 592 }); 593 } 594 595 function getTypeEvent(event) { 596 // allow to get the native events from namespaced events ('click.bs.button' --> 'click') 597 event = event.replace(stripNameRegex, ''); 598 return customEvents[event] || event; 599 } 600 601 const EventHandler = { 602 on(element, event, handler, delegationFn) { 603 addHandler(element, event, handler, delegationFn, false); 604 }, 605 606 one(element, event, handler, delegationFn) { 607 addHandler(element, event, handler, delegationFn, true); 608 }, 609 610 off(element, originalTypeEvent, handler, delegationFn) { 611 if (typeof originalTypeEvent !== 'string' || !element) { 612 return; 613 } 614 615 const [delegation, originalHandler, typeEvent] = normalizeParams(originalTypeEvent, handler, delegationFn); 616 const inNamespace = typeEvent !== originalTypeEvent; 617 const events = getEvent(element); 618 const isNamespace = originalTypeEvent.startsWith('.'); 619 620 if (typeof originalHandler !== 'undefined') { 621 // Simplest case: handler is passed, remove that listener ONLY. 622 if (!events || !events[typeEvent]) { 623 return; 624 } 625 626 removeHandler(element, events, typeEvent, originalHandler, delegation ? handler : null); 627 return; 628 } 629 630 if (isNamespace) { 631 Object.keys(events).forEach(elementEvent => { 632 removeNamespacedHandlers(element, events, elementEvent, originalTypeEvent.slice(1)); 633 }); 634 } 635 636 const storeElementEvent = events[typeEvent] || {}; 637 Object.keys(storeElementEvent).forEach(keyHandlers => { 638 const handlerKey = keyHandlers.replace(stripUidRegex, ''); 639 640 if (!inNamespace || originalTypeEvent.includes(handlerKey)) { 641 const event = storeElementEvent[keyHandlers]; 642 removeHandler(element, events, typeEvent, event.originalHandler, event.delegationSelector); 643 } 644 }); 645 }, 646 647 trigger(element, event, args) { 648 if (typeof event !== 'string' || !element) { 649 return null; 650 } 651 652 const $ = getjQuery(); 653 const typeEvent = getTypeEvent(event); 654 const inNamespace = event !== typeEvent; 655 const isNative = nativeEvents.has(typeEvent); 656 let jQueryEvent; 657 let bubbles = true; 658 let nativeDispatch = true; 659 let defaultPrevented = false; 660 let evt = null; 661 662 if (inNamespace && $) { 663 jQueryEvent = $.Event(event, args); 664 $(element).trigger(jQueryEvent); 665 bubbles = !jQueryEvent.isPropagationStopped(); 666 nativeDispatch = !jQueryEvent.isImmediatePropagationStopped(); 667 defaultPrevented = jQueryEvent.isDefaultPrevented(); 668 } 669 670 if (isNative) { 671 evt = document.createEvent('HTMLEvents'); 672 evt.initEvent(typeEvent, bubbles, true); 673 } else { 674 evt = new CustomEvent(event, { 675 bubbles, 676 cancelable: true 677 }); 678 } // merge custom information in our event 679 680 681 if (typeof args !== 'undefined') {
682 Object.keys(args).forEach(key => { 683 Object.defineProperty(evt, key, { 684 get() { 685 return args[key]; 686 } 687 688 }); 689 }); 690 } 691 692 if (defaultPrevented) { 693 evt.preventDefault(); 694 } 695 696 if (nativeDispatch) { 697 element.dispatchEvent(evt); 698 } 699 700 if (evt.defaultPrevented && typeof jQueryEvent !== 'undefined') { 701 jQueryEvent.preventDefault(); 702 } 703 704 return evt; 705 } 706 707 }; 708 709 /** 710 * -------------------------------------------------------------------------- 711 * Bootstrap (v5.0.2): dom/data.js 712 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) 713 * -------------------------------------------------------------------------- 714 */ 715 716 /** 717 * ------------------------------------------------------------------------ 718 * Constants 719 * ------------------------------------------------------------------------ 720 */ 721 const elementMap = new Map(); 722 var Data = { 723 set(element, key, instance) { 724 if (!elementMap.has(element)) { 725 elementMap.set(element, new Map()); 726 } 727 728 const instanceMap = elementMap.get(element); // make it clear we only want one instance per element 729 // can be removed later when multiple key/instances are fine to be used 730 731 if (!instanceMap.has(key) && instanceMap.size !== 0) { 732 // eslint-disable-next-line no-console 733 console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(instanceMap.keys())[0]}.`); 734 return; 735 } 736 737 instanceMap.set(key, instance); 738 }, 739 740 get(element, key) { 741 if (elementMap.has(element)) { 742 return elementMap.get(element).get(key) || null; 743 } 744 745 return null; 746 }, 747 748 remove(element, key) { 749 if (!elementMap.has(element)) { 750 return; 751 } 752 753 const instanceMap = elementMap.get(element); 754 instanceMap.delete(key); // free up element references if there are no instances left for an element 755 756 if (instanceMap.size === 0) { 757 elementMap.delete(element); 758 } 759 } 760 761 }; 762 763 /** 764 * -------------------------------------------------------------------------- 765 * Bootstrap (v5.0.2): base-component.js 766 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) 767 * -------------------------------------------------------------------------- 768 */ 769 /** 770 * ------------------------------------------------------------------------ 771 * Constants 772 * ------------------------------------------------------------------------ 773 */ 774 775 const VERSION = '5.0.2'; 776 777 class BaseComponent { 778 constructor(element) { 779 element = getElement(element); 780 781 if (!element) { 782 return; 783 } 784 785 this._element = element; 786 Data.set(this._element, this.constructor.DATA_KEY, this); 787 } 788 789 dispose() { 790 Data.remove(this._element, this.constructor.DATA_KEY); 791 EventHandler.off(this._element, this.constructor.EVENT_KEY); 792 Object.getOwnPropertyNames(this).forEach(propertyName => { 793 this[propertyName] = null; 794 }); 795 } 796 797 _queueCallback(callback, element, isAnimated = true) { 798 executeAfterTransition(callback, element, isAnimated); 799 } 800 /** Static */ 801 802 803 static getInstance(element) { 804 return Data.get(element, this.DATA_KEY); 805 } 806 807 static getOrCreateInstance(element, config = {}) { 808 return this.getInstance(element) || new this(element, typeof config === 'object' ? config : null); 809 } 810 811 static get VERSION() { 812 return VERSION; 813 } 814 815 static get NAME() { 816 throw new Error('You have to implement the static method "NAME", for each component!'); 817 } 818 819 static get DATA_KEY() { 820 return `bs.${this.NAME}`; 821 } 822 823 static get EVENT_KEY() { 824 return `.${this.DATA_KEY}`; 825 } 826 827 } 828 829 /** 830 * -------------------------------------------------------------------------- 831 * Bootstrap (v5.0.2): alert.js 832 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) 833 * -------------------------------------------------------------------------- 834 */ 835 /** 836 * ------------------------------------------------------------------------ 837 * Constants 838 * ------------------------------------------------------------------------ 839 */ 840 841 const NAME$c = 'alert'; 842 const DATA_KEY$b = 'bs.alert'; 843 const EVENT_KEY$b = `.${DATA_KEY$b}`; 844 const DATA_API_KEY$8 = '.data-api'; 845 const SELECTOR_DISMISS = '[data-bs-dismiss="alert"]'; 846 const EVENT_CLOSE = `close${EVENT_KEY$b}`; 847 const EVENT_CLOSED = `closed${EVENT_KEY$b}`; 848 const EVENT_CLICK_DATA_API$7 = `click${EVENT_KEY$b}${DATA_API_KEY$8}`;
849 const CLASS_NAME_ALERT = 'alert'; 850 const CLASS_NAME_FADE$6 = 'fade'; 851 const CLASS_NAME_SHOW$9 = 'show'; 852 /** 853 * ------------------------------------------------------------------------ 854 * Class Definition 855 * ------------------------------------------------------------------------ 856 */ 857 858 class Alert extends BaseComponent { 859 // Getters 860 static get NAME() { 861 return NAME$c; 862 } // Public 863 864 865 close(element) { 866 const rootElement = element ? this._getRootElement(element) : this._element; 867 868 const customEvent = this._triggerCloseEvent(rootElement); 869 870 if (customEvent === null || customEvent.defaultPrevented) { 871 return; 872 } 873 874 this._removeElement(rootElement); 875 } // Private 876 877 878 _getRootElement(element) { 879 return getElementFromSelector(element) || element.closest(`.${CLASS_NAME_ALERT}`); 880 } 881 882 _triggerCloseEvent(element) { 883 return EventHandler.trigger(element, EVENT_CLOSE); 884 } 885 886 _removeElement(element) { 887 element.classList.remove(CLASS_NAME_SHOW$9); 888 const isAnimated = element.classList.contains(CLASS_NAME_FADE$6); 889 890 this._queueCallback(() => this._destroyElement(element), element, isAnimated); 891 } 892 893 _destroyElement(element) { 894 element.remove(); 895 EventHandler.trigger(element, EVENT_CLOSED); 896 } // Static 897 898 899 static jQueryInterface(config) { 900 return this.each(function () { 901 const data = Alert.getOrCreateInstance(this); 902 903 if (config === 'close') { 904 data[config](this); 905 } 906 }); 907 } 908 909 static handleDismiss(alertInstance) { 910 return function (event) { 911 if (event) { 912 event.preventDefault(); 913 } 914 915 alertInstance.close(this); 916 }; 917 } 918 919 } 920 /** 921 * ------------------------------------------------------------------------ 922 * Data Api implementation 923 * ------------------------------------------------------------------------ 924 */ 925 926 927 EventHandler.on(document, EVENT_CLICK_DATA_API$7, SELECTOR_DISMISS, Alert.handleDismiss(new Alert())); 928 /** 929 * ------------------------------------------------------------------------ 930 * jQuery 931 * ------------------------------------------------------------------------ 932 * add .Alert to jQuery only if jQuery is present 933 */ 934 935 defineJQueryPlugin(Alert); 936 937 /** 938 * -------------------------------------------------------------------------- 939 * Bootstrap (v5.0.2): button.js 940 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) 941 * -------------------------------------------------------------------------- 942 */ 943 /** 944 * ------------------------------------------------------------------------ 945 * Constants 946 * ------------------------------------------------------------------------ 947 */ 948 949 const NAME$b = 'button'; 950 const DATA_KEY$a = 'bs.button'; 951 const EVENT_KEY$a = `.${DATA_KEY$a}`; 952 const DATA_API_KEY$7 = '.data-api'; 953 const CLASS_NAME_ACTIVE$3 = 'active'; 954 const SELECTOR_DATA_TOGGLE$5 = '[data-bs-toggle="button"]'; 955 const EVENT_CLICK_DATA_API$6 = `click${EVENT_KEY$a}${DATA_API_KEY$7}`; 956 /** 957 * ------------------------------------------------------------------------ 958 * Class Definition 959 * ------------------------------------------------------------------------ 960 */ 961 962 class Button extends BaseComponent { 963 // Getters 964 static get NAME() { 965 return NAME$b; 966 } // Public 967 968 969 toggle() { 970 // Toggle class and sync the `aria-pressed` attribute with the return value of the `.toggle()` method 971 this._element.setAttribute('aria-pressed', this._element.classList.toggle(CLASS_NAME_ACTIVE$3)); 972 } // Static 973 974 975 static jQueryInterface(config) { 976 return this.each(function () { 977 const data = Button.getOrCreateInstance(this); 978 979 if (config === 'toggle') { 980 data[config](); 981 } 982 }); 983 } 984 985 } 986 /** 987 * ------------------------------------------------------------------------ 988 * Data Api implementation 989 * ------------------------------------------------------------------------ 990 */ 991 992 993 EventHandler.on(document, EVENT_CLICK_DATA_API$6, SELECTOR_DATA_TOGGLE$5, event => { 994 event.preventDefault(); 995 const button = event.target.closest(SELECTOR_DATA_TOGGLE$5); 996 const data = Button.getOrCreateInstance(button); 997 data.toggle(); 998 }); 999 /** 1000 * ------------------------------------------------------------------------ 1001 * jQuery 1002 * ------------------------------------------------------------------------
1003 * add .Button to jQuery only if jQuery is present 1004 */ 1005 1006 defineJQueryPlugin(Button); 1007 1008 /** 1009 * -------------------------------------------------------------------------- 1010 * Bootstrap (v5.0.2): dom/manipulator.js 1011 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) 1012 * -------------------------------------------------------------------------- 1013 */ 1014 function normalizeData(val) { 1015 if (val === 'true') { 1016 return true; 1017 } 1018 1019 if (val === 'false') { 1020 return false; 1021 } 1022 1023 if (val === Number(val).toString()) { 1024 return Number(val); 1025 } 1026 1027 if (val === '' || val === 'null') { 1028 return null; 1029 } 1030 1031 return val; 1032 } 1033 1034 function normalizeDataKey(key) { 1035 return key.replace(/[A-Z]/g, chr => `-${chr.toLowerCase()}`); 1036 } 1037 1038 const Manipulator = { 1039 setDataAttribute(element, key, value) { 1040 element.setAttribute(`data-bs-${normalizeDataKey(key)}`, value); 1041 }, 1042 1043 removeDataAttribute(element, key) { 1044 element.removeAttribute(`data-bs-${normalizeDataKey(key)}`); 1045 }, 1046 1047 getDataAttributes(element) { 1048 if (!element) { 1049 return {}; 1050 } 1051 1052 const attributes = {}; 1053 Object.keys(element.dataset).filter(key => key.startsWith('bs')).forEach(key => { 1054 let pureKey = key.replace(/^bs/, ''); 1055 pureKey = pureKey.charAt(0).toLowerCase() + pureKey.slice(1, pureKey.length); 1056 attributes[pureKey] = normalizeData(element.dataset[key]); 1057 }); 1058 return attributes; 1059 }, 1060 1061 getDataAttribute(element, key) { 1062 return normalizeData(element.getAttribute(`data-bs-${normalizeDataKey(key)}`)); 1063 }, 1064 1065 offset(element) { 1066 const rect = element.getBoundingClientRect(); 1067 return { 1068 top: rect.top + document.body.scrollTop, 1069 left: rect.left + document.body.scrollLeft 1070 }; 1071 }, 1072 1073 position(element) { 1074 return { 1075 top: element.offsetTop, 1076 left: element.offsetLeft 1077 }; 1078 } 1079 1080 }; 1081 1082 /** 1083 * -------------------------------------------------------------------------- 1084 * Bootstrap (v5.0.2): carousel.js 1085 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) 1086 * -------------------------------------------------------------------------- 1087 */ 1088 /** 1089 * ------------------------------------------------------------------------ 1090 * Constants 1091 * ------------------------------------------------------------------------ 1092 */ 1093 1094 const NAME$a = 'carousel'; 1095 const DATA_KEY$9 = 'bs.carousel'; 1096 const EVENT_KEY$9 = `.${DATA_KEY$9}`; 1097 const DATA_API_KEY$6 = '.data-api'; 1098 const ARROW_LEFT_KEY = 'ArrowLeft'; 1099 const ARROW_RIGHT_KEY = 'ArrowRight'; 1100 const TOUCHEVENT_COMPAT_WAIT = 500; // Time for mouse compat events to fire after touch 1101 1102 const SWIPE_THRESHOLD = 40; 1103 const Default$9 = { 1104 interval: 5000, 1105 keyboard: true, 1106 slide: false, 1107 pause: 'hover', 1108 wrap: true, 1109 touch: true 1110 }; 1111 const DefaultType$9 = { 1112 interval: '(number|boolean)', 1113 keyboard: 'boolean', 1114 slide: '(boolean|string)', 1115 pause: '(string|boolean)', 1116 wrap: 'boolean', 1117 touch: 'boolean' 1118 }; 1119 const ORDER_NEXT = 'next'; 1120 const ORDER_PREV = 'prev'; 1121 const DIRECTION_LEFT = 'left'; 1122 const DIRECTION_RIGHT = 'right'; 1123 const KEY_TO_DIRECTION = { 1124 [ARROW_LEFT_KEY]: DIRECTION_RIGHT, 1125 [ARROW_RIGHT_KEY]: DIRECTION_LEFT 1126 }; 1127 const EVENT_SLIDE = `slide${EVENT_KEY$9}`; 1128 const EVENT_SLID = `slid${EVENT_KEY$9}`; 1129 const EVENT_KEYDOWN = `keydown${EVENT_KEY$9}`; 1130 const EVENT_MOUSEENTER = `mouseenter${EVENT_KEY$9}`; 1131 const EVENT_MOUSELEAVE = `mouseleave${EVENT_KEY$9}`; 1132 const EVENT_TOUCHSTART = `touchstart${EVENT_KEY$9}`; 1133 const EVENT_TOUCHMOVE = `touchmove${EVENT_KEY$9}`; 1134 const EVENT_TOUCHEND = `touchend${EVENT_KEY$9}`; 1135 const EVENT_POINTERDOWN = `pointerdown${EVENT_KEY$9}`; 1136 const EVENT_POINTERUP = `pointerup${EVENT_KEY$9}`; 1137 const EVENT_DRAG_START = `dragstart${EVENT_KEY$9}`; 1138 const EVENT_LOAD_DATA_API$2 = `load${EVENT_KEY$9}${DATA_API_KEY$6}`; 1139 const EVENT_CLICK_DATA_API$5 = `click${EVENT_KEY$9}${DATA_API_KEY$6}`; 1140 const CLASS_NAME_CAROUSEL = 'carousel'; 1141 const CLASS_NAME_ACTIVE$2 = 'active'; 1142 const CLASS_NAME_SLIDE = 'slide'; 1143 const CLASS_NAME_END = 'carousel-item-end'; 1144 const CLASS_NAME_START = 'carousel-item-start';
1145 const CLASS_NAME_NEXT = 'carousel-item-next'; 1146 const CLASS_NAME_PREV = 'carousel-item-prev'; 1147 const CLASS_NAME_POINTER_EVENT = 'pointer-event'; 1148 const SELECTOR_ACTIVE$1 = '.active'; 1149 const SELECTOR_ACTIVE_ITEM = '.active.carousel-item'; 1150 const SELECTOR_ITEM = '.carousel-item'; 1151 const SELECTOR_ITEM_IMG = '.carousel-item img'; 1152 const SELECTOR_NEXT_PREV = '.carousel-item-next, .carousel-item-prev'; 1153 const SELECTOR_INDICATORS = '.carousel-indicators'; 1154 const SELECTOR_INDICATOR = '[data-bs-target]'; 1155 const SELECTOR_DATA_SLIDE = '[data-bs-slide], [data-bs-slide-to]'; 1156 const SELECTOR_DATA_RIDE = '[data-bs-ride="carousel"]'; 1157 const POINTER_TYPE_TOUCH = 'touch'; 1158 const POINTER_TYPE_PEN = 'pen'; 1159 /** 1160 * ------------------------------------------------------------------------ 1161 * Class Definition 1162 * ------------------------------------------------------------------------ 1163 */ 1164 1165 class Carousel extends BaseComponent { 1166 constructor(element, config) { 1167 super(element); 1168 this._items = null; 1169 this._interval = null; 1170 this._activeElement = null; 1171 this._isPaused = false; 1172 this._isSliding = false; 1173 this.touchTimeout = null; 1174 this.touchStartX = 0; 1175 this.touchDeltaX = 0; 1176 this._config = this._getConfig(config); 1177 this._indicatorsElement = SelectorEngine.findOne(SELECTOR_INDICATORS, this._element); 1178 this._touchSupported = 'ontouchstart' in document.documentElement || navigator.maxTouchPoints > 0; 1179 this._pointerEvent = Boolean(window.PointerEvent); 1180 1181 this._addEventListeners(); 1182 } // Getters 1183 1184 1185 static get Default() { 1186 return Default$9; 1187 } 1188 1189 static get NAME() { 1190 return NAME$a; 1191 } // Public 1192 1193 1194 next() { 1195 this._slide(ORDER_NEXT); 1196 } 1197 1198 nextWhenVisible() { 1199 // Don't call next when the page isn't visible 1200 // or the carousel or its parent isn't visible 1201 if (!document.hidden && isVisible(this._element)) { 1202 this.next(); 1203 } 1204 } 1205 1206 prev() { 1207 this._slide(ORDER_PREV); 1208 } 1209 1210 pause(event) { 1211 if (!event) { 1212 this._isPaused = true; 1213 } 1214 1215 if (SelectorEngine.findOne(SELECTOR_NEXT_PREV, this._element)) { 1216 triggerTransitionEnd(this._element); 1217 this.cycle(true); 1218 } 1219 1220 clearInterval(this._interval); 1221 this._interval = null; 1222 } 1223 1224 cycle(event) { 1225 if (!event) { 1226 this._isPaused = false; 1227 } 1228 1229 if (this._interval) { 1230 clearInterval(this._interval); 1231 this._interval = null; 1232 } 1233 1234 if (this._config && this._config.interval && !this._isPaused) { 1235 this._updateInterval(); 1236 1237 this._interval = setInterval((document.visibilityState ? this.nextWhenVisible : this.next).bind(this), this._config.interval); 1238 } 1239 } 1240 1241 to(index) { 1242 this._activeElement = SelectorEngine.findOne(SELECTOR_ACTIVE_ITEM, this._element); 1243 1244 const activeIndex = this._getItemIndex(this._activeElement); 1245 1246 if (index > this._items.length - 1 || index < 0) { 1247 return; 1248 } 1249 1250 if (this._isSliding) { 1251 EventHandler.one(this._element, EVENT_SLID, () => this.to(index)); 1252 return; 1253 } 1254 1255 if (activeIndex === index) { 1256 this.pause(); 1257 this.cycle(); 1258 return; 1259 } 1260 1261 const order = index > activeIndex ? ORDER_NEXT : ORDER_PREV; 1262 1263 this._slide(order, this._items[index]); 1264 } // Private 1265 1266 1267 _getConfig(config) { 1268 config = { ...Default$9, 1269 ...Manipulator.getDataAttributes(this._element), 1270 ...(typeof config === 'object' ? config : {}) 1271 }; 1272 typeCheckConfig(NAME$a, config, DefaultType$9); 1273 return config; 1274 } 1275 1276 _handleSwipe() { 1277 const absDeltax = Math.abs(this.touchDeltaX); 1278 1279 if (absDeltax <= SWIPE_THRESHOLD) { 1280 return; 1281 } 1282 1283 const direction = absDeltax / this.touchDeltaX; 1284 this.touchDeltaX = 0; 1285 1286 if (!direction) { 1287 return; 1288 } 1289 1290 this._slide(direction > 0 ? DIRECTION_RIGHT : DIRECTION_LEFT); 1291 } 1292 1293 _addEventListeners() { 1294 if (this._config.keyboard) { 1295 EventHandler.on(this._element, EVENT_KEYDOWN, event =>
1295 this._keydown(event)); 1296 } 1297 1298 if (this._config.pause === 'hover') { 1299 EventHandler.on(this._element, EVENT_MOUSEENTER, event => this.pause(event)); 1300 EventHandler.on(this._element, EVENT_MOUSELEAVE, event => this.cycle(event)); 1301 } 1302 1303 if (this._config.touch && this._touchSupported) { 1304 this._addTouchEventListeners(); 1305 } 1306 } 1307 1308 _addTouchEventListeners() { 1309 const start = event => { 1310 if (this._pointerEvent && (event.pointerType === POINTER_TYPE_PEN || event.pointerType === POINTER_TYPE_TOUCH)) { 1311 this.touchStartX = event.clientX; 1312 } else if (!this._pointerEvent) { 1313 this.touchStartX = event.touches[0].clientX; 1314 } 1315 }; 1316 1317 const move = event => { 1318 // ensure swiping with one touch and not pinching 1319 this.touchDeltaX = event.touches && event.touches.length > 1 ? 0 : event.touches[0].clientX - this.touchStartX; 1320 }; 1321 1322 const end = event => { 1323 if (this._pointerEvent && (event.pointerType === POINTER_TYPE_PEN || event.pointerType === POINTER_TYPE_TOUCH)) { 1324 this.touchDeltaX = event.clientX - this.touchStartX; 1325 } 1326 1327 this._handleSwipe(); 1328 1329 if (this._config.pause === 'hover') { 1330 // If it's a touch-enabled device, mouseenter/leave are fired as 1331 // part of the mouse compatibility events on first tap - the carousel 1332 // would stop cycling until user tapped out of it; 1333 // here, we listen for touchend, explicitly pause the carousel 1334 // (as if it's the second time we tap on it, mouseenter compat event 1335 // is NOT fired) and after a timeout (to allow for mouse compatibility 1336 // events to fire) we explicitly restart cycling 1337 this.pause(); 1338 1339 if (this.touchTimeout) { 1340 clearTimeout(this.touchTimeout); 1341 } 1342 1343 this.touchTimeout = setTimeout(event => this.cycle(event), TOUCHEVENT_COMPAT_WAIT + this._config.interval); 1344 } 1345 }; 1346 1347 SelectorEngine.find(SELECTOR_ITEM_IMG, this._element).forEach(itemImg => { 1348 EventHandler.on(itemImg, EVENT_DRAG_START, e => e.preventDefault()); 1349 }); 1350 1351 if (this._pointerEvent) { 1352 EventHandler.on(this._element, EVENT_POINTERDOWN, event => start(event)); 1353 EventHandler.on(this._element, EVENT_POINTERUP, event => end(event)); 1354 1355 this._element.classList.add(CLASS_NAME_POINTER_EVENT); 1356 } else { 1357 EventHandler.on(this._element, EVENT_TOUCHSTART, event => start(event)); 1358 EventHandler.on(this._element, EVENT_TOUCHMOVE, event => move(event)); 1359 EventHandler.on(this._element, EVENT_TOUCHEND, event => end(event)); 1360 } 1361 } 1362 1363 _keydown(event) { 1364 if (/input|textarea/i.test(event.target.tagName)) { 1365 return; 1366 } 1367 1368 const direction = KEY_TO_DIRECTION[event.key]; 1369 1370 if (direction) { 1371 event.preventDefault(); 1372 1373 this._slide(direction); 1374 } 1375 } 1376 1377 _getItemIndex(element) { 1378 this._items = element && element.parentNode ? SelectorEngine.find(SELECTOR_ITEM, element.parentNode) : []; 1379 return this._items.indexOf(element); 1380 } 1381 1382 _getItemByOrder(order, activeElement) { 1383 const isNext = order === ORDER_NEXT; 1384 return getNextActiveElement(this._items, activeElement, isNext, this._config.wrap); 1385 } 1386 1387 _triggerSlideEvent(relatedTarget, eventDirectionName) { 1388 const targetIndex = this._getItemIndex(relatedTarget); 1389 1390 const fromIndex = this._getItemIndex(SelectorEngine.findOne(SELECTOR_ACTIVE_ITEM, this._element)); 1391 1392 return EventHandler.trigger(this._element, EVENT_SLIDE, { 1393 relatedTarget, 1394 direction: eventDirectionName, 1395 from: fromIndex, 1396 to: targetIndex 1397 }); 1398 } 1399 1400 _setActiveIndicatorElement(element) { 1401 if (this._indicatorsElement) { 1402 const activeIndicator = SelectorEngine.findOne(SELECTOR_ACTIVE$1, this._indicatorsElement); 1403 activeIndicator.classList.remove(CLASS_NAME_ACTIVE$2); 1404 activeIndicator.removeAttribute('aria-current'); 1405 const indicators = SelectorEngine.find(SELECTOR_INDICATOR, this._indicatorsElement); 1406 1407 for (let i = 0; i < indicators.length; i++) { 1408 if (Number.parseInt(indicators[i].getAttribute('data-bs-slide-to'), 10) === this._getItemIndex(element)) { 1409 indicators[i].classList.add(CLASS_NAME_ACTIVE$2); 1410 indicators[i].setAttribute('aria-current', 'true'); 1411 break; 1412 } 1413 } 1414 } 1415 } 1416 1417 _updateInterval() { 1418 const element = this._activeElement || SelectorEngine.findOne(SELECTOR_ACTIVE_ITEM, this._element); 1419 1420 if (!element) { 1421 return; 1422 } 1423 1424 const elementInterval = Number.parseInt(element.getAttribute('data-bs-interval'), 10); 1425 1426 if (elementInterval) { 1427 this._config.defaultInterval = this._config.defaultInterval || this._config.interval; 1428 this._config.interval = elementInterval; 1429 } else { 1430 this._config.interval = this._config.defaultInterval || this._config.interval; 1431 } 1432 } 1433 1434 _slide(directionOrOrder, element) { 1435 const order = this._directionToOrder(directionOrOrder); 1436 1437 const activeElement = SelectorEngine.findOne(SELECTOR_ACTIVE_ITEM, this._element); 1438 1439 const activeElementIndex = this._getItemIndex(activeElement); 1440 1441 const nextElement = element || this._getItemByOrder(order, activeElement); 1442 1443 const nextElementIndex = this._getItemIndex(nextElement); 1444 1445 const isCycling = Boolean(this._interval); 1446 const isNext = order === ORDER_NEXT; 1447 const directionalClassName = isNext ? CLASS_NAME_START : CLASS_NAME_END; 1448 const orderClassName = isNext ? CLASS_NAME_NEXT : CLASS_NAME_PREV; 1449 1450 const eventDirectionName = this._orderToDirection(order); 1451 1452 if (nextElement && nextElement.classList.contains(CLASS_NAME_ACTIVE$2)) { 1453 this._isSliding = false;
1454 return; 1455 } 1456 1457 if (this._isSliding) { 1458 return; 1459 } 1460 1461 const slideEvent = this._triggerSlideEvent(nextElement, eventDirectionName); 1462 1463 if (slideEvent.defaultPrevented) { 1464 return; 1465 } 1466 1467 if (!activeElement || !nextElement) { 1468 // Some weirdness is happening, so we bail 1469 return; 1470 } 1471 1472 this._isSliding = true; 1473 1474 if (isCycling) { 1475 this.pause(); 1476 } 1477 1478 this._setActiveIndicatorElement(nextElement); 1479 1480 this._activeElement = nextElement; 1481 1482 const triggerSlidEvent = () => { 1483 EventHandler.trigger(this._element, EVENT_SLID, { 1484 relatedTarget: nextElement, 1485 direction: eventDirectionName, 1486 from: activeElementIndex, 1487 to: nextElementIndex 1488 }); 1489 }; 1490 1491 if (this._element.classList.contains(CLASS_NAME_SLIDE)) { 1492 nextElement.classList.add(orderClassName); 1493 reflow(nextElement); 1494 activeElement.classList.add(directionalClassName); 1495 nextElement.classList.add(directionalClassName); 1496 1497 const completeCallBack = () => { 1498 nextElement.classList.remove(directionalClassName, orderClassName); 1499 nextElement.classList.add(CLASS_NAME_ACTIVE$2); 1500 activeElement.classList.remove(CLASS_NAME_ACTIVE$2, orderClassName, directionalClassName); 1501 this._isSliding = false; 1502 setTimeout(triggerSlidEvent, 0); 1503 }; 1504 1505 this._queueCallback(completeCallBack, activeElement, true); 1506 } else { 1507 activeElement.classList.remove(CLASS_NAME_ACTIVE$2); 1508 nextElement.classList.add(CLASS_NAME_ACTIVE$2); 1509 this._isSliding = false; 1510 triggerSlidEvent(); 1511 } 1512 1513 if (isCycling) { 1514 this.cycle(); 1515 } 1516 } 1517 1518 _directionToOrder(direction) { 1519 if (![DIRECTION_RIGHT, DIRECTION_LEFT].includes(direction)) { 1520 return direction; 1521 } 1522 1523 if (isRTL()) { 1524 return direction === DIRECTION_LEFT ? ORDER_PREV : ORDER_NEXT; 1525 } 1526 1527 return direction === DIRECTION_LEFT ? ORDER_NEXT : ORDER_PREV; 1528 } 1529 1530 _orderToDirection(order) { 1531 if (![ORDER_NEXT, ORDER_PREV].includes(order)) { 1532 return order; 1533 } 1534 1535 if (isRTL()) { 1536 return order === ORDER_PREV ? DIRECTION_LEFT : DIRECTION_RIGHT; 1537 } 1538 1539 return order === ORDER_PREV ? DIRECTION_RIGHT : DIRECTION_LEFT; 1540 } // Static 1541 1542 1543 static carouselInterface(element, config) { 1544 const data = Carousel.getOrCreateInstance(element, config); 1545 let { 1546 _config 1547 } = data; 1548 1549 if (typeof config === 'object') { 1550 _config = { ..._config, 1551 ...config 1552 }; 1553 } 1554 1555 const action = typeof config === 'string' ? config : _config.slide; 1556 1557 if (typeof config === 'number') { 1558 data.to(config); 1559 } else if (typeof action === 'string') { 1560 if (typeof data[action] === 'undefined') { 1561 throw new TypeError(`No method named "${action}"`); 1562 } 1563 1564 data[action](); 1565 } else if (_config.interval && _config.ride) { 1566 data.pause(); 1567 data.cycle(); 1568 } 1569 } 1570 1571 static jQueryInterface(config) { 1572 return this.each(function () { 1573 Carousel.carouselInterface(this, config); 1574 }); 1575 } 1576 1577 static dataApiClickHandler(event) { 1578 const target = getElementFromSelector(this); 1579 1580 if (!target || !target.classList.contains(CLASS_NAME_CAROUSEL)) { 1581 return; 1582 } 1583 1584 const config = { ...Manipulator.getDataAttributes(target), 1585 ...Manipulator.getDataAttributes(this) 1586 }; 1587 const slideIndex = this.getAttribute('data-bs-slide-to'); 1588 1589 if (slideIndex) { 1590 config.interval = false; 1591 } 1592 1593 Carousel.carouselInterface(target, config); 1594 1595 if (slideIndex) { 1596 Carousel.getInstance(target).to(slideIndex); 1597 } 1598 1599 event.preventDefault(); 1600 } 1601 1602 } 1603 /** 1604 * ------------------------------------------------------------------------ 1605 * Data Api implementation 1606 * ------------------------------------------------------------------------ 1607 */ 1608 1609 1610 EventHandler.on(document, EVENT_CLICK_DATA_API$5, SELECTOR_DATA_SLIDE, Carousel.dataApiClickHandler); 1611 EventHandler.on(window, EVENT_LOAD_DATA_API$2, () => { 1612 const carousels = SelectorEngine.find(SELECTOR_DATA_RIDE); 1613 1614 for (let i = 0, len = carousels.length; i < len; i++) {
1615 Carousel.carouselInterface(carousels[i], Carousel.getInstance(carousels[i])); 1616 } 1617 }); 1618 /** 1619 * ------------------------------------------------------------------------ 1620 * jQuery 1621 * ------------------------------------------------------------------------ 1622 * add .Carousel to jQuery only if jQuery is present 1623 */ 1624 1625 defineJQueryPlugin(Carousel); 1626 1627 /** 1628 * -------------------------------------------------------------------------- 1629 * Bootstrap (v5.0.2): collapse.js 1630 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) 1631 * -------------------------------------------------------------------------- 1632 */ 1633 /** 1634 * ------------------------------------------------------------------------ 1635 * Constants 1636 * ------------------------------------------------------------------------ 1637 */ 1638 1639 const NAME$9 = 'collapse'; 1640 const DATA_KEY$8 = 'bs.collapse'; 1641 const EVENT_KEY$8 = `.${DATA_KEY$8}`; 1642 const DATA_API_KEY$5 = '.data-api'; 1643 const Default$8 = { 1644 toggle: true, 1645 parent: '' 1646 }; 1647 const DefaultType$8 = { 1648 toggle: 'boolean', 1649 parent: '(string|element)' 1650 }; 1651 const EVENT_SHOW$5 = `show${EVENT_KEY$8}`; 1652 const EVENT_SHOWN$5 = `shown${EVENT_KEY$8}`; 1653 const EVENT_HIDE$5 = `hide${EVENT_KEY$8}`; 1654 const EVENT_HIDDEN$5 = `hidden${EVENT_KEY$8}`; 1655 const EVENT_CLICK_DATA_API$4 = `click${EVENT_KEY$8}${DATA_API_KEY$5}`; 1656 const CLASS_NAME_SHOW$8 = 'show'; 1657 const CLASS_NAME_COLLAPSE = 'collapse'; 1658 const CLASS_NAME_COLLAPSING = 'collapsing'; 1659 const CLASS_NAME_COLLAPSED = 'collapsed'; 1660 const WIDTH = 'width'; 1661 const HEIGHT = 'height'; 1662 const SELECTOR_ACTIVES = '.show, .collapsing'; 1663 const SELECTOR_DATA_TOGGLE$4 = '[data-bs-toggle="collapse"]'; 1664 /** 1665 * ------------------------------------------------------------------------ 1666 * Class Definition 1667 * ------------------------------------------------------------------------ 1668 */ 1669 1670 class Collapse extends BaseComponent { 1671 constructor(element, config) { 1672 super(element); 1673 this._isTransitioning = false; 1674 this._config = this._getConfig(config); 1675 this._triggerArray = SelectorEngine.find(`${SELECTOR_DATA_TOGGLE$4}[href="#${this._element.id}"],` + `${SELECTOR_DATA_TOGGLE$4}[data-bs-target="#${this._element.id}"]`); 1676 const toggleList = SelectorEngine.find(SELECTOR_DATA_TOGGLE$4); 1677 1678 for (let i = 0, len = toggleList.length; i < len; i++) { 1679 const elem = toggleList[i]; 1680 const selector = getSelectorFromElement(elem); 1681 const filterElement = SelectorEngine.find(selector).filter(foundElem => foundElem === this._element); 1682 1683 if (selector !== null && filterElement.length) { 1684 this._selector = selector; 1685 1686 this._triggerArray.push(elem); 1687 } 1688 } 1689 1690 this._parent = this._config.parent ? this._getParent() : null; 1691 1692 if (!this._config.parent) { 1693 this._addAriaAndCollapsedClass(this._element, this._triggerArray); 1694 } 1695 1696 if (this._config.toggle) { 1697 this.toggle(); 1698 } 1699 } // Getters 1700 1701 1702 static get Default() { 1703 return Default$8; 1704 } 1705 1706 static get NAME() { 1707 return NAME$9; 1708 } // Public 1709 1710 1711 toggle() { 1712 if (this._element.classList.contains(CLASS_NAME_SHOW$8)) { 1713 this.hide(); 1714 } else { 1715 this.show(); 1716 } 1717 } 1718 1719 show() { 1720 if (this._isTransitioning || this._element.classList.contains(CLASS_NAME_SHOW$8)) { 1721 return; 1722 } 1723 1724 let actives; 1725 let activesData; 1726 1727 if (this._parent) { 1728 actives = SelectorEngine.find(SELECTOR_ACTIVES, this._parent).filter(elem => { 1729 if (typeof this._config.parent === 'string') { 1730 return elem.getAttribute('data-bs-parent') === this._config.parent; 1731 } 1732 1733 return elem.classList.contains(CLASS_NAME_COLLAPSE); 1734 }); 1735 1736 if (actives.length === 0) { 1737 actives = null; 1738 } 1739 } 1740 1741 const container = SelectorEngine.findOne(this._selector); 1742 1743 if (actives) { 1744 const tempActiveData = actives.find(elem => container !== elem); 1745 activesData = tempActiveData ? Collapse.getInstance(tempActiveData) : null; 1746 1747 if (activesData && activesData._isTransitioning) { 1748 return; 1749 } 1750 } 1751 1752 const startEvent = EventHandler.trigger(this._element, EVENT_SHOW$5); 1753 1754 if (startEvent.defaultPrevented) { 1755 return; 1756 } 1757 1758 if (actives) {
1759 actives.forEach(elemActive => { 1760 if (container !== elemActive) { 1761 Collapse.collapseInterface(elemActive, 'hide'); 1762 } 1763 1764 if (!activesData) { 1765 Data.set(elemActive, DATA_KEY$8, null); 1766 } 1767 }); 1768 } 1769 1770 const dimension = this._getDimension(); 1771 1772 this._element.classList.remove(CLASS_NAME_COLLAPSE); 1773 1774 this._element.classList.add(CLASS_NAME_COLLAPSING); 1775 1776 this._element.style[dimension] = 0; 1777 1778 if (this._triggerArray.length) { 1779 this._triggerArray.forEach(element => { 1780 element.classList.remove(CLASS_NAME_COLLAPSED); 1781 element.setAttribute('aria-expanded', true); 1782 }); 1783 } 1784 1785 this.setTransitioning(true); 1786 1787 const complete = () => { 1788 this._element.classList.remove(CLASS_NAME_COLLAPSING); 1789 1790 this._element.classList.add(CLASS_NAME_COLLAPSE, CLASS_NAME_SHOW$8); 1791 1792 this._element.style[dimension] = ''; 1793 this.setTransitioning(false); 1794 EventHandler.trigger(this._element, EVENT_SHOWN$5); 1795 }; 1796 1797 const capitalizedDimension = dimension[0].toUpperCase() + dimension.slice(1); 1798 const scrollSize = `scroll${capitalizedDimension}`; 1799 1800 this._queueCallback(complete, this._element, true); 1801 1802 this._element.style[dimension] = `${this._element[scrollSize]}px`; 1803 } 1804 1805 hide() { 1806 if (this._isTransitioning || !this._element.classList.contains(CLASS_NAME_SHOW$8)) { 1807 return; 1808 } 1809 1810 const startEvent = EventHandler.trigger(this._element, EVENT_HIDE$5); 1811 1812 if (startEvent.defaultPrevented) { 1813 return; 1814 } 1815 1816 const dimension = this._getDimension(); 1817 1818 this._element.style[dimension] = `${this._element.getBoundingClientRect()[dimension]}px`; 1819 reflow(this._element); 1820 1821 this._element.classList.add(CLASS_NAME_COLLAPSING); 1822 1823 this._element.classList.remove(CLASS_NAME_COLLAPSE, CLASS_NAME_SHOW$8); 1824 1825 const triggerArrayLength = this._triggerArray.length; 1826 1827 if (triggerArrayLength > 0) { 1828 for (let i = 0; i < triggerArrayLength; i++) { 1829 const trigger = this._triggerArray[i]; 1830 const elem = getElementFromSelector(trigger); 1831 1832 if (elem && !elem.classList.contains(CLASS_NAME_SHOW$8)) { 1833 trigger.classList.add(CLASS_NAME_COLLAPSED); 1834 trigger.setAttribute('aria-expanded', false); 1835 } 1836 } 1837 } 1838 1839 this.setTransitioning(true); 1840 1841 const complete = () => { 1842 this.setTransitioning(false); 1843 1844 this._element.classList.remove(CLASS_NAME_COLLAPSING); 1845 1846 this._element.classList.add(CLASS_NAME_COLLAPSE); 1847 1848 EventHandler.trigger(this._element, EVENT_HIDDEN$5); 1849 }; 1850 1851 this._element.style[dimension] = ''; 1852 1853 this._queueCallback(complete, this._element, true); 1854 } 1855 1856 setTransitioning(isTransitioning) { 1857 this._isTransitioning = isTransitioning; 1858 } // Private 1859 1860 1861 _getConfig(config) { 1862 config = { ...Default$8, 1863 ...config 1864 }; 1865 config.toggle = Boolean(config.toggle); // Coerce string values 1866 1867 typeCheckConfig(NAME$9, config, DefaultType$8); 1868 return config; 1869 } 1870 1871 _getDimension() { 1872 return this._element.classList.contains(WIDTH) ? WIDTH : HEIGHT; 1873 } 1874 1875 _getParent() { 1876 let { 1877 parent 1878 } = this._config; 1879 parent = getElement(parent); 1880 const selector = `${SELECTOR_DATA_TOGGLE$4}[data-bs-parent="${parent}"]`; 1881 SelectorEngine.find(selector, parent).forEach(element => { 1882 const selected = getElementFromSelector(element); 1883 1884 this._addAriaAndCollapsedClass(selected, [element]); 1885 }); 1886 return parent; 1887 } 1888 1889 _addAriaAndCollapsedClass(element, triggerArray) { 1890 if (!element || !triggerArray.length) { 1891 return; 1892 } 1893 1894 const isOpen = element.classList.contains(CLASS_NAME_SHOW$8); 1895 triggerArray.forEach(elem => { 1896 if (isOpen) { 1897 elem.classList.remove(CLASS_NAME_COLLAPSED); 1898 } else { 1899 elem.classList.add(CLASS_NAME_COLLAPSED); 1900 } 1901 1902 elem.setAttribute('aria-expanded', isOpen); 1903 }); 1904 } // Static 1905 1906 1907 static collapseInterface(element, config) { 1908 let data = Collapse.getInstance(element); 1909 const _config = { ...Default$8, 1910 ...Manipulator.getDataAttributes(element), 1911 ...(typeof config === 'object' && config ? config : {}) 1912 }; 1913 1914 if (!data && _config.toggle && typeof config === 'string' && /show|hide/.test(config)) { 1915 _config.toggle = false;
1916 } 1917 1918 if (!data) { 1919 data = new Collapse(element, _config); 1920 } 1921 1922 if (typeof config === 'string') { 1923 if (typeof data[config] === 'undefined') { 1924 throw new TypeError(`No method named "${config}"`); 1925 } 1926 1927 data[config](); 1928 } 1929 } 1930 1931 static jQueryInterface(config) { 1932 return this.each(function () { 1933 Collapse.collapseInterface(this, config); 1934 }); 1935 } 1936 1937 } 1938 /** 1939 * ------------------------------------------------------------------------ 1940 * Data Api implementation 1941 * ------------------------------------------------------------------------ 1942 */ 1943 1944 1945 EventHandler.on(document, EVENT_CLICK_DATA_API$4, SELECTOR_DATA_TOGGLE$4, function (event) { 1946 // preventDefault only for <a> elements (which change the URL) not inside the collapsible element 1947 if (event.target.tagName === 'A' || event.delegateTarget && event.delegateTarget.tagName === 'A') { 1948 event.preventDefault(); 1949 } 1950 1951 const triggerData = Manipulator.getDataAttributes(this); 1952 const selector = getSelectorFromElement(this); 1953 const selectorElements = SelectorEngine.find(selector); 1954 selectorElements.forEach(element => { 1955 const data = Collapse.getInstance(element); 1956 let config; 1957 1958 if (data) { 1959 // update parent attribute 1960 if (data._parent === null && typeof triggerData.parent === 'string') { 1961 data._config.parent = triggerData.parent; 1962 data._parent = data._getParent(); 1963 } 1964 1965 config = 'toggle'; 1966 } else { 1967 config = triggerData; 1968 } 1969 1970 Collapse.collapseInterface(element, config); 1971 }); 1972 }); 1973 /** 1974 * ------------------------------------------------------------------------ 1975 * jQuery 1976 * ------------------------------------------------------------------------ 1977 * add .Collapse to jQuery only if jQuery is present 1978 */ 1979 1980 defineJQueryPlugin(Collapse); 1981 1982 /** 1983 * -------------------------------------------------------------------------- 1984 * Bootstrap (v5.0.2): dropdown.js 1985 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) 1986 * -------------------------------------------------------------------------- 1987 */ 1988 /** 1989 * ------------------------------------------------------------------------ 1990 * Constants 1991 * ------------------------------------------------------------------------ 1992 */ 1993 1994 const NAME$8 = 'dropdown'; 1995 const DATA_KEY$7 = 'bs.dropdown'; 1996 const EVENT_KEY$7 = `.${DATA_KEY$7}`; 1997 const DATA_API_KEY$4 = '.data-api'; 1998 const ESCAPE_KEY$2 = 'Escape'; 1999 const SPACE_KEY = 'Space'; 2000 const TAB_KEY = 'Tab'; 2001 const ARROW_UP_KEY = 'ArrowUp'; 2002 const ARROW_DOWN_KEY = 'ArrowDown'; 2003 const RIGHT_MOUSE_BUTTON = 2; // MouseEvent.button value for the secondary button, usually the right button 2004 2005 const REGEXP_KEYDOWN = new RegExp(`${ARROW_UP_KEY}|${ARROW_DOWN_KEY}|${ESCAPE_KEY$2}`); 2006 const EVENT_HIDE$4 = `hide${EVENT_KEY$7}`; 2007 const EVENT_HIDDEN$4 = `hidden${EVENT_KEY$7}`; 2008 const EVENT_SHOW$4 = `show${EVENT_KEY$7}`; 2009 const EVENT_SHOWN$4 = `shown${EVENT_KEY$7}`; 2010 const EVENT_CLICK = `click${EVENT_KEY$7}`; 2011 const EVENT_CLICK_DATA_API$3 = `click${EVENT_KEY$7}${DATA_API_KEY$4}`; 2012 const EVENT_KEYDOWN_DATA_API = `keydown${EVENT_KEY$7}${DATA_API_KEY$4}`; 2013 const EVENT_KEYUP_DATA_API = `keyup${EVENT_KEY$7}${DATA_API_KEY$4}`; 2014 const CLASS_NAME_SHOW$7 = 'show'; 2015 const CLASS_NAME_DROPUP = 'dropup'; 2016 const CLASS_NAME_DROPEND = 'dropend'; 2017 const CLASS_NAME_DROPSTART = 'dropstart'; 2018 const CLASS_NAME_NAVBAR = 'navbar'; 2019 const SELECTOR_DATA_TOGGLE$3 = '[data-bs-toggle="dropdown"]'; 2020 const SELECTOR_MENU = '.dropdown-menu'; 2021 const SELECTOR_NAVBAR_NAV = '.navbar-nav'; 2022 const SELECTOR_VISIBLE_ITEMS = '.dropdown-menu .dropdown-item:not(.disabled):not(:disabled)'; 2023 const PLACEMENT_TOP = isRTL() ? 'top-end' : 'top-start'; 2024 const PLACEMENT_TOPEND = isRTL() ? 'top-start' : 'top-end'; 2025 const PLACEMENT_BOTTOM = isRTL() ? 'bottom-end' : 'bottom-start'; 2026 const PLACEMENT_BOTTOMEND = isRTL() ? 'bottom-start' : 'bottom-end'; 2027 const PLACEMENT_RIGHT = isRTL() ? 'left-start' : 'right-start';
2028 const PLACEMENT_LEFT = isRTL() ? 'right-start' : 'left-start'; 2029 const Default$7 = { 2030 offset: [0, 2], 2031 boundary: 'clippingParents', 2032 reference: 'toggle', 2033 display: 'dynamic', 2034 popperConfig: null, 2035 autoClose: true 2036 }; 2037 const DefaultType$7 = { 2038 offset: '(array|string|function)', 2039 boundary: '(string|element)', 2040 reference: '(string|element|object)', 2041 display: 'string', 2042 popperConfig: '(null|object|function)', 2043 autoClose: '(boolean|string)' 2044 }; 2045 /** 2046 * ------------------------------------------------------------------------ 2047 * Class Definition 2048 * ------------------------------------------------------------------------ 2049 */ 2050 2051 class Dropdown extends BaseComponent { 2052 constructor(element, config) { 2053 super(element); 2054 this._popper = null; 2055 this._config = this._getConfig(config); 2056 this._menu = this._getMenuElement(); 2057 this._inNavbar = this._detectNavbar(); 2058 2059 this._addEventListeners(); 2060 } // Getters 2061 2062 2063 static get Default() { 2064 return Default$7; 2065 } 2066 2067 static get DefaultType() { 2068 return DefaultType$7; 2069 } 2070 2071 static get NAME() { 2072 return NAME$8; 2073 } // Public 2074 2075 2076 toggle() { 2077 if (isDisabled(this._element)) { 2078 return; 2079 } 2080 2081 const isActive = this._element.classList.contains(CLASS_NAME_SHOW$7); 2082 2083 if (isActive) { 2084 this.hide(); 2085 return; 2086 } 2087 2088 this.show(); 2089 } 2090 2091 show() { 2092 if (isDisabled(this._element) || this._menu.classList.contains(CLASS_NAME_SHOW$7)) { 2093 return; 2094 } 2095 2096 const parent = Dropdown.getParentFromElement(this._element); 2097 const relatedTarget = { 2098 relatedTarget: this._element 2099 }; 2100 const showEvent = EventHandler.trigger(this._element, EVENT_SHOW$4, relatedTarget); 2101 2102 if (showEvent.defaultPrevented) { 2103 return; 2104 } // Totally disable Popper for Dropdowns in Navbar 2105 2106 2107 if (this._inNavbar) { 2108 Manipulator.setDataAttribute(this._menu, 'popper', 'none'); 2109 } else { 2110 if (typeof Popper__namespace === 'undefined') { 2111 throw new TypeError('Bootstrap\'s dropdowns require Popper (https://popper.js.org)'); 2112 } 2113 2114 let referenceElement = this._element; 2115 2116 if (this._config.reference === 'parent') { 2117 referenceElement = parent; 2118 } else if (isElement(this._config.reference)) { 2119 referenceElement = getElement(this._config.reference); 2120 } else if (typeof this._config.reference === 'object') { 2121 referenceElement = this._config.reference; 2122 } 2123 2124 const popperConfig = this._getPopperConfig(); 2125 2126 const isDisplayStatic = popperConfig.modifiers.find(modifier => modifier.name === 'applyStyles' && modifier.enabled === false); 2127 this._popper = Popper__namespace.createPopper(referenceElement, this._menu, popperConfig); 2128 2129 if (isDisplayStatic) { 2130 Manipulator.setDataAttribute(this._menu, 'popper', 'static'); 2131 } 2132 } // If this is a touch-enabled device we add extra 2133 // empty mouseover listeners to the body's immediate children; 2134 // only needed because of broken event delegation on iOS 2135 // https://www.quirksmode.org/blog/archives/2014/02/mouse_event_bub.html 2136 2137 2138 if ('ontouchstart' in document.documentElement && !parent.closest(SELECTOR_NAVBAR_NAV)) { 2139 [].concat(...document.body.children).forEach(elem => EventHandler.on(elem, 'mouseover', noop)); 2140 } 2141 2142 this._element.focus(); 2143 2144 this._element.setAttribute('aria-expanded', true); 2145 2146 this._menu.classList.toggle(CLASS_NAME_SHOW$7); 2147 2148 this._element.classList.toggle(CLASS_NAME_SHOW$7); 2149 2150 EventHandler.trigger(this._element, EVENT_SHOWN$4, relatedTarget); 2151 } 2152 2153 hide() { 2154 if (isDisabled(this._element) || !this._menu.classList.contains(CLASS_NAME_SHOW$7)) { 2155 return; 2156 } 2157 2158 const relatedTarget = { 2159 relatedTarget: this._element 2160 }; 2161 2162 this._completeHide(relatedTarget); 2163 } 2164 2165 dispose() { 2166 if (this._popper) { 2167 this._popper.destroy(); 2168 } 2169 2170 super.dispose(); 2171 } 2172 2173 update() { 2174 this._inNavbar = this._detectNavbar(); 2175 2176 if (this._popper) {
2177 this._popper.update(); 2178 } 2179 } // Private 2180 2181 2182 _addEventListeners() { 2183 EventHandler.on(this._element, EVENT_CLICK, event => { 2184 event.preventDefault(); 2185 this.toggle(); 2186 }); 2187 } 2188 2189 _completeHide(relatedTarget) { 2190 const hideEvent = EventHandler.trigger(this._element, EVENT_HIDE$4, relatedTarget); 2191 2192 if (hideEvent.defaultPrevented) { 2193 return; 2194 } // If this is a touch-enabled device we remove the extra 2195 // empty mouseover listeners we added for iOS support 2196 2197 2198 if ('ontouchstart' in document.documentElement) { 2199 [].concat(...document.body.children).forEach(elem => EventHandler.off(elem, 'mouseover', noop)); 2200 } 2201 2202 if (this._popper) { 2203 this._popper.destroy(); 2204 } 2205 2206 this._menu.classList.remove(CLASS_NAME_SHOW$7); 2207 2208 this._element.classList.remove(CLASS_NAME_SHOW$7); 2209 2210 this._element.setAttribute('aria-expanded', 'false'); 2211 2212 Manipulator.removeDataAttribute(this._menu, 'popper'); 2213 EventHandler.trigger(this._element, EVENT_HIDDEN$4, relatedTarget); 2214 } 2215 2216 _getConfig(config) { 2217 config = { ...this.constructor.Default, 2218 ...Manipulator.getDataAttributes(this._element), 2219 ...config 2220 }; 2221 typeCheckConfig(NAME$8, config, this.constructor.DefaultType); 2222 2223 if (typeof config.reference === 'object' && !isElement(config.reference) && typeof config.reference.getBoundingClientRect !== 'function') { 2224 // Popper virtual elements require a getBoundingClientRect method 2225 throw new TypeError(`${NAME$8.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`); 2226 } 2227 2228 return config; 2229 } 2230 2231 _getMenuElement() { 2232 return SelectorEngine.next(this._element, SELECTOR_MENU)[0]; 2233 } 2234 2235 _getPlacement() { 2236 const parentDropdown = this._element.parentNode; 2237 2238 if (parentDropdown.classList.contains(CLASS_NAME_DROPEND)) { 2239 return PLACEMENT_RIGHT; 2240 } 2241 2242 if (parentDropdown.classList.contains(CLASS_NAME_DROPSTART)) { 2243 return PLACEMENT_LEFT; 2244 } // We need to trim the value because custom properties can also include spaces 2245 2246 2247 const isEnd = getComputedStyle(this._menu).getPropertyValue('--bs-position').trim() === 'end'; 2248 2249 if (parentDropdown.classList.contains(CLASS_NAME_DROPUP)) { 2250 return isEnd ? PLACEMENT_TOPEND : PLACEMENT_TOP; 2251 } 2252 2253 return isEnd ? PLACEMENT_BOTTOMEND : PLACEMENT_BOTTOM; 2254 } 2255 2256 _detectNavbar() { 2257 return this._element.closest(`.${CLASS_NAME_NAVBAR}`) !== null; 2258 } 2259 2260 _getOffset() { 2261 const { 2262 offset 2263 } = this._config; 2264 2265 if (typeof offset === 'string') { 2266 return offset.split(',').map(val => Number.parseInt(val, 10)); 2267 } 2268 2269 if (typeof offset === 'function') { 2270 return popperData => offset(popperData, this._element); 2271 } 2272 2273 return offset; 2274 } 2275 2276 _getPopperConfig() { 2277 const defaultBsPopperConfig = { 2278 placement: this._getPlacement(), 2279 modifiers: [{ 2280 name: 'preventOverflow', 2281 options: { 2282 boundary: this._config.boundary 2283 } 2284 }, { 2285 name: 'offset', 2286 options: { 2287 offset: this._getOffset() 2288 } 2289 }] 2290 }; // Disable Popper if we have a static display 2291 2292 if (this._config.display === 'static') { 2293 defaultBsPopperConfig.modifiers = [{ 2294 name: 'applyStyles', 2295 enabled: false 2296 }]; 2297 } 2298 2299 return { ...defaultBsPopperConfig, 2300 ...(typeof this._config.popperConfig === 'function' ? this._config.popperConfig(defaultBsPopperConfig) : this._config.popperConfig) 2301 }; 2302 } 2303 2304 _selectMenuItem({ 2305 key, 2306 target 2307 }) { 2308 const items = SelectorEngine.find(SELECTOR_VISIBLE_ITEMS, this._menu).filter(isVisible); 2309 2310 if (!items.length) { 2311 return; 2312 } // if target isn't included in items (e.g. when expanding the dropdown) 2313 // allow cycling to get the last item in case key equals ARROW_UP_KEY 2314 2315 2316 getNextActiveElement(items, target, key === ARROW_DOWN_KEY, !items.includes(target)).focus(); 2317 } // Static 2318 2319 2320 static dropdownInterface(element, config) { 2321 const data = Dropdown.getOrCreateInstance(element, config); 2322 2323 if (typeof config === 'string') { 2324 if (typeof data[config] === 'undefined') {
2325 throw new TypeError(`No method named "${config}"`); 2326 } 2327 2328 data[config](); 2329 } 2330 } 2331 2332 static jQueryInterface(config) { 2333 return this.each(function () { 2334 Dropdown.dropdownInterface(this, config); 2335 }); 2336 } 2337 2338 static clearMenus(event) { 2339 if (event && (event.button === RIGHT_MOUSE_BUTTON || event.type === 'keyup' && event.key !== TAB_KEY)) { 2340 return; 2341 } 2342 2343 const toggles = SelectorEngine.find(SELECTOR_DATA_TOGGLE$3); 2344 2345 for (let i = 0, len = toggles.length; i < len; i++) { 2346 const context = Dropdown.getInstance(toggles[i]); 2347 2348 if (!context || context._config.autoClose === false) { 2349 continue; 2350 } 2351 2352 if (!context._element.classList.contains(CLASS_NAME_SHOW$7)) { 2353 continue; 2354 } 2355 2356 const relatedTarget = { 2357 relatedTarget: context._element 2358 }; 2359 2360 if (event) { 2361 const composedPath = event.composedPath(); 2362 const isMenuTarget = composedPath.includes(context._menu); 2363 2364 if (composedPath.includes(context._element) || context._config.autoClose === 'inside' && !isMenuTarget || context._config.autoClose === 'outside' && isMenuTarget) { 2365 continue; 2366 } // Tab navigation through the dropdown menu or events from contained inputs shouldn't close the menu 2367 2368 2369 if (context._menu.contains(event.target) && (event.type === 'keyup' && event.key === TAB_KEY || /input|select|option|textarea|form/i.test(event.target.tagName))) { 2370 continue; 2371 } 2372 2373 if (event.type === 'click') { 2374 relatedTarget.clickEvent = event; 2375 } 2376 } 2377 2378 context._completeHide(relatedTarget); 2379 } 2380 } 2381 2382 static getParentFromElement(element) { 2383 return getElementFromSelector(element) || element.parentNode; 2384 } 2385 2386 static dataApiKeydownHandler(event) { 2387 // If not input/textarea: 2388 // - And not a key in REGEXP_KEYDOWN => not a dropdown command 2389 // If input/textarea: 2390 // - If space key => not a dropdown command 2391 // - If key is other than escape 2392 // - If key is not up or down => not a dropdown command 2393 // - If trigger inside the menu => not a dropdown command 2394 if (/input|textarea/i.test(event.target.tagName) ? event.key === SPACE_KEY || event.key !== ESCAPE_KEY$2 && (event.key !== ARROW_DOWN_KEY && event.key !== ARROW_UP_KEY || event.target.closest(SELECTOR_MENU)) : !REGEXP_KEYDOWN.test(event.key)) { 2395 return; 2396 } 2397 2398 const isActive = this.classList.contains(CLASS_NAME_SHOW$7); 2399 2400 if (!isActive && event.key === ESCAPE_KEY$2) { 2401 return; 2402 } 2403 2404 event.preventDefault(); 2405 event.stopPropagation(); 2406 2407 if (isDisabled(this)) { 2408 return; 2409 } 2410 2411 const getToggleButton = () => this.matches(SELECTOR_DATA_TOGGLE$3) ? this : SelectorEngine.prev(this, SELECTOR_DATA_TOGGLE$3)[0]; 2412 2413 if (event.key === ESCAPE_KEY$2) { 2414 getToggleButton().focus(); 2415 Dropdown.clearMenus(); 2416 return; 2417 } 2418 2419 if (event.key === ARROW_UP_KEY || event.key === ARROW_DOWN_KEY) { 2420 if (!isActive) { 2421 getToggleButton().click(); 2422 } 2423 2424 Dropdown.getInstance(getToggleButton())._selectMenuItem(event); 2425 2426 return; 2427 } 2428 2429 if (!isActive || event.key === SPACE_KEY) { 2430 Dropdown.clearMenus(); 2431 } 2432 } 2433 2434 } 2435 /** 2436 * ------------------------------------------------------------------------ 2437 * Data Api implementation 2438 * ------------------------------------------------------------------------ 2439 */ 2440 2441 2442 EventHandler.on(document, EVENT_KEYDOWN_DATA_API, SELECTOR_DATA_TOGGLE$3, Dropdown.dataApiKeydownHandler); 2443 EventHandler.on(document, EVENT_KEYDOWN_DATA_API, SELECTOR_MENU, Dropdown.dataApiKeydownHandler); 2444 EventHandler.on(document, EVENT_CLICK_DATA_API$3, Dropdown.clearMenus); 2445 EventHandler.on(document, EVENT_KEYUP_DATA_API, Dropdown.clearMenus); 2446 EventHandler.on(document, EVENT_CLICK_DATA_API$3, SELECTOR_DATA_TOGGLE$3, function (event) { 2447 event.preventDefault(); 2448 Dropdown.dropdownInterface(this); 2449 }); 2450 /** 2451 * ------------------------------------------------------------------------ 2452 * jQuery 2453 * ------------------------------------------------------------------------ 2454 * add .Dropdown to jQuery only if jQuery is present 2455 */ 2456 2457 defineJQueryPlugin(Dropdown); 2458 2459 /** 2460 * -------------------------------------------------------------------------- 2461 * Bootstrap (v5.0.2): util/scrollBar.js 2462 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) 2463 * -------------------------------------------------------------------------- 2464 */ 2465 const SELECTOR_FIXED_CONTENT = '.fixed-top, .fixed-bottom, .is-fixed, .sticky-top'; 2466 const SELECTOR_STICKY_CONTENT = '.sticky-top'; 2467 2468 class ScrollBarHelper { 2469 constructor() { 2470 this._element = document.body; 2471 } 2472 2473 getWidth() { 2474 // https://developer.mozilla.org/en-US/docs/Web/API/Window/innerWidth#usage_notes 2475 const documentWidth = document.documentElement.clientWidth; 2476 return Math.abs(window.innerWidth - documentWidth); 2477 } 2478 2479 hide() { 2480 const width = this.getWidth(); 2481 2482 this._disableOverFlow(); // give padding to element to balance the hidden scrollbar width 2483 2484 2485 this._setElementAttributes(this._element, 'paddingRight', calculatedValue => calculatedValue + width);
2485 // trick: We adjust positive paddingRight and negative marginRight to sticky-top elements to keep showing fullwidth 2486 2487 2488 this._setElementAttributes(SELECTOR_FIXED_CONTENT, 'paddingRight', calculatedValue => calculatedValue + width); 2489 2490 this._setElementAttributes(SELECTOR_STICKY_CONTENT, 'marginRight', calculatedValue => calculatedValue - width); 2491 } 2492 2493 _disableOverFlow() { 2494 this._saveInitialAttribute(this._element, 'overflow'); 2495 2496 this._element.style.overflow = 'hidden'; 2497 } 2498 2499 _setElementAttributes(selector, styleProp, callback) { 2500 const scrollbarWidth = this.getWidth(); 2501 2502 const manipulationCallBack = element => { 2503 if (element !== this._element && window.innerWidth > element.clientWidth + scrollbarWidth) { 2504 return; 2505 } 2506 2507 this._saveInitialAttribute(element, styleProp); 2508 2509 const calculatedValue = window.getComputedStyle(element)[styleProp]; 2510 element.style[styleProp] = `${callback(Number.parseFloat(calculatedValue))}px`; 2511 }; 2512 2513 this._applyManipulationCallback(selector, manipulationCallBack); 2514 } 2515 2516 reset() { 2517 this._resetElementAttributes(this._element, 'overflow'); 2518 2519 this._resetElementAttributes(this._element, 'paddingRight'); 2520 2521 this._resetElementAttributes(SELECTOR_FIXED_CONTENT, 'paddingRight'); 2522 2523 this._resetElementAttributes(SELECTOR_STICKY_CONTENT, 'marginRight'); 2524 } 2525 2526 _saveInitialAttribute(element, styleProp) { 2527 const actualValue = element.style[styleProp]; 2528 2529 if (actualValue) { 2530 Manipulator.setDataAttribute(element, styleProp, actualValue); 2531 } 2532 } 2533 2534 _resetElementAttributes(selector, styleProp) { 2535 const manipulationCallBack = element => { 2536 const value = Manipulator.getDataAttribute(element, styleProp); 2537 2538 if (typeof value === 'undefined') { 2539 element.style.removeProperty(styleProp); 2540 } else { 2541 Manipulator.removeDataAttribute(element, styleProp); 2542 element.style[styleProp] = value; 2543 } 2544 }; 2545 2546 this._applyManipulationCallback(selector, manipulationCallBack); 2547 } 2548 2549 _applyManipulationCallback(selector, callBack) { 2550 if (isElement(selector)) { 2551 callBack(selector); 2552 } else { 2553 SelectorEngine.find(selector, this._element).forEach(callBack); 2554 } 2555 } 2556 2557 isOverflowing() { 2558 return this.getWidth() > 0; 2559 } 2560 2561 } 2562 2563 /** 2564 * -------------------------------------------------------------------------- 2565 * Bootstrap (v5.0.2): util/backdrop.js 2566 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) 2567 * -------------------------------------------------------------------------- 2568 */ 2569 const Default$6 = { 2570 isVisible: true, 2571 // if false, we use the backdrop helper without adding any element to the dom 2572 isAnimated: false, 2573 rootElement: 'body', 2574 // give the choice to place backdrop under different elements 2575 clickCallback: null 2576 }; 2577 const DefaultType$6 = { 2578 isVisible: 'boolean', 2579 isAnimated: 'boolean', 2580 rootElement: '(element|string)', 2581 clickCallback: '(function|null)' 2582 }; 2583 const NAME$7 = 'backdrop'; 2584 const CLASS_NAME_BACKDROP = 'modal-backdrop'; 2585 const CLASS_NAME_FADE$5 = 'fade';
2586 const CLASS_NAME_SHOW$6 = 'show'; 2587 const EVENT_MOUSEDOWN = `mousedown.bs.${NAME$7}`; 2588 2589 class Backdrop { 2590 constructor(config) { 2591 this._config = this._getConfig(config); 2592 this._isAppended = false; 2593 this._element = null; 2594 } 2595 2596 show(callback) { 2597 if (!this._config.isVisible) { 2598 execute(callback); 2599 return; 2600 } 2601 2602 this._append(); 2603 2604 if (this._config.isAnimated) { 2605 reflow(this._getElement()); 2606 } 2607 2608 this._getElement().classList.add(CLASS_NAME_SHOW$6); 2609 2610 this._emulateAnimation(() => { 2611 execute(callback); 2612 }); 2613 } 2614 2615 hide(callback) { 2616 if (!this._config.isVisible) { 2617 execute(callback); 2618 return; 2619 } 2620 2621 this._getElement().classList.remove(CLASS_NAME_SHOW$6); 2622 2623 this._emulateAnimation(() => { 2624 this.dispose(); 2625 execute(callback); 2626 }); 2627 } // Private 2628 2629 2630 _getElement() { 2631 if (!this._element) { 2632 const backdrop = document.createElement('div'); 2633 backdrop.className = CLASS_NAME_BACKDROP; 2634 2635 if (this._config.isAnimated) { 2636 backdrop.classList.add(CLASS_NAME_FADE$5); 2637 } 2638 2639 this._element = backdrop; 2640 } 2641 2642 return this._element; 2643 } 2644 2645 _getConfig(config) { 2646 config = { ...Default$6, 2647 ...(typeof config === 'object' ? config : {}) 2648 }; // use getElement() with the default "body" to get a fresh Element on each instantiation 2649 2650 config.rootElement = getElement(config.rootElement); 2651 typeCheckConfig(NAME$7, config, DefaultType$6); 2652 return config; 2653 } 2654 2655 _append() { 2656 if (this._isAppended) { 2657 return; 2658 } 2659 2660 this._config.rootElement.appendChild(this._getElement()); 2661 2662 EventHandler.on(this._getElement(), EVENT_MOUSEDOWN, () => { 2663 execute(this._config.clickCallback); 2664 }); 2665 this._isAppended = true; 2666 } 2667 2668 dispose() { 2669 if (!this._isAppended) { 2670 return; 2671 } 2672 2673 EventHandler.off(this._element, EVENT_MOUSEDOWN); 2674 2675 this._element.remove(); 2676 2677 this._isAppended = false; 2678 } 2679 2680 _emulateAnimation(callback) { 2681 executeAfterTransition(callback, this._getElement(), this._config.isAnimated); 2682 } 2683 2684 } 2685 2686 /** 2687 * -------------------------------------------------------------------------- 2688 * Bootstrap (v5.0.2): modal.js 2689 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) 2690 * -------------------------------------------------------------------------- 2691 */ 2692 /** 2693 * ------------------------------------------------------------------------ 2694 * Constants 2695 * ------------------------------------------------------------------------ 2696 */ 2697 2698 const NAME$6 = 'modal'; 2699 const DATA_KEY$6 = 'bs.modal'; 2700 const EVENT_KEY$6 = `.${DATA_KEY$6}`; 2701 const DATA_API_KEY$3 = '.data-api'; 2702 const ESCAPE_KEY$1 = 'Escape'; 2703 const Default$5 = { 2704 backdrop: true, 2705 keyboard: true, 2706 focus: true 2707 }; 2708 const DefaultType$5 = { 2709 backdrop: '(boolean|string)', 2710 keyboard: 'boolean', 2711 focus: 'boolean' 2712 }; 2713 const EVENT_HIDE$3 = `hide${EVENT_KEY$6}`; 2714 const EVENT_HIDE_PREVENTED = `hidePrevented${EVENT_KEY$6}`; 2715 const EVENT_HIDDEN$3 = `hidden${EVENT_KEY$6}`; 2716 const EVENT_SHOW$3 = `show${EVENT_KEY$6}`; 2717 const EVENT_SHOWN$3 = `shown${EVENT_KEY$6}`; 2718 const EVENT_FOCUSIN$2 = `focusin${EVENT_KEY$6}`; 2719 const EVENT_RESIZE = `resize${EVENT_KEY$6}`; 2720 const EVENT_CLICK_DISMISS$2 = `click.dismiss${EVENT_KEY$6}`; 2721 const EVENT_KEYDOWN_DISMISS$1 = `keydown.dismiss${EVENT_KEY$6}`; 2722 const EVENT_MOUSEUP_DISMISS = `mouseup.dismiss${EVENT_KEY$6}`; 2723 const EVENT_MOUSEDOWN_DISMISS = `mousedown.dismiss${EVENT_KEY$6}`; 2724 const EVENT_CLICK_DATA_API$2 = `click${EVENT_KEY$6}${DATA_API_KEY$3}`; 2725 const CLASS_NAME_OPEN = 'modal-open'; 2726 const CLASS_NAME_FADE$4 = 'fade';
2727 const CLASS_NAME_SHOW$5 = 'show'; 2728 const CLASS_NAME_STATIC = 'modal-static'; 2729 const SELECTOR_DIALOG = '.modal-dialog'; 2730 const SELECTOR_MODAL_BODY = '.modal-body'; 2731 const SELECTOR_DATA_TOGGLE$2 = '[data-bs-toggle="modal"]'; 2732 const SELECTOR_DATA_DISMISS$2 = '[data-bs-dismiss="modal"]'; 2733 /** 2734 * ------------------------------------------------------------------------ 2735 * Class Definition 2736 * ------------------------------------------------------------------------ 2737 */ 2738 2739 class Modal extends BaseComponent { 2740 constructor(element, config) { 2741 super(element); 2742 this._config = this._getConfig(config); 2743 this._dialog = SelectorEngine.findOne(SELECTOR_DIALOG, this._element); 2744 this._backdrop = this._initializeBackDrop(); 2745 this._isShown = false; 2746 this._ignoreBackdropClick = false; 2747 this._isTransitioning = false; 2748 this._scrollBar = new ScrollBarHelper(); 2749 } // Getters 2750 2751 2752 static get Default() { 2753 return Default$5; 2754 } 2755 2756 static get NAME() { 2757 return NAME$6; 2758 } // Public 2759 2760 2761 toggle(relatedTarget) { 2762 return this._isShown ? this.hide() : this.show(relatedTarget); 2763 } 2764 2765 show(relatedTarget) { 2766 if (this._isShown || this._isTransitioning) { 2767 return; 2768 } 2769 2770 const showEvent = EventHandler.trigger(this._element, EVENT_SHOW$3, { 2771 relatedTarget 2772 }); 2773 2774 if (showEvent.defaultPrevented) { 2775 return; 2776 } 2777 2778 this._isShown = true; 2779 2780 if (this._isAnimated()) { 2781 this._isTransitioning = true; 2782 } 2783 2784 this._scrollBar.hide(); 2785 2786 document.body.classList.add(CLASS_NAME_OPEN); 2787 2788 this._adjustDialog(); 2789 2790 this._setEscapeEvent(); 2791 2792 this._setResizeEvent(); 2793 2794 EventHandler.on(this._element, EVENT_CLICK_DISMISS$2, SELECTOR_DATA_DISMISS$2, event => this.hide(event)); 2795 EventHandler.on(this._dialog, EVENT_MOUSEDOWN_DISMISS, () => { 2796 EventHandler.one(this._element, EVENT_MOUSEUP_DISMISS, event => { 2797 if (event.target === this._element) { 2798 this._ignoreBackdropClick = true; 2799 } 2800 }); 2801 }); 2802 2803 this._showBackdrop(() => this._showElement(relatedTarget)); 2804 } 2805 2806 hide(event) { 2807 if (event && ['A', 'AREA'].includes(event.target.tagName)) { 2808 event.preventDefault(); 2809 } 2810 2811 if (!this._isShown || this._isTransitioning) { 2812 return; 2813 } 2814 2815 const hideEvent = EventHandler.trigger(this._element, EVENT_HIDE$3); 2816 2817 if (hideEvent.defaultPrevented) { 2818 return; 2819 } 2820 2821 this._isShown = false; 2822 2823 const isAnimated = this._isAnimated(); 2824 2825 if (isAnimated) { 2826 this._isTransitioning = true; 2827 } 2828 2829 this._setEscapeEvent(); 2830 2831 this._setResizeEvent(); 2832 2833 EventHandler.off(document, EVENT_FOCUSIN$2); 2834 2835 this._element.classList.remove(CLASS_NAME_SHOW$5); 2836 2837 EventHandler.off(this._element, EVENT_CLICK_DISMISS$2); 2838 EventHandler.off(this._dialog, EVENT_MOUSEDOWN_DISMISS); 2839 2840 this._queueCallback(() => this._hideModal(), this._element, isAnimated); 2841 } 2842 2843 dispose() { 2844 [window, this._dialog].forEach(htmlElement => EventHandler.off(htmlElement, EVENT_KEY$6)); 2845 2846 this._backdrop.dispose(); 2847 2848 super.dispose(); 2849 /** 2850 * `document` has 2 events `EVENT_FOCUSIN` and `EVENT_CLICK_DATA_API` 2851 * Do not move `document` in `htmlElements` array 2852 * It will remove `EVENT_CLICK_DATA_API` event that should remain 2853 */ 2854 2855 EventHandler.off(document, EVENT_FOCUSIN$2); 2856 } 2857 2858 handleUpdate() { 2859 this._adjustDialog(); 2860 } // Private 2861 2862 2863 _initializeBackDrop() { 2864 return new Backdrop({ 2865 isVisible: Boolean(this._config.backdrop), 2866 // 'static' option will be translated to true, and booleans will keep their value 2867 isAnimated: this._isAnimated() 2868 }); 2869 } 2870 2871 _getConfig(config) { 2872 config = { ...Default$5, 2873 ...Manipulator.getDataAttributes(this._element), 2874 ...(typeof config === 'object' ? config : {}) 2875 }; 2876 typeCheckConfig(NAME$6, config, DefaultType$5); 2877 return config; 2878 } 2879 2880 _showElement(relatedTarget) { 2881 const isAnimated = this._isAnimated(); 2882 2883 const modalBody = SelectorEngine.findOne(SELECTOR_MODAL_BODY, this._dialog); 2884 2885 if (!this._element.parentNode || this._element.parentNode.nodeType !== Node.ELEMENT_NODE) { 2886 // Don't move modal's DOM position 2887 document.body.appendChild(this._element); 2888 } 2889 2890 this._element.style.display = 'block'; 2891 2892 this._element.removeAttribute('aria-hidden'); 2893 2894 this._element.setAttribute('aria-modal', true); 2895 2896 this._element.setAttribute('role', 'dialog'); 2897 2898 this._element.scrollTop = 0; 2899 2900 if (modalBody) { 2901 modalBody.scrollTop = 0; 2902 } 2903 2904 if (isAnimated) { 2905 reflow(this._element); 2906 } 2907 2908 this._element.classList.add(CLASS_NAME_SHOW$5); 2909 2910 if (this._config.focus) { 2911 this._enforceFocus(); 2912 } 2913 2914 const transitionComplete = () => { 2915 if (this._config.focus) { 2916 this._element.focus(); 2917 } 2918 2919 this._isTransitioning = false;
2920 EventHandler.trigger(this._element, EVENT_SHOWN$3, { 2921 relatedTarget 2922 }); 2923 }; 2924 2925 this._queueCallback(transitionComplete, this._dialog, isAnimated); 2926 } 2927 2928 _enforceFocus() { 2929 EventHandler.off(document, EVENT_FOCUSIN$2); // guard against infinite focus loop 2930 2931 EventHandler.on(document, EVENT_FOCUSIN$2, event => { 2932 if (document !== event.target && this._element !== event.target && !this._element.contains(event.target)) { 2933 this._element.focus(); 2934 } 2935 }); 2936 } 2937 2938 _setEscapeEvent() { 2939 if (this._isShown) { 2940 EventHandler.on(this._element, EVENT_KEYDOWN_DISMISS$1, event => { 2941 if (this._config.keyboard && event.key === ESCAPE_KEY$1) { 2942 event.preventDefault(); 2943 this.hide(); 2944 } else if (!this._config.keyboard && event.key === ESCAPE_KEY$1) { 2945 this._triggerBackdropTransition(); 2946 } 2947 }); 2948 } else { 2949 EventHandler.off(this._element, EVENT_KEYDOWN_DISMISS$1); 2950 } 2951 } 2952 2953 _setResizeEvent() { 2954 if (this._isShown) { 2955 EventHandler.on(window, EVENT_RESIZE, () => this._adjustDialog()); 2956 } else { 2957 EventHandler.off(window, EVENT_RESIZE); 2958 } 2959 } 2960 2961 _hideModal() { 2962 this._element.style.display = 'none'; 2963 2964 this._element.setAttribute('aria-hidden', true); 2965 2966 this._element.removeAttribute('aria-modal'); 2967 2968 this._element.removeAttribute('role'); 2969 2970 this._isTransitioning = false; 2971 2972 this._backdrop.hide(() => { 2973 document.body.classList.remove(CLASS_NAME_OPEN); 2974 2975 this._resetAdjustments(); 2976 2977 this._scrollBar.reset(); 2978 2979 EventHandler.trigger(this._element, EVENT_HIDDEN$3); 2980 }); 2981 } 2982 2983 _showBackdrop(callback) { 2984 EventHandler.on(this._element, EVENT_CLICK_DISMISS$2, event => { 2985 if (this._ignoreBackdropClick) { 2986 this._ignoreBackdropClick = false; 2987 return; 2988 } 2989 2990 if (event.target !== event.currentTarget) { 2991 return; 2992 } 2993 2994 if (this._config.backdrop === true) { 2995 this.hide(); 2996 } else if (this._config.backdrop === 'static') { 2997 this._triggerBackdropTransition(); 2998 } 2999 }); 3000 3001 this._backdrop.show(callback); 3002 } 3003 3004 _isAnimated() { 3005 return this._element.classList.contains(CLASS_NAME_FADE$4); 3006 } 3007 3008 _triggerBackdropTransition() { 3009 const hideEvent = EventHandler.trigger(this._element, EVENT_HIDE_PREVENTED); 3010 3011 if (hideEvent.defaultPrevented) { 3012 return; 3013 } 3014 3015 const { 3016 classList, 3017 scrollHeight, 3018 style 3019 } = this._element; 3020 const isModalOverflowing = scrollHeight > document.documentElement.clientHeight; // return if the following background transition hasn't yet completed 3021 3022 if (!isModalOverflowing && style.overflowY === 'hidden' || classList.contains(CLASS_NAME_STATIC)) { 3023 return; 3024 } 3025 3026 if (!isModalOverflowing) { 3027 style.overflowY = 'hidden'; 3028 } 3029 3030 classList.add(CLASS_NAME_STATIC); 3031 3032 this._queueCallback(() => { 3033 classList.remove(CLASS_NAME_STATIC); 3034 3035 if (!isModalOverflowing) { 3036 this._queueCallback(() => { 3037 style.overflowY = ''; 3038 }, this._dialog); 3039 } 3040 }, this._dialog); 3041 3042 this._element.focus(); 3043 } // ---------------------------------------------------------------------- 3044 // the following methods are used to handle overflowing modals 3045 // ---------------------------------------------------------------------- 3046 3047 3048 _adjustDialog() { 3049 const isModalOverflowing = this._element.scrollHeight > document.documentElement.clientHeight; 3050 3051 const scrollbarWidth = this._scrollBar.getWidth(); 3052 3053 const isBodyOverflowing = scrollbarWidth > 0; 3054 3055 if (!isBodyOverflowing && isModalOverflowing && !isRTL() || isBodyOverflowing && !isModalOverflowing && isRTL()) { 3056 this._element.style.paddingLeft = `${scrollbarWidth}px`; 3057 } 3058 3059 if (isBodyOverflowing && !isModalOverflowing && !isRTL() || !isBodyOverflowing && isModalOverflowing && isRTL()) { 3060 this._element.style.paddingRight = `${scrollbarWidth}px`; 3061 } 3062 } 3063 3064 _resetAdjustments() { 3065 this._element.style.paddingLeft = ''; 3066 this._element.style.paddingRight = ''; 3067 } // Static 3068 3069 3070 static jQueryInterface(config, relatedTarget) { 3071 return this.each(function () { 3072 const data = Modal.getOrCreateInstance(this, config); 3073 3074 if (typeof config !== 'string') { 3075 return; 3076 } 3077 3078 if (typeof data[config] === 'undefined') {
vendor: 4,737 bytes, lines 3079-3251
3079 throw new TypeError(`No method named "${config}"`); 3080 } 3081 3082 data[config](relatedTarget); 3083 }); 3084 } 3085 3086 } 3087 /** 3088 * ------------------------------------------------------------------------ 3089 * Data Api implementation 3090 * ------------------------------------------------------------------------ 3091 */ 3092 3093 3094 EventHandler.on(document, EVENT_CLICK_DATA_API$2, SELECTOR_DATA_TOGGLE$2, function (event) { 3095 const target = getElementFromSelector(this); 3096 3097 if (['A', 'AREA'].includes(this.tagName)) { 3098 event.preventDefault(); 3099 } 3100 3101 EventHandler.one(target, EVENT_SHOW$3, showEvent => { 3102 if (showEvent.defaultPrevented) { 3103 // only register focus restorer if modal will actually get shown 3104 return; 3105 } 3106 3107 EventHandler.one(target, EVENT_HIDDEN$3, () => { 3108 if (isVisible(this)) { 3109 this.focus(); 3110 } 3111 }); 3112 }); 3113 const data = Modal.getOrCreateInstance(target); 3114 data.toggle(this); 3115 }); 3116 /** 3117 * ------------------------------------------------------------------------ 3118 * jQuery 3119 * ------------------------------------------------------------------------ 3120 * add .Modal to jQuery only if jQuery is present 3121 */ 3122 3123 defineJQueryPlugin(Modal); 3124 3125 /** 3126 * -------------------------------------------------------------------------- 3127 * Bootstrap (v5.0.2): offcanvas.js 3128 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) 3129 * -------------------------------------------------------------------------- 3130 */ 3131 /** 3132 * ------------------------------------------------------------------------ 3133 * Constants 3134 * ------------------------------------------------------------------------ 3135 */ 3136 3137 const NAME$5 = 'offcanvas'; 3138 const DATA_KEY$5 = 'bs.offcanvas'; 3139 const EVENT_KEY$5 = `.${DATA_KEY$5}`; 3140 const DATA_API_KEY$2 = '.data-api'; 3141 const EVENT_LOAD_DATA_API$1 = `load${EVENT_KEY$5}${DATA_API_KEY$2}`; 3142 const ESCAPE_KEY = 'Escape'; 3143 const Default$4 = { 3144 backdrop: true, 3145 keyboard: true, 3146 scroll: false 3147 }; 3148 const DefaultType$4 = { 3149 backdrop: 'boolean', 3150 keyboard: 'boolean', 3151 scroll: 'boolean' 3152 }; 3153 const CLASS_NAME_SHOW$4 = 'show'; 3154 const OPEN_SELECTOR = '.offcanvas.show'; 3155 const EVENT_SHOW$2 = `show${EVENT_KEY$5}`; 3156 const EVENT_SHOWN$2 = `shown${EVENT_KEY$5}`; 3157 const EVENT_HIDE$2 = `hide${EVENT_KEY$5}`; 3158 const EVENT_HIDDEN$2 = `hidden${EVENT_KEY$5}`; 3159 const EVENT_FOCUSIN$1 = `focusin${EVENT_KEY$5}`; 3160 const EVENT_CLICK_DATA_API$1 = `click${EVENT_KEY$5}${DATA_API_KEY$2}`; 3161 const EVENT_CLICK_DISMISS$1 = `click.dismiss${EVENT_KEY$5}`; 3162 const EVENT_KEYDOWN_DISMISS = `keydown.dismiss${EVENT_KEY$5}`; 3163 const SELECTOR_DATA_DISMISS$1 = '[data-bs-dismiss="offcanvas"]'; 3164 const SELECTOR_DATA_TOGGLE$1 = '[data-bs-toggle="offcanvas"]'; 3165 /** 3166 * ------------------------------------------------------------------------ 3167 * Class Definition 3168 * ------------------------------------------------------------------------ 3169 */ 3170 3171 class Offcanvas extends BaseComponent { 3172 constructor(element, config) { 3173 super(element); 3174 this._config = this._getConfig(config); 3175 this._isShown = false; 3176 this._backdrop = this._initializeBackDrop(); 3177 3178 this._addEventListeners(); 3179 } // Getters 3180 3181 3182 static get NAME() { 3183 return NAME$5; 3184 } 3185 3186 static get Default() { 3187 return Default$4; 3188 } // Public 3189 3190 3191 toggle(relatedTarget) { 3192 return this._isShown ? this.hide() : this.show(relatedTarget); 3193 } 3194 3195 show(relatedTarget) { 3196 if (this._isShown) { 3197 return; 3198 } 3199 3200 const showEvent = EventHandler.trigger(this._element, EVENT_SHOW$2, { 3201 relatedTarget 3202 }); 3203 3204 if (showEvent.defaultPrevented) { 3205 return; 3206 } 3207 3208 this._isShown = true; 3209 this._element.style.visibility = 'visible'; 3210 3211 this._backdrop.show(); 3212 3213 if (!this._config.scroll) { 3214 new ScrollBarHelper().hide(); 3215 3216 this._enforceFocusOnElement(this._element); 3217 } 3218 3219 this._element.removeAttribute('aria-hidden'); 3220 3221 this._element.setAttribute('aria-modal', true); 3222 3223 this._element.setAttribute('role', 'dialog'); 3224 3225 this._element.classList.add(CLASS_NAME_SHOW$4); 3226 3227 const completeCallBack = () => { 3228 EventHandler.trigger(this._element, EVENT_SHOWN$2, { 3229 relatedTarget 3230 }); 3231 }; 3232 3233 this._queueCallback(completeCallBack, this._element, true); 3234 } 3235 3236 hide() { 3237 if (!this._isShown) { 3238 return; 3239 } 3240 3241 const hideEvent = EventHandler.trigger(this._element, EVENT_HIDE$2); 3242 3243 if (hideEvent.defaultPrevented) { 3244 return; 3245 } 3246 3247 EventHandler.off(document, EVENT_FOCUSIN$1); 3248 3249 this._element.blur(); 3250 3251 this._isShown = false;
3252 3253 this._element.classList.remove(CLASS_NAME_SHOW$4); 3254 3255 this._backdrop.hide(); 3256 3257 const completeCallback = () => { 3258 this._element.setAttribute('aria-hidden', true); 3259 3260 this._element.removeAttribute('aria-modal'); 3261 3262 this._element.removeAttribute('role'); 3263 3264 this._element.style.visibility = 'hidden'; 3265 3266 if (!this._config.scroll) { 3267 new ScrollBarHelper().reset(); 3268 } 3269 3270 EventHandler.trigger(this._element, EVENT_HIDDEN$2); 3271 }; 3272 3273 this._queueCallback(completeCallback, this._element, true); 3274 } 3275 3276 dispose() { 3277 this._backdrop.dispose(); 3278 3279 super.dispose(); 3280 EventHandler.off(document, EVENT_FOCUSIN$1); 3281 } // Private 3282 3283 3284 _getConfig(config) { 3285 config = { ...Default$4, 3286 ...Manipulator.getDataAttributes(this._element), 3287 ...(typeof config === 'object' ? config : {}) 3288 }; 3289 typeCheckConfig(NAME$5, config, DefaultType$4); 3290 return config; 3291 } 3292 3293 _initializeBackDrop() { 3294 return new Backdrop({ 3295 isVisible: this._config.backdrop, 3296 isAnimated: true, 3297 rootElement: this._element.parentNode, 3298 clickCallback: () => this.hide() 3299 }); 3300 } 3301 3302 _enforceFocusOnElement(element) { 3303 EventHandler.off(document, EVENT_FOCUSIN$1); // guard against infinite focus loop 3304 3305 EventHandler.on(document, EVENT_FOCUSIN$1, event => { 3306 if (document !== event.target && element !== event.target && !element.contains(event.target)) { 3307 element.focus(); 3308 } 3309 }); 3310 element.focus(); 3311 } 3312 3313 _addEventListeners() { 3314 EventHandler.on(this._element, EVENT_CLICK_DISMISS$1, SELECTOR_DATA_DISMISS$1, () => this.hide()); 3315 EventHandler.on(this._element, EVENT_KEYDOWN_DISMISS, event => { 3316 if (this._config.keyboard && event.key === ESCAPE_KEY) { 3317 this.hide(); 3318 } 3319 }); 3320 } // Static 3321 3322 3323 static jQueryInterface(config) { 3324 return this.each(function () { 3325 const data = Offcanvas.getOrCreateInstance(this, config); 3326 3327 if (typeof config !== 'string') { 3328 return; 3329 } 3330 3331 if (data[config] === undefined || config.startsWith('_') || config === 'constructor') { 3332 throw new TypeError(`No method named "${config}"`); 3333 } 3334 3335 data[config](this); 3336 }); 3337 } 3338 3339 } 3340 /** 3341 * ------------------------------------------------------------------------ 3342 * Data Api implementation 3343 * ------------------------------------------------------------------------ 3344 */ 3345 3346 3347 EventHandler.on(document, EVENT_CLICK_DATA_API$1, SELECTOR_DATA_TOGGLE$1, function (event) { 3348 const target = getElementFromSelector(this); 3349 3350 if (['A', 'AREA'].includes(this.tagName)) { 3351 event.preventDefault(); 3352 } 3353 3354 if (isDisabled(this)) { 3355 return; 3356 } 3357 3358 EventHandler.one(target, EVENT_HIDDEN$2, () => { 3359 // focus on trigger when it is closed 3360 if (isVisible(this)) { 3361 this.focus(); 3362 } 3363 }); // avoid conflict when clicking a toggler of an offcanvas, while another is open 3364 3365 const allReadyOpen = SelectorEngine.findOne(OPEN_SELECTOR); 3366 3367 if (allReadyOpen && allReadyOpen !== target) { 3368 Offcanvas.getInstance(allReadyOpen).hide(); 3369 } 3370 3371 const data = Offcanvas.getOrCreateInstance(target); 3372 data.toggle(this); 3373 }); 3374 EventHandler.on(window, EVENT_LOAD_DATA_API$1, () => SelectorEngine.find(OPEN_SELECTOR).forEach(el => Offcanvas.getOrCreateInstance(el).show())); 3375 /** 3376 * ------------------------------------------------------------------------ 3377 * jQuery 3378 * ------------------------------------------------------------------------ 3379 */ 3380 3381 defineJQueryPlugin(Offcanvas); 3382 3383 /** 3384 * -------------------------------------------------------------------------- 3385 * Bootstrap (v5.0.2): util/sanitizer.js 3386 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) 3387 * -------------------------------------------------------------------------- 3388 */ 3389 const uriAttrs = new Set(['background', 'cite', 'href', 'itemtype', 'longdesc', 'poster', 'src', 'xlink:href']); 3390 const ARIA_ATTRIBUTE_PATTERN = /^aria-[\w-]*$/i; 3391 /** 3392 * A pattern that recognizes a commonly useful subset of URLs that are safe. 3393 * 3394 * Shoutout to Angular 7 https://github.com/angular/angular/blob/7.2.4/packages/core/src/sanitization/url_sanitizer.ts 3395 */ 3396 3397 const SAFE_URL_PATTERN = /^(?:(?:https?|mailto|ftp|tel|file):|[^#&/:?]*(?:[#/?]|$))/i; 3398 /** 3399 * A pattern that matches safe data URLs. Only matches image, video and audio types. 3400 * 3401 * Shoutout to Angular 7 https://github.com/angular/angular/blob/7.2.4/packages/core/src/sanitization/url_sanitizer.ts 3402 */ 3403 3404 const DATA_URL_PATTERN = /^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i; 3405 3406 const allowedAttribute = (attr, allowedAttributeList) => { 3407 const attrName = attr.nodeName.toLowerCase(); 3408 3409 if (allowedAttributeList.includes(attrName)) { 3410 if (uriAttrs.has(attrName)) { 3411 return Boolean(SAFE_URL_PATTERN.test(attr.nodeValue) || DATA_URL_PATTERN.test(attr.nodeValue)); 3412 } 3413 3414 return true; 3415 } 3416 3417 const regExp = allowedAttributeList.filter(attrRegex =>
3417 attrRegex instanceof RegExp); // Check if a regular expression validates the attribute. 3418 3419 for (let i = 0, len = regExp.length; i < len; i++) { 3420 if (regExp[i].test(attrName)) { 3421 return true; 3422 } 3423 } 3424 3425 return false; 3426 }; 3427 3428 const DefaultAllowlist = { 3429 // Global attributes allowed on any supplied element below. 3430 '*': ['class', 'dir', 'id', 'lang', 'role', ARIA_ATTRIBUTE_PATTERN], 3431 a: ['target', 'href', 'title', 'rel'], 3432 area: [], 3433 b: [], 3434 br: [], 3435 col: [], 3436 code: [], 3437 div: [], 3438 em: [], 3439 hr: [], 3440 h1: [], 3441 h2: [], 3442 h3: [], 3443 h4: [], 3444 h5: [], 3445 h6: [], 3446 i: [], 3447 img: ['src', 'srcset', 'alt', 'title', 'width', 'height'], 3448 li: [], 3449 ol: [], 3450 p: [], 3451 pre: [], 3452 s: [], 3453 small: [], 3454 span: [], 3455 sub: [], 3456 sup: [], 3457 strong: [], 3458 u: [], 3459 ul: [] 3460 }; 3461 function sanitizeHtml(unsafeHtml, allowList, sanitizeFn) { 3462 if (!unsafeHtml.length) { 3463 return unsafeHtml; 3464 } 3465 3466 if (sanitizeFn && typeof sanitizeFn === 'function') { 3467 return sanitizeFn(unsafeHtml); 3468 } 3469 3470 const domParser = new window.DOMParser(); 3471 const createdDocument = domParser.parseFromString(unsafeHtml, 'text/html'); 3472 const allowlistKeys = Object.keys(allowList); 3473 const elements = [].concat(...createdDocument.body.querySelectorAll('*')); 3474 3475 for (let i = 0, len = elements.length; i < len; i++) { 3476 const el = elements[i]; 3477 const elName = el.nodeName.toLowerCase(); 3478 3479 if (!allowlistKeys.includes(elName)) { 3480 el.remove(); 3481 continue; 3482 } 3483 3484 const attributeList = [].concat(...el.attributes); 3485 const allowedAttributes = [].concat(allowList['*'] || [], allowList[elName] || []); 3486 attributeList.forEach(attr => { 3487 if (!allowedAttribute(attr, allowedAttributes)) { 3488 el.removeAttribute(attr.nodeName); 3489 } 3490 }); 3491 } 3492 3493 return createdDocument.body.innerHTML; 3494 } 3495 3496 /** 3497 * -------------------------------------------------------------------------- 3498 * Bootstrap (v5.0.2): tooltip.js 3499 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) 3500 * -------------------------------------------------------------------------- 3501 */ 3502 /** 3503 * ------------------------------------------------------------------------ 3504 * Constants 3505 * ------------------------------------------------------------------------ 3506 */ 3507 3508 const NAME$4 = 'tooltip'; 3509 const DATA_KEY$4 = 'bs.tooltip'; 3510 const EVENT_KEY$4 = `.${DATA_KEY$4}`; 3511 const CLASS_PREFIX$1 = 'bs-tooltip'; 3512 const BSCLS_PREFIX_REGEX$1 = new RegExp(`(^|\\s)${CLASS_PREFIX$1}\\S+`, 'g'); 3513 const DISALLOWED_ATTRIBUTES = new Set(['sanitize', 'allowList', 'sanitizeFn']); 3514 const DefaultType$3 = { 3515 animation: 'boolean', 3516 template: 'string', 3517 title: '(string|element|function)', 3518 trigger: 'string', 3519 delay: '(number|object)', 3520 html: 'boolean', 3521 selector: '(string|boolean)', 3522 placement: '(string|function)', 3523 offset: '(array|string|function)', 3524 container: '(string|element|boolean)', 3525 fallbackPlacements: 'array', 3526 boundary: '(string|element)', 3527 customClass: '(string|function)', 3528 sanitize: 'boolean', 3529 sanitizeFn: '(null|function)', 3530 allowList: 'object', 3531 popperConfig: '(null|object|function)' 3532 }; 3533 const AttachmentMap = { 3534 AUTO: 'auto', 3535 TOP: 'top', 3536 RIGHT: isRTL() ? 'left' : 'right', 3537 BOTTOM: 'bottom', 3538 LEFT: isRTL() ? 'right' : 'left' 3539 }; 3540 const Default$3 = { 3541 animation: true, 3542 template: '<div class="tooltip" role="tooltip">' + '<div class="tooltip-arrow"></div>' + '<div class="tooltip-inner"></div>' + '</div>', 3543 trigger: 'hover focus', 3544 title: '', 3545 delay: 0, 3546 html: false, 3547 selector: false, 3548 placement: 'top', 3549 offset: [0, 0], 3550 container: false, 3551 fallbackPlacements: ['top', 'right', 'bottom', 'left'], 3552 boundary: 'clippingParents', 3553 customClass: '', 3554 sanitize: true, 3555 sanitizeFn: null, 3556 allowList: DefaultAllowlist, 3557 popperConfig: null 3558 }; 3559 const Event$2 = { 3560 HIDE: `hide${EVENT_KEY$4}`, 3561 HIDDEN: `hidden${EVENT_KEY$4}`, 3562 SHOW: `show${EVENT_KEY$4}`, 3563 SHOWN: `shown${EVENT_KEY$4}`, 3564 INSERTED: `inserted${EVENT_KEY$4}`, 3565 CLICK: `click${EVENT_KEY$4}`, 3566 FOCUSIN: `focusin${EVENT_KEY$4}`, 3567 FOCUSOUT: `focusout${EVENT_KEY$4}`, 3568 MOUSEENTER: `mouseenter${EVENT_KEY$4}`, 3569 MOUSELEAVE: `mouseleave${EVENT_KEY$4}` 3570 }; 3571 const CLASS_NAME_FADE$3 = 'fade';
3572 const CLASS_NAME_MODAL = 'modal'; 3573 const CLASS_NAME_SHOW$3 = 'show'; 3574 const HOVER_STATE_SHOW = 'show'; 3575 const HOVER_STATE_OUT = 'out'; 3576 const SELECTOR_TOOLTIP_INNER = '.tooltip-inner'; 3577 const TRIGGER_HOVER = 'hover'; 3578 const TRIGGER_FOCUS = 'focus'; 3579 const TRIGGER_CLICK = 'click'; 3580 const TRIGGER_MANUAL = 'manual'; 3581 /** 3582 * ------------------------------------------------------------------------ 3583 * Class Definition 3584 * ------------------------------------------------------------------------ 3585 */ 3586 3587 class Tooltip extends BaseComponent { 3588 constructor(element, config) { 3589 if (typeof Popper__namespace === 'undefined') { 3590 throw new TypeError('Bootstrap\'s tooltips require Popper (https://popper.js.org)'); 3591 } 3592 3593 super(element); // private 3594 3595 this._isEnabled = true; 3596 this._timeout = 0; 3597 this._hoverState = ''; 3598 this._activeTrigger = {}; 3599 this._popper = null; // Protected 3600 3601 this._config = this._getConfig(config); 3602 this.tip = null; 3603 3604 this._setListeners(); 3605 } // Getters 3606 3607 3608 static get Default() { 3609 return Default$3; 3610 } 3611 3612 static get NAME() { 3613 return NAME$4; 3614 } 3615 3616 static get Event() { 3617 return Event$2; 3618 } 3619 3620 static get DefaultType() { 3621 return DefaultType$3; 3622 } // Public 3623 3624 3625 enable() { 3626 this._isEnabled = true; 3627 } 3628 3629 disable() { 3630 this._isEnabled = false; 3631 } 3632 3633 toggleEnabled() { 3634 this._isEnabled = !this._isEnabled; 3635 } 3636 3637 toggle(event) { 3638 if (!this._isEnabled) { 3639 return; 3640 } 3641 3642 if (event) { 3643 const context = this._initializeOnDelegatedTarget(event); 3644 3645 context._activeTrigger.click = !context._activeTrigger.click; 3646 3647 if (context._isWithActiveTrigger()) { 3648 context._enter(null, context); 3649 } else { 3650 context._leave(null, context); 3651 } 3652 } else { 3653 if (this.getTipElement().classList.contains(CLASS_NAME_SHOW$3)) { 3654 this._leave(null, this); 3655 3656 return; 3657 } 3658 3659 this._enter(null, this); 3660 } 3661 } 3662 3663 dispose() { 3664 clearTimeout(this._timeout); 3665 EventHandler.off(this._element.closest(`.${CLASS_NAME_MODAL}`), 'hide.bs.modal', this._hideModalHandler); 3666 3667 if (this.tip) { 3668 this.tip.remove(); 3669 } 3670 3671 if (this._popper) { 3672 this._popper.destroy(); 3673 } 3674 3675 super.dispose(); 3676 } 3677 3678 show() { 3679 if (this._element.style.display === 'none') { 3680 throw new Error('Please use show on visible elements'); 3681 } 3682 3683 if (!(this.isWithContent() && this._isEnabled)) { 3684 return; 3685 } 3686 3687 const showEvent = EventHandler.trigger(this._element, this.constructor.Event.SHOW); 3688 const shadowRoot = findShadowRoot(this._element); 3689 const isInTheDom = shadowRoot === null ? this._element.ownerDocument.documentElement.contains(this._element) : shadowRoot.contains(this._element); 3690 3691 if (showEvent.defaultPrevented || !isInTheDom) { 3692 return; 3693 } 3694 3695 const tip = this.getTipElement(); 3696 const tipId = getUID(this.constructor.NAME);
3697 tip.setAttribute('id', tipId); 3698 3699 this._element.setAttribute('aria-describedby', tipId); 3700 3701 this.setContent(); 3702 3703 if (this._config.animation) { 3704 tip.classList.add(CLASS_NAME_FADE$3); 3705 } 3706 3707 const placement = typeof this._config.placement === 'function' ? this._config.placement.call(this, tip, this._element) : this._config.placement; 3708 3709 const attachment = this._getAttachment(placement); 3710 3711 this._addAttachmentClass(attachment); 3712 3713 const { 3714 container 3715 } = this._config; 3716 Data.set(tip, this.constructor.DATA_KEY, this); 3717 3718 if (!this._element.ownerDocument.documentElement.contains(this.tip)) { 3719 container.appendChild(tip); 3720 EventHandler.trigger(this._element, this.constructor.Event.INSERTED); 3721 } 3722 3723 if (this._popper) { 3724 this._popper.update(); 3725 } else { 3726 this._popper = Popper__namespace.createPopper(this._element, tip, this._getPopperConfig(attachment)); 3727 } 3728 3729 tip.classList.add(CLASS_NAME_SHOW$3); 3730 const customClass = typeof this._config.customClass === 'function' ? this._config.customClass() : this._config.customClass; 3731 3732 if (customClass) { 3733 tip.classList.add(...customClass.split(' ')); 3734 } // If this is a touch-enabled device we add extra 3735 // empty mouseover listeners to the body's immediate children; 3736 // only needed because of broken event delegation on iOS 3737 // https://www.quirksmode.org/blog/archives/2014/02/mouse_event_bub.html 3738 3739 3740 if ('ontouchstart' in document.documentElement) { 3741 [].concat(...document.body.children).forEach(element => { 3742 EventHandler.on(element, 'mouseover', noop); 3743 }); 3744 } 3745 3746 const complete = () => { 3747 const prevHoverState = this._hoverState; 3748 this._hoverState = null; 3749 EventHandler.trigger(this._element, this.constructor.Event.SHOWN); 3750 3751 if (prevHoverState === HOVER_STATE_OUT) { 3752 this._leave(null, this); 3753 } 3754 }; 3755 3756 const isAnimated = this.tip.classList.contains(CLASS_NAME_FADE$3); 3757 3758 this._queueCallback(complete, this.tip, isAnimated); 3759 } 3760 3761 hide() { 3762 if (!this._popper) { 3763 return; 3764 } 3765 3766 const tip = this.getTipElement(); 3767 3768 const complete = () => { 3769 if (this._isWithActiveTrigger()) { 3770 return; 3771 } 3772 3773 if (this._hoverState !== HOVER_STATE_SHOW) { 3774 tip.remove(); 3775 } 3776 3777 this._cleanTipClass(); 3778 3779 this._element.removeAttribute('aria-describedby'); 3780 3781 EventHandler.trigger(this._element, this.constructor.Event.HIDDEN); 3782 3783 if (this._popper) { 3784 this._popper.destroy(); 3785 3786 this._popper = null; 3787 } 3788 }; 3789 3790 const hideEvent = EventHandler.trigger(this._element, this.constructor.Event.HIDE); 3791 3792 if (hideEvent.defaultPrevented) { 3793 return; 3794 } 3795 3796 tip.classList.remove(CLASS_NAME_SHOW$3); // If this is a touch-enabled device we remove the extra 3797 // empty mouseover listeners we added for iOS support 3798 3799 if ('ontouchstart' in document.documentElement) { 3800 [].concat(...document.body.children).forEach(element => EventHandler.off(element, 'mouseover', noop)); 3801 } 3802 3803 this._activeTrigger[TRIGGER_CLICK] = false; 3804 this._activeTrigger[TRIGGER_FOCUS] = false; 3805 this._activeTrigger[TRIGGER_HOVER] = false; 3806 const isAnimated = this.tip.classList.contains(CLASS_NAME_FADE$3); 3807 3808 this._queueCallback(complete, this.tip, isAnimated); 3809 3810 this._hoverState = ''; 3811 } 3812 3813 update() { 3814 if (this._popper !== null) { 3815 this._popper.update(); 3816 } 3817 } // Protected 3818 3819 3820 isWithContent() { 3821 return Boolean(this.getTitle()); 3822 } 3823 3824 getTipElement() { 3825 if (this.tip) { 3826 return this.tip; 3827 } 3828 3829 const element = document.createElement('div'); 3830 element.innerHTML = this._config.template; 3831 this.tip = element.children[0]; 3832 return this.tip; 3833 } 3834 3835 setContent() { 3836 const tip = this.getTipElement(); 3837 this.setElementContent(SelectorEngine.findOne(SELECTOR_TOOLTIP_INNER, tip), this.getTitle()); 3838 tip.classList.remove(CLASS_NAME_FADE$3, CLASS_NAME_SHOW$3); 3839 } 3840 3841 setElementContent(element, content) { 3842 if (element === null) { 3843 return; 3844 } 3845 3846 if (isElement(content)) { 3847 content = getElement(content); // content is a DOM node or a jQuery 3848 3849 if (this._config.html) { 3850 if (content.parentNode !== element) { 3851 element.innerHTML = ''; 3852 element.appendChild(content); 3853 } 3854 } else { 3855 element.textContent = content.textContent; 3856 } 3857 3858 return; 3859 } 3860 3861 if (this._config.html) { 3862 if (this._config.sanitize) { 3863 content = sanitizeHtml(content, this._config.allowList, this._config.sanitizeFn); 3864 } 3865 3866 element.innerHTML = content; 3867 } else { 3868 element.textContent = content; 3869 } 3870 } 3871 3872 getTitle() { 3873 let title = this._element.getAttribute('data-bs-original-title'); 3874 3875 if (!title) { 3876 title = typeof this._config.title === 'function' ? this._config.title.call(this._element) : this._config.title; 3877 } 3878 3879 return title; 3880 } 3881 3882 updateAttachment(attachment) { 3883 if (attachment === 'right') { 3884 return 'end'; 3885 } 3886 3887 if (attachment === 'left') { 3888 return 'start'; 3889 } 3890 3891 return attachment; 3892 } // Private 3893 3894 3895 _initializeOnDelegatedTarget(event, context) { 3896 const dataKey = this.constructor.DATA_KEY; 3897 context = context || Data.get(event.delegateTarget, dataKey); 3898 3899 if (!context) { 3900 context = new this.constructor(event.delegateTarget, this._getDelegateConfig()); 3901 Data.set(event.delegateTarget, dataKey, context); 3902 } 3903 3904 return context; 3905 } 3906 3907 _getOffset() { 3908 const { 3909 offset 3910 } = this._config; 3911 3912 if (typeof offset === 'string') { 3913 return offset.split(',').map(val => Number.parseInt(val, 10)); 3914 } 3915 3916 if (typeof offset === 'function') { 3917 return popperData => offset(popperData, this._element); 3918 } 3919 3920 return offset; 3921 } 3922 3923 _getPopperConfig(attachment) { 3924 const defaultBsPopperConfig = { 3925 placement: attachment, 3926 modifiers: [{ 3927 name: 'flip', 3928 options: { 3929 fallbackPlacements: this._config.fallbackPlacements 3930 } 3931 }, { 3932 name: 'offset', 3933 options: { 3934 offset: this._getOffset() 3935 } 3936 }, { 3937 name: 'preventOverflow', 3938 options: {
3939 boundary: this._config.boundary 3940 } 3941 }, { 3942 name: 'arrow', 3943 options: { 3944 element: `.${this.constructor.NAME}-arrow` 3945 } 3946 }, { 3947 name: 'onChange', 3948 enabled: true, 3949 phase: 'afterWrite', 3950 fn: data => this._handlePopperPlacementChange(data) 3951 }], 3952 onFirstUpdate: data => { 3953 if (data.options.placement !== data.placement) { 3954 this._handlePopperPlacementChange(data); 3955 } 3956 } 3957 }; 3958 return { ...defaultBsPopperConfig, 3959 ...(typeof this._config.popperConfig === 'function' ? this._config.popperConfig(defaultBsPopperConfig) : this._config.popperConfig) 3960 }; 3961 } 3962 3963 _addAttachmentClass(attachment) { 3964 this.getTipElement().classList.add(`${CLASS_PREFIX$1}-${this.updateAttachment(attachment)}`); 3965 } 3966 3967 _getAttachment(placement) { 3968 return AttachmentMap[placement.toUpperCase()]; 3969 } 3970 3971 _setListeners() { 3972 const triggers = this._config.trigger.split(' '); 3973 3974 triggers.forEach(trigger => { 3975 if (trigger === 'click') { 3976 EventHandler.on(this._element, this.constructor.Event.CLICK, this._config.selector, event => this.toggle(event)); 3977 } else if (trigger !== TRIGGER_MANUAL) { 3978 const eventIn = trigger === TRIGGER_HOVER ? this.constructor.Event.MOUSEENTER : this.constructor.Event.FOCUSIN; 3979 const eventOut = trigger === TRIGGER_HOVER ? this.constructor.Event.MOUSELEAVE : this.constructor.Event.FOCUSOUT; 3980 EventHandler.on(this._element, eventIn, this._config.selector, event => this._enter(event)); 3981 EventHandler.on(this._element, eventOut, this._config.selector, event => this._leave(event)); 3982 } 3983 }); 3984 3985 this._hideModalHandler = () => { 3986 if (this._element) { 3987 this.hide(); 3988 } 3989 }; 3990 3991 EventHandler.on(this._element.closest(`.${CLASS_NAME_MODAL}`), 'hide.bs.modal', this._hideModalHandler); 3992 3993 if (this._config.selector) { 3994 this._config = { ...this._config, 3995 trigger: 'manual', 3996 selector: '' 3997 }; 3998 } else { 3999 this._fixTitle(); 4000 } 4001 } 4002 4003 _fixTitle() { 4004 const title = this._element.getAttribute('title'); 4005 4006 const originalTitleType = typeof this._element.getAttribute('data-bs-original-title'); 4007 4008 if (title || originalTitleType !== 'string') { 4009 this._element.setAttribute('data-bs-original-title', title || ''); 4010 4011 if (title && !this._element.getAttribute('aria-label') && !this._element.textContent) { 4012 this._element.setAttribute('aria-label', title); 4013 } 4014 4015 this._element.setAttribute('title', ''); 4016 } 4017 } 4018 4019 _enter(event, context) { 4020 context = this._initializeOnDelegatedTarget(event, context); 4021 4022 if (event) { 4023 context._activeTrigger[event.type === 'focusin' ? TRIGGER_FOCUS : TRIGGER_HOVER] = true; 4024 } 4025 4026 if (context.getTipElement().classList.contains(CLASS_NAME_SHOW$3) || context._hoverState === HOVER_STATE_SHOW) { 4027 context._hoverState = HOVER_STATE_SHOW; 4028 return; 4029 } 4030 4031 clearTimeout(context._timeout); 4032 context._hoverState = HOVER_STATE_SHOW; 4033 4034 if (!context._config.delay || !context._config.delay.show) { 4035 context.show(); 4036 return; 4037 } 4038 4039 context._timeout = setTimeout(() => { 4040 if (context._hoverState === HOVER_STATE_SHOW) { 4041 context.show(); 4042 } 4043 }, context._config.delay.show); 4044 } 4045 4046 _leave(event, context) { 4047 context = this._initializeOnDelegatedTarget(event, context); 4048 4049 if (event) { 4050 context._activeTrigger[event.type === 'focusout' ? TRIGGER_FOCUS : TRIGGER_HOVER] = context._element.contains(event.relatedTarget); 4051 } 4052 4053 if (context._isWithActiveTrigger()) { 4054 return; 4055 } 4056 4057 clearTimeout(context._timeout); 4058 context._hoverState = HOVER_STATE_OUT; 4059 4060 if (!context._config.delay || !context._config.delay.hide) { 4061 context.hide(); 4062 return; 4063 } 4064 4065 context._timeout = setTimeout(() => { 4066 if (context._hoverState === HOVER_STATE_OUT) { 4067 context.hide(); 4068 } 4069 }, context._config.delay.hide); 4070 } 4071 4072 _isWithActiveTrigger() { 4073 for (const trigger in this._activeTrigger) { 4074 if (this._activeTrigger[trigger]) { 4075 return true; 4076 } 4077 } 4078 4079 return false;
4080 } 4081 4082 _getConfig(config) { 4083 const dataAttributes = Manipulator.getDataAttributes(this._element); 4084 Object.keys(dataAttributes).forEach(dataAttr => { 4085 if (DISALLOWED_ATTRIBUTES.has(dataAttr)) { 4086 delete dataAttributes[dataAttr]; 4087 } 4088 }); 4089 config = { ...this.constructor.Default, 4090 ...dataAttributes, 4091 ...(typeof config === 'object' && config ? config : {}) 4092 }; 4093 config.container = config.container === false ? document.body : getElement(config.container); 4094 4095 if (typeof config.delay === 'number') { 4096 config.delay = { 4097 show: config.delay, 4098 hide: config.delay 4099 }; 4100 } 4101 4102 if (typeof config.title === 'number') { 4103 config.title = config.title.toString(); 4104 } 4105 4106 if (typeof config.content === 'number') { 4107 config.content = config.content.toString(); 4108 } 4109 4110 typeCheckConfig(NAME$4, config, this.constructor.DefaultType); 4111 4112 if (config.sanitize) { 4113 config.template = sanitizeHtml(config.template, config.allowList, config.sanitizeFn); 4114 } 4115 4116 return config; 4117 } 4118 4119 _getDelegateConfig() { 4120 const config = {}; 4121 4122 if (this._config) { 4123 for (const key in this._config) { 4124 if (this.constructor.Default[key] !== this._config[key]) { 4125 config[key] = this._config[key]; 4126 } 4127 } 4128 } 4129 4130 return config; 4131 } 4132 4133 _cleanTipClass() { 4134 const tip = this.getTipElement(); 4135 const tabClass = tip.getAttribute('class').match(BSCLS_PREFIX_REGEX$1); 4136 4137 if (tabClass !== null && tabClass.length > 0) { 4138 tabClass.map(token => token.trim()).forEach(tClass => tip.classList.remove(tClass)); 4139 } 4140 } 4141 4142 _handlePopperPlacementChange(popperData) { 4143 const { 4144 state 4145 } = popperData; 4146 4147 if (!state) { 4148 return; 4149 } 4150 4151 this.tip = state.elements.popper; 4152 4153 this._cleanTipClass(); 4154 4155 this._addAttachmentClass(this._getAttachment(state.placement)); 4156 } // Static 4157 4158 4159 static jQueryInterface(config) { 4160 return this.each(function () { 4161 const data = Tooltip.getOrCreateInstance(this, config); 4162 4163 if (typeof config === 'string') { 4164 if (typeof data[config] === 'undefined') { 4165 throw new TypeError(`No method named "${config}"`); 4166 } 4167 4168 data[config](); 4169 } 4170 }); 4171 } 4172 4173 } 4174 /** 4175 * ------------------------------------------------------------------------ 4176 * jQuery 4177 * ------------------------------------------------------------------------ 4178 * add .Tooltip to jQuery only if jQuery is present 4179 */ 4180 4181 4182 defineJQueryPlugin(Tooltip); 4183 4184 /** 4185 * -------------------------------------------------------------------------- 4186 * Bootstrap (v5.0.2): popover.js 4187 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) 4188 * -------------------------------------------------------------------------- 4189 */ 4190 /** 4191 * ------------------------------------------------------------------------ 4192 * Constants 4193 * ------------------------------------------------------------------------ 4194 */ 4195 4196 const NAME$3 = 'popover'; 4197 const DATA_KEY$3 = 'bs.popover'; 4198 const EVENT_KEY$3 = `.${DATA_KEY$3}`; 4199 const CLASS_PREFIX = 'bs-popover'; 4200 const BSCLS_PREFIX_REGEX = new RegExp(`(^|\\s)${CLASS_PREFIX}\\S+`, 'g'); 4201 const Default$2 = { ...Tooltip.Default, 4202 placement: 'right', 4203 offset: [0, 8], 4204 trigger: 'click', 4205 content: '', 4206 template: '<div class="popover" role="tooltip">' + '<div class="popover-arrow"></div>' + '<h3 class="popover-header"></h3>' + '<div class="popover-body"></div>' + '</div>' 4207 }; 4208 const DefaultType$2 = { ...Tooltip.DefaultType, 4209 content: '(string|element|function)' 4210 }; 4211 const Event$1 = { 4212 HIDE: `hide${EVENT_KEY$3}`, 4213 HIDDEN: `hidden${EVENT_KEY$3}`, 4214 SHOW: `show${EVENT_KEY$3}`, 4215 SHOWN: `shown${EVENT_KEY$3}`, 4216 INSERTED: `inserted${EVENT_KEY$3}`, 4217 CLICK: `click${EVENT_KEY$3}`, 4218 FOCUSIN: `focusin${EVENT_KEY$3}`, 4219 FOCUSOUT: `focusout${EVENT_KEY$3}`, 4220 MOUSEENTER: `mouseenter${EVENT_KEY$3}`, 4221 MOUSELEAVE: `mouseleave${EVENT_KEY$3}` 4222 }; 4223 const CLASS_NAME_FADE$2 = 'fade';
4224 const CLASS_NAME_SHOW$2 = 'show'; 4225 const SELECTOR_TITLE = '.popover-header'; 4226 const SELECTOR_CONTENT = '.popover-body'; 4227 /** 4228 * ------------------------------------------------------------------------ 4229 * Class Definition 4230 * ------------------------------------------------------------------------ 4231 */ 4232 4233 class Popover extends Tooltip { 4234 // Getters 4235 static get Default() { 4236 return Default$2; 4237 } 4238 4239 static get NAME() { 4240 return NAME$3; 4241 } 4242 4243 static get Event() { 4244 return Event$1; 4245 } 4246 4247 static get DefaultType() { 4248 return DefaultType$2; 4249 } // Overrides 4250 4251 4252 isWithContent() { 4253 return this.getTitle() || this._getContent(); 4254 } 4255 4256 getTipElement() { 4257 if (this.tip) { 4258 return this.tip; 4259 } 4260 4261 this.tip = super.getTipElement(); 4262 4263 if (!this.getTitle()) { 4264 SelectorEngine.findOne(SELECTOR_TITLE, this.tip).remove(); 4265 } 4266 4267 if (!this._getContent()) { 4268 SelectorEngine.findOne(SELECTOR_CONTENT, this.tip).remove(); 4269 } 4270 4271 return this.tip; 4272 } 4273 4274 setContent() { 4275 const tip = this.getTipElement(); // we use append for html objects to maintain js events 4276 4277 this.setElementContent(SelectorEngine.findOne(SELECTOR_TITLE, tip), this.getTitle()); 4278 4279 let content = this._getContent(); 4280 4281 if (typeof content === 'function') { 4282 content = content.call(this._element); 4283 } 4284 4285 this.setElementContent(SelectorEngine.findOne(SELECTOR_CONTENT, tip), content); 4286 tip.classList.remove(CLASS_NAME_FADE$2, CLASS_NAME_SHOW$2); 4287 } // Private 4288 4289 4290 _addAttachmentClass(attachment) { 4291 this.getTipElement().classList.add(`${CLASS_PREFIX}-${this.updateAttachment(attachment)}`); 4292 } 4293 4294 _getContent() { 4295 return this._element.getAttribute('data-bs-content') || this._config.content; 4296 } 4297 4298 _cleanTipClass() { 4299 const tip = this.getTipElement(); 4300 const tabClass = tip.getAttribute('class').match(BSCLS_PREFIX_REGEX); 4301 4302 if (tabClass !== null && tabClass.length > 0) { 4303 tabClass.map(token => token.trim()).forEach(tClass => tip.classList.remove(tClass)); 4304 } 4305 } // Static 4306 4307 4308 static jQueryInterface(config) { 4309 return this.each(function () { 4310 const data = Popover.getOrCreateInstance(this, config); 4311 4312 if (typeof config === 'string') { 4313 if (typeof data[config] === 'undefined') { 4314 throw new TypeError(`No method named "${config}"`); 4315 } 4316 4317 data[config](); 4318 } 4319 }); 4320 } 4321 4322 } 4323 /** 4324 * ------------------------------------------------------------------------ 4325 * jQuery 4326 * ------------------------------------------------------------------------ 4327 * add .Popover to jQuery only if jQuery is present 4328 */ 4329 4330 4331 defineJQueryPlugin(Popover); 4332 4333 /** 4334 * -------------------------------------------------------------------------- 4335 * Bootstrap (v5.0.2): scrollspy.js 4336 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) 4337 * -------------------------------------------------------------------------- 4338 */ 4339 /** 4340 * ------------------------------------------------------------------------ 4341 * Constants 4342 * ------------------------------------------------------------------------ 4343 */ 4344 4345 const NAME$2 = 'scrollspy'; 4346 const DATA_KEY$2 = 'bs.scrollspy'; 4347 const EVENT_KEY$2 = `.${DATA_KEY$2}`; 4348 const DATA_API_KEY$1 = '.data-api'; 4349 const Default$1 = { 4350 offset: 10, 4351 method: 'auto', 4352 target: '' 4353 }; 4354 const DefaultType$1 = { 4355 offset: 'number', 4356 method: 'string', 4357 target: '(string|element)' 4358 }; 4359 const EVENT_ACTIVATE = `activate${EVENT_KEY$2}`; 4360 const EVENT_SCROLL = `scroll${EVENT_KEY$2}`; 4361 const EVENT_LOAD_DATA_API = `load${EVENT_KEY$2}${DATA_API_KEY$1}`; 4362 const CLASS_NAME_DROPDOWN_ITEM = 'dropdown-item'; 4363 const CLASS_NAME_ACTIVE$1 = 'active'; 4364 const SELECTOR_DATA_SPY = '[data-bs-spy="scroll"]'; 4365 const SELECTOR_NAV_LIST_GROUP$1 = '.nav, .list-group'; 4366 const SELECTOR_NAV_LINKS = '.nav-link'; 4367 const SELECTOR_NAV_ITEMS = '.nav-item'; 4368 const SELECTOR_LIST_ITEMS = '.list-group-item'; 4369 const SELECTOR_DROPDOWN$1 = '.dropdown'; 4370 const SELECTOR_DROPDOWN_TOGGLE$1 = '.dropdown-toggle'; 4371 const METHOD_OFFSET = 'offset'; 4372 const METHOD_POSITION = 'position'; 4373 /** 4374 * ------------------------------------------------------------------------ 4375 * Class Definition 4376 * ------------------------------------------------------------------------ 4377 */ 4378 4379 class ScrollSpy extends BaseComponent { 4380 constructor(element, config) { 4381 super(element); 4382 this._scrollElement = this._element.tagName === 'BODY' ? window : this._element; 4383 this._config = this._getConfig(config); 4384 this._selector = `${this._config.target} ${SELECTOR_NAV_LINKS}, ${this._config.target} ${SELECTOR_LIST_ITEMS}, ${this._config.target}
4384 .${CLASS_NAME_DROPDOWN_ITEM}`; 4385 this._offsets = []; 4386 this._targets = []; 4387 this._activeTarget = null; 4388 this._scrollHeight = 0; 4389 EventHandler.on(this._scrollElement, EVENT_SCROLL, () => this._process()); 4390 this.refresh(); 4391 4392 this._process(); 4393 } // Getters 4394 4395 4396 static get Default() { 4397 return Default$1; 4398 } 4399 4400 static get NAME() { 4401 return NAME$2; 4402 } // Public 4403 4404 4405 refresh() { 4406 const autoMethod = this._scrollElement === this._scrollElement.window ? METHOD_OFFSET : METHOD_POSITION; 4407 const offsetMethod = this._config.method === 'auto' ? autoMethod : this._config.method; 4408 const offsetBase = offsetMethod === METHOD_POSITION ? this._getScrollTop() : 0; 4409 this._offsets = []; 4410 this._targets = []; 4411 this._scrollHeight = this._getScrollHeight(); 4412 const targets = SelectorEngine.find(this._selector); 4413 targets.map(element => { 4414 const targetSelector = getSelectorFromElement(element); 4415 const target = targetSelector ? SelectorEngine.findOne(targetSelector) : null; 4416 4417 if (target) { 4418 const targetBCR = target.getBoundingClientRect(); 4419 4420 if (targetBCR.width || targetBCR.height) { 4421 return [Manipulator[offsetMethod](target).top + offsetBase, targetSelector]; 4422 } 4423 } 4424 4425 return null; 4426 }).filter(item => item).sort((a, b) => a[0] - b[0]).forEach(item => { 4427 this._offsets.push(item[0]); 4428 4429 this._targets.push(item[1]); 4430 }); 4431 } 4432 4433 dispose() { 4434 EventHandler.off(this._scrollElement, EVENT_KEY$2); 4435 super.dispose(); 4436 } // Private 4437 4438 4439 _getConfig(config) { 4440 config = { ...Default$1, 4441 ...Manipulator.getDataAttributes(this._element), 4442 ...(typeof config === 'object' && config ? config : {}) 4443 }; 4444 4445 if (typeof config.target !== 'string' && isElement(config.target)) { 4446 let { 4447 id 4448 } = config.target; 4449 4450 if (!id) { 4451 id = getUID(NAME$2); 4452 config.target.id = id; 4453 } 4454 4455 config.target = `#${id}`; 4456 } 4457 4458 typeCheckConfig(NAME$2, config, DefaultType$1); 4459 return config; 4460 } 4461 4462 _getScrollTop() { 4463 return this._scrollElement === window ? this._scrollElement.pageYOffset : this._scrollElement.scrollTop; 4464 } 4465 4466 _getScrollHeight() { 4467 return this._scrollElement.scrollHeight || Math.max(document.body.scrollHeight, document.documentElement.scrollHeight); 4468 } 4469 4470 _getOffsetHeight() { 4471 return this._scrollElement === window ? window.innerHeight : this._scrollElement.getBoundingClientRect().height; 4472 } 4473 4474 _process() { 4475 const scrollTop = this._getScrollTop() + this._config.offset; 4476 4477 const scrollHeight = this._getScrollHeight(); 4478 4479 const maxScroll = this._config.offset + scrollHeight - this._getOffsetHeight(); 4480 4481 if (this._scrollHeight !== scrollHeight) { 4482 this.refresh(); 4483 } 4484 4485 if (scrollTop >= maxScroll) { 4486 const target = this._targets[this._targets.length - 1]; 4487 4488 if (this._activeTarget !== target) { 4489 this._activate(target); 4490 } 4491 4492 return; 4493 } 4494 4495 if (this._activeTarget && scrollTop < this._offsets[0] && this._offsets[0] > 0) { 4496 this._activeTarget = null; 4497 4498 this._clear(); 4499 4500 return; 4501 } 4502 4503 for (let i = this._offsets.length; i--;) { 4504 const isActiveTarget = this._activeTarget !== this._targets[i] && scrollTop >= this._offsets[i] && (typeof this._offsets[i + 1] === 'undefined' || scrollTop < this._offsets[i + 1]); 4505 4506 if (isActiveTarget) { 4507 this._activate(this._targets[i]); 4508 } 4509 } 4510 } 4511 4512 _activate(target) { 4513 this._activeTarget = target; 4514 4515 this._clear(); 4516 4517 const queries = this._selector.split(',').map(selector => `${selector}[data-bs-target="${target}"],${selector}[href="${target}"]`); 4518 4519 const link = SelectorEngine.findOne(queries.join(',')); 4520 4521 if (link.classList.contains(CLASS_NAME_DROPDOWN_ITEM)) { 4522 SelectorEngine.findOne(SELECTOR_DROPDOWN_TOGGLE$1, link.closest(SELECTOR_DROPDOWN$1)).classList.add(CLASS_NAME_ACTIVE$1); 4523 link.classList.add(CLASS_NAME_ACTIVE$1); 4524 } else { 4525 // Set triggered link as active 4526 link.classList.add(CLASS_NAME_ACTIVE$1); 4527 SelectorEngine.parents(link, SELECTOR_NAV_LIST_GROUP$1).forEac
4527h(listGroup => { 4528 // Set triggered links parents as active 4529 // With both <ul> and <nav> markup a parent is the previous sibling of any nav ancestor 4530 SelectorEngine.prev(listGroup, `${SELECTOR_NAV_LINKS}, ${SELECTOR_LIST_ITEMS}`).forEach(item => item.classList.add(CLASS_NAME_ACTIVE$1)); // Handle special case when .nav-link is inside .nav-item 4531 4532 SelectorEngine.prev(listGroup, SELECTOR_NAV_ITEMS).forEach(navItem => { 4533 SelectorEngine.children(navItem, SELECTOR_NAV_LINKS).forEach(item => item.classList.add(CLASS_NAME_ACTIVE$1)); 4534 }); 4535 }); 4536 } 4537 4538 EventHandler.trigger(this._scrollElement, EVENT_ACTIVATE, { 4539 relatedTarget: target 4540 }); 4541 } 4542 4543 _clear() { 4544 SelectorEngine.find(this._selector).filter(node => node.classList.contains(CLASS_NAME_ACTIVE$1)).forEach(node => node.classList.remove(CLASS_NAME_ACTIVE$1)); 4545 } // Static 4546 4547 4548 static jQueryInterface(config) { 4549 return this.each(function () { 4550 const data = ScrollSpy.getOrCreateInstance(this, config); 4551 4552 if (typeof config !== 'string') { 4553 return; 4554 } 4555 4556 if (typeof data[config] === 'undefined') { 4557 throw new TypeError(`No method named "${config}"`); 4558 } 4559 4560 data[config](); 4561 }); 4562 } 4563 4564 } 4565 /** 4566 * ------------------------------------------------------------------------ 4567 * Data Api implementation 4568 * ------------------------------------------------------------------------ 4569 */ 4570 4571 4572 EventHandler.on(window, EVENT_LOAD_DATA_API, () => { 4573 SelectorEngine.find(SELECTOR_DATA_SPY).forEach(spy => new ScrollSpy(spy)); 4574 }); 4575 /** 4576 * ------------------------------------------------------------------------ 4577 * jQuery 4578 * ------------------------------------------------------------------------ 4579 * add .ScrollSpy to jQuery only if jQuery is present 4580 */ 4581 4582 defineJQueryPlugin(ScrollSpy); 4583 4584 /** 4585 * -------------------------------------------------------------------------- 4586 * Bootstrap (v5.0.2): tab.js 4587 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) 4588 * -------------------------------------------------------------------------- 4589 */ 4590 /** 4591 * ------------------------------------------------------------------------ 4592 * Constants 4593 * ------------------------------------------------------------------------ 4594 */ 4595 4596 const NAME$1 = 'tab'; 4597 const DATA_KEY$1 = 'bs.tab'; 4598 const EVENT_KEY$1 = `.${DATA_KEY$1}`; 4599 const DATA_API_KEY = '.data-api'; 4600 const EVENT_HIDE$1 = `hide${EVENT_KEY$1}`; 4601 const EVENT_HIDDEN$1 = `hidden${EVENT_KEY$1}`; 4602 const EVENT_SHOW$1 = `show${EVENT_KEY$1}`; 4603 const EVENT_SHOWN$1 = `shown${EVENT_KEY$1}`; 4604 const EVENT_CLICK_DATA_API = `click${EVENT_KEY$1}${DATA_API_KEY}`; 4605 const CLASS_NAME_DROPDOWN_MENU = 'dropdown-menu'; 4606 const CLASS_NAME_ACTIVE = 'active'; 4607 const CLASS_NAME_FADE$1 = 'fade';
4608 const CLASS_NAME_SHOW$1 = 'show'; 4609 const SELECTOR_DROPDOWN = '.dropdown'; 4610 const SELECTOR_NAV_LIST_GROUP = '.nav, .list-group'; 4611 const SELECTOR_ACTIVE = '.active'; 4612 const SELECTOR_ACTIVE_UL = ':scope > li > .active'; 4613 const SELECTOR_DATA_TOGGLE = '[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]'; 4614 const SELECTOR_DROPDOWN_TOGGLE = '.dropdown-toggle'; 4615 const SELECTOR_DROPDOWN_ACTIVE_CHILD = ':scope > .dropdown-menu .active'; 4616 /** 4617 * ------------------------------------------------------------------------ 4618 * Class Definition 4619 * ------------------------------------------------------------------------ 4620 */ 4621 4622 class Tab extends BaseComponent { 4623 // Getters 4624 static get NAME() { 4625 return NAME$1; 4626 } // Public 4627 4628 4629 show() { 4630 if (this._element.parentNode && this._element.parentNode.nodeType === Node.ELEMENT_NODE && this._element.classList.contains(CLASS_NAME_ACTIVE)) { 4631 return; 4632 } 4633 4634 let previous; 4635 const target = getElementFromSelector(this._element); 4636 4637 const listElement = this._element.closest(SELECTOR_NAV_LIST_GROUP); 4638 4639 if (listElement) { 4640 const itemSelector = listElement.nodeName === 'UL' || listElement.nodeName === 'OL' ? SELECTOR_ACTIVE_UL : SELECTOR_ACTIVE; 4641 previous = SelectorEngine.find(itemSelector, listElement); 4642 previous = previous[previous.length - 1]; 4643 } 4644 4645 const hideEvent = previous ? EventHandler.trigger(previous, EVENT_HIDE$1, { 4646 relatedTarget: this._element 4647 }) : null; 4648 const showEvent = EventHandler.trigger(this._element, EVENT_SHOW$1, { 4649 relatedTarget: previous 4650 }); 4651 4652 if (showEvent.defaultPrevented || hideEvent !== null && hideEvent.defaultPrevented) { 4653 return; 4654 } 4655 4656 this._activate(this._element, listElement); 4657 4658 const complete = () => { 4659 EventHandler.trigger(previous, EVENT_HIDDEN$1, { 4660 relatedTarget: this._element 4661 }); 4662 EventHandler.trigger(this._element, EVENT_SHOWN$1, { 4663 relatedTarget: previous 4664 }); 4665 }; 4666 4667 if (target) { 4668 this._activate(target, target.parentNode, complete); 4669 } else { 4670 complete(); 4671 } 4672 } // Private 4673 4674 4675 _activate(element, container, callback) { 4676 const activeElements = container && (container.nodeName === 'UL' || container.nodeName === 'OL') ? SelectorEngine.find(SELECTOR_ACTIVE_UL, container) : SelectorEngine.children(container, SELECTOR_ACTIVE); 4677 const active = activeElements[0]; 4678 const isTransitioning = callback && active && active.classList.contains(CLASS_NAME_FADE$1); 4679 4680 const complete = () => this._transitionComplete(element, active, callback); 4681 4682 if (active && isTransitioning) { 4683 active.classList.remove(CLASS_NAME_SHOW$1); 4684 4685 this._queueCallback(complete, element, true); 4686 } else { 4687 complete(); 4688 } 4689 } 4690 4691 _transitionComplete(element, active, callback) { 4692 if (active) { 4693 active.classList.remove(CLASS_NAME_ACTIVE);
4694 const dropdownChild = SelectorEngine.findOne(SELECTOR_DROPDOWN_ACTIVE_CHILD, active.parentNode); 4695 4696 if (dropdownChild) { 4697 dropdownChild.classList.remove(CLASS_NAME_ACTIVE); 4698 } 4699 4700 if (active.getAttribute('role') === 'tab') { 4701 active.setAttribute('aria-selected', false); 4702 } 4703 } 4704 4705 element.classList.add(CLASS_NAME_ACTIVE); 4706 4707 if (element.getAttribute('role') === 'tab') { 4708 element.setAttribute('aria-selected', true); 4709 } 4710 4711 reflow(element); 4712 4713 if (element.classList.contains(CLASS_NAME_FADE$1)) { 4714 element.classList.add(CLASS_NAME_SHOW$1); 4715 } 4716 4717 let parent = element.parentNode; 4718 4719 if (parent && parent.nodeName === 'LI') { 4720 parent = parent.parentNode; 4721 } 4722 4723 if (parent && parent.classList.contains(CLASS_NAME_DROPDOWN_MENU)) { 4724 const dropdownElement = element.closest(SELECTOR_DROPDOWN); 4725 4726 if (dropdownElement) { 4727 SelectorEngine.find(SELECTOR_DROPDOWN_TOGGLE, dropdownElement).forEach(dropdown => dropdown.classList.add(CLASS_NAME_ACTIVE)); 4728 } 4729 4730 element.setAttribute('aria-expanded', true); 4731 } 4732 4733 if (callback) { 4734 callback(); 4735 } 4736 } // Static 4737 4738 4739 static jQueryInterface(config) { 4740 return this.each(function () { 4741 const data = Tab.getOrCreateInstance(this); 4742 4743 if (typeof config === 'string') { 4744 if (typeof data[config] === 'undefined') { 4745 throw new TypeError(`No method named "${config}"`); 4746 } 4747 4748 data[config](); 4749 } 4750 }); 4751 } 4752 4753 } 4754 /** 4755 * ------------------------------------------------------------------------ 4756 * Data Api implementation 4757 * ------------------------------------------------------------------------ 4758 */ 4759 4760 4761 EventHandler.on(document, EVENT_CLICK_DATA_API, SELECTOR_DATA_TOGGLE, function (event) { 4762 if (['A', 'AREA'].includes(this.tagName)) { 4763 event.preventDefault(); 4764 } 4765 4766 if (isDisabled(this)) { 4767 return; 4768 } 4769 4770 const data = Tab.getOrCreateInstance(this); 4771 data.show(); 4772 }); 4773 /** 4774 * ------------------------------------------------------------------------ 4775 * jQuery 4776 * ------------------------------------------------------------------------ 4777 * add .Tab to jQuery only if jQuery is present 4778 */ 4779 4780 defineJQueryPlugin(Tab); 4781 4782 /** 4783 * -------------------------------------------------------------------------- 4784 * Bootstrap (v5.0.2): toast.js 4785 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) 4786 * -------------------------------------------------------------------------- 4787 */ 4788 /** 4789 * ------------------------------------------------------------------------ 4790 * Constants 4791 * ------------------------------------------------------------------------ 4792 */ 4793 4794 const NAME = 'toast'; 4795 const DATA_KEY = 'bs.toast'; 4796 const EVENT_KEY = `.${DATA_KEY}`; 4797 const EVENT_CLICK_DISMISS = `click.dismiss${EVENT_KEY}`; 4798 const EVENT_MOUSEOVER = `mouseover${EVENT_KEY}`; 4799 const EVENT_MOUSEOUT = `mouseout${EVENT_KEY}`; 4800 const EVENT_FOCUSIN = `focusin${EVENT_KEY}`; 4801 const EVENT_FOCUSOUT = `focusout${EVENT_KEY}`; 4802 const EVENT_HIDE = `hide${EVENT_KEY}`; 4803 const EVENT_HIDDEN = `hidden${EVENT_KEY}`; 4804 const EVENT_SHOW = `show${EVENT_KEY}`; 4805 const EVENT_SHOWN = `shown${EVENT_KEY}`; 4806 const CLASS_NAME_FADE = 'fade';
4807 const CLASS_NAME_HIDE = 'hide'; 4808 const CLASS_NAME_SHOW = 'show'; 4809 const CLASS_NAME_SHOWING = 'showing'; 4810 const DefaultType = { 4811 animation: 'boolean', 4812 autohide: 'boolean', 4813 delay: 'number' 4814 }; 4815 const Default = { 4816 animation: true, 4817 autohide: true, 4818 delay: 5000 4819 }; 4820 const SELECTOR_DATA_DISMISS = '[data-bs-dismiss="toast"]'; 4821 /** 4822 * ------------------------------------------------------------------------ 4823 * Class Definition 4824 * ------------------------------------------------------------------------ 4825 */ 4826 4827 class Toast extends BaseComponent { 4828 constructor(element, config) { 4829 super(element); 4830 this._config = this._getConfig(config); 4831 this._timeout = null; 4832 this._hasMouseInteraction = false; 4833 this._hasKeyboardInteraction = false; 4834 4835 this._setListeners(); 4836 } // Getters 4837 4838 4839 static get DefaultType() { 4840 return DefaultType; 4841 } 4842 4843 static get Default() { 4844 return Default; 4845 } 4846 4847 static get NAME() { 4848 return NAME; 4849 } // Public 4850 4851 4852 show() { 4853 const showEvent = EventHandler.trigger(this._element, EVENT_SHOW); 4854 4855 if (showEvent.defaultPrevented) { 4856 return; 4857 } 4858 4859 this._clearTimeout(); 4860 4861 if (this._config.animation) { 4862 this._element.classList.add(CLASS_NAME_FADE); 4863 } 4864 4865 const complete = () => { 4866 this._element.classList.remove(CLASS_NAME_SHOWING); 4867 4868 this._element.classList.add(CLASS_NAME_SHOW); 4869 4870 EventHandler.trigger(this._element, EVENT_SHOWN); 4871 4872 this._maybeScheduleHide(); 4873 }; 4874 4875 this._element.classList.remove(CLASS_NAME_HIDE); 4876 4877 reflow(this._element); 4878 4879 this._element.classList.add(CLASS_NAME_SHOWING); 4880 4881 this._queueCallback(complete, this._element, this._config.animation); 4882 } 4883 4884 hide() { 4885 if (!this._element.classList.contains(CLASS_NAME_SHOW)) { 4886 return; 4887 } 4888 4889 const hideEvent = EventHandler.trigger(this._element, EVENT_HIDE); 4890 4891 if (hideEvent.defaultPrevented) { 4892 return; 4893 } 4894 4895 const complete = () => { 4896 this._element.classList.add(CLASS_NAME_HIDE); 4897 4898 EventHandler.trigger(this._element, EVENT_HIDDEN); 4899 }; 4900 4901 this._element.classList.remove(CLASS_NAME_SHOW); 4902 4903 this._queueCallback(complete, this._element, this._config.animation); 4904 } 4905 4906 dispose() { 4907 this._clearTimeout(); 4908 4909 if (this._element.classList.contains(CLASS_NAME_SHOW)) { 4910 this._element.classList.remove(CLASS_NAME_SHOW); 4911 } 4912 4913 super.dispose(); 4914 } // Private 4915 4916 4917 _getConfig(config) { 4918 config = { ...Default, 4919 ...Manipulator.getDataAttributes(this._element), 4920 ...(typeof config === 'object' && config ? config : {}) 4921 }; 4922 typeCheckConfig(NAME, config, this.constructor.DefaultType); 4923 return config; 4924 } 4925 4926 _maybeScheduleHide() { 4927 if (!this._config.autohide) { 4928 return; 4929 } 4930 4931 if (this._hasMouseInteraction || this._hasKeyboardInteraction) { 4932 return; 4933 } 4934 4935 this._timeout = setTimeout(() => { 4936 this.hide(); 4937 }, this._config.delay); 4938 } 4939 4940 _onInteraction(event, isInteracting) { 4941 switch (event.type) { 4942 case 'mouseover': 4943 case 'mouseout': 4944 this._hasMouseInteraction = isInteracting; 4945 break; 4946 4947 case 'focusin': 4948 case 'focusout': 4949 this._hasKeyboardInteraction = isInteracting; 4950 break; 4951 } 4952 4953 if (isInteracting) { 4954 this._clearTimeout(); 4955 4956 return; 4957 } 4958 4959 const nextElement = event.relatedTarget; 4960 4961 if (this._element === nextElement || this._element.contains(nextElement)) { 4962 return; 4963 } 4964 4965 this._maybeScheduleHide(); 4966 } 4967 4968 _setListeners() { 4969 EventHandler.on(this._element, EVENT_CLICK_DISMISS, SELECTOR_DATA_DISMISS, () => this.hide()); 4970 EventHandler.on(this._element, EVENT_MOUSEOVER, event => this._onInteraction(event, true)); 4971 EventHandler.on(this._element, EVENT_MOUSEOUT, event => this._onInteraction(event, false)); 4972 EventHandler.on(this._element, EVENT_FOCUSIN, event => this._onInteraction(event, true)); 4973 EventHandler.on(this._element, EVENT_FOCUSOUT, event => this._onInteraction(event, false)); 4974 } 4975 4976 _clearTimeout() { 4977 clearTimeout(this._timeout); 4978 this._timeout = null; 4979 } // Static 4980 4981 4982 static jQueryInterface(config) { 4983 return this.each(function () { 4984 const data = Toast.getOrCreateInstance(this, config); 4985 4986 if (typeof config === 'string') { 4987 if (typeof data[config] === 'undefined') {
4988 throw new TypeError(`No method named "${config}"`); 4989 } 4990 4991 data[config](this); 4992 } 4993 }); 4994 } 4995 4996 } 4997 /** 4998 * ------------------------------------------------------------------------ 4999 * jQuery 5000 * ------------------------------------------------------------------------ 5001 * add .Toast to jQuery only if jQuery is present 5002 */ 5003 5004 5005 defineJQueryPlugin(Toast); 5006 5007 /** 5008 * -------------------------------------------------------------------------- 5009 * Bootstrap (v5.0.2): index.umd.js 5010 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) 5011 * -------------------------------------------------------------------------- 5012 */ 5013 var index_umd = { 5014 Alert, 5015 Button, 5016 Carousel, 5017 Collapse, 5018 Dropdown, 5019 Modal, 5020 Offcanvas, 5021 Popover, 5022 ScrollSpy, 5023 Tab, 5024 Toast, 5025 Tooltip 5026 }; 5027 5028 return index_umd; 5029 5030}))); 5031 5032; 5033/** 5034* DO NOT EDIT THIS FILE. 5035* See the following change record for more information, 5036* https://www.drupal.org/node/2815083 5037* @preserve 5038**/ 5039(function ($, once) { 5040 var deprecatedMessageSuffix = "is deprecated in Drupal 9.3.0 and will be removed in Drupal 10.0.0. Use the core/once library instead. See https://www.drupal.org/node/3158256"; 5041 var originalJQOnce = $.fn.once; 5042 var originalJQRemoveOnce = $.fn.removeOnce; 5043 $.fn.once = function jQueryOnce(id) { 5044 Drupal.deprecationError({ 5045 message: "jQuery.once() ".concat(deprecatedMessageSuffix) 5046 }); 5047 return originalJQOnce.apply(this, [id]); 5048 }; 5049 $.fn.removeOnce = function jQueryRemoveOnce(id) { 5050 Drupal.deprecationError({ 5051 message: "jQuery.removeOnce() ".concat(deprecatedMessageSuffix) 5052 }); 5053 return originalJQRemoveOnce.apply(this, [id]); 5054 }; 5055 var drupalOnce = once; 5056 function augmentedOnce(id, selector, context) { 5057 originalJQOnce.apply($(selector, context), [id]); 5058 return drupalOnce(id, selector, context); 5059 } 5060 function remove(id, selector, context) { 5061 originalJQRemoveOnce.apply($(selector, context), [id]); 5062 return drupalOnce.remove(id, selector, context); 5063 } 5064 window.once = Object.assign(augmentedOnce, drupalOnce, { 5065 remove: remove 5066 }); 5067})(jQuery, once);; 5068(function ($, Drupal) { 5069 5070 'use strict' 5071 5072 Drupal.behaviors.simplePopupBlocks = { 5073 attach: function (context, settings) { 5074 // Global variables 5075 var popup_settings = drupalSettings.simple_popup_blocks.settings, 5076 _html = document.documentElement, windowWidth = $(window).width(); 5077 5078 $.each(popup_settings, function (index, values) { 5079 5080 // No popup when the window width is less than the trigger width. 5081 if (windowWidth < values.trigger_width) {return null;}; 5082 5083 // Declaring variable inside foreach - so it will not global. 5084 var modal_class = '', 5085 block_id = values.identifier, 5086 visit_counts_arr = values.visit_counts.split(','), 5087 allow_cookie = true, 5088 read_cookie = '', 5089 cookie_val = 1, 5090 cookie_days = values.cookie_expiry || 100, 5091 match = 0, 5092 css_identity = '', 5093 spb_popup_id = '', 5094 modal_close_class = '', 5095 modal_minimize_class = '', 5096 modal_minimized_class = '', 5097 layout_class = '', 5098 class_exists = false, 5099 delays = '', 5100 browser_close_trigger = true, 5101 use_time_frequency = values.use_time_frequency, 5102 time_frequency = values.time_frequency, 5103 time_frequency_cookie = 0, 5104 next_popup = 0, 5105 current_timestamp = 0, 5106 show_minimized_button = values.show_minimized_button, 5107 show_model = true 5108 // Always show popup, so prevent from creating cookie 5109 if (visit_counts_arr.length == 1 && visit_counts_arr[0] == 0 && use_time_frequency == 0) { 5110 allow_cookie = false 5111 } 5112 // Check to see if the block exists in the current page. 5113 var element = document.getElementById(block_id); 5114 if (typeof(element) != 'undefined' && element != null) { 5115 // Creating cookie 5116 if (allow_cookie == true) { 5117 if (use_time_frequency == 0) { 5118 read_cookie = readCookie('spb_' + block_id) 5119 if (read_cookie) { 5120 cookie_val = + read_cookie + 1 5121 createCookie('spb_' + block_id, cookie_val, 100) 5122 } 5123 else { 5124 createCookie('spb_' + block_id, cookie_val, 100) 5125 } 5126 // Match cookie 5127 cookie_val = cookie_val.toString() 5128 match = $.inArray(cookie_val, visit_counts_arr) 5129 5130 if (match === -1) { 5131 show_model = false 5132 } 5133 } 5134 else { 5135 time_frequency_cookie = readCookie('spb_time' + block_id) 5136 current_timestamp = Math.floor(Date.now() / 1000) 5137 next_popup = current_timestamp + parseInt(time_frequency, 10) 5138 5139 if (time_frequency_cookie) { 5140 // If current_timestamp is greater than cookie time show the popup. 5141 if (current_timestamp >= time_frequency_cookie) { 5142 match = 1 5143 }
5144 // This should allow the time frequency to be adjusted down after 5145 // the cookie has been set. 5146 else if (next_popup <= time_frequency_cookie) { 5147 match = 1 5148 } 5149 else { 5150 match = -1 5151 show_model = false 5152 } 5153 5154 // Create new cookie for popup. 5155 if (match === 1) { 5156 createCookie('spb_time' + block_id, next_popup, 100) 5157 } 5158 } 5159 else { 5160 createCookie('spb_time' + block_id, next_popup, 100) 5161 } 5162 } 5163 } 5164 5165 } 5166 // Set css selector 5167 css_identity = '.' 5168 if (values.css_selector == 1) { 5169 css_identity = '#' 5170 } 5171 5172 // Assign dynamic css classes 5173 spb_popup_id = 'spb-' + block_id 5174 modal_class = block_id + '-modal' 5175 modal_close_class = block_id + '-modal-close' 5176 modal_minimize_class = block_id + '-modal-minimize' 5177 modal_minimized_class = block_id + '-modal-minimized' 5178 layout_class = '.' + modal_class + ' .spb-popup-main-wrapper' 5179 // Wrap arround elements 5180 $(css_identity + block_id).once(). 5181 wrap($('<div class="' + modal_class + '"></div>')) 5182 // Hide the popup initially 5183 $('.' + modal_class).once().hide() 5184 5185 // Wrap remaining elements 5186 if ($(css_identity + block_id).closest('.spb-popup-main-wrapper').length) { 5187 return; 5188 } 5189 $(css_identity + block_id). 5190 wrap($('<div class="spb-popup-main-wrapper"></div>')) 5191 $('.' + modal_class). 5192 wrap('<div id="' + spb_popup_id + 5193 '" class="simple-popup-blocks-global"></div>') 5194 $(css_identity + block_id). 5195 before($('<div class="spb-controls"></div>')) 5196 5197 // Skip code for non popup pages. 5198 class_exists = $('#' + spb_popup_id). 5199 hasClass('simple-popup-blocks-global') 5200 if (!class_exists) { 5201 return true 5202 } 5203 // Minimize button wrap 5204 if (values.minimize === "1") { 5205 $("#"+spb_popup_id + " .spb-controls"). 5206 prepend($('<span class="' + modal_minimize_class + 5207 ' spb_minimize">-</span>')) 5208 $('.' + modal_class). 5209 before($('<span class="' + modal_minimized_class + 5210 ' spb_minimized"></span>')) 5211 } 5212 // Close button wrap 5213 if (values.close == 1) { 5214 $("#"+spb_popup_id + " .spb-controls"). 5215 prepend($('<span class="' + modal_close_class + 5216 ' spb_close">×</span>')) 5217 } 5218 // Overlay 5219 if (values.overlay == 1) { 5220 $('.' + modal_class).addClass('spb_overlay') 5221 } 5222 // Inject layout class. 5223 switch (values.layout) { 5224 // Top left. 5225 case '0': 5226 $(layout_class).addClass('spb_top_left') 5227 $(layout_class).css({ 5228 'width': values.width, 5229 }) 5230 break 5231 // Top right. 5232 case '1': 5233 $(layout_class).addClass('spb_top_right') 5234 $(layout_class).css({ 5235 'width': values.width, 5236 }) 5237 break 5238 // Bottom left. 5239 case '2': 5240 $(layout_class).addClass('spb_bottom_left') 5241 $(layout_class).css({ 5242 'width': values.width, 5243 }) 5244 break 5245 // Bottom right. 5246 case '3': 5247 $(layout_class).addClass('spb_bottom_right') 5248 $(layout_class).css({ 5249 'width': values.width, 5250 }) 5251 break 5252 // Center. 5253 case '4': 5254 $(layout_class).addClass('spb_center') 5255 $(layout_class).css({ 5256 'width': values.width, 5257 'margin-left': -values.width / 2 5258 }) 5259 break 5260 // Top Center. 5261 case '5': 5262 $(layout_class).addClass('spb_top_center') 5263 $(layout_class).css({ 5264 'width': values.width, 5265 }) 5266 break 5267 // Top bar. 5268 case '6': 5269 $(layout_class).addClass('spb_top_bar') 5270 $(layout_class).css({}) 5271 break 5272 // Right bar. 5273 case '7': 5274 $(layout_class).addClass('spb_bottom_bar') 5275 $(layout_class).css({}) 5276 break 5277 // Bottom bar. 5278 case '8': 5279 $(layout_class).addClass('spb_left_bar') 5280 $(layout_class).css({ 5281 'width': values.width, 5282 }) 5283 break 5284 // Right bar. 5285 case '9': 5286 $(layout_class).addClass('spb_right_bar') 5287 $(layout_class).css({ 5288 'width': values.width, 5289 }) 5290 break 5291 } 5292 if (show_model === true) { 5293 // Automatic trigger with delay 5294 if (values.trigger_method == 0 && values.delay > 0) { 5295 delays = values.delay * 1000 5296 $('.' + modal_class).delay(delays).fadeIn('slow')
5297 if (values.overlay == 1) { 5298 setTimeout(stopTheScroll, delays) 5299 } 5300 } 5301 // Automatic trigger without delay 5302 else if (values.trigger_method == 0) { 5303 $('.' + modal_class).show() 5304 $(css_identity + block_id).show() 5305 if (values.overlay == 1) { 5306 stopTheScroll() 5307 } 5308 } 5309 // Manual trigger 5310 else if (values.trigger_method == 1) { 5311 $(document).on('click', values.trigger_selector, function (e) { 5312 $('.' + modal_class).show() 5313 $(css_identity + block_id).show() 5314 if (values.overlay == 1) { 5315 stopTheScroll() 5316 } 5317 return false; 5318 }) 5319 } 5320 // Browser close trigger 5321 else if (values.trigger_method == 2) { 5322 $(_html).mouseleave(function (e) { 5323 // Trigger only when mouse leave on top view port 5324 if (e.clientY > 20) { return } 5325 // Trigger only once per page 5326 if (!browser_close_trigger) { return } 5327 browser_close_trigger = false 5328 $('.' + modal_class).show() 5329 $(css_identity + block_id).show() 5330 if (values.overlay == 1) { 5331 stopTheScroll() 5332 } 5333 }) 5334 } 5335 } 5336 5337 // Trigger for close button click 5338 $('.' + modal_close_class).click(function () { 5339 $('.' + modal_class).hide() 5340 startTheScroll() 5341 }) 5342 // Trigger for minimize button click 5343 $('.' + modal_minimize_class).click(function () { 5344 $('.' + modal_class).hide() 5345 startTheScroll() 5346 $('.' + modal_minimized_class).show() 5347 }) 5348 // Trigger for minimized button click 5349 $('.' + modal_minimized_class).click(function () { 5350 $('.' + modal_class).show() 5351 $(css_identity + block_id).show() 5352 if (values.overlay == 1) { 5353 stopTheScroll() 5354 } 5355 5356 // Hide the minimized button. 5357 if (show_minimized_button == 0) { 5358 $('.' + modal_minimized_class).hide() 5359 } 5360 5361 }) 5362 // Trigger for ESC button click 5363 if (values.enable_escape == 1) { 5364 $(document).keyup(function (e) { 5365 if (e.keyCode == 27) { // Escape key maps to keycode `27`. 5366 $('.' + modal_class).hide() 5367 startTheScroll() 5368 $('.' + modal_minimized_class).show() 5369 } 5370 }) 5371 } 5372 5373 // Hide the minimized button. 5374 if (show_minimized_button == 0) { 5375 $('.' + modal_minimized_class).hide() 5376 } 5377 5378 }) // Foreach end. 5379 } 5380 } // document.ready end. 5381 5382 // Remove the scrolling while overlay active 5383 function stopTheScroll () { 5384 $('body').css({ 5385 'overflow': 'hidden', 5386 }); 5387 5388 $('.simple-popup-blocks-global input:text').focus(); 5389 } 5390 5391 // Enable the scrolling while overlay inactive 5392 function startTheScroll () { 5393 $('body').css({ 5394 'overflow': '', 5395 }) 5396 } 5397 5398 // Creating cookie 5399 function createCookie (name, value, days) { 5400 if (days > 0) { 5401 var date = new Date() 5402 date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000)) 5403 var expires = '; expires=' + date.toGMTString() 5404 } 5405 else { 5406 var expires = '' 5407 } 5408 document.cookie = name + '=' + value + expires + '; path=/' 5409 } 5410 5411 // Reading cookie 5412 function readCookie (name) { 5413 var nameEQ = name + '=' 5414 var ca = document.cookie.split(';') 5415 for (var i = 0; i < ca.length; i++) { 5416 var c = ca[i] 5417 while (c.charAt(0) == ' ') { 5418 c = c.substring(1, c.length) 5419 } 5420 if (c.indexOf(nameEQ) == 0) { 5421 return c.substring(nameEQ.length, c.length) 5422 } 5423 } 5424 return null 5425 } 5426 5427})(jQuery, Drupal) 5428; 5429/** 5430 * @file 5431 * Global utilities. 5432 * 5433 */ 5434(function (Drupal) { 5435 5436 'use strict'; 5437 5438 Drupal.behaviors.bootstrap_barrio = { 5439 attach: function (context, settings) { 5440 5441 var position = window.scrollY; 5442 window.addEventListener('scroll', function() { 5443 if (window.scrollY > 50) { 5444 document.querySelector('body').classList.add("scrolled"); 5445 } 5446 else { 5447 document.querySelector('body').classList.remove("scrolled"); 5448 } 5449 var scroll = window.scrollY; 5450 if (scroll > position) { 5451 document.querySelector('body').classList.add("scrolldown"); 5452 document.querySelector('body').classList.remove("scrollup"); 5453 } else { 5454 document.querySelector('body').classList.add("scrollup"); 5455 document.querySelector('body').classList.remove("scrolldown"); 5456 } 5457 position = scroll; 5458 }); 5459 5460 document.addEventListener('click', function (event) { 5461 5462 // If the clicked element doesn't have the right selector, bail 5463 if (!event.target.matches('.dropdown-item a.dropdown-toggle')) return; 5464 5465 // Don't follow the link 5466 event.preventDefault(); 5467 5468 toggle(event.target.next('ul')); 5469 event.stopPropagation(); 5470 5471 }, false); 5472 5473 // Toggle element visibility 5474 var toggle = function (elem) { 5475 5476 // If the element is visible, hide it 5477 if (window.getComputedStyle(elem).display === 'block') { 5478 hide(elem); 5479 return; 5480 } 5481 5482 // Otherwise, show it 5483 show(elem); 5484 5485 }; 5486 5487 var show = function (elem) { 5488 elem.style.display = 'block'; 5489 }; 5490 5491 var hide = function (elem) { 5492 elem.style.display = 'none'; 5493 }; 5494 } 5495 }; 5496 5497})(Drupal); 5498; 5499var g_page_has_loaded = false;
5500 5501function roostDocReady(fn) { 5502 // see if DOM is already available 5503 if ( 5504 document.readyState === "complete" || 5505 document.readyState === "interactive" 5506 ) { 5507 // call on next available tick 5508 setTimeout(fn, 1); 5509 } else { 5510 document.addEventListener("DOMContentLoaded", fn); 5511 } 5512} 5513 5514//Query Gems 5515const q = (qs) => { 5516 return null ?? document.querySelector(qs); 5517}; 5518const oq = (o, qs) => { 5519 return null ?? o.querySelector(qs); 5520}; 5521const aq = async (qs) => { 5522 return null ?? document.querySelector(qs); 5523}; 5524const qsa = (qs) => { 5525 return null ?? document.querySelectorAll(qs); 5526}; 5527const oqa = (o, qs) => { 5528 return null ?? o.querySelectorAll(qs); 5529}; 5530 5531 5532const lock = () => { 5533 document.body.style.overflow = "hidden"; 5534 document.body.style.userSelect = "none"; 5535} 5536const unlock = () => { 5537 document.body.style.overflow = "auto"; 5538 document.body.style.userSelect = "auto"; 5539} 5540 5541const close_modal = (modal_block) => { 5542 unlock(); modal_block.classList.remove('show'); 5543} 5544 5545/** 5546 * @file 5547 * Global utilities. 5548 * 5549 */ 5550 5551(function ($, Drupal) { 5552 "use strict"; 5553 5554 Drupal.behaviors.boosty_barrio = { 5555 attach: function (context, settings) { 5556 window.addEventListener("load", function () { 5557 g_page_has_loaded = true; 5558 }); 5559 }, 5560 }; 5561})(jQuery, Drupal); 5562 5563 5564 5565function setupTriadPopup(theme) { 5566 const popup = document.getElementById(`triad-${theme}-popup-overlay`); 5567 const popupLinks = document.querySelectorAll(`.triad-${theme}-popup-link`); 5568 5569 if (!popup || !popupLinks.length) return; 5570 5571 const continueButtons = popup.querySelectorAll(".triad-popup-continue"); 5572 const backButtons = popup.querySelectorAll(".triad-popup-back"); 5573 5574 popupLinks.forEach(link => { 5575 link.addEventListener("click", function (e) { 5576 e.preventDefault(); 5577 5578 continueButtons.forEach(btn => { 5579 btn.href = this.href; 5580 }); 5581 5582 popup.classList.add("active"); 5583 }); 5584 }); 5585 5586 backButtons.forEach(btn => { 5587 btn.addEventListener("click", function () { 5588 popup.classList.remove("active"); 5589 }); 5590 }); 5591 5592 popup.addEventListener("click", function (e) { 5593 if (e.target === popup) { 5594 popup.classList.remove("active"); 5595 } 5596 }); 5597} 5598 5599// init both themes 5600setupTriadPopup("winter"); 5601setupTriadPopup("summer"); 5602setupTriadPopup("canine"); 5603; 5604/** 5605 * Swiper 8.4.2 5606 * Most modern mobile touch slider and framework with hardware accelerated transitions 5607 * https://swiperjs.com 5608 * 5609 * Copyright 2014-2022 Vladimir Kharlampidi 5610 * 5611 * Released under the MIT License 5612 * 5613 * Released on: September 15, 2022 5614 */ 5615 5616!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).Swiper=t()}(this,(function(){"use strict";function e(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function t(s,a){void 0===s&&(s={}),void 0===a&&(a={}),Object.keys(a).forEach((i=>{void 0===s[i]?s[i]=a[i]:e(a[i])&&e(s[i])&&Object.keys(a[i]).length>0&&t(s[i],a[i])}))}const s={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector:()=>null,querySelectorAll:()=>[],getElementById:()=>null,createEvent:()=>({initEvent(){}}),createElement:()=>({children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName:()=>[]}),createElementNS:()=>({}),importNode:()=>null,location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function a(){const e="undefined"!=typeof document?document:{};return t(e,s),e}const i={document:s,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle:()=>({getPropertyValue:()=>""}),Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia:()=>({}),requestAnimationFrame:e=>"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0),cancelAnimationFrame(e){"undefined"!=typeof setTimeout&&clearTimeout(e)}};function r(){const e="undefined"!=typeof window?window:{};return t(e,i),e}class n extends Array{constructor(e){"number"==typeof e?super(e):(super(...e||[]),function(e){const t=e.__proto__;Object.defineProperty(e,"__proto__",{get:()=>t,set(e){t.__proto__=e}})}(this))}}function l(e){void 0===e&&(e=[]);const t=[];return e.forEach((e=>{Array.isArray(e)?t.push(...l(e)):t.push(e)})),t}function o(e,t){return Array.prototype.filter.call(e,t)}function d(e,t){const s=r(),i=a();let l=[];
vendor: 31,995 bytes, line 5616
5616if(!t&&e instanceof n)return e;if(!e)return new n(l);if("string"==typeof e){const s=e.trim();if(s.indexOf("<")>=0&&s.indexOf(">")>=0){let e="div";0===s.indexOf("<li")&&(e="ul"),0===s.indexOf("<tr")&&(e="tbody"),0!==s.indexOf("<td")&&0!==s.indexOf("<th")||(e="tr"),0===s.indexOf("<tbody")&&(e="table"),0===s.indexOf("<option")&&(e="select");const t=i.createElement(e);t.innerHTML=s;for(let e=0;e<t.childNodes.length;e+=1)l.push(t.childNodes[e])}else l=function(e,t){if("string"!=typeof e)return[e];const s=[],a=t.querySelectorAll(e);for(let e=0;e<a.length;e+=1)s.push(a[e]);return s}(e.trim(),t||i)}else if(e.nodeType||e===s||e===i)l.push(e);else if(Array.isArray(e)){if(e instanceof n)return e;l=e}return new n(function(e){const t=[];for(let s=0;s<e.length;s+=1)-1===t.indexOf(e[s])&&t.push(e[s]);return t}(l))}d.fn=n.prototype;const c={addClass:function(){for(var e=arguments.length,t=new Array(e),s=0;s<e;s++)t[s]=arguments[s];const a=l(t.map((e=>e.split(" "))));return this.forEach((e=>{e.classList.add(...a)})),this},removeClass:function(){for(var e=arguments.length,t=new Array(e),s=0;s<e;s++)t[s]=arguments[s];const a=l(t.map((e=>e.split(" "))));return this.forEach((e=>{e.classList.remove(...a)})),this},hasClass:function(){for(var e=arguments.length,t=new Array(e),s=0;s<e;s++)t[s]=arguments[s];const a=l(t.map((e=>e.split(" "))));return o(this,(e=>a.filter((t=>e.classList.contains(t))).length>0)).length>0},toggleClass:function(){for(var e=arguments.length,t=new Array(e),s=0;s<e;s++)t[s]=arguments[s];const a=l(t.map((e=>e.split(" "))));this.forEach((e=>{a.forEach((t=>{e.classList.toggle(t)}))}))},attr:function(e,t){if(1===arguments.length&&"string"==typeof e)return this[0]?this[0].getAttribute(e):void 0;for(let s=0;s<this.length;s+=1)if(2===arguments.length)this[s].setAttribute(e,t);else for(const t in e)this[s][t]=e[t],this[s].setAttribute(t,e[t]);return this},removeAttr:function(e){for(let t=0;t<this.length;t+=1)this[t].removeAttribute(e);return this},transform:function(e){for(let t=0;t<this.length;t+=1)this[t].style.transform=e;return this},transition:function(e){for(let t=0;t<this.length;t+=1)this[t].style.transitionDuration="string"!=typeof e?`${e}ms`:e;return this},on:function(){for(var e=arguments.length,t=new Array(e),s=0;s<e;s++)t[s]=arguments[s];let[a,i,r,n]=t;function l(e){const t=e.target;if(!t)return;const s=e.target.dom7EventData||[];if(s.indexOf(e)<0&&s.unshift(e),d(t).is(i))r.apply(t,s);else{const e=d(t).parents();for(let t=0;t<e.length;t+=1)d(e[t]).is(i)&&r.apply(e[t],s)}}function o(e){const t=e&&e.target&&e.target.dom7EventData||[];t.indexOf(e)<0&&t.unshift(e),r.apply(this,t)}"function"==typeof t[1]&&([a,r,n]=t,i=void 0),n||(n=!1);const c=a.split(" ");let p;for(let e=0;e<this.length;e+=1){const t=this[e];if(i)for(p=0;p<c.length;p+=1){const e=c[p];t.dom7LiveListeners||(t.dom7LiveListeners={}),t.dom7LiveListeners[e]||(t.dom7LiveListeners[e]=[]),t.dom7LiveListeners[e].push({listener:r,proxyListener:l}),t.addEventListener(e,l,n)}else for(p=0;p<c.length;p+=1){const e=c[p];t.dom7Listeners||(t.dom7Listeners={}),t.dom7Listeners[e]||(t.dom7Listeners[e]=[]),t.dom7Listeners[e].push({listener:r,proxyListener:o}),t.addEventListener(e,o,n)}}return this},off:function(){for(var e=arguments.length,t=new Array(e),s=0;s<e;s++)t[s]=arguments[s];let[a,i,r,n]=t;"function"==typeof t[1]&&([a,r,n]=t,i=void 0),n||(n=!1);const l=a.split(" ");for(let e=0;e<l.length;e+=1){const t=l[e];for(let e=0;e<this.length;e+=1){const s=this[e];let a;if(!i&&s.dom7Listeners?a=s.dom7Listeners[t]:i&&s.dom7LiveListeners&&(a=s.dom7LiveListeners[t]),a&&a.length)for(let e=a.length-1;e>=0;e-=1){const i=a[e];r&&i.listener===r||r&&i.listener&&i.listener.dom7proxy&&i.listener.dom7proxy===r?(s.removeEventListener(t,i.proxyListener,n),a.splice(e,1)):r||(s.removeEventListener(t,i.proxyListener,n),a.splice(e,1))}}}return this},trigger:function(){const e=r();for(var t=arguments.length,s=new Array(t),a=0;a<t;a++)s[a]=arguments[a];const i=s[0].split(" "),n=s[1];for(let t=0;t<i.length;t+=1){const a=i[t];for(let t=0;t<this.length;t+=1){const i=this[t];if(e.CustomEvent){const t=new e.CustomEvent(a,{detail:n,bubbles:!0,cancelable:!0});i.dom7EventData=s.filter(((e,t)=>t>0)),i.dispatchEvent(t),i.dom7EventData=[],delete i.dom7EventData}}}return this},transitionEnd:function(e){const t=this;return e&&t.on("transitionend",(function s(a){a.target===this&&(e.call(this,a),t.off("transitionend",s))})),this},outerWidth:function(e){if(this.length>0){if(e){const e=this.styles();return this[0].offsetWidth+parseFloat(e.getPropertyValue("margin-right"))+parseFloat(e.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null},outerHeight:function(e){if(this.length>0){if(e){const e=this.styles();return this[0].offsetHeight+parseFloat(e.getPropertyValue("margin-top"))+parseFloat(e.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null},styles:function(){const e=r();return this[0]?e.getComputedStyle(this[0],null):{}},offset:function(){if(this.length>0){const e=r(),t=a(),s=this[0],i=s.getBoundingClientRect(),n=t.body,l=s.clientTop||n.clientTop||0,o=s.clientLeft||n.clientLeft||0,d=s===e?e.scrollY:s.scrollTop,c=s===e?e.scrollX:s.scrollLeft;return{top:i.top+d-l,left:i.left+c-o}}return null},css:function(e,t){const s=r();let a;if(1===arguments.length){if("string"!=typeof e){for(a=0;a<this.length;a+=1)for(const t in e)this[a].style[t]=e[t];return this}if(this[0])return s.getComputedStyle(this[0],null).getPropertyValue(e)}if(2===arguments.length&&"string"==typeof e){for(a=0;a<this.length;a+=1)this[a].style[e]=t;return this}return this},each:function(e){return e?(this.forEach(((t,s)=>{e.apply(t,[t,s])})),this):this},html:function(e){if(void 0===e)return this[0]?this[0].innerHTML:null;for(let t=0;t<this.length;t+=1)this[t].innerHTML=e;return this},text:function(e){if(void 0===e)return this[0]?this[0].textContent.trim():null;for(let t=0;t<this.length;t+=1)this[t].textContent=e;return this},is:function(e){const t=r(),s=a(),i=this[0];let l,o;if(!i||void 0===e)return!1;if("string"==typeof e){if(i.matches)return i.matches(e);if(i.webkitMatchesSelector)return i.webkitMatchesSelector(e);if(i.msMatchesSelector)return i.msMatchesSelector(e);for(l=d(e),o=0;o<l.length;o+=1)if(l[o]===i)return!0;return!1}if(e===s)return i===s;if(e===t)return i===t;if(e.nodeType||e instanceof n){for(l=e.nodeType?[e]:e,o=0;o<l.length;o+=1)if(l[o]===i)return!0;return!1}return!1},index:function(){let e,t=this[0];if(t){for(e=0;null!==(t=t.previousSibling);)1===t.nodeType&&(e+=1);return e}},eq:function(e){if(void 0===e)return this;const t=this.length;if(e>t-1)return d([]);if(e<0){const s=t+e;return d(s<0?[]:[this[s]])}return d([this[e]])},append:function(){let e;const t=a();for(let s=0;s<arguments.length;s+=1){e=s<0||arguments.length<=s?void 0:arguments[s];for(let s=0;s<this.length;s+=1)if("string"==typeof e){const a=t.createElement("div");for(a.innerHTML=e;a.firstChild;)this[s].appendChild(a.firstChild)}else if(e instanceof n)for(let t=0;t<e.length;t+=1)this[s].appendChild(e[t]);else this[s].appendChild(e)}return this},prepend:function(e){const t=a();let s,i;for(s=0;s<this.length;s+=1)if("string"==typeof e){const a=t.createElement("div");for(a.innerHTML=e,i=a.childNodes.length-1;i>=0;i-=1)this[s].insertBefore(a.childNodes[i],this[s].childNodes[0])}else if(e instanceof n)for(i=0;i<e.length;i+=1)this[s].insertBefore(e[i],this[s].childNodes[0]);else this[s].insertBefore(e,this[s].childNodes[0]);return this},next:function(e){return this.length>0?e?this[0].nextElementSibling&&d(this[0].nextElementSibling).is(e)?d([this[0].nextElementSibling]):d([]):this[0].nextElementSibling?d([this[0].nextElementSibling]):d([]):d([])},nextAll:function(e){const t=[];let s=this[0];if(!s)return d([]);for(;s.nextElementSibling;){const a=s.nextElementSibling;e?d(a).is(e)&&t.push(a):t.push(a),s=a}return d(t)},prev:function(e){if(this.length>0){const t=this[0];return e?t.previousElementSibling&&d(t.previousElementSibling).is(e)?d([t.previousElementSibling]):d([]):t.previousElementSibling?d([t.previousElementSibling]):d([])}return d([])},prevAll:function(e){const t=[];let s=this[0];if(!s)return d([]);for(;s.previousElementSibling;){const a=s.previousElementSibling;e?d(a).is(e)&&t.push(a):t.push(a),s=a}return d(t)},parent:function(e){const t=[];for(let s=0;s<this.length;s+=1)null!==this[s].parentNode&&(e?d(this[s].parentNode).is(e)&&t.push(this[s].parentNode):t.push(this[s].parentNode));return d(t)},parents:function(e){const t=[];for(let s=0;s<this.length;s+=1){let a=this[s].parentNode;for(;a;)e?d(a).is(e)&&t.push(a):t.push(a),a=a.parentNode}return d(t)},closest:function(e){let t=this;return void 0===e?d([]):(t.is(e)||(t=t.parents(e).eq(0)),t)},find:function(e){const t=[];for(let s=0;s<this.length;s+=1){const a=this[s].querySelectorAll(e);for(let e=0;e<a.length;e+=1)t.push(a[e])}return d(t)},children:function(e){const t=[];for(let s=0;s<this.length;s+=1){const a=this[s].children;for(let s=0;s<a.length;s+=1)e&&!d(a[s]).is(e)||t.push(a[s])}return d(t)},filter:function(e){return d(o(this,e))},remove:function(){for(let e=0;e<this.length;e+=1)this[e].parentNode&&this[e].parentNode.removeChild(this[e]);return this}};function p(e,t){return void 0===t&&(t=0),setTimeout(e,t)}function u(){return Date.now()}function h(e,t){void 0===t&&(t="x");const s=r();let a,i,n;const l=function(e){const t=r();let s;return t.getComputedStyle&&(s=t.getComputedStyle(e,null)),!s&&e.currentStyle&&(s=e.currentStyle),s||(s=e.style),s}(e);return s.WebKitCSSMatrix?(i=l.transform||l.webkitTransform,i.split(",").length>6&&(i=i.split(", ").map((e=>e.replace(",","."))).join(", ")),n=new s.WebKitCSSMatrix("none"===i?"":i)):(n=l.MozTransform||l.OTransform||l.MsTransform||l.msTransform||l.transform||l.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),a=n.toString().split(",")),"x"===t&&(i=s.WebKitCSSMatrix?n.m41:16===a.length?parseFloat(a[12]):parseFloat(a[4])),"y"===t&&(i=s.WebKitCSSMatrix?n.m42:16===a.length?parseFloat(a[13]):parseFloat(a[5])),i||0}function m(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function f(e){return"undefined"!=typeof window&&void 0!==window.HTMLElement?e instanceof HTMLElement:e&&(1===e.nodeType||11===e.nodeType)}function g(){const e=Object(arguments.length<=0?void 0:arguments[0]),t=["__proto__","constructor","prototype"];for(let s=1;s<arguments.length;s+=1){const a=s<0||arguments.length<=s?void 0:arguments[s];if(null!=a&&!f(a)){const s=Object.keys(Object(a)).filter((e=>t.indexOf(e)<0));for(let t=0,i=s.length;t<i;t+=1){const i=s[t],r=Object.getOwnPropertyDescriptor(a,i);void 0!==r&&r.enumerable&&(m(e[i])&&m(a[i])?a[i].__swiper__?e[i]=a[i]:g(e[i],a[i]):!m(e[i])&&m(a[i])?(e[i]={},a[i].__swiper__?e[i]=a[i]:g(e[i],a[i])):e[i]=a[i])}}}return e}function v(e,t,s){e.style.setProperty(t,s)}function w(e){let{swiper:t,targetPosition:s,side:a}=e;const i=r(),n=-t.translate;let l,o=null;const d=t.params.speed;t.wrapperEl.style.scrollSnapType="none",i.cancelAnimationFrame(t.cssModeFrameID);const c=s>n?"next":"prev",p=(e,t)=>"next"===c&&e>=t||"prev"===c&&e<=t,u=()=>{l=(new Date).getTime(),null===o&&(o=l);const e=Math.max(Math.min((l-o)/d,1),0),r=.5-Math.cos(e*Math.PI)/2;let c=n+r*(s-n);if(p(c,s)&&(c=s),t.wrapperEl.scrollTo({[a]:c}),p(c,s))return t.wrapperEl.style.overflow="hidden",t.wrapperEl.style.scrollSnapType="",setTimeout((()=>{t.wrapperEl.style.overflow="",t.wrapperEl.scrollTo({[a]:c})})),void i.cancelAnimationFrame(t.cssModeFrameID);t.cssModeFrameID=i.requestAnimationFrame(u)};u()}let b,x,y;function E(){return b||(b=function(){const e=r(),t=a();return{smoothScroll:t.documentElement&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch),passiveListener:function(){let t=!1;try{const s=Object.defineProperty({},"passive",{get(){t=!0}});e.addEventListener("testPassiveListener",null,s)}catch(e){}return t}(),gestures:"ongesturestart"in e}}()),b}function C(e){return void 0===e&&(e={}),x||(x=function(e){let{userAgent:t}=void 0===e?{}:e;const s=E(),a=r(),i=a.navigator.platform,n=t||a.navigator.userAgent,l={ios:!1,android:!1},o=a.screen.width,d=a.screen.height,c=n.match(/(Android);?[\s\/]+([\d.]+)?/);let p=n.match(/(iPad).*OS\s([\d_]+)/);const u=n.match(/(iPod)(.*OS\s([\d_]+))?/),h=!p&&n.match(/(iPhone\sOS|iOS)\s([\d_]+)/),m="Win32"===i;let f="MacIntel"===i;return!p&&f&&s.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(`${o}x${d}`)>=0&&(p=n.match(/(Version)\/([\d.]+)/),p||(p=[0,1,"13_0_0"]),f=!1),c&&!m&&(l.os="android",l.android=!0),(p||h||u)&&(l.os="ios",l.ios=!0),l}(e)),x}function T(){return y||(y=function(){const e=r();return{isSafari:function(){const t=e.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&t.indexOf("chrome")<0&&t.indexOf("android")<0}(),isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent)}}()),y}Object.keys(c).forEach((e=>{Object.defineProperty(d.fn,e,{value:c[e],writable:!0})}));var $={on(e,t,s){const a=this;if(!a.eventsListeners||a.destroyed)return a;if("function"!=typeof t)return a;const i=s?"unshift":"push";return e.split(" ").forEach((e=>{a.eventsListeners[e]||(a.eventsListeners[e]=[]),a.eventsListeners[e][i](t)})),a},once(e,t,s){const a=this;if(!a.eventsListeners||a.destroyed)return a;if("function"!=typeof t)return a;function i(){a.off(e,i),i.__emitterProxy&&delete i.__emitterProxy;for(var s=arguments.length,r=new Array(s),n=0;n<s;n++)r[n]=arguments[n];t.apply(a,r)}return i.__emitterProxy=t,a.on(e,i,s)},onAny(e,t){const s=this;if(!s.eventsListeners||s.destroyed)return s;if("function"!=typeof e)return s;const a=t?"unshift":"push";return s.eventsAnyListeners.indexOf(e)<0&&s.eventsAnyListeners[a](e),s},offAny(e){const t=this;if(!t.eventsListeners||t.destroyed)return t;if(!t.eventsAnyListeners)return t;const s=t.eventsAnyListeners.indexOf(e);return s>=0&&t.eventsAnyListeners.splice(s,1),t},off(e,t){const s=this;return!s.eventsListeners||s.destroyed?s:s.eventsListeners?(e.split(" ").forEach((e=>{void 0===t?s.eventsListeners[e]=[]:s.eventsListeners[e]&&s.eventsListeners[e].forEach(((a,i)=>{(a===t||a.__emitterProxy&&a.__emitterProxy===t)&&s.eventsListeners[e].splice(i,1)}))})),s):s},emit(){const e=this;if(!e.eventsListeners||e.destroyed)return e;if(!e.eventsListeners)return e;let t,s,a;for(var i=arguments.length,r=new Array(i),n=0;n<i;n++)r[n]=arguments[n];"string"==typeof r[0]||Array.isArray(r[0])?(t=r[0],s=r.slice(1,r.length),a=e):(t=r[0].events,s=r[0].data,a=r[0].context||e),s.unshift(a);return(Array.isArray(t)?t:t.split(" ")).forEach((t=>{e.eventsAnyListeners&&e.eventsAnyListeners.length&&e.eventsAnyListeners.forEach((e=>{e.apply(a,[t,...s])})),e.eventsListeners&&e.eventsListeners[t]&&e.eventsListeners[t].forEach((e=>{e.apply(a,s)}))})),e}};var S={updateSize:function(){const e=this;let t,s;const a=e.$el;t=void 0!==e.params.width&&null!==e.params.width?e.params.width:a[0].clientWidth,s=void 0!==e.params.height&&null!==e.params.height?e.params.height:a[0].clientHeight,0===t&&e.isHorizontal()||0===s&&e.isVertical()||(t=t-parseInt(a.css("padding-left")||0,10)-parseInt(a.css("padding-right")||0,10),s=s-parseInt(a.css("padding-top")||0,10)-parseInt(a.css("padding-bottom")||0,10),Number.isNaN(t)&&(t=0),Number.isNaN(s)&&(s=0),Object.assign(e,{width:t,height:s,size:e.isHorizontal()?t:s}))},updateSlides:function(){const e=this;function t(t){return e.isHorizontal()?t:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[t]}function s(e,s){return parseFloat(e.getPropertyValue(t(s))||0)}const a=e.params,{$wrapperEl:i,size:r,rtlTranslate:n,wrongRTL:l}=e,o=e.virtual&&a.virtual.enabled,d=o?e.virtual.slides.length:e.slides.length,c=i.children(`.${e.params.slideClass}`),p=o?e.virtual.slides.length:c.length;let u=[];const h=[],m=[];let f=a.slidesOffsetBefore;"function"==typeof f&&(f=a.slidesOffsetBefore.call(e));let g=a.slidesOffsetAfter;"function"==typeof g&&(g=a.slidesOffsetAfter.call(e));const w=e.snapGrid.length,b=e.slidesGrid.length;let x=a.spaceBetween,y=-f,E=0,C=0;if(void 0===r)return;"string"==typeof x&&x.indexOf("%")>=0&&(x=parseFloat(x.replace("%",""))/100*r),e.virtualSize=-x,n?c.css({marginLeft:"",marginBottom:"",marginTop:""}):c.css({marginRight:"",marginBottom:"",marginTop:""}),a.centeredSlides&&a.cssMode&&(v(e.wrapperEl,"--swiper-centered-offset-before",""),v(e.wrapperEl,"--swiper-centered-offset-after",""));const T=a.grid&&a.grid.rows>1&&e.grid;let $;T&&e.grid.initSlides(p);const S="auto"===a.slidesPerView&&a.breakpoints&&Object.keys(a.breakpoints).filter((e=>void 0!==a.breakpoints[e].slidesPerView)).length>0;for(let i=0;i<p;i+=1){$=0;const n=c.eq(i);if(T&&e.grid.updateSlide(i,n,p,t),"none"!==n.css("display")){if("auto"===a.slidesPerView){S&&(c[i].style[t("width")]="");const r=getComputedStyle(n[0]),l=n[0].style.transform,o=n[0].style.webkitTransform;if(l&&(n[0].style.transform="none"),o&&(n[0].style.webkitTransform="none"),a.roundLengths)$=e.isHorizontal()?n.outerWidth(!0):n.outerHeight(!0);else{const e=s(r,"width"),t=s(r,"padding-left"),a=s(r,"padding-right"),i=s(r,"margin-left"),l=s(r,"margin-right"),o=r.getPropertyValue("box-sizing");if(o&&"border-box"===o)$=e+i+l;else{const{clientWidth:s,offsetWidth:r}=n[0];$=e+t+a+i+l+(r-s)}}l&&(n[0].style.transform=l),o&&(n[0].style.webkitTransform=o),a.roundLengths&&($=Math.floor($))}else $=(r-(a.slidesPerView-1)*x)/a.slidesPerView,a.roundLengths&&($=Math.floor($)),c[i]&&(c[i].style[t("width")]=`${$}px`);c[i]&&(c[i].swiperSlideSize=$),m.push($),a.centeredSlides?(y=y+$/2+E/2+x,0===E&&0!==i&&(y=y-r/2-x),0===i&&(y=y-r/2-x),Math.abs(y)<.001&&(y=0),a.roundLengths&&(y=Math.floor(y)),C%a.slidesPerGroup==0&&u.push(y),h.push(y)):(a.roundLengths&&(y=Math.floor(y)),(C-Math.min(e.params.slidesPerGroupSkip,C))%e.params.slidesPerGroup==0&&u.push(y),h.push(y),y=y+$+x),e.virtualSize+=$+x,E=$,C+=1}}if(e.virtualSize=Math.max(e.virtualSize,r)+g,n&&l&&("slide"===a.effect||"coverflow"===a.effect)&&i.css({width:`${e.virtualSize+a.spaceBetween}px`}),a.setWrapperSize&&i.css({[t("width")]:`${e.virtualSize+a.spaceBetween}px`}),T&&e.grid.updateWrapperSize($,u,t),!a.centeredSlides){const t=[];for(let s=0;s<u.length;s+=1){let i=u[s];a.roundLengths&&(i=Math.floor(i)),u[s]<=e.virtualSize-r&&t.push(i)}u=t,Math.floor(e.virtualSize-r)-Math.floor(u[u.length-1])>1&&u.push(e.virtualSize-r)}if(0===u.length&&(u=[0]),0!==a.spaceBetween){const s=e.isHorizontal()&&n?"marginLeft":t("marginRight");c.filter(((e,t)=>!a.cssMode||t!==c.length-1)).css({[s]:`${x}px`})}if(a.centeredSlides&&a.centeredSlidesBounds){let e=0;m.forEach((t=>{e+=t+(a.spaceBetween?a.spaceBetween:0)})),e-=a.spaceBetween;const t=e-r;u=u.map((e=>e<0?-f:e>t?t+g:e))}if(a.centerInsufficientSlides){let e=0;if(m.forEach((t=>{e+=t+(a.spaceBetween?a.spaceBetween:0)})),e-=a.spaceBetween,e<r){const t=(r-e)/2;u.forEach(((e,s)=>{u[s]=e-t})),h.forEach(((e,s)=>{h[s]=e+t}))}}if(Object.assign(e,{slides:c,snapGrid:u,slidesGrid:h,slidesSizesGrid:m}),a.centeredSlides&&a.cssMode&&!a.centeredSlidesBounds){v(e.wrapperEl,"--swiper-centered-offset-before",-u[0]+"px"),v(e.wrapperEl,"--swiper-centered-offset-after",e.size/2-m[m.length-1]/2+"px");const t=-e.snapGrid[0],s=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map((e=>e+t)),e.slidesGrid=e.slidesGrid.map((e=>e+s))}if(p!==d&&e.emit("slidesLengthChange"),u.length!==w&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),h.length!==b&&e.emit("slidesGridLengthChange"),a.watchSlidesProgress&&e.updateSlidesOffset(),!(o||a.cssMode||"slide"!==a.effect&&"fade"!==a.effect)){const t=`${a.containerModifierClass}backface-hidden`,s=e.$el.hasClass(t);p<=a.maxBackfaceHiddenSlides?s||e.$el.addClass(t):s&&e.$el.removeClass(t)}},updateAutoHeight:function(e){const t=this,s=[],a=t.virtual&&t.params.virtual.enabled;let i,r=0;"number"==typeof e?t.setTransition(e):!0===e&&t.setTransition(t.params.speed);const n=e=>a?t.slides.filter((t=>parseInt(t.getAttribute("data-swiper-slide-index"),10)===e))[0]:t.slides.eq(e)[0];if("auto"!==t.params.slidesPerView&&t.params.slidesPerView>1)if(t.params.centeredSlides)(t.visibleSlides||d([])).each((e=>{s.push(e)}));else for(i=0;i<Math.ceil(t.params.slidesPerView);i+=1){const e=t.activeIndex+i;if(e>t.slides.length&&!a)break;s.push(n(e))}else s.push(n(t.activeIndex));for(i=0;i<s.length;i+=1)if(void 0!==s[i]){const e=s[i].offsetHeight;r=e>r?e:r}(r||0===r)&&t.$wrapperEl.css("height",`${r}px`)},updateSlidesOffset:function(){const e=this,t=e.slides;for(let s=0;s<t.length;s+=1)t[s].swiperSlideOffset=e.isHorizontal()?t[s].offsetLeft:t[s].offsetTop},updateSlidesProgress:function(e){void 0===e&&(e=this&&this.translate||0);const t=this,s=t.params,{slides:a,rtlTranslate:i,snapGrid:r}=t;if(0===a.length)return;void 0===a[0].swiperSlideOffset&&t.updateSlidesOffset();let n=-e;i&&(n=e),a.removeClass(s.slideVisibleClass),t.visibleSlidesIndexes=[],t.visibleSlides=[];for(let e=0;e<a.length;e+=1){const l=a[e];let o=l.swiperSlideOffset;s.cssMode&&s.centeredSlides&&(o-=a[0].swiperSlideOffset);const d=(n+(s.centeredSlides?t.minTranslate():0)-o)/(l.swiperSlideSize+s.spaceBetween),c=(n-r[0]+(s.centeredSlides?t.minTranslate():0)-o)/(l.swiperSlideSize+s.spaceBetween),p=-(n-o),u=p+t.slidesSizesGrid[e];(p>=0&&p<t.size-1||u>1&&u<=t.size||p<=0&&u>=t.size)&&(t.visibleSlides.push(l),t.visibleSlidesIndexes.push(e),a.eq(e).addClass(s.slideVisibleClass)),l.progress=i?-d:d,l.originalProgress=i?-c:c}t.visibleSlides=d(t.visibleSlides)},updateProgress:function(e){const t=this;if(void 0===e){const s=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*s||0}const s=t.params,a=t.maxTranslate()-t.minTranslate();let{progress:i,isBeginning:r,isEnd:n}=t;const l=r,o=n;0===a?(i=0,r=!0,n=!0):(i=(e-t.minTranslate())/a,r=i<=0,n=i>=1),Object.assign(t,{progress:i,isBeginning:r,isEnd:n}),(s.watchSlidesProgress||s.centeredSlides&&s.autoHeight)&&t.updateSlidesProgress(e),r&&!l&&t.emit("reachBeginning toEdge"),n&&!o&&t.emit("reachEnd toEdge"),(l&&!r||o&&!n)&&t.emit("fromEdge"),t.emit("progress",i)},updateSlidesClasses:function(){const e=this,{slides:t,params:s,$wrapperEl:a,activeIndex:i,realIndex:r}=e,n=e.virtual&&s.virtual.enabled;let l;t.removeClass(`${s.slideActiveClass} ${s.slideNextClass} ${s.slidePrevClass} ${s.slideDuplicateActiveClass} ${s.slideDuplicateNextClass} ${s.slideDuplicatePrevClass}`),l=n?e.$wrapperEl.find(`.${s.slideClass}[data-swiper-slide-index="${i}"]`):t.eq(i),l.addClass(s.slideActiveClass),s.loop&&(l.hasClass(s.slideDuplicateClass)?a.children(`.${s.slideClass}:not(.${s.slideDuplicateClass})[data-swiper-slide-index="${r}"]`).addClass(s.slideDuplicateActiveClass):a.children(`.${s.slideClass}.${s.slideDuplicateClass}[data-swiper-slide-index="${r}"]`).addClass(s.slideDuplicateActiveClass));let o=l.nextAll(`.${s.slideClass}`).eq(0).addClass(s.slideNextClass);s.loop&&0===o.length&&(o=t.eq(0),o.addClass(s.slideNextClass));let d=l.prevAll(`.${s.slideClass}`).eq(0).addClass(s.slidePrevClass);s.loop&&0===d.length&&(d=t.eq(-1),d.addClass(s.slidePrevClass)),s.loop&&(o.hasClass(s.slideDuplicateClass)?a.children(`.${s.slideClass}:not(.${s.slideDuplicateClass})[data-swiper-slide-index="${o.attr("data-swiper-slide-index")}"]`).addClass(s.slideDuplicateNextClass):a.children(`.${s.slideClass}.${s.slideDuplicateClass}[data-swiper-slide-index="${o.attr("data-swiper-slide-index")}"]`).addClass(s.slideDuplicateNextClass),d.hasClass(s.slideDuplicateClass)?a.children(`.${s.slideClass}:not(.${s.slideDuplicateClass})[data-swiper-slide-index="${d.attr("data-swiper-slide-index")}"]`).addClass(s.slideDuplicatePrevClass):a.children(`.${s.slideClass}.${s.slideDuplicateClass}[data-swiper-slide-index="${d.attr("data-swiper-slide-index")}"]`).addClass(s.slideDuplicatePrevClass)),e.emitSlidesClasses()},updateActiveIndex:function(e){const t=this,s=t.rtlTranslate?t.translate:-t.translate,{slidesGrid:a,snapGrid:i,params:r,activeIndex:n,realIndex:l,snapIndex:o}=t;let d,c=e;if(void 0===c){for(let e=0;e<a.length;e+=1)void 0!==a[e+1]?s>=a[e]&&s<a[e+1]-(a[e+1]-a[e])/2?c=e:s>=a[e]&&s<a[e+1]&&(c=e+1):s>=a[e]&&(c=e);r.normalizeSlideIndex&&(c<0||void 0===c)&&(c=0)}if(i.indexOf(s)>=0)d=i.indexOf(s);else{const e=Math.min(r.slidesPerGroupSkip,c);d=e+Math.floor((c-e)/r.slidesPerGroup)}if(d>=i.length&&(d=i.length-1),c===n)return void(d!==o&&(t.snapIndex=d,t.emit("snapIndexChange")));const p=parseInt(t.slides.eq(c).attr("data-swiper-slide-index")||c,10);Object.assign(t,{snapIndex:d,realIndex:p,previousIndex:n,activeIndex:c}),t.emit("activeIndexChange"),t.emit("snapIndexChange"),l!==p&&t.emit("realIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&t.emit("slideChange")},updateClickedSlide:function(e){const t=this,s=t.params,a=d(e).closest(`.${s.slideClass}`)[0];let i,r=!1;if(a)for(let e=0;e<t.slides.length;e+=1)if(t.slides[e]===a){r=!0,i=e;break}if(!a||!r)return t.clickedSlide=void 0,void(t.clickedIndex=void 0);t.clickedSlide=a,t.virtual&&t.params.virtual.enabled?t.clickedIndex=parseInt(d(a).attr("data-swiper-slide-index"),10):t.clickedIndex=i,s.slideToClickedSlide&&void 0!==t.clickedIndex&&t.clickedIndex!==t.activeIndex&&t.slideToClickedSlide()}};var M={getTranslate:function(e){void 0===e&&(e=this.isHorizontal()?"x":"y");const{params:t,rtlTranslate:s,translate:a,$wrapperEl:i}=this;if(t.virtualTranslate)return s?-a:a;if(t.cssMode)return a;let r=h(i[0],e);return s&&(r=-r),r||0},setTranslate:function(e,t){const s=this,{rtlTranslate:a,params:i,$wrapperEl:r,wrapperEl:n,progress:l}=s;let o,d=0,c=0;s.isHorizontal()?d=a?-e:e:c=e,i.roundLengths&&(d=Math.floor(d),c=Math.floor(c)),i.cssMode?n[s.isHorizontal()?"scrollLeft":"scrollTop"]=s.isHorizontal()?-d:-c:i.virtualTranslate||r.transform(`translate3d(${d}px, ${c}px, 0px)`),s.previousTranslate=s.translate,s.translate=s.isHorizontal()?d:c;const p=s.maxTranslate()-s.minTranslate();o=0===p?0:(e-s.minTranslate())/p,o!==l&&s.updateProgress(e),s.emit("setTranslate",s.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(e,t,s,a,i){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===s&&(s=!0),void 0===a&&(a=!0);const r=this,{params:n,wrapperEl:l}=r;if(r.animating&&n.preventInteractionOnTransition)return!1;const o=r.minTranslate(),d=r.maxTranslate();let c;if(c=a&&e>o?o:a&&e<d?d:e,r.updateProgress(c),n.cssMode){const e=r.isHorizontal();if(0===t)l[e?"scrollLeft":"scrollTop"]=-c;else{if(!r.support.smoothScroll)return w({swiper:r,targetPosition:-c,side:e?"left":"top"}),!0;l.scrollTo({[e?"left":"top"]:-c,behavior:"smooth"})}return!0}return 0===t?(r.setTransition(0),r.setTranslate(c),s&&(r.emit("beforeTransitionStart",t,i),r.emit("transitionEnd"))):(r.setTransition(t),r.setTranslate(c),s&&(r.emit("beforeTransitionStart",t,i),r.emit("transitionStart")),r.animating||(r.animating=!0,r.onTranslateToWrapperTransitionEnd||(r.onTranslateToWrapperTransitionEnd=function(e){r&&!r.destroyed&&e.target===this&&(r.$wrapperEl[0].removeEventListener("transitionend",r.onTranslateToWrapperTransitionEnd),r.$wrapperEl[0].removeEventListener("webkitTransitionEnd",r.onTranslateToWrapperTransitionEnd),r.onTranslateToWrapperTransitionEnd=null,delete r.onTranslateToWrapperTransitionEnd,s&&r.emit("transitionEnd"))}),r.$wrapperEl[0].addEventListener("transitionend",r.onTranslateToWrapperTransitionEnd),r.$wrapperEl[0].addEventListener("webkitTransitionEnd",r.onTranslateToWrapperTransitionEnd))),!0}};function P(e){let{swiper:t,runCallbacks:s,direction:a,step:i}=e;const{activeIndex:r,previousIndex:n}=t;let l=a;if(l||(l=r>n?"next":r<n?"prev":"reset"),t.emit(`transition${i}`),s&&r!==n){if("reset"===l)return void t.emit(`slideResetTransition${i}`);t.emit(`slideChangeTransition${i}`),"next"===l?t.emit(`slideNextTransition${i}`):t.emit(`slidePrevTransition${i}`)}}var k={slideTo:function(e,t,s,a,i){if(void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===s&&(s=!0),"number"!=typeof e&&"string"!=typeof e)throw new Error(`The 'index' argument cannot have type other than 'number' or 'string'. [${typeof e}] given.`);if("string"==typeof e){const t=parseInt(e,10);if(!isFinite(t))throw new Error(`The passed-in 'index' (string) couldn't be converted to 'number'. [${e}] given.`);e=t}const r=this;let n=e;n<0&&(n=0);const{params:l,snapGrid:o,slidesGrid:d,previousIndex:c,activeIndex:p,rtlTranslate:u,wrapperEl:h,enabled:m}=r;if(r.animating&&l.preventInteractionOnTransition||!m&&!a&&!i)return!1;const f=Math.min(r.params.slidesPerGroupSkip,n);let g=f+Math.floor((n-f)/r.params.slidesPerGroup);g>=o.length&&(g=o.length-1);const v=-o[g];if(l.normalizeSlideIndex)for(let e=0;e<d.length;e+=1){const t=-Math.floor(100*v),s=Math.floor(100*d[e]),a=Math.floor(100*d[e+1]);void 0!==d[e+1]?t>=s&&t<a-(a-s)/2?n=e:t>=s&&t<a&&(n=e+1):t>=s&&(n=e)}if(r.initialized&&n!==p){if(!r.allowSlideNext&&v<r.translate&&v<r.minTranslate())return!1;if(!r.allowSlidePrev&&v>r.translate&&v>r.maxTranslate()&&(p||0)!==n)return!1}let b;if(n!==(c||0)&&s&&r.emit("beforeSlideChangeStart"),r.updateProgress(v),b=n>p?"next":n<p?"prev":"reset",u&&-v===r.translate||!u&&v===r.translate)return r.updateActiveIndex(n),l.autoHeight&&r.updateAutoHeight(),r.updateSlidesClasses(),"slide"!==l.effect&&r.setTranslate(v),"reset"!==b&&(r.transitionStart(s,b),r.transitionEnd(s,b)),!1;if(l.cssMode){const e=r.isHorizontal(),s=u?v:-v;if(0===t){const t=r.virtual&&r.params.virtual.enabled;t&&(r.wrapperEl.style.scrollSnapType="none",r._immediateVirtual=!0),h[e?"scrollLeft":"scrollTop"]=s,t&&requestAnimationFrame((()=>{r.wrapperEl.style.scrollSnapType="",r._swiperImmediateVirtual=!1}))}else{if(!r.support.smoothScroll)return w({swiper:r,targetPosition:s,side:e?"left":"top"}),!0;h.scrollTo({[e?"left":"top"]:s,behavior:"smooth"})}return!0}return r.setTransition(t),r.setTranslate(v),r.updateActiveIndex(n),r.updateSlidesClasses(),r.emit("beforeTransitionStart",t,a),r.transitionStart(s,b),0===t?r.transitionEnd(s,b):r.animating||(r.animating=!0,r.onSlideToWrapperTransitionEnd||(r.onSlideToWrapperTransitionEnd=function(e){r&&!r.destroyed&&e.target===this&&(r.$wrapperEl[0].removeEventListener("transitionend",r.onSlideToWrapperTransitionEnd),r.$wrapperEl[0].removeEventListener("webkitTransitionEnd",r.onSlideToWrapperTransitionEnd),r.onSlideToWrapperTransitionEnd=null,delete r.onSlideToWrapperTransitionEnd,r.transitionEnd(s,b))}),r.$wrapperEl[0].addEventListener("transitionend",r.onSlideToWrapperTransitionEnd),r.$wrapperEl[0].addEventListener("webkitTransitionEnd",r.onSlideToWrapperTransitionEnd)),!0},slideToLoop:function(e,t,s,a){if(void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===s&&(s=!0),"string"==typeof e){const t=parseInt(e,10);if(!isFinite(t))throw new Error(`The passed-in 'index' (string) couldn't be converted to 'number'. [${e}] given.`);e=t}const i=this;let r=e;return i.params.loop&&(r+=i.loopedSlides),i.slideTo(r,t,s,a)},slideNext:function(e,t,s){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);const a=this,{animating:i,enabled:r,params:n}=a;if(!r)return a;let l=n.slidesPerGroup;"auto"===n.slidesPerView&&1===n.slidesPerGroup&&n.slidesPerGroupAuto&&(l=Math.max(a.slidesPerViewDynamic("current",!0),1));const o=a.activeIndex<n.slidesPerGroupSkip?1:l;if(n.loop){if(i&&n.loopPreventsSlide)return!1;a.loopFix(),a._clientLeft=a.$wrapperEl[0].clientLeft}return n.rewind&&a.isEnd?a.slideTo(0,e,t,s):a.slideTo(a.activeIndex+o,e,t,s)},slidePrev:function(e,t,s){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);const a=this,{params:i,animating:r,snapGrid:n,slidesGrid:l,rtlTranslate:o,enabled:d}=a;if(!d)return a;if(i.loop){if(r&&i.loopPreventsSlide)return!1;a.loopFix(),a._clientLeft=a.$wrapperEl[0].clientLeft}function c(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}const p=c(o?a.translate:-a.translate),u=n.map((e=>c(e)));let h=n[u.indexOf(p)-1];if(void 0===h&&i.cssMode){let e;
vendor: 8,012 bytes, line 5616
5616n.forEach(((t,s)=>{p>=t&&(e=s)})),void 0!==e&&(h=n[e>0?e-1:e])}let m=0;if(void 0!==h&&(m=l.indexOf(h),m<0&&(m=a.activeIndex-1),"auto"===i.slidesPerView&&1===i.slidesPerGroup&&i.slidesPerGroupAuto&&(m=m-a.slidesPerViewDynamic("previous",!0)+1,m=Math.max(m,0))),i.rewind&&a.isBeginning){const i=a.params.virtual&&a.params.virtual.enabled&&a.virtual?a.virtual.slides.length-1:a.slides.length-1;return a.slideTo(i,e,t,s)}return a.slideTo(m,e,t,s)},slideReset:function(e,t,s){return void 0===e&&(e=this.params.speed),void 0===t&&(t=!0),this.slideTo(this.activeIndex,e,t,s)},slideToClosest:function(e,t,s,a){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0),void 0===a&&(a=.5);const i=this;let r=i.activeIndex;const n=Math.min(i.params.slidesPerGroupSkip,r),l=n+Math.floor((r-n)/i.params.slidesPerGroup),o=i.rtlTranslate?i.translate:-i.translate;if(o>=i.snapGrid[l]){const e=i.snapGrid[l];o-e>(i.snapGrid[l+1]-e)*a&&(r+=i.params.slidesPerGroup)}else{const e=i.snapGrid[l-1];o-e<=(i.snapGrid[l]-e)*a&&(r-=i.params.slidesPerGroup)}return r=Math.max(r,0),r=Math.min(r,i.slidesGrid.length-1),i.slideTo(r,e,t,s)},slideToClickedSlide:function(){const e=this,{params:t,$wrapperEl:s}=e,a="auto"===t.slidesPerView?e.slidesPerViewDynamic():t.slidesPerView;let i,r=e.clickedIndex;if(t.loop){if(e.animating)return;i=parseInt(d(e.clickedSlide).attr("data-swiper-slide-index"),10),t.centeredSlides?r<e.loopedSlides-a/2||r>e.slides.length-e.loopedSlides+a/2?(e.loopFix(),r=s.children(`.${t.slideClass}[data-swiper-slide-index="${i}"]:not(.${t.slideDuplicateClass})`).eq(0).index(),p((()=>{e.slideTo(r)}))):e.slideTo(r):r>e.slides.length-a?(e.loopFix(),r=s.children(`.${t.slideClass}[data-swiper-slide-index="${i}"]:not(.${t.slideDuplicateClass})`).eq(0).index(),p((()=>{e.slideTo(r)}))):e.slideTo(r)}else e.slideTo(r)}};var z={loopCreate:function(){const e=this,t=a(),{params:s,$wrapperEl:i}=e,r=i.children().length>0?d(i.children()[0].parentNode):i;r.children(`.${s.slideClass}.${s.slideDuplicateClass}`).remove();let n=r.children(`.${s.slideClass}`);if(s.loopFillGroupWithBlank){const e=s.slidesPerGroup-n.length%s.slidesPerGroup;if(e!==s.slidesPerGroup){for(let a=0;a<e;a+=1){const e=d(t.createElement("div")).addClass(`${s.slideClass} ${s.slideBlankClass}`);r.append(e)}n=r.children(`.${s.slideClass}`)}}"auto"!==s.slidesPerView||s.loopedSlides||(s.loopedSlides=n.length),e.loopedSlides=Math.ceil(parseFloat(s.loopedSlides||s.slidesPerView,10)),e.loopedSlides+=s.loopAdditionalSlides,e.loopedSlides>n.length&&e.params.loopedSlidesLimit&&(e.loopedSlides=n.length);const l=[],o=[];n.each(((e,t)=>{d(e).attr("data-swiper-slide-index",t)}));for(let t=0;t<e.loopedSlides;t+=1){const e=t-Math.floor(t/n.length)*n.length;o.push(n.eq(e)[0]),l.unshift(n.eq(n.length-e-1)[0])}for(let e=0;e<o.length;e+=1)r.append(d(o[e].cloneNode(!0)).addClass(s.slideDuplicateClass));for(let e=l.length-1;e>=0;e-=1)r.prepend(d(l[e].cloneNode(!0)).addClass(s.slideDuplicateClass))},loopFix:function(){const e=this;e.emit("beforeLoopFix");const{activeIndex:t,slides:s,loopedSlides:a,allowSlidePrev:i,allowSlideNext:r,snapGrid:n,rtlTranslate:l}=e;let o;e.allowSlidePrev=!0,e.allowSlideNext=!0;const d=-n[t]-e.getTranslate();if(t<a){o=s.length-3*a+t,o+=a;e.slideTo(o,0,!1,!0)&&0!==d&&e.setTranslate((l?-e.translate:e.translate)-d)}else if(t>=s.length-a){o=-s.length+t+a,o+=a;e.slideTo(o,0,!1,!0)&&0!==d&&e.setTranslate((l?-e.translate:e.translate)-d)}e.allowSlidePrev=i,e.allowSlideNext=r,e.emit("loopFix")},loopDestroy:function(){const{$wrapperEl:e,params:t,slides:s}=this;e.children(`.${t.slideClass}.${t.slideDuplicateClass},.${t.slideClass}.${t.slideBlankClass}`).remove(),s.removeAttr("data-swiper-slide-index")}};function L(e){const t=this,s=a(),i=r(),n=t.touchEventsData,{params:l,touches:o,enabled:c}=t;if(!c)return;if(t.animating&&l.preventInteractionOnTransition)return;!t.animating&&l.cssMode&&l.loop&&t.loopFix();let p=e;p.originalEvent&&(p=p.originalEvent);let h=d(p.target);if("wrapper"===l.touchEventsTarget&&!h.closest(t.wrapperEl).length)return;if(n.isTouchEvent="touchstart"===p.type,!n.isTouchEvent&&"which"in p&&3===p.which)return;if(!n.isTouchEvent&&"button"in p&&p.button>0)return;if(n.isTouched&&n.isMoved)return;const m=!!l.noSwipingClass&&""!==l.noSwipingClass,f=e.composedPath?e.composedPath():e.path;m&&p.target&&p.target.shadowRoot&&f&&(h=d(f[0]));const g=l.noSwipingSelector?l.noSwipingSelector:`.${l.noSwipingClass}`,v=!(!p.target||!p.target.shadowRoot);if(l.noSwiping&&(v?function(e,t){return void 0===t&&(t=this),function t(s){if(!s||s===a()||s===r())return null;s.assignedSlot&&(s=s.assignedSlot);const i=s.closest(e);return i||s.getRootNode?i||t(s.getRootNode().host):null}(t)}(g,h[0]):h.closest(g)[0]))return void(t.allowClick=!0);if(l.swipeHandler&&!h.closest(l.swipeHandler)[0])return;o.currentX="touchstart"===p.type?p.targetTouches[0].pageX:p.pageX,o.currentY="touchstart"===p.type?p.targetTouches[0].pageY:p.pageY;const w=o.currentX,b=o.currentY,x=l.edgeSwipeDetection||l.iOSEdgeSwipeDetection,y=l.edgeSwipeThreshold||l.iOSEdgeSwipeThreshold;if(x&&(w<=y||w>=i.innerWidth-y)){if("prevent"!==x)return;e.preventDefault()}if(Object.assign(n,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),o.startX=w,o.startY=b,n.touchStartTime=u(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,l.threshold>0&&(n.allowThresholdMove=!1),"touchstart"!==p.type){let e=!0;h.is(n.focusableElements)&&(e=!1,"SELECT"===h[0].nodeName&&(n.isTouched=!1)),s.activeElement&&d(s.activeElement).is(n.focusableElements)&&s.activeElement!==h[0]&&s.activeElement.blur();const a=e&&t.allowTouchMove&&l.touchStartPreventDefault;!l.touchStartForcePreventDefault&&!a||h[0].isContentEditable||p.preventDefault()}t.params.freeMode&&t.params.freeMode.enabled&&t.freeMode&&t.animating&&!l.cssMode&&t.freeMode.onTouchStart(),t.emit("touchStart",p)}function O(e){const t=a(),s=this,i=s.touchEventsData,{params:r,touches:n,rtlTranslate:l,enabled:o}=s;if(!o)return;let c=e;if(c.originalEvent&&(c=c.originalEvent),!i.isTouched)return void(i.startMoving&&i.isScrolling&&s.emit("touchMoveOpposite",c));if(i.isTouchEvent&&"touchmove"!==c.type)return;const p="touchmove"===c.type&&c.targetTouches&&(c.targetTouches[0]||c.changedTouches[0]),h="touchmove"===c.type?p.pageX:c.pageX,m="touchmove"===c.type?p.pageY:c.pageY;if(c.preventedByNestedSwiper)return n.startX=h,void(n.startY=m);if(!s.allowTouchMove)return d(c.target).is(i.focusableElements)||(s.allowClick=!1),void(i.isTouched&&(Object.assign(n,{startX:h,startY:m,currentX:h,currentY:m}),i.touchStartTime=u()));if(i.isTouchEvent&&r.touchReleaseOnEdges&&!r.loop)if(s.isVertical()){if(m<n.startY&&s.translate<=s.maxTranslate()||m>n.startY&&s.translate>=s.minTranslate())return i.isTouched=!1,void(i.isMoved=!1)}else if(h<n.startX&&s.translate<=s.maxTranslate()||h>n.startX&&s.translate>=s.minTranslate())return;if(i.isTouchEvent&&t.activeElement&&c.target===t.activeElement&&d(c.target).is(i.focusableElements))return i.isMoved=!0,void(s.allowClick=!1);if(i.allowTouchCallbacks&&s.emit("touchMove",c),c.targetTouches&&c.targetTouches.length>1)return;n.currentX=h,n.currentY=m;const f=n.currentX-n.startX,g=n.currentY-n.startY;if(s.params.threshold&&Math.sqrt(f**2+g**2)<s.params.threshold)return;if(void 0===i.isScrolling){let e;s.isHorizontal()&&n.currentY===n.startY||s.isVertical()&&n.currentX===n.startX?i.isScrolling=!1:f*f+g*g>=25&&(e=180*Math.atan2(Math.abs(g),Math.abs(f))/Math.PI,i.isScrolling=s.isHorizontal()?e>r.touchAngle:90-e>r.touchAngle)}if(i.isScrolling&&s.emit("touchMoveOpposite",c),void 0===i.startMoving&&(n.currentX===n.startX&&n.currentY===n.startY||(i.startMoving=!0)),i.isScrolling)return void(i.isTouched=!1);if(!i.startMoving)return;s.allowClick=!1,!r.cssMode&&c.cancelable&&c.preventDefault(),r.touchMoveStopPropagation&&!r.nested&&c.stopPropagation(),i.isMoved||(r.loop&&!r.cssMode&&s.loopFix(),i.startTranslate=s.getTranslate(),s.setTransition(0),s.animating&&s.$wrapperEl.trigger("webkitTransitionEnd transitionend"),i.allowMomentumBounce
vendor: 1,100 bytes, line 5616
5616=!1,!r.grabCursor||!0!==s.allowSlideNext&&!0!==s.allowSlidePrev||s.setGrabCursor(!0),s.emit("sliderFirstMove",c)),s.emit("sliderMove",c),i.isMoved=!0;let v=s.isHorizontal()?f:g;n.diff=v,v*=r.touchRatio,l&&(v=-v),s.swipeDirection=v>0?"prev":"next",i.currentTranslate=v+i.startTranslate;let w=!0,b=r.resistanceRatio;if(r.touchReleaseOnEdges&&(b=0),v>0&&i.currentTranslate>s.minTranslate()?(w=!1,r.resistance&&(i.currentTranslate=s.minTranslate()-1+(-s.minTranslate()+i.startTranslate+v)**b)):v<0&&i.currentTranslate<s.maxTranslate()&&(w=!1,r.resistance&&(i.currentTranslate=s.maxTranslate()+1-(s.maxTranslate()-i.startTranslate-v)**b)),w&&(c.preventedByNestedSwiper=!0),!s.allowSlideNext&&"next"===s.swipeDirection&&i.currentTranslate<i.startTranslate&&(i.currentTranslate=i.startTranslate),!s.allowSlidePrev&&"prev"===s.swipeDirection&&i.currentTranslate>i.startTranslate&&(i.currentTranslate=i.startTranslate),s.allowSlidePrev||s.allowSlideNext||(i.currentTranslate=i.startTranslate),r.threshold>0){if(!(Math.abs(v)>r.threshold||i.allowThresholdMove))return void(i.currentTranslate=i.startTranslate);
vendor: 17,582 bytes, line 5616
5616if(!i.allowThresholdMove)return i.allowThresholdMove=!0,n.startX=n.currentX,n.startY=n.currentY,i.currentTranslate=i.startTranslate,void(n.diff=s.isHorizontal()?n.currentX-n.startX:n.currentY-n.startY)}r.followFinger&&!r.cssMode&&((r.freeMode&&r.freeMode.enabled&&s.freeMode||r.watchSlidesProgress)&&(s.updateActiveIndex(),s.updateSlidesClasses()),s.params.freeMode&&r.freeMode.enabled&&s.freeMode&&s.freeMode.onTouchMove(),s.updateProgress(i.currentTranslate),s.setTranslate(i.currentTranslate))}function I(e){const t=this,s=t.touchEventsData,{params:a,touches:i,rtlTranslate:r,slidesGrid:n,enabled:l}=t;if(!l)return;let o=e;if(o.originalEvent&&(o=o.originalEvent),s.allowTouchCallbacks&&t.emit("touchEnd",o),s.allowTouchCallbacks=!1,!s.isTouched)return s.isMoved&&a.grabCursor&&t.setGrabCursor(!1),s.isMoved=!1,void(s.startMoving=!1);a.grabCursor&&s.isMoved&&s.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);const d=u(),c=d-s.touchStartTime;if(t.allowClick){const e=o.path||o.composedPath&&o.composedPath();t.updateClickedSlide(e&&e[0]||o.target),t.emit("tap click",o),c<300&&d-s.lastClickTime<300&&t.emit("doubleTap doubleClick",o)}if(s.lastClickTime=u(),p((()=>{t.destroyed||(t.allowClick=!0)})),!s.isTouched||!s.isMoved||!t.swipeDirection||0===i.diff||s.currentTranslate===s.startTranslate)return s.isTouched=!1,s.isMoved=!1,void(s.startMoving=!1);let h;if(s.isTouched=!1,s.isMoved=!1,s.startMoving=!1,h=a.followFinger?r?t.translate:-t.translate:-s.currentTranslate,a.cssMode)return;if(t.params.freeMode&&a.freeMode.enabled)return void t.freeMode.onTouchEnd({currentPos:h});let m=0,f=t.slidesSizesGrid[0];for(let e=0;e<n.length;e+=e<a.slidesPerGroupSkip?1:a.slidesPerGroup){const t=e<a.slidesPerGroupSkip-1?1:a.slidesPerGroup;void 0!==n[e+t]?h>=n[e]&&h<n[e+t]&&(m=e,f=n[e+t]-n[e]):h>=n[e]&&(m=e,f=n[n.length-1]-n[n.length-2])}let g=null,v=null;a.rewind&&(t.isBeginning?v=t.params.virtual&&t.params.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isEnd&&(g=0));const w=(h-n[m])/f,b=m<a.slidesPerGroupSkip-1?1:a.slidesPerGroup;if(c>a.longSwipesMs){if(!a.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(w>=a.longSwipesRatio?t.slideTo(a.rewind&&t.isEnd?g:m+b):t.slideTo(m)),"prev"===t.swipeDirection&&(w>1-a.longSwipesRatio?t.slideTo(m+b):null!==v&&w<0&&Math.abs(w)>a.longSwipesRatio?t.slideTo(v):t.slideTo(m))}else{if(!a.shortSwipes)return void t.slideTo(t.activeIndex);t.navigation&&(o.target===t.navigation.nextEl||o.target===t.navigation.prevEl)?o.target===t.navigation.nextEl?t.slideTo(m+b):t.slideTo(m):("next"===t.swipeDirection&&t.slideTo(null!==g?g:m+b),"prev"===t.swipeDirection&&t.slideTo(null!==v?v:m))}}function A(){const e=this,{params:t,el:s}=e;if(s&&0===s.offsetWidth)return;t.breakpoints&&e.setBreakpoint();const{allowSlideNext:a,allowSlidePrev:i,snapGrid:r}=e;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses(),("auto"===t.slidesPerView||t.slidesPerView>1)&&e.isEnd&&!e.isBeginning&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.run(),e.allowSlidePrev=i,e.allowSlideNext=a,e.params.watchOverflow&&r!==e.snapGrid&&e.checkOverflow()}function D(e){const t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function G(){const e=this,{wrapperEl:t,rtlTranslate:s,enabled:a}=e;if(!a)return;let i;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=-t.scrollLeft:e.translate=-t.scrollTop,0===e.translate&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();const r=e.maxTranslate()-e.minTranslate();i=0===r?0:(e.translate-e.minTranslate())/r,i!==e.progress&&e.updateProgress(s?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}let N=!1;function B(){}const H=(e,t)=>{const s=a(),{params:i,touchEvents:r,el:n,wrapperEl:l,device:o,support:d}=e,c=!!i.nested,p="on"===t?"addEventListener":"removeEventListener",u=t;if(d.touch){const t=!("touchstart"!==r.start||!d.passiveListener||!i.passiveListeners)&&{passive:!0,capture:!1};n[p](r.start,e.onTouchStart,t),n[p](r.move,e.onTouchMove,d.passiveListener?{passive:!1,capture:c}:c),n[p](r.end,e.onTouchEnd,t),r.cancel&&n[p](r.cancel,e.onTouchEnd,t)}else n[p](r.start,e.onTouchStart,!1),s[p](r.move,e.onTouchMove,c),s[p](r.end,e.onTouchEnd,!1);(i.preventClicks||i.preventClicksPropagation)&&n[p]("click",e.onClick,!0),i.cssMode&&l[p]("scroll",e.onScroll),i.updateOnWindowResize?e[u](o.ios||o.android?"resize orientationchange observerUpdate":"resize observerUpdate",A,!0):e[u]("observerUpdate",A,!0)};var X={attachEvents:function(){const e=this,t=a(),{params:s,support:i}=e;e.onTouchStart=L.bind(e),e.onTouchMove=O.bind(e),e.onTouchEnd=I.bind(e),s.cssMode&&(e.onScroll=G.bind(e)),e.onClick=D.bind(e),i.touch&&!N&&(t.addEventListener("touchstart",B),N=!0),H(e,"on")},detachEvents:function(){H(this,"off")}};const Y=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;var R={addClasses:function(){const e=this,{classNames:t,params:s,rtl:a,$el:i,device:r,support:n}=e,l=function(e,t){const s=[];return e.forEach((e=>{"object"==typeof e?Object.keys(e).forEach((a=>{e[a]&&s.push(t+a)})):"string"==typeof e&&s.push(t+e)})),s}(["initialized",s.direction,{"pointer-events":!n.touch},{"free-mode":e.params.freeMode&&s.freeMode.enabled},{autoheight:s.autoHeight},{rtl:a},{grid:s.grid&&s.grid.rows>1},{"grid-column":s.grid&&s.grid.rows>1&&"column"===s.grid.fill},{android:r.android},{ios:r.ios},{"css-mode":s.cssMode},{centered:s.cssMode&&s.centeredSlides},{"watch-progress":s.watchSlidesProgress}],s.containerModifierClass);t.push(...l),i.addClass([...t].join(" ")),e.emitContainerClasses()},removeClasses:function(){const{$el:e,classNames:t}=this;e.removeClass(t.join(" ")),this.emitContainerClasses()}};var W={init:!0,direction:"horizontal",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:0,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopedSlidesLimit:!0,loopFillGroupWithBlank:!1,loopPreventsSlide:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-invisible-blank",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",runCallbacksOnInit:!0,_emitClasses:!1};function j(e,t){return function(s){void 0===s&&(s={});const a=Object.keys(s)[0],i=s[a];"object"==typeof i&&null!==i?(["navigation","pagination","scrollbar"].indexOf(a)>=0&&!0===e[a]&&(e[a]={auto:!0}),a in e&&"enabled"in i?(!0===e[a]&&(e[a]={enabled:!0}),"object"!=typeof e[a]||"enabled"in e[a]||(e[a].enabled=!0),e[a]||(e[a]={enabled:!1}),g(t,s)):g(t,s)):g(t,s)}}const q={eventsEmitter:$,update:S,translate:M,transition:{setTransition:function(e,t){const s=this;s.params.cssMode||s.$wrapperEl.transition(e),s.emit("setTransition",e,t)},transitionStart:function(e,t){void 0===e&&(e=!0);const s=this,{params:a}=s;a.cssMode||(a.autoHeight&&s.updateAutoHeight(),P({swiper:s,runCallbacks:e,direction:t,step:"Start"}))},transitionEnd:function(e,t){void 0===e&&(e=!0);const s=this,{params:a}=s;s.animating=!1,a.cssMode||(s.setTransition(0),P({swiper:s,runCallbacks:e,direction:t,step:"End"}))}},slide:k,loop:z,grabCursor:{setGrabCursor:function(e){const t=this;if(t.support.touch||!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;const s="container"===t.params.touchEventsTarget?t.el:t.wrapperEl;s.style.cursor="move",s.style.cursor=e?"grabbing":"grab"},unsetGrabCursor:function(){const e=this;e.support.touch||e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e["container"===e.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="")}},events:X,breakpoints:{setBreakpoint:function(){const e=this,{activeIndex:t,initialized:s,loopedSlides:a=0,params:i,$el:r}=e,n=i.breakpoints;if(!n||n&&0===Object.keys(n).length)return;const l=e.getBreakpoint(n,e.params.breakpointsBase,e.el);if(!l||e.currentBreakpoint===l)return;const o=(l in n?n[l]:void 0)||e.originalParams,d=Y(e,i),c=Y(e,o),p=i.enabled;d&&!c?(r.removeClass(`${i.containerModifierClass}grid ${i.containerModifierClass}grid-column`),e.emitContainerClasses()):!d&&c&&(r.addClass(`${i.containerModifierClass}grid`),(o.grid.fill&&"column"===o.grid.fill||!o.grid.fill&&"column"===i.grid.fill)&&r.addClass(`${i.containerModifierClass}grid-column`),e.emitContainerClasses()),["navigation","pagination","scrollbar"].forEach((t=>{const s=i[t]&&i[t].enabled,a=o[t]&&o[t].enabled;s&&!a&&e[t].disable(),!s&&a&&e[t].enable()}));const u=o.direction&&o.direction!==i.direction,h=i.loop&&(o.slidesPerView!==i.slidesPerView||u);u&&s&&e.changeDirection(),g(e.params,o);const m=e.params.enabled;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),p&&!m?e.disable():!p&&m&&e.enable(),e.currentBreakpoint=l,e.emit("_beforeBreakpoint",o),h&&s&&(e.loopDestroy(),e.loopCreate(),e.updateSlides(),e.slideTo(t-a+e.loopedSlides,0,!1)),e.emit("breakpoint",o)},getBreakpoint:function(e,t,s){if(void 0===t&&(t="window"),!e||"container"===t&&!s)return;let a=!1;const i=r(),n="window"===t?i.innerHeight:s.clientHeight,l=Object.keys(e).map((e=>{if("string"==typeof e&&0===e.indexOf("@")){const t=parseFloat(e.substr(1));return{value:n*t,point:e}}return{value:e,point:e}}));l.sort(((e,t)=>parseInt(e.value,10)-parseInt(t.value,10)));for(let e=0;e<l.length;e+=1){const{point:r,value:n}=l[e];"window"===t?i.matchMedia(`(min-width: ${n}px)`).matches&&(a=r):n<=s.clientWidth&&(a=r)}return a||"max"}},checkOverflow:{checkOverflow:function(){const e=this,{isLocked:t,params:s}=e,{slidesOffsetBefore:a}=s;if(a){const t=e.slides.length-1,s=e.slidesGrid[t]+e.slidesSizesGrid[t]+2*a;e.isLocked=e.size>s}else e.isLocked=1===e.snapGrid.length;!0===s.allowSlideNext&&(e.allowSlideNext=!e.isLocked),!0===s.allowSlidePrev&&(e.allowSlidePrev=!e.isLocked),t&&t!==e.isLocked&&(e.isEnd=!1),t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock")}},classes:R,images:{loadImage:function(e,t,s,a,i,n){const l=r();let o;function c(){n&&n()}d(e).parent("picture")[0]||e.complete&&i?c():t?(o=new l.Image,o.onload=c,o.onerror=c,a&&(o.sizes=a),s&&(o.srcset=s),t&&(o.src=t)):c()},preloadImages:function(){const e=this;function t(){null!=e&&e&&!e.destroyed&&(void 0!==e.imagesLoaded&&(e.imagesLoaded+=1),e.imagesLoaded===e.imagesToLoad.length&&(e.params.updateOnImagesReady&&e.update(),e.emit("imagesReady")))}e.imagesToLoad=e.$el.find("img");for(let s=0;s<e.imagesToLoad.length;s+=1){const a=e.imagesToLoad[s];e.loadImage(a,a.currentSrc||a.getAttribute("src"),a.srcset||a.getAttribute("srcset"),a.sizes||a.getAttribute("sizes"),!0,t)}}}},_={};class V{constructor(){let e,t;for(var s=arguments.length,a=new Array(s),i=0;i<s;i++)a[i]=arguments[i];if(1===a.length&&a[0].constructor&&"Object"===Object.prototype.toString.call(a[0]).slice(8,-1)?t=a[0]:[e,t]=a,t||(t={}),t=g({},t),e&&!t.el&&(t.el=e),t.el&&d(t.el).length>1){const e=[];return d(t.el).each((s=>{const a=g({},t,{el:s});e.push(new V(a))})),e}const r=this;r.__swiper__=!0,r.support=E(),r.device=C({userAgent:t.userAgent}),r.browser=T(),r.eventsListeners={},r.eventsAnyListeners=[],r.modules=[...r.__modules__],t.modules&&Array.isArray(t.modules)&&r.modules.push(...t.modules);const n={};r.modules.forEach((e=>{e({swiper:r,extendParams:j(t,n),on:r.on.bind(r),once:r.once.bind(r),off:r.off.bind(r),emit:r.emit.bind(r)})}));const l=g({},W,n);return r.params=g({},l,_,t),r.originalParams=g({},r.params),r.passedParams=g({},t),r.params&&r.params.on&&Object.keys(r.params.on).forEach((e=>{r.on(e,r.params.on[e])})),r.params&&r.params.onAny&&r.onAny(r.params.onAny),r.$=d,Object.assign(r,{enabled:r.params.enabled,el:e,classNames:[],slides:d(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>"horizontal"===r.params.direction,isVertical:()=>"vertical"===r.params.direction,activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:r.params.allowSlideNext,allowSlidePrev:r.params.allowSlidePrev,touchEvents:function(){const e=["touchstart","touchmove","touchend","touchcancel"],t=["pointerdown","pointermove","pointerup"];return r.touchEventsTouch={start:e[0],move:e[1],end:e[2],cancel:e[3]},r.touchEventsDesktop={start:t[0],move:t[1],end:t[2]},r.support.touch||!r.params.simulateTouch?r.touchEventsTouch:r.touchEventsDesktop}(),touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:r.params.focusableElements,lastClickTime:u(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:r.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),r.emit("_swiper"),r.params.init&&r.init(),r}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,t){const s=this;e=Math.min(Math.max(e,0),1);const a=s.minTranslate(),i=(s.maxTranslate()-a)*e+a;s.translateTo(i,void 0===t?0:t),s.updateActiveIndex(),s.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=e.el.className.split(" ").filter((t=>0===t.indexOf("swiper")||0===t.indexOf(e.params.containerModifierClass)));e.emit("_containerClasses",t.join(" "))}getSlideClasses(e){const t=this;return t.destroyed?"":e.className.split(" ").filter((e=>0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass))).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=[];e.slides.each((s=>{const a=e.getSlideClasses(s);t.push({slideEl:s,classNames:a}),e.emit("_slideClass",s,a)})),e.emit("_slideClasses",t)}slidesPerViewDynamic(e,t){void 0===e&&(e="current"),void 0===t&&(t=!1);const{params:s,slides:a,slidesGrid:i,slidesSizesGrid:r,size:n,activeIndex:l}=this;let o=1;if(s.centeredSlides){let e,t=a[l].swiperSlideSize;for(let s=l+1;s<a.length;s+=1)a[s]&&!e&&(t+=a[s].swiperSlideSize,o+=1,t>n&&(e=!0));for(let s=l-1;s>=0;s-=1)a[s]&&!e&&(t+=a[s].swiperSlideSize,o+=1,t>n&&(e=!0))}else if("current"===e)for(let e=l+1;e<a.length;e+=1){(t?i[e]+r[e]-i[l]<n:i[e]-i[l]<n)&&(o+=1)}else for(let e=l-1;e>=0;e-=1){i[l]-i[e]<n&&(o+=1)}return o}update(){const e=this;if(!e||e.destroyed)return;const{snapGrid:t,params:s}=e;function a(){const t=e.rtlTranslate?-1*e.translate:e.translate,s=Math.min(Math.max(t,e.maxTranslate()),e.minTranslate());e.setTranslate(s),e.updateActiveIndex(),e.updateSlidesClasses()}let i;s.breakpoints&&e.setBreakpoint(),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.params.freeMode&&e.params.freeMode.enabled?(a(),e.params.autoHeight&&e.updateAutoHeight()):(i=("auto"===e.params.slidesPerView||e.params.slidesPerView>1)&&e.isEnd&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0),i||a()),s.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,t){void 0===t&&(t=!0);const s=this,a=s.params.direction;return e||(e="horizontal"===a?"vertical":"horizontal"),e===a||"horizontal"!==e&&"vertical"!==e||(s.$el.removeClass(`${s.params.containerModifierClass}${a}`).addClass(`${s.params.containerModifierClass}${e}`),s.emitContainerClasses(),s.params.direction=e,s.slides.each((t=>{"vertical"===e?t.style.width="":t.style.height=""})),s.emit("changeDirection"),t&&s.update()),s}changeLanguageDirection(e){const t=this;t.rtl&&"rtl"===e||!t.rtl&&"ltr"===e||(t.rtl="rtl"===e,t.rtlTranslate="horizontal"===t.params.direction&&t.rtl,t.rtl?(t.$el.addClass(`${t.params.containerModifierClass}rtl`),t.el.dir="rtl"):(t.$el.removeClass(`${t.params.containerModifierClass}
5616rtl`),t.el.dir="ltr"),t.update())}mount(e){const t=this;if(t.mounted)return!0;const s=d(e||t.params.el);if(!(e=s[0]))return!1;e.swiper=t;const i=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`;let r=(()=>{if(e&&e.shadowRoot&&e.shadowRoot.querySelector){const t=d(e.shadowRoot.querySelector(i()));return t.children=e=>s.children(e),t}return s.children?s.children(i()):d(s).children(i())})();if(0===r.length&&t.params.createElements){const e=a().createElement("div");r=d(e),e.className=t.params.wrapperClass,s.append(e),s.children(`.${t.params.slideClass}`).each((e=>{r.append(e)}))}return Object.assign(t,{$el:s,el:e,$wrapperEl:r,wrapperEl:r[0],mounted:!0,rtl:"rtl"===e.dir.toLowerCase()||"rtl"===s.css("direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===e.dir.toLowerCase()||"rtl"===s.css("direction")),wrongRTL:"-webkit-box"===r.css("display")}),!0}init(e){const t=this;if(t.initialized)return t;return!1===t.mount(e)||(t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.params.loop&&t.loopCreate(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.preloadImages&&t.preloadImages(),t.params.loop?t.slideTo(t.params.initialSlide+t.loopedSlides,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.attachEvents(),t.initialized=!0,t.emit("init"),t.emit("afterInit")),t}destroy(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0);const s=this,{params:a,$el:i,$wrapperEl:r,slides:n}=s;return void 0===s.params||s.destroyed||(s.emit("beforeDestroy"),s.initialized=!1,s.detachEvents(),a.loop&&s.loopDestroy(),t&&(s.removeClasses(),i.removeAttr("style"),r.removeAttr("style"),n&&n.length&&n.removeClass([a.slideVisibleClass,a.slideActiveClass,a.slideNextClass,a.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index")),s.emit("destroy"),Object.keys(s.eventsListeners).forEach((e=>{s.off(e)})),!1!==e&&(s.$el[0].swiper=null,function(e){const t=e;Object.keys(t).forEach((e=>{try{t[e]=null}catch(e){}try{delete t[e]}catch(e){}}))}(s)),s.destroyed=!0),null}static extendDefaults(e){g(_,e)}static get extendedDefaults(){return _}static get defaults(){return W}static installModule(e){V.prototype.__modules__||(V.prototype.__modules__=[]);const t=V.prototype.__modules__;"function"==typeof e&&t.indexOf(e)<0&&t.push(e)}static use(e){return Array.isArray(e)?(e.forEach((e=>V.installModule(e))),V):(V.installModule(e),V)}}function F(e,t,s,i){const r=a();
vendor: 19,085 bytes, line 5616
5616return e.params.createElements&&Object.keys(i).forEach((a=>{if(!s[a]&&!0===s.auto){let n=e.$el.children(`.${i[a]}`)[0];n||(n=r.createElement("div"),n.className=i[a],e.$el.append(n)),s[a]=n,t[a]=n}})),s}function U(e){return void 0===e&&(e=""),`.${e.trim().replace(/([\.:!\/])/g,"\\$1").replace(/ /g,".")}`}function K(e){const t=this,{$wrapperEl:s,params:a}=t;if(a.loop&&t.loopDestroy(),"object"==typeof e&&"length"in e)for(let t=0;t<e.length;t+=1)e[t]&&s.append(e[t]);else s.append(e);a.loop&&t.loopCreate(),a.observer||t.update()}function Z(e){const t=this,{params:s,$wrapperEl:a,activeIndex:i}=t;s.loop&&t.loopDestroy();let r=i+1;if("object"==typeof e&&"length"in e){for(let t=0;t<e.length;t+=1)e[t]&&a.prepend(e[t]);r=i+e.length}else a.prepend(e);s.loop&&t.loopCreate(),s.observer||t.update(),t.slideTo(r,0,!1)}function Q(e,t){const s=this,{$wrapperEl:a,params:i,activeIndex:r}=s;let n=r;i.loop&&(n-=s.loopedSlides,s.loopDestroy(),s.slides=a.children(`.${i.slideClass}`));const l=s.slides.length;if(e<=0)return void s.prependSlide(t);if(e>=l)return void s.appendSlide(t);let o=n>e?n+1:n;const d=[];for(let t=l-1;t>=e;t-=1){const e=s.slides.eq(t);e.remove(),d.unshift(e)}if("object"==typeof t&&"length"in t){for(let e=0;e<t.length;e+=1)t[e]&&a.append(t[e]);o=n>e?n+t.length:n}else a.append(t);for(let e=0;e<d.length;e+=1)a.append(d[e]);i.loop&&s.loopCreate(),i.observer||s.update(),i.loop?s.slideTo(o+s.loopedSlides,0,!1):s.slideTo(o,0,!1)}function J(e){const t=this,{params:s,$wrapperEl:a,activeIndex:i}=t;let r=i;s.loop&&(r-=t.loopedSlides,t.loopDestroy(),t.slides=a.children(`.${s.slideClass}`));let n,l=r;if("object"==typeof e&&"length"in e){for(let s=0;s<e.length;s+=1)n=e[s],t.slides[n]&&t.slides.eq(n).remove(),n<l&&(l-=1);l=Math.max(l,0)}else n=e,t.slides[n]&&t.slides.eq(n).remove(),n<l&&(l-=1),l=Math.max(l,0);s.loop&&t.loopCreate(),s.observer||t.update(),s.loop?t.slideTo(l+t.loopedSlides,0,!1):t.slideTo(l,0,!1)}function ee(){const e=this,t=[];for(let s=0;s<e.slides.length;s+=1)t.push(s);e.removeSlide(t)}function te(e){const{effect:t,swiper:s,on:a,setTranslate:i,setTransition:r,overwriteParams:n,perspective:l,recreateShadows:o,getEffectParams:d}=e;let c;a("beforeInit",(()=>{if(s.params.effect!==t)return;s.classNames.push(`${s.params.containerModifierClass}${t}`),l&&l()&&s.classNames.push(`${s.params.containerModifierClass}3d`);const e=n?n():{};Object.assign(s.params,e),Object.assign(s.originalParams,e)})),a("setTranslate",(()=>{s.params.effect===t&&i()})),a("setTransition",((e,a)=>{s.params.effect===t&&r(a)})),a("transitionEnd",(()=>{if(s.params.effect===t&&o){if(!d||!d().slideShadows)return;s.slides.each((e=>{s.$(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").remove()})),o()}})),a("virtualUpdate",(()=>{s.params.effect===t&&(s.slides.length||(c=!0),requestAnimationFrame((()=>{c&&s.slides&&s.slides.length&&(i(),c=!1)})))}))}function se(e,t){return e.transformEl?t.find(e.transformEl).css({"backface-visibility":"hidden","-webkit-backface-visibility":"hidden"}):t}function ae(e){let{swiper:t,duration:s,transformEl:a,allSlides:i}=e;const{slides:r,activeIndex:n,$wrapperEl:l}=t;if(t.params.virtualTranslate&&0!==s){let e,s=!1;e=i?a?r.find(a):r:a?r.eq(n).find(a):r.eq(n),e.transitionEnd((()=>{if(s)return;if(!t||t.destroyed)return;s=!0,t.animating=!1;const e=["webkitTransitionEnd","transitionend"];for(let t=0;t<e.length;t+=1)l.trigger(e[t])}))}}function ie(e,t,s){const a="swiper-slide-shadow"+(s?`-${s}`:""),i=e.transformEl?t.find(e.transformEl):t;let r=i.children(`.${a}`);return r.length||(r=d(`<div class="swiper-slide-shadow${s?`-${s}`:""}"></div>`),i.append(r)),r}Object.keys(q).forEach((e=>{Object.keys(q[e]).forEach((t=>{V.prototype[t]=q[e][t]}))})),V.use([function(e){let{swiper:t,on:s,emit:a}=e;const i=r();let n=null,l=null;const o=()=>{t&&!t.destroyed&&t.initialized&&(a("beforeResize"),a("resize"))},d=()=>{t&&!t.destroyed&&t.initialized&&a("orientationchange")};s("init",(()=>{t.params.resizeObserver&&void 0!==i.ResizeObserver?t&&!t.destroyed&&t.initialized&&(n=new ResizeObserver((e=>{l=i.requestAnimationFrame((()=>{const{width:s,height:a}=t;let i=s,r=a;e.forEach((e=>{let{contentBoxSize:s,contentRect:a,target:n}=e;n&&n!==t.el||(i=a?a.width:(s[0]||s).inlineSize,r=a?a.height:(s[0]||s).blockSize)})),i===s&&r===a||o()}))})),n.observe(t.el)):(i.addEventListener("resize",o),i.addEventListener("orientationchange",d))})),s("destroy",(()=>{l&&i.cancelAnimationFrame(l),n&&n.unobserve&&t.el&&(n.unobserve(t.el),n=null),i.removeEventListener("resize",o),i.removeEventListener("orientationchange",d)}))},function(e){let{swiper:t,extendParams:s,on:a,emit:i}=e;const n=[],l=r(),o=function(e,t){void 0===t&&(t={});const s=new(l.MutationObserver||l.WebkitMutationObserver)((e=>{if(1===e.length)return void i("observerUpdate",e[0]);const t=function(){i("observerUpdate",e[0])};l.requestAnimationFrame?l.requestAnimationFrame(t):l.setTimeout(t,0)}));s.observe(e,{attributes:void 0===t.attributes||t.attributes,childList:void 0===t.childList||t.childList,characterData:void 0===t.characterData||t.characterData}),n.push(s)};s({observer:!1,observeParents:!1,observeSlideChildren:!1}),a("init",(()=>{if(t.params.observer){if(t.params.observeParents){const e=t.$el.parents();for(let t=0;t<e.length;t+=1)o(e[t])}o(t.$el[0],{childList:t.params.observeSlideChildren}),o(t.$wrapperEl[0],{attributes:!1})}})),a("destroy",(()=>{n.forEach((e=>{e.disconnect()})),n.splice(0,n.length)}))}]);const re=[function(e){let t,{swiper:s,extendParams:a,on:i,emit:r}=e;function n(e,t){const a=s.params.virtual;if(a.cache&&s.virtual.cache[t])return s.virtual.cache[t];const i=a.renderSlide?d(a.renderSlide.call(s,e,t)):d(`<div class="${s.params.slideClass}" data-swiper-slide-index="${t}">${e}</div>`);return i.attr("data-swiper-slide-index")||i.attr("data-swiper-slide-index",t),a.cache&&(s.virtual.cache[t]=i),i}function l(e){const{slidesPerView:t,slidesPerGroup:a,centeredSlides:i}=s.params,{addSlidesBefore:l,addSlidesAfter:o}=s.params.virtual,{from:d,to:c,slides:p,slidesGrid:u,offset:h}=s.virtual;s.params.cssMode||s.updateActiveIndex();const m=s.activeIndex||0;let f,g,v;f=s.rtlTranslate?"right":s.isHorizontal()?"left":"top",i?(g=Math.floor(t/2)+a+o,v=Math.floor(t/2)+a+l):(g=t+(a-1)+o,v=a+l);const w=Math.max((m||0)-v,0),b=Math.min((m||0)+g,p.length-1),x=(s.slidesGrid[w]||0)-(s.slidesGrid[0]||0);function y(){s.updateSlides(),s.updateProgress(),s.updateSlidesClasses(),s.lazy&&s.params.lazy.enabled&&s.lazy.load(),r("virtualUpdate")}if(Object.assign(s.virtual,{from:w,to:b,offset:x,slidesGrid:s.slidesGrid}),d===w&&c===b&&!e)return s.slidesGrid!==u&&x!==h&&s.slides.css(f,`${x}px`),s.updateProgress(),void r("virtualUpdate");if(s.params.virtual.renderExternal)return s.params.virtual.renderExternal.call(s,{offset:x,from:w,to:b,slides:function(){const e=[];for(let t=w;t<=b;t+=1)e.push(p[t]);return e}()}),void(s.params.virtual.renderExternalUpdate?y():r("virtualUpdate"));const E=[],C=[];if(e)s.$wrapperEl.find(`.${s.params.slideClass}`).remove();else for(let e=d;e<=c;e+=1)(e<w||e>b)&&s.$wrapperEl.find(`.${s.params.slideClass}[data-swiper-slide-index="${e}"]`).remove();for(let t=0;t<p.length;t+=1)t>=w&&t<=b&&(void 0===c||e?C.push(t):(t>c&&C.push(t),t<d&&E.push(t)));C.forEach((e=>{s.$wrapperEl.append(n(p[e],e))})),E.sort(((e,t)=>t-e)).forEach((e=>{s.$wrapperEl.prepend(n(p[e],e))})),s.$wrapperEl.children(".swiper-slide").css(f,`${x}px`),y()}a({virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,renderExternalUpdate:!0,addSlidesBefore:0,addSlidesAfter:0}}),s.virtual={cache:{},from:void 0,to:void 0,slides:[],offset:0,slidesGrid:[]},i("beforeInit",(()=>{s.params.virtual.enabled&&(s.virtual.slides=s.params.virtual.slides,s.classNames.push(`${s.params.containerModifierClass}virtual`),s.params.watchSlidesProgress=!0,s.originalParams.watchSlidesProgress=!0,s.params.initialSlide||l())})),i("setTranslate",(()=>{s.params.virtual.enabled&&(s.params.cssMode&&!s._immediateVirtual?(clearTimeout(t),t=setTimeout((()=>{l()}),100)):l())})),i("init update resize",(()=>{s.params.virtual.enabled&&s.params.cssMode&&v(s.wrapperEl,"--swiper-virtual-size",`${s.virtualSize}px`)})),Object.assign(s.virtual,{appendSlide:function(e){if("object"==typeof e&&"length"in e)for(let t=0;t<e.length;t+=1)e[t]&&s.virtual.slides.push(e[t]);else s.virtual.slides.push(e);l(!0)},prependSlide:function(e){const t=s.activeIndex;let a=t+1,i=1;if(Array.isArray(e)){for(let t=0;t<e.length;t+=1)e[t]&&s.virtual.slides.unshift(e[t]);a=t+e.length,i=e.length}else s.virtual.slides.unshift(e);if(s.params.virtual.cache){const e=s.virtual.cache,t={};Object.keys(e).forEach((s=>{const a=e[s],r=a.attr("data-swiper-slide-index");r&&a.attr("data-swiper-slide-index",parseInt(r,10)+i),t[parseInt(s,10)+i]=a})),s.virtual.cache=t}l(!0),s.slideTo(a,0)},removeSlide:function(e){if(null==e)return;let t=s.activeIndex;if(Array.isArray(e))for(let a=e.length-1;a>=0;a-=1)s.virtual.slides.splice(e[a],1),s.params.virtual.cache&&delete s.virtual.cache[e[a]],e[a]<t&&(t-=1),t=Math.max(t,0);else s.virtual.slides.splice(e,1),s.params.virtual.cache&&delete s.virtual.cache[e],e<t&&(t-=1),t=Math.max(t,0);l(!0),s.slideTo(t,0)},removeAllSlides:function(){s.virtual.slides=[],s.params.virtual.cache&&(s.virtual.cache={}),l(!0),s.slideTo(0,0)},update:l})},function(e){let{swiper:t,extendParams:s,on:i,emit:n}=e;const l=a(),o=r();function c(e){if(!t.enabled)return;const{rtlTranslate:s}=t;let a=e;a.originalEvent&&(a=a.originalEvent);const i=a.keyCode||a.charCode,r=t.params.keyboard.pageUpDown,d=r&&33===i,c=r&&34===i,p=37===i,u=39===i,h=38===i,m=40===i;if(!t.allowSlideNext&&(t.isHorizontal()&&u||t.isVertical()&&m||c))return!1;if(!t.allowSlidePrev&&(t.isHorizontal()&&p||t.isVertical()&&h||d))return!1;if(!(a.shiftKey||a.altKey||a.ctrlKey||a.metaKey||l.activeElement&&l.activeElement.nodeName&&("input"===l.activeElement.nodeName.toLowerCase()||"textarea"===l.activeElement.nodeName.toLowerCase()))){if(t.params.keyboard.onlyInViewport&&(d||c||p||u||h||m)){let e=!1;if(t.$el.parents(`.${t.params.slideClass}`).length>0&&0===t.$el.parents(`.${t.params.slideActiveClass}`).length)return;const a=t.$el,i=a[0].clientWidth,r=a[0].clientHeight,n=o.innerWidth,l=o.innerHeight,d=t.$el.offset();s&&(d.left-=t.$el[0].scrollLeft);const c=[[d.left,d.top],[d.left+i,d.top],[d.left,d.top+r],[d.left+i,d.top+r]];for(let t=0;t<c.length;t+=1){const s=c[t];if(s[0]>=0&&s[0]<=n&&s[1]>=0&&s[1]<=l){if(0===s[0]&&0===s[1])continue;e=!0}}if(!e)return}t.isHorizontal()?((d||c||p||u)&&(a.preventDefault?a.preventDefault():a.returnValue=!1),((c||u)&&!s||(d||p)&&s)&&t.slideNext(),((d||p)&&!s||(c||u)&&s)&&t.slidePrev()):((d||c||h||m)&&(a.preventDefault?a.preventDefault():a.returnValue=!1),(c||m)&&t.slideNext(),(d||h)&&t.slidePrev()),n("keyPress",i)}}function p(){t.keyboard.enabled||(d(l).on("keydown",c),t.keyboard.enabled=!0)}function u(){t.keyboard.enabled&&(d(l).off("keydown",c),t.keyboard.enabled=!1)}t.keyboard={enabled:!1},s({keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0}}),i("init",(()=>{t.params.keyboard.enabled&&p()})),i("destroy",(()=>{t.keyboard.enabled&&u()})),Object.assign(t.keyboard,{enable:p,disable:u})},function(e){let{swiper:t,extendParams:s,on:a,emit:i}=e;const n=r();let l;s({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null}}),t.mousewheel={enabled:!1};let o,c=u();const h=[];function m(){t.enabled&&(t.mouseEntered=!0)}function f(){t.enabled&&(t.mouseEntered=!1)}function g(e){return!(t.params.mousewheel.thresholdDelta&&e.delta<t.params.mousewheel.thresholdDelta)&&(!(t.params.mousewheel.thresholdTime&&u()-c<t.params.mousewheel.thresholdTime)&&(e.delta>=6&&u()-c<60||(e.direction<0?t.isEnd&&!t.params.loop||t.animating||(t.slideNext(),i("scroll",e.raw)):t.isBeginning&&!t.params.loop||t.animating||(t.slidePrev(),i("scroll",e.raw)),c=(new n.Date).getTime(),!1)))}function v(e){let s=e,a=!0;if(!t.enabled)return;const r=t.params.mousewheel;t.params.cssMode&&s.preventDefault();let n=t.$el;if("container"!==t.params.mousewheel.eventsTarget&&(n=d(t.params.mousewheel.eventsTarget)),!t.mouseEntered&&!n[0].contains(s.target)&&!r.releaseOnEdges)return!0;s.originalEvent&&(s=s.originalEvent);let c=0;const m=t.rtlTranslate?-1:1,f=function(e){let t=0,s=0,a=0,i=0;return"detail"in e&&(s=e.detail),"wheelDelta"in e&&(s=-e.wheelDelta/120),"wheelDeltaY"in e&&(s=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=s,s=0),a=10*t,i=10*s,"deltaY"in e&&(i=e.deltaY),"deltaX"in e&&(a=e.deltaX),e.shiftKey&&!a&&(a=i,i=0),(a||i)&&e.deltaMode&&(1===e.deltaMode?(a*=40,i*=40):(a*=800,i*=800)),a&&!t&&(t=a<1?-1:1),i&&!s&&(s=i<1?-1:1),{spinX:t,spinY:s,pixelX:a,pixelY:i}}(s);if(r.forceToAxis)if(t.isHorizontal()){if(!(Math.abs(f.pixelX)>Math.abs(f.pixelY)))return!0;c=-f.pixelX*m}else{if(!(Math.abs(f.pixelY)>Math.abs(f.pixelX)))return!0;c=-f.pixelY}else c=Math.abs(f.pixelX)>Math.abs(f.pixelY)?-f.pixelX*m:-f.pixelY;if(0===c)return!0;r.invert&&(c=-c);let v=t.getTranslate()+c*r.sensitivity;if(v>=t.minTranslate()&&(v=t.minTranslate()),v<=t.maxTranslate()&&(v=t.maxTranslate()),a=!!t.params.loop||!(v===t.minTranslate()||v===t.maxTranslate()),a&&t.params.nested&&s.stopPropagation(),t.params.freeMode&&t.params.freeMode.enabled){const e={time:u(),delta:Math.abs(c),direction:Math.sign(c)},a=o&&e.time<o.time+500&&e.delta<=o.delta&&e.direction===o.direction;if(!a){o=void 0,t.params.loop&&t.loopFix();let n=t.getTranslate()+c*r.sensitivity;const d=t.isBeginning,u=t.isEnd;if(n>=t.minTranslate()&&(n=t.minTranslate()),n<=t.maxTranslate()&&(n=t.maxTranslate()),t.setTransition(0),t.setTranslate(n),t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses(),(!d&&t.isBeginning||!u&&t.isEnd)&&t.updateSlidesClasses(),t.params.freeMode.sticky){clearTimeout(l),l=void 0,h.length>=15&&h.shift();const s=h.length?h[h.length-1]:void 0,a=h[0];if(h.push(e),s&&(e.delta>s.delta||e.direction!==s.direction))h.splice(0);else if(h.length>=15&&e.time-a.time<500&&a.delta-e.delta>=1&&e.delta<=6){const s=c>0?.8:.2;o=e,h.splice(0),l=p((()=>{t.slideToClosest(t.params.speed,!0,void 0,s)}),0)}l||(l=p((()=>{o=e,h.splice(0),t.slideToClosest(t.params.speed,!0,void 0,.5)}),500))}if(a||i("scroll",s),t.params.autoplay&&t.params.autoplayDisableOnInteraction&&t.autoplay.stop(),n===t.minTranslate()||n===t.maxTranslate())return!0}}else{const s={time:u(),delta:Math.abs(c),direction:Math.sign(c),raw:e};h.length>=2&&h.shift();const a=h.length?h[h.length-1]:void 0;if(h.push(s),a?(s.direction!==a.direction||s.delta>a.delta||s.time>a.time+150)&&g(s):g(s),function(e){const s=t.params.mousewheel;if(e.direction<0){if(t.isEnd&&!t.params.loop&&s.releaseOnEdges)return!0}else if(t.isBeginning&&!t.params.loop&&s.releaseOnEdges)return!0;return!1}(s))return!0}return s.preventDefault?s.preventDefault():s.returnValue=!1,!1}function w(e){let s=t.$el;"container"!==t.params.mousewheel.eventsTarget&&(s=d(t.params.mousewheel.eventsTarget)),s[e]("mouseenter",m),s[e]("mouseleave",f),s[e]("wheel",v)}function b(){return t.params.cssMode?(t.wrapperEl.removeEventListener("wheel",v),!0):!t.mousewheel.enabled&&(w("on"),t.mousewheel.enabled=!0,!0)}function x(){return t.params.cssMode?(t.wrapperEl.addEventListener(event,v),!0):!!t.mousewheel.enabled&&(w("off"),t.mousewheel.enabled=!1,!0)}a("init",(()=>{!t.params.mousewheel.enabled&&t.params.cssMode&&x(),t.params.mousewheel.enabled&&b()})),a("destroy",(()=>{t.params.cssMode&&b(),t.mousewheel.enabled&&x()})),Object.assign(t.mousewheel,{enable:b,disable:x})},function(e){let{swiper:t,extendParams:s,on:a,emit:i}=e;function r(e){let s;return e&&(s=d(e),t.params.uniqueNavElements&&"string"==typeof e&&s.length>1&&1===t.$el.find(e).length&&(s=t.$el.find(e))),s}function n(e,s){const a=t.params.navigation;e&&e.length>0&&(e[s?"addClass":"removeClass"](a.disabledClass),e[0]&&"BUTTON"===e[0].tagName&&(e[0].disabled=s),t.params.watchOverflow&&t.enabled&&e[t.isLocked?"addClass":"removeClass"](a.lockClass))}function l(){if(t.params.loop)return;const{$nextEl:e,$prevEl:s}=t.navigation;n(s,t.isBeginning&&!t.params.rewind),n(e,t.isEnd&&!t.params.rewind)}function o(e){e.preventDefault(),(!t.isBeginning||t.params.loop||t.params.rewind)&&(t.slidePrev(),i("navigationPrev"))}function c(e){e.preventDefault(),(!t.isEnd||t.params.loop||t.params.rewind)&&(t.slideNext(),i("navigationNext"))}function p(){const e=t.params.navigation;if(t.params.navigation=F(t,t.originalParams.navigation,t.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!e.nextEl&&!e.prevEl)return;const s=r(e.nextEl),a=r(e.prevEl);s&&s.length>0&&s.on("click",c),a&&a.length>0&&a.on("click",o),Object.assign(t.navigation,{$nextEl:s,nextEl:s&&s[0],$prevEl:a,prevEl:a&&a[0]}),t.enabled||(s&&s.addClass(e.lockClass),a&&a.addClass(e.lockClass))}function u(){const{$nextEl:e,$prevEl:s}=t.navigation;e&&e.length&&(e.off("click",c),e.removeClass(t.params.navigation.disabledClass)),s&&s.length&&(s.off("click",o),s.removeClass(t.params.navigation.disabledClass))}s({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),t.navigation={nextEl:null,$nextEl:null,prevEl:null,$prevEl:null},a("init",(()=>{!1===t.params.navigation.enabled?h():(p(),l())})),a("toEdge fromEdge lock unlock",(()=>{l()})),a("destroy",(()=>{u()})),a("enable disable",(()=>{const{$nextEl:e,$prevEl:s}=t.navigation;e&&e[t.enabled?"removeClass":"addClass"](t.params.navigation.lockClass),s&&s[t.enabled?"removeClass":"addClass"](t.params.navigation.lockClass)})),a("click",((e,s)=>{const{$nextEl:a,$prevEl:r}=t.navigation,n=s.target;if(t.params.navigation.hideOnClick&&!d(n).is(r)&&!d(n).is(a)){if(t.pagination&&t.params.pagination&&t.params.pagination.clickable&&(t.pagination.el===n||t.pagination.el.contains(n)))return;let e;a?e=a.hasClass(t.params.navigation.hiddenClass):r&&(e=r.hasClass(t.params.navigation.hiddenClass)),i(!0===e?"navigationShow":"navigationHide"),a&&a.toggleClass(t.params.navigation.hiddenClass),r&&r.toggleClass(t.params.navigation.hiddenClass)}}));const h=()=>{t.$el.addClass(t.params.navigation.navigationDisabledClass),u()};Object.assign(t.navigation,{enable:()=>{t.$el.removeClass(t.params.navigation.navigationDisabledClass),p(),l()},disable:h,update:l,init:p,destroy:u})},function(e){let{swiper:t,extendParams:s,on:a,emit:i}=e;const r="swiper-pagination";let n;s({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:e=>e,formatFractionTotal:e=>e,bulletClass:`${r}-bullet`,bulletActiveClass:`${r}-bullet-active`,modifierClass:`${r}-`,currentClass:`${r}-current`,totalClass:`${r}-total`,hiddenClass:`${r}-hidden`,progressbarFillClass:`${r}-progressbar-fill`,progressbarOppositeClass:`${r}-progressbar-opposite`,clickableClass:`${r}
5616-clickable`,lockClass:`${r}-lock`,horizontalClass:`${r}-horizontal`,verticalClass:`${r}-vertical`,paginationDisabledClass:`${r}-disabled`}}),t.pagination={el:null,$el:null,bullets:[]};let l=0;function o(){return!t.params.pagination.el||!t.pagination.el||!t.pagination.$el||0===t.pagination.$el.length}function c(e,s){const{bulletActiveClass:a}=t.params.pagination;e[s]().addClass(`${a}-${s}`)[s]().addClass(`${a}-${s}-${s}`)}function p(){const e=t.rtl,s=t.params.pagination;if(o())return;const a=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.slides.length,r=t.pagination.$el;let p;const u=t.params.loop?Math.ceil((a-2*t.loopedSlides)/t.params.slidesPerGroup):t.snapGrid.length;if(t.params.loop?(p=Math.ceil((t.activeIndex-t.loopedSlides)/t.params.slidesPerGroup),p>a-1-2*t.loopedSlides&&(p-=a-2*t.loopedSlides),p>u-1&&(p-=u),p<0&&"bullets"!==t.params.paginationType&&(p=u+p)):p=void 0!==t.snapIndex?t.snapIndex:t.activeIndex||0,"bullets"===s.type&&t.pagination.bullets&&t.pagination.bullets.length>0){const a=t.pagination.bullets;let i,o,u;if(s.dynamicBullets&&(n=a.eq(0)[t.isHorizontal()?"outerWidth":"outerHeight"](!0),r.css(t.isHorizontal()?"width":"height",n*(s.dynamicMainBullets+4)+"px"),s.dynamicMainBullets>1&&void 0!==t.previousIndex&&(l+=p-(t.previousIndex-t.loopedSlides||0),l>s.dynamicMainBullets-1?l=s.dynamicMainBullets-1:l<0&&(l=0)),i=Math.max(p-l,0),o=i+(Math.min(a.length,s.dynamicMainBullets)-1),u=(o+i)/2),a.removeClass(["","-next","-next-next","-prev","-prev-prev","-main"].map((e=>`${s.bulletActiveClass}${e}`)).join(" ")),r.length>1)a.each((e=>{const t=d(e),a=t.index();a===p&&t.addClass(s.bulletActiveClass),s.dynamicBullets&&(a>=i&&a<=o&&t.addClass(`${s.bulletActiveClass}-main`),a===i&&c(t,"prev"),a===o&&c(t,"next"))}));else{const e=a.eq(p),r=e.index();if(e.addClass(s.bulletActiveClass),s.dynamicBullets){const e=a.eq(i),n=a.eq(o);for(let e=i;e<=o;e+=1)a.eq(e).addClass(`${s.bulletActiveClass}-main`);if(t.params.loop)if(r>=a.length){for(let e=s.dynamicMainBullets;e>=0;e-=1)a.eq(a.length-e).addClass(`${s.bulletActiveClass}-main`);a.eq(a.length-s.dynamicMainBullets-1).addClass(`${s.bulletActiveClass}-prev`)}else c(e,"prev"),c(n,"next");else c(e,"prev"),c(n,"next")}}if(s.dynamicBullets){const i=Math.min(a.length,s.dynamicMainBullets+4),r=(n*i-n)/2-u*n,l=e?"right":"left";a.css(t.isHorizontal()?l:"top",`${r}px`)}}if("fraction"===s.type&&(r.find(U(s.currentClass)).text(s.formatFractionCurrent(p+1)),r.find(U(s.totalClass)).text(s.formatFractionTotal(u))),"progressbar"===s.type){let e;e=s.progressbarOpposite?t.isHorizontal()?"vertical":"horizontal":t.isHorizontal()?"horizontal":"vertical";const a=(p+1)/u;let i=1,n=1;"horizontal"===e?i=a:n=a,r.find(U(s.progressbarFillClass)).transform(`translate3d(0,0,0) scaleX(${i}) scaleY(${n})`).transition(t.params.speed)}"custom"===s.type&&s.renderCustom?(r.html(s.renderCustom(t,p+1,u)),i("paginationRender",r[0])):i("paginationUpdate",r[0]),t.params.watchOverflow&&t.enabled&&r[t.isLocked?"addClass":"removeClass"](s.lockClass)}function u(){const e=t.params.pagination;if(o())return;const s=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.slides.length,a=t.pagination.$el;let r="";if("bullets"===e.type){let i=t.params.loop?Math.ceil((s-2*t.loopedSlides)/t.params.slidesPerGroup):t.snapGrid.length;t.params.freeMode&&t.params.freeMode.enabled&&!t.params.loop&&i>s&&(i=s);for(let s=0;s<i;s+=1)e.renderBullet?r+=e.renderBullet.call(t,s,e.bulletClass):r+=`<${e.bulletElement} class="${e.bulletClass}"></${e.bulletElement}>`;a.html(r),t.pagination.bullets=a.find(U(e.bulletClass))}"fraction"===e.type&&(r=e.renderFraction?e.renderFraction.call(t,e.currentClass,e.totalClass):`<span class="${e.currentClass}"></span> / <span class="${e.totalClass}"></span>`,a.html(r)),"progressbar"===e.type&&(r=e.renderProgressbar?e.renderProgressbar.call(t,e.progressbarFillClass):`<span class="${e.progressbarFillClass}"></span>`,a.html(r)),"custom"!==e.type&&i("paginationRender",t.pagination.$el[0])}function h(){t.params.pagination=F(t,t.originalParams.pagination,t.params.pagination,{el:"swiper-pagination"});const e=t.params.pagination;if(!e.el)return;let s=d(e.el);0!==s.length&&(t.params.uniqueNavElements&&"string"==typeof e.el&&s.length>1&&(s=t.$el.find(e.el),s.length>1&&(s=s.filter((e=>d(e).parents(".swiper")[0]===t.el)))),"bullets"===e.type&&e.clickable&&s.addClass(e.clickableClass),s.addClass(e.modifierClass+e.type),s.addClass(t.isHorizontal()?e.horizontalClass:e.verticalClass),"bullets"===e.type&&e.dynamicBullets&&(s.addClass(`${e.modifierClass}${e.type}-dynamic`),l=0,e.dynamicMainBullets<1&&(e.dynamicMainBullets=1)),"progressbar"===e.type&&e.progressbarOpposite&&s.addClass(e.progressbarOppositeClass),e.clickable&&s.on("click",U(e.bulletClass),(function(e){e.preventDefault();let s=d(this).index()*t.params.slidesPerGroup;t.params.loop&&(s+=t.loopedSlides),t.slideTo(s)})),Object.assign(t.pagination,{$el:s,el:s[0]}),t.enabled||s.addClass(e.lockClass))}function m(){const e=t.params.pagination;if(o())return;const s=t.pagination.$el;s.removeClass(e.hiddenClass),s.removeClass(e.modifierClass+e.type),s.removeClass(t.isHorizontal()?e.horizontalClass:e.verticalClass),t.pagination.bullets&&t.pagination.bullets.removeClass&&t.pagination.bullets.removeClass(e.bulletActiveClass),e.clickable&&s.off("click",U(e.bulletClass))}a("init",(()=>{!1===t.params.pagination.enabled?f():(h(),u(),p())})),a("activeIndexChange",(()=>{(t.params.loop||void 0===t.snapIndex)&&p()})),a("snapIndexChange",(()=>{t.params.loop||p()})),a("slidesLengthChange",(()=>{t.params.loop&&(u(),p())})),a("snapGridLengthChange",(()=>{t.params.loop||(u(),p())})),a("destroy",(()=>{m()}
vendor: 10,059 bytes, line 5616
5616)),a("enable disable",(()=>{const{$el:e}=t.pagination;e&&e[t.enabled?"removeClass":"addClass"](t.params.pagination.lockClass)})),a("lock unlock",(()=>{p()})),a("click",((e,s)=>{const a=s.target,{$el:r}=t.pagination;if(t.params.pagination.el&&t.params.pagination.hideOnClick&&r&&r.length>0&&!d(a).hasClass(t.params.pagination.bulletClass)){if(t.navigation&&(t.navigation.nextEl&&a===t.navigation.nextEl||t.navigation.prevEl&&a===t.navigation.prevEl))return;const e=r.hasClass(t.params.pagination.hiddenClass);i(!0===e?"paginationShow":"paginationHide"),r.toggleClass(t.params.pagination.hiddenClass)}}));const f=()=>{t.$el.addClass(t.params.pagination.paginationDisabledClass),t.pagination.$el&&t.pagination.$el.addClass(t.params.pagination.paginationDisabledClass),m()};Object.assign(t.pagination,{enable:()=>{t.$el.removeClass(t.params.pagination.paginationDisabledClass),t.pagination.$el&&t.pagination.$el.removeClass(t.params.pagination.paginationDisabledClass),h(),u(),p()},disable:f,render:u,update:p,init:h,destroy:m})},function(e){let{swiper:t,extendParams:s,on:i,emit:r}=e;const n=a();let l,o,c,u,h=!1,m=null,f=null;function g(){if(!t.params.scrollbar.el||!t.scrollbar.el)return;const{scrollbar:e,rtlTranslate:s,progress:a}=t,{$dragEl:i,$el:r}=e,n=t.params.scrollbar;let l=o,d=(c-o)*a;s?(d=-d,d>0?(l=o-d,d=0):-d+o>c&&(l=c+d)):d<0?(l=o+d,d=0):d+o>c&&(l=c-d),t.isHorizontal()?(i.transform(`translate3d(${d}px, 0, 0)`),i[0].style.width=`${l}px`):(i.transform(`translate3d(0px, ${d}px, 0)`),i[0].style.height=`${l}px`),n.hide&&(clearTimeout(m),r[0].style.opacity=1,m=setTimeout((()=>{r[0].style.opacity=0,r.transition(400)}),1e3))}function v(){if(!t.params.scrollbar.el||!t.scrollbar.el)return;const{scrollbar:e}=t,{$dragEl:s,$el:a}=e;s[0].style.width="",s[0].style.height="",c=t.isHorizontal()?a[0].offsetWidth:a[0].offsetHeight,u=t.size/(t.virtualSize+t.params.slidesOffsetBefore-(t.params.centeredSlides?t.snapGrid[0]:0)),o="auto"===t.params.scrollbar.dragSize?c*u:parseInt(t.params.scrollbar.dragSize,10),t.isHorizontal()?s[0].style.width=`${o}px`:s[0].style.height=`${o}px`,a[0].style.display=u>=1?"none":"",t.params.scrollbar.hide&&(a[0].style.opacity=0),t.params.watchOverflow&&t.enabled&&e.$el[t.isLocked?"addClass":"removeClass"](t.params.scrollbar.lockClass)}function w(e){return t.isHorizontal()?"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].clientX:e.clientX:"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].clientY:e.clientY}function b(e){const{scrollbar:s,rtlTranslate:a}=t,{$el:i}=s;let r;r=(w(e)-i.offset()[t.isHorizontal()?"left":"top"]-(null!==l?l:o/2))/(c-o),r=Math.max(Math.min(r,1),0),a&&(r=1-r);const n=t.minTranslate()+(t.maxTranslate()-t.minTranslate())*r;t.updateProgress(n),t.setTranslate(n),t.updateActiveIndex(),t.updateSlidesClasses()}function x(e){const s=t.params.scrollbar,{scrollbar:a,$wrapperEl:i}=t,{$el:n,$dragEl:o}=a;h=!0,l=e.target===o[0]||e.target===o?w(e)-e.target.getBoundingClientRect()[t.isHorizontal()?"left":"top"]:null,e.preventDefault(),e.stopPropagation(),i.transition(100),o.transition(100),b(e),clearTimeout(f),n.transition(0),s.hide&&n.css("opacity",1),t.params.cssMode&&t.$wrapperEl.css("scroll-snap-type","none"),r("scrollbarDragStart",e)}function y(e){const{scrollbar:s,$wrapperEl:a}=t,{$el:i,$dragEl:n}=s;h&&(e.preventDefault?e.preventDefault():e.returnValue=!1,b(e),a.transition(0),i.transition(0),n.transition(0),r("scrollbarDragMove",e))}function E(e){const s=t.params.scrollbar,{scrollbar:a,$wrapperEl:i}=t,{$el:n}=a;h&&(h=!1,t.params.cssMode&&(t.$wrapperEl.css("scroll-snap-type",""),i.transition("")),s.hide&&(clearTimeout(f),f=p((()=>{n.css("opacity",0),n.transition(400)}),1e3)),r("scrollbarDragEnd",e),s.snapOnRelease&&t.slideToClosest())}function C(e){const{scrollbar:s,touchEventsTouch:a,touchEventsDesktop:i,params:r,support:l}=t,o=s.$el;if(!o)return;const d=o[0],c=!(!l.passiveListener||!r.passiveListeners)&&{passive:!1,capture:!1},p=!(!l.passiveListener||!r.passiveListeners)&&{passive:!0,capture:!1};if(!d)return;const u="on"===e?"addEventListener":"removeEventListener";l.touch?(d[u](a.start,x,c),d[u](a.move,y,c),d[u](a.end,E,p)):(d[u](i.start,x,c),n[u](i.move,y,c),n[u](i.end,E,p))}function T(){const{scrollbar:e,$el:s}=t;t.params.scrollbar=F(t,t.originalParams.scrollbar,t.params.scrollbar,{el:"swiper-scrollbar"});const a=t.params.scrollbar;if(!a.el)return;let i=d(a.el);t.params.uniqueNavElements&&"string"==typeof a.el&&i.length>1&&1===s.find(a.el).length&&(i=s.find(a.el)),i.addClass(t.isHorizontal()?a.horizontalClass:a.verticalClass);let r=i.find(`.${t.params.scrollbar.dragClass}`);0===r.length&&(r=d(`<div class="${t.params.scrollbar.dragClass}"></div>`),i.append(r)),Object.assign(e,{$el:i,el:i[0],$dragEl:r,dragEl:r[0]}),a.draggable&&t.params.scrollbar.el&&t.scrollbar.el&&C("on"),i&&i[t.enabled?"removeClass":"addClass"](t.params.scrollbar.lockClass)}function $(){const e=t.params.scrollbar,s=t.scrollbar.$el;s&&s.removeClass(t.isHorizontal()?e.horizontalClass:e.verticalClass),t.params.scrollbar.el&&t.scrollbar.el&&C("off")}s({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag",scrollbarDisabledClass:"swiper-scrollbar-disabled",horizontalClass:"swiper-scrollbar-horizontal",verticalClass:"swiper-scrollbar-vertical"}}),t.scrollbar={el:null,dragEl:null,$el:null,$dragEl:null},i("init",(()=>{!1===t.params.scrollbar.enabled?S():(T(),v(),g())})),i("update resize observerUpdate lock unlock",(()=>{v()})),i("setTranslate",(()=>{g()})),i("setTransition",((e,s)=>{!function(e){t.params.scrollbar.el&&t.scrollbar.el&&t.scrollbar.$dragEl.transition(e)}(s)})),i("enable disable",(()=>{const{$el:e}=t.scrollbar;e&&e[t.enabled?"removeClass":"addClass"](t.params.scrollbar.lockClass)})),i("destroy",(()=>{$()}));const S=()=>{t.$el.addClass(t.params.scrollbar.scrollbarDisabledClass),t.scrollbar.$el&&t.scrollbar.$el.addClass(t.params.scrollbar.scrollbarDisabledClass),$()};Object.assign(t.scrollbar,{enable:()=>{t.$el.removeClass(t.params.scrollbar.scrollbarDisabledClass),t.scrollbar.$el&&t.scrollbar.$el.removeClass(t.params.scrollbar.scrollbarDisabledClass),T(),v(),g()},disable:S,updateSize:v,setTranslate:g,init:T,destroy:$})},function(e){let{swiper:t,extendParams:s,on:a}=e;s({parallax:{enabled:!1}});const i=(e,s)=>{const{rtl:a}=t,i=d(e),r=a?-1:1,n=i.attr("data-swiper-parallax")||"0";let l=i.attr("data-swiper-parallax-x"),o=i.attr("data-swiper-parallax-y");const c=i.attr("data-swiper-parallax-scale"),p=i.attr("data-swiper-parallax-opacity");if(l||o?(l=l||"0",o=o||"0"):t.isHorizontal()?(l=n,o="0"):(o=n,l="0"),l=l.indexOf("%")>=0?parseInt(l,10)*s*r+"%":l*s*r+"px",o=o.indexOf("%")>=0?parseInt(o,10)*s+"%":o*s+"px",null!=p){const e=p-(p-1)*(1-Math.abs(s));i[0].style.opacity=e}if(null==c)i.transform(`translate3d(${l}, ${o}, 0px)`);else{const e=c-(c-1)*(1-Math.abs(s));i.transform(`translate3d(${l}, ${o}, 0px) scale(${e})`)}},r=()=>{const{$el:e,slides:s,progress:a,snapGrid:r}=t;e.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((e=>{i(e,a)})),s.each(((e,s)=>{let n=e.progress;t.params.slidesPerGroup>1&&"auto"!==t.params.slidesPerView&&(n+=Math.ceil(s/2)-a*(r.length-1)),n=Math.min(Math.max(n,-1),1),d(e).find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((e=>{i(e,n)}))}))};a("beforeInit",(()=>{t.params.parallax.enabled&&(t.params.watchSlidesProgress=!0,t.originalParams.watchSlidesProgress=!0)})),a("init",(()=>{t.params.parallax.enabled&&r()})),a("setTranslate",(()=>{t.params.parallax.enabled&&r()})),a("setTransition",((e,s)=>{t.params.parallax.enabled&&function(e){void 0===e&&(e=t.params.speed);const{$el:s}=t;s.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((t=>{const s=d(t);let a=parseInt(s.attr("data-swiper-parallax-duration"),10)||e;0===e&&(a=0),s.transition(a)}))}(s)}))},function(e){let{swiper:t,extendParams:s,on:a,emit:i}=e;const n=r();s({zoom:{enabled:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}}),t.zoom={enabled:!1};let l,o,c,p=1,u=!1;const m={$slideEl:void 0,slideWidth:void 0,slideHeight:void 0,$imageEl:void 0,$imageWrapEl:void 0,maxRatio:3},f={isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},g={x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0};let v=1;function w(e){if(e.targetTouches.length<2)return 1;const t=e.targetTouches[0].pageX,s=e.targetTouches[0].pageY,a=e.targetTouches[1].pageX,i=e.targetTouches[1].pageY;return Math.sqrt((a-t)**2+(i-s)**2)}function b(e){const s=t.support,a=t.params.zoom;if(o=!1,c=!1,!s.gestures){if("touchstart"!==e.type||"touchstart"===e.type&&e.targetTouches.length<2)return;o=!0,m.scaleStart=w(e)}m.$slideEl&&m.$slideEl.length||(m.$slideEl=d(e.target).closest(`.${t.params.slideClass}`),0===m.$slideEl.length&&(m.$slideEl=t.slides.eq(t.activeIndex)),m.$imageEl=m.$slideEl.find(`.${a.containerClass}`).eq(0).find("picture, img, svg, canvas, .swiper-zoom-target").eq(0),m.$imageWrapEl=m.$imageEl.parent(`.${a.containerClass}`),m.maxRatio=m.$imageWrapEl.attr("data-swiper-zoom")||a.maxRatio,0!==m.$imageWrapEl.length)?(m.$imageEl&&m.$imageEl.transition(0),u=!0):m.$imageEl=void 0}function x(e){const s=t.support,a=t.params.zoom,i=t.zoom;if(!s.gestures){if("touchmove"!==e.type||"touchmove"===e.type&&e.targetTouches.length<2)return;c=!0,m.scaleMove=w(e)}m.$imageEl&&0!==m.$imageEl.length?(s.gestures?i.scale=e.scale*p:i.scale=m.scaleMove/m.scaleStart*p,i.scale>m.maxRatio&&(i.scale=m.maxRatio-1+(i.scale-m.maxRatio+1)**.5),i.scale<a.minRatio&&(i.scale=a.minRatio+1-(a.minRatio-i.scale+1)**.5),m.$imageEl.transform(`translate3d(0,
56160,0) scale(${i.scale})`)):"gesturechange"===e.type&&b(e)}function y(e){const s=t.device,a=t.support,i=t.params.zoom,r=t.zoom;if(!a.gestures){if(!o||!c)return;if("touchend"!==e.type||"touchend"===e.type&&e.changedTouches.length<2&&!s.android)return;o=!1,c=!1}m.$imageEl&&0!==m.$imageEl.length&&(r.scale=Math.max(Math.min(r.scale,m.maxRatio),i.minRatio),m.$imageEl.transition(t.params.speed).transform(`translate3d(0,0,0) scale(${r.scale})`),p=r.scale,u=!1,1===r.scale&&(m.$slideEl=void 0))}function E(e){const s=t.zoom;if(!m.$imageEl||0===m.$imageEl.length)return;if(t.allowClick=!1,!f.isTouched||!m.$slideEl)return;f.isMoved||(f.width=m.$imageEl[0].offsetWidth,f.height=m.$imageEl[0].offsetHeight,f.startX=h(m.$imageWrapEl[0],"x")||0,f.startY=h(m.$imageWrapEl[0],"y")||0,m.slideWidth=m.$slideEl[0].offsetWidth,m.slideHeight=m.$slideEl[0].offsetHeight,m.$imageWrapEl.transition(0));const a=f.width*s.scale,i=f.height*s.scale;if(!(a<m.slideWidth&&i<m.slideHeight)){if(f.minX=Math.min(m.slideWidth/2-a/2,0),f.maxX=-f.minX,f.minY=Math.min(m.slideHeight/2-i/2,0),f.maxY=-f.minY,f.touchesCurrent.x="touchmove"===e.type?e.targetTouches[0].pageX:e.pageX,f.touchesCurrent.y="touchmove"===e.type?e.targetTouches[0].pageY:e.pageY,!f.isMoved&&!u){if(t.isHorizontal()&&(Math.floor(f.minX)===Math.floor(f.startX)&&f.touchesCurrent.x<f.touchesStart.x||Math.floor(f.maxX)===Math.floor(f.startX)&&f.touchesCurrent.x>f.touchesStart.x))return void(f.isTouched=!1);if(!t.isHorizontal()&&(Math.floor(f.minY)===Math.floor(f.startY)&&f.touchesCurrent.y<f.touchesStart.y||Math.floor(f.maxY)===Math.floor(f.startY)&&f.touchesCurrent.y>f.touchesStart.y))return void(f.isTouched=!1)}e.cancelable&&e.preventDefault(),e.stopPropagation(),f.isMoved=!0,f.currentX=f.touchesCurrent.x-f.touchesStart.x+f.startX,f.currentY=f.touchesCurrent.y-f.touchesStart.y+f.startY,f.currentX<f.minX&&(f.currentX=f.minX+1-(f.minX-f.currentX+1)**.8),f.currentX>f.maxX&&(f.currentX=f.maxX-1+(f.currentX-f.maxX+1)**.8),f.currentY<f.minY&&(f.currentY=f.minY+1-(f.minY-f.currentY+1)**.8),f.currentY>f.maxY&&(f.currentY=f.maxY-1+(f.currentY-f.maxY+1)**.8),g.prevPositionX||(g.prevPositionX=f.touchesCurrent.x),g.prevPositionY||(g.prevPositionY=f.touchesCurrent.y),g.prevTime||(g.prevTime=Date.now()),g.x=(f.touchesCurrent.x-g.prevPositionX)/(Date.now()-g.prevTime)/2,g.y=(f.touchesCurrent.y-g.prevPositionY)/(Date.now()-g.prevTime)/2,Math.abs(f.touchesCurrent.x-g.prevPositionX)<2&&(g.x=0),Math.abs(f.touchesCurrent.y-g.prevPositionY)<2&&(g.y=0),g.prevPositionX=f.touchesCurrent.x,g.prevPositionY=f.touchesCurrent.y,g.prevTime=Date.now(),m.$imageWrapEl.transform(`translate3d(${f.currentX}px, ${f.currentY}px,0)`)}}function C(){const e=t.zoom;m.$slideEl&&t.previousIndex!==t.activeIndex&&(m.$imageEl&&m.$imageEl.transform("translate3d(0,0,0) scale(1)"),m.$imageWrapEl&&m.$imageWrapEl.transform("translate3d(0,0,0)"),e.scale=1,p=1,m.$slideEl=void 0,m.$imageEl=void 0,m.$imageWrapEl=void 0)}function T(e){const s=t.zoom,a=t.params.zoom;if(m.$slideEl||(e&&e.target&&(m.$slideEl=d(e.target).closest(`.${t.params.slideClass}`)),m.$slideEl||(t.params.virtual&&t.params.virtual.enabled&&t.virtual?m.$slideEl=t.$wrapperEl.children(`.${t.params.slideActiveClass}`):m.$slideEl=t.slides.eq(t.activeIndex)),m.$imageEl=m.$slideEl.find(`.${a.containerClass}`).eq(0).find("picture, img, svg, canvas, .swiper-zoom-target").eq(0),m.$imageWrapEl=m.$imageEl.parent(`.${a.containerClass}`)),!m.$imageEl||0===m.$imageEl.length||!m.$imageWrapEl||0===m.$imageWrapEl.length)return;let i,r,l,o,c,u,h,g,v,w,b,x,y,E,C,T,$,S;t.params.cssMode&&(t.wrapperEl.style.overflow="hidden",t.wrapperEl.style.touchAction="none"),m.$slideEl.addClass(`${a.zoomedSlideClass}`),void 0===f.touchesStart.x&&e?(i="touchend"===e.type?e.changedTouches[0].pageX:e.pageX,r="touchend"===e.type?e.changedTouches[0].pageY:e.pageY):(i=f.touchesStart.x,r=f.touchesStart.y),s.scale=m.$imageWrapEl.attr("data-swiper-zoom")||a.maxRatio,p=m.$imageWrapEl.attr("data-swiper-zoom")||a.maxRatio,e?($=m.$slideEl[0].offsetWidth,S=m.$slideEl[0].offsetHeight,l=m.$slideEl.offset().left+n.scrollX,o=m.$slideEl.offset().top+n.scrollY,c=l+$/2-i,u=o+S/2-r,v=m.$imageEl[0].offsetWidth,w=m.$imageEl[0].offsetHeight,b=v*s.scale,x=w*s.scale,y=Math.min($/2-b/2,0),E=Math.min(S/2-x/2,0),C=-y,T=-E,h=c*s.scale,g=u*s.scale,h<y&&(h=y),h>C&&(h=C),g<E&&(g=E),g>T&&(g=T)):(h=0,g=0),m.$imageWrapEl.transition(300).transform(`translate3d(${h}px, ${g}
5616px,0)`),m.$imageEl.transition(300).transform(`translate3d(0,0,0) scale(${s.scale})`)}function $(){const e=t.zoom,s=t.params.zoom;m.$slideEl||(t.params.virtual&&t.params.virtual.enabled&&t.virtual?m.$slideEl=t.$wrapperEl.children(`.${t.params.slideActiveClass}`):m.$slideEl=t.slides.eq(t.activeIndex),m.$imageEl=m.$slideEl.find(`.${s.containerClass}`).eq(0).find("picture, img, svg, canvas, .swiper-zoom-target").eq(0),m.$imageWrapEl=m.$imageEl.parent(`.${s.containerClass}`)),m.$imageEl&&0!==m.$imageEl.length&&m.$imageWrapEl&&0!==m.$imageWrapEl.length&&(t.params.cssMode&&(t.wrapperEl.style.overflow="",t.wrapperEl.style.touchAction=""),e.scale=1,p=1,m.$imageWrapEl.transition(300).transform("translate3d(0,0,0)"),m.$imageEl.transition(300).transform("translate3d(0,0,0) scale(1)"),m.$slideEl.removeClass(`${s.zoomedSlideClass}`),m.$slideEl=void 0)}function S(e){const s=t.zoom;s.scale&&1!==s.scale?$():T(e)}function M(){const e=t.support;return{passiveListener:!("touchstart"!==t.touchEvents.start||!e.passiveListener||!t.params.passiveListeners)&&{passive:!0,capture:!1},activeListenerWithCapture:!e.passiveListener||{passive:!1,capture:!0}}}function P(){return`.${t.params.slideClass}`}function k(e){const{passiveListener:s}=M(),a=P();t.$wrapperEl[e]("gesturestart",a,b,s),t.$wrapperEl[e]("gesturechange",a,x,s),t.$wrapperEl[e]("gestureend",a,y,s)}function z(){l||(l=!0,k("on"))}function L(){l&&(l=!1,k("off"))}function O(){const e=t.zoom;if(e.enabled)return;e.enabled=!0;const s=t.support,{passiveListener:a,activeListenerWithCapture:i}=M(),r=P();s.gestures?(t.$wrapperEl.on(t.touchEvents.start,z,a),t.$wrapperEl.on(t.touchEvents.end,L,a)):"touchstart"===t.touchEvents.start&&(t.$wrapperEl.on(t.touchEvents.start,r,b,a),t.$wrapperEl.on(t.touchEvents.move,r,x,i),t.$wrapperEl.on(t.touchEvents.end,r,y,a),t.touchEvents.cancel&&t.$wrapperEl.on(t.touchEvents.cancel,r,y,a)),t.$wrapperEl.on(t.touchEvents.move,`.${t.params.zoom.containerClass}`,E,i)}function I(){const e=t.zoom;if(!e.enabled)return;const s=t.support;e.enabled=!1;const{passiveListener:a,activeListenerWithCapture:i}=M(),r=P();s.gestures?(t.$wrapperEl.off(t.touchEvents.start,z,a),t.$wrapperEl.off(t.touchEvents.end,L,a)):"touchstart"===t.touchEvents.start&&(t.$wrapperEl.off(t.touchEvents.start,r,b,a),t.$wrapperEl.off(t.touchEvents.move,r,x,i),t.$wrapperEl.off(t.touchEvents.end,r,y,a),t.touchEvents.cancel&&t.$wrapperEl.off(t.touchEvents.cancel,r,y,a)),t.$wrapperEl.off(t.touchEvents.move,`.${t.params.zoom.containerClass}`,E,i)}Object.defineProperty(t.zoom,"scale",{get:()=>v,set(e){if(v!==e){const t=m.$imageEl?m.$imageEl[0]:void 0,s=m.$slideEl?m.$slideEl[0]:void 0;i("zoomChange",e,t,s)}v=e}}),a("init",(()=>{t.params.zoom.enabled&&O()})),a("destroy",(()=>{I()})),a("touchStart",((e,s)=>{t.zoom.enabled&&function(e){const s=t.device;m.$imageEl&&0!==m.$imageEl.length&&(f.isTouched||(s.android&&e.cancelable&&e.preventDefault(),f.isTouched=!0,f.touchesStart.x="touchstart"===e.type?e.targetTouches[0].pageX:e.pageX,f.touchesStart.y="touchstart"===e.type?e.targetTouches[0].pageY:e.pageY))}(s)})),a("touchEnd",((e,s)=>{t.zoom.enabled&&function(){const e=t.zoom;if(!m.$imageEl||0===m.$imageEl.length)return;if(!f.isTouched||!f.isMoved)return f.isTouched=!1,void(f.isMoved=!1);f.isTouched=!1,f.isMoved=!1;let s=300,a=300;const i=g.x*s,r=f.currentX+i,n=g.y*a,l=f.currentY+n;0!==g.x&&(s=Math.abs((r-f.currentX)/g.x)),0!==g.y&&(a=Math.abs((l-f.currentY)/g.y));const o=Math.max(s,a);f.currentX=r,f.currentY=l;const d=f.width*e.scale,c=f.height*e.scale;f.minX=Math.min(m.slideWidth/2-d/2,0),f.maxX=-f.minX,f.minY=Math.min(m.slideHeight/2-c/2,0),f.maxY=-f.minY,f.currentX=Math.max(Math.min(f.currentX,f.maxX),f.minX),f.currentY=Math.max(Math.min(f.currentY,f.maxY),f.minY),m.$imageWrapEl.transition(o).transform(`translate3d(${f.currentX}px, ${f.currentY}px,0)`)}()})),a("doubleTap",((e,s)=>{!t.animating&&t.params.zoom.enabled&&t.zoom.enabled&&t.params.zoom.toggle&&S(s)})),a("transitionEnd",(()=>{t.zoom.enabled&&t.params.zoom.enabled&&C()})),a("slideChange",(()=>{t.zoom.enabled&&t.params.zoom.enabled&&t.params.cssMode&&C()})),Object.assign(t.zoom,{enable:O,disable:I,in:T,out:$,toggle:S})},function(e){let{swiper:t,extendParams:s,on:a,emit:i}=e;s({lazy:{checkInView:!1,enabled:!1,loadPrevNext:!1,loadPrevNextAmount:1,loadOnTransitionStart:!1,scrollingElement:"",elementClass:"swiper-lazy",loadingClass:"swiper-lazy-loading",loadedClass:"swiper-lazy-loaded",preloaderClass:"swiper-lazy-preloader"}}),t.lazy={};let n=!1,l=!1;function o(e,s){void 0===s&&(s=!0);const a=t.params.lazy;if(void 0===e)return;if(0===t.slides.length)return;const r=t.virtual&&t.params.virtual.enabled?t.$wrapperEl.children(`.${t.params.slideClass}[data-swiper-slide-index="${e}"]`):t.slides.eq(e),n=r.find(`.${a.elementClass}:not(.${a.loadedClass}):not(.${a.loadingClass})`);!r.hasClass(a.elementClass)||r.hasClass(a.loadedClass)||r.hasClass(a.loadingClass)||n.push(r[0]),0!==n.length&&n.each((e=>{const n=d(e);n.addClass(a.loadingClass);const l=n.attr("data-background"),c=n.attr("data-src"),p=n.attr("data-srcset"),u=n.attr("data-sizes"),h=n.parent("picture");t.loadImage(n[0],c||l,p,u,!1,(()=>
vendor: 7,199 bytes, line 5616
5616{if(null!=t&&t&&(!t||t.params)&&!t.destroyed){if(l?(n.css("background-image",`url("${l}")`),n.removeAttr("data-background")):(p&&(n.attr("srcset",p),n.removeAttr("data-srcset")),u&&(n.attr("sizes",u),n.removeAttr("data-sizes")),h.length&&h.children("source").each((e=>{const t=d(e);t.attr("data-srcset")&&(t.attr("srcset",t.attr("data-srcset")),t.removeAttr("data-srcset"))})),c&&(n.attr("src",c),n.removeAttr("data-src"))),n.addClass(a.loadedClass).removeClass(a.loadingClass),r.find(`.${a.preloaderClass}`).remove(),t.params.loop&&s){const e=r.attr("data-swiper-slide-index");if(r.hasClass(t.params.slideDuplicateClass)){o(t.$wrapperEl.children(`[data-swiper-slide-index="${e}"]:not(.${t.params.slideDuplicateClass})`).index(),!1)}else{o(t.$wrapperEl.children(`.${t.params.slideDuplicateClass}[data-swiper-slide-index="${e}"]`).index(),!1)}}i("lazyImageReady",r[0],n[0]),t.params.autoHeight&&t.updateAutoHeight()}})),i("lazyImageLoad",r[0],n[0])}))}function c(){const{$wrapperEl:e,params:s,slides:a,activeIndex:i}=t,r=t.virtual&&s.virtual.enabled,n=s.lazy;let c=s.slidesPerView;function p(t){if(r){if(e.children(`.${s.slideClass}[data-swiper-slide-index="${t}"]`).length)return!0}else if(a[t])return!0;return!1}function u(e){return r?d(e).attr("data-swiper-slide-index"):d(e).index()}if("auto"===c&&(c=0),l||(l=!0),t.params.watchSlidesProgress)e.children(`.${s.slideVisibleClass}`).each((e=>{o(r?d(e).attr("data-swiper-slide-index"):d(e).index())}));else if(c>1)for(let e=i;e<i+c;e+=1)p(e)&&o(e);else o(i);if(n.loadPrevNext)if(c>1||n.loadPrevNextAmount&&n.loadPrevNextAmount>1){const e=n.loadPrevNextAmount,t=Math.ceil(c),s=Math.min(i+t+Math.max(e,t),a.length),r=Math.max(i-Math.max(t,e),0);for(let e=i+t;e<s;e+=1)p(e)&&o(e);for(let e=r;e<i;e+=1)p(e)&&o(e)}else{const t=e.children(`.${s.slideNextClass}`);t.length>0&&o(u(t));const a=e.children(`.${s.slidePrevClass}`);a.length>0&&o(u(a))}}function p(){const e=r();if(!t||t.destroyed)return;const s=t.params.lazy.scrollingElement?d(t.params.lazy.scrollingElement):d(e),a=s[0]===e,i=a?e.innerWidth:s[0].offsetWidth,l=a?e.innerHeight:s[0].offsetHeight,o=t.$el.offset(),{rtlTranslate:u}=t;let h=!1;u&&(o.left-=t.$el[0].scrollLeft);const m=[[o.left,o.top],[o.left+t.width,o.top],[o.left,o.top+t.height],[o.left+t.width,o.top+t.height]];for(let e=0;e<m.length;e+=1){const t=m[e];if(t[0]>=0&&t[0]<=i&&t[1]>=0&&t[1]<=l){if(0===t[0]&&0===t[1])continue;h=!0}}const f=!("touchstart"!==t.touchEvents.start||!t.support.passiveListener||!t.params.passiveListeners)&&{passive:!0,capture:!1};h?(c(),s.off("scroll",p,f)):n||(n=!0,s.on("scroll",p,f))}a("beforeInit",(()=>{t.params.lazy.enabled&&t.params.preloadImages&&(t.params.preloadImages=!1)})),a("init",(()=>{t.params.lazy.enabled&&(t.params.lazy.checkInView?p():c())})),a("scroll",(()=>{t.params.freeMode&&t.params.freeMode.enabled&&!t.params.freeMode.sticky&&c()})),a("scrollbarDragMove resize _freeModeNoMomentumRelease",(()=>{t.params.lazy.enabled&&(t.params.lazy.checkInView?p():c())})),a("transitionStart",(()=>{t.params.lazy.enabled&&(t.params.lazy.loadOnTransitionStart||!t.params.lazy.loadOnTransitionStart&&!l)&&(t.params.lazy.checkInView?p():c())})),a("transitionEnd",(()=>{t.params.lazy.enabled&&!t.params.lazy.loadOnTransitionStart&&(t.params.lazy.checkInView?p():c())})),a("slideChange",(()=>{const{lazy:e,cssMode:s,watchSlidesProgress:a,touchReleaseOnEdges:i,resistanceRatio:r}=t.params;e.enabled&&(s||a&&(i||0===r))&&c()})),a("destroy",(()=>{t.$el&&t.$el.find(`.${t.params.lazy.loadingClass}`).removeClass(t.params.lazy.loadingClass)})),Object.assign(t.lazy,{load:c,loadInSlide:o})},function(e){let{swiper:t,extendParams:s,on:a}=e;function i(e,t){const s=function(){let e,t,s;return(a,i)=>{for(t=-1,e=a.length;e-t>1;)s=e+t>>1,a[s]<=i?t=s:e=s;return e}}();let a,i;return this.x=e,this.y=t,this.lastIndex=e.length-1,this.interpolate=function(e){return e?(i=s(this.x,e),a=i-1,(e-this.x[a])*(this.y[i]-this.y[a])/(this.x[i]-this.x[a])+this.y[a]):0},this}function r(){t.controller.control&&t.controller.spline&&(t.controller.spline=void 0,delete t.controller.spline)}s({controller:{control:void 0,inverse:!1,by:"slide"}}),t.controller={control:void 0},a("beforeInit",(()=>{t.controller.control=t.params.controller.control})),a("update",(()=>{r()})),a("resize",(()=>{r()})),a("observerUpdate",(()=>{r()})),a("setTranslate",((e,s,a)=>{t.controller.control&&t.controller.setTranslate(s,a)})),a("setTransition",((e,s,a)=>{t.controller.control&&t.controller.setTransition(s,a)})),Object.assign(t.controller,{setTranslate:function(e,s){const a=t.controller.control;let r,n;const l=t.constructor;function o(e){const s=t.rtlTranslate?-t.translate:t.translate;"slide"===t.params.controller.by&&(!function(e){t.controller.spline||(t.controller.spline=t.params.loop?new i(t.slidesGrid,e.slidesGrid):new i(t.snapGrid,e.snapGrid))}(e),n=-t.controller.spline.interpolate(-s)),n&&"container"!==t.params.controller.by||(r=(e.maxTranslate()-e.minTranslate())/(t.maxTranslate()-t.minTranslate()),n=(s-t.minTranslate())*r+e.minTranslate()),t.params.controller.inverse&&(n=e.maxTranslate()-n),e.updateProgress(n),e.setTranslate(n,t),e.updateActiveIndex(),e.updateSlidesClasses()}if(Array.isArray(a))for(let e=0;e<a.length;e+=1)a[e]!==s&&a[e]instanceof l&&o(a[e]);else a instanceof l&&s!==a&&o(a)},setTransition:function(e,s){const a=t.constructor,i=t.controller.control;let r;function n(s){s.setTransition(e,t),0!==e&&(s.transitionStart(),s.params.autoHeight&&p((()=>{s.updateAutoHeight()})),s.$wrapperEl.transitionEnd((()=>{i&&(s.params.loop&&"slide"===t.params.controller.by&&s.loopFix(),s.transitionEnd())})))}if(Array.isArray(i))for(r=0;r<i.length;r+=1)i[r]!==s&&i[r]instanceof a&&n(i[r]);else i instanceof a&&s!==i&&n(i)}})},function(e){let{swiper:t,extendParams:s,on:a}=e;s({a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",slideLabelMessage:"{{index}} / {{slidesLength}}",containerMessage:null,containerRoleDescriptionMessage:null,itemRoleDescriptionMessage:null,slideRole:"group",id:null}}),t.a11y={clicked:!1};let i=null;function r(e){const t=i;0!==t.length&&(t.html(""),t.html(e))}function n(e){e.attr("tabIndex","0")}function l(e){e.attr("tabIndex","-1")}function o(e,t){e.attr("role",t)}function c(e,t){e.attr("aria-roledescription",t)}function p(e,t){e.attr("aria-label",t)}function u(e){e.attr("aria-disabled",!0)}function h(e){e.attr("aria-disabled",!1)}function m(e){if(13!==e.keyCode&&32!==e.keyCode)return;const s=t.params.a11y,a=d(e.target);t.navigation&&t.navigation.$nextEl&&a.is(t.navigation.$nextEl)&&(t.isEnd&&!t.params.loop||t.slideNext(),t.isEnd?r(s.lastSlideMessage):r(s.nextSlideMessage)),t.navigation&&t.navigation.$prevEl&&a.is(t.navigation.$prevEl)&&(t.isBeginning&&!t.params.loop||t.slidePrev(),t.isBeginning?r(s.firstSlideMessage):r(s.prevSlideMessage)),t.pagination&&a.is(U(t.params.pagination.bulletClass))&&a[0].click()}function f(){return t.pagination&&t.pagination.bullets&&t.pagination.bullets.length}function g(){return f()&&t.params.pagination.clickable}const v=(e,t,s)=>
5616{n(e),"BUTTON"!==e[0].tagName&&(o(e,"button"),e.on("keydown",m)),p(e,s),function(e,t){e.attr("aria-controls",t)}(e,t)},w=()=>{t.a11y.clicked=!0},b=()=>{t.a11y.clicked=!1},x=e=>{if(t.a11y.clicked)return;const s=e.target.closest(`.${t.params.slideClass}`);if(!s||!t.slides.includes(s))return;const a=t.slides.indexOf(s)===t.activeIndex,i=t.params.watchSlidesProgress&&t.visibleSlides&&t.visibleSlides.includes(s);a||i||(t.isHorizontal()?t.el.scrollLeft=0:t.el.scrollTop=0,t.slideTo(t.slides.indexOf(s),0))},y=()=>{const e=t.params.a11y;e.itemRoleDescriptionMessage&&c(d(t.slides),e.itemRoleDescriptionMessage),e.slideRole&&o(d(t.slides),e.slideRole);const s=t.params.loop?t.slides.filter((e=>!e.classList.contains(t.params.slideDuplicateClass))).length:t.slides.length;e.slideLabelMessage&&t.slides.each(((a,i)=>{const r=d(a),n=t.params.loop?parseInt(r.attr("data-swiper-slide-index"),10):i;p(r,e.slideLabelMessage.replace(/\{\{index\}\}/,n+1).replace(/\{\{slidesLength\}\}/,s))}))},E=()=>{const e=t.params.a11y;t.$el.append(i);const s=t.$el;e.containerRoleDescriptionMessage&&c(s,e.containerRoleDescriptionMessage),e.containerMessage&&p(s,e.containerMessage);const a=t.$wrapperEl,r=e.id||a.attr("id")||`swiper-wrapper-${n=16,void 0===n&&(n=16),"x".repeat(n).replace(/x/g,(()=>Math.round(16*Math.random()).toString(16)))}`;var n;const l=t.params.autoplay&&t.params.autoplay.enabled?"off":"polite";var o;let d,u;o=r,a.attr("id",o),function(e,t){e.attr("aria-live",t)}(a,l),y(),t.navigation&&t.navigation.$nextEl&&(d=t.navigation.$nextEl),t.navigation&&t.navigation.$prevEl&&(u=t.navigation.$prevEl),d&&d.length&&v(d,r,e.nextSlideMessage),u&&u.length&&v(u,r,e.prevSlideMessage),g()&&t.pagination.$el.on("keydown",U(t.params.pagination.bulletClass),m),t.$el.on("focus",x,!0),t.$el.on("pointerdown",w,!0),t.$el.on("pointerup",b,!0)};a("beforeInit",(()=>{i=d(`<span class="${t.params.a11y.notificationClass}" aria-live="assertive" aria-atomic="true"></span>`)})),a("afterInit",(()=>{t.params.a11y.enabled&&E()})),a("slidesLengthChange snapGridLengthChange slidesGridLengthChange",(()=>{t.params.a11y.enabled&&y()})),a("fromEdge toEdge afterInit lock unlock",(()=>{t.params.a11y.enabled&&function(){if(t.params.loop||t.params.rewind||!t.navigation)return;const{$nextEl:e,$prevEl:s}=t.navigation;s&&s.length>0&&(t.isBeginning?(u(s),l(s)):(h(s),n(s))),e&&e.length>0&&(t.isEnd?(u(e),l(e)):(h(e),n(e)))}()})),a("paginationUpdate",(()=>{t.params.a11y.enabled&&function(){const e=t.params.a11y;f()&&t.pagination.bullets.each((s=>{const a=d(s);t.params.pagination.clickable&&(n(a),t.params.pagination.renderBullet||(o(a,"button"),p(a,e.paginationBulletMessage.replace(/\{\{index\}\}/,a.index()+1)))),a.is(`.${t.params.pagination.bulletActiveClass}`)?a.attr("aria-current","true"):a.removeAttr("aria-current")}))}()})),a("destroy",(()=>{t.params.a11y.enabled&&function(){let e,s;i&&i.length>0&&i.remove(),t.navigation&&t.navigation.$nextEl&&(e=t.navigation.$nextEl),t.navigation&&t.navigation.$prevEl&&(s=t.navigation.$prevEl),e&&e.off("keydown",m),s&&s.off("keydown",m),g()&&t.pagination.$el.off("keydown",U(t.params.pagination.bulletClass),m),t.$el.off("focus",x,!0),t.$el.off("pointerdown",w,!0),t.$el.off("pointerup",b,!0)}()}))},function(e){let{swiper:t,extendParams:s,on:a}=e;s({history:{enabled:!1,root:"",replaceState:!1,key:"slides",keepQuery:!1}});let i=!1,n={};const l=e=>e.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,""),o=e=>{const t=r();let s;s=e?new URL(e):t.location;const a=s.pathname.slice(1).split("/").filter((e=>""!==e)),i=a.length;return{key:a[i-2],value:a[i-1]}},d=(e,s)=>{const a=r();if(!i||!t.params.history.enabled)return;let n;n=t.params.url?new URL(t.params.url):a.location;const o=t.slides.eq(s);let d=l(o.attr("data-history"));if(t.params.history.root.length>0){let s=t.params.history.root;"/"===s[s.length-1]&&(s=s.slice(0,s.length-1)),d=`${s}/${e}/${d}`}else n.pathname.includes(e)||(d=`${e}/${d}`);t.params.history.keepQuery&&(d+=n.search);const c=a.history.state;c&&c.value===d||(t.params.history.replaceState?a.history.replaceState({value:d},null,d):a.history.pushState({value:d},null,d))},c=(e,s,a)=>
vendor: 21,193 bytes, line 5616
5616{if(s)for(let i=0,r=t.slides.length;i<r;i+=1){const r=t.slides.eq(i);if(l(r.attr("data-history"))===s&&!r.hasClass(t.params.slideDuplicateClass)){const s=r.index();t.slideTo(s,e,a)}}else t.slideTo(0,e,a)},p=()=>{n=o(t.params.url),c(t.params.speed,n.value,!1)};a("init",(()=>{t.params.history.enabled&&(()=>{const e=r();if(t.params.history){if(!e.history||!e.history.pushState)return t.params.history.enabled=!1,void(t.params.hashNavigation.enabled=!0);i=!0,n=o(t.params.url),(n.key||n.value)&&(c(0,n.value,t.params.runCallbacksOnInit),t.params.history.replaceState||e.addEventListener("popstate",p))}})()})),a("destroy",(()=>{t.params.history.enabled&&(()=>{const e=r();t.params.history.replaceState||e.removeEventListener("popstate",p)})()})),a("transitionEnd _freeModeNoMomentumRelease",(()=>{i&&d(t.params.history.key,t.activeIndex)})),a("slideChange",(()=>{i&&t.params.cssMode&&d(t.params.history.key,t.activeIndex)}))},function(e){let{swiper:t,extendParams:s,emit:i,on:n}=e,l=!1;const o=a(),c=r();s({hashNavigation:{enabled:!1,replaceState:!1,watchState:!1}});const p=()=>{i("hashChange");const e=o.location.hash.replace("#","");if(e!==t.slides.eq(t.activeIndex).attr("data-hash")){const s=t.$wrapperEl.children(`.${t.params.slideClass}[data-hash="${e}"]`).index();if(void 0===s)return;t.slideTo(s)}},u=()=>{if(l&&t.params.hashNavigation.enabled)if(t.params.hashNavigation.replaceState&&c.history&&c.history.replaceState)c.history.replaceState(null,null,`#${t.slides.eq(t.activeIndex).attr("data-hash")}`||""),i("hashSet");else{const e=t.slides.eq(t.activeIndex),s=e.attr("data-hash")||e.attr("data-history");o.location.hash=s||"",i("hashSet")}};n("init",(()=>{t.params.hashNavigation.enabled&&(()=>{if(!t.params.hashNavigation.enabled||t.params.history&&t.params.history.enabled)return;l=!0;const e=o.location.hash.replace("#","");if(e){const s=0;for(let a=0,i=t.slides.length;a<i;a+=1){const i=t.slides.eq(a);if((i.attr("data-hash")||i.attr("data-history"))===e&&!i.hasClass(t.params.slideDuplicateClass)){const e=i.index();t.slideTo(e,s,t.params.runCallbacksOnInit,!0)}}}t.params.hashNavigation.watchState&&d(c).on("hashchange",p)})()})),n("destroy",(()=>{t.params.hashNavigation.enabled&&t.params.hashNavigation.watchState&&d(c).off("hashchange",p)})),n("transitionEnd _freeModeNoMomentumRelease",(()=>{l&&u()})),n("slideChange",(()=>{l&&t.params.cssMode&&u()}))},function(e){let t,{swiper:s,extendParams:i,on:r,emit:n}=e;function l(){if(!s.size)return s.autoplay.running=!1,void(s.autoplay.paused=!1);const e=s.slides.eq(s.activeIndex);let a=s.params.autoplay.delay;e.attr("data-swiper-autoplay")&&(a=e.attr("data-swiper-autoplay")||s.params.autoplay.delay),clearTimeout(t),t=p((()=>{let e;s.params.autoplay.reverseDirection?s.params.loop?(s.loopFix(),e=s.slidePrev(s.params.speed,!0,!0),n("autoplay")):s.isBeginning?s.params.autoplay.stopOnLastSlide?d():(e=s.slideTo(s.slides.length-1,s.params.speed,!0,!0),n("autoplay")):(e=s.slidePrev(s.params.speed,!0,!0),n("autoplay")):s.params.loop?(s.loopFix(),e=s.slideNext(s.params.speed,!0,!0),n("autoplay")):s.isEnd?s.params.autoplay.stopOnLastSlide?d():(e=s.slideTo(0,s.params.speed,!0,!0),n("autoplay")):(e=s.slideNext(s.params.speed,!0,!0),n("autoplay")),(s.params.cssMode&&s.autoplay.running||!1===e)&&l()}),a)}function o(){return void 0===t&&(!s.autoplay.running&&(s.autoplay.running=!0,n("autoplayStart"),l(),!0))}function d(){return!!s.autoplay.running&&(void 0!==t&&(t&&(clearTimeout(t),t=void 0),s.autoplay.running=!1,n("autoplayStop"),!0))}function c(e){s.autoplay.running&&(s.autoplay.paused||(t&&clearTimeout(t),s.autoplay.paused=!0,0!==e&&s.params.autoplay.waitForTransition?["transitionend","webkitTransitionEnd"].forEach((e=>{s.$wrapperEl[0].addEventListener(e,h)})):(s.autoplay.paused=!1,l())))}function u(){const e=a();"hidden"===e.visibilityState&&s.autoplay.running&&c(),"visible"===e.visibilityState&&s.autoplay.paused&&(l(),s.autoplay.paused=!1)}function h(e){s&&!s.destroyed&&s.$wrapperEl&&e.target===s.$wrapperEl[0]&&(["transitionend","webkitTransitionEnd"].forEach((e=>{s.$wrapperEl[0].removeEventListener(e,h)})),s.autoplay.paused=!1,s.autoplay.running?l():d())}function m(){s.params.autoplay.disableOnInteraction?d():(n("autoplayPause"),c()),["transitionend","webkitTransitionEnd"].forEach((e=>{s.$wrapperEl[0].removeEventListener(e,h)}))}function f(){s.params.autoplay.disableOnInteraction||(s.autoplay.paused=!1,n("autoplayResume"),l())}s.autoplay={running:!1,paused:!1},i({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}}),r("init",(()=>{if(s.params.autoplay.enabled){o();a().addEventListener("visibilitychange",u),s.params.autoplay.pauseOnMouseEnter&&(s.$el.on("mouseenter",m),s.$el.on("mouseleave",f))}})),r("beforeTransitionStart",((e,t,a)=>{s.autoplay.running&&(a||!s.params.autoplay.disableOnInteraction?s.autoplay.pause(t):d())})),r("sliderFirstMove",(()=>{s.autoplay.running&&(s.params.autoplay.disableOnInteraction?d():c())})),r("touchEnd",(()=>{s.params.cssMode&&s.autoplay.paused&&!s.params.autoplay.disableOnInteraction&&l()})),r("destroy",(()=>{s.$el.off("mouseenter",m),s.$el.off("mouseleave",f),s.autoplay.running&&d();a().removeEventListener("visibilitychange",u)})),Object.assign(s.autoplay,{pause:c,run:l,start:o,stop:d})},function(e){let{swiper:t,extendParams:s,on:a}=e;s({thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-thumbs"}});let i=!1,r=!1;function n(){const e=t.thumbs.swiper;if(!e||e.destroyed)return;const s=e.clickedIndex,a=e.clickedSlide;if(a&&d(a).hasClass(t.params.thumbs.slideThumbActiveClass))return;if(null==s)return;let i;if(i=e.params.loop?parseInt(d(e.clickedSlide).attr("data-swiper-slide-index"),10):s,t.params.loop){let e=t.activeIndex;t.slides.eq(e).hasClass(t.params.slideDuplicateClass)&&(t.loopFix(),t._clientLeft=t.$wrapperEl[0].clientLeft,e=t.activeIndex);const s=t.slides.eq(e).prevAll(`[data-swiper-slide-index="${i}"]`).eq(0).index(),a=t.slides.eq(e).nextAll(`[data-swiper-slide-index="${i}"]`).eq(0).index();i=void 0===s?a:void 0===a?s:a-e<e-s?a:s}t.slideTo(i)}function l(){const{thumbs:e}=t.params;if(i)return!1;i=!0;const s=t.constructor;if(e.swiper instanceof s)t.thumbs.swiper=e.swiper,Object.assign(t.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),Object.assign(t.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1});else if(m(e.swiper)){const a=Object.assign({},e.swiper);Object.assign(a,{watchSlidesProgress:!0,slideToClickedSlide:!1}),t.thumbs.swiper=new s(a),r=!0}return t.thumbs.swiper.$el.addClass(t.params.thumbs.thumbsContainerClass),t.thumbs.swiper.on("tap",n),!0}function o(e){const s=t.thumbs.swiper;if(!s||s.destroyed)return;const a="auto"===s.params.slidesPerView?s.slidesPerViewDynamic():s.params.slidesPerView;let i=1;const r=t.params.thumbs.slideThumbActiveClass;if(t.params.slidesPerView>1&&!t.params.centeredSlides&&(i=t.params.slidesPerView),t.params.thumbs.multipleActiveThumbs||(i=1),i=Math.floor(i),s.slides.removeClass(r),s.params.loop||s.params.virtual&&s.params.virtual.enabled)for(let e=0;e<i;e+=1)s.$wrapperEl.children(`[data-swiper-slide-index="${t.realIndex+e}"]`).addClass(r);else for(let e=0;e<i;e+=1)s.slides.eq(t.realIndex+e).addClass(r);const n=t.params.thumbs.autoScrollOffset,l=n&&!s.params.loop;if(t.realIndex!==s.realIndex||l){let i,r,o=s.activeIndex;if(s.params.loop){s.slides.eq(o).hasClass(s.params.slideDuplicateClass)&&(s.loopFix(),s._clientLeft=s.$wrapperEl[0].clientLeft,o=s.activeIndex);const e=s.slides.eq(o).prevAll(`[data-swiper-slide-index="${t.realIndex}"]`).eq(0).index(),a=s.slides.eq(o).nextAll(`[data-swiper-slide-index="${t.realIndex}"]`).eq(0).index();i=void 0===e?a:void 0===a?e:a-o==o-e?s.params.slidesPerGroup>1?a:o:a-o<o-e?a:e,r=t.activeIndex>t.previousIndex?"next":"prev"}else i=t.realIndex,r=i>t.previousIndex?"next":"prev";l&&(i+="next"===r?n:-1*n),s.visibleSlidesIndexes&&s.visibleSlidesIndexes.indexOf(i)<0&&(s.params.centeredSlides?i=i>o?i-Math.floor(a/2)+1:i+Math.floor(a/2)-1:i>o&&s.params.slidesPerGroup,s.slideTo(i,e?0:void 0))}}t.thumbs={swiper:null},a("beforeInit",(()=>{const{thumbs:e}=t.params;e&&e.swiper&&(l(),o(!0))})),a("slideChange update resize observerUpdate",(()=>{o()})),a("setTransition",((e,s)=>{const a=t.thumbs.swiper;a&&!a.destroyed&&a.setTransition(s)})),a("beforeDestroy",(()=>{const e=t.thumbs.swiper;e&&!e.destroyed&&r&&e.destroy()})),Object.assign(t.thumbs,{init:l,update:o})},function(e){let{swiper:t,extendParams:s,emit:a,once:i}=e;s({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}}),Object.assign(t,{freeMode:{onTouchStart:function(){const e=t.getTranslate();t.setTranslate(e),t.setTransition(0),t.touchEventsData.velocities.length=0,t.freeMode.onTouchEnd({currentPos:t.rtl?t.translate:-t.translate})},onTouchMove:function(){const{touchEventsData:e,touches:s}=t;0===e.velocities.length&&e.velocities.push({position:s[t.isHorizontal()?"startX":"startY"],time:e.touchStartTime}),e.velocities.push({position:s[t.isHorizontal()?"currentX":"currentY"],time:u()})},onTouchEnd:function(e){let{currentPos:s}=e;const{params:r,$wrapperEl:n,rtlTranslate:l,snapGrid:o,touchEventsData:d}=t,c=u()-d.touchStartTime;if(s<-t.minTranslate())t.slideTo(t.activeIndex);else if(s>-t.maxTranslate())t.slides.length<o.length?t.slideTo(o.length-1):t.slideTo(t.slides.length-1);else{if(r.freeMode.momentum){if(d.velocities.length>1){const e=d.velocities.pop(),s=d.velocities.pop(),a=e.position-s.position,i=e.time-s.time;t.velocity=a/i,t.velocity/=2,Math.abs(t.velocity)<r.freeMode.minimumVelocity&&(t.velocity=0),(i>150||u()-e.time>300)&&(t.velocity=0)}else t.velocity=0;t.velocity*=r.freeMode.momentumVelocityRatio,d.velocities.length=0;let e=1e3*r.freeMode.momentumRatio;const s=t.velocity*e;let c=t.translate+s;l&&(c=-c);let p,h=!1;const m=20*Math.abs(t.velocity)*r.freeMode.momentumBounceRatio;let f;if(c<t.maxTranslate())r.freeMode.momentumBounce?(c+t.maxTranslate()<-m&&(c=t.maxTranslate()-m),p=t.maxTranslate(),h=!0,d.allowMomentumBounce=!0):c=t.maxTranslate(),r.loop&&r.centeredSlides&&(f=!0);else if(c>t.minTranslate())r.freeMode.momentumBounce?(c-t.minTranslate()>m&&(c=t.minTranslate()+m),p=t.minTranslate(),h=!0,d.allowMomentumBounce=!0):c=t.minTranslate(),r.loop&&r.centeredSlides&&(f=!0);else if(r.freeMode.sticky){let e;for(let t=0;t<o.length;t+=1)if(o[t]>-c){e=t;break}c=Math.abs(o[e]-c)<Math.abs(o[e-1]-c)||"next"===t.swipeDirection?o[e]:o[e-1],c=-c}if(f&&i("transitionEnd",(()=>{t.loopFix()})),0!==t.velocity){if(e=l?Math.abs((-c-t.translate)/t.velocity):Math.abs((c-t.translate)/t.velocity),r.freeMode.sticky){const s=Math.abs((l?-c:c)-t.translate),a=t.slidesSizesGrid[t.activeIndex];e=s<a?r.speed:s<2*a?1.5*r.speed:2.5*r.speed}}else if(r.freeMode.sticky)return void t.slideToClosest();r.freeMode.momentumBounce&&h?(t.updateProgress(p),t.setTransition(e),t.setTranslate(c),t.transitionStart(!0,t.swipeDirection),t.animating=!0,n.transitionEnd((()=>{t&&!t.destroyed&&d.allowMomentumBounce&&(a("momentumBounce"),t.setTransition(r.speed),setTimeout((()=>{t.setTranslate(p),n.transitionEnd((()=>{t&&!t.destroyed&&t.transitionEnd()}))}),0))}))):t.velocity?(a("_freeModeNoMomentumRelease"),t.updateProgress(c),t.setTransition(e),t.setTranslate(c),t.transitionStart(!0,t.swipeDirection),t.animating||(t.animating=!0,n.transitionEnd((()=>{t&&!t.destroyed&&t.transitionEnd()})))):t.updateProgress(c),t.updateActiveIndex(),t.updateSlidesClasses()}else{if(r.freeMode.sticky)return void t.slideToClosest();r.freeMode&&a("_freeModeNoMomentumRelease")}(!r.freeMode.momentum||c>=r.longSwipesMs)&&(t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses())}}}})},function(e){let t,s,a,{swiper:i,extendParams:r}=e;r({grid:{rows:1,fill:"column"}}),i.grid={initSlides:e=>{const{slidesPerView:r}=i.params,{rows:n,fill:l}=i.params.grid;s=t/n,a=Math.floor(e/n),t=Math.floor(e/n)===e/n?e:Math.ceil(e/n)*n,"auto"!==r&&"row"===l&&(t=Math.max(t,r*n))},updateSlide:(e,r,n,l)=>{const{slidesPerGroup:o,spaceBetween:d}=i.params,{rows:c,fill:p}=i.params.grid;let u,h,m;if("row"===p&&o>1){const s=Math.floor(e/(o*c)),a=e-c*o*s,i=0===s?o:Math.min(Math.ceil((n-s*c*o)/c),o);m=Math.floor(a/i),h=a-m*i+s*o,u=h+m*t/c,r.css({"-webkit-order":u,order:u})}else"column"===p?(h=Math.floor(e/c),m=e-h*c,(h>a||h===a&&m===c-1)&&(m+=1,m>=c&&(m=0,h+=1))):(m=Math.floor(e/s),h=e-m*s);r.css(l("margin-top"),0!==m?d&&`${d}px`:"")},updateWrapperSize:(e,s,a)=>{const{spaceBetween:r,centeredSlides:n,roundLengths:l}=i.params,{rows:o}=i.params.grid;if(i.virtualSize=(e+r)*t,i.virtualSize=Math.ceil(i.virtualSize/o)-r,i.$wrapperEl.css({[a("width")]:`${i.virtualSize+r}px`}),n){s.splice(0,s.length);const e=[];for(let t=0;t<s.length;t+=1){let a=s[t];l&&(a=Math.floor(a)),s[t]<i.virtualSize+s[0]&&e.push(a)}s.push(...e)}}}},function(e){let{swiper:t}=e;Object.assign(t,{appendSlide:K.bind(t),prependSlide:Z.bind(t),addSlide:Q.bind(t),removeSlide:J.bind(t),removeAllSlides:ee.bind(t)})},function(e){let{swiper:t,extendParams:s,on:a}=e;s({fadeEffect:{crossFade:!1,transformEl:null}}),te({effect:"fade",swiper:t,on:a,setTranslate:()=>{const{slides:e}=t,s=t.params.fadeEffect;for(let a=0;a<e.length;a+=1){const e=t.slides.eq(a);let i=-e[0].swiperSlideOffset;t.params.virtualTranslate||(i-=t.translate);let r=0;t.isHorizontal()||(r=i,i=0);const n=t.params.fadeEffect.crossFade?Math.max(1-Math.abs(e[0].progress),0):1+Math.min(Math.max(e[0].progress,-1),0);se(s,e).css({opacity:n}).transform(`translate3d(${i}px, ${r}px, 0px)`)}},setTransition:e=>{const{transformEl:s}=t.params.fadeEffect;(s?t.slides.find(s):t.slides).transition(e),ae({swiper:t,duration:e,transformEl:s,allSlides:!0})},overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!t.params.cssMode})})},function(e){let{swiper:t,extendParams:s,on:a}=e;s({cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}});const i=(e,t,s)=>{let a=s?e.find(".swiper-slide-shadow-left"):e.find(".swiper-slide-shadow-top"),i=s?e.find(".swiper-slide-shadow-right"):e.find(".swiper-slide-shadow-bottom");0===a.length&&(a=d(`<div class="swiper-slide-shadow-${s?"left":"top"}"></div>`),e.append(a)),0===i.length&&(i=d(`<div class="swiper-slide-shadow-${s?"right":"bottom"}"></div>`),e.append(i)),a.length&&(a[0].style.opacity=Math.max(-t,0)),i.length&&(i[0].style.opacity=Math.max(t,0))};te({effect:"cube",swiper:t,on:a,setTranslate:()=>{const{$el:e,$wrapperEl:s,slides:a,width:r,height:n,rtlTranslate:l,size:o,browser:c}=t,p=t.params.cubeEffect,u=t.isHorizontal(),h=t.virtual&&t.params.virtual.enabled;let m,f=0;p.shadow&&(u?(m=s.find(".swiper-cube-shadow"),0===m.length&&(m=d('<div class="swiper-cube-shadow"></div>'),s.append(m)),m.css({height:`${r}px`})):(m=e.find(".swiper-cube-shadow"),0===m.length&&(m=d('<div class="swiper-cube-shadow"></div>'),e.append(m))));for(let e=0;e<a.length;e+=1){const t=a.eq(e);let s=e;h&&(s=parseInt(t.attr("data-swiper-slide-index"),10));let r=90*s,n=Math.floor(r/360);l&&(r=-r,n=Math.floor(-r/360));const d=Math.max(Math.min(t[0].progress,1),-1);let c=0,m=0,g=0;s%4==0?(c=4*-n*o,g=0):(s-1)%4==0?(c=0,g=4*-n*o):(s-2)%4==0?(c=o+4*n*o,g=o):(s-3)%4==0&&(c=-o,g=3*o+4*o*n),l&&(c=-c),u||(m=c,c=0);const v=`rotateX(${u?0:-r}deg) rotateY(${u?r:0}deg) translate3d(${c}px, ${m}px, ${g}px)`;d<=1&&d>-1&&(f=90*s+90*d,l&&(f=90*-s-90*d)),t.transform(v),p.slideShadows&&i(t,d,u)}if(s.css({"-webkit-transform-origin":`50% 50% -${o/2}px`,"transform-origin":`50% 50% -${o/2}px`}),p.shadow)if(u)m.transform(`translate3d(0px, ${r/2+p.shadowOffset}px, ${-r/2}px) rotateX(90deg) rotateZ(0deg) scale(${p.shadowScale})`);else{const e=Math.abs(f)-90*Math.floor(Math.abs(f)/90),t=1.5-(Math.sin(2*e*Math.PI/360)/2+Math.cos(2*e*Math.PI/360)/2),s=p.shadowScale,a=p.shadowScale/t,i=p.shadowOffset;m.transform(`scale3d(${s}, 1, ${a}) translate3d(0px, ${n/2+i}px, ${-n/2/a}px) rotateX(-90deg)`)}const g=c.isSafari||c.isWebView?-o/2:0;s.transform(`translate3d(0px,0,${g}px) rotateX(${t.isHorizontal()?0:f}deg) rotateY(${t.isHorizontal()?-f:0}deg)`),s[0].style.setProperty("--swiper-cube-translate-z",`${g}px`)},setTransition:e=>{const{$el:s,slides:a}=t;a.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),t.params.cubeEffect.shadow&&!t.isHorizontal()&&s.find(".swiper-cube-shadow").transition(e)},recreateShadows:()=>{const e=t.isHorizontal();t.slides.each((t=>{const s=Math.max(Math.min(t.progress,1),-1);i(d(t),s,e)}))},getEffectParams:()=>t.params.cubeEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0})})},function(e){let{swiper:t,extendParams:s,on:a}=e;s({flipEffect:{slideShadows:!0,limitRotation:!0,transformEl:null}});const i=(e,s,a)=>{let i=t.isHorizontal()?e.find(".swiper-slide-shadow-left"):e.find(".swiper-slide-shadow-top"),r=t.isHorizontal()?e.find(".swiper-slide-shadow-right"):e.find(".swiper-slide-shadow-bottom");0===i.length&&(i=ie(a,e,t.isHorizontal()?"left":"top")),0===r.length&&(r=ie(a,e,t.isHorizontal()?"right":"bottom")),i.length&&(i[0].style.opacity=Math.max(-s,0)),r.length&&(r[0].style.opacity=Math.max(s,0))};te({effect:"flip",swiper:t,on:a,setTranslate:()=>{const{slides:e,rtlTranslate:s}=t,a=t.params.flipEffect;for(let r=0;r<e.length;r+=1){const n=e.eq(r);let l=n[0].progress;t.params.flipEffect.limitRotation&&(l=Math.max(Math.min(n[0].progress,1),-1));const o=n[0].swiperSlideOffset;let d=-180*l,c=0,p=t.params.cssMode?-o-t.translate:-o,u=0;t.isHorizontal()?s&&(d=-d):(u=p,p=0,c=-d,d=0),n[0].style.zIndex=-Math.abs(Math.round(l))+e.length,a.slideShadows&&i(n,l,a);const h=`translate3d(${p}px, ${u}px, 0px) rotateX(${c}deg) rotateY(${d}deg)`;se(a,n).transform(h)}},setTransition:e=>{const{transformEl:s}=t.params.flipEffect;(s?t.slides.find(s):t.slides).transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),ae({swiper:t,duration:e,transformEl:s})},recreateShadows:()=>{const e=t.params.flipEffect;t.slides.each((s=>{const a=d(s);let r=a[0].progress;t.params.flipEffect.limitRotation&&(r=Math.max(Math.min(s.progress,1),-1)),i(a,r,e)}))},getEffectParams:()=>t.params.flipEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!t.params.cssMode})})},function(e){let{swiper:t,extendParams:s,on:a}=e;s({coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0,transformEl:null}}),te({effect:"coverflow",swiper:t,on:a,setTranslate:()=>{const{width:e,height:s,slides:a,slidesSizesGrid:i}=t,r=t.params.coverflowEffect,n=t.isHorizontal(),l=t.translate,o=n?e/2-l:s/2-l,d=n?r.rotate:-r.rotate,c=r.depth;for(let e=0,t=a.length;e<t;e+=1){const t=a.eq(e),s=i[e],l=(o-t[0].swiperSlideOffset-s/2)/s,p="function"==typeof r.modifier?r.modifier(l):l*r.modifier;let u=n?d*p:0,h=n?0:d*p,m=-c*Math.abs(p),f=r.stretch;"string"==typeof f&&-1!==f.indexOf("%")&&(f=parseFloat(r.stretch)/100*s);let g=n?0:f*p,v=n?f*p:0,w=1-(1-r.scale)*Math.abs(p);Math.abs(v)<.001&&(v=0),Math.abs(g)<.001&&(g=0),Math.abs(m)<.001&&(m=0),Math.abs(u)<.001&&(u=0),Math.abs(h)<.001&&(h=0),Math.abs(w)<.001&&(w=0);const b=`translate3d(${v}px,${g}px,${m}px) rotateX(${h}deg) rotateY(${u}deg) scale(${w})`;if(se(r,t).transform(b),t[0].style.zIndex=1-Math.abs(Math.round(p)),r.slideShadows){let e=n?t.find(".swiper-slide-shadow-left"):t.find(".swiper-slide-shadow-top"),s=n?t.find(".swiper-slide-shadow-right"):t.find(".swiper-slide-shadow-bottom");0===e.length&&(e=ie(r,t,n?"left":"top")),0===s.length&&(s=ie(r,t,n?"right":"bottom")),e.length&&(e[0].style.opacity=p>0?p:0),s.length&&(s[0].style.opacity=-p>0?-p:0)}}},setTransition:e=>{const{transformEl:s}=t.params.coverflowEffect;(s?t.slides.find(s):t.slides).transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e)},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0})})},function(e){let{swiper:t,extendParams:s,on:a}=e;s({creativeEffect:{transformEl:null,limitProgress:1,shadowPerProgress:!1,progressMultiplier:1,perspective:!0,prev:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1},next:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1}}});const i=e=>"string"==typeof e?e:`${e}px`;te({effect:"creative",swiper:t,on:a,setTranslate:()=>{const{slides:e,$wrapperEl:s,slidesSizesGrid:a}=t,r=t.params.creativeEffect,{progressMultiplier:n}=r,l=t.params.centeredSlides;if(l){const e=a[0]/2-t.params.slidesOffsetBefore||0;s.transform(`translateX(calc(50% - ${e}px))`)}for(let s=0;s<e.length;s+=1){const a=e.eq(s),o=a[0].progress,d=Math.min(Math.max(a[0].progress,-r.limitProgress),r.limitProgress);let c=d;l||(c=Math.min(Math.max(a[0].originalProgress,-r.limitProgress),r.limitProgress));const p=a[0].swiperSlideOffset,u=[t.params.cssMode?-p-t.translate:-p,0,0],h=[0,0,0];let m=!1;t.isHorizontal()||(u[1]=u[0],u[0]=0);
5616let f={translate:[0,0,0],rotate:[0,0,0],scale:1,opacity:1};d<0?(f=r.next,m=!0):d>0&&(f=r.prev,m=!0),u.forEach(((e,t)=>{u[t]=`calc(${e}px + (${i(f.translate[t])} * ${Math.abs(d*n)}))`})),h.forEach(((e,t)=>{h[t]=f.rotate[t]*Math.abs(d*n)})),a[0].style.zIndex=-Math.abs(Math.round(o))+e.length;const g=u.join(", "),v=`rotateX(${h[0]}deg) rotateY(${h[1]}deg) rotateZ(${h[2]}deg)`,w=c<0?`scale(${1+(1-f.scale)*c*n})`:`scale(${1-(1-f.scale)*c*n})`,b=c<0?1+(1-f.opacity)*c*n:1-(1-f.opacity)*c*n,x=`translate3d(${g}) ${v} ${w}`;if(m&&f.shadow||!m){let e=a.children(".swiper-slide-shadow");if(0===e.length&&f.shadow&&(e=ie(r,a)),e.length){const t=r.shadowPerProgress?d*(1/r.limitProgress):d;e[0].style.opacity=Math.min(Math.max(Math.abs(t),0),1)}}const y=se(r,a);y.transform(x).css({opacity:b}),f.origin&&y.css("transform-origin",f.origin)}},setTransition:e=>{const{transformEl:s}=t.params.creativeEffect;(s?t.slides.find(s):t.slides).transition(e).find(".swiper-slide-shadow").transition(e),ae({swiper:t,duration:e,transformEl:s,allSlides:!0})},perspective:()=>t.params.creativeEffect.perspective,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!t.params.cssMode})})},function(e){let{swiper:t,extendParams:s,on:a}=e;s({cardsEffect:{slideShadows:!0,transformEl:null,rotate:!0,perSlideRotate:2,perSlideOffset:8}}),te({effect:"cards",swiper:t,on:a,setTranslate:()=>{const{slides:e,activeIndex:s}=t,a=t.params.cardsEffect,{startTranslate:i,isTouched:r}=t.touchEventsData,n=t.translate;for(let l=0;l<e.length;l+=1){const o=e.eq(l),d=o[0].progress,c=Math.min(Math.max(d,-4),4);let p=o[0].swiperSlideOffset;t.params.centeredSlides&&!t.params.cssMode&&t.$wrapperEl.transform(`translateX(${t.minTranslate()}px)`),t.params.centeredSlides&&t.params.cssMode&&(p-=e[0].swiperSlideOffset);let u=t.params.cssMode?-p-t.translate:-p,h=0;const m=-100*Math.abs(c);let f=1,g=-a.perSlideRotate*c,v=a.perSlideOffset-.75*Math.abs(c);const w=t.virtual&&t.params.virtual.enabled?t.virtual.from+l:l,b=(w===s||w===s-1)&&c>0&&c<1&&(r||t.params.cssMode)&&n<i,x=(w===s||w===s+1)&&c<0&&c>-1&&(r||t.params.cssMode)&&n>i;if(b||x){const e=(1-Math.abs((Math.abs(c)-.5)/.5))**.5;g+=-28*c*e,f+=-.5*e,v+=96*e,h=-25*e*Math.abs(c)+"%"}if(u=c<0?`calc(${u}px + (${v*Math.abs(c)}%))`:c>0?`calc(${u}px + (-${v*Math.abs(c)}%))`:`${u}px`,!t.isHorizontal()){const e=h;h=u,u=e}const y=c<0?""+(1+(1-f)*c):""+(1-(1-f)*c),E=`\n translate3d(${u}, ${h}, ${m}px)\n rotateZ(${a.rotate?g:0}deg)\n scale(${y})\n `;if(a.slideShadows){let e=o.find(".swiper-slide-shadow");0===e.length&&(e=ie(a,o)),e.length&&(e[0].style.opacity=Math.min(Math.max((Math.abs(c)-.5)/.5,0),1))}o[0].style.zIndex=-Math.abs(Math.round(d))+e.length;se(a,o).transform(E)}},setTransition:e=>{const{transformEl:s}=t.params.cardsEffect;(s?t.slides.find(s):t.slides).transition(e).find(".swiper-slide-shadow").transition(e),ae({swiper:t,duration:e,transformEl:s})},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!t.params.cssMode})})}];return V.use(re),V})); 5617 5618/** 5619 * A lightweight youtube embed. Still should feel the same to the user, just MUCH faster to initialize and paint. 5620 * 5621 * Thx to these as the inspiration 5622 * https://storage.googleapis.com/amp-vs-non-amp/youtube-lazy.html 5623 * https://autoplay-youtube-player.glitch.me/ 5624 * 5625 * Once built it, I also found these: 5626 * https://github.com/ampproject/amphtml/blob/master/extensions/amp-youtube (ðð) 5627 * https://github.com/Daugilas/lazyYT 5628 * https://github.com/vb/lazyframe 5629 */ 5630class LiteYTEmbed extends HTMLElement { 5631 connectedCallback() { 5632 this.videoId = this.getAttribute('videoid'); 5633 5634 let playBtnEl = this.querySelector('.lty-playbtn'); 5635 // A label for the button takes priority over a [playlabel] attribute on the custom-element 5636 this.playLabel = (playBtnEl && playBtnEl.textContent.trim()) || this.getAttribute('playlabel') || 'Play'; 5637 5638 /** 5639 * Lo, the youtube placeholder image! (aka the thumbnail, poster image, etc) 5640 * 5641 * See https://github.com/paulirish/lite-youtube-embed/blob/master/youtube-thumbnail-urls.md 5642 * 5643 * TODO: Do the sddefault->hqdefault fallback 5644 * - When doing this, apply referrerpolicy (https://github.com/ampproject/amphtml/pull/3940) 5645 * TODO: Consider using webp if supported, falling back to jpg 5646 */ 5647 if (!this.style.backgroundImage) { 5648 this.style.backgroundImage = `url("https://i.ytimg.com/vi/${this.videoId}/hqdefault.jpg")`; 5649 } 5650 5651 // Set up play button, and its visually hidden label 5652 if (!playBtnEl) { 5653 playBtnEl = document.createElement('button'); 5654 playBtnEl.type = 'button'; 5655 playBtnEl.classList.add('lty-playbtn'); 5656 this.append(playBtnEl); 5657 } 5658 if (!playBtnEl.textContent) { 5659 const playBtnLabelEl = document.createElement('span'); 5660 playBtnLabelEl.className = 'lyt-visually-hidden'; 5661 playBtnLabelEl.textContent = this.playLabel; 5662 playBtnEl.append(playBtnLabelEl); 5663 } 5664 playBtnEl.removeAttribute('href'); 5665 5666 // On hover (or tap), warm up the TCP connections we're (likely) about to use. 5667 this.addEventListener('pointerover', LiteYTEmbed.warmConnections, {once: true}); 5668 5669 // Once the user clicks, add the real iframe and drop our play button 5670 // TODO: In the future we could be like amp-youtube and silently swap in the iframe during idle time 5671 // We'd want to only do this for in-viewport or near-viewport ones: https://github.com/ampproject/amphtml/pull/5003 5672 this.addEventListener('click', this.addIframe); 5673 5674 // Chrome & Edge desktop have no problem with the basic YouTube Embed with ?autoplay=1 5675 // However Safari desktop and most/all mobile browsers do not successfully track the user gesture of clicking through the creation/loading of the iframe, 5676 // so they don't autoplay automatically. Instead we must load an additional 2 sequential JS f
5676iles (1KB + 165KB) (un-br) for the YT Player API 5677 // TODO: Try loading the the YT API in parallel with our iframe and then attaching/playing it. #82 5678 this.needsYTApiForAutoplay = navigator.vendor.includes('Apple') || navigator.userAgent.includes('Mobi'); 5679 } 5680 5681 /** 5682 * Add a <link rel={preload | preconnect} ...> to the head 5683 */ 5684 static addPrefetch(kind, url, as) { 5685 const linkEl = document.createElement('link'); 5686 linkEl.rel = kind; 5687 linkEl.href = url; 5688 if (as) { 5689 linkEl.as = as; 5690 } 5691 document.head.append(linkEl); 5692 } 5693 5694 /** 5695 * Begin pre-connecting to warm up the iframe load 5696 * Since the embed's network requests load within its iframe, 5697 * preload/prefetch'ing them outside the iframe will only cause double-downloads. 5698 * So, the best we can do is warm up a few connections to origins that are in the critical path. 5699 * 5700 * Maybe `<link rel=preload as=document>` would work, but it's unsupported: http://crbug.com/593267 5701 * But TBH, I don't think it'll happen soon with Site Isolation and split caches adding serious complexity. 5702 */ 5703 static warmConnections() { 5704 if (LiteYTEmbed.preconnected) return; 5705 5706 // The iframe document and most of its subresources come right off youtube.com 5707 LiteYTEmbed.addPrefetch('preconnect', 'https://www.youtube-nocookie.com'); 5708 // The botguard script is fetched off from google.com 5709 LiteYTEmbed.addPrefetch('preconnect', 'https://www.google.com'); 5710 5711 // Not certain if these ad related domains are in the critical path. Could verify with domain-specific throttling. 5712 LiteYTEmbed.addPrefetch('preconnect', 'https://googleads.g.doubleclick.net'); 5713 LiteYTEmbed.addPrefetch('preconnect', 'https://static.doubleclick.net'); 5714 5715 LiteYTEmbed.preconnected = true; 5716 } 5717 5718 fetchYTPlayerApi() { 5719 if (window.YT || (window.YT && window.YT.Player)) return; 5720 5721 this.ytApiPromise = new Promise((res, rej) => { 5722 var el = document.createElement('script'); 5723 el.src = 'https://www.youtube.com/iframe_api'; 5724 el.async = true; 5725 el.onload = _ => { 5726 YT.ready(res); 5727 }; 5728 el.onerror = rej; 5729 this.append(el); 5730 }); 5731 } 5732 5733 async addYTPlayerIframe(params) { 5734 this.fetchYTPlayerApi(); 5735 await this.ytApiPromise; 5736 5737 const videoPlaceholderEl = document.createElement('div') 5738 this.append(videoPlaceholderEl); 5739 5740 const paramsObj = Object.fromEntries(params.entries()); 5741 5742 new YT.Player(videoPlaceholderEl, { 5743 width: '100%', 5744 videoId: this.videoId, 5745 playerVars: paramsObj, 5746 events: { 5747 'onReady': event => { 5748 event.target.playVideo(); 5749 } 5750 } 5751 }); 5752 } 5753 5754 async addIframe(){ 5755 if (this.classList.contains('lyt-activated')) return; 5756 this.classList.add('lyt-activated'); 5757 5758 const params = new URLSearchParams(this.getAttribute('params') || []); 5759 params.append('autoplay', '1'); 5760 params.append('playsinline', '1'); 5761 5762 if (this.needsYTApiForAutoplay) { 5763 return this.addYTPlayerIframe(params); 5764 } 5765 5766 const iframeEl = document.createElement('iframe'); 5767 iframeEl.width = 560; 5768 iframeEl.height = 315; 5769 // No encoding necessary as [title] is safe. https://cheatsheetseries.owasp.org/cheatsheets/Cross_Site_Scripting_Prevention_Cheat_Sheet.html#:~:text=Safe%20HTML%20Attributes%20include 5770 iframeEl.title = this.playLabel; 5771 iframeEl.allow = 'accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture'; 5772 iframeEl.allowFullscreen = true; 5773 // AFAIK, the encoding here isn't necessary for XSS, but we'll do it only because this is a URL 5774 // https://stackoverflow.com/q/64959723/89484 5775 iframeEl.src = `https://www.youtube-nocookie.com/embed/${encodeURIComponent(this.videoId)}?${params.toString()}`; 5776 this.append(iframeEl); 5777 5778 // Set focus for a11y
5779 iframeEl.focus(); 5780 } 5781} 5782// Register custom element 5783customElements.define('lite-youtube', LiteYTEmbed); 5784; 5785jQuery(document).ready(function ($) { 5786 function getCookie(cname) { 5787 let name = cname + "="; 5788 let decodedCookie = decodeURIComponent(document.cookie); 5789 let ca = decodedCookie.split(";"); 5790 for (let i = 0; i < ca.length; i++) { 5791 let c = ca[i]; 5792 while (c.charAt(0) == " ") { 5793 c = c.substring(1); 5794 } 5795 if (c.indexOf(name) == 0) { 5796 return c.substring(name.length, c.length); 5797 } 5798 } 5799 return ""; 5800 } 5801 5802 //$(".title").remove(); 5803 5804 // if (window.location.pathname == "/form/contact-form") { 5805 // $("#navbar-top").hide(); 5806 // $("#main-wrapper").css("margin-top", "0"); 5807 5808 // $(".webform-button--submit").click(function (e) { 5809 // e.preventDefault(); 5810 // $(this).closest("form").submit(); 5811 // }); 5812 5813 // $("#webform-submission-recreation-guide-node-77051-add-form").submit( 5814 // function () { 5815 // window.open("/recreation-guide/download", "_blank").focus(); 5816 // document.cookie = "guide=true"; 5817 // } 5818 // ); 5819 // if (window.location.pathname == "/recreation-guide/download") { 5820 // $("#block-views-block-page-block-1").remove(); 5821 // $("#main-wrapper").addClass("guide-download"); 5822 // $(".pdf-download").attr("download", "Recreation_Guide"); 5823 // } 5824 5825 // if ($(".webform-confirmation-modal--content").length) { 5826 // $(".contact-form-return").click(function (e) { 5827 // if ( 5828 // window.location.pathname == "/contact-us" || 5829 // window.location.pathname == "/email-preferences" 5830 // ) { 5831 // location.pathname = "/"; 5832 // } else { 5833 // $(".webform-confirmation-modal").hide(); 5834 // $("body").css({ 5835 // overflow: "auto", 5836 // }); 5837 // } 5838 // }); 5839 5840 // setTimeout(function () { 5841 // if ( 5842 // window.location.pathname == "/contact-us" || 5843 // window.location.pathname == "/email-preferences" 5844 // ) { 5845 // location.pathname = "/"; 5846 // } else { 5847 // $(".webform-confirmation-modal").hide(); 5848 // $("body").css({ 5849 // overflow: "auto", 5850 // }); 5851 // } 5852 // }, 5000); 5853 // } 5854 5855 // $(".webform-submission-contact-form-form").submit(function () { 5856 // var style = $( 5857 // "<style>.webform-submission-contact-form-form { display: none !important; }</style>" 5858 // ); 5859 // $("html > head").append(style); 5860 // }); 5861 5862 // $('a[href="/form/contact-form"]').addClass(".contact-us-trigger"); 5863 // $('a[href="/form/contact-form"]').css("cursor", "pointer"); 5864 5865 // $('a[href="/form/contact-form"]').click(function () { 5866 // if ($(window).width() < 960) { 5867 // $("#toggle-icon").click(); 5868 // } 5869 // if ($(window).width() < 1240) { 5870 // $(".webform-submission-contact-form-form").prepend($("#edit-exit")); 5871 // } 5872 // $("body").css({ 5873 // overflow: "hidden", 5874 // }); 5875 // $(".webform-submission-contact-form-form").css("display", "flex"); 5876 5877 // $("#edit-exit").click(function () { 5878 // $(".webform-submission-contact-form-form").css("display", "none"); 5879 5880 // $("body").css({ 5881 // overflow: "auto", 5882 // }); 5883 // }); 5884 // }); 5885 // $('a[href="/form/contact-form"]').removeAttr("href"); 5886 5887 // $(".contact-us-trigger").click(function () { 5888 5889 // $("body").css({ 5890 // overflow: "hidden", 5891 // }); 5892 // $(".webform-submission-contact-form-form").css("display", "flex"); 5893 5894 // $("#edit-exit").click(function () { 5895 // $(".webform-submission-contact-form-form").css("display", "none"); 5896 5897 // $("body").css({ 5898 // overflow: "auto", 5899 // }); 5900 // }); 5901 // }); 5902 5903 // $(window).resize(function () { 5904 // if ($(window).width() < 1240) { 5905 // $(".webform-submission-contact-form-form").prepend($("#edit-exit")); 5906 // } else { 5907 // $(".webform-submission-contact-form-form").append($("#edit-exit")); 5908 // } 5909 // }); 5910 5911 // $(".webform-submission-contact-form-form #edit-actions").appendTo( 5912 // ".webform-submission-contact-form-form #edit-first-half" 5913 // ); 5914 // // } 5915 5916 // if (window.location.pathname == "/contact-us") { 5917 // if ($(window).width() < 1240) { 5918 // $(".webform-submission-contact-form-form").prepend($("#edit-exit")); 5919 // } else { 5920 // $(".webform-submission-contact-form-form").append($("#edit-exit")); 5921 // } 5922 5923 // $("#edit-exit").off(); 5924 // $("#edit-exit").click(function () { 5925 // history.back(); 5926 // }); 5927 // } 5928}); 5929; 5930// (function($, Drupal) {
5931// let initialised = false; 5932// function init(context, settings) { 5933// if (window.location.href.includes('/email-preferences?')) { 5934// const queryString = window.location.search; 5935// const urlParams = new URLSearchParams(queryString); 5936 5937// let email = urlParams.get('email'); 5938// //console.log(email); 5939 5940// if(email) { 5941// let contacts_interests_resp = fetch('https://mailings.roostadk.com/acoustic/api_interface/get-contacts-interests',{ 5942// method: 'POST', 5943// headers: { 5944// 'Content-Type': 'application/json' 5945// }, 5946// body: JSON.stringify({email: email}), 5947// }).then(response => response.json()).then((data) => { 5948// if('subtask_data' in data) { 5949// let rtn_json_obj = JSON.parse(data.subtask_data); 5950// let edit_interests = qsa('#edit-interests input[type="checkbox"]'); 5951 5952// if('interest_values' in rtn_json_obj && edit_interests.length > 0) { 5953// console.log(rtn_json_obj); 5954// edit_interests.forEach((cbx_el) => { 5955// if(rtn_json_obj['interest_values'][cbx_el.value] === "TRUE") { 5956// cbx_el.checked = true; 5957// } 5958// if(rtn_json_obj['interest_values'][cbx_el.value] === "false") { 5959// cbx_el.checked = false; 5960// } 5961// }); 5962// } 5963// } 5964// }); 5965// } 5966// } 5967// } 5968 5969// Drupal.behaviors.email_prefs = { 5970// attach(context, settings) { 5971// window.addEventListener("load", function () { 5972// if (!initialised) { init(context, settings); } 5973// initialised = true; 5974// }); 5975// }, 5976// }; 5977// })(jQuery, Drupal); 5978; 5979; 5980jQuery(document).ready(function ($) { 5981 $("#block-views-block-duplicate-of-stories-block-1 .views-row").css( 5982 "cursor", 5983 "pointer" 5984 ); 5985 $("#block-views-block-duplicate-of-stories-block-1 .views-row").click( 5986 function () { 5987 //console.log($(this).find("span").find("a").attr("href")); 5988 5989 window.location = $(this).find("span").find("a").attr("href"); 5990 } 5991 ); 5992 $("#block-views-block-duplicate-of-stories-stories-by-author.views-row").css( 5993 "cursor", 5994 "pointer" 5995 ); 5996 $( 5997 "#block-views-block-duplicate-of-stories-stories-by-author .views-row" 5998 ).click(function () { 5999 //console.log($(this).find("span").find("a").attr("href")); 6000 6001 window.location = $(this).find("span").find("a").attr("href"); 6002 }); 6003}); 6004; 6005// Desktop and Mobile CSS 6006 6007// Forces Drupal to load this everytime 6008(function ($) { 6009 Drupal.behaviors.ElementNew = { 6010 attach: function (context, settings) { 6011 once("ElementNew", "html", context).forEach(function (element) { 6012 const $mobile_nav_mm1 = $(".mm-listview"); 6013 6014 $(".mm-panel").css("height", "470px"); 6015 $("#mm-1").css("height", ""); 6016 6017 const $list_items = $(".mm-listview"); //.last().addClass('remove-underline'); 6018 $list_items.each(function () { 6019 ul_children = $(this).children(); 6020 ul_children.last().addClass("remove-underline"); 6021 // console.log($list_items); 6022 }); 6023 // Mobile search is hidden by ios keyboard, this adds more space to show it 6024 // focus events don't bubble, must use capture phase 6025 document.body.addEventListener( 6026 "focus", 6027 (event) => { 6028 const target = event.target; 6029 switch (target.tagName) { 6030 case "INPUT": 6031 case "TEXTAREA": 6032 case "SELECT": 6033 document.body.classList.add("keyboard"); 6034 } 6035 }, 6036 true 6037 ); 6038 6039 document.body.addEventListener( 6040 "blur", 6041 () => { 6042 document.body.classList.remove("keyboard"); 6043 }, 6044 true 6045 ); 6046 6047 const $mobile_nav = $("#off-canvas"); 6048 6049 // Switches navbar to drop down from the top 6050 $mobile_nav 6051 .removeClass("mm-menu_position-left") 6052 .addClass("mm-menu_position-top"); 6053 6054 let $temp = $mobile_nav_mm1.get(0); 6055 const $toolbar = $(".toolbar-icon-9"); 6056 const $exit = $(".mm-wrapper__blocker"); 6057 const $toggle_icon = $("#toggle-icon"); 6058 6059 $("#mm-1 .mm-listitem").click(function () { 6060 $(".mm-navbar__title span:first-child").css({ 6061 display: "", 6062 }); 6063 let position = $(this).position(); 6064 position.top = position.top + 40; 6065 //console.log(position); 6066 let temp = $(this) 6067 .clone() 6068 .find(".mm-listitem__text") 6069 .css({ 6070 position: "absolute", 6071 top: position.top, 6072 zIndex: 2, 6073 fontSize: "20px", 6074 transition: "all .5s ease-out", 6075 fontWeight: 700, 6076 }) 6077 .delay(1) 6078 .queue(function (next) { 6079 $(this).addClass("lastHope"); 6080 }); 6081 let pleaseWork = $(this).find("a").css({ opacity: 0 }); 6082 $(".mm-panels").before(temp); 6083 6084 $(".mm-btn_prev").click(function () { 6085 temp.show(); 6086 temp.removeClass("lastHope"); 6087 6088 setTimeout(function () { 6089 pleaseWork.css({ 6090 opacity: 1, 6091 }); 6092 temp.remove(); 6093 }, 500); 6094 }); 6095 6096 setTimeout(function () { 6097 temp.hide(); 6098 $(".mm-navbar__title span:first-child").css({ 6099 display: "inline", 6100 }); 6101 }, 500); 6102 }); 6103 6104 $mobile_nav.addClass("scroll-down-before"); 6105
6106 $mobile_nav.toggle(); 6107 6108 $exit.remove(); 6109 6110 $toggle_icon.removeAttr("href"); 6111 6112 // animations for mobile menu open close 6113 $toggle_icon.click(function () { 6114 if ($toggle_icon.hasClass("special")) { 6115 $mobile_nav.addClass("scroll-down-before"); 6116 $mobile_nav.removeClass("scroll-down-after"); 6117 $exit.toggle(); 6118 $("body").css("overflow", "auto"); 6119 $("body").css("position", "relative"); 6120 $toolbar.removeClass( 6121 "mm-wrapper_opened mm-wrapper_blocking mm-wrapper_background mm-wrapper_opening" 6122 ); 6123 $(".icon").animate({ opacity: 1 }, 50); 6124 $("#mm-1 li").removeClass("listItemActive"); 6125 // setTimeout(function() { 6126 $(".responsive-menu-toggle-icon").removeClass("special"); 6127 6128 $(".icon").animate({ opacity: 1 }, 250); 6129 // }, 1000); 6130 } else { 6131 $("#mm-1 li").addClass("listItemActive"); 6132 $mobile_nav.removeClass("scroll-down-before"); 6133 $mobile_nav.removeAttr("aria-hidden"); 6134 $mobile_nav.addClass("scroll-down-after"); 6135 $("body").css("overflow", "hidden"); 6136 6137 $("body").css("position", "fixed"); 6138 $mobile_nav.addClass("mm-menu_opened"); 6139 $toolbar.addClass( 6140 "mm-wrapper_opened mm-wrapper_blocking mm-wrapper_background mm-wrapper_opening" 6141 ); 6142 $(".icon").css("opacity", 0); 6143 setTimeout(function () { 6144 $(".responsive-menu-toggle-icon").addClass("special"); 6145 }, 0); 6146 } 6147 }); 6148 6149 $linker = []; 6150 // fixes link behaviors for mobile menu 6151 $mobile_nav_mm1.first().each(function () { 6152 let mm1_child = $(this).children(); 6153 6154 mm1_child.each(function () { 6155 mm1_children = $(this).children(); 6156 $menu = mm1_children.last().attr("href"); 6157 //console.log($link); 6158 $link = mm1_children.first().attr("href"); 6159 // console.log($link); 6160 $linker[$menu] = $link; 6161 6162 mm1_children.first().attr("href", $menu); 6163 6164 mm1_children.last().hide(); 6165 }); 6166 }); 6167 6168 const $see_all_mobile = $("<span></span>") 6169 .append("See all") 6170 .addClass("see_all_text_mobile"); 6171 $(".mm-navbar__title").append($see_all_mobile); 6172 $(".mm-panel").each(function () { 6173 $test = "#" + $(this).attr("id"); 6174 $(this) 6175 .children() 6176 .first() 6177 .children() 6178 .last() 6179 .attr("href", $linker[$test]); 6180 }); 6181 }); 6182 }, 6183 }; 6184})(jQuery); 6185; 6186jQuery(document).ready(function ($) { 6187 let $adkdata_guid_class = $("body") 6188 .attr("class") 6189 .match(/[\w-]*adkdata-guid-[\w-]*/g); 6190 6191 try { 6192 let adkdata_guid = $adkdata_guid_class[0].split("adkdata-guid-"); 6193 if (adkdata_guid[1]) { 6194 adkdata_guid_ele = 6195 '<li class="nav-item"><a href="https://www.adkdata.com/edit/' + 6196 adkdata_guid[1] + 6197 '" class="nav-link" tabindex="-1">ADKData</a></li>'; 6198 //console.log(adkdata_guid_ele); 6199 $(".nav-tabs").append(adkdata_guid_ele); 6200 } 6201 } catch (error) { 6202 // expected output: ReferenceError: nonExistentFunction is not defined 6203 // Note - error messages will vary depending on browser 6204 } 6205 //console.log(adkdata_guid[2]); 6206}); 6207; 6208jQuery(document).ready(function($) { 6209 // Dates 6210 // 6211 // 6212 6213 let amountofDates = $("#see-all-dates-modal .list-group").children().length - 6214 1; 6215 6216 $(".plus-more").text(`+${amountofDates} more`); 6217 6218 console.log( 6219 "amound of slides", 6220 $("#block-views-block-listings-block-2 .view-content .views-row").children() 6221 .length, 6222 ); 6223 6224 // check for header image, move listting if exists 6225 6226 if ( 6227 $("#block-views-block-listings-block-10 img").attr("src") == 6228 "/themes/custom/tupperlake/i/listings/ListingDefaultImg-Header.webp" 6229 ) { 6230 if ( 6231 $("#block-views-block-listings-block-2 .view-content").children().length > 6232 0 6233 ) { 6234 $("#block-views-block-listings-block-10").remove(); 6235 } else { 6236 $("#block-views-block-listings-block-2").remove(); 6237 } 6238 } else { 6239 $("#block-views-block-listings-block-3 .views-field-nothing").append( 6240 $("#block-views-block-listings-block-2"), 6241 ); 6242 } 6243 6244 // Window resize 6245 if ($("#block-views-block-events-block-6").find(".view-empty").length) { 6246 $("#block-views-block-events-block-6").remove(); 6247 } 6248 6249 // check if basic listing 6250 6251 if ($(".node--type-listings .views-field-field-basic").text().toLowerCase().includes("true")) {
6252 $(".node--type-listings .views-field-field-basic").hide(); 6253 window.location.href = "/"; 6254 } else { 6255 $("body.node--type-listings").css("visibility", "visible"); 6256 } 6257 6258 6259 6260 function generateSlider( 6261 imgContainerLocation, 6262 swiperName, 6263 swiperSettings, 6264 responsiveImages, 6265 ) { 6266 // get images 6267 let getImages = []; 6268 6269 let Images = $(imgContainerLocation + " .view-content.row .views-row"); 6270 6271 let swipers = []; 6272 let imageDump = []; 6273 let counter = 0; 6274 6275 //console.log(Images); 6276 Images.each(function() { 6277 if ($(this).next().length) { 6278 //console.log(counter); 6279 imageDump.push($(this)); 6280 counter++; 6281 } else { 6282 imageDump.push($(this)); 6283 swipers.push(imageDump); 6284 6285 //console.log(counter); 6286 imageDump = []; 6287 } 6288 }); 6289 6290 for (var i = 0; i < swipers.length; i++) { 6291 //console.log("hii"); 6292 let photos = swipers[i]; 6293 6294 for (const photo of photos) { 6295 if (responsiveImages) { 6296 getImages.push( 6297 $(`<div class="swiper-slide"></div>`).append(photo.find("picture")), 6298 ); 6299 } else { 6300 getImages.push( 6301 $(`<div class="swiper-slide"></div>`).append(photo.find("img")), 6302 ); 6303 } 6304 } 6305 //console.log(getImages); 6306 6307 let sliderHtml = $(`<!-- Slider main container --> 6308 <div class=${swiperName}> 6309 <!-- Additional required wrapper --> 6310 <div class="swiper-wrapper"> 6311 <!-- Slides --> 6312 6313 6314 </div> 6315 <!-- If we need pagination --> 6316 <div class="swiper-pagination"></div> 6317 6318 <!-- If we need navigation buttons --> 6319 <div class="swiper-button-prev"><img src="/themes/custom/tupperlake/i/pages/leftarrow.svg" /></div> 6320 <div class="swiper-button-next"><img src="/themes/custom/tupperlake/i/pages/rightarrow.svg" /></div> 6321 <!-- If we need scrollbar --> 6322 <!-- <div class="swiper-scrollbar"></div> --> 6323 </div> 6324 `); 6325 6326 $(imgContainerLocation + " .view-content.row").append(sliderHtml); 6327 6328 for (const img of getImages) { 6329 $(imgContainerLocation + " .swiper-wrapper").append(img); 6330 } 6331 6332 const swiper = new Swiper("." + swiperName, swiperSettings); 6333 } 6334 if (counter == 0) { 6335 $(imgContainerLocation + " .view-footer .prev").remove(); 6336 $(imgContainerLocation + " .view-footer .next").remove(); 6337 } 6338 counter = 0; 6339 6340 $(imgContainerLocation + " .view-content.row .views-row").remove(); 6341 6342 $(imgContainerLocation + " .view-footer .prev").click(function() { 6343 $(imgContainerLocation + " .view-content.row .swiper-button-prev") 6344 .click(); 6345 6346 $(imgContainerLocation + " .view-footer .current").text( 6347 $(imgContainerLocation + " .swiper-pagination-current").text(), 6348 ); 6349 }); 6350 6351 $(imgContainerLocation + " .view-footer .next").click(function() { 6352 $(imgContainerLocation + " .view-content.row .swiper-button-next") 6353 .click(); 6354 6355 $(imgContainerLocation + " .view-footer .current").text( 6356 $(imgContainerLocation + " .swiper-pagination-current").text(), 6357 ); 6358 }); 6359 6360 $(imgContainerLocation + " .view-footer .total").text(getImages.length); 6361 } 6362 6363 headerSlidesSettings = { 6364 // Optional parameters 6365 direction: "horizontal", 6366 loop: true, 6367 slidesPerView: "auto", 6368 centeredSlides: true, 6369 6370 // If we need pagination 6371 pagination: { 6372 el: ".swiper-pagination", 6373 type: "fraction", 6374 }, 6375 6376 // Navigation arrows 6377 navigation: { 6378 nextEl: ".swiper-button-next", 6379 prevEl: ".swiper-button-prev", 6380 }, 6381 // // And if we need scrollbar 6382 // scrollbar: { 6383 // el: ".swiper-scrollbar", 6384 // }, 6385 }; 6386 6387 fullscreenSlidesSettings = { 6388 // Optional parameters 6389 direction: "horizontal", 6390 loop: true, 6391 slidesPerView: 1, 6392 centeredSlides: true, 6393 allowTouchMove: false, 6394 6395 // If we need pagination 6396 pagination: { 6397 el: ".swiper-pagination", 6398 type: "fraction", 6399 }, 6400 6401 // Navigation arrows 6402 navigation: { 6403 nextEl: ".swiper-button-next", 6404 prevEl: ".swiper-button-prev", 6405 }, 6406 // // And if we need scrollbar 6407 // scrollbar: { 6408 // el: ".swiper-scrollbar", 6409 // }, 6410 }; 6411 6412 if ( 6413 $("#block-views-block-listings-block-2 .view-content .views-row").children() 6414 .length 6415 ) { 6416 generateSlider( 6417 "#block-views-block-listings-block-2", 6418 "swiper-no-swiping", 6419 headerSlidesSettings, 6420 false, 6421 ); 6422 generateSlider( 6423 "#block-views-block-listings-fullscreen-modal", 6424 "swiper-yes-swiping", 6425 fullscreenSlidesSettings, 6426 true, 6427 ); 6428 } else { 6429 $("#block-views-block-listings-block-2").remove(); 6430 $("#block-views-block-listings-fullscreen-modal").remove(); 6431 } 6432 6433 // if ($("#block-views-block-listings-fullscreen-modal").length) { 6434 // $("#block-views-block-listings-fullscreen-modal picture").after( 6435 // '<img src="/themes/custom/tupperlake/i/listings/close.svg" class="close-btn">' 6436 // ); 6437 // } 6438 6439 let alreadySwiped = false;
6440 $("#block-views-block-listings-block-2 .prev").click(function() { 6441 if (!alreadySwiped) { 6442 alreadySwiped = true; 6443 $("#block-views-block-listings-fullscreen-modal .swiper-button-prev") 6444 .click(); 6445 } 6446 alreadySwiped = false; 6447 }); 6448 $("#block-views-block-listings-fullscreen-modal .swiper-button-prev").click( 6449 function() { 6450 if (!alreadySwiped) { 6451 alreadySwiped = true; 6452 $("#block-views-block-listings-block-2 .prev").click(); 6453 } 6454 alreadySwiped = false; 6455 }, 6456 ); 6457 $("#block-views-block-listings-block-2 .next").click(function() { 6458 if (!alreadySwiped) { 6459 alreadySwiped = true; 6460 $("#block-views-block-listings-fullscreen-modal .swiper-button-next") 6461 .click(); 6462 } 6463 alreadySwiped = false; 6464 }); 6465 6466 $("#block-views-block-listings-fullscreen-modal .swiper-button-next").click( 6467 function() { 6468 if (!alreadySwiped) { 6469 alreadySwiped = true; 6470 $("#block-views-block-listings-block-2 .next").click(); 6471 } 6472 alreadySwiped = false; 6473 }, 6474 ); 6475 6476 /* ========================================================================== 6477 MODALS 6478 ========================================================================== */ 6479 6480 if ($("#websites-section a").text().includes(",")) { 6481 $("#websites-section a").replaceWith( 6482 '<div class="see-all"> See All </div>', 6483 ); 6484 } 6485 if ($("#see-all-dates-modal .list-group").children().length > 1) { 6486 $("#see-all-dates-section #dates").replaceWith( 6487 '<div id="see-all-dates"><div class="see-all"> See All </div></div>', 6488 ); 6489 $(".see-all-dates-label").text("Dates:"); 6490 } 6491 6492 if ($("#phones-section #phones").text().includes(",")) { 6493 $("#phones-section #phones").empty().append( 6494 '<div class="see-all"> See All </div>', 6495 ); 6496 $("#phones-section a").removeAttr("href"); 6497 } 6498 6499 if ($("#pdfs-section #pdf-attachment").children().length > 1) { 6500 $("#pdfs-section #pdf-attachment").empty().append( 6501 '<div class="see-all"> See All </div>', 6502 ); 6503 } 6504 6505 $("#block-views-block-listings-block-4 .exit").click(function() { 6506 $("body").css("overflow-y", "scroll"); 6507 $("#block-views-block-listings-block-4 .views-field-nothing").hide(); 6508 6509 $("#block-views-block-listings-block-4 .views-field-nothing-1").hide(); 6510 $("#block-views-block-listings-block-4 .views-field-nothing-2").hide(); 6511 $("#block-views-block-listings-block-4 .views-field-nothing-3").hide(); 6512 $("#block-views-block-listings-block-4 .views-field-nothing-4").hide(); 6513 $("#block-views-block-listings-block-4 .views-field-nothing-5").hide(); 6514 //console.log("hiii"); 6515 }); 6516 6517 $("#block-views-block-listings-block-3 .see-all").click(function() { 6518 $("body").css("overflow-y", "hidden"); 6519 //console.log($(this).parent().attr("id")); 6520 let whichModal = $(this).parent().attr("id"); 6521 $("#block-views-block-listings-block-4 .views-field-nothing-3").show(); 6522 6523 switch (whichModal) { 6524 case "phones": 6525 $("#block-views-block-listings-block-4 .views-field-nothing").css( 6526 "display", 6527 "flex", 6528 ); 6529 break; 6530 6531 case "website": 6532 $("#block-views-block-listings-block-4 .views-field-nothing-1").css( 6533 "display", 6534 "flex", 6535 ); 6536 break; 6537 6538 case "pdf-attachment": 6539 $("#block-views-block-listings-block-4 .views-field-nothing-2").css( 6540 "display", 6541 "flex", 6542 ); 6543 break; 6544 6545 case "see-all-dates": 6546 $("#block-views-block-listings-block-4 .views-field-nothing-4").css( 6547 "display", 6548 "flex", 6549 ); 6550 break; 6551 6552 case "admission": 6553 $("#block-views-block-listings-block-4 .views-field-nothing-5").css( 6554 "display", 6555 "flex", 6556 ); 6557 break; 6558 } 6559 }); 6560 6561 $("#block-views-block-listings-block-3 .plus-more").click(function() { 6562 $("body").css("overflow-y", "hidden"); 6563 $("#block-views-block-listings-block-4 .views-field-nothing-3").show(); 6564 $("#block-views-block-listings-block-4 .views-field-nothing-4").css( 6565 "display", 6566 "flex", 6567 ); 6568 }); 6569 6570 $("#block-views-block-listings-block-4 .views-field-nothing-2 a").attr( 6571 "target", 6572 "_blank", 6573 ); 6574 6575 /* ========================================================================== 6576 ACCESSIBILITY 6577 ========================================================================== */ 6578 6579 parentAccessibility = []; 6580 6581 $("#block-views-block-listings-block-7 .accessibility-item").each( 6582 function() { 6583 parentAccessibility.includes($(this).attr("data-parent-term")) 6584 ? null 6585 : parentAccessibility.push($(this).attr("data-parent-term")); 6586 }, 6587 );
6588 parentAccessibility.forEach((ele) => { 6589 let $parent = $('<h4 class="accessibility-parent">' + ele + "</h4>"); 6590 $("#block-views-block-listings-block-7 .view-listings").append($parent); 6591 6592 $("#block-views-block-listings-block-7 .accessibility-item").each( 6593 function() { 6594 if ($(this).attr("data-parent-term") == ele) { 6595 $parent.after($(this)); 6596 } 6597 }, 6598 ); 6599 }); 6600 //console.log(parentAccessibility); 6601 $("#block-views-block-listings-block-7 .view-content").remove(); 6602 $(".accessibility-item:odd").css("background", "#F7F7F7"); 6603 6604 if (parentAccessibility.length) { 6605 //console.log("hiii"); 6606 $(".Accessibility").append($("#block-views-block-listings-block-7")); 6607 } 6608 6609 /* ========================================================================== 6610 Social Links 6611 ========================================================================== */ 6612 if ($("#block-views-block-listings-block-9").length) { 6613 let $socials = $('<div id="socials"></div>'); 6614 6615 $("#block-views-block-listings-block-9") 6616 .find(".views-row") 6617 .each(function() { 6618 $socials.append($(this)); 6619 }); 6620 6621 //console.log($socials); 6622 if ($("#book-now-btn").length) { 6623 $("#book-now-btn").before($socials); 6624 } else { 6625 $("#block-views-block-listings-block-3 .listing-info-wrap").last().append( 6626 $socials, 6627 ); 6628 } 6629 } 6630 6631 /* ========================================================================== 6632 Youtube Video 6633 ========================================================================== */ 6634 6635 $("#block-views-block-listings-block-3 .About").append( 6636 $("#block-views-block-listings-block-3 .views-field.views-field-field-youtube-urls"), 6637 ); 6638 6639 /* ========================================================================== 6640 BODY SLIDERS 6641 ========================================================================== */ 6642 6643 let title = document.querySelector( 6644 "#block-views-block-listings-block-3 .listing-title", 6645 ); 6646 if (title) { 6647 title = title.innerText; 6648 } 6649 6650 let directionUrl1 = encodeURIComponent($("#address").text()); 6651 6652 let directionUrlLongLat = encodeURIComponent( 6653 $("#block-views-block-listings-block-3 .views-field-nothing-4 span").text(), 6654 ); 6655 6656 let venueLink = $( 6657 "#block-views-block-listings-block-3 .views-field-view-node span", 6658 ).text(); 6659 6660 if (directionUrl1) { 6661 if (!/^-?\d+$/.test(Array.from(directionUrl1)[0].trim())) { 6662 directionUrl1 = directionUrlLongLat; 6663 } 6664 } 6665 6666 $("#address").click(function() { 6667 window.open( 6668 "https://www.google.com/maps/search/?api=1&query=" + 6669 directionUrl1, 6670 "_blank", 6671 ); 6672 }); 6673 6674 $("#venue").click(function() { 6675 window.open(venueLink, "_blank"); 6676 }); 6677 let listingsSliderCounter = 1; 6678 $("#block-views-block-listings-block-3 .views-field-nothing-3 .field-content") 6679 .children() 6680 .each(function() { 6681 if ( 6682 $(this).text() && 6683 $(this).attr("class").replace("-", " ") != "youtube container" 6684 ) { 6685 let listingsSliderString = '<div class="slider-item item-' + 6686 listingsSliderCounter + 6687 '">' + 6688 $(this).attr("class").replace("-", " ") + 6689 "</div>"; 6690 // console.log(listingsSliderString); 6691 let $listingsSliderHtml = $(listingsSliderString); 6692 6693 let bodyTextToggleClass = $(this).attr("class"); 6694 $listingsSliderHtml.click(function() { 6695 //console.log($(this).css("color") == "rgb(155, 50, 20)"); 6696 if (!($(this).css("color") == "rgb(155, 50, 20)")) { 6697 $( 6698 "#block-views-block-listings-block-3 .views-field-nothing-3 .field-content", 6699 ).removeClass("active"); 6700 } 6701 6702 setTimeout(function() { 6703 $("#block-views-block-listings-block-3 .views-field-nothing-3 .field-content") 6704 .addClass( 6705 "active", 6706 ); 6707 }, 100); 6708 6709 $(".slider-item").css("color", "#221000"); 6710 $("#block-views-block-listings-block-3 .views-field-nothing-3 .field-content") 6711 .children() 6712 .css("display", "none"); 6713 6714 $("." + bodyTextToggleClass).css("display", "block"); 6715 6716 $("#body-title").text($(this).text()); 6717 $("#body-title").show(); 6718 6719 $(".active-line").css("width", $listingsSliderHtml.width()); 6720 6721 // let ilovemargin = $(this).hasClass("item-1") ? 0 : 30; 6722 6723 // if (ilovemargin == 30 && $(window).width() < 960) { 6724 // ilovemargin = 13; 6725 // } 6726 // console.log($listingsSliderHtml.position().left); 6727 // console.log(parseInt($(this).css("margin-left").split("px")[0])); 6728 6729 $(".active-line").css( 6730 "left", 6731 $listingsSliderHtml.position().left + 6732 parseInt($(this).css("margin-left").split("px")[0]), 6733 ); 6734 $(this).css("color", "#9B3214"); 6735 }); 6736 $("#block-views-block-listings-block-3 .slider").append( 6737 $listingsSliderHtml, 6738 ); 6739 6740 listingsSliderCounter++; 6741 } 6742 }); 6743 6744 // if ($("#block-views-blocklistings-block-7").length) { 6745 // } 6746 6747 setTimeout(() => { 6748 $(".slider-item.item-1").click(); 6749 }, 100); 6750 6751 // $(".slider-item.item-1").click(); 6752 6753 //console.log(listingsSliderCounter); 6754 if (listingsSliderCounter <= 2) { 6755 $("#block-views-block-listings-block-3 .slider").css("display", "none"); 6756 $("#block-views-block-listings-block-3 .views-field-nothing-2 .field-content") 6757 .height(60); 6758 } 6759 /* ========================================================================== 6760 Slider 6761 ========================================================================== */ 6762 6763 /* 6764 * Creates a image slider grabbing the image from a specific location, 6765 * using this to create listing.event slides and fullscreen mode slider 6766 * 6767 * @param {string} imgContainerLocation The locations of the images 6768 * "#block-views-block-listings-block-2 .view-content.row" 6769 * @param {string} swiperName swiper needs unique name or else it will cause problems 6770 */ 6771 $(".center-point").click(function(event) { 6772 $("#block-views-block-listings-fullscreen-modal").addClass("show"); 6773 $("body").css("overflow-y", "hidden"); 6774 }); 6775
6776 $(".center-point .slider-controls").click(function(event) { 6777 event.stopPropagation(); 6778 }); 6779 6780 $(".close-btn").click(function() { 6781 $("#block-views-block-listings-fullscreen-modal").removeClass("show"); 6782 $("body").css("overflow-y", "scroll"); 6783 }); 6784 $("#block-views-block-listings-fullscreen-modal").click(function() { 6785 $("#block-views-block-listings-fullscreen-modal").removeClass("show"); 6786 $("body").css("overflow-y", "scroll"); 6787 }); 6788 $("#block-views-block-listings-fullscreen-modal .swiper-yes-swiping").click( 6789 function(event) { 6790 event.stopPropagation(); 6791 }, 6792 ); 6793}); 6794; 6795// (function ($) { 6796// Drupal.behaviors.myBehavior = { 6797// attach: function (context, settings) { 6798// //Using once() to apply the myCustomBehaviour effect when you want to run just one function. 6799// once("listingsSearch", "html", context).forEach(function (element) { 6800// $pagetitle = $(".field-content h1").text(); 6801// console.log($pagetitle); 6802// $listingsearchtitle = $("#block-views-block-listings-block-1 h2").text(
6803// "Legendary " + $pagetitle 6804// ); 6805// }); 6806// }, 6807// }; 6808// })(jQuery); 6809 6810jQuery(document).ready(function ($) { 6811 // Replace amp; with & 6812 var decodeEntities = (function () { 6813 // this prevents any overhead from creating the object each time 6814 var element = document.createElement("div"); 6815 6816 function decodeHTMLEntities(str) { 6817 if (str && typeof str === "string") { 6818 // strip script/html tags 6819 str = str.replace(/<script[^>]*>([\S\s]*?)<\/script>/gim, ""); 6820 str = str.replace(/<\/?\w(?:[^"'>]|"[^"]*"|'[^']*')*>/gim, ""); 6821 element.innerHTML = str; 6822 str = element.textContent; 6823 element.textContent = ""; 6824 } 6825 6826 return str; 6827 } 6828 6829 return decodeHTMLEntities; 6830 })(); 6831 $( 6832 "#block-views-block-listings-block-1 .views-field-field-summary .field-content" 6833 ).each(function () { 6834 let summary = $(this).text(); 6835 $(this).text(decodeEntities(summary)); 6836 }); 6837 6838 //function that waits for an elemnt to exist 6839 // function waitForElm(selector) { 6840 // return new Promise((resolve) => { 6841 // if (document.querySelector(selector)) { 6842 // return resolve(document.querySelector(selector)); 6843 // } 6844 6845 // const observer = new MutationObserver((mutations) => { 6846 // if (document.querySelector(selector)) { 6847 // resolve(document.querySelector(selector)); 6848 // observer.disconnect(); 6849 // } 6850 // }); 6851 6852 // observer.observe(document.body, { 6853 // childList: true, 6854 // subtree: true, 6855 // }); 6856 // }); 6857 // } 6858 6859 // let searchIcon = $( 6860 // '<img class="searchIconFill" src="/themes/custom/tupperlake/i/search-icon.svg">' 6861 // ).click(function () { 6862 // $(".view-filters .views-exposed-form .js-form-submit").eq(0).click(); 6863 // }); 6864 6865 // $('.view-filters input[name="combine"]').after(searchIcon); 6866 // if (window.location.pathname == "/events") { 6867 // $(".view-filters .views-exposed-form .js-form-submit").eq(0).click(); 6868 // } 6869 6870 $pagetitle = $("#block-views-block-page-block-1 .field-content h1").text(); 6871 //console.log($pagetitle); 6872 $listingsearchtitle = $("#block-views-block-listings-block-1 h2").text( 6873 "Discover " + $pagetitle 6874 ); 6875 //Remove Duplicate listings 6876 6877 function removeDuplicates() { 6878 let adkGuids = []; 6879 $(".views-field-field-adkdata-guid").each(function () { 6880 //console.log($(this).find("div").text().replace(/\n/g, "")); 6881 adkGuids.includes($(this).find("div").text().replace(/\n/g, "")) 6882 ? $(this).parent().remove() 6883 : adkGuids.push($(this).find("div").text().replace(/\n/g, "")); 6884 }); 6885 $(".views-field-field-adkdata-guid").remove(); 6886 //console.log(adkGuids); 6887 } 6888 6889 function displayListings() { 6890 let listingsNames = []; 6891 let listingNodes = []; 6892 let storyNames = []; 6893 let storyNodes = []; 6894 6895 $(".view-listings .views-field-title").each(function () { 6896 //console.log($(this).text().replace(/\n/g, "")); 6897 //if (!listingsNames.includes($(this).text().replace(/\n/g, ""))) { 6898 //console.log($(this).text().replace(/\n/g, "")); 6899 listingsNames.push($(this).text().replace(/\n/g, "")); 6900 //console.log($(this).parent().hide()); 6901 6902 listingNodes.push($(this).parent().hide()); 6903 //} 6904 }); 6905 6906 $( 6907 ".node--type-author .block-views-blockduplicate-of-stories-stories-by-author .views-field-title" 6908 ).each(function () { 6909 //console.log($(this).text().replace(/\n/g, "")); 6910 //if (!listingsNames.includes($(this).text().replace(/\n/g, ""))) { 6911 //console.log($(this).text().replace(/\n/g, "")); 6912 storyNames.push($(this).text().replace(/\n/g, "")); 6913 //console.log($(this).parent().hide()); 6914 6915 storyNodes.push($(this).parent().hide()); 6916 //} 6917 }); 6918 6919 // console.log(storyNodes); 6920 // console.log(listingsNames); 6921 6922 function loadmore() { 6923 for (let i = 0; i < 9; i++) { 6924 try { 6925 let listing = listingNodes.shift(); 6926 //console.log(listing); 6927 listing.show(); 6928 } catch (err) { 6929 $(".block-views-blocklistings-block-1 .loadmore").hide(); 6930 } 6931 } 6932 for (let i = 0; i < 12; i++) { 6933 //console.log(i); 6934 try { 6935 let story = storyNodes.shift(); 6936 // console.log(story); 6937 story.show(); 6938 } catch (err) { 6939 // console.log(err); 6940 $( 6941 ".block-views-blockduplicate-of-stories-stories-by-author .loadmore" 6942 ).hide(); 6943 } 6944 } 6945 } 6946 if (listingNodes.length > 9) { 6947 //console.log("hii"); 6948 $( 6949 ".block-views-blocklistings-block-1 .view-listings .view-content" 6950 ).after('<button class="loadmore" type="button">Load more</button>'); 6951 } 6952 6953 if (storyNodes.length > 13) { 6954 //console.log("hii"); 6955 6956 $( 6957 ".block-views-blockduplicate-of-stories-stories-by-author .view-content" 6958 ).after('<button class="loadmore" type="button">Load more</button>'); 6959 } 6960 $(".loadmore").click(function () { 6961 loadmore(); 6962 }); 6963 loadmore(); 6964 } 6965 6966 // console.log(adkGuids); 6967 // Edit dropdown boxes to only the categories and towns shown in that specific page listings 6968 6969 let categories = []; 6970 6971 // $(".views-field-field-listings-categories").each(function () { 6972 // $(this) 6973 // .find("a") 6974 // .each(function () { 6975 // categories.includes($(this).text()) 6976 // ? null 6977 // : categories.push($(this).text()); 6978 // }); 6979 // }); 6980 6981 // $(".views-field-name").each(function () { 6982 // $(this) 6983 // .find("span") 6984 // .each(function () { 6985 // categories.includes($(this).text().replace(/\n/g, "")) 6986 // ? null 6987 // : categories.push($(this).text().replace(/\n/g, "")); 6988 // }); 6989 // }); 6990 $(".views-field-name").remove(); 6991 $(".views-field-field-listings-categories").remove(); 6992 6993 $(".field--name-field-listing-categories") 6994 .children() 6995 .each(function () { 6996 //($(this).find("a").attr("href")); 6997 let taxoVal = $(this).find("a").attr("href").split("/"); 6998 // console.log(taxoVal[3]); 6999 categories.push(taxoVal[3]); 7000 }); 7001 $(".field--name-field-listing-categories").hide(); 7002 7003 function removeCategories() { 7004 $(".view-listings [name=term_node_tid_depth]") 7005 .children() 7006 .each(function () { 7007 //console.log($(this).attr("value")); 7008 categories.includes($(this).attr("value")) || 7009 $(this).text() == "Select category..." 7010 ? null 7011 : $(this).remove(); 7012 }); 7013 7014 // console.log(categories); 7015 } 7016 7017 let towns = []; 7018 $(".view-listings .views-field-field-city").each(function () { 7019 //console.log($(this).children().text().replace(/\n/g, "")); 7020 towns.includes($(this).children().text().replace(/\n/g, "")) 7021 ? null 7022 : towns.push($(this).children().text().replace(/\n/g, "")); 7023 }); 7024 7025 function removeTowns() { 7026 $("[name=combine_1]") 7027 .children() 7028 .each(function () { 7029 //console.log($(this).text()); 7030 towns.includes($(this).text()) || $(this).text() == "Select town..." 7031 ? null 7032 : $(this).remove(); 7033 }); 7034 7035 //console.log(towns); 7036 } 7037 7038 // Disable links on basic listings 7039 7040 7041$("#block-views-block-listings-block-1 .views-field-field-basic").each(function () { 7042 7043 if ($(this).text().toLowerCase().includes("true")) { 7044 $(this).parent().addClass("basic-listings"); 7045 } 7046}); 7047$("#block-views-block-listings-block-1 .views-field-field-basic").hide(); 7048$(".view-id-search_api .views-field-field-basic").each(function () { 7049 7050 if ($(this).text().toLowerCase().includes("true")) { 7051 $(this).parent().addClass("basic-listings"); 7052 } 7053}); 7054 7055 $(".view-id-search_api .views-field-field-basic").hide(); 7056 7057 removeDuplicates(); 7058 //displayListings(); 7059 //removeTowns(); 7060 removeCategories(); 7061 7062 $("#block-views-block-listings-block-1 .views-row").each(function () { 7063 //console.log($(this).hasClass("basic-listings")); 7064 // if ($(this).hasClass("basic-listings")) { 7065 // $(this).find(".views-field-field-summary").remove(); 7066 // } else { 7067 // $(this).find(".views-field-nothing").remove(); 7068 // } 7069 }); 7070 7071 const params = new Proxy(new URLSearchParams(window.location.search), { 7072 get: (searchParams, prop) => searchParams.get(prop), 7073 }); 7074 7075 let value = params.calendar; // "some_value" 7076 function getScrollAmount() { 7077 return $(window).width() > 960 ? 128 : 76; 7078 } 7079 7080 // Ajax revert our changes, this reverts them back :) 7081 $(document).ajaxComplete(function () { 7082 function generateSearchTerms(searchBlockID) { 7083 // (function ($) { 7084 // Drupal.behaviors.myModule = { 7085 // attach: function (context, settings) { 7086 // $(document) 7087 // .once("mymodule-ajax") 7088 // .ajaxComplete(function (e, xhr, settings) { 7089 let searchTermsObject = $(`${searchBlockID} .js-form-submit`) 7090 .closest("form") 7091 .serializeArray(); 7092 // console.log(searchTermsObject); 7093 let text = searchTermsObject[0].value; 7094 let tag = searchTermsObject[1].value; 7095 // let date = searchTermsObject[2].value || ""; 7096 // date = "Events date" + date 7097 // if (text || tag) { 7098 // if (tag != "All") { 7099 // date = ", " + date; 7100 // } 7101 // } 7102 if (tag != "All") { 7103 if (text) { 7104 tag = ", " + $(`[value='${tag}']`).text(); 7105 } else { 7106 tag = $(`[value='${tag}']`).text(); 7107 } 7108 } else { 7109 tag = ""; 7110 } 7111 7112 //console.log("ajaxs"); 7113 7114 //console.log("grogu"); 7115 //console.log(value); 7116 if (value) { 7117 $([document.documentElement, document.body]).scrollTop( 7118 $("#block-views-block-events-events-type-list").offset().top - 7119 getScrollAmount() 7120 ); 7121 $("#event-list-view-options-options span:nth-child(2)").click(); 7122 } 7123 value = false;
7124 // let totalResults = $( 7125 // `${searchBlockID} .view-content` 7126 // ).children().length; 7127 if (text || tag) { 7128 if ($("#ajax-search-results").length) { 7129 $("#ajax-search-rsults").text(`Search Results For: ${text}${tag}`); 7130 } else { 7131 $(`${searchBlockID} .view-filters`).after( 7132 `<div id="ajax-search-results">Search Results For: ${text}${tag} </div>` 7133 ); 7134 } 7135 } 7136 } 7137 7138 // }, 7139 // }; 7140 // })(jQuery); 7141 // } 7142 7143 if ($("#block-views-block-listings-block-1").length) { 7144 generateSearchTerms("#block-views-block-listings-block-1"); 7145 } 7146 if ($("#block-views-block-events-events-type-list").length) { 7147 generateSearchTerms("#block-views-block-events-events-type-list"); 7148 } 7149 if ($("#block-views-block-duplicate-of-stories-block-1").length) { 7150 generateSearchTerms("#block-views-block-duplicate-of-stories-block-1"); 7151 } 7152 if ($("#block-views-block-duplicate-of-stories-stories-by-author").length) { 7153 generateSearchTerms( 7154 "#block-views-block-duplicate-of-stories-stories-by-author" 7155 ); 7156 } 7157 7158 const searchIcon2 = $( 7159 "<img class='searchIconFill' src='/themes/custom/tupperlake/i/search-icon.svg'>" 7160 ).click(function () { 7161 // var e = $.Event("keypress", { keyCode: 13 }); 7162 //var e = $.Event("keypress", { which: 13 }); 7163 //$("#yourInput").trigger(e); 7164 // if (window.location.pathname == "/events") { 7165 // $(".view-filters .views-exposed-form .js-form-submit").eq(1).click(); 7166 // } else { 7167 // $(".view-filters .views-exposed-form .js-form-submit").eq(0).click(); 7168 // } 7169 // console.log($(".view-filters .views-exposed-form .js-form-submit")); 7170 }); 7171 $("[name=combine]").after(searchIcon2); 7172 7173 $(".views-field-name").remove(); 7174 $(".views-field-field-listings-categories").remove(); 7175 7176$(".views-field-field-basic").each(function () { 7177 7178 if ($(this).text().toLowerCase().includes("true")) { 7179 $(this).parent().addClass("basic-listings"); 7180 } 7181}); 7182 $(".views-field-field-basic").hide(); 7183 7184 removeDuplicates(); 7185 displayListings(); 7186 //removeTowns(); 7187 removeCategories(); 7188 7189 // // Set focus to search box with cursor at the end after the ajax call 7190 // $("[name=combine]").focus(); 7191 // var val = $("[name=combine]").val(); //store the value of the element 7192 7193 // $("[name=combine]").val(""); //clear the value of the element 7194 // $("[name=combine]").val(val); //set that value back. 7195 }); 7196}); 7197; 7198function waitForElm(selector) { 7199 return new Promise((resolve) => { 7200 if (document.querySelector(selector)) { 7201 return resolve(document.querySelector(selector)); 7202 } 7203 7204 const observer = new MutationObserver((mutations) => { 7205 if (document.querySelector(selector)) { 7206 resolve(document.querySelector(selector)); 7207 observer.disconnect(); 7208 } 7209 }); 7210 7211 observer.observe(document.body, { 7212 childList: true, 7213 subtree: true, 7214 }); 7215 }); 7216} 7217 7218document.addEventListener("DOMContentLoaded", () => { 7219 waitForElm("#socials").then((elm) => { 7220 //Events get a cool email button instead of the regular email spot 7221 let emailSection = document.createElement("div"); 7222 console.log("hii"); 7223 7224 emailSection.className = "views-row"; 7225 let emailLink = document.querySelector("#email a").getAttribute("href"); // get link 7226 7227 emailSection.innerHTML = ` 7228 <div class="views-field views-field-nothing"> 7229 <span class="field-content"> 7230 <a href="${emailLink} target="_blank"> 7231 <img class="email-icon" src="/themes/custom/tupperlake/i/email.svg"> 7232 </a> 7233 </span> 7234 </div>`; 7235 7236 console.log(emailSection.innerHtml); 7237 console.log(document.querySelector("#socials")); 7238 document.querySelector("#socials").append(emailSection); 7239 }); 7240}); 7241 7242(function ($, Drupal) { 7243 var events_once = false; 7244 function init(context, settings) { 7245 if ( 7246 window.location.href.endsWith("/events") || 7247 window.location.href.endsWith("/events/") || 7248 window.location.href.includes("/events?") 7249 ) { 7250 let listView = false;
7251 //console.log('SOMETHING USEFUL', context.forms); 7252 //console.log($('#views-exposed-form-events-events-type-list',context)[0]); 7253 7254 function setupCalender() { 7255 // console.log(listView); 7256 if ($(".fc-right .calendar-background-slider").length == 0) { 7257 if (listView) { 7258 $(".fc-right > .fc-button-group").prepend( 7259 $(`<div class="calendar-background-slider list"></div>`) 7260 ); 7261 } else { 7262 $(".fc-right > .fc-button-group").prepend( 7263 $(`<div class="calendar-background-slider"></div>`) 7264 ); 7265 } 7266 } 7267 7268 $(".fc-next-button").before($(".fc-center")); 7269 $(".fc-today-button").text("Go to Today"); 7270 $(".fc-dayGridMonth-button").text("Month View"); 7271 $(".fc-listYear-button").text("List View"); 7272 $(".fc-button").click(function () { 7273 setupCalender(); 7274 }); 7275 7276 $(".fc-day-grid-event").hover( 7277 function () { 7278 $(this).find(".fc-title h5").css("display", "block"); 7279 }, 7280 function () { 7281 $(this).find(".fc-title h5").css("display", "-webkit-box"); 7282 } 7283 ); 7284 $(".fc-listYear-button").click(function () { 7285 listView = true; 7286 setTimeout(() => { 7287 $(".fc-right .calendar-background-slider").addClass("list"); 7288 }, 100); 7289 }); 7290 $(".fc-dayGridMonth-button").click(function () { 7291 listView = false; 7292 $(".fc-right .calendar-background-slider").addClass("list"); 7293 setTimeout(() => { 7294 $(".calendar-background-slider").removeClass("list"); 7295 }, 100); 7296 }); 7297 7298 // if ($(".calendar-background-slider").length == 0) { 7299 // $(".fc-button-group").append( 7300 // $('<div class="calendar-background-slider"></div>') 7301 // ); 7302 // } 7303 } 7304 setupCalender(); 7305let eeff = $( 7306 "#views-exposed-form-events-events-type-list > div.d-flex", 7307 context 7308)[0]; 7309 7310 elvo = $("div#event-list-view-options", context)[0], //elvo = events list view options 7311 eyoel = $("a#event-list-eyoel", context)[0]; //eyoel = events your own event link 7312 7313 let date_picker = $(".js-form-item-field-dates-value input", context)[0], 7314 apply_button = $( 7315 "#views-exposed-form-events-events-type-list .form-actions .js-form-submit", 7316 context 7317 )[0]; 7318 //console.log(eeff); 7319 7320 if (eeff) { 7321 //list or cal view options 7322 // console.log("hiis"); 7323 if (!elvo) 7324 eeff.insertAdjacentHTML( 7325 "afterbegin", 7326 ` 7327 <div id="event-list-view-options" href="https://www.adkdata.com/p/events/add/7" target="_blank"> 7328 <div id="event-list-view-options-indicator"><img src="/f/tupper_images/tictac.svg" /></div> 7329 <div id="event-list-view-options-options"> 7330 <span>List View</span> 7331 <span>Calendar View</span> 7332 </div> 7333 </div> 7334 ` 7335 ); 7336 7337 //add your own event 7338 if (!eyoel) 7339 eeff.insertAdjacentHTML( 7340 "beforeend", 7341 ` 7342 <span class="flex-filler"></span> 7343 <a id="event-list-eyoel" href="https://www.adkdata.com/p/events/add/7" target="_blank"> 7344 <span>Add Your Event</span> 7345 <!--<img src="/f/tupper_images/plus_sign.svg" />--> 7346 </a> 7347 ` 7348 ); 7349 7350 let list_view_btn = q( 7351 "#event-list-view-options-options span:first-child" 7352 ), 7353 cal_view_btn = q("#event-list-view-options-options span:last-child"); 7354 7355 try { 7356 if ((list_view_btn, cal_view_btn)) { 7357 list_view_btn.onclick = () => { 7358 document.body.classList.remove("cal-view"); 7359 }; 7360 cal_view_btn.onclick = () => { 7361 document.body.classList.add("cal-view"); 7362 }; 7363 } 7364 } catch (e) { 7365 console.log("Caught Events View Error: ", e); 7366 } 7367 7368 //Set a default formatted date if empty not sure how to do this in filter ui currently 7369 if (apply_button && date_picker && date_picker.value === "") { 7370 let today = new Date(), 7371 dd = today.getDate(), 7372 mm = today.getMonth() + 1, 7373 yyyy = today.getFullYear(); 7374 7375 if (dd < 10) { 7376 dd = `0${dd}`; 7377 } 7378 if (mm < 10) { 7379 mm = `0${mm}`; 7380 } 7381 7382 today = `${mm}/${dd}/${yyyy}`; 7383 date_picker.value = today; 7384 apply_button.click(); 7385 } 7386
7387 if (apply_button && date_picker) 7388 date_picker.onchange = (e) => { 7389 apply_button.click(); 7390 }; 7391 7392 if (!events_once) { 7393 let isResizing = false; 7394 window.addEventListener("resize", () => { 7395 window.clearTimeout(isResizing); 7396 isResizing = setTimeout(function () { 7397 if (window.innerWidth <= 920) { 7398 list_view_btn.click(); 7399 } 7400 }, 100); 7401 }); 7402 7403 events_once = true; 7404 } 7405 } 7406 } 7407 } 7408 7409 let initialised = false; 7410 Drupal.behaviors.roost_events_type_list = { 7411 attach(context, settings) { 7412 window.addEventListener("load", function () { 7413 if (!initialised) init(context, settings); 7414 initialised = true; 7415 }); 7416 7417 $(context).ajaxStop(function () { 7418 if (initialised) init(context, settings); 7419 }); 7420 }, 7421 }; 7422})(jQuery, Drupal); 7423; 7424jQuery(document).ready(function ($) { 7425 $(".fc-button-group").append( 7426 $('<div class="calendar-background-slider"></div>') 7427 ); 7428 7429 // let youtubeVid = $( 7430 // "#block-views-block-page-block-14 .views-field-field-youtube-video" 7431 // ); 7432 7433 let youtubeIDHeader = $( 7434 "#block-views-block-page-block-1 .views-field-field-youtube-video-id .field-content" 7435 ).text().trim(); 7436 7437 let youtubeIDDiscoverMore = $( 7438 "#block-views-block-page-block-14 .views-field-field-youtube-video-id .field-content" 7439 ).text().trim(); 7440 let youtubeIDVideoPage = $( 7441 "#block-views-block-page-block-12 .views-field-field-youtube-video-id .field-content" 7442 ).text().trim(); 7443 7444 let generateYoutubeVideoHeader = $(`<lite-youtube 7445 videoid="${youtubeIDHeader}" 7446 playlabel="Play: Video" 7447 class="discover-more-youtube" 7448 style="background-image: url('https://i.ytimg.com/vi/${youtubeIDHeader}/maxresdefault.jpg');" 7449 ></lite-youtube>`); 7450 let generateYoutubeVideoDiscoverMore = $(`<lite-youtube 7451 videoid="${youtubeIDDiscoverMore}" 7452 playlabel="Play: Video" 7453 class="discover-more-youtube" 7454 ></lite-youtube>`); 7455 let generateYoutubeVideoVideoPage = $(`<lite-youtube 7456 videoid="${youtubeIDVideoPage}" 7457 playlabel="Play: Video" 7458 class="discover-more-youtube" 7459 ></lite-youtube>`); 7460 7461 // generateYoutubeVideo.css({ 7462 // position: "absolute", 7463 // top: "0", 7464 // width: "100%", 7465 // height: "100%", 7466 // display: "none", 7467 // }); 7468 7469 // var iframe = document.getElementById("youtube-field-player--2"); 7470 7471 // var elmnt = 7472 // iframe.contentWindow.document.getElementsByClassName( 7473 // "ytp-time-duration" 7474 // )[0]; 7475 7476 // console.log(elmnt); 7477 let src; 7478 let first = true; 7479 $("#block-views-block-page-block-14 .views-field-nothing img").click( 7480 function () { 7481 $(".views-field-nothing lite-youtube").show(); 7482 7483 if ($(".views-field-nothing .watch-video").text() == "Watch Video") { 7484 if (first) { 7485 $(".views-field-nothing lite-youtube").click(); 7486 src = $(".views-field-nothing lite-youtube iframe").attr("src"); 7487 first = false; 7488 } 7489 $(".views-field-nothing lite-youtube iframe").attr("src", src); 7490 7491 $(".views-field-nothing .watch-video").text("Close Video"); 7492 7493 // $( 7494 // "#block-views-block-page-block-8.two-blogs-one-video .views-row:nth-child(3) h3" 7495 // ).hide(); 7496 } else { 7497 $(".views-field-nothing .watch-video").text("Watch Video"); 7498 $(".views-field-nothing lite-youtube iframe").attr("src", ""); 7499 } 7500 7501 //$("#header iframe").attr("src", $("#header iframe").attr("src")); 7502 } 7503 ); 7504 7505 $("#block-views-block-page-block-14 .views-field-nothing .watch-video").click( 7506 function () { 7507 $(".views-field-nothing lite-youtube").toggle(); 7508 7509 if ($(this).text() == "Watch Video") { 7510 if (first) { 7511 $(".views-field-nothing lite-youtube").click(); 7512 src = $(".views-field-nothing lite-youtube iframe").attr("src"); 7513 first = false; 7514 } 7515 $(".views-field-nothing lite-youtube iframe").attr("src", src); 7516 $(this).text("Close Video"); 7517 } else { 7518 $(this).text("Watch Video"); 7519 7520 $(".views-field-nothing lite-youtube iframe").attr("src", ""); 7521 } 7522 } 7523 ); 7524 7525 let amountOfBlogs = $("#block-views-block-page-block-8 .views-row").length; 7526 console.log(amountOfBlogs) 7527 if ( 7528 youtubeIDHeader != "" || 7529 youtubeIDDiscoverMore != "" || 7530 youtubeIDVideoPage != "" 7531 ) { 7532 // .ytp-time-duration 7533 7534 // $("#header .views-field-field-youtube-video-1") 7535 7536 $("#block-views-block-page-block-14 .right").append( 7537 generateYoutubeVideoDiscoverMore 7538 ); 7539 $("#block-views-block-page-block-12 .scrim").after( 7540 generateYoutubeVideoVideoPage 7541 ); 7542 // $("#block-views-block-page-block-1 .views-field-nothing-1").after( 7543 // generateYoutubeVideoVideoPage 7544 // ); 7545 // $("#block-views-block-page-block-14 .right").append(youtubeVid); 7546 $("#block-views-block-page-block-14").addClass("one-video"); 7547 } 7548 let checkForAnyBlogs = $("#block-views-block-page-block-8 .views-row") 7549 .first() 7550 .children().length; 7551 7552 if (checkForAnyBlogs == 0) { 7553 amountOfBlogs = 0; 7554 $("#block-views-block-page-block-8 .views-row").first().remove(); 7555 } 7556 7557 // let youtubeVid = $("#header .views-field-nothing-2"); // teesting line disables youtube 7558 7559 // console.log(youtubeVid.length); 7560 if (amountOfBlogs) { 7561 //console.log("discoverrrrr"); 7562 if (amountOfBlogs == 0) { 7563 console.log("no blogs"); 7564 } else if (amountOfBlogs == 1) { 7565 console.log("one blog"); 7566 $("#block-views-block-page-block-8").addClass("one-blog"); 7567 } else if (amountOfBlogs == 2) { 7568 console.log("two blogs"); 7569 $("#block-views-block-page-block-8").addClass("two-blogs"); 7570 } else if (amountOfBlogs == 3) { 7571 $("#block-views-block-page-block-8 .views-row").first().remove(); 7572 console.log("three blogs"); 7573 $("#block-views-block-page-block-8").addClass("two-blogs"); 7574 } else if (amountOfBlogs == 4) { 7575 console.log("four blogs"); 7576 $("#block-views-block-page-block-8").addClass("four-blogs"); 7577 } else { 7578 while (amountOfBlogs != 4) { 7579 $("#block-views-block-page-block-8 .views-row").first().remove(); 7580 amountOfBlogs = $("#block-views-block-page-block-8 .views-row").length; 7581 } 7582 console.log("four latest tagged blogs"); 7583 $("#block-views-block-page-block-8").addClass("four-blogs"); 7584 } 7585 } else { 7586 console.log( 7587 `Unsupported Discover More Format. ${amountOfBlogs} blogs tagged for this page, only 1,2, or 4 blogs are allowed` 7588 ); 7589 // console.log($("#block-views-block-page-block-8 .views-row h3").text()); 7590 $("#block-views-block-page-block-8").remove(); 7591 } 7592}); 7593; 7594jQuery(document).ready(function ($) { 7595 // WATCH YOUTUBE VIDEO HEADER 7596 7597 7598 7599 const facebook = $("#facebook-white"); 7600 const instagram = $("#instagram-white"); 7601 const youtube = $("#Component_159_2"); 7602 7603 if (facebook.length) { 7604 facebook.attr("style", "cursor: pointer;"); 7605 facebook.click(function () { 7606 window.open("https://www.facebook.com/tupperlakeny", "_blank"); 7607 }); 7608 } 7609 if (instagram.length) { 7610 instagram.attr("style", "cursor: pointer;"); 7611 instagram.click(function () { 7612 window.open("https://www.instagram.com/tupperlakeny/", "_blank"); 7613 }); 7614 } 7615 if (youtube.length) { 7616 youtube.attr("style", "cursor: pointer;"); 7617 youtube.click(function () { 7618 window.open("https://www.youtube.com/tupperlakenewyork", "_blank"); 7619 }); 7620 } 7621 7622 let youtubeID = $( 7623 "#block-views-block-page-block-1 .views-field-field-youtube-video-id .field-content" 7624 ).text().trim(); 7625 7626 let generateYoutubeVideo = $(`<lite-youtube 7627 videoid="${youtubeID}" 7628 playlabel="Play: Video" 7629 class="discover-more-youtube" 7630 style="background-image: url('https://i.ytimg.com/vi/${youtubeID}/maxresdefault.jpg');" 7631 ></lite-youtube>`); 7632 7633 $("#block-views-block-page-block-1 .views-row").append(generateYoutubeVideo); 7634 let src; 7635 let first = true; 7636 7637 $(".watch-video-btn").click(function () { 7638 if (first) { 7639 $("#block-views-block-page-block-1 lite-youtube").click(); 7640 src = $("#block-views-block-page-block-1 lite-youtube iframe").attr( 7641 "src" 7642 ); 7643 first = false;
7644 } 7645 7646 $("#block-views-block-page-block-1 lite-youtube iframe").attr("src", src); 7647 $("#block-views-block-page-block-1 lite-youtube").show(); 7648 $("#block-views-block-page-block-1 lite-youtube").click(); 7649 $(".page-scroller").hide(); 7650 $(".second-level-scrollspy").hide(); 7651 $(".close-btn-youtube").show(); 7652 }); 7653 $(".close-btn-youtube").click(function () { 7654 // $( 7655 // "#block-views-block-page-block-1 lite-youtube iframe" 7656 // )[0].contentWindow.postMessage( 7657 // '{"event":"command","func":"stopVideo","args":""}', 7658 // "*" 7659 // ); 7660 7661 $("#block-views-block-page-block-1 lite-youtube iframe").attr("src", ""); 7662 7663 $("#block-views-block-page-block-1 lite-youtube").hide(); 7664 $(".page-scroller").show(); 7665 $(".close-btn-youtube").hide(); 7666 $(".second-level-scrollspy").show(); 7667 }); 7668 7669 // LINK IMAGES 7670 $("#block-views-block-page-block-4 .tile-text").mouseenter(function () { 7671 $(this).parent().addClass("active"); 7672 }); 7673 $("#block-views-block-page-block-4 .tile-text").mouseleave(function () { 7674 $(this).parent().removeClass("active"); 7675 }); 7676 7677 // PAGES JS 7678 7679 // CREATITNG SCROLLER FOR FULL PAGE HEADER 7680 let scroller = $( 7681 '<img class="page-scroller" src="/themes/custom/tupperlake/i/pages/scroller.svg" />' 7682 ); 7683 7684 let scrollspy = $('<div class="second-level-scrollspy"></div>'); 7685 7686 // Listings scrollspy 7687 let featured = $("<p>Featured</p>"); 7688 7689 function getScrollAmount() { 7690 return $(window).width() > 960 ? 128 : 76; 7691 } 7692 7693 featured.click(function () { 7694 $([document.documentElement, document.body]).scrollTop( 7695 $("#block-views-block-featured-content-fc-block").offset().top - 7696 getScrollAmount() 7697 ); 7698 }); 7699 7700 let relatedContent = $("<p>Related Content</p>"); 7701 7702 relatedContent.click(function () { 7703 $([document.documentElement, document.body]).scrollTop( 7704 $("#block-views-block-page-block-8").offset().top - getScrollAmount() 7705 ); 7706 }); 7707 7708 let viewListings = $("<p>View Listings</p>"); 7709 7710 viewListings.click(function () { 7711 $([document.documentElement, document.body]).scrollTop( 7712 $("#block-views-block-listings-block-1").offset().top - getScrollAmount() 7713 ); 7714 }); 7715 scrollspy.append(featured); 7716 scrollspy.append(relatedContent); 7717 scrollspy.append(viewListings); 7718 7719 // EVENTS PAGE SCROLLSPY 7720 let scrollspyEvents = $('<div class="second-level-scrollspy"></div>'); 7721 7722 let live = $("<p>Live Music/Arts</p>"); 7723 7724 live.click(function () { 7725 $([document.documentElement, document.body]).scrollTop( 7726 $("#block-views-block-events-block-3").offset().top - getScrollAmount() 7727 ); 7728 }); 7729 let mostPopular = $("<p>Most Popular</p>"); 7730 7731 mostPopular.click(function () { 7732 $([document.documentElement, document.body]).scrollTop( 7733 $("#block-views-block-events-block-1").offset().top - getScrollAmount() 7734 ); 7735 }); 7736 let viewEvents = $("<p>Search All Events</p>"); 7737 7738 viewEvents.click(function () { 7739 $([document.documentElement, document.body]).scrollTop( 7740 $("#block-views-block-events-events-type-list").offset().top - 7741 getScrollAmount() 7742 ); 7743 }); 7744 7745 scrollspyEvents.append(live); 7746 scrollspyEvents.append(mostPopular); 7747 scrollspyEvents.append(viewEvents); 7748 7749 // all triads page wipes 7750 7751 let tupperlakeTriads = $( 7752 `<div class="tupper-lake-triads"> 7753 <a href="/tupper-lake-hiking-triad"><img src="/themes/custom/tupperlake/i/pages/triads/summer-triad.svg"></a> 7754 <a href="/tupper-lake-hiking-triad"><img src="/themes/custom/tupperlake/i/pages/triads/winter-triad.svg"></a> 7755 <a href="/tupper-lake-paddling-triad"><img src="/themes/custom/tupperlake/i/pages/triads/kayak-triad.svg"></a> 7756 <a href="/tupper-lake-paddling-triad"><img src="/themes/custom/tupperlake/i/pages/triads/paddling-triad.svg"></a> 7757 </div>` 7758 ); 7759 7760 // Hiking Triads 7761 let scrollspyHiking = $('<div class="second-level-scrollspy"></div>'); 7762 7763 let register = $("<p>Register for the Triad</p>"); 7764 7765 register.click(function () { 7766 $([document.documentElement, document.body]).scrollTop( 7767 $("#block-registrationinfohikingtriad").offset().top - getScrollAmount() 7768 ); 7769 }); 7770 let roster = $("<p>View Roster</p>"); 7771 7772 roster.click(function () { 7773 $([document.documentElement, document.body]).scrollTop(
7774 $("#block-triadrostersinfo").offset().top - getScrollAmount() 7775 ); 7776 }); 7777 7778 let hiking = $("<p>Hiking Essentials</p>"); 7779 7780 hiking.click(function () { 7781 $([document.documentElement, document.body]).scrollTop( 7782 $("#block-triadhikingessentials").offset().top - getScrollAmount() 7783 ); 7784 }); 7785 7786 scrollspyHiking.append(register); 7787 scrollspyHiking.append(roster); 7788 scrollspyHiking.append(hiking); 7789 7790 // Paddling Triads 7791 let scrollspyPaddling = $('<div class="second-level-scrollspy"></div>'); 7792 7793 let registerPaddle = $("<p>Register for the Triad</p>"); 7794 7795 registerPaddle.click(function () { 7796 $([document.documentElement, document.body]).scrollTop( 7797 $("#block-registrationinfopaddlingtriad").offset().top - getScrollAmount() 7798 ); 7799 }); 7800 let rosterPaddle = $("<p>View Roster</p>"); 7801 7802 rosterPaddle.click(function () { 7803 $([document.documentElement, document.body]).scrollTop( 7804 $("#block-triadrostersinfo").offset().top - getScrollAmount() 7805 ); 7806 }); 7807 7808 let pledge = $("<p>Take the Pledge</p>"); 7809 7810 pledge.click(function () { 7811 $([document.documentElement, document.body]).scrollTop( 7812 $("#block-lyapaddlingblock").offset().top - getScrollAmount() 7813 ); 7814 }); 7815 7816 scrollspyPaddling.append(registerPaddle); 7817 scrollspyPaddling.append(rosterPaddle); 7818 scrollspyPaddling.append(pledge); 7819 7820 // $([document.documentElement, document.body]).animate({ 7821 // scrollTop: $("#elementtoScrollToID").offset().top 7822 // }, 2000); 7823 // Get main nav items for those are top level pages 7824 // second leevel items have a different design 7825 7826 scroller.click(function () { 7827 window.scrollTo({ 7828 top: $("#main").offset().top - $("#navbar-top").height() + 1, 7829 behavior: "smooth", 7830 }); 7831 }); 7832 7833 if ($("#block-views-block-page-block-1").length) { 7834 if (window.location.pathname == "/events") { 7835 let download = $(`<a class="watch-video-btn">Download</a>`).click( 7836 function () { 7837 window.open("https://insider.tupperlake.com/print.php", "_blank"); 7838 } 7839 ); 7840 7841 $( 7842 "#block-views-block-page-block-1 .views-field.views-field-nothing .field-content" 7843 ).append($("<h2>Download this weeks schedule</h2>")); 7844 $( 7845 "#block-views-block-page-block-1 .views-field.views-field-nothing .field-content" 7846 ).append(download); 7847 7848 $("#main-wrapper .field-body").css("padding-top", "70px"); 7849 $("#main-wrapper").prepend(scrollspyEvents); 7850 $("body").addClass("second-level-page"); 7851 } else if (window.location.pathname == "/stories") { 7852 $("body").addClass("second-level-page"); 7853 } else if (window.location.pathname == "/enter-to-win") { 7854 $("body").addClass("second-level-page"); 7855 } 7856 else if (window.location.pathname == "/recreation-guide") { 7857 $("body").addClass("second-level-page"); 7858 } 7859 else if (window.location.pathname == "/email-preferences") { 7860 $("body").addClass("second-level-page"); 7861 } else if (window.location.pathname == "/recreation/tupper-lake-triad") { 7862 $("body").addClass("second-level-page"); 7863 7864 $("#main-wrapper .field-body").css("padding-top", "70px"); 7865 $("#main-wrapper").prepend(tupperlakeTriads); 7866 } else if (window.location.pathname == "/discover-my-tupper-lake") { 7867 $("body").addClass("second-level-page"); 7868 } else if (window.location.pathname == "/tupper-lake-hiking-triad") { 7869 $("body").addClass("second-level-page"); 7870 7871 $("#main-wrapper .field-body").css("padding-top", "70px"); 7872 $("#main-wrapper").prepend(scrollspyHiking); 7873 } else if (window.location.pathname == "/tupper-lake-paddling-triad") { 7874 $("body").addClass("second-level-page"); 7875 7876 $("#main-wrapper .field-body").css("padding-top", "70px"); 7877 $("#main-wrapper").prepend(scrollspyPaddling); 7878 // } else if ( 7879 // $("#block-views-block-listings-block-1").length && 7880 // $("#block-views-block-page-block-8").length && 7881 // $("#block-views-block-featured-content-fc-block").length 7882 // ) { 7883 // $("#main-wrapper").prepend(scrollspy); 7884 // $("body").addClass("second-level-page"); 7885 // $("#main-wrapper .field-body").css("padding-top", "70px"); 7886 } else { 7887 $("#main-wrapper").prepend(scroller); 7888 } 7889 } 7890 let targets = { 7891 faq: false, 7892 town_pops: false, 7893 ajax_init: false, 7894 tpci: false, 7895 ghs: false, 7896 tvcp: false, 7897 tcs: false, 7898 sst: false, 7899 views_ajax_override: false, //not used yet 7900 } 7901 /* 7902 FAQs 7903 */ 7904 let faq = q("#block-views-block-page-faqs"); 7905 if(faq && !targets.faq) { 7906 targets.faq = true; 7907 7908 let faq_items = oqa(faq, "#faqs-view-rows-wrapper .views-row"); 7909 7910 //The tax term weight filter on view should hide view but just in case.. 7911 if(faq_items.length <= 0) faq.style.display = 'none'; 7912 7913 //we need to not allow clicking & display anaswer alaways 7914 if(faq_items.length === 1) faq.classList.add('is-one'); 7915 7916 //Normal Faq Flow clicking etc.. 7917 if(faq_items.length > 1) { 7918 for(let i = 0; i < faq_items.length; i++) { 7919 faq_items[i].onclick = (e) => { 7920 faq_items[i].classList.toggle('active'); 7921 } 7922 } 7923 } 7924 } 7925}); 7926; 7927jQuery(document).ready(function ($) { 7928 // Desktop 7929 $( 7930 "#block-hikingtriadmountainsslider .arab, #block-paddlingtriadslider .arab" 7931 ).fadeTo(1000, 1); 7932 function changeMountain(currentCounter) { 7933 //(currentCounter); 7934 switch (currentCounter) { 7935 case "1": 7936 case 1: 7937 $( 7938 "#block-hikingtriadmountainsslider .coney, #block-paddlingtriadslider .coney" 7939 ).attr("style", "display: none !important"); 7940 7941 $( 7942 "#block-hikingtriadmountainsslider .goodman, #block-paddlingtriadslider .goodman" 7943 ).attr("style", "display: none !important"); 7944 7945 $( 7946 "#block-hikingtriadmountainsslider .arab, #block-paddlingtriadslider .arab" 7947 ).attr("style", "display: inline-block !important"); 7948 7949 $( 7950 "#block-hikingtriadmountainsslider .arab, #block-paddlingtriadslider .arab" 7951 ).fadeTo(1000, 1); 7952 7953 break; 7954 7955 case "2": 7956 case 2: 7957 $( 7958 "#block-hikingtriadmountainsslider .arab, #block-paddlingtriadslider .arab" 7959 ).attr("style", "display: none !important"); 7960 $( 7961 "#block-hikingtriadmountainsslider .coney, #block-paddlingtriadslider .coney" 7962 ).attr("style", "display: inline-block !important"); 7963 $( 7964 "#block-hikingtriadmountainsslider .coney, #block-paddlingtriadslider .coney" 7965 ).fadeTo(1000, 1); 7966 $( 7967 "#block-hikingtriadmountainsslider .goodman, #block-paddlingtriadslider .goodman" 7968 ).attr("style", "display: none !important"); 7969 break; 7970 case "3": 7971 case 3: 7972 $( 7973 "#block-hikingtriadmountainsslider .arab, #block-paddlingtriadslider .arab" 7974 ).attr("style", "display: none !important"); 7975 $( 7976 "#block-hikingtriadmountainsslider .coney, #block-paddlingtriadslider .coney" 7977 ).attr("style", "display: none !important"); 7978 $( 7979 "#block-hikingtriadmountainsslider .goodman, #block-paddlingtriadslider .goodman" 7980 ).attr("style", "display: inline-block !important"); 7981 $( 7982 "#block-hikingtriadmountainsslider .goodman, #block-paddlingtriadslider .goodman" 7983 ).fadeTo(1000, 1); 7984 break; 7985 7986 default: 7987 } 7988 } 7989 $( 7990 "#block-hikingtriadmountainsslider .left-btn, #block-paddlingtriadslider .left-btn" 7991 ).click(function () { 7992 $(this).css("pointer-events", "none"); 7993 7994 setTimeout(() => { 7995 $(this).css("pointer-events", "all"); 7996 }, 1000); 7997
7998 let currentCounter = $( 7999 "#block-hikingtriadmountainsslider .current-mtn, #block-paddlingtriadslider .current-mtn" 8000 ); 8001 8002 if (currentCounter.text() == 1) { 8003 currentCounter.fadeTo("fast", 0, function () { 8004 currentCounter.text("3"); 8005 changeMountain("3"); 8006 }); 8007 currentCounter.fadeTo("fast", 1); 8008 } else { 8009 currentCounter.fadeTo("fast", 0, function () { 8010 let nextNum = parseInt(currentCounter.text()) - 1; 8011 currentCounter.text(nextNum); 8012 changeMountain(nextNum); 8013 }); 8014 currentCounter.fadeTo("fast", 1); 8015 } 8016 }); 8017 8018 $( 8019 "#block-hikingtriadmountainsslider .right-btn, #block-paddlingtriadslider .right-btn" 8020 ).click(function () { 8021 $(this).css("pointer-events", "none"); 8022 8023 setTimeout(() => { 8024 $(this).css("pointer-events", "all"); 8025 }, 1000); 8026 8027 let currentCounter = $( 8028 "#block-hikingtriadmountainsslider .current-mtn, #block-paddlingtriadslider .current-mtn" 8029 ); 8030 8031 if (currentCounter.text() == 3) { 8032 currentCounter.fadeTo("fast", 0, function () { 8033 currentCounter.text("1"); 8034 changeMountain("1"); 8035 }); 8036 currentCounter.fadeTo("fast", 1); 8037 } else { 8038 currentCounter.fadeTo("fast", 0, function () { 8039 let nextNum = parseInt(currentCounter.text()) + 1; 8040 currentCounter.text(nextNum); 8041 changeMountain(nextNum); 8042 }); 8043 currentCounter.fadeTo("fast", 1); 8044 } 8045 }); 8046 8047 // Mobile 8048 $( 8049 "#block-hikingtriadmountainsslidermobile .arab, #block-paddlingtriadslidermobile .arab" 8050 ).fadeTo(1000, 1); 8051 function changeMountainMobile(currentCounter) { 8052 //console.log(currentCounter); 8053 switch (currentCounter) { 8054 case "1": 8055 case 1: 8056 $( 8057 "#block-hikingtriadmountainsslidermobile .coney, #block-paddlingtriadslidermobile .coney" 8058 ).attr("style", "display: none !important"); 8059 $( 8060 "#block-hikingtriadmountainsslidermobile .goodman, #block-paddlingtriadslidermobile .goodman" 8061 ).attr("style", "display: none !important"); 8062 $( 8063 "#block-hikingtriadmountainsslidermobile .arab, #block-paddlingtriadslidermobile .arab" 8064 ).attr("style", "display: inline-block !important"); 8065 $( 8066 "#block-hikingtriadmountainsslidermobile .arab, #block-paddlingtriadslidermobile .arab" 8067 ).fadeTo(1000, 1); 8068 8069 break; 8070 8071 case "2": 8072 case 2: 8073 $( 8074 "#block-hikingtriadmountainsslidermobile .arab, #block-paddlingtriadslidermobile .arab" 8075 ).attr("style", "display: none !important"); 8076 $( 8077 "#block-hikingtriadmountainsslidermobile .coney, #block-paddlingtriadslidermobile .coney" 8078 ).attr("style", "display: inline-block !important"); 8079 $( 8080 "#block-hikingtriadmountainsslidermobile .coney, #block-paddlingtriadslidermobile .coney" 8081 ).fadeTo(1000, 1); 8082 $( 8083 "#block-hikingtriadmountainsslidermobile .goodman, #block-paddlingtriadslidermobile .goodman" 8084 ).attr("style", "display: none !important"); 8085 break; 8086 case "3": 8087 case 3: 8088 $( 8089 "#block-hikingtriadmountainsslidermobile .arab, #block-paddlingtriadslidermobile .arab" 8090 ).attr("style", "display: none !important"); 8091 $( 8092 "#block-hikingtriadmountainsslidermobile .coney, #block-paddlingtriadslidermobile .coney" 8093 ).attr("style", "display: none !important"); 8094 $( 8095 "#block-hikingtriadmountainsslidermobile .goodman, #block-paddlingtriadslidermobile .goodman" 8096 ).attr("style", "display: inline-block !important"); 8097 $( 8098 "#block-hikingtriadmountainsslidermobile .goodman, #block-paddlingtriadslidermobile .goodman" 8099 ).fadeTo(1000, 1); 8100 break; 8101 8102 default: 8103 } 8104 } 8105 $( 8106 "#block-hikingtriadmountainsslidermobile .left-btn, #block-paddlingtriadslidermobile .left-btn" 8107 ).click(function () { 8108 $(this).css("pointer-events", "none"); 8109 8110 setTimeout(() => { 8111 $(this).css("pointer-events", "all"); 8112 }, 1000); 8113 8114 let currentCounter = $( 8115 "#block-hikingtriadmountainsslidermobile .current-mtn, #block-paddlingtriadslidermobile .current-mtn" 8116 ); 8117 8118 if (currentCounter.text() == 1) { 8119 currentCounter.fadeTo("fast", 0, function () { 8120 currentCounter.text("3"); 8121 changeMountainMobile("3"); 8122 }); 8123 currentCounter.fadeTo("fast", 1); 8124 } else { 8125 currentCounter.fadeTo("fast", 0, function () { 8126 let nextNum = parseInt(currentCounter.text()) - 1; 8127 currentCounter.text(nextNum); 8128 changeMountainMobile(nextNum); 8129 }); 8130 currentCounter.fadeTo("fast", 1); 8131 } 8132 }); 8133 8134 $( 8135 "#block-hikingtriadmountainsslidermobile .right-btn, #block-paddlingtriadslidermobile .right-btn" 8136 ).click(function () { 8137 $(this).css("pointer-events", "none"); 8138 8139 setTimeout(() => { 8140 $(this).css("pointer-events", "all"); 8141 }, 1000); 8142
8143 let currentCounter = $( 8144 "#block-hikingtriadmountainsslidermobile .current-mtn, #block-paddlingtriadslidermobile .current-mtn" 8145 ); 8146 8147 if (currentCounter.text() == 3) { 8148 currentCounter.fadeTo("fast", 0, function () { 8149 currentCounter.text("1"); 8150 changeMountainMobile("1"); 8151 }); 8152 currentCounter.fadeTo("fast", 1); 8153 } else { 8154 currentCounter.fadeTo("fast", 0, function () { 8155 let nextNum = parseInt(currentCounter.text()) + 1; 8156 currentCounter.text(nextNum); 8157 changeMountainMobile(nextNum); 8158 }); 8159 currentCounter.fadeTo("fast", 1); 8160 } 8161 }); 8162}); 8163; 8164jQuery(document).ready(function ($) { 8165 $(document).ajaxComplete(function () { 8166 if ($(window).width() < 960) { 8167 $("th.views-field-field-end").text("Date Completed"); 8168 $("th.views-field-field-endttime").text("Date Completed"); 8169 8170 $("#block-registrationinfohikingtriad .info").append( 8171 $("#block-registrationinfohikingtriad .links") 8172 ); 8173 $("#block-registrationinfopaddlingtriad .info").append( 8174 $("#block-registrationinfopaddlingtriad .links") 8175 ); 8176 } 8177 $(window).resize(function () { 8178 if ($(window).width() < 960) { 8179 $("th.views-field-field-end").text("Date Completed"); 8180 $("th.views-field-field-endttime").text("Date Completed"); 8181 8182 $("#block-registrationinfohikingtriad .info").append( 8183 $("#block-registrationinfohikingtriad .links") 8184 ); 8185 $("#block-registrationinfopaddlingtriad .info").append( 8186 $("#block-registrationinfopaddlingtriad .links") 8187 ); 8188 } else { 8189 $("#block-registrationinfohikingtriad .field--name-body .patches").append( 8190 $("#block-registrationinfohikingtriad .links") 8191 ); 8192 $("#block-registrationinfopaddlingtriad .field--name-body .patches").append( 8193 $("#block-registrationinfopaddlingtriad .links") 8194 ); 8195 $("th.views-field-field-end").text("End"); 8196 $("th.views-field-field-endttime").text("End"); 8197 } 8198 }); 8199 8200 let title = $("#block-views-block-rosters-block-1 h2").clone(); 8201 8202 let input = $("#block-views-block-rosters-block-1 .view-filters"); 8203 if (!$("#block-views-block-rosters-block-1 .view-filters h2").length) { 8204 input.prepend(title); 8205 } 8206 8207 title = $("#block-views-block-rosters-block-2 h2").clone(); 8208 8209 input = $("#block-views-block-rosters-block-2 .view-filters"); 8210 if (!$("#block-views-block-rosters-block-2 .view-filters h2").length) { 8211 input.prepend(title); 8212 } 8213 8214 title = $("#block-views-block-rosters-block-3 h2").clone(); 8215 8216 input = $("#block-views-block-rosters-block-3 .view-filters"); 8217 if (!$("#block-views-block-rosters-block-3 .view-filters h2").length) { 8218 input.prepend(title); 8219 } 8220 8221 title = $("#block-views-block-rosters-block-4 h2").clone(); 8222 8223 input = $("#block-views-block-rosters-block-4 .view-filters"); 8224 if (!$("#block-views-block-rosters-block-4 .view-filters h2").length) { 8225 input.prepend(title); 8226 } 8227 }); 8228}); 8229; 8230jQuery(document).ready(function ($) { 8231 // get images 8232 let getImages = []; 8233 8234 if ($("body .field-body .ltif-image.ltif-no-caption").length >= 3) { 8235 let inlineImages = $("body .field-body .ltif-image.ltif-no-caption"); 8236 8237 let swipers = []; 8238 let imageDump = []; 8239 let counter = 0; 8240 8241 //console.log(inlineImages); 8242 inlineImages.each(function () { 8243 if ($(this).next().hasClass("ltif-image")) { 8244 //console.log(counter); 8245 imageDump.push($(this)); 8246 counter++; 8247 } else { 8248 if (counter >= 2) { 8249 imageDump.push($(this)); 8250 swipers.push(imageDump); 8251 } 8252 //console.log(counter); 8253 imageDump = []; 8254 counter = 0; 8255 } 8256 }); 8257 8258 // console.log($("body .field-body .ltif-image.ltif-no-caption")); 8259 // console.log(swipers); 8260 8261 for (var i = 0; i < swipers.length; i++) { 8262 //console.log("hii"); 8263 let photos = swipers[i]; 8264 for (const photo of photos) { 8265 getImages.push( 8266 $(`<div class="swiper-slide"></div>`).append(photo.find("img")) 8267 ); 8268 } 8269 //console.log(getImages); 8270 8271 let sliderHtml = $(`<!-- Slider main container --> 8272<div class="swiper"> 8273 <!-- Additional required wrapper --> 8274 <div class="swiper-wrapper"> 8275 <!-- Slides --> 8276 8277 8278 </div> 8279 <!-- If we need pagination --> 8280 <div class="swiper-pagination"></div> 8281 8282 <!-- If we need navigation buttons --> 8283 <div class="swiper-button-prev"><img src="/themes/custom/tupperlake/i/pages/leftarrow.svg" /></div> 8284 <div class="swiper-button-next"><img src="/themes/custom/tupperlake/i/pages/rightarrow.svg" /></div> 8285 <!-- If we need scrollbar --> 8286 <!-- <div class="swiper-scrollbar"></div> --> 8287</div> 8288`); 8289 8290 photos[0].replaceWith(sliderHtml); 8291 8292 for (const img of getImages) { 8293 $("body .field-body .swiper-wrapper").append(img); 8294 } 8295 8296 const swiper = new Swiper(".swiper", { 8297 // Optional parameters 8298 direction: "horizontal", 8299 loop: true, 8300 slidesPerView: 1, 8301 8302 // If we need pagination 8303 pagination: { 8304 el: ".swiper-pagination", 8305 type: "fraction", 8306 }, 8307 8308 // Navigation arrows 8309 navigation: { 8310 nextEl: ".swiper-button-next", 8311 prevEl: ".swiper-button-prev", 8312 }, 8313 8314 // // And if we need scrollbar 8315 // scrollbar: { 8316 // el: ".swiper-scrollbar", 8317 // }, 8318 }); 8319 } 8320 } 8321}); 8322; 8323// jQuery(document).ready(function ($) { 8324// $("#block-views-block-featured-content-fc-block .hfcb-stargazing").hover( 8325// function () { 8326// $(this).find(".hide").fadeTo("slow", 1); 8327// }, 8328// function () { 8329// $(this).find(".hide").fadeTo("slow", 0); 8330// } 8331// ); 8332// }); 8333; 8334!function(){"use strict";function o(){var o=window,t=document;if(!("scrollBehavior"in t.documentElement.style&&!0!==o.__forceSmoothScrollPolyfill__)){var l,e=o.HTMLElement||o.Element,r=468,i={scroll:o.scroll||o.scrollTo,scrollBy:o.scrollBy,elementScroll:e.prototype.scroll||n,scrollIntoView:e.prototype.scrollIntoView},s=o.performance&&o.performance.now?o.performance.now.bind(o.performance):Date.now,c=(l=o.navigator.userAgent,new RegExp(["MSIE ","Trident/","Edge/"].join("|")).test(l)?1:0);o.scroll=o.scrollTo=function(){void 0!==arguments[0]&&(!0!==f(arguments[0])?h.call(o,t.body,void 0!==arguments[0].left?~~arguments[0].left:o.scrollX||o.pageXOffset,void 0!==arguments[0].top?~~arguments[0].top:o.scrollY||o.pageYOffset):i.scroll.call(o,void 0!==arguments[0].left?arguments[0].left:"object"!=typeof arguments[0]?arguments[0]:o.scrollX||o.pageXOffset,void 0!==arguments[0].top?arguments[0].top:void 0!==arguments[1]?arguments[1]:o.scrollY||o.pageYOffset))},o.scrollBy=function(){void 0!==arguments[0]&&(f(arguments[0])?i.scrollBy.call(o,void 0!==arguments[0].left?arguments[0].left:"object"!=typeof arguments[0]?arguments[0]:0,void 0!==arguments[0].top?arguments[0].top:void 0!==arguments[1]?arguments[1]:0):h.call(o,t.body,~~arguments[0].left+(o.scrollX||o.pageXOffset),~~arguments[0].top+(o.scrollY||o.pageYOffset)))},e.prototype.scroll=e.prototype.scrollTo=function(){if(void 0!==arguments[0])if(!0!==f(arguments[0])){var o=arguments[0].left,t=arguments[0].top;h.call(this,this,void 0===o?this.scrollLeft:~~o,void 0===t?this.scrollTop:~~t)}else{if("number"==typeof arguments[0]&&void 0===arguments[1])throw new SyntaxError("Value could not be converted");i.elementScroll.call(this,void 0!==arguments[0].left?~~arguments[0].left:"object"!=typeof arguments[0]?~~arguments[0]:this.scrollLeft,void 0!==arguments[0].top?~~arguments[0].top:void 0!==arguments[1]?~~arguments[1]:this.scrollTop)}},e.prototype.scrollBy=function(){void 0!==arguments[0]&&(!0!==f(arguments[0])?this.scroll({left:~~arguments[0].left+this.scrollLeft,top:~~arguments[0].top+this.scrollTop,behavior:arguments[0].behavior}):i.elementScroll.call(this,void 0!==arguments[0].left?~~arguments[0].left+this.scrollLeft:~~arguments[0]+this.scrollLeft,void 0!==arguments[0].top?~~arguments[0].top+this.scrollTop:~~arguments[1]+this.scrollTop))},e.prototype.scrollIntoView=function(){if(!0!==f(arguments[0])){var l=function(o){for(;o!==t.body&&!1===(e=p(l=o,"Y")&&a(l,"Y"),r=p(l,"X")&&a(l,"X"),e||r);)o=o.parentNode||o.host;var l,e,r;return o}(this),e=l.getBoundingClientRect(),r=this.getBoundingClientRect();l!==t.body?(h.call(this,l,l.scrollLeft+r.left-e.left,l.scrollTop+r.top-e.top),"fixed"!==o.getComputedStyle(l).position&&o.scrollBy({left:e.left,top:e.top,behavior:"smooth"})):o.scrollBy({left:r.left,top:r.top,behavior:"smooth"})}else i.scrollIntoView.call(this,void 0===arguments[0]||arguments[0])}}function n(o,t){this.scrollLeft=o,this.scrollTop=t}function f(o){if(null===o||"object"!=typeof o||void 0===o.behavior||"auto"===o.behavior||"instant"===o.behavior)return!0;
8334if("object"==typeof o&&"smooth"===o.behavior)return!1;throw new TypeError("behavior member of ScrollOptions "+o.behavior+" is not a valid value for enumeration ScrollBehavior.")}function p(o,t){return"Y"===t?o.clientHeight+c<o.scrollHeight:"X"===t?o.clientWidth+c<o.scrollWidth:void 0}function a(t,l){var e=o.getComputedStyle(t,null)["overflow"+l];return"auto"===e||"scroll"===e}function d(t){var l,e,i,c,n=(s()-t.startTime)/r;c=n=n>1?1:n,l=.5*(1-Math.cos(Math.PI*c)),e=t.startX+(t.x-t.startX)*l,i=t.startY+(t.y-t.startY)*l,t.method.call(t.scrollable,e,i),e===t.x&&i===t.y||o.requestAnimationFrame(d.bind(o,t))}function h(l,e,r){var c,f,p,a,h=s();l===t.body?(c=o,f=o.scrollX||o.pageXOffset,p=o.scrollY||o.pageYOffset,a=i.scroll):(c=l,f=l.scrollLeft,p=l.scrollTop,a=n),d({scrollable:c,method:a,startTime:h,startX:f,startY:p,x:e,y:r})}}"object"==typeof exports&&"undefined"!=typeof module?module.exports={polyfill:o}:o()}();; 8335jQuery(document).ready(function ($) { 8336 // search-load-more-btn 8337 8338 $("body.page-view-search-api .search-load-more-btn").click(function () { 8339 /** 8340 * 8341 * TODO 8342 * Add mobile check to change pager to 5 on smaller screens 8343 * Remove button if results re 6 or less 8344 * 8345 */ 8346 //$(document).width() <= 768; 8347 let pagerAmount = 6; 8348 8349 $("body.page-view-search-api .view-content.row") 8350 .children() 8351 .each(function () { 8352 //console.log($(this).css("display")); 8353 if ($(this).css("display") == "none" && pagerAmount != 0) { 8354 $(this).show(); 8355 pagerAmount--; 8356 } 8357 }); 8358 }); 8359 8360 // Search page result count 8361 if ($("body.page-view-search-api").length) { 8362 $(".search-title").before($("#menubar-search")); 8363 $("#mbt-search-toggle").unbind("hover"); 8364 $("#menubar-search").unbind("mouseenter mouseleave"); 8365 $("#mbt-search-toggle").click(function () { 8366 $(document).scrollTop(0); 8367 }); 8368 let numRows = $(".view-search-api .view-content.row").children().length; 8369 8370 const params = new URLSearchParams(window.location.search); 8371 8372 8373 let searchTerms = params.get('keywords'); 8374 //searchTerms = searchTerms.replace(" ", ", "); 8375 8376 //console.log(searchTerms); 8377 resultText = 8378 "Showing " + numRows.toString() + " results for:" + " " + searchTerms; 8379 8380 $(".view-search-api .search-results").text(resultText); 8381 } else { 8382 // Desktop Nav search animation 8383 $("#mbt-search-toggle").mouseenter(function () { 8384 $("#menubar-search").animate( 8385 { 8386 height: 371, 8387 }, 8388 371 8389 ); 8390 }); 8391 $("#menubar-search").mouseleave(function () { 8392 $(this).animate( 8393 { 8394 height: 0, 8395 }, 8396 371 8397 ); 8398 }); 8399 } 8400 8401 //console.log($(".custom_search-keys").closest("form")); 8402 8403 $mobilesearch = $(`<div id="mobil-menu-search"> 8404<form accept-charset="UTF-8" action="/search" id="mobil-menu-search-form" method="get"><input id="fsf-input" name="search" placeholder="Search..." type="text" /> <input formaction="/search" id="fsf-submit" type="submit" value="" /></form> 8405</div>`); 8406 $("ul.mm-listview").after($mobilesearch); 8407 8408 // submit keywords to search pages 8409 $("#fsf-input") 8410 .closest("form") 8411 .submit(function (e) { 8412 e.preventDefault(); 8413 8414 let keyword = $(e.target).find("input").first().val(); 8415 8416 if (keyword) { 8417 window.location.href = "/search?keywords=" + keyword; 8418 } 8419 8420 return false; 8421 }); 8422 8423 $("#mbs-form-input") 8424 .closest("form") 8425 .submit(function (e) { 8426 e.preventDefault(); 8427 8428 let keyword = $(e.target).find("input").first().val(); 8429 8430 if (keyword) { 8431 window.location.href = "/search?keywords=" + keyword; 8432 } 8433 8434 return false; 8435 }); 8436}); 8437; 8438(function($, Drupal) { 8439 function init(context, settings) { 8440 // this script particular to events page only for now, ajax does weird crap... 8441 if (window.location.href.endsWith('/events') || window.location.href.endsWith('/events/') || window.location.href.includes('/events?')) { 8442 let see_more_dates_links = $('.view-display-id-events_type_list .view-content.row',context)[0], 8443 event_dates_block = q('#block-views-block-events-event-dates-by-exposed-filter'), 8444 event_dates_block_content = q('#block-views-block-events-event-dates-by-exposed-filter div.content'), 8445 events_dates_filter_input = q('#block-views-block-events-event-dates-by-exposed-filter .js-form-type-textfield input'), 8446 events_dates_filter_input_submit = q('#block-views-block-events-event-dates-by-exposed-filter .js-form-submit.form-submit.btn'), 8447 event_dates_dates = q('#block-views-block-events-event-dates-by-exposed-filter .view-content.row'),
8448 events_dates_close_modal = q('#block-views-block-events-event-dates-by-exposed-filter img.blue-x-modal-close'); 8449 event_dates_modal_show_more = q('#block-views-block-events-event-dates-by-exposed-filter .modal-show-more-dates'); 8450 8451 let dates_count = event_dates_block.querySelectorAll('.views-row').length; 8452 if(dates_count < 5) { event_dates_block.classList.add('less-than-5-dates'); } else { 8453 event_dates_block.classList.remove('less-than-5-dates'); 8454 } 8455 8456 if(dates_count > 5 && event_dates_modal_show_more && event_dates_dates) event_dates_modal_show_more.onclick = (e) => { 8457 event_dates_dates.scrollTop = event_dates_dates.scrollTop + 120; 8458 } 8459 8460 //console.log(see_more_dates_links); 8461 if(see_more_dates_links) see_more_dates_links.onclick = (e) => { 8462 if(e.target.classList.contains('type-list-see-more-dates')) { 8463 //e.preventDefault(); 8464 //e.stopPropagation(); 8465 8466 lock(); 8467 event_dates_block.classList.add('show'); 8468 events_dates_filter_input.value = e.target.getAttribute('data-guid'); 8469 8470 if(events_dates_filter_input_submit) events_dates_filter_input_submit.click(); 8471 } 8472 } 8473 if(event_dates_block) event_dates_block.onclick = () => { close_modal(event_dates_block); } 8474 if(event_dates_block_content) event_dates_block_content.onclick = (e) => { e.stopPropagation(); } 8475 if(events_dates_close_modal) events_dates_close_modal.onclick = (e) => { close_modal(event_dates_block); } 8476 } 8477 } 8478 8479 let initialised = false; 8480 Drupal.behaviors.event_dates_popup = { 8481 attach(context, settings) { 8482 window.addEventListener('load', function () { 8483 if (!initialised) { 8484 initialised = true; 8485 init(context, settings); 8486 } 8487 }); 8488 8489 $(context).ajaxStop(function () { 8490 if(initialised) init(context, settings); 8491 }); 8492 } 8493 } 8494})(jQuery, Drupal);; 8495jQuery(document).ready(function ($) { 8496 if (window.location.pathname == "/events") { 8497 // set background image 8498 8499 let backgroundImage = $( 8500 "#block-views-block-events-block-1 .view-header img" 8501 ).attr("src"); 8502 8503 $("#block-views-block-events-block-1").css( 8504 "background-image", 8505 `linear-gradient(rgba(34, 16, 0, 0.5), rgba(34, 16, 0, 0.5)), url("${backgroundImage}")` 8506 ); 8507 // get images 8508 let getSlides = []; 8509 8510 $("#block-views-block-events-block-1 .view-content.row") 8511 .children() 8512 .each(function () { 8513 getSlides.push($(`<div class="swiper-slide"></div>`).append($(this))); 8514 }); 8515 8516 //console.log(getSlides); 8517 8518 let sliderHtml = $(`<!-- Slider main container --> 8519<div class="swiper-most-popular"> 8520 <!-- Additional required wrapper --> 8521 <div class="swiper-wrapper"> 8522 <!-- Slides --> 8523 8524 8525 </div> 8526 8527 8528 <!-- If we need navigation buttons --> 8529 <div class="swiper-button-prev"><img src="/themes/custom/tupperlake/i/events/leftarrow-nofill.svg" /></div> 8530 <div class="swiper-button-next"><img src="/themes/custom/tupperlake/i/events/rightarrow-nofill.svg" /></div> 8531 <!-- If we need scrollbar --> 8532 <!-- <div class="swiper-scrollbar"></div> --> 8533</div> 8534`); 8535 $("#block-views-block-events-block-1 .view-content.row").empty(); 8536 $("#block-views-block-events-block-1 .view-content.row").append(sliderHtml); 8537 8538 for (const slide of getSlides) { 8539 $("#block-views-block-events-block-1 .swiper-wrapper").append(slide); 8540 } 8541 8542 const swiper = new Swiper(".swiper-most-popular", { 8543 // Optional parameters 8544 direction: "horizontal", 8545 slidesPerView: "auto", 8546 spaceBetween: 10, 8547 slidesPerGroup: 1, 8548 centeredSlides: true, 8549 8550 breakpoints: { 8551 767: { 8552 slidesPerView: "auto", 8553 spaceBetween: 15, 8554 slidesPerGroup: 3, 8555 centeredSlides: false, 8556 }, 8557 }, 8558 8559 // // If we need pagination 8560 // pagination: { 8561 // el: ".swiper-pagination", 8562 // type: "fraction", 8563 // }, 8564 8565 // Navigation arrows 8566 navigation: { 8567 nextEl: ".swiper-button-next", 8568 prevEl: ".swiper-button-prev", 8569 }, 8570 8571 // // And if we need scrollbar 8572 // scrollbar: { 8573 // el: ".swiper-scrollbar", 8574 // }, 8575 }); 8576 8577 let nextBtn = $("#block-views-block-events-block-1 .swiper-button-next"); 8578 let prevBtn = $("#block-views-block-events-block-1 .swiper-button-prev"); 8579 let btnContain = $('<div class="header-btn-container"></div>'); 8580 8581 btnContain.append(prevBtn); 8582 btnContain.append(nextBtn); 8583 8584 let header = $("#block-views-block-events-block-1 h2").clone(); 8585 8586 let headerWithControls = $('<div class="most-popular-header"></div>'); 8587 headerWithControls.append(header); 8588 8589 headerWithControls.append(btnContain); 8590 8591 //console.log(headerWithControls); 8592 8593 $("#block-views-block-events-block-1 h2").replaceWith(headerWithControls); 8594 8595 function checkScreen() { 8596 let nextBtn = $("#block-views-block-events-block-1 .swiper-button-next"); 8597 let prevBtn = $("#block-views-block-events-block-1 .swiper-button-prev"); 8598 let btnContain = $('<div class="header-btn-container"></div>'); 8599 8600 if ($(window).width() > 767) { 8601 let nextBtn = $( 8602 "#block-views-block-events-block-1 .swiper-button-next" 8603 ); 8604 let prevBtn = $( 8605 "#block-views-block-events-block-1 .swiper-button-prev" 8606 ); 8607 let btnContain = $(".header-btn-container"); 8608 8609 btnContain.append(prevBtn); 8610 btnContain.append(nextBtn); 8611 } else { 8612 let nextBtn = $( 8613 "#block-views-block-events-block-1 .swiper-button-next" 8614 ); 8615 let prevBtn = $( 8616 "#block-views-block-events-block-1 .swiper-button-prev" 8617 ); 8618 8619 $(".swiper-wrapper").after(prevBtn); 8620 prevBtn.after(nextBtn); 8621 } 8622 } 8623 checkScreen(); 8624 8625 $(window).resize(function () { 8626 //console.log("resized"); 8627 checkScreen(); 8628 }); 8629 } 8630}); 8631; 8632jQuery(document).ready(function ($) { 8633 if (window.location.pathname == "/stargazing") { 8634 let moonImgDesktop = 8635 "/themes/custom/tupperlake/i/MoonPhases/Desktop/MoonPhase_1.png"; 8636 let moonImgMobile = 8637 "/themes/custom/tupperlake/i/MoonPhases/Mobile/Mobile-MoonPhase_1.png"; 8638 const getJulianDate = (date = new Date()) => { 8639 const time = date.getTime(); 8640 const tzoffset = date.getTimezoneOffset(); 8641 8642 return time / 86400000 - tzoffset / 1440 + 2440587.5; 8643 }; 8644 8645 const LUNAR_MONTH = 29.530588853; 8646 8647 const getLunarAge = (date = new Date()) => { 8648 const percent = getLunarAgePercent(date); 8649 const age = percent * LUNAR_MONTH; 8650 8651 return age; 8652 }; 8653 const getLunarAgePercent = (date = new Date()) => { 8654 return normalize((getJulianDate(date) - 2451550.1) / LUNAR_MONTH); 8655 }; 8656 const normalize = (value) => { 8657 value = value - Math.floor(value); 8658 if (value < 0) value = value + 1; 8659 return value; 8660 }; 8661 const getLunarPhase = (date = new Date()) => { 8662 const age = getLunarAge(date); 8663 if (age < 1.84566) { 8664 return "New"; 8665 } else if (age < 5.53699) { 8666 moonImgDesktop = 8667 "/themes/custom/tupperlake/i/MoonPhases/Desktop/MoonPhase_2.png"; 8668 moonImgMobile = 8669 "/themes/custom/tupperlake/i/MoonPhases/Mobile/Mobile-MoonPhase_2.png"; 8670 return "Waxing Crescent"; 8671 } else if (age < 9.22831) { 8672 moonImgDesktop = 8673 "/themes/custom/tupperlake/i/MoonPhases/Desktop/MoonPhase_3.png"; 8674 moonImgMobile = 8675 "/themes/custom/tupperlake/i/MoonPhases/Mobile/Mobile-MoonPhase_3.png"; 8676 return "First Quarter"; 8677 } else if (age < 12.91963) { 8678 moonImgDesktop = 8679 "/themes/custom/tupperlake/i/MoonPhases/Desktop/MoonPhase_4.png"; 8680 moonImgMobile = 8681 "/themes/custom/tupperlake/i/MoonPhases/Mobile/Mobile-MoonPhase_4.png"; 8682 return "Waxing Gibbous"; 8683 } else if (age < 16.61096) { 8684 moonImgDesktop = 8685 "/themes/custom/tupperlake/i/MoonPhases/Desktop/MoonPhase_5.png"; 8686 moonImgMobile = 8687 "/themes/custom/tupperlake/i/MoonPhases/Mobile/Mobile-MoonPhase_5.png"; 8688 return "Full"; 8689 } else if (age < 20.30228) { 8690 moonImgDesktop = 8691 "/themes/custom/tupperlake/i/MoonPhases/Desktop/MoonPhase_6.png"; 8692 moonImgMobile = 8693 "/themes/custom/tupperlake/i/MoonPhases/Mobile/Mobile-MoonPhase_6.png"; 8694 return "Waning Gibbous"; 8695 } else if (age < 23.99361) { 8696 moonImgDesktop = 8697 "/themes/custom/tupperlake/i/MoonPhases/Desktop/MoonPhase_7.png"; 8698 moonImgMobile = 8699 "/themes/custom/tupperlake/i/MoonPhases/Mobile/Mobile-MoonPhase_7.png"; 8700 return "Last Quarter"; 8701 } else if (age < 27.68493) { 8702 mmoonImgDesktop = 8703 "/themes/custom/tupperlake/i/MoonPhases/Desktop/MoonPhase_8.png"; 8704 moonImgMobile = 8705 "/themes/custom/tupperlake/i/MoonPhases/Mobile/Mobile-MoonPhase_8.png"; 8706 return "Waning Crescent"; 8707 } 8708 return "New"; 8709 }; 8710 8711 const date = new Date(); 8712 // date.setDate(date.getDate()); 8713 $("#block-phasesofthemoon p.phase").text(getLunarPhase(date)); 8714 8715 $("#block-phasesofthemoon img.desktop").attr("src", moonImgDesktop); 8716 $("#block-phasesofthemoon img.mobile").attr("src", moonImgMobile); 8717 } 8718}); 8719; 8720// dynamically registered click event callback functions 8721// inspired by dynamic switch statements: https://stackoverflow.com/questions/35769144/dynamically-adding-cases-to-a-switch 8722// implemented differently due to target matching 8723//var input_callbacks = {}; 8724let click_callbacks = {}, 8725 submit_callbacks = {}, 8726 input_callbacks = {}; 8727 8728function add_click_callback( selector, fn ) { 8729 click_callbacks[ selector ] = click_callbacks[ selector ] || []; 8730 click_callbacks[ selector ].push( fn ); 8731} 8732 8733function remove_click_callback( selector ) { 8734 delete click_callbacks[ selector ]; 8735} 8736 8737function add_submit_callback( selector, fn ) { 8738 submit_callbacks[ selector ] = submit_callbacks[ selector ] || []; 8739 submit_callbacks[ selector ].push( fn ); 8740} 8741 8742function remove_submit_callback( selector ) { 8743 delete submit_callbacks[ selector ]; 8744} 8745 8746function add_input_callback( selector, fn ) { 8747 input_callbacks[ selector ] = input_callbacks[ selector ] || []; 8748 input_callbacks[ selector ].push( fn ); 8749} 8750 8751function remove_input_callback( selector ) { 8752 delete input_callbacks[ selector ]; 8753} 8754 8755roostDocReady( () => { 8756 8757 //https://gomakethings.com/why-event-delegation-is-a-better-way-to-listen-for-events-in-vanilla-js/ 8758 document.addEventListener( 'click', function ( e ) { 8759 if ( e.button === 0 ) { 8760 //console.log( e ); 8761 // allow for dynamic registration of callbacks 8762 // register a selector and callback function with add_click_callback( selector, fn ) 8763 // the click event is available in the arguments array 8764 for ( const [ selector, fns ] of Object.entries( click_callbacks ) ) { 8765 if ( e.target.matches( selector ) ) { 8766 fns.forEach( ( fn ) => { 8767 fn( e ); 8768 } ); 8769 } 8770 } 8771 } 8772 }, false ); 8773 8774 document.addEventListener( 'input', function ( e ) { 8775 //console.log( e ); 8776 for ( const [ selector, fns ] of Object.entries( input_callbacks ) ) { 8777 if ( e.target.matches( selector ) ) { 8778 e.preventDefault(); 8779 fns.forEach( ( fn ) => { 8780 fn( e ); 8781 } ); 8782 } 8783 } 8784 } ); 8785 8786 document.addEventListener( 'submit', function ( e ) { 8787 //console.log( e ); 8788 for ( const [ selector, fns ] of Object.entries( submit_callbacks ) ) { 8789 if ( e.target.matches( selector ) ) { 8790 e.preventDefault(); 8791 fns.forEach( ( fn ) => { 8792 fn( e ); 8793 } ); 8794 } 8795 } 8796 } ); 8797 8798 document.addEventListener( 'keydown', function( e ) { 8799 if ( e.key == 'Escape' ) { 8800 document.querySelectorAll( '.close-on-esc' ).forEach( function( element ) { 8801 if ( typeof( element.roostCloseOnEsc ) != 'undefined' && typeof( element[ element.roostCloseOnEsc ] ) != 'undefined' && typeof( element[ element.roostCloseOnEsc ].close ) == 'function' ) { 8802 element[ element.roostCloseOnEsc ].close(); 8803 } 8804 else { 8805 element.remove(); 8806 } 8807 } ); 8808 return; 8809 } 8810 }); 8811} );; 8812(function ($, Drupal) {
8813 let initialised = false; 8814 function init(context, settings) { 8815 let do_page_fs_block = 8816 null ?? document.querySelector("#block-activity-grid-recreation"); 8817 let do_page_fs = 8818 null ?? document.querySelector("#block-activity-grid-recreation"); 8819 8820 function toggleActivityBlockTab(season) { 8821 let dpa = document.querySelector("#do-page-grid-container") 8822 ? document.querySelector("#do-page-grid-container") 8823 : null; 8824 if (dpa) { 8825 //console.log("HIT me baby 1 more time"); 8826 let dpa_summer_blocks = document.querySelectorAll( 8827 ".grid-container-grid-element.summer-grid-element" 8828 ); 8829 let dpa_winter_blocks = document.querySelectorAll( 8830 ".grid-container-grid-element.winter-grid-element" 8831 ); 8832 //console.log(dpa_summer_blocks); 8833 //console.log(dpa_winter_blocks); 8834 let dpa_winter_btn = 8835 document.querySelector("div#grid-container-header-winter-btn") || 8836 null; 8837 let dpa_summer_btn = 8838 document.querySelector("div#grid-container-header-summer-btn") || 8839 null; 8840 if (season == "summer") { 8841 document.querySelector(".grid-container-grid-container").classList.add("summer-bash"); 8842 dpa_winter_btn.classList.add("selected"), 8843 dpa_summer_btn.classList.remove("selected"); 8844 dpa_summer_blocks.forEach((el) => { 8845 el.classList.add("hide"); 8846 }); 8847 dpa_winter_blocks.forEach((el) => { 8848 el.classList.remove("hide"); 8849 }); 8850 } 8851 if (season == "winter") { 8852 document.querySelector(".grid-container-grid-container").classList.remove("summer-bash"); 8853 dpa_winter_btn.classList.remove("selected"), 8854 dpa_summer_btn.classList.add("selected"); 8855 dpa_winter_blocks.forEach((el) => { 8856 el.classList.add("hide"); 8857 }); 8858 dpa_summer_blocks.forEach((el) => { 8859 el.classList.remove("hide"); 8860 }); 8861 } 8862 } 8863 } 8864 var currentDate = new Date();
8865 month = currentDate.getMonth(); 8866 if (month <= 9 || month >= 3) { 8867 season = "winter"; 8868 } else { 8869 season = "summer"; 8870 } 8871 toggleActivityBlockTab(season); 8872 8873 add_click_callback("#grid-container-header-winter-btn", (e) => { 8874 toggleActivityBlockTab("summer"); 8875 }); 8876 8877 add_click_callback("#grid-container-header-summer-btn", (e) => { 8878 toggleActivityBlockTab("winter"); 8879 }); 8880 8881 //OR IF #Content and last 8882 let content = null ?? document.querySelector("#content"); 8883 if ( 8884 content && 8885 content.lastElementChild.id === "block-activity-grid-recreation" 8886 ) { 8887 document 8888 .querySelector("#block-activity-grid-recreation") 8889 .classList.add("lc-mb-60"); 8890 } 8891 } 8892 Drupal.behaviors.activity_grid = { 8893 attach(context, settings) { 8894 window.addEventListener("load", function () { 8895 if (!initialised) { 8896 initialised = true; 8897 init(context, settings); 8898 } 8899 }); 8900 }, 8901 }; 8902})(jQuery, Drupal); 8903; 8904jQuery(document).ready(function ($) { 8905 if ( 8906 $("#block-views-block-page-block-12").length || 8907 $("#block-views-block-page-block-10").length || 8908 $("#block-views-block-page-block-11").length 8909 ) { 8910 $(".image-and-video").append( 8911 $("#block-views-block-page-block-12 .views-field-field-youtube-video") 8912 ); 8913 8914 $(".image-and-video img") 8915 .not(".scrim") 8916 .click(function () { 8917 $("#block-views-block-page-block-12 lite-youtube").show(); 8918 $("#block-views-block-page-block-12 lite-youtube").click(); 8919 }); 8920 8921 function runItUp(parent) { 8922 let arrayOfVideos = []; 8923 $(`${parent} .view-content.row`) 8924 .children() 8925 .each(function () { 8926 arrayOfVideos.push($(this)); 8927 }); 8928 8929 if ($(window).width() < 768) { 8930 $(`${parent}`).removeClass("desktop"); 8931 $(`${parent}`).addClass("mobile"); 8932 } else { 8933 $(`${parent}`).addClass("desktop"); 8934 $(`${parent}`).removeClass("mobile"); 8935 } 8936 8937 for (let temp = 0; temp < 4; temp++) { 8938 if (arrayOfVideos[temp] == undefined) { 8939 break; 8940 } 8941 arrayOfVideos[temp].show(); 8942 8943 currentIndex = temp; 8944 } 8945 8946 $(window).resize(function () { 8947 if ($(window).width() < 768) { 8948 $(`${parent}`).removeClass("desktop"); 8949 $(`${parent}`).addClass("mobile"); 8950 } else { 8951 $(`${parent}`).addClass("desktop"); 8952 $(`${parent}`).removeClass("mobile"); 8953 } 8954 }); 8955 8956 let mobileLoadMore = $( 8957 '<div class="load-more-ctn"><div class="loader"><div>Load More</div><img src="/themes/custom/tupperlake/i/pages/scroll-down.svg"/></div></div>' 8958 ); 8959 8960 currentIndex = 4; 8961 8962 mobileLoadMore.click(function () { 8963 // console.log(currentIndex); 8964 // console.log(arrayOfVideos.length); 8965 if (!(currentIndex >= arrayOfVideos.length)) { 8966 try { 8967 arrayOfVideos[currentIndex].show(); 8968 currentIndex++; 8969 arrayOfVideos[currentIndex].show(); 8970 currentIndex++; 8971 arrayOfVideos[currentIndex].show(); 8972 currentIndex++; 8973 arrayOfVideos[currentIndex].show(); 8974 currentIndex++; 8975 } catch (TypeError) { 8976 $(this).hide(); 8977 } 8978 } 8979 8980 //console.log(arrayOfVideos[currentIndex]); 8981 if (arrayOfVideos[currentIndex] == undefined) { 8982 $(this).hide(); 8983 } 8984 }); 8985 8986 $(`${parent} .view-content.row`).after(mobileLoadMore); 8987 8988 $(""); 8989 8990 //console.log(arrayOfVideos); 8991 $(`${parent} .view-content.row`).prepend($(`${parent} h2`)); 8992 8993 let playlistScroll = $( 8994 `<div class="scroll-down-ctn"><div class="scrollerscroll"><div>Scroll On</div><img src="/themes/custom/tupperlake/i/pages/scroll-down.svg"/></div></div>` 8995 ); 8996 8997 $(`${parent} .view-content.row`).before($(`${parent} h2`)); 8998 8999 $(`${parent} .view-content.row`).append( 9000 $('<div class="white-scrim"></div>') 9001 ); 9002 9003 $(`${parent} .view-content.row`).after(playlistScroll); 9004 9005 //console.log(document.querySelector(`${parent} .view-content`)); 9006 9007 $(`${parent} .scrollerscroll`).click(function () { 9008 let maxScroll = document.querySelector( 9009 `${parent} .view-content` 9010 ).scrollHeight; 9011 let currentPos = document.querySelector( 9012 `${parent} .view-content` 9013 ).scrollTop; 9014 9015 currentPos = currentPos + 489; 9016 // console.log(currentPos); 9017 // console.log(maxScroll); 9018 9019 if (currentPos + 978 > maxScroll) { 9020 $(".white-scrim").fadeTo("fast", 0); 9021 } 9022 9023 if (currentPos + 489 > maxScroll) { 9024 document.querySelector(`${parent} .view-content`).scroll({ 9025 top: 0, 9026 behavior: "smooth", 9027 }); 9028 $(".white-scrim").fadeTo("fast", 1); 9029 } else { 9030 document.querySelector(`${parent} .view-content`).scroll({ 9031 top: currentPos, 9032 behavior: "smooth", 9033 }); 9034 } 9035 }); 9036 9037 let divider = $(`<div class="divider"> 9038 <div class="top-line"></div> 9039 <img src="/themes/custom/tupperlake/i/events/pinecone.svg"> 9040 <div class="bottom-line"></div> 9041 </div>`); 9042 9043 $(`${parent} .view-content.row`).after(divider); 9044 } 9045 9046 if (window.location.pathname == "/discover-my-tupper-lake") { 9047 runItUp("#block-views-block-page-block-10"); 9048 } else { 9049 runItUp("#block-views-block-page-block-11"); 9050 } 9051 } 9052}); 9053; 9054jQuery(document).ready(function ($) { 9055 // if javascript is disabled, the website will be blank, this will revert that
9056 // check if javscript is enabled so we can use check for cookie consent 9057 9058 const cookieConsentValue = document.cookie 9059 .split("; ") 9060 .find((row) => row.startsWith("cookieconsent=")) 9061 ?.split("=")[1]; 9062 9063 if (!cookieConsentValue) { 9064 $("#block-cookiesconsent").show(); 9065 } 9066 var style = $( 9067 "<style>.mm-page.mm-slideout {display: block;} #off-canvas { display: block;}</style>" 9068 ); 9069 $("html > head").append(style); 9070 9071 $("#block-cookiesconsent #cookie-buttons a").click(function () { 9072 document.cookie = 9073 "cookieconsent=true;max-age=2628000;path=/;domain=.tupperlake.com"; 9074 $("#block-cookiesconsent").remove(); 9075 }); 9076}); 9077; 9078jQuery(document).ready(function ($) { 9079 // console.log( 9080 // $("#block-views-block-featured-content-fc-block .views-row").length 9081 // ); 9082 9083 if ( 9084 $("#block-views-block-featured-content-fc-block .views-row").length == 1 9085 ) { 9086 $("#block-views-block-featured-content-fc-block").addClass("onesie"); 9087 } 9088 9089 if ( 9090 $("#block-views-block-featured-content-fc-block .views-row").length == 6 9091 ) { 9092 $("#block-views-block-featured-content-fc-block").addClass("pushin-p"); 9093 } 9094}); 9095; 9096jQuery(document).ready(function ($) { 9097 document.querySelectorAll("#page-wrapper a").forEach(function (ele) { 9098 // console.log(ele.hostname); 9099 // console.log(ele.hostname.includes("www.tupperlake.com")); 9100 if (!ele.hostname.includes("www.tupperlake.com")) { 9101 ele.setAttribute("target", "_blank"); 9102 } 9103 }); 9104}); 9105; 9106document.addEventListener("DOMContentLoaded", () => { 9107 let pushinP = document.querySelectorAll(".content p, #content p"); 9108 9109 let theSpot; 9110 9111 for (const p of pushinP) { 9112 if (p.innerText == "[insert contact button here]") { 9113 console.log(p); 9114 theSpot = p; 9115 } 9116 } 9117 9118 let btn = document.createElement("button"); 9119 btn.setAttribute("type", "button"); 9120 btn.textContent = "Contact Us"; 9121 btn.classList.add("all-are-welcome"); 9122 btn.onclick = function (event) { 9123 window.location.href = "mailto:[email protected]"; 9124 }; 9125 if (theSpot) { 9126 let theSpotParent = theSpot.parentElement; 9127 theSpotParent.replaceChild(btn, theSpot); 9128 } 9129}); 9130; 9131 9132(function ($, Drupal) { 9133 "use strict"; 9134 9135 let targets = { 9136 leave_no_trace_ready: false, 9137 fcs: false, 9138 } 9139 9140 Drupal.behaviors.lnt = { 9141 attach: function (context, settings) { 9142 let body = q('body'); 9143 let mappings = { 9144 } 9145 9146 /* 9147 Leave No Trace 9148 */ 9149 let lnt = q('#leave-no-trace-block,#eclipse-lnt-block'); 9150 if(lnt && !targets.leave_no_trace_ready) { 9151 targets.leave_no_trace_ready = true; 9152 9153 let items = oqa(lnt, '.lnt-rl-item-wrapper'); 9154 9155 for(let i = 0; i < items.length; i++) { 9156 items[i].onclick = (e) => { 9157 for(let j = 0; j < items.length; j++) { 9158 (i === j && !(items[j].classList.contains("active"))) ? items[j].classList.add('active') : items[j].classList.remove('active'); 9159 } 9160 } 9161 } 9162 } 9163 } 9164 } 9165})(jQuery, Drupal); 9166 9167jQuery(document).ready(function ($) { 9168 amountOfSlides = $( 9169 "#block-views-block-featured-content-block-1 .slides", 9170 ).children().length; 9171 let ofcs_counter = 1; 9172 9173 let $prev = $( 9174 "#block-views-block-featured-content-block-1 .flex-prev", 9175 ) 9176 .clone(true) 9177 .removeClass("flex-disabled"); 9178 9179 let $next = $( 9180 "#block-views-block-featured-content-block-1 .flex-next", 9181 ).clone(true); 9182 9183 $("#block-views-block-featured-content-block-1 .slides li") 9184 .find("#hmfeb-fc-right") 9185 .append($prev); 9186 $("#block-views-block-featured-content-block-1 .slides li") 9187 .find("#hmfeb-fc-right") 9188 .append($next); 9189 9190 $("#block-views-block-featured-content-block-1 .slides") 9191 .children() 9192 .each(function () { 9193 let $ofcs_counter = $( 9194 '<div id="ofcs-counter"><span class="ofcs-start">' + 9195 ofcs_counter + 9196 '</span><span class="ofcs-rest"> of ' + 9197 amountOfSlides + 9198 "</span></div>", 9199 ); 9200 9201 $(this).find(".flex-prev").after($ofcs_counter); 9202 ofcs_counter++; 9203 }); 9204 9205 $( 9206 "#block-views-block-featured-content-block-1 .slides li:first-child", 9207 ) 9208 .find(".flex-prev") 9209 .addClass("bingbong"); 9210 $( 9211 "#block-views-block-featured-content-block-1 .slides li:last-child", 9212 ) 9213 .find(".flex-next") 9214 .addClass("bingbong"); 9215}); 9216; 9217/*! For license information please see tupperlake.js.LICENSE.txt */ 9218(()=>{var e={4444(e,t,n){var i,a;"undefined"!=typeof window&&window,i=[n(5093),n(4692)],void 0===(a=function(e,t){return t.fn||(t.fn={}),"function"!=typeof e&&e.hasOwnProperty("default")&&(e=e.default),function(e,t){var n=function(n,i,a){if(this.parentEl="body",this.element=t(n),this.startDate=e().startOf("day"),this.endDate=e().endOf("day"),this.minDate=!1,this.maxDate=!1,this.maxSpan=!1,this.autoApply=!1,this.singleDatePicker=!1,this.showDropdowns=!1,this.minYear=e().subtract(100,"year").format("YYYY"),this.maxYear=e().add(100,"year").format("YYYY"),this.showWeekNumbers=!1,this.showISOWeekNumbers=!1,this.showCustomRangeLabel=!0,this.timePicker=!1,this.timePicker24Hour=!1,this.timePickerIncrement=1,this.timePickerSeconds=!1,this.linkedCalendars=!0,this.autoUpdateInput=!0,this.alwaysShowCalendars=!1,this.ranges={},this.opens="right",this.element.hasClass("pull-right")&&(this.opens="left"),this.drops="down",this.element.hasClass("dropup")&&(this.drops="up"),this.buttonClasse
9218s="btn btn-sm",this.applyButtonClasses="btn-primary",this.cancelButtonClasses="btn-default",this.locale={direction:"ltr",format:e.localeData().longDateFormat("L"),separator:" - ",applyLabel:"Apply",cancelLabel:"Cancel",weekLabel:"W",customRangeLabel:"Custom Range",daysOfWeek:e.weekdaysMin(),monthNames:e.monthsShort(),firstDay:e.localeData().firstDayOfWeek()},this.callback=function(){},this.isShowing=!1,this.leftCalendar={},this.rightCalendar={},"object"==typeof i&&null!==i||(i={}),"string"==typeof(i=t.extend(this.element.data(),i)).template||i.template instanceof t||(i.template='<div class="daterangepicker"><div class="ranges"></div><div class="drp-calendar left"><div class="calendar-table"></div><div class="calendar-time"></div></div><div class="drp-calendar right"><div class="calendar-table"></div><div class="calendar-time"></div></div><div class="drp-buttons"><span class="drp-selected"></span><button class="cancelBtn" type="button"></button><button class="applyBtn" disabled="disabled" type="button"></button> </div></div>'),this.parentEl=i.parentEl&&t(i.parentEl).length?t(i.parentEl):t(this.parentEl),this.container=t(i.template).appendTo(this.parentEl),"object"==typeof i.locale&&("string"==typeof i.locale.direction&&(this.locale.direction=i.locale.direction),"string"==typeof i.locale.format&&(this.locale.format=i.locale.format),"string"==typeof i.locale.separator&&(this.locale.separator=i.locale.separator),"object"==typeof i.locale.daysOfWeek&&(this.locale.daysOfWeek=i.locale.daysOfWeek.slice()),"object"==typeof i.locale.monthNames&&(this.locale.monthNames=i.locale.monthNames.slice()),"number"==typeof i.locale.firstDay&&(this.locale.firstDay=i.locale.firstDay),"string"==typeof i.locale.applyLabel&&(this.locale.applyLabel=i.locale.applyLabel),"string"==typeof i.locale.cancelLabel&&(this.locale.cancelLabel=i.locale.cancelLabel),"string"==typeof i.locale.weekLabel&&(this.locale.weekLabel=i.locale.weekLabel),"string"==typeof i.locale.customRangeLabel)){(m=document.createElement("textarea")).innerHTML=i.locale.customRangeLabel;var s=m.value;this.locale.customRangeLabel=s}if(this.container.addClass(this.locale.direction),"string"==typeof i.startDate&&(this.startDate=e(i.startDate,this.locale.format)),"string"==typeof i.endDate&&(this.endDate=e(i.endDate,this.locale.format)),"string"==typeof i.minDate&&(this.minDate=e(i.minDate,this.locale.format)),"string"==typeof i.maxDate&&(this.maxDate=e(i.maxDate,this.locale.format)),"object"==typeof i.startDate&&(this.startDate=e(i.startDate)),"object"==typeof i.endDate&&(this.endDate=e(i.endDate)),"object"==typeof i.minDate&&(this.minDate=e(i.minDate)),"object"==typeof i.maxDate&&(this.maxDate=e(i.maxDate)),this.minDate&&this.startDate.isBefore(this.minDate)&&(this.startDate=this.minDate.clone()),this.maxDate&&this.endDate.isAfter(this.maxDate)&&(this.endDate=this.maxDate.clone()),"string"==typeof i.applyButtonClasses&&(this.applyButtonClasses=i.applyButtonClasses),"string"==typeof i.applyClass&&(this.applyButtonClasses=i.applyClass),"string"==typeof i.cancelButtonClasses&&(this.cancelButtonClasses=i.cancelButtonClasses),"string"==typeof i.cancelClass&&(this.cancelButtonClasses=i.cancelClass),"object"==typeof i.maxSpan&&(this.maxSpan=i.maxSpan),"object"==typeof i.dateLimit&&(this.maxSpan=i.dateLimit),"string"==typeof i.opens&&(this.opens=i.opens),"string"==typeof i.drops&&(this.drops=i.drops),"boolean"==typeof i.showWeekNumbers&&(this.showWeekNumbers=i.showWeekNumbers),"boolean"==typeof i.showISOWeekNumbers&&(this.showISOWeekNumbers=i.showISOWeekNumbers),"string"==typeof i.buttonClasses&&(this.buttonClasses=i.buttonClasses),"object"==typeof i.buttonClasses&&(this.buttonClasses=i.buttonClasses.join(" ")),"boolean"==typeof i.showDropdowns&&(this.showDropdowns=i.showDropdowns),"number"==typeof i.minYear&&(this.minYear=i.minYear),"number"==typeof i.maxYear&&(this.maxYear=i.maxYear),"boolean"==typeof i.showCustomRangeLabel&&(this.showCustomRangeLabel=i.showCustomRangeLabel),"boolean"==typeof i.singleDatePicker&&(this.singleDatePicker=i.singleDatePicker,this.singleDatePicker&&(this.endDate=this.startDate.clone())),"boolean"==typeof i.timePicker&&(this.timePicker=i.timePicker),"boolean"==typeof i.timePickerSeconds&&(this.timePickerSeconds=i.timePickerSeconds),"number"==typeof i.timePickerIncrement&&(this.timePickerIncrement=i.timePickerIncrement),"boolean"==typeof i.timePicker24Hour&&(this.timePicker24Hour=i.timePicker24Hour),"boolean"==typeof i.autoApply&&(this.autoApply=i.autoApply),"boolean"==typeof i.autoUpdateInput&&(this.autoUpdateInput=i.autoUpdateInput),"boolean"==typeof i.linkedCalendars&&(this.linkedCalendars=i.linkedCalendars),"function"==typeof i.isInvalidDate&&(this.isInvalidDate=i.isInvalidDate),"function"==typeof i.isCustomDate&&(this.isCu
9218stomDate=i.isCustomDate),"boolean"==typeof i.alwaysShowCalendars&&(this.alwaysShowCalendars=i.alwaysShowCalendars),0!=this.locale.firstDay)for(var r=this.locale.firstDay;r>0;)this.locale.daysOfWeek.push(this.locale.daysOfWeek.shift()),r--;var o,l,d;if(void 0===i.startDate&&void 0===i.endDate&&t(this.element).is(":text")){var u=t(this.element).val(),c=u.split(this.locale.separator);o=l=null,2==c.length?(o=e(c[0],this.locale.format),l=e(c[1],this.locale.format)):this.singleDatePicker&&""!==u&&(o=e(u,this.locale.format),l=e(u,this.locale.format)),null!==o&&null!==l&&(this.setStartDate(o),this.setEndDate(l))}if("object"==typeof i.ranges){for(d in i.ranges){o="string"==typeof i.ranges[d][0]?e(i.ranges[d][0],this.locale.format):e(i.ranges[d][0]),l="string"==typeof i.ranges[d][1]?e(i.ranges[d][1],this.locale.format):e(i.ranges[d][1]),this.minDate&&o.isBefore(this.minDate)&&(o=this.minDate.clone());var m,h=this.maxDate;this.maxSpan&&h&&o.clone().add(this.maxSpan).isAfter(h)&&(h=o.clone().add(this.maxSpan)),h&&l.isAfter(h)&&(l=h.clone()),this.minDate&&l.isBefore(this.minDate,this.timepicker?"minute":"day")||h&&o.isAfter(h,this.timepicker?"minute":"day")||((m=document.createElement("textarea")).innerHTML=d,s=m.value,this.ranges[s]=[o,l])}var p="<ul>";for(d in this.ranges)p+='<li data-range-key="'+d+'">'+d+"</li>";this.showCustomRangeLabel&&(p+='<li data-range-key="'+this.locale.customRangeLabel+'">'+this.locale.customRangeLabel+"</li>"),p+="</ul>",this.container.find(".ranges").prepend(p)}"function"==typeof a&&(this.callback=a),this.timePicker||(this.startDate=this.startDate.startOf("day"),this.endDate=this.endDate.endOf("day"),this.container.find(".calendar-time").hide()),this.timePicker&&this.autoApply&&(this.autoApply=!1),this.autoApply&&this.container.addClass("auto-apply"),"object"==typeof i.ranges&&this.container.addClass("show-ranges"),this.singleDatePicker&&(this.container.addClass("single"),this.container.find(".drp-calendar.left").addClass("single"),this.container.find(".drp-calendar.left").show(),this.container.find(".drp-calendar.right").hide(),!this.timePicker&&this.autoApply&&this.container.addClass("auto-apply")),(void 0===i.ranges&&!this.singleDatePicker||this.alwaysShowCalendars)&&this.container.addClass("show-calendar"),this.container.addClass("opens"+this.opens),this.container.find(".applyBtn, .cancelBtn").addClass(this.buttonClasses),this.applyButtonClasses.length&&this.container.find(".applyBtn").addClass(this.applyButtonClasses),this.cancelButtonClasses.length&&this.container.find(".cancelBtn").addClass(this.cancelButtonClasses),this.container.find(".applyBtn").html(this.locale.applyLabel),this.container.find(".cancelBtn").html(this.locale.cancelLabel),this.container.find(".drp-calendar").on("click.daterangepicker",".prev",t.proxy(this.clickPrev,this)).on("click.daterangepicker",".next",t.proxy(this.clickNext,this)).on("mousedown.daterangepicker","td.available",t.proxy(this.clickDate,this)).on("mouseenter.daterangepicker","td.available",t.proxy(this.hoverDate,this)).on("change.daterangepicker","select.yearselect",t.proxy(this.monthOrYearChanged,this)).on("change.daterangepicker","select.monthselect",t.proxy(this.monthOrYearChanged,this)).on("change.daterangepicker","select.hourselect,select.minuteselect,select.secondselect,select.ampmselect",t.proxy(this.timeChanged,this)),this.container.find(".ranges").on("click.daterangepicker","li",t.proxy(this.clickRange,this)),this.container.find(".drp-buttons").on("click.daterangepicker","button.applyBtn",t.proxy(this.clickApply,this)).on("click.daterangepicker","button.cancelBtn",t.proxy(this.clickCancel,this)),this.element.is("input")||this.element.is("button")?this.element.on({"click.daterangepicker":t.proxy(this.show,this),"focus.daterangepicker":t.proxy(this.show,this),"keyup.daterangepicker":t.proxy(this.elementChanged,this),"keydown.daterangepicker":t.proxy(this.keydown,this)}):(this.element.on("click.daterangepicker",t.proxy(this.toggle,this)),this.element.on("keydown.daterangepicker",t.proxy(this.toggle,this))),this.updateElement()};return n.prototype={constructor:n,setStartDate:function(t){"string"==typeof t&&(this.startDate=e(t,this.locale.format)),"object"==typeof t&&(this.startDate=e(t)),this.timePicker||(this.startDate=this.startDate.startOf("day")),this.timePicker&&this.timePickerIncrement&&this.startDate.minute(Math.round(this.startDate.minute()/this.timePickerIncrement)*this.timePickerIncrement),this.minDate&&this.startDate.isBefore(this.minDate)&&(this.startDate=this.minDate.clone(),this.timePicker&&this.timePickerIncrement&&this.startDate.minute(Math.round(this.startDate.minute()/this.timePickerIncrement)*this.timePickerIncrement)),this.maxDate&&this.startDate.isAfter(this.maxDate)&&(this.startDate=this.maxDate.clone(),this.timePicker&&this.timePickerIncrement&&this.startDate.minute(Math.floor(this.startDate.minute()/this.timePickerIncrement)*this.timePickerIncrement)),this.isShowing||this.updateElement(),this.updateMonthsInView()},setEndDate:function(t){"string"==typeof t&&(this.endDate=e(t,this.locale.format)),"object"==typeof t&&(this.endDate=e(t)),this.timePicker||(this.endDate=this.endDate.endOf("day")),this.timePicker&&this.timePickerIncrement&&this.endDate.minute(Math.round(this.endDate.minute()/this.timePickerIncrement)*this.timePickerIncrement),this.endDate.isBefore(this.startDate)&&(this.endDate=this.startDate.clone()),this.maxDate&&this.endDate.isAfter(this.maxDate)&&(this.endDate=this.maxDate.clone()),this.maxSpan&&this.startDate.clone().add(this.maxSpan).isBefore(this.endDate)&&(this.endDate=this.startDate.clone().add(this.maxSpan)),this.previousRightTime=this.endDate.clone(),this.container.find(".drp-selected").html(this.startDate.format(this.locale.format)+this.locale.separator+this.endDate.format(this.locale.format)),this.isShowing||this.updateElement(),this.updateMonthsInView()},isInvalidDate:function(){return!1},isCustomDate:function(){return!1},updateView:function(){this.timePicker&&(this.renderTimePicker("left"),this.renderTimePicker("right"),this.endDate?this.container.find(".right .calendar-time select").prop("disabled",!1).removeClass("disabled"):this.container.find(".right .calendar-time select").prop("disabled",!0).addClass("disabled")),this.endDate&&this.container.find(".drp-selected").html(this.startDate.format(this.locale.format)+this.locale.separator+this.endDate.format(this.locale.format)),this.updateMonthsInView(),this.updateCalendars(),this.updateFormInputs()},updateMonthsInView:function(){if(this.endDate){if(!this.singleDatePicker&&this.leftCalendar.month&&this.rightCalendar.month&&(this.startDate.format("YYYY-MM")==this.leftCalendar.month.format("YYYY-MM")||this.startDate.format("YYYY-MM")==this.rightCalendar.month.format("YYYY-MM"))&&(this.endDate.format("YYYY-MM")==this.leftCalendar.month.format("YYYY-MM")||this.endDate.format("YYYY-MM")==this.rightCalendar.month.format("YYYY-MM")))return;this.leftCalendar.month=this.startDate.clone().date(2),this.linkedCalendars||this.endDate.month()==this.startDate.month()&&this.endDate.year()==this.startDate.year()?this.rightCalendar.month=this.startDate.clone().date(2).add(1,"month"):this.rightCalendar.month=this.endDate.clone().date(2)}else this.leftCalendar.month.format("YYYY-MM")!=this.startDate.format("YYYY-MM")&&this.rightCalendar.month.format("YYYY-MM")!=this.startDate.format("YYYY-MM")&&(this.leftCalendar.month=this.startDate.clone().date(2),this.rightCalendar.month=this.startDate.clone().date(2).add(1,"month"));this.maxDate&&this.linkedCalendars&&!this.singleDatePicker&&this.rightCalendar.month>this.maxDate&&(this.rightCalendar.month=this.maxDate.clone().date(2),this.leftCalendar.month=this.maxDate.clone().date(2).subtract(1,"month"))},updateCalendars:function(){var e,t,n,i;this.timePicker&&(this.endDate?(e=parseInt(this.container.find(".left .hourselect").val(),10),t=parseInt(this.container.find(".left .minuteselect").val(),10),isNaN(t)&&(t=parseInt(this.container.find(".left .minuteselect option:last").val(),10)),n=this.timePickerSeconds?parseInt(this.container.find(".left .secondselect").val(),10):0,this.timePicker24Hour||("PM"===(i=this.container.find(".left .ampmselect").val())&&e<12&&(e+=12),"AM"===i&&12===e&&(e=0))):(e=parseInt(this.container.find(".right .hourselect").val(),10),t=parseInt(this.container.find(".right .minuteselect").val(),10),isNaN(t)&&(t=parseInt(this.container.find(".right .minuteselect option:last").val(),10)),n=this.timePickerSeconds?parseInt(this.container.find(".right .secondselect").val(),10):0,this.timePicker24Hour||("PM"===(i=this.container.find(".right .ampmselect").val())&&e<12&&(e+=12),"AM"===i&&12===e&&(e=0))),this.leftCalendar.month.hour(e).minute(t).second(n),this.rightCalendar.month.hour(e).minute(t).second(n)),this.renderCalendar("left"),this.renderCalendar("right"),this.container.find(".ranges li").removeClass("active"),null!=this.endDate&&this.calculateChosenLabel()},renderCalendar:function(n){var i,a=(i="left"==n?this.leftCalendar:this.rightCalendar).month.month(),s=i.month.year(),r=i.month.hour(),o=i.month.minute(),l=i.month.second(),d=e([s,a]).daysInMonth(),u=e([s,a,1]),c=e([s,a,d]),m=e(u).subtract(1,"month").month(),h=e(u).subtract(1,"month").year(),p=e([h,m]).daysInMonth(),f=u.day();(i=[]).firstDay=u,i.lastDay=c;for(var _=0;_<6;_++)i[_]=[];var g=p-f+this.locale.firstDay+1;g>p&&(g-=7),f==this.locale.firstDay&&(g=p-6);for(var y=e([h,m,g,12,o,l]),v=(_=0,0),M=0;_<42;_++,v++,y=e(y).add(24,"hour"))_>0&&v%7==0&&(v=0,M++),i[M][v]=y.clone().hour(r).minute(o).second(l),y.hour(12),this.minDate&&i[M][v].format("YYYY-MM-DD")==this.minDate.format("YYYY-MM-DD")&&i[M][v].isBefore(this.minDate)&&"left"==n&&(i[M][v]=this.minDate.clone()),this.maxDate&&i[M][v].format("YYYY-MM-DD")==this.maxDate.format("YYYY-MM-DD")&&i[M][v].isAfter(this.maxDate)&&"right"==n&&(i[M][v]=this.maxDate.clone());"left"==n?this.leftCalendar.calendar=i:this.rightCalendar.calendar=i;var w="left"==n?this.minDate:this.startDate,L=this.maxDate,b=("left"==n?this.startDate:this.endDate,this.locale.direction,'<table class="table-condensed">');b+="<thead>",b+="<tr>",(this.showWeekNumbers||this.showISOWeekNumbers)&&(b+="<th></th>"),w&&!w.isBefore(i.firstDay)||this.linkedCalendars&&"left"!=n?b+="<th></th>":b+='<th class="prev available"><span></span></th>';var Y=this.locale.monthNames[i[1][1].month()]+i[1][1].format(" YYYY");if(this.showDropdowns){for(var k=i[1][1].month(),D=i[1][1].year(),T=L&&L.year()||this.maxYear,x=w&&w.year()||this.minYear,S=D==x,E=D==T,H='<select class="monthselect">',j=0;j<12;j++)(!S||w&&j>=w.month())&&(!E||L&&j<=L.month())?H+="<option value='"+j+"'"+(j===k?" selected='selected'":"")+">"+this.locale.monthNames[j]+"</option>":H+="<option value='"+j+"'"+(j===k?" selected='selected'":"")+" disabled='disabled'>"+this.locale.monthNames[j]+"</option>";H+="</select>";
9218for(var P='<select class="yearselect">',C=x;C<=T;C++)P+='<option value="'+C+'"'+(C===D?' selected="selected"':"")+">"+C+"</option>";Y=H+(P+="</select>")}if(b+='<th colspan="5" class="month">'+Y+"</th>",L&&!L.isAfter(i.lastDay)||this.linkedCalendars&&"right"!=n&&!this.singleDatePicker?b+="<th></th>":b+='<th class="next available"><span></span></th>',b+="</tr>",b+="<tr>",(this.showWeekNumbers||this.showISOWeekNumbers)&&(b+='<th class="week">'+this.locale.weekLabel+"</th>"),t.each(this.locale.daysOfWeek,function(e,t){b+="<th>"+t+"</th>"}),b+="</tr>",b+="</thead>",b+="<tbody>",null==this.endDate&&this.maxSpan){var O=this.startDate.clone().add(this.maxSpan).endOf("day");L&&!O.isBefore(L)||(L=O)}for(M=0;M<6;M++){for(b+="<tr>",this.showWeekNumbers?b+='<td class="week">'+i[M][0].week()+"</td>":this.showISOWeekNumbers&&(b+='<td class="week">'+i[M][0].isoWeek()+"</td>"),v=0;v<7;v++){var A=[];i[M][v].isSame(new Date,"day")&&A.push("today"),i[M][v].isoWeekday()>5&&A.push("weekend"),i[M][v].month()!=i[1][1].month()&&A.push("off","ends"),this.minDate&&i[M][v].isBefore(this.minDate,"day")&&A.push("off","disabled"),L&&i[M][v].isAfter(L,"day")&&A.push("off","disabled"),this.isInvalidDate(i[M][v])&&A.push("off","disabled"),i[M][v].format("YYYY-MM-DD")==this.startDate.format("YYYY-MM-DD")&&A.push("active","start-date"),null!=this.endDate&&i[M][v].format("YYYY-MM-DD")==this.endDate.format("YYYY-MM-DD")&&A.push("active","end-date"),null!=this.endDate&&i[M][v]>this.startDate&&i[M][v]<this.endDate&&A.push("in-range");var z=this.isCustomDate(i[M][v]);!1!==z&&("string"==typeof z?A.push(z):Array.prototype.push.apply(A,z));var I="",W=!1;for(_=0;_<A.length;_++)I+=A[_]+" ","disabled"==A[_]&&(W=!0);W||(I+="available"),b+='<td class="'+I.replace(/^\s+|\s+$/g,"")+'" data-title="r'+M+"c"+v+'">'+i[M][v].date()+"</td>"}b+="</tr>"}b+="</tbody>",b+="</table>",this.container.find(".drp-calendar."+n+" .calendar-table").html(b)},renderTimePicker:function(e){if("right"!=e||this.endDate){var t,n,i,a=this.maxDate;if(!this.maxSpan||this.maxDate&&!this.startDate.clone().add(this.maxSpan).isBefore(this.maxDate)||(a=this.startDate.clone().add(this.maxSpan)),"left"==e)n=this.startDate.clone(),i=this.minDate;else if("right"==e){n=this.endDate.clone(),i=this.startDate;var s=this.container.find(".drp-calendar.right .calendar-time");if(""!=s.html()&&(n.hour(isNaN(n.hour())?s.find(".hourselect option:selected").val():n.hour()),n.minute(isNaN(n.minute())?s.find(".minuteselect option:selected").val():n.minute()),n.second(isNaN(n.second())?s.find(".secondselect option:selected").val():n.second()),!this.timePicker24Hour)){var r=s.find(".ampmselect option:selected").val();"PM"===r&&n.hour()<12&&n.hour(n.hour()+12),"AM"===r&&12===n.hour()&&n.hour(0)}n.isBefore(this.startDate)&&(n=this.startDate.clone()),a&&n.isAfter(a)&&(n=a.clone())}t='<select class="hourselect">';for(var o=this.timePicker24Hour?0:1,l=this.timePicker24Hour?23:12,d=o;d<=l;d++){var u=d;this.timePicker24Hour||(u=n.hour()>=12?12==d?12:d+12:12==d?0:d);var c=n.clone().hour(u),m=!1;i&&c.minute(59).isBefore(i)&&(m=!0),a&&c.minute(0).isAfter(a)&&(m=!0),u!=n.hour()||m?t+=m?'<option value="'+d+'" disabled="disabled" class="disabled">'+d+"</option>":'<option value="'+d+'">'+d+"</option>":t+='<option value="'+d+'" selected="selected">'+d+"</option>"}for(t+="</select> ",t+=': <select class="minuteselect">',d=0;d<60;d+=this.timePickerIncrement){var h=d<10?"0"+d:d;c=n.clone().minute(d),m=!1,i&&c.second(59).isBefore(i)&&(m=!0),a&&c.second(0).isAfter(a)&&(m=!0),n.minute()!=d||m?t+=m?'<option value="'+d+'" disabled="disabled" class="disabled">'+h+"</option>":'<option value="'+d+'">'+h+"</option>":t+='<option value="'+d+'" selected="selected">'+h+"</option>"}if(t+="</select> ",this.timePickerSeconds){for(t+=': <select class="secondselect">',d=0;d<60;d++)h=d<10?"0"+d:d,c=n.clone().second(d),m=!1,i&&c.isBefore(i)&&(m=!0),a&&c.isAfter(a)&&(m=!0),n.second()!=d||m?t+=m?'<option value="'+d+'" disabled="disabled" class="disabled">'+h+"</option>":'<option value="'+d+'">'+h+"</option>":t+='<option value="'+d+'" selected="selected">'+h+"</option>";t+="</select> "}if(!this.timePicker24Hour){t+='<select class="ampmselect">';var p="",f="";i&&n.clone().hour(12).minute(0).second(0).isBefore(i)&&(p=' disabled="disabled" class="disabled"'),a&&n.clone().hour(0).minute(0).second(0).isAfter(a)&&(f=' disabled="disabled" class="disabled"'),n.hour()>=12?t+='<option value="AM"'+p+'>AM</option><option value="PM" selected="selected"'+f+">PM</option>":t+='<option value="AM" selected="selected"'+p+'>AM</option><option value="PM"'+f+">PM</option>",t+="</select>"}this.container.find(".drp-calendar."+e+" .calendar-time").html(t)}},updateFormInputs:function(){this.singleDatePicker||this.endDate&&(this.startDate.isBefore(this.endDate)||this.startDate.isSame(this.endDate))?this.container.find("button.applyBtn").prop("disabled",!1):this.container.find("button.applyBtn").prop("disabled",!0)},move:function(){var e,n={top:0,left:0},i=this.drops,a=t(window).width();switch(this.parentEl.is("body")||(n={top:this.parentEl.offset().top-this.parentEl.scrollTop(),left:this.parentEl.offset().left-this.parentEl.scrollLeft()},a=this.parentEl[0].clientWidth+this.parentEl.offset().left),i){case"auto":(e=this.element.offset().top+this.element.outerHeight()-n.top)+this.container.outerHeight()>=this.parentEl[0].scrollHeight&&(e=this.element.offset().top-this.container.outerHeight()-n.top,i="up");break;case"up":e=this.element.offset().top-this.container.outerHeight()-n.top;break;default:e=this.element.offset().top+this.element.outerHeight()-n.top}this.container.css({top:0,left:0,right:"auto"});var s=this.container.outerWidth();if(this.container.toggleClass("drop-up","up"==i),"left"==this.opens){var r=a-this.element.offset().left-this.element.outerWidth();s+r>t(window).width()?this.container.css({top:e,right:"auto",left:9}):this.container.css({top:e,right:r,left:"auto"})}else if("center"==this.opens)(o=this.element.offset().left-n.left+this.element.outerWidth()/2-s/2)<0?this.container.css({top:e,right:"auto",left:9}):o+s>
9218t(window).width()?this.container.css({top:e,left:"auto",right:0}):this.container.css({top:e,left:o,right:"auto"});else{var o;(o=this.element.offset().left-n.left)+s>t(window).width()?this.container.css({top:e,left:"auto",right:0}):this.container.css({top:e,left:o,right:"auto"})}},show:function(e){this.isShowing||(this._outsideClickProxy=t.proxy(function(e){this.outsideClick(e)},this),t(document).on("mousedown.daterangepicker",this._outsideClickProxy).on("touchend.daterangepicker",this._outsideClickProxy).on("click.daterangepicker","[data-toggle=dropdown]",this._outsideClickProxy).on("focusin.daterangepicker",this._outsideClickProxy),t(window).on("resize.daterangepicker",t.proxy(function(e){this.move(e)},this)),this.oldStartDate=this.startDate.clone(),this.oldEndDate=this.endDate.clone(),this.previousRightTime=this.endDate.clone(),this.updateView(),this.container.show(),this.move(),this.element.trigger("show.daterangepicker",this),this.isShowing=!0)},hide:function(e){this.isShowing&&(this.endDate||(this.startDate=this.oldStartDate.clone(),this.endDate=this.oldEndDate.clone()),this.startDate.isSame(this.oldStartDate)&&this.endDate.isSame(this.oldEndDate)||this.callback(this.startDate.clone(),this.endDate.clone(),this.chosenLabel),this.updateElement(),t(document).off(".daterangepicker"),t(window).off(".daterangepicker"),this.container.hide(),this.element.trigger("hide.daterangepicker",this),this.isShowing=!1)},toggle:function(e){this.isShowing?this.hide():this.show()},outsideClick:function(e){var n=t(e.target);"focusin"==e.type||n.closest(this.element).length||n.closest(this.container).length||n.closest(".calendar-table").length||(this.hide(),this.element.trigger("outsideClick.daterangepicker",this))},showCalendars:function(){this.container.addClass("show-calendar"),this.move(),this.element.trigger("showCalendar.daterangepicker",this)},hideCalendars:function(){this.container.removeClass("show-calendar"),this.element.trigger("hideCalendar.daterangepicker",this)},clickRange:function(e){var t=e.target.getAttribute("data-range-key");if(this.chosenLabel=t,t==this.locale.customRangeLabel)this.showCalendars();else{var n=this.ranges[t];this.startDate=n[0],this.endDate=n[1],this.timePicker||(this.startDate.startOf("day"),this.endDate.endOf("day")),this.alwaysShowCalendars||this.hideCalendars(),this.clickApply()}},clickPrev:function(e){t(e.target).parents(".drp-calendar").hasClass("left")?(this.leftCalendar.month.subtract(1,"month"),this.linkedCalendars&&this.rightCalendar.month.subtract(1,"month")):this.rightCalendar.month.subtract(1,"month"),this.updateCalendars()},clickNext:function(e){t(e.target).parents(".drp-calendar").hasClass("left")?this.leftCalendar.month.add(1,"month"):(this.rightCalendar.month.add(1,"month"),this.linkedCalendars&&this.leftCalendar.month.add(1,"month")),this.updateCalendars()},hoverDate:function(e){if(t(e.target).hasClass("available")){var n=t(e.target).attr("data-title"),i=n.substr(1,1),a=n.substr(3,1),s=t(e.target).parents(".drp-calendar").hasClass("left")?this.leftCalendar.calendar[i][a]:this.rightCalendar.calendar[i][a],r=this.leftCalendar,o=this.rightCalendar,l=this.startDate;this.endDate||this.container.find(".drp-calendar tbody td").each(function(e,n){if(!t(n).hasClass("week")){var i=t(n).attr("data-title"),a=i.substr(1,1),d=i.substr(3,1),u=t(n).parents(".drp-calendar").hasClass("left")?r.calendar[a][d]:o.calendar[a][d];u.isAfter(l)&&u.isBefore(s)||u.isSame(s,"day")?t(n).addClass("in-range"):t(n).removeClass("in-range")}})}},clickDate:function(e){if(t(e.target).hasClass("available")){var n=t(e.target).attr("data-title"),i=n.substr(1,1),a=n.substr(3,1),s=t(e.target).parents(".drp-calendar").hasClass("left")?this.leftCalendar.calendar[i][a]:this.rightCalendar.calendar[i][a];if(this.endDate||s.isBefore(this.startDate,"day")){if(this.timePicker){var r=parseInt(this.container.find(".left .hourselect").val(),10);this.timePicker24Hour||("PM"===(d=this.container.find(".left .ampmselect").val())&&r<12&&(r+=12),"AM"===d&&12===r&&(r=0));var o=parseInt(this.container.find(".left .minuteselect").val(),10);isNaN(o)&&(o=parseInt(this.container.find(".left .minuteselect option:last").val(),10));var l=this.timePickerSeconds?parseInt(this.container.find(".left .secondselect").val(),10):0;s=s.clone().hour(r).minute(o).second(l)}this.endDate=null,this.setStartDate(s.clone())}else if(!this.endDate&&s.isBefore(this.startDate))this.setEndDate(this.startDate.clone());else{var d;this.timePicker&&(r=parseInt(this.container.find(".right .hourselect").val(),10),this.timePicker24Hour||("PM"===(d=this.container.find(".right .ampmselect").val())&&r<12&&(r+=12),"AM"===d&&12===r&&(r=0)),o=parseInt(this.container.find(".right .minuteselect").val(),10),isNaN(o)&&(o=parseInt(this.container.find(".right .minuteselect option:last").val(),10)),l=this.timePickerSeconds?parseInt(this.container.find(".right .secondselect").val(),10):0,s=s.clone().hour(r).minute(o).second(l)),this.setEndDate(s.clone()),this.autoApply&&(this.calculateChosenLabel(),this.clickApply())}this.singleDatePicker&&(this.setEndDate(this.startDate),!this.timePicker&&this.autoApply&&this.clickApply()),this.updateView(),e.stopPropagation()}},calculateChosenLabel:function(){var e=!0,t=0;for(var n in this.ranges){if(this.timePicker){var i=this.timePickerSeconds?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD HH:mm";if(this.startDate.format(i)==this.ranges[n][0].format(i)&&this.endDate.format(i)==this.ranges[n][1].format(i)){e=!1,this.chosenLabel=this.container.find(".ranges li:eq("+t+")").addClass("active").attr("data-range-key");break}}else if(this.startDate.format("YYYY-MM-DD")==this.ranges[n][0].format("YYYY-MM-DD")&&this.endDate.format("YYYY-MM-DD")==this.ranges[n][1].format("YYYY-MM-DD")){e=!1,this.chosenLabel=this.container.find(".ranges li:eq("+t+")").addClass("active").attr("data-range-key");break}t++}e&&(this.showCustomRangeLabel?this.chosenLabel=this.container.find(".ranges li:last").addClass("active").attr("data-range-key"):this.chosenLabel=null,this.showCalendars())},clickApply:function(e){this.hide(),this.element.trigger("apply.daterangepicker",this)},clickCancel:function(e){this.startDate=this.oldStartDate,this.endDate=this.oldEndDate,this.hide(),this.element.trigger("cancel.daterangepicker",this)},monthOrYearChanged:function(e){var n=t(e.target).closest(".drp-calendar").hasClass("left"),i=n?"left":"right",a=this.container.find(".drp-calendar."+i),s=parseInt(a.find(".monthselect").val(),10),r=a.find(".yearselect").val();n||(r<this.startDate.year()||r==this.startDate.year()&&s<this.startDate.month())&&(s=this.startDate.month(),r=this.startDate.year()),this.minDate&&(r<this.minDate.year()||r==this.minDate.year()&&s<this.minDate.month())&&(s=this.minDate.month(),r=this.minDate.year()),this.maxDate&&(r>this.maxDate.year()||r==this.maxDate.year()&&s>this.maxDate.month())&&(s=this.maxDate.month(),r=this.maxDate.year()),n?(this.leftCalendar.month.month(s).year(r),this.linkedCalendars&&(this.rightCalendar.month=this.leftCalendar.month.clone().add(1,"month"))):(this.rightCalendar.month.month(s).year(r),this.linkedCalendars&&(this.leftCalendar.month=this.rightCalendar.month.clone().subtract(1,"month"))),this.updateCalendars()},timeChanged:function(e){var n=t(e.target).closest(".drp-calendar"),i=n.hasClass("left"),a=parseInt(n.find(".hourselect").val(),10),s=parseInt(n.find(".minuteselect").val(),10);isNaN(s)&&(s=parseInt(n.find(".minuteselect option:last").val(),10));var r=this.timePickerSeconds?parseInt(n.find(".secondselect").val(),10):0;if(!this.timePicker24Hour){var o=n.find(".ampmselect").val();"PM"===o&&a<12&&(a+=12),"AM"===o&&12===a&&(a=0)}if(i){var l=this.startDate.clone();l.hour(a),l.minute(s),l.second(r),this.setStartDate(l),this.singleDatePicker?this.endDate=this.startDate.clone():this.endDate&&this.endDate.format("YYYY-MM-DD")==l.format("YYYY-MM-DD")&&this.endDate.isBefore(l)&&this.setEndDate(l.clone())}else if(this.endDate){var d=this.endDate.clone();d.hour(a),d.minute(s),d.second(r),this.setEndDate(d)}this.updateCalendars(),this.updateFormInputs(),this.renderTimePicker("left"),this.renderTimePicker("right")},elementChanged:function(){if(this.element.is("input")&&this.element.val().length){var t=this.element.val().split(this.locale.separator),n=null,i=null;2===t.length&&(n=e(t[0],this.locale.format),i=e(t[1],this.locale.format)),(this.singleDatePicker||null===n||null===i)&&(i=n=e(this.element.val(),this.locale.format)),n.isValid()&&i.isValid()&&(this.setStartDate(n),this.setEndDate(i),this.updateView())}},keydown:function(e){9!==e.keyCode&&13!==e.keyCode||this.hide(),27===e.ke
9218yCode&&(e.preventDefault(),e.stopPropagation(),this.hide())},updateElement:function(){if(this.element.is("input")&&this.autoUpdateInput){var e=this.startDate.format(this.locale.format);this.singleDatePicker||(e+=this.locale.separator+this.endDate.format(this.locale.format)),e!==this.element.val()&&this.element.val(e).trigger("change")}},remove:function(){this.container.remove(),this.element.off(".daterangepicker"),this.element.removeData()}},t.fn.daterangepicker=function(e,i){var a=t.extend(!0,{},t.fn.daterangepicker.defaultOptions,e);return this.each(function(){var e=t(this);e.data("daterangepicker")&&e.data("daterangepicker").remove(),e.data("daterangepicker",new n(e,a,i))}),this},n}(e,t)}.apply(t,i))||(e.exports=a)},1087(){let e=0;function t(){let e=document.querySelector("html"),t=document.querySelector(".confirmv2");e?.classList.remove("confirmv2-noscroll"),t&&(t.style.display="none")}document.addEventListener("DOMContentLoaded",()=>{if(document.querySelector(".confirmv2 button").onclick=t,document.querySelectorAll(".g-recaptcha").forEach(t=>{t.setAttribute("widget-id",e.toString()),e++}),localStorage.getItem("confirmv2")&&localStorage.getItem("confirmtype")){let e=localStorage.getItem("confirmtype");if("guide"!=e){var n=document.createElement("style");n.innerHTML=`.confirmv2{display:flex;}.confirmv2-noscroll{overflow: hidden;}.confirmv2-text.${e}{display: block;}`,document.head.appendChild(n);let t=document.querySelector("html");t?.classList.add("confirmv2-noscroll")}localStorage.removeItem("confirmv2"),localStorage.removeItem("confirmtype")}document.querySelectorAll(".webform-submission-form").forEach(e=>{let t=e.querySelector(".form-actions");console.log(t),t?.addEventListener("click",t=>{t.preventDefault(),t.stopPropagation(),function(e){let t=e.target.closest(".webform-submission-form"),n=t.querySelector(".g-recaptcha"),i=t.querySelector("input[name='form_type']");if(!n||!i)return!0;let a=n.getAttribute("widget-id"),s=i?i.getAttribute("value"):"guide";if(localStorage.setItem("confirmtype",s),"undefined"!=typeof grecaptcha){if(0===grecaptcha.getResponse(a
9218).length)return!1;localStorage.setItem("confirmv2","true")}return!0}(t)?(e instanceof HTMLFormElement&&e.requestSubmit(),console.log("submitting")):alert("Please verify you're human through the captcha.")})})})},1819(){document.addEventListener("DOMContentLoaded",()=>{let e=document.querySelector(".webform-component--select-your-interest-dropdown, #block-webform-5 #edit-processed-text-01, #block-webform-6 #edit-processed-text-01");if(e){let t=document.querySelector("#block-webform-client-block-37042 .block-inner, #block-webform-client-block-4906 .block-inner, #block-webform-5 .content, #block-webform-6 .content");console.log(t);let n=t.querySelector("img"),i=new Image;i.src=n.src,console.log(i);let a=t.querySelector(".webform-component--email input, .form-item-email input"),s=t.querySelector(".webform-component--postal-code input, .form-item-postal-code input"),r=t.querySelector(".webform-component--first-name input, .form-item-first-name input"),o=t.querySelector(".captcha"),l="",d="",u="";const c=new RegExp("^[0-9]{5}$|^[A-Z][0-9][A-Z] ?[0-9][A-Z][0-9]$");let m=!1,h=!1,p=!1;const f=e=>String(e).toLowerCase().match(/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|.(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/),_=()=>{m&&h&&p?o.classList.contains("show")||(o.classList.add("show"),t.style.maxHeight=t.scrollHeight+24+"px"):o.classList.contains("show")&&(o.classList.remove("show"),t.style.maxHeight=t.scrollHeight+24+"px")};a.oninput=n=>{l=n.target.value,f(l)?(m||t.classList.contains("open")||e.click(),m=!0):(m&&t.classList.contains("open")&&e.click(),m=!1),_()},s.oninput=e=>{d=e.target.value,h=!!c.test(d),_()},r.oninput=e=>{u=e.target.value,p=!!/^[a-zA-Z]+$/.test(u),_()},e.onclick=()=>{t.classList.contains("open")?(t.classList.remove("open"),console.log(t.scrollHeight),t.style.maxHeight=t.scrollHeight+24+"px"):(t.classList.add("open"),console.log(t.scrollHeight),t.style.maxHeight=t.scrollHeight+24+"px")}}})},6533(){document.addEventListener("DOMContentLoaded",function(){const e=new URLSearchParams(window.location.search).get("id"),t=window.location.pathname;e&&"/email-preferences"===t&&(async()=>{const t=await fetch("https://submitter.roostadk.com/user/"+e);return await t.json()})().then(e=>{const t=document.querySelectorAll('input[name="first_name"], input[name="submitted[first_name]"]');t&&t.forEach(t=>{t.value=e.first_name||""});const n=document.querySelectorAll('input[name="last_name"], input[name="submitted[last_name]"]');n&&n.forEach(t=>{t.value=e.last_name||""});const i=document.querySelectorAll('input[name="email"], input[name="submitted[email]"]');i&&i.forEach(t=>{t.value=e.email||""});const a=document.querySelectorAll('input[name="postal_code"], input[name="submitted[postal_code]"]');a&&a.forEach(t=>{t.value=e.postal_code||""});const s=document.querySelectorAll('select[name="dob[month]"], select[name="submitted[date_of_birth][month]"]');s&&s.forEach(t=>{t.value=e.birthMonth||""});const r=document.querySelectorAll('select[name="dob[day]"], select[name="submitted[date_of_birth][day]"]');r&&r.forEach(t=>{t.value=e.birthDay||""});const o=document.querySelectorAll('select[name="dob[year]"], select[name="submitted[date_of_birth][year]"]');o&&o.forEach(t=>{t.value=e.birthYear||""});const l=document.querySelectorAll('input[name="when_do_you_plan_on_traveling"], input[name="submitted[when_do_you_plan_on_traveling]"]');l&&l.forEach(t=>{t.value===e.when_do_you_plan_on_traveling&&(t.checked=!0)});const d=document.querySelectorAll('input[name*="interests"], input[name*="submitted[interests]"]');d&&d.forEach(t=>{e.interests&&e.interests.includes(t.value)&&(t.checked=!0)});const u=document.querySelectorAll('input[name*="submitted[regions]"]');u&&u.forEach(t=>{e.signup_regions&&e.signup_regions.includes(t.value)&&(t.checked=!0)})}).catch(e=>{console.error("Error fetching user data:",e)})})},4692(e,t){var n;!function(t,n){"use strict";"object"==typeof e.exports?e.exports=t.document?n(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}:n(t)}("undefined"!=typeof window?window:this,function(i,a){"use strict";var s=[],r=Object.getPrototypeOf,o=s.slice,l=s.flat?function(e){return s.flat.call(e)}:function(e){return s.concat.apply([],e)},d=s.push,u=s.indexOf,c={},m=c.toString,h=c.hasOwnProperty,p=h.toString,f=p.call(Object),_={},g=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},y=function(e){return null!=e&&e===e.window}
vendor: 18,025 bytes, line 9218
9218,v=i.document,M={type:!0,src:!0,nonce:!0,noModule:!0};function w(e,t,n){var i,a,s=(n=n||v).createElement("script");if(s.text=e,t)for(i in M)(a=t[i]||t.getAttribute&&t.getAttribute(i))&&s.setAttribute(i,a);n.head.appendChild(s).parentNode.removeChild(s)}function L(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?c[m.call(e)]||"object":typeof e}var b="3.7.1",Y=/HTML$/i,k=function(e,t){return new k.fn.init(e,t)};function D(e){var t=!!e&&"length"in e&&e.length,n=L(e);return!g(e)&&!y(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}function T(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}k.fn=k.prototype={jquery:b,constructor:k,length:0,toArray:function(){return o.call(this)},get:function(e){return null==e?o.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=k.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return k.each(this,e)},map:function(e){return this.pushStack(k.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(o.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(k.grep(this,function(e,t){return(t+1)%2}))},odd:function(){return this.pushStack(k.grep(this,function(e,t){return t%2}))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:d,sort:s.sort,splice:s.splice},k.extend=k.fn.extend=function(){var e,t,n,i,a,s,r=arguments[0]||{},o=1,l=arguments.length,d=!1;for("boolean"==typeof r&&(d=r,r=arguments[o]||{},o++),"object"==typeof r||g(r)||(r={}),o===l&&(r=this,o--);o<l;o++)if(null!=(e=arguments[o]))for(t in e)i=e[t],"__proto__"!==t&&r!==i&&(d&&i&&(k.isPlainObject(i)||(a=Array.isArray(i)))?(n=r[t],s=a&&!Array.isArray(n)?[]:a||k.isPlainObject(n)?n:{},a=!1,r[t]=k.extend(d,s,i)):void 0!==i&&(r[t]=i));return r},k.extend({expando:"jQuery"+(b+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==m.call(e)||(t=r(e))&&("function"!=typeof(n=h.call(t,"constructor")&&t.constructor)||p.call(n)!==f))},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){w(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,i=0;if(D(e))for(n=e.length;i<n&&!1!==t.call(e[i],i,e[i]);i++);else for(i in e)if(!1===t.call(e[i],i,e[i]))break;return e},text:function(e){var t,n="",i=0,a=e.nodeType;if(!a)for(;t=e[i++];)n+=k.text(t);return 1===a||11===a?e.textContent:9===a?e.documentElement.textContent:3===a||4===a?e.nodeValue:n},makeArray:function(e,t){var n=t||[];return null!=e&&(D(Object(e))?k.merge(n,"string"==typeof e?[e]:e):d.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:u.call(t,e,n)},isXMLDoc:function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!Y.test(t||n&&n.nodeName||"HTML")},merge:function(e,t){for(var n=+t.length,i=0,a=e.length;i<n;i++)e[a++]=t[i];return e.length=a,e},grep:function(e,t,n){for(var i=[],a=0,s=e.length,r=!n;a<s;a++)!t(e[a],a)!==r&&i.push(e[a]);return i},map:function(e,t,n){var i,a,s=0,r=[];if(D(e))for(i=e.length;s<i;s++)null!=(a=t(e[s],s,n))&&r.push(a);else for(s in e)null!=(a=t(e[s],s,n))&&r.push(a);return l(r)},guid:1,support:_}),"function"==typeof Symbol&&(k.fn[Symbol.iterator]=s[Symbol.iterator]),k.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){c["[object "+t+"]"]=t.toLowerCase()});var x=s.pop,S=s.sort,E=s.splice,H="[\\x20\\t\\r\\n\\f]",j=new RegExp("^"+H+"+|((?:^|[^\\\\])(?:\\\\.)*)"+H+"+$","g");k.contains=function(e,t){var n=t&&t.parentNode;return e===n||!(!n||1!==n.nodeType||!(e.contains?e.contains(n):e.compareDocumentPosition&&16&e.compareDocumentPosition(n)))};var P=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function C(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e}k.escapeSelector=function(e){return(e+"").replace(P,C)};var O=v,A=d;!function(){var e,t,n,a,r,l,d,c,m,p,f=A,g=k.expando,y=0,v=0,M=ee(),w=ee(),L=ee(),b=ee(),Y=function(e,t){return e===t&&(r=!0),0},D="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",P="(?:\\\\[\\da-fA-F]{1,6}"+H+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",C="\\["+H+"*("+P+")(?:"+H+"*([*^$|!~]?=)"+H+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+P+"))|)"+H+"*\\]",z=":("+P+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+C+")*)|.*)\\)|)",I=new RegExp(H+"+","g"),W=new RegExp("^"+H+"*,"+H+"*"),N=new RegExp("^"+H+"*([>+~]|"+H+")"+H+"*"),F=new RegExp(H+"|>"),R=new RegExp(z),q=new RegExp("^"+P+"$"),$={ID:new RegExp("^#("+P+")"),CLASS:new RegExp("^\\.("+P+")"),TAG:new RegExp("^("+P+"|[*])"),ATTR:new RegExp("^"+C),PSEUDO:new RegExp("^"+z),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+H+"*(even|odd|(([+-]|)(\\d*)n|)"+H+"*(?:([+-]|)"+H+"*(\\d+)|))"+H+"*\\)|)","i"),bool:new RegExp("^(?:"+D+")$","i"),needsContext:new RegExp("^"+H+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+H+"*((?:-\\d)?\\d*)"+H+"*\\)|)(?=[^-]|$)","i")},B=/^(?:input|select|textarea|button)$/i,G=/^h\d$/i,V=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,X=/[+~]/,J=new RegExp("\\\\[\\da-fA-F]{1,6}"+H+"?|\\\\([^\\r\\n\\f])","g"),U=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},Z=function(){le()},K=me(function(e){return!0===e.disabled&&T(e,"fieldset")},{dir:"parentNode",next:"legend"});try{f.apply(s=o.call(O.childNodes),O.childNodes),s[O.childNodes.length].nodeType}catch(e){f={apply:function(e,t){A.apply(e,o.call(t))},call:function(e){A.apply(e,o.call(arguments,1))}}}function Q(e,t,n,i){var a,s,r,o,d,u,h,p=t&&t.ownerDocument,y=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==y&&9!==y&&11!==y)return n;if(!i&&(le(t),t=t||l,c)){if(11!==y&&(d=V.exec(e)))if(a=d[1]){if(9===y){if(!(r=t.getElementById(a)))return n;if(r.id===a)return f.call(n,r),n}else if(p&&(r=p.getElementById(a))&&Q.contains(t,r)&&r.id===a)return f.call(n,r),n}else{if(d[2])return f.apply(n,t.getElementsByTagName(e)),n;if((a=d[3])&&t.getElementsByClassName)return f.apply(n,t.getElementsByClassName(a)),n}if(!(b[e+" "]||m&&m.test(e))){if(h=e,p=t,1===y&&(F.test(e)||N.test(e))){for((p=X.test(e)&&oe(t.parentNode)||t)==t&&_.scope||((o=t.getAttribute("id"))?o=k.escapeSelector(o):t.setAttribute("id",o=g)),s=(u=ue(e)).length;s--;)u[s]=(o?"#"+o:":scope")+" "+ce(u[s]);h=u.join(",")}try{return f.apply(n,p.querySelectorAll(h)),n}catch(t){b(e,!0)}finally{o===g&&t.removeAttribute("id")}}}return ye(e.replace(j,"$1"),t,n,i)}function ee(){var e=[];return function n(i,a){return e.push(i+" ")>t.cacheLength&&delete n[e.shift()],n[i+" "]=a}}function te(e){return e[g]=!0,e}function ne(e){var t=l.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function ie(e){return function(t){return T(t,"input")&&t.type===e}}function ae(e){return function(t){return(T(t,"input")||T(t,"button"))&&t.type===e}}function se(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&K(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function re(e){return te(function(t){return t=+t,te(function(n,i){for(var a,s=e([],n.length,t),r=s.length;r--;)n[a=s[r]]&&(n[a]=!(i[a]=n[a]))})})}function oe(e){return e&&void 0!==e.getElementsByTagName&&e}function le(e){var n,i=e?e.ownerDocument||e:O;return i!=l&&9===i.nodeType&&i.documentElement?(d=(l=i).documentElement,c=!k.isXMLDoc(l),p=d.matches||d.webkitMatchesSelector||d.msMatchesSelector,d.msMatchesSelector&&O!=l&&(n=l.defaultView)&&n.top!==n&&n.addEventListener("unload",Z),_.getById=ne(function(e){return d.appendChild(e).id=k.expando,!l.getElementsByName||!l.getElementsByName(k.expando).length}),_.disconnectedMatch=ne(function(e){return p.call(e,"*")}),_.scope=ne(function(){return l.querySelectorAll(":scope")}),_.cssHas=ne(function(){try{return l.querySelector(":has(*,:jqfake)"),!1}catch(e){return!0}}),_.getById?(t.filter.ID=function(e){var t=e.replace(J,U);return function(e){return e.getAttribute("id")===t}},t.find.ID=function(e,t){if(void 0!==t.getElementById&&c){var n=t.getElementById(e);return n?[n]:[]}}):(t.filter.ID=function(e){var t=e.replace(J,U);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},t.find.ID=function(e,t){if(void 0!==t.getElementById&&c){var n,i,a,s=t.getElementById(e);if(s){if((n=s.getAttributeNode("id"))&&n.value===e)return[s];for(a=t.getElementsByName(e),i=0;s=a[i++];)if((n=s.getAttributeNode("id"))&&n.value===e)return[s]}return[]}}),t.find.TAG=function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):t.querySelectorAll(e)},t.find.CLASS=function(e,t){if(void 0!==t.getElementsByClassName&&c)return t.getElementsByClassName(e)},m=[],ne(function(e){var t;d.appendChild(e).innerHTML="<a id='"+g+"' href='' disabled='disabled'></a><select id='"+g+"-\r\\' disabled='disabled'><option selected=''></option></select>",e.querySelectorAll("[selected]").length||m.push("\\["+H+"*(?:value|"+D+")"),e.querySelectorAll("[id~="+g+"-]").length||m.push("~="),e.querySelectorAll("a#"+g+"+*").length||m.push(".#.+[+~]"),e.querySelectorAll(":checked").length||m.push(":checked"),(t=l.createElement("input")).setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),d.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&m.push(":enabled",":disabled"),(t=l.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||m.push("\\["+H+"*name"+H+"*="+H+"*(?:''|\"\")")}),_.cssHas||m.push(":has"),m=m.length&&new RegExp(m.join("|")),Y=function(e,t){if(e===t)return r=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!_.sortDetached&&t.compareDocumentPosition(e)===n?e===l||e.ownerDocument==O&&Q.contains(O,e)?-1:t===l||t.ownerDocument==O&&Q.contains(O,t)?1:a?u.call(a,e)-u.call(a,t):0:4&n?-1:1)},l):l}for(e in Q.matches=function(e,t){return Q(e,null,null,t)},Q.matchesSelector=function(e,t){if(le(e),c&&!b[t+" "]&&(!m||!m.test(t)))try{var n=p.call(e,t);if(n||_.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){b(t,!0)}return Q(t,l,null,[e]).length>0},Q.contains=function(e,t){return(e.ownerDocument||e)!=l&&le(e),k.contains(e,t)},Q.attr=function(e,n){(e.ownerDocument||e)!=l&&le(e);var i=t.attrHandle[n.toLowerCase()],a=i&&h.call(t.attrHandle,n.toLowerCase())?i(e,n,!c):void 0;return void 0!==a?a:e.getAttribute(n)},Q.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},k.uniqueSort=function(e){var t,n=[],i=0,s=0;if(r=!_.sortStable,a=!_.sortStable&&o.call(e,0),S.call(e,Y),r){for(;t=e[s++];)t===e[s]&&(i=n.push(s));for(;i--;)E.call(e,n[i],1)}return a=null,e},k.fn.uniqueSort=function(){return this.pushStack(k.uniqueSort(o.apply(this)))},t=k.expr={cacheLength:50,createPseudo:te,match:$,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(J,U),e[3]=(e[3]||e[4]||e[5]||"").replace(J,U),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||Q.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&Q.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return $.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&R.test(n)&&(t=ue(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(J,U).toLowerCase();return"*"===e?function(){return!0}:function(e){return T(e,t)}},CLASS:function(e){var t=M[e+" "];return t||(t=new RegExp("(^|"+H+")"+e+"("+H+"|$)"))&&M(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(i){var a=Q.attr(i,e);return null==a?"!="===t:!t||(a+="","="===t?a===n:"!="===t?a!==n:"^="===t?n&&0===a.indexOf(n):"*="===t?n&&a.indexOf(n)>-1:"$="===t?n&&a.slice(-n.length)===n:"~="===t?(" "+a.replace(I," ")+" ").indexOf(n)>-1:"|="===t&&(a===n||a.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,i,a){var s="nth"!==e.slice(0,3),r="last"!==e.slice(-4),o="of-type"===t;return 1===i&&0===a?function(e){return!!e.parentNode}:function(t,n,l){var d,u,c,m,h,p=s!==r?"nextSibling":"previousSibling",f=t.parentNode,_=o&&t.nodeName.toLowerCase(),v=!l&&!o,M=!1;if(f){if(s){for(;p;){for(c=t;c=c[p];)if(o?T(c,_):1===c.nodeType)return!1;h=p="only"===e&&!h&&"nextSibling"}return!0}if(h=[r?f.firstChild:f.lastChild],r&&v){for(M=(m=(d=(u=f[g]||(f[g]={}))[e]||[])[0]===y&&d[1])&&d[2],c=m&&f.childNodes[m];c=++m&&c&&c[p]||(M=m=0)||h.pop();)if(1===c.nodeType&&++M&&c===t){u[e]=[y,m,M];break}}else if(v&&(M=m=(d=(u=t[g]||(t[g]={}))[e]||[])[0]===y&&d[1]),!1===M)for(;(c=++m&&c&&c[p]||(M=m=0)||h.pop())&&(!(o?T(c,_):1===c.nodeType)||!++M||(v&&((u=c[g]||(c[g]={}))[e]=[y,M]),c!==t)););return(M-=a)===i||M%i===0&&M/i>=0}}},PSEUDO:function(e,n){var i,a=t.pseudos[e]||t.setFilters[e.toLowerCase()]||Q.error("unsupported pseudo: "+e);return a[g]?a(n):a.length>1?(i=[e,e,"",n],t.setFilters.hasOwnProperty(e.toLowerCase())?te(function(e,t){for(var i,s=a(e,n),r=s.length;r--;)e[i=u.call(e,s[r])]=!(t[i]=s[r])}):function(e){return a(e,0,i)}):a}},pseudos:{not:te(function(e){var t=[],n=[],i=ge(e.replace(j,"$1"));return i[g]?te(function(e,t,n,a){for(var s,r=i(e,null,a,[]),o=e.length;o--;)(s=r[o])&&(e[o]=!(t[o]=s))}):function(e,a,s){return t[0]=e,i(t,null,s,n),t[0]=null,!n.pop()}}),has:te(function(e){return function(t){return Q(e,t).length>0}}),contains:te(function(e){return e=e.replace(J,U),function(t){return(t.textContent||k.text(t)).indexOf(e)>-1}}),lang:te(function(e){return q.test(e||"")||Q.error("unsupported lang: "+e),e=e.replace(J,U).toLowerCase(),function(t){var n;do{if(n=c?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(e){var t=i.location&&i.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===d},focus:function(e){return e===function(){try{return l.activeElement}catch(e){}}()&&l.hasFocus()&&!!(e.type||e.href||~e.tabIndex)},enabled:se(!1),disabled:se(!0),checked:function(e){return T(e,"input")&&!!e.checked||T(e,"option")&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!t.pseudos.empty(e)},header:function(e){return G.test(e.nodeName)},input:function(e){return B.test(e.nodeName)},button:function(e){return T(e,"input")&&"button"===e.type||T(e,"button")},text:function(e){var t;return T(e,"input")&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:re(function(){return[0]}),last:re(function(e,t){return[t-1]}),eq:re(function(e,t,n){return[n<0?n+t:n]}),even:re(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:re(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:re(function(e,t,n){var i;for(i=n<0?n+t:n>t?t:n;--i>=0;)e.push(i);return e}),gt:re(function(e,t,n){for(var i=n<0?n+t:n;++i<t;)e.push(i);return e})}},t.pseudos.nth=t.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})t.pseudos[e]=ie(e);for(e in{submit:!0,reset:!0})t.pseudos[e]=ae(e);function de(){}function ue(e,n){var i,a,s,r,o,l,d,u=w[e+" "];if(u)return n?0:u.slice(0);for(o=e,l=[],d=t.preFilter;o;){for(r in i&&!(a=W.exec(o))||(a&&(o=o.slice(a[0].length)||o),l.push(s=[])),i=!1,(a=N.exec(o))&&(i=a.shift(),s.push({value:i,type:a[0].replace(j," ")}),o=o.slice(i.length)),t.filter)!(a=$[r].exec(o))||d[r]&&!(a=d[r](a))||(i=a.shift(),s.push({value:i,type:r,matches:a}),o=o.slice(i.length));if(!i)break}return n?o.length:o?Q.error(e):w(e,l).slice(0)}function ce(e){for(var t=0,n=e.length,i="";t<n;t++)i+=e[t].value;return i}function me(e,t,n){var i=t.dir,a=t.next,s=a||i,r=n&&"parentNode"===s,o=v++;return t.first?function(t,n,a){for(;t=t[i];)if(1===t.nodeType||r)return e(t,n,a);return!1}:function(t,n,l){var d,u,c=[y,o];if(l){for(;t=t[i];)if((1===t.nodeType||r)&&e(t,n,l))return!0}else for(;t=t[i];)if(1===t.nodeType||r)if(u=t[g]||(t[g]={}),a&&T(t,a))t=t[i]||t;else{if((d=u[s])&&d[0]===y&&d[1]===o)return c[2]=d[2];if(u[s]=c,c[2]=e(t,n,l))return!0}return!1}}function he(e){return e.length>1?function(t,n,i){for(var a=e.length;a--;)if(!e[a](t,n,i))return!1;return!0}:e[0]}function pe(e,t,n,i,a){for(var s,r=[],o=0,l=e.length,d=null!=t;o<l;o++)(s=e[o])&&(n&&!n(s,i,a)||(r.push(s),d&&t.push(o)));return r}function fe(e,t,n,i,a,s){return i&&!i[g]&&(i=fe(i)),a&&!a[g]&&(a=fe(a,s)),te(function(s,r,o,l){var d,c,m,h,p=[],_=[],g=r.length,y=s||function(e,t,n){for(var i=0,a=t.length;i<a;i++)Q(e,t[i],n);return n}(t||"*",o.nodeType?[o]:o,[]),v=!e||!s&&t?y:pe(y,p,e,o,l);if(n?n(v,h=a||(s?e:g||i)?[]:r,o,l):h=v,i)for(d=pe(h,_),i(d,[],o,l),c=d.length;c--;)(m=d[c])&&(h[_[c]]=!(v[_[c]]=m));if(s){if(a||e){if(a){for(d=[],c=h.length;c--;)(m=h[c])&&d.push(v[c]=m);a(null,h=[],d,l)}for(c=h.length;c--;)(m=h[c])&&(d=a?u.call(s,m):p[c])>-1&&(s[d]=!(r[d]=m))}}else h=pe(h===r?h.splice(g,h.length):h),a?a(null,r,h,l):f.apply(r,h)})}function _e(e){for(var i,a,s,r=e.length,o=t.relative[e[0].type],l=o||t.relative[" "],d=o?1:0,c=me(function(e){return e===i},l,!0),m=me(function(e){return u.call(i,e)>-1},l,!0),h=[function(e,t,a){var s=!o&&(a||t!=n)||((i=t).nodeType?c(e,t,a):m(e,t,a));
vendor: 4,764 bytes, line 9218
9218return i=null,s}];d<r;d++)if(a=t.relative[e[d].type])h=[me(he(h),a)];else{if((a=t.filter[e[d].type].apply(null,e[d].matches))[g]){for(s=++d;s<r&&!t.relative[e[s].type];s++);return fe(d>1&&he(h),d>1&&ce(e.slice(0,d-1).concat({value:" "===e[d-2].type?"*":""})).replace(j,"$1"),a,d<s&&_e(e.slice(d,s)),s<r&&_e(e=e.slice(s)),s<r&&ce(e))}h.push(a)}return he(h)}function ge(e,i){var a,s=[],r=[],o=L[e+" "];if(!o){for(i||(i=ue(e)),a=i.length;a--;)(o=_e(i[a]))[g]?s.push(o):r.push(o);o=L(e,function(e,i){var a=i.length>0,s=e.length>0,r=function(r,o,d,u,m){var h,p,_,g=0,v="0",M=r&&[],w=[],L=n,b=r||s&&t.find.TAG("*",m),Y=y+=null==L?1:Math.random()||.1,D=b.length;for(m&&(n=o==l||o||m);v!==D&&null!=(h=b[v]);v++){if(s&&h){for(p=0,o||h.ownerDocument==l||(le(h),d=!c);_=e[p++];)if(_(h,o||l,d)){f.call(u,h);break}m&&(y=Y)}a&&((h=!_&&h)&&g--,r&&M.push(h))}if(g+=v,a&&v!==g){for(p=0;_=i[p++];)_(M,w,o,d);if(r){if(g>0)for(;v--;)M[v]||w[v]||(w[v]=x.call(u));w=pe(w)}f.apply(u,w),m&&!r&&w.length>0&&g+i.length>1&&k.uniqueSort(u)}return m&&(y=Y,n=L),M};return a?te(r):r}(r,s)),o.selector=e}return o}function ye(e,n,i,a){var s,r,o,l,d,u="function"==typeof e&&e,m=!a&&ue(e=u.selector||e);if(i=i||[],1===m.length){if((r=m[0]=m[0].slice(0)).length>2&&"ID"===(o=r[0]).type&&9===n.nodeType&&c&&t.relative[r[1].type]){if(!(n=(t.find.ID(o.matches[0].replace(J,U),n)||[])[0]))return i;u&&(n=n.parentNode),e=e.slice(r.shift().value.length)}for(s=$.needsContext.test(e)?0:r.length;s--&&(o=r[s],!t.relative[l=o.type]);)if((d=t.find[l])&&(a=d(o.matches[0].replace(J,U),X.test(r[0].type)&&oe(n.parentNode)||n))){if(r.splice(s,1),!(e=a.length&&ce(r)))return f.apply(i,a),i;break}}return(u||ge(e,m))(a,n,!c,i,!n||X.test(e)&&oe(n.parentNode)||n),i}de.prototype=t.filters=t.pseudos,t.setFilters=new de,_.sortStable=g.split("").sort(Y).join("")===g,le(),_.sortDetached=ne(function(e){return 1&e.compareDocumentPosition(l.createElement("fieldset"))}),k.find=Q,k.expr[":"]=k.expr.pseudos,k.unique=k.uniqueSort,Q.compile=ge,Q.select=ye,Q.setDocument=le,Q.tokenize=ue,Q.escape=k.escapeSelector,Q.getText=k.text,Q.isXML=k.isXMLDoc,Q.selectors=k.expr,Q.support=k.support,Q.uniqueSort=k.uniqueSort}();var z=function(e,t,n){for(var i=[],a=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(a&&k(e).is(n))break;i.push(e)}return i},I=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},W=k.expr.match.needsContext,N=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function F(e,t,n){return g(t)?k.grep(e,function(e,i){return!!t.call(e,i,e)!==n}):t.nodeType?k.grep(e,function(e){return e===t!==n}):"string"!=typeof t?k.grep(e,function(e){return u.call(t,e)>-1!==n}):k.filter(t,e,n)}k.filter=function(e,t,n){var i=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===i.nodeType?k.find.matchesSelector(i,e)?[i]:[]:k.find.matches(e,k.grep(t,function(e){return 1===e.nodeType}))},k.fn.extend({find:function(e){var t,n,i=this.length,a=this;if("string"!=typeof e)return this.pushStack(k(e).filter(function(){for(t=0;t<i;t++)if(k.contains(a[t],this))return!0}));for(n=this.pushStack([]),t=0;t<i;t++)k.find(e,a[t],n);return i>1?k.uniqueSort(n):n},filter:function(e){return this.pushStack(F(this,e||[],!1))},not:function(e){return this.pushStack(F(this,e||[],!0))},is:function(e){return!!F(this,"string"==typeof e&&W.test(e)?k(e):e||[],!1).length}});var R,q=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(k.fn.init=function(e,t,n){var i,a;if(!e)return this;if(n=n||R,"string"==typeof e){if(!(i="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:q.exec(e))||!i[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(i[1]){if(t=t instanceof k?t[0]:t,k.merge(this,k.parseHTML(i[1],t&&t.nodeType?t.ownerDocument||t:v,!0)),N.test(i[1])&&k.isPlainObject(t))for(i in t)g(this[i])?this[i](t[i]):this.attr(i,t[i]);return this}return(a=v.getElementById(i[2]))&&(this[0]=a,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):g(e)?void 0!==n.ready?n.ready(e):e(k):k.makeArray(e,this)}).prototype=k.fn,R=k(v);var $=/^(?:parents|prev(?:Until|All))/,B={children:!0,contents:!0,next:!0,prev:!0};function G(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}k.fn.extend({has:function(e){var t=k(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(k.contains(this,t[e]))return!0})},closest:function(e,t){var n,i=0,a=this.length,s=[],r="string"!=typeof e&&k(e);if(!W.test(e))for(;i<a;i++)for(n=this[i];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(r?r.index(n)>-1:1===n.nodeType&&k.find.matchesSelector(n,e))){s.push(n);break}return this.pushStack(s.length>1?k.uniqueSort(s):s)},index:function(e){return e?"string"==typeof e?u.call(k(e),this[0]):u.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1}
vendor: 5,672 bytes, line 9218
9218,add:function(e,t){return this.pushStack(k.uniqueSort(k.merge(this.get(),k(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),k.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return z(e,"parentNode")},parentsUntil:function(e,t,n){return z(e,"parentNode",n)},next:function(e){return G(e,"nextSibling")},prev:function(e){return G(e,"previousSibling")},nextAll:function(e){return z(e,"nextSibling")},prevAll:function(e){return z(e,"previousSibling")},nextUntil:function(e,t,n){return z(e,"nextSibling",n)},prevUntil:function(e,t,n){return z(e,"previousSibling",n)},siblings:function(e){return I((e.parentNode||{}).firstChild,e)},children:function(e){return I(e.firstChild)},contents:function(e){return null!=e.contentDocument&&r(e.contentDocument)?e.contentDocument:(T(e,"template")&&(e=e.content||e),k.merge([],e.childNodes))}},function(e,t){k.fn[e]=function(n,i){var a=k.map(this,t,n);return"Until"!==e.slice(-5)&&(i=n),i&&"string"==typeof i&&(a=k.filter(i,a)),this.length>1&&(B[e]||k.uniqueSort(a),$.test(e)&&a.reverse()),this.pushStack(a)}});var V=/[^\x20\t\r\n\f]+/g;function X(e){return e}function J(e){throw e}function U(e,t,n,i){var a;try{e&&g(a=e.promise)?a.call(e).done(t).fail(n):e&&g(a=e.then)?a.call(e,t,n):t.apply(void 0,[e].slice(i))}catch(e){n.apply(void 0,[e])}}k.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return k.each(e.match(V)||[],function(e,n){t[n]=!0}),t}(e):k.extend({},e);var t,n,i,a,s=[],r=[],o=-1,l=function(){for(a=a||e.once,i=t=!0;r.length;o=-1)for(n=r.shift();++o<s.length;)!1===s[o].apply(n[0],n[1])&&e.stopOnFalse&&(o=s.length,n=!1);e.memory||(n=!1),t=!1,a&&(s=n?[]:"")},d={add:function(){return s&&(n&&!t&&(o=s.length-1,r.push(n)),function t(n){k.each(n,function(n,i){g(i)?e.unique&&d.has(i)||s.push(i):i&&i.length&&"string"!==L(i)&&t(i)})}(arguments),n&&!t&&l()),this},remove:function(){return k.each(arguments,function(e,t){for(var n;(n=k.inArray(t,s,n))>-1;)s.splice(n,1),n<=o&&o--}),this},has:function(e){return e?k.inArray(e,s)>-1:s.length>0},empty:function(){return s&&(s=[]),this},disable:function(){return a=r=[],s=n="",this},disabled:function(){return!s},lock:function(){return a=r=[],n||t||(s=n=""),this},locked:function(){return!!a},fireWith:function(e,n){return a||(n=[e,(n=n||[]).slice?n.slice():n],r.push(n),t||l()),this},fire:function(){return d.fireWith(this,arguments),this},fired:function(){return!!i}};return d},k.extend({Deferred:function(e){var t=[["notify","progress",k.Callbacks("memory"),k.Callbacks("memory"),2],["resolve","done",k.Callbacks("once memory"),k.Callbacks("once memory"),0,"resolved"],["reject","fail",k.Callbacks("once memory"),k.Callbacks("once memory"),1,"rejected"]],n="pending",a={state:function(){return n},always:function(){return s.done(arguments).fail(arguments),this},catch:function(e){return a.then(null,e)},pipe:function(){var e=arguments;return k.Deferred(function(n){k.each(t,function(t,i){var a=g(e[i[4]])&&e[i[4]];s[i[1]](function(){var e=a&&a.apply(this,arguments);e&&g(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[i[0]+"With"](this,a?[e]:arguments)})}),e=null}).promise()},then:function(e,n,a){var s=0;function r(e,t,n,a){return function(){var o=this,l=arguments,d=function(){var i,d;if(!(e<s)){if((i=n.apply(o,l))===t.promise())throw new TypeError("Thenable self-resolution");d=i&&("object"==typeof i||"function"==typeof i)&&i.then,g(d)?a?d.call(i,r(s,t,X,a),r(s,t,J,a)):(s++,d.call(i,r(s,t,X,a),r(s,t,J,a),r(s,t,X,t.notifyWith))):(n!==X&&(o=void 0,l=[i]),(a||t.resolveWith)(o,l))}},u=a?d:function(){try{d()}catch(i){k.Deferred.exceptionHook&&k.Deferred.exceptionHook(i,u.error),e+1>=s&&(n!==J&&(o=void 0,l=[i]),t.rejectWith(o,l))}};e?u():(k.Deferred.getErrorHook?u.error=k.Deferred.getErrorHook():k.Deferred.getStackHook&&(u.error=k.Deferred.getStackHook()),i.setTimeout(u))}}return k.Deferred(function(i){t[0][3].add(r(0,i,g(a)?a:X,i.notifyWith)),t[1][3].add(r(0,i,g(e)?e:X)),t[2][3].add(r(0,i,g(n)?n:J))}).promise()},promise:function(e){return null!=e?k.extend(e,a):a}},s={};return k.each(t,function(e,i){var r=i[2],o=i[5];a[i[1]]=r.add,o&&r.add(function(){n=o},t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),r.add(i[3].fire),s[i[0]]=function(){return s[i[0]+"With"](this===s?void 0:this,arguments),this},s[i[0]+"With"]=r.fireWith}),a.promise(s),e&&e.call(s,s),s},when:function(e){var t=arguments.length,n=t,i=Array(n),a=o.call(arguments),s=k.Deferred(),r=function(e){return function(n){i[e]=this,a[e]=arguments.length>1?o.call(arguments):n,--t||s.resolveWith(i,a)}};if(t<=1&&(U(e,s.done(r(n)).resolve,s.reject,!t),"pending"===s.state()||g(a[n]&&a[n].then)))return s.then();for(;n--;)U(a[n],r(n),s.reject);return s.promise()}});var Z=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;k.Deferred.exceptionHook=function(e,t){i.console&&i.console.warn&&e&&Z.test(e.name)&&i.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},k.readyException=function(e){i.setTimeout(function(){throw e})};var K=k.Deferred();function Q(){v.removeEventListener("DOMContentLoaded",Q),i.removeEventListener("load",Q),k.ready()}k.fn.ready=function(e){return K.then(e).catch(function(e){k.readyException(e)}),this},k.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--k.readyWait:k.isReady)||(k.isReady=!0,!0!==e&&--k.readyWait>0||K.resolveWith(v,[k]))}}),k.ready.then=K.then,"complete"===v.readyState||"loading"!==v.readyState&&!v.documentElement.doScroll?i.setTimeout(k.ready):(v.addEventListener("DOMContentLoaded",Q),i.addEventListener("load",Q));var ee=function(e,t,n,i,a,s,r){var o=0,l=e.length,d=null==n;
vendor: 11,472 bytes, line 9218
9218if("object"===L(n))for(o in a=!0,n)ee(e,t,o,n[o],!0,s,r);else if(void 0!==i&&(a=!0,g(i)||(r=!0),d&&(r?(t.call(e,i),t=null):(d=t,t=function(e,t,n){return d.call(k(e),n)})),t))for(;o<l;o++)t(e[o],n,r?i:i.call(e[o],o,t(e[o],n)));return a?e:d?t.call(e):l?t(e[0],n):s},te=/^-ms-/,ne=/-([a-z])/g;function ie(e,t){return t.toUpperCase()}function ae(e){return e.replace(te,"ms-").replace(ne,ie)}var se=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function re(){this.expando=k.expando+re.uid++}re.uid=1,re.prototype={cache:function(e){var t=e[this.expando];return t||(t={},se(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var i,a=this.cache(e);if("string"==typeof t)a[ae(t)]=n;else for(i in t)a[ae(i)]=t[i];return a},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][ae(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,i=e[this.expando];if(void 0!==i){if(void 0!==t){n=(t=Array.isArray(t)?t.map(ae):(t=ae(t))in i?[t]:t.match(V)||[]).length;for(;n--;)delete i[t[n]]}(void 0===t||k.isEmptyObject(i))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!k.isEmptyObject(t)}};var oe=new re,le=new re,de=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,ue=/[A-Z]/g;function ce(e,t,n){var i;if(void 0===n&&1===e.nodeType)if(i="data-"+t.replace(ue,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(i))){try{n=function(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:de.test(e)?JSON.parse(e):e)}(n)}catch(e){}le.set(e,t,n)}else n=void 0;return n}k.extend({hasData:function(e){return le.hasData(e)||oe.hasData(e)},data:function(e,t,n){return le.access(e,t,n)},removeData:function(e,t){le.remove(e,t)},_data:function(e,t,n){return oe.access(e,t,n)},_removeData:function(e,t){oe.remove(e,t)}}),k.fn.extend({data:function(e,t){var n,i,a,s=this[0],r=s&&s.attributes;if(void 0===e){if(this.length&&(a=le.get(s),1===s.nodeType&&!oe.get(s,"hasDataAttrs"))){for(n=r.length;n--;)r[n]&&0===(i=r[n].name).indexOf("data-")&&(i=ae(i.slice(5)),ce(s,i,a[i]));oe.set(s,"hasDataAttrs",!0)}return a}return"object"==typeof e?this.each(function(){le.set(this,e)}):ee(this,function(t){var n;if(s&&void 0===t)return void 0!==(n=le.get(s,e))||void 0!==(n=ce(s,e))?n:void 0;this.each(function(){le.set(this,e,t)})},null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){le.remove(this,e)})}}),k.extend({queue:function(e,t,n){var i;if(e)return t=(t||"fx")+"queue",i=oe.get(e,t),n&&(!i||Array.isArray(n)?i=oe.access(e,t,k.makeArray(n)):i.push(n)),i||[]},dequeue:function(e,t){t=t||"fx";var n=k.queue(e,t),i=n.length,a=n.shift(),s=k._queueHooks(e,t);"inprogress"===a&&(a=n.shift(),i--),a&&("fx"===t&&n.unshift("inprogress"),delete s.stop,a.call(e,function(){k.dequeue(e,t)},s)),!i&&s&&s.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return oe.get(e,n)||oe.access(e,n,{empty:k.Callbacks("once memory").add(function(){oe.remove(e,[t+"queue",n])})})}}),k.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?k.queue(this[0],e):void 0===t?this:this.each(function(){var n=k.queue(this,e,t);k._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&k.dequeue(this,e)})},dequeue:function(e){return this.each(function(){k.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,i=1,a=k.Deferred(),s=this,r=this.length,o=function(){--i||a.resolveWith(s,[s])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";r--;)(n=oe.get(s[r],e+"queueHooks"))&&n.empty&&(i++,n.empty.add(o));return o(),a.promise(t)}});var me=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,he=new RegExp("^(?:([+-])=|)("+me+")([a-z%]*)$","i"),pe=["Top","Right","Bottom","Left"],fe=v.documentElement,_e=function(e){return k.contains(e.ownerDocument,e)},ge={composed:!0};fe.getRootNode&&(_e=function(e){return k.contains(e.ownerDocument,e)||e.getRootNode(ge)===e.ownerDocument});var ye=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&_e(e)&&"none"===k.css(e,"display")};function ve(e,t,n,i){var a,s,r=20,o=i?function(){return i.cur()}:function(){return k.css(e,t,"")},l=o(),d=n&&n[3]||(k.cssNumber[t]?"":"px"),u=e.nodeType&&(k.cssNumber[t]||"px"!==d&&+l)&&he.exec(k.css(e,t));if(u&&u[3]!==d){for(l/=2,d=d||u[3],u=+l||1;r--;)k.style(e,t,u+d),(1-s)*(1-(s=o()/l||.5))<=0&&(r=0),u/=s;u*=2,k.style(e,t,u+d),n=n||[]}return n&&(u=+u||+l||0,a=n[1]?u+(n[1]+1)*n[2]:+n[2],i&&(i.unit=d,i.start=u,i.end=a)),a}var Me={};function we(e){var t,n=e.ownerDocument,i=e.nodeName,a=Me[i];return a||(t=n.body.appendChild(n.createElement(i)),a=k.css(t,"display"),t.parentNode.removeChild(t),"none"===a&&(a="block"),Me[i]=a,a)}function Le(e,t){for(var n,i,a=[],s=0,r=e.length;s<r;s++)(i=e[s]).style&&(n=i.style.display,t?("none"===n&&(a[s]=oe.get(i,"display")||null,a[s]||(i.style.display="")),""===i.style.display&&ye(i)&&(a[s]=we(i))):"none"!==n&&(a[s]="none",oe.set(i,"display",n)));for(s=0;s<r;s++)null!=a[s]&&(e[s].style.display=a[s]);return e}k.fn.extend({show:function(){return Le(this,!0)},hide:function(){return Le(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){ye(this)?k(this).show():k(this).hide()})}});var be,Ye,ke=/^(?:checkbox|radio)$/i,De=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,Te=/^$|^module$|\/(?:java|ecma)script/i;be=v.createDocumentFragment().appendChild(v.createElement("div")),(Ye=v.createElement("input")).setAttribute("type","radio"),Ye.setAttribute("checked","checked"),Ye.setAttribute("name","t"),be.appendChild(Ye),_.checkClone=be.cloneNode(!0).cloneNode(!0).lastChild.checked,be.innerHTML="<textarea>x</textarea>",_.noCloneChecked=!!be.cloneNode(!0).lastChild.defaultValue,be.innerHTML="<option></option>",_.option=!!be.lastChild;var xe={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function Se(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&T(e,t)?k.merge([e],n):n}function Ee(e,t){for(var n=0,i=e.length;n<i;n++)oe.set(e[n],"globalEval",!t||oe.get(t[n],"globalEval"))}xe.tbody=xe.tfoot=xe.colgroup=xe.caption=xe.thead,xe.th=xe.td,_.option||(xe.optgroup=xe.option=[1,"<select multiple='multiple'>","</select>"]);var He=/<|&#?\w+;/;function je(e,t,n,i,a){for(var s,r,o,l,d,u,c=t.createDocumentFragment(),m=[],h=0,p=e.length;h<p;h++)if((s=e[h])||0===s)if("object"===L(s))k.merge(m,s.nodeType?[s]:s);else if(He.test(s)){for(r=r||c.appendChild(t.createElement("div")),o=(De.exec(s)||["",""])[1].toLowerCase(),l=xe[o]||xe._default,r.innerHTML=l[1]+k.htmlPrefilter(s)+l[2],u=l[0];u--;)r=r.lastChild;k.merge(m,r.childNodes),(r=c.firstChild).textContent=""}else m.push(t.createTextNode(s));for(c.textContent="",h=0;s=m[h++];)if(i&&k.inArray(s,i)>-1)a&&a.push(s);else if(d=_e(s),r=Se(c.appendChild(s),"script"),d&&Ee(r),n)for(u=0;s=r[u++];)Te.test(s.type||"")&&n.push(s);return c}var Pe=/^([^.]*)(?:\.(.+)|)/;function Ce(){return!0}function Oe(){return!1}function Ae(e,t,n,i,a,s){var r,o;if("object"==typeof t){for(o in"string"!=typeof n&&(i=i||n,n=void 0),t)Ae(e,o,n,i,t[o],s);return e}if(null==i&&null==a?(a=n,i=n=void 0):null==a&&("string"==typeof n?(a=i,i=void 0):(a=i,i=n,n=void 0)),!1===a)a=Oe;else if(!a)return e;return 1===s&&(r=a,a=function(e){return k().off(e),r.apply(this,arguments)},a.guid=r.guid||(r.guid=k.guid++)),e.each(function(){k.event.add(this,t,a,i,n)})}function ze(e,t,n){n?(oe.set(e,t,!1),k.event.add(e,t,{namespace:!1,handler:function(e){var n,i=oe.get(this,t);if(1&e.isTrigger&&this[t]){if(i)(k.event.special[t]||{}).delegateType&&e.stopPropagation();else if(i=o.call(arguments),oe.set(this,t,i),this[t](),n=oe.get(this,t),oe.set(this,t,!1),i!==n)return e.stopImmediatePropagation(),e.preventDefault(),n}else i&&(oe.set(this,t,k.event.trigger(i[0],i.slice(1),this)),e.stopPropagation(),e.isImmediatePropagationStopped=Ce)}})):void 0===oe.get(e,t)&&k.event.add(e,t,Ce)}k.event={global:{},add:function(e,t,n,i,a){var s,r,o,l,d,u,c,m,h,p,f,_=oe.get(e);if(se(e))for(n.handler&&(n=(s=n).handler,a=s.selector),a&&k.find.matchesSelector(fe,a),n.guid||(n.guid=k.guid++),(l=_.events)||(l=_.events=Object.create(null)),(r=_.handle)||(r=_.handle=function(t){return void 0!==k&&k.event.triggered!==t.type?k.event.dispatch.apply(e,arguments):void 0}),d=(t=(t||"").match(V)||[""]).length;d--;)h=f=(o=Pe.exec(t[d])||[])[1],p=(o[2]||"").split(".").sort(),h&&(c=k.event.special[h]||{},h=(a?c.delegateType:c.bindType)||h,c=k.event.special[h]||{},u=k.extend({type:h,origType:f,data:i,handler:n,guid:n.guid,selector:a,needsContext:a&&k.expr.match.needsContext.test(a),namespace:p.join(".")},s),(m=l[h])||((m=l[h]=[]).delegateCount=0,c.setup&&!1!==c.setup.call(e,i,p,r)||e.addEventListener&&e.addEventListener(h,r)),c.add&&(c.add.call(e,u),u.handler.guid||(u.handler.guid=n.guid)),a?m.splice(m.delegateCount++,0,u):m.push(u),k.event.global[h]=!0)},remove:function(e,t,n,i,a){var s,r,o,l,d,u,c,m,h,p,f,_=oe.hasData(e)&&oe.get(e);if(_&&(l=_.events)){for(d=(t=(t||"").match(V)||[""]).length;d--;)if(h=f=(o=Pe.exec(t[d])||[])[1],p=(o[2]||"").split(".").sort(),h){for(c=k.event.special[h]||{},m=l[h=(i?c.delegateType:c.bindType)||h]||[],o=o[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),r=s=m.length;s--;)u=m[s],!a&&f!==u.origType||n&&n.guid!==u.guid||o&&!o.test(u.namespace)||i&&i!==u.selector&&("**"!==i||!u.selector)||(m.splice(s,1),u.selector&&m.delegateCount--,c.remove&&c.remove.call(e,u));r&&!m.length&&(c.teardown&&!1!==c.teardown.call(e,p,_.handle)||k.removeEvent(e,h,_.handle),delete l[h])}else for(h in l)k.event.remove(e,h+t[d],n,i,!0);k.isEmptyObject(l)&&oe.remove(e,"handle events")}},dispatch:function(e){var t,n,i,a,s,r,o=new Array(arguments.length),l=k.event.fix(e),d=(oe.get(this,"events")||Object.create(null))[l.type]||[],u=k.event.special[l.type]||{};for(o[0]=l,t=1;t<arguments.length;t++)o[t]=arguments[t];if(l.delegateTarget=this,!u.preDispatch||!1!==u.preDispatch.call(this,l)){for(r=k.event.handlers.call(this,l,d),t=0;(a=r[t++])&&!l.isPropagationStopped();)for(l.currentTarget=a.elem,n=0;(s=a.handlers[n++])&&!l.isImmediatePropagationStopped();)l.rnamespace&&!1!==s.namespace&&!l.rnamespace.test(s.namespace)||(l.handleObj=s,l.data=s.data,void 0!==(i=((k.event.special[s.origType]||{}).handle||s.handler).apply(a.elem,o))&&!1===(l.result=i)&&(l.preventDefault(),l.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,l),l.result}},handlers:function(e,t){var n,i,a,s,r,o=[],l=t.delegateCount,d=e.target;if(l&&d.nodeType&&!("click"===e.type&&e.button>=1))for(;d!==this;d=d.parentNode||this)if(1===d.nodeType&&("click"!==e.type||!0!==d.disabled)){for(s=[],r={},n=0;n<l;n++)void 0===r[a=(i=t[n]).selector+" "]&&(r[a]=i.needsContext?k(a,this).index(d)>-1:k.find(a,this,null,[d]).length),r[a]&&s.push(i);s.length&&o.push({elem:d,handlers:s})}return d=this,l<t.length&&o.push({elem:d,handlers:t.slice(l)}),o},addProp:function(e,t){Object.defineProperty(k.Event.prototype,e,{enumerable:!0,configurable:!0,get:g(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]}
vendor: 3,206 bytes, line 9218
9218,set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[k.expando]?e:new k.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return ke.test(t.type)&&t.click&&T(t,"input")&&ze(t,"click",!0),!1},trigger:function(e){var t=this||e;return ke.test(t.type)&&t.click&&T(t,"input")&&ze(t,"click"),!0},_default:function(e){var t=e.target;return ke.test(t.type)&&t.click&&T(t,"input")&&oe.get(t,"click")||T(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},k.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},k.Event=function(e,t){if(!(this instanceof k.Event))return new k.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Ce:Oe,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&k.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[k.expando]=!0},k.Event.prototype={constructor:k.Event,isDefaultPrevented:Oe,isPropagationStopped:Oe,isImmediatePropagationStopped:Oe,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Ce,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Ce,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Ce,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},k.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},k.event.addProp),k.each({focus:"focusin",blur:"focusout"},function(e,t){function n(e){if(v.documentMode){var n=oe.get(this,"handle"),i=k.event.fix(e);i.type="focusin"===e.type?"focus":"blur",i.isSimulated=!0,n(e),i.target===i.currentTarget&&n(i)}else k.event.simulate(t,e.target,k.event.fix(e))}k.event.special[e]={setup:function(){var i;if(ze(this,e,!0),!v.documentMode)return!1;(i=oe.get(this,t))||this.addEventListener(t,n),oe.set(this,t,(i||0)+1)},trigger:function(){return ze(this,e),!0},teardown:function(){var e;if(!v.documentMode)return!1;(e=oe.get(this,t)-1)?oe.set(this,t,e):(this.removeEventListener(t,n),oe.remove(this,t))},_default:function(t){return oe.get(t.target,e)},delegateType:t},k.event.special[t]={setup:function(){var i=this.ownerDocument||this.document||this,a=v.documentMode?this:i,s=oe.get(a,t);s||(v.documentMode?this.addEventListener(t,n):i.addEventListener(e,n,!0)),oe.set(a,t,(s||0)+1)},teardown:function(){var i=this.ownerDocument||this.document||this,a=v.documentMode?this:i,s=oe.get(a,t)-1;s?oe.set(a,t,s):(v.documentMode?this.removeEventListener(t,n):i.removeEventListener(e,n,!0),oe.remove(a,t))}}}
vendor: 5,939 bytes, line 9218
9218),k.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){k.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,i=e.relatedTarget,a=e.handleObj;return i&&(i===this||k.contains(this,i))||(e.type=a.origType,n=a.handler.apply(this,arguments),e.type=t),n}}}),k.fn.extend({on:function(e,t,n,i){return Ae(this,e,t,n,i)},one:function(e,t,n,i){return Ae(this,e,t,n,i,1)},off:function(e,t,n){var i,a;if(e&&e.preventDefault&&e.handleObj)return i=e.handleObj,k(e.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof e){for(a in e)this.off(a,t,e[a]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=Oe),this.each(function(){k.event.remove(this,e,n,t)})}});var Ie=/<script|<style|<link/i,We=/checked\s*(?:[^=]|=\s*.checked.)/i,Ne=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function Fe(e,t){return T(e,"table")&&T(11!==t.nodeType?t:t.firstChild,"tr")&&k(e).children("tbody")[0]||e}function Re(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function qe(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function $e(e,t){var n,i,a,s,r,o;if(1===t.nodeType){if(oe.hasData(e)&&(o=oe.get(e).events))for(a in oe.remove(t,"handle events"),o)for(n=0,i=o[a].length;n<i;n++)k.event.add(t,a,o[a][n]);le.hasData(e)&&(s=le.access(e),r=k.extend({},s),le.set(t,r))}}function Be(e,t){var n=t.nodeName.toLowerCase();"input"===n&&ke.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function Ge(e,t,n,i){t=l(t);var a,s,r,o,d,u,c=0,m=e.length,h=m-1,p=t[0],f=g(p);if(f||m>1&&"string"==typeof p&&!_.checkClone&&We.test(p))return e.each(function(a){var s=e.eq(a);f&&(t[0]=p.call(this,a,s.html())),Ge(s,t,n,i)});if(m&&(s=(a=je(t,e[0].ownerDocument,!1,e,i)).firstChild,1===a.childNodes.length&&(a=s),s||i)){for(o=(r=k.map(Se(a,"script"),Re)).length;c<m;c++)d=a,c!==h&&(d=k.clone(d,!0,!0),o&&k.merge(r,Se(d,"script"))),n.call(e[c],d,c);if(o)for(u=r[r.length-1].ownerDocument,k.map(r,qe),c=0;c<o;c++)d=r[c],Te.test(d.type||"")&&!oe.access(d,"globalEval")&&k.contains(u,d)&&(d.src&&"module"!==(d.type||"").toLowerCase()?k._evalUrl&&!d.noModule&&k._evalUrl(d.src,{nonce:d.nonce||d.getAttribute("nonce")},u):w(d.textContent.replace(Ne,""),d,u))}return e}function Ve(e,t,n){for(var i,a=t?k.filter(t,e):e,s=0;null!=(i=a[s]);s++)n||1!==i.nodeType||k.cleanData(Se(i)),i.parentNode&&(n&&_e(i)&&Ee(Se(i,"script")),i.parentNode.removeChild(i));return e}k.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var i,a,s,r,o=e.cloneNode(!0),l=_e(e);if(!(_.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||k.isXMLDoc(e)))for(r=Se(o),i=0,a=(s=Se(e)).length;i<a;i++)Be(s[i],r[i]);if(t)if(n)for(s=s||Se(e),r=r||Se(o),i=0,a=s.length;i<a;i++)$e(s[i],r[i]);else $e(e,o);return(r=Se(o,"script")).length>0&&Ee(r,!l&&Se(e,"script")),o},cleanData:function(e){for(var t,n,i,a=k.event.special,s=0;void 0!==(n=e[s]);s++)if(se(n)){if(t=n[oe.expando]){if(t.events)for(i in t.events)a[i]?k.event.remove(n,i):k.removeEvent(n,i,t.handle);n[oe.expando]=void 0}n[le.expando]&&(n[le.expando]=void 0)}}}),k.fn.extend({detach:function(e){return Ve(this,e,!0)},remove:function(e){return Ve(this,e)},text:function(e){return ee(this,function(e){return void 0===e?k.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return Ge(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Fe(this,e).appendChild(e)})},prepend:function(){return Ge(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Fe(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return Ge(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return Ge(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(k.cleanData(Se(e,!1)),e.textContent="");return this},clone:function(e,t){return e=e??!1,t=t??e,this.map(function(){return k.clone(this,e,t)})},html:function(e){return ee(this,function(e){var t=this[0]||{},n=0,i=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Ie.test(e)&&!xe[(De.exec(e)||["",""])[1].toLowerCase()]){e=k.htmlPrefilter(e);try{for(;n<i;n++)1===(t=this[n]||{}).nodeType&&(k.cleanData(Se(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=[];return Ge(this,arguments,function(t){var n=this.parentNode;k.inArray(this,e)<0&&(k.cleanData(Se(this)),n&&n.replaceChild(t,this))},e)}}),k.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){k.fn[e]=function(e){for(var n,i=[],a=k(e),s=a.length-1,r=0;r<=s;r++)n=r===s?this:this.clone(!0),k(a[r])[t](n),d.apply(i,n.get());return this.pushStack(i)}});var Xe=new RegExp("^("+me+")(?!px)[a-z%]+$","i"),Je=/^--/,Ue=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=i),t.getComputedStyle(e)},Ze=function(e,t,n){var i,a,s={};for(a in t)s[a]=e.style[a],e.style[a]=t[a];for(a in i=n.call(e),t)e.style[a]=s[a];return i},Ke=new RegExp(pe.join("|"),"i");function Qe(e,t,n){var i,a,s,r,o=Je.test(t),l=e.style;return(n=n||Ue(e))&&(r=n.getPropertyValue(t)||n[t],o&&r&&(r=r.replace(j,"$1")||void 0),""!==r||_e(e)||(r=k.style(e,t)),!_.pixelBoxStyles()&&Xe.test(r)&&Ke.test(t)&&(i=l.width,a=l.minWidth,s=l.maxWidth,l.minWidth=l.maxWidth=l.width=r,r=n.width,l.width=i,l.minWidth=a,l.maxWidth=s)),void 0!==r?r+"":r}function et(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function e(){if(u){d.style.cssText="position:absolute;
9218left:-11111px;width:60px;margin-top:1px;padding:0;border:0",u.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",fe.appendChild(d).appendChild(u);var e=i.getComputedStyle(u);n="1%"!==e.top,l=12===t(e.marginLeft),u.style.right="60%",r=36===t(e.right),a=36===t(e.width),u.style.position="absolute",s=12===t(u.offsetWidth/3),fe.removeChild(d),u=null}}function t(e){return Math.round(parseFloat(e))}var n,a,s,r,o,l,d=v.createElement("div"),u=v.createElement("div");u.style&&(u.style.backgroundClip="content-box",u.cloneNode(!0).style.backgroundClip="",_.clearCloneStyle="content-box"===u.style.backgroundClip,k.extend(_,{boxSizingReliable:function(){return e(),a},pixelBoxStyles:function(){return e(),r},pixelPosition:function(){return e(),n},reliableMarginLeft:function(){return e(),l},scrollboxSize:function(){return e(),s},reliableTrDimensions:function(){var e,t,n,a;return null==o&&(e=v.createElement("table"),t=v.createElement("tr"),n=v.createElement("div"),e.style.cssText="position:absolute;left:-11111px;border-collapse:separate",t.style.cssText="box-sizing:content-box;border:1px solid",t.style.height="1px",n.style.height="9px",n.style.display="block",fe.appendChild(e).appendChild(t).appendChild(n),a=i.getComputedStyle(t),o=parseInt(a.height,10)+parseInt(a.borderTopWidth,10)+parseInt(a.borderBottomWidth,10)===t.offsetHeight,fe.removeChild(e)),o}}))}();var tt=["Webkit","Moz","ms"],nt=v.createElement("div").style,it={};function at(e){return k.cssProps[e]||it[e]||(e in nt?e:it[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),n=tt.length;n--;)if((e=tt[n]+t)in nt)return e}(e)||e)}var st=/^(none|table(?!-c[ea]).+)/,rt={position:"absolute",visibility:"hidden",display:"block"},ot={letterSpacing:"0",fontWeight:"400"};function lt(e,t,n){var i=he.exec(t);return i?Math.max(0,i[2]-(n||0))+(i[3]||"px"):t}function dt(e,t,n,i,a,s){var r="width"===t?1:0,o=0,l=0,d=0;if(n===(i?"border":"content"))return 0;for(;r<4;r+=2)"margin"===n&&(d+=k.css(e,n+pe[r],!0,a)),i?("content"===n&&(l-=k.css(e,"padding"+pe[r],!0,a)),"margin"!==n&&(l-=k.css(e,"border"+pe[r]+"Width",!0,a))):(l+=k.css(e,"padding"+pe[r],!0,a),"padding"!==n?l+=k.css(e,"border"+pe[r]+"Width",!0,a):o+=k.css(e,"border"+pe[r]+"Width",!0,a));return!i&&s>=0&&(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-s-l-o-.5))||0),l+d}function ut(e,t,n){var i=Ue(e),a=(!_.boxSizingReliable()||n)&&"border-box"===k.css(e,"boxSizing",!1,i),s=a,r=Qe(e,t,i),o="offset"+t[0].toUpperCase()+t.slice(1);if(Xe.test(r)){if(!n)return r;r="auto"}return(!_.boxSizingReliable()&&a||!_.reliableTrDimensions()&&T(e,"tr")||"auto"===r||!parseFloat(r)&&"inline"===k.css(e,"display",!1,i))&&e.getClientRects().length&&(a="border-box"===k.css(e,"boxSizing",!1,i),(s=o in e)&&(r=e[o])),(r=parseFloat(r)||0)+dt(e,t,n||(a?"border":"content"),s,i,r)+"px"}function ct(e,t,n,i,a){return new ct.prototype.init(e,t,n,i,a)}k.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Qe(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(e,t,n,i){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var a,s,r,o=ae(t),l=Je.test(t),d=e.style;if(l||(t=at(o)),r=k.cssHooks[t]||k.cssHooks[o],void 0===n)return r&&"get"in r&&void 0!==(a=r.get(e,!1,i))?a:d[t];"string"==(s=typeof n)&&(a=he.exec(n))&&a[1]&&(n=ve(e,t,a),s="number"),null!=n&&n==n&&("number"!==s||l||(n+=a&&a[3]||(k.cssNumber[o]?"":"px")),_.clearCloneStyle||""!==n||0!==t.indexOf("background")||(d[t]="inherit"),r&&"set"in r&&void 0===(n=r.set(e,n,i))||(l?d.setProperty(t,n):d[t]=n))}},css:function(e,t,n,i){var a,s,r,o=ae(t);return Je.test(t)||(t=at(o)),(r=k.cssHooks[t]||k.cssHooks[o])&&"get"in r&&(a=r.get(e,!0,n)),void 0===a&&(a=Qe(e,t,i)),"normal"===a&&t in ot&&(a=ot[t]),""===n||n?(s=parseFloat(a),!0===n||isFinite(s)?s||0:a):a}}
vendor: 4,220 bytes, line 9218
9218),k.each(["height","width"],function(e,t){k.cssHooks[t]={get:function(e,n,i){if(n)return!st.test(k.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?ut(e,t,i):Ze(e,rt,function(){return ut(e,t,i)})},set:function(e,n,i){var a,s=Ue(e),r=!_.scrollboxSize()&&"absolute"===s.position,o=(r||i)&&"border-box"===k.css(e,"boxSizing",!1,s),l=i?dt(e,t,i,o,s):0;return o&&r&&(l-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(s[t])-dt(e,t,"border",!1,s)-.5)),l&&(a=he.exec(n))&&"px"!==(a[3]||"px")&&(e.style[t]=n,n=k.css(e,t)),lt(0,n,l)}}}),k.cssHooks.marginLeft=et(_.reliableMarginLeft,function(e,t){if(t)return(parseFloat(Qe(e,"marginLeft"))||e.getBoundingClientRect().left-Ze(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),k.each({margin:"",padding:"",border:"Width"},function(e,t){k.cssHooks[e+t]={expand:function(n){for(var i=0,a={},s="string"==typeof n?n.split(" "):[n];i<4;i++)a[e+pe[i]+t]=s[i]||s[i-2]||s[0];return a}},"margin"!==e&&(k.cssHooks[e+t].set=lt)}),k.fn.extend({css:function(e,t){return ee(this,function(e,t,n){var i,a,s={},r=0;if(Array.isArray(t)){for(i=Ue(e),a=t.length;r<a;r++)s[t[r]]=k.css(e,t[r],!1,i);return s}return void 0!==n?k.style(e,t,n):k.css(e,t)},e,t,arguments.length>1)}}),k.Tween=ct,ct.prototype={constructor:ct,init:function(e,t,n,i,a,s){this.elem=e,this.prop=n,this.easing=a||k.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=i,this.unit=s||(k.cssNumber[n]?"":"px")},cur:function(){var e=ct.propHooks[this.prop];return e&&e.get?e.get(this):ct.propHooks._default.get(this)},run:function(e){var t,n=ct.propHooks[this.prop];return this.options.duration?this.pos=t=k.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):ct.propHooks._default.set(this),this}},ct.prototype.init.prototype=ct.prototype,ct.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=k.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){k.fx.step[e.prop]?k.fx.step[e.prop](e):1!==e.elem.nodeType||!k.cssHooks[e.prop]&&null==e.elem.style[at(e.prop)]?e.elem[e.prop]=e.now:k.style(e.elem,e.prop,e.now+e.unit)}}},ct.propHooks.scrollTop=ct.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},k.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},k.fx=ct.prototype.init,k.fx.step={};var mt,ht,pt=/^(?:toggle|show|hide)$/,ft=/queueHooks$/;function _t(){ht&&(!1===v.hidden&&i.requestAnimationFrame?i.requestAnimationFrame(_t):i.setTimeout(_t,k.fx.interval),k.fx.tick())}function gt(){return i.setTimeout(function(){mt=void 0}),mt=Date.now()}function yt(e,t){var n,i=0,a={height:e};for(t=t?1:0;i<4;i+=2-t)a["margin"+(n=pe[i])]=a["padding"+n]=e;return t&&(a.opacity=a.width=e),a}function vt(e,t,n){for(var i,a=(Mt.tweeners[t]||[]).concat(Mt.tweeners["*"]),s=0,r=a.length;s<r;s++)if(i=a[s].call(n,t,e))return i}function Mt(e,t,n){var i,a,s=0,r=Mt.prefilters.length,o=k.Deferred().always(function(){delete l.elem}),l=function(){if(a)return!1;for(var t=mt||gt(),n=Math.max(0,d.startTime+d.duration-t),i=1-(n/d.duration||0),s=0,r=d.tweens.length;s<r;s++)d.tweens[s].run(i);return o.notifyWith(e,[d,i,n]),i<1&&r?n:(r||o.notifyWith(e,[d,1,0]),o.resolveWith(e,[d]),!1)},d=o.promise({elem:e,props:k.extend({},t),opts:k.extend(!0,{specialEasing:{},easing:k.easing._default},n),originalProperties:t,originalOptions:n,startTime:mt||gt(),duration:n.duration,tweens:[],createTween:function(t,n){var i=k.Tween(e,d.opts,t,n,d.opts.specialEasing[t]||d.opts.easing);return d.tweens.push(i),i},stop:function(t){var n=0,i=t?d.tweens.length:0;if(a)return this;for(a=!0;n<i;n++)d.tweens[n].run(1);return t?(o.notifyWith(e,[d,1,0]),o.resolveWith(e,[d,t])):o.rejectWith(e,[d,t]),this}}),u=d.props;for(function(e,t){var n,i,a,s,r;for(n in e)if(a=t[i=ae(n)],s=e[n],Array.isArray(s)&&(a=s[1],s=e[n]=s[0]),n!==i&&(e[i]=s,delete e[n]),(r=k.cssHooks[i])&&"expand"in r)for(n in s=r.expand(s),delete e[i],s)n in e||(e[
vendor: 17,136 bytes, line 9218
9218n]=s[n],t[n]=a);else t[i]=a}(u,d.opts.specialEasing);s<r;s++)if(i=Mt.prefilters[s].call(d,e,u,d.opts))return g(i.stop)&&(k._queueHooks(d.elem,d.opts.queue).stop=i.stop.bind(i)),i;return k.map(u,vt,d),g(d.opts.start)&&d.opts.start.call(e,d),d.progress(d.opts.progress).done(d.opts.done,d.opts.complete).fail(d.opts.fail).always(d.opts.always),k.fx.timer(k.extend(l,{elem:e,anim:d,queue:d.opts.queue})),d}k.Animation=k.extend(Mt,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return ve(n.elem,e,he.exec(t),n),n}]},tweener:function(e,t){g(e)?(t=e,e=["*"]):e=e.match(V);for(var n,i=0,a=e.length;i<a;i++)n=e[i],Mt.tweeners[n]=Mt.tweeners[n]||[],Mt.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var i,a,s,r,o,l,d,u,c="width"in t||"height"in t,m=this,h={},p=e.style,f=e.nodeType&&ye(e),_=oe.get(e,"fxshow");for(i in n.queue||(null==(r=k._queueHooks(e,"fx")).unqueued&&(r.unqueued=0,o=r.empty.fire,r.empty.fire=function(){r.unqueued||o()}),r.unqueued++,m.always(function(){m.always(function(){r.unqueued--,k.queue(e,"fx").length||r.empty.fire()})})),t)if(a=t[i],pt.test(a)){if(delete t[i],s=s||"toggle"===a,a===(f?"hide":"show")){if("show"!==a||!_||void 0===_[i])continue;f=!0}h[i]=_&&_[i]||k.style(e,i)}if((l=!k.isEmptyObject(t))||!k.isEmptyObject(h))for(i in c&&1===e.nodeType&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],null==(d=_&&_.display)&&(d=oe.get(e,"display")),"none"===(u=k.css(e,"display"))&&(d?u=d:(Le([e],!0),d=e.style.display||d,u=k.css(e,"display"),Le([e]))),("inline"===u||"inline-block"===u&&null!=d)&&"none"===k.css(e,"float")&&(l||(m.done(function(){p.display=d}),null==d&&(u=p.display,d="none"===u?"":u)),p.display="inline-block")),n.overflow&&(p.overflow="hidden",m.always(function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]})),l=!1,h)l||(_?"hidden"in _&&(f=_.hidden):_=oe.access(e,"fxshow",{display:d}),s&&(_.hidden=!f),f&&Le([e],!0),m.done(function(){for(i in f||Le([e]),oe.remove(e,"fxshow"),h)k.style(e,i,h[i])})),l=vt(f?_[i]:0,i,m),i in _||(_[i]=l.start,f&&(l.end=l.start,l.start=0))}],prefilter:function(e,t){t?Mt.prefilters.unshift(e):Mt.prefilters.push(e)}}),k.speed=function(e,t,n){var i=e&&"object"==typeof e?k.extend({},e):{complete:n||!n&&t||g(e)&&e,duration:e,easing:n&&t||t&&!g(t)&&t};return k.fx.off?i.duration=0:"number"!=typeof i.duration&&(i.duration in k.fx.speeds?i.duration=k.fx.speeds[i.duration]:i.duration=k.fx.speeds._default),null!=i.queue&&!0!==i.queue||(i.queue="fx"),i.old=i.complete,i.complete=function(){g(i.old)&&i.old.call(this),i.queue&&k.dequeue(this,i.queue)},i},k.fn.extend({fadeTo:function(e,t,n,i){return this.filter(ye).css("opacity",0).show().end().animate({opacity:t},e,n,i)},animate:function(e,t,n,i){var a=k.isEmptyObject(e),s=k.speed(t,n,i),r=function(){var t=Mt(this,k.extend({},e),s);(a||oe.get(this,"finish"))&&t.stop(!0)};return r.finish=r,a||!1===s.queue?this.each(r):this.queue(s.queue,r)},stop:function(e,t,n){var i=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&this.queue(e||"fx",[]),this.each(function(){var t=!0,a=null!=e&&e+"queueHooks",s=k.timers,r=oe.get(this);if(a)r[a]&&r[a].stop&&i(r[a]);else for(a in r)r[a]&&r[a].stop&&ft.test(a)&&i(r[a]);for(a=s.length;a--;)s[a].elem!==this||null!=e&&s[a].queue!==e||(s[a].anim.stop(n),t=!1,s.splice(a,1));!t&&n||k.dequeue(this,e)})},finish:function(e){return!1!==e&&(e=e||"fx"),this.each(function(){var t,n=oe.get(this),i=n[e+"queue"],a=n[e+"queueHooks"],s=k.timers,r=i?i.length:0;for(n.finish=!0,k.queue(this,e,[]),a&&a.stop&&a.stop.call(this,!0),t=s.length;t--;)s[t].elem===this&&s[t].queue===e&&(s[t].anim.stop(!0),s.splice(t,1));for(t=0;t<r;t++)i[t]&&i[t].finish&&i[t].finish.call(this);delete n.finish})}}),k.each(["toggle","show","hide"],function(e,t){var n=k.fn[t];k.fn[t]=function(e,i,a){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(yt(t,!0),e,i,a)}}),k.each({slideDown:yt("show"),slideUp:yt("hide"),slideToggle:yt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){k.fn[e]=function(e,n,i){return this.animate(t,e,n,i)}}),k.timers=[],k.fx.tick=function(){var e,t=0,n=k.timers;for(mt=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||k.fx.stop(),mt=void 0},k.fx.timer=function(e){k.timers.push(e),k.fx.start()},k.fx.interval=13,k.fx.start=function(){ht||(ht=!0,_t())},k.fx.stop=function(){ht=null},k.fx.speeds={slow:600,fast:200,_default:400},k.fn.delay=function(e,t){return e=k.fx&&k.fx.speeds[e]||e,t=t||"fx",this.queue(t,function(t,n){var a=i.setTimeout(t,e);n.stop=function(){i.clearTimeout(a)}})},function(){var e=v.createElement("input"),t=v.createElement("select").appendChild(v.createElement("option"));e.type="checkbox",_.checkOn=""!==e.value,_.optSelected=t.selected,(e=v.createElement("input")).value="t",e.type="radio",_.radioValue="t"===e.value}();var wt,Lt=k.expr.attrHandle;k.fn.extend({attr:function(e,t){return ee(this,k.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){k.removeAttr(this,e)})}}),k.extend({attr:function(e,t,n){var i,a,s=e.nodeType;if(3!==s&&8!==s&&2!==s)return void 0===e.getAttribute?k.prop(e,t,n):(1===s&&k.isXMLDoc(e)||(a=k.attrHooks[t.toLowerCase()]||(k.expr.match.bool.test(t)?wt:void 0)),void 0!==n?null===n?void k.removeAttr(e,t):a&&"set"in a&&void 0!==(i=a.set(e,n,t))?i:(e.setAttribute(t,n+""),n):a&&"get"in a&&null!==(i=a.get(e,t))?i:(i=k.find.attr(e,t))??void 0)},attrHooks:{type:{set:function(e,t){if(!_.radioValue&&"radio"===t&&T(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,i=0,a=t&&t.match(V);if(a&&1===e.nodeType)for(;n=a[i++];)e.removeAttribute(n)}}),wt={set:function(e,t,n){return!1===t?k.removeAttr(e,n):e.setAttribute(n,n),n}},k.each(k.expr.match.bool.source.match(/\w+/g),function(e,t){var n=Lt[t]||k.find.attr;Lt[t]=function(e,t,i){var a,s,r=t.toLowerCase();return i||(s=Lt[r],Lt[r]=a,a=null!=n(e,t,i)?r:null,Lt[r]=s),a}});var bt=/^(?:input|select|textarea|button)$/i,Yt=/^(?:a|area)$/i;function kt(e){return(e.match(V)||[]).join(" ")}function Dt(e){return e.getAttribute&&e.getAttribute("class")||""}function Tt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(V)||[]}k.fn.extend({prop:function(e,t){return ee(this,k.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[k.propFix[e]||e]})}}),k.extend({prop:function(e,t,n){var i,a,s=e.nodeType;if(3!==s&&8!==s&&2!==s)return 1===s&&k.isXMLDoc(e)||(t=k.propFix[t]||t,a=k.propHooks[t]),void 0!==n?a&&"set"in a&&void 0!==(i=a.set(e,n,t))?i:e[t]=n:a&&"get"in a&&null!==(i=a.get(e,t))?i:e[t]},propHooks:{tabIndex:{get:function(e){var t=k.find.attr(e,"tabindex");return t?parseInt(t,10):bt.test(e.nodeName)||Yt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),_.optSelected||(k.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),k.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){k.propFix[this.toLowerCase()]=this}),k.fn.extend({addClass:function(e){var t,n,i,a,s,r;return g(e)?this.each(function(t){k(this).addClass(e.call(this,t,Dt(this)))}):(t=Tt(e)).length?this.each(function(){if(i=Dt(this),n=1===this.nodeType&&" "+kt(i)+" "){for(s=0;s<t.length;s++)a=t[s],n.indexOf(" "+a+" ")<0&&(n+=a+" ");r=kt(n),i!==r&&this.setAttribute("class",r)}}):this},removeClass:function(e){var t,n,i,a,s,r;return g(e)?this.each(function(t){k(this).removeClass(e.call(this,t,Dt(this)))}):arguments.length?(t=Tt(e)).length?this.each(function(){if(i=Dt(this),n=1===this.nodeType&&" "+kt(i)+" "){for(s=0;s<t.length;s++)for(a=t[s];n.indexOf(" "+a+" ")>-1;)n=n.replace(" "+a+" "," ");r=kt(n),i!==r&&this.setAttribute("class",r)}}):this:this.attr("class","")},toggleClass:function(e,t){var n,i,a,s,r=typeof e,o="string"===r||Array.isArray(e);return g(e)?this.each(function(n){k(this).toggleClass(e.call(this,n,Dt(this),t),t)}):"boolean"==typeof t&&o?t?this.addClass(e):this.removeClass(e):(n=Tt(e),this.each(function(){if(o)for(s=k(this),a=0;a<n.length;a++)i=n[a],s.hasClass(i)?s.removeClass(i):s.addClass(i);else void 0!==e&&"boolean"!==r||((i=Dt(this))&&oe.set(this,"__className__",i),this.setAttribute&&this.setAttribute("class",i||!1===e?"":oe.get(this,"__className__")||""))}))},hasClass:function(e){var t,n,i=0;for(t=" "+e+" ";n=this[i++];)if(1===n.nodeType&&(" "+kt(Dt(n))+" ").indexOf(t)>-1)return!0;return!1}});var xt=/\r/g;k.fn.extend({val:function(e){var t,n,i,a=this[0];return arguments.length?(i=g(e),this.each(function(n){var a;1===this.nodeType&&(null==(a=i?e.call(this,n,k(this).val()):e)?a="":"number"==typeof a?a+="":Array.isArray(a)&&(a=k.map(a,function(e){return null==e?"":e+""})),(t=k.valHooks[this.type]||k.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,a,"value")||(this.value=a))})):a?(t=k.valHooks[a.type]||k.valHooks[a.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(a,"value"))?n:"string"==typeof(n=a.value)?n.replace(xt,""):n??"":void 0}}),k.extend({valHooks:{option:{get:function(e){var t=k.find.attr(e,"value");return null!=t?t:kt(k.text(e))}},select:{get:function(e){var t,n,i,a=e.options,s=e.selectedIndex,r="select-one"===e.type,o=r?null:[],l=r?s+1:a.length;for(i=s<0?l:r?s:0;i<l;i++)if(((n=a[i]).selected||i===s)&&!n.disabled&&(!n.parentNode.disabled||!T(n.parentNode,"optgroup"))){if(t=k(n).val(),r)return t;o.push(t)}return o},set:function(e,t){for(var n,i,a=e.options,s=k.makeArray(t),r=a.length;r--;)((i=a[r]).selected=k.inArray(k.valHooks.option.get(i),s)>-1)&&(n=!0);return n||(e.selectedIndex=-1),s}}}}),k.each(["radio","checkbox"],function(){k.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=k.inArray(k(e).val(),t)>-1}},_.checkOn||(k.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var St=i.location,Et={guid:Date.now()},Ht=/\?/;k.parseXML=function(e){var t,n;if(!e||"string"!=typeof e)return null;try{t=(new i.DOMParser).parseFromString(e,"text/xml")}catch(e){}return n=t&&t.getElementsByTagName("parsererror")[0],t&&!n||k.error("Invalid XML: "+(n?k.map(n.childNodes,function(e){return e.textContent}).join("\n"):e)),t};var jt=/^(?:focusinfocus|focusoutblur)$/,Pt=function(e){e.stopPropagation()};k.extend(k.event,{trigger:function(e,t,n,a){var s,r,o,l,d,u,c,m,p=[n||v],f=h.call(e,"type")?e.type:e,_=h.call(e,"namespace")?e.namespace.split("."):[];if(r=m=o=n=n||v,3!==n.nodeType&&8!==n.nodeType&&!jt.test(f+k.event.triggered)&&(f.indexOf(".")>-1&&(_=f.split("."),f=_.shift(),_.sort()),d=f.indexOf(":")<0&&"on"+f,(e=e[k.expando]?e:new k.Event(f,"object"==typeof e&&e)).isTrigger=a?2:3,e.namespace=_.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+_.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:k.makeArray(t,[e]),c=k.event.special[f]||{},a||!c.trigger||!1!==c.trigger.apply(n,t))){if(!a&&!c.noBubble&&!y(n)){for(l=c.delegateType||f,jt.test(l+f)||(r=r.parentNode);r;r=r.parentNode)p.push(r),o=r;o===(n.ownerDocument||v)&&p.push(o.defaultView||o.parentWindow||i)}for(s=0;(r=p[s++])&&!e.isPropagationStopped();)m=r,e.type=s>1?l:c.bindType||f,(u=(oe.get(r,"events")||Object.create(null))[e.type]&&oe.get(r,"handle"))&&u.apply(r,t),(u=d&&r[d])&&u.apply&&se(r)&&(e.result=u.apply(r,t),!1===e.result&&e.preventDefault());return e.type=f,a||e.isDefaultPrevented()||c._default&&!1!==c._default.apply(p.pop(),t)||!se(n)||d&&g(n[f])&&!y(n)&&((o=n[d])&&(n[d]=null),k.event.triggered=f,e.isPropagationStopped()&&m.addEventListener(f,Pt),n[f](),e.isPropagationStopped()&&m.removeEventListener(f,Pt),k.event.triggered=void 0,o&&(n[d]=o)),e.result}},simulate:function(e,t,n){var i=k.extend(new k.Event,n,{type:e,isSimulated:!0});k.event.trigger(i,null,t)}}),k.fn.extend({trigger:function(e,t){return this.each(function(){k.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return k.event.trigger(e,t,n,!0)}});var Ct=/\[\]$/,Ot=/\r?\n/g,At=/^(?:submit|button|image|reset|file)$/i,zt=/^(?:input|select|textarea|keygen)/i;function It(e,t,n,i){var a;if(Array.isArray(t))k.each(t,function(t,a){n||Ct.test(e)?i(e,a):It(e+"["+("object"==typeof a&&null!=a?t:"")+"]",a,n,i)});else if(n||"object"!==L(t))i(e,t);else for(a in t)It(e+"["+a+"]",t[a],n,i)}k.param=function(e,t){var n,i=[],a=function(e,t){var n=g(t)?t():t;i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(n??"")};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!k.isPlainObject(e))k.each(e,function(){a(this.name,this.value)});else for(n in e)It(n,e[n],t,a);return i.join("&")},k.fn.extend({serialize:function(){return k.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=k.prop(this,"elements");return e?k.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!k(this).is(":disabled")&&zt.test(this.nodeName)&&!At.test(e)&&(this.checked||!ke.test(e))}).map(function(e,t){var n=k(this).val();return null==n?null:Array.isArray(n)?k.map(n,function(e){return{name:t.name,value:e.replace(Ot,"\r\n")}}):{name:t.name,value:n.replace(Ot,"\r\n")}}).get()}});var Wt=/%20/g,Nt=/#.*$/,Ft=/([?&])_=[^&]*/,Rt=/^(.*?):[ \t]*([^\r\n]*)$/gm,qt=/^(?:GET|HEAD)$/,$t=/^\/\//,Bt={},Gt={},Vt="*/".concat("*"),Xt=v.createElement("a");function Jt(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var i,a=0,s=t.toLowerCase().match(V)||[];if(g(n))for(;i=s[a++];)"+"===i[0]?(i=i.slice(1)||"*",(e[i]=e[i]||[]).unshift(n)):(e[i]=e[i]||[]).push(n)}}function Ut(e,t,n,i){var a={},s=e===Gt;function r(o){var l;return a[o]=!0,k.each(e[o]||[],function(e,o){var d=o(t,n,i);return"string"!=typeof d||s||a[d]?s?!(l=d):void 0:(t.dataTypes.unshift(d),r(d),!1)}),l}return r(t.dataTypes[0])||!a["*"]&&r("*")}function Zt(e,t){var n,i,a=k.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((a[n]?e:i||(i={}))[n]=t[n]);return i&&k.extend(!0,e,i),e}Xt.href=St.href,k.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:St.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(St.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Vt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":k.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Zt(Zt(e,k.ajaxSettings),t):Zt(k.ajaxSettings,e)},ajaxPrefilter:Jt(Bt),ajaxTransport:Jt(Gt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var n,a,s,r,o,l,d,u,c,m,h=k.ajaxSetup({},t),p=h.context||h,f=h.context&&(p.nodeType||p.jquery)?k(p):k.event,_=k.Deferred(),g=k.Callbacks("once memory"),y=h.statusCode||{},M={},w={},L="canceled",b={readyState:0,getResponseHeader:function(e){var t;if(d){if(!r)for(r={};t=Rt.exec(s);)r[t[1].toLowerCase()+" "]=(r[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=r[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return d?s:null},setRequestHeader:function(e,t){return null==d&&(e=w[e.toLowerCase()]=w[e.toLowerCase()]||e,M[e]=t),this},overrideMimeType:function(e){return null==d&&(h.mimeType=e),this},statusCode:function(e){var t;if(e)if(d)b.always(e[b.status]);else for(t in e)y[t]=[y[t],e[t]];return this},abort:function(e){var t=e||L;return n&&n.abort(t),Y(0,t),this}};if(_.promise(b),h.url=((e||h.url||St.href)+"").replace($t,St.protocol+"//"),h.type=t.method||t.type||h.method||h.type,h.dataTypes=(h.dataType||"*").toLowerCase().match(V)||[""],null==h.crossDomain){l=v.createElement("a");try{l.href=h.url,l.href=l.href,h.crossDomain=Xt.protocol+"//"+Xt.host!=l.protocol+"//"+l.host}catch(e){h.crossDomain=!0}}if(h.data&&h.processData&&"string"!=typeof h.data&&(h.data=k.param(h.data,h.traditional)),Ut(Bt,h,t,b),d)return b;for(c in(u=k.event&&h.global)&&0===k.active++&&k.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!qt.test(h.type),a=h.url.replace(Nt,""),h.hasContent?h.data&&h.processData&&0===(h.contentType||"").indexOf("application/x-www-form-urlencoded")&&(h.data=h.data.replace(Wt,"+")):(m=h.url.slice(a.length),h.data&&(h.processData||"string"==typeof h.data)&&(a+=(Ht.test(a)?"&":"?")+h.data,delete h.data),!1===h.cache&&(a=a.replace(Ft,"$1"),m=(Ht.test(a)?"&":"?")+"_="+Et.guid+++m),h.url=a+m),h.ifModified&&(k.lastModified[a]&&b.setRequestHeader("If-Modified-Since",k.lastModified[a]),k.etag[a]&&b.setRequestHeader("If-None-Match",k.etag[a])),(h.data&&h.hasContent&&!1!==h.contentType||t.contentType)&&b.setRequestHeader("Content-Type",h.contentType),b.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+Vt+"; q=0.01":""):h.accepts["*"]),h.headers)b.setRequestHeader(c,h.headers[c]);
vendor: 11,242 bytes, line 9218
9218if(h.beforeSend&&(!1===h.beforeSend.call(p,b,h)||d))return b.abort();if(L="abort",g.add(h.complete),b.done(h.success),b.fail(h.error),n=Ut(Gt,h,t,b)){if(b.readyState=1,u&&f.trigger("ajaxSend",[b,h]),d)return b;h.async&&h.timeout>0&&(o=i.setTimeout(function(){b.abort("timeout")},h.timeout));try{d=!1,n.send(M,Y)}catch(e){if(d)throw e;Y(-1,e)}}else Y(-1,"No Transport");function Y(e,t,r,l){var c,m,v,M,w,L=t;d||(d=!0,o&&i.clearTimeout(o),n=void 0,s=l||"",b.readyState=e>0?4:0,c=e>=200&&e<300||304===e,r&&(M=function(e,t,n){for(var i,a,s,r,o=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===i&&(i=e.mimeType||t.getResponseHeader("Content-Type"));if(i)for(a in o)if(o[a]&&o[a].test(i)){l.unshift(a);break}if(l[0]in n)s=l[0];else{for(a in n){if(!l[0]||e.converters[a+" "+l[0]]){s=a;break}r||(r=a)}s=s||r}if(s)return s!==l[0]&&l.unshift(s),n[s]}(h,b,r)),!c&&k.inArray("script",h.dataTypes)>-1&&k.inArray("json",h.dataTypes)<0&&(h.converters["text script"]=function(){}),M=function(e,t,n,i){var a,s,r,o,l,d={},u=e.dataTypes.slice();if(u[1])for(r in e.converters)d[r.toLowerCase()]=e.converters[r];for(s=u.shift();s;)if(e.responseFields[s]&&(n[e.responseFields[s]]=t),!l&&i&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=s,s=u.shift())if("*"===s)s=l;else if("*"!==l&&l!==s){if(!(r=d[l+" "+s]||d["* "+s]))for(a in d)if((o=a.split(" "))[1]===s&&(r=d[l+" "+o[0]]||d["* "+o[0]])){!0===r?r=d[a]:!0!==d[a]&&(s=o[0],u.unshift(o[1]));break}if(!0!==r)if(r&&e.throws)t=r(t);else try{t=r(t)}catch(e){return{state:"parsererror",error:r?e:"No conversion from "+l+" to "+s}}}return{state:"success",data:t}}(h,M,b,c),c?(h.ifModified&&((w=b.getResponseHeader("Last-Modified"))&&(k.lastModified[a]=w),(w=b.getResponseHeader("etag"))&&(k.etag[a]=w)),204===e||"HEAD"===h.type?L="nocontent":304===e?L="notmodified":(L=M.state,m=M.data,c=!(v=M.error))):(v=L,!e&&L||(L="error",e<0&&(e=0))),b.status=e,b.statusText=(t||L)+"",c?_.resolveWith(p,[m,L,b]):_.rejectWith(p,[b,L,v]),b.statusCode(y),y=void 0,u&&f.trigger(c?"ajaxSuccess":"ajaxError",[b,h,c?m:v]),g.fireWith(p,[b,L]),u&&(f.trigger("ajaxComplete",[b,h]),--k.active||k.event.trigger("ajaxStop")))}return b},getJSON:function(e,t,n){return k.get(e,t,n,"json")},getScript:function(e,t){return k.get(e,void 0,t,"script")}}),k.each(["get","post"],function(e,t){k[t]=function(e,n,i,a){return g(n)&&(a=a||i,i=n,n=void 0),k.ajax(k.extend({url:e,type:t,dataType:a,data:n,success:i},k.isPlainObject(e)&&e))}}),k.ajaxPrefilter(function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")}),k._evalUrl=function(e,t,n){return k.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){k.globalEval(e,t,n)}})},k.fn.extend({wrapAll:function(e){var t;return this[0]&&(g(e)&&(e=e.call(this[0])),t=k(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(e){return g(e)?this.each(function(t){k(this).wrapInner(e.call(this,t))}):this.each(function(){var t=k(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=g(e);return this.each(function(n){k(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){k(this).replaceWith(this.childNodes)}),this}}),k.expr.pseudos.hidden=function(e){return!k.expr.pseudos.visible(e)},k.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},k.ajaxSettings.xhr=function(){try{return new i.XMLHttpRequest}catch(e){}};var Kt={0:200,1223:204},Qt=k.ajaxSettings.xhr();_.cors=!!Qt&&"withCredentials"in Qt,_.ajax=Qt=!!Qt,k.ajaxTransport(function(e){var t,n;if(_.cors||Qt&&!e.crossDomain)return{send:function(a,s){var r,o=e.xhr();if(o.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(r in e.xhrFields)o[r]=e.xhrFields[r];for(r in e.mimeType&&o.overrideMimeType&&o.overrideMimeType(e.mimeType),e.crossDomain||a["X-Requested-With"]||(a["X-Requested-With"]="XMLHttpRequest"),a)o.setRequestHeader(r,a[r]);t=function(e){return function(){t&&(t=n=o.onload=o.onerror=o.onabort=o.ontimeout=o.onreadystatechange=null,"abort"===e?o.abort():"error"===e?"number"!=typeof o.status?s(0,"error"):s(o.status,o.statusText):s(Kt[o.status]||o.status,o.statusText,"text"!==(o.responseType||"text")||"string"!=typeof o.responseText?{binary:o.response}:{text:o.responseText},o.getAllResponseHeaders()))}},o.onload=t(),n=o.onerror=o.ontimeout=t("error"),void 0!==o.onabort?o.onabort=n:o.onreadystatechange=function(){4===o.readyState&&i.setTimeout(function(){t&&n()})},t=t("abort");try{o.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}}),k.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),k.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return k.globalEval(e),e}}}),k.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),k.ajaxTransport("script",function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(i,a){t=k("<script>").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&a("error"===e.type?404:200,e.type)}),v.head.appendChild(t[0])},abort:function(){n&&n()}}});var en,tn=[],nn=/(=)\?(?=&|$)|\?\?/;k.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=tn.pop()||k.expando+"_"+Et.guid++;return this[e]=!0,e}}),k.ajaxPrefilter("json jsonp",function(e,t,n){var a,s,r,o=!1!==e.jsonp&&(nn.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&nn.test(e.data)&&"data");if(o||"jsonp"===e.dataTypes[0])return a=e.jsonpCallback=g(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,o?e[o]=e[o].replace(nn,"$1"+a):!1!==e.jsonp&&(e.url+=(Ht.test(e.url)?"&":"?")+e.jsonp+"="+a),e.converters["script json"]=function(){return r||k.error(a+" was not called"),r[0]},e.dataTypes[0]="json",s=i[a],i[a]=function(){r=arguments},n.always(function(){void 0===s?k(i).removeProp(a):i[a]=s,e[a]&&(e.jsonpCallback=t.jsonpCallback,tn.push(a)),r&&g(s)&&s(r[0]),r=s=void 0}),"script"}),_.createHTMLDocument=((en=v.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===en.childNodes.length),k.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(_.createHTMLDocument?((i=(t=v.implementation.createHTMLDocument("")).createElement("base")).href=v.location.href,t.head.appendChild(i)):t=v),s=!n&&[],(a=N.exec(e))?[t.createElement(a[1])]:(a=je([e],t,s),s&&s.length&&k(s).remove(),k.merge([],a.childNodes)));var i,a,s},k.fn.load=function(e,t,n){var i,a,s,r=this,o=e.indexOf(" ");return o>-1&&(i=kt(e.slice(o)),e=e.slice(0,o)),g(t)?(n=t,t=void 0):t&&"object"==typeof t&&(a="POST"),r.length>0&&k.ajax({url:e,type:a||"GET",dataType:"html",data:t}).done(function(e){s=arguments,r.html(i?k("<div>").append(k.parseHTML(e)).find(i):e)}).always(n&&function(e,t){r.each(function(){n.apply(this,s||[e.responseText,t,e])})}),this},k.expr.pseudos.animated=function(e){return k.grep(k.timers,function(t){return e===t.elem}).length},k.offset={setOffset:function(e,t,n){var i,a,s,r,o,l,d=k.css(e,"position"),u=k(e),c={};"static"===d&&(e.style.position="relative"),o=u.offset(),s=k.css(e,"top"),l=k.css(e,"left"),("absolute"===d||"fixed"===d)&&(s+l).indexOf("auto")>-1?(r=(i=u.position()).top,a=i.left):(r=parseFloat(s)||0,a=parseFloat(l)||0),g(t)&&(t=t.call(e,n,k.extend({},o))),null!=t.top&&(c.top=t.top-o.top+r),null!=t.left&&(c.left=t.left-o.left+a),"using"in t?t.using.call(e,c):u.css(c)}},k.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){k.offset.setOffset(this,e,t)});var t,n,i=this[0];return i?i.getClientRects().length?(t=i.getBoundingClientRect(),n=i.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,i=this[0],a={top:0,left:0};if("fixed"===k.css(i,"position"))t=i.getBoundingClientRect();else{for(t=this.offset(),n=i.ownerDocument,e=i.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===k.css(e,"position");)e=e.parentNode;e&&e!==i&&1===e.nodeType&&((a=k(e).offset()).top+=k.css(e,"borderTopWidth",!0),a.left+=k.css(e,"borderLeftWidth",!0))}return{top:t.top-a.top-k.css(i,"marginTop",!0),left:t.left-a.left-k.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===k.css(e,"position");)e=e.offsetParent;return e||fe})}}),k.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n="pageYOffset"===t;k.fn[e]=function(i){return ee(this,function(e,i,a){var s;if(y(e)?s=e:9===e.nodeType&&(s=e.defaultView),void 0===a)return s?s[t]:e[i];s?s.scrollTo(n?s.pageXOffset:a,n?a:s.pageYOffset):e[i]=a},e,i,arguments.length)}}),k.each(["top","left"],function(e,t){k.cssHooks[t]=et(_.pixelPosition,function(e,n){if(n)return n=Qe(e,t),Xe.test(n)?k(e).position()[t]+"px":n})}),k.each({Height:"height",Width:"width"},function(e,t){k.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,i){k.fn[i]=function(a,s){var r=arguments.length&&(n||"boolean"!=typeof a),o=n||(!0===a||!0===s?"margin":"border");return ee(this,function(t,n,a){var s;return y(t)?0===i.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(s=t.documentElement,Math.max(t.body["scroll"+e],s["scroll"+e],t.body["offset"+e],s["offset"+e],s["client"+e])):void 0===a?k.css(t,n,o):k.style(t,n,a,o)},t,r?a:void 0,r)}})}),k.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){k.fn[t]=function(e){return this.on(t,e)}}),k.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,i){return this.on(t,e,n,i)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.on("mouseenter",e).on("mouseleave",t||e)}}),k.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,t){k.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}});var an=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;k.proxy=function(e,t){var n,i,a;if("string"==typeof t&&(n=e[t],t=e,e=n),g(e))return i=o.call(arguments,2),a=function(){return e.apply(t||this,i.concat(o.call(arguments)))},a.guid=e.guid=e.guid||k.guid++,a},k.holdReady=function(e){e?k.readyWait++:k.ready(!0)},k.isArray=Array.isArray,k.parseJSON=JSON.parse,k.nodeName=T,k.isFunction=g,k.isWindow=y,k.camelCase=ae,k.type=L,k.now=Date.now,k.isNumeric=function(e){var t=k.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},k.trim=function(e){return null==e?"":(e+"").replace(an,"$1")},void 0===(n=function(){return k}
vendor: 7,111 bytes, line 9218
9218.apply(t,[]))||(e.exports=n);var sn=i.jQuery,rn=i.$;return k.noConflict=function(e){return i.$===k&&(i.$=rn),e&&i.jQuery===k&&(i.jQuery=sn),k},void 0===a&&(i.jQuery=i.$=k),k})},4717(e){e.exports=function(e){var t=function(n,i,a){var s=n.splice(0,50);a=(a=a||[]).concat(e.add(s)),n.length>0?setTimeout(function(){t(n,i,a)},1):(e.update(),i(a))};return t}},4249(e){e.exports=function(e){return e.handlers.filterStart=e.handlers.filterStart||[],e.handlers.filterComplete=e.handlers.filterComplete||[],function(t){if(e.trigger("filterStart"),e.i=1,e.reset.filter(),void 0===t)e.filtered=!1;else{e.filtered=!0;for(var n=e.items,i=0,a=n.length;i<a;i++){var s=n[i];t(s)?s.filtered=!0:s.filtered=!1}}return e.update(),e.trigger("filterComplete"),e.visibleItems}}},4844(e,t,n){n(5981);var i=n(6332),a=n(433),s=n(8340),r=n(378),o=n(7481);e.exports=function(e,t){t=a({location:0,distance:100,threshold:.4,multiSearch:!0,searchClass:"fuzzy-search"},t=t||{});var n={search:function(i,a){for(var s=t.multiSearch?i.replace(/ +$/,"").split(/ +/):[i],r=0,o=e.items.length;r<o;r++)n.item(e.items[r],a,s)},item:function(e,t,i){for(var a=!0,s=0;s<i.length;s++){for(var r=!1,o=0,l=t.length;o<l;o++)n.values(e.values(),t[o],i[s])&&(r=!0);r||(a=!1)}e.found=a},values:function(e,n,i){if(e.hasOwnProperty(n)){var a=s(e[n]).toLowerCase();if(o(a,i,t))return!0}return!1}};return i.bind(r(e.listContainer,t.searchClass),"keyup",e.utils.events.debounce(function(t){var i=t.target||t.srcElement;e.search(i.value,n.search)},e.searchDelay)),function(t,i){e.search(t,i,n.search)}}},9799(e,t,n){var i=n(2813),a=n(378),s=n(433),r=n(2859),o=n(6332),l=n(8340),d=n(5981),u=n(8200),c=n(9212);e.exports=function(e,t,m){var h,p=this,f=n(6608)(p),_=n(4717)(p),g=n(3195)(p);h={start:function(){p.listClass="list",p.searchClass="search",p.sortClass="sort",p.page=1e4,p.i=1,p.items=[],p.visibleItems=[],p.matchingItems=[],p.searched=!1,p.filtered=!1,p.searchColumns=void 0,p.searchDelay=0,p.handlers={updated:[]},p.valueNames=[],p.utils={getByClass:a,extend:s,indexOf:r,events:o,toString:l,naturalSort:i,classes:d,getAttribute:u,toArray:c},p.utils.extend(p,t),p.listContainer="string"==typeof e?document.getElementById(e):e,p.listContainer&&(p.list=a(p.listContainer,p.listClass,!0),p.parse=n(8672)(p),p.templater=n(4939)(p),p.search=n(4647)(p),p.filter=n(4249)(p),p.sort=n(6343)(p),p.fuzzySearch=n(4844)(p,t.fuzzySearch),this.handlers(),this.items(),this.pagination(),p.update())},handlers:function(){for(var e in p.handlers)p[e]&&p.handlers.hasOwnProperty(e)&&p.on(e,p[e])},items:function(){p.parse(p.list),void 0!==m&&p.add(m)},pagination:function(){if(void 0!==t.pagination){!0===t.pagination&&(t.pagination=[{}]),void 0===t.pagination[0]&&(t.pagination=[t.pagination]);for(var e=0,n=t.pagination.length;e<n;e++)g(t.pagination[e])}}},this.reIndex=function(){p.items=[],p.visibleItems=[],p.matchingItems=[],p.searched=!1,p.filtered=!1,p.parse(p.list)},this.toJSON=function(){for(var e=[],t=0,n=p.items.length;t<n;t++)e.push(p.items[t].values());return e},this.add=function(e,t){if(0!==e.length){if(!t){var n=[],i=!1;void 0===e[0]&&(e=[e]);for(var a=0,s=e.length;a<s;a++){var r;i=p.items.length>p.page,r=new f(e[a],void 0,i),p.items.push(r),n.push(r)}return p.update(),n}_(e.slice(0),t)}},this.show=function(e,t){return this.i=e,this.page=t,p.update(),p},this.remove=function(e,t,n){for(var i=0,a=0,s=p.items.length;a<s;a++)p.items[a].values()[e]==t&&(p.templater.remove(p.items[a],n),p.items.splice(a,1),s--,a--,i++);return p.update(),i},this.get=function(e,t){for(var n=[],i=0,a=p.items.length;i<a;i++){var s=p.items[i];s.values()[e]==t&&n.push(s)}return n},this.size=function(){return p.items.length},this.clear=function(){return p.templater.clear(),p.items=[],p},this.on=function(e,t){return p.handlers[e].push(t),p},this.off=function(e,t){var n=p.handlers[e],i=r(n,t);return i>-1&&n.splice(i,1),p},this.trigger=function(e){for(var t=p.handlers[e].length;t--;)p.handlers[e][t](p);return p},this.reset={filter:function(){for(var e=p.items,t=e.length;t--;)e[t].filtered=!1;return p},search:function(){for(var e=p.items,t=e.length;t--;)e[t].found=!1;return p}},this.update=function(){var e=p.items,t=e.length;p.visibleItems=[],p.matchingItems=[],p.templater.clear();for(var n=0;n<t;n++)e[n].matching()&&p.matchingItems.length+1>=p.i&&p.visibleItems.length<p.page?(e[n].show(),p.visibleItems.push(e[n]),p.matchingItems.push(e[n])):e[n].matching()?(p.matchingItems.push(e[n]),e[n].hide()):e[n].hide();return p.trigger("updated"),p},h.start()}},6608(e){e.exports=function(e){return function(t,n,i){var a=this;this._values={},this.found=!1,this.filtered=!1,this.values=function(t,n){if(void 0===t)return a._values;for(var i in t)a._values[i]=t[i];!0!==n&&e.templater.set(a,a.values())},this.show=function(){e.templater.show(a)},this.hide=function(){e.templater.hide(a)},this.matching=function(){return e.filtered&&e.searched&&a.found&&a.filtered||e.filtered&&!e.searched&&a.filtered||!e.filtered&&e.searched&&a.found||!e.filtered&&!e.searched},this.visible=function(){return!(!a.elm||a.elm.parentNode!=e.list)},function(t,n,i){if(void 0===n)i?a.values(t,i):a.values(t);else{a.elm=n;var s=e.templater.get(a,t);a.values(s)}}(t,n,i)}}},3195(e,t,n){var i=n(5981),a=n(6332),s=n(9799);e.exports=function(e){var t=!1,n=function(n,a){if(e.page<1)return e.listContainer.style.display="none",void(t=!0);t&&(e.listContainer.style.display="block");var s,o=e.matchingItems.length,l=e.i,d=e.page,u=Math.ceil(o/d),c=Math.ceil(l/d),m=a.innerWindow||2,h=a.left||a.outerWindow||0,p=a.right||a.outerWindow||0;p=u-p,n.clear();for(var f=1;f<=u;f++){var _=c===f?"active":"";r.number(f,h,p,c,m)?(s=n.add({page:f,dotted:!1})[0],_&&i(s.elm).add(_),s.elm.firstChild.setAttribute("data-i",f),s.elm.firstChild.setAttribute("data-page",d)):r.dotted(n,f,h,p,c,m,n.size())&&(s=n.add({page:"...",dotted:!0})[0],i(s.elm).add("disabled"))}},r={number:function(e,t,n,i,a){return this.left(e,t)||this.right(e,n)||this.innerWindow(e,i,a)},left:function(e,t){return e<=t},right:function(e,t){return e>t},innerWindow:function(e,t,n){return e>=t-n&&e<=t+n},dotted:function(e,t,n,i,a,s,r){return this.dottedLeft(e,t,n,i,a,s)||this.dottedRight(e,t,n,i,a,s,r)},dottedLeft:function(e,t,n,i,a,s){return t==n+1&&!this.innerWindow(t,a,s)&&!this.right(t,i)},dottedRight:function(e,t,n,i,a,s,r){return!e.items[r-1].values().dotted&&t==i&&!this.innerWindow(t,a,s)&&!this.right(t,i)}};return function(t){var i=new s(e.listContainer.id,{listClass:t.paginationClass||"pagination",item:t.item||"<li><a class='page' href='#'></a></li>",valueNames:["page","dotted"],searchClass:"pagination-search-that-is-not-supposed-to-exist",sortClass:"pagination-sort-that-is-not-supposed-to-exist"});a.bind(i.listContainer,"click",function(t){var n=t.target||t.srcElement,i=e.utils.getAttribute(n,"data-page"),a=e.utils.getAttribute(n,"data-i");a&&e.show((a-1)*i+1,i)}),e.on("updated",function(){n(i,t)}),n(i,t)}}},8672(e,t,n){e.exports=function(e){var t=n(6608)(e),i=function(n,i){for(var a=0,s=n.length;a<s;a++)e.items.push(new t(i,n[a]))},a=function(t,n){var s=t.splice(0,50);i(s,n),t.length>0?setTimeout(function(){a(t,n)}
vendor: 4,282 bytes, line 9218
9218,1):(e.update(),e.trigger("parseComplete"))};return e.handlers.parseComplete=e.handlers.parseComplete||[],function(){var t=function(e){for(var t=e.childNodes,n=[],i=0,a=t.length;i<a;i++)void 0===t[i].data&&n.push(t[i]);return n}(e.list),n=e.valueNames;e.indexAsync?a(t,n):i(t,n)}}},4647(e){e.exports=function(e){var t,n,i,a={resetList:function(){e.i=1,e.templater.clear(),i=void 0},setOptions:function(e){2==e.length&&e[1]instanceof Array?t=e[1]:2==e.length&&"function"==typeof e[1]?(t=void 0,i=e[1]):3==e.length?(t=e[1],i=e[2]):t=void 0},setColumns:function(){0!==e.items.length&&void 0===t&&(t=void 0===e.searchColumns?a.toArray(e.items[0].values()):e.searchColumns)},setSearchString:function(t){t=(t=e.utils.toString(t).toLowerCase()).replace(/[-[\]{}()*+?.,\\^$|#]/g,"\\$&"),n=t},toArray:function(e){var t=[];for(var n in e)t.push(n);return t}},s=function(s){return e.trigger("searchStart"),a.resetList(),a.setSearchString(s),a.setOptions(arguments),a.setColumns(),""===n?(e.reset.search(),e.searched=!1):(e.searched=!0,i?i(n,t):function(){for(var i,a=[],s=n;null!==(i=s.match(/"([^"]+)"/));)a.push(i[1]),s=s.substring(0,i.index)+s.substring(i.index+i[0].length);(s=s.trim()).length&&(a=a.concat(s.split(/\s+/)));for(var r=0,o=e.items.length;r<o;r++){var l=e.items[r];if(l.found=!1,a.length){for(var d=0,u=a.length;d<u;d++){for(var c=!1,m=0,h=t.length;m<h;m++){var p=l.values(),f=t[m];if(p.hasOwnProperty(f)&&void 0!==p[f]&&null!==p[f]&&-1!==("string"!=typeof p[f]?p[f].toString():p[f]).toLowerCase().indexOf(a[d])){c=!0;break}}if(!c)break}l.found=c}}}()),e.update(),e.trigger("searchComplete"),e.visibleItems};return e.handlers.searchStart=e.handlers.searchStart||[],e.handlers.searchComplete=e.handlers.searchComplete||[],e.utils.events.bind(e.utils.getByClass(e.listContainer,e.searchClass),"keyup",e.utils.events.debounce(function(t){var n=t.target||t.srcElement;""===n.value&&!e.searched||s(n.value)},e.searchDelay)),e.utils.events.bind(e.utils.getByClass(e.listContainer,e.searchClass),"input",function(e){""===(e.target||e.srcElement).value&&s("")}),s}},6343(e){e.exports=function(e){var t={els:void 0,clear:function(){for(var n=0,i=t.els.length;n<i;n++)e.utils.classes(t.els[n]).remove("asc"),e.utils.classes(t.els[n]).remove("desc")},getOrder:function(t){var n=e.utils.getAttribute(t,"data-order");return"asc"==n||"desc"==n?n:e.utils.classes(t).has("desc")?"asc":e.utils.classes(t).has("asc")?"desc":"asc"},getInSensitive:function(t,n){var i=e.utils.getAttribute(t,"data-insensitive");n.insensitive="false"!==i},setOrder:function(n){for(var i=0,a=t.els.length;i<a;i++){var s=t.els[i];if(e.utils.getAttribute(s,"data-sort")===n.valueName){var r=e.utils.getAttribute(s,"data-order");"asc"==r||"desc"==r?r==n.order&&e.utils.classes(s).add(n.order):e.utils.classes(s).add(n.order)}}}},n=function(){e.trigger("sortStart");var n={},i=arguments[0].currentTarget||arguments[0].srcElement||void 0;i?(n.valueName=e.utils.getAttribute(i,"data-sort"),t.getInSensitive(i,n),n.order=t.getOrder(i)):((n=arguments[1]||n).valueName=arguments[0],n.order=n.order||"asc",n.insensitive=void 0===n.insensitive||n.insensitive),t.clear(),t.setOrder(n);var a,s=n.sortFunction||e.sortFunction||null,r="desc"===n.order?-1:1;a=s?function(e,t){return s(e,t,n)*r}:function(t,i){var a=e.utils.naturalSort;return a.alphabet=e.alphabet||n.alphabet||void 0,!a.alphabet&&n.insensitive&&(a=e.utils.naturalSort.caseInsensitive),a(t.values()[n.valueName],i.values()[n.valueName])*r},e.items.sort(a),e.update(),e.trigger("sortComplete")};return e.handlers.sortStart=e.handlers.sortStart||[],e.handlers.sortComplete=e.handlers.sortComplete||[],t.els=e.utils.getByClass(e.listContainer,e.sortClass),e.utils.events.bind(t.els,"click",n),e.on("searchStart",t.clear),e.on("filterStart",t.clear),n}},4939(e){var t=function(e){var t,n=this,i=function(e){if("string"==typeof e){if(/<tr[\s>]/g.exec(e)){var t=document.createElement("tbody");return t.innerHTML=e,t.firstElementChild}if(-1!==e.indexOf("<")){var n=document.createElement("div");return n.innerHTML=e,n.firstElementChild}}},a=function(t,n,i){var a=void 0,s=function(t){for(var n=0,i=e.valueNames.length;n<i;n++){var a=e.valueNames[n];if(a.data){for(var s=a.data,r=0,o=s.length;r<o;r++)if(s[r]===t)return{data:t}}else{if(a.attr&&a.name&&a.name==t)return a;
vendor: 4,489 bytes, line 9218
9218if(a===t)return t}}}(n);s&&(s.data?t.elm.setAttribute("data-"+s.data,i):s.attr&&s.name?(a=e.utils.getByClass(t.elm,s.name,!0))&&a.setAttribute(s.attr,i):(a=e.utils.getByClass(t.elm,s,!0))&&(a.innerHTML=i))};this.get=function(t,i){n.create(t);for(var a={},s=0,r=i.length;s<r;s++){var o=void 0,l=i[s];if(l.data)for(var d=0,u=l.data.length;d<u;d++)a[l.data[d]]=e.utils.getAttribute(t.elm,"data-"+l.data[d]);else l.attr&&l.name?(o=e.utils.getByClass(t.elm,l.name,!0),a[l.name]=o?e.utils.getAttribute(o,l.attr):""):(o=e.utils.getByClass(t.elm,l,!0),a[l]=o?o.innerHTML:"")}return a},this.set=function(e,t){if(!n.create(e))for(var i in t)t.hasOwnProperty(i)&&a(e,i,t[i])},this.create=function(e){return void 0===e.elm&&(e.elm=t(e.values()),n.set(e,e.values()),!0)},this.remove=function(t){t.elm.parentNode===e.list&&e.list.removeChild(t.elm)},this.show=function(t){n.create(t),e.list.appendChild(t.elm)},this.hide=function(t){void 0!==t.elm&&t.elm.parentNode===e.list&&e.list.removeChild(t.elm)},this.clear=function(){if(e.list.hasChildNodes())for(;e.list.childNodes.length>=1;)e.list.removeChild(e.list.firstChild)},function(){var n;if("function"!=typeof e.item){if(!(n="string"==typeof e.item?-1===e.item.indexOf("<")?document.getElementById(e.item):i(e.item):function(){for(var t=e.list.childNodes,n=0,i=t.length;n<i;n++)if(void 0===t[n].data)return t[n].cloneNode(!0)}()))throw new Error("The list needs to have at least one item on init otherwise you'll have to add a template.");n=function(t,n){var i=t.cloneNode(!0);i.removeAttribute("id");for(var a=0,s=n.length;a<s;a++){var r=void 0,o=n[a];if(o.data)for(var l=0,d=o.data.length;l<d;l++)i.setAttribute("data-"+o.data[l],"");else o.attr&&o.name?(r=e.utils.getByClass(i,o.name,!0))&&r.setAttribute(o.attr,""):(r=e.utils.getByClass(i,o,!0))&&(r.innerHTML="")}return i}(n,e.valueNames),t=function(){return n.cloneNode(!0)}}else t=function(t){var n=e.item(t);return i(n)}}()};e.exports=function(e){return new t(e)}},5981(e,t,n){var i=n(2859),a=/\s+/;function s(e){if(!e||!e.nodeType)throw new Error("A DOM element reference is required");this.el=e,this.list=e.classList}Object.prototype.toString,e.exports=function(e){return new s(e)},s.prototype.add=function(e){if(this.list)return this.list.add(e),this;var t=this.array();return~i(t,e)||t.push(e),this.el.className=t.join(" "),this},s.prototype.remove=function(e){if(this.list)return this.list.remove(e),this;var t=this.array(),n=i(t,e);return~n&&t.splice(n,1),this.el.className=t.join(" "),this},s.prototype.toggle=function(e,t){return this.list?(void 0!==t?t!==this.list.toggle(e,t)&&this.list.toggle(e):this.list.toggle(e),this):(void 0!==t?t?this.add(e):this.remove(e):this.has(e)?this.remove(e):this.add(e),this)},s.prototype.array=function(){var e=(this.el.getAttribute("class")||"").replace(/^\s+|\s+$/g,"").split(a);return""===e[0]&&e.shift(),e},s.prototype.has=s.prototype.contains=function(e){return this.list?this.list.contains(e):!!~i(this.array(),e)}},6332(e,t,n){var i=window.addEventListener?"addEventListener":"attachEvent",a=window.removeEventListener?"removeEventListener":"detachEvent",s="addEventListener"!==i?"on":"",r=n(9212);t.bind=function(e,t,n,a){for(var o=0,l=(e=r(e)).length;o<l;o++)e[o][i](s+t,n,a||!1)},t.unbind=function(e,t,n,i){for(var o=0,l=(e=r(e)).length;o<l;o++)e[o][a](s+t,n,i||!1)},t.debounce=function(e,t,n){var i;return t?function(){var a=this,s=arguments,r=n&&!i;clearTimeout(i),i=setTimeout(function(){i=null,n||e.apply(a,s)},t),r&&e.apply(a,s)}:e}},433(e){e.exports=function(e){for(var t,n=Array.prototype.slice.call(arguments,1),i=0;t=n[i];i++)if(t)for(var a in t)e[a]=t[a];return e}},7481(e){e.exports=function(e,t,n){var i=n.location||0,a=n.distance||100,s=n.threshold||.4;if(t===e)return!0;if(t.length>32)return!1;var r=i,o=function(){var e,n={};for(e=0;e<t.length;e++)n[t.charAt(e)]=0;for(e=0;e<t.length;e++)n[t.charAt(e)]|=1<<t.length-e-1;return n}();function l(e,n){var i=e/t.length,s=Math.abs(r-n);return a?i+s/a:s?1:i}var d=s,u=e.indexOf(t,r);-1!=u&&(d=Math.min(l(0,u),d),-1!=(u=e.lastIndexOf(t,r+t.length))&&(d=Math.min(l(0,u),d)));var c,m,h=1<<t.length-1;u=-1;for(var p,f=t.length+e.length,_=0;_<t.length;_++){for(c=0,m=f;c<m;)l(_,r+m)<=d?c=m:f=m,m=Math.floor((f-c)/2+c);f=m;var g=Math.max(1,r-m+1),y=Math.min(r+m,e.length)+t.length,v=Array(y+2);v[y+1]=(1<<_)-1;for(var M=y;M>=g;M--){var w=o[e.charAt(M-1)];if(v[M]=0===_?(v[M+1]<<1|1)&w:(v[M+1]<<1|1)&w|(p[M+1]|p[M])<<1|1|p[M+1],v[M]&h){var L=l(_,M-1);if(L<=d){if(d=L,!((u=M-1)>r))break;
9218g=Math.max(1,2*r-u)}}}if(l(_+1,r)>d)break;p=v}return!(u<0)}},8200(e){e.exports=function(e,t){var n=e.getAttribute&&e.getAttribute(t)||null;if(!n)for(var i=e.attributes,a=i.length,s=0;s<a;s++)void 0!==i[s]&&i[s].nodeName===t&&(n=i[s].nodeValue);return n}},378(e){e.exports=function(e,t,n,i){return(i=i||{}).test&&i.getElementsByClassName||!i.test&&document.getElementsByClassName?function(e,t,n){return n?e.getElementsByClassName(t)[0]:e.getElementsByClassName(t)}(e,t,n):i.test&&i.querySelector||!i.test&&document.querySelector?function(e,t,n){return t="."+t,n?e.querySelector(t):e.querySelectorAll(t)}(e,t,n):function(e,t,n){for(var i=[],a=e.getElementsByTagName("*"),s=a.length,r=new RegExp("(^|\\s)"+t+"(\\s|$)"),o=0,l=0;o<s;o++)if(r.test(a[o].className)){if(n)return a[o];i[l]=a[o],l++}return i}(e,t,n)}},2859(e){var t=[].indexOf;e.exports=function(e,n){if(t)return e.indexOf(n);for(var i=0,a=e.length;i<a;++i)if(e[i]===n)return i;return-1}},9212(e){e.exports=function(e){if(void 0===e)return[];if(null===e)return[null];if(e===window)return[window];if("string"==typeof e)return[e];if(function(e){return"[object Array]"===Object.prototype.toString.call(e)}(e))return e;if("number"!=typeof e.length)return[e];if("function"==typeof e&&e instanceof Function)return[e];for(var t=[],n=0,i=e.length;n<i;n++)(Object.prototype.hasOwnProperty.call(e,n)||n in e)&&t.push(e[n]);return t.length?t:[]}},8340(e){e.exports=function(e){return(e=null===(e=void 0===e?"":e)?"":e).toString()}},6877(){},151(){},79(){},7519(){},5647(){},593(){},1340(){},6676(){},4233(){},1811(){},5177(e,t,n){!function(e){"use strict";e.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(e){return/^nm$/i.test(e)},meridiem:function(e,t,n){return e<12?n?"vm":"VM":n?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[Môre om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",ss:"%d sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n(5093))},1488(e,t,n){!function(e){"use strict";var t=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},n={s:["Ø£ÙÙ Ù
٠ثاÙÙØ©","ثاÙÙØ© ÙØ§ØØ¯Ø©",["ثاÙÙØªØ§Ù","ثاÙÙØªÙÙ"],"%d Ø«ÙØ§Ù","%d ثاÙÙØ©","%d ثاÙÙØ©"],m:["Ø£ÙÙ Ù
٠دÙÙÙØ©","دÙÙÙØ© ÙØ§ØØ¯Ø©",["دÙÙÙØªØ§Ù","دÙÙÙØªÙÙ"],"%d Ø¯ÙØ§Ø¦Ù","%d دÙÙÙØ©","%d دÙÙÙØ©"],h:["Ø£ÙÙ Ù
٠ساعة","ساعة ÙØ§ØØ¯Ø©",["ساعتاÙ","ساعتÙÙ"],"%d ساعات","%d ساعة","%d ساعة"],d:["Ø£ÙÙ Ù
Ù ÙÙÙ
","ÙÙÙ
ÙØ§ØØ¯",["ÙÙÙ
اÙ","ÙÙÙ
ÙÙ"],"%d Ø£ÙØ§Ù
","%d ÙÙÙ
ÙØ§","%d ÙÙÙ
"],M:["Ø£ÙÙ Ù
Ù Ø´ÙØ±","Ø´ÙØ± ÙØ§ØØ¯",["Ø´ÙØ±Ø§Ù","Ø´ÙØ±ÙÙ"],"%d Ø£Ø´ÙØ±","%d Ø´ÙØ±Ø§","%d Ø´ÙØ±"],y:["Ø£ÙÙ Ù
٠عاÙ
","عاÙ
ÙØ§ØØ¯",["عاÙ
اÙ","عاÙ
ÙÙ"],"%d Ø£Ø¹ÙØ§Ù
","%d عاÙ
ÙØ§","%d عاÙ
"]},i=function(e){return function(i,a,s,r){var o=t(i),l=n[e][t(i)];return 2===o&&(l=l[a?0:1]),l.replace(/%d/i,i)}},a=["جاÙÙÙ","ÙÙÙØ±Ù","Ù
ارس","Ø£ÙØ±ÙÙ","Ù
اÙ","Ø¬ÙØ§Ù","جÙÙÙÙØ©","Ø£ÙØª","سبتÙ
بر","Ø£ÙØªÙبر","ÙÙÙÙ
بر","Ø¯ÙØ³Ù
بر"];e.defineLocale("ar-dz",{months:a,monthsShort:a,weekdays:"Ø§ÙØ£ØØ¯_Ø§ÙØ¥Ø«ÙÙÙ_Ø§ÙØ«Ùاثاء_Ø§ÙØ£Ø±Ø¨Ø¹Ø§Ø¡_Ø§ÙØ®Ù
ÙØ³_Ø§ÙØ¬Ù
عة_Ø§ÙØ³Ø¨Øª".split("_"),weekdaysShort:"Ø£ØØ¯_إثÙÙÙ_Ø«ÙØ§Ø«Ø§Ø¡_أربعاء_Ø®Ù
ÙØ³_جÙ
عة_سبت".split("_"),weekdaysMin:"Ø_Ù_Ø«_ر_Ø®_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/âM/âYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|Ù
/,isPM:function(e){return"Ù
"===e},meridiem:function(e,t,n){return e<12?"ص":"Ù
"},calendar:{sameDay:"[اÙÙÙÙ
Ø¹ÙØ¯ Ø§ÙØ³Ø§Ø¹Ø©] LT",nextDay:"[ØºØ¯ÙØ§ Ø¹ÙØ¯ Ø§ÙØ³Ø§Ø¹Ø©] LT",nextWeek:"dddd [Ø¹ÙØ¯ Ø§ÙØ³Ø§Ø¹Ø©] LT",lastDay:"[Ø£Ù
س Ø¹ÙØ¯ Ø§ÙØ³Ø§Ø¹Ø©] LT",lastWeek:"dddd [Ø¹ÙØ¯ Ø§ÙØ³Ø§Ø¹Ø©] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"Ù
ÙØ° %s",s:i("s"),ss:i("s"),m:i("m"),mm:i("m"),h:i("h"),hh:i("h"),d:i("d"),dd:i("d"),M:i("M"),MM:i("M"),y:i("y"),yy:i("y")},postformat:function(e){return e.replace(/,/g,"Ø")},week:{dow:0,doy:4}})}(n(5093))},8676(e,t,n){!function(e){"use strict";e.defineLocale("ar-kw",{months:"ÙÙØ§Ùر_ÙØ¨Ø±Ø§Ùر_Ù
ارس_أبرÙÙ_Ù
اÙ_ÙÙÙÙÙ_ÙÙÙÙÙØ²_غشت_Ø´ØªÙØ¨Ø±_Ø£ÙØªÙبر_ÙÙÙØ¨Ø±_Ø¯Ø¬ÙØ¨Ø±".split("_"),monthsShort:"ÙÙØ§Ùر_ÙØ¨Ø±Ø§Ùر_Ù
ارس_أبرÙÙ_Ù
اÙ_ÙÙÙÙÙ_ÙÙÙÙÙØ²_غشت_Ø´ØªÙØ¨Ø±_Ø£ÙØªÙبر_ÙÙÙØ¨Ø±_Ø¯Ø¬ÙØ¨Ø±".split("_"),weekdays:"Ø§ÙØ£ØØ¯_Ø§ÙØ¥ØªÙÙÙ_Ø§ÙØ«Ùاثاء_Ø§ÙØ£Ø±Ø¨Ø¹Ø§Ø¡_Ø§ÙØ®Ù
ÙØ³_Ø§ÙØ¬Ù
عة_Ø§ÙØ³Ø¨Øª".split("_"),weekdaysShort:"Ø§ØØ¯_اتÙÙÙ_Ø«ÙØ§Ø«Ø§Ø¡_اربعاء_Ø®Ù
ÙØ³_جÙ
عة_سبت".split("_"),weekdaysMin:"Ø_Ù_Ø«_ر_Ø®_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اÙÙÙÙ
عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT",nextDay:"[غدا عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT",nextWeek:"dddd [عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT",lastDay:"[Ø£Ù
س عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT",lastWeek:"dddd [عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT",sameElse:"L"},relativeTime:{future:"ÙÙ %s",past:"Ù
ÙØ° %s",s:"Ø«ÙØ§Ù",ss:"%d ثاÙÙØ©",m:"دÙÙÙØ©",mm:"%d Ø¯ÙØ§Ø¦Ù",h:"ساعة",hh:"%d ساعات",d:"ÙÙÙ
",dd:"%d Ø£ÙØ§Ù
",M:"Ø´ÙØ±",MM:"%d Ø£Ø´ÙØ±",y:"Ø³ÙØ©",yy:"%d سÙÙØ§Øª"},week:{dow:0,doy:12}})}(n(5093))},2353(e,t,n){!function(e){"use strict";var t={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},n=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},i={s:["Ø£ÙÙ Ù
٠ثاÙÙØ©","ثاÙÙØ© ÙØ§ØØ¯Ø©",["ثاÙÙØªØ§Ù","ثاÙÙØªÙÙ"],"%d Ø«ÙØ§Ù","%d ثاÙÙØ©","%d ثاÙÙØ©"],m:["Ø£ÙÙ Ù
٠دÙÙÙØ©","دÙÙÙØ© ÙØ§ØØ¯Ø©",["دÙÙÙØªØ§Ù","دÙÙÙØªÙÙ"],"%d Ø¯ÙØ§Ø¦Ù","%d دÙÙÙØ©","%d دÙÙÙØ©"],h:["Ø£ÙÙ Ù
٠ساعة","ساعة ÙØ§ØØ¯Ø©",["ساعتاÙ","ساعتÙÙ"],"%d ساعات","%d ساعة","%d ساعة"],d:["Ø£ÙÙ Ù
Ù ÙÙÙ
","ÙÙÙ
ÙØ§ØØ¯",["ÙÙÙ
اÙ","ÙÙÙ
ÙÙ"],"%d Ø£ÙØ§Ù
","%d ÙÙÙ
ÙØ§","%d ÙÙÙ
"],M:["Ø£ÙÙ Ù
Ù Ø´ÙØ±","Ø´ÙØ± ÙØ§ØØ¯",["Ø´ÙØ±Ø§Ù","Ø´ÙØ±ÙÙ"],"%d Ø£Ø´ÙØ±","%d Ø´ÙØ±Ø§","%d Ø´ÙØ±"],y:["Ø£ÙÙ Ù
٠عاÙ
","عاÙ
ÙØ§ØØ¯",["عاÙ
اÙ","عاÙ
ÙÙ"],"%d Ø£Ø¹ÙØ§Ù
","%d عاÙ
ÙØ§","%d عاÙ
"]},a=function(e){return function(t,a,s,r){var o=n(t),l=i[e][n(t)];return 2===o&&(l=l[a?0:1]),l.replace(/%d/i,t)}},s=["ÙÙØ§Ùر","ÙØ¨Ø±Ø§Ùر","Ù
ارس","أبرÙÙ","Ù
اÙÙ","ÙÙÙÙÙ","ÙÙÙÙÙ","أغسطس","سبتÙ
بر","Ø£ÙØªÙبر","ÙÙÙÙ
بر","Ø¯ÙØ³Ù
بر"];e.defineLocale("ar-ly",{months:s,monthsShort:s,weekdays:"Ø§ÙØ£ØØ¯_Ø§ÙØ¥Ø«ÙÙÙ_Ø§ÙØ«Ùاثاء_Ø§ÙØ£Ø±Ø¨Ø¹Ø§Ø¡_Ø§ÙØ®Ù
ÙØ³_Ø§ÙØ¬Ù
عة_Ø§ÙØ³Ø¨Øª".split("_"),weekdaysShort:"Ø£ØØ¯_إثÙÙÙ_Ø«ÙØ§Ø«Ø§Ø¡_أربعاء_Ø®Ù
ÙØ³_جÙ
عة_سبت".split("_"),weekdaysMin:"Ø_Ù_Ø«_ر_Ø®_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/âM/âYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|Ù
/,isPM:function(e){return"Ù
"===e},meridiem:function(e,t,n){return e<12?"ص":"Ù
"},calendar:{sameDay:"[اÙÙÙÙ
Ø¹ÙØ¯ Ø§ÙØ³Ø§Ø¹Ø©] LT",nextDay:"[ØºØ¯ÙØ§ Ø¹ÙØ¯ Ø§ÙØ³Ø§Ø¹Ø©] LT",nextWeek:"dddd [Ø¹ÙØ¯ Ø§ÙØ³Ø§Ø¹Ø©] LT",lastDay:"[Ø£Ù
س Ø¹ÙØ¯ Ø§ÙØ³Ø§Ø¹Ø©] LT",lastWeek:"dddd [Ø¹ÙØ¯ Ø§ÙØ³Ø§Ø¹Ø©] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"Ù
ÙØ° %s",s:a("s"),ss:a("s"),m:a("m"),mm:a("m"),h:a("h"),hh:a("h"),d:a("d"),dd:a("d"),M:a("M"),MM:a("M"),y:a("y"),yy:a("y")},preparse:function(e){return e.replace(/Ø/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"Ø")},week:{dow:6,doy:12}})}(n(5093))},4496(e,t,n){!function(e){"use strict";e.defineLocale("ar-ma",{months:"ÙÙØ§Ùر_ÙØ¨Ø±Ø§Ùر_Ù
ارس_أبرÙÙ_Ù
اÙ_ÙÙÙÙÙ_ÙÙÙÙÙØ²_غشت_Ø´ØªÙØ¨Ø±_Ø£ÙØªÙبر_ÙÙÙØ¨Ø±_Ø¯Ø¬ÙØ¨Ø±".split("_"),monthsShort:"ÙÙØ§Ùر_ÙØ¨Ø±Ø§Ùر_Ù
ارس_أبرÙÙ_Ù
اÙ_ÙÙÙÙÙ_ÙÙÙÙÙØ²_غشت_Ø´ØªÙØ¨Ø±_Ø£ÙØªÙبر_ÙÙÙØ¨Ø±_Ø¯Ø¬ÙØ¨Ø±".split("_"),weekdays:"Ø§ÙØ£ØØ¯_Ø§ÙØ¥Ø«ÙÙÙ_Ø§ÙØ«Ùاثاء_Ø§ÙØ£Ø±Ø¨Ø¹Ø§Ø¡_Ø§ÙØ®Ù
ÙØ³_Ø§ÙØ¬Ù
عة_Ø§ÙØ³Ø¨Øª".split("_"),weekdaysShort:"Ø§ØØ¯_اثÙÙÙ_Ø«ÙØ§Ø«Ø§Ø¡_اربعاء_Ø®Ù
ÙØ³_جÙ
عة_سبت".split("_"),weekdaysMin:"Ø_Ù_Ø«_ر_Ø®_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اÙÙÙÙ
عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT",nextDay:"[غدا عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT",nextWeek:"dddd [عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT",lastDay:"[Ø£Ù
س عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT",lastWeek:"dddd [عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT",sameElse:"L"},relativeTime:{future:"ÙÙ %s",past:"Ù
ÙØ° %s",s:"Ø«ÙØ§Ù",ss:"%d ثاÙÙØ©",m:"دÙÙÙØ©",mm:"%d Ø¯ÙØ§Ø¦Ù",h:"ساعة",hh:"%d ساعات",d:"ÙÙÙ
",dd:"%d Ø£ÙØ§Ù
",M:"Ø´ÙØ±",MM:"%d Ø£Ø´ÙØ±",y:"Ø³ÙØ©",yy:"%d سÙÙØ§Øª"},week:{dow:1,doy:4}})}(n(5093))},6947(e,t,n){!function(e){"use strict";var t={1:"Ù¡",2:"Ù¢",3:"Ù£",4:"Ù¤",5:"Ù¥",6:"Ù¦",7:"Ù§",8:"Ù¨",9:"Ù©",0:"Ù "},n={"Ù¡":"1","Ù¢":"2","Ù£":"3","Ù¤":"4","Ù¥":"5","Ù¦":"6","Ù§":"7","Ù¨":"8","Ù©":"9","Ù ":"0"};e.defineLocale("ar-ps",{months:"ÙØ§ÙÙÙ Ø§ÙØ«Ø§ÙÙ_شباط_آذار_ÙÙØ³Ø§Ù_Ø£ÙÙØ§Ø±_ØØ²ÙراÙ_تÙ
ÙÙØ²_آب_Ø£ÙÙÙÙ_ØªØ´Ø±Ù Ø§ÙØ£ÙÙÙ_تشرÙÙ Ø§ÙØ«Ø§ÙÙ_ÙØ§ÙÙÙ Ø§ÙØ£ÙÙÙ".split("_"),monthsShort:"ÙÙ¢_شباط_آذار_ÙÙØ³Ø§Ù_Ø£ÙÙØ§Ø±_ØØ²ÙراÙ_تÙ
ÙÙØ²_آب_Ø£ÙÙÙÙ_ت١_ت٢_ÙÙ¡".split("_"),weekdays:"Ø§ÙØ£ØØ¯_Ø§ÙØ¥Ø«ÙÙÙ_Ø§ÙØ«Ùاثاء_Ø§ÙØ£Ø±Ø¨Ø¹Ø§Ø¡_Ø§ÙØ®Ù
ÙØ³_Ø§ÙØ¬Ù
عة_Ø§ÙØ³Ø¨Øª".split("_"),weekdaysShort:"Ø£ØØ¯_إثÙÙÙ_Ø«ÙØ§Ø«Ø§Ø¡_أربعاء_Ø®Ù
ÙØ³_جÙ
عة_سبت".split("_"),weekdaysMin:"Ø_Ù_Ø«_ر_Ø®_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|Ù
/,isPM:function(e){return"Ù
"===e},meridiem:function(e,t,n){return e<12?"ص":"Ù
"},calendar:{sameDay:"[اÙÙÙÙ
عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT",nextDay:"[غدا عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT",nextWeek:"dddd [عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT",lastDay:"[Ø£Ù
س عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT",lastWeek:"dddd [عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT",sameElse:"L"},relativeTime:{future:"ÙÙ %s",past:"Ù
ÙØ° %s",s:"Ø«ÙØ§Ù",ss:"%d ثاÙÙØ©",m:"دÙÙÙØ©",mm:"%d Ø¯ÙØ§Ø¦Ù",h:"ساعة",hh:"%d ساعات",d:"ÙÙÙ
",dd:"%d Ø£ÙØ§Ù
",M:"Ø´ÙØ±",MM:"%d Ø£Ø´ÙØ±",y:"Ø³ÙØ©",yy:"%d سÙÙØ§Øª"},preparse:function(e){return e.replace(/[٣٤٥٦٧٨٩٠]/g,function(e){return n[e]}).split("").reverse().join("").replace(/[١٢](?![\u062a\u0643])/g,function(e){return n[e]}).split("").reverse().join("").replace(/Ø/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"Ø")},week:{dow:0,doy:6}})}(n(5093))},2682(e,t,n){!function(e){"use strict";var t={1:"Ù¡",2:"Ù¢",3:"Ù£",4:"Ù¤",5:"Ù¥",6:"Ù¦",7:"Ù§",8:"Ù¨",9:"Ù©",0:"Ù "},n={"Ù¡":"1","Ù¢":"2","Ù£":"3","Ù¤":"4","Ù¥":"5","Ù¦":"6","Ù§":"7","Ù¨":"8","Ù©":"9","Ù ":"0"};e.defineLocale("ar-sa",{months:"ÙÙØ§Ùر_ÙØ¨Ø±Ø§Ùر_Ù
ارس_أبرÙÙ_Ù
اÙÙ_ÙÙÙÙÙ_ÙÙÙÙÙ_أغسطس_سبتÙ
بر_Ø£ÙØªÙبر_ÙÙÙÙ
بر_Ø¯ÙØ³Ù
بر".split("_"),monthsShort:"ÙÙØ§Ùر_ÙØ¨Ø±Ø§Ùر_Ù
ارس_أبرÙÙ_Ù
اÙÙ_ÙÙÙÙÙ_ÙÙÙÙÙ_أغسطس_سبتÙ
بر_Ø£ÙØªÙبر_ÙÙÙÙ
بر_Ø¯ÙØ³Ù
بر".split("_"),weekdays:"Ø§ÙØ£ØØ¯_Ø§ÙØ¥Ø«ÙÙÙ_Ø§ÙØ«Ùاثاء_Ø§ÙØ£Ø±Ø¨Ø¹Ø§Ø¡_Ø§ÙØ®Ù
ÙØ³_Ø§ÙØ¬Ù
عة_Ø§ÙØ³Ø¨Øª".split("_"),weekdaysShort:"Ø£ØØ¯_إثÙÙÙ_Ø«ÙØ§Ø«Ø§Ø¡_أربعاء_Ø®Ù
ÙØ³_جÙ
عة_سبت".split("_"),weekdaysMin:"Ø_Ù_Ø«_ر_Ø®_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|Ù
/,isPM:function(e){return"Ù
"===e},meridiem:function(e,t,n){return e<12?"ص":"Ù
"},calendar:{sameDay:"[اÙÙÙÙ
عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT",nextDay:"[غدا عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT",nextWeek:"dddd [عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT",lastDay:"[Ø£Ù
س عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT",lastWeek:"dddd [عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT",sameElse:"L"},relativeTime:{future:"ÙÙ %s",past:"Ù
ÙØ° %s",s:"Ø«ÙØ§Ù",ss:"%d ثاÙÙØ©",m:"دÙÙÙØ©",mm:"%d Ø¯ÙØ§Ø¦Ù",h:"ساعة",hh:"%d ساعات",d:"ÙÙÙ
",dd:"%d Ø£ÙØ§Ù
",M:"Ø´ÙØ±",MM:"%d Ø£Ø´ÙØ±",y:"Ø³ÙØ©",yy:"%d سÙÙØ§Øª"},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(e){return n[e]}).replace(/Ø/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"Ø")},week:{dow:0,doy:6}})}(n(5093))},9756(e,t,n){!function(e){"use strict";e.defineLocale("ar-tn",{months:"جاÙÙÙ_ÙÙÙØ±Ù_Ù
ارس_Ø£ÙØ±ÙÙ_Ù
اÙ_Ø¬ÙØ§Ù_جÙÙÙÙØ©_Ø£ÙØª_سبتÙ
بر_Ø£ÙØªÙبر_ÙÙÙÙ
بر_Ø¯ÙØ³Ù
بر".split("_"),monthsShort:"جاÙÙÙ_ÙÙÙØ±Ù_Ù
ارس_Ø£ÙØ±ÙÙ_Ù
اÙ_Ø¬ÙØ§Ù_جÙÙÙÙØ©_Ø£ÙØª_سبتÙ
بر_Ø£ÙØªÙبر_ÙÙÙÙ
بر_Ø¯ÙØ³Ù
بر".split("_"),weekdays:"Ø§ÙØ£ØØ¯_Ø§ÙØ¥Ø«ÙÙÙ_Ø§ÙØ«Ùاثاء_Ø§ÙØ£Ø±Ø¨Ø¹Ø§Ø¡_Ø§ÙØ®Ù
ÙØ³_Ø§ÙØ¬Ù
عة_Ø§ÙØ³Ø¨Øª".split("_"),weekdaysShort:"Ø£ØØ¯_إثÙÙÙ_Ø«ÙØ§Ø«Ø§Ø¡_أربعاء_Ø®Ù
ÙØ³_جÙ
عة_سبت".split("_"),weekdaysMin:"Ø_Ù_Ø«_ر_Ø®_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اÙÙÙÙ
عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT",nextDay:"[غدا عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT",nextWeek:"dddd [عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT",lastDay:"[Ø£Ù
س عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT",lastWeek:"dddd [عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT",sameElse:"L"},relativeTime:{future:"ÙÙ %s",past:"Ù
ÙØ° %s",s:"Ø«ÙØ§Ù",ss:"%d ثاÙÙØ©",m:"دÙÙÙØ©",mm:"%d Ø¯ÙØ§Ø¦Ù",h:"ساعة",hh:"%d ساعات",d:"ÙÙÙ
",dd:"%d Ø£ÙØ§Ù
",M:"Ø´ÙØ±",MM:"%d Ø£Ø´ÙØ±",y:"Ø³ÙØ©",yy:"%d سÙÙØ§Øª"},week:{dow:1,doy:4}})}(n(5093))},1509(e,t,n){!function(e){"use strict";var t={1:"Ù¡",2:"Ù¢",3:"Ù£",4:"Ù¤",5:"Ù¥",6:"Ù¦",7:"Ù§",8:"Ù¨",9:"Ù©",0:"Ù "},n={"Ù¡":"1","Ù¢":"2","Ù£":"3","Ù¤":"4","Ù¥":"5","Ù¦":"6","Ù§":"7","Ù¨":"8","Ù©":"9","Ù ":"0"},i=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},a={s:["Ø£ÙÙ Ù
٠ثاÙÙØ©","ثاÙÙØ© ÙØ§ØØ¯Ø©",["ثاÙÙØªØ§Ù","ثاÙÙØªÙÙ"],"%d Ø«ÙØ§Ù","%d ثاÙÙØ©","%d ثاÙÙØ©"],m:["Ø£ÙÙ Ù
٠دÙÙÙØ©","دÙÙÙØ© ÙØ§ØØ¯Ø©",["دÙÙÙØªØ§Ù","دÙÙÙØªÙÙ"],"%d Ø¯ÙØ§Ø¦Ù","%d دÙÙÙØ©","%d دÙÙÙØ©"],h:["Ø£ÙÙ Ù
٠ساعة","ساعة ÙØ§ØØ¯Ø©",["ساعتاÙ","ساعتÙÙ"],"%d ساعات","%d ساعة","%d ساعة"],d:["Ø£ÙÙ Ù
Ù ÙÙÙ
","ÙÙÙ
ÙØ§ØØ¯",["ÙÙÙ
اÙ","ÙÙÙ
ÙÙ"],"%d Ø£ÙØ§Ù
","%d ÙÙÙ
ÙØ§","%d ÙÙÙ
"],M:["Ø£ÙÙ Ù
Ù Ø´ÙØ±","Ø´ÙØ± ÙØ§ØØ¯",["Ø´ÙØ±Ø§Ù","Ø´ÙØ±ÙÙ"],"%d Ø£Ø´ÙØ±","%d Ø´ÙØ±Ø§","%d Ø´ÙØ±"],y:["Ø£ÙÙ Ù
٠عاÙ
","عاÙ
ÙØ§ØØ¯",["عاÙ
اÙ","عاÙ
ÙÙ"],"%d Ø£Ø¹ÙØ§Ù
","%d عاÙ
ÙØ§","%d عاÙ
"]},s=function(e){return function(t,n,s,r){var o=i(t),l=a[e][i(t)];return 2===o&&(l=l[n?0:1]),l.replace(/%d/i,t)}},r=["ÙÙØ§Ùر","ÙØ¨Ø±Ø§Ùر","Ù
ارس","أبرÙÙ","Ù
اÙÙ","ÙÙÙÙÙ","ÙÙÙÙÙ","أغسطس","سبتÙ
بر","Ø£ÙØªÙبر","ÙÙÙÙ
بر","Ø¯ÙØ³Ù
بر"];e.defineLocale("ar",{months:r,monthsShort:r,weekdays:"Ø§ÙØ£ØØ¯_Ø§ÙØ¥Ø«ÙÙÙ_Ø§ÙØ«Ùاثاء_Ø§ÙØ£Ø±Ø¨Ø¹Ø§Ø¡_Ø§ÙØ®Ù
ÙØ³_Ø§ÙØ¬Ù
عة_Ø§ÙØ³Ø¨Øª".split("_"),weekdaysShort:"Ø£ØØ¯_إثÙÙÙ_Ø«ÙØ§Ø«Ø§Ø¡_أربعاء_Ø®Ù
ÙØ³_جÙ
عة_سبت".split("_"),weekdaysMin:"Ø_Ù_Ø«_ر_Ø®_ج_س".split(
vendor: 4,346 bytes, line 9218
9218"_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/âM/âYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|Ù
/,isPM:function(e){return"Ù
"===e},meridiem:function(e,t,n){return e<12?"ص":"Ù
"},calendar:{sameDay:"[اÙÙÙÙ
Ø¹ÙØ¯ Ø§ÙØ³Ø§Ø¹Ø©] LT",nextDay:"[ØºØ¯ÙØ§ Ø¹ÙØ¯ Ø§ÙØ³Ø§Ø¹Ø©] LT",nextWeek:"dddd [Ø¹ÙØ¯ Ø§ÙØ³Ø§Ø¹Ø©] LT",lastDay:"[Ø£Ù
س Ø¹ÙØ¯ Ø§ÙØ³Ø§Ø¹Ø©] LT",lastWeek:"dddd [Ø¹ÙØ¯ Ø§ÙØ³Ø§Ø¹Ø©] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"Ù
ÙØ° %s",s:s("s"),ss:s("s"),m:s("m"),mm:s("m"),h:s("h"),hh:s("h"),d:s("d"),dd:s("d"),M:s("M"),MM:s("M"),y:s("y"),yy:s("y")},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(e){return n[e]}).replace(/Ø/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"Ø")},week:{dow:6,doy:12}})}(n(5093))},5533(e,t,n){!function(e){"use strict";var t={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-üncü",4:"-üncü",100:"-üncü",6:"-ncı",9:"-uncu",10:"-uncu",30:"-uncu",60:"-ıncı",90:"-ıncı"};e.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ertÉsi_ÃÉrÅÉnbÉ axÅamı_ÃÉrÅÉnbÉ_CümÉ axÅamı_CümÉ_ÅÉnbÉ".split("_"),weekdaysShort:"Baz_BzE_ÃAx_ÃÉr_CAx_Cüm_ÅÉn".split("_"),weekdaysMin:"Bz_BE_ÃA_ÃÉ_CA_Cü_ÅÉ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[gÉlÉn hÉftÉ] dddd [saat] LT",lastDay:"[dünÉn] LT",lastWeek:"[keçÉn hÉftÉ] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s ÉvvÉl",s:"bir neÃ§É saniyÉ",ss:"%d saniyÉ",m:"bir dÉqiqÉ",mm:"%d dÉqiqÉ",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gecÉ|sÉhÉr|gündüz|axÅam/,isPM:function(e){return/^(gündüz|axÅam)$/.test(e)},meridiem:function(e,t,n){return e<4?"gecÉ":e<12?"sÉhÉr":e<17?"gündüz":"axÅam"},dayOfMonthOrdinalParse:/\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,ordinal:function(e){if(0===e)return e+"-ıncı";var n=e%10;return e+(t[n]||t[e%100-n]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(n(5093))},8959(e,t,n){!function(e){"use strict";function t(e,t,n){return"m"===n?t?"Ñ
вÑлÑна":"Ñ
вÑлÑнÑ":"h"===n?t?"гадзÑна":"гадзÑнÑ":e+" "+(i=+e,a={ss:t?"ÑекÑнда_ÑекÑндÑ_ÑекÑнд":"ÑекÑндÑ_ÑекÑндÑ_ÑекÑнд",mm:t?"Ñ
вÑлÑна_Ñ
вÑлÑнÑ_Ñ
вÑлÑн":"Ñ
вÑлÑнÑ_Ñ
вÑлÑнÑ_Ñ
вÑлÑн",hh:t?"гадзÑна_гадзÑнÑ_гадзÑн":"гадзÑнÑ_гадзÑнÑ_гадзÑн",dd:"дзенÑ_днÑ_дзÑн",MM:"меÑÑÑ_меÑÑÑÑ_меÑÑÑаÑ",yy:"год_гадÑ_гадоÑ"}[n].split("_"),i%10==1&&i%100!=11?a[0]:i%10>=2&&i%10<=4&&(i%100<10||i%100>=20)?a[1]:a[2]);var i,a}e.defineLocale("be",{months:{format:"ÑÑÑдзенÑ_лÑÑага_ÑакавÑка_кÑаÑавÑка_ÑÑаÑнÑ_ÑÑÑвенÑ_лÑпенÑ_жнÑÑнÑ_веÑаÑнÑ_каÑÑÑÑÑнÑка_лÑÑÑапада_ÑнежнÑ".split("_"),standalone:"ÑÑÑдзенÑ_лÑÑÑ_ÑакавÑк_кÑаÑавÑк_ÑÑавенÑ_ÑÑÑвенÑ_лÑпенÑ_жнÑвенÑ_веÑаÑенÑ_каÑÑÑÑÑнÑк_лÑÑÑапад_ÑнежанÑ".split("_")},monthsShort:"ÑÑÑд_лÑÑ_Ñак_кÑаÑ_ÑÑав_ÑÑÑв_лÑп_жнÑв_веÑ_каÑÑ_лÑÑÑ_Ñнеж".split("_"),weekdays:{format:"нÑдзелÑ_панÑдзелак_аÑÑоÑак_ÑеÑадÑ_ÑаÑвеÑ_пÑÑнÑÑÑ_ÑÑбоÑÑ".split("_"),standalone:"нÑдзелÑ_панÑдзелак_аÑÑоÑак_ÑеÑада_ÑаÑвеÑ_пÑÑнÑÑа_ÑÑбоÑа".split("_"),isFormat:/\[ ?[УÑÑ] ?(?:мÑнÑлÑÑ|наÑÑÑпнÑÑ)? ?\] ?dddd/},weekdaysShort:"нд_пн_аÑ_ÑÑ_ÑÑ_пÑ_Ñб".split("_"),weekdaysMin:"нд_пн_аÑ_ÑÑ_ÑÑ_пÑ_Ñб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., HH:mm",LLLL:"dddd, D MMMM YYYY г., HH:mm"}
vendor: 10,531 bytes, line 9218
9218,calendar:{sameDay:"[СÑÐ½Ð½Ñ Ñ] LT",nextDay:"[ÐаÑÑÑа Ñ] LT",lastDay:"[УÑоÑа Ñ] LT",nextWeek:function(){return"[У] dddd [Ñ] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[У мÑнÑлÑÑ] dddd [Ñ] LT";case 1:case 2:case 4:return"[У мÑнÑлÑ] dddd [Ñ] LT"}},sameElse:"L"},relativeTime:{future:"пÑаз %s",past:"%s ÑамÑ",s:"некалÑÐºÑ ÑекÑнд",m:t,mm:t,h:t,hh:t,d:"дзенÑ",dd:t,M:"меÑÑÑ",MM:t,y:"год",yy:t},meridiemParse:/ноÑÑ|ÑанÑÑÑ|днÑ|веÑаÑа/,isPM:function(e){return/^(днÑ|веÑаÑа)$/.test(e)},meridiem:function(e,t,n){return e<4?"ноÑÑ":e<12?"ÑанÑÑÑ":e<17?"днÑ":"веÑаÑа"},dayOfMonthOrdinalParse:/\d{1,2}-(Ñ|Ñ|га)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e%10!=2&&e%10!=3||e%100==12||e%100==13?e+"-Ñ":e+"-Ñ";case"D":return e+"-га";default:return e}},week:{dow:1,doy:7}})}(n(5093))},7777(e,t,n){!function(e){"use strict";e.defineLocale("bg",{months:"ÑнÑаÑи_ÑевÑÑаÑи_маÑÑ_апÑил_май_Ñни_Ñли_авгÑÑÑ_ÑепÑемвÑи_окÑомвÑи_ноемвÑи_декемвÑи".split("_"),monthsShort:"ÑнÑ_Ñев_маÑ_апÑ_май_Ñни_Ñли_авг_Ñеп_окÑ_ное_дек".split("_"),weekdays:"неделÑ_понеделник_вÑоÑник_ÑÑÑда_ÑеÑвÑÑÑÑк_пеÑÑк_ÑÑбоÑа".split("_"),weekdaysShort:"нед_пон_вÑо_ÑÑÑ_ÑеÑ_пеÑ_ÑÑб".split("_"),weekdaysMin:"нд_пн_вÑ_ÑÑ_ÑÑ_пÑ_Ñб".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[ÐÐ½ÐµÑ Ð²] LT",nextDay:"[УÑÑе в] LT",nextWeek:"dddd [в] LT",lastDay:"[ÐÑеÑа в] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[ÐиналаÑа] dddd [в] LT";case 1:case 2:case 4:case 5:return"[ÐиналиÑ] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"Ñлед %s",past:"пÑеди %s",s:"нÑколко ÑекÑнди",ss:"%d ÑекÑнди",m:"минÑÑа",mm:"%d минÑÑи",h:"ÑаÑ",hh:"%d ÑаÑа",d:"ден",dd:"%d дена",w:"ÑедмиÑа",ww:"%d ÑедмиÑи",M:"меÑеÑ",MM:"%d меÑеÑа",y:"година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|Ñи|ви|Ñи|ми)/,ordinal:function(e){var t=e%10,n=e%100;return 0===e?e+"-ев":0===n?e+"-ен":n>10&&n<20?e+"-Ñи":1===t?e+"-ви":2===t?e+"-Ñи":7===t||8===t?e+"-ми":e+"-Ñи"},week:{dow:1,doy:7}})}(n(5093))},4903(e,t,n){!function(e){"use strict";e.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_MÉkalo_ZuwÉnkalo_Zuluyekalo_Utikalo_SÉtanburukalo_ÉkutÉburukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_MÉ_Zuw_Zul_Uti_SÉt_Éku_Now_Des".split("_"),weekdays:"Kari_NtÉnÉn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_NtÉ_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [lÉrÉ] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [lÉrÉ] HH:mm"},calendar:{sameDay:"[Bi lÉrÉ] LT",nextDay:"[Sini lÉrÉ] LT",nextWeek:"dddd [don lÉrÉ] LT",lastDay:"[Kunu lÉrÉ] LT",lastWeek:"dddd [tÉmÉnen lÉrÉ] LT",sameElse:"L"},relativeTime:{future:"%s kÉnÉ",past:"a bÉ %s bÉ",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"lÉrÉ kelen",hh:"lÉrÉ %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}})}(n(5093))},7357(e,t,n){!function(e){"use strict";var t={1:"à§§",2:"২",3:"à§©",4:"৪",5:"à§«",6:"৬",7:"à§",8:"à§®",9:"৯",0:"০"},n={"à§§":"1","২":"2","à§©":"3","৪":"4","à§«":"5","৬":"6","à§":"7","à§®":"8","৯":"9","০":"0"};e.defineLocale("bn-bd",{months:"à¦à¦¾à¦¨à§à§à¦¾à¦°à¦¿_ফà§à¦¬à§à¦°à§à§à¦¾à¦°à¦¿_মারà§à¦_à¦à¦ªà§à¦°à¦¿à¦²_মà§_à¦à§à¦¨_à¦à§à¦²à¦¾à¦_à¦à¦à¦¸à§à¦_সà§à¦ªà§à¦à§à¦®à§à¦¬à¦°_à¦
à¦à§à¦à§à¦¬à¦°_নà¦à§à¦®à§à¦¬à¦°_ডিসà§à¦®à§à¦¬à¦°".split("_"),monthsShort:"à¦à¦¾à¦¨à§_ফà§à¦¬à§à¦°à§_মারà§à¦_à¦à¦ªà§à¦°à¦¿à¦²_মà§_à¦à§à¦¨_à¦à§à¦²à¦¾à¦_à¦à¦à¦¸à§à¦_সà§à¦ªà§à¦_à¦
à¦à§à¦à§_নà¦à§_ডিসà§".split("_"),weekdays:"রবিবার_সà§à¦®à¦¬à¦¾à¦°_মà¦à§à¦à¦²à¦¬à¦¾à¦°_বà§à¦§à¦¬à¦¾à¦°_বà§à¦¹à¦¸à§à¦ªà¦¤à¦¿à¦¬à¦¾à¦°_শà§à¦à§à¦°à¦¬à¦¾à¦°_শনিবার".split("_"),weekdaysShort:"রবি_সà§à¦®_মà¦à§à¦à¦²_বà§à¦§_বà§à¦¹à¦¸à§à¦ªà¦¤à¦¿_শà§à¦à§à¦°_শনি".split("_"),weekdaysMin:"রবি_সà§à¦®_মà¦à§à¦à¦²_বà§à¦§_বà§à¦¹_শà§à¦à§à¦°_শনি".split("_"),longDateFormat:{LT:"A h:mm সমà§",LTS:"A h:mm:ss সমà§",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সমà§",LLLL:"dddd, D MMMM YYYY, A h:mm সমà§"},calendar:{sameDay:"[à¦à¦] LT",nextDay:"[à¦à¦à¦¾à¦®à§à¦à¦¾à¦²] LT",nextWeek:"dddd, LT",lastDay:"[à¦à¦¤à¦à¦¾à¦²] LT",lastWeek:"[à¦à¦¤] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরà§",past:"%s à¦à¦à§",s:"à¦à§à§à¦ সà§à¦à§à¦¨à§à¦¡",ss:"%d সà§à¦à§à¦¨à§à¦¡",m:"à¦à¦ মিনিà¦",mm:"%d মিনিà¦",h:"à¦à¦ à¦à¦¨à§à¦à¦¾",hh:"%d à¦à¦¨à§à¦à¦¾",d:"à¦à¦ দিন",dd:"%d দিন",M:"à¦à¦ মাস",MM:"%d মাস",y:"à¦à¦ বà¦à¦°",yy:"%d বà¦à¦°"},preparse:function(e){return e.replace(/[১২৩৪৫৬à§à§®à§¯à§¦]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/রাত|à¦à§à¦°|সà¦à¦¾à¦²|দà§à¦ªà§à¦°|বিà¦à¦¾à¦²|সনà§à¦§à§à¦¯à¦¾|রাত/,meridiemHour:function(e,t){return 12===e&&(e=0),"রাত"===t?e<4?e:e+12:"à¦à§à¦°"===t||"সà¦à¦¾à¦²"===t?e:"দà§à¦ªà§à¦°"===t?e>=3?e:e+12:"বিà¦à¦¾à¦²"===t||"সনà§à¦§à§à¦¯à¦¾"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"রাত":e<6?"à¦à§à¦°":e<12?"সà¦à¦¾à¦²":e<15?"দà§à¦ªà§à¦°":e<18?"বিà¦à¦¾à¦²":e<20?"সনà§à¦§à§à¦¯à¦¾":"রাত"},week:{dow:0,doy:6}})}(n(5093))},1290(e,t,n){!function(e){"use strict";var t={1:"à§§",2:"২",3:"à§©",4:"৪",5:"à§«",6:"৬",7:"à§",8:"à§®",9:"৯",0:"০"},n={"à§§":"1","২":"2","à§©":"3","৪":"4","à§«":"5","৬":"6","à§":"7","à§®":"8","৯":"9","০":"0"};e.defineLocale("bn",{months:"à¦à¦¾à¦¨à§à§à¦¾à¦°à¦¿_ফà§à¦¬à§à¦°à§à§à¦¾à¦°à¦¿_মারà§à¦_à¦à¦ªà§à¦°à¦¿à¦²_মà§_à¦à§à¦¨_à¦à§à¦²à¦¾à¦_à¦à¦à¦¸à§à¦_সà§à¦ªà§à¦à§à¦®à§à¦¬à¦°_à¦
à¦à§à¦à§à¦¬à¦°_নà¦à§à¦®à§à¦¬à¦°_ডিসà§à¦®à§à¦¬à¦°".split("_"),monthsShort:"à¦à¦¾à¦¨à§_ফà§à¦¬à§à¦°à§_মারà§à¦_à¦à¦ªà§à¦°à¦¿à¦²_মà§_à¦à§à¦¨_à¦à§à¦²à¦¾à¦_à¦à¦à¦¸à§à¦_সà§à¦ªà§à¦_à¦
à¦à§à¦à§_নà¦à§_ডিসà§".split("_"),weekdays:"রবিবার_সà§à¦®à¦¬à¦¾à¦°_মà¦à§à¦à¦²à¦¬à¦¾à¦°_বà§à¦§à¦¬à¦¾à¦°_বà§à¦¹à¦¸à§à¦ªà¦¤à¦¿à¦¬à¦¾à¦°_শà§à¦à§à¦°à¦¬à¦¾à¦°_শনিবার".split("_"),weekdaysShort:"রবি_সà§à¦®_মà¦à§à¦à¦²_বà§à¦§_বà§à¦¹à¦¸à§à¦ªà¦¤à¦¿_শà§à¦à§à¦°_শনি".split("_"),weekdaysMin:"রবি_সà§à¦®_মà¦à§à¦à¦²_বà§à¦§_বà§à¦¹_শà§à¦à§à¦°_শনি".split("_"),longDateFormat:{LT:"A h:mm সমà§",LTS:"A h:mm:ss সমà§",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সমà§",LLLL:"dddd, D MMMM YYYY, A h:mm সমà§"},calendar:{sameDay:"[à¦à¦] LT",nextDay:"[à¦à¦à¦¾à¦®à§à¦à¦¾à¦²] LT",nextWeek:"dddd, LT",lastDay:"[à¦à¦¤à¦à¦¾à¦²] LT",lastWeek:"[à¦à¦¤] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরà§",past:"%s à¦à¦à§",s:"à¦à§à§à¦ সà§à¦à§à¦¨à§à¦¡",ss:"%d সà§à¦à§à¦¨à§à¦¡",m:"à¦à¦ মিনিà¦",mm:"%d মিনিà¦",h:"à¦à¦ à¦à¦¨à§à¦à¦¾",hh:"%d à¦à¦¨à§à¦à¦¾",d:"à¦à¦ দিন",dd:"%d দিন",M:"à¦à¦ মাস",MM:"%d মাস",y:"à¦à¦ বà¦à¦°",yy:"%d বà¦à¦°"},preparse:function(e){return e.replace(/[১২৩৪৫৬à§à§®à§¯à§¦]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/রাত|সà¦à¦¾à¦²|দà§à¦ªà§à¦°|বিà¦à¦¾à¦²|রাত/,meridiemHour:function(e,t){return 12===e&&(e=0),"রাত"===t&&e>=4||"দà§à¦ªà§à¦°"===t&&e<5||"বিà¦à¦¾à¦²"===t?e+12:e},meridiem:function(e,t,n){return e<4?"রাত":e<10?"সà¦à¦¾à¦²":e<17?"দà§à¦ªà§à¦°":e<20?"বিà¦à¦¾à¦²":"রাত"},week:{dow:0,doy:6}})}(n(5093))},1545(e,t,n){!function(e){"use strict";var t={1:"༡",2:"༢",3:"༣",4:"༤",5:"༥",6:"༦",7:"༧",8:"༨",9:"༩",0:"༠"},n={"༡":"1","༢":"2","༣":"3","༤":"4","༥":"5","༦":"6","༧":"7","༨":"8","༩":"9","༠":"0"};e.defineLocale("bo",{months:"à½à¾³à¼à½à¼à½à½à¼à½à½¼_à½à¾³à¼à½à¼à½à½à½²à½¦à¼à½_à½à¾³à¼à½à¼à½à½¦à½´à½à¼à½_à½à¾³à¼à½à¼à½à½à½²à¼à½_à½à¾³à¼à½à¼à½£à¾à¼à½_à½à¾³à¼à½à¼à½à¾²à½´à½à¼à½_à½à¾³à¼à½à¼à½à½à½´à½à¼à½_à½à¾³à¼à½à¼à½à½¢à¾à¾±à½à¼à½_à½à¾³à¼à½à¼à½à½à½´à¼à½_à½à¾³à¼à½à¼à½à½
ུà¼à½_à½à¾³à¼à½à¼à½à½
ུà¼à½à½
ིà½à¼à½_à½à¾³à¼à½à¼à½à½
ུà¼à½à½à½²à½¦à¼à½".split("_"),monthsShort:"à½à¾³à¼1_à½à¾³à¼2_à½à¾³à¼3_à½à¾³à¼4_à½à¾³à¼5_à½à¾³à¼6_à½à¾³à¼7_à½à¾³à¼8_à½à¾³à¼9_à½à¾³à¼10_à½à¾³à¼11_à½à¾³à¼12".split("_"),monthsShortRegex:/^(à½à¾³à¼\d{1,2})/,monthsParseExact:!0,weekdays:"à½à½à½ à¼à½à½²à¼à½à¼_à½à½à½ à¼à½à¾³à¼à½à¼_à½à½à½ à¼à½à½²à½à¼à½à½à½¢à¼_à½à½à½ à¼à½£à¾·à½à¼à½à¼_à½à½à½ à¼à½à½´à½¢à¼à½à½´_à½à½à½ à¼à½à¼à½¦à½à½¦à¼_à½à½à½ à¼à½¦à¾¤à½ºà½à¼à½à¼".split("_"),weekdaysShort:"à½à½²à¼à½à¼_à½à¾³à¼à½à¼_à½à½²à½à¼à½à½à½¢à¼_ལྷà½à¼à½à¼_à½à½´à½¢à¼à½à½´_à½à¼à½¦à½à½¦à¼_སྤེà½à¼à½à¼".split("_"),weekdaysMin:"à½à½²_à½à¾³_à½à½²à½_ལྷà½_à½à½´à½¢_སà½à½¦_སྤེà½".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[à½à½²à¼à½¢à½²à½] LT",nextDay:"[སà½à¼à½à½²à½] LT",nextWeek:"[à½à½à½´à½à¼à½à¾²à½à¼à½¢à¾à½ºà½¦à¼à½], LT",lastDay:"[à½à¼à½¦à½] LT",lastWeek:"[à½à½à½´à½à¼à½à¾²à½à¼à½à½à½ à¼à½] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ལà¼",past:"%s སà¾à½à¼à½£",s:"ལà½à¼à½¦à½",ss:"%d སà¾à½¢à¼à½à¼",m:"སà¾à½¢à¼à½à¼à½à½
ིà½",mm:"%d སà¾à½¢à¼à½",h:"à½à½´à¼à½à½¼à½à¼à½à½
ིà½",hh:"%
9218d à½à½´à¼à½à½¼à½",d:"à½à½²à½à¼à½à½
ིà½",dd:"%d à½à½²à½à¼",M:"à½à¾³à¼à½à¼à½à½
ིà½",MM:"%d à½à¾³à¼à½",y:"ལོà¼à½à½
ིà½",yy:"%d ལོ"},preparse:function(e){return e.replace(/[༡༢༣༤༥༦༧༨༩༠]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/à½à½à½à¼à½à½¼|à½à½¼à½à½¦à¼à½à½¦|à½à½²à½à¼à½à½´à½|à½à½à½¼à½à¼à½à½|à½à½à½à¼à½à½¼/,meridiemHour:function(e,t){return 12===e&&(e=0),"à½à½à½à¼à½à½¼"===t&&e>=4||"à½à½²à½à¼à½à½´à½"===t&&e<5||"à½à½à½¼à½à¼à½à½"===t?e+12:e},meridiem:function(e,t,n){return e<4?"à½à½à½à¼à½à½¼":e<10?"à½à½¼à½à½¦à¼à½à½¦":e<17?"à½à½²à½à¼à½à½´à½":e<20?"à½à½à½¼à½à¼à½à½":"à½à½à½à¼à½à½¼"},week:{dow:0,doy:6}})}(n(5093))},1470(e,t,n){!function(e){"use strict";function t(e,t,n){return e+" "+function(e,t){return 2===t?function(e){var t={m:"v",b:"v",d:"z"};return void 0===t[e.charAt(0)]?e:t[e.charAt(0)]+e.substring(1)}(e):e}({mm:"munutenn",MM:"miz",dd:"devezh"}[n],e)}function n(e){return e>9?n(e%10):e}var i=[/^gen/i,/^c[ʼ\']hwe/i,/^meu/i,/^ebr/i,/^mae/i,/^(mez|eve)/i,/^gou/i,/^eos/i,/^gwe/i,/^her/i,/^du/i,/^ker/i],a=/^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,s=[/^Su/i,/^Lu/i,/^Me([^r]|$)/i,/^Mer/i,/^Ya/i,/^Gw/i,/^Sa/i];e.defineLocale("br",{months:"Genver_Cʼhwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_Cʼhwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Mercʼher_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParse:s,fullWeekdaysParse:[/^sul/i,/^lun/i,/^meurzh/i,/^merc[ʼ\']her/i,/^yaou/i,/^gwener/i,/^sadorn/i],shortWeekdaysParse:[/^Sul/i,/^Lun/i,/^Meu/i,/^Mer/i,/^Yao/i,/^Gwe/i,/^Sad/i],minWeekdaysParse:s,monthsRegex:a,monthsShortRegex:a,monthsStrictRegex:/^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,monthsShortStrictRegex:/^(gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY HH:mm",LLLL:"dddd, D [a viz] MMMM YYYY HH:mm"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warcʼhoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Decʼh da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s ʼzo",s:"un nebeud segondennoù",ss:"%d eilenn",m:"ur vunutenn",mm:t,h:"un eur",hh:"%d eur",d:"un devezh",dd:t,M:"ur miz",MM:t,y:"ur bloaz",yy:function(e){switch(n(e)){case 1:case 3:case 4:case 5:case 9:return e+" bloaz";default:return e+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(añ|vet)/,ordinal:function(e){return e+(1===e?"añ":"vet")},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(e){return"g.m."===e},meridiem:function(e,t,n){return e<12?"a.m.":"g.m."}})}(n(5093))},4429(e,t,n){!function(e){"use strict";function t(e,t,n){var i=e+" ";switch(n){case"ss":return i+(1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi");case"mm":return i+(1===e?"minuta":2===e||3===e||4===e?"minute":"minuta");case"h":return"jedan sat";case"hh":return i+(1===e?"sat":2===e||3===e||4===e?"sata":"sati");case"dd":return i+(1===e?"dan":"dana");case"MM":return i+(1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci");case"yy":return i+(1===e?"godina":2===e||3===e||4===e?"godine":"godina")}}e.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_Äetvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._Äet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_Äe_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juÄer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[proÅ¡lu] dddd [u] LT";case 6:return"[proÅ¡le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[proÅ¡li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:t,m:function(e,t,n,i){if("m"===n)return t?"jedna minuta":i?"jednu minutu":"jedne minute"},mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(5093))},7306(e,t,n){!function(e){"use strict";e.defineLocale("ca",{months:{standalone:"gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de març_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._març_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[demà a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aquà %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%
9218d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(e,t){var n=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"è";return"w"!==t&&"W"!==t||(n="a"),e+n},week:{dow:1,doy:4}})}(n(5093))},6464(e,t,n){!function(e){"use strict";var t={standalone:"leden_únor_bÅezen_duben_kvÄten_Äerven_Äervenec_srpen_záÅÃ_ÅÃjen_listopad_prosinec".split("_"),format:"ledna_února_bÅezna_dubna_kvÄtna_Äervna_Äervence_srpna_záÅÃ_ÅÃjna_listopadu_prosince".split("_"),isFormat:/DD?[o.]?(\[[^\[\]]*\]|\s)+MMMM/},n="led_úno_bÅe_dub_kvÄ_Ävn_Ävc_srp_záÅ_ÅÃj_lis_pro".split("_"),i=[/^led/i,/^úno/i,/^bÅe/i,/^dub/i,/^kvÄ/i,/^(Ävn|Äerven$|Äervna)/i,/^(Ävc|Äervenec|Äervence)/i,/^srp/i,/^záÅ/i,/^ÅÃj/i,/^lis/i,/^pro/i],a=/^(leden|únor|bÅezen|duben|kvÄten|Äervenec|Äervence|Äerven|Äervna|srpen|záÅÃ|ÅÃjen|listopad|prosinec|led|úno|bÅe|dub|kvÄ|Ävn|Ävc|srp|záÅ|ÅÃj|lis|pro)/i;function s(e){return e>1&&e<5&&1!=~~(e/10)}function r(e,t,n,i){var a=e+" ";switch(n){case"s":return t||i?"pár sekund":"pár sekundami";case"ss":return t||i?a+(s(e)?"sekundy":"sekund"):a+"sekundami";case"m":return t?"minuta":i?"minutu":"minutou";case"mm":return t||i?a+(s(e)?"minuty":"minut"):a+"minutami";case"h":return t?"hodina":i?"hodinu":"hodinou";case"hh":return t||i?a+(s(e)?"hodiny":"hodin"):a+"hodinami";case"d":return t||i?"den":"dnem";case"dd":return t||i?a+(s(e)?"dny":"dnÃ"):a+"dny";case"M":return t||i?"mÄsÃc":"mÄsÃcem";case"MM":return t||i?a+(s(e)?"mÄsÃce":"mÄsÃců"):a+"mÄsÃci";case"y":return t||i?"rok":"rokem";case"yy":return t||i?a+(s(e)?"roky":"let"):a+"lety"}}e.defineLocale("cs",{months:t,monthsShort:n,monthsRegex:a,monthsShortRegex:a,monthsStrictRegex:/^(leden|ledna|února|únor|bÅezen|bÅezna|duben|dubna|kvÄten|kvÄtna|Äervenec|Äervence|Äerven|Äervna|srpen|srpna|záÅÃ|ÅÃjen|ÅÃjna|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|úno|bÅe|dub|kvÄ|Ävn|Ävc|srp|záÅ|ÅÃj|lis|pro)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"nedÄle_pondÄlÃ_úterý_stÅeda_Ätvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_Ät_pá_so".split("_"),weekdaysMin:"ne_po_út_st_Ät_pá_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[zÃtra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nedÄli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve stÅedu v] LT";case 4:return"[ve Ätvrtek v] LT";case 5:return"[v pátek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[vÄera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou nedÄli v] LT";case 1:case 2:return"[minulé] dddd [v] LT";case 3:return"[minulou stÅedu v] LT";case 4:case 5:return"[minulý] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pÅed %s",s:r,ss:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5093))},3635(e,t,n){!function(e){"use strict";e.defineLocale("cv",{months:"кÓÑлаÑ_наÑÓÑ_пÑÑ_ака_май_Ò«ÓÑÑме_ÑÑÓ_Ò«ÑÑла_авÓн_Ñпа_Ñӳк_ÑаÑÑав".split("_"),monthsShort:"кÓÑ_наÑ_пÑÑ_ака_май_Ò«ÓÑ_ÑÑÓ_Ò«ÑÑ_авн_Ñпа_Ñӳк_ÑаÑ".split("_"),weekdays:"вÑÑÑаÑникÑн_ÑÑнÑикÑн_ÑÑлаÑикÑн_ÑнкÑн_кÓҫнеÑникÑн_ÑÑнекÑн_ÑÓмаÑкÑн".split("_"),weekdaysShort:"вÑÑ_ÑÑн_ÑÑл_Ñн_кÓÒ«_ÑÑн_ÑÓм".split("_"),weekdaysMin:"вÑ_Ñн_ÑÑ_Ñн_кҫ_ÑÑ_Ñм".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [Ò«ÑлÑ
и] MMMM [ÑйÓÑ
Óн] D[-мÓÑÓ]",LLL:"YYYY [Ò«ÑлÑ
и] MMMM [ÑйÓÑ
Óн] D[-мÓÑÓ], HH:mm",LLLL:"dddd, YYYY [Ò«ÑлÑ
и] MMMM [ÑйÓÑ
Óн] D[-мÓÑÓ], HH:mm"},calendar:{sameDay:"[ÐаÑн] LT [ÑеÑ
еÑÑе]",nextDay:"[ЫÑан] LT [ÑеÑ
еÑÑе]",lastDay:"[ÓнеÑ] LT [ÑеÑ
еÑÑе]",nextWeek:"[ҪиÑеÑ] dddd LT [ÑеÑ
еÑÑе]",lastWeek:"[ÐÑÑнÓ] dddd LT [ÑеÑ
еÑÑе]",sameElse:"L"},relativeTime:{future:function(e){return e+(/ÑеÑ
еÑ$/i.exec(e)?"Ñен":/Ò«Ñл$/i.exec(e)?"Ñан":"Ñан")},past:"%s каÑлла",s:"пÓÑ-ик ҫеккÑнÑ",ss:"%d ҫеккÑнÑ",m:"пÓÑ Ð¼Ð¸Ð½ÑÑ",mm:"%d минÑÑ",h:"пÓÑ ÑеÑ
еÑ",hh:"%
9218d ÑеÑ
еÑ",d:"пÓÑ ÐºÑн",dd:"%d кÑн",M:"пÓÑ ÑйÓÑ
",MM:"%d ÑйÓÑ
",y:"пÓÑ Ò«Ñл",yy:"%d Ò«Ñл"},dayOfMonthOrdinalParse:/\d{1,2}-мÓÑ/,ordinal:"%d-мÓÑ",week:{dow:1,doy:7}})}(n(5093))},4226(e,t,n){!function(e){"use strict";e.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn ôl",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(e){var t="";return e>20?t=40===e||50===e||60===e||80===e||100===e?"fed":"ain":e>0&&(t=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][e]),e+t},week:{dow:1,doy:4}})}(n(5093))},3601(e,t,n){!function(e){"use strict";e.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"søn_man_tir_ons_tor_fre_lør".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"pÃ¥ dddd [kl.] LT",lastDay:"[i gÃ¥r kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"fÃ¥ sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en mÃ¥ned",MM:"%d mÃ¥neder",y:"et Ã¥r",yy:"%d Ã¥r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5093))},6111(e,t,n){!function(e){"use strict";function t(e,t,n,i){var a={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?a[n][0]:a[n][1]}e.defineLocale("de-at",{months:"Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jän._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5093))},4697(e,t,n){!function(e){"use strict";function t(e,t,n,i){var a={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?a[n][0]:a[n][1]}e.defineLocale("de-ch",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%
9218d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5093))},7853(e,t,n){!function(e){"use strict";function t(e,t,n,i){var a={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?a[n][0]:a[n][1]}e.defineLocale("de",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5093))},708(e,t,n){!function(e){"use strict";var t=["ÞÞ¬ÞÞªÞÞ¦ÞÞ©","ÞÞ¬ÞÞ°ÞÞªÞÞ¦ÞÞ©","ÞÞ§ÞÞ¨ÞÞª","ÞÞÞÞ°ÞÞ©ÞÞª","ÞÞ","ÞÞ«ÞÞ°","ÞÞªÞÞ¦ÞÞ¨","ÞÞ¯ÞÞ¦ÞÞ°ÞÞª","ÞÞ¬ÞÞ°ÞÞ¬ÞÞ°ÞÞ¦ÞÞª","ÞÞ®ÞÞ°ÞÞ¯ÞÞ¦ÞÞª","ÞÞ®ÞÞ¬ÞÞ°ÞÞ¦ÞÞª","ÞÞ¨ÞÞ¬ÞÞ°ÞÞ¦ÞÞª"],n=["ÞÞ§ÞÞ¨ÞÞ°ÞÞ¦","ÞÞ¯ÞÞ¦","ÞÞ¦ÞÞ°ÞÞ§ÞÞ¦","ÞÞªÞÞ¦","ÞÞªÞÞ§ÞÞ°ÞÞ¦ÞÞ¨","ÞÞªÞÞªÞÞª","ÞÞ®ÞÞ¨ÞÞ¨ÞÞª"];e.defineLocale("dv",{months:t,monthsShort:t,weekdays:n,weekdaysShort:n,weekdaysMin:"ÞÞ§ÞÞ¨_ÞÞ¯ÞÞ¦_ÞÞ¦ÞÞ°_ÞÞªÞÞ¦_ÞÞªÞÞ§_ÞÞªÞÞª_ÞÞ®ÞÞ¨".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ÞÞ|ÞÞ/,isPM:function(e){return"ÞÞ"===e},meridiem:function(e,t,n){return e<12?"ÞÞ":"ÞÞ"},calendar:{sameDay:"[ÞÞ¨ÞÞ¦ÞÞª] LT",nextDay:"[ÞÞ§ÞÞ¦ÞÞ§] LT",nextWeek:"dddd LT",lastDay:"[ÞÞ¨ÞÞ°ÞÞ¬] LT",lastWeek:"[ÞÞ§ÞÞ¨ÞÞªÞÞ¨] dddd LT",sameElse:"L"},relativeTime:{future:"ÞÞ¬ÞÞÞÞ¦ÞÞ¨ %s",past:"ÞÞªÞÞ¨ÞÞ° %s",s:"ÞÞ¨ÞÞªÞÞ°ÞÞªÞÞ®Þ
Þ¬ÞÞ°",ss:"d% ÞÞ¨ÞÞªÞÞ°ÞÞª",m:"ÞÞ¨ÞÞ¨ÞÞ¬ÞÞ°",mm:"ÞÞ¨ÞÞ¨ÞÞª %d",h:"ÞÞ¦ÞÞ¨ÞÞ¨ÞÞ¬ÞÞ°",hh:"ÞÞ¦ÞÞ¨ÞÞ¨ÞÞª %d",d:"ÞÞªÞÞ¦ÞÞ¬ÞÞ°",dd:"ÞÞªÞÞ¦ÞÞ° %d",M:"ÞÞ¦ÞÞ¬ÞÞ°",MM:"ÞÞ¦ÞÞ° %d",y:"ÞÞ¦ÞÞ¦ÞÞ¬ÞÞ°",yy:"ÞÞ¦ÞÞ¦ÞÞª %d"},preparse:function(e){return e.replace(/Ø/g,",")},postformat:function(e){return e.replace(/,/g,"Ø")},week:{dow:7,doy:12}})}(n(5093))},4691(e,t,n){!function(e){"use strict";e.defineLocale("el",{monthsNominativeEl:"ÎανοÏ
άÏιοÏ_ΦεβÏοÏ
άÏιοÏ_ÎάÏÏιοÏ_ÎÏÏίλιοÏ_ÎάιοÏ_ÎοÏνιοÏ_ÎοÏλιοÏ_ÎÏγοÏ
ÏÏοÏ_ΣεÏÏÎμβÏιοÏ_ÎκÏÏβÏιοÏ_ÎοÎμβÏιοÏ_ÎεκÎμβÏιοÏ".split("_"),monthsGenitiveEl:"ÎανοÏ
αÏίοÏ
_ΦεβÏοÏ
αÏίοÏ
_ÎαÏÏίοÏ
_ÎÏÏιλίοÏ
_ÎαÎοÏ
_ÎοÏ
νίοÏ
_ÎοÏ
λίοÏ
_ÎÏ
γοÏÏÏοÏ
_ΣεÏÏεμβÏίοÏ
_ÎκÏÏβÏίοÏ
_ÎοεμβÏίοÏ
_ÎεκεμβÏίοÏ
".split("_"),months:function(e,t){return e?"string"==typeof t&&/D/.test(t.substring(0,t.indexOf("MMMM")))?this._monthsGenitiveEl[e.month()]:this._monthsNominativeEl[e.month()]:this._monthsNominativeEl},monthsShort:"Îαν_Φεβ_ÎαÏ_ÎÏÏ_ÎαÏ_ÎοÏ
ν_ÎοÏ
λ_ÎÏ
γ_ΣεÏ_ÎκÏ_Îοε_Îεκ".split("_"),weekdays:"ÎÏ
Ïιακή_ÎεÏ
ÏÎÏα_ΤÏίÏη_ΤεÏάÏÏη_Î ÎμÏÏη_ΠαÏαÏκεÏ
ή_ΣάββαÏο".split("_"),weekdaysShort:"ÎÏ
Ï_ÎεÏ
_ΤÏι_ΤεÏ_Πεμ_ΠαÏ_Σαβ".split("_"),weekdaysMin:"ÎÏ
_Îε_ΤÏ_Τε_Πε_Πα_Σα".split("_"),meridiem:function(e,t,n){return e>11?n?"μμ":"ÎÎ":n?"Ïμ":"Î Î"},isPM:function(e){return"μ"===(e+"").toLowerCase()[0]},meridiemParse:/[Î Î]\.?Î?\.?/i,longDateFormat:{LT:"h:mm A",LT
vendor: 6,942 bytes, line 9218
9218S:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[ΣήμεÏα {}] LT",nextDay:"[ÎÏÏιο {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[Î§Î¸ÎµÏ {}] LT",lastWeek:function(){return 6===this.day()?"[Ïο ÏÏοηγοÏμενο] dddd [{}] LT":"[Ïην ÏÏοηγοÏμενη] dddd [{}] LT"},sameElse:"L"},calendar:function(e,t){var n,i=this._calendarEl[e],a=t&&t.hours();return n=i,("undefined"!=typeof Function&&n instanceof Function||"[object Function]"===Object.prototype.toString.call(n))&&(i=i.apply(t)),i.replace("{}",a%12==1?"ÏÏη":"ÏÏιÏ")},relativeTime:{future:"Ïε %s",past:"%s ÏÏιν",s:"λίγα δεÏ
ÏεÏÏλεÏÏα",ss:"%d δεÏ
ÏεÏÏλεÏÏα",m:"Îνα λεÏÏÏ",mm:"%d λεÏÏά",h:"μία ÏÏα",hh:"%d ÏÏεÏ",d:"μία μÎÏα",dd:"%d μÎÏεÏ",M:"ÎÎ½Î±Ï Î¼Î®Î½Î±Ï",MM:"%d μήνεÏ",y:"ÎÎ½Î±Ï ÏÏÏνοÏ",yy:"%d ÏÏÏνια"},dayOfMonthOrdinalParse:/\d{1,2}η/,ordinal:"%dη",week:{dow:1,doy:4}})}(n(5093))},3872(e,t,n){!function(e){"use strict";e.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:0,doy:4}})}(n(5093))},8298(e,t,n){!function(e){"use strict";e.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}})}(n(5093))},6195(e,t,n){!function(e){"use strict";e.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(5093))},6584(e,t,n){!function(e){"use strict";e.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(5093))},5543(e,t,n){!function(e){"use strict";e.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}})}(n(5093))},9033(e,t,n){!function(e){"use strict";e.defineLocale("en-in",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LT
vendor: 16,594 bytes, line 9218
9218S:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:0,doy:6}})}(n(5093))},9402(e,t,n){!function(e){"use strict";e.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(5093))},3004(e,t,n){!function(e){"use strict";e.defineLocale("en-sg",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(5093))},2934(e,t,n){!function(e){"use strict";e.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_aÅgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mart_apr_maj_jun_jul_aÅg_sept_okt_nov_dec".split("_"),weekdays:"dimanÄo_lundo_mardo_merkredo_ĵaÅdo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_ĵaÅ_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_ĵa_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"[la] D[-an de] MMMM, YYYY",LLL:"[la] D[-an de] MMMM, YYYY HH:mm",LLLL:"dddd[n], [la] D[-an de] MMMM, YYYY HH:mm",llll:"ddd, [la] D[-an de] MMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(e){return"p"===e.charAt(0).toLowerCase()},meridiem:function(e,t,n){return e>11?n?"p.t.m.":"P.T.M.":n?"a.t.m.":"A.T.M."},calendar:{sameDay:"[HodiaÅ je] LT",nextDay:"[MorgaÅ je] LT",nextWeek:"dddd[n je] LT",lastDay:"[HieraÅ je] LT",lastWeek:"[pasintan] dddd[n je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"antaÅ %s",s:"kelkaj sekundoj",ss:"%d sekundoj",m:"unu minuto",mm:"%d minutoj",h:"unu horo",hh:"%d horoj",d:"unu tago",dd:"%d tagoj",M:"unu monato",MM:"%d monatoj",y:"unu jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})}(n(5093))},838(e,t,n){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),i=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],a=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},monthsRegex:a,monthsShortRegex:a,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un dÃa",dd:"%d dÃas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(5093))},7730(e,t,n){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),i=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],a=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-mx",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},monthsRegex:a,monthsShortRegex:a,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un dÃa",dd:"%d dÃas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:0,doy:4},invalidDate:"Fecha inválida"})}(n(5093))},6575(e,t,n){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),i=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],a=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},monthsRegex:a,monthsShortRegex:a,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un dÃa",dd:"%d dÃas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:0,doy:6}})}(n(5093))},7650(e,t,n){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),i=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],a=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},monthsRegex:a,monthsShortRegex:a,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un dÃa",dd:"%d dÃas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4},invalidDate:"Fecha inválida"})}(n(5093))},3035(e,t,n){!function(e){"use strict";function t(e,t,n,i){var a={s:["mõne sekundi","mõni sekund","paar sekundit"],ss:[e+"sekundi",e+"sekundit"],m:["ühe minuti","üks minut"],mm:[e+" minuti",e+" minutit"],h:["ühe tunni","tund aega","üks tund"],hh:[e+" tunni",e+" tundi"],d:["ühe päeva","üks päev"],M:["kuu aja","kuu aega","üks kuu"],MM:[e+" kuu",e+" kuud"],y:["ühe aasta","aasta","üks aasta"],yy:[e+" aasta",e+" aastat"]};return t?a[n][2]?a[n][2]:a[n][1]:i?a[n][0]:a[n][1]}e.defineLocale("et",{months:"jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[Täna,] LT",nextDay:"[Homme,] LT",nextWeek:"[Järgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s pärast",past:"%s tagasi",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:"%d päeva",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5093))},3508(e,t,n){!function(e){"use strict";e.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(5093))},119(e,t,n){!function(e){"use strict";var t={1:"Û±",2:"Û²",3:"Û³",4:"Û´",5:"Ûµ",6:"Û¶",7:"Û·",8:"Û¸",9:"Û¹",0:"Û°"},n={"Û±":"1","Û²":"2","Û³":"3","Û´":"4","Ûµ":"5","Û¶":"6","Û·":"7","Û¸":"8","Û¹":"9","Û°":"0"};e.defineLocale("fa",{months:"ÚØ§ÙÙÛÙ_ÙÙØ±ÛÙ_Ù
ارس_Ø¢ÙØ±ÛÙ_Ù
Ù_ÚÙØ¦Ù_ÚÙØ¦ÛÙ_Ø§ÙØª_سپتاÙ
بر_اکتبر_ÙÙØ§Ù
بر_دساÙ
بر".split("_"),monthsShort:"ÚØ§ÙÙÛÙ_ÙÙØ±ÛÙ_Ù
ارس_Ø¢ÙØ±ÛÙ_Ù
Ù_ÚÙØ¦Ù_ÚÙØ¦ÛÙ_Ø§ÙØª_سپتاÙ
بر_اکتبر_ÙÙØ§Ù
بر_دساÙ
بر".split("_"),weekdays:"ÛÚ©âØ´ÙØ¨Ù_Ø¯ÙØ´ÙبÙ_سÙâØ´ÙØ¨Ù_ÚÙØ§Ø±Ø´ÙبÙ_Ù¾ÙØ¬âØ´ÙØ¨Ù_جÙ
عÙ_Ø´ÙØ¨Ù".split("_"),weekdaysShort:"ÛÚ©âØ´ÙØ¨Ù_Ø¯ÙØ´ÙبÙ_سÙâØ´ÙØ¨Ù_ÚÙØ§Ø±Ø´ÙبÙ_Ù¾ÙØ¬âØ´ÙØ¨Ù_جÙ
عÙ_Ø´ÙØ¨Ù".split("_"),weekdaysMin:"Û_د_س_Ú_Ù¾_ج_Ø´".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/ÙØ¨Ù از Ø¸ÙØ±|بعد از Ø¸ÙØ±/,isPM:function(e){return/بعد از Ø¸ÙØ±/.test(e)},meridiem:function(e,t,n){return e<12?"ÙØ¨Ù از Ø¸ÙØ±":"بعد از Ø¸ÙØ±"},calendar:{sameDay:"[اÙ
Ø±ÙØ² ساعت] LT",nextDay:"[ÙØ±Ø¯Ø§ ساعت] LT",nextWeek:"dddd [ساعت] LT",lastDay:"[Ø¯ÛØ±Ùز ساعت] LT",lastWeek:"dddd [Ù¾ÛØ´] [ساعت] LT",sameElse:"L"},relativeTime:{future:"در %s",past:"%s Ù¾ÛØ´",s:"ÚÙØ¯ ثاÙÛÙ",ss:"%d ثاÙÛÙ",m:"ÛÚ© دÙÛÙÙ",mm:"%d دÙÛÙÙ",h:"ÛÚ© ساعت",hh:"%
9218d ساعت",d:"ÛÚ© Ø±ÙØ²",dd:"%d Ø±ÙØ²",M:"ÛÚ© Ù
اÙ",MM:"%d Ù
اÙ",y:"ÛÚ© ساÙ",yy:"%d ساÙ"},preparse:function(e){return e.replace(/[Û°-Û¹]/g,function(e){return n[e]}).replace(/Ø/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"Ø")},dayOfMonthOrdinalParse:/\d{1,2}Ù
/,ordinal:"%dÙ
",week:{dow:6,doy:12}})}(n(5093))},527(e,t,n){!function(e){"use strict";var t="nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän".split(" "),n=["nolla","yhden","kahden","kolmen","neljän","viiden","kuuden",t[7],t[8],t[9]];function i(e,i,a,s){var r="";switch(a){case"s":return s?"muutaman sekunnin":"muutama sekunti";case"ss":r=s?"sekunnin":"sekuntia";break;case"m":return s?"minuutin":"minuutti";case"mm":r=s?"minuutin":"minuuttia";break;case"h":return s?"tunnin":"tunti";case"hh":r=s?"tunnin":"tuntia";break;case"d":return s?"päivän":"päivä";case"dd":r=s?"päivän":"päivää";break;case"M":return s?"kuukauden":"kuukausi";case"MM":r=s?"kuukauden":"kuukautta";break;case"y":return s?"vuoden":"vuosi";case"yy":r=s?"vuoden":"vuotta"}return function(e,i){return e<10?i?n[e]:t[e]:e}(e,s)+" "+r}e.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[tänään] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s päästä",past:"%s sitten",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5093))},5995(e,t,n){!function(e){"use strict";e.defineLocale("fil",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(n(5093))},2477(e,t,n){!function(e){"use strict";e.defineLocale("fo",{months:"januar_februar_mars_aprÃl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_frÃggjadagur_leygardagur".split("_"),weekdaysShort:"sun_mán_týs_mik_hós_frÃ_ley".split("_"),weekdaysMin:"su_má_tý_mi_hó_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[à dag kl.] LT",nextDay:"[à morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[à gjár kl.] LT",lastWeek:"[sÃðstu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s sÃðani",s:"fá sekund",ss:"%d sekundir",m:"ein minuttur",mm:"%d minuttir",h:"ein tÃmi",hh:"%d tÃmar",d:"ein dagur",dd:"%d dagar",M:"ein mánaður",MM:"%d mánaðir",y:"eitt ár",yy:"%d ár"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5093))},6435(e,t,n){!function(e){"use strict";e.defineLocale("fr-ca",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourdâhui à ] LT",nextDay:"[Demain à ] LT",nextWeek:"dddd [à ] LT",lastDay:"[Hier à ] LT",lastWeek:"dddd [dernier à ] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}}})}(n(5093))},7892(e,t,n){!function(e){"use strict";e.defineLocale("fr-ch",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourdâhui à ] LT",nextDay:"[Demain à ] LT",nextWeek:"dddd [à ] LT",lastDay:"[Hier à ] LT",lastWeek:"dddd [dernier à ] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}})}(n(5093))},5498(e,t,n){!function(e){"use strict";var t=/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?|janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,n=[/^janv/i,/^févr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^août/i,/^sept/i,/^oct/i,/^nov/i,/^déc/i];e.defineLocale("fr",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsRegex:t,monthsShortRegex:t,monthsStrictRegex:/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,monthsShortStrictRegex:/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourdâhui à ] LT",nextDay:"[Demain à ] LT",nextWeek:"dddd [à ] LT",lastDay:"[Hier à ] LT",lastWeek:"dddd [dernier à ] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",w:"une semaine",ww:"%d semaines",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(e,t){switch(t){case"D":return e+(1===e?"er":"");default:case"M":case"Q":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}})}(n(5093))},7071(e,t,n){!function(e){"use strict";var t="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),n="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");e.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[ôfrûne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien minút",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n(5093))},1734(e,t,n){!function(e){"use strict";e.defineLocale("ga",{months:["Eanáir","Feabhra","Márta","Aibreán","Bealtaine","Meitheamh","Iúil","Lúnasa","Meán Fómhair","Deireadh Fómhair","Samhain","Nollaig"],monthsShort:["Ean","Feabh","Márt","Aib","Beal","Meith","Iúil","Lún","M.F.","D.F.","Samh","Noll"],monthsParseExact:!0,weekdays:["Dé Domhnaigh","Dé Luain","Dé Máirt","Dé Céadaoin","Déardaoin","Dé hAoine","Dé Sathairn"],weekdaysShort:["Domh","Luan","Máirt","Céad","Déar","Aoine","Sath"],weekdaysMin:["Do","Lu","Má","Cé","Dé","A","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Inniu ag] LT",nextDay:"[Amárach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inné ag] LT",lastWeek:"dddd [seo caite] [ag] LT",sameElse:"L"},relativeTime:{future:"i %s",past:"%s ó shin",s:"cúpla soicind",ss:"%d soicind",m:"nóiméad",mm:"%d nóiméad",h:"uair an chloig",hh:"%d uair an chloig",d:"lá",dd:"%d lá",M:"mÃ",MM:"%d mÃonna",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){return e+(1===e?"d":e%10==2?"na":"mh")},week:{dow:1,doy:4}})}(n(5093))}
vendor: 4,495 bytes, line 9218
9218,217(e,t,n){!function(e){"use strict";e.defineLocale("gd",{months:["Am Faoilleach","An Gearran","Am Mà rt","An Giblean","An Cèitean","An t-Ãgmhios","An t-Iuchar","An Lùnastal","An t-Sultain","An Dà mhair","An t-Samhain","An Dùbhlachd"],monthsShort:["Faoi","Gear","Mà rt","Gibl","Cèit","Ãgmh","Iuch","Lùn","Sult","Dà mh","Samh","Dùbh"],monthsParseExact:!0,weekdays:["Didòmhnaich","Diluain","Dimà irt","Diciadain","Diardaoin","Dihaoine","Disathairne"],weekdaysShort:["Did","Dil","Dim","Dic","Dia","Dih","Dis"],weekdaysMin:["Dò","Lu","Mà ","Ci","Ar","Ha","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-mà ireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-dè aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"mìos",MM:"%d mìosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){return e+(1===e?"d":e%10==2?"na":"mh")},week:{dow:1,doy:4}})}(n(5093))},7329(e,t,n){!function(e){"use strict";e.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_mércores_xoves_venres_sábado".split("_"),weekdaysShort:"dom._lun._mar._mér._xov._ven._sáb.".split("_"),weekdaysMin:"do_lu_ma_mé_xo_ve_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"ás":"á")+"] LT"},nextDay:function(){return"[mañá "+(1!==this.hours()?"ás":"á")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"ás":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"á":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"ás":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(e){return 0===e.indexOf("un")?"n"+e:"en "+e},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un dÃa",dd:"%d dÃas",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(5093))},2124(e,t,n){!function(e){"use strict";function t(e,t,n,i){var a={s:["थà¥à¤¡à¤¯à¤¾ सà¥
à¤à¤à¤¡à¤¾à¤à¤¨à¥","थà¥à¤¡à¥ सà¥
à¤à¤à¤¡"],ss:[e+" सà¥
à¤à¤à¤¡à¤¾à¤à¤¨à¥",e+" सà¥
à¤à¤à¤¡"],m:["à¤à¤à¤¾ मिणà¤à¤¾à¤¨","à¤à¤ मिनà¥à¤"],mm:[e+" मिणà¤à¤¾à¤à¤¨à¥",e+" मिणà¤à¤¾à¤"],h:["à¤à¤à¤¾ वरान","à¤à¤ वर"],hh:[e+" वराà¤à¤¨à¥",e+" वराà¤"],d:["à¤à¤à¤¾ दिसान","à¤à¤ दà¥à¤¸"],dd:[e+" दिसाà¤à¤¨à¥",e+" दà¥à¤¸"],M:["à¤à¤à¤¾ मà¥à¤¹à¤¯à¤¨à¥à¤¯à¤¾à¤¨","à¤à¤ मà¥à¤¹à¤¯à¤¨à¥"],MM:[e+" मà¥à¤¹à¤¯à¤¨à¥à¤¯à¤¾à¤¨à¥",e+" मà¥à¤¹à¤¯à¤¨à¥"],y:["à¤à¤à¤¾ वरà¥à¤¸à¤¾à¤¨","à¤à¤ वरà¥à¤¸"],yy:[e+" वरà¥à¤¸à¤¾à¤à¤¨à¥",e+" वरà¥à¤¸à¤¾à¤"]};return i?a[n][0]:a[n][1]}e.defineLocale("gom-deva",{months:{standalone:"à¤à¤¾à¤¨à¥à¤µà¤¾à¤°à¥_फà¥à¤¬à¥à¤°à¥à¤µà¤¾à¤°à¥_मारà¥à¤_à¤à¤ªà¥à¤°à¥à¤²_मà¥_à¤à¥à¤¨_à¤à¥à¤²à¤¯_à¤à¤à¤¸à¥à¤_सपà¥à¤à¥à¤à¤¬à¤°_à¤à¤à¥à¤à¥à¤¬à¤°_नà¥à¤µà¥à¤¹à¥à¤à¤¬à¤°_डिसà¥à¤à¤¬à¤°".split("_"),format:"à¤à¤¾à¤¨à¥à¤µà¤¾à¤°à¥à¤à¥à¤¯à¤¾_फà¥à¤¬à¥à¤°à¥à¤µà¤¾à¤°à¥à¤à¥à¤¯à¤¾_मारà¥à¤à¤¾à¤à¥à¤¯à¤¾_à¤à¤ªà¥à¤°à¥à¤²à¤¾à¤à¥à¤¯à¤¾_मà¥à¤¯à¤¾à¤à¥à¤¯à¤¾_à¤à¥à¤¨à¤¾à¤à¥à¤¯à¤¾_à¤à¥à¤²à¤¯à¤¾à¤à¥à¤¯à¤¾_à¤à¤à¤¸à¥à¤à¤¾à¤à¥à¤¯à¤¾_सपà¥à¤à¥à¤à¤¬à¤°à¤¾à¤à¥à¤¯à¤¾_à¤à¤à¥à¤à¥à¤¬à¤°à¤¾à¤à¥à¤¯à¤¾_नà¥à¤µà¥à¤¹à¥à¤à¤¬à¤°à¤¾à¤à¥à¤¯à¤¾_डिसà¥à¤à¤¬à¤°à¤¾à¤à¥à¤¯à¤¾".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"à¤à¤¾à¤¨à¥._फà¥à¤¬à¥à¤°à¥._मारà¥à¤_à¤à¤ªà¥à¤°à¥._मà¥_à¤à¥à¤¨_à¤à¥à¤²._à¤à¤._सपà¥à¤à¥à¤._à¤à¤à¥à¤à¥._नà¥à¤µà¥à¤¹à¥à¤._डिसà¥à¤.".split("_"),monthsParseExact:!0,weekdays:"à¤à¤¯à¤¤à¤¾à¤°_सà¥à¤®à¤¾à¤°_मà¤à¤à¤³à¤¾à¤°_बà¥à¤§à¤µà¤¾à¤°_बिरà¥à¤¸à¥à¤¤à¤¾à¤°_सà¥à¤à¥à¤°à¤¾à
9218¤°_शà¥à¤¨à¤µà¤¾à¤°".split("_"),weekdaysShort:"à¤à¤¯à¤¤._सà¥à¤®._मà¤à¤à¤³._बà¥à¤§._बà¥à¤°à¥à¤¸à¥à¤¤._सà¥à¤à¥à¤°._शà¥à¤¨.".split("_"),weekdaysMin:"à¤_सà¥_मà¤_बà¥_बà¥à¤°à¥_सà¥_शà¥".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [वाà¤à¤¤à¤¾à¤]",LTS:"A h:mm:ss [वाà¤à¤¤à¤¾à¤]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [वाà¤à¤¤à¤¾à¤]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [वाà¤à¤¤à¤¾à¤]",llll:"ddd, D MMM YYYY, A h:mm [वाà¤à¤¤à¤¾à¤]"},calendar:{sameDay:"[à¤à¤¯à¤] LT",nextDay:"[फालà¥à¤¯à¤¾à¤] LT",nextWeek:"[फà¥à¤¡à¤²à¥] dddd[,] LT",lastDay:"[à¤à¤¾à¤²] LT",lastWeek:"[फाà¤à¤²à¥] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s à¤à¤¦à¥à¤",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(वà¥à¤°)/,ordinal:function(e,t){return"D"===t?e+"वà¥à¤°":e},week:{dow:0,doy:3},meridiemParse:/रातà¥|सà¤à¤¾à¤³à¥à¤|दनपाराà¤|साà¤à¤à¥/,meridiemHour:function(e,t){return 12===e&&(e=0),"रातà¥"===t?e<4?e:e+12:"सà¤à¤¾à¤³à¥à¤"===t?e:"दनपाराà¤"===t?e>12?e:e+12:"साà¤à¤à¥"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"रातà¥":e<12?"सà¤à¤¾à¤³à¥à¤":e<16?"दनपाराà¤":e<20?"साà¤à¤à¥":"रातà¥"}})}(n(5093))},3383(e,t,n){!function(e){"use strict";function t(e,t,n,i){var a={s:["thoddea sekondamni","thodde sekond"],ss:[e+" sekondamni",e+" sekond"],m:["eka mintan","ek minut"],mm:[e+" mintamni",e+" mintam"],h:["eka voran","ek vor"],hh:[e+" voramni",e+" voram"],d:["eka disan","ek dis"],dd:[e+" disamni",e+" dis"],M:["eka mhoinean","ek mhoino"],MM:[e+" mhoineamni",e+" mhoine"],y:["eka vorsan","ek voros"],yy:[e+" vorsamni",e+" vorsam"]};return i?a[n][0]:a[n][1]}e.defineLocale("gom-latn",{months:{standalone:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),format:"Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Fuddlo] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fattlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(e,t){return"D"===t?e+"er":e},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(e,t){return 12===e&&(e=0),"rati"===t?e<4?e:e+12:"sokallim"===t?e:"donparam"===t?e>12?e:e+12:"sanje"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"rati":e<12?"sokallim":e<16?"donparam":e<20?"sanje":"rati"}})}(n(5093))},5050(e,t,n){!function(e){"use strict";var t={1:"à«§",2:"૨",3:"à«©",4:"૪",5:"à««",6:"૬",7:"à«",8:"à«®",9:"૯",0:"૦"},n={"à«§":"1","૨":"2","à«©":"3","૪":"4","à««":"5","૬":"6","à«":"7","à«®":"8","૯":"9","૦":"0"};e.defineLocale("gu",{months:"àªàª¾àª¨à«àª¯à«àªàª°à«_ફà«àª¬à«àª°à«àªàª°à«_મારà«àª_àªàªªà«àª°àª¿àª²_મà«_àªà«àª¨_àªà«àª²àª¾àª_àªàªàª¸à«àª_સપà«àªà«àª®à«àª¬àª°_àªàªà«àªà«àª¬àª°_નવà«àª®à«àª¬àª°_ડિસà«àª®à«àª¬àª°".split("_"),monthsShort:"àªàª¾àª¨à«àª¯à«._ફà«àª¬à«àª°à«._મારà«àª_àªàªªà«àª°àª¿._મà«_àªà«àª¨_àªà«àª²àª¾._àªàª._સપà«àªà«._àªàªà«àªà«._નવà«._ડિસà«.".split("_"),monthsParseExact:!0,weekdays:"રવિવાર_સà«àª®àªµàª¾àª°_મàªàªàª³àªµàª¾àª°_બà«àª§à«àªµàª¾àª°_àªà«àª°à«àªµàª¾àª°_શà«àªà«àª°àªµàª¾àª°_શનિવાર".split("_"),weekdaysShort:"રવિ_સà«àª®_મàªàªàª³_બà«àª§à«_àªà«àª°à«_શà«àªà«àª°_શનિ".split("_"),weekdaysMin:"ર_સà«_મàª_બà«_àªà«_શà«_શ".split("_"),longDateFormat:{LT:"A h:mm વાàªà«àª¯à«",LTS:"A h:mm:ss વાàªà«àª¯à«",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm વાàªà«àª¯à«",LLLL:"dddd, D MMMM YYYY, A h:mm વાàªà«àª¯à«"},calendar:{sameDay:"[àªàª] LT",nextDay:"[àªàª¾àª²à«] LT",nextWeek:"dddd, LT",lastDay:"[àªàªàªàª¾àª²à«] LT",lastWeek:"[પાàªàª²àª¾] dddd, LT",sameElse:"L"},relativeTime:{future:"%s મા",past:"%s પહà«àª²àª¾",s:"àª
મà«àª પળà«",ss:"%d સà«àªàªàª¡",m:"àªàª મિનિàª",mm:"%d મિનિàª",h:"àªàª àªàª²àª¾àª",hh:"%d àªàª²àª¾àª",d:"àªàª દિવસ",dd:"%d દિવસ",M:"àªàª મહિનà«",MM:"%d મહિનà«",y:"àªàª વરà«àª·",yy:"%d વરà«àª·"},preparse:function(e){return e.replace(/[૧૨૩૪૫૬à«à«®à«¯à«¦]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/રાત|બપà«àª°|સવાર|સાàªàª/,meridiemHour:function(e,t){return 12===e&&(e=0),"રાત"===t?e<4?e:e+12:"સવાર"===t?e:"બપà«àª°"===t?e>=10?e:e+12:"સાàªàª"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"રાત":e<10?"સવાર":e<17?"બપà«àª°":e<20?"સાàªàª":"રાત"},week:{dow:0,doy:6}})}(n(5093))},1713(e,t,n){!function(e){"use strict";e.defineLocale("he",{months:"×× ××ר_פ×ר××ר_×רץ_×פר××_×××_××× ×_××××_××××ס×_ספ×××ר_×××§×××ר_× ××××ר_×צ××ר".split("_"),monthsShort:"×× ×׳_פ×ר׳_×רץ_×פר׳_×××_××× ×_××××_×××׳_ספ×׳_××ק׳_× ××׳_×צ×׳".split("_"),weekdays:"ר×ש××_×©× ×_ש××ש×_ר×××¢×_×××ש×_ש×ש×_ש×ת".split("_"),weekdaysShort:"×׳_×׳_×׳_×׳_×׳_×׳_ש׳".split("_"),weekdaysMin:"×_×_×_×_×_×_ש".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [×]MMMM YYYY",LLL:"D [×]MMMM YYYY HH:mm",LLLL:"dddd, D [×]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[×××× ×Ö¾]LT",nextDay:"[××ר ×Ö¾]LT",nextWeek:"dddd [×שע×] LT",lastDay:"[×ת××× ×Ö¾]LT",lastWeek:"[××××] dddd [×××ר×× ×שע×] LT",sameElse:"L"},relativeTime:{future:"××¢×× %s",past:"××¤× × %s",s:"×ספר ×©× ××ת",
vendor: 4,734 bytes, line 9218
9218ss:"%d ×©× ××ת",m:"××§×",mm:"%d ××§×ת",h:"שע×",hh:function(e){return 2===e?"שעת×××":e+" שע×ת"},d:"×××",dd:function(e){return 2===e?"××××××":e+" ××××"},M:"×××ש",MM:function(e){return 2===e?"×××ש×××":e+" ×××ש××"},y:"×©× ×",yy:function(e){return 2===e?"×©× ×ª×××":e%10==0&&10!==e?e+" ×©× ×":e+" ×©× ××"}},meridiemParse:/×××"צ|××¤× ×"צ|×××¨× ×צ×ר×××|××¤× × ×צ×ר×××|××¤× ×ת ××קר|×××קר|×ער×/i,isPM:function(e){return/^(×××"צ|×××¨× ×צ×ר×××|×ער×)$/.test(e)},meridiem:function(e,t,n){return e<5?"××¤× ×ת ××קר":e<10?"×××קר":e<12?n?'××¤× ×"צ':"××¤× × ×צ×ר×××":e<18?n?'×××"צ':"×××¨× ×צ×ר×××":"×ער×"}})}(n(5093))},3861(e,t,n){!function(e){"use strict";var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"à¥",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","à¥":"7","८":"8","९":"9","०":"0"},i=[/^à¤à¤¨/i,/^फ़र|फर/i,/^मारà¥à¤/i,/^à¤
पà¥à¤°à¥/i,/^मà¤/i,/^à¤à¥à¤¨/i,/^à¤à¥à¤²/i,/^à¤
à¤/i,/^सितà¤|सित/i,/^à¤
à¤à¥à¤à¥/i,/^नव|नवà¤/i,/^दिसà¤|दिस/i];e.defineLocale("hi",{months:{format:"à¤à¤¨à¤µà¤°à¥_फ़रवरà¥_मारà¥à¤_à¤
पà¥à¤°à¥à¤²_मà¤_à¤à¥à¤¨_à¤à¥à¤²à¤¾à¤_à¤
à¤à¤¸à¥à¤¤_सितमà¥à¤¬à¤°_à¤
à¤à¥à¤à¥à¤¬à¤°_नवमà¥à¤¬à¤°_दिसमà¥à¤¬à¤°".split("_"),standalone:"à¤à¤¨à¤µà¤°à¥_फरवरà¥_मारà¥à¤_à¤
पà¥à¤°à¥à¤²_मà¤_à¤à¥à¤¨_à¤à¥à¤²à¤¾à¤_à¤
à¤à¤¸à¥à¤¤_सितà¤à¤¬à¤°_à¤
à¤à¥à¤à¥à¤¬à¤°_नवà¤à¤¬à¤°_दिसà¤à¤¬à¤°".split("_")},monthsShort:"à¤à¤¨._फ़र._मारà¥à¤_à¤
पà¥à¤°à¥._मà¤_à¤à¥à¤¨_à¤à¥à¤²._à¤
à¤._सित._à¤
à¤à¥à¤à¥._नव._दिस.".split("_"),weekdays:"रविवार_सà¥à¤®à¤µà¤¾à¤°_मà¤à¤à¤²à¤µà¤¾à¤°_बà¥à¤§à¤µà¤¾à¤°_à¤à¥à¤°à¥à¤µà¤¾à¤°_शà¥à¤à¥à¤°à¤µà¤¾à¤°_शनिवार".split("_"),weekdaysShort:"रवि_सà¥à¤®_मà¤à¤à¤²_बà¥à¤§_à¤à¥à¤°à¥_शà¥à¤à¥à¤°_शनि".split("_"),weekdaysMin:"र_सà¥_मà¤_बà¥_à¤à¥_शà¥_श".split("_"),longDateFormat:{LT:"A h:mm बà¤à¥",LTS:"A h:mm:ss बà¤à¥",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm बà¤à¥",LLLL:"dddd, D MMMM YYYY, A h:mm बà¤à¥"},monthsParse:i,longMonthsParse:i,shortMonthsParse:[/^à¤à¤¨/i,/^फ़र/i,/^मारà¥à¤/i,/^à¤
पà¥à¤°à¥/i,/^मà¤/i,/^à¤à¥à¤¨/i,/^à¤à¥à¤²/i,/^à¤
à¤/i,/^सित/i,/^à¤
à¤à¥à¤à¥/i,/^नव/i,/^दिस/i],monthsRegex:/^(à¤à¤¨à¤µà¤°à¥|à¤à¤¨\.?|फ़रवरà¥|फरवरà¥|फ़र\.?|मारà¥à¤?|à¤
पà¥à¤°à¥à¤²|à¤
पà¥à¤°à¥\.?|मà¤?|à¤à¥à¤¨?|à¤à¥à¤²à¤¾à¤|à¤à¥à¤²\.?|à¤
à¤à¤¸à¥à¤¤|à¤
à¤\.?|सितमà¥à¤¬à¤°|सितà¤à¤¬à¤°|सित\.?|à¤
à¤à¥à¤à¥à¤¬à¤°|à¤
à¤à¥à¤à¥\.?|नवमà¥à¤¬à¤°|नवà¤à¤¬à¤°|नव\.?|दिसमà¥à¤¬à¤°|दिसà¤à¤¬à¤°|दिस\.?)/i,monthsShortRegex:/^(à¤à¤¨à¤µà¤°à¥|à¤à¤¨\.?|फ़रवरà¥|फरवरà¥|फ़र\.?|मारà¥à¤?|à¤
पà¥à¤°à¥à¤²|à¤
पà¥à¤°à¥\.?|मà¤?|à¤à¥à¤¨?|à¤à¥à¤²à¤¾à¤|à¤à¥à¤²\.?|à¤
à¤à¤¸à¥à¤¤|à¤
à¤\.?|सितमà¥à¤¬à¤°|सितà¤à¤¬à¤°|सित\.?|à¤
à¤à¥à¤à¥à¤¬à¤°|à¤
à¤à¥à¤à¥\.?|नवमà¥à¤¬à¤°|नवà¤à¤¬à¤°|नव\.?|दिसमà¥à¤¬à¤°|दिसà¤à¤¬à¤°|दिस\.?)/i,monthsStrictRegex:/^(à¤à¤¨à¤µà¤°à¥?|फ़रवरà¥|फरवरà¥?|मारà¥à¤?|à¤
पà¥à¤°à¥à¤²?|मà¤?|à¤à¥à¤¨?|à¤à¥à¤²à¤¾à¤?|à¤
à¤à¤¸à¥à¤¤?|सितमà¥à¤¬à¤°|सितà¤à¤¬à¤°|सित?\.?|à¤
à¤à¥à¤à¥à¤¬à¤°|à¤
à¤à¥à¤à¥\.?|नवमà¥à¤¬à¤°|नवà¤à¤¬à¤°?|दिसमà¥à¤¬à¤°|दिसà¤à¤¬à¤°?)/i,monthsShortStrictRegex:/^(à¤à¤¨\.?|फ़र\.?|मारà¥à¤?|à¤
पà¥à¤°à¥\.?|मà¤?|à¤à¥à¤¨?|à¤à¥à¤²\.?|à¤
à¤\.?|सित\.?|à¤
à¤à¥à¤à¥\.?|नव\.?|दिस\.?)/i,calendar:{sameDay:"[à¤à¤] LT",nextDay:"[à¤à¤²] LT",nextWeek:"dddd, LT",lastDay:"[à¤à¤²] LT",lastWeek:"[पिà¤à¤²à¥] dddd, LT",sameElse:"L"},relativeTime:{future:"%s मà¥à¤",past:"%s पहलà¥",s:"à¤à¥à¤ हॠà¤à¥à¤·à¤£",ss:"%d सà¥à¤à¤à¤¡",m:"à¤à¤ मिनà¤",mm:"%d मिनà¤",h:"à¤à¤ à¤à¤à¤à¤¾",hh:"%d à¤à¤à¤à¥",d:"à¤à¤ दिन",dd:"%d दिन",M:"à¤à¤ महà¥à¤¨à¥",MM:"%d महà¥à¤¨à¥",y:"à¤à¤ वरà¥à¤·",yy:"%d वरà¥à¤·"},preparse:function(e){return e.replace(/[१२३४५६à¥à¥®à¥¯à¥¦]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/रात|सà¥à¤¬à¤¹|दà¥à¤ªà¤¹à¤°|शाम/,meridiemHour:function(e,t){return 12===e&&(e=0),"राà
9218¤¤"===t?e<4?e:e+12:"सà¥à¤¬à¤¹"===t?e:"दà¥à¤ªà¤¹à¤°"===t?e>=10?e:e+12:"शाम"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"रात":e<10?"सà¥à¤¬à¤¹":e<17?"दà¥à¤ªà¤¹à¤°":e<20?"शाम":"रात"},week:{dow:0,doy:6}})}(n(5093))},6308(e,t,n){!function(e){"use strict";function t(e,t,n){var i=e+" ";switch(n){case"ss":return i+(1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi");case"m":return t?"jedna minuta":"jedne minute";case"mm":return i+(1===e?"minuta":2===e||3===e||4===e?"minute":"minuta");case"h":return t?"jedan sat":"jednog sata";case"hh":return i+(1===e?"sat":2===e||3===e||4===e?"sata":"sati");case"dd":return i+(1===e?"dan":"dana");case"MM":return i+(1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci");case"yy":return i+(1===e?"godina":2===e||3===e||4===e?"godine":"godina")}}e.defineLocale("hr",{months:{format:"sijeÄnja_veljaÄe_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"sijeÄanj_veljaÄa_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_Äetvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._Äet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_Äe_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM YYYY",LLL:"Do MMMM YYYY H:mm",LLLL:"dddd, Do MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juÄer u] LT",lastWeek:function(){switch(this.day()){case 0:return"[proÅ¡lu] [nedjelju] [u] LT";case 3:return"[proÅ¡lu] [srijedu] [u] LT";case 6:return"[proÅ¡le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[proÅ¡li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:t,m:t,mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(5093))},609(e,t,n){!function(e){"use strict";var t="vasárnap hétfÅn kedden szerdán csütörtökön pénteken szombaton".split(" ");function n(e,t,n,i){var a=e;switch(n){case"s":return i||t?"néhány másodperc":"néhány másodperce";case"ss":return a+(i||t)?" másodperc":" másodperce";case"m":return"egy"+(i||t?" perc":" perce");case"mm":return a+(i||t?" perc":" perce");case"h":return"egy"+(i||t?" óra":" órája");case"hh":return a+(i||t?" óra":" órája");case"d":return"egy"+(i||t?" nap":" napja");case"dd":return a+(i||t?" nap":" napja");case"M":return"egy"+(i||t?" hónap":" hónapja");case"MM":return a+(i||t?" hónap":" hónapja");case"y":return"egy"+(i||t?" év":" éve");case"yy":return a+(i||t?" év":" éve")}return""}function i(e){return(e?"":"[múlt] ")+"["+t[this.day()]+"] LT[-kor]"}e.defineLocale("hu",{months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan._feb._márc._ápr._máj._jún._júl._aug._szept._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"vasárnap_hétfÅ_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(e){return"u"===e.charAt(1).toLowerCase()},meridiem:function(e,t,n){return e<12?!0===n?"de":"DE":!0===n?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return i.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return i.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s múlva",past:"%s",s:n,ss:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5093))},7160(e,t,n){!function(e){"use strict";e.defineLocale("hy-am",{months:{format:"Õ°Õ¸ÖÕ¶Õ¾Õ¡ÖÕ«_ÖÕ¥Õ¿ÖÕ¾Õ¡ÖÕ«_Õ´Õ¡ÖÕ¿Õ«_Õ¡ÕºÖÕ«Õ¬Õ«_Õ´Õ¡ÕµÕ«Õ½Õ«_Õ°Õ¸ÖÕ¶Õ«Õ½Õ«_Õ°Õ¸ÖÕ¬Õ«Õ½Õ«_Ö
Õ£Õ¸Õ½Õ¿Õ¸Õ½Õ«_Õ½Õ¥ÕºÕ¿Õ¥Õ´Õ¢Õ¥ÖÕ«_Õ°Õ¸Õ¯Õ¿Õ¥Õ´Õ¢Õ¥ÖÕ«_Õ¶Õ¸ÕµÕ¥Õ´Õ¢Õ¥ÖÕ«_Õ¤Õ¥Õ¯Õ¿Õ¥Õ´Õ¢Õ¥ÖÕ«".split("_"),standalone:"Õ°Õ¸ÖÕ¶Õ¾Õ¡Ö_ÖÕ¥Õ¿ÖÕ¾Õ¡Ö_Õ´Õ¡ÖÕ¿_Õ¡ÕºÖÕ«Õ¬_Õ´Õ¡ÕµÕ«Õ½_Õ°Õ¸ÖÕ¶Õ«Õ½_Õ°Õ¸ÖÕ¬Õ«Õ½_Ö
Õ£Õ¸Õ½Õ¿Õ¸Õ½_Õ½Õ¥ÕºÕ¿Õ¥Õ´Õ¢Õ¥Ö_Õ°Õ¸Õ¯Õ¿Õ¥Õ´Õ¢Õ¥Ö_Õ¶Õ¸ÕµÕ¥Õ´Õ¢Õ¥Ö_Õ¤Õ¥Õ¯Õ¿Õ¥Õ´Õ¢Õ¥Ö".split("_")},monthsShort:"Õ°Õ¶Õ¾_ÖÕ¿Ö_Õ´ÖÕ¿_Õ¡ÕºÖ_Õ´ÕµÕ½_Õ°Õ¶Õ½_Õ°Õ¬Õ½_Ö
Õ£Õ½_Õ½ÕºÕ¿_Õ°Õ¯Õ¿_Õ¶Õ´Õ¢_Õ¤Õ¯Õ¿".split("_"),weekdays:"Õ¯Õ«ÖÕ¡Õ¯Õ«_Õ¥ÖÕ¯Õ¸ÖÕ·Õ¡Õ¢Õ©Õ«_Õ¥ÖÕ¥ÖÕ·Õ¡Õ¢Õ©Õ«_Õ¹Õ¸ÖÕ¥ÖÕ·Õ¡Õ¢Õ©Õ«_Õ°Õ«Õ¶Õ£Õ·Õ¡Õ¢Õ©Õ«_Õ¸ÖÖÕ¢Õ¡Õ©_Õ·Õ¡Õ¢Õ¡Õ©".split("_"),weekdaysShort:"Õ¯ÖÕ¯_Õ¥ÖÕ¯_Õ¥ÖÖ_Õ¹ÖÖ_Õ°Õ¶Õ£_Õ¸ÖÖÕ¢_Õ·Õ¢Õ©".split("_"),weekdaysMin:"Õ¯ÖÕ¯_Õ¥ÖÕ¯_Õ¥ÖÖ_Õ¹ÖÖ_Õ°Õ¶Õ£_Õ¸ÖÖÕ¢_Õ·Õ¢Õ©".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY Õ©.",LLL:"D MMMM YYYY Õ©., HH:mm",LLLL:"dddd, D MMMM YYYY Õ©., HH:mm"},calendar:{sameDay:"[Õ¡ÕµÕ½Ö
Ö] LT",nextDay:"[Õ¾Õ¡Õ²Õ¨] LT",lastDay:"[Õ¥ÖÕ¥Õ¯] LT",nextWeek:function(){return"dddd [Ö
ÖÕ¨ ÕªÕ¡Õ´Õ¨] LT"},lastWeek:function(){return"[Õ¡Õ¶ÖÕ¡Õ®] dddd [Ö
ÖÕ¨ ÕªÕ¡Õ´Õ¨] LT"},sameElse:"L"},relativeTime:{future:"%s Õ°Õ¥Õ¿Õ¸",past:"%s Õ¡Õ¼Õ¡Õ»",s:"Õ´Õ« ÖÕ¡Õ¶Õ« Õ¾Õ¡ÕµÖÕ¯ÕµÕ¡Õ¶",ss:"%d Õ¾Õ¡ÕµÖÕ¯ÕµÕ¡Õ¶",m:"ÖÕ¸ÕºÕ¥",mm:"%d ÖÕ¸ÕºÕ¥",h:"ÕªÕ¡Õ´",hh:"%d ÕªÕ¡Õ´",d:"Ö
Ö",dd:"%d Ö
Ö",M:"Õ¡Õ´Õ«Õ½",MM:"%d Õ¡Õ´Õ«Õ½",y:"Õ¿Õ¡ÖÕ«",yy:"%d Õ¿Õ¡ÖÕ«"},meridiemParse:/Õ£Õ«Õ·Õ¥ÖÕ¾Õ¡|Õ¡Õ¼Õ¡Õ¾Õ¸Õ¿Õ¾Õ¡|ÖÕ¥ÖÕ¥Õ¯Õ¾Õ¡|Õ¥ÖÕ¥Õ¯Õ¸ÕµÕ¡Õ¶/,isPM:function(e){return/^(ÖÕ¥ÖÕ¥Õ¯Õ¾Õ¡|Õ¥ÖÕ¥Õ¯Õ¸ÕµÕ¡Õ¶)$/.test(e)},meridiem:function(e){return e<4?"Õ£Õ«Õ·Õ¥ÖÕ¾Õ¡":e<12?"Õ¡Õ¼Õ¡Õ¾Õ¸Õ¿Õ¾Õ¡":e<17?"ÖÕ¥ÖÕ¥Õ¯Õ¾Õ¡":"Õ¥ÖÕ¥Õ¯Õ¸ÕµÕ¡Õ¶"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(Õ«Õ¶|ÖÕ¤)/,ordinal:function(e,t){switch(t){case"DDD":case"w":case"W":case"DDDo":return 1===e?e+"-Õ«Õ¶":e+"-ÖÕ¤";default:return e}},week:{dow:1,doy:7}})}(n(5093))},4063(e,t,n){!function(e){"use strict";e.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"siang"===t?e>=11?e:e+12:"sore"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"siang":e<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:0,doy:6}})}(n(5093))},9374(e,t,n){!function(e){"use strict";function t(e){return e%100==11||e%10!=1}function n(e,n,i,a){var s=e+" ";switch(i){case"s":return n||a?"nokkrar sekúndur":"nokkrum sekúndum";
vendor: 11,254 bytes, line 9218
9218case"ss":return t(e)?s+(n||a?"sekúndur":"sekúndum"):s+"sekúnda";case"m":return n?"mÃnúta":"mÃnútu";case"mm":return t(e)?s+(n||a?"mÃnútur":"mÃnútum"):n?s+"mÃnúta":s+"mÃnútu";case"hh":return t(e)?s+(n||a?"klukkustundir":"klukkustundum"):s+"klukkustund";case"d":return n?"dagur":a?"dag":"degi";case"dd":return t(e)?n?s+"dagar":s+(a?"daga":"dögum"):n?s+"dagur":s+(a?"dag":"degi");case"M":return n?"mánuður":a?"mánuð":"mánuði";case"MM":return t(e)?n?s+"mánuðir":s+(a?"mánuði":"mánuðum"):n?s+"mánuður":s+(a?"mánuð":"mánuði");case"y":return n||a?"ár":"ári";case"yy":return t(e)?s+(n||a?"ár":"árum"):s+(n||a?"ár":"ári")}}e.defineLocale("is",{months:"janúar_febrúar_mars_aprÃl_maÃ_júnÃ_júlÃ_ágúst_september_október_nóvember_desember".split("_"),monthsShort:"jan_feb_mar_apr_maÃ_jún_júl_ágú_sep_okt_nóv_des".split("_"),weekdays:"sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur".split("_"),weekdaysShort:"sun_mán_þri_mið_fim_fös_lau".split("_"),weekdaysMin:"Su_Má_Ãr_Mi_Fi_Fö_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[à dag kl.] LT",nextDay:"[á morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[à gær kl.] LT",lastWeek:"[sÃðasta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s sÃðan",s:n,ss:n,m:n,mm:n,h:"klukkustund",hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5093))},1827(e,t,n){!function(e){"use strict";e.defineLocale("it-ch",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){return 0===this.day()?"[la scorsa] dddd [alle] LT":"[lo scorso] dddd [alle] LT"},sameElse:"L"},relativeTime:{future:function(e){return(/^[0-9].+$/.test(e)?"tra":"in")+" "+e},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(5093))},8383(e,t,n){!function(e){"use strict";e.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:function(){return"[Oggi a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextDay:function(){return"[Domani a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextWeek:function(){return"dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastDay:function(){return"[Ieri a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastWeek:function(){return 0===this.day()?"[La scorsa] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT":"[Lo scorso] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},sameElse:"L"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",w:"una settimana",ww:"%d settimane",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(5093))},3827(e,t,n){!function(e){"use strict";e.defineLocale("ja",{eras:[{since:"2019-05-01",offset:1,name:"令å",narrow:"ã¿",abbr:"R"},{since:"1989-01-08",until:"2019-04-30",offset:1,name:"å¹³æ",narrow:"ã»",abbr:"H"},{since:"1926-12-25",until:"1989-01-07",offset:1,name:"æå",narrow:"ã¼",abbr:"S"},{since:"1912-07-30",until:"1926-12-24",offset:1,name:"大æ£",narrow:"ã½",abbr:"T"},{since:"1873-01-01",until:"1912-07-29",offset:6,name:"ææ²»",narrow:"ã¾",abbr:"M"},{since:"0001-01-01",until:"1873-12-31",offset:1,name:"西æ¦",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"ç´å
å",narrow:"BC",abbr:"BC"}],eraYearOrdinalRegex:/(å
|\d+)å¹´/,eraYearOrdinalParse:function(e,t){return"å
"===t[1]?1:parseInt(t[1]||e,10)},months:"1æ_2æ_3æ_4æ_5æ_6æ_7æ_8æ_9æ_10æ_11æ_12æ".split("_"),monthsShort:"1æ_2æ_3æ_4æ_5æ_6æ_7æ_8æ_9æ_10æ_11æ_12æ".split("_"),weekdays:"æ¥ææ¥_æææ¥_ç«ææ¥_æ°´ææ¥_æ¨ææ¥_éææ¥_åææ¥".split("_"),weekdaysShort:"æ¥_æ_ç«_æ°´_æ¨_é_å".split("_"),weekdaysMin:"æ¥_æ_ç«_æ°´_æ¨_é_å".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYYå¹´MæDæ¥",LLL:"YYYYå¹´MæDæ¥ HH:mm",LLLL:"YYYYå¹´MæDæ¥ dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYYå¹´MæDæ¥",lll:"YYYYå¹´MæDæ¥ HH:mm",llll:"YYYYå¹´MæDæ¥(ddd) HH:mm"},meridiemParse:/åå|åå¾/i,isPM:function(e){return"åå¾"===e},meridiem:function(e,t,n){return e<12?"åå":"åå¾"},calendar:{sameDay:"[仿¥] LT",nextDay:"[ææ¥] LT",nextWeek:function(e){return e.week()!==this.week()?"[æ¥é±]dddd LT":"dddd LT"},lastDay:"[æ¨æ¥] LT",lastWeek:function(e){return this.week()!==e.week()?"[å
é±]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}æ¥/,ordinal:function(e,t){switch(t){case"y":return 1===e?"å
å¹´":e+"å¹´";case"d":case"D":case"DDD":return e+"æ¥";default:return e}},relativeTime:{future:"%så¾",past:"%så",s:"æ°ç§",ss:"%dç§",m:"1å",mm:"%då",h:"1æé",hh:"%dæé",d:"1æ¥",dd:"%dæ¥",M:"1ã¶æ",MM:"%dã¶æ",y:"1å¹´",yy:"%då¹´"}})}(n(5093))},9722(e,t,n){!function(e){"use strict";e.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(e,t){return 12===e&&(e=0),"enjing"===t?e:"siyang"===t?e>=11?e:e+12:"sonten"===t||"ndalu"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"enjing":e<15?"siyang":e<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}})}(n(5093))},1794(e,t,n){!function(e){"use strict";e.defineLocale("ka",{months:"áááááá á_ááááá áááá_ááá á¢á_ááá ááá_áááá¡á_ááááá¡á_ááááá¡á_ááááá¡á¢á_á¡áá¥á¢ááááá á_áá¥á¢ááááá á_ááááááá á_áááááááá á".split("_"),monthsShort:"ááá_ááá_ááá _ááá _ááá_ááá_ááá_ááá_á¡áá¥_áá¥á¢_ááá_ááá".split("_"),weekdays:{standalone:"áááá á_áá á¨ááááá_á¡ááá¨ááááá_ááá®á¨ááááá_á®á£áá¨ááááá_ááá áá¡áááá_á¨ááááá".split("_"),format:"áááá áá¡_áá á¨ááááá¡_á¡ááá¨ááááá¡_ááá®á¨ááááá¡_á®á£áá¨ááááá¡_ááá áá¡áááá¡_á¨ááááá¡".split("_"),isFormat:/(á¬ááá|á¨ááááá)/},weekdaysShort:"ááá_áá á¨_á¡áá_ááá®_á®á£á_ááá _á¨áá".split("_"),weekdaysMin:"áá_áá _á¡á_áá_á®á£_áá_á¨á".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[áá¦áá¡] LT[-áá]",nextDay:"[á®ááá] LT[-áá]",lastDay:"[áá£á¨áá] LT[-áá]",nextWeek:"[á¨ááááá] dddd LT[-áá]",lastWeek:"[á¬ááá] dddd LT-áá",sameElse:"L"},relativeTime:{future:function(e){return e.replace(/(á¬áá|á¬á£á|á¡ááá|á¬áá|áá¦|áá)(á|á)/,function(e,t,n){return"á"===n?t+"á¨á":t+n+"á¨á"})},past:function(e){return/(á¬ááá|á¬á£áá|á¡áááá|áá¦á|ááá)/.test(e)?e.replace(/(á|á)$/,"áá¡ á¬áá"):/á¬ááá/.test(e)?e.replace(/á¬ááá$/,"á¬ááá¡ á¬áá"):e},s:"á áááááááá á¬ááá",ss:"%d á¬ááá",m:"á¬á£áá",mm:"%d á¬á£áá",h:"á¡áááá",hh:"%d á¡áááá",d:"áá¦á",dd:"%d áá¦á",M:"ááá",MM:"%d ááá",y:"á¬ááá",yy:"%d á¬ááá"},dayOfMonthOrdinalParse:/0|1-áá|áá-\d{1,2}|\d{1,2}-á/,ordinal:function(e){return 0===e?e:1===e?e+"-áá":e<20||e<=100&&e%20==0||e%100==0?"áá-"+e:e+"-á"},week:{dow:1,doy:7}})}(n(5093))},7088(e,t,n){!function(e){"use strict";var t={0:"-ÑÑ",1:"-ÑÑ",2:"-ÑÑ",3:"-ÑÑ",4:"-ÑÑ",5:"-ÑÑ",6:"-ÑÑ",7:"-ÑÑ",8:"-ÑÑ",9:"-ÑÑ",10:"-ÑÑ",20:"-ÑÑ",30:"-ÑÑ",40:"-ÑÑ",50:"-ÑÑ",60:"-ÑÑ",70:"-ÑÑ",80:"-ÑÑ",90:"-ÑÑ",100:"-ÑÑ"};e.defineLocale("kk",{months:"ÒаңÑаÑ_аÒпан_наÑÑÑз_ÑÓÑÑÑ_мамÑÑ_маÑÑÑм_ÑÑлде_ÑамÑз_ÒÑÑкүйек_Òазан_ÒаÑаÑа_желÑоÒÑан".split("_"),monthsShort:"Òаң_аÒп_наÑ_ÑÓÑ_мам_маÑ_ÑÑл_Ñам_ÒÑÑ_Òаз_ÒаÑ_жел".split("_"),weekdays:"жекÑенбÑ_дүйÑенбÑ_ÑейÑенбÑ_ÑÓÑÑенбÑ_бейÑенбÑ_жұма_ÑенбÑ".split("_"),weekdaysShort:"жек_дүй_Ñей_ÑÓÑ_бей_жұм_Ñен".split("_"),weekdaysMin:"жк_дй_Ñй_ÑÑ_бй_жм_Ñн".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[ÐүгÑн ÑаÒаÑ] LT",nextDay:"[ÐÑÑең ÑаÒаÑ] LT",nextWeek:"dddd [ÑаÒаÑ] LT",lastDay:"[ÐеÑе ÑаÒаÑ] LT",lastWeek:"[Ó¨Ñкен апÑанÑÒ£] dddd [ÑаÒаÑ] LT",sameElse:"L"},relativeTime:{future:"%s ÑÑÑнде",past:"%s бұÑÑн",s:"бÑÑнеÑе ÑекÑнд",ss:"%d ÑекÑнд",m:"бÑÑ Ð¼Ð¸Ð½ÑÑ",mm:"%d минÑÑ",h:"бÑÑ ÑаÒаÑ",hh:"%
9218d ÑаÒаÑ",d:"бÑÑ ÐºÒ¯Ð½",dd:"%d күн",M:"бÑÑ Ð°Ð¹",MM:"%d ай",y:"бÑÑ Ð¶Ñл",yy:"%d жÑл"},dayOfMonthOrdinalParse:/\d{1,2}-(ÑÑ|ÑÑ)/,ordinal:function(e){return e+(t[e]||t[e%10]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(n(5093))},6870(e,t,n){!function(e){"use strict";var t={1:"á¡",2:"á¢",3:"á£",4:"á¤",5:"á¥",6:"á¦",7:"á§",8:"á¨",9:"á©",0:"á "},n={"á¡":"1","á¢":"2","á£":"3","á¤":"4","á¥":"5","á¦":"6","á§":"7","á¨":"8","á©":"9","á ":"0"};e.defineLocale("km",{months:"áááá¶_áá»áááá_áá¸áá¶_áááá¶_á§ááá¶_áá·áá»áá¶_áááááá¶_áá¸á á¶_ááááá¶_áá»áá¶_áá·á
ááá·áá¶_áááá¼".split("_"),monthsShort:"áááá¶_áá»áááá_áá¸áá¶_áááá¶_á§ááá¶_áá·áá»áá¶_áááááá¶_áá¸á á¶_ááááá¶_áá»áá¶_áá·á
ááá·áá¶_áááá¼".split("_"),weekdays:"á¢á¶áá·ááá_á
áááá_á¢áááá¶á_áá»á_áááá ááááá·á_áá»ááá_áá
áá".split("_"),weekdaysShort:"á¢á¶_á
_á¢_á_ááá_áá»_á".split("_"),weekdaysMin:"á¢á¶_á
_á¢_á_ááá_áá»_á".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/áááá¹á|áááá¶á
/,isPM:function(e){return"áááá¶á
"===e},meridiem:function(e,t,n){return e<12?"áááá¹á":"áááá¶á
"},calendar:{sameDay:"[ááááááá áááá] LT",nextDay:"[ááá¢áá áááá] LT",nextWeek:"dddd [áááá] LT",lastDay:"[áááá·ááá·á áááá] LT",lastWeek:"dddd [ááááá¶á ááá»á] [áááá] LT",sameElse:"L"},relativeTime:{future:"%sááá",past:"%sáá»á",s:"ááá»áááá¶ááá·áá¶áá¸",ss:"%d áá·áá¶áá¸",m:"áá½ááá¶áá¸",mm:"%d áá¶áá¸",h:"áá½ááááá",hh:"%d áááá",d:"áá½ááááá",dd:"%d áááá",M:"áá½ááá",MM:"%d áá",y:"áá½ááááá¶á",yy:"%d áááá¶á"},dayOfMonthOrdinalParse:/áá¸\d{1,2}/,ordinal:"áá¸%d",preparse:function(e){return e.replace(/[á¡á¢á£á¤á¥á¦á§á¨á©á ]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},week:{dow:1,doy:4}})}(n(5093))},4451(e,t,n){!function(e){"use strict";var t={1:"à³§",2:"೨",3:"೩",4:"೪",5:"೫",6:"೬",7:"à³",8:"à³®",9:"೯",0:"೦"},n={"à³§":"1","೨":"2","೩":"3","೪":"4","೫":"5","೬":"6","à³":"7","à³®":"8","೯":"9","೦":"0"};e.defineLocale("kn",{months:"à²à²¨à²µà²°à²¿_ಫà³à²¬à³à²°à²µà²°à²¿_ಮಾರà³à²à³_à²à²ªà³à²°à²¿à²²à³_ಮà³à³_à²à³à²¨à³_à²à³à²²à³à³_à²à²à²¸à³à²à³_ಸà³à²ªà³à²à³à²à²¬à²°à³_à²
à²à³à²à³à³à³à²¬à²°à³_ನವà³à²à²¬à²°à³_ಡಿಸà³à²à²¬à²°à³".split("_"),monthsShort:"à²à²¨_ಫà³à²¬à³à²°_ಮಾರà³à²à³_à²à²ªà³à²°à²¿à²²à³_ಮà³à³_à²à³à²¨à³_à²à³à²²à³à³_à²à²à²¸à³à²à³_ಸà³à²ªà³à²à³à²_à²
à²à³à²à³à³à³_ನವà³à²_ಡಿಸà³à²".split("_"),monthsParseExact:!0,weekdays:"à²à²¾à²¨à³à²µà²¾à²°_ಸà³à³à³à²®à²µà²¾à²°_ಮà²à²à²³à²µà²¾à²°_ಬà³à²§à²µà²¾à²°_à²à³à²°à³à²µà²¾à²°_ಶà³à²à³à²°à²µà²¾à²°_ಶನಿವಾರ".split("_"),weekdaysShort:"à²à²¾à²¨à³_ಸà³à³à³à²®_ಮà²à²à²³_ಬà³à²§_à²à³à²°à³_ಶà³à²à³à²°_ಶನಿ".split("_"),weekdaysMin:"à²à²¾_ಸà³à³à³_ಮà²_ಬà³_à²à³_ಶà³_ಶ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[à²à²à²¦à³] LT",nextDay:"[ನಾಳà³] LT",nextWeek:"dddd, LT",lastDay:"[ನಿನà³à²¨à³] LT",lastWeek:"[à²à³à³à²¨à³à²¯] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ನà²à²¤à²°",past:"%s ಹಿà²à²¦à³",s:"à²à³à²²à²µà³ à²à³à²·à²£à²à²³à³",ss:"%d ಸà³à²à³à²à²¡à³à²à²³à³",m:"à²à²à²¦à³ ನಿಮಿಷ",mm:"%d ನಿಮಿಷ",h:"à²à²à²¦à³ à²à²à²à³",hh:"%
9218d à²à²à²à³",d:"à²à²à²¦à³ ದಿನ",dd:"%d ದಿನ",M:"à²à²à²¦à³ ತಿà²à²à²³à³",MM:"%d ತಿà²à²à²³à³",y:"à²à²à²¦à³ ವರà³à²·",yy:"%d ವರà³à²·"},preparse:function(e){return e.replace(/[೧೨೩೪೫೬à³à³®à³¯à³¦]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/ರಾತà³à²°à²¿|ಬà³à²³à²¿à²à³à²à³|ಮಧà³à²¯à²¾à²¹à³à²¨|ಸà²à²à³/,meridiemHour:function(e,t){return 12===e&&(e=0),"ರಾತà³à²°à²¿"===t?e<4?e:e+12:"ಬà³à²³à²¿à²à³à²à³"===t?e:"ಮಧà³à²¯à²¾à²¹à³à²¨"===t?e>=10?e:e+12:"ಸà²à²à³"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"ರಾತà³à²°à²¿":e<10?"ಬà³à²³à²¿à²à³à²à³":e<17?"ಮಧà³à²¯à²¾à²¹à³à²¨":e<20?"ಸà²à²à³":"ರಾತà³à²°à²¿"},dayOfMonthOrdinalParse:/\d{1,2}(ನà³à³)/,ordinal:function(e){return e+"ನà³à³"},week:{dow:0,doy:6}})}(n(5093))},3164(e,t,n){!function(e){"use strict";e.defineLocale("ko",{months:"1ì_2ì_3ì_4ì_5ì_6ì_7ì_8ì_9ì_10ì_11ì_12ì".split("_"),monthsShort:"1ì_2ì_3ì_4ì_5ì_6ì_7ì_8ì_9ì_10ì_11ì_12ì".split("_"),weekdays:"ì¼ìì¼_ììì¼_íìì¼_ììì¼_목ìì¼_ê¸ìì¼_í ìì¼".split("_"),weekdaysShort:"ì¼_ì_í_ì_목_ê¸_í ".split("_"),weekdaysMin:"ì¼_ì_í_ì_목_ê¸_í ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYYë
MMMM Dì¼",LLL:"YYYYë
MMMM Dì¼ A h:mm",LLLL:"YYYYë
MMMM Dì¼ dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYYë
MMMM Dì¼",lll:"YYYYë
MMMM Dì¼ A h:mm",llll:"YYYYë
MMMM Dì¼ dddd A h:mm"},calendar:{sameDay:"ì¤ë LT",nextDay:"ë´ì¼ LT",nextWeek:"dddd LT",lastDay:"ì´ì LT",lastWeek:"ì§ë주 dddd LT",sameElse:"L"},relativeTime:{future:"%s í",past:"%s ì ",s:"ëª ì´",ss:"%dì´",m:"1ë¶",mm:"%dë¶",h:"í ìê°",hh:"%dìê°",d:"í루",dd:"%dì¼",M:"í ë¬",MM:"%dë¬",y:"ì¼ ë
",yy:"%dë
"},dayOfMonthOrdinalParse:/\d{1,2}(ì¼|ì|주)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"ì¼";case"M":return e+"ì";case"w":case"W":return e+"주";default:return e}},meridiemParse:/ì¤ì |ì¤í/,isPM:function(e){return"ì¤í"===e},meridiem:function(e,t,n){return e<12?"ì¤ì ":"ì¤í"}})}(n(5093))},6181(e,t,n){!function(e){"use strict";function t(e,t,n,i){var a={s:["çend sanîye","çend sanîyeyan"],ss:[e+" sanîye",e+" sanîyeyan"],m:["deqîqeyek","deqîqeyekê"],mm:[e+" deqîqe",e+" deqîqeyan"],h:["saetek","saetekê"],hh:[e+" saet",e+" saetan"],d:["rojek","rojekê"],dd:[e+" roj",e+" rojan"],w:["hefteyek","hefteyekê"],ww:[e+" hefte",e+" hefteyan"],M:["mehek","mehekê"],MM:[e+" meh",e+" mehan"],y:["salek","salekê"],yy:[e+" sal",e+" salan"]};return t?a[n][0]:a[n][1]}e.defineLocale("ku-kmr",{months:"Rêbendan_Sibat_Adar_Nîsan_Gulan_Hezîran_Tîrmeh_Tebax_Ãlon_Cotmeh_Mijdar_Berfanbar".split("_"),monthsShort:"Rêb_Sib_Ada_Nîs_Gul_Hez_Tîr_Teb_Ãlo_Cot_Mij_Ber".split("_"),monthsParseExact:!0,weekdays:"YekÅem_DuÅem_SêÅem_ÃarÅem_PêncÅem_Ãn_Åemî".split("_"),weekdaysShort:"Yek_Du_Sê_Ãar_Pên_Ãn_Åem".split("_"),weekdaysMin:"Ye_Du_Sê_Ãa_Pê_Ãn_Åe".split("_"),meridiem:function(e,t,n){return e<12?n?"bn":"BN":n?"pn":"PN"},meridiemParse:/bn|BN|pn|PN/,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM[a] YYYY[an]",LLL:"Do MMMM[a] YYYY[an] HH:mm",LLLL:"dddd, Do MMMM[a] YYYY[an] HH:mm",ll:"Do MMM[.] YYYY[an]",lll:"Do MMM[.] YYYY[an] HH:mm",llll:"ddd[.], Do MMM[.] YYYY[an] HH:mm"},calendar:{sameDay:"[Ãro di saet] LT [de]",nextDay:"[Sibê di saet] LT [de]",nextWeek:"dddd [di saet] LT [de]",lastDay:"[Duh di saet] LT [de]",lastWeek:"dddd[a borî di saet] LT [de]",sameElse:"L"},relativeTime:{future:"di %s de",past:"berî %s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,w:t,ww:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(?:yê|ê|\.)/,ordinal:function(e,t){var n=t.toLowerCase();return n.includes("w")||n.includes("m")?e+".":e+function(e){var t=(e=""+e).substring(e.length-1),n=e.length>1?e.substring(e.length-2):"";return 12==n||13==n||"2"!=t&&"3"!=t&&"50"!=n&&"70"!=t&&"80"!=t?"ê":"yê"}(e)},week:{dow:1,doy:4}})}(n(5093))},8174(e,t,n){!function(e){"use strict";var t={1:"Ù¡",2:"Ù¢",3:"Ù£",4:"Ù¤",5:"Ù¥",6:"Ù¦",7:"Ù§",8:"Ù¨",9:"Ù©",0:"Ù "},n={"Ù¡":"1","Ù¢":"2","Ù£":"3","Ù¤":"4","Ù¥":"5","Ù¦":"6","Ù§":"7","Ù¨":"8","Ù©":"9","Ù ":"0"},i=["کاÙÙÙÛ Ø¯ÙÙÛÙ
","Ø´ÙØ¨Ø§Øª","ئازار","ÙÛØ³Ø§Ù","Ø¦Ø§ÛØ§Ø±","ØÙزÛÛØ±Ø§Ù","تÛÙ
Ù
ÙØ²","ئاب","ئÛÛÙÙÙÙ","تشرÛÙÛ ÛÛÙÛÙ
","تشرÛÙÛ Ø¯ÙÙÛÙ
","ÙØ§ÙÙÙÛ ÛÛÚ©ÛÙ
"];e.defineLocale("ku",{months:i,monthsShort:i,weekdays:"ÛÙâÙØ´ÙâÙ
Ù
Ùâ_دÙÙØ´ÙâÙ
Ù
Ùâ_Ø³ÛØ´ÙâÙ
Ù
Ùâ_ÚÙØ§Ø±Ø´ÙâÙ
Ù
Ùâ_Ù¾ÛÙØ¬Ø´ÙâÙ
Ù
Ùâ_ÙÙâÛÙÛ_Ø´ÙâÙ
Ù
Ùâ".split("_"),weekdaysShort:"ÛÙâÙØ´ÙâÙ
_دÙÙØ´ÙâÙ
_Ø³ÛØ´ÙâÙ
_ÚÙØ§Ø±Ø´ÙâÙ
_Ù¾ÛÙØ¬Ø´ÙâÙ
_ÙÙâÛÙÛ_Ø´ÙâÙ
Ù
Ùâ".split("_"),weekdaysMin:"Û_د_س_Ú_Ù¾_Ù_Ø´".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/ئÛÙØ§Ø±Ùâ|بÙâÛØ§ÙÛ/,isPM:function(e){return/ئÛÙØ§Ø±Ùâ/.test(e)},meridiem:function(e,t,n){return e<12?"بÙâÛØ§ÙÛ":"ئÛÙØ§Ø±Ùâ"},calendar:{sameDay:"[ئÙâÙ
Ø±Û ÙØ§ØªÚÙ
ÛØ±] LT",nextDay:"[بÙâÛØ§ÙÛ ÙØ§ØªÚÙ
ÛØ±] LT",nextWeek:"dddd [ÙØ§ØªÚÙ
ÛØ±] LT",lastDay:"[دÙÛÙÛ ÙØ§ØªÚÙ
ÛØ±] LT",lastWeek:"dddd [ÙØ§ØªÚÙ
ÛØ±] LT",sameElse:"L"},relativeTime:{future:"ÙÙâ %s",past:"%s",s:"ÚÙâÙØ¯ ÚØ±ÙÙâÛÙâÙ",ss:"ÚØ±ÙÙâ %d",m:"ÛÙâÙ Ø®ÙÙÙâÙ",mm:"%d Ø®ÙÙÙâÙ",h:"ÛÙâÙ ÙØ§ØªÚÙ
ÛØ±",hh:"%
9218d ÙØ§ØªÚÙ
ÛØ±",d:"ÛÙâÙ ÚÛÚ",dd:"%d ÚÛÚ",M:"ÛÙâÙ Ù
اÙÚ¯",MM:"%d Ù
اÙÚ¯",y:"ÛÙâ٠ساڵ",yy:"%d ساڵ"},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(e){return n[e]}).replace(/Ø/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"Ø")},week:{dow:6,doy:12}})}(n(5093))},8474(e,t,n){!function(e){"use strict";var t={0:"-ÑÒ¯",1:"-Ñи",2:"-Ñи",3:"-ÑÒ¯",4:"-ÑÒ¯",5:"-Ñи",6:"-ÑÑ",7:"-Ñи",8:"-Ñи",9:"-ÑÑ",10:"-ÑÑ",20:"-ÑÑ",30:"-ÑÑ",40:"-ÑÑ",50:"-ÑÒ¯",60:"-ÑÑ",70:"-Ñи",80:"-Ñи",90:"-ÑÑ",100:"-ÑÒ¯"};e.defineLocale("ky",{months:"ÑнваÑÑ_ÑевÑалÑ_маÑÑ_апÑелÑ_май_иÑнÑ_иÑлÑ_авгÑÑÑ_ÑенÑÑбÑÑ_окÑÑбÑÑ_ноÑбÑÑ_декабÑÑ".split("_"),monthsShort:"Ñнв_Ñев_маÑÑ_апÑ_май_иÑнÑ_иÑлÑ_авг_Ñен_окÑ_ноÑ_дек".split("_"),weekdays:"ÐекÑемби_ÐүйÑөмбү_ШейÑемби_ШаÑÑемби_ÐейÑемби_ÐÑма_ÐÑемби".split("_"),weekdaysShort:"Ðек_Ðүй_Шей_ШаÑ_Ðей_ÐÑм_ÐÑе".split("_"),weekdaysMin:"Ðк_Ðй_Шй_ШÑ_Ðй_Ðм_ÐÑ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ðүгүн ÑааÑ] LT",nextDay:"[ÐÑÑең ÑааÑ] LT",nextWeek:"dddd [ÑааÑ] LT",lastDay:"[ÐеÑÑÑ ÑааÑ] LT",lastWeek:"[Ó¨Ñкөн апÑанÑн] dddd [күнү] [ÑааÑ] LT",sameElse:"L"},relativeTime:{future:"%s иÑинде",past:"%s мÑÑÑн",s:"биÑнеÑе ÑекÑнд",ss:"%d ÑекÑнд",m:"Ð±Ð¸Ñ Ð¼Ò¯Ð½Ó©Ñ",mm:"%d мүнөÑ",h:"Ð±Ð¸Ñ ÑааÑ",hh:"%
9218d ÑааÑ",d:"Ð±Ð¸Ñ ÐºÒ¯Ð½",dd:"%d күн",M:"Ð±Ð¸Ñ Ð°Ð¹",MM:"%d ай",y:"Ð±Ð¸Ñ Ð¶Ñл",yy:"%d жÑл"},dayOfMonthOrdinalParse:/\d{1,2}-(Ñи|ÑÑ|ÑÒ¯|ÑÑ)/,ordinal:function(e){return e+(t[e]||t[e%10]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(n(5093))},9680(e,t,n){!function(e){"use strict";function t(e,t,n,i){var a={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return t?a[n][0]:a[n][1]}function n(e){if(e=parseInt(e,10),isNaN(e))return!1;if(e<0)return!0;if(e<10)return 4<=e&&e<=7;if(e<100){var t=e%10;return n(0===t?e/10:t)}if(e<1e4){for(;e>=10;)e/=10;return n(e)}return n(e/=1e3)}e.defineLocale("lb",{months:"Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._Mé._Dë._Më._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mé_Dë_Më_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[Gëschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:function(e){return n(e.substr(0,e.indexOf(" ")))?"a "+e:"an "+e},past:function(e){return n(e.substr(0,e.indexOf(" ")))?"viru "+e:"virun "+e},s:"e puer Sekonnen",ss:"%d Sekonnen",m:t,mm:"%d Minutten",h:t,hh:"%d Stonnen",d:t,dd:"%d Deeg",M:t,MM:"%d Méint",y:t,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5093))},5867(e,t,n){!function(e){"use strict";e.defineLocale("lo",{months:"ມັàºàºàºàº_àºàº¸àº¡àºàº²_ມີàºàº²_à»àº¡àºªàº²_àºàº¶àºàºªàº°àºàº²_ມິàºàº¸àºàº²_àºà»àº¥àº°àºàº»àº_ສິàºàº«àº²_àºàº±àºàºàº²_àºàº¸àº¥àº²_àºàº°àºàº´àº_àºàº±àºàº§àº²".split("_"),monthsShort:"ມັàºàºàºàº_àºàº¸àº¡àºàº²_ມີàºàº²_à»àº¡àºªàº²_àºàº¶àºàºªàº°àºàº²_ມິàºàº¸àºàº²_àºà»àº¥àº°àºàº»àº_ສິàºàº«àº²_àºàº±àºàºàº²_àºàº¸àº¥àº²_àºàº°àºàº´àº_àºàº±àºàº§àº²".split("_"),weekdays:"àºàº²àºàº´àº_àºàº±àº_àºàº±àºàºàº²àº_àºàº¸àº_àºàº°àº«àº±àº_ສຸàº_à»àºªàº»àº²".split("_"),weekdaysShort:"àºàº´àº_àºàº±àº_àºàº±àºàºàº²àº_àºàº¸àº_àºàº°àº«àº±àº_ສຸàº_à»àºªàº»àº²".split("_"),weekdaysMin:"àº_àº_àºàº_àº_àºàº«_ສàº_ສ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"ວັàºdddd D MMMM YYYY HH:mm"},meridiemParse:/àºàºàºà»àºàº»à»àº²|àºàºàºà»àº¥àº/,isPM:function(e){return"àºàºàºà»àº¥àº"===e},meridiem:function(e,t,n){return e<12?"àºàºàºà»àºàº»à»àº²":"àºàºàºà»àº¥àº"},calendar:{sameDay:"[ມືà»àºàºµà»à»àº§àº¥àº²] LT",nextDay:"[ມືà»àºàº·à»àºà»àº§àº¥àº²] LT",nextWeek:"[ວັàº]dddd[à»à»àº²à»àº§àº¥àº²] LT",lastDay:"[ມືà»àº§àº²àºàºàºµà»à»àº§àº¥àº²] LT",lastWeek:"[ວັàº]dddd[à»àº¥à»àº§àºàºµà»à»àº§àº¥àº²] LT",sameElse:"L"},relativeTime:{future:"àºàºµàº %s",past:"%sàºà»àº²àºàº¡àº²",s:"àºà»à»à»àºàº»à»àº²à»àºàº§àº´àºàº²àºàºµ",ss:"%d ວິàºàº²àºàºµ",m:"1 àºàº²àºàºµ",mm:"%d àºàº²àºàºµ",h:"1 àºàº»à»àº§à»àº¡àº",hh:"%d àºàº»à»àº§à»àº¡àº",d:"1 ມືà»",dd:"%d ມືà»",M:"1 à»àºàº·àºàº",MM:"%d à»àºàº·àºàº",y:"1 àºàºµ",yy:"%d àºàºµ"},dayOfMonthOrdinalParse:/(àºàºµà»)\d{1,2}/,ordinal:function(e){return"àºàºµà»"+e}})}(n(5093))},5766(e,t,n){!function(e){"use strict";var t={ss:"sekundÄ_sekundžių_sekundes",m:"minutÄ_minutÄs_minutÄ",mm:"minutÄs_minuÄių_minutes",h:"valanda_valandos_valandÄ
",hh:"valandos_valandų_valandas",d:"diena_dienos_dienÄ
",dd:"dienos_dienų_dienas",M:"mÄnuo_mÄnesio_mÄnesį",MM:"mÄnesiai_mÄnesių_mÄnesius",y:"metai_metų_metus",yy:"metai_metų_metus"};function n(e,t,n,i){return t?a(n)[0]:i?a(n)[1]:a(n)[2]}function i(e){return e%10==0||e>10&&e<20}function a(e){return t[e].split("_")}function s(e,t,s,r){var o=e+" ";return 1===e?o+n(0,t,s[0],r):t?o+(i(e)?a(s)[1]:a(s)[0]):r?o+a(s)[1]:o+(i(e)?a(s)[1]:a(s)[2])}e.defineLocale("lt",{months:{format:"sausio_vasario_kovo_balandžio_gegužÄs_birželio_liepos_rugpjÅ«Äio_rugsÄjo_spalio_lapkriÄio_gruodžio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegužÄ_birželis_liepa_rugpjÅ«tis_rugsÄjis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadienį_pirmadienį_antradienį_treÄiadienį_ketvirtadienį_penktadienį_Å¡eÅ¡tadienį".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_treÄiadienis_ketvirtadienis_penktadienis_Å¡eÅ¡tadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_Å eÅ¡".split("_"),weekdaysMin:"S_P_A_T_K_Pn_Å ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[Å iandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[PraÄjusį] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prieÅ¡ %s",s:function(e,t,n,i){return t?"kelios sekundÄs":i?"kelių sekundžių":"kelias sekundes"},ss:s,m:n,mm:s,h:n,hh:s,d:n,dd:s,M:n,MM:s,y:n,yy:s},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(e){return e+"-oji"},week:{dow:1,doy:4}})}(n(5093))},9532(e,t,n){!function(e){"use strict";var t={ss:"sekundes_sekundÄm_sekunde_sekundes".split("_"),m:"minÅ«tes_minÅ«tÄm_minÅ«te_minÅ«tes".split("_"),mm:"minÅ«tes_minÅ«tÄm_minÅ«te_minÅ«tes".split("_"),h:"stundas_stundÄm_stunda_stundas".split("_"),hh:"stundas_stundÄm_stunda_stundas".split("_"),d:"dienas_die
9218nÄm_diena_dienas".split("_"),dd:"dienas_dienÄm_diena_dienas".split("_"),M:"mÄneÅ¡a_mÄneÅ¡iem_mÄnesis_mÄneÅ¡i".split("_"),MM:"mÄneÅ¡a_mÄneÅ¡iem_mÄnesis_mÄneÅ¡i".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function n(e,t,n){return n?t%10==1&&t%100!=11?e[2]:e[3]:t%10==1&&t%100!=11?e[0]:e[1]}function i(e,i,a){return e+" "+n(t[a],e,i)}function a(e,i,a){return n(t[a],e,i)}e.defineLocale("lv",{months:"janvÄris_februÄris_marts_aprÄ«lis_maijs_jÅ«nijs_jÅ«lijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_jÅ«n_jÅ«l_aug_sep_okt_nov_dec".split("_"),weekdays:"svÄtdiena_pirmdiena_otrdiena_treÅ¡diena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[Å odien pulksten] LT",nextDay:"[RÄ«t pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[PagÄjuÅ¡Ä] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"pÄc %s",past:"pirms %s",s:function(e,t){return t?"dažas sekundes":"dažÄm sekundÄm"},ss:i,m:a,mm:i,h:a,hh:i,d:a,dd:i,M:a,MM:i,y:a,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5093))},8076(e,t,n){!function(e){"use strict";var t={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,n,i){var a=t.words[i];return 1===i.length?n?a[0]:a[1]:e+" "+t.correctGrammaticalCase(e,a)}};e.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_Äetvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._Äet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_Äe_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juÄe u] LT",lastWeek:function(){return["[proÅ¡le] [nedjelje] [u] LT","[proÅ¡log] [ponedjeljka] [u] LT","[proÅ¡log] [utorka] [u] LT","[proÅ¡le] [srijede] [u] LT","[proÅ¡log] [Äetvrtka] [u] LT","[proÅ¡log] [petka] [u] LT","[proÅ¡le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"dan",dd:t.translate,M:"mjesec",MM:t.translate,y:"godinu",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(5093))},1848(e,t,n){!function(e){"use strict";e.defineLocale("mi",{months:"Kohi-tÄte_Hui-tanguru_PoutÅ«-te-rangi_Paenga-whÄwhÄ_Haratua_Pipiri_HÅngoingoi_Here-turi-kÅkÄ_Mahuru_Whiringa-Ä-nuku_Whiringa-Ä-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_HÅngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"RÄtapu_Mane_TÅ«rei_Wenerei_TÄite_Paraire_HÄtarei".split("_"),weekdaysShort:"Ta_Ma_TÅ«_We_TÄi_Pa_HÄ".split("_"),weekdaysMin:"Ta_Ma_TÅ«_We_TÄi_Pa_HÄ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te hÄkona ruarua",ss:"%d hÄkona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%
9218d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(5093))},306(e,t,n){!function(e){"use strict";e.defineLocale("mk",{months:"ÑанÑаÑи_ÑевÑÑаÑи_маÑÑ_апÑил_маÑ_ÑÑни_ÑÑли_авгÑÑÑ_ÑепÑемвÑи_окÑомвÑи_ноемвÑи_декемвÑи".split("_"),monthsShort:"Ñан_Ñев_маÑ_апÑ_маÑ_ÑÑн_ÑÑл_авг_Ñеп_окÑ_ное_дек".split("_"),weekdays:"недела_понеделник_вÑоÑник_ÑÑеда_ÑеÑвÑÑок_пеÑок_ÑабоÑа".split("_"),weekdaysShort:"нед_пон_вÑо_ÑÑе_ÑеÑ_пеÑ_Ñаб".split("_"),weekdaysMin:"нe_пo_вÑ_ÑÑ_Ñе_пе_Ña".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[ÐÐµÐ½ÐµÑ Ð²Ð¾] LT",nextDay:"[УÑÑе во] LT",nextWeek:"[Ðо] dddd [во] LT",lastDay:"[ÐÑеÑа во] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[ÐзминаÑаÑа] dddd [во] LT";case 1:case 2:case 4:case 5:return"[ÐзминаÑиоÑ] dddd [во] LT"}},sameElse:"L"},relativeTime:{future:"за %s",past:"пÑед %s",s:"Ð½ÐµÐºÐ¾Ð»ÐºÑ ÑекÑнди",ss:"%d ÑекÑнди",m:"една минÑÑа",mm:"%d минÑÑи",h:"еден ÑаÑ",hh:"%d ÑаÑа",d:"еден ден",dd:"%d дена",M:"еден меÑеÑ",MM:"%d меÑеÑи",y:"една година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|Ñи|ви|Ñи|ми)/,ordinal:function(e){var t=e%10,n=e%100;return 0===e?e+"-ев":0===n?e+"-ен":n>10&&n<20?e+"-Ñи":1===t?e+"-ви":2===t?e+"-Ñи":7===t||8===t?e+"-ми":e+"-Ñи"},week:{dow:1,doy:7}})}(n(5093))},3739(e,t,n){!function(e){"use strict";e.defineLocale("ml",{months:"à´à´¨àµà´µà´°à´¿_à´«àµà´¬àµà´°àµà´µà´°à´¿_മാർà´àµà´àµ_à´à´ªàµà´°à´¿àµ½_à´®àµà´¯àµ_à´àµàµº_à´àµà´²àµ_à´à´à´¸àµà´±àµà´±àµ_à´¸àµà´ªàµà´±àµà´±à´à´¬àµ¼_à´à´àµà´àµà´¬àµ¼_നവà´à´¬àµ¼_à´¡à´¿à´¸à´à´¬àµ¼".split("_"),monthsShort:"à´à´¨àµ._à´«àµà´¬àµà´°àµ._മാർ._à´à´ªàµà´°à´¿._à´®àµà´¯àµ_à´àµàµº_à´àµà´²àµ._à´à´._à´¸àµà´ªàµà´±àµà´±._à´à´àµà´àµ._നവà´._à´¡à´¿à´¸à´.".split("_"),monthsParseExact:!0,weekdays:"à´à´¾à´¯à´±à´¾à´´àµà´_തിà´àµà´à´³à´¾à´´àµà´_à´àµà´µàµà´µà´¾à´´àµà´_à´¬àµà´§à´¨à´¾à´´àµà´_à´µàµà´¯à´¾à´´à´¾à´´àµà´_à´µàµà´³àµà´³à´¿à´¯à´¾à´´àµà´_ശനിയാഴàµà´".split("_"),weekdaysShort:"à´à´¾à´¯àµ¼_തിà´àµà´àµ¾_à´àµà´µàµà´µ_à´¬àµà´§àµ»_à´µàµà´¯à´¾à´´à´_à´µàµà´³àµà´³à´¿_ശനി".split("_"),weekdaysMin:"à´à´¾_തി_à´àµ_à´¬àµ_à´µàµà´¯à´¾_à´µàµ_à´¶".split("_"),longDateFormat:{LT:"A h:mm -à´¨àµ",LTS:"A h:mm:ss -à´¨àµ",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -à´¨àµ",LLLL:"dddd, D MMMM YYYY, A h:mm -à´¨àµ"},calendar:{sameDay:"[à´à´¨àµà´¨àµ] LT",nextDay:"[നാളàµ] LT",nextWeek:"dddd, LT",lastDay:"[à´à´¨àµà´¨à´²àµ] LT",lastWeek:"[à´à´´à´¿à´àµà´] dddd, LT",sameElse:"L"},relativeTime:{future:"%s à´à´´à´¿à´àµà´àµ",past:"%s à´®àµàµ»à´ªàµ",s:"à´
ൽപ നിമിഷà´àµà´àµ¾",ss:"%d à´¸àµà´àµà´àµ»à´¡àµ",m:"à´à´°àµ മിനിറàµà´±àµ",mm:"%d മിനിറàµà´±àµ",h:"à´à´°àµ മണിà´àµà´àµàµ¼",hh:"%d മണിà´àµà´àµàµ¼",d:"à´à´°àµ ദിവസà´",dd:"%d ദിവസà´",M:"à´à´°àµ മാസà´",MM:"%d മാസà´",y:"à´à´°àµ വർഷà´",yy:"%d വർഷà´"},meridiemParse:/രാതàµà´°à´¿|രാവിലàµ|à´à´àµà´ à´à´´à´¿à´àµà´àµ|à´µàµà´àµà´¨àµà´¨àµà´°à´|രാതàµà´°à´¿/i,meridiemHour:function(e,t){return 12===e&&(e=0),"രാതàµà´°à´¿"===t&&e>=4||"à´à´àµà´ à´à´´à´¿à´àµà´àµ"===t||"à´µàµà´àµà´¨àµà´¨àµà´°à´"===t?e+12:e},meridiem:function(e,t,n){return e<4?"രാതàµà´°à´¿":e<12?"രാവിലàµ":e<17?"à´à´àµà´ à´à´´à´¿à´àµà´àµ":e<20?"à´µàµà´àµà´¨àµà´¨àµà´°à´":"രാതàµà´°à´¿"}})}(n(5093))},9053(e,t,n){!function(e){"use strict";function t(e,t,n,i){switch(n){case"s":return t?"Ñ
ÑдÑ
Ñн ÑекÑнд":"Ñ
ÑдÑ
Ñн ÑекÑндÑн";case"ss":return e+(t?" ÑекÑнд":" ÑекÑндÑн");case"m":case"mm":return e+(t?" минÑÑ":" минÑÑÑн");case"h":case"hh":return e+(t?" Ñаг":" Ñагийн");case"d":case"dd":return e+(t?" өдөÑ":" өдÑийн");case"M":case"MM":return e+(t?" ÑаÑ":" ÑаÑÑн");case"y":case"yy":return e+(t?" жил":" жилийн");default:return e}}e.defineLocale("mn",{months:"ÐÑгдүгÑÑÑ ÑаÑ_ХоÑÑдÑÐ³Ð°Ð°Ñ ÑаÑ_ÐÑÑавдÑÐ³Ð°Ð°Ñ ÑаÑ_ÐÓ©ÑөвдүгÑÑÑ ÑаÑ_ТавдÑÐ³Ð°Ð°Ñ ÑаÑ_ÐÑÑгадÑÐ³Ð°Ð°Ñ ÑаÑ_ÐолдÑÐ³Ð°Ð°Ñ ÑаÑ_ÐаймдÑÐ³Ð°Ð°Ñ ÑаÑ_ÐÑдүгÑÑÑ ÑаÑ_ÐÑавдÑÐ³Ð°Ð°Ñ ÑаÑ_ÐÑван нÑгдүгÑÑÑ ÑаÑ_ÐÑван Ñ
оÑÑдÑÐ³Ð°Ð°Ñ ÑаÑ".split("_"),monthsShort:"1 ÑаÑ_2 ÑаÑ_3 ÑаÑ_4 ÑаÑ_5 ÑаÑ_6 ÑаÑ_7 ÑаÑ_8 ÑаÑ_9 ÑаÑ_10 ÑаÑ_11 ÑаÑ_12 ÑаÑ".split("_"),monthsParseExact:!0,weekdays:"ÐÑм_Ðаваа_ÐÑгмаÑ_ÐÑ
агва_ÐÒ¯ÑÑв_ÐааÑан_ÐÑмба".split("_"),weekdaysShort:"ÐÑм_Ðав_ÐÑг_ÐÑ
а_ÐÒ¯Ñ_Ðаа_ÐÑм".split("_"),weekdaysMin:"ÐÑ_Ðа_ÐÑ_ÐÑ
_ÐÒ¯_Ðа_ÐÑ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY Ð¾Ð½Ñ MMMMÑн D",LLL:"YYYY Ð¾Ð½Ñ MMMMÑн D HH:mm",LLLL:"dddd, YYYY Ð¾Ð½Ñ MMMMÑн D HH:mm"},meridiemParse:/Ò®Ó¨|ҮХ/i,isPM:function(e){return"ҮХ"===e},meridiem:function(e,t,n){return e<12?"Ò®Ó¨":"ҮХ"},calendar:{sameDay:"[ӨнөөдөÑ] LT",nextDay:"[ÐаÑгааÑ
9218] LT",nextWeek:"[ÐÑÑÑ
] dddd LT",lastDay:"[Ó¨ÑигдөÑ] LT",lastWeek:"[ӨнгөÑÑөн] dddd LT",sameElse:"L"},relativeTime:{future:"%s даÑаа",past:"%s өмнө",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2} өдөÑ/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+" өдөÑ";default:return e}}})}(n(5093))},6169(e,t,n){!function(e){"use strict";var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"à¥",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","à¥":"7","८":"8","९":"9","०":"0"};function i(e,t,n,i){var a="";if(t)switch(n){case"s":a="à¤à¤¾à¤¹à¥ सà¥à¤à¤à¤¦";break;case"ss":a="%d सà¥à¤à¤à¤¦";break;case"m":a="à¤à¤ मिनिà¤";break;case"mm":a="%d मिनिà¤à¥";break;case"h":a="à¤à¤ तास";break;case"hh":a="%d तास";break;case"d":a="à¤à¤ दिवस";break;case"dd":a="%d दिवस";break;case"M":a="à¤à¤ महिना";break;case"MM":a="%d महिनà¥";break;case"y":a="à¤à¤ वरà¥à¤·";break;case"yy":a="%d वरà¥à¤·à¥"}else switch(n){case"s":a="à¤à¤¾à¤¹à¥ सà¥à¤à¤à¤¦à¤¾à¤";break;case"ss":a="%d सà¥à¤à¤à¤¦à¤¾à¤";break;case"m":a="à¤à¤à¤¾ मिनिà¤à¤¾";break;case"mm":a="%d मिनिà¤à¤¾à¤";break;case"h":a="à¤à¤à¤¾ तासा";break;case"hh":a="%d तासाà¤";break;case"d":a="à¤à¤à¤¾ दिवसा";break;case"dd":a="%d दिवसाà¤";break;case"M":a="à¤à¤à¤¾ महिनà¥à¤¯à¤¾";break;case"MM":a="%d महिनà¥à¤¯à¤¾à¤";break;case"y":a="à¤à¤à¤¾ वरà¥à¤·à¤¾";break;case"yy":a="%d वरà¥à¤·à¤¾à¤"}return a.replace(/%d/i,e)}e.defineLocale("mr",{months:"à¤à¤¾à¤¨à¥à¤µà¤¾à¤°à¥_फà¥à¤¬à¥à¤°à¥à¤µà¤¾à¤°à¥_मारà¥à¤_à¤à¤ªà¥à¤°à¤¿à¤²_मà¥_à¤à¥à¤¨_à¤à¥à¤²à¥_à¤à¤à¤¸à¥à¤_सपà¥à¤à¥à¤à¤¬à¤°_à¤à¤à¥à¤à¥à¤¬à¤°_नà¥à¤µà¥à¤¹à¥à¤à¤¬à¤°_डिसà¥à¤à¤¬à¤°".split("_"),monthsShort:"à¤à¤¾à¤¨à¥._फà¥à¤¬à¥à¤°à¥._मारà¥à¤._à¤à¤ªà¥à¤°à¤¿._मà¥._à¤à¥à¤¨._à¤à¥à¤²à¥._à¤à¤._सपà¥à¤à¥à¤._à¤à¤à¥à¤à¥._नà¥à¤µà¥à¤¹à¥à¤._डिसà¥à¤.".split("_"),monthsParseExact:!0,weekdays:"रविवार_सà¥à¤®à¤µà¤¾à¤°_मà¤à¤à¤³à¤µà¤¾à¤°_बà¥à¤§à¤µà¤¾à¤°_à¤à¥à¤°à¥à¤µà¤¾à¤°_शà¥à¤à¥à¤°à¤µà¤¾à¤°_शनिवार".split("_"),weekdaysShort:"रवि_सà¥à¤®_मà¤à¤à¤³_बà¥à¤§_à¤à¥à¤°à¥_शà¥à¤à¥à¤°_शनि".split("_"),weekdaysMin:"र_सà¥_मà¤_बà¥_à¤à¥_शà¥_श".split("_"),longDateFormat:{LT:"A h:mm वाà¤à¤¤à¤¾",LTS:"A h:mm:ss वाà¤à¤¤à¤¾",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm वाà¤à¤¤à¤¾",LLLL:"dddd, D MMMM YYYY, A h:mm वाà¤à¤¤à¤¾"},calendar:{sameDay:"[à¤à¤] LT",nextDay:"[à¤à¤¦à¥à¤¯à¤¾] LT",nextWeek:"dddd, LT",lastDay:"[à¤à¤¾à¤²] LT",lastWeek:"[माà¤à¥à¤²] dddd, LT",sameElse:"L"},relativeTime:{future:"%sमधà¥à¤¯à¥",past:"%sपà¥à¤°à¥à¤µà¥",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},preparse:function(e){return e.replace(/[१२३४५६à¥à¥®à¥¯à¥¦]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/पहाà¤à¥|सà¤à¤¾à¤³à¥|दà¥à¤ªà¤¾à¤°à¥|सायà¤à¤à¤¾à¤³à¥|रातà¥à¤°à¥/,meridiemHour:function(e,t){return 12===e&&(e=0),"पहाà¤à¥"===t||"सà¤à¤¾à¤³à¥"===t?e:"दà¥à¤ªà¤¾à¤°à¥"===t||"सायà¤à¤à¤¾à¤³à¥"===t||"रातà¥à¤°à¥"===t?e>=12?e:e+12:void 0},meridiem:function(e,t,n){return e>=0&&e<6?"पहाà¤à¥":e<12?"सà¤à¤¾à¤³à¥":e<17?"दà¥à¤ªà¤¾à¤°à¥":e<20?"सायà¤à¤à¤¾à¤³à¥":"रातà¥à¤°à¥"},week:{dow:0,doy:6}})}(n(5093))},2297(e,t,n){!function(e){"use strict";e.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(n(5093))},3386(e,t,n){!function(e){"use strict";e.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(n(5093))}
vendor: 10,632 bytes, line 9218
9218,7075(e,t,n){!function(e){"use strict";e.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_Ä unju_Lulju_Awwissu_Settembru_Ottubru_Novembru_DiÄembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_Ä un_Lul_Aww_Set_Ott_Nov_DiÄ".split("_"),weekdays:"Il-Ħadd_It-Tnejn_It-Tlieta_L-Erbgħa_Il-Ħamis_Il-Ä imgħa_Is-Sibt".split("_"),weekdaysShort:"Ħad_Tne_Tli_Erb_Ħam_Ä im_Sib".split("_"),weekdaysMin:"Ħa_Tn_Tl_Er_Ħa_Ä i_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[Għada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-bieraħ fil-]LT",lastWeek:"dddd [li għadda] [fil-]LT",sameElse:"L"},relativeTime:{future:"fâ %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"siegħa",hh:"%d siegħat",d:"Ä¡urnata",dd:"%d Ä¡ranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(5093))},2264(e,t,n){!function(e){"use strict";var t={1:"á",2:"á",3:"á",4:"á",5:"á
",6:"á",7:"á",8:"á",9:"á",0:"á"},n={"á":"1","á":"2","á":"3","á":"4","á
":"5","á":"6","á":"7","á":"8","á":"9","á":"0"};e.defineLocale("my",{months:"áááºááá«áá®_áá±áá±á¬áºáá«áá®_áááº_á§áá¼á®_áá±_áá½ááº_áá°ááá¯ááº_áá¼áá¯ááº_á
ááºáááºáá¬_á¡á±á¬ááºááá¯áá¬_ááá¯áááºáá¬_áá®áááºáá¬".split("_"),monthsShort:"áááº_áá±_áááº_áá¼á®_áá±_áá½ááº_ááá¯ááº_áá¼_á
ááº_á¡á±á¬ááº_ááá¯_áá®".split("_"),weekdays:"ááááºá¹ááá½á±_ááááºá¹áá¬_á¡ááºá¹áá«_áá¯áá¹ááá°á¸_áá¼á¬áááá±á¸_áá±á¬áá¼á¬_á
áá±".split("_"),weekdaysShort:"áá½á±_áá¬_áá«_áá°á¸_áá¼á¬_áá±á¬_áá±".split("_"),weekdaysMin:"áá½á±_áá¬_áá«_áá°á¸_áá¼á¬_áá±á¬_áá±".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ááá±.] LT [áá¾á¬]",nextDay:"[ááááºáá¼ááº] LT [áá¾á¬]",nextWeek:"dddd LT [áá¾á¬]",lastDay:"[ááá±.á] LT [áá¾á¬]",lastWeek:"[áá¼á®á¸áá²á·áá±á¬] dddd LT [áá¾á¬]",sameElse:"L"},relativeTime:{future:"áá¬áááºá· %s áá¾á¬",past:"áá½ááºáá²á·áá±á¬ %s á",s:"á
áá¹áááº.á¡áááºá¸áááº",ss:"%d á
áá¹ááá·áº",m:"áá
áºáááá
áº",mm:"%d áááá
áº",h:"áá
áºáá¬áá®",hh:"%d áá¬áá®",d:"áá
áºáááº",dd:"%d áááº",M:"áá
áºá",MM:"%d á",y:"áá
áºáá¾á
áº",yy:"%d áá¾á
áº"},preparse:function(e){return e.replace(/[ááááá
ááááá]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},week:{dow:1,doy:4}})}(n(5093))},2274(e,t,n){!function(e){"use strict";e.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"sø._ma._ti._on._to._fr._lø.".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i gÃ¥r kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"én time",hh:"%d timer",d:"én dag",dd:"%d dager",w:"én uke",ww:"%d uker",M:"én mÃ¥ned",MM:"%d mÃ¥neder",y:"ett Ã¥r",yy:"%d Ã¥r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5093))},8235(e,t,n){!function(e){"use strict";var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"à¥",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","à¥":"7","८":"8","९":"9","०":"0"};e.defineLocale("ne",{months:"à¤à¤¨à¤µà¤°à¥_फà¥à¤¬à¥à¤°à¥à¤µà¤°à¥_मारà¥à¤_à¤
पà¥à¤°à¤¿à¤²_मà¤_à¤à¥à¤¨_à¤à¥à¤²à¤¾à¤_à¤
à¤à¤·à¥à¤_सà¥à¤ªà¥à¤à¥à¤®à¥à¤¬à¤°_à¤
à¤à¥à¤à¥à¤¬à¤°_नà¥à¤à¥à¤®à¥à¤¬à¤°_डिसà¥à¤®à¥à¤¬à¤°".split("_"),monthsShort:"à¤à¤¨._फà¥à¤¬à¥à¤°à¥._मारà¥à¤_à¤
पà¥à¤°à¤¿._मà¤_à¤à¥à¤¨_à¤à¥à¤²à¤¾à¤._à¤
à¤._सà¥à¤ªà¥à¤._à¤
à¤à¥à¤à¥._नà¥à¤à¥._डिसà¥.".split("_"),monthsParseExact:!0,weekdays:"à¤à¤à¤¤à¤¬à¤¾à¤°_सà¥à¤®à¤¬à¤¾à¤°_मà¤à¥à¤à¤²à¤¬à¤¾à¤°_बà¥à¤§à¤¬à¤¾à¤°_बिहिबार_शà¥à¤à¥à¤°à¤¬à¤¾à¤°_शनिबार".split("_"),weekdaysShort:"à¤à¤à¤¤._सà¥à¤®._मà¤à¥à¤à¤²._बà¥à¤§._बिहि._शà¥à¤à¥à¤°._शनि.".split("_"),weekdaysMin:"à¤._सà¥._मà¤._बà¥._बि._शà¥._श.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"Aà¤à¥ h:mm बà¤à¥",LTS:"Aà¤à¥ h:mm:ss बà¤à¥",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, Aà¤à¥ h:mm बà¤à¥",LLLL:"dddd, D MMMM YYYY, Aà¤à¥ h:mm बà¤à¥"},preparse:function(e){return e.replace(/[१२३४५६à¥à¥®à¥¯à¥¦]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/राति|बिहान|दिà¤à¤à¤¸à¥|साà¤à¤/,meridiemHour:function(e,t){return 12===e&&(e=0),"राति"===t?e<4?e:e+12:"बिहान"===t?e:"दिà¤à¤à¤¸à¥"===t?e>=10?e:e+12:"साà¤à¤"===t?e+12:void 0},meridiem:function(e,t,n){return e<3?"राति":e<12?"बिहान":e<16?"दिà¤à¤à¤¸à¥":e<20?"साà¤à¤":"राति"},calendar:{sameDay:"[à¤à¤] LT",nextDay:"[à¤à¥à¤²à¤¿] LT",nextWeek:"[à¤à¤à¤à¤¦à¥] dddd[,] LT",lastDay:"[हिà¤à¥] LT",lastWeek:"[à¤à¤à¤à¥] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%sमा",past:"%s à¤
à¤à¤¾à¤¡à¤¿",s:"à¤à¥à¤¹à¥ à¤à¥à¤·à¤£",ss:"%d सà¥à¤à¥à¤£à¥à¤¡",m:"à¤à¤ मिनà¥à¤",mm:"%d मिनà¥à¤",h:"à¤à¤ à¤à¤£à¥à¤à¤¾",hh:"%d à¤à¤£à¥à¤à¤¾",d:"à¤à¤ दिन",dd:"%d दिन",M:"à¤à¤ महिना",MM:"%d महिना",y:"à¤à¤ बरà¥à¤·",yy:"%d बरà¥à¤·"},week:{dow:0,doy:6}})}(n(5093))},3784(e,t,n){!function(e){"use strict";var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),i=[/^jan/i,/^feb/i,/^(maart|mrt\.?)$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],a=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;e.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},monthsRegex:a,monthsShortRegex:a,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n(5093))},2572(e,t,n){!function(e){"use strict";var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),i=[/^jan/i,/^feb/i,/^(maart|mrt\.?)$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],a=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;e.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},monthsRegex:a,monthsShortRegex:a,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",w:"één week",ww:"%d weken",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n(5093))},4566(e,t,n){!function(e){"use strict";e.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"sundag_mÃ¥ndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"su._mÃ¥._t
9218y._on._to._fr._lau.".split("_"),weekdaysMin:"su_mÃ¥_ty_on_to_fr_la".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I gÃ¥r klokka] LT",lastWeek:"[FøregÃ¥ande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",w:"ei veke",ww:"%d veker",M:"ein mÃ¥nad",MM:"%d mÃ¥nader",y:"eit Ã¥r",yy:"%d Ã¥r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5093))},9330(e,t,n){!function(e){"use strict";e.defineLocale("oc-lnc",{months:{standalone:"genièr_febrièr_març_abril_mai_junh_julhet_agost_setembre_octòbre_novembre_decembre".split("_"),format:"de genièr_de febrièr_de març_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'octòbre_de novembre_de decembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._març_abr._mai_junh_julh._ago._set._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"dimenge_diluns_dimars_dimècres_dijòus_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dm._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dm_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:"[uèi a] LT",nextDay:"[deman a] LT",nextWeek:"dddd [a] LT",lastDay:"[ièr a] LT",lastWeek:"dddd [passat a] LT",sameElse:"L"},relativeTime:{future:"d'aquà %s",past:"fa %s",s:"unas segondas",ss:"%d segondas",m:"una minuta",mm:"%d minutas",h:"una ora",hh:"%d oras",d:"un jorn",dd:"%d jorns",M:"un mes",MM:"%d meses",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(e,t){var n=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"è";return"w"!==t&&"W"!==t||(n="a"),e+n},week:{dow:1,doy:4}})}(n(5093))},9849(e,t,n){!function(e){"use strict";var t={1:"à©§",2:"੨",3:"à©©",4:"੪",5:"à©«",6:"੬",7:"à©",8:"à©®",9:"੯",0:"੦"},n={"à©§":"1","੨":"2","à©©":"3","੪":"4","à©«":"5","੬":"6","à©":"7","à©®":"8","੯":"9","੦":"0"};e.defineLocale("pa-in",{months:"à¨à¨¨à¨µà¨°à©_ਫ਼ਰਵਰà©_ਮਾਰà¨_à¨
ਪà©à¨°à©à¨²_ਮà¨_à¨à©à¨¨_à¨à©à¨²à¨¾à¨_à¨
à¨à¨¸à¨¤_ਸਤੰਬਰ_à¨
à¨à¨¤à©à¨¬à¨°_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),monthsShort:"à¨à¨¨à¨µà¨°à©_ਫ਼ਰਵਰà©_ਮਾਰà¨_à¨
ਪà©à¨°à©à¨²_ਮà¨_à¨à©à¨¨_à¨à©à¨²à¨¾à¨_à¨
à¨à¨¸à¨¤_ਸਤੰਬਰ_à¨
à¨à¨¤à©à¨¬à¨°_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),weekdays:"à¨à¨¤à¨µà¨¾à¨°_ਸà©à¨®à¨µà¨¾à¨°_ਮੰà¨à¨²à¨µà¨¾à¨°_ਬà©à¨§à¨µà¨¾à¨°_ਵà©à¨°à¨µà¨¾à¨°_ਸ਼à©à©±à¨à¨°à¨µà¨¾à¨°_ਸ਼ਨà©à¨à¨°à¨µà¨¾à¨°".split("_"),weekdaysShort:"à¨à¨¤_ਸà©à¨®_ਮੰà¨à¨²_ਬà©à¨§_ਵà©à¨°_ਸ਼à©à¨à¨°_ਸ਼ਨà©".split("_"),weekdaysMin:"à¨à¨¤_ਸà©à¨®_ਮੰà¨à¨²_ਬà©à¨§_ਵà©à¨°_ਸ਼à©à¨à¨°_ਸ਼ਨà©".split("_"),longDateFormat:{LT:"A h:mm ਵà¨à©",LTS:"A h:mm:ss ਵà¨à©",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm ਵà¨à©",LLLL:"dddd, D MMMM YYYY, A h:mm ਵà¨à©"},calendar:{sameDay:"[à¨
à¨] LT",nextDay:"[à¨à¨²] LT",nextWeek:"[à¨
à¨à¨²à¨¾] dddd, LT",lastDay:"[à¨à¨²] LT",lastWeek:"[ਪਿà¨à¨²à©] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ਵਿੱà¨",past:"%s ਪਿà¨à¨²à©",s:"à¨à©à¨ ਸà¨à¨¿à©°à¨",ss:"%d ਸà¨à¨¿à©°à¨",m:"à¨à¨ ਮਿੰà¨",mm:"%d ਮਿੰà¨",h:"à¨à©±à¨ à¨à©°à¨à¨¾",hh:"%d à¨à©°à¨à©",d:"à¨à©±à¨ ਦਿਨ",dd:"%d ਦਿਨ",M:"à¨à©±à¨ ਮਹà©à¨¨à¨¾",MM:"%d ਮਹà©à¨¨à©",y:"à¨à©±à¨ ਸਾਲ",yy:"%d ਸਾਲ"},preparse:function(e){return e.replace(/[੧੨੩੪੫੬à©à©®à©¯à©¦]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/ਰਾਤ|ਸਵà©à¨°|ਦà©à¨ªà¨¹à¨¿à¨°|ਸ਼ਾਮ/,meridiemHour:function(e,t){return 12===e&&(e=0),"ਰਾਤ"===t?e<4?e:e+12:"ਸਵà©à¨°"===t?e:"ਦà©à¨ªà¨¹à¨¿à¨°"===t?e>=10?e:e+12:"ਸ਼ਾਮ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"ਰਾਤ":e<10?"ਸਵà©à¨°":e<17?"ਦà©à¨ªà¨¹à¨¿à¨°":e<20?"ਸ਼ਾਮ":"ਰਾਤ"},week:{dow:0,doy:6}})}(n(5093))},4418(e,t,n){!function(e){"use strict";
vendor: 4,233 bytes, line 9218
9218var t="styczeÅ_luty_marzec_kwiecieÅ_maj_czerwiec_lipiec_sierpieÅ_wrzesieÅ_październik_listopad_grudzieÅ".split("_"),n="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrzeÅnia_października_listopada_grudnia".split("_"),i=[/^sty/i,/^lut/i,/^mar/i,/^kwi/i,/^maj/i,/^cze/i,/^lip/i,/^sie/i,/^wrz/i,/^paź/i,/^lis/i,/^gru/i];function a(e){return e%10<5&&e%10>1&&~~(e/10)%10!=1}function s(e,t,n){var i=e+" ";switch(n){case"ss":return i+(a(e)?"sekundy":"sekund");case"m":return t?"minuta":"minutÄ";case"mm":return i+(a(e)?"minuty":"minut");case"h":return t?"godzina":"godzinÄ";case"hh":return i+(a(e)?"godziny":"godzin");case"ww":return i+(a(e)?"tygodnie":"tygodni");case"MM":return i+(a(e)?"miesiÄ
ce":"miesiÄcy");case"yy":return i+(a(e)?"lata":"lat")}}e.defineLocale("pl",{months:function(e,i){return e?/D MMMM/.test(i)?n[e.month()]:t[e.month()]:t},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"niedziela_poniedziaÅek_wtorek_Åroda_czwartek_piÄ
tek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_År_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_År_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DziÅ o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedzielÄ o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W ÅrodÄ o] LT";case 6:return"[W sobotÄ o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zeszÅÄ
niedzielÄ o] LT";case 3:return"[W zeszÅÄ
ÅrodÄ o] LT";case 6:return"[W zeszÅÄ
sobotÄ o] LT";default:return"[W zeszÅy] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:s,m:s,mm:s,h:s,hh:s,d:"1 dzieÅ",dd:"%d dni",w:"tydzieÅ",ww:s,M:"miesiÄ
c",MM:s,y:"rok",yy:s},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5093))},8303(e,t,n){!function(e){"use strict";e.defineLocale("pt-br",{months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sáb".split("_"),weekdaysMin:"do_2ª_3ª_4ª_5ª_6ª_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [à s] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [à s] HH:mm"},calendar:{sameDay:"[Hoje à s] LT",nextDay:"[Amanhã à s] LT",nextWeek:"dddd [à s] LT",lastDay:"[Ontem à s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Ãltimo] dddd [à s] LT":"[Ãltima] dddd [à s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",invalidDate:"Data inválida"})}(n(5093))},9834(e,t,n){!function(e){"use strict";e.defineLocale("pt",{months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje à s] LT",nextDay:"[Amanhã à s] LT",nextWeek:"dddd [à s] LT",lastDay:"[Ontem à s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Ãltimo] dddd [à s] LT":"[Ãltima] dddd [à s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%
9218d horas",d:"um dia",dd:"%d dias",w:"uma semana",ww:"%d semanas",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(5093))},4457(e,t,n){!function(e){"use strict";function t(e,t,n){var i=" ";return(e%100>=20||e>=100&&e%100==0)&&(i=" de "),e+i+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"sÄptÄmâni",MM:"luni",yy:"ani"}[n]}e.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminicÄ_luni_marÈi_miercuri_joi_vineri_sâmbÄtÄ".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_Sâm".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_Sâ".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[mâine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s în urmÄ",s:"câteva secunde",ss:t,m:"un minut",mm:t,h:"o orÄ",hh:t,d:"o zi",dd:t,w:"o sÄptÄmânÄ",ww:t,M:"o lunÄ",MM:t,y:"un an",yy:t},week:{dow:1,doy:7}})}(n(5093))},2271(e,t,n){!function(e){"use strict";function t(e,t,n){return"m"===n?t?"минÑÑа":"минÑÑÑ":e+" "+(i=+e,a={ss:t?"ÑекÑнда_ÑекÑндÑ_ÑекÑнд":"ÑекÑндÑ_ÑекÑндÑ_ÑекÑнд",mm:t?"минÑÑа_минÑÑÑ_минÑÑ":"минÑÑÑ_минÑÑÑ_минÑÑ",hh:"ÑаÑ_ÑаÑа_ÑаÑов",dd:"денÑ_днÑ_дней",ww:"неделÑ_недели_неделÑ",MM:"меÑÑÑ_меÑÑÑа_меÑÑÑев",yy:"год_года_леÑ"}[n].split("_"),i%10==1&&i%100!=11?a[0]:i%10>=2&&i%10<=4&&(i%100<10||i%100>=20)?a[1]:a[2]);var i,a}var n=[/^Ñнв/i,/^Ñев/i,/^маÑ/i,/^апÑ/i,/^ма[йÑ]/i,/^иÑн/i,/^иÑл/i,/^авг/i,/^Ñен/i,/^окÑ/i,/^ноÑ/i,/^дек/i];e.defineLocale("ru",{months:{format:"ÑнваÑÑ_ÑевÑалÑ_маÑÑа_апÑелÑ_маÑ_иÑнÑ_иÑлÑ_авгÑÑÑа_ÑенÑÑбÑÑ_окÑÑбÑÑ_ноÑбÑÑ_декабÑÑ".split("_"),standalone:"ÑнваÑÑ_ÑевÑалÑ_маÑÑ_апÑелÑ_май_иÑнÑ_иÑлÑ_авгÑÑÑ_ÑенÑÑбÑÑ_окÑÑбÑÑ_ноÑбÑÑ_декабÑÑ".split("_")},monthsShort:{format:"Ñнв._ÑевÑ._маÑ._апÑ._маÑ_иÑнÑ_иÑлÑ_авг._ÑенÑ._окÑ._ноÑб._дек.".split("_"),standalone:"Ñнв._ÑевÑ._маÑÑ_апÑ._май_иÑнÑ_иÑлÑ_авг._ÑенÑ._окÑ._ноÑб._дек.".split("_")},weekdays:{standalone:"воÑкÑеÑенÑе_понеделÑник_вÑоÑник_ÑÑеда_ÑеÑвеÑг_пÑÑниÑа_ÑÑббоÑа".split("_"),format:"воÑкÑеÑенÑе_понеделÑник_вÑоÑник_ÑÑедÑ_ÑеÑвеÑг_пÑÑниÑÑ_ÑÑббоÑÑ".split("_"),isFormat:/\[ ?[Ðв] ?(?:пÑоÑлÑÑ|ÑледÑÑÑÑÑ|ÑÑÑ)? ?] ?dddd/},weekdaysShort:"вÑ_пн_вÑ_ÑÑ_ÑÑ_пÑ_Ñб".split("_"),weekdaysMin:"вÑ_пн_вÑ_ÑÑ_ÑÑ_пÑ_Ñб".split("_"),monthsParse:n,longMonthsParse:n,shortMonthsParse:n,monthsRegex:/^(ÑнваÑ[ÑÑ]|Ñнв\.?|ÑевÑал[ÑÑ]|ÑевÑ?\.?|маÑÑа?|маÑ\.?|апÑел[ÑÑ]|апÑ\.?|ма[йÑ]|иÑн[ÑÑ]|иÑн\.?|иÑл[ÑÑ]|иÑл\.?|авгÑÑÑа?|авг\.?|ÑенÑÑбÑ[ÑÑ]|ÑенÑ?\.?|окÑÑбÑ[ÑÑ]|окÑ\.?|ноÑбÑ[ÑÑ]|ноÑб?\.?|декабÑ[ÑÑ]|дек\.?)/i,monthsShortRegex:/^(ÑнваÑ[ÑÑ]|Ñнв\.?|ÑевÑал[ÑÑ]|ÑевÑ?\.?|маÑÑа?|маÑ\.?|апÑел[ÑÑ]|апÑ\.?|ма[йÑ]|иÑн[ÑÑ]|иÑн\.?|иÑл[ÑÑ]|иÑл\.?|авгÑÑÑа?|авг\.?|ÑенÑÑбÑ[ÑÑ]|ÑенÑ?\.?|окÑÑбÑ[ÑÑ]|окÑ\.?|ноÑбÑ[ÑÑ]|ноÑб?\.?|декабÑ[ÑÑ]|дек\.?)/i,monthsStrictRegex:/^(ÑнваÑ[ÑÑ]|ÑевÑал[ÑÑ]|маÑÑа?|апÑел[ÑÑ]|ма[Ñй]|иÑн[ÑÑ]|иÑл[ÑÑ]|авгÑÑÑа?|ÑенÑÑбÑ[ÑÑ]|окÑÑбÑ[ÑÑ]|ноÑбÑ[ÑÑ]|декабÑ[ÑÑ])/i,monthsShortStrictRegex:/^(Ñнв\.|ÑевÑ?\.|маÑ[Ñ.]|апÑ\.|ма[Ñй]|иÑн[ÑÑ.]|иÑл[ÑÑ.]|авг\.|ÑенÑ?\.|ок
vendor: 4,432 bytes, line 9218
9218Ñ\.|ноÑб?\.|дек\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},calendar:{sameDay:"[СегоднÑ, в] LT",nextDay:"[ÐавÑÑа, в] LT",lastDay:"[ÐÑеÑа, в] LT",nextWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[Ðо] dddd, [в] LT":"[Ð] dddd, [в] LT";switch(this.day()){case 0:return"[Ð ÑледÑÑÑее] dddd, [в] LT";case 1:case 2:case 4:return"[Ð ÑледÑÑÑий] dddd, [в] LT";case 3:case 5:case 6:return"[Ð ÑледÑÑÑÑÑ] dddd, [в] LT"}},lastWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[Ðо] dddd, [в] LT":"[Ð] dddd, [в] LT";switch(this.day()){case 0:return"[РпÑоÑлое] dddd, [в] LT";case 1:case 2:case 4:return"[РпÑоÑлÑй] dddd, [в] LT";case 3:case 5:case 6:return"[РпÑоÑлÑÑ] dddd, [в] LT"}},sameElse:"L"},relativeTime:{future:"ÑеÑез %s",past:"%s назад",s:"неÑколÑко ÑекÑнд",ss:t,m:t,mm:t,h:"ÑаÑ",hh:t,d:"денÑ",dd:t,w:"неделÑ",ww:t,M:"меÑÑÑ",MM:t,y:"год",yy:t},meridiemParse:/ноÑи|ÑÑÑа|днÑ|веÑеÑа/i,isPM:function(e){return/^(днÑ|веÑеÑа)$/.test(e)},meridiem:function(e,t,n){return e<4?"ноÑи":e<12?"ÑÑÑа":e<17?"днÑ":"веÑеÑа"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го|Ñ)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":return e+"-й";case"D":return e+"-го";case"w":case"W":return e+"-Ñ";default:return e}},week:{dow:1,doy:4}})}(n(5093))},1221(e,t,n){!function(e){"use strict";var t=["جÙÙØ±Ù","ÙÙØ¨Ø±ÙرÙ","Ù
ارÚ","اپرÙÙ","Ù
ئÙ","جÙÙ","جÙÙØ§Ø¡Ù","آگسٽ","سÙپٽÙ
بر","Ø¢ÚªÙ½ÙØ¨Ø±","ÙÙÙ
بر","ÚØ³Ù
بر"],n=["Ø¢ÚØ±","سÙÙ
ر","اڱارÙ","اربع","Ø®Ù
ÙØ³","جÙ
ع","ÚÙÚØ±"];e.defineLocale("sd",{months:t,monthsShort:t,weekdays:n,weekdaysShort:n,weekdaysMin:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"ddddØ D MMMM YYYY HH:mm"},meridiemParse:/صبØ|شاÙ
/,isPM:function(e){return"شاÙ
"===e},meridiem:function(e,t,n){return e<12?"صبØ":"شاÙ
"},calendar:{sameDay:"[اÚ] LT",nextDay:"[Ø³ÚØ§Ú»Ù] LT",nextWeek:"dddd [اڳÙÙ ÙÙØªÙ تÙ] LT",lastDay:"[ڪاÙÙÙ] LT",lastWeek:"[گزرÙÙ ÙÙØªÙ] dddd [تÙ] LT",sameElse:"L"},relativeTime:{future:"%s Ù¾ÙØ¡",past:"%s اڳ",s:"ÚÙØ¯ سÙÚªÙÚ",ss:"%d سÙÚªÙÚ",m:"ÙÚª Ù
ÙÙ½",mm:"%d Ù
ÙÙ½",h:"ÙÚª ÚªÙØ§Úª",hh:"%d ÚªÙØ§Úª",d:"ÙÚª ÚÙÙÙÙ",dd:"%d ÚÙÙÙÙ",M:"ÙÚª Ù
ÙÙÙÙ",MM:"%d Ù
ÙÙÙØ§",y:"ÙÚª ساÙ",yy:"%d ساÙ"},preparse:function(e){return e.replace(/Ø/g,",")},postformat:function(e){return e.replace(/,/g,"Ø")},week:{dow:1,doy:4}})}(n(5093))},3478(e,t,n){!function(e){"use strict";e.defineLocale("se",{months:"oÄÄajagemánnu_guovvamánnu_njukÄamánnu_cuoÅománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_ÄakÄamánnu_golggotmánnu_skábmamánnu_juovlamánnu".split("_"),monthsShort:"oÄÄj_guov_njuk_cuo_mies_geas_suoi_borg_ÄakÄ_golg_skáb_juov".split("_"),weekdays:"sotnabeaivi_vuossárga_maÅÅebárga_gaskavahkku_duorastat_bearjadat_lávvardat".split("_"),weekdaysShort:"sotn_vuos_maÅ_gask_duor_bear_láv".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s geažes",past:"maÅit %s",s:"moadde sekunddat",ss:"%d sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta mánnu",MM:"%d mánut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5093))},7538(e,t,n){!function(e){"use strict";e.defineLocale("si",{months:"ජනà·à·à¶»à·_à¶´à·à¶¶à¶»à·à·à¶»à·_මà·à¶»à·à¶à·_à¶
à¶´à·âà¶»à·à¶½à·_මà·à¶ºà·_à¶¢à·à¶±à·_à¶¢à·à¶½à·_à¶
à¶à·à·à·à¶à·_à·à·à¶´à·à¶à·à¶¸à·à¶¶à¶»à·_à¶à¶à·à¶à·à¶¶à¶»à·_à¶±à·à·à·à¶¸à·à¶¶à¶»à·_දà·à·à·à¶¸à·à¶¶à¶»à·".split("_"),monthsShort:"ජන_à¶´à·à¶¶_මà·à¶»à·_à¶
à¶´à·_මà·à¶ºà·_à¶¢à·à¶±à·_à¶¢à·à¶½à·_à¶
à¶à·_à·à·à¶´à·_à¶à¶à·_à¶±à·à·à·_දà·à·à·".
vendor: 7,902 bytes, line 9218
9218split("_"),weekdays:"à¶à¶»à·à¶¯à·_à·à¶³à·à¶¯à·_à¶
à¶à·à¶»à·à·à·à¶¯à·_බදà·à¶¯à·_à¶¶à·âà¶»à·à·à·à¶´à¶à·à¶±à·à¶¯à·_à·à·à¶à·à¶»à·à¶¯à·_à·à·à¶±à·à·à¶»à·à¶¯à·".split("_"),weekdaysShort:"à¶à¶»à·_à·à¶³à·_à¶
à¶_බදà·_à¶¶à·âà¶»à·_à·à·à¶à·_à·à·à¶±".split("_"),weekdaysMin:"à¶_à·_à¶
_à¶¶_à¶¶à·âà¶»_à·à·_à·à·".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [à·à·à¶±à·] dddd, a h:mm:ss"},calendar:{sameDay:"[à¶
ද] LT[à¶§]",nextDay:"[à·à·à¶§] LT[à¶§]",nextWeek:"dddd LT[à¶§]",lastDay:"[à¶à¶ºà·] LT[à¶§]",lastWeek:"[à¶´à·à·à¶à·à¶º] dddd LT[à¶§]",sameElse:"L"},relativeTime:{future:"%sà¶à·à¶±à·",past:"%sà¶à¶§ à¶´à·à¶»",s:"à¶à¶à·à¶´à¶» à¶à·à·à·à¶´à¶º",ss:"à¶à¶à·à¶´à¶» %d",m:"මà·à¶±à·à¶à·à¶à·à·",mm:"මà·à¶±à·à¶à·à¶à· %d",h:"à¶´à·à¶º",hh:"à¶´à·à¶º %d",d:"දà·à¶±à¶º",dd:"දà·à¶± %d",M:"මà·à·à¶º",MM:"මà·à· %d",y:"à·à·à¶»",yy:"à·à·à¶» %d"},dayOfMonthOrdinalParse:/\d{1,2} à·à·à¶±à·/,ordinal:function(e){return e+" à·à·à¶±à·"},meridiemParse:/à¶´à·à¶» à·à¶»à·|à¶´à·à· à·à¶»à·|à¶´à·.à·|à¶´.à·./,isPM:function(e){return"à¶´.à·."===e||"à¶´à·à· à·à¶»à·"===e},meridiem:function(e,t,n){return e>11?n?"à¶´.à·.":"à¶´à·à· à·à¶»à·":n?"à¶´à·.à·.":"à¶´à·à¶» à·à¶»à·"}})}(n(5093))},5784(e,t,n){!function(e){"use strict";var t="január_február_marec_aprÃl_máj_jún_júl_august_september_október_november_december".split("_"),n="jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_");function i(e){return e>1&&e<5}function a(e,t,n,a){var s=e+" ";switch(n){case"s":return t||a?"pár sekúnd":"pár sekundami";case"ss":return t||a?s+(i(e)?"sekundy":"sekúnd"):s+"sekundami";case"m":return t?"minúta":a?"minútu":"minútou";case"mm":return t||a?s+(i(e)?"minúty":"minút"):s+"minútami";case"h":return t?"hodina":a?"hodinu":"hodinou";case"hh":return t||a?s+(i(e)?"hodiny":"hodÃn"):s+"hodinami";case"d":return t||a?"deÅ":"dÅom";case"dd":return t||a?s+(i(e)?"dni":"dnÃ"):s+"dÅami";case"M":return t||a?"mesiac":"mesiacom";case"MM":return t||a?s+(i(e)?"mesiace":"mesiacov"):s+"mesiacmi";case"y":return t||a?"rok":"rokom";case"yy":return t||a?s+(i(e)?"roky":"rokov"):s+"rokmi"}}e.defineLocale("sk",{months:t,monthsShort:n,weekdays:"nedeľa_pondelok_utorok_streda_Å¡tvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_Å¡t_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_Å¡t_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nedeľu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo Å¡tvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[vÄera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulú nedeľu o] LT";case 1:case 2:case 4:case 5:return"[minulý] dddd [o] LT";case 3:return"[minulú stredu o] LT";case 6:return"[minulú sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:a,ss:a,m:a,mm:a,h:a,hh:a,d:a,dd:a,M:a,MM:a,y:a,yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5093))},6637(e,t,n){!function(e){"use strict";function t(e,t,n,i){var a=e+" ";switch(n){case"s":return t||i?"nekaj sekund":"nekaj sekundami";case"ss":return a+(1===e?t?"sekundo":"sekundi":2===e?t||i?"sekundi":"sekundah":e<5?t||i?"sekunde":"sekundah":"sekund");case"m":return t?"ena minuta":"eno minuto";case"mm":return a+(1===e?t?"minuta":"minuto":2===e?t||i?"minuti":"minutama":e<5?t||i?"minute":"minutami":t||i?"minut":"minutami");case"h":return t?"ena ura":"eno uro";case"hh":return a+(1===e?t?"ura":"uro":2===e?t||i?"uri":"urama":e<5?t||i?"ure":"urami":t||i?"ur":"urami");case"d":return t||i?"en dan":"enim dnem";case"dd":return a+(1===e?t||i?"dan":"dnem":2===e?t||i?"dni":"dnevoma":t||i?"dni":"dnevi");case"M":return t||i?"en mesec":"enim mesecem";case"MM":return a+(1===e?t||i?"mesec":"mesecem":2===e?t||i?"meseca":"mesecema":e<5?t||i?"mesece":"meseci":t||i?"mesecev":"meseci");case"y":return t||i?"eno leto":"enim letom";case"yy":return a+(1===e?t||i?"leto":"letom":2===e?t||i?"leti":"letoma":e<5?t||i?"leta":"leti":t||i?"let":"leti")}}e.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_Äetrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._Äet._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_Äe_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[vÄeraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prejÅ¡njo] [nedeljo] [ob] LT";case 3:return"[prejÅ¡njo] [sredo] [ob] LT";case 6:return"[prejÅ¡njo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prejÅ¡nji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"Äez %s",past:"pred %s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(5093))},6794(e,t,n){!function(e){"use strict";e.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj".split("_"),weekdays:"E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë".split("_"),weekdaysShort:"Die_Hën_Mar_Mër_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_Më_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(e){return"M"===e.charAt(0)},meridiem:function(e,t,n){return e<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot në] LT",nextDay:"[Nesër në] LT",nextWeek:"dddd [në] LT",lastDay:"[Dje në] LT",lastWeek:"dddd [e kaluar në] LT",sameElse:"L"},relativeTime:{future:"në %s",past:"%s më parë",s:"disa sekonda",ss:"%d sekonda",m:"një minutë",mm:"%d minuta",h:"një orë",hh:"%d orë",d:"një ditë",dd:"%d ditë",M:"një muaj",MM:"%d muaj",y:"një vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5093))},3322(e,t,n){!function(e){"use strict";var t={words:{ss:["ÑекÑнда","ÑекÑнде","ÑекÑнди"],m:["Ñедан минÑÑ","Ñедног минÑÑа"],mm:["минÑÑ","минÑÑа","минÑÑа"],h:["Ñедан ÑаÑ","Ñедног ÑаÑа"],hh:["ÑаÑ","ÑаÑа","ÑаÑи"],d:["Ñедан дан","Ñедног дана"],dd:["дан","дана","дана"],M:["Ñедан меÑеÑ","Ñедног меÑеÑа"],MM:["меÑеÑ","меÑеÑа","меÑеÑи"],y:["ÑÐµÐ´Ð½Ñ Ð³Ð¾Ð´Ð¸Ð½Ñ","Ñедне године"],yy:["годинÑ","године","година"]},correctGrammaticalCase:function(e,t){return e%10>=1&&e%10<=4&&(e%100<10||e%100>=20)?e%10==1?t[0]:t[1]:t[2]},translate:function(e,n,i,a){var s,r=t.words[i];return 1===i.length?"y"===i&&n?"Ñедна година":a||n?r[0]:r[1]:(s=t.correctGrammaticalCase(e,r),"yy"===i&&n&&"годинÑ"===s?e+" година":e+" "+s)}};e.defineLocale("sr-cyrl",{months:"ÑанÑаÑ_ÑебÑÑаÑ_маÑÑ_апÑил_маÑ_ÑÑн_ÑÑл_авгÑÑÑ_ÑепÑембаÑ_ок
9218ÑобаÑ_новембаÑ_деÑембаÑ".split("_"),monthsShort:"Ñан._Ñеб._маÑ._апÑ._маÑ_ÑÑн_ÑÑл_авг._Ñеп._окÑ._нов._деÑ.".split("_"),monthsParseExact:!0,weekdays:"недеÑа_понедеÑак_ÑÑоÑак_ÑÑеда_ÑеÑвÑÑак_пеÑак_ÑÑбоÑа".split("_"),weekdaysShort:"нед._пон._ÑÑо._ÑÑе._ÑеÑ._пеÑ._ÑÑб.".split("_"),weekdaysMin:"не_по_ÑÑ_ÑÑ_Ñе_пе_ÑÑ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[Ð´Ð°Ð½Ð°Ñ Ñ] LT",nextDay:"[ÑÑÑÑа Ñ] LT",nextWeek:function(){switch(this.day()){case 0:return"[Ñ] [недеÑÑ] [Ñ] LT";case 3:return"[Ñ] [ÑÑедÑ] [Ñ] LT";case 6:return"[Ñ] [ÑÑбоÑÑ] [Ñ] LT";case 1:case 2:case 4:case 5:return"[Ñ] dddd [Ñ] LT"}},lastDay:"[ÑÑÑе Ñ] LT",lastWeek:function(){return["[пÑоÑле] [недеÑе] [Ñ] LT","[пÑоÑлог] [понедеÑка] [Ñ] LT","[пÑоÑлог] [ÑÑоÑка] [Ñ] LT","[пÑоÑле] [ÑÑеде] [Ñ] LT","[пÑоÑлог] [ÑеÑвÑÑка] [Ñ] LT","[пÑоÑлог] [пеÑка] [Ñ] LT","[пÑоÑле] [ÑÑбоÑе] [Ñ] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"за %s",past:"пÑе %s",s:"неколико ÑекÑнди",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:t.translate,dd:t.translate,M:t.translate,MM:t.translate,y:t.translate,yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(5093))},5719(e,t,n){!function(e){"use strict";var t={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],d:["jedan dan","jednog dana"],dd:["dan","dana","dana"],M:["jedan mesec","jednog meseca"],MM:["mesec","meseca","meseci"],y:["jednu godinu","jedne godine"],yy:["godinu","godine","godina"]},correctGrammaticalCase:function(e,t){return e%10>=1&&e%10<=4&&(e%100<10||e%100>=20)?e%10==1?t[0]:t[1]:t[2]},translate:function(e,n,i,a){var s,r=t.words[i];return 1===i.length?"y"===i&&n?"jedna godina":a||n?r[0]:r[1]:(s=t.correctGrammaticalCase(e,r),"yy"===i&&n&&"godinu"===s?e+" godina":e+" "+s)}};e.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_Äetvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._Äet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_Äe_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juÄe u] LT",lastWeek:function(){return["[proÅ¡le] [nedelje] [u] LT","[proÅ¡log] [ponedeljka] [u] LT","[proÅ¡log] [utorka] [u] LT","[proÅ¡le] [srede] [u] LT","[proÅ¡log] [Äetvrtka] [u] LT","[proÅ¡log] [petka] [u] LT","[proÅ¡le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:t.translate,dd:t.translate,M:t.translate,MM:t.translate,y:t.translate,yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(5093))},6e3(e,t,n){!function(e){"use strict";e.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LT
vendor: 9,891 bytes, line 9218
9218S:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",ss:"%d mzuzwana",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(e,t,n){return e<11?"ekuseni":e<15?"emini":e<19?"entsambama":"ebusuku"},meridiemHour:function(e,t){return 12===e&&(e=0),"ekuseni"===t?e:"emini"===t?e>=11?e:e+12:"entsambama"===t||"ebusuku"===t?0===e?0:e+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(n(5093))},1011(e,t,n){!function(e){"use strict";e.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"söndag_mÃ¥ndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),weekdaysShort:"sön_mÃ¥n_tis_ons_tor_fre_lör".split("_"),weekdaysMin:"sö_mÃ¥_ti_on_to_fr_lö".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[IgÃ¥r] LT",nextWeek:"[PÃ¥] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"för %s sedan",s:"nÃ¥gra sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en mÃ¥nad",MM:"%d mÃ¥nader",y:"ett Ã¥r",yy:"%d Ã¥r"},dayOfMonthOrdinalParse:/\d{1,2}(\:e|\:a)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?":e":1===t||2===t?":a":":e")},week:{dow:1,doy:4}})}(n(5093))},748(e,t,n){!function(e){"use strict";e.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"hh:mm A",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"siku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})}(n(5093))},1025(e,t,n){!function(e){"use strict";var t={1:"௧",2:"௨",3:"௩",4:"௪",5:"௫",6:"௬",7:"à¯",8:"௮",9:"௯",0:"௦"},n={"௧":"1","௨":"2","௩":"3","௪":"4","௫":"5","௬":"6","à¯":"7","௮":"8","௯":"9","௦":"0"};e.defineLocale("ta",{months:"à®à®©à®µà®°à®¿_பிபà¯à®°à®µà®°à®¿_மாரà¯à®à¯_à®à®ªà¯à®°à®²à¯_à®®à¯_à®à¯à®©à¯_à®à¯à®²à¯_à®à®à®¸à¯à®à¯_à®à¯à®ªà¯à®à¯à®®à¯à®ªà®°à¯_à®
à®à¯à®à¯à®¾à®ªà®°à¯_நவமà¯à®ªà®°à¯_à®à®¿à®à®®à¯à®ªà®°à¯".split("_"),monthsShort:"à®à®©à®µà®°à®¿_பிபà¯à®°à®µà®°à®¿_மாரà¯à®à¯_à®à®ªà¯à®°à®²à¯_à®®à¯_à®à¯à®©à¯_à®à¯à®²à¯_à®à®à®¸à¯à®à¯_à®à¯à®ªà¯à®à¯à®®à¯à®ªà®°à¯_à®
à®à¯à®à¯à®¾à®ªà®°à¯_நவமà¯à®ªà®°à¯_à®à®¿à®à®®à¯à®ªà®°à¯".split("_"),weekdays:"à®à®¾à®¯à®¿à®±à¯à®±à¯à®à¯à®à®¿à®´à®®à¯_திà®à¯à®à®à¯à®à®¿à®´à®®à¯_à®à¯à®µà¯à®µà®¾à®¯à¯à®à®¿à®´à®®à¯_பà¯à®¤à®©à¯à®à®¿à®´à®®à¯_வியாழà®à¯à®à®¿à®´à®®à¯_வà¯à®³à¯à®³à®¿à®à¯à®à®¿à®´à®®à¯_à®à®©à®¿à®à¯à®à®¿à®´à®®à¯".split("_"),weekdaysShort:"à®à®¾à®¯à®¿à®±à¯_திà®à¯à®à®³à¯_à®à¯à®µà¯à®µà®¾à®¯à¯_பà¯à®¤à®©à¯_வியாழனà¯_வà¯à®³à¯à®³à®¿_à®à®©à®¿".split("_"),weekdaysMin:"à®à®¾_தி_à®à¯_பà¯_வி_வà¯_à®".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[à®à®©à¯à®±à¯] LT",nextDay:"[நாளà¯] LT",nextWeek:"dddd, LT",lastDay:"[நà¯à®±à¯à®±à¯] LT",lastWeek:"[à®à®à®¨à¯à®¤ வாரமà¯] dddd, LT",sameElse:"L"},relativeTime:{future:"%s à®à®²à¯",past:"%s à®®à¯à®©à¯",s:"à®à®°à¯ à®à®¿à®² விநாà®à®¿à®à®³à¯",ss:"%d விநாà®à®¿à®à®³à¯",m:"à®à®°à¯ நிமிà®à®®à¯",mm:"%d நிமிà®à®à¯à®à®³à¯",h:"à®à®°à¯ மணி நà¯à®°à®®à¯",hh:"%d மணி நà¯à®°à®®à¯",d:"à®à®°à¯ நாளà¯",dd:"%d நாà®à¯à®à®³à¯",M:"à®à®°à¯ மாதமà¯",MM:"%d மாதà®à¯à®à®³à¯",y:"à®à®°à¯ வரà¯à®à®®à¯",yy:"%d à®à®£à¯à®à¯à®à®³à¯"},dayOfMonthOrdinalParse:/\d{1,2}வதà¯/,ordinal:function(e){return e+"வதà¯"},preparse:function(e){return e.replace(/[௧௨௩௪௫௬à¯à¯®à¯¯à¯¦]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/யாமமà¯|வà¯à®à®±à¯|à®à®¾à®²à¯|நணà¯à®ªà®à®²à¯|à®à®±à¯à®ªà®¾à®à¯|மாலà¯/,meridiem:function(e,t,n){return e<2?" யாமமà¯":e<6?" வà¯à®à®±à¯":e<10?" à®à®¾à®²à¯":e<14?" நணà¯à®ªà®à®²à¯":e<18?" à®à®±à¯à®ªà®¾à®à¯":e<22?" மாலà¯":" யாமமà¯"},meridiemHour:function(e,t){return 12===e&&(e=0),"யாமமà¯"===t?e<2?e:e+12:"வà¯à®à®±à¯"===t||"à®à®¾à®²à¯"===t||"நணà¯à®ªà®à®²à¯"===t&&e>=10?e:e+12},week:{dow:0,doy:6}})}(n(5093))},1885(e,t,n){!function(e){"use strict";e.defineLocale("te",{months:"à°à°¨à°µà°°à°¿_à°«à°¿à°¬à±à°°à°µà°°à°¿_మారà±à°à°¿_à°à°ªà±à°°à°¿à°²à±_à°®à±_à°à±à°¨à±_à°à±à°²à±_à°à°à°¸à±à°à±_à°¸à±à°ªà±à°à±à°à°¬à°°à±_à°
à°à±à°à±à°¬à°°à±_నవà°à°¬à°°à±_à°¡à°¿à°¸à±à°à°¬à°°à±".split("_"),monthsShort:"à°à°¨._à°«à°¿à°¬à±à°°._మారà±à°à°¿_à°à°ªà±à°°à°¿._à°®à±_à°à±à°¨à±_à°à±à°²à±_à°à°._à°¸à±à°ªà±._à°
à°à±à°à±._నవ._à°¡à°¿à°¸à±.".split("_"),monthsParseExact:!0,weekdays:"à°à°¦à°¿à°µà°¾à°°à°_à°¸à±à°®à°µà°¾à°°à°_à°®à°à°à°³à°µà°¾à°°à°_à°¬à±à°§à°µà°¾à°°à°_à°à±à°°à±à°µà°¾à°°à°_à°¶à±à°à±à°°à°µà°¾à°°à°_శనివారà°".split("_"),weekdaysShort:"à°à°¦à°¿_à°¸à±à°®_à°®à°à°à°³_à°¬à±à°§_à°à±à°°à±_à°¶à±à°à±à°°_శని".split("_"),weekdaysMin:"à°_à°¸à±_à°®à°_à°¬à±_à°à±_à°¶à±_à°¶".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[à°¨à±à°¡à±] LT",nextDay:"[à°°à±à°ªà±] LT",nextWeek:"dddd, LT",lastDay:"[నినà±à°¨] LT",lastWeek:"[à°à°¤] dddd, LT",sameElse:"L"},relativeTime:{future:"%s à°²à±",past:"%s à°à±à°°à°¿à°¤à°",s:"à°à±à°¨à±à°¨à°¿ à°à±à°·à°£à°¾à°²à±",ss:"%d à°¸à±à°à°¨à±à°²à±",m:"à°à° నిమిషà°",mm:"%d నిమిషాలà±",h:"à°à° à°à°à°",hh:"%d à°à°à°à°²à±",d:"à°à° à°°à±à°à±",dd:"%d à°°à±à°à±à°²à±",M:"à°à° à°¨à±à°²",MM:"%d à°¨à±à°²à°²à±",y:"à°à° à°¸à°à°µà°¤à±à°¸à°°à°",yy:"%d à°¸à°à°µà°¤à±à°¸à°°à°¾à°²à±"},dayOfMonthOrdinalParse:/\d{1,2}à°µ/,ordinal:"%dà°µ",meridiemParse:/రాతà±à°°à°¿|à°à°¦à°¯à°|మధà±à°¯à°¾à°¹à±à°¨à°|సాయà°à°¤à±à°°à°/,meridiemHour:function(e,t){return 12===e&&(e=0),"రాతà±à°°à°¿"===t?e<4?e:e+12:"à°à°¦à°¯à°"===t?e:"మధà±à°¯à°¾à°¹à±à°¨à°"===t?e>=10?e:e+12:"సాయà°à°¤à±à°°à°"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"రాతà±à°°à°¿":e<10?"à°à°¦à°¯à°":e<17?"మధà±à°¯à°¾à°¹à±à°¨à°":e<20?"సాయà°à°¤à±à°°à°":"రాతà±à°°à°¿"},week:{dow:0,doy:6}})}(n(5093))},8861(e,t,n){!function(e){"use strict";e.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Juñu_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"segundu balun",ss:"segundu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(5093))},6571(e,t,n){!function(e){"use strict";var t={0:"-Ñм",1:"-Ñм",2:"-Ñм",3:"-Ñм",4:"-Ñм",5:"-Ñм",6:"-Ñм",7:"-Ñм",8:"-Ñм",9:"-Ñм",10:"-Ñм",12:"-Ñм",13:"-Ñм",20:"-Ñм",30:"-Ñм",40:"-Ñм",50:"-Ñм",60:"-Ñм",70:"-Ñм",80:"-Ñм",90:"-Ñм",100:"-Ñм"};e.defineLocale("tg",{months:{format:"ÑнваÑи_ÑевÑали_маÑÑи_апÑели_майи_иÑни_иÑли_авгÑÑÑи_ÑенÑÑбÑи_окÑÑбÑи_ноÑбÑи_декабÑи".split("_"),standalone:"ÑнваÑ_ÑевÑал_маÑÑ_апÑел_май_иÑн_иÑл_авгÑÑÑ_ÑенÑÑбÑ_окÑÑбÑ_ноÑбÑ_декабÑ".split("_")},monthsShort:"Ñнв_Ñев_маÑ_апÑ_май_иÑн_иÑл_авг_Ñен_окÑ_ноÑ_дек".split("_"),weekdays:"Ñ
9218кÑанбе_дÑÑанбе_ÑеÑанбе_ÑоÑÑанбе_панҷÑанбе_Ò·ÑмÑа_Ñанбе".split("_"),weekdaysShort:"ÑÑб_дÑб_ÑÑб_ÑÑб_пÑб_Ò·Ñм_Ñнб".split("_"),weekdaysMin:"ÑÑ_дÑ_ÑÑ_ÑÑ_пÑ_ҷм_Ñб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[ÐмÑӯз ÑоаÑи] LT",nextDay:"[ФаÑдо ÑоаÑи] LT",lastDay:"[ÐиÑӯз ÑоаÑи] LT",nextWeek:"dddd[и] [ҳаÑÑаи оÑнда ÑоаÑи] LT",lastWeek:"dddd[и] [ҳаÑÑаи гÑзаÑÑа ÑоаÑи] LT",sameElse:"L"},relativeTime:{future:"баÑди %s",past:"%s пеÑ",s:"ÑкÑанд ÑониÑ",m:"Ñк даÒиÒа",mm:"%d даÒиÒа",h:"Ñк ÑоаÑ",hh:"%d ÑоаÑ",d:"Ñк Ñӯз",dd:"%d Ñӯз",M:"Ñк моҳ",MM:"%d моҳ",y:"Ñк Ñол",yy:"%d Ñол"},meridiemParse:/Ñаб|ÑÑбҳ|Ñӯз|бегоҳ/,meridiemHour:function(e,t){return 12===e&&(e=0),"Ñаб"===t?e<4?e:e+12:"ÑÑбҳ"===t?e:"Ñӯз"===t?e>=11?e:e+12:"бегоҳ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"Ñаб":e<11?"ÑÑбҳ":e<16?"Ñӯз":e<19?"бегоҳ":"Ñаб"},dayOfMonthOrdinalParse:/\d{1,2}-(Ñм|Ñм)/,ordinal:function(e){return e+(t[e]||t[e%10]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(n(5093))},5802(e,t,n){!function(e){"use strict";e.defineLocale("th",{months:"มà¸à¸£à¸²à¸à¸¡_à¸à¸¸à¸¡à¸ าà¸à¸±à¸à¸à¹_มีà¸à¸²à¸à¸¡_à¹à¸¡à¸©à¸²à¸¢à¸_à¸à¸¤à¸©à¸ าà¸à¸¡_มิà¸à¸¸à¸à¸²à¸¢à¸_à¸à¸£à¸à¸à¸²à¸à¸¡_สิà¸à¸«à¸²à¸à¸¡_à¸à¸±à¸à¸¢à¸²à¸¢à¸_à¸à¸¸à¸¥à¸²à¸à¸¡_à¸à¸¤à¸¨à¸à¸´à¸à¸²à¸¢à¸_à¸à¸±à¸à¸§à¸²à¸à¸¡".split("_"),monthsShort:"ม.à¸._à¸.à¸._มี.à¸._à¹à¸¡.ย._à¸.à¸._มิ.ย._à¸.à¸._ส.à¸._à¸.ย._à¸.à¸._à¸.ย._à¸.à¸.".split("_"),monthsParseExact:!0,weekdays:"à¸à¸²à¸à¸´à¸à¸¢à¹_à¸à¸±à¸à¸à¸£à¹_à¸à¸±à¸à¸à¸²à¸£_à¸à¸¸à¸_à¸à¸¤à¸«à¸±à¸ªà¸à¸à¸µ_ศุà¸à¸£à¹_à¹à¸ªà¸²à¸£à¹".split("_"),weekdaysShort:"à¸à¸²à¸à¸´à¸à¸¢à¹_à¸à¸±à¸à¸à¸£à¹_à¸à¸±à¸à¸à¸²à¸£_à¸à¸¸à¸_à¸à¸¤à¸«à¸±à¸ª_ศุà¸à¸£à¹_à¹à¸ªà¸²à¸£à¹".split("_"),weekdaysMin:"à¸à¸²._à¸._à¸._à¸._à¸à¸¤._ศ._ส.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY à¹à¸§à¸¥à¸² H:mm",LLLL:"วัà¸ddddà¸à¸µà¹ D MMMM YYYY à¹à¸§à¸¥à¸² H:mm"},meridiemParse:/à¸à¹à¸à¸à¹à¸à¸µà¹à¸¢à¸|หลัà¸à¹à¸à¸µà¹à¸¢à¸/,isPM:function(e){return"หลัà¸à¹à¸à¸µà¹à¸¢à¸"===e},meridiem:function(e,t,n){return e<12?"à¸à¹à¸à¸à¹à¸à¸µà¹à¸¢à¸":"หลัà¸à¹à¸à¸µà¹à¸¢à¸"},calendar:{sameDay:"[วัà¸à¸à¸µà¹ à¹à¸§à¸¥à¸²] LT",nextDay:"[à¸à¸£à¸¸à¹à¸à¸à¸µà¹ à¹à¸§à¸¥à¸²] LT",nextWeek:"dddd[หà¸à¹à¸² à¹à¸§à¸¥à¸²] LT",lastDay:"[à¹à¸¡à¸·à¹à¸à¸§à¸²à¸à¸à¸µà¹ à¹à¸§à¸¥à¸²] LT",lastWeek:"[วัà¸]dddd[à¸à¸µà¹à¹à¸¥à¹à¸§ à¹à¸§à¸¥à¸²] LT",sameElse:"L"},relativeTime:{future:"à¸à¸µà¸ %s",past:"%sà¸à¸µà¹à¹à¸¥à¹à¸§",s:"à¹à¸¡à¹à¸à¸µà¹à¸§à¸´à¸à¸²à¸à¸µ",ss:"%d วิà¸à¸²à¸à¸µ",m:"1 à¸à¸²à¸à¸µ",mm:"%d à¸à¸²à¸à¸µ",h:"1 à¸à¸±à¹à¸§à¹à¸¡à¸",hh:"%d à¸à¸±à¹à¸§à¹à¸¡à¸",d:"1 วัà¸",dd:"%d วัà¸",w:"1 สัà¸à¸à¸²à¸«à¹",ww:"%d สัà¸à¸à¸²à¸«à¹",M:"1 à¹à¸à¸·à¸à¸",MM:"%d à¹à¸à¸·à¸à¸",y:"1 à¸à¸µ",yy:"%d à¸à¸µ"}})}(n(5093))},9527(e,t,n){!function(e){"use strict";var t={1:"'inji",5:"'inji",8:"'inji",70:"'inji",80:"'inji",2:"'nji",7:"'nji",20:"'nji",50:"'nji",3:"'ünji",4:"'ünji",100:"'ünji",6:"'njy",9:"'unjy",10:"'unjy",30:"'unjy",60:"'ynjy",90:"'ynjy"};e.defineLocale("tk",{months:"Ãanwar_Fewral_Mart_Aprel_Maý_Iýun_Iýul_Awgust_Sentýabr_Oktýabr_Noýabr_Dekabr".split("_"),monthsShort:"Ãan_Few_Mar_Apr_Maý_Iýn_Iýl_Awg_Sen_Okt_Noý_Dek".split("_"),weekdays:"ÃekÅenbe_DuÅenbe_SiÅenbe_ÃarÅenbe_PenÅenbe_Anna_Åenbe".split("_"),weekdaysShort:"Ãek_DuÅ_SiÅ_Ãar_Pen_Ann_Åen".split("_"),weekdaysMin:"Ãk_DÅ_SÅ_Ãr_Pn_An_Ån".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"}
vendor: 5,137 bytes, line 9218
9218,calendar:{sameDay:"[bugün sagat] LT",nextDay:"[ertir sagat] LT",nextWeek:"[indiki] dddd [sagat] LT",lastDay:"[düýn] LT",lastWeek:"[geçen] dddd [sagat] LT",sameElse:"L"},relativeTime:{future:"%s soÅ",past:"%s öÅ",s:"birnäçe sekunt",m:"bir minut",mm:"%d minut",h:"bir sagat",hh:"%d sagat",d:"bir gün",dd:"%d gün",M:"bir aý",MM:"%d aý",y:"bir ýyl",yy:"%d ýyl"},ordinal:function(e,n){switch(n){case"d":case"D":case"Do":case"DD":return e;default:if(0===e)return e+"'unjy";var i=e%10;return e+(t[i]||t[e%100-i]||t[e>=100?100:null])}},week:{dow:1,doy:7}})}(n(5093))},9231(e,t,n){!function(e){"use strict";e.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(n(5093))},1052(e,t,n){!function(e){"use strict";var t="pagh_waâ_chaâ_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function n(e,n,i,a){var s=function(e){var n=Math.floor(e%1e3/100),i=Math.floor(e%100/10),a=e%10,s="";return n>0&&(s+=t[n]+"vatlh"),i>0&&(s+=(""!==s?" ":"")+t[i]+"maH"),a>0&&(s+=(""!==s?" ":"")+t[a]),""===s?"pagh":s}(e);switch(i){case"ss":return s+" lup";case"mm":return s+" tup";case"hh":return s+" rep";case"dd":return s+" jaj";case"MM":return s+" jar";case"yy":return s+" DIS"}}e.defineLocale("tlh",{months:"teraâ jar waâ_teraâ jar chaâ_teraâ jar wej_teraâ jar loS_teraâ jar vagh_teraâ jar jav_teraâ jar Soch_teraâ jar chorgh_teraâ jar Hut_teraâ jar waâmaH_teraâ jar waâmaH waâ_teraâ jar waâmaH chaâ".split("_"),monthsShort:"jar waâ_jar chaâ_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar waâmaH_jar waâmaH waâ_jar waâmaH chaâ".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[waâleS] LT",nextWeek:"LLL",lastDay:"[waâHuâ] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:function(e){var t=e;return-1!==e.indexOf("jaj")?t.slice(0,-3)+"leS":-1!==e.indexOf("jar")?t.slice(0,-3)+"waQ":-1!==e.indexOf("DIS")?t.slice(0,-3)+"nem":t+" pIq"},past:function(e){var t=e;return-1!==e.indexOf("jaj")?t.slice(0,-3)+"Huâ":-1!==e.indexOf("jar")?t.slice(0,-3)+"wen":-1!==e.indexOf("DIS")?t.slice(0,-3)+"ben":t+" ret"},s:"puS lup",ss:n,m:"waâ tup",mm:n,h:"waâ rep",hh:n,d:"waâ jaj",dd:n,M:"waâ jar",MM:n,y:"waâ DIS",yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5093))},5096(e,t,n){!function(e){"use strict";var t={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'üncü",4:"'üncü",100:"'üncü",6:"'ncı",9:"'uncu",10:"'uncu",30:"'uncu",60:"'ıncı",90:"'ıncı"};e.defineLocale("tr",{months:"Ocak_Åubat_Mart_Nisan_Mayıs_Haziran_Temmuz_AÄustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Åub_Mar_Nis_May_Haz_Tem_AÄu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Salı_ÃarÅamba_PerÅembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pzt_Sal_Ãar_Per_Cum_Cmt".split("_"),weekdaysMin:"Pz_Pt_Sa_Ãa_Pe_Cu_Ct".split("_"),meridiem:function(e,t,n){return e<12?n?"öö":"ÃÃ":n?"ös":"ÃS"},meridiemParse:/öö|ÃÃ|ös|ÃS/,isPM:function(e){return"ös"===e||"ÃS"===e},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[yarın saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[dün] LT",lastWeek:"[geçen] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",w:"bir hafta",ww:"%d hafta",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinal:function(e,n){switch(n){case"d":case"D":case"Do":case"DD":return e;default:if(0===e)return e+"'ıncı";var i=e%10;return e+(t[i]||t[e%100-i]||t[e>=100?100:null])}},week:{dow:1,doy:7}})}(n(5093))}
vendor: 1,582 bytes, line 9218
9218,9846(e,t,n){!function(e){"use strict";function t(e,t,n,i){var a={s:["viensas secunds","'iensas secunds"],ss:[e+" secunds",e+" secunds"],m:["'n mÃut","'iens mÃut"],mm:[e+" mÃuts",e+" mÃuts"],h:["'n þora","'iensa þora"],hh:[e+" þoras",e+" þoras"],d:["'n ziua","'iensa ziua"],dd:[e+" ziuas",e+" ziuas"],M:["'n mes","'iens mes"],MM:[e+" mesen",e+" mesen"],y:["'n ar","'iens ar"],yy:[e+" ars",e+" ars"]};return i||t?a[n][0]:a[n][1]}e.defineLocale("tzl",{months:"Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi".split("_"),weekdaysShort:"Súl_Lún_Mai_Már_Xhú_Vié_Sát".split("_"),weekdaysMin:"Sú_Lú_Ma_Má_Xh_Vi_Sá".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(e){return"d'o"===e.toLowerCase()},meridiem:function(e,t,n){return e>11?n?"d'o":"D'O":n?"d'a":"D'A"},calendar:{sameDay:"[oxhi à ] LT",nextDay:"[demà à ] LT",nextWeek:"dddd [à ] LT",lastDay:"[ieiri à ] LT",lastWeek:"[sür el] dddd [lasteu à ] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5093))},7711(e,t,n){!function(e){"use strict";e.defineLocale("tzm-latn",{months:"innayr_brˤayrˤ_marˤsˤ_ibr
9218ir_mayyw_ywnyw_ywlywz_É£wÅ¡t_Å¡wtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_É£wÅ¡t_Å¡wtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asiá¸yas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asiá¸yas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asiá¸yas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",ss:"%d imik",m:"minuá¸",mm:"%d minuá¸",h:"saÉa",hh:"%d tassaÉin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}})}(n(5093))},1765(e,t,n){!function(e){"use strict";e.defineLocale("tzm",{months:"âµâµâµâ´°âµ¢âµ_â´±âµâ´°âµ¢âµ_âµâ´°âµâµ_âµâ´±âµâµâµ_âµâ´°âµ¢âµ¢âµ_âµ¢âµâµâµ¢âµ_âµ¢âµâµâµ¢âµâµ£_âµâµâµâµ_âµâµâµâ´°âµâ´±âµâµ_â´½âµâµâ´±âµ_âµâµâµ¡â´°âµâ´±âµâµ_â´·âµâµâµâ´±âµâµ".split("_"),monthsShort:"âµâµâµâ´°âµ¢âµ_â´±âµâ´°âµ¢âµ_âµâ´°âµâµ_âµâ´±âµâµâµ_âµâ´°âµ¢âµ¢âµ_âµ¢âµâµâµ¢âµ_âµ¢âµâµâµ¢âµâµ£_âµâµâµâµ_âµâµâµâ´°âµâ´±âµâµ_â´½âµâµâ´±âµ_âµâµâµ¡â´°âµâ´±âµâµ_â´·âµâµâµâ´±âµâµ".split("_"),weekdays:"â´°âµâ´°âµâ´°âµ_â´°âµ¢âµâ´°âµ_â´°âµâµâµâ´°âµ_â´°â´½âµâ´°âµ_ⴰⴽⵡⴰâµ_â´°âµâµâµâµ¡â´°âµ_â´°âµâµâ´¹âµ¢â´°âµ".split("_"),weekdaysShort:"â´°âµâ´°âµâ´°âµ_â´°âµ¢âµâ´°âµ_â´°âµâµâµâ´°âµ_â´°â´½âµâ´°âµ_ⴰⴽⵡⴰâµ_â´°âµâµâµâµ¡â´°âµ_â´°âµâµâ´¹âµ¢â´°âµ".split("_"),weekdaysMin:"â´°âµâ´°âµâ´°âµ_â´°âµ¢âµâ´°âµ_â´°âµâµâµâ´°âµ_â´°â´½âµâ´°âµ_ⴰⴽⵡⴰâµ_â´°âµâµâµâµ¡â´°âµ_â´°âµâµâ´¹âµ¢â´°âµ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[â´°âµâ´·âµ
â´´] LT",nextDay:"[â´°âµâ´½â´° â´´] LT",nextWeek:"dddd [â´´] LT",lastDay:"[â´°âµâ´°âµâµ â´´] LT",lastWeek:"dddd [â´´] LT",sameElse:"L"},relativeTime:{future:"â´·â´°â´·âµ
ⵠⵢⴰⵠ%s",past:"ⵢⴰⵠ%s",s:"âµâµâµâ´½",ss:"%d âµâµâµâ´½",m:"âµâµâµâµâ´º",mm:"%d âµâµâµâµâ´º",h:"âµâ´°âµâ´°",hh:"%d âµâ´°âµâµâ´°âµâµâµ",d:"â´°âµâµ",dd:"%d oâµâµâ´°âµ",M:"â´°âµ¢oâµâµ",MM:"%d âµâµ¢âµ¢âµâµâµ",y:"â´°âµâ´³â´°âµ",yy:"%d âµâµâ´³â´°âµâµ"},week:{dow:6,doy:12}})}(n(5093))},8414(e,t,n){!function(e){"use strict";e.defineLocale("ug-cn",{months:"ÙØ§ÙÛØ§Ø±_ÙÛÛØ±Ø§Ù_Ù
ارت_ئاپرÛÙ_Ù
اÙ_ئÙÙÛÙ_ئÙÙÛÙ_Ø¦Ø§ÛØºÛست_سÛÙØªÛØ¨ÙØ±_ئÛÙØªÛØ¨ÙØ±_ÙÙÙØ§Ø¨Ùر_دÛÙØ§Ø¨Ùر".split("_"),monthsShort:"ÙØ§ÙÛØ§Ø±_ÙÛÛØ±Ø§Ù_Ù
ارت_ئاپرÛÙ_Ù
اÙ_ئÙÙÛÙ_ئÙÙÛÙ_Ø¦Ø§ÛØºÛست_سÛÙØªÛØ¨ÙØ±_ئÛÙØªÛØ¨ÙØ±_ÙÙÙØ§Ø¨Ùر_دÛÙØ§Ø¨Ùر".split("_"),weekdays:"ÙÛÙØ´ÛÙØ¨Û_Ø¯ÛØ´ÛÙØ¨Û_سÛÙØ´ÛÙØ¨Û_ÚØ§Ø±Ø´ÛÙØ¨Û_Ù¾ÛÙØ´ÛÙØ¨Û_جÛÙ
Û_Ø´ÛÙØ¨Û".split("_"),weekdaysShort:"ÙÛ_دÛ_سÛ_ÚØ§_Ù¾Û_جÛ_Ø´Û".split("_"),weekdaysMin:"ÙÛ_دÛ_سÛ_ÚØ§_Ù¾Û_جÛ_Ø´Û".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-ÙÙÙÙM-ئاÙÙÙÚD-ÙÛÙÙ",LLL:"YYYY-ÙÙÙÙM-ئاÙÙÙÚD-ÙÛÙÙØ HH:mm",LLLL:"ddddØ YYYY-ÙÙÙÙM-ئاÙÙÙÚD-ÙÛÙÙØ HH:mm"},meridiemParse:/ÙÛØ±ÙÙ
ÙÛÚÛ|سÛÚ¾ÛØ±|ÚÛØ´ØªÙÙ Ø¨ÛØ±ÛÙ|ÚÛØ´|ÚÛØ´ØªÙÙ ÙÛÙÙÙ|ÙÛÚ/,meridiemHour:function(e,t){return 12===e&&(e=0),"ÙÛØ±ÙÙ
ÙÛÚÛ"===t||"سÛÚ¾ÛØ±"===t||"ÚÛØ´ØªÙÙ Ø¨ÛØ±ÛÙ"===t?e:"ÚÛØ´ØªÙÙ ÙÛÙÙÙ"===t||"ÙÛÚ"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,n){var i=100*e+t;return i<600?"ÙÛØ±ÙÙ
ÙÛÚÛ":i<900?"سÛÚ¾ÛØ±":i<1130?"ÚÛØ´ØªÙÙ Ø¨ÛØ±ÛÙ":i<1230?"ÚÛØ´":i<1800?"ÚÛØ´ØªÙÙ ÙÛÙÙÙ":"ÙÛÚ"},calendar:{sameDay:"[بÛÚ¯ÛÙ Ø³Ø§Ø¦ÛØª] LT",nextDay:"[Ø¦ÛØªÛ Ø³Ø§Ø¦ÛØª] LT",nextWeek:"[ÙÛÙÛØ±ÙÙ] dddd [Ø³Ø§Ø¦ÛØª] LT",lastDay:"[تÛÙÛÚ¯ÛÙ] LT",lastWeek:"[Ø¦Ø§ÙØ¯ÙÙÙÙ] dddd [Ø³Ø§Ø¦ÛØª] LT",sameElse:"L"},relativeTime:{future:"%s ÙÛÙÙÙ",past:"%s Ø¨ÛØ±ÛÙ",s:"ÙÛÚÚÛ Ø³ÛÙÙÙØª",ss:"%d سÛÙÙÙØª",m:"Ø¨ÙØ± Ù
ÙÙÛØª",mm:"%d Ù
ÙÙÛØª",h:"Ø¨ÙØ± Ø³Ø§Ø¦ÛØª",hh:"%
9218d Ø³Ø§Ø¦ÛØª",d:"Ø¨ÙØ± ÙÛÙ",dd:"%d ÙÛÙ",M:"Ø¨ÙØ± ئاÙ",MM:"%d ئاÙ",y:"Ø¨ÙØ± ÙÙÙ",yy:"%d ÙÙÙ"},dayOfMonthOrdinalParse:/\d{1,2}(-ÙÛÙÙ|-ئاÙ|-Ú¾ÛپتÛ)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"-ÙÛÙÙ";case"w":case"W":return e+"-Ú¾ÛپتÛ";default:return e}},preparse:function(e){return e.replace(/Ø/g,",")},postformat:function(e){return e.replace(/,/g,"Ø")},week:{dow:1,doy:7}})}(n(5093))},6618(e,t,n){!function(e){"use strict";function t(e,t,n){return"m"===n?t?"Ñ
вилина":"Ñ
вилинÑ":"h"===n?t?"година":"годинÑ":e+" "+(i=+e,a={ss:t?"ÑекÑнда_ÑекÑнди_ÑекÑнд":"ÑекÑндÑ_ÑекÑнди_ÑекÑнд",mm:t?"Ñ
вилина_Ñ
вилини_Ñ
вилин":"Ñ
вилинÑ_Ñ
вилини_Ñ
вилин",hh:t?"година_години_годин":"годинÑ_години_годин",dd:"денÑ_днÑ_днÑв",MM:"мÑÑÑÑÑ_мÑÑÑÑÑ_мÑÑÑÑÑв",yy:"ÑÑк_Ñоки_ÑокÑв"}[n].split("_"),i%10==1&&i%100!=11?a[0]:i%10>=2&&i%10<=4&&(i%100<10||i%100>=20)?a[1]:a[2]);var i,a}function n(e){return function(){return e+"о"+(11===this.hours()?"б":"")+"] LT"}}e.defineLocale("uk",{months:{format:"ÑÑÑнÑ_лÑÑого_беÑезнÑ_квÑÑнÑ_ÑÑавнÑ_ÑеÑвнÑ_липнÑ_ÑеÑпнÑ_веÑеÑнÑ_жовÑнÑ_лиÑÑопада_гÑÑднÑ".split("_"),standalone:"ÑÑÑенÑ_лÑÑий_беÑезенÑ_квÑÑенÑ_ÑÑавенÑ_ÑеÑвенÑ_липенÑ_ÑеÑпенÑ_веÑеÑенÑ_жовÑенÑ_лиÑÑопад_гÑÑденÑ".split("_")},monthsShort:"ÑÑÑ_лÑÑ_беÑ_квÑÑ_ÑÑав_ÑеÑв_лип_ÑеÑп_веÑ_жовÑ_лиÑÑ_гÑÑд".split("_"),weekdays:function(e,t){var n={nominative:"недÑлÑ_понедÑлок_вÑвÑоÑок_ÑеÑеда_ÑеÑвеÑ_пâÑÑниÑÑ_ÑÑбоÑа".split("_"),accusative:"недÑлÑ_понедÑлок_вÑвÑоÑок_ÑеÑедÑ_ÑеÑвеÑ_пâÑÑниÑÑ_ÑÑбоÑÑ".split("_"),genitive:"недÑлÑ_понедÑлка_вÑвÑоÑка_ÑеÑеди_ÑеÑвеÑга_пâÑÑниÑÑ_ÑÑбоÑи".split("_")};return!0===e?n.nominative.slice(1,7).concat(n.nominative.slice(0,1)):e?n[/(\[[ÐвУÑ]\]) ?dddd/.test(t)?"accusative":/\[?(?:минÑлоÑ|наÑÑÑпноÑ)? ?\] ?dddd/.test(t)?"genitive":"nominative"][e.day()]:n.nominative},weekdaysShort:"нд_пн_вÑ_ÑÑ_ÑÑ_пÑ_Ñб".split("_"),weekdaysMin:"нд_пн_вÑ_ÑÑ_ÑÑ_пÑ_Ñб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY Ñ.",LLL:"D MMMM YYYY Ñ., HH:mm",LLLL:"dddd, D MMMM YYYY Ñ., HH:mm"},calendar:{sameDay:n("[СÑÐ¾Ð³Ð¾Ð´Ð½Ñ "),nextDay:n("[ÐавÑÑа "),lastDay:n("[ÐÑоÑа "),nextWeek:n("[У] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return n("[ÐинÑлоÑ] dddd [").call(this);case 1:case 2:case 4:return n("[ÐинÑлого] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"за %s",past:"%s ÑомÑ",s:"декÑлÑка ÑекÑнд",ss:t,m:t,mm:t,h:"годинÑ",hh:t,d:"денÑ",dd:t,M:"мÑÑÑÑÑ",MM:t,y:"ÑÑк",yy:t},meridiemParse:/ноÑÑ|ÑанкÑ|днÑ|веÑоÑа/,isPM:function(e){return/^(днÑ|веÑоÑа)$/.test(e)},meridiem:function(e,t,n){return e<4?"ноÑÑ":e<12?"ÑанкÑ":e<17?"днÑ":"веÑоÑа"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e+"-й";case"D":return e+"-го";default:return e}},week:{dow:1,doy:7}})}(n(5093))},158(e,t,n){!function(e){"use strict";var t=["جÙÙØ±Û","ÙØ±ÙرÛ","Ù
ارÚ","اپرÛÙ","Ù
ئÛ","جÙÙ","جÙÙØ§Ø¦Û","اگست","ستÙ
بر","Ø§Ú©ØªÙØ¨Ø±","ÙÙÙ
بر","دسÙ
بر"],n=["Ø§ØªÙØ§Ø±","Ù¾ÛØ±","Ù
ÙÚ¯Ù","بدھ","جÙ
عرات","جÙ
عÛ","ÛÙØªÛ"];e.defineLocale("ur",{months:t,monthsShort:t,weekdays:n,weekdaysShort:n,weekdaysMin:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"ddddØ D MMMM YYYY HH:mm"},meridiemParse:/صبØ|شاÙ
/,isPM:function(e){return"شاÙ
"===e},meridiem:function(e,t,n){return e<12?"صبØ":"شاÙ
"},calendar:{sameDay:"[آج بÙÙØª] LT",nextDay:"[ک٠بÙÙØª] LT",nextWeek:"dddd [بÙÙØª] LT",lastDay:"[Ú¯Ø°Ø´ØªÛ Ø±ÙØ² بÙÙØª] LT",lastWeek:"[گذشتÛ] dddd [بÙÙØª] LT",sameElse:"L"},relativeTime:{future:"%s بعد",past:"%s ÙØ¨Ù",s:"ÚÙØ¯ سÛÚ©ÙÚ",ss:"%d سÛÚ©ÙÚ",m:"اÛÚ© Ù
ÙÙ¹",mm:"%d Ù
ÙÙ¹",h:"اÛÚ© Ú¯Ú¾ÙÙ¹Û",hh:"%d Ú¯Ú¾ÙÙ¹Û",d:"اÛÚ© دÙ",dd:"%d دÙ",M:"اÛÚ© Ù
اÛ",MM:"%d Ù
اÛ",y:"اÛÚ© ساÙ",yy:"%d ساÙ"},preparse:function(e){return e.replace(/Ø/g,",")},postformat:function(e){return e.replace(/,/g,"Ø")},week:{dow:1,doy:4}})}(n(5093))},2475(e,t,n){!function(e){"use strict";e.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}})}(n(5093))},7609(e,t,n){!function(e){"use strict";e.defineLocale("uz",{months:"ÑнваÑ_ÑевÑал_маÑÑ_апÑел_май_иÑн_иÑл_авгÑÑÑ_ÑенÑÑбÑ_окÑÑбÑ_ноÑбÑ_декабÑ".split("_"),monthsShort:"Ñнв_Ñев_маÑ_апÑ_май_иÑн_иÑл_авг_Ñен_окÑ_ноÑ_дек".split("_"),weekdays:"ЯкÑанба_ÐÑÑанба_СеÑанба_ЧоÑÑанба_ÐайÑанба_ÐÑма_Шанба".split("_"),weekdaysShort:"ЯкÑ_ÐÑÑ_СеÑ_ЧоÑ_Ðай_ÐÑм_Шан".split("_"),weekdaysMin:"Як_ÐÑ_Се_Чо_Ðа_ÐÑ_Ша".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[ÐÑгÑн ÑоаÑ] LT [да]",nextDay:"[ÐÑÑага] LT [да]",nextWeek:"dddd [кÑни ÑоаÑ] LT [да]",lastDay:"[ÐеÑа ÑоаÑ] LT [да]",lastWeek:"[УÑган] dddd [кÑни ÑоаÑ] LT [да]",sameElse:"L"},relativeTime:{future:"Якин %s иÑида",past:"ÐÐ¸Ñ Ð½ÐµÑа %s олдин",s:"ÑÑÑÑаÑ",ss:"%d ÑÑÑÑаÑ",m:"Ð±Ð¸Ñ Ð´Ð°ÐºÐ¸ÐºÐ°",mm:"%d дакика",h:"Ð±Ð¸Ñ ÑоаÑ",hh:"%
9218d ÑоаÑ",d:"Ð±Ð¸Ñ ÐºÑн",dd:"%d кÑн",M:"Ð±Ð¸Ñ Ð¾Ð¹",MM:"%d ой",y:"Ð±Ð¸Ñ Ð¹Ð¸Ð»",yy:"%d йил"},week:{dow:1,doy:7}})}(n(5093))},1135(e,t,n){!function(e){"use strict";e.defineLocale("vi",{months:"tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12".split("_"),monthsShort:"Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12".split("_"),monthsParseExact:!0,weekdays:"chá»§ nháºt_thứ hai_thứ ba_thứ tư_thứ nÄm_thứ sáu_thứ bảy".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(e){return/^ch$/i.test(e)},meridiem:function(e,t,n){return e<12?n?"sa":"SA":n?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [nÄm] YYYY",LLL:"D MMMM [nÄm] YYYY HH:mm",LLLL:"dddd, D MMMM [nÄm] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[Hôm nay lúc] LT",nextDay:"[Ngà y mai lúc] LT",nextWeek:"dddd [tuần tá»i lúc] LT",lastDay:"[Hôm qua lúc] LT",lastWeek:"dddd [tuần trưá»c lúc] LT",sameElse:"L"},relativeTime:{future:"%s tá»i",past:"%s trưá»c",s:"và i giây",ss:"%d giây",m:"má»t phút",mm:"%d phút",h:"má»t giá»",hh:"%d giá»",d:"má»t ngà y",dd:"%d ngà y",w:"má»t tuần",ww:"%d tuần",M:"má»t tháng",MM:"%d tháng",y:"má»t nÄm",yy:"%d nÄm"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(n(5093))},4051(e,t,n){!function(e){"use strict";e.defineLocale("x-pseudo",{months:"J~áñúá~rý_F~ébrú~árý_~Márc~h_Ãp~rÃl_~Máý_~Júñé~_Júl~ý_Ãú~gúst~_Sép~témb~ér_Ã~ctób~ér_Ã~óvém~bér_~Décé~mbér".split("_"),monthsShort:"J~áñ_~Féb_~Már_~Ãpr_~Máý_~Júñ_~Júl_~Ãúg_~Sép_~Ãct_~Ãóv_~Déc".split("_"),monthsParseExact:!0,weekdays:"S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~FrÃd~áý_S~átúr~dáý".split("_"),weekdaysShort:"S~úñ_~Móñ_~Túé_~Wéd_~Thú_~FrÃ_~Sát".split("_"),weekdaysMin:"S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~ódá~ý át] LT",nextDay:"[T~ómó~rró~w át] LT",nextWeek:"dddd [át] LT",lastDay:"[Ã~ést~érdá~ý át] LT",lastWeek:"[L~ást] dddd [át] LT",sameElse:"L"},relativeTime:{future:"Ã~ñ %s",past:"%s á~gó",s:"á ~féw ~sécó~ñds",ss:"%d s~écóñ~ds",m:"á ~mÃñ~út
9218é",mm:"%d m~Ãñú~tés",h:"á~ñ hó~úr",hh:"%d h~óúrs",d:"á ~dáý",dd:"%d d~áýs",M:"á ~móñ~th",MM:"%d m~óñt~hs",y:"á ~ýéár",yy:"%d ý~éárs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(5093))},2218(e,t,n){!function(e){"use strict";e.defineLocale("yo",{months:"SẹÌrẹÌ_EÌreÌleÌ_ẸrẹÌnaÌ_IÌgbeÌ_EÌbibi_OÌkuÌdu_Agẹmo_OÌguÌn_Owewe_á»ÌwaÌraÌ_BeÌluÌ_á»ÌpẹÌÌ".split("_"),monthsShort:"SẹÌr_EÌrl_Ẹrn_IÌgb_EÌbi_OÌkuÌ_Agẹ_OÌguÌ_Owe_á»ÌwaÌ_BeÌl_á»ÌpẹÌÌ".split("_"),weekdays:"AÌiÌkuÌ_AjeÌ_IÌsẹÌgun_á»já»ÌruÌ_á»já»Ìbá»_ẸtiÌ_AÌbaÌmẹÌta".split("_"),weekdaysShort:"AÌiÌk_AjeÌ_IÌsẹÌ_á»jr_á»jb_ẸtiÌ_AÌbaÌ".split("_"),weekdaysMin:"AÌiÌ_Aj_IÌs_á»r_á»b_Ẹt_AÌb".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[OÌniÌ ni] LT",nextDay:"[á»Ìla ni] LT",nextWeek:"dddd [á»sáº¹Ì toÌn'bá»] [ni] LT",lastDay:"[AÌna ni] LT",lastWeek:"dddd [á»sáº¹Ì toÌlá»Ì] [ni] LT",sameElse:"L"},relativeTime:{future:"niÌ %s",past:"%s ká»jaÌ",s:"iÌsẹjuÌ aayaÌ die",ss:"aayaÌ %d",m:"iÌsẹjuÌ kan",mm:"iÌsẹjuÌ %d",h:"waÌkati kan",hh:"waÌkati %d",d:"á»já»Ì kan",dd:"á»já»Ì %d",M:"osuÌ kan",MM:"osuÌ %d",y:"á»duÌn kan",yy:"á»duÌn %d"},dayOfMonthOrdinalParse:/á»já»Ì\s\d{1,2}/,ordinal:"á»já»Ì %d",week:{dow:1,doy:4}})}(n(5093))},2648(e,t,n){!function(e){"use strict";e.defineLocale("zh-cn",{months:"䏿_äºæ_䏿_åæ_äºæ_å
æ_䏿_å
«æ_乿_åæ_å䏿_åäºæ".split("_"),monthsShort:"1æ_2æ_3æ_4æ_5æ_6æ_7æ_8æ_9æ_10æ_11æ_12æ".split("_"),weekdays:"æææ¥_ææä¸_ææäº_ææä¸_ææå_ææäº_ææå
".split("_"),weekdaysShort:"卿¥_å¨ä¸_å¨äº_å¨ä¸_å¨å_å¨äº_å¨å
".split("_"),weekdaysMin:"æ¥_ä¸_äº_ä¸_å_äº_å
".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYYå¹´MæDæ¥",LLL:"YYYYå¹´MæDæ¥Ahç¹mmå",LLLL:"YYYYå¹´MæDæ¥ddddAhç¹mmå",l:"YYYY/M/D",ll:"YYYYå¹´MæDæ¥",lll:"YYYYå¹´MæDæ¥ HH:mm",llll:"YYYYå¹´MæDæ¥dddd HH:mm"},meridiemParse:/忍|æ©ä¸|ä¸å|ä¸å|ä¸å|æä¸/,meridiemHour:function(e,t){return 12===e&&(e=0),"忍"===t||"æ©ä¸"===t||"ä¸å"===t?e:"ä¸å"===t||"æä¸"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,n){var i=100*e+t;return i<600?"忍":i<900?"æ©ä¸":i<1130?"ä¸å":i<1230?"ä¸å":i<1800?"ä¸å":"æä¸"},calendar:{sameDay:"[ä»å¤©]LT",nextDay:"[æå¤©]LT",nextWeek:function(e){return e.week()!==this.week()?"[ä¸]dddLT":"[æ¬]dddLT"},lastDay:"[æ¨å¤©]LT",lastWeek:function(e){return this.week()!==e.week()?"[ä¸]dddLT":"[æ¬]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(æ¥|æ|å¨)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"æ¥";case"M":return e+"æ";case"w":case"W":return e+"å¨";default:return e}},relativeTime:{future:"%så",past:"%så",s:"å ç§",ss:"%d ç§",m:"1 åé",mm:"%d åé",h:"1 å°æ¶",hh:"%d å°æ¶",d:"1 天",dd:"%d 天",w:"1 å¨",ww:"%d å¨",M:"1 个æ",MM:"%d 个æ",y:"1 å¹´",yy:"%d å¹´"},week:{dow:1,doy:4}})}(n(5093))},1632(e,t,n){!function(e){"use strict";e.defineLocale("zh-hk",{months:"䏿_äºæ_䏿_åæ_äºæ_å
æ_䏿_å
«æ_乿_åæ_å䏿_åäºæ".split("_"),monthsShort:"1æ_2æ_3æ_4æ_5æ_6æ_7æ_8æ_9æ_10æ_11æ_12æ".split("_"),weekdays:"æææ¥_ææä¸_ææäº_ææä¸_ææå_ææäº_ææå
".split("_"),weekdaysShort:"鱿¥_é±ä¸_é±äº_é±ä¸_é±å_é±äº_é±å
".split("_"),weekdaysMin:"æ¥_ä¸_äº_ä¸_å_äº_å
".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYYå¹´MæDæ¥",LLL:"YYYYå¹´MæDæ¥ HH:mm",LLLL:"YYYYå¹´MæDæ¥dddd HH:mm",l:"YYYY/M/D",ll:"YYYYå¹´MæDæ¥",lll:"YYYYå¹´MæDæ¥ HH:mm",llll:"YYYYå¹´MæDæ¥dddd HH:mm"},meridiemParse:/忍|æ©ä¸|ä¸å|ä¸å|ä¸å|æä¸/,meridiemHour:function(e,t){return 12===e&&(e=0),"忍"===t||"æ©ä¸"===t||"ä¸å"===t?e:"ä¸å"===t?e>=11?e:e+12:"ä¸å"===t||"æä¸"===t?e+12:void 0},meridiem:function(e,t,n){var i=100*e+t;
vendor: 15,033 bytes, line 9218
9218return i<600?"忍":i<900?"æ©ä¸":i<1200?"ä¸å":1200===i?"ä¸å":i<1800?"ä¸å":"æä¸"},calendar:{sameDay:"[ä»å¤©]LT",nextDay:"[æå¤©]LT",nextWeek:"[ä¸]ddddLT",lastDay:"[æ¨å¤©]LT",lastWeek:"[ä¸]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(æ¥|æ|é±)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"æ¥";case"M":return e+"æ";case"w":case"W":return e+"é±";default:return e}},relativeTime:{future:"%så¾",past:"%så",s:"å¹¾ç§",ss:"%d ç§",m:"1 åé",mm:"%d åé",h:"1 å°æ",hh:"%d å°æ",d:"1 天",dd:"%d 天",M:"1 åæ",MM:"%d åæ",y:"1 å¹´",yy:"%d å¹´"}})}(n(5093))},1541(e,t,n){!function(e){"use strict";e.defineLocale("zh-mo",{months:"䏿_äºæ_䏿_åæ_äºæ_å
æ_䏿_å
«æ_乿_åæ_å䏿_åäºæ".split("_"),monthsShort:"1æ_2æ_3æ_4æ_5æ_6æ_7æ_8æ_9æ_10æ_11æ_12æ".split("_"),weekdays:"æææ¥_ææä¸_ææäº_ææä¸_ææå_ææäº_ææå
".split("_"),weekdaysShort:"鱿¥_é±ä¸_é±äº_é±ä¸_é±å_é±äº_é±å
".split("_"),weekdaysMin:"æ¥_ä¸_äº_ä¸_å_äº_å
".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"YYYYå¹´MæDæ¥",LLL:"YYYYå¹´MæDæ¥ HH:mm",LLLL:"YYYYå¹´MæDæ¥dddd HH:mm",l:"D/M/YYYY",ll:"YYYYå¹´MæDæ¥",lll:"YYYYå¹´MæDæ¥ HH:mm",llll:"YYYYå¹´MæDæ¥dddd HH:mm"},meridiemParse:/忍|æ©ä¸|ä¸å|ä¸å|ä¸å|æä¸/,meridiemHour:function(e,t){return 12===e&&(e=0),"忍"===t||"æ©ä¸"===t||"ä¸å"===t?e:"ä¸å"===t?e>=11?e:e+12:"ä¸å"===t||"æä¸"===t?e+12:void 0},meridiem:function(e,t,n){var i=100*e+t;return i<600?"忍":i<900?"æ©ä¸":i<1130?"ä¸å":i<1230?"ä¸å":i<1800?"ä¸å":"æä¸"},calendar:{sameDay:"[ä»å¤©] LT",nextDay:"[æå¤©] LT",nextWeek:"[ä¸]dddd LT",lastDay:"[æ¨å¤©] LT",lastWeek:"[ä¸]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(æ¥|æ|é±)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"æ¥";case"M":return e+"æ";case"w":case"W":return e+"é±";default:return e}},relativeTime:{future:"%så
§",past:"%så",s:"å¹¾ç§",ss:"%d ç§",m:"1 åé",mm:"%d åé",h:"1 å°æ",hh:"%d å°æ",d:"1 天",dd:"%d 天",M:"1 åæ",MM:"%d åæ",y:"1 å¹´",yy:"%d å¹´"}})}(n(5093))},304(e,t,n){!function(e){"use strict";e.defineLocale("zh-tw",{months:"䏿_äºæ_䏿_åæ_äºæ_å
æ_䏿_å
«æ_乿_åæ_å䏿_åäºæ".split("_"),monthsShort:"1æ_2æ_3æ_4æ_5æ_6æ_7æ_8æ_9æ_10æ_11æ_12æ".split("_"),weekdays:"æææ¥_ææä¸_ææäº_ææä¸_ææå_ææäº_ææå
".split("_"),weekdaysShort:"鱿¥_é±ä¸_é±äº_é±ä¸_é±å_é±äº_é±å
".split("_"),weekdaysMin:"æ¥_ä¸_äº_ä¸_å_äº_å
".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYYå¹´MæDæ¥",LLL:"YYYYå¹´MæDæ¥ HH:mm",LLLL:"YYYYå¹´MæDæ¥dddd HH:mm",l:"YYYY/M/D",ll:"YYYYå¹´MæDæ¥",lll:"YYYYå¹´MæDæ¥ HH:mm",llll:"YYYYå¹´MæDæ¥dddd HH:mm"},meridiemParse:/忍|æ©ä¸|ä¸å|ä¸å|ä¸å|æä¸/,meridiemHour:function(e,t){return 12===e&&(e=0),"忍"===t||"æ©ä¸"===t||"ä¸å"===t?e:"ä¸å"===t?e>=11?e:e+12:"ä¸å"===t||"æä¸"===t?e+12:void 0},meridiem:function(e,t,n){var i=100*e+t;return i<600?"忍":i<900?"æ©ä¸":i<1130?"ä¸å":i<1230?"ä¸å":i<1800?"ä¸å":"æä¸"},calendar:{sameDay:"[ä»å¤©] LT",nextDay:"[æå¤©] LT",nextWeek:"[ä¸]dddd LT",lastDay:"[æ¨å¤©] LT",lastWeek:"[ä¸]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(æ¥|æ|é±)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"æ¥";case"M":return e+"æ";case"w":case"W":return e+"é±";default:return e}},relativeTime:{future:"%så¾",past:"%så",s:"å¹¾ç§",ss:"%d ç§",m:"1 åé",mm:"%d åé",h:"1 å°æ",hh:"%d å°æ",d:"1 天",dd:"%d 天",M:"1 åæ",MM:"%d åæ",y:"1 å¹´",yy:"%d å¹´"}})}(n(5093))},5358(e,t,n){const i={"./af":5177,"./af.js":5177,"./ar":1509,"./ar-dz":1488,"./ar-dz.js":1488,"./ar-kw":8676,"./ar-kw.js":8676,"./ar-ly":2353,"./ar-ly.js":2353,"./ar-ma":4496,"./ar-ma.js":4496,"./ar-ps":6947,"./ar-ps.js":6947,"./ar-sa":2682,"./ar-sa.js":2682,"./ar-tn":9756,"./ar-tn.js":9756,"./ar.js":1509,"./az":5533,"./az.js":5533,"./be":8959,"./be.js":8959,"./bg":7777,"./bg.js":7777,"./bm":4903,"./bm.js":4903,"./bn":1290,"./bn-bd":7357,"./bn-bd.js":7357,"./bn.js":1290,"./bo":1545,"./bo.js":1545,"./br":1470,"./br.js":1470,"./bs":4429,"./bs.js":4429,"./ca":7306,"./ca.js":7306,"./cs":6464,"./cs.js":6464,"./cv":3635,"./cv.js":3635,"./cy":4226,"./cy.js":4226,"./da":3601,"./da.js":3601,"./de":7853,"./de-at":6111,"./de-at.js":6111,"./de-ch":4697,"./de-ch.js":4697,"./de.js":7853,"./dv":708,"./dv.js":708,"./el":4691,"./el.js":4691,"./en-au":3872,"./en-au.js":3872,"./en-ca":8298,"./en-ca.js":8298,"./en-gb":6195,"./en-gb.js":6195,"./en-ie":6584,"./en-ie.js":6584,"./en-il":5543,"./en-il.js":5543,"./en-in":9033,"./en-in.js":9033,"./en-nz":9402,"./en-nz.js":9402,"./en-sg":3004,"./en-sg.js":3004,"./eo":2934,"./eo.js":2934,"./es":7650,"./es-do":838,"./es-do.js":838,"./es-mx":7730,"./es-mx.js":7730,"./es-us":6575,"./es-us.js":6575,"./es.js":7650,"./et":3035,"./et.js":3035,"./eu":3508,"./eu.js":3508,"./fa":119,"./fa.js":119,"./fi":527,"./fi.js":527,"./fil":5995,"./fil.js":5995,"./fo":2477,"./fo.js":2477,"./fr":5498,"./fr-ca":6435,"./fr-ca.js":6435,"./fr-ch":7892,"./fr-ch.js":7892,"./fr.js":5498,"./fy":7071,"./fy.js":7071,"./ga":1734,"./ga.js":1734,"./gd":217,"./gd.js":217,"./gl":7329,"./gl.js":7329,"./gom-deva":2124,"./gom-deva.js":2124,"./gom-latn":3383,"./gom-latn.js":3383,"./gu":5050,"./gu.js":5050,"./he":1713,"./he.js":1713,"./hi":3861,"./hi.js":3861,"./hr":6308,"./hr.js":6308,"./hu":609,"./hu.js":609,"./hy-am":7160,"./hy-am.js":7160,"./id":4063,"./id.js":4063,"./is":9374,"./is.js":9374,"./it":8383,"./it-ch":1827,"./it-ch.js":1827,"./it.js":8383,"./ja":3827,"./ja.js":3827,"./jv":9722,"./jv.js":9722,"./ka":1794,"./ka.js":1794,"./kk":7088,"./kk.js":7088,"./km":6870,"./km.js":6870,"./kn":4451,"./kn.js":4451,"./ko":3164,"./ko.js":3164,"./ku":8174,"./ku-kmr":6181,"./ku-kmr.js":6181,"./ku.js":8174,"./ky":8474,"./ky.js":8474,"./lb":9680,"./lb.js":9680,"./lo":5867,"./lo.js":5867,"./lt":5766,"./lt.js":5766,"./lv":9532,"./lv.js":9532,"./me":8076,"./me.js":8076,"./mi":1848,"./mi.js":1848,"./mk":306,"./mk.js":306,"./ml":3739,"./ml.js":3739,"./mn":9053,"./mn.js":9053,"./mr":6169,"./mr.js":6169,"./ms":3386,"./ms-my":2297,"./ms-my.js":2297,"./ms.js":3386,"./mt":7075,"./mt.js":7075,"./my":2264,"./my.js":2264,"./nb":2274,"./nb.js":2274,"./ne":8235,"./ne.js":8235,"./nl":2572,"./nl-be":3784,"./nl-be.js":3784,"./nl.js":2572,"./nn":4566,"./nn.js":4566,"./oc-lnc":9330,"./oc-lnc.js":9330,"./pa-in":9849,"./pa-in.js":9849,"./pl":4418,"./pl.js":4418,"./pt":9834,"./pt-br":8303,"./pt-br.js":8303,"./pt.js":9834,"./ro":4457,"./ro.js":4457,"./ru":2271,"./ru.js":2271,"./sd":1221,"./sd.js":1221,"./se":3478,"./se.js":3478,"./si":7538,"./si.js":7538,"./sk":5784,"./sk.js":5784,"./sl":6637,"./sl.js":6637,"./sq":6794,"./sq.js":6794,"./sr":5719,"./sr-cyrl":3322,"./sr-cyrl.js":3322,"./sr.js":5719,"./ss":6e3,"./ss.js":6e3,"./sv":1011,"./sv.js":1011,"./sw":748,"./sw.js":748,"./ta":1025,"./ta.js":1025,"./te":1885,"./te.js":1885,"./tet":8861,"./tet.js":8861,"./tg":6571,"./tg.js":6571,"./th":5802,"./th.js":5802,"./tk":9527,"./tk.js":9527,"./tl-ph":9231,"./tl-ph.js":9231,"./tlh":1052,"./tlh.js":1052,"./tr":5096,"./tr.js":5096,"./tzl":9846,"./tzl.js":9846,"./tzm":1765,"./tzm-latn":7711,"./tzm-latn.js":7711,"./tzm.js":1765,"./ug-cn":8414,"./ug-cn.js":8414,"./uk":6618,"./uk.js":6618,"./ur":158,"./ur.js":158,"./uz":7609,"./uz-latn":2475,"./uz-latn.js":2475,"./uz.js":7609,"./vi":1135,"./vi.js":1135,"./x-pseudo":4051,"./x-pseudo.js":4051,"./yo":2218,"./yo.js":2218,"./zh-cn":2648,"./zh-cn.js":2648,"./zh-hk":1632,"./zh-hk.js":1632,"./zh-mo":1541,"./zh-mo.js":1541,"./zh-tw":304,"./zh-tw.js":304};function a(e){const t=s(e);return n(t)}function s(e){if(!n.o(i,e)){const t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return i[e]}a.keys=function(){return Object.keys(i)},a.resolve=s,e.exports=a,a.id=5358},5093(e,t,n){(e=n.nmd(e)).exports=function(){"use strict";var t,i;function a(){return t.apply(null,arguments)}function s(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function r(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function o(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function l(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(o(e,t))return!1;return!0}function d(e){return void 0===e}function u(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function c(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function m(e,t){var n,i=[],a=e.length;for(n=0;n<a;++n)i.push(t(e[n],n));return i}function h(e,t){for(var n in t)o(t,n)&&(e[n]=t[n]);return o(t,"toString")&&(e.toString=t.toString),o(t,"valueOf")&&(e.valueOf=t.valueOf),e}function p(e,t,n,i){return Ot(e,t,n,i,!0).utc()}function f(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function _(e){var t=null,n=!1,a=e._d&&!isNaN(e._d.getTime());return a&&(t=f(e),n=i.call(t.parsedDateParts,function(e){return null!=e}),a=t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n),e._strict&&(a=a&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour)),null!=Object.isFrozen&&Object.isFrozen(e)?a:(e._isValid=a,e._isValid)}function g(e){var t=p(NaN);return null!=e?h(f(t),e):f(t).userInvalidated=!0,t}i=Array.prototype.some?Array.prototype.some:function(e){var t,n=Object(this),i=n.length>>>0;for(t=0;t<i;t++)if(t in n&&e.call(this,n[t],t,n))return!0;return!1};var y=a.momentProperties=[],v=!1;function M(e,t){var n,i,a,s=y.length;if(d(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),d(t._i)||(e._i=t._i),d(t._f)||(e._f=t._f),d(t._l)||(e._l=t._l),d(t._strict)||(e._strict=t._strict),d(t._tzm)||(e._tzm=t._tzm),d(t._isUTC)||(e._isUTC=t._isUTC),d(t._offset)||(e._offset=t._offset),d(t._pf)||(e._pf=f(t)),d(t._locale)||(e._locale=t._locale),s>0)for(n=0;n<s;n++)d(a=t[i=y[n]])||(e[i]=a);return e}function w(e){M(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===v&&(v=!0,a.updateOffset(this),v=!1)}function L(e){return e instanceof w||null!=e&&null!=e._isAMomentObject}function b(e){!1===a.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function Y(e,t){var n=!0;return h(function(){if(null!=a.deprecationHandler&&a.deprecationHandler(null,e),n){var i,s,r,l=[],d=arguments.length;for(s=0;s<d;s++){if(i="","object"==typeof arguments[s]){for(r in i+="\n["+s+"] ",arguments[0])o(arguments[0],r)&&(i+=r+": "+arguments[0][r]+", ");i=i.slice(0,-2)}else i=arguments[s];l.push(i)}b(e+"\nArguments: "+Array.prototype.slice.call(l).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)},t)}var k,D={};function T(e,t){null!=a.deprecationHandler&&a.deprecationHandler(e,t),D[e]||(b(t),D[e]=!0)}function x(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function S(e,t){var n,i=h({},e);for(n in t)o(t,n)&&(r(e[n])&&r(t[n])?(i[n]={},h(i[n],e[n]),h(i[n],t[n])):null!=t[n]?i[n]=t[n]:delete i[n]);for(n in e)o(e,n)&&!o(t,n)&&r(e[n])&&(i[n]=h({},i[n]));return i}function E(e){null!=e&&this.set(e)}a.suppressDeprecationWarnings=!1,a.deprecationHandler=null,k=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)o(e,t)&&n.push(t);return n};function H(e,t,n){var i=""+Math.abs(e),a=t-i.length;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,a)).toString().substr(1)+i}var j=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,P=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,C={},O={};function A(e,t,n,i){var a=i;"string"==typeof i&&(a=function(){return this[i]()}),e&&(O[e]=a),t&&(O[t[0]]=function(){return H(a.apply(this,arguments),t[1],t[2])}),n&&(O[n]=function(){return this.localeData().ordinal(a.apply(this,arguments),e)})}function z(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function I(e,t){return e.isValid()?(t=W(t,e.localeData()),C[t]=C[t]||function(e){var t,n,i=e.match(j);for(t=0,n=i.length;t<n;t++)O[i[t]]?i[t]=O[i[t]]:i[t]=z(i[t]);return function(t){var a,s="";for(a=0;a<n;a++)s+=x(i[a])?i[a].call(t,e):i[a];return s}}(t),C[t](e)):e.localeData().invalidDate()}function W(e,t){var n=5;function i(e){return t.longDateFormat(e)||e}for(P.lastIndex=0;n>=0&&P.test(e);)e=e.replace(P,i),P.lastIndex=0,n-=1;return e}var N={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function F(e){return"string"==typeof e?N[e]||N[e.toLowerCase()]:void 0}function R(e){var t,n,i={};for(n in e)o(e,n)&&(t=F(n))&&(i[t]=e[n]);return i}var q={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};var $,B=/\d/,G=/\d\d/,V=/\d{3}/,X=/\d{4}/,J=/[+-]?\d{6}/,U=/\d\d?/,Z=/\d\d\d\d?/,K=/\d\d\d\d\d\d?/,Q=/\d{1,3}/,ee=/\d{1,4}/,te=/[+-]?\d{1,6}/,ne=/\d+/,ie=/[+-]?\d+/,ae=/Z|[+-]\d\d:?\d\d/gi,se=/Z|[+-]\d\d(?::?\d\d)?/gi,re=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,oe=/^[1-9]\d?/,le=/^([1-9]\d|\d)/;function de(e,t,n){$[e]=x(t)?t:function(e,i){return e&&n?n:t}}function ue(e,t){return o($,e)?$[e](t._strict,t._locale):new RegExp(ce(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,i,a){return t||n||i||a})))}function ce(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function me(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function he(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=me(t)),n}$={};var pe={};function fe(e,t){var n,i,a=t;
vendor: 8,425 bytes, line 9218
9218for("string"==typeof e&&(e=[e]),u(t)&&(a=function(e,n){n[t]=he(e)}),i=e.length,n=0;n<i;n++)pe[e[n]]=a}function _e(e,t){fe(e,function(e,n,i,a){i._w=i._w||{},t(e,i._w,i,a)})}function ge(e,t,n){null!=t&&o(pe,e)&&pe[e](t,n._a,n,e)}function ye(e){return e%4==0&&e%100!=0||e%400==0}var ve=0,Me=1,we=2,Le=3,be=4,Ye=5,ke=6,De=7,Te=8;function xe(e){return ye(e)?366:365}A("Y",0,0,function(){var e=this.year();return e<=9999?H(e,4):"+"+e}),A(0,["YY",2],0,function(){return this.year()%100}),A(0,["YYYY",4],0,"year"),A(0,["YYYYY",5],0,"year"),A(0,["YYYYYY",6,!0],0,"year"),de("Y",ie),de("YY",U,G),de("YYYY",ee,X),de("YYYYY",te,J),de("YYYYYY",te,J),fe(["YYYYY","YYYYYY"],ve),fe("YYYY",function(e,t){t[ve]=2===e.length?a.parseTwoDigitYear(e):he(e)}),fe("YY",function(e,t){t[ve]=a.parseTwoDigitYear(e)}),fe("Y",function(e,t){t[ve]=parseInt(e,10)}),a.parseTwoDigitYear=function(e){return he(e)+(he(e)>68?1900:2e3)};var Se,Ee=He("FullYear",!0);function He(e,t){return function(n){return null!=n?(Pe(this,e,n),a.updateOffset(this,t),this):je(this,e)}}function je(e,t){if(!e.isValid())return NaN;var n=e._d,i=e._isUTC;switch(t){case"Milliseconds":return i?n.getUTCMilliseconds():n.getMilliseconds();case"Seconds":return i?n.getUTCSeconds():n.getSeconds();case"Minutes":return i?n.getUTCMinutes():n.getMinutes();case"Hours":return i?n.getUTCHours():n.getHours();case"Date":return i?n.getUTCDate():n.getDate();case"Day":return i?n.getUTCDay():n.getDay();case"Month":return i?n.getUTCMonth():n.getMonth();case"FullYear":return i?n.getUTCFullYear():n.getFullYear();default:return NaN}}function Pe(e,t,n){var i,a,s,r,o;if(e.isValid()&&!isNaN(n)){switch(i=e._d,a=e._isUTC,t){case"Milliseconds":return void(a?i.setUTCMilliseconds(n):i.setMilliseconds(n));case"Seconds":return void(a?i.setUTCSeconds(n):i.setSeconds(n));case"Minutes":return void(a?i.setUTCMinutes(n):i.setMinutes(n));case"Hours":return void(a?i.setUTCHours(n):i.setHours(n));case"Date":return void(a?i.setUTCDate(n):i.setDate(n));case"FullYear":break;default:return}s=n,r=e.month(),o=29!==(o=e.date())||1!==r||ye(s)?o:28,a?i.setUTCFullYear(s,r,o):i.setFullYear(s,r,o)}}function Ce(e,t){if(isNaN(e)||isNaN(t))return NaN;var n,i=(t%(n=12)+n)%n;return e+=(t-i)/12,1===i?ye(e)?29:28:31-i%7%2}Se=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},A("M",["MM",2],"Mo",function(){return this.month()+1}),A("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),A("MMMM",0,0,function(e){return this.localeData().months(this,e)}),de("M",U,oe),de("MM",U,G),de("MMM",function(e,t){return t.monthsShortRegex(e)}),de("MMMM",function(e,t){return t.monthsRegex(e)}),fe(["M","MM"],function(e,t){t[Me]=he(e)-1}),fe(["MMM","MMMM"],function(e,t,n,i){var a=n._locale.monthsParse(e,i,n._strict);null!=a?t[Me]=a:f(n).invalidMonth=e});var Oe="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Ae="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),ze=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Ie=re,We=re;function Ne(e,t,n){var i,a,s,r=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],i=0;i<12;++i)s=p([2e3,i]),this._shortMonthsParse[i]=this.monthsShort(s,"").toLocaleLowerCase(),this._longMonthsParse[i]=this.months(s,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(a=Se.call(this._shortMonthsParse,r))?a:null:-1!==(a=Se.call(this._longMonthsParse,r))?a:null:"MMM"===t?-1!==(a=Se.call(this._shortMonthsParse,r))||-1!==(a=Se.call(this._longMonthsParse,r))?a:null:-1!==(a=Se.call(this._longMonthsParse,r))||-1!==(a=Se.call(this._shortMonthsParse,r))?a:null}function Fe(e,t){if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=he(t);else if(!u(t=e.localeData().monthsParse(t)))return e;var n=t,i=e.date();return i=i<29?i:Math.min(i,Ce(e.year(),n)),e._isUTC?e._d.setUTCMonth(n,i):e._d.setMonth(n,i),e}function Re(e){return null!=e?(Fe(this,e),a.updateOffset(this,!0),this):je(this,"Month")}function qe(){function e(e,t){return t.length-e.length}var t,n,i,a,s=[],r=[],o=[];for(t=0;t<12;t++)n=p([2e3,t]),i=ce(this.monthsShort(n,"")),a=ce(this.months(n,"")),s.push(i),r.push(a),o.push(a),o.push(i);s.sort(e),r.sort(e),o.sort(e),this._monthsRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+s.join("|")+")","i")}function $e(e,t,n,i,a,s,r){var o;return e<100&&e>=0?(o=new Date(e+400,t,n,i,a,s,r),isFinite(o.getFullYear())&&o.setFullYear(e)):o=new Date(e,t,n,i,a,s,r),o}function Be(e){var t,n;return e<100&&e>=0?((n=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Ge(e,t,n){var i=7+t-n;return-(7+Be(e,0,i).getUTCDay()-t)%7+i-1}function Ve(e,t,n,i,a){var s,r,o=1+7*(t-1)+(7+n-i)%7+Ge(e,i,a);return o<=0?r=xe(s=e-1)+o:o>xe(e)?(s=e+1,r=o-xe(e)):(s=e,r=o),{year:s,dayOfYear:r}}function Xe(e,t,n){var i,a,s=Ge(e.year(),t,n),r=Math.floor((e.dayOfYear()-s-1)/7)+1;return r<1?i=r+Je(a=e.year()-1,t,n):r>Je(e.year(),t,n)?(i=r-Je(e.year(),t,n),a=e.year()+1):(a=e.year(),i=r),{week:i,year:a}}function Je(e,t,n){var i=Ge(e,t,n),a=Ge(e+1,t,n);return(xe(e)-i+a)/7}A("w",["ww",2],"wo","week"),A("W",["WW",2],"Wo","isoWeek"),de("w",U,oe),de("ww",U,G),de("W",U,oe),de("WW",U,G),_e(["w","ww","W","WW"],function(e,t,n,i){t[i.substr(0,1)]=he(e)});function Ue(e,t){return e.slice(t,7).concat(e.slice(0,t))}A("d",0,"do","day"),A("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),A("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),A("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),A("e",0,0,"weekday"),A("E",0,0,"isoWeekday"),de("d",U),de("e",U),de("E",U),de("dd",function(e,t){return t.weekdaysMinRegex(e)}),de("ddd",function(e,t){return t.weekdaysShortRegex(e)}),de("dddd",function(e,t){return t.weekdaysRegex(e)}),_e(["dd","ddd","dddd"],function(e,t,n,i){var a=n._locale.weekdaysParse(e,i,n._strict);null!=a?t.d=a:f(n).invalidWeekday=e}),_e(["d","e","E"],function(e,t,n,i){t[i]=he(e)});var Ze="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ke="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Qe="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),et=re,tt=re,nt=re;function it(e,t,n){var i,a,s,r=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)s=p([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(s,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(s,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(s,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(a=Se.call(this._weekdaysParse,r))?a:null:"ddd"===t?-1!==(a=Se.call(this._shortWeekdaysParse,r))?a:null:-1!==(a=Se.call(this._minWeekdaysParse,r))?a:null:"dddd"===t?-1!==(a=Se.call(this._weekdaysParse,r))||-1!==(a=Se.call(this._shortWeekdaysParse,r))||-1!==(a=Se.call(this._minWeekdaysParse,r))?a:null:"ddd"===t?-1!==(a=Se.call(this._shortWeekdaysParse,r))||-1!==(a=Se.call(this._weekdaysParse,r))||-1!==(a=Se.call(this._minWeekdaysParse,r))?a:null:-1!==(a=Se.call(this._minWeekdaysParse,r))||-1!==(a=Se.call(this._weekdaysParse,r))||-1!==(a=Se.call(this._shortWeekdaysParse,r))?a:null}function at(){function e(e,t){return t.length-e.length}var t,n,i,a,s,r=[],o=[],l=[],d=[];for(t=0;t<7;t++)n=p([2e3,1]).day(t),i=ce(this.weekdaysMin(n,"")),a=ce(this.weekdaysShort(n,"")),s=ce(this.weekdays(n,"")),r.push(i),o.push(a),l.push(s),d.push(i),d.push(a),d.push(s);r.sort(e),o.sort(e),l.sort(e),d.sort(e),this._weekdaysRegex=new RegExp("^("+d.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+r.join("|")+")","i")}function st(){return this.hours()%12||12}function rt(e,t){A(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function ot(e,t){return t._meridiemParse}A("H",["HH",2],0,"hour"),A("h",["hh",2],0,st),A("k",["kk",2],0,function(){return this.hours()||24}),A("hmm",0,0,function(){return""+st.apply(this)+H(this.minutes(),2)}
vendor: 9,319 bytes, line 9218
9218),A("hmmss",0,0,function(){return""+st.apply(this)+H(this.minutes(),2)+H(this.seconds(),2)}),A("Hmm",0,0,function(){return""+this.hours()+H(this.minutes(),2)}),A("Hmmss",0,0,function(){return""+this.hours()+H(this.minutes(),2)+H(this.seconds(),2)}),rt("a",!0),rt("A",!1),de("a",ot),de("A",ot),de("H",U,le),de("h",U,oe),de("k",U,oe),de("HH",U,G),de("hh",U,G),de("kk",U,G),de("hmm",Z),de("hmmss",K),de("Hmm",Z),de("Hmmss",K),fe(["H","HH"],Le),fe(["k","kk"],function(e,t,n){var i=he(e);t[Le]=24===i?0:i}),fe(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),fe(["h","hh"],function(e,t,n){t[Le]=he(e),f(n).bigHour=!0}),fe("hmm",function(e,t,n){var i=e.length-2;t[Le]=he(e.substr(0,i)),t[be]=he(e.substr(i)),f(n).bigHour=!0}),fe("hmmss",function(e,t,n){var i=e.length-4,a=e.length-2;t[Le]=he(e.substr(0,i)),t[be]=he(e.substr(i,2)),t[Ye]=he(e.substr(a)),f(n).bigHour=!0}),fe("Hmm",function(e,t,n){var i=e.length-2;t[Le]=he(e.substr(0,i)),t[be]=he(e.substr(i))}),fe("Hmmss",function(e,t,n){var i=e.length-4,a=e.length-2;t[Le]=he(e.substr(0,i)),t[be]=he(e.substr(i,2)),t[Ye]=he(e.substr(a))});var lt=He("Hours",!0);var dt,ut={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Oe,monthsShort:Ae,week:{dow:0,doy:6},weekdays:Ze,weekdaysMin:Qe,weekdaysShort:Ke,meridiemParse:/[ap]\.?m?\.?/i},ct={},mt={};function ht(e,t){var n,i=Math.min(e.length,t.length);for(n=0;n<i;n+=1)if(e[n]!==t[n])return n;return i}function pt(e){return e?e.toLowerCase().replace("_","-"):e}function ft(t){var i=null;if(void 0===ct[t]&&e&&e.exports&&function(e){return!(!e||!e.match("^[^/\\\\]*$"))}(t))try{i=dt._abbr,n(5358)("./"+t),_t(i)}catch(e){ct[t]=null}return ct[t]}function _t(e,t){var n;return e&&((n=d(t)?yt(e):gt(e,t))?dt=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),dt._abbr}function gt(e,t){if(null!==t){var n,i=ut;if(t.abbr=e,null!=ct[e])T("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),i=ct[e]._config;else if(null!=t.parentLocale)if(null!=ct[t.parentLocale])i=ct[t.parentLocale]._config;else{if(null==(n=ft(t.parentLocale)))return mt[t.parentLocale]||(mt[t.parentLocale]=[]),mt[t.parentLocale].push({name:e,config:t}),null;i=n._config}return ct[e]=new E(S(i,t)),mt[e]&&mt[e].forEach(function(e){gt(e.name,e.config)}),_t(e),ct[e]}return delete ct[e],null}function yt(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return dt;if(!s(e)){if(t=ft(e))return t;e=[e]}return function(e){for(var t,n,i,a,s=0;s<e.length;){for(t=(a=pt(e[s]).split("-")).length,n=(n=pt(e[s+1]))?n.split("-"):null;t>0;){if(i=ft(a.slice(0,t).join("-")))return i;if(n&&n.length>=t&&ht(a,n)>=t-1)break;t--}s++}return dt}(e)}function vt(e){var t,n=e._a;return n&&-2===f(e).overflow&&(t=n[Me]<0||n[Me]>11?Me:n[we]<1||n[we]>Ce(n[ve],n[Me])?we:n[Le]<0||n[Le]>24||24===n[Le]&&(0!==n[be]||0!==n[Ye]||0!==n[ke])?Le:n[be]<0||n[be]>59?be:n[Ye]<0||n[Ye]>59?Ye:n[ke]<0||n[ke]>999?ke:-1,f(e)._overflowDayOfYear&&(t<ve||t>we)&&(t=we),f(e)._overflowWeeks&&-1===t&&(t=De),f(e)._overflowWeekday&&-1===t&&(t=Te),f(e).overflow=t),e}var Mt=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,wt=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Lt=/Z|[+-]\d\d(?::?\d\d)?/,bt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],Yt=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],kt=/^\/?Date\((-?\d+)/i,Dt=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Tt={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function xt(e){var t,n,i,a,s,r,o=e._i,l=Mt.exec(o)||wt.exec(o),d=bt.length,u=Yt.length;if(l){for(f(e).iso=!0,t=0,n=d;t<n;t++)if(bt[t][1].exec(l[1])){a=bt[t][0],i=!1!==bt[t][2];break}if(null==a)return void(e._isValid=!1);if(l[3]){for(t=0,n=u;t<n;t++)if(Yt[t][1].exec(l[3])){s=(l[2]||" ")+Yt[t][0];break}if(null==s)return void(e._isValid=!1)}if(!i&&null!=s)return void(e._isValid=!1);if(l[4]){if(!Lt.exec(l[4]))return void(e._isValid=!1);r="Z"}e._f=a+(s||"")+(r||""),Pt(e)}else e._isValid=!1}function St(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function Et(e){var t,n,i,a,s,r,o,l,d=Dt.exec(e._i.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(d){if(n=d[4],i=d[3],a=d[2],s=d[5],r=d[6],o=d[7],l=[St(n),Ae.indexOf(i),parseInt(a,10),parseInt(s,10),parseInt(r,10)],o&&l.push(parseInt(o,10)),t=l,!function(e,t,n){return!e||Ke.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(f(n).weekdayMismatch=!0,n._isValid=!1,!1)}(d[1],t,e))return;e._a=t,e._tzm=function(e,t,n){if(e)return Tt[e];if(t)return 0;var i=parseInt(n,10),a=i%100;return(i-a)/100*60+a}(d[8],d[9],d[10]),e._d=Be.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),f(e).rfc2822=!0}else e._isValid=!1}function Ht(e,t,n){return null!=e?e:null!=t?t:n}function jt(e){var t,n,i,s,r,o=[];if(!e._d){for(i=function(e){var t=new Date(a.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}(e),e._w&&null==e._a[we]&&null==e._a[Me]&&function(e){var t,n,i,a,s,r,o,l,d;null!=(t=e._w).GG||null!=t.W||null!=t.E?(s=1,r=4,n=Ht(t.GG,e._a[ve],Xe(At(),1,4).year),i=Ht(t.W,1),((a=Ht(t.E,1))<1||a>7)&&(l=!0)):(s=e._locale._week.dow,r=e._locale._week.doy,d=Xe(At(),s,r),n=Ht(t.gg,e._a[ve],d.year),i=Ht(t.w,d.week),null!=t.d?((a=t.d)<0||a>6)&&(l=!0):null!=t.e?(a=t.e+s,(t.e<0||t.e>6)&&(l=!0)):a=s),i<1||i>Je(n,s,r)?f(e)._overflowWeeks=!0:null!=l?f(e)._overflowWeekday=!0:(o=Ve(n,i,a,s,r),e._a[ve]=o.year,e._dayOfYear=o.dayOfYear)}(e),null!=e._dayOfYear&&(r=Ht(e._a[ve],i[ve]),(e._dayOfYear>xe(r)||0===e._dayOfYear)&&(f(e)._overflowDayOfYear=!0),n=Be(r,0,e._dayOfYear),e._a[Me]=n.getUTCMonth(),e._a[we]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=o[t]=i[t];for(;t<7;t++)e._a[t]=o[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[Le]&&0===e._a[be]&&0===e._a[Ye]&&0===e._a[ke]&&(e._nextDay=!0,e._a[Le]=0),e._d=(e._useUTC?Be:$e).apply(null,o),s=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Le]=24),e._w&&void 0!==e._w.d&&e._w.d!==s&&(f(e).weekdayMismatch=!0)}}function Pt(e){if(e._f!==a.ISO_8601)if(e._f!==a.RFC_2822){e._a=[],f(e).empty=!0;var t,n,i,s,r,o,l,d=""+e._i,u=d.length,c=0;for(l=(i=W(e._f,e._locale).match(j)||[]).length,t=0;t<l;t++)s=i[t],(n=(d.match(ue(s,e))||[])[0])&&((r=d.substr(0,d.indexOf(n))).length>0&&f(e).unusedInput.push(r),d=d.slice(d.indexOf(n)+n.length),c+=n.length),O[s]?(n?f(e).empty=!1:f(e).unusedTokens.push(s),ge(s,n,e)):e._strict&&!n&&f(e).unusedTokens.push(s);f(e).charsLeftOver=u-c,d.length>0&&f(e).unusedInput.push(d),e._a[Le]<=12&&!0===f(e).bigHour&&e._a[Le]>0&&(f(e).bigHour=void 0),f(e).parsedDateParts=e._a.slice(0),f(e).meridiem=e._meridiem,e._a[Le]=function(e,t,n){var i;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((i=e.isPM(n))&&t<12&&(t+=12),i||12!==t||(t=0),t):t}(e._locale,e._a[Le],e._meridiem),null!==(o=f(e).era)&&(e._a[ve]=e._locale.erasConvertYear(o,e._a[ve])),jt(e),vt(e)}else Et(e);else xt(e)}function Ct(e){var t=e._i,n=e._f;return e._locale=e._locale||yt(e._l),null===t||void 0===n&&""===t?g({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),L(t)?new w(vt(t)):(c(t)?e._d=t:s(n)?function(e){var t,n,i,a,s,r,o=!1,l=e._f.length;if(0===l)return f(e).invalidFormat=!0,void(e._d=new Date(NaN));for(a=0;a<l;a++)s=0,r=!1,t=M({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[a],Pt(t),_(t)&&(r=!0),s+=f(t).charsLeftOver,s+=10*f(t).unusedTokens.length,f(t).score=s,o?s<i&&(i=s,n=t):(null==i||s<i||r)&&(i=s,n=t,r&&(o=!0));h(e,n||t)}(e):n?Pt(e):function(e){var t=e._i;d(t)?e._d=new Date(a.now()):c(t)?e._d=new Date(t.valueOf()):"string"==typeof t?function(e){var t=kt.exec(e._i);
vendor: 15,592 bytes, line 9218
9218null===t?(xt(e),!1===e._isValid&&(delete e._isValid,Et(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:a.createFromInputFallback(e)))):e._d=new Date(+t[1])}(e):s(t)?(e._a=m(t.slice(0),function(e){return parseInt(e,10)}),jt(e)):r(t)?function(e){if(!e._d){var t=R(e._i),n=void 0===t.day?t.date:t.day;e._a=m([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),jt(e)}}(e):u(t)?e._d=new Date(t):a.createFromInputFallback(e)}(e),_(e)||(e._d=null),e))}function Ot(e,t,n,i,a){var o,d={};return!0!==t&&!1!==t||(i=t,t=void 0),!0!==n&&!1!==n||(i=n,n=void 0),(r(e)&&l(e)||s(e)&&0===e.length)&&(e=void 0),d._isAMomentObject=!0,d._useUTC=d._isUTC=a,d._l=n,d._i=e,d._f=t,d._strict=i,(o=new w(vt(Ct(d))))._nextDay&&(o.add(1,"d"),o._nextDay=void 0),o}function At(e,t,n,i){return Ot(e,t,n,i,!1)}a.createFromInputFallback=Y("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),a.ISO_8601=function(){},a.RFC_2822=function(){};var zt=Y("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=At.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:g()}),It=Y("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=At.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:g()});function Wt(e,t){var n,i;if(1===t.length&&s(t[0])&&(t=t[0]),!t.length)return At();for(n=t[0],i=1;i<t.length;++i)t[i].isValid()&&!t[i][e](n)||(n=t[i]);return n}var Nt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Ft(e){var t=R(e),n=t.year||0,i=t.quarter||0,a=t.month||0,s=t.week||t.isoWeek||0,r=t.day||0,l=t.hour||0,d=t.minute||0,u=t.second||0,c=t.millisecond||0;this._isValid=function(e){var t,n,i=!1,a=Nt.length;for(t in e)if(o(e,t)&&(-1===Se.call(Nt,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<a;++n)if(e[Nt[n]]){if(i)return!1;parseFloat(e[Nt[n]])!==he(e[Nt[n]])&&(i=!0)}return!0}(t),this._milliseconds=+c+1e3*u+6e4*d+1e3*l*60*60,this._days=+r+7*s,this._months=+a+3*i+12*n,this._data={},this._locale=yt(),this._bubble()}function Rt(e){return e instanceof Ft}function qt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function $t(e,t){A(e,0,0,function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+H(~~(e/60),2)+t+H(~~e%60,2)})}$t("Z",":"),$t("ZZ",""),de("Z",se),de("ZZ",se),fe(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Gt(se,e)});var Bt=/([\+\-]|\d\d)/gi;function Gt(e,t){var n,i,a=(t||"").match(e);return null===a?null:0===(i=60*(n=((a[a.length-1]||[])+"").match(Bt)||["-",0,0])[1]+he(n[2]))?0:"+"===n[0]?i:-i}function Vt(e,t){var n,i;return t._isUTC?(n=t.clone(),i=(L(e)||c(e)?e.valueOf():At(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+i),a.updateOffset(n,!1),n):At(e).local()}function Xt(e){return-Math.round(e._d.getTimezoneOffset())}function Jt(){return!!this.isValid()&&this._isUTC&&0===this._offset}a.updateOffset=function(){};var Ut=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Zt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Kt(e,t){var n,i,a,s,r,l,d=e,c=null;return Rt(e)?d={ms:e._milliseconds,d:e._days,M:e._months}:u(e)||!isNaN(+e)?(d={},t?d[t]=+e:d.milliseconds=+e):(c=Ut.exec(e))?(n="-"===c[1]?-1:1,d={y:0,d:he(c[we])*n,h:he(c[Le])*n,m:he(c[be])*n,s:he(c[Ye])*n,ms:he(qt(1e3*c[ke]))*n}):(c=Zt.exec(e))?(n="-"===c[1]?-1:1,d={y:Qt(c[2],n),M:Qt(c[3],n),w:Qt(c[4],n),d:Qt(c[5],n),h:Qt(c[6],n),m:Qt(c[7],n),s:Qt(c[8],n)}):null==d?d={}:"object"==typeof d&&("from"in d||"to"in d)&&(s=At(d.from),r=At(d.to),a=s.isValid()&&r.isValid()?(r=Vt(r,s),s.isBefore(r)?l=en(s,r):((l=en(r,s)).milliseconds=-l.milliseconds,l.months=-l.months),l):{milliseconds:0,months:0},(d={}).ms=a.milliseconds,d.M=a.months),i=new Ft(d),Rt(e)&&o(e,"_locale")&&(i._locale=e._locale),Rt(e)&&o(e,"_isValid")&&(i._isValid=e._isValid),i}function Qt(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function en(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function tn(e,t){return function(n,i){var a;return null===i||isNaN(+i)||(T(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),a=n,n=i,i=a),nn(this,Kt(n,i),e),this}}function nn(e,t,n,i){var s=t._milliseconds,r=qt(t._days),o=qt(t._months);e.isValid()&&(i=i??!0,o&&Fe(e,je(e,"Month")+o*n),r&&Pe(e,"Date",je(e,"Date")+r*n),s&&e._d.setTime(e._d.valueOf()+s*n),i&&a.updateOffset(e,r||o))}Kt.fn=Ft.prototype,Kt.invalid=function(){return Kt(NaN)};var an=tn(1,"add"),sn=tn(-1,"subtract");function rn(e){return"string"==typeof e||e instanceof String}function on(e){return L(e)||c(e)||rn(e)||u(e)||function(e){var t=s(e),n=!1;return t&&(n=0===e.filter(function(t){return!u(t)&&rn(e)}).length),t&&n}(e)||function(e){var t,n,i=r(e)&&!l(e),a=!1,s=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],d=s.length;for(t=0;t<d;t+=1)n=s[t],a=a||o(e,n);return i&&a}(e)||null==e}function ln(e,t){if(e.date()<t.date())return-ln(t,e);var n=12*(t.year()-e.year())+(t.month()-e.month()),i=e.clone().add(n,"months");return-(n+(t-i<0?(t-i)/(i-e.clone().add(n-1,"months")):(t-i)/(e.clone().add(n+1,"months")-i)))||0}function dn(e){var t;return void 0===e?this._locale._abbr:(null!=(t=yt(e))&&(this._locale=t),this)}a.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",a.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var un=Y("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});function cn(){return this._locale}var mn=1e3,hn=6e4,pn=36e5,fn=126227808e5;function _n(e,t){return(e%t+t)%t}function gn(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-fn:new Date(e,t,n).valueOf()}function yn(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-fn:Date.UTC(e,t,n)}function vn(e,t){return t.erasAbbrRegex(e)}function Mn(){var e,t,n,i,a,s=[],r=[],o=[],l=[],d=this.eras();for(e=0,t=d.length;e<t;++e)n=ce(d[e].name),i=ce(d[e].abbr),a=ce(d[e].narrow),r.push(n),s.push(i),o.push(a),l.push(n),l.push(i),l.push(a);this._erasRegex=new RegExp("^("+l.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+r.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+s.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+o.join("|")+")","i")}function wn(e,t){A(0,[e,e.length],0,t)}function Ln(e,t,n,i,a){var s;return null==e?Xe(this,i,a).year:(t>(s=Je(e,i,a))&&(t=s),bn.call(this,e,t,n,i,a))}function bn(e,t,n,i,a){var s=Ve(e,t,n,i,a),r=Be(s.year,0,s.dayOfYear);return this.year(r.getUTCFullYear()),this.month(r.getUTCMonth()),this.date(r.getUTCDate()),this}A("N",0,0,"eraAbbr"),A("NN",0,0,"eraAbbr"),A("NNN",0,0,"eraAbbr"),A("NNNN",0,0,"eraName"),A("NNNNN",0,0,"eraNarrow"),A("y",["y",1],"yo","eraYear"),A("y",["yy",2],0,"eraYear"),A("y",["yyy",3],0,"eraYear"),A("y",["yyyy",4],0,"eraYear"),de("N",vn),de("NN",vn),de("NNN",vn),de("NNNN",function(e,t){return t.erasNameRegex(e)}),de("NNNNN",function(e,t){return t.erasNarrowRegex(e)}),fe(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,i){var a=n._locale.erasParse(e,i,n._strict);a?f(n).era=a:f(n).invalidEra=e}),de("y",ne),de("yy",ne),de("yyy",ne),de("yyyy",ne),de("yo",function(e,t){return t._eraYearOrdinalRegex||ne}),fe(["y","yy","yyy","yyyy"],ve),fe(["yo"],function(e,t,n,i){var a;n._locale._eraYearOrdinalRegex&&(a=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[ve]=n._locale.eraYearOrdinalParse(e,a):t[ve]=parseInt(e,10)}),A(0,["gg",2],0,function(){return this.weekYear()%100}),A(0,["GG",2],0,function(){return this.isoWeekYear()%100}),wn("gggg","weekYear"),wn("ggggg","weekYear"),wn("GGGG","isoWeekYear"),wn("GGGGG","isoWeekYear"),de("G",ie),de("g",ie),de("GG",U,G),de("gg",U,G),de("GGGG",ee,X),de("gggg",ee,X),de("GGGGG",te,J),de("ggggg",te,J),_e(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,i){t[i.substr(0,2)]=he(e)}),_e(["gg","GG"],function(e,t,n,i){t[i]=a.parseTwoDigitYear(e)}),A("Q",0,"Qo","quarter"),de("Q",B),fe("Q",function(e,t){t[Me]=3*(he(e)-1)}),A("D",["DD",2],"Do","date"),de("D",U,oe),de("DD",U,G),de("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),fe(["D","DD"],we),fe("Do",function(e,t){t[we]=he(e.match(U)[0])});var Yn=He("Date",!0);A("DDD",["DDDD",3],"DDDo","dayOfYear"),de("DDD",Q),de("DDDD",V),fe(["DDD","DDDD"],function(e,t,n){n._dayOfYear=he(e)}),A("m",["mm",2],0,"minute"),de("m",U,le),de("mm",U,G),fe(["m","mm"],be);var kn=He("Minutes",!1);A("s",["ss",2],0,"second"),de("s",U,le),de("ss",U,G),fe(["s","ss"],Ye);var Dn,Tn,xn=He("Seconds",!1);for(A("S",0,0,function(){return~~(this.millisecond()/100)}),A(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),A(0,["SSS",3],0,"millisecond"),A(0,["SSSS",4],0,function(){return 10*this.millisecond()}),A(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),A(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),A(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),A(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),A(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),de("S",Q,B),de("SS",Q,G),de("SSS",Q,V),Dn="SSSS";Dn.length<=9;Dn+="S")de(Dn,ne);function Sn(e,t){t[ke]=he(1e3*("0."+e))}for(Dn="S";Dn.length<=9;Dn+="S")fe(Dn,Sn);Tn=He("Milliseconds",!1),A("z",0,0,"zoneAbbr"),A("zz",0,0,"zoneName");var En=w.prototype;function Hn(e){return e}En.add=an,En.calendar=function(e,t){1===arguments.length&&(arguments[0]?on(arguments[0])?(e=arguments[0],t=void 0):function(e){var t,n=r(e)&&!l(e),i=!1,a=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(t=0;t<a.length;t+=1)i=i||o(e,a[t]);return n&&i}(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var n=e||At(),i=Vt(n,this).startOf("day"),s=a.calendarFormat(this,i)||"sameElse",d=t&&(x(t[s])?t[s].call(this,n):t[s]);return this.format(d||this.localeData().calendar(s,this,At(n)))},En.clone=function(){return new w(this)},En.diff=function(e,t,n){var i,a,s;if(!this.isValid())return NaN;if(!(i=Vt(e,this)).isValid())return NaN;switch(a=6e4*(i.utcOffset()-this.utcOffset()),t=F(t)){case"year":s=ln(this,i)/12;break;case"month":s=ln(this,i);break;case"quarter":s=ln(this,i)/3;break;case"second":s=(this-i)/1e3;break;case"minute":s=(this-i)/6e4;break;case"hour":s=(this-i)/36e5;break;case"day":s=(this-i-a)/864e5;break;case"week":s=(this-i-a)/6048e5;break;default:s=this-i}return n?s:me(s)},En.endOf=function(e){var t,n;if(void 0===(e=F(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?yn:gn,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=pn-_n(t+(this._isUTC?0:this.utcOffset()*hn),pn)-1;break;case"minute":t=this._d.valueOf(),t+=hn-_n(t,hn)-1;break;case"second":t=this._d.valueOf(),t+=mn-_n(t,mn)-1}return this._d.setTime(t),a.updateOffset(this,!0),this},En.format=function(e){e||(e=this.isUtc()?a.defaultFormatUtc:a.defaultFormat);var t=I(this,e);return this.localeData().postformat(t)},En.from=function(e,t){return this.isValid()&&(L(e)&&e.isValid()||At(e).isValid())?Kt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},En.fromNow=function(e){return this.from(At(),e)},En.to=function(e,t){return this.isValid()&&(L(e)&&e.isValid()||At(e).isValid())?Kt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},En.toNow=function(e){return this.to(At(),e)},En.get=function(e){return x(this[e=F(e)])?this[e]():this},En.invalidAt=function(){return f(this).overflow},En.isAfter=function(e,t){var n=L(e)?e:At(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=F(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())},En.isBefore=function(e,t){var n=L(e)?e:At(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=F(t)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())},En.isBetween=function(e,t,n,i){var a=L(e)?e:At(e),s=L(t)?t:At(t);return!!(this.isValid()&&a.isValid()&&s.isValid())&&("("===(i=i||"()")[0]?this.isAfter(a,n):!this.isBefore(a,n))&&(")"===i[1]?this.isBefore(s,n):!this.isAfter(s,n))},En.isSame=function(e,t){var n,i=L(e)?e:At(e);return!(!this.isValid()||!i.isValid())&&("millisecond"===(t=F(t)||"millisecond")?this.valueOf()===i.valueOf():(n=i.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))},En.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},En.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},En.isValid=function(){return _(this)},En.lang=un,En.locale=dn,En.localeData=cn,En.max=It,En.min=zt,En.parsingFlags=function(){return h({},f(this))},En.set=function(e,t){if("object"==typeof e){var n,i=function(e){var t,n=[];for(t in e)o(e,t)&&n.push({unit:t,priority:q[t]});return n.sort(function(e,t){return e.priority-t.priority}),n}(e=R(e)),a=i.length;for(n=0;n<a;n++)this[i[n].unit](e[i[n].unit])}else if(x(this[e=F(e)]))return this[e](t);return this},En.startOf=function(e){var t,n;if(void 0===(e=F(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?yn:gn,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=_n(t+(this._isUTC?0:this.utcOffset()*hn),pn);break;case"minute":t=this._d.valueOf(),t-=_n(t,hn);break;case"second":t=this._d.valueOf(),t-=_n(t,mn)}return this._d.setTime(t),a.updateOffset(this,!0),this},En.subtract=sn,En.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},En.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},En.toDate=function(){return new Date(this.valueOf())},En.toISOString=function(e){if(!this.isValid())return null;var t=!0!==e,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?I(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):x(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",I(n,"Z")):I(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}
vendor: 16,384 bytes, line 9218
9218,En.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,n,i="moment",a="";return this.isLocal()||(i=0===this.utcOffset()?"moment.utc":"moment.parseZone",a="Z"),e="["+i+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n=a+'[")]',this.format(e+t+"-MM-DD[T]HH:mm:ss.SSS"+n)},"undefined"!=typeof Symbol&&null!=Symbol.for&&(En[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),En.toJSON=function(){return this.isValid()?this.toISOString():null},En.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},En.unix=function(){return Math.floor(this.valueOf()/1e3)},En.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},En.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},En.eraName=function(){var e,t,n,i=this.localeData().eras();for(e=0,t=i.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),i[e].since<=n&&n<=i[e].until)return i[e].name;if(i[e].until<=n&&n<=i[e].since)return i[e].name}return""},En.eraNarrow=function(){var e,t,n,i=this.localeData().eras();for(e=0,t=i.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),i[e].since<=n&&n<=i[e].until)return i[e].narrow;if(i[e].until<=n&&n<=i[e].since)return i[e].narrow}return""},En.eraAbbr=function(){var e,t,n,i=this.localeData().eras();for(e=0,t=i.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),i[e].since<=n&&n<=i[e].until)return i[e].abbr;if(i[e].until<=n&&n<=i[e].since)return i[e].abbr}return""},En.eraYear=function(){var e,t,n,i,s=this.localeData().eras();for(e=0,t=s.length;e<t;++e)if(n=s[e].since<=s[e].until?1:-1,i=this.clone().startOf("day").valueOf(),s[e].since<=i&&i<=s[e].until||s[e].until<=i&&i<=s[e].since)return(this.year()-a(s[e].since).year())*n+s[e].offset;return this.year()},En.year=Ee,En.isLeapYear=function(){return ye(this.year())},En.weekYear=function(e){return Ln.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)},En.isoWeekYear=function(e){return Ln.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},En.quarter=En.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},En.month=Re,En.daysInMonth=function(){return Ce(this.year(),this.month())},En.week=En.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},En.isoWeek=En.isoWeeks=function(e){var t=Xe(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},En.weeksInYear=function(){var e=this.localeData()._week;return Je(this.year(),e.dow,e.doy)},En.weeksInWeekYear=function(){var e=this.localeData()._week;return Je(this.weekYear(),e.dow,e.doy)},En.isoWeeksInYear=function(){return Je(this.year(),1,4)},En.isoWeeksInISOWeekYear=function(){return Je(this.isoWeekYear(),1,4)},En.date=Yn,En.day=En.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t=je(this,"Day");return null!=e?(e=function(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}(e,this.localeData()),this.add(e-t,"d")):t},En.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},En.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=function(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7},En.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},En.hour=En.hours=lt,En.minute=En.minutes=kn,En.second=En.seconds=xn,En.millisecond=En.milliseconds=Tn,En.utcOffset=function(e,t,n){var i,s=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=Gt(se,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(i=Xt(this)),this._offset=e,this._isUTC=!0,null!=i&&this.add(i,"m"),s!==e&&(!t||this._changeInProgress?nn(this,Kt(e-s,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,a.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?s:Xt(this)},En.utc=function(e){return this.utcOffset(0,e)},En.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Xt(this),"m")),this},En.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=Gt(ae,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this},En.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?At(e).utcOffset():0,(this.utcOffset()-e)%60==0)},En.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},En.isLocal=function(){return!!this.isValid()&&!this._isUTC},En.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},En.isUtc=Jt,En.isUTC=Jt,En.zoneAbbr=function(){return this._isUTC?"UTC":""},En.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},En.dates=Y("dates accessor is deprecated. Use date instead.",Yn),En.months=Y("months accessor is deprecated. Use month instead",Re),En.years=Y("years accessor is deprecated. Use year instead",Ee),En.zone=Y("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}),En.isDSTShifted=Y("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!d(this._isDSTShifted))return this._isDSTShifted;var e,t={};return M(t,this),(t=Ct(t))._a?(e=t._isUTC?p(t._a):At(t._a),this._isDSTShifted=this.isValid()&&function(e,t,n){var i,a=Math.min(e.length,t.length),s=Math.abs(e.length-t.length),r=0;for(i=0;i<a;i++)(n&&e[i]!==t[i]||!n&&he(e[i])!==he(t[i]))&&r++;return r+s}(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted});var jn=E.prototype;function Pn(e,t,n,i){var a=yt(),s=p().set(i,t);return a[n](s,e)}function Cn(e,t,n){if(u(e)&&(t=e,e=void 0),e=e||"",null!=t)return Pn(e,t,n,"month");var i,a=[];for(i=0;i<12;i++)a[i]=Pn(e,i,n,"month");return a}function On(e,t,n,i){"boolean"==typeof e?(u(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,u(t)&&(n=t,t=void 0),t=t||"");var a,s=yt(),r=e?s._week.dow:0,o=[];if(null!=n)return Pn(t,(n+r)%7,i,"day");for(a=0;a<7;a++)o[a]=Pn(t,(a+r)%7,i,"day");return o}jn.calendar=function(e,t,n){var i=this._calendar[e]||this._calendar.sameElse;return x(i)?i.call(t,n):i},jn.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(j).map(function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e}).join(""),this._longDateFormat[e])},jn.invalidDate=function(){return this._invalidDate},jn.ordinal=function(e){return this._ordinal.replace("%d",e)},jn.preparse=Hn,jn.postformat=Hn,jn.relativeTime=function(e,t,n,i){var a=this._relativeTime[n];return x(a)?a(e,t,n,i):a.replace(/%d/i,e)},jn.pastFuture=function(e,t){var n=this._relativeTime[e>0?"future":"past"];return x(n)?n(t):n.replace(/%s/i,t)},jn.set=function(e){var t,n;for(n in e)o(e,n)&&(x(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},jn.eras=function(e,t){var n,i,s,r=this._eras||yt("en")._eras;for(n=0,i=r.length;n<i;++n)switch("string"==typeof r[n].since&&(s=a(r[n].since).startOf("day"),r[n].since=s.valueOf()),typeof r[n].until){case"undefined":r[n].until=1/0;break;case"string":s=a(r[n].until).startOf("day").valueOf(),r[n].until=s.valueOf()}return r},jn.erasParse=function(e,t,n){var i,a,s,r,o,l=this.eras();for(e=e.toUpperCase(),i=0,a=l.length;i<a;++i)if(s=l[i].name.toUpperCase(),r=l[i].abbr.toUpperCase(),o=l[i].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(r===e)return l[i];break;case"NNNN":if(s===e)return l[i];break;case"NNNNN":if(o===e)return l[i]}else if([s,r,o].indexOf(e)>=0)return l[i]},jn.erasConvertYear=function(e,t){var n=e.since<=e.until?1:-1;return void 0===t?a(e.since).year():a(e.since).year()+(t-e.offset)*n},jn.erasAbbrRegex=function(e){return o(this,"_erasAbbrRegex")||Mn.call(this),e?this._erasAbbrRegex:this._erasRegex},jn.erasNameRegex=function(e){return o(this,"_erasNameRegex")||Mn.call(this),e?this._erasNameRegex:this._erasRegex},jn.erasNarrowRegex=function(e){return o(this,"_erasNarrowRegex")||Mn.call(this),e?this._erasNarrowRegex:this._erasRegex},jn.months=function(e,t){return e?s(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||ze).test(t)?"format":"standalone"][e.month()]:s(this._months)?this._months:this._months.standalone},jn.monthsShort=function(e,t){return e?s(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[ze.test(t)?"format":"standalone"][e.month()]:s(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},jn.monthsParse=function(e,t,n){var i,a,s;if(this._monthsParseExact)return Ne.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(a=p([2e3,i]),n&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(a,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(a,"").replace(".","")+"$","i")),n||this._monthsParse[i]||(s="^"+this.months(a,"")+"|^"+this.monthsShort(a,""),this._monthsParse[i]=new RegExp(s.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[i].test(e))return i;if(n&&"MMM"===t&&this._shortMonthsParse[i].test(e))return i;if(!n&&this._monthsParse[i].test(e))return i}},jn.monthsRegex=function(e){return this._monthsParseExact?(o(this,"_monthsRegex")||qe.call(this),e?this._monthsStrictRegex:this._monthsRegex):(o(this,"_monthsRegex")||(this._monthsRegex=We),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},jn.monthsShortRegex=function(e){return this._monthsParseExact?(o(this,"_monthsRegex")||qe.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(o(this,"_monthsShortRegex")||(this._monthsShortRegex=Ie),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},jn.week=function(e){return Xe(e,this._week.dow,this._week.doy).week},jn.firstDayOfYear=function(){return this._week.doy},jn.firstDayOfWeek=function(){return this._week.dow},jn.weekdays=function(e,t){var n=s(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Ue(n,this._week.dow):e?n[e.day()]:n},jn.weekdaysMin=function(e){return!0===e?Ue(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},jn.weekdaysShort=function(e){return!0===e?Ue(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},jn.weekdaysParse=function(e,t,n){var i,a,s;if(this._weekdaysParseExact)return it.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(a=p([2e3,1]).day(i),n&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(a,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(a,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(a,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[i]||(s="^"+this.weekdays(a,"")+"|^"+this.weekdaysShort(a,"")+"|^"+this.weekdaysMin(a,""),this._weekdaysParse[i]=new RegExp(s.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[i].test(e))return i;if(n&&"ddd"===t&&this._shortWeekdaysParse[i].test(e))return i;if(n&&"dd"===t&&this._minWeekdaysParse[i].test(e))return i;if(!n&&this._weekdaysParse[i].test(e))return i}},jn.weekdaysRegex=function(e){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||at.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(o(this,"_weekdaysRegex")||(this._weekdaysRegex=et),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},jn.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||at.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(o(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=tt),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},jn.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||at.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(o(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=nt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},jn.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},jn.meridiem=function(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"},_t("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===he(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),a.lang=Y("moment.lang is deprecated. Use moment.locale instead.",_t),a.langData=Y("moment.langData is deprecated. Use moment.localeData instead.",yt);var An=Math.abs;function zn(e,t,n,i){var a=Kt(t,n);return e._milliseconds+=i*a._milliseconds,e._days+=i*a._days,e._months+=i*a._months,e._bubble()}function In(e){return e<0?Math.floor(e):Math.ceil(e)}function Wn(e){return 4800*e/146097}function Nn(e){return 146097*e/4800}function Fn(e){return function(){return this.as(e)}}var Rn=Fn("ms"),qn=Fn("s"),$n=Fn("m"),Bn=Fn("h"),Gn=Fn("d"),Vn=Fn("w"),Xn=Fn("M"),Jn=Fn("Q"),Un=Fn("y"),Zn=Rn;function Kn(e){return function(){return this.isValid()?this._data[e]:NaN}}var Qn=Kn("milliseconds"),ei=Kn("seconds"),ti=Kn("minutes"),ni=Kn("hours"),ii=Kn("days"),ai=Kn("months"),si=Kn("years");var ri=Math.round,oi={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function li(e,t,n,i,a){return a.relativeTime(t||1,!!n,e,i)}var di=Math.abs;function ui(e){return(e>0)-(e<0)||+e}function ci(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,i,a,s,r,o,l=di(this._milliseconds)/1e3,d=di(this._days),u=di(this._months),c=this.asSeconds();return c?(e=me(l/60),t=me(e/60),l%=60,e%=60,n=me(u/12),u%=12,i=l?l.toFixed(3).replace(/\.?0+$/,""):"",a=c<0?"-":"",s=ui(this._months)!==ui(c)?"-":"",r=ui(this._days)!==ui(c)?"-":"",o=ui(this._milliseconds)!==ui(c)?"-":"",a+"P"+(n?s+n+"Y":"")+(u?s+u+"M":"")+(d?r+d+"D":"")+(t||e||l?"T":"")+(t?o+t+"H":"")+(e?o+e+"M":"")+(l?o+i+"S":"")):"P0D"}var mi=Ft.prototype;return mi.isValid=function(){return this._isValid},mi.abs=function(){var e=this._data;return this._milliseconds=An(this._milliseconds),this._days=An(this._days),this._months=An(this._months),e.milliseconds=An(e.milliseconds),e.seconds=An(e.seconds),e.minutes=An(e.minutes),e.hours=An(e.hours),e.months=An(e.months),e.years=An(e.years),this},mi.add=function(e,t){return zn(this,e,t,1)},mi.subtract=function(e,t){return zn(this,e,t,-1)},mi.as=function(e){if(!this.isValid())return NaN;var t,n,i=this._milliseconds;if("month"===(e=F(e))||"quarter"===e||"year"===e)switch(t=this._days+i/864e5,n=this._months+Wn(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(Nn(this._months)),e){case"week":return t/7+i/6048e5;case"day":return t+i/864e5;case"hour":return 24*t+i/36e5;case"minute":return 1440*t+i/6e4;case"second":return 86400*t+i/1e3;case"millisecond":return Math.floor(864e5*t)+i;default:throw new Error("Unknown unit "+e)}},mi.asMilliseconds=Rn,mi.asSeconds=qn,mi.asMinutes=$n,mi.asHours=Bn,mi.asDays=Gn,mi.asWeeks=Vn,mi.asMonths=Xn,mi.asQuarters=Jn,mi.asYears=Un,mi.valueOf=Zn,mi._bubble=function(){var e,t,n,i,a,s=this._milliseconds,r=this._days,o=this._months,l=this._data;return s>=0&&r>=0&&o>=0||s<=0&&r<=0&&o<=0||(s+=864e5*In(Nn(o)+r),r=0,o=0),l.milliseconds=s%1e3,e=me(s/1e3),l.seconds=e%60,t=me(e/60),l.minutes=t%60,n=me(t/60),l.hours=n%24,r+=me(n/24),o+=a=me(Wn(r)),r-=In(Nn(a)),i=me(o/12),o%=12,l.days=r,l.months=o,l.year
9218s=i,this},mi.clone=function(){return Kt(this)},mi.get=function(e){return e=F(e),this.isValid()?this[e+"s"]():NaN},mi.milliseconds=Qn,mi.seconds=ei,mi.minutes=ti,mi.hours=ni,mi.days=ii,mi.weeks=function(){return me(this.days()/7)},mi.months=ai,mi.years=si,mi.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,i,a=!1,s=oi;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(a=e),"object"==typeof t&&(s=Object.assign({},oi,t),null!=t.s&&null==t.ss&&(s.ss=t.s-1)),i=function(e,t,n,i){var a=Kt(e).abs(),s=ri(a.as("s")),r=ri(a.as("m")),o=ri(a.as("h")),l=ri(a.as("d")),d=ri(a.as("M")),u=ri(a.as("w")),c=ri(a.as("y")),m=s<=n.ss&&["s",s]||s<n.s&&["ss",s]||r<=1&&["m"]||r<n.m&&["mm",r]||o<=1&&["h"]||o<n.h&&["hh",o]||l<=1&&["d"]||l<n.d&&["dd",l];return null!=n.w&&(m=m||u<=1&&["w"]||u<n.w&&["ww",u]),(m=m||d<=1&&["M"]||d<n.M&&["MM",d]||c<=1&&["y"]||["yy",c])[2]=t,m[3]=+e>0,m[4]=i,li.apply(null,m)}(this,!a,s,n=this.localeData()),a&&(i=n.pastFuture(+this,i)),n.postformat(i)},mi.toISOString=ci,mi.toString=ci,mi.toJSON=ci,mi.locale=dn,mi.localeData=cn,mi.toIsoString=Y("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",ci),mi.lang=un,A("X",0,0,"unix"),A("x",0,0,"valueOf"),de("x",ie),de("X",/[+-]?\d+(\.\d{1,3})?/),fe("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e))}),fe("x",function(e,t,n){n._d=new Date(he(e))}),a.version="2.30.1",t=At,a.fn=En,a.min=function(){return Wt("isBefore",[].slice.call(arguments,0))},a.max=function(){return Wt("isAfter",[].slice.call(arguments,0))},a.now=function(){return Date.now?Date.now():+new Date},a.utc=p,a.unix=function(e){return At(1e3*e)},a.months=function(e,t){return Cn(e,t,"months")},a.isDate=c,a.locale=_t,a.invalid=g,a.duration=Kt,a.isMoment=L,a.weekdays=function(e,t,n){return On(e,t,n,"weekdays")},a.parseZone=function(){return At.apply(null,arguments).parseZone()},a.localeData=yt,a.isDuration=Rt,a.monthsShort=function(e,t){return Cn(e,t,"monthsShort")},a.weekdaysMin=function(e,t,n){return On(e,t,n,"weekdaysMin")},a.defineLocale=gt,a.updateLocale=function(e,t){if(null!=t){var n,i,a=ut;null!=ct[e]&&null!=ct[e].parentLocale?ct[e].set(S(ct[e]._config,t)):(null!=(i=ft(e))&&(a=i._config),t=S(a,t),null==i&&(t.abbr=e),(n=new E(t)).parentLocale=ct[e],ct[e]=n),_t(e)}else null!=ct[e]&&(null!=ct[e].parentLocale?(ct[e]=ct[e].parentLocale,e===_t()&&_t(e)):null!=ct[e]&&delete ct[e]);return ct[e]},a.locales=function(){return k(ct)},a.weekdaysShort=function(e,t,n){return On(e,t,n,"weekdaysShort")},a.normalizeUnits=F,a.relativeTimeRounding=function(e){return void 0===e?ri:"function"==typeof e&&(ri=e,!0)},a.relativeTimeThreshold=function(e,t){return void 0!==oi[e]&&(void 0===t?oi[e]:(oi[e]=t,"s"===e&&(oi.ss=t-1),!0))},a.calendarFormat=function(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},a.prototype=En,a.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},a}()},2813(e){"use strict";var t,n,i=0;function a(e){return e>=48&&e<=57}function s(e,t){for(var s=(e+="").length,r=(t+="").length,o=0,l=0;o<s&&l<r;){var d=e.charCodeAt(o),u=t.charCodeAt(l);if(a(d)){if(!a(u))return d-u;for(var c=o,m=l;48===d&&++c<s;)d=e.charCodeAt(c);for(;48===u&&++m<r;)u=t.charCodeAt(m);for(var h=c,p=m;h<s&&a(e.charCodeAt(h));)++h;for(;p<r&&a(t.charCodeAt(p));)++p;var f=h-c-p+m;if(f)return f;for(;c<h;)if(f=e.charCodeAt(c++)-t.charCodeAt(m++))return f;o=h,l=p}else{if(d!==u)return d<i&&u<i&&-1!==n[d]&&-1!==n[u]?n[d]-n[u]:d-u;++o,++l}}return o>=s&&l<r&&s>=r?-1:l>=r&&o<s&&r>=s?1:s-r}s.caseInsensitive=s.i=function(e,t){return s((""+e).toLowerCase(),(""+t).toLowerCase())},Object.defineProperties(s,{alphabet:{get:function(){return t},set:function(e){n=[];var a=0;if(t=e)for(;a<t.length;a++)n[t.charCodeAt(a)]=a;for(i=n.length,a=0;a<i;a++)void 0===n[a]&&(n[a]=-1)}}}),e.exports=s},5072(e){"use strict";var t=[];function n(e){for(var n=-1,i=0;i<t.length;i++)if(t[i].identifier===e){n=i;break}return n}function i(e,i){for(var s={},r=[],o=0;o<e.length;o++){var l=e[o],d=i.base?l[0]+i.base:l[0],u=s[d]||0,c="".concat(d," ").concat(u);s[d]=u+1;var m=n(c),h={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==m)t[m].references++,t[m].updater(h);else{var p=a(h,i);
9218i.byIndex=o,t.splice(o,0,{identifier:c,updater:p,references:1})}r.push(c)}return r}function a(e,t){var n=t.domAPI(t);return n.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,a){var s=i(e=e||[],a=a||{});return function(e){e=e||[];for(var r=0;r<s.length;r++){var o=n(s[r]);t[o].references--}for(var l=i(e,a),d=0;d<s.length;d++){var u=n(s[d]);0===t[u].references&&(t[u].updater(),t.splice(u,1))}s=l}}},7659(e){"use strict";var t={};e.exports=function(e,n){var i=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(n)}},540(e){"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},5056(e,t,n){"use strict";e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},7825(e){"use strict";e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var i="";n.supports&&(i+="@supports (".concat(n.supports,") {")),n.media&&(i+="@media ".concat(n.media," {"));var a=void 0!==n.layer;a&&(i+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),i+=n.css,a&&(i+="}"),n.media&&(i+="}"),n.supports&&(i+="}");var s=n.sourceMap;s&&"undefined"!=typeof btoa&&(i+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(s))))," */")),t.styleTagTransform(i,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},1113(e){"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},4779(){window.addEventListener("DOMContentLoaded",()=>{const e=document.querySelectorAll("#block-easy-breadcrumb-easy-breadcrumb, .block-system-breadcrumb-block");if(e[0]){let t=e[0].querySelectorAll("ol.breadcrumb, div.easy-breadcrumb");console.log(e[0]),e[0].querySelectorAll(".easy-breadcrumb_segment, .breadcrumb-item").forEach(e=>{var t;"Story"===(null===(t=e.textContent)||void 0===t?void 0:t.trim())&&(e.style.cursor="pointer",e.addEventListener("click",()=>{window.open("/blog","_self")}))}),console.log(t[0].scrollWidth),t[0].scrollTo({left:t[0].scrollWidth,top:0})}})},1235(){window.addEventListener("DOMContentLoaded",()=>{let e=document.querySelector("#block-views-pages-faqs, #block-views-page-faqs, #block-views-block-page-faqs");const t=(e,t)=>{for(var n=2;n<e.length;n++)e[n].style.maxHeight="max"===t?e[n].scrollHeight+"px":null};if(e){let n=e.querySelectorAll(".plusminus, strong");n.forEach(e=>{e.addEventListener("click",function(){let e=this.parentNode.children;const i=this.parentNode;i.classList.contains("active")?(i.classList.remove("active"),t(e,null)):((e=>{e.forEach(e=>{let n=e.parentNode.children;e.parentNode.classList.remove("active"),t(n,null)})})(n),i.classList.add("active"),t(e,"max"))})})}})},3891(e){e.exports=function(){"use strict";function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,a(i.key),i)}}function t(e,t,n){return(t=a(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function n(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function i(e){for(var i=1;i<arguments.length;i++){var a=null!=arguments[i]?arguments[i]:{};i%2?n(Object(a),!0).forEach(function(n){t(e,n,a[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):n(Object(a)).forEac
vendor: 7,719 bytes, line 9218
9218h(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}function a(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}var r={backdrop:!0,button:!0,navbar:!0,navigation:!1,title:!0,toolbar:!0,className:"",container:"body",filter:null,fullscreen:!0,inheritedAttributes:["crossOrigin","decoding","isMap","loading","referrerPolicy","sizes","srcset","useMap"],initialCoverage:.9,initialViewIndex:0,inline:!1,autoplay:!0,interval:5e3,keyboard:!0,focus:!0,loading:!0,loop:!0,preload:!0,minWidth:200,minHeight:100,movable:!0,magnifier:!1,rotatable:!0,rotateOnGesture:!0,rotateOnTouch:!0,scalable:!0,zoomable:!0,zoomOnTouch:!0,zoomOnGesture:!0,zoomOnWheel:!0,slideOnTouch:!0,toggleOnDblclick:!0,tooltip:!0,transition:!0,zIndex:2015,zIndexInline:0,zoomRatio:.1,minZoomRatio:.01,maxZoomRatio:100,url:"src",ready:null,show:null,shown:null,hide:null,hidden:null,view:null,viewed:null,move:null,moved:null,rotate:null,rotated:null,scale:null,scaled:null,zoom:null,zoomed:null,play:null,stop:null},o="undefined"!=typeof window&&void 0!==window.document,l=o?window:{},d=!(!o||!l.document.documentElement)&&"ontouchstart"in l.document.documentElement,u=!!o&&"PointerEvent"in l,c="viewer",m="move",h="rotate",p="switch",f="transform",_="zoom",g="".concat(c,"-active"),y="".concat(c,"-close"),v="".concat(c,"-fade"),M="".concat(c,"-fixed"),w="".concat(c,"-fullscreen"),L="".concat(c,"-fullscreen-exit"),b="".concat(c,"-hide"),Y="".concat(c,"-hide-md-down"),k="".concat(c,"-hide-sm-down"),D="".concat(c,"-hide-xs-down"),T="".concat(c,"-in"),x="".concat(c,"-invisible"),S="".concat(c,"-loading"),E="".concat(c,"-move"),H="".concat(c,"-open"),j="".concat(c,"-show"),P="".concat(c,"-transition"),C="click",O="dblclick",A="dragstart",z="focusin",I="keydown",W="load",N="error",F=u?"pointerdown":d?"touchstart":"mousedown",R=u?"pointerenter":"mouseenter",q=u?"pointerleave":"mouseleave",$=u?"pointermove":d?"touchmove":"mousemove",B=u?"pointerup pointercancel":d?"touchend touchcancel":"mouseup",G="resize",V="transitionend",X="wheel",J="gesturestart gesturechange gestureend",U="ready",Z="show",K="shown",Q="hide",ee="hidden",te="view",ne="viewed",ie="move",ae="moved",se="rotate",re="rotated",oe="scale",le="scaled",de="zoom",ue="zoomed",ce="play",me="stop",he="".concat(c,"Action"),pe=/\s+/,fe=["zoom-in","zoom-out","one-to-one","reset","prev","play","next","rotate-left","rotate-right","flip-horizontal","flip-vertical"];function _e(e){return"string"==typeof e}var ge=Number.isNaN||l.isNaN;function ye(e){return"number"==typeof e&&!ge(e)}function ve(e){return void 0===e}function Me(e){return"object"===s(e)&&null!==e}var we=Object.prototype.hasOwnProperty;function Le(e){if(!Me(e))return!1;try{var t=e.constructor,n=t.prototype;return t&&n&&we.call(n,"isPrototypeOf")}catch(e){return!1}}function be(e){return"function"==typeof e}function Ye(e,t){if(e&&be(t))if(Array.isArray(e)||ye(e.length)){var n,i=e.length;for(n=0;n<i&&!1!==t.call(e,e[n],n,e);n+=1);}else Me(e)&&Object.keys(e).forEach(function(n){t.call(e,e[n],n,e)});return e}function ke(e,t,n){Ye(n,function(n){var i=t.getAttribute(n);null!==i&&e.setAttribute(n,i)})}function De(e,t){var n=e.transition;return n&&!1!==n[t]}var Te=Object.assign||function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];return Me(e)&&n.length>0&&n.forEach(function(t){Me(t)&&Object.keys(t).forEach(function(n){e[n]=t[n]})}),e},xe=/^(?:width|height|left|top|marginLeft|marginTop)$/;function Se(e,t){var n=e.style;Ye(t,function(e,t){xe.test(t)&&ye(e)&&(e+="px"),n[t]=e})}function Ee(e,t){return!(!e||!t)&&(e.classList?e.classList.contains(t):e.className.split(pe).indexOf(t)>-1)}function He(e,t){if(e&&t)if(ye(e.length))Ye(e,function(e){He(e,t)});else if(e.classList)e.classList.add(t);else{var n=e.className.trim();n?n.indexOf(t)<0&&(e.className="".concat(n," ").concat(t)):e.className=t}}function je(e,t){if(e&&t)if(ye(e.length))Ye(e,function(e){je(e,t)});else if(e.classList)e.classList.remove(t);else{var n=e.className;n&&n.indexOf(t)>=0&&(e.className=n.split(pe).filter(function(e){return e&&e!==t}).join(" "))}}function Pe(e,t,n){t&&(ye(e.length)?Ye(e,function(e){Pe(e,t,n)}):n?He(e,t):je(e,t))}var Ce=/([a-z\d])([A-Z])/g;function Oe(e){return e.replace(Ce,"$1-$2").toLowerCase()}function Ae(e,t){return Me(e[t])?e[t]:e.dataset?e.dataset[t]:e.getAttribute("data-".concat(Oe(t)))}function ze(e,t,n){Me(n)?e[t]=n:e.dataset?e.dataset[t]=n:e.setAttribute("data-".concat(Oe(t)),n)}var Ie=function(){var e=!1;if(o){var t=!1,n=function(){},i=Object.defineProperty({},"once",{get:function(){return e=!0,t},set:function(e){t=e}});l.addEventListener("test",n,i),l.removeEventListener("test",n,i)}return e}();function We(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=n;t.trim().split(pe).forEach(function(t){if(!Ie){var s=e.listeners;s&&s[t]&&s[t][n]&&(a=s[t][n],delete s[t][n],0===Object.keys(s[t]).length&&delete s[t],0===Object.keys(s).length&&delete e.listeners)}e.removeEventListener(t,a,i)})}function Ne(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=n;t.trim().split(pe).forEach(function(t){if(i.once&&!Ie){var s=e.listeners,r=void 0===s?{}:s;a=function(){delete r[t][n],e.removeEventListener(t,a,i);for(var s=arguments.length,o=new Array(s),l=0;l<s;l++)o[l]=arguments[l];n.apply(e,o)},r[t]||(r[t]={}),r[t][n]&&e.removeEventListener(t,r[t][n],i),r[t][n]=a,e.listeners=r}e.addEventListener(t,a,i)})}function Fe(e,t,n,a){var s;return be(Event)&&be(CustomEvent)?s=new CustomEvent(t,i({bubbles:!0,cancelable:!0,detail:n},a)):(s=document.createEvent("CustomEvent")).initCustomEvent(t,!0,!0,n),e.dispatchEvent(s)}function Re(e){var t=e.rotate,n=e.scaleX,i=e.scaleY,a=e.translateX,s=e.translateY,r=[];ye(a)&&0!==a&&r.push("translateX(".concat(a,"px)")),ye(s)&&0!==s&&r.push("translateY(".concat(s,"px)")),ye(t)&&0!==t&&r.push("rotate(".concat(t,"deg)")),ye(n)&&ye(i)&&(1!==n||1!==i)&&(r.push("scaleX(".concat(n,")")),r.push("scaleY(".concat(i,")")));var o=r.length?r.join(" "):"none";return{WebkitTransform:o,msTransform:o,transform:o}}var qe=l.navigator&&/Version\/\d+(\.\d+)+?\s+Safari/i.test(l.navigator.userAgent);function $e(e,t,n){var i=document.createElement("img");if(e.naturalWidth&&!qe)return n(e.naturalWidth,e.naturalHeight),i;var a=document.body||document.documentElement;return i.onload=function(){n(i.width,i.height),qe||a.removeChild(i)},ke(i,e,t.inheritedAttributes),i.src=e.src,qe||(i.style.cssText="left:0;max-height:none!important;max-width:none!important;min-height:0!important;min-width:0!important;opacity:0;position:absolute;top:0;z-index:-1;",a.appendChild(i)),i}function Be(e){switch(e){case 2:return D;case 3:return k;case 4:return Y;default:return""}}function Ge(e){var t=i({},e),n=[];return Ye(e,function(e,i){delete t[i],Ye(t,function(t){var i=Math.abs(e.startX-t.startX),a=Math.abs(e.startY-t.startY),s=Math.abs(e.endX-t.endX),r=Math.abs(e.endY-t.endY),o=Math.sqrt(i*i+a*a),l=(Math.sqrt(s*s+r*r)-o)/o;n.push(l)})}),n.sort(function(e,t){return Math.abs(e)<Math.abs(t)}),n[0]}function Ve(e){var t=i({},e),n=[];return Ye(e,function(e,i){delete t[i],Ye(t,function(t){var i=Math.atan2(t.startY-e.startY,t.startX-e.startX),a=Math.atan2(t.endY-e.endY,t.endX-e.endX)-i;a>
9218Math.PI?a-=2*Math.PI:a<-Math.PI&&(a+=2*Math.PI),n.push(180*a/Math.PI)})}),n.sort(function(e,t){return Math.abs(t)-Math.abs(e)}),n[0]||0}function Xe(e,t){var n=e.pageX,a=e.pageY,s={endX:n,endY:a};return t?s:i({timeStamp:Date.now(),startX:n,startY:a},s)}var Je,Ue={render:function(){this.initContainer(),this.initViewer(),this.initList(),this.renderViewer()},initBody:function(){var e=this.ownerDocument,t=e.body||e.documentElement;this.body=t,this.scrollbarWidth=window.innerWidth-e.documentElement.clientWidth,this.initialBodyPaddingRight=t.style.paddingRight,this.initialBodyComputedPaddingRight=window.getComputedStyle(t).paddingRight},initContainer:function(){this.containerData={width:window.innerWidth,height:window.innerHeight}},initViewer:function(){var e,t=this.options,n=this.parent;t.inline&&(e={width:Math.max(n.offsetWidth,t.minWidth),height:Math.max(n.offsetHeight,t.minHeight)},this.parentData=e),!this.fulled&&e||(e=this.containerData),this.viewerData=Te({},e)},renderViewer:function(){this.options.inline&&!this.fulled&&Se(this.viewer,this.viewerData)},initList:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.index,n=this.element,i=this.options,a=this.list,s=[],r=Le(i.navbar)?i.navbar:{},o=document.createElement("li");a.appendChild(o);var l=o.offsetWidth+parseInt(window.getComputedStyle(o).marginLeft,10);a.removeChild(o);var d=ye(r.visibleItemCount)?Math.floor(r.visibleItemCount):Math.floor(this.containerData.width/l),u=(d=Math.min(d,this.length))>0?Math.min(Math.max(0,t-Math.floor(d/2)),Math.max(0,this.length-d)):0,c=d>0?Math.min(this.length,u+d):this.length;if(a.innerHTML="",Ye(this.images,function(t,n){if(!(d>0&&(n<u||n>=c))){var r=t.src,o=t.alt||function(e){return _e(e)?decodeURIComponent(e.replace(/^.*\//,"").replace(/[?&#].*$/,"")):""}(r),l=e.getImageURL(t);if(r||l){var m=document.createElement("li"),h=document.createElement("img");ke(h,t,i.inheritedAttributes),i.navbar&&(h.src=r||l),h.alt=o,h.setAttribute("data-original-url",l||r),m.setAttribute("data-index",n),m.setAttribute("data-viewer-action","view"),m.setAttribute("role","button"),i.keyboard&&m.setAttribute("tabindex",0),m.appendChild(h),a.appendChild(m),s.push(m)}}}),this.items=s,this.viewed){var m=this.getItem(this.index);m&&(He(m,g),m.setAttribute("aria-selected",!0))}Ye(s,function(t){var n,a,s=t.firstElementChild;ze(s,"filled",!0),i.loading&&He(t,S),Ne(s,W,n=function(n){We(s,N,a),i.loading&&je(t,S),e.loadImage(n)},{once:!0}),Ne(s,N,a=function(){We(s,W,n),i.loading&&je(t,S)},{once:!0})}),De(i,"view")&&Ne(n,ne,function(){He(a,P)},{once:!0})},getItem:function(e){var t;return Ye(this.items,function(n){return Number(Ae(n,"index"))!==e||(t=n,!1)}),t},renderList:function(){var e=this.index,t=this.getItem(e);if(t){var n=t.nextElementSibling,i=parseInt(window.getComputedStyle(n||t).marginLeft,10),a=t.offsetWidth,s=a+i;Se(this.list,Te({width:s*this.items.length-i},Re({translateX:(this.viewerData.width-a)/2-t.offsetLeft})))}},resetList:function(){var e=this.list;e.innerHTML="",je(e,P),Se(e,Te({width:0},Re({translateX:0})))},initImage:function(e){var t,n=this,i=this.options,a=this.image,s=this.viewerData,r=this.footer.offsetHeight,o=s.width,l=Math.max(s.height-r,r),d=this.imageData||{};this.imageInitializing={abort:function(){t.onload=null}},t=$e(a,i,function(t,a){var s=t/a,r=Math.max(0,Math.min(1,i.initialCoverage)),u=o,c=l;n.imageInitializing=!1,l*s>o?c=o/s:u=l*s,r=ye(r)?r:.9,u=Math.min(u*r,t),c=Math.min(c*r,a);var m=(o-u)/2,h=(l-c)/2,p={left:m,top:h,x:m,y:h,width:u,height:c,oldRatio:1,ratio:u/t,aspectRatio:s,naturalWidth:t,naturalHeight:a},f=Te({},p);i.rotatable&&(p.rotate=d.rotate||0,f.rotate=0),i.scalable&&(p.scaleX=d.scaleX||1,p.scaleY=d.scaleY||1,f.scaleX=1,f.scaleY=1),n.imageData=p,n.initialImageData=f,e&&e()})},renderImage:function(e){var t=this,n=this.image,i=this.imageData;if(Se(n,Te({width:i.width,height:i.height,marginLeft:i.x,marginTop:i.y},Re(i))),this.magnifierPoint&&this.renderMagnifier(),e){var a=!1;if(this.viewing?a="view":this.moving?a="move":this.rotating?a="rotate":this.scaling?a="scale":this.zooming&&(a="zoom"),a&&De(this.options,a)&&Ee(n,P)){var s=function(){t.imageRendering=!1,e()};this.imageRendering={abort:function(){We(n,V,s)}},Ne(n,V,s,{once:!0})}else e()}},resetImage:function(){var e=this.image;e&&(this.viewing&&this.viewing.abort(),e.parentNode.removeChild(e),this.image=null,this.title.innerHTML="")}},Ze={bind:function(){var e=this.options,t=this.viewer,n=this.canvas,i=this.ownerDocument;Ne(t,C,this.onClick=this.click.bind(this)),Ne(t,A,this.onDragStart=this.dragstart.bind(this)),Ne(t,R,this.onMagnifyEnter=this.magnify.bind(this)),Ne(t,$,this.onMagnify=this.magnify.bind(this)),Ne(t,q,this.onMagnifierLeave=this.hideMagnifier.bind(this)),Ne(n,F,this.onPointerDown=this.pointerdown.bind(this)),Ne(i,$,this.onPointerMove=this.pointermove.bind(this)),Ne(i,B,this.onPointerUp=this.pointerup.bind(this)),Ne(i,I,this.onKeyDown=this.keydown.bind(this)),Ne(window,G,this.onResize=this.resize.bind(this)),e.zoomable&&e.zoomOnWheel&&Ne(t,X,this.onWheel=this.wheel.bind(this),{passive:!1,capture:!0}),(e.zoomable&&e.zoomOnGesture||e.rotatable&&e.rotateOnGesture)&&Ne(t,J,this.onGesture=this.gesture.bind(this),{passive:!1}),e.toggleOnDblclick&&Ne(n,O,this.onDblclick=this.dblclick.bind(this))},unbind:function(){var e=this.options,t=this.viewer,n=this.canvas,i=this.ownerDocument;We(t,C,this.onClick),We(t,A,this.onDragStart),We(t,R,this.onMagnifyEnter),We(t,$,this.onMagnify),We(t,q,this.onMagnifierLeave),We(n,F,this.onPointerDown),We(i,$,this.onPointerMove),We(i,B,this.onPointerUp),We(i,I,this.onKeyDown),We(window,G,this.onResize),e.zoomable&&e.zoomOnWheel&&We(t,X,this.onWheel,{passive:!1,capture:!0}),(e.zoomable&&e.zoomOnGesture||e.rotatable&&e.rotateOnGesture)&&We(t,J,this.onGesture,{passive:!1}),e.toggleOnDblclick&&We(n,O,this.onDblclick)}},Ke={click:function(e){var t=this.options,n=this.imageData,i=e.target,a=Ae(i,he);switch(a||"img"!==i.localName||"li"!==i.parentElement.localName||(a=Ae(i=i.parentElement,he)),d&&e.isTrusted&&i===this.canvas&&clearTimeout(this.clickCanvasTimeout),a){case"mix":this.played?this.stop():t.inline?this.fulled?this.exit():this.full():this.hide();break;case"hide":this.pointerMoved||this.hide();break;case"view":this.view(Ae(i,"index"));break;case"zoom-in":this.zoom(.1,!0);break;case"zoom-out":this.zoom(-.1,!0);break;case"one-to-one":this.toggle();break;case"reset":this.reset();break;case"prev":this.prev(t.loop);break;case"play":this.play(t.fullscreen);break;case"next":this.next(t.loop);break;case"rotate-left":this.rotate(-90);break;case"rotate-right":this.rotate(90);break;case"flip-horizontal":this.scaleX(-n.scaleX||-1);break;
9218case"flip-vertical":this.scaleY(-n.scaleY||-1);break;default:this.played&&this.stop()}},dblclick:function(e){e.preventDefault(),this.viewed&&e.target===this.image&&(d&&e.isTrusted&&clearTimeout(this.doubleClickImageTimeout),this.toggle(e.isTrusted?e:e.detail&&e.detail.originalEvent))},load:function(){var e=this;this.timeout&&(clearTimeout(this.timeout),this.timeout=!1);var t=this.element,n=this.options,i=this.image,a=this.index,s=this.viewerData;je(i,x),n.loading&&je(this.canvas,S),i.style.cssText="height:0;"+"margin-left:".concat(s.width/2,"px;")+"margin-top:".concat(s.height/2,"px;")+"max-width:none!important;position:relative;width:0;",this.initImage(function(){Pe(i,E,n.movable),Pe(i,P,De(n,"view")),e.renderImage(function(){e.viewed=!0,e.viewing=!1,setTimeout(function(){Pe(i,P,n.transition)},300),be(n.viewed)&&Ne(t,ne,n.viewed,{once:!0}),Fe(t,ne,{originalImage:e.images[a],index:a,image:i},{cancelable:!1})})})},loadImage:function(e){var t=e.target,n=t.parentNode,i=n.offsetWidth||30,a=n.offsetHeight||50,s=!!Ae(t,"filled");$e(t,this.options,function(e,n){var r=e/n,o=i,l=a;a*r>i?s?o=a*r:l=i/r:s?l=i/r:o=a*r,Se(t,Te({width:o,height:l},Re({translateX:(i-o)/2,translateY:(a-l)/2})))})},keydown:function(e){var t=this.options;if(t.keyboard){var n=e.keyCode||e.which||e.charCode;if(13===n&&this.viewer.contains(e.target)&&this.click(e),this.fulled)switch(n){case 27:this.played?this.stop():t.inline?this.fulled&&this.exit():this.hide();break;case 32:this.played&&this.stop();break;case 37:this.played&&this.playing?this.playing.prev():this.prev(t.loop);break;case 38:e.preventDefault(),this.zoom(t.zoomRatio,!0);break;case 39:this.played&&this.playing?this.playing.next():this.next(t.loop);break;case 40:e.preventDefault(),this.zoom(-t.zoomRatio,!0);break;case 48:case 49:e.ctrlKey&&(e.preventDefault(),this.toggle())}}},dragstart:function(e){"img"===e.target.localName&&e.preventDefault()},magnify:function(e){e.changedTouches||e.pointerType&&"mouse"!==e.pointerType?this.hideMagnifier():(this.magnifierPoint={clientX:e.clientX,clientY:e.clientY},this.renderMagnifier())},renderMagnifier:function(){var e=this.options,t=this.imageData,n=this.magnifier,i=this.magnifierImage,a=this.viewer,s=Le(e.magnifier)?e.magnifier:{},r=this.magnifierPoint;if(e.magnifier&&this.fulled&&this.viewed&&n&&i&&r){var o=Math.max(1,Number(s.size)||100),l=Math.max(1,Number(s.zoomRatio)||2),d=Number(s.opacity),u=a.getBoundingClientRect(),c=r.clientX-u.left,m=r.clientY-u.top,h=this.image.currentSrc||this.image.src,p=this.image.getBoundingClientRect();if(r.clientX<p.left||r.clientX>p.right||r.clientY<p.top||r.clientY>p.bottom)this.hideMagnifier();else{var f=ye(t.scaleX)?t.scaleX:1,_=ye(t.scaleY)?t.scaleY:1,g=(t.rotate||0)*Math.PI/180,y=Math.cos(g),v=Math.sin(g),M=y*f,w=v*f,L=-v*_,b=y*_,Y=f*_;if(0!==Y){var k=t.x+t.width/2,D=t.y+t.height/2,T=(-w*(c-k)+M*(m-D))/Y,x=(b*(c-k)-L*(m-D))/Y+t.width/2,S=T+t.height/2,E=t.width*l,H=t.height*l,j=M*(x*l-E/2)+L*(S*l-H/2),P=w*(x*l-E/2)+b*(S*l-H/2);this.magnifierSourcePoint={x,y:S},n.style.width="".concat(o,"px"),n.style.height="".concat(o,"px"),n.style.opacity="".concat(Math.max(0,Math.min(1,ye(d)?d:1))),i.src=h,i.style.width="".concat(E,"px"),i.style.height="".concat(H,"px"),i.style.left="".concat(o/2-E/2-j,"px"),i.style.top="".concat(o/2-H/2-P,"px"),i.style.transform="rotate(".concat(t.rotate||0,"deg) scaleX(").concat(f,") scaleY(").concat(_,")"),n.removeAttribute("aria-hidden"),He(n,"viewer-show")}else this.hideMagnifier()}}else this.hideMagnifier()},hideMagnifier:function(){this.magnifier&&(je(this.magnifier,"viewer-show"),this.magnifier.setAttribute("aria-hidden",!0),this.magnifierPoint=null)},pointerdown:function(e){var t=this.options,n=this.pointers,i=e.buttons,a=e.button;if(this.pointerMoved=!1,!(!this.viewed||this.showing||this.viewing||this.hiding||("mousedown"===e.type||"pointerdown"===e.type&&"mouse"===e.pointerType)&&(ye(i)&&1!==i||ye(a)&&0!==a||e.ctrlKey))){e.preventDefault(),e.changedTouches?Ye(e.changedTouches,function(e){n[e.identifier]=Xe(e)}):n[e.pointerId||0]=Xe(e);var s=!!t.movable&&m;(t.zoomable&&t.zoomOnTouch||t.rotatable&&t.rotateOnTouch)&&Object.keys(n).length>1?s=f:t.slideOnTouch&&("touch"===e.pointerType||"touchstart"===e.type)&&this.isSwitchable()&&(s=p),s!==m&&s!==_&&s!==h&&s!==f||je(this.image,P),this.action=s}},pointermove:function(e){var t=this.pointers,n=this.action;this.viewed&&n&&(e.preventDefault(),e.changedTouches?Ye(e.changedTouches,function(e){Te(t[e.identifier]||{},Xe(e,!0))}):Te(t[e.pointerId||0]||{},Xe(e,!0)),this.change(e))},pointerup:function(e){var t,n=this,i=this.options,a=this.action,s=this.pointers;if(e.changedTouches?Ye(e.changedTouches,function(e){t=s[e.identifier],delete s[e.identifier]}):(t=s[e.pointerId||0],delete s[e.pointerId||0]),a){if(e.preventDefault(),a===m||a===_||a===h||a===f){var r=a===f?De(i,_)||De(i,h):De(i,a);Pe(this.image,P,r)}this.action=!1,d&&a!==_&&a!==f&&t&&Date.now()-t.timeStamp<500&&(clearTimeout(this.clickCanvasTimeout),clearTimeout(this.doubleClickImageTimeout),i.toggleOnDblclick&&this.viewed&&e.target===this.image?this.pointerMoved?this.imageClicked=!1:this.imageClicked?(this.imageClicked=!1,this.doubleClickImageTimeout=setTimeout(function(){Fe(n.image,O,{originalEvent:e})},50)):(this.imageClicked=!0,this.doubleClickImageTimeout=setTimeout(function(){n.imageClicked=!1},500)):(this.imageClicked=!1,i.backdrop&&"static"!==i.backdrop&&e.target===this.canvas&&(this.clickCanvasTimeout=setTimeout(function(){Fe(n.canvas,C,{originalEvent:e})},50))))}},resize:function(){var e=this;if(this.isShown&&!this.hiding&&(this.fulled&&(this.close(),this.initBody(),this.open()),this.initContainer(),this.initViewer(),this.renderViewer(),ve((Le(this.options.navbar)?this.options.navbar:{}).visibleItemCount)&&this.initList(this.index),this.renderList(),this.viewed&&this.initImage(function(){e.renderImage()}),this.played)){if(this.options.fullscreen&&this.fulled&&!(document.fullscreenElement||document.webkitFullscreenElement||document.mozFullScreenElement||document.msFullscreenElement))return void this.stop();Ye(this.player.getElementsByTagName("img"),function(t){Ne(t,W,e.loadImage.bind(e),{once:!0}),Fe(t,W)})}},wheel:function(e){var t=this;if(this.viewed&&(e.preventDefault(),!this.gesturing&&!this.wheeling)){this.wheeling=!0,setTimeout(function(){t.wheeling=!1},50);var n=Number(this.options.zoomRatio)||.1,i=1;e.deltaY?i=e.deltaY>0?1:-1:e.wheelDelta?i=-e.wheelDelta/120:e.detail&&(i=e.detail>0?1:-1),this.zoom(-i*n,!0,null,e)}},gesture:function(e){var t=this.options;if(this.viewed&&(t.zoomOnGesture||t.rotateOnGesture))switch(e.preventDefault(),e.type){case"gesturestart":this.gesturing=!0,this.gestureScale=e.scale||1,this.gestureRotation=e.rotation||0;break;case"gesturechange":var n=e.scale||1,i=n/(this.gestureScale||1),a=Number(e.rotation),s=a-(this.gestureRotation||0);this.gestureScale=n,t.zoomable&&t.zoomOnGesture&&1!==i&&this.zoom(i>=1?i-1:1-1/i,!1,null,e),t.rotatable&&t.rotateOnGesture&&ye(a)&&(this.gestureRotation=a,0!==s&&this.rotate(s));break;case"gestureend":this.gesturing=!1,this.gestureScale=1,this.gestureRotation=0}}},Qe={show:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.element,n=this.options;if(n.inline||this.showing||this.isShown||this.showing)return this;if(!this.ready)return this.build(),this.ready&&this.show(e),this;if(be(n.show)&&Ne(t,Z,n.show,{once:!0}),!1===Fe(t,Z)||!this.ready)return this;this.hiding&&this.transitioning.abort(),this.showing=!0,this.open();var i=this.viewer;if(je(i,b),i.setAttribute("role","dialog"),i.setAttribute("aria-labelledby",this.title.id),i.setAttribute("aria-modal",!0),i.removeAttribute("aria-hidden"),De(n,"show")&&!e){var a=this.shown.bind(this);this.transitioning={abort:function(){We(i,V,a),je(i,T)}},He(i,P),i.initialOffsetWidth=i.offsetWidth,Ne(i,V,a,{once:!0}),He(i,T)}else He(i,T),this.shown();return this},hide:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=this.element,i=this.options;if(i.inline||this.hiding||!this.isShown&&!this.showing)return this;if(be(i.hide)&&Ne(n,Q,i.hide,{once:!0}),!1===Fe(n,Q)||this.destroyed)return this;this.showing&&this.transitioning.abort(),this.hiding=!0,this.played?this.stop():this.viewing&&this.viewing.abort();var a=this.viewer,s=this.image,r=function(){je(a,T),e.hidden()};if(De(i,"hide")&&!t){var o=function(t){t&&t.target===a&&(We(a,V,o),e.hidden())},l=function(){Ee(a,P)?(Ne(a,V,o),je(a,T)):r()};this.transitioning={abort:function(){e.viewed&&Ee(s,P)?We(s,V,l):Ee(a,P)&&We(a,V,o)}},this.viewed&&Ee(s,P)?(Ne(s,V,l,{once:!0}),this.zoomTo(0,!1,null,null,!0)):l()}else r();return this},view:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.options.initialViewIndex,n=this.index;if(t=Number(t)||0,this.hiding||this.played||t<0||t>=this.length||this.viewed&&t===n)return this;if(!this.isShown)return this.index=t,this.show();this.viewing&&this.viewing.abort();var i=this.element,a=this.options,s=this.title,r=this.canvas,o=this.getItem(t);o||(this.initList(t),o=this.getItem(t));var l=o.querySelector("img"),d=Ae(l,"originalUrl"),u=l.getAttribute("alt"),c=document.createElement("img");if(ke(c,l,a.inheritedAttributes),c.src=d,c.alt=u,be(a.view)&&Ne(i,te,a.view,{once:!0}),!1===Fe(i,te,{originalImage:this.images[t],index:t,image:c})||!this.isShown||this.hiding||this.played)return this;this.hideMagnifier();var m=this.getItem(n);m&&(je(m,g),m.removeAttribute("aria-selected")),He(o,g),o.setAttribute("aria-selected",!0),a.focus&&o.focus(),this.image=c,this.viewed=!1,this.index=t,this.imageData={}
vendor: 11,696 bytes, line 9218
9218,He(c,x),a.loading&&He(r,S),r.innerHTML="",r.appendChild(c),this.renderList(),s.innerHTML="";var h,p,f=function(){var i,r=e.imageData,o=Array.isArray(a.title)?a.title[1]:a.title;if(s.innerHTML=_e(i=be(o)?o.call(e,c,r):"".concat(u," (").concat(r.naturalWidth," Ã ").concat(r.naturalHeight,")"))?i.replace(/&(?!amp;|quot;|#39;|lt;|gt;)/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">"):i,a.preload){var l=t<n?-1:1,d=t+l;if((d<0||d>=e.length)&&(d=a.loop?l>0?0:e.length-1:-1),d!==t){var m=e.images[d],h=document.createElement("img");ke(h,m,a.inheritedAttributes),h.src=e.getImageURL(m)||m.src}}};return Ne(i,ne,f,{once:!0}),this.viewing={abort:function(){We(i,ne,f),c.complete?e.imageRendering?e.imageRendering.abort():e.imageInitializing&&e.imageInitializing.abort():(c.src="",We(c,W,h),e.timeout&&clearTimeout(e.timeout))}},c.complete?this.load():(Ne(c,W,h=function(){We(c,N,p),e.load()},{once:!0}),Ne(c,N,p=function(){We(c,W,h),e.timeout&&(clearTimeout(e.timeout),e.timeout=!1),je(c,x),a.loading&&je(e.canvas,S)},{once:!0}),this.timeout&&clearTimeout(this.timeout),this.timeout=setTimeout(function(){je(c,x),e.timeout=!1},1e3)),this},prev:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.index-1;return t<0&&(t=e?this.length-1:0),this.view(t),this},next:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.length-1,n=this.index+1;return n>t&&(n=e?0:t),this.view(n),this},move:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,n=this.imageData;return this.moveTo(ve(e)?e:n.x+Number(e),ve(t)?t:n.y+Number(t)),this},moveTo:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,a=this.element,s=this.options,r=this.imageData;if(e=Number(e),n=Number(n),this.viewed&&!this.played&&s.movable){var o=r.x,l=r.y,d=!1;if(ye(e)?d=!0:e=o,ye(n)?d=!0:n=l,d){if(be(s.move)&&Ne(a,ie,s.move,{once:!0}),!1===Fe(a,ie,{x:e,y:n,oldX:o,oldY:l,originalEvent:i}))return this;r.x=e,r.y=n,r.left=e,r.top=n,Pe(this.image,P,De(s,"move")),this.moving=!0,this.renderImage(function(){t.moving=!1,be(s.moved)&&Ne(a,ae,s.moved,{once:!0}),Fe(a,ae,{x:e,y:n,oldX:o,oldY:l,originalEvent:i},{cancelable:!1})})}}return this},rotate:function(e){return this.rotateTo((this.imageData.rotate||0)+Number(e)),this},rotateTo:function(e){var t=this,n=this.element,i=this.options,a=this.imageData;if(ye(e=Number(e))&&this.viewed&&!this.played&&i.rotatable){var s=a.rotate;if(be(i.rotate)&&Ne(n,se,i.rotate,{once:!0}),!1===Fe(n,se,{degree:e,oldDegree:s}))return this;a.rotate=e,Pe(this.image,P,De(i,"rotate")),this.rotating=!0,this.renderImage(function(){t.rotating=!1,be(i.rotated)&&Ne(n,re,i.rotated,{once:!0}),Fe(n,re,{degree:e,oldDegree:s},{cancelable:!1})})}return this},scaleX:function(e){return this.scale(e,this.imageData.scaleY),this},scaleY:function(e){return this.scale(this.imageData.scaleX,e),this},scale:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,i=this.element,a=this.options,s=this.imageData;if(e=Number(e),n=Number(n),this.viewed&&!this.played&&a.scalable){var r=s.scaleX,o=s.scaleY,l=!1;if(ye(e)?l=!0:e=r,ye(n)?l=!0:n=o,l){if(be(a.scale)&&Ne(i,oe,a.scale,{once:!0}),!1===Fe(i,oe,{scaleX:e,scaleY:n,oldScaleX:r,oldScaleY:o}))return this;s.scaleX=e,s.scaleY=n,Pe(this.image,P,De(a,"scale")),this.scaling=!0,this.renderImage(function(){t.scaling=!1,be(a.scaled)&&Ne(i,le,a.scaled,{once:!0}),Fe(i,le,{scaleX:e,scaleY:n,oldScaleX:r,oldScaleY:o},{cancelable:!1})})}}return this},zoom:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,a=this.imageData;return e=(e=Number(e))<0?1/(1-e):1+e,this.zoomTo(a.width*e/a.naturalWidth,t,n,i),this},zoomTo:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,s=arguments.length>4&&void 0!==arguments[4]&&arguments[4],r=this.element,o=this.options,l=this.pointers,d=this.imageData,u=d.x,c=d.y,m=d.width,h=d.height,p=d.naturalWidth,f=d.naturalHeight;if(ye(e=Math.max(0,e))&&this.viewed&&!this.played&&(s||o.zoomable)){if(!s){var _=Math.max(.01,be(o.minZoomRatio)?o.minZoomRatio.call(this,this.image,d):o.minZoomRatio),g=Math.min(100,be(o.maxZoomRatio)?o.maxZoomRatio.call(this,this.image,d):o.maxZoomRatio);e=Math.min(Math.max(e,_),g)}if(a)switch(a.type){case"wheel":o.zoomRatio>=.055&&e>.95&&e<1.05&&(e=1);break;case"pointermove":case"touchmove":case"mousemove":e>.99&&e<1.01&&(e=1)}var y=p*e,v=f*e,M=y-m,w=v-h,L=d.ratio;if(be(o.zoom)&&Ne(r,de,o.zoom,{once:!0}),!1===Fe(r,de,{ratio:e,oldRatio:L,originalEvent:a}))return this;if(this.zooming=!0,a){var b=function(e){var t=e.getBoundingClientRect();return{left:t.left+(window.pageXOffset-document.documentElement.clientLeft),top:t.top+(window.pageYOffset-document.documentElement.clientTop)}}(this.viewer),Y=l&&Object.keys(l).length>0?function(e){var t=0,n=0,i=0;return Ye(e,function(e){var a=e.startX,s=e.startY;t+=a,n+=s,i+=1}),{pageX:t/=i,pageY:n/=i}}(l):{pageX:a.pageX,pageY:a.pageY};d.x-=M*((Y.pageX-b.left-u)/m),d.y-=w*((Y.pageY-b.top-c)/h)}else Le(i)&&ye(i.x)&&ye(i.y)?(d.x-=M*((i.x-u)/m),d.y-=w*((i.y-c)/h)):(d.x-=M/2,d.y-=w/2);d.left=d.x,d.top=d.y,d.width=y,d.height=v,d.oldRatio=L,d.ratio=e,Pe(this.image,P,De(o,"zoom")),this.renderImage(function(){t.zooming=!1,be(o.zoomed)&&Ne(r,ue,o.zoomed,{once:!0}),Fe(r,ue,{ratio:e,oldRatio:L,originalEvent:a},{cancelable:!1})}),n&&this.tooltip()}return this},play:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!this.isShown||this.played)return this;var n=this.element,i=this.options;if(be(i.play)&&Ne(n,ce,i.play,{once:!0}),!1===Fe(n,ce))return this;var a=this.player,s=this.loadImage.bind(this),r=[],o=0,l=0;if(this.played=!0,this.onLoadWhenPlay=s,t&&this.requestFullscreen(t),He(a,j),Ye(this.images,function(t,n){var d=document.createElement("img");d.src=e.getImageURL(t)||t.src,d.alt=t.alt||"",d.referrerPolicy=t.referrerPolicy,o+=1,He(d,v),Pe(d,P,De(i,"play")),n===e.index&&(He(d,T),l=n),r.push(d),Ne(d,W,s,{once:!0}),a.appendChild(d)}),ye(i.interval)&&i.interval>0){var d=function(){clearTimeout(e.playing.timeout),je(r[l],T),He(r[l=(l-=1)>=0?l:o-1],T),e.playing.timeout=i.autoplay?setTimeout(d,i.interval):null},u=function(){clearTimeout(e.playing.timeout),je(r[l],T),He(r[l=(l+=1)<o?l:0],T),e.playing.timeout=i.autoplay?setTimeout(u,i.interval):null};o>1&&(this.playing={prev:d,next:u,timeout:i.autoplay?setTimeout(u,i.interval):null})}return this},stop:function(){var e=this;if(!this.played)return this;var t=this.element,n=this.options;if(be(n.stop)&&Ne(t,me,n.stop,{once:!0}),!1===Fe(t,me))return this;var i=this.player;return clearTimeout(this.playing.timeout),this.playing=!1,this.played=!1,Ye(i.getElementsByTagName("img"),function(t){We(t,W,e.onLoadWhenPlay)}),je(i,j),i.innerHTML="",this.exitFullscreen(),this},full:function(){var e=this,t=this.options,n=this.viewer,i=this.image,a=this.list;return!this.isShown||this.played||this.fulled||!t.inline||(this.fulled=!0,this.open(),He(this.button,L),je(a,P),this.viewed&&je(i,P),He(n,M),n.setAttribute("role","dialog"),n.setAttribute("aria-labelledby",this.title.id),n.setAttribute("aria-modal",!0),n.removeAttribute("style"),Se(n,{zIndex:t.zIndex}),t.focus&&this.enforceFocus(),this.initContainer(),this.viewerData=Te({},this.containerData),this.renderList(),this.viewed&&this.initImage(function(){e.renderImage()})),this},exit:function(){var e=this,t=this.options,n=this.viewer,i=this.image,a=this.list;return this.isShown&&!this.played&&this.fulled&&t.inline?(this.fulled=!1,this.close(),je(this.button,L),je(a,P),this.viewed&&je(i,P),t.focus&&this.clearEnforceFocus(),n.removeAttribute("role"),n.removeAttribute("aria-labelledby"),n.removeAttribute("aria-modal"),je(n,M),Se(n,{zIndex:t.zIndexInline}),this.viewerData=Te({},this.parentData),this.renderViewer(),this.renderList(),this.viewed&&this.initImage(function(){e.renderImage()}),this):this},tooltip:function(){var e=this,t=this.options,n=this.tooltipBox,i=this.imageData;return this.viewed&&!this.played&&t.tooltip?(n.textContent="".concat(Math.round(100*i.ratio),"%"),this.tooltipping?clearTimeout(this.tooltipping):De(t,"tooltip")?(this.fading&&Fe(n,V),He(n,j),He(n,v),He(n,P),n.removeAttribute("aria-hidden"),n.initialOffsetWidth=n.offsetWidth,He(n,T)):(He(n,j),n.removeAttribute("aria-hidden")),this.tooltipping=setTimeout(function(){De(t,"tooltip")?(Ne(n,V,function(){je(n,j),je(n,v),je(n,P),n.setAttribute("aria-hidden",!0),e.fading=!1},{once:!0}),je(n,T),e.fading=!0):(je(n,j),n.setAttribute("aria-hidden",!0)),e.tooltipping=!1},1e3),this):this},toggle:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return 1===this.imageData.ratio?this.zoomTo(this.imageData.oldRatio,!0,null,e):this.zoomTo(1,!0,null,e),this},reset:function(){return this.viewed&&!this.played&&(this.imageData=Te({},this.initialImageData),this.renderImage()),this},update:function(e){var t=this,n=this.element,i=this.options,a=this.isImg;if(Le(e)&&Te(i,e),a&&!n.parentNode)return this.destroy();var s=[];if(Ye(a?[n]:n.querySelectorAll("img"),function(e){be(i.filter)?i.filter.call(t,e)&&s.push(e):t.getImageURL(e)&&s.push(e)}),!s.length)return this;if(this.images=s,this.length=s.length,this.ready){var r=[];if(Ye(this.items,function(e){var t=e.querySelector("img"),n=Number(Ae(e,"index")),i=s[n];i&&t&&i.src===t.src&&i.alt===t.alt||r.push(n)}),Se(this.list,{width:"auto"}),this.initList(),this.isShown)if(this.length){if(this.viewed){var o=r.indexOf(this.index);if(o>=0)this.viewed=!1,this.view(Math.max(Math.min(this.index-o,this.length-1),0));else{var l=this.getItem(this.index);He(l,g),l.setAttribute("aria-selected",!0)}}}else this.image=null,this.viewed=!1,this.index=0,this.imageData={},this.canvas.innerHTML="",this.title.innerHTML=""}else this.build();return this},destroy:function(){var e=this.element,t=this.options;return e[c]?(this.destroyed=!0,this.ready?(this.played&&this.stop(),t.inline?(this.fulled&&this.exit(),this.unbind()):this.isShown?(this.viewing&&(this.imageRendering?this.imageRendering.abort():this.imageInitializing&&this.imageInitializing.abort()),this.hiding&&this.transitioning.abort(),this.hidden()):this.showing&&(this.transitioning.abort(),this.hidden()),this.ready=!1,this.viewer.parentNode.removeChild(this.viewer)):t.inline&&(this.delaying?this.delaying.abort():this.initializing&&this.initializing.abort()),t.inline||(We(e,C,this.onElementClick),We(e,I,this.onElementKeyDown)),e[c]=void 0,this):this}},et={getImageURL:function(e){var t=this.options.url;return _e(t)?e.getAttribute(t):be(t)?t.call(this,e):""},enforceFocus:function(){var e=this;this.clearEnforceFocus(),Ne(document,z,this.onFocusin=function(t){var n=e.viewer,i=t.target;if(i!==document&&i!==n&&!n.contains(i)){for(;i;){if(null!==i.getAttribute("tabindex")||"true"===i.getAttribute("aria-modal"))return;i=i.parentElement}n.focus()}})},clearEnforceFocus:function(){this.onFocusin&&(We(document,z,this.onFocusin),this.onFocusin=null)},open:function(){var e=this.body;He(e,H),this.scrollbarWidth>0&&(e.style.paddingRight="".concat(this.scrollbarWidth+(parseFloat(this.initialBodyComputedPaddingRight)||0),"px"))},close:function(){var e=this.body;je(e,H),this.scrollbarWidth>0&&(e.style.paddingRight=this.initialBodyPaddingRight)},shown:function(){var e=this.element,t=this.options,n=this.viewer;this.fulled=!0,this.isShown=!0,this.render(),this.bind(),this.showing=!1,t.focu
9218s&&(n.focus(),this.enforceFocus()),be(t.shown)&&Ne(e,K,t.shown,{once:!0}),!1!==Fe(e,K)&&this.ready&&this.isShown&&!this.hiding&&this.view(this.index)},hidden:function(){var e=this.element,t=this.options,n=this.viewer,i=n.ownerDocument.activeElement;i&&n.contains(i)&&be(i.blur)&&i.blur(),t.focus&&this.clearEnforceFocus(),this.close(),this.unbind(),He(n,b),n.removeAttribute("role"),n.removeAttribute("aria-labelledby"),n.removeAttribute("aria-modal"),n.setAttribute("aria-hidden",!0),this.resetList(),this.resetImage(),this.fulled=!1,this.viewed=!1,this.isShown=!1,this.hiding=!1,this.destroyed||(be(t.hidden)&&Ne(e,ee,t.hidden,{once:!0}),Fe(e,ee,null,{cancelable:!1}))},requestFullscreen:function(e){var t=this.ownerDocument;if(this.fulled&&!(t.fullscreenElement||t.webkitFullscreenElement||t.mozFullScreenElement||t.msFullscreenElement)){var n=t.documentElement;n.requestFullscreen?Le(e)?n.requestFullscreen(e):n.requestFullscreen():n.webkitRequestFullscreen?n.webkitRequestFullscreen(Element.ALLOW_KEYBOARD_INPUT):n.mozRequestFullScreen?n.mozRequestFullScreen():n.msRequestFullscreen&&n.msRequestFullscreen()}},exitFullscreen:function(){var e=this.ownerDocument;this.fulled&&(e.fullscreenElement||e.webkitFullscreenElement||e.mozFullScreenElement||e.msFullscreenElement)&&(e.exitFullscreen?e.exitFullscreen():e.webkitExitFullscreen?e.webkitExitFullscreen():e.mozCancelFullScreen?e.mozCancelFullScreen():e.msExitFullscreen&&e.msExitFullscreen())},change:function(e){var t=this.options,n=this.pointers,i=n[Object.keys(n)[0]];if(i){var a=i.endX-i.startX,s=i.endY-i.startY;switch(this.action){case m:0===a&&0===s||(this.pointerMoved=!0,this.move(a,s,e));break;case _:if(t.zoomable&&t.zoomOnTouch){var r=Ge(n);0!==r&&this.zoom(r,!1,null,e)}break;case h:if(t.rotatable&&t.rotateOnTouch){var o=Ve(n);0!==o&&this.rotate(o,e)}break;case f:if(t.zoomable&&t.zoomOnTouch){var l=Ge(n);0!==l&&this.zoom(l,!1,null,e)}if(t.rotatable&&t.rotateOnTouch){var d=Ve(n);0!==d&&this.rotate(d,e)}break;case p:this.action="switched";var u=Math.abs(a);u>1&&u>Math.abs(s)&&(this.pointers={},a>1?this.prev(t.loop):a<-1&&this.next(t.loop))}Ye(n,function(e){e.startX=e.endX,e.startY=e.endY})}},isSwitchable:function(){var e=this.imageData,t=this.viewerData;return this.length>1&&e.x>=0&&e.y>=0&&e.width<=t.width&&e.height<=t.height}},tt=l.Viewer,nt=(Je=-1,function(){return Je+=1}),it=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),!e||1!==e.nodeType&&11!==e.nodeType)throw new Error("The first argument is required and must be an element.");this.element=e,this.ownerDocument=e.ownerDocument||e.host.ownerDocument,this.options=Te({},r,Le(n)&&n),this.action=!1,this.fading=!1,this.fulled=!1,this.hiding=!1,this.imageClicked=!1,this.imageData={},this.index=this.options.initialViewIndex,this.isImg=!1,this.isShown=!1,this.length=0,this.moving=!1,this.played=!1,this.playing=!1,this.pointers={},this.ready=!1,this.rotating=!1,this.scaling=!1,this.showing=!1,this.timeout=!1,this.tooltipping=!1,this.viewed=!1,this.viewing=!1,this.wheeling=!1,this.zooming=!1,this.pointerMoved=!1,this.id=nt(),this.init()}return n=t,a=[{key:"create",value:function(e,n){return new t(e,n)}},{key:"setDefaults",value:function(e){Te(r,Le(e)&&e)}},{key:"noConflict",value:function(){return window.Viewer=tt,t}}],(i=[{key:"init",value:function(){var e=this,t=this.element,n=this.options;if(!t[c]){t[c]=this,n.focus&&!n.keyboard&&(n.focus=!1);var i="img"===t.localName,a=[];if(Ye(i?[t]:t.querySelectorAll("img"),function(t){be(n.filter)?n.filter.call(e,t)&&a.push(t):e.getImageURL(t)&&a.push(t)}),this.isImg=i,this.length=a.length,this.images=a,this.initBody(),ve(this.ownerDocument.createElement(c).style.transition)&&(n.transition=!1),n.inline){var s=0,r=function(){var t;(s+=1)===e.length&&(e.initializing=!1,e.delaying={abort:function(){clearTimeout(t)}},t=setTimeout(function(){e.delaying=!1,e.build()},0))};this.initializing={abort:function(){Ye(a,function(e){e.complete||(We(e,W,r),We(e,N,r))})}},Ye(a,function(e){var t,n;e.complete?r():(Ne(e,W,t=function(){We(e,N,n),r()},{once:!0}),Ne(e,N,n=function(){We(e,W,t),r()},{once:!0}))})}else Ne(t,C,this.onElementClick=function(t){var i=t.target;"img"!==i.localName||be(n.filter)&&!n.filter.call(e,i)||e.view(e.images.indexOf(i))}),Ne(t,I,this.onElementKeyDown=function(t){var i=t.target,a=t.key;"img"!==i.localName||"Enter"!==a&&" "!==a||(t.preventDefault(),be(n.filter)&&!n.filter.call(e,i)||e.view(e.images.indexOf(i)))})}}},{key:"build",value:function(){if(!this.ready){var e=this.element,t=this.options,n=e.parentNode,i=document.createElement("div");i.innerHTML='<div class="viewer-container" tabindex="-1" touch-action="none"><div class="viewer-canvas"></div><div class="viewer-magnifier" aria-hidden="true"><img class="viewer-magnifier-image" alt=""></div><div class="viewer-navigation"><div class="viewer-prev" data-viewer-action="prev" role="button" aria-label="Previous"></div><div class="viewer-next" data-viewer-action="next" role="button" aria-label="Next"></div></div><div class="viewer-footer"><div class="viewer-title"></div><div class="viewer-toolbar"></div><div class="viewer-navbar"><ul class="viewer-list" role="navigation"></ul></div></div><div class="viewer-tooltip" role="alert" aria-hidden="true"></div><div class="viewer-button" data-viewer-action="mix" role="button"></div><div class="viewer-player"></div></div>';var a=i.querySelector(".".concat(c,"-container")),s=a.querySelector(".".concat(c,"-title")),r=a.querySelector(".".concat(c,"-toolbar")),o=a.querySelector(".".concat(c,"-navbar")),l=a.querySelector(".".concat(c,"-navigation")),d=a.querySelector(".".concat(c,"-button")),u=a.querySelector(".".concat(c,"-canvas"));this.parent=n,this.viewer=a,this.title=s,this.toolbar=r,this.navbar=o,this.navigation=l,this.button=d,this.canvas=u,this.footer=a.querySelector(".".concat(c,"-footer")),this.magnifier=a.querySelector(".".concat(c,"-magnifier")),this.magnifierImage=a.querySelector(".".concat(c,"-magnifier-image")),this.tooltipBox=a.querySelector(".".concat(c,"-tooltip")),this.player=a.querySelector(".".concat(c,"-player")),this.list=a.querySelector(".".concat(c,"-list")),a.id="".concat(c).concat(this.id
9218),s.id="".concat(c,"Title").concat(this.id),He(s,t.title?Be(Array.isArray(t.title)?t.title[0]:t.title):b);var m=Le(t.navbar)?t.navbar:{},h=t.navbar,p=ve(m.size)?t.navbar:m.size;if(Le(t.navbar)&&(h=!!ve(m.show)||m.show),He(o,h?Be(h):b),-1!==["small","medium","large"].indexOf(p)&&He(o,"".concat(c,"-").concat(p)),Le(t.navigation)?Ye(l.querySelectorAll('[role="button"]'),function(e){var n=Ae(e,he),i=t.navigation[n],a=Le(i),s=a&&!ve(i.show)?i.show:i,r=a&&!ve(i.size)?i.size:i;Pe(e,b,!s),ye(s)&&He(e,Be(s)),-1!==["small","large"].indexOf(r)&&He(e,"".concat(c,"-").concat(r))}):He(l,t.navigation?Be(t.navigation):b),Pe(d,b,!t.button),t.keyboard&&(d.setAttribute("tabindex",0),Ye(l.querySelectorAll('[role="button"]'),function(e){e.setAttribute("tabindex",0)})),t.backdrop&&(He(a,"".concat(c,"-backdrop")),t.inline||"static"===t.backdrop||ze(u,he,"hide")),_e(t.className)&&t.className&&t.className.split(pe).forEach(function(e){He(a,e)}),t.toolbar){var f=document.createElement("ul"),_=Le(t.toolbar),g=fe.slice(0,3),L=fe.slice(7,9),Y=fe.slice(9);_||He(r,Be(t.toolbar)),Ye(_?t.toolbar:fe,function(e,n){var i=_&&Le(e),a=_?Oe(n):e,s=i&&!ve(e.show)?e.show:e;if(s&&(t.zoomable||-1===g.indexOf(a))&&(t.rotatable||-1===L.indexOf(a))&&(t.scalable||-1===Y.indexOf(a))){var r=i&&!ve(e.size)?e.size:e,o=i&&!ve(e.click)?e.click:e,l=document.createElement("li");t.keyboard&&l.setAttribute("tabindex",0),l.setAttribute("role","button"),He(l,"".concat(c,"-").concat(a)),be(o)||ze(l,he,a),ye(s)&&He(l,Be(s)),-1!==["small","large"].indexOf(r)?He(l,"".concat(c,"-").concat(r)):"play"===a&&He(l,"".concat(c,"-large")),be(o)&&Ne(l,C,o),f.appendChild(l)}}),r.appendChild(f)}else He(r,b);if(!t.rotatable){var k=r.querySelectorAll('li[class*="rotate"]');He(k,x),Ye(k,function(e){r.appendChild(e)})}if(t.inline)He(d,w),Se(a,{zIndex:t.zIndexInline}),"static"===window.getComputedStyle(n).position&&Se(n,{position:"relative"}),n.insertBefore(a,e.nextSibling);else{He(d,y),He(a,M),He(a,v),He(a,b),Se(a,{zIndex:t.zIndex});var D=t.container;_e(D)&&(D=this.ownerDocument.querySelector(D)),D||(D=this.body),D.appendChild(a)}t.inline&&(this.render(),this.bind(),this.isShown=!0),this.ready=!0,be(t.ready)&&Ne(e,U,t.ready,{once:!0}),!1!==Fe(e,U)?this.ready&&t.inline&&this.view(this.index):this.ready=!1}}}])&&e(n.prototype,i),a&&e(n,a),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,i,a}();return Te(it.prototype,Ue,Ze,Ke,Qe,et),it}()},6837(e){"use strict";var t=TypeError;e.exports=function(e){if(e>9007199254740991)throw new t("Maximum allowed index exceeded");return e}},1767(e){"use strict";e.exports=function(e){return{iterator:e,next:e.next,done:!1}}},6269(e){"use strict";e.exports=Object.create?Object.create(null):{}},741(e){"use strict";var t=Math.ceil,n=Math.floor;e.exports=Math.trunc||function(e){var i=+e;return(i>0?n:t)(i)}},3717(e,t){"use strict";t.f=Object.getOwnPropertySymbols},9835(e){"use strict";e.exports=function(e){try{var t=new Set,n={size:0,has:function(){return!0},keys:function(){return Object.defineProperty({},"next",{get:function(){return t.clear(),t.add(4),function(){return{done:!0}}}})}},i=t[e](n);return 1===i.size&&4===i.values().next().value}catch(e){return!1}}},6823(e){"use strict";var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},1463(e,t,n){"use strict";n.d(t,{S:()=>z});var i=n(7044);let a,s,r;function o(){return a||(a="undefined"==typeof window?{touch:!1}:{touch:"ontouchstart"in window||navigator.maxTouchPoints>0}),a}function l(e={}){return s||(s=function({userAgent:e}={}){if("undefined"==typeof window)return{ios:!1,android:!1};const t=o(),n=navigator.platform,i=e||navigator.userAgent,a={ios:!1,android:!1},s=/(Android);?[\s/]+([\d.]+)?/.test(i),r=/(iPhone\sOS|iOS|iPod)/.test(i),l=/iPad/.test(i),d="MacIntel"===n&&t.touch&&navigator.maxTouchPoints>1,u=l||d;return s&&!("Win32"===n)&&(a.os="android",a.android=!0),(u||r)&&(a.os="ios",a.ios=!0),a}(e)),s}function d(){return r||(r=function(){if("undefined"==typeof window)return{isSafari:!1,isWebView:!1,need3dFix:!1};const e=l(),t=navigator.userAgent,n=t.toLowerCase(),i=n.includes("safari")&&!n.includes("chrome")&&!n.includes("android"),a=/(iPhone|iPod|iPad).*AppleWeb
vendor: 66,603 bytes, line 9218
9218Kit(?!.*Safari)/i.test(t);return{isSafari:i,isWebView:a,need3dFix:i||a&&e.ios}}()),r}const u=(e,t)=>{if(!e||e.destroyed||!e.params||!e.params.lazyPreload)return;const n=t.closest(e.isElement?"swiper-slide":`.${e.params.slideClass}`);if(n){let t=n.querySelector(`.${e.params.lazyPreloaderClass}`);!t&&e.isElement&&(n.shadowRoot?t=n.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{if(n.shadowRoot){const t=n.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`);t&&!t.lazyPreloaderManaged&&t.remove()}})),t&&!t.lazyPreloaderManaged&&t.remove()}},c=(e,t)=>{if(!e.slides[t])return;const n=e.slides[t].querySelector('[loading="lazy"]');n&&n.removeAttribute("loading")},m=e=>{if(!e||e.destroyed||!e.params||!e.params.lazyPreload)return;let t=e.params.lazyPreloadPrevNext;const n=e.slides.length;if(!n||!t||t<0)return;t=Math.min(t,n);const i="auto"===e.params.slidesPerView?e.slidesPerViewDynamic():Math.ceil(e.params.slidesPerView),a=e.activeIndex;if(e.params.grid&&(e.params.grid.rows??1)>1){const n=a,s=[n-t];return s.push(...Array.from({length:t}).map((e,t)=>n+i+t)),void e.slides.forEach((t,n)=>{void 0!==t.column&&s.includes(t.column)&&c(e,n)})}const s=a+i-1;if(e.params.rewind||e.params.loop)for(let i=a-t;i<=s+t;i+=1){const t=(i%n+n)%n;(t<a||t>s)&&c(e,t)}else for(let i=Math.max(a-t,0);i<=Math.min(s+t,n-1);i+=1)i!==a&&(i>s||i<a)&&c(e,i)},h=(e,t)=>!!(e.grid&&t.grid&&t.grid.rows>1);var p={setBreakpoint:function(){const e=this,{realIndex:t,initialized:n,params:a,el:s}=e,r=a.breakpoints;if(!r||r&&0===Object.keys(r).length)return;const o="window"!==a.breakpointsBase&&a.breakpointsBase?"container":a.breakpointsBase,l=["window","container"].includes(a.breakpointsBase)||!a.breakpointsBase?e.el:document.querySelector(a.breakpointsBase),d=e.getBreakpoint(r,o,l);if(!d||e.currentBreakpoint===d)return;const u=(d in r?r[d]:void 0)||e.originalParams,c=h(e,a),m=h(e,u),p=e.params.grabCursor,f=u.grabCursor,_=a.enabled;c&&!m?(s.classList.remove(`${a.containerModifierClass}grid`,`${a.containerModifierClass}grid-column`),e.emitContainerClasses()):!c&&m&&(s.classList.add(`${a.containerModifierClass}grid`),(u.grid.fill&&"column"===u.grid.fill||!u.grid.fill&&"column"===a.grid.fill)&&s.classList.add(`${a.containerModifierClass}grid-column`),e.emitContainerClasses()),p&&!f?e.unsetGrabCursor():!p&&f&&e.setGrabCursor();const g=(e,t)=>e[t];["navigation","pagination","scrollbar"].forEach(t=>{const n=g(u,t);if(void 0===n)return;const i=g(a,t),s="object"==typeof i&&null!==i&&i.enabled,r="object"==typeof n&&null!==n&&n.enabled,o=e[t];s&&!r&&o?.disable?.(),!s&&r&&o?.enable?.()});const y=u.direction&&u.direction!==a.direction,v=a.loop&&(u.slidesPerView!==a.slidesPerView||y),M=a.loop;y&&n&&e.changeDirection(),(0,i.n)(e.params,u);const w=e.params.enabled,L=e.params.loop;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),_&&!w?e.disable():!_&&w&&e.enable(),e.currentBreakpoint=d,e.emit("_beforeBreakpoint",u),n&&(v?(e.loopDestroy(),e.loopCreate(t),e.updateSlides()):!M&&L?(e.loopCreate(t),e.updateSlides()):M&&!L&&e.loopDestroy()),e.emit("breakpoint",u)},getBreakpoint:function(e,t="window",n){if(!e||"container"===t&&!n)return;let i=!1;const a="window"===t?window.innerHeight:n.clientHeight,s=Object.keys(e).map(e=>{if("string"==typeof e&&0===e.indexOf("@")){const t=parseFloat(e.substr(1));return{value:a*t,point:e}}return{value:e,point:e}});s.sort((e,t)=>parseInt(String(e.value),10)-parseInt(String(t.value),10));for(let e=0;e<s.length;e+=1){const{point:a,value:r}=s[e];"window"===t?window.matchMedia(`(min-width: ${r}px)`).matches&&(i=a):r<=n.clientWidth&&(i=a)}return i||"max"}},f={addClasses:function(){const e=this,{classNames:t,params:n,rtl:i,el:a,device:s}=e,r=function(e,t){const n=[];return e.forEach(e=>{"object"==typeof e?Object.keys(e).forEach(i=>{e[i]&&n.push(t+i)}):"string"==typeof e&&n.push(t+e)}),n}(["initialized",n.direction,{"free-mode":e.params.freeMode&&n.freeMode.enabled},{autoheight:n.autoHeight},{rtl:i},{grid:n.grid&&n.grid.rows>1},{"grid-column":n.grid&&n.grid.rows>1&&"column"===n.grid.fill},{android:s.android},{ios:s.ios},{"css-mode":n.cssMode},{centered:n.cssMode&&n.centeredSlides},{"watch-progress":n.watchSlidesProgress}],n.containerModifierClass);t.push(...r),a.classList.add(...t),e.emitContainerClasses()},removeClasses:function(){const{el:e,classNames:t}=this;e&&"string"!=typeof e&&(e.classList.remove(...t),this.emitContainerClasses())}};const _={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,snapToSlideEdge:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreload:!0,lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};var g={on(e,t,n){const i=this;if(!i.eventsListeners||i.destroyed)return i;if("function"!=typeof t)return i;const a=n?"unshift":"push";return e.split(" ").forEach(e=>{i.eventsListeners[e]||(i.eventsListeners[e]=[]),i.eventsListeners[e][a](t)}),i},once(e,t,n){const i=this;if(!i.eventsListeners||i.destroyed)return i;if("function"!=typeof t)return i;const a=function(...n){i.off(e,a),a.__emitterProxy&&delete a.__emitterProxy,t.apply(i,n)};return a.__emitterProxy=t,i.on(e,a,n)},onAny(e,t){const n=this;if(!n.eventsListeners||n.destroyed)return n;if("function"!=typeof e)return n;const i=t?"unshift":"push";return n.eventsAnyListeners.indexOf(e)<0&&n.eventsAnyListeners[i](e),n},offAny(e){const t=this;if(!t.eventsListeners||t.destroyed)return t;if(!t.eventsAnyListeners)return t;const n=t.eventsAnyListeners.indexOf(e);return n>=0&&t.eventsAnyListeners.splice(n,1),t},off(e,t){const n=this;return!n.eventsListeners||n.destroyed?n:n.eventsListeners?(e.split(" ").forEach(e=>{void 0===t?n.eventsListeners[e]=[]:n.eventsListeners[e]&&n.eventsListeners[e].forEach((i,a)=>{(i===t||i.__emitterProxy&&i.__emitterProxy===t)&&n.eventsListeners[e].splice(a,1)})}),n):n},emit(...e){const t=this;if(!t.eventsListeners||t.destroyed)return t;if(!t.eventsListeners)return t;let n,i,a;if("string"==typeof e[0]||Array.isArray(e[0]))n=e[0],i=e.slice(1,e.length),a=t;else{const s=e[0];n=s.events,i=s.data??[],a=s.context||t}return i.unshift(a),(Array.isArray(n)?n:n.split(" ")).forEach(e=>{t.eventsAnyListeners&&t.eventsAnyListeners.length&&t.eventsAnyListeners.forEach(t=>{t.apply(a,[e,...i])}),t.eventsListeners&&t.eventsListeners[e]&&t.eventsListeners[e].forEach(e=>{e.apply(a,i)})}),t}};function y(e){const t=this;t.destroyed||t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function v(){const e=this;e.destroyed||e.documentTouchHandlerProceeded||(e.documentTouchHandlerProceeded=!0,e.params.touchReleaseOnEdges&&(e.el.style.touchAction="auto"))}function M(e){const t=this;t.destroyed||(u(t,e.target),t.params.cssMode||"auto"!==t.params.slidesPerView&&!t.params.autoHeight||t.update())}function w(){const e=this,{params:t,el:n}=e;if(n&&0===n.offsetWidth)return;t.breakpoints&&e.setBreakpoint();const{allowSlideNext:i,allowSlidePrev:a,snapGrid:s}=e,r=e.virtual&&e.params.virtual?.enabled;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses();const o=r&&t.loop;if(!("auto"===t.slidesPerView||t.slidesPerView>1)||!e.isEnd||e.isBeginning||e.params.centeredSlides||o)e.params.loop&&!r?e.slideToLoop(e.realIndex,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0);else{const t=r?e.virtual.slides.length:e.slides.length;e.slideTo(t-1,0,!1,!0)}if(e.autoplay&&e.autoplay.running&&e.autoplay.paused){const t=e.autoplay;clearTimeout(t.resizeTimeout),t.resizeTimeout=setTimeout(()=>{e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.resume()},500)}e.allowSlidePrev=a,e.allowSlideNext=i,e.params.watchOverflow&&s!==e.snapGrid&&e.checkOverflow()}function L(){const e=this;if(e.destroyed)return;const{wrapperEl:t,rtlTranslate:n,enabled:i}=e;if(!i)return;let a;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=-t.scrollLeft:e.translate=-t.scrollTop,0===e.translate&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();const s=e.maxTranslate()-e.minTranslate();a=0===s?0:(e.translate-e.minTranslate())/s,a!==e.progress&&e.updateProgress(n?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}function b(e){const t=this;if(t.destroyed)return;const n=t.touchEventsData;let a=e.originalEvent??e;if("touchend"===a.type||"touchcancel"===a.type){const e=[...a.changedTouches].find(e=>e.identifier===n.touchId);if(!e||e.identifier!==n.touchId)return}else{if(null!==n.touchId)return;if(a.pointerId!==n.pointerId)return}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(a.type)&&(!["pointercancel","contextmenu"].includes(a.type)||!t.browser.isSafari&&!t.browser.isWebView))return;n.pointerId=null,n.touchId=null;const{params:s,touches:r,rtlTranslate:o,slidesGrid:l,enabled:d}=t;if(!d)return;if(!s.simulateTouch&&"mouse"===a.pointerType)return;if(n.allowTouchCallbacks&&t.emit("touchEnd",a),n.allowTouchCallbacks=!1,!n.isTouched)return n.isMoved&&s.grabCursor&&t.setGrabCursor(!1),n.isMoved=!1,void(n.startMoving=!1);s.grabCursor&&n.isMoved&&n.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);const u=(0,i.u)(),c=u-n.touchStartTime;if(t.allowClick){const e=a.path??(a.composedPath&&a.composedPath());t.updateClickedSlide(e&&e[0],e),t.emit("tap click",a),c<300&&u-n.lastClickTime<300&&t.emit("doubleTap doubleClick",a)}if(n.lastClickTime=(0,i.u)(),(0,i.t)(()=>{t.destroyed||(t.allowClick=!0)}),!n.isTouched||!n.isMoved||!t.swipeDirection||0===r.diff&&!n.loopSwapReset||n.currentTranslate===n.startTranslate&&!n.loopSwapReset)return n.isTouched=!1,n.isMoved=!1,void(n.startMoving=!1);let m;if(n.isTouched=!1,n.isMoved=!1,n.startMoving=!1,m=s.followFinger?o?t.translate:-t.translate:-(n.currentTranslate??0),s.cssMode)return;if(s.freeMode&&s.freeMode.enabled)return void t.freeMode.onTouchEnd({currentPos:m});const h=m>=-t.maxTranslate()&&!t.params.loop;let p=0,f=t.slidesSizesGrid[0];for(let e=0;e<l.length;e+=e<s.slidesPerGroupSkip?1:s.slidesPerGroup){const t=e<s.slidesPerGroupSkip-1?1:s.slidesPerGroup;void 0!==l[e+t]?(h||m>=l[e]&&m<l[e+t])&&(p=e,f=l[e+t]-l[e]):(h||m>=l[e])&&(p=e,f=l[l.length-1]-l[l.length-2])}let _=null,g=null;s.rewind&&(t.isBeginning?g=s.virtual?.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isEnd&&(_=0));const y=(m-l[p])/f,v=p<s.slidesPerGroupSkip-1?1:s.slidesPerGroup;if(c>s.longSwipesMs){if(!s.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(y>=s.longSwipesRatio?t.slideTo(s.rewind&&t.isEnd?_:p+v):t.slideTo(p)),"prev"===t.swipeDirection&&(y>1-s.longSwipesRatio?t.slideTo(p+v):null!==g&&y<0&&Math.abs(y)>s.longSwipesRatio?t.slideTo(g):t.slideTo(p))}else{if(!s.shortSwipes)return void t.slideTo(t.activeIndex);!t.navigation||a.target!==t.navigation.nextEl&&a.target!==t.navigation.prevEl?("next"===t.swipeDirection&&t.slideTo(null!==_?_:p+v),"prev"===t.swipeDirection&&t.slideTo(null!==g?g:p)):a.target===t.navigation.nextEl?t.slideTo(p+v):t.slideTo(p)}}function Y(e){const t=this;if(t.destroyed)return;const n=t.touchEventsData,{params:a,touches:s,rtlTranslate:r,enabled:o}=t;if(!o)return;if(!a.simulateTouch&&"mouse"===e.pointerType)return;const l=e,d=l.originalEvent??l;if("pointermove"===d.type){if(null!==n.touchId)return;if(d.pointerId!==n.pointerId)return}let u;if("touchmove"===d.type){const e=[...d.changedTouches].find(e=>e.identifier===n.touchId);if(!e||e.identifier!==n.touchId)return;u=e}else u=d;if(!n.isTouched)return void(n.startMoving&&n.isScrolling&&t.emit("touchMoveOpposite",d));const c=u.pageX,m=u.pageY;if(d.preventedByNestedSwiper)return s.startX=c,void(s.startY=m);if(!t.allowTouchMove)return d.target.matches(n.focusableElements)||(t.allowClick=!1),void(n.isTouched&&(Object.assign(s,{startX:c,startY:m,currentX:c,currentY:m}),n.touchStartTime=(0,i.u)()));if(a.touchReleaseOnEdges&&!a.loop)if(t.isVertical()){if(m<s.startY&&t.translate<=t.maxTranslate()||m>s.startY&&t.translate>=t.minTranslate())return n.isTouched=!1,void(n.isMoved=!1)}else{if(r&&(c>s.startX&&-t.translate<=t.maxTranslate()||c<s.startX&&-t.translate>=t.minTranslate()))return;if(!r&&(c<s.startX&&t.translate<=t.maxTranslate()||c>s.startX&&t.translate>=t.minTranslate()))return}if(document.activeElement&&document.activeElement.matches(n.focusableElements)&&document.activeElement!==d.target&&"mouse"!==d.pointerType&&document.activeElement.blur(),document.activeElement&&d.target===document.activeElement&&d.target.matches(n.focusableElements))return n.isMoved=!0,void(t.allowClick=!1);n.allowTouchCallbacks&&t.emit("touchMove",d),s.previousX=s.currentX,s.previousY=s.currentY,s.currentX=c,s.currentY=m;const h=s.currentX-s.startX,p=s.currentY-s.startY;if(t.params.threshold&&Math.sqrt(h**2+p**2)<t.params.threshold)return;if(void 0===n.isScrolling){let e;t.isHorizontal()&&s.currentY===s.startY||t.isVertical()&&s.currentX===s.startX?n.isScrolling=!1:h*h+p*p>=25&&(e=180*Math.atan2(Math.abs(p),Math.abs(h))/Math.PI,n.isScrolling=t.isHorizontal()?e>a.touchAngle:90-e>a.touchAngle)}if(n.isScrolling&&t.emit("touchMoveOpposite",d),void 0===n.startMoving&&(s.currentX===s.startX&&s.currentY===s.startY||(n.startMoving=!0)),n.isScrolling||"touchmove"===d.type&&n.preventTouchMoveFromPointerMove)return void(n.isTouched=!1);if(!n.startMoving)return;t.allowClick=!1,!a.cssMode&&d.cancelable&&d.preventDefault(),a.touchMoveStopPropagation&&!a.nested&&d.stopPropagation();let f=t.isHorizontal()?h:p,_=t.isHorizontal()?s.currentX-s.previousX:s.currentY-s.previousY;a.oneWayMovement&&(f=Math.abs(f)*(r?1:-1),_=Math.abs(_)*(r?1:-1)),s.diff=f,f*=a.touchRatio,r&&(f=-f,_=-_);const g=t.touchesDirection;t.swipeDirection=f>0?"prev":"next",t.touchesDirection=_>0?"prev":"next";const y=t.params.loop&&!a.cssMode,v="next"===t.touchesDirection&&t.allowSlideNext||"prev"===t.touchesDirection&&t.allowSlidePrev;if(!n.isMoved){if(y&&v&&t.loopFix({direction:t.swipeDirection}),n.startTranslate=t.getTranslate(),t.setTransition(0),t.animating){const e=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});t.wrapperEl.dispatchEvent(e)}n.allowMomentumBounce=!1,!a.grabCursor||!0!==t.allowSlideNext&&!0!==t.allowSlidePrev||t.setGrabCursor(!0),t.emit("sliderFirstMove",d)}if((new Date).getTime(),!1!==a._loopSwapReset&&n.isMoved&&n.allowThresholdMove&&g!==t.touchesDirection&&y&&v&&Math.abs(f)>=1)return Object.assign(s,{startX:c,startY:m,currentX:c,currentY:m,startTranslate:n.currentTranslate}),n.loopSwapReset=!0,void(n.startTranslate=n.currentTranslate);t.emit("sliderMove",d),n.isMoved=!0;const M=n.startTranslate??0;n.currentTranslate=f+M;let w=!0,L=a.resistanceRatio;if(a.touchReleaseOnEdges&&(L=0),f>0?(y&&v&&n.allowThresholdMove&&n.currentTranslate>(a.centeredSlides?t.minTranslate()-t.slidesSizesGrid[t.activeIndex+1]-("auto"!==a.slidesPerView&&t.slides.length-a.slidesPerView>=2?t.slidesSizesGrid[t.activeIndex+1]+t.params.spaceBetween:0)-t.params.spaceBetween:t.minTranslate())&&t.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),n.currentTranslate>t.minTranslate()&&(w=!1,a.resistance&&(n.currentTranslate=t.minTranslate()-1+(-t.minTranslate()+M+f)**L))):f<0&&(y&&v&&n.allowThresholdMove&&n.currentTranslate<(a.centeredSlides?t.maxTranslate()+t.slidesSizesGrid[t.slidesSizesGrid.length-1]+t.params.spaceBetween+("auto"!==a.slidesPerView&&t.slides.length-a.slidesPerView>=2?t.slidesSizesGrid[t.slidesSizesGrid.length-1]+t.params.spaceBetween:0):t.maxTranslate())&&t.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:t.slides.length-("auto"===a.slidesPerView?t.slidesPerViewDynamic():Math.ceil(parseFloat(String(a.slidesPerView))))}),n.currentTranslate<t.maxTranslate()&&(w=!1,a.resistance&&(n.currentTranslate=t.maxTranslate()+1-(t.maxTranslate()-M-f)**L))),w&&(d.preventedByNestedSwiper=!0),!t.allowSlideNext&&"next"===t.swipeDirection&&(n.currentTranslate??0)<M&&(n.currentTranslate=M),!t.allowSlidePrev&&"prev"===t.swipeDirection&&(n.currentTranslate??0)>M&&(n.currentTranslate=M),t.allowSlidePrev||t.allowSlideNext||(n.currentTranslate=M),a.threshold>0){if(!(Math.abs(f)>a.threshold||n.allowThresholdMove))return void(n.currentTranslate=n.startTranslate);if(!n.allowThresholdMove)return n.allowThresholdMove=!0,s.startX=s.currentX,s.startY=s.currentY,n.currentTranslate=n.startTranslate,void(s.diff=t.isHorizontal()?s.currentX-s.startX:s.currentY-s.startY)}a.followFinger&&!a.cssMode&&((a.freeMode&&a.freeMode.enabled&&t.freeMode||a.watchSlidesProgress)&&(t.updateActiveIndex(),t.updateSlidesClasses()),a.freeMode&&a.freeMode.enabled&&t.freeMode&&t.freeMode.onTouchMove(),t.updateProgress(n.currentTranslate),t.setTranslate(n.currentTranslate??0))}function k(e,t,n){const{params:i}=e,a=i.edgeSwipeDetection,s=i.edgeSwipeThreshold;return!a||!(n<=s||n>=window.innerWidth-s)||"prevent"===a&&(t.preventDefault(),!0)}function D(e){const t=this;if(t.destroyed)return;const n=e.originalEvent??e,a=t.touchEventsData;if("pointerdown"===n.type){const e=n;if(null!==a.pointerId&&a.pointerId!==e.pointerId)return;a.pointerId=e.pointerId}else"touchstart"===n.type&&1===n.targetTouches.length&&(a.touchId=n.targetTouches[0].identifier);if("touchstart"===n.type)return void k(t,n,n.targetTouches[0].pageX);const{params:s,touches:r,enabled:o}=t;if(!o)return;if(!s.simulateTouch&&"mouse"===n.pointerType)return;if(t.animating&&s.preventInteractionOnTransition)return;!t.animating&&s.cssMode&&s.loop&&t.loopFix();let l=n.target;if("wrapper"===s.touchEventsTarget&&!(0,i.f)(l,t.wrapperEl))return;const d=n;if("number"==typeof d.which&&3===d.which)return;if("number"==typeof d.button&&d.button>0)return;if(a.isTouched&&a.isMoved)return;const u=!!s.noSwipingClass&&""!==s.noSwipingClass,c=n.composedPath?n.composedPath():n.path;u&&n.target&&n.target.shadowRoot&&c&&(l=c[0]);const m=s.noSwipingSelector?s.noSwipingSelector:`.${s.noSwipingClass}`,h=!(!n.target||!n.target.shadowRoot);if(s.noSwiping&&(h?(p=m,function e(t){if(!t||t===document||t===window)return null;let n=t;n.assignedSlot&&(n=n.assignedSlot);const i=n.closest(p);if(!i&&!n.getRootNode)return null;const a=n.getRootNode();return i||e(a.host)}(l)):l.closest(m)))return void(t.allowClick=!0);var p;if(s.swipeHandler&&"string"==typeof s.swipeHandler&&!l.closest(s.swipeHandler))return;const f=n;r.currentX=f.pageX,r.currentY=f.pageY;const _=r.currentX,g=r.currentY;if(!k(t,n,_))return;Object.assign(a,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),r.startX=_,r.startY=g,a.touchStartTime=(0,i.u)(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,s.threshold>0&&(a.allowThresholdMove=!1);let y=!0;l.matches(a.focusableElements)&&(y=!1,"SELECT"===l.nodeName&&(a.isTouched=!1)),document.activeElement&&document.activeElement.matches(a.focusableElements)&&document.activeElement!==l&&("mouse"===f.pointerType||"mouse"!==f.pointerType&&!l.matches(a.focusableElements))&&document.activeElement.blur();const v=y&&t.allowTouchMove&&s.touchStartPreventDefault;!s.touchStartForcePreventDefault&&!v||l.isContentEditable||n.preventDefault(),s.freeMode&&s.freeMode.enabled&&t.freeMode&&t.animating&&!s.cssMode&&t.freeMode.onTouchStart(),t.emit("touchStart",n)}const T=(e,t)=>{const{params:n,el:i,wrapperEl:a,device:s}=e,r=!!n.nested,o="on"===t?"addEventListener":"removeEventListener",l=t;if(!i||"string"==typeof i)return;document[o]("touchstart",e.onDocumentTouchStart,{passive:!1,capture:r}),i[o]("touchstart",e.onTouchStart,{passive:!1}),i[o]("pointerdown",e.onTouchStart,{passive:!1}),document[o]("touchmove",e.onTouchMove,{passive:!1,capture:r}),document[o]("pointermove",e.onTouchMove,{passive:!1,capture:r}),document[o]("touchend",e.onTouchEnd,{passive:!0}),document[o]("pointerup",e.onTouchEnd,{passive:!0}),document[o]("pointercancel",e.onTouchEnd,{passive:!0}),document[o]("touchcancel",e.onTouchEnd,{passive:!0}),document[o]("pointerout",e.onTouchEnd,{passive:!0}),document[o]("pointerleave",e.onTouchEnd,{passive:!0}),document[o]("contextmenu",e.onTouchEnd,{passive:!0}),(n.preventClicks||n.preventClicksPropagation)&&i[o]("click",e.onClick,!0),n.cssMode&&a[o]("scroll",e.onScroll);const d=t=>{e[l](t,w,!0)};n.updateOnWindowResize?d(s.ios||s.android?"resize orientationchange observerUpdate":"resize observerUpdate"):d("observerUpdate"),n.lazyPreload&&i[o]("load",e.onLoad,{capture:!0})};var x={loopCreate:function(e,t){const n=this,{params:a,slidesEl:s}=n;if(!a.loop||n.virtual&&n.params.virtual?.enabled)return;const r=()=>{(0,i.e)(s,`.${a.slideClass}, swiper-slide`).forEach((e,t)=>{e.setAttribute("data-swiper-slide-index",String(t))})},o=n.grid&&a.grid&&a.grid.rows>1;a.loopAddBlankSlides&&(a.slidesPerGroup>1||o)&&(()=>{const e=(0,i.e)(s,`.${a.slideBlankClass}`);e.forEach(e=>{e.remove()}),e.length>0&&(n.recalcSlides(),n.updateSlides())})();const l=a.slidesPerGroup*(o?a.grid.rows:1),d=n.slides.length%l!==0,u=o&&n.slides.length%a.grid.rows!==0,c=e=>{for(let t=0;t<e;t+=1){const e=n.isElement?(0,i.a)("swiper-slide",[a.slideBlankClass]):(0,i.a)("div",[a.slideClass,a.slideBlankClass]);n.slidesEl.append(e)}};d?(a.loopAddBlankSlides?(c(l-n.slides.length%l),n.recalcSlides(),n.updateSlides()):(0,i.x)("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)"),r()):u?(a.loopAddBlankSlides?(c(a.grid.rows-n.slides.length%a.grid.rows),n.recalcSlides(),n.updateSlides()):(0,i.x)("Swiper Loop Warning: The number of slides is not even to grid.rows, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)"),r()):r();const m=a.centeredSlides||!!a.slidesOffsetBefore||!!a.slidesOffsetAfter;n.loopFix({slideRealIndex:e,direction:m?void 0:"next",initial:t})},loopFix:function(e={}){const{slideRealIndex:t,slideTo:n=!0,direction:a,setTranslate:s,activeSlideIndex:r,initial:o,byController:l,byMousewheel:d}=e;let u=r;const c=this;if(!c.params.loop)return;c.emit("beforeLoopFix"),c.__loopFixInProgress__=!0;const{slides:m,allowSlidePrev:h,allowSlideNext:p,slidesEl:f,params:_}=c,{centeredSlides:g,slidesOffsetBefore:y,slidesOffsetAfter:v,initialSlide:M}=_,w=g||!!y||!!v;if(c.allowSlidePrev=!0,c.allowSlideNext=!0,c.virtual&&_.virtual?.enabled){if(n){const e=c.virtual.slides.length,t=c.virtual.slidesBefore??0;w||0!==c.snapIndex?w&&c.snapIndex<_.slidesPerView?c.slideTo(e+c.snapIndex,0,!1,!0):c.snapIndex===c.snapGrid.length-1&&c.slideTo(t,0,!1,!0):c.slideTo(e,0,!1,!0)}return c.allowSlidePrev=h,c.allowSlideNext=p,c.__loopFixInProgress__=!1,void c.emit("loopFix")}let L=_.slidesPerView;"auto"===L?L=c.slidesPerViewDynamic():(L=Math.ceil(parseFloat(String(_.slidesPerView))),w&&L%2==0&&(L+=1));const b=_.slidesPerGroupAuto?L:_.slidesPerGroup,Y=e=>("function"==typeof e?e.call(c):e)||0,k=c.slidesGrid.length>1?(c.slidesGrid[c.slidesGrid.length-1]-c.slidesGrid[0])/(c.slidesGrid.length-1):c.size,D=k>0?Y(y)/k:0,T=k>0?Y(v)/k:0;let x=w?Math.max(b,(g?Math.ceil(L/2):0)+Math.ceil(Math.max(D,T))):b;x%b!==0&&(x+=b-x%b),x+=_.loopAdditionalSlides,c.loopedSlides=x;const S=c.grid&&_.grid&&_.grid.rows>1;m.length<L+x||"cards"===c.params.effect&&m.length<L+2*x?(0,i.x)("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled or not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters"):S&&"row"===_.grid.fill&&(0,i.x)("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const E=[],H=[],j=S?Math.ceil(m.length/_.grid.rows):m.length,P=o&&j-M<L&&!w;let C=P?M:c.activeIndex;void 0===u?u=c.getSlideIndex(m.find(e=>e.classList.contains(_.slideActiveClass))):C=u;const O="next"===a||!a,A="prev"===a||!a;let z=0,I=0;const W=(S?m[u].column??0:u)+(w&&void 0===s?(g?-L/2+.5:0)-D:0);if(W<x){z=Math.max(x-W,b);for(let e=0;e<x-W;e+=1){const t=e-Math.floor(e/j)*j;if(S){const e=j-t-1;for(let t=m.length-1;t>=0;t-=1)m[t].column===e&&E.push(t)}else E.push(j-t-1)}}else if(W+L>j-x){I=Math.max(W-(j-2*x),b),P&&(I=Math.max(I,L-j+M+1));for(let e=0;e<I;e+=1){const t=e-Math.floor(e/j)*j;S?m.forEach((e,n)=>{e.column===t&&H.push(n)}):H.push(t)}}if(c.__preventObserver__=!0,requestAnimationFrame(()=>{c.__preventObserver__=!1}),"cards"===c.params.effect&&m.length<L+2*x&&(H.includes(u)&&H.splice(H.indexOf(u),1),E.includes(u)&&E.splice(E.indexOf(u),1)),A&&E.forEach(e=>{const t=m[e];t.swiperLoopMoveDOM=!0,f.prepend(t),t.swiperLoopMoveDOM=!1}),O&&H.forEach(e=>{const t=m[e];t.swiperLoopMoveDOM=!0,f.append(t),t.swiperLoopMoveDOM=!1}),c.recalcSlides(),"auto"===_.slidesPerView?c.updateSlides():S&&(E.length>0&&A||H.length>0&&O)&&c.slides.forEach((e,t)=>{c.grid.updateSlide(t,e,c.slides)}),_.watchSlidesProgress&&c.updateSlidesOffset(),n)if(E.length>0&&A){if(void 0===t){const e=c.slidesGrid[C],t=c.slidesGrid[C+z]-e;d?c.setTranslate(c.translate-t):(c.slideTo(C+Math.ceil(z),0,!1,!0),s&&(c.touchEventsData.startTranslate=c.touchEventsData.startTranslate-t,c.touchEventsData.currentTranslate=c.touchEventsData.currentTranslate-t))}else if(s){const e=S?E.length/_.grid.rows:E.length;c.slideTo(c.activeIndex+e,0,!1,!0),c.touchEventsData.currentTranslate=c.translate}}else if(H.length>0&&O)if(void 0===t){const e=c.slidesGrid[C],t=c.slidesGrid[C-I]-e;d?c.setTranslate(c.translate-t):(c.slideTo(C-I,0,!1,!0),s&&(c.touchEventsData.startTranslate=c.touchEventsData.startTranslate-t,c.touchEventsData.currentTranslate=c.touchEventsData.currentTranslate-t))}else{const e=S?H.length/_.grid.rows:H.length;c.slideTo(c.activeIndex-e,0,!1,!0)}c.allowSlidePrev=h,c.allowSlideNext=p;const N=c.controller?.control;if(N&&!l){const e={slideRealIndex:t,direction:a,setTranslate:s,activeSlideIndex:u,byController:!0};Array.isArray(N)?N.forEach(t=>{!t.destroyed&&t.params.loop&&t.loopFix({...e,slideTo:t.params.slidesPerView===_.slidesPerView&&n})}):N instanceof c.constructor&&N.params.loop&&N.loopFix({...e,slideTo:N.params.slidesPerView===_.slidesPerView&&n})}c.__loopFixInProgress__=!1,c.emit("loopFix")},loopDestroy:function(){const e=this,{params:t,slidesEl:n}=e;if(!t.loop||!n||e.virtual&&e.params.virtual?.enabled)return;e.recalcSlides();const i=[];e.slides.forEach(e=>{const t=e,n=void 0===t.swiperSlideIndex?Number(e.getAttribute("data-swiper-slide-index")):t.swiperSlideIndex;i[n]=e}),e.slides.forEach(e=>{e.removeAttribute("data-swiper-slide-index")}),i.forEach(e=>{n.append(e)}),e.recalcSlides(),e.slideTo(e.realIndex,0)}};function S(e,t){return function(n={}){const a=Object.keys(n)[0],s=n[a];"object"==typeof s&&null!==s?(!0===e[a]&&(e[a]={enabled:!0}),"navigation"===a&&e[a]&&e[a].enabled&&!e[a].prevEl&&!e[a].nextEl&&(e[a].auto=!0),["pagination","scrollbar"].indexOf(a)>=0&&e[a]&&e[a].enabled&&!e[a].el&&(e[a].auto=!0),a in e&&"enabled"in s?("object"!=typeof e[a]||"enabled"in e[a]||(e[a].enabled=!0),e[a]||(e[a]={enabled:!1}),(0,i.n)(t,n)):(0,i.n)(t,n)):(0,i.n)(t,n)}}var E={slideTo:function(e=0,t,n=!0,i,a){"string"==typeof e&&(e=parseInt(e,10));const s=this;let r=e;r<0&&(r=0);const{params:o,snapGrid:l,slidesGrid:u,previousIndex:c,activeIndex:m,rtlTranslate:h,wrapperEl:p,enabled:f}=s;if(!f&&!i&&!a||s.destroyed||s.animating&&o.preventInteractionOnTransition)return!1;void 0===t&&(t=s.params.speed);const _=Math.min(s.params.slidesPerGroupSkip,r);let g=_+Math.floor((r-_)/s.params.slidesPerGroup);g>=l.length&&(g=l.length-1);const y=-l[g];if(o.normalizeSlideIndex)for(let e=0;e<u.length;e+=1){const t=-Math.floor(100*y),n=Math.floor(100*u[e]),i=Math.floor(100*u[e+1]);void 0!==u[e+1]?t>=n&&t<i-(i-n)/2?r=e:t>=n&&t<i&&(r=e+1):t>=n&&(r=e)}if(s.initialized&&r!==m){if(!s.allowSlideNext&&(h?y>s.translate&&y>s.minTranslate():y<s.translate&&y<s.minTranslate()))return!1;if(!s.allowSlidePrev&&y>s.translate&&y>s.maxTranslate()&&(m||0)!==r)return!1}let v;r!==(c||0)&&n&&s.emit("beforeSlideChangeStart"),s.updateProgress(y),v=r>m?"next":r<m?"prev":"reset";const M=s.virtual&&s.params.virtual?.enabled;if((!M||!a)&&(h&&-y===s.translate||!h&&y===s.translate))return s.updateActiveIndex(r),o.autoHeight&&s.updateAutoHeight(),s.updateSlidesClasses(),"slide"!==o.effect&&s.setTranslate(y),"reset"!==v&&(s.transitionStart(n,v),s.transitionEnd(n,v)),!1;if(o.cssMode){const e=s.isHorizontal(),n=h?y:-y;return 0===t?(M&&(s.wrapperEl.style.scrollSnapType="none",s._immediateVirtual=!0),M&&!s._cssModeVirtualInitialSet&&(s.params.initialSlide??0)>0?(s._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{p[e?"scrollLeft":"scrollTop"]=n})):p[e?"scrollLeft":"scrollTop"]=n,M&&requestAnimationFrame(()=>{s.wrapperEl.style.scrollSnapType="",s._immediateVirtual=!1})):p.scrollTo({[e?"left":"top"]:n,behavior:"smooth"}),!0}const w=d().isSafari;return M&&!a&&w&&s.isElement&&s.virtual.update(!1,!1,r),s.setTransition(t),s.setTranslate(y),s.updateActiveIndex(r),s.updateSlidesClasses(),s.emit("beforeTransitionStart",t,i),s.transitionStart(n,v),0===t?s.transitionEnd(n,v):s.animating||(s.animating=!0,s.onSlideToWrapperTransitionEnd||(s.onSlideToWrapperTransitionEnd=function(e){s&&!s.destroyed&&e.target===this&&(s.wrapperEl.removeEventListener("transitionend",s.onSlideToWrapperTransitionEnd),s.onSlideToWrapperTransitionEnd=null,delete s.onSlideToWrapperTransitionEnd,s.transitionEnd(n,v))}),s.wrapperEl.addEventListener("transitionend",s.onSlideToWrapperTransitionEnd)),!0},slideToLoop:function(e=0,t,n=!0,i){"string"==typeof e&&(e=parseInt(e,10));const a=this;if(a.destroyed)return;void 0===t&&(t=a.params.speed);const s=a.grid&&a.params.grid&&a.params.grid.rows>1;let r=e;if(a.params.loop)if(a.virtual&&a.params.virtual?.enabled)r+=a.virtual.slidesBefore??0;else{let e;if(s){const t=r*a.params.grid.rows,n=a.slides.find(e=>Number(e.getAttribute("data-swiper-slide-index"))===t);e=n?.column??0}else e=a.getSlideIndexByData(r);const t=s?Math.ceil(a.slides.length/a.params.grid.rows):a.slides.length,{centeredSlides:n,slidesOffsetBefore:o,slidesOffsetAfter:l}=a.params,d=n||!!o||!!l;let u;"auto"===a.params.slidesPerView?u=a.slidesPerViewDynamic():(u=Math.ceil(parseFloat(String(a.params.slidesPerView))),d&&u%2==0&&(u+=1));let c=t-e<u;if(d&&(c=c||e<Math.ceil(u/2)),i&&d&&"auto"!==a.params.slidesPerView&&!s&&(c=!1),c){const n=d?e<a.activeIndex?"prev":"next":e-a.activeIndex-1<a.params.slidesPerView?"next":"prev";a.loopFix({direction:n,slideTo:!0,activeSlideIndex:"next"===n?e+1:e-t+1,slideRealIndex:"next"===n?a.realIndex:void 0})}if(s){const e=r*a.params.grid.rows,t=a.slides.find(t=>Number(t.getAttribute("data-swiper-slide-index"))===e);r=t?.column??0}else r=a.getSlideIndexByData(r)}return requestAnimationFrame(()=>{a.slideTo(r,t,n,i)}),a},slideNext:function(e,t=!0,n){const i=this,{enabled:a,params:s,animating:r}=i;if(!a||i.destroyed)return i;void 0===e&&(e=i.params.speed);let o=s.slidesPerGroup;"auto"===s.slidesPerView&&1===s.slidesPerGroup&&s.slidesPerGroupAuto&&(o=Math.max(i.slidesPerViewDynamic("current",!0),1));const l=i.activeIndex<s.slidesPerGroupSkip?1:o,d=i.virtual&&s.virtual?.enabled;if(s.loop){if(r&&!d&&s.loopPreventsSliding)return!1;if(i.loopFix({direction:"next"}),i._clientLeft=i.wrapperEl.clientLeft,i.activeIndex===i.slides.length-1&&s.cssMode)return requestAnimationFrame(()=>{i.slideTo(i.activeIndex+l,e,t,n)}),!0}return s.rewind&&i.isEnd?i.slideTo(0,e,t,n):i.slideTo(i.activeIndex+l,e,t,n)},slidePrev:function(e,t=!0,n){const i=this,{params:a,snapGrid:s,slidesGrid:r,rtlTranslate:o,enabled:l,animating:d}=i;if(!l||i.destroyed)return i;void 0===e&&(e=i.params.speed);const u=i.virtual&&a.virtual?.enabled;if(a.loop){if(d&&!u&&a.loopPreventsSliding)return!1;i.loopFix({direction:"prev"}),i._clientLeft=i.wrapperEl.clientLeft}function c(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}const m=c(o?i.translate:-i.translate),h=s.map(e=>c(e)),p=a.freeMode&&a.freeMode.enabled;let f=s[h.indexOf(m)-1];if(void 0===f&&(a.cssMode||p)){let e;s.forEach((t,n)=>{m>=t&&(e=n)}),void 0!==e&&(f=p?s[e]:s[e>0?e-1:e])}let _=0;if(void 0!==f&&(_=r.indexOf(f),_<0&&(_=i.activeIndex-1),"auto"===a.slidesPerView&&1===a.slidesPerGroup&&a.slidesPerGroupAuto&&(_=_-i.slidesPerViewDynamic("previous",!0)+1,_=Math.max(_,0))),a.rewind&&i.isBeginning){const a=i.params.virtual?.enabled&&i.virtual?i.virtual.slides.length-1:i.slides.length-1;return i.slideTo(a,e,t,n)}return a.loop&&0===i.activeIndex&&a.cssMode?(requestAnimationFrame(()=>{i.slideTo(_,e,t,n)}),!0):i.slideTo(_,e,t,n)},slideReset:function(e,t=!0,n){const i=this;if(!i.destroyed)return void 0===e&&(e=i.params.speed),i.slideTo(i.activeIndex,e,t,n)},slideToClosest:function(e,t=!0,n,i=.5){const a=this;if(a.destroyed)return;void 0===e&&(e=a.params.speed);let s=a.activeIndex;const r=Math.min(a.params.slidesPerGroupSkip,s),o=r+Math.floor((s-r)/a.params.slidesPerGroup),l=a.rtlTranslate?a.translate:-a.translate;if(l>=a.snapGrid[o]){const e=a.snapGrid[o];l-e>(a.snapGrid[o+1]-e)*i&&(s+=a.params.slidesPerGroup)}else{const e=a.snapGrid[o-1];l-e<=(a.snapGrid[o]-e)*i&&(s-=a.params.slidesPerGroup)}return s=Math.max(s,0),s=Math.min(s,a.slidesGrid.length-1),a.slideTo(s,e,t,n)},slideToClickedSlide:function(){const e=this;if(e.destroyed)return;const{params:t,slidesEl:n,clickedSlide:a,clickedIndex:s}=e;if(void 0===a||void 0===s)return;const r="auto"===t.slidesPerView?e.slidesPerViewDynamic():t.slidesPerView;let o,l=e.getSlideIndexWhenGrid(s);const d=e.isElement?"swiper-slide":`.${t.slideClass}`,u=e.grid&&e.params.grid&&e.params.grid.rows>1;if(t.loop){if(e.animating)return;o=parseInt(a.getAttribute("data-swiper-slide-index"),10),t.centeredSlides?e.slideToLoop(o):l>(u?(e.slides.length-r)/2-(e.params.grid.rows-1):e.slides.length-r)?(e.loopFix(),l=e.getSlideIndex((0,i.e)(n,`${d}[data-swiper-slide-index="${o}"]`)[0]),(0,i.t)(()=>{e.slideTo(l)})):e.slideTo(l)}else e.slideTo(l)}};function H({swiper:e,runCallbacks:t,direction:n,step:i}){const{activeIndex:a,previousIndex:s}=e;let r=n;r||(r=a>s?"next":a<s?"prev":"reset"),e.emit(`transition${i}`),t&&"reset"===r?e.emit(`slideResetTransition${i}`):t&&a!==s&&(e.emit(`slideChangeTransition${i}`),"next"===r?e.emit(`slideNextTransition${i}`):e.emit(`slidePrevTransition${i}`))}const j=(e,t,n)=>{t&&!e.classList.contains(n)?e.classList.add(n):!t&&e.classList.contains(n)&&e.classList.remove(n)},P=(e,t,n)=>{t&&!e.classList.contains(n)?e.classList.add(n):!t&&e.classList.contains(n)&&e.classList.remove(n)};var C={updateSize:function(){const e=this;let t,n;const a=e.el;t=void 0!==e.params.width&&null!==e.params.width?e.params.width:a.clientWidth,n=void 0!==e.params.height&&null!==e.params.height?e.params.height:a.clientHeight,0===t&&e.isHorizontal()||0===n&&e.isVertical()||(t=t-parseInt((0,i.l)(a,"padding-left")||"0",10)-parseInt((0,i.l)(a,"padding-right")||"0",10),n=n-parseInt((0,i.l)(a,"padding-top")||"0",10)-parseInt((0,i.l)(a,"padding-bottom")||"0",10),Number.isNaN(t)&&(t=0),Number.isNaN(n)&&(n=0),Object.assign(e,{width:t,height:n,size:e.isHorizontal()?t:n}))},updateSlides:function(){const e=this;function t(t,n){return parseFloat(t.getPropertyValue(e.getDirectionLabel(n))||"0")}const n=e.params,{wrapperEl:a,slidesEl:s,rtlTranslate:r,wrongRTL:o}=e,l=!(!e.virtual||!n.virtual?.enabled),d=l?e.virtual.slides.length:e.slides.length,u=(0,i.e)(s,`.${e.params.slideClass}, swiper-slide`),c=l?e.virtual.slides.length:u.length;let m=[];const h=[],p=[],f=t=>"function"==typeof t?t.call(e):t,_=f(n.slidesOffsetBefore),g=f(n.slidesOffsetAfter),y=e.snapGrid.length,v=e.slidesGrid.length,M=e.size-_-g;let w=n.spaceBetween,L=-_,b=0,Y=0;if(void 0===M)return;"string"==typeof w&&w.indexOf("%")>=0?w=parseFloat(w.replace("%",""))/100*M:"string"==typeof w&&(w=parseFloat(w)),e.virtualSize=-w-_-g,u.forEach(e=>{r?e.style.marginLeft="":e.style.marginRight="",e.style.marginBottom="",e.style.marginTop=""}),n.centeredSlides&&n.cssMode&&((0,i.v)(a,"--swiper-centered-offset-before",""),(0,i.v)(a,"--swiper-centered-offset-after","")),n.cssMode&&((0,i.v)(a,"--swiper-slides-offset-before",`${_}px`),(0,i.v)(a,"--swiper-slides-offset-after",`${g}px`));const k=n.grid&&n.grid.rows>1&&e.grid;k?e.grid.initSlides(u):e.grid&&e.grid.unsetSlides();let D=0;const T="auto"===n.slidesPerView&&n.breakpoints&&Object.keys(n.breakpoints).filter(e=>{const t=n.breakpoints[e];return void 0!==t?.slidesPerView}).length>0;for(let a=0;a<c;a+=1){D=0;const s=u[a];if(!s||(k&&e.grid.updateSlide(a,s,u),"none"!==(0,i.l)(s,"display"))){if(l&&"auto"===n.slidesPerView)n.virtual?.slidesPerViewAutoSlideSize&&(D=n.virtual.slidesPerViewAutoSlideSize),D&&s&&(n.roundLengths&&(D=Math.floor(D)),s.style[e.getDirectionLabel("width")]=`${D}px`);else if("auto"===n.slidesPerView){T&&(s.style[e.getDirectionLabel("width")]="");const a=getComputedStyle(s),r=s.style.transform,o=s.style.webkitTransform;if(r&&(s.style.transform="none"),o&&(s.style.webkitTransform="none"),n.roundLengths)D=e.isHorizontal()?(0,i.i)(s,"width"):(0,i.i)(s,"height");else{const e=t(a,"width"),n=t(a,"padding-left"),i=t(a,"padding-right"),r=t(a,"margin-left"),o=t(a,"margin-right"),l=a.getPropertyValue("box-sizing");if(l&&"border-box"===l)D=e+r+o;else{const{clientWidth:t,offsetWidth:a}=s;D=e+n+i+r+o+(a-t)}}r&&(s.style.transform=r),o&&(s.style.webkitTransform=o),n.roundLengths&&(D=Math.floor(D))}else D=(M-(n.slidesPerView-1)*w)/n.slidesPerView,n.roundLengths&&(D=Math.floor(D)),s&&(s.style[e.getDirectionLabel("width")]=`${D}px`);s&&(s.swiperSlideSize=D),p.push(D),n.centeredSlides?(L=L+D/2+b/2+w,0===b&&0!==a&&(L=L-M/2-w),0===a&&(L=L-M/2-w),Math.abs(L)<.001&&(L=0),n.roundLengths&&(L=Math.floor(L)),Y%n.slidesPerGroup===0&&m.push(L),h.push(L)):(n.roundLengths&&(L=Math.floor(L)),(Y-Math.min(e.params.slidesPerGroupSkip,Y))%e.params.slidesPerGroup===0&&m.push(L),h.push(L),L=L+D+w),e.virtualSize+=D+w,b=D,Y+=1}}if(e.virtualSize=Math.max(e.virtualSize,M)+g,r&&o&&("slide"===n.effect||"coverflow"===n.effect)&&(a.style.width=`${e.virtualSize+w}px`),n.setWrapperSize&&(a.style[e.getDirectionLabel("width")]=`${e.virtualSize+w}px`),k&&e.grid.updateWrapperSize(D,m),!n.centeredSlides){const t="auto"!==n.slidesPerView&&n.slidesPerView%1!=0,i=n.snapToSlideEdge&&!n.loop&&("auto"===n.slidesPerView||t);let a=m.length;if(i){let e;if("auto"===n.slidesPerView){e=1;let t=0;for(let n=p.length-1;n>=0&&(t+=p[n]+(n<p.length-1?w:0),t<=M);n-=1)e=p.length-n}else e=Math.floor(n.slidesPerView);a=Math.max(c-e,0)}const s=[];for(let t=0;t<m.length;t+=1){let r=m[t];n.roundLengths&&(r=Math.floor(r)),i?t<=a&&s.push(r):m[t]<=e.virtualSize-M&&s.push(r)}m=s,Math.floor(e.virtualSize-M)-Math.floor(m[m.length-1])>1&&(i||m.push(e.virtualSize-M))}if(l&&n.loop){const t=p[0]+w,i=(e.virtual.slidesBefore??0)+(e.virtual.slidesAfter??0);if(n.slidesPerGroup>1){const e=Math.ceil(i/n.slidesPerGroup),a=t*n.slidesPerGroup;for(let t=0;t<e;t+=1)m.push(m[m.length-1]+a)}for(let a=0;a<i;a+=1)1===n.slidesPerGroup&&m.push(m[m.length-1]+t),h.push(h[h.length-1]+t),e.virtualSize+=t}if(0===m.length&&(m=[0]),0!==w){const t=e.isHorizontal()&&r?"marginLeft":e.getDirectionLabel("marginRight");u.filter((e,t)=>!(n.cssMode&&!n.loop)||t!==u.length-1).forEach(e=>{e.style[t]=`${w}px`})}if(n.centeredSlides&&n.centeredSlidesBounds){let e=0;p.forEach(t=>{e+=t+(w||0)}),e-=w;const t=e>M?e-M:0;m=m.map(e=>e<=0?-_:e>t?t+g:e)}if(n.centerInsufficientSlides){let e=0;if(p.forEach(t=>{e+=t+(w||0)}),e-=w,e<M){const t=(M-e)/2;m.forEach((e,n)=>{m[n]=e-t}),h.forEach((e,n)=>{h[n]=e+t})}}if(Object.assign(e,{slides:u,snapGrid:m,slidesGrid:h,slidesSizesGrid:p}),n.centeredSlides&&n.cssMode&&!n.centeredSlidesBounds){(0,i.v)(a,"--swiper-centered-offset-before",-m[0]+"px"),(0,i.v)(a,"--swiper-centered-offset-after",e.size/2-p[p.length-1]/2+"px");const t=-e.snapGrid[0],n=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map(e=>e+t),e.slidesGrid=e.slidesGrid.map(e=>e+n)}if(c!==d&&e.emit("slidesLengthChange"),m.length!==y&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),h.length!==v&&e.emit("slidesGridLengthChange"),n.watchSlidesProgress&&e.updateSlidesOffset(),e.emit("slidesUpdated"),!(l||n.cssMode||"slide"!==n.effect&&"fade"!==n.effect)){const t=`${n.containerModifierClass}backface-hidden`,i=e.el.classList.contains(t);c<=n.maxBackfaceHiddenSlides?i||e.el.classList.add(t):i&&e.el.classList.remove(t)}},updateAutoHeight:function(e){const t=this,n=[],i=t.virtual&&t.params.virtual?.enabled;let a,s=0;"number"==typeof e?t.setTransition(e):!0===e&&t.setTransition(t.params.speed);const r=e=>i?t.slides[t.getSlideIndexByData(e)]:t.slides[e];if("auto"!==t.params.slidesPerView&&t.params.slidesPerView>1)if(t.params.centeredSlides)(t.visibleSlides||[]).forEach(e=>{n.push(e)});else for(a=0;a<Math.ceil(t.params.slidesPerView);a+=1){const e=t.activeIndex+a;if(e>t.slides.length&&!i)break;const s=r(e);s&&n.push(s)}else{const e=r(t.activeIndex);e&&n.push(e)}for(a=0;a<n.length;a+=1)if(void 0!==n[a]){const e=n[a].offsetHeight;s=e>s?e:s}(s||0===s)&&(t.wrapperEl.style.height=`${s}px`)},updateSlidesOffset:function(){const e=this,t=e.slides,n=e.isElement?e.isHorizontal()?e.wrapperEl.offsetLeft:e.wrapperEl.offsetTop:0;for(let i=0;i<t.length;i+=1)t[i].swiperSlideOffset=(e.isHorizontal()?t[i].offsetLeft:t[i].offsetTop)-n-e.cssOverflowAdjustment()},updateSlidesProgress:function(e=this&&this.translate||0){const t=this,n=t.params,{slides:i,rtlTranslate:a,snapGrid:s}=t;if(0===i.length)return;void 0===i[0].swiperSlideOffset&&t.updateSlidesOffset();let r=-e;a&&(r=e),t.visibleSlidesIndexes=[],t.visibleSlides=[];let o=n.spaceBetween;"string"==typeof o&&o.indexOf("%")>=0?o=parseFloat(o.replace("%",""))/100*t.size:"string"==typeof o&&(o=parseFloat(o));for(let e=0;e<i.length;e+=1){const l=i[e];let d=l.swiperSlideOffset??0;n.cssMode&&n.centeredSlides&&(d-=i[0].swiperSlideOffset??0);const u=l.swiperSlideSize??0,c=(r+(n.centeredSlides?t.minTranslate():0)-d)/(u+o),m=(r-s[0]+(n.centeredSlides?t.minTranslate():0)-d)/(u+o),h=-(r-d),p=h+t.slidesSizesGrid[e],f=h>=0&&h<=t.size-t.slidesSizesGrid[e],_=h>=0&&h<t.size-1||p>1&&p<=t.size||h<=0&&p>=t.size;_&&(t.visibleSlides.push(l),t.visibleSlidesIndexes.push(e)),P(l,_,n.slideVisibleClass),P(l,f,n.slideFullyVisibleClass),l.progress=a?-c:c,l.originalProgress=a?-m:m}},updateProgress:function(e){const t=this;if(void 0===e){const n=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*n||0}const n=t.params,i=t.maxTranslate()-t.minTranslate();let{progress:a,isBeginning:s,isEnd:r}=t,o=t.progressLoop;const l=s,d=r;if(0===i)a=0,s=!0,r=!0;else{a=(e-t.minTranslate())/i;const n=Math.abs(e-t.minTranslate())<1,o=Math.abs(e-t.maxTranslate())<1;s=n||a<=0,r=o||a>=1,n&&(a=0),o&&(a=1)}if(n.loop){const n=t.getSlideIndexByData(0),i=t.getSlideIndexByData(t.slides.length-1),a=t.slidesGrid[n],s=t.slidesGrid[i],r=t.slidesGrid[t.slidesGrid.length-1],l=Math.abs(e);o=l>=a?(l-a)/r:(l+r-s)/r,o>1&&(o-=1)}Object.assign(t,{progress:a,progressLoop:o,isBeginning:s,isEnd:r}),(n.watchSlidesProgress||n.centeredSlides&&n.autoHeight)&&t.updateSlidesProgress(e),s&&!l&&t.emit("reachBeginning toEdge"),r&&!d&&t.emit("reachEnd toEdge"),(l&&!s||d&&!r)&&t.emit("fromEdge"),t.emit("progress",a)},updateSlidesClasses:function(){const e=this,{slides:t,params:n,slidesEl:a,activeIndex:s}=e,r=!(!e.virtual||!n.virtual?.enabled),o=e.grid&&n.grid&&n.grid.rows>1,l=e=>(0,i.e)(a,`.${n.slideClass}${e}, swiper-slide${e}`)[0];let d,u,c;if(r)if(n.loop){const t=e.virtual.slides;let n=s-(e.virtual.slidesBefore??0);n<0&&(n=t.length+n),n>=t.length&&(n-=t.length),d=l(`[data-swiper-slide-index="${n}"]`)}else d=l(`[data-swiper-slide-index="${s}"]`);else o?(d=t.find(e=>e.column===s),c=t.find(e=>e.column===s+1),u=t.find(e=>e.column===s-1)):d=t[s];d&&(o||(c=(0,i.g)(d,`.${n.slideClass}, swiper-slide`)[0],n.loop&&!c&&(c=t[0]),u=(0,i.k)(d,`.${n.slideClass}, swiper-slide`)[0],n.loop&&0===!u&&(u=t[t.length-1]))),t.forEach(e=>{j(e,e===d,n.slideActiveClass),j(e,e===c,n.slideNextClass),j(e,e===u,n.slidePrevClass)}),e.emitSlidesClasses()},updateActiveIndex:function(e){const t=this,n=t.rtlTranslate?t.translate:-t.translate,{snapGrid:i,params:a,activeIndex:s,realIndex:r,snapIndex:o}=t;let l,d=e;const u=e=>{const n=t.virtual.slides;let i=e-(t.virtual.slidesBefore??0);return i<0&&(i=n.length+i),i>=n.length&&(i-=n.length),i};if(void 0===d&&(d=function(e){const{slidesGrid:t,params:n}=e,i=e.rtlTranslate?e.translate:-e.translate;let a;for(let e=0;e<t.length;e+=1)void 0!==t[e+1]?i>=t[e]&&i<t[e+1]-(t[e+1]-t[e])/2?a=e:i>=t[e]&&i<t[e+1]&&(a=e+1):i>=t[e]&&(a=e);return n.normalizeSlideIndex&&(a<0||void 0===a)&&(a=0),a}(t)),i.indexOf(n)>=0)l=i.indexOf(n);else{const e=Math.min(a.slidesPerGroupSkip,d);l=e+Math.floor((d-e)/a.slidesPerGroup)}if(l>=i.length&&(l=i.length-1),d===s&&!t.params.loop)return void(l!==o&&(t.snapIndex=l,t.emit("snapIndexChange")));if(d===s&&t.params.loop&&t.virtual&&t.params.virtual?.enabled)return void(t.realIndex=u(d));const c=t.grid&&a.grid&&a.grid.rows>1;let h;if(t.virtual&&a.virtual?.enabled)h=a.loop?u(d):d;else if(c){const e=t.slides.find(e=>e.column===d);let n=parseInt(e.getAttribute("data-swiper-slide-index"),10);Number.isNaN(n)&&(n=Math.max(t.slides.indexOf(e),0)),h=Math.floor(n/a.grid.rows)}else if(t.slides[d]){const e=t.slides[d].getAttribute("data-swiper-slide-index");h=e?parseInt(e,10):d}else h=d;Object.assign(t,{previousSnapIndex:o,snapIndex:l,previousRealIndex:r,realIndex:h,previousIndex:s,activeIndex:d}),t.initialized&&m(t),t.__loopFixInProgress__||(t.emit("activeIndexChange"),t.emit("snapIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&((t.__lastEmittedRealIndex__??r)!==h&&t.emit("realIndexChange"),t.emit("slideChange")),t.__lastEmittedRealIndex__=h)},updateClickedSlide:function(e,t){const n=this,i=n.params;let a=e.closest(`.${i.slideClass}, swiper-slide`);!a&&n.isElement&&t&&t.length>1&&t.includes(e)&&[...t.slice(t.indexOf(e)+1,t.length)].forEach(e=>{!a&&e.matches&&e.matches(`.${i.slideClass}, swiper-slide`)&&(a=e)});let s,r=!1;if(a)for(let e=0;e<n.slides.length;e+=1)if(n.slides[e]===a){r=!0,s=e;break}if(!a||!r)return n.clickedSlide=void 0,void(n.clickedIndex=void 0);n.clickedSlide=a,n.virtual&&n.params.virtual?.enabled?n.clickedIndex=parseInt(a.getAttribute("data-swiper-slide-index"),10):n.clickedIndex=s,i.slideToClickedSlide&&void 0!==n.clickedIndex&&n.clickedIndex!==n.activeIndex&&n.slideToClickedSlide()}};const O={eventsEmitter:g,update:C,translate:{getTranslate:function(e=(this.isHorizontal()?"x":"y")){const{params:t,rtlTranslate:n,translate:a,wrapperEl:s}=this;if(t.virtualTranslate)return n?-a:a;if(t.cssMode)return a;let r=(0,i.q)(s,e);return r+=this.cssOverflowAdjustment(),n&&(r=-r),r||0},setTranslate:function(e,t){const n=this,{rtlTranslate:i,params:a,wrapperEl:s,progress:r}=n;let o,l=0,d=0;n.isHorizontal()?l=i?-e:e:d=e,a.roundLengths&&(l=Math.floor(l),d=Math.floor(d)),n.previousTranslate=n.translate,n.translate=n.isHorizontal()?l:d,a.cssMode?s[n.isHorizontal()?"scrollLeft":"scrollTop"]=n.isHorizontal()?-l:-d:a.virtualTranslate||(n.isHorizontal()?l-=n.cssOverflowAdjustment():d-=n.cssOverflowAdjustment(),s.style.transform=`translate3d(${l}px, ${d}px, 0px)`);const u=n.maxTranslate()-n.minTranslate();o=0===u?0:(e-n.minTranslate())/u,o!==r&&n.updateProgress(e),n.emit("setTranslate",n.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(e=0,t=this.params.speed,n=!0,i=!0,a){const s=this,{params:r,wrapperEl:o}=s;if(s.animating&&r.preventInteractionOnTransition)return!1;const l=s.minTranslate(),d=s.maxTranslate();let u;if(u=i&&e>l?l:i&&e<d?d:e,s.updateProgress(u),r.cssMode){const e=s.isHorizontal();return 0===t?o[e?"scrollLeft":"scrollTop"]=-u:o.scrollTo({[e?"left":"top"]:-u,behavior:"smooth"}),!0}return 0===t?(s.setTransition(0),s.setTranslate(u),n&&(s.emit("beforeTransitionStart",t,a),s.emit("transitionEnd"))):(s.setTransition(t),s.setTranslate(u),n&&(s.emit("beforeTransitionStart",t,a),s.emit("transitionStart")),s.animating||(s.animating=!0,s.onTranslateToWrapperTransitionEnd||(s.onTranslateToWrapperTransitionEnd=function(e){s&&!s.destroyed&&e.target===this&&(s.wrapperEl.removeEventListener("transitionend",s.onTranslateToWrapperTransitionEnd),s.onTranslateToWrapperTransitionEnd=null,delete s.onTranslateToWrapperTransitionEnd,s.animating=!1,n&&s.emit("transitionEnd"))}),s.wrapperEl.addEventListener("transitionend",s.onTranslateToWrapperTransitionEnd))),!0}},transition:{setTransition:function(e,t){const n=this;n.params.cssMode||(n.wrapperEl.style.transitionDuration=`${e}ms`,n.wrapperEl.style.transitionDelay=0===e?"0ms":""),n.emit("setTransition",e,t)},transitionStart:function(e=!0,t){const n=this,{params:i}=n;i.cssMode||(i.autoHeight&&n.updateAutoHeight(),H({swiper:n,runCallbacks:e,direction:t,step:"Start"}))},transitionEnd:function(e=!0,t){const n=this,{params:i}=n;n.animating=!1,i.cssMode||(n.setTransition(0),H({swiper:n,runCallbacks:e,direction:t,step:"End"}))}},slide:E,loop:x,grabCursor:{setGrabCursor:function(e){const t=this;if(!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;const n="container"===t.params.touchEventsTarget?t.el:t.wrapperEl;t.isElement&&(t.__preventObserver__=!0),n.style.cursor="move",n.style.cursor=e?"grabbing":"grab",t.isElement&&requestAnimationFrame(()=>{t.__preventObserver__=!1})},unsetGrabCursor:function(){const e=this;e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e.isElement&&(e.__preventObserver__=!0),e["container"===e.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1}))}},events:{attachEvents:function(){const e=this,{params:t}=e;e.onTouchStart=D.bind(e),e.onTouchMove=Y.bind(e),e.onTouchEnd=b.bind(e),e.onDocumentTouchStart=v.bind(e),t.cssMode&&(e.onScroll=L.bind(e)),e.onClick=y.bind(e),e.onLoad=M.bind(e),T(e,"on")},detachEvents:function(){T(this,"off")}},breakpoints:p,checkOverflow:{checkOverflow:function(){const e=this,{isLocked:t,params:n}=e,{slidesOffsetBefore:i}=n;if(i){const t=e.slides.length-1,n=e.slidesGrid[t]+e.slidesSizesGrid[t]+2*i;e.isLocked=e.size>n}else e.isLocked=1===e.snapGrid.length;!0===n.allowSlideNext&&(e.allowSlideNext=!e.isLocked),!0===n.allowSlidePrev&&(e.allowSlidePrev=!e.isLocked),t&&t!==e.isLocked&&(e.isEnd=!1),t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock")}},classes:f},A={};class z{static extendedDefaults;static defaults;constructor(...e){let t,n;if(1===e.length&&null!==e[0]&&"object"==typeof e[0]&&"Object"===Object.prototype.toString.call(e[0]).slice(8,-1)?n=e[0]:[t,n]=e,n||(n={}),n=(0,i.n)({},n),t&&!n.el&&(n.el=t),n.el&&"string"==typeof n.el&&"undefined"!=typeof document&&document.querySelectorAll(n.el).length>1){const e=[];return document.querySelectorAll(n.el).forEach(t=>{const a=(0,i.n)({},n,{el:t});e.push(new z(a))}),e}const a=this;a.__swiper__=!0,a.support=o(),a.device=l({userAgent:n.userAgent??void 0}),a.browser=d(),a.eventsListeners={},a.eventsAnyListeners=[],a.modules=[...a.__modules__||[]],n.modules&&Array.isArray(n.modules)&&n.modules.forEach(e=>{const t=e;"function"==typeof t&&a.modules.indexOf(t)<0&&a.modules.push(t)});const s={};a.modules.forEach(e=>{e({params:n,swiper:a,extendParams:S(n,s),on:a.on.bind(a),once:a.once.bind(a),off:a.off.bind(a),emit:a.emit.bind(a)})});const r=(0,i.n)({},_,s);if(a.params=(0,i.n)({},r,A,n),a.originalParams=(0,i.n)({},a.params),a.passedParams=(0,i.n)({},n),a.params&&a.params.on){const e=a.params.on;Object.keys(e).forEach(t=>{const n=e[t];n&&a.on(t,n)})}return a.params&&a.params.onAny&&a.onAny(a.params.onAny),Object.assign(a,{enabled:a.params.enabled,el:t,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>"horizontal"===a.params.direction,isVertical:()=>"vertical"===a.params.direction,activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:a.params.allowSlideNext,allowSlidePrev:a.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:a.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:a.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),a.emit("_swiper"),a.params.init&&a.init(),a}getDirectionLabel(e){return this.isHorizontal()?e:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[e]}isHorizontal(){return"horizontal"===this.params.direction}isVertical(){return"vertical"===this.params.direction}cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23}getSlideIndex(e){const{slidesEl:t,params:n}=this,a=(0,i.e)(t,`.${n.slideClass}, swiper-slide`),s=(0,i.b)(a[0]);return(0,i.b)(e)-(s??0)}getSlideIndexByData(e){return this.getSlideIndex(this.slides.find(t=>Number(t.getAttribute("data-swiper-slide-index"))===e))}getSlideIndexWhenGrid(e){return this.grid&&this.params.grid&&this.params.grid.rows>1&&("column"===this.params.grid.fill?e=Math.floor(e/this.params.grid.rows):"row"===this.params.grid.fill&&(e%=Math.ceil(this.slides.length/this.params.grid.rows))),e}recalcSlides(){const{slidesEl:e,params:t}=this;this.slides=(0,i.e)(e,`.${t.slideClass}, swiper-slide`)}enable(){this.enabled||(this.enabled=!0,this.params.grabCursor&&this.setGrabCursor(),this.emit("enable"))}disable(){this.enabled&&(this.enabled=!1,this.params.grabCursor&&this.unsetGrabCursor(),this.emit("disable"))}setProgress(e,t){e=Math.min(Math.max(e,0),1);const n=this.minTranslate(),i=(this.maxTranslate()-n)*e+n;this.translateTo(i,void 0===t?0:t),this.updateActiveIndex(),this.updateSlidesClasses()}emitContainerClasses(){if(!this.params._emitClasses||!this.el)return;const e=this.el.className.split(" ").filter(e=>0===e.indexOf("swiper")||0===e.indexOf(this.params.containerModifierClass));this.emit("_containerClasses",e.join(" "))}getSlideClasses(e){return this.destroyed?"":e.className.split(" ").filter(e=>0===e.indexOf("swiper-slide")||0===e.indexOf(this.params.slideClass)).join(" ")}emitSlidesClasses(){if(!this.params._emitClasses||!this.el)return;const e=[];this.slides.forEach(t=>{const n=this.getSlideClasses(t);e.push({slideEl:t,classNames:n}),this.emit("_slideClass",t,n)}),this.emit("_slideClasses",e)}slidesPerViewDynamic(e="current",t=!1){const{params:n,slides:i,slidesGrid:a,slidesSizesGrid:s,size:r,activeIndex:o}=this;let l=1;if("number"==typeof n.slidesPerView)return n.slidesPerView;if(!r)return l;if(n.centeredSlides){let e=i[o]?Math.ceil(i[o].swiperSlideSize??0):0,t=!1;for(let n=o+1;n<i.length;n+=1)i[n]&&!t&&(e+=Math.ceil(i[n].swiperSlideSize??0),l+=1,e>r&&(t=!0));for(let n=o-1;n>=0;n-=1)i[n]&&!t&&(e+=i[n].swiperSlideSize??0,l+=1,e>r&&(t=!0))}else if("current"===e)for(let e=o+1;e<i.length;e+=1)(t?a[e]+s[e]-a[o]<r:a[e]-a[o]<r)&&(l+=1);else for(let e=o-1;e>=0;e-=1)a[o]-a[e]<r&&(l+=1);return l}update(){const e=this;if(!e||e.destroyed)return;const{snapGrid:t,params:n}=e;function i(){const t=e.rtlTranslate?-1*e.translate:e.translate,n=Math.min(Math.max(t,e.maxTranslate()),e.minTranslate());e.setTranslate(n),e.updateActiveIndex(),e.updateSlidesClasses()}let a;if(n.breakpoints&&e.setBreakpoint(),n.lazyPreload&&[...e.el.querySelectorAll('[loading="lazy"]')].forEach(t=>{t.complete&&u(e,t)}),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),n.freeMode?.enabled&&!n.cssMode)i(),n.autoHeight&&e.updateAutoHeight();else{if(("auto"===n.slidesPerView||n.slidesPerView>1)&&e.isEnd&&!n.centeredSlides){const t=e.virtual&&n.virtual?.enabled?e.virtual.slides.length:e.slides.length;a=e.slideTo(t-1,0,!1,!0)}else a=e.slideTo(e.activeIndex,0,!1,!0);a||i()}n.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,t=!0){const n=this,i=n.params.direction;return e||(e="horizontal"===i?"vertical":"horizontal"),e===i||"horizontal"!==e&&"vertical"!==e||(n.el.classList.remove(`${n.params.containerModifierClass}${i}`),n.el.classList.add(`${n.params.containerModifierClass}${e}`),n.emitContainerClasses(),n.params.direction=e,n.rtlTranslate="horizontal"===e&&n.rtl,n.slides.forEach(t=>{"vertical"===e?t.style.width="":t.style.height=""}),n.emit("changeDirection"),t&&n.update()),n}changeLanguageDirection(e){const t=this;t.rtl&&"rtl"===e||!t.rtl&&"ltr"===e||(t.rtl="rtl"===e,t.rtlTranslate="horizontal"===t.params.direction&&t.rtl,t.rtl?(t.el.classList.add(`${t.params.containerModifierClass}rtl`),t.el.dir="rtl"):(t.el.classList.remove(`${t.params.containerModifierClass}rtl`),t.el.dir="ltr"),t.update())}mount(e){const t=this;if(t.mounted)return!0;if("undefined"==typeof document)return!1;const n=e??t.params.el;let a=null;if("string"==typeof n?a=document.querySelector(n):n instanceof HTMLElement&&(a=n),!a)return!1;a.swiper=t;const s=a.parentNode;s&&s.host&&s.host.nodeName===t.params.swiperElementNodeName.toUpperCase()&&(t.isElement=!0);const r=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`;let o=a&&a.shadowRoot?a.shadowRoot.querySelector(r()):(0,i.e)(a,r())[0];!o&&t.params.createElements&&(o=(0,i.a)("div",t.params.wrapperClass),a.append(o),(0,i.e)(a,`.${t.params.slideClass}`).forEach(e=>{o.append(e)}));const l=t.isElement?a.parentNode.host:null;return Object.assign(t,{el:a,wrapperEl:o,slidesEl:t.isElement&&!l.slideSlots?l:o,hostEl:t.isElement?l:a,mounted:!0,rtl:"rtl"===a.dir.toLowerCase()||"rtl"===(0,i.l)(a,"direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===a.dir.toLowerCase()||"rtl"===(0,i.l)(a,"direction")),wrongRTL:"-webkit-box"===(0,i.l)(o,"display")}),!0}init(e){const t=this;if(t.initialized)return t;if(!1===t.mount(e))return t;if(t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.loop&&t.virtual&&t.params.virtual?.enabled?t.slideTo((t.params.initialSlide??0)+(t.virtual.slidesBefore??0),0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.params.loop&&t.loopCreate(void 0,!0),t.attachEvents(),t.params.lazyPreload){const e=[...t.el.querySelectorAll('[loading="lazy"]')];t.isElement&&e.push(...t.hostEl.querySelectorAll('[loading="lazy"]')),e.forEach(e=>{e.complete?u(t,e):e.addEventListener("load",e=>{u(t,e.target)})})}return t.initialized=!0,m(t),t.emit("init"),t.emit("afterInit"),t}destroy(e=!0,t=!0){const n=this,{params:a,el:s,wrapperEl:r,slides:o}=n;return void 0===n.params||n.destroyed||(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),a.loop&&n.loopDestroy(),t&&(n.removeClasses(),s&&"string"!=typeof s&&s.removeAttribute("style"),r&&r.removeAttribute("style"),o&&o.length&&o.forEach(e=>{e.classList.remove(a.slideVisibleClass,a.slideFullyVisibleClass,a.slideActiveClass,a.slideNextClass,a.slidePrevClass),e.removeAttribute("style"),e.removeAttribute("data-swiper-slide-index")})),n.emit("destroy"),Object.keys(n.eventsListeners).forEach(e=>{n.off(e)}),!1!==e&&(n.el&&"string"!=typeof n.el&&(n.el.swiper=null),(0,i.d)(n)),n.destroyed=!0),null}static extendDefaults(e){(0,i.n)(A,e)}static installModule(e){z.prototype.__modules__||(z.prototype.__modules__=[]);const t=z.prototype.__modules__;"function"==typeof e&&t.indexOf(e)<0&&t.push(e)}static use(e){return Array.isArray(e)?(e.forEach(e=>z.installModule(e)),z):(z.installModule(e),z)}}Object.defineProperty(z,"extendedDefaults",{get:()=>A}),Object.defineProperty(z,"defaults",{get:()=>_});const I=O,W=z.prototype;Object.keys(I).forEach(e=>{const t=I[e];Object.keys(t).forEach(e=>{W[e]=t[e]})}),z.use([({swiper:e,on:t,emit:n})=>{let i=null,a=null;const s=()=>{e&&!e.destroyed&&e.initialized&&(n("beforeResize"),n("resize"))},r=()=>{e&&!e.destroyed&&e.initialized&&n("orientationchange")};t("init",()=>{e.params.resizeObserver&&void 0!==window.ResizeObserver?e&&!e.destroyed&&e.initialized&&(i=new ResizeObserver(t=>{a=window.requestAnimationFrame(()=>{const{width:n,height:i}=e;let a=n,r=i;t.forEach(({contentBoxSize:t,contentRect:n,target:i})=>{if(i&&i!==e.el)return;const s=Array.isArray(t)?t[0]:t;a=n?n.width:s.inlineSize,r=n?n.height:s.blockSize}),a===n&&r===i||s()})}),i.observe(e.el)):(window.addEventListener("resize",s),window.addEventListener("orientationchange",r))}),t("destroy",()=>{a&&window.cancelAnimationFrame(a),i&&i.unobserve&&e.el&&(i.unobserve(e.el),i=null),window.removeEventListener("resize",s),window.removeEventListener("orientationchange",r)})},({swiper:e,extendParams:t,on:n})=>{const a=[],s=(t,n={})=>{const i=window.MutationObserver||window.WebkitMutationObserver;if(!i)return;const s=new i(t=>{if(e.__preventObserver__)return;if(1===t.length)return void e.emit("observerUpdate",t[0]);const n=function(){e.emit("observerUpdate",t[0])};window.requestAnimationFrame?window.requestAnimationFrame(n):window.setTimeout(n,0)});s.observe(t,{attributes:void 0===n.attributes||n.attributes,childList:e.isElement||void 0===n.childList||n.childList,characterData:void 0===n.characterData||n.characterData}),a.push(s)};t({observer:!1,observeParents:!1,observeSlideChildren:!1}),n("init",()=>{if(e.params.observer){if(e.params.observeParents){const t=(0,i.j)(e.hostEl);for(let e=0;e<t.length;e+=1)s(t[e])}s(e.hostEl,{childList:e.params.observeSlideChildren}),s(e.wrapperEl,{attributes:!1})}}),n("destroy",()=>{a.forEach(e=>{e.disconnect()}),a.splice(0,a.length)})}])},7044(e,t,n){"use strict";function i(e=""){return e.trim().split(" ").filter(e=>!!e.trim())}function a(e){Object.keys(e).forEach(t=>{try{e[t]=null}catch{}try{delete e[t]}catch{}})}function s(e,t=0){return setTimeout(e,t)}function r(){return Date.now()}function o(e,t="x"){const n=function(e){return window.getComputedStyle(e,null)}(e),i=n.transform||n.webkitTransform;if(!i||"none"===i)return 0;const a=new DOMMatrixReadOnly(i);return"x"===t?a.m41:a.m42}function l(e){return"object"==typeof e&&null!==e&&!!e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function d(e){return"undefined"!=typeof HTMLElement&&e instanceof HTMLElement||!!e&&"object"==typeof e&&(1===e.nodeType||11===e.nodeType)}function u(e,...t){const n=Object(e);for(let e=0;e<t.length;e+=1){const i=t[e];if(null==i||d(i))continue;const a=i,s=Object.keys(Object(a));for(let e=0,t=s.length;e<t;e+=1){const t=s[e];if("__proto__"===t||"constructor"===t||"prototype"===t)continue;const i=Object.getOwnPropertyDescriptor(a,t);if(!i||!i.enumerable)continue;const r=a[t];l(n[t])&&l(r)?r.__swiper__?n[t]=r:u(n[t],r):!l(n[t])&&l(r)?(n[t]={},r.__swiper__?n[t]=r:u(n[t],r)):n[t]=r}}return n}function c(e,t,n){e.style.setProperty(t,n)}function m(e){const t=e.querySelector(".swiper-slide-transform");if(t)return t;if(e.shadowRoot){const t=e.shadowRoot.querySelector(".swiper-slide-transform");if(t)return t}return e}function h(e,t=""){const n=[...e.children];return e instanceof HTMLSlotElement&&n.push(...e.assignedElements()),t?n.filter(e=>e.matches(t)):n}function p(e,t){let n=t.contains(e);return!n&&t instanceof HTMLSlotElement&&(n=[...t.assignedElements()].includes(e),n||(n=function(e,t){const n=[t];for(;n.length>0;){const t=n.shift();if(e===t)return!0;n.push(...t.children,...t.shadowRoot?t.shadowRoot.children:[],...t.assignedElements?t.assignedElements():[])}return!1}(e,t))),n}function f(e){try{console.warn(e)}catch{}}function _(e,t=[]){const n=document.createElement(e);return n.classList.add(...Array.isArray(t)?t:i(t)),n}function g(e){const t=e.getBoundingClientRect();return{top:t.top-(e.clientTop||0),left:t.left-(e.clientLeft||0)}}function y(e,t){const n=[];let i=e.previousElementSibling;for(;i;)t&&!i.matches(t)||n.push(i),i=i.previousElementSibling;return n}function v(e,t){const n=[];let i=e.nextElementSibling;for(;i;)t&&!i.matches(t)||n.push(i),i=i.nextElementSibling;return n}function M(e,t){return window.getComputedStyle(e,null).getPropertyValue(t)}function w(e){if(e&&e.parentNode)return[...e.parentNode.children].indexOf(e)}function L(e,t){const n=[];let i=e.parentElement;for(;i;)t&&!i.matches(t)||n.push(i),i=i.parentElement;return n}function b(e,t){t&&e.addEventListener("transitionend",function(n){n.target===e&&t.call(e,n)},{once:!0})}function Y(e,t,n){{const n=window.getComputedStyle(e,null);return e["width"===t?"offsetWidth":"offsetHeight"]+parseFloat(n.getPropertyValue("width"===t?"margin-right":"margin-top"))+parseFloat(n.getPropertyValue("width"===t?"margin-left":"margin-bottom"))}}function k(e){return(Array.isArray(e)?e:[e]).filter(e=>!!e)}function D(e){return t=>Math.abs(t)>0&&e.browser&&e.browser.need3dFix&&Math.abs(t)%90==0?t+.001:t}function T(e,t=""){const n=globalThis.trustedTypes;e.innerHTML=void 0!==n?n.createPolicy("html",{createHTML:e=>e}).createHTML(t):t}n.d(t,{a:()=>_,b:()=>w,c:()=>i,d:()=>a,e:()=>h,f:()=>p,g:()=>v,h:()=>g,i:()=>Y,j:()=>L,k:()=>y,l:()=>M,m:()=>b,n:()=>u,o:()=>D,p:()=>m,q:()=>
9218o,r:()=>l,s:()=>k,t:()=>s,u:()=>r,v:()=>c,w:()=>T,x:()=>f})}};const t={};function n(i){const a=t[i];if(void 0!==a)return a.exports;const s=t[i]={id:i,loaded:!1,exports:{}};return e[i].call(s.exports,s,s.exports,n),s.loaded=!0,s.exports}n.n=e=>{const t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.cw=e=>{var t;return()=>{if(e){var n=e;e=0,t={exports:{}},n.call(t.exports,t,t.exports)}return t.exports}},n.d=(e,t)=>{for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),n.nc=void 0,(()=>{"use strict";var e=n(5072),t=n.n(e),i=n(7825),a=n.n(i),s=n(7659),r=n.n(s),o=n(5056),l=n.n(o),d=n(540),u=n.n(d),c=n(1113),m=n.n(c),h=n(593),p=n.n(h),f={};f.styleTagTransform=m(),f.setAttributes=l(),f.insert=r().bind(null,"head"),f.domAPI=a(),f.insertStyleElement=u(),t()(p(),f),p()&&p().locals&&p().locals,n(1087),n(1819),n(6533)})(),(()=>{"use strict";var e=n(5072),t=n.n(e),i=n(7825),a=n.n(i),s=n(7659),r=n.n(s),o=n(5056),l=n.n(o),d=n(540),u=n.n(d),c=n(1113),m=n.n(c),h=n(7519),p=n.n(h),f={};f.styleTagTransform=m(),f.setAttributes=l(),f.insert=r().bind(null,"head"),f.domAPI=a(),f.insertStyleElement=u(),t()(p(),f),p()&&p().locals&&p().locals;var _=n(1463),g=n(7044);function y(e,t,n,i){const a=n??{},s=t??{};
9218return e.params.createElements&&Object.keys(i).forEach(t=>{if(!a[t]&&!0===a.auto){let n=(0,g.e)(e.el,`.${i[t]}`)[0];n||(n=(0,g.a)("div",i[t]),n.className=i[t],e.el.append(n)),a[t]=n,s[t]=n}}),a}const v='<svg class="swiper-navigation-icon" width="11" height="20" viewBox="0 0 11 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0.38296 20.0762C0.111788 19.805 0.111788 19.3654 0.38296 19.0942L9.19758 10.2796L0.38296 1.46497C0.111788 1.19379 0.111788 0.754138 0.38296 0.482966C0.654131 0.211794 1.09379 0.211794 1.36496 0.482966L10.4341 9.55214C10.8359 9.9539 10.8359 10.6053 10.4341 11.007L1.36496 20.0762C1.09379 20.3474 0.654131 20.3474 0.38296 20.0762Z" fill="currentColor"/></svg>';function M(e=""){return`.${e.trim().replace(/([.:!+/()[\]#>~*^$|=,'"@{}\\])/g,"\\$1").replace(/ /g,".")}`}const w=e=>{if((e=>!!e.virtual&&!!e.params.virtual?.enabled)(e))return e.virtual.slides.length;const t=e.params.grid?.rows;return e.grid&&t&&t>1?e.slides.length/Math.ceil(t):e.slides.length};class L{x;y;lastIndex;binarySearch;constructor(e,t){let n,i,a;this.binarySearch=(e,t)=>{for(i=-1,n=e.length;n-i>1;)a=n+i>>1,e[a]<=t?i=a:n=a;return n},this.x=e,this.y=t,this.lastIndex=e.length-1}interpolate(e){if(!e)return 0;const t=this.binarySearch(this.x,e),n=t-1;return(e-this.x[n])*(this.y[t]-this.y[n])/(this.x[t]-this.x[n])+this.y[n]}}const b=e=>!!e.virtual&&!!e.params.virtual?.enabled;function Y(e,t){const n=this,{params:i,activeIndex:a,slidesEl:s}=n;let r=a;i.loop&&(r-=n.loopedSlides??0,n.loopDestroy(),n.recalcSlides());const o=n.slides.length;if(e<=0)return void n.prependSlide(t);if(e>=o)return void n.appendSlide(t);let l=r>e?r+1:r;const d=[];for(let t=o-1;t>=e;t-=1){const e=n.slides[t];e&&(e.remove(),d.unshift(e))}if(Array.isArray(t)){for(let e=0;e<t.length;e+=1){const n=t[e];n&&s.append(n)}l=r>e?r+t.length:r}else s.append(t);for(let e=0;e<d.length;e+=1)s.append(d[e]);n.recalcSlides(),i.loop&&n.loopCreate(),i.observer&&!n.isElement||n.update(),i.loop?n.slideTo(l+(n.loopedSlides??0),0,!1):n.slideTo(l,0,!1)}function k(e){const t=this,{params:n,slidesEl:i}=t;n.loop&&t.loopDestroy();const a=e=>{if("string"==typeof e){const t=document.createElement("div");(0,g.w)(t,e);const n=t.children[0];n&&i.append(n),(0,g.w)(t,"")}else i.append(e)};if(Array.isArray(e))for(let t=0;t<e.length;t+=1){const n=e[t];n&&a(n)}else a(e);t.recalcSlides(),n.loop&&t.loopCreate(),n.observer&&!t.isElement||t.update()}function D(e){const t=this,{params:n,activeIndex:i,slidesEl:a}=t;n.loop&&t.loopDestroy();let s=i+1;const r=e=>{if("string"==typeof e){const t=document.createElement("div");(0,g.w)(t,e);const n=t.children[0];n&&a.prepend(n),(0,g.w)(t,"")}else a.prepend(e)};if(Array.isArray(e)){for(let t=0;t<e.length;t+=1){const n=e[t];n&&r(n)}s=i+e.length}else r(e);t.recalcSlides(),n.loop&&t.loopCreate(),n.observer&&!t.isElement||t.update(),t.slideTo(s,0,!1)}function T(){const e=this,t=[];for(let n=0;n<e.slides.length;n+=1)t.push(n);e.removeSlide(t)}function x(e){const t=this,{params:n,activeIndex:i}=t;let a=i;n.loop&&(a-=t.loopedSlides??0,t.loopDestroy());let s=a;if(Array.isArray(e)){for(let n=0;n<e.length;n+=1){const i=e[n];t.slides[i]&&t.slides[i].remove(),i<s&&(s-=1)}s=Math.max(s,0)}else{const n=e;t.slides[n]&&t.slides[n].remove(),n<s&&(s-=1),s=Math.max(s,0)}t.recalcSlides(),n.loop&&t.loopCreate(),n.observer&&!t.isElement||t.update(),n.loop?t.slideTo(s+(t.loopedSlides??0),0,!1):t.slideTo(s,0,!1)}function S(e){const{effect:t,swiper:n,on:i,setTranslate:a,setTransition:s,overwriteParams:r,perspective:o,recreateShadows:l,getEffectParams:d}=e;i("beforeInit",()=>{if(n.params.effect!==t)return;n.classNames.push(`${n.params.containerModifierClass}${t}`),o&&o()&&n.classNames.push(`${n.params.containerModifierClass}3d`);const e=r?r():{};Object.assign(n.params,e),Object.assign(n.originalParams,e)}),i("setTranslate _virtualUpdated",()=>{n.params.effect===t&&a()}),i("setTransition",(e,i)=>{n.params.effect===t&&s(i)}),i("transitionEnd",()=>{if(n.params.effect===t&&l){const e=d?d():void 0;if(!e||!e.slideShadows)return;n.slides.forEach(e=>{e.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(e
9218=>e.remove())}),l()}});let u=!1;i("virtualUpdate",()=>{n.params.effect===t&&(n.slides.length||(u=!0),requestAnimationFrame(()=>{u&&n.slides&&n.slides.length&&(a(),u=!1)}))})}function E(e,t){const n=(0,g.p)(t);return n!==t&&(n.style.backfaceVisibility="hidden",n.style.setProperty("-webkit-backface-visibility","hidden")),n}function H({swiper:e,duration:t,transformElements:n,allSlides:i}){const{activeIndex:a}=e;if(e.params.virtualTranslate&&0!==t){let t,s=!1;t=i?n:n.filter(t=>{const n=t.classList.contains("swiper-slide-transform")?(t=>t.parentElement?t.parentElement instanceof HTMLElement?t.parentElement:void 0:e.slides.find(e=>e.shadowRoot&&e.shadowRoot===t.parentNode))(t):t;return!!n&&e.getSlideIndex(n)===a}),t.forEach(t=>{(0,g.m)(t,()=>{if(s)return;if(!e||e.destroyed)return;s=!0,e.animating=!1;const t=new CustomEvent("transitionend",{bubbles:!0,cancelable:!0});e.wrapperEl.dispatchEvent(t)})})}}function j(e,t,n){const i=`swiper-slide-shadow${n?`-${n}`:""}${e?` swiper-slide-shadow-${e}`:""}`,a=(0,g.p)(t),s=`.${i.split(" ").join(".")}`,r=a.querySelector(s);if(r)return r;const o=(0,g.a)("div",i.split(" "));return a.append(o),o}const P=[({swiper:e,extendParams:t,on:n,emit:i})=>{let a,s;function r(){return e.params.virtual}function o(t,n){const i=r();if(i.cache&&e.virtual.cache[n])return e.virtual.cache[n];let a;if(i.renderSlide){const r=i.renderSlide.call(e,t,n);if("string"==typeof r){const e=s??=document.createElement("div");(0,g.w)(e,r),a=e.children[0]}else a=r}else a=e.isElement?(0,g.a)("swiper-slide"):(0,g.a)("div",e.params.slideClass);return a.setAttribute("data-swiper-slide-index",String(n)),i.renderSlide||(0,g.w)(a,t),i.cache&&(e.virtual.cache[n]=a),a}function l(t,n,a){const{slidesPerGroup:s,centeredSlides:l,slidesPerView:d,loop:u,initialSlide:c}=e.params;if(n&&!u&&(c??0)>0)return;const{addSlidesBefore:m,addSlidesAfter:h,slidesPerViewAutoSlideSize:p}=r(),{from:f,to:_,slides:y,slidesGrid:v,offset:M}=e.virtual;e.params.cssMode||e.updateActiveIndex();const w=void 0===a?e.activeIndex||0:a;let L,b;if(L=e.rtlTranslate?"right":e.isHorizontal()?"left":"top","auto"===d)if(p){let t=e.size;t||(t=e.isHorizontal()?e.el.getBoundingClientRect().width:e.el.getBoundingClientRect().height),b=Math.max(1,Math.ceil(t/p))}else b=1;else b=d??1;const Y=s??1;let k,D;l?(k=Math.floor(b/2)+Y+h,D=Math.floor(b/2)+Y+m):(k=b+(Y-1)+h,D=(u?b:Y)+m);let T=w-D,x=w+k;u||(T=Math.max(T,0),x=Math.min(x,y.length-1));let S=(e.slidesGrid[T]||0)-(e.slidesGrid[0]||0);function E(){e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),i("virtualUpdate")}if(u&&w>=D?(T-=D,l||(S+=e.slidesGrid[0])):u&&w<D&&(T=-D,l&&(S+=e.slidesGrid[0])),Object.assign(e.virtual,{from:T,to:x,offset:S,slidesGrid:e.slidesGrid,slidesBefore:D,slidesAfter:k}),f===T&&_===x&&!t)return e.slidesGrid!==v&&S!==M&&e.slides.forEach(t=>{t.style.setProperty(L,S-Math.abs(e.cssOverflowAdjustment())+"px")}),e.updateProgress(),void i("virtualUpdate");const H=r();if(H.renderExternal){const t=[];for(let e=T;e<=x;e+=1)t.push(y[e]);return H.renderExternal.call(e,{offset:S,from:T,to:x,slides:t}),void(H.renderExternalUpdate?E():i("virtualUpdate"))}const j=[],P=[],C=e=>{let t=e;return e<0?t=y.length+e:t>=y.length&&(t-=y.length),t};if(t)e.slides.filter(t=>t.matches(`.${e.params.slideClass}, swiper-slide`)).forEach(e=>{e.remove()});else for(let t=f;t<=_;t+=1)if(t<T||t>x){const n=C(t);e.slides.filter(t=>t.matches(`.${e.params.slideClass}[data-swiper-slide-index="${n}"], swiper-slide[data-swiper-slide-index="${n}"]`)).forEach(e=>{e.remove()})}const O=u?-y.length:0,A=u?2*y.length:y.length;for(let e=O;e<A;e+=1)if(e>=T&&e<=x){const n=C(e);void 0===_||t?P.push(n):(e>_&&P.push(n),e<f&&j.push(n))}if(P.forEach(t=>{e.slidesEl.append(o(y[t],t))}),u)for(let t=j.length-1;t>=0;t-=1){const n=j[t];e.slidesEl.prepend(o(y[n],n))}else j.sort((e,t)=>t-e),j.forEach(t=>{e.slidesEl.prepend(o(y[t],t))});(0,g.e)(e.slidesEl,".swiper-slide, swiper-slide").forEach(t=>{t.style.setProperty(L,S-Math.abs(e.cssOverflowAdjustment())+"px")}),E()}t({virtual:{enabled:!1,slides:[],cache:!0,slidesPerViewAutoSlideSize:320,renderSlide:null,renderExternal:null,renderExternalUpdate:!0,addSlidesBefore:0,addSlidesAfter:0}}),e.virtual={cache:{},from:0,to:-1,slides:[],offset:0,slidesGrid:[]},n("beforeInit",()=>{if(!r().enabled)return;let t=!1;const n=e.passedParams.virtual;if(!n||"object"!=typeof n||void 0===n.slides){const n=[...e.slidesEl.children].filter(t=>t.matches(`.${e.params.slideClass}, swiper-slide`));
9218n&&n.length&&(e.virtual.slides=[...n],t=!0,n.forEach((t,n)=>{t.setAttribute("data-swiper-slide-index",String(n)),e.virtual.cache[n]=t,t.remove()}))}t||(e.virtual.slides=r().slides),e.classNames.push(`${e.params.containerModifierClass}virtual`),e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0,l(!1,!0)}),n("setTranslate",()=>{r().enabled&&(e.params.cssMode&&!e._immediateVirtual?(clearTimeout(a),a=setTimeout(()=>{l()},100)):l())}),n("init update resize",()=>{r().enabled&&e.params.cssMode&&(0,g.v)(e.wrapperEl,"--swiper-virtual-size",`${e.virtualSize}px`)}),Object.assign(e.virtual,{appendSlide:function(t){if(null!==t&&"object"==typeof t&&"length"in t){const n=t;for(let t=0;t<n.length;t+=1)n[t]&&e.virtual.slides.push(n[t])}else e.virtual.slides.push(t);l(!0)},prependSlide:function(t){const n=e.activeIndex;let i=n+1,a=1;if(Array.isArray(t)){for(let n=0;n<t.length;n+=1)t[n]&&e.virtual.slides.unshift(t[n]);i=n+t.length,a=t.length}else e.virtual.slides.unshift(t);if(r().cache){const t=e.virtual.cache,n={};Object.keys(t).forEach(e=>{const i=t[Number(e)],s=i.getAttribute("data-swiper-slide-index");s&&i.setAttribute("data-swiper-slide-index",String(parseInt(s,10)+a)),n[parseInt(e,10)+a]=i}),e.virtual.cache=n}l(!0),e.slideTo(i,0)},removeSlide:function(t){if(null==t)return;let n=e.activeIndex;const i=t=>{Object.keys(e.virtual.cache).forEach(n=>{const i=Number(n);if(i>t){const t=e.virtual.cache[i];e.virtual.cache[i-1]=t,t.setAttribute("data-swiper-slide-index",String(i-1)),delete e.virtual.cache[i]}})};if(Array.isArray(t))for(let a=t.length-1;a>=0;a-=1)r().cache&&(delete e.virtual.cache[t[a]],i(t[a])),e.virtual.slides.splice(t[a],1),t[a]<n&&(n-=1),n=Math.max(n,0);else r().cache&&(delete e.virtual.cache[t],i(t)),e.virtual.slides.splice(t,1),t<n&&(n-=1),n=Math.max(n,0);l(!0),e.slideTo(n,0)},removeAllSlides:function(){e.virtual.slides=[],r().cache&&(e.virtual.cache={}),l(!0),e.slideTo(0,0)},update:l})},({swiper:e,extendParams:t,on:n,emit:i})=>{function a(){return e.params.keyboard}function s(t){if(!e.enabled)return;const{rtlTranslate:n}=e,s="originalEvent"in t&&t.originalEvent?t.originalEvent:t,r=s.keyCode||s.charCode,o=a(),l=!!o.pageUpDown,d=l&&33===r,u=l&&34===r,c=37===r,m=39===r,h=38===r,p=40===r;if(!e.allowSlideNext&&(e.isHorizontal()&&m||e.isVertical()&&p||u))return!1;if(!e.allowSlidePrev&&(e.isHorizontal()&&c||e.isVertical()&&h||d))return!1;if(s.shiftKey||s.altKey||s.ctrlKey||s.metaKey)return;const f=document.activeElement;if(f&&(f.isContentEditable||f.nodeName&&("input"===f.nodeName.toLowerCase()||"textarea"===f.nodeName.toLowerCase())))return;if(o.onlyInViewport&&(d||u||c||m||h||p)){let t=!1;if((0,g.j)(e.el,`.${e.params.slideClass}, swiper-slide`).length>0&&0===(0,g.j)(e.el,`.${e.params.slideActiveClass}`).length)return;const i=e.el,a=i.clientWidth,s=i.clientHeight,r=window.innerWidth,o=window.innerHeight,l=(0,g.h)(i);n&&(l.left-=i.scrollLeft);const d=[[l.left,l.top],[l.left+a,l.top],[l.left,l.top+s],[l.left+a,l.top+s]];for(let e=0;e<d.length;e+=1){const n=d[e];if(n[0]>=0&&n[0]<=r&&n[1]>=0&&n[1]<=o){if(0===n[0]&&0===n[1])continue;t=!0}}if(!t)return}const _=o.speed;e.isHorizontal()?((d||u||c||m)&&s.cancelable&&s.preventDefault(),((u||m)&&!n||(d||c)&&n)&&e.slideNext(_),((d||c)&&!n||(u||m)&&n)&&e.slidePrev(_)):((d||u||h||p)&&s.cancelable&&s.preventDefault(),(u||p)&&e.slideNext(_),(d||h)&&e.slidePrev(_)),i("keyPress",r)}function r(){e.keyboard.enabled||(document.addEventListener("keydown",s),e.keyboard.enabled=!0)}function o(){e.keyboard.enabled&&(document.removeEventListener("keydown",s),e.keyboard.enabled=!1)}t({keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0,speed:void 0}}),e.keyboard={enabled:!1,enable:r,disable:o},n("init",()=>{a().enabled&&r()}),n("destroy",()=>{e.keyboard.enabled&&o()})},({swiper:e,extendParams:t,on:n,emit:i})=>{let a;t({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null,noMousewheelClass:"swiper-no-mousewheel"}});let s,r=(0,g.u)(),o=!1;const l=[];function d(){return e.params.mousewheel}function u(){e.enabled&&(o=!0)}function c(){e.enabled&&(o=!1)}function m(t){const n=d();return!(n.thresholdDelta&&t.delta<n.thresholdDelta||n.thresholdTime&&(0,g.u)()-r<n.thresholdTime||!(t.delta>=6&&(0,g.u)()-r<60)&&(t.direction<0?e.isEnd&&!e.params.loop||e.animating||(e.slideNext(),i("scroll",t.raw)):e.isBeginning&&!e.params.loop||e.animating||(e.slidePrev(),i("scroll",t.raw)),r=(new window.Date).getTime(),1))}function h(t){let n="originalEvent"in t&&t.originalEvent?t.originalEvent:t,r=!0;if(!e.enabled)return!1;const u=d();if(t.target.closest(`.${u.noMousewheelClass}`))return!1;e.params.cssMode&&n.preventDefault();let c=e.el;"container"!==u.eventsTarget&&(c=document.querySelector(u.eventsTarget));const h=c&&c.contains(n.target);if(!o&&!h&&!u.releaseOnEdges)return!0;let p=0;const f=e.rtlTranslate?-1:1,_=function(e){const t=e;let n=0,i=0,a=0,s=0;return void 0!==t.detail&&(i=t.detail),void 0!==t.wheelDelta&&(i=-t.wheelDelta/120),void 0!==t.wheelDeltaY&&(i=-t.wheelDeltaY/120
9218),void 0!==t.wheelDeltaX&&(n=-t.wheelDeltaX/120),void 0!==t.axis&&void 0!==t.HORIZONTAL_AXIS&&t.axis===t.HORIZONTAL_AXIS&&(n=i,i=0),a=10*n,s=10*i,void 0!==t.deltaY&&(s=t.deltaY),void 0!==t.deltaX&&(a=t.deltaX),t.shiftKey&&!a&&(a=s,s=0),(a||s)&&t.deltaMode&&(1===t.deltaMode?(a*=40,s*=40):(a*=800,s*=800)),a&&!n&&(n=a<1?-1:1),s&&!i&&(i=s<1?-1:1),{spinX:n,spinY:i,pixelX:a,pixelY:s}}(n);if(u.forceToAxis)if(e.isHorizontal()){if(!(Math.abs(_.pixelX)>Math.abs(_.pixelY)))return!0;p=-_.pixelX*f}else{if(!(Math.abs(_.pixelY)>Math.abs(_.pixelX)))return!0;p=-_.pixelY}else p=Math.abs(_.pixelX)>Math.abs(_.pixelY)?-_.pixelX*f:-_.pixelY;if(0===p)return!0;u.invert&&(p=-p);let y=e.getTranslate()+p*(u.sensitivity??1);y>=e.minTranslate()&&(y=e.minTranslate()),y<=e.maxTranslate()&&(y=e.maxTranslate()),r=!!e.params.loop||!(y===e.minTranslate()||y===e.maxTranslate()),r&&e.params.nested&&n.stopPropagation();const v=e.params.freeMode;if(e.params.freeMode&&v?.enabled){const t={time:(0,g.u)(),delta:Math.abs(p),direction:Math.sign(p)},r=s&&t.time<s.time+500&&t.delta<=s.delta&&t.direction===s.direction;if(!r){s=void 0;let o=e.getTranslate()+p*(u.sensitivity??1);const d=e.isBeginning,c=e.isEnd;if(o>=e.minTranslate()&&(o=e.minTranslate()),o<=e.maxTranslate()&&(o=e.maxTranslate()),e.setTransition(0),e.setTranslate(o),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses(),(!d&&e.isBeginning||!c&&e.isEnd)&&e.updateSlidesClasses(),e.params.loop&&e.loopFix({direction:t.direction<0?"next":"prev",byMousewheel:!0}),v?.sticky){clearTimeout(a),a=void 0,l.length>=15&&l.shift();const n=l.length?l[l.length-1]:void 0,i=l[0];if(l.push(t),n&&(t.delta>n.delta||t.direction!==n.direction))l.splice(0);else if(l.length>=15&&i&&t.time-i.time<500&&i.delta-t.delta>=1&&t.delta<=6){const n=p>0?.8:.2;s=t,l.splice(0),a=(0,g.t)(()=>{!e.destroyed&&e.params&&e.slideToClosest(e.params.speed,!0,void 0,n)},0)}a||(a=(0,g.t)(()=>{!e.destroyed&&e.params&&(s=t,l.splice(0),e.slideToClosest(e.params.speed,!0,void 0,.5))},500))}r||i("scroll",n);const m=e.params.autoplay;if(e.params.autoplay&&m?.disableOnInteraction&&e.autoplay.stop(),u.releaseOnEdges&&(o===e.minTranslate()||o===e.maxTranslate()))return!0}}else{const n={time:(0,g.u)(),delta:Math.abs(p),direction:Math.sign(p),raw:t};l.length>=2&&l.shift();const i=l.length?l[l.length-1]:void 0;if(l.push(n),i?(n.direction!==i.direction||n.delta>i.delta||n.time>i.time+150)&&m(n):m(n),function(t){const n=d();if(t.direction<0){if(e.isEnd&&!e.params.loop&&n.releaseOnEdges)return!0}else if(e.isBeginning&&!e.params.loop&&n.releaseOnEdges)return!0;return!1}(n))return!0}return n.cancelable&&n.preventDefault(),!1}function p(t){const n=d();let i=e.el;"container"!==n.eventsTarget&&(i=document.querySelector(n.eventsTarget)),i[t]("mouseenter",u),i[t]("mouseleave",c),i[t]("wheel",h)}function f(){return e.params.cssMode?(e.wrapperEl.removeEventListener("wheel",h),!0):!e.mousewheel.enabled&&(p("addEventListener"),e.mousewheel.enabled=!0,!0)}function _(){return e.params.cssMode?(e.wrapperEl.addEventListener("wheel",h),!0):!!e.mousewheel.enabled&&(p("removeEventListener"),e.mousewheel.enabled=!1,!0)}n("init",()=>{const t=d();!t.enabled&&e.params.cssMode&&_(),t.enabled&&f()}),e.mousewheel={enabled:!1,enable:f,disable:_},n("destroy",()=>{e.params.cssMode&&f(),e.mousewheel.enabled&&_()})},({swiper:e,extendParams:t,on:n,emit:i})=>{function a(){return e.params.navigation}function s(t){let n;return t&&"string"==typeof t&&e.isElement&&(n=e.el.querySelector(t)||e.hostEl.querySelector(t),n)?n:(t&&("string"==typeof t&&(n=[...document.querySelectorAll(t)]),e.params.uniqueNavElements&&"string"==typeof t&&n&&n.length>1&&1===e.el.querySelectorAll(t).length?n=e.el.querySelector(t):n&&1===n.length&&(n=n[0])),t&&!n?t:n)}function r(t,n){const i=a();(0,g.s)(t).forEach(t=>{t&&(t.classList[n?"add":"remove"](...i.disabledClass.split(" ")),"BUTTON"===t.tagName&&(t.disabled=n),e.params.watchOverflow&&e.enabled&&t.classList[e.isLocked?"add":"remove"](i.lockClass))})}function o(){const{nextEl:t,prevEl:n}=e.navigation;if(e.params.loop)return r(n,!1),void r(t,!1);r(n,e.isBeginning&&!e.params.rewind),r(t,e.isEnd&&!e.params.rewind)}function l(t){t.preventDefault(),(!e.isBeginning||e.params.loop||e.params.rewind)&&(e.slidePrev(),i("navigationPrev"))}function d(t){t.preventDefault(),(!e.isEnd||e.params.loop||e.params.rewind)&&(e.slideNext(),i("navigationNext"))}function u(){e.params.navigation=y(e,e.originalParams.navigation,e.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"});const t=a();if(!t.nextEl&&!t.prevEl)return;const n=s(t.nextEl),i=s(t.prevEl);Object.assign(e.navigation,{nextEl:n,prevEl:i});const r=(0,g.s)(n),o=(0,g.s)(i),u=(n,i)=>{if(n){if(t.addIcons&&n.matches(".swiper-button-next,.swiper-button-prev")&&!n.querySelector("svg")){const e=document.createElement("div");(0,g.w)(e,v);const t=e.querySelector("svg");t&&n.appendChild(t),e.remove()}n.addEventListener("click","next"===i?d:l)}!e.enabled&&n&&n.classList.add(...t.lockClass.split(" "))};
9218r.forEach(e=>u(e,"next")),o.forEach(e=>u(e,"prev"))}function c(){const t=a(),{nextEl:n,prevEl:i}=e.navigation,s=(0,g.s)(n),r=(0,g.s)(i),o=(e,n)=>{e.removeEventListener("click","next"===n?d:l),e.classList.remove(...t.disabledClass.split(" "))};s.forEach(e=>o(e,"next")),r.forEach(e=>o(e,"prev"))}t({navigation:{nextEl:null,prevEl:null,addIcons:!0,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),e.navigation={nextEl:null,prevEl:null,arrowSvg:v},n("init",()=>{!1===a().enabled?m():(u(),o())}),n("toEdge fromEdge lock unlock",()=>{o()}),n("destroy",()=>{c()}),n("enable disable",()=>{const t=a(),{nextEl:n,prevEl:i}=e.navigation,s=(0,g.s)(n),r=(0,g.s)(i);e.enabled?o():[...s,...r].filter(e=>!!e).forEach(e=>e.classList.add(t.lockClass))}),n("click",(t,n)=>{const s=a(),{nextEl:r,prevEl:o}=e.navigation,l=(0,g.s)(r),d=(0,g.s)(o),u=n.target;let c=d.includes(u)||l.includes(u);if(e.isElement&&!c){const e=n.composedPath?n.composedPath():[];e.length&&(c=e.find(e=>l.includes(e)||d.includes(e)))}if(s.hideOnClick&&!c){if(e.pagination&&e.params.pagination&&e.params.pagination.clickable&&(e.pagination.el===u||e.pagination.el.contains(u)))return;let t;l.length?t=l[0].classList.contains(s.hiddenClass):d.length&&(t=d[0].classList.contains(s.hiddenClass)),i(!0===t?"navigationShow":"navigationHide"),[...l,...d].filter(e=>!!e).forEach(e=>e.classList.toggle(s.hiddenClass))}});const m=()=>{const t=a();e.el.classList.add(...t.navigationDisabledClass.split(" ")),c()};Object.assign(e.navigation,{enable:()=>{const t=a();e.el.classList.remove(...t.navigationDisabledClass.split(" ")),u(),o()},disable:m,update:o,init:u,destroy:c})},({swiper:e,extendParams:t,on:n,emit:i})=>{const a="swiper-pagination";let s;t({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:e=>e,formatFractionTotal:e=>e,bulletClass:`${a}-bullet`,bulletActiveClass:`${a}-bullet-active`,modifierClass:`${a}-`,currentClass:`${a}-current`,totalClass:`${a}-total`,hiddenClass:`${a}-hidden`,progressbarFillClass:`${a}-progressbar-fill`,progressbarOppositeClass:`${a}-progressbar-opposite`,clickableClass:`${a}-clickable`,lockClass:`${a}-lock`,horizontalClass:`${a}-horizontal`,verticalClass:`${a}-vertical`,paginationDisabledClass:`${a}-disabled`}}),e.pagination={el:null,bullets:[]};let r=0;function o(){return e.params.pagination}function l(){return!o().el||!e.pagination.el||Array.isArray(e.pagination.el)&&0===e.pagination.el.length}function d(e,t){const{bulletActiveClass:n}=o();if(!e)return;let i=e[("prev"===t?"previous":"next")+"ElementSibling"];i&&(i.classList.add(`${n}-${t}`),i=i[("prev"===t?"previous":"next")+"ElementSibling"],i&&i.classList.add(`${n}-${t}-${t}`))}function u(t){const n=t.target.closest(M(o().bulletClass));if(!n)return;t.preventDefault();const i=((0,g.b)(n)??0)*(e.params.slidesPerGroup??1);if(e.params.loop){if(e.realIndex===i)return;const t=(a=e.realIndex,s=i,(s%=r=e.slides.length)===1+(a%=r)?"next":s===a-1?"previous":void 0);"next"===t?e.slideNext():"previous"===t?e.slidePrev():e.slideToLoop(i)}else e.slideTo(i);var a,s,r}function c(){const t=e.rtl,n=o();if(l())return;const a=(0,g.s)(e.pagination.el);let u,c;const m=w(e),h=e.params.loop?Math.ceil(m/(e.params.slidesPerGroup??1)):e.snapGrid.length;if(e.params.loop?(c=e.previousRealIndex||0,u=(e.params.slidesPerGroup??1)>1?Math.floor(e.realIndex/(e.params.slidesPerGroup??1)):e.realIndex):void 0!==e.snapIndex?(u=e.snapIndex,c=e.previousSnapIndex):(c=e.previousIndex||0,u=e.activeIndex||0),"bullets"===n.type&&e.pagination.bullets&&e.pagination.bullets.length>0){const i=e.pagination.bullets;let o=0,l=0,m=0;if(n.dynamicBullets){s=(0,g.i)(i[0],e.isHorizontal()?"width":"height");const t=e.isHorizontal()?"width":"height";a.forEach(e=>{e.style[t]=(s??0)*(n.dynamicMainBullets+4)+"px"}),n.dynamicMainBullets>1&&void 0!==c&&(r+=u-(c||0),r>n.dynamicMainBullets-1?r=n.dynamicMainBullets-1:r<0&&(r=0)),o=Math.max(u-r,0),l=o+(Math.min(i.length,n.dynamicMainBullets)-1),m=(l+o)/2}
9218if(i.forEach(e=>{const t=["","-next","-next-next","-prev","-prev-prev","-main"].map(e=>`${n.bulletActiveClass}${e}`).flatMap(e=>"string"==typeof e&&e.includes(" ")?e.split(" "):[e]);e.classList.remove(...t)}),a.length>1)i.forEach(t=>{const i=(0,g.b)(t);i===u?t.classList.add(...n.bulletActiveClass.split(" ")):e.isElement&&t.setAttribute("part","bullet"),n.dynamicBullets&&void 0!==i&&(i>=o&&i<=l&&t.classList.add(...`${n.bulletActiveClass}-main`.split(" ")),i===o&&d(t,"prev"),i===l&&d(t,"next"))});else{const t=i[u];if(t&&t.classList.add(...n.bulletActiveClass.split(" ")),e.isElement&&i.forEach((e,t)=>{e.setAttribute("part",t===u?"bullet-active":"bullet")}),n.dynamicBullets){const e=i[o],t=i[l];for(let e=o;e<=l;e+=1)i[e]&&i[e].classList.add(...`${n.bulletActiveClass}-main`.split(" "));d(e,"prev"),d(t,"next")}}if(n.dynamicBullets){const a=Math.min(i.length,n.dynamicMainBullets+4),r=((s??0)*a-(s??0))/2-m*(s??0),o=t?"right":"left",l=e.isHorizontal()?o:"top";i.forEach(e=>{e.style[l]=`${r}px`})}}a.forEach((t,a)=>{if("fraction"===n.type&&(t.querySelectorAll(M(n.currentClass)).forEach(e=>{e.textContent=String(n.formatFractionCurrent(u+1))}),t.querySelectorAll(M(n.totalClass)).forEach(e=>{e.textContent=String(n.formatFractionTotal(h))})),"progressbar"===n.type){let i;i=n.progressbarOpposite?e.isHorizontal()?"vertical":"horizontal":e.isHorizontal()?"horizontal":"vertical";const a=(u+1)/h;let s=1,r=1;"horizontal"===i?s=a:r=a,t.querySelectorAll(M(n.progressbarFillClass)).forEach(t=>{t.style.transform=`translate3d(0,0,0) scaleX(${s}) scaleY(${r})`,t.style.transitionDuration=`${e.params.speed}ms`})}"custom"===n.type&&n.renderCustom?((0,g.w)(t,n.renderCustom(e,u+1,h)),0===a&&i("paginationRender",t)):(0===a&&i("paginationRender",t),i("paginationUpdate",t)),e.params.watchOverflow&&e.enabled&&t.classList[e.isLocked?"add":"remove"](n.lockClass)})}function m(){const t=o();if(l())return;const n=w(e),a=(0,g.s)(e.pagination.el);let s="";if("bullets"===t.type){let i=e.params.loop?Math.ceil(n/(e.params.slidesPerGroup??1)):e.snapGrid.length;e.params.freeMode&&(e=>!!e.params.freeMode?.enabled)(e)&&i>n&&(i=n);for(let n=0;n<i;n+=1)t.renderBullet?s+=t.renderBullet.call(e,n,t.bulletClass):s+=`<${t.bulletElement} ${e.isElement?'part="bullet"':""} class="${t.bulletClass}"></${t.bulletElement}>`}"fraction"===t.type&&(s=t.renderFraction?t.renderFraction.call(e,t.currentClass,t.totalClass):`<span class="${t.currentClass}"></span> / <span class="${t.totalClass}"></span>`),"progressbar"===t.type&&(s=t.renderProgressbar?t.renderProgressbar.call(e,t.progressbarFillClass):`<span class="${t.progressbarFillClass}"></span>`),e.pagination.bullets=[],a.forEach(n=>{"custom"!==t.type&&(0,g.w)(n,s||""),"bullets"===t.type&&e.pagination.bullets.push(...Array.from(n.querySelectorAll(M(t.bulletClass))))}),"custom"!==t.type&&i("paginationRender",a[0])}function h(){e.params.pagination=y(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});const t=o();if(!t.el)return;let n;if("string"==typeof t.el&&e.isElement&&(n=e.el.querySelector(t.el)),n||"string"!=typeof t.el||(n=[...document.querySelectorAll(t.el)]),n||(n=t.el),n&&(!Array.isArray(n)||0!==n.length)){if(e.params.uniqueNavElements&&"string"==typeof t.el&&Array.isArray(n)&&n.length>1&&(n=[...e.el.querySelectorAll(t.el)],n.length>1)){const t=n.find(t=>(0,g.j)(t,".swiper")[0]===e.el);t&&(n=t)}Array.isArray(n)&&1===n.length&&(n=n[0]),Object.assign(e.pagination,{el:n}),(0,g.s)(n).forEach(n=>{"bullets"===t.type&&t.clickable&&n.classList.add(...(t.clickableClass||"").split(" ")),n.classList.add(t.modifierClass+t.type),n.classList.add(e.isHorizontal()?t.horizontalClass:t.verticalClass),"bullets"===t.type&&t.dynamicBullets&&(n.classList.add(`${t.modifierClass}${t.type}-dynamic`),r=0,t.dynamicMainBullets<1&&(t.dynamicMainBullets=1)),"progressbar"===t.type&&t.progressbarOpposite&&n.classList.add(t.progressbarOppositeClass),t.clickable&&n.addEventListener("click",u),e.enabled||n.classList.add(t.lockClass)})}}function p(){const t=o();if(l())return;const n=e.pagination.el;n&&(0,g.s)(n).forEach(n=>{n.classList.remove(t.hiddenClass),n.classList.remove(t.modifierClass+t.type),n.classList.remove(e.isHorizontal()?t.horizontalClass:t.verticalClass),t.clickable&&(n.classList.remove(...(t.clickableClass||"").split(" ")),n.removeEventListener("click",u))}
9218),e.pagination.bullets&&e.pagination.bullets.forEach(e=>e.classList.remove(...t.bulletActiveClass.split(" ")))}n("changeDirection",()=>{if(!e.pagination||!e.pagination.el)return;const t=o();(0,g.s)(e.pagination.el).forEach(n=>{n.classList.remove(t.horizontalClass,t.verticalClass),n.classList.add(e.isHorizontal()?t.horizontalClass:t.verticalClass)})}),n("init",()=>{!1===o().enabled?f():(h(),m(),c())}),n("activeIndexChange",()=>{void 0===e.snapIndex&&c()}),n("snapIndexChange",()=>{c()}),n("snapGridLengthChange",()=>{m(),c()}),n("destroy",()=>{p()}),n("enable disable",()=>{const{el:t}=e.pagination;if(t){const n=o();(0,g.s)(t).forEach(t=>t.classList[e.enabled?"remove":"add"](n.lockClass))}}),n("lock unlock",()=>{c()}),n("click",(t,n)=>{const a=n.target,s=(0,g.s)(e.pagination.el),r=o();if(r.el&&r.hideOnClick&&s&&s.length>0&&!a.classList.contains(r.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&a===e.navigation.nextEl||e.navigation.prevEl&&a===e.navigation.prevEl))return;const t=s[0].classList.contains(r.hiddenClass);i(!0===t?"paginationShow":"paginationHide"),s.forEach(e=>e.classList.toggle(r.hiddenClass))}});const f=()=>{const t=o();e.el.classList.add(t.paginationDisabledClass);const{el:n}=e.pagination;n&&(0,g.s)(n).forEach(e=>e.classList.add(t.paginationDisabledClass)),p()};Object.assign(e.pagination,{enable:()=>{const t=o();e.el.classList.remove(t.paginationDisabledClass);const{el:n}=e.pagination;n&&(0,g.s)(n).forEach(e=>e.classList.remove(t.paginationDisabledClass)),h(),m(),c()},disable:f,render:m,update:c,init:h,destroy:p})},({swiper:e,extendParams:t,on:n,emit:i})=>{let a=!1,s=null,r=null,o=0,l=0,d=0,u=0;function c(){return e.params.scrollbar}function m(){const t=c();if(!t.el||!e.scrollbar.el)return;const{scrollbar:n,rtlTranslate:i}=e,{dragEl:a,el:r}=n,o=e.params.loop?e.progressLoop??0:e.progress;let u=l,m=(d-l)*o;i?(m=-m,m>0?(u=l-m,m=0):-m+l>d&&(u=d+m)):m<0?(u=l+m,m=0):m+l>d&&(u=d-m),e.isHorizontal()?(a.style.transform=`translate3d(${m}px, 0, 0)`,a.style.width=`${u}px`):(a.style.transform=`translate3d(0px, ${m}px, 0)`,a.style.height=`${u}px`),t.hide&&(s&&clearTimeout(s),r.style.opacity="1",s=setTimeout(()=>{r.style.opacity="0",r.style.transitionDuration="400ms"},1e3))}function h(){const t=c();if(!t.el||!e.scrollbar.el)return;const{scrollbar:n}=e,{dragEl:i,el:a}=n;i.style.width="",i.style.height="",d=e.isHorizontal()?a.offsetWidth:a.offsetHeight,u=e.size/(e.virtualSize+(e.params.slidesOffsetBefore??0)-(e.params.centeredSlides?e.snapGrid[0]:0)),l="auto"===t.dragSize?d*u:parseInt(String(t.dragSize),10),e.isHorizontal()?i.style.width=`${l}px`:i.style.height=`${l}px`,a.style.display=u>=1?"none":"",t.hide&&(a.style.opacity="0"),e.params.watchOverflow&&e.enabled&&n.el.classList[e.isLocked?"add":"remove"](t.lockClass)}function p(t){return e.isHorizontal()?t.clientX??t.touches?.[0]?.clientX??0:t.clientY??t.touches?.[0]?.clientY??0}function f(t){const{scrollbar:n,rtlTranslate:i}=e,{el:a}=n;let s;s=(p(t)-(0,g.h)(a)[e.isHorizontal()?"left":"top"]-(null!==o?o:l/2))/(d-l),s=Math.max(Math.min(s,1),0),i&&(s=1-s);const r=e.minTranslate()+(e.maxTranslate()-e.minTranslate())*s;e.updateProgress(r),e.setTranslate(r),e.updateActiveIndex(),e.updateSlidesClasses()}function _(t){const n=c(),{scrollbar:s,wrapperEl:l}=e,{el:d,dragEl:u}=s;a=!0,o=t.target===u?p(t)-t.target.getBoundingClientRect()[e.isHorizontal()?"left":"top"]:null,t.preventDefault(),t.stopPropagation(),l.style.transitionDuration="100ms",u.style.transitionDuration="100ms",f(t),r&&clearTimeout(r),d.style.transitionDuration="0ms",n.hide&&(d.style.opacity="1"),e.params.cssMode&&(e.wrapperEl.style.scrollSnapType="none"),i("scrollbarDragStart",t)}function v(t){const{scrollbar:n,wrapperEl:s}=e,{el:r,dragEl:o}=n;a&&(t.cancelable&&t.preventDefault(),f(t),s.style.transitionDuration="0ms",r.style.transitionDuration="0ms",o.style.transitionDuration="0ms",i("scrollbarDragMove",t))}function w(t){const n=c(),{scrollbar:s,wrapperEl:o}=e,{el:l}=s;a&&(a=!1,e.params.cssMode&&(e.wrapperEl.style.scrollSnapType="",o.style.transitionDuration=""),n.hide&&(r&&clearTimeout(r),r=(0,g.t)(()=>{l.style.opacity="0",l.style.transitionDuration="400ms"},1e3)),i("scrollbarDragEnd",t),n.snapOnRelease&&e.slideToClosest())}function L(t){const{scrollbar:n,params:i}=e,a=n.el;if(!a)return;const s=!!i.passiveListeners&&{passive:!1,capture:!1},r=!!i.passiveListeners&&{passive:!0,capture:!1},o="on"===t?"addEventListener":"removeEventListener";a[o]("pointerdown",_,s),document[o]("pointermove",v,s),document[o]("pointerup",w,r)}function b(){const{scrollbar:t,el:n}=e;e.params.scrollbar=y(e,e.originalParams.scrollbar,e.params.scrollbar,{el:"swiper-scrollbar"});const i=c();if(!i.el)return;let a;if("string"==typeof i.el&&e.isElement&&(a=e.el.querySelector(i.el)),a||"string"!=typeof i.el)a||(a=i.el);else if(a=document.querySelectorAll(i.el),!a.length)return;e.params.uniqueNavElements&&"string"==typeof i.el&&a.length>1&&1===n.querySelectorAll(i.el).length&&(a=n.querySelector(i.el)),a.length>0&&(a=a[0]);const s=a;s.classList.add(e.isHorizontal()?i.horizontalClass:i.verticalClass);let r=null;s&&(r=s.querySelector(M(i.dragClass)),r||(r=(0,g.a)("div",i.dragClass),s.append(r))),Object.assign(t,{el:s,dragEl:r}),i.draggable&&c().el&&e.scrollbar.el&&L("on"),s&&s.classList[e.enabled?"remove":"add"](...(0,g.c)(i.lockClass))}function Y(){const t=c(),n=e.scrollbar.el;n&&n.classList.remove(...(0,g.c)(e.isHorizontal()?t.horizontalClass:t.verticalClass)),c().el&&e.scrollbar.el&&L("off")}t({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag",scrollbarDisabledClass:"swiper-scrollbar-disabled",horizontalClass:"swiper-scrollbar-horizontal",verticalClass:"swiper-scrollbar-vertical"}}),e.scrollbar={el:null,dragEl:null},n("changeDirection",()=>{if(!e.scrollbar||!e.scrollbar.el)return;const t=c();(0,g.s)(e.scrollbar.el).forEach(n=>
9218{n.classList.remove(t.horizontalClass,t.verticalClass),n.classList.add(e.isHorizontal()?t.horizontalClass:t.verticalClass)})}),n("init",()=>{!1===c().enabled?k():(b(),h(),m())}),n("update resize observerUpdate lock unlock changeDirection",()=>{h()}),n("setTranslate",()=>{m()}),n("setTransition",(t,n)=>{!function(t){c().el&&e.scrollbar.el&&(e.scrollbar.dragEl.style.transitionDuration=`${t}ms`)}(n)}),n("enable disable",()=>{const{el:t}=e.scrollbar;t&&t.classList[e.enabled?"remove":"add"](...(0,g.c)(c().lockClass))}),n("destroy",()=>{Y()});const k=()=>{const t=c();e.el.classList.add(...(0,g.c)(t.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.add(...(0,g.c)(t.scrollbarDisabledClass)),Y()};Object.assign(e.scrollbar,{enable:()=>{const t=c();e.el.classList.remove(...(0,g.c)(t.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.remove(...(0,g.c)(t.scrollbarDisabledClass)),b(),h(),m()},disable:k,updateSize:h,setTranslate:m,init:b,destroy:Y})},({swiper:e,extendParams:t,on:n})=>{function i(){return e.params.parallax}t({parallax:{enabled:!1}});const a="[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]",s=(t,n)=>{const{rtl:i}=e,a=i?-1:1,s=t.getAttribute("data-swiper-parallax")||"0";let r=t.getAttribute("data-swiper-parallax-x"),o=t.getAttribute("data-swiper-parallax-y");const l=t.getAttribute("data-swiper-parallax-scale"),d=t.getAttribute("data-swiper-parallax-opacity"),u=t.getAttribute("data-swiper-parallax-rotate");if(r||o?(r=r||"0",o=o||"0"):e.isHorizontal()?(r=s,o="0"):(o=s,r="0"),r=r.indexOf("%")>=0?parseInt(r,10)*n*a+"%":Number(r)*n*a+"px",o=o.indexOf("%")>=0?parseInt(o,10)*n+"%":Number(o)*n+"px",null!=d){const e=Number(d),i=e-(e-1)*(1-Math.abs(n));t.style.opacity=String(i)}let c=`translate3d(${r}, ${o}, 0px)`;if(null!=l){const e=Number(l);c+=` scale(${e-(e-1)*(1-Math.abs(n))})`}u&&null!=u&&(c+=` rotate(${Number(u)*n*-1}deg)`),t.style.transform=c},r=()=>{const{el:t,slides:n,progress:i,snapGrid:r}=e,o=(0,g.e)(t,a);e.isElement&&o.push(...(0,g.e)(e.hostEl,a)),o.forEach(e=>{s(e,i)}),n.forEach((t,n)=>{let o=t.progress??0;(e.params.slidesPerGroup??1)>1&&"auto"!==e.params.slidesPerView&&(o+=Math.ceil(n/2)-i*(r.length-1)),o=Math.min(Math.max(o,-1),1),t.querySelectorAll(`${a}, [data-swiper-parallax-rotate]`).forEach(e=>{s(e,o)})})};n("beforeInit",()=>{i().enabled&&(e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0)}),n("init",()=>{i().enabled&&r()}),n("setTranslate",()=>{i().enabled&&r()}),n("setTransition",(t,n)=>{i().enabled&&((t=e.params.speed??300)=>{const{el:n,hostEl:i}=e,s=[...n.querySelectorAll(a)];e.isElement&&s.push(...i.querySelectorAll(a)),s.forEach(e=>{const n=e.getAttribute("data-swiper-parallax-duration");let i=(n?parseInt(n,10):0)||t;0===t&&(i=0),e.style.transitionDuration=`${i}ms`})})(n)})},({swiper:e,extendParams:t,on:n,emit:i})=>{function a(){return e.params.zoom}t({zoom:{enabled:!1,limitToOriginalSize:!1,maxRatio:3,minRatio:1,panOnMouseMove:!1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}}),e.zoom={enabled:!1};let s=1,r=!1,o=!1,l={x:0,y:0},d=!1,u=!1;const c=[],m={originX:0,originY:0,slideEl:void 0,slideWidth:void 0,slideHeight:void 0,imageEl:void 0,imageWrapEl:void 0,maxRatio:3},h={isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},p={x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0};let f,_=1;function y(){if(c.length<2)return 1;const e=c[0].pageX,t=c[0].pageY,n=c[1].pageX,i=c[1].pageY;return Math.sqrt((n-e)**2+(i-t)**2)}function v(){const e=a(),t=m.imageWrapEl?.getAttribute("data-swiper-zoom"),n=null!=t?Number(t):e.maxRatio,i=m.imageEl;if(e.limitToOriginalSize&&i&&i.naturalWidth){const e=i.naturalWidth/i.offsetWidth;return Math.min(e,n)}return n}function M(t){const n=e.isElement?"swiper-slide":`.${e.params.slideClass}`,i=t.target;return!!i&&(!!i.matches(n)||e.slides.filter(e=>e.contains(i)).length>0)}
9218function w(t){const n=`.${a().containerClass}`,i=t.target;return!!i&&(!!i.matches(n)||[...e.hostEl.querySelectorAll(n)].filter(e=>e.contains(i)).length>0)}function L(t){if("mouse"===t.pointerType&&c.splice(0,c.length),!M(t))return;const n=a();if(d=!1,u=!1,c.push(t),!(c.length<2)){if(d=!0,m.scaleStart=y(),!m.slideEl){const i=t.target;m.slideEl=i?.closest(`.${e.params.slideClass}, swiper-slide`)??void 0,m.slideEl||(m.slideEl=e.slides[e.activeIndex]);let a=m.slideEl?.querySelector(`.${n.containerClass}`)??null;if(a&&(a=a.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]??null),m.imageEl=a??void 0,m.imageWrapEl=a?(0,g.j)(a,`.${n.containerClass}`)[0]??void 0:void 0,!m.imageWrapEl)return void(m.imageEl=void 0);m.maxRatio=v()}if(m.imageEl){const[e,t]=function(){if(c.length<2||!m.imageEl)return[null,null];const e=m.imageEl.getBoundingClientRect();return[(c[0].pageX+(c[1].pageX-c[0].pageX)/2-e.x-window.scrollX)/s,(c[0].pageY+(c[1].pageY-c[0].pageY)/2-e.y-window.scrollY)/s]}();m.originX=e??0,m.originY=t??0,m.imageEl.style.transitionDuration="0ms"}r=!0}}function b(t){if(!M(t))return;const n=a(),i=e.zoom,r=c.findIndex(e=>e.pointerId===t.pointerId);r>=0&&(c[r]=t),c.length<2||(u=!0,m.scaleMove=y(),m.imageEl&&(i.scale=m.scaleMove/(m.scaleStart??1)*s,i.scale>m.maxRatio&&(i.scale=m.maxRatio-1+(i.scale-m.maxRatio+1)**.5),i.scale<n.minRatio&&(i.scale=n.minRatio+1-(n.minRatio-i.scale+1)**.5),m.imageEl.style.transform=`translate3d(0,0,0) scale(${i.scale})`))}function Y(t){if(!M(t))return;if("mouse"===t.pointerType&&"pointerout"===t.type)return;const n=a(),i=e.zoom,o=c.findIndex(e=>e.pointerId===t.pointerId);o>=0&&c.splice(o,1),d&&u&&(d=!1,u=!1,m.imageEl&&(i.scale=Math.max(Math.min(i.scale,m.maxRatio),n.minRatio),m.imageEl.style.transitionDuration=`${e.params.speed}ms`,m.imageEl.style.transform=`translate3d(0,0,0) scale(${i.scale})`,s=i.scale,r=!1,i.scale>1&&m.slideEl?m.slideEl.classList.add(`${n.zoomedSlideClass}`):i.scale<=1&&m.slideEl&&m.slideEl.classList.remove(`${n.zoomedSlideClass}`),1===i.scale&&(m.originX=0,m.originY=0,m.slideEl=void 0)))}function k(){e.touchEventsData.preventTouchMoveFromPointerMove=!1}function D(t){const n="mouse"===t.pointerType&&a().panOnMouseMove;if(!M(t)||!w(t))return;const i=e.zoom;if(!m.imageEl)return;if(!h.isTouched||!m.slideEl)return void(n&&x(t));if(n)return void x(t);h.isMoved||(h.width=m.imageEl.offsetWidth||m.imageEl.clientWidth,h.height=m.imageEl.offsetHeight||m.imageEl.clientHeight,h.startX=(0,g.q)(m.imageWrapEl,"x")||0,h.startY=(0,g.q)(m.imageWrapEl,"y")||0,m.slideWidth=m.slideEl.offsetWidth,m.slideHeight=m.slideEl.offsetHeight,m.imageWrapEl.style.transitionDuration="0ms");const o=h.width*i.scale,l=h.height*i.scale;h.minX=Math.min(m.slideWidth/2-o/2,0),h.maxX=-h.minX,h.minY=Math.min(m.slideHeight/2-l/2,0),h.maxY=-h.minY,h.touchesCurrent.x=c.length>0?c[0].pageX:t.pageX,h.touchesCurrent.y=c.length>0?c[0].pageY:t.pageY,Math.max(Math.abs(h.touchesCurrent.x-(h.touchesStart.x??0)),Math.abs(h.touchesCurrent.y-(h.touchesStart.y??0)))>5&&(e.allowClick=!1);const d=h.startX??0,u=h.startY??0;if(!h.isMoved&&!r){if(e.isHorizontal()&&(Math.floor(h.minX)===Math.floor(d)&&h.touchesCurrent.x<(h.touchesStart.x??0)||Math.floor(h.maxX)===Math.floor(d)&&h.touchesCurrent.x>(h.touchesStart.x??0)))return h.isTouched=!1,void k();if(!e.isHorizontal()&&(Math.floor(h.minY)===Math.floor(u)&&h.touchesCurrent.y<(h.touchesStart.y??0)||Math.floor(h.maxY)===Math.floor(u)&&h.touchesCurrent.y>(h.touchesStart.y??0)))return h.isTouched=!1,void k()}t.cancelable&&t.preventDefault(),t.stopPropagation(),void 0!==f&&clearTimeout(f),e.touchEventsData.preventTouchMoveFromPointerMove=!0,f=setTimeout(()=>{e.destroyed||k()}),h.isMoved=!0;const _=(i.scale-s)/(m.maxRatio-a().minRatio),{originX:y,originY:v}=m;h.currentX=h.touchesCurrent.x-(h.touchesStart.x??0)+d+_*(h.width-2*y),h.currentY=h.touchesCurrent.y-(h.touchesStart.y??0)+u+_*(h.height-2*v),h.currentX<h.minX&&(h.currentX=h.minX+1-(h.minX-h.currentX+1)**.8),h.currentX>h.maxX&&(h.currentX=h.maxX-1+(h.currentX-h.maxX+1)**.8),h.currentY<h.minY&&(h.currentY=h.minY+1-(h.minY-h.currentY+1)**.8),h.currentY>h.maxY&&(h.currentY=h.maxY-1+(h.currentY-h.maxY+1)**.8),p.prevPositionX||(p.prevPositionX=h.touchesCurrent.x),p.prevPositionY||(p.prevPositionY=h.touchesCurrent.y),p.prevTime||(p.prevTime=Date.now()),p.x=(h.touchesCurrent.x-p.prevPositionX)/(Date.now()-p.prevTime)/2,p.y=(h.touchesCurrent.y-p.prevPositionY)/(Date.now()-p.prevTime)/2,Math.abs(h.touchesCurrent.x-p.prevPositionX)<2&&(p.x=0),Math.abs(h.touchesCurrent.y-p.prevPositionY)<2&&(p.y=0),p.prevPositionX=h.touchesCurrent.x,p.prevPositionY=h.touchesCurrent.y,p.prevTime=Date.now(),m.imageWrapEl.style.transform=`translate3d(${h.currentX}px, ${h.currentY}px,0)`}function T(){const t=e.zoom;m.slideEl&&e.activeIndex!==e.slides.indexOf(m.slideEl)&&(m.imageEl&&(m.imageEl.style.transform="translate3d(0,
92180,0) scale(1)"),m.imageWrapEl&&(m.imageWrapEl.style.transform="translate3d(0,0,0)"),m.slideEl.classList.remove(`${a().zoomedSlideClass}`),t.scale=1,s=1,m.slideEl=void 0,m.imageEl=void 0,m.imageWrapEl=void 0,m.originX=0,m.originY=0)}function x(e){if(s<=1||!m.imageWrapEl)return;if(!M(e)||!w(e))return;const t=window.getComputedStyle(m.imageWrapEl).transform,n=new window.DOMMatrix(t);if(!o)return o=!0,l.x=e.clientX,l.y=e.clientY,h.startX=n.e,h.startY=n.f,h.width=m.imageEl.offsetWidth||m.imageEl.clientWidth,h.height=m.imageEl.offsetHeight||m.imageEl.clientHeight,m.slideWidth=m.slideEl.offsetWidth,void(m.slideHeight=m.slideEl.offsetHeight);const i=-3*(e.clientX-l.x),a=-3*(e.clientY-l.y),r=h.width*s,d=h.height*s,u=m.slideWidth,c=m.slideHeight,p=Math.min(u/2-r/2,0),f=-p,_=Math.min(c/2-d/2,0),g=-_,y=Math.max(Math.min(h.startX+i,f),p),v=Math.max(Math.min(h.startY+a,g),_);m.imageWrapEl.style.transitionDuration="0ms",m.imageWrapEl.style.transform=`translate3d(${y}px, ${v}px, 0)`,l.x=e.clientX,l.y=e.clientY,h.startX=y,h.startY=v,h.currentX=y,h.currentY=v}function S(t){const n=e.zoom,i=a();if(!m.slideEl){if(t&&"number"!=typeof t&&"target"in t&&t.target&&(m.slideEl=t.target.closest(`.${e.params.slideClass}, swiper-slide`)??void 0),!m.slideEl){const t=e.params.virtual;t&&t.enabled&&e.virtual?m.slideEl=(0,g.e)(e.slidesEl,`.${e.params.slideActiveClass}`)[0]??void 0:m.slideEl=e.slides[e.activeIndex]}let n=m.slideEl?.querySelector(`.${i.containerClass}`)??null;n&&(n=n.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]??null),m.imageEl=n??void 0,m.imageWrapEl=n?(0,g.j)(n,`.${i.containerClass}`)[0]??void 0:void 0}if(!m.imageEl||!m.imageWrapEl||!m.slideEl)return;let r,o,l,d,u,c,p,f,_,y,M,w,L,b,Y,k,D,T;m.maxRatio=v(),e.params.cssMode&&(e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.touchAction="none"),m.slideEl.classList.add(`${i.zoomedSlideClass}`);const x=t&&"number"!=typeof t;void 0===h.touchesStart.x&&x?(r=t.pageX,o=t.pageY):(r=h.touchesStart.x,o=h.touchesStart.y);const S=s,E="number"==typeof t?t:null;1===s&&E&&(r=void 0,o=void 0,h.touchesStart.x=void 0,h.touchesStart.y=void 0);const H=v();n.scale=E||H,s=E||H,!t||1===s&&E?(p=0,f=0):(D=m.slideEl.offsetWidth,T=m.slideEl.offsetHeight,l=(0,g.h)(m.slideEl).left+window.scrollX,d=(0,g.h)(m.slideEl).top+window.scrollY,u=l+D/2-(r??0),c=d+T/2-(o??0),_=m.imageEl.offsetWidth||m.imageEl.clientWidth,y=m.imageEl.offsetHeight||m.imageEl.clientHeight,M=_*n.scale,w=y*n.scale,L=Math.min(D/2-M/2,0),b=Math.min(T/2-w/2,0),Y=-L,k=-b,S>0&&E&&"number"==typeof h.currentX&&"number"==typeof h.currentY?(p=h.currentX*n.scale/S,f=h.currentY*n.scale/S):(p=u*n.scale,f=c*n.scale),p<L&&(p=L),p>Y&&(p=Y),f<b&&(f=b),f>k&&(f=k)),E&&1===n.scale&&(m.originX=0,m.originY=0),h.currentX=p,h.currentY=f,m.imageWrapEl.style.transitionDuration="300ms",m.imageWrapEl.style.transform=`translate3d(${p}px, ${f}px,0)`,m.imageEl.style.transitionDuration="300ms",m.imageEl.style.transform=`translate3d(0,0,0) scale(${n.scale})`}function E(){const t=e.zoom,n=a();if(!m.slideEl){const t=e.params.virtual;t&&t.enabled&&e.virtual?m.slideEl=(0,g.e)(e.slidesEl,`.${e.params.slideActiveClass}`)[0]??void 0:m.slideEl=e.slides[e.activeIndex];let i=m.slideEl?.querySelector(`.${n.containerClass}`)??null;i&&(i=i.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]??null),m.imageEl=i??void 0,m.imageWrapEl=i?(0,g.j)(i,`.${n.containerClass}`)[0]??void 0:void 0}m.imageEl&&m.imageWrapEl&&m.slideEl&&(m.maxRatio=v(),e.params.cssMode&&(e.wrapperEl.style.overflow="",e.wrapperEl.style.touchAction=""),t.scale=1,s=1,h.currentX=void 0,h.currentY=void 0,h.touchesStart.x=void 0,h.touchesStart.y=void 0,m.imageWrapEl.style.transitionDuration="300ms",m.imageWrapEl.style.transform="translate3d(0,0,0)",m.imageEl.style.transitionDuration="300ms",m.imageEl.style.transform="translate3d(0,0,0) scale(1)",m.slideEl.classList.remove(`${n.zoomedSlideClass}`),m.slideEl=void 0,m.originX=0,m.originY=0,n.panOnMouseMove&&(l={x:0,y:0},o&&(o=!1,h.startX=0,h.startY=0)))}function H(t){const n=e.zoom;n.scale&&1!==n.scale?E():S(t)}function j(){return{passiveListener:!!e.params.passiveListeners&&{passive:!0,capture:!1},activeListenerWithCapture:!e.params.passiveListeners||{passive:!1,capture:!0}}}function P(){const t=e.zoom;if(t.enabled)return;t.enabled=!0;const{passiveListener:n,activeListenerWithCapture:i}=j();e.wrapperEl.addEventListener("pointerdown",L,n),e.wrapperEl.addEventListener("pointermove",b,i),["pointerup","pointercancel","pointerout"].forEach(t=>{e.wrapperEl.addEventListener(t,Y,n)}),e.wrapperEl.addEventListener("pointermove",D,i)}function C(){const t=e.zoom;if(!t.enabled)return;t.enabled=!1;const{passiveListener:n,activeListenerWithCapture:i}=j();e.wrapperEl.removeEventListener("pointerdown",L,n),e.wrapperEl.removeEventListener("pointermove",b,i),["pointerup","pointercancel","pointerout"].forEach(t=>{e.wrapperEl.removeEventListener(t,Y,n)}),e.wrapperEl.removeEventListener("pointermove",D,i)}Object.defineProperty(e.zoom,"scale",{get:()=>_,set(e){if(_!==e){const t=m.imageEl,n=m.slideEl;i("zoomChange",e,t,n)}_=e}}
9218),n("init",()=>{a().enabled&&P()}),n("destroy",()=>{C()}),n("touchStart",(t,n)=>{e.zoom.enabled&&function(t){const n=e.device;if(h.isTouched)return;const i=c.length>0?c[0]:t;h.touchesStart.x=i.pageX,h.touchesStart.y=i.pageY,m.imageEl&&(n.android&&t.cancelable&&t.preventDefault(),h.isTouched=!0)}(n)}),n("touchEnd",()=>{e.zoom.enabled&&function(){const t=e.zoom;if(c.length=0,!m.imageEl)return;if(!h.isTouched||!h.isMoved)return h.isTouched=!1,void(h.isMoved=!1);h.isTouched=!1,h.isMoved=!1;let n=300,i=300;const a=p.x??0,s=p.y??0,r=a*n,o=h.currentX+r,l=s*i,d=h.currentY+l;0!==a&&(n=Math.abs((o-h.currentX)/a)),0!==s&&(i=Math.abs((d-h.currentY)/s));const u=Math.max(n,i);h.currentX=o,h.currentY=d;const f=h.width*t.scale,_=h.height*t.scale;h.minX=Math.min(m.slideWidth/2-f/2,0),h.maxX=-h.minX,h.minY=Math.min(m.slideHeight/2-_/2,0),h.maxY=-h.minY,h.currentX=Math.max(Math.min(h.currentX,h.maxX),h.minX),h.currentY=Math.max(Math.min(h.currentY,h.maxY),h.minY),m.imageWrapEl.style.transitionDuration=`${u}ms`,m.imageWrapEl.style.transform=`translate3d(${h.currentX}px, ${h.currentY}px,0)`}()}),n("doubleTap",(t,n)=>{!e.animating&&a().enabled&&e.zoom.enabled&&a().toggle&&H(n)}),n("transitionEnd",()=>{e.zoom.enabled&&a().enabled&&T()}),n("slideChange",()=>{e.zoom.enabled&&a().enabled&&e.params.cssMode&&T()}),Object.assign(e.zoom,{enable:P,disable:C,in:S,out:E,toggle:H})},({swiper:e,extendParams:t,on:n})=>{function i(){return e.params.controller}function a(){e.controller.control&&e.controller.spline&&(e.controller.spline=void 0,delete e.controller.spline)}t({controller:{control:void 0,inverse:!1,by:"slide"}}),e.controller={control:void 0},n("beforeInit",()=>{const t=i().control;"undefined"!=typeof window&&("string"==typeof t||t instanceof HTMLElement)?("string"==typeof t?[...document.querySelectorAll(t)]:[t]).forEach(t=>{e.controller.control||(e.controller.control=[]);const n=e.controller.control;if(t&&t.swiper)n.push(t.swiper);else if(t){const i=`${e.params.eventsPrefix}init`,a=s=>{const r=s.detail;r&&r[0]&&n.push(r[0]),e.update(),t.removeEventListener(i,a)};t.addEventListener(i,a)}}):e.controller.control=t}),n("update",()=>{a()}),n("resize",()=>{a()}),n("observerUpdate",()=>{a()}),n("setTranslate",(t,n,i)=>{e.controller.control&&(!Array.isArray(e.controller.control)&&e.controller.control.destroyed||e.controller.setTranslate(n,i))}),n("setTransition",(t,n,i)=>{e.controller.control&&(!Array.isArray(e.controller.control)&&e.controller.control.destroyed||e.controller.setTransition(n,i))}),Object.assign(e.controller,{setTranslate:function(t,n){const a=e.controller.control;let s,r;const o=e.constructor;function l(t){if(t.destroyed)return;const n=e.rtlTranslate?-e.translate:e.translate,a=i();"slide"===a.by?(function(t){e.controller.spline=e.params.loop?new L(e.slidesGrid,t.slidesGrid):new L(e.snapGrid,t.snapGrid)}(t),r=-e.controller.spline.interpolate(-n)):r=0,r&&"container"!==a.by||(s=(t.maxTranslate()-t.minTranslate())/(e.maxTranslate()-e.minTranslate()),!Number.isNaN(s)&&Number.isFinite(s)||(s=1),r=(n-e.minTranslate())*s+t.minTranslate()),a.inverse&&(r=t.maxTranslate()-r),t.updateProgress(r),t.setTranslate(r,e),t.updateActiveIndex(),t.updateSlidesClasses()}if(Array.isArray(a))for(let e=0;e<a.length;e+=1){const t=a[e];t&&t!==n&&t instanceof o&&l(t)}else a instanceof o&&n!==a&&l(a)},setTransition:function(t,n){const i=e.constructor,a=e.controller.control;function s(n){n.destroyed||(n.setTransition(t,e),0!==t&&(n.transitionStart(),n.params.autoHeight&&(0,g.t)(()=>{n.updateAutoHeight()}),(0,g.m)(n.wrapperEl,()=>{a&&n.transitionEnd()})))}if(Array.isArray(a))for(let e=0;e<a.length;e+=1){const t=a[e];t&&t!==n&&t instanceof i&&s(t)}else a instanceof i&&n!==a&&s(a)}})},({swiper:e,extendParams:t,on:n})=>{t({a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",slideLabelMessage:"{{index}} / {{slidesLength}}",containerMessage:null,containerRoleDescriptionMessage:null,containerRole:null,itemRoleDescriptionMessage:null,slideRole:"group",id:null,
9218scrollOnFocus:!0,wrapperLiveRegion:!0}}),e.a11y={clicked:!1};let i,a=null,s=!1,r=(new Date).getTime();function o(){return e.params.a11y}function l(e){const t=a;t&&e&&(0,g.w)(t,e)}function d(e){(0,g.s)(e).forEach(e=>{e.setAttribute("tabIndex","0")})}function u(e){(0,g.s)(e).forEach(e=>{e.setAttribute("tabIndex","-1")})}function c(e,t){(0,g.s)(e).forEach(e=>{e.setAttribute("role",t)})}function m(e,t){(0,g.s)(e).forEach(e=>{e.setAttribute("aria-roledescription",t)})}function h(e,t){(0,g.s)(e).forEach(e=>{e.setAttribute("aria-label",t)})}function p(e){(0,g.s)(e).forEach(e=>{e.setAttribute("aria-disabled","true")})}function f(e){(0,g.s)(e).forEach(e=>{e.removeAttribute("aria-disabled")})}function _(t){if(13!==t.keyCode&&32!==t.keyCode)return;const n=o(),i=e.params.pagination,a=t.target;if(!e.pagination||!e.pagination.el||a!==e.pagination.el&&!e.pagination.el.contains(a)||a.matches(M(i?.bulletClass))){if(e.navigation&&e.navigation.prevEl&&e.navigation.nextEl){const t=(0,g.s)(e.navigation.prevEl);(0,g.s)(e.navigation.nextEl).includes(a)&&(e.isEnd&&!e.params.loop||e.slideNext(),e.isEnd?l(n.lastSlideMessage):l(n.nextSlideMessage)),t.includes(a)&&(e.isBeginning&&!e.params.loop||e.slidePrev(),e.isBeginning?l(n.firstSlideMessage):l(n.prevSlideMessage))}e.pagination&&a.matches(M(i?.bulletClass))&&a.click()}}function y(){return!!(e.pagination&&e.pagination.bullets&&e.pagination.bullets.length)}function v(){const t=e.params.pagination;return y()&&!!t?.clickable}const w=(e,t,n)=>{d(e),"BUTTON"!==e.tagName&&(c(e,"button"),e.addEventListener("keydown",_)),h(e,n)},L=t=>{i&&i!==t.target&&!i.contains(t.target)&&(s=!0),e.a11y.clicked=!0},b=()=>{s=!1,requestAnimationFrame(()=>{requestAnimationFrame(()=>{e.destroyed||(e.a11y.clicked=!1)})})},Y=e=>{r=(new Date).getTime()},k=t=>{const n=o();if(e.a11y.clicked||!n.scrollOnFocus)return;if((new Date).getTime()-r<100)return;const a=t.target.closest(`.${e.params.slideClass}, swiper-slide`);if(!a||!e.slides.includes(a))return;i=a;const l=(e=>!!e.virtual&&!!e.params.virtual?.enabled)(e),d=(l?parseInt(a.getAttribute("data-swiper-slide-index")||"0",10):e.slides.indexOf(a))===e.activeIndex,u=e.params.watchSlidesProgress&&e.visibleSlides&&e.visibleSlides.includes(a);if(d||u)return;const c=t.sourceCapabilities;c&&c.firesTouchEvents||(e.isHorizontal()?e.el.scrollLeft=0:e.el.scrollTop=0,requestAnimationFrame(()=>{s||(e.params.loop?e.slideToLoop(e.getSlideIndexWhenGrid(parseInt(a.getAttribute("data-swiper-slide-index")||"0",10)),0):l?e.slideTo(e.getSlideIndexWhenGrid(parseInt(a.getAttribute("data-swiper-slide-index")||"0",10)),0):e.slideTo(e.getSlideIndexWhenGrid(e.slides.indexOf(a)),0),s=!1)}))},D=()=>{const t=o();t.itemRoleDescriptionMessage&&m(e.slides,t.itemRoleDescriptionMessage),t.slideRole&&c(e.slides,t.slideRole);const n=e.slides.length,i=t.slideLabelMessage;i&&e.slides.forEach((t,a)=>{const s=e.params.loop?parseInt(t.getAttribute("data-swiper-slide-index")||"0",10):a;h(t,i.replace(/\{\{index\}\}/,String(s+1)).replace(/\{\{slidesLength\}\}/,String(n)))})};n("beforeInit",()=>{a=(0,g.a)("span",o().notificationClass),a.setAttribute("aria-live","assertive"),a.setAttribute("aria-atomic","true")}),n("afterInit",()=>{o().enabled&&(()=>{const t=o();a&&e.el.append(a);const n=e.el;t.containerRoleDescriptionMessage&&m(n,t.containerRoleDescriptionMessage),t.containerMessage&&h(n,t.containerMessage),t.containerRole&&c(n,t.containerRole);const i=e.wrapperEl,s=String(t.id||i.getAttribute("id")||`swiper-wrapper-${function(e=16){return"x".repeat(e).replace(/x/g,()=>Math.round(16*Math.random()).toString(16))}(16)}`);var r,l;if(r=i,l=s,(0,g.s)(r).forEach(e=>{e.setAttribute("id",l)}),t.wrapperLiveRegion){const t=e.params.autoplay;!function(e,t){(0,g.s)(e).forEach(e=>{e.setAttribute("aria-live",t)})}(i,e.params.autoplay&&t?.enabled?"off":"polite")}D();const d=e.navigation?e.navigation:{nextEl:void 0,prevEl:void 0},u=(0,g.s)(d.nextEl),p=(0,g.s)(d.prevEl);u&&u.forEach(e=>w(e,0,t.nextSlideMessage)),p&&p.forEach(e=>w(e,0,t.prevSlideMessage)),v()&&(0,g.s)(e.pagination.el).forEach(e=>{e.addEventListener("keydown",_)}),document.addEventListener("visibilitychange",Y),e.el.addEventListener("focus",k,!0),e.el.addEventListener("pointerdown",L,!0),e.el.addEventListener("pointerup",b,!0)})()}),n("slidesLengthChange snapGridLengthChange slidesGridLengthChange",()=>{o().enabled&&D()}),n("fromEdge toEdge afterInit lock unlock",()=>{o().enabled&&function(){if(e.params.loop||e.params.rewind||!e.navigation)return;const{nextEl:t,prevEl:n}=e.navigation;n&&(e.isBeginning?(p(n),u(n)):(f(n),d(n))),t&&(e.isEnd?(p(t),u(t)):(f(t),d(t)))}()}),n("paginationUpdate",()=>{o().enabled&&function(){const t=o();if(!y())return;const n=e.params.pagination;
9218e.pagination.bullets.forEach(e=>{n.clickable&&(d(e),n.renderBullet||(c(e,"button"),h(e,t.paginationBulletMessage.replace(/\{\{index\}\}/,String(((0,g.b)(e)??0)+1))))),e.matches(M(n.bulletActiveClass))?e.setAttribute("aria-current","true"):e.removeAttribute("aria-current")})}()}),n("destroy",()=>{o().enabled&&function(){a&&a.remove();const t=e.navigation?e.navigation:{nextEl:void 0,prevEl:void 0},n=(0,g.s)(t.nextEl),i=(0,g.s)(t.prevEl);n&&n.forEach(e=>e.removeEventListener("keydown",_)),i&&i.forEach(e=>e.removeEventListener("keydown",_)),v()&&(0,g.s)(e.pagination.el).forEach(e=>{e.removeEventListener("keydown",_)}),document.removeEventListener("visibilitychange",Y),e.el&&"string"!=typeof e.el&&(e.el.removeEventListener("focus",k,!0),e.el.removeEventListener("pointerdown",L,!0),e.el.removeEventListener("pointerup",b,!0))}()})},({swiper:e,extendParams:t,on:n})=>{t({history:{enabled:!1,root:"",replaceState:!1,key:"slides",keepQuery:!1}});let i=!1,a={key:void 0,value:void 0};function s(){return e.params.history}const r=e=>e.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,""),o=e=>{let t;t=e?new URL(e):window.location;const n=t.pathname.slice(1).split("/").filter(e=>""!==e),i=n.length;return{key:n[i-2],value:n[i-1]}},l=(t,n)=>{const a=s();if(!i||!a.enabled)return;let o;o=e.params.url?new URL(e.params.url):window.location;const l=!!e.params.virtual?.enabled,d=e.virtual&&l?e.slidesEl.querySelector(`[data-swiper-slide-index="${n}"]`):e.slides[n];if(!d)return;let u=r(d.getAttribute("data-history")||"");const c=a.root;c.length>0?u=`${"/"===c[c.length-1]?c.slice(0,c.length-1):c}/${t?`${t}/`:""}${u}`:o.pathname.includes(t||"")||(u=`${t?`${t}/`:""}${u}`),a.keepQuery&&(u+=o.search);const m=window.history.state;m&&m.value===u||(a.replaceState?window.history.replaceState({value:u},"",u):window.history.pushState({value:u},"",u))},d=(t,n,i)=>{if(n)for(let a=0,s=e.slides.length;a<s;a+=1){const s=e.slides[a];if(r(s.getAttribute("data-history")||"")===n){const n=e.getSlideIndex(s);e.slideTo(n,t,i)}}else e.slideTo(0,t,i)},u=()=>{a=o(e.params.url),d(e.params.speed,a.value,!1)};n("init",()=>{s().enabled&&(()=>{const t=e.params.history;if(t){if(!window.history||!window.history.pushState){t.enabled=!1;const n=e.params.hashNavigation;return void(n&&(n.enabled=!0))}i=!0,a=o(e.params.url),a.key||a.value?(d(0,a.value,e.params.runCallbacksOnInit),t.replaceState||window.addEventListener("popstate",u)):t.replaceState||window.addEventListener("popstate",u)}})()}),n("destroy",()=>{s().enabled&&(s().replaceState||window.removeEventListener("popstate",u))}),n("transitionEnd _freeModeNoMomentumRelease",()=>{i&&l(s().key,e.activeIndex)}),n("slideChange",()=>{i&&e.params.cssMode&&l(s().key,e.activeIndex)})},({swiper:e,extendParams:t,emit:n,on:i})=>{let a=!1;function s(){return e.params.hashNavigation}t({hashNavigation:{enabled:!1,replaceState:!1,watchState:!1,getSlideIndex(t,n){if(b(e)){const t=e.slides.find(e=>e.getAttribute("data-hash")===n);return t?parseInt(t.getAttribute("data-swiper-slide-index")||"0",10):0}const i=(0,g.e)(e.slidesEl,`.${e.params.slideClass}[data-hash="${n}"], swiper-slide[data-hash="${n}"]`)[0];return i?e.getSlideIndex(i):0}}});const r=()=>{n("hashChange");const t=document.location.hash.replace("#",""),i=b(e)?e.slidesEl.querySelector(`[data-swiper-slide-index="${e.activeIndex}"]`):e.slides[e.activeIndex];if(t!==(i?i.getAttribute("data-hash"):"")){const n=s().getSlideIndex(e,t);if(void 0===n||Number.isNaN(n))return;e.slideTo(n)}},o=()=>{const t=s();if(!a||!t.enabled)return;const i=b(e)?e.slidesEl.querySelector(`[data-swiper-slide-index="${e.activeIndex}"]`):e.slides[e.activeIndex],r=i?i.getAttribute("data-hash")||i.getAttribute("data-history"):"";t.replaceState&&window.history&&window.history.replaceState?(window.history.replaceState(null,"",`#${r}`||""),n("hashSet")):(document.location.hash=r||"",n("hashSet"))};i("init",()=>{s().enabled&&(()=>{const t=s(),n=e.params.history;if(!t.enabled||n&&n.enabled)return;a=!0;const i=document.location.hash.replace("#","");if(i){const n=0,a=t.getSlideIndex(e,i);e.slideTo(a||0,n,e.params.runCallbacksOnInit,!0)}
9218t.watchState&&window.addEventListener("hashchange",r)})()}),i("destroy",()=>{s().enabled&&s().watchState&&window.removeEventListener("hashchange",r)}),i("transitionEnd _freeModeNoMomentumRelease",()=>{a&&o()}),i("slideChange",()=>{a&&e.params.cssMode&&o()})},({swiper:e,extendParams:t,on:n,emit:i,params:a})=>{function s(){return e.params.autoplay}e.autoplay={running:!1,paused:!1,timeLeft:0},t({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});const r="object"==typeof a.autoplay&&a.autoplay&&"number"==typeof a.autoplay.delay?a.autoplay.delay:3e3;let o,l,d,u=r,c=r,m=0,h=(new Date).getTime(),p=!1,f=!1,_=!1,g=!1,y=!1;function v(t){if(!e||e.destroyed||!e.wrapperEl)return;if(t.target!==e.wrapperEl)return;e.wrapperEl.removeEventListener("transitionend",v);const n=t.detail;y||n&&n.bySwiperTouchMove||D()}const M=()=>{if(e.destroyed||!e.autoplay.running)return;e.autoplay.paused?p=!0:p&&(c=m,p=!1);const t=e.autoplay.paused?m:h+c-(new Date).getTime();e.autoplay.timeLeft=t,i("autoplayTimeLeft",t,t/u),l=requestAnimationFrame(()=>{M()})},w=()=>{let t=s().delay;const n=(()=>{let t;const n=!!e.params.virtual?.enabled;if(t=e.virtual&&n?e.slides.find(e=>e.classList.contains("swiper-slide-active")):e.slides[e.activeIndex],!t)return;const i=t.getAttribute("data-swiper-autoplay");return null!=i?parseInt(i,10):void 0})();return"number"==typeof n&&!Number.isNaN(n)&&n>0&&(t=n),t},L=t=>{if(e.destroyed||!e.autoplay.running)return 0;void 0!==l&&cancelAnimationFrame(l),M();let n=t;void 0===n&&(n=w(),u=n,c=n),m=n;const a=e.params.speed,r=()=>{if(!e||e.destroyed)return;const t=s();t.reverseDirection?!e.isBeginning||e.params.loop||e.params.rewind?(e.slidePrev(a,!0,!0),i("autoplay")):t.stopOnLastSlide||(e.slideTo(e.slides.length-1,a,!0,!0),i("autoplay")):!e.isEnd||e.params.loop||e.params.rewind?(e.slideNext(a,!0,!0),i("autoplay")):t.stopOnLastSlide||(e.slideTo(0,a,!0,!0),i("autoplay")),e.params.cssMode&&(h=(new Date).getTime(),requestAnimationFrame(()=>{L()}))};return n>0?(void 0!==o&&clearTimeout(o),o=setTimeout(()=>{r()},n)):requestAnimationFrame(()=>{r()}),n},b=()=>(h=(new Date).getTime(),e.autoplay.running=!0,L(),i("autoplayStart"),!0),Y=()=>(e.autoplay.running=!1,void 0!==o&&clearTimeout(o),void 0!==l&&cancelAnimationFrame(l),i("autoplayStop"),!0),k=(t,n)=>{if(e.destroyed||!e.autoplay.running)return;void 0!==o&&clearTimeout(o),t||(g=!0);const a=()=>{i("autoplayPause"),s().waitForTransition?e.wrapperEl.addEventListener("transitionend",v):D()};if(e.autoplay.paused=!0,n)return void a();const r=m||s().delay;m=r-((new Date).getTime()-h),e.isEnd&&m<0&&!e.params.loop||(m<0&&(m=0),a())},D=()=>{e.isEnd&&m<0&&!e.params.loop||e.destroyed||!e.autoplay.running||(h=(new Date).getTime(),g?(g=!1,L(m)):L(),e.autoplay.paused=!1,i("autoplayResume"))},T=()=>{!e.destroyed&&e.autoplay.running&&("hidden"===document.visibilityState&&(g=!0,k(!0)),"visible"===document.visibilityState&&D())},x=t=>{"mouse"===t.pointerType&&(g=!0,y=!0,e.animating||e.autoplay.paused||k(!0))},S=t=>{"mouse"===t.pointerType&&(y=!1,e.autoplay.paused&&D())};n("init",()=>{s().enabled&&(s().pauseOnMouseEnter&&(e.el.addEventListener("pointerenter",x),e.el.addEventListener("pointerleave",S)),document.addEventListener("visibilitychange",T),b())}),n("destroy",()=>{e.el&&"string"!=typeof e.el&&(e.el.removeEventListener("pointerenter",x),e.el.removeEventListener("pointerleave",S)),document.removeEventListener("visibilitychange",T),e.autoplay.running&&Y()}),n("_freeModeStaticRelease",()=>{(_||g)&&D()}),n("_freeModeNoMomentumRelease",()=>{s().disableOnInteraction?Y():k(!0,!0)}),n("beforeTransitionStart",(t,n,i)=>{!e.destroyed&&e.autoplay.running&&(i||!s().disableOnInteraction?k(!0,!0):Y())}),n("sliderFirstMove",()=>{!e.destroyed&&e.autoplay.running&&(s().disableOnInteraction?Y():(f=!0,_=!1,g=!1,d=setTimeout(()=>{g=!0,_=!0,k(!0)},200)))}),n("touchEnd",()=>{if(!e.destroyed&&e.autoplay.running&&f){if(void 0!==d&&clearTimeout(d),void 0!==o&&clearTimeout(o),s().disableOnInteraction)return _=!1,void(f=!1);_&&e.params.cssMode&&D(),_=!1,f=!1}}),n("slideChange",()=>{!e.destroyed&&e.autoplay.running&&e.autoplay.paused&&(m=w(),u=w())}),Object.assign(e.autoplay,{start:b,stop:Y,pause:k,resume:D})},({swiper:e,extendParams:t,on:n})=>{t({thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-thumbs"}});let i=!1,a=!1;function s(){return e.params.thumbs}function r(){const t=e.thumbs.swiper;if(!t||t.destroyed)return!1;const n=t.params.virtual;return!!n&&!!n.enabled}function o(){const t=e.thumbs.swiper;if(!t||t.destroyed)return;const n=t.clickedIndex,i=t.clickedSlide,a=s();if(i&&i.classList.contains(a.slideThumbActiveClass))return;if(null==n)return;let r;if(t.params.loop){const e=t.clickedSlide?.getAttribute("data-swiper-slide-index");r=null==e?n:parseInt(e,10)}else r=n;e.params.loop?e.slideToLoop(r):e.slideTo(r)}function l(){const t=s();if(i)return!1;i=!0;const n=e.constructor;if(t.swiper instanceof n){if(t.swiper.destroyed)return i=!1,!1;const n=t.swiper;e.thumbs.swiper=n,Object.assign(n.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),Object.assign(n.params,{watchSlidesProgress:!0,slideToClickedSlide:!1}),n.update()}else if((0,g.r)(t.swiper)){const i=Object.assign({},t.swiper);Object.assign(i,{watchSlidesProgress:!0,slideToClickedSlide:!1}),e.thumbs.swiper=new n(i),a=!0}const l=e.thumbs.swiper;return!!l&&(l.el.classList.add(t.thumbsContainerClass),l.on("tap",o),r()&&l.on("virtualUpdate",()=>{d(!1,{autoScroll:!1})}),!0)}function d(t,n){const i=e.thumbs.swiper;if(!i||i.destroyed)return;let a=1;const o=s(),l=o.slideThumbActiveClass,d=e.params.slidesPerView;if("number"==typeof d&&d>1&&!e.params.centeredSlides&&(a=d),o.multipleActiveThumbs||(a=1),a=Math.floor(a),i.slides.forEac
9218h(e=>e.classList.remove(l)),i.params.loop||r())for(let t=0;t<a;t+=1)(0,g.e)(i.slidesEl,`[data-swiper-slide-index="${e.realIndex+t}"]`).forEach(e=>{e.classList.add(l)});else for(let t=0;t<a;t+=1){const n=i.slides[e.realIndex+t];n&&n.classList.add(l)}(n?.autoScroll??!0)&&function(t){const n=e.thumbs.swiper;if(!n||n.destroyed)return;const i=n.params.slidesPerView,a="auto"===i?n.slidesPerViewDynamic():i??1,r=s().autoScrollOffset,o=r&&!n.params.loop;if(e.realIndex!==n.realIndex||o){const i=n.activeIndex;let s,l;if(n.params.loop){const t=n.slides.find(t=>t.getAttribute("data-swiper-slide-index")===`${e.realIndex}`);s=t?n.slides.indexOf(t):-1,l=e.activeIndex>e.previousIndex?"next":"prev"}else s=e.realIndex,l=s>e.previousIndex?"next":"prev";o&&(s+="next"===l?r:-1*r),n.visibleSlidesIndexes&&n.visibleSlidesIndexes.indexOf(s)<0&&(n.params.centeredSlides?s=s>i?s-Math.floor(a/2)+1:s+Math.floor(a/2)-1:s>i&&n.params.slidesPerGroup,n.slideTo(s,t))}}(t?0:void 0)}e.thumbs={swiper:null},n("beforeInit",()=>{const t=e.params.thumbs;if(t&&t.swiper)if("string"==typeof t.swiper||t.swiper instanceof HTMLElement){const n=()=>{const n="string"==typeof t.swiper?document.querySelector(t.swiper):t.swiper;if(n&&n.swiper)t.swiper=n.swiper,l(),d(!0);else if(n){const i=`${e.params.eventsPrefix}init`,a=s=>{const r=s.detail;t.swiper=r[0],n.removeEventListener(i,a),l(),d(!0),t.swiper.update(),e.update()};n.addEventListener(i,a)}return n},i=()=>{e.destroyed||n()||requestAnimationFrame(i)};requestAnimationFrame(i)}else l(),d(!0)}),n("slideChange update resize observerUpdate",()=>{d()}),n("setTransition",(t,n)=>{const i=e.thumbs.swiper;i&&!i.destroyed&&i.setTransition(n)}),n("beforeDestroy",()=>{const t=e.thumbs.swiper;t&&!t.destroyed&&a&&t.destroy()}),Object.assign(e.thumbs,{init:l,update:d})},({swiper:e,extendParams:t,emit:n,once:i})=>{t({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}}),e.freeMode={onTouchStart:function(){if(e.params.cssMode)return;const t=e.getTranslate();e.setTranslate(t),e.setTransition(0),e.touchEventsData.velocities.length=0,e.freeMode.onTouchEnd({currentPos:e.rtl?e.translate:-e.translate})},onTouchMove:function(){if(e.params.cssMode)return;const{touchEventsData:t,touches:n}=e;0===t.velocities.length&&t.velocities.push({position:n[e.isHorizontal()?"startX":"startY"],time:t.touchStartTime??(0,g.u)()}),t.velocities.push({position:n[e.isHorizontal()?"currentX":"currentY"],time:(0,g.u)()})},onTouchEnd:function({currentPos:t}){if(e.params.cssMode)return;const{wrapperEl:a,rtlTranslate:s,snapGrid:r,touchEventsData:o}=e,l=e.params,d=e.params.freeMode,u=(0,g.u)(),c=u-(o.touchStartTime??u);if(t<-e.minTranslate())e.slideTo(e.activeIndex);else if(t>-e.maxTranslate())e.slides.length<r.length?e.slideTo(r.length-1):e.slideTo(e.slides.length-1);else{if(d.momentum){if(o.velocities.length>1){const t=o.velocities.pop(),n=o.velocities.pop(),i=t.position-n.position,a=t.time-n.time;e.velocity=i/a,e.velocity/=2,Math.abs(e.velocity)<d.minimumVelocity&&(e.velocity=0),(a>150||(0,g.u)()-t.time>300)&&(e.velocity=0)}else e.velocity=0;e.velocity*=d.momentumVelocityRatio,o.velocities.length=0;let t=1e3*d.momentumRatio;const u=e.velocity*t;let c=e.translate+u;s&&(c=-c);let m,h=!1;const p=20*Math.abs(e.velocity)*d.momentumBounceRatio;let f=!1;if(c<e.maxTranslate())d.momentumBounce?(c+e.maxTranslate()<-p&&(c=e.maxTranslate()-p),m=e.maxTranslate(),h=!0,o.allowMomentumBounce=!0):c=e.maxTranslate(),l.loop&&l.centeredSlides&&(f=!0);else if(c>e.minTranslate())d.momentumBounce?(c-e.minTranslate()>p&&(c=e.minTranslate()+p),m=e.minTranslate(),h=!0,o.allowMomentumBounce=!0):c=e.minTranslate(),l.loop&&l.centeredSlides&&(f=!0);else if(d.sticky){let t=0;for(let e=0;e<r.length;e+=1)if(r[e]>-c){t=e;break}c=Math.abs(r[t]-c)<Math.abs((r[t-1]??r[t])-c)||"next"===e.swipeDirection?r[t]:r[t-1],c=-c}if(f&&i("transitionEnd",()=>{e.loopFix()}),0!==e.velocity){if(t=s?Math.abs((-c-e.translate)/e.velocity):Math.abs((c-e.translate)/e.velocity),d.sticky){const n=Math.abs((s?-c:c)-e.translate),i=e.slidesSizesGrid[e.activeIndex],a=l.speed;t=n<i?a:n<2*i?1.5*a:2.5*a}}else if(d.sticky)return void e.slideToClosest();d.momentumBounce&&h&&void 0!==m?(e.updateProgress(m),e.setTransition(t),e.setTranslate(c),e.transitionStart(!0,e.swipeDirection),e.animating=!0,(0,g.m)(a,()=>{e&&!e.destroyed&&o.allowMomentumBounce&&(n("momentumBounce"),e.setTransition(l.speed),setTimeout(()=>{e.setTranslate(m),(0,g.m)(a,()=>{e&&!e.destroyed&&e.transitionEnd()})},0))})):e.velocity?(n("_freeModeNoMomentumRelease"),e.updateProgress(c),e.setTransition(t),e.setTranslate(c),e.transitionStart(!0,e.swipeDirection),e.animating||(e.animating=!0,(0,g.m)(a,()=>{e&&!e.destroyed&&e.transitionEnd()}))):e.updateProgress(c),e.updateActiveIndex(),e.updateSlidesClasses()}else{if(d.sticky)return void e.slideToClosest();n("_freeModeNoMomentumRelease")}(!d.momentum||c>=l.longSwipesMs)&&(n("_freeModeStaticRelease"),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses())}}}},({swiper:e,extendParams:t,on:n})=>{function i(){return e.params.grid}let a,s,r,o;t({grid:{rows:1,fill:"column"}});const l=()=>{let t=e.params.spaceBetween??0;return"string"==typeof t&&t.indexOf("%")>=0?t=parseFloat(t.replace("%",""))/100*e.size:"string"==typeof t&&(t=parseFloat(t)),t},d=()=>{const t=e.params.virtual;return!!e.virtual&&"object"==typeof t&&null!==t&&!!t.enabled};n("init",()=>{const t=e.params.grid;o=!!(t&&(t.rows??1)>1)}),n("update",()=>{const{params:t,el:n}=e,i=t.grid,a=!!(i&&(i.rows??1)>1);o&&!a?(n.classList.remove(`${t.containerModifierClass}grid`,`${t.containerModifierClass}grid-column`),r=1,e.emitContainerClasses()):!o&&a&&(n.classList.add(`${t.containerModifierClass}grid`),"column"===i.fill&&n.classList.add(`${t.containerModifierClass}grid-column`),e.emitContainerClasses()),o=a}),e.grid={initSlides:t=>{const{slidesPerView:n}=e.params,{rows:o,fill:l}=i(),u=d()?e.virtual.slides.length:t.length;r=Math.floor(u/o),a=Math.floor(u/o)===u/o?u:Math.ceil(u/o)*o,"auto"!==n&&"row"===l&&(a=Math.max(a,Math.floor(n??1)*o)),s=a/o},unsetSlides:()=>
9218{e.slides&&e.slides.forEach(t=>{t.swiperSlideGridSet&&(t.style.height="",t.style.setProperty(e.getDirectionLabel("margin-top"),""))})},updateSlide:(t,n,o)=>{const{slidesPerGroup:u}=e.params,c=l(),{rows:m,fill:h}=i(),p=d()?e.virtual.slides.length:o.length;let f,_,g;if("row"===h&&(u??1)>1){const e=u??1,i=Math.floor(t/(e*m)),s=t-m*e*i,r=0===i?e:Math.min(Math.ceil((p-i*m*e)/m),e);g=Math.floor(s/r),_=s-g*r+i*e,f=_+g*a/m,n.style.order=String(f)}else"column"===h?(_=Math.floor(t/m),g=t-_*m,(_>r||_===r&&g===m-1)&&(g+=1,g>=m&&(g=0,_+=1))):(g=Math.floor(t/s),_=t-g*s);const y=n;y.row=g,y.column=_,n.style.height=`calc((100% - ${(m-1)*c}px) / ${m})`,n.style.setProperty(e.getDirectionLabel("margin-top"),0!==g&&c?`${c}px`:""),y.swiperSlideGridSet=!0},updateWrapperSize:(t,n)=>{const{centeredSlides:s,roundLengths:r}=e.params,o=l(),{rows:d}=i();if(e.virtualSize=(t+o)*a,e.virtualSize=Math.ceil(e.virtualSize/d)-o,e.params.cssMode||e.wrapperEl.style.setProperty(e.getDirectionLabel("width"),`${e.virtualSize+o}px`),s){const t=[];for(let i=0;i<n.length;i+=1){let a=n[i];r&&(a=Math.floor(a)),n[i]<e.virtualSize+n[0]&&t.push(a)}n.splice(0,n.length),n.push(...t)}}}},({swiper:e})=>{Object.assign(e,{appendSlide:k.bind(e),prependSlide:D.bind(e),addSlide:Y.bind(e),removeSlide:x.bind(e),removeAllSlides:T.bind(e)})},({swiper:e,extendParams:t,on:n})=>{t({fadeEffect:{crossFade:!1,mode:"default"}});let i=0;function a(){return e.params.fadeEffect}function s(){const e=a();return"default"===e.mode&&e.crossFade?"cross-fade":e.mode}S({effect:"fade",swiper:e,on:n,setTranslate:()=>{const{slides:t}=e,n=(a(),s()),r="out-in"===n&&i>0,o=i;i=0;const l=[],d=[];let u=!1;for(let i=0;i<t.length;i+=1){const a=t[i];let s=-(a.swiperSlideOffset??0);e.params.virtualTranslate||(s-=e.translate);let o=0;e.isHorizontal()||(o=s,s=0);const c=a.progress??0;let m;m="cross-fade"===n?Math.max(1-Math.abs(c),0):"out-in"===n?Math.max(1-2*Math.abs(c),0):1+Math.min(Math.max(c,-1),0);const h=E(0,a);if(r){const e=parseFloat(h.style.opacity);0===m&&e>0&&(u=!0),m>0&&d.push(h),l.push(h)}h.style.opacity=String(m),h.style.transform=`translate3d(${s}px, ${o}px, 0px)`}r&&(l.forEach(e=>{const t=u&&d.includes(e);e.style.transitionDuration=o/2+"ms",e.style.transitionDelay=t?o/2+"ms":"0ms"}),H({swiper:e,duration:o,transformElements:d,allSlides:!0}))},setTransition:t=>{const n=s(),a=e.slides.map(e=>(0,g.p)(e));a.forEach(e=>{e.style.transitionDuration=`${t}ms`,"out-in"===n&&0===t&&(e.style.transitionDelay="")}),"out-in"===n&&t>0&&!e.params.cssMode?i=t:H({swiper:e,duration:t,transformElements:a,allSlides:!0})},overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!e.params.cssMode})})},({swiper:e,extendParams:t,on:n})=>{t({cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}});const i=(e,t,n)=>{let i=n?e.querySelector(".swiper-slide-shadow-left"):e.querySelector(".swiper-slide-shadow-top"),a=n?e.querySelector(".swiper-slide-shadow-right"):e.querySelector(".swiper-slide-shadow-bottom");i||(i=(0,g.a)("div",("swiper-slide-shadow-cube swiper-slide-shadow-"+(n?"left":"top")).split(" ")),e.append(i)),a||(a=(0,g.a)("div",("swiper-slide-shadow-cube swiper-slide-shadow-"+(n?"right":"bottom")).split(" ")),e.append(a)),i&&(i.style.opacity=String(Math.max(-t,0))),a&&(a.style.opacity=String(Math.max(t,0)))};S({effect:"cube",swiper:e,on:n,setTranslate:()=>{const{el:t,wrapperEl:n,slides:a,width:s,height:r,rtlTranslate:o,size:l}=e,d=(0,g.o)(e),u=e.params.cubeEffect,c=e.isHorizontal(),m=!(!e.virtual||!e.params.virtual?.enabled);let h=0,p=null;u.shadow&&(c?(p=e.wrapperEl.querySelector(".swiper-cube-shadow"),p||(p=(0,g.a)("div","swiper-cube-shadow"),e.wrapperEl.append(p)),p.style.height=`${s}px`):(p=t.querySelector(".swiper-cube-shadow"),p||(p=(0,g.a)("div","swiper-cube-shadow"),t.append(p))));for(let e=0;e<a.length;e+=1){const t=a[e];let n=e;m&&(n=parseInt(t.getAttribute("data-swiper-slide-index")??"0",10));let s=90*n,r=Math.floor(s/360);o&&(s=-s,r=Math.floor(-s/360));const p=Math.max(Math.min(t.progress??0,1),-1);let f=0,_=0,g=0;n%4==0?(f=4*-r*l,g=0):(n-1)%4==0?(f=0,g=4*-r*l):(n-2)%4==0?(f=l+4*r*l,g=l):(n-3)%4==0&&(f=-l,g=3*l+4*l*r),o&&(f=-f),c||(_=f,f=0);const y=`rotateX(${d(c?0:-s)}deg) rotateY(${d(c?s:0)}deg) translate3d(${f}px, ${_}px, ${g}px)`;p<=1&&p>
9218-1&&(h=90*n+90*p,o&&(h=90*-n-90*p)),t.style.transform=y,u.slideShadows&&i(t,p,c)}if(n.style.transformOrigin=`50% 50% -${l/2}px`,n.style.setProperty("-webkit-transform-origin",`50% 50% -${l/2}px`),u.shadow&&p)if(c)p.style.transform=`translate3d(0px, ${s/2+u.shadowOffset}px, ${-s/2}px) rotateX(89.99deg) rotateZ(0deg) scale(${u.shadowScale})`;else{const e=Math.abs(h)-90*Math.floor(Math.abs(h)/90),t=1.5-(Math.sin(2*e*Math.PI/360)/2+Math.cos(2*e*Math.PI/360)/2),n=u.shadowScale,i=u.shadowScale/t,a=u.shadowOffset;p.style.transform=`scale3d(${n}, 1, ${i}) translate3d(0px, ${r/2+a}px, ${-r/2/i}px) rotateX(-89.99deg)`}n.style.transform=`translate3d(0px,0,0px) rotateX(${d(e.isHorizontal()?0:h)}deg) rotateY(${d(e.isHorizontal()?-h:0)}deg)`,n.style.setProperty("--swiper-cube-translate-z","0px")},setTransition:t=>{const{el:n,slides:i}=e;if(i.forEach(e=>{e.style.transitionDuration=`${t}ms`,e.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(e=>{e.style.transitionDuration=`${t}ms`})}),e.params.cubeEffect?.shadow&&!e.isHorizontal()){const e=n.querySelector(".swiper-cube-shadow");e&&(e.style.transitionDuration=`${t}ms`)}},recreateShadows:()=>{const t=e.isHorizontal();e.slides.forEach(e=>{const n=Math.max(Math.min(e.progress??0,1),-1);i(e,n,t)})},getEffectParams:()=>e.params.cubeEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0})})},({swiper:e,extendParams:t,on:n})=>{function i(){return e.params.flipEffect}t({flipEffect:{slideShadows:!0,limitRotation:!0}});const a=(t,n)=>{let i=e.isHorizontal()?t.querySelector(".swiper-slide-shadow-left"):t.querySelector(".swiper-slide-shadow-top"),a=e.isHorizontal()?t.querySelector(".swiper-slide-shadow-right"):t.querySelector(".swiper-slide-shadow-bottom");i||(i=j("flip",t,e.isHorizontal()?"left":"top")),a||(a=j("flip",t,e.isHorizontal()?"right":"bottom")),i&&(i.style.opacity=String(Math.max(-n,0))),a&&(a.style.opacity=String(Math.max(n,0)))};S({effect:"flip",swiper:e,on:n,setTranslate:()=>{const{slides:t,rtlTranslate:n}=e,s=i(),r=(0,g.o)(e);for(let i=0;i<t.length;i+=1){const o=t[i];let l=o.progress??0;s.limitRotation&&(l=Math.max(Math.min(l,1),-1));const d=o.swiperSlideOffset??0;let u=-180*l,c=0,m=e.params.cssMode?-d-e.translate:-d,h=0;e.isHorizontal()?n&&(u=-u):(h=m,m=0,c=-u,u=0),o.style.zIndex=String(-Math.abs(Math.round(l))+t.length),s.slideShadows&&a(o,l);const p=`translate3d(${m}px, ${h}px, 0px) rotateX(${r(c)}deg) rotateY(${r(u)}deg)`;E(0,o).style.transform=p}},setTransition:t=>{const n=e.slides.map(e=>(0,g.p)(e));n.forEach(e=>{e.style.transitionDuration=`${t}ms`,e.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(e=>{e.style.transitionDuration=`${t}ms`})}),H({swiper:e,duration:t,transformElements:n})},recreateShadows:()=>{const t=i();e.slides.forEach(e=>{let n=e.progress??0;t.limitRotation&&(n=Math.max(Math.min(n,1),-1)),a(e,n)})},getEffectParams:()=>e.params.flipEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!e.params.cssMode})})},({swiper:e,extendParams:t,on:n})=>{t({coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0}}),S({effect:"coverflow",swiper:e,on:n,setTranslate:()=>{const{width:t,height:n,slides:i,slidesSizesGrid:a}=e,s=e.params.coverflowEffect,r=e.isHorizontal(),o=e.translate,l=r?t/2-o:n/2-o,d=r?s.rotate:-s.rotate,u=s.depth,c=(0,g.o)(e);for(let e=0,t=i.length;e<t;e+=1){const t=i[e],n=a[e],o=(l-(t.swiperSlideOffset??0)-n/2)/n,m="function"==typeof s.modifier?s.modifier(o):o*s.modifier;let h=r?d*m:0,p=r?0:d*m,f=-u*Math.abs(m),_="string"==typeof s.stretch&&-1!==s.stretch.indexOf("%")?parseFloat(s.stretch)/100*n:s.stretch,g=r?0:_*m,y=r?_*m:0,v=1-(1-s.scale)*Math.abs(m);Math.abs(y)<.001&&(y=0),Math.abs(g)<.001&&(g=0),Math.abs(f)<.001&&(f=0),Math.abs(h)<.001&&(h=0),Math.abs(p)<.001&&(p=0),Math.abs(v)<.001&&(v=0);const M=`translate3d(${y}px,${g}px,${f}
9218px) rotateX(${c(p)}deg) rotateY(${c(h)}deg) scale(${v})`;if(E(0,t).style.transform=M,t.style.zIndex=String(1-Math.abs(Math.round(m))),s.slideShadows){let e=r?t.querySelector(".swiper-slide-shadow-left"):t.querySelector(".swiper-slide-shadow-top"),n=r?t.querySelector(".swiper-slide-shadow-right"):t.querySelector(".swiper-slide-shadow-bottom");e||(e=j("coverflow",t,r?"left":"top")),n||(n=j("coverflow",t,r?"right":"bottom")),e&&(e.style.opacity=String(m>0?m:0)),n&&(n.style.opacity=String(-m>0?-m:0))}}},setTransition:t=>{e.slides.map(e=>(0,g.p)(e)).forEach(e=>{e.style.transitionDuration=`${t}ms`,e.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(e=>{e.style.transitionDuration=`${t}ms`})})},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0})})},({swiper:e,extendParams:t,on:n})=>{function i(){return e.params.creativeEffect}t({creativeEffect:{limitProgress:1,shadowPerProgress:!1,progressMultiplier:1,perspective:!0,prev:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1},next:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1}}});const a=e=>"string"==typeof e?e:`${e}px`;S({effect:"creative",swiper:e,on:n,setTranslate:()=>{const{slides:t,wrapperEl:n,slidesSizesGrid:s}=e,r=i(),{progressMultiplier:o}=r,l=e.params.centeredSlides,d=(0,g.o)(e);if(l){const t=s[0]/2-(e.params.slidesOffsetBefore??0);n.style.transform=`translateX(calc(50% - ${t}px))`}for(let n=0;n<t.length;n+=1){const i=t[n],s=i.progress??0,u=Math.min(Math.max(s,-r.limitProgress),r.limitProgress);let c=u;l||(c=Math.min(Math.max(i.originalProgress??0,-r.limitProgress),r.limitProgress));const m=i.swiperSlideOffset??0,h=[e.params.cssMode?-m-e.translate:-m,0,0],p=[0,0,0];let f=!1;e.isHorizontal()||(h[1]=h[0],h[0]=0);let _={translate:[0,0,0],rotate:[0,0,0],scale:1,opacity:1};u<0?(_=r.next,f=!0):u>
92180&&(_=r.prev,f=!0),h.forEach((e,t)=>{h[t]=`calc(${e}px + (${a(_.translate[t])} * ${Math.abs(u*o)}))`}),p.forEach((e,t)=>{p[t]=_.rotate[t]*Math.abs(u*o)}),i.style.zIndex=String(-Math.abs(Math.round(s))+t.length);const g=h.join(", "),y=`rotateX(${d(p[0])}deg) rotateY(${d(p[1])}deg) rotateZ(${d(p[2])}deg)`,v=c<0?`scale(${1+(1-_.scale)*c*o})`:`scale(${1-(1-_.scale)*c*o})`,M=c<0?1+(1-_.opacity)*c*o:1-(1-_.opacity)*c*o,w=`translate3d(${g}) ${y} ${v}`;if(f&&_.shadow||!f){let e=i.querySelector(".swiper-slide-shadow");if(!e&&_.shadow&&(e=j("creative",i)),e){const t=r.shadowPerProgress?u*(1/r.limitProgress):u;e.style.opacity=String(Math.min(Math.max(Math.abs(t),0),1))}}const L=E(0,i);L.style.transform=w,L.style.opacity=String(M),_.origin&&(L.style.transformOrigin=_.origin)}},setTransition:t=>{const n=e.slides.map(e=>(0,g.p)(e));n.forEach(e=>{e.style.transitionDuration=`${t}ms`,e.querySelectorAll(".swiper-slide-shadow").forEach(e=>{e.style.transitionDuration=`${t}ms`})}),H({swiper:e,duration:t,transformElements:n,allSlides:!0})},perspective:()=>i().perspective,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!e.params.cssMode})})},({swiper:e,extendParams:t,on:n})=>{function i(){return e.params.cardsEffect}t({cardsEffect:{slideShadows:!0,rotate:!0,perSlideRotate:2,perSlideOffset:8}}),S({effect:"cards",swiper:e,on:n,setTranslate:()=>{const{slides:t,activeIndex:n,rtlTranslate:a}=e,s=i(),{startTranslate:r,isTouched:o}=e.touchEventsData,l=a?-e.translate:e.translate;for(let i=0;i<t.length;i+=1){const d=t[i],u=d.progress??0,c=Math.min(Math.max(u,-4),4);let m=d.swiperSlideOffset??0;e.params.centeredSlides&&!e.params.cssMode&&(e.wrapperEl.style.transform=`translateX(${e.minTranslate()}px)`),e.params.centeredSlides&&e.params.cssMode&&(m-=t[0].swiperSlideOffset??0);let h=e.params.cssMode?-m-e.translate:-m,p=0;const f=-100*Math.abs(c);let _=1,g=-s.perSlideRotate*c,y=s.perSlideOffset-.75*Math.abs(c);const v=e.virtual&&e.params.virtual?.enabled?e.virtual.from+i:i,M=(v===n||v===n-1)&&c>0&&c<1&&(o||e.params.cssMode)&&(l??0)<(r??0),w=(v===n||v===n+1)&&c<0&&c>-1&&(o||e.params.cssMode)&&(l??0)>
9218(r??0);if(M||w){const t=(1-Math.abs((Math.abs(c)-.5)/.5))**.5;g+=-28*c*t,_+=-.5*t,y+=96*t,p=(s.rotate||e.isHorizontal()?-25:0)*t*Math.abs(c)+"%"}if(h=c<0?`calc(${h}px ${a?"-":"+"} (${y*Math.abs(c)}%))`:c>0?`calc(${h}px ${a?"-":"+"} (${-y*Math.abs(c)}%))`:`${h}px`,!e.isHorizontal()){const e=p;p=h,h=e}const L=c<0?""+(1+(1-_)*c):""+(1-(1-_)*c),b=`\n translate3d(${h}, ${p}, ${f}px)\n rotateZ(${s.rotate?a?-g:g:0}deg)\n scale(${L})\n `;if(s.slideShadows){let e=d.querySelector(".swiper-slide-shadow");e||(e=j("cards",d)),e&&(e.style.opacity=String(Math.min(Math.max((Math.abs(c)-.5)/.5,0),1)))}d.style.zIndex=String(-Math.abs(Math.round(u))+t.length),E(0,d).style.transform=b}},setTransition:t=>{const n=e.slides.map(e=>(0,g.p)(e));n.forEach(e=>{e.style.transitionDuration=`${t}ms`,e.querySelectorAll(".swiper-slide-shadow").forEach(e=>{e.style.transitionDuration=`${t}ms`})}),H({swiper:e,duration:t,transformElements:n})},perspective:()=>!0,overwriteParams:()=>({_loopSwapReset:!1,watchSlidesProgress:!0,loopAdditionalSlides:i().rotate?3:2,centeredSlides:!0,virtualTranslate:!e.params.cssMode})})}];_.S.use(P);var C=n(6676),O=n.n(C),A={};A.styleTagTransform=m(),A.setAttributes=l(),A.insert=r().bind(null,"head"),A.domAPI=a(),A.insertStyleElement=u(),t()(O(),A),O()&&O().locals&&O().locals;var z=n(3891),I=n.n(z);const W={"www.saranaclake.com":[".views-field-body .field-content > *","body.node-type-page #block-views-listings-listings-content .views-field-field-images .field-content > *","body.node-type-event #event-body-left #event-images > *","body.node-type-listing #listing-images > *","body.node-type-story .view-field-field-body-images"],"dev.saranaclake.com":[".views-field-body .field-content > *","body.node-type-page #block-views-listings-listings-content .views-field-field-images .field-content > *","body.node-type-event #event-body-left #event-images > *","body.node-type-listing #listing-images > *","body.node-type-story .view-field-field-body-images"],"www.experienceouradirondacks.com":[".field-name-body .field-item > *","#block-views-listings-images-block .view-content > *","#block-views-events-event-images .view-content figure"],"dev.experienceouradirondacks.com":[".field-name-body .field-item > *","#block-views-listings-images-block .view-content > *","#block-views-events-event-images .view-content figure"],"www.lakechamplainregion.com":[".field-body > *","#block-views-block-listings-block-5 .view-content img","#block-views-block-events-event-images .view-content img"],"dev.lakechamplainregion.com":[".field-body > *","#block-views-block-listings-block-5 .view-content img","#block-views-block-events-event-images .view-content img"],"www.whitefaceregion.com":[".field-body > *",".listing-about > *"],"dev.whitefaceregion.com":[".field-body > *",".listing-about > *"],"www.adirondackhub.com":[".field--name-field-cdn-body > *",".listing-about > *"],"dev.adirondackhub.com":[".field--name-field-cdn-body > *",".listing-about > *"],"www.tupperlake.com":[".field-body > *","body .field-body .ltif-image.ltif-no-caption","body #block-views-block-listings-block-3 .views-field-nothing-3 .About > *"]};var N=n(1811),F=n.n(N),R={};function q(e){let t="",n=[];e.forEach((e,i)=>{0==i?t=e:e.remove();let a=document.createElement("div");a.classList.add("swiper-slide"),a.prepend(e.cloneNode(!0)),n.push(a)}),console.log("swiper-slides",n);let i=document.createElement("div");i.classList.add("swiper"),i.innerHTML='<div class="swiper-wrapper"> </div>\n\n <div class="swiper-button-prev"><svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48" fill="none">\n <path d="M46.5 24C46.5 36.4264 36.4264 46.5 24 46.5C11.5736 46.5 1.5 36.4264 1.5 24C1.5 11.5736 11.5736 1.5 24 1.5C36.4264 1.5 46.5 11.5736 46.5 24Z" stroke="white" stroke-width="3"/>\n <path fill-rule="evenodd" clip-rule="evenodd" d="M28.5607 31.0607C27.9749 31.6464 27.0251 31.6464 26.4393 31.0607L19.9393 24.5607C19.3536 23.9749 19.3536 23.0251 19.9393 22.4393L26.4393 15.9393C27.0251 15.3536 27.9749 15.3536 28.5607 15.9393C29.1464 16.5251 29.1464 17.4749 28.5607 18.0607L23.1213 23.5L28.5607 28.9393C29.1464 29.5251 29.1464 30.4749 28.5607 31.0607Z" fill="white"/>\n</svg></div>\n\n \x3c!-- If we need pagination --\x3e\n <div class="swiper-pagination adk-fix"></div>\n\n <div class="swiper-button-next">\n<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48" fill="none">\n <path d="M46.5 24C46.5 36.4264 36.4264 46.5 24 46.5C11.5736 46.5 1.5 36.4264 1.5 24C1.5 11.5736 11.5736 1.5 24 1.5C36.4264 1.5 46.5 11.5736 46.5 24Z" stroke="white" stroke-width="3"/>\n <path fill-rule="evenodd" clip-rule="evenodd" d="M28.5607 31.0607C27.9749 31.6464 27.0251 31.6464 26.4393 31.0607L19.9393 24.5607C19.3536 23.9749 19.3536 23.0251 19.9393 22.4393L26.4393 15.9393C27.0251 15.3536 27.9749 15.3536 28.5607 15.9393C29.1464 16.5251 29.1464 17.4749 28.5607 18.0607L23.1213 23.5L28.5607 28.9393C29.1464 29.5251 29.1464 30.4749 28.5607 31.0607Z" fill="white"/>\n</svg>\n</div>\n <div class="swiper-fullscreen">\n<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48" fill="none">\n <g clip-path="url(#clip0_216_13114)">
9218\n <g filter="url(#filter0_d_216_13114)">\n <path d="M8 17V8M8 8H17M8 8L19 19M40 17V8M40 8H31M40 8L29 19M8 31V40M8 40H17M8 40L19 29M40 31V40M40 40H31M40 40L29 29" stroke="white" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" shape-rendering="crispEdges"/>\n </g>\n </g>\n\n</svg>\n\n\n </div>';for(const e of n)i.querySelector(".swiper-wrapper").appendChild(e);t.replaceWith(i);let a=i.querySelector(".swiper-wrapper"),s=document.querySelector("html");const r=new(I())(a,{zoomable:!1,zoomOnTouch:!1,zoomOnWheel:!1,movable:!1,hide(){s.classList.remove("no-scroll")},show(){s.classList.add("no-scroll")}});i.querySelector(".swiper-fullscreen").addEventListener("click",function(){let e=i.querySelector(".swiper-slide-active").dataset.swiperSlideIndex;r.view(e).show()}),new _.S(".swiper",{direction:"horizontal",loop:!0,slidesPerView:1,mousewheel:{forceToAxis:!0},keyboard:{enabled:!0},autoplay:{delay:5e3},parallax:!0,grabCursor:!0,pagination:{el:".swiper-pagination",type:"custom",renderCustom:function(e,t,n){return`<span class="swiper-pagination-current">${t}</span> of <span class="swiper-pagination-total">${n}</span>`}},navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"}})}R.styleTagTransform=m(),R.setAttributes=l(),R.insert=r().bind(null,"head"),R.domAPI=a(),R.insertStyleElement=u(),t()(F(),R),F()&&F().locals&&F().locals,window.addEventListener("DOMContentLoaded",()=>{let e=W[window.location.hostname].join(", "),t=document.querySelectorAll(e),n=[];console.log(t),t.forEach((e,i)=>{if(console.log(e instanceof HTMLImageElement),console.log(n),i<t.length-1){if(console.log("ele",e),(e.classList.contains("picture-element-formatter")||e.classList.contains("ltif-image")||e instanceof HTMLImageElement||e.children[0]instanceof HTMLImageElement)&&(t[i+1].classList.contains("picture-element-formatter")||t[i+1].classList.contains("ltif-image")||t[i+1]instanceof HTMLImageElement||t[i+1].children[0]instanceof HTMLImageElement))if(e.children[0]instanceof HTMLImageElement){const t=e.children;for(let e=0;e<t.length;e++){let i=t[e];i instanceof HTMLImageElement&&n.push(i)}}else n.push(e);else if((e.classList.contains("picture-element-formatter")||e.classList.contains("ltif-image")||e instanceof HTMLImageElement||e.children[0]instanceof HTMLImageElement)&&(n.length>0||e.children.length>1)){if(e.children[0]instanceof HTMLImageElement){const t=e.children;for(let e=0;e<t.length;e++){let i=t[e];i instanceof HTMLImageElement&&n.push(i)}}else n.push(e);n.length>1&&q(n),console.log("going"),n=[]}}else if((e.classList.contains("picture-element-formatter")||e.classList.contains("ltif-image")||e instanceof HTMLImageElement||e.children[0]instanceof HTMLImageElement)&&(n.length>0||e.children.length>1)){if(e.children[0]instanceof HTMLImageElement){const t=e.children;for(let e=0;e<t.length;e++){let i=t[e];i instanceof HTMLImageElement&&n.push(i)}}else n.push(e);console.log("going"),n.length>1&&q(n),n=[]}})})})(),(()=>{"use strict";n(1235);var e=n(5072),t=n.n(e),i=n(7825),a=n.n(i),s=n(7659),r=n.n(s),o=n(5056),l=n.n(o),d=n(540),u=n.n(d),c=n(1113),m=n.n(c),h=n(79),p=n.n(h),f={};f.styleTagTransform=m(),f.setAttributes=l(),f.insert=r().bind(null,"head"),f.domAPI=a(),f.insertStyleElement=u(),t()(p(),f),p()&&p().locals&&p().locals})(),(()=>{"use strict";var e=n(5072),t=n.n(e),i=n(7825),a=n.n(i),s=n(7659),r=n.n(s),o=n(5056),l=n.n(o),d=n(540),u=n.n(d),c=n(1113),m=n.n(c),h=n(151),p=n.n(h),f={};f.styleTagTransform=m(),f.setAttributes=l(),f.insert=r().bind(null,"head"),f.domAPI=a(),f.insertStyleElement=u(),t()(p(),f),p()&&p().locals&&p().locals})(),(()=>{"use strict";var e=n(5072),t=n.n(e),i=n(7825),a=n.n(i),s=n(7659),r=n.n(s),o=n(5056),l=n.n(o),d=n(540),u=n.n(d),c=n(1113),m=n.n(c),h=n(6877),p=n.n(h),f={};f.styleTagTransform=m(),f.setAttributes=l(),f.insert=r().bind(null,"head"),f.domAPI=a(),f.insertStyleElement=u(),t()(p(),f),p()&&p().locals&&p().locals,n(4779)})(),(()=>{"use strict";var e=n.cw(function(e,t){nn(),It();var n=et();e.exports=n.Array.from}),t=n.cw(function(e,t){Wt(),$t(),qt(),Rt(),Ft(),Gt(),nn();var n=et();e.exports=n.Map}),i=n.cw(function(e,t){Bt();var n=et();e.exports=n.Object.assign}),a=n.cw(function(e,t){Wt(),Gt(),Qt(),Xt(),Jt(),Ut(),Zt(),Kt(),en(),tn(),nn();var n=et();e.exports=n.Set}),s=n.cw(function(e,t){Wt(),Gt(),on(),rn(),sn();var n=et();e.exports=n.WeakMap}),r=n.cw(function(e,t){var n=ye(),i=Ht(),a=TypeError;e.exports=function(e){if(n(e))return e;throw new a(i(e)+" is not a function")}}),o=n.cw(function(e,t){var n=be(),i=String,a=TypeError;e.exports=function(e){if(n(e))return e;throw new a("Can't set "+i(e)+" as a prototype")}}),l=n.cw(function(e,t){var n=at().has;e.exports=function(e){return n(e),e}}),d=n.cw(function(e,t){var n=At(),i=new n.WeakMap,a=n.set,s=n.remove;e.exports=function(e){return a(i,e,1),s(i,e),e}}),u=n.cw(function(e,t){var n=At().has;e.exports=function(e){return n(e),e}}),c=n.cw(function(e,t){var n=zt(),i=ze(),a=We().f,s=n("unscopables"),r=Array.prototype;void 0===r[s]&&a(r,s,{configurable:!0,value:i(null)}),e.exports=function(e){r[s][e]=!0}}),m=n.cw(function(e,t){var n=Ge(),i=TypeError;e.exports=function(e,t){if(n(t,e))return e;throw new i("Incorrect invocation")}}),h=n.cw(function(e,t){var n=Le(),i=String,a=TypeError;e.exports=function(e){if(n(e))return e;throw new a(i(e)+" is not an object")}}),p=n.cw(function(e,t){var n=G();e.exports=n(function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}})}),f=n.cw(function(e,t){var n=X(),i=U(),a=Dt(),s=L(),r=_e(),o=ve(),l=Pe(),d=C(),u=y(),c=ne(),m=ie(),h=xe(),p=F(),f=Array;e.exports=function(e){var t=o(this),_=arguments.length,g=_>1?arguments[1]:void 0,y=void 0!==g;y&&(g=n(g,_>2?arguments[2]:void 0));var v,M,w,L,b,Y,k=a(e),D=m(k),T=0;if(!D||this===f&&r(D))for(v=l(k),M=t?new this(v):f(v);v>T;T++)Y=y?g(k[T],T):k[T],d(M,T,Y);else for(M=t?new this:[],b=(L=c(k,D)).next;!(w=i(b,L)).done;T++){try{p(T)}catch(e){h(L,"throw",e)}Y=y?s(L,g,[w.value,T],!0):w.value;try{d(M,T,Y)}catch(e){h(L,"throw",e)}}return u(M,T),M}}),_=n.cw(function(e,t){var n=bt(),i=Lt(),a=Pe(),s=function(e){return function(t,s,r){var o=n(t),l=a(o);if(0===l)return!e&&-1;var d,u=i(r,l);if(e&&s!=s){for(;l>u;)if((d=o[u++])!=d)return!0}else for(;l>u;u++)if((e||u in o)&&o[u]===s)return e||u||0;return!e&&-1}};e.exports={...void s(!0),q:s(!1)}}),g=n.cw(function(e,t){var n=X(),i=ce(),a=Dt(),s=Pe(),r=w(),o=C(),l=function(e){var t=1===e,l=2===e,d=3===e,u=4===e,c=6===e,m=7===e,h=5===e||c;return function(p,f,_){for(var g,y,v=a(p),M=i(v),w=s(M),L=n(f,_),b=0,Y=0,k=t?r(p,w):l||m?r(p,0):void 0;w>b;b++)if((h||b in M)&&(y=L(g=M[b],b,v),e))if(t)o(k,b,y);else if(y)switch(e){case 3:return!0;case 5:return g;case 6:return b;case 2:o(k,Y++,g)}else switch(e){case 4:return!1;case 7:o(k,Y++,g)}return c?-1:d||u?u:k}};e.exports={forEach:l(0),map:l(1),filter:l(2),some:l(3),every:l(4),find:l(5),findIndex:l(6),filterReject:l(7)}}),y=n.cw(function(e,t){var n=W(),i=ge(),a=TypeError,s=Object.getOwnPropertyDescriptor,r=n&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();e.exports=r?function(e,t){if(i(e)&&!s(e,"length").writable)throw new a("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t}}),v=n.cw(function(e,t){var n=ee();e.exports=n([].slice)}),M=n.cw(function(e,t){var n=ge(),i=ve(),a=Le(),s=zt()("species"),r=Array;e.exports=function(e){var t;return n(e)&&(t=e.constructor,(i(t)&&(t===r||n(t.prototype))||a(t)&&null===(t=t[s]))&&(t=void 0)),void 0===t?r:t}}),w=n.cw(function(e,t){var n=M();e.exports=function(e,t){return new(n(e))(0===t?0:t)}}),L=n.cw(function(e,t){var n=h(),i=xe();e.exports=function(e,t,a,s){try{return s?t(n(a)[0],a[1]):t(a)}catch(t){i(e,"throw",t)}}}),b=n.cw(function(e,t){var n=zt()("iterator"),i=!1;try{var a=0,s={next:function(){return{done:!!a++}},return:function(){i=!0}};s[n]=function(){return this},Array.from(s,function(){throw 2})}catch(e){}e.exports=function(e,t){try{if(!t&&!i)return!1}catch(e){return!1}var a=!1;try{var s={};s[n]=function(){return{next:function(){return{done:a=!0}}}},e(s)}catch(e){}return a}}),Y=n.cw(function(e,t){var n=ee(),i=n({}.toString),a=n("".slice);e.exports=function(e){return a(i(e),8,-1)}}
vendor: 4,090 bytes, line 9218
9218),k=n.cw(function(e,t){var n=St(),i=ye(),a=Y(),s=zt()("toStringTag"),r=Object,o="Arguments"===a(function(){return arguments}());e.exports=n?a:function(e){var t,n,l;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=r(e),s))?n:o?a(t):"Object"===(l=a(t))&&i(t.callee)?"Arguments":l}}),D=n.cw(function(e,t){var n=ze(),i=O(),a=z(),s=X(),r=m(),o=we(),l=Te(),d=Ee(),u=H(),c=ht(),h=W(),p=pe().fastKey,f=fe(),_=f.set,g=f.getterFor;e.exports={getConstructor:function(e,t,d,u){var c=e(function(e,i){r(e,m),_(e,{type:t,index:n(null),first:null,last:null,size:0}),h||(e.size=0),o(i)||l(i,e[u],{that:e,AS_ENTRIES:d})}),m=c.prototype,f=g(t),y=function(e,t,n){var i,a,s=f(e),r=v(e,t);return r?r.value=n:(s.last=r={index:a=p(t,!0),key:t,value:n,previous:i=s.last,next:null,removed:!1},s.first||(s.first=r),i&&(i.next=r),h?s.size++:e.size++,"F"!==a&&(s.index[a]=r)),e},v=function(e,t){var n,i=f(e),a=p(t);if("F"!==a)return i.index[a];for(n=i.first;n;n=n.next)if(n.key===t)return n};return a(m,{clear:function(){for(var e=f(this),t=e.first;t;)t.removed=!0,t.previous&&(t.previous=t.previous.next=null),t=t.next;e.first=e.last=null,e.index=n(null),h?e.size=0:this.size=0},delete:function(e){var t=this,n=f(t),i=v(t,e);if(i){var a=i.next,s=i.previous;delete n.index[i.index],i.removed=!0,s&&(s.next=a),a&&(a.previous=s),n.first===i&&(n.first=a),n.last===i&&(n.last=s),h?n.size--:t.size--}return!!i},forEach:function(e){for(var t,n=f(this),i=s(e,arguments.length>1?arguments[1]:void 0);t=t?t.next:n.first;)for(i(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!v(this,e)}}),a(m,d?{get:function(e){var t=v(this,e);return t&&t.value},set:function(e,t){return y(this,0===e?0:e,t)}}:{add:function(e){return y(this,e=0===e?0:e,e)}}),h&&i(m,"size",{configurable:!0,get:function(){return f(this).size}}),c},setStrong:function(e,t,n){var i=t+" Iterator",a=g(t),s=g(i);d(e,t,function(e,t){_(this,{type:i,target:e,state:a(e),kind:t,last:null})},function(){for(var e=s(this),t=e.kind,n=e.last;n&&n.removed;)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?u("keys"===t?n.key:"values"===t?n.value:[n.key,n.value],!1):(e.target=null,u(void 0,!0))},n?"entries":"values",!n,!0),c(t)}}}),T=n.cw(function(e,t){var n=ee(),i=z(),a=pe().getWeakData,s=m(),r=h(),o=we(),l=Le(),d=Te(),u=g(),c=oe(),p=fe(),f=p.set,_=p.getterFor,y=u.find,v=u.findIndex,M=n([].splice),w=0,L=function(e){return e.frozen||(e.frozen=new b)},b=function(){this.entries=[]},Y=function(e,t){return y(e.entries,function(e){return e[0]===t})};b.prototype={get:function(e){var t=Y(this,e);if(t)return t[1]},has:function(e){return!!Y(this,e)},set:function(e,t){var n=Y(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=v(this.entries,function(t){return t[0]===e});return~t&&M(this.entries,t,1),!!~t}},e.exports={getConstructor:function(e,t,n,u){var m=e(function(e,i){s(e,h),f(e,{type:t,id:w++,frozen:null}),o(i)||d(i,e[u],{that:e,AS_ENTRIES:n})}),h=m.prototype,p=_(t),g=function(e,t,n){var i=p(e),s=a(r(t),!0);return!0===s?L(i).set(t,n):s[i.id]=n,e};return i(h,{delete:function(e){var t=p(this);if(!l(e))return!1;var n=a(e);return!0===n?L(t).delete(e):n&&c(n,t.id)&&delete n[t.id]},has:function(e){var t=p(this);if(!l(e))return!1;var n=a(e);return!0===n?L(t).has(e):n&&c(n,t.id)}}),i(h,n?{get:function(e){var t=p(this);if(l(e)){var n=a(e);if(!0===n)return L(t).get(e);if(n)return n[t.id]}},set:function(e,t){return g(this,e,t)}}:{add:function(e){return g(this,e,!0)}}),m}}}),x=n.cw(function(e,t){var n=B(),i=re(),a=ee(),s=Me(),r=A(),o=pe(),l=Te(),d=m(),u=ye(),c=we(),h=Le(),p=G(),f=b(),_=ft(),g=me();e.exports=function(e,t,m){var y=-1!==e.indexOf("Map"),v=-1!==e.indexOf("Weak"),M=y?"set":"add",w=i[e],L=w&&w.prototype,b=w,Y={},k=function(e){var t=a(L[e]);r(L,e,"add"===e?function(e){return t(this,0===e?0:e),this}:"delete"===e?function(e){return!(v&&!h(e))&&t(this,0===e?0:e)}:"get"===e?function(e){return v&&!h(e)?void 0:t(this,0===e?0:e)}:"has"===e?function(e){return!(v&&!h(e))&&t(this,0===e?0:e)}:function(e,n){return t(this,0===e?0:e,n),this})};
vendor: 12,320 bytes, line 9218
9218if(s(e,!u(w)||!(v||L.forEach&&!p(function(){(new w).entries().next()}))))b=m.getConstructor(t,e,y,M),o.enable();else if(s(e,!0)){var D=new b,T=D[M](v?{}:-0,1)!==D,x=p(function(){D.has(1)}),S=f(function(e){new w(e)}),E=!v&&p(function(){for(var e=new w,t=5;t--;)e[M](t,t);return!e.has(-0)});S||((b=t(function(e,t){d(e,L);var n=g(new w,e,b);return c(t)||l(t,n[M],{that:n,AS_ENTRIES:y}),n})).prototype=L,L.constructor=b),(x||E)&&(k("delete"),k("has"),y&&k("get")),(E||T)&&k(M),v&&L.clear&&delete L.clear}return Y[e]=b,n({global:!0,constructor:!0,forced:b!==w},Y),_(b,e),v||m.setStrong(b,e,y),b}}),S=n.cw(function(e,t){var n=oe(),i=Qe(),a=Ne(),s=We();e.exports=function(e,t,r){for(var o=i(t),l=s.f,d=a.f,u=0;u<o.length;u++){var c=o[u];n(e,c)||r&&n(r,c)||l(e,c,d(t,c))}}}),E=n.cw(function(e,t){var n=G();e.exports=!n(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})}),H=n.cw(function(e,t){e.exports=function(e,t){return{value:e,done:t}}}),j=n.cw(function(e,t){var n=W(),i=We(),a=P();e.exports=n?function(e,t,n){return i.f(e,t,a(1,n))}:function(e,t,n){return e[t]=n,e}}),P=n.cw(function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}}),C=n.cw(function(e,t){var n=W(),i=We(),a=P();e.exports=function(e,t,s){n?i.f(e,t,a(0,s)):e[t]=s}}),O=n.cw(function(e,t){var n=Ce(),i=We();e.exports=function(e,t,a){return a.get&&n(a.get,t,{getter:!0}),a.set&&n(a.set,t,{setter:!0}),i.f(e,t,a)}}),A=n.cw(function(e,t){var n=ye(),i=We(),a=Ce(),s=I();e.exports=function(e,t,r,o){o||(o={});var l=o.enumerable,d=void 0!==o.name?o.name:t;if(n(r)&&a(r,d,o),o.global)l?e[t]=r:s(t,r);else{try{o.unsafe?e[t]&&(l=!0):delete e[t]}catch(e){}l?e[t]=r:i.f(e,t,{value:r,enumerable:!1,configurable:!o.nonConfigurable,writable:!o.nonWritable})}return e}}),z=n.cw(function(e,t){var n=A();e.exports=function(e,t,i){for(var a in t)n(e,a,t[a],i);return e}}),I=n.cw(function(e,t){var n=re(),i=Object.defineProperty;e.exports=function(e,t){try{i(n,e,{value:t,configurable:!0,writable:!0})}catch(i){n[e]=t}return t}}),W=n.cw(function(e,t){var n=G();e.exports=!n(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})}),N=n.cw(function(e,t){var n=re(),i=Le(),a=n.document,s=i(a)&&i(a.createElement);e.exports=function(e){return s?a.createElement(e):{}}}),F=()=>n(6837),R=n.cw(function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]}),q=n.cw(function(e,t){var n=re().navigator,i=n&&n.userAgent;e.exports=i?String(i):""}),$=n.cw(function(e,t){var n,i,a=re(),s=q(),r=a.process,o=a.Deno,l=r&&r.versions||o&&o.version,d=l&&l.v8;d&&(i=(n=d.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!i&&s&&(!(n=s.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=s.match(/Chrome\/(\d+)/))&&(i=+n[1]),e.exports=i}),B=n.cw(function(e,t){var n=re(),i=Ne().f,a=j(),s=A(),r=I(),o=S(),l=Me();e.exports=function(e,t){var d,u,c,m,h,p=e.target,f=e.global,_=e.stat;if(d=f?n:_?n[p]||r(p,{}):n[p]&&n[p].prototype)for(u in t){if(m=t[u],c=e.dontCallGetSet?(h=i(d,u))&&h.value:d[u],!l(f?u:p+(_?".":"#")+u,e.forced)&&void 0!==c){if(typeof m==typeof c)continue;o(m,c)}(e.sham||c&&c.sham)&&a(m,"sham",!0),s(d,u,m,e)}}}),G=n.cw(function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}}),V=n.cw(function(e,t){var n=G();e.exports=!n(function(){return Object.isExtensible(Object.preventExtensions({}))})}),X=n.cw(function(e,t){var n=Q(),i=r(),a=J(),s=n(n.bind);e.exports=function(e,t){return i(e),void 0===t?e:a?s(e,t):function(){return e.apply(t,arguments)}}}),J=n.cw(function(e,t){var n=G();e.exports=!n(function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})}),U=n.cw(function(e,t){var n=J(),i=Function.prototype.call;e.exports=n?i.bind(i):function(){return i.apply(i,arguments)}}),Z=n.cw(function(e,t){var n=W(),i=oe(),a=Function.prototype,s=n&&Object.getOwnPropertyDescriptor,r=i(a,"name"),o=r&&"something"===function(){}.name,l=r&&(!n||n&&s(a,"name").configurable);e.exports={EXISTS:r,PROPER:o,CONFIGURABLE:l}}),K=n.cw(function(e,t){var n=ee(),i=r();e.exports=function(e,t,a){try{return n(i(Object.getOwnPropertyDescriptor(e,t)[a]))}catch(e){}}}),Q=n.cw(function(e,t){var n=Y(),i=ee();e.exports=function(e){if("Function"===n(e))return i(e)}}),ee=n.cw(function(e,t){var n=J(),i=Function.prototype,a=i.call,s=n&&i.bind.bind(a,a);e.exports=n?s:function(e){return function(){return a.apply(e,arguments)}}}),te=n.cw(function(e,t){var n=re(),i=ye();e.exports=function(e,t){return arguments.length<2?(a=n[e],i(a)?a:void 0):n[e]&&n[e][t];var a}}),ne=n.cw(function(e,t){var n=U(),i=ye(),a=h(),s=Ht(),r=ie(),o=TypeError;e.exports=function(e,t){var l=arguments.length<2?r(e):t;if(i(l))return a(n(l,e));throw new o(s(e)+" is not iterable")}}),ie=n.cw(function(e,t){var n=Y(),i=we(),a=ae(),s=zt()("iterator"),r=Array.prototype;e.exports=function(e){if(!i(e))return a(e,s)||a(e,"@@iterator")||("Arguments"===n(e)?r[s]:void 0)}}),ae=n.cw(function(e,t){var n=r(),i=we();e.exports=function(e,t){var a=e[t];return i(a)?void 0:n(a)}}),se=n.cw(function(e,t){var i=r(),a=h(),s=U(),o=Yt(),l=n(1767),d="Invalid size",u=RangeError,c=TypeError,m=Math.max,p=function(e,t){this.set=e,this.size=m(t,0),this.has=i(e.has),this.keys=i(e.keys)};p.prototype={getIterator:function(){return l(a(s(this.keys,this.set)))},includes:function(e){return s(this.has,this.set,e)}},e.exports=function(e){a(e);var t=+e.size;if(t!=t)throw new c(d);var n=o(t);if(n<0)throw new u(d);return new p(e,n)}}),re=n.cw(function(e,t){var i=function(e){return e&&e.Math===Math&&e};e.exports=i("object"==typeof globalThis&&globalThis)||i("object"==typeof window&&window)||i("object"==typeof self&&self)||i("object"==typeof n.g&&n.g)||i("object"==typeof this&&this)||function(){return this}()||Function("return this")()}),oe=n.cw(function(e,t){var n=ee(),i=Dt(),a=n({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return a(i(e),t)}}),le=n.cw(function(e,t){e.exports={}}),de=n.cw(function(e,t){var n=te();e.exports=n("document","documentElement")}),ue=n.cw(function(e,t){var n=W(),i=G(),a=N();e.exports=!n&&!i(function(){return 7!==Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a})}),ce=n.cw(function(e,t){var n=ee(),i=G(),a=Y(),s=Object,r=n("".split);e.exports=i(function(){return!s("z").propertyIsEnumerable(0)})?function(e){return"String"===a(e)?r(e,""):s(e)}:s}),me=n.cw(function(e,t){var n=ye(),i=Le(),a=Ue();e.exports=function(e,t,s){var r,o;return a&&n(r=t.constructor)&&r!==s&&i(o=r.prototype)&&o!==s.prototype&&a(e,o),e}}),he=n.cw(function(e,t){var n=ee(),i=ye(),a=yt(),s=n(Function.toString);i(a.inspectSource)||(a.inspectSource=function(e){return s(e)}),e.exports=a.inspectSource}),pe=n.cw(function(e,t){var n=B(),i=ee(),a=le(),s=Le(),r=oe(),o=We().f,l=Re(),d=Fe(),u=Be(),c=jt(),m=V(),h=!1,p=c("meta"),f=0,_=function(e){o(e,p,{value:{objectID:"O"+f++,weakData:{}}})},g=e.exports={enable:function(){g.enable=function(){},h=!0;var e=l.f,t=i([].splice),a={};a[p]=1,e(a).length&&(l.f=function(n){for(var i=e(n),a=0,s=i.length;a<s;a++)if(i[a]===p){t(i,a,1);break}return i},n({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:d.f}))},fastKey:function(e,t){if(!s(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!r(e,p)){if(!u(e))return"F";if(!t)return"E";_(e)}return e[p].objectID},getWeakData:function(e,t){if(!r(e,p)){if(!u(e))return!0;if(!t)return!1;_(e)}return e[p].weakData},onFreeze:function(e){return m&&h&&u(e)&&!r(e,p)&&_(e),e}};a[p]=!0}),fe=n.cw(function(e,t){var n,i,a,s=Ot(),r=re(),o=Le(),l=j(),d=oe(),u=yt(),c=gt(),m=le(),h="Object already initialized",p=r.TypeError,f=r.WeakMap;if(s||u.state){var _=u.state||(u.state=new f);_.get=_.get,_.has=_.has,_.set=_.set,n=function(e,t){if(_.has(e))throw new p(h);return t.facade=e,_.set(e,t),t},i=function(e){return _.get(e)||{}},a=function(e){return _.has(e)}}else{var g=c("state");m[g]=!0,n=function(e,t){if(d(e,g))throw new p(h);return t.facade=e,l(e,g,t),t},i=function(e){return d(e,g)?e[g]:{}},a=function(e){return d(e,g)}}e.exports={set:n,get:i,has:a,enforce:function(e){return a(e)?i(e):n(e,{})},getterFor:function(e){return function(t){var n;if(!o(t)||(n=i(t)).type!==e)throw new p("Incompatible receiver, "+e+" required");return n}}}}),_e=n.cw(function(e,t){var n=zt(),i=je(),a=n("iterator"),s=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||s[a]===e)}}),ge=n.cw(function(e,t){var n=Y();e.exports=Array.isArray||function(e){return"Array"===n(e)}}),ye=n.cw(function(e,t){var n="object"==typeof document&&document.all;e.exports=void 0===n&&void 0!==n?function(e){return"function"==typeof e||e===n}:function(e){return"function"==typeof e}}),ve=n.cw(function(e,t){var n=ee(),i=G(),a=ye(),s=k(),r=te(),o=he(),l=function(){},d=r("Reflect","construct"),u=/^\s*(?:class|function)\b/,c=n(u.exec),m=!u.test(l),h=function(e){if(!a(e))return!1;try{return d(l,[],e),!0}catch(e){return!1}},p=function(e){if(!a(e))return!1;switch(s(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return m||!!c(u,o(e))}catch(e){return!0}};p.sham=!0,e.exports=!d||i(function(){var e;return h(h.call)||!h(Object)||!h(function(){e=!0})||e})?p:h}),Me=n.cw(function(e,t){var n=G(),i=ye(),a=/#|\.prototype\./,s=function(e,t){var a=o[r(e)];return a===d||a!==l&&(i(t)?n(t):!!t)},r=s.normalize=function(e){return String(e).replace(a,".").toLowerCase()},o=s.data={},l=s.NATIVE="N",d=s.POLYFILL="P";e.exports=s}),we=n.cw(function(e,t){e.exports=function(e){return null==e}}),Le=n.cw(function(e,t){var n=ye();e.exports=function(e){return"object"==typeof e?null!==e:n(e)}}),be=n.cw(function(e,t){var n=Le();e.exports=function(e){return n(e)||null===e}}),Ye=n.cw(function(e,t){e.exports=!1}),ke=n.cw(function(e,t){var n=te(),i=ye(),a=Ge(),s=Pt(),r=Object;e.exports=s?function(e){return"symbol"==typeof e}:function(e){var t=n("Symbol");return i(t)&&a(t.prototype,r(e))}}),De=n.cw(function(e,t){var n=U();e.exports=function(e,t,i){for(var a,s,r=i?e:e.iterator,o=e.next;!(a=n(o,r)).done;)if(void 0!==(s=t(a.value)))return s}}),Te=n.cw(function(e,t){var n=X(),i=U(),a=h(),s=Ht(),r=_e(),o=Pe(),l=Ge(),d=ne(),u=ie(),c=xe(),m=TypeError,p=function(e,t){this.stopped=e,this.result=t},f=p.prototype;e.exports=function(e,t,h){var _,g,y,v,M,w,L,b=h&&h.that,Y=!(!h||!h.AS_ENTRIES),k=!(!h||!h.IS_RECORD),D=!(!h||!h.IS_ITERATOR),T=!(!h||!h.INTERRUPTED),x=n(t,b),S=function(e){var t=_;return _=void 0,t&&c(t,"normal"),new p(!0,e)},E=function(e){return Y?(a(e),T?x(e[0],e[1],S):x(e[0],e[1])):T?x(e,S):x(e)};if(k)_=e.iterator;else if(D)_=e;else{if(!(g=u(e)))throw new m(s(e)+" is not iterable");if(r(g)){for(y=0,v=o(e);v>y;y++)if((M=E(e[y]))&&l(f,M))return M;return new p(!1)}_=d(e,g)}for(w=k?e.next:_.next;!(L=i(w,_)).done;){var H=L.value;try{M=E(H)}catch(e){if(!_)throw e;c(_,"throw",e)}if("object"==typeof M&&M&&l(f,M))return M}return new p(!1)}}),xe=n.cw(function(e,t){var n=U(),i=h(),a=ae();e.exports=function(e,t,s){var r,o;i(e);try{if(!(r=a(e,"return"))){if("throw"===t)throw s;return s}r=n(r,e)}catch(e){o=!0,r=e}if("throw"===t)throw s;if(o)throw r;return i(r),s}}),Se=n.cw(function(e,t){var n=He().IteratorPrototype,i=ze(),a=P(),s=ft(),r=je(),o=function(){return this};e.exports=function(e,t,l,d){var u=t+" Iterator";return e.prototype=i(n,{next:a(+!d,l)}),s(e,u,!1,!0),r[u]=o,e}}),Ee=n.cw(function(e,t){var n=B(),i=U(),a=Ye(),s=Z(),r=ye(),o=Se(),l=$e(),d=Ue(),u=ft(),c=j(),m=A(),h=zt(),p=je(),f=He(),_=s.PROPER,g=s.CONFIGURABLE,y=f.IteratorPrototype,v=f.BUGGY_SAFARI_ITERATORS,M=h("iterator"),w="keys",L="values",b="entries",Y=function(){return this};e.exports=function(e,t,s,h,f,k,D){o(s,t,h);var T,x,S,E=function(e){if(e===f&&O)return O;if(!v&&e&&e in P)return P[e];switch(e){case w:case L:case b:return function(){return new s(this,e)}}return function(){return new s(this)}},H=t+" Iterator",j=!1,P=e.prototype,C=P[M]||P["@@iterator"]||f&&P[f],O=!v&&C||E(f),A="Array"===t&&P.entries||C;if(A&&(T=l(A.call(new e)))!==Object.prototype&&T.next&&(a||l(T)===y||(d?d(T,y):r(T[M])||m(T,M,Y)),u(T,H,!0,!0),a&&(p[H]=Y)),_&&f===L&&C&&C.name!==L&&(!a&&g?c(P,"name",L):(j=!0,O=function(){return i(C,this)})),f)if(x={values:E(L),keys:k?O:E(w),entries:E(b)},D)for(S in x)(v||j||!(S in P))&&m(P,S,x[S]);else n({target:t,proto:!0,forced:v||j},x);return a&&!D||P[M]===O||m(P,M,O,{name:f}),p[t]=O,x}}
vendor: 5,311 bytes, line 9218
9218),He=n.cw(function(e,t){var n,i,a,s=G(),r=ye(),o=Le(),l=ze(),d=$e(),u=A(),c=zt(),m=Ye(),h=c("iterator"),p=!1;[].keys&&("next"in(a=[].keys())?(i=d(d(a)))!==Object.prototype&&(n=i):p=!0),!o(n)||s(function(){var e={};return n[h].call(e)!==e})?n={}:m&&(n=l(n)),r(n[h])||u(n,h,function(){return this}),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:p}}),je=()=>n(6269),Pe=n.cw(function(e,t){var n=kt();e.exports=function(e){return n(e.length)}}),Ce=n.cw(function(e,t){var n=ee(),i=G(),a=ye(),s=oe(),r=W(),o=Z().CONFIGURABLE,l=he(),d=fe(),u=d.enforce,c=d.get,m=String,h=Object.defineProperty,p=n("".slice),f=n("".replace),_=n([].join),g=r&&!i(function(){return 8!==h(function(){},"length",{value:8}).length}),y=String(String).split("String"),v=e.exports=function(e,t,n){"Symbol("===p(m(t),0,7)&&(t="["+f(m(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!s(e,"name")||o&&e.name!==t)&&(r?h(e,"name",{value:t,configurable:!0}):e.name=t),g&&n&&s(n,"arity")&&e.length!==n.arity&&h(e,"length",{value:n.arity});try{n&&s(n,"constructor")&&n.constructor?r&&h(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var i=u(e);return s(i,"source")||(i.source=_(y,"string"==typeof t?t:"")),e};Function.prototype.toString=v(function(){return a(this)&&c(this).source||l(this)},"toString")}),Oe=n.cw(function(e,t){var n=ee(),i=Map.prototype;e.exports={Map,set:n(i.set),get:n(i.get),has:n(i.has),remove:n(i.delete),proto:i}}),Ae=n.cw(function(e,t){var n=W(),i=ee(),a=U(),s=G(),r=Xe(),o=qe(),l=Je(),d=Dt(),u=ce(),c=Object.assign,m=Object.defineProperty,h=i([].concat);e.exports=!c||s(function(){if(n&&1!==c({b:1},c(m({},"a",{enumerable:!0,get:function(){m(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},i=Symbol("assign detection"),a="abcdefghijklmnopqrst";return e[i]=7,a.split("").forEach(function(e){t[e]=e}),7!==c({},e)[i]||r(c({},t)).join("")!==a})?function(e,t){for(var i=d(e),s=arguments.length,c=1,m=o.f,p=l.f;s>c;)for(var f,_=u(arguments[c++]),g=m?h(r(_),m(_)):r(_),y=g.length,v=0;y>v;)f=g[v++],n&&!a(p,_,f)||(i[f]=_[f]);return i}:c}),ze=n.cw(function(e,t){var n,i=h(),a=Ie(),s=R(),r=le(),o=de(),l=N(),d=gt(),u="prototype",c="script",m=d("IE_PROTO"),p=function(){},f=function(e){return"<"+c+">"+e+"</"+c+">"},_=function(e){e.write(f("")),e.close();var t=e.parentWindow.Object;return e=null,t},g=function(){try{n=new ActiveXObject("htmlfile")}catch(e){}var e,t,i;g="undefined"!=typeof document?document.domain&&n?_(n):(t=l("iframe"),i="java"+c+":",t.style.display="none",o.appendChild(t),t.src=String(i),(e=t.contentWindow.document).open(),e.write(f("document.F=Object")),e.close(),e.F):_(n);for(var a=s.length;a--;)delete g[u][s[a]];return g()};r[m]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(p[u]=i(e),n=new p,p[u]=null,n[m]=e):n=g(),void 0===t?n:a.f(n,t)}}),Ie=n.cw(function(e,t){var n=W(),i=Ct(),a=We(),s=h(),r=bt(),o=Xe();t.f=n&&!i?Object.defineProperties:function(e,t){s(e);for(var n,i=r(t),l=o(t),d=l.length,u=0;d>u;)a.f(e,n=l[u++],i[n]);return e}}),We=n.cw(function(e,t){var n=W(),i=ue(),a=Ct(),s=h(),r=xt(),o=TypeError,l=Object.defineProperty,d=Object.getOwnPropertyDescriptor,u="enumerable",c="configurable",m="writable";t.f=n?a?function(e,t,n){if(s(e),t=r(t),s(n),"function"==typeof e&&"prototype"===t&&"value"in n&&m in n&&!n[m]){var i=d(e,t);i&&i[m]&&(e[t]=n.value,n={configurable:c in n?n[c]:i[c],enumerable:u in n?n[u]:i[u],writable:!1})}return l(e,t,n)}:l:function(e,t,n){if(s(e),t=r(t),s(n),i)try{return l(e,t,n)}catch(e){}if("get"in n||"set"in n)throw new o("Accessors not supported");return"value"in n&&(e[t]=n.value),e}}),Ne=n.cw(function(e,t){var n=W(),i=U(),a=Je(),s=P(),r=bt(),o=xt(),l=oe(),d=ue(),u=Object.getOwnPropertyDescriptor;t.f=n?u:function(e,t){if(e=r(e),t=o(t),d)try{return u(e,t)}catch(e){}if(l(e,t))return s(!i(a.f,e,t),e[t])}}),Fe=n.cw(function(e,t){var n=Y(),i=bt(),a=Re().f,s=v(),r="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return r&&"Window"===n(e)?function(e){try{return a(e)}catch(e){return s(r)}}(e):a(i(e))}}),Re=n.cw(function(e,t){var n=Ve(),i=R().concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,i)}}),qe=()=>n(3717),$e=n.cw(function(e,t){var n=oe(),i=ye(),a=Dt(),s=gt(),r=E(),o=s("IE_PROTO"),l=Object,d=l.prototype;e.exports=r?l.getPrototypeOf:function(e){var t=a(e);if(n(t,o))return t[o];var s=t.constructor;return i(s)&&t instanceof s?s.prototype:t instanceof l?d:null}}),Be=n.cw(function(e,t){var n=G(),i=Le(),a=Y(),s=p(),r=Object.isExtensible,o=n(function(){r(1)});e.exports=o||s?function(e){return!!i(e)&&(!s||"ArrayBuffer"!==a(e))&&(!r||r(e))}:r}),Ge=n.cw(function(e,t){var n=ee();e.exports=n({}.isPrototypeOf)}),Ve=n.cw(function(e,t){var n=ee(),i=oe(),a=bt(),s=_().q,r=le(),o=n([].push);e.exports=function(e,t){var n,l=a(e),d=0,u=[];for(n in l)!i(r,n)&&i(l,n)&&o(u,n);for(;t.length>d;)i(l,n=t[d++])&&(~s(u,n)||o(u,n));return u}}),Xe=n.cw(function(e,t){var n=Ve(),i=R();e.exports=Object.keys||function(e){return n(e,i)}}),Je=n.cw(function(e,t){var n={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,a=i&&!n.call({1:2},1);t.f=a?function(e){var t=i(this,e);return!!t&&t.enumerable}:n}),Ue=n.cw(function(e,t){var n=K(),i=Le(),a=tt(),s=o();
9218e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=n(Object.prototype,"__proto__","set"))(r,[]),t=r instanceof Array}catch(e){}return function(n,r){return a(n),s(r),i(n)?(t?e(n,r):n.__proto__=r,n):n}}():void 0)}),Ze=n.cw(function(e,t){var n=St(),i=k();e.exports=n?{}.toString:function(){return"[object "+i(this)+"]"}}),Ke=n.cw(function(e,t){var n=U(),i=ye(),a=Le(),s=TypeError;e.exports=function(e,t){var r,o;if("string"===t&&i(r=e.toString)&&!a(o=n(r,e)))return o;if(i(r=e.valueOf)&&!a(o=n(r,e)))return o;if("string"!==t&&i(r=e.toString)&&!a(o=n(r,e)))return o;throw new s("Can't convert object to primitive value")}}),Qe=n.cw(function(e,t){var n=te(),i=ee(),a=Re(),s=qe(),r=h(),o=i([].concat);e.exports=n("Reflect","ownKeys")||function(e){var t=a.f(r(e)),n=s.f;return n?o(t,n(e)):t}}),et=n.cw(function(e,t){var n=re();e.exports=n}),tt=n.cw(function(e,t){var n=we(),i=TypeError;e.exports=function(e){if(n(e))throw new i("Can't call method on "+e);return e}}),nt=n.cw(function(e,t){var n=at(),i=dt(),a=n.Set,s=n.add;e.exports=function(e){var t=new a;return i(e,function(e){s(t,e)}),t}}),it=n.cw(function(e,t){var n=l(),i=at(),a=nt(),s=mt(),r=se(),o=dt(),d=De(),u=i.has,c=i.remove;e.exports=function(e){var t=n(this),i=r(e),l=a(t);return s(l)<=i.size?o(l,function(e){i.includes(e)&&c(l,e)}):d(i.getIterator(),function(e){u(l,e)&&c(l,e)}),l}}),at=n.cw(function(e,t){var n=ee(),i=Set.prototype;e.exports={Set,add:n(i.add),has:n(i.has),remove:n(i.delete),proto:i}}),st=n.cw(function(e,t){var n=l(),i=at(),a=mt(),s=se(),r=dt(),o=De(),d=i.Set,u=i.add,c=i.has;e.exports=function(e){var t=n(this),i=s(e),l=new d;return a(t)>i.size?o(i.getIterator(),function(e){c(t,e)&&u(l,e)}):r(t,function(e){i.includes(e)&&u(l,e)}),l}}),rt=n.cw(function(e,t){var n=l(),i=at().has,a=mt(),s=se(),r=dt(),o=De(),d=xe();e.exports=function(e){var t=n(this),l=s(e);if(a(t)<=l.size)return!1!==r(t,function(e){if(l.includes(e))return!1},!0);var u=l.getIterator();return!1!==o(u,function(e){if(i(t,e))return d(u.iterator,"normal",!1)})}}),ot=n.cw(function(e,t){var n=l(),i=mt(),a=dt(),s=se();e.exports=function(e){var t=n(this),r=s(e);return!(i(t)>r.size)&&!1!==a(t,function(e){if(!r.includes(e))return!1},!0)}}),lt=n.cw(function(e,t){var n=l(),i=at().has,a=mt(),s=se(),r=De(),o=xe();e.exports=function(e){var t=n(this),l=s(e);if(a(t)<l.size)return!1;var d=l.getIterator();return!1!==r(d,function(e){if(!i(t,e))return o(d.iterator,"normal",!1)})}}),dt=n.cw(function(e,t){var n=ee(),i=De(),a=at(),s=a.Set,r=a.proto,o=n(r.forEach),l=n(r.keys),d=l(new s).next;e.exports=function(e,t,n){return n?i({iterator:l(e),next:d},t):o(e,t)}}),ut=n.cw(function(e,t){var n=te(),i=function(e){return{size:e,has:function(){return!1},keys:function(){return{next:function(){return{done:!0}}}}}},a=function(e){return{size:e,has:function(){return!0},keys:function(){throw new Error("e")}}};e.exports=function(e,t){var s=n("Set");try{(new s)[e](i(0));try{return(new s)[e](i(-1)),!1}catch(n){if(!t)return!0;try{return(new s)[e](a(-1/0)),!1}catch(n){return t(new s([1,2])[e](a(1/0)))}}}catch(e){return!1}}}),ct=()=>n(9835),mt=n.cw(function(e,t){var n=K(),i=at();e.exports=n(i.proto,"size","get")||function(e){return e.size}}),ht=n.cw(function(e,t){var n=te(),i=O(),a=zt(),s=W(),r=a("species");e.exports=function(e){var t=n(e);s&&t&&!t[r]&&i(t,r,{configurable:!0,get:function(){return this}})}}),pt=n.cw(function(e,t){var n=l(),i=at(),a=nt(),s=se(),r=De(),o=i.add,d=i.has,u=i.remove;e.exports=function(e){var t=n(this),i=s(e).getIterator(),l=a(t);return r(i,function(e){d(t,e)?u(l,e):o(l,e)}),l}}),ft=n.cw(function(e,t){var n=We().f,i=oe(),a=zt()("toStringTag");e.exports=function(e,t,s){e&&!s&&(e=e.prototype),e&&!i(e,a)&&n(e,a,{configurable:!0,value:t})}}),_t=n.cw(function(e,t){var n=l(),i=at().add,a=nt(),s=se(),r=De();e.exports=function(e){var t=n(this),o=s(e).getIterator(),l=a(t);return r(o,function(e){i(l,e)}),l}}),gt=n.cw(function(e,t){var n=vt(),i=jt(),a=n("keys");e.exports=function(e){return a[e]||(a[e]=i(e))}}),yt=n.cw(function(e,t){var n=Ye(),i=re(),a=I(),s="__core-js_shared__",r=e.exports=i[s]||a(s,{});
vendor: 3,596 bytes, line 9218
9218(r.versions||(r.versions=[])).push({version:"3.50.0",mode:n?"pure":"global",copyright:"© 2013â2025 Denis Pushkarev (zloirock.ru), 2025â2026 CoreJS Company (core-js.io). All rights reserved.",license:"https://github.com/zloirock/core-js/blob/v3.50.0/LICENSE",source:"https://github.com/zloirock/core-js"})}),vt=n.cw(function(e,t){var n=yt(),i=Object.create||Object;e.exports=function(e,t){return n[e]||(n[e]=t||i(null))}}),Mt=n.cw(function(e,t){var n=ee(),i=Yt(),a=Et(),s=tt(),r=n("".charAt),o=n("".charCodeAt),l=n("".slice),d=function(e){return function(t,n){var d,u,c=a(s(t)),m=i(n),h=c.length;return m<0||m>=h?e?"":void 0:(d=o(c,m))<55296||d>56319||m+1===h||(u=o(c,m+1))<56320||u>57343?e?r(c,m):d:e?l(c,m,m+2):u-56320+(d-55296<<10)+65536}};e.exports={...void d(!1),o:d(!0)}}),wt=n.cw(function(e,t){var n=$(),i=G(),a=re().String;e.exports=!!Object.getOwnPropertySymbols&&!i(function(){var e=Symbol("symbol detection");return!a(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41})}),Lt=n.cw(function(e,t){var n=Yt(),i=Math.max,a=Math.min;e.exports=function(e,t){var s=n(e);return s<0?i(s+t,0):a(s,t)}}),bt=n.cw(function(e,t){var n=ce(),i=tt();e.exports=function(e){return n(i(e))}}),Yt=n.cw(function(e,t){var i=n(741);e.exports=function(e){var t=+e;return t!=t||0===t?0:i(t)}}),kt=n.cw(function(e,t){var n=Yt(),i=Math.min;e.exports=function(e){var t=n(e);return t>0?i(t,9007199254740991):0}}),Dt=n.cw(function(e,t){var n=tt(),i=Object;e.exports=function(e){return i(n(e))}}),Tt=n.cw(function(e,t){var n=U(),i=Le(),a=ke(),s=ae(),r=Ke(),o=zt(),l=TypeError,d=o("toPrimitive");e.exports=function(e,t){if(!i(e)||a(e))return e;var o,u=s(e,d);if(u){if(void 0===t&&(t="default"),o=n(u,e,t),!i(o)||a(o))return o;throw new l("Can't convert object to primitive value")}return void 0===t&&(t="number"),r(e,t)}}),xt=n.cw(function(e,t){var n=Tt(),i=ke();e.exports=function(e){var t=n(e,"string");return i(t)?t:t+""}}),St=n.cw(function(e,t){var n={};n[zt()("toStringTag")]="z",e.exports="[object z]"===String(n)}),Et=n.cw(function(e,t){var n=k(),i=String;e.exports=function(e){if("Symbol"===n(e))throw new TypeError("Cannot convert a Symbol value to a string");return i(e)}}),Ht=()=>n(6823),jt=n.cw(function(e,t){var n=ee(),i=0,a=Math.random(),s=n(1.1.toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+s(++i+a,36)}}),Pt=n.cw(function(e,t){var n=wt();e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}),Ct=n.cw(function(e,t){var n=W(),i=G();e.exports=n&&i(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})}),Ot=n.cw(function(e,t){var n=re(),i=ye(),a=n.WeakMap;e.exports=i(a)&&/native code/.test(String(a))}),At=n.cw(function(e,t){var n=ee(),i=WeakMap.prototype;e.exports={WeakMap,set:n(i.set),get:n(i.get),has:n(i.has),remove:n(i.delete)}}),zt=n.cw(function(e,t){var n=re(),i=vt(),a=oe(),s=jt(),r=wt(),o=Pt(),l=n.Symbol,d=i("wks"),u=o?l.for||l:l&&l.withoutSetter||s;e.exports=function(e){return a(d,e)||(d[e]=r&&a(l,e)?l[e]:u("Symbol."+e)),d[e]}}),It=n.cw(function(e,t){var n=B(),i=f();n({target:"Array",stat:!0,forced:!b()(function(e){Array.from(e)})},{from:i})}),Wt=n.cw(function(e,t){var n=bt(),i=c(),a=je(),s=fe(),r=We().f,o=Ee(),l=H(),d=Ye(),u=W(),m="Array Iterator",h=s.set,p=s.getterFor(m);e.exports=o(Array,"Array",function(e,t){h(this,{type:m,target:n(e),index:0,kind:t})},function(){var e=p(this),t=e.target,n=e.index++;if(!t||n>=t.length)return e.target=null,l(void 0,!0);switch(e.kind){case"keys":return l(n,!1);case"values":return l(t[n],!1)}return l([n,t[n]],!1)},"values");var f=a.Arguments=a.Array;
vendor: 4,187 bytes, line 9218
9218if(i("keys"),i("values"),i("entries"),!d&&u&&"values"!==f.name)try{r(f,"name",{value:"values"})}catch(e){}}),Nt=n.cw(function(e,t){x()("Map",function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},D())}),Ft=n.cw(function(e,t){var n=B(),i=r(),a=Oe(),s=Ye(),o=a.get,l=a.has,d=a.set;n({target:"Map",proto:!0,real:!0,forced:s},{getOrInsertComputed:function(e,t){var n=l(this,e);if(i(t),n)return o(this,e);0===e&&1/e==-1/0&&(e=0);var a=t(e);return d(this,e,a),a}})}),Rt=n.cw(function(e,t){var n=B(),i=Oe(),a=Ye(),s=i.get,r=i.has,o=i.set;n({target:"Map",proto:!0,real:!0,forced:a},{getOrInsert:function(e,t){return r(this,e)?s(this,e):(o(this,e,t),t)}})}),qt=n.cw(function(e,t){var n=B(),i=ee(),a=r(),s=tt(),o=Te(),l=F(),d=Oe(),u=Ye(),c=G(),m=d.Map,h=d.has,p=d.get,f=d.set,_=i([].push),g=u||c(function(){return 1!==m.groupBy("ab",function(e){return e}).get("a").length});n({target:"Map",stat:!0,forced:u||g},{groupBy:function(e,t){s(e),a(t);var n=new m,i=0;return o(e,function(e){l(i);var a=t(e,i++);h(n,a)?_(p(n,a),e):f(n,a,[e])}),n}})}),$t=n.cw(function(e,t){Nt()}),Bt=n.cw(function(e,t){var n=B(),i=Ae();n({target:"Object",stat:!0,arity:2,forced:Object.assign!==i},{assign:i})}),Gt=n.cw(function(e,t){var n=St(),i=A(),a=Ze();n||i(Object.prototype,"toString",a,{unsafe:!0})}),Vt=n.cw(function(e,t){x()("Set",function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},D())}),Xt=n.cw(function(e,t){var n=B(),i=it(),a=G();n({target:"Set",proto:!0,real:!0,forced:!ut()("difference",function(e){return 0===e.size})||a(function(){var e={size:1,has:function(){return!0},keys:function(){var e=0;return{next:function(){var n=e++>1;return t.has(1)&&t.clear(),{done:n,value:2}}}}},t=new Set([1,2,3,4]);return 3!==t.difference(e).size})},{difference:i})}),Jt=n.cw(function(e,t){var n=B(),i=G(),a=st();n({target:"Set",proto:!0,real:!0,forced:!ut()("intersection",function(e){return 2===e.size&&e.has(1)&&e.has(2)})||i(function(){return"3,2"!==String(Array.from(new Set([1,2,3]).intersection(new Set([3,2]))))})},{intersection:a})}),Ut=n.cw(function(e,t){var n=B(),i=rt();n({target:"Set",proto:!0,real:!0,forced:!ut()("isDisjointFrom",function(e){return!e})},{isDisjointFrom:i})}),Zt=n.cw(function(e,t){var n=B(),i=ot();n({target:"Set",proto:!0,real:!0,forced:!ut()("isSubsetOf",function(e){return e})},{isSubsetOf:i})}),Kt=n.cw(function(e,t){var n=B(),i=lt();n({target:"Set",proto:!0,real:!0,forced:!ut()("isSupersetOf",function(e){return!e})},{isSupersetOf:i})}),Qt=n.cw(function(e,t){Vt()}),en=n.cw(function(e,t){var n=B(),i=pt(),a=ct();n({target:"Set",proto:!0,real:!0,forced:!ut()("symmetricDifference")||!a("symmetricDifference")},{symmetricDifference:i})}),tn=n.cw(function(e,t){var n=B(),i=_t(),a=ct();n({target:"Set",proto:!0,real:!0,forced:!ut()("union")||!a("union")},{union:i})}),nn=n.cw(function(e,t){var n=Mt().o,i=Et(),a=fe(),s=Ee(),r=H(),o="String Iterator",l=a.set,d=a.getterFor(o);s(String,"String",function(e){l(this,{type:o,string:i(e),index:0})},function(){var e,t=d(this),i=t.string,a=t.index;return a>=i.length?r(void 0,!0):(e=n(i,a),t.index+=e.length,r(e,!1))})}),an=n.cw(function(e,t){var n,i=V(),a=re(),s=ee(),r=z(),o=pe(),l=x(),d=T(),u=Le(),c=fe().enforce,m=G(),h=Ot(),p=Object,f=Array.isArray,_=p.isExtensible,g=p.isFrozen,y=p.isSealed,v=p.freeze,M=p.seal,w=!a.ActiveXObject&&"ActiveXObject"in a,L=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},b=l("WeakMap",L,d),Y=b.prototype,k=s(Y.set);if(h)if(w){n=d.getConstructor(L,"WeakMap",!0),o.enable();var D=s(Y.delete),S=s(Y.has),E=s(Y.get);r(Y,{delete:function(e){if(u(e)&&!_(e)){var t=c(this);return t.frozen||(t.frozen=new n),D(this,e)||t.frozen.delete(e)}return D(this,e)},has:function(e){if(u(e)&&!_(e)){var t=c(this);return t.frozen||(t.frozen=new n),S(this,e)||t.frozen.has(e)}return S(this,e)},get:function(e){if(u(e)&&!_(e)){var t=c(this);return t.frozen||(t.frozen=new n),S(this,e)?E(this,e):t.frozen.get(e)}return E(this,e)},set:function(e,t){if(u(e)&&!_(e)){var i=c(this);i.frozen||(i.frozen=new n),S(this,e)?k(this,e,t):i.frozen.set(e,t)}else k(this,e,t);return this}})}else i&&m(function(){var e=v([]);return k(new b,e,1),!g(e)}
9218)&&r(Y,{set:function(e,t){var n;return f(e)&&(g(e)?n=v:y(e)&&(n=M)),k(this,e,t),n&&n(e),this}})}),sn=n.cw(function(e,t){var n=B(),i=r(),a=u(),s=d(),o=At(),l=Ye(),c=o.get,m=o.has,h=o.set;n({target:"WeakMap",proto:!0,real:!0,forced:l||!function(){try{WeakMap.prototype.getOrInsertComputed&&(new WeakMap).getOrInsertComputed(1,function(){throw 1})}catch(e){return e instanceof TypeError}}()},{getOrInsertComputed:function(e,t){if(l||a(this),s(e),i(t),m(this,e))return c(this,e);var n=t(e);return h(this,e,n),n}})}),rn=n.cw(function(e,t){var n=B(),i=At(),a=Ye(),s=i.get,r=i.has,o=i.set;n({target:"WeakMap",proto:!0,real:!0,forced:a},{getOrInsert:function(e,t){return r(this,e)?s(this,e):(o(this,e,t),t)}})}),on=n.cw(function(e,t){an()}),ln={};n.r(ln),n.d(ln,{keyboardHandler:()=>xi,mouseHandler:()=>Si,resizeHandler:()=>Ei,selectHandler:()=>Hi,touchHandler:()=>ji,wheelHandler:()=>Pi});var dn=n(5072),un=n.n(dn),cn=n(7825),mn=n.n(cn),hn=n(7659),pn=n.n(hn),fn=n(5056),_n=n.n(fn),gn=n(540),yn=n.n(gn),vn=n(1113),Mn=n.n(vn),wn=n(5647),Ln=n.n(wn),bn={};bn.styleTagTransform=Mn(),bn.setAttributes=_n(),bn.insert=pn().bind(null,"head"),bn.domAPI=mn(),bn.insertStyleElement=yn(),un()(Ln(),bn),Ln()&&Ln().locals&&Ln().locals;var Yn=n(9799),kn=n.n(Yn),Dn=n(5093),Tn=n.n(Dn),xn=function(e,t,n,i){return new(n||(n=Promise))(function(a,s){function r(e){try{l(i.next(e))}catch(e){s(e)}}function o(e){try{l(i.throw(e))}catch(e){s(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(r,o)}l((i=i.apply(e,t||[])).next())})};let Sn=2;const En=e=>{Sn=e},Hn=(...e)=>{console.log("[packages-dates]",...e)},jn=e=>{let t=String(e).trim();if(/^\d+$/.test(t)){let e=Number(t);return new Date(e<1e12?1e3*e:e)}return new Date(t.replace(/-/g,"/"))},Pn=(e,t)=>{var n,i;let a=e.querySelector(".packagedates"),s="range"===t.packagedatetype;if(Hn("getOccurrences: title=",t.packagetitle,"datetype=",t.packagedatetype,"datesEl found=",!!a,"data-dates=",(null==a?void 0:a.dataset.dates)?"(present)":"(none)","data-starts=",(null==a?void 0:a.dataset.starts)?"(present)":"(none)","data-ends=",(null==a?void 0:a.dataset.ends)?"(present)":"(none)"),!s){let e=null!==(n=null==a?void 0:a.dataset.dates)&&void 0!==n?n:t.packagedates;if(e)try{let t=JSON.parse(e).map(e=>{var t,n,i,a,s;let r=null!==(n=null!==(t=e.start)&&void 0!==t?t:e.value)&&void 0!==n?n:e[0],o=null!==(s=null!==(a=null!==(i=e.end)&&void 0!==i?i:e.end_value)&&void 0!==a?a:e[1])&&void 0!==s?s:r;return{start:jn(r),end:jn(o)}}).filter(e=>!isNaN(e.start.getTime()));if(t.length)return t.sort((e,t)=>e.start.getTime()-t.start.getTime())}catch(e){console.warn("Invalid data-dates JSON",e)}let s=null==a?void 0:a.dataset.starts;if(s){let e=e=>e.split(/[|,]/).map(e=>e.trim()).filter(Boolean),t=e(s),n=e(null!==(i=null==a?void 0:a.dataset.ends)&&void 0!==i?i:"");Hn("parsed starts/ends counts=",t.length,n.length,"first start raw=",t[0],"first end raw=",n[0]);let r=t.map((e,t)=>{var i;return{start:jn(e),end:jn(null!==(i=n[t])&&void 0!==i?i:e)}}).filter(e=>!isNaN(e.start.getTime()));if(Hn("valid occurrences from starts/ends=",r.length,r.length?[r[0].start.toISOString(),"...",r[r.length-1].start.toISOString()]:"none"),r.length)return r.sort((e,t)=>e.start.getTime()-t.start.getTime())}}let r=s?t.packagestartdate:t.packagedisplaystartdate,o=s?t.packageenddate:t.packagedisplayenddate;if(r){let e=jn(r),t=o?jn(o):e;if(!isNaN(e.getTime()))return[{start:e,end:t}]}return[]},Cn=()=>{let e=new Date,t=new Date;return t.setFullYear(t.getFullYear()+1),[e,t]},On=(e,t,n,i)=>Pn(e,t).some(e=>!(e.end<n||e.start>i)),An=(e,t)=>{e.visibleItems.length<e.matchingItems.length?t.classList.add("show"):t.classList.remove("show")},zn=(e,t,n,i,a)=>{if(a.searchParams.delete("text"),""!==e&&e&&a.searchParams.set("text",e),a.searchParams.delete("types[]"),t.length>0&&t&&t.forEach(e=>{a.searchParams.append("types[]",e)}),a.searchParams.delete("categories[]"),n.length>0&&n&&n.forEach(e=>{a.searchParams.append("categories[]",e)}),a.searchParams.delete("start"),a.searchParams.delete("end"),""!==i&&i){let e=i.split(" - ");a.searchParams.set("start",e[0].replace(/\//g,"-")),a.searchParams.set("end",e[1].replace(/\//g,"-"))}history.pushState({},"",a)},In={"www.lakeplacid.com":{full:{desktop:9,mobile:3},filtered:10,compact:{maxBeforeSwiper:2}},"dev.lakeplacid.com":{full:{desktop:9,mobile:3},filtered:10,compact:{maxBeforeSwiper:2}},"www.saranaclake.com":{full:{desktop:12,mobile:3},filtered:12,compact:{maxBeforeSwiper:3}},"www.experienceouradirondacks.com":{full:{desktop:9,mobile:3},filtered:10,compact:{maxBeforeSwiper:3}},"www.lakechamplainregion.com":{full:{desktop:9,mobile:3},filtered:10,compact:{maxBeforeSwiper:2}},"www.tupperlake.com":{full:{desktop:9,mobile:3},filtered:10,compact:{maxBeforeSwiper:2}}
9218,"www.whitefaceregion.com":{full:{desktop:9,mobile:3},filtered:10,compact:{maxBeforeSwiper:2}},"www.adirondackhub.com":{full:{desktop:9,mobile:3},filtered:10,compact:{maxBeforeSwiper:2}},"dev.saranaclake.com":{full:{desktop:12,mobile:3},filtered:12,compact:{maxBeforeSwiper:3}},"dev.experienceouradirondacks.com":{full:{desktop:9,mobile:3},filtered:10,compact:{maxBeforeSwiper:3}},"dev.lakechamplainregion.com":{full:{desktop:9,mobile:3},filtered:10,compact:{maxBeforeSwiper:2}},"dev.tupperlake.com":{full:{desktop:9,mobile:3},filtered:10,compact:{maxBeforeSwiper:2}},"dev.whitefaceregion.com":{full:{desktop:9,mobile:3},filtered:10,compact:{maxBeforeSwiper:2}},"dev.adirondackhub.com":{full:{desktop:9,mobile:3},filtered:10,compact:{maxBeforeSwiper:2}}};var Wn=n(4692),Nn=n.n(Wn),Fn=n(1340),Rn=n.n(Fn),qn={};qn.styleTagTransform=Mn(),qn.setAttributes=_n(),qn.insert=pn().bind(null,"head"),qn.domAPI=mn(),qn.insertStyleElement=yn(),un()(Rn(),qn),Rn()&&Rn().locals&&Rn().locals,n(4444);var $n=n(1463),Bn=n(4233),Gn=n.n(Bn),Vn={};Vn.styleTagTransform=Mn(),Vn.setAttributes=_n(),Vn.insert=pn().bind(null,"head"),Vn.domAPI=mn(),Vn.insertStyleElement=yn(),un()(Gn(),Vn),Gn()&&Gn().locals&&Gn().locals;var Xn=function(e,t,n,i){return new(n||(n=Promise))(function(a,s){function r(e){try{l(i.next(e))}catch(e){s(e)}}function o(e){try{l(i.throw(e))}catch(e){s(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(r,o)}l((i=i.apply(e,t||[])).next())})};Tn()().format(),document.addEventListener("DOMContentLoaded",function(){return Xn(this,void 0,void 0,function*(){let e=window.location;const t=new URL(e);(()=>{const e=document.querySelector("#block-views-carousels-block-2"),t=window.location.pathname;if(e&&("/packages-new"===t||"/packages"===t)){const t=document.createElement("div");let n=1,i=e.querySelectorAll(".view-content > *");i.forEach(e=>{e.style.width="0px",e.style.visibility="hidden"});let a=i.length;const s=e.querySelector(".nav-wrapper.prev"),r=e.querySelector(".nav-wrapper.next");let o=()=>{i.forEach(e=>e.classList.remove("active")),i[n-1].classList.add("active"),t.innerHTML=`<span class='carousels-current'>${n}</span><span>of</span><span class='carousels-total'>${a}</span>`};s.addEventListener("click",()=>{1===n?n=a:n--,o()}),r.addEventListener("click",()=>{n===a?n=1:n++,o()}),console.log(a),t.classList.add("carousels-counter"),o(),e.querySelector(".carousel-outer-wrapper").append(t)}})();let n=document.querySelector("#block-views-packages-packages-search");n||(n=document.querySelector("#block-views-block-packages-packages-search")),n||(n=document.querySelector("#block-views-block-packages-packages-search--2"));const i=window.location.host,a=window.location.search,s=window.location.pathname;let r,o,l;i in In&&({full:r,filtered:o,compact:l}=In[i]);const d=new URLSearchParams(a);let u,c,m=Math.max(document.documentElement.clientWidth||0,window.innerWidth||0);if(["www.lakeplacid.com","dev.lakeplacid.com","www.saranaclake.com","www.tupperlake.com","www.adirondackhub.com","www.experienceouradirondacks.com","www.whitefaceregion.com","www.lakechamplainregion.com","dev.saranaclake.com","dev.tupperlake.com","dev.adirondackhub.com","dev.experienceouradirondacks.com","dev.whitefaceregion.com","dev.lakechamplainregion.com"].includes(i)||d.get("preview")||!n||n.classList.add("hide"),console.log(n),!n||0!==n.querySelectorAll(".views-row").length||n.classList.contains("full")||n.classList.contains("compact")||n.classList.add("hide"),n&&!n.classList.contains("hide")){window.addEventListener("resize",()=>{c&&(c.isLocked?n.classList.add("locked"):n.classList.remove("locked"));let e=Math.max(document.documentElement.clientWidth||0,window.innerWidth||0);if(n.classList.contains("full")&&"/packages"!=s){let t=e<=428?r.mobile:r.desktop;En(t)}});const h=n.querySelector("form");if(n.classList.contains("compact"))En("all");else if(n.classList.contains("full")&&"/packages"!=s){let k=m<=428?r.mobile:r.desktop;En(k)}else"/packages"===s?(n.classList.add("show-filters"),En(o)):n.remove();const p=Nn()("div.packages-filters-dates-ctn"),f=Nn()("#packages-filters-dates"),_=Tn()(),g=Tn()().add(1,"years");function y(e,t){f.val(e.format("MM/DD/YYYY")+" - "+t.format("MM/DD/YYYY"))}p&&(p.daterangepicker({drops:"up",startDate:_,endDate:g,minDate:_,maxDate:g},y),p.on("apply.daterangepicker",function(e,t){h.requestSubmit()})),y(_,g);let v,M,w=document.querySelector(".packages-filters-filter-svg");w&&w.addEventListener("click",e=>{e.preventDefault(),M=h.scrollHeight+"px",h.classList.contains("opened")?(h.classList.remove("opened"),h.style.maxHeight=v):(v=h.offsetHeight+"px",h.classList.add("opened"),h.style.maxHeight=M)});const L=n.querySelector(".packages-filters-clear"),b=n.querySelector("#load-more-packages");if(u=function(e){if(e){const t={valueNames:[{name:"packagestartdate",attr:"data-startdate"},{name:"packageenddate",attr:"data-enddate"},{name:"packagedisplaystartdate",attr:"data-startdisplaydate"},{name:"packagedisplayenddate",attr:"data-enddisplaydate"},"packageparticipatingbusinesses","packageparticipatingbusinessessearchable","packagetitle","packagebody","packagetype","packagecategories","packagedatetype"],listClass:"view-content"};return new(kn())(e,t)}}(n),!h)return;let Y=new FormData(h);if(h.addEventListener("submit",e=>Xn(this,void 0,void 0,function*(){let i=new FormData(h);h.classList.contains("opened")&&w.click(),yield((e,t,n,i,a,s)=>xn(void 0,void 0,void 0,function*(){e.preventDefault();let r=n.get("packages-filters-text").toString(),o=n.getAll("packages-filters-type"),l=n.getAll("packages-filters-category"),d=n.get("packages-filters-dates").toString();i.classList.contains("initial")?i.classList.remove("initial"):zn(r,o,l,d,a),yield((e,t,n,i,a)=>xn(void 0,void 0,void 0,function*(){null==a||a.search(""),null==a||a.filter();const s=document.querySelector("#block-views-packages-packages-search, #block-views-block-packages-packages-search, #block-views-block-packages-packages-search--2");""!=e&&null!=e?null==a||a.search(e,function(e,t){for(var n=0,i=a.items.length;n<i;n++){let t=a.items[n].values();a.items[n].found=!1,Object.entries(t).forEach(([i,s])=>{"packageparticipatingbusinessessearchable"===i?s.split(",").map(e=>
9218e.trim()).forEach(t=>{e=e.toLowerCase().trim(),(t=t.toLowerCase().trim()).includes(e)&&(a.items[n].found=!0)}):t[i].toLowerCase().trim().includes(e.toLowerCase().trim())&&(a.items[n].found=!0)})}}):null==a||a.search(""),yield a.filter(function(e){let a;if(a=t.length>0?(()=>{let n=e.values().packagetype.replace(/<!--.*?-->/g,"").trim();return t.includes(n)})():!s.classList.contains("filters-generated"),n.length&&a&&(a=e.values().packagecategories.replace(/<!--.*?-->/g,"").trim().split(",").map(e=>e.trim()).filter(e=>n.includes(e)).length>0),a){let t=e.values(),n=t.packagedatetype,s=i.split("-").map(e=>e.trim()),r=new Date(s[0].replace(/-/g,"/")),o=new Date(s[1].replace(/-/g,"/")),l=Pn(e.elm,t);if(Hn("filter window=",r.toISOString(),"->",o.toISOString(),"occurrences=",l.length),0===l.length)return Hn("REJECT: no occurrences for",t.packagetitle),void(a=!1);let d=null,u=null;for(let e of l){if(e.end<r||e.start>o)continue;let t=e.start<r?r:e.start;(null===d||t<d)&&(d=t,u=e.end)}if(null!==d){let i=d.getTime(),s="range"===n?e.elm.querySelector(".packagestartdate"):e.elm.querySelector(".packagedisplaystartdate");if(s){let e=Tn()(new Date(i)).format("MMM. D"),t=Tn()(u).format("MMM. D"),n=s.querySelector("span");null!==n?n.innerHTML=e:s.innerHTML=e===t?"Valid "+e:"Valid "+e+" - "+t}Hn("MATCH:",t.packagetitle,"firstOccurrence=",d.toISOString(),"end=",null==u?void 0:u.toISOString()),a=!0,t.packagefirstoccurrence=i,e.values(t)}else Hn("REJECT: no occurrence overlaps window for",t.packagetitle),a=!1}return a}),"all"===Sn?a.show(1,a.matchingItems.length):a.show(1,Sn)}))(r,o,l,d,t),t.sort("packagefirstoccurrence",{order:"asc"}),console.log("swiper:",s),s&&(s.update(),s.slideToLoop(0))}))(e,u,i,n,t,c),console.log(u.matchingItems.length),1===u.matchingItems.length&&n.classList.add("one"),0===u.matchingItems.length&&n.classList.contains("show-filters")&&n.querySelector(".view-packages .view-content").classList.add("no-results"),0===u.matchingItems.length&&n.classList.contains("compact")&&n.remove(),c&&(c.isLocked?n.classList.add("locked"):n.classList.remove("locked"))})),null==L||L.addEventListener("click",e=>{y(_,g),t.searchParams.delete("text"),t.searchParams.delete("types[]"),t.searchParams.delete("categories[]"),t.searchParams.delete("start"),t.searchParams.delete("end"),history.pushState({},"",t),((e,t)=>{console.log("clearing"),e.preventDefault(),t.querySelector('input[name="packages-filters-text"]').value="",t.querySelectorAll("input[name='packages-filters-type']").forEach(function(e){!1===e.checked&&(e.checked=!0)}),t.querySelectorAll("input[name='packages-filters-category']").forEach(function(e){!0===e.checked&&(e.checked=!1)}),t.querySelector("form").requestSubmit()})(e,n)}),u.on("updated",()=>{An(u,b)}),b.addEventListener("click",e=>((e,t)=>{t.show(1,t.visibleItems.length+Sn),An(t,e.target)})(e,u)),n.querySelectorAll(".views-row").forEach(e=>{let t,n,i,a,s=e.querySelector(".packagetype").innerHTML;if(e.querySelector(".packagetitle").innerHTML,"package"===s?(i=e.querySelector(".packagestartdate"),t=i.dataset.startdate,a=e.querySelector(".packageenddate"),n=a.dataset.enddate):"promotion"===s&&(i=e.querySelector(".packagedisplaystartdate"),t=i.dataset.startdisplaydate,a=e.querySelector(".packagedisplayenddate"),n=a.dataset.enddisplaydate),void 0===t||void 0===n)return void console.log("no start or end date");let r=new Date(t.replace(/-/g,"/")),o=new Date(n.replace(/-/g,"/")),l=r.getMonth(),d=r.getDate(),u=o.getMonth(),c=o.getDate();l===u&&d===c&&o>new Date&&(null!==a.querySelector("span")?a.querySelector("span").innerHTML+=", "+o.getFullYear():i.innerHTML+=", "+o.getFullYear())}),!n.classList.contains("filters-generated")){if(h.hasAttribute("data-name")){let D=atob(h.dataset.name);console.log(D),D?(h.querySelector("input.packages-filters-search").value=D,document.querySelector("body.node--type-listings")&&"www.adirondackhub.com"===i&&document.querySelector("#main-wrapper .section").after(n)):n.classList.contains("compact")&&document.querySelector("#pkg").replaceWith(n)}yield((e,t,n)=>xn(void 0,void 0,void 0,function*(){const i=[],a=e.querySelector("#packages-filters-type");let[s,r]=Cn();
9218n.items.forEach(function(e){On(e.elm,e.values(),s,r)&&(e.values().packagetype||"").replace(/<!--.*?-->/g,"").split(",").forEach(function(e){let t=e.trim();t&&i.push(t)})});let o=[...new Set(i)];o.sort();let l=o;for(let e=l.length-1;e>=0;e--){let n=l[e],i=document.createElement("div");i.classList.add("packages-filters-input-ctn");let s=document.createElement("label");switch(s.htmlFor="packages-filters-type-"+n.toLowerCase().replace(/ /g,""),n){case"package":s.textContent="Stay Packages";break;case"promotion":s.textContent="Promotions"}let r=document.createElement("input");r.id="packages-filters-type-"+n.toLowerCase().replace(/ /g,""),r.type="checkbox",t.searchParams.getAll("types[]").length>0?t.searchParams.getAll("types[]").forEach(e=>{r.checked=e===n}):r.checked=!0,r.name="packages-filters-type",r.value=n,i.append(r),i.append(s),null==a||a.after(i)}}))(n,t,u),yield((e,t)=>xn(void 0,void 0,void 0,function*(){let n=e.querySelector("form#packages-filters"),i=[];n.hasAttribute("data-categories")&&(console.log("filter compact module by categories"),i=atob(n.dataset.categories).split(", ").filter(function(e){return""!==e}));const a=[],s=e.querySelector("#packages-filters-categories");let[r,o]=Cn();t.items.forEach(function(e){On(e.elm,e.values(),r,o)&&(e.values().packagecategories||"").replace(/<!--.*?-->/g,"").split(",").forEach(function(e){let t=e.trim();t&&a.push(t)})});
9218let l=[...new Set(a)];l.sort();let d=l.filter(e=>e);for(let e=d.length-1;e>=0;e--){let t=d[e],n=document.createElement("div");n.classList.add("packages-filters-input-ctn");let a=document.createElement("label");a.htmlFor="packages-filters-category-"+t.toLowerCase().replace(/ /g,""),a.textContent=t;let r=document.createElement("input");r.id="packages-filters-category-"+t.toLowerCase().replace(/ /g,""),r.type="checkbox",console.log(i.includes(t)),console.log(r),r.name="packages-filters-category",r.value=t,n.append(r),n.append(a),null==s||s.after(n)}}))(n,u),n.classList.add("filters-generated"),n.classList.add("initial"),h.querySelectorAll('input:not([name="packages-filters-text"])').forEach(e=>{e.addEventListener("change",e=>{h.requestSubmit()})})}if(n.querySelectorAll(".views-row > *").forEach(e=>{""===e.textContent&&!e.classList.contains("packageenddate")&&!e.classList.contains("packagedisplayenddate")&&!e.classList.contains("packagedates")&&e.remove()}),(t.searchParams.get("text")||t.searchParams.getAll("types[]").length>0||t.searchParams.getAll("categories[]").length>0||t.searchParams.get("start")&&t.searchParams.get("end"))&&(t.searchParams.get("text")&&(h.querySelector("input.packages-filters-search").value=t.searchParams.get("text"),Y.set("packages-filters-text",t.searchParams.get("text"))),t.searchParams.getAll("types[]").length>0&&(Y.delete("packages-filters-type"),t.searchParams.getAll("types[]").forEach(e=>{let t=h.querySelector(`#packages-filters-type-${e}`);t&&(t.checked=!0),Y.append("packages-filters-type",e)})),t.searchParams.getAll("categories[]").length>0&&(Y.delete("packages-filters-category"),t.searchParams.getAll("categories[]").forEach(e=>{let t=e.replace(/\s/g,"").toLowerCase(),n=h.querySelector(`#packages-filters-category-${t}`);n&&(n.checked=!0),Y.append("packages-filters-category",e)})),t.searchParams.get("start")&&t.searchParams.get("end"))){let T=h.querySelector("#packages-filters-dates");[t.searchParams.get("start").replace(/-/g,"/"),t.searchParams.get("end").replace(/-/g,"/")].join(" - "),T&&(T.value=[t.searchParams.get("start").replace(/-/g,"/"),t.searchParams.get("end").replace(/-/g,"/")].join(" - ")),Y.set("packages-filters-dates",[t.searchParams.get("start").replace(/-/g,"/"),t.searchParams.get("end").replace(/-/g,"/")].join(" - "))}if(h.requestSubmit(),n&&n.classList.contains("compact")){n.querySelector(".view-packages .view-content").classList.add("swiper-wrapper"),n.querySelectorAll(".view-packages .views-row").forEach(e=>{e.classList.add("swiper-slide")});const x={direction:"horizontal",slidesPerView:"auto",loop:!0,loopAddBlankSlides:!0,slidesPerGroup:1,on:{lock:function(){n.classList.add("locked")},unlock:function(){n.classList.remove("locked")}},navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"}},S=document.querySelector("#packages-swiper-btns"),E=S.querySelector("h3 .current"),H=S.querySelector("h3 .total"),j=S.querySelector(".swiper-button-prev"),P=S.querySelector(".swiper-button-next");c=new $n.S(".view-packages",x),c.on("realIndexChange",()=>{let e=c.realIndex+1;E.textContent=e.toString()});let C=c.slides.length;H.textContent=C.toString(),j.addEventListener("click",()=>{c.slidePrev()}),P.addEventListener("click",()=>{c.slideNext(),j.classList.remove("disabled")})}}})});var Jn,Un=function(e,t){return Un=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},Un(e,t)},Zn=function(){return Zn=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},Zn.apply(this,arguments)};function Kn(e,t,n,i){var a,s=arguments.length,r=s<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,n,i);else for(var o=e.length-1;o>=0;o--)(a=e[o])&&(r=(s<3?a(r):s>
92183?a(t,n,r):a(t,n))||r);return s>3&&r&&Object.defineProperty(t,n,r),r}function Qn(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var i=Array(e),a=0;for(t=0;t<n;t++)for(var s=arguments[t],r=0,o=s.length;r<o;r++,a++)i[a]=s[r];return i}t(),a(),s(),e(),i();var ei=new WeakMap;function ti(){if(void 0!==Jn)return Jn;var e=!1;try{var t=function(){},n=Object.defineProperty({},"passive",{enumerable:!0,get:function(){return e=!0,!0}});window.addEventListener("testPassive",t,n),window.removeEventListener("testPassive",t,n)}catch(e){}return Jn=!!e&&{passive:!1}}function ni(e){var t=ei.get(e)||[];return ei.set(e,t),function(e,n,i){function a(e){e.defaultPrevented||i(e)}n.split(/\s+/g).forEach(function(n){t.push({elem:e,eventName:n,handler:a}),e.addEventListener(n,a,ti())})}}function ii(e){var t=function(e){return e.touches?e.touches[e.touches.length-1]:e}(e);return{x:t.clientX,y:t.clientY}}function ai(e,t){return void 0===t&&(t=[]),t.some(function(t){return e===t})}var si=["webkit","moz","ms","o"],ri=new RegExp("^-(?!(?:"+si.join("|")+")-)");function oi(e,t){t=function(e){var t={};return Object.keys(e).forEach(function(n){if(ri.test(n)){var i=e[n];n=n.replace(/^-/,""),t[n]=i,si.forEach(function(e){t["-"+e+"-"+n]=i})}else t[n]=e[n]}),t}(t),Object.keys(t).forEach(function(n){var i=n.replace(/^-/,"").replace(/-([a-z])/g,function(e,t){return t.toUpperCase()});e.style[i]=t[n]})}var li=function(){function e(e){this.velocityMultiplier=window.devicePixelRatio,this.updateTime=Date.now(),this.delta={x:0,y:0},this.velocity={x:0,y:0},this.lastPosition={x:0,y:0},this.lastPosition=ii(e)}return e.prototype.update=function(e){var t=this,n=t.velocity,i=t.updateTime,a=t.lastPosition,s=Date.now(),r=ii(e),o={x:-(r.x-a.x),y:-(r.y-a.y)},l=s-i||16.7,d=o.x/l*16.7,u=o.y/l*16.7;n.x=d*this.velocityMultiplier,n.y=u*this.velocityMultiplier,this.delta=o,this.updateTime=s,this.lastPosition=r},e}(),di=function(){function e(){this._touchList={}}return Object.defineProperty(e.prototype,"_primitiveValue",{get:function(){return{x:0,y:0}},enumerable:!0,configurable:!0}),e.prototype.isActive=function(){return void 0!==this._activeTouchID},e.prototype.getDelta=function(){var e=this._getActiveTracker();return e?Zn({},e.delta):this._primitiveValue},e.prototype.getVelocity=function(){var e=this._getActiveTracker();return e?Zn({},e.velocity):this._primitiveValue},e.prototype.getEasingDistance=function(e){var t=1-e,n={x:0,y:0},i=this.getVelocity();
vendor: 6,452 bytes, line 9218
9218return Object.keys(i).forEach(function(e){for(var a=Math.abs(i[e])<=10?0:i[e];0!==a;)n[e]+=a,a=a*t|0}),n},e.prototype.track=function(e){var t=this,n=e.targetTouches;return Array.from(n).forEach(function(e){t._add(e)}),this._touchList},e.prototype.update=function(e){var t=this,n=e.touches,i=e.changedTouches;return Array.from(n).forEach(function(e){t._renew(e)}),this._setActiveID(i),this._touchList},e.prototype.release=function(e){var t=this;delete this._activeTouchID,Array.from(e.changedTouches).forEach(function(e){t._delete(e)})},e.prototype._add=function(e){this._has(e)&&this._delete(e);var t=new li(e);this._touchList[e.identifier]=t},e.prototype._renew=function(e){this._has(e)&&this._touchList[e.identifier].update(e)},e.prototype._delete=function(e){delete this._touchList[e.identifier]},e.prototype._has=function(e){return this._touchList.hasOwnProperty(e.identifier)},e.prototype._setActiveID=function(e){this._activeTouchID=e[e.length-1].identifier},e.prototype._getActiveTracker=function(){return this._touchList[this._activeTouchID]},e}();function ui(e,t,n){return Math.max(t,Math.min(n,e))}function ci(e,t,n){var i;void 0===t&&(t=0);var a=-1/0;return function(){for(var s=this,r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];if(n){var l=Date.now(),d=l-a;a=l,d>=t&&e.apply(this,r)}clearTimeout(i),i=setTimeout(function(){e.apply(s,r)},t)}}function mi(e,t){return void 0===e&&(e=-1/0),void 0===t&&(t=1/0),function(n,i){var a="_"+i;Object.defineProperty(n,i,{get:function(){return this[a]},set:function(n){Object.defineProperty(this,a,{value:ui(n,e,t),enumerable:!1,writable:!0,configurable:!0})},enumerable:!0,configurable:!0})}}function hi(e,t){var n="_"+t;Object.defineProperty(e,t,{get:function(){return this[n]},set:function(e){Object.defineProperty(this,n,{value:!!e,enumerable:!1,writable:!0,configurable:!0})},enumerable:!0,configurable:!0})}function pi(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(t,n,i){var a=i.value;return{get:function(){return this.hasOwnProperty(n)||Object.defineProperty(this,n,{value:ci.apply(void 0,Qn([a],e))}),this[n]}}}}var fi,_i=function(){function e(e){var t=this;void 0===e&&(e={}),this.damping=.1,this.thumbMinSize=20,this.renderByPixels=!0,this.alwaysShowTracks=!1,this.continuousScrolling=!0,this.delegateTo=null,this.plugins={},Object.keys(e).forEach(function(n){t[n]=e[n]})}return Object.defineProperty(e.prototype,"wheelEventTarget",{get:function(){return this.delegateTo},set:function(e){console.warn("[smooth-scrollbar]: `options.wheelEventTarget` is deprecated and will be removed in the future, use `options.delegateTo` instead."),this.delegateTo=e},enumerable:!0,configurable:!0}),Kn([mi(0,1)],e.prototype,"damping",void 0),Kn([mi(0,1/0)],e.prototype,"thumbMinSize",void 0),Kn([hi],e.prototype,"renderByPixels",void 0),Kn([hi],e.prototype,"alwaysShowTracks",void 0),Kn([hi],e.prototype,"continuousScrolling",void 0),e}();!function(e){e.X="x",e.Y="y"}(fi||(fi={}));var gi=function(){function e(e,t){void 0===t&&(t=0),this._direction=e,this._minSize=t,this.element=document.createElement("div"),this.displaySize=0,this.realSize=0,this.offset=0,this.element.className="scrollbar-thumb scrollbar-thumb-"+e}return e.prototype.attachTo=function(e){e.appendChild(this.element)},e.prototype.update=function(e,t,n){this.realSize=Math.min(t/n,1)*t,this.displaySize=Math.max(this.realSize,this._minSize),this.offset=e/n*(t+(this.realSize-this.displaySize)),oi(this.element,this._getStyle())},e.prototype._getStyle=function(){switch(this._direction){case fi.X:return{width:this.displaySize+"px","-transform":"translate3d("+this.offset+"px, 0, 0)"};case fi.Y:return{height:this.displaySize+"px","-transform":"translate3d(0, "+this.offset+"px, 0)"};default:return null}},e}(),yi=function(){function e(e,t){void 0===t&&(t=0),this.element=document.createElement("div"),this._isShown=!1,this.element.className="scrollbar-track scrollbar-track-"+e,this.thumb=new gi(e,t),this.thumb.attachTo(this.element)}return e.prototype.attachTo=function(e){e.appendChild(this.element)},e.prototype.show=function(){this._isShown||(this._isShown=!0,this.element.classList.add("show"))},e.prototype.hide=function(){this._isShown&&(this._isShown=!1,this.element.classList.remove("show"))},e.prototype.update=function(e,t,n){oi(this.element,{display:n<=t?"none":"block"}),this.thumb.update(e,t,n)},e}(),vi=function(){function e(e){this._scrollbar=e;var t=e.options.thumbMinSize;this.xAxis=new yi(fi.X,t),this.yAxis=new yi(fi.Y,t),this.xAxis.attachTo(e.containerEl),this.yAxis.attachTo(e.containerEl),e.options.alwaysShowTracks&&(this.xAxis.show(),this.yAxis.show())}return e.prototype.update=function(){var e=this._scrollbar,t=e.size,n=e.offset;this.xAxis.update(n.x,t.container.width,t.content.width),this.yAxis.update(n.y,t.container.height,t.content.height)},e.prototype.autoHideOnIdle=function(){this._scrollbar.options.alwaysShowTracks||(this.xAxis.hide(),this.yAxis.hide())},Kn([pi(300)],e.prototype,"autoHideOnIdle",null),e}(),Mi=new WeakMap;function wi(e){return Math.pow(e-1,3)+1}var Li,bi,Yi,ki=function(){function e(e,t){var n=this.constructor;this.scrollbar=e,this.name=n.pluginName,this.options=Zn(Zn({},n.defaultOptions),t)}return e.prototype.onInit=function(){},e.prototype.onDestroy=function(){},e.prototype.onUpdate=function(){},e.prototype.onRender=function(e){},e.prototype.transformDelta=function(e,t){return Zn({},e)},e.pluginName="",e.defaultOptions={},e}(),Di={order:new Set,constructors:{}};function Ti(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];e.forEach(function(e){var t=e.pluginName;if(!t)throw new TypeError("plugin name is required");Di.order.add(t),Di.constructors[t]=e})}function xi(e){var t=ni(e),n=e.containerEl;t(n,"keydown",function(t){var i,a=document.activeElement;if((a===n||n.contains(a))&&("INPUT"!==(i=a).tagName&&"SELECT"!==i.tagName&&"TEXTAREA"!==i.tagName&&!i.isContentEditable||i.disabled)){var s=function(e,t){var n=e.size,i=e.limit,a=e.offset;switch(t){case Li.TAB:return function(e){requestAnimationFrame(function(){e.scrollIntoView(document.activeElement,{offsetTop:e.size.container.height/2,offsetLeft:e.size.container.width/2,onlyScrollIfNeeded:!0})})}(e);case Li.SPACE:return[0,200];case Li.PAGE_UP:return[0,40-n.container.height];case Li.PAGE_DOWN:return[0,n.container.height-40];case Li.END:return[0,i.y-a.y];case Li.HOME:return[0,-a.y];case Li.LEFT:return[-40,0];case Li.UP:return[0,-40];case Li.RIGHT:return[40,0];
9218case Li.DOWN:return[0,40];default:return null}}(e,t.keyCode||t.which);if(s){var r=s[0],o=s[1];e.addTransformableMomentum(r,o,t,function(n){n?t.preventDefault():(e.containerEl.blur(),e.parent&&e.parent.containerEl.focus())})}}})}function Si(e){var t,n,i,a,s,r=ni(e),o=e.containerEl,l=e.track,d=l.xAxis,u=l.yAxis;function c(t,n){var i=e.size,a=e.limit,s=e.offset;return t===bi.X?ui(n/(i.container.width+(d.thumb.realSize-d.thumb.displaySize))*i.content.width,0,a.x)-s.x:t===bi.Y?ui(n/(i.container.height+(u.thumb.realSize-u.thumb.displaySize))*i.content.height,0,a.y)-s.y:0}function m(e){return ai(e,[d.element,d.thumb.element])?bi.X:ai(e,[u.element,u.thumb.element])?bi.Y:void 0}r(o,"click",function(t){if(!n&&ai(t.target,[d.element,u.element])){var i=t.target,a=m(i),s=i.getBoundingClientRect(),r=ii(t);if(a===bi.X){var o=r.x-s.left-d.thumb.displaySize/2;e.setMomentum(c(a,o),0)}a===bi.Y&&(o=r.y-s.top-u.thumb.displaySize/2,e.setMomentum(0,c(a,o)))}}),r(o,"mousedown",function(n){if(ai(n.target,[d.thumb.element,u.thumb.element])){t=!0;var r=n.target,l=ii(n),c=r.getBoundingClientRect();a=m(r),i={x:l.x-c.left,y:l.y-c.top},s=o.getBoundingClientRect(),oi(e.containerEl,{"-user-select":"none"})}}),r(window,"mousemove",function(r){if(t){n=!0;var o=ii(r);if(a===bi.X){var l=o.x-i.x-s.left;e.setMomentum(c(a,l),0)}a===bi.Y&&(l=o.y-i.y-s.top,e.setMomentum(0,c(a,l)))}}),r(window,"mouseup blur",function(){t=n=!1,oi(e.containerEl,{"-user-select":""})})}function Ei(e){ni(e)(window,"resize",ci(e.update.bind(e),300))}function Hi(e){var t,n=ni(e),i=e.containerEl,a=e.contentEl,s=!1,r=!1;function o(n){var i=n.x,a=n.y;if(i||a){var s=e.offset,r=e.limit;e.setMomentum(ui(s.x+i,0,r.x)-s.x,ui(s.y+a,0,r.y)-s.y),t=requestAnimationFrame(function(){o({x:i,y:a})})}}n(window,"mousemove",function(n){if(s){cancelAnimationFrame(t);var i=function(e,t){var n=e.bounding,i=n.top,a=n.right,s=n.bottom,r=n.left,o=ii(t),l=o.x,d=o.y,u={x:0,y:0},c=20;return 0===l&&0===d||(l>a-c?u.x=l-a+c:l<r+c&&(u.x=l-r-c),d>s-c?u.y=d-s+c:d<i+c&&(u.y=d-i-c),u.x*=2,u.y*=2),u}(e,n);o(i)}}),n(a,"contextmenu",function(){r=!0,cancelAnimationFrame(t),s=!1}),n(a,"mousedown",function(){r=!1}),n(a,"selectstart",function(){r||(cancelAnimationFrame(t),s=!0)}),n(window,"mouseup blur",function(){cancelAnimationFrame(t),s=!1,r=!1}),n(i,"scroll",function(e){e.preventDefault(),i.scrollTop=i.scrollLeft=0})}function ji(e){var t,n=e.options.delegateTo||e.containerEl,i=new di,a=ni(e),s=0;a(n,"touchstart",function(n){i.track(n),e.setMomentum(0,0),0===s&&(t=e.options.damping,e.options.damping=Math.max(t,.5)),s++}),a(n,"touchmove",function(t){if(!Yi||Yi===e){i.update(t);var n=i.getDelta(),a=n.x,s=n.y;e.addTransformableMomentum(a,s,t,function(n){n&&t.cancelable&&(t.preventDefault(),Yi=e)})}}),a(n,"touchcancel touchend",function(n){var a=i.getEasingDistance(t);e.addTransformableMomentum(a.x,a.y,n),0===--s&&(e.options.damping=t),i.release(n),Yi=null})}function Pi(e){ni(e)(e.options.delegateTo||e.containerEl,"onwheel"in window||document.implementation.hasFeature("Events.wheel","3.0")?"wheel":"mousewheel",function(t){var n=function(e){if("deltaX"in e){var t=Ai(e.deltaMode);return{x:e.deltaX/Ci.STANDARD*t,y:e.deltaY/Ci.STANDARD*t}}return"wheelDeltaX"in e?{x:e.wheelDeltaX/Ci.OTHERS,y:e.wheelDeltaY/Ci.OTHERS}:{x:0,y:e.wheelDelta/Ci.OTHERS}}(t),i=n.x,a=n.y;e.addTransformableMomentum(i,a,t,function(e){e&&t.preventDefault()})})}!function(e){e[e.TAB=9]="TAB",e[e.SPACE=32]="SPACE",e[e.PAGE_UP=33]="PAGE_UP",e[e.PAGE_DOWN=34]="PAGE_DOWN",e[e.END=35]="END",e[e.HOME=36]="HOME",e[e.LEFT=37]="LEFT",e[e.UP=38]="UP",e[e.RIGHT=39]="RIGHT",e[e.DOWN=40]="DOWN"}(Li||(Li={})),function(e){e[e.X=0]="X",e[e.Y=1]="Y"}(bi||(bi={}));var Ci={STANDARD:1,OTHERS:-3},Oi=[1,28,500],Ai=function(e){return Oi[e]||Oi[0]},zi=new Map,Ii=function(){function e(e,t){var n=this;this.offset={x:0,y:0},this.limit={x:1/0,y:1/0},this.bounding={top:0,right:0,bottom:0,left:0},this._plugins=[],this._momentum={x:0,y:0},this._listeners=new Set,this.containerEl=e;var i=this.contentEl=document.createElement("div");this.options=new _i(t),e.setAttribute("data-scrollbar","true"),e.setAttribute("tabindex","-1"),oi(e,{overflow:"hidden",outline:"none"}),window.navigator.msPointerEnabled&&(e.style.msTouchAction="none"),i.className="scroll-content",Array.from(e.childNodes).forEac
9218h(function(e){i.appendChild(e)}),e.appendChild(i),this.track=new vi(this),this.size=this.getSize(),this._plugins=function(e,t){return Array.from(Di.order).filter(function(e){return!1!==t[e]}).map(function(n){var i=new(0,Di.constructors[n])(e,t[n]);return t[n]=i.options,i})}(this,this.options.plugins);var a=e.scrollLeft,s=e.scrollTop;e.scrollLeft=e.scrollTop=0,this.setPosition(a,s,{withoutCallbacks:!0});var r=window.ResizeObserver;"function"==typeof r&&(this._observer=new r(function(){n.update()}),this._observer.observe(i)),zi.set(e,this),requestAnimationFrame(function(){n._init()})}return Object.defineProperty(e.prototype,"parent",{get:function(){for(var e=this.containerEl.parentElement;e;){var t=zi.get(e);if(t)return t;e=e.parentElement}return null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"scrollTop",{get:function(){return this.offset.y},set:function(e){this.setPosition(this.scrollLeft,e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"scrollLeft",{get:function(){return this.offset.x},set:function(e){this.setPosition(e,this.scrollTop)},enumerable:!0,configurable:!0}),e.prototype.getSize=function(){return e=this.containerEl,t=this.contentEl,n=getComputedStyle(e),a=(i=["paddingTop","paddingBottom","paddingLeft","paddingRight"].map(function(e){return n[e]?parseFloat(n[e]):0}))[0]+i[1],s=i[2]+i[3],{container:{width:e.clientWidth,height:e.clientHeight},content:{width:t.offsetWidth-t.clientWidth+t.scrollWidth+s,height:t.offsetHeight-t.clientHeight+t.scrollHeight+a}};var e,t,n,i,a,s},e.prototype.update=function(){var e,t,n,i,a;t=(e=this).getSize(),n={x:Math.max(t.content.width-t.container.width,0),y:Math.max(t.content.height-t.container.height,0)},i=e.containerEl.getBoundingClientRect(),a={top:Math.max(i.top,0),right:Math.min(i.right,window.innerWidth),bottom:Math.min(i.bottom,window.innerHeight),left:Math.max(i.left,0)},e.size=t,e.limit=n,e.bounding=a,e.track.update(),e.setPosition(),this._plugins.forEach(function(e){e.onUpdate()})},e.prototype.isVisible=function(e){return function(e,t){var n=e.bounding,i=t.getBoundingClientRect(),a=Math.max(n.top,i.top),s=Math.max(n.left,i.left),r=Math.min(n.right,i.right);return a<Math.min(n.bottom,i.bottom)&&s<r}(this,e)},e.prototype.setPosition=function(e,t,n){var i=this;void 0===e&&(e=this.offset.x),void 0===t&&(t=this.offset.y),void 0===n&&(n={});var a=function(e,t,n){var i=e.options,a=e.offset,s=e.limit,r=e.track,o=e.contentEl;return i.renderByPixels&&(t=Math.round(t),n=Math.round(n)),t=ui(t,0,s.x),n=ui(n,0,s.y),t!==a.x&&r.xAxis.show(),n!==a.y&&r.yAxis.show(),i.alwaysShowTracks||r.autoHideOnIdle(),t===a.x&&n===a.y?null:(a.x=t,a.y=n,oi(o,{"-transform":"translate3d("+-t+"px, "+-n+"px, 0)"}),r.update(),{offset:Zn({},a),limit:Zn({},s)})}(this,e,t);a&&!n.withoutCallbacks&&this._listeners.forEach(function(e){e.call(i,a)})},e.prototype.scrollTo=function(e,t,n,i){void 0===e&&(e=this.offset.x),void 0===t&&(t=this.offset.y),void 0===n&&(n=0),void 0===i&&(i={}),function(e,t,n,i,a){void 0===i&&(i=0);var s=void 0===a?{}:a,r=s.easing,o=void 0===r?wi:r,l=s.callback,d=e.options,u=e.offset,c=e.limit;d.renderByPixels&&(t=Math.round(t),n=Math.round(n));var m=u.x,h=u.y,p=ui(t,0,c.x)-m,f=ui(n,0,c.y)-h,_=Date.now();cancelAnimationFrame(Mi.get(e)),function t(){var n=Date.now()-_,a=i?o(Math.min(n/i,1)):1;if(e.setPosition(m+p*a,h+f*a),n>=i)"function"==typeof l&&l.call(e);else{var s=requestAnimationFrame(t);Mi.set(e,s)}}()}(this,e,t,n,i)},e.prototype.scrollIntoView=function(e,t){void 0===t&&(t={}),function(e,t,n){var i=void 0===n?{}:n,a=i.alignToTop,s=void 0===a||a,r=i.onlyScrollIfNeeded,o=void 0!==r&&r,l=i.offsetTop,d=void 0===l?0:l,u=i.offsetLeft,c=void 0===u?0:u,m=i.offsetBottom,h=void 0===m?0:m,p=e.containerEl,f=e.bounding,_=e.offset,g=e.limit;if(t&&p.contains(t)){var y=t.getBoundingClientRect();if(!o||!e.isVisible(t)){var v=s?y.top-f.top-d:y.bottom-f.bottom+h;e.setMomentum(y.left-f.left-c,ui(v,-_.y,g.y-_.y))}}}(this,e,t)},e.prototype.addListener=function(e){if("function"!=typeof e)throw new TypeError("[smooth-scrollbar] scrolling listener should be a function");this._listeners.add(e)},e.prototype.removeListener=function(e){this._listeners.delete(e)},e.prototype.addTransformableMomentum=function(e,t,n,i){this._updateDebounced();var a=this._plugins.reduce(function(e,t){return t.transformDelta(e,n)||e},{x:e,y:t}),s=!this._shouldPropagateMomentum(a.x,a.y);s&&this.addMomentum(a.x,a.y),i&&i.call(this,s)},e.prototype.addMomentum=function(e,t){this.setMomentum(this._momentum.x+e,this._momentum.y+t)},e.prototype.setMomentum=function(e,t){0===this.limit.x&&(e=0),0===this.limit.y&&(t=0),this.options.renderByPixels&&(e=Math.round(e),t=Math.round(t)),this._momentum.x=e,this._momentum.y=t},e.prototype.updatePluginOptions=function(e,t){this._plugins.forEach(function(n){n.name===e&&Object.assign(n.options,t)})},e.prototype.destroy=function(){var e,t=this.containerEl,n=this.contentEl;(e=ei.get(this))&&(e.forEach(function(e){var t=e.elem,n=e.eventName,i=e.handler;t.removeEventListener(n,i,ti())}),ei.delete(this)),this._listeners.clear(),this.setMomentum(0,0),cancelAnimationFrame(this._renderID),this._observer&&this._observer.disconnect(),zi.delete(this.containerEl);for(var i=Array.from(n.childNodes);t.firstChild;)t.removeChild(t.firstChild);
9218i.forEach(function(e){t.appendChild(e)}),oi(t,{overflow:""}),t.scrollTop=this.scrollTop,t.scrollLeft=this.scrollLeft,this._plugins.forEach(function(e){e.onDestroy()}),this._plugins.length=0},e.prototype._init=function(){var e=this;this.update(),Object.keys(ln).forEach(function(t){ln[t](e)}),this._plugins.forEach(function(e){e.onInit()}),this._render()},e.prototype._updateDebounced=function(){this.update()},e.prototype._shouldPropagateMomentum=function(e,t){void 0===e&&(e=0),void 0===t&&(t=0);var n=this,i=n.options,a=n.offset,s=n.limit;if(!i.continuousScrolling)return!1;0===s.x&&0===s.y&&this._updateDebounced();var r=ui(e+a.x,0,s.x),o=ui(t+a.y,0,s.y),l=!0;return(l=(l=l&&r===a.x)&&o===a.y)&&(a.x===s.x||0===a.x||a.y===s.y||0===a.y)},e.prototype._render=function(){var e=this._momentum;if(e.x||e.y){var t=this._nextTick("x"),n=this._nextTick("y");e.x=t.momentum,e.y=n.momentum,this.setPosition(t.position,n.position)}var i=Zn({},this._momentum);this._plugins.forEach(function(e){e.onRender(i)}),this._renderID=requestAnimationFrame(this._render.bind(this))},e.prototype._nextTick=function(e){var t=this,n=t.options,i=t.offset,a=t._momentum,s=i[e],r=a[e];if(Math.abs(r)<=.1)return{momentum:0,position:s+r};var o=r*(1-n.damping);return n.renderByPixels&&(o|=0),{momentum:o,position:s+r-o}},Kn([pi(100,!0)],e.prototype,"_updateDebounced",null),e}(),Wi="smooth-scrollbar-style",Ni=!1;function Fi(){if(!Ni&&"undefined"!=typeof window){var e=document.createElement("style");e.id=Wi,e.textContent="\n[data-scrollbar] {\n display: block;\n position: relative;\n}\n\n.scroll-content {\n display: flow-root;\n -webkit-transform: translate3d(0, 0, 0);\n transform: translate3d(0, 0, 0);\n}\n\n.scrollbar-track {\n position: absolute;\n opacity: 0;\n z-index: 1;\n background: rgba(222, 222, 222, .75);\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n -webkit-transition: opacity 0.5s 0.5s ease-out;\n transition: opacity 0.5s 0.5s ease-out;\n}\n.scrollbar-track.show,\n.scrollbar-track:hover {\n opacity: 1;\n -webkit-transition-delay: 0s;\n transition-delay: 0s;\n}\n\n.scrollbar-track-x {\n bottom: 0;\n left: 0;\n width: 100%;\n height: 8px;\n}\n.scrollbar-track-y {\n top: 0;\n right: 0;\n width: 8px;\n height: 100%;\n}\n.scrollbar-thumb {\n position: absolute;\n top: 0;\n left: 0;\n width: 8px;\n height: 8px;\n background: rgba(0, 0, 0, .5);\n border-radius: 4px;\n}\n",document.head&&document.head.appendChild(e),Ni=!0}}const Ri=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return function(e,t){function n(){this.constructor=e}Un(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(t,e),t.init=function(e,t){if(!e||1!==e.nodeType)throw new TypeError("expect element to be DOM Element, but got "+e);return Fi(),zi.has(e)?zi.get(e):new Ii(e,t)},t.initAll=function(e){return Array.from(document.querySelectorAll("[data-scrollbar]"),function(n){return t.init(n,e)})},t.has=function(e){return zi.has(e)},t.get=function(e){return zi.get(e)},t.getAll=function(){return Array.from(zi.values())},t.destroy=function(e){var t=zi.get(e);t&&t.destroy()},t.destroyAll=function(){zi.forEach(function(e){e.destroy()})},t.use=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Ti.apply(void 0,e)},t.attachStyle=function(){return Fi()},t.detachStyle=function(){return function(){if(Ni&&"undefined"!=typeof window){var e=document.getElementById(Wi);e&&e.parentNode&&(e.parentNode.removeChild(e),Ni=!1)}}()},t.version="8.8.4",t.ScrollbarPlugin=ki,t}(Ii);document.addEventListener("DOMContentLoaded",function(){return e=this,t=void 0,i=function*(){let e=document.querySelector(".package-content #pkg-left > div");if(console.log(e),e){const t={alwaysShowTracks:!0,continuousScrolling:!1};Ri.init(e,t)}},new((n=void 0)||(n=Promise))(function(a,s){function r(e){try{l(i.next(e))}catch(e){s(e)}}function o(e){try{l(i.throw(e))}catch(e){s(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(r,o)}l((i=i.apply(e,t||[])).next())});var e,t,n,i})})()})();; 9219/** 9220* DO NOT EDIT THIS FILE. 9221* See the following change record for more information, 9222* https://www.drupal.org/node/2815083 9223* @preserve 9224**/ 9225(function ($, Drupal, debounce) { 9226 $.fn.drupalGetSummary = function () { 9227 var callback = this.data('summaryCallback'); 9228 return this[0] && callback ? callback(this[0]).trim() : ''; 9229 }; 9230 $.fn.drupalSetSummary = function (callback) { 9231 var self = this; 9232 if (typeof callback !== 'function') { 9233 var val = callback; 9234 callback = function callback() { 9235 return val; 9236 }; 9237 } 9238 return this.data('summaryCallback', callback).off('formUpdated.summary').on('formUpdated.summary', function () { 9239 self.trigger('summaryUpdated'); 9240 }).trigger('summaryUpdated'); 9241 }; 9242 Drupal.behaviors.formSingleSubmit = { 9243 attach: function attach() { 9244 function onFormSubmit(e) { 9245 var $form = $(e.currentTarget); 9246 var formValues = $form.serialize(); 9247 var previousValues = $form.attr('data-drupal-form-submit-last'); 9248 if (previousValues === formValues) { 9249 e.preventDefault(); 9250 } else { 9251 $form.attr('data-drupal-form-submit-last', formValues); 9252 } 9253 } 9254 $(once('form-single-submit', 'body')).on('submit.singleSubmit', 'form:not([method~="GET"])', onFormSubmit); 9255 } 9256 }; 9257 function triggerFormUpdated(element) { 9258 $(element).trigger('formUpdated'); 9259 } 9260 function fieldsList(form) { 9261 return [].map.call(form.querySelectorAll('[name][id]'), function (el) { 9262 return el.id; 9263 }); 9264 } 9265 Drupal.behaviors.formUpdated = { 9266 attach: function attach(context) { 9267 var $context = $(context);
9268 var contextIsForm = $context.is('form'); 9269 var $forms = $(once('form-updated', contextIsForm ? $context : $context.find('form'))); 9270 var formFields; 9271 if ($forms.length) { 9272 $.makeArray($forms).forEach(function (form) { 9273 var events = 'change.formUpdated input.formUpdated '; 9274 var eventHandler = debounce(function (event) { 9275 triggerFormUpdated(event.target); 9276 }, 300); 9277 formFields = fieldsList(form).join(','); 9278 form.setAttribute('data-drupal-form-fields', formFields); 9279 $(form).on(events, eventHandler); 9280 }); 9281 } 9282 if (contextIsForm) { 9283 formFields = fieldsList(context).join(','); 9284 var currentFields = $(context).attr('data-drupal-form-fields'); 9285 if (formFields !== currentFields) { 9286 triggerFormUpdated(context); 9287 } 9288 } 9289 }, 9290 detach: function detach(context, settings, trigger) { 9291 var $context = $(context); 9292 var contextIsForm = $context.is('form'); 9293 if (trigger === 'unload') { 9294 once.remove('form-updated', contextIsForm ? $context : $context.find('form')).forEac
9294h(function (form) { 9295 form.removeAttribute('data-drupal-form-fields'); 9296 $(form).off('.formUpdated'); 9297 }); 9298 } 9299 } 9300 }; 9301 Drupal.behaviors.fillUserInfoFromBrowser = { 9302 attach: function attach(context, settings) { 9303 var userInfo = ['name', 'mail', 'homepage']; 9304 var $forms = $(once('user-info-from-browser', '[data-user-info-from-browser]')); 9305 if ($forms.length) { 9306 userInfo.forEach(function (info) { 9307 var $element = $forms.find("[name=".concat(info, "]")); 9308 var browserData = localStorage.getItem("Drupal.visitor.".concat(info)); 9309 if (!$element.length) { 9310 return; 9311 } 9312 var emptyValue = $element[0].value === ''; 9313 var defaultValue = $element.attr('data-drupal-default-value') === $element[0].value; 9314 if (browserData && (emptyValue || defaultValue)) { 9315 $element.each(function (index, item) { 9316 item.value = browserData; 9317 }); 9318 } 9319 }); 9320 } 9321 $forms.on('submit', function () { 9322 userInfo.forEach(function (info) { 9323 var $element = $forms.find("[name=".concat(info, "]")); 9324 if ($element.length) { 9325 localStorage.setItem("Drupal.visitor.".concat(info), $element[0].value); 9326 } 9327 }); 9328 }); 9329 } 9330 }; 9331 var handleFragmentLinkClickOrHashChange = function handleFragmentLinkClickOrHashChange(e) { 9332 var url; 9333 if (e.type === 'click') { 9334 url = e.currentTarget.location ? e.currentTarget.location : e.currentTarget; 9335 } else { 9336 url = window.location; 9337 } 9338 var hash = url.hash.substr(1); 9339 if (hash) { 9340 var $target = $("#".concat(hash)); 9341 $('body').trigger('formFragmentLinkClickOrHashChange', [$target]); 9342 setTimeout(function () { 9343 return $target.trigger('focus'); 9344 }, 300); 9345 } 9346 }; 9347 var debouncedHandleFragmentLinkClickOrHashChange = debounce(handleFragmentLinkClickOrHashChange, 300, true); 9348 $(window).on('hashchange.form-fragment', debouncedHandleFragmentLinkClickOrHashChange); 9349 $(document).on('click.form-fragment', 'a[href*="#"]', debouncedHandleFragmentLinkClickOrHashChange); 9350})(jQuery, Drupal, Drupal.debounce);; 9351/** 9352 * @file 9353 * Webform behaviors. 9354 */ 9355 9356(function ($, Drupal) { 9357 9358 'use strict'; 9359 9360 // Trigger Drupal's attaching of behaviors after the page is 9361 // completely loaded. 9362 // @see https://stackoverflow.com/questions/37838430/detect-if-page-is-load-from-back-button 9363 // @see https://stackoverflow.com/questions/20899274/how-to-refresh-page-on-back-button-click/20899422#20899422 9364 var isChrome = (/chrom(e|ium)/.test(window.navigator.userAgent.toLowerCase())); 9365 if (isChrome) { 9366 // Track back button in navigation. 9367 // @see https://stackoverflow.com/questions/37838430/detect-if-page-is-load-from-back-button 9368 var backButton = false; 9369 if (window.performance) { 9370 var navEntries = window.performance.getEntriesByType('navigation'); 9371 if (navEntries.length > 0 && navEntries[0].type === 'back_forward') { 9372 backButton = true; 9373 } 9374 else if (window.performance.navigation 9375 && window.performance.navigation.type === window.performance.navigation.TYPE_BACK_FORWARD) { 9376 backButton = true; 9377 } 9378 } 9379 9380 // If the back button is pressed, delay Drupal's attaching of behaviors. 9381 if (backButton) { 9382 var attachBehaviors = Drupal.attachBehaviors; 9383 Drupal.attachBehaviors = function (context, settings) { 9384 setTimeout(function (context, settings) { 9385 attachBehaviors(context, settings); 9386 }, 300); 9387 }; 9388 } 9389 } 9390 9391})(jQuery, Drupal); 9392; 9393/** 9394* DO NOT EDIT THIS FILE. 9395* See the following change record for more information, 9396* https://www.drupal.org/node/2815083 9397* @preserve 9398**/ 9399(function ($, Drupal) { 9400 var states = { 9401 postponed: [] 9402 }; 9403 Drupal.states = states; 9404 function invert(a, invertState) { 9405 return invertState && typeof a !== 'undefined' ? !a : a; 9406 } 9407 function _compare2(a, b) { 9408 if (a === b) { 9409 return typeof a === 'undefined' ? a : true; 9410 } 9411 return typeof a === 'undefined' || typeof b === 'undefined'; 9412 } 9413 function ternary(a, b) { 9414 if (typeof a === 'undefined') { 9415 return b; 9416 } 9417 if (typeof b === 'undefined') { 9418 return a; 9419 } 9420 return a && b; 9421 } 9422 Drupal.behaviors.states = { 9423 attach: function attach(context, settings) { 9424 var $states = $(context).find('[data-drupal-states]'); 9425 var il = $states.length; 9426 var _loop = function _loop(i) { 9427 var config = JSON.parse($states[i].getAttribute('data-drupal-states')); 9428 Object.keys(config || {}
9428).forEach(function (state) { 9429 new states.Dependent({ 9430 element: $($states[i]), 9431 state: states.State.sanitize(state), 9432 constraints: config[state] 9433 }); 9434 }); 9435 }; 9436 for (var i = 0; i < il; i++) { 9437 _loop(i); 9438 } 9439 while (states.postponed.length) { 9440 states.postponed.shift()(); 9441 } 9442 } 9443 }; 9444 states.Dependent = function (args) { 9445 var _this = this; 9446 $.extend(this, { 9447 values: {}, 9448 oldValue: null 9449 }, args); 9450 this.dependees = this.getDependees(); 9451 Object.keys(this.dependees || {}).forEach(function (selector) { 9452 _this.initializeDependee(selector, _this.dependees[selector]); 9453 }); 9454 }; 9455 states.Dependent.comparisons = { 9456 RegExp: function RegExp(reference, value) { 9457 return reference.test(value); 9458 }, 9459 Function: function Function(reference, value) { 9460 return reference(value); 9461 }, 9462 Number: function Number(reference, value) { 9463 return typeof value === 'string' ? _compare2(reference.toString(), value) : _compare2(reference, value); 9464 } 9465 }; 9466 states.Dependent.prototype = { 9467 initializeDependee: function initializeDependee(selector, dependeeStates) { 9468 var _this2 = this; 9469 this.values[selector] = {}; 9470 Object.keys(dependeeStates).forEach(function (i) { 9471 var state = dependeeStates[i]; 9472 if ($.inArray(state, dependeeStates) === -1) { 9473 return; 9474 } 9475 state = states.State.sanitize(state); 9476 _this2.values[selector][state.name] = null; 9477 $(selector).on("state:".concat(state), { 9478 selector: selector, 9479 state: state 9480 }, function (e) { 9481 _this2.update(e.data.selector, e.data.state, e.value); 9482 }); 9483 new states.Trigger({ 9484 selector: selector, 9485 state: state 9486 }); 9487 }); 9488 }, 9489 compare: function compare(reference, selector, state) { 9490 var value = this.values[selector][state.name]; 9491 if (reference.constructor.name in states.Dependent.comparisons) { 9492 return states.Dependent.comparisons[reference.constructor.name](reference, value); 9493 } 9494 return _compare2(reference, value); 9495 }, 9496 update: function update(selector, state, value) { 9497 if (value !== this.values[selector][state.name]) { 9498 this.values[selector][state.name] = value; 9499 this.reevaluate(); 9500 } 9501 }, 9502 reevaluate: function reevaluate() { 9503 var value = this.verifyConstraints(this.constraints); 9504 if (value !== this.oldValue) { 9505 this.oldValue = value; 9506 value = invert(value, this.state.invert); 9507 this.element.trigger({ 9508 type: "state:".concat(this.state), 9509 value: value, 9510 trigger: true 9511 }); 9512 } 9513 }, 9514 verifyConstraints: function verifyConstraints(constraints, selector) { 9515 var result; 9516 if ($.isArray(constraints)) { 9517 var hasXor = $.inArray('xor', constraints) === -1; 9518 var len = constraints.length; 9519 for (var i = 0; i < len; i++) { 9520 if (constraints[i] !== 'xor') { 9521 var constraint = this.checkConstraints(constraints[i], selector, i); 9522 if (constraint && (hasXor || result)) { 9523 return hasXor; 9524 } 9525 result = result || constraint; 9526 } 9527 } 9528 } else if ($.isPlainObject(constraints)) { 9529 for (var n in constraints) { 9530 if (constraints.hasOwnProperty(n)) { 9531 result = ternary(result, this.checkConstraints(constraints[n], selector, n)); 9532 if (result === false) { 9533 return false; 9534 } 9535 } 9536 } 9537 } 9538 return result; 9539 }, 9540 checkConstraints: function checkConstraints(value, selector, state) { 9541 if (typeof state !== 'string' || /[0-9]/.test(state[0])) { 9542 state = null; 9543 } else if (typeof selector === 'undefined') { 9544 selector = state; 9545 state = null; 9546 } 9547 if (state !== null) { 9548 state = states.State.sanitize(state); 9549 return invert(this.compare(value, selector, state), state.invert); 9550 } 9551 return this.verifyConstraints(value, selector); 9552 }, 9553 getDependees: function getDependees() { 9554 var cache = {}; 9555 var _compare = this.compare; 9556 this.compare = function (reference, selector, state) { 9557 (cache[selector] || (cache[selector] = [])).push(state.name); 9558 }; 9559 this.verifyConstraints(this.constraints); 9560 this.compare = _compare; 9561 return cache; 9562 } 9563 }; 9564 states.Trigger = function (args) { 9565 $.extend(this, args); 9566 if (this.state in states.Trigger.states) { 9567 this.element = $(this.selector); 9568 if (!this.element.data("trigger:".concat(this.state))) { 9569 this.initialize(); 9570 } 9571 } 9572 }; 9573 states.Trigger.prototype = { 9574 initialize: function initialize() { 9575 var _this3 = this; 9576 var trigger = states.Trigger.states[this.state]; 9577 if (typeof trigger === 'function') { 9578 trigger.call(window, this.element); 9579 } else { 9580 Object.keys(trigger || {}
9580).forEach(function (event) { 9581 _this3.defaultTrigger(event, trigger[event]); 9582 }); 9583 } 9584 this.element.data("trigger:".concat(this.state), true); 9585 }, 9586 defaultTrigger: function defaultTrigger(event, valueFn) { 9587 var oldValue = valueFn.call(this.element); 9588 this.element.on(event, $.proxy(function (e) { 9589 var value = valueFn.call(this.element, e); 9590 if (oldValue !== value) { 9591 this.element.trigger({ 9592 type: "state:".concat(this.state), 9593 value: value, 9594 oldValue: oldValue 9595 }); 9596 oldValue = value; 9597 } 9598 }, this)); 9599 states.postponed.push($.proxy(function () { 9600 this.element.trigger({ 9601 type: "state:".concat(this.state), 9602 value: oldValue, 9603 oldValue: null 9604 }); 9605 }, this)); 9606 } 9607 }; 9608 states.Trigger.states = { 9609 empty: { 9610 keyup: function keyup() { 9611 return this.val() === ''; 9612 }, 9613 change: function change() { 9614 return this.val() === ''; 9615 } 9616 }, 9617 checked: { 9618 change: function change() { 9619 var checked = false; 9620 this.each(function () { 9621 checked = $(this).prop('checked'); 9622 return !checked; 9623 }); 9624 return checked; 9625 } 9626 }, 9627 value: { 9628 keyup: function keyup() { 9629 if (this.length > 1) { 9630 return this.filter(':checked').val() || false; 9631 } 9632 return this.val(); 9633 }, 9634 change: function change() { 9635 if (this.length > 1) { 9636 return this.filter(':checked').val() || false; 9637 } 9638 return this.val(); 9639 } 9640 }, 9641 collapsed: { 9642 collapsed: function collapsed(e) { 9643 return typeof e !== 'undefined' && 'value' in e ? e.value : !this.is('[open]'); 9644 } 9645 } 9646 }; 9647 states.State = function (state) { 9648 this.pristine = state; 9649 this.name = state; 9650 var process = true; 9651 do { 9652 while (this.name.charAt(0) === '!') { 9653 this.name = this.name.substring(1); 9654 this.invert = !this.invert; 9655 } 9656 if (this.name in states.State.aliases) { 9657 this.name = states.State.aliases[this.name]; 9658 } else { 9659 process = false; 9660 } 9661 } while (process); 9662 }; 9663 states.State.sanitize = function (state) { 9664 if (state instanceof states.State) { 9665 return state; 9666 } 9667 return new states.State(state); 9668 }; 9669 states.State.aliases = { 9670 enabled: '!disabled', 9671 invisible: '!visible', 9672 invalid: '!valid', 9673 untouched: '!touched', 9674 optional: '!required', 9675 filled: '!empty', 9676 unchecked: '!checked', 9677 irrelevant: '!relevant', 9678 expanded: '!collapsed', 9679 open: '!collapsed', 9680 closed: 'collapsed', 9681 readwrite: '!readonly' 9682 }; 9683 states.State.prototype = { 9684 invert: false, 9685 toString: function toString() { 9686 return this.name; 9687 } 9688 }; 9689 var $document = $(document); 9690 $document.on('state:disabled', function (e) { 9691 if (e.trigger) { 9692 $(e.target).closest('.js-form-item, .js-form-submit, .js-form-wrapper').toggleClass('form-disabled', e.value).find('select, input, textarea').prop('disabled', e.value); 9693 } 9694 }); 9695 $document.on('state:required', function (e) { 9696 if (e.trigger) { 9697 if (e.value) { 9698 var label = "label".concat(e.target.id ? "[for=".concat(e.target.id, "]") : ''); 9699 var $label = $(e.target).attr({ 9700 required: 'required', 9701 'aria-required': 'true' 9702 }).closest('.js-form-item, .js-form-wrapper').find(label); 9703 if (!$label.hasClass('js-form-required').length) { 9704 $label.addClass('js-form-required form-required'); 9705 } 9706 } else { 9707 $(e.target).removeAttr('required aria-required').closest('.js-form-item, .js-form-wrapper').find('label.js-form-required').removeClass('js-form-required form-required'); 9708 } 9709 } 9710 }); 9711 $document.on('state:visible', function (e) { 9712 if (e.trigger) { 9713 $(e.target).closest('.js-form-item, .js-form-submit, .js-form-wrapper').toggle(e.value); 9714 } 9715 }); 9716 $document.on('state:checked', function (e) { 9717 if (e.trigger) { 9718 $(e.target).closest('.js-form-item, .js-form-wrapper').find('input').prop('checked', e.value).trigger('change'); 9719 } 9720 }); 9721 $document.on('state:collapsed', function (e) { 9722 if (e.trigger) { 9723 if ($(e.target).is('[open]') === e.value) { 9724 $(e.target).find('> summary').trigger('click'); 9725 } 9726 } 9727 }); 9728})(jQuery, Drupal);; 9729/** 9730 * @file 9731 * JavaScript behaviors for custom webform #states. 9732 */ 9733 9734(function ($, Drupal, once) { 9735 9736 'use strict'; 9737 9738 Drupal.webform = Drupal.webform || {}; 9739 Drupal.webform.states = Drupal.webform.states || {}; 9740 Drupal.webform.states.slideDown = Drupal.webform.states.slideDown || {}; 9741 Drupal.webform.states.slideDown.duration = 'slow'; 9742 Drupal.webform.states.slideUp = Drupal.webform.states.slideUp || {}; 9743 Drupal.webform.states.slideUp.duration = 'fast'; 9744 9745 /* ************************************************************************ */ 9746 // jQuery functions. 9747 /* ************************************************************************ */ 9748 9749 /** 9750 * Check if an element has a specified data attribute. 9751 * 9752 * @param {string} data 9753 * The data attribute name. 9754 * 9755 * @return {boolean} 9756 * TRUE if an element has a specified data attribute. 9757 */ 9758 $.fn.hasData = function (data) { 9759 return (typeof this.data(data) !== 'undefined'); 9760 }; 9761 9762 /**
9763 * Check if element is within the webform or not. 9764 * 9765 * @return {boolean} 9766 * TRUE if element is within the webform. 9767 */ 9768 $.fn.isWebform = function () { 9769 return $(this).closest('form.webform-submission-form, form[id^="webform"], form[data-is-webform]').length ? true : false; 9770 }; 9771 9772 /** 9773 * Check if element is to be treated as a webform element. 9774 * 9775 * @return {boolean} 9776 * TRUE if element is to be treated as a webform element. 9777 */ 9778 $.fn.isWebformElement = function () { 9779 return ($(this).isWebform() || $(this).closest('[data-is-webform-element]').length) ? true : false; 9780 }; 9781 9782 /* ************************************************************************ */ 9783 // Trigger. 9784 /* ************************************************************************ */ 9785 9786 // The change event is triggered by cut-n-paste and select menus. 9787 // Issue #2445271: #states element empty check not triggered on mouse 9788 // based paste. 9789 // @see https://www.drupal.org/node/2445271 9790 Drupal.states.Trigger.states.empty.change = function change() { 9791 return this.val() === ''; 9792 }; 9793 9794 /* ************************************************************************ */ 9795 // Dependents. 9796 /* ************************************************************************ */ 9797 9798 // Apply solution included in #1962800 patch. 9799 // Issue #1962800: Form #states not working with literal integers as 9800 // values in IE11. 9801 // @see https://www.drupal.org/project/drupal/issues/1962800 9802 // @see https://www.drupal.org/files/issues/core-states-not-working-with-integers-ie11_1962800_46.patch 9803 // 9804 // This issue causes pattern, less than, and greater than support to break. 9805 // @see https://www.drupal.org/project/webform/issues/2981724 9806 var states = Drupal.states; 9807 Drupal.states.Dependent.prototype.compare = function compare(reference, selector, state) { 9808 var value = this.values[selector][state.name]; 9809 9810 var name = reference.constructor.name; 9811 if (!name) { 9812 name = $.type(reference); 9813 9814 name = name.charAt(0).toUpperCase() + name.slice(1); 9815 } 9816 if (name in states.Dependent.comparisons) { 9817 return states.Dependent.comparisons[name](reference, value); 9818 } 9819 9820 if (reference.constructor.name in states.Dependent.comparisons) { 9821 return states.Dependent.comparisons[reference.constructor.name](reference, value); 9822 } 9823 9824 return _compare2(reference, value); 9825 }; 9826 function _compare2(a, b) { 9827 if (a === b) { 9828 return typeof a === 'undefined' ? a : true; 9829 } 9830 9831 return typeof a === 'undefined' || typeof b === 'undefined'; 9832 } 9833 9834 // Adds pattern, less than, and greater than support to #state API. 9835 // @see http://drupalsun.com/julia-evans/2012/03/09/extending-form-api-states-regular-expressions 9836 Drupal.states.Dependent.comparisons.Object = function (reference, value) { 9837 if ('pattern' in reference) { 9838 return (new RegExp(reference['pattern'])).test(value); 9839 } 9840 else if ('!pattern' in reference) { 9841 return !((new RegExp(reference['!pattern'])).test(value)); 9842 } 9843 else if ('less' in reference) { 9844 return (value !== '' && parseFloat(reference['less']) > parseFloat(value)); 9845 } 9846 else if ('less_equal' in reference) { 9847 return (value !== '' && parseFloat(reference['less_equal']) >= parseFloat(value)); 9848 } 9849 else if ('greater' in reference) { 9850 return (value !== '' && parseFloat(reference['greater']) < parseFloat(value)); 9851 } 9852 else if ('greater_equal' in reference) { 9853 return (value !== '' && parseFloat(reference['greater_equal']) <= parseFloat(value)); 9854 } 9855 else if ('between' in reference || '!between' in reference) { 9856 if (value === '') { 9857 return false; 9858 } 9859 9860 var between = reference['between'] || reference['!between']; 9861 var betweenParts = between.split(':'); 9862 var greater = betweenParts[0]; 9863 var less = (typeof betweenParts[1] !== 'undefined') ? betweenParts[1] : null; 9864 var isGreaterThan = (greater === null || greater === '' || parseFloat(value) >= parseFloat(greater)); 9865 var isLessThan = (less === null || less === '' || parseFloat(value) <= parseFloat(less)); 9866 var result = (isGreaterThan && isLessThan); 9867 return (reference['!between']) ? !result : result; 9868 } 9869 else { 9870 return reference.indexOf(value) !== false; 9871 } 9872 }; 9873 9874 /* ************************************************************************ */ 9875 // States events. 9876 /* ************************************************************************ */ 9877 9878 var $document = $(document); 9879 9880 $document.on('state:required', function (e) { 9881 if (e.trigger && $(e.target).isWebformElement()) { 9882 var $target = $(e.target); 9883 // Fix #required file upload. 9884 // @see Issue #2860529: Conditional required File upload field don't work. 9885 toggleRequired($target.find('input[type="file"]'), e.value); 9886 9887 // Fix #required for radios and likert. 9888 // @see Issue #2856795: If radio buttons are required but not filled form is nevertheless submitted. 9889 if ($target.is('.js-form-type-radios, .js-form-type-webform-radios-other, .js-webform-type-radios, .js-webform-type-webform-radios-other, .js-webform-type-webform-entity-radios, .webform-likert-table')) { 9890 $target.toggleClass('required', e.value); 9891 toggleRequired($target.find('input[type="radio"]'), e.value); 9892 } 9893 9894 // Fix #required for checkboxes. 9895 // @see Issue #2938414: Checkboxes don't support #states required. 9896 // @see checkboxRequiredhandler 9897 if ($target.is('.js-form-type-checkboxes, .js-form-type-webform-checkboxes-other, .js-webform-type-checkboxes, .js-webform-type-webform-checkboxes-other')) { 9898 $target.toggleClass('required', e.value); 9899 var $checkboxes = $target.find('input[type="checkbox"]'); 9900 if (e.value) { 9901 // Add event handler. 9902 $checkboxes.on('click', statesCheckboxesRequiredEventHandler); 9903 // Initialize and add required attribute. 9904 checkboxesRequired($target); 9905 } 9906 else { 9907 // Remove event handler. 9908 $checkboxes.off('click', statesCheckboxesRequiredEventHandler); 9909 // Remove required attribute. 9910 toggleRequired($checkboxes, false); 9911 } 9912 } 9913 9914 // Fix #required for tableselect. 9915 // @see Issue #3212581: Table select does not trigger client side validation 9916 if ($target.is('.js-webform-tableselect')) { 9917 $target.toggleClass('required', e.value); 9918 var isMultiple = $target.is('[multiple]'); 9919 if (isMultiple) { 9920 // Checkboxes. 9921 var $tbody = $target.find('tbody'); 9922 var $checkboxes = $tbody.find('input[type="checkbox"]'); 9923 copyRequireMessage($target, $checkboxes); 9924 if (e.value) { 9925 $checkboxes.on('click change', statesCheckboxesRequiredEventHandler); 9926 checkboxesRequired($tbody); 9927 } 9928 else { 9929 $checkboxes.off('click change ', statesCheckboxesRequiredEventHandler); 9930 toggleRequired($tbody, false); 9931 } 9932 } 9933 else { 9934 // Radios. 9935 var $radios = $target.find('input[type="radio"]'); 9936 copyRequireMessage($target, $radios); 9937 toggleRequired($radios, e.value); 9938 } 9939 } 9940 9941 // Fix required label for elements without the for attribute. 9942 // @see Issue #3145300: Conditional Visible Select Other not working. 9943 if ($target.is('.js-form-type-webform-select-other, .js-webform-type-webform-select-other')) { 9944 var $select = $target.find('select'); 9945 toggleRequired($select, e.value); 9946 copyRequireMessage($target, $select); 9947 } 9948 if ($target.find('> label:not([for])').length) { 9949 $target.find('> label').toggleClass('js-form-required form-required', e.value); 9950 } 9951 9952 // Fix required label for checkboxes and radios. 9953 // @see Issue #2938414: Checkboxes don't support #states required 9954 // @see Issue #2731991: Setting required on radios marks all options required. 9955 // @see Issue #2856315: Conditional Logic - Requiring Radios in a Fieldset. 9956 // Fix #required for fieldsets. 9957 // @see Issue #2977569: Hidden fieldsets that become visible with conditional logic cannot be made required. 9958 if ($target.is('.js-webform-type-radios, .js-webform-type-checkboxes, fieldset')) { 9959 $target.find('legend span.fieldset-legend:not(.visually-hidden),legend span.fieldset__label:not(.visually-hidden)').toggleClass('js-form-required form-required', e.value); 9960 } 9961 9962 // Issue #2986017: Fieldsets shouldn't have required attribute. 9963 if ($target.is('fieldset')) { 9964 $target.removeAttr('required aria-required'); 9965 } 9966 } 9967 }); 9968 9969 $document.on('state:checked', function (e) { 9970 if (e.trigger) { 9971 $(e.target).trigger('change'); 9972 } 9973 }); 9974 9975 $document.on('state:readonly', function (e) { 9976 if (e.trigger && $(e.target).isWebformElement()) { 9977 $(e.target).prop('readonly', e.value).closest('.js-form-item, .js-form-wrapper').toggleClass('webform-readonly', e.value).find('input, textarea').prop('readonly', e.value); 9978 9979 // Trigger webform:readonly. 9980 $(e.target).trigger('webform:readonly') 9981 .find('select, input, textarea, button').trigger('webform:readonly'); 9982 } 9983 }); 9984 9985 $document.on('state:visible state:visible-slide', function (e) { 9986 if (e.trigger && $(e.target).isWebformElement()) { 9987 if (e.value) { 9988 $(':input', e.target).addBack().each(function () { 9989 restoreValueAndRequired(this); 9990 triggerEventHandlers(this); 9991 }); 9992 } 9993 else { 9994 // @see https://www.sitepoint.com/jquery-function-clear-form-data/ 9995 $(':input', e.target).addBack().each(function () { 9996 backupValueAndRequired(this); 9997 clearValueAndRequired(this); 9998 triggerEventHandlers(this); 9999 }); 10000 } 10001 } 10002 }); 10003 10004 $document.on('state:visible-slide', function (e) { 10005 if (e.trigger && $(e.target).isWebformElement()) { 10006 var effect = e.value ? 'slideDown' : 'slideUp'; 10007 var duration = Drupal.webform.states[effect].duration; 10008 $(e.target).closest('.js-form-item, .js-form-submit, .js-form-wrapper')[effect](duration); 10009 } 10010 }); 10011 Drupal.states.State.aliases['invisible-slide'] = '!visible-slide'; 10012 10013 $document.on('state:disabled', function (e) { 10014 if (e.trigger && $(e.target).isWebformElement()) { 10015 // Make sure disabled property is set before triggering webform:disabled. 10016 // Copied from: core/misc/states.js 10017 $(e.target) 10018 .prop('disabled', e.value) 10019 .closest('.js-form-item, .js-form-submit, .js-form-wrapper').toggleClass('form-disabled', e.value) 10020 .find('select, input, textarea, button').prop('disabled', e.value); 10021 10022 // Never disable hidden file[fids] because the existing values will 10023 // be completely lost when the webform is submitted. 10024 var fileElements = $(e.target) 10025 .find(':input[type="hidden"][name$="[fids]"]'); 10026 if (fileElements.length) { 10027 // Remove 'disabled' attribute from fieldset which will block 10028 // all disabled elements from being submitted. 10029 if ($(e.target).is('fieldset')) { 10030 $(e.target).prop('disabled', false); 10031 } 10032 fileElements.removeAttr('disabled'); 10033 } 10034 10035 // Trigger webform:disabled. 10036 $(e.target).trigger('webform:disabled') 10037 .find('select, input, textarea, button').trigger('webform:disabled'); 10038 } 10039 }); 10040 10041 /* ************************************************************************ */ 10042 // Behaviors. 10043 /* ************************************************************************ */ 10044 10045 /** 10046 * Adds HTML5 validation to required checkboxes. 10047 * 10048 * @type {Drupal~behavior} 10049 * 10050 * @see https://www.drupal.org/project/webform/issues/3068998 10051 */ 10052 Drupal.behaviors.webformCheckboxesRequired = { 10053 attach: function (context) { 10054 $(once('webform-checkboxes-required', '.js-form-type-checkboxes.required, .js-form-type-webform-checkboxes-other.required, .js-webform-type-checkboxes.required, .js-webform-type-webform-checkboxes-other.required, .js-webform-type-webform-radios-other.checkboxes', context)) 10055 .each(function () { 10056 var $element = $(this); 10057 $element.find('input[type="checkbox"]').on('click', statesCheckboxesRequiredEventHandler); 10058 setTimeout(function () {checkboxesRequired($element);}); 10059 }); 10060 } 10061 }; 10062 10063 /** 10064 * Adds HTML5 validation to required radios. 10065 * 10066 * @type {Drupal~behavior} 10067 * 10068 * @see https://www.drupal.org/project/webform/issues/2856795 10069 */ 10070 Drupal.behaviors.webformRadiosRequired = { 10071 attach: function (context) { 10072 $(once('webform-radios-required', '.js-form-type-radios, .js-form-type-webform-radios-other, .js-webform-type-radios, .js-webform-type-webform-radios-other, .js-webform-type-webform-entity-radios, .js-webform-type-webform-scale', context)) 10073 .each(function () { 10074 var $element = $(this); 10075 setTimeout(function () {radiosRequired($element);}); 10076 }); 10077 } 10078 }; 10079 10080 /** 10081 * Adds HTML5 validation to required table select. 10082 * 10083 * @type {Drupal~behavior} 10084 * 10085 * @see https://www.drupal.org/project/webform/issues/2856795 10086 */ 10087 Drupal.behaviors.webformTableSelectRequired = { 10088 attach: function (context) { 10089 $(once('webform-tableselect-required','.js-webform-tableselect.required', context)) 10090 .each(function () { 10091 var $element = $(this); 10092 var $tbody = $element.find('tbody'); 10093 var isMultiple = $element.is('[multiple]'); 10094 10095 if (isMultiple) { 10096 // Check all checkbox triggers checkbox 'change' event on 10097 // select and deselect all. 10098 // @see Drupal.tableSelect 10099 $tbody.find('input[type="checkbox"]').on('click change', function () { 10100 checkboxesRequired($tbody); 10101 }); 10102 } 10103 10104 setTimeout(function () { 10105 isMultiple ? checkboxesRequired($tbody) : radiosRequired($element); 10106 }); 10107 }); 10108 } 10109 }; 10110 10111 /** 10112 * Add HTML5 multiple checkboxes required validation. 10113 * 10114 * @param {jQuery} $element
10115 * An jQuery object containing HTML5 radios. 10116 * 10117 * @see https://stackoverflow.com/a/37825072/145846 10118 */ 10119 function checkboxesRequired($element) { 10120 var $firstCheckbox = $element.find('input[type="checkbox"]').first(); 10121 var isChecked = $element.find('input[type="checkbox"]').is(':checked'); 10122 toggleRequired($firstCheckbox, !isChecked); 10123 copyRequireMessage($element, $firstCheckbox); 10124 } 10125 10126 /** 10127 * Add HTML5 radios required validation. 10128 * 10129 * @param {jQuery} $element 10130 * An jQuery object containing HTML5 radios. 10131 * 10132 * @see https://www.drupal.org/project/webform/issues/2856795 10133 */ 10134 function radiosRequired($element) { 10135 var $radios = $element.find('input[type="radio"]'); 10136 var isRequired = $element.hasClass('required'); 10137 toggleRequired($radios, isRequired); 10138 copyRequireMessage($element, $radios); 10139 } 10140 10141 /* ************************************************************************ */ 10142 // Event handlers. 10143 /* ************************************************************************ */ 10144 10145 /** 10146 * Trigger #states API HTML5 multiple checkboxes required validation. 10147 * 10148 * @see https://stackoverflow.com/a/37825072/145846 10149 */ 10150 function statesCheckboxesRequiredEventHandler() { 10151 var $element = $(this).closest('.js-webform-type-checkboxes, .js-webform-type-webform-checkboxes-other'); 10152 checkboxesRequired($element); 10153 } 10154 10155 /** 10156 * Trigger an input's event handlers. 10157 * 10158 * @param {element} input 10159 * An input. 10160 */ 10161 function triggerEventHandlers(input) { 10162 var $input = $(input); 10163 var type = input.type; 10164 var tag = input.tagName.toLowerCase(); 10165 // Add 'webform.states' as extra parameter to event handlers. 10166 // @see Drupal.behaviors.webformUnsaved 10167 var extraParameters = ['webform.states']; 10168 if (type === 'checkbox' || type === 'radio') { 10169 $input 10170 .trigger('change', extraParameters) 10171 .trigger('blur', extraParameters); 10172 } 10173 else if (tag === 'select') { 10174 // Do not trigger the onchange event for Address element's country code 10175 // when it is initialized. 10176 // @see \Drupal\address\Element\Country 10177 if ($input.closest('.webform-type-address').length) { 10178 if (!$input.data('webform-states-address-initialized') 10179 && $input.attr('autocomplete') === 'country' 10180 && $input.val() === $input.find("option[selected]").attr('value')) { 10181 return; 10182 } 10183 $input.data('webform-states-address-initialized', true); 10184 } 10185 10186 $input 10187 .trigger('change', extraParameters) 10188 .trigger('blur', extraParameters); 10189 } 10190 else if (type !== 'submit' && type !== 'button' && type !== 'file') { 10191 // Make sure input mask is removed and then reset when value is restored. 10192 // @see https://www.drupal.org/project/webform/issues/3124155 10193 // @see https://www.drupal.org/project/webform/issues/3202795 10194 var hasInputMask = ($.fn.inputmask && $input.hasClass('js-webform-input-mask')); 10195 hasInputMask && $input.inputmask('remove'); 10196 10197 $input 10198 .trigger('input', extraParameters) 10199 .trigger('change', extraParameters) 10200 .trigger('keydown', extraParameters) 10201 .trigger('keyup', extraParameters) 10202 .trigger('blur', extraParameters); 10203 10204 hasInputMask && $input.inputmask(); 10205 } 10206 } 10207 10208 /* ************************************************************************ */ 10209 // Backup and restore value functions. 10210 /* ************************************************************************ */ 10211 10212 /** 10213 * Backup an input's current value and required attribute 10214 * 10215 * @param {element} input 10216 * An input. 10217 */ 10218 function backupValueAndRequired(input) { 10219 var $input = $(input); 10220 var type = input.type; 10221 var tag = input.tagName.toLowerCase(); // Normalize case. 10222 10223 // Backup required. 10224 if ($input.prop('required') && !$input.hasData('webform-required')) { 10225 $input.data('webform-required', true); 10226 } 10227 10228 // Backup value. 10229 if (!$input.hasData('webform-value')) { 10230 if (type === 'checkbox' || type === 'radio') { 10231 $input.data('webform-value', $input.prop('checked')); 10232 } 10233 else if (tag === 'select') { 10234 var values = []; 10235 $input.find('option:selected').each(function (i, option) { 10236 values[i] = option.value; 10237 }); 10238 $input.data('webform-value', values); 10239 } 10240 else if (type !== 'submit' && type !== 'button') { 10241 $input.data('webform-value', input.value); 10242 } 10243 } 10244 } 10245 10246 /** 10247 * Restore an input's value and required attribute. 10248 * 10249 * @param {element} input 10250 * An input. 10251 */ 10252 function restoreValueAndRequired(input) { 10253 var $input = $(input); 10254 10255 // Restore value. 10256 var value = $input.data('webform-value'); 10257 if (typeof value !== 'undefined') { 10258 var type = input.type; 10259 var tag = input.tagName.toLowerCase(); // Normalize case. 10260 10261 if (type === 'checkbox' || type === 'radio') { 10262 $input.prop('checked', value); 10263 } 10264 else if (tag === 'select') { 10265 $.each(value, function (i, option_value) { 10266 // Prevent "Syntax error, unrecognized expression" error by 10267 // escaping single quotes. 10268 // @see https://forum.jquery.com/topic/escape-characters-prior-to-using-selector 10269 option_value = option_value.replace(/'/g, "\\\'"); 10270 $input.find("option[value='" + option_value + "']").prop('selected', true); 10271 }); 10272 } 10273 else if (type !== 'submit' && type !== 'button') { 10274 input.value = value; 10275 } 10276 $input.removeData('webform-value'); 10277 } 10278 10279 // Restore required. 10280 var required = $input.data('webform-required'); 10281 if (typeof required !== 'undefined') { 10282 if (required) { 10283 $input.prop('required', true); 10284 } 10285 $input.removeData('webform-required'); 10286 } 10287 } 10288 10289 /** 10290 * Clear an input's value and required attributes. 10291 * 10292 * @param {element} input 10293 * An input. 10294 */ 10295 function clearValueAndRequired(input) { 10296 var $input = $(input); 10297 10298 // Check for #states no clear attribute.
10299 // @see https://css-tricks.com/snippets/jquery/make-an-jquery-hasattr/ 10300 if ($input.closest('[data-webform-states-no-clear]').length) { 10301 return; 10302 } 10303 10304 // Clear value. 10305 var type = input.type; 10306 var tag = input.tagName.toLowerCase(); // Normalize case. 10307 if (type === 'checkbox' || type === 'radio') { 10308 $input.prop('checked', false); 10309 } 10310 else if (tag === 'select') { 10311 if ($input.find('option[value=""]').length) { 10312 $input.val(''); 10313 } 10314 else { 10315 input.selectedIndex = -1; 10316 } 10317 } 10318 else if (type !== 'submit' && type !== 'button') { 10319 input.value = (type === 'color') ? '#000000' : ''; 10320 } 10321 10322 // Clear required. 10323 $input.prop('required', false); 10324 } 10325 10326 /* ************************************************************************ */ 10327 // Helper functions. 10328 /* ************************************************************************ */ 10329 10330 /** 10331 * Toggle an input's required attributes. 10332 * 10333 * @param {element} $input 10334 * An input. 10335 * @param {boolean} required 10336 * Is input required. 10337 */ 10338 function toggleRequired($input, required) { 10339 var isCheckboxOrRadio = ($input.attr('type') === 'radio' || $input.attr('type') === 'checkbox'); 10340 if (required) { 10341 if (isCheckboxOrRadio) { 10342 $input.attr({'required': 'required'}); 10343 } 10344 else { 10345 $input.attr({'required': 'required', 'aria-required': 'true'}); 10346 } 10347 } 10348 else { 10349 if (isCheckboxOrRadio) { 10350 $input.removeAttr('required'); 10351 } 10352 else { 10353 $input.removeAttr('required aria-required'); 10354 } 10355 } 10356 } 10357 10358 /** 10359 * Copy the clientside_validation.module's message. 10360 * 10361 * @param {jQuery} $source 10362 * The source element. 10363 * @param {jQuery} $destination 10364 * The destination element. 10365 */ 10366 function copyRequireMessage($source, $destination) { 10367 if ($source.attr('data-msg-required')) { 10368 $destination.attr('data-msg-required', $source.attr('data-msg-required')); 10369 } 10370 } 10371 10372})(jQuery, Drupal, once); 10373; 10374/** 10375 * @file 10376 * JavaScript behaviors for webforms. 10377 */ 10378 10379(function ($, Drupal, once) { 10380 10381 'use strict'; 10382 10383 /** 10384 * Remove single submit event listener. 10385 * 10386 * @type {Drupal~behavior} 10387 * 10388 * @prop {Drupal~behaviorAttach} attach 10389 * Attaches the behavior for removing single submit event listener. 10390 * 10391 * @see Drupal.behaviors.formSingleSubmit 10392 */ 10393 Drupal.behaviors.webformRemoveFormSingleSubmit = { 10394 attach: function attach() { 10395 function onFormSubmit(e) { 10396 var $form = $(e.currentTarget); 10397 $form.removeAttr('data-drupal-form-submit-last'); 10398 } 10399 $(once('webform-single-submit', 'body')) 10400 .on('submit.singleSubmit', 'form.webform-remove-single-submit', onFormSubmit); 10401 } 10402 }; 10403 10404 /** 10405 * Prevent webform autosubmit on wizard pages. 10406 * 10407 * @type {Drupal~behavior} 10408 * 10409 * @prop {Drupal~behaviorAttach} attach 10410 * Attaches the behavior for disabling webform autosubmit. 10411 * Wizard pages need to be progressed with the Previous or Next buttons, 10412 * not by pressing Enter. 10413 */ 10414 Drupal.behaviors.webformDisableAutoSubmit = { 10415 attach: function (context) { 10416 // Not using context so that inputs loaded via Ajax will have autosubmit 10417 // disabled. 10418 // @see http://stackoverflow.com/questions/11235622/jquery-disable-form-submit-on-enter 10419 $(once('webform-disable-autosubmit', $('.js-webform-disable-autosubmit input').not(':button, :submit, :reset, :image, :file'))) 10420 .on('keyup keypress', function (e) { 10421 if (e.which === 13) { 10422 e.preventDefault(); 10423 return false; 10424 } 10425 }); 10426 } 10427 }; 10428 10429 /** 10430 * Custom required and pattern validation error messages. 10431 * 10432 * @type {Drupal~behavior} 10433 * 10434 * @prop {Drupal~behaviorAttach} attach 10435 * Attaches the behavior for the webform custom required and pattern 10436 * validation error messages. 10437 * 10438 * @see http://stackoverflow.com/questions/5272433/html5-form-required-attribute-set-custom-validation-message 10439 **/ 10440 Drupal.behaviors.webformRequiredError = { 10441 attach: function (context) { 10442 $(once('webform-required-error', $(context).find(':input[data-webform-required-error], :input[data-webform-pattern-error]'))) 10443 .on('invalid', function () { 10444 this.setCustomValidity(''); 10445 if (this.valid) { 10446 return; 10447 } 10448 10449 if (this.validity.patternMismatch && $(this).attr('data-webform-pattern-error')) { 10450 this.setCustomValidity($(this).attr('data-webform-pattern-error')); 10451 } 10452 else if (this.validity.valueMissing && $(this).attr('data-webform-required-error')) { 10453 this.setCustomValidity($(this).attr('data-webform-required-error')); 10454 } 10455 }) 10456 .on('input change', function () { 10457 // Find all related elements by name and reset custom validity. 10458 // This specifically applies to required radios and checkboxes. 10459 var name = $(this).attr('name'); 10460 $(this.form).find(':input[name="' + name + '"]').each(function () { 10461 this.setCustomValidity(''); 10462 }); 10463 }); 10464 } 10465 }; 10466 10467 // When #state:required is triggered we need to reset the target elements 10468 // custom validity. 10469 $(document).on('state:required', function (e) { 10470 $(e.target).filter(':input[data-webform-required-error]') 10471 .each(function () {this.setCustomValidity('');}); 10472 }); 10473 10474})(jQuery, Drupal, once); 10475; 10476/** 10477 * @file 10478 * JavaScript behaviors for details element. 10479 */ 10480 10481(function ($, Drupal, once) { 10482 10483 'use strict'; 10484 10485 // Determine if local storage exists and is enabled. 10486 // This approach is copied from Modernizr. 10487 // @see https://github.com/Modernizr/Modernizr/blob/c56fb8b09515f629806ca44742932902ac145302/modernizr.js#L696-731 10488 var hasLocalStorage = (function () { 10489 try { 10490 localStorage.setItem('webform', 'webform'); 10491 localStorage.removeItem('webform'); 10492 return true; 10493 } 10494 catch (e) { 10495 return false;
10496 } 10497 }()); 10498 10499 /** 10500 * Attach handler to save details open/close state. 10501 * 10502 * @type {Drupal~behavior} 10503 */ 10504 Drupal.behaviors.webformDetailsSave = { 10505 attach: function (context) { 10506 if (!hasLocalStorage) { 10507 return; 10508 } 10509 10510 // Summary click event handler. 10511 $(once('webform-details-summary-save', 'details > summary', context)).on('click', function () { 10512 var $details = $(this).parent(); 10513 10514 // @see https://css-tricks.com/snippets/jquery/make-an-jquery-hasattr/ 10515 if ($details[0].hasAttribute('data-webform-details-nosave')) { 10516 return; 10517 } 10518 10519 var name = Drupal.webformDetailsSaveGetName($details); 10520 if (!name) { 10521 return; 10522 } 10523 10524 var open = ($details.attr('open') !== 'open') ? '1' : '0'; 10525 localStorage.setItem(name, open); 10526 }); 10527 10528 // Initialize details open state via local storage. 10529 $(once('webform-details-save', 'details', context)).each(function () { 10530 var $details = $(this); 10531 10532 var name = Drupal.webformDetailsSaveGetName($details); 10533 if (!name) { 10534 return; 10535 } 10536 10537 var open = localStorage.getItem(name); 10538 if (open === null) { 10539 return; 10540 } 10541 10542 if (open === '1') { 10543 $details.attr('open', 'open'); 10544 } 10545 else { 10546 $details.removeAttr('open'); 10547 } 10548 }); 10549 } 10550 10551 }; 10552 10553 /** 10554 * Get the name used to store the state of details element. 10555 * 10556 * @param {jQuery} $details 10557 * A details element. 10558 * 10559 * @return {string} 10560 * The name used to store the state of details element. 10561 */ 10562 Drupal.webformDetailsSaveGetName = function ($details) { 10563 if (!hasLocalStorage) { 10564 return ''; 10565 } 10566 10567 // Ignore details that are vertical tabs pane. 10568 if ($details.hasClass('vertical-tabs__pane')) { 10569 return ''; 10570 } 10571 10572 // Any details element not included a webform must have define its own id. 10573 var webformId = $details.attr('data-webform-element-id'); 10574 if (webformId) { 10575 return 'Drupal.webform.' + webformId.replace('--', '.'); 10576 } 10577 10578 var detailsId = $details.attr('id'); 10579 if (!detailsId) { 10580 return ''; 10581 } 10582 10583 var $form = $details.parents('form'); 10584 if (!$form.length || !$form.attr('id')) { 10585 return ''; 10586 } 10587 10588 var formId = $form.attr('id'); 10589 if (!formId) { 10590 return ''; 10591 } 10592 10593 // ISSUE: When Drupal renders a webform in a modal dialog it appends a unique 10594 // identifier to webform ids and details ids. (i.e. my-form--FeSFISegTUI) 10595 // WORKAROUND: Remove the unique id that delimited using double dashes. 10596 formId = formId.replace(/--.+?$/, '').replace(/-/g, '_'); 10597 detailsId = detailsId.replace(/--.+?$/, '').replace(/-/g, '_'); 10598 return 'Drupal.webform.' + formId + '.' + detailsId; 10599 }; 10600 10601})(jQuery, Drupal, once); 10602; 10603/** 10604* DO NOT EDIT THIS FILE. 10605* See the following change record for more information, 10606* https://www.drupal.org/node/2815083 10607* @preserve 10608**/ 10609(function (Drupal, debounce) { 10610 var liveElement; 10611 var announcements = []; 10612 Drupal.behaviors.drupalAnnounce = { 10613 attach: function attach(context) { 10614 if (!liveElement) { 10615 liveElement = document.createElement('div'); 10616 liveElement.id = 'drupal-live-announce'; 10617 liveElement.className = 'visually-hidden'; 10618 liveElement.setAttribute('aria-live', 'polite'); 10619 liveElement.setAttribute('aria-busy', 'false'); 10620 document.body.appendChild(liveElement); 10621 } 10622 } 10623 }; 10624 function announce() { 10625 var text = []; 10626 var priority = 'polite'; 10627 var announcement; 10628 var il = announcements.length; 10629 for (var i = 0; i < il; i++) { 10630 announcement = announcements.pop(); 10631 text.unshift(announcement.text); 10632 if (announcement.priority === 'assertive') { 10633 priority = 'assertive'; 10634 } 10635 } 10636 if (text.length) { 10637 liveElement.innerHTML = ''; 10638 liveElement.setAttribute('aria-busy', 'true'); 10639 liveElement.setAttribute('aria-live', priority); 10640 liveElement.innerHTML = text.join('\n'); 10641 liveElement.setAttribute('aria-busy', 'false'); 10642 } 10643 } 10644 Drupal.announce = function (text, priority) { 10645 announcements.push({ 10646 text: text, 10647 priority: priority 10648 }); 10649 return debounce(announce, 200)(); 10650 }; 10651})(Drupal, Drupal.debounce);; 10652/** 10653 * @file 10654 * JavaScript behaviors for details element. 10655 */ 10656 10657(function ($, Drupal, once) { 10658 10659 'use strict'; 10660 10661 Drupal.webform = Drupal.webform || {}; 10662 Drupal.webform.detailsToggle = Drupal.webform.detailsToggle || {}; 10663 Drupal.webform.detailsToggle.options = Drupal.webform.detailsToggle.options || {}; 10664 10665 /** 10666 * Attach handler to toggle details open/close state. 10667 * 10668 * @type {Drupal~behavior} 10669 */ 10670 Drupal.behaviors.webformDetailsToggle = { 10671 attach: function (context) { 10672 $(once('webform-details-toggle', '.js-webform-details-toggle', context)).each(function () { 10673 var $form = $(this); 10674 var $tabs = $form.find('.webform-tabs'); 10675 10676 // Get only the main details elements and ignore all nested details. 10677 var selector = ($tabs.length) ? '.webform-tab' : '.js-webform-details-toggle, .webform-elements'; 10678 var $details = $form.find('details').filter(function () { 10679 var $parents = $(this).parentsUntil(selector); 10680 return ($parents.find('details').length === 0); 10681 }); 10682 10683 // Toggle is only useful when there are two or more details elements. 10684 if ($details.length < 2) { 10685 return; 10686 } 10687 10688 var options = $.extend({ 10689 button: '<button type="button" class="webform-details-toggle-state"></button>' 10690 }, Drupal.webform.detailsToggle.options); 10691 10692 // Create toggle buttons. 10693 var $toggle = $(options.button) 10694 .attr('title', Drupal.t('Toggle details widget state.')) 10695 .on('click', function (e) { 10696 // Get details that are not vertical tabs pane. 10697 var $details = $form.find('details:not(.vertical-tabs__pane)'); 10698 var open; 10699 if (Drupal.webform.detailsToggle.isFormDetailsOpen($form)) { 10700 $details.removeAttr('open'); 10701 open = 0; 10702 } 10703 else { 10704 $details.attr('open', 'open'); 10705 open = 1; 10706 } 10707 Drupal.webform.detailsToggle.setDetailsToggleLabel($form); 10708 10709 // Set the saved states for all the details elements. 10710 // @see webform.element.details.save.js 10711 if (Drupal.webformDetailsSaveGetName) { 10712 $details.each(function () { 10713 // Note: Drupal.webformDetailsSaveGetName checks if localStorage 10714 // exists and is enabled. 10715 // @see webform.element.details.save.js 10716 var name = Drupal.webformDetailsSaveGetName($(this)); 10717 if (name) {
10718 localStorage.setItem(name, open); 10719 } 10720 }); 10721 } 10722 }) 10723 .wrap('<div class="webform-details-toggle-state-wrapper"></div>') 10724 .parent(); 10725 10726 if ($tabs.length) { 10727 // Add toggle state before the tabs. 10728 $tabs.find('.item-list:first-child').eq(0).before($toggle); 10729 } 10730 else { 10731 // Add toggle state link to first details element. 10732 $details.eq(0).before($toggle); 10733 } 10734 10735 Drupal.webform.detailsToggle.setDetailsToggleLabel($form); 10736 }); 10737 } 10738 }; 10739 10740 /** 10741 * Determine if a webform's details are all opened. 10742 * 10743 * @param {jQuery} $form 10744 * A webform. 10745 * 10746 * @return {boolean} 10747 * TRUE if a webform's details are all opened. 10748 */ 10749 Drupal.webform.detailsToggle.isFormDetailsOpen = function ($form) { 10750 return ($form.find('details[open]').length === $form.find('details').length); 10751 }; 10752 10753 /** 10754 * Set a webform's details toggle state widget label. 10755 * 10756 * @param {jQuery} $form 10757 * A webform. 10758 */ 10759 Drupal.webform.detailsToggle.setDetailsToggleLabel = function ($form) { 10760 var isOpen = Drupal.webform.detailsToggle.isFormDetailsOpen($form); 10761 10762 var label = (isOpen) ? Drupal.t('Collapse all') : Drupal.t('Expand all'); 10763 $form.find('.webform-details-toggle-state').html(label); 10764 10765 var text = (isOpen) ? Drupal.t('All details have been expanded.') : Drupal.t('All details have been collapsed.'); 10766 Drupal.announce(text); 10767 }; 10768 10769})(jQuery, Drupal, once); 10770; 10771/** 10772 * @file 10773 * JavaScript behaviors for message element integration. 10774 */ 10775 10776(function ($, Drupal, once) { 10777 10778 'use strict'; 10779 10780 // Determine if local storage exists and is enabled. 10781 // This approach is copied from Modernizr. 10782 // @see https://github.com/Modernizr/Modernizr/blob/c56fb8b09515f629806ca44742932902ac145302/modernizr.js#L696-731 10783 var hasLocalStorage = (function () { 10784 try { 10785 localStorage.setItem('webform', 'webform'); 10786 localStorage.removeItem('webform'); 10787 return true; 10788 } 10789 catch (e) { 10790 return false; 10791 } 10792 }()); 10793 10794 // Determine if session storage exists and is enabled. 10795 // This approach is copied from Modernizr. 10796 // @see https://github.com/Modernizr/Modernizr/blob/c56fb8b09515f629806ca44742932902ac145302/modernizr.js#L696-731 10797 var hasSessionStorage = (function () { 10798 try { 10799 sessionStorage.setItem('webform', 'webform'); 10800 sessionStorage.removeItem('webform'); 10801 return true; 10802 } 10803 catch (e) { 10804 return false; 10805 } 10806 }()); 10807 10808 /** 10809 * Behavior for handler message close. 10810 * 10811 * @type {Drupal~behavior} 10812 */ 10813 Drupal.behaviors.webformMessageClose = { 10814 attach: function (context) { 10815 $(once('webform-message--close', '.js-webform-message--close', context)).each(function () { 10816 var $element = $(this); 10817 10818 var id = $element.attr('data-message-id'); 10819 var storage = $element.attr('data-message-storage'); 10820 var effect = $element.attr('data-message-close-effect') || 'hide'; 10821 switch (effect) { 10822 case 'slide': effect = 'slideUp'; break; 10823 10824 case 'fade': effect = 'fadeOut'; break; 10825 } 10826 10827 // Check storage status. 10828 if (isClosed($element, storage, id)) { 10829 return; 10830 } 10831 10832 // Only show element if it's style is not set to 'display: none' 10833 // and it is not hidden via .js-webform-states-hidden. 10834 if ($element.attr('style') !== 'display: none;' && !$element.hasClass('js-webform-states-hidden')) { 10835 $element.show(); 10836 } 10837 10838 $element.find('.js-webform-message__link').on('click', function (event) { 10839 $element[effect](); 10840 setClosed($element, storage, id); 10841 $element.trigger('close'); 10842 event.preventDefault(); 10843 }); 10844 }); 10845 } 10846 }; 10847 10848 function isClosed($element, storage, id) { 10849 if (!id || !storage) { 10850 return false; 10851 } 10852 10853 switch (storage) { 10854 case 'local': 10855 if (hasLocalStorage) { 10856 return localStorage.getItem('Drupal.webform.message.' + id) || false; 10857 } 10858 return false; 10859 10860 case 'session': 10861 if (hasSessionStorage) { 10862 return sessionStorage.getItem('Drupal.webform.message.' + id) || false; 10863 } 10864 return false;
10865 10866 default: 10867 return false; 10868 } 10869 } 10870 10871 function setClosed($element, storage, id) { 10872 if (!id || !storage) { 10873 return; 10874 } 10875 10876 switch (storage) { 10877 case 'local': 10878 if (hasLocalStorage) { 10879 localStorage.setItem('Drupal.webform.message.' + id, true); 10880 } 10881 break; 10882 10883 case 'session': 10884 if (hasSessionStorage) { 10885 sessionStorage.setItem('Drupal.webform.message.' + id, true); 10886 } 10887 break; 10888 10889 case 'user': 10890 case 'state': 10891 case 'custom': 10892 $.get($element.find('.js-webform-message__link').attr('href')); 10893 return true; 10894 } 10895 } 10896 10897})(jQuery, Drupal, once); 10898; 10899/** 10900 * @file 10901 * JavaScript behaviors for checkboxes. 10902 */ 10903 10904(function ($, Drupal, once) { 10905 10906 'use strict'; 10907 10908 /** 10909 * Adds check all or none checkboxes support. 10910 * 10911 * @type {Drupal~behavior} 10912 * 10913 * @see https://www.drupal.org/project/webform/issues/3068998 10914 */ 10915 Drupal.behaviors.webformCheckboxesAllorNone = { 10916 attach: function (context) { 10917 $(once('webform-checkboxes-all-or-none', '[data-options-all], [data-options-none]', context)) 10918 .each(function () { 10919 var $element = $(this); 10920 10921 var options_all_value = $element.data('options-all'); 10922 var options_none_value = $element.data('options-none'); 10923 10924 // Get all checkboxes. 10925 var $checkboxes = $element.find('input[type="checkbox"]'); 10926 10927 // Get all options/checkboxes. 10928 var $options = $checkboxes 10929 .not('[value="' + options_all_value + '"]') 10930 .not('[value="' + options_none_value + '"]'); 10931 10932 // Get options all and none checkboxes. 10933 var $options_all = $element 10934 .find(':checkbox[value="' + options_all_value + '"]'); 10935 var $options_none = $element 10936 .find(':checkbox[value="' + options_none_value + '"]'); 10937 10938 // All of the above. 10939 if ($options_all.length) { 10940 $options_all.on('click', toggleCheckAllEventHandler); 10941 if ($options_all.prop('checked')) { 10942 toggleCheckAllEventHandler(); 10943 } 10944 } 10945 10946 // None of the above. 10947 if ($options_none.length) { 10948 $options_none.on('click', toggleCheckNoneEventHandler); 10949 toggleCheckNoneEventHandler(); 10950 } 10951 10952 $options.on('click', toggleCheckboxesEventHandler); 10953 toggleCheckboxesEventHandler(); 10954 10955 /** 10956 * Toggle check all checkbox checked state. 10957 */ 10958 function toggleCheckAllEventHandler() { 10959 if ($options_all.prop('checked')) { 10960 // Uncheck options none. 10961 if ($options_none.is(':checked')) { 10962 $options_none 10963 .prop('checked', false) 10964 .trigger('change', ['webform.states']); 10965 } 10966 // Check check all unchecked options. 10967 $options.not(':checked') 10968 .prop('checked', true) 10969 .trigger('change', ['webform.states']); 10970 } 10971 else { 10972 // Check uncheck all checked options. 10973 $options.filter(':checked') 10974 .prop('checked', false) 10975 .trigger('change', ['webform.states']); 10976 } 10977 } 10978 10979 /** 10980 * Toggle check none checkbox checked state. 10981 */ 10982 function toggleCheckNoneEventHandler() { 10983 if ($options_none.prop('checked')) { 10984 $checkboxes 10985 .not('[value="' + options_none_value + '"]') 10986 .filter(':checked') 10987 .prop('checked', false) 10988 .trigger('change', ['webform.states']); 10989 } 10990 } 10991 10992 /** 10993 * Toggle check all checkbox checked state. 10994 */ 10995 function toggleCheckboxesEventHandler() { 10996 var isAllChecked = ($options.filter(':checked').length === $options.length); 10997 if ($options_all.length 10998 && $options_all.prop('checked') !== isAllChecked) { 10999 $options_all 11000 .prop('checked', isAllChecked) 11001 .trigger('change', ['webform.states']); 11002 } 11003 var isOneChecked = $options.is(':checked'); 11004 if ($options_none.length 11005 && isOneChecked) { 11006 $options_none 11007 .prop('checked', false) 11008 .trigger('change', ['webform.states']); 11009 } 11010 } 11011 }); 11012 } 11013 }; 11014 11015})(jQuery, Drupal, once); 11016; 11017/** 11018 * @file 11019 * JavaScript behaviors for options elements. 11020 */ 11021 11022(function ($, Drupal) { 11023 11024 'use strict'; 11025 11026 /** 11027 * Attach handlers to options buttons element. 11028 * 11029 * @type {Drupal~behavior} 11030 */ 11031 Drupal.behaviors.webformOptionsButtons = { 11032 attach: function (context) { 11033 // Place <input> inside of <label> before the label. 11034 $(context).find('label.webform-options-display-buttons-label > input[type="checkbox"], label.webform-options-display-buttons-label > input[type="radio"]').each(function () { 11035 var $input = $(this); 11036 var $label = $input.parent(); 11037 $input.detach().insertBefore($label); 11038 }); 11039 } 11040 }; 11041 11042})(jQuery, Drupal); 11043; 11044/** 11045* DO NOT EDIT THIS FILE. 11046* See the following change record for more information, 11047* https://www.drupal.org/node/2815083 11048* @preserve 11049**/ 11050(function ($, Drupal, drupalSettings) { 11051 $(document).ready(function () { 11052 $.ajax({ 11053 type: 'POST', 11054 cache: false, 11055 url: drupalSettings.statistics.url, 11056 data: drupalSettings.statistics.data 11057 }); 11058 }); 11059})(jQuery, Drupal, drupalSettings);;
11060/** 11061 * @file 11062 * Defines Javascript behaviors for MegaMenu frontend. 11063 */ 11064 11065(function ($, Drupal, drupalSettings) { 11066 "use strict"; 11067 11068 Drupal.TBMegaMenu = Drupal.TBMegaMenu || {}; 11069 11070 Drupal.TBMegaMenu.oldWindowWidth = 0; 11071 Drupal.TBMegaMenu.displayedMenuMobile = false; 11072 Drupal.TBMegaMenu.supportedScreens = [980]; 11073 Drupal.TBMegaMenu.focusableElements = 'a:not([disabled]), button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), details:not([disabled]), [tabindex]:not([disabled]):not([tabindex="-1"])'; 11074 Drupal.TBMegaMenu.menuResponsive = function () { 11075 var windowWidth = window.innerWidth ? window.innerWidth : $(window).width(); 11076 var navCollapse = $('.tb-megamenu').children('.nav-collapse'); 11077 if (windowWidth < Drupal.TBMegaMenu.supportedScreens[0]) { 11078 navCollapse.addClass('collapse'); 11079 if (Drupal.TBMegaMenu.displayedMenuMobile) { 11080 navCollapse.css({height: 'auto', overflow: 'visible'}); 11081 } 11082 else { 11083 navCollapse.css({height: 0, overflow: 'hidden'}); 11084 } 11085 } 11086 else { 11087 // If width of window is greater than 980 (supported screen). 11088 navCollapse.removeClass('collapse'); 11089 if (navCollapse.height() <= 0) { 11090 navCollapse.css({height: 'auto', overflow: 'visible'}); 11091 } 11092 } 11093 }; 11094 11095 Drupal.TBMegaMenu.focusNextPrevElement = function (direction) { 11096 // Add all the elements we want to include in our selection 11097 var $current = $(document.activeElement); 11098 11099 if ($current.length) { 11100 var $focusable = $(Drupal.TBMegaMenu.focusableElements).filter(function () { 11101 var $this = $(this); 11102 return $this.closest('.tb-megamenu-subnav').length === 0 && $this.is(':visible'); 11103 }) 11104 11105 var index = $focusable.index($current); 11106 if (index > -1) { 11107 if (direction === 'next') { 11108 var nextElement = $focusable[index + 1] || $focusable[0]; 11109 } 11110 else { 11111 var nextElement = $focusable[index - 1] || $focusable[0]; 11112 } 11113 11114 nextElement.focus(); 11115 } 11116 } 11117 } 11118 11119 11120 Drupal.behaviors.tbMegaMenuAction = { 11121 attach: function (context, settings) { 11122 11123 $('.tb-megamenu', context).once('tb-megamenu').each(function () { 11124 11125 /* Keyboard Control Setup */ 11126 // Semi-Global Variables 11127 var navParent = document.querySelector('.tb-megamenu'), 11128 linkArray = new Array(), 11129 curPos = new Array(-1,-1,-1); 11130 11131 // Each Top-Level Link 11132 $(this).find('.level-1').children('a, span').not('.mobile-only').each(function (i, toplink) { 11133 linkArray[i] = new Array(); 11134 11135 // Add Link to Array 11136 linkArray[i][-1] = toplink; 11137 11138 // Determine Coordinates 11139 $(toplink).data({ coordinate: [i, -1] }); 11140 11141 // Each Column 11142 $(toplink).next().children().children().children('.mega-col-nav').each(function (j, column) { 11143 // Only add to the linkArray if menu items exist. 11144 // TODO - this does not allow for tabbing to links in blocks, only menu item links. 11145 if ($(column).find(Drupal.TBMegaMenu.focusableElements).length > 0) { 11146 11147 linkArray[i][j] = new Array(); 11148 11149 // Each Link 11150 $(column).find(Drupal.TBMegaMenu.focusableElements).each(function (k, sublink) { 11151 11152 // Add Link to Array 11153 linkArray[i][j][k] = sublink; 11154 11155 // Determine Coordinates 11156 $(sublink).data({ coordinate: [i, j, k] }); 11157 }); // each link 11158 } 11159 11160 }); // each column 11161 11162 }); // each top-level link 11163 11164 // Update Position on Focus 11165 $(this).find(Drupal.TBMegaMenu.focusableElements).focus(function () { 11166 curPos = $(this).data('coordinate'); 11167 }); 11168 11169 // Key Pressed 11170 function keydownEvent(k) { 11171 // Determine Key 11172 switch(k.keyCode) { 11173 11174 // TAB 11175 case 9: 11176 k.preventDefault(); 11177 nav_tab(k); 11178 break; 11179 11180 // RETURN 11181 case 13: 11182 nav_open_link(); 11183 break; 11184 11185 // ESC 11186 case 27: 11187 nav_esc(); 11188 break; 11189 11190 // LEFT 11191 case 37: 11192 k.preventDefault(); 11193 nav_left(); 11194 break; 11195 11196 // UP 11197 case 38: 11198 k.preventDefault(); 11199 nav_up(); 11200 break; 11201 11202 // RIGHT 11203 case 39: 11204 k.preventDefault(); 11205 nav_right(); 11206 break; 11207 11208 // DOWN 11209 case 40: 11210 k.preventDefault(); 11211 nav_down(); 11212 break; 11213 11214 // HOME 11215 case 36: 11216 nav_home(); 11217 break; 11218 11219 // END 11220 case 35: 11221 nav_end(); 11222 break; 11223 11224 // Else 11225 default:
11226 // Do nothing 11227 11228 } // determine key 11229 } // keydownEvent 11230 11231 /* Keypress Functions */ 11232 // Tab 11233 function nav_tab(k) { 11234 if (nav_is_toplink()) { 11235 if (k.shiftKey) { 11236 nav_prev_toplink(); 11237 } 11238 else { 11239 nav_next_toplink(); 11240 } 11241 } 11242 else { 11243 if (k.shiftKey) { 11244 nav_up(); 11245 } 11246 else { 11247 nav_down(); 11248 } 11249 } 11250 } 11251 11252 // Open Link 11253 function nav_open_link() { 11254 linkArray[curPos[0]][curPos[1]][curPos[2]].click(); 11255 } 11256 11257 // Escape 11258 function nav_esc() { 11259 nav_close_megamenu(); 11260 } 11261 11262 // Left 11263 function nav_left() { 11264 if (nav_is_toplink()) { 11265 nav_prev_toplink(); 11266 } 11267 else { 11268 nav_prev_column(); 11269 } 11270 } 11271 11272 // Right 11273 function nav_right() { 11274 if (nav_is_toplink()) { 11275 nav_next_toplink(); 11276 } 11277 else { 11278 nav_next_column(); 11279 } 11280 } 11281 11282 // Up 11283 function nav_up() { 11284 if (nav_is_toplink()) { 11285 nav_prev_toplink(); 11286 } 11287 else { 11288 if (linkArray[curPos[0]][curPos[1]][curPos[2] - 1]) { 11289 // If the previous link in the array is hidden (ie, it's in a 11290 // submenu that is not currently expanded), then skip to the next 11291 // item in the array until we find one that's visible. 11292 if ($(linkArray[curPos[0]][curPos[1]][curPos[2] - 1]).is(':visible')) { 11293 linkArray[curPos[0]][curPos[1]][curPos[2] - 1].focus(); 11294 } 11295 else { 11296 curPos = [curPos[0], curPos[1], curPos[2] - 1]; 11297 nav_up(); 11298 } 11299 } 11300 else { 11301 nav_prev_column(); 11302 } 11303 } 11304 } 11305 11306 // Down 11307 function nav_down() { 11308 if (nav_is_toplink()) { 11309 nav_next_column(); 11310 } 11311 else { 11312 if (linkArray[curPos[0]][curPos[1]][curPos[2] + 1]) { 11313 linkArray[curPos[0]][curPos[1]][curPos[2] + 1].focus(); 11314 } 11315 else { 11316 nav_next_column(); 11317 } 11318 } 11319 } 11320 11321 // Home Button 11322 function nav_home() { 11323 if (nav_is_toplink()) { 11324 linkArray[0][-1].focus(); 11325 } 11326 else { 11327 linkArray[curPos[0]][0][0].focus(); 11328 } 11329 } 11330 11331 // End Button 11332 function nav_end() { 11333 if (nav_is_toplink()) { 11334 linkArray.slice(-1)[0][-1].focus(); 11335 } 11336 else { 11337 linkArray[curPos[0]].slice(-1)[0].slice(-1)[0].focus(); 11338 } 11339 } 11340 11341 /* Helper Functions */ 11342 // Determine Link Level 11343 function nav_is_toplink() { 11344 return (curPos[1] < 0); 11345 } 11346 11347 // Close Mega Menu 11348 function nav_close_megamenu() { 11349 $('.tb-megamenu .open').removeClass('open'); 11350 ariaCheck(); 11351 } 11352 11353 // Next Toplink 11354 function nav_next_toplink() { 11355 if (linkArray[curPos[0] + 1]) { 11356 linkArray[curPos[0] + 1][-1].focus(); 11357 } 11358 else { 11359 nav_close_megamenu(); 11360 11361 // Focus on the next element. 11362 Drupal.TBMegaMenu.focusNextPrevElement('next'); 11363 } 11364 } 11365 11366 // Previous Toplink 11367 function nav_prev_toplink() { 11368 if (linkArray[curPos[0] - 1]) { 11369 linkArray[curPos[0] - 1][-1].focus(); 11370 } 11371 else { 11372 // Focus on the previous element. 11373 Drupal.TBMegaMenu.focusNextPrevElement('prev'); 11374 } 11375 } 11376 11377 // Previous Column 11378 function nav_prev_column() { 11379 if (linkArray[curPos[0]][curPos[1] - 1][0]) { 11380 linkArray[curPos[0]][curPos[1] - 1][0].focus(); 11381 } 11382 else { 11383 nav_parent_toplink(); 11384 } 11385 } 11386 11387 // Next Column 11388 function nav_next_column() { 11389 if (linkArray[curPos[0]][curPos[1] + 1]) { 11390 linkArray[curPos[0]][curPos[1] + 1][0].focus(); 11391 } 11392 else { 11393 nav_parent_toplink(); 11394 } 11395 } 11396 11397 // Go to Parent Toplink 11398 function nav_parent_toplink() { 11399 linkArray[curPos[0]][-1].focus(); 11400 } 11401 11402 var ariaCheck = function () { 11403 $("li.tb-megamenu-item", this).each(function () { 11404 if ($(this).is('.mega-group')) { 11405 // Mega menu item has mega class (it's a true mega menu) 11406 if (!$(this).parents().is('.open')) { 11407 // Mega menu item has mega class and its ancestor is closed, so apply appropriate ARIA attributes 11408 $(this).children().attr('aria-expanded', 'false'); 11409 } 11410 else if ($(this).parents().is('.open')) { 11411 // Mega menu item has mega class and its ancestor is o
11411pen, so apply appropriate ARIA attributes 11412 $(this).children().attr('aria-expanded', 'true'); 11413 } 11414 } 11415 else if ($(this).is('.dropdown') || $(this).is('.dropdown-submenu')) { 11416 // Mega menu item has dropdown (it's a flyout menu) 11417 if (!$(this).is('.open')) { 11418 // Mega menu item has dropdown class and is closed, so apply appropriate ARIA attributes 11419 $(this).children().attr('aria-expanded', 'false'); 11420 } 11421 else if ($(this).is('.open')) { 11422 // Mega menu item has dropdown class and is open, so apply appropriate ARIA attributes 11423 $(this).children().attr('aria-expanded', 'true'); 11424 } 11425 } 11426 else { 11427 // Mega menu item is neither a mega or dropdown class, so remove ARIA attributes (it doesn't have children) 11428 $(this).children().removeAttr('aria-expanded'); 11429 } 11430 }); 11431 }; 11432 11433 var showMenu = function ($subMenu, mm_timeout) { 11434 if ($subMenu.hasClass('mega')) { 11435 $subMenu.addClass('animating'); 11436 clearTimeout($subMenu.data('animatingTimeout')); 11437 $subMenu.data('animatingTimeout', setTimeout(function () { 11438 $subMenu.removeClass('animating') 11439 }, mm_timeout)); 11440 clearTimeout($subMenu.data('hoverTimeout')); 11441 $subMenu.data('hoverTimeout', setTimeout(function () { 11442 $subMenu.addClass('open'); 11443 ariaCheck(); 11444 }, 100)); 11445 } 11446 else { 11447 clearTimeout($subMenu.data('hoverTimeout')); 11448 $subMenu.data('hoverTimeout', 11449 setTimeout(function () { 11450 $subMenu.addClass('open'); 11451 ariaCheck(); 11452 }, 100)); 11453 } 11454 }; 11455 11456 var hideMenu = function ($subMenu, mm_timeout) { 11457 $subMenu.children('.dropdown-toggle').attr('aria-expanded', 'false'); 11458 if ($subMenu.hasClass('mega')) { 11459 $subMenu.addClass('animating'); 11460 clearTimeout($subMenu.data('animatingTimeout')); 11461 $subMenu.data('animatingTimeout', setTimeout(function () { 11462 $subMenu.removeClass('animating') 11463 }, mm_timeout)); 11464 clearTimeout($subMenu.data('hoverTimeout')); 11465 $subMenu.data('hoverTimeout', setTimeout(function () { 11466 $subMenu.removeClass('open'); 11467 ariaCheck(); 11468 }, 100)); 11469 } 11470 else { 11471 clearTimeout($subMenu.data('hoverTimeout')); 11472 $subMenu.data('hoverTimeout', setTimeout(function () { 11473 $subMenu.removeClass('open'); 11474 ariaCheck(); 11475 }, 100)); 11476 } 11477 }; 11478 11479 $('.tb-megamenu-button', this).click(function () { 11480 if (parseInt($(this).parent().children('.nav-collapse').height())) { 11481 $(this).parent().children('.nav-collapse').css({height: 0, overflow: 'hidden'}); 11482 Drupal.TBMegaMenu.displayedMenuMobile = false; 11483 } 11484 else { 11485 $(this).parent().children('.nav-collapse').css({height: 'auto', overflow: 'visible'}); 11486 Drupal.TBMegaMenu.displayedMenuMobile = true; 11487 } 11488 }); 11489 11490 var isTouch = window.matchMedia('(pointer: coarse)').matches; 11491 11492 if (!isTouch) { 11493 var mm_duration = 0; 11494 11495 $('.tb-megamenu', context).each(function () { 11496 if ($(this).data('duration')) { 11497 mm_duration = $(this).data('duration'); 11498 } 11499 }); 11500 11501 var mm_timeout = mm_duration ? 100 + mm_duration : 500; 11502 $('.nav > li, li.mega', context).bind('mouseenter', function (event) { 11503 showMenu($(this), mm_timeout); 11504 }); 11505 11506 $('.nav > li > .dropdown-toggle, li.mega > .dropdown-toggle', context).bind('focus', function (event) { 11507 var $this = $(this); 11508 var $subMenu = $this.closest('li'); 11509 showMenu($subMenu, mm_timeout); 11510 // If the focus moves outside of the subMenu, close it. 11511 $(document).bind('focusin', function (event) { 11512 if ($subMenu.has(event.target).length) { 11513 return; 11514 } 11515 $(document).unbind(event); 11516 hideMenu($subMenu, mm_timeout); 11517 }); 11518 }); 11519 11520 $('.nav > li, li.mega', context).bind('mouseleave', function (event) { 11521 hideMenu($(this), mm_timeout); 11522 }); 11523 11524 /** 11525 * Allow tabbing by appending the open class. 11526 * Works in tandem with CSS changes that utilize opacity rather than 11527 * display none 11528 */ 11529 // If the selected anchor is not in the TB Megamenu, remove all "open" 11530 // class occurrences 11531 $('a, span').focus(function (event) { 11532 if (!$(this).parent().hasClass('tb-megamenu-item') && !$(this).parents('.tb-megamenu-block').length) {
11533 nav_close_megamenu(); 11534 } 11535 }); 11536 11537 $('.nav > li > a, li.mega > a').focus(function (event) { 11538 // Remove all occurrences of "open" from other menu trees 11539 var siblings = $(this).parents('.tb-megamenu-item').siblings(); 11540 // var siblings = $(this).closest('.tb-megamenu-item.level-1').siblings(); 11541 $.each(siblings, function (i, v) { 11542 var cousins = $(v).find('.open'); 11543 $.each(cousins, function (index, value) { 11544 $(value).removeClass('open'); 11545 ariaCheck($(this)); 11546 }); 11547 $(v).removeClass('open'); 11548 ariaCheck(); 11549 }); 11550 // Open the submenu if the selected item has one 11551 if ($(this).next(".tb-megamenu-submenu").length > 0) { 11552 if (!$(this).parent().hasClass("open")) { 11553 $(this).parent().addClass("open"); 11554 } 11555 } 11556 // If the anchor's top-level parent is not open, open it 11557 if (!$(this).closest('.tb-megamenu-item.dropdown').hasClass('open') && $(this).closest('.tb-megamenu-item.dropdown').find('.tb-megamenu-submenu').length > 0) { 11558 $(this).closest('.tb-megamenu-item.dropdown').addClass('open'); 11559 ariaCheck(); 11560 } 11561 // If anchor's parent submenus are not open, open them 11562 var parents = $(this).parents('.tb-megamenu-item.dropdown-submenu'); 11563 $.each(parents, function (i, v) { 11564 if (!$(v).hasClass('open')) { 11565 $(v).addClass('open'); 11566 ariaCheck(); 11567 } 11568 }); 11569 }); 11570 } 11571 11572 // Define actions for touch devices. 11573 var createTouchMenu = function (items) { 11574 items.children("a, span").each(function () { 11575 var $item = $(this); 11576 var tbitem = $(this).parent(); 11577 11578 $item.click(function (event) { 11579 // If the menu link has already been clicked once... 11580 if ($item.hasClass("tb-megamenu-clicked")) { 11581 var $uri = $item.attr("href"); 11582 11583 // If the menu link has a URI, go to the link. 11584 // <nolink> menu items will not have a URI. 11585 if ($uri) { 11586 window.location.href = $uri; 11587 } 11588 else { 11589 $item.removeClass("tb-megamenu-clicked"); 11590 hideMenu(tbitem, mm_timeout); 11591 } 11592 } 11593 else { 11594 event.preventDefault(); 11595 11596 // Hide any already open menus. 11597 nav_close_megamenu(); 11598 $(".tb-megamenu").find(".tb-megamenu-clicked").removeClass("tb-megamenu-clicked"); 11599 11600 // Open the submenu. 11601 $item.addClass("tb-megamenu-clicked"); 11602 showMenu(tbitem, mm_timeout); 11603 } 11604 }); 11605 }); 11606 11607 // Anytime there's a click outside the menu, close the menu. 11608 $(document).on('click', function (event) { 11609 if ($(event.target).closest('.tb-megamenu-nav').length === 0) { 11610 nav_close_megamenu(); 11611 $(".tb-megamenu").find(".tb-megamenu-clicked").removeClass("tb-megamenu-clicked"); 11612 }; 11613 }) 11614 }; 11615 11616 if (isTouch) { 11617 createTouchMenu($(".tb-megamenu ul.nav li.mega", context).has(".dropdown-menu")); 11618 }; 11619 11620 $(window).on('load resize', function () { 11621 var windowWidth = window.innerWidth ? window.innerWidth : $(window).width(); 11622 if (windowWidth != Drupal.TBMegaMenu.oldWindowWidth) { 11623 Drupal.TBMegaMenu.oldWindowWidth = windowWidth; 11624 Drupal.TBMegaMenu.menuResponsive(); 11625 11626 if (windowWidth >= Drupal.TBMegaMenu.supportedScreens[0]) { 11627 navParent.addEventListener('keydown',keydownEvent); 11628 } 11629 else { 11630 navParent.removeEventListener('keydown',keydownEvent); 11631 } 11632 } 11633 }); 11634 11635 }); 11636 11637 } 11638 } 11639})(jQuery, Drupal, drupalSettings); 11640; 11641/** 11642* DO NOT EDIT THIS FILE. 11643* See the following change record for more information, 11644* https://www.drupal.org/node/2815083 11645* @preserve 11646**/ 11647(function ($, Drupal) { 11648 Drupal.theme.progressBar = function (id) { 11649 return "<div id=\"".concat(id, "\" class=\"progress\" aria-live=\"polite\">") + '<div class="progress__label"> </div>' + '<div class="progress__track"><div class="progress__bar"></div></div>' + '<div class="progress__percentage"></div>' + '<div class="progress__description"> </div>' + '</div>'; 11650 }; 11651 Drupal.ProgressBar = function (id, updateCallback, method, errorCallback) { 11652 this.id = id; 11653 this.method = method || 'GET'; 11654 this.updateCallback = updateCallback; 11655 this.errorCallback = errorCallback;
11656 this.element = $(Drupal.theme('progressBar', id)); 11657 }; 11658 $.extend(Drupal.ProgressBar.prototype, { 11659 setProgress: function setProgress(percentage, message, label) { 11660 if (percentage >= 0 && percentage <= 100) { 11661 $(this.element).find('div.progress__bar').css('width', "".concat(percentage, "%")); 11662 $(this.element).find('div.progress__percentage').html("".concat(percentage, "%")); 11663 } 11664 $('div.progress__description', this.element).html(message); 11665 $('div.progress__label', this.element).html(label); 11666 if (this.updateCallback) { 11667 this.updateCallback(percentage, message, this); 11668 } 11669 }, 11670 startMonitoring: function startMonitoring(uri, delay) { 11671 this.delay = delay; 11672 this.uri = uri; 11673 this.sendPing(); 11674 }, 11675 stopMonitoring: function stopMonitoring() { 11676 clearTimeout(this.timer); 11677 this.uri = null; 11678 }, 11679 sendPing: function sendPing() { 11680 if (this.timer) { 11681 clearTimeout(this.timer); 11682 } 11683 if (this.uri) { 11684 var pb = this; 11685 var uri = this.uri; 11686 if (uri.indexOf('?') === -1) { 11687 uri += '?'; 11688 } else { 11689 uri += '&'; 11690 } 11691 uri += '_format=json'; 11692 $.ajax({ 11693 type: this.method, 11694 url: uri, 11695 data: '', 11696 dataType: 'json', 11697 success: function success(progress) { 11698 if (progress.status === 0) { 11699 pb.displayError(progress.data); 11700 return; 11701 } 11702 pb.setProgress(progress.percentage, progress.message, progress.label); 11703 pb.timer = setTimeout(function () { 11704 pb.sendPing(); 11705 }, pb.delay); 11706 }, 11707 error: function error(xmlhttp) { 11708 var e = new Drupal.AjaxError(xmlhttp, pb.uri); 11709 pb.displayError("<pre>".concat(e.message, "</pre>")); 11710 } 11711 }); 11712 } 11713 }, 11714 displayError: function displayError(string) { 11715 var error = $('<div class="messages messages--error"></div>').html(string); 11716 $(this.element).before(error).hide(); 11717 if (this.errorCallback) { 11718 this.errorCallback(this); 11719 } 11720 } 11721 }); 11722})(jQuery, Drupal);; 11723loadjs=function(){var h=function(){},c={},u={},f={};function o(e,n){if(e){var r=f[e];if(u[e]=n,r)for(;r.length;)r[0](e,n),r.splice(0,1)}}function l(e,n){e.call&&(e={success:e}),n.length?(e.error||h)(n):(e.success||h)(e)}function d(r,t,s,i){var c,o,e=document,n=s.async,u=(s.numRetries||0)+1,f=s.before||h,l=r.replace(/[\?|#].*$/,""),a=r.replace(/^(css|img)!/,"");i=i||0,/(^css!|\.css$)/.test(l)?((o=e.createElement("link")).rel="stylesheet",o.href=a,(c="hideFocus"in o)&&o.relList&&(c=0,o.rel="preload",o.as="style")):/(^img!|\.(png|gif|jpg|svg|webp)$)/.test(l)?(o=e.createElement("img")).src=a:((o=e.createElement("script")).src=r,o.async=void 0===n||n),!(o.onload=o.onerror=o.onbeforeload=function(e){var n=e.type[0];if(c)try{o.sheet.cssText.length||(n="e")}catch(e){18!=e.code&&(n="e")}if("e"==n){if((i+=1)<u)return d(r,t,s,i)}else if("preload"==o.rel&&"style"==o.as)return o.rel="stylesheet";t(r,n,e.defaultPrevented)})!==f(r,o)&&e.head.appendChild(o)}function r(e,n,r){var t,s;if(n&&n.trim&&(t=n),s=(t?r:n)||{},t){if(t in c)throw"LoadJS";c[t]=!0}function i(n,r){!function(e,t,n){var r,s,i=(e=e.push?e:[e]).length,c=i,o=[];for(r=function(e,n,r){if("e"==n&&o.push(e),"b"==n){if(!r)return;o.push(e)}--i||t(o)},s=0;s<c;s++)d(e[s],r,n)}(e,function(e){l(s,e),n&&l({success:n,error:r},e),o(t,e)},s)}if(s.returnPromise)return new Promise(i);i()}return r.ready=function(e,n){return function(e,r){e=e.push?e:[e];var n,t,s,i=[],c=e.length,o=c;
11723for(n=function(e,n){n.length&&i.push(e),--o||r(i)};c--;)t=e[c],(s=u[t])?n(t,s):(f[t]=f[t]||[]).push(n)}(e,function(e){l(n,e)}),r},r.done=function(e){o(e,[])},r.reset=function(){c={},u={},f={}},r.isDefined=function(e){return e in c},r}();; 11724/** 11725* DO NOT EDIT THIS FILE. 11726* See the following change record for more information, 11727* https://www.drupal.org/node/2815083 11728* @preserve 11729**/ 11730(function (Drupal) { 11731 Drupal.behaviors.responsiveImageAJAX = { 11732 attach: function attach() { 11733 if (window.picturefill) { 11734 window.picturefill(); 11735 } 11736 } 11737 }; 11738})(Drupal);; 11739/** 11740* DO NOT EDIT THIS FILE. 11741* See the following change record for more information, 11742* https://www.drupal.org/node/2815083 11743* @preserve 11744**/ 11745function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); } 11746function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } 11747function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); } 11748function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); } 11749function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); } 11750function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; } 11751(function ($, window, Drupal, drupalSettings, loadjs, _ref) { 11752 var isFocusable = _ref.isFocusable, 11753 tabbable = _ref.tabbable; 11754 Drupal.behaviors.AJAX = { 11755 attach: function attach(context, settings) { 11756 function loadAjaxBehavior(base) { 11757 var elementSettings = settings.ajax[base]; 11758 if (typeof elementSettings.selector === 'undefined') { 11759 elementSettings.selector = "#".concat(base); 11760 } 11761 once('drupal-ajax', $(elementSettings.selector)).forEach(function (el) { 11762 elementSettings.element = el; 11763 elementSettings.base = base; 11764 Drupal.ajax(elementSettings); 11765 }); 11766 } 11767 Object.keys(settings.ajax || {}).forEach(function (base) { 11768 return loadAjaxBehavior(base); 11769 }); 11770 Drupal.ajax.bindAjaxLinks(document.body); 11771 once('ajax', '.use-ajax-submit').forEach(function (el) { 11772 var elementSettings = {}; 11773 elementSettings.url = $(el.form).attr('action'); 11774 elementSettings.setClick = true; 11775 elementSettings.event = 'click'; 11776 elementSettings.progress = { 11777 type: 'throbber' 11778 }; 11779 elementSettings.base = el.id; 11780 elementSettings.element = el; 11781 Drupal.ajax(elementSettings); 11782 }); 11783 }, 11784 detach: function detach(context, settings, trigger) { 11785 if (trigger === 'unload') { 11786 Drupal.ajax.expired().forEach(function (instance) { 11787 Drupal.ajax.instances[instance.instanceIndex] = null; 11788 }); 11789 } 11790 } 11791 }; 11792 Drupal.AjaxError = function (xmlhttp, uri, customMessage) { 11793 var statusCode; 11794 var statusText; 11795 var responseText; 11796 if (xmlhttp.status) { 11797 statusCode = "\n".concat(Drupal.t('An AJAX HTTP error occurred.'), "\n").concat(Drupal.t('HTTP Result Code: !status', { 11798 '!status': xmlhttp.status 11799 })); 11800 } else { 11801 statusCode = "\n".concat(Drupal.t('An AJAX HTTP request terminated abnormally.')); 11802 } 11803 statusCode += "\n".concat(Drupal.t('Debugging information follows.')); 11804 var pathText = "\n".concat(Drupal.t('Path: !uri', { 11805 '!uri': uri 11806 })); 11807 statusText = ''; 11808 try { 11809 statusText = "\n".concat(Drupal.t('StatusText: !statusText', { 11810 '!statusText': xmlhttp.statusText.trim() 11811 })); 11812 } catch (e) {} 11813 responseText = ''; 11814 try { 11815 responseText = "\n".concat(Drupal.t('ResponseText: !responseText', { 11816 '!responseText': xmlhttp.responseText.trim() 11817 })); 11818 } catch (e) {} 11819 responseText = responseText.replace(/<("[^"]*"|'[^']*'|[^'">])*>/gi, ''); 11820 responseText = responseText.replace(/[\n]+\s+/g, '\n'); 11821 var readyStateText = xmlhttp.status === 0 ? "\n".concat(Drupal.t('ReadyState: !readyState', { 11822 '!readyState': xmlhttp.readyState 11823 })) : ''; 11824 customMessage = customMessage ? "\n".concat(Drupal.t('CustomMessage: !customMessage', { 11825 '!customMessage': customMessage 11826 })) : ''; 11827 this.message = statusCode + pathText + statusText + customMessage + responseText + readyStateText; 11828 this.name = 'AjaxError'; 11829 }; 11830 Drupal.AjaxError.prototype = new Error(); 11831 Drupal.AjaxError.prototype.constructor = Drupal.AjaxError; 11832 Drupal.ajax = function (settings) { 11833 if (arguments.length !== 1) { 11834 throw new Error('Drupal.ajax() function must be called with one configuration object only'); 11835 } 11836 var base = settings.base || false; 11837 var element = settings.element || false; 11838 delete settings.base; 11839 delete settings.element; 11840 if (!settings.progress && !element) { 11841 settings.progress = false;
11842 } 11843 var ajax = new Drupal.Ajax(base, element, settings); 11844 ajax.instanceIndex = Drupal.ajax.instances.length; 11845 Drupal.ajax.instances.push(ajax); 11846 return ajax; 11847 }; 11848 Drupal.ajax.instances = []; 11849 Drupal.ajax.expired = function () { 11850 return Drupal.ajax.instances.filter(function (instance) { 11851 return instance && instance.element !== false && !document.body.contains(instance.element); 11852 }); 11853 }; 11854 Drupal.ajax.bindAjaxLinks = function (element) { 11855 once('ajax', '.use-ajax', element).forEach(function (ajaxLink) { 11856 var $linkElement = $(ajaxLink); 11857 var elementSettings = { 11858 progress: { 11859 type: 'throbber' 11860 }, 11861 dialogType: $linkElement.data('dialog-type'), 11862 dialog: $linkElement.data('dialog-options'), 11863 dialogRenderer: $linkElement.data('dialog-renderer'), 11864 base: $linkElement.attr('id'), 11865 element: ajaxLink 11866 }; 11867 var href = $linkElement.attr('href'); 11868 if (href) { 11869 elementSettings.url = href; 11870 elementSettings.event = 'click'; 11871 } 11872 Drupal.ajax(elementSettings); 11873 }); 11874 }; 11875 Drupal.Ajax = function (base, element, elementSettings) { 11876 var defaults = { 11877 event: element ? 'mousedown' : null, 11878 keypress: true, 11879 selector: base ? "#".concat(base) : null, 11880 effect: 'none', 11881 speed: 'none', 11882 method: 'replaceWith', 11883 progress: { 11884 type: 'throbber', 11885 message: Drupal.t('Please wait...') 11886 }, 11887 submit: { 11888 js: true 11889 } 11890 }; 11891 $.extend(this, defaults, elementSettings); 11892 this.commands = new Drupal.AjaxCommands(); 11893 this.instanceIndex = false; 11894 if (this.wrapper) { 11895 this.wrapper = "#".concat(this.wrapper); 11896 } 11897 this.element = element; 11898 this.element_settings = elementSettings; 11899 this.elementSettings = elementSettings; 11900 if (this.element && this.element.form) { 11901 this.$form = $(this.element.form); 11902 } 11903 if (!this.url) { 11904 var $element = $(this.element); 11905 if ($element.is('a')) { 11906 this.url = $element.attr('href'); 11907 } else if (this.element && element.form) { 11908 this.url = this.$form.attr('action'); 11909 } 11910 } 11911 var originalUrl = this.url; 11912 this.url = this.url.replace(/\/nojs(\/|$|\?|#)/, '/ajax$1'); 11913 if (drupalSettings.ajaxTrustedUrl[originalUrl]) { 11914 drupalSettings.ajaxTrustedUrl[this.url] = true; 11915 } 11916 var ajax = this; 11917 ajax.options = { 11918 url: ajax.url, 11919 data: ajax.submit, 11920 isInProgress: function isInProgress() { 11921 return ajax.ajaxing; 11922 }, 11923 beforeSerialize: function beforeSerialize(elementSettings, options) { 11924 return ajax.beforeSerialize(elementSettings, options); 11925 }, 11926 beforeSubmit: function beforeSubmit(formValues, elementSettings, options) { 11927 ajax.ajaxing = true; 11928 return ajax.beforeSubmit(formValues, elementSettings, options); 11929 }, 11930 beforeSend: function beforeSend(xmlhttprequest, options) { 11931 ajax.ajaxing = true; 11932 return ajax.beforeSend(xmlhttprequest, options); 11933 }, 11934 success: function success(response, status, xmlhttprequest) { 11935 var _this = this; 11936 if (typeof response === 'string') { 11937 response = $.parseJSON(response); 11938 } 11939 if (response !== null && !drupalSettings.ajaxTrustedUrl[ajax.url]) { 11940 if (xmlhttprequest.getResponseHeader('X-Drupal-Ajax-Token') !== '1') { 11941 var customMessage = Drupal.t('The response failed verification so will not be processed.'); 11942 return ajax.error(xmlhttprequest, ajax.url, customMessage); 11943 } 11944 } 11945 return Promise.resolve(ajax.success(response, status)).then(function () { 11946 ajax.ajaxing = false; 11947 $(document).trigger('ajaxSuccess', [xmlhttprequest, _this]); 11948 $(document).trigger('ajaxComplete', [xmlhttprequest, _this]); 11949 if (--$.active === 0) { 11950 $(document).trigger('ajaxStop'); 11951 } 11952 }); 11953 }, 11954 error: function error(xmlhttprequest, status, _error) { 11955 ajax.ajaxing = false; 11956 }, 11957 complete: function complete(xmlhttprequest, status) { 11958 if (status === 'error' || status === 'parsererror') { 11959 return ajax.error(xmlhttprequest, ajax.url); 11960 } 11961 }, 11962 dataType: 'json', 11963 jsonp: false, 11964 type: 'POST' 11965 }; 11966 if (elementSettings.dialog) { 11967 ajax.options.data.dialogOptions = elementSettings.dialog; 11968 } 11969 if (ajax.options.url.indexOf('?') === -1) { 11970 ajax.options.url += '?'; 11971 } else { 11972 ajax.options.url += '&'; 11973 } 11974 var wrapper = "drupal_".concat(elementSettings.dialogType || 'ajax'); 11975 if (elementSettings.dialogRenderer) { 11976 wrapper += ".".concat(elementSettings.dialogRenderer); 11977 } 11978 ajax.options.url += "".concat(Drupal.ajax.WRAPPER_FORMAT, "=").concat(wrapper); 11979 $(ajax.element).on(elementSettings.event, function (event) { 11980 if (!drupalSettings.ajaxTrustedUrl[ajax.url] && !Drupal.url.isLocal(ajax.url)) { 11981 throw new Error(Drupal.t('The callback URL is not local and n
11981ot trusted: !url', { 11982 '!url': ajax.url 11983 })); 11984 } 11985 return ajax.eventResponse(this, event); 11986 }); 11987 if (elementSettings.keypress) { 11988 $(ajax.element).on('keypress', function (event) { 11989 return ajax.keypressResponse(this, event); 11990 }); 11991 } 11992 if (elementSettings.prevent) { 11993 $(ajax.element).on(elementSettings.prevent, false); 11994 } 11995 }; 11996 Drupal.ajax.WRAPPER_FORMAT = '_wrapper_format'; 11997 Drupal.Ajax.AJAX_REQUEST_PARAMETER = '_drupal_ajax'; 11998 Drupal.Ajax.prototype.execute = function () { 11999 if (this.ajaxing) { 12000 return; 12001 } 12002 try { 12003 this.beforeSerialize(this.element, this.options); 12004 return $.ajax(this.options); 12005 } catch (e) { 12006 this.ajaxing = false; 12007 window.alert("An error occurred while attempting to process ".concat(this.options.url, ": ").concat(e.message)); 12008 return $.Deferred().reject(); 12009 } 12010 }; 12011 Drupal.Ajax.prototype.keypressResponse = function (element, event) { 12012 var ajax = this; 12013 if (event.which === 13 || event.which === 32 && element.type !== 'text' && element.type !== 'textarea' && element.type !== 'tel' && element.type !== 'number') { 12014 event.preventDefault(); 12015 event.stopPropagation(); 12016 $(element).trigger(ajax.elementSettings.event); 12017 } 12018 }; 12019 Drupal.Ajax.prototype.eventResponse = function (element, event) { 12020 event.preventDefault(); 12021 event.stopPropagation(); 12022 var ajax = this; 12023 if (ajax.ajaxing) { 12024 return; 12025 } 12026 try { 12027 if (ajax.$form) { 12028 if (ajax.setClick) { 12029 element.form.clk = element; 12030 } 12031 ajax.$form.ajaxSubmit(ajax.options); 12032 } else { 12033 ajax.beforeSerialize(ajax.element, ajax.options); 12034 $.ajax(ajax.options); 12035 } 12036 } catch (e) { 12037 ajax.ajaxing = false; 12038 window.alert("An error occurred while attempting to process ".concat(ajax.options.url, ": ").concat(e.message)); 12039 } 12040 }; 12041 Drupal.Ajax.prototype.beforeSerialize = function (element, options) { 12042 if (this.$form && document.body.contains(this.$form.get(0))) { 12043 var settings = this.settings || drupalSettings; 12044 Drupal.detachBehaviors(this.$form.get(0), settings, 'serialize'); 12045 } 12046 options.data[Drupal.Ajax.AJAX_REQUEST_PARAMETER] = 1; 12047 var pageState = drupalSettings.ajaxPageState; 12048 options.data['ajax_page_state[theme]'] = pageState.theme; 12049 options.data['ajax_page_state[theme_token]'] = pageState.theme_token; 12050 options.data['ajax_page_state[libraries]'] = pageState.libraries; 12051 }; 12052 Drupal.Ajax.prototype.beforeSubmit = function (formValues, element, options) {}; 12053 Drupal.Ajax.prototype.beforeSend = function (xmlhttprequest, options) { 12054 if (this.$form) { 12055 options.extraData = options.extraData || {}; 12056 options.extraData.ajax_iframe_upload = '1'; 12057 var v = $.fieldValue(this.element); 12058 if (v !== null) { 12059 options.extraData[this.element.name] = v; 12060 } 12061 } 12062 $(this.element).prop('disabled', true); 12063 if (!this.progress || !this.progress.type) { 12064 return; 12065 } 12066 var progressIndicatorMethod = "setProgressIndicator".concat(this.progress.type.slice(0, 1).toUpperCase()).concat(this.progress.type.slice(1).toLowerCase()); 12067 if (progressIndicatorMethod in this && typeof this[progressIndicatorMethod] === 'function') { 12068 this[progressIndicatorMethod].call(this); 12069 } 12070 }; 12071 Drupal.theme.ajaxProgressThrobber = function (message) { 12072 var messageMarkup = typeof message === 'string' ? Drupal.theme('ajaxProgressMessage', message) : ''; 12073 var throbber = '<div class="throbber"> </div>'; 12074 return "<div class=\"ajax-progress ajax-progress-throbber\">".concat(throbber).concat(messageMarkup, "</div>"); 12075 }; 12076 Drupal.theme.ajaxProgressIndicatorFullscreen = function () { 12077 return '<div class="ajax-progress ajax-progress-fullscreen"> </div>'; 12078 }; 12079 Drupal.theme.ajaxProgressMessage = function (message) { 12080 return "<div class=\"message\">".concat(message, "</div>"); 12081 }; 12082 Drupal.theme.ajaxProgressBar = function ($element) { 12083 return $('<div class="ajax-progress ajax-progress-bar"></div>').append($element); 12084 }; 12085 Drupal.Ajax.prototype.setProgressIndicatorBar = function () { 12086 var progressBar = new Drupal.ProgressBar("ajax-progress-".concat(this.element.i
12086d), $.noop, this.progress.method, $.noop); 12087 if (this.progress.message) { 12088 progressBar.setProgress(-1, this.progress.message); 12089 } 12090 if (this.progress.url) { 12091 progressBar.startMonitoring(this.progress.url, this.progress.interval || 1500); 12092 } 12093 this.progress.element = $(Drupal.theme('ajaxProgressBar', progressBar.element)); 12094 this.progress.object = progressBar; 12095 $(this.element).after(this.progress.element); 12096 }; 12097 Drupal.Ajax.prototype.setProgressIndicatorThrobber = function () { 12098 this.progress.element = $(Drupal.theme('ajaxProgressThrobber', this.progress.message)); 12099 $(this.element).after(this.progress.element); 12100 }; 12101 Drupal.Ajax.prototype.setProgressIndicatorFullscreen = function () { 12102 this.progress.element = $(Drupal.theme('ajaxProgressIndicatorFullscreen')); 12103 $('body').append(this.progress.element); 12104 }; 12105 Drupal.Ajax.prototype.commandExecutionQueue = function (response, status) { 12106 var _this2 = this; 12107 var ajaxCommands = this.commands; 12108 return Object.keys(response || {}).reduce(function (executionQueue, key) { 12109 return executionQueue.then(function () { 12110 var command = response[key].command; 12111 if (command && ajaxCommands[command]) { 12112 return ajaxCommands[command](_this2, response[key], status); 12113 } 12114 }); 12115 }, Promise.resolve()); 12116 }; 12117 Drupal.Ajax.prototype.success = function (response, status) { 12118 var _this3 = this; 12119 if (this.progress.element) { 12120 $(this.progress.element).remove(); 12121 } 12122 if (this.progress.object) { 12123 this.progress.object.stopMonitoring(); 12124 } 12125 $(this.element).prop('disabled', false); 12126 var elementParents = $(this.element).parents('[data-drupal-selector]').addBack().toArray(); 12127 var focusChanged = Object.keys(response || {}).some(function (key) { 12128 var _response$key = response[key], 12129 command = _response$key.command, 12130 method = _response$key.method; 12131 return command === 'focusFirst' || command === 'invoke' && method === 'focus'; 12132 }); 12133 return this.commandExecutionQueue(response, status).then(function () { 12134 if (!focusChanged && _this3.element && !$(_this3.element).data('disable-refocus')) { 12135 var target = false;
12136 for (var n = elementParents.length - 1; !target && n >= 0; n--) { 12137 target = document.querySelector("[data-drupal-selector=\"".concat(elementParents[n].getAttribute('data-drupal-selector'), "\"]")); 12138 } 12139 if (target) { 12140 $(target).trigger('focus'); 12141 } 12142 } 12143 if (_this3.$form && document.body.contains(_this3.$form.get(0))) { 12144 var settings = _this3.settings || drupalSettings; 12145 Drupal.attachBehaviors(_this3.$form.get(0), settings); 12146 } 12147 _this3.settings = null; 12148 }).catch(function (error) { 12149 return console.error(Drupal.t('An error occurred during the execution of the Ajax response: !error', { 12150 '!error': error 12151 })); 12152 }); 12153 }; 12154 Drupal.Ajax.prototype.getEffect = function (response) { 12155 var type = response.effect || this.effect; 12156 var speed = response.speed || this.speed; 12157 var effect = {}; 12158 if (type === 'none') { 12159 effect.showEffect = 'show'; 12160 effect.hideEffect = 'hide'; 12161 effect.showSpeed = ''; 12162 } else if (type === 'fade') { 12163 effect.showEffect = 'fadeIn'; 12164 effect.hideEffect = 'fadeOut'; 12165 effect.showSpeed = speed; 12166 } else { 12167 effect.showEffect = "".concat(type, "Toggle"); 12168 effect.hideEffect = "".concat(type, "Toggle"); 12169 effect.showSpeed = speed; 12170 } 12171 return effect; 12172 }; 12173 Drupal.Ajax.prototype.error = function (xmlhttprequest, uri, customMessage) { 12174 if (this.progress.element) { 12175 $(this.progress.element).remove(); 12176 } 12177 if (this.progress.object) { 12178 this.progress.object.stopMonitoring(); 12179 } 12180 $(this.wrapper).show(); 12181 $(this.element).prop('disabled', false); 12182 if (this.$form && document.body.contains(this.$form.get(0))) { 12183 var settings = this.settings || drupalSettings; 12184 Drupal.attachBehaviors(this.$form.get(0), settings); 12185 } 12186 throw new Drupal.AjaxError(xmlhttprequest, uri, customMessage); 12187 }; 12188 Drupal.theme.ajaxWrapperNewContent = function ($newContent, ajax, response) { 12189 return (response.effect || ajax.effect) !== 'none' && $newContent.filter(function (i) { 12190 return !($newContent[i].nodeName === '#comment' || $newContent[i].nodeName === '#text' && /^(\s|\n|\r)*$/.test($newContent[i].textContent)); 12191 }).length > 1 ? Drupal.theme('ajaxWrapperMultipleRootElements', $newContent) : $newContent; 12192 }; 12193 Drupal.theme.ajaxWrapperMultipleRootElements = function ($elements) { 12194 return $('<div></div>').append($elements); 12195 }; 12196 Drupal.AjaxCommands = function () {}; 12197 Drupal.AjaxCommands.prototype = { 12198 insert: function insert(ajax, response) { 12199 var $wrapper = response.selector ? $(response.selector) : $(ajax.wrapper); 12200 var method = response.method || ajax.method; 12201 var effect = ajax.getEffect(response); 12202 var settings = response.settings || ajax.settings || drupalSettings; 12203 var $newContent = $($.parseHTML(response.data, document, true)); 12204 $newContent = Drupal.theme('ajaxWrapperNewContent', $newContent, ajax, response); 12205 switch (method) { 12206 case 'html': 12207 case 'replaceWith': 12208 case 'replaceAll': 12209 case 'empty': 12210 case 'remove': 12211 Drupal.detachBehaviors($wrapper.get(0), settings); 12212 break; 12213 default: 12214 break; 12215 } 12216 $wrapper[method]($newContent); 12217 if (effect.showEffect !== 'show') { 12218 $newContent.hide(); 12219 } 12220 var $ajaxNewContent = $newContent.find('.ajax-new-content'); 12221 if ($ajaxNewContent.length) { 12222 $ajaxNewContent.hide(); 12223 $newContent.show(); 12224 $ajaxNewContent[effect.showEffect](effect.showSpeed); 12225 } else if (effect.showEffect !== 'show') { 12226 $newContent[effect.showEffect](effect.showSpeed); 12227 } 12228 if ($newContent.parents('html').length) { 12229 $newContent.each(function (index, element) { 12230 if (element.nodeType === Node.ELEMENT_NODE) { 12231 Drupal.attachBehaviors(element, settings); 12232 } 12233 }); 12234 } 12235 }, 12236 remove: function remove(ajax, response, status) { 12237 var settings = response.settings || ajax.settings || drupalSettings; 12238 $(response.selector).each(function () { 12239 Drupal.detachBehaviors(this, settings); 12240 }).remove(); 12241 }, 12242 changed: function changed(ajax, response, status) { 12243 var $element = $(response.selector); 12244 if (!$element.hasClass('ajax-changed')) { 12245 $element.addClass('ajax-changed'); 12246 if (response.asterisk) { 12247 $element.find(response.asterisk).append(" <abbr class=\"ajax-changed\" title=\"".concat(Drupal.t('Changed'), "\">*</abbr> ")); 12248 } 12249 } 12250 }, 12251 alert: function alert(ajax, response, status) { 12252 window.alert(response.text); 12253 }, 12254 announce: function announce(ajax, response) { 12255 if (response.priority) { 12256 Drupal.announce(response.text, response.priority); 12257 } else { 12258 Drupal.announce(response.text); 12259 } 12260 }, 12261 redirect: function redirect(ajax, response, status) { 12262 window.location = response.url; 12263 }, 12264 css: function css(ajax, response, status) { 12265 $(response.selector).css(response.argument); 12266 }, 12267 settings: function settings(ajax, response, status) { 12268 var ajaxSettings = drupalSettings.ajax; 12269 if (ajaxSettings) {
12270 Drupal.ajax.expired().forEach(function (instance) { 12271 if (instance.selector) { 12272 var selector = instance.selector.replace('#', ''); 12273 if (selector in ajaxSettings) { 12274 delete ajaxSettings[selector]; 12275 } 12276 } 12277 }); 12278 } 12279 if (response.merge) { 12280 $.extend(true, drupalSettings, response.settings); 12281 } else { 12282 ajax.settings = response.settings; 12283 } 12284 }, 12285 data: function data(ajax, response, status) { 12286 $(response.selector).data(response.name, response.value); 12287 }, 12288 focusFirst: function focusFirst(ajax, response, status) { 12289 var focusChanged = false; 12290 var container = document.querySelector(response.selector); 12291 if (container) { 12292 var tabbableElements = tabbable(container); 12293 if (tabbableElements.length) { 12294 tabbableElements[0].focus(); 12295 focusChanged = true; 12296 } else if (isFocusable(container)) { 12297 container.focus(); 12298 focusChanged = true; 12299 } 12300 } 12301 if (ajax.hasOwnProperty('element') && !focusChanged) { 12302 ajax.element.focus(); 12303 } 12304 }, 12305 invoke: function invoke(ajax, response, status) { 12306 var $element = $(response.selector); 12307 $element[response.method].apply($element, _toConsumableArray(response.args)); 12308 }, 12309 restripe: function restripe(ajax, response, status) { 12310 $(response.selector).find('> tbody > tr:visible, > tr:visible').removeClass('odd even').filter(':even').addClass('odd').end().filter(':odd').addClass('even'); 12311 }, 12312 update_build_id: function update_build_id(ajax, response, status) { 12313 document.querySelectorAll("input[name=\"form_build_id\"][value=\"".concat(response.old, "\"]")).forEach(function (item) { 12314 item.value = response.new; 12315 }); 12316 }, 12317 add_css: function add_css(ajax, response, status) { 12318 $('head').prepend(response.data); 12319 }, 12320 message: function message(ajax, response) { 12321 var messages = new Drupal.Message(document.querySelector(response.messageWrapperQuerySelector)); 12322 if (response.clearPrevious) { 12323 messages.clear(); 12324 } 12325 messages.add(response.message, response.messageOptions); 12326 }, 12327 add_js: function add_js(ajax, response, status) { 12328 var parentEl = document.querySelector(response.selector || 'body'); 12329 var settings = ajax.settings || drupalSettings; 12330 var allUniqueBundleIds = response.data.map(function (script) { 12331 var uniqueBundleId = script.src + ajax.instanceIndex; 12332 loadjs(script.src, uniqueBundleId, { 12333 async: false, 12334 before: function before(path, scriptEl) { 12335 Object.keys(script).forEach(function (attributeKey) { 12336 scriptEl.setAttribute(attributeKey, script[attributeKey]); 12337 }); 12338 parentEl.appendChild(scriptEl); 12339 return false; 12340 } 12341 }); 12342 return uniqueBundleId; 12343 }); 12344 return new Promise(function (resolve, reject) { 12345 loadjs.ready(allUniqueBundleIds, { 12346 success: function success() { 12347 Drupal.attachBehaviors(parentEl, settings); 12348 resolve(); 12349 }, 12350 error: function error(depsNotFound) { 12351 var message = Drupal.t("The following files could not be loaded: @dependencies", { 12352 '@dependencies': depsNotFound.join(', ') 12353 }); 12354 reject(message); 12355 } 12356 }); 12357 }); 12358 } 12359 }; 12360 var stopEvent = function stopEvent(xhr, settings) { 12361 return xhr.getResponseHeader('X-Drupal-Ajax-Token') === '1' && settings.isInProgress && settings.isInProgress(); 12362 }; 12363 $.extend(true, $.event.special, { 12364 ajaxSuccess: { 12365 trigger: function trigger(event, xhr, settings) { 12366 if (stopEvent(xhr, settings)) { 12367 return false; 12368 } 12369 } 12370 }, 12371 ajaxComplete: { 12372 trigger: function trigger(event, xhr, settings) { 12373 if (stopEvent(xhr, settings)) { 12374 $.active++; 12375 return false; 12376 } 12377 } 12378 } 12379 }); 12380})(jQuery, window, Drupal, drupalSettings, loadjs, window.tabbable);; 12381!function(s,c,i){"use strict";var a,n,r=c.blazy||{},t=(c.Ajax||{}).prototype;t&&(t.success=(n=t.success,function(t,o){var e;return r.init&&(e=r.options,clearTimeout(a),a=setTimeout(function(){s.find(i,s.selector(e,!0))&&(s.once.removeSafely("b-root","body",i),c.attachBehaviors(i.body))},100)),n.apply(this,arguments)}))}(dBlazy,Drupal,this.document); 12382; 12383/*! 12384 * jQuery Form Plugin 12385 * version: 4.3.0 12386 * Requires jQuery v1.7.2 or later 12387 * Project repository: https://github.com/jquery-form/form 12388 12389 * Copyright 2017 Kevin Morris 12390 * Copyright 2006 M. Alsup 12391 12392 * Dual licensed under the LGPL-2.1+ or MIT licenses 12393 * https://github.com/jquery-form/form#license 12394 12395 * This library is free software; you can redistribute it and/or 12396 * modify it under the terms of the GNU Lesser General Public
vendor: 16,397 bytes, lines 12397-12404
12397 * License as published by the Free Software Foundation; either 12398 * version 2.1 of the License, or (at your option) any later version. 12399 * This library is distributed in the hope that it will be useful, 12400 * but WITHOUT ANY WARRANTY; without even the implied warranty of 12401 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12402 * Lesser General Public License for more details. 12403 */ 12404!function(r){"function"==typeof define&&define.amd?define(["jquery"],r):"object"==typeof module&&module.exports?module.exports=function(e,t){return void 0===t&&(t="undefined"!=typeof window?require("jquery"):require("jquery")(e)),r(t),t}:r(jQuery)}(function(q){"use strict";var m=/\r?\n/g,S={};S.fileapi=void 0!==q('<input type="file">').get(0).files,S.formdata=void 0!==window.FormData;var _=!!q.fn.prop;function o(e){var t=e.data;e.isDefaultPrevented()||(e.preventDefault(),q(e.target).closest("form").ajaxSubmit(t))}function i(e){var t=e.target,r=q(t);if(!r.is("[type=submit],[type=image]")){var a=r.closest("[type=submit]");if(0===a.length)return;t=a[0]}var n,o=t.form;"image"===(o.clk=t).type&&(void 0!==e.offsetX?(o.clk_x=e.offsetX,o.clk_y=e.offsetY):"function"==typeof q.fn.offset?(n=r.offset(),o.clk_x=e.pageX-n.left,o.clk_y=e.pageY-n.top):(o.clk_x=e.pageX-t.offsetLeft,o.clk_y=e.pageY-t.offsetTop)),setTimeout(function(){o.clk=o.clk_x=o.clk_y=null},100)}function N(){var e;q.fn.ajaxSubmit.debug&&(e="[jquery.form] "+Array.prototype.join.call(arguments,""),window.console&&window.console.log?window.console.log(e):window.opera&&window.opera.postError&&window.opera.postError(e))}q.fn.attr2=function(){if(!_)return this.attr.apply(this,arguments);var e=this.prop.apply(this,arguments);return e&&e.jquery||"string"==typeof e?e:this.attr.apply(this,arguments)},q.fn.ajaxSubmit=function(M,e,t,r){if(!this.length)return N("ajaxSubmit: skipping submit process - no element selected"),this;var O,a,n,o,X=this;"function"==typeof M?M={success:M}:"string"==typeof M||!1===M&&0<arguments.length?(M={url:M,data:e,dataType:t},"function"==typeof r&&(M.success=r)):void 0===M&&(M={}),O=M.method||M.type||this.attr2("method"),n=(n=(n="string"==typeof(a=M.url||this.attr2("action"))?q.trim(a):"")||window.location.href||"")&&(n.match(/^([^#]+)/)||[])[1],o=/(MSIE|Trident)/.test(navigator.userAgent||"")&&/^https/i.test(window.location.href||"")?"javascript:false":"about:blank",M=q.extend(!0,{url:n,success:q.ajaxSettings.success,type:O||q.ajaxSettings.type,iframeSrc:o},M);var i={};if(this.trigger("form-pre-serialize",[this,M,i]),i.veto)return N("ajaxSubmit: submit vetoed via form-pre-serialize trigger"),this;if(M.beforeSerialize&&!1===M.beforeSerialize(this,M))return N("ajaxSubmit: submit aborted via beforeSerialize callback"),this;var s=M.traditional;void 0===s&&(s=q.ajaxSettings.traditional);var u,c,C=[],l=this.formToArray(M.semantic,C,M.filtering);if(M.data&&(c=q.isFunction(M.data)?M.data(l):M.data,M.extraData=c,u=q.param(c,s)),M.beforeSubmit&&!1===M.beforeSubmit(l,this,M))return N("ajaxSubmit: submit aborted via beforeSubmit callback"),this;if(this.trigger("form-submit-validate",[l,this,M,i]),i.veto)return N("ajaxSubmit: submit vetoed via form-submit-validate trigger"),this;var f=q.param(l,s);u&&(f=f?f+"&"+u:u),"GET"===M.type.toUpperCase()?(M.url+=(0<=M.url.indexOf("?")?"&":"?")+f,M.data=null):M.data=f;var d,m,p,h=[];M.resetForm&&h.push(function(){X.resetForm()}),M.clearForm&&h.push(function(){X.clearForm(M.includeHidden)}),!M.dataType&&M.target?(d=M.success||function(){},h.push(function(e,t,r){var a=arguments,n=M.replaceTarget?"replaceWith":"html";q(M.target)[n](e).each(function(){d.apply(this,a)})})):M.success&&(q.isArray(M.success)?q.merge(h,M.success):h.push(M.success)),M.success=function(e,t,r){for(var a=M.context||this,n=0,o=h.length;n<o;n++)h[n].apply(a,[e,t,r||X,X])},M.error&&(m=M.error,M.error=function(e,t,r){var a=M.context||this;m.apply(a,[e,t,r,X])}),M.complete&&(p=M.complete,M.complete=function(e,t){var r=M.context||this;p.apply(r,[e,t,X])});var v=0<q("input[type=file]:enabled",this).filter(function(){return""!==q(this).val()}).length,g="multipart/form-data",x=X.attr("enctype")===g||X.attr("encoding")===g,y=S.fileapi&&S.formdata;N("fileAPI :"+y);var b,T=(v||x)&&!y;!1!==M.iframe&&(M.iframe||T)?M.closeKeepAlive?q.get(M.closeKeepAlive,function(){b=w(l)}):b=w(l):b=(v||x)&&y?function(e){for(var r=new FormData,t=0;t<e.length;t++)r.append(e[t].name,e[t].value);if(M.extraData){var a=function(e){var t,r,a=q.param(e,M.traditional).split("&"),n=a.length,o=[];for(t=0;t<n;t++)a[t]=a[t].replace(/\+/g," "),r=a[t].split("="),o.push([decodeURIComponent(r[0]),decodeURIComponent(r[1])]);return o}(M.extraData);for(t=0;t<a.length;t++)a[t]&&r.append(a[t][0],a[t][1])}M.data=null;var n=q.extend(!0,{},q.ajaxSettings,M,{contentType:!1,processData:!1,cache:!1,type:O||"POST"});M.uploadProgress&&(n.xhr=function(){var e=q.ajaxSettings.xhr();return e.upload&&e.upload.addEventListener("progress",function(e){var t=0,r=e.loaded||e.position,a=e.total;e.lengthComputable&&(t=Math.ceil(r/a*100)),M.uploadProgress(e,r,a,t)},!1),e});n.data=null;var o=n.beforeSend;return n.beforeSend=function(e,t){M.formData?t.data=M.formData:t.data=r,o&&o.call(this,e,t)},q.ajax(n)}(l):q.ajax(M),X.removeData("jqxhr").data("jqxhr",b);for(var j=0;j<C.length;j++)C[j]=null;return this.trigger("form-submit-notify",[this,M]),this;function w(e){var t,r,l,f,o,d,m,p,a,n,h,v,i=X[0],g=q.Deferred();if(g.abort=function(e){p.abort(e)},e)for(r=0;r<C.length;r++)t=q(C[r]),_?t.prop("disabled",!1):t.removeAttr("disabled");(l=q.extend(!0,{},q.ajaxSettings,M)).context=l.context||l,o="jqFormIO"+(new Date).getTime();var s=i.ownerDocument,u=X.closest("body");if(l.iframeTarget?(n=(d=q(l.iframeTarget,s)).attr2("name"))?o=n:d.attr2("name",o):(d=q('<iframe name="'+o+'" src="'+l.iframeSrc+'" />',s)).css({position:"absolute",top:"-1000px",left:"-1000px"}),m=d[0],p={aborted:0,responseText:null,responseXML:null,status:0,statusText:"n/a",getAllResponseHeaders:function(){},getResponseHeader:function(){},setRequestHeader:function(){},abort:function(e){var t="timeout"===e?"timeout":"aborted";N("aborting upload... "+t),this.aborted=1;try{m.contentWindow.document.execCommand&&m.contentWindow.document.execCommand("Stop")}catch(e){}d.attr("src",l.iframeSrc),p.error=t,l.error&&l.error.call(l.context,p,t,e),f&&q.event.trigger("ajaxError",[p,l,t]),l.complete&&l.complete.call(l.context,p,t)}},(f=l.global)&&0==q.active++&&q.event.trigger("ajaxStart"),f&&q.event.trigger("ajaxSend",[p,l]),l.beforeSend&&!1===l.beforeSend.call(l.context,p,l))return l.global&&q.active--,g.reject(),g;if(p.aborted)return g.reject(),g;(a=i.clk)&&(n=a.name)&&!a.disabled&&(l.extraData=l.extraData||{},l.extraData[n]=a.value,"image"===a.type&&(l.extraData[n+".x"]=i.clk_x,l.extraData[n+".y"]=i.clk_y));var x=1,y=2;function b(t){var r=null;try{t.contentWindow&&(r=t.contentWindow.document)}catch(e){N("cannot get iframe.contentWindow document: "+e)}if(r)return r;try{r=t.contentDocument?t.contentDocument:t.document}catch(e){N("cannot get iframe.contentDocument: "+e),r=t.document}return r}var c=q("meta[name=csrf-token]").attr("content"),T=q("meta[name=csrf-param]").attr("content");function j(){var e=X.attr2("target"),t=X.attr2("action"),r=X.attr("enctype")||X.attr("encoding")||"multipart/form-data";i.setAttribute("target",o),O&&!/post/i.test(O)||i.setAttribute("method","POST"),t!==l.url&&i.setAttribute("action",l.url),l.skipEncodingOverride||O&&!/post/i.test(O)||X.attr({encoding:"multipart/form-data",enctype:"multipart/form-data"}),l.timeout&&(v=setTimeout(function(){h=!0,A(x)},l.timeout));var a=[];try{if(l.extraData)for(var n in l.extraData)l.extraData.hasOwnProperty(n)&&(q.isPlainObject(l.extraData[n])&&l.extraData[n].hasOwnProperty("name")&&l.extraData[n].hasOwnProperty("value")?a.push(q('<input type="hidden" name="'+l.extraData[n].name+'">',s).val(l.extraData[n].value).appendTo(i)[0]):a.push(q('<input type="hidden" name="'+n+'">',s).val(l.extraData[n]).appendTo(i)[0]));l.iframeTarget||d.appendTo(u),m.attachEvent?m.attachEvent("onload",A):m.addEventListener("load",A,!1),setTimeout(function e(){try{var t=b(m).readyState;N("state = "+t),t&&"uninitialized"===t.toLowerCase()&&setTimeout(e,50)}catch(e){N("Server abort: ",e," (",e.name,")"),A(y),v&&clearTimeout(v),v=void 0}},15);try{i.submit()}catch(e){document.createElement("form").submit.apply(i)}}finally{i.setAttribute("action",t),i.setAttribute("enctype",r),e?i.setAttribute("target",e):X.removeAttr("target"),q(a).remove()}}T&&c&&(l.extraData=l.extraData||{},l.extraData[T]=c),l.forceSync?j():setTimeout(j,10);var w,S,k,D=50;function A(e){if(!p.aborted&&!k){if((S=b(m))||(N("cannot access response document"),e=y),e===x&&p)return p.abort("timeout"),void g.reject(p,"timeout");if(e===y&&p)return p.abort("server abort"),void g.reject(p,"error","server abort");if(S&&S.location.href!==l.iframeSrc||h){m.detachEvent?m.detachEvent("onload",A):m.removeEventListener("load",A,!1);var t,r="success";try{if(h)throw"timeout";var a="xml"===l.dataType||S.XMLDocument||q.isXMLDoc(S);if(N("isXml="+a),!a&&window.opera&&(null===S.body||!S.body.innerHTML)&&--D)return N("requeing onLoad callback, DOM not available"),void setTimeout(A,250);var n=S.body?S.body:S.documentElement;p.responseText=n?n.innerHTML:null,p.responseXML=S.XMLDocument?S.XMLDocument:S,a&&(l.dataType="xml"),p.getResponseHeader=function(e){return{"content-type":l.dataType}[e.toLowerCase()]},n&&(p.status=Number(n.getAttribute("status"))||p.status,p.statusText=n.getAttribute("statusText")||p.statusText);var o,i,s,u=(l.dataType||"").toLowerCase(),c=/(json|script|text)/.test(u);c||l.textarea?(o=S.getElementsByTagName("textarea")[0])?(p.responseText=o.value,p.status=Number(o.getAttribute("status"))||p.status,p.statusText=o.getAttribute("statusText")||p.statusText):c&&(i=S.getElementsByTagName("pre")[0],s=S.getElementsByTagName("body")[0],i?p.responseText=i.textContent?i.textContent:i.innerText:s&&(p.responseText=s.textContent?s.textContent:s.innerText)):"xml"===u&&!p.responseXML&&p.responseText&&(p.responseXML=F(p.responseText));try{w=E(p,u,l)}catch(e){r="parsererror",p.error=t=e||r}}catch(e){N("error caught: ",e),r="error",p.error=t=e||r}p.aborted&&(N("upload aborted"),r=null),p.status&&(r=200<=p.status&&p.status<300||304===p.status?"success":"error"),"success"===r?(l.success&&l.success.call(l.context,w,"success",p),g.resolve(p.responseText,"success",p),f&&q.event.trigger("ajaxSuccess",[p,l])):r&&(void 0===t&&(t=p.statusText),l.error&&l.error.call(l.context,p,r,t),g.reject(p,"error",t),f&&q.event.trigger("ajaxError",[p,l,t])),f&&q.event.trigger("ajaxComplete",[p,l]),f&&!--q.active&&q.event.trigger("ajaxStop"),l.complete&&l.complete.call(l.context,p,r),k=!0,l.timeout&&clearTimeout(v),setTimeout(function(){l.iframeTarget?d.attr("src",l.iframeSrc):d.remove(),p.responseXML=null},100)}}}var F=q.parseXML||function(e,t){return window.ActiveXObject?((t=new ActiveXObject("Microsoft.XMLDOM")).async="false",t.loadXML(e)):t=(new DOMParser).parseFromString(e,"text/xml"),t&&t.documentElement&&"parsererror"!==t.documentElement.nodeName?t:null},L=q.parseJSON||function(e){return window.eval("("+e+")")},E=function(e,t,r){var a=e.getResponseHeader("content-type")||"",n=("xml"===t||!t)&&0<=a.indexOf("xml"),o=n?e.responseXML:e.responseText;return n&&"parsererror"===o.documentElement.nodeName&&q.error&&q.error("parsererror"),r&&r.dataFilter&&(o=r.dataFilter(o,t)),"string"==typeof o&&(("json"===t||!t)&&0<=a.indexOf("json")?o=L(o):("script"===t||!t)&&0<=a.indexOf("javascript")&&q.globalEval(o)),o};return g}},q.fn.ajaxForm=function(e,t,r,a){if(("string"==typeof e||!1===e&&0<arguments.length)&&(e={url:e,data:t,dataType:r},"function"==typeof a&&(e.success=a)),(e=e||{}).delegation=e.delegation&&q.isFunction(q.fn.on),e.delegation||0!==this.length)return e.delegation?(q(document).off("submit.form-plugin",this.selector,o).off("click.form-plugin",this.selector,i).on("submit.form-plugin",this.selector,e,o).on("click.form-plugin",this.selector,e,i),this):(e.beforeFormUnbind&&e.beforeFormUnbind(this,e),this.ajaxFormUnbind().on("submit.form-plugin",e,o).on("click.form-plugin",e,i));var n={s:this.selector,c:this.context};return!q.isReady&&n.s?(N("DOM not ready, queuing ajaxForm"),q(function(){q(n.s,n.c).ajaxForm(e)})):N("terminating; zero elements found by selector"+(q.isReady?"":" (DOM not ready)")),this},q.fn.ajaxFormUnbind=function(){return this.off("submit.form-plugin click.form-plugin")},q.fn.formToArray=function(e,t,r){var a=[];if(0===this.length)return a;var n,o,i,s,u,c,l,f,d,m,p=this[0],h=this.attr("id"),v=(v=e||void 0===p.elements?p.getElementsByTagName("*"):p.elements)&&q.makeArray(v);if(h&&(e||/(Edge|Trident)\//.test(navigator.userAgent))&&(n=q(':input[form="'+h+'"]').get()).length&&(v=(v||[]).concat(n)),!v||!v.length)return a;for(q.isFunction(r)&&(v=q.map(v,r)),o=0,c=v.length;o<c;o++)if((m=(u=v[o]).name)&&!u.disabled)if(e&&p.clk&&"image"===u.type)p.clk===u&&(a.push({name:m,value:q(u).val(),type:u.type}),a.push({name:m+".x",value:p.clk_x},{name:m+".y",value:p.clk_y}));else if((s=q.fieldValue(u,!0))&&s.constructor===Array)for(t&&t.push(u),i=0,l=s.length;i<l;i++)a.push({name:m,value:s[i]});else if(S.fileapi&&"file"===u.type){t&&t.push(u);var g=u.files;if(g.length)for(i=0;i<g.length;i++)a.push({name:m,value:g[i],type:u.type});else a.push({name:m,value:"",type:u.type})}else null!=s&&(t&&t.push(u),a.push({name:m,value:s,type:u.type,required:u.required}));return e||!p.clk||(m=(d=(f=q(p.clk))[0]).name)&&!d.disabled&&"image"===d.type&&(a.push({name:m,value:f.val()}),a.push({name:m+".x",value:p.clk_x},{name:m+".y",value:p.clk_y})),a},q.fn.formSerialize=function(e){return q.param(this.formToArray(e))},q.fn.fieldSerialize=function(n){var o=[];return this.each(function(){var e=this.name;if(e){var t=q.fieldValue(this,n);if(t&&t.constructor===Array)for(var r=0,a=t.length;r<a;r++)o.push({name:e,value:t[r]});else null!=t&&o.push({name:this.name,value:t})}}),q.param(o)},q.fn.fieldValue=function(e){for(var t=[],r=0,a=this.length;r<a;r++){var n=this[r],o=q.fieldValue(n,e);null==o||o.constructor===Array&&!o.length||(o.constructor===Array?q.merge(t,o):t.push(o))}return t},q.fieldValue=function(e,t){var r=e.name,a=e.type,n=e.tagName.toLowerCase();if(void 0===t&&(t=!0),t&&(!r||e.disabled||"reset"===a||"button"===a||("checkbox"===a||"radio"===a)&&!e.checked||("submit"===a||"image"===a)&&e.form&&e.form.clk!==e||"select"===n&&-1===e.selectedIndex))return null;if("select"!==n)return q(e).val().replace(m,"\r\n");var o=e.selectedIndex;if(o<0)return null;for(var i=[],s=e.options,u="select-one"===a,c=u?o+1:s.length,l=u?o:0;l<c;l++){var f=s[l];if(f.selected&&!f.disabled){var d=(d=f.value)||(f.attributes&&f.attributes.value&&!f.attributes.value.specified?f.text:f.value);if(u)return d;i.push(d)}}return i},q.fn.clearForm=function(e){return this.each(function(){q("input,select,textarea",this).clearFields(e)})},q.fn.clearFields=q.fn.clearInputs=function(r){var a=/^(?:color|date|datetime|email|month|number|password|range|search|tel|text|time|url|week)$/i;return this.each(function(){var e=this.type,t=this.tagName.toLowerCase();a.test(e)||"textarea"===t?this.value="":"checkbox"===e||"radio"===e?this.checked=!1:"select"===t?this.selectedIndex=-1:"file"===e?/MSIE/.test(navigator.userAgent)?q(this).replaceWith(q(this).clone(!0)):q(this).val(""):r&&(!0===r&&/hidden/.test(e)||"string"==typeof r&&q(this).is(r))&&(this.value="")})},q.fn.resetForm=function(){return this.each(function(){var t=q(this),e=this.tagName.toLowerCase();switch(e){case"input":this.checked=this.defaultChecked;case"textarea":return this.value=this.defaultValue,!0;case"option":case"optgroup":var r=t.parents("select");return r.length&&r[0].multiple?"option"===e?this.selected=this.defaultSelected:t.find("option").resetForm():r.resetForm(),!0;case"select":return t.find("option").each(function(e){if(this.selected=this.defaultSelected,this.defaultSelected&&!t[0].multiple)return t[0].selectedIndex=e,!1}),!0;case"label":var a=q(t.attr("for")),n=t.find("input,select,textarea");return a[0]&&n.unshift(a[0]),n.resetForm(),!0;case"form":return"function"!=typeof this.reset&&("object"!=typeof this.reset||this.reset.nodeType)||this.reset(),!0;default:return t.find("form,input,label,select,textarea").resetForm(),!0}})},q.fn.enable=function(e){return void 0===e&&(e=!0),this.each(function(){this.disabled=!e})},q.fn.selected=function(r){return void 0===r&&(r=!0),this.each(function(){var e,t=this.t
12404ype;"checkbox"===t||"radio"===t?this.checked=r:"option"===this.tagName.toLowerCase()&&(e=q(this).parent("select"),r&&e[0]&&"select-one"===e[0].type&&e.find("option").selected(!1),this.selected=r)})},q.fn.ajaxSubmit.debug=!1}); 12405 12406; 12407/** 12408* DO NOT EDIT THIS FILE. 12409* See the following change record for more information, 12410* https://www.drupal.org/node/2815083 12411* @preserve 12412**/ 12413(function ($, Drupal, drupalSettings) { 12414 Drupal.Views = {}; 12415 Drupal.Views.parseQueryString = function (query) { 12416 var args = {}; 12417 var pos = query.indexOf('?'); 12418 if (pos !== -1) { 12419 query = query.substring(pos + 1); 12420 } 12421 var pair; 12422 var pairs = query.split('&'); 12423 for (var i = 0; i < pairs.length; i++) { 12424 pair = pairs[i].split('='); 12425 if (pair[0] !== 'q' && pair[1]) { 12426 args[decodeURIComponent(pair[0].replace(/\+/g, ' '))] = decodeURIComponent(pair[1].replace(/\+/g, ' ')); 12427 } 12428 } 12429 return args; 12430 }; 12431 Drupal.Views.parseViewArgs = function (href, viewPath) { 12432 var returnObj = {}; 12433 var path = Drupal.Views.getPath(href); 12434 var viewHref = Drupal.url(viewPath).substring(drupalSettings.path.baseUrl.length); 12435 if (viewHref && path.substring(0, viewHref.length + 1) === "".concat(viewHref, "/")) { 12436 returnObj.view_args = decodeURIComponent(path.substring(viewHref.length + 1, path.length)); 12437 returnObj.view_path = path; 12438 } 12439 return returnObj; 12440 }; 12441 Drupal.Views.pathPortion = function (href) { 12442 var protocol = window.location.protocol; 12443 if (href.substring(0, protocol.length) === protocol) { 12444 href = href.substring(href.indexOf('/', protocol.length + 2)); 12445 } 12446 return href; 12447 }; 12448 Drupal.Views.getPath = function (href) { 12449 href = Drupal.Views.pathPortion(href); 12450 href = href.substring(drupalSettings.path.baseUrl.length, href.length); 12451 if (href.substring(0, 3) === '?q=') { 12452 href = href.substring(3, href.length); 12453 } 12454 var chars = ['#', '?', '&']; 12455 for (var i = 0; i < chars.length; i++) { 12456 if (href.indexOf(chars[i]) > -1) { 12457 href = href.substr(0, href.indexOf(chars[i])); 12458 } 12459 } 12460 return href; 12461 }; 12462})(jQuery, Drupal, drupalSettings);; 12463/** 12464* DO NOT EDIT THIS FILE. 12465* See the following change record for more information, 12466* https://www.drupal.org/node/2815083 12467* @preserve 12468**/ 12469(function ($, Drupal, drupalSettings) { 12470 Drupal.behaviors.ViewsAjaxView = {}; 12471 Drupal.behaviors.ViewsAjaxView.attach = function (context, settings) { 12472 if (settings && settings.views && settings.views.ajaxViews) { 12473 var ajaxViews = settings.views.ajaxViews; 12474 Object.keys(ajaxViews || {}).forEach(function (i) { 12475 Drupal.views.instances[i] = new Drupal.views.ajaxView(ajaxViews[i]); 12476 }); 12477 } 12478 }; 12479 Drupal.behaviors.ViewsAjaxView.detach = function (context, settings, trigger) { 12480 if (trigger === 'unload') { 12481 if (settings && settings.views && settings.views.ajaxViews) { 12482 var ajaxViews = settings.views.ajaxViews; 12483 Object.keys(ajaxViews || {}).forEach(function (i) { 12484 var selector = ".js-view-dom-id-".concat(ajaxViews[i].view_dom_id); 12485 if ($(selector, context).length) { 12486 delete Drupal.views.instances[i]; 12487 delete settings.views.ajaxViews[i]; 12488 } 12489 }); 12490 } 12491 } 12492 }; 12493 Drupal.views = {}; 12494 Drupal.views.instances = {}; 12495 Drupal.views.ajaxView = function (settings) { 12496 var selector = ".js-view-dom-id-".concat(settings.view_dom_id); 12497 this.$view = $(selector); 12498 var ajaxPath = drupalSettings.views.ajax_path; 12499 if (ajaxPath.constructor.toString().indexOf('Array') !== -1) { 12500 ajaxPath = ajaxPath[0]; 12501 } 12502 var queryString = window.location.search || ''; 12503 if (queryString !== '') { 12504 queryString = queryString.slice(1).replace(/q=[^&]+&?|&?render=[^&]+/, ''); 12505 if (queryString !== '') { 12506 queryString = (/\?/.test(ajaxPath) ? '&' : '?') + queryString; 12507 } 12508 } 12509 this.element_settings = { 12510 url: ajaxPath + queryString, 12511 submit: settings, 12512 setClick: true, 12513 event: 'click', 12514 selector: selector, 12515 progress: { 12516 type: 'fullscreen' 12517 } 12518 }; 12519 this.settings = settings; 12520 this.$exposed_form = $("form#views-exposed-form-".concat(settings.view_name.replace(/_/g, '-'), "-").concat(settings.view_display_id.replace(/_/g, '-'))); 12521 once('exposed-form', this.$exposed_form).forEach($.proxy(this.attachExposedFormAjax, this));
12522 once('ajax-pager', this.$view.filter($.proxy(this.filterNestedViews, this))).forEach($.proxy(this.attachPagerAjax, this)); 12523 var selfSettings = $.extend({}, this.element_settings, { 12524 event: 'RefreshView', 12525 base: this.selector, 12526 element: this.$view.get(0) 12527 }); 12528 this.refreshViewAjax = Drupal.ajax(selfSettings); 12529 }; 12530 Drupal.views.ajaxView.prototype.attachExposedFormAjax = function () { 12531 var that = this; 12532 this.exposedFormAjax = []; 12533 $('input[type=submit], button[type=submit], input[type=image]', this.$exposed_form).not('[data-drupal-selector=edit-reset]').each(function (index) { 12534 var selfSettings = $.extend({}, that.element_settings, { 12535 base: $(this).attr('id'), 12536 element: this 12537 }); 12538 that.exposedFormAjax[index] = Drupal.ajax(selfSettings); 12539 }); 12540 }; 12541 Drupal.views.ajaxView.prototype.filterNestedViews = function () { 12542 return !this.$view.parents('.view').length; 12543 }; 12544 Drupal.views.ajaxView.prototype.attachPagerAjax = function () { 12545 this.$view.find('ul.js-pager__items > li > a, th.views-field a, .attachment .views-summary a').each($.proxy(this.attachPagerLinkAjax, this)); 12546 }; 12547 Drupal.views.ajaxView.prototype.attachPagerLinkAjax = function (id, link) { 12548 var $link = $(link); 12549 var viewData = {}; 12550 var href = $link.attr('href'); 12551 $.extend(viewData, this.settings, Drupal.Views.parseQueryString(href), Drupal.Views.parseViewArgs(href, this.settings.view_base_path)); 12552 var selfSettings = $.extend({}, this.element_settings, {
12553 submit: viewData, 12554 base: false, 12555 element: link 12556 }); 12557 this.pagerAjax = Drupal.ajax(selfSettings); 12558 }; 12559 Drupal.AjaxCommands.prototype.viewsScrollTop = function (ajax, response) { 12560 var offset = $(response.selector).offset(); 12561 var scrollTarget = response.selector; 12562 while ($(scrollTarget).scrollTop() === 0 && $(scrollTarget).parent()) { 12563 scrollTarget = $(scrollTarget).parent(); 12564 } 12565 if (offset.top - 10 < $(scrollTarget).scrollTop()) { 12566 $(scrollTarget).animate({ 12567 scrollTop: offset.top - 10 12568 }, 500); 12569 } 12570 }; 12571})(jQuery, Drupal, drupalSettings);; 12572/** 12573 * @file 12574 * better_exposed_filters.js 12575 * 12576 * Provides some client-side functionality for the Better Exposed Filters module. 12577 */ 12578 12579(function ($, Drupal, drupalSettings) { 12580 Drupal.behaviors.betterExposedFilters = { 12581 attach: function (context, settings) { 12582 // Add highlight class to checked checkboxes for better theming. 12583 $('.bef-tree input[type=checkbox], .bef-checkboxes input[type=checkbox]') 12584 // Highlight newly selected checkboxes. 12585 .change(function () { 12586 _bef_highlight(this, context); 12587 }) 12588 .filter(':checked').closest('.form-item', context).addClass('highlight'); 12589 } 12590 }; 12591 12592 /* 12593 * Helper functions 12594 */ 12595 12596 /** 12597 * Adds/Removes the highlight class from the form-item div as appropriate. 12598 */ 12599 function _bef_highlight(elem, context) { 12600 $elem = $(elem, context); 12601 $elem.attr('checked') 12602 ? $elem.closest('.form-item', context).addClass('highlight') 12603 : $elem.closest('.form-item', context).removeClass('highlight'); 12604 } 12605 12606})(jQuery, Drupal, drupalSettings); 12607;
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.