HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: //home/arjun/projects/buyercall_forms/buyercall/build/public/mobile_js.2b9b0ef04e22b275bfbe.js
/******/ (function(modules) { // webpackBootstrap
/******/ 	// The module cache
/******/ 	var installedModules = {};
/******/
/******/ 	// The require function
/******/ 	function __webpack_require__(moduleId) {
/******/
/******/ 		// Check if module is in cache
/******/ 		if(installedModules[moduleId]) {
/******/ 			return installedModules[moduleId].exports;
/******/ 		}
/******/ 		// Create a new module (and put it into the cache)
/******/ 		var module = installedModules[moduleId] = {
/******/ 			i: moduleId,
/******/ 			l: false,
/******/ 			exports: {}
/******/ 		};
/******/
/******/ 		// Execute the module function
/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/
/******/ 		// Flag the module as loaded
/******/ 		module.l = true;
/******/
/******/ 		// Return the exports of the module
/******/ 		return module.exports;
/******/ 	}
/******/
/******/
/******/ 	// expose the modules object (__webpack_modules__)
/******/ 	__webpack_require__.m = modules;
/******/
/******/ 	// expose the module cache
/******/ 	__webpack_require__.c = installedModules;
/******/
/******/ 	// define getter function for harmony exports
/******/ 	__webpack_require__.d = function(exports, name, getter) {
/******/ 		if(!__webpack_require__.o(exports, name)) {
/******/ 			Object.defineProperty(exports, name, { enumerable: true, get: getter });
/******/ 		}
/******/ 	};
/******/
/******/ 	// define __esModule on exports
/******/ 	__webpack_require__.r = function(exports) {
/******/ 		if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
/******/ 			Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
/******/ 		}
/******/ 		Object.defineProperty(exports, '__esModule', { value: true });
/******/ 	};
/******/
/******/ 	// create a fake namespace object
/******/ 	// mode & 1: value is a module id, require it
/******/ 	// mode & 2: merge all properties of value into the ns
/******/ 	// mode & 4: return value when already ns object
/******/ 	// mode & 8|1: behave like require
/******/ 	__webpack_require__.t = function(value, mode) {
/******/ 		if(mode & 1) value = __webpack_require__(value);
/******/ 		if(mode & 8) return value;
/******/ 		if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
/******/ 		var ns = Object.create(null);
/******/ 		__webpack_require__.r(ns);
/******/ 		Object.defineProperty(ns, 'default', { enumerable: true, value: value });
/******/ 		if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
/******/ 		return ns;
/******/ 	};
/******/
/******/ 	// getDefaultExport function for compatibility with non-harmony modules
/******/ 	__webpack_require__.n = function(module) {
/******/ 		var getter = module && module.__esModule ?
/******/ 			function getDefault() { return module['default']; } :
/******/ 			function getModuleExports() { return module; };
/******/ 		__webpack_require__.d(getter, 'a', getter);
/******/ 		return getter;
/******/ 	};
/******/
/******/ 	// Object.prototype.hasOwnProperty.call
/******/ 	__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
/******/
/******/ 	// __webpack_public_path__
/******/ 	__webpack_require__.p = "http://localhost:2992/assets/";
/******/
/******/
/******/ 	// Load entry module and return exports
/******/ 	return __webpack_require__(__webpack_require__.s = 31);
/******/ })
/************************************************************************/
/******/ ({

/***/ "./buyercall/assets/scripts/mobile/bootstrap-datepicker.js":
/*!*****************************************************************!*\
  !*** ./buyercall/assets/scripts/mobile/bootstrap-datepicker.js ***!
  \*****************************************************************/
/*! no static exports found */
/***/ (function(module, exports) {

eval("function _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\n/* =========================================================\n * bootstrap-datepicker.js\n * Repo: https://github.com/eternicode/bootstrap-datepicker/\n * Demo: http://eternicode.github.io/bootstrap-datepicker/\n * Docs: http://bootstrap-datepicker.readthedocs.org/\n * Forked from http://www.eyecon.ro/bootstrap-datepicker\n * =========================================================\n * Started by Stefan Petre; improvements by Andrew Rowls + contributors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * ========================================================= */\n\n(function ($, undefined) {\n  var $window = $(window);\n  function UTCDate() {\n    return new Date(Date.UTC.apply(Date, arguments));\n  }\n  function UTCToday() {\n    var today = new Date();\n    return UTCDate(today.getFullYear(), today.getMonth(), today.getDate());\n  }\n  function alias(method) {\n    return function () {\n      return this[method].apply(this, arguments);\n    };\n  }\n  var DateArray = function () {\n    var extras = {\n      get: function get(i) {\n        return this.slice(i)[0];\n      },\n      contains: function contains(d) {\n        // Array.indexOf is not cross-browser;\n        // $.inArray doesn't work with Dates\n        var val = d && d.valueOf();\n        for (var i = 0, l = this.length; i < l; i++) if (this[i].valueOf() === val) return i;\n        return -1;\n      },\n      remove: function remove(i) {\n        this.splice(i, 1);\n      },\n      replace: function replace(new_array) {\n        if (!new_array) return;\n        if (!$.isArray(new_array)) new_array = [new_array];\n        this.clear();\n        this.push.apply(this, new_array);\n      },\n      clear: function clear() {\n        this.splice(0);\n      },\n      copy: function copy() {\n        var a = new DateArray();\n        a.replace(this);\n        return a;\n      }\n    };\n    return function () {\n      var a = [];\n      a.push.apply(a, arguments);\n      $.extend(a, extras);\n      return a;\n    };\n  }();\n\n  // Picker object\n\n  var Datepicker = function Datepicker(element, options) {\n    this.dates = new DateArray();\n    this.viewDate = UTCToday();\n    this.focusDate = null;\n    this._process_options(options);\n    this.element = $(element);\n    this.isInline = false;\n    this.isInput = this.element.is('input');\n    this.component = this.element.is('.date') ? this.element.find('.add-on, .input-group-addon, .btn') : false;\n    this.hasInput = this.component && this.element.find('input').length;\n    if (this.component && this.component.length === 0) this.component = false;\n    this.picker = $(DPGlobal.template);\n    this._buildEvents();\n    this._attachEvents();\n    if (this.isInline) {\n      this.picker.addClass('datepicker-inline').appendTo(this.element);\n    } else {\n      this.picker.addClass('datepicker-dropdown dropdown-menu');\n    }\n    if (this.o.rtl) {\n      this.picker.addClass('datepicker-rtl');\n    }\n    this.viewMode = this.o.startView;\n    if (this.o.calendarWeeks) this.picker.find('tfoot th.today').attr('colspan', function (i, val) {\n      return parseInt(val) + 1;\n    });\n    this._allow_update = false;\n    this.setStartDate(this._o.startDate);\n    this.setEndDate(this._o.endDate);\n    this.setDaysOfWeekDisabled(this.o.daysOfWeekDisabled);\n    this.fillDow();\n    this.fillMonths();\n    this._allow_update = true;\n    this.update();\n    this.showMode();\n    if (this.isInline) {\n      this.show();\n    }\n  };\n  Datepicker.prototype = {\n    constructor: Datepicker,\n    _process_options: function _process_options(opts) {\n      // Store raw options for reference\n      this._o = $.extend({}, this._o, opts);\n      // Processed options\n      var o = this.o = $.extend({}, this._o);\n\n      // Check if \"de-DE\" style date is available, if not language should\n      // fallback to 2 letter code eg \"de\"\n      var lang = o.language;\n      if (!dates[lang]) {\n        lang = lang.split('-')[0];\n        if (!dates[lang]) lang = defaults.language;\n      }\n      o.language = lang;\n      switch (o.startView) {\n        case 2:\n        case 'decade':\n          o.startView = 2;\n          break;\n        case 1:\n        case 'year':\n          o.startView = 1;\n          break;\n        default:\n          o.startView = 0;\n      }\n      switch (o.minViewMode) {\n        case 1:\n        case 'months':\n          o.minViewMode = 1;\n          break;\n        case 2:\n        case 'years':\n          o.minViewMode = 2;\n          break;\n        default:\n          o.minViewMode = 0;\n      }\n      o.startView = Math.max(o.startView, o.minViewMode);\n\n      // true, false, or Number > 0\n      if (o.multidate !== true) {\n        o.multidate = Number(o.multidate) || false;\n        if (o.multidate !== false) o.multidate = Math.max(0, o.multidate);else o.multidate = 1;\n      }\n      o.multidateSeparator = String(o.multidateSeparator);\n      o.weekStart %= 7;\n      o.weekEnd = (o.weekStart + 6) % 7;\n      var format = DPGlobal.parseFormat(o.format);\n      if (o.startDate !== -Infinity) {\n        if (!!o.startDate) {\n          if (o.startDate instanceof Date) o.startDate = this._local_to_utc(this._zero_time(o.startDate));else o.startDate = DPGlobal.parseDate(o.startDate, format, o.language);\n        } else {\n          o.startDate = -Infinity;\n        }\n      }\n      if (o.endDate !== Infinity) {\n        if (!!o.endDate) {\n          if (o.endDate instanceof Date) o.endDate = this._local_to_utc(this._zero_time(o.endDate));else o.endDate = DPGlobal.parseDate(o.endDate, format, o.language);\n        } else {\n          o.endDate = Infinity;\n        }\n      }\n      o.daysOfWeekDisabled = o.daysOfWeekDisabled || [];\n      if (!$.isArray(o.daysOfWeekDisabled)) o.daysOfWeekDisabled = o.daysOfWeekDisabled.split(/[,\\s]*/);\n      o.daysOfWeekDisabled = $.map(o.daysOfWeekDisabled, function (d) {\n        return parseInt(d, 10);\n      });\n      var plc = String(o.orientation).toLowerCase().split(/\\s+/g),\n        _plc = o.orientation.toLowerCase();\n      plc = $.grep(plc, function (word) {\n        return /^auto|left|right|top|bottom$/.test(word);\n      });\n      o.orientation = {\n        x: 'auto',\n        y: 'auto'\n      };\n      if (!_plc || _plc === 'auto') ; // no action\n      else if (plc.length === 1) {\n        switch (plc[0]) {\n          case 'top':\n          case 'bottom':\n            o.orientation.y = plc[0];\n            break;\n          case 'left':\n          case 'right':\n            o.orientation.x = plc[0];\n            break;\n        }\n      } else {\n        _plc = $.grep(plc, function (word) {\n          return /^left|right$/.test(word);\n        });\n        o.orientation.x = _plc[0] || 'auto';\n        _plc = $.grep(plc, function (word) {\n          return /^top|bottom$/.test(word);\n        });\n        o.orientation.y = _plc[0] || 'auto';\n      }\n    },\n    _events: [],\n    _secondaryEvents: [],\n    _applyEvents: function _applyEvents(evs) {\n      for (var i = 0, el, ch, ev; i < evs.length; i++) {\n        el = evs[i][0];\n        if (evs[i].length === 2) {\n          ch = undefined;\n          ev = evs[i][1];\n        } else if (evs[i].length === 3) {\n          ch = evs[i][1];\n          ev = evs[i][2];\n        }\n        el.on(ev, ch);\n      }\n    },\n    _unapplyEvents: function _unapplyEvents(evs) {\n      for (var i = 0, el, ev, ch; i < evs.length; i++) {\n        el = evs[i][0];\n        if (evs[i].length === 2) {\n          ch = undefined;\n          ev = evs[i][1];\n        } else if (evs[i].length === 3) {\n          ch = evs[i][1];\n          ev = evs[i][2];\n        }\n        el.off(ev, ch);\n      }\n    },\n    _buildEvents: function _buildEvents() {\n      if (this.isInput) {\n        // single input\n        this._events = [[this.element, {\n          focus: $.proxy(this.show, this),\n          keyup: $.proxy(function (e) {\n            if ($.inArray(e.keyCode, [27, 37, 39, 38, 40, 32, 13, 9]) === -1) this.update();\n          }, this),\n          keydown: $.proxy(this.keydown, this)\n        }]];\n      } else if (this.component && this.hasInput) {\n        // component: input + button\n        this._events = [\n        // For components that are not readonly, allow keyboard nav\n        [this.element.find('input'), {\n          focus: $.proxy(this.show, this),\n          keyup: $.proxy(function (e) {\n            if ($.inArray(e.keyCode, [27, 37, 39, 38, 40, 32, 13, 9]) === -1) this.update();\n          }, this),\n          keydown: $.proxy(this.keydown, this)\n        }], [this.component, {\n          click: $.proxy(this.show, this)\n        }]];\n      } else if (this.element.is('div')) {\n        // inline datepicker\n        this.isInline = true;\n      } else {\n        this._events = [[this.element, {\n          click: $.proxy(this.show, this)\n        }]];\n      }\n      this._events.push(\n      // Component: listen for blur on element descendants\n      [this.element, '*', {\n        blur: $.proxy(function (e) {\n          this._focused_from = e.target;\n        }, this)\n      }],\n      // Input: listen for blur on element\n      [this.element, {\n        blur: $.proxy(function (e) {\n          this._focused_from = e.target;\n        }, this)\n      }]);\n      this._secondaryEvents = [[this.picker, {\n        click: $.proxy(this.click, this)\n      }], [$(window), {\n        resize: $.proxy(this.place, this)\n      }], [$(document), {\n        'mousedown touchstart': $.proxy(function (e) {\n          // Clicked outside the datepicker, hide it\n          if (!(this.element.is(e.target) || this.element.find(e.target).length || this.picker.is(e.target) || this.picker.find(e.target).length)) {\n            this.hide();\n          }\n        }, this)\n      }]];\n    },\n    _attachEvents: function _attachEvents() {\n      this._detachEvents();\n      this._applyEvents(this._events);\n    },\n    _detachEvents: function _detachEvents() {\n      this._unapplyEvents(this._events);\n    },\n    _attachSecondaryEvents: function _attachSecondaryEvents() {\n      this._detachSecondaryEvents();\n      this._applyEvents(this._secondaryEvents);\n    },\n    _detachSecondaryEvents: function _detachSecondaryEvents() {\n      this._unapplyEvents(this._secondaryEvents);\n    },\n    _trigger: function _trigger(event, altdate) {\n      var date = altdate || this.dates.get(-1),\n        local_date = this._utc_to_local(date);\n      this.element.trigger({\n        type: event,\n        date: local_date,\n        dates: $.map(this.dates, this._utc_to_local),\n        format: $.proxy(function (ix, format) {\n          if (arguments.length === 0) {\n            ix = this.dates.length - 1;\n            format = this.o.format;\n          } else if (typeof ix === 'string') {\n            format = ix;\n            ix = this.dates.length - 1;\n          }\n          format = format || this.o.format;\n          var date = this.dates.get(ix);\n          return DPGlobal.formatDate(date, format, this.o.language);\n        }, this)\n      });\n    },\n    show: function show() {\n      if (!this.isInline) this.picker.appendTo('body');\n      this.picker.show();\n      this.place();\n      this._attachSecondaryEvents();\n      this._trigger('show');\n    },\n    hide: function hide() {\n      if (this.isInline) return;\n      if (!this.picker.is(':visible')) return;\n      this.focusDate = null;\n      this.picker.hide().detach();\n      this._detachSecondaryEvents();\n      this.viewMode = this.o.startView;\n      this.showMode();\n      if (this.o.forceParse && (this.isInput && this.element.val() || this.hasInput && this.element.find('input').val())) this.setValue();\n      this._trigger('hide');\n    },\n    remove: function remove() {\n      this.hide();\n      this._detachEvents();\n      this._detachSecondaryEvents();\n      this.picker.remove();\n      delete this.element.data().datepicker;\n      if (!this.isInput) {\n        delete this.element.data().date;\n      }\n    },\n    _utc_to_local: function _utc_to_local(utc) {\n      return utc && new Date(utc.getTime() + utc.getTimezoneOffset() * 60000);\n    },\n    _local_to_utc: function _local_to_utc(local) {\n      return local && new Date(local.getTime() - local.getTimezoneOffset() * 60000);\n    },\n    _zero_time: function _zero_time(local) {\n      return local && new Date(local.getFullYear(), local.getMonth(), local.getDate());\n    },\n    _zero_utc_time: function _zero_utc_time(utc) {\n      return utc && new Date(Date.UTC(utc.getUTCFullYear(), utc.getUTCMonth(), utc.getUTCDate()));\n    },\n    getDates: function getDates() {\n      return $.map(this.dates, this._utc_to_local);\n    },\n    getUTCDates: function getUTCDates() {\n      return $.map(this.dates, function (d) {\n        return new Date(d);\n      });\n    },\n    getDate: function getDate() {\n      return this._utc_to_local(this.getUTCDate());\n    },\n    getUTCDate: function getUTCDate() {\n      return new Date(this.dates.get(-1));\n    },\n    setDates: function setDates() {\n      var args = $.isArray(arguments[0]) ? arguments[0] : arguments;\n      this.update.apply(this, args);\n      this._trigger('changeDate');\n      this.setValue();\n    },\n    setUTCDates: function setUTCDates() {\n      var args = $.isArray(arguments[0]) ? arguments[0] : arguments;\n      this.update.apply(this, $.map(args, this._utc_to_local));\n      this._trigger('changeDate');\n      this.setValue();\n    },\n    setDate: alias('setDates'),\n    setUTCDate: alias('setUTCDates'),\n    setValue: function setValue() {\n      var formatted = this.getFormattedDate();\n      if (!this.isInput) {\n        if (this.component) {\n          this.element.find('input').val(formatted).change();\n        }\n      } else {\n        this.element.val(formatted).change();\n      }\n    },\n    getFormattedDate: function getFormattedDate(format) {\n      if (format === undefined) format = this.o.format;\n      var lang = this.o.language;\n      return $.map(this.dates, function (d) {\n        return DPGlobal.formatDate(d, format, lang);\n      }).join(this.o.multidateSeparator);\n    },\n    setStartDate: function setStartDate(startDate) {\n      this._process_options({\n        startDate: startDate\n      });\n      this.update();\n      this.updateNavArrows();\n    },\n    setEndDate: function setEndDate(endDate) {\n      this._process_options({\n        endDate: endDate\n      });\n      this.update();\n      this.updateNavArrows();\n    },\n    setDaysOfWeekDisabled: function setDaysOfWeekDisabled(daysOfWeekDisabled) {\n      this._process_options({\n        daysOfWeekDisabled: daysOfWeekDisabled\n      });\n      this.update();\n      this.updateNavArrows();\n    },\n    place: function place() {\n      if (this.isInline) return;\n      var calendarWidth = this.picker.outerWidth(),\n        calendarHeight = this.picker.outerHeight(),\n        visualPadding = 10,\n        windowWidth = $window.width(),\n        windowHeight = $window.height(),\n        scrollTop = $window.scrollTop();\n      var zIndex = parseInt(this.element.parents().filter(function () {\n        return $(this).css('z-index') !== 'auto';\n      }).first().css('z-index')) + 10;\n      var offset = this.component ? this.component.parent().offset() : this.element.offset();\n      var height = this.component ? this.component.outerHeight(true) : this.element.outerHeight(false);\n      var width = this.component ? this.component.outerWidth(true) : this.element.outerWidth(false);\n      var left = offset.left,\n        top = offset.top;\n      this.picker.removeClass('datepicker-orient-top datepicker-orient-bottom ' + 'datepicker-orient-right datepicker-orient-left');\n      if (this.o.orientation.x !== 'auto') {\n        this.picker.addClass('datepicker-orient-' + this.o.orientation.x);\n        if (this.o.orientation.x === 'right') left -= calendarWidth - width;\n      }\n      // auto x orientation is best-placement: if it crosses a window\n      // edge, fudge it sideways\n      else {\n        // Default to left\n        this.picker.addClass('datepicker-orient-left');\n        if (offset.left < 0) left -= offset.left - visualPadding;else if (offset.left + calendarWidth > windowWidth) left = windowWidth - calendarWidth - visualPadding;\n      }\n\n      // auto y orientation is best-situation: top or bottom, no fudging,\n      // decision based on which shows more of the calendar\n      var yorient = this.o.orientation.y,\n        top_overflow,\n        bottom_overflow;\n      if (yorient === 'auto') {\n        top_overflow = -scrollTop + offset.top - calendarHeight;\n        bottom_overflow = scrollTop + windowHeight - (offset.top + height + calendarHeight);\n        if (Math.max(top_overflow, bottom_overflow) === bottom_overflow) yorient = 'top';else yorient = 'bottom';\n      }\n      this.picker.addClass('datepicker-orient-' + yorient);\n      if (yorient === 'top') top += height;else top -= calendarHeight + parseInt(this.picker.css('padding-top'));\n      this.picker.css({\n        top: top,\n        left: left,\n        zIndex: zIndex\n      });\n    },\n    _allow_update: true,\n    update: function update() {\n      if (!this._allow_update) return;\n      var oldDates = this.dates.copy(),\n        dates = [],\n        fromArgs = false;\n      if (arguments.length) {\n        $.each(arguments, $.proxy(function (i, date) {\n          if (date instanceof Date) date = this._local_to_utc(date);\n          dates.push(date);\n        }, this));\n        fromArgs = true;\n      } else {\n        dates = this.isInput ? this.element.val() : this.element.data('date') || this.element.find('input').val();\n        if (dates && this.o.multidate) dates = dates.split(this.o.multidateSeparator);else dates = [dates];\n        delete this.element.data().date;\n      }\n      dates = $.map(dates, $.proxy(function (date) {\n        return DPGlobal.parseDate(date, this.o.format, this.o.language);\n      }, this));\n      dates = $.grep(dates, $.proxy(function (date) {\n        return date < this.o.startDate || date > this.o.endDate || !date;\n      }, this), true);\n      this.dates.replace(dates);\n      if (this.dates.length) this.viewDate = new Date(this.dates.get(-1));else if (this.viewDate < this.o.startDate) this.viewDate = new Date(this.o.startDate);else if (this.viewDate > this.o.endDate) this.viewDate = new Date(this.o.endDate);\n      if (fromArgs) {\n        // setting date by clicking\n        this.setValue();\n      } else if (dates.length) {\n        // setting date by typing\n        if (String(oldDates) !== String(this.dates)) this._trigger('changeDate');\n      }\n      if (!this.dates.length && oldDates.length) this._trigger('clearDate');\n      this.fill();\n    },\n    fillDow: function fillDow() {\n      var dowCnt = this.o.weekStart,\n        html = '<tr>';\n      if (this.o.calendarWeeks) {\n        var cell = '<th class=\"cw\">&nbsp;</th>';\n        html += cell;\n        this.picker.find('.datepicker-days thead tr:first-child').prepend(cell);\n      }\n      while (dowCnt < this.o.weekStart + 7) {\n        html += '<th class=\"dow\">' + dates[this.o.language].daysMin[dowCnt++ % 7] + '</th>';\n      }\n      html += '</tr>';\n      this.picker.find('.datepicker-days thead').append(html);\n    },\n    fillMonths: function fillMonths() {\n      var html = '',\n        i = 0;\n      while (i < 12) {\n        html += '<span class=\"month\">' + dates[this.o.language].monthsShort[i++] + '</span>';\n      }\n      this.picker.find('.datepicker-months td').html(html);\n    },\n    setRange: function setRange(range) {\n      if (!range || !range.length) delete this.range;else this.range = $.map(range, function (d) {\n        return d.valueOf();\n      });\n      this.fill();\n    },\n    getClassNames: function getClassNames(date) {\n      var cls = [],\n        year = this.viewDate.getUTCFullYear(),\n        month = this.viewDate.getUTCMonth(),\n        today = new Date();\n      if (date.getUTCFullYear() < year || date.getUTCFullYear() === year && date.getUTCMonth() < month) {\n        cls.push('old');\n      } else if (date.getUTCFullYear() > year || date.getUTCFullYear() === year && date.getUTCMonth() > month) {\n        cls.push('new');\n      }\n      if (this.focusDate && date.valueOf() === this.focusDate.valueOf()) cls.push('focused');\n      // Compare internal UTC date with local today, not UTC today\n      if (this.o.todayHighlight && date.getUTCFullYear() === today.getFullYear() && date.getUTCMonth() === today.getMonth() && date.getUTCDate() === today.getDate()) {\n        cls.push('today');\n      }\n      if (this.dates.contains(date) !== -1) cls.push('active');\n      if (date.valueOf() < this.o.startDate || date.valueOf() > this.o.endDate || $.inArray(date.getUTCDay(), this.o.daysOfWeekDisabled) !== -1) {\n        cls.push('disabled');\n      }\n      if (this.range) {\n        if (date > this.range[0] && date < this.range[this.range.length - 1]) {\n          cls.push('range');\n        }\n        if ($.inArray(date.valueOf(), this.range) !== -1) {\n          cls.push('selected');\n        }\n      }\n      return cls;\n    },\n    fill: function fill() {\n      var d = new Date(this.viewDate),\n        year = d.getUTCFullYear(),\n        month = d.getUTCMonth(),\n        startYear = this.o.startDate !== -Infinity ? this.o.startDate.getUTCFullYear() : -Infinity,\n        startMonth = this.o.startDate !== -Infinity ? this.o.startDate.getUTCMonth() : -Infinity,\n        endYear = this.o.endDate !== Infinity ? this.o.endDate.getUTCFullYear() : Infinity,\n        endMonth = this.o.endDate !== Infinity ? this.o.endDate.getUTCMonth() : Infinity,\n        todaytxt = dates[this.o.language].today || dates['en'].today || '',\n        cleartxt = dates[this.o.language].clear || dates['en'].clear || '',\n        tooltip;\n      this.picker.find('.datepicker-days thead th.datepicker-switch').text(dates[this.o.language].months[month] + ' ' + year);\n      this.picker.find('tfoot th.today').text(todaytxt).toggle(this.o.todayBtn !== false);\n      this.picker.find('tfoot th.clear').text(cleartxt).toggle(this.o.clearBtn !== false);\n      this.updateNavArrows();\n      this.fillMonths();\n      var prevMonth = UTCDate(year, month - 1, 28),\n        day = DPGlobal.getDaysInMonth(prevMonth.getUTCFullYear(), prevMonth.getUTCMonth());\n      prevMonth.setUTCDate(day);\n      prevMonth.setUTCDate(day - (prevMonth.getUTCDay() - this.o.weekStart + 7) % 7);\n      var nextMonth = new Date(prevMonth);\n      nextMonth.setUTCDate(nextMonth.getUTCDate() + 42);\n      nextMonth = nextMonth.valueOf();\n      var html = [];\n      var clsName;\n      while (prevMonth.valueOf() < nextMonth) {\n        if (prevMonth.getUTCDay() === this.o.weekStart) {\n          html.push('<tr>');\n          if (this.o.calendarWeeks) {\n            // ISO 8601: First week contains first thursday.\n            // ISO also states week starts on Monday, but we can be more abstract here.\n            var\n              // Start of current week: based on weekstart/current date\n              ws = new Date(+prevMonth + (this.o.weekStart - prevMonth.getUTCDay() - 7) % 7 * 864e5),\n              // Thursday of this week\n              th = new Date(Number(ws) + (7 + 4 - ws.getUTCDay()) % 7 * 864e5),\n              // First Thursday of year, year from thursday\n              yth = new Date(Number(yth = UTCDate(th.getUTCFullYear(), 0, 1)) + (7 + 4 - yth.getUTCDay()) % 7 * 864e5),\n              // Calendar week: ms between thursdays, div ms per day, div 7 days\n              calWeek = (th - yth) / 864e5 / 7 + 1;\n            html.push('<td class=\"cw\">' + calWeek + '</td>');\n          }\n        }\n        clsName = this.getClassNames(prevMonth);\n        clsName.push('day');\n        if (this.o.beforeShowDay !== $.noop) {\n          var before = this.o.beforeShowDay(this._utc_to_local(prevMonth));\n          if (before === undefined) before = {};else if (typeof before === 'boolean') before = {\n            enabled: before\n          };else if (typeof before === 'string') before = {\n            classes: before\n          };\n          if (before.enabled === false) clsName.push('disabled');\n          if (before.classes) clsName = clsName.concat(before.classes.split(/\\s+/));\n          if (before.tooltip) tooltip = before.tooltip;\n        }\n        clsName = $.unique(clsName);\n        html.push('<td class=\"' + clsName.join(' ') + '\"' + (tooltip ? ' title=\"' + tooltip + '\"' : '') + '>' + prevMonth.getUTCDate() + '</td>');\n        if (prevMonth.getUTCDay() === this.o.weekEnd) {\n          html.push('</tr>');\n        }\n        prevMonth.setUTCDate(prevMonth.getUTCDate() + 1);\n      }\n      this.picker.find('.datepicker-days tbody').empty().append(html.join(''));\n      var months = this.picker.find('.datepicker-months').find('th:eq(1)').text(year).end().find('span').removeClass('active');\n      $.each(this.dates, function (i, d) {\n        if (d.getUTCFullYear() === year) months.eq(d.getUTCMonth()).addClass('active');\n      });\n      if (year < startYear || year > endYear) {\n        months.addClass('disabled');\n      }\n      if (year === startYear) {\n        months.slice(0, startMonth).addClass('disabled');\n      }\n      if (year === endYear) {\n        months.slice(endMonth + 1).addClass('disabled');\n      }\n      html = '';\n      year = parseInt(year / 10, 10) * 10;\n      var yearCont = this.picker.find('.datepicker-years').find('th:eq(1)').text(year + '-' + (year + 9)).end().find('td');\n      year -= 1;\n      var years = $.map(this.dates, function (d) {\n          return d.getUTCFullYear();\n        }),\n        classes;\n      for (var i = -1; i < 11; i++) {\n        classes = ['year'];\n        if (i === -1) classes.push('old');else if (i === 10) classes.push('new');\n        if ($.inArray(year, years) !== -1) classes.push('active');\n        if (year < startYear || year > endYear) classes.push('disabled');\n        html += '<span class=\"' + classes.join(' ') + '\">' + year + '</span>';\n        year += 1;\n      }\n      yearCont.html(html);\n    },\n    updateNavArrows: function updateNavArrows() {\n      if (!this._allow_update) return;\n      var d = new Date(this.viewDate),\n        year = d.getUTCFullYear(),\n        month = d.getUTCMonth();\n      switch (this.viewMode) {\n        case 0:\n          if (this.o.startDate !== -Infinity && year <= this.o.startDate.getUTCFullYear() && month <= this.o.startDate.getUTCMonth()) {\n            this.picker.find('.prev').css({\n              visibility: 'hidden'\n            });\n          } else {\n            this.picker.find('.prev').css({\n              visibility: 'visible'\n            });\n          }\n          if (this.o.endDate !== Infinity && year >= this.o.endDate.getUTCFullYear() && month >= this.o.endDate.getUTCMonth()) {\n            this.picker.find('.next').css({\n              visibility: 'hidden'\n            });\n          } else {\n            this.picker.find('.next').css({\n              visibility: 'visible'\n            });\n          }\n          break;\n        case 1:\n        case 2:\n          if (this.o.startDate !== -Infinity && year <= this.o.startDate.getUTCFullYear()) {\n            this.picker.find('.prev').css({\n              visibility: 'hidden'\n            });\n          } else {\n            this.picker.find('.prev').css({\n              visibility: 'visible'\n            });\n          }\n          if (this.o.endDate !== Infinity && year >= this.o.endDate.getUTCFullYear()) {\n            this.picker.find('.next').css({\n              visibility: 'hidden'\n            });\n          } else {\n            this.picker.find('.next').css({\n              visibility: 'visible'\n            });\n          }\n          break;\n      }\n    },\n    click: function click(e) {\n      e.preventDefault();\n      var target = $(e.target).closest('span, td, th'),\n        year,\n        month,\n        day;\n      if (target.length === 1) {\n        switch (target[0].nodeName.toLowerCase()) {\n          case 'th':\n            switch (target[0].className) {\n              case 'datepicker-switch':\n                this.showMode(1);\n                break;\n              case 'prev':\n              case 'next':\n                var dir = DPGlobal.modes[this.viewMode].navStep * (target[0].className === 'prev' ? -1 : 1);\n                switch (this.viewMode) {\n                  case 0:\n                    this.viewDate = this.moveMonth(this.viewDate, dir);\n                    this._trigger('changeMonth', this.viewDate);\n                    break;\n                  case 1:\n                  case 2:\n                    this.viewDate = this.moveYear(this.viewDate, dir);\n                    if (this.viewMode === 1) this._trigger('changeYear', this.viewDate);\n                    break;\n                }\n                this.fill();\n                break;\n              case 'today':\n                var date = new Date();\n                date = UTCDate(date.getFullYear(), date.getMonth(), date.getDate(), 0, 0, 0);\n                this.showMode(-2);\n                var which = this.o.todayBtn === 'linked' ? null : 'view';\n                this._setDate(date, which);\n                break;\n              case 'clear':\n                var element;\n                if (this.isInput) element = this.element;else if (this.component) element = this.element.find('input');\n                if (element) element.val(\"\").change();\n                this.update();\n                this._trigger('changeDate');\n                if (this.o.autoclose) this.hide();\n                break;\n            }\n            break;\n          case 'span':\n            if (!target.is('.disabled')) {\n              this.viewDate.setUTCDate(1);\n              if (target.is('.month')) {\n                day = 1;\n                month = target.parent().find('span').index(target);\n                year = this.viewDate.getUTCFullYear();\n                this.viewDate.setUTCMonth(month);\n                this._trigger('changeMonth', this.viewDate);\n                if (this.o.minViewMode === 1) {\n                  this._setDate(UTCDate(year, month, day));\n                }\n              } else {\n                day = 1;\n                month = 0;\n                year = parseInt(target.text(), 10) || 0;\n                this.viewDate.setUTCFullYear(year);\n                this._trigger('changeYear', this.viewDate);\n                if (this.o.minViewMode === 2) {\n                  this._setDate(UTCDate(year, month, day));\n                }\n              }\n              this.showMode(-1);\n              this.fill();\n            }\n            break;\n          case 'td':\n            if (target.is('.day') && !target.is('.disabled')) {\n              day = parseInt(target.text(), 10) || 1;\n              year = this.viewDate.getUTCFullYear();\n              month = this.viewDate.getUTCMonth();\n              if (target.is('.old')) {\n                if (month === 0) {\n                  month = 11;\n                  year -= 1;\n                } else {\n                  month -= 1;\n                }\n              } else if (target.is('.new')) {\n                if (month === 11) {\n                  month = 0;\n                  year += 1;\n                } else {\n                  month += 1;\n                }\n              }\n              this._setDate(UTCDate(year, month, day));\n            }\n            break;\n        }\n      }\n      if (this.picker.is(':visible') && this._focused_from) {\n        $(this._focused_from).focus();\n      }\n      delete this._focused_from;\n    },\n    _toggle_multidate: function _toggle_multidate(date) {\n      var ix = this.dates.contains(date);\n      if (!date) {\n        this.dates.clear();\n      } else if (ix !== -1) {\n        this.dates.remove(ix);\n      } else {\n        this.dates.push(date);\n      }\n      if (typeof this.o.multidate === 'number') while (this.dates.length > this.o.multidate) this.dates.remove(0);\n    },\n    _setDate: function _setDate(date, which) {\n      if (!which || which === 'date') this._toggle_multidate(date && new Date(date));\n      if (!which || which === 'view') this.viewDate = date && new Date(date);\n      this.fill();\n      this.setValue();\n      this._trigger('changeDate');\n      var element;\n      if (this.isInput) {\n        element = this.element;\n      } else if (this.component) {\n        element = this.element.find('input');\n      }\n      if (element) {\n        element.change();\n      }\n      if (this.o.autoclose && (!which || which === 'date')) {\n        this.hide();\n      }\n    },\n    moveMonth: function moveMonth(date, dir) {\n      if (!date) return undefined;\n      if (!dir) return date;\n      var new_date = new Date(date.valueOf()),\n        day = new_date.getUTCDate(),\n        month = new_date.getUTCMonth(),\n        mag = Math.abs(dir),\n        new_month,\n        test;\n      dir = dir > 0 ? 1 : -1;\n      if (mag === 1) {\n        test = dir === -1\n        // If going back one month, make sure month is not current month\n        // (eg, Mar 31 -> Feb 31 == Feb 28, not Mar 02)\n        ? function () {\n          return new_date.getUTCMonth() === month;\n        }\n        // If going forward one month, make sure month is as expected\n        // (eg, Jan 31 -> Feb 31 == Feb 28, not Mar 02)\n        : function () {\n          return new_date.getUTCMonth() !== new_month;\n        };\n        new_month = month + dir;\n        new_date.setUTCMonth(new_month);\n        // Dec -> Jan (12) or Jan -> Dec (-1) -- limit expected date to 0-11\n        if (new_month < 0 || new_month > 11) new_month = (new_month + 12) % 12;\n      } else {\n        // For magnitudes >1, move one month at a time...\n        for (var i = 0; i < mag; i++)\n        // ...which might decrease the day (eg, Jan 31 to Feb 28, etc)...\n        new_date = this.moveMonth(new_date, dir);\n        // ...then reset the day, keeping it in the new month\n        new_month = new_date.getUTCMonth();\n        new_date.setUTCDate(day);\n        test = function test() {\n          return new_month !== new_date.getUTCMonth();\n        };\n      }\n      // Common date-resetting loop -- if date is beyond end of month, make it\n      // end of month\n      while (test()) {\n        new_date.setUTCDate(--day);\n        new_date.setUTCMonth(new_month);\n      }\n      return new_date;\n    },\n    moveYear: function moveYear(date, dir) {\n      return this.moveMonth(date, dir * 12);\n    },\n    dateWithinRange: function dateWithinRange(date) {\n      return date >= this.o.startDate && date <= this.o.endDate;\n    },\n    keydown: function keydown(e) {\n      if (this.picker.is(':not(:visible)')) {\n        if (e.keyCode === 27)\n          // allow escape to hide and re-show picker\n          this.show();\n        return;\n      }\n      var dateChanged = false,\n        dir,\n        newDate,\n        newViewDate,\n        focusDate = this.focusDate || this.viewDate;\n      switch (e.keyCode) {\n        case 27:\n          // escape\n          if (this.focusDate) {\n            this.focusDate = null;\n            this.viewDate = this.dates.get(-1) || this.viewDate;\n            this.fill();\n          } else this.hide();\n          e.preventDefault();\n          break;\n        case 37: // left\n        case 39:\n          // right\n          if (!this.o.keyboardNavigation) break;\n          dir = e.keyCode === 37 ? -1 : 1;\n          if (e.ctrlKey) {\n            newDate = this.moveYear(this.dates.get(-1) || UTCToday(), dir);\n            newViewDate = this.moveYear(focusDate, dir);\n            this._trigger('changeYear', this.viewDate);\n          } else if (e.shiftKey) {\n            newDate = this.moveMonth(this.dates.get(-1) || UTCToday(), dir);\n            newViewDate = this.moveMonth(focusDate, dir);\n            this._trigger('changeMonth', this.viewDate);\n          } else {\n            newDate = new Date(this.dates.get(-1) || UTCToday());\n            newDate.setUTCDate(newDate.getUTCDate() + dir);\n            newViewDate = new Date(focusDate);\n            newViewDate.setUTCDate(focusDate.getUTCDate() + dir);\n          }\n          if (this.dateWithinRange(newDate)) {\n            this.focusDate = this.viewDate = newViewDate;\n            this.setValue();\n            this.fill();\n            e.preventDefault();\n          }\n          break;\n        case 38: // up\n        case 40:\n          // down\n          if (!this.o.keyboardNavigation) break;\n          dir = e.keyCode === 38 ? -1 : 1;\n          if (e.ctrlKey) {\n            newDate = this.moveYear(this.dates.get(-1) || UTCToday(), dir);\n            newViewDate = this.moveYear(focusDate, dir);\n            this._trigger('changeYear', this.viewDate);\n          } else if (e.shiftKey) {\n            newDate = this.moveMonth(this.dates.get(-1) || UTCToday(), dir);\n            newViewDate = this.moveMonth(focusDate, dir);\n            this._trigger('changeMonth', this.viewDate);\n          } else {\n            newDate = new Date(this.dates.get(-1) || UTCToday());\n            newDate.setUTCDate(newDate.getUTCDate() + dir * 7);\n            newViewDate = new Date(focusDate);\n            newViewDate.setUTCDate(focusDate.getUTCDate() + dir * 7);\n          }\n          if (this.dateWithinRange(newDate)) {\n            this.focusDate = this.viewDate = newViewDate;\n            this.setValue();\n            this.fill();\n            e.preventDefault();\n          }\n          break;\n        case 32:\n          // spacebar\n          // Spacebar is used in manually typing dates in some formats.\n          // As such, its behavior should not be hijacked.\n          break;\n        case 13:\n          // enter\n          focusDate = this.focusDate || this.dates.get(-1) || this.viewDate;\n          this._toggle_multidate(focusDate);\n          dateChanged = true;\n          this.focusDate = null;\n          this.viewDate = this.dates.get(-1) || this.viewDate;\n          this.setValue();\n          this.fill();\n          if (this.picker.is(':visible')) {\n            e.preventDefault();\n            if (this.o.autoclose) this.hide();\n          }\n          break;\n        case 9:\n          // tab\n          this.focusDate = null;\n          this.viewDate = this.dates.get(-1) || this.viewDate;\n          this.fill();\n          this.hide();\n          break;\n      }\n      if (dateChanged) {\n        if (this.dates.length) this._trigger('changeDate');else this._trigger('clearDate');\n        var element;\n        if (this.isInput) {\n          element = this.element;\n        } else if (this.component) {\n          element = this.element.find('input');\n        }\n        if (element) {\n          element.change();\n        }\n      }\n    },\n    showMode: function showMode(dir) {\n      if (dir) {\n        this.viewMode = Math.max(this.o.minViewMode, Math.min(2, this.viewMode + dir));\n      }\n      this.picker.find('>div').hide().filter('.datepicker-' + DPGlobal.modes[this.viewMode].clsName).css('display', 'block');\n      this.updateNavArrows();\n    }\n  };\n  var DateRangePicker = function DateRangePicker(element, options) {\n    this.element = $(element);\n    this.inputs = $.map(options.inputs, function (i) {\n      return i.jquery ? i[0] : i;\n    });\n    delete options.inputs;\n    $(this.inputs).datepicker(options).bind('changeDate', $.proxy(this.dateUpdated, this));\n    this.pickers = $.map(this.inputs, function (i) {\n      return $(i).data('datepicker');\n    });\n    this.updateDates();\n  };\n  DateRangePicker.prototype = {\n    updateDates: function updateDates() {\n      this.dates = $.map(this.pickers, function (i) {\n        return i.getUTCDate();\n      });\n      this.updateRanges();\n    },\n    updateRanges: function updateRanges() {\n      var range = $.map(this.dates, function (d) {\n        return d.valueOf();\n      });\n      $.each(this.pickers, function (i, p) {\n        p.setRange(range);\n      });\n    },\n    dateUpdated: function dateUpdated(e) {\n      // `this.updating` is a workaround for preventing infinite recursion\n      // between `changeDate` triggering and `setUTCDate` calling.  Until\n      // there is a better mechanism.\n      if (this.updating) return;\n      this.updating = true;\n      var dp = $(e.target).data('datepicker'),\n        new_date = dp.getUTCDate(),\n        i = $.inArray(e.target, this.inputs),\n        l = this.inputs.length;\n      if (i === -1) return;\n      $.each(this.pickers, function (i, p) {\n        if (!p.getUTCDate()) p.setUTCDate(new_date);\n      });\n      if (new_date < this.dates[i]) {\n        // Date being moved earlier/left\n        while (i >= 0 && new_date < this.dates[i]) {\n          this.pickers[i--].setUTCDate(new_date);\n        }\n      } else if (new_date > this.dates[i]) {\n        // Date being moved later/right\n        while (i < l && new_date > this.dates[i]) {\n          this.pickers[i++].setUTCDate(new_date);\n        }\n      }\n      this.updateDates();\n      delete this.updating;\n    },\n    remove: function remove() {\n      $.map(this.pickers, function (p) {\n        p.remove();\n      });\n      delete this.element.data().datepicker;\n    }\n  };\n  function opts_from_el(el, prefix) {\n    // Derive options from element data-attrs\n    var data = $(el).data(),\n      out = {},\n      inkey,\n      replace = new RegExp('^' + prefix.toLowerCase() + '([A-Z])');\n    prefix = new RegExp('^' + prefix.toLowerCase());\n    function re_lower(_, a) {\n      return a.toLowerCase();\n    }\n    for (var key in data) if (prefix.test(key)) {\n      inkey = key.replace(replace, re_lower);\n      out[inkey] = data[key];\n    }\n    return out;\n  }\n  function opts_from_locale(lang) {\n    // Derive options from locale plugins\n    var out = {};\n    // Check if \"de-DE\" style date is available, if not language should\n    // fallback to 2 letter code eg \"de\"\n    if (!dates[lang]) {\n      lang = lang.split('-')[0];\n      if (!dates[lang]) return;\n    }\n    var d = dates[lang];\n    $.each(locale_opts, function (i, k) {\n      if (k in d) out[k] = d[k];\n    });\n    return out;\n  }\n  var old = $.fn.datepicker;\n  $.fn.datepicker = function (option) {\n    var args = Array.apply(null, arguments);\n    args.shift();\n    var internal_return;\n    this.each(function () {\n      var $this = $(this),\n        data = $this.data('datepicker'),\n        options = _typeof(option) === 'object' && option;\n      if (!data) {\n        var elopts = opts_from_el(this, 'date'),\n          // Preliminary otions\n          xopts = $.extend({}, defaults, elopts, options),\n          locopts = opts_from_locale(xopts.language),\n          // Options priority: js args, data-attrs, locales, defaults\n          opts = $.extend({}, defaults, locopts, elopts, options);\n        if ($this.is('.input-daterange') || opts.inputs) {\n          var ropts = {\n            inputs: opts.inputs || $this.find('input').toArray()\n          };\n          $this.data('datepicker', data = new DateRangePicker(this, $.extend(opts, ropts)));\n        } else {\n          $this.data('datepicker', data = new Datepicker(this, opts));\n        }\n      }\n      if (typeof option === 'string' && typeof data[option] === 'function') {\n        internal_return = data[option].apply(data, args);\n        if (internal_return !== undefined) return false;\n      }\n    });\n    if (internal_return !== undefined) return internal_return;else return this;\n  };\n  var defaults = $.fn.datepicker.defaults = {\n    autoclose: false,\n    beforeShowDay: $.noop,\n    calendarWeeks: false,\n    clearBtn: false,\n    daysOfWeekDisabled: [],\n    endDate: Infinity,\n    forceParse: true,\n    format: 'mm/dd/yyyy',\n    keyboardNavigation: true,\n    language: 'en',\n    minViewMode: 0,\n    multidate: false,\n    multidateSeparator: ',',\n    orientation: \"auto\",\n    rtl: false,\n    startDate: -Infinity,\n    startView: 0,\n    todayBtn: false,\n    todayHighlight: false,\n    weekStart: 0\n  };\n  var locale_opts = $.fn.datepicker.locale_opts = ['format', 'rtl', 'weekStart'];\n  $.fn.datepicker.Constructor = Datepicker;\n  var dates = $.fn.datepicker.dates = {\n    en: {\n      days: [\"Sunday\", \"Monday\", \"Tuesday\", \"Wednesday\", \"Thursday\", \"Friday\", \"Saturday\", \"Sunday\"],\n      daysShort: [\"Sun\", \"Mon\", \"Tue\", \"Wed\", \"Thu\", \"Fri\", \"Sat\", \"Sun\"],\n      daysMin: [\"Su\", \"Mo\", \"Tu\", \"We\", \"Th\", \"Fr\", \"Sa\", \"Su\"],\n      months: [\"January\", \"February\", \"March\", \"April\", \"May\", \"June\", \"July\", \"August\", \"September\", \"October\", \"November\", \"December\"],\n      monthsShort: [\"Jan\", \"Feb\", \"Mar\", \"Apr\", \"May\", \"Jun\", \"Jul\", \"Aug\", \"Sep\", \"Oct\", \"Nov\", \"Dec\"],\n      today: \"Today\",\n      clear: \"Clear\"\n    }\n  };\n  var DPGlobal = {\n    modes: [{\n      clsName: 'days',\n      navFnc: 'Month',\n      navStep: 1\n    }, {\n      clsName: 'months',\n      navFnc: 'FullYear',\n      navStep: 1\n    }, {\n      clsName: 'years',\n      navFnc: 'FullYear',\n      navStep: 10\n    }],\n    isLeapYear: function isLeapYear(year) {\n      return year % 4 === 0 && year % 100 !== 0 || year % 400 === 0;\n    },\n    getDaysInMonth: function getDaysInMonth(year, month) {\n      return [31, DPGlobal.isLeapYear(year) ? 29 : 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31][month];\n    },\n    validParts: /dd?|DD?|mm?|MM?|yy(?:yy)?/g,\n    nonpunctuation: /[^ -\\/:-@\\[\\u3400-\\u9fff-`{-~\\t\\n\\r]+/g,\n    parseFormat: function parseFormat(format) {\n      // IE treats \\0 as a string end in inputs (truncating the value),\n      // so it's a bad format delimiter, anyway\n      var separators = format.replace(this.validParts, '\\0').split('\\0'),\n        parts = format.match(this.validParts);\n      if (!separators || !separators.length || !parts || parts.length === 0) {\n        throw new Error(\"Invalid date format.\");\n      }\n      return {\n        separators: separators,\n        parts: parts\n      };\n    },\n    parseDate: function parseDate(date, format, language) {\n      if (!date) return undefined;\n      if (date instanceof Date) return date;\n      if (typeof format === 'string') format = DPGlobal.parseFormat(format);\n      var part_re = /([\\-+]\\d+)([dmwy])/,\n        parts = date.match(/([\\-+]\\d+)([dmwy])/g),\n        part,\n        dir,\n        i;\n      if (/^[\\-+]\\d+[dmwy]([\\s,]+[\\-+]\\d+[dmwy])*$/.test(date)) {\n        date = new Date();\n        for (i = 0; i < parts.length; i++) {\n          part = part_re.exec(parts[i]);\n          dir = parseInt(part[1]);\n          switch (part[2]) {\n            case 'd':\n              date.setUTCDate(date.getUTCDate() + dir);\n              break;\n            case 'm':\n              date = Datepicker.prototype.moveMonth.call(Datepicker.prototype, date, dir);\n              break;\n            case 'w':\n              date.setUTCDate(date.getUTCDate() + dir * 7);\n              break;\n            case 'y':\n              date = Datepicker.prototype.moveYear.call(Datepicker.prototype, date, dir);\n              break;\n          }\n        }\n        return UTCDate(date.getUTCFullYear(), date.getUTCMonth(), date.getUTCDate(), 0, 0, 0);\n      }\n      parts = date && date.match(this.nonpunctuation) || [];\n      date = new Date();\n      var parsed = {},\n        setters_order = ['yyyy', 'yy', 'M', 'MM', 'm', 'mm', 'd', 'dd'],\n        setters_map = {\n          yyyy: function yyyy(d, v) {\n            return d.setUTCFullYear(v);\n          },\n          yy: function yy(d, v) {\n            return d.setUTCFullYear(2000 + v);\n          },\n          m: function m(d, v) {\n            if (isNaN(d)) return d;\n            v -= 1;\n            while (v < 0) v += 12;\n            v %= 12;\n            d.setUTCMonth(v);\n            while (d.getUTCMonth() !== v) d.setUTCDate(d.getUTCDate() - 1);\n            return d;\n          },\n          d: function d(_d, v) {\n            return _d.setUTCDate(v);\n          }\n        },\n        val,\n        filtered;\n      setters_map['M'] = setters_map['MM'] = setters_map['mm'] = setters_map['m'];\n      setters_map['dd'] = setters_map['d'];\n      date = UTCDate(date.getFullYear(), date.getMonth(), date.getDate(), 0, 0, 0);\n      var fparts = format.parts.slice();\n      // Remove noop parts\n      if (parts.length !== fparts.length) {\n        fparts = $(fparts).filter(function (i, p) {\n          return $.inArray(p, setters_order) !== -1;\n        }).toArray();\n      }\n      // Process remainder\n      function match_part() {\n        var m = this.slice(0, parts[i].length),\n          p = parts[i].slice(0, m.length);\n        return m === p;\n      }\n      if (parts.length === fparts.length) {\n        var cnt;\n        for (i = 0, cnt = fparts.length; i < cnt; i++) {\n          val = parseInt(parts[i], 10);\n          part = fparts[i];\n          if (isNaN(val)) {\n            switch (part) {\n              case 'MM':\n                filtered = $(dates[language].months).filter(match_part);\n                val = $.inArray(filtered[0], dates[language].months) + 1;\n                break;\n              case 'M':\n                filtered = $(dates[language].monthsShort).filter(match_part);\n                val = $.inArray(filtered[0], dates[language].monthsShort) + 1;\n                break;\n            }\n          }\n          parsed[part] = val;\n        }\n        var _date, s;\n        for (i = 0; i < setters_order.length; i++) {\n          s = setters_order[i];\n          if (s in parsed && !isNaN(parsed[s])) {\n            _date = new Date(date);\n            setters_map[s](_date, parsed[s]);\n            if (!isNaN(_date)) date = _date;\n          }\n        }\n      }\n      return date;\n    },\n    formatDate: function formatDate(date, format, language) {\n      if (!date) return '';\n      if (typeof format === 'string') format = DPGlobal.parseFormat(format);\n      var val = {\n        d: date.getUTCDate(),\n        D: dates[language].daysShort[date.getUTCDay()],\n        DD: dates[language].days[date.getUTCDay()],\n        m: date.getUTCMonth() + 1,\n        M: dates[language].monthsShort[date.getUTCMonth()],\n        MM: dates[language].months[date.getUTCMonth()],\n        yy: date.getUTCFullYear().toString().substring(2),\n        yyyy: date.getUTCFullYear()\n      };\n      val.dd = (val.d < 10 ? '0' : '') + val.d;\n      val.mm = (val.m < 10 ? '0' : '') + val.m;\n      date = [];\n      var seps = $.extend([], format.separators);\n      for (var i = 0, cnt = format.parts.length; i <= cnt; i++) {\n        if (seps.length) date.push(seps.shift());\n        date.push(val[format.parts[i]]);\n      }\n      return date.join('');\n    },\n    headTemplate: '<thead>' + '<tr>' + '<th class=\"prev\">&laquo;</th>' + '<th colspan=\"5\" class=\"datepicker-switch\"></th>' + '<th class=\"next\">&raquo;</th>' + '</tr>' + '</thead>',\n    contTemplate: '<tbody><tr><td colspan=\"7\"></td></tr></tbody>',\n    footTemplate: '<tfoot>' + '<tr>' + '<th colspan=\"7\" class=\"today\"></th>' + '</tr>' + '<tr>' + '<th colspan=\"7\" class=\"clear\"></th>' + '</tr>' + '</tfoot>'\n  };\n  DPGlobal.template = '<div class=\"datepicker\">' + '<div class=\"datepicker-days\">' + '<table class=\" table-condensed\">' + DPGlobal.headTemplate + '<tbody></tbody>' + DPGlobal.footTemplate + '</table>' + '</div>' + '<div class=\"datepicker-months\">' + '<table class=\"table-condensed\">' + DPGlobal.headTemplate + DPGlobal.contTemplate + DPGlobal.footTemplate + '</table>' + '</div>' + '<div class=\"datepicker-years\">' + '<table class=\"table-condensed\">' + DPGlobal.headTemplate + DPGlobal.contTemplate + DPGlobal.footTemplate + '</table>' + '</div>' + '</div>';\n  $.fn.datepicker.DPGlobal = DPGlobal;\n\n  /* DATEPICKER NO CONFLICT\n  * =================== */\n\n  $.fn.datepicker.noConflict = function () {\n    $.fn.datepicker = old;\n    return this;\n  };\n\n  /* DATEPICKER DATA-API\n  * ================== */\n\n  $(document).on('focus.datepicker.data-api click.datepicker.data-api', '[data-provide=\"datepicker\"]', function (e) {\n    var $this = $(this);\n    if ($this.data('datepicker')) return;\n    e.preventDefault();\n    // component click requires us to explicitly show it\n    $this.datepicker('show');\n  });\n  $(function () {\n    $('[data-provide=\"datepicker-inline\"]').datepicker();\n  });\n})(window.jQuery);\n\n//# sourceURL=webpack:///./buyercall/assets/scripts/mobile/bootstrap-datepicker.js?");

/***/ }),

/***/ "./buyercall/assets/scripts/mobile/bootstrap.min.js":
/*!**********************************************************!*\
  !*** ./buyercall/assets/scripts/mobile/bootstrap.min.js ***!
  \**********************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

eval("var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;function _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\n/*!\n  * Bootstrap v4.3.1 (https://getbootstrap.com/)\n  * Copyright 2011-2019 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)\n  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n  */\n!function (t, e) {\n  \"object\" == ( false ? undefined : _typeof(exports)) && \"undefined\" != typeof module ? e(exports, __webpack_require__(/*! jquery */ \"jquery\"), __webpack_require__(/*! popper.js */ \"./node_modules/popper.js/dist/esm/popper.js\")) :  true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [exports, __webpack_require__(/*! jquery */ \"jquery\"), __webpack_require__(/*! popper.js */ \"./node_modules/popper.js/dist/esm/popper.js\")], __WEBPACK_AMD_DEFINE_FACTORY__ = (e),\n\t\t\t\t__WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?\n\t\t\t\t(__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),\n\t\t\t\t__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;\n}(this, function (t, g, u) {\n  \"use strict\";\n\n  function i(t, e) {\n    for (var n = 0; n < e.length; n++) {\n      var i = e[n];\n      i.enumerable = i.enumerable || !1, i.configurable = !0, \"value\" in i && (i.writable = !0), Object.defineProperty(t, i.key, i);\n    }\n  }\n  function s(t, e, n) {\n    return e && i(t.prototype, e), n && i(t, n), t;\n  }\n  function l(o) {\n    for (var t = 1; t < arguments.length; t++) {\n      var r = null != arguments[t] ? arguments[t] : {},\n        e = Object.keys(r);\n      \"function\" == typeof Object.getOwnPropertySymbols && (e = e.concat(Object.getOwnPropertySymbols(r).filter(function (t) {\n        return Object.getOwnPropertyDescriptor(r, t).enumerable;\n      }))), e.forEach(function (t) {\n        var e, n, i;\n        e = o, i = r[n = t], n in e ? Object.defineProperty(e, n, {\n          value: i,\n          enumerable: !0,\n          configurable: !0,\n          writable: !0\n        }) : e[n] = i;\n      });\n    }\n    return o;\n  }\n  g = g && g.hasOwnProperty(\"default\") ? g[\"default\"] : g, u = u && u.hasOwnProperty(\"default\") ? u[\"default\"] : u;\n  var e = \"transitionend\";\n  function n(t) {\n    var e = this,\n      n = !1;\n    return g(this).one(_.TRANSITION_END, function () {\n      n = !0;\n    }), setTimeout(function () {\n      n || _.triggerTransitionEnd(e);\n    }, t), this;\n  }\n  var _ = {\n    TRANSITION_END: \"bsTransitionEnd\",\n    getUID: function getUID(t) {\n      for (; t += ~~(1e6 * Math.random()), document.getElementById(t););\n      return t;\n    },\n    getSelectorFromElement: function getSelectorFromElement(t) {\n      var e = t.getAttribute(\"data-target\");\n      if (!e || \"#\" === e) {\n        var n = t.getAttribute(\"href\");\n        e = n && \"#\" !== n ? n.trim() : \"\";\n      }\n      try {\n        return document.querySelector(e) ? e : null;\n      } catch (t) {\n        return null;\n      }\n    },\n    getTransitionDurationFromElement: function getTransitionDurationFromElement(t) {\n      if (!t) return 0;\n      var e = g(t).css(\"transition-duration\"),\n        n = g(t).css(\"transition-delay\"),\n        i = parseFloat(e),\n        o = parseFloat(n);\n      return i || o ? (e = e.split(\",\")[0], n = n.split(\",\")[0], 1e3 * (parseFloat(e) + parseFloat(n))) : 0;\n    },\n    reflow: function reflow(t) {\n      return t.offsetHeight;\n    },\n    triggerTransitionEnd: function triggerTransitionEnd(t) {\n      g(t).trigger(e);\n    },\n    supportsTransitionEnd: function supportsTransitionEnd() {\n      return Boolean(e);\n    },\n    isElement: function isElement(t) {\n      return (t[0] || t).nodeType;\n    },\n    typeCheckConfig: function typeCheckConfig(t, e, n) {\n      for (var i in n) if (Object.prototype.hasOwnProperty.call(n, i)) {\n        var o = n[i],\n          r = e[i],\n          s = r && _.isElement(r) ? \"element\" : (a = r, {}.toString.call(a).match(/\\s([a-z]+)/i)[1].toLowerCase());\n        if (!new RegExp(o).test(s)) throw new Error(t.toUpperCase() + ': Option \"' + i + '\" provided type \"' + s + '\" but expected type \"' + o + '\".');\n      }\n      var a;\n    },\n    findShadowRoot: function findShadowRoot(t) {\n      if (!document.documentElement.attachShadow) return null;\n      if (\"function\" != typeof t.getRootNode) return t instanceof ShadowRoot ? t : t.parentNode ? _.findShadowRoot(t.parentNode) : null;\n      var e = t.getRootNode();\n      return e instanceof ShadowRoot ? e : null;\n    }\n  };\n  g.fn.emulateTransitionEnd = n, g.event.special[_.TRANSITION_END] = {\n    bindType: e,\n    delegateType: e,\n    handle: function handle(t) {\n      if (g(t.target).is(this)) return t.handleObj.handler.apply(this, arguments);\n    }\n  };\n  var o = \"alert\",\n    r = \"bs.alert\",\n    a = \".\" + r,\n    c = g.fn[o],\n    h = {\n      CLOSE: \"close\" + a,\n      CLOSED: \"closed\" + a,\n      CLICK_DATA_API: \"click\" + a + \".data-api\"\n    },\n    f = \"alert\",\n    d = \"fade\",\n    m = \"show\",\n    p = function () {\n      function i(t) {\n        this._element = t;\n      }\n      var t = i.prototype;\n      return t.close = function (t) {\n        var e = this._element;\n        t && (e = this._getRootElement(t)), this._triggerCloseEvent(e).isDefaultPrevented() || this._removeElement(e);\n      }, t.dispose = function () {\n        g.removeData(this._element, r), this._element = null;\n      }, t._getRootElement = function (t) {\n        var e = _.getSelectorFromElement(t),\n          n = !1;\n        return e && (n = document.querySelector(e)), n || (n = g(t).closest(\".\" + f)[0]), n;\n      }, t._triggerCloseEvent = function (t) {\n        var e = g.Event(h.CLOSE);\n        return g(t).trigger(e), e;\n      }, t._removeElement = function (e) {\n        var n = this;\n        if (g(e).removeClass(m), g(e).hasClass(d)) {\n          var t = _.getTransitionDurationFromElement(e);\n          g(e).one(_.TRANSITION_END, function (t) {\n            return n._destroyElement(e, t);\n          }).emulateTransitionEnd(t);\n        } else this._destroyElement(e);\n      }, t._destroyElement = function (t) {\n        g(t).detach().trigger(h.CLOSED).remove();\n      }, i._jQueryInterface = function (n) {\n        return this.each(function () {\n          var t = g(this),\n            e = t.data(r);\n          e || (e = new i(this), t.data(r, e)), \"close\" === n && e[n](this);\n        });\n      }, i._handleDismiss = function (e) {\n        return function (t) {\n          t && t.preventDefault(), e.close(this);\n        };\n      }, s(i, null, [{\n        key: \"VERSION\",\n        get: function get() {\n          return \"4.3.1\";\n        }\n      }]), i;\n    }();\n  g(document).on(h.CLICK_DATA_API, '[data-dismiss=\"alert\"]', p._handleDismiss(new p())), g.fn[o] = p._jQueryInterface, g.fn[o].Constructor = p, g.fn[o].noConflict = function () {\n    return g.fn[o] = c, p._jQueryInterface;\n  };\n  var v = \"button\",\n    y = \"bs.button\",\n    E = \".\" + y,\n    C = \".data-api\",\n    T = g.fn[v],\n    S = \"active\",\n    b = \"btn\",\n    I = \"focus\",\n    D = '[data-toggle^=\"button\"]',\n    w = '[data-toggle=\"buttons\"]',\n    A = 'input:not([type=\"hidden\"])',\n    N = \".active\",\n    O = \".btn\",\n    k = {\n      CLICK_DATA_API: \"click\" + E + C,\n      FOCUS_BLUR_DATA_API: \"focus\" + E + C + \" blur\" + E + C\n    },\n    P = function () {\n      function n(t) {\n        this._element = t;\n      }\n      var t = n.prototype;\n      return t.toggle = function () {\n        var t = !0,\n          e = !0,\n          n = g(this._element).closest(w)[0];\n        if (n) {\n          var i = this._element.querySelector(A);\n          if (i) {\n            if (\"radio\" === i.type) if (i.checked && this._element.classList.contains(S)) t = !1;else {\n              var o = n.querySelector(N);\n              o && g(o).removeClass(S);\n            }\n            if (t) {\n              if (i.hasAttribute(\"disabled\") || n.hasAttribute(\"disabled\") || i.classList.contains(\"disabled\") || n.classList.contains(\"disabled\")) return;\n              i.checked = !this._element.classList.contains(S), g(i).trigger(\"change\");\n            }\n            i.focus(), e = !1;\n          }\n        }\n        e && this._element.setAttribute(\"aria-pressed\", !this._element.classList.contains(S)), t && g(this._element).toggleClass(S);\n      }, t.dispose = function () {\n        g.removeData(this._element, y), this._element = null;\n      }, n._jQueryInterface = function (e) {\n        return this.each(function () {\n          var t = g(this).data(y);\n          t || (t = new n(this), g(this).data(y, t)), \"toggle\" === e && t[e]();\n        });\n      }, s(n, null, [{\n        key: \"VERSION\",\n        get: function get() {\n          return \"4.3.1\";\n        }\n      }]), n;\n    }();\n  g(document).on(k.CLICK_DATA_API, D, function (t) {\n    t.preventDefault();\n    var e = t.target;\n    g(e).hasClass(b) || (e = g(e).closest(O)), P._jQueryInterface.call(g(e), \"toggle\");\n  }).on(k.FOCUS_BLUR_DATA_API, D, function (t) {\n    var e = g(t.target).closest(O)[0];\n    g(e).toggleClass(I, /^focus(in)?$/.test(t.type));\n  }), g.fn[v] = P._jQueryInterface, g.fn[v].Constructor = P, g.fn[v].noConflict = function () {\n    return g.fn[v] = T, P._jQueryInterface;\n  };\n  var L = \"carousel\",\n    j = \"bs.carousel\",\n    H = \".\" + j,\n    R = \".data-api\",\n    x = g.fn[L],\n    F = {\n      interval: 5e3,\n      keyboard: !0,\n      slide: !1,\n      pause: \"hover\",\n      wrap: !0,\n      touch: !0\n    },\n    U = {\n      interval: \"(number|boolean)\",\n      keyboard: \"boolean\",\n      slide: \"(boolean|string)\",\n      pause: \"(string|boolean)\",\n      wrap: \"boolean\",\n      touch: \"boolean\"\n    },\n    W = \"next\",\n    q = \"prev\",\n    M = \"left\",\n    K = \"right\",\n    Q = {\n      SLIDE: \"slide\" + H,\n      SLID: \"slid\" + H,\n      KEYDOWN: \"keydown\" + H,\n      MOUSEENTER: \"mouseenter\" + H,\n      MOUSELEAVE: \"mouseleave\" + H,\n      TOUCHSTART: \"touchstart\" + H,\n      TOUCHMOVE: \"touchmove\" + H,\n      TOUCHEND: \"touchend\" + H,\n      POINTERDOWN: \"pointerdown\" + H,\n      POINTERUP: \"pointerup\" + H,\n      DRAG_START: \"dragstart\" + H,\n      LOAD_DATA_API: \"load\" + H + R,\n      CLICK_DATA_API: \"click\" + H + R\n    },\n    B = \"carousel\",\n    V = \"active\",\n    Y = \"slide\",\n    z = \"carousel-item-right\",\n    X = \"carousel-item-left\",\n    $ = \"carousel-item-next\",\n    G = \"carousel-item-prev\",\n    J = \"pointer-event\",\n    Z = \".active\",\n    tt = \".active.carousel-item\",\n    et = \".carousel-item\",\n    nt = \".carousel-item img\",\n    it = \".carousel-item-next, .carousel-item-prev\",\n    ot = \".carousel-indicators\",\n    rt = \"[data-slide], [data-slide-to]\",\n    st = '[data-ride=\"carousel\"]',\n    at = {\n      TOUCH: \"touch\",\n      PEN: \"pen\"\n    },\n    lt = function () {\n      function r(t, e) {\n        this._items = null, this._interval = null, this._activeElement = null, this._isPaused = !1, this._isSliding = !1, this.touchTimeout = null, this.touchStartX = 0, this.touchDeltaX = 0, this._config = this._getConfig(e), this._element = t, this._indicatorsElement = this._element.querySelector(ot), this._touchSupported = \"ontouchstart\" in document.documentElement || 0 < navigator.maxTouchPoints, this._pointerEvent = Boolean(window.PointerEvent || window.MSPointerEvent), this._addEventListeners();\n      }\n      var t = r.prototype;\n      return t.next = function () {\n        this._isSliding || this._slide(W);\n      }, t.nextWhenVisible = function () {\n        !document.hidden && g(this._element).is(\":visible\") && \"hidden\" !== g(this._element).css(\"visibility\") && this.next();\n      }, t.prev = function () {\n        this._isSliding || this._slide(q);\n      }, t.pause = function (t) {\n        t || (this._isPaused = !0), this._element.querySelector(it) && (_.triggerTransitionEnd(this._element), this.cycle(!0)), clearInterval(this._interval), this._interval = null;\n      }, t.cycle = function (t) {\n        t || (this._isPaused = !1), this._interval && (clearInterval(this._interval), this._interval = null), this._config.interval && !this._isPaused && (this._interval = setInterval((document.visibilityState ? this.nextWhenVisible : this.next).bind(this), this._config.interval));\n      }, t.to = function (t) {\n        var e = this;\n        this._activeElement = this._element.querySelector(tt);\n        var n = this._getItemIndex(this._activeElement);\n        if (!(t > this._items.length - 1 || t < 0)) if (this._isSliding) g(this._element).one(Q.SLID, function () {\n          return e.to(t);\n        });else {\n          if (n === t) return this.pause(), void this.cycle();\n          var i = n < t ? W : q;\n          this._slide(i, this._items[t]);\n        }\n      }, t.dispose = function () {\n        g(this._element).off(H), g.removeData(this._element, j), this._items = null, this._config = null, this._element = null, this._interval = null, this._isPaused = null, this._isSliding = null, this._activeElement = null, this._indicatorsElement = null;\n      }, t._getConfig = function (t) {\n        return t = l({}, F, t), _.typeCheckConfig(L, t, U), t;\n      }, t._handleSwipe = function () {\n        var t = Math.abs(this.touchDeltaX);\n        if (!(t <= 40)) {\n          var e = t / this.touchDeltaX;\n          0 < e && this.prev(), e < 0 && this.next();\n        }\n      }, t._addEventListeners = function () {\n        var e = this;\n        this._config.keyboard && g(this._element).on(Q.KEYDOWN, function (t) {\n          return e._keydown(t);\n        }), \"hover\" === this._config.pause && g(this._element).on(Q.MOUSEENTER, function (t) {\n          return e.pause(t);\n        }).on(Q.MOUSELEAVE, function (t) {\n          return e.cycle(t);\n        }), this._config.touch && this._addTouchEventListeners();\n      }, t._addTouchEventListeners = function () {\n        var n = this;\n        if (this._touchSupported) {\n          var e = function e(t) {\n              n._pointerEvent && at[t.originalEvent.pointerType.toUpperCase()] ? n.touchStartX = t.originalEvent.clientX : n._pointerEvent || (n.touchStartX = t.originalEvent.touches[0].clientX);\n            },\n            i = function i(t) {\n              n._pointerEvent && at[t.originalEvent.pointerType.toUpperCase()] && (n.touchDeltaX = t.originalEvent.clientX - n.touchStartX), n._handleSwipe(), \"hover\" === n._config.pause && (n.pause(), n.touchTimeout && clearTimeout(n.touchTimeout), n.touchTimeout = setTimeout(function (t) {\n                return n.cycle(t);\n              }, 500 + n._config.interval));\n            };\n          g(this._element.querySelectorAll(nt)).on(Q.DRAG_START, function (t) {\n            return t.preventDefault();\n          }), this._pointerEvent ? (g(this._element).on(Q.POINTERDOWN, function (t) {\n            return e(t);\n          }), g(this._element).on(Q.POINTERUP, function (t) {\n            return i(t);\n          }), this._element.classList.add(J)) : (g(this._element).on(Q.TOUCHSTART, function (t) {\n            return e(t);\n          }), g(this._element).on(Q.TOUCHMOVE, function (t) {\n            var e;\n            (e = t).originalEvent.touches && 1 < e.originalEvent.touches.length ? n.touchDeltaX = 0 : n.touchDeltaX = e.originalEvent.touches[0].clientX - n.touchStartX;\n          }), g(this._element).on(Q.TOUCHEND, function (t) {\n            return i(t);\n          }));\n        }\n      }, t._keydown = function (t) {\n        if (!/input|textarea/i.test(t.target.tagName)) switch (t.which) {\n          case 37:\n            t.preventDefault(), this.prev();\n            break;\n          case 39:\n            t.preventDefault(), this.next();\n        }\n      }, t._getItemIndex = function (t) {\n        return this._items = t && t.parentNode ? [].slice.call(t.parentNode.querySelectorAll(et)) : [], this._items.indexOf(t);\n      }, t._getItemByDirection = function (t, e) {\n        var n = t === W,\n          i = t === q,\n          o = this._getItemIndex(e),\n          r = this._items.length - 1;\n        if ((i && 0 === o || n && o === r) && !this._config.wrap) return e;\n        var s = (o + (t === q ? -1 : 1)) % this._items.length;\n        return -1 === s ? this._items[this._items.length - 1] : this._items[s];\n      }, t._triggerSlideEvent = function (t, e) {\n        var n = this._getItemIndex(t),\n          i = this._getItemIndex(this._element.querySelector(tt)),\n          o = g.Event(Q.SLIDE, {\n            relatedTarget: t,\n            direction: e,\n            from: i,\n            to: n\n          });\n        return g(this._element).trigger(o), o;\n      }, t._setActiveIndicatorElement = function (t) {\n        if (this._indicatorsElement) {\n          var e = [].slice.call(this._indicatorsElement.querySelectorAll(Z));\n          g(e).removeClass(V);\n          var n = this._indicatorsElement.children[this._getItemIndex(t)];\n          n && g(n).addClass(V);\n        }\n      }, t._slide = function (t, e) {\n        var n,\n          i,\n          o,\n          r = this,\n          s = this._element.querySelector(tt),\n          a = this._getItemIndex(s),\n          l = e || s && this._getItemByDirection(t, s),\n          c = this._getItemIndex(l),\n          h = Boolean(this._interval);\n        if (o = t === W ? (n = X, i = $, M) : (n = z, i = G, K), l && g(l).hasClass(V)) this._isSliding = !1;else if (!this._triggerSlideEvent(l, o).isDefaultPrevented() && s && l) {\n          this._isSliding = !0, h && this.pause(), this._setActiveIndicatorElement(l);\n          var u = g.Event(Q.SLID, {\n            relatedTarget: l,\n            direction: o,\n            from: a,\n            to: c\n          });\n          if (g(this._element).hasClass(Y)) {\n            g(l).addClass(i), _.reflow(l), g(s).addClass(n), g(l).addClass(n);\n            var f = parseInt(l.getAttribute(\"data-interval\"), 10);\n            this._config.interval = f ? (this._config.defaultInterval = this._config.defaultInterval || this._config.interval, f) : this._config.defaultInterval || this._config.interval;\n            var d = _.getTransitionDurationFromElement(s);\n            g(s).one(_.TRANSITION_END, function () {\n              g(l).removeClass(n + \" \" + i).addClass(V), g(s).removeClass(V + \" \" + i + \" \" + n), r._isSliding = !1, setTimeout(function () {\n                return g(r._element).trigger(u);\n              }, 0);\n            }).emulateTransitionEnd(d);\n          } else g(s).removeClass(V), g(l).addClass(V), this._isSliding = !1, g(this._element).trigger(u);\n          h && this.cycle();\n        }\n      }, r._jQueryInterface = function (i) {\n        return this.each(function () {\n          var t = g(this).data(j),\n            e = l({}, F, g(this).data());\n          \"object\" == _typeof(i) && (e = l({}, e, i));\n          var n = \"string\" == typeof i ? i : e.slide;\n          if (t || (t = new r(this, e), g(this).data(j, t)), \"number\" == typeof i) t.to(i);else if (\"string\" == typeof n) {\n            if (\"undefined\" == typeof t[n]) throw new TypeError('No method named \"' + n + '\"');\n            t[n]();\n          } else e.interval && e.ride && (t.pause(), t.cycle());\n        });\n      }, r._dataApiClickHandler = function (t) {\n        var e = _.getSelectorFromElement(this);\n        if (e) {\n          var n = g(e)[0];\n          if (n && g(n).hasClass(B)) {\n            var i = l({}, g(n).data(), g(this).data()),\n              o = this.getAttribute(\"data-slide-to\");\n            o && (i.interval = !1), r._jQueryInterface.call(g(n), i), o && g(n).data(j).to(o), t.preventDefault();\n          }\n        }\n      }, s(r, null, [{\n        key: \"VERSION\",\n        get: function get() {\n          return \"4.3.1\";\n        }\n      }, {\n        key: \"Default\",\n        get: function get() {\n          return F;\n        }\n      }]), r;\n    }();\n  g(document).on(Q.CLICK_DATA_API, rt, lt._dataApiClickHandler), g(window).on(Q.LOAD_DATA_API, function () {\n    for (var t = [].slice.call(document.querySelectorAll(st)), e = 0, n = t.length; e < n; e++) {\n      var i = g(t[e]);\n      lt._jQueryInterface.call(i, i.data());\n    }\n  }), g.fn[L] = lt._jQueryInterface, g.fn[L].Constructor = lt, g.fn[L].noConflict = function () {\n    return g.fn[L] = x, lt._jQueryInterface;\n  };\n  var ct = \"collapse\",\n    ht = \"bs.collapse\",\n    ut = \".\" + ht,\n    ft = g.fn[ct],\n    dt = {\n      toggle: !0,\n      parent: \"\"\n    },\n    gt = {\n      toggle: \"boolean\",\n      parent: \"(string|element)\"\n    },\n    _t = {\n      SHOW: \"show\" + ut,\n      SHOWN: \"shown\" + ut,\n      HIDE: \"hide\" + ut,\n      HIDDEN: \"hidden\" + ut,\n      CLICK_DATA_API: \"click\" + ut + \".data-api\"\n    },\n    mt = \"show\",\n    pt = \"collapse\",\n    vt = \"collapsing\",\n    yt = \"collapsed\",\n    Et = \"width\",\n    Ct = \"height\",\n    Tt = \".show, .collapsing\",\n    St = '[data-toggle=\"collapse\"]',\n    bt = function () {\n      function a(e, t) {\n        this._isTransitioning = !1, this._element = e, this._config = this._getConfig(t), this._triggerArray = [].slice.call(document.querySelectorAll('[data-toggle=\"collapse\"][href=\"#' + e.id + '\"],[data-toggle=\"collapse\"][data-target=\"#' + e.id + '\"]'));\n        for (var n = [].slice.call(document.querySelectorAll(St)), i = 0, o = n.length; i < o; i++) {\n          var r = n[i],\n            s = _.getSelectorFromElement(r),\n            a = [].slice.call(document.querySelectorAll(s)).filter(function (t) {\n              return t === e;\n            });\n          null !== s && 0 < a.length && (this._selector = s, this._triggerArray.push(r));\n        }\n        this._parent = this._config.parent ? this._getParent() : null, this._config.parent || this._addAriaAndCollapsedClass(this._element, this._triggerArray), this._config.toggle && this.toggle();\n      }\n      var t = a.prototype;\n      return t.toggle = function () {\n        g(this._element).hasClass(mt) ? this.hide() : this.show();\n      }, t.show = function () {\n        var t,\n          e,\n          n = this;\n        if (!this._isTransitioning && !g(this._element).hasClass(mt) && (this._parent && 0 === (t = [].slice.call(this._parent.querySelectorAll(Tt)).filter(function (t) {\n          return \"string\" == typeof n._config.parent ? t.getAttribute(\"data-parent\") === n._config.parent : t.classList.contains(pt);\n        })).length && (t = null), !(t && (e = g(t).not(this._selector).data(ht)) && e._isTransitioning))) {\n          var i = g.Event(_t.SHOW);\n          if (g(this._element).trigger(i), !i.isDefaultPrevented()) {\n            t && (a._jQueryInterface.call(g(t).not(this._selector), \"hide\"), e || g(t).data(ht, null));\n            var o = this._getDimension();\n            g(this._element).removeClass(pt).addClass(vt), this._element.style[o] = 0, this._triggerArray.length && g(this._triggerArray).removeClass(yt).attr(\"aria-expanded\", !0), this.setTransitioning(!0);\n            var r = \"scroll\" + (o[0].toUpperCase() + o.slice(1)),\n              s = _.getTransitionDurationFromElement(this._element);\n            g(this._element).one(_.TRANSITION_END, function () {\n              g(n._element).removeClass(vt).addClass(pt).addClass(mt), n._element.style[o] = \"\", n.setTransitioning(!1), g(n._element).trigger(_t.SHOWN);\n            }).emulateTransitionEnd(s), this._element.style[o] = this._element[r] + \"px\";\n          }\n        }\n      }, t.hide = function () {\n        var t = this;\n        if (!this._isTransitioning && g(this._element).hasClass(mt)) {\n          var e = g.Event(_t.HIDE);\n          if (g(this._element).trigger(e), !e.isDefaultPrevented()) {\n            var n = this._getDimension();\n            this._element.style[n] = this._element.getBoundingClientRect()[n] + \"px\", _.reflow(this._element), g(this._element).addClass(vt).removeClass(pt).removeClass(mt);\n            var i = this._triggerArray.length;\n            if (0 < i) for (var o = 0; o < i; o++) {\n              var r = this._triggerArray[o],\n                s = _.getSelectorFromElement(r);\n              if (null !== s) g([].slice.call(document.querySelectorAll(s))).hasClass(mt) || g(r).addClass(yt).attr(\"aria-expanded\", !1);\n            }\n            this.setTransitioning(!0);\n            this._element.style[n] = \"\";\n            var a = _.getTransitionDurationFromElement(this._element);\n            g(this._element).one(_.TRANSITION_END, function () {\n              t.setTransitioning(!1), g(t._element).removeClass(vt).addClass(pt).trigger(_t.HIDDEN);\n            }).emulateTransitionEnd(a);\n          }\n        }\n      }, t.setTransitioning = function (t) {\n        this._isTransitioning = t;\n      }, t.dispose = function () {\n        g.removeData(this._element, ht), this._config = null, this._parent = null, this._element = null, this._triggerArray = null, this._isTransitioning = null;\n      }, t._getConfig = function (t) {\n        return (t = l({}, dt, t)).toggle = Boolean(t.toggle), _.typeCheckConfig(ct, t, gt), t;\n      }, t._getDimension = function () {\n        return g(this._element).hasClass(Et) ? Et : Ct;\n      }, t._getParent = function () {\n        var t,\n          n = this;\n        _.isElement(this._config.parent) ? (t = this._config.parent, \"undefined\" != typeof this._config.parent.jquery && (t = this._config.parent[0])) : t = document.querySelector(this._config.parent);\n        var e = '[data-toggle=\"collapse\"][data-parent=\"' + this._config.parent + '\"]',\n          i = [].slice.call(t.querySelectorAll(e));\n        return g(i).each(function (t, e) {\n          n._addAriaAndCollapsedClass(a._getTargetFromElement(e), [e]);\n        }), t;\n      }, t._addAriaAndCollapsedClass = function (t, e) {\n        var n = g(t).hasClass(mt);\n        e.length && g(e).toggleClass(yt, !n).attr(\"aria-expanded\", n);\n      }, a._getTargetFromElement = function (t) {\n        var e = _.getSelectorFromElement(t);\n        return e ? document.querySelector(e) : null;\n      }, a._jQueryInterface = function (i) {\n        return this.each(function () {\n          var t = g(this),\n            e = t.data(ht),\n            n = l({}, dt, t.data(), \"object\" == _typeof(i) && i ? i : {});\n          if (!e && n.toggle && /show|hide/.test(i) && (n.toggle = !1), e || (e = new a(this, n), t.data(ht, e)), \"string\" == typeof i) {\n            if (\"undefined\" == typeof e[i]) throw new TypeError('No method named \"' + i + '\"');\n            e[i]();\n          }\n        });\n      }, s(a, null, [{\n        key: \"VERSION\",\n        get: function get() {\n          return \"4.3.1\";\n        }\n      }, {\n        key: \"Default\",\n        get: function get() {\n          return dt;\n        }\n      }]), a;\n    }();\n  g(document).on(_t.CLICK_DATA_API, St, function (t) {\n    \"A\" === t.currentTarget.tagName && t.preventDefault();\n    var n = g(this),\n      e = _.getSelectorFromElement(this),\n      i = [].slice.call(document.querySelectorAll(e));\n    g(i).each(function () {\n      var t = g(this),\n        e = t.data(ht) ? \"toggle\" : n.data();\n      bt._jQueryInterface.call(t, e);\n    });\n  }), g.fn[ct] = bt._jQueryInterface, g.fn[ct].Constructor = bt, g.fn[ct].noConflict = function () {\n    return g.fn[ct] = ft, bt._jQueryInterface;\n  };\n  var It = \"dropdown\",\n    Dt = \"bs.dropdown\",\n    wt = \".\" + Dt,\n    At = \".data-api\",\n    Nt = g.fn[It],\n    Ot = new RegExp(\"38|40|27\"),\n    kt = {\n      HIDE: \"hide\" + wt,\n      HIDDEN: \"hidden\" + wt,\n      SHOW: \"show\" + wt,\n      SHOWN: \"shown\" + wt,\n      CLICK: \"click\" + wt,\n      CLICK_DATA_API: \"click\" + wt + At,\n      KEYDOWN_DATA_API: \"keydown\" + wt + At,\n      KEYUP_DATA_API: \"keyup\" + wt + At\n    },\n    Pt = \"disabled\",\n    Lt = \"show\",\n    jt = \"dropup\",\n    Ht = \"dropright\",\n    Rt = \"dropleft\",\n    xt = \"dropdown-menu-right\",\n    Ft = \"position-static\",\n    Ut = '[data-toggle=\"dropdown\"]',\n    Wt = \".dropdown form\",\n    qt = \".dropdown-menu\",\n    Mt = \".navbar-nav\",\n    Kt = \".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)\",\n    Qt = \"top-start\",\n    Bt = \"top-end\",\n    Vt = \"bottom-start\",\n    Yt = \"bottom-end\",\n    zt = \"right-start\",\n    Xt = \"left-start\",\n    $t = {\n      offset: 0,\n      flip: !0,\n      boundary: \"scrollParent\",\n      reference: \"toggle\",\n      display: \"dynamic\"\n    },\n    Gt = {\n      offset: \"(number|string|function)\",\n      flip: \"boolean\",\n      boundary: \"(string|element)\",\n      reference: \"(string|element)\",\n      display: \"string\"\n    },\n    Jt = function () {\n      function c(t, e) {\n        this._element = t, this._popper = null, this._config = this._getConfig(e), this._menu = this._getMenuElement(), this._inNavbar = this._detectNavbar(), this._addEventListeners();\n      }\n      var t = c.prototype;\n      return t.toggle = function () {\n        if (!this._element.disabled && !g(this._element).hasClass(Pt)) {\n          var t = c._getParentFromElement(this._element),\n            e = g(this._menu).hasClass(Lt);\n          if (c._clearMenus(), !e) {\n            var n = {\n                relatedTarget: this._element\n              },\n              i = g.Event(kt.SHOW, n);\n            if (g(t).trigger(i), !i.isDefaultPrevented()) {\n              if (!this._inNavbar) {\n                if (\"undefined\" == typeof u) throw new TypeError(\"Bootstrap's dropdowns require Popper.js (https://popper.js.org/)\");\n                var o = this._element;\n                \"parent\" === this._config.reference ? o = t : _.isElement(this._config.reference) && (o = this._config.reference, \"undefined\" != typeof this._config.reference.jquery && (o = this._config.reference[0])), \"scrollParent\" !== this._config.boundary && g(t).addClass(Ft), this._popper = new u(o, this._menu, this._getPopperConfig());\n              }\n              \"ontouchstart\" in document.documentElement && 0 === g(t).closest(Mt).length && g(document.body).children().on(\"mouseover\", null, g.noop), this._element.focus(), this._element.setAttribute(\"aria-expanded\", !0), g(this._menu).toggleClass(Lt), g(t).toggleClass(Lt).trigger(g.Event(kt.SHOWN, n));\n            }\n          }\n        }\n      }, t.show = function () {\n        if (!(this._element.disabled || g(this._element).hasClass(Pt) || g(this._menu).hasClass(Lt))) {\n          var t = {\n              relatedTarget: this._element\n            },\n            e = g.Event(kt.SHOW, t),\n            n = c._getParentFromElement(this._element);\n          g(n).trigger(e), e.isDefaultPrevented() || (g(this._menu).toggleClass(Lt), g(n).toggleClass(Lt).trigger(g.Event(kt.SHOWN, t)));\n        }\n      }, t.hide = function () {\n        if (!this._element.disabled && !g(this._element).hasClass(Pt) && g(this._menu).hasClass(Lt)) {\n          var t = {\n              relatedTarget: this._element\n            },\n            e = g.Event(kt.HIDE, t),\n            n = c._getParentFromElement(this._element);\n          g(n).trigger(e), e.isDefaultPrevented() || (g(this._menu).toggleClass(Lt), g(n).toggleClass(Lt).trigger(g.Event(kt.HIDDEN, t)));\n        }\n      }, t.dispose = function () {\n        g.removeData(this._element, Dt), g(this._element).off(wt), this._element = null, (this._menu = null) !== this._popper && (this._popper.destroy(), this._popper = null);\n      }, t.update = function () {\n        this._inNavbar = this._detectNavbar(), null !== this._popper && this._popper.scheduleUpdate();\n      }, t._addEventListeners = function () {\n        var e = this;\n        g(this._element).on(kt.CLICK, function (t) {\n          t.preventDefault(), t.stopPropagation(), e.toggle();\n        });\n      }, t._getConfig = function (t) {\n        return t = l({}, this.constructor.Default, g(this._element).data(), t), _.typeCheckConfig(It, t, this.constructor.DefaultType), t;\n      }, t._getMenuElement = function () {\n        if (!this._menu) {\n          var t = c._getParentFromElement(this._element);\n          t && (this._menu = t.querySelector(qt));\n        }\n        return this._menu;\n      }, t._getPlacement = function () {\n        var t = g(this._element.parentNode),\n          e = Vt;\n        return t.hasClass(jt) ? (e = Qt, g(this._menu).hasClass(xt) && (e = Bt)) : t.hasClass(Ht) ? e = zt : t.hasClass(Rt) ? e = Xt : g(this._menu).hasClass(xt) && (e = Yt), e;\n      }, t._detectNavbar = function () {\n        return 0 < g(this._element).closest(\".navbar\").length;\n      }, t._getOffset = function () {\n        var e = this,\n          t = {};\n        return \"function\" == typeof this._config.offset ? t.fn = function (t) {\n          return t.offsets = l({}, t.offsets, e._config.offset(t.offsets, e._element) || {}), t;\n        } : t.offset = this._config.offset, t;\n      }, t._getPopperConfig = function () {\n        var t = {\n          placement: this._getPlacement(),\n          modifiers: {\n            offset: this._getOffset(),\n            flip: {\n              enabled: this._config.flip\n            },\n            preventOverflow: {\n              boundariesElement: this._config.boundary\n            }\n          }\n        };\n        return \"static\" === this._config.display && (t.modifiers.applyStyle = {\n          enabled: !1\n        }), t;\n      }, c._jQueryInterface = function (e) {\n        return this.each(function () {\n          var t = g(this).data(Dt);\n          if (t || (t = new c(this, \"object\" == _typeof(e) ? e : null), g(this).data(Dt, t)), \"string\" == typeof e) {\n            if (\"undefined\" == typeof t[e]) throw new TypeError('No method named \"' + e + '\"');\n            t[e]();\n          }\n        });\n      }, c._clearMenus = function (t) {\n        if (!t || 3 !== t.which && (\"keyup\" !== t.type || 9 === t.which)) for (var e = [].slice.call(document.querySelectorAll(Ut)), n = 0, i = e.length; n < i; n++) {\n          var o = c._getParentFromElement(e[n]),\n            r = g(e[n]).data(Dt),\n            s = {\n              relatedTarget: e[n]\n            };\n          if (t && \"click\" === t.type && (s.clickEvent = t), r) {\n            var a = r._menu;\n            if (g(o).hasClass(Lt) && !(t && (\"click\" === t.type && /input|textarea/i.test(t.target.tagName) || \"keyup\" === t.type && 9 === t.which) && g.contains(o, t.target))) {\n              var l = g.Event(kt.HIDE, s);\n              g(o).trigger(l), l.isDefaultPrevented() || (\"ontouchstart\" in document.documentElement && g(document.body).children().off(\"mouseover\", null, g.noop), e[n].setAttribute(\"aria-expanded\", \"false\"), g(a).removeClass(Lt), g(o).removeClass(Lt).trigger(g.Event(kt.HIDDEN, s)));\n            }\n          }\n        }\n      }, c._getParentFromElement = function (t) {\n        var e,\n          n = _.getSelectorFromElement(t);\n        return n && (e = document.querySelector(n)), e || t.parentNode;\n      }, c._dataApiKeydownHandler = function (t) {\n        if ((/input|textarea/i.test(t.target.tagName) ? !(32 === t.which || 27 !== t.which && (40 !== t.which && 38 !== t.which || g(t.target).closest(qt).length)) : Ot.test(t.which)) && (t.preventDefault(), t.stopPropagation(), !this.disabled && !g(this).hasClass(Pt))) {\n          var e = c._getParentFromElement(this),\n            n = g(e).hasClass(Lt);\n          if (n && (!n || 27 !== t.which && 32 !== t.which)) {\n            var i = [].slice.call(e.querySelectorAll(Kt));\n            if (0 !== i.length) {\n              var o = i.indexOf(t.target);\n              38 === t.which && 0 < o && o--, 40 === t.which && o < i.length - 1 && o++, o < 0 && (o = 0), i[o].focus();\n            }\n          } else {\n            if (27 === t.which) {\n              var r = e.querySelector(Ut);\n              g(r).trigger(\"focus\");\n            }\n            g(this).trigger(\"click\");\n          }\n        }\n      }, s(c, null, [{\n        key: \"VERSION\",\n        get: function get() {\n          return \"4.3.1\";\n        }\n      }, {\n        key: \"Default\",\n        get: function get() {\n          return $t;\n        }\n      }, {\n        key: \"DefaultType\",\n        get: function get() {\n          return Gt;\n        }\n      }]), c;\n    }();\n  g(document).on(kt.KEYDOWN_DATA_API, Ut, Jt._dataApiKeydownHandler).on(kt.KEYDOWN_DATA_API, qt, Jt._dataApiKeydownHandler).on(kt.CLICK_DATA_API + \" \" + kt.KEYUP_DATA_API, Jt._clearMenus).on(kt.CLICK_DATA_API, Ut, function (t) {\n    t.preventDefault(), t.stopPropagation(), Jt._jQueryInterface.call(g(this), \"toggle\");\n  }).on(kt.CLICK_DATA_API, Wt, function (t) {\n    t.stopPropagation();\n  }), g.fn[It] = Jt._jQueryInterface, g.fn[It].Constructor = Jt, g.fn[It].noConflict = function () {\n    return g.fn[It] = Nt, Jt._jQueryInterface;\n  };\n  var Zt = \"modal\",\n    te = \"bs.modal\",\n    ee = \".\" + te,\n    ne = g.fn[Zt],\n    ie = {\n      backdrop: !0,\n      keyboard: !0,\n      focus: !0,\n      show: !0\n    },\n    oe = {\n      backdrop: \"(boolean|string)\",\n      keyboard: \"boolean\",\n      focus: \"boolean\",\n      show: \"boolean\"\n    },\n    re = {\n      HIDE: \"hide\" + ee,\n      HIDDEN: \"hidden\" + ee,\n      SHOW: \"show\" + ee,\n      SHOWN: \"shown\" + ee,\n      FOCUSIN: \"focusin\" + ee,\n      RESIZE: \"resize\" + ee,\n      CLICK_DISMISS: \"click.dismiss\" + ee,\n      KEYDOWN_DISMISS: \"keydown.dismiss\" + ee,\n      MOUSEUP_DISMISS: \"mouseup.dismiss\" + ee,\n      MOUSEDOWN_DISMISS: \"mousedown.dismiss\" + ee,\n      CLICK_DATA_API: \"click\" + ee + \".data-api\"\n    },\n    se = \"modal-dialog-scrollable\",\n    ae = \"modal-scrollbar-measure\",\n    le = \"modal-backdrop\",\n    ce = \"modal-open\",\n    he = \"fade\",\n    ue = \"show\",\n    fe = \".modal-dialog\",\n    de = \".modal-body\",\n    ge = '[data-toggle=\"modal\"]',\n    _e = '[data-dismiss=\"modal\"]',\n    me = \".fixed-top, .fixed-bottom, .is-fixed, .sticky-top\",\n    pe = \".sticky-top\",\n    ve = function () {\n      function o(t, e) {\n        this._config = this._getConfig(e), this._element = t, this._dialog = t.querySelector(fe), this._backdrop = null, this._isShown = !1, this._isBodyOverflowing = !1, this._ignoreBackdropClick = !1, this._isTransitioning = !1, this._scrollbarWidth = 0;\n      }\n      var t = o.prototype;\n      return t.toggle = function (t) {\n        return this._isShown ? this.hide() : this.show(t);\n      }, t.show = function (t) {\n        var e = this;\n        if (!this._isShown && !this._isTransitioning) {\n          g(this._element).hasClass(he) && (this._isTransitioning = !0);\n          var n = g.Event(re.SHOW, {\n            relatedTarget: t\n          });\n          g(this._element).trigger(n), this._isShown || n.isDefaultPrevented() || (this._isShown = !0, this._checkScrollbar(), this._setScrollbar(), this._adjustDialog(), this._setEscapeEvent(), this._setResizeEvent(), g(this._element).on(re.CLICK_DISMISS, _e, function (t) {\n            return e.hide(t);\n          }), g(this._dialog).on(re.MOUSEDOWN_DISMISS, function () {\n            g(e._element).one(re.MOUSEUP_DISMISS, function (t) {\n              g(t.target).is(e._element) && (e._ignoreBackdropClick = !0);\n            });\n          }), this._showBackdrop(function () {\n            return e._showElement(t);\n          }));\n        }\n      }, t.hide = function (t) {\n        var e = this;\n        if (t && t.preventDefault(), this._isShown && !this._isTransitioning) {\n          var n = g.Event(re.HIDE);\n          if (g(this._element).trigger(n), this._isShown && !n.isDefaultPrevented()) {\n            this._isShown = !1;\n            var i = g(this._element).hasClass(he);\n            if (i && (this._isTransitioning = !0), this._setEscapeEvent(), this._setResizeEvent(), g(document).off(re.FOCUSIN), g(this._element).removeClass(ue), g(this._element).off(re.CLICK_DISMISS), g(this._dialog).off(re.MOUSEDOWN_DISMISS), i) {\n              var o = _.getTransitionDurationFromElement(this._element);\n              g(this._element).one(_.TRANSITION_END, function (t) {\n                return e._hideModal(t);\n              }).emulateTransitionEnd(o);\n            } else this._hideModal();\n          }\n        }\n      }, t.dispose = function () {\n        [window, this._element, this._dialog].forEach(function (t) {\n          return g(t).off(ee);\n        }), g(document).off(re.FOCUSIN), g.removeData(this._element, te), this._config = null, this._element = null, this._dialog = null, this._backdrop = null, this._isShown = null, this._isBodyOverflowing = null, this._ignoreBackdropClick = null, this._isTransitioning = null, this._scrollbarWidth = null;\n      }, t.handleUpdate = function () {\n        this._adjustDialog();\n      }, t._getConfig = function (t) {\n        return t = l({}, ie, t), _.typeCheckConfig(Zt, t, oe), t;\n      }, t._showElement = function (t) {\n        var e = this,\n          n = g(this._element).hasClass(he);\n        this._element.parentNode && this._element.parentNode.nodeType === Node.ELEMENT_NODE || document.body.appendChild(this._element), this._element.style.display = \"block\", this._element.removeAttribute(\"aria-hidden\"), this._element.setAttribute(\"aria-modal\", !0), g(this._dialog).hasClass(se) ? this._dialog.querySelector(de).scrollTop = 0 : this._element.scrollTop = 0, n && _.reflow(this._element), g(this._element).addClass(ue), this._config.focus && this._enforceFocus();\n        var i = g.Event(re.SHOWN, {\n            relatedTarget: t\n          }),\n          o = function o() {\n            e._config.focus && e._element.focus(), e._isTransitioning = !1, g(e._element).trigger(i);\n          };\n        if (n) {\n          var r = _.getTransitionDurationFromElement(this._dialog);\n          g(this._dialog).one(_.TRANSITION_END, o).emulateTransitionEnd(r);\n        } else o();\n      }, t._enforceFocus = function () {\n        var e = this;\n        g(document).off(re.FOCUSIN).on(re.FOCUSIN, function (t) {\n          document !== t.target && e._element !== t.target && 0 === g(e._element).has(t.target).length && e._element.focus();\n        });\n      }, t._setEscapeEvent = function () {\n        var e = this;\n        this._isShown && this._config.keyboard ? g(this._element).on(re.KEYDOWN_DISMISS, function (t) {\n          27 === t.which && (t.preventDefault(), e.hide());\n        }) : this._isShown || g(this._element).off(re.KEYDOWN_DISMISS);\n      }, t._setResizeEvent = function () {\n        var e = this;\n        this._isShown ? g(window).on(re.RESIZE, function (t) {\n          return e.handleUpdate(t);\n        }) : g(window).off(re.RESIZE);\n      }, t._hideModal = function () {\n        var t = this;\n        this._element.style.display = \"none\", this._element.setAttribute(\"aria-hidden\", !0), this._element.removeAttribute(\"aria-modal\"), this._isTransitioning = !1, this._showBackdrop(function () {\n          g(document.body).removeClass(ce), t._resetAdjustments(), t._resetScrollbar(), g(t._element).trigger(re.HIDDEN);\n        });\n      }, t._removeBackdrop = function () {\n        this._backdrop && (g(this._backdrop).remove(), this._backdrop = null);\n      }, t._showBackdrop = function (t) {\n        var e = this,\n          n = g(this._element).hasClass(he) ? he : \"\";\n        if (this._isShown && this._config.backdrop) {\n          if (this._backdrop = document.createElement(\"div\"), this._backdrop.className = le, n && this._backdrop.classList.add(n), g(this._backdrop).appendTo(document.body), g(this._element).on(re.CLICK_DISMISS, function (t) {\n            e._ignoreBackdropClick ? e._ignoreBackdropClick = !1 : t.target === t.currentTarget && (\"static\" === e._config.backdrop ? e._element.focus() : e.hide());\n          }), n && _.reflow(this._backdrop), g(this._backdrop).addClass(ue), !t) return;\n          if (!n) return void t();\n          var i = _.getTransitionDurationFromElement(this._backdrop);\n          g(this._backdrop).one(_.TRANSITION_END, t).emulateTransitionEnd(i);\n        } else if (!this._isShown && this._backdrop) {\n          g(this._backdrop).removeClass(ue);\n          var o = function o() {\n            e._removeBackdrop(), t && t();\n          };\n          if (g(this._element).hasClass(he)) {\n            var r = _.getTransitionDurationFromElement(this._backdrop);\n            g(this._backdrop).one(_.TRANSITION_END, o).emulateTransitionEnd(r);\n          } else o();\n        } else t && t();\n      }, t._adjustDialog = function () {\n        var t = this._element.scrollHeight > document.documentElement.clientHeight;\n        !this._isBodyOverflowing && t && (this._element.style.paddingLeft = this._scrollbarWidth + \"px\"), this._isBodyOverflowing && !t && (this._element.style.paddingRight = this._scrollbarWidth + \"px\");\n      }, t._resetAdjustments = function () {\n        this._element.style.paddingLeft = \"\", this._element.style.paddingRight = \"\";\n      }, t._checkScrollbar = function () {\n        var t = document.body.getBoundingClientRect();\n        this._isBodyOverflowing = t.left + t.right < window.innerWidth, this._scrollbarWidth = this._getScrollbarWidth();\n      }, t._setScrollbar = function () {\n        var o = this;\n        if (this._isBodyOverflowing) {\n          var t = [].slice.call(document.querySelectorAll(me)),\n            e = [].slice.call(document.querySelectorAll(pe));\n          g(t).each(function (t, e) {\n            var n = e.style.paddingRight,\n              i = g(e).css(\"padding-right\");\n            g(e).data(\"padding-right\", n).css(\"padding-right\", parseFloat(i) + o._scrollbarWidth + \"px\");\n          }), g(e).each(function (t, e) {\n            var n = e.style.marginRight,\n              i = g(e).css(\"margin-right\");\n            g(e).data(\"margin-right\", n).css(\"margin-right\", parseFloat(i) - o._scrollbarWidth + \"px\");\n          });\n          var n = document.body.style.paddingRight,\n            i = g(document.body).css(\"padding-right\");\n          g(document.body).data(\"padding-right\", n).css(\"padding-right\", parseFloat(i) + this._scrollbarWidth + \"px\");\n        }\n        g(document.body).addClass(ce);\n      }, t._resetScrollbar = function () {\n        var t = [].slice.call(document.querySelectorAll(me));\n        g(t).each(function (t, e) {\n          var n = g(e).data(\"padding-right\");\n          g(e).removeData(\"padding-right\"), e.style.paddingRight = n || \"\";\n        });\n        var e = [].slice.call(document.querySelectorAll(\"\" + pe));\n        g(e).each(function (t, e) {\n          var n = g(e).data(\"margin-right\");\n          \"undefined\" != typeof n && g(e).css(\"margin-right\", n).removeData(\"margin-right\");\n        });\n        var n = g(document.body).data(\"padding-right\");\n        g(document.body).removeData(\"padding-right\"), document.body.style.paddingRight = n || \"\";\n      }, t._getScrollbarWidth = function () {\n        var t = document.createElement(\"div\");\n        t.className = ae, document.body.appendChild(t);\n        var e = t.getBoundingClientRect().width - t.clientWidth;\n        return document.body.removeChild(t), e;\n      }, o._jQueryInterface = function (n, i) {\n        return this.each(function () {\n          var t = g(this).data(te),\n            e = l({}, ie, g(this).data(), \"object\" == _typeof(n) && n ? n : {});\n          if (t || (t = new o(this, e), g(this).data(te, t)), \"string\" == typeof n) {\n            if (\"undefined\" == typeof t[n]) throw new TypeError('No method named \"' + n + '\"');\n            t[n](i);\n          } else e.show && t.show(i);\n        });\n      }, s(o, null, [{\n        key: \"VERSION\",\n        get: function get() {\n          return \"4.3.1\";\n        }\n      }, {\n        key: \"Default\",\n        get: function get() {\n          return ie;\n        }\n      }]), o;\n    }();\n  g(document).on(re.CLICK_DATA_API, ge, function (t) {\n    var e,\n      n = this,\n      i = _.getSelectorFromElement(this);\n    i && (e = document.querySelector(i));\n    var o = g(e).data(te) ? \"toggle\" : l({}, g(e).data(), g(this).data());\n    \"A\" !== this.tagName && \"AREA\" !== this.tagName || t.preventDefault();\n    var r = g(e).one(re.SHOW, function (t) {\n      t.isDefaultPrevented() || r.one(re.HIDDEN, function () {\n        g(n).is(\":visible\") && n.focus();\n      });\n    });\n    ve._jQueryInterface.call(g(e), o, this);\n  }), g.fn[Zt] = ve._jQueryInterface, g.fn[Zt].Constructor = ve, g.fn[Zt].noConflict = function () {\n    return g.fn[Zt] = ne, ve._jQueryInterface;\n  };\n  var ye = [\"background\", \"cite\", \"href\", \"itemtype\", \"longdesc\", \"poster\", \"src\", \"xlink:href\"],\n    Ee = {\n      \"*\": [\"class\", \"dir\", \"id\", \"lang\", \"role\", /^aria-[\\w-]*$/i],\n      a: [\"target\", \"href\", \"title\", \"rel\"],\n      area: [],\n      b: [],\n      br: [],\n      col: [],\n      code: [],\n      div: [],\n      em: [],\n      hr: [],\n      h1: [],\n      h2: [],\n      h3: [],\n      h4: [],\n      h5: [],\n      h6: [],\n      i: [],\n      img: [\"src\", \"alt\", \"title\", \"width\", \"height\"],\n      li: [],\n      ol: [],\n      p: [],\n      pre: [],\n      s: [],\n      small: [],\n      span: [],\n      sub: [],\n      sup: [],\n      strong: [],\n      u: [],\n      ul: []\n    },\n    Ce = /^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,\n    Te = /^data:(?:image\\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\\/(?:mpeg|mp4|ogg|webm)|audio\\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+/]+=*$/i;\n  function Se(t, s, e) {\n    if (0 === t.length) return t;\n    if (e && \"function\" == typeof e) return e(t);\n    for (var n = new window.DOMParser().parseFromString(t, \"text/html\"), a = Object.keys(s), l = [].slice.call(n.body.querySelectorAll(\"*\")), i = function i(t, e) {\n        var n = l[t],\n          i = n.nodeName.toLowerCase();\n        if (-1 === a.indexOf(n.nodeName.toLowerCase())) return n.parentNode.removeChild(n), \"continue\";\n        var o = [].slice.call(n.attributes),\n          r = [].concat(s[\"*\"] || [], s[i] || []);\n        o.forEach(function (t) {\n          (function (t, e) {\n            var n = t.nodeName.toLowerCase();\n            if (-1 !== e.indexOf(n)) return -1 === ye.indexOf(n) || Boolean(t.nodeValue.match(Ce) || t.nodeValue.match(Te));\n            for (var i = e.filter(function (t) {\n                return t instanceof RegExp;\n              }), o = 0, r = i.length; o < r; o++) if (n.match(i[o])) return !0;\n            return !1;\n          })(t, r) || n.removeAttribute(t.nodeName);\n        });\n      }, o = 0, r = l.length; o < r; o++) i(o);\n    return n.body.innerHTML;\n  }\n  var be = \"tooltip\",\n    Ie = \"bs.tooltip\",\n    De = \".\" + Ie,\n    we = g.fn[be],\n    Ae = \"bs-tooltip\",\n    Ne = new RegExp(\"(^|\\\\s)\" + Ae + \"\\\\S+\", \"g\"),\n    Oe = [\"sanitize\", \"whiteList\", \"sanitizeFn\"],\n    ke = {\n      animation: \"boolean\",\n      template: \"string\",\n      title: \"(string|element|function)\",\n      trigger: \"string\",\n      delay: \"(number|object)\",\n      html: \"boolean\",\n      selector: \"(string|boolean)\",\n      placement: \"(string|function)\",\n      offset: \"(number|string|function)\",\n      container: \"(string|element|boolean)\",\n      fallbackPlacement: \"(string|array)\",\n      boundary: \"(string|element)\",\n      sanitize: \"boolean\",\n      sanitizeFn: \"(null|function)\",\n      whiteList: \"object\"\n    },\n    Pe = {\n      AUTO: \"auto\",\n      TOP: \"top\",\n      RIGHT: \"right\",\n      BOTTOM: \"bottom\",\n      LEFT: \"left\"\n    },\n    Le = {\n      animation: !0,\n      template: '<div class=\"tooltip\" role=\"tooltip\"><div class=\"arrow\"></div><div class=\"tooltip-inner\"></div></div>',\n      trigger: \"hover focus\",\n      title: \"\",\n      delay: 0,\n      html: !1,\n      selector: !1,\n      placement: \"top\",\n      offset: 0,\n      container: !1,\n      fallbackPlacement: \"flip\",\n      boundary: \"scrollParent\",\n      sanitize: !0,\n      sanitizeFn: null,\n      whiteList: Ee\n    },\n    je = \"show\",\n    He = \"out\",\n    Re = {\n      HIDE: \"hide\" + De,\n      HIDDEN: \"hidden\" + De,\n      SHOW: \"show\" + De,\n      SHOWN: \"shown\" + De,\n      INSERTED: \"inserted\" + De,\n      CLICK: \"click\" + De,\n      FOCUSIN: \"focusin\" + De,\n      FOCUSOUT: \"focusout\" + De,\n      MOUSEENTER: \"mouseenter\" + De,\n      MOUSELEAVE: \"mouseleave\" + De\n    },\n    xe = \"fade\",\n    Fe = \"show\",\n    Ue = \".tooltip-inner\",\n    We = \".arrow\",\n    qe = \"hover\",\n    Me = \"focus\",\n    Ke = \"click\",\n    Qe = \"manual\",\n    Be = function () {\n      function i(t, e) {\n        if (\"undefined\" == typeof u) throw new TypeError(\"Bootstrap's tooltips require Popper.js (https://popper.js.org/)\");\n        this._isEnabled = !0, this._timeout = 0, this._hoverState = \"\", this._activeTrigger = {}, this._popper = null, this.element = t, this.config = this._getConfig(e), this.tip = null, this._setListeners();\n      }\n      var t = i.prototype;\n      return t.enable = function () {\n        this._isEnabled = !0;\n      }, t.disable = function () {\n        this._isEnabled = !1;\n      }, t.toggleEnabled = function () {\n        this._isEnabled = !this._isEnabled;\n      }, t.toggle = function (t) {\n        if (this._isEnabled) if (t) {\n          var e = this.constructor.DATA_KEY,\n            n = g(t.currentTarget).data(e);\n          n || (n = new this.constructor(t.currentTarget, this._getDelegateConfig()), g(t.currentTarget).data(e, n)), n._activeTrigger.click = !n._activeTrigger.click, n._isWithActiveTrigger() ? n._enter(null, n) : n._leave(null, n);\n        } else {\n          if (g(this.getTipElement()).hasClass(Fe)) return void this._leave(null, this);\n          this._enter(null, this);\n        }\n      }, t.dispose = function () {\n        clearTimeout(this._timeout), g.removeData(this.element, this.constructor.DATA_KEY), g(this.element).off(this.constructor.EVENT_KEY), g(this.element).closest(\".modal\").off(\"hide.bs.modal\"), this.tip && g(this.tip).remove(), this._isEnabled = null, this._timeout = null, this._hoverState = null, (this._activeTrigger = null) !== this._popper && this._popper.destroy(), this._popper = null, this.element = null, this.config = null, this.tip = null;\n      }, t.show = function () {\n        var e = this;\n        if (\"none\" === g(this.element).css(\"display\")) throw new Error(\"Please use show on visible elements\");\n        var t = g.Event(this.constructor.Event.SHOW);\n        if (this.isWithContent() && this._isEnabled) {\n          g(this.element).trigger(t);\n          var n = _.findShadowRoot(this.element),\n            i = g.contains(null !== n ? n : this.element.ownerDocument.documentElement, this.element);\n          if (t.isDefaultPrevented() || !i) return;\n          var o = this.getTipElement(),\n            r = _.getUID(this.constructor.NAME);\n          o.setAttribute(\"id\", r), this.element.setAttribute(\"aria-describedby\", r), this.setContent(), this.config.animation && g(o).addClass(xe);\n          var s = \"function\" == typeof this.config.placement ? this.config.placement.call(this, o, this.element) : this.config.placement,\n            a = this._getAttachment(s);\n          this.addAttachmentClass(a);\n          var l = this._getContainer();\n          g(o).data(this.constructor.DATA_KEY, this), g.contains(this.element.ownerDocument.documentElement, this.tip) || g(o).appendTo(l), g(this.element).trigger(this.constructor.Event.INSERTED), this._popper = new u(this.element, o, {\n            placement: a,\n            modifiers: {\n              offset: this._getOffset(),\n              flip: {\n                behavior: this.config.fallbackPlacement\n              },\n              arrow: {\n                element: We\n              },\n              preventOverflow: {\n                boundariesElement: this.config.boundary\n              }\n            },\n            onCreate: function onCreate(t) {\n              t.originalPlacement !== t.placement && e._handlePopperPlacementChange(t);\n            },\n            onUpdate: function onUpdate(t) {\n              return e._handlePopperPlacementChange(t);\n            }\n          }), g(o).addClass(Fe), \"ontouchstart\" in document.documentElement && g(document.body).children().on(\"mouseover\", null, g.noop);\n          var c = function c() {\n            e.config.animation && e._fixTransition();\n            var t = e._hoverState;\n            e._hoverState = null, g(e.element).trigger(e.constructor.Event.SHOWN), t === He && e._leave(null, e);\n          };\n          if (g(this.tip).hasClass(xe)) {\n            var h = _.getTransitionDurationFromElement(this.tip);\n            g(this.tip).one(_.TRANSITION_END, c).emulateTransitionEnd(h);\n          } else c();\n        }\n      }, t.hide = function (t) {\n        var e = this,\n          n = this.getTipElement(),\n          i = g.Event(this.constructor.Event.HIDE),\n          o = function o() {\n            e._hoverState !== je && n.parentNode && n.parentNode.removeChild(n), e._cleanTipClass(), e.element.removeAttribute(\"aria-describedby\"), g(e.element).trigger(e.constructor.Event.HIDDEN), null !== e._popper && e._popper.destroy(), t && t();\n          };\n        if (g(this.element).trigger(i), !i.isDefaultPrevented()) {\n          if (g(n).removeClass(Fe), \"ontouchstart\" in document.documentElement && g(document.body).children().off(\"mouseover\", null, g.noop), this._activeTrigger[Ke] = !1, this._activeTrigger[Me] = !1, this._activeTrigger[qe] = !1, g(this.tip).hasClass(xe)) {\n            var r = _.getTransitionDurationFromElement(n);\n            g(n).one(_.TRANSITION_END, o).emulateTransitionEnd(r);\n          } else o();\n          this._hoverState = \"\";\n        }\n      }, t.update = function () {\n        null !== this._popper && this._popper.scheduleUpdate();\n      }, t.isWithContent = function () {\n        return Boolean(this.getTitle());\n      }, t.addAttachmentClass = function (t) {\n        g(this.getTipElement()).addClass(Ae + \"-\" + t);\n      }, t.getTipElement = function () {\n        return this.tip = this.tip || g(this.config.template)[0], this.tip;\n      }, t.setContent = function () {\n        var t = this.getTipElement();\n        this.setElementContent(g(t.querySelectorAll(Ue)), this.getTitle()), g(t).removeClass(xe + \" \" + Fe);\n      }, t.setElementContent = function (t, e) {\n        \"object\" != _typeof(e) || !e.nodeType && !e.jquery ? this.config.html ? (this.config.sanitize && (e = Se(e, this.config.whiteList, this.config.sanitizeFn)), t.html(e)) : t.text(e) : this.config.html ? g(e).parent().is(t) || t.empty().append(e) : t.text(g(e).text());\n      }, t.getTitle = function () {\n        var t = this.element.getAttribute(\"data-original-title\");\n        return t || (t = \"function\" == typeof this.config.title ? this.config.title.call(this.element) : this.config.title), t;\n      }, t._getOffset = function () {\n        var e = this,\n          t = {};\n        return \"function\" == typeof this.config.offset ? t.fn = function (t) {\n          return t.offsets = l({}, t.offsets, e.config.offset(t.offsets, e.element) || {}), t;\n        } : t.offset = this.config.offset, t;\n      }, t._getContainer = function () {\n        return !1 === this.config.container ? document.body : _.isElement(this.config.container) ? g(this.config.container) : g(document).find(this.config.container);\n      }, t._getAttachment = function (t) {\n        return Pe[t.toUpperCase()];\n      }, t._setListeners = function () {\n        var i = this;\n        this.config.trigger.split(\" \").forEach(function (t) {\n          if (\"click\" === t) g(i.element).on(i.constructor.Event.CLICK, i.config.selector, function (t) {\n            return i.toggle(t);\n          });else if (t !== Qe) {\n            var e = t === qe ? i.constructor.Event.MOUSEENTER : i.constructor.Event.FOCUSIN,\n              n = t === qe ? i.constructor.Event.MOUSELEAVE : i.constructor.Event.FOCUSOUT;\n            g(i.element).on(e, i.config.selector, function (t) {\n              return i._enter(t);\n            }).on(n, i.config.selector, function (t) {\n              return i._leave(t);\n            });\n          }\n        }), g(this.element).closest(\".modal\").on(\"hide.bs.modal\", function () {\n          i.element && i.hide();\n        }), this.config.selector ? this.config = l({}, this.config, {\n          trigger: \"manual\",\n          selector: \"\"\n        }) : this._fixTitle();\n      }, t._fixTitle = function () {\n        var t = _typeof(this.element.getAttribute(\"data-original-title\"));\n        (this.element.getAttribute(\"title\") || \"string\" !== t) && (this.element.setAttribute(\"data-original-title\", this.element.getAttribute(\"title\") || \"\"), this.element.setAttribute(\"title\", \"\"));\n      }, t._enter = function (t, e) {\n        var n = this.constructor.DATA_KEY;\n        (e = e || g(t.currentTarget).data(n)) || (e = new this.constructor(t.currentTarget, this._getDelegateConfig()), g(t.currentTarget).data(n, e)), t && (e._activeTrigger[\"focusin\" === t.type ? Me : qe] = !0), g(e.getTipElement()).hasClass(Fe) || e._hoverState === je ? e._hoverState = je : (clearTimeout(e._timeout), e._hoverState = je, e.config.delay && e.config.delay.show ? e._timeout = setTimeout(function () {\n          e._hoverState === je && e.show();\n        }, e.config.delay.show) : e.show());\n      }, t._leave = function (t, e) {\n        var n = this.constructor.DATA_KEY;\n        (e = e || g(t.currentTarget).data(n)) || (e = new this.constructor(t.currentTarget, this._getDelegateConfig()), g(t.currentTarget).data(n, e)), t && (e._activeTrigger[\"focusout\" === t.type ? Me : qe] = !1), e._isWithActiveTrigger() || (clearTimeout(e._timeout), e._hoverState = He, e.config.delay && e.config.delay.hide ? e._timeout = setTimeout(function () {\n          e._hoverState === He && e.hide();\n        }, e.config.delay.hide) : e.hide());\n      }, t._isWithActiveTrigger = function () {\n        for (var t in this._activeTrigger) if (this._activeTrigger[t]) return !0;\n        return !1;\n      }, t._getConfig = function (t) {\n        var e = g(this.element).data();\n        return Object.keys(e).forEach(function (t) {\n          -1 !== Oe.indexOf(t) && delete e[t];\n        }), \"number\" == typeof (t = l({}, this.constructor.Default, e, \"object\" == _typeof(t) && t ? t : {})).delay && (t.delay = {\n          show: t.delay,\n          hide: t.delay\n        }), \"number\" == typeof t.title && (t.title = t.title.toString()), \"number\" == typeof t.content && (t.content = t.content.toString()), _.typeCheckConfig(be, t, this.constructor.DefaultType), t.sanitize && (t.template = Se(t.template, t.whiteList, t.sanitizeFn)), t;\n      }, t._getDelegateConfig = function () {\n        var t = {};\n        if (this.config) for (var e in this.config) this.constructor.Default[e] !== this.config[e] && (t[e] = this.config[e]);\n        return t;\n      }, t._cleanTipClass = function () {\n        var t = g(this.getTipElement()),\n          e = t.attr(\"class\").match(Ne);\n        null !== e && e.length && t.removeClass(e.join(\"\"));\n      }, t._handlePopperPlacementChange = function (t) {\n        var e = t.instance;\n        this.tip = e.popper, this._cleanTipClass(), this.addAttachmentClass(this._getAttachment(t.placement));\n      }, t._fixTransition = function () {\n        var t = this.getTipElement(),\n          e = this.config.animation;\n        null === t.getAttribute(\"x-placement\") && (g(t).removeClass(xe), this.config.animation = !1, this.hide(), this.show(), this.config.animation = e);\n      }, i._jQueryInterface = function (n) {\n        return this.each(function () {\n          var t = g(this).data(Ie),\n            e = \"object\" == _typeof(n) && n;\n          if ((t || !/dispose|hide/.test(n)) && (t || (t = new i(this, e), g(this).data(Ie, t)), \"string\" == typeof n)) {\n            if (\"undefined\" == typeof t[n]) throw new TypeError('No method named \"' + n + '\"');\n            t[n]();\n          }\n        });\n      }, s(i, null, [{\n        key: \"VERSION\",\n        get: function get() {\n          return \"4.3.1\";\n        }\n      }, {\n        key: \"Default\",\n        get: function get() {\n          return Le;\n        }\n      }, {\n        key: \"NAME\",\n        get: function get() {\n          return be;\n        }\n      }, {\n        key: \"DATA_KEY\",\n        get: function get() {\n          return Ie;\n        }\n      }, {\n        key: \"Event\",\n        get: function get() {\n          return Re;\n        }\n      }, {\n        key: \"EVENT_KEY\",\n        get: function get() {\n          return De;\n        }\n      }, {\n        key: \"DefaultType\",\n        get: function get() {\n          return ke;\n        }\n      }]), i;\n    }();\n  g.fn[be] = Be._jQueryInterface, g.fn[be].Constructor = Be, g.fn[be].noConflict = function () {\n    return g.fn[be] = we, Be._jQueryInterface;\n  };\n  var Ve = \"popover\",\n    Ye = \"bs.popover\",\n    ze = \".\" + Ye,\n    Xe = g.fn[Ve],\n    $e = \"bs-popover\",\n    Ge = new RegExp(\"(^|\\\\s)\" + $e + \"\\\\S+\", \"g\"),\n    Je = l({}, Be.Default, {\n      placement: \"right\",\n      trigger: \"click\",\n      content: \"\",\n      template: '<div class=\"popover\" role=\"tooltip\"><div class=\"arrow\"></div><h3 class=\"popover-header\"></h3><div class=\"popover-body\"></div></div>'\n    }),\n    Ze = l({}, Be.DefaultType, {\n      content: \"(string|element|function)\"\n    }),\n    tn = \"fade\",\n    en = \"show\",\n    nn = \".popover-header\",\n    on = \".popover-body\",\n    rn = {\n      HIDE: \"hide\" + ze,\n      HIDDEN: \"hidden\" + ze,\n      SHOW: \"show\" + ze,\n      SHOWN: \"shown\" + ze,\n      INSERTED: \"inserted\" + ze,\n      CLICK: \"click\" + ze,\n      FOCUSIN: \"focusin\" + ze,\n      FOCUSOUT: \"focusout\" + ze,\n      MOUSEENTER: \"mouseenter\" + ze,\n      MOUSELEAVE: \"mouseleave\" + ze\n    },\n    sn = function (t) {\n      var e, n;\n      function i() {\n        return t.apply(this, arguments) || this;\n      }\n      n = t, (e = i).prototype = Object.create(n.prototype), (e.prototype.constructor = e).__proto__ = n;\n      var o = i.prototype;\n      return o.isWithContent = function () {\n        return this.getTitle() || this._getContent();\n      }, o.addAttachmentClass = function (t) {\n        g(this.getTipElement()).addClass($e + \"-\" + t);\n      }, o.getTipElement = function () {\n        return this.tip = this.tip || g(this.config.template)[0], this.tip;\n      }, o.setContent = function () {\n        var t = g(this.getTipElement());\n        this.setElementContent(t.find(nn), this.getTitle());\n        var e = this._getContent();\n        \"function\" == typeof e && (e = e.call(this.element)), this.setElementContent(t.find(on), e), t.removeClass(tn + \" \" + en);\n      }, o._getContent = function () {\n        return this.element.getAttribute(\"data-content\") || this.config.content;\n      }, o._cleanTipClass = function () {\n        var t = g(this.getTipElement()),\n          e = t.attr(\"class\").match(Ge);\n        null !== e && 0 < e.length && t.removeClass(e.join(\"\"));\n      }, i._jQueryInterface = function (n) {\n        return this.each(function () {\n          var t = g(this).data(Ye),\n            e = \"object\" == _typeof(n) ? n : null;\n          if ((t || !/dispose|hide/.test(n)) && (t || (t = new i(this, e), g(this).data(Ye, t)), \"string\" == typeof n)) {\n            if (\"undefined\" == typeof t[n]) throw new TypeError('No method named \"' + n + '\"');\n            t[n]();\n          }\n        });\n      }, s(i, null, [{\n        key: \"VERSION\",\n        get: function get() {\n          return \"4.3.1\";\n        }\n      }, {\n        key: \"Default\",\n        get: function get() {\n          return Je;\n        }\n      }, {\n        key: \"NAME\",\n        get: function get() {\n          return Ve;\n        }\n      }, {\n        key: \"DATA_KEY\",\n        get: function get() {\n          return Ye;\n        }\n      }, {\n        key: \"Event\",\n        get: function get() {\n          return rn;\n        }\n      }, {\n        key: \"EVENT_KEY\",\n        get: function get() {\n          return ze;\n        }\n      }, {\n        key: \"DefaultType\",\n        get: function get() {\n          return Ze;\n        }\n      }]), i;\n    }(Be);\n  g.fn[Ve] = sn._jQueryInterface, g.fn[Ve].Constructor = sn, g.fn[Ve].noConflict = function () {\n    return g.fn[Ve] = Xe, sn._jQueryInterface;\n  };\n  var an = \"scrollspy\",\n    ln = \"bs.scrollspy\",\n    cn = \".\" + ln,\n    hn = g.fn[an],\n    un = {\n      offset: 10,\n      method: \"auto\",\n      target: \"\"\n    },\n    fn = {\n      offset: \"number\",\n      method: \"string\",\n      target: \"(string|element)\"\n    },\n    dn = {\n      ACTIVATE: \"activate\" + cn,\n      SCROLL: \"scroll\" + cn,\n      LOAD_DATA_API: \"load\" + cn + \".data-api\"\n    },\n    gn = \"dropdown-item\",\n    _n = \"active\",\n    mn = '[data-spy=\"scroll\"]',\n    pn = \".nav, .list-group\",\n    vn = \".nav-link\",\n    yn = \".nav-item\",\n    En = \".list-group-item\",\n    Cn = \".dropdown\",\n    Tn = \".dropdown-item\",\n    Sn = \".dropdown-toggle\",\n    bn = \"offset\",\n    In = \"position\",\n    Dn = function () {\n      function n(t, e) {\n        var n = this;\n        this._element = t, this._scrollElement = \"BODY\" === t.tagName ? window : t, this._config = this._getConfig(e), this._selector = this._config.target + \" \" + vn + \",\" + this._config.target + \" \" + En + \",\" + this._config.target + \" \" + Tn, this._offsets = [], this._targets = [], this._activeTarget = null, this._scrollHeight = 0, g(this._scrollElement).on(dn.SCROLL, function (t) {\n          return n._process(t);\n        }), this.refresh(), this._process();\n      }\n      var t = n.prototype;\n      return t.refresh = function () {\n        var e = this,\n          t = this._scrollElement === this._scrollElement.window ? bn : In,\n          o = \"auto\" === this._config.method ? t : this._config.method,\n          r = o === In ? this._getScrollTop() : 0;\n        this._offsets = [], this._targets = [], this._scrollHeight = this._getScrollHeight(), [].slice.call(document.querySelectorAll(this._selector)).map(function (t) {\n          var e,\n            n = _.getSelectorFromElement(t);\n          if (n && (e = document.querySelector(n)), e) {\n            var i = e.getBoundingClientRect();\n            if (i.width || i.height) return [g(e)[o]().top + r, n];\n          }\n          return null;\n        }).filter(function (t) {\n          return t;\n        }).sort(function (t, e) {\n          return t[0] - e[0];\n        }).forEach(function (t) {\n          e._offsets.push(t[0]), e._targets.push(t[1]);\n        });\n      }, t.dispose = function () {\n        g.removeData(this._element, ln), g(this._scrollElement).off(cn), this._element = null, this._scrollElement = null, this._config = null, this._selector = null, this._offsets = null, this._targets = null, this._activeTarget = null, this._scrollHeight = null;\n      }, t._getConfig = function (t) {\n        if (\"string\" != typeof (t = l({}, un, \"object\" == _typeof(t) && t ? t : {})).target) {\n          var e = g(t.target).attr(\"id\");\n          e || (e = _.getUID(an), g(t.target).attr(\"id\", e)), t.target = \"#\" + e;\n        }\n        return _.typeCheckConfig(an, t, fn), t;\n      }, t._getScrollTop = function () {\n        return this._scrollElement === window ? this._scrollElement.pageYOffset : this._scrollElement.scrollTop;\n      }, t._getScrollHeight = function () {\n        return this._scrollElement.scrollHeight || Math.max(document.body.scrollHeight, document.documentElement.scrollHeight);\n      }, t._getOffsetHeight = function () {\n        return this._scrollElement === window ? window.innerHeight : this._scrollElement.getBoundingClientRect().height;\n      }, t._process = function () {\n        var t = this._getScrollTop() + this._config.offset,\n          e = this._getScrollHeight(),\n          n = this._config.offset + e - this._getOffsetHeight();\n        if (this._scrollHeight !== e && this.refresh(), n <= t) {\n          var i = this._targets[this._targets.length - 1];\n          this._activeTarget !== i && this._activate(i);\n        } else {\n          if (this._activeTarget && t < this._offsets[0] && 0 < this._offsets[0]) return this._activeTarget = null, void this._clear();\n          for (var o = this._offsets.length; o--;) {\n            this._activeTarget !== this._targets[o] && t >= this._offsets[o] && (\"undefined\" == typeof this._offsets[o + 1] || t < this._offsets[o + 1]) && this._activate(this._targets[o]);\n          }\n        }\n      }, t._activate = function (e) {\n        this._activeTarget = e, this._clear();\n        var t = this._selector.split(\",\").map(function (t) {\n            return t + '[data-target=\"' + e + '\"],' + t + '[href=\"' + e + '\"]';\n          }),\n          n = g([].slice.call(document.querySelectorAll(t.join(\",\"))));\n        n.hasClass(gn) ? (n.closest(Cn).find(Sn).addClass(_n), n.addClass(_n)) : (n.addClass(_n), n.parents(pn).prev(vn + \", \" + En).addClass(_n), n.parents(pn).prev(yn).children(vn).addClass(_n)), g(this._scrollElement).trigger(dn.ACTIVATE, {\n          relatedTarget: e\n        });\n      }, t._clear = function () {\n        [].slice.call(document.querySelectorAll(this._selector)).filter(function (t) {\n          return t.classList.contains(_n);\n        }).forEach(function (t) {\n          return t.classList.remove(_n);\n        });\n      }, n._jQueryInterface = function (e) {\n        return this.each(function () {\n          var t = g(this).data(ln);\n          if (t || (t = new n(this, \"object\" == _typeof(e) && e), g(this).data(ln, t)), \"string\" == typeof e) {\n            if (\"undefined\" == typeof t[e]) throw new TypeError('No method named \"' + e + '\"');\n            t[e]();\n          }\n        });\n      }, s(n, null, [{\n        key: \"VERSION\",\n        get: function get() {\n          return \"4.3.1\";\n        }\n      }, {\n        key: \"Default\",\n        get: function get() {\n          return un;\n        }\n      }]), n;\n    }();\n  g(window).on(dn.LOAD_DATA_API, function () {\n    for (var t = [].slice.call(document.querySelectorAll(mn)), e = t.length; e--;) {\n      var n = g(t[e]);\n      Dn._jQueryInterface.call(n, n.data());\n    }\n  }), g.fn[an] = Dn._jQueryInterface, g.fn[an].Constructor = Dn, g.fn[an].noConflict = function () {\n    return g.fn[an] = hn, Dn._jQueryInterface;\n  };\n  var wn = \"bs.tab\",\n    An = \".\" + wn,\n    Nn = g.fn.tab,\n    On = {\n      HIDE: \"hide\" + An,\n      HIDDEN: \"hidden\" + An,\n      SHOW: \"show\" + An,\n      SHOWN: \"shown\" + An,\n      CLICK_DATA_API: \"click\" + An + \".data-api\"\n    },\n    kn = \"dropdown-menu\",\n    Pn = \"active\",\n    Ln = \"disabled\",\n    jn = \"fade\",\n    Hn = \"show\",\n    Rn = \".dropdown\",\n    xn = \".nav, .list-group\",\n    Fn = \".active\",\n    Un = \"> li > .active\",\n    Wn = '[data-toggle=\"tab\"], [data-toggle=\"pill\"], [data-toggle=\"list\"]',\n    qn = \".dropdown-toggle\",\n    Mn = \"> .dropdown-menu .active\",\n    Kn = function () {\n      function i(t) {\n        this._element = t;\n      }\n      var t = i.prototype;\n      return t.show = function () {\n        var n = this;\n        if (!(this._element.parentNode && this._element.parentNode.nodeType === Node.ELEMENT_NODE && g(this._element).hasClass(Pn) || g(this._element).hasClass(Ln))) {\n          var t,\n            i,\n            e = g(this._element).closest(xn)[0],\n            o = _.getSelectorFromElement(this._element);\n          if (e) {\n            var r = \"UL\" === e.nodeName || \"OL\" === e.nodeName ? Un : Fn;\n            i = (i = g.makeArray(g(e).find(r)))[i.length - 1];\n          }\n          var s = g.Event(On.HIDE, {\n              relatedTarget: this._element\n            }),\n            a = g.Event(On.SHOW, {\n              relatedTarget: i\n            });\n          if (i && g(i).trigger(s), g(this._element).trigger(a), !a.isDefaultPrevented() && !s.isDefaultPrevented()) {\n            o && (t = document.querySelector(o)), this._activate(this._element, e);\n            var l = function l() {\n              var t = g.Event(On.HIDDEN, {\n                  relatedTarget: n._element\n                }),\n                e = g.Event(On.SHOWN, {\n                  relatedTarget: i\n                });\n              g(i).trigger(t), g(n._element).trigger(e);\n            };\n            t ? this._activate(t, t.parentNode, l) : l();\n          }\n        }\n      }, t.dispose = function () {\n        g.removeData(this._element, wn), this._element = null;\n      }, t._activate = function (t, e, n) {\n        var i = this,\n          o = (!e || \"UL\" !== e.nodeName && \"OL\" !== e.nodeName ? g(e).children(Fn) : g(e).find(Un))[0],\n          r = n && o && g(o).hasClass(jn),\n          s = function s() {\n            return i._transitionComplete(t, o, n);\n          };\n        if (o && r) {\n          var a = _.getTransitionDurationFromElement(o);\n          g(o).removeClass(Hn).one(_.TRANSITION_END, s).emulateTransitionEnd(a);\n        } else s();\n      }, t._transitionComplete = function (t, e, n) {\n        if (e) {\n          g(e).removeClass(Pn);\n          var i = g(e.parentNode).find(Mn)[0];\n          i && g(i).removeClass(Pn), \"tab\" === e.getAttribute(\"role\") && e.setAttribute(\"aria-selected\", !1);\n        }\n        if (g(t).addClass(Pn), \"tab\" === t.getAttribute(\"role\") && t.setAttribute(\"aria-selected\", !0), _.reflow(t), t.classList.contains(jn) && t.classList.add(Hn), t.parentNode && g(t.parentNode).hasClass(kn)) {\n          var o = g(t).closest(Rn)[0];\n          if (o) {\n            var r = [].slice.call(o.querySelectorAll(qn));\n            g(r).addClass(Pn);\n          }\n          t.setAttribute(\"aria-expanded\", !0);\n        }\n        n && n();\n      }, i._jQueryInterface = function (n) {\n        return this.each(function () {\n          var t = g(this),\n            e = t.data(wn);\n          if (e || (e = new i(this), t.data(wn, e)), \"string\" == typeof n) {\n            if (\"undefined\" == typeof e[n]) throw new TypeError('No method named \"' + n + '\"');\n            e[n]();\n          }\n        });\n      }, s(i, null, [{\n        key: \"VERSION\",\n        get: function get() {\n          return \"4.3.1\";\n        }\n      }]), i;\n    }();\n  g(document).on(On.CLICK_DATA_API, Wn, function (t) {\n    t.preventDefault(), Kn._jQueryInterface.call(g(this), \"show\");\n  }), g.fn.tab = Kn._jQueryInterface, g.fn.tab.Constructor = Kn, g.fn.tab.noConflict = function () {\n    return g.fn.tab = Nn, Kn._jQueryInterface;\n  };\n  var Qn = \"toast\",\n    Bn = \"bs.toast\",\n    Vn = \".\" + Bn,\n    Yn = g.fn[Qn],\n    zn = {\n      CLICK_DISMISS: \"click.dismiss\" + Vn,\n      HIDE: \"hide\" + Vn,\n      HIDDEN: \"hidden\" + Vn,\n      SHOW: \"show\" + Vn,\n      SHOWN: \"shown\" + Vn\n    },\n    Xn = \"fade\",\n    $n = \"hide\",\n    Gn = \"show\",\n    Jn = \"showing\",\n    Zn = {\n      animation: \"boolean\",\n      autohide: \"boolean\",\n      delay: \"number\"\n    },\n    ti = {\n      animation: !0,\n      autohide: !0,\n      delay: 500\n    },\n    ei = '[data-dismiss=\"toast\"]',\n    ni = function () {\n      function i(t, e) {\n        this._element = t, this._config = this._getConfig(e), this._timeout = null, this._setListeners();\n      }\n      var t = i.prototype;\n      return t.show = function () {\n        var t = this;\n        g(this._element).trigger(zn.SHOW), this._config.animation && this._element.classList.add(Xn);\n        var e = function e() {\n          t._element.classList.remove(Jn), t._element.classList.add(Gn), g(t._element).trigger(zn.SHOWN), t._config.autohide && t.hide();\n        };\n        if (this._element.classList.remove($n), this._element.classList.add(Jn), this._config.animation) {\n          var n = _.getTransitionDurationFromElement(this._element);\n          g(this._element).one(_.TRANSITION_END, e).emulateTransitionEnd(n);\n        } else e();\n      }, t.hide = function (t) {\n        var e = this;\n        this._element.classList.contains(Gn) && (g(this._element).trigger(zn.HIDE), t ? this._close() : this._timeout = setTimeout(function () {\n          e._close();\n        }, this._config.delay));\n      }, t.dispose = function () {\n        clearTimeout(this._timeout), this._timeout = null, this._element.classList.contains(Gn) && this._element.classList.remove(Gn), g(this._element).off(zn.CLICK_DISMISS), g.removeData(this._element, Bn), this._element = null, this._config = null;\n      }, t._getConfig = function (t) {\n        return t = l({}, ti, g(this._element).data(), \"object\" == _typeof(t) && t ? t : {}), _.typeCheckConfig(Qn, t, this.constructor.DefaultType), t;\n      }, t._setListeners = function () {\n        var t = this;\n        g(this._element).on(zn.CLICK_DISMISS, ei, function () {\n          return t.hide(!0);\n        });\n      }, t._close = function () {\n        var t = this,\n          e = function e() {\n            t._element.classList.add($n), g(t._element).trigger(zn.HIDDEN);\n          };\n        if (this._element.classList.remove(Gn), this._config.animation) {\n          var n = _.getTransitionDurationFromElement(this._element);\n          g(this._element).one(_.TRANSITION_END, e).emulateTransitionEnd(n);\n        } else e();\n      }, i._jQueryInterface = function (n) {\n        return this.each(function () {\n          var t = g(this),\n            e = t.data(Bn);\n          if (e || (e = new i(this, \"object\" == _typeof(n) && n), t.data(Bn, e)), \"string\" == typeof n) {\n            if (\"undefined\" == typeof e[n]) throw new TypeError('No method named \"' + n + '\"');\n            e[n](this);\n          }\n        });\n      }, s(i, null, [{\n        key: \"VERSION\",\n        get: function get() {\n          return \"4.3.1\";\n        }\n      }, {\n        key: \"DefaultType\",\n        get: function get() {\n          return Zn;\n        }\n      }, {\n        key: \"Default\",\n        get: function get() {\n          return ti;\n        }\n      }]), i;\n    }();\n  g.fn[Qn] = ni._jQueryInterface, g.fn[Qn].Constructor = ni, g.fn[Qn].noConflict = function () {\n    return g.fn[Qn] = Yn, ni._jQueryInterface;\n  }, function () {\n    if (\"undefined\" == typeof g) throw new TypeError(\"Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.\");\n    var t = g.fn.jquery.split(\" \")[0].split(\".\");\n    if (t[0] < 2 && t[1] < 9 || 1 === t[0] && 9 === t[1] && t[2] < 1 || 4 <= t[0]) throw new Error(\"Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0\");\n  }(), t.Util = _, t.Alert = p, t.Button = P, t.Carousel = lt, t.Collapse = bt, t.Dropdown = Jt, t.Modal = ve, t.Popover = sn, t.Scrollspy = Dn, t.Tab = Kn, t.Toast = ni, t.Tooltip = Be, Object.defineProperty(t, \"__esModule\", {\n    value: !0\n  });\n});\n\n//# sourceURL=webpack:///./buyercall/assets/scripts/mobile/bootstrap.min.js?");

/***/ }),

