[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

/wp-includes/js/dist/ -> components.js (source)

   1  this["wp"] = this["wp"] || {}; this["wp"]["components"] =
   2  /******/ (function(modules) { // webpackBootstrap
   3  /******/     // The module cache
   4  /******/     var installedModules = {};
   5  /******/
   6  /******/     // The require function
   7  /******/ 	function __webpack_require__(moduleId) {
   8  /******/
   9  /******/         // Check if module is in cache
  10  /******/         if(installedModules[moduleId]) {
  11  /******/             return installedModules[moduleId].exports;
  12  /******/         }
  13  /******/         // Create a new module (and put it into the cache)
  14  /******/         var module = installedModules[moduleId] = {
  15  /******/             i: moduleId,
  16  /******/             l: false,
  17  /******/             exports: {}
  18  /******/         };
  19  /******/
  20  /******/         // Execute the module function
  21  /******/         modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
  22  /******/
  23  /******/         // Flag the module as loaded
  24  /******/         module.l = true;
  25  /******/
  26  /******/         // Return the exports of the module
  27  /******/         return module.exports;
  28  /******/     }
  29  /******/
  30  /******/
  31  /******/     // expose the modules object (__webpack_modules__)
  32  /******/     __webpack_require__.m = modules;
  33  /******/
  34  /******/     // expose the module cache
  35  /******/     __webpack_require__.c = installedModules;
  36  /******/
  37  /******/     // define getter function for harmony exports
  38  /******/     __webpack_require__.d = function(exports, name, getter) {
  39  /******/         if(!__webpack_require__.o(exports, name)) {
  40  /******/             Object.defineProperty(exports, name, { enumerable: true, get: getter });
  41  /******/         }
  42  /******/     };
  43  /******/
  44  /******/     // define __esModule on exports
  45  /******/     __webpack_require__.r = function(exports) {
  46  /******/         if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
  47  /******/             Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
  48  /******/         }
  49  /******/         Object.defineProperty(exports, '__esModule', { value: true });
  50  /******/     };
  51  /******/
  52  /******/     // create a fake namespace object
  53  /******/     // mode & 1: value is a module id, require it
  54  /******/     // mode & 2: merge all properties of value into the ns
  55  /******/     // mode & 4: return value when already ns object
  56  /******/     // mode & 8|1: behave like require
  57  /******/     __webpack_require__.t = function(value, mode) {
  58  /******/         if(mode & 1) value = __webpack_require__(value);
  59  /******/         if(mode & 8) return value;
  60  /******/         if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
  61  /******/         var ns = Object.create(null);
  62  /******/         __webpack_require__.r(ns);
  63  /******/         Object.defineProperty(ns, 'default', { enumerable: true, value: value });
  64  /******/         if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
  65  /******/         return ns;
  66  /******/     };
  67  /******/
  68  /******/     // getDefaultExport function for compatibility with non-harmony modules
  69  /******/     __webpack_require__.n = function(module) {
  70  /******/         var getter = module && module.__esModule ?
  71  /******/ 			function getDefault() { return module['default']; } :
  72  /******/ 			function getModuleExports() { return module; };
  73  /******/         __webpack_require__.d(getter, 'a', getter);
  74  /******/         return getter;
  75  /******/     };
  76  /******/
  77  /******/     // Object.prototype.hasOwnProperty.call
  78  /******/     __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
  79  /******/
  80  /******/     // __webpack_public_path__
  81  /******/     __webpack_require__.p = "";
  82  /******/
  83  /******/
  84  /******/     // Load entry module and return exports
  85  /******/     return __webpack_require__(__webpack_require__.s = "SB3u");
  86  /******/ })
  87  /************************************************************************/
  88  /******/ ({
  89  
  90  /***/ "+51k":
  91  /***/ (function(module, exports, __webpack_require__) {
  92  
  93  "use strict";
  94  
  95  
  96  Object.defineProperty(exports, "__esModule", {
  97    value: true
  98  });
  99  exports['default'] = getActiveElement;
 100  function getActiveElement() {
 101    return typeof document !== 'undefined' && document.activeElement;
 102  }
 103  
 104  /***/ }),
 105  
 106  /***/ "+WFq":
 107  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 108  
 109  "use strict";
 110  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return useSlot; });
 111  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
 112  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
 113  /* harmony import */ var _slot_fill_context__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("JYkG");
 114  /**
 115   * WordPress dependencies
 116   */
 117  
 118  /**
 119   * Internal dependencies
 120   */
 121  
 122  
 123  function useSlot(name) {
 124    const registry = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["useContext"])(_slot_fill_context__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"]);
 125    const slot = registry.slots[name] || {};
 126    const slotFills = registry.fills[name];
 127    const fills = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["useMemo"])(() => slotFills || [], [slotFills]);
 128    const updateSlot = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["useCallback"])(fillProps => {
 129      registry.updateSlot(name, fillProps);
 130    }, [name, registry.updateSlot]);
 131    const unregisterSlot = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["useCallback"])(slotRef => {
 132      registry.unregisterSlot(name, slotRef);
 133    }, [name, registry.unregisterSlot]);
 134    const registerFill = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["useCallback"])(fillRef => {
 135      registry.registerFill(name, fillRef);
 136    }, [name, registry.registerFill]);
 137    const unregisterFill = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["useCallback"])(fillRef => {
 138      registry.unregisterFill(name, fillRef);
 139    }, [name, registry.unregisterFill]);
 140    return { ...slot,
 141      updateSlot,
 142      unregisterSlot,
 143      fills,
 144      registerFill,
 145      unregisterFill
 146    };
 147  }
 148  
 149  
 150  /***/ }),
 151  
 152  /***/ "+ipW":
 153  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 154  
 155  "use strict";
 156  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return canUseDOM; });
 157  /* harmony import */ var _getWindow_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("SyVe");
 158  
 159  
 160  
 161  function checkIsBrowser() {
 162    var _window = Object(_getWindow_js__WEBPACK_IMPORTED_MODULE_0__[/* getWindow */ "a"])();
 163  
 164    return Boolean(typeof _window !== "undefined" && _window.document && _window.document.createElement);
 165  }
 166  /**
 167   * It's `true` if it is running in a browser environment or `false` if it is not (SSR).
 168   *
 169   * @example
 170   * import { canUseDOM } from "reakit-utils";
 171   *
 172   * const title = canUseDOM ? document.title : "";
 173   */
 174  
 175  
 176  var canUseDOM = checkIsBrowser();
 177  
 178  
 179  
 180  
 181  /***/ }),
 182  
 183  /***/ "/9aa":
 184  /***/ (function(module, exports, __webpack_require__) {
 185  
 186  var baseGetTag = __webpack_require__("NykK"),
 187      isObjectLike = __webpack_require__("ExA7");
 188  
 189  /** `Object#toString` result references. */
 190  var symbolTag = '[object Symbol]';
 191  
 192  /**
 193   * Checks if `value` is classified as a `Symbol` primitive or object.
 194   *
 195   * @static
 196   * @memberOf _
 197   * @since 4.0.0
 198   * @category Lang
 199   * @param {*} value The value to check.
 200   * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.
 201   * @example
 202   *
 203   * _.isSymbol(Symbol.iterator);
 204   * // => true
 205   *
 206   * _.isSymbol('abc');
 207   * // => false
 208   */
 209  function isSymbol(value) {
 210    return typeof value == 'symbol' ||
 211      (isObjectLike(value) && baseGetTag(value) == symbolTag);
 212  }
 213  
 214  module.exports = isSymbol;
 215  
 216  
 217  /***/ }),
 218  
 219  /***/ "/ZKw":
 220  /***/ (function(module, exports, __webpack_require__) {
 221  
 222  "use strict";
 223  
 224  
 225  var define = __webpack_require__("82c2");
 226  var callBind = __webpack_require__("PrET");
 227  
 228  var implementation = __webpack_require__("yN6O");
 229  var getPolyfill = __webpack_require__("22yB");
 230  var polyfill = getPolyfill();
 231  var shim = __webpack_require__("v3P4");
 232  
 233  var boundFlat = callBind(polyfill);
 234  
 235  define(boundFlat, {
 236      getPolyfill: getPolyfill,
 237      implementation: implementation,
 238      shim: shim
 239  });
 240  
 241  module.exports = boundFlat;
 242  
 243  
 244  /***/ }),
 245  
 246  /***/ "/sVA":
 247  /***/ (function(module, exports, __webpack_require__) {
 248  
 249  "use strict";
 250  
 251  
 252  var toStr = Object.prototype.toString;
 253  var hasSymbols = __webpack_require__("UVaH")();
 254  
 255  if (hasSymbols) {
 256      var symToStr = Symbol.prototype.toString;
 257      var symStringRegex = /^Symbol\(.*\)$/;
 258      var isSymbolObject = function isRealSymbolObject(value) {
 259          if (typeof value.valueOf() !== 'symbol') {
 260              return false;
 261          }
 262          return symStringRegex.test(symToStr.call(value));
 263      };
 264  
 265      module.exports = function isSymbol(value) {
 266          if (typeof value === 'symbol') {
 267              return true;
 268          }
 269          if (toStr.call(value) !== '[object Symbol]') {
 270              return false;
 271          }
 272          try {
 273              return isSymbolObject(value);
 274          } catch (e) {
 275              return false;
 276          }
 277      };
 278  } else {
 279  
 280      module.exports = function isSymbol(value) {
 281          // this environment does not support Symbols.
 282          return  false && false;
 283      };
 284  }
 285  
 286  
 287  /***/ }),
 288  
 289  /***/ 0:
 290  /***/ (function(module, exports) {
 291  
 292  /* (ignored) */
 293  
 294  /***/ }),
 295  
 296  /***/ "030x":
 297  /***/ (function(module, exports, __webpack_require__) {
 298  
 299  "use strict";
 300  
 301  
 302  Object.defineProperty(exports, "__esModule", {
 303    value: true
 304  });
 305  var styleInterface = void 0;
 306  var styleTheme = void 0;
 307  
 308  var START_MARK = 'react-with-styles.resolve.start';
 309  var END_MARK = 'react-with-styles.resolve.end';
 310  var MEASURE_MARK = '\uD83D\uDC69\u200D\uD83C\uDFA8 [resolve]';
 311  
 312  function registerTheme(theme) {
 313    styleTheme = theme;
 314  }
 315  
 316  function registerInterface(interfaceToRegister) {
 317    styleInterface = interfaceToRegister;
 318  }
 319  
 320  function create(makeFromTheme, createWithDirection) {
 321    var styles = createWithDirection(makeFromTheme(styleTheme));
 322    return function () {
 323      return styles;
 324    };
 325  }
 326  
 327  function createLTR(makeFromTheme) {
 328    return create(makeFromTheme, styleInterface.createLTR || styleInterface.create);
 329  }
 330  
 331  function createRTL(makeFromTheme) {
 332    return create(makeFromTheme, styleInterface.createRTL || styleInterface.create);
 333  }
 334  
 335  function get() {
 336    return styleTheme;
 337  }
 338  
 339  function resolve() {
 340    if (false) {}
 341  
 342    for (var _len = arguments.length, styles = Array(_len), _key = 0; _key < _len; _key++) {
 343      styles[_key] = arguments[_key];
 344    }
 345  
 346    var result = styleInterface.resolve(styles);
 347  
 348    if (false) {}
 349  
 350    return result;
 351  }
 352  
 353  function resolveLTR() {
 354    for (var _len2 = arguments.length, styles = Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
 355      styles[_key2] = arguments[_key2];
 356    }
 357  
 358    if (styleInterface.resolveLTR) {
 359      return styleInterface.resolveLTR(styles);
 360    }
 361  
 362    return resolve(styles);
 363  }
 364  
 365  function resolveRTL() {
 366    for (var _len3 = arguments.length, styles = Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {
 367      styles[_key3] = arguments[_key3];
 368    }
 369  
 370    if (styleInterface.resolveRTL) {
 371      return styleInterface.resolveRTL(styles);
 372    }
 373  
 374    return resolve(styles);
 375  }
 376  
 377  function flush() {
 378    if (styleInterface.flush) {
 379      styleInterface.flush();
 380    }
 381  }
 382  
 383  exports['default'] = {
 384    registerTheme: registerTheme,
 385    registerInterface: registerInterface,
 386    create: createLTR,
 387    createLTR: createLTR,
 388    createRTL: createRTL,
 389    get: get,
 390    resolve: resolveLTR,
 391    resolveLTR: resolveLTR,
 392    resolveRTL: resolveRTL,
 393    flush: flush
 394  };
 395  
 396  /***/ }),
 397  
 398  /***/ "0Dl3":
 399  /***/ (function(module, exports, __webpack_require__) {
 400  
 401  "use strict";
 402  
 403  
 404  Object.defineProperty(exports, "__esModule", {
 405    value: true
 406  });
 407  exports['default'] = getNumberOfCalendarMonthWeeks;
 408  
 409  var _moment = __webpack_require__("wy2R");
 410  
 411  var _moment2 = _interopRequireDefault(_moment);
 412  
 413  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
 414  
 415  function getBlankDaysBeforeFirstDay(firstDayOfMonth, firstDayOfWeek) {
 416    var weekDayDiff = firstDayOfMonth.day() - firstDayOfWeek;
 417    return (weekDayDiff + 7) % 7;
 418  }
 419  
 420  function getNumberOfCalendarMonthWeeks(month) {
 421    var firstDayOfWeek = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : _moment2['default'].localeData().firstDayOfWeek();
 422  
 423    var firstDayOfMonth = month.clone().startOf('month');
 424    var numBlankDays = getBlankDaysBeforeFirstDay(firstDayOfMonth, firstDayOfWeek);
 425    return Math.ceil((numBlankDays + month.daysInMonth()) / 7);
 426  }
 427  
 428  /***/ }),
 429  
 430  /***/ "0HL0":
 431  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 432  
 433  "use strict";
 434  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return setTextFieldValue; });
 435  /* harmony import */ var reakit_utils_fireEvent__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("qOxZ");
 436  
 437  
 438  function setTextFieldValue(element, value) {
 439    if (element instanceof HTMLInputElement || element instanceof HTMLTextAreaElement) {
 440      var _Object$getOwnPropert;
 441  
 442      var proto = Object.getPrototypeOf(element);
 443      var setValue = (_Object$getOwnPropert = Object.getOwnPropertyDescriptor(proto, "value")) === null || _Object$getOwnPropert === void 0 ? void 0 : _Object$getOwnPropert.set;
 444  
 445      if (setValue) {
 446        setValue.call(element, value);
 447        Object(reakit_utils_fireEvent__WEBPACK_IMPORTED_MODULE_0__[/* fireEvent */ "a"])(element, "input", {
 448          bubbles: true
 449        });
 450      }
 451    }
 452  }
 453  
 454  
 455  
 456  
 457  /***/ }),
 458  
 459  /***/ "0XP8":
 460  /***/ (function(module, exports, __webpack_require__) {
 461  
 462  "use strict";
 463  
 464  
 465  Object.defineProperty(exports, "__esModule", {
 466    value: true
 467  });
 468  
 469  var _react = __webpack_require__("cDcd");
 470  
 471  var _react2 = _interopRequireDefault(_react);
 472  
 473  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
 474  
 475  var LeftArrow = function () {
 476    function LeftArrow(props) {
 477      return _react2['default'].createElement(
 478        'svg',
 479        props,
 480        _react2['default'].createElement('path', {
 481          d: 'M336.2 274.5l-210.1 210h805.4c13 0 23 10 23 23s-10 23-23 23H126.1l210.1 210.1c11 11 11 21 0 32-5 5-10 7-16 7s-11-2-16-7l-249.1-249c-11-11-11-21 0-32l249.1-249.1c21-21.1 53 10.9 32 32z'
 482        })
 483      );
 484    }
 485  
 486    return LeftArrow;
 487  }();
 488  
 489  LeftArrow.defaultProps = {
 490    viewBox: '0 0 1000 1000'
 491  };
 492  exports['default'] = LeftArrow;
 493  
 494  /***/ }),
 495  
 496  /***/ "1+Kn":
 497  /***/ (function(module, exports, __webpack_require__) {
 498  
 499  "use strict";
 500  
 501  
 502  Object.defineProperty(exports, "__esModule", {
 503    value: true
 504  });
 505  exports.BOTTOM_RIGHT = exports.TOP_RIGHT = exports.TOP_LEFT = undefined;
 506  
 507  var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
 508  
 509  var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
 510  
 511  var _object = __webpack_require__("Koq/");
 512  
 513  var _object2 = _interopRequireDefault(_object);
 514  
 515  var _react = __webpack_require__("cDcd");
 516  
 517  var _react2 = _interopRequireDefault(_react);
 518  
 519  var _propTypes = __webpack_require__("17x9");
 520  
 521  var _propTypes2 = _interopRequireDefault(_propTypes);
 522  
 523  var _airbnbPropTypes = __webpack_require__("Hsqg");
 524  
 525  var _reactWithStyles = __webpack_require__("TG4+");
 526  
 527  var _defaultPhrases = __webpack_require__("vV+G");
 528  
 529  var _getPhrasePropTypes = __webpack_require__("yc2e");
 530  
 531  var _getPhrasePropTypes2 = _interopRequireDefault(_getPhrasePropTypes);
 532  
 533  var _KeyboardShortcutRow = __webpack_require__("zN8g");
 534  
 535  var _KeyboardShortcutRow2 = _interopRequireDefault(_KeyboardShortcutRow);
 536  
 537  var _CloseButton = __webpack_require__("xEte");
 538  
 539  var _CloseButton2 = _interopRequireDefault(_CloseButton);
 540  
 541  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
 542  
 543  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
 544  
 545  function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
 546  
 547  function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
 548  
 549  var TOP_LEFT = exports.TOP_LEFT = 'top-left';
 550  var TOP_RIGHT = exports.TOP_RIGHT = 'top-right';
 551  var BOTTOM_RIGHT = exports.BOTTOM_RIGHT = 'bottom-right';
 552  
 553  var propTypes = (0, _airbnbPropTypes.forbidExtraProps)((0, _object2['default'])({}, _reactWithStyles.withStylesPropTypes, {
 554    block: _propTypes2['default'].bool,
 555    buttonLocation: _propTypes2['default'].oneOf([TOP_LEFT, TOP_RIGHT, BOTTOM_RIGHT]),
 556    showKeyboardShortcutsPanel: _propTypes2['default'].bool,
 557    openKeyboardShortcutsPanel: _propTypes2['default'].func,
 558    closeKeyboardShortcutsPanel: _propTypes2['default'].func,
 559    phrases: _propTypes2['default'].shape((0, _getPhrasePropTypes2['default'])(_defaultPhrases.DayPickerKeyboardShortcutsPhrases))
 560  }));
 561  
 562  var defaultProps = {
 563    block: false,
 564    buttonLocation: BOTTOM_RIGHT,
 565    showKeyboardShortcutsPanel: false,
 566    openKeyboardShortcutsPanel: function () {
 567      function openKeyboardShortcutsPanel() {}
 568  
 569      return openKeyboardShortcutsPanel;
 570    }(),
 571    closeKeyboardShortcutsPanel: function () {
 572      function closeKeyboardShortcutsPanel() {}
 573  
 574      return closeKeyboardShortcutsPanel;
 575    }(),
 576  
 577    phrases: _defaultPhrases.DayPickerKeyboardShortcutsPhrases
 578  };
 579  
 580  function getKeyboardShortcuts(phrases) {
 581    return [{
 582      unicode: '↵',
 583      label: phrases.enterKey,
 584      action: phrases.selectFocusedDate
 585    }, {
 586      unicode: '←/→',
 587      label: phrases.leftArrowRightArrow,
 588      action: phrases.moveFocusByOneDay
 589    }, {
 590      unicode: '↑/↓',
 591      label: phrases.upArrowDownArrow,
 592      action: phrases.moveFocusByOneWeek
 593    }, {
 594      unicode: 'PgUp/PgDn',
 595      label: phrases.pageUpPageDown,
 596      action: phrases.moveFocusByOneMonth
 597    }, {
 598      unicode: 'Home/End',
 599      label: phrases.homeEnd,
 600      action: phrases.moveFocustoStartAndEndOfWeek
 601    }, {
 602      unicode: 'Esc',
 603      label: phrases.escape,
 604      action: phrases.returnFocusToInput
 605    }, {
 606      unicode: '?',
 607      label: phrases.questionMark,
 608      action: phrases.openThisPanel
 609    }];
 610  }
 611  
 612  var DayPickerKeyboardShortcuts = function (_React$Component) {
 613    _inherits(DayPickerKeyboardShortcuts, _React$Component);
 614  
 615    function DayPickerKeyboardShortcuts() {
 616      var _ref;
 617  
 618      _classCallCheck(this, DayPickerKeyboardShortcuts);
 619  
 620      for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
 621        args[_key] = arguments[_key];
 622      }
 623  
 624      var _this = _possibleConstructorReturn(this, (_ref = DayPickerKeyboardShortcuts.__proto__ || Object.getPrototypeOf(DayPickerKeyboardShortcuts)).call.apply(_ref, [this].concat(args)));
 625  
 626      var phrases = _this.props.phrases;
 627  
 628      _this.keyboardShortcuts = getKeyboardShortcuts(phrases);
 629  
 630      _this.onShowKeyboardShortcutsButtonClick = _this.onShowKeyboardShortcutsButtonClick.bind(_this);
 631      _this.setShowKeyboardShortcutsButtonRef = _this.setShowKeyboardShortcutsButtonRef.bind(_this);
 632      _this.setHideKeyboardShortcutsButtonRef = _this.setHideKeyboardShortcutsButtonRef.bind(_this);
 633      _this.handleFocus = _this.handleFocus.bind(_this);
 634      _this.onKeyDown = _this.onKeyDown.bind(_this);
 635      return _this;
 636    }
 637  
 638    _createClass(DayPickerKeyboardShortcuts, [{
 639      key: 'componentWillReceiveProps',
 640      value: function () {
 641        function componentWillReceiveProps(nextProps) {
 642          var phrases = this.props.phrases;
 643  
 644          if (nextProps.phrases !== phrases) {
 645            this.keyboardShortcuts = getKeyboardShortcuts(nextProps.phrases);
 646          }
 647        }
 648  
 649        return componentWillReceiveProps;
 650      }()
 651    }, {
 652      key: 'componentDidUpdate',
 653      value: function () {
 654        function componentDidUpdate() {
 655          this.handleFocus();
 656        }
 657  
 658        return componentDidUpdate;
 659      }()
 660    }, {
 661      key: 'onKeyDown',
 662      value: function () {
 663        function onKeyDown(e) {
 664          e.stopPropagation();
 665  
 666          var closeKeyboardShortcutsPanel = this.props.closeKeyboardShortcutsPanel;
 667          // Because the close button is the only focusable element inside of the panel, this
 668          // amounts to a very basic focus trap. The user can exit the panel by "pressing" the
 669          // close button or hitting escape
 670  
 671          switch (e.key) {
 672            case 'Enter':
 673            case ' ':
 674            case 'Spacebar': // for older browsers
 675            case 'Escape':
 676              closeKeyboardShortcutsPanel();
 677              break;
 678  
 679            // do nothing - this allows the up and down arrows continue their
 680            // default behavior of scrolling the content of the Keyboard Shortcuts Panel
 681            // which is needed when only a single month is shown for instance.
 682            case 'ArrowUp':
 683            case 'ArrowDown':
 684              break;
 685  
 686            // completely block the rest of the keys that have functionality outside of this panel
 687            case 'Tab':
 688            case 'Home':
 689            case 'End':
 690            case 'PageUp':
 691            case 'PageDown':
 692            case 'ArrowLeft':
 693            case 'ArrowRight':
 694              e.preventDefault();
 695              break;
 696  
 697            default:
 698              break;
 699          }
 700        }
 701  
 702        return onKeyDown;
 703      }()
 704    }, {
 705      key: 'onShowKeyboardShortcutsButtonClick',
 706      value: function () {
 707        function onShowKeyboardShortcutsButtonClick() {
 708          var _this2 = this;
 709  
 710          var openKeyboardShortcutsPanel = this.props.openKeyboardShortcutsPanel;
 711  
 712          // we want to return focus to this button after closing the keyboard shortcuts panel
 713  
 714          openKeyboardShortcutsPanel(function () {
 715            _this2.showKeyboardShortcutsButton.focus();
 716          });
 717        }
 718  
 719        return onShowKeyboardShortcutsButtonClick;
 720      }()
 721    }, {
 722      key: 'setShowKeyboardShortcutsButtonRef',
 723      value: function () {
 724        function setShowKeyboardShortcutsButtonRef(ref) {
 725          this.showKeyboardShortcutsButton = ref;
 726        }
 727  
 728        return setShowKeyboardShortcutsButtonRef;
 729      }()
 730    }, {
 731      key: 'setHideKeyboardShortcutsButtonRef',
 732      value: function () {
 733        function setHideKeyboardShortcutsButtonRef(ref) {
 734          this.hideKeyboardShortcutsButton = ref;
 735        }
 736  
 737        return setHideKeyboardShortcutsButtonRef;
 738      }()
 739    }, {
 740      key: 'handleFocus',
 741      value: function () {
 742        function handleFocus() {
 743          if (this.hideKeyboardShortcutsButton) {
 744            // automatically move focus into the dialog by moving
 745            // to the only interactive element, the hide button
 746            this.hideKeyboardShortcutsButton.focus();
 747          }
 748        }
 749  
 750        return handleFocus;
 751      }()
 752    }, {
 753      key: 'render',
 754      value: function () {
 755        function render() {
 756          var _this3 = this;
 757  
 758          var _props = this.props,
 759              block = _props.block,
 760              buttonLocation = _props.buttonLocation,
 761              showKeyboardShortcutsPanel = _props.showKeyboardShortcutsPanel,
 762              closeKeyboardShortcutsPanel = _props.closeKeyboardShortcutsPanel,
 763              styles = _props.styles,
 764              phrases = _props.phrases;
 765  
 766  
 767          var toggleButtonText = showKeyboardShortcutsPanel ? phrases.hideKeyboardShortcutsPanel : phrases.showKeyboardShortcutsPanel;
 768  
 769          var bottomRight = buttonLocation === BOTTOM_RIGHT;
 770          var topRight = buttonLocation === TOP_RIGHT;
 771          var topLeft = buttonLocation === TOP_LEFT;
 772  
 773          return _react2['default'].createElement(
 774            'div',
 775            null,
 776            _react2['default'].createElement(
 777              'button',
 778              _extends({
 779                ref: this.setShowKeyboardShortcutsButtonRef
 780              }, (0, _reactWithStyles.css)(styles.DayPickerKeyboardShortcuts_buttonReset, styles.DayPickerKeyboardShortcuts_show, bottomRight && styles.DayPickerKeyboardShortcuts_show__bottomRight, topRight && styles.DayPickerKeyboardShortcuts_show__topRight, topLeft && styles.DayPickerKeyboardShortcuts_show__topLeft), {
 781                type: 'button',
 782                'aria-label': toggleButtonText,
 783                onClick: this.onShowKeyboardShortcutsButtonClick,
 784                onKeyDown: function () {
 785                  function onKeyDown(e) {
 786                    if (e.key === 'Enter') {
 787                      e.preventDefault();
 788                    } else if (e.key === 'Space') {
 789                      _this3.onShowKeyboardShortcutsButtonClick(e);
 790                    }
 791                  }
 792  
 793                  return onKeyDown;
 794                }(),
 795                onMouseUp: function () {
 796                  function onMouseUp(e) {
 797                    e.currentTarget.blur();
 798                  }
 799  
 800                  return onMouseUp;
 801                }()
 802              }),
 803              _react2['default'].createElement(
 804                'span',
 805                (0, _reactWithStyles.css)(styles.DayPickerKeyboardShortcuts_showSpan, bottomRight && styles.DayPickerKeyboardShortcuts_showSpan__bottomRight, topRight && styles.DayPickerKeyboardShortcuts_showSpan__topRight, topLeft && styles.DayPickerKeyboardShortcuts_showSpan__topLeft),
 806                '?'
 807              )
 808            ),
 809            showKeyboardShortcutsPanel && _react2['default'].createElement(
 810              'div',
 811              _extends({}, (0, _reactWithStyles.css)(styles.DayPickerKeyboardShortcuts_panel), {
 812                role: 'dialog',
 813                'aria-labelledby': 'DayPickerKeyboardShortcuts_title',
 814                'aria-describedby': 'DayPickerKeyboardShortcuts_description'
 815              }),
 816              _react2['default'].createElement(
 817                'div',
 818                _extends({}, (0, _reactWithStyles.css)(styles.DayPickerKeyboardShortcuts_title), {
 819                  id: 'DayPickerKeyboardShortcuts_title'
 820                }),
 821                phrases.keyboardShortcuts
 822              ),
 823              _react2['default'].createElement(
 824                'button',
 825                _extends({
 826                  ref: this.setHideKeyboardShortcutsButtonRef
 827                }, (0, _reactWithStyles.css)(styles.DayPickerKeyboardShortcuts_buttonReset, styles.DayPickerKeyboardShortcuts_close), {
 828                  type: 'button',
 829                  tabIndex: '0',
 830                  'aria-label': phrases.hideKeyboardShortcutsPanel,
 831                  onClick: closeKeyboardShortcutsPanel,
 832                  onKeyDown: this.onKeyDown
 833                }),
 834                _react2['default'].createElement(_CloseButton2['default'], (0, _reactWithStyles.css)(styles.DayPickerKeyboardShortcuts_closeSvg))
 835              ),
 836              _react2['default'].createElement(
 837                'ul',
 838                _extends({}, (0, _reactWithStyles.css)(styles.DayPickerKeyboardShortcuts_list), {
 839                  id: 'DayPickerKeyboardShortcuts_description'
 840                }),
 841                this.keyboardShortcuts.map(function (_ref2) {
 842                  var unicode = _ref2.unicode,
 843                      label = _ref2.label,
 844                      action = _ref2.action;
 845                  return _react2['default'].createElement(_KeyboardShortcutRow2['default'], {
 846                    key: label,
 847                    unicode: unicode,
 848                    label: label,
 849                    action: action,
 850                    block: block
 851                  });
 852                })
 853              )
 854            )
 855          );
 856        }
 857  
 858        return render;
 859      }()
 860    }]);
 861  
 862    return DayPickerKeyboardShortcuts;
 863  }(_react2['default'].Component);
 864  
 865  DayPickerKeyboardShortcuts.propTypes = propTypes;
 866  DayPickerKeyboardShortcuts.defaultProps = defaultProps;
 867  
 868  exports['default'] = (0, _reactWithStyles.withStyles)(function (_ref3) {
 869    var _ref3$reactDates = _ref3.reactDates,
 870        color = _ref3$reactDates.color,
 871        font = _ref3$reactDates.font,
 872        zIndex = _ref3$reactDates.zIndex;
 873    return {
 874      DayPickerKeyboardShortcuts_buttonReset: {
 875        background: 'none',
 876        border: 0,
 877        borderRadius: 0,
 878        color: 'inherit',
 879        font: 'inherit',
 880        lineHeight: 'normal',
 881        overflow: 'visible',
 882        padding: 0,
 883        cursor: 'pointer',
 884        fontSize: font.size,
 885  
 886        ':active': {
 887          outline: 'none'
 888        }
 889      },
 890  
 891      DayPickerKeyboardShortcuts_show: {
 892        width: 22,
 893        position: 'absolute',
 894        zIndex: zIndex + 2
 895      },
 896  
 897      DayPickerKeyboardShortcuts_show__bottomRight: {
 898        borderTop: '26px solid transparent',
 899        borderRight: '33px solid ' + String(color.core.primary),
 900        bottom: 0,
 901        right: 0,
 902  
 903        ':hover': {
 904          borderRight: '33px solid ' + String(color.core.primary_dark)
 905        }
 906      },
 907  
 908      DayPickerKeyboardShortcuts_show__topRight: {
 909        borderBottom: '26px solid transparent',
 910        borderRight: '33px solid ' + String(color.core.primary),
 911        top: 0,
 912        right: 0,
 913  
 914        ':hover': {
 915          borderRight: '33px solid ' + String(color.core.primary_dark)
 916        }
 917      },
 918  
 919      DayPickerKeyboardShortcuts_show__topLeft: {
 920        borderBottom: '26px solid transparent',
 921        borderLeft: '33px solid ' + String(color.core.primary),
 922        top: 0,
 923        left: 0,
 924  
 925        ':hover': {
 926          borderLeft: '33px solid ' + String(color.core.primary_dark)
 927        }
 928      },
 929  
 930      DayPickerKeyboardShortcuts_showSpan: {
 931        color: color.core.white,
 932        position: 'absolute'
 933      },
 934  
 935      DayPickerKeyboardShortcuts_showSpan__bottomRight: {
 936        bottom: 0,
 937        right: -28
 938      },
 939  
 940      DayPickerKeyboardShortcuts_showSpan__topRight: {
 941        top: 1,
 942        right: -28
 943      },
 944  
 945      DayPickerKeyboardShortcuts_showSpan__topLeft: {
 946        top: 1,
 947        left: -28
 948      },
 949  
 950      DayPickerKeyboardShortcuts_panel: {
 951        overflow: 'auto',
 952        background: color.background,
 953        border: '1px solid ' + String(color.core.border),
 954        borderRadius: 2,
 955        position: 'absolute',
 956        top: 0,
 957        bottom: 0,
 958        right: 0,
 959        left: 0,
 960        zIndex: zIndex + 2,
 961        padding: 22,
 962        margin: 33
 963      },
 964  
 965      DayPickerKeyboardShortcuts_title: {
 966        fontSize: 16,
 967        fontWeight: 'bold',
 968        margin: 0
 969      },
 970  
 971      DayPickerKeyboardShortcuts_list: {
 972        listStyle: 'none',
 973        padding: 0,
 974        fontSize: font.size
 975      },
 976  
 977      DayPickerKeyboardShortcuts_close: {
 978        position: 'absolute',
 979        right: 22,
 980        top: 22,
 981        zIndex: zIndex + 2,
 982  
 983        ':active': {
 984          outline: 'none'
 985        }
 986      },
 987  
 988      DayPickerKeyboardShortcuts_closeSvg: {
 989        height: 15,
 990        width: 15,
 991        fill: color.core.grayLighter,
 992  
 993        ':hover': {
 994          fill: color.core.grayLight
 995        },
 996  
 997        ':focus': {
 998          fill: color.core.grayLight
 999        }
1000      }
1001    };
1002  })(DayPickerKeyboardShortcuts);
1003  
1004  /***/ }),
1005  
1006  /***/ "10Kj":
1007  /***/ (function(module, exports, __webpack_require__) {
1008  
1009  "use strict";
1010  
1011  
1012  var GetIntrinsic = __webpack_require__("rZ7t");
1013  
1014  var $TypeError = GetIntrinsic('%TypeError%');
1015  var $SyntaxError = GetIntrinsic('%SyntaxError%');
1016  
1017  var has = __webpack_require__("oNNP");
1018  
1019  var predicates = {
1020      // https://262.ecma-international.org/6.0/#sec-property-descriptor-specification-type
1021      'Property Descriptor': function isPropertyDescriptor(Type, Desc) {
1022          if (Type(Desc) !== 'Object') {
1023              return false;
1024          }
1025          var allowed = {
1026              '[[Configurable]]': true,
1027              '[[Enumerable]]': true,
1028              '[[Get]]': true,
1029              '[[Set]]': true,
1030              '[[Value]]': true,
1031              '[[Writable]]': true
1032          };
1033  
1034          for (var key in Desc) { // eslint-disable-line
1035              if (has(Desc, key) && !allowed[key]) {
1036                  return false;
1037              }
1038          }
1039  
1040          var isData = has(Desc, '[[Value]]');
1041          var IsAccessor = has(Desc, '[[Get]]') || has(Desc, '[[Set]]');
1042          if (isData && IsAccessor) {
1043              throw new $TypeError('Property Descriptors may not be both accessor and data descriptors');
1044          }
1045          return true;
1046      }
1047  };
1048  
1049  module.exports = function assertRecord(Type, recordType, argumentName, value) {
1050      var predicate = predicates[recordType];
1051      if (typeof predicate !== 'function') {
1052          throw new $SyntaxError('unknown record type: ' + recordType);
1053      }
1054      if (!predicate(Type, value)) {
1055          throw new $TypeError(argumentName + ' must be a ' + recordType);
1056      }
1057  };
1058  
1059  
1060  /***/ }),
1061  
1062  /***/ "16Al":
1063  /***/ (function(module, exports, __webpack_require__) {
1064  
1065  "use strict";
1066  /**
1067   * Copyright (c) 2013-present, Facebook, Inc.
1068   *
1069   * This source code is licensed under the MIT license found in the
1070   * LICENSE file in the root directory of this source tree.
1071   */
1072  
1073  
1074  
1075  var ReactPropTypesSecret = __webpack_require__("WbBG");
1076  
1077  function emptyFunction() {}
1078  function emptyFunctionWithReset() {}
1079  emptyFunctionWithReset.resetWarningCache = emptyFunction;
1080  
1081  module.exports = function() {
1082    function shim(props, propName, componentName, location, propFullName, secret) {
1083      if (secret === ReactPropTypesSecret) {
1084        // It is still safe when called from React.
1085        return;
1086      }
1087      var err = new Error(
1088        'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +
1089        'Use PropTypes.checkPropTypes() to call them. ' +
1090        'Read more at http://fb.me/use-check-prop-types'
1091      );
1092      err.name = 'Invariant Violation';
1093      throw err;
1094    };
1095    shim.isRequired = shim;
1096    function getShim() {
1097      return shim;
1098    };
1099    // Important!
1100    // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.
1101    var ReactPropTypes = {
1102      array: shim,
1103      bool: shim,
1104      func: shim,
1105      number: shim,
1106      object: shim,
1107      string: shim,
1108      symbol: shim,
1109  
1110      any: shim,
1111      arrayOf: getShim,
1112      element: shim,
1113      elementType: shim,
1114      instanceOf: getShim,
1115      node: shim,
1116      objectOf: getShim,
1117      oneOf: getShim,
1118      oneOfType: getShim,
1119      shape: getShim,
1120      exact: getShim,
1121  
1122      checkPropTypes: emptyFunctionWithReset,
1123      resetWarningCache: emptyFunction
1124    };
1125  
1126    ReactPropTypes.PropTypes = ReactPropTypes;
1127  
1128    return ReactPropTypes;
1129  };
1130  
1131  
1132  /***/ }),
1133  
1134  /***/ "17x9":
1135  /***/ (function(module, exports, __webpack_require__) {
1136  
1137  /**
1138   * Copyright (c) 2013-present, Facebook, Inc.
1139   *
1140   * This source code is licensed under the MIT license found in the
1141   * LICENSE file in the root directory of this source tree.
1142   */
1143  
1144  if (false) { var throwOnDirectAccess, ReactIs; } else {
1145    // By explicitly using `prop-types` you are opting into new production behavior.
1146    // http://fb.me/prop-types-in-prod
1147    module.exports = __webpack_require__("16Al")();
1148  }
1149  
1150  
1151  /***/ }),
1152  
1153  /***/ "1CF3":
1154  /***/ (function(module, exports) {
1155  
1156  (function() { module.exports = window["wp"]["dom"]; }());
1157  
1158  /***/ }),
1159  
1160  /***/ "1KsK":
1161  /***/ (function(module, exports, __webpack_require__) {
1162  
1163  "use strict";
1164  
1165  
1166  var toStr = Object.prototype.toString;
1167  
1168  module.exports = function isArguments(value) {
1169      var str = toStr.call(value);
1170      var isArgs = str === '[object Arguments]';
1171      if (!isArgs) {
1172          isArgs = str !== '[object Array]' &&
1173              value !== null &&
1174              typeof value === 'object' &&
1175              typeof value.length === 'number' &&
1176              value.length >= 0 &&
1177              toStr.call(value.callee) === '[object Function]';
1178      }
1179      return isArgs;
1180  };
1181  
1182  
1183  /***/ }),
1184  
1185  /***/ "1LY1":
1186  /***/ (function(module, exports, __webpack_require__) {
1187  
1188  "use strict";
1189  
1190  
1191  var bind = __webpack_require__("D3zA");
1192  var GetIntrinsic = __webpack_require__("rZ7t");
1193  
1194  var $apply = GetIntrinsic('%Function.prototype.apply%');
1195  var $call = GetIntrinsic('%Function.prototype.call%');
1196  var $reflectApply = GetIntrinsic('%Reflect.apply%', true) || bind.call($call, $apply);
1197  
1198  var $gOPD = GetIntrinsic('%Object.getOwnPropertyDescriptor%', true);
1199  var $defineProperty = GetIntrinsic('%Object.defineProperty%', true);
1200  var $max = GetIntrinsic('%Math.max%');
1201  
1202  if ($defineProperty) {
1203      try {
1204          $defineProperty({}, 'a', { value: 1 });
1205      } catch (e) {
1206          // IE 8 has a broken defineProperty
1207          $defineProperty = null;
1208      }
1209  }
1210  
1211  module.exports = function callBind(originalFunction) {
1212      var func = $reflectApply(bind, $call, arguments);
1213      if ($gOPD && $defineProperty) {
1214          var desc = $gOPD(func, 'length');
1215          if (desc.configurable) {
1216              // original length, plus the receiver, minus any additional arguments (after the receiver)
1217              $defineProperty(
1218                  func,
1219                  'length',
1220                  { value: 1 + $max(0, originalFunction.length - (arguments.length - 1)) }
1221              );
1222          }
1223      }
1224      return func;
1225  };
1226  
1227  var applyBind = function applyBind() {
1228      return $reflectApply(bind, $apply, arguments);
1229  };
1230  
1231  if ($defineProperty) {
1232      $defineProperty(module.exports, 'apply', { value: applyBind });
1233  } else {
1234      module.exports.apply = applyBind;
1235  }
1236  
1237  
1238  /***/ }),
1239  
1240  /***/ "1TsT":
1241  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1242  
1243  "use strict";
1244  __webpack_require__.r(__webpack_exports__);
1245  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "addEventListener", function() { return addEventListener; });
1246  var CAN_USE_DOM = !!(typeof window !== 'undefined' && window.document && window.document.createElement);
1247  
1248  // Adapted from Modernizr
1249  // https://github.com/Modernizr/Modernizr/blob/acb3f0d9/feature-detects/dom/passiveeventlisteners.js#L26-L37
1250  function testPassiveEventListeners() {
1251    if (!CAN_USE_DOM) {
1252      return false;
1253    }
1254  
1255    if (!window.addEventListener || !window.removeEventListener || !Object.defineProperty) {
1256      return false;
1257    }
1258  
1259    var supportsPassiveOption = false;
1260    try {
1261      var opts = Object.defineProperty({}, 'passive', {
1262        // eslint-disable-next-line getter-return
1263        get: function () {
1264          function get() {
1265            supportsPassiveOption = true;
1266          }
1267  
1268          return get;
1269        }()
1270      });
1271      var noop = function noop() {};
1272      window.addEventListener('testPassiveEventSupport', noop, opts);
1273      window.removeEventListener('testPassiveEventSupport', noop, opts);
1274    } catch (e) {
1275      // do nothing
1276    }
1277  
1278    return supportsPassiveOption;
1279  }
1280  
1281  var memoized = void 0;
1282  
1283  function canUsePassiveEventListeners() {
1284    if (memoized === undefined) {
1285      memoized = testPassiveEventListeners();
1286    }
1287    return memoized;
1288  }
1289  
1290  function normalizeEventOptions(eventOptions) {
1291    if (!eventOptions) {
1292      return undefined;
1293    }
1294  
1295    if (!canUsePassiveEventListeners()) {
1296      // If the browser does not support the passive option, then it is expecting
1297      // a boolean for the options argument to specify whether it should use
1298      // capture or not. In more modern browsers, this is passed via the `capture`
1299      // option, so let's just hoist that value up.
1300      return !!eventOptions.capture;
1301    }
1302  
1303    return eventOptions;
1304  }
1305  
1306  /* eslint-disable no-bitwise */
1307  
1308  /**
1309   * Generate a unique key for any set of event options
1310   */
1311  function eventOptionsKey(normalizedEventOptions) {
1312    if (!normalizedEventOptions) {
1313      return 0;
1314    }
1315  
1316    // If the browser does not support passive event listeners, the normalized
1317    // event options will be a boolean.
1318    if (normalizedEventOptions === true) {
1319      return 100;
1320    }
1321  
1322    // At this point, the browser supports passive event listeners, so we expect
1323    // the event options to be an object with possible properties of capture,
1324    // passive, and once.
1325    //
1326    // We want to consistently return the same value, regardless of the order of
1327    // these properties, so let's use binary maths to assign each property to a
1328    // bit, and then add those together (with an offset to account for the
1329    // booleans at the beginning of this function).
1330    var capture = normalizedEventOptions.capture << 0;
1331    var passive = normalizedEventOptions.passive << 1;
1332    var once = normalizedEventOptions.once << 2;
1333    return capture + passive + once;
1334  }
1335  
1336  function ensureCanMutateNextEventHandlers(eventHandlers) {
1337    if (eventHandlers.handlers === eventHandlers.nextHandlers) {
1338      // eslint-disable-next-line no-param-reassign
1339      eventHandlers.nextHandlers = eventHandlers.handlers.slice();
1340    }
1341  }
1342  
1343  function TargetEventHandlers(target) {
1344    this.target = target;
1345    this.events = {};
1346  }
1347  
1348  TargetEventHandlers.prototype.getEventHandlers = function () {
1349    function getEventHandlers(eventName, options) {
1350      var key = String(eventName) + ' ' + String(eventOptionsKey(options));
1351  
1352      if (!this.events[key]) {
1353        this.events[key] = {
1354          handlers: [],
1355          handleEvent: undefined
1356        };
1357        this.events[key].nextHandlers = this.events[key].handlers;
1358      }
1359  
1360      return this.events[key];
1361    }
1362  
1363    return getEventHandlers;
1364  }();
1365  
1366  TargetEventHandlers.prototype.handleEvent = function () {
1367    function handleEvent(eventName, options, event) {
1368      var eventHandlers = this.getEventHandlers(eventName, options);
1369      eventHandlers.handlers = eventHandlers.nextHandlers;
1370      eventHandlers.handlers.forEach(function (handler) {
1371        if (handler) {
1372          // We need to check for presence here because a handler function may
1373          // cause later handlers to get removed. This can happen if you for
1374          // instance have a waypoint that unmounts another waypoint as part of an
1375          // onEnter/onLeave handler.
1376          handler(event);
1377        }
1378      });
1379    }
1380  
1381    return handleEvent;
1382  }();
1383  
1384  TargetEventHandlers.prototype.add = function () {
1385    function add(eventName, listener, options) {
1386      var _this = this;
1387  
1388      // options has already been normalized at this point.
1389      var eventHandlers = this.getEventHandlers(eventName, options);
1390  
1391      ensureCanMutateNextEventHandlers(eventHandlers);
1392  
1393      if (eventHandlers.nextHandlers.length === 0) {
1394        eventHandlers.handleEvent = this.handleEvent.bind(this, eventName, options);
1395  
1396        this.target.addEventListener(eventName, eventHandlers.handleEvent, options);
1397      }
1398  
1399      eventHandlers.nextHandlers.push(listener);
1400  
1401      var isSubscribed = true;
1402      var unsubscribe = function () {
1403        function unsubscribe() {
1404          if (!isSubscribed) {
1405            return;
1406          }
1407  
1408          isSubscribed = false;
1409  
1410          ensureCanMutateNextEventHandlers(eventHandlers);
1411          var index = eventHandlers.nextHandlers.indexOf(listener);
1412          eventHandlers.nextHandlers.splice(index, 1);
1413  
1414          if (eventHandlers.nextHandlers.length === 0) {
1415            // All event handlers have been removed, so we want to remove the event
1416            // listener from the target node.
1417  
1418            if (_this.target) {
1419              // There can be a race condition where the target may no longer exist
1420              // when this function is called, e.g. when a React component is
1421              // unmounting. Guarding against this prevents the following error:
1422              //
1423              //   Cannot read property 'removeEventListener' of undefined
1424              _this.target.removeEventListener(eventName, eventHandlers.handleEvent, options);
1425            }
1426  
1427            eventHandlers.handleEvent = undefined;
1428          }
1429        }
1430  
1431        return unsubscribe;
1432      }();
1433      return unsubscribe;
1434    }
1435  
1436    return add;
1437  }();
1438  
1439  var EVENT_HANDLERS_KEY = '__consolidated_events_handlers__';
1440  
1441  // eslint-disable-next-line import/prefer-default-export
1442  function addEventListener(target, eventName, listener, options) {
1443    if (!target[EVENT_HANDLERS_KEY]) {
1444      // eslint-disable-next-line no-param-reassign
1445      target[EVENT_HANDLERS_KEY] = new TargetEventHandlers(target);
1446    }
1447    var normalizedEventOptions = normalizeEventOptions(options);
1448    return target[EVENT_HANDLERS_KEY].add(eventName, listener, normalizedEventOptions);
1449  }
1450  
1451  
1452  
1453  
1454  /***/ }),
1455  
1456  /***/ "1iEr":
1457  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1458  
1459  "use strict";
1460  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
1461  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
1462  /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
1463  /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
1464  
1465  
1466  /**
1467   * WordPress dependencies
1468   */
1469  
1470  const chevronRight = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
1471    xmlns: "http://www.w3.org/2000/svg",
1472    viewBox: "0 0 24 24"
1473  }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
1474    d: "M10.6 6L9.4 7l4.6 5-4.6 5 1.2 1 5.4-6z"
1475  }));
1476  /* harmony default export */ __webpack_exports__["a"] = (chevronRight);
1477  
1478  
1479  /***/ }),
1480  
1481  /***/ "1seS":
1482  /***/ (function(module, exports, __webpack_require__) {
1483  
1484  "use strict";
1485  
1486  
1487  var slice = Array.prototype.slice;
1488  var isArgs = __webpack_require__("1KsK");
1489  
1490  var origKeys = Object.keys;
1491  var keysShim = origKeys ? function keys(o) { return origKeys(o); } : __webpack_require__("sYn3");
1492  
1493  var originalKeys = Object.keys;
1494  
1495  keysShim.shim = function shimObjectKeys() {
1496      if (Object.keys) {
1497          var keysWorksWithArguments = (function () {
1498              // Safari 5.0 bug
1499              var args = Object.keys(arguments);
1500              return args && args.length === arguments.length;
1501          }(1, 2));
1502          if (!keysWorksWithArguments) {
1503              Object.keys = function keys(object) { // eslint-disable-line func-name-matching
1504                  if (isArgs(object)) {
1505                      return originalKeys(slice.call(object));
1506                  }
1507                  return originalKeys(object);
1508              };
1509          }
1510      } else {
1511          Object.keys = keysShim;
1512      }
1513      return Object.keys || keysShim;
1514  };
1515  
1516  module.exports = keysShim;
1517  
1518  
1519  /***/ }),
1520  
1521  /***/ "22yB":
1522  /***/ (function(module, exports, __webpack_require__) {
1523  
1524  "use strict";
1525  
1526  
1527  var implementation = __webpack_require__("yN6O");
1528  
1529  module.exports = function getPolyfill() {
1530      return Array.prototype.flat || implementation;
1531  };
1532  
1533  
1534  /***/ }),
1535  
1536  /***/ "25kQ":
1537  /***/ (function(module, exports, __webpack_require__) {
1538  
1539  "use strict";
1540  
1541  
1542  module.exports = __webpack_require__("aUaa");
1543  
1544  
1545  /***/ }),
1546  
1547  /***/ "2Q00":
1548  /***/ (function(module, exports, __webpack_require__) {
1549  
1550  "use strict";
1551  
1552  
1553  Object.defineProperty(exports, "__esModule", {
1554    value: true
1555  });
1556  exports['default'] = CalendarWeek;
1557  
1558  var _react = __webpack_require__("cDcd");
1559  
1560  var _react2 = _interopRequireDefault(_react);
1561  
1562  var _airbnbPropTypes = __webpack_require__("Hsqg");
1563  
1564  var _CalendarDay = __webpack_require__("N3k4");
1565  
1566  var _CalendarDay2 = _interopRequireDefault(_CalendarDay);
1567  
1568  var _CustomizableCalendarDay = __webpack_require__("GET3");
1569  
1570  var _CustomizableCalendarDay2 = _interopRequireDefault(_CustomizableCalendarDay);
1571  
1572  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
1573  
1574  var propTypes = (0, _airbnbPropTypes.forbidExtraProps)({
1575    children: (0, _airbnbPropTypes.or)([(0, _airbnbPropTypes.childrenOfType)(_CalendarDay2['default']), (0, _airbnbPropTypes.childrenOfType)(_CustomizableCalendarDay2['default'])]).isRequired
1576  });
1577  
1578  function CalendarWeek(_ref) {
1579    var children = _ref.children;
1580  
1581    return _react2['default'].createElement(
1582      'tr',
1583      null,
1584      children
1585    );
1586  }
1587  
1588  CalendarWeek.propTypes = propTypes;
1589  
1590  /***/ }),
1591  
1592  /***/ "2S2E":
1593  /***/ (function(module, exports, __webpack_require__) {
1594  
1595  "use strict";
1596  
1597  
1598  Object.defineProperty(exports, "__esModule", {
1599    value: true
1600  });
1601  
1602  var _propTypes = __webpack_require__("17x9");
1603  
1604  var _propTypes2 = _interopRequireDefault(_propTypes);
1605  
1606  var _constants = __webpack_require__("Fv1B");
1607  
1608  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
1609  
1610  exports['default'] = _propTypes2['default'].oneOf(_constants.WEEKDAYS);
1611  
1612  /***/ }),
1613  
1614  /***/ "2gm7":
1615  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1616  
1617  "use strict";
1618  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
1619  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
1620  /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
1621  /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
1622  
1623  
1624  /**
1625   * WordPress dependencies
1626   */
1627  
1628  const chevronLeft = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
1629    xmlns: "http://www.w3.org/2000/svg",
1630    viewBox: "0 0 24 24"
1631  }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
1632    d: "M14.6 7l-1.2-1L8 12l5.4 6 1.2-1-4.6-5z"
1633  }));
1634  /* harmony default export */ __webpack_exports__["a"] = (chevronLeft);
1635  
1636  
1637  /***/ }),
1638  
1639  /***/ "2mql":
1640  /***/ (function(module, exports, __webpack_require__) {
1641  
1642  "use strict";
1643  
1644  
1645  var reactIs = __webpack_require__("TOwV");
1646  
1647  /**
1648   * Copyright 2015, Yahoo! Inc.
1649   * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.
1650   */
1651  var REACT_STATICS = {
1652    childContextTypes: true,
1653    contextType: true,
1654    contextTypes: true,
1655    defaultProps: true,
1656    displayName: true,
1657    getDefaultProps: true,
1658    getDerivedStateFromError: true,
1659    getDerivedStateFromProps: true,
1660    mixins: true,
1661    propTypes: true,
1662    type: true
1663  };
1664  var KNOWN_STATICS = {
1665    name: true,
1666    length: true,
1667    prototype: true,
1668    caller: true,
1669    callee: true,
1670    arguments: true,
1671    arity: true
1672  };
1673  var FORWARD_REF_STATICS = {
1674    '$$typeof': true,
1675    render: true,
1676    defaultProps: true,
1677    displayName: true,
1678    propTypes: true
1679  };
1680  var MEMO_STATICS = {
1681    '$$typeof': true,
1682    compare: true,
1683    defaultProps: true,
1684    displayName: true,
1685    propTypes: true,
1686    type: true
1687  };
1688  var TYPE_STATICS = {};
1689  TYPE_STATICS[reactIs.ForwardRef] = FORWARD_REF_STATICS;
1690  TYPE_STATICS[reactIs.Memo] = MEMO_STATICS;
1691  
1692  function getStatics(component) {
1693    // React v16.11 and below
1694    if (reactIs.isMemo(component)) {
1695      return MEMO_STATICS;
1696    } // React v16.12 and above
1697  
1698  
1699    return TYPE_STATICS[component['$$typeof']] || REACT_STATICS;
1700  }
1701  
1702  var defineProperty = Object.defineProperty;
1703  var getOwnPropertyNames = Object.getOwnPropertyNames;
1704  var getOwnPropertySymbols = Object.getOwnPropertySymbols;
1705  var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
1706  var getPrototypeOf = Object.getPrototypeOf;
1707  var objectPrototype = Object.prototype;
1708  function hoistNonReactStatics(targetComponent, sourceComponent, blacklist) {
1709    if (typeof sourceComponent !== 'string') {
1710      // don't hoist over string (html) components
1711      if (objectPrototype) {
1712        var inheritedComponent = getPrototypeOf(sourceComponent);
1713  
1714        if (inheritedComponent && inheritedComponent !== objectPrototype) {
1715          hoistNonReactStatics(targetComponent, inheritedComponent, blacklist);
1716        }
1717      }
1718  
1719      var keys = getOwnPropertyNames(sourceComponent);
1720  
1721      if (getOwnPropertySymbols) {
1722        keys = keys.concat(getOwnPropertySymbols(sourceComponent));
1723      }
1724  
1725      var targetStatics = getStatics(targetComponent);
1726      var sourceStatics = getStatics(sourceComponent);
1727  
1728      for (var i = 0; i < keys.length; ++i) {
1729        var key = keys[i];
1730  
1731        if (!KNOWN_STATICS[key] && !(blacklist && blacklist[key]) && !(sourceStatics && sourceStatics[key]) && !(targetStatics && targetStatics[key])) {
1732          var descriptor = getOwnPropertyDescriptor(sourceComponent, key);
1733  
1734          try {
1735            // Avoid failures from read-only properties
1736            defineProperty(targetComponent, key, descriptor);
1737          } catch (e) {}
1738        }
1739      }
1740    }
1741  
1742    return targetComponent;
1743  }
1744  
1745  module.exports = hoistNonReactStatics;
1746  
1747  
1748  /***/ }),
1749  
1750  /***/ "3HjQ":
1751  /***/ (function(module, exports) {
1752  
1753  Object.defineProperty(exports, "__esModule", {
1754    value: true
1755  });
1756  // This function takes an array of styles and separates them into styles that
1757  // are handled by Aphrodite and inline styles.
1758  function separateStyles(stylesArray) {
1759    var classNames = [];
1760  
1761    // Since determining if an Object is empty requires collecting all of its
1762    // keys, and we want the best performance in this code because we are in the
1763    // render path, we are going to do a little bookkeeping ourselves.
1764    var hasInlineStyles = false;
1765    var inlineStyles = {};
1766  
1767    // This is run on potentially every node in the tree when rendering, where
1768    // performance is critical. Normally we would prefer using `forEach`, but
1769    // old-fashioned for loops are faster so that's what we have chosen here.
1770    for (var i = 0; i < stylesArray.length; i++) {
1771      // eslint-disable-line no-plusplus
1772      var style = stylesArray[i];
1773  
1774      // If this  style is falsy, we just want to disregard it. This allows for
1775      // syntax like:
1776      //
1777      //   css(isFoo && styles.foo)
1778      if (style) {
1779        if (typeof style === 'string') {
1780          classNames.push(style);
1781        } else {
1782          Object.assign(inlineStyles, style);
1783          hasInlineStyles = true;
1784        }
1785      }
1786    }
1787  
1788    return {
1789      classNames: classNames,
1790      hasInlineStyles: hasInlineStyles,
1791      inlineStyles: inlineStyles
1792    };
1793  }
1794  
1795  exports['default'] = separateStyles;
1796  
1797  /***/ }),
1798  
1799  /***/ "3aeR":
1800  /***/ (function(module, exports, __webpack_require__) {
1801  
1802  "use strict";
1803  
1804  
1805  var GetIntrinsic = __webpack_require__("rZ7t");
1806  
1807  var $TypeError = GetIntrinsic('%TypeError%');
1808  
1809  var inspect = __webpack_require__("4qvr");
1810  
1811  var IsPropertyKey = __webpack_require__("i10q");
1812  var Type = __webpack_require__("V1cy");
1813  
1814  /**
1815   * 7.3.1 Get (O, P) - https://ecma-international.org/ecma-262/6.0/#sec-get-o-p
1816   * 1. Assert: Type(O) is Object.
1817   * 2. Assert: IsPropertyKey(P) is true.
1818   * 3. Return O.[[Get]](P, O).
1819   */
1820  
1821  module.exports = function Get(O, P) {
1822      // 7.3.1.1
1823      if (Type(O) !== 'Object') {
1824          throw new $TypeError('Assertion failed: Type(O) is not Object');
1825      }
1826      // 7.3.1.2
1827      if (!IsPropertyKey(P)) {
1828          throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true, got ' + inspect(P));
1829      }
1830      // 7.3.1.3
1831      return O[P];
1832  };
1833  
1834  
1835  /***/ }),
1836  
1837  /***/ "3gBW":
1838  /***/ (function(module, exports, __webpack_require__) {
1839  
1840  // eslint-disable-next-line import/no-unresolved
1841  module.exports = __webpack_require__("50qU");
1842  
1843  
1844  /***/ }),
1845  
1846  /***/ "4HRn":
1847  /***/ (function(module, exports, __webpack_require__) {
1848  
1849  "use strict";
1850  
1851  
1852  // var modulo = require('./modulo');
1853  var $floor = Math.floor;
1854  
1855  // http://262.ecma-international.org/5.1/#sec-5.2
1856  
1857  module.exports = function floor(x) {
1858      // return x - modulo(x, 1);
1859      return $floor(x);
1860  };
1861  
1862  
1863  /***/ }),
1864  
1865  /***/ "4cSd":
1866  /***/ (function(module, exports, __webpack_require__) {
1867  
1868  "use strict";
1869  
1870  
1871  var define = __webpack_require__("82c2");
1872  var callBind = __webpack_require__("PrET");
1873  
1874  var implementation = __webpack_require__("rQy3");
1875  var getPolyfill = __webpack_require__("xoj2");
1876  var shim = __webpack_require__("ib7Q");
1877  
1878  var polyfill = callBind(getPolyfill(), Object);
1879  
1880  define(polyfill, {
1881      getPolyfill: getPolyfill,
1882      implementation: implementation,
1883      shim: shim
1884  });
1885  
1886  module.exports = polyfill;
1887  
1888  
1889  /***/ }),
1890  
1891  /***/ "4eJC":
1892  /***/ (function(module, exports, __webpack_require__) {
1893  
1894  /**
1895   * Memize options object.
1896   *
1897   * @typedef MemizeOptions
1898   *
1899   * @property {number} [maxSize] Maximum size of the cache.
1900   */
1901  
1902  /**
1903   * Internal cache entry.
1904   *
1905   * @typedef MemizeCacheNode
1906   *
1907   * @property {?MemizeCacheNode|undefined} [prev] Previous node.
1908   * @property {?MemizeCacheNode|undefined} [next] Next node.
1909   * @property {Array<*>}                   args   Function arguments for cache
1910   *                                               entry.
1911   * @property {*}                          val    Function result.
1912   */
1913  
1914  /**
1915   * Properties of the enhanced function for controlling cache.
1916   *
1917   * @typedef MemizeMemoizedFunction
1918   *
1919   * @property {()=>void} clear Clear the cache.
1920   */
1921  
1922  /**
1923   * Accepts a function to be memoized, and returns a new memoized function, with
1924   * optional options.
1925   *
1926   * @template {Function} F
1927   *
1928   * @param {F}             fn        Function to memoize.
1929   * @param {MemizeOptions} [options] Options object.
1930   *
1931   * @return {F & MemizeMemoizedFunction} Memoized function.
1932   */
1933  function memize( fn, options ) {
1934      var size = 0;
1935  
1936      /** @type {?MemizeCacheNode|undefined} */
1937      var head;
1938  
1939      /** @type {?MemizeCacheNode|undefined} */
1940      var tail;
1941  
1942      options = options || {};
1943  
1944  	function memoized( /* ...args */ ) {
1945          var node = head,
1946              len = arguments.length,
1947              args, i;
1948  
1949          searchCache: while ( node ) {
1950              // Perform a shallow equality test to confirm that whether the node
1951              // under test is a candidate for the arguments passed. Two arrays
1952              // are shallowly equal if their length matches and each entry is
1953              // strictly equal between the two sets. Avoid abstracting to a
1954              // function which could incur an arguments leaking deoptimization.
1955  
1956              // Check whether node arguments match arguments length
1957              if ( node.args.length !== arguments.length ) {
1958                  node = node.next;
1959                  continue;
1960              }
1961  
1962              // Check whether node arguments match arguments values
1963              for ( i = 0; i < len; i++ ) {
1964                  if ( node.args[ i ] !== arguments[ i ] ) {
1965                      node = node.next;
1966                      continue searchCache;
1967                  }
1968              }
1969  
1970              // At this point we can assume we've found a match
1971  
1972              // Surface matched node to head if not already
1973              if ( node !== head ) {
1974                  // As tail, shift to previous. Must only shift if not also
1975                  // head, since if both head and tail, there is no previous.
1976                  if ( node === tail ) {
1977                      tail = node.prev;
1978                  }
1979  
1980                  // Adjust siblings to point to each other. If node was tail,
1981                  // this also handles new tail's empty `next` assignment.
1982                  /** @type {MemizeCacheNode} */ ( node.prev ).next = node.next;
1983                  if ( node.next ) {
1984                      node.next.prev = node.prev;
1985                  }
1986  
1987                  node.next = head;
1988                  node.prev = null;
1989                  /** @type {MemizeCacheNode} */ ( head ).prev = node;
1990                  head = node;
1991              }
1992  
1993              // Return immediately
1994              return node.val;
1995          }
1996  
1997          // No cached value found. Continue to insertion phase:
1998  
1999          // Create a copy of arguments (avoid leaking deoptimization)
2000          args = new Array( len );
2001          for ( i = 0; i < len; i++ ) {
2002              args[ i ] = arguments[ i ];
2003          }
2004  
2005          node = {
2006              args: args,
2007  
2008              // Generate the result from original function
2009              val: fn.apply( null, args ),
2010          };
2011  
2012          // Don't need to check whether node is already head, since it would
2013          // have been returned above already if it was
2014  
2015          // Shift existing head down list
2016          if ( head ) {
2017              head.prev = node;
2018              node.next = head;
2019          } else {
2020              // If no head, follows that there's no tail (at initial or reset)
2021              tail = node;
2022          }
2023  
2024          // Trim tail if we're reached max size and are pending cache insertion
2025          if ( size === /** @type {MemizeOptions} */ ( options ).maxSize ) {
2026              tail = /** @type {MemizeCacheNode} */ ( tail ).prev;
2027              /** @type {MemizeCacheNode} */ ( tail ).next = null;
2028          } else {
2029              size++;
2030          }
2031  
2032          head = node;
2033  
2034          return node.val;
2035      }
2036  
2037      memoized.clear = function() {
2038          head = null;
2039          tail = null;
2040          size = 0;
2041      };
2042  
2043      if ( false ) {}
2044  
2045      // Ignore reason: There's not a clear solution to create an intersection of
2046      // the function with additional properties, where the goal is to retain the
2047      // function signature of the incoming argument and add control properties
2048      // on the return value.
2049  
2050      // @ts-ignore
2051      return memoized;
2052  }
2053  
2054  module.exports = memize;
2055  
2056  
2057  /***/ }),
2058  
2059  /***/ "4po3":
2060  /***/ (function(module, __webpack_exports__, __webpack_require__) {
2061  
2062  "use strict";
2063  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return isTextField; });
2064  /**
2065   * Check whether the given element is a text field, where text field is defined
2066   * by the ability to select within the input, or that it is contenteditable.
2067   *
2068   * @example
2069   * import { isTextField } from "reakit-utils";
2070   *
2071   * isTextField(document.querySelector("div")); // false
2072   * isTextField(document.querySelector("input")); // true
2073   * isTextField(document.querySelector("input[type='button']")); // false
2074   * isTextField(document.querySelector("textarea")); // true
2075   * isTextField(document.querySelector("div[contenteditable='true']")); // true
2076   */
2077  function isTextField(element) {
2078    try {
2079      var isTextInput = element instanceof HTMLInputElement && element.selectionStart !== null;
2080      var isTextArea = element.tagName === "TEXTAREA";
2081      var isContentEditable = element.contentEditable === "true";
2082      return isTextInput || isTextArea || isContentEditable || false;
2083    } catch (error) {
2084      // Safari throws an exception when trying to get `selectionStart`
2085      // on non-text <input> elements (which, understandably, don't
2086      // have the text selection API). We catch this via a try/catch
2087      // block, as opposed to a more explicit check of the element's
2088      // input types, because of Safari's non-standard behavior. This
2089      // also means we don't have to worry about the list of input
2090      // types that support `selectionStart` changing as the HTML spec
2091      // evolves over time.
2092      return false;
2093    }
2094  }
2095  
2096  
2097  
2098  
2099  /***/ }),
2100  
2101  /***/ "4qRI":
2102  /***/ (function(module, __webpack_exports__, __webpack_require__) {
2103  
2104  "use strict";
2105  function memoize(fn) {
2106    var cache = {};
2107    return function (arg) {
2108      if (cache[arg] === undefined) cache[arg] = fn(arg);
2109      return cache[arg];
2110    };
2111  }
2112  
2113  /* harmony default export */ __webpack_exports__["a"] = (memoize);
2114  
2115  
2116  /***/ }),
2117  
2118  /***/ "4qvr":
2119  /***/ (function(module, exports, __webpack_require__) {
2120  
2121  var hasMap = typeof Map === 'function' && Map.prototype;
2122  var mapSizeDescriptor = Object.getOwnPropertyDescriptor && hasMap ? Object.getOwnPropertyDescriptor(Map.prototype, 'size') : null;
2123  var mapSize = hasMap && mapSizeDescriptor && typeof mapSizeDescriptor.get === 'function' ? mapSizeDescriptor.get : null;
2124  var mapForEach = hasMap && Map.prototype.forEach;
2125  var hasSet = typeof Set === 'function' && Set.prototype;
2126  var setSizeDescriptor = Object.getOwnPropertyDescriptor && hasSet ? Object.getOwnPropertyDescriptor(Set.prototype, 'size') : null;
2127  var setSize = hasSet && setSizeDescriptor && typeof setSizeDescriptor.get === 'function' ? setSizeDescriptor.get : null;
2128  var setForEach = hasSet && Set.prototype.forEach;
2129  var hasWeakMap = typeof WeakMap === 'function' && WeakMap.prototype;
2130  var weakMapHas = hasWeakMap ? WeakMap.prototype.has : null;
2131  var hasWeakSet = typeof WeakSet === 'function' && WeakSet.prototype;
2132  var weakSetHas = hasWeakSet ? WeakSet.prototype.has : null;
2133  var hasWeakRef = typeof WeakRef === 'function' && WeakRef.prototype;
2134  var weakRefDeref = hasWeakRef ? WeakRef.prototype.deref : null;
2135  var booleanValueOf = Boolean.prototype.valueOf;
2136  var objectToString = Object.prototype.toString;
2137  var functionToString = Function.prototype.toString;
2138  var match = String.prototype.match;
2139  var bigIntValueOf = typeof BigInt === 'function' ? BigInt.prototype.valueOf : null;
2140  var gOPS = Object.getOwnPropertySymbols;
2141  var symToString = typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol' ? Symbol.prototype.toString : null;
2142  var hasShammedSymbols = typeof Symbol === 'function' && typeof Symbol.iterator === 'object';
2143  var isEnumerable = Object.prototype.propertyIsEnumerable;
2144  
2145  var gPO = (typeof Reflect === 'function' ? Reflect.getPrototypeOf : Object.getPrototypeOf) || (
2146      [].__proto__ === Array.prototype // eslint-disable-line no-proto
2147          ? function (O) {
2148              return O.__proto__; // eslint-disable-line no-proto
2149          }
2150          : null
2151  );
2152  
2153  var inspectCustom = __webpack_require__(0).custom;
2154  var inspectSymbol = inspectCustom && isSymbol(inspectCustom) ? inspectCustom : null;
2155  var toStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag !== 'undefined' ? Symbol.toStringTag : null;
2156  
2157  module.exports = function inspect_(obj, options, depth, seen) {
2158      var opts = options || {};
2159  
2160      if (has(opts, 'quoteStyle') && (opts.quoteStyle !== 'single' && opts.quoteStyle !== 'double')) {
2161          throw new TypeError('option "quoteStyle" must be "single" or "double"');
2162      }
2163      if (
2164          has(opts, 'maxStringLength') && (typeof opts.maxStringLength === 'number'
2165              ? opts.maxStringLength < 0 && opts.maxStringLength !== Infinity
2166              : opts.maxStringLength !== null
2167          )
2168      ) {
2169          throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');
2170      }
2171      var customInspect = has(opts, 'customInspect') ? opts.customInspect : true;
2172      if (typeof customInspect !== 'boolean' && customInspect !== 'symbol') {
2173          throw new TypeError('option "customInspect", if provided, must be `true`, `false`, or `\'symbol\'`');
2174      }
2175  
2176      if (
2177          has(opts, 'indent')
2178          && opts.indent !== null
2179          && opts.indent !== '\t'
2180          && !(parseInt(opts.indent, 10) === opts.indent && opts.indent > 0)
2181      ) {
2182          throw new TypeError('options "indent" must be "\\t", an integer > 0, or `null`');
2183      }
2184  
2185      if (typeof obj === 'undefined') {
2186          return 'undefined';
2187      }
2188      if (obj === null) {
2189          return 'null';
2190      }
2191      if (typeof obj === 'boolean') {
2192          return obj ? 'true' : 'false';
2193      }
2194  
2195      if (typeof obj === 'string') {
2196          return inspectString(obj, opts);
2197      }
2198      if (typeof obj === 'number') {
2199          if (obj === 0) {
2200              return Infinity / obj > 0 ? '0' : '-0';
2201          }
2202          return String(obj);
2203      }
2204      if (typeof obj === 'bigint') {
2205          return String(obj) + 'n';
2206      }
2207  
2208      var maxDepth = typeof opts.depth === 'undefined' ? 5 : opts.depth;
2209      if (typeof depth === 'undefined') { depth = 0; }
2210      if (depth >= maxDepth && maxDepth > 0 && typeof obj === 'object') {
2211          return isArray(obj) ? '[Array]' : '[Object]';
2212      }
2213  
2214      var indent = getIndent(opts, depth);
2215  
2216      if (typeof seen === 'undefined') {
2217          seen = [];
2218      } else if (indexOf(seen, obj) >= 0) {
2219          return '[Circular]';
2220      }
2221  
2222      function inspect(value, from, noIndent) {
2223          if (from) {
2224              seen = seen.slice();
2225              seen.push(from);
2226          }
2227          if (noIndent) {
2228              var newOpts = {
2229                  depth: opts.depth
2230              };
2231              if (has(opts, 'quoteStyle')) {
2232                  newOpts.quoteStyle = opts.quoteStyle;
2233              }
2234              return inspect_(value, newOpts, depth + 1, seen);
2235          }
2236          return inspect_(value, opts, depth + 1, seen);
2237      }
2238  
2239      if (typeof obj === 'function') {
2240          var name = nameOf(obj);
2241          var keys = arrObjKeys(obj, inspect);
2242          return '[Function' + (name ? ': ' + name : ' (anonymous)') + ']' + (keys.length > 0 ? ' { ' + keys.join(', ') + ' }' : '');
2243      }
2244      if (isSymbol(obj)) {
2245          var symString = hasShammedSymbols ? String(obj).replace(/^(Symbol\(.*\))_[^)]*$/, '$1') : symToString.call(obj);
2246          return typeof obj === 'object' && !hasShammedSymbols ? markBoxed(symString) : symString;
2247      }
2248      if (isElement(obj)) {
2249          var s = '<' + String(obj.nodeName).toLowerCase();
2250          var attrs = obj.attributes || [];
2251          for (var i = 0; i < attrs.length; i++) {
2252              s += ' ' + attrs[i].name + '=' + wrapQuotes(quote(attrs[i].value), 'double', opts);
2253          }
2254          s += '>';
2255          if (obj.childNodes && obj.childNodes.length) { s += '...'; }
2256          s += '</' + String(obj.nodeName).toLowerCase() + '>';
2257          return s;
2258      }
2259      if (isArray(obj)) {
2260          if (obj.length === 0) { return '[]'; }
2261          var xs = arrObjKeys(obj, inspect);
2262          if (indent && !singleLineValues(xs)) {
2263              return '[' + indentedJoin(xs, indent) + ']';
2264          }
2265          return '[ ' + xs.join(', ') + ' ]';
2266      }
2267      if (isError(obj)) {
2268          var parts = arrObjKeys(obj, inspect);
2269          if (parts.length === 0) { return '[' + String(obj) + ']'; }
2270          return '{ [' + String(obj) + '] ' + parts.join(', ') + ' }';
2271      }
2272      if (typeof obj === 'object' && customInspect) {
2273          if (inspectSymbol && typeof obj[inspectSymbol] === 'function') {
2274              return obj[inspectSymbol]();
2275          } else if (customInspect !== 'symbol' && typeof obj.inspect === 'function') {
2276              return obj.inspect();
2277          }
2278      }
2279      if (isMap(obj)) {
2280          var mapParts = [];
2281          mapForEach.call(obj, function (value, key) {
2282              mapParts.push(inspect(key, obj, true) + ' => ' + inspect(value, obj));
2283          });
2284          return collectionOf('Map', mapSize.call(obj), mapParts, indent);
2285      }
2286      if (isSet(obj)) {
2287          var setParts = [];
2288          setForEach.call(obj, function (value) {
2289              setParts.push(inspect(value, obj));
2290          });
2291          return collectionOf('Set', setSize.call(obj), setParts, indent);
2292      }
2293      if (isWeakMap(obj)) {
2294          return weakCollectionOf('WeakMap');
2295      }
2296      if (isWeakSet(obj)) {
2297          return weakCollectionOf('WeakSet');
2298      }
2299      if (isWeakRef(obj)) {
2300          return weakCollectionOf('WeakRef');
2301      }
2302      if (isNumber(obj)) {
2303          return markBoxed(inspect(Number(obj)));
2304      }
2305      if (isBigInt(obj)) {
2306          return markBoxed(inspect(bigIntValueOf.call(obj)));
2307      }
2308      if (isBoolean(obj)) {
2309          return markBoxed(booleanValueOf.call(obj));
2310      }
2311      if (isString(obj)) {
2312          return markBoxed(inspect(String(obj)));
2313      }
2314      if (!isDate(obj) && !isRegExp(obj)) {
2315          var ys = arrObjKeys(obj, inspect);
2316          var isPlainObject = gPO ? gPO(obj) === Object.prototype : obj instanceof Object || obj.constructor === Object;
2317          var protoTag = obj instanceof Object ? '' : 'null prototype';
2318          var stringTag = !isPlainObject && toStringTag && Object(obj) === obj && toStringTag in obj ? toStr(obj).slice(8, -1) : protoTag ? 'Object' : '';
2319          var constructorTag = isPlainObject || typeof obj.constructor !== 'function' ? '' : obj.constructor.name ? obj.constructor.name + ' ' : '';
2320          var tag = constructorTag + (stringTag || protoTag ? '[' + [].concat(stringTag || [], protoTag || []).join(': ') + '] ' : '');
2321          if (ys.length === 0) { return tag + '{}'; }
2322          if (indent) {
2323              return tag + '{' + indentedJoin(ys, indent) + '}';
2324          }
2325          return tag + '{ ' + ys.join(', ') + ' }';
2326      }
2327      return String(obj);
2328  };
2329  
2330  function wrapQuotes(s, defaultStyle, opts) {
2331      var quoteChar = (opts.quoteStyle || defaultStyle) === 'double' ? '"' : "'";
2332      return quoteChar + s + quoteChar;
2333  }
2334  
2335  function quote(s) {
2336      return String(s).replace(/"/g, '&quot;');
2337  }
2338  
2339  function isArray(obj) { return toStr(obj) === '[object Array]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
2340  function isDate(obj) { return toStr(obj) === '[object Date]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
2341  function isRegExp(obj) { return toStr(obj) === '[object RegExp]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
2342  function isError(obj) { return toStr(obj) === '[object Error]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
2343  function isString(obj) { return toStr(obj) === '[object String]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
2344  function isNumber(obj) { return toStr(obj) === '[object Number]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
2345  function isBoolean(obj) { return toStr(obj) === '[object Boolean]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
2346  
2347  // Symbol and BigInt do have Symbol.toStringTag by spec, so that can't be used to eliminate false positives
2348  function isSymbol(obj) {
2349      if (hasShammedSymbols) {
2350          return obj && typeof obj === 'object' && obj instanceof Symbol;
2351      }
2352      if (typeof obj === 'symbol') {
2353          return true;
2354      }
2355      if (!obj || typeof obj !== 'object' || !symToString) {
2356          return false;
2357      }
2358      try {
2359          symToString.call(obj);
2360          return true;
2361      } catch (e) {}
2362      return false;
2363  }
2364  
2365  function isBigInt(obj) {
2366      if (!obj || typeof obj !== 'object' || !bigIntValueOf) {
2367          return false;
2368      }
2369      try {
2370          bigIntValueOf.call(obj);
2371          return true;
2372      } catch (e) {}
2373      return false;
2374  }
2375  
2376  var hasOwn = Object.prototype.hasOwnProperty || function (key) { return key in this; };
2377  function has(obj, key) {
2378      return hasOwn.call(obj, key);
2379  }
2380  
2381  function toStr(obj) {
2382      return objectToString.call(obj);
2383  }
2384  
2385  function nameOf(f) {
2386      if (f.name) { return f.name; }
2387      var m = match.call(functionToString.call(f), /^function\s*([\w$]+)/);
2388      if (m) { return m[1]; }
2389      return null;
2390  }
2391  
2392  function indexOf(xs, x) {
2393      if (xs.indexOf) { return xs.indexOf(x); }
2394      for (var i = 0, l = xs.length; i < l; i++) {
2395          if (xs[i] === x) { return i; }
2396      }
2397      return -1;
2398  }
2399  
2400  function isMap(x) {
2401      if (!mapSize || !x || typeof x !== 'object') {
2402          return false;
2403      }
2404      try {
2405          mapSize.call(x);
2406          try {
2407              setSize.call(x);
2408          } catch (s) {
2409              return true;
2410          }
2411          return x instanceof Map; // core-js workaround, pre-v2.5.0
2412      } catch (e) {}
2413      return false;
2414  }
2415  
2416  function isWeakMap(x) {
2417      if (!weakMapHas || !x || typeof x !== 'object') {
2418          return false;
2419      }
2420      try {
2421          weakMapHas.call(x, weakMapHas);
2422          try {
2423              weakSetHas.call(x, weakSetHas);
2424          } catch (s) {
2425              return true;
2426          }
2427          return x instanceof WeakMap; // core-js workaround, pre-v2.5.0
2428      } catch (e) {}
2429      return false;
2430  }
2431  
2432  function isWeakRef(x) {
2433      if (!weakRefDeref || !x || typeof x !== 'object') {
2434          return false;
2435      }
2436      try {
2437          weakRefDeref.call(x);
2438          return true;
2439      } catch (e) {}
2440      return false;
2441  }
2442  
2443  function isSet(x) {
2444      if (!setSize || !x || typeof x !== 'object') {
2445          return false;
2446      }
2447      try {
2448          setSize.call(x);
2449          try {
2450              mapSize.call(x);
2451          } catch (m) {
2452              return true;
2453          }
2454          return x instanceof Set; // core-js workaround, pre-v2.5.0
2455      } catch (e) {}
2456      return false;
2457  }
2458  
2459  function isWeakSet(x) {
2460      if (!weakSetHas || !x || typeof x !== 'object') {
2461          return false;
2462      }
2463      try {
2464          weakSetHas.call(x, weakSetHas);
2465          try {
2466              weakMapHas.call(x, weakMapHas);
2467          } catch (s) {
2468              return true;
2469          }
2470          return x instanceof WeakSet; // core-js workaround, pre-v2.5.0
2471      } catch (e) {}
2472      return false;
2473  }
2474  
2475  function isElement(x) {
2476      if (!x || typeof x !== 'object') { return false; }
2477      if (typeof HTMLElement !== 'undefined' && x instanceof HTMLElement) {
2478          return true;
2479      }
2480      return typeof x.nodeName === 'string' && typeof x.getAttribute === 'function';
2481  }
2482  
2483  function inspectString(str, opts) {
2484      if (str.length > opts.maxStringLength) {
2485          var remaining = str.length - opts.maxStringLength;
2486          var trailer = '... ' + remaining + ' more character' + (remaining > 1 ? 's' : '');
2487          return inspectString(str.slice(0, opts.maxStringLength), opts) + trailer;
2488      }
2489      // eslint-disable-next-line no-control-regex
2490      var s = str.replace(/(['\\])/g, '\\$1').replace(/[\x00-\x1f]/g, lowbyte);
2491      return wrapQuotes(s, 'single', opts);
2492  }
2493  
2494  function lowbyte(c) {
2495      var n = c.charCodeAt(0);
2496      var x = {
2497          8: 'b',
2498          9: 't',
2499          10: 'n',
2500          12: 'f',
2501          13: 'r'
2502      }[n];
2503      if (x) { return '\\' + x; }
2504      return '\\x' + (n < 0x10 ? '0' : '') + n.toString(16).toUpperCase();
2505  }
2506  
2507  function markBoxed(str) {
2508      return 'Object(' + str + ')';
2509  }
2510  
2511  function weakCollectionOf(type) {
2512      return type + ' { ? }';
2513  }
2514  
2515  function collectionOf(type, size, entries, indent) {
2516      var joinedEntries = indent ? indentedJoin(entries, indent) : entries.join(', ');
2517      return type + ' (' + size + ') {' + joinedEntries + '}';
2518  }
2519  
2520  function singleLineValues(xs) {
2521      for (var i = 0; i < xs.length; i++) {
2522          if (indexOf(xs[i], '\n') >= 0) {
2523              return false;
2524          }
2525      }
2526      return true;
2527  }
2528  
2529  function getIndent(opts, depth) {
2530      var baseIndent;
2531      if (opts.indent === '\t') {
2532          baseIndent = '\t';
2533      } else if (typeof opts.indent === 'number' && opts.indent > 0) {
2534          baseIndent = Array(opts.indent + 1).join(' ');
2535      } else {
2536          return null;
2537      }
2538      return {
2539          base: baseIndent,
2540          prev: Array(depth + 1).join(baseIndent)
2541      };
2542  }
2543  
2544  function indentedJoin(xs, indent) {
2545      if (xs.length === 0) { return ''; }
2546      var lineJoiner = '\n' + indent.prev + indent.base;
2547      return lineJoiner + xs.join(',' + lineJoiner) + '\n' + indent.prev;
2548  }
2549  
2550  function arrObjKeys(obj, inspect) {
2551      var isArr = isArray(obj);
2552      var xs = [];
2553      if (isArr) {
2554          xs.length = obj.length;
2555          for (var i = 0; i < obj.length; i++) {
2556              xs[i] = has(obj, i) ? inspect(obj[i], obj) : '';
2557          }
2558      }
2559      var syms = typeof gOPS === 'function' ? gOPS(obj) : [];
2560      var symMap;
2561      if (hasShammedSymbols) {
2562          symMap = {};
2563          for (var k = 0; k < syms.length; k++) {
2564              symMap['$' + syms[k]] = syms[k];
2565          }
2566      }
2567  
2568      for (var key in obj) { // eslint-disable-line no-restricted-syntax
2569          if (!has(obj, key)) { continue; } // eslint-disable-line no-restricted-syntax, no-continue
2570          if (isArr && String(Number(key)) === key && key < obj.length) { continue; } // eslint-disable-line no-restricted-syntax, no-continue
2571          if (hasShammedSymbols && symMap['$' + key] instanceof Symbol) {
2572              // this is to prevent shammed Symbols, which are stored as strings, from being included in the string key section
2573              continue; // eslint-disable-line no-restricted-syntax, no-continue
2574          } else if ((/[^\w$]/).test(key)) {
2575              xs.push(inspect(key, obj) + ': ' + inspect(obj[key], obj));
2576          } else {
2577              xs.push(key + ': ' + inspect(obj[key], obj));
2578          }
2579      }
2580      if (typeof gOPS === 'function') {
2581          for (var j = 0; j < syms.length; j++) {
2582              if (isEnumerable.call(obj, syms[j])) {
2583                  xs.push('[' + inspect(syms[j]) + ']: ' + inspect(obj[syms[j]], obj));
2584              }
2585          }
2586      }
2587      return xs;
2588  }
2589  
2590  
2591  /***/ }),
2592  
2593  /***/ "50qU":
2594  /***/ (function(module, exports, __webpack_require__) {
2595  
2596  "use strict";
2597  
2598  
2599  Object.defineProperty(exports, "__esModule", {
2600    value: true
2601  });
2602  
2603  var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
2604  
2605  var _react = __webpack_require__("cDcd");
2606  
2607  var _react2 = _interopRequireDefault(_react);
2608  
2609  var _propTypes = __webpack_require__("17x9");
2610  
2611  var _propTypes2 = _interopRequireDefault(_propTypes);
2612  
2613  var _airbnbPropTypes = __webpack_require__("Hsqg");
2614  
2615  var _consolidatedEvents = __webpack_require__("1TsT");
2616  
2617  var _object = __webpack_require__("4cSd");
2618  
2619  var _object2 = _interopRequireDefault(_object);
2620  
2621  var _document = __webpack_require__("n1Y7");
2622  
2623  var _document2 = _interopRequireDefault(_document);
2624  
2625  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
2626  
2627  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
2628  
2629  function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
2630  
2631  function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
2632  
2633  var DISPLAY = {
2634    BLOCK: 'block',
2635    FLEX: 'flex',
2636    INLINE: 'inline',
2637    INLINE_BLOCK: 'inline-block',
2638    CONTENTS: 'contents'
2639  };
2640  
2641  var propTypes = (0, _airbnbPropTypes.forbidExtraProps)({
2642    children: _propTypes2['default'].node.isRequired,
2643    onOutsideClick: _propTypes2['default'].func.isRequired,
2644    disabled: _propTypes2['default'].bool,
2645    useCapture: _propTypes2['default'].bool,
2646    display: _propTypes2['default'].oneOf((0, _object2['default'])(DISPLAY))
2647  });
2648  
2649  var defaultProps = {
2650    disabled: false,
2651  
2652    // `useCapture` is set to true by default so that a `stopPropagation` in the
2653    // children will not prevent all outside click handlers from firing - maja
2654    useCapture: true,
2655    display: DISPLAY.BLOCK
2656  };
2657  
2658  var OutsideClickHandler = function (_React$Component) {
2659    _inherits(OutsideClickHandler, _React$Component);
2660  
2661    function OutsideClickHandler() {
2662      var _ref;
2663  
2664      _classCallCheck(this, OutsideClickHandler);
2665  
2666      for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
2667        args[_key] = arguments[_key];
2668      }
2669  
2670      var _this = _possibleConstructorReturn(this, (_ref = OutsideClickHandler.__proto__ || Object.getPrototypeOf(OutsideClickHandler)).call.apply(_ref, [this].concat(args)));
2671  
2672      _this.onMouseDown = _this.onMouseDown.bind(_this);
2673      _this.onMouseUp = _this.onMouseUp.bind(_this);
2674      _this.setChildNodeRef = _this.setChildNodeRef.bind(_this);
2675      return _this;
2676    }
2677  
2678    _createClass(OutsideClickHandler, [{
2679      key: 'componentDidMount',
2680      value: function () {
2681        function componentDidMount() {
2682          var _props = this.props,
2683              disabled = _props.disabled,
2684              useCapture = _props.useCapture;
2685  
2686  
2687          if (!disabled) this.addMouseDownEventListener(useCapture);
2688        }
2689  
2690        return componentDidMount;
2691      }()
2692    }, {
2693      key: 'componentDidUpdate',
2694      value: function () {
2695        function componentDidUpdate(_ref2) {
2696          var prevDisabled = _ref2.disabled;
2697          var _props2 = this.props,
2698              disabled = _props2.disabled,
2699              useCapture = _props2.useCapture;
2700  
2701          if (prevDisabled !== disabled) {
2702            if (disabled) {
2703              this.removeEventListeners();
2704            } else {
2705              this.addMouseDownEventListener(useCapture);
2706            }
2707          }
2708        }
2709  
2710        return componentDidUpdate;
2711      }()
2712    }, {
2713      key: 'componentWillUnmount',
2714      value: function () {
2715        function componentWillUnmount() {
2716          this.removeEventListeners();
2717        }
2718  
2719        return componentWillUnmount;
2720      }()
2721  
2722      // Use mousedown/mouseup to enforce that clicks remain outside the root's
2723      // descendant tree, even when dragged. This should also get triggered on
2724      // touch devices.
2725  
2726    }, {
2727      key: 'onMouseDown',
2728      value: function () {
2729        function onMouseDown(e) {
2730          var useCapture = this.props.useCapture;
2731  
2732  
2733          var isDescendantOfRoot = this.childNode && (0, _document2['default'])(this.childNode, e.target);
2734          if (!isDescendantOfRoot) {
2735            if (this.removeMouseUp) {
2736              this.removeMouseUp();
2737              this.removeMouseUp = null;
2738            }
2739            this.removeMouseUp = (0, _consolidatedEvents.addEventListener)(document, 'mouseup', this.onMouseUp, { capture: useCapture });
2740          }
2741        }
2742  
2743        return onMouseDown;
2744      }()
2745  
2746      // Use mousedown/mouseup to enforce that clicks remain outside the root's
2747      // descendant tree, even when dragged. This should also get triggered on
2748      // touch devices.
2749  
2750    }, {
2751      key: 'onMouseUp',
2752      value: function () {
2753        function onMouseUp(e) {
2754          var onOutsideClick = this.props.onOutsideClick;
2755  
2756  
2757          var isDescendantOfRoot = this.childNode && (0, _document2['default'])(this.childNode, e.target);
2758          if (this.removeMouseUp) {
2759            this.removeMouseUp();
2760            this.removeMouseUp = null;
2761          }
2762  
2763          if (!isDescendantOfRoot) {
2764            onOutsideClick(e);
2765          }
2766        }
2767  
2768        return onMouseUp;
2769      }()
2770    }, {
2771      key: 'setChildNodeRef',
2772      value: function () {
2773        function setChildNodeRef(ref) {
2774          this.childNode = ref;
2775        }
2776  
2777        return setChildNodeRef;
2778      }()
2779    }, {
2780      key: 'addMouseDownEventListener',
2781      value: function () {
2782        function addMouseDownEventListener(useCapture) {
2783          this.removeMouseDown = (0, _consolidatedEvents.addEventListener)(document, 'mousedown', this.onMouseDown, { capture: useCapture });
2784        }
2785  
2786        return addMouseDownEventListener;
2787      }()
2788    }, {
2789      key: 'removeEventListeners',
2790      value: function () {
2791        function removeEventListeners() {
2792          if (this.removeMouseDown) this.removeMouseDown();
2793          if (this.removeMouseUp) this.removeMouseUp();
2794        }
2795  
2796        return removeEventListeners;
2797      }()
2798    }, {
2799      key: 'render',
2800      value: function () {
2801        function render() {
2802          var _props3 = this.props,
2803              children = _props3.children,
2804              display = _props3.display;
2805  
2806  
2807          return _react2['default'].createElement(
2808            'div',
2809            {
2810              ref: this.setChildNodeRef,
2811              style: display !== DISPLAY.BLOCK && (0, _object2['default'])(DISPLAY).includes(display) ? { display: display } : undefined
2812            },
2813            children
2814          );
2815        }
2816  
2817        return render;
2818      }()
2819    }]);
2820  
2821    return OutsideClickHandler;
2822  }(_react2['default'].Component);
2823  
2824  exports['default'] = OutsideClickHandler;
2825  
2826  
2827  OutsideClickHandler.propTypes = propTypes;
2828  OutsideClickHandler.defaultProps = defaultProps;
2829  
2830  /***/ }),
2831  
2832  /***/ "5V/u":
2833  /***/ (function(module, exports) {
2834  
2835  module.exports =
2836  /******/ (function(modules) { // webpackBootstrap
2837  /******/     // The module cache
2838  /******/     var installedModules = {};
2839  /******/
2840  /******/     // The require function
2841  /******/ 	function __webpack_require__(moduleId) {
2842  /******/
2843  /******/         // Check if module is in cache
2844  /******/         if(installedModules[moduleId])
2845  /******/             return installedModules[moduleId].exports;
2846  /******/
2847  /******/         // Create a new module (and put it into the cache)
2848  /******/         var module = installedModules[moduleId] = {
2849  /******/             exports: {},
2850  /******/             id: moduleId,
2851  /******/             loaded: false
2852  /******/         };
2853  /******/
2854  /******/         // Execute the module function
2855  /******/         modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
2856  /******/
2857  /******/         // Flag the module as loaded
2858  /******/         module.loaded = true;
2859  /******/
2860  /******/         // Return the exports of the module
2861  /******/         return module.exports;
2862  /******/     }
2863  /******/
2864  /******/
2865  /******/     // expose the modules object (__webpack_modules__)
2866  /******/     __webpack_require__.m = modules;
2867  /******/
2868  /******/     // expose the module cache
2869  /******/     __webpack_require__.c = installedModules;
2870  /******/
2871  /******/     // __webpack_public_path__
2872  /******/     __webpack_require__.p = "";
2873  /******/
2874  /******/     // Load entry module and return exports
2875  /******/     return __webpack_require__(0);
2876  /******/ })
2877  /************************************************************************/
2878  /******/ ([
2879  /* 0 */
2880  /***/ (function(module, exports, __webpack_require__) {
2881  
2882      module.exports = __webpack_require__(1);
2883  
2884  
2885  /***/ }),
2886  /* 1 */
2887  /***/ (function(module, exports, __webpack_require__) {
2888  
2889      'use strict';
2890      
2891      Object.defineProperty(exports, "__esModule", {
2892        value: true
2893      });
2894      
2895      var _utils = __webpack_require__(2);
2896      
2897      Object.defineProperty(exports, 'combineChunks', {
2898        enumerable: true,
2899        get: function get() {
2900          return _utils.combineChunks;
2901        }
2902      });
2903      Object.defineProperty(exports, 'fillInChunks', {
2904        enumerable: true,
2905        get: function get() {
2906          return _utils.fillInChunks;
2907        }
2908      });
2909      Object.defineProperty(exports, 'findAll', {
2910        enumerable: true,
2911        get: function get() {
2912          return _utils.findAll;
2913        }
2914      });
2915      Object.defineProperty(exports, 'findChunks', {
2916        enumerable: true,
2917        get: function get() {
2918          return _utils.findChunks;
2919        }
2920      });
2921  
2922  /***/ }),
2923  /* 2 */
2924  /***/ (function(module, exports) {
2925  
2926      'use strict';
2927      
2928      Object.defineProperty(exports, "__esModule", {
2929        value: true
2930      });
2931      
2932      
2933      /**
2934       * Creates an array of chunk objects representing both higlightable and non highlightable pieces of text that match each search word.
2935       * @return Array of "chunks" (where a Chunk is { start:number, end:number, highlight:boolean })
2936       */
2937      var findAll = exports.findAll = function findAll(_ref) {
2938        var autoEscape = _ref.autoEscape,
2939            _ref$caseSensitive = _ref.caseSensitive,
2940            caseSensitive = _ref$caseSensitive === undefined ? false : _ref$caseSensitive,
2941            _ref$findChunks = _ref.findChunks,
2942            findChunks = _ref$findChunks === undefined ? defaultFindChunks : _ref$findChunks,
2943            sanitize = _ref.sanitize,
2944            searchWords = _ref.searchWords,
2945            textToHighlight = _ref.textToHighlight;
2946        return fillInChunks({
2947          chunksToHighlight: combineChunks({
2948            chunks: findChunks({
2949              autoEscape: autoEscape,
2950              caseSensitive: caseSensitive,
2951              sanitize: sanitize,
2952              searchWords: searchWords,
2953              textToHighlight: textToHighlight
2954            })
2955          }),
2956          totalLength: textToHighlight ? textToHighlight.length : 0
2957        });
2958      };
2959      
2960      /**
2961       * Takes an array of {start:number, end:number} objects and combines chunks that overlap into single chunks.
2962       * @return {start:number, end:number}[]
2963       */
2964      
2965      
2966      var combineChunks = exports.combineChunks = function combineChunks(_ref2) {
2967        var chunks = _ref2.chunks;
2968      
2969        chunks = chunks.sort(function (first, second) {
2970          return first.start - second.start;
2971        }).reduce(function (processedChunks, nextChunk) {
2972          // First chunk just goes straight in the array...
2973          if (processedChunks.length === 0) {
2974            return [nextChunk];
2975          } else {
2976            // ... subsequent chunks get checked to see if they overlap...
2977            var prevChunk = processedChunks.pop();
2978            if (nextChunk.start <= prevChunk.end) {
2979              // It may be the case that prevChunk completely surrounds nextChunk, so take the
2980              // largest of the end indeces.
2981              var endIndex = Math.max(prevChunk.end, nextChunk.end);
2982              processedChunks.push({ highlight: false, start: prevChunk.start, end: endIndex });
2983            } else {
2984              processedChunks.push(prevChunk, nextChunk);
2985            }
2986            return processedChunks;
2987          }
2988        }, []);
2989      
2990        return chunks;
2991      };
2992      
2993      /**
2994       * Examine text for any matches.
2995       * If we find matches, add them to the returned array as a "chunk" object ({start:number, end:number}).
2996       * @return {start:number, end:number}[]
2997       */
2998      var defaultFindChunks = function defaultFindChunks(_ref3) {
2999        var autoEscape = _ref3.autoEscape,
3000            caseSensitive = _ref3.caseSensitive,
3001            _ref3$sanitize = _ref3.sanitize,
3002            sanitize = _ref3$sanitize === undefined ? defaultSanitize : _ref3$sanitize,
3003            searchWords = _ref3.searchWords,
3004            textToHighlight = _ref3.textToHighlight;
3005      
3006        textToHighlight = sanitize(textToHighlight);
3007      
3008        return searchWords.filter(function (searchWord) {
3009          return searchWord;
3010        }) // Remove empty words
3011        .reduce(function (chunks, searchWord) {
3012          searchWord = sanitize(searchWord);
3013      
3014          if (autoEscape) {
3015            searchWord = escapeRegExpFn(searchWord);
3016          }
3017      
3018          var regex = new RegExp(searchWord, caseSensitive ? 'g' : 'gi');
3019      
3020          var match = void 0;
3021          while (match = regex.exec(textToHighlight)) {
3022            var _start = match.index;
3023            var _end = regex.lastIndex;
3024            // We do not return zero-length matches
3025            if (_end > _start) {
3026              chunks.push({ highlight: false, start: _start, end: _end });
3027            }
3028      
3029            // Prevent browsers like Firefox from getting stuck in an infinite loop
3030            // See http://www.regexguru.com/2008/04/watch-out-for-zero-length-matches/
3031            if (match.index === regex.lastIndex) {
3032              regex.lastIndex++;
3033            }
3034          }
3035      
3036          return chunks;
3037        }, []);
3038      };
3039      // Allow the findChunks to be overridden in findAll,
3040      // but for backwards compatibility we export as the old name
3041      exports.findChunks = defaultFindChunks;
3042      
3043      /**
3044       * Given a set of chunks to highlight, create an additional set of chunks
3045       * to represent the bits of text between the highlighted text.
3046       * @param chunksToHighlight {start:number, end:number}[]
3047       * @param totalLength number
3048       * @return {start:number, end:number, highlight:boolean}[]
3049       */
3050      
3051      var fillInChunks = exports.fillInChunks = function fillInChunks(_ref4) {
3052        var chunksToHighlight = _ref4.chunksToHighlight,
3053            totalLength = _ref4.totalLength;
3054      
3055        var allChunks = [];
3056        var append = function append(start, end, highlight) {
3057          if (end - start > 0) {
3058            allChunks.push({
3059              start: start,
3060              end: end,
3061              highlight: highlight
3062            });
3063          }
3064        };
3065      
3066        if (chunksToHighlight.length === 0) {
3067          append(0, totalLength, false);
3068        } else {
3069          var lastIndex = 0;
3070          chunksToHighlight.forEach(function (chunk) {
3071            append(lastIndex, chunk.start, false);
3072            append(chunk.start, chunk.end, true);
3073            lastIndex = chunk.end;
3074          });
3075          append(lastIndex, totalLength, false);
3076        }
3077        return allChunks;
3078      };
3079      
3080  	function defaultSanitize(string) {
3081        return string;
3082      }
3083      
3084  	function escapeRegExpFn(string) {
3085        return string.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, '\\$&');
3086      }
3087  
3088  /***/ })
3089  /******/ ]);
3090  
3091  
3092  /***/ }),
3093  
3094  /***/ "5aBA":
3095  /***/ (function(module, exports, __webpack_require__) {
3096  
3097  "use strict";
3098  /** @license React v17.0.2
3099   * react-is.production.min.js
3100   *
3101   * Copyright (c) Facebook, Inc. and its affiliates.
3102   *
3103   * This source code is licensed under the MIT license found in the
3104   * LICENSE file in the root directory of this source tree.
3105   */
3106  var b=60103,c=60106,d=60107,e=60108,f=60114,g=60109,h=60110,k=60112,l=60113,m=60120,n=60115,p=60116,q=60121,r=60122,u=60117,v=60129,w=60131;
3107  if("function"===typeof Symbol&&Symbol.for){var x=Symbol.for;b=x("react.element");c=x("react.portal");d=x("react.fragment");e=x("react.strict_mode");f=x("react.profiler");g=x("react.provider");h=x("react.context");k=x("react.forward_ref");l=x("react.suspense");m=x("react.suspense_list");n=x("react.memo");p=x("react.lazy");q=x("react.block");r=x("react.server.block");u=x("react.fundamental");v=x("react.debug_trace_mode");w=x("react.legacy_hidden")}
3108  function y(a){if("object"===typeof a&&null!==a){var t=a.$$typeof;switch(t){case b:switch(a=a.type,a){case d:case f:case e:case l:case m:return a;default:switch(a=a&&a.$$typeof,a){case h:case k:case p:case n:case g:return a;default:return t}}case c:return t}}}var z=g,A=b,B=k,C=d,D=p,E=n,F=c,G=f,H=e,I=l;exports.ContextConsumer=h;exports.ContextProvider=z;exports.Element=A;exports.ForwardRef=B;exports.Fragment=C;exports.Lazy=D;exports.Memo=E;exports.Portal=F;exports.Profiler=G;exports.StrictMode=H;
3109  exports.Suspense=I;exports.isAsyncMode=function(){return!1};exports.isConcurrentMode=function(){return!1};exports.isContextConsumer=function(a){return y(a)===h};exports.isContextProvider=function(a){return y(a)===g};exports.isElement=function(a){return"object"===typeof a&&null!==a&&a.$$typeof===b};exports.isForwardRef=function(a){return y(a)===k};exports.isFragment=function(a){return y(a)===d};exports.isLazy=function(a){return y(a)===p};exports.isMemo=function(a){return y(a)===n};
3110  exports.isPortal=function(a){return y(a)===c};exports.isProfiler=function(a){return y(a)===f};exports.isStrictMode=function(a){return y(a)===e};exports.isSuspense=function(a){return y(a)===l};exports.isValidElementType=function(a){return"string"===typeof a||"function"===typeof a||a===d||a===f||a===v||a===e||a===l||a===m||a===w||"object"===typeof a&&null!==a&&(a.$$typeof===p||a.$$typeof===n||a.$$typeof===g||a.$$typeof===h||a.$$typeof===k||a.$$typeof===u||a.$$typeof===q||a[0]===r)?!0:!1};
3111  exports.typeOf=y;
3112  
3113  
3114  /***/ }),
3115  
3116  /***/ "5yQQ":
3117  /***/ (function(module, exports, __webpack_require__) {
3118  
3119  "use strict";
3120  
3121  
3122  var implementation = __webpack_require__("nRDI");
3123  
3124  module.exports = function getPolyfill() {
3125      if (typeof document !== 'undefined') {
3126          if (document.contains) {
3127              return document.contains;
3128          }
3129          if (document.body && document.body.contains) {
3130              try {
3131                  if (typeof document.body.contains.call(document, '') === 'boolean') {
3132                      return document.body.contains;
3133                  }
3134              } catch (e) { /**/ }
3135          }
3136      }
3137      return implementation;
3138  };
3139  
3140  
3141  /***/ }),
3142  
3143  /***/ "60zJ":
3144  /***/ (function(module, exports, __webpack_require__) {
3145  
3146  "use strict";
3147  
3148  
3149  // https://262.ecma-international.org/5.1/#sec-8
3150  
3151  module.exports = function Type(x) {
3152      if (x === null) {
3153          return 'Null';
3154      }
3155      if (typeof x === 'undefined') {
3156          return 'Undefined';
3157      }
3158      if (typeof x === 'function' || typeof x === 'object') {
3159          return 'Object';
3160      }
3161      if (typeof x === 'number') {
3162          return 'Number';
3163      }
3164      if (typeof x === 'boolean') {
3165          return 'Boolean';
3166      }
3167      if (typeof x === 'string') {
3168          return 'String';
3169      }
3170  };
3171  
3172  
3173  /***/ }),
3174  
3175  /***/ "6HWY":
3176  /***/ (function(module, exports, __webpack_require__) {
3177  
3178  "use strict";
3179  
3180  
3181  Object.defineProperty(exports, "__esModule", {
3182    value: true
3183  });
3184  exports['default'] = isNextMonth;
3185  
3186  var _moment = __webpack_require__("wy2R");
3187  
3188  var _moment2 = _interopRequireDefault(_moment);
3189  
3190  var _isSameMonth = __webpack_require__("ulUS");
3191  
3192  var _isSameMonth2 = _interopRequireDefault(_isSameMonth);
3193  
3194  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
3195  
3196  function isNextMonth(a, b) {
3197    if (!_moment2['default'].isMoment(a) || !_moment2['default'].isMoment(b)) return false;
3198    return (0, _isSameMonth2['default'])(a.clone().add(1, 'month'), b);
3199  }
3200  
3201  /***/ }),
3202  
3203  /***/ "6I5v":
3204  /***/ (function(module, exports, __webpack_require__) {
3205  
3206  "use strict";
3207  
3208  
3209  module.exports = function sign(number) {
3210      return number >= 0 ? 1 : -1;
3211  };
3212  
3213  
3214  /***/ }),
3215  
3216  /***/ "6ZB3":
3217  /***/ (function(module, exports, __webpack_require__) {
3218  
3219  "use strict";
3220  
3221  
3222  var GetIntrinsic = __webpack_require__("rZ7t");
3223  
3224  var callBind = __webpack_require__("1LY1");
3225  
3226  var $indexOf = callBind(GetIntrinsic('String.prototype.indexOf'));
3227  
3228  module.exports = function callBoundIntrinsic(name, allowMissing) {
3229      var intrinsic = GetIntrinsic(name, !!allowMissing);
3230      if (typeof intrinsic === 'function' && $indexOf(name, '.prototype.') > -1) {
3231          return callBind(intrinsic);
3232      }
3233      return intrinsic;
3234  };
3235  
3236  
3237  /***/ }),
3238  
3239  /***/ "6zzY":
3240  /***/ (function(module, __webpack_exports__, __webpack_require__) {
3241  
3242  "use strict";
3243  
3244  // EXPORTS
3245  __webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */ useComponentsContext; });
3246  
3247  // UNUSED EXPORTS: ComponentsContext, ContextSystemProvider
3248  
3249  // EXTERNAL MODULE: external ["wp","element"]
3250  var external_wp_element_ = __webpack_require__("GRId");
3251  
3252  // EXTERNAL MODULE: external "lodash"
3253  var external_lodash_ = __webpack_require__("YLtl");
3254  
3255  // CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/ui/utils/use-isomorphic-layout-effect.js
3256  /**
3257   * WordPress dependencies
3258   */
3259  
3260  /**
3261   * Copied from `@wordpress/compose` in order for us to be able to maintain all the types for the ui folder
3262   */
3263  
3264  const useIsomorphicLayoutEffect = typeof window !== 'undefined' ? external_wp_element_["useLayoutEffect"] : external_wp_element_["useEffect"];
3265  
3266  // CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/ui/context/context-system-provider.js
3267  
3268  
3269  /**
3270   * External dependencies
3271   */
3272  
3273  /**
3274   * WordPress dependencies
3275   */
3276  
3277  
3278  /**
3279   * Internal dependencies
3280   */
3281  
3282  
3283  const ComponentsContext = Object(external_wp_element_["createContext"])(
3284  /** @type {Record<string, any>} */
3285  {});
3286  const useComponentsContext = () => Object(external_wp_element_["useContext"])(ComponentsContext);
3287  /**
3288   * Consolidates incoming ContextSystem values with a (potential) parent ContextSystem value.
3289   *
3290   * @param {Object} props
3291   * @param {Record<string, any>} props.value
3292   * @return {Record<string, any>} The consolidated value.
3293   */
3294  
3295  function useContextSystemBridge({
3296    value
3297  }) {
3298    const parentContext = useComponentsContext();
3299    const parentContextRef = Object(external_wp_element_["useRef"])(parentContext);
3300    const valueRef = Object(external_wp_element_["useRef"])(Object(external_lodash_["merge"])(parentContext, value));
3301    const [config, setConfig] = Object(external_wp_element_["useState"])(valueRef.current);
3302    useIsomorphicLayoutEffect(() => {
3303      let hasChange = false;
3304  
3305      if (!Object(external_lodash_["isEqual"])(value, valueRef.current)) {
3306        valueRef.current = value;
3307        hasChange = true;
3308      }
3309  
3310      if (!Object(external_lodash_["isEqual"])(parentContext, parentContextRef.current)) {
3311        valueRef.current = Object(external_lodash_["merge"])(parentContext, valueRef.current);
3312        parentContextRef.current = parentContext;
3313        hasChange = true;
3314      }
3315  
3316      if (hasChange) {
3317        setConfig(prev => ({ ...prev,
3318          ...valueRef.current
3319        }));
3320      }
3321    }, [value, parentContext]);
3322    return config;
3323  }
3324  /**
3325   * A Provider component that can modify props for connected components within
3326   * the Context system.
3327   *
3328   * @example
3329   * ```jsx
3330   * <ContextSystemProvider value={{ Button: { size: 'small' }}}>
3331   *   <Button>...</Button>
3332   * </ContextSystemProvider>
3333   * ```
3334   *
3335   * @template {Record<string, any>} T
3336   * @param {Object} options
3337   * @param {import('react').ReactNode} options.children Children to render.
3338   * @param {T} options.value Props to render into connected components.
3339   * @return {JSX.Element} A Provider wrapped component.
3340   */
3341  
3342  
3343  const BaseContextSystemProvider = ({
3344    children,
3345    value
3346  }) => {
3347    const contextValue = useContextSystemBridge({
3348      value
3349    });
3350    return Object(external_wp_element_["createElement"])(ComponentsContext.Provider, {
3351      value: contextValue
3352    }, children);
3353  };
3354  
3355  const ContextSystemProvider = Object(external_wp_element_["memo"])(BaseContextSystemProvider);
3356  
3357  
3358  /***/ }),
3359  
3360  /***/ "71Og":
3361  /***/ (function(module, __webpack_exports__, __webpack_require__) {
3362  
3363  "use strict";
3364  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return isButton; });
3365  var buttonInputTypes = ["button", "color", "file", "image", "reset", "submit"];
3366  /**
3367   * Checks whether `element` is a native HTML button element.
3368   *
3369   * @example
3370   * import { isButton } from "reakit-utils";
3371   *
3372   * isButton(document.querySelector("button")); // true
3373   * isButton(document.querySelector("input[type='button']")); // true
3374   * isButton(document.querySelector("div")); // false
3375   * isButton(document.querySelector("input[type='text']")); // false
3376   * isButton(document.querySelector("div[role='button']")); // false
3377   *
3378   * @returns {boolean}
3379   */
3380  
3381  function isButton(element) {
3382    if (element.tagName === "BUTTON") return true;
3383  
3384    if (element.tagName === "INPUT") {
3385      var input = element;
3386      return buttonInputTypes.indexOf(input.type) !== -1;
3387    }
3388  
3389    return false;
3390  }
3391  
3392  
3393  
3394  
3395  /***/ }),
3396  
3397  /***/ "75pU":
3398  /***/ (function(module, exports) {
3399  
3400  //
3401  // Main
3402  //
3403  
3404  function memoize (fn, options) {
3405    var cache = options && options.cache
3406      ? options.cache
3407      : cacheDefault
3408  
3409    var serializer = options && options.serializer
3410      ? options.serializer
3411      : serializerDefault
3412  
3413    var strategy = options && options.strategy
3414      ? options.strategy
3415      : strategyDefault
3416  
3417    return strategy(fn, {
3418      cache: cache,
3419      serializer: serializer
3420    })
3421  }
3422  
3423  //
3424  // Strategy
3425  //
3426  
3427  function isPrimitive (value) {
3428    return value == null || typeof value === 'number' || typeof value === 'boolean' // || typeof value === "string" 'unsafe' primitive for our needs
3429  }
3430  
3431  function monadic (fn, cache, serializer, arg) {
3432    var cacheKey = isPrimitive(arg) ? arg : serializer(arg)
3433  
3434    var computedValue = cache.get(cacheKey)
3435    if (typeof computedValue === 'undefined') {
3436      computedValue = fn.call(this, arg)
3437      cache.set(cacheKey, computedValue)
3438    }
3439  
3440    return computedValue
3441  }
3442  
3443  function variadic (fn, cache, serializer) {
3444    var args = Array.prototype.slice.call(arguments, 3)
3445    var cacheKey = serializer(args)
3446  
3447    var computedValue = cache.get(cacheKey)
3448    if (typeof computedValue === 'undefined') {
3449      computedValue = fn.apply(this, args)
3450      cache.set(cacheKey, computedValue)
3451    }
3452  
3453    return computedValue
3454  }
3455  
3456  function assemble (fn, context, strategy, cache, serialize) {
3457    return strategy.bind(
3458      context,
3459      fn,
3460      cache,
3461      serialize
3462    )
3463  }
3464  
3465  function strategyDefault (fn, options) {
3466    var strategy = fn.length === 1 ? monadic : variadic
3467  
3468    return assemble(
3469      fn,
3470      this,
3471      strategy,
3472      options.cache.create(),
3473      options.serializer
3474    )
3475  }
3476  
3477  function strategyVariadic (fn, options) {
3478    var strategy = variadic
3479  
3480    return assemble(
3481      fn,
3482      this,
3483      strategy,
3484      options.cache.create(),
3485      options.serializer
3486    )
3487  }
3488  
3489  function strategyMonadic (fn, options) {
3490    var strategy = monadic
3491  
3492    return assemble(
3493      fn,
3494      this,
3495      strategy,
3496      options.cache.create(),
3497      options.serializer
3498    )
3499  }
3500  
3501  //
3502  // Serializer
3503  //
3504  
3505  function serializerDefault () {
3506    return JSON.stringify(arguments)
3507  }
3508  
3509  //
3510  // Cache
3511  //
3512  
3513  function ObjectWithoutPrototypeCache () {
3514    this.cache = Object.create(null)
3515  }
3516  
3517  ObjectWithoutPrototypeCache.prototype.has = function (key) {
3518    return (key in this.cache)
3519  }
3520  
3521  ObjectWithoutPrototypeCache.prototype.get = function (key) {
3522    return this.cache[key]
3523  }
3524  
3525  ObjectWithoutPrototypeCache.prototype.set = function (key, value) {
3526    this.cache[key] = value
3527  }
3528  
3529  var cacheDefault = {
3530    create: function create () {
3531      return new ObjectWithoutPrototypeCache()
3532    }
3533  }
3534  
3535  //
3536  // API
3537  //
3538  
3539  module.exports = memoize
3540  module.exports.strategies = {
3541    variadic: strategyVariadic,
3542    monadic: strategyMonadic
3543  }
3544  
3545  
3546  /***/ }),
3547  
3548  /***/ "7Cbv":
3549  /***/ (function(module, __webpack_exports__, __webpack_require__) {
3550  
3551  "use strict";
3552  
3553  // CONCATENATED MODULE: ./node_modules/uuid/dist/esm-browser/rng.js
3554  // Unique ID creation requires a high quality random # generator. In the browser we therefore
3555  // require the crypto API and do not support built-in fallback to lower quality random number
3556  // generators (like Math.random()).
3557  var getRandomValues;
3558  var rnds8 = new Uint8Array(16);
3559  function rng() {
3560    // lazy load so that environments that need to polyfill have a chance to do so
3561    if (!getRandomValues) {
3562      // getRandomValues needs to be invoked in a context where "this" is a Crypto implementation. Also,
3563      // find the complete implementation of crypto (msCrypto) on IE11.
3564      getRandomValues = typeof crypto !== 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto) || typeof msCrypto !== 'undefined' && typeof msCrypto.getRandomValues === 'function' && msCrypto.getRandomValues.bind(msCrypto);
3565  
3566      if (!getRandomValues) {
3567        throw new Error('crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported');
3568      }
3569    }
3570  
3571    return getRandomValues(rnds8);
3572  }
3573  // CONCATENATED MODULE: ./node_modules/uuid/dist/esm-browser/regex.js
3574  /* harmony default export */ var regex = (/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i);
3575  // CONCATENATED MODULE: ./node_modules/uuid/dist/esm-browser/validate.js
3576  
3577  
3578  function validate(uuid) {
3579    return typeof uuid === 'string' && regex.test(uuid);
3580  }
3581  
3582  /* harmony default export */ var esm_browser_validate = (validate);
3583  // CONCATENATED MODULE: ./node_modules/uuid/dist/esm-browser/stringify.js
3584  
3585  /**
3586   * Convert array of 16 byte values to UUID string format of the form:
3587   * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
3588   */
3589  
3590  var byteToHex = [];
3591  
3592  for (var stringify_i = 0; stringify_i < 256; ++stringify_i) {
3593    byteToHex.push((stringify_i + 0x100).toString(16).substr(1));
3594  }
3595  
3596  function stringify(arr) {
3597    var offset = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
3598    // Note: Be careful editing this code!  It's been tuned for performance
3599    // and works in ways you may not expect. See https://github.com/uuidjs/uuid/pull/434
3600    var uuid = (byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + '-' + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + '-' + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + '-' + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + '-' + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase(); // Consistency check for valid UUID.  If this throws, it's likely due to one
3601    // of the following:
3602    // - One or more input array values don't map to a hex octet (leading to
3603    // "undefined" in the uuid)
3604    // - Invalid input values for the RFC `version` or `variant` fields
3605  
3606    if (!esm_browser_validate(uuid)) {
3607      throw TypeError('Stringified UUID is invalid');
3608    }
3609  
3610    return uuid;
3611  }
3612  
3613  /* harmony default export */ var esm_browser_stringify = (stringify);
3614  // CONCATENATED MODULE: ./node_modules/uuid/dist/esm-browser/v4.js
3615  
3616  
3617  
3618  function v4(options, buf, offset) {
3619    options = options || {};
3620    var rnds = options.random || (options.rng || rng)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`
3621  
3622    rnds[6] = rnds[6] & 0x0f | 0x40;
3623    rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided
3624  
3625    if (buf) {
3626      offset = offset || 0;
3627  
3628      for (var i = 0; i < 16; ++i) {
3629        buf[offset + i] = rnds[i];
3630      }
3631  
3632      return buf;
3633    }
3634  
3635    return esm_browser_stringify(rnds);
3636  }
3637  
3638  /* harmony default export */ var esm_browser_v4 = __webpack_exports__["a"] = (v4);
3639  
3640  /***/ }),
3641  
3642  /***/ "7Ji+":
3643  /***/ (function(module, exports, __webpack_require__) {
3644  
3645  "use strict";
3646  
3647  
3648  var GetIntrinsic = __webpack_require__("rZ7t");
3649  
3650  var $Array = GetIntrinsic('%Array%');
3651  var $species = GetIntrinsic('%Symbol.species%', true);
3652  var $TypeError = GetIntrinsic('%TypeError%');
3653  
3654  var Get = __webpack_require__("3aeR");
3655  var IsArray = __webpack_require__("9cOx");
3656  var IsConstructor = __webpack_require__("kuGu");
3657  var IsInteger = __webpack_require__("R/b7");
3658  var Type = __webpack_require__("V1cy");
3659  
3660  // https://ecma-international.org/ecma-262/6.0/#sec-arrayspeciescreate
3661  
3662  module.exports = function ArraySpeciesCreate(originalArray, length) {
3663      if (!IsInteger(length) || length < 0) {
3664          throw new $TypeError('Assertion failed: length must be an integer >= 0');
3665      }
3666      var len = length === 0 ? 0 : length;
3667      var C;
3668      var isArray = IsArray(originalArray);
3669      if (isArray) {
3670          C = Get(originalArray, 'constructor');
3671          // TODO: figure out how to make a cross-realm normal Array, a same-realm Array
3672          // if (IsConstructor(C)) {
3673          //     if C is another realm's Array, C = undefined
3674          //     Object.getPrototypeOf(Object.getPrototypeOf(Object.getPrototypeOf(Array))) === null ?
3675          // }
3676          if ($species && Type(C) === 'Object') {
3677              C = Get(C, $species);
3678              if (C === null) {
3679                  C = void 0;
3680              }
3681          }
3682      }
3683      if (typeof C === 'undefined') {
3684          return $Array(len);
3685      }
3686      if (!IsConstructor(C)) {
3687          throw new $TypeError('C must be a constructor');
3688      }
3689      return new C(len); // Construct(C, len);
3690  };
3691  
3692  
3693  
3694  /***/ }),
3695  
3696  /***/ "7Jlx":
3697  /***/ (function(module, __webpack_exports__, __webpack_require__) {
3698  
3699  "use strict";
3700  /* WEBPACK VAR INJECTION */(function(process) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return contextConnect; });
3701  /* unused harmony export getConnectNamespace */
3702  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return hasConnectNamespace; });
3703  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("YLtl");
3704  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_0__);
3705  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("GRId");
3706  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__);
3707  /* harmony import */ var _wordpress_warning__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("Z23Y");
3708  /* harmony import */ var _wordpress_warning__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_warning__WEBPACK_IMPORTED_MODULE_2__);
3709  /* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("tQ+x");
3710  /* harmony import */ var _get_styled_class_name_from_key__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("UAm0");
3711  /**
3712   * External dependencies
3713   */
3714  
3715  /**
3716   * WordPress dependencies
3717   */
3718  
3719  
3720  
3721  /**
3722   * Internal dependencies
3723   */
3724  
3725  
3726  
3727  /* eslint-disable jsdoc/valid-types */
3728  
3729  /**
3730   * Forwards ref (React.ForwardRef) and "Connects" (or registers) a component
3731   * within the Context system under a specified namespace.
3732   *
3733   * This is an (experimental) evolution of the initial connect() HOC.
3734   * The hope is that we can improve render performance by removing functional
3735   * component wrappers.
3736   *
3737   * @template {import('./polymorphic-component').ViewOwnProps<{}, any>} P
3738   * @param {(props: P, ref: import('react').Ref<any>) => JSX.Element | null} Component The component to register into the Context system.
3739   * @param {string} namespace The namespace to register the component under.
3740   * @param {Object} options
3741   * @param {boolean} [options.memo=false]
3742   * @return {import('./polymorphic-component').PolymorphicComponent<import('./polymorphic-component').ElementTypeFromViewOwnProps<P>, import('./polymorphic-component').PropsFromViewOwnProps<P>>} The connected PolymorphicComponent
3743   */
3744  
3745  function contextConnect(Component, namespace, options = {}) {
3746    /* eslint-enable jsdoc/valid-types */
3747    const {
3748      memo: memoProp = false
3749    } = options;
3750    let WrappedComponent = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["forwardRef"])(Component);
3751  
3752    if (memoProp) {
3753      // @ts-ignore
3754      WrappedComponent = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["memo"])(WrappedComponent);
3755    }
3756  
3757    if (typeof namespace === 'undefined') {
3758      typeof process !== "undefined" && process.env && "production" !== "production" ? _wordpress_warning__WEBPACK_IMPORTED_MODULE_2___default()('contextConnect: Please provide a namespace') : void 0;
3759    } // @ts-ignore internal property
3760  
3761  
3762    let mergedNamespace = WrappedComponent[_constants__WEBPACK_IMPORTED_MODULE_3__[/* CONNECT_STATIC_NAMESPACE */ "c"]] || [namespace];
3763    /**
3764     * Consolidate (merge) namespaces before attaching it to the WrappedComponent.
3765     */
3766  
3767    if (Array.isArray(namespace)) {
3768      mergedNamespace = [...mergedNamespace, ...namespace];
3769    }
3770  
3771    if (typeof namespace === 'string') {
3772      mergedNamespace = [...mergedNamespace, namespace];
3773    }
3774  
3775    WrappedComponent.displayName = namespace; // @ts-ignore internal property
3776  
3777    WrappedComponent[_constants__WEBPACK_IMPORTED_MODULE_3__[/* CONNECT_STATIC_NAMESPACE */ "c"]] = Object(lodash__WEBPACK_IMPORTED_MODULE_0__["uniq"])(mergedNamespace); // @ts-ignore PolymorphicComponent property
3778  
3779    WrappedComponent.selector = `.$Object(_get_styled_class_name_from_key__WEBPACK_IMPORTED_MODULE_4__[/* getStyledClassNameFromKey */ "a"])(namespace)}`; // @ts-ignore
3780  
3781    return WrappedComponent;
3782  }
3783  /**
3784   * Attempts to retrieve the connected namespace from a component.
3785   *
3786   * @param {import('react').ReactChild | undefined | {}} Component The component to retrieve a namespace from.
3787   * @return {Array<string>} The connected namespaces.
3788   */
3789  
3790  function getConnectNamespace(Component) {
3791    if (!Component) return [];
3792    let namespaces = []; // @ts-ignore internal property
3793  
3794    if (Component[_constants__WEBPACK_IMPORTED_MODULE_3__[/* CONNECT_STATIC_NAMESPACE */ "c"]]) {
3795      // @ts-ignore internal property
3796      namespaces = Component[_constants__WEBPACK_IMPORTED_MODULE_3__[/* CONNECT_STATIC_NAMESPACE */ "c"]];
3797    } // @ts-ignore
3798  
3799  
3800    if (Component.type && Component.type[_constants__WEBPACK_IMPORTED_MODULE_3__[/* CONNECT_STATIC_NAMESPACE */ "c"]]) {
3801      // @ts-ignore
3802      namespaces = Component.type[_constants__WEBPACK_IMPORTED_MODULE_3__[/* CONNECT_STATIC_NAMESPACE */ "c"]];
3803    }
3804  
3805    return namespaces;
3806  }
3807  /**
3808   * Checks to see if a component is connected within the Context system.
3809   *
3810   * @param {import('react').ReactNode} Component The component to retrieve a namespace from.
3811   * @param {Array<string>|string} match The namespace to check.
3812   * @return {boolean} The result.
3813   */
3814  
3815  function hasConnectNamespace(Component, match) {
3816    if (!Component) return false;
3817  
3818    if (typeof match === 'string') {
3819      return getConnectNamespace(Component).includes(match);
3820    }
3821  
3822    if (Array.isArray(match)) {
3823      return match.some(result => getConnectNamespace(Component).includes(result));
3824    }
3825  
3826    return false;
3827  }
3828  
3829  /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__("8oxB")))
3830  
3831  /***/ }),
3832  
3833  /***/ "82c2":
3834  /***/ (function(module, exports, __webpack_require__) {
3835  
3836  "use strict";
3837  
3838  
3839  var keys = __webpack_require__("1seS");
3840  var hasSymbols = typeof Symbol === 'function' && typeof Symbol('foo') === 'symbol';
3841  
3842  var toStr = Object.prototype.toString;
3843  var concat = Array.prototype.concat;
3844  var origDefineProperty = Object.defineProperty;
3845  
3846  var isFunction = function (fn) {
3847      return typeof fn === 'function' && toStr.call(fn) === '[object Function]';
3848  };
3849  
3850  var arePropertyDescriptorsSupported = function () {
3851      var obj = {};
3852      try {
3853          origDefineProperty(obj, 'x', { enumerable: false, value: obj });
3854          // eslint-disable-next-line no-unused-vars, no-restricted-syntax
3855          for (var _ in obj) { // jscs:ignore disallowUnusedVariables
3856              return false;
3857          }
3858          return obj.x === obj;
3859      } catch (e) { /* this is IE 8. */
3860          return false;
3861      }
3862  };
3863  var supportsDescriptors = origDefineProperty && arePropertyDescriptorsSupported();
3864  
3865  var defineProperty = function (object, name, value, predicate) {
3866      if (name in object && (!isFunction(predicate) || !predicate())) {
3867          return;
3868      }
3869      if (supportsDescriptors) {
3870          origDefineProperty(object, name, {
3871              configurable: true,
3872              enumerable: false,
3873              value: value,
3874              writable: true
3875          });
3876      } else {
3877          object[name] = value;
3878      }
3879  };
3880  
3881  var defineProperties = function (object, map) {
3882      var predicates = arguments.length > 2 ? arguments[2] : {};
3883      var props = keys(map);
3884      if (hasSymbols) {
3885          props = concat.call(props, Object.getOwnPropertySymbols(map));
3886      }
3887      for (var i = 0; i < props.length; i += 1) {
3888          defineProperty(object, props[i], map[props[i]], predicates[props[i]]);
3889      }
3890  };
3891  
3892  defineProperties.supportsDescriptors = !!supportsDescriptors;
3893  
3894  module.exports = defineProperties;
3895  
3896  
3897  /***/ }),
3898  
3899  /***/ "8OQS":
3900  /***/ (function(module, exports) {
3901  
3902  function _objectWithoutPropertiesLoose(source, excluded) {
3903    if (source == null) return {};
3904    var target = {};
3905    var sourceKeys = Object.keys(source);
3906    var key, i;
3907  
3908    for (i = 0; i < sourceKeys.length; i++) {
3909      key = sourceKeys[i];
3910      if (excluded.indexOf(key) >= 0) continue;
3911      target[key] = source[key];
3912    }
3913  
3914    return target;
3915  }
3916  
3917  module.exports = _objectWithoutPropertiesLoose;
3918  module.exports["default"] = module.exports, module.exports.__esModule = true;
3919  
3920  /***/ }),
3921  
3922  /***/ "8R9v":
3923  /***/ (function(module, exports, __webpack_require__) {
3924  
3925  "use strict";
3926  
3927  
3928  var define = __webpack_require__("82c2");
3929  var getPolyfill = __webpack_require__("yLpt");
3930  
3931  module.exports = function shimAssign() {
3932      var polyfill = getPolyfill();
3933      define(
3934          Object,
3935          { assign: polyfill },
3936          { assign: function () { return Object.assign !== polyfill; } }
3937      );
3938      return polyfill;
3939  };
3940  
3941  
3942  /***/ }),
3943  
3944  /***/ "8oxB":
3945  /***/ (function(module, exports) {
3946  
3947  // shim for using process in browser
3948  var process = module.exports = {};
3949  
3950  // cached from whatever global is present so that test runners that stub it
3951  // don't break things.  But we need to wrap it in a try catch in case it is
3952  // wrapped in strict mode code which doesn't define any globals.  It's inside a
3953  // function because try/catches deoptimize in certain engines.
3954  
3955  var cachedSetTimeout;
3956  var cachedClearTimeout;
3957  
3958  function defaultSetTimout() {
3959      throw new Error('setTimeout has not been defined');
3960  }
3961  function defaultClearTimeout () {
3962      throw new Error('clearTimeout has not been defined');
3963  }
3964  (function () {
3965      try {
3966          if (typeof setTimeout === 'function') {
3967              cachedSetTimeout = setTimeout;
3968          } else {
3969              cachedSetTimeout = defaultSetTimout;
3970          }
3971      } catch (e) {
3972          cachedSetTimeout = defaultSetTimout;
3973      }
3974      try {
3975          if (typeof clearTimeout === 'function') {
3976              cachedClearTimeout = clearTimeout;
3977          } else {
3978              cachedClearTimeout = defaultClearTimeout;
3979          }
3980      } catch (e) {
3981          cachedClearTimeout = defaultClearTimeout;
3982      }
3983  } ())
3984  function runTimeout(fun) {
3985      if (cachedSetTimeout === setTimeout) {
3986          //normal enviroments in sane situations
3987          return setTimeout(fun, 0);
3988      }
3989      // if setTimeout wasn't available but was latter defined
3990      if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {
3991          cachedSetTimeout = setTimeout;
3992          return setTimeout(fun, 0);
3993      }
3994      try {
3995          // when when somebody has screwed with setTimeout but no I.E. maddness
3996          return cachedSetTimeout(fun, 0);
3997      } catch(e){
3998          try {
3999              // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally
4000              return cachedSetTimeout.call(null, fun, 0);
4001          } catch(e){
4002              // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error
4003              return cachedSetTimeout.call(this, fun, 0);
4004          }
4005      }
4006  
4007  
4008  }
4009  function runClearTimeout(marker) {
4010      if (cachedClearTimeout === clearTimeout) {
4011          //normal enviroments in sane situations
4012          return clearTimeout(marker);
4013      }
4014      // if clearTimeout wasn't available but was latter defined
4015      if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {
4016          cachedClearTimeout = clearTimeout;
4017          return clearTimeout(marker);
4018      }
4019      try {
4020          // when when somebody has screwed with setTimeout but no I.E. maddness
4021          return cachedClearTimeout(marker);
4022      } catch (e){
4023          try {
4024              // When we are in I.E. but the script has been evaled so I.E. doesn't  trust the global object when called normally
4025              return cachedClearTimeout.call(null, marker);
4026          } catch (e){
4027              // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.
4028              // Some versions of I.E. have different rules for clearTimeout vs setTimeout
4029              return cachedClearTimeout.call(this, marker);
4030          }
4031      }
4032  
4033  
4034  
4035  }
4036  var queue = [];
4037  var draining = false;
4038  var currentQueue;
4039  var queueIndex = -1;
4040  
4041  function cleanUpNextTick() {
4042      if (!draining || !currentQueue) {
4043          return;
4044      }
4045      draining = false;
4046      if (currentQueue.length) {
4047          queue = currentQueue.concat(queue);
4048      } else {
4049          queueIndex = -1;
4050      }
4051      if (queue.length) {
4052          drainQueue();
4053      }
4054  }
4055  
4056  function drainQueue() {
4057      if (draining) {
4058          return;
4059      }
4060      var timeout = runTimeout(cleanUpNextTick);
4061      draining = true;
4062  
4063      var len = queue.length;
4064      while(len) {
4065          currentQueue = queue;
4066          queue = [];
4067          while (++queueIndex < len) {
4068              if (currentQueue) {
4069                  currentQueue[queueIndex].run();
4070              }
4071          }
4072          queueIndex = -1;
4073          len = queue.length;
4074      }
4075      currentQueue = null;
4076      draining = false;
4077      runClearTimeout(timeout);
4078  }
4079  
4080  process.nextTick = function (fun) {
4081      var args = new Array(arguments.length - 1);
4082      if (arguments.length > 1) {
4083          for (var i = 1; i < arguments.length; i++) {
4084              args[i - 1] = arguments[i];
4085          }
4086      }
4087      queue.push(new Item(fun, args));
4088      if (queue.length === 1 && !draining) {
4089          runTimeout(drainQueue);
4090      }
4091  };
4092  
4093  // v8 likes predictible objects
4094  function Item(fun, array) {
4095      this.fun = fun;
4096      this.array = array;
4097  }
4098  Item.prototype.run = function () {
4099      this.fun.apply(null, this.array);
4100  };
4101  process.title = 'browser';
4102  process.browser = true;
4103  process.env = {};
4104  process.argv = [];
4105  process.version = ''; // empty string to avoid regexp issues
4106  process.versions = {};
4107  
4108  function noop() {}
4109  
4110  process.on = noop;
4111  process.addListener = noop;
4112  process.once = noop;
4113  process.off = noop;
4114  process.removeListener = noop;
4115  process.removeAllListeners = noop;
4116  process.emit = noop;
4117  process.prependListener = noop;
4118  process.prependOnceListener = noop;
4119  
4120  process.listeners = function (name) { return [] }
4121  
4122  process.binding = function (name) {
4123      throw new Error('process.binding is not supported');
4124  };
4125  
4126  process.cwd = function () { return '/' };
4127  process.chdir = function (dir) {
4128      throw new Error('process.chdir is not supported');
4129  };
4130  process.umask = function() { return 0; };
4131  
4132  
4133  /***/ }),
4134  
4135  /***/ "9Do8":
4136  /***/ (function(module, exports, __webpack_require__) {
4137  
4138  "use strict";
4139  
4140  
4141  module.exports = __webpack_require__("zt9T");
4142  
4143  /***/ }),
4144  
4145  /***/ "9NHk":
4146  /***/ (function(module, __webpack_exports__, __webpack_require__) {
4147  
4148  "use strict";
4149  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return withNext; });
4150  /* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("wx14");
4151  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("GRId");
4152  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__);
4153  
4154  
4155  
4156  /**
4157   * Internal dependencies
4158   */
4159  
4160  
4161  /**
4162   * @template {{}} TCurrentProps
4163   * @template {{}} TNextProps
4164   * @param {import('react').ForwardRefExoticComponent<TCurrentProps>} CurrentComponent
4165   * @param {import('react').ComponentType<TNextProps>} NextComponent
4166   * @param {string} namespace
4167   * @param {(props: TCurrentProps) => TNextProps} adapter
4168   */
4169  
4170  function withNext(CurrentComponent, NextComponent = () => null, namespace = 'Component', adapter = p =>
4171  /** @type {any} */
4172  p) {
4173    if (false) {}
4174  
4175    return CurrentComponent;
4176  }
4177  
4178  
4179  /***/ }),
4180  
4181  /***/ "9VDH":
4182  /***/ (function(module, __webpack_exports__, __webpack_require__) {
4183  
4184  "use strict";
4185  /* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("wx14");
4186  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("GRId");
4187  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__);
4188  /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("Tqx9");
4189  /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_2__);
4190  /* harmony import */ var _dashicon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("vUUf");
4191  
4192  
4193  /**
4194   * WordPress dependencies
4195   */
4196  
4197  
4198  /**
4199   * Internal dependencies
4200   */
4201  
4202  
4203  
4204  function Icon({
4205    icon = null,
4206    size,
4207    ...additionalProps
4208  }) {
4209    if ('string' === typeof icon) {
4210      return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_dashicon__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"], Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])({
4211        icon: icon
4212      }, additionalProps));
4213    }
4214  
4215    if (icon && _dashicon__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"] === icon.type) {
4216      return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["cloneElement"])(icon, { ...additionalProps
4217      });
4218    } // Icons should be 24x24 by default.
4219  
4220  
4221    const iconSize = size || 24;
4222  
4223    if ('function' === typeof icon) {
4224      if (icon.prototype instanceof _wordpress_element__WEBPACK_IMPORTED_MODULE_1__["Component"]) {
4225        return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(icon, {
4226          size: iconSize,
4227          ...additionalProps
4228        });
4229      }
4230  
4231      return icon({
4232        size: iconSize,
4233        ...additionalProps
4234      });
4235    }
4236  
4237    if (icon && (icon.type === 'svg' || icon.type === _wordpress_primitives__WEBPACK_IMPORTED_MODULE_2__["SVG"])) {
4238      const appliedProps = {
4239        width: iconSize,
4240        height: iconSize,
4241        ...icon.props,
4242        ...additionalProps
4243      };
4244      return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_2__["SVG"], appliedProps);
4245    }
4246  
4247    if (Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["isValidElement"])(icon)) {
4248      return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["cloneElement"])(icon, {
4249        size: iconSize,
4250        ...additionalProps
4251      });
4252    }
4253  
4254    return icon;
4255  }
4256  
4257  /* harmony default export */ __webpack_exports__["a"] = (Icon);
4258  
4259  
4260  /***/ }),
4261  
4262  /***/ "9cOx":
4263  /***/ (function(module, exports, __webpack_require__) {
4264  
4265  "use strict";
4266  
4267  
4268  var GetIntrinsic = __webpack_require__("rZ7t");
4269  
4270  var $Array = GetIntrinsic('%Array%');
4271  
4272  // eslint-disable-next-line global-require
4273  var toStr = !$Array.isArray && __webpack_require__("EXo9")('Object.prototype.toString');
4274  
4275  // https://ecma-international.org/ecma-262/6.0/#sec-isarray
4276  
4277  module.exports = $Array.isArray || function IsArray(argument) {
4278      return toStr(argument) === '[object Array]';
4279  };
4280  
4281  
4282  /***/ }),
4283  
4284  /***/ "9gmn":
4285  /***/ (function(module, exports, __webpack_require__) {
4286  
4287  "use strict";
4288  
4289  
4290  Object.defineProperty(exports, "__esModule", {
4291    value: true
4292  });
4293  
4294  var _react = __webpack_require__("cDcd");
4295  
4296  var _react2 = _interopRequireDefault(_react);
4297  
4298  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
4299  
4300  var ChevronUp = function () {
4301    function ChevronUp(props) {
4302      return _react2['default'].createElement(
4303        'svg',
4304        props,
4305        _react2['default'].createElement('path', {
4306          d: 'M32.1 712.6l453.2-452.2c11-11 21-11 32 0l453.2 452.2c4 5 6 10 6 16 0 13-10 23-22 23-7 0-12-2-16-7L501.3 308.5 64.1 744.7c-4 5-9 7-15 7-7 0-12-2-17-7-9-11-9-21 0-32.1z'
4307        })
4308      );
4309    }
4310  
4311    return ChevronUp;
4312  }();
4313  
4314  ChevronUp.defaultProps = {
4315    viewBox: '0 0 1000 1000'
4316  };
4317  exports['default'] = ChevronUp;
4318  
4319  /***/ }),
4320  
4321  /***/ "9pTB":
4322  /***/ (function(module, exports, __webpack_require__) {
4323  
4324  "use strict";
4325  /* WEBPACK VAR INJECTION */(function(global) {
4326  
4327  var define = __webpack_require__("82c2");
4328  var isSymbol = __webpack_require__("/sVA");
4329  
4330  var globalKey = '__ global cache key __';
4331  /* istanbul ignore else */
4332  // eslint-disable-next-line no-restricted-properties
4333  if (typeof Symbol === 'function' && isSymbol(Symbol('foo')) && typeof Symbol['for'] === 'function') {
4334      // eslint-disable-next-line no-restricted-properties
4335      globalKey = Symbol['for'](globalKey);
4336  }
4337  
4338  var trueThunk = function () {
4339      return true;
4340  };
4341  
4342  var ensureCache = function ensureCache() {
4343      if (!global[globalKey]) {
4344          var properties = {};
4345          properties[globalKey] = {};
4346          var predicates = {};
4347          predicates[globalKey] = trueThunk;
4348          define(global, properties, predicates);
4349      }
4350      return global[globalKey];
4351  };
4352  
4353  var cache = ensureCache();
4354  
4355  var isPrimitive = function isPrimitive(val) {
4356      return val === null || (typeof val !== 'object' && typeof val !== 'function');
4357  };
4358  
4359  var getPrimitiveKey = function getPrimitiveKey(val) {
4360      if (isSymbol(val)) {
4361          return Symbol.prototype.valueOf.call(val);
4362      }
4363      return typeof val + ' | ' + String(val);
4364  };
4365  
4366  var requirePrimitiveKey = function requirePrimitiveKey(val) {
4367      if (!isPrimitive(val)) {
4368          throw new TypeError('key must not be an object');
4369      }
4370  };
4371  
4372  var globalCache = {
4373      clear: function clear() {
4374          delete global[globalKey];
4375          cache = ensureCache();
4376      },
4377  
4378      'delete': function deleteKey(key) {
4379          requirePrimitiveKey(key);
4380          delete cache[getPrimitiveKey(key)];
4381          return !globalCache.has(key);
4382      },
4383  
4384      get: function get(key) {
4385          requirePrimitiveKey(key);
4386          return cache[getPrimitiveKey(key)];
4387      },
4388  
4389      has: function has(key) {
4390          requirePrimitiveKey(key);
4391          return getPrimitiveKey(key) in cache;
4392      },
4393  
4394      set: function set(key, value) {
4395          requirePrimitiveKey(key);
4396          var primitiveKey = getPrimitiveKey(key);
4397          var props = {};
4398          props[primitiveKey] = value;
4399          var predicates = {};
4400          predicates[primitiveKey] = trueThunk;
4401          define(cache, props, predicates);
4402          return globalCache.has(key);
4403      },
4404  
4405      setIfMissingThenGet: function setIfMissingThenGet(key, valueThunk) {
4406          if (globalCache.has(key)) {
4407              return globalCache.get(key);
4408          }
4409          var item = valueThunk();
4410          globalCache.set(key, item);
4411          return item;
4412      }
4413  };
4414  
4415  module.exports = globalCache;
4416  
4417  /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__("yLpj")))
4418  
4419  /***/ }),
4420  
4421  /***/ "9uj6":
4422  /***/ (function(module, __webpack_exports__, __webpack_require__) {
4423  
4424  "use strict";
4425  __webpack_require__.r(__webpack_exports__);
4426  /* harmony import */ var _emotion_memoize__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("4qRI");
4427  
4428  
4429  var reactPropsRegex = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|inert|itemProp|itemScope|itemType|itemID|itemRef|on|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/; // https://esbench.com/bench/5bfee68a4cd7e6009ef61d23
4430  
4431  var index = Object(_emotion_memoize__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(function (prop) {
4432    return reactPropsRegex.test(prop) || prop.charCodeAt(0) === 111
4433    /* o */
4434    && prop.charCodeAt(1) === 110
4435    /* n */
4436    && prop.charCodeAt(2) < 91;
4437  }
4438  /* Z+1 */
4439  );
4440  
4441  /* harmony default export */ __webpack_exports__["default"] = (index);
4442  
4443  
4444  /***/ }),
4445  
4446  /***/ "AClM":
4447  /***/ (function(module, __webpack_exports__, __webpack_require__) {
4448  
4449  "use strict";
4450  
4451  // EXPORTS
4452  __webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */ ensureFocus; });
4453  
4454  // EXTERNAL MODULE: ./node_modules/reakit-utils/es/getActiveElement.js
4455  var getActiveElement = __webpack_require__("Nym8");
4456  
4457  // CONCATENATED MODULE: ./node_modules/reakit-utils/es/hasFocus.js
4458  
4459  
4460  
4461  /**
4462   * Checks if `element` has focus. Elements that are referenced by
4463   * `aria-activedescendant` are also considered.
4464   *
4465   * @example
4466   * import { hasFocus } from "reakit-utils";
4467   *
4468   * hasFocus(document.getElementById("id"));
4469   */
4470  
4471  function hasFocus(element) {
4472    var activeElement = Object(getActiveElement["a" /* getActiveElement */])(element);
4473    if (!activeElement) return false;
4474    if (activeElement === element) return true;
4475    var activeDescendant = activeElement.getAttribute("aria-activedescendant");
4476    if (!activeDescendant) return false;
4477    return activeDescendant === element.id;
4478  }
4479  
4480  
4481  
4482  // CONCATENATED MODULE: ./node_modules/reakit-utils/es/ensureFocus.js
4483  
4484  
4485  
4486  
4487  /**
4488   * Ensures `element` will receive focus if it's not already.
4489   *
4490   * @example
4491   * import { ensureFocus } from "reakit-utils";
4492   *
4493   * ensureFocus(document.activeElement); // does nothing
4494   *
4495   * const element = document.querySelector("input");
4496   *
4497   * ensureFocus(element); // focuses element
4498   * ensureFocus(element, { preventScroll: true }); // focuses element preventing scroll jump
4499   *
4500   * function isActive(el) {
4501   *   return el.dataset.active === "true";
4502   * }
4503   *
4504   * ensureFocus(document.querySelector("[data-active='true']"), { isActive }); // does nothing
4505   *
4506   * @returns {number} `requestAnimationFrame` call ID so it can be passed to `cancelAnimationFrame` if needed.
4507   */
4508  function ensureFocus(element, _temp) {
4509    var _ref = _temp === void 0 ? {} : _temp,
4510        preventScroll = _ref.preventScroll,
4511        _ref$isActive = _ref.isActive,
4512        isActive = _ref$isActive === void 0 ? hasFocus : _ref$isActive;
4513  
4514    if (isActive(element)) return -1;
4515    element.focus({
4516      preventScroll: preventScroll
4517    });
4518    if (isActive(element)) return -1;
4519    return requestAnimationFrame(function () {
4520      element.focus({
4521        preventScroll: preventScroll
4522      });
4523    });
4524  }
4525  
4526  
4527  
4528  
4529  /***/ }),
4530  
4531  /***/ "AM7I":
4532  /***/ (function(module, exports, __webpack_require__) {
4533  
4534  "use strict";
4535  
4536  
4537  /* globals
4538      AggregateError,
4539      Atomics,
4540      FinalizationRegistry,
4541      SharedArrayBuffer,
4542      WeakRef,
4543  */
4544  
4545  var undefined;
4546  
4547  var $SyntaxError = SyntaxError;
4548  var $Function = Function;
4549  var $TypeError = TypeError;
4550  
4551  // eslint-disable-next-line consistent-return
4552  var getEvalledConstructor = function (expressionSyntax) {
4553      try {
4554          // eslint-disable-next-line no-new-func
4555          return Function('"use strict"; return (' + expressionSyntax + ').constructor;')();
4556      } catch (e) {}
4557  };
4558  
4559  var $gOPD = Object.getOwnPropertyDescriptor;
4560  if ($gOPD) {
4561      try {
4562          $gOPD({}, '');
4563      } catch (e) {
4564          $gOPD = null; // this is IE 8, which has a broken gOPD
4565      }
4566  }
4567  
4568  var throwTypeError = function () {
4569      throw new $TypeError();
4570  };
4571  var ThrowTypeError = $gOPD
4572      ? (function () {
4573          try {
4574              // eslint-disable-next-line no-unused-expressions, no-caller, no-restricted-properties
4575              arguments.callee; // IE 8 does not throw here
4576              return throwTypeError;
4577          } catch (calleeThrows) {
4578              try {
4579                  // IE 8 throws on Object.getOwnPropertyDescriptor(arguments, '')
4580                  return $gOPD(arguments, 'callee').get;
4581              } catch (gOPDthrows) {
4582                  return throwTypeError;
4583              }
4584          }
4585      }())
4586      : throwTypeError;
4587  
4588  var hasSymbols = __webpack_require__("UVaH")();
4589  
4590  var getProto = Object.getPrototypeOf || function (x) { return x.__proto__; }; // eslint-disable-line no-proto
4591  
4592  var asyncGenFunction = getEvalledConstructor('async function* () {}');
4593  var asyncGenFunctionPrototype = asyncGenFunction ? asyncGenFunction.prototype : undefined;
4594  var asyncGenPrototype = asyncGenFunctionPrototype ? asyncGenFunctionPrototype.prototype : undefined;
4595  
4596  var TypedArray = typeof Uint8Array === 'undefined' ? undefined : getProto(Uint8Array);
4597  
4598  var INTRINSICS = {
4599      '%AggregateError%': typeof AggregateError === 'undefined' ? undefined : AggregateError,
4600      '%Array%': Array,
4601      '%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined : ArrayBuffer,
4602      '%ArrayIteratorPrototype%': hasSymbols ? getProto([][Symbol.iterator]()) : undefined,
4603      '%AsyncFromSyncIteratorPrototype%': undefined,
4604      '%AsyncFunction%': getEvalledConstructor('async function () {}'),
4605      '%AsyncGenerator%': asyncGenFunctionPrototype,
4606      '%AsyncGeneratorFunction%': asyncGenFunction,
4607      '%AsyncIteratorPrototype%': asyncGenPrototype ? getProto(asyncGenPrototype) : undefined,
4608      '%Atomics%': typeof Atomics === 'undefined' ? undefined : Atomics,
4609      '%BigInt%': typeof BigInt === 'undefined' ? undefined : BigInt,
4610      '%Boolean%': Boolean,
4611      '%DataView%': typeof DataView === 'undefined' ? undefined : DataView,
4612      '%Date%': Date,
4613      '%decodeURI%': decodeURI,
4614      '%decodeURIComponent%': decodeURIComponent,
4615      '%encodeURI%': encodeURI,
4616      '%encodeURIComponent%': encodeURIComponent,
4617      '%Error%': Error,
4618      '%eval%': eval, // eslint-disable-line no-eval
4619      '%EvalError%': EvalError,
4620      '%Float32Array%': typeof Float32Array === 'undefined' ? undefined : Float32Array,
4621      '%Float64Array%': typeof Float64Array === 'undefined' ? undefined : Float64Array,
4622      '%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined : FinalizationRegistry,
4623      '%Function%': $Function,
4624      '%GeneratorFunction%': getEvalledConstructor('function* () {}'),
4625      '%Int8Array%': typeof Int8Array === 'undefined' ? undefined : Int8Array,
4626      '%Int16Array%': typeof Int16Array === 'undefined' ? undefined : Int16Array,
4627      '%Int32Array%': typeof Int32Array === 'undefined' ? undefined : Int32Array,
4628      '%isFinite%': isFinite,
4629      '%isNaN%': isNaN,
4630      '%IteratorPrototype%': hasSymbols ? getProto(getProto([][Symbol.iterator]())) : undefined,
4631      '%JSON%': typeof JSON === 'object' ? JSON : undefined,
4632      '%Map%': typeof Map === 'undefined' ? undefined : Map,
4633      '%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols ? undefined : getProto(new Map()[Symbol.iterator]()),
4634      '%Math%': Math,
4635      '%Number%': Number,
4636      '%Object%': Object,
4637      '%parseFloat%': parseFloat,
4638      '%parseInt%': parseInt,
4639      '%Promise%': typeof Promise === 'undefined' ? undefined : Promise,
4640      '%Proxy%': typeof Proxy === 'undefined' ? undefined : Proxy,
4641      '%RangeError%': RangeError,
4642      '%ReferenceError%': ReferenceError,
4643      '%Reflect%': typeof Reflect === 'undefined' ? undefined : Reflect,
4644      '%RegExp%': RegExp,
4645      '%Set%': typeof Set === 'undefined' ? undefined : Set,
4646      '%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols ? undefined : getProto(new Set()[Symbol.iterator]()),
4647      '%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined : SharedArrayBuffer,
4648      '%String%': String,
4649      '%StringIteratorPrototype%': hasSymbols ? getProto(''[Symbol.iterator]()) : undefined,
4650      '%Symbol%': hasSymbols ? Symbol : undefined,
4651      '%SyntaxError%': $SyntaxError,
4652      '%ThrowTypeError%': ThrowTypeError,
4653      '%TypedArray%': TypedArray,
4654      '%TypeError%': $TypeError,
4655      '%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined : Uint8Array,
4656      '%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined : Uint8ClampedArray,
4657      '%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined : Uint16Array,
4658      '%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined : Uint32Array,
4659      '%URIError%': URIError,
4660      '%WeakMap%': typeof WeakMap === 'undefined' ? undefined : WeakMap,
4661      '%WeakRef%': typeof WeakRef === 'undefined' ? undefined : WeakRef,
4662      '%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet
4663  };
4664  
4665  var LEGACY_ALIASES = {
4666      '%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'],
4667      '%ArrayPrototype%': ['Array', 'prototype'],
4668      '%ArrayProto_entries%': ['Array', 'prototype', 'entries'],
4669      '%ArrayProto_forEach%': ['Array', 'prototype', 'forEach'],
4670      '%ArrayProto_keys%': ['Array', 'prototype', 'keys'],
4671      '%ArrayProto_values%': ['Array', 'prototype', 'values'],
4672      '%AsyncFunctionPrototype%': ['AsyncFunction', 'prototype'],
4673      '%AsyncGenerator%': ['AsyncGeneratorFunction', 'prototype'],
4674      '%AsyncGeneratorPrototype%': ['AsyncGeneratorFunction', 'prototype', 'prototype'],
4675      '%BooleanPrototype%': ['Boolean', 'prototype'],
4676      '%DataViewPrototype%': ['DataView', 'prototype'],
4677      '%DatePrototype%': ['Date', 'prototype'],
4678      '%ErrorPrototype%': ['Error', 'prototype'],
4679      '%EvalErrorPrototype%': ['EvalError', 'prototype'],
4680      '%Float32ArrayPrototype%': ['Float32Array', 'prototype'],
4681      '%Float64ArrayPrototype%': ['Float64Array', 'prototype'],
4682      '%FunctionPrototype%': ['Function', 'prototype'],
4683      '%Generator%': ['GeneratorFunction', 'prototype'],
4684      '%GeneratorPrototype%': ['GeneratorFunction', 'prototype', 'prototype'],
4685      '%Int8ArrayPrototype%': ['Int8Array', 'prototype'],
4686      '%Int16ArrayPrototype%': ['Int16Array', 'prototype'],
4687      '%Int32ArrayPrototype%': ['Int32Array', 'prototype'],
4688      '%JSONParse%': ['JSON', 'parse'],
4689      '%JSONStringify%': ['JSON', 'stringify'],
4690      '%MapPrototype%': ['Map', 'prototype'],
4691      '%NumberPrototype%': ['Number', 'prototype'],
4692      '%ObjectPrototype%': ['Object', 'prototype'],
4693      '%ObjProto_toString%': ['Object', 'prototype', 'toString'],
4694      '%ObjProto_valueOf%': ['Object', 'prototype', 'valueOf'],
4695      '%PromisePrototype%': ['Promise', 'prototype'],
4696      '%PromiseProto_then%': ['Promise', 'prototype', 'then'],
4697      '%Promise_all%': ['Promise', 'all'],
4698      '%Promise_reject%': ['Promise', 'reject'],
4699      '%Promise_resolve%': ['Promise', 'resolve'],
4700      '%RangeErrorPrototype%': ['RangeError', 'prototype'],
4701      '%ReferenceErrorPrototype%': ['ReferenceError', 'prototype'],
4702      '%RegExpPrototype%': ['RegExp', 'prototype'],
4703      '%SetPrototype%': ['Set', 'prototype'],
4704      '%SharedArrayBufferPrototype%': ['SharedArrayBuffer', 'prototype'],
4705      '%StringPrototype%': ['String', 'prototype'],
4706      '%SymbolPrototype%': ['Symbol', 'prototype'],
4707      '%SyntaxErrorPrototype%': ['SyntaxError', 'prototype'],
4708      '%TypedArrayPrototype%': ['TypedArray', 'prototype'],
4709      '%TypeErrorPrototype%': ['TypeError', 'prototype'],
4710      '%Uint8ArrayPrototype%': ['Uint8Array', 'prototype'],
4711      '%Uint8ClampedArrayPrototype%': ['Uint8ClampedArray', 'prototype'],
4712      '%Uint16ArrayPrototype%': ['Uint16Array', 'prototype'],
4713      '%Uint32ArrayPrototype%': ['Uint32Array', 'prototype'],
4714      '%URIErrorPrototype%': ['URIError', 'prototype'],
4715      '%WeakMapPrototype%': ['WeakMap', 'prototype'],
4716      '%WeakSetPrototype%': ['WeakSet', 'prototype']
4717  };
4718  
4719  var bind = __webpack_require__("D3zA");
4720  var hasOwn = __webpack_require__("oNNP");
4721  var $concat = bind.call(Function.call, Array.prototype.concat);
4722  var $spliceApply = bind.call(Function.apply, Array.prototype.splice);
4723  var $replace = bind.call(Function.call, String.prototype.replace);
4724  var $strSlice = bind.call(Function.call, String.prototype.slice);
4725  
4726  /* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */
4727  var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
4728  var reEscapeChar = /\\(\\)?/g; /** Used to match backslashes in property paths. */
4729  var stringToPath = function stringToPath(string) {
4730      var first = $strSlice(string, 0, 1);
4731      var last = $strSlice(string, -1);
4732      if (first === '%' && last !== '%') {
4733          throw new $SyntaxError('invalid intrinsic syntax, expected closing `%`');
4734      } else if (last === '%' && first !== '%') {
4735          throw new $SyntaxError('invalid intrinsic syntax, expected opening `%`');
4736      }
4737      var result = [];
4738      $replace(string, rePropName, function (match, number, quote, subString) {
4739          result[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : number || match;
4740      });
4741      return result;
4742  };
4743  /* end adaptation */
4744  
4745  var getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) {
4746      var intrinsicName = name;
4747      var alias;
4748      if (hasOwn(LEGACY_ALIASES, intrinsicName)) {
4749          alias = LEGACY_ALIASES[intrinsicName];
4750          intrinsicName = '%' + alias[0] + '%';
4751      }
4752  
4753      if (hasOwn(INTRINSICS, intrinsicName)) {
4754          var value = INTRINSICS[intrinsicName];
4755          if (typeof value === 'undefined' && !allowMissing) {
4756              throw new $TypeError('intrinsic ' + name + ' exists, but is not available. Please file an issue!');
4757          }
4758  
4759          return {
4760              alias: alias,
4761              name: intrinsicName,
4762              value: value
4763          };
4764      }
4765  
4766      throw new $SyntaxError('intrinsic ' + name + ' does not exist!');
4767  };
4768  
4769  module.exports = function GetIntrinsic(name, allowMissing) {
4770      if (typeof name !== 'string' || name.length === 0) {
4771          throw new $TypeError('intrinsic name must be a non-empty string');
4772      }
4773      if (arguments.length > 1 && typeof allowMissing !== 'boolean') {
4774          throw new $TypeError('"allowMissing" argument must be a boolean');
4775      }
4776  
4777      var parts = stringToPath(name);
4778      var intrinsicBaseName = parts.length > 0 ? parts[0] : '';
4779  
4780      var intrinsic = getBaseIntrinsic('%' + intrinsicBaseName + '%', allowMissing);
4781      var intrinsicRealName = intrinsic.name;
4782      var value = intrinsic.value;
4783      var skipFurtherCaching = false;
4784  
4785      var alias = intrinsic.alias;
4786      if (alias) {
4787          intrinsicBaseName = alias[0];
4788          $spliceApply(parts, $concat([0, 1], alias));
4789      }
4790  
4791      for (var i = 1, isOwn = true; i < parts.length; i += 1) {
4792          var part = parts[i];
4793          var first = $strSlice(part, 0, 1);
4794          var last = $strSlice(part, -1);
4795          if (
4796              (
4797                  (first === '"' || first === "'" || first === '`')
4798                  || (last === '"' || last === "'" || last === '`')
4799              )
4800              && first !== last
4801          ) {
4802              throw new $SyntaxError('property names with quotes must have matching quotes');
4803          }
4804          if (part === 'constructor' || !isOwn) {
4805              skipFurtherCaching = true;
4806          }
4807  
4808          intrinsicBaseName += '.' + part;
4809          intrinsicRealName = '%' + intrinsicBaseName + '%';
4810  
4811          if (hasOwn(INTRINSICS, intrinsicRealName)) {
4812              value = INTRINSICS[intrinsicRealName];
4813          } else if (value != null) {
4814              if (!(part in value)) {
4815                  if (!allowMissing) {
4816                      throw new $TypeError('base intrinsic for ' + name + ' exists, but the property is not available.');
4817                  }
4818                  return void undefined;
4819              }
4820              if ($gOPD && (i + 1) >= parts.length) {
4821                  var desc = $gOPD(value, part);
4822                  isOwn = !!desc;
4823  
4824                  // By convention, when a data property is converted to an accessor
4825                  // property to emulate a data property that does not suffer from
4826                  // the override mistake, that accessor's getter is marked with
4827                  // an `originalValue` property. Here, when we detect this, we
4828                  // uphold the illusion by pretending to see that original data
4829                  // property, i.e., returning the value rather than the getter
4830                  // itself.
4831                  if (isOwn && 'get' in desc && !('originalValue' in desc.get)) {
4832                      value = desc.get;
4833                  } else {
4834                      value = value[part];
4835                  }
4836              } else {
4837                  isOwn = hasOwn(value, part);
4838                  value = value[part];
4839              }
4840  
4841              if (isOwn && !skipFurtherCaching) {
4842                  INTRINSICS[intrinsicRealName] = value;
4843              }
4844          }
4845      }
4846      return value;
4847  };
4848  
4849  
4850  /***/ }),
4851  
4852  /***/ "AP2z":
4853  /***/ (function(module, exports, __webpack_require__) {
4854  
4855  var Symbol = __webpack_require__("nmnc");
4856  
4857  /** Used for built-in method references. */
4858  var objectProto = Object.prototype;
4859  
4860  /** Used to check objects for own properties. */
4861  var hasOwnProperty = objectProto.hasOwnProperty;
4862  
4863  /**
4864   * Used to resolve the
4865   * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
4866   * of values.
4867   */
4868  var nativeObjectToString = objectProto.toString;
4869  
4870  /** Built-in value references. */
4871  var symToStringTag = Symbol ? Symbol.toStringTag : undefined;
4872  
4873  /**
4874   * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.
4875   *
4876   * @private
4877   * @param {*} value The value to query.
4878   * @returns {string} Returns the raw `toStringTag`.
4879   */
4880  function getRawTag(value) {
4881    var isOwn = hasOwnProperty.call(value, symToStringTag),
4882        tag = value[symToStringTag];
4883  
4884    try {
4885      value[symToStringTag] = undefined;
4886      var unmasked = true;
4887    } catch (e) {}
4888  
4889    var result = nativeObjectToString.call(value);
4890    if (unmasked) {
4891      if (isOwn) {
4892        value[symToStringTag] = tag;
4893      } else {
4894        delete value[symToStringTag];
4895      }
4896    }
4897    return result;
4898  }
4899  
4900  module.exports = getRawTag;
4901  
4902  
4903  /***/ }),
4904  
4905  /***/ "AXvK":
4906  /***/ (function(module, __webpack_exports__, __webpack_require__) {
4907  
4908  "use strict";
4909  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return useIsomorphicEffect; });
4910  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("cDcd");
4911  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
4912  /* harmony import */ var _canUseDOM_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("+ipW");
4913  
4914  
4915  
4916  
4917  
4918  /**
4919   * `React.useLayoutEffect` that fallbacks to `React.useEffect` on server side
4920   * rendering.
4921   */
4922  
4923  var useIsomorphicEffect = !_canUseDOM_js__WEBPACK_IMPORTED_MODULE_1__[/* canUseDOM */ "a"] ? react__WEBPACK_IMPORTED_MODULE_0__["useEffect"] : react__WEBPACK_IMPORTED_MODULE_0__["useLayoutEffect"];
4924  
4925  
4926  
4927  
4928  /***/ }),
4929  
4930  /***/ "Ae65":
4931  /***/ (function(module, exports, __webpack_require__) {
4932  
4933  "use strict";
4934  
4935  
4936  Object.defineProperty(exports, "__esModule", {
4937    value: true
4938  });
4939  exports['default'] = getCalendarDaySettings;
4940  
4941  var _getPhrase = __webpack_require__("oOcr");
4942  
4943  var _getPhrase2 = _interopRequireDefault(_getPhrase);
4944  
4945  var _constants = __webpack_require__("Fv1B");
4946  
4947  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
4948  
4949  function getCalendarDaySettings(day, ariaLabelFormat, daySize, modifiers, phrases) {
4950    var chooseAvailableDate = phrases.chooseAvailableDate,
4951        dateIsUnavailable = phrases.dateIsUnavailable,
4952        dateIsSelected = phrases.dateIsSelected;
4953  
4954  
4955    var daySizeStyles = {
4956      width: daySize,
4957      height: daySize - 1
4958    };
4959  
4960    var useDefaultCursor = modifiers.has('blocked-minimum-nights') || modifiers.has('blocked-calendar') || modifiers.has('blocked-out-of-range');
4961  
4962    var selected = modifiers.has('selected') || modifiers.has('selected-start') || modifiers.has('selected-end');
4963  
4964    var hoveredSpan = !selected && (modifiers.has('hovered-span') || modifiers.has('after-hovered-start'));
4965  
4966    var isOutsideRange = modifiers.has('blocked-out-of-range');
4967  
4968    var formattedDate = { date: day.format(ariaLabelFormat) };
4969  
4970    var ariaLabel = (0, _getPhrase2['default'])(chooseAvailableDate, formattedDate);
4971    if (modifiers.has(_constants.BLOCKED_MODIFIER)) {
4972      ariaLabel = (0, _getPhrase2['default'])(dateIsUnavailable, formattedDate);
4973    } else if (selected) {
4974      ariaLabel = (0, _getPhrase2['default'])(dateIsSelected, formattedDate);
4975    }
4976  
4977    return {
4978      daySizeStyles: daySizeStyles,
4979      useDefaultCursor: useDefaultCursor,
4980      selected: selected,
4981      hoveredSpan: hoveredSpan,
4982      isOutsideRange: isOutsideRange,
4983      ariaLabel: ariaLabel
4984    };
4985  }
4986  
4987  /***/ }),
4988  
4989  /***/ "Asd8":
4990  /***/ (function(module, exports, __webpack_require__) {
4991  
4992  "use strict";
4993  
4994  
4995  var fnToStr = Function.prototype.toString;
4996  var reflectApply = typeof Reflect === 'object' && Reflect !== null && Reflect.apply;
4997  var badArrayLike;
4998  var isCallableMarker;
4999  if (typeof reflectApply === 'function' && typeof Object.defineProperty === 'function') {
5000      try {
5001          badArrayLike = Object.defineProperty({}, 'length', {
5002              get: function () {
5003                  throw isCallableMarker;
5004              }
5005          });
5006          isCallableMarker = {};
5007          // eslint-disable-next-line no-throw-literal
5008          reflectApply(function () { throw 42; }, null, badArrayLike);
5009      } catch (_) {
5010          if (_ !== isCallableMarker) {
5011              reflectApply = null;
5012          }
5013      }
5014  } else {
5015      reflectApply = null;
5016  }
5017  
5018  var constructorRegex = /^\s*class\b/;
5019  var isES6ClassFn = function isES6ClassFunction(value) {
5020      try {
5021          var fnStr = fnToStr.call(value);
5022          return constructorRegex.test(fnStr);
5023      } catch (e) {
5024          return false; // not a function
5025      }
5026  };
5027  
5028  var tryFunctionObject = function tryFunctionToStr(value) {
5029      try {
5030          if (isES6ClassFn(value)) { return false; }
5031          fnToStr.call(value);
5032          return true;
5033      } catch (e) {
5034          return false;
5035      }
5036  };
5037  var toStr = Object.prototype.toString;
5038  var fnClass = '[object Function]';
5039  var genClass = '[object GeneratorFunction]';
5040  var hasToStringTag = typeof Symbol === 'function' && !!Symbol.toStringTag; // better: use `has-tostringtag`
5041  /* globals document: false */
5042  var documentDotAll = typeof document === 'object' && typeof document.all === 'undefined' && document.all !== undefined ? document.all : {};
5043  
5044  module.exports = reflectApply
5045      ? function isCallable(value) {
5046          if (value === documentDotAll) { return true; }
5047          if (!value) { return false; }
5048          if (typeof value !== 'function' && typeof value !== 'object') { return false; }
5049          if (typeof value === 'function' && !value.prototype) { return true; }
5050          try {
5051              reflectApply(value, null, badArrayLike);
5052          } catch (e) {
5053              if (e !== isCallableMarker) { return false; }
5054          }
5055          return !isES6ClassFn(value);
5056      }
5057      : function isCallable(value) {
5058          if (value === documentDotAll) { return true; }
5059          if (!value) { return false; }
5060          if (typeof value !== 'function' && typeof value !== 'object') { return false; }
5061          if (typeof value === 'function' && !value.prototype) { return true; }
5062          if (hasToStringTag) { return tryFunctionObject(value); }
5063          if (isES6ClassFn(value)) { return false; }
5064          var strClass = toStr.call(value);
5065          return strClass === fnClass || strClass === genClass;
5066      };
5067  
5068  
5069  /***/ }),
5070  
5071  /***/ "B6Q+":
5072  /***/ (function(module, exports, __webpack_require__) {
5073  
5074  "use strict";
5075  
5076  
5077  var hasSymbols = __webpack_require__("qGip");
5078  
5079  module.exports = function hasToStringTagShams() {
5080      return hasSymbols() && !!Symbol.toStringTag;
5081  };
5082  
5083  
5084  /***/ }),
5085  
5086  /***/ "B9Az":
5087  /***/ (function(module, __webpack_exports__, __webpack_require__) {
5088  
5089  "use strict";
5090  
5091  // EXTERNAL MODULE: external ["wp","element"]
5092  var external_wp_element_ = __webpack_require__("GRId");
5093  
5094  // EXTERNAL MODULE: external ["wp","primitives"]
5095  var external_wp_primitives_ = __webpack_require__("Tqx9");
5096  
5097  // CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/pencil.js
5098  
5099  
5100  /**
5101   * WordPress dependencies
5102   */
5103  
5104  const pencil = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
5105    xmlns: "http://www.w3.org/2000/svg",
5106    viewBox: "0 0 24 24"
5107  }, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
5108    d: "M20.1 5.1L16.9 2 6.2 12.7l-1.3 4.4 4.5-1.3L20.1 5.1zM4 20.8h8v-1.5H4v1.5z"
5109  }));
5110  /* harmony default export */ var library_pencil = (pencil);
5111  
5112  // CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/edit.js
5113  /**
5114   * Internal dependencies
5115   */
5116  
5117  /* harmony default export */ var edit = __webpack_exports__["a"] = (library_pencil);
5118  
5119  
5120  /***/ }),
5121  
5122  /***/ "BZp5":
5123  /***/ (function(module, __webpack_exports__, __webpack_require__) {
5124  
5125  "use strict";
5126  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectWithoutPropertiesLoose; });
5127  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return _objectSpread2; });
5128  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return _createForOfIteratorHelperLoose; });
5129  function _defineProperty(obj, key, value) {
5130    if (key in obj) {
5131      Object.defineProperty(obj, key, {
5132        value: value,
5133        enumerable: true,
5134        configurable: true,
5135        writable: true
5136      });
5137    } else {
5138      obj[key] = value;
5139    }
5140  
5141    return obj;
5142  }
5143  
5144  function ownKeys(object, enumerableOnly) {
5145    var keys = Object.keys(object);
5146  
5147    if (Object.getOwnPropertySymbols) {
5148      var symbols = Object.getOwnPropertySymbols(object);
5149      if (enumerableOnly) symbols = symbols.filter(function (sym) {
5150        return Object.getOwnPropertyDescriptor(object, sym).enumerable;
5151      });
5152      keys.push.apply(keys, symbols);
5153    }
5154  
5155    return keys;
5156  }
5157  
5158  function _objectSpread2(target) {
5159    for (var i = 1; i < arguments.length; i++) {
5160      var source = arguments[i] != null ? arguments[i] : {};
5161  
5162      if (i % 2) {
5163        ownKeys(Object(source), true).forEach(function (key) {
5164          _defineProperty(target, key, source[key]);
5165        });
5166      } else if (Object.getOwnPropertyDescriptors) {
5167        Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
5168      } else {
5169        ownKeys(Object(source)).forEach(function (key) {
5170          Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
5171        });
5172      }
5173    }
5174  
5175    return target;
5176  }
5177  
5178  function _objectWithoutPropertiesLoose(source, excluded) {
5179    if (source == null) return {};
5180    var target = {};
5181    var sourceKeys = Object.keys(source);
5182    var key, i;
5183  
5184    for (i = 0; i < sourceKeys.length; i++) {
5185      key = sourceKeys[i];
5186      if (excluded.indexOf(key) >= 0) continue;
5187      target[key] = source[key];
5188    }
5189  
5190    return target;
5191  }
5192  
5193  function _unsupportedIterableToArray(o, minLen) {
5194    if (!o) return;
5195    if (typeof o === "string") return _arrayLikeToArray(o, minLen);
5196    var n = Object.prototype.toString.call(o).slice(8, -1);
5197    if (n === "Object" && o.constructor) n = o.constructor.name;
5198    if (n === "Map" || n === "Set") return Array.from(o);
5199    if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
5200  }
5201  
5202  function _arrayLikeToArray(arr, len) {
5203    if (len == null || len > arr.length) len = arr.length;
5204  
5205    for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
5206  
5207    return arr2;
5208  }
5209  
5210  function _createForOfIteratorHelperLoose(o, allowArrayLike) {
5211    var it;
5212  
5213    if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) {
5214      if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") {
5215        if (it) o = it;
5216        var i = 0;
5217        return function () {
5218          if (i >= o.length) return {
5219            done: true
5220          };
5221          return {
5222            done: false,
5223            value: o[i++]
5224          };
5225        };
5226      }
5227  
5228      throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
5229    }
5230  
5231    it = o[Symbol.iterator]();
5232    return it.next.bind(it);
5233  }
5234  
5235  
5236  
5237  
5238  /***/ }),
5239  
5240  /***/ "BeK9":
5241  /***/ (function(module, exports, __webpack_require__) {
5242  
5243  "use strict";
5244  
5245  
5246  module.exports = function isPrimitive(value) {
5247      return value === null || (typeof value !== 'function' && typeof value !== 'object');
5248  };
5249  
5250  
5251  /***/ }),
5252  
5253  /***/ "Bpkj":
5254  /***/ (function(module, __webpack_exports__, __webpack_require__) {
5255  
5256  "use strict";
5257  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
5258  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
5259  /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
5260  /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
5261  
5262  
5263  /**
5264   * WordPress dependencies
5265   */
5266  
5267  const link = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
5268    xmlns: "http://www.w3.org/2000/svg",
5269    viewBox: "0 0 24 24"
5270  }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
5271    d: "M15.6 7.2H14v1.5h1.6c2 0 3.7 1.7 3.7 3.7s-1.7 3.7-3.7 3.7H14v1.5h1.6c2.8 0 5.2-2.3 5.2-5.2 0-2.9-2.3-5.2-5.2-5.2zM4.7 12.4c0-2 1.7-3.7 3.7-3.7H10V7.2H8.4c-2.9 0-5.2 2.3-5.2 5.2 0 2.9 2.3 5.2 5.2 5.2H10v-1.5H8.4c-2 0-3.7-1.7-3.7-3.7zm4.6.9h5.3v-1.5H9.3v1.5z"
5272  }));
5273  /* harmony default export */ __webpack_exports__["a"] = (link);
5274  
5275  
5276  /***/ }),
5277  
5278  /***/ "C6yU":
5279  /***/ (function(module, __webpack_exports__, __webpack_require__) {
5280  
5281  "use strict";
5282  /* WEBPACK VAR INJECTION */(function(process) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return useContextSystem; });
5283  /* harmony import */ var emotion__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("kDDq");
5284  /* harmony import */ var _wordpress_warning__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Z23Y");
5285  /* harmony import */ var _wordpress_warning__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_warning__WEBPACK_IMPORTED_MODULE_1__);
5286  /* harmony import */ var _context_system_provider__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("6zzY");
5287  /* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("Ohaz");
5288  /* harmony import */ var _get_styled_class_name_from_key__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("UAm0");
5289  
5290  
5291  /**
5292   * WordPress dependencies
5293   */
5294  
5295  /**
5296   * Internal dependencies
5297   */
5298  
5299  
5300  
5301  
5302  /* eslint-disable jsdoc/valid-types */
5303  
5304  /**
5305   * @template TProps
5306   * @typedef {TProps & { className: string; children?: import('react').ReactNode }} ConnectedProps
5307   */
5308  
5309  /* eslint-enable jsdoc/valid-types */
5310  
5311  /**
5312   * Custom hook that derives registered props from the Context system.
5313   * These derived props are then consolidated with incoming component props.
5314   *
5315   * @template {{ className?: string }} P
5316   * @param {P} props Incoming props from the component.
5317   * @param {string} namespace The namespace to register and to derive context props from.
5318   * @return {ConnectedProps<P>} The connected props.
5319   */
5320  
5321  function useContextSystem(props, namespace) {
5322    const contextSystemProps = Object(_context_system_provider__WEBPACK_IMPORTED_MODULE_2__[/* useComponentsContext */ "a"])();
5323  
5324    if (typeof namespace === 'undefined') {
5325      typeof process !== "undefined" && process.env && "production" !== "production" ? _wordpress_warning__WEBPACK_IMPORTED_MODULE_1___default()('useContextSystem: Please provide a namespace') : void 0;
5326    }
5327  
5328    const contextProps = (contextSystemProps === null || contextSystemProps === void 0 ? void 0 : contextSystemProps[namespace]) || {};
5329    /* eslint-disable jsdoc/no-undefined-types */
5330  
5331    /** @type {ConnectedProps<P>} */
5332    // @ts-ignore We fill in the missing properties below
5333  
5334    const finalComponentProps = { ...Object(_utils__WEBPACK_IMPORTED_MODULE_3__[/* getConnectedNamespace */ "a"])(),
5335      ...Object(_utils__WEBPACK_IMPORTED_MODULE_3__[/* getNamespace */ "b"])(namespace)
5336    };
5337    /* eslint-enable jsdoc/no-undefined-types */
5338  
5339    const {
5340      _overrides: overrideProps,
5341      ...otherContextProps
5342    } = contextProps;
5343    const initialMergedProps = Object.entries(otherContextProps).length ? Object.assign({}, otherContextProps, props) : props;
5344  
5345    const classes = Object(emotion__WEBPACK_IMPORTED_MODULE_0__[/* cx */ "b"])(Object(_get_styled_class_name_from_key__WEBPACK_IMPORTED_MODULE_4__[/* getStyledClassNameFromKey */ "a"])(namespace), props.className); // Provides the ability to customize the render of the component.
5346  
5347  
5348    const rendered = typeof initialMergedProps.renderChildren === 'function' ? initialMergedProps.renderChildren(initialMergedProps) : initialMergedProps.children;
5349  
5350    for (const key in initialMergedProps) {
5351      // @ts-ignore filling in missing props
5352      finalComponentProps[key] = initialMergedProps[key];
5353    }
5354  
5355    for (const key in overrideProps) {
5356      // @ts-ignore filling in missing props
5357      finalComponentProps[key] = overrideProps[key];
5358    }
5359  
5360    finalComponentProps.children = rendered;
5361    finalComponentProps.className = classes;
5362    return finalComponentProps;
5363  }
5364  
5365  /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__("8oxB")))
5366  
5367  /***/ }),
5368  
5369  /***/ "CGNl":
5370  /***/ (function(module, exports, __webpack_require__) {
5371  
5372  "use strict";
5373  
5374  
5375  var has = __webpack_require__("oNNP");
5376  
5377  var assertRecord = __webpack_require__("10Kj");
5378  
5379  var Type = __webpack_require__("V1cy");
5380  
5381  // https://ecma-international.org/ecma-262/6.0/#sec-isdatadescriptor
5382  
5383  module.exports = function IsDataDescriptor(Desc) {
5384      if (typeof Desc === 'undefined') {
5385          return false;
5386      }
5387  
5388      assertRecord(Type, 'Property Descriptor', 'Desc', Desc);
5389  
5390      if (!has(Desc, '[[Value]]') && !has(Desc, '[[Writable]]')) {
5391          return false;
5392      }
5393  
5394      return true;
5395  };
5396  
5397  
5398  /***/ }),
5399  
5400  /***/ "Cw+6":
5401  /***/ (function(module, __webpack_exports__, __webpack_require__) {
5402  
5403  "use strict";
5404  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
5405  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
5406  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("YLtl");
5407  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_1__);
5408  
5409  
5410  /**
5411   * External dependencies
5412   */
5413  
5414  /** @typedef {string | { display: string, ariaLabel: string }} Shortcut */
5415  
5416  /**
5417   * @typedef Props
5418   * @property {Shortcut} shortcut Shortcut configuration
5419   * @property {string} [className] Classname
5420   */
5421  
5422  /**
5423   * @param {Props} props Props
5424   * @return {JSX.Element | null} Element
5425   */
5426  
5427  function Shortcut({
5428    shortcut,
5429    className
5430  }) {
5431    if (!shortcut) {
5432      return null;
5433    }
5434  
5435    let displayText;
5436    let ariaLabel;
5437  
5438    if (Object(lodash__WEBPACK_IMPORTED_MODULE_1__["isString"])(shortcut)) {
5439      displayText = shortcut;
5440    }
5441  
5442    if (Object(lodash__WEBPACK_IMPORTED_MODULE_1__["isObject"])(shortcut)) {
5443      displayText = shortcut.display;
5444      ariaLabel = shortcut.ariaLabel;
5445    }
5446  
5447    return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])("span", {
5448      className: className,
5449      "aria-label": ariaLabel
5450    }, displayText);
5451  }
5452  
5453  /* harmony default export */ __webpack_exports__["a"] = (Shortcut);
5454  
5455  
5456  /***/ }),
5457  
5458  /***/ "D3zA":
5459  /***/ (function(module, exports, __webpack_require__) {
5460  
5461  "use strict";
5462  
5463  
5464  var implementation = __webpack_require__("aI7X");
5465  
5466  module.exports = Function.prototype.bind || implementation;
5467  
5468  
5469  /***/ }),
5470  
5471  /***/ "DHWS":
5472  /***/ (function(module, exports, __webpack_require__) {
5473  
5474  "use strict";
5475  
5476  
5477  Object.defineProperty(exports, "__esModule", {
5478    value: true
5479  });
5480  
5481  var _react = __webpack_require__("cDcd");
5482  
5483  var _react2 = _interopRequireDefault(_react);
5484  
5485  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
5486  
5487  var ChevronDown = function () {
5488    function ChevronDown(props) {
5489      return _react2['default'].createElement(
5490        'svg',
5491        props,
5492        _react2['default'].createElement('path', {
5493          d: 'M967.5 288.5L514.3 740.7c-11 11-21 11-32 0L29.1 288.5c-4-5-6-11-6-16 0-13 10-23 23-23 6 0 11 2 15 7l437.2 436.2 437.2-436.2c4-5 9-7 16-7 6 0 11 2 16 7 9 10.9 9 21 0 32z'
5494        })
5495      );
5496    }
5497  
5498    return ChevronDown;
5499  }();
5500  
5501  ChevronDown.defaultProps = {
5502    viewBox: '0 0 1000 1000'
5503  };
5504  exports['default'] = ChevronDown;
5505  
5506  /***/ }),
5507  
5508  /***/ "DciD":
5509  /***/ (function(module, exports, __webpack_require__) {
5510  
5511  "use strict";
5512  
5513  
5514  function noop() {
5515    return null;
5516  }
5517  
5518  noop.isRequired = noop;
5519  
5520  function noopThunk() {
5521    return noop;
5522  }
5523  
5524  module.exports = {
5525    and: noopThunk,
5526    between: noopThunk,
5527    booleanSome: noopThunk,
5528    childrenHavePropXorChildren: noopThunk,
5529    childrenOf: noopThunk,
5530    childrenOfType: noopThunk,
5531    childrenSequenceOf: noopThunk,
5532    componentWithName: noopThunk,
5533    disallowedIf: noopThunk,
5534    elementType: noopThunk,
5535    empty: noopThunk,
5536    explicitNull: noopThunk,
5537    forbidExtraProps: Object,
5538    integer: noopThunk,
5539    keysOf: noopThunk,
5540    mutuallyExclusiveProps: noopThunk,
5541    mutuallyExclusiveTrueProps: noopThunk,
5542    nChildren: noopThunk,
5543    nonNegativeInteger: noop,
5544    nonNegativeNumber: noopThunk,
5545    numericString: noopThunk,
5546    object: noopThunk,
5547    or: noopThunk,
5548    predicate: noopThunk,
5549    range: noopThunk,
5550    ref: noopThunk,
5551    requiredBy: noopThunk,
5552    restrictedProp: noopThunk,
5553    sequenceOf: noopThunk,
5554    shape: noopThunk,
5555    stringEndsWith: noopThunk,
5556    stringStartsWith: noopThunk,
5557    uniqueArray: noopThunk,
5558    uniqueArrayOf: noopThunk,
5559    valuesOf: noopThunk,
5560    withShape: noopThunk
5561  };
5562  
5563  
5564  /***/ }),
5565  
5566  /***/ "DmXP":
5567  /***/ (function(module, exports, __webpack_require__) {
5568  
5569  "use strict";
5570  
5571  
5572  var getDay = Date.prototype.getDay;
5573  var tryDateObject = function tryDateGetDayCall(value) {
5574      try {
5575          getDay.call(value);
5576          return true;
5577      } catch (e) {
5578          return false;
5579      }
5580  };
5581  
5582  var toStr = Object.prototype.toString;
5583  var dateClass = '[object Date]';
5584  var hasToStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol';
5585  
5586  module.exports = function isDateObject(value) {
5587      if (typeof value !== 'object' || value === null) {
5588          return false;
5589      }
5590      return hasToStringTag ? tryDateObject(value) : toStr.call(value) === dateClass;
5591  };
5592  
5593  
5594  /***/ }),
5595  
5596  /***/ "DvWQ":
5597  /***/ (function(module, exports, __webpack_require__) {
5598  
5599  "use strict";
5600  
5601  
5602  var GetIntrinsic = __webpack_require__("rZ7t");
5603  
5604  var $TypeError = GetIntrinsic('%TypeError%');
5605  
5606  var DefineOwnProperty = __webpack_require__("wTIp");
5607  
5608  var FromPropertyDescriptor = __webpack_require__("zYbv");
5609  var OrdinaryGetOwnProperty = __webpack_require__("kgBv");
5610  var IsDataDescriptor = __webpack_require__("CGNl");
5611  var IsExtensible = __webpack_require__("rDFq");
5612  var IsPropertyKey = __webpack_require__("i10q");
5613  var SameValue = __webpack_require__("HI8u");
5614  var Type = __webpack_require__("V1cy");
5615  
5616  // https://ecma-international.org/ecma-262/6.0/#sec-createdataproperty
5617  
5618  module.exports = function CreateDataProperty(O, P, V) {
5619      if (Type(O) !== 'Object') {
5620          throw new $TypeError('Assertion failed: Type(O) is not Object');
5621      }
5622      if (!IsPropertyKey(P)) {
5623          throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true');
5624      }
5625      var oldDesc = OrdinaryGetOwnProperty(O, P);
5626      var extensible = !oldDesc || IsExtensible(O);
5627      var immutable = oldDesc && (!oldDesc['[[Writable]]'] || !oldDesc['[[Configurable]]']);
5628      if (immutable || !extensible) {
5629          return false;
5630      }
5631      return DefineOwnProperty(
5632          IsDataDescriptor,
5633          SameValue,
5634          FromPropertyDescriptor,
5635          O,
5636          P,
5637          {
5638              '[[Configurable]]': true,
5639              '[[Enumerable]]': true,
5640              '[[Value]]': V,
5641              '[[Writable]]': true
5642          }
5643      );
5644  };
5645  
5646  
5647  /***/ }),
5648  
5649  /***/ "DzJC":
5650  /***/ (function(module, exports, __webpack_require__) {
5651  
5652  var debounce = __webpack_require__("sEfC"),
5653      isObject = __webpack_require__("GoyQ");
5654  
5655  /** Error message constants. */
5656  var FUNC_ERROR_TEXT = 'Expected a function';
5657  
5658  /**
5659   * Creates a throttled function that only invokes `func` at most once per
5660   * every `wait` milliseconds. The throttled function comes with a `cancel`
5661   * method to cancel delayed `func` invocations and a `flush` method to
5662   * immediately invoke them. Provide `options` to indicate whether `func`
5663   * should be invoked on the leading and/or trailing edge of the `wait`
5664   * timeout. The `func` is invoked with the last arguments provided to the
5665   * throttled function. Subsequent calls to the throttled function return the
5666   * result of the last `func` invocation.
5667   *
5668   * **Note:** If `leading` and `trailing` options are `true`, `func` is
5669   * invoked on the trailing edge of the timeout only if the throttled function
5670   * is invoked more than once during the `wait` timeout.
5671   *
5672   * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred
5673   * until to the next tick, similar to `setTimeout` with a timeout of `0`.
5674   *
5675   * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)
5676   * for details over the differences between `_.throttle` and `_.debounce`.
5677   *
5678   * @static
5679   * @memberOf _
5680   * @since 0.1.0
5681   * @category Function
5682   * @param {Function} func The function to throttle.
5683   * @param {number} [wait=0] The number of milliseconds to throttle invocations to.
5684   * @param {Object} [options={}] The options object.
5685   * @param {boolean} [options.leading=true]
5686   *  Specify invoking on the leading edge of the timeout.
5687   * @param {boolean} [options.trailing=true]
5688   *  Specify invoking on the trailing edge of the timeout.
5689   * @returns {Function} Returns the new throttled function.
5690   * @example
5691   *
5692   * // Avoid excessively updating the position while scrolling.
5693   * jQuery(window).on('scroll', _.throttle(updatePosition, 100));
5694   *
5695   * // Invoke `renewToken` when the click event is fired, but not more than once every 5 minutes.
5696   * var throttled = _.throttle(renewToken, 300000, { 'trailing': false });
5697   * jQuery(element).on('click', throttled);
5698   *
5699   * // Cancel the trailing throttled invocation.
5700   * jQuery(window).on('popstate', throttled.cancel);
5701   */
5702  function throttle(func, wait, options) {
5703    var leading = true,
5704        trailing = true;
5705  
5706    if (typeof func != 'function') {
5707      throw new TypeError(FUNC_ERROR_TEXT);
5708    }
5709    if (isObject(options)) {
5710      leading = 'leading' in options ? !!options.leading : leading;
5711      trailing = 'trailing' in options ? !!options.trailing : trailing;
5712    }
5713    return debounce(func, wait, {
5714      'leading': leading,
5715      'maxWait': wait,
5716      'trailing': trailing
5717    });
5718  }
5719  
5720  module.exports = throttle;
5721  
5722  
5723  /***/ }),
5724  
5725  /***/ "EXo9":
5726  /***/ (function(module, exports, __webpack_require__) {
5727  
5728  "use strict";
5729  
5730  
5731  var GetIntrinsic = __webpack_require__("rZ7t");
5732  
5733  var callBind = __webpack_require__("hZ2/");
5734  
5735  var $indexOf = callBind(GetIntrinsic('String.prototype.indexOf'));
5736  
5737  module.exports = function callBoundIntrinsic(name, allowMissing) {
5738      var intrinsic = GetIntrinsic(name, !!allowMissing);
5739      if (typeof intrinsic === 'function' && $indexOf(name, '.prototype.') > -1) {
5740          return callBind(intrinsic);
5741      }
5742      return intrinsic;
5743  };
5744  
5745  
5746  /***/ }),
5747  
5748  /***/ "ExA7":
5749  /***/ (function(module, exports) {
5750  
5751  /**
5752   * Checks if `value` is object-like. A value is object-like if it's not `null`
5753   * and has a `typeof` result of "object".
5754   *
5755   * @static
5756   * @memberOf _
5757   * @since 4.0.0
5758   * @category Lang
5759   * @param {*} value The value to check.
5760   * @returns {boolean} Returns `true` if `value` is object-like, else `false`.
5761   * @example
5762   *
5763   * _.isObjectLike({});
5764   * // => true
5765   *
5766   * _.isObjectLike([1, 2, 3]);
5767   * // => true
5768   *
5769   * _.isObjectLike(_.noop);
5770   * // => false
5771   *
5772   * _.isObjectLike(null);
5773   * // => false
5774   */
5775  function isObjectLike(value) {
5776    return value != null && typeof value == 'object';
5777  }
5778  
5779  module.exports = isObjectLike;
5780  
5781  
5782  /***/ }),
5783  
5784  /***/ "F7ZS":
5785  /***/ (function(module, exports, __webpack_require__) {
5786  
5787  "use strict";
5788  
5789  
5790  Object.defineProperty(exports, "__esModule", {
5791    value: true
5792  });
5793  exports['default'] = getCalendarMonthWeeks;
5794  
5795  var _moment = __webpack_require__("wy2R");
5796  
5797  var _moment2 = _interopRequireDefault(_moment);
5798  
5799  var _constants = __webpack_require__("Fv1B");
5800  
5801  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
5802  
5803  function getCalendarMonthWeeks(month, enableOutsideDays) {
5804    var firstDayOfWeek = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : _moment2['default'].localeData().firstDayOfWeek();
5805  
5806    if (!_moment2['default'].isMoment(month) || !month.isValid()) {
5807      throw new TypeError('`month` must be a valid moment object');
5808    }
5809    if (_constants.WEEKDAYS.indexOf(firstDayOfWeek) === -1) {
5810      throw new TypeError('`firstDayOfWeek` must be an integer between 0 and 6');
5811    }
5812  
5813    // set utc offset to get correct dates in future (when timezone changes)
5814    var firstOfMonth = month.clone().startOf('month').hour(12);
5815    var lastOfMonth = month.clone().endOf('month').hour(12);
5816  
5817    // calculate the exact first and last days to fill the entire matrix
5818    // (considering days outside month)
5819    var prevDays = (firstOfMonth.day() + 7 - firstDayOfWeek) % 7;
5820    var nextDays = (firstDayOfWeek + 6 - lastOfMonth.day()) % 7;
5821    var firstDay = firstOfMonth.clone().subtract(prevDays, 'day');
5822    var lastDay = lastOfMonth.clone().add(nextDays, 'day');
5823  
5824    var totalDays = lastDay.diff(firstDay, 'days') + 1;
5825  
5826    var currentDay = firstDay.clone();
5827    var weeksInMonth = [];
5828  
5829    for (var i = 0; i < totalDays; i += 1) {
5830      if (i % 7 === 0) {
5831        weeksInMonth.push([]);
5832      }
5833  
5834      var day = null;
5835      if (i >= prevDays && i < totalDays - nextDays || enableOutsideDays) {
5836        day = currentDay.clone();
5837      }
5838  
5839      weeksInMonth[weeksInMonth.length - 1].push(day);
5840  
5841      currentDay.add(1, 'day');
5842    }
5843  
5844    return weeksInMonth;
5845  }
5846  
5847  /***/ }),
5848  
5849  /***/ "FpZJ":
5850  /***/ (function(module, exports, __webpack_require__) {
5851  
5852  "use strict";
5853  
5854  
5855  /* eslint complexity: [2, 18], max-statements: [2, 33] */
5856  module.exports = function hasSymbols() {
5857      if (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }
5858      if (typeof Symbol.iterator === 'symbol') { return true; }
5859  
5860      var obj = {};
5861      var sym = Symbol('test');
5862      var symObj = Object(sym);
5863      if (typeof sym === 'string') { return false; }
5864  
5865      if (Object.prototype.toString.call(sym) !== '[object Symbol]') { return false; }
5866      if (Object.prototype.toString.call(symObj) !== '[object Symbol]') { return false; }
5867  
5868      // temp disabled per https://github.com/ljharb/object.assign/issues/17
5869      // if (sym instanceof Symbol) { return false; }
5870      // temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4
5871      // if (!(symObj instanceof Symbol)) { return false; }
5872  
5873      // if (typeof Symbol.prototype.toString !== 'function') { return false; }
5874      // if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; }
5875  
5876      var symVal = 42;
5877      obj[sym] = symVal;
5878      for (sym in obj) { return false; } // eslint-disable-line no-restricted-syntax
5879      if (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; }
5880  
5881      if (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; }
5882  
5883      var syms = Object.getOwnPropertySymbols(obj);
5884      if (syms.length !== 1 || syms[0] !== sym) { return false; }
5885  
5886      if (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; }
5887  
5888      if (typeof Object.getOwnPropertyDescriptor === 'function') {
5889          var descriptor = Object.getOwnPropertyDescriptor(obj, sym);
5890          if (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; }
5891      }
5892  
5893      return true;
5894  };
5895  
5896  
5897  /***/ }),
5898  
5899  /***/ "FqII":
5900  /***/ (function(module, exports) {
5901  
5902  (function() { module.exports = window["wp"]["date"]; }());
5903  
5904  /***/ }),
5905  
5906  /***/ "FufO":
5907  /***/ (function(module, exports, __webpack_require__) {
5908  
5909  "use strict";
5910  
5911  
5912  // modified from https://github.com/es-shims/es6-shim
5913  var keys = __webpack_require__("1seS");
5914  var canBeObject = function (obj) {
5915      return typeof obj !== 'undefined' && obj !== null;
5916  };
5917  var hasSymbols = __webpack_require__("FpZJ")();
5918  var callBound = __webpack_require__("VF6F");
5919  var toObject = Object;
5920  var $push = callBound('Array.prototype.push');
5921  var $propIsEnumerable = callBound('Object.prototype.propertyIsEnumerable');
5922  var originalGetSymbols = hasSymbols ? Object.getOwnPropertySymbols : null;
5923  
5924  // eslint-disable-next-line no-unused-vars
5925  module.exports = function assign(target, source1) {
5926      if (!canBeObject(target)) { throw new TypeError('target must be an object'); }
5927      var objTarget = toObject(target);
5928      var s, source, i, props, syms, value, key;
5929      for (s = 1; s < arguments.length; ++s) {
5930          source = toObject(arguments[s]);
5931          props = keys(source);
5932          var getSymbols = hasSymbols && (Object.getOwnPropertySymbols || originalGetSymbols);
5933          if (getSymbols) {
5934              syms = getSymbols(source);
5935              for (i = 0; i < syms.length; ++i) {
5936                  key = syms[i];
5937                  if ($propIsEnumerable(source, key)) {
5938                      $push(props, key);
5939                  }
5940              }
5941          }
5942          for (i = 0; i < props.length; ++i) {
5943              key = props[i];
5944              value = source[key];
5945              if ($propIsEnumerable(source, key)) {
5946                  objTarget[key] = value;
5947              }
5948          }
5949      }
5950      return objTarget;
5951  };
5952  
5953  
5954  /***/ }),
5955  
5956  /***/ "Fv1B":
5957  /***/ (function(module, exports, __webpack_require__) {
5958  
5959  "use strict";
5960  
5961  
5962  Object.defineProperty(exports, "__esModule", {
5963    value: true
5964  });
5965  var DISPLAY_FORMAT = exports.DISPLAY_FORMAT = 'L';
5966  var ISO_FORMAT = exports.ISO_FORMAT = 'YYYY-MM-DD';
5967  var ISO_MONTH_FORMAT = exports.ISO_MONTH_FORMAT = 'YYYY-MM';
5968  
5969  var START_DATE = exports.START_DATE = 'startDate';
5970  var END_DATE = exports.END_DATE = 'endDate';
5971  
5972  var HORIZONTAL_ORIENTATION = exports.HORIZONTAL_ORIENTATION = 'horizontal';
5973  var VERTICAL_ORIENTATION = exports.VERTICAL_ORIENTATION = 'vertical';
5974  var VERTICAL_SCROLLABLE = exports.VERTICAL_SCROLLABLE = 'verticalScrollable';
5975  
5976  var ICON_BEFORE_POSITION = exports.ICON_BEFORE_POSITION = 'before';
5977  var ICON_AFTER_POSITION = exports.ICON_AFTER_POSITION = 'after';
5978  
5979  var INFO_POSITION_TOP = exports.INFO_POSITION_TOP = 'top';
5980  var INFO_POSITION_BOTTOM = exports.INFO_POSITION_BOTTOM = 'bottom';
5981  var INFO_POSITION_BEFORE = exports.INFO_POSITION_BEFORE = 'before';
5982  var INFO_POSITION_AFTER = exports.INFO_POSITION_AFTER = 'after';
5983  
5984  var ANCHOR_LEFT = exports.ANCHOR_LEFT = 'left';
5985  var ANCHOR_RIGHT = exports.ANCHOR_RIGHT = 'right';
5986  
5987  var OPEN_DOWN = exports.OPEN_DOWN = 'down';
5988  var OPEN_UP = exports.OPEN_UP = 'up';
5989  
5990  var DAY_SIZE = exports.DAY_SIZE = 39;
5991  var BLOCKED_MODIFIER = exports.BLOCKED_MODIFIER = 'blocked';
5992  var WEEKDAYS = exports.WEEKDAYS = [0, 1, 2, 3, 4, 5, 6];
5993  
5994  var FANG_WIDTH_PX = exports.FANG_WIDTH_PX = 20;
5995  var FANG_HEIGHT_PX = exports.FANG_HEIGHT_PX = 10;
5996  var DEFAULT_VERTICAL_SPACING = exports.DEFAULT_VERTICAL_SPACING = 22;
5997  
5998  var MODIFIER_KEY_NAMES = exports.MODIFIER_KEY_NAMES = new Set(['Shift', 'Control', 'Alt', 'Meta']);
5999  
6000  /***/ }),
6001  
6002  /***/ "G3V0":
6003  /***/ (function(module, __webpack_exports__, __webpack_require__) {
6004  
6005  "use strict";
6006  /* unused harmony export Tabbable */
6007  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return useTabbable; });
6008  /* harmony import */ var _rollupPluginBabelHelpers_1f0bf8c2_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("BZp5");
6009  /* harmony import */ var reakit_system_createComponent__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("hE48");
6010  /* harmony import */ var reakit_system_createHook__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("qdes");
6011  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("cDcd");
6012  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
6013  /* harmony import */ var reakit_utils_useForkRef__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("aU41");
6014  /* harmony import */ var reakit_utils_isButton__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("71Og");
6015  /* harmony import */ var reakit_warning__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("KA1K");
6016  /* harmony import */ var reakit_utils_useLiveRef__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__("eNtd");
6017  /* harmony import */ var reakit_utils_useIsomorphicEffect__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__("AXvK");
6018  /* harmony import */ var reakit_utils_hasFocusWithin__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__("PcHe");
6019  /* harmony import */ var reakit_utils_isPortalEvent__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__("Vq1w");
6020  /* harmony import */ var reakit_utils_dom__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__("reMF");
6021  /* harmony import */ var reakit_utils_tabbable__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__("kqkJ");
6022  /* harmony import */ var _Role_Role_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__("zGFp");
6023  
6024  
6025  
6026  
6027  
6028  
6029  
6030  
6031  
6032  
6033  
6034  
6035  
6036  
6037  
6038  
6039  // Automatically generated
6040  var TABBABLE_KEYS = ["disabled", "focusable"];
6041  
6042  var isSafariOrFirefoxOnMac = Object(reakit_utils_dom__WEBPACK_IMPORTED_MODULE_11__[/* isUA */ "a"])("Mac") && !Object(reakit_utils_dom__WEBPACK_IMPORTED_MODULE_11__[/* isUA */ "a"])("Chrome") && (Object(reakit_utils_dom__WEBPACK_IMPORTED_MODULE_11__[/* isUA */ "a"])("Safari") || Object(reakit_utils_dom__WEBPACK_IMPORTED_MODULE_11__[/* isUA */ "a"])("Firefox"));
6043  
6044  function focusIfNeeded(element) {
6045    if (!Object(reakit_utils_hasFocusWithin__WEBPACK_IMPORTED_MODULE_9__[/* hasFocusWithin */ "a"])(element) && Object(reakit_utils_tabbable__WEBPACK_IMPORTED_MODULE_12__[/* isFocusable */ "a"])(element)) {
6046      element.focus();
6047    }
6048  }
6049  
6050  function isNativeTabbable(element) {
6051    return element.tagName === "BUTTON" || element.tagName === "INPUT" || element.tagName === "SELECT" || element.tagName === "TEXTAREA" || element.tagName === "A";
6052  }
6053  
6054  function supportsDisabledAttribute(element) {
6055    return element.tagName === "BUTTON" || element.tagName === "INPUT" || element.tagName === "SELECT" || element.tagName === "TEXTAREA";
6056  }
6057  
6058  function getTabIndex(trulyDisabled, nativeTabbable, supportsDisabled, htmlTabIndex) {
6059    if (trulyDisabled) {
6060      if (nativeTabbable && !supportsDisabled) {
6061        // Anchor, audio and video tags don't support the `disabled` attribute.
6062        // We must pass tabIndex={-1} so they don't receive focus on tab.
6063        return -1;
6064      } // Elements that support the `disabled` attribute don't need tabIndex.
6065  
6066  
6067      return undefined;
6068    }
6069  
6070    if (nativeTabbable) {
6071      // If the element is enabled and it's natively tabbable, we don't need to
6072      // specify a tabIndex attribute unless it's explicitly set by the user.
6073      return htmlTabIndex;
6074    } // If the element is enabled and is not natively tabbable, we have to
6075    // fallback tabIndex={0}.
6076  
6077  
6078    return htmlTabIndex || 0;
6079  }
6080  
6081  function useDisableEvent(htmlEventRef, disabled) {
6082    return Object(react__WEBPACK_IMPORTED_MODULE_3__["useCallback"])(function (event) {
6083      var _htmlEventRef$current;
6084  
6085      (_htmlEventRef$current = htmlEventRef.current) === null || _htmlEventRef$current === void 0 ? void 0 : _htmlEventRef$current.call(htmlEventRef, event);
6086      if (event.defaultPrevented) return;
6087  
6088      if (disabled) {
6089        event.stopPropagation();
6090        event.preventDefault();
6091      }
6092    }, [htmlEventRef, disabled]);
6093  }
6094  
6095  var useTabbable = Object(reakit_system_createHook__WEBPACK_IMPORTED_MODULE_2__[/* createHook */ "a"])({
6096    name: "Tabbable",
6097    compose: _Role_Role_js__WEBPACK_IMPORTED_MODULE_13__[/* useRole */ "a"],
6098    keys: TABBABLE_KEYS,
6099    useOptions: function useOptions(options, _ref) {
6100      var disabled = _ref.disabled;
6101      return Object(_rollupPluginBabelHelpers_1f0bf8c2_js__WEBPACK_IMPORTED_MODULE_0__[/* a */ "b"])({
6102        disabled: disabled
6103      }, options);
6104    },
6105    useProps: function useProps(options, _ref2) {
6106      var htmlRef = _ref2.ref,
6107          htmlTabIndex = _ref2.tabIndex,
6108          htmlOnClickCapture = _ref2.onClickCapture,
6109          htmlOnMouseDownCapture = _ref2.onMouseDownCapture,
6110          htmlOnMouseDown = _ref2.onMouseDown,
6111          htmlOnKeyPressCapture = _ref2.onKeyPressCapture,
6112          htmlStyle = _ref2.style,
6113          htmlProps = Object(_rollupPluginBabelHelpers_1f0bf8c2_js__WEBPACK_IMPORTED_MODULE_0__[/* _ */ "a"])(_ref2, ["ref", "tabIndex", "onClickCapture", "onMouseDownCapture", "onMouseDown", "onKeyPressCapture", "style"]);
6114  
6115      var ref = Object(react__WEBPACK_IMPORTED_MODULE_3__["useRef"])(null);
6116      var onClickCaptureRef = Object(reakit_utils_useLiveRef__WEBPACK_IMPORTED_MODULE_7__[/* useLiveRef */ "a"])(htmlOnClickCapture);
6117      var onMouseDownCaptureRef = Object(reakit_utils_useLiveRef__WEBPACK_IMPORTED_MODULE_7__[/* useLiveRef */ "a"])(htmlOnMouseDownCapture);
6118      var onMouseDownRef = Object(reakit_utils_useLiveRef__WEBPACK_IMPORTED_MODULE_7__[/* useLiveRef */ "a"])(htmlOnMouseDown);
6119      var onKeyPressCaptureRef = Object(reakit_utils_useLiveRef__WEBPACK_IMPORTED_MODULE_7__[/* useLiveRef */ "a"])(htmlOnKeyPressCapture);
6120      var trulyDisabled = !!options.disabled && !options.focusable;
6121  
6122      var _React$useState = Object(react__WEBPACK_IMPORTED_MODULE_3__["useState"])(true),
6123          nativeTabbable = _React$useState[0],
6124          setNativeTabbable = _React$useState[1];
6125  
6126      var _React$useState2 = Object(react__WEBPACK_IMPORTED_MODULE_3__["useState"])(true),
6127          supportsDisabled = _React$useState2[0],
6128          setSupportsDisabled = _React$useState2[1];
6129  
6130      var style = options.disabled ? Object(_rollupPluginBabelHelpers_1f0bf8c2_js__WEBPACK_IMPORTED_MODULE_0__[/* a */ "b"])({
6131        pointerEvents: "none"
6132      }, htmlStyle) : htmlStyle;
6133      Object(reakit_utils_useIsomorphicEffect__WEBPACK_IMPORTED_MODULE_8__[/* useIsomorphicEffect */ "a"])(function () {
6134        var tabbable = ref.current;
6135  
6136        if (!tabbable) {
6137           false ? undefined : void 0;
6138          return;
6139        }
6140  
6141        if (!isNativeTabbable(tabbable)) {
6142          setNativeTabbable(false);
6143        }
6144  
6145        if (!supportsDisabledAttribute(tabbable)) {
6146          setSupportsDisabled(false);
6147        }
6148      }, []);
6149      var onClickCapture = useDisableEvent(onClickCaptureRef, options.disabled);
6150      var onMouseDownCapture = useDisableEvent(onMouseDownCaptureRef, options.disabled);
6151      var onKeyPressCapture = useDisableEvent(onKeyPressCaptureRef, options.disabled);
6152      var onMouseDown = Object(react__WEBPACK_IMPORTED_MODULE_3__["useCallback"])(function (event) {
6153        var _onMouseDownRef$curre;
6154  
6155        (_onMouseDownRef$curre = onMouseDownRef.current) === null || _onMouseDownRef$curre === void 0 ? void 0 : _onMouseDownRef$curre.call(onMouseDownRef, event);
6156        var element = event.currentTarget;
6157        if (event.defaultPrevented) return; // Safari and Firefox on MacOS don't focus on buttons on mouse down
6158        // like other browsers/platforms. Instead, they focus on the closest
6159        // focusable ancestor element, which is ultimately the body element. So
6160        // we make sure to give focus to the tabbable element on mouse down so
6161        // it works consistently across browsers.
6162  
6163        if (!isSafariOrFirefoxOnMac) return;
6164        if (Object(reakit_utils_isPortalEvent__WEBPACK_IMPORTED_MODULE_10__[/* isPortalEvent */ "a"])(event)) return;
6165        if (!Object(reakit_utils_isButton__WEBPACK_IMPORTED_MODULE_5__[/* isButton */ "a"])(element)) return; // We can't focus right away after on mouse down, otherwise it would
6166        // prevent drag events from happening. So we schedule the focus to the
6167        // next animation frame.
6168  
6169        var raf = requestAnimationFrame(function () {
6170          element.removeEventListener("mouseup", focusImmediately, true);
6171          focusIfNeeded(element);
6172        }); // If mouseUp happens before the next animation frame (which is common
6173        // on touch screens or by just tapping the trackpad on MacBook's), we
6174        // cancel the animation frame and immediately focus on the element.
6175  
6176        var focusImmediately = function focusImmediately() {
6177          cancelAnimationFrame(raf);
6178          focusIfNeeded(element);
6179        }; // By listening to the event in the capture phase, we make sure the
6180        // focus event is fired before the onMouseUp and onMouseUpCapture React
6181        // events, which is aligned with the default browser behavior.
6182  
6183  
6184        element.addEventListener("mouseup", focusImmediately, {
6185          once: true,
6186          capture: true
6187        });
6188      }, []);
6189      return Object(_rollupPluginBabelHelpers_1f0bf8c2_js__WEBPACK_IMPORTED_MODULE_0__[/* a */ "b"])({
6190        ref: Object(reakit_utils_useForkRef__WEBPACK_IMPORTED_MODULE_4__[/* useForkRef */ "a"])(ref, htmlRef),
6191        style: style,
6192        tabIndex: getTabIndex(trulyDisabled, nativeTabbable, supportsDisabled, htmlTabIndex),
6193        disabled: trulyDisabled && supportsDisabled ? true : undefined,
6194        "aria-disabled": options.disabled ? true : undefined,
6195        onClickCapture: onClickCapture,
6196        onMouseDownCapture: onMouseDownCapture,
6197        onMouseDown: onMouseDown,
6198        onKeyPressCapture: onKeyPressCapture
6199      }, htmlProps);
6200    }
6201  });
6202  var Tabbable = Object(reakit_system_createComponent__WEBPACK_IMPORTED_MODULE_1__[/* createComponent */ "a"])({
6203    as: "div",
6204    useHook: useTabbable
6205  });
6206  
6207  
6208  
6209  
6210  /***/ }),
6211  
6212  /***/ "GET3":
6213  /***/ (function(module, exports, __webpack_require__) {
6214  
6215  "use strict";
6216  
6217  
6218  Object.defineProperty(exports, "__esModule", {
6219    value: true
6220  });
6221  exports.PureCustomizableCalendarDay = exports.selectedStyles = exports.lastInRangeStyles = exports.selectedSpanStyles = exports.hoveredSpanStyles = exports.blockedOutOfRangeStyles = exports.blockedCalendarStyles = exports.blockedMinNightsStyles = exports.highlightedCalendarStyles = exports.outsideStyles = exports.defaultStyles = undefined;
6222  
6223  var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
6224  
6225  var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
6226  
6227  var _object = __webpack_require__("Koq/");
6228  
6229  var _object2 = _interopRequireDefault(_object);
6230  
6231  var _react = __webpack_require__("cDcd");
6232  
6233  var _react2 = _interopRequireDefault(_react);
6234  
6235  var _propTypes = __webpack_require__("17x9");
6236  
6237  var _propTypes2 = _interopRequireDefault(_propTypes);
6238  
6239  var _reactAddonsShallowCompare = __webpack_require__("YZDV");
6240  
6241  var _reactAddonsShallowCompare2 = _interopRequireDefault(_reactAddonsShallowCompare);
6242  
6243  var _reactMomentProptypes = __webpack_require__("XGBb");
6244  
6245  var _reactMomentProptypes2 = _interopRequireDefault(_reactMomentProptypes);
6246  
6247  var _airbnbPropTypes = __webpack_require__("Hsqg");
6248  
6249  var _reactWithStyles = __webpack_require__("TG4+");
6250  
6251  var _moment = __webpack_require__("wy2R");
6252  
6253  var _moment2 = _interopRequireDefault(_moment);
6254  
6255  var _defaultPhrases = __webpack_require__("vV+G");
6256  
6257  var _getPhrasePropTypes = __webpack_require__("yc2e");
6258  
6259  var _getPhrasePropTypes2 = _interopRequireDefault(_getPhrasePropTypes);
6260  
6261  var _getCalendarDaySettings = __webpack_require__("Ae65");
6262  
6263  var _getCalendarDaySettings2 = _interopRequireDefault(_getCalendarDaySettings);
6264  
6265  var _constants = __webpack_require__("Fv1B");
6266  
6267  var _DefaultTheme = __webpack_require__("xOhs");
6268  
6269  var _DefaultTheme2 = _interopRequireDefault(_DefaultTheme);
6270  
6271  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
6272  
6273  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
6274  
6275  function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
6276  
6277  function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
6278  
6279  var color = _DefaultTheme2['default'].reactDates.color;
6280  
6281  
6282  function getStyles(stylesObj, isHovered) {
6283    if (!stylesObj) return null;
6284  
6285    var hover = stylesObj.hover;
6286  
6287    if (isHovered && hover) {
6288      return hover;
6289    }
6290  
6291    return stylesObj;
6292  }
6293  
6294  var DayStyleShape = _propTypes2['default'].shape({
6295    background: _propTypes2['default'].string,
6296    border: (0, _airbnbPropTypes.or)([_propTypes2['default'].string, _propTypes2['default'].number]),
6297    color: _propTypes2['default'].string,
6298  
6299    hover: _propTypes2['default'].shape({
6300      background: _propTypes2['default'].string,
6301      border: (0, _airbnbPropTypes.or)([_propTypes2['default'].string, _propTypes2['default'].number]),
6302      color: _propTypes2['default'].string
6303    })
6304  });
6305  
6306  var propTypes = (0, _airbnbPropTypes.forbidExtraProps)((0, _object2['default'])({}, _reactWithStyles.withStylesPropTypes, {
6307    day: _reactMomentProptypes2['default'].momentObj,
6308    daySize: _airbnbPropTypes.nonNegativeInteger,
6309    isOutsideDay: _propTypes2['default'].bool,
6310    modifiers: _propTypes2['default'].instanceOf(Set),
6311    isFocused: _propTypes2['default'].bool,
6312    tabIndex: _propTypes2['default'].oneOf([0, -1]),
6313    onDayClick: _propTypes2['default'].func,
6314    onDayMouseEnter: _propTypes2['default'].func,
6315    onDayMouseLeave: _propTypes2['default'].func,
6316    renderDayContents: _propTypes2['default'].func,
6317    ariaLabelFormat: _propTypes2['default'].string,
6318  
6319    // style overrides
6320    defaultStyles: DayStyleShape,
6321    outsideStyles: DayStyleShape,
6322    todayStyles: DayStyleShape,
6323    firstDayOfWeekStyles: DayStyleShape,
6324    lastDayOfWeekStyles: DayStyleShape,
6325    highlightedCalendarStyles: DayStyleShape,
6326    blockedMinNightsStyles: DayStyleShape,
6327    blockedCalendarStyles: DayStyleShape,
6328    blockedOutOfRangeStyles: DayStyleShape,
6329    hoveredSpanStyles: DayStyleShape,
6330    selectedSpanStyles: DayStyleShape,
6331    lastInRangeStyles: DayStyleShape,
6332    selectedStyles: DayStyleShape,
6333    selectedStartStyles: DayStyleShape,
6334    selectedEndStyles: DayStyleShape,
6335    afterHoveredStartStyles: DayStyleShape,
6336  
6337    // internationalization
6338    phrases: _propTypes2['default'].shape((0, _getPhrasePropTypes2['default'])(_defaultPhrases.CalendarDayPhrases))
6339  }));
6340  
6341  var defaultStyles = exports.defaultStyles = {
6342    border: '1px solid ' + String(color.core.borderLight),
6343    color: color.text,
6344    background: color.background,
6345  
6346    hover: {
6347      background: color.core.borderLight,
6348      border: '1px double ' + String(color.core.borderLight),
6349      color: 'inherit'
6350    }
6351  };
6352  
6353  var outsideStyles = exports.outsideStyles = {
6354    background: color.outside.backgroundColor,
6355    border: 0,
6356    color: color.outside.color
6357  };
6358  
6359  var highlightedCalendarStyles = exports.highlightedCalendarStyles = {
6360    background: color.highlighted.backgroundColor,
6361    color: color.highlighted.color,
6362  
6363    hover: {
6364      background: color.highlighted.backgroundColor_hover,
6365      color: color.highlighted.color_active
6366    }
6367  };
6368  
6369  var blockedMinNightsStyles = exports.blockedMinNightsStyles = {
6370    background: color.minimumNights.backgroundColor,
6371    border: '1px solid ' + String(color.minimumNights.borderColor),
6372    color: color.minimumNights.color,
6373  
6374    hover: {
6375      background: color.minimumNights.backgroundColor_hover,
6376      color: color.minimumNights.color_active
6377    }
6378  };
6379  
6380  var blockedCalendarStyles = exports.blockedCalendarStyles = {
6381    background: color.blocked_calendar.backgroundColor,
6382    border: '1px solid ' + String(color.blocked_calendar.borderColor),
6383    color: color.blocked_calendar.color,
6384  
6385    hover: {
6386      background: color.blocked_calendar.backgroundColor_hover,
6387      border: '1px solid ' + String(color.blocked_calendar.borderColor),
6388      color: color.blocked_calendar.color_active
6389    }
6390  };
6391  
6392  var blockedOutOfRangeStyles = exports.blockedOutOfRangeStyles = {
6393    background: color.blocked_out_of_range.backgroundColor,
6394    border: '1px solid ' + String(color.blocked_out_of_range.borderColor),
6395    color: color.blocked_out_of_range.color,
6396  
6397    hover: {
6398      background: color.blocked_out_of_range.backgroundColor_hover,
6399      border: '1px solid ' + String(color.blocked_out_of_range.borderColor),
6400      color: color.blocked_out_of_range.color_active
6401    }
6402  };
6403  
6404  var hoveredSpanStyles = exports.hoveredSpanStyles = {
6405    background: color.hoveredSpan.backgroundColor,
6406    border: '1px solid ' + String(color.hoveredSpan.borderColor),
6407    color: color.hoveredSpan.color,
6408  
6409    hover: {
6410      background: color.hoveredSpan.backgroundColor_hover,
6411      border: '1px solid ' + String(color.hoveredSpan.borderColor),
6412      color: color.hoveredSpan.color_active
6413    }
6414  };
6415  
6416  var selectedSpanStyles = exports.selectedSpanStyles = {
6417    background: color.selectedSpan.backgroundColor,
6418    border: '1px solid ' + String(color.selectedSpan.borderColor),
6419    color: color.selectedSpan.color,
6420  
6421    hover: {
6422      background: color.selectedSpan.backgroundColor_hover,
6423      border: '1px solid ' + String(color.selectedSpan.borderColor),
6424      color: color.selectedSpan.color_active
6425    }
6426  };
6427  
6428  var lastInRangeStyles = exports.lastInRangeStyles = {
6429    borderRight: color.core.primary
6430  };
6431  
6432  var selectedStyles = exports.selectedStyles = {
6433    background: color.selected.backgroundColor,
6434    border: '1px solid ' + String(color.selected.borderColor),
6435    color: color.selected.color,
6436  
6437    hover: {
6438      background: color.selected.backgroundColor_hover,
6439      border: '1px solid ' + String(color.selected.borderColor),
6440      color: color.selected.color_active
6441    }
6442  };
6443  
6444  var defaultProps = {
6445    day: (0, _moment2['default'])(),
6446    daySize: _constants.DAY_SIZE,
6447    isOutsideDay: false,
6448    modifiers: new Set(),
6449    isFocused: false,
6450    tabIndex: -1,
6451    onDayClick: function () {
6452      function onDayClick() {}
6453  
6454      return onDayClick;
6455    }(),
6456    onDayMouseEnter: function () {
6457      function onDayMouseEnter() {}
6458  
6459      return onDayMouseEnter;
6460    }(),
6461    onDayMouseLeave: function () {
6462      function onDayMouseLeave() {}
6463  
6464      return onDayMouseLeave;
6465    }(),
6466  
6467    renderDayContents: null,
6468    ariaLabelFormat: 'dddd, LL',
6469  
6470    // style defaults
6471    defaultStyles: defaultStyles,
6472    outsideStyles: outsideStyles,
6473    todayStyles: {},
6474    highlightedCalendarStyles: highlightedCalendarStyles,
6475    blockedMinNightsStyles: blockedMinNightsStyles,
6476    blockedCalendarStyles: blockedCalendarStyles,
6477    blockedOutOfRangeStyles: blockedOutOfRangeStyles,
6478    hoveredSpanStyles: hoveredSpanStyles,
6479    selectedSpanStyles: selectedSpanStyles,
6480    lastInRangeStyles: lastInRangeStyles,
6481    selectedStyles: selectedStyles,
6482    selectedStartStyles: {},
6483    selectedEndStyles: {},
6484    afterHoveredStartStyles: {},
6485    firstDayOfWeekStyles: {},
6486    lastDayOfWeekStyles: {},
6487  
6488    // internationalization
6489    phrases: _defaultPhrases.CalendarDayPhrases
6490  };
6491  
6492  var CustomizableCalendarDay = function (_React$Component) {
6493    _inherits(CustomizableCalendarDay, _React$Component);
6494  
6495    function CustomizableCalendarDay() {
6496      var _ref;
6497  
6498      _classCallCheck(this, CustomizableCalendarDay);
6499  
6500      for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
6501        args[_key] = arguments[_key];
6502      }
6503  
6504      var _this = _possibleConstructorReturn(this, (_ref = CustomizableCalendarDay.__proto__ || Object.getPrototypeOf(CustomizableCalendarDay)).call.apply(_ref, [this].concat(args)));
6505  
6506      _this.state = {
6507        isHovered: false
6508      };
6509  
6510      _this.setButtonRef = _this.setButtonRef.bind(_this);
6511      return _this;
6512    }
6513  
6514    _createClass(CustomizableCalendarDay, [{
6515      key: 'shouldComponentUpdate',
6516      value: function () {
6517        function shouldComponentUpdate(nextProps, nextState) {
6518          return (0, _reactAddonsShallowCompare2['default'])(this, nextProps, nextState);
6519        }
6520  
6521        return shouldComponentUpdate;
6522      }()
6523    }, {
6524      key: 'componentDidUpdate',
6525      value: function () {
6526        function componentDidUpdate(prevProps) {
6527          var _props = this.props,
6528              isFocused = _props.isFocused,
6529              tabIndex = _props.tabIndex;
6530  
6531          if (tabIndex === 0) {
6532            if (isFocused || tabIndex !== prevProps.tabIndex) {
6533              this.buttonRef.focus();
6534            }
6535          }
6536        }
6537  
6538        return componentDidUpdate;
6539      }()
6540    }, {
6541      key: 'onDayClick',
6542      value: function () {
6543        function onDayClick(day, e) {
6544          var onDayClick = this.props.onDayClick;
6545  
6546          onDayClick(day, e);
6547        }
6548  
6549        return onDayClick;
6550      }()
6551    }, {
6552      key: 'onDayMouseEnter',
6553      value: function () {
6554        function onDayMouseEnter(day, e) {
6555          var onDayMouseEnter = this.props.onDayMouseEnter;
6556  
6557          this.setState({ isHovered: true });
6558          onDayMouseEnter(day, e);
6559        }
6560  
6561        return onDayMouseEnter;
6562      }()
6563    }, {
6564      key: 'onDayMouseLeave',
6565      value: function () {
6566        function onDayMouseLeave(day, e) {
6567          var onDayMouseLeave = this.props.onDayMouseLeave;
6568  
6569          this.setState({ isHovered: false });
6570          onDayMouseLeave(day, e);
6571        }
6572  
6573        return onDayMouseLeave;
6574      }()
6575    }, {
6576      key: 'onKeyDown',
6577      value: function () {
6578        function onKeyDown(day, e) {
6579          var onDayClick = this.props.onDayClick;
6580          var key = e.key;
6581  
6582          if (key === 'Enter' || key === ' ') {
6583            onDayClick(day, e);
6584          }
6585        }
6586  
6587        return onKeyDown;
6588      }()
6589    }, {
6590      key: 'setButtonRef',
6591      value: function () {
6592        function setButtonRef(ref) {
6593          this.buttonRef = ref;
6594        }
6595  
6596        return setButtonRef;
6597      }()
6598    }, {
6599      key: 'render',
6600      value: function () {
6601        function render() {
6602          var _this2 = this;
6603  
6604          var _props2 = this.props,
6605              day = _props2.day,
6606              ariaLabelFormat = _props2.ariaLabelFormat,
6607              daySize = _props2.daySize,
6608              isOutsideDay = _props2.isOutsideDay,
6609              modifiers = _props2.modifiers,
6610              tabIndex = _props2.tabIndex,
6611              renderDayContents = _props2.renderDayContents,
6612              styles = _props2.styles,
6613              phrases = _props2.phrases,
6614              defaultStylesWithHover = _props2.defaultStyles,
6615              outsideStylesWithHover = _props2.outsideStyles,
6616              todayStylesWithHover = _props2.todayStyles,
6617              firstDayOfWeekStylesWithHover = _props2.firstDayOfWeekStyles,
6618              lastDayOfWeekStylesWithHover = _props2.lastDayOfWeekStyles,
6619              highlightedCalendarStylesWithHover = _props2.highlightedCalendarStyles,
6620              blockedMinNightsStylesWithHover = _props2.blockedMinNightsStyles,
6621              blockedCalendarStylesWithHover = _props2.blockedCalendarStyles,
6622              blockedOutOfRangeStylesWithHover = _props2.blockedOutOfRangeStyles,
6623              hoveredSpanStylesWithHover = _props2.hoveredSpanStyles,
6624              selectedSpanStylesWithHover = _props2.selectedSpanStyles,
6625              lastInRangeStylesWithHover = _props2.lastInRangeStyles,
6626              selectedStylesWithHover = _props2.selectedStyles,
6627              selectedStartStylesWithHover = _props2.selectedStartStyles,
6628              selectedEndStylesWithHover = _props2.selectedEndStyles,
6629              afterHoveredStartStylesWithHover = _props2.afterHoveredStartStyles;
6630          var isHovered = this.state.isHovered;
6631  
6632  
6633          if (!day) return _react2['default'].createElement('td', null);
6634  
6635          var _getCalendarDaySettin = (0, _getCalendarDaySettings2['default'])(day, ariaLabelFormat, daySize, modifiers, phrases),
6636              daySizeStyles = _getCalendarDaySettin.daySizeStyles,
6637              useDefaultCursor = _getCalendarDaySettin.useDefaultCursor,
6638              selected = _getCalendarDaySettin.selected,
6639              hoveredSpan = _getCalendarDaySettin.hoveredSpan,
6640              isOutsideRange = _getCalendarDaySettin.isOutsideRange,
6641              ariaLabel = _getCalendarDaySettin.ariaLabel;
6642  
6643          return _react2['default'].createElement(
6644            'td',
6645            _extends({}, (0, _reactWithStyles.css)(styles.CalendarDay, useDefaultCursor && styles.CalendarDay__defaultCursor, daySizeStyles, getStyles(defaultStylesWithHover, isHovered), isOutsideDay && getStyles(outsideStylesWithHover, isHovered), modifiers.has('today') && getStyles(todayStylesWithHover, isHovered), modifiers.has('first-day-of-week') && getStyles(firstDayOfWeekStylesWithHover, isHovered), modifiers.has('last-day-of-week') && getStyles(lastDayOfWeekStylesWithHover, isHovered), modifiers.has('highlighted-calendar') && getStyles(highlightedCalendarStylesWithHover, isHovered), modifiers.has('blocked-minimum-nights') && getStyles(blockedMinNightsStylesWithHover, isHovered), modifiers.has('blocked-calendar') && getStyles(blockedCalendarStylesWithHover, isHovered), hoveredSpan && getStyles(hoveredSpanStylesWithHover, isHovered), modifiers.has('after-hovered-start') && getStyles(afterHoveredStartStylesWithHover, isHovered), modifiers.has('selected-span') && getStyles(selectedSpanStylesWithHover, isHovered), modifiers.has('last-in-range') && getStyles(lastInRangeStylesWithHover, isHovered), selected && getStyles(selectedStylesWithHover, isHovered), modifiers.has('selected-start') && getStyles(selectedStartStylesWithHover, isHovered), modifiers.has('selected-end') && getStyles(selectedEndStylesWithHover, isHovered), isOutsideRange && getStyles(blockedOutOfRangeStylesWithHover, isHovered)), {
6646              role: 'button' // eslint-disable-line jsx-a11y/no-noninteractive-element-to-interactive-role
6647              , ref: this.setButtonRef,
6648              'aria-label': ariaLabel,
6649              onMouseEnter: function () {
6650                function onMouseEnter(e) {
6651                  _this2.onDayMouseEnter(day, e);
6652                }
6653  
6654                return onMouseEnter;
6655              }(),
6656              onMouseLeave: function () {
6657                function onMouseLeave(e) {
6658                  _this2.onDayMouseLeave(day, e);
6659                }
6660  
6661                return onMouseLeave;
6662              }(),
6663              onMouseUp: function () {
6664                function onMouseUp(e) {
6665                  e.currentTarget.blur();
6666                }
6667  
6668                return onMouseUp;
6669              }(),
6670              onClick: function () {
6671                function onClick(e) {
6672                  _this2.onDayClick(day, e);
6673                }
6674  
6675                return onClick;
6676              }(),
6677              onKeyDown: function () {
6678                function onKeyDown(e) {
6679                  _this2.onKeyDown(day, e);
6680                }
6681  
6682                return onKeyDown;
6683              }(),
6684              tabIndex: tabIndex
6685            }),
6686            renderDayContents ? renderDayContents(day, modifiers) : day.format('D')
6687          );
6688        }
6689  
6690        return render;
6691      }()
6692    }]);
6693  
6694    return CustomizableCalendarDay;
6695  }(_react2['default'].Component);
6696  
6697  CustomizableCalendarDay.propTypes = propTypes;
6698  CustomizableCalendarDay.defaultProps = defaultProps;
6699  
6700  exports.PureCustomizableCalendarDay = CustomizableCalendarDay;
6701  exports['default'] = (0, _reactWithStyles.withStyles)(function (_ref2) {
6702    var font = _ref2.reactDates.font;
6703    return {
6704      CalendarDay: {
6705        boxSizing: 'border-box',
6706        cursor: 'pointer',
6707        fontSize: font.size,
6708        textAlign: 'center',
6709  
6710        ':active': {
6711          outline: 0
6712        }
6713      },
6714  
6715      CalendarDay__defaultCursor: {
6716        cursor: 'default'
6717      }
6718    };
6719  })(CustomizableCalendarDay);
6720  
6721  /***/ }),
6722  
6723  /***/ "GG7f":
6724  /***/ (function(module, exports, __webpack_require__) {
6725  
6726  // eslint-disable-next-line import/no-unresolved
6727  __webpack_require__("H24B");
6728  
6729  
6730  /***/ }),
6731  
6732  /***/ "GK4x":
6733  /***/ (function(module, __webpack_exports__, __webpack_require__) {
6734  
6735  "use strict";
6736  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
6737  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
6738  /**
6739   * WordPress dependencies
6740   */
6741  
6742  const ToolbarContext = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createContext"])();
6743  /* harmony default export */ __webpack_exports__["a"] = (ToolbarContext);
6744  
6745  
6746  /***/ }),
6747  
6748  /***/ "GRId":
6749  /***/ (function(module, exports) {
6750  
6751  (function() { module.exports = window["wp"]["element"]; }());
6752  
6753  /***/ }),
6754  
6755  /***/ "Gn0q":
6756  /***/ (function(module, exports, __webpack_require__) {
6757  
6758  "use strict";
6759  
6760  
6761  var define = __webpack_require__("82c2");
6762  var getPolyfill = __webpack_require__("5yQQ");
6763  
6764  module.exports = function shimContains() {
6765      var polyfill = getPolyfill();
6766      if (typeof document !== 'undefined') {
6767          define(
6768              document,
6769              { contains: polyfill },
6770              { contains: function () { return document.contains !== polyfill; } }
6771          );
6772          if (typeof Element !== 'undefined') {
6773              define(
6774                  Element.prototype,
6775                  { contains: polyfill },
6776                  { contains: function () { return Element.prototype.contains !== polyfill; } }
6777              );
6778          }
6779      }
6780      return polyfill;
6781  };
6782  
6783  
6784  /***/ }),
6785  
6786  /***/ "GoyQ":
6787  /***/ (function(module, exports) {
6788  
6789  /**
6790   * Checks if `value` is the
6791   * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
6792   * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
6793   *
6794   * @static
6795   * @memberOf _
6796   * @since 0.1.0
6797   * @category Lang
6798   * @param {*} value The value to check.
6799   * @returns {boolean} Returns `true` if `value` is an object, else `false`.
6800   * @example
6801   *
6802   * _.isObject({});
6803   * // => true
6804   *
6805   * _.isObject([1, 2, 3]);
6806   * // => true
6807   *
6808   * _.isObject(_.noop);
6809   * // => true
6810   *
6811   * _.isObject(null);
6812   * // => false
6813   */
6814  function isObject(value) {
6815    var type = typeof value;
6816    return value != null && (type == 'object' || type == 'function');
6817  }
6818  
6819  module.exports = isObject;
6820  
6821  
6822  /***/ }),
6823  
6824  /***/ "H24B":
6825  /***/ (function(module, exports, __webpack_require__) {
6826  
6827  "use strict";
6828  
6829  
6830  var _registerCSSInterfaceWithDefaultTheme = __webpack_require__("TUyu");
6831  
6832  var _registerCSSInterfaceWithDefaultTheme2 = _interopRequireDefault(_registerCSSInterfaceWithDefaultTheme);
6833  
6834  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
6835  
6836  (0, _registerCSSInterfaceWithDefaultTheme2['default'])();
6837  
6838  /***/ }),
6839  
6840  /***/ "HI8u":
6841  /***/ (function(module, exports, __webpack_require__) {
6842  
6843  "use strict";
6844  
6845  
6846  var $isNaN = __webpack_require__("HwJD");
6847  
6848  // http://262.ecma-international.org/5.1/#sec-9.12
6849  
6850  module.exports = function SameValue(x, y) {
6851      if (x === y) { // 0 === -0, but they are not identical.
6852          if (x === 0) { return 1 / x === 1 / y; }
6853          return true;
6854      }
6855      return $isNaN(x) && $isNaN(y);
6856  };
6857  
6858  
6859  /***/ }),
6860  
6861  /***/ "Hsqg":
6862  /***/ (function(module, exports, __webpack_require__) {
6863  
6864  module.exports =  true ? __webpack_require__("DciD") : undefined;
6865  
6866  
6867  
6868  /***/ }),
6869  
6870  /***/ "HwJD":
6871  /***/ (function(module, exports, __webpack_require__) {
6872  
6873  "use strict";
6874  
6875  
6876  module.exports = Number.isNaN || function isNaN(a) {
6877      return a !== a;
6878  };
6879  
6880  
6881  /***/ }),
6882  
6883  /***/ "Hx/O":
6884  /***/ (function(module, exports, __webpack_require__) {
6885  
6886  "use strict";
6887  
6888  
6889  var GetIntrinsic = __webpack_require__("rZ7t");
6890  
6891  var $String = GetIntrinsic('%String%');
6892  var $TypeError = GetIntrinsic('%TypeError%');
6893  
6894  // https://ecma-international.org/ecma-262/6.0/#sec-tostring
6895  
6896  module.exports = function ToString(argument) {
6897      if (typeof argument === 'symbol') {
6898          throw new $TypeError('Cannot convert a Symbol value to a string');
6899      }
6900      return $String(argument);
6901  };
6902  
6903  
6904  /***/ }),
6905  
6906  /***/ "HyUg":
6907  /***/ (function(module, exports, __webpack_require__) {
6908  
6909  "use strict";
6910  
6911  
6912  var origSymbol = typeof Symbol !== 'undefined' && Symbol;
6913  var hasSymbolSham = __webpack_require__("eJkf");
6914  
6915  module.exports = function hasNativeSymbols() {
6916      if (typeof origSymbol !== 'function') { return false; }
6917      if (typeof Symbol !== 'function') { return false; }
6918      if (typeof origSymbol('foo') !== 'symbol') { return false; }
6919      if (typeof Symbol('bar') !== 'symbol') { return false; }
6920  
6921      return hasSymbolSham();
6922  };
6923  
6924  
6925  /***/ }),
6926  
6927  /***/ "I/A+":
6928  /***/ (function(module, __webpack_exports__, __webpack_require__) {
6929  
6930  "use strict";
6931  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectWithoutPropertiesLoose; });
6932  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return _objectSpread2; });
6933  /* unused harmony export b */
6934  function _defineProperty(obj, key, value) {
6935    if (key in obj) {
6936      Object.defineProperty(obj, key, {
6937        value: value,
6938        enumerable: true,
6939        configurable: true,
6940        writable: true
6941      });
6942    } else {
6943      obj[key] = value;
6944    }
6945  
6946    return obj;
6947  }
6948  
6949  function ownKeys(object, enumerableOnly) {
6950    var keys = Object.keys(object);
6951  
6952    if (Object.getOwnPropertySymbols) {
6953      var symbols = Object.getOwnPropertySymbols(object);
6954      if (enumerableOnly) symbols = symbols.filter(function (sym) {
6955        return Object.getOwnPropertyDescriptor(object, sym).enumerable;
6956      });
6957      keys.push.apply(keys, symbols);
6958    }
6959  
6960    return keys;
6961  }
6962  
6963  function _objectSpread2(target) {
6964    for (var i = 1; i < arguments.length; i++) {
6965      var source = arguments[i] != null ? arguments[i] : {};
6966  
6967      if (i % 2) {
6968        ownKeys(Object(source), true).forEach(function (key) {
6969          _defineProperty(target, key, source[key]);
6970        });
6971      } else if (Object.getOwnPropertyDescriptors) {
6972        Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
6973      } else {
6974        ownKeys(Object(source)).forEach(function (key) {
6975          Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
6976        });
6977      }
6978    }
6979  
6980    return target;
6981  }
6982  
6983  function _objectWithoutPropertiesLoose(source, excluded) {
6984    if (source == null) return {};
6985    var target = {};
6986    var sourceKeys = Object.keys(source);
6987    var key, i;
6988  
6989    for (i = 0; i < sourceKeys.length; i++) {
6990      key = sourceKeys[i];
6991      if (excluded.indexOf(key) >= 0) continue;
6992      target[key] = source[key];
6993    }
6994  
6995    return target;
6996  }
6997  
6998  function _unsupportedIterableToArray(o, minLen) {
6999    if (!o) return;
7000    if (typeof o === "string") return _arrayLikeToArray(o, minLen);
7001    var n = Object.prototype.toString.call(o).slice(8, -1);
7002    if (n === "Object" && o.constructor) n = o.constructor.name;
7003    if (n === "Map" || n === "Set") return Array.from(o);
7004    if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
7005  }
7006  
7007  function _arrayLikeToArray(arr, len) {
7008    if (len == null || len > arr.length) len = arr.length;
7009  
7010    for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
7011  
7012    return arr2;
7013  }
7014  
7015  function _createForOfIteratorHelperLoose(o, allowArrayLike) {
7016    var it;
7017  
7018    if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) {
7019      if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") {
7020        if (it) o = it;
7021        var i = 0;
7022        return function () {
7023          if (i >= o.length) return {
7024            done: true
7025          };
7026          return {
7027            done: false,
7028            value: o[i++]
7029          };
7030        };
7031      }
7032  
7033      throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
7034    }
7035  
7036    it = o[Symbol.iterator]();
7037    return it.next.bind(it);
7038  }
7039  
7040  
7041  
7042  
7043  /***/ }),
7044  
7045  /***/ "IVEb":
7046  /***/ (function(module, __webpack_exports__, __webpack_require__) {
7047  
7048  "use strict";
7049  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return useCreateElement; });
7050  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("cDcd");
7051  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
7052  /* harmony import */ var _SystemContext_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("eUCI");
7053  /* harmony import */ var _rollupPluginBabelHelpers_0c84a174_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("RDTF");
7054  
7055  
7056  
7057  
7058  function isRenderProp(children) {
7059    return typeof children === "function";
7060  }
7061  
7062  /**
7063   * Custom hook that will call `children` if it's a function. If
7064   * `useCreateElement` has been passed to the context, it'll be used instead.
7065   *
7066   * @example
7067   * import React from "react";
7068   * import { SystemProvider, useCreateElement } from "reakit-system";
7069   *
7070   * const system = {
7071   *   useCreateElement(type, props, children = props.children) {
7072   *     // very similar to what `useCreateElement` does already
7073   *     if (typeof children === "function") {
7074   *       const { children: _, ...rest } = props;
7075   *       return children(rest);
7076   *     }
7077   *     return React.createElement(type, props, children);
7078   *   },
7079   * };
7080   *
7081   * function Component(props) {
7082   *   return useCreateElement("div", props);
7083   * }
7084   *
7085   * function App() {
7086   *   return (
7087   *     <SystemProvider unstable_system={system}>
7088   *       <Component url="url">{({ url }) => <a href={url}>link</a>}</Component>
7089   *     </SystemProvider>
7090   *   );
7091   * }
7092   */
7093  
7094  var useCreateElement = function useCreateElement(type, props, children) {
7095    if (children === void 0) {
7096      children = props.children;
7097    }
7098  
7099    var context = Object(react__WEBPACK_IMPORTED_MODULE_0__["useContext"])(_SystemContext_js__WEBPACK_IMPORTED_MODULE_1__[/* SystemContext */ "a"]);
7100  
7101    if (context.useCreateElement) {
7102      return context.useCreateElement(type, props, children);
7103    }
7104  
7105    if (typeof type === "string" && isRenderProp(children)) {
7106      var _ = props.children,
7107          rest = Object(_rollupPluginBabelHelpers_0c84a174_js__WEBPACK_IMPORTED_MODULE_2__[/* a */ "b"])(props, ["children"]);
7108  
7109      return children(rest);
7110    }
7111  
7112    return /*#__PURE__*/Object(react__WEBPACK_IMPORTED_MODULE_0__["createElement"])(type, props, children);
7113  };
7114  
7115  
7116  
7117  
7118  /***/ }),
7119  
7120  /***/ "IdCN":
7121  /***/ (function(module, exports, __webpack_require__) {
7122  
7123  "use strict";
7124  
7125  
7126  var fnToStr = Function.prototype.toString;
7127  var reflectApply = typeof Reflect === 'object' && Reflect !== null && Reflect.apply;
7128  var badArrayLike;
7129  var isCallableMarker;
7130  if (typeof reflectApply === 'function' && typeof Object.defineProperty === 'function') {
7131      try {
7132          badArrayLike = Object.defineProperty({}, 'length', {
7133              get: function () {
7134                  throw isCallableMarker;
7135              }
7136          });
7137          isCallableMarker = {};
7138          // eslint-disable-next-line no-throw-literal
7139          reflectApply(function () { throw 42; }, null, badArrayLike);
7140      } catch (_) {
7141          if (_ !== isCallableMarker) {
7142              reflectApply = null;
7143          }
7144      }
7145  } else {
7146      reflectApply = null;
7147  }
7148  
7149  var constructorRegex = /^\s*class\b/;
7150  var isES6ClassFn = function isES6ClassFunction(value) {
7151      try {
7152          var fnStr = fnToStr.call(value);
7153          return constructorRegex.test(fnStr);
7154      } catch (e) {
7155          return false; // not a function
7156      }
7157  };
7158  
7159  var tryFunctionObject = function tryFunctionToStr(value) {
7160      try {
7161          if (isES6ClassFn(value)) { return false; }
7162          fnToStr.call(value);
7163          return true;
7164      } catch (e) {
7165          return false;
7166      }
7167  };
7168  var toStr = Object.prototype.toString;
7169  var fnClass = '[object Function]';
7170  var genClass = '[object GeneratorFunction]';
7171  var hasToStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol';
7172  
7173  module.exports = reflectApply
7174      ? function isCallable(value) {
7175          if (!value) { return false; }
7176          if (typeof value !== 'function' && typeof value !== 'object') { return false; }
7177          if (typeof value === 'function' && !value.prototype) { return true; }
7178          try {
7179              reflectApply(value, null, badArrayLike);
7180          } catch (e) {
7181              if (e !== isCallableMarker) { return false; }
7182          }
7183          return !isES6ClassFn(value);
7184      }
7185      : function isCallable(value) {
7186          if (!value) { return false; }
7187          if (typeof value !== 'function' && typeof value !== 'object') { return false; }
7188          if (typeof value === 'function' && !value.prototype) { return true; }
7189          if (hasToStringTag) { return tryFunctionObject(value); }
7190          if (isES6ClassFn(value)) { return false; }
7191          var strClass = toStr.call(value);
7192          return strClass === fnClass || strClass === genClass;
7193      };
7194  
7195  
7196  /***/ }),
7197  
7198  /***/ "IgE5":
7199  /***/ (function(module, exports, __webpack_require__) {
7200  
7201  "use strict";
7202  
7203  
7204  Object.defineProperty(exports, "__esModule", {
7205    value: true
7206  });
7207  exports['default'] = isDayVisible;
7208  
7209  var _isBeforeDay = __webpack_require__("h6xH");
7210  
7211  var _isBeforeDay2 = _interopRequireDefault(_isBeforeDay);
7212  
7213  var _isAfterDay = __webpack_require__("Nho6");
7214  
7215  var _isAfterDay2 = _interopRequireDefault(_isAfterDay);
7216  
7217  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
7218  
7219  function isDayVisible(day, month, numberOfMonths, enableOutsideDays) {
7220    var firstDayOfFirstMonth = month.clone().startOf('month');
7221    if (enableOutsideDays) firstDayOfFirstMonth = firstDayOfFirstMonth.startOf('week');
7222    if ((0, _isBeforeDay2['default'])(day, firstDayOfFirstMonth)) return false;
7223  
7224    var lastDayOfLastMonth = month.clone().add(numberOfMonths - 1, 'months').endOf('month');
7225    if (enableOutsideDays) lastDayOfLastMonth = lastDayOfLastMonth.endOf('week');
7226    return !(0, _isAfterDay2['default'])(day, lastDayOfLastMonth);
7227  }
7228  
7229  /***/ }),
7230  
7231  /***/ "In1I":
7232  /***/ (function(module, exports, __webpack_require__) {
7233  
7234  "use strict";
7235  
7236  
7237  var GetIntrinsic = __webpack_require__("rZ7t");
7238  
7239  var $abs = GetIntrinsic('%Math.abs%');
7240  
7241  // http://262.ecma-international.org/5.1/#sec-5.2
7242  
7243  module.exports = function abs(x) {
7244      return $abs(x);
7245  };
7246  
7247  
7248  /***/ }),
7249  
7250  /***/ "J7JS":
7251  /***/ (function(module, exports, __webpack_require__) {
7252  
7253  "use strict";
7254  
7255  
7256  Object.defineProperty(exports, "__esModule", {
7257    value: true
7258  });
7259  
7260  var _propTypes = __webpack_require__("17x9");
7261  
7262  var _propTypes2 = _interopRequireDefault(_propTypes);
7263  
7264  var _airbnbPropTypes = __webpack_require__("Hsqg");
7265  
7266  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
7267  
7268  function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
7269  
7270  function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }
7271  
7272  exports['default'] = (0, _airbnbPropTypes.and)([_propTypes2['default'].instanceOf(Set), function () {
7273    function modifiers(props, propName) {
7274      for (var _len = arguments.length, rest = Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
7275        rest[_key - 2] = arguments[_key];
7276      }
7277  
7278      var propValue = props[propName];
7279  
7280      var firstError = void 0;
7281      [].concat(_toConsumableArray(propValue)).some(function (v, i) {
7282        var _PropTypes$string;
7283  
7284        var fakePropName = String(propName) + ': index ' + String(i);
7285        firstError = (_PropTypes$string = _propTypes2['default'].string).isRequired.apply(_PropTypes$string, [_defineProperty({}, fakePropName, v), fakePropName].concat(rest));
7286        return firstError != null;
7287      });
7288      return firstError == null ? null : firstError;
7289    }
7290  
7291    return modifiers;
7292  }()], 'Modifiers (Set of Strings)');
7293  
7294  /***/ }),
7295  
7296  /***/ "JLmN":
7297  /***/ (function(module, __webpack_exports__, __webpack_require__) {
7298  
7299  "use strict";
7300  /* unused harmony export Clickable */
7301  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return useClickable; });
7302  /* harmony import */ var _rollupPluginBabelHelpers_1f0bf8c2_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("BZp5");
7303  /* harmony import */ var reakit_system_createComponent__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("hE48");
7304  /* harmony import */ var reakit_system_createHook__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("qdes");
7305  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("cDcd");
7306  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
7307  /* harmony import */ var reakit_utils_isButton__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("71Og");
7308  /* harmony import */ var reakit_warning__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("KA1K");
7309  /* harmony import */ var reakit_utils_useLiveRef__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("eNtd");
7310  /* harmony import */ var reakit_utils_isSelfTarget__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__("k2cL");
7311  /* harmony import */ var _Tabbable_Tabbable_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__("G3V0");
7312  
7313  
7314  
7315  
7316  
7317  
7318  
7319  
7320  
7321  
7322  
7323  
7324  
7325  
7326  
7327  
7328  
7329  
7330  // Automatically generated
7331  var CLICKABLE_KEYS = ["unstable_clickOnEnter", "unstable_clickOnSpace"];
7332  
7333  function isNativeClick(event) {
7334    var element = event.currentTarget;
7335    if (!event.isTrusted) return false; // istanbul ignore next: can't test trusted events yet
7336  
7337    return Object(reakit_utils_isButton__WEBPACK_IMPORTED_MODULE_4__[/* isButton */ "a"])(element) || element.tagName === "INPUT" || element.tagName === "TEXTAREA" || element.tagName === "A" || element.tagName === "SELECT";
7338  }
7339  
7340  var useClickable = Object(reakit_system_createHook__WEBPACK_IMPORTED_MODULE_2__[/* createHook */ "a"])({
7341    name: "Clickable",
7342    compose: _Tabbable_Tabbable_js__WEBPACK_IMPORTED_MODULE_8__[/* useTabbable */ "a"],
7343    keys: CLICKABLE_KEYS,
7344    useOptions: function useOptions(_ref) {
7345      var _ref$unstable_clickOn = _ref.unstable_clickOnEnter,
7346          unstable_clickOnEnter = _ref$unstable_clickOn === void 0 ? true : _ref$unstable_clickOn,
7347          _ref$unstable_clickOn2 = _ref.unstable_clickOnSpace,
7348          unstable_clickOnSpace = _ref$unstable_clickOn2 === void 0 ? true : _ref$unstable_clickOn2,
7349          options = Object(_rollupPluginBabelHelpers_1f0bf8c2_js__WEBPACK_IMPORTED_MODULE_0__[/* _ */ "a"])(_ref, ["unstable_clickOnEnter", "unstable_clickOnSpace"]);
7350  
7351      return Object(_rollupPluginBabelHelpers_1f0bf8c2_js__WEBPACK_IMPORTED_MODULE_0__[/* a */ "b"])({
7352        unstable_clickOnEnter: unstable_clickOnEnter,
7353        unstable_clickOnSpace: unstable_clickOnSpace
7354      }, options);
7355    },
7356    useProps: function useProps(options, _ref2) {
7357      var htmlOnKeyDown = _ref2.onKeyDown,
7358          htmlOnKeyUp = _ref2.onKeyUp,
7359          htmlProps = Object(_rollupPluginBabelHelpers_1f0bf8c2_js__WEBPACK_IMPORTED_MODULE_0__[/* _ */ "a"])(_ref2, ["onKeyDown", "onKeyUp"]);
7360  
7361      var _React$useState = Object(react__WEBPACK_IMPORTED_MODULE_3__["useState"])(false),
7362          active = _React$useState[0],
7363          setActive = _React$useState[1];
7364  
7365      var onKeyDownRef = Object(reakit_utils_useLiveRef__WEBPACK_IMPORTED_MODULE_6__[/* useLiveRef */ "a"])(htmlOnKeyDown);
7366      var onKeyUpRef = Object(reakit_utils_useLiveRef__WEBPACK_IMPORTED_MODULE_6__[/* useLiveRef */ "a"])(htmlOnKeyUp);
7367      var onKeyDown = Object(react__WEBPACK_IMPORTED_MODULE_3__["useCallback"])(function (event) {
7368        var _onKeyDownRef$current;
7369  
7370        (_onKeyDownRef$current = onKeyDownRef.current) === null || _onKeyDownRef$current === void 0 ? void 0 : _onKeyDownRef$current.call(onKeyDownRef, event);
7371        if (event.defaultPrevented) return;
7372        if (options.disabled) return;
7373        if (event.metaKey) return;
7374        if (!Object(reakit_utils_isSelfTarget__WEBPACK_IMPORTED_MODULE_7__[/* isSelfTarget */ "a"])(event)) return;
7375        var isEnter = options.unstable_clickOnEnter && event.key === "Enter";
7376        var isSpace = options.unstable_clickOnSpace && event.key === " ";
7377  
7378        if (isEnter || isSpace) {
7379          if (isNativeClick(event)) return;
7380          event.preventDefault();
7381  
7382          if (isEnter) {
7383            event.currentTarget.click();
7384          } else if (isSpace) {
7385            setActive(true);
7386          }
7387        }
7388      }, [options.disabled, options.unstable_clickOnEnter, options.unstable_clickOnSpace]);
7389      var onKeyUp = Object(react__WEBPACK_IMPORTED_MODULE_3__["useCallback"])(function (event) {
7390        var _onKeyUpRef$current;
7391  
7392        (_onKeyUpRef$current = onKeyUpRef.current) === null || _onKeyUpRef$current === void 0 ? void 0 : _onKeyUpRef$current.call(onKeyUpRef, event);
7393        if (event.defaultPrevented) return;
7394        if (options.disabled) return;
7395        if (event.metaKey) return;
7396        var isSpace = options.unstable_clickOnSpace && event.key === " ";
7397  
7398        if (active && isSpace) {
7399          setActive(false);
7400          event.currentTarget.click();
7401        }
7402      }, [options.disabled, options.unstable_clickOnSpace, active]);
7403      return Object(_rollupPluginBabelHelpers_1f0bf8c2_js__WEBPACK_IMPORTED_MODULE_0__[/* a */ "b"])({
7404        "data-active": active || undefined,
7405        onKeyDown: onKeyDown,
7406        onKeyUp: onKeyUp
7407      }, htmlProps);
7408    }
7409  });
7410  var Clickable = Object(reakit_system_createComponent__WEBPACK_IMPORTED_MODULE_1__[/* createComponent */ "a"])({
7411    as: "button",
7412    memo: true,
7413    useHook: useClickable
7414  });
7415  
7416  
7417  
7418  
7419  /***/ }),
7420  
7421  /***/ "JYkG":
7422  /***/ (function(module, __webpack_exports__, __webpack_require__) {
7423  
7424  "use strict";
7425  /* WEBPACK VAR INJECTION */(function(process) {/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
7426  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
7427  /* harmony import */ var _wordpress_warning__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Z23Y");
7428  /* harmony import */ var _wordpress_warning__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_warning__WEBPACK_IMPORTED_MODULE_1__);
7429  /**
7430   * WordPress dependencies
7431   */
7432  
7433  
7434  const SlotFillContext = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createContext"])({
7435    slots: {},
7436    fills: {},
7437    registerSlot: () => {
7438      typeof process !== "undefined" && process.env && "production" !== "production" ? _wordpress_warning__WEBPACK_IMPORTED_MODULE_1___default()('Components must be wrapped within `SlotFillProvider`. ' + 'See https://developer.wordpress.org/block-editor/components/slot-fill/') : void 0;
7439    },
7440    updateSlot: () => {},
7441    unregisterSlot: () => {},
7442    registerFill: () => {},
7443    unregisterFill: () => {}
7444  });
7445  /* harmony default export */ __webpack_exports__["a"] = (SlotFillContext);
7446  
7447  /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__("8oxB")))
7448  
7449  /***/ }),
7450  
7451  /***/ "Jt44":
7452  /***/ (function(module, exports, __webpack_require__) {
7453  
7454  "use strict";
7455  
7456  
7457  // TODO: remove, semver-major
7458  
7459  module.exports = __webpack_require__("rZ7t");
7460  
7461  
7462  /***/ }),
7463  
7464  /***/ "Jx1U":
7465  /***/ (function(module, exports) {
7466  
7467  // Copyright (c) 2014 Rafael Caricio. All rights reserved.
7468  // Use of this source code is governed by a BSD-style license that can be
7469  // found in the LICENSE file.
7470  
7471  var GradientParser = {};
7472  
7473  GradientParser.parse = (function() {
7474  
7475    var tokens = {
7476      linearGradient: /^(\-(webkit|o|ms|moz)\-)?(linear\-gradient)/i,
7477      repeatingLinearGradient: /^(\-(webkit|o|ms|moz)\-)?(repeating\-linear\-gradient)/i,
7478      radialGradient: /^(\-(webkit|o|ms|moz)\-)?(radial\-gradient)/i,
7479      repeatingRadialGradient: /^(\-(webkit|o|ms|moz)\-)?(repeating\-radial\-gradient)/i,
7480      sideOrCorner: /^to (left (top|bottom)|right (top|bottom)|left|right|top|bottom)/i,
7481      extentKeywords: /^(closest\-side|closest\-corner|farthest\-side|farthest\-corner|contain|cover)/,
7482      positionKeywords: /^(left|center|right|top|bottom)/i,
7483      pixelValue: /^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))px/,
7484      percentageValue: /^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))\%/,
7485      emValue: /^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))em/,
7486      angleValue: /^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))deg/,
7487      startCall: /^\(/,
7488      endCall: /^\)/,
7489      comma: /^,/,
7490      hexColor: /^\#([0-9a-fA-F]+)/,
7491      literalColor: /^([a-zA-Z]+)/,
7492      rgbColor: /^rgb/i,
7493      rgbaColor: /^rgba/i,
7494      number: /^(([0-9]*\.[0-9]+)|([0-9]+\.?))/
7495    };
7496  
7497    var input = '';
7498  
7499    function error(msg) {
7500      var err = new Error(input + ': ' + msg);
7501      err.source = input;
7502      throw err;
7503    }
7504  
7505    function getAST() {
7506      var ast = matchListDefinitions();
7507  
7508      if (input.length > 0) {
7509        error('Invalid input not EOF');
7510      }
7511  
7512      return ast;
7513    }
7514  
7515    function matchListDefinitions() {
7516      return matchListing(matchDefinition);
7517    }
7518  
7519    function matchDefinition() {
7520      return matchGradient(
7521              'linear-gradient',
7522              tokens.linearGradient,
7523              matchLinearOrientation) ||
7524  
7525            matchGradient(
7526              'repeating-linear-gradient',
7527              tokens.repeatingLinearGradient,
7528              matchLinearOrientation) ||
7529  
7530            matchGradient(
7531              'radial-gradient',
7532              tokens.radialGradient,
7533              matchListRadialOrientations) ||
7534  
7535            matchGradient(
7536              'repeating-radial-gradient',
7537              tokens.repeatingRadialGradient,
7538              matchListRadialOrientations);
7539    }
7540  
7541    function matchGradient(gradientType, pattern, orientationMatcher) {
7542      return matchCall(pattern, function(captures) {
7543  
7544        var orientation = orientationMatcher();
7545        if (orientation) {
7546          if (!scan(tokens.comma)) {
7547            error('Missing comma before color stops');
7548          }
7549        }
7550  
7551        return {
7552          type: gradientType,
7553          orientation: orientation,
7554          colorStops: matchListing(matchColorStop)
7555        };
7556      });
7557    }
7558  
7559    function matchCall(pattern, callback) {
7560      var captures = scan(pattern);
7561  
7562      if (captures) {
7563        if (!scan(tokens.startCall)) {
7564          error('Missing (');
7565        }
7566  
7567        result = callback(captures);
7568  
7569        if (!scan(tokens.endCall)) {
7570          error('Missing )');
7571        }
7572  
7573        return result;
7574      }
7575    }
7576  
7577    function matchLinearOrientation() {
7578      return matchSideOrCorner() ||
7579        matchAngle();
7580    }
7581  
7582    function matchSideOrCorner() {
7583      return match('directional', tokens.sideOrCorner, 1);
7584    }
7585  
7586    function matchAngle() {
7587      return match('angular', tokens.angleValue, 1);
7588    }
7589  
7590    function matchListRadialOrientations() {
7591      var radialOrientations,
7592          radialOrientation = matchRadialOrientation(),
7593          lookaheadCache;
7594  
7595      if (radialOrientation) {
7596        radialOrientations = [];
7597        radialOrientations.push(radialOrientation);
7598  
7599        lookaheadCache = input;
7600        if (scan(tokens.comma)) {
7601          radialOrientation = matchRadialOrientation();
7602          if (radialOrientation) {
7603            radialOrientations.push(radialOrientation);
7604          } else {
7605            input = lookaheadCache;
7606          }
7607        }
7608      }
7609  
7610      return radialOrientations;
7611    }
7612  
7613    function matchRadialOrientation() {
7614      var radialType = matchCircle() ||
7615        matchEllipse();
7616  
7617      if (radialType) {
7618        radialType.at = matchAtPosition();
7619      } else {
7620        var defaultPosition = matchPositioning();
7621        if (defaultPosition) {
7622          radialType = {
7623            type: 'default-radial',
7624            at: defaultPosition
7625          };
7626        }
7627      }
7628  
7629      return radialType;
7630    }
7631  
7632    function matchCircle() {
7633      var circle = match('shape', /^(circle)/i, 0);
7634  
7635      if (circle) {
7636        circle.style = matchLength() || matchExtentKeyword();
7637      }
7638  
7639      return circle;
7640    }
7641  
7642    function matchEllipse() {
7643      var ellipse = match('shape', /^(ellipse)/i, 0);
7644  
7645      if (ellipse) {
7646        ellipse.style =  matchDistance() || matchExtentKeyword();
7647      }
7648  
7649      return ellipse;
7650    }
7651  
7652    function matchExtentKeyword() {
7653      return match('extent-keyword', tokens.extentKeywords, 1);
7654    }
7655  
7656    function matchAtPosition() {
7657      if (match('position', /^at/, 0)) {
7658        var positioning = matchPositioning();
7659  
7660        if (!positioning) {
7661          error('Missing positioning value');
7662        }
7663  
7664        return positioning;
7665      }
7666    }
7667  
7668    function matchPositioning() {
7669      var location = matchCoordinates();
7670  
7671      if (location.x || location.y) {
7672        return {
7673          type: 'position',
7674          value: location
7675        };
7676      }
7677    }
7678  
7679    function matchCoordinates() {
7680      return {
7681        x: matchDistance(),
7682        y: matchDistance()
7683      };
7684    }
7685  
7686    function matchListing(matcher) {
7687      var captures = matcher(),
7688        result = [];
7689  
7690      if (captures) {
7691        result.push(captures);
7692        while (scan(tokens.comma)) {
7693          captures = matcher();
7694          if (captures) {
7695            result.push(captures);
7696          } else {
7697            error('One extra comma');
7698          }
7699        }
7700      }
7701  
7702      return result;
7703    }
7704  
7705    function matchColorStop() {
7706      var color = matchColor();
7707  
7708      if (!color) {
7709        error('Expected color definition');
7710      }
7711  
7712      color.length = matchDistance();
7713      return color;
7714    }
7715  
7716    function matchColor() {
7717      return matchHexColor() ||
7718        matchRGBAColor() ||
7719        matchRGBColor() ||
7720        matchLiteralColor();
7721    }
7722  
7723    function matchLiteralColor() {
7724      return match('literal', tokens.literalColor, 0);
7725    }
7726  
7727    function matchHexColor() {
7728      return match('hex', tokens.hexColor, 1);
7729    }
7730  
7731    function matchRGBColor() {
7732      return matchCall(tokens.rgbColor, function() {
7733        return  {
7734          type: 'rgb',
7735          value: matchListing(matchNumber)
7736        };
7737      });
7738    }
7739  
7740    function matchRGBAColor() {
7741      return matchCall(tokens.rgbaColor, function() {
7742        return  {
7743          type: 'rgba',
7744          value: matchListing(matchNumber)
7745        };
7746      });
7747    }
7748  
7749    function matchNumber() {
7750      return scan(tokens.number)[1];
7751    }
7752  
7753    function matchDistance() {
7754      return match('%', tokens.percentageValue, 1) ||
7755        matchPositionKeyword() ||
7756        matchLength();
7757    }
7758  
7759    function matchPositionKeyword() {
7760      return match('position-keyword', tokens.positionKeywords, 1);
7761    }
7762  
7763    function matchLength() {
7764      return match('px', tokens.pixelValue, 1) ||
7765        match('em', tokens.emValue, 1);
7766    }
7767  
7768    function match(type, pattern, captureIndex) {
7769      var captures = scan(pattern);
7770      if (captures) {
7771        return {
7772          type: type,
7773          value: captures[captureIndex]
7774        };
7775      }
7776    }
7777  
7778    function scan(regexp) {
7779      var captures,
7780          blankCaptures;
7781  
7782      blankCaptures = /^[\n\r\t\s]+/.exec(input);
7783      if (blankCaptures) {
7784          consume(blankCaptures[0].length);
7785      }
7786  
7787      captures = regexp.exec(input);
7788      if (captures) {
7789          consume(captures[0].length);
7790      }
7791  
7792      return captures;
7793    }
7794  
7795    function consume(size) {
7796      input = input.substr(size);
7797    }
7798  
7799    return function(code) {
7800      input = code.toString();
7801      return getAST();
7802    };
7803  })();
7804  
7805  exports.parse = (GradientParser || {}).parse;
7806  
7807  
7808  /***/ }),
7809  
7810  /***/ "K+tz":
7811  /***/ (function(module, __webpack_exports__, __webpack_require__) {
7812  
7813  "use strict";
7814  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
7815  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
7816  /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
7817  /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
7818  
7819  
7820  /**
7821   * WordPress dependencies
7822   */
7823  
7824  const external = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
7825    xmlns: "http://www.w3.org/2000/svg",
7826    viewBox: "0 0 24 24"
7827  }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
7828    d: "M18.2 17c0 .7-.6 1.2-1.2 1.2H7c-.7 0-1.2-.6-1.2-1.2V7c0-.7.6-1.2 1.2-1.2h3.2V4.2H7C5.5 4.2 4.2 5.5 4.2 7v10c0 1.5 1.2 2.8 2.8 2.8h10c1.5 0 2.8-1.2 2.8-2.8v-3.6h-1.5V17zM14.9 3v1.5h3.7l-6.4 6.4 1.1 1.1 6.4-6.4v3.7h1.5V3h-6.3z"
7829  }));
7830  /* harmony default export */ __webpack_exports__["a"] = (external);
7831  
7832  
7833  /***/ }),
7834  
7835  /***/ "K9lf":
7836  /***/ (function(module, exports) {
7837  
7838  (function() { module.exports = window["wp"]["compose"]; }());
7839  
7840  /***/ }),
7841  
7842  /***/ "KA1K":
7843  /***/ (function(module, __webpack_exports__, __webpack_require__) {
7844  
7845  "use strict";
7846  
7847  // UNUSED EXPORTS: warning, useWarning
7848  
7849  // EXTERNAL MODULE: ./node_modules/reakit-warning/es/warning.js
7850  var warning = __webpack_require__("WnOg");
7851  
7852  // EXTERNAL MODULE: external "React"
7853  var external_React_ = __webpack_require__("cDcd");
7854  
7855  // EXTERNAL MODULE: ./node_modules/reakit-utils/es/isObject.js
7856  var isObject = __webpack_require__("Ptb8");
7857  
7858  // CONCATENATED MODULE: ./node_modules/reakit-warning/es/useWarning.js
7859  
7860  
7861  
7862  
7863  
7864  function isRefObject(ref) {
7865    return Object(isObject["a" /* isObject */])(ref) && "current" in ref;
7866  }
7867  /**
7868   * Logs `messages` to the console using `console.warn` based on a `condition`.
7869   * This should be used inside components.
7870   */
7871  
7872  
7873  function useWarning(condition) {
7874    for (var _len = arguments.length, messages = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
7875      messages[_key - 1] = arguments[_key];
7876    }
7877  
7878    if (false) {}
7879  }
7880  
7881  
7882  
7883  // CONCATENATED MODULE: ./node_modules/reakit-warning/es/index.js
7884  
7885  
7886  
7887  
7888  
7889  
7890  
7891  /***/ }),
7892  
7893  /***/ "KCH1":
7894  /***/ (function(module, __webpack_exports__, __webpack_require__) {
7895  
7896  "use strict";
7897  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return unstable_IdContext; });
7898  /* unused harmony export unstable_IdProvider */
7899  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("cDcd");
7900  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
7901  
7902  
7903  var defaultPrefix = "id";
7904  function generateRandomString(prefix) {
7905    if (prefix === void 0) {
7906      prefix = defaultPrefix;
7907    }
7908  
7909    return "" + (prefix ? prefix + "-" : "") + Math.random().toString(32).substr(2, 6);
7910  }
7911  
7912  var unstable_IdContext = /*#__PURE__*/Object(react__WEBPACK_IMPORTED_MODULE_0__["createContext"])(generateRandomString);
7913  function unstable_IdProvider(_ref) {
7914    var children = _ref.children,
7915        _ref$prefix = _ref.prefix,
7916        prefix = _ref$prefix === void 0 ? defaultPrefix : _ref$prefix;
7917    var count = Object(react__WEBPACK_IMPORTED_MODULE_0__["useRef"])(0);
7918    var generateId = Object(react__WEBPACK_IMPORTED_MODULE_0__["useCallback"])(function (localPrefix) {
7919      if (localPrefix === void 0) {
7920        localPrefix = prefix;
7921      }
7922  
7923      return "" + (localPrefix ? localPrefix + "-" : "") + ++count.current;
7924    }, [prefix]);
7925    return /*#__PURE__*/Object(react__WEBPACK_IMPORTED_MODULE_0__["createElement"])(unstable_IdContext.Provider, {
7926      value: generateId
7927    }, children);
7928  }
7929  
7930  
7931  
7932  
7933  /***/ }),
7934  
7935  /***/ "KfNM":
7936  /***/ (function(module, exports) {
7937  
7938  /** Used for built-in method references. */
7939  var objectProto = Object.prototype;
7940  
7941  /**
7942   * Used to resolve the
7943   * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
7944   * of values.
7945   */
7946  var nativeObjectToString = objectProto.toString;
7947  
7948  /**
7949   * Converts `value` to a string using `Object.prototype.toString`.
7950   *
7951   * @private
7952   * @param {*} value The value to convert.
7953   * @returns {string} Returns the converted string.
7954   */
7955  function objectToString(value) {
7956    return nativeObjectToString.call(value);
7957  }
7958  
7959  module.exports = objectToString;
7960  
7961  
7962  /***/ }),
7963  
7964  /***/ "Koq/":
7965  /***/ (function(module, exports, __webpack_require__) {
7966  
7967  "use strict";
7968  
7969  
7970  var defineProperties = __webpack_require__("82c2");
7971  var callBind = __webpack_require__("PrET");
7972  
7973  var implementation = __webpack_require__("FufO");
7974  var getPolyfill = __webpack_require__("yLpt");
7975  var shim = __webpack_require__("8R9v");
7976  
7977  var polyfill = callBind.apply(getPolyfill());
7978  // eslint-disable-next-line no-unused-vars
7979  var bound = function assign(target, source1) {
7980      return polyfill(Object, arguments);
7981  };
7982  
7983  defineProperties(bound, {
7984      getPolyfill: getPolyfill,
7985      implementation: implementation,
7986      shim: shim
7987  });
7988  
7989  module.exports = bound;
7990  
7991  
7992  /***/ }),
7993  
7994  /***/ "Kz5y":
7995  /***/ (function(module, exports, __webpack_require__) {
7996  
7997  var freeGlobal = __webpack_require__("WFqU");
7998  
7999  /** Detect free variable `self`. */
8000  var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
8001  
8002  /** Used as a reference to the global object. */
8003  var root = freeGlobal || freeSelf || Function('return this')();
8004  
8005  module.exports = root;
8006  
8007  
8008  /***/ }),
8009  
8010  /***/ "L7Wv":
8011  /***/ (function(module, exports, __webpack_require__) {
8012  
8013  "use strict";
8014  
8015  
8016  var toPrimitive = __webpack_require__("WZeS");
8017  
8018  // https://ecma-international.org/ecma-262/6.0/#sec-toprimitive
8019  
8020  module.exports = function ToPrimitive(input) {
8021      if (arguments.length > 1) {
8022          return toPrimitive(input, arguments[1]);
8023      }
8024      return toPrimitive(input);
8025  };
8026  
8027  
8028  /***/ }),
8029  
8030  /***/ "L8Kx":
8031  /***/ (function(module, __webpack_exports__, __webpack_require__) {
8032  
8033  "use strict";
8034  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return getAnimateClassName; });
8035  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return Animate; });
8036  /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("TSYQ");
8037  /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_0__);
8038  /**
8039   * External dependencies
8040   */
8041  
8042  /**
8043   * @typedef {'top' | 'top left' | 'top right' | 'middle' | 'middle left' | 'middle right' | 'bottom' | 'bottom left' | 'bottom right'} AppearOrigin
8044   * @typedef {'left' | 'right'} SlideInOrigin
8045   * @typedef {{ type: 'appear'; origin?: AppearOrigin }} AppearOptions
8046   * @typedef {{ type: 'slide-in'; origin?: SlideInOrigin }} SlideInOptions
8047   * @typedef {{ type: 'loading'; }} LoadingOptions
8048   * @typedef {AppearOptions | SlideInOptions | LoadingOptions} GetAnimateOptions
8049   */
8050  
8051  /* eslint-disable jsdoc/valid-types */
8052  
8053  /**
8054   * @param {GetAnimateOptions['type']} type The animation type
8055   * @return {'top' | 'left'} Default origin
8056   */
8057  
8058  function getDefaultOrigin(type) {
8059    return type === 'appear' ? 'top' : 'left';
8060  }
8061  /* eslint-enable jsdoc/valid-types */
8062  
8063  /**
8064   * @param {GetAnimateOptions} options
8065   *
8066   * @return {string | void} ClassName that applies the animations
8067   */
8068  
8069  
8070  function getAnimateClassName(options) {
8071    if (options.type === 'loading') {
8072      return classnames__WEBPACK_IMPORTED_MODULE_0___default()('components-animate__loading');
8073    }
8074  
8075    const {
8076      type,
8077      origin = getDefaultOrigin(type)
8078    } = options;
8079  
8080    if (type === 'appear') {
8081      const [yAxis, xAxis = 'center'] = origin.split(' ');
8082      return classnames__WEBPACK_IMPORTED_MODULE_0___default()('components-animate__appear', {
8083        ['is-from-' + xAxis]: xAxis !== 'center',
8084        ['is-from-' + yAxis]: yAxis !== 'middle'
8085      });
8086    }
8087  
8088    if (type === 'slide-in') {
8089      return classnames__WEBPACK_IMPORTED_MODULE_0___default()('components-animate__slide-in', 'is-from-' + origin);
8090    }
8091  } // @ts-ignore Reason: Planned for deprecation
8092  
8093  function Animate({
8094    type,
8095    options = {},
8096    children
8097  }) {
8098    return children({
8099      className: getAnimateClassName({
8100        type,
8101        ...options
8102      })
8103    });
8104  }
8105  
8106  
8107  /***/ }),
8108  
8109  /***/ "LTAC":
8110  /***/ (function(module, exports) {
8111  
8112  Object.defineProperty(exports, "__esModule", {
8113    value: true
8114  });
8115  exports['default'] = isTouchDevice;
8116  function isTouchDevice() {
8117    return !!(typeof window !== 'undefined' && ('ontouchstart' in window || window.DocumentTouch && typeof document !== 'undefined' && document instanceof window.DocumentTouch)) || !!(typeof navigator !== 'undefined' && (navigator.maxTouchPoints || navigator.msMaxTouchPoints));
8118  }
8119  module.exports = exports['default'];
8120  
8121  /***/ }),
8122  
8123  /***/ "Lxf3":
8124  /***/ (function(module, exports, __webpack_require__) {
8125  
8126  "use strict";
8127  
8128  
8129  var toStr = Object.prototype.toString;
8130  
8131  var isPrimitive = __webpack_require__("Teho");
8132  
8133  var isCallable = __webpack_require__("IdCN");
8134  
8135  // http://ecma-international.org/ecma-262/5.1/#sec-8.12.8
8136  var ES5internalSlots = {
8137      '[[DefaultValue]]': function (O) {
8138          var actualHint;
8139          if (arguments.length > 1) {
8140              actualHint = arguments[1];
8141          } else {
8142              actualHint = toStr.call(O) === '[object Date]' ? String : Number;
8143          }
8144  
8145          if (actualHint === String || actualHint === Number) {
8146              var methods = actualHint === String ? ['toString', 'valueOf'] : ['valueOf', 'toString'];
8147              var value, i;
8148              for (i = 0; i < methods.length; ++i) {
8149                  if (isCallable(O[methods[i]])) {
8150                      value = O[methods[i]]();
8151                      if (isPrimitive(value)) {
8152                          return value;
8153                      }
8154                  }
8155              }
8156              throw new TypeError('No default value');
8157          }
8158          throw new TypeError('invalid [[DefaultValue]] hint supplied');
8159      }
8160  };
8161  
8162  // http://ecma-international.org/ecma-262/5.1/#sec-9.1
8163  module.exports = function ToPrimitive(input) {
8164      if (isPrimitive(input)) {
8165          return input;
8166      }
8167      if (arguments.length > 1) {
8168          return ES5internalSlots['[[DefaultValue]]'](input, arguments[1]);
8169      }
8170      return ES5internalSlots['[[DefaultValue]]'](input);
8171  };
8172  
8173  
8174  /***/ }),
8175  
8176  /***/ "MiSq":
8177  /***/ (function(module, __webpack_exports__, __webpack_require__) {
8178  
8179  "use strict";
8180  
8181  // EXPORTS
8182  __webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */ serialize_browser_esm_serializeStyles; });
8183  
8184  // CONCATENATED MODULE: ./node_modules/@emotion/hash/dist/hash.browser.esm.js
8185  /* eslint-disable */
8186  // Inspired by https://github.com/garycourt/murmurhash-js
8187  // Ported from https://github.com/aappleby/smhasher/blob/61a0530f28277f2e850bfc39600ce61d02b518de/src/MurmurHash2.cpp#L37-L86
8188  function murmur2(str) {
8189    // 'm' and 'r' are mixing constants generated offline.
8190    // They're not really 'magic', they just happen to work well.
8191    // const m = 0x5bd1e995;
8192    // const r = 24;
8193    // Initialize the hash
8194    var h = 0; // Mix 4 bytes at a time into the hash
8195  
8196    var k,
8197        i = 0,
8198        len = str.length;
8199  
8200    for (; len >= 4; ++i, len -= 4) {
8201      k = str.charCodeAt(i) & 0xff | (str.charCodeAt(++i) & 0xff) << 8 | (str.charCodeAt(++i) & 0xff) << 16 | (str.charCodeAt(++i) & 0xff) << 24;
8202      k =
8203      /* Math.imul(k, m): */
8204      (k & 0xffff) * 0x5bd1e995 + ((k >>> 16) * 0xe995 << 16);
8205      k ^=
8206      /* k >>> r: */
8207      k >>> 24;
8208      h =
8209      /* Math.imul(k, m): */
8210      (k & 0xffff) * 0x5bd1e995 + ((k >>> 16) * 0xe995 << 16) ^
8211      /* Math.imul(h, m): */
8212      (h & 0xffff) * 0x5bd1e995 + ((h >>> 16) * 0xe995 << 16);
8213    } // Handle the last few bytes of the input array
8214  
8215  
8216    switch (len) {
8217      case 3:
8218        h ^= (str.charCodeAt(i + 2) & 0xff) << 16;
8219  
8220      case 2:
8221        h ^= (str.charCodeAt(i + 1) & 0xff) << 8;
8222  
8223      case 1:
8224        h ^= str.charCodeAt(i) & 0xff;
8225        h =
8226        /* Math.imul(h, m): */
8227        (h & 0xffff) * 0x5bd1e995 + ((h >>> 16) * 0xe995 << 16);
8228    } // Do a few final mixes of the hash to ensure the last few
8229    // bytes are well-incorporated.
8230  
8231  
8232    h ^= h >>> 13;
8233    h =
8234    /* Math.imul(h, m): */
8235    (h & 0xffff) * 0x5bd1e995 + ((h >>> 16) * 0xe995 << 16);
8236    return ((h ^ h >>> 15) >>> 0).toString(36);
8237  }
8238  
8239  /* harmony default export */ var hash_browser_esm = (murmur2);
8240  
8241  // CONCATENATED MODULE: ./node_modules/@emotion/unitless/dist/unitless.browser.esm.js
8242  var unitlessKeys = {
8243    animationIterationCount: 1,
8244    borderImageOutset: 1,
8245    borderImageSlice: 1,
8246    borderImageWidth: 1,
8247    boxFlex: 1,
8248    boxFlexGroup: 1,
8249    boxOrdinalGroup: 1,
8250    columnCount: 1,
8251    columns: 1,
8252    flex: 1,
8253    flexGrow: 1,
8254    flexPositive: 1,
8255    flexShrink: 1,
8256    flexNegative: 1,
8257    flexOrder: 1,
8258    gridRow: 1,
8259    gridRowEnd: 1,
8260    gridRowSpan: 1,
8261    gridRowStart: 1,
8262    gridColumn: 1,
8263    gridColumnEnd: 1,
8264    gridColumnSpan: 1,
8265    gridColumnStart: 1,
8266    msGridRow: 1,
8267    msGridRowSpan: 1,
8268    msGridColumn: 1,
8269    msGridColumnSpan: 1,
8270    fontWeight: 1,
8271    lineHeight: 1,
8272    opacity: 1,
8273    order: 1,
8274    orphans: 1,
8275    tabSize: 1,
8276    widows: 1,
8277    zIndex: 1,
8278    zoom: 1,
8279    WebkitLineClamp: 1,
8280    // SVG-related properties
8281    fillOpacity: 1,
8282    floodOpacity: 1,
8283    stopOpacity: 1,
8284    strokeDasharray: 1,
8285    strokeDashoffset: 1,
8286    strokeMiterlimit: 1,
8287    strokeOpacity: 1,
8288    strokeWidth: 1
8289  };
8290  
8291  /* harmony default export */ var unitless_browser_esm = (unitlessKeys);
8292  
8293  // EXTERNAL MODULE: ./node_modules/@emotion/memoize/dist/memoize.browser.esm.js
8294  var memoize_browser_esm = __webpack_require__("4qRI");
8295  
8296  // CONCATENATED MODULE: ./node_modules/@emotion/serialize/dist/serialize.browser.esm.js
8297  
8298  
8299  
8300  
8301  var ILLEGAL_ESCAPE_SEQUENCE_ERROR = "You have illegal escape sequence in your template literal, most likely inside content's property value.\nBecause you write your CSS inside a JavaScript string you actually have to do double escaping, so for example \"content: '\\00d7';\" should become \"content: '\\\\00d7';\".\nYou can read more about this here:\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences";
8302  var UNDEFINED_AS_OBJECT_KEY_ERROR = "You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).";
8303  var hyphenateRegex = /[A-Z]|^ms/g;
8304  var animationRegex = /_EMO_([^_]+?)_([^]*?)_EMO_/g;
8305  
8306  var isCustomProperty = function isCustomProperty(property) {
8307    return property.charCodeAt(1) === 45;
8308  };
8309  
8310  var isProcessableValue = function isProcessableValue(value) {
8311    return value != null && typeof value !== 'boolean';
8312  };
8313  
8314  var processStyleName = Object(memoize_browser_esm["a" /* default */])(function (styleName) {
8315    return isCustomProperty(styleName) ? styleName : styleName.replace(hyphenateRegex, '-$&').toLowerCase();
8316  });
8317  
8318  var serialize_browser_esm_processStyleValue = function processStyleValue(key, value) {
8319    switch (key) {
8320      case 'animation':
8321      case 'animationName':
8322        {
8323          if (typeof value === 'string') {
8324            return value.replace(animationRegex, function (match, p1, p2) {
8325              cursor = {
8326                name: p1,
8327                styles: p2,
8328                next: cursor
8329              };
8330              return p1;
8331            });
8332          }
8333        }
8334    }
8335  
8336    if (unitless_browser_esm[key] !== 1 && !isCustomProperty(key) && typeof value === 'number' && value !== 0) {
8337      return value + 'px';
8338    }
8339  
8340    return value;
8341  };
8342  
8343  if (false) { var hyphenatedCache, hyphenPattern, msPattern, oldProcessStyleValue, contentValues, contentValuePattern; }
8344  
8345  var shouldWarnAboutInterpolatingClassNameFromCss = true;
8346  
8347  function handleInterpolation(mergedProps, registered, interpolation, couldBeSelectorInterpolation) {
8348    if (interpolation == null) {
8349      return '';
8350    }
8351  
8352    if (interpolation.__emotion_styles !== undefined) {
8353      if (false) {}
8354  
8355      return interpolation;
8356    }
8357  
8358    switch (typeof interpolation) {
8359      case 'boolean':
8360        {
8361          return '';
8362        }
8363  
8364      case 'object':
8365        {
8366          if (interpolation.anim === 1) {
8367            cursor = {
8368              name: interpolation.name,
8369              styles: interpolation.styles,
8370              next: cursor
8371            };
8372            return interpolation.name;
8373          }
8374  
8375          if (interpolation.styles !== undefined) {
8376            var next = interpolation.next;
8377  
8378            if (next !== undefined) {
8379              // not the most efficient thing ever but this is a pretty rare case
8380              // and there will be very few iterations of this generally
8381              while (next !== undefined) {
8382                cursor = {
8383                  name: next.name,
8384                  styles: next.styles,
8385                  next: cursor
8386                };
8387                next = next.next;
8388              }
8389            }
8390  
8391            var styles = interpolation.styles + ";";
8392  
8393            if (false) {}
8394  
8395            return styles;
8396          }
8397  
8398          return createStringFromObject(mergedProps, registered, interpolation);
8399        }
8400  
8401      case 'function':
8402        {
8403          if (mergedProps !== undefined) {
8404            var previousCursor = cursor;
8405            var result = interpolation(mergedProps);
8406            cursor = previousCursor;
8407            return handleInterpolation(mergedProps, registered, result, couldBeSelectorInterpolation);
8408          } else if (false) {}
8409  
8410          break;
8411        }
8412  
8413      case 'string':
8414        if (false) { var replaced, matched; }
8415  
8416        break;
8417    } // finalize string values (regular strings and functions interpolated into css calls)
8418  
8419  
8420    if (registered == null) {
8421      return interpolation;
8422    }
8423  
8424    var cached = registered[interpolation];
8425  
8426    if (false) {}
8427  
8428    return cached !== undefined && !couldBeSelectorInterpolation ? cached : interpolation;
8429  }
8430  
8431  function createStringFromObject(mergedProps, registered, obj) {
8432    var string = '';
8433  
8434    if (Array.isArray(obj)) {
8435      for (var i = 0; i < obj.length; i++) {
8436        string += handleInterpolation(mergedProps, registered, obj[i], false);
8437      }
8438    } else {
8439      for (var _key in obj) {
8440        var value = obj[_key];
8441  
8442        if (typeof value !== 'object') {
8443          if (registered != null && registered[value] !== undefined) {
8444            string += _key + "{" + registered[value] + "}";
8445          } else if (isProcessableValue(value)) {
8446            string += processStyleName(_key) + ":" + serialize_browser_esm_processStyleValue(_key, value) + ";";
8447          }
8448        } else {
8449          if (_key === 'NO_COMPONENT_SELECTOR' && "production" !== 'production') {
8450            throw new Error('Component selectors can only be used in conjunction with babel-plugin-emotion.');
8451          }
8452  
8453          if (Array.isArray(value) && typeof value[0] === 'string' && (registered == null || registered[value[0]] === undefined)) {
8454            for (var _i = 0; _i < value.length; _i++) {
8455              if (isProcessableValue(value[_i])) {
8456                string += processStyleName(_key) + ":" + serialize_browser_esm_processStyleValue(_key, value[_i]) + ";";
8457              }
8458            }
8459          } else {
8460            var interpolated = handleInterpolation(mergedProps, registered, value, false);
8461  
8462            switch (_key) {
8463              case 'animation':
8464              case 'animationName':
8465                {
8466                  string += processStyleName(_key) + ":" + interpolated + ";";
8467                  break;
8468                }
8469  
8470              default:
8471                {
8472                  if (false) {}
8473  
8474                  string += _key + "{" + interpolated + "}";
8475                }
8476            }
8477          }
8478        }
8479      }
8480    }
8481  
8482    return string;
8483  }
8484  
8485  var labelPattern = /label:\s*([^\s;\n{]+)\s*;/g;
8486  var sourceMapPattern;
8487  
8488  if (false) {} // this is the cursor for keyframes
8489  // keyframes are stored on the SerializedStyles object as a linked list
8490  
8491  
8492  var cursor;
8493  var serialize_browser_esm_serializeStyles = function serializeStyles(args, registered, mergedProps) {
8494    if (args.length === 1 && typeof args[0] === 'object' && args[0] !== null && args[0].styles !== undefined) {
8495      return args[0];
8496    }
8497  
8498    var stringMode = true;
8499    var styles = '';
8500    cursor = undefined;
8501    var strings = args[0];
8502  
8503    if (strings == null || strings.raw === undefined) {
8504      stringMode = false;
8505      styles += handleInterpolation(mergedProps, registered, strings, false);
8506    } else {
8507      if (false) {}
8508  
8509      styles += strings[0];
8510    } // we start at 1 since we've already handled the first arg
8511  
8512  
8513    for (var i = 1; i < args.length; i++) {
8514      styles += handleInterpolation(mergedProps, registered, args[i], styles.charCodeAt(styles.length - 1) === 46);
8515  
8516      if (stringMode) {
8517        if (false) {}
8518  
8519        styles += strings[i];
8520      }
8521    }
8522  
8523    var sourceMap;
8524  
8525    if (false) {} // using a global regex with .exec is stateful so lastIndex has to be reset each time
8526  
8527  
8528    labelPattern.lastIndex = 0;
8529    var identifierName = '';
8530    var match; // https://esbench.com/bench/5b809c2cf2949800a0f61fb5
8531  
8532    while ((match = labelPattern.exec(styles)) !== null) {
8533      identifierName += '-' + // $FlowFixMe we know it's not null
8534      match[1];
8535    }
8536  
8537    var name = hash_browser_esm(styles) + identifierName;
8538  
8539    if (false) {}
8540  
8541    return {
8542      name: name,
8543      styles: styles,
8544      next: cursor
8545    };
8546  };
8547  
8548  
8549  
8550  
8551  /***/ }),
8552  
8553  /***/ "Mih7":
8554  /***/ (function(module, __webpack_exports__, __webpack_require__) {
8555  
8556  "use strict";
8557  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return hasUserFocus; });
8558  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return setUserFocus; });
8559  /* harmony export (binding) */ __webpack_require__.