PageSourceSearch

https://www.gehlebt.at/wp-content/cache/wpfc-minified/kemnfzol/hmhrd.js

js gehlebt.at collected 2026-10-04 07:12:10 UTC 772,486 bytes, 3,370 lines download raw bytes

1// source --> https://www.gehlebt.at/wp-content/plugins/colibri-page-builder/extend-builder/assets/static/colibri.js?ver=1.0.377 
2(function (name, definition) {
3
4  if (typeof module != 'undefined') {
5    module.exports = definition()
6  } else if (typeof define == 'function' && typeof define.amd == 'object') {
7    define(definition)
8  } else {
9    this[name] = definition()
10  }
11
12})('Colibri',
13  function () {
14    var $ = jQuery;
15    if (typeof jQuery === 'undefined') {
16      throw new Error('Colibri requires jQuery')
17    }
18
19    ;(function ($) {
20      var version = $.fn.jquery.split('.');
21      if (version[0] === 1 && version[1] < 8) {
22        throw new Error('Colibri requires at least jQuery v1.8');
23      }
24    })(jQuery);
25
26    var Colibri;
27
28    var lib_prefix = "colibri.";
29
30    ;(function () {
31      // Inherits
32      Function.prototype.inherits = function (parent) {
33        var F = function () {
34        };
35        F.prototype = parent.prototype;
36        var f = new F();
37
38        for (var prop in this.prototype) {
39          f[prop] = this.prototype[prop];
40        }
41        this.prototype = f;
42        this.prototype.super = parent.prototype;
43      };
44
45      // Core Class
46      Colibri = function (element, options) {
47        options = (typeof options === 'object') ? options : {};
48
49        this.$element = $(element);
50        var instanceId = this.$element.data('colibri-id');
51
52        var instanceData = Colibri.getData(instanceId);
53        this.instance = instanceId;
54
55        var elementData = this.$element.data();
56
57        this.opts = $.extend(true, {}, this.defaults, $.fn[lib_prefix + this.namespace].options, elementData, instanceData, options);
58        this.$target = (typeof this.opts.target === 'string') ? $(this.opts.target) : null;
59      };
60
61      Colibri.getData = function (id) {
62        if (window.colibriData && window.colibriData[id]) {
63          return window.colibriData[id];
64        }
65
66        return {};
67      };
68
69      Colibri.isCustomizerPreview = function () {
70        return !!window.colibriCustomizerPreviewData;
71      }
72      // Core Functionality
73      Colibri.prototype = {
74        updateOpts: function (updatedData) {
75          var instanceId = this.instance;
76          var instanceData = $.extend(true, {}, this.defaults, Colibri.getData(instanceId));
77          var updatedDataWithDefault = updatedData ? updatedData : {};
78          this.opts = $.extend(true, this.opts, instanceData, updatedDataWithDefault);
79        },
80        getInstance: function () {
81          return this.$element.data('fn.' + this.namespace);
82        },
83        hasTarget: function () {
84          return !(this.$target === null);
85        },
86        callback: function (type) {
87          var args = [].slice.call(arguments).splice(1);
88
89          // on element callback
90          if (this.$element) {
91            args = this._fireCallback($._data(this.$element[0], 'events'), type, this.namespace, args);
92          }
93
94          // on target callback
95          if (this.$target) {
96            args = this._fireCallback($._data(this.$target[0], 'events'), type, this.namespace, args);
97          }
98
99          // opts callback
100          if (this.opts && this.opts.callbacks && $.isFunction(this.opts.callbacks[type])) {
101            return this.opts.callbacks[type].apply(this, args);
102          }
103
104          return args;
105        },
106        _fireCallback: function (events, type, eventNamespace, args) {
107          if (events && typeof events[type] !== 'undefined') {
108            var len = events[type].length;
109            for (var i = 0; i < len; i++) {
110              var namespace = events[type][i].namespace;
111              if (namespace === eventNamespace) {
112                var value = events[type][i].handler.apply(this, args);
113              }
114            }
115          }
116
117          return (typeof value === 'undefined') ? args : value;
118        }
119      };
120
121    })();
122
123    (function (Colibri) {
124      Colibri.Plugin = {
125        create: function (classname, pluginname) {
126          pluginname = (typeof pluginname === 'undefined') ? classname.toLowerCase() : pluginname;
127          pluginname = lib_prefix + pluginname;
128
129          $.fn[pluginname] = function (method, options) {
130            var args = Array.prototype.slice.call(arguments, 1);
131            var name = 'fn.' + pluginname;
132            var val = [];
133
134            this.each(function () {
135              var $this = $(this), data = $this.data(name);
136              options = (typeof method === 'object') ? method : options;
137
138              if (!data) {
139                // Initialization
140                $this.data(name, {});
141                data = new Colibri[classname](this, options);
142                $this.data(name, data);
143              }
144
145              // Call methods
146              if (typeof method === 'string') {
147                if ($.isFunction(data[method])) {
148                  var methodVal = data[method].apply(data, args);
149                  if (methodVal !== undefined) {
150                    val.push(methodVal);
151                  }
152                } else {
153                  $.error('No such method "' + method + '" for ' + classname);
154                }
155              }
156
157            });
158
159            return (val.length === 0 || val.length === 1) ? ((val.length === 0) ? this 
159: val[0]) : val;
160          };
161
162          $.fn[pluginname].options = {};
163
164          return this;
165        },
166        autoload: function (pluginname) {
167          var arr = pluginname.split(',');
168          var len = arr.length;
169
170          for (var i = 0; i < len; i++) {
171            var name = arr[i].toLowerCase().split(',').map(function (s) {
172              return lib_prefix + s.trim();
173            }).join(',');
174            this.autoloadQueue.push(name);
175          }
176
177          return this;
178        },
179        autoloadQueue: [],
180        startAutoload: function () {
181          if (!window.MutationObserver || this.autoloadQueue.length === 0) {
182            return;
183          }
184
185          var self = this;
186          var observer = new MutationObserver(function (mutations) {
187            mutations.forEach(function (mutation) {
188              var newNodes = mutation.addedNodes;
189              if (newNodes.length === 0 || (newNodes.length === 1 && newNodes.nodeType === 3)) {
190                return;
191              }
192
193              self.startAutoloadOnce();
194            });
195          });
196
197          // pass in the target node, as well as the observer options
198          observer.observe(document, {
199            subtree: true,
200            childList: true
201          });
202        },
203
204        startAutoloadOnce: function () {
205          var self = this;
206          var $nodes = $('[data-colibri-component]').not('[data-loaded]').not('[data-disabled]');
207          $nodes.each(function () {
208            var $el = $(this);
209            var pluginname = lib_prefix + $el.data('colibri-component');
210
211            if (self.autoloadQueue.indexOf(pluginname) !== -1) {
212              $el.attr('data-loaded', true);
213              try {
214                $el[pluginname]();
215              } catch (e) {
216                console.error(e)
217              }
218            }
219          });
220
221        },
222        watch: function () {
223          Colibri.Plugin.startAutoloadOnce();
224          Colibri.Plugin.startAutoload();
225        }
226      };
227
228      $(window).on('load', function () {
229        Colibri.Plugin.watch();
230      });
231
232    }(Colibri));
233
234    (function (Colibri) {
235      Colibri.Animation = function (element, effect, callback) {
236        this.namespace = 'animation';
237        this.defaults = {};
238
239        // Parent Constructor
240        Colibri.apply(this, arguments);
241
242        // Initialization
243        this.effect = effect;
244        this.completeCallback = (typeof callback === 'undefined') ? false : callback;
245        this.prefixes = ['', '-moz-', '-o-animation-', '-webkit-'];
246        this.queue = [];
247
248        this.start();
249      };
250
251      Colibri.Animation.prototype = {
252        start: function () {
253          if (this.isSlideEffect()) {
254            this.setElementHeight();
255          }
256
257          this.addToQueue();
258          this.clean();
259          this.animate();
260        },
261        addToQueue: function () {
262          this.queue.push(this.effect);
263        },
264        setElementHeight: function () {
265          this.$element.height(this.$element.outerHeight());
266        },
267        removeElementHeight: function () {
268          this.$element.css('height', '');
269        },
270        isSlideEffect: function () {
271          return (this.effect === 'slideDown' || this.effect === 'slideUp');
272        },
273        isHideableEffect: function () {
274          var effects = ['fadeOut', 'slideUp', 'flipOut', 'zoomOut', 'slideOutUp', 'slideOutRight', 'slideOutLeft'];
275
276          return ($.inArray(this.effect, effects) !== -1);
277        },
278        isToggleEffect: function () {
279          return (this.effect === 'show' || this.effect === 'hide');
280        },
281        storeHideClasses: function () {
282          if (this.$element.hasClass('hide-sm')) {
283            this.$element.data('hide-sm-class', true);
284          } else if (this.$element.hasClass('hide-md')) {
285            this.$element.data('hide-md-class', true);
286          }
287        },
288        revertHideClasses: function () {
289          if (this.$element.data('hide-sm-class')) {
290            this.$element.addClass('hide-sm').removeData('hide-sm-class');
291          } else if (this.$element.data('hide-md-class')) {
292            this.$element.addClass('hide-md').removeData('hide-md-class');
293          } else {
294            this.$element.addClass('hide');
295          }
296        },
297        removeHideClass: function () {
298          if (this.$element.data('hide-sm-class')) {
299            this.$element.removeClass('hide-sm');
300          } else {
301            if (this.$element.data('hide-md-class')) {
302              this.$element.removeClass('hide-md');
303            } else {
304              this.$element.removeClass('hide');
305              this.$element.removeClass('force-hide');
306            }
307          }
308
309        },
310        animate: function () {
311          this.storeHideClasses();
312          if (this.isToggleEffect()) {
313            return this.makeSimpleEffects();
314          }
315
316          this.$element.addClass('colibri-animated');
317          this.$element.addClass(this.queue[0]);
318          this.removeHideClass();
319
320          var _callback = (this.queue.length > 1) ? null : this.completeCallback;
321          this.complete('AnimationEnd', $.proxy(this.makeComplete, this), _callback);
322        },
323        makeSimpleEffects: function () {
324          if (this.effect === 'show') {
325            this.removeHideClass();
326          } else if (this.effect === 'hide') {
327            this.revertHideClasses();
328          }
329
330          if (typeof this.completeCallback === 'function') {
331            this.completeCallback(this);
332          }
333        },
334        makeComplete: function () {
335          if (this.$element.hasClass(this.queue[0])) {
336            this.clean();
337            this.queue.shift();
338
339            if (this.queue.length) {
340              this.animate();
341            }
342          }
343        },
344        complete: function (type, make, callback) {
345          var events = type.split(' ').map(function (type) {
346            return type.toLowerCase() + ' webkit' + type + ' o' + type + ' MS' + type;
347          });
348
349          this.$element.one(events.join(' '), $.proxy(function () {
350            if (typeof make === 'function') {
351              make();
352            }
353            if (this.isHideableEffect()) {
354              this.revertHideClasses();
355            }
356            if (this.isSlideEffect()) {
357              this.removeElementHeight();
358            }
359            if (typeof callback === 'function') {
360              callback(this);
361            }
362
363            this.$element.off(event);
364
365          }, this));
366        },
367        clean: function () {
368          this.$element.removeClass('colibri-animated').removeClass(this.queue[0]);
369        }
370      };
371
372      // Inheritance
373      Colibri.Animation.inherits(Colibri);
374
375    }(Colibri));
376
377    (function ($) {
378      var animationName = lib_prefix + 'animation';
379      $.fn[animationName] = function (effect, callback) {
380        var name = 'fn.animation';
381
382        return this.each(function () {
383          var $this = $(this), data = $this.data(name);
384
385          $this.data(name, {});
386          $this.data(name, (data = new Colibri.Animation(this, effect, callback)));
387        });
388      };
389
390      $.fn[animationName].options = {};
391
392      Colibri.animate = function ($target, effect, callback) {
393        $target[animationName](effect, callback);
394        return $target;
395      }
396
397    })(jQuery);
398
399    (function (Colibri) {
400      Colibri.Detect = function () {
401      };
402
403      Colibri.Detect.prototype = {
404        isMobile: function () {
405          return /(iPhone|iPod|BlackBerry|Android)/.test(navigator.userAgent);
406        },
407        isDesktop: function () {
408          return !/(iPhone|iPod|iPad|BlackBerry|Android)/.test(navigator.userAgent);
409        },
410        isMobileScreen: function () {
411          return ($(window).width() <= 768);
412        },
413        isTabletScreen: function () {
414          return ($(window).width() >= 768 && $(window).width() <= 1024);
415        },
416        isDesktopScreen: function () {
417          return ($(window).width() > 1024);
418        }
419      };
420    }(Colibri));
421
422    (function (Colibri) {
423      Colibri.Utils = function () {
424      };
425
426      Colibri.Utils.prototype = {
427        disableBodyScroll: function () {
428          var $body = $('html');
429          var windowWidth = window.innerWidth;
430
431          if (!windowWidth) {
432            var documentElementRect = document.documentElement.getBoundingClientRect();
433            windowWidth = documentElementRect.right - Math.abs(documentElementRect.left);
434          }
435
436          var isOverflowing = document.body.clientWidth < windowWidth;
437          var scrollbarWidth = this.measureScrollbar();
438
439          $body.css('overflow', 'hidden');
440          if (isOverflowing) {
441            $body.css('padding-right', scrollbarWidth);
442          }
443        },
444        measureScrollbar: function () {
445          var $body = $('body');
446          var scrollDiv = document.createElement('div');
447          scrollDiv.className = 'scrollbar-measure';
448
449          $body.append(scrollDiv);
450          var scrollbarWidth = scrollDiv.offsetWidth - scrollDiv.clientWidth;
451          $body[0].removeChild(scrollDiv);
452          return scrollbarWidth;
453        },
454        enableBodyScroll: function () {
455          $('html').css({'overflow': '', 'padding-right': ''});
456        }
457      };
458
459
460    }(Colibri));
461
462    return Colibri;
463  }
464);
465// source --> https://www.gehlebt.at/wp-content/plugins/colibri-page-builder/extend-builder/assets/static/typed.js?ver=1.0.377 
466/*!
467 *
468 *   typed.js - A JavaScript Typing Animation Library
469 *   Author: Matt Boldt <[email protected]>
470 *   Version: v2.0.9
471 *   Url: https://github.com/mattboldt/typed.js
472 *   License(s): MIT
473 *
474 */
475(function webpackUniversalModuleDefinition(root, factory) {
476  if(typeof exports === 'object' && typeof module === 'object')
477    module.exports = factory();
478  else if(typeof define === 'function' && define.amd)
479    define([], factory);
480  else if(typeof exports === 'object')
481    exports["Typed"] = factory();
482  else
483    root["Typed"] = factory();
484})(this, function() {
485  return /******/ (function(modules) { // webpackBootstrap
486    /******/ 	// The module cache
487    /******/ 	var installedModules = {};
488    /******/
489    /******/ 	// The require function
490    /******/ 	function __webpack_require__(moduleId) {
491      /******/
492      /******/ 		// Check if module is in cache
493      /******/ 		if(installedModules[moduleId])
494      /******/ 			return installedModules[moduleId].exports;
495      /******/
496      /******/ 		// Create a new module (and put it into the cache)
497      /******/ 		var module = installedModules[moduleId] = {
498        /******/ 			exports: {},
499        /******/ 			id: moduleId,
500        /******/ 			loaded: false
501        /******/ 		};
502      /******/
503      /******/ 		// Execute the module function
504      /******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
505      /******/
506      /******/ 		// Flag the module as loaded
507      /******/ 		module.loaded = true;
508      /******/
509      /******/ 		// Return the exports of the module
510      /******/ 		return module.exports;
511      /******/ 	}
512    /******/
513    /******/
514    /******/ 	// expose the modules object (__webpack_modules__)
515    /******/ 	__webpack_require__.m = modules;
516    /******/
517    /******/ 	// expose the module cache
518    /******/ 	__webpack_require__.c = installedModules;
519    /******/
520    /******/ 	// __webpack_public_path__
521    /******/ 	__webpack_require__.p = "";
522    /******/
523    /******/ 	// Load entry module and return exports
524    /******/ 	return __webpack_require__(0);
525    /******/ })
526  /************************************************************************/
527  /******/ ([
528    /* 0 */
529    /***/ (function(module, exports, __webpack_require__) {
530
531      'use strict';
532
533      Object.defineProperty(exports, '__esModule', {
534        value: true
535      });
536
537      var _createClass = (function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; })();
538
539      function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } }
540
541      var _initializerJs = __webpack_require__(1);
542
543      var _htmlParserJs = __webpack_require__(3);
544
545      /**
546       * Welcome to Typed.js!
547       * @param {string} elementId HTML element ID _OR_ HTML element
548       * @param {object} options options object
549       * @returns {object} a new Typed object
550       */
551
552      var Typed = (function () {
553        function Typed(elementId, options) {
554          _classCallCheck(this, Typed);
555
556          // Initialize it up
557          _initializerJs.initializer.load(this, options, elementId);
558          // All systems go!
559          this.begin();
560        }
561
562        /**
563         * Toggle start() and stop() of the Typed instance
564         * @public
565         */
566
567        _createClass(Typed, [{
568          key: 'toggle',
569          value: function toggle() {
570            this.pause.status ? this.start() : this.stop();
571          }
572
573          /**
574           * Stop typing / backspacing and enable cursor blinking
575           * @public
576           */
577        }, {
578          key: 'stop',
579          value: function stop() {
580            clearInterval(this.timeout);
581            if (this.typingComplete) return;
582            if (this.pause.status) return;
583            this.toggleBlinking(true);
584            this.pause.status = true;
585            this.options.onStop(this.arrayPos, this);
586          }
587
588          /**
589           * Start typing / backspacing after being stopped
590           * @public
591           */
592        }, {
593          key: 'start',
594          value: function start() {
595            if (this.typingComplete) return;
596            if (!this.pause.status) return;
597            this.pause.status = false;
598            if (this.pause.typewrite) {
599              this.typewrite(this.pause.curString, this.pause.curStrPos);
600            } else {
601              this.backspace(this.pause.curString, this.pause.curStrPos);
602            }
603            this.options.onStart(this.arrayPos, this);
604          }
605
606          /**
607           * Destroy this instance of Typed
608           * @public
609           */
610        }, {
611          key: 'destroy',
612          value: function destroy() {
613            this.reset(false);
614            this.options.onDestroy(this);
615          }
616
617          /**
618           * Reset Typed and optionally restarts
619           * @param {boolean} restart
620           * @public
621           */
622        }, {
623          key: 'reset',
624          value: function reset() {
625            var restart = arguments.length <= 0 || arguments[0] === undefined ? true : arguments[0];
626
627            clearInterval(this.timeout);
628            this.replaceText('');
629            if (this.cursor && this.cursor.parentNode) {
630              this.cursor.parentNode.removeChild(this.cursor);
631              this.cursor = null;
632            }
633            this.strPos = 0;
634            this.arrayPos = 0;
635            this.curLoop = 0;
636            if (restart) {
637              this.insertCursor();
638              this.options.onReset(this);
639              this.begin();
640            }
641          }
642
643          /**
644           * Begins the typing animation
645           * @private
646           */
647        }, {
648          key: 'begin',
649          value: function begin() {
650            var _this = this;
651
652            this.typingComplete = false;
653            this.shuffleStringsIfNeeded(this);
654            this.insertCursor();
655            if (this.bindInputFocusEvents) this.bindFocusEvents();
656            this.timeout = setTimeout(function () {
657              // Check if there is some text in the element, if yes start by backspacing the default message
658              if (!_this.currentElContent || _this.currentElContent.length === 0) {
659                _this.typewrite(_this.strings[_this.sequence[_this.arrayPos]], _this.strPos);
660              } else {
661                // Start typing
662                _this.backspace(_this.currentElContent, _this.currentElContent.length);
663              }
664            }, this.startDelay);
665          }
666
667          /**
668           * Called for each character typed
669           * @param {string} curString the current string in the strings array
670           * @param {number} curStrPos the current position in the curString
671           * @private
672           */
673        }, {
674          key: 'typewrite',
675          value: function typewrite(curString, curStrPos) {
676            var _this2 = this;
677
678            if (this.fadeOut && this.el.classList.contains(this.fadeOutClass)) {
679              this.el.classList.remove(this.fadeOutClass);
680              if (this.cursor) this.cursor.classList.remove(this.fadeOutClass);
681            }
682
683            var humanize = this.humanizer(this.typeSpeed);
684            var numChars = 1;
685
686            if (this.pause.status === true) {
687              this.setPauseStatus(curString, curStrPos, true);
688              return;
689            }
690
691            // contain typing function in a timeout humanize'd delay
692            this.timeout = setTimeout(function () {
693              // skip over any HTML chars
694              curStrPos = _htmlParserJs.htmlParser.typeHtmlChars(curString, curStrPos, _this2);
695
696              var pauseTime = 0;
697              var substr = curString.substr(curStrPos);
698              // check for an escape character before a pause value
699              // format: \^\d+ .. eg: ^1000 .. should be able to print the ^ too using ^^
700              // single ^ are removed from string
701              if (substr.charAt(0) === '^') {
702                if (/^\^\d+/.test(substr)) {
703                  var skip = 1;
703 // skip at least 1
704                  substr = /\d+/.exec(substr)[0];
705                  skip += substr.length;
706                  pauseTime = parseInt(substr);
707                  _this2.temporaryPause = true;
708                  _this2.options.onTypingPaused(_this2.arrayPos, _this2);
709                  // strip out the escape character and pause value so they're not printed
710                  curString = curString.substring(0, curStrPos) + curString.substring(curStrPos + skip);
711                  _this2.toggleBlinking(true);
712                }
713              }
714
715              // check for skip characters formatted as
716              // "this is a `string to print NOW` ..."
717              if (substr.charAt(0) === '`') {
718                while (curString.substr(curStrPos + numChars).charAt(0) !== '`') {
719                  numChars++;
720                  if (curStrPos + numChars > curString.length) break;
721                }
722                // strip out the escape characters and append all the string in between
723                var stringBeforeSkip = curString.substring(0, curStrPos);
724                var stringSkipped = curString.substring(stringBeforeSkip.length + 1, curStrPos + numChars);
725                var stringAfterSkip = curString.substring(curStrPos + numChars + 1);
726                curString = stringBeforeSkip + stringSkipped + stringAfterSkip;
727                numChars--;
728              }
729
730              // timeout for any pause after a character
731              _this2.timeout = setTimeout(function () {
732                // Accounts for blinking while paused
733                _this2.toggleBlinking(false);
734
735                // We're done with this sentence!
736                if (curStrPos >= curString.length) {
737                  _this2.doneTyping(curString, curStrPos);
738                } else {
739                  _this2.keepTyping(curString, curStrPos, numChars);
740                }
741                // end of character pause
742                if (_this2.temporaryPause) {
743                  _this2.temporaryPause = false;
744                  _this2.options.onTypingResumed(_this2.arrayPos, _this2);
745                }
746              }, pauseTime);
747
748              // humanized value for typing
749            }, humanize);
750          }
751
752          /**
753           * Continue to the next string & begin typing
754           * @param {string} curString the current string in the strings array
755           * @param {number} curStrPos the current position in the curString
756           * @private
757           */
758        }, {
759          key: 'keepTyping',
760          value: function keepTyping(curString, curStrPos, numChars) {
761            // call before functions if applicable
762            if (curStrPos === 0) {
763              this.toggleBlinking(false);
764              this.options.preStringTyped(this.arrayPos, this);
765            }
766            // start typing each new char into existing string
767            // curString: arg, this.el.html: original text inside element
768            curStrPos += numChars;
769            var nextString = curString.substr(0, curStrPos);
770            this.replaceText(nextString);
771            // loop the function
772            this.typewrite(curString, curStrPos);
773          }
774
775          /**
776           * We're done typing the current string
777           * @param {string} curString the current string in the strings array
778           * @param {number} curStrPos the current position in the curString
779           * @private
780           */
781        }, {
782          key: 'doneTyping',
783          value: function doneTyping(curString, curStrPos) {
784            var _this3 = this;
785
786            // fires callback function
787            this.options.onStringTyped(this.arrayPos, this);
788            this.toggleBlinking(true);
789            // is this the final string
790            if (this.arrayPos === this.strings.length - 1) {
791              // callback that occurs on the last typed string
792              this.complete();
793              // quit if we wont loop back
794              if (this.loop === false || this.curLoop === this.loopCount) {
795                return;
796              }
797            }
798            this.timeout = setTimeout(function () {
799              _this3.backspace(curString, curStrPos);
800            }, this.backDelay);
801          }
802
803          /**
804           * Backspaces 1 character at a time
805           * @param {string} curString the current string in the strings array
806           * @param {number} curStrPos the current position in the curString
807           * @private
808           */
809        }, {
810          key: 'backspace',
811          value: function backspace(curString, curStrPos) {
812            var _this4 = this;
813
814            if (this.pause.status === true) {
815              this.setPauseStatus(curString, curStrPos, true);
816              return;
817            }
818            if (this.fadeOut) return this.initFadeOut();
819
820            this.toggleBlinking(false);
821            var humanize = this.humanizer(this.backSpeed);
822
823            this.timeout = setTimeout(function () {
824              curStrPos = _htmlParserJs.htmlParser.backSpaceHtmlChars(curString, curStrPos, _this4);
825              // replace text with base text + typed characters
826              var curStringAtPosition = curString.substr(0, curStrPos);
827              _this4.replaceText(curStringAtPosition);
828
829              // if smartBack is enabled
830              if (_this4.smartBackspace) {
831                // the remaining part of the current string is equal of the same part of the new string
832                var nextString = _this4.strings[_this4.arrayPos + 1];
833                if (nextString && curStringAtPosition === nextString.substr(0, curStrPos)) {
834                  _this4.stopNum = curStrPos;
835                } else {
836                  _this4.stopNum = 0;
837                }
838              }
839
840              // if the number (id of character in current string) is
841              // less than the stop number, keep going
842              if (curStrPos > _this4.stopNum) {
843                // subtract characters one by one
844                curStrPos--;
845                // loop the function
846                _this4.backspace(curString, curStrPos);
847              } else if (curStrPos <= _this4.stopNum) {
848                // if the stop number has been reached, increase
849                // array position to next string
850                _this4.arrayPos++;
851                // When looping, begin at the beginning after backspace complete
852                if (_this4.arrayPos === _this4.strings.length) {
853                  _this4.arrayPos = 0;
854                  _this4.options.onLastStringBackspaced();
855                  _this4.shuffleStringsIfNeeded();
856                  _this4.begin();
857                } else {
858                  _this4.typewrite(_this4.strings[_this4.sequence[_this4.arrayPos
858]], curStrPos);
859                }
860              }
861              // humanized value for typing
862            }, humanize);
863          }
864
865          /**
866           * Full animation is complete
867           * @private
868           */
869        }, {
870          key: 'complete',
871          value: function complete() {
872            this.options.onComplete(this);
873            if (this.loop) {
874              this.curLoop++;
875            } else {
876              this.typingComplete = true;
877            }
878          }
879
880          /**
881           * Has the typing been stopped
882           * @param {string} curString the current string in the strings array
883           * @param {number} curStrPos the current position in the curString
884           * @param {boolean} isTyping
885           * @private
886           */
887        }, {
888          key: 'setPauseStatus',
889          value: function setPauseStatus(curString, curStrPos, isTyping) {
890            this.pause.typewrite = isTyping;
891            this.pause.curString = curString;
892            this.pause.curStrPos = curStrPos;
893          }
894
895          /**
896           * Toggle the blinking cursor
897           * @param {boolean} isBlinking
898           * @private
899           */
900        }, {
901          key: 'toggleBlinking',
902          value: function toggleBlinking(isBlinking) {
903            if (!this.cursor) return;
904            // if in paused state, don't toggle blinking a 2nd time
905            if (this.pause.status) return;
906            if (this.cursorBlinking === isBlinking) return;
907            this.cursorBlinking = isBlinking;
908            if (isBlinking) {
909              this.cursor.classList.add('typed-cursor--blink');
910            } else {
911              this.cursor.classList.remove('typed-cursor--blink');
912            }
913          }
914
915          /**
916           * Speed in MS to type
917           * @param {number} speed
918           * @private
919           */
920        }, {
921          key: 'humanizer',
922          value: function humanizer(speed) {
923            return Math.round(Math.random() * speed / 2) + speed;
924          }
925
926          /**
927           * Shuffle the sequence of the strings array
928           * @private
929           */
930        }, {
931          key: 'shuffleStringsIfNeeded',
932          value: function shuffleStringsIfNeeded() {
933            if (!this.shuffle) return;
934            this.sequence = this.sequence.sort(function () {
935              return Math.random() - 0.5;
936            });
937          }
938
939          /**
940           * Adds a CSS class to fade out current string
941           * @private
942           */
943        }, {
944          key: 'initFadeOut',
945          value: function initFadeOut() {
946            var _this5 = this;
947
948            this.el.className += ' ' + this.fadeOutClass;
949            if (this.cursor) this.cursor.className += ' ' + this.fadeOutClass;
950            return setTimeout(function () {
951              _this5.arrayPos++;
952              _this5.replaceText('');
953
954              // Resets current string if end of loop reached
955              if (_this5.strings.length > _this5.arrayPos) {
956                _this5.typewrite(_this5.strings[_this5.sequence[_this5.arrayPos]], 0);
957              } else {
958                _this5.typewrite(_this5.strings[0], 0);
959                _this5.arrayPos = 0;
960              }
961            }, this.fadeOutDelay);
962          }
963
964          /**
965           * Replaces current text in the HTML element
966           * depending on element type
967           * @param {string} str
968           * @private
969           */
970        }, {
971          key: 'replaceText',
972          value: function replaceText(str) {
973            if (this.attr) {
974              this.el.setAttribute(this.attr, str);
975            } else {
976              if (this.isInput) {
977                this.el.value = str;
978              } else if (this.contentType === 'html') {
979                this.el.innerHTML = str;
980              } else {
981                this.el.textContent = str;
982              }
983            }
984          }
985
986          /**
987           * If using input elements, bind focus in order to
988           * start and stop the animation
989           * @private
990           */
991        }, {
992          key: 'bindFocusEvents',
993          value: function bindFocusEvents() {
994            var _this6 = this;
995
996            if (!this.isInput) return;
997            this.el.addEventListener('focus', function (e) {
998              _this6.stop();
999            });
1000            this.el.addEventListener('blur', function (e) {
1001              if (_this6.el.value && _this6.el.value.length !== 0) {
1002                return;
1003              }
1004              _this6.start();
1005            });
1006          }
1007
1008          /**
1009           * On init, insert the cursor element
1010           * @private
1011           */
1012        }, {
1013          key: 'insertCursor',
1014          value: function insertCursor() {
1015            if (!this.showCursor) return;
1016            if (this.cursor) return;
1017            this.cursor = document.createElement('span');
1018            this.cursor.className = 'typed-cursor';
1019            this.cursor.innerHTML = this.cursorChar;
1020            this.el.parentNode && this.el.parentNode.insertBefore(this.cursor, this.el.nextSibling);
1021          }
1022        }]);
1023
1024        return Typed;
1025      })();
1026
1027      exports['default'] = Typed;
1028      module.exports = exports['default'];
1029
1030      /***/ }),
1031    /* 1 */
1032    /***/ (function(module, exports, __webpack_require__) {
1033
1034      'use strict';
1035
1036      Object.defineProperty(exports, '__esModule', {
1037        value: true
1038      });
1039
1040      var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
1041
1042      var _createClass = (function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; })();
1043
1044      function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
1045
1046      function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } }
1047
1048      var _defaultsJs = __webpack_require__(2);
1049
1050      var _defaultsJs2 = _interopRequireDefault(_defaultsJs);
1051
1052      /**
1053       * Initialize the Typed object
1054       */
1055
1056      var Initializer = (function () {
1057        function Initializer() {
1058          _classCallCheck(this, Initializer);
1059        }
1060
1061        _createClass(Initializer, [{
1062          key: 'load',
1063
1064          /**
1065           * Load up defaults & options on the Typed instance
1066           * @param {Typed} self instance of Typed
1067           * @param {object} options options object
1068           * @param {string} elementId HTML element ID _OR_ instance of HTML element
1069           * @private
1070           */
1071
1072          value: function load(self, options, elementId) {
1073            // chosen element to manipulate text
1074            if (typeof elementId === 'string') {
1075              self.el = document.querySelector(elementId);
1076            } else {
1077              self.el = elementId;
1078            }
1079
1080            self.options = _extends({}, _defaultsJs2['default'], options);
1081
1082            // attribute to type into
1083            self.isInput = self.el.tagName.toLowerCase() === 'input';
1084            self.attr = self.options.attr;
1085            self.bindInputFocusEvents = self.options.bindInputFocusEvents;
1086
1087            // show cursor
1088            self.showCursor = self.isInput ? false : self.options.showCursor;
1089
1090            // custom cursor
1091            self.cursorChar = self.options.cursorChar;
1092
1093            // Is the cursor blinking
1094            self.cursorBlinking = true;
1095
1096            // text content of element
1097            self.elContent = self.attr ? self.el.getAttribute(self.attr) : self.el.textContent;
1098
1099            // html or plain text
1100            self.contentType = self.options.contentType;
1101
1102            // typing speed
1103            self.typeSpeed = self.options.typeSpeed;
1104
1105            // add a delay before typing starts
1106            self.startDelay = self.options.startDelay;
1107
1108            // backspacing speed
1109            self.backSpeed = self.options.backSpeed;
1110
1111            // only backspace what doesn't match the previous string
1112            self.smartBackspace = self.options.smartBackspace;
1113
1114            // amount of time to wait before backspacing
1115            self.backDelay = self.options.backDelay;
1116
1117            // Fade out instead of backspace
1118            self.fadeOut = self.options.fadeOut;
1119            self.fadeOutClass = self.options.fadeOutClass;
1120            self.fadeOutDelay = self.options.fadeOutDelay;
1121
1122            // variable to check whether typing is currently paused
1123            self.isPaused = false;
1124
1125            // input strings of text
1126            self.strings = self.options.strings.map(function (s) {
1127              return s.trim();
1128            });
1129
1130            // div containing strings
1131            if (typeof self.options.stringsElement === 'string') {
1132              self.stringsElement = document.querySelector(self.options.stringsElement);
1133            } else {
1134              self.stringsElement = self.options.stringsElement;
1135            }
1136
1137            if (self.stringsElement) {
1138              self.strings = [];
1139              self.stringsElement.style.display = 'none';
1140              var strings = Array.prototype.slice.apply(self.stringsElement.children);
1141              var stringsLength = strings.length;
1142
1143              if (stringsLength) {
1144                for (var i = 0; i < stringsLength; i += 1) {
1145                  var stringEl = strings[i];
1146                  self.strings.push(stringEl.innerHTML.trim());
1147                }
1148              }
1149            }
1150
1151            // character number position of current string
1152            self.strPos = 0;
1153
1154            // current array position
1155            self.arrayPos = 0;
1156
1157            // index of string to stop backspacing on
1158            self.stopNum = 0;
1159
1160            // Looping logic
1161            self.loop = self.options.loop;
1162            self.loopCount = self.options.loopCount;
1163            self.curLoop = 0;
1164
1165            // shuffle the strings
1166            self.shuffle = self.options.shuffle;
1167            // the order of strings
1168            self.sequence = [];
1169
1170            self.pause = {
1171              status: false,
1172              typewrite: true,
1173              curString: '',
1174              curStrPos: 0
1175            };
1176
1177            // When the typing is complete (when not looped)
1178            self.typingComplete = false;
1179
1180            // Set the order in which the strings are typed
1181            for (var i in self.strings) {
1182              self.sequence[i] = i;
1183            }
1184
1185            // If there is some text in the element
1186            self.currentElContent = this.getCurrentElContent(self);
1187
1188            self.autoInsertCss = self.options.autoInsertCss;
1189
1190            this.appendAnimationCss(self);
1191          }
1192        }, {
1193          key: 'getCurrentElContent',
1194          value: function getCurrentElContent(self) {
1195            var elContent = '';
1196            if (self.attr) {
1197              elContent = self.el.getAttribute(self.attr);
1198            } else if (self.isInput) {
1199              elContent = self.el.value;
1200            } else if (self.contentType === 'html') {
1201              elContent = self.el.innerHTML;
1202            } else {
1203              elContent = self.el.textContent;
1204            }
1205            return elContent;
1206          }
1207        }, {
1208          key: 'appendAnimationCss',
1209          value: function appendAnimationCss(self) {
1210            var cssDataName = 'data-typed-js-css';
1211            if (!self.autoInsertCss) {
1212              return;
1213            }
1214            if (!self.showCursor && !self.fadeOut) {
1215              return;
1216            }
1217            if (document.querySelector('[' + cssDataName + ']')) {
1218              return;
1219            }
1220
1221            var css = document.createElement('style');
1222            css.type = 'text/css';
1223            css.setAttribute(cssDataName, true);
1224
1225            var innerCss = '';
1226            if (self.showCursor) {
1227              innerCss += '\n        .typed-cursor{\n          opacity: 1;\n        }\n        .typed-cursor.typed-cursor--blink{\n          animation: typedjsBlink 0.7s infinite;\n          -webkit-animation: typedjsBlink 0.7s infinite;\n                  animation: typedjsBlink 0.7s infinite;\n        }\n        @keyframes typedjsBlink{\n          50% { opacity: 0.0; }\n        }\n        @-webkit-keyframes typedjsBlink{\n          0% { opacity: 1; }\n          50% { opacity: 0.0; }\n          100% { opacity: 1; }\n        }\n      ';
1228            }
1229            if (self.fadeOut) {
1230              innerCss += '\n        .typed-fade-out{\n          opacity: 0;\n          transition: opacity .25s;\n        }\n        .typed-cursor.typed-cursor--blink.typed-fade-out{\n          -webkit-animation: 0;\n          animation: 0;\n        }\n      ';
1231            }
1232            if (css.length === 0) {
1233              return;
1234            }
1235            css.innerHTML = innerCss;
1236            document.body.appendChild(css);
1237          }
1238        }]);
1239
1240        return Initializer;
1241      })();
1242
1243      exports['default'] = Initializer;
1244      var initializer = new Initializer();
1245      exports.initializer = initializer;
1246
1247      /***/ }),
1248    /* 2 */
1249    /***/ (function(module, exports) {
1250
1251      /**
1252       * Defaults & options
1253       * @returns {object} Typed defaults & options
1254       * @public
1255       */
1256
1257      'use strict';
1258
1259      Object.defineProperty(exports, '__esModule', {
1260        value: true
1261      });
1262      var defaults = {
1263        /**
1264         * @property {array} strings strings to be typed
1265         * @property {string} stringsElement ID of element containing string children
1266         */
1267        strings: ['These are the default values...', 'You know what you should do?', 'Use your own!', 'Have a great day!'],
1268        stringsElement: null,
1269
1270        /**
1271         * @property {number} typeSpeed type speed in milliseconds
1272         */
1273        typeSpeed: 0,
1274
1275        /**
1276         * @property {number} startDelay time before typing starts in milliseconds
1277         */
1278        startDelay: 0,
1279
1280        /**
1281         * @property {number} backSpeed backspacing speed in milliseconds
1282         */
1283        backSpeed: 0,
1284
1285        /**
1286         * @property {boolean} smartBackspace only backspace what doesn't match the previous string
1287         */
1288        smartBackspace: true,
1289
1290        /**
1291         * @property {boolean} shuffle shuffle the strings
1292         */
1293        shuffle: false,
1294
1295        /**
1296         * @property {number} backDelay time before backspacing in milliseconds
1297         */
1298        backDelay: 700,
1299
1300        /**
1301         * @property {boolean} fadeOut Fade out instead of backspace
1302         * @property {string} fadeOutClass css class for fade animation
1303         * @property {boolean} fadeOutDelay Fade out delay in milliseconds
1304         */
1305        fadeOut: false,
1306        fadeOutClass: 'typed-fade-out',
1307        fadeOutDelay: 500,
1308
1309        /**
1310         * @property {boolean} loop loop strings
1311         * @property {number} loopCount amount of loops
1312         */
1313        loop: false,
1314        loopCount: Infinity,
1315
1316        /**
1317         * @property {boolean} showCursor show cursor
1318         * @property {string} cursorChar character for cursor
1319         * @property {boolean} autoInsertCss insert CSS for cursor and fadeOut into HTML <head>
1320         */
1321        showCursor: true,
1322        cursorChar: '|',
1323        autoInsertCss: true,
1324
1325        /**
1326         * @property {string} attr attribute for typing
1327         * Ex: input placeholder, value, or just HTML text
1328         */
1329        attr: null,
1330
1331        /**
1332         * @property {boolean} bindInputFocusEvents bind to focus and blur if el is text input
1333         */
1334        bindInputFocusEvents: false,
1335
1336        /**
1337         * @property {string} contentType 'html' or 'null' for plaintext
1338         */
1339        contentType: 'html',
1340
1341        /**
1342         * All typing is complete
1343         * @param {Typed} self
1344         */
1345        onComplete: function onComplete(self) {},
1346
1347        /**
1348         * Before each string is typed
1349         * @param {number} arrayPos
1350         * @param {Typed} self
1351         */
1352        preStringTyped: function preStringTyped(arrayPos, self) {},
1353
1354        /**
1355         * After each string is typed
1356         * @param {number} arrayPos
1357         * @param {Typed} self
1358         */
1359        onStringTyped: function onStringTyped(arrayPos, self) {},
1360
1361        /**
1362         * During looping, after last string is typed
1363         * @param {Typed} self
1364         */
1365        onLastStringBackspaced: function onLastStringBackspaced(self) {},
1366
1367        /**
1368         * Typing has been stopped
1369         * @param {number} arrayPos
1370         * @param {Typed} self
1371         */
1372        onTypingPaused: function onTypingPaused(arrayPos, self) {},
1373
1374        /**
1375         * Typing has been started after being stopped
1376         * @param {number} arrayPos
1377         * @param {Typed} self
1378         */
1379        onTypingResumed: function onTypingResumed(arrayPos, self) {},
1380
1381        /**
1382         * After reset
1383         * @param {Typed} self
1384         */
1385        onReset: function onReset(self) {},
1386
1387        /**
1388         * After stop
1389         * @param {number} arrayPos
1390         * @param {Typed} self
1391         */
1392        onStop: function onStop(arrayPos, self) {},
1393
1394        /**
1395         * After start
1396         * @param {number} arrayPos
1397         * @param {Typed} self
1398         */
1399        onStart: function onStart(arrayPos, self) {},
1400
1401        /**
1402         * After destroy
1403         * @param {Typed} self
1404         */
1405        onDestroy: function onDestroy(self) {}
1406      };
1407
1408      exports['default'] = defaults;
1409      module.exports = exports['default'];
1410
1411      /***/ }),
1412    /* 3 */
1413    /***/ (function(module, exports) {
1414
1415      /**
1416       * TODO: These methods can probably be combined somehow
1417       * Parse HTML tags & HTML Characters
1418       */
1419
1420      'use strict';
1421
1422      Object.defineProperty(exports, '__esModule', {
1423        value: true
1424      });
1425
1426      var _createClass = (function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; })();
1427
1428      function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } }
1429
1430      var HTMLParser = (function () {
1431        function HTMLParser() {
1432          _classCallCheck(this, HTMLParser);
1433        }
1434
1435        _createClass(HTMLParser, [{
1436          key: 'typeHtmlChars',
1437
1438          /**
1439           * Type HTML tags & HTML Characters
1440           * @param {string} curString Current string
1441           * @param {number} curStrPos Position in current string
1442           * @param {Typed} self instance of Typed
1443           * @returns {number} a new string position
1444           * @private
1445           */
1446
1447          value: function typeHtmlChars(curString, curStrPos, self) {
1448            if (self.contentType !== 'html') return curStrPos;
1449            var curChar = curString.substr(curStrPos).charAt(0);
1450            if (curChar === '<' || curChar === '&') {
1451              var endTag = '';
1452              if (curChar === '<') {
1453                endTag = '>';
1454              } else {
1455                endTag = ';';
1456              }
1457              while (curString.substr(curStrPos + 1).charAt(0) !== endTag) {
1458                curStrPos++;
1459                if (curStrPos + 1 > curString.length) {
1460                  break;
1461                }
1462              }
1463              curStrPos++;
1464            }
1465            return curStrPos;
1466          }
1467
1468          /**
1469           * Backspace HTML tags and HTML Characters
1470           * @param {string} curString Current string
1471           * @param {number} curStrPos Position in current string
1472           * @param {Typed} self instance of Typed
1473           * @returns {number} a new string position
1474           * @private
1475           */
1476        }, {
1477          key: 'backSpaceHtmlChars',
1478          value: function backSpaceHtmlChars(curString, curStrPos, self) {
1479            if (self.contentType !== 'html') return curStrPos;
1480            var curChar = curString.substr(curStrPos).charAt(0);
1481            if (curChar === '>' || curChar === ';') {
1482              var endTag = '';
1483              if (curChar === '>') {
1484                endTag = '<';
1485              } else {
1486                endTag = '&';
1487              }
1488              while (curString.substr(curStrPos - 1).charAt(0) !== endTag) {
1489                curStrPos--;
1490                if (curStrPos < 0) {
1491                  break;
1492                }
1493              }
1494              curStrPos--;
1495            }
1496            return curStrPos;
1497          }
1498        }]);
1499
1500        return HTMLParser;
1501      })();
1502
1503      exports['default'] = HTMLParser;
1504      var htmlParser = new HTMLParser();
1505      exports.htmlParser = htmlParser;
1506
1507      /***/ })
1508    /******/ ])
1509});
1510;
1511// source --> https://www.gehlebt.at/wp-content/plugins/colibri-page-builder/extend-builder/assets/static/fancybox/jquery.fancybox.min.js?ver=1.0.377 
1512// ==================================================
1513// fancyBox v3.5.6
1514//
1515// Licensed GPLv3 for open source use
1516// or fancyBox Commercial License for commercial use
1517//
1518// http://fancyapps.com/fancybox/
1519// Copyright 2018 fancyApps
1520//
1521// ==================================================
1522!function(t,e,n,o){"use strict";function i(t,e){var o,i,a,s=[],r=0;t&&t.isDefaultPrevented()||(t.preventDefault(),e=e||{},t&&t.data&&(e=h(t.data.options,e)),o=e.$target||n(t.currentTarget).trigger("blur"),(a=n.fancybox.getInstance())&&a.$trigger&&a.$trigger.is(o)||(e.selector?s=n(e.selector):(i=o.attr("data-fancybox")||"",i?(s=t.data?t.data.items:[],s=s.length?s.filter('[data-fancybox="'+i+'"]'):n('[data-fancybox="'+i+'"]')):s=[o]),r=n(s).index(o),r<0&&(r=0),a=n.fancybox.open(s,e,r),a.$trigger=o))}if(t.console=t.console||{info:function(t){}}
vendor: 10,680 bytes, line 1522
1522,n){if(n.fn.fancybox)return void console.info("fancyBox already initialized");var a={closeExisting:!1,loop:!1,gutter:50,keyboard:!0,preventCaptionOverlap:!0,arrows:!0,infobar:!0,smallBtn:"auto",toolbar:"auto",buttons:["zoom","slideShow","thumbs","close"],idleTime:3,protect:!1,modal:!1,image:{preload:!1},ajax:{settings:{data:{fancybox:!0}}},iframe:{tpl:'<iframe id="fancybox-frame{rnd}" name="fancybox-frame{rnd}" class="fancybox-iframe" allowfullscreen="allowfullscreen" allow="autoplay; fullscreen" src=""></iframe>',preload:!0,css:{},attr:{scrolling:"auto"}},video:{tpl:'<video class="fancybox-video" controls controlsList="nodownload" poster="{{poster}}"><source src="{{src}}" type="{{format}}" />Sorry, your browser doesn\'t support embedded videos, <a href="{{src}}">download</a> and watch with your favorite video player!</video>',format:"",autoStart:!0},defaultType:"image",animationEffect:"zoom",animationDuration:366,zoomOpacity:"auto",transitionEffect:"fade",transitionDuration:366,slideClass:"",baseClass:"",baseTpl:'<div class="fancybox-container" role="dialog" tabindex="-1"><div class="fancybox-bg"></div><div class="fancybox-inner"><div class="fancybox-infobar"><span data-fancybox-index></span>&nbsp;/&nbsp;<span data-fancybox-count></span></div><div class="fancybox-toolbar">{{buttons}}</div><div class="fancybox-navigation">{{arrows}}</div><div class="fancybox-stage"></div><div class="fancybox-caption"><div class="fancybox-caption__body"></div></div></div></div>',spinnerTpl:'<div class="fancybox-loading"></div>',errorTpl:'<div class="fancybox-error"><p>{{ERROR}}</p></div>',btnTpl:{download:'<a download data-fancybox-download class="fancybox-button fancybox-button--download" title="{{DOWNLOAD}}" href="javascript:;"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M18.62 17.09V19H5.38v-1.91zm-2.97-6.96L17 11.45l-5 4.87-5-4.87 1.36-1.32 2.68 2.64V5h1.92v7.77z"/></svg></a>',zoom:'<button data-fancybox-zoom class="fancybox-button fancybox-button--zoom" title="{{ZOOM}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M18.7 17.3l-3-3a5.9 5.9 0 0 0-.6-7.6 5.9 5.9 0 0 0-8.4 0 5.9 5.9 0 0 0 0 8.4 5.9 5.9 0 0 0 7.7.7l3 3a1 1 0 0 0 1.3 0c.4-.5.4-1 0-1.5zM8.1 13.8a4 4 0 0 1 0-5.7 4 4 0 0 1 5.7 0 4 4 0 0 1 0 5.7 4 4 0 0 1-5.7 0z"/></svg></button>',close:'<button data-fancybox-close class="fancybox-button fancybox-button--close" title="{{CLOSE}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 10.6L6.6 5.2 5.2 6.6l5.4 5.4-5.4 5.4 1.4 1.4 5.4-5.4 5.4 5.4 1.4-1.4-5.4-5.4 5.4-5.4-1.4-1.4-5.4 5.4z"/></svg></button>',arrowLeft:'<button data-fancybox-prev class="fancybox-button fancybox-button--arrow_left" title="{{PREV}}"><div><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M11.28 15.7l-1.34 1.37L5 12l4.94-5.07 1.34 1.38-2.68 2.72H19v1.94H8.6z"/></svg></div></button>',arrowRight:'<button data-fancybox-next class="fancybox-button fancybox-button--arrow_right" title="{{NEXT}}"><div><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M15.4 12.97l-2.68 2.72 1.34 1.38L19 12l-4.94-5.07-1.34 1.38 2.68 2.72H5v1.94z"/></svg></div></button>',smallBtn:'<button type="button" data-fancybox-close class="fancybox-button fancybox-close-small" title="{{CLOSE}}"><svg xmlns="http://www.w3.org/2000/svg" version="1" viewBox="0 0 24 24"><path d="M13 12l5-5-1-1-5 5-5-5-1 1 5 5-5 5 1 1 5-5 5 5 1-1z"/></svg></button>'},parentEl:"body",hideScrollbar:!0,autoFocus:!0,backFocus:!0,trapFocus:!0,fullScreen:{autoStart:!1},touch:{vertical:!0,momentum:!0},hash:null,media:{},slideShow:{autoStart:!1,speed:3e3},thumbs:{autoStart:!1,hideOnClose:!0,parentEl:".fancybox-container",axis:"y"},wheel:"auto",onInit:n.noop,beforeLoad:n.noop,afterLoad:n.noop,beforeShow:n.noop,afterShow:n.noop,beforeClose:n.noop,afterClose:n.noop,onActivate:n.noop,onDeactivate:n.noop,clickContent:function(t,e){return"image"===t.type&&"zoom"},clickSlide:"close",clickOutside:"close",dblclickContent:!1,dblclickSlide:!1,dblclickOutside:!1,mobile:{preventCaptionOverlap:!1,idleTime:!1,clickContent:function(t,e){return"image"===t.type&&"toggleControls"},clickSlide:function(t,e){return"image"===t.type?"toggleControls":"close"},dblclickContent:function(t,e){return"image"===t.type&&"zoom"},dblclickSlide:function(t,e){return"image"===t.type&&"zoom"}},lang:"en",i18n:{en:{CLOSE:"Close",NEXT:"Next",PREV:"Previous",ERROR:"The requested content cannot be loaded. <br/> Please try again later.",PLAY_START:"Start slideshow",PLAY_STOP:"Pause slideshow",FULL_SCREEN:"Full screen",THUMBS:"Thumbnails",DOWNLOAD:"Download",SHARE:"Share",ZOOM:"Zoom"},de:{CLOSE:"Schlie&szlig;en",NEXT:"Weiter",PREV:"Zur&uuml;ck",ERROR:"Die angeforderten Daten konnten nicht geladen werden. <br/> Bitte versuchen Sie es sp&auml;ter nochmal.",PLAY_START:"Diaschau starten",PLAY_STOP:"Diaschau beenden",FULL_SCREEN:"Vollbild",THUMBS:"Vorschaubilder",DOWNLOAD:"Herunterladen",SHARE:"Teilen",ZOOM:"Vergr&ouml;&szlig;ern"}}},s=n(t),r=n(e),c=0,l=function(t){return t&&t.hasOwnProperty&&t instanceof n},d=function(){return t.requestAnimationFrame||t.webkitRequestAnimationFrame||t.mozRequestAnimationFrame||t.oRequestAnimationFrame||function(e){return t.setTimeout(e,1e3/60)}}(),u=function(){return t.cancelAnimationFrame||t.webkitCancelAnimationFrame||t.mozCancelAnimationFrame||t.oCancelAnimationFrame||function(e){t.clearTimeout(e)}}(),f=function(){var t,n=e.createElement("fakeelement"),o={transition:"transitionend",OTransition:"oTransitionEnd",MozTransition:"transitionend",WebkitTransition:"webkitTransitionEnd"};for(t in o)if(void 0!==n.style[t])return o[t];return"transitionend"}(),p=function(t){return t&&t.length&&t[0].offsetHeight},h=function(t,e){var o=n.extend(!0,{},t,e);return n.each(e,function(t,e){n.isArray(e)&&(o[t]=e)}),o},g=function(t){var o,i;return!(!t||t.ownerDocument!==e)&&(n(".fancybox-container").css("pointer-events","none"),o={x:t.getBoundingClientRect().left+t.offsetWidth/2,y:t.getBoundingClientRect().top+t.offsetHeight/2},i=e.elementFromPoint(o.x,o.y)===t,n(".fancybox-container").css("pointer-events",""),i)},b=function(t,e,o){var i=this;i.opts=h({index:o},n.fancybox.defaults),n.isPlainObject(e)&&(i.opts=h(i.opts,e)),n.fancybox.isMobile&&(i.opts=h(i.opts,i.opts.mobile)),i.id=i.opts.id||++c,i.currIndex=parseInt(i.opts.index,10)||0,i.prevIndex=null,i.prevPos=null,i.currPos=0,i.firstRun=!0,i.group=[],i.slides={},i.addContent(t),i.group.length&&i.init()};n.extend(b.prototype,{init:function(){var o,i,a=this,s=a.group[a.currIndex],r=s.opts;r.closeExisting&&n.fancybox.close(!0),n("body").addClass("fancybox-active"),!n.fancybox.getInstance()&&!1!==r.hideScrollbar&&!n.fancybox.isMobile&&e.body.scrollHeight>t.innerHeight&&(n("head").append('<style id="fancybox-style-noscroll" type="text/css">.compensate-for-scrollbar{margin-right:'+(t.innerWidth-e.documentElement.clientWidth)+"px;}</style>"),n("body").addClass("compensate-for-scrollbar")),i="",n.each(r.buttons,function(t,e){i+=r.btnTpl[e]||""}),o=n(a.translate(a,r.baseTpl.replace("{{buttons}}",i).replace("{{arrows}}",r.btnTpl.arrowLeft+r.btnTpl.arrowRight))).attr("id","fancybox-container-"+a.id).addClass(r.baseClass).data("FancyBox",a).appendTo(r.parentEl),a.$refs={container:o},["bg","inner","infobar","toolbar","stage","caption","navigation"].forEach(function(t){a.$refs[t]=o.find(".fancybox-"+t)}),a.trigger("onInit"),a.activate(),a.jumpTo(a.currIndex)},translate:function(t,e){var n=t.opts.i18n[t.opts.lang]||t.opts.i18n.en;return e.replace(/\{\{(\w+)\}\}/g,function(t,e){return void 0===n[e]?t:n[e]})},addContent:function(t){var e,o=this,i=n.makeArray(t);n.each(i,function(t,e){var i,a,s,r,c,l={},d={};n.isPlainObject(e)?(l=e,d=e.opts||e):"object"===n.type(e)&&n(e).length?(i=n(e),d=i.data()||{},d=n.extend(!0,{},d,d.options),d.$orig=i,l.src=o.opts.src||d.src||i.attr("href"),l.type||l.src||(l.type="inline",l.src=e)):l={type:"html",src:e+""},l.opts=n.extend(!0,{},o.opts,d),n.isArray(d.buttons)&&(l.opts.buttons=d.buttons),n.fancybox.isMobile&&l.opts.mobile&&(l.opts=h(l.opts,l.opts.mobile)),a=l.type||l.opts.type,r=l.src||"",!a&&r&&((s=r.match(/\.(mp4|mov|ogv|webm)((\?|#).*)?$/i))?(a="video",l.opts.video.format||(l.opts.video.format="video/"+("ogv"===s[1]?"ogg":s[1]))):r.match(/(^data:image\/[a-z0-9+\/=]*,)|(\.(jp(e|g|eg)|gif|png|bmp|webp|svg|ico)((\?|#).*)?$)/i)?a="image":r.match(/\.(pdf)((\?|#).*)?$/i)?(a="iframe",l=n.extend(!0,l,{contentType:"pdf",opts:{iframe:{preload:!1}}})):"#"===r.charAt(0)&&(a="inline")),a?l.type=a:o.trigger("objectNeedsType",l),l.contentType||(l.contentType=n.inArray(l.type,["html","inline","ajax"])>-1?"html":l.type),l.index=o.group.length,"auto"==l.opts.smallBtn&&(l.opts.smallBtn=n.inArray(l.type,["html","inline","ajax"])>-1),"auto"===l.opts.toolbar&&(l.opts.toolbar=!l.opts.smallBtn),l.$thumb=l.opts.$thumb||null,l.opts.$trigger&&l.index===o.opts.index&&(l.$thumb=l.opts.$trigger.find("img:first"),l.$thumb.length&&(l.opts.$orig=l.opts.$trigger)),l.$thumb&&l.$thumb.length||!l.opts.$orig||(l.$thumb=l.opts.$orig.find("img:first")),l.$thumb&&!l.$thumb.length&&(l.$thumb=null),l.thumb=l.opts.thumb||(l.$thumb?l.$thumb[0].src:null),"function"===n.type(l.opts.caption)&&(l.opts.caption=l.opts.caption.apply(e,[o,l])),"function"===n.type(o.opts.caption)&&(l.opts.caption=o.opts.caption.apply(e,[o,l])),l.opts.caption instanceof n||(l.opts.caption=void 0===l.opts.caption?"":l.opts.caption+""),"ajax"===l.type&&(c=r.split(/\s+/,2),c.length>1&&(l.src=c.shift(),l.opts.filter=c.shift())),l.opts.modal&&(l.opts=n.extend(!0,l.opts,{trapFocus:!0,infobar:0,toolbar:0,smallBtn:0,keyboard:0,slideShow:0,fullScreen:0,thumbs:0,touch:0,clickContent:!1,clickSlide:!1,clickOutside:!1,dblclickContent:!1,dblclickSlide:!1,dblclickOutside:!1})),o.group.push(l)}),Object.keys(o.slides).length&&(o.updateControls(),(e=o.Thumbs)&&e.isActive&&(e.create(),e.focus()))},addEvents:function(){var e=this;e.removeEvents(),e.$refs.container.on("click.fb-close","[data-fancybox-close]",function(t){t.stopPropagation(),t.preventDefault(),e.close(t)}).on("touchstart.fb-prev click.fb-prev","[data-fancybox-prev]",function(t){t.stopPropagation(),t.preventDefault(),e.previous()}).on("touchstart.fb-next click.fb-next","[data-fancybox-next]",function(t){t.stopPropagation(),t.preventDefault(),e.next()}).on("click.fb","[data-fancybox-zoom]",function(t){e[e.isScaledDown()?"scaleToActual":"scaleToFit"]()}),s.on("orientationchange.fb resize.fb",function(t){t&&t.originalEvent&&"resize"===t.originalEvent.type?(e.requestId&&u(e.requestId),e.requestId=d(function(){e.update(t)})):(e.current&&"iframe"===e.current.type&&e.$refs.stage.hide(),setTimeout(function(){e.$refs.stage.show(),e.update(t)},n.fancybox.isMobile?600:250))}
1522),r.on("keydown.fb",function(t){var o=n.fancybox?n.fancybox.getInstance():null,i=o.current,a=t.keyCode||t.which;if(9==a)return void(i.opts.trapFocus&&e.focus(t));if(!(!i.opts.keyboard||t.ctrlKey||t.altKey||t.shiftKey||n(t.target).is("input,textarea,video,audio
vendor: 12,703 bytes, line 1522
1522")))return 8===a||27===a?(t.preventDefault(),void e.close(t)):37===a||38===a?(t.preventDefault(),void e.previous()):39===a||40===a?(t.preventDefault(),void e.next()):void e.trigger("afterKeydown",t,a)}),e.group[e.currIndex].opts.idleTime&&(e.idleSecondsCounter=0,r.on("mousemove.fb-idle mouseleave.fb-idle mousedown.fb-idle touchstart.fb-idle touchmove.fb-idle scroll.fb-idle keydown.fb-idle",function(t){e.idleSecondsCounter=0,e.isIdle&&e.showControls(),e.isIdle=!1}),e.idleInterval=t.setInterval(function(){++e.idleSecondsCounter>=e.group[e.currIndex].opts.idleTime&&!e.isDragging&&(e.isIdle=!0,e.idleSecondsCounter=0,e.hideControls())},1e3))},removeEvents:function(){var e=this;s.off("orientationchange.fb resize.fb"),r.off("keydown.fb .fb-idle"),this.$refs.container.off(".fb-close .fb-prev .fb-next"),e.idleInterval&&(t.clearInterval(e.idleInterval),e.idleInterval=null)},previous:function(t){return this.jumpTo(this.currPos-1,t)},next:function(t){return this.jumpTo(this.currPos+1,t)},jumpTo:function(t,e){var o,i,a,s,r,c,l,d,u,f=this,h=f.group.length;if(!(f.isDragging||f.isClosing||f.isAnimating&&f.firstRun)){if(t=parseInt(t,10),!(a=f.current?f.current.opts.loop:f.opts.loop)&&(t<0||t>=h))return!1;if(o=f.firstRun=!Object.keys(f.slides).length,r=f.current,f.prevIndex=f.currIndex,f.prevPos=f.currPos,s=f.createSlide(t),h>1&&((a||s.index<h-1)&&f.createSlide(t+1),(a||s.index>0)&&f.createSlide(t-1)),f.current=s,f.currIndex=s.index,f.currPos=s.pos,f.trigger("beforeShow",o),f.updateControls(),s.forcedDuration=void 0,n.isNumeric(e)?s.forcedDuration=e:e=s.opts[o?"animationDuration":"transitionDuration"],e=parseInt(e,10),i=f.isMoved(s),s.$slide.addClass("fancybox-slide--current"),o)return s.opts.animationEffect&&e&&f.$refs.container.css("transition-duration",e+"ms"),f.$refs.container.addClass("fancybox-is-open").trigger("focus"),f.loadSlide(s),void f.preload("image");c=n.fancybox.getTranslate(r.$slide),l=n.fancybox.getTranslate(f.$refs.stage),n.each(f.slides,function(t,e){n.fancybox.stop(e.$slide,!0)}),r.pos!==s.pos&&(r.isComplete=!1),r.$slide.removeClass("fancybox-slide--complete fancybox-slide--current"),i?(u=c.left-(r.pos*c.width+r.pos*r.opts.gutter),n.each(f.slides,function(t,o){o.$slide.removeClass("fancybox-animated").removeClass(function(t,e){return(e.match(/(^|\s)fancybox-fx-\S+/g)||[]).join(" ")});var i=o.pos*c.width+o.pos*o.opts.gutter;n.fancybox.setTranslate(o.$slide,{top:0,left:i-l.left+u}),o.pos!==s.pos&&o.$slide.addClass("fancybox-slide--"+(o.pos>s.pos?"next":"previous")),p(o.$slide),n.fancybox.animate(o.$slide,{top:0,left:(o.pos-s.pos)*c.width+(o.pos-s.pos)*o.opts.gutter},e,function(){o.$slide.css({transform:"",opacity:""}).removeClass("fancybox-slide--next fancybox-slide--previous"),o.pos===f.currPos&&f.complete()})})):e&&s.opts.transitionEffect&&(d="fancybox-animated fancybox-fx-"+s.opts.transitionEffect,r.$slide.addClass("fancybox-slide--"+(r.pos>s.pos?"next":"previous")),n.fancybox.animate(r.$slide,d,e,function(){r.$slide.removeClass(d).removeClass("fancybox-slide--next fancybox-slide--previous")},!1)),s.isLoaded?f.revealContent(s):f.loadSlide(s),f.preload("image")}},createSlide:function(t){var e,o,i=this;return o=t%i.group.length,o=o<0?i.group.length+o:o,!i.slides[t]&&i.group[o]&&(e=n('<div class="fancybox-slide"></div>').appendTo(i.$refs.stage),i.slides[t]=n.extend(!0,{},i.group[o],{pos:t,$slide:e,isLoaded:!1}),i.updateSlide(i.slides[t])),i.slides[t]},scaleToActual:function(t,e,o){var i,a,s,r,c,l=this,d=l.current,u=d.$content,f=n.fancybox.getTranslate(d.$slide).width,p=n.fancybox.getTranslate(d.$slide).height,h=d.width,g=d.height;l.isAnimating||l.isMoved()||!u||"image"!=d.type||!d.isLoaded||d.hasError||(l.isAnimating=!0,n.fancybox.stop(u),t=void 0===t?.5*f:t,e=void 0===e?.5*p:e,i=n.fancybox.getTranslate(u),i.top-=n.fancybox.getTranslate(d.$slide).top,i.left-=n.fancybox.getTranslate(d.$slide).left,r=h/i.width,c=g/i.height,a=.5*f-.5*h,s=.5*p-.5*g,h>f&&(a=i.left*r-(t*r-t),a>0&&(a=0),a<f-h&&(a=f-h)),g>p&&(s=i.top*c-(e*c-e),s>0&&(s=0),s<p-g&&(s=p-g)),l.updateCursor(h,g),n.fancybox.animate(u,{top:s,left:a,scaleX:r,scaleY:c},o||366,function(){l.isAnimating=!1}),l.SlideShow&&l.SlideShow.isActive&&l.SlideShow.stop())},scaleToFit:function(t){var e,o=this,i=o.current,a=i.$content;o.isAnimating||o.isMoved()||!a||"image"!=i.type||!i.isLoaded||i.hasError||(o.isAnimating=!0,n.fancybox.stop(a),e=o.getFitPos(i),o.updateCursor(e.width,e.height),n.fancybox.animate(a,{top:e.top,left:e.left,scaleX:e.width/a.width(),scaleY:e.height/a.height()},t||366,function(){o.isAnimating=!1}))},getFitPos:function(t){var e,o,i,a,s=this,r=t.$content,c=t.$slide,l=t.width||t.opts.width,d=t.height||t.opts.height,u={};return!!(t.isLoaded&&r&&r.length)&&(e=n.fancybox.getTranslate(s.$refs.stage).width,o=n.fancybox.getTranslate(s.$refs.stage).height,e-=parseFloat(c.css("paddingLeft"))+parseFloat(c.css("paddingRight"))+parseFloat(r.css("marginLeft"))+parseFloat(r.css("marginRight")),o-=parseFloat(c.css("paddingTop"))+parseFloat(c.css("paddingBottom"))+parseFloat(r.css("marginTop"))+parseFloat(r.css("marginBottom")),l&&d||(l=e,d=o),i=Math.min(1,e/l,o/d),l*=i,d*=i,l>e-.5&&(l=e),d>o-.5&&(d=o),"image"===t.type?(u.top=Math.floor(.5*(o-d))+parseFloat(c.css("paddingTop")),u.left=Math.floor(.5*(e-l))+parseFloat(c.css("paddingLeft"))):"video"===t.contentType&&(a=t.opts.width&&t.opts.height?l/d:t.opts.ratio||16/9,d>l/a?d=l/a:l>d*a&&(l=d*a)),u.width=l,u.height=d,u)},update:function(t){var e=this;n.each(e.slides,function(n,o){e.updateSlide(o,t)})},updateSlide:function(t,e){var o=this,i=t&&t.$content,a=t.width||t.opts.width,s=t.height||t.opts.height,r=t.$slide;o.adjustCaption(t),i&&(a||s||"video"===t.contentType)&&!t.hasError&&(n.fancybox.stop(i),n.fancybox.setTranslate(i,o.getFitPos(t)),t.pos===o.currPos&&(o.isAnimating=!1,o.updateCursor())),o.adjustLayout(t),r.length&&(r.trigger("refresh"),t.pos===o.currPos&&o.$refs.toolbar.add(o.$refs.navigation.find(".fancybox-button--arrow_right")).toggleClass("compensate-for-scrollbar",r.get(0).scrollHeight>r.get(0).clientHeight)),o.trigger("onUpdate",t,e)},centerSlide:function(t){var e=this,o=e.current,i=o.$slide;!e.isClosing&&o&&(i.siblings().css({transform:"",opacity:""}),i.parent().children().removeClass("fancybox-slide--previous fancybox-slide--next"),n.fancybox.animate(i,{top:0,left:0,opacity:1},void 0===t?0:t,function(){i.css({transform:"",opacity:""}),o.isComplete||e.complete()},!1))},isMoved:function(t){var e,o,i=t||this.current;return!!i&&(o=n.fancybox.getTranslate(this.$refs.stage),e=n.fancybox.getTranslate(i.$slide),!i.$slide.hasClass("fancybox-animated")&&(Math.abs(e.top-o.top)>.5||Math.abs(e.left-o.left)>.5))},updateCursor:function(t,e){var o,i,a=this,s=a.current,r=a.$refs.container;s&&!a.isClosing&&a.Guestures&&(r.removeClass("fancybox-is-zoomable fancybox-can-zoomIn fancybox-can-zoomOut fancybox-can-swipe fancybox-can-pan"),o=a.canPan(t,e),i=!!o||a.isZoomable(),r.toggleClass("fancybox-is-zoomable",i),n("[data-fancybox-zoom]").prop("disabled",!i),o?r.addClass("fancybox-can-pan"):i&&("zoom"===s.opts.clickContent||n.isFunction(s.opts.clickContent)&&"zoom"==s.opts.clickContent(s))?r.addClass("fancybox-can-zoomIn"):s.opts.touch&&(s.opts.touch.vertical||a.group.length>1)&&"video"!==s.contentType&&r.addClass("fancybox-can-swipe"))},isZoomable:function(){var t,e=this,n=e.current;if(n&&!e.isClosing&&"image"===n.type&&!n.hasError){if(!n.isLoaded)return!0;if((t=e.getFitPos(n))&&(n.width>t.width||n.height>t.height))return!0}return!1},isScaledDown:function(t,e){var o=this,i=!1,a=o.current,s=a.$content;return void 0!==t&&void 0!==e?i=t<a.width&&e<a.height:s&&(i=n.fancybox.getTranslate(s),i=i.width<a.width&&i.height<a.height),i},canPan:function(t,e){var o=this,i=o.current,a=null,s=!1;return"image"===i.type&&(i.isComplete||t&&e)&&!i.hasError&&(s=o.getFitPos(i),void 0!==t&&void 0!==e?a={width:t,height:e}:i.isComplete&&(a=n.fancybox.getTranslate(i.$content)),a&&s&&(s=Math.abs(a.width-s.width)>1.5||Math.abs(a.height-s.height)>1.5)),s},loadSlide:function(t){var e,o,i,a=this;if(!t.isLoading&&!t.isLoaded){if(t.isLoading=!0,!1===a.trigger("beforeLoad",t))return t.isLoading=!1,!1;switch(e=t.type,o=t.$slide,o.off("refresh").trigger("onReset").addClass(t.opts.slideClass),e){case"image":a.setImage(t);break;case"iframe":a.setIframe(t);break;case"html":a.setContent(t,t.src||t.content);break;case"video":a.setContent(t,t.opts.video.tpl.replace(/\{\{src\}\}/gi,t.src).replace("{{format}}",t.opts.videoFormat||t.opts.video.format||"").replace("{{poster}}",t.thumb||""));break;case"inline":n(t.src).length?a.setContent(t,n(t.src)):a.setError(t);break;case"ajax":a.showLoading(t),i=n.ajax(n.extend({},t.opts.ajax.settings,{url:t.src,success:function(e,n){"success"===n&&a.setContent(t,e)},error:function(e,n){e&&"abort"!==n&&a.setError(t)}})),o.one("onReset",function(){i.abort()});break;default:a.setError(t)}return!0}},setImage:function(t){var o,i=this;setTimeout(function(){var e=t.$image;i.isClosing||!t.isLoading||e&&e.length&&e[0].complete||t.hasError||i.showLoading(t)},50),i.checkSrcset(t),t.$content=n('<div class="fancybox-content"></div>').addClass("fancybox-is-hidden").appendTo(t.$slide.addClass("fancybox-slide--image")),!1!==t.opts.preload&&t.opts.width&&t.opts.height&&t.thumb&&(t.width=t.opts.width,t.height=t.opts.height,o=e.createElement("img"),o.onerror=function(){n(this).remove(),t.$ghost=null},o.onload=function(){i.afterLoad(t)},t.$ghost=n(o).addClass("fancybox-image").appendTo(t.$content).attr("src",t.thumb)),i.setBigImage(t)},checkSrcset:function(e){var n,o,i,a,s=e.opts.srcset||e.opts.image.srcset;if(s){i=t.devicePixelRatio||1,a=t.innerWidth*i,o=s.split(",").map(function(t){var e={};return t.trim().split(/\s+/).forEach(function(t,n){var o=parseInt(t.substring(0,t.length-1),10);if(0===n)return e.url=t;o&&(e.value=o,e.postfix=t[t.length-1])}),e}),o.sort(function(t,e){return t.value-e.value});for(var r=0;r<o.length;r++){var c=o[r];if("w"===c.postfix&&c.value>=a||"x"===c.postfix&&c.value>=i){n=c;break}}!n&&o.length&&(n=o[o.length-1]),n&&(e.src=n.url,e.width&&e.height&&"w"==n.postfix&&(e.height=e.width/e.height*n.value,e.width=n.value),e.opts.srcset=s)}},setBigImage:function(t){var o=this,i=e.createElement("img"),a=n(i);t.$image=a.one("error",function(){o.setError(t)}).one("load",function(){var e;t.$ghost||(o.resolveImageSlideSize(t,this.naturalWidth,this.naturalHeight),o.afterLoad(t)),o.isClosing||(t.opts.srcset&&(e=t.opts.sizes,e&&"auto"!==e||(e=(t.width/t.height>1&&s.width()/s.height()>1?"100":Math.round(t.width/t.height*100))+"vw"),a.attr("sizes",e).attr("srcset",t.opts.srcset)),t.$ghost&&setTimeout(function(){t.$ghost&&!o.isClosing&&t.$ghost.hide()},Math.min(300,Math.max(1e3,t.height/1600))),o.hideLoading(t))}).addClass("fancybox-image").attr("src",t.src).appendTo(t.$content),(i.complete||"complete"==i.readyState)&&a.naturalWidth&&a.naturalHeight?a.trigger("load"):i.error&&a.trigger("error")},resolveImageSlideSize:function(t,e,n){var o=parseInt(t.opts.width,10),i=parseInt(t.opts.height,10);t.width=e,t.height=n,o>0&&(t.width=o,t.height=Math.floor(o*n/e)),i>0&&(t.width=Math.floor(i*e/n),t.height=i)},setIframe:function(t){var e,o=this,i=t.opts.iframe,a=t.$slide;t.$content=n('<div class="fancybox-content'+(i.preload?" fancybox-is-hidden":"")+'"></div>').css(i.css).appendTo(a),a.addClass("fancybox-slide--"+t.contentType),t.$iframe=e=n(i.tpl.replace(/\{rnd\}/g,(new Date).getTime())).attr(i.attr).appendTo(t.$content),i.preload?(o.showLoading(t),e.on("load.fb error.fb",function(e){this.isReady=1,t.$slide.trigger("refresh"),o.afterLoad(t)}),a.on("refresh.fb",function(){var n,o,s=t.$content,r=i.css.width,c=i.css.height;if(1===e[0].isReady){try{n=e.contents(),o=n.find("body")}catch(t){}o&&o.length&&o.children().length&&(a.css("overflow","visible"),s.css({width:"100%","max-width":"100%",height:"9999px"}),void 0===r&&(r=Math.ceil(Math.max(o[0].clientWidth,o.outerWidth(!0)))),s.css("width",r||"").css("max-width",""),void 0===c&&(c=Math.ceil(Math.max(o[0].clientHeight,o.outerHeight(!0)))),s.css("height",c||""),a.css("overflow","auto")),s.removeClass("fancybox-is-hidden")}})):o.afterLoad(t),e.attr("src",t.src),a.one("onReset",function(){try{n(this).find("iframe").hide().unbind().attr("src","//about:blank")}catch(t){}n(this).off("refresh.fb").empty(),t.isLoaded=!1,t.isRevealed=!1})},setContent:function(t,e){var o=this;o.isClosing||(o.hideLoading(t),t.$content&&n.fancybox.stop(t.$content),t.$slide.empty(),l(e)&&e.parent().length?((e.hasClass("fancybox-content")||e.parent().hasClass("fancybox-content"))&&e.parents(".fancybox-slide").trigger("onReset"),t.$placeholder=n("<div>").hide().insertAfter(e),e.css("display","inline-block")):t.hasError||("string"===n.type(e)&&(e=n("<div>").append(n.trim(e)).contents())
vendor: 10,292 bytes, lines 1522-1523
1522),t.$slide.one("onReset",function(){n(this).find("video,audio").trigger("pause"),t.$placeholder&&(t.$placeholder.after(e.removeClass("fancybox-content").hide()).remove(),t.$placeholder=null),t.$smallBtn&&(t.$smallBtn.remove(),t.$smallBtn=null),t.hasError||(n(this).empty(),t.isLoaded=!1,t.isRevealed=!1)}),n(e).appendTo(t.$slide),n(e).is("video,audio")&&(n(e).addClass("fancybox-video"),n(e).wrap("<div></div>"),t.contentType="video",t.opts.width=t.opts.width||n(e).attr("width"),t.opts.height=t.opts.height||n(e).attr("height")),t.$content=t.$slide.children().filter("div,form,main,video,audio,article,.fancybox-content").first(),t.$content.siblings().hide(),t.$content.length||(t.$content=t.$slide.wrapInner("<div></div>").children().first()),t.$content.addClass("fancybox-content"),t.$slide.addClass("fancybox-slide--"+t.contentType),o.afterLoad(t))},setError:function(t){t.hasError=!0,t.$slide.trigger("onReset").removeClass("fancybox-slide--"+t.contentType).addClass("fancybox-slide--error"),t.contentType="html",this.setContent(t,this.translate(t,t.opts.errorTpl)),t.pos===this.currPos&&(this.isAnimating=!1)},showLoading:function(t){var e=this;(t=t||e.current)&&!t.$spinner&&(t.$spinner=n(e.translate(e,e.opts.spinnerTpl)).appendTo(t.$slide).hide().fadeIn("fast"))},hideLoading:function(t){var e=this;(t=t||e.current)&&t.$spinner&&(t.$spinner.stop().remove(),delete t.$spinner)},afterLoad:function(t){var e=this;e.isClosing||(t.isLoading=!1,t.isLoaded=!0,e.trigger("afterLoad",t),e.hideLoading(t),!t.opts.smallBtn||t.$smallBtn&&t.$smallBtn.length||(t.$smallBtn=n(e.translate(t,t.opts.btnTpl.smallBtn)).appendTo(t.$content)),t.opts.protect&&t.$content&&!t.hasError&&(t.$content.on("contextmenu.fb",function(t){return 2==t.button&&t.preventDefault(),!0}),"image"===t.type&&n('<div class="fancybox-spaceball"></div>').appendTo(t.$content)),e.adjustCaption(t),e.adjustLayout(t),t.pos===e.currPos&&e.updateCursor(),e.revealContent(t))},adjustCaption:function(t){var e,n=this,o=t||n.current,i=o.opts.caption,a=o.opts.preventCaptionOverlap,s=n.$refs.caption,r=!1;s.toggleClass("fancybox-caption--separate",a),a&&i&&i.length&&false&&(o.pos!==n.currPos?(e=s.clone().appendTo(s.parent()),r=e.outerHeight(!0),e.empty().remove()):n.$caption&&(r=n.$caption.outerHeight(!0)),o.$slide.css("padding-bottom",r||""))},adjustLayout:function(t){var e,n,o,i,a=this,s=t||a.current;s.isLoaded&&!0!==s.opts.disableLayoutFix&&(s.$content.css("margin-bottom",""),s.$content.outerHeight()>s.$slide.height()+.5&&(o=s.$slide[0].style["padding-bottom"],i=s.$slide.css("padding-bottom"),parseFloat(i)>0&&(e=s.$slide[0].scrollHeight,s.$slide.css("padding-bottom",0),Math.abs(e-s.$slide[0].scrollHeight)<1&&(n=i),s.$slide.css("padding-bottom",o))),s.$content.css("margin-bottom",n))},revealContent:function(t){var e,o,i,a,s=this,r=t.$slide,c=!1,l=!1,d=s.isMoved(t),u=t.isRevealed;return t.isRevealed=!0,e=t.opts[s.firstRun?"animationEffect":"transitionEffect"],i=t.opts[s.firstRun?"animationDuration":"transitionDuration"],i=parseInt(void 0===t.forcedDuration?i:t.forcedDuration,10),!d&&t.pos===s.currPos&&i||(e=!1),"zoom"===e&&(t.pos===s.currPos&&i&&"image"===t.type&&!t.hasError&&(l=s.getThumbPos(t))?c=s.getFitPos(t):e="fade"),"zoom"===e?(s.isAnimating=!0,c.scaleX=c.width/l.width,c.scaleY=c.height/l.height,a=t.opts.zoomOpacity,"auto"==a&&(a=Math.abs(t.width/t.height-l.width/l.height)>.1),a&&(l.opacity=.1,c.opacity=1),n.fancybox.setTranslate(t.$content.removeClass("fancybox-is-hidden"),l),p(t.$content),void n.fancybox.animate(t.$content,c,i,function(){s.isAnimating=!1,s.complete()})):(s.updateSlide(t),e?(n.fancybox.stop(r),o="fancybox-slide--"+(t.pos>=s.prevPos?"next":"previous")+" fancybox-animated fancybox-fx-"+e,r.addClass(o).removeClass("fancybox-slide--current"),t.$content.removeClass("fancybox-is-hidden"),p(r),"image"!==t.type&&t.$content.hide().show(0),void n.fancybox.animate(r,"fancybox-slide--current",i,function(){r.removeClass(o).css({transform:"",opacity:""}),t.pos===s.currPos&&s.complete()},!0)):(t.$content.removeClass("fancybox-is-hidden"),u||!d||"image"!==t.type||t.hasError||t.$content.hide().fadeIn("fast"),void(t.pos===s.currPos&&s.complete())))},getThumbPos:function(t){var e,o,i,a,s,r=!1,c=t.$thumb;return!(!c||!g(c[0]))&&(e=n.fancybox.getTranslate(c),o=parseFloat(c.css("border-top-width")||0),i=parseFloat(c.css("border-right-width")||0),a=parseFloat(c.css("border-bottom-width")||0),s=parseFloat(c.css("border-left-width")||0),r={top:e.top+o,left:e.left+s,width:e.width-i-s,height:e.height-o-a,scaleX:1,scaleY:1},e.width>0&&e.height>0&&r)},complete:function(){var t,e=this,o=e.current,i={};!e.isMoved()&&o.isLoaded&&(o.isComplete||(o.isComplete=!0,o.$slide.siblings().trigger("onReset"),e.preload("inline"),p(o.$slide),o.$slide.addClass("fancybox-slide--complete"),n.each(e.slides,function(t,o){o.pos>=e.currPos-1&&o.pos<=e.currPos+1?i[o.pos]=o:o&&(n.fancybox.stop(o.$slide),o.$slide.off().remove())}),e.slides=i),e.isAnimating=!1,e.updateCursor(),e.trigger("afterShow"),o.opts.video.autoStart&&o.$slide.find("video,audio").filter(":visible:first").trigger("play").one("ended",function(){this.webkitExitFullscreen&&this.webkitExitFullscreen(),e.next()}),o.opts.autoFocus&&"html"===o.contentType&&(t=o.$content.find("input[autofocus]:enabled:visible:first"),t.length?t.trigger("focus"):e.focus(null,!0)),o.$slide.scrollTop(0).scrollLeft(0))},preload:function(t){var e,n,o=this;o.group.length<2||(n=o.slides[o.currPos+1],e=o.slides[o.currPos-1],e&&e.type===t&&o.loadSlide(e),n&&n.type===t&&o.loadSlide(n))},focus:function(t,o){var i,a,s=this,r=["a[href]","area[href]",'input:not([disabled]):not([type="hidden"]):not([aria-hidden])',"select:not([disabled]):not([aria-hidden])","textarea:not([disabled]):not([aria-hidden])","button:not([disabled]):not([aria-hidden])","iframe","object","embed","video","audio","[contenteditable]",'[tabindex]:not([tabindex^="-"])'].join(",");s.isClosing||(i=!t&&s.current&&s.current.isComplete?s.current.$slide.find("*:visible"+(o?":not(.fancybox-close-small)":"")):s.$refs.container.find("*:visible"),i=i.filter(r).filter(function(){return"hidden"!==n(this).css("visibility")&&!n(this).hasClass("disabled")}),i.length?(a=i.index(e.activeElement),t&&t.shiftKey?(a<0||0==a)&&(t.preventDefault(),i.eq(i.length-1).trigger("focus")):(a<0||a==i.length-1)&&(t&&t.preventDefault(),i.eq(0).trigger("focus"))):s.$refs.container.trigger("focus"))},activate:function(){var t=this;n(".fancybox-container").each(function(){var e=n(this).data("FancyBox");e&&e.id!==t.id&&!e.isClosing&&(e.trigger("onDeactivate"),e.removeEvents(),e.isVisible=!1)}),t.isVisible=!0,(t.current||t.isIdle)&&(t.update(),t.updateControls()),t.trigger("onActivate"),t.addEvents()},close:function(t,e){var o,i,a,s,r,c,l,u=this,f=u.current,h=function(){u.cleanUp(t)};return!u.isClosing&&(u.isClosing=!0,!1===u.trigger("beforeClose",t)?(u.isClosing=!1,d(function(){u.update()}),!1):(u.removeEvents(),a=f.$content,o=f.opts.animationEffect,i=n.isNumeric(e)?e:o?f.opts.animationDuration:0,f.$slide.removeClass("fancybox-slide--complete fancybox-slide--next fancybox-slide--previous fancybox-animated"),!0!==t?n.fancybox.stop(f.$slide):o=!1,f.$slide.siblings().trigger("onReset").remove(),i&&u.$refs.container.removeClass("fancybox-is-open").addClass("fancybox-is-closing").css("transition-duration",i+"ms"),u.hideLoading(f),u.hideControls(!0),u.updateCursor(),"zoom"!==o||a&&i&&"image"===f.type&&!u.isMoved()&&!f.hasError&&(l=u.getThumbPos(f))||(o="fade"),"zoom"===o?(n.fancybox.stop(a),s=n.fancybox.getTranslate(a),c={top:s.top,left:s.left,scaleX:s.width/l.width,scaleY:s.height/l.height,width:l.width,height:l.height},r=f.opts.zoomOpacity,"auto"==r&&(r=Math.abs(f.width/f.height-l.width/l.height)>.1),r&&(l.opacity=0),
1523    n.fancybox.setTranslate(a,c),p(a),n.fancybox.animate(a,l,i,h),!0):(o&&i?n.fancybox.animate(f.$slide.addClass("fancybox-slide--previous").removeClass("fancybox-slide--current"),"fancybox-animated fancybox-fx-"+o,i,h):!0===t?setTimeout(h,i):h(),!0)))},cleanUp:function(e){var o,i,a,s=this,r=s.current.opts.$orig;s.current.$slide.trigger("onReset"),s.$refs.container.empty().remove(),s.trigger("afterClose",e),s.current.opts.backFocus&&(r&&r.length&&r.is(":visible")||(r=s.$trigger),r&&r.length&&(i=t.scrollX,a=t.scrollY,r.trigger("focus"),n("html, body").scrollTop(a).scrollLeft(i))),s.current=null,o=n.fancybox.getInstance(),o?o.activate():(n("body").removeClass("fancybox-active compensate-for-scrollbar"),n("#fancybox-style-noscroll").remove())},trigger:function(t,e){var o,i=Array.prototype.slice.call(arguments,1),a=this,s=e&&e.opts?e:a.current;if(s?i.unshift(s):s=a,i.unshift(a),n.isFunction(s.opts[t])&&(o=s.opts[t].apply(s,i)),!1===o)return o;"afterClose"!==t&&a.$refs?a.$refs.container.trigger(t+".fb",i):r.trigger(t+".fb",i)},updateControls:function(){var t=this,o=t.current,i=o.index,a=t.$refs.container,s=t.$refs.caption,r=o.opts.caption;o.$slide.trigger("refresh"),t.$caption=null,t.hasHiddenControls||t.isIdle||t.showControls(),a.find("[data-fancybox-count]").html(t.group.length),a.find("[data-fancybox-index]").html(i+1),a.find("[data-fancybox-prev]").prop("disabled",!o.opts.loop&&i<=0),a.find("[data-fancybox-next]").prop("disabled",!o.opts.loop&&i>=t.group.length-1),"image"===o.type?a.find("[data-fancybox-zoom]").show().end().find("[data-fancybox-download]").attr("href",o.opts.image.src||o.src).show():o.opts.toolbar&&a.find("[data-fancybox-download],[data-fancybox-zoom]").hide(),n(e.activeElement).is(":hidden,[disabled]")&&t.$refs.container.trigger("focus")},hideControls:function(t){var e=this,n=["infobar","toolbar","nav"];!t&&e.current.opts.preventCaptionOverlap||n.push("caption"),this.$refs.container.removeClass(n.map(function(t){return"fancybox-show-"+t}).join(" ")),this.hasHiddenControls=!0},showControls:function(){var t=this,e=t.current?t.current.opts:t.opts,n=t.$refs.container;t.hasHiddenControls=!1,t.idleSecondsCounter=0,n.toggleClass("fancybox-show-toolbar",!(!e.toolbar||!e.buttons)).toggleClass("fancybox-show-infobar",!!(e.infobar&&t.group.length>1)).toggleClass("fancybox-show-caption",!!t.$caption).toggleClass("fancybox-show-nav",!!(e.arrows&&t.group.length>1)).toggleClass("fancybox-is-modal",!!e.modal)},toggleControls:function(){this.hasHiddenControls?this.showControls():this.hideControls()}}),n.fancybox={version:"3.5.6
vendor: 28,260 bytes, line 1523
1523",defaults:a,getInstance:function(t){var e=n('.fancybox-container:not(".fancybox-is-closing"):last').data("FancyBox"),o=Array.prototype.slice.call(arguments,1);return e instanceof b&&("string"===n.type(t)?e[t].apply(e,o):"function"===n.type(t)&&t.apply(e,o),e)},open:function(t,e,n){return new b(t,e,n)},close:function(t){var e=this.getInstance();e&&(e.close(),!0===t&&this.close(t))},destroy:function(){this.close(!0),r.add("body").off("click.fb-start","**")},isMobile:/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),use3d:function(){var n=e.createElement("div");return t.getComputedStyle&&t.getComputedStyle(n)&&t.getComputedStyle(n).getPropertyValue("transform")&&!(e.documentMode&&e.documentMode<11)}(),getTranslate:function(t){var e;return!(!t||!t.length)&&(e=t[0].getBoundingClientRect(),{top:e.top||0,left:e.left||0,width:e.width,height:e.height,opacity:parseFloat(t.css("opacity"))})},setTranslate:function(t,e){var n="",o={};if(t&&e)return void 0===e.left&&void 0===e.top||(n=(void 0===e.left?t.position().left:e.left)+"px, "+(void 0===e.top?t.position().top:e.top)+"px",n=this.use3d?"translate3d("+n+", 0px)":"translate("+n+")"),void 0!==e.scaleX&&void 0!==e.scaleY?n+=" scale("+e.scaleX+", "+e.scaleY+")":void 0!==e.scaleX&&(n+=" scaleX("+e.scaleX+")"),n.length&&(o.transform=n),void 0!==e.opacity&&(o.opacity=e.opacity),void 0!==e.width&&(o.width=e.width),void 0!==e.height&&(o.height=e.height),t.css(o)},animate:function(t,e,o,i,a){var s,r=this;n.isFunction(o)&&(i=o,o=null),r.stop(t),s=r.getTranslate(t),t.on(f,function(c){(!c||!c.originalEvent||t.is(c.originalEvent.target)&&"z-index"!=c.originalEvent.propertyName)&&(r.stop(t),n.isNumeric(o)&&t.css("transition-duration",""),n.isPlainObject(e)?void 0!==e.scaleX&&void 0!==e.scaleY&&r.setTranslate(t,{top:e.top,left:e.left,width:s.width*e.scaleX,height:s.height*e.scaleY,scaleX:1,scaleY:1}):!0!==a&&t.removeClass(e),n.isFunction(i)&&i(c))}),n.isNumeric(o)&&t.css("transition-duration",o+"ms"),n.isPlainObject(e)?(void 0!==e.scaleX&&void 0!==e.scaleY&&(delete e.width,delete e.height,t.parent().hasClass("fancybox-slide--image")&&t.parent().addClass("fancybox-is-scaling")),n.fancybox.setTranslate(t,e)):t.addClass(e),t.data("timer",setTimeout(function(){t.trigger(f)},o+33))},stop:function(t,e){t&&t.length&&(clearTimeout(t.data("timer")),e&&t.trigger(f),t.off(f).css("transition-duration",""),t.parent().removeClass("fancybox-is-scaling"))}},n.fn.fancybox=function(t){var e;return t=t||{},e=t.selector||!1,e?n("body").off("click.fb-start",e).on("click.fb-start",e,{options:t},i):this.off("click.fb-start").on("click.fb-start",{items:this,options:t},i),this},r.on("click.fb-start","[data-fancybox]",i),r.on("click.fb-start","[data-fancybox-trigger]",function(t){n('[data-fancybox="'+n(this).attr("data-fancybox-trigger")+'"]').eq(n(this).attr("data-fancybox-index")||0).trigger("click.fb-start",{$trigger:n(this)})}),function(){var t=null;r.on("mousedown mouseup focus blur",".fancybox-button",function(e){switch(e.type){case"mousedown":t=n(this);break;case"mouseup":t=null;break;case"focusin":n(".fancybox-button").removeClass("fancybox-focus"),n(this).is(t)||n(this).is("[disabled]")||n(this).addClass("fancybox-focus");break;case"focusout":n(".fancybox-button").removeClass("fancybox-focus")}})}()}}(window,document,jQuery),function(t){"use strict";var e={youtube:{matcher:/(youtube\.com|youtu\.be|youtube\-nocookie\.com)\/(watch\?(.*&)?v=|v\/|u\/|embed\/?)?(videoseries\?list=(.*)|[\w-]{11}|\?listType=(.*)&list=(.*))(.*)/i,params:{autoplay:1,autohide:1,fs:1,rel:0,hd:1,wmode:"transparent",enablejsapi:1,html5:1},paramPlace:8,type:"iframe",url:"https://www.youtube-nocookie.com/embed/$4",thumb:"https://img.youtube.com/vi/$4/hqdefault.jpg"},vimeo:{matcher:/^.+vimeo.com\/(.*\/)?([\d]+)(.*)?/,params:{autoplay:1,hd:1,show_title:1,show_byline:1,show_portrait:0,fullscreen:1},paramPlace:3,type:"iframe",url:"//player.vimeo.com/video/$2"},instagram:{matcher:/(instagr\.am|instagram\.com)\/p\/([a-zA-Z0-9_\-]+)\/?/i,type:"image",url:"//$1/p/$2/media/?size=l"},gmap_place:{matcher:/(maps\.)?google\.([a-z]{2,3}(\.[a-z]{2})?)\/(((maps\/(place\/(.*)\/)?\@(.*),(\d+.?\d+?)z))|(\?ll=))(.*)?/i,type:"iframe",url:function(t){return"//maps.google."+t[2]+"/?ll="+(t[9]?t[9]+"&z="+Math.floor(t[10])+(t[12]?t[12].replace(/^\//,"&"):""):t[12]+"").replace(/\?/,"&")+"&output="+(t[12]&&t[12].indexOf("layer=c")>0?"svembed":"embed")}},gmap_search:{matcher:/(maps\.)?google\.([a-z]{2,3}(\.[a-z]{2})?)\/(maps\/search\/)(.*)/i,type:"iframe",url:function(t){return"//maps.google."+t[2]+"/maps?q="+t[5].replace("query=","q=").replace("api=1","")+"&output=embed"}}},n=function(e,n,o){if(e)return o=o||"","object"===t.type(o)&&(o=t.param(o,!0)),t.each(n,function(t,n){e=e.replace("$"+t,n||"")}),o.length&&(e+=(e.indexOf("?")>0?"&":"?")+o),e};t(document).on("objectNeedsType.fb",function(o,i,a){var s,r,c,l,d,u,f,p=a.src||"",h=!1;s=t.extend(!0,{},e,a.opts.media),t.each(s,function(e,o){if(c=p.match(o.matcher)){if(h=o.type,f=e,u={},o.paramPlace&&c[o.paramPlace]){d=c[o.paramPlace],"?"==d[0]&&(d=d.substring(1)),d=d.split("&");for(var i=0;i<d.length;++i){var s=d[i].split("=",2);2==s.length&&(u[s[0]]=decodeURIComponent(s[1].replace(/\+/g," ")))}}return l=t.extend(!0,{},o.params,a.opts[e],u),p="function"===t.type(o.url)?o.url.call(this,c,l,a):n(o.url,c,l),r="function"===t.type(o.thumb)?o.thumb.call(this,c,l,a):n(o.thumb,c),"youtube"===e?p=p.replace(/&t=((\d+)m)?(\d+)s/,function(t,e,n,o){return"&start="+((n?60*parseInt(n,10):0)+parseInt(o,10))}):"vimeo"===e&&(p=p.replace("&%23","#")),!1}}),h?(a.opts.thumb||a.opts.$thumb&&a.opts.$thumb.length||(a.opts.thumb=r),"iframe"===h&&(a.opts=t.extend(!0,a.opts,{iframe:{preload:!1,attr:{scrolling:"no"}}})),t.extend(a,{type:h,src:p,origSrc:a.src,contentSource:f,contentType:"image"===h?"image":"gmap_place"==f||"gmap_search"==f?"map":"video"})):p&&(a.type=a.opts.defaultType)});var o={youtube:{src:"https://www.youtube.com/iframe_api",class:"YT",loading:!1,loaded:!1},vimeo:{src:"https://player.vimeo.com/api/player.js",class:"Vimeo",loading:!1,loaded:!1},load:function(t){var e,n=this;if(this[t].loaded)return void setTimeout(function(){n.done(t)});this[t].loading||(this[t].loading=!0,e=document.createElement("script"),e.type="text/javascript",e.src=this[t].src,"youtube"===t?window.onYouTubeIframeAPIReady=function(){n[t].loaded=!0,n.done(t)}:e.onload=function(){n[t].loaded=!0,n.done(t)},document.body.appendChild(e))},done:function(e){var n,o,i;"youtube"===e&&delete window.onYouTubeIframeAPIReady,(n=t.fancybox.getInstance())&&(o=n.current.$content.find("iframe"),"youtube"===e&&void 0!==YT&&YT?i=new YT.Player(o.attr("id"),{events:{onStateChange:function(t){0==t.data&&n.next()}}}):"vimeo"===e&&void 0!==Vimeo&&Vimeo&&(i=new Vimeo.Player(o),i.on("ended",function(){n.next()})))}};t(document).on({"afterShow.fb":function(t,e,n){e.group.length>1&&("youtube"===n.contentSource||"vimeo"===n.contentSource)&&o.load(n.contentSource)}})}(jQuery),function(t,e,n){"use strict";var o=function(){return t.requestAnimationFrame||t.webkitRequestAnimationFrame||t.mozRequestAnimationFrame||t.oRequestAnimationFrame||function(e){return t.setTimeout(e,1e3/60)}}(),i=function(){return t.cancelAnimationFrame||t.webkitCancelAnimationFrame||t.mozCancelAnimationFrame||t.oCancelAnimationFrame||function(e){t.clearTimeout(e)}}(),a=function(e){var n=[];e=e.originalEvent||e||t.e,e=e.touches&&e.touches.length?e.touches:e.changedTouches&&e.changedTouches.length?e.changedTouches:[e];for(var o in e)e[o].pageX?n.push({x:e[o].pageX,y:e[o].pageY}):e[o].clientX&&n.push({x:e[o].clientX,y:e[o].clientY});return n},s=function(t,e,n){return e&&t?"x"===n?t.x-e.x:"y"===n?t.y-e.y:Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2)):0},r=function(t){if(t.is('a,area,button,[role="button"],input,label,select,summary,textarea,video,audio,iframe')||n.isFunction(t.get(0).onclick)||t.data("selectable"))return!0;for(var e=0,o=t[0].attributes,i=o.length;e<i;e++)if("data-fancybox-"===o[e].nodeName.substr(0,14))return!0;return!1},c=function(e){var n=t.getComputedStyle(e)["overflow-y"],o=t.getComputedStyle(e)["overflow-x"],i=("scroll"===n||"auto"===n)&&e.scrollHeight>e.clientHeight,a=("scroll"===o||"auto"===o)&&e.scrollWidth>e.clientWidth;return i||a},l=function(t){for(var e=!1;;){if(e=c(t.get(0)))break;if(t=t.parent(),!t.length||t.hasClass("fancybox-stage")||t.is("body"))break}return e},d=function(t){var e=this;e.instance=t,e.$bg=t.$refs.bg,e.$stage=t.$refs.stage,e.$container=t.$refs.container,e.destroy(),e.$container.on("touchstart.fb.touch mousedown.fb.touch",n.proxy(e,"ontouchstart"))};d.prototype.destroy=function(){var t=this;t.$container.off(".fb.touch"),n(e).off(".fb.touch"),t.requestId&&(i(t.requestId),t.requestId=null),t.tapped&&(clearTimeout(t.tapped),t.tapped=null)},d.prototype.ontouchstart=function(o){var i=this,c=n(o.target),d=i.instance,u=d.current,f=u.$slide,p=u.$content,h="touchstart"==o.type;if(h&&i.$container.off("mousedown.fb.touch"),(!o.originalEvent||2!=o.originalEvent.button)&&f.length&&c.length&&!r(c)&&!r(c.parent())&&(c.is("img")||!(o.originalEvent.clientX>c[0].clientWidth+c.offset().left))){if(!u||d.isAnimating||u.$slide.hasClass("fancybox-animated"))return o.stopPropagation(),void o.preventDefault();i.realPoints=i.startPoints=a(o),i.startPoints.length&&(u.touch&&o.stopPropagation(),i.startEvent=o,i.canTap=!0,i.$target=c,i.$content=p,i.opts=u.opts.touch,i.isPanning=!1,i.isSwiping=!1,i.isZooming=!1,i.isScrolling=!1,i.canPan=d.canPan(),i.startTime=(new Date).getTime(),i.distanceX=i.distanceY=i.distance=0,i.canvasWidth=Math.round(f[0].clientWidth),i.canvasHeight=Math.round(f[0].clientHeight),i.contentLastPos=null,i.contentStartPos=n.fancybox.getTranslate(i.$content)||{top:0,left:0},i.sliderStartPos=n.fancybox.getTranslate(f),i.stagePos=n.fancybox.getTranslate(d.$refs.stage),i.sliderStartPos.top-=i.stagePos.top,i.sliderStartPos.left-=i.stagePos.left,i.contentStartPos.top-=i.stagePos.top,i.contentStartPos.left-=i.stagePos.left,n(e).off(".fb.touch").on(h?"touchend.fb.touch touchcancel.fb.touch":"mouseup.fb.touch mouseleave.fb.touch",n.proxy(i,"ontouchend")).on(h?"touchmove.fb.touch":"mousemove.fb.touch",n.proxy(i,"ontouchmove")),n.fancybox.isMobile&&e.addEventListener("scroll",i.onscroll,!0),((i.opts||i.canPan)&&(c.is(i.$stage)||i.$stage.find(c).length)||(c.is(".fancybox-image")&&o.preventDefault(),n.fancybox.isMobile&&c.parents(".fancybox-caption").length))&&(i.isScrollable=l(c)||l(c.parent()),n.fancybox.isMobile&&i.isScrollable||o.preventDefault(),(1===i.startPoints.length||u.hasError)&&(i.canPan?(n.fancybox.stop(i.$content),i.isPanning=!0):i.isSwiping=!0,i.$container.addClass("fancybox-is-grabbing")),2===i.startPoints.length&&"image"===u.type&&(u.isLoaded||u.$ghost)&&(i.canTap=!1,i.isSwiping=!1,i.isPanning=!1,i.isZooming=!0,n.fancybox.stop(i.$content),i.centerPointStartX=.5*(i.startPoints[0].x+i.startPoints[1].x)-n(t).scrollLeft(),i.centerPointStartY=.5*(i.startPoints[0].y+i.startPoints[1].y)-n(t).scrollTop(),i.percentageOfImageAtPinchPointX=(i.centerPointStartX-i.contentStartPos.left)/i.contentStartPos.width,i.percentageOfImageAtPinchPointY=(i.centerPointStartY-i.contentStartPos.top)/i.contentStartPos.height,i.startDistanceBetweenFingers=s(i.startPoints[0],i.startPoints[1]))))}},d.prototype.onscroll=function(t){var n=this;n.isScrolling=!0,e.removeEventListener("scroll",n.onscroll,!0)},d.prototype.ontouchmove=function(t){var e=this;return void 0!==t.originalEvent.buttons&&0===t.originalEvent.buttons?void e.ontouchend(t):e.isScrolling?void(e.canTap=!1):(e.newPoints=a(t),void((e.opts||e.canPan)&&e.newPoints.length&&e.newPoints.length&&(e.isSwiping&&!0===e.isSwiping||t.preventDefault(),e.distanceX=s(e.newPoints[0],e.startPoints[0],"x"),e.distanceY=s(e.newPoints[0],e.startPoints[0],"y"),e.distance=s(e.newPoints[0],e.startPoints[0]),e.distance>0&&(e.isSwiping?e.onSwipe(t):e.isPanning?e.onPan():e.isZooming&&e.onZoom()))))},d.prototype.onSwipe=function(e){var a,s=this,r=s.instance,c=s.isSwiping,l=s.sliderStartPos.left||0;if(!0!==c)"x"==c&&(s.distanceX>0&&(s.instance.group.length<2||0===s.instance.current.index&&!s.instance.current.opts.loop)?l+=Math.pow(s.distanceX,.8):s.distanceX<0&&(s.instance.group.length<2||s.instance.current.index===s.instance.group.length-1&&!s.instance.current.opts.loop)?l-=Math.pow(-s.distanceX,.8):l+=s.distanceX),s.sliderLastPos={top:"x"==c?0:s.sliderStartPos.top+s.distanceY,left:l},s.requestId&&(i(s.requestId),s.requestId=null),s.requestId=o(function(){s.sliderLastPos&&(n.each(s.instance.slides,function(t,e){var o=e.pos-s.instance.currPos;n.fancybox.setTranslate(e.$slide,{top:s.sliderLastPos.top,left:s.sliderLastPos.left+o*s.canvasWidth+o*e.opts.gutter})}),s.$container.addClass("fancybox-is-sliding"))});else if(Math.abs(s.distance)>10){if(s.canTap=!1,r.group.length<2&&s.opts.vertical?s.isSwiping="y":r.isDragging||!1===s.opts.vertical||"auto"===s.opts.vertical&&n(t).width()>800?s.isSwiping="x":(a=Math.abs(180*Math.atan2(s.distanceY,s.distanceX)/Math.PI),s.isSwiping=a>45&&a<135?"y":"x"),"y"===s.isSwiping&&n.fancybox.isMobile&&s.isScrollable)return void(s.isScrolling=!0);r.isDragging=s.isSwiping,s.startPoints=s.newPoints,n.each(r.slides,function(t,e){var o,i;n.fancybox.stop(e.$slide),o=n.fancybox.getTranslate(e.$slide),i=n.fancybox.getTranslate(r.$refs.stage),e.$slide.css({transform:"",opacity:"","transition-duration":""}).removeClass("fancybox-animated").removeClass(function(t,e){return(e.match(/(^|\s)fancybox-fx-\S+/g)||[]).join(" ")}),e.pos===r.current.pos&&(s.sliderStartPos.top=o.top-i.top,s.sliderStartPos.left=o.left-i.left),n.fancybox.setTranslate(e.$slide,{top:o.top-i.top,left:o.left-i.left})}),r.SlideShow&&r.SlideShow.isActive&&r.SlideShow.stop()}},d.prototype.onPan=function(){var t=this;if(s(t.newPoints[0],t.realPoints[0])<(n.fancybox.isMobile?10:5))return void(t.startPoints=t.newPoints);t.canTap=!1,t.contentLastPos=t.limitMovement(),t.requestId&&i(t.requestId),t.requestId=o(function(){n.fancybox.setTranslate(t.$content,t.contentLastPos)})},d.prototype.limitMovement=function(){var t,e,n,o,i,a,s=this,r=s.canvasWidth,c=s.canvasHeight,l=s.distanceX,d=s.distanceY,u=s.contentStartPos,f=u.left,p=u.top,h=u.width,g=u.height;return i=h>r?f+l:f,a=p+d,t=Math.max(0,.5*r-.5*h),e=Math.max(0,.5*c-.5*g),n=Math.min(r-h,.5*r-.5*h),o=Math.min(c-g,.5*c-.5*g),l>0&&i>t&&(i=t-1+Math.pow(-t+f+l,.8)||0),l<0&&i<n&&(i=n+1-Math.pow(n-f-l,.8)||0),d>0&&a>e&&(a=e-1+Math.pow(-e+p+d,.8)||0),d<0&&a<o&&(a=o+1-Math.pow(o-p-d,.8)||0),{top:a,left:i}},d.prototype.limitPosition=function(t,e,n,o){var i=this,a=i.canvasWidth,s=i.canvasHeight;return n>a?(t=t>0?0:t,t=t<a-n?a-n:t):t=Math.max(0,a/2-n/2),o>s?(e=e>0?0:e,e=e<s-o?s-o:e):e=Math.max(0,s/2-o/2),{top:e,left:t}},d.prototype.onZoom=function(){var e=this,a=e.contentStartPos,r=a.width,c=a.height,l=a.left,d=a.top,u=s(e.newPoints[0],e.newPoints[1]),f=u/e.startDistanceBetweenFingers,p=Math.floor(r*f),h=Math.floor(c*f),g=(r-p)*e.percentageOfImageAtPinchPointX,b=(c-h)*e.percentageOfImageAtPinchPointY,m=(e.newPoints[0].x+e.newPoints[1].x)/2-n(t).scrollLeft(),v=(e.newPoints[0].y+e.newPoints[1].y)/2-n(t).scrollTop(),y=m-e.centerPointStartX,x=v-e.centerPointStartY,w=l+(g+y),$=d+(b+x),S={top:$,left:w,scaleX:f,scaleY:f};e.canTap=!1,e.newWidth=p,e.newHeight=h,e.contentLastPos=S,e.requestId&&i(e.requestId),e.requestId=o(function(){n.fancybox.setTranslate(e.$content,e.contentLastPos)})},d.prototype.ontouchend=function(t){var o=this,s=o.isSwiping,r=o.isPanning,c=o.isZooming,l=o.isScrolling;if(o.endPoints=a(t),o.dMs=Math.max((new Date).getTime()-o.startTime,1),o.$container.removeClass("fancybox-is-grabbing"),n(e).off(".fb.touch"),e.removeEventListener("scroll",o.onscroll,!0),o.requestId&&(i(o.requestId),o.requestId=null),o.isSwiping=!1,o.isPanning=!1,o.isZooming=!1,o.isScrolling=!1,o.instance.isDragging=!1,o.canTap)return o.onTap(t);o.speed=100,o.velocityX=o.distanceX/o.dMs*.5,o.velocityY=o.distanceY/o.dMs*.5,r?o.endPanning():c?o.endZooming():o.endSwiping(s,l)},d.prototype.endSwiping=function(t,e){var o=this,i=!1,a=o.instance.group.length,s=Math.abs(o.distanceX),r="x"==t&&a>1&&(o.dMs>130&&s>10||s>50);o.sliderLastPos=null,"y"==t&&!e&&Math.abs(o.distanceY)>50?(n.fancybox.animate(o.instance.current.$slide,{top:o.sliderStartPos.top+o.distanceY+150*o.velocityY,opacity:0},200),i=o.instance.close(!0,250)):r&&o.distanceX>0?i=o.instance.previous(300):r&&o.distanceX<0&&(i=o.instance.next(300)),!1!==i||"x"!=t&&"y"!=t||o.instance.centerSlide(200),o.$container.removeClass("fancybox-is-sliding")},d.prototype.endPanning=function(){var t,e,o,i=this;i.contentLastPos&&(!1===i.opts.momentum||i.dMs>350?(t=i.contentLastPos.left,e=i.contentLastPos.top):(t=i.contentLastPos.left+500*i.velocityX,e=i.contentLastPos.top+500*i.velocityY),o=i.limitPosition(t,e,i.contentStartPos.width,i.contentStartPos.height),o.width=i.contentStartPos.width,o.height=i.contentStartPos.height,n.fancybox.animate(i.$content,o,366))},d.prototype.endZooming=function(){var t,e,o,i,a=this,s=a.instance.current,r=a.newWidth,c=a.newHeight;a.contentLastPos&&(t=a.contentLastPos.left,e=a.contentLastPos.top,i={top:e,left:t,width:r,height:c,scaleX:1,scaleY:1},n.fancybox.setTranslate(a.$content,i),r<a.canvasWidth&&c<a.canvasHeight?a.instance.scaleToFit(150):r>s.width||c>s.height?a.instance.scaleToActual(a.centerPointStartX,a.centerPointStartY,150):(o=a.limitPosition(t,e,r,c),n.fancybox.animate(a.$content,o,150)))},d.prototype.onTap=function(e){var o,i=this,s=n(e.target),r=i.instance,c=r.current,l=e&&a(e)||i.startPoints,d=l[0]?l[0].x-n(t).scrollLeft()-i.stagePos.left:0,u=l[0]?l[0].y-n(t).scrollTop()-i.stagePos.top:0,f=function(t){var o=c.opts[t];if(n.isFunction(o)&&(o=o.apply(r,[c,e])),o)switch(o){case"close":r.close(i.startEvent);break;case"toggleControls":r.toggleControls();break;case"next":r.next();break;case"nextOrClose":r.group.length>1?r.next():r.close(i.startEvent);break;case"zoom":"image"==c.type&&(c.isLoaded||c.$ghost)&&(r.canPan()?r.scaleToFit():r.isScaledDown()?r.scaleToActual(d,u):r.group.length<2&&r.close(i.startEvent))}};if((!e.originalEvent||2!=e.originalEvent.button)&&(s.is("img")||!(d>s[0].clientWidth+s.offset().left))){if(s.is(".fancybox-bg,.fancybox-inner,.fancybox-outer,.fancybox-container"))o="Outside";else if(s.is(".fancybox-slide"))o="Slide";else{if(!r.current.$content||!r.current.$content.find(s).addBack().filter(s).length)return;o="Content"}if(i.tapped){if(clearTimeout(i.tapped),i.tapped=null,Math.abs(d-i.tapX)>50||Math.abs(u-i.tapY)>50)return this;f("dblclick"+o)}else i.tapX=d,i.tapY=u,c.opts["dblclick"+o]&&c.opts["dblclick"+o]!==c.opts["click"+o]?i.tapped=setTimeout(function(){i.tapped=null,r.isAnimating||f("click"+o)},500):f("click"+o);return this}},n(e).on("onActivate.fb",function(t,e){e&&!e.Guestures&&(e.Guestures=new d(e))}).on("beforeClose.fb",function(t,e){e&&e.Guestures&&e.Guestures.destroy()})}(window,document,jQuery),function(t,e){"use strict";e.extend(!0,e.fancybox.defaults,{btnTpl:{slideShow:'<button data-fancybox-play class="fancybox-button fancybox-button--play" title="{{PLAY_START}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M6.5 5.4v13.2l11-6.6z"/></svg><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M8.33 5.75h2.2v12.5h-2.2V5.75zm5.15 0h2.2v12.5h-2.2V5.75z"/></svg></button>'},slideShow:{autoStart:!1,speed:3e3,progress:!0}});var n=function(t){this.instance=t,this.init()};e.extend(n.prototype,{timer:null,isActive:!1,$button:null,init:function(){var t=this,n=t.instance,o=n.group[n.currIndex].opts.slideShow;t.$button=n.$refs.toolbar.find("[data-fancybox-play]").on("click",function(){t.toggle()}),n.group.length<2||!o?t.$button.hide():o.progress&&(t.$progress=e('<div class="fancybox-progress"></div>').appendTo(n.$refs.inner))},set:function(t){var n=this,o=n.instance,i=o.current;i&&(!0===t||i.opts.loop||o.currIndex<o.group.length-1)?n.isActive&&"video"!==i.contentType&&(n.$progress&&e.fancybox.animate(n.$progress.show(),{scaleX:1},i.opts.slideShow.speed),n.timer=setTimeout(function(){o.current.opts.loop||o.current.index!=o.group.length-1?o.next():o.jumpTo(0)},i.opts.slideShow.speed)):(n.stop(),o.idleSecondsCounter=0,o.showControls())},clear:function(){var t=this;clearTimeout(t.timer),t.timer=null,t.$progress&&t.$progress.removeAttr("style").hide()},start:function(){var t=this,e=t.instance.current;e&&(t.$button.attr("title",(e.opts.i18n[e.opts.lang]||e.opts.i18n.en).PLAY_STOP).removeClass("fancybox-button--play").addClass("fancybox-button--pause"),t.isActive=!0,e.isComplete&&t.set(!0),t.instance.trigger("onSlideShowChange",!0))},stop:function(){var t=this,e=t.instance.current;t.clear(),t.$button.attr("title",(e.opts.i18n[e.opts.lang]||e.opts.i18n.en).PLAY_START).removeClass("fancybox-button--pause").addClass("fancybox-button--play"),t.isActive=!1,t.instance.trigger("onSlideShowChange",!1),t.$progress&&t.$progress.removeAttr("style").hide()},toggle:function(){var t=this;t.isActive?t.stop():t.start()}}),e(t).on({"onInit.fb":function(t,e){e&&!e.SlideShow&&(e.SlideShow=new n(e))},"beforeShow.fb":function(t,e,n,o){var i=e&&e.SlideShow;o?i&&n.opts.slideShow.autoStart&&i.start():i&&i.isActive&&i.clear()},"afterShow.fb":function(t,e,n){var o=e&&e.SlideShow;o&&o.isActive&&o.set()},"afterKeydown.fb":function(n,o,i,a,s){var r=o&&o.SlideShow;!r||!i.opts.slideShow||80!==s&&32!==s||e(t.activeElement).is("button,a,input")||(a.preventDefault(),r.toggle())},"beforeClose.fb onDeactivate.fb":function(t,e){var n=e&&e.SlideShow;n&&n.stop()}}),e(t).on("visibilitychange",function(){var n=e.fancybox.getInstance(),o=n&&n.SlideShow;o&&o.isActive&&(t.hidden?o.clear():o.set())})}(document,jQuery),function(t,e){"use strict";var n=function(){for(var e=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],n={},o=0;o<e.length;o++){var i=e[o];if(i&&i[1]in t){for(var a=0;a<i.length;a++)n[e[0][a]]=i[a];return n}}return!1}();if(n){var o={request:function(e){e=e||t.documentElement,e[n.requestFullscreen](e.ALLOW_KEYBOARD_INPUT)},exit:function(){t[n.exitFullscreen]()},toggle:function(e){e=e||t.documentElement,this.isFullscreen()?this.exit():this.request(e)},isFullscreen:function(){return Boolean(t[n.fullscreenElement])},enabled:function(){return Boolean(t[n.fullscreenEnabled])}};e.extend(!0,e.fancybox.defaults,{btnTpl:{fullScreen:'<button data-fancybox-fullscreen class="fancybox-button fancybox-button--fsenter" title="{{FULL_SCREEN}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M7 14H5v5h5v-2H7v-3zm-2-4h2V7h3V5H5v5zm12 7h-3v2h5v-5h-2v3zM14 5v2h3v3h2V5h-5z"/></svg><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M5 16h3v3h2v-5H5zm3-8H5v2h5V5H8zm6 11h2v-3h3v-2h-5zm2-11V5h-2v5h5V8z"/></svg></button>'},fullScreen:{autoStart:!1}}),e(t).on(n.fullscreenchange,function(){var t=o.isFullscreen(),n=e.fancybox.getInstance();n&&(n.current&&"image"===n.current.type&&n.isAnimating&&(n.isAnimating=!1,n.update(!0,!0,0),n.isComplete||n.complete()),n.trigger("onFullscreenChange",t),n.$refs.container.toggleClass("fancybox-is-fullscreen",t),n.$refs.toolbar.find("[data-fancybox-fullscreen]").toggleClass("fancybox-button--fsenter",!t).toggleClass("fancybox-button--fsexit",t))})}e(t).on({"onInit.fb":function(t,e){var i;if(!n)return void e.$refs.toolbar.find("[data-fancybox-fullscreen]").remove();e&&e.group[e.currIndex].opts.fullScreen?(i=e.$refs.container,i.on("click.fb-fullscreen","[data-fancybox-fullscreen]",function(t){t.stopPropagation(),t.preventDefault(),o.toggle()}),e.opts.fullScreen&&!0===e.opts.fullScreen.autoStart&&o.request(),e.FullScreen=o):e&&e.$refs.toolbar.find("[data-fancybox-fullscreen]").hide()},"afterKeydown.fb":function(t,e,n,o,i){e&&e.FullScreen&&70===i&&(o.preventDefault(),e.FullScreen.toggle())},"beforeClose.fb":function(t,e){e&&e.FullScreen&&e.$refs.container.hasClass("fancybox-is-fullscreen")&&o.exit()}})}(document,jQuery),function(t,e){"use strict";var n="fancybox-thumbs";e.fancybox.defaults=e.extend(!0,{btnTpl:{thumbs:'<button data-fancybox-thumbs class="fancybox-button fancybox-button--thumbs" title="{{THUMBS}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M14.59 14.59h3.76v3.76h-3.76v-3.76zm-4.47 0h3.76v3.76h-3.76v-3.76zm-4.47 0h3.76v3.76H5.65v-3.76zm8.94-4.47h3.76v3.76h-3.76v-3.76zm-4.47 0h3.76v3.76h-3.76v-3.76zm-4.47 0h3.76v3.76H5.65v-3.76zm8.94-4.47h3.76v3.76h-3.76V5.65zm-4.47 0h3.76v3.76h-3.76V5.65zm-4.47 0h3.76v3.76H5.65V5.65z"/></svg></button>'},thumbs:{autoStart:!1,hideOnClose:!0,parentEl:".fancybox-container",axis:"y"}},e.fancybox.defaults);var o=function(t){this.init(t)};e.extend(o.prototype,{$button:null,$grid:null,$list:null,isVisible:!1,isActive:!1,init:function(t){var e=this,n=t.group,o=0;e.instance=t,e.opts=n[t.currIndex].opts.thumbs,t.Thumbs=e,e.$button=t.$refs.toolbar.find("[data-fancybox-thumbs]");for(var i=0,a=n.length;i<a&&(n[i].thumb&&o++,!(o>1));i++);o>1&&e.opts?(e.$button.removeAttr("style").on("click",function(){e.toggle()}),e.isActive=!0):e.$button.hide()},create:function(){var t,o=this,i=o.instance,a=o.opts.parentEl,s=[];o.$grid||(o.$grid=e('<div class="'+n+" "+n+"-"+o.opts.axis+'"></div>').appendTo(i.$refs.container.find(a).addBack().filter(a)),o.$grid.on("click","a",function(){i.jumpTo(e(this).attr("data-index"))})),o.$list||(o.$list=e('<div class="'+n+'__list">').appendTo(o.$grid)),e.each(i.group,function(e,n){t=n.thumb,t||"image"!==n.type||(t=n.src),s.push('<a href="javascript:;" tabindex="0" data-index="'+e+'"'+(t&&t.length?' style="background-image:url('+t+')"':'class="fancybox-thumbs-missing"')+"></a>")}),o.$list[0].innerHTML=s.join(""),"x"===o.opts.axis&&o.$list.width(parseInt(o.$grid.css("padding-right"),10)+i.group.length*o.$list.children().eq(0).outerWidth(!0))},focus:function(t){var e,n,o=this,i=o.$list,a=o.$grid;o.instance.current&&(e=i.children().removeClass("fancybox-thumbs-active").filter('[data-index="'+o.instance.current.index+'"]').addClass("fancybox-thumbs-active"),n=e.position(),"y"===o.opts.axis&&(n.top<0||n.top>i.height()-e.outerHeight())?i.stop().animate({scrollTop:i.scrollTop()+n.top},t):"x"===o.opts.axis&&(n.left<a.scrollLeft()||n.left>a.scrollLeft()+(a.width()-e.outerWidth()))&&i.parent().stop().animate({scrollLeft:n.left},t))},update:function(){var t=this;t.instance.$refs.container.toggleClass("fancybox-show-thumbs",this.isVisible),t.isVisible?(t.$grid||t.create(),t.instance.trigger("onThumbsShow"),t.focus(0)):t.$grid&&t.instance.trigger("onThumbsHide"),t.instance.update()},hide:function(){this.isVisible=!1,this.update()},show:function(){this.isVisible=!0,this.update()},toggle:function(){this.isVisible=!this.isVisible,this.update()}}),e(t).on({"onInit.fb":function(t,e){var n;e&&!e.Thumbs&&(n=new o(e),n.isActive&&!0===n.opts.autoStart&&n.show())},"beforeShow.fb":function(t,e,n,o){var i=e&&e.Thumbs;i&&i.isVisible&&i.focus(o?0:250)},"afterKeydown.fb":function(t,e,n,o,i){var a=e&&e.Thumbs;a&&a.isActive&&71===i&&(o.preventDefault(),a.toggle())},"beforeClose.fb":function(t,e){var n=e&&e.Thumbs;n&&n.isVisible&&!1!==n.opts.hideOnClose&&n.$grid.hide()}})}(document,jQuery),function(t,e){"use strict";function n(t){var e={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;","`":"&#x60;","=":"&#x3D;"};return String(t).replace(/[&<>"'`=\/]/g,function(t){return e[t]})}e.extend(!0,e.fancybox.defaults,{btnTpl:{share:'<button data-fancybox-share class="fancybox-button fancybox-button--share" title="{{SHARE}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M2.55 19c1.4-8.4 9.1-9.8 11.9-9.8V5l7 7-7 6.3v-3.5c-2.8 0-10.5 2.1-11.9 4.2z"/></svg></button>'},share:{url:function(t,e){return!t.currentHash&&"inline"!==e.type&&"html"!==e.type&&(e.origSrc||e.src)||window.location},
vendor: 2,332 bytes, line 1524
1524    tpl:'<div class="fancybox-share"><h1>{{SHARE}}</h1><p><a class="fancybox-share__button fancybox-share__button--fb" href="https://www.facebook.com/sharer/sharer.php?u={{url}}"><svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><path d="m287 456v-299c0-21 6-35 35-35h38v-63c-7-1-29-3-55-3-54 0-91 33-91 94v306m143-254h-205v72h196" /></svg><span>Facebook</span></a><a class="fancybox-share__button fancybox-share__button--tw" href="https://twitter.com/intent/tweet?url={{url}}&text={{descr}}"><svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><path d="m456 133c-14 7-31 11-47 13 17-10 30-27 37-46-15 10-34 16-52 20-61-62-157-7-141 75-68-3-129-35-169-85-22 37-11 86 26 109-13 0-26-4-37-9 0 39 28 72 65 80-12 3-25 4-37 2 10 33 41 57 77 57-42 30-77 38-122 34 170 111 378-32 359-208 16-11 30-25 41-42z" /></svg><span>Twitter</span></a><a class="fancybox-share__button fancybox-share__button--pt" href="https://www.pinterest.com/pin/create/button/?url={{url}}&description={{descr}}&media={{media}}"><svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><path d="m265 56c-109 0-164 78-164 144 0 39 15 74 47 87 5 2 10 0 12-5l4-19c2-6 1-8-3-13-9-11-15-25-15-45 0-58 43-110 113-110 62 0 96 38 96 88 0 67-30 122-73 122-24 0-42-19-36-44 6-29 20-60 20-81 0-19-10-35-31-35-25 0-44 26-44 60 0 21 7 36 7 36l-30 125c-8 37-1 83 0 87 0 3 4 4 5 2 2-3 32-39 42-75l16-64c8 16 31 29 56 29 74 0 124-67 124-157 0-69-58-132-146-132z" fill="#fff"/></svg><span>Pinterest</span></a></p><p><input class="fancybox-share__input" type="text" value="{{url_raw}}" onclick="select()" /></p></div>'}}),e(t).on("click","[data-fancybox-share]",function(){var t,o,i=e.fancybox.getInstance(),a=i.current||null;a&&("function"===e.type(a.opts.share.url)&&(t=a.opts.share.url.apply(a,[i,a])),o=a.opts.share.tpl.replace(/\{\{media\}\}/g,"image"===a.type?encodeURIComponent(a.src):"").replace(/\{\{url\}\}/g,encodeURIComponent(t)).replace(/\{\{url_raw\}\}/g,n(t)).replace(/\{\{descr\}\}/g,i.$caption?encodeURIComponent(i.$caption.text()):""),e.fancybox.open({src:i.translate(i,o),type:"html",opts:{touch:!1,animationEffect:!1,afterLoad:function(t,e){i.$refs.container.one("beforeClose.fb",function(){t.close(null,0)}),e.$content.find(".fancybox-share__button").click(function(){return window.open(this.href,"Share","width=550, height=450"),!1})}
1524,mobile:{autoFocus:!1}}}))})}(document,jQuery),function(t,e,n){"use strict";function o(){var e=t.location.hash.substr(1),n=e.split("-"),o=n.length>1&&/^\+?\d+$/.test(n[n.length-1])?parseInt(n.pop(-1),10)||1:1,i=n.join("-");return{hash:e,index:o<1?1:o,gallery:i}}function i(t){""!==t.gallery&&n("[data-fancybox='"+n.escapeSelector(t.gallery)+"']").eq(t.index-1).focus().trigger("click.fb-start")}function a(t){var e,n;return!!t&&(e=t.current?t.current.opts:t.opts,""!==(n=e.hash||(e.$orig?e.$orig.data("fancybox")||e.$orig.data("fancybox-trigger"):""))&&n)}n.escapeSelector||(n.escapeSelector=function(t){return(t+"").replace(/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g,function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t})}),n(function(){!1!==n.fancybox.defaults.hash&&(n(e).on({"onInit.fb":function(t,e){var n,i;!1!==e.group[e.currIndex].opts.hash&&(n=o(),(i=a(e))&&n.gallery&&i==n.gallery&&(e.currIndex=n.index-1))},"beforeShow.fb":function(n,o,i,s){var r;i&&!1!==i.opts.hash&&(r=a(o))&&(o.currentHash=r+(o.group.length>1?"-"+(i.index+1):""),t.location.hash!=="#"+o.currentHash&&(s&&!o.origHash&&(o.origHash=t.location.hash),o.hashTimer&&clearTimeout(o.hashTimer),o.hashTimer=setTimeout(function(){"replaceState"in t.history?(t.history[s?"pushState":"replaceState"]({},e.title,t.location.pathname+t.location.search+"#"+o.currentHash),s&&(o.hasCreatedHistory=!0)):t.location.hash=o.currentHash,o.hashTimer=null},300)))},"beforeClose.fb":function(n,o,i){i&&!1!==i.opts.hash&&(clearTimeout(o.hashTimer),o.currentHash&&o.hasCreatedHistory?t.history.back():o.currentHash&&("replaceState"in t.history?t.history.replaceState({},e.title,t.location.pathname+t.location.search+(o.origHash||"")):t.location.hash=o.origHash),o.currentHash=null)}}),n(t).on("hashchange.fb",function(){var t=o(),e=null;n.each(n(".fancybox-container").get().reverse(),function(t,o){var i=n(o).data("FancyBox");if(i&&i.currentHash)return e=i,!1}),e?e.currentHash===t.gallery+"-"+t.index||1===t.index&&e.currentHash==t.gallery||(e.currentHash=null,e.close()):""!==t.gallery&&i(t)}),setTimeout(function(){n.fancybox.getInstance()||i(o())},50))})}(window,document,jQuery),function(t,e){"use strict";var n=(new Date).getTime();e(t).on({"onInit.fb":function(t,e,o){e.$refs.stage.on("mousewheel DOMMouseScroll wheel MozMousePixelScroll",function(t){var o=e.current,i=(new Date).getTime();e.group.length<2||!1===o.opts.wheel||"auto"===o.opts.wheel&&"image"!==o.type||(t.preventDefault(),t.stopPropagation(),o.$slide.hasClass("fancybox-animated")||(t=t.originalEvent||t,i-n<250||(n=i,e[(-t.deltaY||-t.deltaX||t.wheelDelta||-t.detail)<0?"next":"previous"]())))})}})}(document,jQuery);
1525// source --> https://www.gehlebt.at/wp-content/plugins/colibri-page-builder/extend-builder/assets/static/js/theme.js?ver=1.0.377 
1526!function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/",n(n.s="__colibri_1367")}({__colibri_1091:function(t,e,n){"use strict";function i(t){return function(e,n,i){if(!t[e])if(t.mixin){var r={};r[e]=n,void 0===i&&(i=!0),t.mixin(r,{chain:i})}else t[e]=n;return t}}var r=/^\d+$/,o=/^[a-zA-Z_$]+([\w_$]*)$/;function a(t){return function(e){return t.isString(e)?e:t.isArray(e)?t.reduce(e,function(t,e){return r.test(e)?t+"["+e+"]":o.test(e)?t+(t?".":"")+e:t+'["'+e.toString().replace(/"/g,'\\"')+'"]'},""):void 0}}function s(t){var e=function(t){var e=a(t),n=function(t){return function(e,n){return t.some(n,function(n){var i=t.get(e,n);return!t.isEmpty(i)})}}(t),i=t.each||t.forArray;return function r(o,a,s,c,u,l,f,h,p,d){var _,v={value:o,key:c,path:"array"==s.pathFormat?u:e(u),parent:f},m=h.concat(v),g=void 0,b=void 0,y=void 0;s.checkCircular&&(t.isObject(o)&&!t.isEmpty(o)?y=h[b=t.findIndex(h,function(t){return t.value===o})]||null:(b=-1,y=null),g=-1!==b);var w=(l||s.includeRoot)&&(!s.leavesOnly||!t.isObject(o)||t.isEmpty(o)||g||void 0!==s.childrenPath&&!n(o,s.childrenPath));if(w){var O={path:"array"==s.pathFormat?u:e(u),parent:f,parents:h,obj:p,depth:l,isCircular:g,circularParent:y,circularParentIndex:b};void 0!==s.childrenPath&&(v.childrenPath="array"==s.pathFormat?d:e(d),O.childrenPath=v.childrenPath),_=a(o,c,f&&f.value,O)}function C(e,n){e&&t.isObject(e)&&t.forOwn(e,function(t,e){var i=(u||[]).concat(n||[],[e]);r(t,a,s,e,i,l+1,v,m,p,n)})}!1!==_&&!g&&t.isObject(o)&&(void 0!==s.childrenPath?!l&&s.rootIsChildren?C(o,void 0):i(s.childrenPath,function(e){C(t.get(o,e),e)}):t.forOwn(o,function(e,n){if(!t.isArray(o)||void 0!==e||n in o){var i=(u||[]).concat([n]);r(e,a,s,n,i,l+1,v,m,p)}})),s.callbackAfterIterate&&w&&(O.afterIterate=!0,a(o,c,f&&f.value,O))}}(t);return function(n,i,r){if(void 0===i&&(i=t.identity),void 0!==(r=t.merge({includeRoot:!t.isArray(n),pathFormat:"string",checkCircular:!1,leavesOnly:!1},r||{})).childrenPath){if(r.includeRoot||void 0!==r.rootIsChildren||(r.rootIsChildren=t.isArray(n)),!t.isString(r.childrenPath)&&!t.isArray(r.childrenPath))throw Error("childrenPath can be string or array");t.isString(r.childrenPath)&&(r.childrenPath=[r.childrenPath]);for(var o=r.childrenPath.length-1;o>=0;o--)r.childrenPath[o]=t.toPath(r.childrenPath[o])}return e(n,i,r,void 0,void 0,0,void 0,[],n),n}}function c(t){return i(t)("index",function(t){var e=s(t);return function(n,i){i&&void 0!==i.leafsOnly&&(i.leavesOnly=i.leafsOnly);var r={pathFormat:"string",checkCircular:(i=t.merge({checkCircular:!1,includeCircularPath:!0,leavesOnly:!i||void 0===i.childrenPath},i||{})).checkCircular,includeRoot:i.includeRoot,childrenPath:i.childrenPath,rootIsChildren:i.rootIsChildren,leavesOnly:i.leavesOnly},o={};return e(n,function(t,e,n,r){r.isCircular&&!i.includeCircularPath||void 0!==r.path&&(o[r.path]=t)},r),o}}(t))}function u(t){var e=s(t);return function(n,i){i&&void 0!==i.leafsOnly&&(i.leavesOnly=i.leafsOnly);var r={pathFormat:(i=t.merge({checkCircular:!1,includeCircularPath:!0,leavesOnly:!i||void 0===i.childrenPath,pathFormat:"string"},i||{})).pathFormat,checkCircular:i.checkCircular,includeRoot:i.includeRoot,childrenPath:i.childrenPath,rootIsChildren:i.rootIsChildren,leavesOnly:i.leavesOnly},o=[];return e(n,function(t,e,n,r){r.isCircular&&!i.includeCircularPath||void 0!==r.path&&o.push(r.path)},r),o}}function l(t){return function(e,n){var i=(n=t.isArray(n)?t.clone(n):t.toPath(n)).pop(),r=n.length?t.get(e,n):e;return void 0!==r&&i in r}}function f(t){return function(t){for(var e=[],n=0;n<t.length;n++)n in t||e.push(n);for(var i=e.length;i--;)t.splice(e[i],1);return t}}
1526function h(t){var e=s(t),n=f(),i=t.each||t.forArray;return function(r,o){var a={checkCircular:(o=t.merge({checkCircular:!1},o||{})).checkCircular},s=[];return e(r,function(e,n,i,r){!r.isCircular&&t.isArray(e)&&s.push(e)},a),t.isArray(r)&&s.push(r),i(s,n),r}}function p(t){return function(e,n){return void 0===n?e:t.get(e,n)}}function d(t){var e=s(t),n=a(t),i=p(t),r=h(t),o=l(t);return function(a,s,c){s=t.iteratee(s),c&&void 0!==c.leafsOnly&&(c.leavesOnly=c.leafsOnly),c||(c={}),c.onTrue||(c.onTrue={}),c.onFalse||(c.onFalse={}),c.onUndefined||(c.onUndefined={}),void 0!==c.childrenPath&&(void 0===c.onTrue.skipChildren&&(c.onTrue.skipChildren=!1),void 0===c.onUndefined.skipChildren&&(c.onUndefined.skipChildren=!1),void 0===c.onFalse.skipChildren&&(c.onFalse.skipChildren=!1),void 0===c.onTrue.cloneDeep&&(c.onTrue.cloneDeep=!0),void 0===c.onUndefined.cloneDeep&&(c.onUndefined.cloneDeep=!0),void 0===c.onFalse.cloneDeep&&(c.onFalse.cloneDeep=!0));var u,l={pathFormat:(c=t.merge({checkCircular:!1,keepCircular:!0,leavesOnly:void 0===c.childrenPath,condense:!0,cloneDeep:t.cloneDeep,pathFormat:"string",onTrue:{skipChildren:!0,cloneDeep:!0,keepIfEmpty:!0},onUndefined:{skipChildren:!1,cloneDeep:!1,keepIfEmpty:!1},onFalse:{skipChildren:!0,cloneDeep:!1,keepIfEmpty:!1}},c)).pathFormat,checkCircular:c.checkCircular,childrenPath:c.childrenPath,includeRoot:c.includeRoot,callbackAfterIterate:!0,leavesOnly:c.leavesOnly},f=t.isArray(a)?[]:t.isObject(a)?{}:null,h={},p=[];return e(a,function(e,i,r,o){var a,l=n(o.path);if(!o.afterIterate)return o.isCircular?(t.unset(f,o.path),c.keepCircular&&p.push([o.path,o.circularParent.path]),!1):(a=s(e,i,r,o),t.isObject(a)||(a=void 0===a?t.clone(c.onUndefined):a?t.clone(c.onTrue):t.clone(c.onFalse)),void 0===a.empty&&(a.empty=!0),void 0!==l?(h[l]=a,t.eachRight(o.parents,function(t){var e=n(t.path);if(void 0===e||h[e])return!1;h[e]={skipChildren:!1,cloneDeep:!1,keepIfEmpty:!1,empty:a.empty}}),u||(u={skipChildren:!1,cloneDeep:!1,keepIfEmpty:!1,empty:a.empty})):u=a,!a.keepIfEmpty&&a.skipChildren||(c.cloneDeep&&a.cloneDeep?void 0!==o.path?t.set(f,o.path,c.cloneDeep(e)):f=c.cloneDeep(e):void 0!==o.path?t.set(f,o.path,t.isArray(e)?[]:t.isPlainObject(e)?{}:e):f=t.isArray(e)?[]:t.isPlainObject(e)?{}:e),!a.skipChildren);!o.afterIterate||o.isCircular||(void 0===l&&u.empty&&!u.keepIfEmpty?f=null:void 0!==l&&h[l].empty&&!h[l].keepIfEmpty?t.unset(f,o.path):(t.eachRight(o.parents,function(t){var e=n(t.path);if(void 0===e||!h[e].empty)return!1;h[e].empty=!1}),u.empty=!1))},l),u&&u.empty&&!u.keepIfEmpty?f=null:t.each(h,function(e,n){e.empty&&!e.keepIfEmpty&&t.unset(f,n)}),t.each(p,function(e){var n;(void 0===e[1]||o(f,e[1]))&&(n=t.has(c,"replaceCircularBy")?c.replaceCircularBy:i(f,e[1]),t.set(f,e[0],n))}),c.condense&&(f=r(f,{checkCircular:c.checkCircular})),!t.isArray(f)||f.length||l.includeRoot?f:null}}function _(t){var e=a(t);return function(n,i){var r,o;t.isString(n)?r=n:o=n,t.isArray(i)||(i=[i]);for(var a=0;a<i.length;a++)if(t.isString(i[a])&&(i[a]=t.toPath(i[a])),t.isArray(i[a])){if(void 0===o&&(o=t.toPath(r)),o.length>=i[a].length&&t.isEqual(t.takeRight(o,i[a].length),i[a]))return i[a]}else{if(!(i[a]instanceof RegExp))throw new Error("To match path use only string/regex or array of them.");if(void 0===r&&(r=e(n)),i[a].test(r))return i[a]}return!1}}function v(t){var e=_(t),n=d(t);return function(i,r,o){var a=!(o=t.merge({invert:!1},o||{})).invert;return(o=t.merge({onMatch:{cloneDeep:!1,skipChildren:!1,keepIfEmpty:!a},onNotMatch:{cloneDeep:!1,skipChildren:!1,keepIfEmpty:a}},o)).leavesOnly=!1,o.childrenPath=void 0,o.includeRoot=void 0,o.pathFormat="array",o.onTrue=o.invert?o.onMatch:o.onNotMatch,o.onFalse=o.invert?o.onNotMatch:o.onMatch,n(i,function(t,n,i,a){return!1!==e(a.path,r)?o.invert:!o.invert},o)}}function m(t){return i(t)("pickDeep",function(t){var e=v(t);return function(n,i,r){return(r=t.merge({invert:!1},r||{})).invert=!0,e(n,i,r)}}(t))}function g(t){return i(t)("reduceDeep",function(t){var e=s(t);return function(n,i,r,o){i=t.iteratee(i);var a=void 0!==r;return e(n,function(t,e,n,o){a?r=i(r,t,e,n,o):(r=t,a=!0)},o),r}}(t))}function b(t){return i(t)("mapDeep",function(t){var e=s(t);return function(n,i,r){i=t.iteratee(i);var o=t.isArray(n)?[]:t.isObject(n)?{}:t.clone(n);return e(n,function(e,n,r,a){var s=i(e,n,r,a);void 0===n?o=s:t.set(o,a.path,s)},r),o}}(t))}function y(t){return function(t){i(t)("pathToString",a(t),!1)}(t),function(t){i(t)("eachDeep",s(t))}
1526(t),function(t){i(t)("forEachDeep",s(t))}(t),c(t),function(t){i(t)("paths",u(t))}(t),function(t){i(t)("keysDeep",u(t))}(t),function(t){i(t)("exists",l(t),!1)}(t),function(t){i(t)("condense",f())}(t),function(t){i(t)("condenseDeep",h(t))}(t),function(t){i(t)("filterDeep",d(t))}(t),function(t){i(t)("omitDeep",v(t))}(t),m(t),function(t){i(t)("obtain",p(t),!0)}(t),function(t){i(t)("pathMatches",_(t),!1)}(t),g(t),b(t),t}n.d(e,"a",function(){return y})},__colibri_1115:function(t,e,n){e.f=n("__colibri_874")},__colibri_1116:function(t,e){},__colibri_1117:function(t,e){e.f=Object.getOwnPropertySymbols},__colibri_1118:function(t,e,n){"use strict";var i=n("__colibri_1731")(!0);n("__colibri_1177")(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=i(e,n),this._i+=t.length,{value:t,done:!1})})},__colibri_1119:function(t,e,n){var i=n("__colibri_895"),r=n("__colibri_1254"),o=n("__colibri_1147"),a=n("__colibri_1149")("IE_PROTO"),s=function(){},c=function(){var t,e=n("__colibri_1176")("iframe"),i=o.length;for(e.style.display="none",n("__colibri_1253").appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),c=t.F;i--;)delete c.prototype[o[i]];return c()};t.exports=Object.create||function(t,e){var n;return null!==t?(s.prototype=i(t),n=new s,s.prototype=null,n[a]=t):n=c(),void 0===e?n:r(n,e)}},__colibri_1120:function(t,e){t.exports=!0},__colibri_1121:function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},__colibri_1122:function(t,e,n){n("__colibri_1736");for(var i=n("__colibri_854"),r=n("__colibri_915"),o=n("__colibri_992"),a=n("__colibri_874")("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),c=0;c<s.length;c++){var u=s[c],l=i[u],f=l&&l.prototype;f&&!f[a]&&r(f,a,u),o[u]=o.Array}},__colibri_1124:function(t,e,n){"use strict";e.a={svgFancyTitle:{circle:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 500 150" preserveAspectRatio="none"><path d="M325,18C228.7-8.3,118.5,8.3,78,21C22.4,38.4,4.6,54.6,5.6,77.6c1.4,32.4,52.2,54,142.6,63.7 c66.2,7.1,212.2,7.5,273.5-8.3c64.4-16.6,104.3-57.6,33.8-98.2C386.7-4.9,179.4-1.4,126.3,20.7"/></svg>',curly:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 500 150" preserveAspectRatio="none"><path d="M3,146.1c17.1-8.8,33.5-17.8,51.4-17.8c15.6,0,17.1,18.1,30.2,18.1c22.9,0,36-18.6,53.9-18.6 c17.1,0,21.3,18.5,37.5,18.5c21.3,0,31.8-18.6,49-18.6c22.1,0,18.8,18.8,36.8,18.8c18.8,0,37.5-18.6,49-18.6c20.4,0,17.1,19,36.8,19 c22.9,0,36.8-20.6,54.7-18.6c17.7,1.4,7.1,19.5,33.5,18.8c17.1,0,47.2-6.5,61.1-15.6"></path></svg>',underline:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 500 150" preserveAspectRatio="none"><path d="M7.7,145.6C109,125,299.9,116.2,401,121.3c42.1,2.2,87.6,11.8,87.3,25.7"></path></svg>',double:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 500 150" preserveAspectRatio="none"><path d="M8.4,143.1c14.2-8,97.6-8.8,200.6-9.2c122.3-0.4,287.5,7.2,287.5,7.2"></path><path d="M8,19.4c72.3-5.3,162-7.8,216-7.8c54,0,136.2,0,267,7.8"></path></svg>',"double-underline":'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 500 150" preserveAspectRatio="none"><path d="M5,125.4c30.5-3.8,137.9-7.6,177.3-7.6c117.2,0,252.2,4.7,312.7,7.6"></path><path d="M26.9,143.8c55.1-6.1,126-6.3,162.2-6.1c46.5,0.2,203.9,3.2,268.9,6.4"></path></svg>',"underline-zigzag":'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 500 150" preserveAspectRatio="none"><path d="M9.3,127.3c49.3-3,150.7-7.6,199.7-7.4c121.9,0.4,189.9,0.4,282.3,7.2C380.1,129.6,181.2,130.6,70,139 c82.6-2.9,254.2-1,335.9,1.3c-56,1.4-137.2-0.3-197.1,9"></path></svg>',diagonal:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 500 150" preserveAspectRatio="none"><path d="M13.5,15.5c131,13.7,289.3,55.5,475,125.5"></path></svg>',strikethrough:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 500 150" preserveAspectRatio="none"><path d="M3,75h493.5"></path></svg>',x:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 500 150" preserveAspectRatio="none"><path d="M497.4,23.9C301.6,40,155.9,80.6,4,144.4"></path><path d="M14.1,27.6c204.5,20.3,393.8,74,467.3,111.7"></path></svg>'}}},__colibri_1145:function(t,e,n){var i=n("__colibri_854"),r=n("__colibri_822"),o=n("__colibri_1120"),a=n("__colibri_1115"),s=n("__colibri_887").f;
1526t.exports=function(t){var e=r.Symbol||(r.Symbol=o?{}:i.Symbol||{});"_"==t.charAt(0)||t in e||s(e,t,{value:a.f(t)})}},__colibri_1146:function(t,e,n){var i=n("__colibri_956"),r=n("__colibri_969"),o=n("__colibri_901"),a=n("__colibri_1151"),s=n("__colibri_912"),c=n("__colibri_1222"),u=Object.getOwnPropertyDescriptor;e.f=n("__colibri_886")?u:function(t,e){if(t=o(t),e=a(e,!0),c)try{return u(t,e)}catch(t){}if(s(t,e))return r(!i.f.call(t,e),t[e])}},__colibri_1147:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},__colibri_1148:function(t,e,n){var i=n("__colibri_854"),r=i["__core-js_shared__"]||(i["__core-js_shared__"]={});t.exports=function(t){return r[t]||(r[t]={})}},__colibri_1149:function(t,e,n){var i=n("__colibri_1148")("keys"),r=n("__colibri_990");t.exports=function(t){return i[t]||(i[t]=r(t))}},__colibri_1150:function(t,e){var n=Math.ceil,i=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?i:n)(t)}},__colibri_1151:function(t,e,n){var i=n("__colibri_861");t.exports=function(t,e){if(!i(t))return t;var n,r;if(e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t)))return r;if("function"==typeof(n=t.valueOf)&&!i(r=n.call(t)))return r;if(!e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t)))return r;throw TypeError("Can't convert object to primitive value")}},__colibri_1152:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},__colibri_1171:function(t,e){t.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"},__colibri_1172:function(t,e,n){var i=n("__colibri_1221"),r=n("__colibri_1147").concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return i(t,r)}},__colibri_1174:function(t,e,n){var i=n("__colibri_1150"),r=Math.min;t.exports=function(t){return t>0?r(i(t),9007199254740991):0}},__colibri_1175:function(t,e,n){t.exports=n("__colibri_915")},__colibri_1176:function(t,e,n){var i=n("__colibri_861"),r=n("__colibri_854").document,o=i(r)&&i(r.createElement);t.exports=function(t){return o?r.createElement(t):{}}},__colibri_1177:function(t,e,n){"use strict";var i=n("__colibri_1120"),r=n("__colibri_840"),o=n("__colibri_1175"),a=n("__colibri_915"),s=n("__colibri_912"),c=n("__colibri_992"),u=n("__colibri_1734"),l=n("__colibri_989"),f=n("__colibri_1220"),h=n("__colibri_874")("iterator"),p=!([].keys&&"next"in[].keys()),d=function(){return this};t.exports=function(t,e,n,_,v,m,g){u(n,e,_);var b,y,w,O=function(t){if(!p&&t in A)return A[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},C=e+" Iterator",E="values"==v,S=!1,A=t.prototype,I=A[h]||A["@@iterator"]||v&&A[v],x=!p&&I||O(v),T=v?E?O("entries"):x:void 0,k="Array"==e&&A.entries||I;if(k&&(w=f(k.call(new t)))!==Object.prototype&&w.next&&(l(w,C,!0),i||s(w,h)||a(w,h,d)),E&&I&&"values"!==I.name&&(S=!0,x=function(){return I.call(this)}),i&&!g||!p&&!S&&A[h]||a(A,h,x),c[e]=x,c[C]=d,v)if(b={values:E?x:O("values"),keys:m?x:O("keys"),entries:T},g)for(y in b)y in A||o(A,y,b[y]);else r(r.P+r.F*(p||S),e,b);return b}},__colibri_1178:function(t,e,n){var i=n("__colibri_1121");t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==i(t)?t.split(""):Object(t)}},__colibri_1213:function(t,e){var n,i,r=document.attachEvent,o=!1;function a(t){var e=t.__resizeTriggers__,n=e.firstElementChild,i=e.lastElementChild,r=n.firstElementChild;i.scrollLeft=i.scrollWidth,i.scrollTop=i.scrollHeight,r.style.width=n.offsetWidth+1+"px",r.style.height=n.offsetHeight+1+"px",n.scrollLeft=n.scrollWidth,n.scrollTop=n.scrollHeight}function s(t){var e=this;a(this),this.__resizeRAF__&&u(this.__resizeRAF__),this.__resizeRAF__=c(function(){(function(t){return t.offsetWidth!=t.__resizeLast__.width||t.offsetHeight!=t.__resizeLast__.height})(e)&&(e.__resizeLast__.width=e.offsetWidth,e.__resizeLast__.height=e.offsetHeight,e.__resizeListeners__.forEach(function(n){n.call(e,t)}))})}if(!r){var c=(i=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||function(t){return window.setTimeout(t,20)},function(t){return i(t)}),u=(n=window.cancelAnimationFrame||window.mozCancelAnimationFrame||window.webkitCancelAnimationFrame||window.clearTimeout,function(t){return n(t)}),l=!1,f="",h="animationstart",p="Webkit Moz O ms".split(" "),d="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),_="",v=document.createElement("fakeelement");
1526if(void 0!==v.style.animationName&&(l=!0),!1===l)for(var m=0;m<p.length;m++)if(void 0!==v.style[p[m]+"AnimationName"]){(_=p[m])+"Animation",f="-"+_.toLowerCase()+"-",h=d[m],l=!0;break}var g="resizeanim",b="@"+f+"keyframes "+g+" { from { opacity: 0; } to { opacity: 0; } } ",y=f+"animation: 1ms "+g+"; "}window.addResizeListener=function(t,e){r?t.attachEvent("onresize",e):(t.__resizeTriggers__||("static"==getComputedStyle(t).position&&(t.style.position="relative"),function(){if(!o){var t=(b||"")+".resize-triggers { "+(y||"")+'visibility: hidden; opacity: 0; } .resize-triggers, .resize-triggers > div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',e=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css",n.styleSheet?n.styleSheet.cssText=t:n.appendChild(document.createTextNode(t)),e.appendChild(n),o=!0}}(),t.__resizeLast__={},t.__resizeListeners__=[],(t.__resizeTriggers__=document.createElement("div")).className="resize-triggers",t.__resizeTriggers__.innerHTML='<div class="expand-trigger"><div></div></div><div class="contract-trigger"></div>',t.appendChild(t.__resizeTriggers__),a(t),t.addEventListener("scroll",s,!0),h&&t.__resizeTriggers__.addEventListener(h,function(e){e.animationName==g&&a(t)})),t.__resizeListeners__.push(e))},window.removeResizeListener=function(t,e){if(r)t.detachEvent("onresize",e);else{if(!(t&&t.__resizeListeners__&&t.__resizeTriggers__))return;t.__resizeListeners__.splice(t.__resizeListeners__.indexOf(e),1),t.__resizeListeners__.length||(t.removeEventListener("scroll",s),t.__resizeTriggers__=!t.removeChild(t.__resizeTriggers__))}}},__colibri_1219:function(t,e,n){var i=n("__colibri_901"),r=n("__colibri_1172").f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return a&&"[object Window]"==o.call(t)?function(t){try{return r(t)}catch(t){return a.slice()}}(t):r(i(t))}},__colibri_1220:function(t,e,n){var i=n("__colibri_912"),r=n("__colibri_957"),o=n("__colibri_1149")("IE_PROTO"),a=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=r(t),i(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},__colibri_1221:function(t,e,n){var i=n("__colibri_912"),r=n("__colibri_901"),o=n("__colibri_1733")(!1),a=n("__colibri_1149")("IE_PROTO");t.exports=function(t,e){var n,s=r(t),c=0,u=[];for(n in s)n!=a&&i(s,n)&&u.push(n);for(;e.length>c;)i(s,n=e[c++])&&(~o(u,n)||u.push(n));return u}},__colibri_1222:function(t,e,n){t.exports=!n("__colibri_886")&&!n("__colibri_900")(function(){return 7!=Object.defineProperty(n("__colibri_1176")("div"),"a",{get:function(){return 7}}).a})},__colibri_1236:function(t,e){t.exports=r,t.exports.isMobile=r;var n=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series[46]0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i,i=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series[46]0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino|android|ipad|playbook|silk/i;function r(t){t||(t={});var e=t.ua;return e||"undefined"==typeof navigator||(e=navigator.userAgent),e&&e.headers&&"string"==typeof e.headers["user-agent"]&&(e=e.headers["user-agent"]),"string"==typeof e&&(t.tablet?i.test(e):n.test(e))}},__colibri_1237:function(t,e,n){(function(e){var n="Expected a function",i=NaN,r="[object Symbol]",o=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,c=/^0o[0-7]+$/i,u=parseInt,l="object"==typeof e&&e&&e.Object===Object&&e,f
1526="object"==typeof self&&self&&self.Object===Object&&self,h=l||f||Function("return this")(),p=Object.prototype.toString,d=Math.max,_=Math.min,v=function(){return h.Date.now()};function m(t,e,i){var r,o,a,s,c,u,l=0,f=!1,h=!1,p=!0;if("function"!=typeof t)throw new TypeError(n);function m(e){var n=r,i=o;return r=o=void 0,l=e,s=t.apply(i,n)}function y(t){var n=t-u;return void 0===u||n>=e||n<0||h&&t-l>=a}function w(){var t=v();if(y(t))return O(t);c=setTimeout(w,function(t){var n=e-(t-u);return h?_(n,a-(t-l)):n}(t))}function O(t){return c=void 0,p&&r?m(t):(r=o=void 0,s)}function C(){var t=v(),n=y(t);if(r=arguments,o=this,u=t,n){if(void 0===c)return function(t){return l=t,c=setTimeout(w,e),f?m(t):s}(u);if(h)return c=setTimeout(w,e),m(u)}return void 0===c&&(c=setTimeout(w,e)),s}return e=b(e)||0,g(i)&&(f=!!i.leading,a=(h="maxWait"in i)?d(b(i.maxWait)||0,e):a,p="trailing"in i?!!i.trailing:p),C.cancel=function(){void 0!==c&&clearTimeout(c),l=0,r=u=o=c=void 0},C.flush=function(){return void 0===c?s:O(v())},C}function g(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function b(t){if("number"==typeof t)return t;if(function(t){return"symbol"==typeof t||function(t){return!!t&&"object"==typeof t}(t)&&p.call(t)==r}(t))return i;if(g(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=g(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(o,"");var n=s.test(t);return n||c.test(t)?u(t.slice(2),n?2:8):a.test(t)?i:+t}t.exports=function(t,e,i){var r=!0,o=!0;if("function"!=typeof t)throw new TypeError(n);return g(i)&&(r="leading"in i?!!i.leading:r,o="trailing"in i?!!i.trailing:o),m(t,e,{leading:r,maxWait:e,trailing:o})}}).call(this,n("__colibri_879"))},__colibri_1248:function(t,e,n){var i=n("__colibri_840"),r=n("__colibri_991"),o=n("__colibri_900"),a=n("__colibri_1171"),s="["+a+"]",c=RegExp("^"+s+s+"*"),u=RegExp(s+s+"*$"),l=function(t,e,n){var r={},s=o(function(){return!!a[t]()||"​…"!="​…"[t]()}),c=r[t]=s?e(f):a[t];n&&(r[n]=c),i(i.P+i.F*s,"String",r)},f=l.trim=function(t,e){return t=String(r(t)),1&e&&(t=t.replace(c,"")),2&e&&(t=t.replace(u,"")),t};t.exports=l},__colibri_1249:function(t,e,n){var i=n("__colibri_1121");t.exports=Array.isArray||function(t){return"Array"==i(t)}},__colibri_1252:function(t,e,n){"use strict";var i=n("__colibri_934"),r=n("__colibri_1117"),o=n("__colibri_956"),a=n("__colibri_957"),s=n("__colibri_1178"),c=Object.assign;t.exports=!c||n("__colibri_900")(function(){var t={},e={},n=Symbol(),i="abcdefghijklmnopqrst";return t[n]=7,i.split("").forEach(function(t){e[t]=t}),7!=c({},t)[n]||Object.keys(c({},e)).join("")!=i})?function(t,e){for(var n=a(t),c=arguments.length,u=1,l=r.f,f=o.f;c>u;)for(var h,p=s(arguments[u++]),d=l?i(p).concat(l(p)):i(p),_=d.length,v=0;_>v;)f.call(p,h=d[v++])&&(n[h]=p[h]);return n}:c},__colibri_1253:function(t,e,n){var i=n("__colibri_854").document;t.exports=i&&i.documentElement},__colibri_1254:function(t,e,n){var i=n("__colibri_887"),r=n("__colibri_895"),o=n("__colibri_934");t.exports=n("__colibri_886")?Object.defineProperties:function(t,e){r(t);for(var n,a=o(e),s=a.length,c=0;s>c;)i.f(t,n=a[c++],e[n]);return t}},__colibri_1255:function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},__colibri_1367:function(t,e,n){"use strict";n.r(e);n("__colibri_1534"),n("__colibri_1532");var i,r=n("__colibri_919"),o=n.n(r);(i=window.jQuery).throttle||(i.throttle=function(t,e,n){var i,r;return e||(e=250),function(){var o=n||this,a=+new Date,s=arguments;i&&a<i+e?(clearTimeout(r),r=setTimeout(function(){i=a,t.apply(o,s)},e)):(i=a,t.apply(o,s))}}),i.debounce||(i.debounce=o.a),i.event.special.tap||(i.event.special.tap={setup:function(t,e){i(this).bind("touchstart",i.event.special.tap.handler).bind("touchmove",i.event.special.tap.handler).bind("touchend",i.event.special.tap.handler)},teardown:function(t){i(this).unbind("touchstart",i.event.special.tap.handler).unbind("touchmove",i.event.special.tap.handler).unbind("touchend",i.event.special.tap.handler)},handler:function(t){var e,n=i(this),r=t.handleObj;return n.data(t.type,1),"touchend"!==t.type||n.data("touchmove")?n.data("touchend")&&n.removeData("touchstart touchmove touchend"):(t.type="tap",e=r.handler.call(this,t)),e}}),i.fn.respondToVisibility||(i.fn.respondToVisibility=function(t){if(!("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype))return null;var e=new IntersectionObserver(function(e,n){e.forEach(function(e){t(e.intersectionRatio>0)})});return e.observe(this.get(0)),e});n("__colibri_1213");var a=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=n.compareQuery,r=void 0!==i&&i,o=n.compareHash,a=void 0!==o&&o;if(!t||!e)return!0;var s=null,c=null;try{s=new URL(t),c=new URL(e)}catch(t){return!1}var u=s.origin===c.origin&&s.pathname===c.pathname;return r&&(u=u&&s.search===c.search),a&&(u=u&&s.hash===c.hash),u};!function(t){function e(){return Colibri.isCustomizerPreview()}"#page-top"===window.location.hash&&o("",5);var n={items:{},eachCategory:function(t){for(var e in this.items)this.items.hasOwnProperty(e)&&t(this.items[e])},addItem:function(t,e){this.items[t]||(this.items[t]=[]),this.items[t].push(e)},all:function(){var t=[];for(var e in this.items)this.items.hasOwnProperty(e)&&(t=t.concat(this.items[e]));return t}},i=!1;function r(e){var n=isNaN(parseFloat(e.options.offset))?e.options.offset.call(e.target):e.options.offset;return e.target.offset().top-n-t("body").offset().top}function o(t,e){t===location.hash.replace("#","")||"page-top"===t&&""===location.hash.replace("#","")||setTimeout(function(){t=t?"page-top"===t?" ":"#"+t:" ",history&&history.replaceState&&history.replaceState({},"",t)},e||100)}function s(e){if(!i){i=!0;var n=r(e);t("html, body").animate({scrollTop:n},{easing:"linear",complete:function(){var n=r(e);t("html, body").animate({scrollTop:n},{easing:"linear",duration:100,complete:function(){i=!1,o(e.id,5)}})}})}}function c(e){var n=(e.attr("href")||"").split("#").pop(),i=function(t){var e=jQuery(t)[0].href||"",n="#";try{var i=new window.URL(e);n=[i.protocol,"//",i.host,i.pathname].join("")}catch(t){n=function(t){return t.split("?")[0].split("#")[0]}(e)}return n}(e),r=null,o=[location.protocol,"//",location.host,location.pathname].join("");if(i.length&&i!==o)return r;if(n.trim().length)try{r=t('[id="'+n+'"]')}catch(t){console.log("error scrollSpy",t)}return r&&r.length?r:null}function u(){n.eachCategory(function(t){var e=t.sort(function(t,e){return t.target.offset().top-e.target.offset().top}),n=e.filter(function(t){var e=void 0!==window.pageYOffset?window.pageYOffset:(document.documentElement||document.body.parentNode||document.body).scrollTop;return t.target.offset().top<=e+.25*window.innerHeight}).pop();e.forEach(function(t){n&&t.element.is(n.element)?(o(t.id,5),t.options.onChange.call(t.element)):t.options.onLeave.call(t.element)})})}function l(){var e=window.location.hash.replace("#",""),i=n.all().filter(function(t){return t.targetSel==='[id="'+decodeURIComponent(e).trim()+'"]'});t(window).on("load",function(){i.length&&s(i[0]),u()})}t.fn.smoothScrollAnchor=function(n){if(!e()){var i=t(this);n=jQuery.extend({offset:function(){var e=t(".h-navigation_sticky");return e.length?e[0].getBoundingClientRect().height:0}},n),i.each(function(){var e=t(this);if(n.target||a(document.location.href,this.href)){var i=n.target||c(e);if(i&&i.length&&!i.attr("skip-smooth-scroll")){var r=i.attr("id"),o=null;r&&(o='[id="'+r.trim()+'"]');var u={element:e,options:n,target:i,targetSel:n.targetSel||o,id:(i.attr("id")||"").trim()};e.off("click.smooth-scroll tap.smooth-scroll").on("click.smooth-scroll tap.smooth-scroll",function(e){t(this).data("skip-smooth-scroll")||t(e.target).data("skip-smooth-scroll")||(e.preventDefault(),t(this).data("allow-propagation")||e.stopPropagation(),s(u),u.options.clickCallback&&u.o
1526ptions.clickCallback.call(this,e))})}}})}},t.fn.scrollSpy=function(i){if(!e()){var r=t(this),o="spy-"+parseInt(Date.now()*Math.random());r.each(function(){var e=t(this),r=jQuery.extend({onChange:function(){},onLeave:function(){},clickCallback:function(){},smoothScrollAnchor:!1,offset:0},i);if(e.is("a")&&-1!==(e.attr("href")||"").indexOf("#")){var a=c(e);if(a&&!a.attr("skip-scroll-spy")){var s={element:e,options:r,target:a,targetSel:'[id="'+a.attr("id").trim()+'"]',id:a.attr("id").trim()};n.addItem(o,s),e.data("scrollSpy",s),i.smoothScrollAnchor&&e.smoothScrollAnchor(i)}}})}},e()||(t(window).scroll(u),t(window).bind("smoothscroll.update",u),t(window).bind("smoothscroll.update",l),t(l))}(jQuery);var s=n("__colibri_823"),c=n.n(s),u=n("__colibri_1237"),l=n.n(u),f=function(){};function h(t){t&&t.forEach(function(t){var e=Array.prototype.slice.call(t.addedNodes),n=Array.prototype.slice.call(t.removedNodes);if(function t(e){var n=void 0,i=void 0;for(n=0;n<e.length;n+=1){if((i=e[n]).dataset&&i.dataset.aos)return!0;if(i.children&&t(i.children))return!0}return!1}(e.concat(n)))return f()})}function p(){return window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver}var d={isSupported:function(){return!!p()},ready:function(t,e){var n=window.document,i=new(p())(h);f=e,i.observe(n.documentElement,{childList:!0,subtree:!0,removedNodes:!0})}},_=n("__colibri_790"),v=n.n(_),m=n("__colibri_791"),g=n.n(m),b=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i,y=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,w=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i,O=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|
1526sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i;function C(){return navigator.userAgent||navigator.vendor||window.opera||""}var E=new(function(){function t(){v()(this,t)}return g()(t,[{key:"phone",value:function(){var t=C();return!(!b.test(t)&&!y.test(t.substr(0,4)))}},{key:"mobile",value:function(){var t=C();return!(!w.test(t)&&!O.test(t.substr(0,4)))}},{key:"tablet",value:function(){return this.mobile()&&!this.phone()}},{key:"ie11",value:function(){return"-ms-scroll-limit"in document.documentElement.style&&"-ms-ime-align"in document.documentElement.style}}]),t}()),S=function(t,e){return e&&e.forEach(function(e){return t.classList.remove(e)})},A=function(t,e){var n=void 0;return E.ie11()?(n=document.createEvent("CustomEvent")).initCustomEvent(t,!0,!0,{detail:e}):n=new CustomEvent(t,{detail:e}),document.dispatchEvent(n)},I=function(t){t.forEach(function(t,e){return function(t,e){var n=t.options,i=t.position,r=t.node,o=(t.data,function(){t.animated&&(S(r,n.animatedClassNames),A("aos:out",r),t.options.id&&A("aos:in:"+t.options.id,r),t.animated=!1)}),a=function(){t.animated||(S(r,n.animationsClasses),function(t,e){e&&e.forEach(function(e){return t.classList.add(e)})}(r,n.animatedClassNames),A("aos:in",r),t.options.id&&A("aos:in:"+t.options.id,r),t.animated=!0)};n.loadAllAtStart&&!r.loadedAtStart&&(a(),r.loadedAtStart=!0),n.mirror&&e>=i.out&&!n.once?o():e>=i.in?a():t.animated&&!n.once&&o()}(t,window.pageYOffset)})},x=function(t){for(var e=0,n=0;t&&!isNaN(t.offsetLeft)&&!isNaN(t.offsetTop);)e+=t.offsetLeft-("BODY"!=t.tagName?t.scrollLeft:0),n+=t.offsetTop-("BODY"!=t.tagName?t.scrollTop:0),t=t.offsetParent;return{top:n,left:e}},T=function(t,e,n){var i=t.getAttribute("data-aos-"+e);if(void 0!==i){if("true"===i)return!0;if("false"===i)return!1}return i||n},k=function(t,e){return t.forEach(function(t,n){var i=T(t.node,"mirror",e.mirror),r=T(t.node,"once",e.once),o=T(t.node,"id"),a=e.useClassNames&&t.node.getAttribute("data-aos"),s=[e.animatedClassName].concat(a?a.split(" "):[]).filter(function(t){return"string"==typeof t});e.initClassName&&t.node.classList.add(e.initClassName),t.position={in:function(t,e,n){var i=window.innerHeight,r=T(t,"anchor"),o=T(t,"anchor-placement"),a=Number(T(t,"offset",o?0:e)),s=o||n,c=t;r&&document.querySelectorAll(r)&&(c=document.querySelectorAll(r)[0]);var u=x(c).top-i;switch(s){case"top-bottom":break;case"center-bottom":u+=c.offsetHeight/2;break;case"bottom-bottom":u+=c.offsetHeight;break;case"top-center":u+=i/2;break;case"center-center":u+=i/2+c.offsetHeight/2;break;case"bottom-center":u+=i/2+c.offsetHeight;break;case"top-top":u+=i;break;case"bottom-top":u+=i+c.offsetHeight;break;case"center-top":u+=i+c.offsetHeight/2}return u+a}(t.node,e.offset,e.anchorPlacement),out:i&&function(t,e){window.innerHeight;var n=T(t,"anchor"),i=T(t,"offset",e),r=t;return n&&document.querySelectorAll(n)&&(r=document.querySelectorAll(n)[0]),x(r).top+r.offsetHeight-i}(t.node,e.offset)},t.options={once:r,mirror:i,animatedClassNames:s,animationsClasses:e.animationsClasses,loadAllAtStart:e.loadAllAtStart,id:o}}),t},P=function(){var t=document.querySelectorAll("[data-aos]"),e=[];return Array.prototype.map.call(t,function(t){if(t&&t.hasAttribute("data-aos-selector")){var n=t.getAttribute("data-aos-selector"),i=top.jQuery(t).find(n).get(0);if(i){var r=t.getAttribute("data-aos");i.setAttribute("data-aos",r),i.setAttribute("data-aos--from-selector",!0),e.push(i)}}else e.push(t)}),Array.prototype.map.call(e,function(t){return{node:t}})},$=[],L=!1,j={offset:120,delay:0,easing:"ease",duration:400,disable:!1,once:!1,mirror:!1,anchorPlacement:"top-bottom",startEvent:"DOMContentLoaded",animatedClassName:"aos-animate",animationsClasses:[],initClassName:"aos-init",useClassNames:!1,disableMutationObserver:!1,throttleDelay:99,debounceDelay:50,loadAllAtStart:!1},R=function(){return document.all&&!window.atob},D=function(){arguments.length>0&&void 0!==arguments[0]&&arguments[0]&&(L=!0),L&&($=k($,j),I($),window.addEventListener("scroll",l()(function(){I($,j.once)},j.throttleDelay)))},N=function(){if($=P(),z(j.disable)||R())return M();D()},M=function(){$.forEach(function(t,e){t.node.removeAttribute("data-aos"),t.node.removeAttribute("data-aos-easing"),t.node.removeAttribute("data-aos-duration"),t.node.removeAttribute("data-aos-delay"),j.initClassName&&t.node.classList.remove(j.initClassName),j.animatedClassName&&t.node.classList.remove(j.animatedClassName)})},z=function(t){return!0===t||"mobile"===t&&E.mobile()||"phone"===t&&E.phone()||"tablet"===t&&E.tablet()||"function"==typeof t&&!0===t()},F={init:function(t){return j=c()(j,t),$=P(),j.disableMutationObserver||d.isSupported()||(console.info('\n      aos: MutationObserver is not supported on this browser,\n      code mutations observing has been disabled.\n      You may have to call "refreshHard()" by yourself.\n    '),j.disableMutationObserver=!0),j.disableMutationObserver||d.ready("[data-aos]",N),z(j.disable)||R()?M():(document.querySelector("body").setAttribute("data-aos-easing",j.easing),document.querySelector("body").setAttribute("data-aos-duration",j.duration),document.querySelector("body").setAttribute("data-aos-delay",j.delay),-1===["DOMContentLoaded","load"].indexOf(j.startEvent)?document.addEventListener(j.startEvent,function(){D(!0)}):window.addEventListener("load",function(){D(!0)}
1526),"DOMContentLoaded"===j.startEvent&&["complete","interactive"].indexOf(document.readyState)>-1&&D(!0),window.addEventListener("resize",o()(D,j.debounceDelay,!0)),window.addEventListener("orientationchange",o()(D,j.debounceDelay,!0)),$)},refresh:D,refreshHard:N};window.AOS=F;var B=n("__colibri_797"),W=n.n(B);!function(t,e){var n=function(t,n){this.namespace="accordion",this.defaults={target:null,toggle:!0,active:!1,toggleClass:"h-accordion-item-title",boxClass:"h-accordion-item-content__container",activeClass:"accordion-active h-custom-active-state",callbacks:["open","opened","close","closed"],hashes:[],currentHash:!1,currentItem:!1},e.apply(this,arguments),this.start()};n.prototype={start:function(){this.isPublishing()||("true"===this.$element.attr("data-toggle")?this.opts.toggle=!0:this.opts.toggle=!1,this.$items=this.getItems(),this.$items.each(t.proxy(this.loadItems,this)),this.$boxes=this.getBoxes(),this.setInitialOpenedItems(),this.setActiveItem())},stop:function(){this.closeAll()},isPublishing:function(){return"true"===this.$element.attr("data-is-preview")&&e.isCustomizerPreview()},restart:function(){this.stop(),this.start()},getItems:function(){return this.$element.find("> .h-accordion-item > ."+this.opts.toggleClass)},setInitialOpenedItems:function(){var e=this,n=!1;this.$items.each(function(i,r){"true"!==t(r).attr("data-open-by-default")||e.opts.toggle&&(!e.opts.toggle||n)||(n=!0,e.addActive(e.getItem(r)))})},getBoxes:function(){return this.$element.find("> .h-accordion-item > ."+this.opts.boxClass+", > .h-accordion-item > .h-accordion-item-content")},loadItems:function(e,n){var i=this,r=this.getItem(n);r.$el.attr("rel",r.hash),r.$el.hasClass(this.opts.activeClass)&&(this.opts.currentItem=r,this.opts.active=r.hash);var o=["click","tap"].map(function(t){return t+"."+i.namespace+" "}).join(" ");r.$el.off(o).on(o,t.proxy(this.toggle,this))},setActiveItem:function(){!1!==this.opts.active&&(this.opts.currentItem=this.getItemBy(this.opts.active),this.opts.active=this.opts.currentItem.hash),!1!==this.opts.currentItem&&(this.addActive(this.opts.currentItem),this.opts.currentItem.$box.removeClass("hide"))},addActive:function(t){t.$box.find(".h-element").trigger("colibriContainerOpened"),t.$box.removeClass("hide").addClass("open"),t.$el.addClass(this.opts.activeClass),!1!==t.$caret&&t.$caret.removeClass("down").addClass("up"),!1!==t.$parent&&t.$parent.addClass(this.opts.activeClass),this.opts.currentItem=t},removeActive:function(t){t.$box.removeClass("open"),t.$el.removeClass(this.opts.activeClass),!1!==t.$caret&&t.$caret.addClass("down").removeClass("up"),!1!==t.$parent&&t.$parent.removeClass(this.opts.activeClass),this.opts.currentItem=!1},toggle:function(e){e&&e.preventDefault();var n=t(e.target).closest("."+this.opts.toggleClass).get(0)||e.target,i=this.getItem(n);this.isOpened(i.hash)?this.close(i.hash):this.open(e)},openAll:function(){this.$items.addClass(this.opts.activeClass),this.$boxes.addClass("open").removeClass("hide")},open:function(e,n){if(void 0!==e){"object"===(void 0===e?"undefined":W()(e))&&e.preventDefault();var i=t(e.target).closest("."+this.opts.toggleClass).get(0)||e.target,r="object"===(void 0===e?"undefined":W()(e))?this.getItem(i):this.getItemBy(e);r.$box.hasClass("open")||(this.opts.toggle&&this.closeAll(),this.callback("open",r),this.addActive(r),this.onOpened())}},onOpened:function(){this.callback("opened",this.opts.currentItem)},closeAll:function(){this.$items.removeClass(this.opts.activeClass).closest("li").removeClass(this.opts.activeClass),this.$boxes.removeClass("open").addClass("hide")},close:function(t){var e=this.getItemBy(t);this.callback("close",e),this.opts.currentItem=e,this.onClosed()},onClosed:function(){var t=this.opts.currentItem;this.removeActive(t),this.callback("closed",t)},isOpened:function(e){return t(e).hasClass("open")},getItem:function(e){var n={};n.$el=t(e),n.hash=n.$el.attr("href"),n.$box=t(n.hash);var i=n.$el.parent();n.$parent="LI"===i[0].tagName&&i;var r=n.$el.find(".caret");return n.$caret=0!==r.length&&r,n},getItemBy:function(t){var e="number"==typeof t?this.$items.eq(t-1):this.$element.find('[rel="'+t+'"]');return this.getItem(e)}},n.inherits(e),e.accordion=n,e.Plugin.create("accordion"),e.Plugin.autoload("accordion")}(jQuery,Colibri);n("__colibri_1531"),n("__colibri_1530");var U=n("__colibri_803"),H=n.n(U),V=n("__colibri_808"),G=n.n(V),q=n("__colibri_809"),Q=n.n(q),Y=n("__colibri_870"),Z=n.n(Y),K=function(){function t(e,n){return v()(this,t),this.$=jQuery,this.namespace=this.constructor.componentName(),this.utils=new Z.a.Utils,this.detect=new Z.a.Detect,this.init(),Z.a.apply(this,arguments),this.start(),this.isCu
1526stomizerPreview()&&this.wpCustomize(wp.customize),this}return g()(t,null,[{key:"componentName",value:function(){throw new TypeError("name getter should be implemented")}}]),g()(t,[{key:"init",value:function(){}},{key:"isCustomizerPreview",value:function(){return Z.a.isCustomizerPreview()}},{key:"wpCustomize",value:function(t){}},{key:"wpSettingBind",value:function(t,e){window.wp.customize(t,function(t){t.bind(e)})}},{key:"updateData",value:function(t){this.opts=jQuery.extend({},this.opts,t),this.restart()}},{key:"restart",value:function(){}},{key:"start",value:function(){}}]),t}();Z.a.registerPlugin=function(t,e,n){"function"==typeof t.componentName&&(n=e,t=(e=t).componentName()),Z.a[t]=e,Z.a.Plugin.create(t),!1!==n&&Z.a.Plugin.autoload(t)};var J=/^(f|ht)tps?:\/\//i,X=function(t){function e(){return v()(this,e),G()(this,(e.__proto__||H()(e)).apply(this,arguments))}return Q()(e,t),g()(e,[{key:"start",value:function(){this.addGAEvent()}},{key:"addGAEvent",value:function(){var t=this,e={eventCategory:this.$element.data().gaEvCategory,eventAction:this.$element.data().gaEvAction,eventLabel:this.$element.data().gaEvLabel};e.eventCategory&&e.eventAction&&e.eventLabel&&this.$element.on("click",function(n){var i=t.href,r=t.target;J.test(i)&&(n.preventDefault(),n.stopPropagation(),e.transport="beacon",e.hitCallback=function(){window.open(i,r)}),ga("send","event",e)})}}],[{key:"componentName",value:function(){return"button"}}]),e}(K);Z.a.registerPlugin(X);n("__colibri_1529"),n("__colibri_1528");var tt=function(){function t(e,n){v()(this,t),this.settings=n,this.element=e,this.isPlaying=!1,this.ready()}return g()(t,[{key:"ready",value:function(){}},{key:"play",value:function(){}},{key:"pause",value:function(){}},{key:"isPaused",value:function(){}},{key:"setVideo",value:function(t){t.className="colibri-video-background-item",this.element.innerHTML="",this.element.appendChild(t),this.addResizeBind()}},{key:"trigger",value:function(t){var e;"function"==typeof window.Event?e=new Event(t):(e=document.createEvent("Event")).initEvent(t,!0,!0),this.element.dispatchEvent(e)}},{key:"loaded",value:function(){this.trigger("video-bg-loaded")}},{key:"addResizeBind",value:function(){var t=this;this.trigger("video-bg-resize"),this.onResize(function(){t.trigger("video-bg-resize")})}},{key:"onLoad",value:function(t){jQuery(this.element).on("video-bg-loaded",t)}},{key:"onResize",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:100;t=jQuery.debounce(t,e),jQuery(window).resize(t),jQuery(window).on("orientationchange",t)}}],[{key:"test",value:function(){return!1}}]),t}(),et=function(t){function e(){return v()(this,e),G()(this,(e.__proto__||H()(e)).apply(this,arguments))}return Q()(e,t),g()(e,[{key:"isPaused",value:function(){return this.video.paused}},{key:"ready",value:function(){var t=this;if(this.settings.poster&&(this.element.style.backgroundImage='url("'+this.settings.poster+'")'),this.settings.videoUrl){var e=document.createElement("video");e.id=this.settings.id||"",e.loop="loop",e.muted="muted",this.settings.width&&(e.width=this.settings.width),this.settings.height&&(e.height=this.settings.height),e.addEventListener("play",function(){t.trigger("play")}),e.addEventListener("pause",function(){t.trigger("pause")}),e.addEventListener("loadeddata",function(){t.loaded()}),this.video=e,this.setVideo(e),e.src=this.settings.videoUrl}}},{key:"pause",value:function(){this.video.pause()}},{key:"stopVideo",value:function(){this.video.pause(),this.video.currentTime=0}},{key:"play",value:function(){this.video.play()}}],[{key:"test",value:function(t){return document.createElement("video").canPlayType(t.mimeType)}}]),e}(tt),nt=n("__colibri_920"),it=n.n(nt),rt=/^.*(?:(?:youtu\.be\/|v\/|vi\/|u\/\w\/|embed\/)|(?:(?:watch)?\?v(?:i)?=|&v(?:i)?=))([^#&?]*).*/,ot={native:et,youtube:function(t){function e(t,n){var i;v()(this,e);var r=G()(this,(e.__proto__||H()(e)).call(this,t,n));return i=r,G()(r,i)}return Q()(e,t),g()(e,[{key:"ready",value:function(){var t=this;if(this.settings.poster&&(this.element.style.backgroundImage='url("'+this.settings.poster+'")'),"YT"in window)window.YT.ready(function(){t.loadVideo()});else{var e=document.createElement("script");e.src="https://www.youtube.com/iframe_api",e.onload=function(){window.YT.ready(function(){t.loadVideo()})},document.getElementsByTagName("head")[0].appendChild(e)}}},{key:"getVideoID",value:function(){var t=this.settings.videoUrl.match(rt);return t&&t.length>=2?t[1]:null}},{key:"getYTOptions",value:function(){var t=this,e={videoId:this.getVideoID(),events:{onReady:function(e){var n=e.target;n.mute(),top.yt1=n,n.setPlaybackQuality("auto"),t.play(),t.loaded()},onStateChange:function(e){window.YT.PlayerState.PLAYING===e.data?t.trigger("play"):window.YT.PlayerState.PAUSED===e.data?t.trigger("pause"):window.YT.PlayerState.ENDED===e.data&&e.target.playVideo()},onError:function(e){t.player.getIframe().style.display="none"}},playerVars:{autoplay:1,controls:0,disablekb:1,fs:0,iv_load_policy:3,loop:1,modestbranding:1,playsinline:1,rel:0,showinfo:0,mute:1}};return this.settings.height?e.height=this.settings.height:e.height=1080,this.settings.width?e.width=this.settings.width:e.width=1920,e}},{key:"loadVideo",value:function(){var t=document.createElement("div");window.YT;this.setVideo(t),this.player=new window.YT.Player(t,this.getYTOptions())}},{key:"updateVideoSize",value:function(){if(this.player){var t=jQuery(this.player.getIframe()),e=this.calcVideosSize();t.css(e),t.addClass("ready")}}},{key:"calcVideosSize",value:function(){var t=jQuery(this.element).outerWidth(),e=jQuery(this.element).outerHeight(),n="16:9".split(":"),i=n[0]/n[1],r=t/e>i;return{width:1*(r?t:e*i),height:1*(r?t/i:e)}}},{key:"play",value:function(){this.player&&this.player.playVideo&&(this.isPlaying||(this.isPlaying=!0,this.player.playVideo()))}},{key:"stopVideo",value:function(){this.player&&this.player.stopVideo&&this.isPlaying&&(this.isPlaying=!1,this.player.stopVideo())}},{key:"pause",value:function(){this.player&&this.player.pauseVideo&&!this.isPlaying&&(this.isPlaying=!1,this.player.pauseVideo())}},{key:"isPaused",value:function(){return YT.PlayerState.PAUSED===this.player.getPlayerState()}},{key:"loaded",value:function(){this.updateVideoSize(),it()(e.prototype.__proto__||H()(e.prototype),"loaded",this).call(this)}},{key:"addResizeBind",value:function(){var t=this;this.onResize(function(){return t.updateVideoSize()},50),it()(e.prototype.__proto__||H()(e.prototype),"addResizeBind",this).call(this)}}],[{key:"test",value:function(t){return"video/x-youtube"===t.mimeType}}]),e}(tt)},at=n("__colibri_1236"),st=function(t){function e(){return v()(this,e),G()(this,(e.__proto__||H()(e)).apply(this,arguments))}return Q()(e,t),g()(e,[{key:"init",value:function(){this.videoData={},this.handler=!1,this.debouncedSetPosition=jQuery.debounce(this.updateVideoBackgroun
1526d.bind(this),100)}},{key:"generateVideo",value:function(){var t=this;for(var e in ot)if(ot.hasOwnProperty(e)&&ot[e].test(this.videoData)){this.$element.empty(),this.handler=new ot[e](this.$element[0],this.videoData);break}this.handler.onLoad(function(){t.$element.children("iframe,video").addClass("h-hide-sm-force"),t.debouncedSetPosition(),t.handler.onResize(function(){return t.debouncedSetPosition()})}),window.hop&&(window.addResizeListener(this.$element.closest(".background-wrapper").parent()[0],this.debouncedSetPosition),this.debouncedSetPosition())}},{key:"stopVideo",value:function(){this.handler.stopVideo&&this.handler.stopVideo()}},{key:"play",value:function(){this.handler.play&&this.handler.play()}},{key:"updateVideoBackground",value:function(){this.handler.updateVideoSize&&this.handler.updateVideoSize(),this.setPosition()}},{key:"setPosition",value:function(){var t=this;if(this.handler.pause(),"none"!==this.$element.children("iframe,video").eq(0).css("display")){var e=this.$element.children("iframe,video").eq(0),n=e.is("iframe")?50:this.opts.positionX,i=e.is("iframe")?50:this.opts.positionY,r=Math.max(e.width()-this.$element.width(),0)*parseFloat(n)/100,o=Math.max(e.height()-this.$element.height(),0)*parseFloat(i)/100;e.css({transform:"translate(-"+r+"px,-"+o+"px)","-webkit-transform":"translate(-"+r+"px,-"+o+"px)"}),this.$element.addClass("visible"),setTimeout(function(){t.handler.play()},100)}}},{key:"start",value:function(){this.videoData={mimeType:this.opts.mimeType,poster:this.opts.poster,videoUrl:this.opts.video},Object(at.isMobile)()||this.generateVideo()}},{key:"stop",value:function(){window.removeResizeListener(this.$element.closest(".background-wrapper").parent()[0],this.debouncedSetPosition)}},{key:"restart",value:function(){this.stop(),this.start()}}],[{key:"componentName",value:function(){return"video-background"}}]),e}(K);Z.a.registerPlugin(st);n("__colibri_1526");var ct=function(t){function e(){return v()(this,e),G()(this,(e.__proto__||H()(e)).apply(this,arguments))}return Q()(e,t),g()(e,[{key:"init",value:function(){var t=this;this.currentIndex=0,this.interval=-1,this.debouncedRestart=o()(function(){t.stop(),t.start()},500)}},{key:"addImageEffect",value:function(t,e){var n=this.opts.slideDuration,i=this.opts.slideSpeed,r=n-i;r<0&&(r=0),this.$(t).css({transition:"opacity "+i+"ms ease "+r+"ms",zIndex:this.$images.length-e})}},{key:"slideImage",value:function(){this.$images.eq(this.currentIndex).removeClass("current");var t=this.currentIndex+1===this.$images.length?0:this.currentIndex+1;this.$images.eq(t).addClass("current").removeClass("next"),this.currentIndex=t;var e=this.currentIndex+1===this.$images.length?0:this.currentIndex+1;this.$images.eq(e).addClass("next")}},{key:"restart",value:function(){this.debouncedRestart()}},{key:"start",value:function(){var t=this;this.$images=this.$element.find(".slideshow-image"),this.$images.removeClass("current"),this.$images.eq(0).addClass("current"),this.currentIndex=0,this.$images.each(function(e,n){t.addImageEffect(n,e)}),this.interval=setInterval(function(){t.slideImage()},parseInt(this.opts.slideDuration))}},{key:"stop",value:function(){clearInterval(this.interval),this.$images.css({transition:"",opacity:""}),this.$images.removeClass("current next"),this.$images.eq(0).addClass("current"),this.currentIndex=0}}],[{key:"componentName",value:function(){return"slideshow"}}]),e}(K);Z.a.registerPlugin(ct);n("__colibri_1524");!function(t,e){var n=function(t,n){this.namespace="parallax",this.defaults={},e.apply(this,arguments),this.start()};n.prototype={start:function(){if(this.isEnabled=this.$element.attr("data-enabled"),this.isEnabled=void 0===this.isEnabled||"true"==this.isEnabled,this.isEnabled)if(this.isiOS())this.$element.addClass("paraxify--ios");else{this.$element[0]&&(this.paraxify=paraxify(this.$element[0]));var e=this;this.firstRestart=!1,this.restartScriptDebounce=t.debounce(function(){!1!==e.firstRestart?e.restart():e.firstRestart=!0},100),this._addEventListeners()}},stop:function(){this._removeEventListener(),this.paraxify&&(this.paraxify.destroy(),this.paraxify=null)},isiOS:function(){return(/iPad|iPhone|iPod/.test(navigator.platform)||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1)&&!window.MSStream},restart:function(){this.stop(),this.start()},_addEventListeners:function(){window.addResizeListener(this.$element[0],this.restartScriptDebounce)},_removeEventListener:function(){window.removeResizeListener(this.$element[0],this.restartScriptDebounce)}},n.inherits(e),e.parallax=n,e.Plugin.create("parallax"),e.Plugin.autoload("parallax")}(jQuery,Colibri);n("__colibri_1523"),n("__colibri_1522");var ut={once:!0,useClassNames:!0,initClassName:!1,animatedClassName:"animated",animationsClasse
1526s:n("__colibri_970").b.ANIMATIONS_CLASSES};!function(t,e){t(function(){window.AOS&&(e.isCustomizerPreview()?(ut.loadAllAtStart=!0,window.AOS.init(ut)):window.AOS.init(ut))})}(jQuery,Colibri);n("__colibri_1521"),n("__colibri_1520"),n("__colibri_1519"),n("__colibri_1518"),n("__colibri_1517");var lt=n("__colibri_789"),ft=n.n(lt);!function(t,e){var n="footer-parallax",i=function(i,r){var o=this;this.namespace=n,this.defaults={activeClasses:{header:"h-footer-parallax-header-class",content:"h-footer-parallax-content-class",footer:"h-footer-parallax",container:"new-stacking-context"},selectors:{header:" > .page-header,> .header",content:"> .page-content,> .content",container:"#page-top"}},this.bindedResizeListener=t.debounce(this.resizeListener.bind(this),100),e.apply(this,arguments),this.scriptStarted=!1,this.initMediaById(),this.start(),window.addResizeListener(this.$element.get(0),this.bindedResizeListener),setTimeout(function(){o.bindedResizeListener()},5e3)};i.prototype={start:function(){if(this.scriptStarted=!0,this.isEnabled=this.$element.attr("data-enabled"),this.isEnabled=void 0===this.isEnabled||"true"==this.isEnabled,"desktop"===this.getCurrentMedia()&&this.isEnabled){var e=this.opts.selectors,n=this.opts.activeClasses;this.$container=t(e.container),this.$content=this.$container.find(e.content).first(),this.$header=this.$container.find(e.header).first(),this.$container.addClass(n.container),this.$header.addClass(n.header),this.$content.addClass(n.content),this.$element.addClass(n.footer),this.updateSiblingStyle()}},stop:function(){this.scriptStarted=!1;var t=this.opts.activeClasses;this.$container&&(this.$container.removeClass(t.container),this.$header.removeClass(t.header),this.$content.removeClass(t.content),this.$element.removeClass(t.footer),this.$content.css("margin-bottom",""))},restart:function(){this.stop(),this.start()},resizeListener:function(){this.updateSiblingStyle(),"desktop"!==this.getCurrentMedia()?this.stop():this.isEnabled&&!this.footerParallaxStarted()&&this.start()},footerParallaxStarted:function(){return this.scriptStarted},initMediaById:function(){this.mediaById={desktop:{min:1024},tablet:{min:768,max:1023},mobile:{max:767}}},isDragging:function(){return!!document.querySelector("body.h-ui-dragging")},getCurrentMedia:function(){var t=this,e=window.innerWidth,n=null;return ft()(this.mediaById).forEach(function(i){var r=t.mediaById[i];(!r.min||r.min&&e>=r.min)&&(!r.max||r.max&&e<=r.max)&&(n=i)}),n},updateSiblingStyle:function(){if(this.$content&&this.footerParallaxStarted()){var t=this.$element.outerHeight();this.$content.css("margin-bottom",t+"px")}}},i.inherits(e),e[n]=i,e.Plugin.create(n),e.Plugin.autoload(n)}(jQuery,Colibri);n("__colibri_1516"),n("__colibri_1514"),n("__colibri_1513"),n("__colibri_1124"),n("__colibri_1512");!function(t,e){var n="accordion-menu",i='<svg aria-hidden="true" data-prefix="fas" data-icon="angle-right" class="svg-inline--fa fa-angle-right fa-w-8" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 512"><path fill="currentColor" d="M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z"></path></svg>',r='<svg aria-hidden="true" data-prefix="fas" data-icon="angle-down" class="svg-inline--fa fa-angle-down fa-w-10" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"><path fill="currentColor" d="M143 352.3L7 216.3c-9.4-9.4-9.4-24.6 0-33.9l22.6-22.6c9.4-9.4 24.6-9.4 33.9 0l96.4 96.4 96.4-96.4c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9l-136 136c-9.2 9.4-24.4 9.4-33.8 0z"></path></svg>';i='<div data-skip-smooth-scroll="1" class="h-global-transition-disable arrow-wrapper arrow-right">'+i+"</div>",r='<div data-skip-smooth-scroll="1" class="h-global-transition-disable arrow-wrapper arrow-down">'+r+"</div>";var o=function(t,i){this.namespace=n,this.defaults={menuSelector:".colibri-menu",offCanvasWrapper:".colibri-menu-container",linkSelector:".menu-item-has-children > a, .page_item_has_children > a",linkLeafsSelector:"li:not(.menu-item-has-children):not(.page_item_has_children) > a",arrowSelector:[".menu-item-has-children > a > .arrow-wrapper, .page_item_has_children > a > .arrow-wrapper",".menu-item-has-children > a > svg, .page_item_has_children > a > svg"].join(","),linkSelectorInLink:"svg",$menu:null},e.apply(this,arguments),this.initBindedFunctions(),this.initEventListenersData(),this.start()};o.prototype={start:function(){var t=this.$element.find(this.opts.menuSelector).first();this.opts.$menu=t,this.addSvgArrows(),this.opts.$menu.find("a").data("allow-propagation",!0),this.removeEventListeners(),this.addEventListeners(),this.addFocusListener(),this.addMenuScrollSpy(t)},initBindedFunctions:function(){this.debounceApplyDropdownLogic=t.debounce(this.applyDropdownLogic.bind(this),10),this.bindedLinkEventHandler=this.linkEventHandler.bind(this),this.bindedLinkArrowEventHandler=this.linkArrowEventHandler.bind(this)},initEventListenersData:function(){var t=["click","tap"].map(function(t){return t+".accordion-menu"}),e=t.map(function(t){return t+".link-selector"}).join(" "),n=t.map(function(t){return t+".arrow-selector"}).join(" "),i=t.map(function(t){return t+".off-canvas"}).join(" ");this._eventOptions={menuNamespace:".accordion-menu",linkSelectorEvent:e,arrowSelectorEvent:n,offCanvasEvent:i}},toggleFocus:function(t){for(;this.opts.$menu[0]!==t;)"li"===t.tagName.toLowerCase()&&(-1!==t.className.indexOf("hover")?t.className=t.className.replace(" hover",""):t.className+=" hover"),t=t.parentElement},addFocusListener:function(){var t=this,e=this.opts.$menu.find("a");e.on("focus",function(e){t.toggleFocus(e.currentTarget)}),e.on("blur",function(e){t.toggleFocus(e.currentTarget,!1)})},addEventListeners:function(){var e=this.opts.$menu,n=this._eventOptions;e.on(n.arrowSelectorEvent,this.opts.arrowSelector,this.bindedLinkArrowEventHandler),window.wp&&window.wp.customize&&e.off(n.linkSelectorEvent,this.opts.linkSelector),e.on(n.linkSelectorEvent,this.opts.linkSelector,this.bindedLinkEventHandler),e.on(n.offCanvasEvent,this.opts.linkLeafsSelector,this.closeOffcanvasPanel),t(document).on("keyup."+this.namespace,t.proxy(this.handleKeyboard,this))},removeEventListeners:function(){var e=this.opts.$menu,n=this._eventOptions;e.off(n.menuNamespace),t(document).on("keyup."+this.namespace)},stop:function(){this.removeEventListeners(),this.removeAllSvgArrows()},handleKeyboard:function(e){var n=e.target;t.contains(this.opts.$menu[0],n)&&t(n).siblings("ul").length&&(37===e.which&&this.closeDropDown(t(n).closest("li")),39===e.which&&this.openDropDown(t(n).closest("li")))},openDropDown:function(e){e&&((e=t(e).is("a")?t(e).closest("li"):t(e)).addClass("open"),e.children("ul").slideDown(100))},closeDropDown:function(e){e&&((e=t(e).is("a")?t(e).closest("li"):t(e)).removeClass("open"),e.children("ul").slideUp(100))},isDropDownOpen:function(t){return t.is(".open")},closeOffcanvasPanel:function(){window.wp&&window.wp.customize||setTimeout(function(){t(".offscreen-overlay").trigger("click")},500)},linkEventHandler:function(e,n){var i=window.wp&&window.wp.customize;i&&e.preventDefault();var r=t(e.target).closest("li");n||!r.hasClass("open")||i?((n||!n&&!r.hasClass("open"))&&(e.preventDefault(),e.stopPropagation()),this.debounceApplyDropdownLogic(e,n)):this.closeOffcanvasPanel()},linkArrowEventHandler:function(t){this.linkEventHandler(t,!0)},applyDropdownLogic:function(e,n){var i=t(e.target).closest("li");i.hasClass("menu-item-has-children")||i.hasClass("page_item_has_children")?n&&this.isDropDownOpen(i)?this.closeDropDown(i):this.openDropDown(i):this.closeOffcanvasPanel()},addSvgArrows:function(){var e=this.opts.$menu,n=this.opts.linkSelectorInLink;e.find(this.opts.linkSelector).each(function(){var e=this;0===t(this).children(n).parent(".arrow-wrapper").length?(t(this).children(n).remove(),t(this).append(i),t(this).append(r)):0===t(this).children(n).length&&(t(this).append(i),t(this).append(r)),setTimeout(function(){t(e).find(".h-global-transition-disable").removeClass("h-global-transition-disable")},1e3)})},removeAllSvgArrows:function(){this.opts.$menu&&this.opts.$menu.find(this.opts.arrowSelector).remove()},addMenuScrollSpy:function(e){var n=e,i=this;if(t.fn.scrollSpy){var r=i.opts.linkSelector,o=i.opts.arrowSelector;n.find("a").not(r).not(o).scrollSpy({onChange:function(){n.find(".current-menu-item,.current_page_item").removeClass("current-menu-item current_page_item"),t(this).closest("li").addClass("current-menu-item current_page_item")},onLeave:function(){t(this).closest("li").removeClass("current-menu-item current_page_item")},clickCallback:function(){i.closeOffcanvasPanel()},smoothScrollAnchor:!0,offset:function(){var t=n.closest('[data-colibri-component="navigation"]');return t.length?t[0].getBoundingClientRect().height+20:20}})}t(window).trigger("smoothscroll.update")}},o.inherits(e),e[n]=o,e.Plugin.create(n),e.Plugin.autoload(n)}(jQuery,Colibri);n("__colibri_1511"),n("__colibri_1510");var ht=n("__colibri_963"),pt=n.n(ht);jQuery(function(t){window.wp&&window.wp.customize&&window.wp.customize.selectiveRefresh.bind("render-partials-response",function(e){pt()(e.contents).filter(function(t){return-1!==t.indexOf("nav_menu_instance[")}).length&&setTimeout(function(){t('[data-colibri-component="dropdown-menu"]').each(function(){t(this).data("fn.colibri.dropdownMenu").addMenuScrollSpy(t(this).find("ul").eq(0))})},100)})});n("__colibri_1509"),n("__colibri_1508"),n("__colibri_1507");var dt=n("__colibri_930"),_t=n.n(dt);!function(t,e){var n=function(t,n){this.namespace="back-to-top",this.defaults={data:{stickToBottom:!1,showOnScroll:!1,showAfterPercentage:10,visibleClass:"h-back-to-top--show-on-scroll--visible",arrowSelector:"",scrollTargetSelector:""}},e.apply(this,arguments),this.bindedScrollListener=this.scrollListener.bind(this),this.bindedResizeListener=this.resizeListener.bind(this),window.addResizeListener(document.body,this.bindedResizeListener),this.start()};n.prototype={start:function(){this.isInvalidState()||(this.addPositionLogic(),this.addLink())},resizeListener:function(){this.restart()},addPositionLogic:function(){this.initTarget(),this.$target.removeClass(this.opts.data.visibleClass),this.$target.get(0).parentNode&&(this.opts.data.stickToBottom&&this.moveToBody(),this.opts.data.stickToBottom&&this.opts.data.showOnScroll&&(window.addEventListener("scroll",this.bindedScrollListener),this.bindedScrollListener()))},addLink:function(){this.$arrow=this.$element.find(this.opts.data.arrowSelector);var e=t(this.opts.data.scrollTargetSelector);this.$arrow.smoothScrollAnchor({target:e})},initTarget:function(){this.$target=this.$element.closest(".h-scroll-to__outer")},stop:function(){window.removeEventListener("scroll",this.bindedScrollListener),this.$arrow&&this.$arrow.off("click.smooth-scroll tap.smooth-scroll")},isInvalidState:function(){return!(this.opts.data&&this.opts.data.showAfterPercentage&&this.opts.data.arrowSelector&&this.opts.data.scrollTargetSelector)||!(!e.isCustomizerPreview()||"true"!==this.$element.attr("is-preview"))},moveToBody:function(){var t=this.$target.get(0);t&&document.body.appendChild(t)},disableScript:function(){this.removeResizeListener(),this.removeNode()},removeNode:function(){this.initTarget();var t=this.$target.get(0);t&&t.parentNode&&t.parentNode.removeChild(t)},removeResizeListener:function(){window.removeResizeListener(document.body,this.bindedResizeListener)},scrollListener:function(){var t=this.getScrollPercent(),e=this.opts.data.visibleClass;t>=_t()(this.opts.data.showAfterPercentage)?this.$target.hasClass(e)||this.$target.addClass(e):this.$target.hasClass(e)&&this.$target.removeClass(e)},restart:function(){this.stop(),this.start()},getScrollPercent:function(){var e=document.documentElement,n=e.scrollTop,i=t(".h-hero").outerHeight(),r=e.scrollHeight-i,o=n-i+e.clientHeight;return(o=Math.max(o,0))/r*100}},n.inherits(e),e["back-to-top"]=n,e.Plugin.create("back-to-top"),e.Plugin.autoload("back-to-top")}(jQuery,Colibri);n("__colibri_1506"),n("__colibri_1505"),n("__colibri_1504");!function(t,e){var n=function(t,n){this.namespace="slider",this.defaults={swiperSelector:".swiper-container",swiperOptions:{},slidesLinks:{},slideSelector:".swiper-slide"},e.apply(this,arguments),this.initData(),this.initMediaById(),this.start(),this.addResizeListener()};n.prototype={initData:function(){var e=this;this.$swiperElement=this.$element.find(this.opts.swiperSelector),this.swiperElement=this.$swiperElement.get(0);var n=this;this.bindedRestart=t.debounce(function(){n.restart()},50),this.bindedMouseEnter=function(){e.swiper.autoplay.stop()},this.bindedMouseLeave=function(){e.swiper.autoplay.start()}},start:function(){if(!e.isCustomizerPreview()){var t=this.swiperElement;if(t){var n=this.getSwiperOptions();this.swiperOptions=n,this.swiper=new Swiper(t,n),this.addSwiperEnhancements(),this.swiperUpd
1526ate(),this.removeSwiperHiddenClass()}}},stop:function(){this.removeSwiperStopOnHoverListeners(),this.swiper&&this.swiper.destroy&&this.swiper.destroy()},restart:function(){this.stop(),this.start()},initMediaById:function(){this.mediaById={desktop:{min:1024},tablet:{min:768,max:1023},mobile:{max:767}}},getSwiperOptions:function(){var e=this.getCurrentMedia(),n=this.opts.data&&this.opts.data.swiperOptions||{},i=(n=t.extend({},n,this.getExtraSwiperOptions())).media||{},r={};return"desktop"!==e&&(r=i[e]||{}),t.extend({},n,r)},changeSlidesVideosState:function(){var t=this.getActiveSlides();t.find("video").each(function(t,e){e.autoplay&&e.play()}),t.find(".colibri-video-background")["colibri.video-background"]("play");var e=this.getInactiveSlides();e.find("video").each(function(t,e){e.pause(),e.currentTime=0}),e.find(".colibri-video-background")["colibri.video-background"]("stopVideo")},getExtraSwiperOptions:function(){var t=this;return{on:{slideChangeTransitionEnd:function(){t.changeSlidesVideosState()},init:function(){setTimeout(function(){t.addScriptsToDummySlides()},1e3)}}}},addScriptsToDummySlides:function(){this.$element.find(".swiper-slide-duplicate").find("[data-colibri-component]").not("[data-disabled]").each(function(){var e=t(this),n="colibri."+e.data("colibri-component");e.attr("data-loaded",!0);try{e[n]()}catch(t){console.error(t)}})},getActiveSlides:function(){return this.$element.find(".swiper-slide-active")},getInactiveSlides:function(){return this.$element.find(".swiper-slide:not(.swiper-slide-active)")},getCurrentMedia:function(){var t=this,e=window.innerWidth,n=null;return ft()(this.mediaById).forEach(function(i){var r=t.mediaById[i];(!r.min||r.min&&e>=r.min)&&(!r.max||r.max&&e<=r.max)&&(n=i)}),n},removeSwiperHiddenClass:function(){this.$element.find(this.opts.swiperSelector).removeClass("h-overflow-hidden")},addResizeListener:function(){e.isCustomizerPreview()||window.addResizeListener(this.swiperElement,this.bindedRestart)},removeResizeListener:function(){window.removeResizeListener(this.swiperElement,this.bindedRestart)},addSwiperEnhancements:function(){this.swiperOptions.pauseOnHover&&this.addSwiperStopOnHoverListeners()},removeSwiperStopOnHoverListeners:function(){this.$swiperElement.off("mouseenter",this.bindedMouseEnter),this.$swiperElement.off("mouseleave",this.bindedMouseLeave)},addSwiperStopOnHoverListeners:function(){this.$swiperElement.on("mouseenter",this.bindedMouseEnter),this.$swiperElement.on("mouseleave",this.bindedMouseLeave)},swiperUpdate:function(){this.swiper.update&&this.swiper.update(),this.swiper.navigation&&this.swiper.navigation.update(),this.swiper.pagination&&this.swiper.pagination.render(),this.swiper.pagination&&this.swiper.pagination.update()}},n.inherits(e),e.slider=n,e.Plugin.create("slider"),e.Plugin.autoload("slider")}(jQuery,Colibri),function(t,e){var n=function(t,n){this.namespace="tabs",this.defaults={equals:!1,active:!1,hash:!0,contentActiveClass:"h-tabs-content-active",navActiveClass:"h-tabs-navigation-active-item h-custom-active-state",callbacks:["init","next","prev","open","opened","close","closed"]},e.apply(this,arguments),this.start();var i=this;window.addEventListener("hashchange",function(){i.onHashChange()},!1)};n.prototype={start:function(){this.tabsCollection=[],this.hashesCollection=[],this.currentHash=[],this.currentItem=!1,this.$items=this.getItems(),this.$items.length&&(this.$items.each(t.proxy(this.loadItems,this)),this.$tabs=this.getTabs(),this.currentHash=this.getLocationHash(),this.closeAll(),this.setActiveItem(),this.setItemHeight(),this.callback("init"))},getTabs:function(){return t(this.tabsCollection).map(function(){return this.toArray()})},elementIsVisible:function(t){for(var e=t.offsetTop,n=t.offsetHeight;t.offsetParent;)e+=(t=t.offsetParent).offsetTop;return e<window.pageYOffset+window.innerHeight&&e+n>window.pageYOffset},tabsIsVisible:function(){return this.elementIsVisible(this.$element.get(0))},tabsTopIsVisible:function(){var t=this.$element.get(0).getBoundingClientRect();return this.tabsIsVisible()&&t.top>0},onHashChange:function(){this.closeAll(),this.currentHash=this.getLocationHash(),this.setActiveItem(),this.currentHash&&!this.tabsTopIsVisible()&&this.$element.get(0).scrollIntoView()},getItems:function(){var t=this.$element.find(" >.h-tabs-navigation .h-tabs-navigation-item");return 0===t.length?this.$element.find(".h-tabs-navigation .h-tabs-navigation-item"):t},loadItems:function(e,n){var i=this,r=this.getItem(n);r.$el.attr("rel",r.hash),this.collectItem(r),r.$el.hasClass(this.opts.navActiveClass)&&(this.currentItem=r,this.opts.active=r.hash);var o=["click","tap"].map(function(t){return t+"."+i.namespace+" "}).join(" ");r.$el.off(o).on(o,t.proxy(this.open,this))},collectItem:function(t){this.tabsCollection.push(t.$tab),this.hashesCollection.push(t.hash)},setActiveItem:function(){this.currentHash?(this.currentItem=this.getItemBy(this.currentHash),this.opts.active=this.currentHash):!1===this.opts.active&&(this.currentItem=this.getItem(this.$items.first()),this.opts.active=this.currentItem.hash),this.addActive(this.currentItem)},addActive:function(t){t.$tab.find(".h-element").trigger("colibriContainerOpened"),t.$el.addClass(this.opts.navActiveClass),t.$tab.removeClass("hide").addClass(this.opts.contentActiveClass),this.currentItem=t},removeActive:function(t){t.$el.removeClass(this.opts.navActiveClass),t.$tab.addClass("hide").removeClass(this.opts.contentActiveClass),this.currentItem=!1},next:function(t){t&&t.preventDefault();var e=this.getItem(this.fetchElement("next"));this.open(e.hash),this.callback("next",e)},prev:function(t){t&&t.preventDefault();var e=this.getItem(this.fetchElement("prev"));this.open(e.hash),this.callback("prev",e)},fetchElement:function(t){var e;if(!1!==this.currentItem){if(0===(e=this.currentItem.$parent[t]().find("a")).length)return}else e=this.$items[0];return e},open:function(t,e){if(void 0!==t){"object"===(void 0===t?"undefined":W()(t))&&t.preventDefault();var n="object"===(void 0===t?"undefined":W()(t))?this.getItem(t.target):this.getItemBy(t);this.closeAll(),this.callback("open",n),this.addActive(n),this.pushStateOpen(e,n),this.callback("opened",n)}},pushStateOpen:function(t,e){!1!==t&&!1!==this.opts.hash&&history.pushState(!1,!1,e.hash)},close:function(t){var e=this.getItemBy(t);e.$el.hasClass(this.opts.navActiveClass)&&(this.callback("close",e),this.removeActive(e),this.pushStateClose(),this.callback("closed",e))},pushStateClose:function(){!1!==this.opts.hash&&history.pushState(!1,!1," ")},closeAll:function(){this.$tabs.removeClass("open").addClass("hide").removeClass(this.opts.contentActiveClass),this.$items.removeClass(this.opts.navActiveClass)},getItem:function(e){var n={};return n.$el=t(e),n.$el.is("a")||(n.$el=n.$el.parents("a").eq(0)),n.hash=n.$el.attr("href"),n.$parent=n.$el.parent(),n.$tab=this.$element.find(n.hash),n},getItemBy:function(t){var e="number"==typeof t?this.$items.eq(t-1):this.$element.find('[rel="'+t+'"]');return this.getItem(e)},getLocationHash:function(){return!1!==this.opts.hash&&(!!this.isHash()&&top.location.hash)},isHash:function(){return!(""===top.location.hash||-1===t.inArray(top.location.hash,this.hashesCollection))},setItemHeight:function(){if(this.opts.equals){var t=this.getItemMaxHeight()+"px";this.$tabs.css("min-height",t)}},getItemMaxHeight:function(){var e=0;return this.$tabs.each(function(){var n=t(this).outerHeight();e=n>e?n:e}),e}},n.inherits(e),e.tabs=n,e.Plugin.create("tabs"),e.Plugin.autoload("tabs")}
1526(jQuery,Colibri);var vt=n("__colibri_792"),mt=n.n(vt);!function(t,e){var n=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};v()(this,t),this.$element=e,this.data=n}return g()(t,[{key:"play",value:function(){}},{key:"stop",value:function(){}},{key:"pause",value:function(){}},{key:"startIfAutoplay",value:function(){this.data.autoplay&&this.play()}},{key:"getContentWindow",value:function(){var t=this.$element.find("iframe");if(!(t.length<1))return t.get(0).contentWindow}}]),t}(),i=function(t){function e(){return v()(this,e),G()(this,(e.__proto__||H()(e)).apply(this,arguments))}return Q()(e,t),g()(e,[{key:"play",value:function(){this.runCommand("playVideo")}},{key:"stop",value:function(){this.runCommand("stopVideo")}},{key:"runCommand",value:function(t){var e=this.getContentWindow();if(e){var n=mt()({event:"command",func:t});e.postMessage(n,"https://www.youtube.com")}}}]),e}(n),r=function(t){function e(){return v()(this,e),G()(this,(e.__proto__||H()(e)).apply(this,arguments))}return Q()(e,t),g()(e,[{key:"play",value:function(){this.runCommand("play")}},{key:"stop",value:function(){this.runCommand("pause"),this.runCommand("setCurrentTime","0")}},{key:"runCommand",value:function(t,e){var n=this.getContentWindow();if(n){var i=mt()({method:t,value:e});n.postMessage(i,"*")}}}]),e}(n),o=function(t){function e(t,n){v()(this,e);var i=G()(this,(e.__proto__||H()(e)).call(this,t,n));return i.video=i.$element.find("video").get(0),i}return Q()(e,t),g()(e,[{key:"play",value:function(){this.video.play()}},{key:"stop",value:function(){this.video.pause(),this.video.currentTime=0}}]),e}(n),a=function(t,n){this.namespace="video",this.defaults={data:{}},e.apply(this,arguments),this.start()};a.prototype={start:function(){var t=this;switch((this.opts.data||{}).displayAs){case"posterImage":this.addPosterImageLogic();break;case"iconWithLightbox":this.addIconWithLightBoxLogic()}this.addVideoHandler();var e=!1;this.intersectionObserver=this.$element.respondToVisibility(function(n){n?e&&t.handler.startIfAutoplay():t.handler.stop(),e||(e=!0)})},stop:function(){this.intersectionObserver&&(this.intersectionObserver.unobserve(),this.intersectionObserver=null)},addVideoHandler:function(){"internal"===this.opts.data.videoType?this.handler=new o(this.$element,this.opts.data):"youtube"===this.opts.data.videoCategory?this.handler=new i(this.$element,this.opts.data):this.handler=new r(this.$element,this.opts.data)},addPosterImageLogic:function(){var t=this.opts.data;if(0!==this.$element.find(".video-poster").length){if(0!==this.$element.find(".video-poster a").length)this.$element.find(".video-poster a").removeAttr("href"),this.$element.click({element:this.$element,data:t},this.startVideo);0!==this.$element.find(".video-poster .h-icon").length&&this.$element.click({element:this.$element,data:t},this.startVideo)}},addIconWithLightBoxLogic:function(){var t=this.opts.data;0!==this.$element.find(".icon-with-lightbox")&&this.$element.find(".icon-with-lightbox .h-svg-icon").click({element:this.$element,data:t},this.startVideo)},startVideo:function(e){var n=e.data.element,i=e.data.data.lightBox;if(i||n.find(".video-poster").hide(),"external"===e.data.data.videoType){var r=n.find("iframe");if(i){var o=r.attr("src");o=(o=o.replace("autoplay=0","autoplay=1")).replace("autopause=0",""),t.fancybox.open({src:o,opts:{beforeClose:function(t,e){n.find(".video-poster").show()}}})}else this.handler.play()}else if(i){n.find(".ratio-inner");t.fancybox.open({src:n.find("video"),type:"inline",modal:!1,touch:!1,showCloseButton:!0,opts:{afterLoad:function(t,e){var n=e.$content.find("video");0!==n.length&&n.removeClass("h-video-main")},beforeClose:function(t,e){n.find(".video-poster").show()}}})}else this.handler.play()}},a.inherits(e),e.video=a,e.Plugin.create("video"),e.Plugin.autoload("video")}(jQuery,Colibri);n("__colibri_1503")},__colibri_1503:function(t,e){!function(t,e){var n=function(t,n){this.namespace="widget-area",this.defaults={componentsWithEffects:[]},e.apply(this,arguments),this.start()};n.prototype={start:function(){e.isCustomizerPreview()||this.addAppearanceEffectAttribute()},addAppearanceEffectAttribute:function(){var t=this;this.opts.data&&this.opts.data.componentsWithEffects&&(this.opts.data.componentsWithEffects.forEac
1526h(function(e){var n=e.selector,i=e.effect;t.$element.find(n).attr("data-aos",i)}),setTimeout(function(){AOS&&AOS.refreshHard()},0))},stop:function(){}},n.inherits(e),e["widget-area"]=n,e.Plugin.create("widget-area"),e.Plugin.autoload("widget-area")}(jQuery,Colibri)},__colibri_1504:function(t,e){!function(t,e){var n="slideshow-gallery",i=function(t,i){this.namespace=n,this.defaults={},e.apply(this,arguments),this.opts.data=this.opts.data?this.opts.data:{},this.start()};i.prototype={start:function(){var e=this.$element.find(".slideshow-inner"),n=this.$element.find(".slideshow-thumbnails");if(e.find(" > .slideshow-item:gt(0)").hide(),n.length){var i=this.opts.data.margin,r=n,o=this.opts.data.itemsDesktop,a=this.opts.data.itemsTablet,s=this.opts.data.itemsMobile;this.opts.owl=r,r.owlCarousel({responsiveClass:!1,responsive:{0:{items:s},768:{items:a},1024:{items:o}},margin:i,loop:!1,rewind:!1,autoplay:!1,autoplayTimeout:3e3,nav:!0,dots:!1,mouseDrag:!0,touchDrag:!0,animateOut:!1,animateIn:!1,onInitialized:function(e){var i=t(".owl-carousel .owl-item").width();n.find(" .owl-item .slideshow-thumbnail").css("padding-top",.5625*i+"px")},onResized:function(e){var i=t(".owl-carousel .owl-item").width();n.find(" .owl-item .slideshow-thumbnail").css("padding-top",.5625*i+"px")},onTranslate:function(t){var n=t.item.index;e.find(" > .slideshow-item:visible").fadeOut(1e3),e.find(" > .slideshow-item").eq(n).fadeIn(1e3)}}),n.find(" .owl-item .slideshow-thumbnail").on("click",function(){e.find(" > .slideshow-item:visible").fadeOut(1e3),e.find(" > .slideshow-item").eq(t(this).data("index")).fadeIn(1e3)})}},stop:function(){var t=this.opts.owl;if(t)try{t.owlCarousel("destroy"),t.owlCarousel({touchDrag:!1,mouseDrag:!1})}catch(t){}},restart:function(){this.stop(),this.start()}},i.inherits(e),e[n]=i,e.Plugin.create(n),e.Plugin.autoload(n)}(jQuery,Colibri)},__colibri_1505:function(t,e){},__colibri_1506:function(t,e){!function(t,e){var n=function(t,n){this.namespace="search",this.defaults={},e.apply(this,arguments),this.start()};n.prototype={start:function(){"showLightBox"===this.$element.attr("light-box")&&this.$element.find(".colibri_search_button").click({element:this.$element},this.showLightBox.bind(this))},showLightBox:function(e){var n=e.data.element,i=this.opts?this.opts.styleClass:null,r=void 0;t.fancybox.open(t(n).html(),{baseClass:"colibri_logo_fancybox",beforeLoad:function(){(r=t(".fancybox-container")).addClass(i)},afterClose:function(){r&&r.removeClass(i)}})}},n.inherits(e),e.search=n,e.Plugin.create("search"),e.Plugin.autoload("search")}(jQuery,Colibri)},__colibri_1507:function(t,e){!function(t,e){var n=function(t,n){this.namespace="scrollto",this.defaults={data:{arrowSelector:"",scrollTargetSelector:""}},e.apply(this,arguments),this.start()};n.prototype={start:function(){if(this.opts.data&&this.opts.data.arrowSelector&&this.opts.data.scrollTargetSelector){this.$arrow=this.$element.find(this.opts.data.arrowSelector);var e=t(this.opts.data.scrollTargetSelector);this.$arrow.smoothScrollAnchor({target:e})}},stop:function(){this.$arrow&&this.$arrow.off("click.smooth-scroll tap.smooth-scroll")},restart:function(){this.stop(),this.start()}},n.inherits(e),e.scrollto=n,e.Plugin.create("scrollto"),e.Plugin.autoload("scrollto")}(jQuery,Colibri)},__colibri_1508:function(t,e){!function(t,e,n){
1527/*! Computed Style - v0.1.0 - 2012-07-19
1528   * https://github.com/bbarakaci/computed-style
1529   * Copyright (c) 2012 Burak Barakaci; Licensed MIT */
1530var i=function(){var t={getAll:function(t){return n.defaultView.getComputedStyle(t)},get:function(t,e){return this.getAll(t)[e]},toFloat:function(t){return parseFloat(t,10)||0},getFloat:function(t,e){return this.toFloat(this.get(t,e))},_getAllCurrentStyle:function(t){return t.currentStyle}};return n.documentElement.currentStyle&&(t.getAll=t._getAllCurrentStyle),t}(),r=function(){function e(t){this.element=t,this.replacer=n.createElement("div"),this.replacer.style.visibility="hidden",this.hide(),t.parentNode.insertBefore(this.replacer,t)}return e.prototype={replace:function(){var t=this.replacer.style,e=i.getAll(this.element);t.width=this._width(),t.height=this._height(),t.marginTop=e.marginTop,t.marginBottom=e.marginBottom,t.marginLeft=e.marginLeft,t.marginRight=e.marginRight,t.cssFloat=e.cssFloat,t.styleFloat=e.styleFloat,t.position=e.position,t.top=e.top,t.right=e.right,t.bottom=e.bottom,t.left=e.left,t.display=e.display},hide:function(){this.replacer.style.display="none"},_width:function(){return this.element.getBoundingClientRect().width+"px"},_widthOffset:function(){return this.element.offsetWidth+"px"},_height:function(){return jQuery(this.element).outerHeight()+"px"},_heightOffset:function(){return this.element.offsetHeight+"px"},destroy:function(){for(var e in t(this.replacer).remove(),this)this.hasOwnProperty(e)&&(this[e]=null)}},n.documentElement.getBoundingClientRect().width||(e.prototype._width=e.prototype._widthOffset,e.prototype._height=e.prototype._heightOffset),{MimicNode:e,computedStyle:i}}();function o(){this._vendor=null}o.prototype={_vendors:{webkit:{cssPrefix:"-webkit-",jsPrefix:"Webkit"},moz:{cssPrefix:"-moz-",jsPrefix:"Moz"},ms:{cssPrefix:"-ms-",jsPrefix:"ms"},opera:{cssPrefix:"-o-",jsPrefix:"O"}},_prefixJsProperty:function(t,e){return t.jsPrefix+e[0].toUpperCase()+e.substr(1)},_prefixValue:function(t,e){return t.cssPrefix+e},_valueSupported:function(t,e,n){try{return n.style[t]=e,n.style[t]===e}catch(t){return!1}},propertySupported:function(t){return void 0!==n.documentElement.style[t]},getJsProperty:function(t){if(this.propertySupported(t))return t;if(this._vendor)return this._prefixJsProperty(this._vendor,t);var e;
1530for(var n in this._vendors)if(e=this._prefixJsProperty(this._vendors[n],t),this.propertySupported(e))return this._vendor=this._vendors[n],e;return null},getCssValue:function(t,e){var i,r=n.createElement("div"),o=this.getJsProperty(t);if(this._valueSupported(o,e,r))return e;if(this._vendor&&(i=this._prefixValue(this._vendor,e),this._valueSupported(o,i,r)))return i;for(var a in this._vendors)if(i=this._prefixValue(this._vendors[a],e),this._valueSupported(o,i,r))return this._vendor=this._vendors[a],i;return null}};var a,s=new o,c=s.getJsProperty("transform");var u,l=s.getCssValue("position","sticky"),f=s.getCssValue("position","fixed");function h(e,n,i){this.child=e,this._$child=t(e),this.parent=n,this.options={className:"fixto-fixed",startAfterNode:{enabled:!1,selector:""},animations:{enabled:!1,currentInAnimationClass:"",currentOutAnimationClass:"",allInAnimationsClasses:"",allOutAnimationsClasses:"",duration:0},top:0,zIndex:""},this._setOptions(i),this._initAnimations()}function p(t,e,n){h.call(this,t,e,n),this._replacer=new r.MimicNode(t),this._ghostNode=this._replacer.replacer,this._saveStyles(),this._saveViewportHe
1530ight(),this._proxied_onscroll=this._bind(this._onscroll,this),this._proxied_onresize=this._bind(this._onresize,this),this.start()}function d(t,e,n){h.call(this,t,e,n),this.start()}"Microsoft Internet Explorer"===navigator.appName&&(u=parseFloat(navigator.appVersion.split("MSIE")[1])),h.prototype={_mindtop:function(){var t=0;if(this._$mind)for(var e,n,r=0,o=this._$mind.length;r<o;r++)if((n=(e=this._$mind[r]).getBoundingClientRect()).height)t+=n.height;else{var a=i.getAll(e);t+=e.offsetHeight+i.toFloat(a.marginTop)+i.toFloat(a.marginBottom)}return t},_updateOutAnimationDuration:function(){var t=this.options.animations.duration;isNaN(t)&&(t=0),this._animationDuration=t},_initAnimations:function(){var e=this.options.animations;this._$child.removeClass(e.allInAnimationsClasses),this._$child.removeClass(e.allOutAnimationsClasses);var n=this;this._updateOutAnimationDuration(),this._animationOutDebounce=t.debounce(function(){n._$child.removeClass(n.options.animations.allOutAnimationsClasses),n._inOutAnimation=!1,n._unfix(),n._removeTransitionFromOutAnimation()},100),this._animationInDebounce=t.debounce(function(){n._inInAnimation=!1,n._$child.removeClass(n.options.animations.allInAnimationsClasses)},this._animationDuration)},_removeTransitionFromOutAnimation:function(){this._$child.addClass("h-global-transition-disable");var t=this._$child.css("transition-duration").match(/\d+/)[0];t||(t=0);var e=this;setTimeout(function(){e._$child&&e._$child.removeClass("h-global-transition-disable")},1e3*t+500)},_passedStartAfterNode:function(){var t=this._$startAfterNode;if(t&&t.length>0){var e=this._afterElementOffsetTop,n=t.outerHeight();return this._scrollTop>e+n}return!0},stop:function(){this._stop(),this._running=!1},start:function(){this._running||(this._start(),this._running=!0)},destroy:function(){for(var t in this.stop(),this._destroy(),this._$child.removeData("fixto-instance"),this)this.hasOwnProperty(t)&&(this[t]=null)},_setOptions:function(e){t.extend(!0,this.options,e),this.options.mind&&(this._$mind=t(this.options.mind)),this.options.startAfterNode.enabled&&this.options.startAfterNode.selector&&(this._$startAfterNode=t(this.options.startAfterNode.selector))},setOptions:function(t){this._setOptions(t),this.refresh()},_stop:function(){},_start:function(){},_destroy:function(){},refresh:function(){}},p.prototype=new h,t.extend(p.prototype,{_bind:function(t,e){return function(){return t.call(e)}},_toresize:8===u?n.documentElement:e,_scriptCallIsValid:function(e){if(!Colibri.isCustomizerPreview())return!0;var n=t(e).closest(".h-navigation_outer").get(0);return!n||!!n.__vue__},_onscroll:function(){if(this._scrollTop=n.documentElement.scrollTop||n.body.scrollTop,this._parentBottom=this.parent.offsetHeight+this._fullOffset("offsetTop",this.parent),!this.options.startAfterNode||this._passedStartAfterNode())if(this.fixed){if(this.options.toBottom){if(this._scrollTop>=this._fullOffset("offsetTop",this._ghostNode))return void this._unfixFromScrollListener()}else if(this._scrollTop>this._parentBottom||this._scrollTop<=this._fullOffset("offsetTop",this._ghostNode)-this.options.top-this._mindtop())return void this._unfixFromScrollListener();this._adjust()}else{var t=i.getAll(this.child);(this._scrollTop<this._parentBottom&&this._scrollTop>this._fullOffset("offsetTop",this.child)-this.options.top-this._mindtop()&&this._viewportHeight>this.child.offsetHeight+i.toFloat(t.marginTop)+i.toFloat(t.marginBottom)||this.options.toBottom)&&(this._fix(),this._adjust())}else this.fixed&&!this._inOutAnimation&&this._unfixFromScrollListener()},_adjust:function(){var e=0,n=this._mindtop(),r=0,o=i.getAll(this.child),s=null;if(a&&(s=this._getContext())&&(e=Math.abs(s.getBoundingClientRect().top)),(r=this._parentBottom-this._scrollTop-(this.child.offsetHeight+i.toFloat(o.marginBottom)+n+this.options.top))>0&&(r=0),this.options.toBottom);else{var c=this.options.top;0===c&&(c=t("body").offset().top),this.child.style.top=Math.round(r+n+e+c-i.toFloat(o.marginTop))+"px"}},_fullOffset:function(t,e,n){for(var i=e[t],r=e.offsetParent;null!==r&&r!==n;)i+=r[t],r=r.offsetParent;return i},_getContext:function(){for(var t,e=this.child,r=null;!r;){if((t=e.parentNode)===n.documentElement)return null;if("none"!==i.getAll(t)[c]){r=t;break}e=t}return r},_fix:function(){var e=this.child,r=e.style,o=i.getAll(e),s=e.getBoundingClientRect().left,c=o.width;if(this._$child.trigger("fixto-add"),this._saveStyles(),n.documentElement.currentStyle&&(c=e.offsetWidth,"border-box"!==o.boxSizing&&(c-=i.toFloat
1530(o.paddingLeft)+i.toFloat(o.paddingRight)+i.toFloat(o.borderLeftWidth)+i.toFloat(o.borderRightWidth)),c+="px"),a){this._getContext();s=this._$child.offset().left}if(this._replacer.replace(),r.left=s-i.toFloat(o.marginLeft)+"px",r.width=c,r.position="fixed",this.options.toBottom)r.top="",r.bottom=this.options.top+i.toFloat(o.marginBottom)+"px";else{r.bottom="";var u=this.options.top;0===u&&(u=t("body").offset().top),r.top=this._mindtop()+u-i.toFloat(o.marginTop)+"px"}this.options.zIndex&&(this.child.style.zIndex=this.options.zIndex),this._$child.addClass(this.options.className);var l=this.options.animations;this._$child.removeClass(l.allInAnimationsClasses),l.enabled&&(this._$child.addClass(l.currentInAnimationClass),this._inInAnimation||(this._inInAnimation=!0,this._animationInDebounce())),this.fixed=!0,this._$child.trigger("fixto-added")},_unfixFromScrollListener:function(){this._$child.trigger("fixto-unnfix-from-scroll"),this.options.animations.enabled?this._unfixTriggerAnimation():this._unfix()},_getAfterElementOffsetTop:function(){var t=this._$startAfterNode;if(t&&t.length>0){var e=t.get(0),n=0;do{n+=e.offsetTop,e=e.offsetParent}while(e);return n=n<0?0:n}return 0},_unfix:function(){this._replacer.hide();var t=this.child.style;t.position=this._childOriginalPosition,t.top=this._childOriginalTop,t.bottom=this._childOriginalBottom,t.width=this._childOriginalWidth,t.left=this._childOriginalLeft,t.zIndex=this._childOriginalZIndex,this.options.always||(this._$child.removeClass(this.options.className),this._$child.trigger("fixto-removed")),this.fixed=!1},_unfixTriggerAnimation:function(){this._$child.trigger("fixto-animated-remove"),this._animationInDebounce.flush();var t=this.options.animations;this._$child.removeClass(t.allInAnimationsClasses),this._$child.removeClass(t.allOutAnimationsClasses),t.enabled&&this._$child.addClass(t.currentOutAnimationClass),this._inOutAnimation=!0,this._animationOutDebounce()},_saveStyles:function(){this._animationOutDebounce.flush();var t=this.child.style;this._childOriginalPosition=t.position,this.options.toBottom?(this._childOriginalTop="",this._childOriginalBottom=t.bottom):(this._childOriginalTop=t.top,this._childOriginalBottom=""),this._childOriginalWidth=t.width,this._childOriginalLeft=t.left,this._childOriginalZIndex=t.zIndex,this._afterElementOffsetTop=this._getAfterElementOffsetTop()},_onresize:function(){this.refresh()}
1530,_saveViewportHeight:function(){this._viewportHeight=e.innerHeight||n.documentElement.clientHeight},_stop:function(){this._unfix(),t(e).unbind("scroll.fixto mousewheel",this._proxied_onscroll),t(this._toresize).unbind("resize.fixto",this._proxied_onresize)},_start:function(){this._onscroll(),t(e).bind("scroll.fixto mousewheel",this._proxied_onscroll),t(this._toresize).bind("resize.fixto",this._proxied_onresize)},_destroy:function(){this._replacer.destroy()},refresh:function(){this._saveViewportHeight(),this._unfix(),this._onscroll()}}),d.prototype=new h,t.extend(d.prototype,{_start:function(){var t=i.getAll(this.child);this._childOriginalPosition=t.position,this._childOriginalTop=t.top,this.child.style.position=l,this.refresh()},_stop:function(){this.child.style.position=this._childOriginalPosition,this.child.style.top=this._childOriginalTop},refresh:function(){this.child.style.top=this._mindtop()+this.options.top+"px"}});var _=function(t,e,i){return l&&!i||l&&i&&!1!==i.useNativeSticky?new d(t,e,i):f?(void 0===a&&(r=!1,o=n.createElement("div"),s=n.createElement("div"),o.appendChild(s),o.style[c]="translate(0)",o.style.marginTop="10px",o.style.visibility="hidden",s.style.position="fixed",s.style.top=0,n.body.appendChild(o),s.getBoundingClientRect().top>0&&(r=!0),n.body.removeChild(o),a=r),new p(t,e,i)):"Neither fixed nor sticky positioning supported";var r,o,s};u<8&&(_=function(){return"not supported"}),t.fn.fixTo=function(e,n){var i=t(e),r=0;return this.each(function(){var o=t(this).data("fixto-instance");o?o[e].call(o,n):t(this).data("fixto-instance",_(this,i[r],n));r++})}}(window.jQuery,window,document)},__colibri_1509:function(t,e){!function(t,e){var n=function(t,n){this.namespace="navigation",this.defaults={data:{sticky:{className:"h-navigation_sticky",startAfterNode:{enabled:!1,selector:""},animations:{enabled:!1,currentInAnimationClass:"",currentOutAnimationClass:"",allInAnimationsClasses:"",allOutAnimationsClasses:"",duration:0},zIndex:9999,responsiveWidth:!0,center:!0,useShrink:!0,toBottom:!1,useNativeSticky:!1,always:!1},overlap:!1,overlapIsActive:!1}},e.apply(this,arguments),this.computeOverlapPaddingDelayed=jQuery.debounce(this.computeOverlapPadding.bind(this),10),this.start()};n.prototype={start:function(){var t={};this.opts.data&&(t=this.opts.data),t.sticky&&this.startSticky(t.sticky),t.overlap&&this.startOverlap()},scriptCallIsValid:function(){if(!e.isCustomizerPreview())return!0;var n=t(this.$element).closest(".h-navigation_outer").get(0);return!n||!!n.__vue__},startOverlap:function(){var e=this.$element.closest("[data-colibri-navigation-overlap]");0===e.length&&(e=this.$element),this.overlapTarget=e.get(0),this.overlapIsActive=!0,t(window).bind("resize.overlap orientationchange.overlap",this.computeOverlapPaddingDelayed),window.addResizeListener(this.overlapTarget,this.computeOverlapPaddingDelayed),this.computeOverlapPadding()},stopOverlap:function(){this.overlapIsActive=!1,this.$sheet&&(document.head.removeChild(this.$sheet),this.$sheet=null),t(window).off(".overlap"),window.removeResizeListener(this.overlapTarget,this.computeOverlapPaddingDelayed)},computeOverlapPadding:function(){if(this.overlapIsActive){this.$sheet||(this.$sheet=document.createElement("style"),document.head.appendChild(this.$sheet));var t=this.overlapTarget.offsetHeight+"px !important;";this.$sheet.innerHTML=".h-navigation-padding{padding-top:"+t+"}"}},startSticky:function(n){var i=this;this.$element.data("stickData",n),this.$element.fixTo("body",n),e.isCustomizerPreview()||this.prepareSticky(),this.$element.bind("fixto-added.sticky",function(){i.$element.attr("data-in-sticky-state",!0)});this.$element.closest(".h-navigation_outer");this.$element.bind("fixto-add.sticky",function(){i.clearResetTimeouts();var t=i.$element.closest(".h-navigation_outer");t.css("animation-duration",""),t.css("min-height",t[0].offsetHeight)}),this.$element.bind("fixto-removed.sticky",function(){i.$element.removeAttr("data-in-sticky-state"),i.resetParentHeight()}),t(window).bind("resize.sticky orientationchange.sticky",function(){setTimeout(i.resizeCallback.bind(i),50)}),t(window).trigger("resize.sticky")},stopSticky:function(){var e=this.fixToInstance();e&&(e.destroy(),t(window).off(".sticky"),this.$element.removeData("fixto-instance"),this.resetParentHeight())},resetParentHeight:function(){this.clearResetTimeouts();var t=this.$element.closest(".h-navigation_outer"),e=1e3*parseFloat(this.$element.css("animation-duration"));t.css("animation-duration","0s"),this.resetTimeoutHeight=setTimeout(function(){t.css("min-height","")},1e3),this.resetTimeoutAnimation=setTimeout(function(){t.css("animation-duration","")},e+50)},clearResetTimeouts:function(){clearTimeout(this.resetTimeoutHeight),clearTimeout(this.resetTimeoutAnimation)},stop:function(){this.stopSticky(),this.stopOverlap()},prepareSticky:function(){var e=this;this.normal=this.$element.find("[data-nav-normal]"),this.sticky=this.$element.find("[data-nav-sticky]"),this.sticky.find("span[data-placeholder]").each(function(){t(this).parent().attr("data-placeholder",t(this).attr("data-placeholder")),t(this).remove()}),this.sticky.length&&this.sticky.children().length&&(this.$element.bind("fixto-added.sticky",function(){e.moveElementsToSticky()}),this.$element.bind("fixto-removed.sticky",function(){e.moveElementsToNormal()}))},moveElementsToSticky:function(){var e=this;this.sticky.find("[data-placeholder]").each(function(n,i){$this=t(this);var r=$this.attr("data-placeholder"),o=e.normal.find("[data-placeholder-provider="+r+"] .h-column__content >"),a=$this;a&&o.length&&t(a).append(o)}),this.normal.hide(),this.sticky.show()},moveElementsToNormal:function(){var e=this;this.sticky.find("[data-placeholder]").each(function(n,i){$this=t(this);var r=$this.attr("data-placeholder"),o=e.sticky.find("[data-placeholder="+r+"] >"),a=e.normal.find("[data-placeholder-provider="+r+"] .h-column__content");a&&o.length&&t(a).append(o)}),this.normal.show(),this.sticky.hide()},fixToInstance:function(){var t=this.$element.data();return!(!t||!t.fixtoInstance)&&t.fixtoInstance},resizeCallback:function(){if(window.innerWidth<1024){var t=(e=this.$element.data()).stickData;if(!t)return;if(!(n=e.fixtoInstance))return!0;window.innerWidth<=767?t.stickyOnMobile||n.stop():t.stickyOnTablet||n.stop()}else{var e,n;if(!(e=this.$element.data()))return;if(!(n=e.fixtoInstance))return!0;n.refresh(),n.start()}}},n.inherits(e),e.navigation=n,e.Plugin.create("navigation"),e.Plugin.autoload("navigation")}(jQuery,Colibri)},__colibri_1510:function(t,e){!function(t,e){var n=function(t,n){this.namespace="offcanvas",this.defaults={target:null,push:!0,width:"250px",direction:"left",toggleEvent:"click",clickOutside:!0,animationOpen:"slideInLeft",animationClose:"slideOutLeft",callbacks:["open","opened","close","closed"],offcanvasOverlayId:null,$overlayElement:null,targetId:null},e.apply(this,arguments),this.utils=new e.Utils,this.detect=new e.Detect,this.start()};n.prototype={start:function(){if(this.hasTarget()){var e=this.opts.offcanvasOverlayId,n=t("#"+e+".offscreen-overlay");this.opts.$overlayElement=n,this.buildTargetWidth(),this.buildAnimationDirection(),this.$close=this.getCloseLink(),this.$element.on(this.opts.toggleEvent+"."+this.namespace,t.proxy(this.toggle,this)),this.$target.addClass("offcanvas"),this.$target.trigger("colibri.offcanvas.ready"),this.moveOffcanvasToBody(),this.addOffcanvasOverlayLogic()}},stop:function(){this.closeAll(),this.removeOffcanvasElements(),this.$element.off("."+this.namespace),this.$close&&this.$close.off("."+this.namespace),t(document).off("."+this.namespace)},removeOffcanvasElements:function(){this.$target.remove(),this.opts.$overlayElement.remove()},moveOffcanvasToBody:function(){var t=this.$target[0];document.body.appendChild(t);var e=this.opts.$overlayElement[0];document.body.appendChild(e)},addOffcanvasOverlayLogic:function(){var t=this.opts.$overlayElement,e=this.$target;e.length&&(t.on("scroll touchmove mousewheel",function(t){return t.preventDefault(),t.stopPropagation(),!1}),e.on("colibri.offcanvas.open",function(){t.addClass("h-offcanvas-opened")}),e.on("colibri.offcanvas.close",function(){t.removeClass("h-offcanvas-opened")}))},toggle:function(t){this.isOpened()?this.close(t):this.open(t)},buildTargetWidth:function(){this.opts.width=t(window).width()<parseInt(this.opts.width)?"100%":this.opts.width},buildAnimationDirection:function(){"right"===this.opts.direction&&(this.opts.animationOpen="slideInRight",this.opts.animationClose
1530="slideOutRight")},getCloseLink:function(){return this.$target.find(".close")},open:function(n){n&&n.preventDefault(),this.isOpened()||(this.closeAll(),this.callback("open"),this.$target.addClass("offcanvas-"+this.opts.direction),this.$target.css("width",Math.min(parseInt(this.opts.width),window.innerWidth-100)),this.$target.css("right","-"+Math.min(parseInt(this.opts.width),window.innerWidth-100)),this.pushBody(),this.$target.trigger("colibri.offcanvas.open"),e.animate(this.$target,this.opts.animationOpen,t.proxy(this.onOpened,this)),this.$element.trigger("colibri.offcanvas.open"))},closeAll:function(){var n=t(document).find(".offcanvas");0!==n.length&&(n.each(function(){var n=t(this);n.hasClass("open")&&(n.css("width",""),e.animate(n,"hide"),n.removeClass("open offcanvas-left offcanvas-right"))}),t(document).off("."+this.namespace),t("body").css("left",""))},close:function(n){if(n){var i=t(n.target);if(("A"===i[0].tagName||"BUTTON"===i[0].tagName||i.parents("a").length)&&0!==i.closest(".offcanvas").length&&!i.hasClass("close"))return;n.preventDefault()}this.isOpened()&&(this.callback("close"),this.pullBody(),this.$target.trigger("colibri.offcanvas.close"),e.animate(this.$target,this.opts.animationClose,t.proxy(this.onClosed,this)))},isOpened:function(){return this.$target.hasClass("open")},onOpened:function(){window.wp&&window.wp.customize||this.$target.find("a").eq(0).focus(),this.opts.clickOutside&&t(document).on("click."+this.namespace+" tap."+this.namespace,t.proxy(this.close,this)),this.detect.isMobileScreen()&&t("html").addClass("no-scroll"),t(document).on("keyup."+this.namespace,t.proxy(this.handleKeyboard,this)),t(document).on("keydown."+this.namespace,t.proxy(this.handleKeyDown,this)),this.$close.on("click."+this.namespace,t.proxy(this.close,this)),this.$target.addClass("open"),this.callback("opened")},onClosed:function(){this.detect.isMobileScreen()&&t("html").removeClass("no-scroll"),this.$target.css("width","").removeClass("offcanvas-"+this.opts.direction),this.$close.off("."+this.namespace),t(document).off("."+this.namespace),this.$target.removeClass("open"),this.callback("closed"),this.$target.trigger("colibri.offcanvas.closed")},handleKeyboard:function(e){27===e.which&&(document.activeElement&&t(document.activeElement).closest(".offcanvas").length&&this.$element.focus(),this.close())},handleKeyDown:function(t){if(9===t.which){var e=this.$target.find("a:visible"),n=t.shiftKey;if(e.last().is(t.target)&&!n)return e.first().focus(),t.preventDefault(),void t.stopPropagation();if(e.first().is(t.target)&&n)return e.last().focus(),t.preventDefault(),void t.stopPropagation()}},pullBody:function(){this.opts.push&&t("body").animate({left:0},350,function(){t(this).removeClass("offcanvas-push-body")})},pushBody:function(){if(this.opts.push){var e="left"===this.opts.direction?{left:this.opts.width}:{left:"-"+this.opts.width};t("body").addClass("offcanvas-push-body").animate(e,200)}}},n.inherits(e),e.offcanvas=n,e.Plugin.create("offcanvas"),e.Plugin.autoload("offcanvas")}(jQuery,Colibri)},__colibri_1511:function(t,e){!function(t,e){var n='<svg aria-hidden="true" data-prefix="fas" data-icon="angle-right" class="svg-inline--fa fa-angle-right fa-w-8" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 512"><path fill="currentColor" d="M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z"></path></svg>',i=function(t,n){this.namespace="dropdown-menu",this.defaults={menuSelector:".colibri-menu",offCanvasWrapper:".colibri-menu-container",arrowSelector:"svg.svg-inline--fa",linkSelector:".menu-item-has-children > a, .page_item_has_children > a",menuLinkSelector:" > .menu-item-has-children > a, > .page_item_has_children > a",subMenuLinkSelector:" ul .menu-item-has-children > a, ul .page_item_has_children > a",$menu:null},e.apply(this,arguments),this.start()};i.prototype={start:function(){var e=this,n=this.$element.find(this.opts.menuSelector).first();this.opts.$menu=n,this.stop(),this.addListener(),this.addFocusListener(),this.addSvgArrows(),this.addReverseMe
1530nuLogic(),this.addTabletMenuLogic(),t(document).ready(function(){e.addMenuScrollSpy(n)})},stop:function(){this.removeAllSvgArrows(),this.removeListeners()},copyLiEventTaA:function(e){var n="";(e.target&&e.target.tagName&&(n=e.target.tagName),"a"!==n.toLowerCase())&&t(e.target).find("> a")[0].click()},addListener:function(){this.opts.$menu.find("li").on("click",this.copyLiEventTaA)},toggleFocus:function(t){for(var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];this.opts.$menu[0]!==t;)"li"===t.tagName.toLowerCase()&&(e?t.classList.add("hover"):t.classList.remove("hover")),t=t.parentElement},addFocusListener:function(){var t=this,e=this.opts.$menu.find("a");e.on("focus",function(e){t.toggleFocus(e.currentTarget)}),e.on("blur",function(e){t.toggleFocus(e.currentTarget,!1)})},addSvgArrows:function(){switch(this.removeAllSvgArrows(),this.opts.data&&this.opts.data.type?this.opts.data.type:null){case"horizontal":this.addHorizontalMenuSvgArrows();break;case"vertical":this.addVerticalMenuSvgArrow()}},addHorizontalMenuSvgArrows:function(){var e=this.opts.$menu,i=this.opts.arrowSelector,r=this.opts.menuLinkSelector,o=this.opts.subMenuLinkSelector;e.find(r).each(function(){0===t(this).children(i).length&&t(this).append('<svg aria-hidden="true" data-prefix="fas" data-icon="angle-down" class="svg-inline--fa fa-angle-down fa-w-10" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"><path fill="currentColor" d="M143 352.3L7 216.3c-9.4-9.4-9.4-24.6 0-33.9l22.6-22.6c9.4-9.4 24.6-9.4 33.9 0l96.4 96.4 96.4-96.4c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9l-136 136c-9.2 9.4-24.4 9.4-33.8 0z"></path></svg>')}),e.find(o).each(function(){0===t(this).children(i).length&&t(this).append(n)})},addVerticalMenuSvgArrow:function(){var e=this.opts.$menu,i=this.opts.arrowSelector,r=this.opts.linkSelector;e.find(r).each(function(){0===t(this).children(i).length&&t(this).append(n)})},removeAllSvgArrows:function(){this.opts.$menu&&this.opts.$menu.find(this.opts.arrowSelector).remove()},removeListeners:function(){var t=this.opts.$menu;t.off("mouseover.navigation"),t.find("li").off("click",this.copyLiEventTaA),this.removeTabletLogic()},removeTabletLogic:function(){this.opts.$menu.off("tap.navigation")},addReverseMenuLogic:function(){var e=this.opts.$menu,n=this;e.on("mouseover.navigation","li",function(){e.find("li.hover").removeClass("hover"),n.setOpenReverseClass(e,t(this))})},setOpenReverseClass:function(t,e){if(this.getItemLevel(t,e)>0){var n=e.children("ul"),i=n.length&&e.offset().left+e.width()+300>window.innerWidth,r=n.length&&e.closest(".open-reverse").length;i||r?n.addClass("open-reverse"):n.length&&n.removeClass("open-reverse")}},getItemLevel:function(t,e){var n=this.opts.menuSelector;return e.parentsUntil(n).filter("li").length},addTabletMenuLogic:function(){var t=this.opts.$menu;this.opts.clickOnLink||(this.opts.clickOnLink=this.clickOnLink.bind(this)),this.opts.clickOnArrow||(this.opts.clickOnArrow=this.clickOnArrow.bind(this)),t.off("tap.navigation",this.opts.clickOnArrow),t.on("tap.navigation","li.menu-item > a svg",this.opts.clickOnArrow),t.off("tap.navigation",this.opts.clickOnLink),t.on("tap.navigation","li.menu-item > a",this.opts.clickOnLink)},clickOnLink:function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=t(e.target),r=i.closest("li"),o=i.closest("a"),a=this.opts.$menu;if(r.children("ul").length)if(this.isSelectedItem(r)){var s=o.attr("href");if(0===s.indexOf("#")){var c=s.replace("#","").trim();if(!c||!t("#"+c).length)return}e.stopPropagation(),n&&e.preventDefault(),this.deselectItems(a,r)}else e.stopPropagation(),e.preventDefault(),this.selectItem(a,r);else e.stopPropagation(),(n||!n&&this.isSelectedItem(r))&&e.preventDefault(),this.deselectItems(a,r)},clickOnArrow:function(t){this.clickOnLink(t,!0)},selectItem:function(e,n){this.deselectItems(e,n),n.attr("data-selected-item",!0),this.clearMenuHovers(e,n),n.addClass("hover"),this.setOpenReverseClass(e,n);var i=this;t("body").on("tap.navigation-clear-selection","*",function(){var t=jQuery(this);i.clearSelectionWhenTapOutside(t,e)}),t(window).on("scroll.navigation-clear-selection",function(){var t=jQuery(this);i.clearSelectionWhenTapOutside(t,e)})}
1530,deselectItems:function(e,n){n.removeClass("hover"),e.find("[data-selected-item]").each(function(){t(this).removeAttr("data-selected-item");var n=e.children("ul");e.is(".mobile-menu")&&n.slideDown()})},isSelectedItem:function(t){return t.is("[data-selected-item]")},clearMenuHovers:function(e,n){var i=this;e.find("li.hover").each(function(){n&&i.containsSelectedItem(t(this))||t(this).removeClass("hover")})},containsSelectedItem:function(t){return t.find("[data-selected-item]").length>0||t.is("[data-selected-item]")},clearSelectionWhenTapOutside:function(e,n){t("body").off("tap.navigation-clear-selection"),t(window).off("scroll.navigation-clear-selection"),e.is(n)||t.contains(n[0],this)||this.clearMenuHovers(n)},addMenuScrollSpy:function(e){var n=e;t.fn.scrollSpy&&n.find("a").scrollSpy({onChange:function(){n.find(" > .current-menu-item, > .current_page_item").removeClass("current-menu-item current_page_item"),t(this).closest("li").addClass("current-menu-item current_page_item")},onLeave:function(){t(this).closest("li").removeClass("current-menu-item current_page_item")},smoothScrollAnchor:!0,offset:function(){var t=n.closest(".h-navigation_sticky");return t.length?t[0].getBoundingClientRect().height:0}}),t(window).trigger("smoothscroll.update")}},i.inherits(e),e["dropdown-menu"]=i,e.Plugin.create("dropdown-menu"),e.Plugin.autoload("dropdown-menu")}(jQuery,Colibri)},__colibri_1512:function(t,e){!function(t,e){var n=function(t,n){this.namespace="light-box",this.defaults={lightboxMedia:null},e.apply(this,arguments),this.start()};n.prototype={start:function(){var t=this.opts&&this.opts.lightboxMedia?this.opts.lightboxMedia:null;this.$element.click({element:this.$element,mediaType:t},this.open)},open:function(e){e.preventDefault(),e.stopImmediatePropagation();var n=e.data.element,i=e.data.mediaType;t.fancybox.open({type:i,src:n.attr("href")})}},n.inherits(e),e["light-box"]=n,e.Plugin.create("light-box"),e.Plugin.autoload("light-box")}(jQuery,Colibri)},__colibri_1513:function(t,e){!function(t,e){var n=function(t,n){this.namespace="fancy-title",this.defaults={typeAnimationDurationIn:.1,typeAnimationDurationOut:.1,animationDuration:1},e.apply(this,arguments),this.start()};n.prototype={start:function(){if("type"!==this.opts.typeAnimation)jQuery(this.$element).animatedHeadline({animationType:this.opts.typeAnimation,animationDelay:1e3*this.opts.animationDuration});else if(!this.isIE()){jQuery(this.$element).attr("fancy-id");var t=this.opts.rotatingWords.split("\n");t.unshift(this.opts.word);var e={strings:t,typeSpeed:1e3*this.opts.typeAnimationDurationIn,backSpeed:1e3*this.opts.typeAnimationDurationOut,contentType:"html",smartBackspace:!1,loop:!0};this.$element.empty();new Typed(this.$element[0],e)}},isIE:function(){var t=navigator.userAgent;return t.indexOf("MSIE ")>-1||t.indexOf("Trident/")>-1}},n.inherits(e),e["fancy-title"]=n,e.Plugin.create("fancy-title"),e.Plugin.autoload("fancy-title")}(jQuery,Colibri)},__colibri_1514:function(t,e){var n,i;n=jQuery,i=function(t){var e=n.extend({animationType:"rotate-1",animationDelay:2500,barAnimationDelay:3800,barWaiting:800,lettersDelay:50,typeLettersDelay:150,selectionDuration:500,typeAnimationDelay:1300,revealDuration:600,revealAnimationDelay:1500},t),i=e.animationDelay;function r(t){var i=s(t);if(t.parents(".ah-headline").hasClass("type")){var u=t.parent(".ah-words-wrapper");u.addClass("selected").removeClass("waiting"),setTimeout(function(){u.removeClass("selected"),t.removeClass("is-visible").addClass("is-hidden").children("i").removeClass("in").addClass("out")},e.selectionDuration),setTimeout(function(){o(i,e.typeLettersDelay)},e.typeAnimationDelay)}else if(t.parents(".ah-headline").hasClass("letters")){var l=t.children("i").length>=i.children("i").length;!function t(i,o,a,u){i.removeClass("in").addClass("out");i.is(":last-child")?a&&setTimeout(function(){r(s(o))},e.animationDelay):setTimeout(function(){t(i.next(),o,a,u)},u);if(i.is(":last-child")&&n("html").hasClass("no-csstransitions")){var l=s(o);c(o,l)}}(t.find("i").eq(0),t,l,e.lettersDelay),a(i.find("i").eq(0),i,l,e.lettersDelay)}else t.parents(".ah-headline").hasClass("clip")?t.parents(".ah-words-wrapper").animate({width:"2px"},e.revealDuration,function(){c(t,i),o(i)}):t.parents(".ah-headline").hasClass("loading-bar")?(t.parents(".ah-words-wrapper").removeClass("is-loading"),c(t,i),setTimeout(function(){r(i)},e.barAnimationDelay),setTimeout(function(){t.parents(".ah-words-wrapper").addClass("is-loading")},e.barWaiting)):(c(t,i),setTimeout(function(){r(i)},e.animationDelay))}function o(t,n){t.parents(".ah-headline").hasClass("type")?(a(t.find("i").eq(0),t,!1,n),t.addClass("is-visible").removeClass("is-hidden")):t.parents(".ah-headline").hasClass("clip")&&t.parents(".ah-words-wrapper").animate({width:t.width()+10},e.revealDuration,function(){setTimeout(function(){r(t)},e.revealAnimationDelay)})}function a(t,n,i,o){t.addClass("in").removeClass("out"),t.is(":last-child")?(n.parents(".ah-headline").hasClass("type")&&setTimeout(function(){n.parents(".ah-words-wrapper").addClass("waiting")},200),i||setTimeout(function(){r(n)},e.animationDelay)):setTimeout(function(){a(t.next(),n,i,o)},o)}function s(t){return t.is(":last-child")?t.parent().children().eq(0):t.next()}function c(t,e){t.removeClass("is-visible").addClass("is-hidden"),e.removeClass("is-hidden").addClass("is-visible")}this.each(function(){var t=n(this);if(e.animationType&&("type"===e.animationType||"rotate-2"===e.animationType||"rotate-3"===e.animationType||"scale"===e.animationType?t.find(".ah-headline").addClass("letters "+e.animationType):"clip"===e.animationType?t.find(".ah-headline").addClass(e.animationType+" is-full-width"):t.find(".ah-headline").addClass(e.animationType)),function(t){t.each(function(){var t=n(this),e=t.text().split(""),i=t.hasClass("is-visible");for(var r in e)t.parents(".rotate-2").length>0&&(e[r]="<em>"+e[r]+"</em>"),e[r]=i?'<i class="in">'+e[r]+"</i>":"<i>"+e[r]+"</i>";
1530var o=e.join("");t.html(o).css("opacity",1)})}(n(".ah-headline.letters").find("b")),t.hasClass("loading-bar"))i=e.barAnimationDelay,setTimeout(function(){t.find(".ah-words-wrapper").addClass("is-loading")},e.barWaiting);else if(t.hasClass("clip")){var o=t.find(".ah-words-wrapper"),a=o.width()+10;o.css("width",a)}else if(!t.find(".ah-headline").hasClass("type")){var s=0;t.find(".ah-words-wrapper b").each(function(){var t=n(this).width();t>s&&(s=t)}),t.find(".ah-words-wrapper").css("width",s)}setTimeout(function(){r(t.find(".is-visible").eq(0))},i)})},window.wp&&window.wp.customize?n.fn.animatedHeadline=function(){var t=this,e=arguments;setTimeout(function(){i.apply(t,e)},100)}:n.fn.animatedHeadline=i},__colibri_1516:function(t,e,n){},__colibri_1517:function(t,e){!function(t){function e(t){this.init(t)}e.prototype={value:0,size:100,startAngle:-Math.PI,thickness:"auto",fill:{gradient:["#3aeabb","#fdd250"]},emptyFill:"rgba(0, 0, 0, .1)",animation:{duration:1200,easing:"circleProgressEasing"},animationStartValue:0,reverse:!1,lineCap:"butt",constructor:e,el:null,canvas:null,ctx:null,radius:0,arcFill:null,lastFrameValue:0,init:function(e){t.extend(this,e),this.radius=this.size/2,this.initWidget(),this.initFill(),this.draw()},initWidget:function(){var e=this.canvas=this.canvas||t("<canvas>").prependTo(this.el)[0];e.width=this.size,e.height=this.size,this.ctx=e.getContext("2d")},initFill:function(){var e,n=this,i=this.fill,r=this.ctx,o=this.size;if(!i)throw Error("The fill is not specified!");if(i.color&&(this.arcFill=i.color),i.gradient){var a=i.gradient;if(1==a.length)this.arcFill=a[0];else if(a.length>1){for(var s=i.gradientAngle||0,c=i.gradientDirection||[o/2*(1-Math.cos(s)),o/2*(1+Math.sin(s)),o/2*(1+Math.cos(s)),o/2*(1-Math.sin(s))],u=r.createLinearGradient.apply(r,c),l=0;l<a.length;l++){var f=a[l],h=l/(a.length-1);t.isArray(f)&&(h=f[1],f=f[0]),u.addColorStop(h,f)}this.arcFill=u}}i.image&&(i.image instanceof Image?e=i.image:(e=new Image).src=i.image,e.complete?p():e.onload=p);function p(){var i=t("<canvas>")[0];i.width=n.size,i.height=n.size,i.getContext("2d").drawImage(e,0,0,o,o),n.arcFill=n.ctx.createPattern(i,"no-repeat"),n.drawFrame(n.lastFrameValue)}},draw:function(){this.animation?this.drawAnimated(this.value):this.drawFrame(this.value)},drawFrame:function(t){this.lastFrameValue=t,this.ctx.clearRect(0,0,this.size,this.size),this.drawEmptyArc(t),this.drawArc(t)},drawArc:function(t){var e=this.ctx,n=this.radius,i=this.getThickness(),r=this.startAngle;e.save(),e.beginPath(),this.reverse?e.arc(n,n,n-i/2,r-2*Math.PI*t,r):e.arc(n,n,n-i/2,r,r+2*Math.PI*t),e.lineWidth=i,e.lineCap=this.lineCap,e.strokeStyle=this.arcFill,e.stroke(),e.restore()},drawEmptyArc:function(t){var e=this.ctx,n=this.radius,i=this.getThickness(),r=this.startAngle;t<1&&(e.save(),e.beginPath(),t<=0?e.arc(n,n,n-i/2,0,2*Math.PI):this.reverse?e.arc(n,n,n-i/2,r,r-2*Math.PI*t):e.arc(n,n,n-i/2,r+2*Math.PI*t,r),e.lineWidth=i,e.strokeStyle=this.emptyFill,e.stroke(),e.restore())},drawAnimated:function(e){var n=this,i=this.el,r=t(this.canvas);r.stop(!0,!1),i.trigger("circle-animation-start"),r.css({animationProgress:0}).animate({animationProgress:1},t.extend({},this.animation,{step:function(t){var r=n.animationStartValue*(1-t)+e*t;n.drawFrame(r),i.trigger("circle-animation-progress",[t,r])}})).promise().always(function(){i.trigger("circle-animation-end")})},getThickness:function(){return t.isNumeric(this.thickness)?this.thickness:this.size/14},getValue:function(){return this.value},setValue:function(t){this.animation&&(this.animationStartValue=this.lastFrameValue),this.value=t,this.draw()}},t.circleProgress={defaults:e.prototype},t.easing.circleProgressEasing=function(t,e,n,i,r){return(e/=r/2)<1?i/2*e*e*e+n:i/2*((e-=2)*e*e+2)+n},t.fn.circleProgress=function(n,i){var r="circle-progress",o=this.data(r);if("widget"==n){if(!o)throw Error('Calling "widget" method on not initialized instance is forbidden');return o.canvas}if("value"==n){if(!o)throw Error('Calling "value" method on not initialized instance is forbidden');if(void 0===i)return o.getValue();var a=arguments[1];return this.each(function(){t(this).data(r).setValue(a)})}return this.each(function(){var i=t(this),o=i.data(r),a=t.isPlainObject(n)?n:{};if(o)o.init(a);else{var s=t.extend({},i.data());"string"==typeof s.fill&&(s.fill=JSON.parse(s.fill)),"string"==typeof s.animation&&(s.animation=JSON.parse(s.animation)),(a=t.extend(s,a)).el=i,o=new e(a),i.data(r,o)}})}}(jQuery)},__colibri_1518:function(t,e){!function(t,e){var n=function(t,n){this.namespace="counter",this.defaults={oldCheck:!1,newCheck:!1,firstTime:!1},e.apply(this,arguments),this.start()};n.prototype={start:function(){t.proxy(this.ready,this)(),t(window).scroll(t.proxy(this.ready,this))},stop:function(){},reset:function(t){var e=t.$element.children();t.$element.children().remove(),t.$element.append(e)},ready:function(){if(this.isScrolledIntoView(this)&&this.opts.oldCheck!==this.opts.newCheck&&!this.opts.firstTime&&(this.opts.firstTime=!0,this.opts.data)){var t=this.opts.data.type;switch(this.reset(this),t){case"number":this.countTo(this);break;case"circle":this.progressCircle(this);break;case"bar":this.progressBar(this)}}},isScrolledIntoView:function(e){var n=t(window).scrollTop(),i=n+t(window).height(),r=t(e.$element).offset().top,o=r+t(e.$element).height(),a=e.opts.newCheck,s=r<=i&&o>=n;return e.opts.oldCheck=a,e.opts.newCheck=s,s},countTo:function(e){var n=e.opts.data.data.countTo;e.$element.find(".h-counter-control").each(function(){t(this).prop("Counter",n.startVal).animate({Counter:n.endVal},{duration:1e3*n.duration,easing:"swing",step:function(i){var r=e.ceil10(i,-n.decimals).toLocaleStr
1530ing("en");r=r.replace(/,/gi,n.options.separator),t(this).text(n.options.prefix+r+n.options.suffix)}})})},progressBar:function(e){e.$element.find(".h-bar-progress").each(function(){t(this).find(".progress-bar").removeClass("progress-bar__animation").removeClass("hide-animation").addClass("progress-bar__animation"),e.countTo(e)})},progressCircle:function(e){var n=e.opts.data.data.circle,i=e.opts.data.data.titlePosition;e.$element.find(".h-circle-progress").each(function(){var r=t(this).find(".counter-content"),o=t(this).find(".title-circle"),a='<div class="content-circle-inside" style="position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)"></div>';t(this).empty(),t(this).circleProgress({value:n.progress/100,size:n.size,fill:n.fill,animation:n.animation,lineCap:"round",showProcent:!1,insertMode:"append",emptyFill:n.emptyFill,startAngle:n.startAngle,thickness:n.tickeness}),t(this).css({display:"flex","align-items":"center","justify-content":"center"}),"above"===i?(t(this).append(a),t(this).find(".content-circle-inside").append(o),t(this).find(".content-circle-inside").append(r)):(t(this).append(a),t(this).find(".content-circle-inside").append(r),t(this).find(".content-circle-inside").append(o)),e.countTo(e)})},ceil10:function(t,e){return this.decimalAdjust("ceil",t,e)},decimalAdjust:function(t,e,n){return void 0===n||0==+n?Math[t](e):(e=+e,n=+n,isNaN(e)||"number"!=typeof n||n%1!=0?NaN:(e=e.toString().split("e"),+((e=(e=Math[t](+(e[0]+"e"+(e[1]?+e[1]-n:-n)))).toString().split("e"))[0]+"e"+(e[1]?+e[1]+n:n))))}},n.inherits(e),e.counter=n,e.Plugin.create("counter"),e.Plugin.autoload("counter")}(jQuery,Colibri)},__colibri_1519:function(t,e){},__colibri_1520:function(t,e){var n=["webkit","moz","MS","o",""],i=function(t,e,i){for(var r=0;r<n.length;r++)n[r]||(e=e.toLowerCase()),t.addEventListener(n[r]+e,i,!1)};!function(t,e){var n=function(t,n){this.namespace="content-swap",this.defaults={data:{blockAnimationClass:"cs-block-animation"}},e.apply(this,arguments),this.start()};n.prototype={start:function(){var e=this;this.$hover=this.$element.find("[data-hover]"),this.$normal=this.$element.find("[data-normal]"),this.isAnimating=!1,this.runBack=!1,this.entering=!1;var n=this.opts.data.hoverEffect.replace("In","Out");if(this.endEffectClass=n+"EndEffect",this.$normal.removeClass(this.opts.data.hoverEffect+" "+this.opts.data.hoverEffect+"In "+this.opts.data.hoverEffect+"Out"),this.$hover.removeClass(this.opts.data.hoverEffect+" "+this.opts.data.hoverEffect+"In "+this.opts.data.hoverEffect+"Out"),this.isFlipEffect()){var r=this.opts.data.hoverEffect.replace("In","Out"),o=r.replace("Back","Front"),a=this.opts.data.blockAnimationClass;this.$hover.addClass(a+" "+r),this.$normal.addClass(a+" "+o)}var s=this;window.wp&&window.wp.customize||-1!==this.opts.data.hoverEffect.toLowerCase().indexOf("slide")&&this.$normal.parent().css("overflow","hidden"),this.$element.css("transform","translateZ(0)"),this.$element.hover(t.debounce(t.proxy(this.onMouseOver,this),50),t.debounce(t.proxy(this.onMouseOut,this),50)),i(this.$hover[0],"AnimationStart",function(){s.isAnimating=!0}),i(this.$hover[0],"AnimationEnd",function(){s.isAnimating=!1;var t=e.opts.data.hoverEffect.replace("In","Out");e.$hover.hasClass(t)&&!e.isFlipEffect()&&e.$hover.css("display","none"),s.runBack&&s.startOutAnimation()}),this.$hover.css({position:"absolute"}),this.isFlipEffect()?this.$hover.css("display",""):this.$hover.css("display","none")},isFlipEffect:function(){return this.$hover.parent().hasClass("flipper")},toggleExecuteBack:function(t){this.runBack=t},onMouseOver:function(){this.toggleExecuteBack(!1),this.isAnimating=!0,this.startOverAnimation()},onMouseOut:function(){this.isAnimating?this.toggleExecuteBack(!0):(this.isAnimating=!0,this.startOutAnimation())},startOverAnimation:function(){var t=this.opts.data.hoverEffect,e=t.replace("In","Out"),n=t.replace("Out","In"),i=e.replace("Back","Front"),r=n.replace("Back","Front");this.isFlipEffect()&&(this.$hover.removeClass(this.opts.data.blockAnimationClass),this.$normal.removeClass(this.opts.data.blockAnimationClass)),this.$hover.removeClass(e),this.$hover.addClass(n),this.$hover.css({display:""}),this.$normal.removeClass(i),this.$normal.addClass(r)},startOutAnimation:function(){var t=this.opts.data.hoverEffect,e=t.replace("Out","In"),n=t.replace("In","Out"),i=n.replace("Back","Front"),r=e.replace("Back","Front");this.$hover.removeClass(e),this.$hover.addClass(n),this.$normal.removeClass(r),this.$normal.addClass(i)}},n.inherits(e),e["content-swap"]=n,e.Plugin.create("content-swap"),e.Plugin.autoload("content-swap")}(jQuery,Colibri)},__colibri_1521:function(t,e){var n;n=jQuery,Colibri,n(function(){var t=n(".colibri-language-switcher__flags"),e=t.find("li a");
1530if(0!==t.length){var i=n.throttle(function(e){t.hasClass("hover")?e.stopImmediatePropagation():(e.preventDefault(),e.stopImmediatePropagation(),t.addClass("hover"))},500);n(window).on("tap",function(){t.hasClass("hover")&&t.removeClass("hover")}),e.on("tap",i)}})},__colibri_1522:function(t,e){var n;(n=jQuery)(function(){n("#page-top [h-use-smooth-scroll-all] a, #page-top a[h-use-smooth-scroll]").smoothScrollAnchor()})},__colibri_1523:function(t,e){!function(t,e){var n=function(t,n){this.namespace="link",this.defaults={href:"",target:"_self"},e.apply(this,arguments),this.start()};n.prototype={start:function(){var t=this;t.opts.href&&(this.$element.addClass("cursor-pointer"),this.$element.on("click",function(){window.open(t.opts.href,t.opts.target)}))},inside:function(){},outside:function(){}},n.inherits(e),e.link=n,e.Plugin.create("link"),e.Plugin.autoload("link")}(jQuery,Colibri)},__colibri_1524:function(t,e){!function(t,e,n){"use strict";var i;i=function(n,i){var r,o,a,s,c,u;return c=0,u=0,o=0,a={},s=[],0,(r=function(t,e){for(o in this.options={speed:1,boost:0},e)this.options[o]=e[o];(this.options.speed<0||this.options.speed>1)&&(this.options.speed=1),t||(t="paraxify"),this.photos=t,a=this.options,s=[this.photos],this._init(this)}).prototype={update:function(){for(u=e.innerHeight,o=0;o<s.length;)s[o].style.backgroundPosition="center center",s[o].url=e.getComputedStyle(s[o],!1).backgroundImage.replace(/url\((['"])?(.*?)\1\)/gi,"$2").split(",")[0],s[o].img||(s[o].img=new Image),s[o].url!==s[o].img.src&&(this._check(o),s[o].img.src=s[o].url),o++;this._animate()},destroy:function(){e.removeEventListener("scroll",this.onScrollFunction),e.removeEventListener("resize",this.onResizeFunction)},_bindEventListenerFunctions:function(){this.onScrollFunction||(this.onScrollFunction=this._animate.bind(this)),this.onResizeFunction||(this.onResizeFunction=this.update.bind(this))},_init:function(){this._bindEventListenerFunctions(),this.update(),e.addEventListener("scroll",this.onScrollFunction),e.addEventListener("resize",this.onResizeFunction),this._initPhotos()},_initPhotos:function(){for(var t=this,e=function(e){setTimeout(function(){t._initImageData(e)},0)},n=0;n<s.length;n++)e(n)},_initImage:function(t,n){return""===t.bgSize||"auto"===t.bgSize?this.height<t.offsetHeight?(t.ok=!1,console.error("The image "+t.url+" ("+this.height+"px) is too short for that container ("+t.offsetHeight+"px).")):(n=this.height,this.height<u&&(n+=(u-t.offsetHeight)*a.speed)):"cover"===t.bgSize?u<t.offsetHeight&&(t.ok=!1,console.error("The container ("+t.offsetHeight+"px) can't be bigger than the image ("+u+"px).")):(e.getComputedStyle(t,!1).backgroundSize,this._check(o)),t.diff=-(n-t.offsetHeight)*a.speed,t.diff=t.diff-t.offsetHeight*a.boost,{main:t,actualHeight:n}},_initImageData:function(t){var n,i,r=this,o=this;if((i=s[t]).ok=!0,i.bgSize=e.getComputedStyle(i,!1).backgroundSize,n=u,s[t].img.complete){var a=this._initImage(i,n);i=a.main,n=a.actualHeight,o.onScrollFunction()}s[t].img.onload=function(){var t=r._initImage(i,n);i=t.main,n=t.actualHeight,o.onScrollFunction()}},_check:function(t){var n,i,r=this;(i=s[t]).ok=!0,i.bgSize=e.getComputedStyle(i,!1).backgroundSize,n=u,s[t].img.onload=function(){var t=r._initImage(i,n);i=t.main,n=t.actualHeight}},_visible:function(t){var e=this._getOffsetTop(s[t]);return c+u>e&&c<e+s[t].offsetHeight},_getOffsetTop:function(t){return e.pageYOffset+t.getBoundingClientRect().top},_animate:function(){var n,i;for(c=void 0!==e.pageYOffset?e.pageYOffset:(t.documentElement||t.body.parentNode||t.body).scrollTop,o=0;o<s.length;)this._check(o),s[o].ok&&"fixed"===e.getComputedStyle(s[o],!1).backgroundAttachment&&this._visible(o)&&s[o].diff?(n=(c-this._getOffsetTop(s[o])+u)/(s[o].offsetHeight+u),i=s[o].diff*(n-.5),"cover"!==s[o].bgSize&&(i+=(u-s[o].img.height)/2),i=Math.round(100*i)/100,i+="px"):i="center",s[o].style.backgroundPosition="center "+i,o++}},new r(n,i)},e.paraxify=i}(document,window)},__colibri_1526:function(t,e,n){},__colibri_1528:function(t,e,n){},__colibri_1529:function(t,e){!function(t,e){t(function(){var t=document.querySelector("body");e.isCustomizerPreview()&&(t.classList.add("colibri-in-customizer"),window.wp.customize.bind("colibri-editor-preview-ready",function(){t.classList.add("colibri-in-customizer--loaded")})),window.navigator.userAgent.indexOf("Edge")>-1&&t.classList.add("colibri--edge")})}(jQuery,Colibri)},__colibri_1530:function(t,e){!function(t,e){var n=function(n,i){this.namespace="masonry",this.defaults={}
1530,e.apply(this,arguments),this.bindedRestart=t.debounce(this.restart.bind(this),50),this.start()};function i(t,e){if(t[0].hasAttribute(e)&&"true"!=t.attr(e))return!0}n.prototype={start:function(){var e,n=this.$element;(this.opts.data&&this.opts.data.targetSelector&&(n=this.$element.find(this.opts.data.targetSelector)),this.$masonry=n,i(e=this.$element,"data-show-masonry")||i(e,"show-masonry"))||(this.$masonry.masonry({itemSelector:".masonry-item",columnWidth:".masonry-item",percentPosition:!0}),this.addEventListeners(),function(){var e=n.find("img"),i=0,r=0;function o(){if(i++,e.length===i)try{n.data().masonry.layout()}catch(t){console.error(t)}}e.each(function(){this.complete?(r++,o()):(t(this).on("load",o),t(this).on("error",o))}),e.length!==r&&"complete"==document.readyState&&setTimeout(function(){n.data().masonry.layout()},10),t(window).on("load",function(){n.data().masonry.layout()})}())},stop:function(){this.removeEventListeners();try{this.$masonry.masonry("destroy")}catch(t){}},restart:function(){this.stop(),this.start()},addEventListeners:function(){this.$element.on("colibriContainerOpened",this.bindedRestart)},removeEventListeners:function(){this.$element.off("colibriContainerOpened",this.bindedRestart)},loadImages:function(){}},n.inherits(e),e.masonry=n,e.Plugin.create("masonry"),e.Plugin.autoload("masonry")}(jQuery,Colibri)},__colibri_1531:function(t,e){},__colibri_1532:function(t,e,n){(function(t){!function(t){var e=function(){try{return!!Symbol.iterator}catch(t){return!1}}(),n=function(t){var n={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return e&&(n[Symbol.iterator]=function(){return n}),n},i=function(t){return encodeURIComponent(t).replace(/%20/g,"+")},r=function(t){return decodeURIComponent(String(t).replace(/\+/g," "))};(function(){try{var e=t.URLSearchParams;return"a=1"===new e("?a=1").toString()&&"function"==typeof e.prototype.set}catch(t){return!1}})()||function(){var r=function(t){Object.defineProperty(this,"_entries",{writable:!0,value:{}});var e=typeof t;if("undefined"===e);else if("string"===e)""!==t&&this._fromString(t);else if(t instanceof r){var n=this;t.forEach(function(t,e){n.append(e,t)})}else{if(null===t||"object"!==e)throw new TypeError("Unsupported input's type for URLSearchParams");if("[object Array]"===Object.prototype.toString.call(t))for(var i=0;i<t.length;i++){var o=t[i];if("[object Array]"!==Object.prototype.toString.call(o)&&2===o.length)throw new TypeError("Expected [string, any] as entry at index "+i+" of URLSearchParams's input");this.append(o[0],o[1])}else for(var a in t)t.hasOwnProperty(a)&&this.append(a,t[a])}},o=r.prototype;o.append=function(t,e){t in this._entries?this._entries[t].push(String(e)):this._entries[t]=[String(e)]},o.delete=function(t){delete this._entries[t]},o.get=function(t){return t in this._entries?this._entries[t][0]:null},o.getAll=function(t){return t in this._entries?this._entries[t].slice(0):[]},o.has=function(t){return t in this._entries},o.set=function(t,e){this._entries[t]=[String(e)]},o.forEach=function(t,e){var n;for(var i in this._entries)if(this._entries.hasOwnProperty(i)){n=this._entries[i];for(var r=0;r<n.length;r++)t.call(e,n[r],i,this)}},o.keys=function(){var t=[];return this.forEach(function(e,n){t.push(n)}),n(t)},o.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),n(t)},o.entries=function(){var t=[];return this.forEach(function(e,n){t.push([n,e])}),n(t)},e&&(o[Symbol.iterator]=o.entries),o.toString=function(){var t=[];return this.forEach(function(e,n){t.push(i(n)+"="+i(e))}),t.join("&")},t.URLSearchParams=r}();var o=t.URLSearchParams.prototype;"function"!=typeof o.sort&&(o.sort=function(){var t=this,e=[];this.forEach(function(n,i){e.push([i,n]),t._entries||t.delete(i)}),e.sort(function(t,e){return t[0]<e[0]?-1:t[0]>e[0]?1:0}),t._entries&&(t._entries={});for(var n=0;n<e.length;n++)this.append(e[n][0],e[n][1])}),"function"!=typeof o._fromString&&Object.defineProperty(o,"_fromString",{enumerable:!1,configurable:!1,writable:!1,value:function(t){if(this._entries)this._entries={};else{var e=[];this.forEach(function(t,n){e.push(n)});for(var n=0;n<e.length;n++)this.delete(e[n])}var i,o=(t=t.replace(/^\?/,"")).split("&");for(n=0;n<o.length;n++)i=o[n].split("="),this.append(r(i[0]),i.length>1?r(i[1]):"")}})}(void 0!==t?t:"undefined"!=typeof window?window:"undefined"!=typeof self?self:this),function(t){var e,n,i;if(function(){try{var e=new t.URL("b","http://a");return e.pathname="c d","http://a/c%20d"===e.href&&e.searchParams}catch(t){return!1}}()||(e=t.URL,i=(n=function(e,n){"string"!=typeof e&&(e=String(e));var i,r=document;if(n&&(void 0===t.location||n!==t.location.href)){(i=(r=document.implementation.createHTMLDocument("")).createElement("base")).href=n,r.head.appendChild(i);try{if(0!==i.href.indexOf(n))throw new Error(i.href)}catch(t){throw new Error("URL unable to set base "+n+" due to "+t)}}var o=r.createElement("a");if(o.href=e,i&&(r.body.appendChild(o),o.href=o.href),":"===o.protocol||!/:/.test(o.href))throw new TypeError("Invalid URL");Object.defineProperty(this,"_anchorElement",{value:o});var a=new t.URLSearchParams(this.search),s=!0,c=!0,u=this;["append","delete","set"].forEach(function(t){var e=a[t];a[t]=function(){e.apply(a,arguments),s&&(c=!1,u.search=a.toString(),c=!0)}}),Object.defineProperty(this,"searchParams",{value:a,enumerable:!0});var l=void 0;Object.defineProperty(this,"_updateSearchParams",{enumerable:!1,
1530configurable:!1,writable:!1,value:function(){this.search!==l&&(l=this.search,c&&(s=!1,this.searchParams._fromString(this.search),s=!0))}})}).prototype,["hash","host","hostname","port","protocol"].forEach(function(t){!function(t){Object.defineProperty(i,t,{get:function(){return this._anchorElement[t]},set:function(e){this._anchorElement[t]=e},enumerable:!0})}(t)}),Object.defineProperty(i,"search",{get:function(){return this._anchorElement.search},set:function(t){this._anchorElement.search=t,this._updateSearchParams()},enumerable:!0}),Object.defineProperties(i,{toString:{get:function(){var t=this;return function(){return t.href}}},href:{get:function(){return this._anchorElement.href.replace(/\?$/,"")},set:function(t){this._anchorElement.href=t,this._updateSearchParams()},enumerable:!0},pathname:{get:function(){return this._anchorElement.pathname.replace(/(^\/?)/,"/")},set:function(t){this._anchorElement.pathname=t},enumerable:!0},origin:{get:function(){var t={"http:":80,"https:":443,"ftp:":21}[this._anchorElement.protocol],e=this._anchorElement.port!=t&&""!==this._anchorElement.port;return this._anchorElement.protocol+"//"+this._anchorElement.hostname+(e?":"+this._anchorElement.port:"")},enumerable:!0},password:{get:function(){return""},set:function(t){},enumerable:!0},username:{get:function(){return""},set:function(t){},enumerable:!0}}),n.createObjectURL=function(t){return e.createObjectURL.apply(e,arguments)},n.revokeObjectURL=function(t){return e.revokeObjectURL.apply(e,arguments)},t.URL=n),void 0!==t.location&&!("origin"in t.location)){var r=function(){return t.location.protocol+"//"+t.location.hostname+(t.location.port?":"+t.location.port:"")};try{Object.defineProperty(t.location,"origin",{get:r,enumerable:!0})}catch(e){setInterval(function(){t.location.origin=r()},100)}}}(void 0!==t?t:"undefined"!=typeof window?window:"undefined"!=typeof self?self:this)}).call(this,n("__colibri_879"))},__colibri_1534:function(t,e,n){},__colibri_1609:function(t,e,n){var i=n("__colibri_861"),r=n("__colibri_895"),o=function(t,e){if(r(t),!i(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,i){try{(i=n("__colibri_946")(Function.call,n("__colibri_1146").f(Object.prototype,"__proto__").set,2))(t,[]),e=!(t instanceof Array)}catch(t){e=!0}return function(t,n){return o(t,n),e?t.__proto__=n:i(t,n),t}}({},!1):void 0),check:o}},__colibri_1610:function(t,e,n){var i=n("__colibri_840");i(i.S,"Object",{setPrototypeOf:n("__colibri_1609").set})},__colibri_1611:function(t,e,n){n("__colibri_1610"),t.exports=n("__colibri_822").Object.setPrototypeOf},__colibri_1612:function(t,e,n){t.exports={default:n("__colibri_1611"),__esModule:!0}},__colibri_1613:function(t,e,n){var i=n("__colibri_957"),r=n("__colibri_1220");n("__colibri_933")("getPrototypeOf",function(){return function(t){return r(i(t))}})},__colibri_1614:function(t,e,n){n("__colibri_1613"),t.exports=n("__colibri_822").Object.getPrototypeOf},__colibri_1690:function(t,e,n){var i=n("__colibri_854").parseFloat,r=n("__colibri_1248").trim;t.exports=1/i(n("__colibri_1171")+"-0")!=-1/0?function(t){var e=r(String(t),3),n=i(e);return 0===n&&"-"==e.charAt(0)?-0:n}:i},__colibri_1691:function(t,e,n){var i=n("__colibri_840"),r=n("__colibri_1690");i(i.S+i.F*(Number.parseFloat!=r),"Number",{parseFloat:r})},__colibri_1692:function(t,e,n){n("__colibri_1691"),t.exports=parseFloat},__colibri_1693:function(t,e,n){var i=n("__colibri_934"),r=n("__colibri_901"),o=n("__colibri_956").f;t.exports=function(t){return function(e){for(var n,a=r(e),s=i(a),c=s.length,u=0,l=[];c>u;)o.call(a,n=s[u++])&&l.push(t?[n,a[n]]:a[n]);return l}}},__colibri_1694:function(t,e,n){var i=n("__colibri_840"),r=n("__colibri_1693")(!1);i(i.S,"Object",{values:function(t){return r(t)}})},__colibri_1695:function(t,e,n){n("__colibri_1694"),t.exports=n("__colibri_822").Object.values},__colibri_1698:function(t,e,n){n("__colibri_1118"),n("__colibri_1122"),t.exports=n("__colibri_1115").f("iterator")},__colibri_1699:function(t,e,n){t.exports={default:n("__colibri_1698"),__esModule:!0}},__colibri_1700:function(t,e,n){var i=n("__colibri_822"),r=i.JSON||(i.JSON={stringify:JSON.stringify});t.exports=function(t){return r.stringify.apply(r,arguments)}},__colibri_1701:function(t,e,n){var i=n("__colibri_840");i(i.S,"Object",{create:n("__colibri_1119")})},__colibri_1702:function(t,e,n){n("__colibri_1701");var i=n("__colibri_822").Object;t.exports=function(t,e){return i.create(t,e)}},__colibri_1703:function(t,e,n){n("__colibri_1145")("observable")},__colibri_1704:function(t,e,n){n("__colibri_1145")("asyncIterator")},__colibri_1705:function(t,e,n){var i=n("__colibri_934"),r=n("__colibri_1117"),o=n("__colibri_956");t.exports=function(t){var e=i(t),n=r.f;if(n)for(var a,s=n(t),c=o.f,u=0;s.length>u;)c.call(t,a=s[u++])&&e.push(a);return e}},__colibri_1706:function(t,e,n){"use strict";var i=n("__colibri_854"),r=n("__colibri_912"),o=n("__colibri_886"),a=n("__colibri_840"),s=n("__colibri_1175"),c=n("__colibri_988").KEY,u=n("__colibri_900"),l=n("__colibri_1148"),f=n("__colibri_989"),h=n("__colibri_990"),p=n("__colibri_874"),d=n("__colibri_1115"),_=n("__colibri_1145"),v=n("__colibri_1705"),m=n("__colibri_1249"),g=n("__colibri_895"),b=n("__colibri_861"),y=n("__colibri_901"),w=n("__colibri_1151"),O=n("__colibri_969"),C=n("__colibri_1119"),E=n("__colibri_1219"),S=n("__colibri_1146"),A=n("__colibri_887"),I=n("__colibri_934"),x=S.f,T=A.f,k=E.f,P=i.Symbol,$=i.JSON,L=$&&$.stringify,j=p("_hidden"),R=p("toPrimitive"),D={}.propertyIsEnumerable,N=l("symbol-registry"),M=l("symbols"),z=l("op-symbol
1530s"),F=Object.prototype,B="function"==typeof P,W=i.QObject,U=!W||!W.prototype||!W.prototype.findChild,H=o&&u(function(){return 7!=C(T({},"a",{get:function(){return T(this,"a",{value:7}).a}})).a})?function(t,e,n){var i=x(F,e);i&&delete F[e],T(t,e,n),i&&t!==F&&T(F,e,i)}:T,V=function(t){var e=M[t]=C(P.prototype);return e._k=t,e},G=B&&"symbol"==typeof P.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof P},q=function(t,e,n){return t===F&&q(z,e,n),g(t),e=w(e,!0),g(n),r(M,e)?(n.enumerable?(r(t,j)&&t[j][e]&&(t[j][e]=!1),n=C(n,{enumerable:O(0,!1)})):(r(t,j)||T(t,j,O(1,{})),t[j][e]=!0),H(t,e,n)):T(t,e,n)},Q=function(t,e){g(t);for(var n,i=v(e=y(e)),r=0,o=i.length;o>r;)q(t,n=i[r++],e[n]);return t},Y=function(t){var e=D.call(this,t=w(t,!0));return!(this===F&&r(M,t)&&!r(z,t))&&(!(e||!r(this,t)||!r(M,t)||r(this,j)&&this[j][t])||e)},Z=function(t,e){if(t=y(t),e=w(e,!0),t!==F||!r(M,e)||r(z,e)){var n=x(t,e);return!n||!r(M,e)||r(t,j)&&t[j][e]||(n.enumerable=!0),n}},K=function(t){for(var e,n=k(y(t)),i=[],o=0;n.length>o;)r(M,e=n[o++])||e==j||e==c||i.push(e);return i},J=function(t){for(var e,n=t===F,i=k(n?z:y(t)),o=[],a=0;i.length>a;)!r(M,e=i[a++])||n&&!r(F,e)||o.push(M[e]);return o};B||(s((P=function(){if(this instanceof P)throw TypeError("Symbol is not a constructor!");var t=h(arguments.length>0?arguments[0]:void 0),e=function(n){this===F&&e.call(z,n),r(this,j)&&r(this[j],t)&&(this[j][t]=!1),H(this,t,O(1,n))};return o&&U&&H(F,t,{configurable:!0,set:e}),V(t)}).prototype,"toString",function(){return this._k}),S.f=Z,A.f=q,n("__colibri_1172").f=E.f=K,n("__colibri_956").f=Y,n("__colibri_1117").f=J,o&&!n("__colibri_1120")&&s(F,"propertyIsEnumerable",Y,!0),d.f=function(t){return V(p(t))}),a(a.G+a.W+a.F*!B,{Symbol:P});for(var X="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),tt=0;X.length>tt;)p(X[tt++]);for(var et=I(p.store),nt=0;et.length>nt;)_(et[nt++]);a(a.S+a.F*!B,"Symbol",{for:function(t){return r(N,t+="")?N[t]:N[t]=P(t)},keyFor:function(t){if(!G(t))throw TypeError(t+" is not a symbol!");for(var e in N)if(N[e]===t)return e},useSetter:function(){U=!0},useSimple:function(){U=!1}}),a(a.S+a.F*!B,"Object",{create:function(t,e){return void 0===e?C(t):Q(C(t),e)},defineProperty:q,defineProperties:Q,getOwnPropertyDescriptor:Z,getOwnPropertyNames:K,getOwnPropertySymbols:J}),$&&a(a.S+a.F*(!B||u(function(){var t=P();return"[null]"!=L([t])||"{}"!=L({a:t})||"{}"!=L(Object(t))})),"JSON",{stringify:function(t){for(var e,n,i=[t],r=1;arguments.length>r;)i.push(arguments[r++]);if(n=e=i[1],(b(e)||void 0!==t)&&!G(t))return m(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!G(e))return e}),i[1]=e,L.apply($,i)}}),P.prototype[R]||n("__colibri_915")(P.prototype,R,P.prototype.valueOf),f(P,"Symbol"),f(Math,"Math",!0),f(i.JSON,"JSON",!0)},__colibri_1707:function(t,e,n){n("__colibri_1706"),n("__colibri_1116"),n("__colibri_1704"),n("__colibri_1703"),t.exports=n("__colibri_822").Symbol},__colibri_1712:function(t,e,n){n("__colibri_933")("getOwnPropertyNames",function(){return n("__colibri_1219").f})},__colibri_1713:function(t,e,n){n("__colibri_1712");var i=n("__colibri_822").Object;t.exports=function(t){return i.getOwnPropertyNames(t)}},__colibri_1714:function(t,e,n){var i=n("__colibri_901"),r=n("__colibri_1146").f;n("__colibri_933")("getOwnPropertyDescriptor",function(){return function(t,e){return r(i(t),e)}})},__colibri_1715:function(t,e,n){n("__colibri_1714");var i=n("__colibri_822").Object;t.exports=function(t,e){return i.getOwnPropertyDescriptor(t,e)}},__colibri_1718:function(t,e,n){var i=n("__colibri_957"),r=n("__colibri_934");n("__colibri_933")("keys",function(){return function(t){return r(i(t))}})},__colibri_1719:function(t,e,n){n("__colibri_1718"),t.exports=n("__colibri_822").Object.keys},__colibri_1720:function(t,e,n){var i=n("__colibri_840");i(i.S+i.F,"Object",{assign:n("__colibri_1252")})},__colibri_1721:function(t,e,n){n("__colibri_1720"),t.exports=n("__colibri_822").Object.assign},__colibri_1722:function(t,e,n){(function(t,n){var i=200,r="Expected a function",o="__lodash_hash_undefined__",a=1,s=2,c=1/0,u=9007199254740991,l="[object Arguments]",f="[object Array]",h="[object Boolean]",p="[object Date]",d="[object Error]",_="[object Function]",v="[object GeneratorFunction]",m="[object Map]",g="[object Number]",b="[object Object]",y="[object RegExp]",w="[object Set]",O="[object String]",C="[object Symbol]",E="[object ArrayBuffer]",S="[object DataView]",A=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,I=/^\w*$/,x=/^\./,T=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,k=/\\(\\)?/g,P=/^\[object .+?Constructor\]$/,$=/^(?:0|[1-9]\d*)$/,L={};
vendor: 9,363 bytes, line 1530
1530L["[object Float32Array]"]=L["[object Float64Array]"]=L["[object Int8Array]"]=L["[object Int16Array]"]=L["[object Int32Array]"]=L["[object Uint8Array]"]=L["[object Uint8ClampedArray]"]=L["[object Uint16Array]"]=L["[object Uint32Array]"]=!0,L[l]=L[f]=L[E]=L[h]=L[S]=L[p]=L[d]=L[_]=L[m]=L[g]=L[b]=L[y]=L[w]=L[O]=L["[object WeakMap]"]=!1;var j="object"==typeof t&&t&&t.Object===Object&&t,R="object"==typeof self&&self&&self.Object===Object&&self,D=j||R||Function("return this")(),N="object"==typeof e&&e&&!e.nodeType&&e,M=N&&"object"==typeof n&&n&&!n.nodeType&&n,z=M&&M.exports===N&&j.process,F=function(){try{return z&&z.binding("util")}catch(t){}}(),B=F&&F.isTypedArray;function W(t,e){for(var n=-1,i=t?t.length:0;++n<i;)if(e(t[n],n,t))return!0;return!1}function U(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(t){}return e}function H(t){var e=-1,n=Array(t.size);return t.forEach(function(t,i){n[++e]=[i,t]}),n}function V(t,e){return function(n){return t(e(n))}}function G(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=t}),n}var q,Q=Array.prototype,Y=Function.prototype,Z=Object.prototype,K=D["__core-js_shared__"],J=(q=/[^.]+$/.exec(K&&K.keys&&K.keys.IE_PROTO||""))?"Symbol(src)_1."+q:"",X=Y.toString,tt=Z.hasOwnProperty,et=Z.toString,nt=RegExp("^"+X.call(tt).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),it=D.Symbol,rt=D.Uint8Array,ot=V(Object.getPrototypeOf,Object),at=Object.create,st=Z.propertyIsEnumerable,ct=Q.splice,ut=V(Object.keys,Object),lt=Wt(D,"DataView"),ft=Wt(D,"Map"),ht=Wt(D,"Promise"),pt=Wt(D,"Set"),dt=Wt(D,"WeakMap"),_t=Wt(Object,"create"),vt=Zt(lt),mt=Zt(ft),gt=Zt(ht),bt=Zt(pt),yt=Zt(dt),wt=it?it.prototype:void 0,Ot=wt?wt.valueOf:void 0,Ct=wt?wt.toString:void 0;function Et(t){var e=-1,n=t?t.length:0;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}function St(t){var e=-1,n=t?t.length:0;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}function At(t){var e=-1,n=t?t.length:0;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}function It(t){var e=-1,n=t?t.length:0;for(this.__data__=new At;++e<n;)this.add(t[e])}function xt(t){this.__data__=new St(t)}function Tt(t,e){var n=te(t)||Xt(t)?function(t,e){for(var n=-1,i=Array(t);++n<t;)i[n]=e(n);return i}(t.length,String):[],i=n.length,r=!!i;for(var o in t)!e&&!tt.call(t,o)||r&&("length"==o||Ht(o,i))||n.push(o);return n}function kt(t,e){for(var n=t.length;n--;)if(Jt(t[n][0],e))return n;return-1}Et.prototype.clear=function(){this.__data__=_t?_t(null):{}},Et.prototype.delete=function(t){return this.has(t)&&delete this.__data__[t]},Et.prototype.get=function(t){var e=this.__data__;if(_t){var n=e[t];return n===o?void 0:n}return tt.call(e,t)?e[t]:void 0},Et.prototype.has=function(t){var e=this.__data__;return _t?void 0!==e[t]:tt.call(e,t)},Et.prototype.set=function(t,e){return this.__data__[t]=_t&&void 0===e?o:e,this},St.prototype.clear=function(){this.__data__=[]},St.prototype.delete=function(t){var e=this.__data__,n=kt(e,t);return!(n<0||(n==e.length-1?e.pop():ct.call(e,n,1),0))},St.prototype.get=function(t){var e=this.__data__,n=kt(e,t);return n<0?void 0:e[n][1]},St.prototype.has=function(t){return kt(this.__data__,t)>-1},St.prototype.set=function(t,e){var n=this.__data__,i=kt(n,t);return i<0?n.push([t,e]):n[i][1]=e,this},At.prototype.clear=function(){this.__data__={hash:new Et,map:new(ft||St),string:new Et}},At.prototype.delete=function(t){return Bt(this,t).delete(t)},At.prototype.get=function(t){return Bt(this,t).get(t)},At.prototype.has=function(t){return Bt(this,t).has(t)},At.prototype.set=function(t,e){return Bt(this,t).set(t,e),this},It.prototype.add=It.prototype.push=function(t){return this.__data__.set(t,o),this},It.prototype.has=function(t){return this.__data__.has(t)},xt.prototype.clear=function(){this.__data__=new St},xt.prototype.delete=function(t){return this.__data__.delete(t)},xt.prototype.get=function(t){return this.__data__.get(t)},xt.prototype.has=function(t){return this.__data__.has(t)},xt.prototype.set=function(t,e){var n=this.__data__;if(n instanceof St){var r=n.__data__;if(!ft||r.length<i-1)return r.push([t,e]),this;n=this.__data__=new At(r)}return n.set(t,e),this};var Pt,$t=function(t,e,n){for(var i=-1,r=Object(t),o=n(t),a=o.length;a--;){var s=o[Pt?a:++i];if(!1===e(r[s],s,r))break}return t};function Lt(t,e){for(var n=0,i=(e=Vt(e,t)?[e]:zt(e)).length;null!=t&&n<i;)t=t[Yt(e[n++])];return n&&n==i?t:void 0}function jt(t,e){return null!=t&&e in Object(t)}function Rt(t,e,n,i,r){return t===e||(null==t||null==e||!re(t)&&!oe(e)?t!=t&&e!=e:function(t,e,n,i,r,o){var c=te(t),u=te(e),_=f,v=f;c||(_=(_=Ut(t))==l?b:_);u||(v=(v=Ut(e))==l?b:v);var A=_==b&&!U(t),I=v==b&&!U(e),x=_==v;if(x&&!A)return o||(o=new xt),c||ce(t)?Ft(t,e,n,i,r,o):function(t,e,n,i,r,o,c){switch(n){case S:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case E:return!(t.byteLength!=e.byteLength||!i(new rt(t),new rt(e)));case h:case p:case g:return Jt(+t,+e);case d:return t.name==e.name&&t.message==e.message;case y:case O:return t==e+"";case m:var u=H;case w:var l=o&s;if(u||(u=G),t.size!=e.size&&!l)return!1;var f=c.get(t);if(f)return f==e;o|=a,c.set(t,e);var _=Ft(u(t),u(e),i,r,o,c);return c.delete(t),_;case C:if(Ot)return Ot.call(t)==Ot.call(e)}return!1}(t,e,_,n,i,r,o);if(!(r&s)){var T=A&&tt.call(t,"__wrapped__"),k=I&&tt.call(e,"__wrapped__");if(T||k){var P=T?t.value():t,$=k?e.value():e;return o||(o=new xt),n(P,$,i,r,o)}}if(!x)return!1;return o||(o=new xt),function(t,e,n,i,r,o){var a=r&s,c=ue(t),u=c.length,l=ue(e).length;if(u!=l&&!a)return!1;for(var f=u;f--;){var h=c[f];if(!(a?h in e:tt.call(e,h)))return!1}var p=o.get(t);if(p&&o.get(e))return p==e;var d=!0;o.set(t,e),o.set(e,t);for(var _=a;++f<u;){h=c[f];var v=t[h],m=e[h];if(i)var g=a?i(m,v,h,e,t,o):i(v,m,h,t,e,o);if(!(void 0===g?v===m||n(v,m,i,r,o):g)){d=!1;break}_||(_="constructor"==h)}if(d&&!_){var b=t.constructor,y=e.constructor;b!=y&&"constructor"in t&&"constructor"in e&&!("function"==typeof b&&b instanceof b&&"function"==typeof y&&y instanceof y)&&(d=!1)}return o.delete(t),o.delete(e),d}(t,e,n,i,r,o)}(t,e,Rt,n,i,r))}function Dt(t){return!(!re(t)||J&&J in t)&&(ne(t)||U(t)?nt:P).test(Zt(t))}function Nt(t){return"function"==typeof t?t:null==t?le:"object"==typeof t?te(t)?function(t,e){if(Vt(t)&&Gt(e))return qt(Yt(t),e);return function(n){var i=function(t,e,n){var i=null==t?void 0:Lt(t,e);return void 0===i?n:i}(n,t);return void 0===i&&i===e?function(t,e){return null!=t&&function(t,e,n){var i,r=-1,o=(e=Vt(e,t)?[e]:zt(e)).length;for(;++r<o;){var a=Yt(e[r]);if(!(i=null!=t&&n(t,a)))break;t=t[a]}if(i)return i;return!!(o=t?t.length:0)&&ie(o)&&Ht(a,o)&&(te(t)||Xt(t))}(t,e,jt)}(n,t):Rt(e,i,void 0,a|s)}}(t[0],t[1]):function(t){var e=function(t){var e=ue(t),n=e.length;for(;n--;){var i=e[n],r=t[i];e[n]=[i,r,Gt(r)]}return e}(t);if(1==e.length&&e[0][2])return qt(e[0][0],e[0][1]);return function(n){return n===t||function(t,e,n,i){var r=n.length,o=r,c=!i;if(null==t)return!o;for(t=Object(t);r--;){var u=n[r];if(c&&u[2]?u[1]!==t[u[0]]:!(u[0]in t))return!1}for(;++r<o;){var l=(u=n[r])[0],f=t[l],h=u[1];if(c&&u[2]){if(void 0===f&&!(l in t))return!1}else{var p=new xt;if(i)var d=i(f,h,l,t,e,p);if(!(void 0===d?Rt(h,f,i,a|s,p):d))return!1}}return!0}(n,t,e)}}(t):Vt(e=t)?(n=Yt(e),function(t){return null==t?void 0:t[n]}):function(t){return function(e){return Lt(e,t)}}(e);var e,n}function Mt(t){if(n=(e=t)&&e.constructor,i="function"==typeof n&&n.prototype||Z,e!==i)return ut(t);var e,n,i,r=[];for(var o in Object(t))tt.call(t,o)&&"constructor"!=o&&r.push(o);return r}function zt(t){return te(t)?t:Qt(t)}function Ft(t,e,n,i,r,o){var c=r&s,u=t.length,l=e.length;if(u!=l&&!(c&&l>u))return!1;var f=o.get(t);if(f&&o.get(e))return f==e;var h=-1,p=!0,d=r&a?new It:void 0;for(o.set(t,e),o.set(e,t);++h<u;){var _=t[h],v=e[h];if(i)var m=c?i(v,_,h,e,t,o):i(_,v,h,t,e,o);if(void 0!==m){if(m)continue;p=!1;break}if(d){if(!W(e,function(t,e){if(!d.has(e)&&(_===t||n(_,t,i,r,o)))return d.add(e)})){p=!1;break}}else if(_!==v&&!n(_,v,i,r,o)){p=!1;break}}return o.delete(t),o.delete(e),p}function Bt(t,e){var n,i,r=t.__data__;return("string"==(i=typeof(n=e))||"number"==i||"symbol"==i||"boolean"==i?"__proto__"!==n:null===n)?r["string"==typeof e?"string":"hash"]:r.map}function Wt(t,e){var n=function(t,e){return null==t?void 0:t[e]}(t,e);return Dt(n)?n:void 0}var Ut=function(t){return et.call(t)};function Ht(t,e){return!!(e=null==e?u:e)&&("number"==typeof t||$.test(t))&&t>-1&&t%1==0&&t<e}function Vt(t,e){if(te(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!ae(t))||(I.test(t)||!A.test(t)||null!=e&&t in Object(e))}function Gt(t){return t==t&&!re(t)}function qt(t,e){return function(n){return null!=n&&(n[t]===e&&(void 0!==e||t in Object(n)))}}(lt&&Ut(new lt(new ArrayBuffer(1)))!=S||ft&&Ut(new ft)!=m||ht&&"[object Promise]"!=Ut(ht.resolve())||pt&&Ut(new pt)!=w||dt&&"[object WeakMap]"!=Ut(new dt))&&(Ut=function(t){var e=et.call(t),n=e==b?t.constructor:void 0,i=n?Zt(n):void 0;if(i)switch(i){case vt:return S;case mt:return m;case gt:return"[object Promise]";case bt:return w;case yt:return"[object WeakMap]"}return e});var Qt=Kt(function(t){var e;t=null==(e=t)?"":function(t){if("string"==typeof t)return t;if(ae(t))return Ct?Ct.call(t):"";var e=t+"";return"0"==e&&1/t==-c?"-0":e}(e);var n=[];
1530return x.test(t)&&n.push(""),t.replace(T,function(t,e,i,r){n.push(i?r.replace(k,"$1"):e||t)}),n});function Yt(t){if("string"==typeof t||ae(t))return t;var e=t+"";return"0"==e&&1/t==-c?"-0":e}function Zt(t){if(null!=t){try{return X.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function Kt(t,e){if("function"!=typeof t||e&&"function"!=typeof e)throw new TypeError(r);var n=function(){var i=arguments,r=e?e.apply(this,i):i[0],o=n.cache;if(o.has(r))return o.get(r);var a=t.apply(this,i);return n.cache=o.set(r,a),a};return n.cache=new(Kt.Cache||At),n}function Jt(t,e){return t===e||t!=t&&e!=e}function Xt(t){return function(t){return oe(t)&&ee(t)}(t)&&tt.call(t,"callee")&&(!st.call(t,"callee")||et.call(t)==l)}Kt.Cache=At;var te=Array.isArray;function ee(t){return null!=t&&ie(t.length)&&!ne(t)}function ne(t){var e=re(t)?et.call(t):"";return e==_||e==v}function ie(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=u}function re(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function oe(t){return!!t&&"object"==typeof t}function ae(t){return"symbol"==typeof t||oe(t)&&et.call(t)==C}var se,ce=B?(se=B,function(t){return se(t)}):function(t){return oe(t)&&ie(t.length)&&!!L[et.call(t)]};function ue(t){return ee(t)?Tt(t):Mt(t)}function le(t){return t}n.exports=function(t,e,n){var i,r=te(t)||ce(t);if(e=Nt(e),null==n)if(r||re(t)){var o=t.constructor;n=r?te(t)?new o:[]:ne(o)&&re(i=ot(t))?at(i):{}}else n={};return(r?function(t,e){for(var n=-1,i=t?t.length:0;++n<i&&!1!==e(t[n],n,t););return t}:function(t,e){return t&&$t(t,e,ue)})(t,function(t,i,r){return e(n,t,i,r)}),n}}).call(this,n("__colibri_879"),n("__colibri_987")(t))},__colibri_1723:function(t,e){var n="[object Object]";var i,r,o=Function.prototype,a=Object.prototype,s=o.toString,c=a.hasOwnProperty,u=s.call(Object),l=a.toString,f=(i=Object.getPrototypeOf,r=Object,function(t){return i(r(t))});t.exports=function(t){if(!function(t){return!!t&&"object"==typeof t}(t)||l.call(t)!=n||function(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(t){}return e}(t))return!1;var e=f(t);if(null===e)return!0;var i=c.call(e,"constructor")&&e.constructor;return"function"==typeof i&&i instanceof i&&s.call(i)==u}},__colibri_1724:function(t,e,n){(function(t,n){var i=9007199254740991,r="[object Arguments]",o="[object Function]",a="[object GeneratorFunction]",s="[object Map]",c="[object Set]",u=/^\[object .+?Constructor\]$/,l="object"==typeof t&&t&&t.Object===Object&&t,f="object"==typeof self&&self&&self.Object===Object&&self,h=l||f||Function("return this")(),p="object"==typeof e&&e&&!e.nodeType&&e,d=p&&"object"==typeof n&&n&&!n.nodeType&&n,_=d&&d.exports===p;var v,m,g,b=Function.prototype,y=Object.prototype,w=h["__core-js_shared__"],O=(v=/[^.]+$/.exec(w&&w.keys&&w.keys.IE_PROTO||""))?"Symbol(src)_1."+v:"",C=b.toString,E=y.hasOwnProperty,S=y.toString,A=RegExp("^"+C.call(E).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),I=_?h.Buffer:void 0,x=y.propertyIsEnumerable,T=I?I.isBuffer:void 0,k=(m=Object.keys,g=Object,function(t){return m(g(t))}),P=U(h,"DataView"),$=U(h,"Map"),L=U(h,"Promise"),j=U(h,"Set"),R=U(h,"WeakMap"),D=!x.call({valueOf:1},"valueOf"),N=V(P),M=V($),z=V(L),F=V(j),B=V(R);function W(t){return!(!K(t)||O&&O in t)&&(Z(t)||function(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(t){}return e}(t)?A:u).test(V(t))}function U(t,e){var n=function(t,e){return null==t?void 0:t[e]}(t,e);return W(n)?n:void 0}var H=function(t){return S.call(t)};function V(t){if(null!=t){try{return C.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function G(t){return function(t){return function(t){return!!t&&"object"==typeof t}(t)&&Q(t)}(t)&&E.call(t,"callee")&&(!x.call(t,"callee")||S.call(t)==r)}(P&&"[object DataView]"!=H(new P(new ArrayBuffer(1)))||$&&H(new $)!=s||L&&"[object Promise]"!=H(L.resolve())||j&&H(new j)!=c||R&&"[object WeakMap]"!=H(new R))&&(H=function(t){var e=S.call(t),n="[object Object]"==e?t.constructor:void 0,i=n?V(n):void 0;if(i)switch(i){case N:return"[object DataView]";case M:return s;case z:return"[object Promise]";case F:return c;case B:return"[object WeakMap]"}return e});var q=Array.isArray;function Q(t){return null!=t&&function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=i}(t.length)&&!Z(t)}var Y=T||function(){return!1};function Z(t){var e=K(t)?S.call(t):"";return e==o||e==a}function K(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}n.exports=function(t){if(Q(t)&&(q(t)||"string"==typeof t||"function"==typeof t.splice||Y(t)||G(t)))return!t.length;var e=H(t);if(e==s||e==c)return!t.size;if(D||function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||y)}(t))return!k(t).length;for(var n in t)if(E.call(t,n))return!1;return!0}}).call(this,n("__colibri_879"),n("__colibri_987")(t))},__colibri_1725:function(t,e,n){var i=n("__colibri_861"),r=n("__colibri_988").onFreeze;n("__colibri_933")("freeze",function(t){return function(e){return t&&i(e)?t(r(e)):e}})}
1530,__colibri_1726:function(t,e,n){n("__colibri_1725"),t.exports=n("__colibri_822").Object.freeze},__colibri_1727:function(t,e,n){var i=n("__colibri_840");i(i.S+i.F*!n("__colibri_886"),"Object",{defineProperty:n("__colibri_887").f})},__colibri_1728:function(t,e,n){n("__colibri_1727");var i=n("__colibri_822").Object;t.exports=function(t,e,n){return i.defineProperty(t,e,n)}},__colibri_1731:function(t,e,n){var i=n("__colibri_1150"),r=n("__colibri_991");t.exports=function(t){return function(e,n){var o,a,s=String(r(e)),c=i(n),u=s.length;return c<0||c>=u?t?"":void 0:(o=s.charCodeAt(c))<55296||o>56319||c+1===u||(a=s.charCodeAt(c+1))<56320||a>57343?t?s.charAt(c):o:t?s.slice(c,c+2):a-56320+(o-55296<<10)+65536}}},__colibri_1732:function(t,e,n){var i=n("__colibri_1150"),r=Math.max,o=Math.min;t.exports=function(t,e){return(t=i(t))<0?r(t+e,0):o(t,e)}},__colibri_1733:function(t,e,n){var i=n("__colibri_901"),r=n("__colibri_1174"),o=n("__colibri_1732");t.exports=function(t){return function(e,n,a){var s,c=i(e),u=r(c.length),l=o(a,u);if(t&&n!=n){for(;u>l;)if((s=c[l++])!=s)return!0}else for(;u>l;l++)if((t||l in c)&&c[l]===n)return t||l||0;return!t&&-1}}},__colibri_1734:function(t,e,n){"use strict";var i=n("__colibri_1119"),r=n("__colibri_969"),o=n("__colibri_989"),a={};n("__colibri_915")(a,n("__colibri_874")("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=i(a,{next:r(1,n)}),o(t,e+" Iterator")}},__colibri_1735:function(t,e){t.exports=function(){}},__colibri_1736:function(t,e,n){"use strict";var i=n("__colibri_1735"),r=n("__colibri_1255"),o=n("__colibri_992"),a=n("__colibri_901");t.exports=n("__colibri_1177")(Array,"Array",function(t,e){this._t=a(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,r(1)):r(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])},"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},__colibri_771:function(t,e,n){"use strict";n.r(e),n.d(e,"_",function(){return l});var i=n("__colibri_815"),r=n.n(i),o=n("__colibri_918"),a=n.n(o),s=n("__colibri_876"),c=n.n(s),u=n("__colibri_1091"),l=c.a;l.pascalCase=l.flow(l.camelCase,l.upperFirst);l.unsetArraySafe=function(t,e){var n=function(t,e){var n,i,r=!1;n=/(.*)(\[(\d+)\]$)/g.exec(e),i=/(.*)(\.(\d+)$)/g.exec(e);var o=null,a=null,s=null;return n&&(o=n[1],a=n[3],s=l.get(t,o),Array.isArray(s)&&(r=!0)),i&&(o=i[1],a=i[3],s=l.get(t,o),Array.isArray(s)&&(r=!0)),{pathValueIsArrayElement:r,index:a,elementParent:s}}(t,e),i=n.pathValueIsArrayElement,r=n.index,o=n.elementParent;i?o.splice(r,1):l.unset(t,e)},l.mergeNoArrays=function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return l.mergeWith.apply(null,[].concat(e,[function(t,e){return l.isArray(e)?e:l.isArray(t)?t:void 0}]))},l.cleanDeep=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return a()(t,l.merge({emptyArrays:!0,emptyObjects:!1,emptyStrings:!1,nullValues:!1,undefinedValues:!1},e))},l.differenceObj=function(t,e){return function t(e,n){return l.transform(e,function(e,i,r){l.isEqual(i,n[r])||(e[r]=l.isObject(i)&&l.isObject(n[r])?t(i,n[r]):i)})}(t,e)},l.freeze=function(t){return top.skip||r()(t),t},l=Object(u.a)(l),e.default=l},__colibri_774:function(t,e,n){"use strict";e.__esModule=!0;var i,r=n("__colibri_823"),o=(i=r)&&i.__esModule?i:{default:i};e.default=o.default||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t}},__colibri_782:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i={ACCORDION_MENU:"hop-accordion-menu",ACCORDION_ITEM:"hop-accordion-item",ACCORDION:"hop-accordion",BLOG_POSTS:"hop-blog-posts",ARCHIVE_NAV_BUTTON:"hop-archive-nav-button",ARCHIVE_PAGINATION:"hop-archive-pagination",ARCHIVE_LOOP:"hop-archive-loop",BLOG_LIST:"hop-blog-list",LOOP_ITEM:"hop-loop-item",POST_CATEGORIES_CONTAINER:"hop-post-categories-container",POST_CATEGORIES:"hop-post-categories",POST_COMMENT_FORM:"hop-post-comment-form",POST_COMMENTS:"hop-post-comments",POST_CONTENT:"hop-post-content",POST_EXCERPT:"hop-post-excerpt",POST_LOOP:"hop-post-loop",POST_META:"hop-post-meta",POST_NAV_BUTTON:"hop-post-nav-button",POST_NAV_CONTAINER:"hop-post-nav-container",POST_READ_MORE:"hop-post-read-more",POST_READ_MORE_GROUP:"hop-post-read-more-group",POST_TAGS_CONTAINER:"hop-post-tags-container",POST_TAGS:"hop-post-tags",POST_THUMBNAIL:"hop-post-thumbnail",POST_TITLE:"hop-post-title",BREADCRUMB:"hop-breadcrumb",BUTTON_GROUP:"hop-button-group",BUTTON:"hop-button",CAROUSEL_ITEM:"hop-carousel-item",TEXT_CAROUSEL_ITEM:"hop-text-carousel-item",TEXT_CAROUSEL:"hop-text-carousel",COLUMN:"hop-column",CONTACT_FORM:"hop-contact-form",CONTENT_SWAP:"hop-content-swap",CONTENT_SWAP_DEFAULT:"hop-content-swap-default",CONTENT_SWAP_HOVER:"hop-content-swap-hover",PAGE_CONTENT:"hop-page-content",CONTENT:"hop-content",POST:"hop-post",ARCHIVE:"hop-archive",SIDEBAR:"hop-sidebar",MAIN:"hop-main",COPYRIGHT:"hop-copyright",COUNTERS:"hop-counters",DIVIDER:"hop-divider",EFFECTS:"hop-effects",EXTERNAL:"hop-external",FOOTER:"hop-footer",HEADER:"hop-header",HEADING:"hop-heading",HERO:"hop-hero",HOME_BUTTON:"hop-home-button",HOME_BUTTON_GROUP:"hop-home-button-group",HORIZONTAL_MENU:"hop-horizontal-menu",HTML:"hop-html",ICON_LIST:"hop-icon-list",ICON:"hop-icon",IMAGE:"hop-image",LINK_GROUP:"hop-link-group",LINK:"hop-link",LOGO:"hop-logo",MAP:"hop-map",OFFSCREEN_PANEL:"hop-offscreen-panel",MOBILE_MENU:"hop-mobile-menu",MIRROR:"hop-mirror",MULTIPLE_IMAGE_DUMMY:"hop-multiple-image-dummy",MULTIPLE_IMAGE:"hop-multiple-image",NAVIGATION:"hop-navigation",TOP_BAR:"hop-top-bar",NEWSLETTER:"hop-newsletter",PAGE_TITLE:"hop-page-title",PHOTO_GALLERY:"hop-photo-gallery",PRICING_ITEM:"hop-pricing-item",PRICING_TABLE:"hop-pricing-table",PRICING:"hop-pricing",ROW:"hop-row",BACK_TO_TOP:"hop-back-to-top",BACK_TO_TOP_BUTTON:"hop-back-to-top-button",BACK_TO_TOP_BUTTON_GROUP:"hop-back-to-top-button-group",BACK_TO_TOP_ICON:"hop-back-to-top-icon",DOWN_ARROW:"hop-down-arrow",DOWN_ARROW_SCROLL_BUTTON:"hop-down-arrow-scroll-button",DOWN_ARROW_SCROLL_BUTTON_GROUP:"hop-down-arrow-scroll-button-group",DOWN_ARROW_SCROLL_ICON:"hop-down-arrow-scroll-icon",SEARCH:"hop-search",SECTION:"hop-section",SHORTCODE:"hop-shortcode",SIMPLE_LIST:"hop-simple-list",SLIDER_ITEM:"hop-slider-item",SLIDER:"hop-slider",SLIDESHOW_GALLERY:"hop-slideshow-gallery",SOCIAL_EMBED:"hop-social-embed",SOCIAL_ICONS:"hop-social-icons",SPACER:"hop-spacer",SWIPER_ITEM:"hop-swiper-item",SWIPER_ARROW:"hop-swiper-arrow",SWIPER_ARROW_ICON:"hop-swiper-arrow-icon",SWIPER_DOTS:"hop-swiper-dots",TABS:"hop-tabs",TABS_ITEM:"hop-tabs-item",TEXT:"hop-text",VERTICAL_MENU:"hop-vert
1530ical-menu",VIDEO:"hop-video",WIDGET_AREA:"hop-widget-area",ARCHIVES_WIDGET:"hop-archives-widget",AUDIO_WIDGET:"hop-audio-widget",CALENDAR_WIDGET:"hop-calendar-widget",CATEGORIES_WIDGET:"hop-categories-widget",CUSTOM_HTML_WIDGET:"hop-custom-html-widget",GALLERY_WIDGET:"hop-gallery-widget",IMAGE_WIDGET:"hop-image-widget",META_WIDGET:"hop-meta-widget",NAVIGATION_MENU_WIDGET:"hop-navigation-menu-widget",PAGES_WIDGET:"hop-pages-widget",RECENT_COMMENTS_WIDGET:"hop-recent-comments-widget",RECENT_POST_WIDGET:"hop-recent-post-widget",RSS_WIDGET:"hop-rss-widget",SEARCH_WIDGET:"hop-search-widget",TAG_CLOUD_WIDGET:"hop-tag-cloud-widget",TEXT_WIDGET:"hop-text-widget",VIDEO_WIDGET:"hop-video-widget",WIDGET_WOO_ACTIVE_PRODUCT_FILTERS:"hop-widget-woo-active-product-filters",WIDGET_WOO_CART:"hop-widget-woo-cart",WIDGET_WOO_FILTER_PRODUCTS_BY_ATTRIBUTE:"hop-widget-woo-filter-products-by-attribute",WIDGET_WOO_FILTER_PRODUCTS_BY_PRICE:"hop-widget-woo-filter-products-by-price",WIDGET_WOO_FILTER_PRODUCTS_BY_RATING:"hop-widget-woo-filter-products-by-rating",WIDGET_WOO_PRODUCT_CATEGORIES:"hop-widget-woo-product-categories",WIDGET_WOO_PRODUCT_SEARCH:"hop-widget-woo-product-search",WIDGET_WOO_PRODUCT_TAG_CLOUD:"hop-widget-woo-product-tag-cloud",WIDGET_WOO_PRODUCTS_BY_RATING:"hop-widget-woo-products-by-rating",WIDGET_WOO_PRODUCTS:"hop-widget-woo-products",WIDGET_WOO_RECENT_PRODUCT_REVIEWS:"hop-widget-woo-recent-product-reviews",WIDGET_WOO_RECENT_VIEWED_PRODUCTS:"hop-widget-woo-recent-viewed-products",WC_ARCHIVE_LOOP:"hop-wc-archive-loop",WC_CROSS_SELL:"hop-wc-cross-sell",WC_CART_TOTAL:"hop-wc-cart-total",WC_CART:"hop-wc-cart",WC_CHECKOUT:"hop-wc-checkout",WC_MY_ACCOUNT:"hop-wc-my-account",WC_PRODUCT_ADD_TO_CART:"hop-wc-product-add-to-cart",WC_BREADCRUMB:"hop-wc-breadcrumb",WC_CART_CONTENT_BUTTON:"hop-wc-cart-content-button",WC_CATALOG_ORDERING:"hop-wc-catalog-ordering",WC_PRODUCT_CONTENT:"hop-wc-product-content",WC_PRODUCT_DETAILS:"hop-wc-product-details",WC_PRODUCT_EXCERPT:"hop-wc-product-excerpt",WC_PRODUCT_IMAGES:"hop-wc-product-images",WC_RESULT_COUNT:"hop-wc-result-count",WC_PRODUCT_META:"hop-wc-product-meta",WC_PAGINATION:"hop-wc-pagination",WC_PRODUCT_PRICE:"hop-wc-product-price",WC_PRODUCT_RATING:"hop-wc-product-rating",WC_PRODUCT_RELATED:"hop-wc-product-related",WC_PRODUCT_SHARING:"hop-wc-product-sharing",WC_PRODUCTS_SHOWCASE:"hop-wc-products-showcase",WC_PRODUCT_SUMMARY:"hop-wc-product-summary",WC_PRODUCT_TITLE:"hop-wc-product-title"}},__colibri_789:function(t,e,n){t.exports={default:n("__colibri_1719"),__esModule:!0}},__colibri_790:function(t,e,n){"use strict";e.__esModule=!0,e.default=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}},__colibri_791:function(t,e,n){"use strict";e.__esModule=!0;var i,r=n("__colibri_836"),o=(i=r)&&i.__esModule?i:{default:i};e.default=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),(0,o.default)(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}()},__colibri_792:function(t,e,n){t.exports={default:n("__colibri_1700"),__esModule:!0}},__colibri_793:function(t,e,n){t.exports={default:n("__colibri_1702"),__esModule:!0}},__colibri_797:function(t,e,n){"use strict";e.__esModule=!0;var i=a(n("__colibri_1699")),r=a(n("__colibri_950")),o="function"==typeof r.default&&"symbol"==typeof i.default?function(t){return typeof t}:function(t){return t&&"function"==typeof r.default&&t.constructor===r.default&&t!==r.default.prototype?"symbol":typeof t};function a(t){return t&&t.__esModule?t:{default:t}}e.default="function"==typeof r.default&&"symbol"===o(i.default)?function(t){return void 0===t?"undefined":o(t)}:function(t){return t&&"function"==typeof r.default&&t.constructor===r.default&&t!==r.default.prototype?"symbol":void 0===t?"undefined":o(t)}},__colibri_803:function(t,e,n){t.exports={default:n("__colibri_1614"),__esModule:!0}},__colibri_808:function(t,e,n){"use strict";e.__esModule=!0;var i,r=n("__colibri_797"),o=(i=r)&&i.__esModule?i:{default:i};e.default=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==(void 0===e?"undefined":(0,o.default)(e))&&"function"!=typeof e?t:e}},__colibri_809:function(t,e,n){"use strict";
1530e.__esModule=!0;var i=a(n("__colibri_1612")),r=a(n("__colibri_793")),o=a(n("__colibri_797"));function a(t){return t&&t.__esModule?t:{default:t}}e.default=function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":(0,o.default)(e)));t.prototype=(0,r.default)(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(i.default?(0,i.default)(t,e):t.__proto__=e)}},__colibri_815:function(t,e,n){t.exports={default:n("__colibri_1726"),__esModule:!0}},__colibri_822:function(t,e){var n=t.exports={version:"2.5.3"};"number"==typeof __e&&(__e=n)},__colibri_823:function(t,e,n){t.exports={default:n("__colibri_1721"),__esModule:!0}},__colibri_836:function(t,e,n){t.exports={default:n("__colibri_1728"),__esModule:!0}},__colibri_840:function(t,e,n){var i=n("__colibri_854"),r=n("__colibri_822"),o=n("__colibri_946"),a=n("__colibri_915"),s=function(t,e,n){var c,u,l,f=t&s.F,h=t&s.G,p=t&s.S,d=t&s.P,_=t&s.B,v=t&s.W,m=h?r:r[e]||(r[e]={}),g=m.prototype,b=h?i:p?i[e]:(i[e]||{}).prototype;for(c in h&&(n=e),n)(u=!f&&b&&void 0!==b[c])&&c in m||(l=u?b[c]:n[c],m[c]=h&&"function"!=typeof b[c]?n[c]:_&&u?o(l,i):v&&b[c]==l?function(t){var e=function(e,n,i){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,i)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(l):d&&"function"==typeof l?o(Function.call,l):l,d&&((m.virtual||(m.virtual={}))[c]=l,t&s.R&&g&&!g[c]&&a(g,c,l)))};s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,s.U=64,s.R=128,t.exports=s},__colibri_854:function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},__colibri_856:function(t,e,n){t.exports={default:n("__colibri_1695"),__esModule:!0}},__colibri_861:function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},__colibri_870:function(t,e,n){t.exports=function(){var t,e=jQuery;if("undefined"==typeof jQuery)throw new Error("Colibri requires jQuery");return function(t){var e=t.fn.jquery.split(".");if(1===e[0]&&e[1]<8)throw new Error("Colibri requires at least jQuery v1.8")}(jQuery),Function.prototype.inherits=function(t){var e=function(){};e.prototype=t.prototype;var n=new e;for(var i in this.prototype)n[i]=this.prototype[i];this.prototype=n,this.prototype.super=t.prototype},(t=function(n,i){i="object"==typeof i?i:{},this.$element=e(n);var r=this.$element.data("colibri-id"),o=t.getData(r);this.instance=r;var a=this.$element.data();this.opts=e.extend(!0,{},this.defaults,e.fn["colibri."+this.namespace].options,a,o,i),this.$target="string"==typeof this.opts.target?e(this.opts.target):null}).getData=function(t){return window.colibriData&&window.colibriData[t]?window.colibriData[t]:{}},t.isCustomizerPreview=function(){return!!window.colibriCustomizerPreviewData},t.prototype={updateOpts:function(n){var i=this.instance,r=e.extend(!0,{},this.defaults,t.getData(i)),o=n||{};this.opts=e.extend(!0,this.opts,r,o)},getInstance:function(){return this.$element.data("fn."+this.namespace)},hasTarget:function(){return!(null===this.$target)},callback:function(t){var n=[].slice.call(arguments).splice(1);return this.$element&&(n=this._fireCallback(e._data(this.$element[0],"events"),t,this.namespace,n)),this.$target&&(n=this._fireCallback(e._data(this.$target[0],"events"),t,this.namespace,n)),this.opts&&this.opts.callbacks&&e.isFunction(this.opts.callbacks[t])?this.opts.callbacks[t].apply(this,n):n},_fireCallback:function(t,e,n,i){if(t&&void 0!==t[e])for(var r=t[e].length,o=0;o<r;o++)if(t[e][o].namespace===n)var a=t[e][o].handler.apply(this,i);return void 0===a?i:a}},function(t){t.Plugin={create:function(n,i){return i="colibri."+(i=void 0===i?n.toLowerCase():i),e.fn[i]=function(r,o){var a=Array.prototype.slice.call(arguments,1),s="fn."+i,c=[];return this.each(function(){var i=e(this),u=i.data(s);if(o="object"==typeof r?r:o,u||(i.data(s,{}),u=new t[n](this,o),i.data(s,u)),"string"==typeof r)if(e.isFunction(u[r])){var l=u[r].apply(u,a);void 0!==l&&c.push(l)}
1530else e.error('No such method "'+r+'" for '+n)}),0===c.length||1===c.length?0===c.length?this:c[0]:c},e.fn[i].options={},this},autoload:function(t){for(var e=t.split(","),n=e.length,i=0;i<n;i++){var r=e[i].toLowerCase().split(",").map(function(t){return"colibri."+t.trim()}).join(",");this.autoloadQueue.push(r)}return this},autoloadQueue:[],startAutoload:function(){if(window.MutationObserver&&0!==this.autoloadQueue.length){var t=this;new MutationObserver(function(e){e.forEach(function(e){var n=e.addedNodes;0===n.length||1===n.length&&3===n.nodeType||t.startAutoloadOnce()})}).observe(document,{subtree:!0,childList:!0})}},startAutoloadOnce:function(){var t=this;e("[data-colibri-component]").not("[data-loaded]").not("[data-disabled]").each(function(){var n=e(this),i="colibri."+n.data("colibri-component");if(-1!==t.autoloadQueue.indexOf(i)){n.attr("data-loaded",!0);try{n[i]()}catch(t){console.error(t)}}})},watch:function(){t.Plugin.startAutoloadOnce(),t.Plugin.startAutoload()}},e(window).on("load",function(){t.Plugin.watch()})}(t),function(t){t.Animation=function(e,n,i){this.namespace="animation",this.defaults={},t.apply(this,arguments),this.effect=n,this.completeCallback=void 0!==i&&i,this.prefixes=["","-moz-","-o-animation-","-webkit-"],this.queue=[],this.start()},t.Animation.prototype={start:function(){this.isSlideEffect()&&this.setElementHeight(),this.addToQueue(),this.clean(),this.animate()},addToQueue:function(){this.queue.push(this.effect)},setElementHeight:function(){this.$element.height(this.$element.outerHeight())},removeElementHeight:function(){this.$element.css("height","")},isSlideEffect:function(){return"slideDown"===this.effect||"slideUp"===this.effect},isHideableEffect:function(){return-1!==e.inArray(this.effect,["fadeOut","slideUp","flipOut","zoomOut","slideOutUp","slideOutRight","slideOutLeft"])},isToggleEffect:function(){return"show"===this.effect||"hide"===this.effect},storeHideClasses:function(){this.$element.hasClass("hide-sm")?this.$element.data("hide-sm-class",!0):this.$element.hasClass("hide-md")&&this.$element.data("hide-md-class",!0)},revertHideClasses:function(){this.$element.data("hide-sm-class")?this.$element.addClass("hide-sm").removeData("hide-sm-class"):this.$element.data("hide-md-class")?this.$element.addClass("hide-md").removeData("hide-md-class"):this.$element.addClass("hide")},removeHideClass:function(){this.$element.data("hide-sm-class")?this.$element.removeClass("hide-sm"):this.$element.data("hide-md-class")?this.$element.removeClass("hide-md"):(this.$element.removeClass("hide"),this.$element.removeClass("force-hide"))},animate:function(){if(this.storeHideClasses(),this.isToggleEffect())return this.makeSimpleEffects();this.$element.addClass("colibri-animated"),this.$element.addClass(this.queue[0]),this.removeHideClass();var t=this.queue.length>1?null:this.completeCallback;this.complete("AnimationEnd",e.proxy(this.makeComplete,this),t)},makeSimpleEffects:function(){"show"===this.effect?this.removeHideClass():"hide"===this.effect&&this.revertHideClasses(),"function"==typeof this.completeCallback&&this.completeCallback(this)},makeComplete:function(){this.$element.hasClass(this.queue[0])&&(this.clean(),this.queue.shift(),this.queue.length&&this.animate())},complete:function(t,n,i){var r=t.split(" ").map(function(t){return t.toLowerCase()+" webkit"+t+" o"+t+" MS"+t});this.$element.one(r.join(" "),e.proxy(function(){"function"==typeof n&&n(),this.isHideableEffect()&&this.revertHideClasses(),this.isSlideEffect()&&this.removeElementHeight(),"function"==typeof i&&i(this),this.$element.off(event)},this))},clean:function(){this.$element.removeClass("colibri-animated").removeClass(this.queue[0])}},t.Animation.inherits(t)}(t),function(e){e.fn["colibri.animation"]=function(n,i){var r="fn.animation";return this.each(function(){var o=e(this);o.data(r),o.data(r,{}),o.data(r,new t.Animation(this,n,i))})},e.fn["colibri.animation"].options={},t.animate=function(t,e,n){return t["colibri.animation"](e,n),t}}(jQuery),function(t){t.Detect=function(){},t.Detect.prototype={isMobile:function(){return/(iPhone|iPod|BlackBerry|Android)/.test(navigator.userAgent)},isDesktop:function(){return!/(iPhone|iPod|iPad|BlackBerry|Android)/.test(navigator.userAgent)},isMobileScreen:function(){return e(window).width()<=768},isTabletScreen:function(){return e(window).width()>=768&&e(window).width()<=1024},isDesktopScreen:function(){return e(window).width()>1024}}}(t),function(t){t.Utils=function(){},t.Utils.prototype={disableBodyScroll:function(){var t=e("html"),n=window.innerWidth;if(!n){var i=document.documentElement.getBoundingClientRect();n=i.right-Math.abs(i.left)}var r=document.body.clientWidth<n,o=this.measureScrollbar();t.css("overflow","hidden"),r&&t.css("padding-right",o)},measureScrollbar:function(){var t=e("body"),n=document.createElement("div");n.className="scrollbar-measure",t.append(n);var i=n.offsetWidth-n.clientWidth;return t[0].removeChild(n),i},enableBodyScroll:function(){e("html").css({overflow:"","padding-right":""})}}}(t),t}()},__colibri_874:function(t,e,n){var i=n("__colibri_1148")("wks"),r=n("__colibri_990"),o=n("__colibri_854").Symbol,a="function"==typeof o;(t.exports=function(t){return i[t]||(i[t]=a&&o[t]||(a?o:r)("Symbol."+t))}).store=i},__colibri_876:function(t,e,n){(function(t,n){(function(){var i,r=200,o="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",a="Expected a function",s="Invalid `variable` option passed into `_.template`",c="Invalid `imports` option passed into `_.template`",u="__lodash_hash_undefined__",l=500,f="__lodash_placeholder__",h=1,p=2,d=4,_=1,v=2,m=1,g=2,b=4,y=8,w=16,O=32,C=64,E=128,S=256,A=512,I=30,x="...",T=800,k=16,P=1,$=2,L=1/0,j=9007199254740991,R=1.7976931348623157e308,D=NaN,N=4294967295,M=N-1,z=N>>>1,F=[["ary",E],["bind",m],["bindKey",g],["curry",y],["curryRight",w],["flip",A],["partial",O],["partialRight",C],["rearg",S]],B="[object Arguments]",W="[object Array]",U="[object AsyncFunction]",H="[object Boolean]",V="[object Date]",G="[object DOMException]",q="[object Error]",Q="[object Function]",Y="[object GeneratorFunction]",Z="[object Map]",K="[object Number]",J="[object Null]",X="[object Object]",tt="[object Proxy]",et="[object RegExp]",nt="[object Set]",it="[object String]",rt="[object Symbol]",ot="[object Undef
1530ined]",at="[object WeakMap]",st="[object WeakSet]",ct="[object ArrayBuffer]",ut="[object DataView]",lt="[object Float32Array]",ft="[object Float64Array]",ht="[object Int8Array]",pt="[object Int16Array]",dt="[object Int32Array]",_t="[object Uint8Array]",vt="[object Uint8ClampedArray]",mt="[object Uint16Array]",gt="[object Uint32Array]",bt=/\b__p \+= '';/g,yt=/\b(__p \+=) '' \+/g,wt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Ot=/&(?:amp|lt|gt|quot|#39);/g,Ct=/[&<>"']/g,Et=RegExp(Ot.source),St=RegExp(Ct.source),At=/<%-([\s\S]+?)%>/g,It=/<%([\s\S]+?)%>/g,xt=/<%=([\s\S]+?)%>/g,Tt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,kt=/^\w*$/,Pt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,$t=/[\\^$.*+?()[\]{}|]/g,Lt=RegExp($t.source),jt=/^\s+/,Rt=/\s/,Dt=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Nt=/\{\n\/\* \[wrapped with (.+)\] \*/,Mt=/,? & /,zt=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Ft=/[()=,{}\[\]\/\s]/,Bt=/\\(\\)?/g,Wt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Ut=/\w*$/,Ht=/^[-+]0x[0-9a-f]+$/i,Vt=/^0b[01]+$/i,Gt=/^\[object .+?Constructor\]$/,qt=/^0o[0-7]+$/i,Qt=/^(?:0|[1-9]\d*)$/,Yt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u01
vendor: 5,971 bytes, line 1530
15307f]/g,Zt=/($^)/,Kt=/['\n\r\u2028\u2029\\]/g,Jt="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Xt="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",te="[\\ud800-\\udfff]",ee="["+Xt+"]",ne="["+Jt+"]",ie="\\d+",re="[\\u2700-\\u27bf]",oe="[a-z\\xdf-\\xf6\\xf8-\\xff]",ae="[^\\ud800-\\udfff"+Xt+ie+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",se="\\ud83c[\\udffb-\\udfff]",ce="[^\\ud800-\\udfff]",ue="(?:\\ud83c[\\udde6-\\uddff]){2}",le="[\\ud800-\\udbff][\\udc00-\\udfff]",fe="[A-Z\\xc0-\\xd6\\xd8-\\xde]",he="(?:"+oe+"|"+ae+")",pe="(?:"+fe+"|"+ae+")",de="(?:"+ne+"|"+se+")"+"?",_e="[\\ufe0e\\ufe0f]?"+de+("(?:\\u200d(?:"+[ce,ue,le].join("|")+")[\\ufe0e\\ufe0f]?"+de+")*"),ve="(?:"+[re,ue,le].join("|")+")"+_e,me="(?:"+[ce+ne+"?",ne,ue,le,te].join("|")+")",ge=RegExp("['’]","g"),be=RegExp(ne,"g"),ye=RegExp(se+"(?="+se+")|"+me+_e,"g"),we=RegExp([fe+"?"+oe+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[ee,fe,"$"].join("|")+")",pe+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[ee,fe+he,"$"].join("|")+")",fe+"?"+he+"+(?:['’](?:d|ll|m|re|s|t|ve))?",fe+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",ie,ve].join("|"),"g"),Oe=RegExp("[\\u200d\\ud800-\\udfff"+Jt+"\\ufe0e\\ufe0f]"),Ce=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Ee=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Se=-1,Ae={};Ae[lt]=Ae[ft]=Ae[ht]=Ae[pt]=Ae[dt]=Ae[_t]=Ae[vt]=Ae[mt]=Ae[gt]=!0,Ae[B]=Ae[W]=Ae[ct]=Ae[H]=Ae[ut]=Ae[V]=Ae[q]=Ae[Q]=Ae[Z]=Ae[K]=Ae[X]=Ae[et]=Ae[nt]=Ae[it]=Ae[at]=!1;var Ie={};Ie[B]=Ie[W]=Ie[ct]=Ie[ut]=Ie[H]=Ie[V]=Ie[lt]=Ie[ft]=Ie[ht]=Ie[pt]=Ie[dt]=Ie[Z]=Ie[K]=Ie[X]=Ie[et]=Ie[nt]=Ie[it]=Ie[rt]=Ie[_t]=Ie[vt]=Ie[mt]=Ie[gt]=!0,Ie[q]=Ie[Q]=Ie[at]=!1;var xe={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Te=parseFloat,ke=parseInt,Pe="object"==typeof t&&t&&t.Object===Object&&t,$e="object"==typeof self&&self&&self.Object===Object&&self,Le=Pe||$e||Function("return this")(),je="object"==typeof e&&e&&!e.nodeType&&e,Re=je&&"object"==typeof n&&n&&!n.nodeType&&n,De=Re&&Re.exports===je,Ne=De&&Pe.process,Me=function(){try{var t=Re&&Re.require&&Re.require("util").types;return t||Ne&&Ne.binding&&Ne.binding("util")}catch(t){}}(),ze=Me&&Me.isArrayBuffer,Fe=Me&&Me.isDate,Be=Me&&Me.isMap,We=Me&&Me.isRegExp,Ue=Me&&Me.isSet,He=Me&&Me.isTypedArray;function Ve(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function Ge(t,e,n,i){for(var r=-1,o=null==t?0:t.length;++r<o;){var a=t[r];e(i,a,n(a),t)}return i}function qe(t,e){for(var n=-1,i=null==t?0:t.length;++n<i&&!1!==e(t[n],n,t););return t}function Qe(t,e){for(var n=null==t?0:t.length;n--&&!1!==e(t[n],n,t););return t}function Ye(t,e){for(var n=-1,i=null==t?0:t.length;++n<i;)if(!e(t[n],n,t))return!1;return!0}function Ze(t,e){for(var n=-1,i=null==t?0:t.length,r=0,o=[];++n<i;){var a=t[n];e(a,n,t)&&(o[r++]=a)}return o}function Ke(t,e){return!!(null==t?0:t.length)&&cn(t,e,0)>-1}function Je(t,e,n){for(var i=-1,r=null==t?0:t.length;++i<r;)if(n(e,t[i]))return!0;return!1}function Xe(t,e){for(var n=-1,i=null==t?0:t.length,r=Array(i);++n<i;)r[n]=e(t[n],n,t);return r}function tn(t,e){for(var n=-1,i=e.length,r=t.length;++n<i;)t[r+n]=e[n];return t}function en(t,e,n,i){var r=-1,o=null==t?0:t.length;for(i&&o&&(n=t[++r]);++r<o;)n=e(n,t[r],r,t);return n}function nn(t,e,n,i){var r=null==t?0:t.length;for(i&&r&&(n=t[--r]);r--;)n=e(n,t[r],r,t);return n}function rn(t,e){for(var n=-1,i=null==t?0:t.length;++n<i;)if(e(t[n],n,t))return!0;return!1}var on=hn("length");function an(t,e,n){var i;return n(t,function(t,n,r){if(e(t,n,r))return i=n,!1}),i}function sn(t,e,n,i){for(var r=t.length,o=n+(i?1:-1);i?o--:++o<r;)if(e(t[o],o,t))return o;return-1}function cn(t,e,n){return e==e?function(t,e,n){var i=n-1,r=t.length;for(;++i<r;)if(t[i]===e)return i;return-1}(t,e,n):sn(t,ln,n)}function un(t,e,n,i){for(var r=n-1,o=t.length;++r<o;)if(i(t[r],e))return r;return-1}function ln(t){return t!=t}function fn(t,e){var n=null==t?0:t.length;return n?_n(t,e)/n:D}function hn(t){return function(e){return null==e?i:e[t]}}function pn(t){return function(e){return null==t?i:t[e]}}function dn(t,e,n,i,r){return r(t,function(t,r,o){n=i?(i=!1,t):e(n,t,r,o)}),n}function _n(t,e){for(var n,r=-1,o=t.length;++r<o;){var a=e(t[r]);a!==i&&(n=n===i?a:n+a)}return n}function vn(t,e){for(var n=-1,i=Array(t);++n<t;)i[n]=e(n);return i}function mn(t){return t?t.slice(0,jn(t)+1).replace(jt,""):t}function gn(t){return function(e){return t(e)}}function bn(t,e){return Xe(e,function(e){return t[e]})}function yn(t,e){return t.has(e)}function wn(t,e){for(var n=-1,i=t.length;++n<i&&cn(e,t[n],0)>-1;);return n}function On(t,e){for(var n=t.length;n--&&cn(e,t[n],0)>-1;);return n}var Cn=pn({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"
1530c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),En=pn({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function Sn(t){return"\\"+xe[t]}function An(t){return Oe.test(t)}function In(t){var e=-1,n=Array(t.size);return t.forEach(function(t,i){n[++e]=[i,t]}),n}function xn(t,e){return function(n){return t(e(n))}}function Tn(t,e){for(var n=-1,i=t.length,r=0,o=[];++n<i;){var a=t[n];a!==e&&a!==f||(t[n]=f,o[r++]=n)}return o}function kn(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=t}),n}function Pn(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=[t,t]}),n}function $n(t){return An(t)?function(t){var e=ye.lastIndex=0;for(;ye.test(t);)++e;return e}(t):on(t)}function Ln(t){return An(t)?function(t){return t.match(ye)||[]}(t):function(t){return t.split("")}(t)}function jn(t){for(var e=t.length;e--&&Rt.test(t.charAt(e)););return e}var Rn=pn({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"});var Dn=function t(e){var n,Rt=(e=null==e?Le:Dn.defaults(Le.Object(),e,Dn.pick(Le,Ee))).Array,Jt=e.Date,Xt=e.Error,te=e.Function,ee=e.Math,ne=e.Object,ie=e.RegExp,re=e.String,oe=e.TypeError,ae=Rt.prototype,se=te.prototype,ce=ne.prototype,ue=e["__core-js_shared__"],le=se.toString,fe=ce.hasOwnProperty,he=0,pe=(n=/[^.]+$/.exec(ue&&ue.keys&&ue.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",de=ce.toString,_e=le.call(ne),ve=Le._,me=ie("^"+le.call(fe).replace($t,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ye=De?e.Buffer:i,Oe=e.Symbol,xe=e.Uint8Array,Pe=ye?ye.allocUnsafe:i,$e=xn(ne.getPrototypeOf,ne),je=ne.create,Re=ce.propertyIsEnumerable,Ne=ae.splice,Me=Oe?Oe.isConcatSpreadable:i,on=Oe?Oe.iterator:i,pn=Oe?Oe.toStringTag:i,Nn=function(){try{var t=Wo(ne,"defineProperty");return t({},"",{}),t}catch(t){}}(),Mn=e.clearTimeout!==Le.clearTimeout&&e.clearTimeout,zn=Jt&&Jt.now!==Le.Date.now&&Jt.now,Fn=e.setTimeout!==Le.setTimeout&&e.setTimeout,Bn=ee.ceil,Wn=ee.floor,Un=ne.getOwnPropertySymbols,Hn=ye?ye.isBuffer:i,Vn=e.isFinite,Gn=ae.join,qn=xn(ne.keys,ne),Qn=ee.max,Yn=ee.min,Zn=Jt.now,Kn=e.parseInt,Jn=ee.random,Xn=ae.reverse,ti=Wo(e,"DataView"),ei=Wo(e,"Map"),ni=Wo(e,"Promise"),ii=Wo(e,"Set"),ri=Wo(e,"WeakMap"),oi=Wo(ne,"create"),ai=ri&&new ri,si={},ci=da(ti),ui=da(ei),li=da(ni),fi=da(ii),hi=da(ri),pi=Oe?Oe.prototype:i,di=pi?pi.valueOf:i,_i=pi?pi.toString:i;function vi(t){if(Ps(t)&&!ys(t)&&!(t instanceof yi)){if(t instanceof bi)return t;if(fe.call(t,"__wrapped__"))return _a(t)}return new bi(t)}var mi=function(){function t(){}return function(e){if(!ks(e))return{};if(je)return je(e);t.prototype=e;var n=new t;return t.prototype=i,n}}();function gi(){}function bi(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=i}function yi(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=N,this.__views__=[]}function wi(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}function Oi(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}function Ci(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}function Ei(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new Ci;++e<n;)this.add(t[e])}function Si(t){var e=this.__data__=new Oi(t);this.size=e.size}function Ai(t,e){var n=ys(t),i=!n&&bs(t),r=!n&&!i&&Es(t),o=!n&&!i&&!r&&zs(t),a=n||i||r||o,s=a?vn(t.length,re):[],c=s.length;for(var u in t)!e&&!fe.call(t,u)||a&&("length"==u||r&&("offset"==u||"parent"==u)||o&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||Yo(u,c))||s.push(u);return s}function Ii(t){var e=t.length;return e?t[Er(0,e-1)]:i}function xi(t,e){return fa(oo(t),Ni(e,0,t.length))}function Ti(t){return fa(oo(t))}function ki(t,e,n){(n===i||vs(t[e],n))&&(n!==i||e in t)||Ri(t,e,n)}function Pi(t,e,n){var r=t[e];fe.call(t,e)&&vs(r,n)&&(n!==i||e in t)||Ri(t,e,n)}function $i(t,e){for(var n=t.length;n--;)if(vs(t[n][0],e))return n;return-1}function Li(t,e,n,i){return Wi(t,function(t,r,o){e(i,t,n(t),o)}),i}function ji(t,e){return t&&ao(e,sc(e),t)}function Ri(t,e,n){"__proto__"==e&&Nn?Nn(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}function Di(t,e){for(var n=-1,r=e.length,o=Rt(r),a=null==t;++n<r;)o[n]=a?i:nc(t,e[n]);return o}function Ni(t,e,n){return t==t&&(n!==i&&(t=t<=n?t:n),e!==i&&(t=t>=e?t:e)),t}function Mi(t,e,n,r,o,a){var s,c=e&h,u=e&p,l=e&d;if(n&&(s=o?n(t,r,o,a):n(t)),s!==i)return s;if(!ks(t))return t;var f=ys(t);if(f){if(s=function(t){var e=t.length,n=new t.constructor(e);return e&&"string"==typeof t[0]&&fe.call(t,"index")&&(n.index=t.index,n.input=t.input),n}(t),!c)return oo(t,s)}else{var _=Vo(t),v=_==Q||_==Y;if(Es(t))return Xr(t,c);if(_==X||_==B||v&&!o){if(s=u||v?{}:qo(t),!c)return u?function(t,e){return ao(t,Ho(t),e)}(t,function(t,e){return t&&ao(e,cc(e),t)}(s,t)):function(t,e){return ao(t,Uo(t),e)}(t,ji(s,t))}else{if(!Ie[_])return o?t:{};s=function(t,e,n){var i,r,o,a=t.constructor;switch(e){case ct:return to(t);case H:case V:return new a(+t);case ut:return function(t,e){var n=e?to(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}(t,n);case lt:case ft:case ht:case pt:case dt:case _t:case vt:case mt:case gt:return eo(t,n);case Z:return new a;case K:case it:return new a(t);case et:return(o=new(r=t).constructor(r.source,Ut.exec(r))).lastIndex=r.lastIndex,o;case nt:return new a;case rt:return i=t,di?ne(di.call(i)):{}}}(t,_,c)}}a||(a=new Si);var m=a.get(t);if(m)return m;a.set(t,s),Ds(t)?t.forEach(function(i){s.add(Mi(i,e,n,i,t,a))}):$s(t)&&t.forEach(function(i,r){s.set(r,Mi(i,e,n,r,t,a))});var g=f?i:(l?u?Ro:jo:u?cc:sc)(t);return qe(g||t,function(i,r){g&&(i=t[r=i]),Pi(s,r,Mi(i,e,n,r,t,a))}),s}function zi(t,e,n){var r=n.length;if(null==t)return!r;for(t=ne(t);r--;){var o=n[r],a=e[o],s=t[o];if(s===i&&!(o in t)||!a(s))return!1}return!0}function Fi(t,e,n){if("function"!=typeof t)throw new oe(a);return sa(function(){t.apply(i,n)},e)}function Bi(t,e,n,i){var o=-1,a=Ke,s=!0,c=t.length,u=[],l=e.length;if(!c)return u;n&&(e=Xe(e,gn(n))),i?(a=Je,s=!1):e.length>=r&&(a=yn,s=!1,e=new Ei(e));t:for(;++o<c;
vendor: 4,932 bytes, line 1530
1530){var f=t[o],h=null==n?f:n(f);if(f=i||0!==f?f:0,s&&h==h){for(var p=l;p--;)if(e[p]===h)continue t;u.push(f)}else a(e,h,i)||u.push(f)}return u}vi.templateSettings={escape:At,evaluate:It,interpolate:xt,variable:"",imports:{_:vi}},vi.prototype=gi.prototype,vi.prototype.constructor=vi,bi.prototype=mi(gi.prototype),bi.prototype.constructor=bi,yi.prototype=mi(gi.prototype),yi.prototype.constructor=yi,wi.prototype.clear=function(){this.__data__=oi?oi(null):{},this.size=0},wi.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},wi.prototype.get=function(t){var e=this.__data__;if(oi){var n=e[t];return n===u?i:n}return fe.call(e,t)?e[t]:i},wi.prototype.has=function(t){var e=this.__data__;return oi?e[t]!==i:fe.call(e,t)},wi.prototype.set=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=oi&&e===i?u:e,this},Oi.prototype.clear=function(){this.__data__=[],this.size=0},Oi.prototype.delete=function(t){var e=this.__data__,n=$i(e,t);return!(n<0||(n==e.length-1?e.pop():Ne.call(e,n,1),--this.size,0))},Oi.prototype.get=function(t){var e=this.__data__,n=$i(e,t);return n<0?i:e[n][1]},Oi.prototype.has=function(t){return $i(this.__data__,t)>-1},Oi.prototype.set=function(t,e){var n=this.__data__,i=$i(n,t);return i<0?(++this.size,n.push([t,e])):n[i][1]=e,this},Ci.prototype.clear=function(){this.size=0,this.__data__={hash:new wi,map:new(ei||Oi),string:new wi}},Ci.prototype.delete=function(t){var e=Fo(this,t).delete(t);return this.size-=e?1:0,e},Ci.prototype.get=function(t){return Fo(this,t).get(t)},Ci.prototype.has=function(t){return Fo(this,t).has(t)},Ci.prototype.set=function(t,e){var n=Fo(this,t),i=n.size;return n.set(t,e),this.size+=n.size==i?0:1,this},Ei.prototype.add=Ei.prototype.push=function(t){return this.__data__.set(t,u),this},Ei.prototype.has=function(t){return this.__data__.has(t)},Si.prototype.clear=function(){this.__data__=new Oi,this.size=0},Si.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},Si.prototype.get=function(t){return this.__data__.get(t)},Si.prototype.has=function(t){return this.__data__.has(t)},Si.prototype.set=function(t,e){var n=this.__data__;if(n instanceof Oi){var i=n.__data__;if(!ei||i.length<r-1)return i.push([t,e]),this.size=++n.size,this;n=this.__data__=new Ci(i)}return n.set(t,e),this.size=n.size,this};var Wi=uo(Zi),Ui=uo(Ki,!0);function Hi(t,e){var n=!0;return Wi(t,function(t,i,r){return n=!!e(t,i,r)}),n}function Vi(t,e,n){for(var r=-1,o=t.length;++r<o;){var a=t[r],s=e(a);if(null!=s&&(c===i?s==s&&!Ms(s):n(s,c)))var c=s,u=a}return u}function Gi(t,e){var n=[];return Wi(t,function(t,i,r){e(t,i,r)&&n.push(t)}),n}function qi(t,e,n,i,r){var o=-1,a=t.length;for(n||(n=Qo),r||(r=[]);++o<a;){var s=t[o];e>0&&n(s)?e>1?qi(s,e-1,n,i,r):tn(r,s):i||(r[r.length]=s)}return r}var Qi=lo(),Yi=lo(!0);function Zi(t,e){return t&&Qi(t,e,sc)}function Ki(t,e){return t&&Yi(t,e,sc)}function Ji(t,e){return Ze(e,function(e){return Is(t[e])})}function Xi(t,e){for(var n=0,r=(e=Yr(e,t)).length;null!=t&&n<r;)t=t[pa(e[n++])];return n&&n==r?t:i}function tr(t,e,n){var i=e(t);return ys(t)?i:tn(i,n(t))}function er(t){return null==t?t===i?ot:J:pn&&pn in ne(t)?function(t){var e=fe.call(t,pn),n=t[pn];try{t[pn]=i;var r=!0}catch(t){}var o=de.call(t);return r&&(e?t[pn]=n:delete t[pn]),o}(t):function(t){return de.call(t)}(t)}function nr(t,e){return t>e}function ir(t,e){return null!=t&&fe.call(t,e)}function rr(t,e){return null!=t&&e in ne(t)}function or(t,e,n){for(var r=n?Je:Ke,o=t[0].length,a=t.length,s=a,c=Rt(a),u=1/0,l=[];s--;){var f=t[s];s&&e&&(f=Xe(f,gn(e))),u=Yn(f.length,u),c[s]=!n&&(e||o>=120&&f.length>=120)?new Ei(s&&f):i}f=t[0];var h=-1,p=c[0];t:for(;++h<o&&l.length<u;){var d=f[h],_=e?e(d):d;if(d=n||0!==d?d:0,!(p?yn(p,_):r(l,_,n))){for(s=a;--s;){var v=c[s];if(!(v?yn(v,_):r(t[s],_,n)))continue t}p&&p.push(_),l.push(d)}}return l}function ar(t,e,n){var r=null==(t=ra(t,e=Yr(e,t)))?t:t[pa(Aa(e))];return null==r?i:Ve(r,t,n)}function sr(t){return Ps(t)&&er(t)==B}function cr(t,e,n,r,o){return t===e||(null==t||null==e||!Ps(t)&&!Ps(e)?t!=t&&e!=e:function(t,e,n,r,o,a){var s=ys(t),c=ys(e),u=s?W:Vo(t),l=c?W:Vo(e),f=(u=u==B?X:u)==X,h=(l=l==B?X:l)==X,p=u==l;if(p&&Es(t)){if(!Es(e))return!1;s=!0,f=!1}if(p&&!f)return a||(a=new Si),s||zs(t)?$o(t,e,n,r,o,a):function(t,e,n,i,r,o,a){switch(n){case ut:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case ct:return!(t.byteLength!=e.byteLength||!o(new xe(t),new xe(e)));case H:case V:case K:return vs(+t,+e);case q:return t.name==e.name&&t.message==e.message;case et:case it:return t==e+"";case Z:var s=In;case nt:var c=i&_;if(s||(s=kn),t.size!=e.size&&!c)return!1;var u=a.get(t);if(u)return u==e;i|=v,a.set(t,e);var l=$o(s(t),s(e),i,r,o,a);return a.delete(t),l;case rt:if(di)return di.call(t)==di.call(e)}return!1}(t,e,u,n,r,o,a);if(!(n&_)){var d=f&&fe.call(t,"__wrapped__"),m=h&&fe.call(e,"__wrapped__");
vendor: 8,156 bytes, line 1530
1530if(d||m){var g=d?t.value():t,b=m?e.value():e;return a||(a=new Si),o(g,b,n,r,a)}}return!!p&&(a||(a=new Si),function(t,e,n,r,o,a){var s=n&_,c=jo(t),u=c.length,l=jo(e).length;if(u!=l&&!s)return!1;for(var f=u;f--;){var h=c[f];if(!(s?h in e:fe.call(e,h)))return!1}var p=a.get(t),d=a.get(e);if(p&&d)return p==e&&d==t;var v=!0;a.set(t,e),a.set(e,t);for(var m=s;++f<u;){h=c[f];var g=t[h],b=e[h];if(r)var y=s?r(b,g,h,e,t,a):r(g,b,h,t,e,a);if(!(y===i?g===b||o(g,b,n,r,a):y)){v=!1;break}m||(m="constructor"==h)}if(v&&!m){var w=t.constructor,O=e.constructor;w!=O&&"constructor"in t&&"constructor"in e&&!("function"==typeof w&&w instanceof w&&"function"==typeof O&&O instanceof O)&&(v=!1)}return a.delete(t),a.delete(e),v}(t,e,n,r,o,a))}(t,e,n,r,cr,o))}function ur(t,e,n,r){var o=n.length,a=o,s=!r;if(null==t)return!a;for(t=ne(t);o--;){var c=n[o];if(s&&c[2]?c[1]!==t[c[0]]:!(c[0]in t))return!1}for(;++o<a;){var u=(c=n[o])[0],l=t[u],f=c[1];if(s&&c[2]){if(l===i&&!(u in t))return!1}else{var h=new Si;if(r)var p=r(l,f,u,t,e,h);if(!(p===i?cr(f,l,_|v,r,h):p))return!1}}return!0}function lr(t){return!(!ks(t)||pe&&pe in t)&&(Is(t)?me:Gt).test(da(t))}function fr(t){return"function"==typeof t?t:null==t?Lc:"object"==typeof t?ys(t)?mr(t[0],t[1]):vr(t):Wc(t)}function hr(t){if(!ta(t))return qn(t);var e=[];for(var n in ne(t))fe.call(t,n)&&"constructor"!=n&&e.push(n);return e}function pr(t){if(!ks(t))return function(t){var e=[];if(null!=t)for(var n in ne(t))e.push(n);return e}(t);var e=ta(t),n=[];for(var i in t)("constructor"!=i||!e&&fe.call(t,i))&&n.push(i);return n}function dr(t,e){return t<e}function _r(t,e){var n=-1,i=Os(t)?Rt(t.length):[];return Wi(t,function(t,r,o){i[++n]=e(t,r,o)}),i}function vr(t){var e=Bo(t);return 1==e.length&&e[0][2]?na(e[0][0],e[0][1]):function(n){return n===t||ur(n,t,e)}}function mr(t,e){return Ko(t)&&ea(e)?na(pa(t),e):function(n){var r=nc(n,t);return r===i&&r===e?ic(n,t):cr(e,r,_|v)}}function gr(t,e,n,r,o){t!==e&&Qi(e,function(a,s){if(o||(o=new Si),ks(a))!function(t,e,n,r,o,a,s){var c=oa(t,n),u=oa(e,n),l=s.get(u);if(l)ki(t,n,l);else{var f=a?a(c,u,n+"",t,e,s):i,h=f===i;if(h){var p=ys(u),d=!p&&Es(u),_=!p&&!d&&zs(u);f=u,p||d||_?ys(c)?f=c:Cs(c)?f=oo(c):d?(h=!1,f=Xr(u,!0)):_?(h=!1,f=eo(u,!0)):f=[]:js(u)||bs(u)?(f=c,bs(c)?f=qs(c):ks(c)&&!Is(c)||(f=qo(u))):h=!1}h&&(s.set(u,f),o(f,u,r,a,s),s.delete(u)),ki(t,n,f)}}(t,e,s,n,gr,r,o);else{var c=r?r(oa(t,s),a,s+"",t,e,o):i;c===i&&(c=a),ki(t,s,c)}},cc)}function br(t,e){var n=t.length;if(n)return Yo(e+=e<0?n:0,n)?t[e]:i}function yr(t,e,n){var i=-1;return e=Xe(e=e.length?Xe(e,function(t){return ys(t)?function(e){return Xi(e,1===t.length?t[0]:t)}:t}):[Lc],gn(zo())),function(t,e){var n=t.length;for(t.sort(e);n--;)t[n]=t[n].value;return t}(_r(t,function(t,n,r){return{criteria:Xe(e,function(e){return e(t)}),index:++i,value:t}}),function(t,e){return function(t,e,n){for(var i=-1,r=t.criteria,o=e.criteria,a=r.length,s=n.length;++i<a;){var c=no(r[i],o[i]);if(c){if(i>=s)return c;var u=n[i];return c*("desc"==u?-1:1)}}return t.index-e.index}(t,e,n)})}function wr(t,e,n){for(var i=-1,r=e.length,o={};++i<r;){var a=e[i],s=Xi(t,a);n(s,a)&&Tr(o,Yr(a,t),s)}return o}function Or(t,e,n,i){var r=i?un:cn,o=-1,a=e.length,s=t;for(t===e&&(e=oo(e)),n&&(s=Xe(t,gn(n)));++o<a;)for(var c=0,u=e[o],l=n?n(u):u;(c=r(s,l,c,i))>-1;)s!==t&&Ne.call(s,c,1),Ne.call(t,c,1);return t}function Cr(t,e){for(var n=t?e.length:0,i=n-1;n--;){var r=e[n];if(n==i||r!==o){var o=r;Yo(r)?Ne.call(t,r,1):Br(t,r)}}return t}function Er(t,e){return t+Wn(Jn()*(e-t+1))}function Sr(t,e){var n="";if(!t||e<1||e>j)return n;do{e%2&&(n+=t),(e=Wn(e/2))&&(t+=t)}while(e);return n}function Ar(t,e){return ca(ia(t,e,Lc),t+"")}function Ir(t){return Ii(vc(t))}function xr(t,e){var n=vc(t);return fa(n,Ni(e,0,n.length))}function Tr(t,e,n,r){if(!ks(t))return t;for(var o=-1,a=(e=Yr(e,t)).length,s=a-1,c=t;null!=c&&++o<a;){var u=pa(e[o]),l=n;if("__proto__"===u||"constructor"===u||"prototype"===u)return t;if(o!=s){var f=c[u];(l=r?r(f,u,c):i)===i&&(l=ks(f)?f:Yo(e[o+1])?[]:{})}Pi(c,u,l),c=c[u]}return t}var kr=ai?function(t,e){return ai.set(t,e),t}:Lc,Pr=Nn?function(t,e){return Nn(t,"toString",{configurable:!0,enumerable:!1,value:kc(e),writable:!0})}:Lc;function $r(t){return fa(vc(t))}function Lr(t,e,n){var i=-1,r=t.length;e<0&&(e=-e>r?0:r+e),(n=n>r?r:n)<0&&(n+=r),r=e>n?0:n-e>>>0,e>>>=0;for(var o=Rt(r);++i<r;)o[i]=t[i+e];return o}function jr(t,e){var n;return Wi(t,function(t,i,r){return!(n=e(t,i,r))}),!!n}function Rr(t,e,n){var i=0,r=null==t?i:t.length;if("number"==typeof e&&e==e&&r<=z){for(;i<r;){var o=i+r>>>1,a=t[o];null!==a&&!Ms(a)&&(n?a<=e:a<e)?i=o+1:r=o}return r}return Dr(t,e,Lc,n)}function Dr(t,e,n,r){var o=0,a=null==t?0:t.length;if(0===a)return 0;for(var s=(e=n(e))!=e,c=null===e,u=Ms(e),l=e===i;o<a;){var f=Wn((o+a)/2),h=n(t[f]),p=h!==i,d=null===h,_=h==h,v=Ms(h);if(s)var m=r||_;else m=l?_&&(r||p):c?_&&p&&(r||!d):u?_&&p&&!d&&(r||!v):!d&&!v&&(r?h<=e:h<e);m?o=f+1:a=f}return Yn(a,M)}function Nr(t,e){for(var n=-1,i=t.length,r=0,o=[];++n<i;){var a=t[n],s=e?e(a):a;if(!n||!vs(s,c)){var c=s;o[r++]=0===a?0:a}}return o}function Mr(t){return"number"==typeof t?t:Ms(t)?D:+t}function zr(t){if("string"==typeof t)return t;if(ys(t))return Xe(t,zr)+"";if(Ms(t))return _i?_i.call(t):"";var e=t+"";return"0"==e&&1/t==-L?"-0":e}function Fr(t,e,n){var i=-1,o=Ke,a=t.length,s=!0,c=[],u=c;if(n)s=!1,o=Je;else if(a>=r){var l=e?null:Ao(t);if(l)return kn(l);s=!1,o=yn,u=new Ei}else u=e?[]:c;t:for(;++i<a;){var f=t[i],h=e?e(f):f;if(f=n||0!==f?f:0,s&&h==h){for(var p=u.length;p--;)if(u[p]===h)continue t;e&&u.push(h),c.push(f)}else o(u,h,n)||(u!==c&&u.push(h),c.push(f))}return c}function Br(t,e){var n=-1,i=(e=Yr(e,t)).length;if(!i)return!0;for(;++n<i;){var r=pa(e[n]);if("__proto__"===r&&!fe.call(t,"__proto__"))return!1;if(("constructor"===r||"prototype"===r)&&n<i-1)return!1}var o=ra(t,e);return null==o||delete o[pa(Aa(e))]}function Wr(t,e,n,i){return Tr(t,e,n(Xi(t,e)),i)}function Ur(t,e,n,i){for(var r=t.length,o=i?r:-1;(i?o--:++o<r)&&e(t[o],o,t););return n?Lr(t,i?0:o,i?o+1:r):Lr(t,i?o+1:0,i?r:o)}function Hr(t,e){var n=t;return n instanceof yi&&(n=n.value()),en(e,function(t,e){return e.func.apply(e.thisArg,tn([t],e.args))},n)}function Vr(t,e,n){var i=t.length;if(i<2)return i?Fr(t[0]):[];for(var r=-1,o=Rt(i);++r<i;)for(var a=t[r],s=-1;++s<i;)s!=r&&(o[r]=Bi(o[r]||a,t[s],e,n));return Fr(qi(o,1),e,n)}function Gr(t,e,n){for(var r=-1,o=t.length,a=e.length,s={};++r<o;){var c=r<a?e[r]:i;n(s,t[r],c)}return s}function qr(t){return Cs(t)?t:[]}function Qr(t){return"function"==typeof t?t:Lc}function Yr(t,e){return ys(t)?t:Ko(t,e)?[t]:ha(Qs(t))}var Zr=Ar;function Kr(t,e,n){var r=t.length;return n=n===i?r:n,!e&&n>=r?t:Lr(t,e,n)}var Jr=Mn||function(t){return Le.clearTimeout(t)};function Xr(t,e){if(e)return t.slice();var n=t.length,i=Pe?Pe(n):new t.constructor(n);return t.copy(i),i}function to(t){var e=new t.constructor(t.byteLength);return new xe(e).set(new xe(t)),e}function eo(t,e){var n=e?to(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}function no(t,e){if(t!==e){var n=t!==i,r=null===t,o=t==t,a=Ms(t),s=e!==i,c=null===e,u=e==e,l=Ms(e);if(!c&&!l&&!a&&t>e||a&&s&&u&&!c&&!l||r&&s&&u||!n&&u||!o)return 1;if(!r&&!a&&!l&&t<e||l&&n&&o&&!r&&!a||c&&n&&o||!s&&o||!u)return-1}return 0}function io(t,e,n,i){for(var r=-1,o=t.length,a=n.length,s=-1,c=e.length,u=Qn(o-a,0),l=Rt(c+u),f=!i;++s<c;)l[s]=e[s];for(;++r<a;)(f||r<o)&&(l[n[r]]=t[r]);for(;u--;)l[s++]=t[r++];return l}function ro(t,e,n,i){for(var r=-1,o=t.length,a=-1,s=n.length,c=-1,u=e.length,l=Qn(o-s,0),f=Rt(l+u),h=!i;++r<l;)f[r]=t[r];for(var p=r;++c<u;)f[p+c]=e[c];for(;++a<s;)(h||r<o)&&(f[p+n[a]]=t[r++]);return f}function oo(t,e){var n=-1,i=t.length;for(e||(e=Rt(i));++n<i;)e[n]=t[n];return e}function ao(t,e,n,r){var o=!n;n||(n={});for(var a=-1,s=e.length;++a<s;){var c=e[a],u=r?r(n[c],t[c],c,n,t):i;u===i&&(u=t[c]),o?Ri(n,c,u):Pi(n,c,u)}return n}function so(t,e){return function(n,i){var r=ys(n)?Ge:Li,o=e?e():{};return r(n,t,zo(i,2),o)}}function co(t){return Ar(function(e,n){var r=-1,o=n.length,a=o>1?n[o-1]:i,s=o>2?n[2]:i;for(a=t.length>3&&"function"==typeof a?(o--,a):i,s&&Zo(n[0],n[1],s)&&(a=o<3?i:a,o=1),e=ne(e);++r<o;){var c=n[r];c&&t(e,c,r,a)}return e})}
vendor: 2,458 bytes, line 1530
1530function uo(t,e){return function(n,i){if(null==n)return n;if(!Os(n))return t(n,i);for(var r=n.length,o=e?r:-1,a=ne(n);(e?o--:++o<r)&&!1!==i(a[o],o,a););return n}}function lo(t){return function(e,n,i){for(var r=-1,o=ne(e),a=i(e),s=a.length;s--;){var c=a[t?s:++r];if(!1===n(o[c],c,o))break}return e}}function fo(t){return function(e){var n=An(e=Qs(e))?Ln(e):i,r=n?n[0]:e.charAt(0),o=n?Kr(n,1).join(""):e.slice(1);return r[t]()+o}}function ho(t){return function(e){return en(Ic(bc(e).replace(ge,"")),t,"")}}function po(t){return function(){var e=arguments;switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3]);case 5:return new t(e[0],e[1],e[2],e[3],e[4]);case 6:return new t(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new t(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}var n=mi(t.prototype),i=t.apply(n,e);return ks(i)?i:n}}function _o(t){return function(e,n,r){var o=ne(e);if(!Os(e)){var a=zo(n,3);e=sc(e),n=function(t){return a(o[t],t,o)}}var s=t(e,n,r);return s>-1?o[a?e[s]:s]:i}}function vo(t){return Lo(function(e){var n=e.length,r=n,o=bi.prototype.thru;for(t&&e.reverse();r--;){var s=e[r];if("function"!=typeof s)throw new oe(a);if(o&&!c&&"wrapper"==No(s))var c=new bi([],!0)}for(r=c?r:n;++r<n;){var u=No(s=e[r]),l="wrapper"==u?Do(s):i;c=l&&Jo(l[0])&&l[1]==(E|y|O|S)&&!l[4].length&&1==l[9]?c[No(l[0])].apply(c,l[3]):1==s.length&&Jo(s)?c[u]():c.thru(s)}return function(){var t=arguments,i=t[0];if(c&&1==t.length&&ys(i))return c.plant(i).value();for(var r=0,o=n?e[r].apply(this,t):i;++r<n;)o=e[r].call(this,o);return o}})}function mo(t,e,n,r,o,a,s,c,u,l){var f=e&E,h=e&m,p=e&g,d=e&(y|w),_=e&A,v=p?i:po(t);return function m(){for(var g=arguments.length,b=Rt(g),y=g;y--;)b[y]=arguments[y];if(d)var w=Mo(m),O=function(t,e){for(var n=t.length,i=0;n--;)t[n]===e&&++i;return i}(b,w);if(r&&(b=io(b,r,o,d)),a&&(b=ro(b,a,s,d)),g-=O,d&&g<l){var C=Tn(b,w);return Eo(t,e,mo,m.placeholder,n,b,C,c,u,l-g)}var E=h?n:this,S=p?E[t]:t;return g=b.length,c?b=function(t,e){for(var n=t.length,r=Yn(e.length,n),o=oo(t);r--;){var a=e[r];t[r]=Yo(a,n)?o[a]:i}return t}(b,c):_&&g>1&&b.reverse(),f&&u<g&&(b.length=u),this&&this!==Le&&this instanceof m&&(S=v||po(S)),S.apply(E,b)}}function go(t,e){return function(n,i){return function(t,e,n,i){return Zi(t,function(t,r,o){e(i,n(t),r,o)}),i}(n,t,e(i),{})}}function bo(t,e){return function(n,r){var o;if(n===i&&r===i)return e;
vendor: 6,654 bytes, line 1530
1530if(n!==i&&(o=n),r!==i){if(o===i)return r;"string"==typeof n||"string"==typeof r?(n=zr(n),r=zr(r)):(n=Mr(n),r=Mr(r)),o=t(n,r)}return o}}function yo(t){return Lo(function(e){return e=Xe(e,gn(zo())),Ar(function(n){var i=this;return t(e,function(t){return Ve(t,i,n)})})})}function wo(t,e){var n=(e=e===i?" ":zr(e)).length;if(n<2)return n?Sr(e,t):e;var r=Sr(e,Bn(t/$n(e)));return An(e)?Kr(Ln(r),0,t).join(""):r.slice(0,t)}function Oo(t){return function(e,n,r){return r&&"number"!=typeof r&&Zo(e,n,r)&&(n=r=i),e=Us(e),n===i?(n=e,e=0):n=Us(n),function(t,e,n,i){for(var r=-1,o=Qn(Bn((e-t)/(n||1)),0),a=Rt(o);o--;)a[i?o:++r]=t,t+=n;return a}(e,n,r=r===i?e<n?1:-1:Us(r),t)}}function Co(t){return function(e,n){return"string"==typeof e&&"string"==typeof n||(e=Gs(e),n=Gs(n)),t(e,n)}}function Eo(t,e,n,r,o,a,s,c,u,l){var f=e&y;e|=f?O:C,(e&=~(f?C:O))&b||(e&=~(m|g));var h=[t,e,o,f?a:i,f?s:i,f?i:a,f?i:s,c,u,l],p=n.apply(i,h);return Jo(t)&&aa(p,h),p.placeholder=r,ua(p,t,e)}function So(t){var e=ee[t];return function(t,n){if(t=Gs(t),(n=null==n?0:Yn(Hs(n),292))&&Vn(t)){var i=(Qs(t)+"e").split("e");return+((i=(Qs(e(i[0]+"e"+(+i[1]+n)))+"e").split("e"))[0]+"e"+(+i[1]-n))}return e(t)}}var Ao=ii&&1/kn(new ii([,-0]))[1]==L?function(t){return new ii(t)}:Mc;function Io(t){return function(e){var n=Vo(e);return n==Z?In(e):n==nt?Pn(e):function(t,e){return Xe(e,function(e){return[e,t[e]]})}(e,t(e))}}function xo(t,e,n,r,o,s,c,u){var l=e&g;if(!l&&"function"!=typeof t)throw new oe(a);var h=r?r.length:0;if(h||(e&=~(O|C),r=o=i),c=c===i?c:Qn(Hs(c),0),u=u===i?u:Hs(u),h-=o?o.length:0,e&C){var p=r,d=o;r=o=i}var _=l?i:Do(t),v=[t,e,n,r,o,p,d,s,c,u];if(_&&function(t,e){var n=t[1],i=e[1],r=n|i,o=r<(m|g|E),a=i==E&&n==y||i==E&&n==S&&t[7].length<=e[8]||i==(E|S)&&e[7].length<=e[8]&&n==y;if(!o&&!a)return t;i&m&&(t[2]=e[2],r|=n&m?0:b);var s=e[3];if(s){var c=t[3];t[3]=c?io(c,s,e[4]):s,t[4]=c?Tn(t[3],f):e[4]}(s=e[5])&&(c=t[5],t[5]=c?ro(c,s,e[6]):s,t[6]=c?Tn(t[5],f):e[6]),(s=e[7])&&(t[7]=s),i&E&&(t[8]=null==t[8]?e[8]:Yn(t[8],e[8])),null==t[9]&&(t[9]=e[9]),t[0]=e[0],t[1]=r}(v,_),t=v[0],e=v[1],n=v[2],r=v[3],o=v[4],!(u=v[9]=v[9]===i?l?0:t.length:Qn(v[9]-h,0))&&e&(y|w)&&(e&=~(y|w)),e&&e!=m)A=e==y||e==w?function(t,e,n){var r=po(t);return function o(){for(var a=arguments.length,s=Rt(a),c=a,u=Mo(o);c--;)s[c]=arguments[c];var l=a<3&&s[0]!==u&&s[a-1]!==u?[]:Tn(s,u);return(a-=l.length)<n?Eo(t,e,mo,o.placeholder,i,s,l,i,i,n-a):Ve(this&&this!==Le&&this instanceof o?r:t,this,s)}}(t,e,u):e!=O&&e!=(m|O)||o.length?mo.apply(i,v):function(t,e,n,i){var r=e&m,o=po(t);return function e(){for(var a=-1,s=arguments.length,c=-1,u=i.length,l=Rt(u+s),f=this&&this!==Le&&this instanceof e?o:t;++c<u;)l[c]=i[c];for(;s--;)l[c++]=arguments[++a];return Ve(f,r?n:this,l)}}(t,e,n,r);else var A=function(t,e,n){var i=e&m,r=po(t);return function e(){return(this&&this!==Le&&this instanceof e?r:t).apply(i?n:this,arguments)}}(t,e,n);return ua((_?kr:aa)(A,v),t,e)}function To(t,e,n,r){return t===i||vs(t,ce[n])&&!fe.call(r,n)?e:t}function ko(t,e,n,r,o,a){return ks(t)&&ks(e)&&(a.set(e,t),gr(t,e,i,ko,a),a.delete(e)),t}function Po(t){return js(t)?i:t}function $o(t,e,n,r,o,a){var s=n&_,c=t.length,u=e.length;if(c!=u&&!(s&&u>c))return!1;var l=a.get(t),f=a.get(e);if(l&&f)return l==e&&f==t;var h=-1,p=!0,d=n&v?new Ei:i;for(a.set(t,e),a.set(e,t);++h<c;){var m=t[h],g=e[h];if(r)var b=s?r(g,m,h,e,t,a):r(m,g,h,t,e,a);if(b!==i){if(b)continue;p=!1;break}if(d){if(!rn(e,function(t,e){if(!yn(d,e)&&(m===t||o(m,t,n,r,a)))return d.push(e)})){p=!1;break}}else if(m!==g&&!o(m,g,n,r,a)){p=!1;break}}return a.delete(t),a.delete(e),p}function Lo(t){return ca(ia(t,i,wa),t+"")}function jo(t){return tr(t,sc,Uo)}function Ro(t){return tr(t,cc,Ho)}var Do=ai?function(t){return ai.get(t)}:Mc;function No(t){for(var e=t.name+"",n=si[e],i=fe.call(si,e)?n.length:0;i--;){var r=n[i],o=r.func;if(null==o||o==t)return r.name}return e}function Mo(t){return(fe.call(vi,"placeholder")?vi:t).placeholder}function zo(){var t=vi.iteratee||jc;return t=t===jc?fr:t,arguments.length?t(arguments[0],arguments[1]):t}function Fo(t,e){var n,i,r=t.__data__;return("string"==(i=typeof(n=e))||"number"==i||"symbol"==i||"boolean"==i?"__proto__"!==n:null===n)?r["string"==typeof e?"string":"hash"]:r.map}function Bo(t){for(var e=sc(t),n=e.length;n--;){var i=e[n],r=t[i];e[n]=[i,r,ea(r)]}return e}function Wo(t,e){var n=function(t,e){return null==t?i:t[e]}(t,e);return lr(n)?n:i}var Uo=Un?function(t){return null==t?[]:(t=ne(t),Ze(Un(t),function(e){return Re.call(t,e)}))}:Vc,Ho=Un?function(t){for(var e=[];t;)tn(e,Uo(t)),t=$e(t);return e}:Vc,Vo=er;function Go(t,e,n){for(var i=-1,r=(e=Yr(e,t)).length,o=!1;++i<r;){var a=pa(e[i]);if(!(o=null!=t&&n(t,a)))break;t=t[a]}return o||++i!=r?o:!!(r=null==t?0:t.length)&&Ts(r)&&Yo(a,r)&&(ys(t)||bs(t))}function qo(t){return"function"!=typeof t.constructor||ta(t)?{}:mi($e(t))}function Qo(t){return ys(t)||bs(t)||!!(Me&&t&&t[Me])}function Yo(t,e){var n=typeof t;return!!(e=null==e?j:e)&&("number"==n||"symbol"!=n&&Qt.test(t))&&t>-1&&t%1==0&&t<e}function Zo(t,e,n){if(!ks(n))return!1;var i=typeof e;return!!("number"==i?Os(n)&&Yo(e,n.length):"string"==i&&e in n)&&vs(n[e],t)}function Ko(t,e){if(ys(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!Ms(t))||kt.test(t)||!Tt.test(t)||null!=e&&t in ne(e)}function Jo(t){var e=No(t),n=vi[e];if("function"!=typeof n||!(e in yi.prototype))return!1;if(t===n)return!0;var i=Do(n);return!!i&&t===i[0]}(ti&&Vo(new ti(new ArrayBuffer(1)))!=ut||ei&&Vo(new ei)!=Z||ni&&"[object Promise]"!=Vo(ni.resolve())||ii&&Vo(new ii)!=nt||ri&&Vo(new ri)!=at)&&(Vo=function(t){var e=er(t),n=e==X?t.constructor:i,r=n?da(n):"";if(r)switch(r){case ci:return ut;case ui:return Z;case li:return"[object Promise]";case fi:return nt;case hi:return at}return e});var Xo=ue?Is:Gc;function ta(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||ce)}function ea(t){return t==t&&!ks(t)}function na(t,e){return function(n){return null!=n&&n[t]===e&&(e!==i||t in ne(n))}}function ia(t,e,n){return e=Qn(e===i?t.length-1:e,0),function(){for(var i=arguments,r=-1,o=Qn(i.length-e,0),a=Rt(o);++r<o;)a[r]=i[e+r];r=-1;for(var s=Rt(e+1);++r<e;)s[r]=i[r];return s[e]=n(a),Ve(t,this,s)}}function ra(t,e){return e.length<2?t:Xi(t,Lr(e,0,-1))}function oa(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]}var aa=la(kr),sa=Fn||function(t,e){return Le.setTimeout(t,e)},ca=la(Pr);function ua(t,e,n){var i=e+"";return ca(t,function(t,e){var n=e.length;if(!n)return t;var i=n-1;return e[i]=(n>1?"& ":"")+e[i],e=e.join(n>2?", ":" "),t.replace(Dt,"{\n/* [wrapped with "+e+"] */\n")}(i,function(t,e){return qe(F,function(n){var i="_."+n[0];
vendor: 5,579 bytes, line 1530
1530e&n[1]&&!Ke(t,i)&&t.push(i)}),t.sort()}(function(t){var e=t.match(Nt);return e?e[1].split(Mt):[]}(i),n)))}function la(t){var e=0,n=0;return function(){var r=Zn(),o=k-(r-n);if(n=r,o>0){if(++e>=T)return arguments[0]}else e=0;return t.apply(i,arguments)}}function fa(t,e){var n=-1,r=t.length,o=r-1;for(e=e===i?r:e;++n<e;){var a=Er(n,o),s=t[a];t[a]=t[n],t[n]=s}return t.length=e,t}var ha=function(t){var e=ls(t,function(t){return n.size===l&&n.clear(),t}),n=e.cache;return e}(function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(Pt,function(t,n,i,r){e.push(i?r.replace(Bt,"$1"):n||t)}),e});function pa(t){if("string"==typeof t||Ms(t))return t;var e=t+"";return"0"==e&&1/t==-L?"-0":e}function da(t){if(null!=t){try{return le.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function _a(t){if(t instanceof yi)return t.clone();var e=new bi(t.__wrapped__,t.__chain__);return e.__actions__=oo(t.__actions__),e.__index__=t.__index__,e.__values__=t.__values__,e}var va=Ar(function(t,e){return Cs(t)?Bi(t,qi(e,1,Cs,!0)):[]}),ma=Ar(function(t,e){var n=Aa(e);return Cs(n)&&(n=i),Cs(t)?Bi(t,qi(e,1,Cs,!0),zo(n,2)):[]}),ga=Ar(function(t,e){var n=Aa(e);return Cs(n)&&(n=i),Cs(t)?Bi(t,qi(e,1,Cs,!0),i,n):[]});function ba(t,e,n){var i=null==t?0:t.length;if(!i)return-1;var r=null==n?0:Hs(n);return r<0&&(r=Qn(i+r,0)),sn(t,zo(e,3),r)}function ya(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var o=r-1;return n!==i&&(o=Hs(n),o=n<0?Qn(r+o,0):Yn(o,r-1)),sn(t,zo(e,3),o,!0)}function wa(t){return null!=t&&t.length?qi(t,1):[]}function Oa(t){return t&&t.length?t[0]:i}var Ca=Ar(function(t){var e=Xe(t,qr);return e.length&&e[0]===t[0]?or(e):[]}),Ea=Ar(function(t){var e=Aa(t),n=Xe(t,qr);return e===Aa(n)?e=i:n.pop(),n.length&&n[0]===t[0]?or(n,zo(e,2)):[]}),Sa=Ar(function(t){var e=Aa(t),n=Xe(t,qr);return(e="function"==typeof e?e:i)&&n.pop(),n.length&&n[0]===t[0]?or(n,i,e):[]});function Aa(t){var e=null==t?0:t.length;return e?t[e-1]:i}var Ia=Ar(xa);function xa(t,e){return t&&t.length&&e&&e.length?Or(t,e):t}var Ta=Lo(function(t,e){var n=null==t?0:t.length,i=Di(t,e);return Cr(t,Xe(e,function(t){return Yo(t,n)?+t:t}).sort(no)),i});function ka(t){return null==t?t:Xn.call(t)}var Pa=Ar(function(t){return Fr(qi(t,1,Cs,!0))}),$a=Ar(function(t){var e=Aa(t);return Cs(e)&&(e=i),Fr(qi(t,1,Cs,!0),zo(e,2))}),La=Ar(function(t){var e=Aa(t);return e="function"==typeof e?e:i,Fr(qi(t,1,Cs,!0),i,e)});function ja(t){if(!t||!t.length)return[];var e=0;return t=Ze(t,function(t){if(Cs(t))return e=Qn(t.length,e),!0}),vn(e,function(e){return Xe(t,hn(e))})}function Ra(t,e){if(!t||!t.length)return[];var n=ja(t);return null==e?n:Xe(n,function(t){return Ve(e,i,t)})}var Da=Ar(function(t,e){return Cs(t)?Bi(t,e):[]}),Na=Ar(function(t){return Vr(Ze(t,Cs))}),Ma=Ar(function(t){var e=Aa(t);return Cs(e)&&(e=i),Vr(Ze(t,Cs),zo(e,2))}),za=Ar(function(t){var e=Aa(t);return e="function"==typeof e?e:i,Vr(Ze(t,Cs),i,e)}),Fa=Ar(ja);var Ba=Ar(function(t){var e=t.length,n=e>1?t[e-1]:i;return Ra(t,n="function"==typeof n?(t.pop(),n):i)});function Wa(t){var e=vi(t);return e.__chain__=!0,e}function Ua(t,e){return e(t)}var Ha=Lo(function(t){var e=t.length,n=e?t[0]:0,r=this.__wrapped__,o=function(e){return Di(e,t)};return!(e>1||this.__actions__.length)&&r instanceof yi&&Yo(n)?((r=r.slice(n,+n+(e?1:0))).__actions__.push({func:Ua,args:[o],thisArg:i}),new bi(r,this.__chain__).thru(function(t){return e&&!t.length&&t.push(i),t})):this.thru(o)});var Va=so(function(t,e,n){fe.call(t,n)?++t[n]:Ri(t,n,1)});var Ga=_o(ba),qa=_o(ya);function Qa(t,e){return(ys(t)?qe:Wi)(t,zo(e,3))}function Ya(t,e){return(ys(t)?Qe:Ui)(t,zo(e,3))}var Za=so(function(t,e,n){fe.call(t,n)?t[n].push(e):Ri(t,n,[e])});var Ka=Ar(function(t,e,n){var i=-1,r="function"==typeof e,o=Os(t)?Rt(t.length):[];return Wi(t,function(t){o[++i]=r?Ve(e,t,n):ar(t,e,n)}),o}),Ja=so(function(t,e,n){Ri(t,n,e)});function Xa(t,e){return(ys(t)?Xe:_r)(t,zo(e,3))}var ts=so(function(t,e,n){t[n?0:1].push(e)},function(){return[[],[]]});var es=Ar(function(t,e){if(null==t)return[];var n=e.length;return n>1&&Zo(t,e[0],e[1])?e=[]:n>2&&Zo(e[0],e[1],e[2])&&(e=[e[0]]),yr(t,qi(e,1),[])}),ns=zn||function(){return Le.Date.now()};function is(t,e,n){return e=n?i:e,e=t&&null==e?t.length:e,xo(t,E,i,i,i,i,e)}function rs(t,e){var n;if("function"!=typeof e)throw new oe(a);return t=Hs(t),function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=i),n}}var os=Ar(function(t,e,n){var i=m;if(n.length){var r=Tn(n,Mo(os));i|=O}return xo(t,i,e,n,r)}),as=Ar(function(t,e,n){var i=m|g;if(n.length){var r=Tn(n,Mo(as));i|=O}return xo(e,i,t,n,r)});function ss(t,e,n){var r,o,s,c,u,l,f=0,h=!1,p=!1,d=!0;if("function"!=typeof t)throw new oe(a);function _(e){var n=r,a=o;return r=o=i,f=e,c=t.apply(a,n)}function v(t){var n=t-l;return l===i||n>=e||n<0||p&&t-f>=s}function m(){var t=ns();if(v(t))return g(t);u=sa(m,function(t){var n=e-(t-l);return p?Yn(n,s-(t-f)):n}(t))}function g(t){return u=i,d&&r?_(t):(r=o=i,c)}function b(){var t=ns(),n=v(t);if(r=arguments,o=this,l=t,n){if(u===i)return function(t){return f=t,u=sa(m,e),h?_(t):c}(l);if(p)return Jr(u),u=sa(m,e),_(l)}return u===i&&(u=sa(m,e)),c}return e=Gs(e)||0,ks(n)&&(h=!!n.leading,s=(p="maxWait"in n)?Qn(Gs(n.maxWait)||0,e):s,d="trailing"in n?!!n.trailing:d),b.cancel=function(){u!==i&&Jr(u),f=0,r=l=o=u=i},b.flush=function(){return u===i?c:g(ns())},b}var cs=Ar(function(t,e){return Fi(t,1,e)}),us=Ar(function(t,e,n){return Fi(t,Gs(e)||0,n)});function ls(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new oe(a);var n=function(){var i=arguments,r=e?e.apply(this,i):i[0],o=n.cache;if(o.has(r))return o.get(r);
vendor: 8,537 bytes, line 1530
1530var a=t.apply(this,i);return n.cache=o.set(r,a)||o,a};return n.cache=new(ls.Cache||Ci),n}function fs(t){if("function"!=typeof t)throw new oe(a);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}ls.Cache=Ci;var hs=Zr(function(t,e){var n=(e=1==e.length&&ys(e[0])?Xe(e[0],gn(zo())):Xe(qi(e,1),gn(zo()))).length;return Ar(function(i){for(var r=-1,o=Yn(i.length,n);++r<o;)i[r]=e[r].call(this,i[r]);return Ve(t,this,i)})}),ps=Ar(function(t,e){var n=Tn(e,Mo(ps));return xo(t,O,i,e,n)}),ds=Ar(function(t,e){var n=Tn(e,Mo(ds));return xo(t,C,i,e,n)}),_s=Lo(function(t,e){return xo(t,S,i,i,i,e)});function vs(t,e){return t===e||t!=t&&e!=e}var ms=Co(nr),gs=Co(function(t,e){return t>=e}),bs=sr(function(){return arguments}())?sr:function(t){return Ps(t)&&fe.call(t,"callee")&&!Re.call(t,"callee")},ys=Rt.isArray,ws=ze?gn(ze):function(t){return Ps(t)&&er(t)==ct};function Os(t){return null!=t&&Ts(t.length)&&!Is(t)}function Cs(t){return Ps(t)&&Os(t)}var Es=Hn||Gc,Ss=Fe?gn(Fe):function(t){return Ps(t)&&er(t)==V};function As(t){if(!Ps(t))return!1;var e=er(t);return e==q||e==G||"string"==typeof t.message&&"string"==typeof t.name&&!js(t)}function Is(t){if(!ks(t))return!1;var e=er(t);return e==Q||e==Y||e==U||e==tt}function xs(t){return"number"==typeof t&&t==Hs(t)}function Ts(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=j}function ks(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function Ps(t){return null!=t&&"object"==typeof t}var $s=Be?gn(Be):function(t){return Ps(t)&&Vo(t)==Z};function Ls(t){return"number"==typeof t||Ps(t)&&er(t)==K}function js(t){if(!Ps(t)||er(t)!=X)return!1;var e=$e(t);if(null===e)return!0;var n=fe.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&le.call(n)==_e}var Rs=We?gn(We):function(t){return Ps(t)&&er(t)==et};var Ds=Ue?gn(Ue):function(t){return Ps(t)&&Vo(t)==nt};function Ns(t){return"string"==typeof t||!ys(t)&&Ps(t)&&er(t)==it}function Ms(t){return"symbol"==typeof t||Ps(t)&&er(t)==rt}var zs=He?gn(He):function(t){return Ps(t)&&Ts(t.length)&&!!Ae[er(t)]};var Fs=Co(dr),Bs=Co(function(t,e){return t<=e});function Ws(t){if(!t)return[];if(Os(t))return Ns(t)?Ln(t):oo(t);if(on&&t[on])return function(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}(t[on]());var e=Vo(t);return(e==Z?In:e==nt?kn:vc)(t)}function Us(t){return t?(t=Gs(t))===L||t===-L?(t<0?-1:1)*R:t==t?t:0:0===t?t:0}function Hs(t){var e=Us(t),n=e%1;return e==e?n?e-n:e:0}function Vs(t){return t?Ni(Hs(t),0,N):0}function Gs(t){if("number"==typeof t)return t;if(Ms(t))return D;if(ks(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=ks(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=mn(t);var n=Vt.test(t);return n||qt.test(t)?ke(t.slice(2),n?2:8):Ht.test(t)?D:+t}function qs(t){return ao(t,cc(t))}function Qs(t){return null==t?"":zr(t)}var Ys=co(function(t,e){if(ta(e)||Os(e))ao(e,sc(e),t);else for(var n in e)fe.call(e,n)&&Pi(t,n,e[n])}),Zs=co(function(t,e){ao(e,cc(e),t)}),Ks=co(function(t,e,n,i){ao(e,cc(e),t,i)}),Js=co(function(t,e,n,i){ao(e,sc(e),t,i)}),Xs=Lo(Di);var tc=Ar(function(t,e){t=ne(t);var n=-1,r=e.length,o=r>2?e[2]:i;for(o&&Zo(e[0],e[1],o)&&(r=1);++n<r;)for(var a=e[n],s=cc(a),c=-1,u=s.length;++c<u;){var l=s[c],f=t[l];(f===i||vs(f,ce[l])&&!fe.call(t,l))&&(t[l]=a[l])}return t}),ec=Ar(function(t){return t.push(i,ko),Ve(lc,i,t)});function nc(t,e,n){var r=null==t?i:Xi(t,e);return r===i?n:r}function ic(t,e){return null!=t&&Go(t,e,rr)}var rc=go(function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=de.call(e)),t[e]=n},kc(Lc)),oc=go(function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=de.call(e)),fe.call(t,e)?t[e].push(n):t[e]=[n]},zo),ac=Ar(ar);function sc(t){return Os(t)?Ai(t):hr(t)}function cc(t){return Os(t)?Ai(t,!0):pr(t)}var uc=co(function(t,e,n){gr(t,e,n)}),lc=co(function(t,e,n,i){gr(t,e,n,i)}),fc=Lo(function(t,e){var n={};if(null==t)return n;var i=!1;e=Xe(e,function(e){return e=Yr(e,t),i||(i=e.length>1),e}),ao(t,Ro(t),n),i&&(n=Mi(n,h|p|d,Po));for(var r=e.length;r--;)Br(n,e[r]);return n});var hc=Lo(function(t,e){return null==t?{}:function(t,e){return wr(t,e,function(e,n){return ic(t,n)})}(t,e)});function pc(t,e){if(null==t)return{};var n=Xe(Ro(t),function(t){return[t]});return e=zo(e),wr(t,n,function(t,n){return e(t,n[0])})}var dc=Io(sc),_c=Io(cc);function vc(t){return null==t?[]:bn(t,sc(t))}var mc=ho(function(t,e,n){return e=e.toLowerCase(),t+(n?gc(e):e)});function gc(t){return Ac(Qs(t).toLowerCase())}function bc(t){return(t=Qs(t))&&t.replace(Yt,Cn).replace(be,"")}var yc=ho(function(t,e,n){return t+(n?"-":"")+e.toLowerCase()}),wc=ho(function(t,e,n){return t+(n?" ":"")+e.toLowerCase()}),Oc=fo("toLowerCase");var Cc=ho(function(t,e,n){return t+(n?"_":"")+e.toLowerCase()});var Ec=ho(function(t,e,n){return t+(n?" ":"")+Ac(e)});var Sc=ho(function(t,e,n){return t+(n?" ":"")+e.toUpperCase()}),Ac=fo("toUpperCase");function Ic(t,e,n){return t=Qs(t),(e=n?i:e)===i?function(t){return Ce.test(t)}(t)?function(t){return t.match(we)||[]}(t):function(t){return t.match(zt)||[]}(t):t.match(e)||[]}var xc=Ar(function(t,e){try{return Ve(t,i,e)}catch(t){return As(t)?t:new Xt(t)}}),Tc=Lo(function(t,e){return qe(e,function(e){e=pa(e),Ri(t,e,os(t[e],t))}),t});function kc(t){return function(){return t}}var Pc=vo(),$c=vo(!0);function Lc(t){return t}function jc(t){return fr("function"==typeof t?t:Mi(t,h))}var Rc=Ar(function(t,e){return function(n){return ar(n,t,e)}}),Dc=Ar(function(t,e){return function(n){return ar(t,n,e)}});function Nc(t,e,n){var i=sc(e),r=Ji(e,i);null!=n||ks(e)&&(r.length||!i.length)||(n=e,e=t,t=this,r=Ji(e,sc(e)));var o=!(ks(n)&&"chain"in n&&!n.chain),a=Is(t);return qe(r,function(n){var i=e[n];t[n]=i,a&&(t.prototype[n]=function(){var e=this.__chain__;if(o||e){var n=t(this.__wrapped__);return(n.__actions__=oo(this.__actions__)).push({func:i,args:arguments,thisArg:t}),n.__chain__=e,n}return i.apply(t,tn([this.value()],arguments))})}),t}function Mc(){}var zc=yo(Xe),Fc=yo(Ye),Bc=yo(rn);function Wc(t){return Ko(t)?hn(pa(t)):function(t){return function(e){return Xi(e,t)}}(t)}var Uc=Oo(),Hc=Oo(!0);function Vc(){return[]}function Gc(){return!1}var qc=bo(function(t,e){return t+e},0),Qc=So("ceil"),Yc=bo(function(t,e){return t/e},1),Zc=So("floor");var Kc,Jc=bo(function(t,e){return t*e},1),Xc=So("round"),tu=bo(function(t,e){return t-e},0);return vi.after=function(t,e){if("function"!=typeof e)throw new oe(a);return t=Hs(t),function(){if(--t<1)return e.apply(this,arguments)}},vi.ary=is,vi.assign=Ys,vi.assignIn=Zs,vi.assignInWith=Ks,vi.assignWith=Js,vi.at=Xs,vi.before=rs,vi.bind=os,vi.bindAll=Tc,vi.bindKey=as,vi.castArray=function(){if(!arguments.length)return[];var t=arguments[0];return ys(t)?t:[t]},vi.chain=Wa,vi.chunk=function(t,e,n){e=(n?Zo(t,e,n):e===i)?1:Qn(Hs(e),0);var r=null==t?0:t.length;if(!r||e<1)return[];for(var o=0,a=0,s=Rt(Bn(r/e));o<r;)s[a++]=Lr(t,o,o+=e);return s},vi.compact=function(t){for(var e=-1,n=null==t?0:t.length,i=0,r=[];++e<n;){var o=t[e];o&&(r[i++]=o)}return r},vi.concat=function(){var t=arguments.length;if(!t)return[];for(var e=Rt(t-1),n=arguments[0],i=t;i--;)e[i-1]=arguments[i];return tn(ys(n)?oo(n):[n],qi(e,1))},vi.cond=function(t){var e=null==t?0:t.length,n=zo();return t=e?Xe(t,function(t){if("function"!=typeof t[1])throw new oe(a);return[n(t[0]),t[1]]}):[],Ar(function(n){for(var i=-1;++i<e;){var r=t[i];if(Ve(r[0],this,n))return Ve(r[1],this,n)}})},vi.conforms=function(t){return function(t){var e=sc(t);return function(n){return zi(n,t,e)}}(Mi(t,h))},vi.constant=kc,vi.countBy=Va,vi.create=function(t,e){var n=mi(t);return null==e?n:ji(n,e)},vi.curry=function t(e,n,r){var o=xo(e,y,i,i,i,i,i,n=r?i:n);return o.placeholder=t.placeholder,o},vi.curryRight=function t(e,n,r){var o=xo(e,w,i,i,i,i,i,n=r?i:n);return o.placeholder=t.placeholder,o},vi.debounce=ss,vi.defaults=tc,vi.defaultsDeep=ec,vi.defer=cs,vi.delay=us,vi.difference=va,vi.differenceBy=ma,vi.differenceWith=ga,vi.drop=function(t,e,n){var r=null==t?0:t.length;return r?Lr(t,(e=n||e===i?1:Hs(e))<0?0:e,r):[]},vi.dropRight=function(t,e,n){var r=null==t?0:t.length;return r?Lr(t,0,(e=r-(e=n||e===i?1:Hs(e)))<0?0:e):[]},vi.dropRightWhile=function(t,e){return t&&t.length?Ur(t,zo(e,3),!0,!0):[]},vi.dropWhile=function(t,e){return t&&t.length?Ur(t,zo(e,3),!0):[]},vi.fill=function(t,e,n,r){var o=null==t?0:t.length;return o?(n&&"number"!=typeof n&&Zo(t,e,n)&&(n=0,r=o),function(t,e,n,r){var o=t.length;for((n=Hs(n))<0&&(n=-n>o?0:o+n),(r=r===i||r>
vendor: 5,251 bytes, line 1530
1530o?o:Hs(r))<0&&(r+=o),r=n>r?0:Vs(r);n<r;)t[n++]=e;return t}(t,e,n,r)):[]},vi.filter=function(t,e){return(ys(t)?Ze:Gi)(t,zo(e,3))},vi.flatMap=function(t,e){return qi(Xa(t,e),1)},vi.flatMapDeep=function(t,e){return qi(Xa(t,e),L)},vi.flatMapDepth=function(t,e,n){return n=n===i?1:Hs(n),qi(Xa(t,e),n)},vi.flatten=wa,vi.flattenDeep=function(t){return null!=t&&t.length?qi(t,L):[]},vi.flattenDepth=function(t,e){return null!=t&&t.length?qi(t,e=e===i?1:Hs(e)):[]},vi.flip=function(t){return xo(t,A)},vi.flow=Pc,vi.flowRight=$c,vi.fromPairs=function(t){for(var e=-1,n=null==t?0:t.length,i={};++e<n;){var r=t[e];Ri(i,r[0],r[1])}return i},vi.functions=function(t){return null==t?[]:Ji(t,sc(t))},vi.functionsIn=function(t){return null==t?[]:Ji(t,cc(t))},vi.groupBy=Za,vi.initial=function(t){return null!=t&&t.length?Lr(t,0,-1):[]},vi.intersection=Ca,vi.intersectionBy=Ea,vi.intersectionWith=Sa,vi.invert=rc,vi.invertBy=oc,vi.invokeMap=Ka,vi.iteratee=jc,vi.keyBy=Ja,vi.keys=sc,vi.keysIn=cc,vi.map=Xa,vi.mapKeys=function(t,e){var n={};return e=zo(e,3),Zi(t,function(t,i,r){Ri(n,e(t,i,r),t)}),n},vi.mapValues=function(t,e){var n={};return e=zo(e,3),Zi(t,function(t,i,r){Ri(n,i,e(t,i,r))}),n},vi.matches=function(t){return vr(Mi(t,h))},vi.matchesProperty=function(t,e){return mr(t,Mi(e,h))},vi.memoize=ls,vi.merge=uc,vi.mergeWith=lc,vi.method=Rc,vi.methodOf=Dc,vi.mixin=Nc,vi.negate=fs,vi.nthArg=function(t){return t=Hs(t),Ar(function(e){return br(e,t)})},vi.omit=fc,vi.omitBy=function(t,e){return pc(t,fs(zo(e)))},vi.once=function(t){return rs(2,t)},vi.orderBy=function(t,e,n,r){return null==t?[]:(ys(e)||(e=null==e?[]:[e]),ys(n=r?i:n)||(n=null==n?[]:[n]),yr(t,e,n))},vi.over=zc,vi.overArgs=hs,vi.overEvery=Fc,vi.overSome=Bc,vi.partial=ps,vi.partialRight=ds,vi.partition=ts,vi.pick=hc,vi.pickBy=pc,vi.property=Wc,vi.propertyOf=function(t){return function(e){return null==t?i:Xi(t,e)}},vi.pull=Ia,vi.pullAll=xa,vi.pullAllBy=function(t,e,n){return t&&t.length&&e&&e.length?Or(t,e,zo(n,2)):t},vi.pullAllWith=function(t,e,n){return t&&t.length&&e&&e.length?Or(t,e,i,n):t},vi.pullAt=Ta,vi.range=Uc,vi.rangeRight=Hc,vi.rearg=_s,vi.reject=function(t,e){return(ys(t)?Ze:Gi)(t,fs(zo(e,3)))},vi.remove=function(t,e){var n=[];if(!t||!t.length)return n;var i=-1,r=[],o=t.length;for(e=zo(e,3);++i<o;){var a=t[i];e(a,i,t)&&(n.push(a),r.push(i))}return Cr(t,r),n},vi.rest=function(t,e){if("function"!=typeof t)throw new oe(a);return Ar(t,e=e===i?e:Hs(e))},vi.reverse=ka,vi.sampleSize=function(t,e,n){return e=(n?Zo(t,e,n):e===i)?1:Hs(e),(ys(t)?xi:xr)(t,e)},vi.set=function(t,e,n){return null==t?t:Tr(t,e,n)},vi.setWith=function(t,e,n,r){return r="function"==typeof r?r:i,null==t?t:Tr(t,e,n,r)},vi.shuffle=function(t){return(ys(t)?Ti:$r)(t)},vi.slice=function(t,e,n){var r=null==t?0:t.length;return r?(n&&"number"!=typeof n&&Zo(t,e,n)?(e=0,n=r):(e=null==e?0:Hs(e),n=n===i?r:Hs(n)),Lr(t,e,n)):[]},vi.sortBy=es,vi.sortedUniq=function(t){return t&&t.length?Nr(t):[]},vi.sortedUniqBy=function(t,e){return t&&t.length?Nr(t,zo(e,2)):[]},vi.split=function(t,e,n){return n&&"number"!=typeof n&&Zo(t,e,n)&&(e=n=i),(n=n===i?N:n>>>0)?(t=Qs(t))&&("string"==typeof e||null!=e&&!Rs(e))&&!(e=zr(e))&&An(t)?Kr(Ln(t),0,n):t.split(e,n):[]},vi.spread=function(t,e){if("function"!=typeof t)throw new oe(a);return e=null==e?0:Qn(Hs(e),0),Ar(function(n){var i=n[e],r=Kr(n,0,e);return i&&tn(r,i),Ve(t,this,r)})},vi.tail=function(t){var e=null==t?0:t.length;return e?Lr(t,1,e):[]},vi.take=function(t,e,n){return t&&t.length?Lr(t,0,(e=n||e===i?1:Hs(e))<0?0:e):[]},vi.takeRight=function(t,e,n){var r=null==t?0:t.length;return r?Lr(t,(e=r-(e=n||e===i?1:Hs(e)))<0?0:e,r):[]},vi.takeRightWhile=function(t,e){return t&&t.length?Ur(t,zo(e,3),!1,!0):[]},vi.takeWhile=function(t,e){return t&&t.length?Ur(t,zo(e,3)):[]},vi.tap=function(t,e){return e(t),t},vi.throttle=function(t,e,n){var i=!0,r=!0;if("function"!=typeof t)throw new oe(a);return ks(n)&&(i="leading"in n?!!n.leading:i,r="trailing"in n?!!n.trailing:r),ss(t,e,{leading:i,maxWait:e,trailing:r})},vi.thru=Ua,vi.toArray=Ws,vi.toPairs=dc,vi.toPairsIn=_c,vi.toPath=function(t){return ys(t)?Xe(t,pa):Ms(t)?[t]:oo(ha(Qs(t)))},vi.toPlainObject=qs,vi.transform=function(t,e,n){var i=ys(t),r=i||Es(t)||zs(t);if(e=zo(e,4),null==n){var o=t&&t.constructor;n=r?i?new o:[]:ks(t)&&Is(o)?mi($e(t)):{}}return(r?qe:Zi)(t,function(t,i,r){return e(n,t,i,r)}),n},vi.unary=function(t){return is(t,1)},vi.union=Pa,vi.unionBy=$a,vi.unionWith=La,vi.uniq=function(t){return t&&t.length?Fr(t):[]},vi.uniqBy=function(t,e){return t&&t.length?Fr(t,zo(e,2)):[]},vi.uniqWith=function(t,e){return e="function"==typeof e?e:i,t&&t.length?Fr(t,i,e):[]},vi.unset=function(t,e){return null==t||Br(t,e)},vi.unzip=ja,vi.unzipWith=Ra,vi.update=function(t,e,n){return null==t?t:Wr(t,e,Qr(n))},vi.updateWith=function(t,e,n,r){return r="function"==typeof r?r:i,null==t?t:Wr(t,e,Qr(n),r)},vi.values=vc,vi.valuesIn=function(t){return null==t?[]:bn(t,cc(t))},vi.without=Da,vi.words=Ic,vi.wrap=function(t,e){return ps(Qr(e),t)},vi.xor=Na,vi.xorBy=Ma,vi.xorWith=za,vi.zip=Fa,vi.zipObject=function(t,e){return Gr(t||[],e||[],Pi)},vi.zipObjectDeep=function(t,e){return Gr(t||[],e||[],Tr)},vi.zipWith=Ba,vi.entries=dc,vi.entriesIn=_c,vi.extend=Zs,vi.extendWith=Ks,Nc(vi,vi),vi.add=qc,vi.attempt=xc,vi.camel
vendor: 3,106 bytes, line 1530
1530Case=mc,vi.capitalize=gc,vi.ceil=Qc,vi.clamp=function(t,e,n){return n===i&&(n=e,e=i),n!==i&&(n=(n=Gs(n))==n?n:0),e!==i&&(e=(e=Gs(e))==e?e:0),Ni(Gs(t),e,n)},vi.clone=function(t){return Mi(t,d)},vi.cloneDeep=function(t){return Mi(t,h|d)},vi.cloneDeepWith=function(t,e){return Mi(t,h|d,e="function"==typeof e?e:i)},vi.cloneWith=function(t,e){return Mi(t,d,e="function"==typeof e?e:i)},vi.conformsTo=function(t,e){return null==e||zi(t,e,sc(e))},vi.deburr=bc,vi.defaultTo=function(t,e){return null==t||t!=t?e:t},vi.divide=Yc,vi.endsWith=function(t,e,n){t=Qs(t),e=zr(e);var r=t.length,o=n=n===i?r:Ni(Hs(n),0,r);return(n-=e.length)>=0&&t.slice(n,o)==e},vi.eq=vs,vi.escape=function(t){return(t=Qs(t))&&St.test(t)?t.replace(Ct,En):t},vi.escapeRegExp=function(t){return(t=Qs(t))&&Lt.test(t)?t.replace($t,"\\$&"):t},vi.every=function(t,e,n){var r=ys(t)?Ye:Hi;return n&&Zo(t,e,n)&&(e=i),r(t,zo(e,3))},vi.find=Ga,vi.findIndex=ba,vi.findKey=function(t,e){return an(t,zo(e,3),Zi)},vi.findLast=qa,vi.findLastIndex=ya,vi.findLastKey=function(t,e){return an(t,zo(e,3),Ki)},vi.floor=Zc,vi.forEach=Qa,vi.forEachRight=Ya,vi.forIn=function(t,e){return null==t?t:Qi(t,zo(e,3),cc)},vi.forInRight=function(t,e){return null==t?t:Yi(t,zo(e,3),cc)},vi.forOwn=function(t,e){return t&&Zi(t,zo(e,3))},vi.forOwnRight=function(t,e){return t&&Ki(t,zo(e,3))},vi.get=nc,vi.gt=ms,vi.gte=gs,vi.has=function(t,e){return null!=t&&Go(t,e,ir)},vi.hasIn=ic,vi.head=Oa,vi.identity=Lc,vi.includes=function(t,e,n,i){t=Os(t)?t:vc(t),n=n&&!i?Hs(n):0;var r=t.length;return n<0&&(n=Qn(r+n,0)),Ns(t)?n<=r&&t.indexOf(e,n)>-1:!!r&&cn(t,e,n)>-1},vi.indexOf=function(t,e,n){var i=null==t?0:t.length;if(!i)return-1;var r=null==n?0:Hs(n);return r<0&&(r=Qn(i+r,0)),cn(t,e,r)},vi.inRange=function(t,e,n){return e=Us(e),n===i?(n=e,e=0):n=Us(n),function(t,e,n){return t>=Yn(e,n)&&t<Qn(e,n)}(t=Gs(t),e,n)},vi.invoke=ac,vi.isArguments=bs,vi.isArray=ys,vi.isArrayBuffer=ws,vi.isArrayLike=Os,vi.isArrayLikeObject=Cs,vi.isBoolean=function(t){return!0===t||!1===t||Ps(t)&&er(t)==H},vi.isBuffer=Es,vi.isDate=Ss,vi.isElement=function(t){return Ps(t)&&1===t.nodeType&&!js(t)},vi.isEmpty=function(t){if(null==t)return!0;if(Os(t)&&(ys(t)||"string"==typeof t||"function"==typeof t.splice||Es(t)||zs(t)||bs(t)))return!t.length;var e=Vo(t);if(e==Z||e==nt)return!t.size;if(ta(t))return!hr(t).length;for(var n in t)if(fe.call(t,n))return!1;return!0},vi.isEqual=function(t,e){return cr(t,e)},vi.isEqualWith=function(t,e,n){var r=(n="function"==typeof n?n:i)?n(t,e):i;return r===i?cr(t,e,i,n):!!r},vi.isError=As,vi.isFinite=function(t){return"number"==typeof t&&Vn(t)},vi.isFunction=Is,vi.isInteger=xs,vi.isLength=Ts,vi.isMap=$s,vi.isMatch=function(t,e){return t===e||ur(t,e,Bo(e))},vi.isMatchWith=function(t,e,n){return n="function"==typeof n?n:i,ur(t,e,Bo(e),n)},vi.isNaN=function(t){return Ls(t)&&t!=+t},vi.isNative=function(t){if(Xo(t))throw new Xt(o);return lr(t)},vi.isNil=function(t){return null==t},vi.isNull=function(t){return null===t},vi.isNumber=Ls,vi.isObject=ks,vi.isObjectLike=Ps,vi.isPlainObject=js,vi.isRegExp=Rs,vi.isSafeInteger=function(t){return xs(t)&&t>=-j&&t<=j}
vendor: 4,453 bytes, line 1530
1530,vi.isSet=Ds,vi.isString=Ns,vi.isSymbol=Ms,vi.isTypedArray=zs,vi.isUndefined=function(t){return t===i},vi.isWeakMap=function(t){return Ps(t)&&Vo(t)==at},vi.isWeakSet=function(t){return Ps(t)&&er(t)==st},vi.join=function(t,e){return null==t?"":Gn.call(t,e)},vi.kebabCase=yc,vi.last=Aa,vi.lastIndexOf=function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var o=r;return n!==i&&(o=(o=Hs(n))<0?Qn(r+o,0):Yn(o,r-1)),e==e?function(t,e,n){for(var i=n+1;i--;)if(t[i]===e)return i;return i}(t,e,o):sn(t,ln,o,!0)},vi.lowerCase=wc,vi.lowerFirst=Oc,vi.lt=Fs,vi.lte=Bs,vi.max=function(t){return t&&t.length?Vi(t,Lc,nr):i},vi.maxBy=function(t,e){return t&&t.length?Vi(t,zo(e,2),nr):i},vi.mean=function(t){return fn(t,Lc)},vi.meanBy=function(t,e){return fn(t,zo(e,2))},vi.min=function(t){return t&&t.length?Vi(t,Lc,dr):i},vi.minBy=function(t,e){return t&&t.length?Vi(t,zo(e,2),dr):i},vi.stubArray=Vc,vi.stubFalse=Gc,vi.stubObject=function(){return{}},vi.stubString=function(){return""},vi.stubTrue=function(){return!0},vi.multiply=Jc,vi.nth=function(t,e){return t&&t.length?br(t,Hs(e)):i},vi.noConflict=function(){return Le._===this&&(Le._=ve),this},vi.noop=Mc,vi.now=ns,vi.pad=function(t,e,n){t=Qs(t);var i=(e=Hs(e))?$n(t):0;if(!e||i>=e)return t;var r=(e-i)/2;return wo(Wn(r),n)+t+wo(Bn(r),n)},vi.padEnd=function(t,e,n){t=Qs(t);var i=(e=Hs(e))?$n(t):0;return e&&i<e?t+wo(e-i,n):t},vi.padStart=function(t,e,n){t=Qs(t);var i=(e=Hs(e))?$n(t):0;return e&&i<e?wo(e-i,n)+t:t},vi.parseInt=function(t,e,n){return n||null==e?e=0:e&&(e=+e),Kn(Qs(t).replace(jt,""),e||0)},vi.random=function(t,e,n){if(n&&"boolean"!=typeof n&&Zo(t,e,n)&&(e=n=i),n===i&&("boolean"==typeof e?(n=e,e=i):"boolean"==typeof t&&(n=t,t=i)),t===i&&e===i?(t=0,e=1):(t=Us(t),e===i?(e=t,t=0):e=Us(e)),t>e){var r=t;t=e,e=r}if(n||t%1||e%1){var o=Jn();return Yn(t+o*(e-t+Te("1e-"+((o+"").length-1))),e)}return Er(t,e)},vi.reduce=function(t,e,n){var i=ys(t)?en:dn,r=arguments.length<3;return i(t,zo(e,4),n,r,Wi)},vi.reduceRight=function(t,e,n){var i=ys(t)?nn:dn,r=arguments.length<3;return i(t,zo(e,4),n,r,Ui)},vi.repeat=function(t,e,n){return e=(n?Zo(t,e,n):e===i)?1:Hs(e),Sr(Qs(t),e)},vi.replace=function(){var t=arguments,e=Qs(t[0]);return t.length<3?e:e.replace(t[1],t[2])},vi.result=function(t,e,n){var r=-1,o=(e=Yr(e,t)).length;for(o||(o=1,t=i);++r<o;){var a=null==t?i:t[pa(e[r])];a===i&&(r=o,a=n),t=Is(a)?a.call(t):a}return t},vi.round=Xc,vi.runInContext=t,vi.sample=function(t){return(ys(t)?Ii:Ir)(t)},vi.size=function(t){if(null==t)return 0;if(Os(t))return Ns(t)?$n(t):t.length;var e=Vo(t);return e==Z||e==nt?t.size:hr(t).length},vi.snakeCase=Cc,vi.some=function(t,e,n){var r=ys(t)?rn:jr;return n&&Zo(t,e,n)&&(e=i),r(t,zo(e,3))},vi.sortedIndex=function(t,e){return Rr(t,e)},vi.sortedIndexBy=function(t,e,n){return Dr(t,e,zo(n,2))},vi.sortedIndexOf=function(t,e){var n=null==t?0:t.length;if(n){var i=Rr(t,e);if(i<n&&vs(t[i],e))return i}return-1},vi.sortedLastIndex=function(t,e){return Rr(t,e,!0)},vi.sortedLastIndexBy=function(t,e,n){return Dr(t,e,zo(n,2),!0)},vi.sortedLastIndexOf=function(t,e){if(null!=t&&t.length){var n=Rr(t,e,!0)-1;if(vs(t[n],e))return n}return-1},vi.startCase=Ec,vi.startsWith=function(t,e,n){return t=Qs(t),n=null==n?0:Ni(Hs(n),0,t.length),e=zr(e),t.slice(n,n+e.length)==e},vi.subtract=tu,vi.sum=function(t){return t&&t.length?_n(t,Lc):0},vi.sumBy=function(t,e){return t&&t.length?_n(t,zo(e,2)):0},vi.template=function(t,e,n){var r=vi.templateSettings;n&&Zo(t,e,n)&&(e=i),t=Qs(t),e=Js({},e,r,To);var o=Js({},e.imports,r.imports,To),a=sc(o),u=bn(o,a);qe(a,function(t){if(Ft.test(t))throw new Xt(c)});var l,f,h=0,p=e.interpolate||Zt,d="__p += '",_=ie((e.escape||Zt).source+"|"+p.source+"|"+(p===xt?Wt:Zt).source+"|"+(e.evaluate||Zt).source+"|$","g"),v="//# sourceURL="+(fe.call(e,"sourceURL")?(e.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Se+"]")+"\n";t.replace(_,function(e,n,i,r,o,a){return i||(i=r),d+=t.slice(h,a).replace(Kt,Sn),n&&(l=!0,d+="' +\n__e("+n+") +\n'"),o&&(f=!0,d+="';\n"+o+";\n__p += '"),i&&(d+="' +\n((__t = ("+i+")) == null ? '' : __t) +\n'"),h=a+e.length,e}),d+="';\n";var m=fe.call(e,"variable")&&e.variable;if(m){if(Ft.test(m))throw new Xt(s)}else d="with (obj) {\n"+d+"\n}\n";d=(f?d.replace(bt,""):d).replace(yt,"$1").replace(wt,"$1;"),d="function("+(m||"obj")+") {\n"+(m?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(l?", __e = _.escape":"")+(f?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";
1530\n")+d+"return __p\n}";var g=xc(function(){return te(a,v+"return "+d).apply(i,u)});if(g.source=d,As(g))throw g;return g},vi.times=function(t,e){if((t=Hs(t))<1||t>j)return[];var n=N,i=Yn(t,N);e=zo(e),t-=N;for(var r=vn(i,e);++n<t;)e(n);return r},vi.toFinite=Us,vi.toInteger=Hs,vi.toLength=Vs,vi.toLower=function(t){return Qs(t).toLowerCase()},vi.toNumber=Gs,vi.toSafeInteger=function(t){return t?Ni(Hs(t),-j,j):0===t?t:0},vi.toString=Qs,vi.toUpper=function(t){return Qs(t).toUpperCase()},vi.trim=function(t,e,n){if((t=Qs(t))&&(n||e===i))return mn(t);if(!t||!(e=zr(e)))return t;var r=Ln(t),o=Ln(e);return Kr(r,wn(r,o),On(r,o)+1).join("")},vi.trimEnd=function(t,e,n){if((t=Qs(t))&&(n||e===i))return t.slice(0,jn(t)+1);if(!t||!(e=zr(e)))return t;var r=Ln(t);return Kr(r,0,On(r,Ln(e))+1).join("")},vi.trimStart=function(t,e,n){if((t=Qs(t))&&(n||e===i))return t.replace(jt,"");if(!t||!(e=zr(e)))return t;var r=Ln(t);return Kr(r,wn(r,Ln(e))).join("")},vi.truncate=function(t,e){var n=I,r=x;if(ks(e)){var o="separator"in e?e.separator:o;n="length"in e?Hs(e.length):n,r="omission"in e?zr(e.omission):r}var a=(t=Qs(t)).length;if(An(t)){var s=Ln(t);a=s.length}if(n>=a)return t;var c=n-$n(r);if(c<1)return r;var u=s?Kr(s,0,c).join(""):t.slice(0,c);if(o===i)return u+r;if(s&&(c+=u.length-c),Rs(o)){if(t.slice(c).search(o)){var l,f=u;for(o.global||(o=ie(o.source,Qs(Ut.exec(o))+"g")),o.lastIndex=0;l=o.exec(f);)var h=l.index;u=u.slice(0,h===i?c:h)}}else if(t.indexOf(zr(o),c)!=c){var p=u.lastIndexOf(o);p>-1&&(u=u.slice(0,p))}return u+r},vi.unescape=function(t){return(t=Qs(t))&&Et.test(t)?t.replace(Ot,Rn):t},vi.uniqueId=function(t){var e=++he;return Qs(t)+e},vi.upperCase=Sc,vi.upperFirst=Ac,vi.each=Qa,vi.eachRight=Ya,vi.first=Oa,Nc(v
vendor: 4,680 bytes, line 1530
1530i,(Kc={},Zi(vi,function(t,e){fe.call(vi.prototype,e)||(Kc[e]=t)}),Kc),{chain:!1}),vi.VERSION="4.18.1",qe(["bind","bindKey","curry","curryRight","partial","partialRight"],function(t){vi[t].placeholder=vi}),qe(["drop","take"],function(t,e){yi.prototype[t]=function(n){n=n===i?1:Qn(Hs(n),0);var r=this.__filtered__&&!e?new yi(this):this.clone();return r.__filtered__?r.__takeCount__=Yn(n,r.__takeCount__):r.__views__.push({size:Yn(n,N),type:t+(r.__dir__<0?"Right":"")}),r},yi.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}}),qe(["filter","map","takeWhile"],function(t,e){var n=e+1,i=n==P||3==n;yi.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:zo(t,3),type:n}),e.__filtered__=e.__filtered__||i,e}}),qe(["head","last"],function(t,e){var n="take"+(e?"Right":"");yi.prototype[t]=function(){return this[n](1).value()[0]}}),qe(["initial","tail"],function(t,e){var n="drop"+(e?"":"Right");yi.prototype[t]=function(){return this.__filtered__?new yi(this):this[n](1)}}),yi.prototype.compact=function(){return this.filter(Lc)},yi.prototype.find=function(t){return this.filter(t).head()},yi.prototype.findLast=function(t){return this.reverse().find(t)},yi.prototype.invokeMap=Ar(function(t,e){return"function"==typeof t?new yi(this):this.map(function(n){return ar(n,t,e)})}),yi.prototype.reject=function(t){return this.filter(fs(zo(t)))},yi.prototype.slice=function(t,e){t=Hs(t);var n=this;return n.__filtered__&&(t>0||e<0)?new yi(n):(t<0?n=n.takeRight(-t):t&&(n=n.drop(t)),e!==i&&(n=(e=Hs(e))<0?n.dropRight(-e):n.take(e-t)),n)},yi.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},yi.prototype.toArray=function(){return this.take(N)},Zi(yi.prototype,function(t,e){var n=/^(?:filter|find|map|reject)|While$/.test(e),r=/^(?:head|last)$/.test(e),o=vi[r?"take"+("last"==e?"Right":""):e],a=r||/^find/.test(e);o&&(vi.prototype[e]=function(){var e=this.__wrapped__,s=r?[1]:arguments,c=e instanceof yi,u=s[0],l=c||ys(e),f=function(t){var e=o.apply(vi,tn([t],s));return r&&h?e[0]:e};l&&n&&"function"==typeof u&&1!=u.length&&(c=l=!1);var h=this.__chain__,p=!!this.__actions__.length,d=a&&!h,_=c&&!p;if(!a&&l){e=_?e:new yi(this);var v=t.apply(e,s);return v.__actions__.push({func:Ua,args:[f],thisArg:i}),new bi(v,h)}return d&&_?t.apply(this,s):(v=this.thru(f),d?r?v.value()[0]:v.value():v)})}),qe(["pop","push","shift","sort","splice","unshift"],function(t){var e=ae[t],n=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",i=/^(?:pop|shift)$/.test(t);vi.prototype[t]=function(){var t=arguments;if(i&&!this.__chain__){var r=this.value();return e.apply(ys(r)?r:[],t)}return this[n](function(n){return e.apply(ys(n)?n:[],t)})}}),Zi(yi.prototype,function(t,e){var n=vi[e];if(n){var i=n.name+"";fe.call(si,i)||(si[i]=[]),si[i].push({name:e,func:n})}}),si[mo(i,g).name]=[{name:"wrapper",func:i}],yi.prototype.clone=function(){var t=new yi(this.__wrapped__);return t.__actions__=oo(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=oo(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=oo(this.__views__),t},yi.prototype.reverse=function(){if(this.__filtered__){var t=new yi(this);t.__dir__=-1,t.__filtered__=!0}else(t=this.clone()).__dir__*=-1;return t},yi.prototype.value=function(){var t=this.__wrapped__.value(),e=this.__dir__,n=ys(t),i=e<0,r=n?t.length:0,o=function(t,e,n){for(var i=-1,r=n.length;++i<r;){var o=n[i],a=o.size;switch(o.type){case"drop":t+=a;break;case"dropRight":e-=a;break;case"take":e=Yn(e,t+a);break;case"takeRight":t=Qn(t,e-a)}}return{start:t,end:e}}(0,r,this.__views__),a=o.start,s=o.end,c=s-a,u=i?s:a-1,l=this.__iteratees__,f=l.length,h=0,p=Yn(c,this.__takeCount__);if(!n||!i&&r==c&&p==c)return Hr(t,this.__actions__);var d=[];t:for(;c--&&h<p;){for(var _=-1,v=t[u+=e];++_<f;){var m=l[_],g=m.iteratee,b=m.type,y=g(v);if(b==$)v=y;else if(!y){if(b==P)continue t;break t}}d[h++]=v}return d},vi.prototype.at=Ha,vi.prototype.chain=function(){return Wa(this)},vi.prototype.commit=function(){return new bi(this.value(),this.__chain__)},vi.prototype.next=function(){this.__values__===i&&(this.__values__=Ws(this.value()));var t=this.__index__>=this.__values__.length;return{done:t,value:t?i:this.__values__[this.__index__++]}},vi.prototype.plant=function(t){for(var e,n=this;n instanceof gi;){var r=_a(n);r.__index__=0,r.__values__=i,e?o.__wrapped__=r:e=r;var o=r;n=n.__wrapped__}return o.__wrapped__=t,e},vi.prototype.reverse=function(){var t=this.__wrapped__;if(t instanceof yi){var e=t;return this.__actions__.length&&(e=new yi(this)),(e=e.reverse()).__actions__.push({func:Ua,args:[ka],thisArg:i}),new bi(e,this.__chain__)}return this.thru(ka)}
1530,vi.prototype.toJSON=vi.prototype.valueOf=vi.prototype.value=function(){return Hr(this.__wrapped__,this.__actions__)},vi.prototype.first=vi.prototype.head,on&&(vi.prototype[on]=function(){return this}),vi}();"function"==typeof define&&"object"==typeof define.amd&&define.amd?(Le._=Dn,define(function(){return Dn})):Re?((Re.exports=Dn)._=Dn,je._=Dn):Le._=Dn}).call(this)}).call(this,n("__colibri_879"),n("__colibri_987")(t))},__colibri_879:function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n},__colibri_886:function(t,e,n){t.exports=!n("__colibri_900")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},__colibri_887:function(t,e,n){var i=n("__colibri_895"),r=n("__colibri_1222"),o=n("__colibri_1151"),a=Object.defineProperty;e.f=n("__colibri_886")?Object.defineProperty:function(t,e,n){if(i(t),e=o(e,!0),i(n),r)try{return a(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},__colibri_895:function(t,e,n){var i=n("__colibri_861");t.exports=function(t){if(!i(t))throw TypeError(t+" is not an object!");return t}},__colibri_900:function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},__colibri_901:function(t,e,n){var i=n("__colibri_1178"),r=n("__colibri_991");t.exports=function(t){return i(r(t))}},__colibri_912:function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},__colibri_915:function(t,e,n){var i=n("__colibri_887"),r=n("__colibri_969");t.exports=n("__colibri_886")?function(t,e,n){return i.f(t,e,r(1,n))}:function(t,e,n){return t[e]=n,t}},__colibri_918:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=n.emptyArrays,s=void 0===a||a,c=n.emptyObjects,u=void 0===c||c,l=n.emptyStrings,f=void 0===l||l,h=n.nullValues,p=void 0===h||h,d=n.undefinedValues,_=void 0===d||d;return(0,o.default)(e,function(e,n,o){if((Array.isArray(n)||(0,r.default)(n))&&(n=t(n,{emptyArrays:s,emptyObjects:u,emptyStrings:f,nullValues:p,undefinedValues:_})),!(u&&(0,r.default)(n)&&(0,i.default)(n))&&(!s||!Array.isArray(n)||n.length)&&!(f&&""===n||p&&null===n||_&&void 0===n))return Array.isArray(e)?e.push(n):void(e[o]=n)})};var i=a(n("__colibri_1724")),r=a(n("__colibri_1723")),o=a(n("__colibri_1722"));function a(t){return t&&t.__esModule?t:{default:t}}t.exports=e.default},__colibri_919:function(t,e,n){(function(e){var n="Expected a function",i=NaN,r="[object Symbol]",o=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,c=/^0o[0-7]+$/i,u=parseInt,l="object"==typeof e&&e&&e.Object===Object&&e,f="object"==typeof self&&self&&self.Object===Object&&self,h=l||f||Function("return this")(),p=Object.prototype.toString,d=Math.max,_=Math.min,v=function(){return h.Date.now()};function m(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function g(t){if("number"==typeof t)return t;if(function(t){return"symbol"==typeof t||function(t){return!!t&&"object"==typeof t}(t)&&p.call(t)==r}(t))return i;if(m(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=m(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(o,"");var n=s.test(t);return n||c.test(t)?u(t.slice(2),n?2:8):a.test(t)?i:+t}t.exports=function(t,e,i){var r,o,a,s,c,u,l=0,f=!1,h=!1,p=!0;if("function"!=typeof t)throw new TypeError(n);function b(e){var n=r,i=o;return r=o=void 0,l=e,s=t.apply(i,n)}function y(t){var n=t-u;return void 0===u||n>=e||n<0||h&&t-l>=a}function w(){var t=v();if(y(t))return O(t);c=setTimeout(w,function(t){var n=e-(t-u);return h?_(n,a-(t-l)):n}(t))}function O(t){return c=void 0,p&&r?b(t):(r=o=void 0,s)}function C(){var t=v(),n=y(t);if(r=arguments,o=this,u=t,n){if(void 0===c)return function(t){return l=t,c=setTimeout(w,e),f?b(t):s}(u);if(h)return c=setTimeout(w,e),b(u)}return void 0===c&&(c=setTimeout(w,e)),s}return e=g(e)||0,m(i)&&(f=!!i.leading,a=(h="maxWait"in i)?d(g(i.maxWait)||0,e):a,p="trailing"in i?!!i.trailing:p),C.cancel=function(){void 0!==c&&clearTimeout(c),l=0,r=u=o=c=void 0},C.flush=function(){return void 0===c?s:O(v())},C}}).call(this,n("__colibri_879"))},__colibri_920:function(t,e,n){"use strict";
1530e.__esModule=!0;var i=o(n("__colibri_803")),r=o(n("__colibri_951"));function o(t){return t&&t.__esModule?t:{default:t}}e.default=function t(e,n,o){null===e&&(e=Function.prototype);var a=(0,r.default)(e,n);if(void 0===a){var s=(0,i.default)(e);return null===s?void 0:t(s,n,o)}if("value"in a)return a.value;var c=a.get;return void 0!==c?c.call(o):void 0}},__colibri_930:function(t,e,n){t.exports={default:n("__colibri_1692"),__esModule:!0}},__colibri_933:function(t,e,n){var i=n("__colibri_840"),r=n("__colibri_822"),o=n("__colibri_900");t.exports=function(t,e){var n=(r.Object||{})[t]||Object[t],a={};a[t]=e(n),i(i.S+i.F*o(function(){n(1)}),"Object",a)}},__colibri_934:function(t,e,n){var i=n("__colibri_1221"),r=n("__colibri_1147");t.exports=Object.keys||function(t){return i(t,r)}},__colibri_946:function(t,e,n){var i=n("__colibri_1152");t.exports=function(t,e,n){if(i(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,i){return t.call(e,n,i)};case 3:return function(n,i,r){return t.call(e,n,i,r)}}return function(){return t.apply(e,arguments)}}},__colibri_950:function(t,e,n){t.exports={default:n("__colibri_1707"),__esModule:!0}},__colibri_951:function(t,e,n){t.exports={default:n("__colibri_1715"),__esModule:!0}},__colibri_956:function(t,e){e.f={}.propertyIsEnumerable},__colibri_957:function(t,e,n){var i=n("__colibri_991");t.exports=function(t){return Object(i(t))}},__colibri_963:function(t,e,n){t.exports={default:n("__colibri_1713"),__esModule:!0}},__colibri_969:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},__colibri_970:function(t,e,n){"use strict";n.d(e,"a",function(){return O}),n.d(e,"c",function(){return C});var i=n("__colibri_856"),r=n.n(i),o=n("__colibri_774"),a=n.n(o),s=n("__colibri_771"),c=n("__colibri_782"),u={FADE_IN:"fadeIn",FADE_IN_UP:"fadeInUp",FADE_IN_DOWN:"fadeInDown",FADE_IN_LEFT:"fadeInLeft",FADE_IN_RIGHT:"fadeInRight"},l={ZOOM_IN:"zoomIn",ZOOM_IN_UP:"zoomInUp",ZOOM_IN_DOWN:"zoomInDown",ZOOM_IN_LEFT:"zoomInLeft",ZOOM_IN_RIGHT:"zoomInRight"},f={BOUNCE_IN:"bounceIn",BOUNCE_IN_UP:"bounceInUp",BOUNCE_IN_DOWN:"bounceInDown",BOUNCE_IN_LEFT:"bounceInLeft",BOUNCE_IN_RIGHT:"bounceInRight"},h={SLIDE_IN_UP:"slideInUp",SLIDE_IN_DOWN:"slideInDown",SLIDE_IN_LEFT:"slideInLeft",SLIDE_IN_RIGHT:"slideInRight"},p={ROTATE_IN:"rotateIn",ROTATE_IN_DOWN_LEFT:"rotateInDownLeft",ROTATE_IN_DOWN_RIGHT:"rotateInDownRight",ROTATE_IN_UP_LEFT:"rotateInUpLeft",ROTATE_IN_UP_RIGHT:"rotateInUpRight"},d={BOUNCE:"bounce",FLASH:"flash",PULSE:"pulse",RUBBER_BAND:"rubberBand",SHAKE:"shake",HEAD_SHAKE:"headShake",SWING:"swing",TADA:"tada",WOBBLE:"wobble",JELLO:"jello",HEART_BEAT:"heartBeat"},_={LIGHT_SPEED_IN:"lightSpeedIn"},v={ROLL_IN:"rollIn",JACK_IN_THE_BOX:"jackInTheBox"},m={FLIP_IN_X:"flipInX",FLIP_IN_Y:"flipInY"},g=a()({NONE:"none"},u,l,f,h,p,_,v,d,m),b=r()(g),y=[{label:"None",value:g.NONE,isSingle:!0},{label:"Fading",items:[{label:"Fade In",value:u.FADE_IN},{label:"Fade In Up",value:u.FADE_IN_UP},{label:"Fade In Down",value:u.FADE_IN_DOWN},{label:"Fade In Left",value:u.FADE_IN_LEFT},{label:"Fade In Right",value:u.FADE_IN_RIGHT}]},{label:"Zooming",items:[{label:"Zoom In",value:l.ZOOM_IN},{label:"Zoom In Up",value:l.ZOOM_IN_UP},{label:"Zoom In Down",value:l.ZOOM_IN_DOWN},{label:"Zoom In Left",value:l.ZOOM_IN_LEFT},{label:"Zoom In Right",value:l.ZOOM_IN_RIGHT}]},{label:"Bouncing",items:[{label:"Bounce In",value:f.BOUNCE_IN},{label:"Bounce In Up",value:f.BOUNCE_IN_UP},{label:"Bounce In Down",value:f.BOUNCE_IN_DOWN},{label:"Bounce In Left",value:f.BOUNCE_IN_LEFT},{label:"Bounce In Right",value:f.BOUNCE_IN_RIGHT}]},{label:"Sliding",items:[{label:"Slide In Up",value:h.SLIDE_IN_UP},{label:"Slide In Down",value:h.SLIDE_IN_DOWN},{label:"Slide In Left",value:h.SLIDE_IN_LEFT},{label:"Slide In Right",value:h.SLIDE_IN_RIGHT}]},{label:"Rotating",items:[{label:"Rotate In",value:p.ROTATE_IN},{label:"Rotate In Down Left",value:p.ROTATE_IN_DOWN_LEFT},{label:"Rotate In Down Right",value:p.ROTATE_IN_DOWN_RIGHT},{label:"Rotate In Up Left",value:p.ROTATE_IN_UP_LEFT},{label:"Rotate In Up Right",value:p.ROTATE_IN_UP_RIGHT}]},{label:"Attention seekers",items:[{label:"Bounce",value:d.BOUNCE},{label:"Flash",value:d.FLASH},{label:"Pulse",value:d.PULSE},{label:"Rubber band",value:d.RUBBER_BAND},{label:"Shake",value:d.SHAKE},{label:"Swing",value:d.SWING},{label:"Tada",value:d.TADA},{label:"Wobble",value:d.WOBBLE},{label:"Jello",value:d.JELLO},{label:"Heart Beat",value:d.HEART_BEAT}]},{label:"Light Speed",items:[{label:"Light Speed In",value:_.LIGHT_SPEED_IN}]},{label:"Specials",items:[{label:"Roll In",value:v.ROLL_IN},{label:"Jack In The Box",value:v.JACK_IN_THE_BOX}]},{label:"Flippers",items:[{label:"Flip In X",value:m.FLIP_IN_X},{label:"Flip In Y",value:m.FLIP_IN_Y}]}],w={EFFECT_TYPE:{VALUES:g,OPTIONS:y,DEFAULT:g.NONE},ANIMATIONS_CLASSES:b},O=[c.a.SPACER,c.a.NAVIGATION],C=function(t){var e=t.data,n=t.isPreview,i=t.vNode,r={},o=s.default.get(e.attrs,"v-previewId");o&&(r.nodeId=o);var a=i.getLocalProp("appearanceEffect",null,r);n||i.getSessionProp("restartAppearanceEffect",!1,r)&&e.class.push("colibri-aos-hide-animation");var c,u=(c=a)&&c!==g.NONE?{"data-aos":c}:null;u&&(e.attrs=s.default.merge({},e.attrs,u),i.$nextTick(function(){i.$nextTick(function(){E()})}))},E=s.default.debounce(function(){AOS&&AOS.refreshHard()},100);e.b=w},__colibri_987:function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},__colibri_988:function(t,e,n){var i=n("__colibri_990")("meta"),r=n("__colibri_861"),o=n("__colibri_912"),a=n("__colibri_887").f,s=0,c=Object.isExtensible||function(){return!0},u=!n("__colibri_900")(function(){return c(Object.preventExtensions({}))}),l=function(t){a(t,i,{value:{i:"O"+ ++s,w:{}}})},f=t.exports={KEY:i,NEED:!1,fastKey:function(t,e){if(!r(t))return"symbol"==typeof t?t:("str
1530ing"==typeof t?"S":"P")+t;if(!o(t,i)){if(!c(t))return"F";if(!e)return"E";l(t)}return t[i].i},getWeak:function(t,e){if(!o(t,i)){if(!c(t))return!0;if(!e)return!1;l(t)}return t[i].w},onFreeze:function(t){return u&&f.NEED&&c(t)&&!o(t,i)&&l(t),t}}},__colibri_989:function(t,e,n){var i=n("__colibri_887").f,r=n("__colibri_912"),o=n("__colibri_874")("toStringTag");t.exports=function(t,e,n){t&&!r(t=n?t:t.prototype,o)&&i(t,o,{configurable:!0,value:e})}},__colibri_990:function(t,e){var n=0,i=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+i).toString(36))}},__colibri_991:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on  "+t);return t}},__colibri_992:function(t,e){t.exports={}}});
1531// source --> https://www.gehlebt.at/wp-content/plugins/wp-gpx-maps/ThirdParties/Leaflet_1.5.1/leaflet.js?ver=1.5.1 
1532/* @preserve
1533 * Leaflet 1.5.1+Detached: 2e3e0ffbe87f246eb76d86d2633ddd59b262830b.2e3e0ff, a JS library for interactive maps. http://leafletjs.com
1534 * (c) 2010-2018 Vladimir Agafonkin, (c) 2010-2011 CloudMade
1535 */
1536!function(t,i){"object"==typeof exports&&"undefined"!=typeof module?i(exports):"function"==typeof define&&define.amd?define(["exports"],i):i(t.L={})}(this,function(t){"use strict";var i=Object.freeze;function h(t){var i,e,n,o;for(e=1,n=arguments.length;e<n;e++)for(i in o=arguments[e])t[i]=o[i];return t}Object.freeze=function(t){return t};var s=Object.create||function(t){return e.prototype=t,new e};function e(){}function a(t,i){var e=Array.prototype.slice;if(t.bind)return t.bind.apply(t,e.call(arguments,1));var n=e.call(arguments,2);return function(){return t.apply(i,n.length?n.concat(e.call(arguments)):arguments)}}var n=0;function u(t){return t._leaflet_id=t._leaflet_id||++n,t._leaflet_id}function o(t,i,e){var n,o,s,r;return r=function(){n=!1,o&&(s.apply(e,o),o=!1)},s=function(){n?o=arguments:(t.apply(e,arguments),setTimeout(r,i),n=!0)}}function r(t,i,e){var n=i[1],o=i[0],s=n-o;return t===n&&e?t:((t-o)%s+s)%s+o}function l(){return!1}function c(t,i){return i=void 0===i?6:i,+(Math.round(t+"e+"+i)+"e-"+i)}function _(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function d(t){return _(t).split(/\s+/)}function p(t,i){for(var e in t.hasOwnProperty("options")||(t.options=t.options?s(t.options):{}),i)t.options[e]=i[e];return t.options}function m(t,i,e){var n=[];for(var o in t)n.push(encodeURIComponent(e?o.toUpperCase():o)+"="+encodeURIComponent(t[o]));return(i&&-1!==i.indexOf("?")?"&":"?")+n.join("&")}var f=/\{ *([\w_-]+) *\}/g;function g(t,n){return t.replace(f,function(t,i){var e=n[i];if(void 0===e)throw new Error("No value provided for variable "+t);return"function"==typeof e&&(e=e(n)),e})}var v=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)};function y(t,i){for(var e=0;e<t.length;e++)if(t[e]===i)return e;return-1}var x="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=";function w(t){return window["webkit"+t]||window["moz"+t]||window["ms"+t]}var P=0;function b(t){var i=+new Date,e=Math.max(0,16-(i-P));return P=i+e,window.setTimeout(t,e)}var T=window.requestAnimationFrame||w("RequestAnimationFrame")||b,z=window.cancelAnimationFrame||w("CancelAnimationFrame")||w("CancelRequestAnimationFrame")||function(t){window.clearTimeout(t)};function M(t,i,e){if(!e||T!==b)return T.call(window,a(t,i));t.call(i)}function C(t){t&&z.call(window,t)}var S=(Object.freeze||Object)({freeze:i,extend:h,create:s,bind:a,lastId:n,stamp:u,throttle:o,wrapNum:r,falseFn:l,formatNum:c,trim:_,splitWords:d,setOptions:p,getParamString:m,template:g,isArray:v,indexOf:y,emptyImageUrl:x,requestFn:T,cancelFn:z,requestAnimFrame:M,cancelAnimFrame:C});function Z(){}Z.extend=function(t){function i(){this.initialize&&this.initialize.apply(this,arguments),this.callInitHooks()}var e=i.__super__=this.prototype,n=s(e);for(var o in(n.constructor=i).prototype=n,this)this.hasOwnProperty(o)&&"prototype"!==o&&"__super__"!==o&&(i[o]=this[o]);return t.statics&&(h(i,t.statics),delete t.statics),t.includes&&(function(t){if("undefined"==typeof L||!L||!L.Mixin)return;t=v(t)?t:[t];for(var i=0;i<t.length;
vendor: 6,054 bytes, line 1536
1536i++)t[i]===L.Mixin.Events&&console.warn("Deprecated include of L.Mixin.Events: this property will be removed in future releases, please inherit from L.Evented instead.",(new Error).stack)}(t.includes),h.apply(null,[n].concat(t.includes)),delete t.includes),n.options&&(t.options=h(s(n.options),t.options)),h(n,t),n._initHooks=[],n.callInitHooks=function(){if(!this._initHooksCalled){e.callInitHooks&&e.callInitHooks.call(this),this._initHooksCalled=!0;for(var t=0,i=n._initHooks.length;t<i;t++)n._initHooks[t].call(this)}},i},Z.include=function(t){return h(this.prototype,t),this},Z.mergeOptions=function(t){return h(this.prototype.options,t),this},Z.addInitHook=function(t){var i=Array.prototype.slice.call(arguments,1),e="function"==typeof t?t:function(){this[t].apply(this,i)};return this.prototype._initHooks=this.prototype._initHooks||[],this.prototype._initHooks.push(e),this};var E={on:function(t,i,e){if("object"==typeof t)for(var n in t)this._on(n,t[n],i);else for(var o=0,s=(t=d(t)).length;o<s;o++)this._on(t[o],i,e);return this},off:function(t,i,e){if(t)if("object"==typeof t)for(var n in t)this._off(n,t[n],i);else for(var o=0,s=(t=d(t)).length;o<s;o++)this._off(t[o],i,e);else delete this._events;return this},_on:function(t,i,e){this._events=this._events||{};var n=this._events[t];n||(n=[],this._events[t]=n),e===this&&(e=void 0);for(var o={fn:i,ctx:e},s=n,r=0,a=s.length;r<a;r++)if(s[r].fn===i&&s[r].ctx===e)return;s.push(o)},_off:function(t,i,e){var n,o,s;if(this._events&&(n=this._events[t]))if(i){if(e===this&&(e=void 0),n)for(o=0,s=n.length;o<s;o++){var r=n[o];if(r.ctx===e&&r.fn===i)return r.fn=l,this._firingCount&&(this._events[t]=n=n.slice()),void n.splice(o,1)}}else{for(o=0,s=n.length;o<s;o++)n[o].fn=l;delete this._events[t]}},fire:function(t,i,e){if(!this.listens(t,e))return this;var n=h({},i,{type:t,target:this,sourceTarget:i&&i.sourceTarget||this});if(this._events){var o=this._events[t];if(o){this._firingCount=this._firingCount+1||1;for(var s=0,r=o.length;s<r;s++){var a=o[s];a.fn.call(a.ctx||this,n)}this._firingCount--}}return e&&this._propagateEvent(n),this},listens:function(t,i){var e=this._events&&this._events[t];if(e&&e.length)return!0;if(i)for(var n in this._eventParents)if(this._eventParents[n].listens(t,i))return!0;return!1},once:function(t,i,e){if("object"==typeof t){for(var n in t)this.once(n,t[n],i);return this}var o=a(function(){this.off(t,i,e).off(t,o,e)},this);return this.on(t,i,e).on(t,o,e)},addEventParent:function(t){return this._eventParents=this._eventParents||{},this._eventParents[u(t)]=t,this},removeEventParent:function(t){return this._eventParents&&delete this._eventParents[u(t)],this},_propagateEvent:function(t){for(var i in this._eventParents)this._eventParents[i].fire(t.type,h({layer:t.target,propagatedFrom:t.target},t),!0)}};E.addEventListener=E.on,E.removeEventListener=E.clearAllEventListeners=E.off,E.addOneTimeEventListener=E.once,E.fireEvent=E.fire,E.hasEventListeners=E.listens;var k=Z.extend(E);function B(t,i,e){this.x=e?Math.round(t):t,this.y=e?Math.round(i):i}var A=Math.trunc||function(t){return 0<t?Math.floor(t):Math.ceil(t)};function I(t,i,e){return t instanceof B?t:v(t)?new B(t[0],t[1]):null==t?t:"object"==typeof t&&"x"in t&&"y"in t?new B(t.x,t.y):new B(t,i,e)}function O(t,i){if(t)for(var e=i?[t,i]:t,n=0,o=e.length;n<o;n++)this.extend(e[n])}function R(t,i){return!t||t instanceof O?t:new O(t,i)}function N(t,i){if(t)for(var e=i?[t,i]:t,n=0,o=e.length;n<o;n++)this.extend(e[n])}function D(t,i){return t instanceof N?t:new N(t,i)}function j(t,i,e){if(isNaN(t)||isNaN(i))throw new Error("Invalid LatLng object: ("+t+", "+i+")");this.lat=+t,this.lng=+i,void 0!==e&&(this.alt=+e)}function W(t,i,e){return t instanceof j?t:v(t)&&"object"!=typeof t[0]?3===t.length?new j(t[0],t[1],t[2]):2===t.length?new j(t[0],t[1]):null:null==t?t:"object"==typeof t&&"lat"in t?new j(t.lat,"lng"in t?t.lng:t.lon,t.alt):void 0===i?null:new j(t,i,e)}B.prototype={clone:function(){return new B(this.x,this.y)},add:function(t){return this.clone()._add(I(t))},_add:function(t){return this.x+=t.x,this.y+=t.y,this},subtract:function(t){return this.clone()._subtract(I(t))},_subtract:function(t){return this.x-=t.x,this.y-=t.y,this},divideBy:function(t){return this.clone()._divideBy(t)},_divideBy:function(t){return this.x/=t,this.y/=t,this},multiplyBy:function(t){return this.clone()._multiplyBy(t)},_multiplyBy:function(t){return this.x*=t,this.y*=t,this},scaleBy:function(t){return new B(this.x*t.x,this.y*t.y)},unscaleBy:function(t){return new B(this.x/t.x,this.y/t.y)},round:function(){return this.clone()._round()},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this},floor:function(){return this.clone()._floor()},_floor:function(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this},ceil:function(){return this.clone()._ceil()},_ceil:function(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this},trunc:function(){return this.clone()._trunc()},_trunc:function(){return this.x=A(this.x),this.y=A(this.y),this},distanceTo:function(t){var i=(t=I(t)).x-this.x,e=t.y-this.y;return Math.sqrt(i*i+e*e)},equals:function(t){return(t=I(t)).x===this.x&&t.y===this.y},contains:function(t){return t=I(t),Math.abs(t.x)<=Math.abs(this.x)&&Math.abs(t.y)<=Math.abs(this.y)},toString:function(){return"Point("+c(this.x)+", "+c(this.y)+")"}},O.prototype={extend:function(t){return t=I(t),this.min||this.max?(this.min.x=Math.min(t.x,this.min.x),this.max.x=Math.max(t.x,this.max.x),this.min.y=Math.min(t.y,this.min.y),this.max.y=Math.max(t.y,this.max.y)):(this.min=t.clone(),this.max=t.clone()),this},getCenter:function(t){return new B((this.min.x+this.max.x)/2,(this.min.y+this.max.y)/2,t)},getBottomLeft:function(){return new B(this.min.x,this.max.y)},getTopRight:function(){return new B(this.max.x,this.min.y)},getTopLeft:function(){return this.min},getBottomRight:function(){return this.max},getSize:function(){return this.max.subtract(this.min)},contains:function(t){var i,e;return(t="number"==typeof t[0]||t instanceof B?I(t):R(t))instanceof O?
vendor: 3,867 bytes, line 1536
1536(i=t.min,e=t.max):i=e=t,i.x>=this.min.x&&e.x<=this.max.x&&i.y>=this.min.y&&e.y<=this.max.y},intersects:function(t){t=R(t);var i=this.min,e=this.max,n=t.min,o=t.max,s=o.x>=i.x&&n.x<=e.x,r=o.y>=i.y&&n.y<=e.y;return s&&r},overlaps:function(t){t=R(t);var i=this.min,e=this.max,n=t.min,o=t.max,s=o.x>i.x&&n.x<e.x,r=o.y>i.y&&n.y<e.y;return s&&r},isValid:function(){return!(!this.min||!this.max)}},N.prototype={extend:function(t){var i,e,n=this._southWest,o=this._northEast;if(t instanceof j)e=i=t;else{if(!(t instanceof N))return t?this.extend(W(t)||D(t)):this;if(i=t._southWest,e=t._northEast,!i||!e)return this}return n||o?(n.lat=Math.min(i.lat,n.lat),n.lng=Math.min(i.lng,n.lng),o.lat=Math.max(e.lat,o.lat),o.lng=Math.max(e.lng,o.lng)):(this._southWest=new j(i.lat,i.lng),this._northEast=new j(e.lat,e.lng)),this},pad:function(t){var i=this._southWest,e=this._northEast,n=Math.abs(i.lat-e.lat)*t,o=Math.abs(i.lng-e.lng)*t;return new N(new j(i.lat-n,i.lng-o),new j(e.lat+n,e.lng+o))},getCenter:function(){return new j((this._southWest.lat+this._northEast.lat)/2,(this._southWest.lng+this._northEast.lng)/2)},getSouthWest:function(){return this._southWest},getNorthEast:function(){return this._northEast},getNorthWest:function(){return new j(this.getNorth(),this.getWest())},getSouthEast:function(){return new j(this.getSouth(),this.getEast())},getWest:function(){return this._southWest.lng},getSouth:function(){return this._southWest.lat},getEast:function(){return this._northEast.lng},getNorth:function(){return this._northEast.lat},contains:function(t){t="number"==typeof t[0]||t instanceof j||"lat"in t?W(t):D(t);var i,e,n=this._southWest,o=this._northEast;return t instanceof N?(i=t.getSouthWest(),e=t.getNorthEast()):i=e=t,i.lat>=n.lat&&e.lat<=o.lat&&i.lng>=n.lng&&e.lng<=o.lng},intersects:function(t){t=D(t);var i=this._southWest,e=this._northEast,n=t.getSouthWest(),o=t.getNorthEast(),s=o.lat>=i.lat&&n.lat<=e.lat,r=o.lng>=i.lng&&n.lng<=e.lng;return s&&r},overlaps:function(t){t=D(t);var i=this._southWest,e=this._northEast,n=t.getSouthWest(),o=t.getNorthEast(),s=o.lat>i.lat&&n.lat<e.lat,r=o.lng>i.lng&&n.lng<e.lng;return s&&r},toBBoxString:function(){return[this.getWest(),this.getSouth(),this.getEast(),this.getNorth()].join(",")},equals:function(t,i){return!!t&&(t=D(t),this._southWest.equals(t.getSouthWest(),i)&&this._northEast.equals(t.getNorthEast(),i))},isValid:function(){return!(!this._southWest||!this._northEast)}};var H,F={latLngToPoint:function(t,i){var e=this.projection.project(t),n=this.scale(i);return this.transformation._transform(e,n)},pointToLatLng:function(t,i){var e=this.scale(i),n=this.transformation.untransform(t,e);return this.projection.unproject(n)},project:function(t){return this.projection.project(t)},unproject:function(t){return this.projection.unproject(t)},scale:function(t){return 256*Math.pow(2,t)},zoom:function(t){return Math.log(t/256)/Math.LN2},getProjectedBounds:function(t){if(this.infinite)return null;var i=this.projection.bounds,e=this.scale(t);return new O(this.transformation.transform(i.min,e),this.transformation.transform(i.max,e))},infinite:!(j.prototype={equals:function(t,i){return!!t&&(t=W(t),Math.max(Math.abs(this.lat-t.lat),Math.abs(this.lng-t.lng))<=(void 0===i?1e-9:i))},toString:function(t){return"LatLng("+c(this.lat,t)+", "+c(this.lng,t)+")"},distanceTo:function(t){return U.distance(this,W(t))},wrap:function(){return U.wrapLatLng(this)},toBounds:function(t){var i=180*t/40075017,e=i/Math.cos(Math.PI/180*this.lat);return D([this.lat-i,this.lng-e],[this.lat+i,this.lng+e])},clone:function(){return new j(this.lat,this.lng,this.alt)}}),wrapLatLng:function(t){var i=this.wrapLng?r(t.lng,this.wrapLng,!0):t.lng;return new j(this.wrapLat?r(t.lat,this.wrapLat,!0):t.lat,i,t.alt)},wrapLatLngBounds:function(t){var i=t.getCenter(),e=this.wrapLatLng(i),n=i.lat-e.lat,o=i.lng-e.lng;if(0==n&&0==o)return t;
1536var s=t.getSouthWest(),r=t.getNorthEast();return new N(new j(s.lat-n,s.lng-o),new j(r.lat-n,r.lng-o))}},U=h({},F,{wrapLng:[-180,180],R:6371e3,distance:function(t,i){var e=Math.PI/180,n=t.lat*e,o=i.lat*e,s=Math.sin((i.lat-t.lat)*e/2),r=Math.sin((i.lng-t.lng)*e/2),a=s*s+Math.cos(n)*Math.cos(o)*r*r,h=2*Math.atan2(Math.sqrt(a),Math.sqrt(1-a));return this.R*h}}),V=6378137,q={R:V,MAX_LATITUDE:85.0511287798,project:function(t){var i=Math.PI/180,e=this.MAX_LATITUDE,n=Math.max(Math.min(e,t.lat),-e),o=Math.sin(n*i);return new B(this.R*t.lng*i,this.R*Math.log((1+o)/(1-o))/2)},unproject:function(t){var i=180/Math.PI;return new j((2*Math.atan(Math.exp(t.y/this.R))-Math.PI/2)*i,t.x*i/this.R)},bounds:(H=V*Math.PI,new O([-H,-H],[H,H]))};function G(t,i,e,n){if(v(t))return this._a=t[0],this._b=t[1],this._c=t[2],void(this._d=t[3]);this._a=t,this._b=i,this._c=e,this._d=n}function K(t,i,e,n){return new G(t,i,e,n)}G.prototype={transform:function(t,i){return this._transform(t.clone(),i)},_transform:function(t,i){return i=i||1,t.x=i*(this._a*t.x+this._b),t.y=i*(this._c*t.y+this._d),t},untransform:function(t,i){return i=i||1,new B((t.x/i-this._b)/this._a,(t.y/i-this._d)/this._c)}};var Y,X=h({},U,{code:"EPSG:3857",projection:q,transformation:(Y=.5/(Math.PI*q.R),K(Y,.5,-Y,.5))}),J=h({},X,{code:"EPSG:900913"});function $(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function Q(t,i){var e,n,o,s,r,a,h="";for(e=0,o=t.length;e<o;e++){for(n=0,s=(r=t[e]).length;n<s;n++)h+=(n?"L":"M")+(a=r[n]).x+" "+a.y;h+=i?Zt?"z":"x":""}return h||"M0 0"}var tt=document.documentElement.style,it="ActiveXObject"in window,et=it&&!document.addEventListener,nt="msLaunchUri"in navigator&&!("documentMode"in document),ot=kt("webkit"),st=kt("android"),rt=kt("android 2")||kt("android 3"),at=parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1],10),ht=st&&kt("Google")&&at<537&&!("AudioNode"in window),ut=!!window.opera,lt=kt("chrome"),ct=kt("gecko")&&!ot&&!ut&&!it,_t=!lt&&kt("safari"),dt=kt("phantom"),pt="OTransition"in tt,mt=0===navigator.platform.indexOf("Win"),ft=it&&"transition"in tt,gt="WebKitCSSMatrix"in window&&"m11"in new window.WebKitCSSMatrix&&!rt,vt="MozPerspective"in tt,yt=!window.L_DISABLE_3D&&(ft||gt||vt)&&!pt&&!dt,xt="undefined"!=typeof orientation||kt("mobile"),wt=xt&&ot,Pt=xt&&gt,Lt=!window.PointerEvent&&window.MSPointerEvent,bt=!(!window.PointerEvent&&!Lt),Tt=!window.L_NO_TOUCH&&(bt||"ontouchstart"in window||window.DocumentTouch&&document instanceof window.DocumentTouch),zt=xt&&ut,Mt=xt&&ct,Ct=1<(window.devicePixelRatio||window.screen.deviceXDPI/window.screen.logicalXDPI),St=!!document.createElement("canvas").getContext,Zt=!(!document.createElementNS||!$("svg").createSVGRect),Et=!Zt&&function(){try{var t=document.createElement("div");t.innerHTML='<v:shape adj="1"/>';var i=t.firstChild;return i.style.behavior="url(#default#VML)",i&&"object"==typeof i.adj}catch(t){return!1}}();function kt(t){return 0<=navigator.userAgent.toLowerCase().indexOf(t)}var Bt=(Object.freeze||Object)({ie:it,ielt9:et,edge:nt,webkit:ot,android:st,android23:rt,androidStock:ht,opera:ut,chrome:lt,gecko:ct,safari:_t,phantom:dt,opera12:pt,win:mt,ie3d:ft,webkit3d:gt,gecko3d:vt,any3d:yt,mobile:xt,mobileWebkit:wt,mobileWebkit3d:Pt,msPointer:Lt,pointer:bt,touch:Tt,mobileOpera:zt,mobileGecko:Mt,retina:Ct,canvas:St,svg:Zt,vml:Et}),At=Lt?"MSPointerDown":"pointerdown",It=Lt?"MSPointerMove":"pointermove",Ot=Lt?"MSPointerUp":"pointerup",Rt=Lt?"MSPointerCancel":"pointercancel",Nt=["INPUT","SELECT","OPTION"],Dt={},jt=!1,Wt=0;function Ht(t,i,e,n){return"touchstart"===i?function(t,i,e){var n=a(function(t){if("mouse"!==t.pointerType&&t.MSPOINTER_TYPE_MOUSE&&t.pointerType!==t.MSPOINTER_TYPE_MOUSE){if(!(Nt.indexOf(t.target.tagName)<0))return;Di(t)}qt(t,i)});t["_leaflet_touchstart"+e]=n,t.addEventListener(At,n,!1),jt||(document.documentElement.addEventListener(At,Ft,!0),document.documentElement.addEventListener(It,Ut,!0),document.documentElement.addEventListener(Ot,Vt,!0),document.documentElement.addEventListener(Rt,Vt,!0),jt=!0)}(t,e,n):"touchmove"===i?function(t,i,e){var n=function(t){(t.pointerType!==t.MSPOINTER_TYPE_MOUSE&&"mouse"!==t.pointerType||0!==t.buttons)&&qt(t,i)};t["_leaflet_touchmove"+e]=n,t.addEventListener(It,n,!1)}(t,e,n):"touchend"===i&&function(t,i,e){var n=function(t){qt(t,i)};t["_leaflet_touchend"+e]=n,t.addEventListener(Ot,n,!1),t.addEventListener(Rt,n,!1)}(t,e,n),this}function Ft(t){Dt[t.pointerId]=t,Wt++}function Ut(t){Dt[t.pointerId]&&(Dt[t.pointerId]=t)}function Vt(t){delete Dt[t.pointerId],Wt--}function qt(t,i){for(var e in t.touches=[],Dt)t.touches.push(Dt[e]);t.changedTouches=[t],i(t)}var Gt=Lt?"MSPointerDown":bt?"pointerdown":"touchstart",Kt=Lt?"MSPointerUp":bt?"pointerup":"touchend",Yt="_leaflet_";function Xt(t,o,i){var s,r,a=!1;function e(t){var i;if(bt){if(!nt||"mouse"===t.pointerType)return;i=Wt}else i=t.touches.length;if(!(1<i)){var e=Date.now(),n=e-(s||e);r=t.touches?t.touches[0]:t,a=0<n&&n<=250,s=e}}function n(t){if(a&&!r.cancelBubble){if(bt){if(!nt||"mouse"===t.pointerType)return;var i,e,n={};for(e in r)i=r[e],n[e]=i&&i.bind?i.bind(r):i;r=n}r.type="dblclick",r.button=0,o(r),s=null}}return t[Yt+Gt+i]=e,t[Yt+Kt+i]=n,t[Yt+"dblclick"+i]=o,t.addEventListener(Gt,e,!1),t.addEventListener(Kt,n,!1),t.addEventListener("dblclick",o,!1),this}function Jt(t,i){var e=t[Yt+Gt+i],n=t[Yt+Kt+i],o=t[Yt+"dblclick"+i];return t.removeEventListener(Gt,e,!1),t.removeEventListener(Kt,n,!1),nt||t.removeEventListener("dblclick",o,!1),this}var $t,Qt,ti,ii,ei,ni=yi(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),oi=yi(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),si="webkitTransition"===oi||"OTransition"===oi?oi+"End":"transitionend";function ri(t){return"string"==typeof t?document.getElementById(t):t}function ai(t,i){var e=t.style[i]||t.currentStyle&&t.currentStyle[i];if((!e||"auto"===e)&&document.defaultView){var n=document.defaultView.getComputedStyle(t,null);e=n?n[i]:null}return"auto"===e?null:e}function hi(t,i,e){var n=document.createElement(t);return n.className=i||"",e&&e.appendChild(n),n}function ui(t){var i=t.parentNode;i&&i.removeChild(t)}function li(t){for(;t.firstChild;)t.removeChild(t.firstChild)}function ci(t){var i=t.parentNode;i&&i.lastChild!==t&&i.appendChild(t)}function _i(t){var i=t.parentNode;i&&i.firstChild!==t&&i.insertBefore(t,i.firstChild)}function di(t,i){if(void 0!==t.classList)return t.classList.contains(i);var e=gi(t);return 0<e.length&&new RegExp("(^|\\s)"+i+"(\\s|$)").test(e)}function pi(t,i){if(void 0!==t.classList)for(var e=d(i),n=0,o=e.length;n<o;n++)t.classList.add(e[n]);else if(!di(t,i)){var s=gi(t);fi(t,(s?s+" ":"")+i)}}function mi(t,i){void 0!==t.classList?t.classList.remove(i):fi(t,_((" "+gi(t)+" ").replace(" "+i+" "," ")))}function fi(t,i){void 0===t.className.baseVal?t.className=i:t.className.baseVal=i}function gi(t){return t.correspondingElement&&(t=t.correspondingElement),void 0===t.className.baseVal?t.className:t.className.baseVal}function vi(t,i){"opacity"in t.style?t.style.opacity=i:"filter"in t.style&&function(t,i){var e=!1,n="DXImageTransform.Microsoft.Alpha";try{e=t.filters.item(n)}catch(t){if(1===i)return}i=Math.round(100*i),e?(e.Enabled=100!==i,e.Opacity=i):t.style.filter+=" progid:"+n+"(opacity="+i+")"}(t,i)}function yi(t){for(var i=document.documentElement.style,e=0;e<t.length;e++)if(t[e]in i)return t[e];return!1}function xi(t,i,e){var n=i||new B(0,0);t.style[ni]=(ft?"translate("+n.x+"px,"+n.y+"px)":"translate3d("+n.x+"px,"+n.y+"px,0)")+(e?" scale("+e+")":"")}function wi(t,i){t._leaflet_pos=i,yt?xi(t,i):(t.style.left=i.x+"px",t.style.top=i.y+"px")}function Pi(t){return t._leaflet_pos||new B(0,0)}if("onselectstart"in document)$t=function(){Ei(window,"selectstart",Di)},Qt=function(){Bi(window,"selectstart",Di)};else{var Li=yi(["userSelect","WebkitUserSelect","OUserSelect","MozUserSelect","msUserSelect"]);$t=function(){if(Li){var t=document.documentElement.style;ti=t[Li],t[Li]="none"}},Qt=function(){Li&&(document.documentElement.style[Li]=ti,ti=void 0)}}function bi(){Ei(window,"dragstart",Di)}function Ti(){Bi(window,"dragstart",Di)}function zi(t){for(;-1===t.tabIndex;)t=t.parentNode;t.style&&(Mi(),ei=(ii=t).style.outline,t.style.outline="none",Ei(window,"keydown",Mi))}function Mi(){ii&&(ii.style.outline=ei,ei=ii=void 0,Bi(window,"keydown",Mi))}function Ci(t){for(;!((t=t.parentNode).offsetWidth&&t.offsetHeight||t===document.body););return t}function Si(t){var i=t.getBoundingClientRect();return{x:i.width/t.offsetWidth||1,y:i.height/t.offsetHeight||1,boundingClientRect:i}}var Zi=(Object.freeze||Object)({TRANSFORM:ni,TRANSITION:oi,TRANSITION_END:si,get:ri,getStyle:ai,create:hi,remove:ui,empty:li,toFront:ci,toBack:_i,hasClass:di,addClass:pi,removeClass:mi,setClass:fi,getClass:gi,setOpacity:vi,testProp:yi,setTransform:xi,setPosition:wi,getPosition:Pi,disableTextSelection:$t,enableTextSelection:Qt,disableImageDrag:bi,enableImageDrag:Ti,preventOutline:zi,restoreOutline:Mi,get
1536SizedParentNode:Ci,getScale:Si});function Ei(t,i,e,n){if("object"==typeof i)for(var o in i)Ai(t,o,i[o],e);else for(var s=0,r=(i=d(i)).length;s<r;s++)Ai(t,i[s],e,n);return this}var ki="_leaflet_events";function Bi(t,i,e,n){if("object"==typeof i)for(var o in i)Ii(t,o,i[o],e);else if(i)for(var s=0,r=(i=d(i)).length;s<r;s++)Ii(t,i[s],e,n);else{for(var a in t[ki])Ii(t,a,t[ki][a]);delete t[ki]}return this}function Ai(i,t,e,n){var o=t+u(e)+(n?"_"+u(n):"");if(i[ki]&&i[ki][o])return this;var s=function(t){return e.call(n||i,t||window.event)},r=s;bt&&0===t.indexOf("touch")?Ht(i,t,s,o):!Tt||"dblclick"!==t||bt&&lt?"addEventListener"in i?"mousewheel"===t?i.addEventListener("onwheel"in i?"wheel":"mousewheel",s,!1):"mouseenter"===t||"mouseleave"===t?(s=function(t){t=t||window.event,Ki(i,t)&&r(t)},i.addEventListener("mouseenter"===t?"mouseover":"mouseout",s,!1)):("click"===t&&st&&(s=function(t){!function(t,i){var e=t.timeStamp||t.originalEvent&&t.originalEvent.timeStamp,n=Ui&&e-Ui;if(n&&100<n&&n<500||t.target._simulatedClick&&!t._simulated)return ji(t);Ui=e,i(t)}(t,r)}),i.addEventListener(t,s,!1)):"attachEvent"in i&&i.attachEvent("on"+t,s):Xt(i,s,o),i[ki]=i[ki]||{},i[ki][o]=s}function Ii(t,i,e,n){var o=i+u(e)+(n?"_"+u(n):""),s=t[ki]&&t[ki][o];if(!s)return this;bt&&0===i.indexOf("touch")?function(t,i,e){var n=t["_leaflet_"+i+e];"touchstart"===i?t.removeEventListener(At,n,!1):"touchmove"===i?t.removeEventListener(It,n,!1):"touchend"===i&&(t.removeEventListener(Ot,n,!1),t.removeEventListener(Rt,n,!1))}(t,i,o):!Tt||"dblclick"!==i||bt&&lt?"removeEventListener"in t?"mousewheel"===i?t.removeEventListener("onwheel"in t?"wheel":"mousewheel",s,!1):t.removeEventListener("mouseenter"===i?"mouseover":"mouseleave"===i?"mouseout":i,s,!1):"detachEvent"in t&&t.detachEvent("on"+i,s):Jt(t,o),t[ki][o]=null}function Oi(t){return t.stopPropagation?t.stopPropagation():t.originalEvent?t.originalEvent._stopped=!0:t.cancelBubble=!0,Gi(t),this}function Ri(t){return Ai(t,"mousewheel",Oi),this}function Ni(t){return Ei(t,"mousedown touchstart dblclick",Oi),Ai(t,"click",qi),this}function Di(t){return t.preventDefault?t.preventDefault():t.returnValue=!1,this}function ji(t){return Di(t),Oi(t),this}function Wi(t,i){if(!i)return new B(t.clientX,t.clientY);var e=Si(i),n=e.boundingClientRect;return new B((t.clientX-n.left)/e.x-i.clientLeft,(t.clientY-n.top)/e.y-i.clientTop)}var Hi=mt&&lt?2*window.devicePixelRatio:ct?window.devicePixelRatio:1;function Fi(t){return nt?t.wheelDeltaY/2:t.deltaY&&0===t.deltaMode?-t.deltaY/Hi:t.deltaY&&1===t.deltaMode?20*-t.deltaY:t.deltaY&&2===t.deltaMode?60*-t.deltaY:t.deltaX||t.deltaZ?0:t.wheelDelta?(t.wheelDeltaY||t.wheelDelta)/2:t.detail&&Math.abs(t.detail)<32765?20*-t.detail:t.detail?t.detail/-32765*60:0}var Ui,Vi={};function qi(t){Vi[t.type]=!0}function Gi(t){var i=Vi[t.type];return Vi[t.type]=!1,i}function Ki(t,i){var e=i.relatedTarget;if(!e)return!0;try{for(;e&&e!==t;)e=e.parentNode}catch(t){return!1}return e!==t}var Yi=(Object.freeze||Object)({on:Ei,off:Bi,stopPropagation:Oi,disableScrollPropagation:Ri,disableClickPropagation:Ni,preventDefault:Di,stop:ji,getMousePosition:Wi,getWheelDelta:Fi,fakeStop:qi,skipped:Gi,isExternalTarget:Ki,addListener:Ei,removeListener:Bi}),Xi=k.extend({run:function(t,i,e,n){this.stop(),this._el=t,this._inProgress=!0,this._duration=e||.25,this._easeOutPower=1/Math.max(n||.5,.2),this._startPos=Pi(t),this._offset=i.subtract(this._startPos),this._startTime=+new Date,this.fire("start"),this._animate()},stop:function(){this._inProgress&&(this._step(!0),this._complete())},_animate:function(){this._animId=M(this._animate,this),this._step()},_step:function(t){var i=+new Date-this._startTime,e=1e3*this._duration;i<e?this._runFrame(this._easeOut(i/e),t):(this._runFrame(1),this._complete())},_runFrame:function(t,i){var e=this._startPos.add(this._offset.multiplyBy(t));i&&e._round(),wi(this._el,e),this.fire("step")},_complete:function(){C(this._animId),this._inProgress=!1,this.fire("end")},_easeOut:function(t){return 1-Math.pow(1-t,this._easeOutPower)}}),Ji=k.extend({options:{crs:X,center:void 0,zoom:void 0,minZoom:void 0,maxZoom:void 0,layers:[],maxBounds:void 0,renderer:void 0,zoomAnimation:!0,zoomAnimationThreshold:4,fadeAnimation:!0,markerZoomAnimation:!0,transform3DLimit:8388608,zoomSnap:1,zoomDelta:1,trackResize:!0},initialize:function(t,i){i=p(this,i),this._handlers=[],this._layers={},this._zoomBoundLayers={},this._sizeChanged=!0,this._initContainer(t),this._initLayout(),this._onResize=a(this._onResize,this),this._initEvents(),i.maxBounds&&this.setMaxBounds(i.maxBounds),void 0!==i.zoom&&(this._zoom=this._limitZoom(i.zoom)),i.center&&void 0!==i.zoom&&this.setView(W(i.center),i.zoom,{reset:!0}),this.callInitHooks(),this._zoomAnimated=oi&&yt&&!zt&&this.options.zoomAnimation,this._zoomAnimated&&(this._createAnimProxy(),Ei(this._proxy,si,this._catchTransitionEnd,this)),this._addLayers(this.options.layers)}
vendor: 3,291 bytes, line 1536
1536,setView:function(t,i,e){if((i=void 0===i?this._zoom:this._limitZoom(i),t=this._limitCenter(W(t),i,this.options.maxBounds),e=e||{},this._stop(),this._loaded&&!e.reset&&!0!==e)&&(void 0!==e.animate&&(e.zoom=h({animate:e.animate},e.zoom),e.pan=h({animate:e.animate,duration:e.duration},e.pan)),this._zoom!==i?this._tryAnimatedZoom&&this._tryAnimatedZoom(t,i,e.zoom):this._tryAnimatedPan(t,e.pan)))return clearTimeout(this._sizeTimer),this;return this._resetView(t,i),this},setZoom:function(t,i){return this._loaded?this.setView(this.getCenter(),t,{zoom:i}):(this._zoom=t,this)},zoomIn:function(t,i){return t=t||(yt?this.options.zoomDelta:1),this.setZoom(this._zoom+t,i)},zoomOut:function(t,i){return t=t||(yt?this.options.zoomDelta:1),this.setZoom(this._zoom-t,i)},setZoomAround:function(t,i,e){var n=this.getZoomScale(i),o=this.getSize().divideBy(2),s=(t instanceof B?t:this.latLngToContainerPoint(t)).subtract(o).multiplyBy(1-1/n),r=this.containerPointToLatLng(o.add(s));return this.setView(r,i,{zoom:e})},_getBoundsCenterZoom:function(t,i){i=i||{},t=t.getBounds?t.getBounds():D(t);var e=I(i.paddingTopLeft||i.padding||[0,0]),n=I(i.paddingBottomRight||i.padding||[0,0]),o=this.getBoundsZoom(t,!1,e.add(n));if((o="number"==typeof i.maxZoom?Math.min(i.maxZoom,o):o)===1/0)return{center:t.getCenter(),zoom:o};var s=n.subtract(e).divideBy(2),r=this.project(t.getSouthWest(),o),a=this.project(t.getNorthEast(),o);return{center:this.unproject(r.add(a).divideBy(2).add(s),o),zoom:o}},fitBounds:function(t,i){if(!(t=D(t)).isValid())throw new Error("Bounds are not valid.");var e=this._getBoundsCenterZoom(t,i);return this.setView(e.center,e.zoom,i)},fitWorld:function(t){return this.fitBounds([[-90,-180],[90,180]],t)},panTo:function(t,i){return this.setView(t,this._zoom,{pan:i})},panBy:function(t,i){if(i=i||{},!(t=I(t).round()).x&&!t.y)return this.fire("moveend");if(!0!==i.animate&&!this.getSize().contains(t))return this._resetView(this.unproject(this.project(this.getCenter()).add(t)),this.getZoom()),this;if(this._panAnim||(this._panAnim=new Xi,this._panAnim.on({step:this._onPanTransitionStep,end:this._onPanTransitionEnd},this)),i.noMoveStart||this.fire("movestart"),!1!==i.animate){pi(this._mapPane,"leaflet-pan-anim");var e=this._getMapPanePos().subtract(t).round();this._panAnim.run(this._mapPane,e,i.duration||.25,i.easeLinearity)}else this._rawPanBy(t),this.fire("move").fire("moveend");return this},flyTo:function(n,o,t){if(!1===(t=t||{}).animate||!yt)return this.setView(n,o,t);this._stop();var s=this.project(this.getCenter()),r=this.project(n),i=this.getSize(),a=this._zoom;n=W(n),o=void 0===o?a:o;var h=Math.max(i.x,i.y),u=h*this.getZoomScale(a,o),l=r.distanceTo(s)||1,c=1.42,_=c*c;function e(t){var i=(u*u-h*h+(t?-1:1)*_*_*l*l)/(2*(t?u:h)*_*l),e=Math.sqrt(i*i+1)-i;return e<1e-9?-18:Math.log(e)}function d(t){return(Math.exp(t)-Math.exp(-t))/2}function p(t){return(Math.exp(t)+Math.exp(-t))/2}var m=e(0);function f(t){return h*(p(m)*function(t){return d(t)/p(t)}(m+c*t)-d(m))/_}var g=Date.now(),v=(e(1)-m)/c,y=t.duration?1e3*t.duration:1e3*v*.8;return this._moveStart(!0,t.noMoveStart),function t(){var i=(Date.now()-g)/y,e=function(t){return 1-Math.pow(1-t,1.5)}(i)*v;i<=1?(this._flyToFrame=M(t,this),this._move(this.unproject(s.add(r.subtract(s).multiplyBy(f(e)/l)),a),this.get
vendor: 12,945 bytes, line 1536
1536ScaleZoom(h/function(t){return h*(p(m)/p(m+c*t))}(e),a),{flyTo:!0})):this._move(n,o)._moveEnd(!0)}.call(this),this},flyToBounds:function(t,i){var e=this._getBoundsCenterZoom(t,i);return this.flyTo(e.center,e.zoom,i)},setMaxBounds:function(t){return(t=D(t)).isValid()?(this.options.maxBounds&&this.off("moveend",this._panInsideMaxBounds),this.options.maxBounds=t,this._loaded&&this._panInsideMaxBounds(),this.on("moveend",this._panInsideMaxBounds)):(this.options.maxBounds=null,this.off("moveend",this._panInsideMaxBounds))},setMinZoom:function(t){var i=this.options.minZoom;return this.options.minZoom=t,this._loaded&&i!==t&&(this.fire("zoomlevelschange"),this.getZoom()<this.options.minZoom)?this.setZoom(t):this},setMaxZoom:function(t){var i=this.options.maxZoom;return this.options.maxZoom=t,this._loaded&&i!==t&&(this.fire("zoomlevelschange"),this.getZoom()>this.options.maxZoom)?this.setZoom(t):this},panInsideBounds:function(t,i){this._enforcingBounds=!0;var e=this.getCenter(),n=this._limitCenter(e,this._zoom,D(t));return e.equals(n)||this.panTo(n,i),this._enforcingBounds=!1,this},panInside:function(t,i){var e=I((i=i||{}).paddingTopLeft||i.padding||[0,0]),n=I(i.paddingBottomRight||i.padding||[0,0]),o=this.getCenter(),s=this.project(o),r=this.project(t),a=this.getPixelBounds(),h=a.getSize().divideBy(2),u=R([a.min.add(e),a.max.subtract(n)]);if(!u.contains(r)){this._enforcingBounds=!0;var l=s.subtract(r),c=I(r.x+l.x,r.y+l.y);(r.x<u.min.x||r.x>u.max.x)&&(c.x=s.x-l.x,0<l.x?c.x+=h.x-e.x:c.x-=h.x-n.x),(r.y<u.min.y||r.y>u.max.y)&&(c.y=s.y-l.y,0<l.y?c.y+=h.y-e.y:c.y-=h.y-n.y),this.panTo(this.unproject(c),i),this._enforcingBounds=!1}return this},invalidateSize:function(t){if(!this._loaded)return this;t=h({animate:!1,pan:!0},!0===t?{animate:!0}:t);var i=this.getSize();this._sizeChanged=!0,this._lastCenter=null;var e=this.getSize(),n=i.divideBy(2).round(),o=e.divideBy(2).round(),s=n.subtract(o);return s.x||s.y?(t.animate&&t.pan?this.panBy(s):(t.pan&&this._rawPanBy(s),this.fire("move"),t.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(a(this.fire,this,"moveend"),200)):this.fire("moveend")),this.fire("resize",{oldSize:i,newSize:e})):this},stop:function(){return this.setZoom(this._limitZoom(this._zoom)),this.options.zoomSnap||this.fire("viewreset"),this._stop()},locate:function(t){if(t=this._locateOptions=h({timeout:1e4,watch:!1},t),!("geolocation"in navigator))return this._handleGeolocationError({code:0,message:"Geolocation not supported."}),this;var i=a(this._handleGeolocationResponse,this),e=a(this._handleGeolocationError,this);return t.watch?this._locationWatchId=navigator.geolocation.watchPosition(i,e,t):navigator.geolocation.getCurrentPosition(i,e,t),this},stopLocate:function(){return navigator.geolocation&&navigator.geolocation.clearWatch&&navigator.geolocation.clearWatch(this._locationWatchId),this._locateOptions&&(this._locateOptions.setView=!1),this},_handleGeolocationError:function(t){var i=t.code,e=t.message||(1===i?"permission denied":2===i?"position unavailable":"timeout");this._locateOptions.setView&&!this._loaded&&this.fitWorld(),this.fire("locationerror",{code:i,message:"Geolocation error: "+e+"."})},_handleGeolocationResponse:function(t){var i=new j(t.coords.latitude,t.coords.longitude),e=i.toBounds(2*t.coords.accuracy),n=this._locateOptions;if(n.setView){var o=this.getBoundsZoom(e);this.setView(i,n.maxZoom?Math.min(o,n.maxZoom):o)}var s={latlng:i,bounds:e,timestamp:t.timestamp};for(var r in t.coords)"number"==typeof t.coords[r]&&(s[r]=t.coords[r]);this.fire("locationfound",s)},addHandler:function(t,i){if(!i)return this;var e=this[t]=new i(this);return this._handlers.push(e),this.options[t]&&e.enable(),this},remove:function(){if(this._initEvents(!0),this._containerId!==this._container._leaflet_id)throw new Error("Map container is being reused by another instance");try{delete this._container._leaflet_id,delete this._containerId}catch(t){this._container._leaflet_id=void 0,this._containerId=void 0}var t;for(t in void 0!==this._locationWatchId&&this.stopLocate(),this._stop(),ui(this._mapPane),this._clearControlPos&&this._clearControlPos(),this._resizeRequest&&(C(this._resizeRequest),this._resizeRequest=null),this._clearHandlers(),this._loaded&&this.fire("unload"),this._layers)this._layers[t].remove();for(t in this._panes)ui(this._panes[t]);return this._layers=[],this._panes=[],delete this._mapPane,delete this._renderer,this},createPane:function(t,i){var e=hi("div","leaflet-pane"+(t?" leaflet-"+t.replace("Pane","")+"-pane":""),i||this._mapPane);return t&&(this._panes[t]=e),e},getCenter:function(){return this._checkIfLoaded(),this._lastCenter&&!this._moved()?this._lastCenter:this.layerPointToLatLng(this._getCenterLayerPoint())},getZoom:function(){return this._zoom},getBounds:function(){var t=this.getPixelBounds();return new N(this.unproject(t.getBottomLeft()),this.unproject(t.getTopRight()))},getMinZoom:function(){return void 0===this.options.minZoom?this._layersMinZoom||0:this.options.minZoom},getMaxZoom:function(){return void 0===this.options.maxZoom?void 0===this._layersMaxZoom?1/0:this._layersMaxZoom:this.options.maxZoom},getBoundsZoom:function(t,i,e){t=D(t),e=I(e||[0,0]);var n=this.getZoom()||0,o=this.getMinZoom(),s=this.getMaxZoom(),r=t.getNorthWest(),a=t.getSouthEast(),h=this.getSize().subtract(e),u=R(this.project(a,n),this.project(r,n)).getSize(),l=yt?this.options.zoomSnap:1,c=h.x/u.x,_=h.y/u.y,d=i?Math.max(c,_):Math.min(c,_);return n=this.getScaleZoom(d,n),l&&(n=Math.round(n/(l/100))*(l/100),n=i?Math.ceil(n/l)*l:Math.floor(n/l)*l),Math.max(o,Math.min(s,n))},getSize:function(){return this._size&&!this._sizeChanged||(this._size=new B(this._container.clientWidth||0,this._container.clientHeight||0),this._sizeChanged=!1),this._size.clone()},getPixelBounds:function(t,i){var e=this._getTopLeftPoint(t,i);return new O(e,e.add(this.getSize()))},getPixelOrigin:function(){return this._checkIfLoaded(),this._pixelOrigin},getPixelWorldBounds:function(t){return this.options.crs.getProjectedBounds(void 0===t?this.getZoom():t)},getPane:function(t){return"string"==typeof t?this._panes[t]:t},getPanes:function(){return this._panes},getContainer:function(){return this._container},getZoomScale:function(t,i){var e=this.options.crs;return i=void 0===i?this._zoom:i,e.scale(t)/e.scale(i)},getScaleZoom:function(t,i){var e=this.options.crs;i=void 0===i?this._zoom:i;var n=e.zoom(t*e.scale(i));return isNaN(n)?1/0:n},project:function(t,i){return i=void 0===i?this._zoom:i,this.options.crs.latLngToPoint(W(t),i)},unproject:function(t,i){return i=void 0===i?this._zoom:i,this.options.crs.pointToLatLng(I(t),i)},layerPointToLatLng:function(t){var i=I(t).add(this.getPixelOrigin());return this.unproject(i)},latLngToLayerPoint:function(t){return this.project(W(t))._round()._subtract(this.getPixelOrigin())},wrapLatLng:function(t){return this.options.crs.wrapLatLng(W(t))},wrapLatLngBounds:function(t){return this.options.crs.wrapLatLngBounds(D(t))},distance:function(t,i){return this.options.crs.distance(W(t),W(i))},containerPointToLayerPoint:function(t){return I(t).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(t){return I(t).add(this._getMapPanePos())},containerPointToLatLng:function(t){var i=this.containerPointToLayerPoint(I(t));return this.layerPointToLatLng(i)},latLngToContainerPoint:function(t){return this.layerPointToContainerPoint(this.latLngToLayerPoint(W(t)))},mouseEventToContainerPoint:function(t){return Wi(t,this._container)},mouseEventToLayerPoint:function(t){return this.containerPointToLayerPoint(this.mouseEventToContainerPoint(t))},mouseEventToLatLng:function(t){return this.layerPointToLatLng(this.mouseEventToLayerPoint(t))},_initContainer:function(t){var i=this._container=ri(t);if(!i)throw new Error("Map container not found.");if(i._leaflet_id)throw new Error("Map container is already initialized.");Ei(i,"scroll",this._onScroll,this),this._containerId=u(i)},_initLayout:function(){var t=this._container;this._fadeAnimated=this.options.fadeAnimation&&yt,pi(t,"leaflet-container"+(Tt?" leaflet-touch":"")+(Ct?" leaflet-retina":"")+(et?" leaflet-oldie":"")+(_t?" leaflet-safari":"")+(this._fadeAnimated?" leaflet-fade-anim":""));var i=ai(t,"position");"absolute"!==i&&"relative"!==i&&"fixed"!==i&&(t.style.position="relative"),this._initPanes(),this._initControlPos&&this._initControlPos()},_initPanes:function(){var t=this._panes={};this._paneRenderers={},this._mapPane=this.createPane("mapPane",this._container),wi(this._mapPane,new B(0,0)),this.createPane("tilePane"),this.createPane("shadowPane"),this.createPane("overlayPane"),this.createPane("markerPane"),this.createPane("tooltipPane"),this.createPane("popupPane"),this.options.markerZoomAnimation||(pi(t.markerPane,"leaflet-zoom-hide"),pi(t.shadowPane,"leaflet-zoom-hide"))},_resetView:function(t,i){wi(this._mapPane,new B(0,0));var e=!this._loaded;this._loaded=!0,i=this._limitZoom(i),this.fire("viewprereset");var n=this._zoom!==i;this._moveStart(n,!1)._move(t,i)._moveEnd(n),this.fire("viewreset"),e&&this.fire("load")},_moveStart:function(t,i){return t&&this.fire("zoomstart"),i||this.fire("movestart"),this},_move:function(t,i,e){void 0===i&&(i=this._zoom);var n=this._zoom!==i;return this._zoom=i,this._lastCenter=t,this._pixelOrigin=this._getNewPixelOrigin(t),(n||e&&e.pinch)&&this.fire("zoom",e),this.fire("move",e)},_moveEnd:function(t){return t&&this.fire("zoomend"),this.fire("moveend")},_stop:function(){return C(this._flyToFrame),this._panAnim&&this._panAnim.stop(),this},_rawPanBy:function(t){wi(this._mapPane,this._getMapPanePos().subtract(t))},_getZoomSpan:function(){return this.getMaxZoom()-this.getMinZoom()},_panInsideMaxBounds:function(){this._enforcingBounds||this.panInsideBounds(this.options.maxBounds)},_checkIfLoaded:function(){if(!this._loaded)throw new Error("Set map center and zoom first.")},_initEvents:function(t){this._targets={};var i=t?Bi:Ei;i((this._targets[u(this._container)]=this)._container,"click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup",this._handleDOMEvent,this),this.options.trackResize&&i(window,"resize",this._onResize,this),yt&&this.options.transform3DLimit&&(t?this.off:this.on).call(this,"moveend",this._onMoveEnd)},_onResize:function(){C(this._resizeRequest),this._resizeRequest=M(function(){this.invalidateSize({debounceMoveend:!0})},this)},_onScroll:function(){this._container.scrollTop=0,this._container.scrollLeft=0},_onMoveEnd:function(){var t=this._getMapPanePos();Math.max(Math.abs(t.x),Math.abs(t.y))>=this.options.transform3DLimit&&this._resetView(this.getCenter(),this.getZoom())},_findEventTargets:function(t,i){for(var e,n=[],o="mouseout"===i||"mouseover"===i,s=t.target||t.srcElement,r=!1;s;){if((e=this._targets[u(s)])&&("click"===i||"preclick"===i)&&!t._simulated&&this._draggableMoved(e)){r=!0;break}if(e&&e.listens(i,!0)){if(o&&!Ki(s,t))break;if(n.push(e),o)break}if(s===this._container)break;s=s.parentNode}return n.length||r||o||!Ki(s,t)||(n=[this]),n},_handleDOMEvent:function(t){if(this._loaded&&!Gi(t)){var i=t.type;"mousedown"!==i&&"keypress"!==i&&"keyup"!==i&&"keydown"!==i||zi(t.target||t.srcElement),this._fireDOMEvent(t,i)}},_mouseEvents:["click","dblclick","mouseover","mouseout","contextmenu"],_fireDOMEvent:function(t,i,e){if("click"===t.type){var n=h({},t);n.type="preclick",this._fireDOMEvent(n,n.type,e)}if(!t._stopped&&(e=(e||[]).concat(this._findEventTargets(t,i))).length){var o=e[0];"contextmenu"===i&&o.listens(i,!0)&&Di(t);var s={originalEvent:t};if("keypress"!==t.type&&"keydown"!==t.type&&"keyup"!==t.type){var r=o.getLatLng&&(!o._radius||o._radius<=10);s.containerPoint=r?this.latLngToContainerPoint(o.getLatLng()):this.mouseEventToContainerPoint(t),s.layerPoint=this.containerPointToLayerPoint(s.containerPoint),s.latlng=r?o.getLatLng():this.layerPointToLatLng(s.layerPoint)}for(var a=0;a<e.length;a++)if(e[a].fire(i,s,!0),s.originalEvent._stopped||!1===e[a].options.bubblingMouseEvents&&-1!==y(this._mouseEvents,i))return}},_draggableMoved:function(t){return(t=t.dragging&&t.dragging.enabled()?t:this).dragging&&t.dragging.moved()||this.boxZoom&&this.boxZoom.moved()},_clearHandlers:function(){for(var t=0,i=this._handlers.length;t<i;t++)this._handlers[t].disable()},whenReady:function(t,i){return this._loaded?t.call(i||this,{target:this}):this.on("load",t,i),this},_getMapPanePos:function(){return Pi(this._mapPane)||new B(0,0)},_moved:function(){var t=this._getMapPanePos();return t&&!t.equals([0,0])},_getTopLeftPoint:function(t,i){return(t&&void 0!==i?this._getNewPixelOrigin(t,i):this.getPixelOrigin()).subtract(this._getMapPanePos())},_getNewPixelOrigin:function(t,i){var e=this.getSize()._divideBy(2);return this.project(t,i)._subtract(e)._add(this._getMapPanePos())._round()},_latLngToNewLayerPoint:function(t,i,e){var n=this._getNewPixelOrigin(e,i);return this.project(t,i)._subtract(n)},_latLngBoundsToNewLayerBounds:function(t,i,e){var n=this._getNewPixelOrigin(e,i);
1536return R([this.project(t.getSouthWest(),i)._subtract(n),this.project(t.getNorthWest(),i)._subtract(n),this.project(t.getSouthEast(),i)._subtract(n),this.project(t.getNorthEast(),i)._subtract(n)])},_getCenterLayerPoint:function(){return this.containerPointToLayerPoint(this.getSize()._divideBy(2))},_getCenterOffset:function(t){return this.latLngToLayerPoint(t).subtract(this._getCenterLayerPoint())},_limitCenter:function(t,i,e){if(!e)return t;var n=this.project(t,i),o=this.getSize().divideBy(2),s=new O(n.subtract(o),n.add(o)),r=this._getBoundsOffset(s,e,i);return r.round().equals([0,0])?t:this.unproject(n.add(r),i)},_limitOffset:function(t,i){if(!i)return t;var e=this.getPixelBounds(),n=new O(e.min.add(t),e.max.add(t));return t.add(this._getBoundsOffset(n,i))},_getBoundsOffset:function(t,i,e){var n=R(this.project(i.getNorthEast(),e),this.project(i.getSouthWest(),e)),o=n.min.subtract(t.min),s=n.max.subtract(t.max);return new B(this._rebound(o.x,-s.x),this._rebound(o.y,-s.y))},_rebound:function(t,i){return 0<t+i?Math.round(t-i)/2:Math.max(0,Math.ceil(t))-Math.max(0,Math.floor(i))},_limitZoom:function(t){var i=this.getMinZoom(),e=this.getMaxZoom(),n=yt?this.options.zoomSnap:1;return n&&(t=Math.round(t/n)*n),Math.max(i,Math.min(e,t))},_onPanTransitionStep:function(){this.fire("move")},_onPanTransitionEnd:function(){mi(this._mapPane,"leaflet-pan-anim"),this.fire("moveend")},_tryAnimatedPan:function(t,i){var e=this._getCenterOffset(t)._trunc();return!(!0!==(i&&i.animate)&&!this.getSize().contains(e))&&(this.panBy(e,i),!0)},_createAnimProxy:function(){var t=this._proxy=hi("div","leaflet-proxy leaflet-zoom-animated");this._panes.mapPane.appendChild(t),this.on("zoomanim",function(t){var i=ni,e=this._proxy.style[i];xi(this._proxy,this.project(t.center,t.zoom),this.getZoomScale(t.zoom,1)),e===this._proxy.style[i]&&this._animatingZoom&&this._onZoomTransitionEnd()},this),this.on("load moveend",function(){var t=this.getCenter(),i=this.getZoom();xi(this._proxy,this.project(t,i),this.getZoomScale(i,1))},this),this._on("unload",this._destroyAnimProxy,this)},_destroyAnimProxy:function(){ui(this._proxy),delete this._proxy},_catchTransitionEnd:function(t){this._animatingZoom&&0<=t.propertyName.indexOf("transform")&&this._onZoomTransitionEnd()},_nothingToAnimate:function(){return!this._container.getElementsByClassName("leaflet-zoom-animated").length},_tryAnimatedZoom:function(t,i,e){if(this._animatingZoom)return!0;if(e=e||{},!this._zoomAnimated||!1===e.animate||this._nothingToAnimate()||Math.abs(i-this._zoom)>this.options.zoomAnimationThreshold)return!1;var n=this.getZoomScale(i),o=this._getCenterOffset(t)._divideBy(1-1/n);return!(!0!==e.animate&&!this.getSize().contains(o))&&(M(function(){this._moveStart(!0,!1)._animateZoom(t,i,!0)},this),!0)},_animateZoom:function(t,i,e,n){this._mapPane&&(e&&(this._animatingZoom=!0,this._animateToCenter=t,this._animateToZoom=i,pi(this._mapPane,"leaflet-zoom-anim")),this.fire("zoomanim",{center:t,zoom:i,noUpdate:n}),setTimeout(a(this._onZoomTransitionEnd,this),250))},_onZoomTransitionEnd:function(){this._animatingZoom&&(this._mapPane&&mi(this._mapPane,"leaflet-zoom-anim"),this._animatingZoom=!1,this._move(this._animateToCenter,this._animateToZoom),M(function(){this._moveEnd(!0)},this))}});function $i(t){return new Qi(t)}var Qi=Z.extend({options:{position:"topright"},initialize:function(t){p(this,t)},getPosition:function(){return this.options.position},setPosition:function(t){var i=this._map;return i&&i.removeControl(this),this.options.position=t,i&&i.addControl(this),this},getContainer:function(){return this._container},addTo:function(t){this.remove(),this._map=t;var i=this._container=this.onAdd(t),e=this.getPosition(),n=t._controlCorners[e];return pi(i,"leaflet-control"),-1!==e.indexOf("bottom")?n.insertBefore(i,n.firstChild):n.appendChild(i),this._map.on("unload",this.remove,this),this},remove:function(){return this._map&&(ui(this._container),this.onRemove&&this.onRemove(this._map),this._map.off("unload",this.remove,this),this._map=null),this},_refocusOnMap:function(t){this._map&&t&&0<t.screenX&&0<t.screenY&&this._map.getContainer().focus()}});Ji.include({addControl:function(t){return t.addTo(this),this},removeControl:function(t){return t.remove(),this}
vendor: 33,875 bytes, line 1536
1536,_initControlPos:function(){var n=this._controlCorners={},o="leaflet-",s=this._controlContainer=hi("div",o+"control-container",this._container);function t(t,i){var e=o+t+" "+o+i;n[t+i]=hi("div",e,s)}t("top","left"),t("top","right"),t("bottom","left"),t("bottom","right")},_clearControlPos:function(){for(var t in this._controlCorners)ui(this._controlCorners[t]);ui(this._controlContainer),delete this._controlCorners,delete this._controlContainer}});var te=Qi.extend({options:{collapsed:!0,position:"topright",autoZIndex:!0,hideSingleBase:!1,sortLayers:!1,sortFunction:function(t,i,e,n){return e<n?-1:n<e?1:0}},initialize:function(t,i,e){for(var n in p(this,e),this._layerControlInputs=[],this._layers=[],this._lastZIndex=0,this._handlingClick=!1,t)this._addLayer(t[n],n);for(n in i)this._addLayer(i[n],n,!0)},onAdd:function(t){this._initLayout(),this._update(),(this._map=t).on("zoomend",this._checkDisabledLayers,this);for(var i=0;i<this._layers.length;i++)this._layers[i].layer.on("add remove",this._onLayerChange,this);return this._container},addTo:function(t){return Qi.prototype.addTo.call(this,t),this._expandIfNotCollapsed()},onRemove:function(){this._map.off("zoomend",this._checkDisabledLayers,this);for(var t=0;t<this._layers.length;t++)this._layers[t].layer.off("add remove",this._onLayerChange,this)},addBaseLayer:function(t,i){return this._addLayer(t,i),this._map?this._update():this},addOverlay:function(t,i){return this._addLayer(t,i,!0),this._map?this._update():this},removeLayer:function(t){t.off("add remove",this._onLayerChange,this);var i=this._getLayer(u(t));return i&&this._layers.splice(this._layers.indexOf(i),1),this._map?this._update():this},expand:function(){pi(this._container,"leaflet-control-layers-expanded"),this._section.style.height=null;var t=this._map.getSize().y-(this._container.offsetTop+50);return t<this._section.clientHeight?(pi(this._section,"leaflet-control-layers-scrollbar"),this._section.style.height=t+"px"):mi(this._section,"leaflet-control-layers-scrollbar"),this._checkDisabledLayers(),this},collapse:function(){return mi(this._container,"leaflet-control-layers-expanded"),this},_initLayout:function(){var t="leaflet-control-layers",i=this._container=hi("div",t),e=this.options.collapsed;i.setAttribute("aria-haspopup",!0),Ni(i),Ri(i);var n=this._section=hi("section",t+"-list");e&&(this._map.on("click",this.collapse,this),st||Ei(i,{mouseenter:this.expand,mouseleave:this.collapse},this));var o=this._layersLink=hi("a",t+"-toggle",i);o.href="#",o.title="Layers",Tt?(Ei(o,"click",ji),Ei(o,"click",this.expand,this)):Ei(o,"focus",this.expand,this),e||this.expand(),this._baseLayersList=hi("div",t+"-base",n),this._separator=hi("div",t+"-separator",n),this._overlaysList=hi("div",t+"-overlays",n),i.appendChild(n)},_getLayer:function(t){for(var i=0;i<this._layers.length;i++)if(this._layers[i]&&u(this._layers[i].layer)===t)return this._layers[i]},_addLayer:function(t,i,e){this._map&&t.on("add remove",this._onLayerChange,this),this._layers.push({layer:t,name:i,overlay:e}),this.options.sortLayers&&this._layers.sort(a(function(t,i){return this.options.sortFunction(t.layer,i.layer,t.name,i.name)},this)),this.options.autoZIndex&&t.setZIndex&&(this._lastZIndex++,t.setZIndex(this._lastZIndex)),this._expandIfNotCollapsed()},_update:function(){if(!this._container)return this;li(this._baseLayersList),li(this._overlaysList),this._layerControlInputs=[];var t,i,e,n,o=0;for(e=0;e<this._layers.length;e++)n=this._layers[e],this._addItem(n),i=i||n.overlay,t=t||!n.overlay,o+=n.overlay?0:1;return this.options.hideSingleBase&&(t=t&&1<o,this._baseLayersList.style.display=t?"":"none"),this._separator.style.display=i&&t?"":"none",this},_onLayerChange:function(t){this._handlingClick||this._update();var i=this._getLayer(u(t.target)),e=i.overlay?"add"===t.type?"overlayadd":"overlayremove":"add"===t.type?"baselayerchange":null;e&&this._map.fire(e,i)},_createRadioElement:function(t,i){var e='<input type="radio" class="leaflet-control-layers-selector" name="'+t+'"'+(i?' checked="checked"':"")+"/>",n=document.createElement("div");return n.innerHTML=e,n.firstChild},_addItem:function(t){var i,e=document.createElement("label"),n=this._map.hasLayer(t.layer);t.overlay?((i=document.createElement("input")).type="checkbox",i.className="leaflet-control-layers-selector",i.defaultChecked=n):i=this._createRadioElement("leaflet-base-layers_"+u(this),n),this._layerControlInputs.push(i),i.layerId=u(t.layer),Ei(i,"click",this._onInputClick,this);var o=document.createElement("span");o.innerHTML=" "+t.name;var s=document.createElement("div");return e.appendChild(s),s.appendChild(i),s.appendChild(o),(t.overlay?this._overlaysList:this._baseLayersList).appendChild(e),this._checkDisabledLayers(),e},_onInputClick:function(){var t,i,e=this._layerControlInputs,n=[],o=[];this._handlingClick=!0;for(var s=e.length-1;0<=s;s--)t=e[s],i=this._getLayer(t.layerId).layer,t.checked?n.push(i):t.checked||o.push(i);for(s=0;s<o.length;s++)this._map.hasLayer(o[s])&&this._map.removeLayer(o[s]);for(s=0;s<n.length;s++)this._map.hasLayer(n[s])||this._map.addLayer(n[s]);this._handlingClick=!1,this._refocusOnMap()},_checkDisabledLayers:function(){for(var t,i,e=this._layerControlInputs,n=this._map.getZoom(),o=e.length-1;0<=o;o--)t=e[o],i=this._getLayer(t.layerId).layer,t.disabled=void 0!==i.options.minZoom&&n<i.options.minZoom||void 0!==i.options.maxZoom&&n>i.options.maxZoom},_expandIfNotCollapsed:function(){return this._map&&!this.options.collapsed&&this.expand(),this},_expand:function(){return this.expand()},_collapse:function(){return this.collapse()}}),ie=Qi.extend({options:{position:"topleft",zoomInText:"+",zoomInTitle:"Zoom in",zoomOutText:"&#x2212;",zoomOutTitle:"Zoom out"},onAdd:function(t){var i="leaflet-control-zoom",e=hi("div",i+" leaflet-bar"),n=this.options;return this._zoomInButton=this._createButton(n.zoomInText,n.zoomInTitle,i+"-in",e,this._zoomIn),this._zoomOutButton=this._createButton(n.zoomOutText,n.zoomOutTitle,i+"-out",e,this._zoomOut),this._updateDisabled(),t.on("zoomend zoomlevelschange",this._updateDisabled,this),e},onRemove:function(t){t.off("zoomend zoomlevelschange",this._updateDisabled,this)},disable:function(){return this._disabled=!0,this._updateDisabled(),this},enable:function(){return this._disabled=!1,this._updateDisabled(),this},_zoomIn:function(t){!this._disabled&&this._map._zoom<this._map.getMaxZoom()&&this._map.zoomIn(this._map.options.zoomDelta*(t.shiftKey?3:1))},_zoomOut:function(t){!this._disabled&&this._map._zoom>this._map.getMinZoom()&&this._map.zoomOut(this._map.options.zoomDelta*(t.shiftKey?3:1))},_createButton:function(t,i,e,n,o){var s=hi("a",e,n);return s.innerHTML=t,s.href="#",s.title=i,s.setAttribute("role","button"),s.setAttribute("aria-label",i),Ni(s),Ei(s,"click",ji),Ei(s,"click",o,this),Ei(s,"click",this._refocusOnMap,this),s},_updateDisabled:function(){var t=this._map,i="leaflet-disabled";mi(this._zoomInButton,i),mi(this._zoomOutButton,i),!this._disabled&&t._zoom!==t.getMinZoom()||pi(this._zoomOutButton,i),!this._disabled&&t._zoom!==t.getMaxZoom()||pi(this._zoomInButton,i)}});Ji.mergeOptions({zoomControl:!0}),Ji.addInitHook(function(){this.options.zoomControl&&(this.zoomControl=new ie,this.addControl(this.zoomControl))});var ee=Qi.extend({options:{position:"bottomleft",maxWidth:100,metric:!0,imperial:!0},onAdd:function(t){var i="leaflet-control-scale",e=hi("div",i),n=this.options;return this._addScales(n,i+"-line",e),t.on(n.updateWhenIdle?"moveend":"move",this._update,this),t.whenReady(this._update,this),e},onRemove:function(t){t.off(this.options.updateWhenIdle?"moveend":"move",this._update,this)},_addScales:function(t,i,e){t.metric&&(this._mScale=hi("div",i,e)),t.imperial&&(this._iScale=hi("div",i,e))},_update:function(){var t=this._map,i=t.getSize().y/2,e=t.distance(t.containerPointToLatLng([0,i]),t.containerPointToLatLng([this.options.maxWidth,i]));this._updateScales(e)},_updateScales:function(t){this.options.metric&&t&&this._updateMetric(t),this.options.imperial&&t&&this._updateImperial(t)},_updateMetric:function(t){var i=this._getRoundNum(t),e=i<1e3?i+" m":i/1e3+" km";this._updateScale(this._mScale,e,i/t)},_updateImperial:function(t){var i,e,n,o=3.2808399*t;5280<o?(i=o/5280,e=this._getRoundNum(i),this._updateScale(this._iScale,e+" mi",e/i)):(n=this._getRoundNum(o),this._updateScale(this._iScale,n+" ft",n/o))},_updateScale:function(t,i,e){t.style.width=Math.round(this.options.maxWidth*e)+"px",t.innerHTML=i},_getRoundNum:function(t){var i=Math.pow(10,(Math.floor(t)+"").length-1),e=t/i;return i*(e=10<=e?10:5<=e?5:3<=e?3:2<=e?2:1)}}),ne=Qi.extend({options:{position:"bottomright",prefix:'<a href="https://leafletjs.com" title="A JS library for interactive maps">Leaflet</a>'},initialize:function(t){p(this,t),this._attributions={}},onAdd:function(t){for(var i in(t.attributionControl=this)._container=hi("div","leaflet-control-attribution"),Ni(this._container),t._layers)t._layers[i].getAttribution&&this.addAttribution(t._layers[i].getAttribution());return this._update(),this._container},setPrefix:function(t){return this.options.prefix=t,this._update(),this},addAttribution:function(t){return t&&(this._attributions[t]||(this._attributions[t]=0),this._attributions[t]++,this._update()),this},removeAttribution:function(t){return t&&this._attributions[t]&&(this._attributions[t]--,this._update()),this},_update:function(){if(this._map){var t=[];for(var i in this._attributions)this._attributions[i]&&t.push(i);var e=[];this.options.prefix&&e.push(this.options.prefix),t.length&&e.push(t.join(", ")),this._container.innerHTML=e.join(" | ")}}});Ji.mergeOptions({attributionControl:!0}),Ji.addInitHook(function(){this.options.attributionControl&&(new ne).addTo(this)});Qi.Layers=te,Qi.Zoom=ie,Qi.Scale=ee,Qi.Attribution=ne,$i.layers=function(t,i,e){return new te(t,i,e)},$i.zoom=function(t){return new ie(t)},$i.scale=function(t){return new ee(t)},$i.attribution=function(t){return new ne(t)};var oe=Z.extend({initialize:function(t){this._map=t},enable:function(){return this._enabled||(this._enabled=!0,this.addHooks()),this},disable:function(){return this._enabled&&(this._enabled=!1,this.removeHooks()),this},enabled:function(){return!!this._enabled}});oe.addTo=function(t,i){return t.addHandler(i,this),this};var se,re={Events:E},ae=Tt?"touchstart mousedown":"mousedown",he={mousedown:"mouseup",touchstart:"touchend",pointerdown:"touchend",MSPointerDown:"touchend"},ue={mousedown:"mousemove",touchstart:"touchmove",pointerdown:"touchmove",MSPointerDown:"touchmove"},le=k.extend({options:{clickTolerance:3},initialize:function(t,i,e,n){p(this,n),this._element=t,this._dragStartTarget=i||t,this._preventOutline=e},enable:function(){this._enabled||(Ei(this._dragStartTarget,ae,this._onDown,this),this._enabled=!0)},disable:function(){this._enabled&&(le._dragging===this&&this.finishDrag(),Bi(this._dragStartTarget,ae,this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(t){if(!t._simulated&&this._enabled&&(this._moved=!1,!di(this._element,"leaflet-zoom-anim")&&!(le._dragging||t.shiftKey||1!==t.which&&1!==t.button&&!t.touches||((le._dragging=this)._preventOutline&&zi(this._element),bi(),$t(),this._moving)))){this.fire("down");var i=t.touches?t.touches[0]:t,e=Ci(this._element);this._startPoint=new B(i.clientX,i.clientY),this._parentScale=Si(e),Ei(document,ue[t.type],this._onMove,this),Ei(document,he[t.type],this._onUp,this)}},_onMove:function(t){if(!t._simulated&&this._enabled)if(t.touches&&1<t.touches.length)this._moved=!0;else{var i=t.touches&&1===t.touches.length?t.touches[0]:t,e=new B(i.clientX,i.clientY)._subtract(this._startPoint);(e.x||e.y)&&(Math.abs(e.x)+Math.abs(e.y)<this.options.clickTolerance||(e.x/=this._parentScale.x,e.y/=this._parentScale.y,Di(t),this._moved||(this.fire("dragstart"),this._moved=!0,this._startPos=Pi(this._element).subtract(e),pi(document.body,"leaflet-dragging"),this._lastTarget=t.target||t.srcElement,window.SVGElementInstance&&this._lastTarget instanceof SVGElementInstance&&(this._lastTarget=this._lastTarget.correspondingUseElement),pi(this._lastTarget,"leaflet-drag-target")),this._newPos=this._startPos.add(e),this._moving=!0,C(this._animRequest),this._lastEvent=t,this._animRequest=M(this._updatePosition,this,!0)))}},_updatePosition:function(){var t={originalEvent:this._lastEvent};this.fire("predrag",t),wi(this._element,this._newPos),this.fire("drag",t)},_onUp:function(t){!t._simulated&&this._enabled&&this.finishDrag()},finishDrag:function(){for(var t in mi(document.body,"leaflet-dragging"),this._lastTarget&&(mi(this._lastTarget,"leaflet-drag-target"),this._lastTarget=null),ue)Bi(document,ue[t],this._onMove,this),Bi(document,he[t],this._onUp,this);Ti(),Qt(),this._moved&&this._moving&&(C(this._animRequest),this.fire("dragend",{distance:this._newPos.distanceTo(this._startPos)})),this._moving=!1,le._dragging=!1}});function ce(t,i){if(!i||!t.length)return t.slice();var e=i*i;return t=function(t,i){var e=t.length,n=new(typeof Uint8Array!=void 0+""?Uint8Array:Array)(e);n[0]=n[e-1]=1,function t(i,e,n,o,s){var r,a,h,u=0;for(a=o+1;a<=s-1;a++)h=fe(i[a],i[o],i[s],!0),u<h&&(r=a,u=h);n<u&&(e[r]=1,t(i,e,n,o,r),t(i,e,n,r,s))}(t,n,i,0,e-1);var o,s=[];for(o=0;o<e;o++)n[o]&&s.push(t[o]);return s}(t=function(t,i){for(var e=[t[0]],n=1,o=0,s=t.length;n<s;n++)r=t[n],a=t[o],void 0,h=a.x-r.x,u=a.y-r.y,i<h*h+u*u&&(e.push(t[n]),o=n);var r,a,h,u;o<s-1&&e.push(t[s-1]);return e}(t,e),e)}function _e(t,i,e){return Math.sqrt(fe(t,i,e,!0))}function de(t,i,e,n,o){var s,r,a,h=n?se:me(t,e),u=me(i,e);for(se=u;;){if(!(h|u))return[t,i];if(h&u)return!1;a=me(r=pe(t,i,s=h||u,e,o),e),s===h?(t=r,h=a):(i=r,u=a)}}function pe(t,i,e,n,o){var s,r,a=i.x-t.x,h=i.y-t.y,u=n.min,l=n.max;return 8&e?(s=t.x+a*(l.y-t.y)/h,r=l.y):4&e?(s=t.x+a*(u.y-t.y)/h,r=u.y):2&e?(s=l.x,r=t.y+h*(l.x-t.x)/a):1&e&&(s=u.x,r=t.y+h*(u.x-t.x)/a),new B(s,r,o)}function me(t,i){var e=0;return t.x<i.min.x?e|=1:t.x>i.max.x&&(e|=2),t.y<i.min.y?e|=4:t.y>i.max.y&&(e|=8),e}function fe(t,i,e,n){var o,s=i.x,r=i.y,a=e.x-s,h=e.y-r,u=a*a+h*h;return 0<u&&(1<(o=((t.x-s)*a+(t.y-r)*h)/u)?(s=e.x,r=e.y):0<o&&(s+=a*o,r+=h*o)),a=t.x-s,h=t.y-r,n?a*a+h*h:new B(s,r)}function ge(t){return!v(t[0])||"object"!=typeof t[0][0]&&void 0!==t[0][0]}function ve(t){return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."),ge(t)}var ye=(Object.freeze||Object)({simplify:ce,pointToSegmentDistance:_e,closestPointOnSegment:function(t,i,e){return fe(t,i,e)},clipSegment:de,_getEdgeIntersection:pe,_getBitCode:me,_sqClosestPointOnSegment:fe,isFlat:ge,_flat:ve});function xe(t,i,e){var n,o,s,r,a,h,u,l,c,_=[1,4,2,8];for(o=0,u=t.length;o<u;o++)t[o]._code=me(t[o],i);for(r=0;r<4;r++){for(l=_[r],n=[],o=0,s=(u=t.length)-1;o<u;s=o++)a=t[o],h=t[s],a._code&l?h._code&l||((c=pe(h,a,l,i,e))._code=me(c,i),n.push(c)):(h._code&l&&((c=pe(h,a,l,i,e))._code=me(c,i),n.push(c)),n.push(a));t=n}return t}var we,Pe=(Object.freeze||Object)({clipPolygon:xe}),Le={project:function(t){return new B(t.lng,t.lat)},unproject:function(t){return new j(t.y,t.x)},bounds:new O([-180,-90],[180,90])},be={R:6378137,R_MINOR:6356752.314245179,bounds:new O([-20037508.34279,-15496570.73972],[20037508.34279,18764656.23138]),project:function(t){var i=Math.PI/180,e=this.R,n=t.lat*i,o=this.R_MINOR/e,s=Math.sqrt(1-o*o),r=s*Math.sin(n),a=Math.tan(Math.PI/4-n/2)/Math.pow((1-r)/(1+r),s/2);return n=-e*Math.log(Math.max(a,1e-10)),new B(t.lng*i*e,n)},unproject:function(t){for(var i,e=180/Math.PI,n=this.R,o=this.R_MINOR/n,s=Math.sqrt(1-o*o),r=Math.exp(-t.y/n),a=Math.PI/2-2*Math.atan(r),h=0,u=.1;h<15&&1e-7<Math.abs(u);h++)i=s*Math.sin(a),i=Math.pow((1-i)/(1+i),s/2),a+=u=Math.PI/2-2*Math.atan(r*i)-a;return new j(a*e,t.x*e/n)}},Te=(Object.freeze||Object)({LonLat:Le,Mercator:be,SphericalMercator:q}),ze=h({},U,{code:"EPSG:3395",projection:be,transformation:(we=.5/(Math.PI*be.R),K(we,.5,-we,.5))}),Me=h({},U,{code:"EPSG:4326",projection:Le,transformation:K(1/180,1,-1/180,.5)}),Ce=h({},F,{projection:Le,transformation:K(1,0,-1,0),scale:function(t){return Math.pow(2,t)},zoom:function(t){return Math.log(t)/Math.LN2},distance:function(t,i){var e=i.lng-t.lng,n=i.lat-t.lat;return Math.sqrt(e*e+n*n)},infinite:!0});F.Earth=U,F.EPSG3395=ze,F.EPSG3857=X,F.EPSG900913=J,F.EPSG4326=Me,F.Simple=Ce;var Se=k.extend({options:{pane:"overlayPane",attribution:null,bubblingMouseEvents:!0},addTo:function(t){return t.addLayer(this),this},remove:function(){return this.removeFrom(this._map||this._mapToAdd)},removeFrom:function(t){return t&&t.removeLayer(this),this},getPane:function(t){return this._map.getPane(t?this.options[t]||t:this.options.pane)},addInteractiveTarget:function(t){return this._map._targets[u(t)]=this},removeInteractiveTarget:function(t){return delete this._map._targets[u(t)],this},getAttribution:function(){return this.options.attribution},_layerAdd:function(t){var i=t.target;if(i.hasLayer(this)){if(this._map=i,this._zoomAnimated=i._zoomAnimated,this.getEvents){var e=this.getEvents();i.on(e,this),this.once("remove",function(){i.off(e,this)},this)}this.onAdd(i),this.getAttribution&&i.attributionControl&&i.attributionControl.addAttribution(this.getAttribution()),this.fire("add"),i.fire("layeradd",{layer:this})}}});Ji.include({addLayer:function(t){if(!t._layerAdd)throw new Error("The provided object is not a Layer.");var i=u(t);return this._layers[i]||((this._layers[i]=t)._mapToAdd=this,t.beforeAdd&&t.beforeAdd(this),this.whenReady(t._layerAdd,t)),this},removeLayer:function(t){var i=u(t);return this._layers[i]&&(this._loaded&&t.onRemove(this),t.getAttribution&&this.attributionControl&&this.attributionControl.removeAttribution(t.getAttribution()),delete this._layers[i],this._loaded&&(this.fire("layerremove",{layer:t}),t.fire("remove")),t._map=t._mapToAdd=null),this},hasLayer:function(t){return!!t&&u(t)in this._layers},eachLayer:function(t,i){for(var e in this._layers)t.call(i,this._layers[e]);return this},_addLayers:function(t){for(var i=0,e=(t=t?v(t)?t:[t]:[]).length;i<e;i++)this.addLayer(t[i])},_addZoomLimit:function(t){!isNaN(t.options.maxZoom)&&isNaN(t.options.minZoom)||(this._zoomBoundLayers[u(t)]=t,this._updateZoomLevels())},_removeZoomLimit:function(t){var i=u(t);this._zoomBoundLayers[i]&&(delete this._zoomBoundLayers[i],this._updateZoomLevels())},_updateZoomLevels:function(){var t=1/0,i=-1/0,e=this._getZoomSpan();for(var n in this._zoomBoundLayers){var o=this._zoomBoundLayers[n].options;t=void 0===o.minZoom?t:Math.min(t,o.minZoom),i=void 0===o.maxZoom?i:Math.max(i,o.maxZoom)}this._layersMaxZoom=i===-1/0?void 0:i,this._layersMinZoom=t===1/0?void 0:t,e!==this._getZoomSpan()&&this.fire("zoomlevelschange"),void 0===this.options.maxZoom&&this._layersMaxZoom&&this.getZoom()>this._layersMaxZoom&&this.setZoom(this._layersMaxZoom),void 0===this.options.minZoom&&this._layersMinZoom&&this.getZoom()<this._layersMinZoom&&this.setZoom(this._layersMinZoom)}});var Ze=Se.extend({initialize:function(t,i){var e,n;if(p(this,i),this._layers={},t)for(e=0,n=t.length;e<n;e++)this.addLayer(t[e])},addLayer:function(t){var i=this.getLayerId(t);return this._layers[i]=t,this._map&&this._map.addLayer(t),this},removeLayer:function(t){var i=t in this._layers?t:this.getLayerId(t);return this._map&&this._layers[i]&&this._map.removeLayer(this._layers[i]),delete this._layers[i],this},hasLayer:function(t){return!!t&&(t in this._layers||this.getLayerId(t)in this._layers)},clearLayers:function(){return this.eachLayer(this.removeLayer,this)},invoke:function(t){var i,e,n=Array.prototype.slice.call(arguments,1);for(i in this._layers)(e=this._layers[i])[t]&&e[t].apply(e,n);return this},onAdd:function(t){this.eachLayer(t.addLayer,t)},onRemove:function(t){this.eachLayer(t.removeLayer,t)},eachLayer:function(t,i){for(var e in this._layers)t.call(i,this._layers[e]);return this},getLayer:function(t){return this._layers[t]},getLayers:function(){var t=[];return this.eachLayer(t.push,t),t},setZIndex:function(t){return this.invoke("setZIndex",t)},getLayerId:function(t){return u(t)}}),Ee=Ze.extend({addLayer:function(t){return this.hasLayer(t)?this:(t.addEventParent(this),Ze.prototype.addLayer.call(this,t),this.fire("layeradd",{layer:t}))},removeLayer:function(t){return this.hasLayer(t)?(t in this._layers&&(t=this._layers[t]),t.removeEventParent(this),Ze.prototype.removeLayer.call(this,t),this.fire("layerremove",{layer:t})):this},setStyle:function(t){return this.invoke("setStyle",t)},bringToFront:function(){return this.invoke("bringToFront")},bringToBack:function(){return this.invoke("bringToBack")},getBounds:function(){var t=new N;for(var i in this._layers){var e=this._layers[i];t.extend(e.getBounds?e.getBounds():e.getLatLng())}return t}}),ke=Z.extend({options:{popupAnchor:[0,0],tooltipAnchor:[0,0]},initialize:function(t){p(this,t)},createIcon:function(t){return this._createIcon("icon",t)},createShadow:function(t){return this._createIcon("shadow",t)},_createIcon:function(t,i){var e=this._getIconUrl(t);if(!e){if("icon"===t)throw new Error("iconUrl not set in Icon options (see the docs).");return null}var n=this._createImg(e,i&&"IMG"===i.tagName?i:null);return this._setIconStyles(n,t),n},_setIconStyles:function(t,i){var e=this.options,n=e[i+"Size"];"number"==typeof n&&(n=[n,n]);var o=I(n),s=I("shadow"===i&&e.shadowAnchor||e.iconAnchor||o&&o.divideBy(2,!0));t.className="leaflet-marker-"+i+" "+(e.className||""),s&&(t.style.marginLeft=-s.x+"px",t.style.marginTop=-s.y+"px"),o&&(t.style.width=o.x+"px",t.style.height=o.y+"px")},_createImg:function(t,i){return(i=i||document.createElement("img")).src=t,i},_getIconUrl:function(t){return Ct&&this.options[t+"RetinaUrl"]||this.options[t+"Url"]}});var Be=ke.extend({options:{iconUrl:"marker-icon.png",iconRetinaUrl:"marker-icon-2x.png",shadowUrl:"marker-shadow.png",iconSize:[25,41],iconAnchor:[12,41],popupAnchor:[1,-34],tooltipAnchor:[16,-28],shadowSize:[41,41]},_getIconUrl:function(t){return Be.imagePath||(Be.imagePath=this._detectIconPath()),(this.options.imagePath||Be.imagePath)+ke.prototype._getIconUrl.call(this,t)},_detectIconPath:function(){var t=hi("div","leaflet-default-icon-path",document.body),i=ai(t,"background-image")||ai(t,"backgroundImage");return document.body.removeChild(t),i=null===i||0!==i.indexOf("url")?"":i.replace(/^url\(["']?/,"").replace(/marker-icon\.png["']?\)$/,"")}}),Ae=oe.extend({initialize:function(t){this._marker=t},addHooks:function(){var t=this._marker._icon;this._draggable||(this._draggable=new le(t,t,!0)),this._draggable.on({dragstart:this._onDragStart,predrag:this._onPreDrag,drag:this._onDrag,dragend:this._onDragEnd},this).enable(),pi(t,"leaflet-marker-draggable")},removeHooks:function(){this._draggable.off({dragstart:this._onDragStart,predrag:this._onPreDrag,drag:this._onDrag,dragend:this._onDragEnd},this).disable(),this._marker._icon&&mi(this._marker._icon,"leaflet-marker-draggable")},moved:function(){return this._draggable&&this._draggable._moved},_adjustPan:function(t){var i=this._marker,e=i._map,n=this._marker.options.autoPanSpeed,o=this._marker.options.autoPanPadding,s=Pi(i._icon),r=e.getPixelBounds(),a=e.getPixelOrigin(),h=R(r.min._subtract(a).add(o),r.max._subtract(a).subtract(o));if(!h.contains(s)){var u=I((Math.max(h.max.x,s.x)-h.max.x)/(r.max.x-h.max.x)-(Math.min(h.min.x,s.x)-h.min.x)/(r.min.x-h.min.x),(Math.max(h.max.y,s.y)-h.max.y)/(r.max.y-h.max.y)-(Math.min(h.min.y,s.y)-h.min.y)/(r.min.y-h.min.y)).multiplyBy(n);e.panBy(u,{animate:!1}),this._draggable._newPos._add(u),this._draggable._startPos._add(u),wi(i._icon,this._draggable._newPos),this._onDrag(t),this._panRequest=M(this._adjustPan.bind(this,t))}},_onDragStart:function(){this._oldLatLng=this._marker.getLatLng(),this._marker.closePopup().fire("movestart").fire("dragstart")},_onPreDrag:function(t){this._marker.options.autoPan&&(C(this._panRequest),this._panRequest=M(this._adjustPan.bind(this,t)))},_onDrag:function(t){var i=this._marker,e=i._shadow,n=Pi(i._icon),o=i._map.layerPointToLatLng(n);e&&wi(e,n),i._latlng=o,t.latlng=o,t.oldLatLng=this._oldLatLng,i.fire("move",t).fire("drag",t)},_onDragEnd:function(t){C(this._panRequest),delete this._oldLatLng,this._marker.fire("moveend").fire("dragend",t)}}),Ie=Se.extend({options:{icon:new Be,interactive:!0,keyboard:!0,title:"",alt:"",zIndexOffset:0,opacity:1,riseOnHover:!1,riseOffset:250,pane:"markerPane",shadowPane:"shadowPane",bubblingMouseEvents:!1,draggable:!1,autoPan:!1,autoPanPadding:[50,50],autoPanSpeed:10},initialize:function(t,i){p(this,i),this._latlng=W(t)},onAdd:function(t){this._zoomAnimated=this._zoomAnimated&&t.options.markerZoomAnimation,this._zoomAnimated&&t.on("zoomanim",this._animateZoom,this),this._initIcon(),this.update()},onRemove:function(t){this.dragging&&this.dragging.enabled()&&(this.options.draggable=!0,this.dragging.removeHooks()),delete this.dragging,this._zoomAnimated&&t.off("zoomanim",this._animateZoom,this),this._removeIcon(),this._removeShadow()},getEvents:function(){return{zoom:this.update,viewreset:this.update}},getLatLng:function(){return this._latlng},setLatLng:function(t){var i=this._latlng;return this._latlng=W(t),this.update(),this.fire("move",{oldLatLng:i,latlng:this._latlng})},setZIndexOffset:function(t){return this.options.zIndexOffset=t,this.update()},getIcon:function(){return this.options.icon},setIcon:function(t){return this.options.icon=t,this._map&&(this._initIcon(),this.update()),this._popup&&this.bindPopup(this._popup,this._popup.options),this},getElement:function(){return this._icon},update:function(){if(this._icon&&this._map){var t=this._map.latLngToLayerPoint(this._latlng).round();this._setPos(t)}return this},_initIcon:function(){var t=this.options,i="leaflet-zoom-"+(this._zoomAnimated?"animated":"hide"),e=t.icon.createIcon(this._icon),n=!1;e!==this._icon&&(this._icon&&this._removeIcon(),n=!0,t.title&&(e.title=t.title),"IMG"===e.tagName&&(e.alt=t.alt||"")),pi(e,i),t.keyboard&&(e.tabIndex="0"),this._icon=e,t.riseOnHover&&this.on({mouseover:this._bringToFront,mouseout:this._resetZIndex});var o=t.icon.createShadow(this._shadow),s=!1;o!==this._shadow&&(this._removeShadow(),s=!0),o&&(pi(o,i),o.alt=""),this._shadow=o,t.opacity<1&&this._updateOpacity(),n&&this.getPane().appendChild(this._icon),this._initInteraction(),o&&s&&this.getPane(t.shadowPane).appendChild(this._shadow)},_removeIcon:function(){this.options.riseOnHover&&this.off({mouseover:this._bringToFront,mouseout:this._resetZIndex}),ui(this._icon),this.removeInteractiveTarget(this._icon),this._icon=null},_removeShadow:function(){this._shadow&&ui(this._shadow),this._shadow=null},_setPos:function(t){wi(this._icon,t),this._shadow&&wi(this._shadow,t),this._zIndex=t.y+this.options.zIndexOffset,this._resetZIndex()},_updateZIndex:function(t){this._icon.style.zIndex=this._zIndex+t},_animateZoom:function(t){var i=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center).round();this._setPos(i)},_initInteraction:function(){if(this.options.interactive&&(pi(this._icon,"leaflet-interactive"),this.addInteractiveTarget(this._icon),Ae)){var t=this.options.draggable;this.dragging&&(t=this.dragging.enabled(),this.dragging.disable()),this.dragging=new Ae(this),t&&this.dragging.enable()}},setOpacity:function(t){return this.options.opacity=t,this._map&&this._updateOpacity(),this},_updateOpacity:function(){var t=this.options.opacity;this._icon&&vi(this._icon,t),this._shadow&&vi(this._shadow,t)},_bringToFront:function(){this._updateZIndex(this.options.riseOffset)},_resetZIndex:function(){this._updateZIndex(0)},_getPopupAnchor:function(){return this.options.icon.options.popupAnchor},_getTooltipAnchor:function(){return this.options.icon.options.tooltipAnchor}});var Oe=Se.extend({options:{stroke:!0,color:"#3388ff",weight:3,opacity:1,lineCap:"round",lineJoin:"round",dashArray:null,dashOffset:null,fill:!1,fillColor:null,fillOpacity:.2,fillRule:"evenodd",interactive:!0,bubblingMouseEvents:!0},beforeAdd:function(t){this._renderer=t.getRenderer(this)},onAdd:function(){this._renderer._initPath(this),this._reset(),this._renderer._addPath(this)},onRemove:function(){this._renderer._removePath(this)},redraw:function(){return this._map&&this._renderer._updatePath(this),this},setStyle:function(t){return p(this,t),this._renderer&&(this._renderer._updateStyle(this),this.options.stroke&&t.hasOwnProperty("weight")&&this._updateBounds()),this},bringToFront:function(){return this._renderer&&this._renderer._bringToFront(this),this},bringToBack:function(){return this._renderer&&this._renderer._bringToBack(this),this},getElement:function(){return this._path},_reset:function(){this._project(),this._update()},_clickTolerance:function(){return(this.options.stroke?this.options.weight/2:0)+this._renderer.options.tolerance}}),Re=Oe.extend({options:{fill:!0,radius:10},initialize:function(t,i){p(this,i),this._latlng=W(t),this._radius=this.options.radius},setLatLng:function(t){return this._latlng=W(t),this.redraw(),this.fire("move",{latlng:this._latlng})},getLatLng:function(){return this._latlng},setRadius:function(t){return this.options.radius=this._radius=t,this.redraw()},getRadius:function(){return this._radius},setStyle:function(t){var i=t&&t.radius||this._radius;return Oe.prototype.setStyle.call(this,t),this.setRadius(i),this},_project:function(){this._point=this._map.latLngToLayerPoint(this._latlng),this._updateBounds()},_updateBounds:function(){var t=this._radius,i=this._radiusY||t,e=this._clickTolerance(),n=[t+e,i+e];this._pxBounds=new O(this._point.subtract(n),this._point.add(n))},_update:function(){this._map&&this._updatePath()},_updatePath:function(){this._renderer._updateCircle(this)},_empty:function(){return this._radius&&!this._renderer._bounds.intersects(this._pxBounds)},_containsPoint:function(t){return t.distanceTo(this._point)<=this._radius+this._clickTolerance()}});var Ne=Re.extend({initialize:function(t,i,e){if("number"==typeof i&&(i=h({},e,{radius:i})),p(this,i),this._latlng=W(t),isNaN(this.options.radius))throw new Error("Circle radius cannot be NaN");this._mRadius=this.options.radius},setRadius:function(t){return this._mRadius=t,this.redraw()},getRadius:function(){return this._mRadius},getBounds:function(){var t=[this._radius,this._radiusY||this._radius];return new N(this._map.layerPointToLatLng(this._point.subtract(t)),this._map.layerPointToLatLng(this._point.add(t)))},setStyle:Oe.prototype.setStyle,_project:function(){var t=this._latlng.lng,i=this._latlng.lat,e=this._map,n=e.options.crs;if(n.distance===U.distance){var o=Math.PI/180,s=this._mRadius/U.R/o,r=e.project([i+s,t]),a=e.project([i-s,t]),h=r.add(a).divideBy(2),u=e.unproject(h).lat,l=Math.acos((Math.cos(s*o)-Math.sin(i*o)*Math.sin(u*o))/(Math.cos(i*o)*Math.cos(u*o)))/o;!isNaN(l)&&0!==l||(l=s/Math.cos(Math.PI/180*i)),this._point=h.subtract(e.getPixelOrigin()),this._radius=isNaN(l)?0:h.x-e.project([u,t-l]).x,this._radiusY=h.y-r.y}else{var c=n.unproject(n.project(this._latlng).subtract([this._mRadius,0]));this._point=e.latLngToLayerPoint(this._latlng),this._radius=this._point.x-e.latLngToLayerPoint(c).x}this._updateBounds()}});var De=Oe.extend({options:{smoothFactor:1,noClip:!1},initialize:function(t,i){p(this,i),this._setLatLngs(t)},getLatLngs:function(){return this._latlngs},setLatLngs:function(t){return this._setLatLngs(t),this.redraw()},isEmpty:function(){return!this._latlngs.length},closestLayerPoint:function(t){for(var i,e,n=1/0,o=null,s=fe,r=0,a=this._parts.length;r<a;r++)for(var h=this._parts[r],u=1,l=h.length;u<l;u++){var c=s(t,i=h[u-1],e=h[u],!0);c<n&&(n=c,o=s(t,i,e))}return o&&(o.distance=Math.sqrt(n)),o},getCenter:function(){if(!this._map)throw new Error("Must add layer to map before using getCenter()");var t,i,e,n,o,s,r,a=this._rings[0],h=a.length;if(!h)return null;for(i=t=0;t<h-1;t++)i+=a[t].distanceTo(a[t+1])/2;if(0===i)return this._map.layerPointToLatLng(a[0]);for(n=t=0;t<h-1;t++)if(o=a[t],s=a[t+1],i<(n+=e=o.distanceTo(s)))return r=(n-i)/e,this._map.layerPointToLatLng([s.x-r*(s.x-o.x),s.y-r*(s.y-o.y)])},getBounds:function(){return this._bounds},addLatLng:function(t,i){return i=i||this._defaultShape(),t=W(t),i.push(t),this._bounds.extend(t),this.redraw()},_setLatLngs:function(t){this._bounds=new N,this._latlngs=this._convertLatLngs(t)},_defaultShape:function(){return ge(this._latlngs)?this._latlngs:this._latlngs[0]},_convertLatLngs:function(t){for(var i=[],e=ge(t),n=0,o=t.length;n<o;n++)e?(i[n]=W(t[n]),this._bounds.extend(i[n])):i[n]=this._convertLatLngs(t[n]);return i},_project:function(){var t=new O;this._rings=[],this._projectLatlngs(this._latlngs,this._rings,t),this._bounds.isValid()&&t.isValid()&&(this._rawPxBounds=t,this._updateBounds())},_updateBounds:function(){var t=this._clickTolerance(),i=new B(t,t);this._pxBounds=new O([this._rawPxBounds.min.subtract(i),this._rawPxBounds.max.add(i)])},_projectLatlngs:function(t,i,e){var n,o,s=t[0]instanceof j,r=t.length;if(s){for(o=[],n=0;n<r;n++)o[n]=this._map.latLngToLayerPoint(t[n]),e.extend(o[n]);i.push(o)}else for(n=0;n<r;n++)this._projectLatlngs(t[n],i,e)},_clipPoints:function(){var t=this._renderer._bounds;if(this._parts=[],this._pxBounds&&this._pxBounds.intersects(t))if(this.options.noClip)this._parts=this._rings;else{var i,e,n,o,s,r,a,h=this._parts;for(n=i=0,o=this._rings.length;i<o;i++)for(e=0,s=(a=this._rings[i]).length;e<s-1;e++)(r=de(a[e],a[e+1],t,e,!0))&&(h[n]=h[n]||[],h[n].push(r[0]),r[1]===a[e+1]&&e!==s-2||(h[n].push(r[1]),n++))}},_simplifyPoints:function(){for(var t=this._parts,i=this.options.smoothFactor,e=0,n=t.length;e<n;e++)t[e]=ce(t[e],i)},_update:function(){this._map&&(this._clipPoints(),this._simplifyPoints(),this._updatePath())},_updatePath:function(){this._renderer._updatePoly(this)},_containsPoint:function(t,i){var e,n,o,s,r,a,h=this._clickTolerance();if(!this._pxBounds||!this._pxBounds.contains(t))return!1;for(e=0,s=this._parts.length;e<s;e++)for(n=0,o=(r=(a=this._parts[e]).length)-1;n<r;o=n++)if((i||0!==n)&&_e(t,a[o],a[n])<=h)return!0;return!1}});De._flat=ve;var je=De.extend({options:{fill:!0},isEmpty:function(){return!this._latlngs.length||!this._latlngs[0].length}
vendor: 2,189 bytes, line 1536
1536,getCenter:function(){if(!this._map)throw new Error("Must add layer to map before using getCenter()");var t,i,e,n,o,s,r,a,h,u=this._rings[0],l=u.length;if(!l)return null;for(s=r=a=0,t=0,i=l-1;t<l;i=t++)e=u[t],n=u[i],o=e.y*n.x-n.y*e.x,r+=(e.x+n.x)*o,a+=(e.y+n.y)*o,s+=3*o;return h=0===s?u[0]:[r/s,a/s],this._map.layerPointToLatLng(h)},_convertLatLngs:function(t){var i=De.prototype._convertLatLngs.call(this,t),e=i.length;return 2<=e&&i[0]instanceof j&&i[0].equals(i[e-1])&&i.pop(),i},_setLatLngs:function(t){De.prototype._setLatLngs.call(this,t),ge(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return ge(this._latlngs[0])?this._latlngs[0]:this._latlngs[0][0]},_clipPoints:function(){var t=this._renderer._bounds,i=this.options.weight,e=new B(i,i);if(t=new O(t.min.subtract(e),t.max.add(e)),this._parts=[],this._pxBounds&&this._pxBounds.intersects(t))if(this.options.noClip)this._parts=this._rings;else for(var n,o=0,s=this._rings.length;o<s;o++)(n=xe(this._rings[o],t,!0)).length&&this._parts.push(n)},_updatePath:function(){this._renderer._updatePoly(this,!0)},_containsPoint:function(t){var i,e,n,o,s,r,a,h,u=!1;if(!this._pxBounds||!this._pxBounds.contains(t))return!1;for(o=0,a=this._parts.length;o<a;o++)for(s=0,r=(h=(i=this._parts[o]).length)-1;s<h;r=s++)e=i[s],n=i[r],e.y>t.y!=n.y>t.y&&t.x<(n.x-e.x)*(t.y-e.y)/(n.y-e.y)+e.x&&(u=!u);return u||De.prototype._containsPoint.call(this,t,!0)}});var We=Ee.extend({initialize:function(t,i){p(this,i),this._layers={},t&&this.addData(t)},addData:function(t){var i,e,n,o=v(t)?t:t.features;if(o){for(i=0,e=o.length;i<e;i++)((n=o[i]).geometries||n.geometry||n.features||n.coordinates)&&this.addData(n);return this}var s=this.options;if(s.filter&&!s.filter(t))return this;var r=He(t,s);return r?(r.feature=Ke(t),r.defaultOptions=r.options,this.resetStyle(r),s.onEachFeature&&s.onEachFeature(t,r),this.addLayer(r)):this},resetStyle:function(t){return t.options=h({},t.defaultOptions),this._setLayerStyle(t,this.options.style),this},setStyle:function(i){return this.eachLayer(function(t){this._setLayerStyle(t,i)},this)},_setLayerStyle:function(t,i){t.setStyle&&("function"==typeof i&&(i=i(t.feature)),t.setStyle(i))}});
vendor: 57,290 bytes, line 1536
1536function He(t,i){var e,n,o,s,r="Feature"===t.type?t.geometry:t,a=r?r.coordinates:null,h=[],u=i&&i.pointToLayer,l=i&&i.coordsToLatLng||Fe;if(!a&&!r)return null;switch(r.type){case"Point":return e=l(a),u?u(t,e):new Ie(e);case"MultiPoint":for(o=0,s=a.length;o<s;o++)e=l(a[o]),h.push(u?u(t,e):new Ie(e));return new Ee(h);case"LineString":case"MultiLineString":return n=Ue(a,"LineString"===r.type?0:1,l),new De(n,i);case"Polygon":case"MultiPolygon":return n=Ue(a,"Polygon"===r.type?1:2,l),new je(n,i);case"GeometryCollection":for(o=0,s=r.geometries.length;o<s;o++){var c=He({geometry:r.geometries[o],type:"Feature",properties:t.properties},i);c&&h.push(c)}return new Ee(h);default:throw new Error("Invalid GeoJSON object.")}}function Fe(t){return new j(t[1],t[0],t[2])}function Ue(t,i,e){for(var n,o=[],s=0,r=t.length;s<r;s++)n=i?Ue(t[s],i-1,e):(e||Fe)(t[s]),o.push(n);return o}function Ve(t,i){return i="number"==typeof i?i:6,void 0!==t.alt?[c(t.lng,i),c(t.lat,i),c(t.alt,i)]:[c(t.lng,i),c(t.lat,i)]}function qe(t,i,e,n){for(var o=[],s=0,r=t.length;s<r;s++)o.push(i?qe(t[s],i-1,e,n):Ve(t[s],n));return!i&&e&&o.push(o[0]),o}function Ge(t,i){return t.feature?h({},t.feature,{geometry:i}):Ke(i)}function Ke(t){return"Feature"===t.type||"FeatureCollection"===t.type?t:{type:"Feature",properties:{},geometry:t}}var Ye={toGeoJSON:function(t){return Ge(this,{type:"Point",coordinates:Ve(this.getLatLng(),t)})}};function Xe(t,i){return new We(t,i)}Ie.include(Ye),Ne.include(Ye),Re.include(Ye),De.include({toGeoJSON:function(t){var i=!ge(this._latlngs);return Ge(this,{type:(i?"Multi":"")+"LineString",coordinates:qe(this._latlngs,i?1:0,!1,t)})}}),je.include({toGeoJSON:function(t){var i=!ge(this._latlngs),e=i&&!ge(this._latlngs[0]),n=qe(this._latlngs,e?2:i?1:0,!0,t);return i||(n=[n]),Ge(this,{type:(e?"Multi":"")+"Polygon",coordinates:n})}}),Ze.include({toMultiPoint:function(i){var e=[];return this.eachLayer(function(t){e.push(t.toGeoJSON(i).geometry.coordinates)}),Ge(this,{type:"MultiPoint",coordinates:e})},toGeoJSON:function(n){var t=this.feature&&this.feature.geometry&&this.feature.geometry.type;if("MultiPoint"===t)return this.toMultiPoint(n);var o="GeometryCollection"===t,s=[];return this.eachLayer(function(t){if(t.toGeoJSON){var i=t.toGeoJSON(n);if(o)s.push(i.geometry);else{var e=Ke(i);"FeatureCollection"===e.type?s.push.apply(s,e.features):s.push(e)}}}),o?Ge(this,{geometries:s,type:"GeometryCollection"}):{type:"FeatureCollection",features:s}}});var Je=Xe,$e=Se.extend({options:{opacity:1,alt:"",interactive:!1,crossOrigin:!1,errorOverlayUrl:"",zIndex:1,className:""},initialize:function(t,i,e){this._url=t,this._bounds=D(i),p(this,e)},onAdd:function(){this._image||(this._initImage(),this.options.opacity<1&&this._updateOpacity()),this.options.interactive&&(pi(this._image,"leaflet-interactive"),this.addInteractiveTarget(this._image)),this.getPane().appendChild(this._image),this._reset()},onRemove:function(){ui(this._image),this.options.interactive&&this.removeInteractiveTarget(this._image)},setOpacity:function(t){return this.options.opacity=t,this._image&&this._updateOpacity(),this},setStyle:function(t){return t.opacity&&this.setOpacity(t.opacity),this},bringToFront:function(){return this._map&&ci(this._image),this},bringToBack:function(){return this._map&&_i(this._image),this},setUrl:function(t){return this._url=t,this._image&&(this._image.src=t),this},setBounds:function(t){return this._bounds=D(t),this._map&&this._reset(),this},getEvents:function(){var t={zoom:this._reset,viewreset:this._reset};return this._zoomAnimated&&(t.zoomanim=this._animateZoom),t},setZIndex:function(t){return this.options.zIndex=t,this._updateZIndex(),this},getBounds:function(){return this._bounds},getElement:function(){return this._image},_initImage:function(){var t="IMG"===this._url.tagName,i=this._image=t?this._url:hi("img");pi(i,"leaflet-image-layer"),this._zoomAnimated&&pi(i,"leaflet-zoom-animated"),this.options.className&&pi(i,this.options.className),i.onselectstart=l,i.onmousemove=l,i.onload=a(this.fire,this,"load"),i.onerror=a(this._overlayOnError,this,"error"),!this.options.crossOrigin&&""!==this.options.crossOrigin||(i.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),this.options.zIndex&&this._updateZIndex(),t?this._url=i.src:(i.src=this._url,i.alt=this.options.alt)},_animateZoom:function(t){var i=this._map.getZoomScale(t.zoom),e=this._map._latLngBoundsToNewLayerBounds(this._bounds,t.zoom,t.center).min;xi(this._image,e,i)},_reset:function(){var t=this._image,i=new O(this._map.latLngToLayerPoint(this._bounds.getNorthWest()),this._map.latLngToLayerPoint(this._bounds.getSouthEast())),e=i.getSize();wi(t,i.min),t.style.width=e.x+"px",t.style.height=e.y+"px"},_updateOpacity:function(){vi(this._image,this.options.opacity)},_updateZIndex:function(){this._image&&void 0!==this.options.zIndex&&null!==this.options.zIndex&&(this._image.style.zIndex=this.options.zIndex)},_overlayOnError:function(){this.fire("error");var t=this.options.errorOverlayUrl;t&&this._url!==t&&(this._url=t,this._image.src=t)}}),Qe=$e.extend({options:{autoplay:!0,loop:!0,keepAspectRatio:!0},_initImage:function(){var t="VIDEO"===this._url.tagName,i=this._image=t?this._url:hi("video");if(pi(i,"leaflet-image-layer"),this._zoomAnimated&&pi(i,"leaflet-zoom-animated"),i.onselectstart=l,i.onmousemove=l,i.onloadeddata=a(this.fire,this,"load"),t){for(var e=i.getElementsByTagName("source"),n=[],o=0;o<e.length;o++)n.push(e[o].src);this._url=0<e.length?n:[i.src]}else{v(this._url)||(this._url=[this._url]),!this.options.keepAspectRatio&&i.style.hasOwnProperty("objectFit")&&(i.style.objectFit="fill"),i.autoplay=!!this.options.autoplay,i.loop=!!this.options.loop;for(var s=0;s<this._url.length;s++){var r=hi("source");r.src=this._url[s],i.appendChild(r)}}}});var tn=$e.extend({_initImage:function(){var t=this._image=this._url;pi(t,"leaflet-image-layer"),this._zoomAnimated&&pi(t,"leaflet-zoom-animated"),t.onselectstart=l,t.onmousemove=l}});var en=Se.extend({options:{offset:[0,7],className:"",pane:"popupPane"},initialize:function(t,i){p(this,t),this._source=i},onAdd:function(t){this._zoomAnimated=t._zoomAnimated,this._container||this._initLayout(),t._fadeAnimated&&vi(this._container,0),clearTimeout(this._removeTimeout),this.getPane().appendChild(this._container),this.update(),t._fadeAnimated&&vi(this._container,1),this.bringToFront()},onRemove:function(t){t._fadeAnimated?(vi(this._container,0),this._removeTimeout=setTimeout(a(ui,void 0,this._container),200)):ui(this._container)},getLatLng:function(){return this._latlng},setLatLng:function(t){return this._latlng=W(t),this._map&&(this._updatePosition(),this._adjustPan()),this},getContent:function(){return this._content},setContent:function(t){return this._content=t,this.update(),this},getElement:function(){return this._container},update:function(){this._map&&(this._container.style.visibility="hidden",this._updateContent(),this._updateLayout(),this._updatePosition(),this._container.style.visibility="",this._adjustPan())},getEvents:function(){var t={zoom:this._updatePosition,viewreset:this._updatePosition};return this._zoomAnimated&&(t.zoomanim=this._animateZoom),t},isOpen:function(){return!!this._map&&this._map.hasLayer(this)},bringToFront:function(){return this._map&&ci(this._container),this},bringToBack:function(){return this._map&&_i(this._container),this},_prepareOpen:function(t,i,e){if(i instanceof Se||(e=i,i=t),i instanceof Ee)for(var n in t._layers){i=t._layers[n];break}if(!e)if(i.getCenter)e=i.getCenter();else{if(!i.getLatLng)throw new Error("Unable to get source layer LatLng.");e=i.getLatLng()}return this._source=i,this.update(),e},_updateContent:function(){if(this._content){var t=this._contentNode,i="function"==typeof this._content?this._content(this._source||this):this._content;if("string"==typeof i)t.innerHTML=i;else{for(;t.hasChildNodes();)t.removeChild(t.firstChild);t.appendChild(i)}this.fire("contentupdate")}},_updatePosition:function(){if(this._map){var t=this._map.latLngToLayerPoint(this._latlng),i=I(this.options.offset),e=this._getAnchor();this._zoomAnimated?wi(this._container,t.add(e)):i=i.add(t).add(e);var n=this._containerBottom=-i.y,o=this._containerLeft=-Math.round(this._containerWidth/2)+i.x;this._container.style.bottom=n+"px",this._container.style.left=o+"px"}},_getAnchor:function(){return[0,0]}}),nn=en.extend({options:{maxWidth:300,minWidth:50,maxHeight:null,autoPan:!0,autoPanPaddingTopLeft:null,autoPanPaddingBottomRight:null,autoPanPadding:[5,5],keepInView:!1,closeButton:!0,autoClose:!0,closeOnEscapeKey:!0,className:""},openOn:function(t){return t.openPopup(this),this},onAdd:function(t){en.prototype.onAdd.call(this,t),t.fire("popupopen",{popup:this}),this._source&&(this._source.fire("popupopen",{popup:this},!0),this._source instanceof Oe||this._source.on("preclick",Oi))},onRemove:function(t){en.prototype.onRemove.call(this,t),t.fire("popupclose",{popup:this}),this._source&&(this._source.fire("popupclose",{popup:this},!0),this._source instanceof Oe||this._source.off("preclick",Oi))},getEvents:function(){var t=en.prototype.getEvents.call(this);return(void 0!==this.options.closeOnClick?this.options.closeOnClick:this._map.options.closePopupOnClick)&&(t.preclick=this._close),this.options.keepInView&&(t.moveend=this._adjustPan),t},_close:function(){this._map&&this._map.closePopup(this)},_initLayout:function(){var t="leaflet-popup",i=this._container=hi("div",t+" "+(this.options.className||"")+" leaflet-zoom-animated"),e=this._wrapper=hi("div",t+"-content-wrapper",i);if(this._contentNode=hi("div",t+"-content",e),Ni(e),Ri(this._contentNode),Ei(e,"contextmenu",Oi),this._tipContainer=hi("div",t+"-tip-container",i),this._tip=hi("div",t+"-tip",this._tipContainer),this.options.closeButton){var n=this._closeButton=hi("a",t+"-close-button",i);n.href="#close",n.innerHTML="&#215;",Ei(n,"click",this._onCloseButtonClick,this)}},_updateLayout:function(){var t=this._contentNode,i=t.style;i.width="",i.whiteSpace="nowrap";var e=t.offsetWidth;e=Math.min(e,this.options.maxWidth),e=Math.max(e,this.options.minWidth),i.width=e+1+"px",i.whiteSpace="",i.height="";var n=t.offsetHeight,o=this.options.maxHeight,s="leaflet-popup-scrolled";o&&o<n?(i.height=o+"px",pi(t,s)):mi(t,s),this._containerWidth=this._container.offsetWidth},_animateZoom:function(t){var i=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center),e=this._getAnchor();wi(this._container,i.add(e))},_adjustPan:function(){if(this.options.autoPan){this._map._panAnim&&this._map._panAnim.stop();var t=this._map,i=parseInt(ai(this._container,"marginBottom"),10)||0,e=this._container.offsetHeight+i,n=this._containerWidth,o=new B(this._containerLeft,-e-this._containerBottom);o._add(Pi(this._container));var s=t.layerPointToContainerPoint(o),r=I(this.options.autoPanPadding),a=I(this.options.autoPanPaddingTopLeft||r),h=I(this.options.autoPanPaddingBottomRight||r),u=t.getSize(),l=0,c=0;s.x+n+h.x>u.x&&(l=s.x+n-u.x+h.x),s.x-l-a.x<0&&(l=s.x-a.x),s.y+e+h.y>u.y&&(c=s.y+e-u.y+h.y),s.y-c-a.y<0&&(c=s.y-a.y),(l||c)&&t.fire("autopanstart").panBy([l,c])}},_onCloseButtonClick:function(t){this._close(),ji(t)},_getAnchor:function(){return I(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}});Ji.mergeOptions({closePopupOnClick:!0}),Ji.include({openPopup:function(t,i,e){return t instanceof nn||(t=new nn(e).setContent(t)),i&&t.setLatLng(i),this.hasLayer(t)?this:(this._popup&&this._popup.options.autoClose&&this.closePopup(),this._popup=t,this.addLayer(t))},closePopup:function(t){return t&&t!==this._popup||(t=this._popup,this._popup=null),t&&this.removeLayer(t),this}}),Se.include({bindPopup:function(t,i){return t instanceof nn?(p(t,i),(this._popup=t)._source=this):(this._popup&&!i||(this._popup=new nn(i,this)),this._popup.setContent(t)),this._popupHandlersAdded||(this.on({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!0),this},unbindPopup:function(){return this._popup&&(this.off({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!1,this._popup=null),this},openPopup:function(t,i){return this._popup&&this._map&&(i=this._popup._prepareOpen(this,t,i),this._map.openPopup(this._popup,i)),this},closePopup:function(){return this._popup&&this._popup._close(),this},togglePopup:function(t){return this._popup&&(this._popup._map?this.closePopup():this.openPopup(t)),this},isPopupOpen:function(){return!!this._popup&&this._popup.isOpen()},setPopupContent:function(t){return this._popup&&this._popup.setContent(t),this},getPopup:function(){return this._popup},_openPopup:function(t){var i=t.layer||t.target;this._popup&&this._map&&(ji(t),i instanceof Oe?this.openPopup(t.layer||t.target,t.latlng):this._map.hasLayer(this._popup)&&this._popup._source===i?this.closePopup():this.openPopup(i,t.latlng))},_movePopup:function(t){this._popup.setLatLng(t.latlng)},_onKeyPress:function(t){13===t.originalEvent.keyCode&&this._openPopup(t)}});var on=en.extend({options:{pane:"tooltipPane",offset:[0,0],direction:"auto",permanent:!1,sticky:!1,interactive:!1,opacity:.9},onAdd:function(t){en.prototype.onAdd.call(this,t),this.setOpacity(this.options.opacity),t.fire("tooltipopen",{tooltip:this}),this._source&&this._source.fire("tooltipopen",{tooltip:this},!0)},onRemove:function(t){en.prototype.onRemove.call(this,t),t.fire("tooltipclose",{tooltip:this}),this._source&&this._source.fire("tooltipclose",{tooltip:this},!0)},getEvents:function(){var t=en.prototype.getEvents.call(this);return Tt&&!this.options.permanent&&(t.preclick=this._close),t},_close:function(){this._map&&this._map.closeTooltip(this)},_initLayout:function(){var t="leaflet-tooltip "+(this.options.className||"")+" leaflet-zoom-"+(this._zoomAnimated?"animated":"hide");this._contentNode=this._container=hi("div",t)},_updateLayout:function(){},_adjustPan:function(){},_setPosition:function(t){var i=this._map,e=this._container,n=i.latLngToContainerPoint(i.getCenter()),o=i.layerPointToContainerPoint(t),s=this.options.direction,r=e.offsetWidth,a=e.offsetHeight,h=I(this.options.offset),u=this._getAnchor();t="top"===s?t.add(I(-r/2+h.x,-a+h.y+u.y,!0)):"bottom"===s?t.subtract(I(r/2-h.x,-h.y,!0)):"center"===s?t.subtract(I(r/2+h.x,a/2-u.y+h.y,!0)):"right"===s||"auto"===s&&o.x<n.x?(s="right",t.add(I(h.x+u.x,u.y-a/2+h.y,!0))):(s="left",t.subtract(I(r+u.x-h.x,a/2-u.y-h.y,!0))),mi(e,"leaflet-tooltip-right"),mi(e,"leaflet-tooltip-left"),mi(e,"leaflet-tooltip-top"),mi(e,"leaflet-tooltip-bottom"),pi(e,"leaflet-tooltip-"+s),wi(e,t)},_updatePosition:function(){var t=this._map.latLngToLayerPoint(this._latlng);this._setPosition(t)},setOpacity:function(t){this.options.opacity=t,this._container&&vi(this._container,t)},_animateZoom:function(t){var i=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center);this._setPosition(i)},_getAnchor:function(){return I(this._source&&this._source._getTooltipAnchor&&!this.options.sticky?this._source._getTooltipAnchor():[0,0])}});Ji.include({openTooltip:function(t,i,e){return t instanceof on||(t=new on(e).setContent(t)),i&&t.setLatLng(i),this.hasLayer(t)?this:this.addLayer(t)},closeTooltip:function(t){return t&&this.removeLayer(t),this}}),Se.include({bindTooltip:function(t,i){return t instanceof on?(p(t,i),(this._tooltip=t)._source=this):(this._tooltip&&!i||(this._tooltip=new on(i,this)),this._tooltip.setContent(t)),this._initTooltipInteractions(),this._tooltip.options.permanent&&this._map&&this._map.hasLayer(this)&&this.openTooltip(),this},unbindTooltip:function(){return this._tooltip&&(this._initTooltipInteractions(!0),this.closeTooltip(),this._tooltip=null),this},_initTooltipInteractions:function(t){if(t||!this._tooltipHandlersAdded){var i=t?"off":"on",e={remove:this.closeTooltip,move:this._moveTooltip};this._tooltip.options.permanent?e.add=this._openTooltip:(e.mouseover=this._openTooltip,e.mouseout=this.closeTooltip,this._tooltip.options.sticky&&(e.mousemove=this._moveTooltip),Tt&&(e.click=this._openTooltip)),this[i](e),this._tooltipHandlersAdded=!t}},openTooltip:function(t,i){return this._tooltip&&this._map&&(i=this._tooltip._prepareOpen(this,t,i),this._map.openTooltip(this._tooltip,i),this._tooltip.options.interactive&&this._tooltip._container&&(pi(this._tooltip._container,"leaflet-clickable"),this.addInteractiveTarget(this._tooltip._container))),this},closeTooltip:function(){return this._tooltip&&(this._tooltip._close(),this._tooltip.options.interactive&&this._tooltip._container&&(mi(this._tooltip._container,"leaflet-clickable"),this.removeInteractiveTarget(this._tooltip._container))),this},toggleTooltip:function(t){return this._tooltip&&(this._tooltip._map?this.closeTooltip():this.openTooltip(t)),this},isTooltipOpen:function(){return this._tooltip.isOpen()},setTooltipContent:function(t){return this._tooltip&&this._tooltip.setContent(t),this},getTooltip:function(){return this._tooltip},_openTooltip:function(t){var i=t.layer||t.target;this._tooltip&&this._map&&this.openTooltip(i,this._tooltip.options.sticky?t.latlng:void 0)},_moveTooltip:function(t){var i,e,n=t.latlng;this._tooltip.options.sticky&&t.originalEvent&&(i=this._map.mouseEventToContainerPoint(t.originalEvent),e=this._map.containerPointToLayerPoint(i),n=this._map.layerPointToLatLng(e)),this._tooltip.setLatLng(n)}});var sn=ke.extend({options:{iconSize:[12,12],html:!1,bgPos:null,className:"leaflet-div-icon"},createIcon:function(t){var i=t&&"DIV"===t.tagName?t:document.createElement("div"),e=this.options;if(e.html instanceof Element?(li(i),i.appendChild(e.html)):i.innerHTML=!1!==e.html?e.html:"",e.bgPos){var n=I(e.bgPos);i.style.backgroundPosition=-n.x+"px "+-n.y+"px"}return this._setIconStyles(i,"icon"),i},createShadow:function(){return null}});ke.Default=Be;var rn=Se.extend({options:{tileSize:256,opacity:1,updateWhenIdle:xt,updateWhenZooming:!0,updateInterval:200,zIndex:1,bounds:null,minZoom:0,maxZoom:void 0,maxNativeZoom:void 0,minNativeZoom:void 0,noWrap:!1,pane:"tilePane",className:"",keepBuffer:2},initialize:function(t){p(this,t)},onAdd:function(){this._initContainer(),this._levels={},this._tiles={},this._resetView(),this._update()},beforeAdd:function(t){t._addZoomLimit(this)},onRemove:function(t){this._removeAllTiles(),ui(this._container),t._removeZoomLimit(this),this._container=null,this._tileZoom=void 0},bringToFront:function(){return this._map&&(ci(this._container),this._setAutoZIndex(Math.max)),this},bringToBack:function(){return this._map&&(_i(this._container),this._setAutoZIndex(Math.min)),this},getContainer:function(){return this._container},setOpacity:function(t){return this.options.opacity=t,this._updateOpacity(),this},setZIndex:function(t){return this.options.zIndex=t,this._updateZIndex(),this},isLoading:function(){return this._loading},redraw:function(){return this._map&&(this._removeAllTiles(),this._update()),this},getEvents:function(){var t={viewprereset:this._invalidateAll,viewreset:this._resetView,zoom:this._resetView,moveend:this._onMoveEnd};return this.options.updateWhenIdle||(this._onMove||(this._onMove=o(this._onMoveEnd,this.options.updateInterval,this)),t.move=this._onMove),this._zoomAnimated&&(t.zoomanim=this._animateZoom),t},createTile:function(){return document.createElement("div")},getTileSize:function(){var t=this.options.tileSize;return t instanceof B?t:new B(t,t)},_updateZIndex:function(){this._container&&void 0!==this.options.zIndex&&null!==this.options.zIndex&&(this._container.style.zIndex=this.options.zIndex)},_setAutoZIndex:function(t){for(var i,e=this.getPane().children,n=-t(-1/0,1/0),o=0,s=e.length;o<s;o++)i=e[o].style.zIndex,e[o]!==this._container&&i&&(n=t(n,+i));isFinite(n)&&(this.options.zIndex=n+t(-1,1),this._updateZIndex())},_updateOpacity:function(){if(this._map&&!et){vi(this._container,this.options.opacity);var t=+new Date,i=!1,e=!1;for(var n in this._tiles){var o=this._tiles[n];if(o.current&&o.loaded){var s=Math.min(1,(t-o.loaded)/200);vi(o.el,s),s<1?i=!0:(o.active?e=!0:this._onOpaqueTile(o),o.active=!0)}}e&&!this._noPrune&&this._pruneTiles(),i&&(C(this._fadeFrame),this._fadeFrame=M(this._updateOpacity,this))}},_onOpaqueTile:l,_initContainer:function(){this._container||(this._container=hi("div","leaflet-layer "+(this.options.className||"")),this._updateZIndex(),this.options.opacity<1&&this._updateOpacity(),this.getPane().appendChild(this._container))},_updateLevels:function(){var t=this._tileZoom,i=this.options.maxZoom;if(void 0!==t){for(var e in this._levels)this._levels[e].el.children.length||e===t?(this._levels[e].el.style.zIndex=i-Math.abs(t-e),this._onUpdateLevel(e)):(ui(this._levels[e].el),this._removeTilesAtZoom(e),this._onRemoveLevel(e),delete this._levels[e]);var n=this._levels[t],o=this._map;return n||((n=this._levels[t]={}).el=hi("div","leaflet-tile-container leaflet-zoom-animated",this._container),n.el.style.zIndex=i,n.origin=o.project(o.unproject(o.getPixelOrigin()),t).round(),n.zoom=t,this._setZoomTransform(n,o.getCenter(),o.getZoom()),n.el.offsetWidth,this._onCreateLevel(n)),this._level=n}},_onUpdateLevel:l,_onRemoveLevel:l,_onCreateLevel:l,_pruneTiles:function(){if(this._map){var t,i,e=this._map.getZoom();if(e>this.options.maxZoom||e<this.options.minZoom)this._removeAllTiles();else{for(t in this._tiles)(i=this._tiles[t]).retain=i.current;for(t in this._tiles)if((i=this._tiles[t]).current&&!i.active){var n=i.coords;this._retainParent(n.x,n.y,n.z,n.z-5)||this._retainChildren(n.x,n.y,n.z,n.z+2)}for(t in this._tiles)this._tiles[t].retain||this._removeTile(t)}}},_removeTilesAtZoom:function(t){for(var i in this._tiles)this._tiles[i].coords.z===t&&this._removeTile(i)},_removeAllTiles:function(){for(var t in this._tiles)this._removeTile(t)},_invalidateAll:function(){for(var t in this._levels)ui(this._levels[t].el),this._onRemoveLevel(t),delete this._levels[t];this._removeAllTiles(),this._tileZoom=void 0},_retainParent:function(t,i,e,n){var o=Math.floor(t/2),s=Math.floor(i/2),r=e-1,a=new B(+o,+s);a.z=+r;var h=this._tileCoordsToKey(a),u=this._tiles[h];return u&&u.active?u.retain=!0:(u&&u.loaded&&(u.retain=!0),n<r&&this._retainParent(o,s,r,n))},_retainChildren:function(t,i,e,n){for(var o=2*t;o<2*t+2;o++)for(var s=2*i;s<2*i+2;s++){var r=new B(o,s);r.z=e+1;var a=this._tileCoordsToKey(r),h=this._tiles[a];h&&h.active?h.retain=!0:(h&&h.loaded&&(h.retain=!0),e+1<n&&this._retainChildren(o,s,e+1,n))}},_resetView:function(t){var i=t&&(t.pinch||t.flyTo);this._setView(this._map.getCenter(),this._map.getZoom(),i,i)},_animateZoom:function(t){this._setView(t.center,t.zoom,!0,t.noUpdate)},_clampZoom:function(t){var i=this.options;return void 0!==i.minNativeZoom&&t<i.minNativeZoom?i.minNativeZoom:void 0!==i.maxNativeZoom&&i.maxNativeZoom<t?i.maxNativeZoom:t},_setView:function(t,i,e,n){var o=this._clampZoom(Math.round(i));(void 0!==this.options.maxZoom&&o>this.options.maxZoom||void 0!==this.options.minZoom&&o<this.options.minZoom)&&(o=void 0);var s=this.options.updateWhenZooming&&o!==this._tileZoom;n&&!s||(this._tileZoom=o,this._abortLoading&&this._abortLoading(),this._updateLevels(),this._resetGrid(),void 0!==o&&this._update(t),e||this._pruneTiles(),this._noPrune=!!e),this._setZoomTransforms(t,i)},_setZoomTransforms:function(t,i){for(var e in this._levels)this._setZoomTransform(this._levels[e],t,i)},_setZoomTransform:function(t,i,e){var n=this._map.getZoomScale(e,t.zoom),o=t.origin.multiplyBy(n).subtract(this._map._getNewPixelOrigin(i,e)).round();yt?xi(t.el,o,n):wi(t.el,o)},_resetGrid:function(){var t=this._map,i=t.options.crs,e=this._tileSize=this.getTileSize(),n=this._tileZoom,o=this._map.getPixelWorldBounds(this._tileZoom);o&&(this._globalTileRange=this._pxBoundsToTileRange(o)),this._wrapX=i.wrapLng&&!this.options.noWrap&&[Math.floor(t.project([0,i.wrapLng[0]],n).x/e.x),Math.ceil(t.project([0,i.wrapLng[1]],n).x/e.y)],this._wrapY=i.wrapLat&&!this.options.noWrap&&[Math.floor(t.project([i.wrapLat[0],0],n).y/e.x),Math.ceil(t.project([i.wrapLat[1],0],n).y/e.y)]},_onMoveEnd:function(){this._map&&!this._map._animatingZoom&&this._update()},_getTiledPixelBounds:function(t){var i=this._map,e=i._animatingZoom?Math.max(i._animateToZoom,i.getZoom()):i.getZoom(),n=i.getZoomScale(e,this._tileZoom),o=i.project(t,this._tileZoom).floor(),s=i.getSize().divideBy(2*n);return new O(o.subtract(s),o.add(s))},_update:function(t){var i=this._map;if(i){var e=this._clampZoom(i.getZoom());if(void 0===t&&(t=i.getCenter()),void 0!==this._tileZoom){var n=this._getTiledPixelBounds(t),o=this._pxBoundsToTileRange(n),s=o.getCenter(),r=[],a=this.options.keepBuffer,h=new O(o.getBottomLeft().subtract([a,-a]),o.getTopRight().add([a,-a]));if(!(isFinite(o.min.x)&&isFinite(o.min.y)&&isFinite(o.max.x)&&isFinite(o.max.y)))throw new Error("Attempted to load an infinite number of tiles");for(var u in this._tiles){var l=this._tiles[u].coords;l.z===this._tileZoom&&h.contains(new B(l.x,l.y))||(this._tiles[u].current=!1)}if(1<Math.abs(e-this._tileZoom))this._setView(t,e);else{for(var c=o.min.y;c<=o.max.y;c++)for(var _=o.min.x;_<=o.max.x;_++){var d=new B(_,c);if(d.z=this._tileZoom,this._isValidTile(d)){var p=this._tiles[this._tileCoordsToKey(d)];p?p.current=!0:r.push(d)}}if(r.sort(function(t,i){return t.distanceTo(s)-i.distanceTo(s)}),0!==r.length){this._loading||(this._loading=!0,this.fire("loading"));var m=document.createDocumentFragment();for(_=0;_<r.length;_++)this._addTile(r[_],m);this._level.el.appendChild(m)}}}}},_isValidTile:function(t){var i=this._map.options.crs;if(!i.infinite){var e=this._globalTileRange;if(!i.wrapLng&&(t.x<e.min.x||t.x>e.max.x)||!i.wrapLat&&(t.y<e.min.y||t.y>e.max.y))return!1}if(!this.options.bounds)return!0;var n=this._tileCoordsToBounds(t);return D(this.options.bounds).overlaps(n)},_keyToBounds:function(t){return this._tileCoordsToBounds(this._keyToTileCoords(t))},_tileCoordsToNwSe:function(t){var i=this._map,e=this.getTileSize(),n=t.scaleBy(e),o=n.add(e);return[i.unproject(n,t.z),i.unproject(o,t.z)]},_tileCoordsToBounds:function(t){var i=this._tileCoordsToNwSe(t),e=new N(i[0],i[1]);return this.options.noWrap||(e=this._map.wrapLatLngBounds(e)),e},_tileCoordsToKey:function(t){return t.x+":"+t.y+":"+t.z},_keyToTileCoords:function(t){var i=t.split(":"),e=new B(+i[0],+i[1]);return e.z=+i[2],e},_removeTile:function(t){var i=this._tiles[t];i&&(ui(i.el),delete this._tiles[t],this.fire("tileunload",{tile:i.el,coords:this._keyToTileCoords(t)}))},_initTile:function(t){pi(t,"leaflet-tile");var i=this.getTileSize();t.style.width=i.x+"px",t.style.height=i.y+"px",t.onselectstart=l,t.onmousemove=l,et&&this.options.opacity<1&&vi(t,this.options.opacity),st&&!rt&&(t.style.WebkitBackfaceVisibility="hidden")},_addTile:function(t,i){var e=this._getTilePos(t),n=this._tileCoordsToKey(t),o=this.createTile(this._wrapCoords(t),a(this._tileReady,this,t));this._initTile(o),this.createTile.length<2&&M(a(this._tileReady,this,t,null,o)),wi(o,e),this._tiles[n]={el:o,coords:t,current:!0},i.appendChild(o),this.fire("tileloadstart",{tile:o,coords:t})},_tileReady:function(t,i,e){i&&this.fire("tileerror",{error:i,tile:e,coords:t});var n=this._tileCoordsToKey(t);(e=this._tiles[n])&&(e.loaded=+new Date,this._map._fadeAnimated?(vi(e.el,0),C(this._fadeFrame),this._fadeFrame=M(this._updateOpacity,this)):(e.active=!0,this._pruneTiles()),i||(pi(e.el,"leaflet-tile-loaded"),this.fire("tileload",{tile:e.el,coords:t})),this._noTilesToLoad()&&(this._loading=!1,this.fire("load"),et||!this._map._fadeAnimated?M(this._pruneTiles,this):setTimeout(a(this._pruneTiles,this),250)))},_getTilePos:function(t){return t.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(t){var i=new B(this._wrapX?r(t.x,this._wrapX):t.x,this._wrapY?r(t.y,this._wrapY):t.y);return i.z=t.z,i},_pxBoundsToTileRange:function(t){var i=this.getTileSize();return new O(t.min.unscaleBy(i).floor(),t.max.unscaleBy(i).ceil().subtract([1,1]))},_noTilesToLoad:function(){for(var t in this._tiles)if(!this._tiles[t].loaded)return!1;return!0}});var an=rn.extend({options:{minZoom:0,maxZoom:18,subdomains:"abc",errorTileUrl:"",zoomOffset:0,tms:!1,zoomReverse:!1,detectRetina:!1,crossOrigin:!1},initialize:function(t,i){this._url=t,(i=p(this,i)).detectRetina&&Ct&&0<i.maxZoom&&(i.tileSize=Math.floor(i.tileSize/2),i.zoomReverse?(i.zoomOffset--,i.minZoom++):(i.zoomOffset++,i.maxZoom--),i.minZoom=Math.max(0,i.minZoom)),"string"==typeof i.subdomains&&(i.subdomains=i.subdomains.split("")),st||this.on("tileunload",this._onTileRemove)},setUrl:function(t,i){return this._url===t&&void 0===i&&(i=!0),this._url=t,i||this.redraw(),this},createTile:function(t,i){var e=document.createElement("img");return Ei(e,"load",a(this._tileOnLoad,this,i,e)),Ei(e,"error",a(this._tileOnError,this,i,e)),!this.options.crossOrigin&&""!==this.options.crossOrigin||(e.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),e.alt="",e.setAttribute("role","presentation"),e.src=this.getTileUrl(t),e},getTileUrl:function(t){var i={r:Ct?"@2x":"",s:this._getSubdomain(t),x:t.x,y:t.y,z:this._getZoomForUrl()};if(this._map&&!this._map.options.crs.infinite){var e=this._globalTileRange.max.y-t.y;this.options.tms&&(i.y=e),i["-y"]=e}return g(this._url,h(i,this.options))},_tileOnLoad:function(t,i){et?setTimeout(a(t,this,null,i),0):t(null,i)},_tileOnError:function(t,i,e){var n=this.options.errorTileUrl;n&&i.getAttribute("src")!==n&&(i.src=n),t(e,i)},_onTileRemove:function(t){t.tile.onload=null},_getZoomForUrl:function(){var t=this._tileZoom,i=this.options.maxZoom;return this.options.zoomReverse&&(t=i-t),t+this.options.zoomOffset},_getSubdomain:function(t){var i=Math.abs(t.x+t.y)%this.options.subdomains.length;return this.options.subdomains[i]},_abortLoading:function(){var t,i;for(t in this._tiles)this._tiles[t].coords.z!==this._tileZoom&&((i=this._tiles[t].el).onload=l,i.onerror=l,i.complete||(i.src=x,ui(i),delete this._tiles[t]))},_removeTile:function(t){var i=this._tiles[t];if(i)return ht||i.el.setAttribute("src",x),rn.prototype._removeTile.call(this,t)},_tileReady:function(t,i,e){if(this._map&&(!e||e.getAttribute("src")!==x))return rn.prototype._tileReady.call(this,t,i,e)}});function hn(t,i){return new an(t,i)}var un=an.extend({defaultWmsParams:{service:"WMS",request:"GetMap",layers:"",styles:"",format:"image/jpeg",transparent:!1,version:"1.1.1"},options:{crs:null,uppercase:!1},initialize:function(t,i){this._url=t;var e=h({},this.defaultWmsParams);for(var n in i)n in this.options||(e[n]=i[n]);var o=(i=p(this,i)).detectRetina&&Ct?2:1,s=this.getTileSize();e.width=s.x*o,e.height=s.y*o,this.wmsParams=e},onAdd:function(t){this._crs=this.options.crs||t.options.crs,this._wmsVersion=parseFloat(this.wmsParams.version);var i=1.3<=this._wmsVersion?"crs":"srs";this.wmsParams[i]=this._crs.code,an.prototype.onAdd.call(this,t)},getTileUrl:function(t){var i=this._tileCoordsToNwSe(t),e=this._crs,n=R(e.project(i[0]),e.project(i[1])),o=n.min,s=n.max,r=(1.3<=this._wmsVersion&&this._crs===Me?[o.y,o.x,s.y,s.x]:[o.x,o.y,s.x,s.y]).join(","),a=an.prototype.getTileUrl.call(this,t);return a+m(this.wmsParams,a,this.options.uppercase)+(this.options.uppercase?"&BBOX=":"&bbox=")+r},setParams:function(t,i){return h(this.wmsParams,t),i||this.redraw(),this}});an.WMS=un,hn.wms=function(t,i){return new un(t,i)};var ln=Se.extend({options:{padding:.1,tolerance:0},initialize:function(t){p(this,t),u(this),this._layers=this._layers||{}},onAdd:function(){this._container||(this._initContainer(),this._zoomAnimated&&pi(this._container,"leaflet-zoom-animated")),this.getPane().appendChild(this._container),this._update(),this.on("update",this._updatePaths,this)},onRemove:function(){this.off("update",this._updatePaths,this),this._destroyContainer()},getEvents:function(){var t={viewreset:this._reset,zoom:this._onZoom,moveend:this._update,zoomend:this._onZoomEnd};return this._zoomAnimated&&(t.zoomanim=this._onAnimZoom),t},_onAnimZoom:function(t){this._updateTransform(t.center,t.zoom)},_onZoom:function(){this._updateTransform(this._map.getCenter(),this._map.getZoom())},_updateTransform:function(t,i){var e=this._map.getZoomScale(i,this._zoom),n=Pi(this._container),o=this._map.getSize().multiplyBy(.5+this.options.padding),s=this._map.project(this._center,i),r=this._map.project(t,i).subtract(s),a=o.multiplyBy(-e).add(n).add(o).subtract(r);yt?xi(this._container,a,e):wi(this._container,a)},_reset:function(){for(var t in this._update(),this._updateTransform(this._center,this._zoom),this._layers)this._layers[t]._reset()},_onZoomEnd:function(){for(var t in this._layers)this._layers[t]._project()},_updatePaths:function(){for(var t in this._layers)this._layers[t]._update()},_update:function(){var t=this.options.padding,i=this._map.getSize(),e=this._map.containerPointToLayerPoint(i.multiplyBy(-t)).round();this._bounds=new O(e,e.add(i.multiplyBy(1+2*t)).round()),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}}),cn=ln.extend({getEvents:function(){var t=ln.prototype.getEvents.call(this);return t.viewprereset=this._onViewPreReset,t},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){ln.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var t=this._container=document.createElement("canvas");Ei(t,"mousemove",o(this._onMouseMove,32,this),this),Ei(t,"click dblclick mousedown mouseup contextmenu",this._onClick,this),Ei(t,"mouseout",this._handleMouseOut,this),this._ctx=t.getContext("2d")},_destroyContainer:function(){C(this._redrawRequest),delete this._ctx,ui(this._container),Bi(this._container),delete this._container},_updatePaths:function(){if(!this._postponeUpdatePaths){for(var t in this._redrawBounds=null,this._layers)this._layers[t]._update();this._redraw()}},_update:function(){if(!this._map._animatingZoom||!this._bounds){ln.prototype._update.call(this);var t=this._bounds,i=this._container,e=t.getSize(),n=Ct?2:1;wi(i,t.min),i.width=n*e.x,i.height=n*e.y,i.style.width=e.x+"px",i.style.height=e.y+"px",Ct&&this._ctx.scale(2,2),this._ctx.translate(-t.min.x,-t.min.y),this.fire("update")}},_reset:function(){ln.prototype._reset.call(this),this._postponeUpdatePaths&&(this._postponeUpdatePaths=!1,this._updatePaths())},_initPath:function(t){this._updateDashArray(t);var i=(this._layers[u(t)]=t)._order={layer:t,prev:this._drawLast,next:null};this._drawLast&&(this._drawLast.next=i),this._drawLast=i,this._drawFirst=this._drawFirst||this._drawLast},_addPath:function(t){this._requestRedraw(t)},_removePath:function(t){var i=t._order,e=i.next,n=i.prev;e?e.prev=n:this._drawLast=n,n?n.next=e:this._drawFirst=e,delete t._order,delete this._layers[u(t)],this._requestRedraw(t)},_updatePath:function(t){this._extendRedrawBounds(t),t._project(),t._update(),this._requestRedraw(t)},_updateStyle:function(t){this._updateDashArray(t),this._requestRedraw(t)},_updateDashArray:function(t){if("string"==typeof t.options.dashArray){var i,e,n=t.options.dashArray.split(/[, ]+/),o=[];for(e=0;e<n.length;e++){if(i=Number(n[e]),isNaN(i))return;o.push(i)}t.options._dashArray=o}else t.options._dashArray=t.options.dashArray},_requestRedraw:function(t){this._map&&(this._extendRedrawBounds(t),this._redrawRequest=this._redrawRequest||M(this._redraw,this))},_extendRedrawBounds:function(t){if(t._pxBounds){var i=(t.options.weight||0)+1;this._redrawBounds=this._redrawBounds||new O,this._redrawBounds.extend(t._pxBounds.min.subtract([i,i])),this._redrawBounds.extend(t._pxBounds.max.add([i,i]))}},_redraw:function(){this._redrawRequest=null,this._redrawBounds&&(this._redrawBounds.min._floor(),this._redrawBounds.max._ceil()),this._clear(),this._draw(),this._redrawBounds=null},_clear:function(){var t=this._redrawBounds;if(t){var i=t.getSize();this._ctx.clearRect(t.min.x,t.min.y,i.x,i.y)}else this._ctx.clearRect(0,0,this._container.width,this._container.height)},_draw:function(){var t,i=this._redrawBounds;if(this._ctx.save(),i){var e=i.getSize();this._ctx.beginPath(),this._ctx.rect(i.min.x,i.min.y,e.x,e.y),this._ctx.clip()}this._drawing=!0;for(var n=this._drawFirst;n;n=n.next)t=n.layer,(!i||t._pxBounds&&t._pxBounds.intersects(i))&&t._updatePath();this._drawing=!1,this._ctx.restore()},_updatePoly:function(t,i){if(this._drawing){var e,n,o,s,r=t._parts,a=r.length,h=this._ctx;if(a){for(h.beginPath(),e=0;e<a;e++){for(n=0,o=r[e].length;n<o;n++)s=r[e][n],h[n?"lineTo":"moveTo"](s.x,s.y);i&&h.closePath()}this._fillStroke(h,t)}}},_updateCircle:function(t){if(this._drawing&&!t._empty()){var i=t._point,e=this._ctx,n=Math.max(Math.round(t._radius),1),o=(Math.max(Math.round(t._radiusY),1)||n)/n;1!=o&&(e.save(),e.scale(1,o)),e.beginPath(),e.arc(i.x,i.y/o,n,0,2*Math.PI,!1),1!=o&&e.restore(),this._fillStroke(e,t)}},_fillStroke:function(t,i){var e=i.options;e.fill&&(t.globalAlpha=e.fillOpacity,t.fillStyle=e.fillColor||e.color,t.fill(e.fillRule||"evenodd")),e.stroke&&0!==e.weight&&(t.setLineDash&&t.setLineDash(i.options&&i.options._dashArray||[]),t.globalAlpha=e.opacity,t.lineWidth=e.weight,t.strokeStyle=e.color,t.lineCap=e.lineCap,t.lineJoin=e.lineJoin,t.stroke())},_onClick:function(t){for(var i,e,n=this._map.mouseEventToLayerPoint(t),o=this._drawFirst;o;o=o.next)(i=o.layer).options.interactive&&i._containsPoint(n)&&!this._map._draggableMoved(i)&&(e=i);e&&(qi(t),this._fireEvent([e],t))},_onMouseMove:function(t){if(this._map&&!this._map.dragging.moving()&&!this._map._animatingZoom){var i=this._map.mouseEventToLayerPoint(t);this._handleMouseHover(t,i)}},_handleMouseOut:function(t){var i=this._hoveredLayer;i&&(mi(this._container,"leaflet-interactive"),this._fireEvent([i],t,"mouseout"),this._hoveredLayer=null)},_handleMouseHover:function(t,i){for(var e,n,o=this._drawFirst;o;o=o.next)(e=o.layer).options.interactive&&e._containsPoint(i)&&(n=e);n!==this._hoveredLayer&&(this._handleMouseOut(t),n&&(pi(this._container,"leaflet-interactive"),this._fireEvent([n],t,"mouseover"),this._hoveredLayer=n)),this._hoveredLayer&&this._fireEvent([this._hoveredLayer],t)},_fireEvent:function(t,i,e){this._map._fireDOMEvent(i,e||i.type,t)},_bringToFront:function(t){var i=t._order;if(i){var e=i.next,n=i.prev;e&&((e.prev=n)?n.next=e:e&&(this._drawFirst=e),i.prev=this._drawLast,(this._drawLast.next=i).next=null,this._drawLast=i,this._requestRedraw(t))}},_bringToBack:function(t){var i=t._order;if(i){var e=i.next,n=i.prev;n&&((n.next=e)?e.prev=n:n&&(this._drawLast=n),i.prev=null,i.next=this._drawFirst,this._drawFirst.prev=i,this._drawFirst=i,this._requestRedraw(t))}}});function _n(t){return St?new cn(t):null}var dn=function(){try{return document.namespaces.add("lvml","urn:schemas-microsoft-com:vml"),function(t){return document.createElement("<lvml:"+t+' class="lvml">')}}catch(t){return function(t){return document.createElement("<"+t+' xmlns="urn:schemas-microsoft.com:vml" class="lvml">')}}}(),pn={_initContainer:function(){this._container=hi("div","leaflet-vml-container")},_update:function(){this._map._animatingZoom||(ln.prototype._update.call(this),this.fire("update"))},_initPath:function(t){var i=t._container=dn("shape");pi(i,"leaflet-vml-shape "+(this.options.className||"")),i.coordsize="1 1",t._path=dn("path"),i.appendChild(t._path),this._updateStyle(t),this._layers[u(t)]=t},_addPath:function(t){var i=t._container;this._container.appendChild(i),t.options.interactive&&t.addInteractiveTarget(i)},_removePath:function(t){var i=t._container;ui(i),t.removeInteractiveTarget(i),delete this._layers[u(t)]},_updateStyle:function(t){var i=t._stroke,e=t._fill,n=t.options,o=t._container;o.stroked=!!n.stroke,o.filled=!!n.fill,n.stroke?(i||(i=t._stroke=dn("stroke")),o.appendChild(i),i.weight=n.weight+"px",i.color=n.color,i.opacity=n.opacity,n.dashArray?i.dashStyle=v(n.dashArray)?n.dashArray.join(" "):n.dashArray.replace(/( *, *)/g," "):i.dashStyle="",i.endcap=n.lineCap.replace("butt","flat"),i.joinstyle=n.lineJoin):i&&(o.removeChild(i),t._stroke=null),n.fill?(e||(e=t._fill=dn("fill")),o.appendChild(e),e.color=n.fillColor||n.color,e.opacity=n.fillOpacity):e&&(o.removeChild(e),t._fill=null)},_updateCircle:function(t){var i=t._point.round(),e=Math.round(t._radius),n=Math.round(t._radiusY||e);this._setPath(t,t._empty()?"M0 0":"AL "+i.x+","+i.y+" "+e+","+n+" 0,23592600")},_setPath:function(t,i){t._path.v=i},_bringToFront:function(t){ci(t._container)},_bringToBack:function(t){_i(t._container)}},mn=Et?dn:$,fn=ln.extend({getEvents:function(){var t=ln.prototype.getEvents.call(this);return t.zoomstart=this._onZoomStart,t},_initContainer:function(){this._container=mn("svg"),this._container.setAttribute("pointer-events","none"),this._rootGroup=mn("g"),this._container.appendChild(this._rootGroup)},_destroyContainer:function(){ui(this._container),Bi(this._container),delete this._container,delete this._rootGroup,delete this._svgSize},_onZoomStart:function(){this._update()},_update:function(){if(!this._map._animatingZoom||!this._bounds){ln.prototype._update.call(this);var t=this._bounds,i=t.getSize(),e=this._container;this._svgSize&&this._svgSize.equals(i)||(this._svgSize=i,e.setAttribute("width",i.x),e.setAttribute("height",i.y)),wi(e,t.min),e.setAttribute("viewBox",[t.min.x,t.min.y,i.x,i.y].join(" ")),this.fire("update")}},_initPath:function(t){var i=t._path=mn("path");t.options.className&&pi(i,t.options.className),t.options.interactive&&pi(i,"leaflet-interactive"),this._updateStyle(t),this._layers[u(t)]=t},_addPath:function(t){this._rootGroup||this._initContainer(),this._rootGroup.appendChild(t._path),t.addInteractiveTarget(t._path)},_removePath:function(t){ui(t._path),t.removeInteractiveTarget(t._path),delete this._layers[u(t)]},_updatePath:function(t){t._project(),t._update()},_updateStyle:function(t){var i=t._path,e=t.options;i&&(e.stroke?(i.setAttribute("stroke",e.color),i.setAttribute("stroke-opacity",e.opacity),i.setAttribute("stroke-width",e.weight),i.setAttribute("stroke-linecap",e.lineCap),i.setAttribute("stroke-linejoin",e.lineJoin),e.dashArray?i.setAttribute("stroke-dasharray",e.dashArray):i.removeAttribute("stroke-dasharray"),e.dashOffset?i.setAttribute("stroke-dashoffset",e.dashOffset):i.removeAttribute("stroke-dashoffset")):i.setAttribute("stroke","none"),e.fill?(i.setAttribute("fill",e.fillColor||e.color),i.setAttribute("fill-opacity",e.fillOpacity),i.setAttribute("fill-rule",e.fillRule||"evenodd")):i.setAttribute("fill","none"))},_updatePoly:function(t,i){this._setPath(t,Q(t._parts,i))},_updateCircle:function(t){var i=t._point,e=Math.max(Math.round(t._radius),1),n="a"+e+","+(Math.max(Math.round(t._radiusY),1)||e)+" 0 1,0 ",o=t._empty()?"M0 0":"M"+(i.x-e)+","+i.y+n+2*e+",0 "+n+2*-e+",0 ";this._setPath(t,o)},_setPath:function(t,i){t._path.setAttribute("d",i)},_bringToFront:function(t){ci(t._path)},_bringToBack:function(t){_i(t._path)}});function gn(t){return Zt||Et?new fn(t):null}Et&&fn.include(pn),Ji.include({getRenderer:function(t){var i=t.options.renderer||this._getPaneRenderer(t.options.pane)||this.options.renderer||this._renderer;return i||(i=this._renderer=this._createRenderer()),this.hasLayer(i)||this.addLayer(i),i},_getPaneRenderer:function(t){if("overlayPane"===t||void 0===t)return!1;var i=this._paneRenderers[t];return void 0===i&&(i=this._createRenderer({pane:t}),this._paneRenderers[t]=i),i},_createRenderer:function(t){return this.options.preferCanvas&&_n(t)||gn(t)}});var vn=je.extend({initialize:function(t,i){je.prototype.initialize.call(this,this._boundsToLatLngs(t),i)},setBounds:function(t){return this.setLatLngs(this._boundsToLatLngs(t))},_boundsToLatLngs:function(t){return[(t=D(t)).getSouthWest(),t.getNorthWest(),t.getNorthEast(),t.getSouthEast()]}});fn.create=mn,fn.pointsToPath=Q,We.geometryToLayer=He,We.coordsToLatLng=Fe,We.coordsToLatLngs=Ue,We.latLngToCoords=Ve,We.latLngsToCoords=qe,We.getFeature=Ge,We.asFeature=Ke,Ji.mergeOptions({boxZoom:!0});var yn=oe.extend({initialize:function(t){this._map=t,this._container=t._container,this._pane=t._panes.overlayPane,this._resetStateTimeout=0,t.on("unload",this._destroy,this)},addHooks:function(){Ei(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){Bi(this._container,"mousedown",this._onMouseDown,this)},moved:function(){return this._moved},_destroy:function(){ui(this._pane),delete this._pane},_resetState:function(){this._resetStateTimeout=0,this._moved=!1},_clearDeferredResetState:function(){0!==this._resetStateTimeout&&(clearTimeout(this._resetStateTimeout),this._resetStateTimeout=0)},_onMouseDown:function(t){if(!t.shiftKey||1!==t.which&&1!==t.button)return!1;this._clearDeferredResetState(),this._resetState(),$t(),bi(),this._startPoint=this._map.mouseEventToContainerPoint(t),Ei(document,{contextmenu:ji,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseMove:function(t){this._moved||(this._moved=!0,this._box=hi("div","leaflet-zoom-box",this._container),pi(this._container,"leaflet-crosshair"),this._map.fire("boxzoomstart")),this._point=this._map.mouseEventToContainerPoint(t);var i=new O(this._point,this._startPoint),e=i.getSize();wi(this._box,i.min),this._box.style.width=e.x+"px",this._box.style.height=e.y+"px"},_finish:function(){this._moved&&(ui(this._box),mi(this._container,"leaflet-crosshair")),Qt(),Ti(),Bi(document,{contextmenu:ji,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseUp:function(t){if((1===t.which||1===t.button)&&(this._finish(),this._moved)){this._clearDeferredResetState(),this._resetStateTimeout=setTimeout(a(this._resetState,this),0);var i=new N(this._map.containerPointToLatLng(this._startPoint),this._map.containerPointToLatLng(this._point));this._map.fitBounds(i).fire("boxzoomend",{boxZoomBounds:i})}},_onKeyDown:function(t){27===t.keyCode&&this._finish()}});Ji.addInitHook("addHandler","boxZoom",yn),Ji.mergeOptions({doubleClickZoom:!0});var xn=oe.extend({addHooks:function(){this._map.on("dblclick",this._onDoubleClick,this)},removeHooks:function(){this._map.off("dblclick",this._onDoubleClick,this)},_onDoubleClick:function(t){var i=this._map,e=i.getZoom(),n=i.options.zoomDelta,o=t.originalEvent.shiftKey?e-n:e+n;"center"===i.options.doubleClickZoom?i.setZoom(o):i.setZoomAround(t.containerPoint,o)}});Ji.addInitHook("addHandler","doubleClickZoom",xn),Ji.mergeOptions({dragging:!0,inertia:!rt,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0});var wn=oe.extend({addHooks:function(){if(!this._draggable){var t=this._map;this._draggable=new le(t._mapPane,t._container),this._draggable.on({dragstart:this._onDragStart,drag:this._onDrag,dragend:this._onDragEnd},this),this._draggable.on("predrag",this._onPreDragLimit,this),t.options.worldCopyJump&&(this._draggable.on("predrag",this._onPreDragWrap,this),t.on("zoomend",this._onZoomEnd,this),t.whenReady(this._onZoomEnd,this))}pi(this._map._container,"leaflet-grab leaflet-touch-drag"),this._draggable.enable(),this._positions=[],this._times=[]},removeHooks:function(){mi(this._map._container,"leaflet-grab"),mi(this._map._container,"leaflet-touch-drag"),this._draggable.disable()},moved:function(){return this._draggable&&this._draggable._moved},moving:function(){return this._draggable&&this._draggable._moving},_onDragStart:function(){var t=this._map;if(t._stop(),this._map.options.maxBounds&&this._map.options.maxBoundsViscosity){var i=D(this._map.options.maxBounds);this._offsetLimit=R(this._map.latLngToContainerPoint(i.getNorthWest()).multiplyBy(-1),this._map.latLngToContainerPoint(i.getSouthEast()).multiplyBy(-1).add(this._map.getSize())),this._viscosity=Math.min(1,Math.max(0,this._map.options.maxBoundsViscosity))}else this._offsetLimit=null;t.fire("movestart").fire("dragstart"),t.options.inertia&&(this._positions=[],this._times=[])},_onDrag:function(t){if(this._map.options.inertia){var i=this._lastTime=+new Date,e=this._lastPos=this._draggable._absPos||this._draggable._newPos;this._positions.push(e),this._times.push(i),this._prunePositions(i)}this._map.fire("move",t).fire("drag",t)},_prunePositions:function(t){for(;1<this._positions.length&&50<t-this._times[0];)this._positions.shift(),this._times.shift()},_onZoomEnd:function(){var t=this._map.getSize().divideBy(2),i=this._map.latLngToLayerPoint([0,0]);this._initialWorldOffset=i.subtract(t).x,this._worldWidth=this._map.getPixelWorldBounds().getSize().x},_viscousLimit:function(t,i){return t-(t-i)*this._viscosity},_onPreDragLimit:function(){if(this._viscosity&&this._offsetLimit){var t=this._draggable._newPos.subtract(this._draggable._startPos),i=this._offsetLimit;t.x<i.min.x&&(t.x=this._viscousLimit(t.x,i.min.x)),t.y<i.min.y&&(t.y=this._viscousLimit(t.y,i.min.y)),t.x>i.max.x&&(t.x=this._viscousLimit(t.x,i.max.x)),t.y>i.max.y&&(t.y=this._viscousLimit(t.y,i.max.y)),this._draggable._newPos=this._draggable._startPos.add(t)}},_onPreDragWrap:function(){var t=this._worldWidth,i=Math.round(t/2),e=this._initialWorldOffset,n=this._draggable._newPos.x,o=(n-i+e)%t+i-e,s=(n+i+e)%t-i-e,r=Math.abs(o+e)<Math.abs(s+e)?o:s;this._draggable._absPos=this._draggable._newPos.clone(),this._draggable._newPos.x=r},_onDragEnd:function(t){var i=this._map,e=i.options,n=!e.inertia||this._times.length<2;if(i.fire("dragend",t),n)i.fire("moveend");else{this._prunePositions(+new Date);var o=this._lastPos.subtract(this._positions[0]),s=(this._lastTime-this._times[0])/1e3,r=e.easeLinearity,a=o.multiplyBy(r/s),h=a.distanceTo([0,0]),u=Math.min(e.inertiaMaxSpeed,h),l=a.multiplyBy(u/h),c=u/(e.inertiaDeceleration*r),_=l.multiplyBy(-c/2).round();_.x||_.y?(_=i._limitOffset(_,i.options.maxBounds),M(function(){i.panBy(_,{duration:c,easeLinearity:r,noMoveStart:!0,animate:!0})})):i.fire("moveend")}}});Ji.addInitHook("addHandler","dragging",wn),Ji.mergeOptions({keyboard:!0,keyboardPanDelta:80});var Pn=oe.extend({keyCodes:{left:[37],right:[39],down:[40],up:[38],zoomIn:[187,107,61,171],zoomOut:[189,109,54,173]},initialize:function(t){this._map=t,this._setPanDelta(t.options.keyboardPanDelta),this._setZoomDelta(t.options.zoomDelta)},addHooks:function(){var t=this._map._container;t.tabIndex<=0&&(t.tabIndex="0"),Ei(t,{focus:this._onFocus,blur:this._onBlur,mousedown:this._onMouseDown},this),this._map.on({focus:this._addHooks,blur:this._removeHooks},this)},removeHooks:function(){this._removeHooks(),Bi(this._map._container,{focus:this._onFocus,blur:this._onBlur,mousedown:this._onMouseDown},this),this._map.off({focus:this._addHooks,blur:this._removeHooks},this)},_onMouseDown:function(){if(!this._focused){var t=document.body,i=document.documentElement,e=t.scrollTop||i.scrollTop,n=t.scrollLeft||i.scrollLeft;this._map._container.focus(),window.scrollTo(n,e)}},_onFocus:function(){this._focused=!0,this._map.fire("focus")},_onBlur:function(){this._focused=!1,this._map.fire("blur")},_setPanDelta:function(t){var i,e,n=this._panKeys={},o=this.keyCodes;for(i=0,e=o.left.length;i<e;i++)n[o.left[i]]=[-1*t,0];for(i=0,e=o.right.length;i<e;i++)n[o.right[i]]=[t,0];for(i=0,e=o.down.length;i<e;i++)n[o.down[i]]=[0,t];for(i=0,e=o.up.length;i<e;i++)n[o.up[i]]=[0,-1*t]},_setZoomDelta:function(t){var i,e,n=this._zoomKeys={},o=this.keyCodes;for(i=0,e=o.zoomIn.length;i<e;i++)n[o.zoomIn[i]]=t;for(i=0,e=o.zoomOut.length;i<e;i++)n[o.zoomOut[i]]=-t},_addHooks:function(){Ei(document,"keydown",this._onKeyDown,this)},_removeHooks:function(){Bi(document,"keydown",this._onKeyDown,this)},_onKeyDown:function(t){if(!(t.altKey||t.ctrlKey||t.metaKey)){var i,e=t.keyCode,n=this._map;if(e in this._panKeys)n._panAnim&&n._panAnim._inProgress||(i=this._panKeys[e],t.shiftKey&&(i=I(i).multiplyBy(3)),n.panBy(i),n.options.maxBounds&&n.panInsideBounds(n.options.maxBounds));else if(e in this._zoomKeys)n.setZoom(n.getZoom()+(t.shiftKey?3:1)*this._zoomKeys[e]);else{if(27!==e||!n._popup||!n._popup.options.closeOnEscapeKey)return;n.closePopup()}ji(t)}}});Ji.addInitHook("addHandler","keyboard",Pn),Ji.mergeOptions({scrollWheelZoom:!0,wheelDebounceTime:40,wheelPxPerZoomLevel:60});var Ln=oe.extend({addHooks:function(){Ei(this._map._container,"mousewheel",this._onWheelScroll,this),this._delta=0},removeHooks:function(){Bi(this._map._container,"mousewheel",this._onWheelScroll,this)},_onWheelScroll:function(t){var i=Fi(t),e=this._map.options.wheelDebounceTime;this._delta+=i,this._lastMousePos=this._map.mouseEventToContainerPoint(t),this._startTime||(this._startTime=+new Date);var n=Math.max(e-(+new Date-this._startTime),0);clearTimeout(this._timer),this._timer=setTimeout(a(this._performZoom,this),n),ji(t)},_performZoom:function(){var t=this._map,i=t.getZoom(),e=this._map.options.zoomSnap||0;t._stop();var n=this._delta/(4*this._map.options.wheelPxPerZoomLevel),o=4*Math.log(2/(1+Math.exp(-Math.abs(n))))/Math.LN2,s=e?Math.ceil(o/e)*e:o,r=t._limitZoom(i+(0<this._delta?s:-s))-i;this._delta=0,this._startTime=null,r&&("center"===t.options.scrollWheelZoom?t.setZoom(i+r):t.setZoomAround(this._lastMousePos,i+r))}});Ji.addInitHook("addHandler","scrollWheelZoom",Ln),Ji.mergeOptions({tap:!0,tapTolerance:15});var bn=oe.extend({addHooks:function(){Ei(this._map._container,"touchstart",this._onDown,this)},removeHooks:function(){Bi(this._map._container,"touchstart",this._onDown,this)},_onDown:function(t){if(t.touches){if(Di(t),this._fireClick=!0,1<t.touches.length)return this._fireClick=!1,void clearTimeout(this._holdTimeout);var i=t.touches[0],e=i.target;this._startPos=this._newPos=new B(i.clientX,i.clientY),e.tagName&&"a"===e.tagName.toLowerCase()&&pi(e,"leaflet-active"),this._holdTimeout=setTimeout(a(function(){this._isTapValid()&&(this._fireClick=!1,this._onUp(),this._simulateEvent("contextmenu",i))},this),1e3),this._simulateEvent("mousedown",i),Ei(document,{touchmove:this._onMove,touchend:this._onUp},this)}},_onUp:function(t){if(clearTimeout(this._holdTimeout),Bi(document,{touchmove:this._onMove,touchend:this._onUp},this),this._fireClick&&t&&t.changedTouches){var i=t.changedTouches[0],e=i.target;e&&e.tagName&&"a"===e.tagName.toLowerCase()&&mi(e,"leaflet-active"),this._simulateEvent("mouseup",i),this._isTapValid()&&this._simulateEvent("click",i)}},_isTapValid:function(){return this._newPos.distanceTo(this._startPos)<=this._map.options.tapTolerance},_onMove:function(t){var i=t.touches[0];this._newPos=new B(i.clientX,i.clientY),this._simulateEvent("mousemove",i)},_simulateEvent:function(t,i){var e=document.createEvent("MouseEvents");e._simulated=!0,i.target._simulatedClick=!0,e.initMouseEvent(t,!0,!0,window,1,i.screenX,i.screenY,i.clientX,i.clientY,!1,!1,!1,!1,0,null),i.target.dispatchEvent(e)}});Tt&&!bt&&Ji.addInitHook("addHandler","tap",bn),Ji.mergeOptions({touchZoom:Tt&&!rt,bounceAtZoomLimits:!0});var Tn=oe.extend({addHooks:function(){pi(this._map._container,"leaflet-touch-zoom"),Ei(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){mi(this._map._container,"leaflet-touch-zoom"),Bi(this._map._container,"touchstart",this._onTouchStart,this)},_onTouchStart:function(t){var i=this._map;if(t.touches&&2===t.touches.length&&!i._animatingZoom&&!this._zooming){var e=i.mouseEventToContainerPoint(t.touches[0]),n=i.mouseEventToContainerPoint(t.touches[1]);this._centerPoint=i.getSize()._divideBy(2),this._startLatLng=i.containerPointToLatLng(this._centerPoint),"center"!==i.options.touchZoom&&(this._pinchStartLatLng=i.containerPointToLatLng(e.add(n)._divideBy(2))),this._startDist=e.distanceTo(n),this._startZoom=i.getZoom(),this._moved=!1,this._zooming=!0,i._stop(),Ei(document,"touchmove",this._onTouchMove,this),Ei(document,"touchend",this._onTouchEnd,this),Di(t)}},_onTouchMove:function(t){if(t.touches&&2===t.touches.length&&this._zooming){var i=this._map,e=i.mouseEventToContainerPoint(t.touches[0]),n=i.mouseEventToContainerPoint(t.touches[1]),o=e.distanceTo(n)/this._startDist;if(this._zoom=i.getScaleZoom(o,this._startZoom),!i.options.bounceAtZoomLimits&&(this._zoom<i.getMinZoom()&&o<1||this._zoom>i.getMaxZoom()&&1<o)&&(this._zoom=i._limitZoom(this._zoom)),"center"===i.options.touchZoom){if(this._center=this._startLatLng,1==o)return}else{var s=e._add(n)._divideBy(2)._subtract(this._centerPoint);if(1==o&&0===s.x&&0===s.y)return;this._center=i.unproject(i.project(this._pinchStartLatLng,this._zoom).subtract(s),this._zoom)}this._moved||(i._moveStart(!0,!1),this._moved=!0),C(this._animRequest);var r=a(i._move,i,this._center,this._zoom,{pinch:!0,round:!1});this._animRequest=M(r,this,!0),Di(t)}},_onTouchEnd:function(){this._moved&&this._zooming?(this._zooming=!1,C(this._animRequest),Bi(document,"touchmove",this._onTouchMove),Bi(document,"touchend",this._onTouchEnd),this._map.options.zoomAnimation?this._map._animateZoom(this._center,this._map._limitZoom(this._zoom),!0,this._map.options.zoomSnap):this._map._resetView(this._center,this._map._limitZoom(this._zoom))):this._zooming=!1}});Ji.addInitHook("addHandler","touchZoom",Tn),Ji.BoxZoom=yn,Ji.DoubleClickZoom=xn,Ji.Drag=wn,Ji.Keyboard=Pn,Ji.ScrollWheelZoom=Ln,Ji.Tap=bn,Ji.TouchZoom=Tn,Object.freeze=i,t.version="1.5.1+HEAD.2e3e0ff",t.Control=Qi,t.control=$i,t.Browser=Bt,t.Evented=k,t.Mixin=re,t.Util=S,t.Class=Z,t.Handler=oe,t.extend=h,t.bind=a,t.stamp=u,t.setOptions=p,t.DomEvent=Yi,t.DomUtil=Zi,t.PosAnimation=Xi,t.Draggable=le,t.LineUtil=ye,t.PolyUtil=Pe,t.Point=B,t.point=I,t.Bounds=O,t.bounds=R,t.Transformation=G,t.transformation=K,t.Projection=Te,t.LatLng=j,t.latLng=W,t.LatLngBounds=N,t.latLngBounds=D,t.CRS=F,t.GeoJSON=We,t.geoJSON=Xe,t.geoJson=Je,t.Layer=Se,t.LayerGroup=Ze,t.layerGroup=function(t,i){return new Ze(t,i)},t.FeatureGroup=Ee,t.featureGroup=function(t){return new Ee(t)},t.ImageOverlay=$e,t.imageOverlay=function(t,i,e){return new $e(t,i,e)},t.VideoOverlay=Qe,t.videoOverlay=function(t,i,e){return new Qe(t,
1536i,e)},t.SVGOverlay=tn,t.svgOverlay=function(t,i,e){return new tn(t,i,e)},t.DivOverlay=en,t.Popup=nn,t.popup=function(t,i){return new nn(t,i)},t.Tooltip=on,t.tooltip=function(t,i){return new on(t,i)},t.Icon=ke,t.icon=function(t){return new ke(t)},t.DivIcon=sn,t.divIcon=function(t){return new sn(t)},t.Marker=Ie,t.marker=function(t,i){return new Ie(t,i)},t.TileLayer=an,t.tileLayer=hn,t.GridLayer=rn,t.gridLayer=function(t){return new rn(t)},t.SVG=fn,t.svg=gn,t.Renderer=ln,t.Canvas=cn,t.canvas=_n,t.Path=Oe,t.CircleMarker=Re,t.circleMarker=function(t,i){return new Re(t,i)},t.Circle=Ne,t.circle=function(t,i,e){return new Ne(t,i,e)},t.Polyline=De,t.polyline=function(t,i){return new De(t,i)},t.Polygon=je,t.polygon=function(t,i){return new je(t,i)},t.Rectangle=vn,t.rectangle=function(t,i){return new vn(t,i)},t.Map=Ji,t.map=function(t,i){return new Ji(t,i)};var zn=window.L;t.noConflict=function(){return window.L=zn,this},window.L=t});
1537// source --> https://www.gehlebt.at/wp-content/plugins/wp-gpx-maps/ThirdParties/Leaflet.markercluster-1.4.1/leaflet.markercluster.js?ver=1.4.1 
vendor: 32,046 bytes, lines 1537-1538
1537
1538!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e.Leaflet=e.Leaflet||{},e.Leaflet.markercluster=e.Leaflet.markercluster||{}))}(this,function(e){"use strict";var t=L.MarkerClusterGroup=L.FeatureGroup.extend({options:{maxClusterRadius:80,iconCreateFunction:null,clusterPane:L.Marker.prototype.options.pane,spiderfyOnMaxZoom:!0,showCoverageOnHover:!0,zoomToBoundsOnClick:!0,singleMarkerMode:!1,disableClusteringAtZoom:null,removeOutsideVisibleBounds:!0,animate:!0,animateAddingMarkers:!1,spiderfyDistanceMultiplier:1,spiderLegPolylineOptions:{weight:1.5,color:"#222",opacity:.5},chunkedLoading:!1,chunkInterval:200,chunkDelay:50,chunkProgress:null,polygonOptions:{}},initialize:function(e){L.Util.setOptions(this,e),this.options.iconCreateFunction||(this.options.iconCreateFunction=this._defaultIconCreateFunction),this._featureGroup=L.featureGroup(),this._featureGroup.addEventParent(this),this._nonPointGroup=L.featureGroup(),this._nonPointGroup.addEventParent(this),this._inZoomAnimation=0,this._needsClustering=[],this._needsRemoving=[],this._currentShownBounds=null,this._queue=[],this._childMarkerEventHandlers={dragstart:this._childMarkerDragStart,move:this._childMarkerMoved,dragend:this._childMarkerDragEnd};var t=L.DomUtil.TRANSITION&&this.options.animate;L.extend(this,t?this._withAnimation:this._noAnimation),this._markerCluster=t?L.MarkerCluster:L.MarkerClusterNonAnimated},addLayer:function(e){if(e instanceof L.LayerGroup)return this.addLayers([e]);if(!e.getLatLng)return this._nonPointGroup.addLayer(e),this.fire("layeradd",{layer:e}),this;if(!this._map)return this._needsClustering.push(e),this.fire("layeradd",{layer:e}),this;if(this.hasLayer(e))return this;this._unspiderfy&&this._unspiderfy(),this._addLayer(e,this._maxZoom),this.fire("layeradd",{layer:e}),this._topClusterLevel._recalculateBounds(),this._refreshClustersIcons();var t=e,i=this._zoom;if(e.__parent)for(;t.__parent._zoom>=i;)t=t.__parent;return this._currentShownBounds.contains(t.getLatLng())&&(this.options.animateAddingMarkers?this._animationAddLayer(e,t):this._animationAddLayerNonAnimated(e,t)),this},removeLayer:function(e){return e instanceof L.LayerGroup?this.removeLayers([e]):e.getLatLng?this._map?e.__parent?(this._unspiderfy&&(this._unspiderfy(),this._unspiderfyLayer(e)),this._removeLayer(e,!0),this.fire("layerremove",{layer:e}),this._topClusterLevel._recalculateBounds(),this._refreshClustersIcons(),e.off(this._childMarkerEventHandlers,this),this._featureGroup.hasLayer(e)&&(this._featureGroup.removeLayer(e),e.clusterShow&&e.clusterShow()),this):this:(!this._arraySplice(this._needsClustering,e)&&this.hasLayer(e)&&this._needsRemoving.push({layer:e,latlng:e._latlng}),this.fire("layerremove",{layer:e}),this):(this._nonPointGroup.removeLayer(e),this.fire("layerremove",{layer:e}),this)},addLayers:function(e,t){if(!L.Util.isArray(e))return this.addLayer(e);var i,n=this._featureGroup,r=this._nonPointGroup,s=this.options.chunkedLoading,o=this.options.chunkInterval,a=this.options.chunkProgress,h=e.length,l=0,u=!0;if(this._map){var _=(new Date).getTime(),d=L.bind(function(){for(var c=(new Date).getTime();h>l;l++){if(s&&0===l%200){var p=(new Date).getTime()-c;if(p>o)break}if(i=e[l],i instanceof L.LayerGroup)u&&(e=e.slice(),u=!1),this._extractNonGroupLayers(i,e),h=e.length;else if(i.getLatLng){if(!this.hasLayer(i)&&(this._addLayer(i,this._maxZoom),t||this.fire("layeradd",{layer:i}),i.__parent&&2===i.__parent.getChildCount())){var f=i.__parent.getAllChildMarkers(),m=f[0]===i?f[1]:f[0];n.removeLayer(m)}}else r.addLayer(i),t||this.fire("layeradd",{layer:i})}a&&a(l,h,(new Date).getTime()-_),l===h?(this._topClusterLevel._recalculateBounds(),this._refreshClustersIcons(),this._topClusterLevel._recursivelyAddChildrenToMap(null,this._zoom,this._currentShownBounds)):setTimeout(d,this.options.chunkDelay)},this);d()}else for(var c=this._needsClustering;h>l;l++)i=e[l],i instanceof L.LayerGroup?(u&&(e=e.slice(),u=!1),this._extractNonGroupLayers(i,e),h=e.length):i.getLatLng?this.hasLayer(i)||c.push(i):r.addLayer(i);return this},removeLayers:function(e){var t,i,n=e.length,r=this._featureGroup,s=this._nonPointGroup,o=!0;if(!this._map){for(t=0;n>t;t++)i=e[t],i instanceof L.LayerGroup?(o&&(e=e.slice(),o=!1),this._extractNonGroupLayers(i,e),n=e.length):(this._arraySplice(this._needsClustering,i),s.removeLayer(i),this.hasLayer(i)&&this._needsRemoving.push({layer:i,latlng:i._latlng}),this.fire("layerremove",{layer:i}));return this}if(this._unspiderfy){this._unspiderfy();var a=e.slice(),h=n;for(t=0;h>t;t++)i=a[t],i instanceof L.LayerGroup?(this._extractNonGroupLayers(i,a),h=a.length):this._unspiderfyLayer(i)}for(t=0;n>t;t++)i=e[t],i instanceof L.LayerGroup?(o&&(e=e.slice(),o=!1),this._extractNonGroupLayers(i,e),n=e.length):i.__parent?(this._removeLayer(i,!0,!0),this.fire("layerremove",{layer:i}),r.hasLayer(i)&&(r.removeLayer(i),i.clusterShow&&i.clusterShow())):(s.removeLayer(i),this.fire("layerremove",{layer:i}));return this._topClusterLevel._recalculateBounds(),this._refreshClustersIcons(),this._topClusterLevel._recursivelyAddChildrenToMap(null,this._zoom,this._currentShownBounds),this},clearLayers:function(){return this._map||(this._needsClustering=[],this._needsRemoving=[],delete this._gridClusters,delete this._gridUnclustered),this._noanimationUnspiderfy&&this._noanimationUnspiderfy(),this._featureGroup.clearLayers(),this._nonPointGroup.clearLayers(),this.eachLayer(function(e){e.off(this._childMarkerEventHandlers,this),delete e.__parent},this),this._map&&this._generateInitialClusters(),this},getBounds:function(){var e=new L.LatLngBounds;this._topClusterLevel&&e.extend(this._topClusterLevel._bounds);for(var t=this._needsClustering.length-1;t>=0;t--)e.extend(this._needsClustering[t].getLatLng());return e.extend(this._nonPointGroup.getBounds()),e},eachLayer:function(e,t){var i,n,r,s=this._needsClustering.slice(),o=this._needsRemoving;for(this._topClusterLevel&&this._topClusterLevel.getAllChildMarkers(s),n=s.length-1;n>=0;n--){for(i=!0,r=o.length-1;r>=0;r--)if(o[r].layer===s[n]){i=!1;break}i&&e.call(t,s[n])}this._nonPointGroup.eachLayer(e,t)},getLayers:function(){var e=[];return this.eachLayer(function(t){e.push(t)}),e},getLayer:function(e){var t=null;return e=parseInt(e,10),this.eachLayer(function(i){L.stamp(i)===e&&(t=i)}),t},hasLayer:function(e){if(!e)return!1;var t,i=this._needsClustering;for(t=i.length-1;t>=0;t--)if(i[t]===e)return!0;for(i=this._needsRemoving,t=i.length-1;t>=0;t--)if(i[t].layer===e)return!1;return!(!e.__parent||e.__parent._group!==this)||this._nonPointGroup.hasLayer(e)},zoomToShowLayer:function(e,t){"function"!=typeof t&&(t=function(){});var i=function(){!e._icon&&!e.__parent._icon||this._inZoomAnimation||(this._map.off("moveend",i,this),this.off("animationend",i,this),e._icon?t():e.__parent._icon&&(this.once("spiderfied",t,this),e.__parent.spiderfy()))};e._icon&&this._map.getBounds().contains(e.getLatLng())?t():e.__parent._zoom<Math.round(this._map._zoom)?(this._map.on("moveend",i,this),this._map.panTo(e.getLatLng())):(this._map.on("moveend",i,this),this.on("animationend",i,this),e.__parent.zoomToBounds())},onAdd:function(e){this._map=e;var t,i,n;if(!isFinite(this._map.getMaxZoom()))throw"Map has no maxZoom specified";for(this._featureGroup.addTo(e),this._nonPointGroup.addTo(e),this._gridClusters||this._generateInitialClusters(),this._maxLat=e.options.crs.projection.MAX_LATITUDE,t=0,i=this._needsRemoving.length;i>t;t++)n=this._needsRemoving[t],n.newlatlng=n.layer._latlng,n.layer._latlng=n.latlng;for(t=0,i=this._needsRemoving.length;i>t;t++)n=this._needsRemoving[t],this._removeLayer(n.layer,!0),n.layer._latlng=n.newlatlng;this._needsRemoving=[],this._zoom=Math.round(this._map._zoom),this._currentShownBounds=this._getExpandedVisibleBounds(),this._map.on("zoomend",this._zoomEnd,this),this._map.on("moveend",this._moveEnd,this),this._spiderfierOnAdd&&this._spiderfierOnAdd(),this._bindEvents(),i=this._needsClustering,this._needsClustering=[],this.addLayers(i,!0)},onRemove:function(e){e.off("zoomend",this._zoomEnd,this),e.off("moveend",this._moveEnd,this),this._unbindEvents(),this._map._mapPane.className=this._map._mapPane.className.replace(" leaflet-cluster-anim",""),this._spiderfierOnRemove&&this._spiderfierOnRemove(),delete this._maxLat,this._hideCoverage(),this._featureGroup.remove(),this._nonPointGroup.remove(),this._featureGroup.clearLayers(),this._map=null},getVisibleParent:function(e){for(var t=e;t&&!t._icon;)t=t.__parent;return t||null},_arraySplice:function(e,t){for(var i=e.length-1;i>=0;i--)if(e[i]===t)return e.splice(i,1),!0},_removeFromGridUnclustered:function(e,t){for(var i=this._map,n=this._gridUnclustered,r=Math.floor(this._map.getMinZoom());t>=r&&n[t].removeObject(e,i.project(e.getLatLng(),t));t--);},_childMarkerDragStart:function(e){e.target.__dragStart=e.target._latlng},_childMarkerMoved:function(e){if(!this._ignoreMove&&!e.target.__dragStart){var t=e.target._popup&&e.target._popup.isOpen();this._moveChild(e.target,e.oldLatLng,e.latlng),t&&e.target.openPopup()}},_moveChild:function(e,t,i){e._latlng=t,this.removeLayer(e),e._latlng=i,this.addLayer(e)},_childMarkerDragEnd:function(e){var t=e.target.__dragStart;delete e.target.__dragStart,t&&this._moveChild(e.target,t,e.target._latlng)},_removeLayer:function(e,t,i){var n=this._gridClusters,r=this._gridUnclustered,s=this._featureGroup,o=this._map,a=Math.floor(this._map.getMinZoom());t&&this._removeFromGridUnclustered(e,this._maxZoom);var h,l=e.__parent,u=l._markers;for(this._arraySplice(u,e);l&&(l._childCount--,l._boundsNeedUpdate=!0,!(l._zoom<a));)t&&l._childCount<=1?(h=l._markers[0]===e?l._markers[1]:l._markers[0],n[l._zoom].removeObject(l,o.project(l._cLatLng,l._zoom)),r[l._zoom].addObject(h,o.project(h.getLatLng(),l._zoom)),this._arraySplice(l.__parent._childClusters,l),l.__parent._markers.push(h),h.__parent=l.__parent,l._icon&&(s.removeLayer(l),i||s.addLayer(h))):l._iconNeedsUpdate=!0,l=l.__parent;delete e.__parent},_isOrIsParent:function(e,t){for(;t;){if(e===t)return!0;t=t.parentNode}return!1},fire:function(e,t,i){if(t&&t.layer instanceof L.MarkerCluster){if(t.originalEvent&&this._isOrIsParent(t.layer._icon,t.originalEvent.relatedTarget))return;e="cluster"+e}L.FeatureGroup.prototype.fire.call(this,e,t,i)},listens:function(e,t){return L.FeatureGroup.prototype.listens.call(this,e,t)||L.FeatureGroup.prototype.listens.call(this,"cluster"+e,t)},_defaultIconCreateFunction:function(e){var t=e.getChildCount(),i=" marker-cluster-";return i+=10>t?"small":100>t?"medium":"large",new L.DivIcon({html:"<div><span>"+t+"</span></div>",className:"marker-cluster"+i,iconSize:new L.Point(40,40)})},_bindEvents:function(){var e=this._map,t=this.options.spiderfyOnMaxZoom,i=this.options.showCoverageOnHover,n=this.options.zoomToBoundsOnClick;(t||n)&&this.on("clusterclick",this._zoomOrSpiderfy,this),i&&(this.on("clustermouseover",this._showCoverage,this),this.on("clustermouseout",this._hideCoverage,this),e.on("zoomend",this._hideCoverage,this))},_zoomOrSpiderfy:function(e){for(var t=e.layer,i=t;1===i._childClusters.length;)i=i._childClusters[0];i._zoom===this._maxZoom&&i._childCount===t._childCount&&this.options.spiderfyOnMaxZoom?t.spiderfy():this.options.zoomToBoundsOnClick&&t.zoomToBounds(),e.originalEvent&&13===e.originalEvent.keyCode&&this._map._container.focus()},_showCoverage:function(e){var t=this._map;this._inZoomAnimation||(this._shownPolygon&&t.removeLayer(this._shownPolygon),e.layer.getChildCount()>2&&e.layer!==this._spiderfied&&(this._shownPolygon=new L.Polygon(e.layer.getConvexHull(),this.options.polygonOptions),t.addLayer(this._shownPolygon)))},_hideCoverage:function(){this._shownPolygon&&(this._map.removeLayer(this._shownPolygon),this._shownPolygon=null)},_unbindEvents:function(){var e=this.options.spiderfyOnMaxZoom,t=this.options.showCoverageOnHover,i=this.options.zoomToBoundsOnClick,n=this._map;(e||i)&&this.off("clusterclick",this._zoomOrSpiderfy,this),t&&(this.off("clustermouseover",this._showCoverage,this),this.off("clustermouseout",this._hideCoverage,this),n.off("zoomend",this._hideCoverage,this))},_zoomEnd:function(){this._map&&(this._mergeSplitClusters(),this._zoom=Math.round(this._map._zoom),this._currentShownBounds=this._getExpandedVisibleBounds())},_moveEnd:function(){if(!this._inZoomAnimation){var e=this._getExpandedVisibleBounds();this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds,Math.floor(this._map.getMinZoom()),this._zoom,e),this._topClusterLevel._recursivelyAddChildrenToMap(null,Math.round(this._map._zoom),e),this._currentShownBounds=e}},_generateInitialClusters:function(){var e=Math.ceil(this._map.getMaxZoom()),t=Math.floor(this._map.getMinZoom()),i=this.options.maxClusterRadius,n=i;"function"!=typeof i&&(n=function(){return i}),null!==this.options.disableClusteringAtZoom&&(e=this.options.disableClusteringAtZoom-1),this._maxZoom=e,this._gridClusters={},this._gridUnclustered={};for(var r=e;r>=t;r--)this._gridClusters[r]=new L.DistanceGrid(n(r)),this._gridUnclustered[r]=new L.DistanceGrid(n(r));this._topClusterLevel=new this._markerCluster(this,t-1)},_addLayer:function(e,t){var i,n,r=this._gridClusters,s=this._gridUnclustered,o=Math.floor(this._map.getMinZoom());for(this.options.singleMarkerMode&&this._overrideMarkerIcon(e),e.on(this._childMarkerEventHandlers,this);t>=o;t--){i=this._map.project(e.getLatLng(),t);var a=r[t].getNearObject(i);if(a)return a._addChild(e),e.__parent=a,void 0;if(a=s[t].getNearObject(i)){var h=a.__parent;h&&this._removeLayer(a,!1);var l=new this._markerCluster(this,t,a,e);r[t].addObject(l,this._map.project(l._cLatLng,t)),a.__parent=l,e.__parent=l;var u=l;for(n=t-1;n>h._zoom;n--)u=new this._markerCluster(this,n,u),r[n].addObject(u,this._map.project(a.getLatLng(),n));return h._addChild(u),this._removeFromGridUnclustered(a,t),void 0}s[t].addObject(e,i)}this._topClusterLevel._addChild(e),e.__parent=this._topClusterLevel},_refreshClustersIcons:function(){this._featureGroup.eachLayer(function(e){e instanceof L.MarkerCluster&&e._iconNeedsUpdate&&e._updateIcon()})},_enqueue:function(e){this._queue.push(e),this._queueTimeout||(this._queueTimeout=setTimeout(L.bind(this._processQueue,this),300))},_processQueue:function(){for(var e=0;e<this._queue.length;e++)this._queue[e].call(this);this._queue.length=0,clearTimeout(this._queueTimeout),this._queueTimeout=null},_mergeSplitClusters:function(){var e=Math.round(this._map._zoom);this._processQueue(),this._zoom<e&&this._currentShownBounds.intersects(this._getExpandedVisibleBounds())?(this._animationStart(),this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds,Math.floor(this._map.getMinZoom()),this._zoom,this._getExpandedVisibleBounds()),this._animationZoomIn(this._zoom,e)):this._zoom>e?(this._animationStart(),this._animationZoomOut(this._zoom,e)):this._moveEnd()},_getExpandedVisibleBounds:function(){return this.options.removeOutsideVisibleBounds?L.Browser.mobile?this._checkBoundsMaxLat(this._map.getBounds()):this._checkBoundsMaxLat(this._map.getBounds().pad(1)):this._mapBoundsInfinite},_checkBoundsMaxLat:function(e){var t=this._maxLat;return void 0!==t&&(e.getNorth()>=t&&(e._northEast.lat=1/0),e.getSouth()<=-t&&(e._southWest.lat=-1/0)),e},_animationAddLayerNonAnimated:function(e,t){if(t===e)this._featureGroup.addLayer(e);else if(2===t._childCount){t._addToMap();var i=t.getAllChildMarkers();this._featureGroup.removeLayer(i[0]),this._featureGroup.removeLayer(i[1])}else t._updateIcon()},_extractNonGroupLayers:function(e,t){var i,n=e.getLayers(),r=0;for(t=t||[];r<n.length;r++)i=n[r],i instanceof L.LayerGroup?this._extractNonGroupLayers(i,t):t.push(i);return t},_overrideMarkerIcon:function(e){var t=e.options.icon=this.options.iconCreateFunction({getChildCount:function(){return 1},getAllChildMarkers:function(){return[e]}});return t}});L.MarkerClusterGroup.include({_mapBoundsInfinite:new L.LatLngBounds(new L.LatLng(-1/0,-1/0),new L.LatLng(1/0,1/0))}),L.MarkerClusterGroup.include({_noAnimation:{_animationStart:function(){},_animationZoomIn:function(e,t){this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds,Math.floor(this._map.getMinZoom()),e),this._topClusterLevel._recursivelyAddChildrenToMap(null,t,this._getExpandedVisibleBounds()),this.fire("animationend")},_animationZoomOut:function(e,t){this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds,Math.floor(this._map.getMinZoom()),e),this._topClusterLevel._recursivelyAddChildrenToMap(null,t,this._getExpandedVisibleBounds()),this.fire("animationend")},_animationAddLayer:function(e,t){this._animationAddLayerNonAnimated(e,t)}},_withAnimation:{_animationStart:function(){this._map._mapPane.className+=" leaflet-cluster-anim",this._inZoomAnimation++},_animationZoomIn:function(e,t){var i,n=this._getExpandedVisibleBounds(),r=this._featureGroup,s=Math.floor(this._map.getMinZoom());this._ignoreMove=!0,this._topClusterLevel._recursively(n,e,s,function(s){var o,a=s._latlng,h=s._markers;for(n.contains(a)||(a=null),s._isSingleParent()&&e+1===t?(r.removeLayer(s),s._recursivelyAddChildrenToMap(null,t,n)):(s.clusterHide(),s._recursivelyAddChildrenToMap(a,t,n)),i=h.length-1;i>=0;i--)o=h[i],n.contains(o._latlng)||r.removeLayer(o)}),this._forceLayout(),this._topClusterLevel._recursivelyBecomeVisible(n,t),r.eachLayer(function(e){e instanceof L.MarkerCluster||!e._icon||e.clusterShow()}),this._topClusterLevel._recursively(n,e,t,function(e){e._recursivelyRestoreChildPositions(t)}),this._ignoreMove=!1,this._enqueue(function(){this._topClusterLevel._recursively(n,e,s,function(e){r.removeLayer(e),e.clusterShow()}),this._animationEnd()})},_animationZoomOut:function(e,t){this._animationZoomOutSingle(this._topClusterLevel,e-1,t),this._topClusterLevel._recursivelyAddChildrenToMap(null,t,this._getExpandedVisibleBounds()),this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds,Math.floor(this._map.getMinZoom()),e,this._getExpandedVisibleBounds())},_animationAddLayer:function(e,t){var i=this,n=this._featureGroup;n.addLayer(e),t!==e&&(t._childCount>2?(t._updateIcon(),this._forceLayout(),this._animationStart(),e._setPos(this._map.latLngToLayerPoint(t.getLatLng())),e.clusterHide(),this._enqueue(function(){n.removeLayer(e),e.clusterShow(),i._animationEnd()})):(this._forceLayout(),i._animationStart(),i._animationZoomOutSingle(t,this._map.getMaxZoom(),this._zoom)))}},_animationZoomOutSingle:function(e,t,i){var n=this._getExpandedVisibleBounds(),r=Math.floor(this._map.getMinZoom());e._recursivelyAnimateChildrenInAndAddSelfToMap(n,r,t+1,i);var s=this;this._forceLayout(),e._recursivelyBecomeVisible(n,i),this._enqueue(function(){if(1===e._childCount){var o=e._markers[0];this._ignoreMove=!0,o.setLatLng(o.getLatLng()),this._ignoreMove=!1,o.clusterShow&&o.clusterShow()}else e._recursively(n,i,r,function(e){e._recursivelyRemoveChildrenFromMap(n,r,t+1)});s._animationEnd()})},_animationEnd:function(){this._map&&(this._map._mapPane.className=this._map._mapPane.className.replace(" leaflet-cluster-anim","")),this._inZoomAnimation--,this.fire("animationend")},_forceLayout:function(){L.Util.falseFn(document.body.offsetWidth)}}),L.markerClusterGroup=function(e){return new L.MarkerClusterGroup(e)};var i=L.MarkerCluster=L.Marker.extend({options:L.Icon.prototype.options,initialize:function(e,t,i,n){L.Marker.prototype.initialize.call(this,i?i._cLatLng||i.getLatLng():new L.LatLng(0,0),{icon:this,pane:e.options.clusterPane}),this._group=e,this._zoom=t,this._markers=[],this._childClusters=[],this._childCount=0,this._iconNeedsUpdate=!0,this._boundsNeedUpdate=!0,this._bounds=new L.LatLngBounds,i&&this._addChild(i),n&&this._addChild(n)},getAllChildMarkers:function(e,t){e=e||[];for(var i=this._childClusters.length-1;i>=0;i--)this._childClusters[i].getAllChildMarkers(e);for(var n=this._markers.length-1;n>=0;n--)t&&this._markers[n].__dragStart||e.push(this._markers[n]);return e},getChildCount:function(){return this._childCount},zoomToBounds:function(e){for(var t,i=this._childClusters.slice(),n=this._group._map,r=n.getBoundsZoom(this._bounds),s=this._zoom+1,o=n.getZoom();i.length>0&&r>s;){s++;var a=[];for(t=0;t<i.length;t++)a=a.concat(i[t]._childClusters);i=a}r>s?this._group._map.setView(this._latlng,s):o>=r?this._group._map.setView(this._latlng,o+1):this._group._map.fitBounds(this._bounds,e)},getBounds:function(){var e=new L.LatLngBounds;return e.extend(this._bounds),e},_updateIcon:function(){this._iconNeedsUpdate=!0,this._icon&&this.setIcon(this)},createIcon:function(){return this._iconNeedsUpdate&&(this._iconObj=this._group.options.iconCreateFunction(this),this._iconNeedsUpdate=!1),this._iconObj.createIcon()},createShadow:function(){return this._iconObj.createShadow()},_addChild:function(e,t){this._iconNeedsUpdate=!0,this._boundsNeedUpdate=!0,this._setClusterCenter(e),e instanceof L.MarkerCluster?(t||(this._childClusters.push(e),e.__parent=this),this._childCount+=e._childCount):(t||this._markers.push(e),this._childCount++),this.__parent&&this.__parent._addChild(e,!0)},_setClusterCenter:function(e){this._cLatLng||(this._cLatLng=e._cLatLng||e._latlng)},_resetBounds:function(){var e=this._bounds;e._southWest&&(e._southWest.lat=1/0,e._southWest.lng=1/0),e._northEast&&(e._northEast.lat=-1/0,e._northEast.lng=-1/0)},_recalculateBounds:function(){var e,t,i,n,r=this._markers,s=this._childClusters,o=0,a=0,h=this._childCount;if(0!==h){for(this._resetBounds(),e=0;e<r.length;e++)i=r[e]._latlng,this._bounds.extend(i),o+=i.lat,a+=i.lng;for(e=0;e<s.length;e++)t=s[e],t._boundsNeedUpdate&&t._recalculateBounds(),this._bounds.extend(t._bounds),i=t._wLatLng,n=t._childCount,o+=i.lat*n,a+=i.lng*n;this._latlng=this._wLatLng=new L.LatLng(o/h,a/h),this._boundsNeedUpdate=!1}},_addToMap:function(e){e&&(this._backupLatlng=this._latlng,this.setLatLng(e)),this._group._featureGroup.addLayer(this)},_recursivelyAnimateChildrenIn:function(e,t,i){this._recursively(e,this._group._map.getMinZoom(),i-1,function(e){var i,n,r=e._markers;for(i=r.length-1;i>=0;i--)n=r[i],n._icon&&(n._setPos(t),n.clusterHide())},function(e){var i,n,r=e._childClusters;for(i=r.length-1;i>=0;i--)n=r[i],n._icon&&(n._setPos(t),n.clusterHide())})},_recursivelyAnimateChildrenInAndAddSelfToMap:function(e,t,i,n){this._recursively(e,n,t,function(r){r._recursivelyAnimateChildrenIn(e,r._group._map.latLngToLayerPoint(r.getLatLng()).round(),i),r._isSingleParent()&&i-1===n?(r.clusterShow(),r._recursivelyRemoveChildrenFromMap(e,t,i)):r.clusterHide(),r._addToMap()})},_recursivelyBecomeVisible:function(e,t){this._recursively(e,this._group._map.getMinZoom(),t,null,function(e){e.clusterShow()})},_recursivelyAddChildrenToMap:function(e,t,i){this._recursively(i,this._group._map.getMinZoom()-1,t,function(n){if(t!==n._zoom)for(var r=n._markers.length-1;r>=0;r--){var s=n._markers[r];i.contains(s._latlng)&&(e&&(s._backupLatlng=s.getLatLng(),s.setLatLng(e),s.clusterHide&&s.clusterHide()),n._group._featureGroup.addLayer(s))}},function(t){t._addToMap(e)})},_recursivelyRestoreChildPositions:function(e){for(var t=this._markers.length-1;t>=0;t--){var i=this._markers[t];i._backupLatlng&&(i.setLatLng(i._backupLatlng),delete i._backupLatlng)}if(e-1===this._zoom)for(var n=this._childClusters.length-1;n>=0;n--)this._childClusters[n]._restorePosition();else for(var r=this._childClusters.length-1;r>=0;r--)this._childClusters[r]._recursivelyRestoreChildPositions(e)},_restorePosition:function(){this._backupLatlng&&(this.setLatLng(this._backupLatlng),delete this._backupLatlng)},_recursivelyRemoveChildrenFromMap:function(e,t,i,n){var r,s;this._recursively(e,t-1,i-1,function(e){for(s=e._markers.length-1;s>=0;s--)r=e._markers[s],n&&n.contains(r._latlng)||(e._group._featureGroup.removeLayer(r),r.clusterShow&&r.clusterShow())},function(e){for(s=e._childClusters.length-1;s>=0;s--)r=e._childClusters[s],n&&n.contains(r._latlng)||(e._group._featureGroup.removeLayer(r),r.clusterShow&&r.clusterShow())})},_recursively:function(e,t,i,n,r){var s,o,a=this._childClusters,h=this._zoom;if(h>=t&&(n&&n(this),r&&h===i&&r(this)),t>h||i>h)for(s=a.length-1;s>=0;s--)o=a[s],o._boundsNeedUpdate&&o._recalculateBounds(),e.intersects(o._bounds)&&o._recursively(e,t,i,n,r)},_isSingleParent:function(){return this._childClusters.length>0&&this._childClusters[0]._childCount===this._childCount}});L.Marker.include({clusterHide:function(){var e=this.options.opacity;return this.setOpacity(0),this.options.opacity=e,this},clusterShow:function(){return this.setOpacity(this.options.opacity)}}),L.DistanceGrid=function(e){this._cellSize=e,this._sqCellSize=e*e,this._grid={},this._objectPoint={}},L.DistanceGrid.prototype={addObject:function(e,t){var i=this._getCoord(t.x),n=this._getCoord(t.y),r=this._grid,s=r[n]=r[n]||{},o=s[i]=s[i]||[],a=L.Util.stamp(e);this._objectPoint[a]=t,o.push(e)},updateObject:function(e,t){this.removeObject(e),this.addObject(e,t)},removeObject:function(e,t){var i,n,r=this._getCoord(t.x),s=this._getCoord(t.y),o=this._grid,a=o[s]=o[s]||{},h=a[r]=a[r]||[];for(delete this._objectPoint[L.Util.stamp(e)],i=0,n=h.length;n>i;i++)if(h[i]===e)return h.splice(i,1),1===n&&delete a[r],!0},eachObject:function(e,t){var i,n,r,s,o,a,h,l=this._grid;for(i in l){o=l[i];for(n in o)for(a=o[n],r=0,s=a.length;s>r;r++)h=e.call(t,a[r]),h&&(r--,s--)}},getNearObject:function(e){var t,i,n,r,s,o,a,h,l=this._getCoord(e.x),u=this._getCoord(e.y),_=this._objectPoint,d=this._sqCellSize,c=null;for(t=u-1;u+1>=t;t++)if(r=this._grid[t])for(i=l-1;l+1>=i;i++)if(s=r[i])for(n=0,o=s.length;o>n;n++)a=s[n],h=this._sqDist(_[L.Util.stamp(a)],e),(d>h||d>=h&&null===c)&&(d=h,c=a);return c},_getCoord:function(e){var t=Math.floor(e/this._cellSize);return isFinite(t)?t:e},_sqDist:function(e,t){var i=t.x-e.x,n=t.y-e.y;return i*i+n*n}},function(){L.QuickHull={getDistant:function(e,t){var i=t[1].lat-t[0].lat,n=t[0].lng-t[1].lng;return n*(e.lat-t[0].lat)+i*(e.lng-t[0].lng)},findMostDistantPointFromBaseLine:function(e,t){var i,n,r,s=0,o=null,a=[];for(i=t.length-1;i>=0;i--)n=t[i],r=this.getDistant(n,e),r>0&&(a.push(n),r>s&&(s=r,o=n));return{maxPoint:o,newPoints:a}},buildConvexHull:function(e,t){var i=[],n=this.findMostDistantPointFromBaseLine(e,t);return n.maxPoint?(i=i.concat(this.buildConvexHull([e[0],n.maxPoint],n.newPoints)),i=i.concat(this.buildConvexHull([n.maxPoint,e[1]],n.newPoints))):[e[0]]},getConvexHull:function(e){var t,i=!1,n=!1,r=!1,s=!1,o=null,a=null,h=null,l=null,u=null,_=null;for(t=e.length-1;t>=0;t--){var d=e[t];(i===!1||d.lat>i)&&(o=d,i=d.lat),(n===!1||d.lat<n)&&(a=d,n=d.lat),(r===!1||d.lng>r)&&(h=d,r=d.lng),(s===!1||d.lng<s)&&(l=d,s=d.lng)}n!==i?(_=a,u=o):(_=l,u=h);var c=[].concat(this.buildConvexHull([_,u],e),this.buildConvexHull([u,_],e));return c}}}(),L.MarkerCluster.include({getConvexHull:function(){var e,t,i=this.getAllChildMarkers(),n=[];for(t=i.length-1;t>=0;t--)e=i[t].getLatLng(),n.push(e);return L.QuickHull.getConvexHull(n)}}),L.MarkerCluster.include({_2PI:2*Math.PI,_circleFootSeparation:25,_circleStartAngle:0,_spiralFootSeparation:28,_spiralLengthStart:11,_spiralLengthFactor:5,_circleSpiralSwitchover:9,spiderfy:function(){if(this._group._spiderfied!==this&&!this._group._inZoomAnimation){var e,t=this.getAllChildMarkers(null,!0),i=this._group,n=i._map,r=n.latLngToLayerPoint(this._latlng);this._group._unspiderfy(),this._group._spiderfied=this,t.length>=this._circleSpiralSwitchover?e=this._generatePointsSpiral(t.length,r):(r.y+=10,e=this._generatePointsCircle(t.length,r)),this._animationSpiderfy(t,e)}},unspiderfy:function(e){this._group._inZoomAnimation||(this._animationUnspiderfy(e),this._group._spiderfied=null)},_generatePointsCircle:function(e,t){var i,n,r=this._group.options.spiderfyDistanceMultiplier*this._circleFootSeparation*(2+e),s=r/this._2PI,o=this._2PI/e,a=[];for(s=Math.max(s,35),a.length=e,i=0;e>i;i++)n=this._circleStartAngle+i*o,a[i]=new L.Point(t.x+s*Math.cos(n),t.y+s*Math.sin(n))._round();return a},_generatePointsSpiral:function(e,t){var i,n=this._group.options.spiderfyDistanceMultiplier,r=n*this._spiralLengthStart,s=n*this._spiralFootSeparation,o=n*this._spiralLengthFactor*this._2PI,a=0,h=[];for(h.length=e,i=e;i>=0;i--)e>i&&(h[i]=new L.Point(t.x+r*Math.cos(a),t.y+r*Math.sin(a))._round()),a+=s/r+5e-4*i,r+=o/a;return h},_noanimationUnspiderfy:function(){var e,t,i=this._group,n=i._map,r=i._featureGroup,s=this.getAllChildMarkers(null,!0);for(i._ignoreMove=!0,this.setOpacity(1),t=s.length-1;t>=0;t--)e=s[t],r.removeLayer(e),e._preSpiderfyLatlng&&(e.setLatLng(e._preSpiderfyLatlng),delete e._preSpiderfyLatlng),e.setZIndexOffset&&e.setZIndexOffset(0),e._spiderLeg&&(n.removeLayer(e._spiderLeg),delete e._spiderLeg);i.fire("unspiderfied",{cluster:this,markers:s}),i._ignoreMove=!1,i._spiderfied=null}}),L.MarkerClusterNonAnimated=L.MarkerCluster.extend({_animationSpiderfy:function(e,t){var i,n,r,s,o=this._group,a=o._map,h=o._featureGroup,l=this._group.options.spiderLegPolylineOptions;for(o._ignoreMove=!0,i=0;i<e.length;i++)s=a.layerPointToLatLng(t[i]),n=e[i],r=new L.Polyline([this._latlng,s],l),a.addLayer(r),n._spiderLeg=r,n._preSpiderfyLatlng=n._latlng,n.setLatLng(s),n.setZIndexOffset&&n.setZIndexOffset(1e6),h.addLayer(n);this.setOpacity(.3),o._ignoreMove=!1,o.fire("spiderfied",{cluster:this,markers:e})},_animationUnspiderfy:function(){this._noanimationUnspiderfy()}}),L.MarkerCluster.include({_animationSpiderfy:function(e,t){var i,n,r,s,o,a,h=this,l=this._group,u=l._map,_=l._featureGroup,d=this._latlng,c=u.latLngToLayerPoint(d),p=L.Path.SVG,f=L.extend({},this._group.options.spiderLegPolylineOptions),m=f.opacity;for(void 0===m&&(m=L.MarkerClusterGroup.prototype.options.spiderLegPolylineOptions.opacity),p?(f.opacity=0,f.className=(f.className||"")+" leaflet-cluster-spider-leg"):f.opacity=m,l._ignoreMove=!0,i=0;i<e.length;i++)n=e[i],a=u.layerPointToLatLng(t[i]),r=new L.Polyline([d,a],f),u.addLayer(r),n._spiderLeg=r,p&&(s=r._path,o=s.getTotalLength()+.1,s.style.strokeDasharray=o,s.style.strokeDashoffset=o),n.setZIndexOffset&&n.setZIndexOffset(1e6),n.clusterHide&&n.clusterHide(),_.addLayer(n),n._setPos&&n._setPos(c);for(l._forceLayout(),l._animationStart(),i=e.length-1;i>=0;i--)a=u.layerPointToLatLng(t[i]),n=e[i],n._preSpiderfyLatlng=n._latlng,n.setLatLng(a),n.clusterShow&&n.clusterShow(),p&&(r=n._spiderLeg,s=r._path,s.style.strokeDashoffset=0,r.setStyle({opacity:m}));this.setOpacity(.3),l._ignoreMove=!1,setTimeout(function(){l._animationEnd(),l.fire("spiderfied",{cluster:h,markers:e})},200)},_animationUnspiderfy:function(e){var t,i,n,r,s,o,a=this,h=this._group,l=h._map,u=h._featureGroup,_=e?l._latLngToNewLayerPoint(this._latlng,e.zoom,e.center):l.latLngToLayerPoint(this._latlng),d=this.getAllChildMarkers(null,!0),c=L.Path.SVG;for(h._ignoreMove=!0,h._animationStart(),this.setOpacity(1),i=d.length-1;i>=0;i--)t=d[i],t._preSpiderfyLatlng&&(t.closePopup(),t.setLatLng(t._preSpiderfyLatlng),delete t._preSpiderfyLatlng,o=!0,t._setPos&&(t._setPos(_),o=!1),t.clusterHide&&(t.clusterHide(),o=!1),o&&u.removeLayer(t),c&&(n=t._spiderLeg,r=n._path,s=r.getTotalLength()+.1,r.style.strokeDashoffset=s,n.setStyle({opacity:0})));h._ignoreMove=!1,setTimeout(function(){var e=0;for(i=d.length-1;i>=0;i--)t=d[i],t._spiderLeg&&e++;for(i=d.length-1;i>=0;i--)t=d[i],t._spiderLeg&&(t.clusterShow&&t.clusterShow(),t.setZIndexOffset&&t.setZIndexOffset(0),e>1&&u.removeLayer(t),l.removeLayer(t._spiderLeg),delete t._spiderLeg);h._animationEnd(),h.fire("unspiderfied",{cluster:a,markers:d})},200)}}),L.MarkerClusterGroup.include({_spiderfied:null,unspiderfy:function(){this._unspiderfy.apply(this,arguments)},_spiderfierOnAdd:function(){this._map.on("click",this._unspiderfyWrapper,this),this._map.options.zoomAnimation&&this._map.on("zoomstart",this._unspiderfyZoomStart,this),this._map.on("zoomend",this._noanimationUnspiderfy,this),L.Browser.touch||this._map.getRenderer(this)},_spiderfierOnRemove:function(){this._map.off("click",this._unspiderfyWrapper,this),this._map.off("zoomstart",this._unspiderfyZoomStart,this),this._map.off("zoomanim",this._unspiderfyZoomAnim,this),this._map.off("zoomend",this._noanimationUnspiderfy,this),this._noanimationUnspiderfy()
1538
1539},_unspiderfyZoomStart:function(){this._map&&this._map.on("zoomanim",this._unspiderfyZoomAnim,this)},_unspiderfyZoomAnim:function(e){L.DomUtil.hasClass(this._map._mapPane,"leaflet-touching")||(this._map.off("zoomanim",this._unspiderfyZoomAnim,this),this._unspiderfy(e))},_unspiderfyWrapper:function(){this._unspiderfy()},_unspiderfy:function(e){this._spiderfied&&this._spiderfied.unspiderfy(e)},_noanimationUnspiderfy:function(){this._spiderfied&&this._spiderfied._noanimationUnspiderfy()},_unspiderfyLayer:function(e){e._spiderLeg&&(this._featureGroup.removeLayer(e),e.clusterShow&&e.clusterShow(),e.setZIndexOffset&&e.setZIndexOffset(0),this._map.removeLayer(e._spiderLeg),delete e._spiderLeg)}}),L.MarkerClusterGroup.include({refreshClusters:function(e){return e?e instanceof L.MarkerClusterGroup?e=e._topClusterLevel.getAllChildMarkers():e instanceof L.LayerGroup?e=e._layers:e instanceof L.MarkerCluster?e=e.getAllChildMarkers():e instanceof L.Marker&&(e=[e]):e=this._topClusterLevel.getAllChildMarkers(),this._flagParentsIconsNeedUpdate(e),this._refreshClustersIcons(),this.options.singleMarkerMode&&this._refreshSingleMarkerModeMarkers(e),this},_flagParentsIconsNeedUpdate:function(e){var t,i;for(t in e)for(i=e[t].__parent;i;)i._iconNeedsUpdate=!0,i=i.__parent},_refreshSingleMarkerModeMarkers:function(e){var t,i;for(t in e)i=e[t],this.hasLayer(i)&&i.setIcon(this._overrideMarkerIcon(i))}}),L.Marker.include({refreshIconOptions:function(e,t){var i=this.options.icon;return L.setOptions(i,e),this.setIcon(i),t&&this.__parent&&this.__parent._group.refreshClusters(this),this}}),e.MarkerClusterGroup=t,e.MarkerCluster=i});
1540//# sourceMappingURL=leaflet.markercluster.js.map;
1541// source --> https://www.gehlebt.at/wp-content/plugins/wp-gpx-maps/ThirdParties/Leaflet.Photo/Leaflet.Photo.js?ver=6.4.7 
1542L.Photo = L.FeatureGroup.extend({
1543	options: {
1544		icon: {						
1545			iconSize: [40, 40]
1546		}
1547	},
1548
1549	initialize: function (photos, options) {
1550		L.setOptions(this, options);
1551		L.FeatureGroup.prototype.initialize.call(this, photos);
1552	},
1553
1554	addLayers: function (photos) {
1555		if (photos) {
1556			for (var i = 0, len = photos.length; i < len; i++) {
1557				this.addLayer(photos[i]);
1558			}
1559		}
1560		return this;
1561	},
1562
1563	addLayer: function (photo) {	
1564		L.FeatureGroup.prototype.addLayer.call(this, this.createMarker(photo));
1565	},
1566
1567	createMarker: function (photo) {
1568		var marker = L.marker(photo, {
1569			icon: L.divIcon(L.extend({
1570				html: '<div style="background-image: url(' + photo.thumbnail + ');"></div>​',
1571				className: 'leaflet-marker-photo'
1572			}, photo, this.options.icon)),
1573			title: photo.caption || ''
1574		});		
1575		marker.photo = photo;
1576		return marker;
1577	}
1578});
1579
1580L.photo = function (photos, options) {
1581	return new L.Photo(photos, options);
1582};
1583
1584if (L.MarkerClusterGroup) {
1585
1586	L.Photo.Cluster = L.MarkerClusterGroup.extend({
1587		options: {
1588			featureGroup: L.photo,		
1589			maxClusterRadius: 100,		
1590			showCoverageOnHover: false,
1591			iconCreateFunction: function(cluster) {
1592				return new L.DivIcon(L.extend({
1593					className: 'leaflet-marker-photo', 
1594					html: '<div style="background-image: url(' + cluster.getAllChildMarkers()[0].photo.thumbnail + ');"></div>​<b>' + cluster.getChildCount() + '</b>'
1595				}, this.icon));
1596		   	},	
1597			icon: {						
1598				iconSize: [40, 40]
1599			}		   		
1600		},
1601
1602		initialize: function (options) {	
1603			options = L.Util.setOptions(this, options);
1604			L.MarkerClusterGroup.prototype.initialize.call(this);
1605			this._photos = options.featureGroup(null, options);
1606		},
1607
1608		add: function (photos) {
1609			this.addLayer(this._photos.addLayers(photos));
1610			return this;
1611		},
1612
1613		clear: function () {
1614			this._photos.clearLayers();
1615			this.clearLayers();
1616		}
1617
1618	});
1619
1620	L.photo.cluster = function (options) {
1621		return new L.Photo.Cluster(options);	
1622	};
1623
1624};
1625// source --> https://www.gehlebt.at/wp-content/plugins/wp-gpx-maps/ThirdParties/leaflet.fullscreen-1.4.5/Control.FullScreen.js?ver=1.4.5 
1626(function () {
1627
1628L.Control.FullScreen = L.Control.extend({
1629	options: {
1630		position: 'topleft',
1631		title: 'Full Screen',
1632		titleCancel: 'Exit Full Screen',
1633		forceSeparateButton: false,
1634		forcePseudoFullscreen: false,
1635		fullscreenElement: false
1636	},
1637	
1638	onAdd: function (map) {
1639		var className = 'leaflet-control-zoom-fullscreen', container, content = '';
1640		
1641		if (map.zoomControl && !this.options.forceSeparateButton) {
1642			container = map.zoomControl._container;
1643		} else {
1644			container = L.DomUtil.create('div', 'leaflet-bar');
1645		}
1646		
1647		if (this.options.content) {
1648			content = this.options.content;
1649		} else {
1650			className += ' fullscreen-icon';
1651		}
1652
1653		this._createButton(this.options.title, className, content, container, this.toggleFullScreen, this);
1654
1655		this._map.on('enterFullscreen exitFullscreen', this._toggleTitle, this);
1656
1657		return container;
1658	},
1659	
1660	_createButton: function (title, className, content, container, fn, context) {
1661		this.link = L.DomUtil.create('a', className, container);
1662		this.link.href = '#';
1663		this.link.title = title;
1664		this.link.innerHTML = content;
1665
1666		L.DomEvent
1667			.addListener(this.link, 'click', L.DomEvent.stopPropagation)
1668			.addListener(this.link, 'click', L.DomEvent.preventDefault)
1669			.addListener(this.link, 'click', fn, context);
1670		
1671		L.DomEvent
1672			.addListener(container, fullScreenApi.fullScreenEventName, L.DomEvent.stopPropagation)
1673			.addListener(container, fullScreenApi.fullScreenEventName, L.DomEvent.preventDefault)
1674			.addListener(container, fullScreenApi.fullScreenEventName, this._handleFullscreenChange, context);
1675		
1676		L.DomEvent
1677			.addListener(document, fullScreenApi.fullScreenEventName, L.DomEvent.stopPropagation)
1678			.addListener(document, fullScreenApi.fullScreenEventName, L.DomEvent.preventDefault)
1679			.addListener(document, fullScreenApi.fullScreenEventName, this._handleFullscreenChange, context);
1680
1681		return this.link;
1682	},
1683	
1684	toggleFullScreen: function () {
1685		var map = this._map;
1686		map._exitFired = false;
1687		if (map._isFullscreen) {
1688			if (fullScreenApi.supportsFullScreen && !this.options.forcePseudoFullscreen) {
1689				fullScreenApi.cancelFullScreen();
1690			} else {
1691				L.DomUtil.removeClass(this.options.fullscreenElement ? this.options.fullscreenElement : map._container, 'leaflet-pseudo-fullscreen');
1692			}
1693			map.fire('exitFullscreen');
1694			map._exitFired = true;
1695			map._isFullscreen = false;
1696		}
1697		else {
1698			if (fullScreenApi.supportsFullScreen && !this.options.forcePseudoFullscreen) {
1699				fullScreenApi.requestFullScreen(this.options.fullscreenElement ? this.options.fullscreenElement : map._container);
1700			} else {
1701				L.DomUtil.addClass(this.options.fullscreenElement ? this.options.fullscreenElement : map._container, 'leaflet-pseudo-fullscreen');
1702			}
1703			map.fire('enterFullscreen');
1704			map._isFullscreen = true;
1705		}
1706	},
1707	
1708	_toggleTitle: function () {
1709		this.link.title = this._map._isFullscreen ? this.options.title : this.options.titleCancel;
1710	},
1711	
1712	_handleFullscreenChange: function () {
1713		var map = this._map;
1714		map.invalidateSize();
1715		if (!fullScreenApi.isFullScreen() && !map._exitFired) {
1716			map.fire('exitFullscreen');
1717			map._exitFired = true;
1718			map._isFullscreen = false;
1719		}
1720	}
1721});
1722
1723L.Map.addInitHook(function () {
1724	if (this.options.fullscreenControl) {
1725		this.fullscreenControl = L.control.fullscreen(this.options.fullscreenControlOptions);
1726		this.addControl(this.fullscreenControl);
1727	}
1728});
1729
1730L.control.fullscreen = function (options) {
1731	return new L.Control.FullScreen(options);
1732};
1733
1734/* 
1735Native FullScreen JavaScript API
1736-------------
1737Assumes Mozilla naming conventions instead of W3C for now
1738
1739source : http://johndyer.name/native-fullscreen-javascript-api-plus-jquery-plugin/
1740
1741*/
1742
1743	var 
1744		fullScreenApi = { 
1745			supportsFullScreen: false,
1746			isFullScreen: function () { return false; }, 
1747			requestFullScreen: function () {}, 
1748			cancelFullScreen: function () {},
1749			fullScreenEventName: '',
1750			prefix: ''
1751		},
1752		browserPrefixes = 'webkit moz o ms khtml'.split(' ');
1753	
1754	// check for native support
1755	if (typeof document.exitFullscreen !== 'undefined') {
1756		fullScreenApi.supportsFullScreen = true;
1757	} else {
1758		// check for fullscreen support by vendor prefix
1759		for (var i = 0, il = browserPrefixes.length; i < il; i++) {
1760			fullScreenApi.prefix = browserPrefixes[i];
vendor: 10,318 bytes, lines 1761-1835
1761			if (typeof document[fullScreenApi.prefix + 'CancelFullScreen'] !== 'undefined') {
1762				fullScreenApi.supportsFullScreen = true;
1763				break;
1764			}
1765		}
1766		if (typeof document['msExitFullscreen'] !== 'undefined') {
1767			fullScreenApi.prefix = 'ms';
1768			fullScreenApi.supportsFullScreen = true;
1769		}
1770	}
1771	
1772	// update methods to do something useful
1773	if (fullScreenApi.supportsFullScreen) {
1774		if (fullScreenApi.prefix === 'ms') {
1775			fullScreenApi.fullScreenEventName = 'MSFullscreenChange';
1776		} else {
1777			fullScreenApi.fullScreenEventName = fullScreenApi.prefix + 'fullscreenchange';
1778		}
1779		fullScreenApi.isFullScreen = function () {
1780			switch (this.prefix) {
1781				case '':
1782					return document.fullscreen;
1783				case 'webkit':
1784					return document.webkitIsFullScreen;
1785				case 'ms':
1786					return document.msFullscreenElement;
1787				default:
1788					return document[this.prefix + 'FullScreen'];
1789			}
1790		};
1791		fullScreenApi.requestFullScreen = function (el) {
1792			switch (this.prefix) {
1793				case '':
1794					return el.requestFullscreen();
1795				case 'ms':
1796					return el.msRequestFullscreen();
1797				default:
1798					return el[this.prefix + 'RequestFullScreen']();
1799			}
1800		};
1801		fullScreenApi.cancelFullScreen = function () {
1802			switch (this.prefix) {
1803				case '':
1804					return document.exitFullscreen();
1805				case 'ms':
1806					return document.msExitFullscreen();
1807				default:
1808					return document[this.prefix + 'CancelFullScreen']();
1809			}
1810		};
1811	}
1812
1813	// jQuery plugin
1814	if (typeof jQuery !== 'undefined') {
1815		jQuery.fn.requestFullScreen = function () {
1816			return this.each(function () {
1817				var el = jQuery(this);
1818				if (fullScreenApi.supportsFullScreen) {
1819					fullScreenApi.requestFullScreen(el);
1820				}
1821			});
1822		};
1823	}
1824
1825	// export api
1826	window.fullScreenApi = fullScreenApi;
1827})();
1828// source --> https://www.gehlebt.at/wp-content/plugins/wp-gpx-maps/js/Chart.min.js?ver=2.8.0 
1829/*!
1830 * Chart.js v2.8.0
1831 * https://www.chartjs.org
1832 * (c) 2019 Chart.js Contributors
1833 * Released under the MIT License
1834 */
1835!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(function(){try{return require("moment")}catch(t){}}()):"function"==typeof define&&define.amd?define(["require"],function(t){return e(function(){try{return t("moment")}catch(t){}}())}):t.Chart=e(t.moment)}(this,function(t){"use strict";t=t&&t.hasOwnProperty("default")?t.default:t;var e={rgb2hsl:i,rgb2hsv:n,rgb2hwb:a,rgb2cmyk:o,rgb2keyword:s,rgb2xyz:l,rgb2lab:d,rgb2lch:function(t){return x(d(t))},hsl2rgb:u,hsl2hsv:function(t){var e=t[0],i=t[1]/100,n=t[2]/100;if(0===n)return[0,0,0];return[e,100*(2*(i*=(n*=2)<=1?n:2-n)/(n+i)),100*((n+i)/2)]},hsl2hwb:function(t){return a(u(t))},hsl2cmyk:function(t){return o(u(t))},hsl2keyword:function(t){return s(u(t))},hsv2rgb:h,hsv2hsl:function(t){var e,i,n=t[0],a=t[1]/100,o=t[2]/100;return e=a*o,[n,100*(e=(e/=(i=(2-a)*o)<=1?i:2-i)||0),100*(i/=2)]},hsv2hwb:function(t){return a(h(t))},hsv2cmyk:function(t){return o(h(t))},hsv2keyword:function(t){return s(h(t))},hwb2rgb:c,hwb2hsl:function(t){return i(c(t))},hwb2hsv:function(t){return n(c(t))},hwb2cmyk:function(t){return o(c(t))},hwb2keyword:function(t){return s(c(t))},cmyk2rgb:f,cmyk2hsl:function(t){return i(f(t))},cmyk2hsv:function(t){return n(f(t))},cmyk2hwb:function(t){return a(f(t))},cmyk2keyword:function(t){return s(f(t))},keyword2rgb:w,keyword2hsl:function(t){return i(w(t))},keyword2hsv:function(t){return n(w(t))},keyword2hwb:function(t){return a(w(t))},keyword2cmyk:function(t){return o(w(t))},keyword2lab:function(t){return d(w(t))},keyword2xyz:function(t){return l(w(t))},xyz2rgb:p,xyz2lab:m,xyz2lch:function(t){return x(m(t))},lab2xyz:v,lab2rgb:y,lab2lch:x,lch2lab:k,lch2xyz:function(t){return v(k(t))},lch2rgb:function(t){return y(k(t))}};function i(t){var e,i,n=t[0]/255,a=t[1]/255,o=t[2]/255,r=Math.min(n,a,o),s=Math.max(n,a,o),l=s-r;return s==r?e=0:n==s?e=(a-o)/l:a==s?e=2+(o-n)/l:o==s&&(e=4+(n-a)/l),(e=Math.min(60*e,360))<0&&(e+=360),i=(r+s)/2,[e,100*(s==r?0:i<=.5?l/(s+r):l/(2-s-r)),100*i]}function n(t){var e,i,n=t[0],a=t[1],o=t[2],r=Math.min(n,a,o),s=Math.max(n,a,o),l=s-r;return i=0==s?0:l/s*1e3/10,s==r?e=0:n==s?e=(a-o)/l:a==s?e=2+(o-n)/l:o==s&&(e=4+(n-a)/l),(e=Math.min(60*e,360))<0&&(e+=360),[e,i,s/255*1e3/10]}function a(t){var e=t[0],n=t[1],a=t[2];return[i(t)[0],100*(1/255*Math.min(e,Math.min(n,a))),100*(a=1-1/255*Math.max(e,Math.max(n,a)))]}function o(t){var e,i=t[0]/255,n=t[1]/255,a=t[2]/255;return[100*((1-i-(e=Math.min(1-i,1-n,1-a)))/(1-e)||0),100*((1-n-e)/(1-e)||0),100*((1-a-e)/(1-e)||0),100*e]}function s(t){return _[JSON.stringify(t)]}function l(t){var e=t[0]/255,i=t[1]/255,n=t[2]/255;return[100*(.4124*(e=e>.04045?Math.pow((e+.055)/1.055,2.4):e/12.92)+.3576*(i=i>.04045?Math.pow((i+.055)/1.055,2.4):i/12.92)+.1805*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)),100*(.2126*e+.7152*i+.0722*n),100*(.0193*e+.1192*i+.9505*n)]}function d(t){var e=l(t),i=e[0],n=e[1],a=e[2];return n/=100,a/=108.883,i=(i/=95.047)>.008856?Math.pow(i,1/3):7.787*i+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(i-n),200*(n-(a=a>.008856?Math.pow(a,1/3):7.787*a+16/116))]}function u(t){var e,i,n,a,o,r=t[0]/360,s=t[1]/100,l=t[2]/100;if(0==s)return[o=255*l,o,o];e=2*l-(i=l<.5?l*(1+s):l+s-l*s),a=[0,0,0];for(var d=0;d<3;d++)(n=r+1/3*-(d-1))<0&&n++,n>1&&n--,o=6*n<1?e+6*(i-e)*n:2*n<1?i:3*n<2?e+(i-e)*(2/3-n)*6:e,a[d]=255*o;return a}function h(t){var e=t[0]/60,i=t[1]/100,n=t[2]/100,a=Math.floor(e)%6,o=e-Math.floor(e),r=255*n*(1-i),s=255*n*(1-i*o),l=255*n*(1-i*(1-o));n*=255;switch(a){case 0:return[n,l,r];case 1:return[s,n,r];case 2:return[r,n,l];case 3:return[r,s,n];case 4:return[l,r,n];case 5:return[n,r,s]}}function c(t){var e,i,n,a,o=t[0]/360,s=t[1]/100,l=t[2]/100,d=s+l;switch(d>1&&(s/=d,l/=d),n=6*o-(e=Math.floor(6*o)),0!=(1&e)&&(n=1-n),a=s+n*((i=1-l)-s),e){default:case 6:case 0:r=i,g=a,b=s;break;case 1:r=a,g=i,b=s;break;case 2:r=s,g=i,b=a;break;case 3:r=s,g=a,b=i;break;case 4:r=a,g=s,b=i;break;case 5:r=i,g=s,b=a}return[255*r,255*g,255*b]}function f(t){var e=t[0]/100,i=t[1]/100,n=t[2]/100,a=t[3]/100;return[255*(1-Math.min(1,e*(1-a)+a)),255*(1-Math.min(1,i*(1-a)+a)),255*(1-Math.min(1,n*(1-a)+a))]}function p(t){var e,i,n,a=t[0]/100,o=t[1]/100,r=t[2]/100;return i=-.9689*a+1.8758*o+.0415*r,n=.0557*a+-.204*o+1.057*r,e=(e=3.2406*a+-1.5372*o+-.4986*r)>.0031308?1.055*Math.pow(e,1/2.4)-.055:e*=12.92,i=i>.0031308?1.055*Math.pow(i,1/2.4)-.055:i*=12.92,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:n*=12.92,[255*(e=Math.min(Math.max(0,e),1)),255*(i=Math.min(Math.max(0,i),1)),255*(n=Math.min(Math.max(0,n),1))]}function m(t){var e=t[0],i=t[1],n=t[2];return i/=100,n/=108.883,e=(e/=95.047)>.008856?Math.pow(e,1/3):7.787*e+16/116,[116*(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116)-16,500*(e-i),200*(i-(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116))]}function v(t){var e,i,n,a,o=t[0],r=t[1],s=t[2];return o<=8?a=(i=100*o/903.3)/100*7.787+16/116:(i=100*Math.pow((o+16)/116,3),a=Math.pow(i/100,1/3)),[e=e/95.047<=.008856?e=95.047*(r/500+a-16/116)/7.787:95.047*Math.pow(r/500+a,3),i,n=n/108.883<=.008859?n=108.883*(a-s/200-16/116)/7.787:108.883*Math.pow(a-s/200,3)]}function x(t){var e,i=t[0],n=t[1],a=t[2];return(e=360*Math.atan2(a,n)/2/Math.PI)<0&&(e+=360),[i,Math.sqrt(n*n+a*a),e]}function y(t){return p(v(t))}function k(t){var e,i=t[0],n=t[1];return e=t[2]/360*2*Math.PI,[i,n*Math.cos(e),n*Math.sin(e)]}function w(t){return M[t]}var M={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87
vendor: 4,442 bytes, line 1835
1835],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},_={};for(var C in M)_[JSON.stringify(M[C])]=C;var S=function(){return new T};for(var P in e){S[P+"Raw"]=function(t){return function(i){return"number"==typeof i&&(i=Array.prototype.slice.call(arguments)),e[t](i)}}(P);var I=/(\w+)2(\w+)/.exec(P),A=I[1],D=I[2];(S[A]=S[A]||{})[D]=S[P]=function(t){return function(i){"number"==typeof i&&(i=Array.prototype.slice.call(arguments));var n=e[t](i);if("string"==typeof n||void 0===n)return n;for(var a=0;a<n.length;a++)n[a]=Math.round(n[a]);return n}}(P)}var T=function(){this.convs={}};T.prototype.routeSpace=function(t,e){var i=e[0];return void 0===i?this.getValues(t):("number"==typeof i&&(i=Array.prototype.slice.call(e)),this.setValues(t,i))},T.prototype.setValues=function(t,e){return this.space=t,this.convs={},this.convs[t]=e,this},T.prototype.getValues=function(t){var e=this.convs[t];if(!e){var i=this.space,n=this.convs[i];e=S[i][t](n),this.convs[t]=e}return e},["rgb","hsl","hsv","cmyk","keyword"].forEach(function(t){T.prototype[t]=function(e){return this.routeSpace(t,arguments)}});var F=S,L={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87
vendor: 4,803 bytes, line 1835
1835],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},R={getRgba:O,getHsla:z,getRgb:function(t){var e=O(t);return e&&e.slice(0,3)},getHsl:function(t){var e=z(t);return e&&e.slice(0,3)},getHwb:B,getAlpha:function(t){var e=O(t);if(e)return e[3];if(e=z(t))return e[3];if(e=B(t))return e[3]},hexString:function(t,e){var e=void 0!==e&&3===t.length?e:t[3];return"#"+H(t[0])+H(t[1])+H(t[2])+(e>=0&&e<1?H(Math.round(255*e)):"")},rgbString:function(t,e){if(e<1||t[3]&&t[3]<1)return N(t,e);return"rgb("+t[0]+", "+t[1]+", "+t[2]+")"},rgbaString:N,percentString:function(t,e){if(e<1||t[3]&&t[3]<1)return W(t,e);var i=Math.round(t[0]/255*100),n=Math.round(t[1]/255*100),a=Math.round(t[2]/255*100);return"rgb("+i+"%, "+n+"%, "+a+"%)"},percentaString:W,hslString:function(t,e){if(e<1||t[3]&&t[3]<1)return V(t,e);return"hsl("+t[0]+", "+t[1]+"%, "+t[2]+"%)"},hslaString:V,hwbString:function(t,e){void 0===e&&(e=void 0!==t[3]?t[3]:1);return"hwb("+t[0]+", "+t[1]+"%, "+t[2]+"%"+(void 0!==e&&1!==e?", "+e:"")+")"},keyword:function(t){return j[t.slice(0,3)]}};function O(t){if(t){var e=[0,0,0],i=1,n=t.match(/^#([a-fA-F0-9]{3,4})$/i),a="";if(n){a=(n=n[1])[3];for(var o=0;o<e.length;o++)e[o]=parseInt(n[o]+n[o],16);a&&(i=Math.round(parseInt(a+a,16)/255*100)/100)}else if(n=t.match(/^#([a-fA-F0-9]{6}([a-fA-F0-9]{2})?)$/i)){a=n[2],n=n[1];for(o=0;o<e.length;o++)e[o]=parseInt(n.slice(2*o,2*o+2),16);a&&(i=Math.round(parseInt(a,16)/255*100)/100)}else if(n=t.match(/^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i)){for(o=0;o<e.length;o++)e[o]=parseInt(n[o+1]);i=parseFloat(n[4])}else if(n=t.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i)){for(o=0;o<e.length;o++)e[o]=Math.round(2.55*parseFloat(n[o+1]));i=parseFloat(n[4])}else if(n=t.match(/(\w+)/)){if("transparent"==n[1])return[0,0,0,0];if(!(e=L[n[1]]))return}for(o=0;o<e.length;o++)e[o]=E(e[o],0,255);return i=i||0==i?E(i,0,1):1,e[3]=i,e}}function z(t){if(t){var e=t.match(/^hsla?\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/);if(e){var i=parseFloat(e[4]);return[E(parseInt(e[1]),0,360),E(parseFloat(e[2]),0,100),E(parseFloat(e[3]),0,100),E(isNaN(i)?1:i,0,1)]}}}function B(t){if(t){var e=t.match(/^hwb\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/);if(e){var i=parseFloat(e[4]);return[E(parseInt(e[1]),0,360),E(parseFloat(e[2]),0,100),E(parseFloat(e[3]),0,100),E(isNaN(i)?1:i,0,1)]}}}function N(t,e){return void 0===e&&(e=void 0!==t[3]?t[3]:1),"rgba("+t[0]+", "+t[1]+", "+t[2]+", "+e+")"}function W(t,e){return"rgba("+Math.round(t[0]/255*100)+"%, "+Math.round(t[1]/255*100)+"%, "+Math.round(t[2]/255*100)+"%, "+(e||t[3]||1)+")"}function V(t,e){return void 0===e&&(e=void 0!==t[3]?t[3]:1),"hsla("+t[0]+", "+t[1]+"%, "+t[2]+"%, "+e+")"}function E(t,e,i){return Math.min(Math.max(e,t),i)}function H(t){var e=t.toString(16).toUpperCase();return e.length<2?"0"+e:e}var j={};for(var q in L)j[L[q]]=q;var Y=function(t){return t instanceof Y?t:this instanceof Y?(this.valid=!1,this.values={rgb:[0,0,0],hsl:[0,0,0],hsv:[0,0,0],hwb:[0,0,0],cmyk:[0,0,0,0],alpha:1},void("string"==typeof t?(e=R.getRgba(t))?this.setValues("rgb",e):(e=R.getHsla(t))?this.setValues("hsl",e):(e=R.getHwb(t))&&this.setValues("hwb",e):"object"==typeof t&&(void 0!==(e=t).r||void 0!==e.red?this.setValues("rgb",e):void 0!==e.l||void 0!==e.lightness?this.setValues("hsl",e):void 0!==e.v||void 0!==e.value?this.setValues("hsv",e):void 0!==e.w||void 0!==e.whiteness?this.setValues("hwb",e):void 0===e.c&&void 0===e.cyan||this.setValues("cmyk",e)))):new Y(t);var e};Y.prototype={isValid:function(){return this.valid},rgb:function(){return this.setSpace("rgb",arguments)},hsl:function(){return this.setSpace("hsl",arguments)},hsv:function(){return this.setSpace("hsv",arguments)},hwb:function(){return this.setSpace("hwb",arguments)},cmyk:function(){return this.setSpace("cmyk",arguments)},rgbArray:function(){return this.values.rgb},hslArray:function(){return this.values.hsl},hsvArray:function(){return this.values.hsv},hwbArray:function(){var t=this.values;return 1!==t.alpha?t.hwb.concat([t.alpha]):t.hwb},cmykArray:function(){return this.values.cmyk},rgbaArray:function(){var t=this.values;return t.rgb.concat([t.alpha])},hslaArray:function(){var t=this.values;return t.hsl.concat([t.alpha])}
vendor: 4,804 bytes, line 1835
1835,alpha:function(t){return void 0===t?this.values.alpha:(this.setValues("alpha",t),this)},red:function(t){return this.setChannel("rgb",0,t)},green:function(t){return this.setChannel("rgb",1,t)},blue:function(t){return this.setChannel("rgb",2,t)},hue:function(t){return t&&(t=(t%=360)<0?360+t:t),this.setChannel("hsl",0,t)},saturation:function(t){return this.setChannel("hsl",1,t)},lightness:function(t){return this.setChannel("hsl",2,t)},saturationv:function(t){return this.setChannel("hsv",1,t)},whiteness:function(t){return this.setChannel("hwb",1,t)},blackness:function(t){return this.setChannel("hwb",2,t)},value:function(t){return this.setChannel("hsv",2,t)},cyan:function(t){return this.setChannel("cmyk",0,t)},magenta:function(t){return this.setChannel("cmyk",1,t)},yellow:function(t){return this.setChannel("cmyk",2,t)},black:function(t){return this.setChannel("cmyk",3,t)},hexString:function(){return R.hexString(this.values.rgb)},rgbString:function(){return R.rgbString(this.values.rgb,this.values.alpha)},rgbaString:function(){return R.rgbaString(this.values.rgb,this.values.alpha)},percentString:function(){return R.percentString(this.values.rgb,this.values.alpha)},hslString:function(){return R.hslString(this.values.hsl,this.values.alpha)},hslaString:function(){return R.hslaString(this.values.hsl,this.values.alpha)},hwbString:function(){return R.hwbString(this.values.hwb,this.values.alpha)},keyword:function(){return R.keyword(this.values.rgb,this.values.alpha)},rgbNumber:function(){var t=this.values.rgb;return t[0]<<16|t[1]<<8|t[2]},luminosity:function(){for(var t=this.values.rgb,e=[],i=0;i<t.length;i++){var n=t[i]/255;e[i]=n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4)}return.2126*e[0]+.7152*e[1]+.0722*e[2]},contrast:function(t){var e=this.luminosity(),i=t.luminosity();return e>i?(e+.05)/(i+.05):(i+.05)/(e+.05)},level:function(t){var e=this.contrast(t);return e>=7.1?"AAA":e>=4.5?"AA":""},dark:function(){var t=this.values.rgb;return(299*t[0]+587*t[1]+114*t[2])/1e3<128},light:function(){return!this.dark()},negate:function(){for(var t=[],e=0;e<3;e++)t[e]=255-this.values.rgb[e];return this.setValues("rgb",t),this},lighten:function(t){var e=this.values.hsl;return e[2]+=e[2]*t,this.setValues("hsl",e),this},darken:function(t){var e=this.values.hsl;return e[2]-=e[2]*t,this.setValues("hsl",e),this},saturate:function(t){var e=this.values.hsl;return e[1]+=e[1]*t,this.setValues("hsl",e),this},desaturate:function(t){var e=this.values.hsl;return e[1]-=e[1]*t,this.setValues("hsl",e),this},whiten:function(t){var e=this.values.hwb;return e[1]+=e[1]*t,this.setValues("hwb",e),this},blacken:function(t){var e=this.values.hwb;return e[2]+=e[2]*t,this.setValues("hwb",e),this},greyscale:function(){var t=this.values.rgb,e=.3*t[0]+.59*t[1]+.11*t[2];return this.setValues("rgb",[e,e,e]),this},clearer:function(t){var e=this.values.alpha;return this.setValues("alpha",e-e*t),this},opaquer:function(t){var e=this.values.alpha;return this.setValues("alpha",e+e*t),this},rotate:function(t){var e=this.values.hsl,i=(e[0]+t)%360;return e[0]=i<0?360+i:i,this.setValues("hsl",e),this},mix:function(t,e){var i=t,n=void 0===e?.5:e,a=2*n-1,o=this.alpha()-i.alpha(),r=((a*o==-1?a:(a+o)/(1+a*o))+1)/2,s=1-r;return this.rgb(r*this.red()+s*i.red(),r*this.green()+s*i.green(),r*this.blue()+s*i.blue()).alpha(this.alpha()*n+i.alpha()*(1-n))},toJSON:function(){return this.rgb()},clone:function(){var t,e,i=new Y,n=this.values,a=i.values;for(var o in n)n.hasOwnProperty(o)&&(t=n[o],"[object Array]"===(e={}.toString.call(t))?a[o]=t.slice(0):"[object Number]"===e?a[o]=t:console.error("unexpected color value:",t));return i}},Y.prototype.spaces={rgb:["red","green","blue"],hsl:["hue","saturation","lightness"],hsv:["hue","saturation","value"],hwb:["hue","whiteness","blackness"],cmyk:["cyan","magenta","yellow","black"]},Y.prototype.maxes={rgb:[255,255,255],hsl:[360,100,100],hsv:[360,100,100],hwb:[360,100,100],cmyk:[100,100,100,100]},Y.prototype.getValues=function(t){for(var e=this.values,i={},n=0;n<t.length;n++)i[t.charAt(n)]=e[t][n];return 1!==e.alpha&&(i.a=e.alpha),i},Y.prototype.setValues=function(t,e){var i,n,a=this.values,o=this.spaces,r=this.maxes,s=1;if(this.valid=!0,"alpha"===t)s=e;else if(e.length)a[t]=e.slice(0,t.length),s=e[t.length];else if(void 0!==e[t.charAt(0)]){for(i=0;i<t.length;i++)a[t][i]=e[t.charAt(i)];s=e.a}else if(void 0!==e[o[t][0]]){var l=o[t];for(i=0;i<t.length;i++)a[t][i]=e[l[i]];s=e.alpha}if(a.alpha=Math.max(0,Math.min(1,void 0===s?a.alpha:s)),"alpha"===t)return!1;for(i=0;i<t.length;i++)n=Math.max(0,Math.min(r[t][i],a[t][i])),a[t][i]=Math.round(n);for(var d in o)d!==t&&(a[d]=F[t][d](a[t]));return!0},Y.prototype.setSpace=function(t,e){var i=e[0];return void 0===i?this.getValues(t):("number"==typeof i&&(i=Array.prototype.slice.call(e)),this.setValues(t,i),this)}
vendor: 20,991 bytes, line 1835
1835,Y.prototype.setChannel=function(t,e,i){var n=this.values[t];return void 0===i?n[e]:i===n[e]?this:(n[e]=i,this.setValues(t,n),this)},"undefined"!=typeof window&&(window.Color=Y);var U,X=Y,K={noop:function(){},uid:(U=0,function(){return U++}),isNullOrUndef:function(t){return null==t},isArray:function(t){if(Array.isArray&&Array.isArray(t))return!0;var e=Object.prototype.toString.call(t);return"[object"===e.substr(0,7)&&"Array]"===e.substr(-6)},isObject:function(t){return null!==t&&"[object Object]"===Object.prototype.toString.call(t)},isFinite:function(t){return("number"==typeof t||t instanceof Number)&&isFinite(t)},valueOrDefault:function(t,e){return void 0===t?e:t},valueAtIndexOrDefault:function(t,e,i){return K.valueOrDefault(K.isArray(t)?t[e]:t,i)},callback:function(t,e,i){if(t&&"function"==typeof t.call)return t.apply(i,e)},each:function(t,e,i,n){var a,o,r;if(K.isArray(t))if(o=t.length,n)for(a=o-1;a>=0;a--)e.call(i,t[a],a);else for(a=0;a<o;a++)e.call(i,t[a],a);else if(K.isObject(t))for(o=(r=Object.keys(t)).length,a=0;a<o;a++)e.call(i,t[r[a]],r[a])},arrayEquals:function(t,e){var i,n,a,o;if(!t||!e||t.length!==e.length)return!1;for(i=0,n=t.length;i<n;++i)if(a=t[i],o=e[i],a instanceof Array&&o instanceof Array){if(!K.arrayEquals(a,o))return!1}else if(a!==o)return!1;return!0},clone:function(t){if(K.isArray(t))return t.map(K.clone);if(K.isObject(t)){for(var e={},i=Object.keys(t),n=i.length,a=0;a<n;++a)e[i[a]]=K.clone(t[i[a]]);return e}return t},_merger:function(t,e,i,n){var a=e[t],o=i[t];K.isObject(a)&&K.isObject(o)?K.merge(a,o,n):e[t]=K.clone(o)},_mergerIf:function(t,e,i){var n=e[t],a=i[t];K.isObject(n)&&K.isObject(a)?K.mergeIf(n,a):e.hasOwnProperty(t)||(e[t]=K.clone(a))},merge:function(t,e,i){var n,a,o,r,s,l=K.isArray(e)?e:[e],d=l.length;if(!K.isObject(t))return t;for(n=(i=i||{}).merger||K._merger,a=0;a<d;++a)if(e=l[a],K.isObject(e))for(s=0,r=(o=Object.keys(e)).length;s<r;++s)n(o[s],t,e,i);return t},mergeIf:function(t,e){return K.merge(t,e,{merger:K._mergerIf})},extend:function(t){for(var e=function(e,i){t[i]=e},i=1,n=arguments.length;i<n;++i)K.each(arguments[i],e);return t},inherits:function(t){var e=this,i=t&&t.hasOwnProperty("constructor")?t.constructor:function(){return e.apply(this,arguments)},n=function(){this.constructor=i};return n.prototype=e.prototype,i.prototype=new n,i.extend=K.inherits,t&&K.extend(i.prototype,t),i.__super__=e.prototype,i}},G=K;K.callCallback=K.callback,K.indexOf=function(t,e,i){return Array.prototype.indexOf.call(t,e,i)},K.getValueOrDefault=K.valueOrDefault,K.getValueAtIndexOrDefault=K.valueAtIndexOrDefault;var Z={linear:function(t){return t},easeInQuad:function(t){return t*t},easeOutQuad:function(t){return-t*(t-2)},easeInOutQuad:function(t){return(t/=.5)<1?.5*t*t:-.5*(--t*(t-2)-1)},easeInCubic:function(t){return t*t*t},easeOutCubic:function(t){return(t-=1)*t*t+1},easeInOutCubic:function(t){return(t/=.5)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},easeInQuart:function(t){return t*t*t*t},easeOutQuart:function(t){return-((t-=1)*t*t*t-1)},easeInOutQuart:function(t){return(t/=.5)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},easeInQuint:function(t){return t*t*t*t*t},easeOutQuint:function(t){return(t-=1)*t*t*t*t+1},easeInOutQuint:function(t){return(t/=.5)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},easeInSine:function(t){return 1-Math.cos(t*(Math.PI/2))},easeOutSine:function(t){return Math.sin(t*(Math.PI/2))},easeInOutSine:function(t){return-.5*(Math.cos(Math.PI*t)-1)},easeInExpo:function(t){return 0===t?0:Math.pow(2,10*(t-1))},easeOutExpo:function(t){return 1===t?1:1-Math.pow(2,-10*t)},easeInOutExpo:function(t){return 0===t?0:1===t?1:(t/=.5)<1?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*--t))},easeInCirc:function(t){return t>=1?t:-(Math.sqrt(1-t*t)-1)},easeOutCirc:function(t){return Math.sqrt(1-(t-=1)*t)},easeInOutCirc:function(t){return(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},easeInElastic:function(t){var e=1.70158,i=0,n=1;return 0===t?0:1===t?1:(i||(i=.3),n<1?(n=1,e=i/4):e=i/(2*Math.PI)*Math.asin(1/n),-n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/i))},easeOutElastic:function(t){var e=1.70158,i=0,n=1;return 0===t?0:1===t?1:(i||(i=.3),n<1?(n=1,e=i/4):e=i/(2*Math.PI)*Math.asin(1/n),n*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/i)+1)},easeInOutElastic:function(t){var e=1.70158,i=0,n=1;return 0===t?0:2==(t/=.5)?1:(i||(i=.45),n<1?(n=1,e=i/4):e=i/(2*Math.PI)*Math.asin(1/n),t<1?n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/i)*-.5:n*Math.pow(2,-10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/i)*.5+1)},easeInBack:function(t){var e=1.70158;return t*t*((e+1)*t-e)},easeOutBack:function(t){var e=1.70158;return(t-=1)*t*((e+1)*t+e)+1},easeInOutBack:function(t){var e=1.70158;return(t/=.5)<1?t*t*((1+(e*=1.525))*t-e)*.5:.5*((t-=2)*t*((1+(e*=1.525))*t+e)+2)},easeInBounce:function(t){return 1-Z.easeOutBounce(1-t)},easeOutBounce:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},easeInOutBounce:function(t){return t<.5?.5*Z.easeInBounce(2*t):.5*Z.easeOutBounce(2*t-1)+.5}},$={effects:Z};G.easingEffects=Z;var J=Math.PI,Q=J/180,tt=2*J,et=J/2,it=J/4,nt=2*J/3,at={clear:function(t){t.ctx.clearRect(0,0,t.width,t.height)},roundedRect:function(t,e,i,n,a,o){if(o){var r=Math.min(o,a/2,n/2),s=e+r,l=i+r,d=e+n-r,u=i+a-r;t.moveTo(e,l),s<d&&l<u?(t.arc(s,l,r,-J,-et),t.arc(d,l,r,-et,0),t.arc(d,u,r,0,et),t.arc(s,u,r,et,J)):s<d?(t.moveTo(s,i),t.arc(d,l,r,-et,et),t.arc(s,l,r,et,J+et)):l<u?(t.arc(s,l,r,-J,0),t.arc(s,u,r,0,J)):t.arc(s,l,r,-J,J),t.closePath(),t.moveTo(e,i)}else t.rect(e,i,n,a)},drawPoint:function(t,e,i,n,a,o){var r,s,l,d,u,h=(o||0)*Q;if(!e||"object"!=typeof e||"[object HTMLImageElement]"!==(r=e.toString())&&"[object HTMLCanvasElement]"!==r){if(!(isNaN(i)||i<=0)){switch(t.beginPath(),e){default:t.arc(n,a,i,0,tt),t.closePath();break;case"triangle":t.moveTo(n+Math.sin(h)*i,a-Math.cos(h)*i),h+=nt,t.lineTo(n+Math.sin(h)*i,a-Math.cos(h)*i),h+=nt,t.lineTo(n+Math.sin(h)*i,a-Math.cos(h)*i),t.closePath();break;case"rectRounded":d=i-(u=.516*i),s=Math.cos(h+it)*d,l=Math.sin(h+it)*d,t.arc(n-s,a-l,u,h-J,h-et),t.arc(n+l,a-s,u,h-et,h),t.arc(n+s,a+l,u,h,h+et),t.arc(n-l,a+s,u,h+et,h+J),t.closePath();break;case"rect":if(!o){d=Math.SQRT1_2*i,t.rect(n-d,a-d,2*d,2*d);break}h+=it;case"rectRot":s=Math.cos(h)*i,l=Math.sin(h)*i,t.moveTo(n-s,a-l),t.lineTo(n+l,a-s),t.lineTo(n+s,a+l),t.lineTo(n-l,a+s),t.closePath();break;case"crossRot":h+=it;case"cross":s=Math.cos(h)*i,l=Math.sin(h)*i,t.moveTo(n-s,a-l),t.lineTo(n+s,a+l),t.moveTo(n+l,a-s),t.lineTo(n-l,a+s);break;case"star":s=Math.cos(h)*i,l=Math.sin(h)*i,t.moveTo(n-s,a-l),t.lineTo(n+s,a+l),t.moveTo(n+l,a-s),t.lineTo(n-l,a+s),h+=it,s=Math.cos(h)*i,l=Math.sin(h)*i,t.moveTo(n-s,a-l),t.lineTo(n+s,a+l),t.moveTo(n+l,a-s),t.lineTo(n-l,a+s);break;case"line":s=Math.cos(h)*i,l=Math.sin(h)*i,t.moveTo(n-s,a-l),t.lineTo(n+s,a+l);break;case"dash":t.moveTo(n,a),t.lineTo(n+Math.cos(h)*i,a+Math.sin(h)*i)}t.fill(),t.stroke()}}else t.drawImage(e,n-e.width/2,a-e.height/2,e.width,e.height)},_isPointInArea:function(t,e){return t.x>e.left-1e-6&&t.x<e.right+1e-6&&t.y>e.top-1e-6&&t.y<e.bottom+1e-6},clipArea:function(t,e){t.save(),t.beginPath(),t.rect(e.left,e.top,e.right-e.left,e.bottom-e.top),t.clip()},unclipArea:function(t){t.restore()},lineTo:function(t,e,i,n){var a=i.steppedLine;if(a){if("middle"===a){var o=(e.x+i.x)/2;t.lineTo(o,n?i.y:e.y),t.lineTo(o,n?e.y:i.y)}else"after"===a&&!n||"after"!==a&&n?t.lineTo(e.x,i.y):t.lineTo(i.x,e.y);t.lineTo(i.x,i.y)}else i.tension?t.bezierCurveTo(n?e.controlPointPreviousX:e.controlPointNextX,n?e.controlPointPreviousY:e.controlPointNextY,n?i.controlPointNextX:i.controlPointPreviousX,n?i.controlPointNextY:i.controlPointPreviousY,i.x,i.y):t.lineTo(i.x,i.y)}},ot=at;G.clear=at.clear,G.drawRoundedRectangle=function(t){t.beginPath(),at.roundedRect.apply(at,arguments)};var rt={_set:function(t,e){return G.merge(this[t]||(this[t]={}),e)}};rt._set("global",{defaultColor:"rgba(0,0,0,0.1)",defaultFontColor:"#666",defaultFontFamily:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",defaultFontSize:12,defaultFontStyle:"normal",defaultLineHeight:1.2,showLines:!0});var st=rt,lt=G.valueOrDefault;var dt={toLineHeight:function(t,e){var i=(""+t).match(/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/);if(!i||"normal"===i[1])return 1.2*e;switch(t=+i[2],i[3]){case"px":return t;case"%":t/=100}return e*t},toPadding:function(t){var e,i,n,a;return G.isObject(t)?(e=+t.top||0,i=+t.right||0,n=+t.bottom||0,a=+t.left||0):e=i=n=a=+t||0,{top:e,right:i,bottom:n,left:a,height:e+n,width:a+i}},_parseFont:function(t){var e=st.global,i=lt(t.fontSize,e.defaultFontSize),n={family:lt(t.fontFamily,e.defaultFontFamily),lineHeight:G.options.toLineHeight(lt(t.lineHeight,e.defaultLineHeight),i),size:i,style:lt(t.fontStyle,e.defaultFontStyle),weight:null,string:""};return n.string=function(t){return!t||G.isNullOrUndef(t.size)||G.isNullOrUndef(t.family)?null:(t.style?t.style+" ":"")+(t.weight?t.weight+" ":"")+t.size+"px "+t.family}(n),n},resolve:function(t,e,i){var n,a,o;for(n=0,a=t.length;n<a;++n)if(void 0!==(o=t[n])&&(void 0!==e&&"function"==typeof o&&(o=o(e)),void 0!==i&&G.isArray(o)&&(o=o[i]),void 0!==o))return o}},ut=G,ht=$,ct=ot,ft=dt;ut.easing=ht,ut.canvas=ct,ut.options=ft;var gt=function(t){ut.extend(this,t),this.initialize.apply(this,arguments)};ut.extend(gt.prototype,{initialize:function(){this.hidden=!1},pivot:function(){var t=this;return t._view||(t._view=ut.clone(t._model)),t._start={},t},transition:function(t){var e=this,i=e._model,n=e._start,a=e._view;return i&&1!==t?(a||(a=e._view={}),n||(n=e._start={}),function(t,e,i,n){var a,o,r,s,l,d,u,h,c,f=Object.keys(i);for(a=0,o=f.length;a<o;++a)if(d=i[r=f[a]],e.hasOwnProperty(r)||(e[r]=d),(s=e[r])!==d&&"_"!==r[0]){if(t.hasOwnProperty(r)||(t[r]=s),(u=typeof d)==typeof(l=t[r]))if("string"===u){if((h=X(l)).valid&&(c=X(d)).valid){e[r]=c.mix(h,n).rgbString();continue}}else if(ut.isFinite(l)&&ut.isFinite(d)){e[r]=l+(d-l)*n;continue}e[r]=d}}(n,a,i,t),e):(e._view=i,e._start=null,e)},tooltipPosition:function(){return{x:this._model.x,y:this._model.y}},hasValue:function(){return ut.isNumber(this._model.x)&&ut.isNumber(this._model.y)}}),gt.extend=ut.inherits;var pt=gt,mt=pt.extend({chart:null,currentStep:0,numSteps:60,easing:"",render:null,onAnimationProgress:null,onAnimationComplete:null}),vt=mt;Object.defineProperty(mt.prototype,"animationObject",{get:function(){return this}}),Object.defineProperty(mt.prototype,"chartInstance",{get:function(){return this.chart},set:function(t){this.chart=t}}),st._set("global",{animation:{duration:1e3,easing:"easeOutQuart",onProgress:ut.noop,onComplete:ut.noop}});var bt={animations:[],request:null,addAnimation:function(t,e,i,n){var a,o,r=this.animations;for(e.chart=t,e.startTime=Date.now(),e.duration=i,n||(t.animating=!0),a=0,o=r.length;a<o;++a)if(r[a].chart===t)return void(r[a]=e);r.push(e),1===r.length&&this.requestAnimationFrame()},cancelAnimation:function(t){var e=ut.findIndex(this.animations,function(e){return e.chart===t});-1!==e&&(this.animations.splice(e,1),t.animating=!1)},requestAnimationFrame:function(){var t=this;null===t.request&&(t.request=ut.requestAnimFrame.call(window,function(){t.request=null,t.startDigest()}))},startDigest:function(){this.advance(),this.animations.length>0&&this.requestAnimationFrame()},advance:function(){for(var t,e,i,n,a=this.animations,o=0;o<a.length;)e=(t=a[o]).chart,i=t.numSteps,n=Math.floor((Date.now()-t.startTime)/t.duration*i)+1,t.currentStep=Math.min(n,i),ut.callback(t.render,[e,t],e),ut.callback(t.onAnimationProgress,[t],e),t.currentStep>=i?(ut.callback(t.onAnimationComplete,[t],e),e.animating=!1,a.splice(o,1)):++o}},xt=ut.options.resolve,yt=["push","pop","shift","splice","unshift"];function kt(t,e){var i=t._chartjs;if(i){var n=i.listeners,a=n.indexOf(e);-1!==a&&n.splice(a,1),n.length>0||(yt.forEach(function(e){delete t[e]}),delete t._chartjs)}}var wt=function(t,e){this.initialize(t,e)};ut.extend(wt.prototype,{datasetElementType:null,dataElementType:null,initialize:function(t,e){this.chart=t,this.index=e,this.linkScales(),this.addElements()},updateIndex:function(t){this.index=t},linkScales:function(){var t=this,e=t.getMeta(),i=t.getDataset();null!==e.xAxisID&&e.xAxisID in t.chart.scales||(e.xAxisID=i.xAxisID||t.chart.options.scales.xAxes[0].id),null!==e.yAxisID&&e.yAxisID in t.chart.scales||(e.yAxisID=i.yAxisID||t.chart.options.scales.yAxes[0].id)},getDataset:function(){return this.chart.data.datasets[this.index]},getMeta:function(){return this.chart.getDatasetMeta(this.index)},getScaleForId:function(t){return this.chart.scales[t]},_getValueScaleId:function(){return this.getMeta().yAxisID},_getIndexScaleId:function(){return this.getMeta().xAxisID},_getValueScale:function(){return this.getScaleForId(this._getValueScaleId())},_getIndexScale:function(){return this.getScaleForId(this._getIndexScaleId())},reset:function(){this.update(!0)},destroy:function(){this._data&&kt(this._data,this)},createMetaDataset:function(){var t=this.datasetElementType;return t&&new t({_chart:this.chart,_datasetIndex:this.index})},createMetaData:function(t){var e=this.dataElementType;return e&&new e({_chart:this.chart,_datasetIndex:this.index,_index:t})},addElements:function(){var t,e,i=this.getMeta(),n=this.getDataset().data||[],a=i.data;for(t=0,e=n.length;t<e;++t)a[t]=a[t]||this.createMetaData(t);i.dataset=i.dataset||this.createMetaDataset()},addElementAndReset:function(t){var e=this.createMetaData(t);this.getMeta().data.splice(t,0,e),this.updateElement(e,t,!0)},buildOrUpdateElements:function(){var t,e,i=this,n=i.getDataset(),a=n.data||(n.data=[]);i._data!==a&&(i._data&&kt(i._data,i),a&&Object.isExtensible(a)&&(e=i,(t=a)._chartjs?t._chartjs.listeners.push(e):(Object.defineProperty(t,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[e]}}),yt.forEach(function(e){var i="onData"+e.charAt(0).toUpperCase()+e.slice(1),n=t[e];Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value:function(){var e=Array.prototype.slice.call(arguments),a=n.apply(this,e);return ut.each(t._chartjs.listeners,function(t){"function"==typeof t[i]&&t[i].apply(t,e)}),a}})}))),i._data=a),i.resyncElements()},update:ut.noop,transition:function(t){for(var e=this.getMeta(),i=e.data||[],n=i.length,a=0;a<n;++a)i[a].transition(t);e.dataset&&e.dataset.transition(t)},draw:function(){var t=this.getMeta(),e=t.data||[],i=e.length,n=0;for(t.dataset&&t.dataset.draw();n<i;++n)e[n].draw()},removeHoverStyle:function(t){ut.merge(t._model,t.$previousStyle||{}),delete t.$previousStyle},setHoverStyle:function(t){var e=this.chart.data.datasets[t._datasetIndex],i=t._index,n=t.custom||{},a=t._model,o=ut.getHoverColor;t.$previousStyle={backgroundColor:a.backgroundColor,borderColor:a.borderColor,borderWidth:a.borderWidth},a.backgroundColor=xt([n.hoverBackgroundColor,e.hoverBackgroundColor,o(a.backgroundColor)],void 0,i),a.borderColor=xt([n.hoverBorderColor,e.hoverBorderColor,o(a.borderColor)],void 0,i),a.borderWidth=xt([n.hoverBorderWidth,e.hoverBorderWidth,a.borderWidth],void 0,i)},resyncElements:function(){var t=this.getMeta(),e=this.getDataset().data,i=t.data.length,n=e.length;n<i?t.data.splice(n,i-n):n>i&&this.insertElements(i,n-i)},insertElements:function(t,e){for(var i=0;i<e;++i)this.addElementAndReset(t+i)},onDataPush:function(){var t=arguments.length;this.insertElements(this.getDataset().data.length-t,t)},onDataPop:function(){this.getMeta().data.pop()},onDataShift:function(){this.getMeta().data.shift()},onDataSplice:function(t,e){this.getMeta().data.splice(t,e),this.insertElements(t,arguments.length-2)},onDataUnshift:function(){this.insertElements(0,arguments.length)}}),wt.extend=ut.inherits;var Mt=wt;st._set("global",{elements:{arc:{backgroundColor:st.global.defaultColor,borderColor:"#fff",borderWidth:2,borderAlign:"center"}}});var _t=pt.extend({inLabelRange:function(t){var e=this._view;return!!e&&Math.pow(t-e.x,2)<Math.pow(e.radius+e.hoverRadius,2)},inRange:function(t,e){var i=this._view;if(i){for(var n=ut.getAngleFromPoint(i,{x:t,y:e}),a=n.angle,o=n.distance,r=i.startAngle,s=i.endAngle;s<r;)s+=2*Math.PI;for(;a>s;)a-=2*Math.PI;for(;a<r;)a+=2*Math.PI;var l=a>=r&&a<=s,d=o>=i.innerRadius&&o<=i.outerRadius;return l&&d}return!1},getCenterPoint:function(){var t=this._view,e=(t.startAngle+t.endAngle)/2,i=(t.innerRadius+t.outerRadius)/2;return{x:t.x+Math.cos(e)*i,y:t.y+Math.sin(e)*i}},getArea:function(){var t=this._view;return Math.PI*((t.endAngle-t.startAngle)/(2*Math.PI))*(Math.pow(t.outerRadius,2)-Math.pow(t.innerRadius,2))},tooltipPosition:function(){var t=this._view,e=t.startAngle+(t.endAngle-t.startAngle)/2,i=(t.outerRadius-t.innerRadius)/2+t.innerRadius;return{x:t.x+Math.cos(e)*i,y:t.y+Math.sin(e)*i}},draw:function(){var t,e=this._chart.ctx,i=this._view,n=i.startAngle,a=i.endAngle,o="inner"===i.borderAlign?.33:0;e.save(),e.beginPath(),e.arc(i.x,i.y,Math.max(i.outerRadius-o,0),n,a),e.arc(i.x,i.y,i.innerRadius,a,n,!0),e.closePath(),e.fillStyle=i.backgroundColor,e.fill(),i.borderWidth&&("inner"===i.borderAlign?(e.beginPath(),t=o/i.outerRadius,e.arc(i.x,i.y,i.outerRadius,n-t,a+t),i.innerRadius>o?(t=o/i.innerRadius,e.arc(i.x,i.y,i.innerRadius-o,a+t,n-t,!0)):e.arc(i.x,i.y,o,a+Math.PI/2,n-Math.PI/2),e.closePath(),e.clip(),e.beginPath(),e.arc(i.x,i.y,i.outerRadius,n,a),e.arc(i.x,i.y,i.innerRadius,a,n,!0),e.closePath(),e.lineWidth=2*i.borderWidth,e.lineJoin="round"):(e.lineWidth=i.borderWidth,e.lineJoin="bevel"),e.strokeStyle=i.borderColor,e.stroke()),e.restore()}}),Ct=ut.valueOrDefault,St=st.global.defaultColor;st._set("global",{elements:{line:{tension:.4,backgroundColor:St,borderWidth:3,borderColor:St,borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",capBezierPoints:!0,fill:!0}}});var Pt=pt.extend({draw:function(){var t,e,i,n,a=this._view,o=this._chart.ctx,r=a.spanGaps,s=this._children.slice(),l=st.global,d=l.elements.line,u=-1;for(this._loop&&s.length&&s.push(s[0]),o.save(),o.lineCap=a.borderCapStyle||d.borderCapStyle,o.setLineDash&&o.setLineDash(a.borderDash||d.borderDash),o.lineDashOffset=Ct(a.borderDashOffset,d.borderDashOffset),o.lineJoin=a.borderJoinStyle||d.borderJoinStyle,o.lineWidth=Ct(a.borderWidth,d.borderWidth),o.strokeStyle=a.borderColor||l.defaultColor,o.beginPath(),u=-1,t=0;t<s.length;++t)e=s[t],i=ut.previousItem(s,t),n=e._view,0===t?n.skip||(o.moveTo(n.x,n.y),u=t):(i=-1===u?i:s[u],n.skip||(u!==t-1&&!r||-1===u?o.moveTo(n.x,n.y):ut.canvas.lineTo(o,i._view,e._view),u=t));o.stroke(),o.restore()}}),It=ut.valueOrDefault,At=st.global.defaultColor;function Dt(t){var e=this._view;return!!e&&Math.abs(t-e.x)<e.radius+e.hitRadius}st._set("global",{elements:{point:{radius:3,pointStyle:"circle",backgroundColor:At,borderColor:At,borderWidth:1,hitRadius:1,hoverRadius:4,hoverBorderWidth:1}}});var Tt=pt.extend({inRange:function(t,e){var i=this._view;return!!i&&Math.pow(t-i.x,2)+Math.pow(e-i.y,2)<Math.pow(i.hitRadius+i.radius,2)},inLabelRange:Dt,inXRange:Dt,inYRange:function(t){var e=this._view;return!!e&&Math.abs(t-e.y)<e.radius+e.hitRadius},getCenterPoint:function(){var t=this._view;return{x:t.x,y:t.y}},getArea:function(){return Math.PI*Math.pow(this._view.radius,2)},tooltipPosition:function(){var t=this._view;return{x:t.x,y:t.y,padding:t.radius+t.borderWidth}},draw:function(t){var e=this._view,i=this._chart.ctx,n=e.pointStyle,a=e.rotation,o=e.radius,r=e.x,s=e.y,l=st.global,d=l.defaultColor;e.skip||(void 0===t||ut.canvas._isPointInArea(e,t))&&(i.strokeStyle=e.borderColor||d,i.lineWidth=It(e.borderWidth,l.elements.point.borderWidth),i.fillStyle=e.backgroundColor||d,ut.canvas.drawPoint(i,n,o,r,s,a))}}),Ft=st.global.defaultColor;function Lt(t){return t&&void 0!==t.width}function Rt(t){var e,i,n,a,o;return Lt(t)?(o=t.width/2,e=t.x-o,i=t.x+o,n=Math.min(t.y,t.base),a=Math.max(t.y,t.base)):(o=t.height/2,e=Math.min(t.x,t.base),i=Math.max(t.x,t.base),n=t.y-o,a=t.y+o),{left:e,top:n,right:i,bottom:a}}function Ot(t,e,i){return t===e?i:t===i?e:t}function zt(t,e,i){var n,a,o,r,s=t.borderWidth,l=function(t){var e=t.borderSkipped,i={};return e?(t.horizontal?t.base>t.x&&(e=Ot(e,"left","right")):t.base<t.y&&(e=Ot(e,"bottom","top")),i[e]=!0,i):i}(t);return ut.isObject(s)?(n=+s.top||0,a=+s.right||0,o=+s.bottom||0,r=+s.left||0):n=a=o=r=+s||0,{t:l.top||n<0?0:n>i?i:n,r:l.right||a<0?0:a>e?e:a,b:l.bottom||o<0?0:o>i?i:o,l:l.left||r<0?0:r>e?e:r}}function Bt(t,e,i){var n=null===e,a=null===i,o=!(!t||n&&a)&&Rt(t);return o&&(n||e>=o.left&&e<=o.right)&&(a||i>=o.top&&i<=o.bottom)}st._set("global",{elements:{rectangle:{backgroundColor:Ft,borderColor:Ft,borderSkipped:"bottom",borderWidth:0}}});var Nt=pt.extend({draw:function(){var t=this._chart.ctx,e=this._view,i=function(t){var e=Rt(t),i=e.right-e.left,n=e.bottom-e.top,a=zt(t,i/2,n/2);return{outer:{x:e.left,y:e.top,w:i,h:n},inner:{x:e.left+a.l,y:e.top+a.t,w:i-a.l-a.r,h:n-a.t-a.b}}}(e),n=i.outer,a=i.inner;t.fillStyle=e.backgroundColor,t.fillRect(n.x,n.y,n.w,n.h),n.w===a.w&&n.h===a.h||(t.save(),t.beginPath(),t.rect(n.x,n.y,n.w,n.h),t.clip(),t.fillStyle=e.borderColor,t.rect(a.x,a.y,a.w,a.h),t.fill("evenodd"),t.restore(
1835))},height:function(){var t=this._view;return t.base-t.y},inRange:function(t,e){return Bt(this._view,t,e)},inLabelRange:function(t,e){var i=this._view;return Lt(i)?Bt(i,t,null):Bt(i,null,e)},inXRange:function(t){return Bt(this._view,t,null)},inYRange:function(t){return Bt(this._view,null,t)},getCenterPoint:function(){var t,e,i=this._view;return Lt(i)?(t=i.x,e=(i.y+i.base)/2):(t=(i.x+i.base)/2,e=i.y),{x:t,y:e}},getArea:function(){var t=this._view;return Lt(t)?t.width*Math.abs(t.y-t.base):t.height*Math.abs(t.x-t.base)},tooltipPosition:function(){var t=this._view;return{x:t.x,y:t.y}}}),Wt={},Vt=_t,Et=Pt,Ht=Tt,jt=Nt;Wt.Arc=Vt,Wt.Line=Et,Wt.Point=Ht,Wt.Rectangle=jt;var qt=ut.options.resolve;st._set("bar",{hover:{mode:"label"},scales:{xAxes:[{type:"category",categoryPercentage:.8,barPercentage:.9,offset:!0,gridLines:{offsetGridLines:!0}}],yAxes:[{type:"linear"}]}});var Yt=Mt.extend({dataElementType:Wt.Rectangle,initialize:function(){var t;Mt.prototype.initialize.apply(this,arguments),(t=this.getMeta()).stack=this.getDataset().stack,t.bar=!0},update:function(t){var e,i,n=this.getMeta().data;for(this._ruler=this.getRuler(),e=0,i=n.length;e<i;++e)this.updateElement(n[e],e,t)},updateElement:function(t,e,i){var n=this,a=n.getMeta(),o=n.getDataset(),r=n._resolveElementOptions(t,e);t._xScale=n.getScaleForId(a.xAxisID),t._yScale=n.getScaleForId(a.yAxisID),t._datasetIndex=n.index,t._index=e,t._model={backgroundColor:r.backgroundColor,borderColor:r.borderColor,borderSkipped:r.borderSkipped,borderWidth:r.borderWidth,datasetLabel:o.label,label:n.chart.data.labels[e]},n._updateElementGeometry(t,e,i),t.pivot()},_updateElementGeometry:function(t,e,i){var n=this,a=t._model,o=n._getValueScale(),r=o.getBasePixel(),s=o.isHorizontal(),l=n._ruler||n.getRuler(),d=n.calculateBarValuePixels(n.index,e),u=n.calculateBarIndexPixels(n.index,e,l);a.horizontal=s,a.base=i?r:d.base,a.x=s?i?r:d.head:u.center,a.y=s?u.center:i?r:d.head,a.height=s?u.size:void 0,a.width=s?void 0:u.size},_getStacks:function(t){var e,i,n=this.chart,a=this._getIndexScale().options.stacked,o=void 0===t?n.data.datasets.length:t+1,r=[];for(e=0;e<o;++e)(i=n.getDatasetMeta(e)).bar&&n.isDatasetVisible(e)&&(!1===a||!0===a&&-1===r.indexOf(i.stack)||void 0===a&&(void 0===i.stack||-1===r.indexOf(i.stack)))&&r.push(i.stack);return r},getStackCount:function(){return this._getStacks().length},getStackIndex:function(t,e){var i=this._getStacks(t),n=void 0!==e?i.indexOf(e):-1;return-1===n?i.length-1:n},getRuler:function(){var t,e,i=this._getIndexScale(),n=this.getStackCount(),a=this.index,o=i.isHorizontal(),r=o?i.left:i.top,s=r+(o?i.width:i.height),l=[];for(t=0,e=this.getMeta().data.length;t<e;++t)l.push(i.getPixelForValue(null,t,a));return{min:ut.isNullOrUndef(i.options.barThickness)?function(t,e){var i,n,a,o,r=t.isHorizontal()?t.width:t.height,s=t.getTicks();for(a=1,o=e.length;a<o;++a)r=Math.min(r,Math.abs(e[a]-e[a-1]));for(a=0,o=s.length;a<o;++a)n=t.getPixelForTick(a),r=a>0?Math.min(r,n-i):r,i=n;return r}(i,l):-1,pixels:l,start:r,end:s,stackCount:n,scale:i}},calculateBarValuePixels:function(t,e){var i,n,a,o,r,s,l=this.chart,d=this.getMeta(),u=this._getValueScale(),h=u.isHorizontal(),c=l.data.datasets,f=+u.getRightValue(c[t].data[e]),g=u.options.minBarLength,p=u.options.stacked,m=d.stack,v=0;if(p||void 0===p&&void 0!==m)for(i=0;i<t;++i)(n=l.getDatasetMeta(i)).bar&&n.stack===m&&n.controller._getValueScaleId()===u.id&&l.isDatasetVisible(i)&&(a=+u.getRightValue(c[i].data[e]),(f<0&&a<0||f>=0&&a>0)&&(v+=a));return o=u.getPixelForValue(v),s=(r=u.getPixelForValue(v+f))-o,void 0!==g&&Math.abs(s)<g&&(s=g,r=f>=0&&!h||f<0&&h?o-g:o+g),{size:s,base:o,head:r,center:r+s/2}},calculateBarIndexPixels:function(t,e,i){var n=i.scale.options,a="flex"===n.barThickness?function(t,e,i){var n,a=e.pixels,o=a[t],r=t>0?a[t-1]:null,s=t<a.length-1?a[t+1]:null,l=i.categoryPercentage;return null===r&&(r=o-(null===s?e.end-e.start:s-o)),null===s&&(s=o+o-r),n=o-(o-Math.min(r,s))/2*l,{chunk:Math.abs(s-r)/2*l/e.stackCount,ratio:i.barPercentage,start:n}}(e,i,n):function(t,e,i){var n,a,o=i.barThickness,r=e.stackCount,s=e.pixels[t];return ut.isNullOrUndef(o)?(n=e.min*i.categoryPercentage,a=i.barPercentage):(n=o*r,a=1),{chunk:n/r,ratio:a,start:s-n/2}}(e,i,n),o=this.getStackIndex(t,this.getMeta().stack),r=a.start+a.chunk*o+a.chunk/2,s=Math.min(ut.valueOrDefault(n.maxBarThickness,1/0),a.chunk*a.ratio);return{base:r-s/2,head:r+s/2,center:r,size:s}},draw:function(){var t=this.chart,e=this._getValueScale(),i=this.getMeta().data,n=this.getDataset(),a=i.length,o=0;for(ut.canvas.clipArea(t.ctx,t.chartArea);o<a;++o)isNaN(e.getRightValue(n.data[o]))||i[o].draw();ut.canvas.unclipArea(t.ctx)},_resolveElementOptions:function(t,e){var i,n,a,o=this.chart,r=o.data.datasets[this.index],s=t.custom||{},l=o.options.elements.rectangle,d={},u={chart:o,dataIndex:e,dataset:r,datasetIndex:this.index},h=["backgroundColor","borderColor","borderSkipped","borderWidth"];for(i=0,n=h.length;i<n;++i)d[a=h[i]]=qt([s[a],r[a],l[a]],u,e);return d}}),Ut=ut.valueOrDefault,Xt=ut.options.resolve;st._set("bubble",{hover:{mode:"single"},scales:{xAxes:[{type:"linear",position:"bottom",id:"x-axis-0"}],yAxes:[{type:"linear",position:"left",id:"y-axis-0"}]},tooltips:{callbacks:{title:function(){return""},label:function(t,e){var i=e.datasets[t.datasetIndex].label||"",n=e.datasets[t.datasetIndex].data[t.index];return i+": ("+t.xLabel+", "+t.yLabel+", "+n.r+")"}}}});var Kt=Mt.extend({dataElementType:Wt.Point,update:function(t){var e=this,i=e.getMeta().data;ut.each(i,function(i,n){e.updateElement(i,n,t)})}
vendor: 4,548 bytes, line 1835
1835,updateElement:function(t,e,i){var n=this,a=n.getMeta(),o=t.custom||{},r=n.getScaleForId(a.xAxisID),s=n.getScaleForId(a.yAxisID),l=n._resolveElementOptions(t,e),d=n.getDataset().data[e],u=n.index,h=i?r.getPixelForDecimal(.5):r.getPixelForValue("object"==typeof d?d:NaN,e,u),c=i?s.getBasePixel():s.getPixelForValue(d,e,u);t._xScale=r,t._yScale=s,t._options=l,t._datasetIndex=u,t._index=e,t._model={backgroundColor:l.backgroundColor,borderColor:l.borderColor,borderWidth:l.borderWidth,hitRadius:l.hitRadius,pointStyle:l.pointStyle,rotation:l.rotation,radius:i?0:l.radius,skip:o.skip||isNaN(h)||isNaN(c),x:h,y:c},t.pivot()},setHoverStyle:function(t){var e=t._model,i=t._options,n=ut.getHoverColor;t.$previousStyle={backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:e.borderWidth,radius:e.radius},e.backgroundColor=Ut(i.hoverBackgroundColor,n(i.backgroundColor)),e.borderColor=Ut(i.hoverBorderColor,n(i.borderColor)),e.borderWidth=Ut(i.hoverBorderWidth,i.borderWidth),e.radius=i.radius+i.hoverRadius},_resolveElementOptions:function(t,e){var i,n,a,o=this.chart,r=o.data.datasets[this.index],s=t.custom||{},l=o.options.elements.point,d=r.data[e],u={},h={chart:o,dataIndex:e,dataset:r,datasetIndex:this.index},c=["backgroundColor","borderColor","borderWidth","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth","hoverRadius","hitRadius","pointStyle","rotation"];for(i=0,n=c.length;i<n;++i)u[a=c[i]]=Xt([s[a],r[a],l[a]],h,e);return u.radius=Xt([s.radius,d?d.r:void 0,r.radius,l.radius],h,e),u}}),Gt=ut.options.resolve,Zt=ut.valueOrDefault;st._set("doughnut",{animation:{animateRotate:!0,animateScale:!1},hover:{mode:"single"},legendCallback:function(t){var e=[];e.push('<ul class="'+t.id+'-legend">');var i=t.data,n=i.datasets,a=i.labels;if(n.length)for(var o=0;o<n[0].data.length;++o)e.push('<li><span style="background-color:'+n[0].backgroundColor[o]+'"></span>'),a[o]&&e.push(a[o]),e.push("</li>");return e.push("</ul>"),e.join("")},legend:{labels:{generateLabels:function(t){var e=t.data;return e.labels.length&&e.datasets.length?e.labels.map(function(i,n){var a=t.getDatasetMeta(0),o=e.datasets[0],r=a.data[n],s=r&&r.custom||{},l=t.options.elements.arc;return{text:i,fillStyle:Gt([s.backgroundColor,o.backgroundColor,l.backgroundColor],void 0,n),strokeStyle:Gt([s.borderColor,o.borderColor,l.borderColor],void 0,n),lineWidth:Gt([s.borderWidth,o.borderWidth,l.borderWidth],void 0,n),hidden:isNaN(o.data[n])||a.data[n].hidden,index:n}}):[]}},onClick:function(t,e){var i,n,a,o=e.index,r=this.chart;for(i=0,n=(r.data.datasets||[]).length;i<n;++i)(a=r.getDatasetMeta(i)).data[o]&&(a.data[o].hidden=!a.data[o].hidden);r.update()}},cutoutPercentage:50,rotation:-.5*Math.PI,circumference:2*Math.PI,tooltips:{callbacks:{title:function(){return""},label:function(t,e){var i=e.labels[t.index],n=": "+e.datasets[t.datasetIndex].data[t.index];return ut.isArray(i)?(i=i.slice())[0]+=n:i+=n,i}}}});var $t=Mt.extend({dataElementType:Wt.Arc,linkScales:ut.noop,getRingIndex:function(t){for(var e=0,i=0;i<t;++i)this.chart.isDatasetVisible(i)&&++e;return e},update:function(t){var e,i,n=this,a=n.chart,o=a.chartArea,r=a.options,s=o.right-o.left,l=o.bottom-o.top,d=Math.min(s,l),u={x:0,y:0},h=n.getMeta(),c=h.data,f=r.cutoutPercentage,g=r.circumference,p=n._getRingWeight(n.index);if(g<2*Math.PI){var m=r.rotation%(2*Math.PI),v=(m+=2*Math.PI*(m>=Math.PI?-1:m<-Math.PI?1:0))+g,b={x:Math.cos(m),y:Math.sin(m)},x={x:Math.cos(v),y:Math.sin(v)},y=m<=0&&v>=0||m<=2*Math.PI&&2*Math.PI<=v,k=m<=.5*Math.PI&&.5*Math.PI<=v||m<=2.5*Math.PI&&2.5*Math.PI<=v,w=m<=-Math.PI&&-Math.PI<=v||m<=Math.PI&&Math.PI<=v,M=m<=.5*-Math.PI&&.5*-Math.PI<=v||m<=1.5*Math.PI&&1.5*Math.PI<=v,_=f/100,C={x:w?-1:Math.min(b.x*(b.x<0?1:_),x.x*(x.x<0?1:_)),y:M?-1:Math.min(b.y*(b.y<0?1:_),x.y*(x.y<0?1:_))},S={x:y?1:Math.max(b.x*(b.x>0?1:_),x.x*(x.x>0?1:_)),y:k?1:Math.max(b.y*(b.y>0?1:_),x.y*(x.y>0?1:_))},P={width:.5*(S.x-C.x),height:.5*(S.y-C.y)};d=Math.min(s/P.width,l/P.height),u={x:-.5*(S.x+C.x),y:-.5*(S.y+C.y)}}for(e=0,i=c.length;e<i;++e)c[e]._options=n._resolveElementOptions(c[e],e);for(a.borderWidth=n.getMaxBorderWidth(),a.outerRadius=Math.max((d-a.borderWidth)/2,0),a.innerRadius=Math.max(f?a.outerRadius/100*f:0,0),a.radiusLength=(a.outerRadius-a.innerRadius)/(n._getVisibleDatasetWeightTotal()||1),a.offsetX=u.x*a.outerRadius,a.offsetY=u.y*a.outerRadius,h.total=n.calculateTotal(),n.outerRadius=a.outerRadius-a.radiusLength*n._getRingWeightOffset(n.index),n.innerRadius=Math.max(n.outerRadius-a.radiusLength*p,0),e=0,i=c.length;e<i;++e)n.updateElement(c[e],e,t)}
1835,updateElement:function(t,e,i){var n=this,a=n.chart,o=a.chartArea,r=a.options,s=r.animation,l=(o.left+o.right)/2,d=(o.top+o.bottom)/2,u=r.rotation,h=r.rotation,c=n.getDataset(),f=i&&s.animateRotate?0:t.hidden?0:n.calculateCircumference(c.data[e])*(r.circumference/(2*Math.PI)),g=i&&s.animateScale?0:n.innerRadius,p=i&&s.animateScale?0:n.outerRadius,m=t._options||{};ut.extend(t,{_datasetIndex:n.index,_index:e,_model:{backgroundColor:m.backgroundColor,borderColor:m.borderColor,borderWidth:m.borderWidth,borderAlign:m.borderAlign,x:l+a.offsetX,y:d+a.offsetY,startAngle:u,endAngle:h,circumference:f,outerRadius:p,innerRadius:g,label:ut.valueAtIndexOrDefault(c.label,e,a.data.labels[e])}});var v=t._model;i&&s.animateRotate||(v.startAngle=0===e?r.rotation:n.getMeta().data[e-1]._model.endAngle,v.endAngle=v.startAngle+v.circumference),t.pivot()},calculateTotal:function(){var t,e=this.getDataset(),i=this.getMeta(),n=0;return ut.each(i.data,function(i,a){t=e.data[a],isNaN(t)||i.hidden||(n+=Math.abs(t))}),n},calculateCircumference:function(t){var e=this.getMeta().total;return e>0&&!isNaN(t)?2*Math.PI*(Math.abs(t)/e):0},getMaxBorderWidth:function(t){var e,i,n,a,o,r,s,l,d=0,u=this.chart;if(!t)for(e=0,i=u.data.datasets.length;e<i;++e)if(u.isDatasetVisible(e)){t=(n=u.getDatasetMeta(e)).data,e!==this.index&&(o=n.controller);break}if(!t)return 0;for(e=0,i=t.length;e<i;++e)a=t[e],"inner"!==(r=o?o._resolveElementOptions(a,e):a._options).borderAlign&&(s=r.borderWidth,d=(l=r.hoverBorderWidth)>(d=s>d?s:d)?l:d);return d},setHoverStyle:function(t){var e=t._model,i=t._options,n=ut.getHoverColor;t.$previousStyle={backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:e.borderWidth},e.backgroundColor=Zt(i.hoverBackgroundColor,n(i.backgroundColor)),e.borderColor=Zt(i.hoverBorderColor,n(i.borderColor)),e.borderWidth=Zt(i.hoverBorderWidth,i.borderWidth)},_resolveElementOptions:function(t,e){var i,n,a,o=this.chart,r=this.getDataset(),s=t.custom||{},l=o.options.elements.arc,d={},u={chart:o,dataIndex:e,dataset:r,datasetIndex:this.index},h=["backgroundColor","borderColor","borderWidth","borderAlign","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth"];for(i=0,n=h.length;i<n;++i)d[a=h[i]]=Gt([s[a],r[a],l[a]],u,e);return d},_getRingWeightOffset:function(t){for(var e=0,i=0;i<t;++i)this.chart.isDatasetVisible(i)&&(e+=this._getRingWeight(i));return e},_getRingWeight:function(t){return Math.max(Zt(this.chart.data.datasets[t].weight,1),0)},_getVisibleDatasetWeightTotal:function(){return this._getRingWeightOffset(this.chart.data.datasets.length)}});st._set("horizontalBar",{hover:{mode:"index",axis:"y"},scales:{xAxes:[{type:"linear",position:"bottom"}],yAxes:[{type:"category",position:"left",categoryPercentage:.8,barPercentage:.9,offset:!0,gridLines:{offsetGridLines:!0}}]},elements:{rectangle:{borderSkipped:"left"}},tooltips:{mode:"index",axis:"y"}});var Jt=Yt.extend({_getValueScaleId:function(){return this.getMeta().xAxisID},_getIndexScaleId:function(){return this.getMeta().yAxisID}}),Qt=ut.valueOrDefault,te=ut.options.resolve,ee=ut.canvas._isPointInArea;function ie(t,e){return Qt(t.showLine,e.showLines)}st._set("line",{showLines:!0,spanGaps:!1,hover:{mode:"label"},scales:{xAxes:[{type:"category",id:"x-axis-0"}],yAxes:[{type:"linear",id:"y-axis-0"}]}});var ne=Mt.extend({datasetElementType:Wt.Line,dataElementType:Wt.Point,update:function(t){var e,i,n=this,a=n.getMeta(),o=a.dataset,r=a.data||[],s=n.getScaleForId(a.yAxisID),l=n.getDataset(),d=ie(l,n.chart.options);for(d&&(void 0!==l.tension&&void 0===l.lineTension&&(l.lineTension=l.tension),o._scale=s,o._datasetIndex=n.index,o._children=r,o._model=n._resolveLineOptions(o),o.pivot()),e=0,i=r.length;e<i;++e)n.updateElement(r[e],e,t);for(d&&0!==o._model.tension&&n.updateBezierControlPoints(),e=0,i=r.length;e<i;++e)r[e].pivot()},updateElement:function(t,e,i){var n,a,o=this,r=o.getMeta(),s=t.custom||{},l=o.getDataset(),d=o.index,u=l.data[e],h=o.getScaleForId(r.yAxisID),c=o.getScaleForId(r.xAxisID),f=r.dataset._model,g=o._resolvePointOptions(t,e);n=c.getPixelForValue("object"==typeof u?u:NaN,e,d),a=i?h.getBasePixel():o.calculatePointY(u,e,d),t._xScale=c,t._yScale=h,t._options=g,t._datasetIndex=d,t._index=e,t._model={x:n,y:a,skip:s.skip||isNaN(n)||isNaN(a),radius:g.radius,pointStyle:g.pointStyle,rotation:g.rotation,backgroundColor:g.backgroundColor,borderColor:g.borderColor,borderWidth:g.borderWidth,tension:Qt(s.tension,f?f.tension:0),steppedLine:!!f&&f.steppedLine,hitRadius:g.hitRadius}},_resolvePointOptions:function(t,e){var i,n,a,o=this.chart,r=o.data.datasets[this.index],s=t.custom||{},l=o.options.elements.point,d={},u={chart:o,dataIndex:e,dataset:r,datasetIndex:this.index}
1835,h={backgroundColor:"pointBackgroundColor",borderColor:"pointBorderColor",borderWidth:"pointBorderWidth",hitRadius:"pointHitRadius",hoverBackgroundColor:"pointHoverBackgroundColor",hoverBorderColor:"pointHoverBorderColor",hoverBorderWidth:"pointHoverBorderWidth",hoverRadius:"pointHoverRadius",pointStyle:"pointStyle",radius:"pointRadius",rotation:"pointRotation"},c=Object.keys(h);for(i=0,n=c.length;i<n;++i)d[a=c[i]]=te([s[a],r[h[a]],r[a],l[a]],u,e);return d},_resolveLineOptions:function(t){var e,i,n,a=this.chart,o=a.data.datasets[this.index],r=t.custom||{},s=a.options,l=s.elements.line,d={},u=["backgroundColor","borderWidth","borderColor","borderCapStyle","borderDash","borderDashOffset","borderJoinStyle","fill","cubicInterpolationMode"];for(e=0,i=u.length;e<i;++e)d[n=u[e]]=te([r[n],o[n],l[n]]);return d.spanGaps=Qt(o.spanGaps,s.spanGaps),d.tension=Qt(o.lineTension,l.tension),d.steppedLine=te([r.steppedLine,o.steppedLine,l.stepped]),d},calculatePointY:function(t,e,i){var n,a,o,r=this.chart,s=this.getMeta(),l=this.getScaleForId(s.yAxisID),d=0,u=0;if(l.options.stacked){for(n=0;n<i;n++)if(a=r.data.datasets[n],"line"===(o=r.getDatasetMeta(n)).type&&o.yAxisID===l.id&&r.isDatasetVisible(n)){var h=Number(l.getRightValue(a.data[e]));h<0?u+=h||0:d+=h||0}var c=Number(l.getRightValue(t));return c<0?l.getPixelForValue(u+c):l.getPixelForValue(d+c)}return l.getPixelForValue(t)},updateBezierControlPoints:function(){var t,e,i,n,a=this.chart,o=this.getMeta(),r=o.dataset._model,s=a.chartArea,l=o.data||[];function d(t,e,i){return Math.max(Math.min(t,i),e)}if(r.spanGaps&&(l=l.filter(function(t){return!t._model.skip})),"monotone"===r.cubicInterpolationMode)ut.splineCurveMonotone(l);else for(t=0,e=l.length;t<e;++t)i=l[t]._model,n=ut.splineCurve(ut.previousItem(l,t)._model,i,ut.nextItem(l,t)._model,r.tension),i.controlPointPreviousX=n.previous.x,i.controlPointPreviousY=n.previous.y,i.controlPointNextX=n.next.x,i.controlPointNextY=n.next.y;if(a.options.elements.line.capBezierPoints)for(t=0,e=l.length;t<e;++t)i=l[t]._model,ee(i,s)&&(t>0&&ee(l[t-1]._model,s)&&(i.controlPointPreviousX=d(i.controlPointPreviousX,s.left,s.right),i.controlPointPreviousY=d(i.controlPointPreviousY,s.top,s.bottom)),t<l.length-1&&ee(l[t+1]._model,s)&&(i.controlPointNextX=d(i.controlPointNextX,s.left,s.right),i.controlPointNextY=d(i.controlPointNextY,s.top,s.bottom)))},draw:function(){var t,e=this.chart,i=this.getMeta(),n=i.data||[],a=e.chartArea,o=n.length,r=0;for(ie(this.getDataset(),e.options)&&(t=(i.dataset._model.borderWidth||0)/2,ut.canvas.clipArea(e.ctx,{left:a.left,right:a.right,top:a.top-t,bottom:a.bottom+t}),i.dataset.draw(),ut.canvas.unclipArea(e.ctx));r<o;++r)n[r].draw(a)},setHoverStyle:function(t){var e=t._model,i=t._options,n=ut.getHoverColor;t.$previousStyle={backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:e.borderWidth,radius:e.radius},e.backgroundColor=Qt(i.hoverBackgroundColor,n(i.backgroundColor)),e.borderColor=Qt(i.hoverBorderColor,n(i.borderColor)),e.borderWidth=Qt(i.hoverBorderWidth,i.borderWidth),e.radius=Qt(i.hoverRadius,i.radius)}}),ae=ut.options.resolve;st._set("polarArea",{scale:{type:"radialLinear",angleLines:{display:!1},gridLines:{circular:!0},pointLabels:{display:!1},ticks:{beginAtZero:!0}},animation:{animateRotate:!0,animateScale:!0},startAngle:-.5*Math.PI,legendCallback:function(t){var e=[];e.push('<ul class="'+t.id+'-legend">');var i=t.data,n=i.datasets,a=i.labels;if(n.length)for(var o=0;o<n[0].data.length;++o)e.push('<li><span style="background-color:'+n[0].backgroundColor[o]+'"></span>'),a[o]&&e.push(a[o]),e.push("</li>");return e.push("</ul>"),e.join("")},legend:{labels:{generateLabels:function(t){var e=t.data;return e.labels.length&&e.datasets.length?e.labels.map(function(i,n){var a=t.getDatasetMeta(0),o=e.datasets[0],r=a.data[n].custom||{},s=t.options.elements.arc;return{text:i,fillStyle:ae([r.backgroundColor,o.backgroundColor,s.backgroundColor],void 0,n),strokeStyle:ae([r.borderColor,o.borderColor,s.borderColor],void 0,n),lineWidth:ae([r.borderWidth,o.borderWidth,s.borderWidth],void 0,n),hidden:isNaN(o.data[n])||a.data[n].hidden,index:n}}):[]}},onClick:function(t,e){var i,n,a,o=e.index,r=this.chart;for(i=0,n=(r.data.datasets||[]).length;i<n;++i)(a=r.getDatasetMeta(i)).data[o].hidden=!a.data[o].hidden;
vendor: 4,209 bytes, line 1835
1835r.update()}},tooltips:{callbacks:{title:function(){return""},label:function(t,e){return e.labels[t.index]+": "+t.yLabel}}}});var oe=Mt.extend({dataElementType:Wt.Arc,linkScales:ut.noop,update:function(t){var e,i,n,a=this,o=a.getDataset(),r=a.getMeta(),s=a.chart.options.startAngle||0,l=a._starts=[],d=a._angles=[],u=r.data;for(a._updateRadius(),r.count=a.countVisibleElements(),e=0,i=o.data.length;e<i;e++)l[e]=s,n=a._computeAngle(e),d[e]=n,s+=n;for(e=0,i=u.length;e<i;++e)u[e]._options=a._resolveElementOptions(u[e],e),a.updateElement(u[e],e,t)},_updateRadius:function(){var t=this,e=t.chart,i=e.chartArea,n=e.options,a=Math.min(i.right-i.left,i.bottom-i.top);e.outerRadius=Math.max(a/2,0),e.innerRadius=Math.max(n.cutoutPercentage?e.outerRadius/100*n.cutoutPercentage:1,0),e.radiusLength=(e.outerRadius-e.innerRadius)/e.getVisibleDatasetCount(),t.outerRadius=e.outerRadius-e.radiusLength*t.index,t.innerRadius=t.outerRadius-e.radiusLength},updateElement:function(t,e,i){var n=this,a=n.chart,o=n.getDataset(),r=a.options,s=r.animation,l=a.scale,d=a.data.labels,u=l.xCenter,h=l.yCenter,c=r.startAngle,f=t.hidden?0:l.getDistanceFromCenterForValue(o.data[e]),g=n._starts[e],p=g+(t.hidden?0:n._angles[e]),m=s.animateScale?0:l.getDistanceFromCenterForValue(o.data[e]),v=t._options||{};ut.extend(t,{_datasetIndex:n.index,_index:e,_scale:l,_model:{backgroundColor:v.backgroundColor,borderColor:v.borderColor,borderWidth:v.borderWidth,borderAlign:v.borderAlign,x:u,y:h,innerRadius:0,outerRadius:i?m:f,startAngle:i&&s.animateRotate?c:g,endAngle:i&&s.animateRotate?c:p,label:ut.valueAtIndexOrDefault(d,e,d[e])}}),t.pivot()},countVisibleElements:function(){var t=this.getDataset(),e=this.getMeta(),i=0;return ut.each(e.data,function(e,n){isNaN(t.data[n])||e.hidden||i++}),i},setHoverStyle:function(t){var e=t._model,i=t._options,n=ut.getHoverColor,a=ut.valueOrDefault;t.$previousStyle={backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:e.borderWidth},e.backgroundColor=a(i.hoverBackgroundColor,n(i.backgroundColor)),e.borderColor=a(i.hoverBorderColor,n(i.borderColor)),e.borderWidth=a(i.hoverBorderWidth,i.borderWidth)},_resolveElementOptions:function(t,e){var i,n,a,o=this.chart,r=this.getDataset(),s=t.custom||{},l=o.options.elements.arc,d={},u={chart:o,dataIndex:e,dataset:r,datasetIndex:this.index},h=["backgroundColor","borderColor","borderWidth","borderAlign","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth"];for(i=0,n=h.length;i<n;++i)d[a=h[i]]=ae([s[a],r[a],l[a]],u,e);return d},_computeAngle:function(t){var e=this,i=this.getMeta().count,n=e.getDataset(),a=e.getMeta();if(isNaN(n.data[t])||a.data[t].hidden)return 0;var o={chart:e.chart,dataIndex:t,dataset:n,datasetIndex:e.index};return ae([e.chart.options.elements.arc.angle,2*Math.PI/i],o,t)}});st._set("pie",ut.clone(st.doughnut)),st._set("pie",{cutoutPercentage:0});var re=$t,se=ut.valueOrDefault,le=ut.options.resolve;st._set("radar",{scale:{type:"radialLinear"},elements:{line:{tension:0}}});var de=Mt.extend({datasetElementType:Wt.Line,dataElementType:Wt.Point,linkScales:ut.noop,update:function(t){var e,i,n=this,a=n.getMeta(),o=a.dataset,r=a.data||[],s=n.chart.scale,l=n.getDataset();for(void 0!==l.tension&&void 0===l.lineTension&&(l.lineTension=l.tension),o._scale=s,o._datasetIndex=n.index,o._children=r,o._loop=!0,o._model=n._resolveLineOptions(o),o.pivot(),e=0,i=r.length;e<i;++e)n.updateElement(r[e],e,t);for(n.updateBezierControlPoints(),e=0,i=r.length;e<i;++e)r[e].pivot()},updateElement:function(t,e,i){var n=this,a=t.custom||{},o=n.getDataset(),r=n.chart.scale,s=r.getPointPositionForValue(e,o.data[e]),l=n._resolvePointOptions(t,e),d=n.getMeta().dataset._model,u=i?r.xCenter:s.x,h=i?r.yCenter:s.y;t._scale=r,t._options=l,t._datasetIndex=n.index,t._index=e,t._model={x:u,y:h,skip:a.skip||isNaN(u)||isNaN(h),radius:l.radius,pointStyle:l.pointStyle,rotation:l.rotation,backgroundColor:l.backgroundColor,borderColor:l.borderColor,borderWidth:l.borderWidth,tension:se(a.tension,d?d.tension:0),hitRadius:l.hitRadius}},_resolvePointOptions:function(t,e){var i,n,a,o=this.chart,r=o.data.datasets[this.index],s=t.custom||{},l=o.options.elements.point,d={},u={chart:o,dataIndex:e,dataset:r,datasetIndex:this.index}
1835,h={backgroundColor:"pointBackgroundColor",borderColor:"pointBorderColor",borderWidth:"pointBorderWidth",hitRadius:"pointHitRadius",hoverBackgroundColor:"pointHoverBackgroundColor",hoverBorderColor:"pointHoverBorderColor",hoverBorderWidth:"pointHoverBorderWidth",hoverRadius:"pointHoverRadius",pointStyle:"pointStyle",radius:"pointRadius",rotation:"pointRotation"},c=Object.keys(h);for(i=0,n=c.length;i<n;++i)d[a=c[i]]=le([s[a],r[h[a]],r[a],l[a]],u,e);return d},_resolveLineOptions:function(t){var e,i,n,a=this.chart,o=a.data.datasets[this.index],r=t.custom||{},s=a.options.elements.line,l={},d=["backgroundColor","borderWidth","borderColor","borderCapStyle","borderDash","borderDashOffset","borderJoinStyle","fill"];for(e=0,i=d.length;e<i;++e)l[n=d[e]]=le([r[n],o[n],s[n]]);return l.tension=se(o.lineTension,s.tension),l},updateBezierControlPoints:function(){var t,e,i,n,a=this.getMeta(),o=this.chart.chartArea,r=a.data||[];function s(t,e,i){return Math.max(Math.min(t,i),e)}for(t=0,e=r.length;t<e;++t)i=r[t]._model,n=ut.splineCurve(ut.previousItem(r,t,!0)._model,i,ut.nextItem(r,t,!0)._model,i.tension),i.controlPointPreviousX=s(n.previous.x,o.left,o.right),i.controlPointPreviousY=s(n.previous.y,o.top,o.bottom),i.controlPointNextX=s(n.next.x,o.left,o.right),i.controlPointNextY=s(n.next.y,o.top,o.bottom)},setHoverStyle:function(t){var e=t._model,i=t._options,n=ut.getHoverColor;t.$previousStyle={backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:e.borderWidth,radius:e.radius},e.backgroundColor=se(i.hoverBackgroundColor,n(i.backgroundColor)),e.borderColor=se(i.hoverBorderColor,n(i.borderColor)),e.borderWidth=se(i.hoverBorderWidth,i.borderWidth),e.radius=se(i.hoverRadius,i.radius)}});st._set("scatter",{hover:{mode:"single"},scales:{xAxes:[{id:"x-axis-1",type:"linear",position:"bottom"}],yAxes:[{id:"y-axis-1",type:"linear",position:"left"}]},showLines:!1,tooltips:{callbacks:{title:function(){return""},label:function(t){return"("+t.xLabel+", "+t.yLabel+")"}}}});var ue={bar:Yt,bubble:Kt,doughnut:$t,horizontalBar:Jt,line:ne,polarArea:oe,pie:re,radar:de,scatter:ne};function he(t,e){return t.native?{x:t.x,y:t.y}:ut.getRelativePosition(t,e)}function ce(t,e){var i,n,a,o,r;for(n=0,o=t.data.datasets.length;n<o;++n)if(t.isDatasetVisible(n))for(a=0,r=(i=t.getDatasetMeta(n)).data.length;a<r;++a){var s=i.data[a];s._view.skip||e(s)}}function fe(t,e){var i=[];return ce(t,function(t){t.inRange(e.x,e.y)&&i.push(t)}),i}function ge(t,e,i,n){var a=Number.POSITIVE_INFINITY,o=[];return ce(t,function(t){if(!i||t.inRange(e.x,e.y)){var r=t.getCenterPoint(),s=n(e,r);s<a?(o=[t],a=s):s===a&&o.push(t)}}),o}function pe(t){var e=-1!==t.indexOf("x"),i=-1!==t.indexOf("y");return function(t,n){var a=e?Math.abs(t.x-n.x):0,o=i?Math.abs(t.y-n.y):0;return Math.sqrt(Math.pow(a,2)+Math.pow(o,2))}}function me(t,e,i){var n=he(e,t);i.axis=i.axis||"x";var a=pe(i.axis),o=i.intersect?fe(t,n):ge(t,n,!1,a),r=[];return o.length?(t.data.datasets.forEach(function(e,i){if(t.isDatasetVisible(i)){var n=t.getDatasetMeta(i).data[o[0]._index];n&&!n._view.skip&&r.push(n)}}),r):[]}var ve={modes:{single:function(t,e){var i=he(e,t),n=[];return ce(t,function(t){if(t.inRange(i.x,i.y))return n.push(t),n}),n.slice(0,1)},label:me,index:me,dataset:function(t,e,i){var n=he(e,t);i.axis=i.axis||"xy";var a=pe(i.axis),o=i.intersect?fe(t,n):ge(t,n,!1,a);return o.length>0&&(o=t.getDatasetMeta(o[0]._datasetIndex).data),o},"x-axis":function(t,e){return me(t,e,{intersect:!1})},point:function(t,e){return fe(t,he(e,t))},nearest:function(t,e,i){var n=he(e,t);i.axis=i.axis||"xy";var a=pe(i.axis);return ge(t,n,i.intersect,a)},x:function(t,e,i){var n=he(e,t),a=[],o=!1;return ce(t,function(t){t.inXRange(n.x)&&a.push(t),t.inRange(n.x,n.y)&&(o=!0)}),i.intersect&&!o&&(a=[]),a},y:function(t,e,i){var n=he(e,t),a=[],o=!1;return ce(t,function(t){t.inYRange(n.y)&&a.push(t),t.inRange(n.x,n.y)&&(o=!0)}),i.intersect&&!o&&(a=[]),a}}};function be(t,e){return ut.where(t,function(t){return t.position===e})}function xe(t,e){t.forEach(function(t,e){return t._tmpIndex_=e,t}),t.sort(function(t,i){var n=e?i:t,a=e?t:i;return n.weight===a.weight?n._tmpIndex_-a._tmpIndex_:n.weight-a.weight}),t.forEach(function(t){delete t._tmpIndex_})}function ye(t,e){ut.each(t,function(t){e[t.position]+=t.isHorizontal()?t.height:t.width})}st._set("global",{layout:{padding:{top:0,right:0,bottom:0,left:0}}});var ke={defaults:{}
1835,addBox:function(t,e){t.boxes||(t.boxes=[]),e.fullWidth=e.fullWidth||!1,e.position=e.position||"top",e.weight=e.weight||0,t.boxes.push(e)},removeBox:function(t,e){var i=t.boxes?t.boxes.indexOf(e):-1;-1!==i&&t.boxes.splice(i,1)},configure:function(t,e,i){for(var n,a=["fullWidth","position","weight"],o=a.length,r=0;r<o;++r)n=a[r],i.hasOwnProperty(n)&&(e[n]=i[n])},update:function(t,e,i){if(t){var n=t.options.layout||{},a=ut.options.toPadding(n.padding),o=a.left,r=a.right,s=a.top,l=a.bottom,d=be(t.boxes,"left"),u=be(t.boxes,"right"),h=be(t.boxes,"top"),c=be(t.boxes,"bottom"),f=be(t.boxes,"chartArea");xe(d,!0),xe(u,!1),xe(h,!0),xe(c,!1);var g,p=d.concat(u),m=h.concat(c),v=p.concat(m),b=e-o-r,x=i-s-l,y=(e-b/2)/p.length,k=b,w=x,M={top:s,left:o,bottom:l,right:r},_=[];ut.each(v,function(t){var e,i=t.isHorizontal();i?(e=t.update(t.fullWidth?b:k,x/2),w-=e.height):(e=t.update(y,w),k-=e.width),_.push({horizontal:i,width:e.width,box:t})}),g=function(t){var e=0,i=0,n=0,a=0;return ut.each(t,function(t){if(t.getPadding){var o=t.getPadding();e=Math.max(e,o.top),i=Math.max(i,o.left),n=Math.max(n,o.bottom),a=Math.max(a,o.right)}}),{top:e,left:i,bottom:n,right:a}}(v),ut.each(p,T),ye(p,M),ut.each(m,T),ye(m,M),ut.each(p,function(t){var e=ut.findNextWhere(_,function(e){return e.box===t}),i={left:0,right:0,top:M.top,bottom:M.bottom};e&&t.update(e.width,w,i)}),ye(v,M={top:s,left:o,bottom:l,right:r});var C=Math.max(g.left-M.left,0);M.left+=C,M.right+=Math.max(g.right-M.right,0);var S=Math.max(g.top-M.top,0);M.top+=S,M.bottom+=Math.max(g.bottom-M.bottom,0);var P=i-M.top-M.bottom,I=e-M.left-M.right;I===k&&P===w||(ut.each(p,function(t){t.height=P}),ut.each(m,function(t){t.fullWidth||(t.width=I)}),w=P,k=I);var A=o+C,D=s+S;ut.each(d.concat(h),F),A+=k,D+=w,ut.each(u,F),ut.each(c,F),t.chartArea={left:M.left,top:M.top,right:M.left+k,bottom:M.top+w},ut.each(f,function(e){e.left=t.chartArea.left,e.top=t.chartArea.top,e.right=t.chartArea.right,e.bottom=t.chartArea.bottom,e.update(k,w)})}function T(t){var e=ut.findNextWhere(_,function(e){return e.box===t});if(e)if(e.horizontal){var i={left:Math.max(M.left,g.left),right:Math.max(M.right,g.right),top:0,bottom:0};t.update(t.fullWidth?b:k,x/2,i)}else t.update(e.width,w)}function F(t){t.isHorizontal()?(t.left=t.fullWidth?o:M.left,t.right=t.fullWidth?e-r:M.left+k,t.top=D,t.bottom=D+t.height,D=t.bottom):(t.left=A,t.right=A+t.width,t.top=M.top,t.bottom=M.top+w,A=t.right)}}};var we,Me=(we=Object.freeze({default:"@keyframes chartjs-render-animation{from{opacity:.99}to{opacity:1}}.chartjs-render-monitor{animation:chartjs-render-animation 1ms}.chartjs-size-monitor,.chartjs-size-monitor-expand,.chartjs-size-monitor-shrink{position:absolute;direction:ltr;left:0;top:0;right:0;bottom:0;overflow:hidden;pointer-events:none;visibility:hidden;z-index:-1}.chartjs-size-monitor-expand>div{position:absolute;width:1000000px;height:1000000px;left:0;top:0}.chartjs-size-monitor-shrink>div{position:absolute;width:200%;height:200%;left:0;top:0}"}))&&we.default||we,_e="$chartjs",Ce="chartjs-size-monitor",Se="chartjs-render-monitor",Pe="chartjs-render-animation",Ie=["animationstart","webkitAnimationStart"],Ae={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"};function De(t,e){var i=ut.getStyle(t,e),n=i&&i.match(/^(\d+)(\.\d+)?px$/);return n?Number(n[1]):void 0}var Te=!!function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("e",null,e)}catch(t){}return t}()&&{passive:!0};function Fe(t,e,i){t.addEventListener(e,i,Te)}function Le(t,e,i){t.removeEventListener(e,i,Te)}function Re(t,e,i,n,a){return{type:t,chart:e,native:a||null,x:void 0!==i?i:null,y:void 0!==n?n:null}}function Oe(t){var e=document.createElement("div");return e.className=t||"",e}function ze(t,e,i){var n,a,o,r,s=t[_e]||(t[_e]={}),l=s.resizer=function(t){var e=Oe(Ce),i=Oe(Ce+"-expand"),n=Oe(Ce+"-shrink");i.appendChild(Oe()),n.appendChild(Oe()),e.appendChild(i),e.appendChild(n),e._reset=function(){i.scrollLeft=1e6,i.scrollTop=1e6,n.scrollLeft=1e6,n.scrollTop=1e6};var a=function(){e._reset(),t()};return Fe(i,"scroll",a.bind(i,"expand")),Fe(n,"scroll",a.bind(n,"shrink")),e}((n=function(){if(s.resizer){var n=i.options.maintainAspectRatio&&t.parentNode,a=n?n.clientWidth:0;e(Re("resize",i)),n&&n.clientWidth<a&&i.canvas&&e(Re("resize",i))}},o=!1,r=[],function(){r=Array.prototype.slice.call(arguments),a=a||this,o||(o=!0,ut.requestAnimFrame.call(window,function(){o=!1,n.apply(a,r)}))}));!function(t,e){var i=t[_e]||(t[_e]={}),n=i.renderProxy=function(t){t.animationName===Pe&&e()};ut.each(Ie,function(e){Fe(t,e,n)}),i.reflow=!!t.offsetParent,t.classList.add(Se)}(t,function(){if(s.resizer){var e=t.parentNode;e&&e!==l.parentNode&&e.insertBefore(l,e.firstChild),l._reset()}})}function Be(t){var e=t[_e]||{},i=e.resizer;delete e.resizer,function(t){var e=t[_e]||{},i=e.renderProxy;i&&(ut.each(Ie,function(e){Le(t,e,i)}),delete e.renderProxy),t.classList.remove(Se)}(t),i&&i.parentNode&&i.parentNode.removeChild(i)}var Ne={disableCSSInjection:!1,_enabled:"undefined"!=typeof window&&"undefined"!=typeof document,_ensureLoaded:function(){var t,e,i;this._loaded||(this._loaded=!0,this.disableCSSInjection||(e=Me,i=(t=this)._style||document.createElement("style"),t._style||(t._style=i,e="/* Chart.js */\n"+e,i.setAttribute("type","text/css"),document.getElementsByTagName("head")[0].appendChild(i)),i.appendChild(document.createTextNode(e))))},acquireContext:function(t,e){"string"==typeof t?t=document.getElementById(t):t.length&&(t=t[0]),t&&t.canvas&&(t=t.canvas);var i=t&&t.getContext&&t.getContext("2d");return this._ensureLoaded(),i&&i.canvas===t?(function(t,e){var i=t.style,n=t.getAttribute("height"),a=t.getAttribute("width");
vendor: 6,005 bytes, line 1835
1835if(t[_e]={initial:{height:n,width:a,style:{display:i.display,height:i.height,width:i.width}}},i.display=i.display||"block",null===a||""===a){var o=De(t,"width");void 0!==o&&(t.width=o)}if(null===n||""===n)if(""===t.style.height)t.height=t.width/(e.options.aspectRatio||2);else{var r=De(t,"height");void 0!==o&&(t.height=r)}}(t,e),i):null},releaseContext:function(t){var e=t.canvas;if(e[_e]){var i=e[_e].initial;["height","width"].forEach(function(t){var n=i[t];ut.isNullOrUndef(n)?e.removeAttribute(t):e.setAttribute(t,n)}),ut.each(i.style||{},function(t,i){e.style[i]=t}),e.width=e.width,delete e[_e]}},addEventListener:function(t,e,i){var n=t.canvas;if("resize"!==e){var a=i[_e]||(i[_e]={});Fe(n,e,(a.proxies||(a.proxies={}))[t.id+"_"+e]=function(e){i(function(t,e){var i=Ae[t.type]||t.type,n=ut.getRelativePosition(t,e);return Re(i,e,n.x,n.y,t)}(e,t))})}else ze(n,i,t)},removeEventListener:function(t,e,i){var n=t.canvas;if("resize"!==e){var a=((i[_e]||{}).proxies||{})[t.id+"_"+e];a&&Le(n,e,a)}else Be(n)}};ut.addEvent=Fe,ut.removeEvent=Le;var We=Ne._enabled?Ne:{acquireContext:function(t){return t&&t.canvas&&(t=t.canvas),t&&t.getContext("2d")||null}},Ve=ut.extend({initialize:function(){},acquireContext:function(){},releaseContext:function(){},addEventListener:function(){},removeEventListener:function(){}},We);st._set("global",{plugins:{}});var Ee={_plugins:[],_cacheId:0,register:function(t){var e=this._plugins;[].concat(t).forEach(function(t){-1===e.indexOf(t)&&e.push(t)}),this._cacheId++},unregister:function(t){var e=this._plugins;[].concat(t).forEach(function(t){var i=e.indexOf(t);-1!==i&&e.splice(i,1)}),this._cacheId++},clear:function(){this._plugins=[],this._cacheId++},count:function(){return this._plugins.length},getAll:function(){return this._plugins},notify:function(t,e,i){var n,a,o,r,s,l=this.descriptors(t),d=l.length;for(n=0;n<d;++n)if("function"==typeof(s=(o=(a=l[n]).plugin)[e])&&((r=[t].concat(i||[])).push(a.options),!1===s.apply(o,r)))return!1;return!0},descriptors:function(t){var e=t.$plugins||(t.$plugins={});if(e.id===this._cacheId)return e.descriptors;var i=[],n=[],a=t&&t.config||{},o=a.options&&a.options.plugins||{};return this._plugins.concat(a.plugins||[]).forEach(function(t){if(-1===i.indexOf(t)){var e=t.id,a=o[e];!1!==a&&(!0===a&&(a=ut.clone(st.global.plugins[e])),i.push(t),n.push({plugin:t,options:a||{}}))}}),e.descriptors=n,e.id=this._cacheId,n},_invalidate:function(t){delete t.$plugins}},He={constructors:{},defaults:{},registerScaleType:function(t,e,i){this.constructors[t]=e,this.defaults[t]=ut.clone(i)},getScaleConstructor:function(t){return this.constructors.hasOwnProperty(t)?this.constructors[t]:void 0},getScaleDefaults:function(t){return this.defaults.hasOwnProperty(t)?ut.merge({},[st.scale,this.defaults[t]]):{}},updateScaleDefaults:function(t,e){this.defaults.hasOwnProperty(t)&&(this.defaults[t]=ut.extend(this.defaults[t],e))},addScalesToLayout:function(t){ut.each(t.scales,function(e){e.fullWidth=e.options.fullWidth,e.position=e.options.position,e.weight=e.options.weight,ke.addBox(t,e)})}},je=ut.valueOrDefault;st._set("global",{tooltips:{enabled:!0,custom:null,mode:"nearest",position:"average",intersect:!0,backgroundColor:"rgba(0,0,0,0.8)",titleFontStyle:"bold",titleSpacing:2,titleMarginBottom:6,titleFontColor:"#fff",titleAlign:"left",bodySpacing:2,bodyFontColor:"#fff",bodyAlign:"left",footerFontStyle:"bold",footerSpacing:2,footerMarginTop:6,footerFontColor:"#fff",footerAlign:"left",yPadding:6,xPadding:6,caretPadding:2,caretSize:5,cornerRadius:6,multiKeyBackground:"#fff",displayColors:!0,borderColor:"rgba(0,0,0,0)",borderWidth:0,callbacks:{beforeTitle:ut.noop,title:function(t,e){var i="",n=e.labels,a=n?n.length:0;if(t.length>0){var o=t[0];o.label?i=o.label:o.xLabel?i=o.xLabel:a>0&&o.index<a&&(i=n[o.index])}return i},afterTitle:ut.noop,beforeBody:ut.noop,beforeLabel:ut.noop,label:function(t,e){var i=e.datasets[t.datasetIndex].label||"";return i&&(i+=": "),ut.isNullOrUndef(t.value)?i+=t.yLabel:i+=t.value,i},labelColor:function(t,e){var i=e.getDatasetMeta(t.datasetIndex).data[t.index]._view;return{borderColor:i.borderColor,backgroundColor:i.backgroundColor}},labelTextColor:function(){return this._options.bodyFontColor},afterLabel:ut.noop,afterBody:ut.noop,beforeFooter:ut.noop,footer:ut.noop,afterFooter:ut.noop}}});var qe={average:function(t){if(!t.length)return!1;var e,i,n=0,a=0,o=0;for(e=0,i=t.length;e<i;++e){var r=t[e];if(r&&r.hasValue()){var s=r.tooltipPosition();n+=s.x,a+=s.y,++o}}return{x:n/o,y:a/o}},nearest:function(t,e){var i,n,a,o=e.x,r=e.y,s=Number.POSITIVE_INFINITY;for(i=0,n=t.length;i<n;++i){var l=t[i];if(l&&l.hasValue()){var d=l.getCenterPoint(),u=ut.distanceBetweenPoints(e,d);u<s&&(s=u,a=l)}}if(a){var h=a.tooltipPosition();o=h.x,r=h.y}return{x:o,y:r}}};function Ye(t,e){return e&&(ut.isArray(e)?Array.prototype.push.apply(t,e):t.push(e)),t}function Ue(t){return("string"==typeof t||t instanceof String)&&t.indexOf("\n")>-1?t.split("\n"):t}function Xe(t){var e=st.global;return{xPadding:t.xPadding,yPadding:t.yPadding,xAlign:t.xAlign,yAlign:t.yAlign,bodyFontColor:t.bodyFontColor,_bodyFontFamily:je(t.bodyFontFamily,e.defaultFontFamily),_bodyFontStyle:je(t.bodyFontStyle,e.defaultFontStyle),_bodyAlign:t.bodyAlign,bodyFontSize:je(t.bodyFontSize,e.defaultFontSize),bodySpacing:t.bodySpacing,titleFontColor:t.titleFontColor,_titleFontFamily:je(t.titleFontFamily,e.defaultFontFamily),_titleFontStyle:je(t.titleFontStyle,e.defaultFontStyle),titleFontSize:je(t.titleFontSize,e.defaultFontSize),_titleAlign:t.titleAlign,titleSpacing:t.titleSpacing,titleMarginBottom:t.titleMarginBottom,footerFontColor:t.footerFontColor,_footerFontFamily:je(t.footerFontFamily,e.defaultFontFamily),_footerFontStyle:je(t.footerFontStyle,e.defaultFontStyle),footerFontSize:je(t.footerFontSize,e.defaultFontSize),_footerAlign:t.footerAlign,footerSpacing:t.footerSpacing,footerMarginTop:t.footerMarginTop,caretSize:t.caretSize,cornerRadius:t.cornerRadius,backgroundColor:t.backgroundColor,opacity:0,legendColorBackgroun
vendor: 1,428 bytes, line 1835
1835d:t.multiKeyBackground,displayColors:t.displayColors,borderColor:t.borderColor,borderWidth:t.borderWidth}}function Ke(t,e){return"center"===e?t.x+t.width/2:"right"===e?t.x+t.width-t.xPadding:t.x+t.xPadding}function Ge(t){return Ye([],Ue(t))}var Ze=pt.extend({initialize:function(){this._model=Xe(this._options),this._lastActive=[]},getTitle:function(){var t=this._options.callbacks,e=t.beforeTitle.apply(this,arguments),i=t.title.apply(this,arguments),n=t.afterTitle.apply(this,arguments),a=[];return a=Ye(a,Ue(e)),a=Ye(a,Ue(i)),a=Ye(a,Ue(n))},getBeforeBody:function(){return Ge(this._options.callbacks.beforeBody.apply(this,arguments))},getBody:function(t,e){var i=this,n=i._options.callbacks,a=[];return ut.each(t,function(t){var o={before:[],lines:[],after:[]};Ye(o.before,Ue(n.beforeLabel.call(i,t,e))),Ye(o.lines,n.label.call(i,t,e)),Ye(o.after,Ue(n.afterLabel.call(i,t,e))),a.push(o)}),a},getAfterBody:function(){return Ge(this._options.callbacks.afterBody.apply(this,arguments))},getFooter:function(){var t=this._options.callbacks,e=t.beforeFooter.apply(this,arguments),i=t.footer.apply(this,arguments),n=t.afterFooter.apply(this,arguments),a=[];return a=Ye(a,Ue(e)),a=Ye(a,Ue(i)),a=Ye(a,Ue(n))},update:function(t){var e,i,n,a,o,r,s,l,d,u,h=this,c=h._options,f=h._model,g=h._model=Xe(c),p=h._active,m=h._data,v={xAlign:f.xAlign,yAlign:f.yAlign},b={x:f.x,y:f.y},x={width:f.width,height:f.height},y={x:f.caretX,y:f.caretY};
vendor: 12,276 bytes, line 1835
1835if(p.length){g.opacity=1;var k=[],w=[];y=qe[c.position].call(h,p,h._eventPosition);var M=[];for(e=0,i=p.length;e<i;++e)M.push((n=p[e],a=void 0,o=void 0,r=void 0,s=void 0,l=void 0,d=void 0,u=void 0,a=n._xScale,o=n._yScale||n._scale,r=n._index,s=n._datasetIndex,l=n._chart.getDatasetMeta(s).controller,d=l._getIndexScale(),u=l._getValueScale(),{xLabel:a?a.getLabelForIndex(r,s):"",yLabel:o?o.getLabelForIndex(r,s):"",label:d?""+d.getLabelForIndex(r,s):"",value:u?""+u.getLabelForIndex(r,s):"",index:r,datasetIndex:s,x:n._model.x,y:n._model.y}));c.filter&&(M=M.filter(function(t){return c.filter(t,m)})),c.itemSort&&(M=M.sort(function(t,e){return c.itemSort(t,e,m)})),ut.each(M,function(t){k.push(c.callbacks.labelColor.call(h,t,h._chart)),w.push(c.callbacks.labelTextColor.call(h,t,h._chart))}),g.title=h.getTitle(M,m),g.beforeBody=h.getBeforeBody(M,m),g.body=h.getBody(M,m),g.afterBody=h.getAfterBody(M,m),g.footer=h.getFooter(M,m),g.x=y.x,g.y=y.y,g.caretPadding=c.caretPadding,g.labelColors=k,g.labelTextColors=w,g.dataPoints=M,x=function(t,e){var i=t._chart.ctx,n=2*e.yPadding,a=0,o=e.body,r=o.reduce(function(t,e){return t+e.before.length+e.lines.length+e.after.length},0);r+=e.beforeBody.length+e.afterBody.length;var s=e.title.length,l=e.footer.length,d=e.titleFontSize,u=e.bodyFontSize,h=e.footerFontSize;n+=s*d,n+=s?(s-1)*e.titleSpacing:0,n+=s?e.titleMarginBottom:0,n+=r*u,n+=r?(r-1)*e.bodySpacing:0,n+=l?e.footerMarginTop:0,n+=l*h,n+=l?(l-1)*e.footerSpacing:0;var c=0,f=function(t){a=Math.max(a,i.measureText(t).width+c)};return i.font=ut.fontString(d,e._titleFontStyle,e._titleFontFamily),ut.each(e.title,f),i.font=ut.fontString(u,e._bodyFontStyle,e._bodyFontFamily),ut.each(e.beforeBody.concat(e.afterBody),f),c=e.displayColors?u+2:0,ut.each(o,function(t){ut.each(t.before,f),ut.each(t.lines,f),ut.each(t.after,f)}),c=0,i.font=ut.fontString(h,e._footerFontStyle,e._footerFontFamily),ut.each(e.footer,f),{width:a+=2*e.xPadding,height:n}}(this,g),b=function(t,e,i,n){var a=t.x,o=t.y,r=t.caretSize,s=t.caretPadding,l=t.cornerRadius,d=i.xAlign,u=i.yAlign,h=r+s,c=l+s;return"right"===d?a-=e.width:"center"===d&&((a-=e.width/2)+e.width>n.width&&(a=n.width-e.width),a<0&&(a=0)),"top"===u?o+=h:o-="bottom"===u?e.height+h:e.height/2,"center"===u?"left"===d?a+=h:"right"===d&&(a-=h):"left"===d?a-=c:"right"===d&&(a+=c),{x:a,y:o}}(g,x,v=function(t,e){var i,n,a,o,r,s=t._model,l=t._chart,d=t._chart.chartArea,u="center",h="center";s.y<e.height?h="top":s.y>l.height-e.height&&(h="bottom");var c=(d.left+d.right)/2,f=(d.top+d.bottom)/2;"center"===h?(i=function(t){return t<=c},n=function(t){return t>c}):(i=function(t){return t<=e.width/2},n=function(t){return t>=l.width-e.width/2}),a=function(t){return t+e.width+s.caretSize+s.caretPadding>l.width},o=function(t){return t-e.width-s.caretSize-s.caretPadding<0},r=function(t){return t<=f?"top":"bottom"},i(s.x)?(u="left",a(s.x)&&(u="center",h=r(s.y))):n(s.x)&&(u="right",o(s.x)&&(u="center",h=r(s.y)));var g=t._options;return{xAlign:g.xAlign?g.xAlign:u,yAlign:g.yAlign?g.yAlign:h}}(this,x),h._chart)}else g.opacity=0;return g.xAlign=v.xAlign,g.yAlign=v.yAlign,g.x=b.x,g.y=b.y,g.width=x.width,g.height=x.height,g.caretX=y.x,g.caretY=y.y,h._model=g,t&&c.custom&&c.custom.call(h,g),h},drawCaret:function(t,e){var i=this._chart.ctx,n=this._view,a=this.getCaretPosition(t,e,n);i.lineTo(a.x1,a.y1),i.lineTo(a.x2,a.y2),i.lineTo(a.x3,a.y3)},getCaretPosition:function(t,e,i){var n,a,o,r,s,l,d=i.caretSize,u=i.cornerRadius,h=i.xAlign,c=i.yAlign,f=t.x,g=t.y,p=e.width,m=e.height;if("center"===c)s=g+m/2,"left"===h?(a=(n=f)-d,o=n,r=s+d,l=s-d):(a=(n=f+p)+d,o=n,r=s-d,l=s+d);else if("left"===h?(n=(a=f+u+d)-d,o=a+d):"right"===h?(n=(a=f+p-u-d)-d,o=a+d):(n=(a=i.caretX)-d,o=a+d),"top"===c)s=(r=g)-d,l=r;else{s=(r=g+m)+d,l=r;var v=o;o=n,n=v}return{x1:n,x2:a,x3:o,y1:r,y2:s,y3:l}},drawTitle:function(t,e,i){var n=e.title;if(n.length){t.x=Ke(e,e._titleAlign),i.textAlign=e._titleAlign,i.textBaseline="top";var a,o,r=e.titleFontSize,s=e.titleSpacing;for(i.fillStyle=e.titleFontColor,i.font=ut.fontString(r,e._titleFontStyle,e._titleFontFamily),a=0,o=n.length;a<o;++a)i.fillText(n[a],t.x,t.y),t.y+=r+s,a+1===n.length&&(t.y+=e.titleMarginBottom-s)}},drawBody:function(t,e,i){var n,a=e.bodyFontSize,o=e.bodySpacing,r=e._bodyAlign,s=e.body,l=e.displayColors,d=e.labelColors,u=0,h=l?Ke(e,"left"):0;i.textAlign=r,i.textBaseline="top",i.font=ut.fontString(a,e._bodyFontStyle,e._bodyFontFamily),t.x=Ke(e,r);var c=function(e){i.fillText(e,t.x+u,t.y),t.y+=a+o};i.fillStyle=e.bodyFontColor,ut.each(e.beforeBody,c),u=l&&"right"!==r?"center"===r?a/2+1:a+2:0,ut.each(s,function(o,r){n=e.labelTextColors[r],i.fillStyle=n,ut.each(o.before,c),ut.each(o.lines,function(o){l&&(i.fillStyle=e.legendColorBackground,i.fillRect(h,t.y,a,a),i.lineWidth=1,i.strokeStyle=d[r].borderColor,i.strokeRect(h,t.y,a,a),i.fillStyle=d[r].backgroundColor,i.fillRect(h+1,t.y+1,a-2,a-2),i.fillStyle=n),c(o)}),ut.each(o.after,c)}),u=0,ut.each(e.afterBody,c),t.y-=o},drawFooter:function(t,e,i){var n=e.footer;n.length&&(t.x=Ke(e,e._footerAlign),t.y+=e.footerMarginTop,i.textAlign=e._footerAlign,i.textBaseline="top",i.fillStyle=e.footerFontColor,i.font=ut.fontString(e.footerFontSize,e._footerFontStyle,e._footerFontFamily),ut.each(n,function(n){i.fillText(n,t.x,t.y),t.y+=e.footerFontSize+e.footerSpacing}))},drawBackground:function(t,e,i,n){i.fillStyle=e.backgroundColor,i.strokeStyle=e.borderColor,i.lineWidth=e.borderWidth;var a=e.xAlign,o=e.yAlign,r=t.x,s=t.y,l=n.width,d=n.height,u=e.cornerRadius;i.beginPath(),i.moveTo(r+u,s),"top"===o&&this.drawCaret(t,n),i.lineTo(r+l-u,s),i.quadraticCurveTo(r+l,s,r+l,s+u),"center"===o&&"right"===a&&this.drawCaret(t,n),i.lineTo(r+l,s+d-u),i.quadraticCurveTo(r+l,s+d,r+l-u,s+d),"bottom"===o&&this.drawCaret(t,n),i.lineTo(r+u,s+d),i.quadraticCurveTo(r,s+d,r,s+d-u),"center"===o&&"left"===a&&this.drawCaret(t,n),i.lineTo(r,s+u),i.quadraticCurveTo(r,s,r+u,s),i.closePath(),i.fill(),e.borderWidth>0&&i.stroke()},draw:function(){var t=this._chart.ctx,e=this._view;if(0!==e.opacity){var i={width:e.width,height:e.height},n={x:e.x,y:e.y},a=Math.abs(e.opacity<.001)?0:e.opacity,o=e.title.length||e.beforeBody.length||e.body.length||e.afterBody.length||e.footer.length;this._options.enabled&&o&&(t.save(),t.globalAlpha=a,this.drawBackground(n,e,t,i),n.y+=e.yPadding,this.drawTitle(n,e,t),this.drawBody(n,e,t),this.drawFooter(n,e,t),t.restore())}},handleEvent:function(t){var e,i=this,n=i._options;return i._lastActive=i._lastActive||[],"mouseout"===t.type?i._active=[]:i._active=i._chart.getElementsAtEventForMode(t,n.mode,n),(e=!ut.arrayEquals(i._active,i._lastActive))&&(i._lastActive=i._active,(n.enabled||n.custom)&&(i._eventPosition={x:t.x,y:t.y},i.update(!0),i.pivot())),e}}),$e=qe,Je=Ze;Je.positioners=$e;var Qe=ut.valueOrDefault;function ti(){return ut.merge({},[].slice.call(arguments),{merger:function(t,e,i,n){if("xAxes"===t||"yAxes"===t){var a,o,r,s=i[t].length;for(e[t]||(e[t]=[]),a=0;a<s;++a)r=i[t][a],o=Qe(r.type,"xAxes"===t?"category":"linear"),a>=e[t].length&&e[t].push({}),!e[t][a].type||r.type&&r.type!==e[t][a].type?ut.merge(e[t][a],[He.getScaleDefaults(o),r]):ut.merge(e[t][a],r)}else ut._merger(t,e,i,n)}})}function ei(){return ut.merge({},[].slice.call(arguments),{merger:function(t,e,i,n){var a=e[t]||{},o=i[t];"scales"===t?e[t]=ti(a,o):"scale"===t?e[t]=ut.merge(a,[He.getScaleDefaults(o.type),o]):ut._merger(t,e,i,n)}})}function ii(t){return"top"===t||"bottom"===t}st._set("global",{elements:{},events:["mousemove","mouseout","click","touchstart","touchmove"],hover:{onHover:null,mode:"nearest",intersect:!0,animationDuration:400},onClick:null,maintainAspectRatio:!0,responsive:!0,responsiveAnimationDuration:0});var ni=function(t,e){return this.construct(t,e),this};ut.extend(ni.prototype,{construct:function(t,e){var i=this;e=function(t){var e=(t=t||{}).data=t.data||{};return e.datasets=e.datasets||[],e.labels=e.labels||[],t.options=ei(st.global,st[t.type],t.options||{}),t}(e);var n=Ve.acquireContext(t,e),a=n&&n.canvas,o=a&&a.height,r=a&&a.width;i.id=ut.uid(),i.ctx=n,i.canvas=a,i.config=e,i.width=r,i.height=o,i.aspectRatio=o?r/o:null,i.options=e.options,i._bufferedRender=!1,i.chart=i,i.controller=i,ni.instances[i.id]=i,Object.defineProperty(i,"data",{get:function(){return i.config.data},set:function(t){i.config.data=t}}),n&&a?(i.initialize(),i.update()):console.error("Failed to create chart: can't acquire context from the given item")},initialize:function(){var t=this;return Ee.notify(t,"beforeInit"),ut.retinaScale(t,t.options.devicePixelRatio),t.bindEvents(),t.options.responsive&&t.resize(!0),t.ensureScalesHaveIDs(),t.buildOrUpdateScales(),t.initToolTip(),Ee.notify(t,"afterInit"),t},clear:function(){return ut.canvas.clear(this),this},stop:function(){return bt.cancelAnimation(this),this},resize:function(t){var e=this,i=e.options,n=e.canvas,a=i.maintainAspectRatio&&e.aspectRatio||null,o=Math.max(0,Math.floor(ut.getMaximumWidth(n))),r=Math.max(0,Math.floor(a?o/a:ut.getMaximumHeight(n)));if((e.width!==o||e.height!==r)&&(n.width=e.width=o,n.height=e.height=r,n.style.width=o+"px",n.style.height=r+"px",ut.retinaScale(e,i.devicePixelRatio),!t)){var s={width:o,height:r};Ee.notify(e,"resize",[s]),i.onResize&&i.onResize(e,s),e.stop(),e.update({duration:i.responsiveAnimationDuration})}},ensureScalesHaveIDs:function(){var t=this.options,e=t.scales||{},i=t.scale;ut.each(e.xAxes,function(t,e){t.id=t.id||"x-axis-"+e}),ut.each(e.yAxes,function(t,e){t.id=t.id||"y-axis-"+e}),i&&(i.id=i.id||"scale")},buildOrUpdateScales:function(){var t=this,e=t.options,i=t.scales||{},n=[],a=Object.keys(i).reduce(function(t,e){return t[e]=!1,t},{});e.scales&&(n=n.concat((e.scales.xAxes||[]).map(function(t){return{options:t,dtype:"category",dposition:"bottom"}}),(e.scales.yAxes||[]).map(function(t){return{options:t,dtype:"linear",dposition:"left"}}))),e.scale&&n.push({options:e.scale,dtype:"radialLinear",isDefault:!0,dposition:"chartArea"}),ut.each(n,function(e){var n=e.options,o=n.id,r=Qe(n.type,e.dtype);ii(n.position)!==ii(e.dposition)&&(n.position=e.dposition),a[o]=!0;var s=null;if(o in i&&i[o].type===r)(s=i[o]).options=n,s.ctx=t.ctx,s.chart=t;else{var l=He.getScaleConstructor(r);if(!l)return;s=new l({id:o,type:r,options:n,ctx:t.ctx,chart:t}),i[s.id]=s}s.mergeTicksOptions(),e.isDefault&&(t.scale=s)}),ut.each(a,function(t,e){t||delete i[e]}),t.scales=i,He.addScalesToLayout(this)},buildOrUpdateControllers:function(){var t=this,e=[];return ut.each(t.data.datasets,function(i,n){var a=t.getDatasetMeta(n),o=i.type||t.config.type;if(a.type&&a.type!==o&&(t.destroyDatasetMeta(n),a=t.getDatasetMeta(n)),a.type=o,a.controller)a.controller.updateIndex(n),a.controller.linkScales();else{var r=ue[a.type];if(void 0===r)throw new Error('"'+a.type+'" is not a chart type.');a.controller=new r(t,n),e.push(a.controller)}},t),e},resetElements:function(){var t=this;ut.each(t.data.datasets,function(e,i){t.getDatasetMeta(i).controller.reset()},t)},reset:function(){this.resetElements(),this.tooltip.initialize()},update:function(t){var e,i,n=this;if(t&&"object"==typeof t||(t={duration:t,lazy:arguments[1]}),i=(e=n).options,ut.each(e.scales,function(t){ke.removeBox(e,t)}),i=ei(st.global,st[e.config.type],i),e.options=e.config.options=i,e.ensureScalesHaveIDs(),e.buildOrUpdateScales(),e.tooltip._options=i.tooltips,e.tooltip.initialize(),Ee._invalidate(n),!1!==Ee.notify(n,"beforeUpdate")){n.tooltip._data=n.data;var a=n.buildOrUpdateControllers();ut.each(n.data.datasets,function(t,e){n.getDatasetMeta(e).controller.buildOrUpdateElements()},n),n.updateLayout(),n.options.animation&&n.options.animation.duration&&ut.each(a,function(t){t.reset()}),n.updateDatasets(),n.tooltip.initialize(),n.lastActive=[],Ee.notify(n,"afterUpdate"),n._bufferedRender?n._bufferedRequest={duration:t.duration,easing:t.easing,lazy:t.lazy}:n.render(t)}},updateLayout:function(){!1!==Ee.notify(this,"beforeLayout")&&(ke.update(this,this.width,this.height),Ee.notify(this,"afterScaleUpdate"),Ee.notify(this,"afterLayout"))},updateDatasets:function(){if(!1!==Ee.notify(this,"beforeDatasetsUpdate")){for(var t=0,e=this.data.datasets.length;t<e;++t)this.updateDataset(t);Ee.notify(this,"afterDatasetsUpdate")}},updateDataset:function(t){var e=this.getDatasetMeta(t),i={meta:e,index:t};!1!==Ee.notify(this,"beforeDatasetUpdate",[i])&&(e.controller.update(
vendor: 5,238 bytes, line 1835
1835),Ee.notify(this,"afterDatasetUpdate",[i]))},render:function(t){var e=this;t&&"object"==typeof t||(t={duration:t,lazy:arguments[1]});var i=e.options.animation,n=Qe(t.duration,i&&i.duration),a=t.lazy;if(!1!==Ee.notify(e,"beforeRender")){var o=function(t){Ee.notify(e,"afterRender"),ut.callback(i&&i.onComplete,[t],e)};if(i&&n){var r=new vt({numSteps:n/16.66,easing:t.easing||i.easing,render:function(t,e){var i=ut.easing.effects[e.easing],n=e.currentStep,a=n/e.numSteps;t.draw(i(a),a,n)},onAnimationProgress:i.onProgress,onAnimationComplete:o});bt.addAnimation(e,r,n,a)}else e.draw(),o(new vt({numSteps:0,chart:e}));return e}},draw:function(t){var e=this;e.clear(),ut.isNullOrUndef(t)&&(t=1),e.transition(t),e.width<=0||e.height<=0||!1!==Ee.notify(e,"beforeDraw",[t])&&(ut.each(e.boxes,function(t){t.draw(e.chartArea)},e),e.drawDatasets(t),e._drawTooltip(t),Ee.notify(e,"afterDraw",[t]))},transition:function(t){for(var e=0,i=(this.data.datasets||[]).length;e<i;++e)this.isDatasetVisible(e)&&this.getDatasetMeta(e).controller.transition(t);this.tooltip.transition(t)},drawDatasets:function(t){var e=this;if(!1!==Ee.notify(e,"beforeDatasetsDraw",[t])){for(var i=(e.data.datasets||[]).length-1;i>=0;--i)e.isDatasetVisible(i)&&e.drawDataset(i,t);Ee.notify(e,"afterDatasetsDraw",[t])}},drawDataset:function(t,e){var i=this.getDatasetMeta(t),n={meta:i,index:t,easingValue:e};!1!==Ee.notify(this,"beforeDatasetDraw",[n])&&(i.controller.draw(e),Ee.notify(this,"afterDatasetDraw",[n]))},_drawTooltip:function(t){var e=this.tooltip,i={tooltip:e,easingValue:t};!1!==Ee.notify(this,"beforeTooltipDraw",[i])&&(e.draw(),Ee.notify(this,"afterTooltipDraw",[i]))},getElementAtEvent:function(t){return ve.modes.single(this,t)},getElementsAtEvent:function(t){return ve.modes.label(this,t,{intersect:!0})},getElementsAtXAxis:function(t){return ve.modes["x-axis"](this,t,{intersect:!0})},getElementsAtEventForMode:function(t,e,i){var n=ve.modes[e];return"function"==typeof n?n(this,t,i):[]},getDatasetAtEvent:function(t){return ve.modes.dataset(this,t,{intersect:!0})},getDatasetMeta:function(t){var e=this.data.datasets[t];e._meta||(e._meta={});var i=e._meta[this.id];return i||(i=e._meta[this.id]={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null}),i},getVisibleDatasetCount:function(){for(var t=0,e=0,i=this.data.datasets.length;e<i;++e)this.isDatasetVisible(e)&&t++;return t},isDatasetVisible:function(t){var e=this.getDatasetMeta(t);return"boolean"==typeof e.hidden?!e.hidden:!this.data.datasets[t].hidden},generateLegend:function(){return this.options.legendCallback(this)},destroyDatasetMeta:function(t){var e=this.id,i=this.data.datasets[t],n=i._meta&&i._meta[e];n&&(n.controller.destroy(),delete i._meta[e])},destroy:function(){var t,e,i=this,n=i.canvas;for(i.stop(),t=0,e=i.data.datasets.length;t<e;++t)i.destroyDatasetMeta(t);n&&(i.unbindEvents(),ut.canvas.clear(i),Ve.releaseContext(i.ctx),i.canvas=null,i.ctx=null),Ee.notify(i,"destroy"),delete ni.instances[i.id]},toBase64Image:function(){return this.canvas.toDataURL.apply(this.canvas,arguments)},initToolTip:function(){var t=this;t.tooltip=new Je({_chart:t,_chartInstance:t,_data:t.data,_options:t.options.tooltips},t)},bindEvents:function(){var t=this,e=t._listeners={},i=function(){t.eventHandler.apply(t,arguments)};ut.each(t.options.events,function(n){Ve.addEventListener(t,n,i),e[n]=i}),t.options.responsive&&(i=function(){t.resize()},Ve.addEventListener(t,"resize",i),e.resize=i)},unbindEvents:function(){var t=this,e=t._listeners;e&&(delete t._listeners,ut.each(e,function(e,i){Ve.removeEventListener(t,i,e)}))},updateHoverStyle:function(t,e,i){var n,a,o,r=i?"setHoverStyle":"removeHoverStyle";for(a=0,o=t.length;a<o;++a)(n=t[a])&&this.getDatasetMeta(n._datasetIndex).controller[r](n)},eventHandler:function(t){var e=this,i=e.tooltip;if(!1!==Ee.notify(e,"beforeEvent",[t])){e._bufferedRender=!0,e._bufferedRequest=null;var n=e.handleEvent(t);i&&(n=i._start?i.handleEvent(t):n|i.handleEvent(t)),Ee.notify(e,"afterEvent",[t]);var a=e._bufferedRequest;return a?e.render(a):n&&!e.animating&&(e.stop(),e.render({duration:e.options.hover.animationDuration,lazy:!0})),e._bufferedRender=!1,e._bufferedRequest=null,e}},handleEvent:function(t){var e,i=this,n=i.options||{},a=n.hover;return i.lastActive=i.lastActive||[],"mouseout"===t.type?i.active=[]:i.active=i.getElementsAtEventForMode(t,a.mode,a),ut.callback(n.onHover||n.hover.onHover,[t.native,i.active],i),"mouseup"!==t.type&&"click"!==t.type||n.onClick&&n.onClick.call(i,t.native,i.active),i.lastActive.length&&i.updateHoverStyle(i.lastActive,a.mode,!1),i.active.length&&a.mode&&i.updateHoverStyle(i.active,a.mode,!0),e=!ut.arrayEquals(i.active,i.lastActive),i.lastActive=i.active,e}}),ni.instances={};var ai=ni;ni.Controller=ni,ni.types={},ut.configMerge=ei,ut.scaleMerge=ti;function oi(){throw new Error("This method is not implemented: either no adapter can be found or an incomplete integration was provided.")}function ri(t){this.options=t||{}}ut.extend(ri.prototype,{formats:oi,parse:oi,format:oi,add:oi,diff:oi,startOf:oi,endOf:oi,_create:function(t){return t}}),ri.override=function(t){ut.extend(ri.prototype,t)};var si={_date:ri},li={formatters:{values:function(t){return ut.isArray(t)?t:""+t}
vendor: 4,637 bytes, line 1835
1835,linear:function(t,e,i){var n=i.length>3?i[2]-i[1]:i[1]-i[0];Math.abs(n)>1&&t!==Math.floor(t)&&(n=t-Math.floor(t));var a=ut.log10(Math.abs(n)),o="";if(0!==t)if(Math.max(Math.abs(i[0]),Math.abs(i[i.length-1]))<1e-4){var r=ut.log10(Math.abs(t));o=t.toExponential(Math.floor(r)-Math.floor(a))}else{var s=-1*Math.floor(a);s=Math.max(Math.min(s,20),0),o=t.toFixed(s)}else o="0";return o},logarithmic:function(t,e,i){var n=t/Math.pow(10,Math.floor(ut.log10(t)));return 0===t?"0":1===n||2===n||5===n||0===e||e===i.length-1?t.toExponential():""}}},di=ut.valueOrDefault,ui=ut.valueAtIndexOrDefault;function hi(t){var e,i,n=[];for(e=0,i=t.length;e<i;++e)n.push(t[e].label);return n}function ci(t,e,i){return ut.isArray(e)?ut.longestText(t,i,e):t.measureText(e).width}st._set("scale",{display:!0,position:"left",offset:!1,gridLines:{display:!0,color:"rgba(0, 0, 0, 0.1)",lineWidth:1,drawBorder:!0,drawOnChartArea:!0,drawTicks:!0,tickMarkLength:10,zeroLineWidth:1,zeroLineColor:"rgba(0,0,0,0.25)",zeroLineBorderDash:[],zeroLineBorderDashOffset:0,offsetGridLines:!1,borderDash:[],borderDashOffset:0},scaleLabel:{display:!1,labelString:"",padding:{top:4,bottom:4}},ticks:{beginAtZero:!1,minRotation:0,maxRotation:50,mirror:!1,padding:0,reverse:!1,display:!0,autoSkip:!0,autoSkipPadding:0,labelOffset:0,callback:li.formatters.values,minor:{},major:{}}});var fi=pt.extend({getPadding:function(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}},getTicks:function(){return this._ticks},mergeTicksOptions:function(){var t=this.options.ticks;for(var e in!1===t.minor&&(t.minor={display:!1}),!1===t.major&&(t.major={display:!1}),t)"major"!==e&&"minor"!==e&&(void 0===t.minor[e]&&(t.minor[e]=t[e]),void 0===t.major[e]&&(t.major[e]=t[e]))},beforeUpdate:function(){ut.callback(this.options.beforeUpdate,[this])},update:function(t,e,i){var n,a,o,r,s,l,d=this;for(d.beforeUpdate(),d.maxWidth=t,d.maxHeight=e,d.margins=ut.extend({left:0,right:0,top:0,bottom:0},i),d._maxLabelLines=0,d.longestLabelWidth=0,d.longestTextCache=d.longestTextCache||{},d.beforeSetDimensions(),d.setDimensions(),d.afterSetDimensions(),d.beforeDataLimits(),d.determineDataLimits(),d.afterDataLimits(),d.beforeBuildTicks(),s=d.buildTicks()||[],s=d.afterBuildTicks(s)||s,d.beforeTickToLabelConversion(),o=d.convertTicksToLabels(s)||d.ticks,d.afterTickToLabelConversion(),d.ticks=o,n=0,a=o.length;n<a;++n)r=o[n],(l=s[n])?l.label=r:s.push(l={label:r,major:!1});return d._ticks=s,d.beforeCalculateTickRotation(),d.calculateTickRotation(),d.afterCalculateTickRotation(),d.beforeFit(),d.fit(),d.afterFit(),d.afterUpdate(),d.minSize},afterUpdate:function(){ut.callback(this.options.afterUpdate,[this])},beforeSetDimensions:function(){ut.callback(this.options.beforeSetDimensions,[this])},setDimensions:function(){var t=this;t.isHorizontal()?(t.width=t.maxWidth,t.left=0,t.right=t.width):(t.height=t.maxHeight,t.top=0,t.bottom=t.height),t.paddingLeft=0,t.paddingTop=0,t.paddingRight=0,t.paddingBottom=0},afterSetDimensions:function(){ut.callback(this.options.afterSetDimensions,[this])},beforeDataLimits:function(){ut.callback(this.options.beforeDataLimits,[this])},determineDataLimits:ut.noop,afterDataLimits:function(){ut.callback(this.options.afterDataLimits,[this])},beforeBuildTicks:function(){ut.callback(this.options.beforeBuildTicks,[this])},buildTicks:ut.noop,afterBuildTicks:function(t){var e=this;return ut.isArray(t)&&t.length?ut.callback(e.options.afterBuildTicks,[e,t]):(e.ticks=ut.callback(e.options.afterBuildTicks,[e,e.ticks])||e.ticks,t)},beforeTickToLabelConversion:function(){ut.callback(this.options.beforeTickToLabelConversion,[this])},convertTicksToLabels:function(){var t=this.options.ticks;this.ticks=this.ticks.map(t.userCallback||t.callback,this)},afterTickToLabelConversion:function(){ut.callback(this.options.afterTickToLabelConversion,[this])},beforeCalculateTickRotation:function(){ut.callback(this.options.beforeCalculateTickRotation,[this])},calculateTickRotation:function(){var t=this,e=t.ctx,i=t.options.ticks,n=hi(t._ticks),a=ut.options._parseFont(i);e.font=a.string;var o=i.minRotation||0;if(n.length&&t.options.display&&t.isHorizontal())for(var r,s=ut.longestText(e,a.string,n,t.longestTextCache),l=s,d=t.getPixelForTick(1)-t.getPixelForTick(0)-6;l>d&&o<i.maxRotation;){var u=ut.toRadians(o);if(r=Math.cos(u),Math.sin(u)*s>t.maxHeight){o--;break}o++,l=r*s}t.labelRotation=o},afterCalculateTickRotation:function(){ut.callback(this.options.afterCalculateTickRotation,[this])},beforeFit:function(){ut.callback(this.options.beforeFit,[this])},fit:function(){var t=this,e=t.minSize={width:0,height:0}
1835,i=hi(t._ticks),n=t.options,a=n.ticks,o=n.scaleLabel,r=n.gridLines,s=t._isVisible(),l=n.position,d=t.isHorizontal(),u=ut.options._parseFont,h=u(a),c=n.gridLines.tickMarkLength;if(e.width=d?t.isFullWidth()?t.maxWidth-t.margins.left-t.margins.right:t.maxWidth:s&&r.drawTicks?c:0,e.height=d?s&&r.drawTicks?c:0:t.maxHeight,o.display&&s){var f=u(o),g=ut.options.toPadding(o.padding),p=f.lineHeight+g.height;d?e.height+=p:e.width+=p}if(a.display&&s){var m=ut.longestText(t.ctx,h.string,i,t.longestTextCache),v=ut.numberOfLabelLines(i),b=.5*h.size,x=t.options.ticks.padding;if(t._maxLabelLines=v,t.longestLabelWidth=m,d){var y=ut.toRadians(t.labelRotation),k=Math.cos(y),w=Math.sin(y)*m+h.lineHeight*v+b;e.height=Math.min(t.maxHeight,e.height+w+x),t.ctx.font=h.string;var M,_,C=ci(t.ctx,i[0],h.string),S=ci(t.ctx,i[i.length-1],h.string),P=t.getPixelForTick(0)-t.left,I=t.right-t.getPixelForTick(i.length-1);0!==t.labelRotation?(M="bottom"===l?k*C:k*b,_="bottom"===l?k*b:k*S):(M=C/2,_=S/2),t.paddingLeft=Math.max(M-P,0)+3,t.paddingRight=Math.max(_-I,0)+3}else a.mirror?m=0:m+=x+b,e.width=Math.min(t.maxWidth,e.width+m),t.paddingTop=h.size/2,t.paddingBottom=h.size/2}t.handleMargins(),t.width=e.width,t.height=e.height},handleMargins:function(){var t=this;t.margins&&(t.paddingLeft=Math.max(t.paddingLeft-t.margins.left,0),t.paddingTop=Math.max(t.paddingTop-t.margins.top,0),t.paddingRight=Math.max(t.paddingRight-t.margins.right,0),t.paddingBottom=Math.max(t.paddingBottom-t.margins.bottom,0))},afterFit:function(){ut.callback(this.options.afterFit,[this])},isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},isFullWidth:function(){return this.options.fullWidth},getRightValue:function(t){if(ut.isNullOrUndef(t))return NaN;if(("number"==typeof t||t instanceof Number)&&!isFinite(t))return NaN;if(t)if(this.isHorizontal()){if(void 0!==t.x)return this.getRightValue(t.x)}else if(void 0!==t.y)return this.getRightValue(t.y);return t},getLabelForIndex:ut.noop,getPixelForValue:ut.noop,getValueForPixel:ut.noop,getPixelForTick:function(t){var e=this,i=e.options.offset;if(e.isHorizontal()){var n=(e.width-(e.paddingLeft+e.paddingRight))/Math.max(e._ticks.length-(i?0:1),1),a=n*t+e.paddingLeft;i&&(a+=n/2);var o=e.left+a;return o+=e.isFullWidth()?e.margins.left:0}var r=e.height-(e.paddingTop+e.paddingBottom);return e.top+t*(r/(e._ticks.length-1))},getPixelForDecimal:function(t){var e=this;if(e.isHorizontal()){var i=(e.width-(e.paddingLeft+e.paddingRight))*t+e.paddingLeft,n=e.left+i;return n+=e.isFullWidth()?e.margins.left:0}return e.top+t*e.height},getBasePixel:function(){return this.getPixelForValue(this.getBaseValue())},getBaseValue:function(){var t=this.min,e=this.max;return this.beginAtZero?0:t<0&&e<0?e:t>0&&e>0?t:0},_autoSkip:function(t){var e,i,n=this,a=n.isHorizontal(),o=n.options.ticks.minor,r=t.length,s=!1,l=o.maxTicksLimit,d=n._tickSize()*(r-1),u=a?n.width-(n.paddingLeft+n.paddingRight):n.height-(n.paddingTop+n.PaddingBottom),h=[];for(d>u&&(s=1+Math.floor(d/u)),r>l&&(s=Math.max(s,1+Math.floor(r/l))),e=0;e<r;e++)i=t[e],s>1&&e%s>0&&delete i.label,h.push(i);return h},_tickSize:function(){var t=this,e=t.isHorizontal(),i=t.options.ticks.minor,n=ut.toRadians(t.labelRotation),a=Math.abs(Math.cos(n)),o=Math.abs(Math.sin(n)),r=i.autoSkipPadding||0,s=t.longestLabelWidth+r||0,l=ut.options._parseFont(i),d=t._maxLabelLines*l.lineHeight+r||0;return e?d*a>s*o?s/a:d/o:d*o<s*a?d/a:s/o},_isVisible:function(){var t,e,i,n=this.chart,a=this.options.display;if("auto"!==a)return!!a;for(t=0,e=n.data.datasets.length;t<e;++t)if(n.isDatasetVisible(t)&&((i=n.getDatasetMeta(t)).xAxisID===this.id||i.yAxisID===this.id))return!0;return!1},draw:function(t){var e=this,i=e.options;if(e._isVisible()){var n,a,o,r=e.chart,s=e.ctx,l=st.global.defaultFontColor,d=i.ticks.minor,u=i.ticks.major||d,h=i.gridLines,c=i.scaleLabel,f=i.position,g=0!==e.labelRotation,p=d.mirror,m=e.isHorizontal(),v=ut.options._parseFont,b=d.display&&d.autoSkip?e._autoSkip(e.getTicks()):e.getTicks(),x=di(d.fontColor,l),y=v(d),k=y.lineHeight,w=di(u.fontColor,l),M=v(u),_=d.padding,C=d.labelOffset,S=h.drawTicks?h.tickMarkLength:0,P=di(c.fontColor,l),I=v(c),A=ut.options.toPadding(c.padding),D=ut.toRadians(e.labelRotation),T=[],F=h.drawBorder?ui(h.lineWidth,0,0):0,L=ut._alignPixel;"top"===f?(n=L(r,e.bottom,F),a=e.bottom-S,o=n-F/2):"bottom"===f?(n=L(r,e.top,F),a=n+F/2,o=e.top+S):"left"===f?(n=L(r,e.right,F),a=e.right-S,o=n-F/2):(n=L(r,e.left,F),a=n+F/2,o=e.left+S);if(ut.each(b,function(n,s){if(!ut.isNullOrUndef(n.label)){var l,d,u,c,v,b,x,y,w,M,P,I,A,R,O,z,B=n.label;s===e.zeroLineIndex&&i.offset===h.offsetGridLines?(l=h.zeroLineWi
1835dth,d=h.zeroLineColor,u=h.zeroLineBorderDash||[],c=h.zeroLineBorderDashOffset||0):(l=ui(h.lineWidth,s),d=ui(h.color,s),u=h.borderDash||[],c=h.borderDashOffset||0);var N=ut.isArray(B)?B.length:1,W=function(t,e,i){var n=t.getPixelForTick(e);return i&&(1===t.getTicks().length?n-=t.isHorizontal()?Math.max(n-t.left,t.right-n):Math.max(n-t.top,t.bottom-n):n-=0===e?(t.getPixelForTick(1)-n)/2:(n-t.getPixelForTick(e-1))/2),n}(e,s,h.offsetGridLines);if(m){var V=S+_;W<e.left-1e-7&&(d="rgba(0,0,0,0)"),v=x=w=P=L(r,W,l),b=a,y=o,A=e.getPixelForTick(s)+C,"top"===f?(M=L(r,t.top,F)+F/2,I=t.bottom,O=((g?1:.5)-N)*k,z=g?"left":"center",R=e.bottom-V):(M=t.top,I=L(r,t.bottom,F)-F/2,O=(g?0:.5)*k,z=g?"right":"center",R=e.top+V)}else{var E=(p?0:S)+_;W<e.top-1e-7&&(d="rgba(0,0,0,0)"),v=a,x=o,b=y=M=I=L(r,W,l),R=e.getPixelForTick(s)+C,O=(1-N)*k/2,"left"===f?(w=L(r,t.left,F)+F/2,P=t.right,z=p?"left":"right",A=e.right-E):(w=t.left,P=L(r,t.right,F)-F/2,z=p?"right":"left",A=e.left+E)}T.push({tx1:v,ty1:b,tx2:x,ty2:y,x1:w,y1:M,x2:P,y2:I,labelX:A,labelY:R,glWidth:l,glColor:d,glBorderDash:u,glBorderDashOffset:c,rotation:-1*D,label:B,major:n.major,textOffset:O,textAlign:z})}}),ut.each(T,function(t){var e=t.glWidth,i=t.glColor;if(h.display&&e&&i&&(s.save(),s.lineWidth=e,s.strokeStyle=i,s.setLineDash&&(s.setLineDash(t.glBorderDash),s.lineDashOffset=t.glBorderDashOffset),s.beginPath(),h.drawTicks&&(s.moveTo(t.tx1,t.ty1),s.lineTo(t.tx2,t.ty2)),h.drawOnChartArea&&(s.moveTo(t.x1,t.y1),s.lineTo(t.x2,t.y2)),s.stroke(),s.restore()),d.display){s.save(),s.translate(t.labelX,t.labelY),s.rotate(t.rotation),s.font=t.major?M.string:y.string,s.fillStyle=t.major?w:x,s.textBaseline="middle",s.textAlign=t.textAlign;var n=t.label,a=t.textOffset;if(ut.isArray(n))for(var o=0;o<n.length;++o)s.fillText(""+n[o],0,a),a+=k;else s.fillText(n,0,a);s.restore()}}),c.display){var R,O,z=0,B=I.lineHeight/2;if(m)R=e.left+(e.right-e.left)/2,O="bottom"===f?e.bottom-B-A.bottom:e.top+B+A.top;else{var N="left"===f;R=N?e.left+B+A.top:e.right-B-A.top,O=e.top+(e.bottom-e.top)/2,z=N?-.5*Math.PI:.5*Math.PI}s.save(),s.translate(R,O),s.rotate(z),s.textAlign="center",s.textBaseline="middle",s.fillStyle=P,s.font=I.string,s.fillText(c.labelString,0,0),s.restore()}if(F){var W,V,E,H,j=F,q=ui(h.lineWidth,b.length-1,0);m?(W=L(r,e.left,j)-j/2,V=L(r,e.right,q)+q/2,E=H=n):(E=L(r,e.top,j)-j/2,H=L(r,e.bottom,q)+q/2,W=V=n),s.lineWidth=F,s.strokeStyle=ui(h.color,0),s.beginPath(),s.moveTo(W,E),s.lineTo(V,H),s.stroke()}}}}),gi=fi.extend({getLabels:function(){var t=this.chart.data;return this.options.labels||(this.isHorizontal()?t.xLabels:t.yLabels)||t.labels},determineDataLimits:function(){var t,e=this,i=e.getLabels();e.minIndex=0,e.maxIndex=i.length-1,void 0!==e.options.ticks.min&&(t=i.indexOf(e.options.ticks.min),e.minIndex=-1!==t?t:e.minIndex),void 0!==e.options.ticks.max&&(t=i.indexOf(e.options.ticks.max),e.maxIndex=-1!==t?t:e.maxIndex),e.min=i[e.minIndex],e.max=i[e.maxIndex]},buildTicks:function(){var t=this,e=t.getLabels();t.ticks=0===t.minIndex&&t.maxIndex===e.length-1?e:e.slice(t.minIndex,t.maxIndex+1)},getLabelForIndex:function(t,e){var i=this,n=i.chart;return n.getDatasetMeta(e).controller._getValueScaleId()===i.id?i.getRightValue(n.data.datasets[e].data[t]):i.ticks[t-i.minIndex]},getPixelForValue:function(t,e){var i,n=this,a=n.options.offset,o=Math.max(n.maxIndex+1-n.minIndex-(a?0:1),1);if(null!=t&&(i=n.isHorizontal()?t.x:t.y),void 0!==i||void 0!==t&&isNaN(e)){t=i||t;var r=n.getLabels().indexOf(t);e=-1!==r?r:e}if(n.isHorizontal()){var s=n.width/o,l=s*(e-n.minIndex);return a&&(l+=s/2),n.left+l}var d=n.height/o,u=d*(e-n.minIndex);return a&&(u+=d/2),n.top+u},getPixelForTick:function(t){return this.getPixelForValue(this.ticks[t],t+this.minIndex,null)},getValueForPixel:function(t){var e=this,i=e.options.offset,n=Math.max(e._ticks.length-(i?0:1),1),a=e.isHorizontal(),o=(a?e.width:e.height)/n;return t-=a?e.left:e.top,i&&(t-=o/2),(t<=0?0:Math.round(t/o))+e.minIndex},getBasePixel:function(){return this.bottom}}),pi={position:"bottom"};gi._defaults=pi;var mi=ut.noop,vi=ut.isNullOrUndef;var bi=fi.extend({getRightValue:function(t){return"string"==typeof t?+t:fi.prototype.getRightValue.call(this,t)},handleTickRangeOptions:function(){var t=this,e=t.options.ticks;if(e.beginAtZero){var i=ut.sign(t.min),n=ut.sign(t.max);i<0&&n<0?t.max=0:i>0&&n>0&&(t.min=0)}var a=void 0!==e.min||void 0!==e.suggestedMin,o=void 0!==e.max||void 0!==e.suggestedMax;void 0!==e.min?t.min=e.min:void 0!==e.suggestedMin&&(null===t.min?t.min=e.suggestedMin:t.min=Math.min(t.min,e.suggestedMin)),void 0!==e.max?t.max=e.max:void 0!==e.suggestedMax&&(null===t.max?t.max=e.suggestedMax:t.max=Math.max(t.max,e.suggestedMax)),a!==o&&t.min>=t.max&&(a?t.max=t.min+1:t.min=t.max-1),t.min===t.max&&(t.max++,e.beginAtZero||t.min--)},getTickLimit:function(){var t,e=this.options.ticks,i=e.stepSize,n=e.maxTicksLimit;return i?t=Math.ceil(this.max/i)-Math.floor(this.min/i)+1:(t=this._computeTickLimit(),n=n||11),n&&(t=Math.min(n,t)),t},_computeTickLimit:function(){return Number.POSITIVE_INFINITY},handleDirectionalChanges:mi,buildTicks:function(){var t=this,e=t.options.ticks,i=t.getTickLimit(),n={maxTicks:i=Math.max(2,i),min:e.min,max:e.max,precision:e.precision,stepSize:ut.valueOrDefault(e.fixedStepSize,e.stepSize)},a=t.ticks=function(t,e){var i,n,a,o,r=[],s=t.stepSize,l=s||1,d=t.maxTicks-1,u=t.min,h=t.max,c=t.precision,f=e.min,g=e.max,p=ut.niceNum((g-f)/d/l)*l;if(p<1e-14&&vi(u)&&vi(h))return[f,g];(o=Math.ceil(g/p)-Math.floor(f/p))>d&&(p=ut.niceNum(o*p/d/l)*l),s||vi(c)?i=Math.pow(10,ut._decimalPlaces(p)):(i=Math.pow(10,c),p=Math.ceil(p*i)/i),n=Math.floor(f/p)*p,a=Math.ceil(g/p)*p,s&&(!vi(u)&&ut.almostWhole(u/p,p/1e3)&&(n=u),!vi(h)&&ut.almostWhole(h/p,p/1e3)&&(a=h)),o=(a-n)/p,o=ut.almostEquals(o,Math.round(o),p/1e3)?Math.round(o):Math.ceil(o),n=Math.round(n*i)/i,a=Math.round(a*i)/i,r.push(vi(u)?n:u);for(var m=1;m<o;++m)r.push(Math.round((n+m*p)*i)/i);return r.push(vi(h)?a:h),r}(n,t);t.handleDirectionalChanges(),t.max=ut.max(a),t.min=ut.min(a),e.reverse?(a.reverse(),t.start=t.max,t.end=t.min):(t.start=t.min,t.end=t.max)},convertTicksToLabels:function(){var t=this;t.ticksAsNumbers=t.ticks.slice(),t.zeroLineIndex=t.ticks.indexOf(0),fi.prototype.convertTicksToLabels.call(t)}}),xi={position:"left",ticks:{callback:li.formatters.linear}},yi=bi.extend({determineDataLimits:function(){var t=this,e=t.options,i=t.chart,n=i.data.datasets,a=t.isHorizontal();function o(e){return a?e.xAxisID===t.id:e.yAxisID===t.id}t.min=null,t.max=null;var r=e.stacked;if(void 0===r&&ut.each(n,function(t,e){if(!r){var n=i.getDatasetMeta(e);i.isDatasetVisible(e)&&o(n)&&void 0!==n.stack&&(r=!0)}}),e.stacked||r){var s={};ut.each(n,function(n,a){var r=i.getDatasetMeta(a),l=[r.type,void 0===e.stacked&&void 0===r.stack?a:"",r.stack].join(".");void 0===s[l]&&(s[l]={positiveValues:[],negativeValues:[]});var d=s[l].positiveValues,u=s[l].negativeValues;i.isDatasetVisible(a)&&o(r)&&ut.each(n.data,function(i,n){var a=+t.getRightValue(i);isNaN(a)||r.data[n].hidden||(d[n]=d[n]||0,u[n]=u[n]||0,e.relativePoints?d[n]=100:a<0?u[n]+=a:d[n]+=a)})}),ut.each(s,function(e){var i=e.positiveValues.concat(e.negativeValues),n=ut.min(i),a=ut.max(i);t.min=null===t.min?n:Math.min(t.min,n),t.max=null===t.max?a:Math.max(t.max,a)})}else ut.each(n,function(e,n){var a=i.getDatasetMeta(n);i.isDatasetVisible(n)&&o(a)&&ut.each(e.data,function(e,i){var n=+t.getRightValue(e);isNaN(n)||a.data[i].hidden||(null===t.min?t.min=n:n<t.min&&(t.min=n),null===t.max?t.max=n:n>
vendor: 5,083 bytes, line 1835
1835t.max&&(t.max=n))})});t.min=isFinite(t.min)&&!isNaN(t.min)?t.min:0,t.max=isFinite(t.max)&&!isNaN(t.max)?t.max:1,this.handleTickRangeOptions()},_computeTickLimit:function(){var t;return this.isHorizontal()?Math.ceil(this.width/40):(t=ut.options._parseFont(this.options.ticks),Math.ceil(this.height/t.lineHeight))},handleDirectionalChanges:function(){this.isHorizontal()||this.ticks.reverse()},getLabelForIndex:function(t,e){return+this.getRightValue(this.chart.data.datasets[e].data[t])},getPixelForValue:function(t){var e=this,i=e.start,n=+e.getRightValue(t),a=e.end-i;return e.isHorizontal()?e.left+e.width/a*(n-i):e.bottom-e.height/a*(n-i)},getValueForPixel:function(t){var e=this,i=e.isHorizontal(),n=i?e.width:e.height,a=(i?t-e.left:e.bottom-t)/n;return e.start+(e.end-e.start)*a},getPixelForTick:function(t){return this.getPixelForValue(this.ticksAsNumbers[t])}}),ki=xi;yi._defaults=ki;var wi=ut.valueOrDefault;var Mi={position:"left",ticks:{callback:li.formatters.logarithmic}};function _i(t,e){return ut.isFinite(t)&&t>=0?t:e}var Ci=fi.extend({determineDataLimits:function(){var t=this,e=t.options,i=t.chart,n=i.data.datasets,a=t.isHorizontal();function o(e){return a?e.xAxisID===t.id:e.yAxisID===t.id}t.min=null,t.max=null,t.minNotZero=null;var r=e.stacked;if(void 0===r&&ut.each(n,function(t,e){if(!r){var n=i.getDatasetMeta(e);i.isDatasetVisible(e)&&o(n)&&void 0!==n.stack&&(r=!0)}}),e.stacked||r){var s={};ut.each(n,function(n,a){var r=i.getDatasetMeta(a),l=[r.type,void 0===e.stacked&&void 0===r.stack?a:"",r.stack].join(".");i.isDatasetVisible(a)&&o(r)&&(void 0===s[l]&&(s[l]=[]),ut.each(n.data,function(e,i){var n=s[l],a=+t.getRightValue(e);isNaN(a)||r.data[i].hidden||a<0||(n[i]=n[i]||0,n[i]+=a)}))}),ut.each(s,function(e){if(e.length>0){var i=ut.min(e),n=ut.max(e);t.min=null===t.min?i:Math.min(t.min,i),t.max=null===t.max?n:Math.max(t.max,n)}})}else ut.each(n,function(e,n){var a=i.getDatasetMeta(n);i.isDatasetVisible(n)&&o(a)&&ut.each(e.data,function(e,i){var n=+t.getRightValue(e);isNaN(n)||a.data[i].hidden||n<0||(null===t.min?t.min=n:n<t.min&&(t.min=n),null===t.max?t.max=n:n>t.max&&(t.max=n),0!==n&&(null===t.minNotZero||n<t.minNotZero)&&(t.minNotZero=n))})});this.handleTickRangeOptions()},handleTickRangeOptions:function(){var t=this,e=t.options.ticks;t.min=_i(e.min,t.min),t.max=_i(e.max,t.max),t.min===t.max&&(0!==t.min&&null!==t.min?(t.min=Math.pow(10,Math.floor(ut.log10(t.min))-1),t.max=Math.pow(10,Math.floor(ut.log10(t.max))+1)):(t.min=1,t.max=10)),null===t.min&&(t.min=Math.pow(10,Math.floor(ut.log10(t.max))-1)),null===t.max&&(t.max=0!==t.min?Math.pow(10,Math.floor(ut.log10(t.min))+1):10),null===t.minNotZero&&(t.min>0?t.minNotZero=t.min:t.max<1?t.minNotZero=Math.pow(10,Math.floor(ut.log10(t.max))):t.minNotZero=1)},buildTicks:function(){var t=this,e=t.options.ticks,i=!t.isHorizontal(),n={min:_i(e.min),max:_i(e.max)},a=t.ticks=function(t,e){var i,n,a=[],o=wi(t.min,Math.pow(10,Math.floor(ut.log10(e.min)))),r=Math.floor(ut.log10(e.max)),s=Math.ceil(e.max/Math.pow(10,r));0===o?(i=Math.floor(ut.log10(e.minNotZero)),n=Math.floor(e.minNotZero/Math.pow(10,i)),a.push(o),o=n*Math.pow(10,i)):(i=Math.floor(ut.log10(o)),n=Math.floor(o/Math.pow(10,i)));var l=i<0?Math.pow(10,Math.abs(i)):1;do{a.push(o),10==++n&&(n=1,l=++i>=0?1:l),o=Math.round(n*Math.pow(10,i)*l)/l}while(i<r||i===r&&n<s);var d=wi(t.max,o);return a.push(d),a}(n,t);t.max=ut.max(a),t.min=ut.min(a),e.reverse?(i=!i,t.start=t.max,t.end=t.min):(t.start=t.min,t.end=t.max),i&&a.reverse()},convertTicksToLabels:function(){this.tickValues=this.ticks.slice(),fi.prototype.convertTicksToLabels.call(this)},getLabelForIndex:function(t,e){return+this.getRightValue(this.chart.data.datasets[e].data[t])},getPixelForTick:function(t){return this.getPixelForValue(this.tickValues[t])},_getFirstTickValue:function(t){var e=Math.floor(ut.log10(t));return Math.floor(t/Math.pow(10,e))*Math.pow(10,e)},getPixelForValue:function(t){var e,i,n,a,o,r=this,s=r.options.ticks,l=s.reverse,d=ut.log10,u=r._getFirstTickValue(r.minNotZero),h=0;return t=+r.getRightValue(t),l?(n=r.end,a=r.start,o=-1):(n=r.start,a=r.end,o=1),r.isHorizontal()?(e=r.width,i=l?r.right:r.left):(e=r.height,o*=-1,i=l?r.top:r.bottom),t!==n&&(0===n&&(e-=h=wi(s.fontSize,st.global.defaultFontSize),n=u),0!==t&&(h+=e/(d(a)-d(n))*(d(t)-d(n))),i+=o*h),i},getValueForPixel:function(t){var e,i,n,a,o=this,r=o.options.ticks,s=r.reverse,l=ut.log10,d=o._getFirstTickValue(o.minNotZero);if(s?(i=o.end,n=o.start):(i=o.start,n=o.end),o.isHorizontal()?(e=o.width,a=s?o.right-t:t-o.left):(e=o.height,a=s?t-o.top:o.bottom-t),a!==i){if(0===i){var u=wi(r.fontSize,st.global.defaultFontSize);a-=u,e-=u,i=d}a*=l(n)-l(i),a/=e,a=Math.pow(10,l(i)+a)}return a}}),Si=Mi;Ci._defaults=Si;var Pi=ut.valueOrDefault,Ii=ut.valueAtIndexOrDefault,Ai=ut.options.resolve,Di={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,color:"rgba(0, 0, 0, 0.1)",lineWidth:1,borderDash:[],borderDashOffset:0},gridLines:{circular:!1},ticks:{showLabelBackdrop:!0,backdropColor:"rgba(255,255,255,0.75)",backdropPaddingY:2,backdropPaddingX:2,callback:li.formatters.linear}
1835,pointLabels:{display:!0,fontSize:10,callback:function(t){return t}}};function Ti(t){var e=t.options;return e.angleLines.display||e.pointLabels.display?t.chart.data.labels.length:0}function Fi(t){var e=t.ticks;return e.display&&t.display?Pi(e.fontSize,st.global.defaultFontSize)+2*e.backdropPaddingY:0}function Li(t,e,i,n,a){return t===n||t===a?{start:e-i/2,end:e+i/2}:t<n||t>a?{start:e-i,end:e}:{start:e,end:e+i}}function Ri(t){return 0===t||180===t?"center":t<180?"left":"right"}function Oi(t,e,i,n){var a,o,r=i.y+n/2;if(ut.isArray(e))for(a=0,o=e.length;a<o;++a)t.fillText(e[a],i.x,r),r+=n;else t.fillText(e,i.x,r)}function zi(t,e,i){90===t||270===t?i.y-=e.h/2:(t>270||t<90)&&(i.y-=e.h)}function Bi(t){return ut.isNumber(t)?t:0}var Ni=bi.extend({setDimensions:function(){var t=this;t.width=t.maxWidth,t.height=t.maxHeight,t.paddingTop=Fi(t.options)/2,t.xCenter=Math.floor(t.width/2),t.yCenter=Math.floor((t.height-t.paddingTop)/2),t.drawingArea=Math.min(t.height-t.paddingTop,t.width)/2},determineDataLimits:function(){var t=this,e=t.chart,i=Number.POSITIVE_INFINITY,n=Number.NEGATIVE_INFINITY;ut.each(e.data.datasets,function(a,o){if(e.isDatasetVisible(o)){var r=e.getDatasetMeta(o);ut.each(a.data,function(e,a){var o=+t.getRightValue(e);isNaN(o)||r.data[a].hidden||(i=Math.min(o,i),n=Math.max(o,n))})}}),t.min=i===Number.POSITIVE_INFINITY?0:i,t.max=n===Number.NEGATIVE_INFINITY?0:n,t.handleTickRangeOptions()},_computeTickLimit:function(){return Math.ceil(this.drawingArea/Fi(this.options))},convertTicksToLabels:function(){var t=this;bi.prototype.convertTicksToLabels.call(t),t.pointLabels=t.chart.data.labels.map(t.options.pointLabels.callback,t)},getLabelForIndex:function(t,e){return+this.getRightValue(this.chart.data.datasets[e].data[t])},fit:function(){var t=this.options;t.display&&t.pointLabels.display?function(t){var e,i,n,a=ut.options._parseFont(t.options.pointLabels),o={l:0,r:t.width,t:0,b:t.height-t.paddingTop},r={};t.ctx.font=a.string,t._pointLabelSizes=[];var s,l,d,u=Ti(t);for(e=0;e<u;e++){n=t.getPointPosition(e,t.drawingArea+5),s=t.ctx,l=a.lineHeight,d=t.pointLabels[e]||"",i=ut.isArray(d)?{w:ut.longestText(s,s.font,d),h:d.length*l}:{w:s.measureText(d).width,h:l},t._pointLabelSizes[e]=i;var h=t.getIndexAngle(e),c=ut.toDegrees(h)%360,f=Li(c,n.x,i.w,0,180),g=Li(c,n.y,i.h,90,270);f.start<o.l&&(o.l=f.start,r.l=h),f.end>o.r&&(o.r=f.end,r.r=h),g.start<o.t&&(o.t=g.start,r.t=h),g.end>o.b&&(o.b=g.end,r.b=h)}t.setReductions(t.drawingArea,o,r)}(this):this.setCenterPoint(0,0,0,0)},setReductions:function(t,e,i){var n=this,a=e.l/Math.sin(i.l),o=Math.max(e.r-n.width,0)/Math.sin(i.r),r=-e.t/Math.cos(i.t),s=-Math.max(e.b-(n.height-n.paddingTop),0)/Math.cos(i.b);a=Bi(a),o=Bi(o),r=Bi(r),s=Bi(s),n.drawingArea=Math.min(Math.floor(t-(a+o)/2),Math.floor(t-(r+s)/2)),n.setCenterPoint(a,o,r,s)},setCenterPoint:function(t,e,i,n){var a=this,o=a.width-e-a.drawingArea,r=t+a.drawingArea,s=i+a.drawingArea,l=a.height-a.paddingTop-n-a.drawingArea;a.xCenter=Math.floor((r+o)/2+a.left),a.yCenter=Math.floor((s+l)/2+a.top+a.paddingTop)},getIndexAngle:function(t){return t*(2*Math.PI/Ti(this))+(this.chart.options&&this.chart.options.startAngle?this.chart.options.startAngle:0)*Math.PI*2/360},getDistanceFromCenterForValue:function(t){var e=this;if(null===t)return 0;var i=e.drawingArea/(e.max-e.min);return e.options.ticks.reverse?(e.max-t)*i:(t-e.min)*i},getPointPosition:function(t,e){var i=this.getIndexAngle(t)-Math.PI/2;return{x:Math.cos(i)*e+this.xCenter,y:Math.sin(i)*e+this.yCenter}},getPointPositionForValue:function(t,e){return this.getPointPosition(t,this.getDistanceFromCenterForValue(e))},getBasePosition:function(){var t=this.min,e=this.max;return this.getPointPositionForValue(0,this.beginAtZero?0:t<0&&e<0?e:t>0&&e>0?t:0)},draw:function(){var t=this,e=t.options,i=e.gridLines,n=e.ticks;if(e.display){var a=t.ctx,o=this.getIndexAngle(0),r=ut.options._parseFont(n);(e.angleLines.display||e.pointLabels.display)&&function(t){var e=t.ctx,i=t.options,n=i.angleLines,a=i.gridLines,o=i.pointLabels,r=Pi(n.lineWidth,a.lineWidth),s=Pi(n.color,a.color),l=Fi(i);e.save(),e.lineWidth=r,e.strokeStyle=s,e.setLineDash&&(e.setLineDash(Ai([n.borderDash,a.borderDash,[]])),e.lineDashOffset=Ai([n.borderDashOffset,a.borderDashOffset,0]));var d=t.getDistanceFromCenterForValue(i.ticks.reverse?t.min:t.max),u=ut.options._parseFont(o);e.font=u.string,e.textBaseline="middle";for(var h=Ti(t)-1;h>=0;h--){if(n.display&&r&&s){var c=t.getPointPosition(h,d);e.beginPath(),e.moveTo(t.xCenter,t.yCenter),e.lineTo(c.x,c.y),e.stroke()}if(o.display){var f=0===h?l/2:0,g=t.getPointPosition(h,d+f+5),p=Ii(o.fontColor,h,st.global.defaultFontColor);e.fillStyle=p;var m=t.getIndexAngle(h),v=ut.toDegrees(m);e.textAlign=Ri(v),zi(v,t._pointLabelSizes[h],g),Oi(e,t.pointLabels[h]||"",g,u.lineHeight)}}
1835e.restore()}(t),ut.each(t.ticks,function(e,s){if(s>0||n.reverse){var l=t.getDistanceFromCenterForValue(t.ticksAsNumbers[s]);if(i.display&&0!==s&&function(t,e,i,n){var a,o=t.ctx,r=e.circular,s=Ti(t),l=Ii(e.color,n-1),d=Ii(e.lineWidth,n-1);if((r||s)&&l&&d){if(o.save(),o.strokeStyle=l,o.lineWidth=d,o.setLineDash&&(o.setLineDash(e.borderDash||[]),o.lineDashOffset=e.borderDashOffset||0),o.beginPath(),r)o.arc(t.xCenter,t.yCenter,i,0,2*Math.PI);else{a=t.getPointPosition(0,i),o.moveTo(a.x,a.y);for(var u=1;u<s;u++)a=t.getPointPosition(u,i),o.lineTo(a.x,a.y)}o.closePath(),o.stroke(),o.restore()}}(t,i,l,s),n.display){var d=Pi(n.fontColor,st.global.defaultFontColor);if(a.font=r.string,a.save(),a.translate(t.xCenter,t.yCenter),a.rotate(o),n.showLabelBackdrop){var u=a.measureText(e).width;a.fillStyle=n.backdropColor,a.fillRect(-u/2-n.backdropPaddingX,-l-r.size/2-n.backdropPaddingY,u+2*n.backdropPaddingX,r.size+2*n.backdropPaddingY)}a.textAlign="center",a.textBaseline="middle",a.fillStyle=d,a.fillText(e,0,-l),a.restore()}}})}}}),Wi=Di;Ni._defaults=Wi;var Vi=ut.valueOrDefault,Ei=Number.MIN_SAFE_INTEGER||-9007199254740991,Hi=Number.MAX_SAFE_INTEGER||9007199254740991,ji={millisecond:{common:!0,size:1,steps:[1,2,5,10,20,50,100,250,500]},second:{common:!0,size:1e3,steps:[1,2,5,10,15,30]},minute:{common:!0,size:6e4,steps:[1,2,5,10,15,30]},hour:{common:!0,size:36e5,steps:[1,2,3,6,12]},day:{common:!0,size:864e5,steps:[1,2,5]},week:{common:!1,size:6048e5,steps:[1,2,3,4]},month:{common:!0,size:2628e6,steps:[1,2,3]},quarter:{common:!1,size:7884e6,steps:[1,2,3,4]},year:{common:!0,size:3154e7}},qi=Object.keys(ji);function Yi(t,e){return t-e}function Ui(t){var e,i,n,a={},o=[];for(e=0,i=t.length;e<i;++e)a[n=t[e]]||(a[n]=!0,o.push(n));return o}function Xi(t,e,i,n){var a=function(t,e,i){for(var n,a,o,r=0,s=t.length-1;r>=0&&r<=s;){if(a=t[(n=r+s>>1)-1]||null,o=t[n],!a)return{lo:null,hi:o};if(o[e]<i)r=n+1;else{if(!(a[e]>i))return{lo:a,hi:o};s=n-1}}return{lo:o,hi:null}}(t,e,i),o=a.lo?a.hi?a.lo:t[t.length-2]:t[0],r=a.lo?a.hi?a.hi:t[t.length-1]:t[1],s=r[e]-o[e],l=s?(i-o[e])/s:0,d=(r[n]-o[n])*l;return o[n]+d}function Ki(t,e){var i=t._adapter,n=t.options.time,a=n.parser,o=a||n.format,r=e;return"function"==typeof a&&(r=a(r)),ut.isFinite(r)||(r="string"==typeof o?i.parse(r,o):i.parse(r)),null!==r?+r:(a||"function"!=typeof o||(r=o(e),ut.isFinite(r)||(r=i.parse(r))),r)}function Gi(t,e){if(ut.isNullOrUndef(e))return null;var i=t.options.time,n=Ki(t,t.getRightValue(e));return null===n?n:(i.round&&(n=+t._adapter.startOf(n,i.round)),n)}function Zi(t){for(var e=qi.indexOf(t)+1,i=qi.length;e<i;++e)if(ji[qi[e]].common)return qi[e]}function $i(t,e,i,n){var a,o=t._adapter,r=t.options,s=r.time,l=s.unit||function(t,e,i,n){var a,o,r,s=qi.length;for(a=qi.indexOf(t);a<s-1;++a)if(r=(o=ji[qi[a]]).steps?o.steps[o.steps.length-1]:Hi,o.common&&Math.ceil((i-e)/(r*o.size))<=n)return qi[a];return qi[s-1]}(s.minUnit,e,i,n),d=Zi(l),u=Vi(s.stepSize,s.unitStepSize),h="week"===l&&s.isoWeekday,c=r.ticks.major.enabled,f=ji[l],g=e,p=i,m=[];for(u||(u=function(t,e,i,n){var a,o,r,s=e-t,l=ji[i],d=l.size,u=l.steps;if(!u)return Math.ceil(s/(n*d));for(a=0,o=u.length;a<o&&(r=u[a],!(Math.ceil(s/(d*r))<=n));++a);return r}(e,i,l,n)),h&&(g=+o.startOf(g,"isoWeek",h),p=+o.startOf(p,"isoWeek",h)),g=+o.startOf(g,h?"day":l),(p=+o.startOf(p,h?"day":l))<i&&(p=+o.add(p,1,l)),a=g,c&&d&&!h&&!s.round&&(a=+o.startOf(a,d),a=+o.add(a,~~((g-a)/(f.size*u))*u,l));a<p;a=+o.add(a,u,l))m.push(+a);return m.push(+a),m}var Ji=fi.extend({initialize:function(){this.mergeTicksOptions(),fi.prototype.initialize.call(this)},update:function(){var t=this.options,e=t.time||(t.time={}),i=this._adapter=new si._date(t.adapters.date);return e.format&&console.warn("options.time.format is deprecated and replaced by options.time.parser."),ut.mergeIf(e.displayFormats,i.formats()),fi.prototype.update.apply(this,arguments)},getRightValue:function(t){return t&&void 0!==t.t&&(t=t.t),fi.prototype.getRightValue.call(this,t)},determineDataLimits:function(){var t,e,i,n,a,o,r=this,s=r.chart,l=r._adapter,d=r.options.time,u=d.unit||"day",h=Hi,c=Ei,f=[],g=[],p=[],m=s.data.labels||[];for(t=0,i=m.length;t<i;++t)p.push(Gi(r,m[t]));for(t=0,i=(s.data.datasets||[]).length;t<i;++t)if(s.isDatasetVisible(t))if(a=s.data.datasets[t].data,ut.isObject(a[0]))for(g[t]=[],e=0,n=a.length;e<n;++e)o=Gi(r,a[e]),f.push(o),g[t][e]=o;else{for(e=0,n=p.length;e<n;++e)f.push(p[e]);g[t]=p.slice(0)}else g[t]=[];p.length&&(p=Ui(p).sort(Yi),h=Math.min(h,p[0]),c=Math.max(c,p[p.length-1])),f.length&&(f=Ui(f).sort(Yi),h=Math.min(h,f[0]),c=Math.max(c,f[f.length-1])),h=Gi(r,d.min)||h,c=Gi(r,d.max)||c,h=
1835h===Hi?+l.startOf(Date.now(),u):h,c=c===Ei?+l.endOf(Date.now(),u)+1:c,r.min=Math.min(h,c),r.max=Math.max(h+1,c),r._horizontal=r.isHorizontal(),r._table=[],r._timestamps={data:f,datasets:g,labels:p}},buildTicks:function(){var t,e,i,n=this,a=n.min,o=n.max,r=n.options,s=r.time,l=[],d=[];switch(r.ticks.source){case"data":l=n._timestamps.data;break;case"labels":l=n._timestamps.labels;break;case"auto":default:l=$i(n,a,o,n.getLabelCapacity(a))}for("ticks"===r.bounds&&l.length&&(a=l[0],o=l[l.length-1]),a=Gi(n,s.min)||a,o=Gi(n,s.max)||o,t=0,e=l.length;t<e;++t)(i=l[t])>=a&&i<=o&&d.push(i);return n.min=a,n.max=o,n._unit=s.unit||function(t,e,i,n,a){var o,r;for(o=qi.length-1;o>=qi.indexOf(i);o--)if(r=qi[o],ji[r].common&&t._adapter.diff(a,n,r)>=e.length)return r;return qi[i?qi.indexOf(i):0]}(n,d,s.minUnit,n.min,n.max),n._majorUnit=Zi(n._unit),n._table=function(t,e,i,n){if("linear"===n||!t.length)return[{time:e,pos:0},{time:i,pos:1}];var a,o,r,s,l,d=[],u=[e];for(a=0,o=t.length;a<o;++a)(s=t[a])>e&&s<i&&u.push(s);for(u.push(i),a=0,o=u.length;a<o;++a)l=u[a+1],r=u[a-1],s=u[a],void 0!==r&&void 0!==l&&Math.round((l+r)/2)===s||d.push({time:s,pos:a/(o-1)});return d}(n._timestamps.data,a,o,r.distribution),n._offsets=function(t,e,i,n,a){var o,r,s=0,l=0;return a.offset&&e.length&&(a.time.min||(o=Xi(t,"time",e[0],"pos"),s=1===e.length?1-o:(Xi(t,"time",e[1],"pos")-o)/2),a.time.max||(r=Xi(t,"time",e[e.length-1],"pos"),l=1===e.length?r:(r-Xi(t,"time",e[e.length-2],"pos"))/2)),{start:s,end:l}}(n._table,d,0,0,r),r.ticks.reverse&&d.reverse(),function(t,e,i){var n,a,o,r,s=[];for(n=0,a=e.length;n<a;++n)o=e[n],r=!!i&&o===+t._adapter.startOf(o,i),s.push({value:o,major:r});return s}(n,d,n._majorUnit)},getLabelForIndex:function(t,e){var i=this,n=i._adapter,a=i.chart.data,o=i.options.time,r=a.labels&&t<a.labels.length?a.labels[t]:"",s=a.datasets[e].data[t];return ut.isObject(s)&&(r=i.getRightValue(s)),o.tooltipFormat?n.format(Ki(i,r),o.tooltipFormat):"string"==typeof r?r:n.format(Ki(i,r),o.displayFormats.datetime)},tickFormatFunction:function(t,e,i,n){var a=this._adapter,o=this.options,r=o.time.displayFormats,s=r[this._unit],l=this._majorUnit,d=r[l],u=+a.startOf(t,l),h=o.ticks.major,c=h.enabled&&l&&d&&t===u,f=a.format(t,n||(c?d:s)),g=c?h:o.ticks.minor,p=Vi(g.callback,g.userCallback);return p?p(f,e,i):f},convertTicksToLabels:function(t){var e,i,n=[];for(e=0,i=t.length;e<i;++e)n.push(this.tickFormatFunction(t[e].value,e,t));return n},getPixelForOffset:function(t){var e=this,i=e.options.ticks.reverse,n=e._horizontal?e.width:e.height,a=e._horizontal?i?e.right:e.left:i?e.bottom:e.top,o=Xi(e._table,"time",t,"pos"),r=n*(e._offsets.start+o)/(e._offsets.start+1+e._offsets.end);return i?a-r:a+r},getPixelForValue:function(t,e,i){var n=null;if(void 0!==e&&void 0!==i&&(n=this._timestamps.datasets[i][e]),null===n&&(n=Gi(this,t)),null!==n)return this.getPixelForOffset(n)},getPixelForTick:function(t){var e=this.getTicks();return t>=0&&t<e.length?this.getPixelForOffset(e[t].value):null},getValueForPixel:function(t){var e=this,i=e._horizontal?e.width:e.height,n=e._horizontal?e.left:e.top,a=(i?(t-n)/i:0)*(e._offsets.start+1+e._offsets.start)-e._offsets.end,o=Xi(e._table,"pos",a,"time");return e._adapter._create(o)},getLabelWidth:function(t){var e=this.options.ticks,i=this.ctx.measureText(t).width,n=ut.toRadians(e.maxRotation),a=Math.cos(n),o=Math.sin(n);return i*a+Vi(e.fontSize,st.global.defaultFontSize)*o},getLabelCapacity:function(t){var e=this,i=e.options.time.displayFormats.millisecond,n=e.tickFormatFunction(t,0,[],i),a=e.getLabelWidth(n),o=e.isHorizontal()?e.width:e.height,r=Math.floor(o/a);return r>0?r:1}}),Qi={position:"bottom",distribution:"linear",bounds:"data",adapters:{},time:{parser:!1,format:!1,unit:!1,round:!1,displayFormat:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{autoSkip:!1,source:"auto",major:{enabled:!1}}};Ji._defaults=Qi;var tn={category:gi,linear:yi,logarithmic:Ci,radialLinear:Ni,time:Ji},en={datetime:"MMM D, YYYY, h:mm:ss a",millisecond:"h:mm:ss.SSS a",second:"h:mm:ss a",minute:"h:mm a",hour:"hA",day:"MMM D",week:"ll",month:"MMM YYYY",quarter:"[Q]Q - YYYY",year:"YYYY"};si._date.override("function"==typeof t?{_id:"moment",formats:function(){return en},parse:function(e,i){return"string"==typeof e&&"string"==typeof i?e=t(e,i):e instanceof t||(e=t(e)),e.isValid()?e.valueOf():null},format:function(e,i){return t(e).format(i)},add:function(e,i,n){return t(e).add(i,n).valueOf()},diff:function(e,i,n){return t.duration(t(e).diff(t(i))).as(n)},startOf:function(e,i,n){return e=t(e),"isoWeek"===i?e.isoWeekday(n).valueOf():e.startOf(i).valueOf()},endOf:function(e,i){return t(e).endOf(i).valueOf()},_create:function(e){return t(e)}}:{}),st._set("global",{plugins:{filler:{propagate:!0}}});var nn={dataset:function(t){var e=t.fill,i=t.chart,n=i.getDatasetMeta(e),a=n&&i.isDatasetVisible(e)&&n.dataset._children||[],o=a.length||0;return o?function(t,e){return e<o&&a[e]._view||null}:null},boundary:function(t){var e=t.boundary,i=e?e.x:null,n=e?e.y:null;return function(t){return{x:null===i?t.x:i,y:null===n?t.y:n}}}};function an(t,e,i){var n,a=t._model||{},o=a.fill;if(void 0===o&&(o=!!a.backgroundColor),!1===o||null===o)return!1;if(!0===o)return"origin";if(n=parseFloat(o,10),isFinite(n)&&Math.floor(n)===n)return"-"!==o[0]&&"+"!==o[0]||(n=e+n),!(n===e||n<0||n>=i)&&n;switch(o){case"bottom":return"start";case"top":return"end";case"zero":return"origin";case"origin":case"start":case"end":return o;default:return!1}}function on(t){var e,i=t.el._model||{},n=t.el._scale||{},a=t.fill,o=null;if(isFinite(a))return null;if("start"===a?o=void 0===i.scaleBottom?n.bottom:i.scaleBottom:"end"===a?o=void 0===i.scaleTop?n.top:i.scaleTop:void 0!==i.scaleZero?o=i.scaleZero:n.getBasePosition?o=n.getBasePosition():n.getBasePixel&&(o=n.getBasePixel()),null!=o){if
vendor: 4,309 bytes, line 1835
1835(void 0!==o.x&&void 0!==o.y)return o;if(ut.isFinite(o))return{x:(e=n.isHorizontal())?o:null,y:e?null:o}}return null}function rn(t,e,i){var n,a=t[e].fill,o=[e];if(!i)return a;for(;!1!==a&&-1===o.indexOf(a);){if(!isFinite(a))return a;if(!(n=t[a]))return!1;if(n.visible)return a;o.push(a),a=n.fill}return!1}function sn(t){var e=t.fill,i="dataset";return!1===e?null:(isFinite(e)||(i="boundary"),nn[i](t))}function ln(t){return t&&!t.skip}function dn(t,e,i,n,a){var o;if(n&&a){for(t.moveTo(e[0].x,e[0].y),o=1;o<n;++o)ut.canvas.lineTo(t,e[o-1],e[o]);for(t.lineTo(i[a-1].x,i[a-1].y),o=a-1;o>0;--o)ut.canvas.lineTo(t,i[o],i[o-1],!0)}}var un={id:"filler",afterDatasetsUpdate:function(t,e){var i,n,a,o,r=(t.data.datasets||[]).length,s=e.propagate,l=[];for(n=0;n<r;++n)o=null,(a=(i=t.getDatasetMeta(n)).dataset)&&a._model&&a instanceof Wt.Line&&(o={visible:t.isDatasetVisible(n),fill:an(a,n,r),chart:t,el:a}),i.$filler=o,l.push(o);for(n=0;n<r;++n)(o=l[n])&&(o.fill=rn(l,n,s),o.boundary=on(o),o.mapper=sn(o))},beforeDatasetDraw:function(t,e){var i=e.meta.$filler;if(i){var n=t.ctx,a=i.el,o=a._view,r=a._children||[],s=i.mapper,l=o.backgroundColor||st.global.defaultColor;s&&l&&r.length&&(ut.canvas.clipArea(n,t.chartArea),function(t,e,i,n,a,o){var r,s,l,d,u,h,c,f=e.length,g=n.spanGaps,p=[],m=[],v=0,b=0;for(t.beginPath(),r=0,s=f+!!o;r<s;++r)u=i(d=e[l=r%f]._view,l,n),h=ln(d),c=ln(u),h&&c?(v=p.push(d),b=m.push(u)):v&&b&&(g?(h&&p.push(d),c&&m.push(u)):(dn(t,p,m,v,b),v=b=0,p=[],m=[]));dn(t,p,m,v,b),t.closePath(),t.fillStyle=a,t.fill()}(n,r,s,o,l,a._loop),ut.canvas.unclipArea(n))}}},hn=ut.noop,cn=ut.valueOrDefault;function fn(t,e){return t.usePointStyle&&t.boxWidth>e?e:t.boxWidth}st._set("global",{legend:{display:!0,position:"top",fullWidth:!0,reverse:!1,weight:1e3,onClick:function(t,e){var i=e.datasetIndex,n=this.chart,a=n.getDatasetMeta(i);a.hidden=null===a.hidden?!n.data.datasets[i].hidden:null,n.update()},onHover:null,onLeave:null,labels:{boxWidth:40,padding:10,generateLabels:function(t){var e=t.data;return ut.isArray(e.datasets)?e.datasets.map(function(e,i){return{text:e.label,fillStyle:ut.isArray(e.backgroundColor)?e.backgroundColor[0]:e.backgroundColor,hidden:!t.isDatasetVisible(i),lineCap:e.borderCapStyle,lineDash:e.borderDash,lineDashOffset:e.borderDashOffset,lineJoin:e.borderJoinStyle,lineWidth:e.borderWidth,strokeStyle:e.borderColor,pointStyle:e.pointStyle,datasetIndex:i}},this):[]}}},legendCallback:function(t){var e=[];e.push('<ul class="'+t.id+'-legend">');for(var i=0;i<t.data.datasets.length;i++)e.push('<li><span style="background-color:'+t.data.datasets[i].backgroundColor+'"></span>'),t.data.datasets[i].label&&e.push(t.data.datasets[i].label),e.push("</li>");return e.push("</ul>"),e.join("")}});var gn=pt.extend({initialize:function(t){ut.extend(this,t),this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1},beforeUpdate:hn,update:function(t,e,i){var n=this;return n.beforeUpdate(),n.maxWidth=t,n.maxHeight=e,n.margins=i,n.beforeSetDimensions(),n.setDimensions(),n.afterSetDimensions(),n.beforeBuildLabels(),n.buildLabels(),n.afterBuildLabels(),n.beforeFit(),n.fit(),n.afterFit(),n.afterUpdate(),n.minSize},afterUpdate:hn,beforeSetDimensions:hn,setDimensions:function(){var t=this;t.isHorizontal()?(t.width=t.maxWidth,t.left=0,t.right=t.width):(t.height=t.maxHeight,t.top=0,t.bottom=t.height),t.paddingLeft=0,t.paddingTop=0,t.paddingRight=0,t.paddingBottom=0,t.minSize={width:0,height:0}},afterSetDimensions:hn,beforeBuildLabels:hn,buildLabels:function(){var t=this,e=t.options.labels||{},i=ut.callback(e.generateLabels,[t.chart],t)||[];e.filter&&(i=i.filter(function(i){return e.filter(i,t.chart.data)})),t.options.reverse&&i.reverse(),t.legendItems=i},afterBuildLabels:hn,beforeFit:hn,fit:function(){var t=this,e=t.options,i=e.labels,n=e.display,a=t.ctx,o=ut.options._parseFont(i),r=o.size,s=t.legendHitBoxes=[],l=t.minSize,d=t.isHorizontal();if(d?(l.width=t.maxWidth,l.height=n?10:0):(l.width=n?10:0,l.height=t.maxHeight),n)if(a.font=o.string,d){var u=t.lineWidths=[0],h=0;a.textAlign="left",a.textBaseline="top",ut.each(t.legendItems,function(t,e){var n=fn(i,r)+r/2+a.measureText(t.text).width;(0===e||u[u.length-1]+n+i.padding>l.width)&&(h+=r+i.padding,u[u.length-(e>0?0:1)]=i.padding),s[e]={left:0,top:0,width:n,height:r},u[u.length-1]+=n+i.padding}),l.height+=h}
1835else{var c=i.padding,f=t.columnWidths=[],g=i.padding,p=0,m=0,v=r+c;ut.each(t.legendItems,function(t,e){var n=fn(i,r)+r/2+a.measureText(t.text).width;e>0&&m+v>l.height-c&&(g+=p+i.padding,f.push(p),p=0,m=0),p=Math.max(p,n),m+=v,s[e]={left:0,top:0,width:n,height:r}}),g+=p,f.push(p),l.width+=g}t.width=l.width,t.height=l.height},afterFit:hn,isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},draw:function(){var t=this,e=t.options,i=e.labels,n=st.global,a=n.defaultColor,o=n.elements.line,r=t.width,s=t.lineWidths;if(e.display){var l,d=t.ctx,u=cn(i.fontColor,n.defaultFontColor),h=ut.options._parseFont(i),c=h.size;d.textAlign="left",d.textBaseline="middle",d.lineWidth=.5,d.strokeStyle=u,d.fillStyle=u,d.font=h.string;var f=fn(i,c),g=t.legendHitBoxes,p=t.isHorizontal();l=p?{x:t.left+(r-s[0])/2+i.padding,y:t.top+i.padding,line:0}:{x:t.left+i.padding,y:t.top+i.padding,line:0};var m=c+i.padding;ut.each(t.legendItems,function(n,u){var h=d.measureText(n.text).width,v=f+c/2+h,b=l.x,x=l.y;p?u>0&&b+v+i.padding>t.left+t.minSize.width&&(x=l.y+=m,l.line++,b=l.x=t.left+(r-s[l.line])/2+i.padding):u>0&&x+m>t.top+t.minSize.height&&(b=l.x=b+t.columnWidths[l.line]+i.padding,x=l.y=t.top+i.padding,l.line++),function(t,i,n){if(!(isNaN(f)||f<=0)){d.save();var r=cn(n.lineWidth,o.borderWidth);if(d.fillStyle=cn(n.fillStyle,a),d.lineCap=cn(n.lineCap,o.borderCapStyle),d.lineDashOffset=cn(n.lineDashOffset,o.borderDashOffset),d.lineJoin=cn(n.lineJoin,o.borderJoinStyle),d.lineWidth=r,d.strokeStyle=cn(n.strokeStyle,a),d.setLineDash&&d.setLineDash(cn(n.lineDash,o.borderDash)),e.labels&&e.labels.usePointStyle){var s=f*Math.SQRT2/2,l=t+f/2,u=i+c/2;ut.canvas.drawPoint(d,n.pointStyle,s,l,u)}else 0!==r&&d.strokeRect(t,i,f,c),d.fillRect(t,i,f,c);
vendor: 4,190 bytes, line 1835
1835d.restore()}}(b,x,n),g[u].left=b,g[u].top=x,function(t,e,i,n){var a=c/2,o=f+a+t,r=e+a;d.fillText(i.text,o,r),i.hidden&&(d.beginPath(),d.lineWidth=2,d.moveTo(o,r),d.lineTo(o+n,r),d.stroke())}(b,x,n,h),p?l.x+=v+i.padding:l.y+=m})}},_getLegendItemAt:function(t,e){var i,n,a,o=this;if(t>=o.left&&t<=o.right&&e>=o.top&&e<=o.bottom)for(a=o.legendHitBoxes,i=0;i<a.length;++i)if(t>=(n=a[i]).left&&t<=n.left+n.width&&e>=n.top&&e<=n.top+n.height)return o.legendItems[i];return null},handleEvent:function(t){var e,i=this,n=i.options,a="mouseup"===t.type?"click":t.type;if("mousemove"===a){if(!n.onHover&&!n.onLeave)return}else{if("click"!==a)return;if(!n.onClick)return}e=i._getLegendItemAt(t.x,t.y),"click"===a?e&&n.onClick&&n.onClick.call(i,t.native,e):(n.onLeave&&e!==i._hoveredItem&&(i._hoveredItem&&n.onLeave.call(i,t.native,i._hoveredItem),i._hoveredItem=e),n.onHover&&e&&n.onHover.call(i,t.native,e))}});function pn(t,e){var i=new gn({ctx:t.ctx,options:e,chart:t});ke.configure(t,i,e),ke.addBox(t,i),t.legend=i}var mn={id:"legend",_element:gn,beforeInit:function(t){var e=t.options.legend;e&&pn(t,e)},beforeUpdate:function(t){var e=t.options.legend,i=t.legend;e?(ut.mergeIf(e,st.global.legend),i?(ke.configure(t,i,e),i.options=e):pn(t,e)):i&&(ke.removeBox(t,i),delete t.legend)},afterEvent:function(t,e){var i=t.legend;i&&i.handleEvent(e)}},vn=ut.noop;st._set("global",{title:{display:!1,fontStyle:"bold",fullWidth:!0,padding:10,position:"top",text:"",weight:2e3}});var bn=pt.extend({initialize:function(t){ut.extend(this,t),this.legendHitBoxes=[]},beforeUpdate:vn,update:function(t,e,i){var n=this;return n.beforeUpdate(),n.maxWidth=t,n.maxHeight=e,n.margins=i,n.beforeSetDimensions(),n.setDimensions(),n.afterSetDimensions(),n.beforeBuildLabels(),n.buildLabels(),n.afterBuildLabels(),n.beforeFit(),n.fit(),n.afterFit(),n.afterUpdate(),n.minSize},afterUpdate:vn,beforeSetDimensions:vn,setDimensions:function(){var t=this;t.isHorizontal()?(t.width=t.maxWidth,t.left=0,t.right=t.width):(t.height=t.maxHeight,t.top=0,t.bottom=t.height),t.paddingLeft=0,t.paddingTop=0,t.paddingRight=0,t.paddingBottom=0,t.minSize={width:0,height:0}},afterSetDimensions:vn,beforeBuildLabels:vn,buildLabels:vn,afterBuildLabels:vn,beforeFit:vn,fit:function(){var t=this,e=t.options,i=e.display,n=t.minSize,a=ut.isArray(e.text)?e.text.length:1,o=ut.options._parseFont(e),r=i?a*o.lineHeight+2*e.padding:0;t.isHorizontal()?(n.width=t.maxWidth,n.height=r):(n.width=r,n.height=t.maxHeight),t.width=n.width,t.height=n.height},afterFit:vn,isHorizontal:function(){var t=this.options.position;return"top"===t||"bottom"===t},draw:function(){var t=this,e=t.ctx,i=t.options;if(i.display){var n,a,o,r=ut.options._parseFont(i),s=r.lineHeight,l=s/2+i.padding,d=0,u=t.top,h=t.left,c=t.bottom,f=t.right;e.fillStyle=ut.valueOrDefault(i.fontColor,st.global.defaultFontColor),e.font=r.string,t.isHorizontal()?(a=h+(f-h)/2,o=u+l,n=f-h):(a="left"===i.position?h+l:f-l,o=u+(c-u)/2,n=c-u,d=Math.PI*("left"===i.position?-.5:.5)),e.save(),e.translate(a,o),e.rotate(d),e.textAlign="center",e.textBaseline="middle";var g=i.text;if(ut.isArray(g))for(var p=0,m=0;m<g.length;++m)e.fillText(g[m],0,p,n),p+=s;else e.fillText(g,0,0,n);e.restore()}}});function xn(t,e){var i=new bn({ctx:t.ctx,options:e,chart:t});ke.configure(t,i,e),ke.addBox(t,i),t.titleBlock=i}var yn={},kn=un,wn=mn,Mn={id:"title",_element:bn,beforeInit:function(t){var e=t.options.title;e&&xn(t,e)},beforeUpdate:function(t){var e=t.options.title,i=t.titleBlock;e?(ut.mergeIf(e,st.global.title),i?(ke.configure(t,i,e),i.options=e):xn(t,e)):i&&(ke.removeBox(t,i),delete t.titleBlock)}};for(var _n in yn.filler=kn,yn.legend=wn,yn.title=Mn,ai.helpers=ut,function(){function t(t,e,i){var n;return"string"==typeof t?(n=parseInt(t,10),-1!==t.indexOf("%")&&(n=n/100*e.parentNode[i])):n=t,n}function e(t){return null!=t&&"none"!==t}function i(i,n,a){var o=document.defaultView,r=ut._getParentNode(i),s=o.getComputedStyle(i)[n],l=o.getComputedStyle(r)[n],d=e(s),u=e(l),h=Number.POSITIVE_INFINITY;return d||u?Math.min(d?t(s,i,a):h,u?t(l,r,a):h):"none"}ut.where=function(t,e){if(ut.isArray(t)&&Array.prototype.filter)return t.filter(e);var i=[];return ut.each(t,function(t){e(t)&&i.push(t)}),i}
vendor: 4,402 bytes, line 1835
1835,ut.findIndex=Array.prototype.findIndex?function(t,e,i){return t.findIndex(e,i)}:function(t,e,i){i=void 0===i?t:i;for(var n=0,a=t.length;n<a;++n)if(e.call(i,t[n],n,t))return n;return-1},ut.findNextWhere=function(t,e,i){ut.isNullOrUndef(i)&&(i=-1);for(var n=i+1;n<t.length;n++){var a=t[n];if(e(a))return a}},ut.findPreviousWhere=function(t,e,i){ut.isNullOrUndef(i)&&(i=t.length);for(var n=i-1;n>=0;n--){var a=t[n];if(e(a))return a}},ut.isNumber=function(t){return!isNaN(parseFloat(t))&&isFinite(t)},ut.almostEquals=function(t,e,i){return Math.abs(t-e)<i},ut.almostWhole=function(t,e){var i=Math.round(t);return i-e<t&&i+e>t},ut.max=function(t){return t.reduce(function(t,e){return isNaN(e)?t:Math.max(t,e)},Number.NEGATIVE_INFINITY)},ut.min=function(t){return t.reduce(function(t,e){return isNaN(e)?t:Math.min(t,e)},Number.POSITIVE_INFINITY)},ut.sign=Math.sign?function(t){return Math.sign(t)}:function(t){return 0==(t=+t)||isNaN(t)?t:t>0?1:-1},ut.log10=Math.log10?function(t){return Math.log10(t)}:function(t){var e=Math.log(t)*Math.LOG10E,i=Math.round(e);return t===Math.pow(10,i)?i:e},ut.toRadians=function(t){return t*(Math.PI/180)},ut.toDegrees=function(t){return t*(180/Math.PI)},ut._decimalPlaces=function(t){if(ut.isFinite(t)){for(var e=1,i=0;Math.round(t*e)/e!==t;)e*=10,i++;return i}},ut.getAngleFromPoint=function(t,e){var i=e.x-t.x,n=e.y-t.y,a=Math.sqrt(i*i+n*n),o=Math.atan2(n,i);return o<-.5*Math.PI&&(o+=2*Math.PI),{angle:o,distance:a}},ut.distanceBetweenPoints=function(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))},ut.aliasPixel=function(t){return t%2==0?0:.5},ut._alignPixel=function(t,e,i){var n=t.currentDevicePixelRatio,a=i/2;return Math.round((e-a)*n)/n+a},ut.splineCurve=function(t,e,i,n){var a=t.skip?e:t,o=e,r=i.skip?e:i,s=Math.sqrt(Math.pow(o.x-a.x,2)+Math.pow(o.y-a.y,2)),l=Math.sqrt(Math.pow(r.x-o.x,2)+Math.pow(r.y-o.y,2)),d=s/(s+l),u=l/(s+l),h=n*(d=isNaN(d)?0:d),c=n*(u=isNaN(u)?0:u);return{previous:{x:o.x-h*(r.x-a.x),y:o.y-h*(r.y-a.y)},next:{x:o.x+c*(r.x-a.x),y:o.y+c*(r.y-a.y)}}},ut.EPSILON=Number.EPSILON||1e-14,ut.splineCurveMonotone=function(t){var e,i,n,a,o,r,s,l,d,u=(t||[]).map(function(t){return{model:t._model,deltaK:0,mK:0}}),h=u.length;for(e=0;e<h;++e)if(!(n=u[e]).model.skip){if(i=e>0?u[e-1]:null,(a=e<h-1?u[e+1]:null)&&!a.model.skip){var c=a.model.x-n.model.x;n.deltaK=0!==c?(a.model.y-n.model.y)/c:0}!i||i.model.skip?n.mK=n.deltaK:!a||a.model.skip?n.mK=i.deltaK:this.sign(i.deltaK)!==this.sign(n.deltaK)?n.mK=0:n.mK=(i.deltaK+n.deltaK)/2}for(e=0;e<h-1;++e)n=u[e],a=u[e+1],n.model.skip||a.model.skip||(ut.almostEquals(n.deltaK,0,this.EPSILON)?n.mK=a.mK=0:(o=n.mK/n.deltaK,r=a.mK/n.deltaK,(l=Math.pow(o,2)+Math.pow(r,2))<=9||(s=3/Math.sqrt(l),n.mK=o*s*n.deltaK,a.mK=r*s*n.deltaK)));for(e=0;e<h;++e)(n=u[e]).model.skip||(i=e>0?u[e-1]:null,a=e<h-1?u[e+1]:null,i&&!i.model.skip&&(d=(n.model.x-i.model.x)/3,n.model.controlPointPreviousX=n.model.x-d,n.model.controlPointPreviousY=n.model.y-d*n.mK),a&&!a.model.skip&&(d=(a.model.x-n.model.x)/3,n.model.controlPointNextX=n.model.x+d,n.model.controlPointNextY=n.model.y+d*n.mK))},ut.nextItem=function(t,e,i){return i?e>=t.length-1?t[0]:t[e+1]:e>=t.length-1?t[t.length-1]:t[e+1]},ut.previousItem=function(t,e,i){return i?e<=0?t[t.length-1]:t[e-1]:e<=0?t[0]:t[e-1]},ut.niceNum=function(t,e){var i=Math.floor(ut.log10(t)),n=t/Math.pow(10,i);return(e?n<1.5?1:n<3?2:n<7?5:10:n<=1?1:n<=2?2:n<=5?5:10)*Math.pow(10,i)},ut.requestAnimFrame="undefined"==typeof window?function(t){t()}:window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(t){return window.setTimeout(t,1e3/60)},ut.getRelativePosition=function(t,e){var i,n,a=t.originalEvent||t,o=t.target||t.srcElement,r=o.getBoundingClientRect(),s=a.touches;s&&s.length>0?(i=s[0].clientX,n=s[0].clientY):(i=a.clientX,n=a.clientY);var l=parseFloat(ut.getStyle(o,"padding-left")),d=parseFloat(ut.getStyle(o,"padding-top")),u=parseFloat(ut.getStyle(o,"padding-right")),h=parseFloat(ut.getStyle(o,"padding-bottom")),c=r.right-r.left-l-u,f=r.bottom-r.top-d-h;return{x:i=Math.round((i-r.left-l)/c*o.width/e.currentDevicePixelRatio),y:n=Math.round((n-r.top-d)/f*o.height/e.currentDevicePixelRatio)}},ut.getConstraintWidth=function(t){return i(t,"max-width","clientWidth")},ut.getConstraintHeight=function(t){return i(t,"max-height","clientHeight")}
1835,ut._calculatePadding=function(t,e,i){return(e=ut.getStyle(t,e)).indexOf("%")>-1?i*parseInt(e,10)/100:parseInt(e,10)},ut._getParentNode=function(t){var e=t.parentNode;return e&&"[object ShadowRoot]"===e.toString()&&(e=e.host),e},ut.getMaximumWidth=function(t){var e=ut._getParentNode(t);if(!e)return t.clientWidth;var i=e.clientWidth,n=i-ut._calculatePadding(e,"padding-left",i)-ut._calculatePadding(e,"padding-right",i),a=ut.getConstraintWidth(t);return isNaN(a)?n:Math.min(n,a)},ut.getMaximumHeight=function(t){var e=ut._getParentNode(t);if(!e)return t.clientHeight;var i=e.clientHeight,n=i-ut._calculatePadding(e,"padding-top",i)-ut._calculatePadding(e,"padding-bottom",i),a=ut.getConstraintHeight(t);return isNaN(a)?n:Math.min(n,a)},ut.getStyle=function(t,e){return t.currentStyle?t.currentStyle[e]:document.defaultView.getComputedStyle(t,null).getPropertyValue(e)},ut.retinaScale=function(t,e){var i=t.currentDevicePixelRatio=e||"undefined"!=typeof window&&window.devicePixelRatio||1;if(1!==i){var n=t.canvas,a=t.height,o=t.width;n.height=a*i,n.width=o*i,t.ctx.scale(i,i),n.style.height||n.style.width||(n.style.height=a+"px",n.style.width=o+"px")}},ut.fontString=function(t,e,i){return e+" "+t+"px "+i},ut.longestText=function(t,e,i,n){var a=(n=n||{}).data=n.data||{},o=n.garbageCollect=n.garbageCollect||[];n.font!==e&&(a=n.data={},o=n.garbageCollect=[],n.font=e),t.font=e;var r=0;ut.each(i,function(e){null!=e&&!0!==ut.isArray(e)?r=ut.measureText(t,a,o,r,e):ut.isArray(e)&&ut.each(e,function(e){null==e||ut.isArray(e)||(r=ut.measureText(t,a,o,r,e))})});var s=o.length/2;if(s>i.length){for(var l=0;l<s;l++)delete a[o[l]];o.splice(0,s)}return r},ut.measureText=function(t,e,i,n,a){var o=e[a];return o||(o=e[a]=t.measureText(a).width,i.push(a)),o>n&&(n=o),n},ut.numberOfLabelLines=function(t){var e=1;return ut.each(t,function(t){ut.isArray(t)&&t.length>e&&(e=t.length)}),e},ut.color=X?function(t){return t instanceof CanvasGradient&&(t=st.global.defaultColor),X(t)}:function(t){return console.error("Color.js not found!"),t},ut.getHoverColor=function(t){return t instanceof CanvasPattern||t instanceof CanvasGradient?t:ut.color(t).saturate(.5).darken(.1).rgbString()}}(),ai._adapters=si,ai.Animation=vt,ai.animationService=bt,ai.controllers=ue,ai.DatasetController=Mt,ai.defaults=st,ai.Element=pt,ai.elements=Wt,ai.Interaction=ve,ai.layouts=ke,ai.platform=Ve,ai.plugins=Ee,ai.Scale=fi,ai.scaleService=He,ai.Ticks=li,ai.Tooltip=Je,ai.helpers.each(tn,function(t,e){ai.scaleService.registerScaleType(e,t,t._defaults)}),yn)yn.hasOwnProperty(_n)&&ai.plugins.register(yn[_n]);ai.platform.initialize();var Cn=ai;return"undefined"!=typeof window&&(window.Chart=ai),ai.Chart=ai,ai.Legend=yn.legend._element,ai.Title=yn.title._element,ai.pluginService=ai.plugins,ai.PluginBase=ai.Element.extend({}),ai.canvasHelpers=ai.helpers.canvas,ai.layoutService=ai.layouts,ai.LinearScaleBase=bi,ai.helpers.each(["Bar","Bubble","Doughnut","Line","PolarArea","Radar","Scatter"],function(t){ai[t]=function(e,i){return new ai(e,ai.helpers.merge(i||{},{type:t.charAt(0).toLowerCase()+t.slice(1)}))}}),Cn});
1836// source --> https://www.gehlebt.at/wp-content/plugins/wp-gpx-maps/js/WP-GPX-Maps.js?ver=1.6.02 
1837/*
1838Plugin Name: WP-GPX-Maps
1839Plugin URI: http://www.devfarm.it/
1840Description: Draws a gpx track with altitude graph
1841Version: 1.6.02
1842Author: Bastianon Massimo
1843Author URI: http://www.devfarm.it/
1844*/
1845
1846
1847let wpgpxmaps_FEET_MILES = "1";
1848let wpgpxmaps_METERS_KILOMETERS = "2";
1849let wpgpxmaps_METERS_NAUTICALMILES = "3";
1850let wpgpxmaps_METER_MILES = "4";
1851let wpgpxmaps_FEET_NAUTICALMILES = "5";
1852let wpgpxmaps_MINUTES_PER_100METERS = "6";
1853let wpgpxmaps_KNOTS = "5";
1854let wpgpxmaps_MINUTES_PER_MILES = "4";
1855let wpgpxmaps_MINUTES_PER_KM = "3";
1856let wpgpxmaps_MILES_PER_HOURS = "2";
1857let wpgpxmaps_KM_PER_HOURS = "1";
1858
1859var WPGPXMAPS = {
1860
1861	Utils: {
1862
1863		/* In case of multiple polylines this function divide the points of each polyline. */
1864		DividePolylinesPoints: function( mapData ) {
1865
1866			var lastCut = 0;
1867			var result = [];
1868			var _len = mapData.length;
1869
1870			for ( i = 0; i < _len; i++ ) {
1871				if ( null == mapData[i]) {
1872					result.push( mapData.slice( lastCut == 0 ? 0 : lastCut + 1, i ) );
1873					lastCut = i;
1874				}
1875			}
1876			if ( ( _len - 1 ) != lastCut ) {
1877				result.push( mapData.slice( lastCut ) );
1878			}
1879			return result;
1880
1881		},
1882
1883		GetItemFromArray: function( arr, index ) {
1884			try {
1885				return arr[index];
1886			} catch ( e ) {
1887				return [ 0, 0 ];
1888			}
1889		}
1890
1891	},
1892
1893	MapEngines: {
1894
1895		/* NOT WORKING AND TESTED! old code copy&paste */
1896		GoogleMaps: function() {
1897
1898			var ngImageMarkers = [];
1899
1900			this.map = null,
1901			this.EventSelectChart = null,
1902			this.Polylines = [],
1903			this.init = function( targetElement, mapType, scrollWheelZoom, ThunderforestApiKey ) {
1904				var mapTypeIds = [];
1905				for ( var type in google.maps.MapTypeId ) {
1906					mapTypeIds.push( google.maps.MapTypeId[type]);
1907				}
1908
1909				mapTypeIds.push( 'OSM1' );
1910				mapTypeIds.push( 'OSM2' );
1911				mapTypeIds.push( 'OSM3' );
1912				mapTypeIds.push( 'OSM4' );
1913				mapTypeIds.push( 'OSM5' );
1914				//mapTypeIds.push( 'OSM6' );
1915
1916				switch ( mapType ) {
1917					case 'TERRAIN': { mapType = google.maps.MapTypeId.TERRAIN; break;}
1918					case 'SATELLITE': { mapType = google.maps.MapTypeId.SATELLITE; break;}
1919					case 'ROADMAP': { mapType = google.maps.MapTypeId.ROADMAP; break;}
1920					case 'OSM1': { mapType = 'OSM1'; break;}
1921					case 'OSM2': { mapType = 'OSM2'; break;}
1922					case 'OSM3': { mapType = 'OSM3'; break;}
1923					case 'OSM4': { mapType = 'OSM4'; break;}
1924					case 'OSM5': { mapType = 'OSM5'; break;}
1925					//case 'OSM6': { mapType = 'OSM6'; break;}
1926					default: { mapType = google.maps.MapTypeId.HYBRID; break;}
1927				}
1928
1929				if ( 'TERRAIN' == mapType || 'SATELLITE' == mapType || 'ROADMAP' == mapType ) {
1930
1931					// Google maps.
1932
1933				} else {
1934
1935					// Show OpenStreetMaps credits.
1936
1937					$( el_osm_credits ).show();
1938				}
1939
1940				this.map = new google.maps.Map( el_map, {
1941					mapTypeId: mapType,
1942					scrollwheel: ( 'true' == zoomOnScrollWheel ),
1943					mapTypeControlOptions: {
1944						style: google.maps.MapTypeControlStyle.DROPDOWN_MENU,
1945						mapTypeIds: mapTypeIds
1946					}
1947				});
1948
1949				/* Map type: Open Street Mao */
1950				this.map.mapTypes.set( 'OSM1', new google.maps.ImageMapType({
1951					getTileUrl: function( coord, zoom ) {
1952						return 'https://tile.openstreetmap.org/' + zoom + '/' + coord.x + '/' + coord.y + '.png';
1953					},
1954					tileSize: new google.maps.Size( 256, 256 ),
1955					name: 'OSM',
1956					alt: 'Open Street Map',
1957					maxZoom: 18
1958				}) );
1959
1960				/* Map type: Thunderforest - Open Cycle Map with API key or Open Cycle Map - Cycle */
1961				this.map.mapTypes.set( 'OSM2', new google.maps.ImageMapType({
1962					getTileUrl: function( coord, zoom ) {
1963						if ( hasThunderforestApiKey ) {
1964							return 'https://a.tile.thunderforest.com/cycle/' + zoom + '/' + coord.x + '/' + coord.y + '.png?apikey=' + ThunderforestApiKey;
1965						} else {
1966							return 'http://a.tile.opencyclemap.org/cycle/' + zoom + '/' + coord.x + '/' + coord.y + '.png';
1967						}
1968					},
1969					tileSize: new google.maps.Size( 256, 256 ),
1970					name: 'TF-OCM',
1971					alt: 'Thunderforest - Open Cycle Map',
1972					maxZoom: 18
1973				}) );
1974
1975				/* Map type: Thunderforest - Transport with API key */
1976				this.map.mapTypes.set( 'OSM3', new google.maps.ImageMapType({
1977					getTileUrl: function( coord, zoom ) {
1978						return 'https://a.tile.thunderforest.com/outdoors/' + zoom + '/' + coord.x + '/' + coord.y + '.png?apikey=' + ThunderforestApiKey;
1979					},
1980					tileSize: new google.maps.Size( 256, 256 ),
1981					name: 'TF-Outd',
1982					alt: 'Thunderforest - Outdoors',
1983					maxZoom: 18
1984				}) );
1985
1986				/* Map type: Thunderforest - Transport with API key */
1987				this.map.mapTypes.set( 'OSM4', new google.maps.ImageMapType({
1988					getTileUrl: function( coord, zoom ) {
1989						return 'https://a.tile.thunderforest.com/transport/' + zoom + '/' + coord.x + '/' + coord.y + '.png?apikey=' + ThunderforestApiKey;
1990					},
1991					tileSize: new google.maps.Size( 256, 256 ),
1992					name: 'TF-Tran',
1993					alt: 'Thunderforest - Transport',
1994					maxZoom: 18
1995				}) );
1996
1997				/* Map type: Thunderforest - Landscape with API key */
1998				this.map.mapTypes.set( 'OSM5', new google.maps.ImageMapType({
1999					getTileUrl: function( coord, zoom ) {
2000						return 'https://a.tile.thunderforest.com/landscape/' + zoom + '/' + coord.x + '/' + coord.y + '.png?apikey=' + ThunderforestApiKey;
2001					},
2002					tileSize: new google.maps.Size( 256, 256 ),
2003					name: 'TF-Land',
2004					alt: 'Thunderforest - Landscape',
2005					maxZoom: 18
2006				}) );
2007
2008				/* Map type: MapToolKit - Terrain */
2009				//this.map.mapTypes.set( 'OSM6', new google.maps.ImageMapType({
2010				//	getTileUrl: function( coord, zoom ) {
2011				//		return 'https://tile2.maptoolkit.net/terrain/' + zoom + '/' + coord.x + '/' + coord.y + '.png';
2012				//	},
2013				//	tileSize: new google.maps.Size( 256, 256 ),
2014				//	name: 'MTK-Terr',
2015				//	alt: 'MapToolKit - Terrain',
2016				//	maxZoom: 18
2017				//}) );
2018			},
2019
2020			this.AppPolylines = function( mapData, color1, currentIcon, startIcon, endIcon ) {
2021
2022				var points = [];
2023				var lastCut = 0;
2024				var polylinenes = [];
2025				var polyline_number = 0;
2026				var color = 0;
2027				for ( i = 0; i < mapData.length; i++ ) {
2028					if ( null == mapData[i]) {
2029						var poly = new google.maps.Polyline({
2030							path: points.slice( lastCut, i ),
2031							strokeColor: color,
2032							strokeOpacity: .7,
2033							strokeWeight: 4,
2034							map: this.map
2035						});
2036						polylinenes.push( poly );
2037						lastCut = i;
2038						polyline_number = polyline_number + 1;
2039
2040						// var p = new google.maps.LatLng(mapData[i-1][0], mapData[i-1][1]);
2041						// points.push(p);
2042						// bounds.extend(p);
2043
2044					} else {
2045						var p = new google.maps.LatLng( mapData[i][0], mapData[i][1]);
2046						points.push( p );
2047						bounds.extend( p );
2048					}
2049				}
2050
2051				if ( points.length != lastCut ) {
2052					if ( polyline_number < color1.length ) {
2053						color = color1[polyline_number];
2054					} else {
2055						color = color1[color1.length - 1];
2056					}
2057					var poly = new google.maps.Polyline({
2058						path: points.slice( lastCut ),
2059						strokeColor: color,
2060						strokeOpacity: .7,
2061						strokeWeight: 4,
2062						map: this.map
2063					});
2064					polylinenes.push( poly );
2065					currentPoints = [];
2066					polyline_number = polyline_number + 1;
2067				}
2068
2069				if ( startIcon != '' ) {
2070					var startIconImage = new google.maps.MarkerImage( startIcon );
2071					var startMarker = new google.maps.Marker({
2072						position: points[0],
2073						map: this.map,
2074						title: 'Start',
2075						animation: google.maps.Animation.DROP,
2076						icon: startIconImage,
2077						zIndex: 10
2078					});
2079
2080				}
2081
2082				if ( endIcon != '' ) {
2083					var endIconImage = new google.maps.MarkerImage( endIcon );
2084					var startMarker = new google.maps.Marker({
2085						position: points[ points.length -1 ],
2086						map: this.map,
2087						title: 'End',
2088						animation: google.maps.Animation.DROP,
2089						icon: endIconImage,
2090						zIndex: 10
2091					});
2092
2093				}
2094
2095				var first = WPGPXMAPS.Utils.GetItemFromArray( mapData, 0 );
2096
2097				if ( currentIcon == '' ) {
2098					currentIcon = 'https://maps.google.com/mapfiles/kml/pal4/icon25.png';
2099				}
2100
2101				var current = new google.maps.MarkerImage( currentIcon,
2102					new google.maps.Size( 32, 32 ),
2103					new google.maps.Point( 0, 0 ),
2104					new google.maps.Point( 16, 16 )
2105				);
2106
2107				var marker = new google.maps.Marker({
2108					position: new google.maps.LatLng( first[0], first[1]),
2109					title: 'Current',
2110					icon: current,
2111					map: this.map,
2112					zIndex: 10
2113				});
2114
2115				for ( i = 0; i < polylinenes.length; i++ ) {
2116					google.maps.event.addListener( polylinenes[i], 'mouseover', function( event ) {
2117						if ( marker ) {
2118							marker.setPosition( event.latLng );
2119							marker.setTitle( lng.currentPosition );
2120							if ( myChart ) {
2121								var l1 = event.latLng.lat();
2122								var l2 = event.latLng.lng();
2123								var ci = getClosestIndex( mapData, l1, l2 );
2124								var activeElements = [];
2125								var seriesLen = myChart.data.datasets.length;
2126								for ( var i = 0; i < seriesLen;i++ ) {
2127									activeElements.push( myChart.chart.getDatasetMeta( i ).data[ci]);
2128								}
2129								if ( activeElements.length > 0 ) {
2130									myChart.options.customLine.x = activeElements[0]._model.x;
2131									if ( isNaN( myChart.tooltip._eventPosition ) ) {
2132										myChart.tooltip._eventPosition = {
2133												x: activeElements[0]._model.x,
2134												y: activeElements[0]._model.y
2135											};
2136									}
2137									myChart.tooltip._active = activeElements;
2138									myChart.tooltip.update ( true );
2139									myChart.draw();
2140								}
2141
2142							}
2143						}
2144					});
2145				}
2146			},
2147			this.AddWaypoints = function( waypoints, waypointIcon ) {
2148			},
2149			this.MoveMarkerToPosition = function( LatLon, updateChart ) {
2150			};
2151		},
2152
2153		Leaflet: function() {
2154			this.Bounds = [],
2155			this.lng = {},
2156			this.map = null,
2157			this.EventSelectChart = null,
2158			this.Polylines = [],
2159			this.CurrentPositionMarker = null,
2160			this.CurrentGPSPositionMarker = null,
2161			this.init = function( targetElement, mapType, scrollWheelZoom, ThunderforestApiKey ) {
2162
2163				this.map = L.map( targetElement,
2164					{
2165						scrollWheelZoom: scrollWheelZoom
2166					}
2167				);
2168
2169				/* create fullscreen control. */
2170				var fsControl = new L.Control.FullScreen();
2171
2172				/* Add fullscreen control to the map. */
2173				this.map.addControl( fsControl );
2174
2175				L.tileLayer( 'https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {
2176					attribution: 'Data &copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'
2177				}).addTo( this.map );
2178
2179				var hasThunderforestApiKey = ( ThunderforestApiKey + '' ).length > 0;
2180
2181				var baseMaps = {};
2182
2183				var overlayMaps = { };
2184
2185				var defaultMpaLayer = null;
2186
2187				if ( hasThunderforestApiKey ) {
2188
2189					/* Map type: Thunderforest - OpenCycleMap with API key */
2190					baseMaps['Thunderforest - Cycle'] = L.tileLayer( 'https://a.tile.thunderforest.com/cycle/{z}/{x}/{y}.png?apikey=' + ThunderforestApiKey, {
2191						maxZoom: 18,
2192						attribution: 'Maps &copy; <a href="https://www.thunderforest.com/">Thunderforest</a> contributors, ' +
2193							'<a href="https://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>, ' +
2194							'Imagery © <a href="https://www.mapbox.com/">Mapbox</a>'
2195					});
2196
2197				} else {
2198
2199					/* Map type: Open Cycle Map - Cycle */
2200					baseMaps['Open Cycle Map'] = L.tileLayer( 'http://a.tile.opencyclemap.org/cycle/{z}/{x}/{y}.png', {
2201						maxZoom: 18,
2202						attribution: 'Maps &copy; <a href="https://www.thunderforest.com/">Thunderforest</a> contributors, ' +
2203							'<a href="https://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>, ' +
2204							'Imagery © <a href="https://www.mapbox.com/">Mapbox</a>'
2205					});
2206
2207				}
2208
2209				/* Map type: Thunderforest - Outdoors with API key */
2210				baseMaps['Thunderforest - Outdoors'] = L.tileLayer( 'https://a.tile.thunderforest.com/outddors/{z}/{x}/{y}.png?apikey=' + ThunderforestApiKey, {
2211					maxZoom: 18,
2212					attribution: 'Maps &copy; <a href="https://www.thunderforest.com/">Thunderforest</a> contributors, ' +
2213						'<a href="https://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>, ' +
2214						'Imagery © <a href="https://www.mapbox.com/">Mapbox</a>'
2215				});
2216
2217				/* Map type: Thunderforest - Transport with API key */
2218				baseMaps['Thunderforest - Transport'] = L.tileLayer( 'https://a.tile.thunderforest.com/transport/{z}/{x}/{y}.png?apikey=' + ThunderforestApiKey, {
2219					maxZoom: 18,
2220					attribution: 'Maps &copy; <a href="https://www.thunderforest.com/">Thunderforest</a> contributors, ' +
2221						'<a href="https://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>, ' +
2222						'Imagery © <a href="https://www.mapbox.com/">Mapbox</a>'
2223				});
2224
2225				/* Map type: Thunderforest - Landscape with API key */
2226				baseMaps['Thunderforest - Landscape'] = L.tileLayer( 'https://a.tile.thunderforest.com/landscape/{z}/{x}/{y}.png?apikey=' + ThunderforestApiKey, {
2227					maxZoom: 18,
2228					attribution: 'Maps &copy; <a href="https://www.thunderforest.com/">Thunderforest</a> contributors, ' +
2229						'<a href="https://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>, ' +
2230						'Imagery © <a href="https://www.mapbox.com/">Mapbox</a>'
2231				});
2232
2233				/* Map type: Open Street Map */
2234				baseMaps['Open Street Map'] = L.tileLayer( 'https://tile.openstreetmap.org/{z}/{x}/{y}.png', {
2235					maxZoom: 18,
2236					attribution: 'Maps &copy; <a href="https://www.openstreetmap.org/">OpenStreetMap</a> contributors, ' +
2237						'<a href="https://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>, ' +
2238						'Imagery © <a href="https://www.mapbox.com/">Mapbox</a>'
2239				});
2240
2241				///* Map type: MapToolKit - Terrain */
2242				//baseMaps['MapToolKit - Terrain'] = L.tileLayer( 'https://tile2.maptoolkit.net/terrain/{z}/{x}/{y}.png', {
2243				//	maxZoom: 18,
2244				//	attribution: 'Maps &copy; <a href="https://www.maptoolkit.net/">Maptoolkit</a> contributors, ' +
2245				//		'<a href="https://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>, ' +
2246				//		'Imagery © <a href="https://www.mapbox.com/">Mapbox</a>'
2247				//});
2248
2249				/* Map type: Open Street Map - Humanitarian Map Style */
2250				baseMaps['Humanitarian Map Style'] = L.tileLayer( 'https://a.tile.openstreetmap.fr/hot/{z}/{x}/{y}.png', {
2251					maxZoom: 18,
2252					attribution: 'Maps &copy; <a href="https://www.openstreetmap.org/">OpenStreetMap</a> contributors, ' +
2253						'<a href="https://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>, ' +
2254						'Imagery © <a href="https://www.mapbox.com/">Mapbox</a>'
2255				});
2256
2257				/*
2258				Map type: Open Ski Map
2259				baseMaps['Open Ski Map'] = L.tileLayer( 'http://tiles.skimap.org/openskimap/{z}/{x}/{y}.png', {
2260					maxZoom: 18,
2261					attribution: 'Map data &copy; <a href="https://www.openstreetmap.org/">OpenStreetMap</a> contributors, ' +
2262						'<a href="https://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>, ' +
2263						'Imagery © <a href="https://www.mapbox.com/">Mapbox</a>',
2264				});
2265				*/
2266
2267				/* Map type: Hike & Bike */
2268				baseMaps['Hike & Bike'] = L.tileLayer( 'http://toolserver.org/tiles/hikebike/{z}/{x}/{y}.png', {
2269					maxZoom: 18,
2270					attribution: 'Maps &copy; <a href="https://hikebikemap.org/">Hike & Bike Map</a> contributors, ' +
2271						'<a href="https://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>, ' +
2272						'Imagery © <a href="https://www.mapbox.com/">Mapbox</a>'
2273				});
2274
2275				/* Map type: Open Sea Map */
2276				baseMaps['Open Sea Map'] = L.tileLayer( 'http://tiles.openseamap.org/seamark/{z}/{x}/{y}.png', {
2277					maxZoom: 18,
2278					attribution: 'Maps &copy; <a href="https://www.openseamap.org/">OpenSeaMap</a> contributors, ' +
2279						'<a href="https://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>, ' +
2280						'Imagery © <a href="https://www.mapbox.com/">Mapbox</a>'
2281				});
2282				
2283				baseMaps['GSI Map (Japan)'] = L.tileLayer( 'https://cyberjapandata.gsi.go.jp/xyz/std/{z}/{x}/{y}.png', {
2284					maxZoom: 18,
2285					attribution: '&copy; <a href="https://maps.gsi.go.jp/development/ichiran.html" target="_blank">国土地理院</a>, ' +
2286						'Imagery © <a href="https://www.mapbox.com/">Mapbox</a>'
2287				});
2288
2289				switch ( mapType ) {
2290
2291					/* Map type: Open Street Map */
2292					case 'OSM1': {
2293						baseMaps['Open Street Map'].addTo( this.map );
2294						break;
2295					}
2296
2297					/* Map type: Thunderforest - Open Cycle Maps with API key */
2298					case 'OSM2': {
2299						baseMaps['Thunderforest - Cycle'].addTo( this.map );
2300						break;
2301					}
2302
2303					/* Map type: Thunderforest - Outdoors with API key */
2304					case 'OSM3': {
2305						baseMaps['Thunderforest - Outdoors'].addTo( this.map );
2306						break;
2307					}
2308
2309					/* Map type: Thunderforest - Landscape with API key */
2310					case 'OSM4': {
2311						baseMaps['Thunderforest - Transport'].addTo( this.map );
2312						break;
2313					}
2314
2315					/* Map type: Thunderforest - Landscape with API key */
2316					case 'OSM5': {
2317						baseMaps['Thunderforest - Landscape'].addTo( this.map );
2318						break;
2319					}
2320
2321					///* Map type: MapToolKit - Terrain */
2322					//case 'OSM6': {
2323					//	baseMaps['MapToolKit - Terrain'].addTo( this.map );
2324					//	break;
2325					//}
2326
2327					/* Map type: Open Street Map - Humanitarian Map Style*/
2328					case 'OSM7': {
2329						baseMaps['Humanitarian Map Style'].addTo( this.map );
2330						break;
2331					}
2332
2333					/*
2334					Map type: Open Ski Map
2335					case 'OSM8': {
2336						baseMaps['Open Ski Map'].addTo( this.map );
2337						break;
2338					}
2339					*/
2340
2341					/* Map type: Hike & Bike */
2342					case 'OSM9': {
2343						baseMaps['Hike & Bike'].addTo( this.map );
2344						break;
2345					}
2346
2347					/* Map type: Open Sea Map */
2348					case 'OSM10': {
2349						baseMaps['Open Sea Map'].addTo( this.map );
2350						break;
2351					}
2352
2353					case 'OSM11': {
2354						baseMaps['GSI Map (Japan)'].addTo( this.map );
2355						break;
2356					}
2357
2358					/* Map type: Open Street Map */
2359					default: {
2360						baseMaps['Open Street Map'].addTo( this.map );
2361					}
2362
2363				}
2364
2365				L.control.layers( baseMaps, overlayMaps ).addTo( this.map );
2366
2367			},
2368
2369			this.AppPolylines = function( mapData, color1, currentIcon, startIcon, endIcon ) {
2370
2371				var first = WPGPXMAPS.Utils.GetItemFromArray( mapData, 0 );
2372
2373				if ( '' == currentIcon ) {
2374					currentIcon = 'https://maps.google.com/mapfiles/kml/pal4/icon25.png';
2375				}
2376
2377				var CurrentPositionMarker = L.marker( first, { icon: L.icon ({
2378					iconUrl: currentIcon,
2379					iconSize: [ 32, 32 ], // Size of the icon.
2380					iconAnchor: [ 16, 16 ] // Point of the icon which will correspond to marker's location.
2381				})
2382				});
2383				CurrentPositionMarker.addTo( this.map );
2384				CurrentPositionMarker.title = 'Current';
2385
2386				this.CurrentPositionMarker = CurrentPositionMarker;
2387
2388				var pointsArray = WPGPXMAPS.Utils.DividePolylinesPoints( mapData );
2389
2390				var lng = this.lng;
2391				var EventSelectChart = this.EventSelectChart;
2392
2393				this.Bounds = mapData;
2394
2395				this.CenterMap();
2396
2397				for ( i = 0; i < pointsArray.length; i++ ) {
2398					if ( i < color1.length ) {
2399						color = color1[i];
2400					} else {
2401						color = color1[color1.length - 1];
2402					}
2403					try {
2404						var polyline = L.polyline(  pointsArray[i], {color: color}).addTo( this.map );
2405						this.Polylines.push( polyline );
2406
2407						var context = this;
2408
2409						this.Polylines[i].on( 'mousemove', function( e ) {
2410							context.MoveMarkerToPosition([ e.latlng.lat, e.latlng.lng ], true );
2411						});
2412					} catch ( err ) {
2413					}
2414				}
2415
2416				if ( startIcon != '' ) {
2417
2418					var startMarker = L.marker( mapData[0], {icon: L.icon({
2419						iconUrl: startIcon,
2420						iconSize: [ 32, 32 ], // Size of the icon.
2421						iconAnchor: [ 16, 16 ] // Point of the icon which will correspond to marker's location.
2422					})
2423					});
2424
2425					startMarker.addTo( this.map );
2426					startMarker.title = 'Start';
2427				}
2428
2429				if ( endIcon != '' ) {
2430
2431					var endMarker = L.marker( mapData[ mapData.length - 1 ], {icon: L.icon({
2432						iconUrl: endIcon,
2433						iconSize: [ 32, 32 ], // size of the icon
2434						iconAnchor: [ 16, 16 ] // point of the icon which will correspond to marker's location
2435					})
2436					});
2437
2438					endMarker.addTo( this.map );
2439					endMarker.title = 'End';
2440				}
2441
2442				/*
2443				var current = new google.maps.MarkerImage(currentIcon,
2444					new google.maps.Size(32, 32),
2445					new google.maps.Point(0,0),
2446					new google.maps.Point(16, 16)
2447				);
2448
2449				var marker = new google.maps.Marker({
2450					position: new google.maps.LatLng(first[0], first[1]),
2451					title:"Start",
2452					icon: current,
2453					map: map,
2454					zIndex: 10
2455				});
2456
2457				for (i=0; i < polylinenes.length; i++)
2458				{
2459
2460					google.maps.event.addListener(polylinenes[i],'mouseover',function(event){
2461						if (marker)
2462						{
2463							marker.setPosition(event.latLng);
2464							marker.setTitle(lng.currentPosition);
2465							if (myChart)
2466							{
2467								var l1 = event.latLng.lat();
2468								var l2 = event.latLng.lng();
2469								var ci = getClosestIndex(mapData,l1,l2);
2470								var activeElements = [];
2471								var seriesLen = myChart.data.datasets.length;
2472								for(var i=0; i<seriesLen;i++)
2473								{
2474									activeElements.push(myChart.chart.getDatasetMeta(i).data[ci]);
2475								}
2476								if (activeElements.length > 0)
2477								{
2478									myChart.options.customLine.x = activeElements[0]._model.x;
2479									if (isNaN(myChart.tooltip._eventPosition))
2480									{
2481										myChart.tooltip._eventPosition = {
2482												x: activeElements[0]._model.x,
2483												y: activeElements[0]._model.y
2484											};
2485									}
2486									myChart.tooltip._active = activeElements;
2487									myChart.tooltip.update(true);
2488									myChart.draw();
2489								}
2490
2491							}
2492						}
2493					});
2494				}
2495				*/
2496
2497			},
2498
2499			this.AddWaypoints = function( waypoints, waypointIcon ) {
2500
2501				var icon = L.icon({
2502					iconUrl: 'https://maps.google.com/mapfiles/ms/micons/flag.png',
2503					iconSize: [ 32, 32 ], // Size of the icon.
2504					iconAnchor: [ 16, 16 ] // Point of the icon which will correspond to marker's location.
2505				});
2506
2507				if ( waypointIcon != '' ) {
2508					icon = L.icon({
2509						iconUrl: 'waypointIcon',
2510						iconSize: [ 32, 32 ], // Size of the icon.
2511						iconAnchor: [ 16, 16 ] // Point of the icon which will correspond to marker's location.
2512					});
2513				}
2514
2515				for ( i = 0; i < waypoints.length; i++ ) {
2516					var wpt = waypoints[i];
2517
2518					this.Bounds.push([ wpt.lat, wpt.lon ]);
2519
2520					var lat = wpt.lat;
2521					var lon = wpt.lon;
2522					var sym = wpt.sym;
2523					var typ = wpt.type;
2524
2525					if ( icon.img ) {
2526						icon.iconUrl = wpt.img;
2527						wsh = '';
2528					}
2529					var marker = L.marker([ lat, lon ], {icon: icon });
2530					var cnt = '';
2531
2532					if ( wpt.name == '' ) {
2533						cnt = "<div>" + unescape( wpt.desc ) + "</div>";
2534					} else {
2535						cnt = "<div><b>" + wpt.name + "</b><br />" + unescape( wpt.desc ) + "</div>";
2536					}
2537					cnt += "<br /><p><a href='https://maps.google.com?daddr=" + lat + "," + lon + "' target='_blank'>Itin&eacute;raire</a></p>";
2538					marker.addTo( this.map ).bindPopup( cnt );
2539				}
2540				this.CenterMap();
2541			},
2542
2543			this.MoveMarkerToPosition = function( LatLon, updateChart ) {
2544				if ( null == this.CurrentPositionMarker )
2545					return;
2546
2547				this.CurrentPositionMarker.setLatLng( LatLon );
2548
2549				if ( this.lng )
2550					this.CurrentPositionMarker.title = this.lng.currentPosition;
2551
2552				if ( true == updateChart && this.EventSelectChart )
2553					this.EventSelectChart( LatLon );
2554
2555			},
2556			this.CenterMap = function() {
2557				this.map.fitBounds( this.Bounds );
2558			};
2559		}
2560	}
2561};
2562
2563( function( $ ) {
2564
2565    $.fn.wpgpxmaps = function( params ) {
2566
2567		var targetId = params.targetId;
2568		var mapType = params.mapType;
2569		var mapData = params.mapData;
2570		var graphDist = params.graphDist;
2571		var graphEle = params.graphEle;
2572		var graphSpeed = params.graphSpeed;
2573		var graphHr = params.graphHr;
2574		var graphAtemp = params.graphAtemp;
2575		var graphCad = params.graphCad;
2576		var graphGrade = params.graphGrade;
2577		var waypoints = params.waypoints;
2578		var unit_of_measure = params.unit;
2579		var unit_of_measure_speed = params.unitspeed;
2580		var color1 = params.color1;
2581		var color2 = params.color2;
2582		var color3 = params.color3;
2583		var color4 = params.color4;
2584		var color5 = params.color5;
2585		var color6 = params.color6;
2586		var color7 = params.color7;
2587		var chartFrom1 = params.chartFrom1;
2588		var chartTo1 = params.chartTo1;
2589		var chartFrom2 = params.chartFrom2;
2590		var chartTo2 = params.chartTo2;
2591		var startIcon = params.startIcon;
2592		var waypointIcon = params.waypointIcon;
2593		var endIcon = params.endIcon;
2594		var currentIcon = params.currentIcon;
2595		var zoomOnScrollWheel = params.zoomOnScrollWheel;
2596		var lng = params.langs;
2597		var pluginUrl = params.pluginUrl;
2598		var usegpsposition = params.usegpsposition;
2599		var currentpositioncon = params.currentpositioncon;
2600		var ThunderforestApiKey = params.TFApiKey;
2601
2602		var hasThunderforestApiKey = ( ThunderforestApiKey + '' ).length > 0;
2603
2604		var _formats = [];
2605
2606		/* Unit of measure settings. */
2607		var l_s;
2608		var label_x;
2609		var label_y;
2610		var l_grade = { suf: '%', dec: 1 };
2611		var l_hr = { suf: '', dec: 0 };
2612		var l_cad = { suf: '', dec: 0 };
2613
2614		var el = document.getElementById( 'wpgpxmaps_' + targetId );
2615		var el_map = document.getElementById( 'map_' + targetId );
2616		var el_chart = document.getElementById( 'chart_' + targetId );
2617		var el_report = document.getElementById( 'report_' + targetId );
2618		var el_osm_credits = document.getElementById( 'wpgpxmaps_' + targetId + '_osm_footer' );
2619
2620		var mapWidth = el_map.style.width;
2621
2622		var map = new WPGPXMAPS.MapEngines.Leaflet();
2623		map.lng = lng;
2624		map.init(
2625			'map_' + targetId,
2626			mapType,
2627			( 'true' == zoomOnScrollWheel ),
2628			ThunderforestApiKey
2629		);
2630
2631		map.EventSelectChart = function( LatLon ) {
2632
2633			if ( myChart ) {
2634				var l1 = LatLon[0];
2635				var l2 = LatLon[1];
2636				var ci = getClosestIndex( mapData, l1, l2 );
2637				var activeElements = [];
2638				var seriesLen = myChart.data.datasets.length;
2639				for ( var i = 0; i < seriesLen;i++ ) {
2640					activeElements.push( myChart.chart.getDatasetMeta( i ).data[ci]);
2641				}
2642				if ( activeElements.length > 0 ) {
2643					myChart.options.customLine.x = activeElements[0]._model.x;
2644					if ( isNaN( myChart.tooltip._eventPosition ) ) {
2645						myChart.tooltip._eventPosition = {
2646								x: activeElements[0]._model.x,
2647								y: activeElements[0]._model.y
2648							};
2649					}
2650					myChart.tooltip._active = activeElements;
2651					myChart.tooltip.update( true );
2652					myChart.draw();
2653				}
2654			}
2655		};
2656
2657		// var bounds = new google.maps.LatLngBounds();
2658
2659		if ( 'true' == usegpsposition ) {
2660
2661			/* Try HTML5 geolocation. */
2662			if ( navigator.geolocation ) {
2663				var context = map;
2664				navigator.geolocation.watchPosition( function( position ) {
2665					var radius = position.coords.accuracy / 2;
2666
2667					/* User position. */
2668					var pos = [ position.coords.latitude, position.coords.longitude ];
2669
2670					if ( null == context.CurrentGPSPositionMarker ) {
2671						if ( '' == currentpositioncon  ) {
2672							currentpositioncon = 'https://maps.google.com/mapfiles/kml/pal4/icon25.png';
2673						}
2674
2675						context.CurrentGPSPositionMarker = L.marker( pos, {icon: L.icon({
2676							iconUrl: currentpositioncon,
2677							iconSize: [ 32, 32 ], // Size of the icon.
2678							iconAnchor: [ 16, 16 ] // Point of the icon which will correspond to marker's location.
2679						})
2680						})
2681						.addTo( context.map )
2682						.bindPopup( lng.currentPosition )
2683						.openPopup();
2684
2685					} else {
2686						context.CurrentGPSPositionMarker.setLatLng( pos );
2687					}
2688					context.Bounds.push( pos );
2689					context.CenterMap();
2690				},
2691				function( e ) {
2692
2693					// Some errors.
2694
2695				},
2696				{
2697				enableHighAccuracy: false,
2698				timeout: 5000,
2699				maximumAge: 0
2700				});
2701			}
2702		}
2703
2704		/* Print WayPoints. */
2705		if ( ! jQuery.isEmptyObject( waypoints ) && waypoints.length > 0 ) {
2706			map.AddWaypoints( waypoints, waypointIcon );
2707		}
2708
2709		/* Print Images. */
2710		jQuery( "#ngimages_" + targetId ).attr( "style", "display:block;position:absolute;left:-50000px" );
2711
2712		var nggImages = jQuery( "#ngimages_" + targetId + " span" ).toArray();
2713
2714		if ( nggImages !== undefined && nggImages.length > 0 ) {
2715			var photos = [];
2716
2717			for ( var i = 0; i < nggImages.length; i++ ) {
2718
2719				var ngg_span = nggImages[i];
2720				var ngg_span_a = ngg_span.children[0];
2721
2722				var pos = [
2723					Number( ngg_span.getAttribute( 'lat' ) ),
2724					Number( ngg_span.getAttribute( 'lon' ) )
2725				];
2726
2727				map.Bounds.push( pos );
2728
2729				photos.push({
2730					'lat': pos[0],
2731					'lng': pos[1],
2732					'name': ngg_span_a.children[0].getAttribute( 'alt' ),
2733					'url': ngg_span_a.children[0].getAttribute( 'src' ),
2734					'thumbnail': ngg_span_a.children[0].getAttribute( 'src' )
2735				});
2736
2737			}
2738
2739			if ( photos.length > 0 ) {
2740				var photoLayer = L.photo.cluster().on( 'click', function( evt ) {
2741					var photo = evt.layer.photo;
2742					var template = '<img src="{url}" /></a><p>{name}</p>';
2743					evt.layer.bindPopup( L.Util.template( template, photo ), {
2744					minWidth: 'auto'
2745				}).openPopup();
2746			});
2747
2748				photoLayer.add( photos ).addTo( map.map );
2749
2750				map.CenterMap();
2751
2752				/*
2753				var showHideImagesCustomControl = L.Control.extend({
2754
2755					options: {
2756						position: 'topleft'
2757						//control position - allowed: 'topleft', 'topright', 'bottomleft', 'bottomright'
2758					},
2759
2760				  onAdd: function (map) {
2761
2762					var container = document.createElement('img');
2763					container.class= "leaflet-bar leaflet-control leaflet-control-custom"
2764					container.style.backgroundColor = 'white';
2765					container.style.width = '30px';
2766					container.style.height = '30px';
2767					container.src = pluginUrl + "/wp-gpx-maps/img/hideImages.png";
2768					container.style.cursor = 'pointer';
2769					container.title = lng.hideImages;
2770
2771					container.onclick = function(){
2772
2773						var isImagesHidden = (controlUIhi.isImagesHidden == true);
2774						var mapDiv = map.getDiv();
2775						var center = map.getCenter();
2776
2777						if (isImagesHidden)
2778						{
2779							for (var i=0; i<ngImageMarkers.length; i++) {
2780								ngImageMarkers[i].setMap(map);
2781							}
2782							controlUIhi.src = pluginUrl + "/wp-gpx-maps/img/hideImages.png";
2783							controlUIhi.title = lng.hideImages;
2784						}
2785						else
2786						{
2787							for (var i=0; i<ngImageMarkers.length; i++) {
2788								ngImageMarkers[i].setMap(null);
2789			}
2790							controlUIhi.src = pluginUrl + "/wp-gpx-maps/img/showImages.png";
2791							controlUIhi.title = lng.showImages;
2792						}
2793						controlUIhi.isImagesHidden = !isImagesHidden;
2794						return false;
2795
2796					}
2797
2798					return container;
2799				  },
2800
2801				});
2802
2803				map.map.addControl(new showHideImagesCustomControl());
2804				*/
2805
2806			}
2807
2808		}
2809
2810		/*
2811
2812		// Nextgen Pro Lightbox FIX
2813		var _xx = jQuery("#ngimages_" + targetId + " .nextgen_pro_lightbox");
2814		if (_xx.length > 0)
2815		{
2816
2817			var rnd1 = Math.random().toString(36).substring(7);
2818			var rnd2 = Math.random().toString(36).substring(7);
2819
2820			//get first gallery without images
2821			for (var _temp in galleries) {
2822				var _gal = galleries[_temp];
2823
2824				if (_gal.source == "random_images" && _gal.wpgpxmaps != true )
2825				{
2826
2827					_gal.source == "galleries";
2828					_gal.wpgpxmaps = true;
2829					_transient_id = _temp.replace("gallery_","")
2830					_gal["entity_ids"] = [];
2831					_gal["image_ids"] = [];
2832					_gal["gallery_ids"] = [96];
2833					for (var i=0;i<_xx.length;i++)
2834					{
2835						var __xx = jQuery(_xx[i]);
2836						__xx.attr("data-nplmodal-gallery-id", _transient_id);
2837						_gal["image_ids"].push(__xx.attr("data-image-id"));
2838					}
2839					break;
2840				}
2841			}
2842		}
2843		*/
2844
2845		/* Print Track. */
2846		if ( mapData != '' ) {
2847			map.AppPolylines( mapData, color1, currentIcon, startIcon, endIcon );
2848		}
2849
2850		/*
2851		map.setCenter(bounds.getCenter());
2852		map.fitBounds(bounds);
2853		*/
2854
2855		// Fix post tabs. */
2856		var $_tab = $( el ).closest( ".wordpress-post-tabs, .tab-pane" ).eq( 0 );
2857		if ( $_tab ) {
2858			var contextMap = map;
2859
2860			var FixMapSize = function( e ) {
2861				setTimeout( function( e ) {
2862
2863					// google.maps.event.trigger(map, 'resize');
2864					contextMap.map.invalidateSize();
2865					contextMap.CenterMap();
2866					tabResized = true;
2867				}, 300 );
2868			};
2869
2870			$( ".wpsm_nav-tabs a" ).click( FixMapSize );
2871
2872			$( "div > ul > li > a", $_tab ).click( FixMapSize );
2873		}
2874
2875
2876		var graphh = jQuery( '#myChart_' + params.targetId ).css( "height" );
2877
2878		if ( graphDist != '' && ( graphEle != '' || graphSpeed != '' || graphHr != '' || graphAtemp != '' || graphCad != '' ) && graphh != '0px' ) {
2879
2880			var valLen = graphDist.length;
2881
2882			if ( wpgpxmaps_FEET_MILES == unit_of_measure ) {
2883
2884				/* feet / miles */
2885				label_x = { suf: 'mi', dec: 1 };
2886				label_y = { suf: 'ft', dec: 0 };
2887
2888			} else if ( wpgpxmaps_METERS_KILOMETERS == unit_of_measure ) {
2889
2890				/* meters / kilometers */
2891				label_x = { suf: 'km', dec: 1 };
2892				label_y = { suf: 'm', dec: 2 };
2893
2894			} else if ( wpgpxmaps_METERS_NAUTICALMILES == unit_of_measure ) {
2895
2896				/* meters / nautical miles */
2897				label_x = { suf: 'NM', dec: 1 };
2898				label_y = { suf: 'm', dec: 0 };
2899
2900			} else if ( wpgpxmaps_METER_MILES == unit_of_measure ) {
2901
2902				/* meters / miles */
2903				label_x = { suf: 'mi', dec: 1 };
2904				label_y = { suf: 'm', dec: 0 };
2905
2906			} else if ( wpgpxmaps_FEET_NAUTICALMILES == unit_of_measure ) {
2907
2908				/* feet / nautical miles */
2909				label_x = { suf: 'NM', dec: 1 };
2910				label_y = { suf: 'ft', dec: 0 };
2911
2912			} else {
2913
2914				/* meters / meters */
2915				label_x = { suf: 'm', dec: 0 };
2916				label_y = { suf: 'm', dec: 0 };
2917
2918			}
2919
2920			var nn = 1111.1;
2921			var _nn = nn.toLocaleString();
2922			var _nnLen = _nn.length;
2923			var decPoint = _nn.substring( _nnLen - 2, _nnLen - 1 );
2924			var thousandsSep = _nn.substring( 1, 2 );
2925
2926			if ( '1' == decPoint )
2927				decPoint = '.';
2928
2929			if ( '1' == thousandsSep )
2930				thousandsSep = '';
2931
2932			/* Define the options. */
2933			var hoptions = {
2934				type: 'line',
2935				data: {
2936					datasets: []
2937				},
2938				borderWidth: 1,
2939				options: {
2940					animation: {
2941
2942						// duration: 0,
2943						// general animation time
2944					},
2945					hover: {
2946
2947						// animationDuration: 0,
2948						// duration of animations when hovering an item
2949					},
2950
2951					// responsiveAnimationDuration: 0,
2952					// animation duration after a resize
2953					customLine: {
2954						color: 'gray'
2955					},
2956					scales: {
2957						yAxes: [],
2958						xAxes: [ {
2959							type: 'linear',
2960							ticks: {
2961								suggestedMin: 0,
2962								max: graphDist[graphDist.length - 1],
2963
2964								/* Include a dollar sign in the ticks. */
2965								callback: function( value, index, values ) {
2966									return Math.round( value, label_x.dec ) + label_x.suf;
2967								}
2968							}
2969						} ]
2970					},
2971					tooltips: {
2972						position: 'average',
2973						mode: 'index',
2974						intersect: false,
2975						callbacks: {
2976							title: function( tooltipItems, data ) {
2977
2978								/* Return value for title: */
2979								var label_x = _formats[0].label_x;
2980								var x_pos = tooltipItems[0].xLabel;
2981								var x_dec = label_x.dec;
2982								var x_unit = label_x.suf;
2983								return Math.round( x_pos, x_dec ) + x_unit;
2984							},
2985							label: function( tooltipItem, data ) {
2986
2987								/* Format list values: */
2988								var label = data.datasets[tooltipItem.datasetIndex].label || '';
2989								var label_y = _formats[tooltipItem.datasetIndex].label_y;
2990								var y_dec = label_y.dec;
2991								var y_unit = label_y.suf;
2992								var y_pos = tooltipItem.yLabel;
2993								if ( label ) {
2994									label += ': ';
2995								}
2996								label += Math.round( y_pos, y_dec ) + y_unit;
2997								return label;
2998							},
2999							footer: function( tooltipItem ) {
3000
3001								/* Move the point in map. */
3002								var i = tooltipItem[0].index;
3003								var point = WPGPXMAPS.Utils.GetItemFromArray( mapData, i );
3004								map.MoveMarkerToPosition( point, false );
3005							}
3006						}
3007					}
3008				},
3009
3010				plugins: [ {
3011					beforeEvent: function( chart, e ) {
3012						if ( ( e.type === 'mousemove' )
3013						&& ( e.x >= e.chart.chartArea.left )
3014						&& ( e.x <= e.chart.chartArea.right )
3015						) {
3016							chart.options.customLine.x = e.x;
3017						}
3018					},
3019					afterDraw: function( chart, easing ) {
3020						var ctx = chart.chart.ctx;
3021						var chartArea = chart.chartArea;
3022						var x = chart.options.customLine.x;
3023						if ( ! isNaN( x ) ) {
3024							ctx.save();
3025							ctx.strokeStyle = chart.options.customLine.color;
3026							ctx.moveTo( chart.options.customLine.x, chartArea.bottom );
3027							ctx.lineTo( chart.options.customLine.x, chartArea.top );
3028							ctx.stroke();
3029							ctx.restore();
3030						}
3031					}
3032				} ],
3033				labels: graphDist
3034			};
3035
3036			if ( graphEle != '' ) {
3037				var myData = mergeArrayForChart( graphDist, graphEle );
3038				var yaxe = {
3039					type: 'linear',
3040					ticks: {
3041
3042						/* Include a dollar sign in the ticks. */
3043						// This draw the lateral axis alias
3044						callback: function( value, index, values ) {
3045							return Math.round( value, label_y.dec ) + label_y.suf;
3046						}
3047					},
3048					id: 'y-axis-' + ( hoptions.options.scales.yAxes.length + 1 )
3049				};
3050
3051				if ( chartFrom1 != '' )	{
3052
3053					yaxe.min = chartFrom1;
3054					yaxe.startOnTick = false;
3055
3056				} else {
3057
3058					yaxe.min = myData.Min;
3059
3060				}
3061
3062				if ( chartTo1 != '' ) {
3063
3064					yaxe.max = chartTo1;
3065					yaxe.endOnTick = false;
3066
3067				} else {
3068
3069					yaxe.max = myData.Max;
3070				}
3071
3072				_formats.push( {"label_x": label_x, "label_y":label_y} );
3073				hoptions.options.scales.yAxes.push( yaxe );
3074				hoptions.data.datasets.push( wpgpxmapsGetDataset( lng.altitude, myData.Items, color2, yaxe.id ) );
3075
3076			}
3077
3078			if ( graphSpeed != '' ) {
3079
3080
3081				if ( wpgpxmaps_MINUTES_PER_100METERS == unit_of_measure_speed ) {
3082
3083					/* min/100 meters */
3084					l_s = { suf: 'min/100m', dec: 2 };
3085
3086				} else if ( wpgpxmaps_KNOTS == unit_of_measure_speed ) {
3087
3088					/* knots */
3089					l_s = { suf: 'knots', dec: 2 };
3090
3091				} else if ( wpgpxmaps_MINUTES_PER_MILES == unit_of_measure_speed ) {
3092
3093					/* min/miles */
3094					l_s = { suf: 'min/mi', dec: 2 };
3095
3096				} else if ( wpgpxmaps_MINUTES_PER_KM == unit_of_measure_speed ) {
3097
3098					/* min/km */
3099					l_s = { suf: 'min/km', dec: 2 };
3100
3101				} else if ( wpgpxmaps_MILES_PER_HOURS == unit_of_measure_speed ) {
3102
3103					/* miles/h */
3104					l_s = { suf: 'mi/h', dec: 0 };
3105
3106				} else if ( wpgpxmaps_KM_PER_HOURS == unit_of_measure_speed ) {
3107
3108					/* km/h */
3109					l_s = { suf: 'km/h', dec: 0 };
3110
3111				} else {
3112
3113					/* dafault m/s */
3114					l_s = { suf: 'm/s', dec: 0 };
3115
3116				}
3117
3118				var myData = mergeArrayForChart( graphDist, graphSpeed );
3119				var yaxe = {
3120					type: 'linear',
3121					ticks: {
3122
3123						/* Include a dollar sign in the ticks. */
3124						callback: function( value, index, values ) {
3125							return Math.round( value, l_s.dec ) + l_s.suf;
3126						}
3127					},
3128					position: 'right',
3129					scalePositionLeft: false,
3130					id: 'y-axis-' + ( hoptions.options.scales.yAxes.length + 1 )
3131				};
3132
3133				if ( chartFrom2 != '' ) {
3134
3135					yaxe.min = chartFrom2;
3136					yaxe.startOnTick = false;
3137
3138				} else {
3139					yaxe.min = myData.Min;
3140				}
3141
3142				if ( chartTo2 != '' ) {
3143
3144					yaxe.max = chartTo2;
3145					yaxe.endOnTick = false;
3146
3147				} else {
3148					yaxe.max = myData.Max;
3149				}
3150
3151				_formats.push ( l_s );
3152				hoptions.options.scales.yAxes.push( yaxe );
3153				hoptions.data.datasets.push( wpgpxmapsGetDataset( lng.speed, myData.Items, color3, yaxe.id ) );
3154			}
3155
3156			if ( graphHr != '' ) {
3157				var myData = mergeArrayForChart( graphDist, graphHr );
3158				var yaxe = {
3159					type: 'linear',
3160					ticks: {
3161
3162						/* Include a dollar sign in the ticks. */
3163						callback: function( value, index, values ) {
3164							return Math.round( value, l_hr.dec ) + l_hr.suf;
3165						}
3166					},
3167					position: 'right',
3168					scalePositionLeft: false,
3169					id: 'y-axis-' + ( hoptions.options.scales.yAxes.length + 1 )
3170				};
3171				hoptions.options.scales.yAxes.push( yaxe );
3172				hoptions.data.datasets.push( wpgpxmapsGetDataset( lng.heartRate, myData.Items, color4, yaxe.id ) );
3173				_formats.push( l_hr );
3174			}
3175
3176			if ( graphAtemp != '' ) {
3177				var myData = mergeArrayForChart( graphDist, graphAtemp );
3178				var yaxe = {
3179					type: 'linear',
3180					ticks: {
3181
3182						/* Include a dollar sign in the ticks. */
3183						callback: function( value, index, values ) {
3184							return Math.round( value, 1 ) + "°C";
3185						}
3186					},
3187					position: 'right',
3188					scalePositionLeft: false,
3189					id: 'y-axis-' + ( hoptions.options.scales.yAxes.length + 1 )
3190				};
3191				hoptions.options.scales.yAxes.push( yaxe );
3192				hoptions.data.datasets.push( wpgpxmapsGetDataset( lng.atemp, myData.Items, color7, yaxe.id ) );
3193				_formats.push({ suf: '°C', dec: 1 });
3194			}
3195
3196
3197			if ( graphCad != '' ) {
3198
3199				var myData = mergeArrayForChart( graphDist, graphCad, true );
3200				var yaxe = {
3201					type: 'linear',
3202					ticks: {
3203
3204						// Include a dollar sign in the ticks.
3205						callback: function( value, index, values ) {
3206							return Math.round( value, l_cad.dec ) + l_cad.suf;
3207						}
3208					},
3209					position: 'right',
3210					scalePositionLeft: false,
3211					id: 'y-axis-' + ( hoptions.options.scales.yAxes.length + 1 )
3212				};
3213
3214				hoptions.options.scales.yAxes.push( yaxe );
3215				hoptions.data.datasets.push( wpgpxmapsGetDataset( lng.cadence, myData.Items, color5, yaxe.id ) );
3216				_formats.push( l_cad );
3217
3218			}
3219
3220			if ( graphGrade != '' ) {
3221
3222				var myData = mergeArrayForChart( graphDist, graphGrade );
3223				var yaxe = {
3224					type: 'linear',
3225					ticks: {
3226
3227						// Include a dollar sign in the ticks.
3228						callback: function( value, index, values ) {
3229							return Math.round( value, l_grade.dec ) + l_grade.suf;
3230						}
3231					},
3232					position: 'right',
3233					scalePositionLeft: false,
3234					id: "y-axis-" + ( hoptions.options.scales.yAxes.length + 1 )
3235				};
3236
3237				_formats.push( l_grade );
3238				hoptions.options.scales.yAxes.push( yaxe );
3239				hoptions.data.datasets.push( wpgpxmapsGetDataset( lng.grade, myData.Items, color6, yaxe.id ) );
3240			}
3241
3242			var ctx = document.getElementById( 'myChart_' + params.targetId ).getContext( '2d' );
3243			var myChart = new Chart( ctx, hoptions );
3244
3245		} else  {
3246			jQuery( '#myChart_' + params.targetId ).css( "display", "none" );
3247		}
3248
3249        return this;
3250    };
3251
3252	function mergeArrayForChart( distArr, dataArr, setZerosAsNull ) {
3253		var l = distArr.length;
3254
3255		var items = new Array( l );
3256		var min = 10000;
3257		var max = -10000;
3258
3259		for ( i = 0; i < l; i++ ) {
3260			if ( distArr[i] != null ) {
3261				var _item = dataArr[i];
3262
3263				if ( setZerosAsNull === true && _item === 0 ) {
3264					_item = null;
3265				}
3266
3267				items[i] = {
3268					x: distArr[i],
3269					y: _item
3270				};
3271				if ( _item > max )
3272					max = _item;
3273				if ( _item < min )
3274					min = _item;
3275			}
3276		}
3277		return {
3278			Items: items,
3279			Min: min,
3280			Max: max
3281		};
3282	}
3283
3284	function wpgpxmapsGetDataset( name, data, color, id ) {
3285		return {
3286			label: name, // jQuery("<div/>").html(name).text(), // convert html special chars to text, ugly but it works
3287			data: data,
3288			borderColor: color,
3289			backgroundColor: hexToRgbA( color, .3 ),
3290			pointRadius: 0,
3291			borderWidth: 1,
3292			pointHoverRadius: 1,
3293			yAxisID: id
3294		};
3295	}
3296
3297	function hexToRgbA( hex, a ) {
3298		var c;
3299		if ( /^#([A-Fa-f0-9]{3}){1,2}$/.test( hex ) ) {
3300			c = hex.substring( 1 ).split( '' );
3301			if ( c.length == 3 ) {
3302				c = [ c[0], c[0], c[1], c[1], c[2], c[2] ];
3303			}
3304			c = '0x' + c.join( '' );
3305			return 'rgba(' + [ ( c>>16 )&255, ( c>>8 )&255, c&255 ].join( ',' ) + ',' + a + ' )';
3306		}
3307		throw new Error( 'Bad Hex' );
3308	}
3309
3310
3311	function getItemFromArray( arr, index ) {
3312		try {
3313			return arr[index];
3314		} catch ( e ) {
3315			return [ 0, 0 ];
3316		}
3317	}
3318
3319
3320	function getClosestIndex( points, lat, lon ) {
3321		var dd = 10000;
3322		var ii = 0;
3323		for ( i = 0; i < points.length; i++ ) {
3324			if ( null == points[i])
3325				continue;
3326
3327			var d = wpgpxmapsDist( points[i][0], points[i][1], lat, lon );
3328			if ( d < dd ) {
3329				ii = i;
3330				dd = d;
3331			}
3332		}
3333		return ii;
3334	}
3335
3336	function getClosestImage( lat, lon, targetId ) {
3337		var dd = 10000;
3338		var img;
3339		var divImages = document.getElementById( "ngimages_" + targetId );
3340		var img_spans = divImages.getElementsByTagName( "span" );
3341		for ( var i = 0; i < img_spans.length; i++ ) {
3342			var imageLat = img_spans[i].getAttribute( 'lat' );
3343			var imageLon = img_spans[i].getAttribute( 'lon' );
3344
3345			imageLat = imageLat.replace( ",", "." );
3346			imageLon = imageLon.replace( ",", "." );
3347
3348			var d = wpgpxmapsDist( imageLat, imageLon, lat, lon );
3349			if ( d < dd ) {
3350				img = img_spans[i];
3351				dd = d;
3352			}
3353		}
3354		return img;
3355	}
3356
3357	function isNumeric( input ) {
3358		var RE = /^-{0,1}\d*\.{0,1}\d+$/;
3359		return ( RE.test( input ) );
3360	}
3361
3362	function wpgpxmapsDist( lat1, lon1, lat2, lon2 ) {
3363
3364		// Mathematically not correct but fast.
3365		var dLat = ( lat2 - lat1 );
3366		var dLon = ( lon2 - lon1 );
3367		return Math.sqrt( dLat * dLat + dLon * dLon );
3368	}
3369
3370}( jQuery ) );

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.