/***/ "./buyercall/assets/scripts/mobile/mobile.js":
/*!***************************************************!*\
  !*** ./buyercall/assets/scripts/mobile/mobile.js ***!
  \***************************************************/
/*! no static exports found */
/***/ (function(module, exports) {

eval("$(function () {\n  $(\"#leadspickerFrom\").datepicker();\n  $(\"#leadspickerTo\").datepicker();\n});\n\n//# sourceURL=webpack:///./buyercall/assets/scripts/mobile/mobile.js?");

/***/ }),

/***/ "./node_modules/jquery-mask-plugin/dist/jquery.mask.js":
/*!*************************************************************!*\
  !*** ./node_modules/jquery-mask-plugin/dist/jquery.mask.js ***!
  \*************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

eval("var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/**\n * jquery.mask.js\n * @version: v1.14.16\n * @author: Igor Escobar\n *\n * Created by Igor Escobar on 2012-03-10. Please report any bug at github.com/igorescobar/jQuery-Mask-Plugin\n *\n * Copyright (c) 2012 Igor Escobar http://igorescobar.com\n *\n * The MIT License (http://www.opensource.org/licenses/mit-license.php)\n *\n * Permission is hereby granted, free of charge, to any person\n * obtaining a copy of this software and associated documentation\n * files (the \"Software\"), to deal in the Software without\n * restriction, including without limitation the rights to use,\n * copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the\n * Software is furnished to do so, subject to the following\n * conditions:\n *\n * The above copyright notice and this permission notice shall be\n * included in all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES\n * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\n * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT\n * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,\n * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\n * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\n * OTHER DEALINGS IN THE SOFTWARE.\n */\n\n/* jshint laxbreak: true */\n/* jshint maxcomplexity:17 */\n/* global define */\n\n// UMD (Universal Module Definition) patterns for JavaScript modules that work everywhere.\n// https://github.com/umdjs/umd/blob/master/templates/jqueryPlugin.js\n(function (factory, jQuery, Zepto) {\n\n    if (true) {\n        !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! jquery */ \"jquery\")], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),\n\t\t\t\t__WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?\n\t\t\t\t(__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),\n\t\t\t\t__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n    } else {}\n\n}(function ($) {\n    'use strict';\n\n    var Mask = function (el, mask, options) {\n\n        var p = {\n            invalid: [],\n            getCaret: function () {\n                try {\n                    var sel,\n                        pos = 0,\n                        ctrl = el.get(0),\n                        dSel = document.selection,\n                        cSelStart = ctrl.selectionStart;\n\n                    // IE Support\n                    if (dSel && navigator.appVersion.indexOf('MSIE 10') === -1) {\n                        sel = dSel.createRange();\n                        sel.moveStart('character', -p.val().length);\n                        pos = sel.text.length;\n                    }\n                    // Firefox support\n                    else if (cSelStart || cSelStart === '0') {\n                        pos = cSelStart;\n                    }\n\n                    return pos;\n                } catch (e) {}\n            },\n            setCaret: function(pos) {\n                try {\n                    if (el.is(':focus')) {\n                        var range, ctrl = el.get(0);\n\n                        // Firefox, WebKit, etc..\n                        if (ctrl.setSelectionRange) {\n                            ctrl.setSelectionRange(pos, pos);\n                        } else { // IE\n                            range = ctrl.createTextRange();\n                            range.collapse(true);\n                            range.moveEnd('character', pos);\n                            range.moveStart('character', pos);\n                            range.select();\n                        }\n                    }\n                } catch (e) {}\n            },\n            events: function() {\n                el\n                .on('keydown.mask', function(e) {\n                    el.data('mask-keycode', e.keyCode || e.which);\n                    el.data('mask-previus-value', el.val());\n                    el.data('mask-previus-caret-pos', p.getCaret());\n                    p.maskDigitPosMapOld = p.maskDigitPosMap;\n                })\n                .on($.jMaskGlobals.useInput ? 'input.mask' : 'keyup.mask', p.behaviour)\n                .on('paste.mask drop.mask', function() {\n                    setTimeout(function() {\n                        el.keydown().keyup();\n                    }, 100);\n                })\n                .on('change.mask', function(){\n                    el.data('changed', true);\n                })\n                .on('blur.mask', function(){\n                    if (oldValue !== p.val() && !el.data('changed')) {\n                        el.trigger('change');\n                    }\n                    el.data('changed', false);\n                })\n                // it's very important that this callback remains in this position\n                // otherwhise oldValue it's going to work buggy\n                .on('blur.mask', function() {\n                    oldValue = p.val();\n                })\n                // select all text on focus\n                .on('focus.mask', function (e) {\n                    if (options.selectOnFocus === true) {\n                        $(e.target).select();\n                    }\n                })\n                // clear the value if it not complete the mask\n                .on('focusout.mask', function() {\n                    if (options.clearIfNotMatch && !regexMask.test(p.val())) {\n                       p.val('');\n                   }\n                });\n            },\n            getRegexMask: function() {\n                var maskChunks = [], translation, pattern, optional, recursive, oRecursive, r;\n\n                for (var i = 0; i < mask.length; i++) {\n                    translation = jMask.translation[mask.charAt(i)];\n\n                    if (translation) {\n\n                        pattern = translation.pattern.toString().replace(/.{1}$|^.{1}/g, '');\n                        optional = translation.optional;\n                        recursive = translation.recursive;\n\n                        if (recursive) {\n                            maskChunks.push(mask.charAt(i));\n                            oRecursive = {digit: mask.charAt(i), pattern: pattern};\n                        } else {\n                            maskChunks.push(!optional && !recursive ? pattern : (pattern + '?'));\n                        }\n\n                    } else {\n                        maskChunks.push(mask.charAt(i).replace(/[-\\/\\\\^$*+?.()|[\\]{}]/g, '\\\\$&'));\n                    }\n                }\n\n                r = maskChunks.join('');\n\n                if (oRecursive) {\n                    r = r.replace(new RegExp('(' + oRecursive.digit + '(.*' + oRecursive.digit + ')?)'), '($1)?')\n                         .replace(new RegExp(oRecursive.digit, 'g'), oRecursive.pattern);\n                }\n\n                return new RegExp(r);\n            },\n            destroyEvents: function() {\n                el.off(['input', 'keydown', 'keyup', 'paste', 'drop', 'blur', 'focusout', ''].join('.mask '));\n            },\n            val: function(v) {\n                var isInput = el.is('input'),\n                    method = isInput ? 'val' : 'text',\n                    r;\n\n                if (arguments.length > 0) {\n                    if (el[method]() !== v) {\n                        el[method](v);\n                    }\n                    r = el;\n                } else {\n                    r = el[method]();\n                }\n\n                return r;\n            },\n            calculateCaretPosition: function(oldVal) {\n                var newVal = p.getMasked(),\n                    caretPosNew = p.getCaret();\n                if (oldVal !== newVal) {\n                    var caretPosOld = el.data('mask-previus-caret-pos') || 0,\n                        newValL = newVal.length,\n                        oldValL = oldVal.length,\n                        maskDigitsBeforeCaret = 0,\n                        maskDigitsAfterCaret = 0,\n                        maskDigitsBeforeCaretAll = 0,\n                        maskDigitsBeforeCaretAllOld = 0,\n                        i = 0;\n\n                    for (i = caretPosNew; i < newValL; i++) {\n                        if (!p.maskDigitPosMap[i]) {\n                            break;\n                        }\n                        maskDigitsAfterCaret++;\n                    }\n\n                    for (i = caretPosNew - 1; i >= 0; i--) {\n                        if (!p.maskDigitPosMap[i]) {\n                            break;\n                        }\n                        maskDigitsBeforeCaret++;\n                    }\n\n                    for (i = caretPosNew - 1; i >= 0; i--) {\n                        if (p.maskDigitPosMap[i]) {\n                            maskDigitsBeforeCaretAll++;\n                        }\n                    }\n\n                    for (i = caretPosOld - 1; i >= 0; i--) {\n                        if (p.maskDigitPosMapOld[i]) {\n                            maskDigitsBeforeCaretAllOld++;\n                        }\n                    }\n\n                    // if the cursor is at the end keep it there\n                    if (caretPosNew > oldValL) {\n                      caretPosNew = newValL * 10;\n                    } else if (caretPosOld >= caretPosNew && caretPosOld !== oldValL) {\n                        if (!p.maskDigitPosMapOld[caretPosNew])  {\n                          var caretPos = caretPosNew;\n                          caretPosNew -= maskDigitsBeforeCaretAllOld - maskDigitsBeforeCaretAll;\n                          caretPosNew -= maskDigitsBeforeCaret;\n                          if (p.maskDigitPosMap[caretPosNew])  {\n                            caretPosNew = caretPos;\n                          }\n                        }\n                    }\n                    else if (caretPosNew > caretPosOld) {\n                        caretPosNew += maskDigitsBeforeCaretAll - maskDigitsBeforeCaretAllOld;\n                        caretPosNew += maskDigitsAfterCaret;\n                    }\n                }\n                return caretPosNew;\n            },\n            behaviour: function(e) {\n                e = e || window.event;\n                p.invalid = [];\n\n                var keyCode = el.data('mask-keycode');\n\n                if ($.inArray(keyCode, jMask.byPassKeys) === -1) {\n                    var newVal = p.getMasked(),\n                        caretPos = p.getCaret(),\n                        oldVal = el.data('mask-previus-value') || '';\n\n                    // this is a compensation to devices/browsers that don't compensate\n                    // caret positioning the right way\n                    setTimeout(function() {\n                      p.setCaret(p.calculateCaretPosition(oldVal));\n                    }, $.jMaskGlobals.keyStrokeCompensation);\n\n                    p.val(newVal);\n                    p.setCaret(caretPos);\n                    return p.callbacks(e);\n                }\n            },\n            getMasked: function(skipMaskChars, val) {\n                var buf = [],\n                    value = val === undefined ? p.val() : val + '',\n                    m = 0, maskLen = mask.length,\n                    v = 0, valLen = value.length,\n                    offset = 1, addMethod = 'push',\n                    resetPos = -1,\n                    maskDigitCount = 0,\n                    maskDigitPosArr = [],\n                    lastMaskChar,\n                    check;\n\n                if (options.reverse) {\n                    addMethod = 'unshift';\n                    offset = -1;\n                    lastMaskChar = 0;\n                    m = maskLen - 1;\n                    v = valLen - 1;\n                    check = function () {\n                        return m > -1 && v > -1;\n                    };\n                } else {\n                    lastMaskChar = maskLen - 1;\n                    check = function () {\n                        return m < maskLen && v < valLen;\n                    };\n                }\n\n                var lastUntranslatedMaskChar;\n                while (check()) {\n                    var maskDigit = mask.charAt(m),\n                        valDigit = value.charAt(v),\n                        translation = jMask.translation[maskDigit];\n\n                    if (translation) {\n                        if (valDigit.match(translation.pattern)) {\n                            buf[addMethod](valDigit);\n                             if (translation.recursive) {\n                                if (resetPos === -1) {\n                                    resetPos = m;\n                                } else if (m === lastMaskChar && m !== resetPos) {\n                                    m = resetPos - offset;\n                                }\n\n                                if (lastMaskChar === resetPos) {\n                                    m -= offset;\n                                }\n                            }\n                            m += offset;\n                        } else if (valDigit === lastUntranslatedMaskChar) {\n                            // matched the last untranslated (raw) mask character that we encountered\n                            // likely an insert offset the mask character from the last entry; fall\n                            // through and only increment v\n                            maskDigitCount--;\n                            lastUntranslatedMaskChar = undefined;\n                        } else if (translation.optional) {\n                            m += offset;\n                            v -= offset;\n                        } else if (translation.fallback) {\n                            buf[addMethod](translation.fallback);\n                            m += offset;\n                            v -= offset;\n                        } else {\n                          p.invalid.push({p: v, v: valDigit, e: translation.pattern});\n                        }\n                        v += offset;\n                    } else {\n                        if (!skipMaskChars) {\n                            buf[addMethod](maskDigit);\n                        }\n\n                        if (valDigit === maskDigit) {\n                            maskDigitPosArr.push(v);\n                            v += offset;\n                        } else {\n                            lastUntranslatedMaskChar = maskDigit;\n                            maskDigitPosArr.push(v + maskDigitCount);\n                            maskDigitCount++;\n                        }\n\n                        m += offset;\n                    }\n                }\n\n                var lastMaskCharDigit = mask.charAt(lastMaskChar);\n                if (maskLen === valLen + 1 && !jMask.translation[lastMaskCharDigit]) {\n                    buf.push(lastMaskCharDigit);\n                }\n\n                var newVal = buf.join('');\n                p.mapMaskdigitPositions(newVal, maskDigitPosArr, valLen);\n                return newVal;\n            },\n            mapMaskdigitPositions: function(newVal, maskDigitPosArr, valLen) {\n              var maskDiff = options.reverse ? newVal.length - valLen : 0;\n              p.maskDigitPosMap = {};\n              for (var i = 0; i < maskDigitPosArr.length; i++) {\n                p.maskDigitPosMap[maskDigitPosArr[i] + maskDiff] = 1;\n              }\n            },\n            callbacks: function (e) {\n                var val = p.val(),\n                    changed = val !== oldValue,\n                    defaultArgs = [val, e, el, options],\n                    callback = function(name, criteria, args) {\n                        if (typeof options[name] === 'function' && criteria) {\n                            options[name].apply(this, args);\n                        }\n                    };\n\n                callback('onChange', changed === true, defaultArgs);\n                callback('onKeyPress', changed === true, defaultArgs);\n                callback('onComplete', val.length === mask.length, defaultArgs);\n                callback('onInvalid', p.invalid.length > 0, [val, e, el, p.invalid, options]);\n            }\n        };\n\n        el = $(el);\n        var jMask = this, oldValue = p.val(), regexMask;\n\n        mask = typeof mask === 'function' ? mask(p.val(), undefined, el,  options) : mask;\n\n        // public methods\n        jMask.mask = mask;\n        jMask.options = options;\n        jMask.remove = function() {\n            var caret = p.getCaret();\n            if (jMask.options.placeholder) {\n                el.removeAttr('placeholder');\n            }\n            if (el.data('mask-maxlength')) {\n                el.removeAttr('maxlength');\n            }\n            p.destroyEvents();\n            p.val(jMask.getCleanVal());\n            p.setCaret(caret);\n            return el;\n        };\n\n        // get value without mask\n        jMask.getCleanVal = function() {\n           return p.getMasked(true);\n        };\n\n        // get masked value without the value being in the input or element\n        jMask.getMaskedVal = function(val) {\n           return p.getMasked(false, val);\n        };\n\n       jMask.init = function(onlyMask) {\n            onlyMask = onlyMask || false;\n            options = options || {};\n\n            jMask.clearIfNotMatch  = $.jMaskGlobals.clearIfNotMatch;\n            jMask.byPassKeys       = $.jMaskGlobals.byPassKeys;\n            jMask.translation      = $.extend({}, $.jMaskGlobals.translation, options.translation);\n\n            jMask = $.extend(true, {}, jMask, options);\n\n            regexMask = p.getRegexMask();\n\n            if (onlyMask) {\n                p.events();\n                p.val(p.getMasked());\n            } else {\n                if (options.placeholder) {\n                    el.attr('placeholder' , options.placeholder);\n                }\n\n                // this is necessary, otherwise if the user submit the form\n                // and then press the \"back\" button, the autocomplete will erase\n                // the data. Works fine on IE9+, FF, Opera, Safari.\n                if (el.data('mask')) {\n                  el.attr('autocomplete', 'off');\n                }\n\n                // detect if is necessary let the user type freely.\n                // for is a lot faster than forEach.\n                for (var i = 0, maxlength = true; i < mask.length; i++) {\n                    var translation = jMask.translation[mask.charAt(i)];\n                    if (translation && translation.recursive) {\n                        maxlength = false;\n                        break;\n                    }\n                }\n\n                if (maxlength) {\n                    el.attr('maxlength', mask.length).data('mask-maxlength', true);\n                }\n\n                p.destroyEvents();\n                p.events();\n\n                var caret = p.getCaret();\n                p.val(p.getMasked());\n                p.setCaret(caret);\n            }\n        };\n\n        jMask.init(!el.is('input'));\n    };\n\n    $.maskWatchers = {};\n    var HTMLAttributes = function () {\n        var input = $(this),\n            options = {},\n            prefix = 'data-mask-',\n            mask = input.attr('data-mask');\n\n        if (input.attr(prefix + 'reverse')) {\n            options.reverse = true;\n        }\n\n        if (input.attr(prefix + 'clearifnotmatch')) {\n            options.clearIfNotMatch = true;\n        }\n\n        if (input.attr(prefix + 'selectonfocus') === 'true') {\n           options.selectOnFocus = true;\n        }\n\n        if (notSameMaskObject(input, mask, options)) {\n            return input.data('mask', new Mask(this, mask, options));\n        }\n    },\n    notSameMaskObject = function(field, mask, options) {\n        options = options || {};\n        var maskObject = $(field).data('mask'),\n            stringify = JSON.stringify,\n            value = $(field).val() || $(field).text();\n        try {\n            if (typeof mask === 'function') {\n                mask = mask(value);\n            }\n            return typeof maskObject !== 'object' || stringify(maskObject.options) !== stringify(options) || maskObject.mask !== mask;\n        } catch (e) {}\n    },\n    eventSupported = function(eventName) {\n        var el = document.createElement('div'), isSupported;\n\n        eventName = 'on' + eventName;\n        isSupported = (eventName in el);\n\n        if ( !isSupported ) {\n            el.setAttribute(eventName, 'return;');\n            isSupported = typeof el[eventName] === 'function';\n        }\n        el = null;\n\n        return isSupported;\n    };\n\n    $.fn.mask = function(mask, options) {\n        options = options || {};\n        var selector = this.selector,\n            globals = $.jMaskGlobals,\n            interval = globals.watchInterval,\n            watchInputs = options.watchInputs || globals.watchInputs,\n            maskFunction = function() {\n                if (notSameMaskObject(this, mask, options)) {\n                    return $(this).data('mask', new Mask(this, mask, options));\n                }\n            };\n\n        $(this).each(maskFunction);\n\n        if (selector && selector !== '' && watchInputs) {\n            clearInterval($.maskWatchers[selector]);\n            $.maskWatchers[selector] = setInterval(function(){\n                $(document).find(selector).each(maskFunction);\n            }, interval);\n        }\n        return this;\n    };\n\n    $.fn.masked = function(val) {\n        return this.data('mask').getMaskedVal(val);\n    };\n\n    $.fn.unmask = function() {\n        clearInterval($.maskWatchers[this.selector]);\n        delete $.maskWatchers[this.selector];\n        return this.each(function() {\n            var dataMask = $(this).data('mask');\n            if (dataMask) {\n                dataMask.remove().removeData('mask');\n            }\n        });\n    };\n\n    $.fn.cleanVal = function() {\n        return this.data('mask').getCleanVal();\n    };\n\n    $.applyDataMask = function(selector) {\n        selector = selector || $.jMaskGlobals.maskElements;\n        var $selector = (selector instanceof $) ? selector : $(selector);\n        $selector.filter($.jMaskGlobals.dataMaskAttr).each(HTMLAttributes);\n    };\n\n    var globals = {\n        maskElements: 'input,td,span,div',\n        dataMaskAttr: '*[data-mask]',\n        dataMask: true,\n        watchInterval: 300,\n        watchInputs: true,\n        keyStrokeCompensation: 10,\n        // old versions of chrome dont work great with input event\n        useInput: !/Chrome\\/[2-4][0-9]|SamsungBrowser/.test(window.navigator.userAgent) && eventSupported('input'),\n        watchDataMask: false,\n        byPassKeys: [9, 16, 17, 18, 36, 37, 38, 39, 40, 91],\n        translation: {\n            '0': {pattern: /\\d/},\n            '9': {pattern: /\\d/, optional: true},\n            '#': {pattern: /\\d/, recursive: true},\n            'A': {pattern: /[a-zA-Z0-9]/},\n            'S': {pattern: /[a-zA-Z]/}\n        }\n    };\n\n    $.jMaskGlobals = $.jMaskGlobals || {};\n    globals = $.jMaskGlobals = $.extend(true, {}, globals, $.jMaskGlobals);\n\n    // looking for inputs with data-mask attribute\n    if (globals.dataMask) {\n        $.applyDataMask();\n    }\n\n    setInterval(function() {\n        if ($.jMaskGlobals.watchDataMask) {\n            $.applyDataMask();\n        }\n    }, globals.watchInterval);\n}, window.jQuery, window.Zepto));\n\n\n//# sourceURL=webpack:///./node_modules/jquery-mask-plugin/dist/jquery.mask.js?");

