PageSourceSearch

https://wpsimplepay.com/wp-content/themes/wp-simple-pay/build/block-formats/tooltip/script.js?ver=2.8.5

js wpsimplepay.com collected 2026-09-24 17:15:32 UTC 233,145 bytes, 5,737 lines download raw bytes

vendor: 102 bytes, lines 1-4
1/******/ (() => { // webpackBootstrap
2/******/ 	"use strict";
3/******/ 	var __webpack_modules__ = ({
4
vendor: 13,552 bytes, lines 5-292
5/***/ "./node_modules/@popperjs/core/lib/createPopper.js":
6/*!*********************************************************!*\
7  !*** ./node_modules/@popperjs/core/lib/createPopper.js ***!
8  \*********************************************************/
9/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
10
11__webpack_require__.r(__webpack_exports__);
12/* harmony export */ __webpack_require__.d(__webpack_exports__, {
13/* harmony export */   "createPopper": () => (/* binding */ createPopper),
14/* harmony export */   "detectOverflow": () => (/* reexport safe */ _utils_detectOverflow_js__WEBPACK_IMPORTED_MODULE_13__["default"]),
15/* harmony export */   "popperGenerator": () => (/* binding */ popperGenerator)
16/* harmony export */ });
17/* harmony import */ var _dom_utils_getCompositeRect_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./dom-utils/getCompositeRect.js */ "./node_modules/@popperjs/core/lib/dom-utils/getCompositeRect.js");
18/* harmony import */ var _dom_utils_getLayoutRect_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./dom-utils/getLayoutRect.js */ "./node_modules/@popperjs/core/lib/dom-utils/getLayoutRect.js");
19/* harmony import */ var _dom_utils_listScrollParents_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./dom-utils/listScrollParents.js */ "./node_modules/@popperjs/core/lib/dom-utils/listScrollParents.js");
20/* harmony import */ var _dom_utils_getOffsetParent_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./dom-utils/getOffsetParent.js */ "./node_modules/@popperjs/core/lib/dom-utils/getOffsetParent.js");
21/* harmony import */ var _dom_utils_getComputedStyle_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./dom-utils/getComputedStyle.js */ "./node_modules/@popperjs/core/lib/dom-utils/getComputedStyle.js");
22/* harmony import */ var _utils_orderModifiers_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./utils/orderModifiers.js */ "./node_modules/@popperjs/core/lib/utils/orderModifiers.js");
23/* harmony import */ var _utils_debounce_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./utils/debounce.js */ "./node_modules/@popperjs/core/lib/utils/debounce.js");
24/* harmony import */ var _utils_validateModifiers_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./utils/validateModifiers.js */ "./node_modules/@popperjs/core/lib/utils/validateModifiers.js");
25/* harmony import */ var _utils_uniqueBy_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./utils/uniqueBy.js */ "./node_modules/@popperjs/core/lib/utils/uniqueBy.js");
26/* harmony import */ var _utils_getBasePlacement_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./utils/getBasePlacement.js */ "./node_modules/@popperjs/core/lib/utils/getBasePlacement.js");
27/* harmony import */ var _utils_mergeByName_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./utils/mergeByName.js */ "./node_modules/@popperjs/core/lib/utils/mergeByName.js");
28/* harmony import */ var _utils_detectOverflow_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./utils/detectOverflow.js */ "./node_modules/@popperjs/core/lib/utils/detectOverflow.js");
29/* harmony import */ var _dom_utils_instanceOf_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./dom-utils/instanceOf.js */ "./node_modules/@popperjs/core/lib/dom-utils/instanceOf.js");
30/* harmony import */ var _enums_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./enums.js */ "./node_modules/@popperjs/core/lib/enums.js");
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45var INVALID_ELEMENT_ERROR = 'Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.';
46var INFINITE_LOOP_ERROR = 'Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.';
47var DEFAULT_OPTIONS = {
48  placement: 'bottom',
49  modifiers: [],
50  strategy: 'absolute'
51};
52
53function areValidElements() {
54  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
55    args[_key] = arguments[_key];
56  }
57
58  return !args.some(function (element) {
59    return !(element && typeof element.getBoundingClientRect === 'function');
60  });
61}
62
63function popperGenerator(generatorOptions) {
64  if (generatorOptions === void 0) {
65    generatorOptions = {};
66  }
67
68  var _generatorOptions = generatorOptions,
69      _generatorOptions$def = _generatorOptions.defaultModifiers,
70      defaultModifiers = _generatorOptions$def === void 0 ? [] : _generatorOptions$def,
71      _generatorOptions$def2 = _generatorOptions.defaultOptions,
72      defaultOptions = _generatorOptions$def2 === void 0 ? DEFAULT_OPTIONS : _generatorOptions$def2;
73  return function createPopper(reference, popper, options) {
74    if (options === void 0) {
75      options = defaultOptions;
76    }
77
78    var state = {
79      placement: 'bottom',
80      orderedModifiers: [],
81      options: Object.assign({}, DEFAULT_OPTIONS, defaultOptions),
82      modifiersData: {},
83      elements: {
84        reference: reference,
85        popper: popper
86      },
87      attributes: {},
88      styles: {}
89    };
90    var effectCleanupFns = [];
91    var isDestroyed = false;
92    var instance = {
93      state: state,
94      setOptions: function setOptions(setOptionsAction) {
95        var options = typeof setOptionsAction === 'function' ? setOptionsAction(state.options) : setOptionsAction;
96        cleanupModifierEffects();
97        state.options = Object.assign({}, defaultOptions, state.options, options);
98        state.scrollParents = {
99          reference: (0,_dom_utils_instanceOf_js__WEBPACK_IMPORTED_MODULE_0__.isElement)(reference) ? (0,_dom_utils_listScrollParents_js__WEBPACK_IMPORTED_MODULE_1__["default"])(reference) : reference.contextElement ? (0,_dom_utils_listScrollParents_js__WEBPACK_IMPORTED_MODULE_1__["default"])(reference.contextElement) : [],
100          popper: (0,_dom_utils_listScrollParents_js__WEBPACK_IMPORTED_MODULE_1__["default"])(popper)
101        }; // Orders the modifiers based on their dependencies and `phase`
102        // properties
103
104        var orderedModifiers = (0,_utils_orderModifiers_js__WEBPACK_IMPORTED_MODULE_2__["default"])((0,_utils_mergeByName_js__WEBPACK_IMPORTED_MODULE_3__["default"])([].concat(defaultModifiers, state.options.modifiers))); // Strip out disabled modifiers
105
106        state.orderedModifiers = orderedModifiers.filter(function (m) {
107          return m.enabled;
108        }); // Validate the provided modifiers so that the consumer will get warned
109        // if one of the modifiers is invalid for any reason
110
111        if (true) {
112          var modifiers = (0,_utils_uniqueBy_js__WEBPACK_IMPORTED_MODULE_4__["default"])([].concat(orderedModifiers, state.options.modifiers), function (_ref) {
113            var name = _ref.name;
114            return name;
115          });
116          (0,_utils_validateModifiers_js__WEBPACK_IMPORTED_MODULE_5__["default"])(modifiers);
117
118          if ((0,_utils_getBasePlacement_js__WEBPACK_IMPORTED_MODULE_6__["default"])(state.options.placement) === _enums_js__WEBPACK_IMPORTED_MODULE_7__.auto) {
119            var flipModifier = state.orderedModifiers.find(function (_ref2) {
120              var name = _ref2.name;
121              return name === 'flip';
122            });
123
124            if (!flipModifier) {
125              console.error(['Popper: "auto" placements require the "flip" modifier be', 'present and enabled to work.'].join(' '));
126            }
127          }
128
129          var _getComputedStyle = (0,_dom_utils_getComputedStyle_js__WEBPACK_IMPORTED_MODULE_8__["default"])(popper),
130              marginTop = _getComputedStyle.marginTop,
131              marginRight = _getComputedStyle.marginRight,
132              marginBottom = _getComputedStyle.marginBottom,
133              marginLeft = _getComputedStyle.marginLeft; // We no longer take into account `margins` on the popper, and it can
134          // cause bugs with positioning, so we'll warn the consumer
135
136
137          if ([marginTop, marginRight, marginBottom, marginLeft].some(function (margin) {
138            return parseFloat(margin);
139          })) {
140            console.warn(['Popper: CSS "margin" styles cannot be used to apply padding', 'between the popper and its reference element or boundary.', 'To replicate margin, use the `offset` modifier, as well as', 'the `padding` option in the `preventOverflow` and `flip`', 'modifiers.'].join(' '));
141          }
142        }
143
144        runModifierEffects();
145        return instance.update();
146      },
147      // Sync update – it will always be executed, even if not necessary. This
148      // is useful for low frequency updates where sync behavior simplifies the
149      // logic.
150      // For high frequency updates (e.g. `resize` and `scroll` events), always
151      // prefer the async Popper#update method
152      forceUpdate: function forceUpdate() {
153        if (isDestroyed) {
154          return;
155        }
156
157        var _state$elements = state.elements,
158            reference = _state$elements.reference,
159            popper = _state$elements.popper; // Don't proceed if `reference` or `popper` are not valid elements
160        // anymore
161
162        if (!areValidElements(reference, popper)) {
163          if (true) {
164            console.error(INVALID_ELEMENT_ERROR);
165          }
166
167          return;
168        } // Store the reference and popper rects to be read by modifiers
169
170
171        state.rects = {
172          reference: (0,_dom_utils_getCompositeRect_js__WEBPACK_IMPORTED_MODULE_9__["default"])(reference, (0,_dom_utils_getOffsetParent_js__WEBPACK_IMPORTED_MODULE_10__["default"])(popper), state.options.strategy === 'fixed'),
173          popper: (0,_dom_utils_getLayoutRect_js__WEBPACK_IMPORTED_MODULE_11__["default"])(popper)
174        }; // Modifiers have the ability to reset the current update cycle. The
175        // most common use case for this is the `flip` modifier changing the
176        // placement, which then needs to re-run all the modifiers, because the
177        // logic was previously ran for the previous placement and is therefore
178        // stale/incorrect
179
180        state.reset = false;
181        state.placement = state.options.placement; // On each update cycle, the `modifiersData` property for each modifier
182        // is filled with the initial data specified by the modifier. This means
183        // it doesn't persist and is fresh on each update.
184        // To ensure persistent data, use `${name}#persistent`
185
186        state.orderedModifiers.forEach(function (modifier) {
187          return state.modifiersData[modifier.name] = Object.assign({}, modifier.data);
188        });
189        var __debug_loops__ = 0;
190
191        for (var index = 0; index < state.orderedModifiers.length; index++) {
192          if (true) {
193            __debug_loops__ += 1;
194
195            if (__debug_loops__ > 100) {
196              console.error(INFINITE_LOOP_ERROR);
197              break;
198            }
199          }
200
201          if (state.reset === true) {
202            state.reset = false;
203            index = -1;
204            continue;
205          }
206
207          var _state$orderedModifie = state.orderedModifiers[index],
208              fn = _state$orderedModifie.fn,
209              _state$orderedModifie2 = _state$orderedModifie.options,
210              _options = _state$orderedModifie2 === void 0 ? {} : _state$orderedModifie2,
211              name = _state$orderedModifie.name;
212
213          if (typeof fn === 'function') {
214            state = fn({
215              state: state,
216              options: _options,
217              name: name,
218              instance: instance
219            }) || state;
220          }
221        }
222      },
223      // Async and optimistically optimized update – it will not be executed if
224      // not necessary (debounced to run at most once-per-tick)
225      update: (0,_utils_debounce_js__WEBPACK_IMPORTED_MODULE_12__["default"])(function () {
226        return new Promise(function (resolve) {
227          instance.forceUpdate();
228          resolve(state);
229        });
230      }),
231      destroy: function destroy() {
232        cleanupModifierEffects();
233        isDestroyed = true;
234      }
235    };
236
237    if (!areValidElements(reference, popper)) {
238      if (true) {
239        console.error(INVALID_ELEMENT_ERROR);
240      }
241
242      return instance;
243    }
244
245    instance.setOptions(options).then(function (state) {
246      if (!isDestroyed && options.onFirstUpdate) {
247        options.onFirstUpdate(state);
248      }
249    }); // Modifiers have the ability to execute arbitrary code before the first
250    // update cycle runs. They will be executed in the same order as the update
251    // cycle. This is useful when a modifier adds some persistent data that
252    // other modifiers need to use, but the modifier is run after the dependent
253    // one.
254
255    function runModifierEffects() {
256      state.orderedModifiers.forEach(function (_ref3) {
257        var name = _ref3.name,
258            _ref3$options = _ref3.options,
259            options = _ref3$options === void 0 ? {} : _ref3$options,
260            effect = _ref3.effect;
261
262        if (typeof effect === 'function') {
263          var cleanupFn = effect({
264            state: state,
265            name: name,
266            instance: instance,
267            options: options
268          });
269
270          var noopFn = function noopFn() {};
271
272          effectCleanupFns.push(cleanupFn || noopFn);
273        }
274      });
275    }
276
277    function cleanupModifierEffects() {
278      effectCleanupFns.forEach(function (fn) {
279        return fn();
280      });
281      effectCleanupFns = [];
282    }
283
284    return instance;
285  };
286}
287var createPopper = /*#__PURE__*/popperGenerator(); // eslint-disable-next-line import/no-unused-modules
288
289
290
291/***/ }),
292
vendor: 1,404 bytes, lines 293-329
293/***/ "./node_modules/@popperjs/core/lib/dom-utils/contains.js":
294/*!***************************************************************!*\
295  !*** ./node_modules/@popperjs/core/lib/dom-utils/contains.js ***!
296  \***************************************************************/
297/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
298
299__webpack_require__.r(__webpack_exports__);
300/* harmony export */ __webpack_require__.d(__webpack_exports__, {
301/* harmony export */   "default": () => (/* binding */ contains)
302/* harmony export */ });
303/* harmony import */ var _instanceOf_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./instanceOf.js */ "./node_modules/@popperjs/core/lib/dom-utils/instanceOf.js");
304
305function contains(parent, child) {
306  var rootNode = child.getRootNode && child.getRootNode(); // First, attempt with faster native method
307
308  if (parent.contains(child)) {
309    return true;
310  } // then fallback to custom implementation with Shadow DOM support
311  else if (rootNode && (0,_instanceOf_js__WEBPACK_IMPORTED_MODULE_0__.isShadowRoot)(rootNode)) {
312      var next = child;
313
314      do {
315        if (next && parent.isSameNode(next)) {
316          return true;
317        } // $FlowFixMe[prop-missing]: need a better way to handle this...
318
319
320        next = next.parentNode || next.host;
321      } while (next);
322    } // Give up, the result is false
323
324
325  return false;
326}
327
328/***/ }),
329
vendor: 2,792 bytes, lines 330-387
330/***/ "./node_modules/@popperjs/core/lib/dom-utils/getBoundingClientRect.js":
331/*!****************************************************************************!*\
332  !*** ./node_modules/@popperjs/core/lib/dom-utils/getBoundingClientRect.js ***!
333  \****************************************************************************/
334/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
335
336__webpack_require__.r(__webpack_exports__);
337/* harmony export */ __webpack_require__.d(__webpack_exports__, {
338/* harmony export */   "default": () => (/* binding */ getBoundingClientRect)
339/* harmony export */ });
340/* harmony import */ var _instanceOf_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./instanceOf.js */ "./node_modules/@popperjs/core/lib/dom-utils/instanceOf.js");
341/* harmony import */ var _utils_math_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils/math.js */ "./node_modules/@popperjs/core/lib/utils/math.js");
342/* harmony import */ var _getWindow_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./getWindow.js */ "./node_modules/@popperjs/core/lib/dom-utils/getWindow.js");
343/* harmony import */ var _isLayoutViewport_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./isLayoutViewport.js */ "./node_modules/@popperjs/core/lib/dom-utils/isLayoutViewport.js");
344
345
346
347
348function getBoundingClientRect(element, includeScale, isFixedStrategy) {
349  if (includeScale === void 0) {
350    includeScale = false;
351  }
352
353  if (isFixedStrategy === void 0) {
354    isFixedStrategy = false;
355  }
356
357  var clientRect = element.getBoundingClientRect();
358  var scaleX = 1;
359  var scaleY = 1;
360
361  if (includeScale && (0,_instanceOf_js__WEBPACK_IMPORTED_MODULE_0__.isHTMLElement)(element)) {
362    scaleX = element.offsetWidth > 0 ? (0,_utils_math_js__WEBPACK_IMPORTED_MODULE_1__.round)(clientRect.width) / element.offsetWidth || 1 : 1;
363    scaleY = element.offsetHeight > 0 ? (0,_utils_math_js__WEBPACK_IMPORTED_MODULE_1__.round)(clientRect.height) / element.offsetHeight || 1 : 1;
364  }
365
366  var _ref = (0,_instanceOf_js__WEBPACK_IMPORTED_MODULE_0__.isElement)(element) ? (0,_getWindow_js__WEBPACK_IMPORTED_MODULE_2__["default"])(element) : window,
367      visualViewport = _ref.visualViewport;
368
369  var addVisualOffsets = !(0,_isLayoutViewport_js__WEBPACK_IMPORTED_MODULE_3__["default"])() && isFixedStrategy;
370  var x = (clientRect.left + (addVisualOffsets && visualViewport ? visualViewport.offsetLeft : 0)) / scaleX;
371  var y = (clientRect.top + (addVisualOffsets && visualViewport ? visualViewport.offsetTop : 0)) / scaleY;
372  var width = clientRect.width / scaleX;
373  var height = clientRect.height / scaleY;
374  return {
375    width: width,
376    height: height,
377    top: y,
378    right: x + width,
379    bottom: y + height,
380    left: x,
381    x: x,
382    y: y
383  };
384}
385
386/***/ }),
387
vendor: 6,902 bytes, lines 388-484
388/***/ "./node_modules/@popperjs/core/lib/dom-utils/getClippingRect.js":
389/*!**********************************************************************!*\
390  !*** ./node_modules/@popperjs/core/lib/dom-utils/getClippingRect.js ***!
391  \**********************************************************************/
392/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
393
394__webpack_require__.r(__webpack_exports__);
395/* harmony export */ __webpack_require__.d(__webpack_exports__, {
396/* harmony export */   "default": () => (/* binding */ getClippingRect)
397/* harmony export */ });
398/* harmony import */ var _enums_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../enums.js */ "./node_modules/@popperjs/core/lib/enums.js");
399/* harmony import */ var _getViewportRect_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./getViewportRect.js */ "./node_modules/@popperjs/core/lib/dom-utils/getViewportRect.js");
400/* harmony import */ var _getDocumentRect_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./getDocumentRect.js */ "./node_modules/@popperjs/core/lib/dom-utils/getDocumentRect.js");
401/* harmony import */ var _listScrollParents_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./listScrollParents.js */ "./node_modules/@popperjs/core/lib/dom-utils/listScrollParents.js");
402/* harmony import */ var _getOffsetParent_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./getOffsetParent.js */ "./node_modules/@popperjs/core/lib/dom-utils/getOffsetParent.js");
403/* harmony import */ var _getDocumentElement_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./getDocumentElement.js */ "./node_modules/@popperjs/core/lib/dom-utils/getDocumentElement.js");
404/* harmony import */ var _getComputedStyle_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./getComputedStyle.js */ "./node_modules/@popperjs/core/lib/dom-utils/getComputedStyle.js");
405/* harmony import */ var _instanceOf_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./instanceOf.js */ "./node_modules/@popperjs/core/lib/dom-utils/instanceOf.js");
406/* harmony import */ var _getBoundingClientRect_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getBoundingClientRect.js */ "./node_modules/@popperjs/core/lib/dom-utils/getBoundingClientRect.js");
407/* harmony import */ var _getParentNode_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./getParentNode.js */ "./node_modules/@popperjs/core/lib/dom-utils/getParentNode.js");
408/* harmony import */ var _contains_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./contains.js */ "./node_modules/@popperjs/core/lib/dom-utils/contains.js");
409/* harmony import */ var _getNodeName_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./getNodeName.js */ "./node_modules/@popperjs/core/lib/dom-utils/getNodeName.js");
410/* harmony import */ var _utils_rectToClientRect_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils/rectToClientRect.js */ "./node_modules/@popperjs/core/lib/utils/rectToClientRect.js");
411/* harmony import */ var _utils_math_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../utils/math.js */ "./node_modules/@popperjs/core/lib/utils/math.js");
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427function getInnerBoundingClientRect(element, strategy) {
428  var rect = (0,_getBoundingClientRect_js__WEBPACK_IMPORTED_MODULE_0__["default"])(element, false, strategy === 'fixed');
429  rect.top = rect.top + element.clientTop;
430  rect.left = rect.left + element.clientLeft;
431  rect.bottom = rect.top + element.clientHeight;
432  rect.right = rect.left + element.clientWidth;
433  rect.width = element.clientWidth;
434  rect.height = element.clientHeight;
435  rect.x = rect.left;
436  rect.y = rect.top;
437  return rect;
438}
439
440function getClientRectFromMixedType(element, clippingParent, strategy) {
441  return clippingParent === _enums_js__WEBPACK_IMPORTED_MODULE_1__.viewport ? (0,_utils_rectToClientRect_js__WEBPACK_IMPORTED_MODULE_2__["default"])((0,_getViewportRect_js__WEBPACK_IMPORTED_MODULE_3__["default"])(element, strategy)) : (0,_instanceOf_js__WEBPACK_IMPORTED_MODULE_4__.isElement)(clippingParent) ? getInnerBoundingClientRect(clippingParent, strategy) : (0,_utils_rectToClientRect_js__WEBPACK_IMPORTED_MODULE_2__["default"])((0,_getDocumentRect_js__WEBPACK_IMPORTED_MODULE_5__["default"])((0,_getDocumentElement_js__WEBPACK_IMPORTED_MODULE_6__["default"])(element)));
442} // A "clipping parent" is an overflowable container with the characteristic of
443// clipping (or hiding) overflowing elements with a position different from
444// `initial`
445
446
447function getClippingParents(element) {
448  var clippingParents = (0,_listScrollParents_js__WEBPACK_IMPORTED_MODULE_7__["default"])((0,_getParentNode_js__WEBPACK_IMPORTED_MODULE_8__["default"])(element));
449  var canEscapeClipping = ['absolute', 'fixed'].indexOf((0,_getComputedStyle_js__WEBPACK_IMPORTED_MODULE_9__["default"])(element).position) >= 0;
450  var clipperElement = canEscapeClipping && (0,_instanceOf_js__WEBPACK_IMPORTED_MODULE_4__.isHTMLElement)(element) ? (0,_getOffsetParent_js__WEBPACK_IMPORTED_MODULE_10__["default"])(element) : element;
451
452  if (!(0,_instanceOf_js__WEBPACK_IMPORTED_MODULE_4__.isElement)(clipperElement)) {
453    return [];
454  } // $FlowFixMe[incompatible-return]: https://github.com/facebook/flow/issues/1414
455
456
457  return clippingParents.filter(function (clippingParent) {
458    return (0,_instanceOf_js__WEBPACK_IMPORTED_MODULE_4__.isElement)(clippingParent) && (0,_contains_js__WEBPACK_IMPORTED_MODULE_11__["default"])(clippingParent, clipperElement) && (0,_getNodeName_js__WEBPACK_IMPORTED_MODULE_12__["default"])(clippingParent) !== 'body';
459  });
460} // Gets the maximum area that the element is visible in due to any number of
461// clipping parents
462
463
464function getClippingRect(element, boundary, rootBoundary, strategy) {
465  var mainClippingParents = boundary === 'clippingParents' ? getClippingParents(element) : [].concat(boundary);
466  var clippingParents = [].concat(mainClippingParents, [rootBoundary]);
467  var firstClippingParent = clippingParents[0];
468  var clippingRect = clippingParents.reduce(function (accRect, clippingParent) {
469    var rect = getClientRectFromMixedType(element, clippingParent, strategy);
470    accRect.top = (0,_utils_math_js__WEBPACK_IMPORTED_MODULE_13__.max)(rect.top, accRect.top);
471    accRect.right = (0,_utils_math_js__WEBPACK_IMPORTED_MODULE_13__.min)(rect.right, accRect.right);
472    accRect.bottom = (0,_utils_math_js__WEBPACK_IMPORTED_MODULE_13__.min)(rect.bottom, accRect.bottom);
473    accRect.left = (0,_utils_math_js__WEBPACK_IMPORTED_MODULE_13__.max)(rect.left, accRect.left);
474    return accRect;
475  }, getClientRectFromMixedType(element, firstClippingParent, strategy));
476  clippingRect.width = clippingRect.right - clippingRect.left;
477  clippingRect.height = clippingRect.bottom - clippingRect.top;
478  clippingRect.x = clippingRect.left;
479  clippingRect.y = clippingRect.top;
480  return clippingRect;
481}
482
483/***/ }),
484
vendor: 4,338 bytes, lines 485-563
485/***/ "./node_modules/@popperjs/core/lib/dom-utils/getCompositeRect.js":
486/*!***********************************************************************!*\
487  !*** ./node_modules/@popperjs/core/lib/dom-utils/getCompositeRect.js ***!
488  \***********************************************************************/
489/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
490
491__webpack_require__.r(__webpack_exports__);
492/* harmony export */ __webpack_require__.d(__webpack_exports__, {
493/* harmony export */   "default": () => (/* binding */ getCompositeRect)
494/* harmony export */ });
495/* harmony import */ var _getBoundingClientRect_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./getBoundingClientRect.js */ "./node_modules/@popperjs/core/lib/dom-utils/getBoundingClientRect.js");
496/* harmony import */ var _getNodeScroll_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./getNodeScroll.js */ "./node_modules/@popperjs/core/lib/dom-utils/getNodeScroll.js");
497/* harmony import */ var _getNodeName_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./getNodeName.js */ "./node_modules/@popperjs/core/lib/dom-utils/getNodeName.js");
498/* harmony import */ var _instanceOf_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./instanceOf.js */ "./node_modules/@popperjs/core/lib/dom-utils/instanceOf.js");
499/* harmony import */ var _getWindowScrollBarX_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./getWindowScrollBarX.js */ "./node_modules/@popperjs/core/lib/dom-utils/getWindowScrollBarX.js");
500/* harmony import */ var _getDocumentElement_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./getDocumentElement.js */ "./node_modules/@popperjs/core/lib/dom-utils/getDocumentElement.js");
501/* harmony import */ var _isScrollParent_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./isScrollParent.js */ "./node_modules/@popperjs/core/lib/dom-utils/isScrollParent.js");
502/* harmony import */ var _utils_math_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils/math.js */ "./node_modules/@popperjs/core/lib/utils/math.js");
503
504
505
506
507
508
509
510
511
512function isElementScaled(element) {
513  var rect = element.getBoundingClientRect();
514  var scaleX = (0,_utils_math_js__WEBPACK_IMPORTED_MODULE_0__.round)(rect.width) / element.offsetWidth || 1;
515  var scaleY = (0,_utils_math_js__WEBPACK_IMPORTED_MODULE_0__.round)(rect.height) / element.offsetHeight || 1;
516  return scaleX !== 1 || scaleY !== 1;
517} // Returns the composite rect of an element relative to its offsetParent.
518// Composite means it takes into account transforms as well as layout.
519
520
521function getCompositeRect(elementOrVirtualElement, offsetParent, isFixed) {
522  if (isFixed === void 0) {
523    isFixed = false;
524  }
525
526  var isOffsetParentAnElement = (0,_instanceOf_js__WEBPACK_IMPORTED_MODULE_1__.isHTMLElement)(offsetParent);
527  var offsetParentIsScaled = (0,_instanceOf_js__WEBPACK_IMPORTED_MODULE_1__.isHTMLElement)(offsetParent) && isElementScaled(offsetParent);
528  var documentElement = (0,_getDocumentElement_js__WEBPACK_IMPORTED_MODULE_2__["default"])(offsetParent);
529  var rect = (0,_getBoundingClientRect_js__WEBPACK_IMPORTED_MODULE_3__["default"])(elementOrVirtualElement, offsetParentIsScaled, isFixed);
530  var scroll = {
531    scrollLeft: 0,
532    scrollTop: 0
533  };
534  var offsets = {
535    x: 0,
536    y: 0
537  };
538
539  if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {
540    if ((0,_getNodeName_js__WEBPACK_IMPORTED_MODULE_4__["default"])(offsetParent) !== 'body' || // https://github.com/popperjs/popper-core/issues/1078
541    (0,_isScrollParent_js__WEBPACK_IMPORTED_MODULE_5__["default"])(documentElement)) {
542      scroll = (0,_getNodeScroll_js__WEBPACK_IMPORTED_MODULE_6__["default"])(offsetParent);
543    }
544
545    if ((0,_instanceOf_js__WEBPACK_IMPORTED_MODULE_1__.isHTMLElement)(offsetParent)) {
546      offsets = (0,_getBoundingClientRect_js__WEBPACK_IMPORTED_MODULE_3__["default"])(offsetParent, true);
547      offsets.x += offsetParent.clientLeft;
548      offsets.y += offsetParent.clientTop;
549    } else if (documentElement) {
550      offsets.x = (0,_getWindowScrollBarX_js__WEBPACK_IMPORTED_MODULE_7__["default"])(documentElement);
551    }
552  }
553
554  return {
555    x: rect.left + scroll.scrollLeft - offsets.x,
556    y: rect.top + scroll.scrollTop - offsets.y,
557    width: rect.width,
558    height: rect.height
559  };
560}
561
562/***/ }),
563
vendor: 920 bytes, lines 564-581
564/***/ "./node_modules/@popperjs/core/lib/dom-utils/getComputedStyle.js":
565/*!***********************************************************************!*\
566  !*** ./node_modules/@popperjs/core/lib/dom-utils/getComputedStyle.js ***!
567  \***********************************************************************/
568/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
569
570__webpack_require__.r(__webpack_exports__);
571/* harmony export */ __webpack_require__.d(__webpack_exports__, {
572/* harmony export */   "default": () => (/* binding */ getComputedStyle)
573/* harmony export */ });
574/* harmony import */ var _getWindow_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getWindow.js */ "./node_modules/@popperjs/core/lib/dom-utils/getWindow.js");
575
576function getComputedStyle(element) {
577  return (0,_getWindow_js__WEBPACK_IMPORTED_MODULE_0__["default"])(element).getComputedStyle(element);
578}
579
580/***/ }),
581
vendor: 1,091 bytes, lines 582-601
582/***/ "./node_modules/@popperjs/core/lib/dom-utils/getDocumentElement.js":
583/*!*************************************************************************!*\
584  !*** ./node_modules/@popperjs/core/lib/dom-utils/getDocumentElement.js ***!
585  \*************************************************************************/
586/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
587
588__webpack_require__.r(__webpack_exports__);
589/* harmony export */ __webpack_require__.d(__webpack_exports__, {
590/* harmony export */   "default": () => (/* binding */ getDocumentElement)
591/* harmony export */ });
592/* harmony import */ var _instanceOf_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./instanceOf.js */ "./node_modules/@popperjs/core/lib/dom-utils/instanceOf.js");
593
594function getDocumentElement(element) {
595  // $FlowFixMe[incompatible-return]: assume body is always available
596  return (((0,_instanceOf_js__WEBPACK_IMPORTED_MODULE_0__.isElement)(element) ? element.ownerDocument : // $FlowFixMe[prop-missing]
597  element.document) || window.document).documentElement;
598}
599
600/***/ }),
601
vendor: 2,844 bytes, lines 602-648
602/***/ "./node_modules/@popperjs/core/lib/dom-utils/getDocumentRect.js":
603/*!**********************************************************************!*\
604  !*** ./node_modules/@popperjs/core/lib/dom-utils/getDocumentRect.js ***!
605  \**********************************************************************/
606/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
607
608__webpack_require__.r(__webpack_exports__);
609/* harmony export */ __webpack_require__.d(__webpack_exports__, {
610/* harmony export */   "default": () => (/* binding */ getDocumentRect)
611/* harmony export */ });
612/* harmony import */ var _getDocumentElement_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getDocumentElement.js */ "./node_modules/@popperjs/core/lib/dom-utils/getDocumentElement.js");
613/* harmony import */ var _getComputedStyle_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./getComputedStyle.js */ "./node_modules/@popperjs/core/lib/dom-utils/getComputedStyle.js");
614/* harmony import */ var _getWindowScrollBarX_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./getWindowScrollBarX.js */ "./node_modules/@popperjs/core/lib/dom-utils/getWindowScrollBarX.js");
615/* harmony import */ var _getWindowScroll_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./getWindowScroll.js */ "./node_modules/@popperjs/core/lib/dom-utils/getWindowScroll.js");
616/* harmony import */ var _utils_math_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils/math.js */ "./node_modules/@popperjs/core/lib/utils/math.js");
617
618
619
620
621 // Gets the entire size of the scrollable document area, even extending outside
622// of the `<html>` and `<body>` rect bounds if horizontally scrollable
623
624function getDocumentRect(element) {
625  var _element$ownerDocumen;
626
627  var html = (0,_getDocumentElement_js__WEBPACK_IMPORTED_MODULE_0__["default"])(element);
628  var winScroll = (0,_getWindowScroll_js__WEBPACK_IMPORTED_MODULE_1__["default"])(element);
629  var body = (_element$ownerDocumen = element.ownerDocument) == null ? void 0 : _element$ownerDocumen.body;
630  var width = (0,_utils_math_js__WEBPACK_IMPORTED_MODULE_2__.max)(html.scrollWidth, html.clientWidth, body ? body.scrollWidth : 0, body ? body.clientWidth : 0);
631  var height = (0,_utils_math_js__WEBPACK_IMPORTED_MODULE_2__.max)(html.scrollHeight, html.clientHeight, body ? body.scrollHeight : 0, body ? body.clientHeight : 0);
632  var x = -winScroll.scrollLeft + (0,_getWindowScrollBarX_js__WEBPACK_IMPORTED_MODULE_3__["default"])(element);
633  var y = -winScroll.scrollTop;
634
635  if ((0,_getComputedStyle_js__WEBPACK_IMPORTED_MODULE_4__["default"])(body || html).direction === 'rtl') {
636    x += (0,_utils_math_js__WEBPACK_IMPORTED_MODULE_2__.max)(html.clientWidth, body ? body.clientWidth : 0) - width;
637  }
638
639  return {
640    width: width,
641    height: height,
642    x: x,
643    y: y
644  };
645}
646
647/***/ }),
648
vendor: 752 bytes, lines 649-667
649/***/ "./node_modules/@popperjs/core/lib/dom-utils/getHTMLElementScroll.js":
650/*!***************************************************************************!*\
651  !*** ./node_modules/@popperjs/core/lib/dom-utils/getHTMLElementScroll.js ***!
652  \***************************************************************************/
653/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
654
655__webpack_require__.r(__webpack_exports__);
656/* harmony export */ __webpack_require__.d(__webpack_exports__, {
657/* harmony export */   "default": () => (/* binding */ getHTMLElementScroll)
658/* harmony export */ });
659function getHTMLElementScroll(element) {
660  return {
661    scrollLeft: element.scrollLeft,
662    scrollTop: element.scrollTop
663  };
664}
665
666/***/ }),
667
vendor: 1,536 bytes, lines 668-706
668/***/ "./node_modules/@popperjs/core/lib/dom-utils/getLayoutRect.js":
669/*!********************************************************************!*\
670  !*** ./node_modules/@popperjs/core/lib/dom-utils/getLayoutRect.js ***!
671  \********************************************************************/
672/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
673
674__webpack_require__.r(__webpack_exports__);
675/* harmony export */ __webpack_require__.d(__webpack_exports__, {
676/* harmony export */   "default": () => (/* binding */ getLayoutRect)
677/* harmony export */ });
678/* harmony import */ var _getBoundingClientRect_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getBoundingClientRect.js */ "./node_modules/@popperjs/core/lib/dom-utils/getBoundingClientRect.js");
679 // Returns the layout rect of an element relative to its offsetParent. Layout
680// means it doesn't take into account transforms.
681
682function getLayoutRect(element) {
683  var clientRect = (0,_getBoundingClientRect_js__WEBPACK_IMPORTED_MODULE_0__["default"])(element); // Use the clientRect sizes if it's not been transformed.
684  // Fixes https://github.com/popperjs/popper-core/issues/1223
685
686  var width = element.offsetWidth;
687  var height = element.offsetHeight;
688
689  if (Math.abs(clientRect.width - width) <= 1) {
690    width = clientRect.width;
691  }
692
693  if (Math.abs(clientRect.height - height) <= 1) {
694    height = clientRect.height;
695  }
696
697  return {
698    x: element.offsetLeft,
699    y: element.offsetTop,
700    width: width,
701    height: height
702  };
703}
704
705/***/ }),
706
vendor: 679 bytes, lines 707-722
707/***/ "./node_modules/@popperjs/core/lib/dom-utils/getNodeName.js":
708/*!******************************************************************!*\
709  !*** ./node_modules/@popperjs/core/lib/dom-utils/getNodeName.js ***!
710  \******************************************************************/
711/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
712
713__webpack_require__.r(__webpack_exports__);
714/* harmony export */ __webpack_require__.d(__webpack_exports__, {
715/* harmony export */   "default": () => (/* binding */ getNodeName)
716/* harmony export */ });
717function getNodeName(element) {
718  return element ? (element.nodeName || '').toLowerCase() : null;
719}
720
721/***/ }),
722
vendor: 1,710 bytes, lines 723-750
723/***/ "./node_modules/@popperjs/core/lib/dom-utils/getNodeScroll.js":
724/*!********************************************************************!*\
725  !*** ./node_modules/@popperjs/core/lib/dom-utils/getNodeScroll.js ***!
726  \********************************************************************/
727/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
728
729__webpack_require__.r(__webpack_exports__);
730/* harmony export */ __webpack_require__.d(__webpack_exports__, {
731/* harmony export */   "default": () => (/* binding */ getNodeScroll)
732/* harmony export */ });
733/* harmony import */ var _getWindowScroll_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./getWindowScroll.js */ "./node_modules/@popperjs/core/lib/dom-utils/getWindowScroll.js");
734/* harmony import */ var _getWindow_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getWindow.js */ "./node_modules/@popperjs/core/lib/dom-utils/getWindow.js");
735/* harmony import */ var _instanceOf_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./instanceOf.js */ "./node_modules/@popperjs/core/lib/dom-utils/instanceOf.js");
736/* harmony import */ var _getHTMLElementScroll_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./getHTMLElementScroll.js */ "./node_modules/@popperjs/core/lib/dom-utils/getHTMLElementScroll.js");
737
738
739
740
741function getNodeScroll(node) {
742  if (node === (0,_getWindow_js__WEBPACK_IMPORTED_MODULE_0__["default"])(node) || !(0,_instanceOf_js__WEBPACK_IMPORTED_MODULE_1__.isHTMLElement)(node)) {
743    return (0,_getWindowScroll_js__WEBPACK_IMPORTED_MODULE_2__["default"])(node);
744  } else {
745    return (0,_getHTMLElementScroll_js__WEBPACK_IMPORTED_MODULE_3__["default"])(node);
746  }
747}
748
749/***/ }),
750
vendor: 4,958 bytes, lines 751-839
751/***/ "./node_modules/@popperjs/core/lib/dom-utils/getOffsetParent.js":
752/*!**********************************************************************!*\
753  !*** ./node_modules/@popperjs/core/lib/dom-utils/getOffsetParent.js ***!
754  \**********************************************************************/
755/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
756
757__webpack_require__.r(__webpack_exports__);
758/* harmony export */ __webpack_require__.d(__webpack_exports__, {
759/* harmony export */   "default": () => (/* binding */ getOffsetParent)
760/* harmony export */ });
761/* harmony import */ var _getWindow_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./getWindow.js */ "./node_modules/@popperjs/core/lib/dom-utils/getWindow.js");
762/* harmony import */ var _getNodeName_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./getNodeName.js */ "./node_modules/@popperjs/core/lib/dom-utils/getNodeName.js");
763/* harmony import */ var _getComputedStyle_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./getComputedStyle.js */ "./node_modules/@popperjs/core/lib/dom-utils/getComputedStyle.js");
764/* harmony import */ var _instanceOf_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./instanceOf.js */ "./node_modules/@popperjs/core/lib/dom-utils/instanceOf.js");
765/* harmony import */ var _isTableElement_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./isTableElement.js */ "./node_modules/@popperjs/core/lib/dom-utils/isTableElement.js");
766/* harmony import */ var _getParentNode_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./getParentNode.js */ "./node_modules/@popperjs/core/lib/dom-utils/getParentNode.js");
767/* harmony import */ var _utils_userAgent_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils/userAgent.js */ "./node_modules/@popperjs/core/lib/utils/userAgent.js");
768
769
770
771
772
773
774
775
776function getTrueOffsetParent(element) {
777  if (!(0,_instanceOf_js__WEBPACK_IMPORTED_MODULE_0__.isHTMLElement)(element) || // https://github.com/popperjs/popper-core/issues/837
778  (0,_getComputedStyle_js__WEBPACK_IMPORTED_MODULE_1__["default"])(element).position === 'fixed') {
779    return null;
780  }
781
782  return element.offsetParent;
783} // `.offsetParent` reports `null` for fixed elements, while absolute elements
784// return the containing block
785
786
787function getContainingBlock(element) {
788  var isFirefox = /firefox/i.test((0,_utils_userAgent_js__WEBPACK_IMPORTED_MODULE_2__["default"])());
789  var isIE = /Trident/i.test((0,_utils_userAgent_js__WEBPACK_IMPORTED_MODULE_2__["default"])());
790
791  if (isIE && (0,_instanceOf_js__WEBPACK_IMPORTED_MODULE_0__.isHTMLElement)(element)) {
792    // In IE 9, 10 and 11 fixed elements containing block is always established by the viewport
793    var elementCss = (0,_getComputedStyle_js__WEBPACK_IMPORTED_MODULE_1__["default"])(element);
794
795    if (elementCss.position === 'fixed') {
796      return null;
797    }
798  }
799
800  var currentNode = (0,_getParentNode_js__WEBPACK_IMPORTED_MODULE_3__["default"])(element);
801
802  if ((0,_instanceOf_js__WEBPACK_IMPORTED_MODULE_0__.isShadowRoot)(currentNode)) {
803    currentNode = currentNode.host;
804  }
805
806  while ((0,_instanceOf_js__WEBPACK_IMPORTED_MODULE_0__.isHTMLElement)(currentNode) && ['html', 'body'].indexOf((0,_getNodeName_js__WEBPACK_IMPORTED_MODULE_4__["default"])(currentNode)) < 0) {
807    var css = (0,_getComputedStyle_js__WEBPACK_IMPORTED_MODULE_1__["default"])(currentNode); // This is non-exhaustive but covers the most common CSS properties that
808    // create a containing block.
809    // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
810
811    if (css.transform !== 'none' || css.perspective !== 'none' || css.contain === 'paint' || ['transform', 'perspective'].indexOf(css.willChange) !== -1 || isFirefox && css.willChange === 'filter' || isFirefox && css.filter && css.filter !== 'none') {
812      return currentNode;
813    } else {
814      currentNode = currentNode.parentNode;
815    }
816  }
817
818  return null;
819} // Gets the closest ancestor positioned element. Handles some edge cases,
820// such as table ancestors and cross browser bugs.
821
822
823function getOffsetParent(element) {
824  var window = (0,_getWindow_js__WEBPACK_IMPORTED_MODULE_5__["default"])(element);
825  var offsetParent = getTrueOffsetParent(element);
826
827  while (offsetParent && (0,_isTableElement_js__WEBPACK_IMPORTED_MODULE_6__["default"])(offsetParent) && (0,_getComputedStyle_js__WEBPACK_IMPORTED_MODULE_1__["default"])(offsetParent).position === 'static') {
828    offsetParent = getTrueOffsetParent(offsetParent);
829  }
830
831  if (offsetParent && ((0,_getNodeName_js__WEBPACK_IMPORTED_MODULE_4__["default"])(offsetParent) === 'html' || (0,_getNodeName_js__WEBPACK_IMPORTED_MODULE_4__["default"])(offsetParent) === 'body' && (0,_getComputedStyle_js__WEBPACK_IMPORTED_MODULE_1__["default"])(offsetParent).position === 'static')) {
832    return window;
833  }
834
835  return offsetParent || getContainingBlock(element) || window;
836}
837
838/***/ }),
839
vendor: 1,886 bytes, lines 840-874
840/***/ "./node_modules/@popperjs/core/lib/dom-utils/getParentNode.js":
841/*!********************************************************************!*\
842  !*** ./node_modules/@popperjs/core/lib/dom-utils/getParentNode.js ***!
843  \********************************************************************/
844/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
845
846__webpack_require__.r(__webpack_exports__);
847/* harmony export */ __webpack_require__.d(__webpack_exports__, {
848/* harmony export */   "default": () => (/* binding */ getParentNode)
849/* harmony export */ });
850/* harmony import */ var _getNodeName_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getNodeName.js */ "./node_modules/@popperjs/core/lib/dom-utils/getNodeName.js");
851/* harmony import */ var _getDocumentElement_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./getDocumentElement.js */ "./node_modules/@popperjs/core/lib/dom-utils/getDocumentElement.js");
852/* harmony import */ var _instanceOf_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./instanceOf.js */ "./node_modules/@popperjs/core/lib/dom-utils/instanceOf.js");
853
854
855
856function getParentNode(element) {
857  if ((0,_getNodeName_js__WEBPACK_IMPORTED_MODULE_0__["default"])(element) === 'html') {
858    return element;
859  }
860
861  return (// this is a quicker (but less type safe) way to save quite some bytes from the bundle
862    // $FlowFixMe[incompatible-return]
863    // $FlowFixMe[prop-missing]
864    element.assignedSlot || // step into the shadow DOM of the parent of a slotted node
865    element.parentNode || ( // DOM Element detected
866    (0,_instanceOf_js__WEBPACK_IMPORTED_MODULE_1__.isShadowRoot)(element) ? element.host : null) || // ShadowRoot detected
867    // $FlowFixMe[incompatible-call]: HTMLElement is a Node
868    (0,_getDocumentElement_js__WEBPACK_IMPORTED_MODULE_2__["default"])(element) // fallback
869
870  );
871}
872
873/***/ }),
874
vendor: 1,864 bytes, lines 875-907
875/***/ "./node_modules/@popperjs/core/lib/dom-utils/getScrollParent.js":
876/*!**********************************************************************!*\
877  !*** ./node_modules/@popperjs/core/lib/dom-utils/getScrollParent.js ***!
878  \**********************************************************************/
879/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
880
881__webpack_require__.r(__webpack_exports__);
882/* harmony export */ __webpack_require__.d(__webpack_exports__, {
883/* harmony export */   "default": () => (/* binding */ getScrollParent)
884/* harmony export */ });
885/* harmony import */ var _getParentNode_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./getParentNode.js */ "./node_modules/@popperjs/core/lib/dom-utils/getParentNode.js");
886/* harmony import */ var _isScrollParent_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./isScrollParent.js */ "./node_modules/@popperjs/core/lib/dom-utils/isScrollParent.js");
887/* harmony import */ var _getNodeName_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getNodeName.js */ "./node_modules/@popperjs/core/lib/dom-utils/getNodeName.js");
888/* harmony import */ var _instanceOf_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./instanceOf.js */ "./node_modules/@popperjs/core/lib/dom-utils/instanceOf.js");
889
890
891
892
893function getScrollParent(node) {
894  if (['html', 'body', '#document'].indexOf((0,_getNodeName_js__WEBPACK_IMPORTED_MODULE_0__["default"])(node)) >= 0) {
895    // $FlowFixMe[incompatible-return]: assume body is always available
896    return node.ownerDocument.body;
897  }
898
899  if ((0,_instanceOf_js__WEBPACK_IMPORTED_MODULE_1__.isHTMLElement)(node) && (0,_isScrollParent_js__WEBPACK_IMPORTED_MODULE_2__["default"])(node)) {
900    return node;
901  }
902
903  return getScrollParent((0,_getParentNode_js__WEBPACK_IMPORTED_MODULE_3__["default"])(node));
904}
905
906/***/ }),
907
vendor: 2,220 bytes, lines 908-955
908/***/ "./node_modules/@popperjs/core/lib/dom-utils/getViewportRect.js":
909/*!**********************************************************************!*\
910  !*** ./node_modules/@popperjs/core/lib/dom-utils/getViewportRect.js ***!
911  \**********************************************************************/
912/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
913
914__webpack_require__.r(__webpack_exports__);
915/* harmony export */ __webpack_require__.d(__webpack_exports__, {
916/* harmony export */   "default": () => (/* binding */ getViewportRect)
917/* harmony export */ });
918/* harmony import */ var _getWindow_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getWindow.js */ "./node_modules/@popperjs/core/lib/dom-utils/getWindow.js");
919/* harmony import */ var _getDocumentElement_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./getDocumentElement.js */ "./node_modules/@popperjs/core/lib/dom-utils/getDocumentElement.js");
920/* harmony import */ var _getWindowScrollBarX_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./getWindowScrollBarX.js */ "./node_modules/@popperjs/core/lib/dom-utils/getWindowScrollBarX.js");
921/* harmony import */ var _isLayoutViewport_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./isLayoutViewport.js */ "./node_modules/@popperjs/core/lib/dom-utils/isLayoutViewport.js");
922
923
924
925
926function getViewportRect(element, strategy) {
927  var win = (0,_getWindow_js__WEBPACK_IMPORTED_MODULE_0__["default"])(element);
928  var html = (0,_getDocumentElement_js__WEBPACK_IMPORTED_MODULE_1__["default"])(element);
929  var visualViewport = win.visualViewport;
930  var width = html.clientWidth;
931  var height = html.clientHeight;
932  var x = 0;
933  var y = 0;
934
935  if (visualViewport) {
936    width = visualViewport.width;
937    height = visualViewport.height;
938    var layoutViewport = (0,_isLayoutViewport_js__WEBPACK_IMPORTED_MODULE_2__["default"])();
939
940    if (layoutViewport || !layoutViewport && strategy === 'fixed') {
941      x = visualViewport.offsetLeft;
942      y = visualViewport.offsetTop;
943    }
944  }
945
946  return {
947    width: width,
948    height: height,
949    x: x + (0,_getWindowScrollBarX_js__WEBPACK_IMPORTED_MODULE_3__["default"])(element),
950    y: y
951  };
952}
953
954/***/ }),
955
vendor: 828 bytes, lines 956-980
956/***/ "./node_modules/@popperjs/core/lib/dom-utils/getWindow.js":
957/*!****************************************************************!*\
958  !*** ./node_modules/@popperjs/core/lib/dom-utils/getWindow.js ***!
959  \****************************************************************/
960/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
961
962__webpack_require__.r(__webpack_exports__);
963/* harmony export */ __webpack_require__.d(__webpack_exports__, {
964/* harmony export */   "default": () => (/* binding */ getWindow)
965/* harmony export */ });
966function getWindow(node) {
967  if (node == null) {
968    return window;
969  }
970
971  if (node.toString() !== '[object Window]') {
972    var ownerDocument = node.ownerDocument;
973    return ownerDocument ? ownerDocument.defaultView || window : window;
974  }
975
976  return node;
977}
978
979/***/ }),
980
vendor: 1,025 bytes, lines 981-1004
981/***/ "./node_modules/@popperjs/core/lib/dom-utils/getWindowScroll.js":
982/*!**********************************************************************!*\
983  !*** ./node_modules/@popperjs/core/lib/dom-utils/getWindowScroll.js ***!
984  \**********************************************************************/
985/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
986
987__webpack_require__.r(__webpack_exports__);
988/* harmony export */ __webpack_require__.d(__webpack_exports__, {
989/* harmony export */   "default": () => (/* binding */ getWindowScroll)
990/* harmony export */ });
991/* harmony import */ var _getWindow_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getWindow.js */ "./node_modules/@popperjs/core/lib/dom-utils/getWindow.js");
992
993function getWindowScroll(node) {
994  var win = (0,_getWindow_js__WEBPACK_IMPORTED_MODULE_0__["default"])(node);
995  var scrollLeft = win.pageXOffset;
996  var scrollTop = win.pageYOffset;
997  return {
998    scrollLeft: scrollLeft,
999    scrollTop: scrollTop
1000  };
1001}
1002
1003/***/ }),
1004
vendor: 1,899 bytes, lines 1005-1033
1005/***/ "./node_modules/@popperjs/core/lib/dom-utils/getWindowScrollBarX.js":
1006/*!**************************************************************************!*\
1007  !*** ./node_modules/@popperjs/core/lib/dom-utils/getWindowScrollBarX.js ***!
1008  \**************************************************************************/
1009/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1010
1011__webpack_require__.r(__webpack_exports__);
1012/* harmony export */ __webpack_require__.d(__webpack_exports__, {
1013/* harmony export */   "default": () => (/* binding */ getWindowScrollBarX)
1014/* harmony export */ });
1015/* harmony import */ var _getBoundingClientRect_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getBoundingClientRect.js */ "./node_modules/@popperjs/core/lib/dom-utils/getBoundingClientRect.js");
1016/* harmony import */ var _getDocumentElement_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./getDocumentElement.js */ "./node_modules/@popperjs/core/lib/dom-utils/getDocumentElement.js");
1017/* harmony import */ var _getWindowScroll_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./getWindowScroll.js */ "./node_modules/@popperjs/core/lib/dom-utils/getWindowScroll.js");
1018
1019
1020
1021function getWindowScrollBarX(element) {
1022  // If <html> has a CSS width greater than the viewport, then this will be
1023  // incorrect for RTL.
1024  // Popper 1 is broken in this case and never had a bug report so let's assume
1025  // it's not an issue. I don't think anyone ever specifies width on <html>
1026  // anyway.
1027  // Browsers where the left scrollbar doesn't cause an issue report `0` for
1028  // this (e.g. Edge 2019, IE11, Safari)
1029  return (0,_getBoundingClientRect_js__WEBPACK_IMPORTED_MODULE_0__["default"])((0,_getDocumentElement_js__WEBPACK_IMPORTED_MODULE_1__["default"])(element)).left + (0,_getWindowScroll_js__WEBPACK_IMPORTED_MODULE_2__["default"])(element).scrollLeft;
1030}
1031
1032/***/ }),
1033
vendor: 1,577 bytes, lines 1034-1072
1034/***/ "./node_modules/@popperjs/core/lib/dom-utils/instanceOf.js":
1035/*!*****************************************************************!*\
1036  !*** ./node_modules/@popperjs/core/lib/dom-utils/instanceOf.js ***!
1037  \*****************************************************************/
1038/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1039
1040__webpack_require__.r(__webpack_exports__);
1041/* harmony export */ __webpack_require__.d(__webpack_exports__, {
1042/* harmony export */   "isElement": () => (/* binding */ isElement),
1043/* harmony export */   "isHTMLElement": () => (/* binding */ isHTMLElement),
1044/* harmony export */   "isShadowRoot": () => (/* binding */ isShadowRoot)
1045/* harmony export */ });
1046/* harmony import */ var _getWindow_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getWindow.js */ "./node_modules/@popperjs/core/lib/dom-utils/getWindow.js");
1047
1048
1049function isElement(node) {
1050  var OwnElement = (0,_getWindow_js__WEBPACK_IMPORTED_MODULE_0__["default"])(node).Element;
1051  return node instanceof OwnElement || node instanceof Element;
1052}
1053
1054function isHTMLElement(node) {
1055  var OwnElement = (0,_getWindow_js__WEBPACK_IMPORTED_MODULE_0__["default"])(node).HTMLElement;
1056  return node instanceof OwnElement || node instanceof HTMLElement;
1057}
1058
1059function isShadowRoot(node) {
1060  // IE 11 has no ShadowRoot
1061  if (typeof ShadowRoot === 'undefined') {
1062    return false;
1063  }
1064
1065  var OwnElement = (0,_getWindow_js__WEBPACK_IMPORTED_MODULE_0__["default"])(node).ShadowRoot;
1066  return node instanceof OwnElement || node instanceof ShadowRoot;
1067}
1068
1069
1070
1071/***/ }),
1072
vendor: 935 bytes, lines 1073-1090
1073/***/ "./node_modules/@popperjs/core/lib/dom-utils/isLayoutViewport.js":
1074/*!***********************************************************************!*\
1075  !*** ./node_modules/@popperjs/core/lib/dom-utils/isLayoutViewport.js ***!
1076  \***********************************************************************/
1077/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1078
1079__webpack_require__.r(__webpack_exports__);
1080/* harmony export */ __webpack_require__.d(__webpack_exports__, {
1081/* harmony export */   "default": () => (/* binding */ isLayoutViewport)
1082/* harmony export */ });
1083/* harmony import */ var _utils_userAgent_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils/userAgent.js */ "./node_modules/@popperjs/core/lib/utils/userAgent.js");
1084
1085function isLayoutViewport() {
1086  return !/^((?!chrome|android).)*safari/i.test((0,_utils_userAgent_js__WEBPACK_IMPORTED_MODULE_0__["default"])());
1087}
1088
1089/***/ }),
1090
vendor: 1,209 bytes, lines 1091-1114
1091/***/ "./node_modules/@popperjs/core/lib/dom-utils/isScrollParent.js":
1092/*!*********************************************************************!*\
1093  !*** ./node_modules/@popperjs/core/lib/dom-utils/isScrollParent.js ***!
1094  \*********************************************************************/
1095/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1096
1097__webpack_require__.r(__webpack_exports__);
1098/* harmony export */ __webpack_require__.d(__webpack_exports__, {
1099/* harmony export */   "default": () => (/* binding */ isScrollParent)
1100/* harmony export */ });
1101/* harmony import */ var _getComputedStyle_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getComputedStyle.js */ "./node_modules/@popperjs/core/lib/dom-utils/getComputedStyle.js");
1102
1103function isScrollParent(element) {
1104  // Firefox wants us to check `-x` and `-y` variations as well
1105  var _getComputedStyle = (0,_getComputedStyle_js__WEBPACK_IMPORTED_MODULE_0__["default"])(element),
1106      overflow = _getComputedStyle.overflow,
1107      overflowX = _getComputedStyle.overflowX,
1108      overflowY = _getComputedStyle.overflowY;
1109
1110  return /auto|scroll|overlay|hidden/.test(overflow + overflowY + overflowX);
1111}
1112
1113/***/ }),
1114
vendor: 926 bytes, lines 1115-1132
1115/***/ "./node_modules/@popperjs/core/lib/dom-utils/isTableElement.js":
1116/*!*********************************************************************!*\
1117  !*** ./node_modules/@popperjs/core/lib/dom-utils/isTableElement.js ***!
1118  \*********************************************************************/
1119/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1120
1121__webpack_require__.r(__webpack_exports__);
1122/* harmony export */ __webpack_require__.d(__webpack_exports__, {
1123/* harmony export */   "default": () => (/* binding */ isTableElement)
1124/* harmony export */ });
1125/* harmony import */ var _getNodeName_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getNodeName.js */ "./node_modules/@popperjs/core/lib/dom-utils/getNodeName.js");
1126
1127function isTableElement(element) {
1128  return ['table', 'td', 'th'].indexOf((0,_getNodeName_js__WEBPACK_IMPORTED_MODULE_0__["default"])(element)) >= 0;
1129}
1130
1131/***/ }),
1132
vendor: 2,515 bytes, lines 1133-1175
1133/***/ "./node_modules/@popperjs/core/lib/dom-utils/listScrollParents.js":
1134/*!************************************************************************!*\
1135  !*** ./node_modules/@popperjs/core/lib/dom-utils/listScrollParents.js ***!
1136  \************************************************************************/
1137/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1138
1139__webpack_require__.r(__webpack_exports__);
1140/* harmony export */ __webpack_require__.d(__webpack_exports__, {
1141/* harmony export */   "default": () => (/* binding */ listScrollParents)
1142/* harmony export */ });
1143/* harmony import */ var _getScrollParent_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getScrollParent.js */ "./node_modules/@popperjs/core/lib/dom-utils/getScrollParent.js");
1144/* harmony import */ var _getParentNode_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./getParentNode.js */ "./node_modules/@popperjs/core/lib/dom-utils/getParentNode.js");
1145/* harmony import */ var _getWindow_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./getWindow.js */ "./node_modules/@popperjs/core/lib/dom-utils/getWindow.js");
1146/* harmony import */ var _isScrollParent_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./isScrollParent.js */ "./node_modules/@popperjs/core/lib/dom-utils/isScrollParent.js");
1147
1148
1149
1150
1151/*
1152given a DOM element, return the list of all scroll parents, up the list of ancesors
1153until we get to the top window object. This list is what we attach scroll listeners
1154to, because if any of these parent elements scroll, we'll need to re-calculate the
1155reference element's position.
1156*/
1157
1158function listScrollParents(element, list) {
1159  var _element$ownerDocumen;
1160
1161  if (list === void 0) {
1162    list = [];
1163  }
1164
1165  var scrollParent = (0,_getScrollParent_js__WEBPACK_IMPORTED_MODULE_0__["default"])(element);
1166  var isBody = scrollParent === ((_element$ownerDocumen = element.ownerDocument) == null ? void 0 : _element$ownerDocumen.body);
1167  var win = (0,_getWindow_js__WEBPACK_IMPORTED_MODULE_1__["default"])(scrollParent);
1168  var target = isBody ? [win].concat(win.visualViewport || [], (0,_isScrollParent_js__WEBPACK_IMPORTED_MODULE_2__["default"])(scrollParent) ? scrollParent : []) : scrollParent;
1169  var updatedList = list.concat(target);
1170  return isBody ? updatedList : // $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
1171  updatedList.concat(listScrollParents((0,_getParentNode_js__WEBPACK_IMPORTED_MODULE_3__["default"])(target)));
1172}
1173
1174/***/ }),
1175
vendor: 3,232 bytes, lines 1176-1242
1176/***/ "./node_modules/@popperjs/core/lib/enums.js":
1177/*!**************************************************!*\
1178  !*** ./node_modules/@popperjs/core/lib/enums.js ***!
1179  \**************************************************/
1180/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1181
1182__webpack_require__.r(__webpack_exports__);
1183/* harmony export */ __webpack_require__.d(__webpack_exports__, {
1184/* harmony export */   "afterMain": () => (/* binding */ afterMain),
1185/* harmony export */   "afterRead": () => (/* binding */ afterRead),
1186/* harmony export */   "afterWrite": () => (/* binding */ afterWrite),
1187/* harmony export */   "auto": () => (/* binding */ auto),
1188/* harmony export */   "basePlacements": () => (/* binding */ basePlacements),
1189/* harmony export */   "beforeMain": () => (/* binding */ beforeMain),
1190/* harmony export */   "beforeRead": () => (/* binding */ beforeRead),
1191/* harmony export */   "beforeWrite": () => (/* binding */ beforeWrite),
1192/* harmony export */   "bottom": () => (/* binding */ bottom),
1193/* harmony export */   "clippingParents": () => (/* binding */ clippingParents),
1194/* harmony export */   "end": () => (/* binding */ end),
1195/* harmony export */   "left": () => (/* binding */ left),
1196/* harmony export */   "main": () => (/* binding */ main),
1197/* harmony export */   "modifierPhases": () => (/* binding */ modifierPhases),
1198/* harmony export */   "placements": () => (/* binding */ placements),
1199/* harmony export */   "popper": () => (/* binding */ popper),
1200/* harmony export */   "read": () => (/* binding */ read),
1201/* harmony export */   "reference": () => (/* binding */ reference),
1202/* harmony export */   "right": () => (/* binding */ right),
1203/* harmony export */   "start": () => (/* binding */ start),
1204/* harmony export */   "top": () => (/* binding */ top),
1205/* harmony export */   "variationPlacements": () => (/* binding */ variationPlacements),
1206/* harmony export */   "viewport": () => (/* binding */ viewport),
1207/* harmony export */   "write": () => (/* binding */ write)
1208/* harmony export */ });
1209var top = 'top';
1210var bottom = 'bottom';
1211var right = 'right';
1212var left = 'left';
1213var auto = 'auto';
1214var basePlacements = [top, bottom, right, left];
1215var start = 'start';
1216var end = 'end';
1217var clippingParents = 'clippingParents';
1218var viewport = 'viewport';
1219var popper = 'popper';
1220var reference = 'reference';
1221var variationPlacements = /*#__PURE__*/basePlacements.reduce(function (acc, placement) {
1222  return acc.concat([placement + "-" + start, placement + "-" + end]);
1223}, []);
1224var placements = /*#__PURE__*/[].concat(basePlacements, [auto]).reduce(function (acc, placement) {
1225  return acc.concat([placement, placement + "-" + start, placement + "-" + end]);
1226}, []); // modifiers that need to read the DOM
1227
1228var beforeRead = 'beforeRead';
1229var read = 'read';
1230var afterRead = 'afterRead'; // pure-logic modifiers
1231
1232var beforeMain = 'beforeMain';
1233var main = 'main';
1234var afterMain = 'afterMain'; // modifier with the purpose to write to the DOM (or write into a framework state)
1235
1236var beforeWrite = 'beforeWrite';
1237var write = 'write';
1238var afterWrite = 'afterWrite';
1239var modifierPhases = [beforeRead, read, afterRead, beforeMain, main, afterMain, beforeWrite, write, afterWrite];
1240
1241/***/ }),
1242
vendor: 3,675 bytes, lines 1243-1341
1243/***/ "./node_modules/@popperjs/core/lib/modifiers/applyStyles.js":
1244/*!******************************************************************!*\
1245  !*** ./node_modules/@popperjs/core/lib/modifiers/applyStyles.js ***!
1246  \******************************************************************/
1247/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1248
1249__webpack_require__.r(__webpack_exports__);
1250/* harmony export */ __webpack_require__.d(__webpack_exports__, {
1251/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
1252/* harmony export */ });
1253/* harmony import */ var _dom_utils_getNodeName_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../dom-utils/getNodeName.js */ "./node_modules/@popperjs/core/lib/dom-utils/getNodeName.js");
1254/* harmony import */ var _dom_utils_instanceOf_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../dom-utils/instanceOf.js */ "./node_modules/@popperjs/core/lib/dom-utils/instanceOf.js");
1255
1256 // This modifier takes the styles prepared by the `computeStyles` modifier
1257// and applies them to the HTMLElements such as popper and arrow
1258
1259function applyStyles(_ref) {
1260  var state = _ref.state;
1261  Object.keys(state.elements).forEach(function (name) {
1262    var style = state.styles[name] || {};
1263    var attributes = state.attributes[name] || {};
1264    var element = state.elements[name]; // arrow is optional + virtual elements
1265
1266    if (!(0,_dom_utils_instanceOf_js__WEBPACK_IMPORTED_MODULE_0__.isHTMLElement)(element) || !(0,_dom_utils_getNodeName_js__WEBPACK_IMPORTED_MODULE_1__["default"])(element)) {
1267      return;
1268    } // Flow doesn't support to extend this property, but it's the most
1269    // effective way to apply styles to an HTMLElement
1270    // $FlowFixMe[cannot-write]
1271
1272
1273    Object.assign(element.style, style);
1274    Object.keys(attributes).forEach(function (name) {
1275      var value = attributes[name];
1276
1277      if (value === false) {
1278        element.removeAttribute(name);
1279      } else {
1280        element.setAttribute(name, value === true ? '' : value);
1281      }
1282    });
1283  });
1284}
1285
1286function effect(_ref2) {
1287  var state = _ref2.state;
1288  var initialStyles = {
1289    popper: {
1290      position: state.options.strategy,
1291      left: '0',
1292      top: '0',
1293      margin: '0'
1294    },
1295    arrow: {
1296      position: 'absolute'
1297    },
1298    reference: {}
1299  };
1300  Object.assign(state.elements.popper.style, initialStyles.popper);
1301  state.styles = initialStyles;
1302
1303  if (state.elements.arrow) {
1304    Object.assign(state.elements.arrow.style, initialStyles.arrow);
1305  }
1306
1307  return function () {
1308    Object.keys(state.elements).forEach(function (name) {
1309      var element = state.elements[name];
1310      var attributes = state.attributes[name] || {};
1311      var styleProperties = Object.keys(state.styles.hasOwnProperty(name) ? state.styles[name] : initialStyles[name]); // Set all values to an empty string to unset them
1312
1313      var style = styleProperties.reduce(function (style, property) {
1314        style[property] = '';
1315        return style;
1316      }, {}); // arrow is optional + virtual elements
1317
1318      if (!(0,_dom_utils_instanceOf_js__WEBPACK_IMPORTED_MODULE_0__.isHTMLElement)(element) || !(0,_dom_utils_getNodeName_js__WEBPACK_IMPORTED_MODULE_1__["default"])(element)) {
1319        return;
1320      }
1321
1322      Object.assign(element.style, style);
1323      Object.keys(attributes).forEach(function (attribute) {
1324        element.removeAttribute(attribute);
1325      });
1326    });
1327  };
1328} // eslint-disable-next-line import/no-unused-modules
1329
1330
1331/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
1332  name: 'applyStyles',
1333  enabled: true,
1334  phase: 'write',
1335  fn: applyStyles,
1336  effect: effect,
1337  requires: ['computeStyles']
1338});
1339
1340/***/ }),
1341
vendor: 6,625 bytes, lines 1342-1465
1342/***/ "./node_modules/@popperjs/core/lib/modifiers/arrow.js":
1343/*!************************************************************!*\
1344  !*** ./node_modules/@popperjs/core/lib/modifiers/arrow.js ***!
1345  \************************************************************/
1346/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1347
1348__webpack_require__.r(__webpack_exports__);
1349/* harmony export */ __webpack_require__.d(__webpack_exports__, {
1350/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
1351/* harmony export */ });
1352/* harmony import */ var _utils_getBasePlacement_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils/getBasePlacement.js */ "./node_modules/@popperjs/core/lib/utils/getBasePlacement.js");
1353/* harmony import */ var _dom_utils_getLayoutRect_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../dom-utils/getLayoutRect.js */ "./node_modules/@popperjs/core/lib/dom-utils/getLayoutRect.js");
1354/* harmony import */ var _dom_utils_contains_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../dom-utils/contains.js */ "./node_modules/@popperjs/core/lib/dom-utils/contains.js");
1355/* harmony import */ var _dom_utils_getOffsetParent_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../dom-utils/getOffsetParent.js */ "./node_modules/@popperjs/core/lib/dom-utils/getOffsetParent.js");
1356/* harmony import */ var _utils_getMainAxisFromPlacement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../utils/getMainAxisFromPlacement.js */ "./node_modules/@popperjs/core/lib/utils/getMainAxisFromPlacement.js");
1357/* harmony import */ var _utils_within_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../utils/within.js */ "./node_modules/@popperjs/core/lib/utils/within.js");
1358/* harmony import */ var _utils_mergePaddingObject_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils/mergePaddingObject.js */ "./node_modules/@popperjs/core/lib/utils/mergePaddingObject.js");
1359/* harmony import */ var _utils_expandToHashMap_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils/expandToHashMap.js */ "./node_modules/@popperjs/core/lib/utils/expandToHashMap.js");
1360/* harmony import */ var _enums_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../enums.js */ "./node_modules/@popperjs/core/lib/enums.js");
1361/* harmony import */ var _dom_utils_instanceOf_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../dom-utils/instanceOf.js */ "./node_modules/@popperjs/core/lib/dom-utils/instanceOf.js");
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371 // eslint-disable-next-line import/no-unused-modules
1372
1373var toPaddingObject = function toPaddingObject(padding, state) {
1374  padding = typeof padding === 'function' ? padding(Object.assign({}, state.rects, {
1375    placement: state.placement
1376  })) : padding;
1377  return (0,_utils_mergePaddingObject_js__WEBPACK_IMPORTED_MODULE_0__["default"])(typeof padding !== 'number' ? padding : (0,_utils_expandToHashMap_js__WEBPACK_IMPORTED_MODULE_1__["default"])(padding, _enums_js__WEBPACK_IMPORTED_MODULE_2__.basePlacements));
1378};
1379
1380function arrow(_ref) {
1381  var _state$modifiersData$;
1382
1383  var state = _ref.state,
1384      name = _ref.name,
1385      options = _ref.options;
1386  var arrowElement = state.elements.arrow;
1387  var popperOffsets = state.modifiersData.popperOffsets;
1388  var basePlacement = (0,_utils_getBasePlacement_js__WEBPACK_IMPORTED_MODULE_3__["default"])(state.placement);
1389  var axis = (0,_utils_getMainAxisFromPlacement_js__WEBPACK_IMPORTED_MODULE_4__["default"])(basePlacement);
1390  var isVertical = [_enums_js__WEBPACK_IMPORTED_MODULE_2__.left, _enums_js__WEBPACK_IMPORTED_MODULE_2__.right].indexOf(basePlacement) >= 0;
1391  var len = isVertical ? 'height' : 'width';
1392
1393  if (!arrowElement || !popperOffsets) {
1394    return;
1395  }
1396
1397  var paddingObject = toPaddingObject(options.padding, state);
1398  var arrowRect = (0,_dom_utils_getLayoutRect_js__WEBPACK_IMPORTED_MODULE_5__["default"])(arrowElement);
1399  var minProp = axis === 'y' ? _enums_js__WEBPACK_IMPORTED_MODULE_2__.top : _enums_js__WEBPACK_IMPORTED_MODULE_2__.left;
1400  var maxProp = axis === 'y' ? _enums_js__WEBPACK_IMPORTED_MODULE_2__.bottom : _enums_js__WEBPACK_IMPORTED_MODULE_2__.right;
1401  var endDiff = state.rects.reference[len] + state.rects.reference[axis] - popperOffsets[axis] - state.rects.popper[len];
1402  var startDiff = popperOffsets[axis] - state.rects.reference[axis];
1403  var arrowOffsetParent = (0,_dom_utils_getOffsetParent_js__WEBPACK_IMPORTED_MODULE_6__["default"])(arrowElement);
1404  var clientSize = arrowOffsetParent ? axis === 'y' ? arrowOffsetParent.clientHeight || 0 : arrowOffsetParent.clientWidth || 0 : 0;
1405  var centerToReference = endDiff / 2 - startDiff / 2; // Make sure the arrow doesn't overflow the popper if the center point is
1406  // outside of the popper bounds
1407
1408  var min = paddingObject[minProp];
1409  var max = clientSize - arrowRect[len] - paddingObject[maxProp];
1410  var center = clientSize / 2 - arrowRect[len] / 2 + centerToReference;
1411  var offset = (0,_utils_within_js__WEBPACK_IMPORTED_MODULE_7__.within)(min, center, max); // Prevents breaking syntax highlighting...
1412
1413  var axisProp = axis;
1414  state.modifiersData[name] = (_state$modifiersData$ = {}, _state$modifiersData$[axisProp] = offset, _state$modifiersData$.centerOffset = offset - center, _state$modifiersData$);
1415}
1416
1417function effect(_ref2) {
1418  var state = _ref2.state,
1419      options = _ref2.options;
1420  var _options$element = options.element,
1421      arrowElement = _options$element === void 0 ? '[data-popper-arrow]' : _options$element;
1422
1423  if (arrowElement == null) {
1424    return;
1425  } // CSS selector
1426
1427
1428  if (typeof arrowElement === 'string') {
1429    arrowElement = state.elements.popper.querySelector(arrowElement);
1430
1431    if (!arrowElement) {
1432      return;
1433    }
1434  }
1435
1436  if (true) {
1437    if (!(0,_dom_utils_instanceOf_js__WEBPACK_IMPORTED_MODULE_8__.isHTMLElement)(arrowElement)) {
1438      console.error(['Popper: "arrow" element must be an HTMLElement (not an SVGElement).', 'To use an SVG arrow, wrap it in an HTMLElement that will be used as', 'the arrow.'].join(' '));
1439    }
1440  }
1441
1442  if (!(0,_dom_utils_contains_js__WEBPACK_IMPORTED_MODULE_9__["default"])(state.elements.popper, arrowElement)) {
1443    if (true) {
1444      console.error(['Popper: "arrow" modifier\'s `element` must be a child of the popper', 'element.'].join(' '));
1445    }
1446
1447    return;
1448  }
1449
1450  state.elements.arrow = arrowElement;
1451} // eslint-disable-next-line import/no-unused-modules
1452
1453
1454/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
1455  name: 'arrow',
1456  enabled: true,
1457  phase: 'main',
1458  fn: arrow,
1459  effect: effect,
1460  requires: ['popperOffsets'],
1461  requiresIfExists: ['preventOverflow']
1462});
1463
1464/***/ }),
1465
vendor: 9,331 bytes, lines 1466-1668
1466/***/ "./node_modules/@popperjs/core/lib/modifiers/computeStyles.js":
1467/*!********************************************************************!*\
1468  !*** ./node_modules/@popperjs/core/lib/modifiers/computeStyles.js ***!
1469  \********************************************************************/
1470/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1471
1472__webpack_require__.r(__webpack_exports__);
1473/* harmony export */ __webpack_require__.d(__webpack_exports__, {
1474/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
1475/* harmony export */   "mapToStyles": () => (/* binding */ mapToStyles)
1476/* harmony export */ });
1477/* harmony import */ var _enums_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../enums.js */ "./node_modules/@popperjs/core/lib/enums.js");
1478/* harmony import */ var _dom_utils_getOffsetParent_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../dom-utils/getOffsetParent.js */ "./node_modules/@popperjs/core/lib/dom-utils/getOffsetParent.js");
1479/* harmony import */ var _dom_utils_getWindow_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../dom-utils/getWindow.js */ "./node_modules/@popperjs/core/lib/dom-utils/getWindow.js");
1480/* harmony import */ var _dom_utils_getDocumentElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../dom-utils/getDocumentElement.js */ "./node_modules/@popperjs/core/lib/dom-utils/getDocumentElement.js");
1481/* harmony import */ var _dom_utils_getComputedStyle_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../dom-utils/getComputedStyle.js */ "./node_modules/@popperjs/core/lib/dom-utils/getComputedStyle.js");
1482/* harmony import */ var _utils_getBasePlacement_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../utils/getBasePlacement.js */ "./node_modules/@popperjs/core/lib/utils/getBasePlacement.js");
1483/* harmony import */ var _utils_getVariation_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../utils/getVariation.js */ "./node_modules/@popperjs/core/lib/utils/getVariation.js");
1484/* harmony import */ var _utils_math_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils/math.js */ "./node_modules/@popperjs/core/lib/utils/math.js");
1485
1486
1487
1488
1489
1490
1491
1492 // eslint-disable-next-line import/no-unused-modules
1493
1494var unsetSides = {
1495  top: 'auto',
1496  right: 'auto',
1497  bottom: 'auto',
1498  left: 'auto'
1499}; // Round the offsets to the nearest suitable subpixel based on the DPR.
1500// Zooming can change the DPR, but it seems to report a value that will
1501// cleanly divide the values into the appropriate subpixels.
1502
1503function roundOffsetsByDPR(_ref) {
1504  var x = _ref.x,
1505      y = _ref.y;
1506  var win = window;
1507  var dpr = win.devicePixelRatio || 1;
1508  return {
1509    x: (0,_utils_math_js__WEBPACK_IMPORTED_MODULE_0__.round)(x * dpr) / dpr || 0,
1510    y: (0,_utils_math_js__WEBPACK_IMPORTED_MODULE_0__.round)(y * dpr) / dpr || 0
1511  };
1512}
1513
1514function mapToStyles(_ref2) {
1515  var _Object$assign2;
1516
1517  var popper = _ref2.popper,
1518      popperRect = _ref2.popperRect,
1519      placement = _ref2.placement,
1520      variation = _ref2.variation,
1521      offsets = _ref2.offsets,
1522      position = _ref2.position,
1523      gpuAcceleration = _ref2.gpuAcceleration,
1524      adaptive = _ref2.adaptive,
1525      roundOffsets = _ref2.roundOffsets,
1526      isFixed = _ref2.isFixed;
1527  var _offsets$x = offsets.x,
1528      x = _offsets$x === void 0 ? 0 : _offsets$x,
1529      _offsets$y = offsets.y,
1530      y = _offsets$y === void 0 ? 0 : _offsets$y;
1531
1532  var _ref3 = typeof roundOffsets === 'function' ? roundOffsets({
1533    x: x,
1534    y: y
1535  }) : {
1536    x: x,
1537    y: y
1538  };
1539
1540  x = _ref3.x;
1541  y = _ref3.y;
1542  var hasX = offsets.hasOwnProperty('x');
1543  var hasY = offsets.hasOwnProperty('y');
1544  var sideX = _enums_js__WEBPACK_IMPORTED_MODULE_1__.left;
1545  var sideY = _enums_js__WEBPACK_IMPORTED_MODULE_1__.top;
1546  var win = window;
1547
1548  if (adaptive) {
1549    var offsetParent = (0,_dom_utils_getOffsetParent_js__WEBPACK_IMPORTED_MODULE_2__["default"])(popper);
1550    var heightProp = 'clientHeight';
1551    var widthProp = 'clientWidth';
1552
1553    if (offsetParent === (0,_dom_utils_getWindow_js__WEBPACK_IMPORTED_MODULE_3__["default"])(popper)) {
1554      offsetParent = (0,_dom_utils_getDocumentElement_js__WEBPACK_IMPORTED_MODULE_4__["default"])(popper);
1555
1556      if ((0,_dom_utils_getComputedStyle_js__WEBPACK_IMPORTED_MODULE_5__["default"])(offsetParent).position !== 'static' && position === 'absolute') {
1557        heightProp = 'scrollHeight';
1558        widthProp = 'scrollWidth';
1559      }
1560    } // $FlowFixMe[incompatible-cast]: force type refinement, we compare offsetParent with window above, but Flow doesn't detect it
1561
1562
1563    offsetParent = offsetParent;
1564
1565    if (placement === _enums_js__WEBPACK_IMPORTED_MODULE_1__.top || (placement === _enums_js__WEBPACK_IMPORTED_MODULE_1__.left || placement === _enums_js__WEBPACK_IMPORTED_MODULE_1__.right) && variation === _enums_js__WEBPACK_IMPORTED_MODULE_1__.end) {
1566      sideY = _enums_js__WEBPACK_IMPORTED_MODULE_1__.bottom;
1567      var offsetY = isFixed && offsetParent === win && win.visualViewport ? win.visualViewport.height : // $FlowFixMe[prop-missing]
1568      offsetParent[heightProp];
1569      y -= offsetY - popperRect.height;
1570      y *= gpuAcceleration ? 1 : -1;
1571    }
1572
1573    if (placement === _enums_js__WEBPACK_IMPORTED_MODULE_1__.left || (placement === _enums_js__WEBPACK_IMPORTED_MODULE_1__.top || placement === _enums_js__WEBPACK_IMPORTED_MODULE_1__.bottom) && variation === _enums_js__WEBPACK_IMPORTED_MODULE_1__.end) {
1574      sideX = _enums_js__WEBPACK_IMPORTED_MODULE_1__.right;
1575      var offsetX = isFixed && offsetParent === win && win.visualViewport ? win.visualViewport.width : // $FlowFixMe[prop-missing]
1576      offsetParent[widthProp];
1577      x -= offsetX - popperRect.width;
1578      x *= gpuAcceleration ? 1 : -1;
1579    }
1580  }
1581
1582  var commonStyles = Object.assign({
1583    position: position
1584  }, adaptive && unsetSides);
1585
1586  var _ref4 = roundOffsets === true ? roundOffsetsByDPR({
1587    x: x,
1588    y: y
1589  }) : {
1590    x: x,
1591    y: y
1592  };
1593
1594  x = _ref4.x;
1595  y = _ref4.y;
1596
1597  if (gpuAcceleration) {
1598    var _Object$assign;
1599
1600    return Object.assign({}, commonStyles, (_Object$assign = {}, _Object$assign[sideY] = hasY ? '0' : '', _Object$assign[sideX] = hasX ? '0' : '', _Object$assign.transform = (win.devicePixelRatio || 1) <= 1 ? "translate(" + x + "px, " + y + "px)" : "translate3d(" + x + "px, " + y + "px, 0)", _Object$assign));
1601  }
1602
1603  return Object.assign({}, commonStyles, (_Object$assign2 = {}, _Object$assign2[sideY] = hasY ? y + "px" : '', _Object$assign2[sideX] = hasX ? x + "px" : '', _Object$assign2.transform = '', _Object$assign2));
1604}
1605
1606function computeStyles(_ref5) {
1607  var state = _ref5.state,
1608      options = _ref5.options;
1609  var _options$gpuAccelerat = options.gpuAcceleration,
1610      gpuAcceleration = _options$gpuAccelerat === void 0 ? true : _options$gpuAccelerat,
1611      _options$adaptive = options.adaptive,
1612      adaptive = _options$adaptive === void 0 ? true : _options$adaptive,
1613      _options$roundOffsets = options.roundOffsets,
1614      roundOffsets = _options$roundOffsets === void 0 ? true : _options$roundOffsets;
1615
1616  if (true) {
1617    var transitionProperty = (0,_dom_utils_getComputedStyle_js__WEBPACK_IMPORTED_MODULE_5__["default"])(state.elements.popper).transitionProperty || '';
1618
1619    if (adaptive && ['transform', 'top', 'right', 'bottom', 'left'].some(function (property) {
1620      return transitionProperty.indexOf(property) >= 0;
1621    })) {
1622      console.warn(['Popper: Detected CSS transitions on at least one of the following', 'CSS properties: "transform", "top", "right", "bottom", "left".', '\n\n', 'Disable the "computeStyles" modifier\'s `adaptive` option to allow', 'for smooth transitions, or remove these properties from the CSS', 'transition declaration on the popper element if only transitioning', 'opacity or background-color for example.', '\n\n', 'We recommend using the popper element as a wrapper around an inner', 'element that can have any CSS property transitioned for animations.'].join(' '));
1623    }
1624  }
1625
1626  var commonStyles = {
1627    placement: (0,_utils_getBasePlacement_js__WEBPACK_IMPORTED_MODULE_6__["default"])(state.placement),
1628    variation: (0,_utils_getVariation_js__WEBPACK_IMPORTED_MODULE_7__["default"])(state.placement),
1629    popper: state.elements.popper,
1630    popperRect: state.rects.popper,
1631    gpuAcceleration: gpuAcceleration,
1632    isFixed: state.options.strategy === 'fixed'
1633  };
1634
1635  if (state.modifiersData.popperOffsets != null) {
1636    state.styles.popper = Object.assign({}, state.styles.popper, mapToStyles(Object.assign({}, commonStyles, {
1637      offsets: state.modifiersData.popperOffsets,
1638      position: state.options.strategy,
1639      adaptive: adaptive,
1640      roundOffsets: roundOffsets
1641    })));
1642  }
1643
1644  if (state.modifiersData.arrow != null) {
1645    state.styles.arrow = Object.assign({}, state.styles.arrow, mapToStyles(Object.assign({}, commonStyles, {
1646      offsets: state.modifiersData.arrow,
1647      position: 'absolute',
1648      adaptive: false,
1649      roundOffsets: roundOffsets
1650    })));
1651  }
1652
1653  state.attributes.popper = Object.assign({}, state.attributes.popper, {
1654    'data-popper-placement': state.placement
1655  });
1656} // eslint-disable-next-line import/no-unused-modules
1657
1658
1659/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
1660  name: 'computeStyles',
1661  enabled: true,
1662  phase: 'beforeWrite',
1663  fn: computeStyles,
1664  data: {}
1665});
1666
1667/***/ }),
1668
vendor: 2,176 bytes, lines 1669-1731
1669/***/ "./node_modules/@popperjs/core/lib/modifiers/eventListeners.js":
1670/*!*********************************************************************!*\
1671  !*** ./node_modules/@popperjs/core/lib/modifiers/eventListeners.js ***!
1672  \*********************************************************************/
1673/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1674
1675__webpack_require__.r(__webpack_exports__);
1676/* harmony export */ __webpack_require__.d(__webpack_exports__, {
1677/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
1678/* harmony export */ });
1679/* harmony import */ var _dom_utils_getWindow_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../dom-utils/getWindow.js */ "./node_modules/@popperjs/core/lib/dom-utils/getWindow.js");
1680 // eslint-disable-next-line import/no-unused-modules
1681
1682var passive = {
1683  passive: true
1684};
1685
1686function effect(_ref) {
1687  var state = _ref.state,
1688      instance = _ref.instance,
1689      options = _ref.options;
1690  var _options$scroll = options.scroll,
1691      scroll = _options$scroll === void 0 ? true : _options$scroll,
1692      _options$resize = options.resize,
1693      resize = _options$resize === void 0 ? true : _options$resize;
1694  var window = (0,_dom_utils_getWindow_js__WEBPACK_IMPORTED_MODULE_0__["default"])(state.elements.popper);
1695  var scrollParents = [].concat(state.scrollParents.reference, state.scrollParents.popper);
1696
1697  if (scroll) {
1698    scrollParents.forEach(function (scrollParent) {
1699      scrollParent.addEventListener('scroll', instance.update, passive);
1700    });
1701  }
1702
1703  if (resize) {
1704    window.addEventListener('resize', instance.update, passive);
1705  }
1706
1707  return function () {
1708    if (scroll) {
1709      scrollParents.forEach(function (scrollParent) {
1710        scrollParent.removeEventListener('scroll', instance.update, passive);
1711      });
1712    }
1713
1714    if (resize) {
1715      window.removeEventListener('resize', instance.update, passive);
1716    }
1717  };
1718} // eslint-disable-next-line import/no-unused-modules
1719
1720
1721/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
1722  name: 'eventListeners',
1723  enabled: true,
1724  phase: 'write',
1725  fn: function fn() {},
1726  effect: effect,
1727  data: {}
1728});
1729
1730/***/ }),
1731
vendor: 7,524 bytes, lines 1732-1898
1732/***/ "./node_modules/@popperjs/core/lib/modifiers/flip.js":
1733/*!***********************************************************!*\
1734  !*** ./node_modules/@popperjs/core/lib/modifiers/flip.js ***!
1735  \***********************************************************/
1736/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1737
1738__webpack_require__.r(__webpack_exports__);
1739/* harmony export */ __webpack_require__.d(__webpack_exports__, {
1740/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
1741/* harmony export */ });
1742/* harmony import */ var _utils_getOppositePlacement_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils/getOppositePlacement.js */ "./node_modules/@popperjs/core/lib/utils/getOppositePlacement.js");
1743/* harmony import */ var _utils_getBasePlacement_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils/getBasePlacement.js */ "./node_modules/@popperjs/core/lib/utils/getBasePlacement.js");
1744/* harmony import */ var _utils_getOppositeVariationPlacement_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils/getOppositeVariationPlacement.js */ "./node_modules/@popperjs/core/lib/utils/getOppositeVariationPlacement.js");
1745/* harmony import */ var _utils_detectOverflow_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../utils/detectOverflow.js */ "./node_modules/@popperjs/core/lib/utils/detectOverflow.js");
1746/* harmony import */ var _utils_computeAutoPlacement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../utils/computeAutoPlacement.js */ "./node_modules/@popperjs/core/lib/utils/computeAutoPlacement.js");
1747/* harmony import */ var _enums_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../enums.js */ "./node_modules/@popperjs/core/lib/enums.js");
1748/* harmony import */ var _utils_getVariation_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../utils/getVariation.js */ "./node_modules/@popperjs/core/lib/utils/getVariation.js");
1749
1750
1751
1752
1753
1754
1755 // eslint-disable-next-line import/no-unused-modules
1756
1757function getExpandedFallbackPlacements(placement) {
1758  if ((0,_utils_getBasePlacement_js__WEBPACK_IMPORTED_MODULE_0__["default"])(placement) === _enums_js__WEBPACK_IMPORTED_MODULE_1__.auto) {
1759    return [];
1760  }
1761
1762  var oppositePlacement = (0,_utils_getOppositePlacement_js__WEBPACK_IMPORTED_MODULE_2__["default"])(placement);
1763  return [(0,_utils_getOppositeVariationPlacement_js__WEBPACK_IMPORTED_MODULE_3__["default"])(placement), oppositePlacement, (0,_utils_getOppositeVariationPlacement_js__WEBPACK_IMPORTED_MODULE_3__["default"])(oppositePlacement)];
1764}
1765
1766function flip(_ref) {
1767  var state = _ref.state,
1768      options = _ref.options,
1769      name = _ref.name;
1770
1771  if (state.modifiersData[name]._skip) {
1772    return;
1773  }
1774
1775  var _options$mainAxis = options.mainAxis,
1776      checkMainAxis = _options$mainAxis === void 0 ? true : _options$mainAxis,
1777      _options$altAxis = options.altAxis,
1778      checkAltAxis = _options$altAxis === void 0 ? true : _options$altAxis,
1779      specifiedFallbackPlacements = options.fallbackPlacements,
1780      padding = options.padding,
1781      boundary = options.boundary,
1782      rootBoundary = options.rootBoundary,
1783      altBoundary = options.altBoundary,
1784      _options$flipVariatio = options.flipVariations,
1785      flipVariations = _options$flipVariatio === void 0 ? true : _options$flipVariatio,
1786      allowedAutoPlacements = options.allowedAutoPlacements;
1787  var preferredPlacement = state.options.placement;
1788  var basePlacement = (0,_utils_getBasePlacement_js__WEBPACK_IMPORTED_MODULE_0__["default"])(preferredPlacement);
1789  var isBasePlacement = basePlacement === preferredPlacement;
1790  var fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipVariations ? [(0,_utils_getOppositePlacement_js__WEBPACK_IMPORTED_MODULE_2__["default"])(preferredPlacement)] : getExpandedFallbackPlacements(preferredPlacement));
1791  var placements = [preferredPlacement].concat(fallbackPlacements).reduce(function (acc, placement) {
1792    return acc.concat((0,_utils_getBasePlacement_js__WEBPACK_IMPORTED_MODULE_0__["default"])(placement) === _enums_js__WEBPACK_IMPORTED_MODULE_1__.auto ? (0,_utils_computeAutoPlacement_js__WEBPACK_IMPORTED_MODULE_4__["default"])(state, {
1793      placement: placement,
1794      boundary: boundary,
1795      rootBoundary: rootBoundary,
1796      padding: padding,
1797      flipVariations: flipVariations,
1798      allowedAutoPlacements: allowedAutoPlacements
1799    }) : placement);
1800  }, []);
1801  var referenceRect = state.rects.reference;
1802  var popperRect = state.rects.popper;
1803  var checksMap = new Map();
1804  var makeFallbackChecks = true;
1805  var firstFittingPlacement = placements[0];
1806
1807  for (var i = 0; i < placements.length; i++) {
1808    var placement = placements[i];
1809
1810    var _basePlacement = (0,_utils_getBasePlacement_js__WEBPACK_IMPORTED_MODULE_0__["default"])(placement);
1811
1812    var isStartVariation = (0,_utils_getVariation_js__WEBPACK_IMPORTED_MODULE_5__["default"])(placement) === _enums_js__WEBPACK_IMPORTED_MODULE_1__.start;
1813    var isVertical = [_enums_js__WEBPACK_IMPORTED_MODULE_1__.top, _enums_js__WEBPACK_IMPORTED_MODULE_1__.bottom].indexOf(_basePlacement) >= 0;
1814    var len = isVertical ? 'width' : 'height';
1815    var overflow = (0,_utils_detectOverflow_js__WEBPACK_IMPORTED_MODULE_6__["default"])(state, {
1816      placement: placement,
1817      boundary: boundary,
1818      rootBoundary: rootBoundary,
1819      altBoundary: altBoundary,
1820      padding: padding
1821    });
1822    var mainVariationSide = isVertical ? isStartVariation ? _enums_js__WEBPACK_IMPORTED_MODULE_1__.right : _enums_js__WEBPACK_IMPORTED_MODULE_1__.left : isStartVariation ? _enums_js__WEBPACK_IMPORTED_MODULE_1__.bottom : _enums_js__WEBPACK_IMPORTED_MODULE_1__.top;
1823
1824    if (referenceRect[len] > popperRect[len]) {
1825      mainVariationSide = (0,_utils_getOppositePlacement_js__WEBPACK_IMPORTED_MODULE_2__["default"])(mainVariationSide);
1826    }
1827
1828    var altVariationSide = (0,_utils_getOppositePlacement_js__WEBPACK_IMPORTED_MODULE_2__["default"])(mainVariationSide);
1829    var checks = [];
1830
1831    if (checkMainAxis) {
1832      checks.push(overflow[_basePlacement] <= 0);
1833    }
1834
1835    if (checkAltAxis) {
1836      checks.push(overflow[mainVariationSide] <= 0, overflow[altVariationSide] <= 0);
1837    }
1838
1839    if (checks.every(function (check) {
1840      return check;
1841    })) {
1842      firstFittingPlacement = placement;
1843      makeFallbackChecks = false;
1844      break;
1845    }
1846
1847    checksMap.set(placement, checks);
1848  }
1849
1850  if (makeFallbackChecks) {
1851    // `2` may be desired in some cases – research later
1852    var numberOfChecks = flipVariations ? 3 : 1;
1853
1854    var _loop = function _loop(_i) {
1855      var fittingPlacement = placements.find(function (placement) {
1856        var checks = checksMap.get(placement);
1857
1858        if (checks) {
1859          return checks.slice(0, _i).every(function (check) {
1860            return check;
1861          });
1862        }
1863      });
1864
1865      if (fittingPlacement) {
1866        firstFittingPlacement = fittingPlacement;
1867        return "break";
1868      }
1869    };
1870
1871    for (var _i = numberOfChecks; _i > 0; _i--) {
1872      var _ret = _loop(_i);
1873
1874      if (_ret === "break") break;
1875    }
1876  }
1877
1878  if (state.placement !== firstFittingPlacement) {
1879    state.modifiersData[name]._skip = true;
1880    state.placement = firstFittingPlacement;
1881    state.reset = true;
1882  }
1883} // eslint-disable-next-line import/no-unused-modules
1884
1885
1886/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
1887  name: 'flip',
1888  enabled: true,
1889  phase: 'main',
1890  fn: flip,
1891  requiresIfExists: ['offset'],
1892  data: {
1893    _skip: false
1894  }
1895});
1896
1897/***/ }),
1898
vendor: 3,060 bytes, lines 1899-1974
1899/***/ "./node_modules/@popperjs/core/lib/modifiers/hide.js":
1900/*!***********************************************************!*\
1901  !*** ./node_modules/@popperjs/core/lib/modifiers/hide.js ***!
1902  \***********************************************************/
1903/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1904
1905__webpack_require__.r(__webpack_exports__);
1906/* harmony export */ __webpack_require__.d(__webpack_exports__, {
1907/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
1908/* harmony export */ });
1909/* harmony import */ var _enums_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../enums.js */ "./node_modules/@popperjs/core/lib/enums.js");
1910/* harmony import */ var _utils_detectOverflow_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils/detectOverflow.js */ "./node_modules/@popperjs/core/lib/utils/detectOverflow.js");
1911
1912
1913
1914function getSideOffsets(overflow, rect, preventedOffsets) {
1915  if (preventedOffsets === void 0) {
1916    preventedOffsets = {
1917      x: 0,
1918      y: 0
1919    };
1920  }
1921
1922  return {
1923    top: overflow.top - rect.height - preventedOffsets.y,
1924    right: overflow.right - rect.width + preventedOffsets.x,
1925    bottom: overflow.bottom - rect.height + preventedOffsets.y,
1926    left: overflow.left - rect.width - preventedOffsets.x
1927  };
1928}
1929
1930function isAnySideFullyClipped(overflow) {
1931  return [_enums_js__WEBPACK_IMPORTED_MODULE_0__.top, _enums_js__WEBPACK_IMPORTED_MODULE_0__.right, _enums_js__WEBPACK_IMPORTED_MODULE_0__.bottom, _enums_js__WEBPACK_IMPORTED_MODULE_0__.left].some(function (side) {
1932    return overflow[side] >= 0;
1933  });
1934}
1935
1936function hide(_ref) {
1937  var state = _ref.state,
1938      name = _ref.name;
1939  var referenceRect = state.rects.reference;
1940  var popperRect = state.rects.popper;
1941  var preventedOffsets = state.modifiersData.preventOverflow;
1942  var referenceOverflow = (0,_utils_detectOverflow_js__WEBPACK_IMPORTED_MODULE_1__["default"])(state, {
1943    elementContext: 'reference'
1944  });
1945  var popperAltOverflow = (0,_utils_detectOverflow_js__WEBPACK_IMPORTED_MODULE_1__["default"])(state, {
1946    altBoundary: true
1947  });
1948  var referenceClippingOffsets = getSideOffsets(referenceOverflow, referenceRect);
1949  var popperEscapeOffsets = getSideOffsets(popperAltOverflow, popperRect, preventedOffsets);
1950  var isReferenceHidden = isAnySideFullyClipped(referenceClippingOffsets);
1951  var hasPopperEscaped = isAnySideFullyClipped(popperEscapeOffsets);
1952  state.modifiersData[name] = {
1953    referenceClippingOffsets: referenceClippingOffsets,
1954    popperEscapeOffsets: popperEscapeOffsets,
1955    isReferenceHidden: isReferenceHidden,
1956    hasPopperEscaped: hasPopperEscaped
1957  };
1958  state.attributes.popper = Object.assign({}, state.attributes.popper, {
1959    'data-popper-reference-hidden': isReferenceHidden,
1960    'data-popper-escaped': hasPopperEscaped
1961  });
1962} // eslint-disable-next-line import/no-unused-modules
1963
1964
1965/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
1966  name: 'hide',
1967  enabled: true,
1968  phase: 'main',
1969  requiresIfExists: ['preventOverflow'],
1970  fn: hide
1971});
1972
1973/***/ }),
1974
vendor: 3,143 bytes, lines 1975-2013
1975/***/ "./node_modules/@popperjs/core/lib/modifiers/index.js":
1976/*!************************************************************!*\
1977  !*** ./node_modules/@popperjs/core/lib/modifiers/index.js ***!
1978  \************************************************************/
1979/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1980
1981__webpack_require__.r(__webpack_exports__);
1982/* harmony export */ __webpack_require__.d(__webpack_exports__, {
1983/* harmony export */   "applyStyles": () => (/* reexport safe */ _applyStyles_js__WEBPACK_IMPORTED_MODULE_0__["default"]),
1984/* harmony export */   "arrow": () => (/* reexport safe */ _arrow_js__WEBPACK_IMPORTED_MODULE_1__["default"]),
1985/* harmony export */   "computeStyles": () => (/* reexport safe */ _computeStyles_js__WEBPACK_IMPORTED_MODULE_2__["default"]),
1986/* harmony export */   "eventListeners": () => (/* reexport safe */ _eventListeners_js__WEBPACK_IMPORTED_MODULE_3__["default"]),
1987/* harmony export */   "flip": () => (/* reexport safe */ _flip_js__WEBPACK_IMPORTED_MODULE_4__["default"]),
1988/* harmony export */   "hide": () => (/* reexport safe */ _hide_js__WEBPACK_IMPORTED_MODULE_5__["default"]),
1989/* harmony export */   "offset": () => (/* reexport safe */ _offset_js__WEBPACK_IMPORTED_MODULE_6__["default"]),
1990/* harmony export */   "popperOffsets": () => (/* reexport safe */ _popperOffsets_js__WEBPACK_IMPORTED_MODULE_7__["default"]),
1991/* harmony export */   "preventOverflow": () => (/* reexport safe */ _preventOverflow_js__WEBPACK_IMPORTED_MODULE_8__["default"])
1992/* harmony export */ });
1993/* harmony import */ var _applyStyles_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./applyStyles.js */ "./node_modules/@popperjs/core/lib/modifiers/applyStyles.js");
1994/* harmony import */ var _arrow_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./arrow.js */ "./node_modules/@popperjs/core/lib/modifiers/arrow.js");
1995/* harmony import */ var _computeStyles_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./computeStyles.js */ "./node_modules/@popperjs/core/lib/modifiers/computeStyles.js");
1996/* harmony import */ var _eventListeners_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./eventListeners.js */ "./node_modules/@popperjs/core/lib/modifiers/eventListeners.js");
1997/* harmony import */ var _flip_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./flip.js */ "./node_modules/@popperjs/core/lib/modifiers/flip.js");
1998/* harmony import */ var _hide_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./hide.js */ "./node_modules/@popperjs/core/lib/modifiers/hide.js");
1999/* harmony import */ var _offset_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./offset.js */ "./node_modules/@popperjs/core/lib/modifiers/offset.js");
2000/* harmony import */ var _popperOffsets_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./popperOffsets.js */ "./node_modules/@popperjs/core/lib/modifiers/popperOffsets.js");
2001/* harmony import */ var _preventOverflow_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./preventOverflow.js */ "./node_modules/@popperjs/core/lib/modifiers/preventOverflow.js");
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012/***/ }),
2013
vendor: 2,800 bytes, lines 2014-2083
2014/***/ "./node_modules/@popperjs/core/lib/modifiers/offset.js":
2015/*!*************************************************************!*\
2016  !*** ./node_modules/@popperjs/core/lib/modifiers/offset.js ***!
2017  \*************************************************************/
2018/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2019
2020__webpack_require__.r(__webpack_exports__);
2021/* harmony export */ __webpack_require__.d(__webpack_exports__, {
2022/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
2023/* harmony export */   "distanceAndSkiddingToXY": () => (/* binding */ distanceAndSkiddingToXY)
2024/* harmony export */ });
2025/* harmony import */ var _utils_getBasePlacement_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils/getBasePlacement.js */ "./node_modules/@popperjs/core/lib/utils/getBasePlacement.js");
2026/* harmony import */ var _enums_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../enums.js */ "./node_modules/@popperjs/core/lib/enums.js");
2027
2028 // eslint-disable-next-line import/no-unused-modules
2029
2030function distanceAndSkiddingToXY(placement, rects, offset) {
2031  var basePlacement = (0,_utils_getBasePlacement_js__WEBPACK_IMPORTED_MODULE_0__["default"])(placement);
2032  var invertDistance = [_enums_js__WEBPACK_IMPORTED_MODULE_1__.left, _enums_js__WEBPACK_IMPORTED_MODULE_1__.top].indexOf(basePlacement) >= 0 ? -1 : 1;
2033
2034  var _ref = typeof offset === 'function' ? offset(Object.assign({}, rects, {
2035    placement: placement
2036  })) : offset,
2037      skidding = _ref[0],
2038      distance = _ref[1];
2039
2040  skidding = skidding || 0;
2041  distance = (distance || 0) * invertDistance;
2042  return [_enums_js__WEBPACK_IMPORTED_MODULE_1__.left, _enums_js__WEBPACK_IMPORTED_MODULE_1__.right].indexOf(basePlacement) >= 0 ? {
2043    x: distance,
2044    y: skidding
2045  } : {
2046    x: skidding,
2047    y: distance
2048  };
2049}
2050
2051function offset(_ref2) {
2052  var state = _ref2.state,
2053      options = _ref2.options,
2054      name = _ref2.name;
2055  var _options$offset = options.offset,
2056      offset = _options$offset === void 0 ? [0, 0] : _options$offset;
2057  var data = _enums_js__WEBPACK_IMPORTED_MODULE_1__.placements.reduce(function (acc, placement) {
2058    acc[placement] = distanceAndSkiddingToXY(placement, state.rects, offset);
2059    return acc;
2060  }, {});
2061  var _data$state$placement = data[state.placement],
2062      x = _data$state$placement.x,
2063      y = _data$state$placement.y;
2064
2065  if (state.modifiersData.popperOffsets != null) {
2066    state.modifiersData.popperOffsets.x += x;
2067    state.modifiersData.popperOffsets.y += y;
2068  }
2069
2070  state.modifiersData[name] = data;
2071} // eslint-disable-next-line import/no-unused-modules
2072
2073
2074/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
2075  name: 'offset',
2076  enabled: true,
2077  phase: 'main',
2078  requires: ['popperOffsets'],
2079  fn: offset
2080});
2081
2082/***/ }),
2083
vendor: 1,541 bytes, lines 2084-2122
2084/***/ "./node_modules/@popperjs/core/lib/modifiers/popperOffsets.js":
2085/*!********************************************************************!*\
2086  !*** ./node_modules/@popperjs/core/lib/modifiers/popperOffsets.js ***!
2087  \********************************************************************/
2088/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2089
2090__webpack_require__.r(__webpack_exports__);
2091/* harmony export */ __webpack_require__.d(__webpack_exports__, {
2092/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
2093/* harmony export */ });
2094/* harmony import */ var _utils_computeOffsets_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils/computeOffsets.js */ "./node_modules/@popperjs/core/lib/utils/computeOffsets.js");
2095
2096
2097function popperOffsets(_ref) {
2098  var state = _ref.state,
2099      name = _ref.name;
2100  // Offsets are the actual position the popper needs to have to be
2101  // properly positioned near its reference element
2102  // This is the most basic placement, and will be adjusted by
2103  // the modifiers in the next step
2104  state.modifiersData[name] = (0,_utils_computeOffsets_js__WEBPACK_IMPORTED_MODULE_0__["default"])({
2105    reference: state.rects.reference,
2106    element: state.rects.popper,
2107    strategy: 'absolute',
2108    placement: state.placement
2109  });
2110} // eslint-disable-next-line import/no-unused-modules
2111
2112
2113/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
2114  name: 'popperOffsets',
2115  enabled: true,
2116  phase: 'read',
2117  fn: popperOffsets,
2118  data: {}
2119});
2120
2121/***/ }),
2122
vendor: 9,890 bytes, lines 2123-2288
2123/***/ "./node_modules/@popperjs/core/lib/modifiers/preventOverflow.js":
2124/*!**********************************************************************!*\
2125  !*** ./node_modules/@popperjs/core/lib/modifiers/preventOverflow.js ***!
2126  \**********************************************************************/
2127/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2128
2129__webpack_require__.r(__webpack_exports__);
2130/* harmony export */ __webpack_require__.d(__webpack_exports__, {
2131/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
2132/* harmony export */ });
2133/* harmony import */ var _enums_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../enums.js */ "./node_modules/@popperjs/core/lib/enums.js");
2134/* harmony import */ var _utils_getBasePlacement_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils/getBasePlacement.js */ "./node_modules/@popperjs/core/lib/utils/getBasePlacement.js");
2135/* harmony import */ var _utils_getMainAxisFromPlacement_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils/getMainAxisFromPlacement.js */ "./node_modules/@popperjs/core/lib/utils/getMainAxisFromPlacement.js");
2136/* harmony import */ var _utils_getAltAxis_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../utils/getAltAxis.js */ "./node_modules/@popperjs/core/lib/utils/getAltAxis.js");
2137/* harmony import */ var _utils_within_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../utils/within.js */ "./node_modules/@popperjs/core/lib/utils/within.js");
2138/* harmony import */ var _dom_utils_getLayoutRect_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../dom-utils/getLayoutRect.js */ "./node_modules/@popperjs/core/lib/dom-utils/getLayoutRect.js");
2139/* harmony import */ var _dom_utils_getOffsetParent_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../dom-utils/getOffsetParent.js */ "./node_modules/@popperjs/core/lib/dom-utils/getOffsetParent.js");
2140/* harmony import */ var _utils_detectOverflow_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils/detectOverflow.js */ "./node_modules/@popperjs/core/lib/utils/detectOverflow.js");
2141/* harmony import */ var _utils_getVariation_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils/getVariation.js */ "./node_modules/@popperjs/core/lib/utils/getVariation.js");
2142/* harmony import */ var _utils_getFreshSideObject_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../utils/getFreshSideObject.js */ "./node_modules/@popperjs/core/lib/utils/getFreshSideObject.js");
2143/* harmony import */ var _utils_math_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../utils/math.js */ "./node_modules/@popperjs/core/lib/utils/math.js");
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156function preventOverflow(_ref) {
2157  var state = _ref.state,
2158      options = _ref.options,
2159      name = _ref.name;
2160  var _options$mainAxis = options.mainAxis,
2161      checkMainAxis = _options$mainAxis === void 0 ? true : _options$mainAxis,
2162      _options$altAxis = options.altAxis,
2163      checkAltAxis = _options$altAxis === void 0 ? false : _options$altAxis,
2164      boundary = options.boundary,
2165      rootBoundary = options.rootBoundary,
2166      altBoundary = options.altBoundary,
2167      padding = options.padding,
2168      _options$tether = options.tether,
2169      tether = _options$tether === void 0 ? true : _options$tether,
2170      _options$tetherOffset = options.tetherOffset,
2171      tetherOffset = _options$tetherOffset === void 0 ? 0 : _options$tetherOffset;
2172  var overflow = (0,_utils_detectOverflow_js__WEBPACK_IMPORTED_MODULE_0__["default"])(state, {
2173    boundary: boundary,
2174    rootBoundary: rootBoundary,
2175    padding: padding,
2176    altBoundary: altBoundary
2177  });
2178  var basePlacement = (0,_utils_getBasePlacement_js__WEBPACK_IMPORTED_MODULE_1__["default"])(state.placement);
2179  var variation = (0,_utils_getVariation_js__WEBPACK_IMPORTED_MODULE_2__["default"])(state.placement);
2180  var isBasePlacement = !variation;
2181  var mainAxis = (0,_utils_getMainAxisFromPlacement_js__WEBPACK_IMPORTED_MODULE_3__["default"])(basePlacement);
2182  var altAxis = (0,_utils_getAltAxis_js__WEBPACK_IMPORTED_MODULE_4__["default"])(mainAxis);
2183  var popperOffsets = state.modifiersData.popperOffsets;
2184  var referenceRect = state.rects.reference;
2185  var popperRect = state.rects.popper;
2186  var tetherOffsetValue = typeof tetherOffset === 'function' ? tetherOffset(Object.assign({}, state.rects, {
2187    placement: state.placement
2188  })) : tetherOffset;
2189  var normalizedTetherOffsetValue = typeof tetherOffsetValue === 'number' ? {
2190    mainAxis: tetherOffsetValue,
2191    altAxis: tetherOffsetValue
2192  } : Object.assign({
2193    mainAxis: 0,
2194    altAxis: 0
2195  }, tetherOffsetValue);
2196  var offsetModifierState = state.modifiersData.offset ? state.modifiersData.offset[state.placement] : null;
2197  var data = {
2198    x: 0,
2199    y: 0
2200  };
2201
2202  if (!popperOffsets) {
2203    return;
2204  }
2205
2206  if (checkMainAxis) {
2207    var _offsetModifierState$;
2208
2209    var mainSide = mainAxis === 'y' ? _enums_js__WEBPACK_IMPORTED_MODULE_5__.top : _enums_js__WEBPACK_IMPORTED_MODULE_5__.left;
2210    var altSide = mainAxis === 'y' ? _enums_js__WEBPACK_IMPORTED_MODULE_5__.bottom : _enums_js__WEBPACK_IMPORTED_MODULE_5__.right;
2211    var len = mainAxis === 'y' ? 'height' : 'width';
2212    var offset = popperOffsets[mainAxis];
2213    var min = offset + overflow[mainSide];
2214    var max = offset - overflow[altSide];
2215    var additive = tether ? -popperRect[len] / 2 : 0;
2216    var minLen = variation === _enums_js__WEBPACK_IMPORTED_MODULE_5__.start ? referenceRect[len] : popperRect[len];
2217    var maxLen = variation === _enums_js__WEBPACK_IMPORTED_MODULE_5__.start ? -popperRect[len] : -referenceRect[len]; // We need to include the arrow in the calculation so the arrow doesn't go
2218    // outside the reference bounds
2219
2220    var arrowElement = state.elements.arrow;
2221    var arrowRect = tether && arrowElement ? (0,_dom_utils_getLayoutRect_js__WEBPACK_IMPORTED_MODULE_6__["default"])(arrowElement) : {
2222      width: 0,
2223      height: 0
2224    };
2225    var arrowPaddingObject = state.modifiersData['arrow#persistent'] ? state.modifiersData['arrow#persistent'].padding : (0,_utils_getFreshSideObject_js__WEBPACK_IMPORTED_MODULE_7__["default"])();
2226    var arrowPaddingMin = arrowPaddingObject[mainSide];
2227    var arrowPaddingMax = arrowPaddingObject[altSide]; // If the reference length is smaller than the arrow length, we don't want
2228    // to include its full size in the calculation. If the reference is small
2229    // and near the edge of a boundary, the popper can overflow even if the
2230    // reference is not overflowing as well (e.g. virtual elements with no
2231    // width or height)
2232
2233    var arrowLen = (0,_utils_within_js__WEBPACK_IMPORTED_MODULE_8__.within)(0, referenceRect[len], arrowRect[len]);
2234    var minOffset = isBasePlacement ? referenceRect[len] / 2 - additive - arrowLen - arrowPaddingMin - normalizedTetherOffsetValue.mainAxis : minLen - arrowLen - arrowPaddingMin - normalizedTetherOffsetValue.mainAxis;
2235    var maxOffset = isBasePlacement ? -referenceRect[len] / 2 + additive + arrowLen + arrowPaddingMax + normalizedTetherOffsetValue.mainAxis : maxLen + arrowLen + arrowPaddingMax + normalizedTetherOffsetValue.mainAxis;
2236    var arrowOffsetParent = state.elements.arrow && (0,_dom_utils_getOffsetParent_js__WEBPACK_IMPORTED_MODULE_9__["default"])(state.elements.arrow);
2237    var clientOffset = arrowOffsetParent ? mainAxis === 'y' ? arrowOffsetParent.clientTop || 0 : arrowOffsetParent.clientLeft || 0 : 0;
2238    var offsetModifierValue = (_offsetModifierState$ = offsetModifierState == null ? void 0 : offsetModifierState[mainAxis]) != null ? _offsetModifierState$ : 0;
2239    var tetherMin = offset + minOffset - offsetModifierValue - clientOffset;
2240    var tetherMax = offset + maxOffset - offsetModifierValue;
2241    var preventedOffset = (0,_utils_within_js__WEBPACK_IMPORTED_MODULE_8__.within)(tether ? (0,_utils_math_js__WEBPACK_IMPORTED_MODULE_10__.min)(min, tetherMin) : min, offset, tether ? (0,_utils_math_js__WEBPACK_IMPORTED_MODULE_10__.max)(max, tetherMax) : max);
2242    popperOffsets[mainAxis] = preventedOffset;
2243    data[mainAxis] = preventedOffset - offset;
2244  }
2245
2246  if (checkAltAxis) {
2247    var _offsetModifierState$2;
2248
2249    var _mainSide = mainAxis === 'x' ? _enums_js__WEBPACK_IMPORTED_MODULE_5__.top : _enums_js__WEBPACK_IMPORTED_MODULE_5__.left;
2250
2251    var _altSide = mainAxis === 'x' ? _enums_js__WEBPACK_IMPORTED_MODULE_5__.bottom : _enums_js__WEBPACK_IMPORTED_MODULE_5__.right;
2252
2253    var _offset = popperOffsets[altAxis];
2254
2255    var _len = altAxis === 'y' ? 'height' : 'width';
2256
2257    var _min = _offset + overflow[_mainSide];
2258
2259    var _max = _offset - overflow[_altSide];
2260
2261    var isOriginSide = [_enums_js__WEBPACK_IMPORTED_MODULE_5__.top, _enums_js__WEBPACK_IMPORTED_MODULE_5__.left].indexOf(basePlacement) !== -1;
2262
2263    var _offsetModifierValue = (_offsetModifierState$2 = offsetModifierState == null ? void 0 : offsetModifierState[altAxis]) != null ? _offsetModifierState$2 : 0;
2264
2265    var _tetherMin = isOriginSide ? _min : _offset - referenceRect[_len] - popperRect[_len] - _offsetModifierValue + normalizedTetherOffsetValue.altAxis;
2266
2267    var _tetherMax = isOriginSide ? _offset + referenceRect[_len] + popperRect[_len] - _offsetModifierValue - normalizedTetherOffsetValue.altAxis : _max;
2268
2269    var _preventedOffset = tether && isOriginSide ? (0,_utils_within_js__WEBPACK_IMPORTED_MODULE_8__.withinMaxClamp)(_tetherMin, _offset, _tetherMax) : (0,_utils_within_js__WEBPACK_IMPORTED_MODULE_8__.within)(tether ? _tetherMin : _min, _offset, tether ? _tetherMax : _max);
2270
2271    popperOffsets[altAxis] = _preventedOffset;
2272    data[altAxis] = _preventedOffset - _offset;
2273  }
2274
2275  state.modifiersData[name] = data;
2276} // eslint-disable-next-line import/no-unused-modules
2277
2278
2279/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
2280  name: 'preventOverflow',
2281  enabled: true,
2282  phase: 'main',
2283  fn: preventOverflow,
2284  requiresIfExists: ['offset']
2285});
2286
2287/***/ }),
2288
vendor: 2,558 bytes, lines 2289-2321
2289/***/ "./node_modules/@popperjs/core/lib/popper-lite.js":
2290/*!********************************************************!*\
2291  !*** ./node_modules/@popperjs/core/lib/popper-lite.js ***!
2292  \********************************************************/
2293/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2294
2295__webpack_require__.r(__webpack_exports__);
2296/* harmony export */ __webpack_require__.d(__webpack_exports__, {
2297/* harmony export */   "createPopper": () => (/* binding */ createPopper),
2298/* harmony export */   "defaultModifiers": () => (/* binding */ defaultModifiers),
2299/* harmony export */   "detectOverflow": () => (/* reexport safe */ _createPopper_js__WEBPACK_IMPORTED_MODULE_5__["default"]),
2300/* harmony export */   "popperGenerator": () => (/* reexport safe */ _createPopper_js__WEBPACK_IMPORTED_MODULE_4__.popperGenerator)
2301/* harmony export */ });
2302/* harmony import */ var _createPopper_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./createPopper.js */ "./node_modules/@popperjs/core/lib/createPopper.js");
2303/* harmony import */ var _createPopper_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./createPopper.js */ "./node_modules/@popperjs/core/lib/utils/detectOverflow.js");
2304/* harmony import */ var _modifiers_eventListeners_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./modifiers/eventListeners.js */ "./node_modules/@popperjs/core/lib/modifiers/eventListeners.js");
2305/* harmony import */ var _modifiers_popperOffsets_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./modifiers/popperOffsets.js */ "./node_modules/@popperjs/core/lib/modifiers/popperOffsets.js");
2306/* harmony import */ var _modifiers_computeStyles_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./modifiers/computeStyles.js */ "./node_modules/@popperjs/core/lib/modifiers/computeStyles.js");
2307/* harmony import */ var _modifiers_applyStyles_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./modifiers/applyStyles.js */ "./node_modules/@popperjs/core/lib/modifiers/applyStyles.js");
2308
2309
2310
2311
2312
2313var defaultModifiers = [_modifiers_eventListeners_js__WEBPACK_IMPORTED_MODULE_0__["default"], _modifiers_popperOffsets_js__WEBPACK_IMPORTED_MODULE_1__["default"], _modifiers_computeStyles_js__WEBPACK_IMPORTED_MODULE_2__["default"], _modifiers_applyStyles_js__WEBPACK_IMPORTED_MODULE_3__["default"]];
2314var createPopper = /*#__PURE__*/(0,_createPopper_js__WEBPACK_IMPORTED_MODULE_4__.popperGenerator)({
2315  defaultModifiers: defaultModifiers
2316}); // eslint-disable-next-line import/no-unused-modules
2317
2318
2319
2320/***/ }),
2321
vendor: 5,517 bytes, lines 2322-2380
2322/***/ "./node_modules/@popperjs/core/lib/popper.js":
2323/*!***************************************************!*\
2324  !*** ./node_modules/@popperjs/core/lib/popper.js ***!
2325  \***************************************************/
2326/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2327
2328__webpack_require__.r(__webpack_exports__);
2329/* harmony export */ __webpack_require__.d(__webpack_exports__, {
2330/* harmony export */   "applyStyles": () => (/* reexport safe */ _modifiers_index_js__WEBPACK_IMPORTED_MODULE_12__.applyStyles),
2331/* harmony export */   "arrow": () => (/* reexport safe */ _modifiers_index_js__WEBPACK_IMPORTED_MODULE_12__.arrow),
2332/* harmony export */   "computeStyles": () => (/* reexport safe */ _modifiers_index_js__WEBPACK_IMPORTED_MODULE_12__.computeStyles),
2333/* harmony export */   "createPopper": () => (/* binding */ createPopper),
2334/* harmony export */   "createPopperLite": () => (/* reexport safe */ _popper_lite_js__WEBPACK_IMPORTED_MODULE_11__.createPopper),
2335/* harmony export */   "defaultModifiers": () => (/* binding */ defaultModifiers),
2336/* harmony export */   "detectOverflow": () => (/* reexport safe */ _createPopper_js__WEBPACK_IMPORTED_MODULE_10__["default"]),
2337/* harmony export */   "eventListeners": () => (/* reexport safe */ _modifiers_index_js__WEBPACK_IMPORTED_MODULE_12__.eventListeners),
2338/* harmony export */   "flip": () => (/* reexport safe */ _modifiers_index_js__WEBPACK_IMPORTED_MODULE_12__.flip),
2339/* harmony export */   "hide": () => (/* reexport safe */ _modifiers_index_js__WEBPACK_IMPORTED_MODULE_12__.hide),
2340/* harmony export */   "offset": () => (/* reexport safe */ _modifiers_index_js__WEBPACK_IMPORTED_MODULE_12__.offset),
2341/* harmony export */   "popperGenerator": () => (/* reexport safe */ _createPopper_js__WEBPACK_IMPORTED_MODULE_9__.popperGenerator),
2342/* harmony export */   "popperOffsets": () => (/* reexport safe */ _modifiers_index_js__WEBPACK_IMPORTED_MODULE_12__.popperOffsets),
2343/* harmony export */   "preventOverflow": () => (/* reexport safe */ _modifiers_index_js__WEBPACK_IMPORTED_MODULE_12__.preventOverflow)
2344/* harmony export */ });
2345/* harmony import */ var _createPopper_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./createPopper.js */ "./node_modules/@popperjs/core/lib/createPopper.js");
2346/* harmony import */ var _createPopper_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./createPopper.js */ "./node_modules/@popperjs/core/lib/utils/detectOverflow.js");
2347/* harmony import */ var _modifiers_eventListeners_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./modifiers/eventListeners.js */ "./node_modules/@popperjs/core/lib/modifiers/eventListeners.js");
2348/* harmony import */ var _modifiers_popperOffsets_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./modifiers/popperOffsets.js */ "./node_modules/@popperjs/core/lib/modifiers/popperOffsets.js");
2349/* harmony import */ var _modifiers_computeStyles_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./modifiers/computeStyles.js */ "./node_modules/@popperjs/core/lib/modifiers/computeStyles.js");
2350/* harmony import */ var _modifiers_applyStyles_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./modifiers/applyStyles.js */ "./node_modules/@popperjs/core/lib/modifiers/applyStyles.js");
2351/* harmony import */ var _modifiers_offset_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./modifiers/offset.js */ "./node_modules/@popperjs/core/lib/modifiers/offset.js");
2352/* harmony import */ var _modifiers_flip_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./modifiers/flip.js */ "./node_modules/@popperjs/core/lib/modifiers/flip.js");
2353/* harmony import */ var _modifiers_preventOverflow_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./modifiers/preventOverflow.js */ "./node_modules/@popperjs/core/lib/modifiers/preventOverflow.js");
2354/* harmony import */ var _modifiers_arrow_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./modifiers/arrow.js */ "./node_modules/@popperjs/core/lib/modifiers/arrow.js");
2355/* harmony import */ var _modifiers_hide_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./modifiers/hide.js */ "./node_modules/@popperjs/core/lib/modifiers/hide.js");
2356/* harmony import */ var _popper_lite_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./popper-lite.js */ "./node_modules/@popperjs/core/lib/popper-lite.js");
2357/* harmony import */ var _modifiers_index_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./modifiers/index.js */ "./node_modules/@popperjs/core/lib/modifiers/index.js");
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368var defaultModifiers = [_modifiers_eventListeners_js__WEBPACK_IMPORTED_MODULE_0__["default"], _modifiers_popperOffsets_js__WEBPACK_IMPORTED_MODULE_1__["default"], _modifiers_computeStyles_js__WEBPACK_IMPORTED_MODULE_2__["default"], _modifiers_applyStyles_js__WEBPACK_IMPORTED_MODULE_3__["default"], _modifiers_offset_js__WEBPACK_IMPORTED_MODULE_4__["default"], _modifiers_flip_js__WEBPACK_IMPORTED_MODULE_5__["default"], _modifiers_preventOverflow_js__WEBPACK_IMPORTED_MODULE_6__["default"], _modifiers_arrow_js__WEBPACK_IMPORTED_MODULE_7__["default"], _modifiers_hide_js__WEBPACK_IMPORTED_MODULE_8__["default"]];
2369var createPopper = /*#__PURE__*/(0,_createPopper_js__WEBPACK_IMPORTED_MODULE_9__.popperGenerator)({
2370  defaultModifiers: defaultModifiers
2371}); // eslint-disable-next-line import/no-unused-modules
2372
2373 // eslint-disable-next-line import/no-unused-modules
2374
2375 // eslint-disable-next-line import/no-unused-modules
2376
2377
2378
2379/***/ }),
2380
vendor: 3,391 bytes, lines 2381-2444
2381/***/ "./node_modules/@popperjs/core/lib/utils/computeAutoPlacement.js":
2382/*!***********************************************************************!*\
2383  !*** ./node_modules/@popperjs/core/lib/utils/computeAutoPlacement.js ***!
2384  \***********************************************************************/
2385/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2386
2387__webpack_require__.r(__webpack_exports__);
2388/* harmony export */ __webpack_require__.d(__webpack_exports__, {
2389/* harmony export */   "default": () => (/* binding */ computeAutoPlacement)
2390/* harmony export */ });
2391/* harmony import */ var _getVariation_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./getVariation.js */ "./node_modules/@popperjs/core/lib/utils/getVariation.js");
2392/* harmony import */ var _enums_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../enums.js */ "./node_modules/@popperjs/core/lib/enums.js");
2393/* harmony import */ var _detectOverflow_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./detectOverflow.js */ "./node_modules/@popperjs/core/lib/utils/detectOverflow.js");
2394/* harmony import */ var _getBasePlacement_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./getBasePlacement.js */ "./node_modules/@popperjs/core/lib/utils/getBasePlacement.js");
2395
2396
2397
2398
2399function computeAutoPlacement(state, options) {
2400  if (options === void 0) {
2401    options = {};
2402  }
2403
2404  var _options = options,
2405      placement = _options.placement,
2406      boundary = _options.boundary,
2407      rootBoundary = _options.rootBoundary,
2408      padding = _options.padding,
2409      flipVariations = _options.flipVariations,
2410      _options$allowedAutoP = _options.allowedAutoPlacements,
2411      allowedAutoPlacements = _options$allowedAutoP === void 0 ? _enums_js__WEBPACK_IMPORTED_MODULE_0__.placements : _options$allowedAutoP;
2412  var variation = (0,_getVariation_js__WEBPACK_IMPORTED_MODULE_1__["default"])(placement);
2413  var placements = variation ? flipVariations ? _enums_js__WEBPACK_IMPORTED_MODULE_0__.variationPlacements : _enums_js__WEBPACK_IMPORTED_MODULE_0__.variationPlacements.filter(function (placement) {
2414    return (0,_getVariation_js__WEBPACK_IMPORTED_MODULE_1__["default"])(placement) === variation;
2415  }) : _enums_js__WEBPACK_IMPORTED_MODULE_0__.basePlacements;
2416  var allowedPlacements = placements.filter(function (placement) {
2417    return allowedAutoPlacements.indexOf(placement) >= 0;
2418  });
2419
2420  if (allowedPlacements.length === 0) {
2421    allowedPlacements = placements;
2422
2423    if (true) {
2424      console.error(['Popper: The `allowedAutoPlacements` option did not allow any', 'placements. Ensure the `placement` option matches the variation', 'of the allowed placements.', 'For example, "auto" cannot be used to allow "bottom-start".', 'Use "auto-start" instead.'].join(' '));
2425    }
2426  } // $FlowFixMe[incompatible-type]: Flow seems to have problems with two array unions...
2427
2428
2429  var overflows = allowedPlacements.reduce(function (acc, placement) {
2430    acc[placement] = (0,_detectOverflow_js__WEBPACK_IMPORTED_MODULE_2__["default"])(state, {
2431      placement: placement,
2432      boundary: boundary,
2433      rootBoundary: rootBoundary,
2434      padding: padding
2435    })[(0,_getBasePlacement_js__WEBPACK_IMPORTED_MODULE_3__["default"])(placement)];
2436    return acc;
2437  }, {});
2438  return Object.keys(overflows).sort(function (a, b) {
2439    return overflows[a] - overflows[b];
2440  });
2441}
2442
2443/***/ }),
2444
vendor: 3,180 bytes, lines 2445-2531
2445/***/ "./node_modules/@popperjs/core/lib/utils/computeOffsets.js":
2446/*!*****************************************************************!*\
2447  !*** ./node_modules/@popperjs/core/lib/utils/computeOffsets.js ***!
2448  \*****************************************************************/
2449/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2450
2451__webpack_require__.r(__webpack_exports__);
2452/* harmony export */ __webpack_require__.d(__webpack_exports__, {
2453/* harmony export */   "default": () => (/* binding */ computeOffsets)
2454/* harmony export */ });
2455/* harmony import */ var _getBasePlacement_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getBasePlacement.js */ "./node_modules/@popperjs/core/lib/utils/getBasePlacement.js");
2456/* harmony import */ var _getVariation_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./getVariation.js */ "./node_modules/@popperjs/core/lib/utils/getVariation.js");
2457/* harmony import */ var _getMainAxisFromPlacement_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./getMainAxisFromPlacement.js */ "./node_modules/@popperjs/core/lib/utils/getMainAxisFromPlacement.js");
2458/* harmony import */ var _enums_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../enums.js */ "./node_modules/@popperjs/core/lib/enums.js");
2459
2460
2461
2462
2463function computeOffsets(_ref) {
2464  var reference = _ref.reference,
2465      element = _ref.element,
2466      placement = _ref.placement;
2467  var basePlacement = placement ? (0,_getBasePlacement_js__WEBPACK_IMPORTED_MODULE_0__["default"])(placement) : null;
2468  var variation = placement ? (0,_getVariation_js__WEBPACK_IMPORTED_MODULE_1__["default"])(placement) : null;
2469  var commonX = reference.x + reference.width / 2 - element.width / 2;
2470  var commonY = reference.y + reference.height / 2 - element.height / 2;
2471  var offsets;
2472
2473  switch (basePlacement) {
2474    case _enums_js__WEBPACK_IMPORTED_MODULE_2__.top:
2475      offsets = {
2476        x: commonX,
2477        y: reference.y - element.height
2478      };
2479      break;
2480
2481    case _enums_js__WEBPACK_IMPORTED_MODULE_2__.bottom:
2482      offsets = {
2483        x: commonX,
2484        y: reference.y + reference.height
2485      };
2486      break;
2487
2488    case _enums_js__WEBPACK_IMPORTED_MODULE_2__.right:
2489      offsets = {
2490        x: reference.x + reference.width,
2491        y: commonY
2492      };
2493      break;
2494
2495    case _enums_js__WEBPACK_IMPORTED_MODULE_2__.left:
2496      offsets = {
2497        x: reference.x - element.width,
2498        y: commonY
2499      };
2500      break;
2501
2502    default:
2503      offsets = {
2504        x: reference.x,
2505        y: reference.y
2506      };
2507  }
2508
2509  var mainAxis = basePlacement ? (0,_getMainAxisFromPlacement_js__WEBPACK_IMPORTED_MODULE_3__["default"])(basePlacement) : null;
2510
2511  if (mainAxis != null) {
2512    var len = mainAxis === 'y' ? 'height' : 'width';
2513
2514    switch (variation) {
2515      case _enums_js__WEBPACK_IMPORTED_MODULE_2__.start:
2516        offsets[mainAxis] = offsets[mainAxis] - (reference[len] / 2 - element[len] / 2);
2517        break;
2518
2519      case _enums_js__WEBPACK_IMPORTED_MODULE_2__.end:
2520        offsets[mainAxis] = offsets[mainAxis] + (reference[len] / 2 - element[len] / 2);
2521        break;
2522
2523      default:
2524    }
2525  }
2526
2527  return offsets;
2528}
2529
2530/***/ }),
2531
vendor: 836 bytes, lines 2532-2559
2532/***/ "./node_modules/@popperjs/core/lib/utils/debounce.js":
2533/*!***********************************************************!*\
2534  !*** ./node_modules/@popperjs/core/lib/utils/debounce.js ***!
2535  \***********************************************************/
2536/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2537
2538__webpack_require__.r(__webpack_exports__);
2539/* harmony export */ __webpack_require__.d(__webpack_exports__, {
2540/* harmony export */   "default": () => (/* binding */ debounce)
2541/* harmony export */ });
2542function debounce(fn) {
2543  var pending;
2544  return function () {
2545    if (!pending) {
2546      pending = new Promise(function (resolve) {
2547        Promise.resolve().then(function () {
2548          pending = undefined;
2549          resolve(fn());
2550        });
2551      });
2552    }
2553
2554    return pending;
2555  };
2556}
2557
2558/***/ }),
2559
vendor: 6,212 bytes, lines 2560-2646
2560/***/ "./node_modules/@popperjs/core/lib/utils/detectOverflow.js":
2561/*!*****************************************************************!*\
2562  !*** ./node_modules/@popperjs/core/lib/utils/detectOverflow.js ***!
2563  \*****************************************************************/
2564/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2565
2566__webpack_require__.r(__webpack_exports__);
2567/* harmony export */ __webpack_require__.d(__webpack_exports__, {
2568/* harmony export */   "default": () => (/* binding */ detectOverflow)
2569/* harmony export */ });
2570/* harmony import */ var _dom_utils_getClippingRect_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../dom-utils/getClippingRect.js */ "./node_modules/@popperjs/core/lib/dom-utils/getClippingRect.js");
2571/* harmony import */ var _dom_utils_getDocumentElement_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../dom-utils/getDocumentElement.js */ "./node_modules/@popperjs/core/lib/dom-utils/getDocumentElement.js");
2572/* harmony import */ var _dom_utils_getBoundingClientRect_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../dom-utils/getBoundingClientRect.js */ "./node_modules/@popperjs/core/lib/dom-utils/getBoundingClientRect.js");
2573/* harmony import */ var _computeOffsets_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./computeOffsets.js */ "./node_modules/@popperjs/core/lib/utils/computeOffsets.js");
2574/* harmony import */ var _rectToClientRect_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./rectToClientRect.js */ "./node_modules/@popperjs/core/lib/utils/rectToClientRect.js");
2575/* harmony import */ var _enums_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../enums.js */ "./node_modules/@popperjs/core/lib/enums.js");
2576/* harmony import */ var _dom_utils_instanceOf_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../dom-utils/instanceOf.js */ "./node_modules/@popperjs/core/lib/dom-utils/instanceOf.js");
2577/* harmony import */ var _mergePaddingObject_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./mergePaddingObject.js */ "./node_modules/@popperjs/core/lib/utils/mergePaddingObject.js");
2578/* harmony import */ var _expandToHashMap_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./expandToHashMap.js */ "./node_modules/@popperjs/core/lib/utils/expandToHashMap.js");
2579
2580
2581
2582
2583
2584
2585
2586
2587 // eslint-disable-next-line import/no-unused-modules
2588
2589function detectOverflow(state, options) {
2590  if (options === void 0) {
2591    options = {};
2592  }
2593
2594  var _options = options,
2595      _options$placement = _options.placement,
2596      placement = _options$placement === void 0 ? state.placement : _options$placement,
2597      _options$strategy = _options.strategy,
2598      strategy = _options$strategy === void 0 ? state.strategy : _options$strategy,
2599      _options$boundary = _options.boundary,
2600      boundary = _options$boundary === void 0 ? _enums_js__WEBPACK_IMPORTED_MODULE_0__.clippingParents : _options$boundary,
2601      _options$rootBoundary = _options.rootBoundary,
2602      rootBoundary = _options$rootBoundary === void 0 ? _enums_js__WEBPACK_IMPORTED_MODULE_0__.viewport : _options$rootBoundary,
2603      _options$elementConte = _options.elementContext,
2604      elementContext = _options$elementConte === void 0 ? _enums_js__WEBPACK_IMPORTED_MODULE_0__.popper : _options$elementConte,
2605      _options$altBoundary = _options.altBoundary,
2606      altBoundary = _options$altBoundary === void 0 ? false : _options$altBoundary,
2607      _options$padding = _options.padding,
2608      padding = _options$padding === void 0 ? 0 : _options$padding;
2609  var paddingObject = (0,_mergePaddingObject_js__WEBPACK_IMPORTED_MODULE_1__["default"])(typeof padding !== 'number' ? padding : (0,_expandToHashMap_js__WEBPACK_IMPORTED_MODULE_2__["default"])(padding, _enums_js__WEBPACK_IMPORTED_MODULE_0__.basePlacements));
2610  var altContext = elementContext === _enums_js__WEBPACK_IMPORTED_MODULE_0__.popper ? _enums_js__WEBPACK_IMPORTED_MODULE_0__.reference : _enums_js__WEBPACK_IMPORTED_MODULE_0__.popper;
2611  var popperRect = state.rects.popper;
2612  var element = state.elements[altBoundary ? altContext : elementContext];
2613  var clippingClientRect = (0,_dom_utils_getClippingRect_js__WEBPACK_IMPORTED_MODULE_3__["default"])((0,_dom_utils_instanceOf_js__WEBPACK_IMPORTED_MODULE_4__.isElement)(element) ? element : element.contextElement || (0,_dom_utils_getDocumentElement_js__WEBPACK_IMPORTED_MODULE_5__["default"])(state.elements.popper), boundary, rootBoundary, strategy);
2614  var referenceClientRect = (0,_dom_utils_getBoundingClientRect_js__WEBPACK_IMPORTED_MODULE_6__["default"])(state.elements.reference);
2615  var popperOffsets = (0,_computeOffsets_js__WEBPACK_IMPORTED_MODULE_7__["default"])({
2616    reference: referenceClientRect,
2617    element: popperRect,
2618    strategy: 'absolute',
2619    placement: placement
2620  });
2621  var popperClientRect = (0,_rectToClientRect_js__WEBPACK_IMPORTED_MODULE_8__["default"])(Object.assign({}, popperRect, popperOffsets));
2622  var elementClientRect = elementContext === _enums_js__WEBPACK_IMPORTED_MODULE_0__.popper ? popperClientRect : referenceClientRect; // positive = overflowing the clipping rect
2623  // 0 or negative = within the clipping rect
2624
2625  var overflowOffsets = {
2626    top: clippingClientRect.top - elementClientRect.top + paddingObject.top,
2627    bottom: elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom,
2628    left: clippingClientRect.left - elementClientRect.left + paddingObject.left,
2629    right: elementClientRect.right - clippingClientRect.right + paddingObject.right
2630  };
2631  var offsetData = state.modifiersData.offset; // Offsets can be applied only to the popper element
2632
2633  if (elementContext === _enums_js__WEBPACK_IMPORTED_MODULE_0__.popper && offsetData) {
2634    var offset = offsetData[placement];
2635    Object.keys(overflowOffsets).forEach(function (key) {
2636      var multiply = [_enums_js__WEBPACK_IMPORTED_MODULE_0__.right, _enums_js__WEBPACK_IMPORTED_MODULE_0__.bottom].indexOf(key) >= 0 ? 1 : -1;
2637      var axis = [_enums_js__WEBPACK_IMPORTED_MODULE_0__.top, _enums_js__WEBPACK_IMPORTED_MODULE_0__.bottom].indexOf(key) >= 0 ? 'y' : 'x';
2638      overflowOffsets[key] += offset[axis] * multiply;
2639    });
2640  }
2641
2642  return overflowOffsets;
2643}
2644
2645/***/ }),
2646
vendor: 728 bytes, lines 2647-2665
2647/***/ "./node_modules/@popperjs/core/lib/utils/expandToHashMap.js":
2648/*!******************************************************************!*\
2649  !*** ./node_modules/@popperjs/core/lib/utils/expandToHashMap.js ***!
2650  \******************************************************************/
2651/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2652
2653__webpack_require__.r(__webpack_exports__);
2654/* harmony export */ __webpack_require__.d(__webpack_exports__, {
2655/* harmony export */   "default": () => (/* binding */ expandToHashMap)
2656/* harmony export */ });
2657function expandToHashMap(value, keys) {
2658  return keys.reduce(function (hashMap, key) {
2659    hashMap[key] = value;
2660    return hashMap;
2661  }, {});
2662}
2663
2664/***/ }),
2665
vendor: 810 bytes, lines 2666-2687
2666/***/ "./node_modules/@popperjs/core/lib/utils/format.js":
2667/*!*********************************************************!*\
2668  !*** ./node_modules/@popperjs/core/lib/utils/format.js ***!
2669  \*********************************************************/
2670/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2671
2672__webpack_require__.r(__webpack_exports__);
2673/* harmony export */ __webpack_require__.d(__webpack_exports__, {
2674/* harmony export */   "default": () => (/* binding */ format)
2675/* harmony export */ });
2676function format(str) {
2677  for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
2678    args[_key - 1] = arguments[_key];
2679  }
2680
2681  return [].concat(args).reduce(function (p, c) {
2682    return p.replace(/%s/, c);
2683  }, str);
2684}
2685
2686/***/ }),
2687
vendor: 623 bytes, lines 2688-2703
2688/***/ "./node_modules/@popperjs/core/lib/utils/getAltAxis.js":
2689/*!*************************************************************!*\
2690  !*** ./node_modules/@popperjs/core/lib/utils/getAltAxis.js ***!
2691  \*************************************************************/
2692/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2693
2694__webpack_require__.r(__webpack_exports__);
2695/* harmony export */ __webpack_require__.d(__webpack_exports__, {
2696/* harmony export */   "default": () => (/* binding */ getAltAxis)
2697/* harmony export */ });
2698function getAltAxis(axis) {
2699  return axis === 'x' ? 'y' : 'x';
2700}
2701
2702/***/ }),
2703
vendor: 664 bytes, lines 2704-2720
2704/***/ "./node_modules/@popperjs/core/lib/utils/getBasePlacement.js":
2705/*!*******************************************************************!*\
2706  !*** ./node_modules/@popperjs/core/lib/utils/getBasePlacement.js ***!
2707  \*******************************************************************/
2708/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2709
2710__webpack_require__.r(__webpack_exports__);
2711/* harmony export */ __webpack_require__.d(__webpack_exports__, {
2712/* harmony export */   "default": () => (/* binding */ getBasePlacement)
2713/* harmony export */ });
2714
2715function getBasePlacement(placement) {
2716  return placement.split('-')[0];
2717}
2718
2719/***/ }),
2720
vendor: 701 bytes, lines 2721-2741
2721/***/ "./node_modules/@popperjs/core/lib/utils/getFreshSideObject.js":
2722/*!*********************************************************************!*\
2723  !*** ./node_modules/@popperjs/core/lib/utils/getFreshSideObject.js ***!
2724  \*********************************************************************/
2725/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2726
2727__webpack_require__.r(__webpack_exports__);
2728/* harmony export */ __webpack_require__.d(__webpack_exports__, {
2729/* harmony export */   "default": () => (/* binding */ getFreshSideObject)
2730/* harmony export */ });
2731function getFreshSideObject() {
2732  return {
2733    top: 0,
2734    right: 0,
2735    bottom: 0,
2736    left: 0
2737  };
2738}
2739
2740/***/ }),
2741
vendor: 741 bytes, lines 2742-2757
2742/***/ "./node_modules/@popperjs/core/lib/utils/getMainAxisFromPlacement.js":
2743/*!***************************************************************************!*\
2744  !*** ./node_modules/@popperjs/core/lib/utils/getMainAxisFromPlacement.js ***!
2745  \***************************************************************************/
2746/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2747
2748__webpack_require__.r(__webpack_exports__);
2749/* harmony export */ __webpack_require__.d(__webpack_exports__, {
2750/* harmony export */   "default": () => (/* binding */ getMainAxisFromPlacement)
2751/* harmony export */ });
2752function getMainAxisFromPlacement(placement) {
2753  return ['top', 'bottom'].indexOf(placement) >= 0 ? 'x' : 'y';
2754}
2755
2756/***/ }),
2757
vendor: 842 bytes, lines 2758-2781
2758/***/ "./node_modules/@popperjs/core/lib/utils/getOppositePlacement.js":
2759/*!***********************************************************************!*\
2760  !*** ./node_modules/@popperjs/core/lib/utils/getOppositePlacement.js ***!
2761  \***********************************************************************/
2762/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2763
2764__webpack_require__.r(__webpack_exports__);
2765/* harmony export */ __webpack_require__.d(__webpack_exports__, {
2766/* harmony export */   "default": () => (/* binding */ getOppositePlacement)
2767/* harmony export */ });
2768var hash = {
2769  left: 'right',
2770  right: 'left',
2771  bottom: 'top',
2772  top: 'bottom'
2773};
2774function getOppositePlacement(placement) {
2775  return placement.replace(/left|right|bottom|top/g, function (matched) {
2776    return hash[matched];
2777  });
2778}
2779
2780/***/ }),
2781
vendor: 848 bytes, lines 2782-2803
2782/***/ "./node_modules/@popperjs/core/lib/utils/getOppositeVariationPlacement.js":
2783/*!********************************************************************************!*\
2784  !*** ./node_modules/@popperjs/core/lib/utils/getOppositeVariationPlacement.js ***!
2785  \********************************************************************************/
2786/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2787
2788__webpack_require__.r(__webpack_exports__);
2789/* harmony export */ __webpack_require__.d(__webpack_exports__, {
2790/* harmony export */   "default": () => (/* binding */ getOppositeVariationPlacement)
2791/* harmony export */ });
2792var hash = {
2793  start: 'end',
2794  end: 'start'
2795};
2796function getOppositeVariationPlacement(placement) {
2797  return placement.replace(/start|end/g, function (matched) {
2798    return hash[matched];
2799  });
2800}
2801
2802/***/ }),
2803
vendor: 639 bytes, lines 2804-2819
2804/***/ "./node_modules/@popperjs/core/lib/utils/getVariation.js":
2805/*!***************************************************************!*\
2806  !*** ./node_modules/@popperjs/core/lib/utils/getVariation.js ***!
2807  \***************************************************************/
2808/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2809
2810__webpack_require__.r(__webpack_exports__);
2811/* harmony export */ __webpack_require__.d(__webpack_exports__, {
2812/* harmony export */   "default": () => (/* binding */ getVariation)
2813/* harmony export */ });
2814function getVariation(placement) {
2815  return placement.split('-')[1];
2816}
2817
2818/***/ }),
2819
vendor: 705 bytes, lines 2820-2837
2820/***/ "./node_modules/@popperjs/core/lib/utils/math.js":
2821/*!*******************************************************!*\
2822  !*** ./node_modules/@popperjs/core/lib/utils/math.js ***!
2823  \*******************************************************/
2824/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2825
2826__webpack_require__.r(__webpack_exports__);
2827/* harmony export */ __webpack_require__.d(__webpack_exports__, {
2828/* harmony export */   "max": () => (/* binding */ max),
2829/* harmony export */   "min": () => (/* binding */ min),
2830/* harmony export */   "round": () => (/* binding */ round)
2831/* harmony export */ });
2832var max = Math.max;
2833var min = Math.min;
2834var round = Math.round;
2835
2836/***/ }),
2837
vendor: 1,073 bytes, lines 2838-2864
2838/***/ "./node_modules/@popperjs/core/lib/utils/mergeByName.js":
2839/*!**************************************************************!*\
2840  !*** ./node_modules/@popperjs/core/lib/utils/mergeByName.js ***!
2841  \**************************************************************/
2842/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2843
2844__webpack_require__.r(__webpack_exports__);
2845/* harmony export */ __webpack_require__.d(__webpack_exports__, {
2846/* harmony export */   "default": () => (/* binding */ mergeByName)
2847/* harmony export */ });
2848function mergeByName(modifiers) {
2849  var merged = modifiers.reduce(function (merged, current) {
2850    var existing = merged[current.name];
2851    merged[current.name] = existing ? Object.assign({}, existing, current, {
2852      options: Object.assign({}, existing.options, current.options),
2853      data: Object.assign({}, existing.data, current.data)
2854    }) : current;
2855    return merged;
2856  }, {}); // IE11 does not support Object.values
2857
2858  return Object.keys(merged).map(function (key) {
2859    return merged[key];
2860  });
2861}
2862
2863/***/ }),
2864
vendor: 955 bytes, lines 2865-2882
2865/***/ "./node_modules/@popperjs/core/lib/utils/mergePaddingObject.js":
2866/*!*********************************************************************!*\
2867  !*** ./node_modules/@popperjs/core/lib/utils/mergePaddingObject.js ***!
2868  \*********************************************************************/
2869/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2870
2871__webpack_require__.r(__webpack_exports__);
2872/* harmony export */ __webpack_require__.d(__webpack_exports__, {
2873/* harmony export */   "default": () => (/* binding */ mergePaddingObject)
2874/* harmony export */ });
2875/* harmony import */ var _getFreshSideObject_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getFreshSideObject.js */ "./node_modules/@popperjs/core/lib/utils/getFreshSideObject.js");
2876
2877function mergePaddingObject(paddingObject) {
2878  return Object.assign({}, (0,_getFreshSideObject_js__WEBPACK_IMPORTED_MODULE_0__["default"])(), paddingObject);
2879}
2880
2881/***/ }),
2882
vendor: 1,950 bytes, lines 2883-2940
2883/***/ "./node_modules/@popperjs/core/lib/utils/orderModifiers.js":
2884/*!*****************************************************************!*\
2885  !*** ./node_modules/@popperjs/core/lib/utils/orderModifiers.js ***!
2886  \*****************************************************************/
2887/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2888
2889__webpack_require__.r(__webpack_exports__);
2890/* harmony export */ __webpack_require__.d(__webpack_exports__, {
2891/* harmony export */   "default": () => (/* binding */ orderModifiers)
2892/* harmony export */ });
2893/* harmony import */ var _enums_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../enums.js */ "./node_modules/@popperjs/core/lib/enums.js");
2894 // source: https://stackoverflow.com/questions/49875255
2895
2896function order(modifiers) {
2897  var map = new Map();
2898  var visited = new Set();
2899  var result = [];
2900  modifiers.forEach(function (modifier) {
2901    map.set(modifier.name, modifier);
2902  }); // On visiting object, check for its dependencies and visit them recursively
2903
2904  function sort(modifier) {
2905    visited.add(modifier.name);
2906    var requires = [].concat(modifier.requires || [], modifier.requiresIfExists || []);
2907    requires.forEach(function (dep) {
2908      if (!visited.has(dep)) {
2909        var depModifier = map.get(dep);
2910
2911        if (depModifier) {
2912          sort(depModifier);
2913        }
2914      }
2915    });
2916    result.push(modifier);
2917  }
2918
2919  modifiers.forEach(function (modifier) {
2920    if (!visited.has(modifier.name)) {
2921      // check for visited object
2922      sort(modifier);
2923    }
2924  });
2925  return result;
2926}
2927
2928function orderModifiers(modifiers) {
2929  // order based on dependencies
2930  var orderedModifiers = order(modifiers); // order based on phase
2931
2932  return _enums_js__WEBPACK_IMPORTED_MODULE_0__.modifierPhases.reduce(function (acc, phase) {
2933    return acc.concat(orderedModifiers.filter(function (modifier) {
2934      return modifier.phase === phase;
2935    }));
2936  }, []);
2937}
2938
2939/***/ }),
2940
vendor: 765 bytes, lines 2941-2961
2941/***/ "./node_modules/@popperjs/core/lib/utils/rectToClientRect.js":
2942/*!*******************************************************************!*\
2943  !*** ./node_modules/@popperjs/core/lib/utils/rectToClientRect.js ***!
2944  \*******************************************************************/
2945/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2946
2947__webpack_require__.r(__webpack_exports__);
2948/* harmony export */ __webpack_require__.d(__webpack_exports__, {
2949/* harmony export */   "default": () => (/* binding */ rectToClientRect)
2950/* harmony export */ });
2951function rectToClientRect(rect) {
2952  return Object.assign({}, rect, {
2953    left: rect.x,
2954    top: rect.y,
2955    right: rect.x + rect.width,
2956    bottom: rect.y + rect.height
2957  });
2958}
2959
2960/***/ }),
2961
vendor: 786 bytes, lines 2962-2985
2962/***/ "./node_modules/@popperjs/core/lib/utils/uniqueBy.js":
2963/*!***********************************************************!*\
2964  !*** ./node_modules/@popperjs/core/lib/utils/uniqueBy.js ***!
2965  \***********************************************************/
2966/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2967
2968__webpack_require__.r(__webpack_exports__);
2969/* harmony export */ __webpack_require__.d(__webpack_exports__, {
2970/* harmony export */   "default": () => (/* binding */ uniqueBy)
2971/* harmony export */ });
2972function uniqueBy(arr, fn) {
2973  var identifiers = new Set();
2974  return arr.filter(function (item) {
2975    var identifier = fn(item);
2976
2977    if (!identifiers.has(identifier)) {
2978      identifiers.add(identifier);
2979      return true;
2980    }
2981  });
2982}
2983
2984/***/ }),
2985
vendor: 810 bytes, lines 2986-3009
2986/***/ "./node_modules/@popperjs/core/lib/utils/userAgent.js":
2987/*!************************************************************!*\
2988  !*** ./node_modules/@popperjs/core/lib/utils/userAgent.js ***!
2989  \************************************************************/
2990/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2991
2992__webpack_require__.r(__webpack_exports__);
2993/* harmony export */ __webpack_require__.d(__webpack_exports__, {
2994/* harmony export */   "default": () => (/* binding */ getUAString)
2995/* harmony export */ });
2996function getUAString() {
2997  var uaData = navigator.userAgentData;
2998
2999  if (uaData != null && uaData.brands) {
3000    return uaData.brands.map(function (item) {
3001      return item.brand + "/" + item.version;
3002    }).join(' ');
3003  }
3004
3005  return navigator.userAgent;
3006}
3007
3008/***/ }),
3009
vendor: 4,536 bytes, lines 3010-3105
3010/***/ "./node_modules/@popperjs/core/lib/utils/validateModifiers.js":
3011/*!********************************************************************!*\
3012  !*** ./node_modules/@popperjs/core/lib/utils/validateModifiers.js ***!
3013  \********************************************************************/
3014/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
3015
3016__webpack_require__.r(__webpack_exports__);
3017/* harmony export */ __webpack_require__.d(__webpack_exports__, {
3018/* harmony export */   "default": () => (/* binding */ validateModifiers)
3019/* harmony export */ });
3020/* harmony import */ var _format_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./format.js */ "./node_modules/@popperjs/core/lib/utils/format.js");
3021/* harmony import */ var _enums_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../enums.js */ "./node_modules/@popperjs/core/lib/enums.js");
3022
3023
3024var INVALID_MODIFIER_ERROR = 'Popper: modifier "%s" provided an invalid %s property, expected %s but got %s';
3025var MISSING_DEPENDENCY_ERROR = 'Popper: modifier "%s" requires "%s", but "%s" modifier is not available';
3026var VALID_PROPERTIES = ['name', 'enabled', 'phase', 'fn', 'effect', 'requires', 'options'];
3027function validateModifiers(modifiers) {
3028  modifiers.forEach(function (modifier) {
3029    [].concat(Object.keys(modifier), VALID_PROPERTIES) // IE11-compatible replacement for `new Set(iterable)`
3030    .filter(function (value, index, self) {
3031      return self.indexOf(value) === index;
3032    }).forEach(function (key) {
3033      switch (key) {
3034        case 'name':
3035          if (typeof modifier.name !== 'string') {
3036            console.error((0,_format_js__WEBPACK_IMPORTED_MODULE_0__["default"])(INVALID_MODIFIER_ERROR, String(modifier.name), '"name"', '"string"', "\"" + String(modifier.name) + "\""));
3037          }
3038
3039          break;
3040
3041        case 'enabled':
3042          if (typeof modifier.enabled !== 'boolean') {
3043            console.error((0,_format_js__WEBPACK_IMPORTED_MODULE_0__["default"])(INVALID_MODIFIER_ERROR, modifier.name, '"enabled"', '"boolean"', "\"" + String(modifier.enabled) + "\""));
3044          }
3045
3046          break;
3047
3048        case 'phase':
3049          if (_enums_js__WEBPACK_IMPORTED_MODULE_1__.modifierPhases.indexOf(modifier.phase) < 0) {
3050            console.error((0,_format_js__WEBPACK_IMPORTED_MODULE_0__["default"])(INVALID_MODIFIER_ERROR, modifier.name, '"phase"', "either " + _enums_js__WEBPACK_IMPORTED_MODULE_1__.modifierPhases.join(', '), "\"" + String(modifier.phase) + "\""));
3051          }
3052
3053          break;
3054
3055        case 'fn':
3056          if (typeof modifier.fn !== 'function') {
3057            console.error((0,_format_js__WEBPACK_IMPORTED_MODULE_0__["default"])(INVALID_MODIFIER_ERROR, modifier.name, '"fn"', '"function"', "\"" + String(modifier.fn) + "\""));
3058          }
3059
3060          break;
3061
3062        case 'effect':
3063          if (modifier.effect != null && typeof modifier.effect !== 'function') {
3064            console.error((0,_format_js__WEBPACK_IMPORTED_MODULE_0__["default"])(INVALID_MODIFIER_ERROR, modifier.name, '"effect"', '"function"', "\"" + String(modifier.fn) + "\""));
3065          }
3066
3067          break;
3068
3069        case 'requires':
3070          if (modifier.requires != null && !Array.isArray(modifier.requires)) {
3071            console.error((0,_format_js__WEBPACK_IMPORTED_MODULE_0__["default"])(INVALID_MODIFIER_ERROR, modifier.name, '"requires"', '"array"', "\"" + String(modifier.requires) + "\""));
3072          }
3073
3074          break;
3075
3076        case 'requiresIfExists':
3077          if (!Array.isArray(modifier.requiresIfExists)) {
3078            console.error((0,_format_js__WEBPACK_IMPORTED_MODULE_0__["default"])(INVALID_MODIFIER_ERROR, modifier.name, '"requiresIfExists"', '"array"', "\"" + String(modifier.requiresIfExists) + "\""));
3079          }
3080
3081          break;
3082
3083        case 'options':
3084        case 'data':
3085          break;
3086
3087        default:
3088          console.error("PopperJS: an invalid property has been provided to the \"" + modifier.name + "\" modifier, valid properties are " + VALID_PROPERTIES.map(function (s) {
3089            return "\"" + s + "\"";
3090          }).join(', ') + "; but \"" + key + "\" was provided.");
3091      }
3092
3093      modifier.requires && modifier.requires.forEach(function (requirement) {
3094        if (modifiers.find(function (mod) {
3095          return mod.name === requirement;
3096        }) == null) {
3097          console.error((0,_format_js__WEBPACK_IMPORTED_MODULE_0__["default"])(MISSING_DEPENDENCY_ERROR, String(modifier.name), requirement, requirement));
3098        }
3099      });
3100    });
3101  });
3102}
3103
3104/***/ }),
3105
vendor: 1,036 bytes, lines 3106-3128
3106/***/ "./node_modules/@popperjs/core/lib/utils/within.js":
3107/*!*********************************************************!*\
3108  !*** ./node_modules/@popperjs/core/lib/utils/within.js ***!
3109  \*********************************************************/
3110/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
3111
3112__webpack_require__.r(__webpack_exports__);
3113/* harmony export */ __webpack_require__.d(__webpack_exports__, {
3114/* harmony export */   "within": () => (/* binding */ within),
3115/* harmony export */   "withinMaxClamp": () => (/* binding */ withinMaxClamp)
3116/* harmony export */ });
3117/* harmony import */ var _math_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./math.js */ "./node_modules/@popperjs/core/lib/utils/math.js");
3118
3119function within(min, value, max) {
3120  return (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.max)(min, (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.min)(value, max));
3121}
3122function withinMaxClamp(min, value, max) {
3123  var v = within(min, value, max);
3124  return v > max ? max : v;
3125}
3126
3127/***/ }),
3128
vendor: 381 bytes, lines 3129-3140
3129/***/ "./node_modules/tippy.js/dist/tippy.css":
3130/*!**********************************************!*\
3131  !*** ./node_modules/tippy.js/dist/tippy.css ***!
3132  \**********************************************/
3133/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
3134
3135__webpack_require__.r(__webpack_exports__);
3136// extracted by mini-css-extract-plugin
3137
3138
3139/***/ }),
3140
vendor: 74,897 bytes, lines 3141-5649
3141/***/ "./node_modules/tippy.js/dist/tippy.esm.js":
3142/*!*************************************************!*\
3143  !*** ./node_modules/tippy.js/dist/tippy.esm.js ***!
3144  \*************************************************/
3145/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
3146
3147__webpack_require__.r(__webpack_exports__);
3148/* harmony export */ __webpack_require__.d(__webpack_exports__, {
3149/* harmony export */   "animateFill": () => (/* binding */ animateFill),
3150/* harmony export */   "createSingleton": () => (/* binding */ createSingleton),
3151/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
3152/* harmony export */   "delegate": () => (/* binding */ delegate),
3153/* harmony export */   "followCursor": () => (/* binding */ followCursor),
3154/* harmony export */   "hideAll": () => (/* binding */ hideAll),
3155/* harmony export */   "inlinePositioning": () => (/* binding */ inlinePositioning),
3156/* harmony export */   "roundArrow": () => (/* binding */ ROUND_ARROW),
3157/* harmony export */   "sticky": () => (/* binding */ sticky)
3158/* harmony export */ });
3159/* harmony import */ var _popperjs_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @popperjs/core */ "./node_modules/@popperjs/core/lib/popper.js");
3160/* harmony import */ var _popperjs_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @popperjs/core */ "./node_modules/@popperjs/core/lib/modifiers/applyStyles.js");
3161/**!
3162* tippy.js v6.3.7
3163* (c) 2017-2021 atomiks
3164* MIT License
3165*/
3166
3167
3168var ROUND_ARROW = '<svg width="16" height="6" xmlns="http://www.w3.org/2000/svg"><path d="M0 6s1.796-.013 4.67-3.615C5.851.9 6.93.006 8 0c1.07-.006 2.148.887 3.343 2.385C14.233 6.005 16 6 16 6H0z"></svg>';
3169var BOX_CLASS = "tippy-box";
3170var CONTENT_CLASS = "tippy-content";
3171var BACKDROP_CLASS = "tippy-backdrop";
3172var ARROW_CLASS = "tippy-arrow";
3173var SVG_ARROW_CLASS = "tippy-svg-arrow";
3174var TOUCH_OPTIONS = {
3175  passive: true,
3176  capture: true
3177};
3178var TIPPY_DEFAULT_APPEND_TO = function TIPPY_DEFAULT_APPEND_TO() {
3179  return document.body;
3180};
3181
3182function hasOwnProperty(obj, key) {
3183  return {}.hasOwnProperty.call(obj, key);
3184}
3185function getValueAtIndexOrReturn(value, index, defaultValue) {
3186  if (Array.isArray(value)) {
3187    var v = value[index];
3188    return v == null ? Array.isArray(defaultValue) ? defaultValue[index] : defaultValue : v;
3189  }
3190
3191  return value;
3192}
3193function isType(value, type) {
3194  var str = {}.toString.call(value);
3195  return str.indexOf('[object') === 0 && str.indexOf(type + "]") > -1;
3196}
3197function invokeWithArgsOrReturn(value, args) {
3198  return typeof value === 'function' ? value.apply(void 0, args) : value;
3199}
3200function debounce(fn, ms) {
3201  // Avoid wrapping in `setTimeout` if ms is 0 anyway
3202  if (ms === 0) {
3203    return fn;
3204  }
3205
3206  var timeout;
3207  return function (arg) {
3208    clearTimeout(timeout);
3209    timeout = setTimeout(function () {
3210      fn(arg);
3211    }, ms);
3212  };
3213}
3214function removeProperties(obj, keys) {
3215  var clone = Object.assign({}, obj);
3216  keys.forEach(function (key) {
3217    delete clone[key];
3218  });
3219  return clone;
3220}
3221function splitBySpaces(value) {
3222  return value.split(/\s+/).filter(Boolean);
3223}
3224function normalizeToArray(value) {
3225  return [].concat(value);
3226}
3227function pushIfUnique(arr, value) {
3228  if (arr.indexOf(value) === -1) {
3229    arr.push(value);
3230  }
3231}
3232function unique(arr) {
3233  return arr.filter(function (item, index) {
3234    return arr.indexOf(item) === index;
3235  });
3236}
3237function getBasePlacement(placement) {
3238  return placement.split('-')[0];
3239}
3240function arrayFrom(value) {
3241  return [].slice.call(value);
3242}
3243function removeUndefinedProps(obj) {
3244  return Object.keys(obj).reduce(function (acc, key) {
3245    if (obj[key] !== undefined) {
3246      acc[key] = obj[key];
3247    }
3248
3249    return acc;
3250  }, {});
3251}
3252
3253function div() {
3254  return document.createElement('div');
3255}
3256function isElement(value) {
3257  return ['Element', 'Fragment'].some(function (type) {
3258    return isType(value, type);
3259  });
3260}
3261function isNodeList(value) {
3262  return isType(value, 'NodeList');
3263}
3264function isMouseEvent(value) {
3265  return isType(value, 'MouseEvent');
3266}
3267function isReferenceElement(value) {
3268  return !!(value && value._tippy && value._tippy.reference === value);
3269}
3270function getArrayOfElements(value) {
3271  if (isElement(value)) {
3272    return [value];
3273  }
3274
3275  if (isNodeList(value)) {
3276    return arrayFrom(value);
3277  }
3278
3279  if (Array.isArray(value)) {
3280    return value;
3281  }
3282
3283  return arrayFrom(document.querySelectorAll(value));
3284}
3285function setTransitionDuration(els, value) {
3286  els.forEach(function (el) {
3287    if (el) {
3288      el.style.transitionDuration = value + "ms";
3289    }
3290  });
3291}
3292function setVisibilityState(els, state) {
3293  els.forEach(function (el) {
3294    if (el) {
3295      el.setAttribute('data-state', state);
3296    }
3297  });
3298}
3299function getOwnerDocument(elementOrElements) {
3300  var _element$ownerDocumen;
3301
3302  var _normalizeToArray = normalizeToArray(elementOrElements),
3303      element = _normalizeToArray[0]; // Elements created via a <template> have an ownerDocument with no reference to the body
3304
3305
3306  return element != null && (_element$ownerDocumen = element.ownerDocument) != null && _element$ownerDocumen.body ? element.ownerDocument : document;
3307}
3308function isCursorOutsideInteractiveBorder(popperTreeData, event) {
3309  var clientX = event.clientX,
3310      clientY = event.clientY;
3311  return popperTreeData.every(function (_ref) {
3312    var popperRect = _ref.popperRect,
3313        popperState = _ref.popperState,
3314        props = _ref.props;
3315    var interactiveBorder = props.interactiveBorder;
3316    var basePlacement = getBasePlacement(popperState.placement);
3317    var offsetData = popperState.modifiersData.offset;
3318
3319    if (!offsetData) {
3320      return true;
3321    }
3322
3323    var topDistance = basePlacement === 'bottom' ? offsetData.top.y : 0;
3324    var bottomDistance = basePlacement === 'top' ? offsetData.bottom.y : 0;
3325    var leftDistance = basePlacement === 'right' ? offsetData.left.x : 0;
3326    var rightDistance = basePlacement === 'left' ? offsetData.right.x : 0;
3327    var exceedsTop = popperRect.top - clientY + topDistance > interactiveBorder;
3328    var exceedsBottom = clientY - popperRect.bottom - bottomDistance > interactiveBorder;
3329    var exceedsLeft = popperRect.left - clientX + leftDistance > interactiveBorder;
3330    var exceedsRight = clientX - popperRect.right - rightDistance > interactiveBorder;
3331    return exceedsTop || exceedsBottom || exceedsLeft || exceedsRight;
3332  });
3333}
3334function updateTransitionEndListener(box, action, listener) {
3335  var method = action + "EventListener"; // some browsers apparently support `transition` (unprefixed) but only fire
3336  // `webkitTransitionEnd`...
3337
3338  ['transitionend', 'webkitTransitionEnd'].forEach(function (event) {
3339    box[method](event, listener);
3340  });
3341}
3342/**
3343 * Compared to xxx.contains, this function works for dom structures with shadow
3344 * dom
3345 */
3346
3347function actualContains(parent, child) {
3348  var target = child;
3349
3350  while (target) {
3351    var _target$getRootNode;
3352
3353    if (parent.contains(target)) {
3354      return true;
3355    }
3356
3357    target = target.getRootNode == null ? void 0 : (_target$getRootNode = target.getRootNode()) == null ? void 0 : _target$getRootNode.host;
3358  }
3359
3360  return false;
3361}
3362
3363var currentInput = {
3364  isTouch: false
3365};
3366var lastMouseMoveTime = 0;
3367/**
3368 * When a `touchstart` event is fired, it's assumed the user is using touch
3369 * input. We'll bind a `mousemove` event listener to listen for mouse input in
3370 * the future. This way, the `isTouch` property is fully dynamic and will handle
3371 * hybrid devices that use a mix of touch + mouse input.
3372 */
3373
3374function onDocumentTouchStart() {
3375  if (currentInput.isTouch) {
3376    return;
3377  }
3378
3379  currentInput.isTouch = true;
3380
3381  if (window.performance) {
3382    document.addEventListener('mousemove', onDocumentMouseMove);
3383  }
3384}
3385/**
3386 * When two `mousemove` event are fired consecutively within 20ms, it's assumed
3387 * the user is using mouse input again. `mousemove` can fire on touch devices as
3388 * well, but very rarely that quickly.
3389 */
3390
3391function onDocumentMouseMove() {
3392  var now = performance.now();
3393
3394  if (now - lastMouseMoveTime < 20) {
3395    currentInput.isTouch = false;
3396    document.removeEventListener('mousemove', onDocumentMouseMove);
3397  }
3398
3399  lastMouseMoveTime = now;
3400}
3401/**
3402 * When an element is in focus and has a tippy, leaving the tab/window and
3403 * returning causes it to show again. For mouse users this is unexpected, but
3404 * for keyboard use it makes sense.
3405 * TODO: find a better technique to solve this problem
3406 */
3407
3408function onWindowBlur() {
3409  var activeElement = document.activeElement;
3410
3411  if (isReferenceElement(activeElement)) {
3412    var instance = activeElement._tippy;
3413
3414    if (activeElement.blur && !instance.state.isVisible) {
3415      activeElement.blur();
3416    }
3417  }
3418}
3419function bindGlobalEventListeners() {
3420  document.addEventListener('touchstart', onDocumentTouchStart, TOUCH_OPTIONS);
3421  window.addEventListener('blur', onWindowBlur);
3422}
3423
3424var isBrowser = typeof window !== 'undefined' && typeof document !== 'undefined';
3425var isIE11 = isBrowser ? // @ts-ignore
3426!!window.msCrypto : false;
3427
3428function createMemoryLeakWarning(method) {
3429  var txt = method === 'destroy' ? 'n already-' : ' ';
3430  return [method + "() was called on a" + txt + "destroyed instance. This is a no-op but", 'indicates a potential memory leak.'].join(' ');
3431}
3432function clean(value) {
3433  var spacesAndTabs = /[ \t]{2,}/g;
3434  var lineStartWithSpaces = /^[ \t]*/gm;
3435  return value.replace(spacesAndTabs, ' ').replace(lineStartWithSpaces, '').trim();
3436}
3437
3438function getDevMessage(message) {
3439  return clean("\n  %ctippy.js\n\n  %c" + clean(message) + "\n\n  %c\uD83D\uDC77\u200D This is a development-only message. It will be removed in production.\n  ");
3440}
3441
3442function getFormattedMessage(message) {
3443  return [getDevMessage(message), // title
3444  'color: #00C584; font-size: 1.3em; font-weight: bold;', // message
3445  'line-height: 1.5', // footer
3446  'color: #a6a095;'];
3447} // Assume warnings and errors never have the same message
3448
3449var visitedMessages;
3450
3451if (true) {
3452  resetVisitedMessages();
3453}
3454
3455function resetVisitedMessages() {
3456  visitedMessages = new Set();
3457}
3458function warnWhen(condition, message) {
3459  if (condition && !visitedMessages.has(message)) {
3460    var _console;
3461
3462    visitedMessages.add(message);
3463
3464    (_console = console).warn.apply(_console, getFormattedMessage(message));
3465  }
3466}
3467function errorWhen(condition, message) {
3468  if (condition && !visitedMessages.has(message)) {
3469    var _console2;
3470
3471    visitedMessages.add(message);
3472
3473    (_console2 = console).error.apply(_console2, getFormattedMessage(message));
3474  }
3475}
3476function validateTargets(targets) {
3477  var didPassFalsyValue = !targets;
3478  var didPassPlainObject = Object.prototype.toString.call(targets) === '[object Object]' && !targets.addEventListener;
3479  errorWhen(didPassFalsyValue, ['tippy() was passed', '`' + String(targets) + '`', 'as its targets (first) argument. Valid types are: String, Element,', 'Element[], or NodeList.'].join(' '));
3480  errorWhen(didPassPlainObject, ['tippy() was passed a plain object which is not supported as an argument', 'for virtual positioning. Use props.getReferenceClientRect instead.'].join(' '));
3481}
3482
3483var pluginProps = {
3484  animateFill: false,
3485  followCursor: false,
3486  inlinePositioning: false,
3487  sticky: false
3488};
3489var renderProps = {
3490  allowHTML: false,
3491  animation: 'fade',
3492  arrow: true,
3493  content: '',
3494  inertia: false,
3495  maxWidth: 350,
3496  role: 'tooltip',
3497  theme: '',
3498  zIndex: 9999
3499};
3500var defaultProps = Object.assign({
3501  appendTo: TIPPY_DEFAULT_APPEND_TO,
3502  aria: {
3503    content: 'auto',
3504    expanded: 'auto'
3505  },
3506  delay: 0,
3507  duration: [300, 250],
3508  getReferenceClientRect: null,
3509  hideOnClick: true,
3510  ignoreAttributes: false,
3511  interactive: false,
3512  interactiveBorder: 2,
3513  interactiveDebounce: 0,
3514  moveTransition: '',
3515  offset: [0, 10],
3516  onAfterUpdate: function onAfterUpdate() {},
3517  onBeforeUpdate: function onBeforeUpdate() {},
3518  onCreate: function onCreate() {},
3519  onDestroy: function onDestroy() {},
3520  onHidden: function onHidden() {},
3521  onHide: function onHide() {},
3522  onMount: function onMount() {},
3523  onShow: function onShow() {},
3524  onShown: function onShown() {},
3525  onTrigger: function onTrigger() {},
3526  onUntrigger: function onUntrigger() {},
3527  onClickOutside: function onClickOutside() {},
3528  placement: 'top',
3529  plugins: [],
3530  popperOptions: {},
3531  render: null,
3532  showOnCreate: false,
3533  touch: true,
3534  trigger: 'mouseenter focus',
3535  triggerTarget: null
3536}, pluginProps, renderProps);
3537var defaultKeys = Object.keys(defaultProps);
3538var setDefaultProps = function setDefaultProps(partialProps) {
3539  /* istanbul ignore else */
3540  if (true) {
3541    validateProps(partialProps, []);
3542  }
3543
3544  var keys = Object.keys(partialProps);
3545  keys.forEach(function (key) {
3546    defaultProps[key] = partialProps[key];
3547  });
3548};
3549function getExtendedPassedProps(passedProps) {
3550  var plugins = passedProps.plugins || [];
3551  var pluginProps = plugins.reduce(function (acc, plugin) {
3552    var name = plugin.name,
3553        defaultValue = plugin.defaultValue;
3554
3555    if (name) {
3556      var _name;
3557
3558      acc[name] = passedProps[name] !== undefined ? passedProps[name] : (_name = defaultProps[name]) != null ? _name : defaultValue;
3559    }
3560
3561    return acc;
3562  }, {});
3563  return Object.assign({}, passedProps, pluginProps);
3564}
3565function getDataAttributeProps(reference, plugins) {
3566  var propKeys = plugins ? Object.keys(getExtendedPassedProps(Object.assign({}, defaultProps, {
3567    plugins: plugins
3568  }))) : defaultKeys;
3569  var props = propKeys.reduce(function (acc, key) {
3570    var valueAsString = (reference.getAttribute("data-tippy-" + key) || '').trim();
3571
3572    if (!valueAsString) {
3573      return acc;
3574    }
3575
3576    if (key === 'content') {
3577      acc[key] = valueAsString;
3578    } else {
3579      try {
3580        acc[key] = JSON.parse(valueAsString);
3581      } catch (e) {
3582        acc[key] = valueAsString;
3583      }
3584    }
3585
3586    return acc;
3587  }, {});
3588  return props;
3589}
3590function evaluateProps(reference, props) {
3591  var out = Object.assign({}, props, {
3592    content: invokeWithArgsOrReturn(props.content, [reference])
3593  }, props.ignoreAttributes ? {} : getDataAttributeProps(reference, props.plugins));
3594  out.aria = Object.assign({}, defaultProps.aria, out.aria);
3595  out.aria = {
3596    expanded: out.aria.expanded === 'auto' ? props.interactive : out.aria.expanded,
3597    content: out.aria.content === 'auto' ? props.interactive ? null : 'describedby' : out.aria.content
3598  };
3599  return out;
3600}
3601function validateProps(partialProps, plugins) {
3602  if (partialProps === void 0) {
3603    partialProps = {};
3604  }
3605
3606  if (plugins === void 0) {
3607    plugins = [];
3608  }
3609
3610  var keys = Object.keys(partialProps);
3611  keys.forEach(function (prop) {
3612    var nonPluginProps = removeProperties(defaultProps, Object.keys(pluginProps));
3613    var didPassUnknownProp = !hasOwnProperty(nonPluginProps, prop); // Check if the prop exists in `plugins`
3614
3615    if (didPassUnknownProp) {
3616      didPassUnknownProp = plugins.filter(function (plugin) {
3617        return plugin.name === prop;
3618      }).length === 0;
3619    }
3620
3621    warnWhen(didPassUnknownProp, ["`" + prop + "`", "is not a valid prop. You may have spelled it incorrectly, or if it's", 'a plugin, forgot to pass it in an array as props.plugins.', '\n\n', 'All props: https://atomiks.github.io/tippyjs/v6/all-props/\n', 'Plugins: https://atomiks.github.io/tippyjs/v6/plugins/'].join(' '));
3622  });
3623}
3624
3625var innerHTML = function innerHTML() {
3626  return 'innerHTML';
3627};
3628
3629function dangerouslySetInnerHTML(element, html) {
3630  element[innerHTML()] = html;
3631}
3632
3633function createArrowElement(value) {
3634  var arrow = div();
3635
3636  if (value === true) {
3637    arrow.className = ARROW_CLASS;
3638  } else {
3639    arrow.className = SVG_ARROW_CLASS;
3640
3641    if (isElement(value)) {
3642      arrow.appendChild(value);
3643    } else {
3644      dangerouslySetInnerHTML(arrow, value);
3645    }
3646  }
3647
3648  return arrow;
3649}
3650
3651function setContent(content, props) {
3652  if (isElement(props.content)) {
3653    dangerouslySetInnerHTML(content, '');
3654    content.appendChild(props.content);
3655  } else if (typeof props.content !== 'function') {
3656    if (props.allowHTML) {
3657      dangerouslySetInnerHTML(content, props.content);
3658    } else {
3659      content.textContent = props.content;
3660    }
3661  }
3662}
3663function getChildren(popper) {
3664  var box = popper.firstElementChild;
3665  var boxChildren = arrayFrom(box.children);
3666  return {
3667    box: box,
3668    content: boxChildren.find(function (node) {
3669      return node.classList.contains(CONTENT_CLASS);
3670    }),
3671    arrow: boxChildren.find(function (node) {
3672      return node.classList.contains(ARROW_CLASS) || node.classList.contains(SVG_ARROW_CLASS);
3673    }),
3674    backdrop: boxChildren.find(function (node) {
3675      return node.classList.contains(BACKDROP_CLASS);
3676    })
3677  };
3678}
3679function render(instance) {
3680  var popper = div();
3681  var box = div();
3682  box.className = BOX_CLASS;
3683  box.setAttribute('data-state', 'hidden');
3684  box.setAttribute('tabindex', '-1');
3685  var content = div();
3686  content.className = CONTENT_CLASS;
3687  content.setAttribute('data-state', 'hidden');
3688  setContent(content, instance.props);
3689  popper.appendChild(box);
3690  box.appendChild(content);
3691  onUpdate(instance.props, instance.props);
3692
3693  function onUpdate(prevProps, nextProps) {
3694    var _getChildren = getChildren(popper),
3695        box = _getChildren.box,
3696        content = _getChildren.content,
3697        arrow = _getChildren.arrow;
3698
3699    if (nextProps.theme) {
3700      box.setAttribute('data-theme', nextProps.theme);
3701    } else {
3702      box.removeAttribute('data-theme');
3703    }
3704
3705    if (typeof nextProps.animation === 'string') {
3706      box.setAttribute('data-animation', nextProps.animation);
3707    } else {
3708      box.removeAttribute('data-animation');
3709    }
3710
3711    if (nextProps.inertia) {
3712      box.setAttribute('data-inertia', '');
3713    } else {
3714      box.removeAttribute('data-inertia');
3715    }
3716
3717    box.style.maxWidth = typeof nextProps.maxWidth === 'number' ? nextProps.maxWidth + "px" : nextProps.maxWidth;
3718
3719    if (nextProps.role) {
3720      box.setAttribute('role', nextProps.role);
3721    } else {
3722      box.removeAttribute('role');
3723    }
3724
3725    if (prevProps.content !== nextProps.content || prevProps.allowHTML !== nextProps.allowHTML) {
3726      setContent(content, instance.props);
3727    }
3728
3729    if (nextProps.arrow) {
3730      if (!arrow) {
3731        box.appendChild(createArrowElement(nextProps.arrow));
3732      } else if (prevProps.arrow !== nextProps.arrow) {
3733        box.removeChild(arrow);
3734        box.appendChild(createArrowElement(nextProps.arrow));
3735      }
3736    } else if (arrow) {
3737      box.removeChild(arrow);
3738    }
3739  }
3740
3741  return {
3742    popper: popper,
3743    onUpdate: onUpdate
3744  };
3745} // Runtime check to identify if the render function is the default one; this
3746// way we can apply default CSS transitions logic and it can be tree-shaken away
3747
3748render.$$tippy = true;
3749
3750var idCounter = 1;
3751var mouseMoveListeners = []; // Used by `hideAll()`
3752
3753var mountedInstances = [];
3754function createTippy(reference, passedProps) {
3755  var props = evaluateProps(reference, Object.assign({}, defaultProps, getExtendedPassedProps(removeUndefinedProps(passedProps)))); // ===========================================================================
3756  // 🔒 Private members
3757  // ===========================================================================
3758
3759  var showTimeout;
3760  var hideTimeout;
3761  var scheduleHideAnimationFrame;
3762  var isVisibleFromClick = false;
3763  var didHideDueToDocumentMouseDown = false;
3764  var didTouchMove = false;
3765  var ignoreOnFirstUpdate = false;
3766  var lastTriggerEvent;
3767  var currentTransitionEndListener;
3768  var onFirstUpdate;
3769  var listeners = [];
3770  var debouncedOnMouseMove = debounce(onMouseMove, props.interactiveDebounce);
3771  var currentTarget; // ===========================================================================
3772  // 🔑 Public members
3773  // ===========================================================================
3774
3775  var id = idCounter++;
3776  var popperInstance = null;
3777  var plugins = unique(props.plugins);
3778  var state = {
3779    // Is the instance currently enabled?
3780    isEnabled: true,
3781    // Is the tippy currently showing and not transitioning out?
3782    isVisible: false,
3783    // Has the instance been destroyed?
3784    isDestroyed: false,
3785    // Is the tippy currently mounted to the DOM?
3786    isMounted: false,
3787    // Has the tippy finished transitioning in?
3788    isShown: false
3789  };
3790  var instance = {
3791    // properties
3792    id: id,
3793    reference: reference,
3794    popper: div(),
3795    popperInstance: popperInstance,
3796    props: props,
3797    state: state,
3798    plugins: plugins,
3799    // methods
3800    clearDelayTimeouts: clearDelayTimeouts,
3801    setProps: setProps,
3802    setContent: setContent,
3803    show: show,
3804    hide: hide,
3805    hideWithInteractivity: hideWithInteractivity,
3806    enable: enable,
3807    disable: disable,
3808    unmount: unmount,
3809    destroy: destroy
3810  }; // TODO: Investigate why this early return causes a TDZ error in the tests —
3811  // it doesn't seem to happen in the browser
3812
3813  /* istanbul ignore if */
3814
3815  if (!props.render) {
3816    if (true) {
3817      errorWhen(true, 'render() function has not been supplied.');
3818    }
3819
3820    return instance;
3821  } // ===========================================================================
3822  // Initial mutations
3823  // ===========================================================================
3824
3825
3826  var _props$render = props.render(instance),
3827      popper = _props$render.popper,
3828      onUpdate = _props$render.onUpdate;
3829
3830  popper.setAttribute('data-tippy-root', '');
3831  popper.id = "tippy-" + instance.id;
3832  instance.popper = popper;
3833  reference._tippy = instance;
3834  popper._tippy = instance;
3835  var pluginsHooks = plugins.map(function (plugin) {
3836    return plugin.fn(instance);
3837  });
3838  var hasAriaExpanded = reference.hasAttribute('aria-expanded');
3839  addListeners();
3840  handleAriaExpandedAttribute();
3841  handleStyles();
3842  invokeHook('onCreate', [instance]);
3843
3844  if (props.showOnCreate) {
3845    scheduleShow();
3846  } // Prevent a tippy with a delay from hiding if the cursor left then returned
3847  // before it started hiding
3848
3849
3850  popper.addEventListener('mouseenter', function () {
3851    if (instance.props.interactive && instance.state.isVisible) {
3852      instance.clearDelayTimeouts();
3853    }
3854  });
3855  popper.addEventListener('mouseleave', function () {
3856    if (instance.props.interactive && instance.props.trigger.indexOf('mouseenter') >= 0) {
3857      getDocument().addEventListener('mousemove', debouncedOnMouseMove);
3858    }
3859  });
3860  return instance; // ===========================================================================
3861  // 🔒 Private methods
3862  // ===========================================================================
3863
3864  function getNormalizedTouchSettings() {
3865    var touch = instance.props.touch;
3866    return Array.isArray(touch) ? touch : [touch, 0];
3867  }
3868
3869  function getIsCustomTouchBehavior() {
3870    return getNormalizedTouchSettings()[0] === 'hold';
3871  }
3872
3873  function getIsDefaultRenderFn() {
3874    var _instance$props$rende;
3875
3876    // @ts-ignore
3877    return !!((_instance$props$rende = instance.props.render) != null && _instance$props$rende.$$tippy);
3878  }
3879
3880  function getCurrentTarget() {
3881    return currentTarget || reference;
3882  }
3883
3884  function getDocument() {
3885    var parent = getCurrentTarget().parentNode;
3886    return parent ? getOwnerDocument(parent) : document;
3887  }
3888
3889  function getDefaultTemplateChildren() {
3890    return getChildren(popper);
3891  }
3892
3893  function getDelay(isShow) {
3894    // For touch or keyboard input, force `0` delay for UX reasons
3895    // Also if the instance is mounted but not visible (transitioning out),
3896    // ignore delay
3897    if (instance.state.isMounted && !instance.state.isVisible || currentInput.isTouch || lastTriggerEvent && lastTriggerEvent.type === 'focus') {
3898      return 0;
3899    }
3900
3901    return getValueAtIndexOrReturn(instance.props.delay, isShow ? 0 : 1, defaultProps.delay);
3902  }
3903
3904  function handleStyles(fromHide) {
3905    if (fromHide === void 0) {
3906      fromHide = false;
3907    }
3908
3909    popper.style.pointerEvents = instance.props.interactive && !fromHide ? '' : 'none';
3910    popper.style.zIndex = "" + instance.props.zIndex;
3911  }
3912
3913  function invokeHook(hook, args, shouldInvokePropsHook) {
3914    if (shouldInvokePropsHook === void 0) {
3915      shouldInvokePropsHook = true;
3916    }
3917
3918    pluginsHooks.forEach(function (pluginHooks) {
3919      if (pluginHooks[hook]) {
3920        pluginHooks[hook].apply(pluginHooks, args);
3921      }
3922    });
3923
3924    if (shouldInvokePropsHook) {
3925      var _instance$props;
3926
3927      (_instance$props = instance.props)[hook].apply(_instance$props, args);
3928    }
3929  }
3930
3931  function handleAriaContentAttribute() {
3932    var aria = instance.props.aria;
3933
3934    if (!aria.content) {
3935      return;
3936    }
3937
3938    var attr = "aria-" + aria.content;
3939    var id = popper.id;
3940    var nodes = normalizeToArray(instance.props.triggerTarget || reference);
3941    nodes.forEach(function (node) {
3942      var currentValue = node.getAttribute(attr);
3943
3944      if (instance.state.isVisible) {
3945        node.setAttribute(attr, currentValue ? currentValue + " " + id : id);
3946      } else {
3947        var nextValue = currentValue && currentValue.replace(id, '').trim();
3948
3949        if (nextValue) {
3950          node.setAttribute(attr, nextValue);
3951        } else {
3952          node.removeAttribute(attr);
3953        }
3954      }
3955    });
3956  }
3957
3958  function handleAriaExpandedAttribute() {
3959    if (hasAriaExpanded || !instance.props.aria.expanded) {
3960      return;
3961    }
3962
3963    var nodes = normalizeToArray(instance.props.triggerTarget || reference);
3964    nodes.forEach(function (node) {
3965      if (instance.props.interactive) {
3966        node.setAttribute('aria-expanded', instance.state.isVisible && node === getCurrentTarget() ? 'true' : 'false');
3967      } else {
3968        node.removeAttribute('aria-expanded');
3969      }
3970    });
3971  }
3972
3973  function cleanupInteractiveMouseListeners() {
3974    getDocument().removeEventListener('mousemove', debouncedOnMouseMove);
3975    mouseMoveListeners = mouseMoveListeners.filter(function (listener) {
3976      return listener !== debouncedOnMouseMove;
3977    });
3978  }
3979
3980  function onDocumentPress(event) {
3981    // Moved finger to scroll instead of an intentional tap outside
3982    if (currentInput.isTouch) {
3983      if (didTouchMove || event.type === 'mousedown') {
3984        return;
3985      }
3986    }
3987
3988    var actualTarget = event.composedPath && event.composedPath()[0] || event.target; // Clicked on interactive popper
3989
3990    if (instance.props.interactive && actualContains(popper, actualTarget)) {
3991      return;
3992    } // Clicked on the event listeners target
3993
3994
3995    if (normalizeToArray(instance.props.triggerTarget || reference).some(function (el) {
3996      return actualContains(el, actualTarget);
3997    })) {
3998      if (currentInput.isTouch) {
3999        return;
4000      }
4001
4002      if (instance.state.isVisible && instance.props.trigger.indexOf('click') >= 0) {
4003        return;
4004      }
4005    } else {
4006      invokeHook('onClickOutside', [instance, event]);
4007    }
4008
4009    if (instance.props.hideOnClick === true) {
4010      instance.clearDelayTimeouts();
4011      instance.hide(); // `mousedown` event is fired right before `focus` if pressing the
4012      // currentTarget. This lets a tippy with `focus` trigger know that it
4013      // should not show
4014
4015      didHideDueToDocumentMouseDown = true;
4016      setTimeout(function () {
4017        didHideDueToDocumentMouseDown = false;
4018      }); // The listener gets added in `scheduleShow()`, but this may be hiding it
4019      // before it shows, and hide()'s early bail-out behavior can prevent it
4020      // from being cleaned up
4021
4022      if (!instance.state.isMounted) {
4023        removeDocumentPress();
4024      }
4025    }
4026  }
4027
4028  function onTouchMove() {
4029    didTouchMove = true;
4030  }
4031
4032  function onTouchStart() {
4033    didTouchMove = false;
4034  }
4035
4036  function addDocumentPress() {
4037    var doc = getDocument();
4038    doc.addEventListener('mousedown', onDocumentPress, true);
4039    doc.addEventListener('touchend', onDocumentPress, TOUCH_OPTIONS);
4040    doc.addEventListener('touchstart', onTouchStart, TOUCH_OPTIONS);
4041    doc.addEventListener('touchmove', onTouchMove, TOUCH_OPTIONS);
4042  }
4043
4044  function removeDocumentPress() {
4045    var doc = getDocument();
4046    doc.removeEventListener('mousedown', onDocumentPress, true);
4047    doc.removeEventListener('touchend', onDocumentPress, TOUCH_OPTIONS);
4048    doc.removeEventListener('touchstart', onTouchStart, TOUCH_OPTIONS);
4049    doc.removeEventListener('touchmove', onTouchMove, TOUCH_OPTIONS);
4050  }
4051
4052  function onTransitionedOut(duration, callback) {
4053    onTransitionEnd(duration, function () {
4054      if (!instance.state.isVisible && popper.parentNode && popper.parentNode.contains(popper)) {
4055        callback();
4056      }
4057    });
4058  }
4059
4060  function onTransitionedIn(duration, callback) {
4061    onTransitionEnd(duration, callback);
4062  }
4063
4064  function onTransitionEnd(duration, callback) {
4065    var box = getDefaultTemplateChildren().box;
4066
4067    function listener(event) {
4068      if (event.target === box) {
4069        updateTransitionEndListener(box, 'remove', listener);
4070        callback();
4071      }
4072    } // Make callback synchronous if duration is 0
4073    // `transitionend` won't fire otherwise
4074
4075
4076    if (duration === 0) {
4077      return callback();
4078    }
4079
4080    updateTransitionEndListener(box, 'remove', currentTransitionEndListener);
4081    updateTransitionEndListener(box, 'add', listener);
4082    currentTransitionEndListener = listener;
4083  }
4084
4085  function on(eventType, handler, options) {
4086    if (options === void 0) {
4087      options = false;
4088    }
4089
4090    var nodes = normalizeToArray(instance.props.triggerTarget || reference);
4091    nodes.forEach(function (node) {
4092      node.addEventListener(eventType, handler, options);
4093      listeners.push({
4094        node: node,
4095        eventType: eventType,
4096        handler: handler,
4097        options: options
4098      });
4099    });
4100  }
4101
4102  function addListeners() {
4103    if (getIsCustomTouchBehavior()) {
4104      on('touchstart', onTrigger, {
4105        passive: true
4106      });
4107      on('touchend', onMouseLeave, {
4108        passive: true
4109      });
4110    }
4111
4112    splitBySpaces(instance.props.trigger).forEach(function (eventType) {
4113      if (eventType === 'manual') {
4114        return;
4115      }
4116
4117      on(eventType, onTrigger);
4118
4119      switch (eventType) {
4120        case 'mouseenter':
4121          on('mouseleave', onMouseLeave);
4122          break;
4123
4124        case 'focus':
4125          on(isIE11 ? 'focusout' : 'blur', onBlurOrFocusOut);
4126          break;
4127
4128        case 'focusin':
4129          on('focusout', onBlurOrFocusOut);
4130          break;
4131      }
4132    });
4133  }
4134
4135  function removeListeners() {
4136    listeners.forEach(function (_ref) {
4137      var node = _ref.node,
4138          eventType = _ref.eventType,
4139          handler = _ref.handler,
4140          options = _ref.options;
4141      node.removeEventListener(eventType, handler, options);
4142    });
4143    listeners = [];
4144  }
4145
4146  function onTrigger(event) {
4147    var _lastTriggerEvent;
4148
4149    var shouldScheduleClickHide = false;
4150
4151    if (!instance.state.isEnabled || isEventListenerStopped(event) || didHideDueToDocumentMouseDown) {
4152      return;
4153    }
4154
4155    var wasFocused = ((_lastTriggerEvent = lastTriggerEvent) == null ? void 0 : _lastTriggerEvent.type) === 'focus';
4156    lastTriggerEvent = event;
4157    currentTarget = event.currentTarget;
4158    handleAriaExpandedAttribute();
4159
4160    if (!instance.state.isVisible && isMouseEvent(event)) {
4161      // If scrolling, `mouseenter` events can be fired if the cursor lands
4162      // over a new target, but `mousemove` events don't get fired. This
4163      // causes interactive tooltips to get stuck open until the cursor is
4164      // moved
4165      mouseMoveListeners.forEach(function (listener) {
4166        return listener(event);
4167      });
4168    } // Toggle show/hide when clicking click-triggered tooltips
4169
4170
4171    if (event.type === 'click' && (instance.props.trigger.indexOf('mouseenter') < 0 || isVisibleFromClick) && instance.props.hideOnClick !== false && instance.state.isVisible) {
4172      shouldScheduleClickHide = true;
4173    } else {
4174      scheduleShow(event);
4175    }
4176
4177    if (event.type === 'click') {
4178      isVisibleFromClick = !shouldScheduleClickHide;
4179    }
4180
4181    if (shouldScheduleClickHide && !wasFocused) {
4182      scheduleHide(event);
4183    }
4184  }
4185
4186  function onMouseMove(event) {
4187    var target = event.target;
4188    var isCursorOverReferenceOrPopper = getCurrentTarget().contains(target) || popper.contains(target);
4189
4190    if (event.type === 'mousemove' && isCursorOverReferenceOrPopper) {
4191      return;
4192    }
4193
4194    var popperTreeData = getNestedPopperTree().concat(popper).map(function (popper) {
4195      var _instance$popperInsta;
4196
4197      var instance = popper._tippy;
4198      var state = (_instance$popperInsta = instance.popperInstance) == null ? void 0 : _instance$popperInsta.state;
4199
4200      if (state) {
4201        return {
4202          popperRect: popper.getBoundingClientRect(),
4203          popperState: state,
4204          props: props
4205        };
4206      }
4207
4208      return null;
4209    }).filter(Boolean);
4210
4211    if (isCursorOutsideInteractiveBorder(popperTreeData, event)) {
4212      cleanupInteractiveMouseListeners();
4213      scheduleHide(event);
4214    }
4215  }
4216
4217  function onMouseLeave(event) {
4218    var shouldBail = isEventListenerStopped(event) || instance.props.trigger.indexOf('click') >= 0 && isVisibleFromClick;
4219
4220    if (shouldBail) {
4221      return;
4222    }
4223
4224    if (instance.props.interactive) {
4225      instance.hideWithInteractivity(event);
4226      return;
4227    }
4228
4229    scheduleHide(event);
4230  }
4231
4232  function onBlurOrFocusOut(event) {
4233    if (instance.props.trigger.indexOf('focusin') < 0 && event.target !== getCurrentTarget()) {
4234      return;
4235    } // If focus was moved to within the popper
4236
4237
4238    if (instance.props.interactive && event.relatedTarget && popper.contains(event.relatedTarget)) {
4239      return;
4240    }
4241
4242    scheduleHide(event);
4243  }
4244
4245  function isEventListenerStopped(event) {
4246    return currentInput.isTouch ? getIsCustomTouchBehavior() !== event.type.indexOf('touch') >= 0 : false;
4247  }
4248
4249  function createPopperInstance() {
4250    destroyPopperInstance();
4251    var _instance$props2 = instance.props,
4252        popperOptions = _instance$props2.popperOptions,
4253        placement = _instance$props2.placement,
4254        offset = _instance$props2.offset,
4255        getReferenceClientRect = _instance$props2.getReferenceClientRect,
4256        moveTransition = _instance$props2.moveTransition;
4257    var arrow = getIsDefaultRenderFn() ? getChildren(popper).arrow : null;
4258    var computedReference = getReferenceClientRect ? {
4259      getBoundingClientRect: getReferenceClientRect,
4260      contextElement: getReferenceClientRect.contextElement || getCurrentTarget()
4261    } : reference;
4262    var tippyModifier = {
4263      name: '$$tippy',
4264      enabled: true,
4265      phase: 'beforeWrite',
4266      requires: ['computeStyles'],
4267      fn: function fn(_ref2) {
4268        var state = _ref2.state;
4269
4270        if (getIsDefaultRenderFn()) {
4271          var _getDefaultTemplateCh = getDefaultTemplateChildren(),
4272              box = _getDefaultTemplateCh.box;
4273
4274          ['placement', 'reference-hidden', 'escaped'].forEach(function (attr) {
4275            if (attr === 'placement') {
4276              box.setAttribute('data-placement', state.placement);
4277            } else {
4278              if (state.attributes.popper["data-popper-" + attr]) {
4279                box.setAttribute("data-" + attr, '');
4280              } else {
4281                box.removeAttribute("data-" + attr);
4282              }
4283            }
4284          });
4285          state.attributes.popper = {};
4286        }
4287      }
4288    };
4289    var modifiers = [{
4290      name: 'offset',
4291      options: {
4292        offset: offset
4293      }
4294    }, {
4295      name: 'preventOverflow',
4296      options: {
4297        padding: {
4298          top: 2,
4299          bottom: 2,
4300          left: 5,
4301          right: 5
4302        }
4303      }
4304    }, {
4305      name: 'flip',
4306      options: {
4307        padding: 5
4308      }
4309    }, {
4310      name: 'computeStyles',
4311      options: {
4312        adaptive: !moveTransition
4313      }
4314    }, tippyModifier];
4315
4316    if (getIsDefaultRenderFn() && arrow) {
4317      modifiers.push({
4318        name: 'arrow',
4319        options: {
4320          element: arrow,
4321          padding: 3
4322        }
4323      });
4324    }
4325
4326    modifiers.push.apply(modifiers, (popperOptions == null ? void 0 : popperOptions.modifiers) || []);
4327    instance.popperInstance = (0,_popperjs_core__WEBPACK_IMPORTED_MODULE_0__.createPopper)(computedReference, popper, Object.assign({}, popperOptions, {
4328      placement: placement,
4329      onFirstUpdate: onFirstUpdate,
4330      modifiers: modifiers
4331    }));
4332  }
4333
4334  function destroyPopperInstance() {
4335    if (instance.popperInstance) {
4336      instance.popperInstance.destroy();
4337      instance.popperInstance = null;
4338    }
4339  }
4340
4341  function mount() {
4342    var appendTo = instance.props.appendTo;
4343    var parentNode; // By default, we'll append the popper to the triggerTargets's parentNode so
4344    // it's directly after the reference element so the elements inside the
4345    // tippy can be tabbed to
4346    // If there are clipping issues, the user can specify a different appendTo
4347    // and ensure focus management is handled correctly manually
4348
4349    var node = getCurrentTarget();
4350
4351    if (instance.props.interactive && appendTo === TIPPY_DEFAULT_APPEND_TO || appendTo === 'parent') {
4352      parentNode = node.parentNode;
4353    } else {
4354      parentNode = invokeWithArgsOrReturn(appendTo, [node]);
4355    } // The popper element needs to exist on the DOM before its position can be
4356    // updated as Popper needs to read its dimensions
4357
4358
4359    if (!parentNode.contains(popper)) {
4360      parentNode.appendChild(popper);
4361    }
4362
4363    instance.state.isMounted = true;
4364    createPopperInstance();
4365    /* istanbul ignore else */
4366
4367    if (true) {
4368      // Accessibility check
4369      warnWhen(instance.props.interactive && appendTo === defaultProps.appendTo && node.nextElementSibling !== popper, ['Interactive tippy element may not be accessible via keyboard', 'navigation because it is not directly after the reference element', 'in the DOM source order.', '\n\n', 'Using a wrapper <div> or <span> tag around the reference element', 'solves this by creating a new parentNode context.', '\n\n', 'Specifying `appendTo: document.body` silences this warning, but it', 'assumes you are using a focus management solution to handle', 'keyboard navigation.', '\n\n', 'See: https://atomiks.github.io/tippyjs/v6/accessibility/#interactivity'].join(' '));
4370    }
4371  }
4372
4373  function getNestedPopperTree() {
4374    return arrayFrom(popper.querySelectorAll('[data-tippy-root]'));
4375  }
4376
4377  function scheduleShow(event) {
4378    instance.clearDelayTimeouts();
4379
4380    if (event) {
4381      invokeHook('onTrigger', [instance, event]);
4382    }
4383
4384    addDocumentPress();
4385    var delay = getDelay(true);
4386
4387    var _getNormalizedTouchSe = getNormalizedTouchSettings(),
4388        touchValue = _getNormalizedTouchSe[0],
4389        touchDelay = _getNormalizedTouchSe[1];
4390
4391    if (currentInput.isTouch && touchValue === 'hold' && touchDelay) {
4392      delay = touchDelay;
4393    }
4394
4395    if (delay) {
4396      showTimeout = setTimeout(function () {
4397        instance.show();
4398      }, delay);
4399    } else {
4400      instance.show();
4401    }
4402  }
4403
4404  function scheduleHide(event) {
4405    instance.clearDelayTimeouts();
4406    invokeHook('onUntrigger', [instance, event]);
4407
4408    if (!instance.state.isVisible) {
4409      removeDocumentPress();
4410      return;
4411    } // For interactive tippies, scheduleHide is added to a document.body handler
4412    // from onMouseLeave so must intercept scheduled hides from mousemove/leave
4413    // events when trigger contains mouseenter and click, and the tip is
4414    // currently shown as a result of a click.
4415
4416
4417    if (instance.props.trigger.indexOf('mouseenter') >= 0 && instance.props.trigger.indexOf('click') >= 0 && ['mouseleave', 'mousemove'].indexOf(event.type) >= 0 && isVisibleFromClick) {
4418      return;
4419    }
4420
4421    var delay = getDelay(false);
4422
4423    if (delay) {
4424      hideTimeout = setTimeout(function () {
4425        if (instance.state.isVisible) {
4426          instance.hide();
4427        }
4428      }, delay);
4429    } else {
4430      // Fixes a `transitionend` problem when it fires 1 frame too
4431      // late sometimes, we don't want hide() to be called.
4432      scheduleHideAnimationFrame = requestAnimationFrame(function () {
4433        instance.hide();
4434      });
4435    }
4436  } // ===========================================================================
4437  // 🔑 Public methods
4438  // ===========================================================================
4439
4440
4441  function enable() {
4442    instance.state.isEnabled = true;
4443  }
4444
4445  function disable() {
4446    // Disabling the instance should also hide it
4447    // https://github.com/atomiks/tippy.js-react/issues/106
4448    instance.hide();
4449    instance.state.isEnabled = false;
4450  }
4451
4452  function clearDelayTimeouts() {
4453    clearTimeout(showTimeout);
4454    clearTimeout(hideTimeout);
4455    cancelAnimationFrame(scheduleHideAnimationFrame);
4456  }
4457
4458  function setProps(partialProps) {
4459    /* istanbul ignore else */
4460    if (true) {
4461      warnWhen(instance.state.isDestroyed, createMemoryLeakWarning('setProps'));
4462    }
4463
4464    if (instance.state.isDestroyed) {
4465      return;
4466    }
4467
4468    invokeHook('onBeforeUpdate', [instance, partialProps]);
4469    removeListeners();
4470    var prevProps = instance.props;
4471    var nextProps = evaluateProps(reference, Object.assign({}, prevProps, removeUndefinedProps(partialProps), {
4472      ignoreAttributes: true
4473    }));
4474    instance.props = nextProps;
4475    addListeners();
4476
4477    if (prevProps.interactiveDebounce !== nextProps.interactiveDebounce) {
4478      cleanupInteractiveMouseListeners();
4479      debouncedOnMouseMove = debounce(onMouseMove, nextProps.interactiveDebounce);
4480    } // Ensure stale aria-expanded attributes are removed
4481
4482
4483    if (prevProps.triggerTarget && !nextProps.triggerTarget) {
4484      normalizeToArray(prevProps.triggerTarget).forEach(function (node) {
4485        node.removeAttribute('aria-expanded');
4486      });
4487    } else if (nextProps.triggerTarget) {
4488      reference.removeAttribute('aria-expanded');
4489    }
4490
4491    handleAriaExpandedAttribute();
4492    handleStyles();
4493
4494    if (onUpdate) {
4495      onUpdate(prevProps, nextProps);
4496    }
4497
4498    if (instance.popperInstance) {
4499      createPopperInstance(); // Fixes an issue with nested tippies if they are all getting re-rendered,
4500      // and the nested ones get re-rendered first.
4501      // https://github.com/atomiks/tippyjs-react/issues/177
4502      // TODO: find a cleaner / more efficient solution(!)
4503
4504      getNestedPopperTree().forEach(function (nestedPopper) {
4505        // React (and other UI libs likely) requires a rAF wrapper as it flushes
4506        // its work in one
4507        requestAnimationFrame(nestedPopper._tippy.popperInstance.forceUpdate);
4508      });
4509    }
4510
4511    invokeHook('onAfterUpdate', [instance, partialProps]);
4512  }
4513
4514  function setContent(content) {
4515    instance.setProps({
4516      content: content
4517    });
4518  }
4519
4520  function show() {
4521    /* istanbul ignore else */
4522    if (true) {
4523      warnWhen(instance.state.isDestroyed, createMemoryLeakWarning('show'));
4524    } // Early bail-out
4525
4526
4527    var isAlreadyVisible = instance.state.isVisible;
4528    var isDestroyed = instance.state.isDestroyed;
4529    var isDisabled = !instance.state.isEnabled;
4530    var isTouchAndTouchDisabled = currentInput.isTouch && !instance.props.touch;
4531    var duration = getValueAtIndexOrReturn(instance.props.duration, 0, defaultProps.duration);
4532
4533    if (isAlreadyVisible || isDestroyed || isDisabled || isTouchAndTouchDisabled) {
4534      return;
4535    } // Normalize `disabled` behavior across browsers.
4536    // Firefox allows events on disabled elements, but Chrome doesn't.
4537    // Using a wrapper element (i.e. <span>) is recommended.
4538
4539
4540    if (getCurrentTarget().hasAttribute('disabled')) {
4541      return;
4542    }
4543
4544    invokeHook('onShow', [instance], false);
4545
4546    if (instance.props.onShow(instance) === false) {
4547      return;
4548    }
4549
4550    instance.state.isVisible = true;
4551
4552    if (getIsDefaultRenderFn()) {
4553      popper.style.visibility = 'visible';
4554    }
4555
4556    handleStyles();
4557    addDocumentPress();
4558
4559    if (!instance.state.isMounted) {
4560      popper.style.transition = 'none';
4561    } // If flipping to the opposite side after hiding at least once, the
4562    // animation will use the wrong placement without resetting the duration
4563
4564
4565    if (getIsDefaultRenderFn()) {
4566      var _getDefaultTemplateCh2 = getDefaultTemplateChildren(),
4567          box = _getDefaultTemplateCh2.box,
4568          content = _getDefaultTemplateCh2.content;
4569
4570      setTransitionDuration([box, content], 0);
4571    }
4572
4573    onFirstUpdate = function onFirstUpdate() {
4574      var _instance$popperInsta2;
4575
4576      if (!instance.state.isVisible || ignoreOnFirstUpdate) {
4577        return;
4578      }
4579
4580      ignoreOnFirstUpdate = true; // reflow
4581
4582      void popper.offsetHeight;
4583      popper.style.transition = instance.props.moveTransition;
4584
4585      if (getIsDefaultRenderFn() && instance.props.animation) {
4586        var _getDefaultTemplateCh3 = getDefaultTemplateChildren(),
4587            _box = _getDefaultTemplateCh3.box,
4588            _content = _getDefaultTemplateCh3.content;
4589
4590        setTransitionDuration([_box, _content], duration);
4591        setVisibilityState([_box, _content], 'visible');
4592      }
4593
4594      handleAriaContentAttribute();
4595      handleAriaExpandedAttribute();
4596      pushIfUnique(mountedInstances, instance); // certain modifiers (e.g. `maxSize`) require a second update after the
4597      // popper has been positioned for the first time
4598
4599      (_instance$popperInsta2 = instance.popperInstance) == null ? void 0 : _instance$popperInsta2.forceUpdate();
4600      invokeHook('onMount', [instance]);
4601
4602      if (instance.props.animation && getIsDefaultRenderFn()) {
4603        onTransitionedIn(duration, function () {
4604          instance.state.isShown = true;
4605          invokeHook('onShown', [instance]);
4606        });
4607      }
4608    };
4609
4610    mount();
4611  }
4612
4613  function hide() {
4614    /* istanbul ignore else */
4615    if (true) {
4616      warnWhen(instance.state.isDestroyed, createMemoryLeakWarning('hide'));
4617    } // Early bail-out
4618
4619
4620    var isAlreadyHidden = !instance.state.isVisible;
4621    var isDestroyed = instance.state.isDestroyed;
4622    var isDisabled = !instance.state.isEnabled;
4623    var duration = getValueAtIndexOrReturn(instance.props.duration, 1, defaultProps.duration);
4624
4625    if (isAlreadyHidden || isDestroyed || isDisabled) {
4626      return;
4627    }
4628
4629    invokeHook('onHide', [instance], false);
4630
4631    if (instance.props.onHide(instance) === false) {
4632      return;
4633    }
4634
4635    instance.state.isVisible = false;
4636    instance.state.isShown = false;
4637    ignoreOnFirstUpdate = false;
4638    isVisibleFromClick = false;
4639
4640    if (getIsDefaultRenderFn()) {
4641      popper.style.visibility = 'hidden';
4642    }
4643
4644    cleanupInteractiveMouseListeners();
4645    removeDocumentPress();
4646    handleStyles(true);
4647
4648    if (getIsDefaultRenderFn()) {
4649      var _getDefaultTemplateCh4 = getDefaultTemplateChildren(),
4650          box = _getDefaultTemplateCh4.box,
4651          content = _getDefaultTemplateCh4.content;
4652
4653      if (instance.props.animation) {
4654        setTransitionDuration([box, content], duration);
4655        setVisibilityState([box, content], 'hidden');
4656      }
4657    }
4658
4659    handleAriaContentAttribute();
4660    handleAriaExpandedAttribute();
4661
4662    if (instance.props.animation) {
4663      if (getIsDefaultRenderFn()) {
4664        onTransitionedOut(duration, instance.unmount);
4665      }
4666    } else {
4667      instance.unmount();
4668    }
4669  }
4670
4671  function hideWithInteractivity(event) {
4672    /* istanbul ignore else */
4673    if (true) {
4674      warnWhen(instance.state.isDestroyed, createMemoryLeakWarning('hideWithInteractivity'));
4675    }
4676
4677    getDocument().addEventListener('mousemove', debouncedOnMouseMove);
4678    pushIfUnique(mouseMoveListeners, debouncedOnMouseMove);
4679    debouncedOnMouseMove(event);
4680  }
4681
4682  function unmount() {
4683    /* istanbul ignore else */
4684    if (true) {
4685      warnWhen(instance.state.isDestroyed, createMemoryLeakWarning('unmount'));
4686    }
4687
4688    if (instance.state.isVisible) {
4689      instance.hide();
4690    }
4691
4692    if (!instance.state.isMounted) {
4693      return;
4694    }
4695
4696    destroyPopperInstance(); // If a popper is not interactive, it will be appended outside the popper
4697    // tree by default. This seems mainly for interactive tippies, but we should
4698    // find a workaround if possible
4699
4700    getNestedPopperTree().forEach(function (nestedPopper) {
4701      nestedPopper._tippy.unmount();
4702    });
4703
4704    if (popper.parentNode) {
4705      popper.parentNode.removeChild(popper);
4706    }
4707
4708    mountedInstances = mountedInstances.filter(function (i) {
4709      return i !== instance;
4710    });
4711    instance.state.isMounted = false;
4712    invokeHook('onHidden', [instance]);
4713  }
4714
4715  function destroy() {
4716    /* istanbul ignore else */
4717    if (true) {
4718      warnWhen(instance.state.isDestroyed, createMemoryLeakWarning('destroy'));
4719    }
4720
4721    if (instance.state.isDestroyed) {
4722      return;
4723    }
4724
4725    instance.clearDelayTimeouts();
4726    instance.unmount();
4727    removeListeners();
4728    delete reference._tippy;
4729    instance.state.isDestroyed = true;
4730    invokeHook('onDestroy', [instance]);
4731  }
4732}
4733
4734function tippy(targets, optionalProps) {
4735  if (optionalProps === void 0) {
4736    optionalProps = {};
4737  }
4738
4739  var plugins = defaultProps.plugins.concat(optionalProps.plugins || []);
4740  /* istanbul ignore else */
4741
4742  if (true) {
4743    validateTargets(targets);
4744    validateProps(optionalProps, plugins);
4745  }
4746
4747  bindGlobalEventListeners();
4748  var passedProps = Object.assign({}, optionalProps, {
4749    plugins: plugins
4750  });
4751  var elements = getArrayOfElements(targets);
4752  /* istanbul ignore else */
4753
4754  if (true) {
4755    var isSingleContentElement = isElement(passedProps.content);
4756    var isMoreThanOneReferenceElement = elements.length > 1;
4757    warnWhen(isSingleContentElement && isMoreThanOneReferenceElement, ['tippy() was passed an Element as the `content` prop, but more than', 'one tippy instance was created by this invocation. This means the', 'content element will only be appended to the last tippy instance.', '\n\n', 'Instead, pass the .innerHTML of the element, or use a function that', 'returns a cloned version of the element instead.', '\n\n', '1) content: element.innerHTML\n', '2) content: () => element.cloneNode(true)'].join(' '));
4758  }
4759
4760  var instances = elements.reduce(function (acc, reference) {
4761    var instance = reference && createTippy(reference, passedProps);
4762
4763    if (instance) {
4764      acc.push(instance);
4765    }
4766
4767    return acc;
4768  }, []);
4769  return isElement(targets) ? instances[0] : instances;
4770}
4771
4772tippy.defaultProps = defaultProps;
4773tippy.setDefaultProps = setDefaultProps;
4774tippy.currentInput = currentInput;
4775var hideAll = function hideAll(_temp) {
4776  var _ref = _temp === void 0 ? {} : _temp,
4777      excludedReferenceOrInstance = _ref.exclude,
4778      duration = _ref.duration;
4779
4780  mountedInstances.forEach(function (instance) {
4781    var isExcluded = false;
4782
4783    if (excludedReferenceOrInstance) {
4784      isExcluded = isReferenceElement(excludedReferenceOrInstance) ? instance.reference === excludedReferenceOrInstance : instance.popper === excludedReferenceOrInstance.popper;
4785    }
4786
4787    if (!isExcluded) {
4788      var originalDuration = instance.props.duration;
4789      instance.setProps({
4790        duration: duration
4791      });
4792      instance.hide();
4793
4794      if (!instance.state.isDestroyed) {
4795        instance.setProps({
4796          duration: originalDuration
4797        });
4798      }
4799    }
4800  });
4801};
4802
4803// every time the popper is destroyed (i.e. a new target), removing the styles
4804// and causing transitions to break for singletons when the console is open, but
4805// most notably for non-transform styles being used, `gpuAcceleration: false`.
4806
4807var applyStylesModifier = Object.assign({}, _popperjs_core__WEBPACK_IMPORTED_MODULE_1__["default"], {
4808  effect: function effect(_ref) {
4809    var state = _ref.state;
4810    var initialStyles = {
4811      popper: {
4812        position: state.options.strategy,
4813        left: '0',
4814        top: '0',
4815        margin: '0'
4816      },
4817      arrow: {
4818        position: 'absolute'
4819      },
4820      reference: {}
4821    };
4822    Object.assign(state.elements.popper.style, initialStyles.popper);
4823    state.styles = initialStyles;
4824
4825    if (state.elements.arrow) {
4826      Object.assign(state.elements.arrow.style, initialStyles.arrow);
4827    } // intentionally return no cleanup function
4828    // return () => { ... }
4829
4830  }
4831});
4832
4833var createSingleton = function createSingleton(tippyInstances, optionalProps) {
4834  var _optionalProps$popper;
4835
4836  if (optionalProps === void 0) {
4837    optionalProps = {};
4838  }
4839
4840  /* istanbul ignore else */
4841  if (true) {
4842    errorWhen(!Array.isArray(tippyInstances), ['The first argument passed to createSingleton() must be an array of', 'tippy instances. The passed value was', String(tippyInstances)].join(' '));
4843  }
4844
4845  var individualInstances = tippyInstances;
4846  var references = [];
4847  var triggerTargets = [];
4848  var currentTarget;
4849  var overrides = optionalProps.overrides;
4850  var interceptSetPropsCleanups = [];
4851  var shownOnCreate = false;
4852
4853  function setTriggerTargets() {
4854    triggerTargets = individualInstances.map(function (instance) {
4855      return normalizeToArray(instance.props.triggerTarget || instance.reference);
4856    }).reduce(function (acc, item) {
4857      return acc.concat(item);
4858    }, []);
4859  }
4860
4861  function setReferences() {
4862    references = individualInstances.map(function (instance) {
4863      return instance.reference;
4864    });
4865  }
4866
4867  function enableInstances(isEnabled) {
4868    individualInstances.forEach(function (instance) {
4869      if (isEnabled) {
4870        instance.enable();
4871      } else {
4872        instance.disable();
4873      }
4874    });
4875  }
4876
4877  function interceptSetProps(singleton) {
4878    return individualInstances.map(function (instance) {
4879      var originalSetProps = instance.setProps;
4880
4881      instance.setProps = function (props) {
4882        originalSetProps(props);
4883
4884        if (instance.reference === currentTarget) {
4885          singleton.setProps(props);
4886        }
4887      };
4888
4889      return function () {
4890        instance.setProps = originalSetProps;
4891      };
4892    });
4893  } // have to pass singleton, as it maybe undefined on first call
4894
4895
4896  function prepareInstance(singleton, target) {
4897    var index = triggerTargets.indexOf(target); // bail-out
4898
4899    if (target === currentTarget) {
4900      return;
4901    }
4902
4903    currentTarget = target;
4904    var overrideProps = (overrides || []).concat('content').reduce(function (acc, prop) {
4905      acc[prop] = individualInstances[index].props[prop];
4906      return acc;
4907    }, {});
4908    singleton.setProps(Object.assign({}, overrideProps, {
4909      getReferenceClientRect: typeof overrideProps.getReferenceClientRect === 'function' ? overrideProps.getReferenceClientRect : function () {
4910        var _references$index;
4911
4912        return (_references$index = references[index]) == null ? void 0 : _references$index.getBoundingClientRect();
4913      }
4914    }));
4915  }
4916
4917  enableInstances(false);
4918  setReferences();
4919  setTriggerTargets();
4920  var plugin = {
4921    fn: function fn() {
4922      return {
4923        onDestroy: function onDestroy() {
4924          enableInstances(true);
4925        },
4926        onHidden: function onHidden() {
4927          currentTarget = null;
4928        },
4929        onClickOutside: function onClickOutside(instance) {
4930          if (instance.props.showOnCreate && !shownOnCreate) {
4931            shownOnCreate = true;
4932            currentTarget = null;
4933          }
4934        },
4935        onShow: function onShow(instance) {
4936          if (instance.props.showOnCreate && !shownOnCreate) {
4937            shownOnCreate = true;
4938            prepareInstance(instance, references[0]);
4939          }
4940        },
4941        onTrigger: function onTrigger(instance, event) {
4942          prepareInstance(instance, event.currentTarget);
4943        }
4944      };
4945    }
4946  };
4947  var singleton = tippy(div(), Object.assign({}, removeProperties(optionalProps, ['overrides']), {
4948    plugins: [plugin].concat(optionalProps.plugins || []),
4949    triggerTarget: triggerTargets,
4950    popperOptions: Object.assign({}, optionalProps.popperOptions, {
4951      modifiers: [].concat(((_optionalProps$popper = optionalProps.popperOptions) == null ? void 0 : _optionalProps$popper.modifiers) || [], [applyStylesModifier])
4952    })
4953  }));
4954  var originalShow = singleton.show;
4955
4956  singleton.show = function (target) {
4957    originalShow(); // first time, showOnCreate or programmatic call with no params
4958    // default to showing first instance
4959
4960    if (!currentTarget && target == null) {
4961      return prepareInstance(singleton, references[0]);
4962    } // triggered from event (do nothing as prepareInstance already called by onTrigger)
4963    // programmatic call with no params when already visible (do nothing again)
4964
4965
4966    if (currentTarget && target == null) {
4967      return;
4968    } // target is index of instance
4969
4970
4971    if (typeof target === 'number') {
4972      return references[target] && prepareInstance(singleton, references[target]);
4973    } // target is a child tippy instance
4974
4975
4976    if (individualInstances.indexOf(target) >= 0) {
4977      var ref = target.reference;
4978      return prepareInstance(singleton, ref);
4979    } // target is a ReferenceElement
4980
4981
4982    if (references.indexOf(target) >= 0) {
4983      return prepareInstance(singleton, target);
4984    }
4985  };
4986
4987  singleton.showNext = function () {
4988    var first = references[0];
4989
4990    if (!currentTarget) {
4991      return singleton.show(0);
4992    }
4993
4994    var index = references.indexOf(currentTarget);
4995    singleton.show(references[index + 1] || first);
4996  };
4997
4998  singleton.showPrevious = function () {
4999    var last = references[references.length - 1];
5000
5001    if (!currentTarget) {
5002      return singleton.show(last);
5003    }
5004
5005    var index = references.indexOf(currentTarget);
5006    var target = references[index - 1] || last;
5007    singleton.show(target);
5008  };
5009
5010  var originalSetProps = singleton.setProps;
5011
5012  singleton.setProps = function (props) {
5013    overrides = props.overrides || overrides;
5014    originalSetProps(props);
5015  };
5016
5017  singleton.setInstances = function (nextInstances) {
5018    enableInstances(true);
5019    interceptSetPropsCleanups.forEach(function (fn) {
5020      return fn();
5021    });
5022    individualInstances = nextInstances;
5023    enableInstances(false);
5024    setReferences();
5025    setTriggerTargets();
5026    interceptSetPropsCleanups = interceptSetProps(singleton);
5027    singleton.setProps({
5028      triggerTarget: triggerTargets
5029    });
5030  };
5031
5032  interceptSetPropsCleanups = interceptSetProps(singleton);
5033  return singleton;
5034};
5035
5036var BUBBLING_EVENTS_MAP = {
5037  mouseover: 'mouseenter',
5038  focusin: 'focus',
5039  click: 'click'
5040};
5041/**
5042 * Creates a delegate instance that controls the creation of tippy instances
5043 * for child elements (`target` CSS selector).
5044 */
5045
5046function delegate(targets, props) {
5047  /* istanbul ignore else */
5048  if (true) {
5049    errorWhen(!(props && props.target), ['You must specity a `target` prop indicating a CSS selector string matching', 'the target elements that should receive a tippy.'].join(' '));
5050  }
5051
5052  var listeners = [];
5053  var childTippyInstances = [];
5054  var disabled = false;
5055  var target = props.target;
5056  var nativeProps = removeProperties(props, ['target']);
5057  var parentProps = Object.assign({}, nativeProps, {
5058    trigger: 'manual',
5059    touch: false
5060  });
5061  var childProps = Object.assign({
5062    touch: defaultProps.touch
5063  }, nativeProps, {
5064    showOnCreate: true
5065  });
5066  var returnValue = tippy(targets, parentProps);
5067  var normalizedReturnValue = normalizeToArray(returnValue);
5068
5069  function onTrigger(event) {
5070    if (!event.target || disabled) {
5071      return;
5072    }
5073
5074    var targetNode = event.target.closest(target);
5075
5076    if (!targetNode) {
5077      return;
5078    } // Get relevant trigger with fallbacks:
5079    // 1. Check `data-tippy-trigger` attribute on target node
5080    // 2. Fallback to `trigger` passed to `delegate()`
5081    // 3. Fallback to `defaultProps.trigger`
5082
5083
5084    var trigger = targetNode.getAttribute('data-tippy-trigger') || props.trigger || defaultProps.trigger; // @ts-ignore
5085
5086    if (targetNode._tippy) {
5087      return;
5088    }
5089
5090    if (event.type === 'touchstart' && typeof childProps.touch === 'boolean') {
5091      return;
5092    }
5093
5094    if (event.type !== 'touchstart' && trigger.indexOf(BUBBLING_EVENTS_MAP[event.type]) < 0) {
5095      return;
5096    }
5097
5098    var instance = tippy(targetNode, childProps);
5099
5100    if (instance) {
5101      childTippyInstances = childTippyInstances.concat(instance);
5102    }
5103  }
5104
5105  function on(node, eventType, handler, options) {
5106    if (options === void 0) {
5107      options = false;
5108    }
5109
5110    node.addEventListener(eventType, handler, options);
5111    listeners.push({
5112      node: node,
5113      eventType: eventType,
5114      handler: handler,
5115      options: options
5116    });
5117  }
5118
5119  function addEventListeners(instance) {
5120    var reference = instance.reference;
5121    on(reference, 'touchstart', onTrigger, TOUCH_OPTIONS);
5122    on(reference, 'mouseover', onTrigger);
5123    on(reference, 'focusin', onTrigger);
5124    on(reference, 'click', onTrigger);
5125  }
5126
5127  function removeEventListeners() {
5128    listeners.forEach(function (_ref) {
5129      var node = _ref.node,
5130          eventType = _ref.eventType,
5131          handler = _ref.handler,
5132          options = _ref.options;
5133      node.removeEventListener(eventType, handler, options);
5134    });
5135    listeners = [];
5136  }
5137
5138  function applyMutations(instance) {
5139    var originalDestroy = instance.destroy;
5140    var originalEnable = instance.enable;
5141    var originalDisable = instance.disable;
5142
5143    instance.destroy = function (shouldDestroyChildInstances) {
5144      if (shouldDestroyChildInstances === void 0) {
5145        shouldDestroyChildInstances = true;
5146      }
5147
5148      if (shouldDestroyChildInstances) {
5149        childTippyInstances.forEach(function (instance) {
5150          instance.destroy();
5151        });
5152      }
5153
5154      childTippyInstances = [];
5155      removeEventListeners();
5156      originalDestroy();
5157    };
5158
5159    instance.enable = function () {
5160      originalEnable();
5161      childTippyInstances.forEach(function (instance) {
5162        return instance.enable();
5163      });
5164      disabled = false;
5165    };
5166
5167    instance.disable = function () {
5168      originalDisable();
5169      childTippyInstances.forEach(function (instance) {
5170        return instance.disable();
5171      });
5172      disabled = true;
5173    };
5174
5175    addEventListeners(instance);
5176  }
5177
5178  normalizedReturnValue.forEach(applyMutations);
5179  return returnValue;
5180}
5181
5182var animateFill = {
5183  name: 'animateFill',
5184  defaultValue: false,
5185  fn: function fn(instance) {
5186    var _instance$props$rende;
5187
5188    // @ts-ignore
5189    if (!((_instance$props$rende = instance.props.render) != null && _instance$props$rende.$$tippy)) {
5190      if (true) {
5191        errorWhen(instance.props.animateFill, 'The `animateFill` plugin requires the default render function.');
5192      }
5193
5194      return {};
5195    }
5196
5197    var _getChildren = getChildren(instance.popper),
5198        box = _getChildren.box,
5199        content = _getChildren.content;
5200
5201    var backdrop = instance.props.animateFill ? createBackdropElement() : null;
5202    return {
5203      onCreate: function onCreate() {
5204        if (backdrop) {
5205          box.insertBefore(backdrop, box.firstElementChild);
5206          box.setAttribute('data-animatefill', '');
5207          box.style.overflow = 'hidden';
5208          instance.setProps({
5209            arrow: false,
5210            animation: 'shift-away'
5211          });
5212        }
5213      },
5214      onMount: function onMount() {
5215        if (backdrop) {
5216          var transitionDuration = box.style.transitionDuration;
5217          var duration = Number(transitionDuration.replace('ms', '')); // The content should fade in after the backdrop has mostly filled the
5218          // tooltip element. `clip-path` is the other alternative but is not
5219          // well-supported and is buggy on some devices.
5220
5221          content.style.transitionDelay = Math.round(duration / 10) + "ms";
5222          backdrop.style.transitionDuration = transitionDuration;
5223          setVisibilityState([backdrop], 'visible');
5224        }
5225      },
5226      onShow: function onShow() {
5227        if (backdrop) {
5228          backdrop.style.transitionDuration = '0ms';
5229        }
5230      },
5231      onHide: function onHide() {
5232        if (backdrop) {
5233          setVisibilityState([backdrop], 'hidden');
5234        }
5235      }
5236    };
5237  }
5238};
5239
5240function createBackdropElement() {
5241  var backdrop = div();
5242  backdrop.className = BACKDROP_CLASS;
5243  setVisibilityState([backdrop], 'hidden');
5244  return backdrop;
5245}
5246
5247var mouseCoords = {
5248  clientX: 0,
5249  clientY: 0
5250};
5251var activeInstances = [];
5252
5253function storeMouseCoords(_ref) {
5254  var clientX = _ref.clientX,
5255      clientY = _ref.clientY;
5256  mouseCoords = {
5257    clientX: clientX,
5258    clientY: clientY
5259  };
5260}
5261
5262function addMouseCoordsListener(doc) {
5263  doc.addEventListener('mousemove', storeMouseCoords);
5264}
5265
5266function removeMouseCoordsListener(doc) {
5267  doc.removeEventListener('mousemove', storeMouseCoords);
5268}
5269
5270var followCursor = {
5271  name: 'followCursor',
5272  defaultValue: false,
5273  fn: function fn(instance) {
5274    var reference = instance.reference;
5275    var doc = getOwnerDocument(instance.props.triggerTarget || reference);
5276    var isInternalUpdate = false;
5277    var wasFocusEvent = false;
5278    var isUnmounted = true;
5279    var prevProps = instance.props;
5280
5281    function getIsInitialBehavior() {
5282      return instance.props.followCursor === 'initial' && instance.state.isVisible;
5283    }
5284
5285    function addListener() {
5286      doc.addEventListener('mousemove', onMouseMove);
5287    }
5288
5289    function removeListener() {
5290      doc.removeEventListener('mousemove', onMouseMove);
5291    }
5292
5293    function unsetGetReferenceClientRect() {
5294      isInternalUpdate = true;
5295      instance.setProps({
5296        getReferenceClientRect: null
5297      });
5298      isInternalUpdate = false;
5299    }
5300
5301    function onMouseMove(event) {
5302      // If the instance is interactive, avoid updating the position unless it's
5303      // over the reference element
5304      var isCursorOverReference = event.target ? reference.contains(event.target) : true;
5305      var followCursor = instance.props.followCursor;
5306      var clientX = event.clientX,
5307          clientY = event.clientY;
5308      var rect = reference.getBoundingClientRect();
5309      var relativeX = clientX - rect.left;
5310      var relativeY = clientY - rect.top;
5311
5312      if (isCursorOverReference || !instance.props.interactive) {
5313        instance.setProps({
5314          // @ts-ignore - unneeded DOMRect properties
5315          getReferenceClientRect: function getReferenceClientRect() {
5316            var rect = reference.getBoundingClientRect();
5317            var x = clientX;
5318            var y = clientY;
5319
5320            if (followCursor === 'initial') {
5321              x = rect.left + relativeX;
5322              y = rect.top + relativeY;
5323            }
5324
5325            var top = followCursor === 'horizontal' ? rect.top : y;
5326            var right = followCursor === 'vertical' ? rect.right : x;
5327            var bottom = followCursor === 'horizontal' ? rect.bottom : y;
5328            var left = followCursor === 'vertical' ? rect.left : x;
5329            return {
5330              width: right - left,
5331              height: bottom - top,
5332              top: top,
5333              right: right,
5334              bottom: bottom,
5335              left: left
5336            };
5337          }
5338        });
5339      }
5340    }
5341
5342    function create() {
5343      if (instance.props.followCursor) {
5344        activeInstances.push({
5345          instance: instance,
5346          doc: doc
5347        });
5348        addMouseCoordsListener(doc);
5349      }
5350    }
5351
5352    function destroy() {
5353      activeInstances = activeInstances.filter(function (data) {
5354        return data.instance !== instance;
5355      });
5356
5357      if (activeInstances.filter(function (data) {
5358        return data.doc === doc;
5359      }).length === 0) {
5360        removeMouseCoordsListener(doc);
5361      }
5362    }
5363
5364    return {
5365      onCreate: create,
5366      onDestroy: destroy,
5367      onBeforeUpdate: function onBeforeUpdate() {
5368        prevProps = instance.props;
5369      },
5370      onAfterUpdate: function onAfterUpdate(_, _ref2) {
5371        var followCursor = _ref2.followCursor;
5372
5373        if (isInternalUpdate) {
5374          return;
5375        }
5376
5377        if (followCursor !== undefined && prevProps.followCursor !== followCursor) {
5378          destroy();
5379
5380          if (followCursor) {
5381            create();
5382
5383            if (instance.state.isMounted && !wasFocusEvent && !getIsInitialBehavior()) {
5384              addListener();
5385            }
5386          } else {
5387            removeListener();
5388            unsetGetReferenceClientRect();
5389          }
5390        }
5391      },
5392      onMount: function onMount() {
5393        if (instance.props.followCursor && !wasFocusEvent) {
5394          if (isUnmounted) {
5395            onMouseMove(mouseCoords);
5396            isUnmounted = false;
5397          }
5398
5399          if (!getIsInitialBehavior()) {
5400            addListener();
5401          }
5402        }
5403      },
5404      onTrigger: function onTrigger(_, event) {
5405        if (isMouseEvent(event)) {
5406          mouseCoords = {
5407            clientX: event.clientX,
5408            clientY: event.clientY
5409          };
5410        }
5411
5412        wasFocusEvent = event.type === 'focus';
5413      },
5414      onHidden: function onHidden() {
5415        if (instance.props.followCursor) {
5416          unsetGetReferenceClientRect();
5417          removeListener();
5418          isUnmounted = true;
5419        }
5420      }
5421    };
5422  }
5423};
5424
5425function getProps(props, modifier) {
5426  var _props$popperOptions;
5427
5428  return {
5429    popperOptions: Object.assign({}, props.popperOptions, {
5430      modifiers: [].concat((((_props$popperOptions = props.popperOptions) == null ? void 0 : _props$popperOptions.modifiers) || []).filter(function (_ref) {
5431        var name = _ref.name;
5432        return name !== modifier.name;
5433      }), [modifier])
5434    })
5435  };
5436}
5437
5438var inlinePositioning = {
5439  name: 'inlinePositioning',
5440  defaultValue: false,
5441  fn: function fn(instance) {
5442    var reference = instance.reference;
5443
5444    function isEnabled() {
5445      return !!instance.props.inlinePositioning;
5446    }
5447
5448    var placement;
5449    var cursorRectIndex = -1;
5450    var isInternalUpdate = false;
5451    var triedPlacements = [];
5452    var modifier = {
5453      name: 'tippyInlinePositioning',
5454      enabled: true,
5455      phase: 'afterWrite',
5456      fn: function fn(_ref2) {
5457        var state = _ref2.state;
5458
5459        if (isEnabled()) {
5460          if (triedPlacements.indexOf(state.placement) !== -1) {
5461            triedPlacements = [];
5462          }
5463
5464          if (placement !== state.placement && triedPlacements.indexOf(state.placement) === -1) {
5465            triedPlacements.push(state.placement);
5466            instance.setProps({
5467              // @ts-ignore - unneeded DOMRect properties
5468              getReferenceClientRect: function getReferenceClientRect() {
5469                return _getReferenceClientRect(state.placement);
5470              }
5471            });
5472          }
5473
5474          placement = state.placement;
5475        }
5476      }
5477    };
5478
5479    function _getReferenceClientRect(placement) {
5480      return getInlineBoundingClientRect(getBasePlacement(placement), reference.getBoundingClientRect(), arrayFrom(reference.getClientRects()), cursorRectIndex);
5481    }
5482
5483    function setInternalProps(partialProps) {
5484      isInternalUpdate = true;
5485      instance.setProps(partialProps);
5486      isInternalUpdate = false;
5487    }
5488
5489    function addModifier() {
5490      if (!isInternalUpdate) {
5491        setInternalProps(getProps(instance.props, modifier));
5492      }
5493    }
5494
5495    return {
5496      onCreate: addModifier,
5497      onAfterUpdate: addModifier,
5498      onTrigger: function onTrigger(_, event) {
5499        if (isMouseEvent(event)) {
5500          var rects = arrayFrom(instance.reference.getClientRects());
5501          var cursorRect = rects.find(function (rect) {
5502            return rect.left - 2 <= event.clientX && rect.right + 2 >= event.clientX && rect.top - 2 <= event.clientY && rect.bottom + 2 >= event.clientY;
5503          });
5504          var index = rects.indexOf(cursorRect);
5505          cursorRectIndex = index > -1 ? index : cursorRectIndex;
5506        }
5507      },
5508      onHidden: function onHidden() {
5509        cursorRectIndex = -1;
5510      }
5511    };
5512  }
5513};
5514function getInlineBoundingClientRect(currentBasePlacement, boundingRect, clientRects, cursorRectIndex) {
5515  // Not an inline element, or placement is not yet known
5516  if (clientRects.length < 2 || currentBasePlacement === null) {
5517    return boundingRect;
5518  } // There are two rects and they are disjoined
5519
5520
5521  if (clientRects.length === 2 && cursorRectIndex >= 0 && clientRects[0].left > clientRects[1].right) {
5522    return clientRects[cursorRectIndex] || boundingRect;
5523  }
5524
5525  switch (currentBasePlacement) {
5526    case 'top':
5527    case 'bottom':
5528      {
5529        var firstRect = clientRects[0];
5530        var lastRect = clientRects[clientRects.length - 1];
5531        var isTop = currentBasePlacement === 'top';
5532        var top = firstRect.top;
5533        var bottom = lastRect.bottom;
5534        var left = isTop ? firstRect.left : lastRect.left;
5535        var right = isTop ? firstRect.right : lastRect.right;
5536        var width = right - left;
5537        var height = bottom - top;
5538        return {
5539          top: top,
5540          bottom: bottom,
5541          left: left,
5542          right: right,
5543          width: width,
5544          height: height
5545        };
5546      }
5547
5548    case 'left':
5549    case 'right':
5550      {
5551        var minLeft = Math.min.apply(Math, clientRects.map(function (rects) {
5552          return rects.left;
5553        }));
5554        var maxRight = Math.max.apply(Math, clientRects.map(function (rects) {
5555          return rects.right;
5556        }));
5557        var measureRects = clientRects.filter(function (rect) {
5558          return currentBasePlacement === 'left' ? rect.left === minLeft : rect.right === maxRight;
5559        });
5560        var _top = measureRects[0].top;
5561        var _bottom = measureRects[measureRects.length - 1].bottom;
5562        var _left = minLeft;
5563        var _right = maxRight;
5564
5565        var _width = _right - _left;
5566
5567        var _height = _bottom - _top;
5568
5569        return {
5570          top: _top,
5571          bottom: _bottom,
5572          left: _left,
5573          right: _right,
5574          width: _width,
5575          height: _height
5576        };
5577      }
5578
5579    default:
5580      {
5581        return boundingRect;
5582      }
5583  }
5584}
5585
5586var sticky = {
5587  name: 'sticky',
5588  defaultValue: false,
5589  fn: function fn(instance) {
5590    var reference = instance.reference,
5591        popper = instance.popper;
5592
5593    function getReference() {
5594      return instance.popperInstance ? instance.popperInstance.state.elements.reference : reference;
5595    }
5596
5597    function shouldCheck(value) {
5598      return instance.props.sticky === true || instance.props.sticky === value;
5599    }
5600
5601    var prevRefRect = null;
5602    var prevPopRect = null;
5603
5604    function updatePosition() {
5605      var currentRefRect = shouldCheck('reference') ? getReference().getBoundingClientRect() : null;
5606      var currentPopRect = shouldCheck('popper') ? popper.getBoundingClientRect() : null;
5607
5608      if (currentRefRect && areRectsDifferent(prevRefRect, currentRefRect) || currentPopRect && areRectsDifferent(prevPopRect, currentPopRect)) {
5609        if (instance.popperInstance) {
5610          instance.popperInstance.update();
5611        }
5612      }
5613
5614      prevRefRect = currentRefRect;
5615      prevPopRect = currentPopRect;
5616
5617      if (instance.state.isMounted) {
5618        requestAnimationFrame(updatePosition);
5619      }
5620    }
5621
5622    return {
5623      onMount: function onMount() {
5624        if (instance.props.sticky) {
5625          updatePosition();
5626        }
5627      }
5628    };
5629  }
5630};
5631
5632function areRectsDifferent(rectA, rectB) {
5633  if (rectA && rectB) {
5634    return rectA.top !== rectB.top || rectA.right !== rectB.right || rectA.bottom !== rectB.bottom || rectA.left !== rectB.left;
5635  }
5636
5637  return true;
5638}
5639
5640tippy.setDefaultProps({
5641  render: render
5642});
5643
5644/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (tippy);
5645
5646//# sourceMappingURL=tippy.esm.js.map
5647
5648
5649/***/ })
vendor: 3,500 bytes, lines 5649-5737
5649
5650
5651/******/ 	});
5652/************************************************************************/
5653/******/ 	// The module cache
5654/******/ 	var __webpack_module_cache__ = {};
5655/******/ 	
5656/******/ 	// The require function
5657/******/ 	function __webpack_require__(moduleId) {
5658/******/ 		// Check if module is in cache
5659/******/ 		var cachedModule = __webpack_module_cache__[moduleId];
5660/******/ 		if (cachedModule !== undefined) {
5661/******/ 			return cachedModule.exports;
5662/******/ 		}
5663/******/ 		// Create a new module (and put it into the cache)
5664/******/ 		var module = __webpack_module_cache__[moduleId] = {
5665/******/ 			// no module.id needed
5666/******/ 			// no module.loaded needed
5667/******/ 			exports: {}
5668/******/ 		};
5669/******/ 	
5670/******/ 		// Execute the module function
5671/******/ 		__webpack_modules__[moduleId](module, module.exports, __webpack_require__);
5672/******/ 	
5673/******/ 		// Return the exports of the module
5674/******/ 		return module.exports;
5675/******/ 	}
5676/******/ 	
5677/************************************************************************/
5678/******/ 	/* webpack/runtime/define property getters */
5679/******/ 	(() => {
5680/******/ 		// define getter functions for harmony exports
5681/******/ 		__webpack_require__.d = (exports, definition) => {
5682/******/ 			for(var key in definition) {
5683/******/ 				if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
5684/******/ 					Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
5685/******/ 				}
5686/******/ 			}
5687/******/ 		};
5688/******/ 	})();
5689/******/ 	
5690/******/ 	/* webpack/runtime/hasOwnProperty shorthand */
5691/******/ 	(() => {
5692/******/ 		__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
5693/******/ 	})();
5694/******/ 	
5695/******/ 	/* webpack/runtime/make namespace object */
5696/******/ 	(() => {
5697/******/ 		// define __esModule on exports
5698/******/ 		__webpack_require__.r = (exports) => {
5699/******/ 			if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
5700/******/ 				Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
5701/******/ 			}
5702/******/ 			Object.defineProperty(exports, '__esModule', { value: true });
5703/******/ 		};
5704/******/ 	})();
5705/******/ 	
5706/************************************************************************/
5707var __webpack_exports__ = {};
5708// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
5709(() => {
5710/*!******************************************************!*\
5711  !*** ./block-editor/block-formats/tooltip/script.js ***!
5712  \******************************************************/
5713__webpack_require__.r(__webpack_exports__);
5714/* harmony import */ var tippy_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! tippy.js */ "./node_modules/tippy.js/dist/tippy.esm.js");
5715/* harmony import */ var tippy_js_dist_tippy_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tippy.js/dist/tippy.css */ "./node_modules/tippy.js/dist/tippy.css");
5716/**
5717 * External dependencies
5718 */
5719
5720
5721document.addEventListener('DOMContentLoaded', function () {
5722  (0,tippy_js__WEBPACK_IMPORTED_MODULE_1__["default"])('[data-tip]', {
5723    placement: 'top-start',
5724    maxWidth: '300px',
5725    allowHTML: true,
5726    // I'm not sure why this is needed.
5727    // https://stackoverflow.com/questions/55712386/tippy-js-not-displaying-content-from-the-data-attribute
5728    onShow(instance) {
5729      instance.setContent(instance.reference.dataset.tip);
5730    }
5731  });
5732});
5733})();
5734
5735/******/ })()
5736;
5737//# sourceMappingURL=script.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.