/***/ }),

/***/ "./node_modules/popper.js/dist/esm/popper.js":
/*!***************************************************!*\
  !*** ./node_modules/popper.js/dist/esm/popper.js ***!
  \***************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(global) {/**!\n * @fileOverview Kickass library to create and place poppers near their reference elements.\n * @version 1.16.1\n * @license\n * Copyright (c) 2016 Federico Zivolo and contributors\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in all\n * copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */\nvar isBrowser = typeof window !== 'undefined' && typeof document !== 'undefined' && typeof navigator !== 'undefined';\n\nvar timeoutDuration = function () {\n  var longerTimeoutBrowsers = ['Edge', 'Trident', 'Firefox'];\n  for (var i = 0; i < longerTimeoutBrowsers.length; i += 1) {\n    if (isBrowser && navigator.userAgent.indexOf(longerTimeoutBrowsers[i]) >= 0) {\n      return 1;\n    }\n  }\n  return 0;\n}();\n\nfunction microtaskDebounce(fn) {\n  var called = false;\n  return function () {\n    if (called) {\n      return;\n    }\n    called = true;\n    window.Promise.resolve().then(function () {\n      called = false;\n      fn();\n    });\n  };\n}\n\nfunction taskDebounce(fn) {\n  var scheduled = false;\n  return function () {\n    if (!scheduled) {\n      scheduled = true;\n      setTimeout(function () {\n        scheduled = false;\n        fn();\n      }, timeoutDuration);\n    }\n  };\n}\n\nvar supportsMicroTasks = isBrowser && window.Promise;\n\n/**\n* Create a debounced version of a method, that's asynchronously deferred\n* but called in the minimum time possible.\n*\n* @method\n* @memberof Popper.Utils\n* @argument {Function} fn\n* @returns {Function}\n*/\nvar debounce = supportsMicroTasks ? microtaskDebounce : taskDebounce;\n\n/**\n * Check if the given variable is a function\n * @method\n * @memberof Popper.Utils\n * @argument {Any} functionToCheck - variable to check\n * @returns {Boolean} answer to: is a function?\n */\nfunction isFunction(functionToCheck) {\n  var getType = {};\n  return functionToCheck && getType.toString.call(functionToCheck) === '[object Function]';\n}\n\n/**\n * Get CSS computed property of the given element\n * @method\n * @memberof Popper.Utils\n * @argument {Eement} element\n * @argument {String} property\n */\nfunction getStyleComputedProperty(element, property) {\n  if (element.nodeType !== 1) {\n    return [];\n  }\n  // NOTE: 1 DOM access here\n  var window = element.ownerDocument.defaultView;\n  var css = window.getComputedStyle(element, null);\n  return property ? css[property] : css;\n}\n\n/**\n * Returns the parentNode or the host of the element\n * @method\n * @memberof Popper.Utils\n * @argument {Element} element\n * @returns {Element} parent\n */\nfunction getParentNode(element) {\n  if (element.nodeName === 'HTML') {\n    return element;\n  }\n  return element.parentNode || element.host;\n}\n\n/**\n * Returns the scrolling parent of the given element\n * @method\n * @memberof Popper.Utils\n * @argument {Element} element\n * @returns {Element} scroll parent\n */\nfunction getScrollParent(element) {\n  // Return body, `getScroll` will take care to get the correct `scrollTop` from it\n  if (!element) {\n    return document.body;\n  }\n\n  switch (element.nodeName) {\n    case 'HTML':\n    case 'BODY':\n      return element.ownerDocument.body;\n    case '#document':\n      return element.body;\n  }\n\n  // Firefox want us to check `-x` and `-y` variations as well\n\n  var _getStyleComputedProp = getStyleComputedProperty(element),\n      overflow = _getStyleComputedProp.overflow,\n      overflowX = _getStyleComputedProp.overflowX,\n      overflowY = _getStyleComputedProp.overflowY;\n\n  if (/(auto|scroll|overlay)/.test(overflow + overflowY + overflowX)) {\n    return element;\n  }\n\n  return getScrollParent(getParentNode(element));\n}\n\n/**\n * Returns the reference node of the reference object, or the reference object itself.\n * @method\n * @memberof Popper.Utils\n * @param {Element|Object} reference - the reference element (the popper will be relative to this)\n * @returns {Element} parent\n */\nfunction getReferenceNode(reference) {\n  return reference && reference.referenceNode ? reference.referenceNode : reference;\n}\n\nvar isIE11 = isBrowser && !!(window.MSInputMethodContext && document.documentMode);\nvar isIE10 = isBrowser && /MSIE 10/.test(navigator.userAgent);\n\n/**\n * Determines if the browser is Internet Explorer\n * @method\n * @memberof Popper.Utils\n * @param {Number} version to check\n * @returns {Boolean} isIE\n */\nfunction isIE(version) {\n  if (version === 11) {\n    return isIE11;\n  }\n  if (version === 10) {\n    return isIE10;\n  }\n  return isIE11 || isIE10;\n}\n\n/**\n * Returns the offset parent of the given element\n * @method\n * @memberof Popper.Utils\n * @argument {Element} element\n * @returns {Element} offset parent\n */\nfunction getOffsetParent(element) {\n  if (!element) {\n    return document.documentElement;\n  }\n\n  var noOffsetParent = isIE(10) ? document.body : null;\n\n  // NOTE: 1 DOM access here\n  var offsetParent = element.offsetParent || null;\n  // Skip hidden elements which don't have an offsetParent\n  while (offsetParent === noOffsetParent && element.nextElementSibling) {\n    offsetParent = (element = element.nextElementSibling).offsetParent;\n  }\n\n  var nodeName = offsetParent && offsetParent.nodeName;\n\n  if (!nodeName || nodeName === 'BODY' || nodeName === 'HTML') {\n    return element ? element.ownerDocument.documentElement : document.documentElement;\n  }\n\n  // .offsetParent will return the closest TH, TD or TABLE in case\n  // no offsetParent is present, I hate this job...\n  if (['TH', 'TD', 'TABLE'].indexOf(offsetParent.nodeName) !== -1 && getStyleComputedProperty(offsetParent, 'position') === 'static') {\n    return getOffsetParent(offsetParent);\n  }\n\n  return offsetParent;\n}\n\nfunction isOffsetContainer(element) {\n  var nodeName = element.nodeName;\n\n  if (nodeName === 'BODY') {\n    return false;\n  }\n  return nodeName === 'HTML' || getOffsetParent(element.firstElementChild) === element;\n}\n\n/**\n * Finds the root node (document, shadowDOM root) of the given element\n * @method\n * @memberof Popper.Utils\n * @argument {Element} node\n * @returns {Element} root node\n */\nfunction getRoot(node) {\n  if (node.parentNode !== null) {\n    return getRoot(node.parentNode);\n  }\n\n  return node;\n}\n\n/**\n * Finds the offset parent common to the two provided nodes\n * @method\n * @memberof Popper.Utils\n * @argument {Element} element1\n * @argument {Element} element2\n * @returns {Element} common offset parent\n */\nfunction findCommonOffsetParent(element1, element2) {\n  // This check is needed to avoid errors in case one of the elements isn't defined for any reason\n  if (!element1 || !element1.nodeType || !element2 || !element2.nodeType) {\n    return document.documentElement;\n  }\n\n  // Here we make sure to give as \"start\" the element that comes first in the DOM\n  var order = element1.compareDocumentPosition(element2) & Node.DOCUMENT_POSITION_FOLLOWING;\n  var start = order ? element1 : element2;\n  var end = order ? element2 : element1;\n\n  // Get common ancestor container\n  var range = document.createRange();\n  range.setStart(start, 0);\n  range.setEnd(end, 0);\n  var commonAncestorContainer = range.commonAncestorContainer;\n\n  // Both nodes are inside #document\n\n  if (element1 !== commonAncestorContainer && element2 !== commonAncestorContainer || start.contains(end)) {\n    if (isOffsetContainer(commonAncestorContainer)) {\n      return commonAncestorContainer;\n    }\n\n    return getOffsetParent(commonAncestorContainer);\n  }\n\n  // one of the nodes is inside shadowDOM, find which one\n  var element1root = getRoot(element1);\n  if (element1root.host) {\n    return findCommonOffsetParent(element1root.host, element2);\n  } else {\n    return findCommonOffsetParent(element1, getRoot(element2).host);\n  }\n}\n\n/**\n * Gets the scroll value of the given element in the given side (top and left)\n * @method\n * @memberof Popper.Utils\n * @argument {Element} element\n * @argument {String} side `top` or `left`\n * @returns {number} amount of scrolled pixels\n */\nfunction getScroll(element) {\n  var side = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'top';\n\n  var upperSide = side === 'top' ? 'scrollTop' : 'scrollLeft';\n  var nodeName = element.nodeName;\n\n  if (nodeName === 'BODY' || nodeName === 'HTML') {\n    var html = element.ownerDocument.documentElement;\n    var scrollingElement = element.ownerDocument.scrollingElement || html;\n    return scrollingElement[upperSide];\n  }\n\n  return element[upperSide];\n}\n\n/*\n * Sum or subtract the element scroll values (left and top) from a given rect object\n * @method\n * @memberof Popper.Utils\n * @param {Object} rect - Rect object you want to change\n * @param {HTMLElement} element - The element from the function reads the scroll values\n * @param {Boolean} subtract - set to true if you want to subtract the scroll values\n * @return {Object} rect - The modifier rect object\n */\nfunction includeScroll(rect, element) {\n  var subtract = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;\n\n  var scrollTop = getScroll(element, 'top');\n  var scrollLeft = getScroll(element, 'left');\n  var modifier = subtract ? -1 : 1;\n  rect.top += scrollTop * modifier;\n  rect.bottom += scrollTop * modifier;\n  rect.left += scrollLeft * modifier;\n  rect.right += scrollLeft * modifier;\n  return rect;\n}\n\n/*\n * Helper to detect borders of a given element\n * @method\n * @memberof Popper.Utils\n * @param {CSSStyleDeclaration} styles\n * Result of `getStyleComputedProperty` on the given element\n * @param {String} axis - `x` or `y`\n * @return {number} borders - The borders size of the given axis\n */\n\nfunction getBordersSize(styles, axis) {\n  var sideA = axis === 'x' ? 'Left' : 'Top';\n  var sideB = sideA === 'Left' ? 'Right' : 'Bottom';\n\n  return parseFloat(styles['border' + sideA + 'Width']) + parseFloat(styles['border' + sideB + 'Width']);\n}\n\nfunction getSize(axis, body, html, computedStyle) {\n  return Math.max(body['offset' + axis], body['scroll' + axis], html['client' + axis], html['offset' + axis], html['scroll' + axis], isIE(10) ? parseInt(html['offset' + axis]) + parseInt(computedStyle['margin' + (axis === 'Height' ? 'Top' : 'Left')]) + parseInt(computedStyle['margin' + (axis === 'Height' ? 'Bottom' : 'Right')]) : 0);\n}\n\nfunction getWindowSizes(document) {\n  var body = document.body;\n  var html = document.documentElement;\n  var computedStyle = isIE(10) && getComputedStyle(html);\n\n  return {\n    height: getSize('Height', body, html, computedStyle),\n    width: getSize('Width', body, html, computedStyle)\n  };\n}\n\nvar classCallCheck = function (instance, Constructor) {\n  if (!(instance instanceof Constructor)) {\n    throw new TypeError(\"Cannot call a class as a function\");\n  }\n};\n\nvar createClass = function () {\n  function defineProperties(target, props) {\n    for (var i = 0; i < props.length; i++) {\n      var descriptor = props[i];\n      descriptor.enumerable = descriptor.enumerable || false;\n      descriptor.configurable = true;\n      if (\"value\" in descriptor) descriptor.writable = true;\n      Object.defineProperty(target, descriptor.key, descriptor);\n    }\n  }\n\n  return function (Constructor, protoProps, staticProps) {\n    if (protoProps) defineProperties(Constructor.prototype, protoProps);\n    if (staticProps) defineProperties(Constructor, staticProps);\n    return Constructor;\n  };\n}();\n\n\n\n\n\nvar defineProperty = function (obj, key, value) {\n  if (key in obj) {\n    Object.defineProperty(obj, key, {\n      value: value,\n      enumerable: true,\n      configurable: true,\n      writable: true\n    });\n  } else {\n    obj[key] = value;\n  }\n\n  return obj;\n};\n\nvar _extends = Object.assign || function (target) {\n  for (var i = 1; i < arguments.length; i++) {\n    var source = arguments[i];\n\n    for (var key in source) {\n      if (Object.prototype.hasOwnProperty.call(source, key)) {\n        target[key] = source[key];\n      }\n    }\n  }\n\n  return target;\n};\n\n/**\n * Given element offsets, generate an output similar to getBoundingClientRect\n * @method\n * @memberof Popper.Utils\n * @argument {Object} offsets\n * @returns {Object} ClientRect like output\n */\nfunction getClientRect(offsets) {\n  return _extends({}, offsets, {\n    right: offsets.left + offsets.width,\n    bottom: offsets.top + offsets.height\n  });\n}\n\n/**\n * Get bounding client rect of given element\n * @method\n * @memberof Popper.Utils\n * @param {HTMLElement} element\n * @return {Object} client rect\n */\nfunction getBoundingClientRect(element) {\n  var rect = {};\n\n  // IE10 10 FIX: Please, don't ask, the element isn't\n  // considered in DOM in some circumstances...\n  // This isn't reproducible in IE10 compatibility mode of IE11\n  try {\n    if (isIE(10)) {\n      rect = element.getBoundingClientRect();\n      var scrollTop = getScroll(element, 'top');\n      var scrollLeft = getScroll(element, 'left');\n      rect.top += scrollTop;\n      rect.left += scrollLeft;\n      rect.bottom += scrollTop;\n      rect.right += scrollLeft;\n    } else {\n      rect = element.getBoundingClientRect();\n    }\n  } catch (e) {}\n\n  var result = {\n    left: rect.left,\n    top: rect.top,\n    width: rect.right - rect.left,\n    height: rect.bottom - rect.top\n  };\n\n  // subtract scrollbar size from sizes\n  var sizes = element.nodeName === 'HTML' ? getWindowSizes(element.ownerDocument) : {};\n  var width = sizes.width || element.clientWidth || result.width;\n  var height = sizes.height || element.clientHeight || result.height;\n\n  var horizScrollbar = element.offsetWidth - width;\n  var vertScrollbar = element.offsetHeight - height;\n\n  // if an hypothetical scrollbar is detected, we must be sure it's not a `border`\n  // we make this check conditional for performance reasons\n  if (horizScrollbar || vertScrollbar) {\n    var styles = getStyleComputedProperty(element);\n    horizScrollbar -= getBordersSize(styles, 'x');\n    vertScrollbar -= getBordersSize(styles, 'y');\n\n    result.width -= horizScrollbar;\n    result.height -= vertScrollbar;\n  }\n\n  return getClientRect(result);\n}\n\nfunction getOffsetRectRelativeToArbitraryNode(children, parent) {\n  var fixedPosition = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;\n\n  var isIE10 = isIE(10);\n  var isHTML = parent.nodeName === 'HTML';\n  var childrenRect = getBoundingClientRect(children);\n  var parentRect = getBoundingClientRect(parent);\n  var scrollParent = getScrollParent(children);\n\n  var styles = getStyleComputedProperty(parent);\n  var borderTopWidth = parseFloat(styles.borderTopWidth);\n  var borderLeftWidth = parseFloat(styles.borderLeftWidth);\n\n  // In cases where the parent is fixed, we must ignore negative scroll in offset calc\n  if (fixedPosition && isHTML) {\n    parentRect.top = Math.max(parentRect.top, 0);\n    parentRect.left = Math.max(parentRect.left, 0);\n  }\n  var offsets = getClientRect({\n    top: childrenRect.top - parentRect.top - borderTopWidth,\n    left: childrenRect.left - parentRect.left - borderLeftWidth,\n    width: childrenRect.width,\n    height: childrenRect.height\n  });\n  offsets.marginTop = 0;\n  offsets.marginLeft = 0;\n\n  // Subtract margins of documentElement in case it's being used as parent\n  // we do this only on HTML because it's the only element that behaves\n  // differently when margins are applied to it. The margins are included in\n  // the box of the documentElement, in the other cases not.\n  if (!isIE10 && isHTML) {\n    var marginTop = parseFloat(styles.marginTop);\n    var marginLeft = parseFloat(styles.marginLeft);\n\n    offsets.top -= borderTopWidth - marginTop;\n    offsets.bottom -= borderTopWidth - marginTop;\n    offsets.left -= borderLeftWidth - marginLeft;\n    offsets.right -= borderLeftWidth - marginLeft;\n\n    // Attach marginTop and marginLeft because in some circumstances we may need them\n    offsets.marginTop = marginTop;\n    offsets.marginLeft = marginLeft;\n  }\n\n  if (isIE10 && !fixedPosition ? parent.contains(scrollParent) : parent === scrollParent && scrollParent.nodeName !== 'BODY') {\n    offsets = includeScroll(offsets, parent);\n  }\n\n  return offsets;\n}\n\nfunction getViewportOffsetRectRelativeToArtbitraryNode(element) {\n  var excludeScroll = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n\n  var html = element.ownerDocument.documentElement;\n  var relativeOffset = getOffsetRectRelativeToArbitraryNode(element, html);\n  var width = Math.max(html.clientWidth, window.innerWidth || 0);\n  var height = Math.max(html.clientHeight, window.innerHeight || 0);\n\n  var scrollTop = !excludeScroll ? getScroll(html) : 0;\n  var scrollLeft = !excludeScroll ? getScroll(html, 'left') : 0;\n\n  var offset = {\n    top: scrollTop - relativeOffset.top + relativeOffset.marginTop,\n    left: scrollLeft - relativeOffset.left + relativeOffset.marginLeft,\n    width: width,\n    height: height\n  };\n\n  return getClientRect(offset);\n}\n\n/**\n * Check if the given element is fixed or is inside a fixed parent\n * @method\n * @memberof Popper.Utils\n * @argument {Element} element\n * @argument {Element} customContainer\n * @returns {Boolean} answer to \"isFixed?\"\n */\nfunction isFixed(element) {\n  var nodeName = element.nodeName;\n  if (nodeName === 'BODY' || nodeName === 'HTML') {\n    return false;\n  }\n  if (getStyleComputedProperty(element, 'position') === 'fixed') {\n    return true;\n  }\n  var parentNode = getParentNode(element);\n  if (!parentNode) {\n    return false;\n  }\n  return isFixed(parentNode);\n}\n\n/**\n * Finds the first parent of an element that has a transformed property defined\n * @method\n * @memberof Popper.Utils\n * @argument {Element} element\n * @returns {Element} first transformed parent or documentElement\n */\n\nfunction getFixedPositionOffsetParent(element) {\n  // This check is needed to avoid errors in case one of the elements isn't defined for any reason\n  if (!element || !element.parentElement || isIE()) {\n    return document.documentElement;\n  }\n  var el = element.parentElement;\n  while (el && getStyleComputedProperty(el, 'transform') === 'none') {\n    el = el.parentElement;\n  }\n  return el || document.documentElement;\n}\n\n/**\n * Computed the boundaries limits and return them\n * @method\n * @memberof Popper.Utils\n * @param {HTMLElement} popper\n * @param {HTMLElement} reference\n * @param {number} padding\n * @param {HTMLElement} boundariesElement - Element used to define the boundaries\n * @param {Boolean} fixedPosition - Is in fixed position mode\n * @returns {Object} Coordinates of the boundaries\n */\nfunction getBoundaries(popper, reference, padding, boundariesElement) {\n  var fixedPosition = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : false;\n\n  // NOTE: 1 DOM access here\n\n  var boundaries = { top: 0, left: 0 };\n  var offsetParent = fixedPosition ? getFixedPositionOffsetParent(popper) : findCommonOffsetParent(popper, getReferenceNode(reference));\n\n  // Handle viewport case\n  if (boundariesElement === 'viewport') {\n    boundaries = getViewportOffsetRectRelativeToArtbitraryNode(offsetParent, fixedPosition);\n  } else {\n    // Handle other cases based on DOM element used as boundaries\n    var boundariesNode = void 0;\n    if (boundariesElement === 'scrollParent') {\n      boundariesNode = getScrollParent(getParentNode(reference));\n      if (boundariesNode.nodeName === 'BODY') {\n        boundariesNode = popper.ownerDocument.documentElement;\n      }\n    } else if (boundariesElement === 'window') {\n      boundariesNode = popper.ownerDocument.documentElement;\n    } else {\n      boundariesNode = boundariesElement;\n    }\n\n    var offsets = getOffsetRectRelativeToArbitraryNode(boundariesNode, offsetParent, fixedPosition);\n\n    // In case of HTML, we need a different computation\n    if (boundariesNode.nodeName === 'HTML' && !isFixed(offsetParent)) {\n      var _getWindowSizes = getWindowSizes(popper.ownerDocument),\n          height = _getWindowSizes.height,\n          width = _getWindowSizes.width;\n\n      boundaries.top += offsets.top - offsets.marginTop;\n      boundaries.bottom = height + offsets.top;\n      boundaries.left += offsets.left - offsets.marginLeft;\n      boundaries.right = width + offsets.left;\n    } else {\n      // for all the other DOM elements, this one is good\n      boundaries = offsets;\n    }\n  }\n\n  // Add paddings\n  padding = padding || 0;\n  var isPaddingNumber = typeof padding === 'number';\n  boundaries.left += isPaddingNumber ? padding : padding.left || 0;\n  boundaries.top += isPaddingNumber ? padding : padding.top || 0;\n  boundaries.right -= isPaddingNumber ? padding : padding.right || 0;\n  boundaries.bottom -= isPaddingNumber ? padding : padding.bottom || 0;\n\n  return boundaries;\n}\n\nfunction getArea(_ref) {\n  var width = _ref.width,\n      height = _ref.height;\n\n  return width * height;\n}\n\n/**\n * Utility used to transform the `auto` placement to the placement with more\n * available space.\n * @method\n * @memberof Popper.Utils\n * @argument {Object} data - The data object generated by update method\n * @argument {Object} options - Modifiers configuration and options\n * @returns {Object} The data object, properly modified\n */\nfunction computeAutoPlacement(placement, refRect, popper, reference, boundariesElement) {\n  var padding = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : 0;\n\n  if (placement.indexOf('auto') === -1) {\n    return placement;\n  }\n\n  var boundaries = getBoundaries(popper, reference, padding, boundariesElement);\n\n  var rects = {\n    top: {\n      width: boundaries.width,\n      height: refRect.top - boundaries.top\n    },\n    right: {\n      width: boundaries.right - refRect.right,\n      height: boundaries.height\n    },\n    bottom: {\n      width: boundaries.width,\n      height: boundaries.bottom - refRect.bottom\n    },\n    left: {\n      width: refRect.left - boundaries.left,\n      height: boundaries.height\n    }\n  };\n\n  var sortedAreas = Object.keys(rects).map(function (key) {\n    return _extends({\n      key: key\n    }, rects[key], {\n      area: getArea(rects[key])\n    });\n  }).sort(function (a, b) {\n    return b.area - a.area;\n  });\n\n  var filteredAreas = sortedAreas.filter(function (_ref2) {\n    var width = _ref2.width,\n        height = _ref2.height;\n    return width >= popper.clientWidth && height >= popper.clientHeight;\n  });\n\n  var computedPlacement = filteredAreas.length > 0 ? filteredAreas[0].key : sortedAreas[0].key;\n\n  var variation = placement.split('-')[1];\n\n  return computedPlacement + (variation ? '-' + variation : '');\n}\n\n/**\n * Get offsets to the reference element\n * @method\n * @memberof Popper.Utils\n * @param {Object} state\n * @param {Element} popper - the popper element\n * @param {Element} reference - the reference element (the popper will be relative to this)\n * @param {Element} fixedPosition - is in fixed position mode\n * @returns {Object} An object containing the offsets which will be applied to the popper\n */\nfunction getReferenceOffsets(state, popper, reference) {\n  var fixedPosition = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : null;\n\n  var commonOffsetParent = fixedPosition ? getFixedPositionOffsetParent(popper) : findCommonOffsetParent(popper, getReferenceNode(reference));\n  return getOffsetRectRelativeToArbitraryNode(reference, commonOffsetParent, fixedPosition);\n}\n\n/**\n * Get the outer sizes of the given element (offset size + margins)\n * @method\n * @memberof Popper.Utils\n * @argument {Element} element\n * @returns {Object} object containing width and height properties\n */\nfunction getOuterSizes(element) {\n  var window = element.ownerDocument.defaultView;\n  var styles = window.getComputedStyle(element);\n  var x = parseFloat(styles.marginTop || 0) + parseFloat(styles.marginBottom || 0);\n  var y = parseFloat(styles.marginLeft || 0) + parseFloat(styles.marginRight || 0);\n  var result = {\n    width: element.offsetWidth + y,\n    height: element.offsetHeight + x\n  };\n  return result;\n}\n\n/**\n * Get the opposite placement of the given one\n * @method\n * @memberof Popper.Utils\n * @argument {String} placement\n * @returns {String} flipped placement\n */\nfunction getOppositePlacement(placement) {\n  var hash = { left: 'right', right: 'left', bottom: 'top', top: 'bottom' };\n  return placement.replace(/left|right|bottom|top/g, function (matched) {\n    return hash[matched];\n  });\n}\n\n/**\n * Get offsets to the popper\n * @method\n * @memberof Popper.Utils\n * @param {Object} position - CSS position the Popper will get applied\n * @param {HTMLElement} popper - the popper element\n * @param {Object} referenceOffsets - the reference offsets (the popper will be relative to this)\n * @param {String} placement - one of the valid placement options\n * @returns {Object} popperOffsets - An object containing the offsets which will be applied to the popper\n */\nfunction getPopperOffsets(popper, referenceOffsets, placement) {\n  placement = placement.split('-')[0];\n\n  // Get popper node sizes\n  var popperRect = getOuterSizes(popper);\n\n  // Add position, width and height to our offsets object\n  var popperOffsets = {\n    width: popperRect.width,\n    height: popperRect.height\n  };\n\n  // depending by the popper placement we have to compute its offsets slightly differently\n  var isHoriz = ['right', 'left'].indexOf(placement) !== -1;\n  var mainSide = isHoriz ? 'top' : 'left';\n  var secondarySide = isHoriz ? 'left' : 'top';\n  var measurement = isHoriz ? 'height' : 'width';\n  var secondaryMeasurement = !isHoriz ? 'height' : 'width';\n\n  popperOffsets[mainSide] = referenceOffsets[mainSide] + referenceOffsets[measurement] / 2 - popperRect[measurement] / 2;\n  if (placement === secondarySide) {\n    popperOffsets[secondarySide] = referenceOffsets[secondarySide] - popperRect[secondaryMeasurement];\n  } else {\n    popperOffsets[secondarySide] = referenceOffsets[getOppositePlacement(secondarySide)];\n  }\n\n  return popperOffsets;\n}\n\n/**\n * Mimics the `find` method of Array\n * @method\n * @memberof Popper.Utils\n * @argument {Array} arr\n * @argument prop\n * @argument value\n * @returns index or -1\n */\nfunction find(arr, check) {\n  // use native find if supported\n  if (Array.prototype.find) {\n    return arr.find(check);\n  }\n\n  // use `filter` to obtain the same behavior of `find`\n  return arr.filter(check)[0];\n}\n\n/**\n * Return the index of the matching object\n * @method\n * @memberof Popper.Utils\n * @argument {Array} arr\n * @argument prop\n * @argument value\n * @returns index or -1\n */\nfunction findIndex(arr, prop, value) {\n  // use native findIndex if supported\n  if (Array.prototype.findIndex) {\n    return arr.findIndex(function (cur) {\n      return cur[prop] === value;\n    });\n  }\n\n  // use `find` + `indexOf` if `findIndex` isn't supported\n  var match = find(arr, function (obj) {\n    return obj[prop] === value;\n  });\n  return arr.indexOf(match);\n}\n\n/**\n * Loop trough the list of modifiers and run them in order,\n * each of them will then edit the data object.\n * @method\n * @memberof Popper.Utils\n * @param {dataObject} data\n * @param {Array} modifiers\n * @param {String} ends - Optional modifier name used as stopper\n * @returns {dataObject}\n */\nfunction runModifiers(modifiers, data, ends) {\n  var modifiersToRun = ends === undefined ? modifiers : modifiers.slice(0, findIndex(modifiers, 'name', ends));\n\n  modifiersToRun.forEach(function (modifier) {\n    if (modifier['function']) {\n      // eslint-disable-line dot-notation\n      console.warn('`modifier.function` is deprecated, use `modifier.fn`!');\n    }\n    var fn = modifier['function'] || modifier.fn; // eslint-disable-line dot-notation\n    if (modifier.enabled && isFunction(fn)) {\n      // Add properties to offsets to make them a complete clientRect object\n      // we do this before each modifier to make sure the previous one doesn't\n      // mess with these values\n      data.offsets.popper = getClientRect(data.offsets.popper);\n      data.offsets.reference = getClientRect(data.offsets.reference);\n\n      data = fn(data, modifier);\n    }\n  });\n\n  return data;\n}\n\n/**\n * Updates the position of the popper, computing the new offsets and applying\n * the new style.<br />\n * Prefer `scheduleUpdate` over `update` because of performance reasons.\n * @method\n * @memberof Popper\n */\nfunction update() {\n  // if popper is destroyed, don't perform any further update\n  if (this.state.isDestroyed) {\n    return;\n  }\n\n  var data = {\n    instance: this,\n    styles: {},\n    arrowStyles: {},\n    attributes: {},\n    flipped: false,\n    offsets: {}\n  };\n\n  // compute reference element offsets\n  data.offsets.reference = getReferenceOffsets(this.state, this.popper, this.reference, this.options.positionFixed);\n\n  // compute auto placement, store placement inside the data object,\n  // modifiers will be able to edit `placement` if needed\n  // and refer to originalPlacement to know the original value\n  data.placement = computeAutoPlacement(this.options.placement, data.offsets.reference, this.popper, this.reference, this.options.modifiers.flip.boundariesElement, this.options.modifiers.flip.padding);\n\n  // store the computed placement inside `originalPlacement`\n  data.originalPlacement = data.placement;\n\n  data.positionFixed = this.options.positionFixed;\n\n  // compute the popper offsets\n  data.offsets.popper = getPopperOffsets(this.popper, data.offsets.reference, data.placement);\n\n  data.offsets.popper.position = this.options.positionFixed ? 'fixed' : 'absolute';\n\n  // run the modifiers\n  data = runModifiers(this.modifiers, data);\n\n  // the first `update` will call `onCreate` callback\n  // the other ones will call `onUpdate` callback\n  if (!this.state.isCreated) {\n    this.state.isCreated = true;\n    this.options.onCreate(data);\n  } else {\n    this.options.onUpdate(data);\n  }\n}\n\n/**\n * Helper used to know if the given modifier is enabled.\n * @method\n * @memberof Popper.Utils\n * @returns {Boolean}\n */\nfunction isModifierEnabled(modifiers, modifierName) {\n  return modifiers.some(function (_ref) {\n    var name = _ref.name,\n        enabled = _ref.enabled;\n    return enabled && name === modifierName;\n  });\n}\n\n/**\n * Get the prefixed supported property name\n * @method\n * @memberof Popper.Utils\n * @argument {String} property (camelCase)\n * @returns {String} prefixed property (camelCase or PascalCase, depending on the vendor prefix)\n */\nfunction getSupportedPropertyName(property) {\n  var prefixes = [false, 'ms', 'Webkit', 'Moz', 'O'];\n  var upperProp = property.charAt(0).toUpperCase() + property.slice(1);\n\n  for (var i = 0; i < prefixes.length; i++) {\n    var prefix = prefixes[i];\n    var toCheck = prefix ? '' + prefix + upperProp : property;\n    if (typeof document.body.style[toCheck] !== 'undefined') {\n      return toCheck;\n    }\n  }\n  return null;\n}\n\n/**\n * Destroys the popper.\n * @method\n * @memberof Popper\n */\nfunction destroy() {\n  this.state.isDestroyed = true;\n\n  // touch DOM only if `applyStyle` modifier is enabled\n  if (isModifierEnabled(this.modifiers, 'applyStyle')) {\n    this.popper.removeAttribute('x-placement');\n    this.popper.style.position = '';\n    this.popper.style.top = '';\n    this.popper.style.left = '';\n    this.popper.style.right = '';\n    this.popper.style.bottom = '';\n    this.popper.style.willChange = '';\n    this.popper.style[getSupportedPropertyName('transform')] = '';\n  }\n\n  this.disableEventListeners();\n\n  // remove the popper if user explicitly asked for the deletion on destroy\n  // do not use `remove` because IE11 doesn't support it\n  if (this.options.removeOnDestroy) {\n    this.popper.parentNode.removeChild(this.popper);\n  }\n  return this;\n}\n\n/**\n * Get the window associated with the element\n * @argument {Element} element\n * @returns {Window}\n */\nfunction getWindow(element) {\n  var ownerDocument = element.ownerDocument;\n  return ownerDocument ? ownerDocument.defaultView : window;\n}\n\nfunction attachToScrollParents(scrollParent, event, callback, scrollParents) {\n  var isBody = scrollParent.nodeName === 'BODY';\n  var target = isBody ? scrollParent.ownerDocument.defaultView : scrollParent;\n  target.addEventListener(event, callback, { passive: true });\n\n  if (!isBody) {\n    attachToScrollParents(getScrollParent(target.parentNode), event, callback, scrollParents);\n  }\n  scrollParents.push(target);\n}\n\n/**\n * Setup needed event listeners used to update the popper position\n * @method\n * @memberof Popper.Utils\n * @private\n */\nfunction setupEventListeners(reference, options, state, updateBound) {\n  // Resize event listener on window\n  state.updateBound = updateBound;\n  getWindow(reference).addEventListener('resize', state.updateBound, { passive: true });\n\n  // Scroll event listener on scroll parents\n  var scrollElement = getScrollParent(reference);\n  attachToScrollParents(scrollElement, 'scroll', state.updateBound, state.scrollParents);\n  state.scrollElement = scrollElement;\n  state.eventsEnabled = true;\n\n  return state;\n}\n\n/**\n * It will add resize/scroll events and start recalculating\n * position of the popper element when they are triggered.\n * @method\n * @memberof Popper\n */\nfunction enableEventListeners() {\n  if (!this.state.eventsEnabled) {\n    this.state = setupEventListeners(this.reference, this.options, this.state, this.scheduleUpdate);\n  }\n}\n\n/**\n * Remove event listeners used to update the popper position\n * @method\n * @memberof Popper.Utils\n * @private\n */\nfunction removeEventListeners(reference, state) {\n  // Remove resize event listener on window\n  getWindow(reference).removeEventListener('resize', state.updateBound);\n\n  // Remove scroll event listener on scroll parents\n  state.scrollParents.forEach(function (target) {\n    target.removeEventListener('scroll', state.updateBound);\n  });\n\n  // Reset state\n  state.updateBound = null;\n  state.scrollParents = [];\n  state.scrollElement = null;\n  state.eventsEnabled = false;\n  return state;\n}\n\n/**\n * It will remove resize/scroll events and won't recalculate popper position\n * when they are triggered. It also won't trigger `onUpdate` callback anymore,\n * unless you call `update` method manually.\n * @method\n * @memberof Popper\n */\nfunction disableEventListeners() {\n  if (this.state.eventsEnabled) {\n    cancelAnimationFrame(this.scheduleUpdate);\n    this.state = removeEventListeners(this.reference, this.state);\n  }\n}\n\n/**\n * Tells if a given input is a number\n * @method\n * @memberof Popper.Utils\n * @param {*} input to check\n * @return {Boolean}\n */\nfunction isNumeric(n) {\n  return n !== '' && !isNaN(parseFloat(n)) && isFinite(n);\n}\n\n/**\n * Set the style to the given popper\n * @method\n * @memberof Popper.Utils\n * @argument {Element} element - Element to apply the style to\n * @argument {Object} styles\n * Object with a list of properties and values which will be applied to the element\n */\nfunction setStyles(element, styles) {\n  Object.keys(styles).forEach(function (prop) {\n    var unit = '';\n    // add unit if the value is numeric and is one of the following\n    if (['width', 'height', 'top', 'right', 'bottom', 'left'].indexOf(prop) !== -1 && isNumeric(styles[prop])) {\n      unit = 'px';\n    }\n    element.style[prop] = styles[prop] + unit;\n  });\n}\n\n/**\n * Set the attributes to the given popper\n * @method\n * @memberof Popper.Utils\n * @argument {Element} element - Element to apply the attributes to\n * @argument {Object} styles\n * Object with a list of properties and values which will be applied to the element\n */\nfunction setAttributes(element, attributes) {\n  Object.keys(attributes).forEach(function (prop) {\n    var value = attributes[prop];\n    if (value !== false) {\n      element.setAttribute(prop, attributes[prop]);\n    } else {\n      element.removeAttribute(prop);\n    }\n  });\n}\n\n/**\n * @function\n * @memberof Modifiers\n * @argument {Object} data - The data object generated by `update` method\n * @argument {Object} data.styles - List of style properties - values to apply to popper element\n * @argument {Object} data.attributes - List of attribute properties - values to apply to popper element\n * @argument {Object} options - Modifiers configuration and options\n * @returns {Object} The same data object\n */\nfunction applyStyle(data) {\n  // any property present in `data.styles` will be applied to the popper,\n  // in this way we can make the 3rd party modifiers add custom styles to it\n  // Be aware, modifiers could override the properties defined in the previous\n  // lines of this modifier!\n  setStyles(data.instance.popper, data.styles);\n\n  // any property present in `data.attributes` will be applied to the popper,\n  // they will be set as HTML attributes of the element\n  setAttributes(data.instance.popper, data.attributes);\n\n  // if arrowElement is defined and arrowStyles has some properties\n  if (data.arrowElement && Object.keys(data.arrowStyles).length) {\n    setStyles(data.arrowElement, data.arrowStyles);\n  }\n\n  return data;\n}\n\n/**\n * Set the x-placement attribute before everything else because it could be used\n * to add margins to the popper margins needs to be calculated to get the\n * correct popper offsets.\n * @method\n * @memberof Popper.modifiers\n * @param {HTMLElement} reference - The reference element used to position the popper\n * @param {HTMLElement} popper - The HTML element used as popper\n * @param {Object} options - Popper.js options\n */\nfunction applyStyleOnLoad(reference, popper, options, modifierOptions, state) {\n  // compute reference element offsets\n  var referenceOffsets = getReferenceOffsets(state, popper, reference, options.positionFixed);\n\n  // compute auto placement, store placement inside the data object,\n  // modifiers will be able to edit `placement` if needed\n  // and refer to originalPlacement to know the original value\n  var placement = computeAutoPlacement(options.placement, referenceOffsets, popper, reference, options.modifiers.flip.boundariesElement, options.modifiers.flip.padding);\n\n  popper.setAttribute('x-placement', placement);\n\n  // Apply `position` to popper before anything else because\n  // without the position applied we can't guarantee correct computations\n  setStyles(popper, { position: options.positionFixed ? 'fixed' : 'absolute' });\n\n  return options;\n}\n\n/**\n * @function\n * @memberof Popper.Utils\n * @argument {Object} data - The data object generated by `update` method\n * @argument {Boolean} shouldRound - If the offsets should be rounded at all\n * @returns {Object} The popper's position offsets rounded\n *\n * The tale of pixel-perfect positioning. It's still not 100% perfect, but as\n * good as it can be within reason.\n * Discussion here: https://github.com/FezVrasta/popper.js/pull/715\n *\n * Low DPI screens cause a popper to be blurry if not using full pixels (Safari\n * as well on High DPI screens).\n *\n * Firefox prefers no rounding for positioning and does not have blurriness on\n * high DPI screens.\n *\n * Only horizontal placement and left/right values need to be considered.\n */\nfunction getRoundedOffsets(data, shouldRound) {\n  var _data$offsets = data.offsets,\n      popper = _data$offsets.popper,\n      reference = _data$offsets.reference;\n  var round = Math.round,\n      floor = Math.floor;\n\n  var noRound = function noRound(v) {\n    return v;\n  };\n\n  var referenceWidth = round(reference.width);\n  var popperWidth = round(popper.width);\n\n  var isVertical = ['left', 'right'].indexOf(data.placement) !== -1;\n  var isVariation = data.placement.indexOf('-') !== -1;\n  var sameWidthParity = referenceWidth % 2 === popperWidth % 2;\n  var bothOddWidth = referenceWidth % 2 === 1 && popperWidth % 2 === 1;\n\n  var horizontalToInteger = !shouldRound ? noRound : isVertical || isVariation || sameWidthParity ? round : floor;\n  var verticalToInteger = !shouldRound ? noRound : round;\n\n  return {\n    left: horizontalToInteger(bothOddWidth && !isVariation && shouldRound ? popper.left - 1 : popper.left),\n    top: verticalToInteger(popper.top),\n    bottom: verticalToInteger(popper.bottom),\n    right: horizontalToInteger(popper.right)\n  };\n}\n\nvar isFirefox = isBrowser && /Firefox/i.test(navigator.userAgent);\n\n/**\n * @function\n * @memberof Modifiers\n * @argument {Object} data - The data object generated by `update` method\n * @argument {Object} options - Modifiers configuration and options\n * @returns {Object} The data object, properly modified\n */\nfunction computeStyle(data, options) {\n  var x = options.x,\n      y = options.y;\n  var popper = data.offsets.popper;\n\n  // Remove this legacy support in Popper.js v2\n\n  var legacyGpuAccelerationOption = find(data.instance.modifiers, function (modifier) {\n    return modifier.name === 'applyStyle';\n  }).gpuAcceleration;\n  if (legacyGpuAccelerationOption !== undefined) {\n    console.warn('WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!');\n  }\n  var gpuAcceleration = legacyGpuAccelerationOption !== undefined ? legacyGpuAccelerationOption : options.gpuAcceleration;\n\n  var offsetParent = getOffsetParent(data.instance.popper);\n  var offsetParentRect = getBoundingClientRect(offsetParent);\n\n  // Styles\n  var styles = {\n    position: popper.position\n  };\n\n  var offsets = getRoundedOffsets(data, window.devicePixelRatio < 2 || !isFirefox);\n\n  var sideA = x === 'bottom' ? 'top' : 'bottom';\n  var sideB = y === 'right' ? 'left' : 'right';\n\n  // if gpuAcceleration is set to `true` and transform is supported,\n  //  we use `translate3d` to apply the position to the popper we\n  // automatically use the supported prefixed version if needed\n  var prefixedProperty = getSupportedPropertyName('transform');\n\n  // now, let's make a step back and look at this code closely (wtf?)\n  // If the content of the popper grows once it's been positioned, it\n  // may happen that the popper gets misplaced because of the new content\n  // overflowing its reference element\n  // To avoid this problem, we provide two options (x and y), which allow\n  // the consumer to define the offset origin.\n  // If we position a popper on top of a reference element, we can set\n  // `x` to `top` to make the popper grow towards its top instead of\n  // its bottom.\n  var left = void 0,\n      top = void 0;\n  if (sideA === 'bottom') {\n    // when offsetParent is <html> the positioning is relative to the bottom of the screen (excluding the scrollbar)\n    // and not the bottom of the html element\n    if (offsetParent.nodeName === 'HTML') {\n      top = -offsetParent.clientHeight + offsets.bottom;\n    } else {\n      top = -offsetParentRect.height + offsets.bottom;\n    }\n  } else {\n    top = offsets.top;\n  }\n  if (sideB === 'right') {\n    if (offsetParent.nodeName === 'HTML') {\n      left = -offsetParent.clientWidth + offsets.right;\n    } else {\n      left = -offsetParentRect.width + offsets.right;\n    }\n  } else {\n    left = offsets.left;\n  }\n  if (gpuAcceleration && prefixedProperty) {\n    styles[prefixedProperty] = 'translate3d(' + left + 'px, ' + top + 'px, 0)';\n    styles[sideA] = 0;\n    styles[sideB] = 0;\n    styles.willChange = 'transform';\n  } else {\n    // othwerise, we use the standard `top`, `left`, `bottom` and `right` properties\n    var invertTop = sideA === 'bottom' ? -1 : 1;\n    var invertLeft = sideB === 'right' ? -1 : 1;\n    styles[sideA] = top * invertTop;\n    styles[sideB] = left * invertLeft;\n    styles.willChange = sideA + ', ' + sideB;\n  }\n\n  // Attributes\n  var attributes = {\n    'x-placement': data.placement\n  };\n\n  // Update `data` attributes, styles and arrowStyles\n  data.attributes = _extends({}, attributes, data.attributes);\n  data.styles = _extends({}, styles, data.styles);\n  data.arrowStyles = _extends({}, data.offsets.arrow, data.arrowStyles);\n\n  return data;\n}\n\n/**\n * Helper used to know if the given modifier depends from another one.<br />\n * It checks if the needed modifier is listed and enabled.\n * @method\n * @memberof Popper.Utils\n * @param {Array} modifiers - list of modifiers\n * @param {String} requestingName - name of requesting modifier\n * @param {String} requestedName - name of requested modifier\n * @returns {Boolean}\n */\nfunction isModifierRequired(modifiers, requestingName, requestedName) {\n  var requesting = find(modifiers, function (_ref) {\n    var name = _ref.name;\n    return name === requestingName;\n  });\n\n  var isRequired = !!requesting && modifiers.some(function (modifier) {\n    return modifier.name === requestedName && modifier.enabled && modifier.order < requesting.order;\n  });\n\n  if (!isRequired) {\n    var _requesting = '`' + requestingName + '`';\n    var requested = '`' + requestedName + '`';\n    console.warn(requested + ' modifier is required by ' + _requesting + ' modifier in order to work, be sure to include it before ' + _requesting + '!');\n  }\n  return isRequired;\n}\n\n/**\n * @function\n * @memberof Modifiers\n * @argument {Object} data - The data object generated by update method\n * @argument {Object} options - Modifiers configuration and options\n * @returns {Object} The data object, properly modified\n */\nfunction arrow(data, options) {\n  var _data$offsets$arrow;\n\n  // arrow depends on keepTogether in order to work\n  if (!isModifierRequired(data.instance.modifiers, 'arrow', 'keepTogether')) {\n    return data;\n  }\n\n  var arrowElement = options.element;\n\n  // if arrowElement is a string, suppose it's a CSS selector\n  if (typeof arrowElement === 'string') {\n    arrowElement = data.instance.popper.querySelector(arrowElement);\n\n    // if arrowElement is not found, don't run the modifier\n    if (!arrowElement) {\n      return data;\n    }\n  } else {\n    // if the arrowElement isn't a query selector we must check that the\n    // provided DOM node is child of its popper node\n    if (!data.instance.popper.contains(arrowElement)) {\n      console.warn('WARNING: `arrow.element` must be child of its popper element!');\n      return data;\n    }\n  }\n\n  var placement = data.placement.split('-')[0];\n  var _data$offsets = data.offsets,\n      popper = _data$offsets.popper,\n      reference = _data$offsets.reference;\n\n  var isVertical = ['left', 'right'].indexOf(placement) !== -1;\n\n  var len = isVertical ? 'height' : 'width';\n  var sideCapitalized = isVertical ? 'Top' : 'Left';\n  var side = sideCapitalized.toLowerCase();\n  var altSide = isVertical ? 'left' : 'top';\n  var opSide = isVertical ? 'bottom' : 'right';\n  var arrowElementSize = getOuterSizes(arrowElement)[len];\n\n  //\n  // extends keepTogether behavior making sure the popper and its\n  // reference have enough pixels in conjunction\n  //\n\n  // top/left side\n  if (reference[opSide] - arrowElementSize < popper[side]) {\n    data.offsets.popper[side] -= popper[side] - (reference[opSide] - arrowElementSize);\n  }\n  // bottom/right side\n  if (reference[side] + arrowElementSize > popper[opSide]) {\n    data.offsets.popper[side] += reference[side] + arrowElementSize - popper[opSide];\n  }\n  data.offsets.popper = getClientRect(data.offsets.popper);\n\n  // compute center of the popper\n  var center = reference[side] + reference[len] / 2 - arrowElementSize / 2;\n\n  // Compute the sideValue using the updated popper offsets\n  // take popper margin in account because we don't have this info available\n  var css = getStyleComputedProperty(data.instance.popper);\n  var popperMarginSide = parseFloat(css['margin' + sideCapitalized]);\n  var popperBorderSide = parseFloat(css['border' + sideCapitalized + 'Width']);\n  var sideValue = center - data.offsets.popper[side] - popperMarginSide - popperBorderSide;\n\n  // prevent arrowElement from being placed not contiguously to its popper\n  sideValue = Math.max(Math.min(popper[len] - arrowElementSize, sideValue), 0);\n\n  data.arrowElement = arrowElement;\n  data.offsets.arrow = (_data$offsets$arrow = {}, defineProperty(_data$offsets$arrow, side, Math.round(sideValue)), defineProperty(_data$offsets$arrow, altSide, ''), _data$offsets$arrow);\n\n  return data;\n}\n\n/**\n * Get the opposite placement variation of the given one\n * @method\n * @memberof Popper.Utils\n * @argument {String} placement variation\n * @returns {String} flipped placement variation\n */\nfunction getOppositeVariation(variation) {\n  if (variation === 'end') {\n    return 'start';\n  } else if (variation === 'start') {\n    return 'end';\n  }\n  return variation;\n}\n\n/**\n * List of accepted placements to use as values of the `placement` option.<br />\n * Valid placements are:\n * - `auto`\n * - `top`\n * - `right`\n * - `bottom`\n * - `left`\n *\n * Each placement can have a variation from this list:\n * - `-start`\n * - `-end`\n *\n * Variations are interpreted easily if you think of them as the left to right\n * written languages. Horizontally (`top` and `bottom`), `start` is left and `end`\n * is right.<br />\n * Vertically (`left` and `right`), `start` is top and `end` is bottom.\n *\n * Some valid examples are:\n * - `top-end` (on top of reference, right aligned)\n * - `right-start` (on right of reference, top aligned)\n * - `bottom` (on bottom, centered)\n * - `auto-end` (on the side with more space available, alignment depends by placement)\n *\n * @static\n * @type {Array}\n * @enum {String}\n * @readonly\n * @method placements\n * @memberof Popper\n */\nvar placements = ['auto-start', 'auto', 'auto-end', 'top-start', 'top', 'top-end', 'right-start', 'right', 'right-end', 'bottom-end', 'bottom', 'bottom-start', 'left-end', 'left', 'left-start'];\n\n// Get rid of `auto` `auto-start` and `auto-end`\nvar validPlacements = placements.slice(3);\n\n/**\n * Given an initial placement, returns all the subsequent placements\n * clockwise (or counter-clockwise).\n *\n * @method\n * @memberof Popper.Utils\n * @argument {String} placement - A valid placement (it accepts variations)\n * @argument {Boolean} counter - Set to true to walk the placements counterclockwise\n * @returns {Array} placements including their variations\n */\nfunction clockwise(placement) {\n  var counter = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n\n  var index = validPlacements.indexOf(placement);\n  var arr = validPlacements.slice(index + 1).concat(validPlacements.slice(0, index));\n  return counter ? arr.reverse() : arr;\n}\n\nvar BEHAVIORS = {\n  FLIP: 'flip',\n  CLOCKWISE: 'clockwise',\n  COUNTERCLOCKWISE: 'counterclockwise'\n};\n\n/**\n * @function\n * @memberof Modifiers\n * @argument {Object} data - The data object generated by update method\n * @argument {Object} options - Modifiers configuration and options\n * @returns {Object} The data object, properly modified\n */\nfunction flip(data, options) {\n  // if `inner` modifier is enabled, we can't use the `flip` modifier\n  if (isModifierEnabled(data.instance.modifiers, 'inner')) {\n    return data;\n  }\n\n  if (data.flipped && data.placement === data.originalPlacement) {\n    // seems like flip is trying to loop, probably there's not enough space on any of the flippable sides\n    return data;\n  }\n\n  var boundaries = getBoundaries(data.instance.popper, data.instance.reference, options.padding, options.boundariesElement, data.positionFixed);\n\n  var placement = data.placement.split('-')[0];\n  var placementOpposite = getOppositePlacement(placement);\n  var variation = data.placement.split('-')[1] || '';\n\n  var flipOrder = [];\n\n  switch (options.behavior) {\n    case BEHAVIORS.FLIP:\n      flipOrder = [placement, placementOpposite];\n      break;\n    case BEHAVIORS.CLOCKWISE:\n      flipOrder = clockwise(placement);\n      break;\n    case BEHAVIORS.COUNTERCLOCKWISE:\n      flipOrder = clockwise(placement, true);\n      break;\n    default:\n      flipOrder = options.behavior;\n  }\n\n  flipOrder.forEach(function (step, index) {\n    if (placement !== step || flipOrder.length === index + 1) {\n      return data;\n    }\n\n    placement = data.placement.split('-')[0];\n    placementOpposite = getOppositePlacement(placement);\n\n    var popperOffsets = data.offsets.popper;\n    var refOffsets = data.offsets.reference;\n\n    // using floor because the reference offsets may contain decimals we are not going to consider here\n    var floor = Math.floor;\n    var overlapsRef = placement === 'left' && floor(popperOffsets.right) > floor(refOffsets.left) || placement === 'right' && floor(popperOffsets.left) < floor(refOffsets.right) || placement === 'top' && floor(popperOffsets.bottom) > floor(refOffsets.top) || placement === 'bottom' && floor(popperOffsets.top) < floor(refOffsets.bottom);\n\n    var overflowsLeft = floor(popperOffsets.left) < floor(boundaries.left);\n    var overflowsRight = floor(popperOffsets.right) > floor(boundaries.right);\n    var overflowsTop = floor(popperOffsets.top) < floor(boundaries.top);\n    var overflowsBottom = floor(popperOffsets.bottom) > floor(boundaries.bottom);\n\n    var overflowsBoundaries = placement === 'left' && overflowsLeft || placement === 'right' && overflowsRight || placement === 'top' && overflowsTop || placement === 'bottom' && overflowsBottom;\n\n    // flip the variation if required\n    var isVertical = ['top', 'bottom'].indexOf(placement) !== -1;\n\n    // flips variation if reference element overflows boundaries\n    var flippedVariationByRef = !!options.flipVariations && (isVertical && variation === 'start' && overflowsLeft || isVertical && variation === 'end' && overflowsRight || !isVertical && variation === 'start' && overflowsTop || !isVertical && variation === 'end' && overflowsBottom);\n\n    // flips variation if popper content overflows boundaries\n    var flippedVariationByContent = !!options.flipVariationsByContent && (isVertical && variation === 'start' && overflowsRight || isVertical && variation === 'end' && overflowsLeft || !isVertical && variation === 'start' && overflowsBottom || !isVertical && variation === 'end' && overflowsTop);\n\n    var flippedVariation = flippedVariationByRef || flippedVariationByContent;\n\n    if (overlapsRef || overflowsBoundaries || flippedVariation) {\n      // this boolean to detect any flip loop\n      data.flipped = true;\n\n      if (overlapsRef || overflowsBoundaries) {\n        placement = flipOrder[index + 1];\n      }\n\n      if (flippedVariation) {\n        variation = getOppositeVariation(variation);\n      }\n\n      data.placement = placement + (variation ? '-' + variation : '');\n\n      // this object contains `position`, we want to preserve it along with\n      // any additional property we may add in the future\n      data.offsets.popper = _extends({}, data.offsets.popper, getPopperOffsets(data.instance.popper, data.offsets.reference, data.placement));\n\n      data = runModifiers(data.instance.modifiers, data, 'flip');\n    }\n  });\n  return data;\n}\n\n/**\n * @function\n * @memberof Modifiers\n * @argument {Object} data - The data object generated by update method\n * @argument {Object} options - Modifiers configuration and options\n * @returns {Object} The data object, properly modified\n */\nfunction keepTogether(data) {\n  var _data$offsets = data.offsets,\n      popper = _data$offsets.popper,\n      reference = _data$offsets.reference;\n\n  var placement = data.placement.split('-')[0];\n  var floor = Math.floor;\n  var isVertical = ['top', 'bottom'].indexOf(placement) !== -1;\n  var side = isVertical ? 'right' : 'bottom';\n  var opSide = isVertical ? 'left' : 'top';\n  var measurement = isVertical ? 'width' : 'height';\n\n  if (popper[side] < floor(reference[opSide])) {\n    data.offsets.popper[opSide] = floor(reference[opSide]) - popper[measurement];\n  }\n  if (popper[opSide] > floor(reference[side])) {\n    data.offsets.popper[opSide] = floor(reference[side]);\n  }\n\n  return data;\n}\n\n/**\n * Converts a string containing value + unit into a px value number\n * @function\n * @memberof {modifiers~offset}\n * @private\n * @argument {String} str - Value + unit string\n * @argument {String} measurement - `height` or `width`\n * @argument {Object} popperOffsets\n * @argument {Object} referenceOffsets\n * @returns {Number|String}\n * Value in pixels, or original string if no values were extracted\n */\nfunction toValue(str, measurement, popperOffsets, referenceOffsets) {\n  // separate value from unit\n  var split = str.match(/((?:\\-|\\+)?\\d*\\.?\\d*)(.*)/);\n  var value = +split[1];\n  var unit = split[2];\n\n  // If it's not a number it's an operator, I guess\n  if (!value) {\n    return str;\n  }\n\n  if (unit.indexOf('%') === 0) {\n    var element = void 0;\n    switch (unit) {\n      case '%p':\n        element = popperOffsets;\n        break;\n      case '%':\n      case '%r':\n      default:\n        element = referenceOffsets;\n    }\n\n    var rect = getClientRect(element);\n    return rect[measurement] / 100 * value;\n  } else if (unit === 'vh' || unit === 'vw') {\n    // if is a vh or vw, we calculate the size based on the viewport\n    var size = void 0;\n    if (unit === 'vh') {\n      size = Math.max(document.documentElement.clientHeight, window.innerHeight || 0);\n    } else {\n      size = Math.max(document.documentElement.clientWidth, window.innerWidth || 0);\n    }\n    return size / 100 * value;\n  } else {\n    // if is an explicit pixel unit, we get rid of the unit and keep the value\n    // if is an implicit unit, it's px, and we return just the value\n    return value;\n  }\n}\n\n/**\n * Parse an `offset` string to extrapolate `x` and `y` numeric offsets.\n * @function\n * @memberof {modifiers~offset}\n * @private\n * @argument {String} offset\n * @argument {Object} popperOffsets\n * @argument {Object} referenceOffsets\n * @argument {String} basePlacement\n * @returns {Array} a two cells array with x and y offsets in numbers\n */\nfunction parseOffset(offset, popperOffsets, referenceOffsets, basePlacement) {\n  var offsets = [0, 0];\n\n  // Use height if placement is left or right and index is 0 otherwise use width\n  // in this way the first offset will use an axis and the second one\n  // will use the other one\n  var useHeight = ['right', 'left'].indexOf(basePlacement) !== -1;\n\n  // Split the offset string to obtain a list of values and operands\n  // The regex addresses values with the plus or minus sign in front (+10, -20, etc)\n  var fragments = offset.split(/(\\+|\\-)/).map(function (frag) {\n    return frag.trim();\n  });\n\n  // Detect if the offset string contains a pair of values or a single one\n  // they could be separated by comma or space\n  var divider = fragments.indexOf(find(fragments, function (frag) {\n    return frag.search(/,|\\s/) !== -1;\n  }));\n\n  if (fragments[divider] && fragments[divider].indexOf(',') === -1) {\n    console.warn('Offsets separated by white space(s) are deprecated, use a comma (,) instead.');\n  }\n\n  // If divider is found, we divide the list of values and operands to divide\n  // them by ofset X and Y.\n  var splitRegex = /\\s*,\\s*|\\s+/;\n  var ops = divider !== -1 ? [fragments.slice(0, divider).concat([fragments[divider].split(splitRegex)[0]]), [fragments[divider].split(splitRegex)[1]].concat(fragments.slice(divider + 1))] : [fragments];\n\n  // Convert the values with units to absolute pixels to allow our computations\n  ops = ops.map(function (op, index) {\n    // Most of the units rely on the orientation of the popper\n    var measurement = (index === 1 ? !useHeight : useHeight) ? 'height' : 'width';\n    var mergeWithPrevious = false;\n    return op\n    // This aggregates any `+` or `-` sign that aren't considered operators\n    // e.g.: 10 + +5 => [10, +, +5]\n    .reduce(function (a, b) {\n      if (a[a.length - 1] === '' && ['+', '-'].indexOf(b) !== -1) {\n        a[a.length - 1] = b;\n        mergeWithPrevious = true;\n        return a;\n      } else if (mergeWithPrevious) {\n        a[a.length - 1] += b;\n        mergeWithPrevious = false;\n        return a;\n      } else {\n        return a.concat(b);\n      }\n    }, [])\n    // Here we convert the string values into number values (in px)\n    .map(function (str) {\n      return toValue(str, measurement, popperOffsets, referenceOffsets);\n    });\n  });\n\n  // Loop trough the offsets arrays and execute the operations\n  ops.forEach(function (op, index) {\n    op.forEach(function (frag, index2) {\n      if (isNumeric(frag)) {\n        offsets[index] += frag * (op[index2 - 1] === '-' ? -1 : 1);\n      }\n    });\n  });\n  return offsets;\n}\n\n/**\n * @function\n * @memberof Modifiers\n * @argument {Object} data - The data object generated by update method\n * @argument {Object} options - Modifiers configuration and options\n * @argument {Number|String} options.offset=0\n * The offset value as described in the modifier description\n * @returns {Object} The data object, properly modified\n */\nfunction offset(data, _ref) {\n  var offset = _ref.offset;\n  var placement = data.placement,\n      _data$offsets = data.offsets,\n      popper = _data$offsets.popper,\n      reference = _data$offsets.reference;\n\n  var basePlacement = placement.split('-')[0];\n\n  var offsets = void 0;\n  if (isNumeric(+offset)) {\n    offsets = [+offset, 0];\n  } else {\n    offsets = parseOffset(offset, popper, reference, basePlacement);\n  }\n\n  if (basePlacement === 'left') {\n    popper.top += offsets[0];\n    popper.left -= offsets[1];\n  } else if (basePlacement === 'right') {\n    popper.top += offsets[0];\n    popper.left += offsets[1];\n  } else if (basePlacement === 'top') {\n    popper.left += offsets[0];\n    popper.top -= offsets[1];\n  } else if (basePlacement === 'bottom') {\n    popper.left += offsets[0];\n    popper.top += offsets[1];\n  }\n\n  data.popper = popper;\n  return data;\n}\n\n/**\n * @function\n * @memberof Modifiers\n * @argument {Object} data - The data object generated by `update` method\n * @argument {Object} options - Modifiers configuration and options\n * @returns {Object} The data object, properly modified\n */\nfunction preventOverflow(data, options) {\n  var boundariesElement = options.boundariesElement || getOffsetParent(data.instance.popper);\n\n  // If offsetParent is the reference element, we really want to\n  // go one step up and use the next offsetParent as reference to\n  // avoid to make this modifier completely useless and look like broken\n  if (data.instance.reference === boundariesElement) {\n    boundariesElement = getOffsetParent(boundariesElement);\n  }\n\n  // NOTE: DOM access here\n  // resets the popper's position so that the document size can be calculated excluding\n  // the size of the popper element itself\n  var transformProp = getSupportedPropertyName('transform');\n  var popperStyles = data.instance.popper.style; // assignment to help minification\n  var top = popperStyles.top,\n      left = popperStyles.left,\n      transform = popperStyles[transformProp];\n\n  popperStyles.top = '';\n  popperStyles.left = '';\n  popperStyles[transformProp] = '';\n\n  var boundaries = getBoundaries(data.instance.popper, data.instance.reference, options.padding, boundariesElement, data.positionFixed);\n\n  // NOTE: DOM access here\n  // restores the original style properties after the offsets have been computed\n  popperStyles.top = top;\n  popperStyles.left = left;\n  popperStyles[transformProp] = transform;\n\n  options.boundaries = boundaries;\n\n  var order = options.priority;\n  var popper = data.offsets.popper;\n\n  var check = {\n    primary: function primary(placement) {\n      var value = popper[placement];\n      if (popper[placement] < boundaries[placement] && !options.escapeWithReference) {\n        value = Math.max(popper[placement], boundaries[placement]);\n      }\n      return defineProperty({}, placement, value);\n    },\n    secondary: function secondary(placement) {\n      var mainSide = placement === 'right' ? 'left' : 'top';\n      var value = popper[mainSide];\n      if (popper[placement] > boundaries[placement] && !options.escapeWithReference) {\n        value = Math.min(popper[mainSide], boundaries[placement] - (placement === 'right' ? popper.width : popper.height));\n      }\n      return defineProperty({}, mainSide, value);\n    }\n  };\n\n  order.forEach(function (placement) {\n    var side = ['left', 'top'].indexOf(placement) !== -1 ? 'primary' : 'secondary';\n    popper = _extends({}, popper, check[side](placement));\n  });\n\n  data.offsets.popper = popper;\n\n  return data;\n}\n\n/**\n * @function\n * @memberof Modifiers\n * @argument {Object} data - The data object generated by `update` method\n * @argument {Object} options - Modifiers configuration and options\n * @returns {Object} The data object, properly modified\n */\nfunction shift(data) {\n  var placement = data.placement;\n  var basePlacement = placement.split('-')[0];\n  var shiftvariation = placement.split('-')[1];\n\n  // if shift shiftvariation is specified, run the modifier\n  if (shiftvariation) {\n    var _data$offsets = data.offsets,\n        reference = _data$offsets.reference,\n        popper = _data$offsets.popper;\n\n    var isVertical = ['bottom', 'top'].indexOf(basePlacement) !== -1;\n    var side = isVertical ? 'left' : 'top';\n    var measurement = isVertical ? 'width' : 'height';\n\n    var shiftOffsets = {\n      start: defineProperty({}, side, reference[side]),\n      end: defineProperty({}, side, reference[side] + reference[measurement] - popper[measurement])\n    };\n\n    data.offsets.popper = _extends({}, popper, shiftOffsets[shiftvariation]);\n  }\n\n  return data;\n}\n\n/**\n * @function\n * @memberof Modifiers\n * @argument {Object} data - The data object generated by update method\n * @argument {Object} options - Modifiers configuration and options\n * @returns {Object} The data object, properly modified\n */\nfunction hide(data) {\n  if (!isModifierRequired(data.instance.modifiers, 'hide', 'preventOverflow')) {\n    return data;\n  }\n\n  var refRect = data.offsets.reference;\n  var bound = find(data.instance.modifiers, function (modifier) {\n    return modifier.name === 'preventOverflow';\n  }).boundaries;\n\n  if (refRect.bottom < bound.top || refRect.left > bound.right || refRect.top > bound.bottom || refRect.right < bound.left) {\n    // Avoid unnecessary DOM access if visibility hasn't changed\n    if (data.hide === true) {\n      return data;\n    }\n\n    data.hide = true;\n    data.attributes['x-out-of-boundaries'] = '';\n  } else {\n    // Avoid unnecessary DOM access if visibility hasn't changed\n    if (data.hide === false) {\n      return data;\n    }\n\n    data.hide = false;\n    data.attributes['x-out-of-boundaries'] = false;\n  }\n\n  return data;\n}\n\n/**\n * @function\n * @memberof Modifiers\n * @argument {Object} data - The data object generated by `update` method\n * @argument {Object} options - Modifiers configuration and options\n * @returns {Object} The data object, properly modified\n */\nfunction inner(data) {\n  var placement = data.placement;\n  var basePlacement = placement.split('-')[0];\n  var _data$offsets = data.offsets,\n      popper = _data$offsets.popper,\n      reference = _data$offsets.reference;\n\n  var isHoriz = ['left', 'right'].indexOf(basePlacement) !== -1;\n\n  var subtractLength = ['top', 'left'].indexOf(basePlacement) === -1;\n\n  popper[isHoriz ? 'left' : 'top'] = reference[basePlacement] - (subtractLength ? popper[isHoriz ? 'width' : 'height'] : 0);\n\n  data.placement = getOppositePlacement(placement);\n  data.offsets.popper = getClientRect(popper);\n\n  return data;\n}\n\n/**\n * Modifier function, each modifier can have a function of this type assigned\n * to its `fn` property.<br />\n * These functions will be called on each update, this means that you must\n * make sure they are performant enough to avoid performance bottlenecks.\n *\n * @function ModifierFn\n * @argument {dataObject} data - The data object generated by `update` method\n * @argument {Object} options - Modifiers configuration and options\n * @returns {dataObject} The data object, properly modified\n */\n\n/**\n * Modifiers are plugins used to alter the behavior of your poppers.<br />\n * Popper.js uses a set of 9 modifiers to provide all the basic functionalities\n * needed by the library.\n *\n * Usually you don't want to override the `order`, `fn` and `onLoad` props.\n * All the other properties are configurations that could be tweaked.\n * @namespace modifiers\n */\nvar modifiers = {\n  /**\n   * Modifier used to shift the popper on the start or end of its reference\n   * element.<br />\n   * It will read the variation of the `placement` property.<br />\n   * It can be one either `-end` or `-start`.\n   * @memberof modifiers\n   * @inner\n   */\n  shift: {\n    /** @prop {number} order=100 - Index used to define the order of execution */\n    order: 100,\n    /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */\n    enabled: true,\n    /** @prop {ModifierFn} */\n    fn: shift\n  },\n\n  /**\n   * The `offset` modifier can shift your popper on both its axis.\n   *\n   * It accepts the following units:\n   * - `px` or unit-less, interpreted as pixels\n   * - `%` or `%r`, percentage relative to the length of the reference element\n   * - `%p`, percentage relative to the length of the popper element\n   * - `vw`, CSS viewport width unit\n   * - `vh`, CSS viewport height unit\n   *\n   * For length is intended the main axis relative to the placement of the popper.<br />\n   * This means that if the placement is `top` or `bottom`, the length will be the\n   * `width`. In case of `left` or `right`, it will be the `height`.\n   *\n   * You can provide a single value (as `Number` or `String`), or a pair of values\n   * as `String` divided by a comma or one (or more) white spaces.<br />\n   * The latter is a deprecated method because it leads to confusion and will be\n   * removed in v2.<br />\n   * Additionally, it accepts additions and subtractions between different units.\n   * Note that multiplications and divisions aren't supported.\n   *\n   * Valid examples are:\n   * ```\n   * 10\n   * '10%'\n   * '10, 10'\n   * '10%, 10'\n   * '10 + 10%'\n   * '10 - 5vh + 3%'\n   * '-10px + 5vh, 5px - 6%'\n   * ```\n   * > **NB**: If you desire to apply offsets to your poppers in a way that may make them overlap\n   * > with their reference element, unfortunately, you will have to disable the `flip` modifier.\n   * > You can read more on this at this [issue](https://github.com/FezVrasta/popper.js/issues/373).\n   *\n   * @memberof modifiers\n   * @inner\n   */\n  offset: {\n    /** @prop {number} order=200 - Index used to define the order of execution */\n    order: 200,\n    /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */\n    enabled: true,\n    /** @prop {ModifierFn} */\n    fn: offset,\n    /** @prop {Number|String} offset=0\n     * The offset value as described in the modifier description\n     */\n    offset: 0\n  },\n\n  /**\n   * Modifier used to prevent the popper from being positioned outside the boundary.\n   *\n   * A scenario exists where the reference itself is not within the boundaries.<br />\n   * We can say it has \"escaped the boundaries\" — or just \"escaped\".<br />\n   * In this case we need to decide whether the popper should either:\n   *\n   * - detach from the reference and remain \"trapped\" in the boundaries, or\n   * - if it should ignore the boundary and \"escape with its reference\"\n   *\n   * When `escapeWithReference` is set to`true` and reference is completely\n   * outside its boundaries, the popper will overflow (or completely leave)\n   * the boundaries in order to remain attached to the edge of the reference.\n   *\n   * @memberof modifiers\n   * @inner\n   */\n  preventOverflow: {\n    /** @prop {number} order=300 - Index used to define the order of execution */\n    order: 300,\n    /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */\n    enabled: true,\n    /** @prop {ModifierFn} */\n    fn: preventOverflow,\n    /**\n     * @prop {Array} [priority=['left','right','top','bottom']]\n     * Popper will try to prevent overflow following these priorities by default,\n     * then, it could overflow on the left and on top of the `boundariesElement`\n     */\n    priority: ['left', 'right', 'top', 'bottom'],\n    /**\n     * @prop {number} padding=5\n     * Amount of pixel used to define a minimum distance between the boundaries\n     * and the popper. This makes sure the popper always has a little padding\n     * between the edges of its container\n     */\n    padding: 5,\n    /**\n     * @prop {String|HTMLElement} boundariesElement='scrollParent'\n     * Boundaries used by the modifier. Can be `scrollParent`, `window`,\n     * `viewport` or any DOM element.\n     */\n    boundariesElement: 'scrollParent'\n  },\n\n  /**\n   * Modifier used to make sure the reference and its popper stay near each other\n   * without leaving any gap between the two. Especially useful when the arrow is\n   * enabled and you want to ensure that it points to its reference element.\n   * It cares only about the first axis. You can still have poppers with margin\n   * between the popper and its reference element.\n   * @memberof modifiers\n   * @inner\n   */\n  keepTogether: {\n    /** @prop {number} order=400 - Index used to define the order of execution */\n    order: 400,\n    /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */\n    enabled: true,\n    /** @prop {ModifierFn} */\n    fn: keepTogether\n  },\n\n  /**\n   * This modifier is used to move the `arrowElement` of the popper to make\n   * sure it is positioned between the reference element and its popper element.\n   * It will read the outer size of the `arrowElement` node to detect how many\n   * pixels of conjunction are needed.\n   *\n   * It has no effect if no `arrowElement` is provided.\n   * @memberof modifiers\n   * @inner\n   */\n  arrow: {\n    /** @prop {number} order=500 - Index used to define the order of execution */\n    order: 500,\n    /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */\n    enabled: true,\n    /** @prop {ModifierFn} */\n    fn: arrow,\n    /** @prop {String|HTMLElement} element='[x-arrow]' - Selector or node used as arrow */\n    element: '[x-arrow]'\n  },\n\n  /**\n   * Modifier used to flip the popper's placement when it starts to overlap its\n   * reference element.\n   *\n   * Requires the `preventOverflow` modifier before it in order to work.\n   *\n   * **NOTE:** this modifier will interrupt the current update cycle and will\n   * restart it if it detects the need to flip the placement.\n   * @memberof modifiers\n   * @inner\n   */\n  flip: {\n    /** @prop {number} order=600 - Index used to define the order of execution */\n    order: 600,\n    /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */\n    enabled: true,\n    /** @prop {ModifierFn} */\n    fn: flip,\n    /**\n     * @prop {String|Array} behavior='flip'\n     * The behavior used to change the popper's placement. It can be one of\n     * `flip`, `clockwise`, `counterclockwise` or an array with a list of valid\n     * placements (with optional variations)\n     */\n    behavior: 'flip',\n    /**\n     * @prop {number} padding=5\n     * The popper will flip if it hits the edges of the `boundariesElement`\n     */\n    padding: 5,\n    /**\n     * @prop {String|HTMLElement} boundariesElement='viewport'\n     * The element which will define the boundaries of the popper position.\n     * The popper will never be placed outside of the defined boundaries\n     * (except if `keepTogether` is enabled)\n     */\n    boundariesElement: 'viewport',\n    /**\n     * @prop {Boolean} flipVariations=false\n     * The popper will switch placement variation between `-start` and `-end` when\n     * the reference element overlaps its boundaries.\n     *\n     * The original placement should have a set variation.\n     */\n    flipVariations: false,\n    /**\n     * @prop {Boolean} flipVariationsByContent=false\n     * The popper will switch placement variation between `-start` and `-end` when\n     * the popper element overlaps its reference boundaries.\n     *\n     * The original placement should have a set variation.\n     */\n    flipVariationsByContent: false\n  },\n\n  /**\n   * Modifier used to make the popper flow toward the inner of the reference element.\n   * By default, when this modifier is disabled, the popper will be placed outside\n   * the reference element.\n   * @memberof modifiers\n   * @inner\n   */\n  inner: {\n    /** @prop {number} order=700 - Index used to define the order of execution */\n    order: 700,\n    /** @prop {Boolean} enabled=false - Whether the modifier is enabled or not */\n    enabled: false,\n    /** @prop {ModifierFn} */\n    fn: inner\n  },\n\n  /**\n   * Modifier used to hide the popper when its reference element is outside of the\n   * popper boundaries. It will set a `x-out-of-boundaries` attribute which can\n   * be used to hide with a CSS selector the popper when its reference is\n   * out of boundaries.\n   *\n   * Requires the `preventOverflow` modifier before it in order to work.\n   * @memberof modifiers\n   * @inner\n   */\n  hide: {\n    /** @prop {number} order=800 - Index used to define the order of execution */\n    order: 800,\n    /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */\n    enabled: true,\n    /** @prop {ModifierFn} */\n    fn: hide\n  },\n\n  /**\n   * Computes the style that will be applied to the popper element to gets\n   * properly positioned.\n   *\n   * Note that this modifier will not touch the DOM, it just prepares the styles\n   * so that `applyStyle` modifier can apply it. This separation is useful\n   * in case you need to replace `applyStyle` with a custom implementation.\n   *\n   * This modifier has `850` as `order` value to maintain backward compatibility\n   * with previous versions of Popper.js. Expect the modifiers ordering method\n   * to change in future major versions of the library.\n   *\n   * @memberof modifiers\n   * @inner\n   */\n  computeStyle: {\n    /** @prop {number} order=850 - Index used to define the order of execution */\n    order: 850,\n    /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */\n    enabled: true,\n    /** @prop {ModifierFn} */\n    fn: computeStyle,\n    /**\n     * @prop {Boolean} gpuAcceleration=true\n     * If true, it uses the CSS 3D transformation to position the popper.\n     * Otherwise, it will use the `top` and `left` properties\n     */\n    gpuAcceleration: true,\n    /**\n     * @prop {string} [x='bottom']\n     * Where to anchor the X axis (`bottom` or `top`). AKA X offset origin.\n     * Change this if your popper should grow in a direction different from `bottom`\n     */\n    x: 'bottom',\n    /**\n     * @prop {string} [x='left']\n     * Where to anchor the Y axis (`left` or `right`). AKA Y offset origin.\n     * Change this if your popper should grow in a direction different from `right`\n     */\n    y: 'right'\n  },\n\n  /**\n   * Applies the computed styles to the popper element.\n   *\n   * All the DOM manipulations are limited to this modifier. This is useful in case\n   * you want to integrate Popper.js inside a framework or view library and you\n   * want to delegate all the DOM manipulations to it.\n   *\n   * Note that if you disable this modifier, you must make sure the popper element\n   * has its position set to `absolute` before Popper.js can do its work!\n   *\n   * Just disable this modifier and define your own to achieve the desired effect.\n   *\n   * @memberof modifiers\n   * @inner\n   */\n  applyStyle: {\n    /** @prop {number} order=900 - Index used to define the order of execution */\n    order: 900,\n    /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */\n    enabled: true,\n    /** @prop {ModifierFn} */\n    fn: applyStyle,\n    /** @prop {Function} */\n    onLoad: applyStyleOnLoad,\n    /**\n     * @deprecated since version 1.10.0, the property moved to `computeStyle` modifier\n     * @prop {Boolean} gpuAcceleration=true\n     * If true, it uses the CSS 3D transformation to position the popper.\n     * Otherwise, it will use the `top` and `left` properties\n     */\n    gpuAcceleration: undefined\n  }\n};\n\n/**\n * The `dataObject` is an object containing all the information used by Popper.js.\n * This object is passed to modifiers and to the `onCreate` and `onUpdate` callbacks.\n * @name dataObject\n * @property {Object} data.instance The Popper.js instance\n * @property {String} data.placement Placement applied to popper\n * @property {String} data.originalPlacement Placement originally defined on init\n * @property {Boolean} data.flipped True if popper has been flipped by flip modifier\n * @property {Boolean} data.hide True if the reference element is out of boundaries, useful to know when to hide the popper\n * @property {HTMLElement} data.arrowElement Node used as arrow by arrow modifier\n * @property {Object} data.styles Any CSS property defined here will be applied to the popper. It expects the JavaScript nomenclature (eg. `marginBottom`)\n * @property {Object} data.arrowStyles Any CSS property defined here will be applied to the popper arrow. It expects the JavaScript nomenclature (eg. `marginBottom`)\n * @property {Object} data.boundaries Offsets of the popper boundaries\n * @property {Object} data.offsets The measurements of popper, reference and arrow elements\n * @property {Object} data.offsets.popper `top`, `left`, `width`, `height` values\n * @property {Object} data.offsets.reference `top`, `left`, `width`, `height` values\n * @property {Object} data.offsets.arrow] `top` and `left` offsets, only one of them will be different from 0\n */\n\n/**\n * Default options provided to Popper.js constructor.<br />\n * These can be overridden using the `options` argument of Popper.js.<br />\n * To override an option, simply pass an object with the same\n * structure of the `options` object, as the 3rd argument. For example:\n * ```\n * new Popper(ref, pop, {\n *   modifiers: {\n *     preventOverflow: { enabled: false }\n *   }\n * })\n * ```\n * @type {Object}\n * @static\n * @memberof Popper\n */\nvar Defaults = {\n  /**\n   * Popper's placement.\n   * @prop {Popper.placements} placement='bottom'\n   */\n  placement: 'bottom',\n\n  /**\n   * Set this to true if you want popper to position it self in 'fixed' mode\n   * @prop {Boolean} positionFixed=false\n   */\n  positionFixed: false,\n\n  /**\n   * Whether events (resize, scroll) are initially enabled.\n   * @prop {Boolean} eventsEnabled=true\n   */\n  eventsEnabled: true,\n\n  /**\n   * Set to true if you want to automatically remove the popper when\n   * you call the `destroy` method.\n   * @prop {Boolean} removeOnDestroy=false\n   */\n  removeOnDestroy: false,\n\n  /**\n   * Callback called when the popper is created.<br />\n   * By default, it is set to no-op.<br />\n   * Access Popper.js instance with `data.instance`.\n   * @prop {onCreate}\n   */\n  onCreate: function onCreate() {},\n\n  /**\n   * Callback called when the popper is updated. This callback is not called\n   * on the initialization/creation of the popper, but only on subsequent\n   * updates.<br />\n   * By default, it is set to no-op.<br />\n   * Access Popper.js instance with `data.instance`.\n   * @prop {onUpdate}\n   */\n  onUpdate: function onUpdate() {},\n\n  /**\n   * List of modifiers used to modify the offsets before they are applied to the popper.\n   * They provide most of the functionalities of Popper.js.\n   * @prop {modifiers}\n   */\n  modifiers: modifiers\n};\n\n/**\n * @callback onCreate\n * @param {dataObject} data\n */\n\n/**\n * @callback onUpdate\n * @param {dataObject} data\n */\n\n// Utils\n// Methods\nvar Popper = function () {\n  /**\n   * Creates a new Popper.js instance.\n   * @class Popper\n   * @param {Element|referenceObject} reference - The reference element used to position the popper\n   * @param {Element} popper - The HTML / XML element used as the popper\n   * @param {Object} options - Your custom options to override the ones defined in [Defaults](#defaults)\n   * @return {Object} instance - The generated Popper.js instance\n   */\n  function Popper(reference, popper) {\n    var _this = this;\n\n    var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n    classCallCheck(this, Popper);\n\n    this.scheduleUpdate = function () {\n      return requestAnimationFrame(_this.update);\n    };\n\n    // make update() debounced, so that it only runs at most once-per-tick\n    this.update = debounce(this.update.bind(this));\n\n    // with {} we create a new object with the options inside it\n    this.options = _extends({}, Popper.Defaults, options);\n\n    // init state\n    this.state = {\n      isDestroyed: false,\n      isCreated: false,\n      scrollParents: []\n    };\n\n    // get reference and popper elements (allow jQuery wrappers)\n    this.reference = reference && reference.jquery ? reference[0] : reference;\n    this.popper = popper && popper.jquery ? popper[0] : popper;\n\n    // Deep merge modifiers options\n    this.options.modifiers = {};\n    Object.keys(_extends({}, Popper.Defaults.modifiers, options.modifiers)).forEach(function (name) {\n      _this.options.modifiers[name] = _extends({}, Popper.Defaults.modifiers[name] || {}, options.modifiers ? options.modifiers[name] : {});\n    });\n\n    // Refactoring modifiers' list (Object => Array)\n    this.modifiers = Object.keys(this.options.modifiers).map(function (name) {\n      return _extends({\n        name: name\n      }, _this.options.modifiers[name]);\n    })\n    // sort the modifiers by order\n    .sort(function (a, b) {\n      return a.order - b.order;\n    });\n\n    // modifiers have the ability to execute arbitrary code when Popper.js get inited\n    // such code is executed in the same order of its modifier\n    // they could add new properties to their options configuration\n    // BE AWARE: don't add options to `options.modifiers.name` but to `modifierOptions`!\n    this.modifiers.forEach(function (modifierOptions) {\n      if (modifierOptions.enabled && isFunction(modifierOptions.onLoad)) {\n        modifierOptions.onLoad(_this.reference, _this.popper, _this.options, modifierOptions, _this.state);\n      }\n    });\n\n    // fire the first update to position the popper in the right place\n    this.update();\n\n    var eventsEnabled = this.options.eventsEnabled;\n    if (eventsEnabled) {\n      // setup event listeners, they will take care of update the position in specific situations\n      this.enableEventListeners();\n    }\n\n    this.state.eventsEnabled = eventsEnabled;\n  }\n\n  // We can't use class properties because they don't get listed in the\n  // class prototype and break stuff like Sinon stubs\n\n\n  createClass(Popper, [{\n    key: 'update',\n    value: function update$$1() {\n      return update.call(this);\n    }\n  }, {\n    key: 'destroy',\n    value: function destroy$$1() {\n      return destroy.call(this);\n    }\n  }, {\n    key: 'enableEventListeners',\n    value: function enableEventListeners$$1() {\n      return enableEventListeners.call(this);\n    }\n  }, {\n    key: 'disableEventListeners',\n    value: function disableEventListeners$$1() {\n      return disableEventListeners.call(this);\n    }\n\n    /**\n     * Schedules an update. It will run on the next UI update available.\n     * @method scheduleUpdate\n     * @memberof Popper\n     */\n\n\n    /**\n     * Collection of utilities useful when writing custom modifiers.\n     * Starting from version 1.7, this method is available only if you\n     * include `popper-utils.js` before `popper.js`.\n     *\n     * **DEPRECATION**: This way to access PopperUtils is deprecated\n     * and will be removed in v2! Use the PopperUtils module directly instead.\n     * Due to the high instability of the methods contained in Utils, we can't\n     * guarantee them to follow semver. Use them at your own risk!\n     * @static\n     * @private\n     * @type {Object}\n     * @deprecated since version 1.8\n     * @member Utils\n     * @memberof Popper\n     */\n\n  }]);\n  return Popper;\n}();\n\n/**\n * The `referenceObject` is an object that provides an interface compatible with Popper.js\n * and lets you use it as replacement of a real DOM node.<br />\n * You can use this method to position a popper relatively to a set of coordinates\n * in case you don't have a DOM node to use as reference.\n *\n * ```\n * new Popper(referenceObject, popperNode);\n * ```\n *\n * NB: This feature isn't supported in Internet Explorer 10.\n * @name referenceObject\n * @property {Function} data.getBoundingClientRect\n * A function that returns a set of coordinates compatible with the native `getBoundingClientRect` method.\n * @property {number} data.clientWidth\n * An ES6 getter that will return the width of the virtual reference element.\n * @property {number} data.clientHeight\n * An ES6 getter that will return the height of the virtual reference element.\n */\n\n\nPopper.Utils = (typeof window !== 'undefined' ? window : global).PopperUtils;\nPopper.placements = placements;\nPopper.Defaults = Defaults;\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (Popper);\n//# sourceMappingURL=popper.js.map\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../webpack/buildin/global.js */ \"./node_modules/webpack/buildin/global.js\")))\n\n//# sourceURL=webpack:///./node_modules/popper.js/dist/esm/popper.js?");

/***/ }),

/***/ "./node_modules/webpack/buildin/global.js":
/*!***********************************!*\
  !*** (webpack)/buildin/global.js ***!
  \***********************************/
/*! no static exports found */
/***/ (function(module, exports) {

eval("var g;\n\n// This works in non-strict mode\ng = (function() {\n\treturn this;\n})();\n\ntry {\n\t// This works if eval is allowed (see CSP)\n\tg = g || new Function(\"return this\")();\n} catch (e) {\n\t// This works if the window reference is available\n\tif (typeof window === \"object\") g = window;\n}\n\n// g can still be undefined, but nothing to do about it...\n// We return undefined, instead of nothing here, so it's\n// easier to handle this case. if(!global) { ...}\n\nmodule.exports = g;\n\n\n//# sourceURL=webpack:///(webpack)/buildin/global.js?");

/***/ }),

/***/ 31:
/*!***************************************************************************************************************************************************************************************************!*\
  !*** multi popper.js jquery-mask-plugin ./buyercall/assets/scripts/mobile/bootstrap-datepicker.js ./buyercall/assets/scripts/mobile/bootstrap.min.js ./buyercall/assets/scripts/mobile/mobile.js ***!
  \***************************************************************************************************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

eval("__webpack_require__(/*! popper.js */\"./node_modules/popper.js/dist/esm/popper.js\");\n__webpack_require__(/*! jquery-mask-plugin */\"./node_modules/jquery-mask-plugin/dist/jquery.mask.js\");\n__webpack_require__(/*! /home/arjun/projects/buyercall_forms/buyercall/buyercall/assets/scripts/mobile/bootstrap-datepicker.js */\"./buyercall/assets/scripts/mobile/bootstrap-datepicker.js\");\n__webpack_require__(/*! /home/arjun/projects/buyercall_forms/buyercall/buyercall/assets/scripts/mobile/bootstrap.min.js */\"./buyercall/assets/scripts/mobile/bootstrap.min.js\");\nmodule.exports = __webpack_require__(/*! /home/arjun/projects/buyercall_forms/buyercall/buyercall/assets/scripts/mobile/mobile.js */\"./buyercall/assets/scripts/mobile/mobile.js\");\n\n\n//# sourceURL=webpack:///multi_popper.js_jquery-mask-plugin_./buyercall/assets/scripts/mobile/bootstrap-datepicker.js_./buyercall/assets/scripts/mobile/bootstrap.min.js_./buyercall/assets/scripts/mobile/mobile.js?");

/***/ }),

/***/ "jquery":
/*!*************************!*\
  !*** external "jQuery" ***!
  \*************************/
/*! no static exports found */
/***/ (function(module, exports) {

eval("module.exports = jQuery;\n\n//# sourceURL=webpack:///external_%22jQuery%22?");

/***/ })

/******/ });