Gutenberg Blocks and Template Library by Otter - Version 1.3.0

Version Description

  • 2019-11-05
Download this release

Release Info

Developer themeisle
Plugin Icon wp plugin Gutenberg Blocks and Template Library by Otter
Version 1.3.0
Comparing to
See all releases

Code changes from version 1.2.5 to 1.3.0

Files changed (79) hide show
  1. CHANGELOG.md +15 -0
  2. build/build.css +2 -2
  3. build/build.js +8 -20
  4. otter-blocks.php +12 -2
  5. readme.md +16 -0
  6. readme.txt +16 -0
  7. vendor/autoload.php +1 -1
  8. vendor/codeinwp/gutenberg-animation/build/animate.js +1 -0
  9. vendor/codeinwp/gutenberg-animation/build/build.js +1 -1
  10. vendor/codeinwp/gutenberg-animation/class-gutenberg-animation.php +132 -133
  11. vendor/codeinwp/gutenberg-animation/load.php +1 -1
  12. vendor/codeinwp/gutenberg-animation/src/data.js +184 -21
  13. vendor/codeinwp/gutenberg-animation/src/editor.js +28 -11
  14. vendor/codeinwp/gutenberg-animation/{assets/js/animate.js → src/frontend.js} +88 -12
  15. vendor/codeinwp/gutenberg-animation/src/index.js +2 -1
  16. vendor/codeinwp/gutenberg-animation/webpack.config.js +18 -2
  17. vendor/codeinwp/gutenberg-blocks/assets/icons/map-aubergine.png +0 -0
  18. vendor/codeinwp/gutenberg-blocks/assets/icons/map-dark.png +0 -0
  19. vendor/codeinwp/gutenberg-blocks/assets/icons/map-night.png +0 -0
  20. vendor/codeinwp/gutenberg-blocks/assets/icons/map-retro.png +0 -0
  21. vendor/codeinwp/gutenberg-blocks/assets/icons/map-silver.png +0 -0
  22. vendor/codeinwp/gutenberg-blocks/assets/icons/map-standard.png +0 -0
  23. vendor/codeinwp/gutenberg-blocks/autoloader.php +146 -0
  24. vendor/codeinwp/gutenberg-blocks/build/blocks.js +1 -1
  25. vendor/codeinwp/gutenberg-blocks/build/chunk-1.js +1 -0
  26. vendor/codeinwp/gutenberg-blocks/build/chunk-vendor.js +6 -0
  27. vendor/codeinwp/gutenberg-blocks/build/edit-blocks.css +18 -16
  28. vendor/codeinwp/gutenberg-blocks/build/frontend.js +1 -1
  29. vendor/codeinwp/gutenberg-blocks/build/style.css +3 -3
  30. vendor/codeinwp/gutenberg-blocks/build/vendor.js +0 -12
  31. vendor/codeinwp/gutenberg-blocks/class-gutenberg-blocks.php +0 -1135
  32. vendor/codeinwp/gutenberg-blocks/{class-base-block.php → inc/class-base-block.php} +4 -4
  33. vendor/codeinwp/gutenberg-blocks/inc/class-base-css.php +304 -0
  34. vendor/codeinwp/gutenberg-blocks/inc/class-gutenberg-blocks.php +357 -0
  35. vendor/codeinwp/gutenberg-blocks/inc/css/blocks/class-advanced-column-css.php +163 -0
  36. vendor/codeinwp/gutenberg-blocks/inc/css/blocks/class-advanced-columns-css.php +211 -0
  37. vendor/codeinwp/gutenberg-blocks/inc/css/blocks/class-advanced-heading-css.php +159 -0
  38. vendor/codeinwp/gutenberg-blocks/inc/css/blocks/class-button-group-css.php +99 -0
  39. vendor/codeinwp/gutenberg-blocks/inc/css/blocks/class-font-awesome-icons-css.php +66 -0
  40. vendor/codeinwp/gutenberg-blocks/inc/css/class-block-frontend.php +433 -0
  41. vendor/codeinwp/gutenberg-blocks/inc/css/class-css-handler.php +322 -0
  42. vendor/codeinwp/gutenberg-blocks/{src/plugins/options → inc/plugins}/class-options-settings.php +13 -1
  43. vendor/codeinwp/gutenberg-blocks/{src/blocks/about-author → inc/render}/class-about-author-block.php +7 -5
  44. vendor/codeinwp/gutenberg-blocks/{src/blocks/deprecated/chart → inc/render}/class-chart-pie-block.php +7 -4
  45. vendor/codeinwp/gutenberg-blocks/{src/blocks/google-map → inc/render}/class-google-map-block.php +11 -4
  46. vendor/codeinwp/gutenberg-blocks/{src/blocks/plugin-card → inc/render}/class-plugin-card-block.php +10 -7
  47. vendor/codeinwp/gutenberg-blocks/{src/blocks/posts → inc/render}/class-posts-grid-block.php +48 -21
  48. vendor/codeinwp/gutenberg-blocks/{src/blocks/sharing-icons → inc/render}/class-sharing-icons-block.php +6 -4
  49. vendor/codeinwp/gutenberg-blocks/{src/blocks/plugin-card → inc/server}/class-plugin-card-server.php +2 -2
  50. vendor/codeinwp/gutenberg-blocks/{src/blocks/section/class-advanced-columns-server.php → inc/server/class-template-library-server.php} +7 -7
  51. vendor/codeinwp/gutenberg-blocks/load.php +8 -2
  52. vendor/codeinwp/gutenberg-blocks/src/frontend/google-map/loader.js +7 -1
  53. vendor/codeinwp/gutenberg-blocks/src/frontend/google-map/styles.js +960 -0
  54. vendor/codeinwp/gutenberg-blocks/webpack.config.js +15 -9
  55. vendor/codeinwp/gutenberg-css/build/build.css +1 -1
  56. vendor/codeinwp/gutenberg-css/build/build.js +1 -1
  57. vendor/codeinwp/gutenberg-css/load.php +1 -1
  58. vendor/codeinwp/themeisle-sdk/CHANGELOG.md +17 -0
  59. vendor/codeinwp/themeisle-sdk/load.php +1 -1
  60. vendor/codeinwp/themeisle-sdk/src/Modules/Dashboard_widget.php +3 -1
  61. vendor/codeinwp/themeisle-sdk/src/Modules/Licenser.php +55 -14
  62. vendor/codeinwp/themeisle-sdk/src/Modules/Notification.php +3 -0
  63. vendor/codeinwp/themeisle-sdk/src/Modules/Uninstall_feedback.php +5 -0
  64. vendor/composer/autoload_psr4.php +1 -0
  65. vendor/composer/autoload_real.php +5 -5
  66. vendor/composer/installed.json +74 -16
  67. vendor/tubalmartin/cssmin/README.md +461 -0
  68. vendor/tubalmartin/cssmin/cssmin +37 -0
  69. vendor/tubalmartin/cssmin/gui/index.php +209 -0
  70. vendor/tubalmartin/cssmin/gui/scripts.js +104 -0
  71. vendor/tubalmartin/cssmin/gui/styles.css +68 -0
  72. vendor/tubalmartin/cssmin/gui/third-party/bootstrap/css/bootstrap.min.css +339 -0
  73. vendor/tubalmartin/cssmin/gui/third-party/bootstrap/js/bootstrap.min.js +7 -0
  74. vendor/tubalmartin/cssmin/gui/third-party/jquery-1.12.4.min.js +5 -0
  75. vendor/tubalmartin/cssmin/gui/third-party/less-1.7.5.min.js +16 -0
  76. vendor/tubalmartin/cssmin/src/Colors.php +155 -0
  77. vendor/tubalmartin/cssmin/src/Command.php +223 -0
  78. vendor/tubalmartin/cssmin/src/Minifier.php +895 -0
  79. vendor/tubalmartin/cssmin/src/Utils.php +149 -0
CHANGELOG.md CHANGED
@@ -1,4 +1,19 @@
1
2
### v1.2.5 - 2019-09-10
3
**Changes:**
4
* Fix AMP compatibility errors.
1
2
+ ### v1.3.0 - 2019-11-05
3
+ **Changes:**
4
+ * Lazy load Font Awesome Picker to improve load time.
5
+ * Fixed link fetching in WP 5.0
6
+ * Added Style Switcher to Block Controls
7
+ * Added Map Styles to Google Map Block
8
+ * Improved CSS handling for blocks
9
+ * Added block navigator to Section block
10
+ * Added inserter to Button Group
11
+ * Fixed Marker Modal closing on search
12
+ * Fixed sizing control focus
13
+ * Fixed post excerpt now showing in Posts Grid
14
+ * Added meta control options to Posts Block
15
+ * Added improved Gradient Picker control
16
+
17
### v1.2.5 - 2019-09-10
18
**Changes:**
19
* Fix AMP compatibility errors.
build/build.css CHANGED
@@ -1,4 +1,4 @@
1
- *{box-sizing:inherit}.settings_page_otter{background:#f6f6f6;font-size:14px;position:relative;box-sizing:border-box;font-family:Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif}#wpcontent{padding-left:0}.auto-fold #wpcontent{padding-left:0}#otter .otter-header{padding:20px 10px;background-color:#ffffff;box-shadow:0 1px 0 rgba(213,213,213,0.5),0 1px 2px #eee}#otter .otter-header.onboarding .otter-container .otter-logo{justify-content:center}#otter .otter-header .otter-container{margin:0 auto;max-width:100%;max-width:750px}#otter .otter-header .otter-container .otter-logo{display:flex;align-items:center}#otter .otter-header .otter-container .otter-logo img{max-width:200px}#otter .otter-header .otter-container .otter-logo .version{background-color:#e5e5e5;border-radius:3px;font-size:0.8em;font-weight:400;margin-left:10px;padding:2px 7px}#otter .otter-main{margin-left:auto;margin-right:auto;max-width:750px}#otter .otter-main .components-panel__body{margin:25px 0;background:#fff;border:1px solid #e2e4e7}#otter .otter-main .components-panel__body .components-panel__body-toggle{border-bottom:1px solid #d6e2ed}#otter .otter-main .components-panel__body .components-panel__row{padding:20px 10px 10px;margin:0}#otter .otter-main .components-panel__body .components-panel__row .components-base-control .components-base-control__field{display:flex;align-items:center;margin-bottom:10px}#otter .otter-main .components-panel__body .components-panel__row .components-base-control.otter-text-field{width:100%}#otter .otter-main .components-panel__body .components-panel__row .components-base-control.otter-text-field .components-base-control__field{display:block}#otter .otter-main .components-panel__body .components-panel__row .components-base-control.otter-text-field .components-base-control__field label{font-weight:600;margin-bottom:10px}#otter .otter-main .components-panel__body .components-panel__row .components-base-control.otter-text-field .components-base-control__field input{border:1px solid #b7c9d9;border-radius:3px;font-size:14px;padding:9px 15px;width:100%;box-shadow:none;height:40px;margin:0 0 10px 0;color:#444}#otter .otter-main .components-panel__body .components-panel__row .components-base-control.otter-text-field .components-base-control__field input:disabled{background:#f6f6f6;border-color:#eeeeee;color:#bbbbbb}#otter .otter-main .components-panel__body .components-panel__row .components-base-control.otter-text-field .components-base-control__field input:focus{border-color:#00a0d2;box-shadow:0 0 0 1px #00a0d2;outline:2px solid transparent;outline-offset:-2px}#otter .otter-main .components-panel__body .components-panel__row .components-base-control.otter-text-field .components-base-control__field .otter-text-field-button-group{display:flex;align-items:center;margin:2px 0 15px}#otter .otter-main .components-panel__body .components-panel__row .components-base-control.otter-text-field .components-base-control__field .otter-text-field-button-group .is-primary{padding:2px 20px;height:auto;font-size:14px;margin-right:10px}#otter .otter-main .components-panel__body .otter-info{padding:0 10px 10px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAU4AAAFeCAYAAADqhfbyAAAgAElEQVR4nO2deXgU553nf31Iat1CCCEDAnFjxGmDYkNshK84kzAm9kwSJtkJfjwzfibJZMhsZtYzu/sY7x+7efZ5ZofM7G6eZCcTPBMPdg4HjHEcB3PZHBY2IIw4xCUhJITQ1TpbUqt7n1+pClr9VldXdVV1v2/V7/M8/QBvNVJVH9/63S8QBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQB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qiEnmFapHLqL0cyqIqKevuAcTyjkZ56QBDcI57h/pD2an38impv398Vf+faHzBMSIHsRVepHJZpIIK2DhNMgbhFOuwnu+seveEZCX/X0BWu9vb26pl44UzjHw5EsX2s0J+vtwhf++tvMYYJLSDgNQsJpD8F/37HNMxza7BnsX+kdGChWc+uFF0787HijIxG/t52EUmxIOA1CwpkeJIt0bPRJz8jIgzA8VIVi2tY/qvtzkWnhjAYC4WggMAC5BZc84GuNZmXtKtz63V8yTySEhITTICScmeP2v//T+kjnnS2RkdFHIRIpCg8Nz/R4PJ6RkTGm1iktwun3RyIFBX3g9fZHc/OvQZb/StTvP1f8R9toz3CHQ8JpEBJOfrn94//+SiQUmgo+f25+IHv+vRONlnsGB+4zdOI+fygayL0U8zPaorm5dfg37+DggcI//c9nmf9DuAZehZMgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgXA9BEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEHYDAP8foCS4yIPsF/8AAAAASUVORK5CYII=);background-size:100px;background-repeat:no-repeat;background-position:bottom right}#otter .otter-main .components-panel__body .otter-info h2{font-weight:300;margin-bottom:10px}#otter .otter-main .components-panel__body .otter-info p{margin:0 0 1.5em 0}#otter .otter-main .components-panel__body .otter-info .otter-info-button-group{display:flex}#otter .otter-main .components-panel__body .otter-info .otter-info-button-group .is-default{padding:2px 20px;height:auto;font-size:14px}#otter .otter-main .components-panel__body .otter-info .otter-info-button-group .is-default:first-child{margin-right:15px}#otter .otter-footer{text-align:center;color:#72777c;font-style:italic;border-top:1px #e1e1e1 solid;border-bottom:1px #e1e1e1 solid;padding:20px;margin:2rem 0 1.5rem}#otter .otter-footer .otter-container{margin:0 auto}#otter .components-placeholder{background:#f6f6f6;margin-top:25vh;margin-bottom:25vh}.otter-onboarding-modal{max-width:350px}.otter-onboarding-modal .components-modal__header{text-align:center}.otter-onboarding-modal .components-modal__header h1{width:100%}.otter-onboarding-modal .otter-onboarding-modal-content{text-align:center;margin:10px 0 15px}.otter-onboarding-modal .otter-onboarding-modal-action{text-align:center;margin:10px 0}.otter-onboarding-modal .otter-onboarding-modal-action .components-button{padding:2px 20px;height:auto;font-size:14px;margin-right:10px}.components-modal__screen-overlay{background-color:rgba(0,0,0,0.5)}.react-joyride__tooltip{font-size:13px !important}.react-joyride__tooltip>div{text-align:left !important}.react-joyride__tooltip div:nth-of-type(2){margin-top:5px !important}.react-joyride__tooltip button{text-decoration:underline}.react-joyride__beacon span:first-child{background-color:#00739c !important}.react-joyride__beacon span:last-child{background-color:rgba(26,129,165,0.4) !important;border:2px solid #00739c !important}.react-joyride__tooltip button[data-action="primary"]{background:#0085ba !important;border-color:#006a95 #00648c #00648c !important;box-shadow:inset 0 -1px 0 #00648c !important;color:#fff !important;text-decoration:none !important;text-shadow:0 -1px 1px #005d82,1px 0 1px #005d82,0 1px 1px #005d82,-1px 0 1px #005d82 !important;padding:2px 20px !important;height:auto !important;line-height:28px !important;font-size:14px !important}.react-joyride__tooltip button[data-action="back"]{color:#23282d !important;font-size:14px !important}.react-notification-root .notification-container-top-right{top:50px}.notification-item-root .notification-content{padding:12px 15px}.notification-item-root .notification-close{top:auto}@media (min-width: 782px){.react-joyride__spotlight,.__floater,.__floater__open,.react-joyride__beacon{margin-top:-32px}}@media (max-width: 782px){#otter .otter-header .otter-container .otter-logo{justify-content:center}#otter .otter-info{background-image:none !important}.react-joyride__spotlight,.__floater,.__floater__open,.react-joyride__beacon{margin-top:-44px}}@media (max-width: 600px){.react-joyride__spotlight,.__floater,.__floater__open,.react-joyride__beacon{margin-top:0}}
2
3
- .notification-container-top-center{position:fixed;z-index:8000;-webkit-transform:translateX(-50%);transform:translateX(-50%);top:20px;left:50%}.notification-container-bottom-center{position:fixed;z-index:8000;-webkit-transform:translateX(-50%);transform:translateX(-50%);margin-bottom:-20px;bottom:20px;left:50%}.notification-container-top-left{position:fixed;left:20px;top:20px;z-index:8000}.notification-container-top-right{position:fixed;right:20px;top:20px;z-index:8000}.notification-container-bottom-left{position:fixed;left:20px;bottom:20px;z-index:8000;margin-bottom:-20px}.notification-container-bottom-right{position:fixed;bottom:20px;right:20px;z-index:8000;margin-bottom:-20px}.notification-container-mobile-top{z-index:8000;position:fixed;right:20px;left:20px;top:20px}.notification-container-mobile-bottom{z-index:8000;position:fixed;right:20px;left:20px;bottom:5px}.notification-default{background-color:#007bff;border-left:8px solid #0056b3}.notification-success{background-color:#28a745;border-left:8px solid #19692c}.notification-danger{background-color:#dc3545;border-left:8px solid #a71d2a}.notification-info{background-color:#17a2b8;border-left:8px solid #0f6674}.notification-warning{background-color:#eab000;border-left:8px solid #9e7600}.notification-awesome{background-color:#685dc3;border-left:8px solid #44399a}.notification-close span,.notification-message,.notification-title{color:#fff}.notification-item,.notification-item-root,.notification-message,.notification-title{font-family:Arial,Helvetica,sans-serif}.notification-close{font-size:18px;position:absolute;right:10px;top:0}.nc-center{top:50%;left:50%;position:fixed;z-index:8000;pointer-events:all}.nc-box{left:-50%;position:relative;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.notification-container-mobile-bottom .notification-item,.notification-container-mobile-bottom .notification-item-root,.notification-container-mobile-top .notification-item,.notification-container-mobile-top .notification-item-root{max-width:100%;width:100%}.notification-item{display:flex;position:relative;border-radius:4px;cursor:pointer;box-shadow:1px 3px 4px rgba(0,0,0,0.2)}.notification-container-bottom-right .notification-item-root,.notification-container-top-right .notification-item-root{margin-left:auto}.notification-container-bottom-left .notification-item-root,.notification-container-top-left .notification-item-root{margin-right:auto}.notification-container-mobile-bottom .notification-item-root,.notification-container-mobile-top .notification-item-root{margin-left:auto;margin-right:auto}.notification-item-root{width:275px;margin-bottom:15px}.notification-title{font-weight:700;font-size:14px;margin-top:5px;margin-bottom:5px}.notification-message{max-width:calc(100% - 15px);font-size:14px;line-height:150%;word-wrap:break-word;margin-bottom:0;margin-top:0}.notification-invisible{visibility:hidden;max-width:375px}.notification-visible{visibility:visible}.notification-content{padding:8px 15px;display:inline-block;width:100%}
4
1
+ *{box-sizing:inherit}.settings_page_otter{background:#f6f6f6;font-size:14px;position:relative;box-sizing:border-box;font-family:Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif}#wpcontent{padding-left:0}.auto-fold #wpcontent{padding-left:0}#otter .otter-header{padding:20px 10px;background-color:#ffffff;box-shadow:0 1px 0 rgba(213,213,213,0.5),0 1px 2px #eee}#otter .otter-header.onboarding .otter-container .otter-logo{-webkit-box-pack:center;justify-content:center}#otter .otter-header .otter-container{margin:0 auto;max-width:100%;max-width:750px}#otter .otter-header .otter-container .otter-logo{display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center}#otter .otter-header .otter-container .otter-logo img{max-width:200px}#otter .otter-header .otter-container .otter-logo .version{background-color:#e5e5e5;border-radius:3px;font-size:0.8em;font-weight:400;margin-left:10px;padding:2px 7px}#otter .otter-main{margin-left:auto;margin-right:auto;max-width:750px}#otter .otter-main .components-panel__body{margin:25px 0;background:#fff;border:1px solid #e2e4e7}#otter .otter-main .components-panel__body .components-panel__body-toggle{border-bottom:1px solid #d6e2ed}#otter .otter-main .components-panel__body .components-panel__row{padding:20px 10px 10px;margin:0}#otter .otter-main .components-panel__body .components-panel__row .components-base-control .components-base-control__field{display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;margin-bottom:10px}#otter .otter-main .components-panel__body .components-panel__row .components-base-control.otter-text-field{width:100%}#otter .otter-main .components-panel__body .components-panel__row .components-base-control.otter-text-field .components-base-control__field{display:block}#otter .otter-main .components-panel__body .components-panel__row .components-base-control.otter-text-field .components-base-control__field label{font-weight:600;margin-bottom:10px}#otter .otter-main .components-panel__body .components-panel__row .components-base-control.otter-text-field .components-base-control__field input{border:1px solid #b7c9d9;border-radius:3px;font-size:14px;padding:9px 15px;width:100%;box-shadow:none;height:40px;margin:0 0 10px 0;color:#444}#otter .otter-main .components-panel__body .components-panel__row .components-base-control.otter-text-field .components-base-control__field input:disabled{background:#f6f6f6;border-color:#eeeeee;color:#bbbbbb}#otter .otter-main .components-panel__body .components-panel__row .components-base-control.otter-text-field .components-base-control__field input:focus{border-color:#00a0d2;box-shadow:0 0 0 1px #00a0d2;outline:2px solid transparent;outline-offset:-2px}#otter .otter-main .components-panel__body .components-panel__row .components-base-control.otter-text-field .components-base-control__field .otter-text-field-button-group{display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;margin:2px 0 15px}#otter .otter-main .components-panel__body .components-panel__row .components-base-control.otter-text-field .components-base-control__field .otter-text-field-button-group .is-primary{padding:2px 20px;height:auto;font-size:14px;margin-right:10px}#otter .otter-main .components-panel__body .otter-info{padding:0 10px 10px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAU4AAAFeCAYAAADqhfbyAAAgAElEQVR4nO2deXgU553nf31Iat1CCCEDAnFjxGmDYkNshK84kzAm9kwSJtkJfjwzfibJZMhsZtYzu/sY7x+7efZ5ZofM7G6eZCcTPBMPdg4HjHEcB3PZHBY2IIw4xCUhJITQ1TpbUqt7n1+pClr9VldXdVV1v2/V7/M8/QBvNVJVH9/63S8QBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBOF6CIIgCIIgCMJ+PLy+xtFolFkjnE1HQ10JAKwCAOVPpEp+gLy+0uSLcDjm72cAoFd+4N+hvLrmEPM/iIzh8fApUSScRNrpaKirjRHEWosE0UqCspA2yQ8U06by6pom+rSkF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ZHc/OvQZb/StTvP1f8R9toz3CHQ8JpEBJOfrn94//+SiQUmgo+f25+IHv+vRONlnsGB+4zdOI+fygayL0U8zPaorm5dfg37+DggcI//c9nmf9DuAZehZMgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgXA9BEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEHYDAP8foCS4yIPsF/8AAAAASUVORK5CYII=);background-size:100px;background-repeat:no-repeat;background-position:bottom right}#otter .otter-main .components-panel__body .otter-info h2{font-weight:300;margin-bottom:10px}#otter .otter-main .components-panel__body .otter-info p{margin:0 0 1.5em 0}#otter .otter-main .components-panel__body .otter-info .otter-info-button-group{display:-webkit-box;display:flex}#otter .otter-main .components-panel__body .otter-info .otter-info-button-group .is-default{padding:2px 20px;height:auto;font-size:14px}#otter .otter-main .components-panel__body .otter-info .otter-info-button-group .is-default:first-child{margin-right:15px}#otter .otter-footer{text-align:center;color:#72777c;font-style:italic;border-top:1px #e1e1e1 solid;border-bottom:1px #e1e1e1 solid;padding:20px;margin:2rem 0 1.5rem}#otter .otter-footer .otter-container{margin:0 auto}#otter .components-placeholder{background:#f6f6f6;margin-top:25vh;margin-bottom:25vh}.otter-onboarding-modal{max-width:350px}.otter-onboarding-modal .components-modal__header{text-align:center}.otter-onboarding-modal .components-modal__header h1{width:100%}.otter-onboarding-modal .otter-onboarding-modal-content{text-align:center;margin:10px 0 15px}.otter-onboarding-modal .otter-onboarding-modal-action{text-align:center;margin:10px 0}.otter-onboarding-modal .otter-onboarding-modal-action .components-button{padding:2px 20px;height:auto;font-size:14px;margin-right:10px}.components-modal__screen-overlay{background-color:rgba(0,0,0,0.5)}.react-joyride__tooltip{font-size:13px !important}.react-joyride__tooltip>div{text-align:left !important}.react-joyride__tooltip div:nth-of-type(2){margin-top:5px !important}.react-joyride__tooltip button{text-decoration:underline}.react-joyride__beacon span:first-child{background-color:#00739c !important}.react-joyride__beacon span:last-child{background-color:rgba(26,129,165,0.4) !important;border:2px solid #00739c !important}.react-joyride__tooltip button[data-action="primary"]{background:#0085ba !important;border-color:#006a95 #00648c #00648c !important;box-shadow:inset 0 -1px 0 #00648c !important;color:#fff !important;text-decoration:none !important;text-shadow:0 -1px 1px #005d82,1px 0 1px #005d82,0 1px 1px #005d82,-1px 0 1px #005d82 !important;padding:2px 20px !important;height:auto !important;line-height:28px !important;font-size:14px !important}.react-joyride__tooltip button[data-action="back"]{color:#23282d !important;font-size:14px !important}.react-notification-root .notification-container-top-right{top:50px}.notification-item-root .notification-content{padding:12px 15px}.notification-item-root .notification-close{top:auto}@media (min-width: 782px){.react-joyride__spotlight,.__floater,.__floater__open,.react-joyride__beacon{margin-top:-32px}}@media (max-width: 782px){#otter .otter-header .otter-container .otter-logo{-webkit-box-pack:center;justify-content:center}#otter .otter-info{background-image:none !important}.react-joyride__spotlight,.__floater,.__floater__open,.react-joyride__beacon{margin-top:-44px}}@media (max-width: 600px){.react-joyride__spotlight,.__floater,.__floater__open,.react-joyride__beacon{margin-top:0}}
2
3
+ .notification-container-top-center{position:fixed;z-index:8000;-webkit-transform:translateX(-50%);transform:translateX(-50%);top:20px;left:50%}.notification-container-bottom-center{position:fixed;z-index:8000;-webkit-transform:translateX(-50%);transform:translateX(-50%);margin-bottom:-20px;bottom:20px;left:50%}.notification-container-top-left{position:fixed;left:20px;top:20px;z-index:8000}.notification-container-top-right{position:fixed;right:20px;top:20px;z-index:8000}.notification-container-bottom-left{position:fixed;left:20px;bottom:20px;z-index:8000;margin-bottom:-20px}.notification-container-bottom-right{position:fixed;bottom:20px;right:20px;z-index:8000;margin-bottom:-20px}.notification-container-mobile-top{z-index:8000;position:fixed;right:20px;left:20px;top:20px}.notification-container-mobile-bottom{z-index:8000;position:fixed;right:20px;left:20px;bottom:5px}.notification-default{background-color:#007bff;border-left:8px solid #0056b3}.notification-success{background-color:#28a745;border-left:8px solid #19692c}.notification-danger{background-color:#dc3545;border-left:8px solid #a71d2a}.notification-info{background-color:#17a2b8;border-left:8px solid #0f6674}.notification-warning{background-color:#eab000;border-left:8px solid #9e7600}.notification-awesome{background-color:#685dc3;border-left:8px solid #44399a}.notification-close span,.notification-message,.notification-title{color:#fff}.notification-item,.notification-item-root,.notification-message,.notification-title{font-family:Arial,Helvetica,sans-serif}.notification-close{font-size:18px;position:absolute;right:10px;top:0}.nc-center{top:50%;left:50%;position:fixed;z-index:8000;pointer-events:all}.nc-box{left:-50%;position:relative;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.notification-container-mobile-bottom .notification-item,.notification-container-mobile-bottom .notification-item-root,.notification-container-mobile-top .notification-item,.notification-container-mobile-top .notification-item-root{max-width:100%;width:100%}.notification-item{display:-webkit-box;display:flex;position:relative;border-radius:4px;cursor:pointer;box-shadow:1px 3px 4px rgba(0,0,0,0.2)}.notification-container-bottom-right .notification-item-root,.notification-container-top-right .notification-item-root{margin-left:auto}.notification-container-bottom-left .notification-item-root,.notification-container-top-left .notification-item-root{margin-right:auto}.notification-container-mobile-bottom .notification-item-root,.notification-container-mobile-top .notification-item-root{margin-left:auto;margin-right:auto}.notification-item-root{width:275px;margin-bottom:15px}.notification-title{font-weight:700;font-size:14px;margin-top:5px;margin-bottom:5px}.notification-message{max-width:calc(100% - 15px);font-size:14px;line-height:150%;word-wrap:break-word;margin-bottom:0;margin-top:0}.notification-invisible{visibility:hidden;max-width:375px}.notification-visible{visibility:visible}.notification-content{padding:8px 15px;display:inline-block;width:100%}
4
build/build.js CHANGED
@@ -1,25 +1,19 @@
1
- !function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=24)}([function(e,t,n){e.exports=n(20)()},function(e,t){e.exports=React},function(e,t,n){"use strict";function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var r=function(e){return Object.prototype.toString.call(e).slice(8,-1)},i={null:function(e){return null===e},undefined:function(e){return void 0===e},nullOrUndefined:function(e){return this.null(e)||this.undefined(e)},string:function(e){return"string"==typeof e},number:function(e){return"number"==typeof e},function:function(e){return"function"==typeof e},boolean:function(e){return!0===e||!1===e},array:Array.isArray,object:function(e){return!this.nullOrUndefined(e)&&(this.function(e)||function(e){return"object"===o(e)}(e))},plainObject:function(e){var t;return"Object"===r(e)&&(null===(t=Object.getPrototypeOf(e))||t===Object.getPrototypeOf({}))},date:function(e){return"Date"===r(e)},promise:function(e){return"Promise"===r(e)},iterable:function(e){return!this.nullOrUndefined(e)&&this.function(e[Symbol.iterator])},generator:function(e){return this.iterable(e)&&this.function(e.next)&&this.function(e.throw)},regexp:function(e){return"RegExp"===r(e)},symbol:function(e){return"Symbol"===r(e)},domElement:function(e){return this.object(e)&&!this.plainObject(e)&&1===e.nodeType&&this.string(e.nodeName)&&["innerHTML","ownerDocument","style","attributes","nodeValue"].every(function(t){return t in e})}};t.a=i},function(e,t,n){"use strict";
2
/**
3
* @license nested-property https://github.com/cosmosio/nested-property
4
*
5
* The MIT License (MIT)
6
*
7
* Copyright (c) 2014-2015 Olivier Scherrer <pode.fr@gmail.com>
8
- */e.exports={set:function(e,t,n){if(e&&"object"==typeof e){if("string"==typeof t&&""!==t){var o=t.split(".");return o.reduce(function(e,t,r){return e[t]=e[t]||{},o.length==r+1&&(e[t]=n),e[t]},e)}return"number"==typeof t?(e[t]=n,e[t]):e}return e},get:function(e,t){if(e&&"object"==typeof e){if("string"==typeof t&&""!==t){var n=t.split(".");return n.reduce(function(e,t){return e&&e[t]},e)}return"number"==typeof t?e[t]:e}return e},has:function(e,t,n){if(n=n||{},e&&"object"==typeof e){if("string"==typeof t&&""!==t){var o=t.split(".");return o.reduce(function(e,t,o,r){return o==r.length-1?n.own?!(!e||!e.hasOwnProperty(t)):!!(null!==e&&"object"==typeof e&&t in e):e&&e[t]},e)}return"number"==typeof t&&t in e}return!1},hasOwn:function(e,t,n){return this.has(e,t,n||{own:!0})},isIn:function(e,t,n,o){if(o=o||{},e&&"object"==typeof e){if("string"==typeof t&&""!==t){var r,i=t.split("."),a=!1;return r=!!i.reduce(function(e,t){return a=a||e===n||!!e&&e[t]===n,e&&e[t]},e),o.validPath?a&&r:a}return!1}return!1}}},function(e,t,n){e.exports=function(){"use strict";var e=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var n=Object.prototype.toString.call(e);return"[object RegExp]"===n||"[object Date]"===n||function(e){return e.$typeof===t}(e)}(e)},t="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function n(e,t){return!1!==t.clone&&t.isMergeableObject(e)?i((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function o(e,t,o){return e.concat(t).map(function(e){return n(e,o)})}function r(e,t,o){var r={};return o.isMergeableObject(e)&&Object.keys(e).forEach(function(t){r[t]=n(e[t],o)}),Object.keys(t).forEach(function(a){o.isMergeableObject(t[a])&&e[a]?r[a]=function(e,t){if(!t.customMerge)return i;var n=t.customMerge(e);return"function"==typeof n?n:i}(a,o)(e[a],t[a],o):r[a]=n(t[a],o)}),r}function i(t,i,a){(a=a||{}).arrayMerge=a.arrayMerge||o,a.isMergeableObject=a.isMergeableObject||e;var s=Array.isArray(i),l=Array.isArray(t),c=s===l;return c?s?a.arrayMerge(t,i,a):r(t,i,a):n(i,a)}return i.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(e,n){return i(e,n,t)},{})},i}()},function(e,t){e.exports=ReactDOM},function(e,t,n){"use strict";var o=n(14),r=n.n(o),i=n(3),a=n.n(i);function s(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.every(function(e){return"number"==typeof e})}t.a=function(e,t){if(!e||!t)throw new Error("Missing required parameters");return{changed:function(n){var o=a.a.get(e,n),i=a.a.get(t,n);return function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.every(function(e){return Array.isArray(e)})}(o,i)||function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.every(function(e){if(!e)return!1;var t=Object.getPrototypeOf(e);return"Object"===Object.prototype.toString.call(e).slice(8,-1)&&(null===t||t===Object.getPrototypeOf({}))})}(o,i)?!!r.a.diff(o,i):o!==i},changedFrom:function(n,o,r){if(!n)throw new Error("Key parameter is required");var i=void 0!==o&&void 0!==r,s=a.a.get(e,n),l=a.a.get(t,n),c=Array.isArray(o)?o.includes(s):s===o,u=Array.isArray(r)?r.includes(l):l===r;return c&&(i?u:!i)},changedTo:function(n,o){if(!n)throw new Error("Key parameter is required");var r=a.a.get(e,n),i=a.a.get(t,n),s=Array.isArray(o)?!o.includes(r):r!==o,l=Array.isArray(o)?o.includes(i):i===o;return s&&l},increased:function(n){if(!n)throw new Error("Key parameter is required");return s(a.a.get(e,n),a.a.get(t,n))&&a.a.get(e,n)<a.a.get(t,n)},decreased:function(n){if(!n)throw new Error("Key parameter is required");return s(a.a.get(e,n),a.a.get(t,n))&&a.a.get(e,n)>a.a.get(t,n)}}}},function(e,t){var n="undefined"!=typeof window?window:{},o="undefined"!=typeof document?document:{documentElement:{}},r=void 0===n.pageYOffset?o.documentElement:null;e.exports=function(){return r||(e=window.pageYOffset,document.documentElement.scrollTop=e+1,r=window.pageYOffset>e?(document.documentElement.scrollTop=e,document.documentElement):document.scrollingElement||document.body);var e}},function(e,t,n){"use strict";e.exports=n(22)},function(e,t,n){var o;
9
/*!
10
Copyright (c) 2015 Jed Watson.
11
Based on code that is Copyright 2013-2015, Facebook, Inc.
12
All rights reserved.
13
- */
14
- /*!
15
- Copyright (c) 2015 Jed Watson.
16
- Based on code that is Copyright 2013-2015, Facebook, Inc.
17
- All rights reserved.
18
- */
19
- !function(){"use strict";var r=!("undefined"==typeof window||!window.document||!window.document.createElement),i={canUseDOM:r,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:r&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:r&&!!window.screen};void 0===(o=function(){return i}.call(t,n,t,e))||(e.exports=o)}()},function(e,t,n){var o,r,i;r=[],void 0===(i="function"==typeof(o=function(){var e=/(auto|scroll)/,t=function(e,n){return null===e.parentNode?n:t(e.parentNode,n.concat([e]))},n=function(e,t){return getComputedStyle(e,null).getPropertyValue(t)},o=function(t){return e.test(function(e){return n(e,"overflow")+n(e,"overflow-y")+n(e,"overflow-x")}(t))};return function(e){if(e instanceof HTMLElement||e instanceof SVGElement){for(var n=t(e.parentNode,[]),r=0;r<n.length;r+=1)if(o(n[r]))return n[r];return document.scrollingElement||document.documentElement}}})?o.apply(t,r):o)||(e.exports=i)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default=function(e,t,n){return function(e,t){if("function"!=typeof e)throw new TypeError("The typeValidator argument must be a function with the signature function(props, propName, componentName).");if(t&&"string"!=typeof t)throw new TypeError("The error message is optional, but must be a string if provided.")}(e,n),function(o,r,i){for(var a=arguments.length,s=Array(3<a?a-3:0),l=3;l<a;l++)s[l-3]=arguments[l];return function(e,t,n,o){return"boolean"==typeof e?e:"function"==typeof e?e(t,n,o):!(1!=!!e||!e)}(t,o,r,i)?function(e,t){return Object.hasOwnProperty.call(e,t)}(o,r)?e.apply(void 0,[o,r,i].concat(s)):function(e,t,n,o){return o?new Error(o):new Error("Required "+e[t]+" `"+t+"` was not specified in `"+n+"`.")}(o,r,i,n):e.apply(void 0,[o,r,i].concat(s))}}},function(e,t,n){"use strict";(function(e){for(
20
/**!
21
* @fileOverview Kickass library to create and place poppers near their reference elements.
22
- * @version 1.15.0
23
* @license
24
* Copyright (c) 2016 Federico Zivolo and contributors
25
*
@@ -41,23 +35,17 @@
41
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
42
* SOFTWARE.
43
*/
44
- var n="undefined"!=typeof window&&"undefined"!=typeof document,o=["Edge","Trident","Firefox"],r=0,i=0;i<o.length;i+=1)if(n&&navigator.userAgent.indexOf(o[i])>=0){r=1;break}var a=n&&window.Promise?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then(function(){t=!1,e()}))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1,e()},r))}};function s(e){return e&&"[object Function]"==={}.toString.call(e)}function l(e,t){if(1!==e.nodeType)return[];var n=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?n[t]:n}function c(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function u(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=l(e),n=t.overflow,o=t.overflowX,r=t.overflowY;return/(auto|scroll|overlay)/.test(n+r+o)?e:u(c(e))}var p=n&&!(!window.MSInputMethodContext||!document.documentMode),f=n&&/MSIE 10/.test(navigator.userAgent);function d(e){return 11===e?p:10===e?f:p||f}function h(e){if(!e)return document.documentElement;for(var t=d(10)?document.body:null,n=e.offsetParent||null;n===t&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var o=n&&n.nodeName;return o&&"BODY"!==o&&"HTML"!==o?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===l(n,"position")?h(n):n:e?e.ownerDocument.documentElement:document.documentElement}function m(e){return null!==e.parentNode?m(e.parentNode):e}function y(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return document.documentElement;var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,o=n?e:t,r=n?t:e,i=document.createRange();i.setStart(o,0),i.setEnd(r,0);var a,s,l=i.commonAncestorContainer;if(e!==l&&t!==l||o.contains(r))return"BODY"===(s=(a=l).nodeName)||"HTML"!==s&&h(a.firstElementChild)!==a?h(l):l;var c=m(e);return c.host?y(c.host,t):y(e,m(t).host)}function b(e){var t="top"===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top")?"scrollTop":"scrollLeft",n=e.nodeName;if("BODY"===n||"HTML"===n){var o=e.ownerDocument.documentElement;return(e.ownerDocument.scrollingElement||o)[t]}return e[t]}function g(e,t){var n="x"===t?"Left":"Top",o="Left"===n?"Right":"Bottom";return parseFloat(e["border"+n+"Width"],10)+parseFloat(e["border"+o+"Width"],10)}function v(e,t,n,o){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],d(10)?parseInt(n["offset"+e])+parseInt(o["margin"+("Height"===e?"Top":"Left")])+parseInt(o["margin"+("Height"===e?"Bottom":"Right")]):0)}function w(e){var t=e.body,n=e.documentElement,o=d(10)&&getComputedStyle(n);return{height:v("Height",t,n,o),width:v("Width",t,n,o)}}var E=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},S=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),O=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},T=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e};function k(e){return T({},e,{right:e.left+e.width,bottom:e.top+e.height})}function N(e){var t={};try{if(d(10)){t=e.getBoundingClientRect();var n=b(e,"top"),o=b(e,"left");t.top+=n,t.left+=o,t.bottom+=n,t.right+=o}else t=e.getBoundingClientRect()}catch(e){}var r={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},i="HTML"===e.nodeName?w(e.ownerDocument):{},a=i.width||e.clientWidth||r.right-r.left,s=i.height||e.clientHeight||r.bottom-r.top,c=e.offsetWidth-a,u=e.offsetHeight-s;if(c||u){var p=l(e);c-=g(p,"x"),u-=g(p,"y"),r.width-=c,r.height-=u}return k(r)}function C(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=d(10),r="HTML"===t.nodeName,i=N(e),a=N(t),s=u(e),c=l(t),p=parseFloat(c.borderTopWidth,10),f=parseFloat(c.borderLeftWidth,10);n&&r&&(a.top=Math.max(a.top,0),a.left=Math.max(a.left,0));var h=k({top:i.top-a.top-p,left:i.left-a.left-f,width:i.width,height:i.height});if(h.marginTop=0,h.marginLeft=0,!o&&r){var m=parseFloat(c.marginTop,10),y=parseFloat(c.marginLeft,10);h.top-=p-m,h.bottom-=p-m,h.left-=f-y,h.right-=f-y,h.marginTop=m,h.marginLeft=y}return(o&&!n?t.contains(s):t===s&&"BODY"!==s.nodeName)&&(h=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=b(t,"top"),r=b(t,"left"),i=n?-1:1;return e.top+=o*i,e.bottom+=o*i,e.left+=r*i,e.right+=r*i,e}(h,t)),h}function I(e){if(!e||!e.parentElement||d())return document.documentElement;for(var t=e.parentElement;t&&"none"===l(t,"transform");)t=t.parentElement;return t||document.documentElement}function P(e,t,n,o){var r=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i={top:0,left:0},a=r?I(e):y(e,t);if("viewport"===o)i=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.ownerDocument.documentElement,o=C(e,n),r=Math.max(n.clientWidth,window.innerWidth||0),i=Math.max(n.clientHeight,window.innerHeight||0),a=t?0:b(n),s=t?0:b(n,"left");return k({top:a-o.top+o.marginTop,left:s-o.left+o.marginLeft,width:r,height:i})}(a,r);else{var s=void 0;"scrollParent"===o?"BODY"===(s=u(c(t))).nodeName&&(s=e.ownerDocument.documentElement):s="window"===o?e.ownerDocument.documentElement:o;var p=C(s,a,r);if("HTML"!==s.nodeName||function e(t){var n=t.nodeName;if("BODY"===n||"HTML"===n)return!1;if("fixed"===l(t,"position"))return!0;var o=c(t);return!!o&&e(o)}(a))i=p;else{var f=w(e.ownerDocument),d=f.height,h=f.width;i.top+=p.top-p.marginTop,i.bottom=d+p.top,i.left+=p.left-p.marginLeft,i.right=h+p.left}}var m="number"==typeof(n=n||0);return i.left+=m?n:n.left||0,i.top+=m?n:n.top||0,i.right-=m?n:n.right||0,i.bottom-=m?n:n.bottom||0,i}function R(e,t,n,o,r){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf("auto"))return e;var a=P(n,o,i,r),s={top:{width:a.width,height:t.top-a.top},right:{width:a.right-t.right,height:a.height},bottom:{width:a.width,height:a.bottom-t.bottom},left:{width:t.left-a.left,height:a.height}},l=Object.keys(s).map(function(e){return T({key:e},s[e],{area:(t=s[e],t.width*t.height)});var t}).sort(function(e,t){return t.area-e.area}),c=l.filter(function(e){var t=e.width,o=e.height;return t>=n.clientWidth&&o>=n.clientHeight}),u=c.length>0?c[0].key:l[0].key,p=e.split("-")[1];return u+(p?"-"+p:"")}function x(e,t,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return C(n,o?I(t):y(t,n),o)}function _(e){var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),o=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:e.offsetWidth+o,height:e.offsetHeight+n}}function j(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,function(e){return t[e]})}function M(e,t,n){n=n.split("-")[0];var o=_(e),r={width:o.width,height:o.height},i=-1!==["right","left"].indexOf(n),a=i?"top":"left",s=i?"left":"top",l=i?"height":"width",c=i?"width":"height";return r[a]=t[a]+t[l]/2-o[l]/2,r[s]=n===s?t[s]-o[c]:t[j(s)],r}function A(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function L(e,t,n){return(void 0===n?e:e.slice(0,function(e,t,n){if(Array.prototype.findIndex)return e.findIndex(function(e){return e[t]===n});var o=A(e,function(e){return e[t]===n});return e.indexOf(o)}(e,"name",n))).forEach(function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=e.function||e.fn;e.enabled&&s(n)&&(t.offsets.popper=k(t.offsets.popper),t.offsets.reference=k(t.offsets.reference),t=n(t,e))}),t}function D(e,t){return e.some(function(e){var n=e.name;return e.enabled&&n===t})}function B(e){for(var t=[!1,"ms","Webkit","Moz","O"],n=e.charAt(0).toUpperCase()+e.slice(1),o=0;o<t.length;o++){var r=t[o],i=r?""+r+n:e;if(void 0!==document.body.style[i])return i}return null}function F(e){var t=e.ownerDocument;return t?t.defaultView:window}function q(e,t,n,o){n.updateBound=o,F(e).addEventListener("resize",n.updateBound,{passive:!0});var r=u(e);return function e(t,n,o,r){var i="BODY"===t.nodeName,a=i?t.ownerDocument.defaultView:t;a.addEventListener(n,o,{passive:!0}),i||e(u(a.parentNode),n,o,r),r.push(a)}(r,"scroll",n.updateBound,n.scrollParents),n.scrollElement=r,n.eventsEnabled=!0,n}function U(){var e,t;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(e=this.reference,t=this.state,F(e).removeEventListener("resize",t.updateBound),t.scrollParents.forEach(function(e){e.removeEventListener("scroll",t.updateBound)}),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t))}function W(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function z(e,t){Object.keys(t).forEach(function(n){var o="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&W(t[n])&&(o="px"),e.style[n]=t[n]+o})}var H=n&&/Firefox/i.test(navigator.userAgent);function G(e,t,n){var o=A(e,function(e){return e.name===t}),r=!!o&&e.some(function(e){return e.name===n&&e.enabled&&e.order<o.order});if(!r){var i="`"+t+"`",a="`"+n+"`";console.warn(a+" modifier is required by "+i+" modifier in order to work, be sure to include it before "+i+"!")}return r}var V=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],Y=V.slice(3);function K(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=Y.indexOf(e),o=Y.slice(n+1).concat(Y.slice(0,n));return t?o.reverse():o}var X={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"};function $(e,t,n,o){var r=[0,0],i=-1!==["right","left"].indexOf(o),a=e.split(/(\+|\-)/).map(function(e){return e.trim()}),s=a.indexOf(A(a,function(e){return-1!==e.search(/,|\s/)}));a[s]&&-1===a[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,c=-1!==s?[a.slice(0,s).concat([a[s].split(l)[0]]),[a[s].split(l)[1]].concat(a.slice(s+1))]:[a];return(c=c.map(function(e,o){var r=(1===o?!i:i)?"height":"width",a=!1;return e.reduce(function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,a=!0,e):a?(e[e.length-1]+=t,a=!1,e):e.concat(t)},[]).map(function(e){return function(e,t,n,o){var r=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),i=+r[1],a=r[2];if(!i)return e;if(0===a.indexOf("%")){var s=void 0;switch(a){case"%p":s=n;break;case"%":case"%r":default:s=o}return k(s)[t]/100*i}if("vh"===a||"vw"===a)return("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*i;return i}(e,r,t,n)})})).forEach(function(e,t){e.forEach(function(n,o){W(n)&&(r[t]+=n*("-"===e[o-1]?-1:1))})}),r}var J={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,n=t.split("-")[0],o=t.split("-")[1];if(o){var r=e.offsets,i=r.reference,a=r.popper,s=-1!==["bottom","top"].indexOf(n),l=s?"left":"top",c=s?"width":"height",u={start:O({},l,i[l]),end:O({},l,i[l]+i[c]-a[c])};e.offsets.popper=T({},a,u[o])}return e}},offset:{order:200,enabled:!0,fn:function(e,t){var n=t.offset,o=e.placement,r=e.offsets,i=r.popper,a=r.reference,s=o.split("-")[0],l=void 0;return l=W(+n)?[+n,0]:$(n,i,a,s),"left"===s?(i.top+=l[0],i.left-=l[1]):"right"===s?(i.top+=l[0],i.left+=l[1]):"top"===s?(i.left+=l[0],i.top-=l[1]):"bottom"===s&&(i.left+=l[0],i.top+=l[1]),e.popper=i,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var n=t.boundariesElement||h(e.instance.popper);e.instance.reference===n&&(n=h(n));var o=B("transform"),r=e.instance.popper.style,i=r.top,a=r.left,s=r[o];r.top="",r.left="",r[o]="";var l=P(e.instance.popper,e.instance.reference,t.padding,n,e.positionFixed);r.top=i,r.left=a,r[o]=s,t.boundaries=l;var c=t.priority,u=e.offsets.popper,p={primary:function(e){var n=u[e];return u[e]<l[e]&&!t.escapeWithReference&&(n=Math.max(u[e],l[e])),O({},e,n)},secondary:function(e){var n="right"===e?"left":"top",o=u[n];return u[e]>l[e]&&!t.escapeWithReference&&(o=Math.min(u[n],l[e]-("right"===e?u.width:u.height))),O({},n,o)}};return c.forEach(function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";u=T({},u,p[t](e))}),e.offsets.popper=u,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,n=t.popper,o=t.reference,r=e.placement.split("-")[0],i=Math.floor,a=-1!==["top","bottom"].indexOf(r),s=a?"right":"bottom",l=a?"left":"top",c=a?"width":"height";return n[s]<i(o[l])&&(e.offsets.popper[l]=i(o[l])-n[c]),n[l]>i(o[s])&&(e.offsets.popper[l]=i(o[s])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){var n;if(!G(e.instance.modifiers,"arrow","keepTogether"))return e;var o=t.element;if("string"==typeof o){if(!(o=e.instance.popper.querySelector(o)))return e}else if(!e.instance.popper.contains(o))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var r=e.placement.split("-")[0],i=e.offsets,a=i.popper,s=i.reference,c=-1!==["left","right"].indexOf(r),u=c?"height":"width",p=c?"Top":"Left",f=p.toLowerCase(),d=c?"left":"top",h=c?"bottom":"right",m=_(o)[u];s[h]-m<a[f]&&(e.offsets.popper[f]-=a[f]-(s[h]-m)),s[f]+m>a[h]&&(e.offsets.popper[f]+=s[f]+m-a[h]),e.offsets.popper=k(e.offsets.popper);var y=s[f]+s[u]/2-m/2,b=l(e.instance.popper),g=parseFloat(b["margin"+p],10),v=parseFloat(b["border"+p+"Width"],10),w=y-e.offsets.popper[f]-g-v;return w=Math.max(Math.min(a[u]-m,w),0),e.arrowElement=o,e.offsets.arrow=(O(n={},f,Math.round(w)),O(n,d,""),n),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(e,t){if(D(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var n=P(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),o=e.placement.split("-")[0],r=j(o),i=e.placement.split("-")[1]||"",a=[];switch(t.behavior){case X.FLIP:a=[o,r];break;case X.CLOCKWISE:a=K(o);break;case X.COUNTERCLOCKWISE:a=K(o,!0);break;default:a=t.behavior}return a.forEach(function(s,l){if(o!==s||a.length===l+1)return e;o=e.placement.split("-")[0],r=j(o);var c=e.offsets.popper,u=e.offsets.reference,p=Math.floor,f="left"===o&&p(c.right)>p(u.left)||"right"===o&&p(c.left)<p(u.right)||"top"===o&&p(c.bottom)>p(u.top)||"bottom"===o&&p(c.top)<p(u.bottom),d=p(c.left)<p(n.left),h=p(c.right)>p(n.right),m=p(c.top)<p(n.top),y=p(c.bottom)>p(n.bottom),b="left"===o&&d||"right"===o&&h||"top"===o&&m||"bottom"===o&&y,g=-1!==["top","bottom"].indexOf(o),v=!!t.flipVariations&&(g&&"start"===i&&d||g&&"end"===i&&h||!g&&"start"===i&&m||!g&&"end"===i&&y),w=!!t.flipVariationsByContent&&(g&&"start"===i&&h||g&&"end"===i&&d||!g&&"start"===i&&y||!g&&"end"===i&&m),E=v||w;(f||b||E)&&(e.flipped=!0,(f||b)&&(o=a[l+1]),E&&(i=function(e){return"end"===e?"start":"start"===e?"end":e}(i)),e.placement=o+(i?"-"+i:""),e.offsets.popper=T({},e.offsets.popper,M(e.instance.popper,e.offsets.reference,e.placement)),e=L(e.instance.modifiers,e,"flip"))}),e},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,n=t.split("-")[0],o=e.offsets,r=o.popper,i=o.reference,a=-1!==["left","right"].indexOf(n),s=-1===["top","left"].indexOf(n);return r[a?"left":"top"]=i[n]-(s?r[a?"width":"height"]:0),e.placement=j(t),e.offsets.popper=k(r),e}},hide:{order:800,enabled:!0,fn:function(e){if(!G(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=A(e.instance.modifiers,function(e){return"preventOverflow"===e.name}).boundaries;if(t.bottom<n.top||t.left>n.right||t.top>n.bottom||t.right<n.left){if(!0===e.hide)return e;e.hide=!0,e.attributes["x-out-of-boundaries"]=""}else{if(!1===e.hide)return e;e.hide=!1,e.attributes["x-out-of-boundaries"]=!1}return e}},computeStyle:{order:850,enabled:!0,fn:function(e,t){var n=t.x,o=t.y,r=e.offsets.popper,i=A(e.instance.modifiers,function(e){return"applyStyle"===e.name}).gpuAcceleration;void 0!==i&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var a=void 0!==i?i:t.gpuAcceleration,s=h(e.instance.popper),l=N(s),c={position:r.position},u=function(e,t){var n=e.offsets,o=n.popper,r=n.reference,i=Math.round,a=Math.floor,s=function(e){return e},l=i(r.width),c=i(o.width),u=-1!==["left","right"].indexOf(e.placement),p=-1!==e.placement.indexOf("-"),f=t?u||p||l%2==c%2?i:a:s,d=t?i:s;return{left:f(l%2==1&&c%2==1&&!p&&t?o.left-1:o.left),top:d(o.top),bottom:d(o.bottom),right:f(o.right)}}(e,window.devicePixelRatio<2||!H),p="bottom"===n?"top":"bottom",f="right"===o?"left":"right",d=B("transform"),m=void 0,y=void 0;if(y="bottom"===p?"HTML"===s.nodeName?-s.clientHeight+u.bottom:-l.height+u.bottom:u.top,m="right"===f?"HTML"===s.nodeName?-s.clientWidth+u.right:-l.width+u.right:u.left,a&&d)c[d]="translate3d("+m+"px, "+y+"px, 0)",c[p]=0,c[f]=0,c.willChange="transform";else{var b="bottom"===p?-1:1,g="right"===f?-1:1;c[p]=y*b,c[f]=m*g,c.willChange=p+", "+f}var v={"x-placement":e.placement};return e.attributes=T({},v,e.attributes),e.styles=T({},c,e.styles),e.arrowStyles=T({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(e){var t,n;return z(e.instance.popper,e.styles),t=e.instance.popper,n=e.attributes,Object.keys(n).forEach(function(e){!1!==n[e]?t.setAttribute(e,n[e]):t.removeAttribute(e)}),e.arrowElement&&Object.keys(e.arrowStyles).length&&z(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,n,o,r){var i=x(r,t,e,n.positionFixed),a=R(n.placement,i,t,e,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return t.setAttribute("x-placement",a),z(t,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:void 0}}},Q=function(){function e(t,n){var o=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};E(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(o.update)},this.update=a(this.update.bind(this)),this.options=T({},e.Defaults,r),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(T({},e.Defaults.modifiers,r.modifiers)).forEach(function(t){o.options.modifiers[t]=T({},e.Defaults.modifiers[t]||{},r.modifiers?r.modifiers[t]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(e){return T({name:e},o.options.modifiers[e])}).sort(function(e,t){return e.order-t.order}),this.modifiers.forEach(function(e){e.enabled&&s(e.onLoad)&&e.onLoad(o.reference,o.popper,o.options,e,o.state)}),this.update();var i=this.options.eventsEnabled;i&&this.enableEventListeners(),this.state.eventsEnabled=i}return S(e,[{key:"update",value:function(){return function(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=x(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=R(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=M(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=L(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}.call(this)}},{key:"destroy",value:function(){return function(){return this.state.isDestroyed=!0,D(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[B("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}.call(this)}},{key:"enableEventListeners",value:function(){return function(){this.state.eventsEnabled||(this.state=q(this.reference,this.options,this.state,this.scheduleUpdate))}.call(this)}},{key:"disableEventListeners",value:function(){return U.call(this)}}]),e}();Q.Utils=("undefined"!=typeof window?window:e).PopperUtils,Q.placements=V,Q.Defaults=J,t.a=Q}).call(this,n(13))},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){var o,r;r=function(e){var t=["N","E","A","D"];function n(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}function o(e,t){Object.defineProperty(this,"kind",{value:e,enumerable:!0}),t&&t.length&&Object.defineProperty(this,"path",{value:t,enumerable:!0})}function r(e,t,n){r.super_.call(this,"E",e),Object.defineProperty(this,"lhs",{value:t,enumerable:!0}),Object.defineProperty(this,"rhs",{value:n,enumerable:!0})}function i(e,t){i.super_.call(this,"N",e),Object.defineProperty(this,"rhs",{value:t,enumerable:!0})}function a(e,t){a.super_.call(this,"D",e),Object.defineProperty(this,"lhs",{value:t,enumerable:!0})}function s(e,t,n){s.super_.call(this,"A",e),Object.defineProperty(this,"index",{value:t,enumerable:!0}),Object.defineProperty(this,"item",{value:n,enumerable:!0})}function l(e,t,n){var o=e.slice((n||t)+1||e.length);return e.length=t<0?e.length+t:t,e.push.apply(e,o),e}function c(e){var t=typeof e;return"object"!==t?t:e===Math?"math":null===e?"null":Array.isArray(e)?"array":"[object Date]"===Object.prototype.toString.call(e)?"date":"function"==typeof e.toString&&/^\/.*\//.test(e.toString())?"regexp":"object"}function u(e){var t=0;if(0===e.length)return t;for(var n=0;n<e.length;n++){var o=e.charCodeAt(n);t=(t<<5)-t+o,t&=t}return t}function p(e){var t=0,n=c(e);if("array"===n){e.forEach(function(e){t+=p(e)});var o="[type: array, hash: "+t+"]";return t+u(o)}if("object"===n){for(var r in e)if(e.hasOwnProperty(r)){var i="[ type: object, key: "+r+", value hash: "+p(e[r])+"]";t+=u(i)}return t}var a="[ type: "+n+" ; value: "+e+"]";return t+u(a)}function f(e,t,n,o,l,u,d,h){n=n||[],d=d||[];var m=(l=l||[]).slice(0);if(null!=u){if(o){if("function"==typeof o&&o(m,u))return;if("object"==typeof o){if(o.prefilter&&o.prefilter(m,u))return;if(o.normalize){var y=o.normalize(m,u,e,t);y&&(e=y[0],t=y[1])}}}m.push(u)}"regexp"===c(e)&&"regexp"===c(t)&&(e=e.toString(),t=t.toString());var b,g,v,w,E=typeof e,S=typeof t,O="undefined"!==E||d&&d.length>0&&d[d.length-1].lhs&&Object.getOwnPropertyDescriptor(d[d.length-1].lhs,u),T="undefined"!==S||d&&d.length>0&&d[d.length-1].rhs&&Object.getOwnPropertyDescriptor(d[d.length-1].rhs,u);if(!O&&T)n.push(new i(m,t));else if(!T&&O)n.push(new a(m,e));else if(c(e)!==c(t))n.push(new r(m,e,t));else if("date"===c(e)&&e-t!=0)n.push(new r(m,e,t));else if("object"===E&&null!==e&&null!==t){for(b=d.length-1;b>-1;--b)if(d[b].lhs===e){w=!0;break}if(w)e!==t&&n.push(new r(m,e,t));else{if(d.push({lhs:e,rhs:t}),Array.isArray(e)){for(h&&(e.sort(function(e,t){return p(e)-p(t)}),t.sort(function(e,t){return p(e)-p(t)})),b=t.length-1,g=e.length-1;b>g;)n.push(new s(m,b,new i(void 0,t[b--])));for(;g>b;)n.push(new s(m,g,new a(void 0,e[g--])));for(;b>=0;--b)f(e[b],t[b],n,o,m,b,d,h)}else{var k=Object.keys(e),N=Object.keys(t);for(b=0;b<k.length;++b)v=k[b],(w=N.indexOf(v))>=0?(f(e[v],t[v],n,o,m,v,d,h),N[w]=null):f(e[v],void 0,n,o,m,v,d,h);for(b=0;b<N.length;++b)(v=N[b])&&f(void 0,t[v],n,o,m,v,d,h)}d.length=d.length-1}}else e!==t&&("number"===E&&isNaN(e)&&isNaN(t)||n.push(new r(m,e,t)))}function d(e,t,n,o,r){var i=[];if(f(e,t,i,o,null,null,null,r),n)for(var a=0;a<i.length;++a)n(i[a]);return i}function h(e,t,n,o){var r=o?function(e){e&&o.push(e)}:void 0,i=d(e,t,r,n);return o||(i.length?i:void 0)}function m(e,n,o){if(void 0===o&&n&&~t.indexOf(n.kind)&&(o=n),e&&o&&o.kind){for(var r=e,i=-1,a=o.path?o.path.length-1:0;++i<a;)void 0===r[o.path[i]]&&(r[o.path[i]]=void 0!==o.path[i+1]&&"number"==typeof o.path[i+1]?[]:{}),r=r[o.path[i]];switch(o.kind){case"A":o.path&&void 0===r[o.path[i]]&&(r[o.path[i]]=[]),function e(t,n,o){if(o.path&&o.path.length){var r,i=t[n],a=o.path.length-1;for(r=0;r<a;r++)i=i[o.path[r]];switch(o.kind){case"A":e(i[o.path[r]],o.index,o.item);break;case"D":delete i[o.path[r]];break;case"E":case"N":i[o.path[r]]=o.rhs}}else switch(o.kind){case"A":e(t[n],o.index,o.item);break;case"D":t=l(t,n);break;case"E":case"N":t[n]=o.rhs}return t}(o.path?r[o.path[i]]:r,o.index,o.item);break;case"D":delete r[o.path[i]];break;case"E":case"N":r[o.path[i]]=o.rhs}}}n(r,o),n(i,o),n(a,o),n(s,o),Object.defineProperties(h,{diff:{value:h,enumerable:!0},orderIndependentDiff:{value:function(e,t,n,o){var r=o?function(e){e&&o.push(e)}:void 0,i=d(e,t,r,n,!0);return o||(i.length?i:void 0)},enumerable:!0},observableDiff:{value:d,enumerable:!0},orderIndependentObservableDiff:{value:function(e,t,n,o,r,i,a){return f(e,t,n,o,r,i,a,!0)},enumerable:!0},orderIndepHash:{value:p,enumerable:!0},applyDiff:{value:function(e,t,n){e&&t&&d(e,t,function(o){n&&!n(e,t,o)||m(e,t,o)})},enumerable:!0},applyChange:{value:m,enumerable:!0},revertChange:{value:function(e,t,n){if(e&&t&&n&&n.kind){var o,r,i=e;for(r=n.path.length-1,o=0;o<r;o++)void 0===i[n.path[o]]&&(i[n.path[o]]={}),i=i[n.path[o]];switch(n.kind){case"A":!function e(t,n,o){if(o.path&&o.path.length){var r,i=t[n],a=o.path.length-1;for(r=0;r<a;r++)i=i[o.path[r]];switch(o.kind){case"A":e(i[o.path[r]],o.index,o.item);break;case"D":case"E":i[o.path[r]]=o.lhs;break;case"N":delete i[o.path[r]]}}else switch(o.kind){case"A":e(t[n],o.index,o.item);break;case"D":case"E":t[n]=o.lhs;break;case"N":t=l(t,n)}return t}(i[n.path[o]],n.index,n.item);break;case"D":case"E":i[n.path[o]]=n.lhs;break;case"N":delete i[n.path[o]]}}},enumerable:!0},isConflict:{value:function(){return"undefined"!=typeof $conflict},enumerable:!0}}),h.DeepDiff=h,e&&(e.DeepDiff=h);return h}(this),void 0===(o=function(){return r}.call(t,n,t,e))||(e.exports=o)},function(e,t){var n=new Error("Element already at target scroll position"),o=new Error("Scroll cancelled"),r=Math.min,i=Date.now;function a(e){return function(t,a,c,u){"function"==typeof(c=c||{})&&(u=c,c={}),"function"!=typeof u&&(u=l);var p=i(),f=t[e],d=c.ease||s,h=isNaN(c.duration)?350:+c.duration,m=!1;return f===a?u(n,t[e]):requestAnimationFrame(function n(s){if(m)return u(o,t[e]);var l=i();var c=r(1,(l-p)/h);var y=d(c);t[e]=y*(a-f)+f;c<1?requestAnimationFrame(n):requestAnimationFrame(function(){u(null,t[e])})}),function(){m=!0}}}function s(e){return.5*(1-Math.cos(Math.PI*e))}function l(){}e.exports={left:a("scrollLeft"),top:a("scrollTop")}},function(e,t,n){"use strict";(function(e){var o=n(1),r=n.n(o),i=n(0),a=n.n(i),s=n(11),l=n.n(s),c=n(12),u=n(4),p=n.n(u),f=n(2),d=n(6),h=n(5),m=n.n(h),y=n(9);function b(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function v(e,t,n){return t&&g(e.prototype,t),n&&g(e,n),e}function w(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function E(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},o=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),o.forEach(function(t){w(e,t,n[t])})}return e}function S(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&T(e,t)}function O(e){return(O=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function T(e,t){return(T=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function k(e,t){if(null==e)return{};var n,o,r=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function N(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function C(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?N(e):t}var I={flip:{padding:20},preventOverflow:{padding:10}},P={INIT:"init",IDLE:"idle",OPENING:"opening",OPEN:"open",CLOSING:"closing",ERROR:"error"},R=n.n(y).a.canUseDOM,x=void 0!==m.a.createPortal;function _(){return"ontouchstart"in window&&/Mobi/.test(navigator.userAgent)}function j(e){var t=e.title,n=e.data,o=e.warn,r=void 0!==o&&o,i=e.debug,a=void 0!==i&&i,s=r?console.warn||console.error:console.log;a&&t&&n&&(console.groupCollapsed("%creact-floater: ".concat(t),"color: #9b00ff; font-weight: bold; font-size: 12px;"),Array.isArray(n)?n.forEach(function(e){f.a.plainObject(e)&&e.key?s.apply(console,[e.key,e.value]):s.apply(console,[e])}):s.apply(console,[n]),console.groupEnd())}function M(){}var A=function(e){function t(e){var n;return b(this,t),n=C(this,O(t).call(this,e)),R?(n.node=document.createElement("div"),e.id&&(n.node.id=e.id),e.zIndex&&(n.node.style.zIndex=e.zIndex),document.body.appendChild(n.node),n):C(n)}return S(t,r.a.Component),v(t,[{key:"componentDidMount",value:function(){R&&(x||this.renderPortal())}},{key:"componentDidUpdate",value:function(){R&&(x||this.renderPortal())}},{key:"componentWillUnmount",value:function(){R&&this.node&&(x||m.a.unmountComponentAtNode(this.node),document.body.removeChild(this.node))}},{key:"renderPortal",value:function(){if(!R)return null;var e=this.props,t=e.children,n=e.setRef;return x?m.a.createPortal(t,this.node):(n(m.a.unstable_renderSubtreeIntoContainer(this,t.length>1?r.a.createElement("div",null,t):t[0],this.node)),null)}},{key:"renderReact16",value:function(){var e=this.props,t=e.hasChildren,n=e.placement,o=e.target;return t?this.renderPortal():o||"center"===n?this.renderPortal():null}},{key:"render",value:function(){return x?this.renderReact16():null}}]),t}();w(A,"propTypes",{children:a.a.oneOfType([a.a.element,a.a.array]),hasChildren:a.a.bool,id:a.a.oneOfType([a.a.string,a.a.number]),placement:a.a.string,setRef:a.a.func.isRequired,target:a.a.oneOfType([a.a.object,a.a.string]),zIndex:a.a.number});var L=function(e){function t(){return b(this,t),C(this,O(t).apply(this,arguments))}return S(t,r.a.Component),v(t,[{key:"render",value:function(){var e,t=this.props,n=t.placement,o=t.setArrowRef,i=t.styles.arrow,a=i.color,s=i.display,l=i.length,c=i.margin,u=i.position,p=i.spread,f={display:s,position:u},d=p,h=l;return n.startsWith("top")?(e="0,0 ".concat(d/2,",").concat(h," ").concat(d,",0"),f.bottom=0,f.marginLeft=c,f.marginRight=c):n.startsWith("bottom")?(e="".concat(d,",").concat(h," ").concat(d/2,",0 0,").concat(h),f.top=0,f.marginLeft=c,f.marginRight=c):n.startsWith("left")?(h=p,e="0,0 ".concat(d=l,",").concat(h/2," 0,").concat(h),f.right=0,f.marginTop=c,f.marginBottom=c):n.startsWith("right")&&(h=p,e="".concat(d=l,",").concat(h," ").concat(d,",0 0,").concat(h/2),f.left=0,f.marginTop=c,f.marginBottom=c),r.a.createElement("div",{className:"__floater__arrow",style:this.parentStyle},r.a.createElement("span",{ref:o,style:f},r.a.createElement("svg",{width:d,height:h,version:"1.1",xmlns:"http://www.w3.org/2000/svg"},r.a.createElement("polygon",{points:e,fill:a}))))}},{key:"parentStyle",get:function(){var e=this.props,t=e.placement,n=e.styles.arrow.length,o={position:"absolute"};return t.startsWith("top")?(o.bottom=0,o.left=0,o.right=0,o.height=n):t.startsWith("bottom")?(o.left=0,o.right=0,o.top=0,o.height=n):t.startsWith("left")?(o.right=0,o.top=0,o.bottom=0):t.startsWith("right")&&(o.left=0,o.top=0),o}}]),t}();w(L,"propTypes",{placement:a.a.string.isRequired,setArrowRef:a.a.func.isRequired,styles:a.a.object.isRequired});var D=function(e){var t=e.handleClick,n=e.styles,o=n.color,i=n.height,a=n.width,s=k(n,["color","height","width"]);return r.a.createElement("button",{"aria-label":"close",onClick:t,style:s,type:"button"},r.a.createElement("svg",{width:"".concat(a,"px"),height:"".concat(i,"px"),viewBox:"0 0 18 18",version:"1.1",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid"},r.a.createElement("g",null,r.a.createElement("path",{d:"M8.13911129,9.00268191 L0.171521827,17.0258467 C-0.0498027049,17.248715 -0.0498027049,17.6098394 0.171521827,17.8327545 C0.28204354,17.9443526 0.427188206,17.9998706 0.572051765,17.9998706 C0.71714958,17.9998706 0.862013139,17.9443526 0.972581703,17.8327545 L9.0000937,9.74924618 L17.0276057,17.8327545 C17.1384085,17.9443526 17.2832721,17.9998706 17.4281356,17.9998706 C17.5729992,17.9998706 17.718097,17.9443526 17.8286656,17.8327545 C18.0499901,17.6098862 18.0499901,17.2487618 17.8286656,17.0258467 L9.86135722,9.00268191 L17.8340066,0.973848225 C18.0553311,0.750979934 18.0553311,0.389855532 17.8340066,0.16694039 C17.6126821,-0.0556467968 17.254037,-0.0556467968 17.0329467,0.16694039 L9.00042166,8.25611765 L0.967006424,0.167268345 C0.745681892,-0.0553188426 0.387317931,-0.0553188426 0.165993399,0.167268345 C-0.0553311331,0.390136635 -0.0553311331,0.751261038 0.165993399,0.974176179 L8.13920499,9.00268191 L8.13911129,9.00268191 Z",fill:o}))))};D.propTypes={handleClick:a.a.func.isRequired,styles:a.a.object.isRequired};var B=function(e){var t=e.content,n=e.footer,o=e.handleClick,i=e.open,a=e.positionWrapper,s=e.showCloseButton,l=e.title,c=e.styles,u={content:r.a.isValidElement(t)?t:r.a.createElement("div",{className:"__floater__content",style:c.content},t)};return l&&(u.title=r.a.isValidElement(l)?l:r.a.createElement("div",{className:"__floater__title",style:c.title},l)),n&&(u.footer=r.a.isValidElement(n)?n:r.a.createElement("div",{className:"__floater__footer",style:c.footer},n)),!s&&!a||f.a.boolean(i)||(u.close=r.a.createElement(D,{styles:c.close,handleClick:o})),r.a.createElement("div",{className:"__floater__container",style:c.container},u.close,u.title,u.content,u.footer)};B.propTypes={content:a.a.node.isRequired,footer:a.a.node,handleClick:a.a.func.isRequired,open:a.a.bool,positionWrapper:a.a.bool.isRequired,showCloseButton:a.a.bool.isRequired,styles:a.a.object.isRequired,title:a.a.node};var F=function(e){function t(){return b(this,t),C(this,O(t).apply(this,arguments))}return S(t,r.a.Component),v(t,[{key:"render",value:function(){var e=this.props,t=e.component,n=e.handleClick,o=e.hideArrow,i=e.setFloaterRef,a=e.status,s={},l=["__floater"];return t?r.a.isValidElement(t)?s.content=r.a.cloneElement(t,{closeFn:n}):s.content=t({closeFn:n}):s.content=r.a.createElement(B,this.props),a===P.OPEN&&l.push("__floater__open"),o||(s.arrow=r.a.createElement(L,this.props)),r.a.createElement("div",{ref:i,className:l.join(" "),style:this.style},r.a.createElement("div",{className:"__floater__body"},s.content,s.arrow))}},{key:"style",get:function(){var e=this.props,t=e.disableAnimation,n=e.component,o=e.placement,r=e.hideArrow,i=e.isPositioned,a=e.status,s=e.styles,l=s.arrow.length,c=s.floater,u=s.floaterCentered,p=s.floaterClosing,f=s.floaterOpening,d=s.floaterWithAnimation,h=s.floaterWithComponent,m={};return r||(o.startsWith("top")?m.padding="0 0 ".concat(l,"px"):o.startsWith("bottom")?m.padding="".concat(l,"px 0 0"):o.startsWith("left")?m.padding="0 ".concat(l,"px 0 0"):o.startsWith("right")&&(m.padding="0 0 0 ".concat(l,"px"))),[P.OPENING,P.OPEN].includes(a)&&(m=E({},m,f)),a===P.CLOSING&&(m=E({},m,p)),a!==P.OPEN||t||i||(m=E({},m,d)),"center"===o&&(m=E({},m,u)),n&&(m=E({},m,h)),E({},c,m)}}]),t}();w(F,"propTypes",{component:a.a.oneOfType([a.a.func,a.a.element]),content:a.a.node,disableAnimation:a.a.bool.isRequired,footer:a.a.node,handleClick:a.a.func.isRequired,hideArrow:a.a.bool.isRequired,isPositioned:a.a.bool,open:a.a.bool,placement:a.a.string.isRequired,positionWrapper:a.a.bool.isRequired,setArrowRef:a.a.func.isRequired,setFloaterRef:a.a.func.isRequired,showCloseButton:a.a.bool,status:a.a.string.isRequired,styles:a.a.object.isRequired,title:a.a.node});var q=function(e){function t(){return b(this,t),C(this,O(t).apply(this,arguments))}return S(t,r.a.Component),v(t,[{key:"render",value:function(){var e,t=this.props,n=t.children,o=t.handleClick,i=t.handleMouseEnter,a=t.handleMouseLeave,s=t.setChildRef,l=t.setWrapperRef,c=t.style,u=t.styles;if(n)if(1===r.a.Children.count(n))if(r.a.isValidElement(n)){var p=f.a.function(n.type)?"innerRef":"ref";e=r.a.cloneElement(r.a.Children.only(n),w({},p,s))}else e=r.a.createElement("span",null,n);else e=n;return e?r.a.createElement("span",{ref:l,style:E({},u,c),onClick:o,onMouseEnter:i,onMouseLeave:a},e):null}}]),t}();w(q,"propTypes",{children:a.a.node,handleClick:a.a.func.isRequired,handleMouseEnter:a.a.func.isRequired,handleMouseLeave:a.a.func.isRequired,setChildRef:a.a.func.isRequired,setWrapperRef:a.a.func.isRequired,style:a.a.object,styles:a.a.object.isRequired});var U={zIndex:100};var W=["position","top","right","bottom","left"],z=function(t){function n(e){var t;return b(this,n),w(N(N(t=C(this,O(n).call(this,e)))),"setArrowRef",function(e){t.arrowRef=e}),w(N(N(t)),"setChildRef",function(e){t.childRef=e}),w(N(N(t)),"setFloaterRef",function(e){t.floaterRef||(t.floaterRef=e)}),w(N(N(t)),"setWrapperRef",function(e){t.wrapperRef=e}),w(N(N(t)),"handleTransitionEnd",function(){var e=t.state.status,n=t.props.callback;t.wrapperPopper&&t.wrapperPopper.instance.update(),t.setState({status:e===P.OPENING?P.OPEN:P.IDLE},function(){var e=t.state.status;n(e===P.OPEN?"open":"close",t.props)})}),w(N(N(t)),"handleClick",function(){var e=t.props,n=e.event,o=e.open;if(!f.a.boolean(o)){var r=t.state,i=r.positionWrapper,a=r.status;("click"===t.event||"hover"===t.event&&i)&&(j({title:"click",data:[{event:n,status:a===P.OPEN?"closing":"opening"}],debug:t.debug}),t.toggle())}}),w(N(N(t)),"handleMouseEnter",function(){var e=t.props,n=e.event,o=e.open;if(!f.a.boolean(o)&&!_()){var r=t.state.status;"hover"===t.event&&r===P.IDLE&&(j({title:"mouseEnter",data:[{key:"originalEvent",value:n}],debug:t.debug}),clearTimeout(t.eventDelayTimeout),t.toggle())}}),w(N(N(t)),"handleMouseLeave",function(){var e=t.props,n=e.event,o=e.eventDelay,r=e.open;if(!f.a.boolean(r)&&!_()){var i=t.state,a=i.status,s=i.positionWrapper;"hover"===t.event&&(j({title:"mouseLeave",data:[{key:"originalEvent",value:n}],debug:t.debug}),o?![P.OPENING,P.OPEN].includes(a)||s||t.eventDelayTimeout||(t.eventDelayTimeout=setTimeout(function(){delete t.eventDelayTimeout,t.toggle()},1e3*o)):t.toggle(P.IDLE))}}),t.state={currentPlacement:e.placement,positionWrapper:e.wrapperOptions.position&&!!e.target,status:P.INIT,statusWrapper:P.INIT},t._isMounted=!1,R&&window.addEventListener("load",function(){t.popper&&t.popper.instance.update(),t.wrapperPopper&&t.wrapperPopper.instance.update()}),t}return S(n,r.a.Component),v(n,[{key:"componentDidMount",value:function(){if(R){var e=this.state.positionWrapper,t=this.props,n=t.children,o=t.open,r=t.target;this._isMounted=!0,j({title:"init",data:{hasChildren:!!n,hasTarget:!!r,isControlled:f.a.boolean(o),positionWrapper:e,target:this.target,floater:this.floaterRef},debug:this.debug}),this.initPopper(),!n&&r&&f.a.boolean(o)}}},{key:"componentDidUpdate",value:function(e,t){if(R){var n=this.props,o=n.autoOpen,r=n.open,i=n.target,a=n.wrapperOptions,s=Object(d.a)(t,this.state),l=s.changedFrom,c=s.changedTo;e.open!==r&&this.toggle(),e.wrapperOptions.position===a.position&&e.target===i||this.changeWrapperPosition(this.props),c("status",P.IDLE)&&r?this.toggle(P.OPEN):l("status",P.INIT,P.IDLE)&&o&&this.toggle(P.OPEN),this.popper&&c("status",P.OPENING)&&this.popper.instance.update(),this.floaterRef&&(c("status",P.OPENING)||c("status",P.CLOSING))&&function(e,t,n){var o,r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];o=function(r){n(r),function(e,t,n){var o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];e.removeEventListener(t,n,o)}(e,t,o)},function(e,t,n){var o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];e.addEventListener(t,n,o)}(e,t,o,r)}(this.floaterRef,"transitionend",this.handleTransitionEnd)}}},{key:"componentWillUnmount",value:function(){R&&(this._isMounted=!1,this.popper&&this.popper.instance.destroy(),this.wrapperPopper&&this.wrapperPopper.instance.destroy())}},{key:"initPopper",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.target,n=this.state.positionWrapper,o=this.props,r=o.disableFlip,i=o.getPopper,a=o.hideArrow,s=o.offset,l=o.placement,u=o.wrapperOptions,p="top"===l||"bottom"===l?"flip":["right","bottom-end","top-end","left","top-start","bottom-start"];if("center"===l?this.setState({status:P.IDLE}):t&&this.floaterRef&&new c.a(t,this.floaterRef,{placement:l,modifiers:{arrow:E({enabled:!a,element:this.arrowRef},this.options.arrow),computeStyle:this.options.computeStyle,flip:E({enabled:!r,behavior:p},this.options.flip),keepTogether:this.options.keepTogether,hide:this.options.hide,inner:this.options.inner,offset:E({offset:"0, ".concat(s,"px")},this.options.offset),preventOverflow:this.options.preventOverflow,shift:this.options.shift},onCreate:function(t){e.popper=t,i(t,"floater"),e._isMounted&&e.setState({currentPlacement:t.placement,status:P.IDLE}),l!==t.placement&&setTimeout(function(){t.instance.update()},1)},onUpdate:function(t){e.popper=t;var n=e.state.currentPlacement;e._isMounted&&t.placement!==n&&e.setState({currentPlacement:t.placement})}}),n){var d=f.a.undefined(u.offset)?0:u.offset;new c.a(this.target,this.wrapperRef,{placement:u.placement||l,modifiers:{arrow:{enabled:!1},offset:{offset:"0, ".concat(d,"px")},flip:{enabled:!1}},onCreate:function(t){e.wrapperPopper=t,e._isMounted&&e.setState({statusWrapper:P.IDLE}),i(t,"wrapper"),l!==t.placement&&setTimeout(function(){t.instance.update()},1)}})}}},{key:"changeWrapperPosition",value:function(e){var t=e.target,n=e.wrapperOptions;this.setState({positionWrapper:n.position&&!!t})}},{key:"toggle",value:function(e){var t=this.state.status===P.OPEN?P.CLOSING:P.OPENING;f.a.undefined(e)||(t=e),this.setState({status:t})}},{key:"render",value:function(){var e=this.state,t=e.currentPlacement,n=e.positionWrapper,o=e.status,i=this.props,a=i.children,s=i.component,l=i.content,c=i.disableAnimation,u=i.footer,p=i.hideArrow,f=i.id,d=i.isPositioned,h=i.open,m=i.showCloseButton,y=i.style,b=i.target,g=i.title,v=r.a.createElement(q,{handleClick:this.handleClick,handleMouseEnter:this.handleMouseEnter,handleMouseLeave:this.handleMouseLeave,setChildRef:this.setChildRef,setWrapperRef:this.setWrapperRef,style:y,styles:this.styles.wrapper},a),w={};return n?w.wrapperInPortal=v:w.wrapperAsChildren=v,r.a.createElement("span",null,r.a.createElement(A,{hasChildren:!!a,id:f,placement:t,setRef:this.setFloaterRef,target:b,zIndex:this.styles.options.zIndex},r.a.createElement(F,{component:s,content:l,disableAnimation:c,footer:u,handleClick:this.handleClick,hideArrow:p||"center"===t,isPositioned:d,open:h,placement:t,positionWrapper:n,setArrowRef:this.setArrowRef,setFloaterRef:this.setFloaterRef,showCloseButton:m,status:o,styles:this.styles,title:g}),w.wrapperInPortal),w.wrapperAsChildren)}},{key:"debug",get:function(){return this.props.debug||!!e.ReactFloaterDebug}},{key:"event",get:function(){var e=this.props,t=e.disableHoverToClick,n=e.event;return"hover"===n&&_()&&!t?"click":n}},{key:"options",get:function(){var e=this.props.options;return p()(I,e||{})}},{key:"styles",get:function(){var e,t=this,n=this.state,o=n.status,r=n.positionWrapper,i=n.statusWrapper,a=this.props.styles,s=p()(function(e){var t=p()(U,e.options||{});return{wrapper:{cursor:"help",display:"inline-flex",flexDirection:"column",zIndex:t.zIndex},wrapperPosition:{left:-1e3,position:"absolute",top:-1e3,visibility:"hidden"},floater:{display:"inline-block",filter:"drop-shadow(0 0 3px rgba(0, 0, 0, 0.3))",maxWidth:300,opacity:0,position:"relative",transition:"opacity 0.3s",visibility:"hidden",zIndex:t.zIndex},floaterOpening:{opacity:1,visibility:"visible"},floaterWithAnimation:{opacity:1,transition:"opacity 0.3s, transform 0.2s",visibility:"visible"},floaterWithComponent:{maxWidth:"100%"},floaterClosing:{opacity:0,visibility:"visible"},floaterCentered:{left:"50%",position:"fixed",top:"50%",transform:"translate(-50%, -50%)"},container:{backgroundColor:"#fff",color:"#666",minHeight:60,minWidth:200,padding:20,position:"relative"},title:{borderBottom:"1px solid #555",color:"#555",fontSize:18,marginBottom:5,paddingBottom:6,paddingRight:18},content:{fontSize:15},close:{backgroundColor:"transparent",border:0,borderRadius:0,color:"#555",fontSize:0,height:15,outline:"none",padding:10,position:"absolute",right:0,top:0,width:15,WebkitAppearance:"none"},footer:{borderTop:"1px solid #ccc",fontSize:13,marginTop:10,paddingTop:5},arrow:{color:"#fff",display:"inline-flex",length:16,margin:8,position:"absolute",spread:32},options:t}}(a),a);r&&(e=[P.IDLE].includes(o)&&[P.IDLE].includes(i)?this.wrapperPopper.styles:s.wrapperPosition,s.wrapper=E({},s.wrapper,e));if(this.target){var l=window.getComputedStyle(this.target);this.wrapperStyles?s.wrapper=E({},s.wrapper,this.wrapperStyles):["relative","static"].includes(l.position)||(this.wrapperStyles={},r||(W.forEach(function(e){t.wrapperStyles[e]=l[e]}),s.wrapper=E({},s.wrapper,this.wrapperStyles),this.target.style.position="relative",this.target.style.top="auto",this.target.style.right="auto",this.target.style.bottom="auto",this.target.style.left="auto"))}return s}},{key:"target",get:function(){if(!R)return null;var e=this.props.target;return e?f.a.domElement(e)?e:document.querySelector(e):this.childRef||this.wrapperRef}}]),n}();w(z,"propTypes",{autoOpen:a.a.bool,callback:a.a.func,children:a.a.node,component:l()(a.a.oneOfType([a.a.func,a.a.element]),function(e){return!e.content}),content:l()(a.a.node,function(e){return!e.component}),debug:a.a.bool,disableAnimation:a.a.bool,disableFlip:a.a.bool,disableHoverToClick:a.a.bool,event:a.a.oneOf(["hover","click"]),eventDelay:a.a.number,footer:a.a.node,getPopper:a.a.func,hideArrow:a.a.bool,id:a.a.oneOfType([a.a.string,a.a.number]),isPositioned:a.a.bool,offset:a.a.number,open:a.a.bool,options:a.a.object,placement:a.a.oneOf(["top","top-start","top-end","bottom","bottom-start","bottom-end","left","left-start","left-end","right","right-start","right-end","auto","center"]),showCloseButton:a.a.bool,style:a.a.object,styles:a.a.object,target:a.a.oneOfType([a.a.object,a.a.string]),title:a.a.node,wrapperOptions:a.a.shape({offset:a.a.number,placement:a.a.oneOf(["top","top-start","top-end","bottom","bottom-start","bottom-end","left","left-start","left-end","right","right-start","right-end","auto"]),position:a.a.bool})}),w(z,"defaultProps",{autoOpen:!1,callback:M,debug:!1,disableAnimation:!1,disableFlip:!1,disableHoverToClick:!1,event:"click",eventDelay:.4,getPopper:M,hideArrow:!1,offset:15,placement:"bottom",showCloseButton:!1,styles:{},target:null,wrapperOptions:{position:!1}}),t.a=z}).call(this,n(13))},function(e,t,n){var o;
45
- /*!
46
- Copyright (c) 2017 Jed Watson.
47
- Licensed under the MIT License (MIT), see
48
- http://jedwatson.github.io/classnames
49
- */
50
/*!
51
Copyright (c) 2017 Jed Watson.
52
Licensed under the MIT License (MIT), see
53
http://jedwatson.github.io/classnames
54
- */
55
- !function(){"use strict";var n={}.hasOwnProperty;function r(){for(var e=[],t=0;t<arguments.length;t++){var o=arguments[t];if(o){var i=typeof o;if("string"===i||"number"===i)e.push(o);else if(Array.isArray(o)&&o.length){var a=r.apply(null,o);a&&e.push(a)}else if("object"===i)for(var s in o)n.call(o,s)&&o[s]&&e.push(s)}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):void 0===(o=function(){return r}.apply(t,[]))||(e.exports=o)}()},function(e,t,n){e.exports=function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=6)}([function(e,t){e.exports=n(1)},function(e,t,n){e.exports=n(2)()},function(e,t,n){"use strict";var o=n(3);function r(){}e.exports=function(){function e(e,t,n,r,i,a){if(a!==o){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}var n={array:e.isRequired=e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return n.checkPropTypes=r,n.PropTypes=n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){},,function(e,t,n){"use strict";n.r(t);var o=n(0),r=n.n(o),i="notification-item",a={BOTTOM_LEFT:"bottom-left",BOTTOM_RIGHT:"bottom-right",BOTTOM_CENTER:"bottom-center",TOP_LEFT:"top-left",TOP_RIGHT:"top-right",TOP_CENTER:"top-center"},s={TOP:"top",BOTTOM:"bottom"},l={SUCCESS:"success",DANGER:"danger",INFO:"info",DEFAULT:"default",WARNING:"warning"},c="SLIDING_ANIMATION_EXIT",u="TOUCH_SLIDING_ANIMATION_EXIT",p="REMOVAL",f={TIMEOUT:1,CLICK:2,TOUCH:3,MANUAL:4},d={DISMISS_ICON_CLASS:"className property of dismissIcon option is required",DISMISS_ICON_CONTENT:"content property of dismissIcon option is required",DISMISS_ICON_STRING:"className property of dismissIcon option must be a String",DISMISS_ICON_INVALID:"content property of dismissIcon option must be a valid React element",ANIMATION_IN:"animationIn option must be an array",ANIMATION_OUT:"animationOut option must be an array",DISMISS_REQUIRED:"duration property of dismiss option is required",DISMISS_NUMBER:"duration property of dismiss option must be a Number",DISMISS_POSITIVE:"duration property of dismiss option must be a positive Number",TITLE_STRING:"title option must be a String.",MESSAGE_REQUIRED:"message option is required",MESSAGE_STRING:"message option must be a String",TYPE_REQUIRED:"type option is required",TYPE_STRING:"type option must be a String",TYPE_NOT_EXISTENT:"type option not found",CONTAINER_REQUIRED:"container option is required",CONTAINER_STRING:"container option must be a String",DISMISSABLE_CLICK_BOOL:"click property of dismissable option must be a Boolean",DISMISSABLE_TOUCH_BOOL:"touch property of dismissable option must be a Boolean",WIDTH_NUMBER:"width option must be a Number",INSERT_STRING:"insert option must be a String",TRANSITION_DURATION_NUMBER:"duration property of transition option must be a Number",TRANSITION_CUBICBEZIER_NUMBER:"cubicBezier property of transition option must be a String",TRANSITION_DELAY_NUMBER:"delay property of transition option must be a Number",TYPE_NOT_FOUND:"custom type not found"};function h(e){return e?"".concat(e,"px"):void 0}function m(e){return null==e}function y(e){return"string"==typeof e}function b(e){return"number"==typeof e}function g(e){return"boolean"==typeof e}function v(e){return!m(e)&&e.constructor===Array}function w(e,t){var n=t.duration,o=t.cubicBezier,r=t.delay,i=e||{};if(m(i.duration)&&(i.duration=n),m(i.cubicBezier)&&(i.cubicBezier=o),m(i.delay)&&(i.delay=r),!b(i.duration))throw new Error(d.TRANSITION_DURATION_NUMBER);if(!y(i.cubicBezier))throw new Error(d.TRANSITION_CUBICBEZIER_NUMBER);if(!b(i.delay))throw new Error(d.TRANSITION_DELAY_NUMBER);return i}function E(e){return e===a.BOTTOM_LEFT||e===a.BOTTOM_RIGHT||e===a.BOTTOM_CENTER}function S(e){return e===a.TOP_LEFT||e===a.TOP_RIGHT||e===a.TOP_CENTER}function O(e){var t=e.type,n=e.userDefinedTypes;if(e.content)return[i];if(!n)return function(e){switch(t.toLowerCase()){case l.DEFAULT:return[i,"notification-default"];case l.SUCCESS:return[i,"notification-success"];case l.DANGER:return[i,"notification-danger"];case l.WARNING:return[i,"notification-warning"];case l.INFO:return[i,"notification-info"];default:return[i]}}();var o=n.find(function(e){return e.name===t});if(!o)throw new Error(d.TYPE_NOT_FOUND);return[i].concat(o.htmlClasses)}function T(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:500,t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"linear",n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:0,o=3<arguments.length&&void 0!==arguments[3]?arguments[3]:"height";return"".concat(e,"ms ").concat(o," ").concat(t," ").concat(n,"ms")}function k(e){return T(e.slidingExit.duration,e.slidingExit.cubicBezier,e.slidingExit.delay,"all")}function N(e,t,n){var o,r,i=2*window.innerWidth,a=T((o=e.touchSlidingExit.swipe).duration,o.cubicBezier,o.delay,"left"),s=T((r=e.touchSlidingExit.fade).duration,r.cubicBezier,r.delay,"opacity");return{opacity:0,position:"relative",transition:"".concat(a,", ").concat(s),left:"".concat(0<=n-t?i:-i,"px")}}function C(e,t){return{height:"".concat(t,"px"),width:h(e.width),transition:T(e.slidingExit.duration,e.slidingExit.cubicBezier,e.slidingExit.delay)}}function I(e){return(I="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function P(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function R(e){return(R=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function x(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _(e,t){return(_=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var j=function(e){function t(e){var n,o;return function(e,n){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this),this,(n=!(o=R(t).call(this,e))||"object"!==I(o)&&"function"!=typeof o?x(this):o).endOfSmartSliding=!1,n.onTransitionEnd=n.onTransitionEnd.bind(x(n)),n.onNotificationClick=n.onNotificationClick.bind(x(n)),n.setDismissTimeout=n.setDismissTimeout.bind(x(n)),n.onSmartSlidingEnd=n.onSmartSlidingEnd.bind(x(n)),n.onTouchSmartSlidingEnd=n.onTouchSmartSlidingEnd.bind(x(n)),n.onTouchStart=n.onTouchStart.bind(x(n)),n.onTouchMove=n.onTouchMove.bind(x(n)),n.onTouchEnd=n.onTouchEnd.bind(x(n)),n.rootDOM=r.a.createRef(),n.state=function(e){var t,n=e.notification,o=e.isFirstNotification,r=((t=n).insert===s.TOP&&S(t.container)||t.insert===s.BOTTOM&&E(t.container))&&!o,i={};return i.animatedElementClasses=O(n),i.rootElementStyle={height:"0",marginBottom:0,overflow:"hidden",width:h(n.width)},r?i.animatedElementClasses.push("notification-invisible"):n.animationIn&&0<n.animationIn.length&&n.animationIn.forEach(function(e){return i.animatedElementClasses.push(e)}),i.hasSliding=r,i}(e),n}var n,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_(e,t)}(t,r.a.Component),n=t,(o=[{key:"componentDidMount",value:function(){this.smartSliding(),this.setRemovalTimeout(this.props.notification.dismiss)}},{key:"componentWillUnmount",value:function(){this.timeoutId&&(this.timeoutId=clearTimeout(this.timeoutId))}},{key:"setDismissTimeout",value:function(e){var t=this;this.timeoutId=setTimeout(function(){var e=t.props,n=e.notification,o=e.toggleTimeoutRemoval;n.stage!==p&&n.stage!==u&&t.setState({rootElementStyle:C(n,t.rootDOM.current.scrollHeight)},function(){return requestAnimationFrame(function(){return o(n)})})},e)}},{key:"setRemovalTimeout",value:function(e){e&&0<e.duration&&this.setDismissTimeout(e.duration)}},{key:"onTransitionEnd",value:function(){var e=this.props.notification,t=e.animationIn,n=O(e);n.push("notification-visible"),n=n.concat(t||[]),this.setState({animatedElementClasses:n,rootElementStyle:{height:"auto",width:h(e.width)}})}},{key:"onTouchSmartSlidingEnd",value:function(e){e.stopPropagation(),e.target.isSameNode(this.rootDOM.current)&&(this.endOfSmartSliding&&this.props.toggleRemoval(this.props.notification),this.endOfSmartSliding=!0)}},{key:"onSmartSlidingEnd",value:function(){var e=this.props.notification;e.animationOut&&e.animationOut.length&&!this.endOfSmartSliding||this.props.toggleRemoval(e),this.endOfSmartSliding=!0}},{key:"smartSliding",value:function(){var e=this.props.notification,t=e.slidingEnter,n=O(e),o={transition:e.resized?void 0:T(t.duration,t.cubicBezier,t.delay),width:h(e.width),height:"".concat(this.rootDOM.current.scrollHeight,"px")};!e.resized&&e.animationIn&&0<e.animationIn.length&&e.animationIn.forEach(function(e){return n.push(e)}),this.setState({rootElementStyle:o,animatedElementClasses:n})}},{key:"onNotificationClick",value:function(){var e=this,t=this.props.notification,n=C(t,this.rootDOM.current.scrollHeight);this.setState({rootElementStyle:n},function(){return requestAnimationFrame(function(){e.props.onClickHandler(t)})})}},{key:"onTouchStart",value:function(e){this.setState({startX:e.touches[0].pageX,currentX:e.touches[0].pageX})}},{key:"onTouchMove",value:function(e){var t,n,o=this.props,r=o.notification,i=o.toggleTouchEnd,a=e.touches[0].pageX-this.state.startX;t=a,n=Math.abs(t),.4*window.innerWidth<=n?this.setState({animatedElementClasses:O(r),rootElementStyle:C(r,this.rootDOM.current.scrollHeight)},function(){requestAnimationFrame(function(){return i(r)})}):this.setState({currentX:e.touches[0].pageX,childElementStyle:{position:"relative",left:"".concat(0+a,"px")}})}},{key:"onTouchEnd",value:function(){var e=this.props.notification.touchSlidingBack;this.setState({childElementStyle:{left:"0",position:"relative",transition:T(e.duration,e.cubicBezier,e.delay,"left")}})}},{key:"render",value:function(){var e=this.props.notification,t=this.state.childElementStyle,n=this.onAnimationEnd,o=null,i=!1,a=this.state.hasSliding?this.onTransitionEnd:null,s=function(e,t){var n,o,r,i,a,s,l,p,f,d=u,m=c,y=t.animatedElementClasses,b=t.rootElementStyle,g=t.currentX,v=t.startX;return e.stage===d?(i=g,a=v,s=O(r=e),{childElementStyle:N(r,a,i),animatedElementClasses:s,rootElementStyle:{height:0,marginBottom:0,transition:k(r),width:h(r.width)}}):e.stage===m?(p=(l=e).animationOut,f=O(l),p&&p.forEach(function(e){return f.push(e)}),{rootElementStyle:{height:0,marginBottom:0,transition:k(l),width:h(l.width)},animatedElementClasses:f}):(n=e.resized?(o=b,O(e)):(o=b,y),{rootElementStyle:o,animatedElementClasses:n})}(e,this.state),l=(s.animatedElementClasses||[]).join(" "),f=s.rootElementStyle;if(e.dismissable.click&&(o=this.onNotificationClick),e.stage===p?(n=null,f=C(e,this.rootDOM.current.scrollHeight)):e.stage===c?(n=this.onSmartSlidingEnd,a=this.onSmartSlidingEnd):e.stage===u&&(n=this.onTouchSmartSlidingEnd,a=this.onTouchSmartSlidingEnd,o=null,t=s.childElementStyle,i=!0),e.content)return r.a.createElement("div",{onTouchStart:i?null:this.onTouchStart,onTouchMove:i?null:this.onTouchMove,onTouchEnd:i?null:this.onTouchEnd,onTouchCancel:i?null:this.onTouchEnd,onClick:o,className:"notification-item-root",onAnimationEnd:n,onTransitionEnd:a,ref:this.rootDOM,style:f},r.a.createElement("div",{className:"".concat(l," notification-item-child"),style:t},e.content));var d,m,y,b=r.a.createElement("div",{className:"notification-close",onClick:this.onNotificationClick},r.a.createElement("span",null,"×")),g=e.dismissIcon?(d=e,m=this.onNotificationClick,d.dismissIcon?r.a.createElement("div",{className:d.dismissIcon.className,onClick:m},d.dismissIcon.content):r.a.createElement("div",{className:"notification-close",onClick:m},r.a.createElement("span",null,"×"))):b;return e.title&&(y=r.a.createElement("h4",{className:"notification-title"},e.title)),r.a.createElement("div",{onTouchStart:i?null:this.onTouchStart,onTouchMove:i?null:this.onTouchMove,onTouchEnd:i?null:this.onTouchEnd,onTouchCancel:i?null:this.onTouchEnd,onClick:o,className:"notification-item-root",onAnimationEnd:n,onTransitionEnd:a,ref:this.rootDOM,style:f},r.a.createElement("div",{className:"".concat(l," notification-item-child"),style:t},r.a.createElement("div",{className:"notification-content"},g,y,r.a.createElement("p",{className:"notification-message"},this.props.notification.message))))}}])&&P(n.prototype,o),t}(),M=n(1),A=n.n(M);function L(e){return(L="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function D(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function B(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function F(e){return(F=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function q(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function U(e,t){return(U=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}n(4);var W=function(e){function t(e){var n,o;return function(e,n){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this),this,(n=!(o=F(t).call(this,e))||"object"!==L(o)&&"function"!=typeof o?q(this):o).state={isMobile:e.isMobile,breakpoint:e.breakpoint,notifications:[]},v(e.types)&&(n.state.userDefinedTypes=e.types),n.addNotification=n.addNotification.bind(q(n)),n.onNotificationClick=n.onNotificationClick.bind(q(n)),n.toggleRemoval=n.toggleRemoval.bind(q(n)),n.toggleTimeoutRemoval=n.toggleTimeoutRemoval.bind(q(n)),n.handleResize=n.handleResize.bind(q(n)),n.renderReactNotifications=n.renderReactNotifications.bind(q(n)),n.toggleTouchEnd=n.toggleTouchEnd.bind(q(n)),n}var n,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&U(e,t)}(t,r.a.Component),n=t,(o=[{key:"componentDidMount",value:function(){var e=this;this.setState({width:window.innerWidth},function(){window.addEventListener("resize",e.handleResize)})}},{key:"componentWillUnmount",value:function(){this.mounted=!1}},{key:"handleResize",value:function(){this.setState({width:window.innerWidth,notifications:this.state.notifications.map(function(e){return e.resized=!0,e})})}},{key:"toggleTimeoutRemoval",value:function(e){var t=c,n=f.TIMEOUT;this.setState({notifications:this.state.notifications.map(function(o){return o.id===e.id&&(o.stage=t,o.removedBy=n),o})})}},{key:"addNotification",value:function(e){var t=function(e,t){var n=e,o=n.insert,i=n.container,a=n.dismissIcon,s=n.animationIn,c=n.animationOut,u=n.slidingEnter,p=n.slidingExit,f=n.touchSlidingBack,h=n.touchSlidingExit,E=n.dismissable,S=n.dismiss,O=n.width,T=n.id;return n.id=T||Math.random().toString(36).substr(2,9),function(e){var t=e.content,n=e.title;if(!t&&!m(n)&&!y(n))throw new Error(d.TITLE_STRING)}(n),function(e){var t=e.content,n=e.message;if(!t){if(!n)throw new Error(d.MESSAGE_REQUIRED);if(!y(n))throw new Error(d.MESSAGE_STRING)}}(n),n.type=function(e,t){var n=e.content,o=e.type;if(!n){if(!o)throw new Error(d.TYPE_REQUIRED);if(!y(o))throw new Error(d.TYPE_STRING);if(!t&&o!==l.SUCCESS&&o!==l.DANGER&&o!==l.INFO&&o!==l.DEFAULT&&o!==l.WARNING)throw new Error(d.TYPE_NOT_EXISTENT);return o.toLowerCase()}}(n,t),t&&!n.content&&(n.userDefinedTypes=function(e,t){var n=e.type;if(!e.content&&n!==l.SUCCESS&&n!==l.DANGER&&n!==l.INFO&&n!==l.DEFAULT&&n!==l.WARNING&&t){if(!t.find(function(e){return e.name===n}))throw new Error(d.TYPE_NOT_FOUND);return t}}(n,t)),n.container=function(e){if(!e)throw new Error(d.CONTAINER_REQUIRED);if(!y(e))throw new Error(d.CONTAINER_STRING);return e.toLowerCase()}(i),n.insert=function(e){if(!e)return"top";if(!y(e))throw new Error(d.INSERT_STRING);return e.toLowerCase()}(o),n.dismissable=function(e){var t=E;if(!t)return{click:!0,touch:!0};if(m(t.click)&&(t.click=!0),m(t.touch)&&(t.touch=!0),!g(t.click))throw new Error(d.DISMISSABLE_CLICK_BOOL);if(!g(t.touch))throw new Error(d.DISMISSABLE_TOUCH_BOOL);return t}(),function(e){if(!m(e)){var t=e.className,n=e.content;if(!t)throw new Error(d.DISMISS_ICON_CLASS);if(!y(t))throw new Error(d.DISMISS_ICON_STRING);if(!n)throw new Error(d.DISMISS_ICON_CONTENT);if(!r.a.isValidElement(n))throw new Error(d.DISMISS_ICON_INVALID)}}(a),n.animationIn=function(e){if(m(e))return[];if(!v(e))throw new Error(d.ANIMATION_IN);return e}(s),n.animationOut=function(e){if(m(e))return[];if(!v(e))throw new Error(d.ANIMATION_OUT);return e}(c),m(O)||(n.width=function(e){if(m(e))return 0;if(!b(e))throw new Error(d.WIDTH_NUMBER);return e}(O)),n.slidingEnter=w(u,{duration:600,cubicBezier:"linear",delay:0}),n.slidingExit=w(p,{duration:600,cubicBezier:"linear",delay:0}),n.touchSlidingBack=w(f,{duration:600,cubicBezier:"ease-in",delay:0}),n.touchSlidingExit=h||{},n.touchSlidingExit.swipe=w(n.touchSlidingExit.swipe||{},{duration:600,cubicBezier:"ease-in",delay:0}),n.touchSlidingExit.fade=w(n.touchSlidingExit.fade||{},{duration:300,cubicBezier:"ease-in",delay:0}),function(e){if(e){if(m(e.duration))throw new Error(d.DISMISS_REQUIRED);if(!b(e.duration))throw new Error(d.DISMISS_NUMBER);if(e.duration<0)throw new Error(d.DISMISS_POSITIVE)}}(S),n}(e,this.state.userDefinedTypes);return this.setState(function(e){return{notifications:t.insert===s.TOP?[t].concat(D(e.notifications)):[].concat(D(e.notifications),[t])}}),t.id}},{key:"removeNotification",value:function(e){var t=this;this.setState({notifications:this.state.notifications.map(function(t){return t.id===e&&(t.stage=p,t.removedBy=f.API),t})},function(){requestAnimationFrame(function(){t.setState({notifications:t.state.notifications.map(function(t){return t.id===e&&(t.stage=c,t.removedBy=f.API),t})})})})}},{key:"onNotificationClick",value:function(e){var t=this,n=e.dismissable,o=e.dismissIcon;(n&&n.click||o)&&requestAnimationFrame(function(){t.setState({notifications:t.state.notifications.map(function(t){return t.id===e.id&&(t.stage=c,t.removedBy=f.CLICK),t})})})}},{key:"toggleTouchEnd",value:function(e){var t=u;this.setState({notifications:this.state.notifications.map(function(n){return n.id===e.id&&(n.stage=t,n.removedBy=f.TOUCH),n})})}},{key:"toggleRemoval",value:function(e){var t=this;this.setState({notifications:this.state.notifications.filter(function(t){return t.id!==e.id})},function(){t.props.onNotificationRemoval&&t.props.onNotificationRemoval(e.id,e.removedBy)})}},{key:"renderReactNotifications",value:function(e){var t=this;return e.map(function(n){return r.a.createElement(j,{key:n.id,notification:n,isFirstNotification:1===e.length,onClickHandler:t.onNotificationClick,toggleRemoval:t.toggleRemoval,toggleTimeoutRemoval:t.toggleTimeoutRemoval,toggleTouchEnd:t.toggleTouchEnd})})}},{key:"render",value:function(){var e,t,n,o=this.state;if(this.props.isMobile&&o.width<=o.breakpoint){var i=(e=o.notifications,t=[],n=[],e.forEach(function(e){var o=e.container.toLowerCase();if(S(o))n.push(e);else{if(!E(o))throw new Error("Container ".concat(e.container," is not valid"));t.push(e)}}),{top:n,bottom:t}),s=this.renderReactNotifications(i.top),l=this.renderReactNotifications(i.bottom);return r.a.createElement("div",{className:"react-notification-root"},r.a.createElement("div",{className:"notification-container-mobile-top"},s),r.a.createElement("div",{className:"notification-container-mobile-bottom"},l))}var c,u,p,f,d,h,m,y=(c=o.notifications,u=[],p=[],f=[],d=[],h=[],m=[],c.forEach(function(e){var t=e.container.toLowerCase();if(t===a.TOP_LEFT)u.push(e);else if(t===a.TOP_RIGHT)p.push(e);else if(t===a.TOP_CENTER)f.push(e);else if(t===a.BOTTOM_LEFT)d.push(e);else if(t===a.BOTTOM_RIGHT)h.push(e);else{if(t!==a.BOTTOM_CENTER)throw new Error("Container ".concat(e.container," is not valid"));m.push(e)}}),{topLeft:u,topRight:p,topCenter:f,bottomLeft:d,bottomRight:h,bottomCenter:m}),b=this.renderReactNotifications(y.topLeft),g=this.renderReactNotifications(y.topRight),v=this.renderReactNotifications(y.topCenter),w=this.renderReactNotifications(y.bottomLeft),O=this.renderReactNotifications(y.bottomRight),T=this.renderReactNotifications(y.bottomCenter);return r.a.createElement("div",{className:"react-notification-root"},r.a.createElement("div",{className:"notification-container-top-left"},b),r.a.createElement("div",{className:"notification-container-top-right"},g),r.a.createElement("div",{className:"notification-container-bottom-left"},w),r.a.createElement("div",{className:"notification-container-bottom-right"},O),r.a.createElement("div",{className:"notification-container-top-center"},v),r.a.createElement("div",{className:"notification-container-bottom-center"},T))}}])&&B(n.prototype,o),t}();W.propTypes={isMobile:A.a.bool,breakpoint:A.a.number,types:A.a.array,onNotificationRemoval:A.a.func},W.defaultProps={isMobile:!0,breakpoint:768},t.default=W}])},function(e,t,n){},function(e,t,n){"use strict";var o=n(21);function r(){}function i(){}i.resetWarningCache=r,e.exports=function(){function e(e,t,n,r,i,a){if(a!==o){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:r};return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";
56
- /** @license React v16.8.6
57
* react-is.production.min.js
58
*
59
* Copyright (c) Facebook, Inc. and its affiliates.
60
*
61
* This source code is licensed under the MIT license found in the
62
* LICENSE file in the root directory of this source tree.
63
- */Object.defineProperty(t,"__esModule",{value:!0});var o="function"==typeof Symbol&&Symbol.for,r=o?Symbol.for("react.element"):60103,i=o?Symbol.for("react.portal"):60106,a=o?Symbol.for("react.fragment"):60107,s=o?Symbol.for("react.strict_mode"):60108,l=o?Symbol.for("react.profiler"):60114,c=o?Symbol.for("react.provider"):60109,u=o?Symbol.for("react.context"):60110,p=o?Symbol.for("react.async_mode"):60111,f=o?Symbol.for("react.concurrent_mode"):60111,d=o?Symbol.for("react.forward_ref"):60112,h=o?Symbol.for("react.suspense"):60113,m=o?Symbol.for("react.memo"):60115,y=o?Symbol.for("react.lazy"):60116;function b(e){if("object"==typeof e&&null!==e){var t=e.$typeof;switch(t){case r:switch(e=e.type){case p:case f:case a:case l:case s:case h:return e;default:switch(e=e&&e.$typeof){case u:case d:case c:return e;default:return t}}case y:case m:case i:return t}}}function g(e){return b(e)===f}t.typeOf=b,t.AsyncMode=p,t.ConcurrentMode=f,t.ContextConsumer=u,t.ContextProvider=c,t.Element=r,t.ForwardRef=d,t.Fragment=a,t.Lazy=y,t.Memo=m,t.Portal=i,t.Profiler=l,t.StrictMode=s,t.Suspense=h,t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===f||e===l||e===s||e===h||"object"==typeof e&&null!==e&&(e.$typeof===y||e.$typeof===m||e.$typeof===c||e.$typeof===u||e.$typeof===d)},t.isAsyncMode=function(e){return g(e)||b(e)===p},t.isConcurrentMode=g,t.isContextConsumer=function(e){return b(e)===u},t.isContextProvider=function(e){return b(e)===c},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$typeof===r},t.isForwardRef=function(e){return b(e)===d},t.isFragment=function(e){return b(e)===a},t.isLazy=function(e){return b(e)===y},t.isMemo=function(e){return b(e)===m},t.isPortal=function(e){return b(e)===i},t.isProfiler=function(e){return b(e)===l},t.isStrictMode=function(e){return b(e)===s},t.isSuspense=function(e){return b(e)===h}},function(e,t,n){},function(e,t,n){"use strict";n.r(t);n(19);var o=n(1),r=n.n(o),i=n(0),a=n.n(i),s=n(6),l=n(2),c=n(5),u=n.n(c),p=n(9),f=n.n(p),d=n(15),h=n.n(d),m=n(7),y=n.n(m),b=n(10),g=n.n(b),v=n(8),w=n(4),E=n.n(w),S=n(16);function O(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function T(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function k(e,t,n){return t&&T(e.prototype,t),n&&T(e,n),e}function N(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function C(){return(C=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}function I(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},o=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),o.forEach(function(t){N(e,t,n[t])})}return e}function P(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&x(e,t)}function R(e){return(R=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function x(e,t){return(x=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function _(e,t){if(null==e)return{};var n,o,r=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function j(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function M(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?j(e):t}var A={INIT:"init",START:"start",STOP:"stop",RESET:"reset",PREV:"prev",NEXT:"next",GO:"go",CLOSE:"close",SKIP:"skip",UPDATE:"update"},L="tour:start",D="step:before",B="beacon",F="tooltip",q="step:after",U="tour:end",W="tour:status",z="error:target_not_found",H={INIT:"init",READY:"ready",BEACON:"beacon",TOOLTIP:"tooltip",COMPLETE:"complete",ERROR:"error"},G={IDLE:"idle",READY:"ready",WAITING:"waiting",RUNNING:"running",PAUSED:"paused",SKIPPED:"skipped",FINISHED:"finished",ERROR:"error"},V=f.a.canUseDOM,Y=void 0!==c.createPortal;function K(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:navigator.userAgent,t=e;return"undefined"==typeof window?t="node":document.documentMode?t="ie":/Edge/.test(e)?t="edge":Boolean(window.opera)||e.indexOf(" OPR/")>=0?t="opera":void 0!==window.InstallTrigger?t="firefox":window.chrome?t="chrome":/(Version\/([0-9._]+).*Safari|CriOS|FxiOS| Mobile\/)/.test(e)&&(t="safari"),t}function X(e){return Object.prototype.toString.call(e).slice(8,-1).toLowerCase()}function $(e){var t=[];return function e(n){if("string"==typeof n||"number"==typeof n)t.push(n);else if(Array.isArray(n))n.forEach(function(t){return e(t)});else if(n&&n.props){var o=n.props.children;Array.isArray(o)?o.forEach(function(t){return e(t)}):e(o)}}(e),t.join(" ").trim()}function J(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Q(e){return e.disableBeacon||"center"===e.placement}function Z(){return!["chrome","safari","firefox","opera"].includes(K())}function ee(e){var t=e.title,n=e.data,o=e.warn,r=void 0!==o&&o,i=e.debug,a=void 0!==i&&i,s=r?console.warn||console.error:console.log;a&&(t&&n?(console.groupCollapsed("%creact-joyride: ".concat(t),"color: #ff0044; font-weight: bold; font-size: 12px;"),Array.isArray(n)?n.forEach(function(e){l.a.plainObject(e)&&e.key?s.apply(console,[e.key,e.value]):s.apply(console,[e])}):s.apply(console,[n]),console.groupEnd()):console.error("Missing title or data props"))}var te={action:"",controlled:!1,index:0,lifecycle:H.INIT,size:0,status:G.IDLE},ne=["action","index","lifecycle","status"];function oe(e){var t=new Map,n=new Map;return new(function(){function e(){var t=this,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=o.continuous,i=void 0!==r&&r,a=o.stepIndex,s=o.steps,c=void 0===s?[]:s;O(this,e),N(this,"listener",void 0),N(this,"setSteps",function(e){var o=t.getState(),r=o.size,i=o.status,a={size:e.length,status:i};n.set("steps",e),i===G.WAITING&&!r&&e.length&&(a.status=G.RUNNING),t.setState(a)}),N(this,"addListener",function(e){t.listener=e}),N(this,"update",function(e){if(n=e,o=ne,!(l.a.plainObject(n)&&l.a.array(o)&&Object.keys(n).every(function(e){return o.includes(e)})))throw new Error("State is not valid. Valid keys: ".concat(ne.join(", ")));var n,o;t.setState(I({},t.getNextState(I({},t.getState(),e,{action:e.action||A.UPDATE}),!0)))}),N(this,"start",function(e){var n=t.getState(),o=n.index,r=n.size;t.setState(I({},t.getNextState({action:A.START,index:l.a.number(e)?e:o},!0),{status:r?G.RUNNING:G.WAITING}))}),N(this,"stop",function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=t.getState(),o=n.index,r=n.status;[G.FINISHED,G.SKIPPED].includes(r)||t.setState(I({},t.getNextState({action:A.STOP,index:o+(e?1:0)}),{status:G.PAUSED}))}),N(this,"prev",function(){var e=t.getState(),n=e.index;e.status===G.RUNNING&&t.setState(I({},t.getNextState({action:A.PREV,index:n-1})))}),N(this,"next",function(){var e=t.getState(),n=e.index;e.status===G.RUNNING&&t.setState(t.getNextState({action:A.NEXT,index:n+1}))}),N(this,"go",function(e){var n=t.getState(),o=n.controlled,r=n.status;if(!o&&r===G.RUNNING){var i=t.getSteps()[e];t.setState(I({},t.getNextState({action:A.GO,index:e}),{status:i?r:G.FINISHED}))}}),N(this,"close",function(){var e=t.getState(),n=e.index;e.status===G.RUNNING&&t.setState(I({},t.getNextState({action:A.CLOSE,index:n+1})))}),N(this,"skip",function(){t.getState().status===G.RUNNING&&t.setState({action:A.SKIP,lifecycle:H.INIT,status:G.SKIPPED})}),N(this,"reset",function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];t.getState().controlled||t.setState(I({},t.getNextState({action:A.RESET,index:0}),{status:e?G.RUNNING:G.READY}))}),N(this,"info",function(){return t.getState()}),this.setState({action:A.INIT,controlled:l.a.number(a),continuous:i,index:l.a.number(a)?a:0,lifecycle:H.INIT,status:c.length?G.READY:G.IDLE},!0),this.setSteps(c)}return k(e,[{key:"setState",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=this.getState(),r=I({},o,e),i=r.action,a=r.index,s=r.lifecycle,l=r.size,c=r.status;t.set("action",i),t.set("index",a),t.set("lifecycle",s),t.set("size",l),t.set("status",c),n&&(t.set("controlled",e.controlled),t.set("continuous",e.continuous)),this.listener&&this.hasUpdatedState(o)&&this.listener(this.getState())}},{key:"getState",value:function(){return t.size?{action:t.get("action")||"",controlled:t.get("controlled")||!1,index:parseInt(t.get("index"),10),lifecycle:t.get("lifecycle")||"",size:t.get("size")||0,status:t.get("status")||""}:I({},te)}},{key:"getNextState",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.getState(),o=n.action,r=n.controlled,i=n.index,a=n.size,s=n.status,c=l.a.number(e.index)?e.index:i,u=r&&!t?i:Math.min(Math.max(c,0),a);return{action:e.action||o,controlled:r,index:u,lifecycle:e.lifecycle||H.INIT,size:e.size||a,status:u===a?G.FINISHED:e.status||s}}},{key:"hasUpdatedState",value:function(e){return JSON.stringify(e)!==JSON.stringify(this.getState())}},{key:"getSteps",value:function(){var e=n.get("steps");return Array.isArray(e)?e:[]}},{key:"getHelpers",value:function(){return{prev:this.prev,next:this.next,go:this.go,close:this.close,skip:this.skip,reset:this.reset,info:this.info}}}]),e}())(e)}function re(e){return e?e.getBoundingClientRect():{}}function ie(e){return"string"==typeof e?e?document.querySelector(e):null:e}function ae(e,t){var n=g()(e);return n.isSameNode(y()())?y()():n.scrollHeight>n.offsetHeight||t?n:(n.style.overflow="initial",y()())}function se(e,t){return!!e&&!ae(e,t).isSameNode(y()())}function le(e){if(!(e&&e instanceof HTMLElement))return!1;var t=e.nodeName;return"BODY"!==t&&"HTML"!==t&&("fixed"===function(e){return e&&1===e.nodeType?getComputedStyle(e):{}}(e).position||le(e.parentNode))}function ce(e,t,n){if(!e)return 0;var o=g()(e),r=e.offsetTop;return se(e,n)&&!function(e){return e.offsetParent!==document.body}(e)&&(r-=o.offsetTop),Math.floor(r-t)}var ue=function(e){function t(t,n,o,r,i,a){var s=r||"<<anonymous>>",l=a||o;if(null==n[o])return t?new Error("Required ".concat(i," `").concat(l,"` was not specified in `").concat(s,"`.")):null;for(var c=arguments.length,u=new Array(c>6?c-6:0),p=6;p<c;p++)u[p-6]=arguments[p];return e.apply(void 0,[n,o,s,i,l].concat(u))}var n=t.bind(null,!1);return n.isRequired=t.bind(null,!0),n}(function(e,t,n,o,i){var a=e[t],s=a;if(!r.a.isValidElement(a)&&Object(v.isValidElementType)(a)){s=r.a.createElement(s,{ref:function(){},step:{}})}if(l.a.string(a)||l.a.number(a)||!Object(v.isValidElementType)(a)||![v.Element,v.ForwardRef].includes(Object(v.typeOf)(s)))return new Error("Invalid ".concat(o," `").concat(i,"` supplied to `").concat(n,"`. Expected a React class or forwardRef."))}),pe={arrowColor:"#fff",backgroundColor:"#fff",beaconSize:36,overlayColor:"rgba(0, 0, 0, 0.5)",primaryColor:"#f04",spotlightShadow:"0 0 15px rgba(0, 0, 0, 0.5)",textColor:"#333",zIndex:100},fe={backgroundColor:"transparent",border:0,borderRadius:0,color:"#555",cursor:"pointer",fontSize:16,lineHeight:1,padding:8,WebkitAppearance:"none"},de={borderRadius:4,position:"absolute"};var he={floaterProps:{options:{preventOverflow:{boundariesElement:"scrollParent"}},wrapperOptions:{offset:-18,position:!0}},locale:{back:"Back",close:"Close",last:"Last",next:"Next",open:"Open the dialog",skip:"Skip"},step:{event:"click",placement:"bottom",offset:10}};function me(e){var t=["beaconComponent","disableCloseOnEsc","disableOverlay","disableOverlayClose","disableScrolling","disableScrollParentFix","floaterProps","hideBackButton","locale","showProgress","showSkipButton","spotlightClicks","spotlightPadding","styles","tooltipComponent"];return Object.keys(e).filter(function(e){return t.includes(e)}).reduce(function(t,n){return t[n]=e[n],t},{})}function ye(e,t){if(!e)return null;var n=E.a.all([me(t),he.step,e],{isMergeableObject:l.a.plainObject}),o=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=E()(pe,e.options||{}),n=290;window.innerWidth>480&&(n=380),t.width&&(n=window.innerWidth<t.width?window.innerWidth-30:t.width);var o,r,i,a={bottom:0,left:0,overflow:"hidden",position:"absolute",right:0,top:0,zIndex:t.zIndex},s={beacon:I({},fe,{display:"inline-block",height:t.beaconSize,position:"relative",width:t.beaconSize,zIndex:t.zIndex}),beaconInner:{animation:"joyride-beacon-inner 1.2s infinite ease-in-out",backgroundColor:t.primaryColor,borderRadius:"50%",display:"block",height:"50%",left:"50%",opacity:.7,position:"absolute",top:"50%",transform:"translate(-50%, -50%)",width:"50%"},beaconOuter:{animation:"joyride-beacon-outer 1.2s infinite ease-in-out",backgroundColor:"rgba(".concat((o=t.primaryColor,r=o.replace(/^#?([a-f\d])([a-f\d])([a-f\d])#x2F;i,function(e,t,n,o){return t+t+n+n+o+o}),i=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})#x2F;i.exec(r),i?[parseInt(i[1],16),parseInt(i[2],16),parseInt(i[3],16)]:[]).join(","),", 0.2)"),border:"2px solid ".concat(t.primaryColor),borderRadius:"50%",boxSizing:"border-box",display:"block",height:"100%",left:0,opacity:.9,position:"absolute",top:0,transformOrigin:"center",width:"100%"},tooltip:{backgroundColor:t.backgroundColor,borderRadius:5,boxSizing:"border-box",color:t.textColor,fontSize:16,maxWidth:"100%",padding:15,position:"relative",width:n},tooltipContainer:{lineHeight:1.4,textAlign:"center"},tooltipTitle:{fontSize:18,margin:0},tooltipContent:{padding:"20px 10px"},tooltipFooter:{alignItems:"center",display:"flex",justifyContent:"flex-end",marginTop:15},tooltipFooterSpacer:{flex:1},buttonNext:I({},fe,{backgroundColor:t.primaryColor,borderRadius:4,color:"#fff"}),buttonBack:I({},fe,{color:t.primaryColor,marginLeft:"auto",marginRight:5}),buttonClose:I({},fe,{color:t.textColor,height:14,padding:15,position:"absolute",right:0,top:0,width:14}),buttonSkip:I({},fe,{color:t.textColor,fontSize:14}),overlay:I({},a,{backgroundColor:t.overlayColor,mixBlendMode:"hard-light"}),overlayLegacy:I({},a),overlayLegacyCenter:I({},a,{backgroundColor:t.overlayColor}),spotlight:I({},de,{backgroundColor:"gray"}),spotlightLegacy:I({},de,{boxShadow:"0 0 0 9999px ".concat(t.overlayColor,", ").concat(t.spotlightShadow)}),floaterStyles:{arrow:{color:t.arrowColor},options:{zIndex:t.zIndex}},options:t};return E()(s,e)}(E()(t.styles||{},e.styles||{})),r=se(ie(e.target),n.disableScrollParentFix),i=E.a.all([t.floaterProps||{},he.floaterProps,n.floaterProps||{}]);return i.offset=n.offset,i.styles=E()(i.styles||{},o.floaterStyles||{}),delete o.floaterStyles,n.disableScrolling||(i.offset+=t.spotlightPadding||e.spotlightPadding||0),e.placementBeacon&&(i.wrapperOptions.placement=e.placementBeacon),r&&(i.options.preventOverflow.boundariesElement="window"),I({},n,{locale:E.a.all([he.locale,t.locale||{},n.locale||{}]),floaterProps:i,styles:o})}function be(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return l.a.plainObject(e)?!!e.target||(ee({title:"validateStep",data:"target is missing from the step",warn:!0,debug:t}),!1):(ee({title:"validateStep",data:"step must be an object",warn:!0,debug:t}),!1)}function ge(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return l.a.array(e)?e.every(function(e){return be(e,t)}):(ee({title:"validateSteps",data:"steps must be an array",warn:!0,debug:t}),!1)}var ve=function e(t){var n=this,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(O(this,e),N(this,"element",void 0),N(this,"options",void 0),N(this,"canBeTabbed",function(e){var t=e.tabIndex;return(null===t||t<0)&&(t=void 0),!isNaN(t)&&n.canHaveFocus(e,!0)}),N(this,"canHaveFocus",function(e,t){var o=e.nodeName.toLowerCase();return(/input|select|textarea|button|object/.test(o)&&!e.getAttribute("disabled")||"a"===o&&e.getAttribute("href")||t)&&n.isVisible(e)}),N(this,"findValidTabElements",function(){return[].slice.call(n.element.querySelectorAll("*"),0).filter(n.canBeTabbed)}),N(this,"handleKeyDown",function(e){var t=n.options.keyCode,o=void 0===t?9:t;e.keyCode===o&&n.interceptTab(e)}),N(this,"interceptTab",function(e){e.preventDefault();var t=n.findValidTabElements(),o=e.shiftKey;if(t.length){var r=t.indexOf(document.activeElement);-1===r||!o&&r+1===t.length?r=0:o&&0===r?r=t.length-1:r+=o?-1:1,t[r].focus()}}),N(this,"isHidden",function(e){var t=e.offsetWidth<=0&&e.offsetHeight<=0,n=window.getComputedStyle(e);return!(!t||e.innerHTML)||(t&&"visible"!==n.getPropertyValue("overflow")||"none"===n.getPropertyValue("display"))}),N(this,"isVisible",function(e){for(var t=e;t;)if(t instanceof HTMLElement){if(t===document.body)break;if(n.isHidden(t))return!1;t=t.parentNode}return!0}),N(this,"removeScope",function(){window.removeEventListener("keydown",n.handleKeyDown)}),N(this,"setFocus",function(){var e=n.options.selector;if(e){var t=n.element.querySelector(e);t&&t.focus()}}),!(t instanceof HTMLElement))throw new TypeError("Invalid parameter: element must be an HTMLElement");this.element=t,this.options=o,window.addEventListener("keydown",this.handleKeyDown,!1),this.setFocus()},we=function(e){function t(e){var n;if(O(this,t),N(j(j(n=M(this,R(t).call(this,e)))),"setBeaconRef",function(e){n.beacon=e}),!e.beaconComponent){var o=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css",r.id="joyride-beacon-animation",r.appendChild(document.createTextNode("\n @keyframes joyride-beacon-inner {\n 20% {\n opacity: 0.9;\n }\n \n 90% {\n opacity: 0.7;\n }\n }\n \n @keyframes joyride-beacon-outer {\n 0% {\n transform: scale(1);\n }\n \n 45% {\n opacity: 0.7;\n transform: scale(0.75);\n }\n \n 100% {\n opacity: 0.9;\n transform: scale(1);\n }\n }\n ")),o.appendChild(r)}return n}return P(t,r.a.Component),k(t,[{key:"componentDidMount",value:function(){var e=this;setTimeout(function(){l.a.domElement(e.beacon)&&e.beacon.focus()},0)}},{key:"componentWillUnmount",value:function(){var e=document.getElementById("joyride-beacon-animation");e&&e.parentNode.removeChild(e)}},{key:"render",value:function(){var e,t=this.props,n=t.beaconComponent,o=t.locale,i=t.onClickOrHover,a=t.styles,s={"aria-label":o.open,onClick:i,onMouseEnter:i,ref:this.setBeaconRef,title:o.open};if(n){var l=n;e=r.a.createElement(l,s)}else e=r.a.createElement("button",C({key:"JoyrideBeacon",className:"react-joyride__beacon",style:a.beacon,type:"button","data-test-id":"button-beacon"},s),r.a.createElement("span",{style:a.beaconInner}),r.a.createElement("span",{style:a.beaconOuter}));return e}}]),t}();N(we,"propTypes",{beaconComponent:ue,locale:a.a.object.isRequired,onClickOrHover:a.a.func.isRequired,styles:a.a.object.isRequired});var Ee=function(e){var t=e.styles;return r.a.createElement("div",{key:"JoyrideSpotlight",className:"react-joyride__spotlight",style:t})};Ee.propTypes={styles:a.a.object.isRequired};var Se=function(e){function t(e){var n;return O(this,t),N(j(j(n=M(this,R(t).call(this,e)))),"handleMouseMove",function(e){var t=n.state.mouseOverSpotlight,o=n.stylesSpotlight,r=o.height,i=o.left,a=o.position,s=o.top,l=o.width,c="fixed"===a?e.clientY:e.pageY,u="fixed"===a?e.clientX:e.pageX,p=u>=i&&u<=i+l&&(c>=s&&c<=s+r);p!==t&&n.setState({mouseOverSpotlight:p})}),N(j(j(n)),"handleScroll",function(){n.state.isScrolling||n.setState({isScrolling:!0,showSpotlight:!1}),clearTimeout(n.scrollTimeout),n.scrollTimeout=setTimeout(function(){n.setState({isScrolling:!1,showSpotlight:!0}),n.scrollParent.removeEventListener("scroll",n.handleScroll)},50)}),N(j(j(n)),"handleResize",function(){clearTimeout(n.resizeTimeout),n.resizeTimeout=setTimeout(function(){clearTimeout(n.resizeTimeout),n.forceUpdate()},100)}),n.state={mouseOverSpotlight:!1,isScrolling:!1,showSpotlight:e.disableScrolling},n}return P(t,r.a.Component),k(t,[{key:"componentDidMount",value:function(){var e=this.props,t=e.debug,n=e.disableScrolling,o=e.disableScrollParentFix,r=e.target;if(!n){var i=ie(r);this.scrollParent=ae(i,o),se(i,!0)&&ee({title:"step has a custom scroll parent and can cause trouble with scrolling",data:[{key:"parent",value:this.scrollParent}],debug:t})}window.addEventListener("resize",this.handleResize)}},{key:"componentDidUpdate",value:function(e){var t=this,n=this.props,o=n.disableScrolling,r=n.lifecycle,i=n.spotlightClicks,a=Object(s.a)(e,this.props),l=a.changed,c=a.changedTo;o||c("lifecycle",H.TOOLTIP)&&(this.scrollParent.addEventListener("scroll",this.handleScroll,{passive:!0}),setTimeout(function(){t.state.isScrolling||(t.setState({showSpotlight:!0}),t.scrollParent.removeEventListener("scroll",t.handleScroll))},100)),(l("spotlightClicks")||l("disableOverlay")||l("lifecycle"))&&(i&&r===H.TOOLTIP?window.addEventListener("mousemove",this.handleMouseMove,!1):r!==H.TOOLTIP&&window.removeEventListener("mousemove",this.handleMouseMove))}},{key:"componentWillUnmount",value:function(){var e=this.props.disableScrolling;window.removeEventListener("mousemove",this.handleMouseMove),window.removeEventListener("resize",this.handleResize),e||(clearTimeout(this.scrollTimeout),this.scrollParent.removeEventListener("scroll",this.handleScroll))}},{key:"render",value:function(){var e=this.state,t=e.mouseOverSpotlight,n=e.showSpotlight,o=this.props,i=o.disableOverlay,a=o.lifecycle,s=o.onClickOverlay,l=o.placement,c=o.styles;if(i||a!==H.TOOLTIP)return null;var u=c.overlay;Z()&&(u="center"===l?c.overlayLegacyCenter:c.overlayLegacy);var p,f,d,h=I({cursor:"pointer",height:(p=document,f=p.body,d=p.documentElement,f&&d?Math.max(f.scrollHeight,f.offsetHeight,d.clientHeight,d.scrollHeight,d.offsetHeight):0),pointerEvents:t?"none":"auto"},u),m="center"!==l&&n&&r.a.createElement(Ee,{styles:this.stylesSpotlight});if("safari"===K()){h.mixBlendMode,h.zIndex;var y=_(h,["mixBlendMode","zIndex"]);m=r.a.createElement("div",{style:I({},y)},m),delete h.backgroundColor}return r.a.createElement("div",{className:"react-joyride__overlay",style:h,onClick:s},m)}},{key:"stylesSpotlight",get:function(){var e=this.state.showSpotlight,t=this.props,n=t.disableScrollParentFix,o=t.spotlightClicks,r=t.spotlightPadding,i=t.styles,a=ie(t.target),s=re(a),l=le(a),c=function(e,t,n){var o=re(e),r=ae(e,n),i=se(e,n),a=o.top+(i||le(e)?0:r.scrollTop);return Math.floor(a-t)}(a,r,n);return I({},Z()?i.spotlightLegacy:i.spotlight,{height:Math.round(s.height+2*r),left:Math.round(s.left-r),opacity:e?1:0,pointerEvents:o?"none":"auto",position:l?"fixed":"absolute",top:c,transition:"opacity 0.2s",width:Math.round(s.width+2*r)})}}]),t}();N(Se,"propTypes",{debug:a.a.bool.isRequired,disableOverlay:a.a.bool.isRequired,disableScrolling:a.a.bool.isRequired,disableScrollParentFix:a.a.bool.isRequired,lifecycle:a.a.string.isRequired,onClickOverlay:a.a.func.isRequired,placement:a.a.string.isRequired,spotlightClicks:a.a.bool.isRequired,spotlightPadding:a.a.number,styles:a.a.object.isRequired,target:a.a.oneOfType([a.a.object,a.a.string]).isRequired});var Oe=function(e){var t=e.styles,n=_(e,["styles"]),o=t.color,i=t.height,a=t.width,s=_(t,["color","height","width"]);return r.a.createElement("button",C({style:s,type:"button"},n),r.a.createElement("svg",{width:"number"==typeof a?"".concat(a,"px"):a,height:"number"==typeof i?"".concat(i,"px"):i,viewBox:"0 0 18 18",version:"1.1",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid"},r.a.createElement("g",null,r.a.createElement("path",{d:"M8.13911129,9.00268191 L0.171521827,17.0258467 C-0.0498027049,17.248715 -0.0498027049,17.6098394 0.171521827,17.8327545 C0.28204354,17.9443526 0.427188206,17.9998706 0.572051765,17.9998706 C0.71714958,17.9998706 0.862013139,17.9443526 0.972581703,17.8327545 L9.0000937,9.74924618 L17.0276057,17.8327545 C17.1384085,17.9443526 17.2832721,17.9998706 17.4281356,17.9998706 C17.5729992,17.9998706 17.718097,17.9443526 17.8286656,17.8327545 C18.0499901,17.6098862 18.0499901,17.2487618 17.8286656,17.0258467 L9.86135722,9.00268191 L17.8340066,0.973848225 C18.0553311,0.750979934 18.0553311,0.389855532 17.8340066,0.16694039 C17.6126821,-0.0556467968 17.254037,-0.0556467968 17.0329467,0.16694039 L9.00042166,8.25611765 L0.967006424,0.167268345 C0.745681892,-0.0553188426 0.387317931,-0.0553188426 0.165993399,0.167268345 C-0.0553311331,0.390136635 -0.0553311331,0.751261038 0.165993399,0.974176179 L8.13920499,9.00268191 L8.13911129,9.00268191 Z",fill:o}))))};Oe.propTypes={styles:a.a.object.isRequired};var Te=function(e){function t(){return O(this,t),M(this,R(t).apply(this,arguments))}return P(t,r.a.Component),k(t,[{key:"render",value:function(){var e=this.props,t=e.backProps,n=e.closeProps,o=e.continuous,i=e.index,a=e.isLastStep,s=e.primaryProps,l=e.size,c=e.skipProps,u=e.step,p=e.tooltipProps,f=u.content,d=u.hideBackButton,h=u.hideCloseButton,m=u.hideFooter,y=u.showProgress,b=u.showSkipButton,g=u.title,v=u.styles,w=u.locale,E=w.back,S=w.close,O=w.last,T=w.next,k=w.skip,N={primary:S};return o&&(N.primary=a?O:T,y&&(N.primary=r.a.createElement("span",null,N.primary," (",i+1,"/",l,")"))),b&&!a&&(N.skip=r.a.createElement("button",C({style:v.buttonSkip,type:"button","data-test-id":"button-skip","aria-live":"off"},c),k)),!d&&i>0&&(N.back=r.a.createElement("button",C({style:v.buttonBack,type:"button","data-test-id":"button-back"},t),E)),N.close=!h&&r.a.createElement(Oe,C({styles:v.buttonClose,"data-test-id":"button-close"},n)),r.a.createElement("div",C({key:"JoyrideTooltip",className:"react-joyride__tooltip",style:v.tooltip},p),r.a.createElement("div",{style:v.tooltipContainer},g&&r.a.createElement("h4",{style:v.tooltipTitle,"aria-label":g},g),r.a.createElement("div",{style:v.tooltipContent},f)),!m&&r.a.createElement("div",{style:v.tooltipFooter},r.a.createElement("div",{style:v.tooltipFooterSpacer},N.skip),N.back,r.a.createElement("button",C({style:v.buttonNext,type:"button","data-test-id":"button-primary"},s),N.primary)),N.close)}}]),t}();N(Te,"propTypes",{backProps:a.a.object.isRequired,closeProps:a.a.object.isRequired,continuous:a.a.bool.isRequired,index:a.a.number.isRequired,isLastStep:a.a.bool.isRequired,primaryProps:a.a.object.isRequired,size:a.a.number.isRequired,skipProps:a.a.object.isRequired,step:a.a.object.isRequired,tooltipProps:a.a.object.isRequired});var ke=function(e){function t(){var e,n;O(this,t);for(var o=arguments.length,r=new Array(o),i=0;i<o;i++)r[i]=arguments[i];return N(j(j(n=M(this,(e=R(t)).call.apply(e,[this].concat(r))))),"handleClickBack",function(e){e.preventDefault(),n.props.helpers.prev()}),N(j(j(n)),"handleClickClose",function(e){e.preventDefault(),n.props.helpers.close()}),N(j(j(n)),"handleClickPrimary",function(e){e.preventDefault();var t=n.props,o=t.continuous,r=t.helpers;o?r.next():r.close()}),N(j(j(n)),"handleClickSkip",function(e){e.preventDefault(),n.props.helpers.skip()}),N(j(j(n)),"getElementsProps",function(){var e=n.props,t=e.continuous,o=e.isLastStep,r=e.setTooltipRef,i=e.step,a=$(i.locale.back),s=$(i.locale.close),l=$(i.locale.last),c=$(i.locale.next),u=$(i.locale.skip),p=t?c:s;return o&&(p=l),{backProps:{"aria-label":a,"data-action":"back",onClick:n.handleClickBack,role:"button",title:a},closeProps:{"aria-label":s,"data-action":"close",onClick:n.handleClickClose,role:"button",title:s},primaryProps:{"aria-label":p,"data-action":"primary",onClick:n.handleClickPrimary,role:"button",title:p},skipProps:{"aria-label":u,"data-action":"skip",onClick:n.handleClickSkip,role:"button",title:u},tooltipProps:{"aria-modal":!0,ref:r,role:"alertdialog"}}}),n}return P(t,r.a.Component),k(t,[{key:"render",value:function(){var e,t=this.props,n=t.continuous,o=t.index,i=t.isLastStep,a=t.size,s=t.step,l=(s.beaconComponent,s.tooltipComponent),c=_(s,["beaconComponent","tooltipComponent"]);if(l){var u=I({},this.getElementsProps(),{continuous:n,index:o,isLastStep:i,size:a,step:c}),p=l;e=r.a.createElement(p,u)}else e=r.a.createElement(Te,C({},this.getElementsProps(),{continuous:n,index:o,isLastStep:i,size:a,step:s}));return e}}]),t}();N(ke,"propTypes",{continuous:a.a.bool.isRequired,helpers:a.a.object.isRequired,index:a.a.number.isRequired,isLastStep:a.a.bool.isRequired,setTooltipRef:a.a.func.isRequired,size:a.a.number.isRequired,step:a.a.object.isRequired});var Ne=function(e){function t(e){var n;return O(this,t),n=M(this,R(t).call(this,e)),V?(n.node=document.createElement("div"),e.id&&(n.node.id=e.id),document.body.appendChild(n.node),n):M(n)}return P(t,r.a.Component),k(t,[{key:"componentDidMount",value:function(){V&&(Y||this.renderReact15())}},{key:"componentDidUpdate",value:function(){V&&(Y||this.renderReact15())}},{key:"componentWillUnmount",value:function(){V&&this.node&&(Y||u.a.unmountComponentAtNode(this.node),document.body.removeChild(this.node))}},{key:"renderReact15",value:function(){if(!V)return null;var e=this.props.children;return u.a.unstable_renderSubtreeIntoContainer(this,e,this.node),null}},{key:"renderReact16",value:function(){if(!V||!Y)return null;var e=this.props.children;return u.a.createPortal(e,this.node)}},{key:"render",value:function(){return Y?this.renderReact16():null}}]),t}();N(Ne,"propTypes",{children:a.a.element,id:a.a.oneOfType([a.a.string,a.a.number])});var Ce=function(e){function t(){var e,n;O(this,t);for(var o=arguments.length,r=new Array(o),i=0;i<o;i++)r[i]=arguments[i];return N(j(j(n=M(this,(e=R(t)).call.apply(e,[this].concat(r))))),"scope",{removeScope:function(){}}),N(j(j(n)),"handleClickHoverBeacon",function(e){var t=n.props,o=t.step,r=t.update;"mouseenter"===e.type&&"hover"!==o.event||r({lifecycle:H.TOOLTIP})}),N(j(j(n)),"handleClickOverlay",function(){var e=n.props,t=e.helpers;e.step.disableOverlayClose||t.close()}),N(j(j(n)),"setTooltipRef",function(e){n.tooltip=e}),N(j(j(n)),"setPopper",function(e,t){var o=n.props,r=o.action,i=o.setPopper,a=o.update;"wrapper"===t?n.beaconPopper=e:n.tooltipPopper=e,i(e,t),n.beaconPopper&&n.tooltipPopper&&a({action:r===A.CLOSE?A.CLOSE:r,lifecycle:H.READY})}),n}return P(t,r.a.Component),k(t,[{key:"componentDidMount",value:function(){var e=this.props,t=e.debug,n=e.index;ee({title:"step:".concat(n),data:[{key:"props",value:this.props}],debug:t})}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.action,o=t.callback,r=t.continuous,i=t.controlled,a=t.debug,l=t.index,c=t.lifecycle,u=t.size,p=t.status,f=t.step,d=t.update,h=Object(s.a)(e,this.props),m=h.changed,y=h.changedTo,b=h.changedFrom,g={action:n,controlled:i,index:l,lifecycle:c,size:u,status:p},v=r&&n!==A.CLOSE&&(l>0||n===A.PREV),w=m("action")||m("index")||m("lifecycle")||m("status"),E=b("lifecycle",[H.TOOLTIP,H.INIT],H.INIT);if(y("action",[A.NEXT,A.PREV,A.SKIP,A.CLOSE])&&(E||i)&&o(I({},g,{index:e.index,lifecycle:H.COMPLETE,step:e.step,type:q})),w&&f){var S=ie(f.target);!!S&&function(e){if(!e)return!1;for(var t=e;t&&t!==document.body;){if(t instanceof HTMLElement){var n=getComputedStyle(t),o=n.display,r=n.visibility;if("none"===o||"hidden"===r)return!1}t=t.parentNode}return!0}(S)?(b("status",G.READY,G.RUNNING)||b("lifecycle",H.INIT,H.READY))&&o(I({},g,{step:f,type:D})):(console.warn("Target not mounted",f),o(I({},g,{type:z,step:f})),i||d({index:l+([A.PREV].includes(n)?-1:1)}))}b("lifecycle",H.INIT,H.READY)&&d({lifecycle:Q(f)||v?H.TOOLTIP:H.BEACON}),m("index")&&ee({title:"step:".concat(c),data:[{key:"props",value:this.props}],debug:a}),y("lifecycle",H.BEACON)&&o(I({},g,{step:f,type:B})),y("lifecycle",H.TOOLTIP)&&(o(I({},g,{step:f,type:F})),this.scope=new ve(this.tooltip,{selector:"[data-action=primary]"}),this.scope.setFocus()),b("lifecycle",[H.TOOLTIP,H.INIT],H.INIT)&&(this.scope.removeScope(),delete this.beaconPopper,delete this.tooltipPopper)}},{key:"componentWillUnmount",value:function(){this.scope.removeScope()}},{key:"render",value:function(){var e=this.props,t=e.continuous,n=e.debug,o=e.helpers,i=e.index,a=e.lifecycle,s=e.size,c=e.step,u=ie(c.target);return be(c)&&l.a.domElement(u)?r.a.createElement("div",{key:"JoyrideStep-".concat(i),className:"react-joyride__step"},r.a.createElement(Ne,{id:"react-joyride-portal"},r.a.createElement(Se,C({},c,{debug:n,lifecycle:a,onClickOverlay:this.handleClickOverlay}))),r.a.createElement(S.a,C({component:r.a.createElement(ke,{continuous:t,helpers:o,index:i,isLastStep:i+1===s,setTooltipRef:this.setTooltipRef,size:s,step:c}),debug:n,getPopper:this.setPopper,id:"react-joyride-step-".concat(i),isPositioned:c.isFixed||le(u),open:this.open,placement:c.placement,target:c.target},c.floaterProps),r.a.createElement(we,{beaconComponent:c.beaconComponent,locale:c.locale,onClickOrHover:this.handleClickHoverBeacon,styles:c.styles}))):null}},{key:"open",get:function(){var e=this.props,t=e.step,n=e.lifecycle;return!(!Q(t)&&n!==H.TOOLTIP)}}]),t}();N(Ce,"propTypes",{action:a.a.string.isRequired,callback:a.a.func.isRequired,continuous:a.a.bool.isRequired,controlled:a.a.bool.isRequired,debug:a.a.bool.isRequired,helpers:a.a.object.isRequired,index:a.a.number.isRequired,lifecycle:a.a.string.isRequired,setPopper:a.a.func.isRequired,size:a.a.number.isRequired,status:a.a.string.isRequired,step:a.a.shape({beaconComponent:ue,content:a.a.node.isRequired,disableBeacon:a.a.bool,disableOverlay:a.a.bool,disableOverlayClose:a.a.bool,disableScrolling:a.a.bool,disableScrollParentFix:a.a.bool,event:a.a.string,floaterProps:a.a.shape({options:a.a.object,styles:a.a.object,wrapperOptions:a.a.object}),hideBackButton:a.a.bool,hideCloseButton:a.a.bool,hideFooter:a.a.bool,isFixed:a.a.bool,locale:a.a.object,offset:a.a.number.isRequired,placement:a.a.oneOf(["top","top-start","top-end","bottom","bottom-start","bottom-end","left","left-start","left-end","right","right-start","right-end","auto","center"]),spotlightClicks:a.a.bool,spotlightPadding:a.a.number,styles:a.a.object,target:a.a.oneOfType([a.a.object,a.a.string]).isRequired,title:a.a.node,tooltipComponent:ue}).isRequired,update:a.a.func.isRequired});var Ie=function(e){function t(e){var n;return O(this,t),N(j(j(n=M(this,R(t).call(this,e)))),"initStore",function(){var e=n.props,t=e.debug,o=e.getHelpers,r=e.run,i=e.stepIndex;n.store=new oe(I({},n.props,{controlled:r&&l.a.number(i)})),n.helpers=n.store.getHelpers();var a=n.store.addListener;return ee({title:"init",data:[{key:"props",value:n.props},{key:"state",value:n.state}],debug:t}),a(n.syncState),o(n.helpers),n.store.getState()}),N(j(j(n)),"callback",function(e){var t=n.props.callback;l.a.function(t)&&t(e)}),N(j(j(n)),"handleKeyboard",function(e){var t=n.state,o=t.index,r=t.lifecycle,i=n.props.steps[o],a=window.Event?e.which:e.keyCode;r===H.TOOLTIP&&27===a&&i&&!i.disableCloseOnEsc&&n.store.close()}),N(j(j(n)),"syncState",function(e){n.setState(e)}),N(j(j(n)),"setPopper",function(e,t){"wrapper"===t?n.beaconPopper=e:n.tooltipPopper=e}),n.state=n.initStore(),n}return P(t,r.a.Component),k(t,[{key:"componentDidMount",value:function(){if(V){var e=this.props,t=e.disableCloseOnEsc,n=e.debug,o=e.run,r=e.steps,i=this.store.start;ge(r,n)&&o&&i(),t||document.body.addEventListener("keydown",this.handleKeyboard,{passive:!0})}}},{key:"componentDidUpdate",value:function(e,t){if(V){var n=this.state,r=n.action,i=n.controlled,a=n.index,c=n.lifecycle,u=n.status,p=this.props,f=p.debug,d=p.run,h=p.stepIndex,m=p.steps,y=e.steps,b=e.stepIndex,g=this.store,v=g.setSteps,w=g.reset,E=g.start,S=g.stop,O=g.update,T=Object(s.a)(e,this.props).changed,k=Object(s.a)(t,this.state),N=k.changed,C=k.changedFrom,P=k.changedTo,R=ye(m[a],this.props),x=!function e(t,n){var r,i=Object(o.isValidElement)(t)||Object(o.isValidElement)(n),a=l.a.undefined(t)||l.a.undefined(n);if(X(t)!==X(n)||i||a)return!1;if(l.a.domElement(t))return t.isSameNode(n);if(l.a.number(t))return t===n;if(l.a.function(t))return t.toString()===n.toString();for(var s in t)if(J(t,s)){if(void 0===t[s]||void 0===n[s])return!1;if(r=X(t[s]),["object","array"].includes(r)&&e(t[s],n[s]))continue;if("function"===r&&e(t[s],n[s]))continue;if(t[s]!==n[s])return!1}for(var c in n)if(J(n,c)&&void 0===t[c])return!1;return!0}(y,m),_=l.a.number(h)&&T("stepIndex");if(x&&(ge(m,f)?v(m):console.warn("Steps are not valid",m)),T("run")&&(d?E(h):S()),_){var j=b<h?A.NEXT:A.PREV;r===A.STOP&&(j=A.START),[G.FINISHED,G.SKIPPED].includes(u)||O({action:r===A.CLOSE?A.CLOSE:j,index:h,lifecycle:H.INIT})}var M=I({},this.state,{index:a,step:R});if(P("action",[A.NEXT,A.PREV,A.SKIP,A.CLOSE])&&P("status",G.PAUSED)){var D=ye(m[t.index],this.props);this.callback(I({},M,{index:t.index,lifecycle:H.COMPLETE,step:D,type:q}))}if(P("status",[G.FINISHED,G.SKIPPED])){var B=ye(m[t.index],this.props);i||this.callback(I({},M,{index:t.index,lifecycle:H.COMPLETE,step:B,type:q})),this.callback(I({},M,{type:U,step:B,index:t.index})),w()}else C("status",[G.IDLE,G.READY],G.RUNNING)?this.callback(I({},M,{type:L})):N("status")?this.callback(I({},M,{type:W})):P("action",A.RESET)&&this.callback(I({},M,{type:W}));R&&(this.scrollToStep(t),"center"===R.placement&&u===G.RUNNING&&c===H.INIT&&this.store.update({lifecycle:H.READY}))}}},{key:"componentWillUnmount",value:function(){this.props.disableCloseOnEsc||document.body.removeEventListener("keydown",this.handleKeyboard)}},{key:"scrollToStep",value:function(e){var t=this.state,n=t.index,o=t.lifecycle,r=t.status,i=this.props,a=i.debug,s=i.disableScrolling,l=i.disableScrollParentFix,c=i.scrollToFirstStep,u=i.scrollOffset,p=ye(i.steps[n],this.props);if(p){var f=ie(p.target),d=!s&&"center"!==p.placement&&(!p.isFixed||!le(f))&&e.lifecycle!==o&&[H.BEACON,H.TOOLTIP].includes(o)&&(c||e.index!==n);if(r===G.RUNNING&&d){var m=se(f,l),b=ae(f,l),g=Math.floor(ce(f,u,l))||0;if(ee({title:"scrollToStep",data:[{key:"index",value:n},{key:"lifecycle",value:o},{key:"status",value:r}],debug:a}),o===H.BEACON&&this.beaconPopper){var v=this.beaconPopper,w=v.placement,E=v.popper;["bottom"].includes(w)||m||(g=Math.floor(E.top-u))}else if(o===H.TOOLTIP&&this.tooltipPopper){var S=this.tooltipPopper,O=S.flipped,T=S.placement,k=S.popper;!["top","right","left"].includes(T)||O||m?g-=p.spotlightPadding:g=Math.floor(k.top-u)}g=g>=0?g:0,r===G.RUNNING&&function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:y()();new Promise(function(n,o){var r=t.scrollTop,i=e>r?e-r:r-e;h.a.top(t,e,{duration:i<100?50:300},function(e){return e&&"Element already at target scroll position"!==e.message?o(e):n()})})}(g,b)}}}},{key:"render",value:function(){if(!V)return null;var e,t=this.state,n=t.index,o=t.status,i=this.props,a=i.continuous,s=i.debug,l=ye(i.steps[n],this.props);return o===G.RUNNING&&l&&(e=r.a.createElement(Ce,C({},this.state,{callback:this.callback,continuous:a,debug:s,setPopper:this.setPopper,helpers:this.helpers,step:l,update:this.store.update}))),r.a.createElement("div",{className:"react-joyride"},e)}}]),t}();N(Ie,"propTypes",{beaconComponent:ue,callback:a.a.func,continuous:a.a.bool,debug:a.a.bool,disableCloseOnEsc:a.a.bool,disableOverlay:a.a.bool,disableOverlayClose:a.a.bool,disableScrolling:a.a.bool,disableScrollParentFix:a.a.bool,floaterProps:a.a.shape({options:a.a.object,styles:a.a.object,wrapperOptions:a.a.object}),getHelpers:a.a.func,hideBackButton:a.a.bool,locale:a.a.object,run:a.a.bool,scrollOffset:a.a.number,scrollToFirstStep:a.a.bool,showProgress:a.a.bool,showSkipButton:a.a.bool,spotlightClicks:a.a.bool,spotlightPadding:a.a.number,stepIndex:a.a.number,steps:a.a.array,styles:a.a.object,tooltipComponent:ue}),N(Ie,"defaultProps",{continuous:!1,debug:!1,disableCloseOnEsc:!1,disableOverlay:!1,disableOverlayClose:!1,disableScrolling:!1,disableScrollParentFix:!1,getHelpers:function(){},hideBackButton:!1,run:!0,scrollOffset:20,scrollToFirstStep:!1,showSkipButton:!1,showProgress:!1,spotlightClicks:!1,spotlightPadding:10,steps:[]});var Pe=Ie;function Re(e){return(Re="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function xe(e,t,n,o,r,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(o,r)}function _e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function je(e){return(je=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Me(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ae(e,t){return(Ae=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var Le=wp.i18n.__,De=wp.components,Be=De.Button,Fe=De.Modal,qe=wp.element,Ue=qe.Component,We=qe.Fragment,ze=function(e){function t(){var e,n,o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(o=je(t).apply(this,arguments))||"object"!==Re(o)&&"function"!=typeof o?Me(n):o).skipTour=e.skipTour.bind(Me(e)),e.state={isOpen:!0,runTour:!1,steps:[{target:".otter-step-one",content:Le("Howdy, I'm Ollie The Otter! I will help you configure your Otter experience. So let's start the magic!"),disableBeacon:!0},{target:".otter-step-two",content:Le("Jazz up your blocks with some sparkly custom CSS or Blocks Animation right inside the block. Here you can enable modules to enhance your experience with Block Editor.")},{target:".otter-step-three",content:Le("Section Block is the signature feature of Otter. It allows you to build beautiful layouts right inside the Block Editor. You can set Section Block as the default block for your new Pages.")},{target:".otter-step-four",content:Le("We love maps! Here you can set your Google Maps API key for Otter's Map Block.")},{target:".otter-step-five",content:Le("If you don't have an API key, you can register one by clicking here.")},{target:".otter-step-six",content:Le("If you ever need any help, we are a team of real Otter-lovers who would love to help you out.")},{target:".otter-step-seven",content:Le("And if you love what we do, please leave us a review at WordPress.org. Your review keeps us motivated to make awesome things.")},{target:".otter-step-one",content:Le("That's it for now! Hope you enjoy Otter and love it as much as we do.")}]},e}var n,o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ae(e,t)}(t,Ue),n=t,(o=[{key:"componentDidMount",value:function(){var e,t=(e=regeneratorRuntime.mark(function e(){var t=this;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:wp.api.loadPromise.then(function(){t.settings=new wp.api.models.Settings});case 1:case"end":return e.stop()}},e)}),function(){var t=this,n=arguments;return new Promise(function(o,r){var i=e.apply(t,n);function a(e){xe(i,o,r,a,s,"next",e)}function s(e){xe(i,o,r,a,s,"throw",e)}a(void 0)})});return function(){return t.apply(this,arguments)}}()},{key:"skipTour",value:function(e){var t=this;if(this.state.isOpen&&this.setState({isOpen:!1}),"finished"===e||"skipped"===e){var n=new wp.api.models.Settings({themeisle_blocks_settings_tour:!1}).save();n.success(function(e,n){t.settings.fetch()}),n.error(function(e,t){console.warning(e.responseJSON.message)})}}},{key:"render",value:function(){var e=this;return wp.element.createElement(We,null,this.state.isOpen&&wp.element.createElement(Fe,{title:Le("Welcome to Otter!"),isDismissable:!1,className:"otter-onboarding-modal"},wp.element.createElement("div",{className:"otter-onboarding-modal-content"},Le("Would you like to start the onboarding wizard which will help you personalize the plugin for yourself?")),wp.element.createElement("div",{className:"otter-onboarding-modal-action"},wp.element.createElement(Be,{isPrimary:!0,isLarge:!0,onClick:function(){return e.setState({isOpen:!1,runTour:!0})}},Le("Start")),wp.element.createElement(Be,{isDefault:!0,isLarge:!0,onClick:function(){return e.skipTour("skipped")}},Le("Skip")))),wp.element.createElement(Pe,{continuous:!0,run:this.state.runTour,steps:this.state.steps,scrollToFirstStep:!0,showSkipButton:!0,locale:{back:Le("Back"),close:Le("Close"),last:Le("Finish"),next:Le("Next"),skip:Le("Skip")},callback:function(t){return e.skipTour(t.status)}}))}}])&&_e(n.prototype,o),r&&_e(n,r),t}(),He=n(17),Ge=n.n(He);function Ve(e){return(Ve="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ye(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Ke(e,t){return!t||"object"!==Ve(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Xe(e){return(Xe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function $e(e,t){return($e=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var Je=wp.i18n.__,Qe=wp.element.Component,Ze=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Ke(this,Xe(t).apply(this,arguments))}var n,o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$e(e,t)}(t,Qe),n=t,(o=[{key:"render",value:function(){return wp.element.createElement("header",{className:"otter-header"},wp.element.createElement("div",{className:Ge()("otter-container","otter-step-one")},wp.element.createElement("div",{className:"otter-logo"},wp.element.createElement("img",{src:otterObj.assetsPath+"images/logo.png",title:Je("Gutenberg Blocks and Template Library by Otter")}),wp.element.createElement("abbr",{title:"Version: ".concat(otterObj.version),className:"version"},otterObj.version))))}}])&&Ye(n.prototype,o),r&&Ye(n,r),t}(),et=n(18),tt=n.n(et);n(23);function nt(e){return(nt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ot(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function rt(e,t,n,o,r,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(o,r)}function it(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function at(e){return(at=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function st(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lt(e,t){return(lt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var ct=wp.i18n.__,ut=wp.components,pt=ut.BaseControl,ft=ut.Button,dt=ut.ExternalLink,ht=ut.PanelBody,mt=ut.PanelRow,yt=ut.Placeholder,bt=ut.Spinner,gt=ut.ToggleControl,vt=wp.element,wt=vt.Component,Et=vt.Fragment,St=function(e){function t(){var e,n,o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(o=at(t).apply(this,arguments))||"object"!==nt(o)&&"function"!=typeof o?st(n):o).changeOptions=e.changeOptions.bind(st(e)),e.addNotification=e.addNotification.bind(st(e)),e.notificationDOMRef=React.createRef(),e.state={isAPILoaded:!1,isAPISaving:!1,notification:null,cssModule:!1,blocksAnimation:!1,isDefaultSection:!0,googleMapsAPI:""},e}var n,o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&lt(e,t)}(t,wt),n=t,(o=[{key:"componentDidMount",value:function(){var e,t=(e=regeneratorRuntime.mark(function e(){var t=this;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:wp.api.loadPromise.then(function(){t.settings=new wp.api.models.Settings,!1===t.state.isAPILoaded&&t.settings.fetch().then(function(e){t.setState({cssModule:Boolean(e.themeisle_blocks_settings_css_module),blocksAnimation:Boolean(e.themeisle_blocks_settings_blocks_animation),isDefaultSection:Boolean(e.themeisle_blocks_settings_default_block),googleMapsAPI:e.themeisle_google_map_block_api_key,isAPILoaded:!0})})});case 1:case"end":return e.stop()}},e)}),function(){var t=this,n=arguments;return new Promise(function(o,r){var i=e.apply(t,n);function a(e){rt(i,o,r,a,s,"next",e)}function s(e){rt(i,o,r,a,s,"throw",e)}a(void 0)})});return function(){return t.apply(this,arguments)}}()},{key:"changeOptions",value:function(e,t,n){var o=this;this.setState({isAPISaving:!0}),this.addNotification(ct("Updating settings…"),"info");var r=new wp.api.models.Settings(ot({},e,n)).save();r.success(function(n,r){o.notificationDOMRef.current.removeNotification(o.state.notification),"success"===r&&(o.setState(ot({},t,n[e])),setTimeout(function(){o.addNotification(ct("Settings saved."),"success"),o.setState({isAPISaving:!1})},800)),"error"===r&&setTimeout(function(){o.addNotification(ct("An unknown error occurred."),"danger"),o.setState({isAPISaving:!1})},800),o.settings.fetch()}),r.error(function(e,t){o.notificationDOMRef.current.removeNotification(o.state.notification),setTimeout(function(){o.addNotification(e.responseJSON.message?e.responseJSON.message:ct("An unknown error occurred."),"danger"),o.setState({isAPISaving:!1})},800)})}},{key:"addNotification",value:function(e,t){var n=this.notificationDOMRef.current.addNotification({message:e,type:t,insert:"top",container:"top-right",slidingEnter:{duration:0,delay:0},dismiss:{duration:2e3},dismissable:{click:!0}});this.setState({notification:n})}},{key:"render",value:function(){var e=this;return this.state.isAPILoaded?wp.element.createElement(Et,null,wp.element.createElement(tt.a,{ref:this.notificationDOMRef}),wp.element.createElement("div",{className:"otter-main"},wp.element.createElement("div",{className:"otter-step-two"},wp.element.createElement(ht,{title:ct("Modules")},wp.element.createElement(mt,null,wp.element.createElement(gt,{label:ct("Enable Custom CSS Module"),help:"Custom CSS module allows to add custom CSS to each block in Block Editor.",checked:this.state.cssModule,onChange:function(){return e.changeOptions("themeisle_blocks_settings_css_module","cssModule",!e.state.cssModule)}})),wp.element.createElement(mt,null,wp.element.createElement(gt,{label:ct("Enable Blocks Animation Module"),help:"Blocks Animation module allows to add CSS animations to each block in Block Editor.",checked:this.state.blocksAnimation,onChange:function(){return e.changeOptions("themeisle_blocks_settings_blocks_animation","blocksAnimation",!e.state.blocksAnimation)}})))),wp.element.createElement("div",{className:"otter-step-three"},wp.element.createElement(ht,{title:ct("Section")},wp.element.createElement(mt,null,wp.element.createElement(gt,{label:ct("Make Section your default block for Pages"),help:"Everytime you create a new page, Section block will be appended there by default.",checked:this.state.isDefaultSection,onChange:function(){return e.changeOptions("themeisle_blocks_settings_default_block","isDefaultSection",!e.state.isDefaultSection)}})))),wp.element.createElement("div",{className:"otter-step-four"},wp.element.createElement(ht,{title:ct("Maps")},wp.element.createElement(mt,null,wp.element.createElement(pt,{label:ct("Google Maps API"),help:"In order to use Google Maps block, you need to use Google Maps and Places API.",id:"otter-options-google-map-api",className:"otter-text-field"},wp.element.createElement("input",{type:"text",id:"otter-options-google-map-api",value:this.state.googleMapsAPI,placeholder:ct("Google Maps API Key"),disabled:this.state.isAPISaving,onChange:function(t){return e.setState({googleMapsAPI:t.target.value})}}),wp.element.createElement("div",{className:"otter-text-field-button-group"},wp.element.createElement(ft,{isPrimary:!0,isLarge:!0,disabled:this.state.isAPISaving,onClick:function(){return e.changeOptions("themeisle_google_map_block_api_key","googleMapsAPI",e.state.googleMapsAPI)}},ct("Save")),wp.element.createElement(dt,{href:"https://developers.google.com/maps/documentation/javascript/get-api-key",className:"otter-step-five"},ct("Get API Key"))))))),wp.element.createElement(ht,null,wp.element.createElement("div",{className:"otter-info"},wp.element.createElement("h2",null,ct("Got a question for us?")),wp.element.createElement("p",null,ct("We would love to help you out if you need any help with Otter.")),wp.element.createElement("div",{className:"otter-info-button-group"},wp.element.createElement(ft,{isDefault:!0,isLarge:!0,target:"_blank",href:"https://wordpress.org/support/plugin/otter-blocks",className:"otter-step-six"},ct("Ask a question")),wp.element.createElement(ft,{isDefault:!0,isLarge:!0,target:"_blank",href:"https://wordpress.org/support/plugin/otter-blocks/reviews/#new-post",className:"otter-step-seven"},ct("Leave a review"))))))):wp.element.createElement(yt,null,wp.element.createElement(bt,null))}}])&&it(n.prototype,o),r&&it(n,r),t}();function Ot(e){return(Ot="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Tt(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function kt(e,t){return!t||"object"!==Ot(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Nt(e){return(Nt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Ct(e,t){return(Ct=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var It=wp.i18n.__,Pt=wp.element.Component,Rt=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),kt(this,Nt(t).apply(this,arguments))}var n,o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ct(e,t)}(t,Pt),n=t,(o=[{key:"render",value:function(){return wp.element.createElement("footer",{className:"otter-footer"},wp.element.createElement("div",{className:"otter-container"},It("No otters were harmed during the making of this plugin.")))}}])&&Tt(n.prototype,o),r&&Tt(n,r),t}();function xt(e){return(xt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _t(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function jt(e,t){return!t||"object"!==xt(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Mt(e){return(Mt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function At(e,t){return(At=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var Lt=wp.element,Dt=Lt.Component,Bt=Lt.Fragment,Ft=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),jt(this,Mt(t).apply(this,arguments))}var n,o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&At(e,t)}(t,Dt),n=t,(o=[{key:"render",value:function(){return wp.element.createElement(Bt,null,Boolean(otterObj.showTour)&&wp.element.createElement(ze,null),wp.element.createElement(Ze,null),wp.element.createElement(St,null),wp.element.createElement(Rt,null))}}])&&_t(n.prototype,o),r&&_t(n,r),t}();ReactDOM.render(wp.element.createElement(Ft,null),document.getElementById("otter"))}]);
1
+ !function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=24)}([function(e,t,n){e.exports=n(20)()},function(e,t){e.exports=React},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.getObjectType=function(e){return Object.prototype.toString.call(e).slice(8,-1)};var o=function(e,n){return t.getObjectType(e)===n};t.default={array:Array.isArray,boolean:function(e){return!0===e||!1===e},date:function(e){return o(e,"Date")},domElement:function(e){return this.object(e)&&!this.plainObject(e)&&1===e.nodeType&&this.string(e.nodeName)&&["innerHTML","ownerDocument","style","attributes","nodeValue"].every((function(t){return t in e}))},function:function(e){return"function"==typeof e},generator:function(e){return this.iterable(e)&&this.function(e.next)&&this.function(e.throw)},iterable:function(e){return!this.nullOrUndefined(e)&&this.function(e[Symbol.iterator])},map:function(e){return o(e,"Map")},nan:function(e){return Number.isNaN(e)},null:function(e){return null===e},nullOrUndefined:function(e){return this.null(e)||this.undefined(e)},number:function(e){return"number"==typeof e},numericString:function(e){return"string"==typeof e&&e.length>0&&!Number.isNaN(Number(e))},object:function(e){return!this.nullOrUndefined(e)&&(this.function(e)||function(e){return"object"==typeof e}(e))},plainObject:function(e){var t;return o(e,"Object")&&(null===(t=Object.getPrototypeOf(e))||t===Object.getPrototypeOf({}))},promise:function(e){return o(e,"Promise")},regexp:function(e){return o(e,"RegExp")},set:function(e){return o(e,"Set")},string:function(e){return"string"==typeof e},symbol:function(e){return o(e,"Symbol")},undefined:function(e){return void 0===e},weakMap:function(e){return o(e,"WeakMap")},weakSet:function(e){return o(e,"WeakSet")}}},function(e,t,n){"use strict";
2
/**
3
* @license nested-property https://github.com/cosmosio/nested-property
4
*
5
* The MIT License (MIT)
6
*
7
* Copyright (c) 2014-2015 Olivier Scherrer <pode.fr@gmail.com>
8
+ */e.exports={set:function(e,t,n){if(e&&"object"==typeof e){if("string"==typeof t&&""!==t){var o=t.split(".");return o.reduce((function(e,t,r){return e[t]=e[t]||{},o.length==r+1&&(e[t]=n),e[t]}),e)}return"number"==typeof t?(e[t]=n,e[t]):e}return e},get:function(e,t){return e&&"object"==typeof e?"string"==typeof t&&""!==t?t.split(".").reduce((function(e,t){return e&&e[t]}),e):"number"==typeof t?e[t]:e:e},has:function(e,t,n){return n=n||{},!(!e||"object"!=typeof e)&&("string"==typeof t&&""!==t?t.split(".").reduce((function(e,t,o,r){return o==r.length-1?n.own?!(!e||!e.hasOwnProperty(t)):!!(null!==e&&"object"==typeof e&&t in e):e&&e[t]}),e):"number"==typeof t&&t in e)},hasOwn:function(e,t,n){return this.has(e,t,n||{own:!0})},isIn:function(e,t,n,o){if(o=o||{},e&&"object"==typeof e){if("string"==typeof t&&""!==t){var r,i=t.split("."),a=!1;return r=!!i.reduce((function(e,t){return a=a||e===n||!!e&&e[t]===n,e&&e[t]}),e),o.validPath?a&&r:a}return!1}return!1}}},function(e,t,n){"use strict";var o=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$typeof===r}(e)}(e)};var r="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function i(e,t){return!1!==t.clone&&t.isMergeableObject(e)?u((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function a(e,t,n){return e.concat(t).map((function(e){return i(e,n)}))}function s(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return e.propertyIsEnumerable(t)})):[]}(e))}function l(e,t){try{return t in e}catch(e){return!1}}function c(e,t,n){var o={};return n.isMergeableObject(e)&&s(e).forEach((function(t){o[t]=i(e[t],n)})),s(t).forEach((function(r){(function(e,t){return l(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,r)||(l(e,r)&&n.isMergeableObject(t[r])?o[r]=function(e,t){if(!t.customMerge)return u;var n=t.customMerge(e);return"function"==typeof n?n:u}(r,n)(e[r],t[r],n):o[r]=i(t[r],n))})),o}function u(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||a,n.isMergeableObject=n.isMergeableObject||o,n.cloneUnlessOtherwiseSpecified=i;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):c(e,t,n):i(t,n)}u.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,n){return u(e,n,t)}),{})};var p=u;e.exports=p},function(e,t){e.exports=ReactDOM},function(e,t,n){"use strict";var o=n(14),r=n.n(o),i=n(3),a=n.n(i);function s(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.every((function(e){return"number"==typeof e}))}t.a=function(e,t){if(!e||!t)throw new Error("Missing required parameters");return{changed:function(n){var o=a.a.get(e,n),i=a.a.get(t,n);return function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.every((function(e){return Array.isArray(e)}))}(o,i)||function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.every((function(e){if(!e)return!1;var t=Object.getPrototypeOf(e);return"Object"===Object.prototype.toString.call(e).slice(8,-1)&&(null===t||t===Object.getPrototypeOf({}))}))}(o,i)?!!r.a.diff(o,i):o!==i},changedFrom:function(n,o,r){if(!n)throw new Error("Key parameter is required");var i=void 0!==o&&void 0!==r,s=a.a.get(e,n),l=a.a.get(t,n),c=Array.isArray(o)?o.includes(s):s===o,u=Array.isArray(r)?r.includes(l):l===r;return c&&(i?u:!i)},changedTo:function(n,o){if(!n)throw new Error("Key parameter is required");var r=a.a.get(e,n),i=a.a.get(t,n),s=Array.isArray(o)?!o.includes(r):r!==o,l=Array.isArray(o)?o.includes(i):i===o;return s&&l},increased:function(n){if(!n)throw new Error("Key parameter is required");return s(a.a.get(e,n),a.a.get(t,n))&&a.a.get(e,n)<a.a.get(t,n)},decreased:function(n){if(!n)throw new Error("Key parameter is required");return s(a.a.get(e,n),a.a.get(t,n))&&a.a.get(e,n)>a.a.get(t,n)}}}},function(e,t){var n="undefined"!=typeof window?window:{},o="undefined"!=typeof document?document:{documentElement:{}},r=void 0===n.pageYOffset?o.documentElement:null;e.exports=function(){return r||(e=window.pageYOffset,document.documentElement.scrollTop=e+1,r=window.pageYOffset>e?(document.documentElement.scrollTop=e,document.documentElement):document.scrollingElement||document.body);var e}},function(e,t,n){"use strict";e.exports=n(22)},function(e,t,n){var o;
9
/*!
10
Copyright (c) 2015 Jed Watson.
11
Based on code that is Copyright 2013-2015, Facebook, Inc.
12
All rights reserved.
13
+ */!function(){"use strict";var r=!("undefined"==typeof window||!window.document||!window.document.createElement),i={canUseDOM:r,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:r&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:r&&!!window.screen};void 0===(o=function(){return i}.call(t,n,t,e))||(e.exports=o)}()},function(e,t,n){var o,r,i;r=[],void 0===(i="function"==typeof(o=function(){var e=/(auto|scroll)/,t=function(e,n){return null===e.parentNode?n:t(e.parentNode,n.concat([e]))},n=function(e,t){return getComputedStyle(e,null).getPropertyValue(t)},o=function(t){return e.test(function(e){return n(e,"overflow")+n(e,"overflow-y")+n(e,"overflow-x")}(t))};return function(e){if(e instanceof HTMLElement||e instanceof SVGElement){for(var n=t(e.parentNode,[]),r=0;r<n.length;r+=1)if(o(n[r]))return n[r];return document.scrollingElement||document.documentElement}}})?o.apply(t,r):o)||(e.exports=i)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(e,t,n,o){return"boolean"==typeof e?e:"function"==typeof e?e(t,n,o):!(!0!=!!e||!e)},r=function(e,t){return Object.hasOwnProperty.call(e,t)},i=function(e,t,n,o){return o?new Error(o):new Error("Required "+e[t]+" `"+t+"` was not specified in `"+n+"`.")};t.default=function(e,t,n){return function(e,t){if("function"!=typeof e)throw new TypeError("The typeValidator argument must be a function with the signature function(props, propName, componentName).");if(t&&"string"!=typeof t)throw new TypeError("The error message is optional, but must be a string if provided.")}(e,n),function(a,s,l){for(var c=arguments.length,u=Array(3<c?c-3:0),p=3;p<c;p++)u[p-3]=arguments[p];return o(t,a,s,l)?r(a,s)?e.apply(void 0,[a,s,l].concat(u)):i(a,s,l,n):e.apply(void 0,[a,s,l].concat(u))}}},function(e,t,n){"use strict";(function(e){
14
/**!
15
* @fileOverview Kickass library to create and place poppers near their reference elements.
16
+ * @version 1.16.0
17
* @license
18
* Copyright (c) 2016 Federico Zivolo and contributors
19
*
35
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
36
* SOFTWARE.
37
*/
38
+ var n="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,o=function(){for(var e=["Edge","Trident","Firefox"],t=0;t<e.length;t+=1)if(n&&navigator.userAgent.indexOf(e[t])>=0)return 1;return 0}();var r=n&&window.Promise?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then((function(){t=!1,e()})))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout((function(){t=!1,e()}),o))}};function i(e){return e&&"[object Function]"==={}.toString.call(e)}function a(e,t){if(1!==e.nodeType)return[];var n=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?n[t]:n}function s(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function l(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=a(e),n=t.overflow,o=t.overflowX,r=t.overflowY;return/(auto|scroll|overlay)/.test(n+r+o)?e:l(s(e))}function c(e){return e&&e.referenceNode?e.referenceNode:e}var u=n&&!(!window.MSInputMethodContext||!document.documentMode),p=n&&/MSIE 10/.test(navigator.userAgent);function f(e){return 11===e?u:10===e?p:u||p}function d(e){if(!e)return document.documentElement;for(var t=f(10)?document.body:null,n=e.offsetParent||null;n===t&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var o=n&&n.nodeName;return o&&"BODY"!==o&&"HTML"!==o?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===a(n,"position")?d(n):n:e?e.ownerDocument.documentElement:document.documentElement}function h(e){return null!==e.parentNode?h(e.parentNode):e}function m(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return document.documentElement;var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,o=n?e:t,r=n?t:e,i=document.createRange();i.setStart(o,0),i.setEnd(r,0);var a,s,l=i.commonAncestorContainer;if(e!==l&&t!==l||o.contains(r))return"BODY"===(s=(a=l).nodeName)||"HTML"!==s&&d(a.firstElementChild)!==a?d(l):l;var c=h(e);return c.host?m(c.host,t):m(e,h(t).host)}function y(e){var t="top"===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top")?"scrollTop":"scrollLeft",n=e.nodeName;if("BODY"===n||"HTML"===n){var o=e.ownerDocument.documentElement;return(e.ownerDocument.scrollingElement||o)[t]}return e[t]}function b(e,t){var n="x"===t?"Left":"Top",o="Left"===n?"Right":"Bottom";return parseFloat(e["border"+n+"Width"],10)+parseFloat(e["border"+o+"Width"],10)}function g(e,t,n,o){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],f(10)?parseInt(n["offset"+e])+parseInt(o["margin"+("Height"===e?"Top":"Left")])+parseInt(o["margin"+("Height"===e?"Bottom":"Right")]):0)}function v(e){var t=e.body,n=e.documentElement,o=f(10)&&getComputedStyle(n);return{height:g("Height",t,n,o),width:g("Width",t,n,o)}}var w=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},E=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),O=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},S=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e};function T(e){return S({},e,{right:e.left+e.width,bottom:e.top+e.height})}function k(e){var t={};try{if(f(10)){t=e.getBoundingClientRect();var n=y(e,"top"),o=y(e,"left");t.top+=n,t.left+=o,t.bottom+=n,t.right+=o}else t=e.getBoundingClientRect()}catch(e){}var r={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},i="HTML"===e.nodeName?v(e.ownerDocument):{},s=i.width||e.clientWidth||r.width,l=i.height||e.clientHeight||r.height,c=e.offsetWidth-s,u=e.offsetHeight-l;if(c||u){var p=a(e);c-=b(p,"x"),u-=b(p,"y"),r.width-=c,r.height-=u}return T(r)}function N(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=f(10),r="HTML"===t.nodeName,i=k(e),s=k(t),c=l(e),u=a(t),p=parseFloat(u.borderTopWidth,10),d=parseFloat(u.borderLeftWidth,10);n&&r&&(s.top=Math.max(s.top,0),s.left=Math.max(s.left,0));var h=T({top:i.top-s.top-p,left:i.left-s.left-d,width:i.width,height:i.height});if(h.marginTop=0,h.marginLeft=0,!o&&r){var m=parseFloat(u.marginTop,10),b=parseFloat(u.marginLeft,10);h.top-=p-m,h.bottom-=p-m,h.left-=d-b,h.right-=d-b,h.marginTop=m,h.marginLeft=b}return(o&&!n?t.contains(c):t===c&&"BODY"!==c.nodeName)&&(h=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=y(t,"top"),r=y(t,"left"),i=n?-1:1;return e.top+=o*i,e.bottom+=o*i,e.left+=r*i,e.right+=r*i,e}(h,t)),h}function P(e){if(!e||!e.parentElement||f())return document.documentElement;for(var t=e.parentElement;t&&"none"===a(t,"transform");)t=t.parentElement;return t||document.documentElement}function C(e,t,n,o){var r=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i={top:0,left:0},u=r?P(e):m(e,c(t));if("viewport"===o)i=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.ownerDocument.documentElement,o=N(e,n),r=Math.max(n.clientWidth,window.innerWidth||0),i=Math.max(n.clientHeight,window.innerHeight||0),a=t?0:y(n),s=t?0:y(n,"left");return T({top:a-o.top+o.marginTop,left:s-o.left+o.marginLeft,width:r,height:i})}(u,r);else{var p=void 0;"scrollParent"===o?"BODY"===(p=l(s(t))).nodeName&&(p=e.ownerDocument.documentElement):p="window"===o?e.ownerDocument.documentElement:o;var f=N(p,u,r);if("HTML"!==p.nodeName||function e(t){var n=t.nodeName;if("BODY"===n||"HTML"===n)return!1;if("fixed"===a(t,"position"))return!0;var o=s(t);return!!o&&e(o)}(u))i=f;else{var d=v(e.ownerDocument),h=d.height,b=d.width;i.top+=f.top-f.marginTop,i.bottom=h+f.top,i.left+=f.left-f.marginLeft,i.right=b+f.left}}var g="number"==typeof(n=n||0);return i.left+=g?n:n.left||0,i.top+=g?n:n.top||0,i.right-=g?n:n.right||0,i.bottom-=g?n:n.bottom||0,i}function I(e,t,n,o,r){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf("auto"))return e;var a=C(n,o,i,r),s={top:{width:a.width,height:t.top-a.top},right:{width:a.right-t.right,height:a.height},bottom:{width:a.width,height:a.bottom-t.bottom},left:{width:t.left-a.left,height:a.height}},l=Object.keys(s).map((function(e){return S({key:e},s[e],{area:(t=s[e],t.width*t.height)});var t})).sort((function(e,t){return t.area-e.area})),c=l.filter((function(e){var t=e.width,o=e.height;return t>=n.clientWidth&&o>=n.clientHeight})),u=c.length>0?c[0].key:l[0].key,p=e.split("-")[1];return u+(p?"-"+p:"")}function R(e,t,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return N(n,o?P(t):m(t,c(n)),o)}function x(e){var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),o=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:e.offsetWidth+o,height:e.offsetHeight+n}}function _(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,(function(e){return t[e]}))}function j(e,t,n){n=n.split("-")[0];var o=x(e),r={width:o.width,height:o.height},i=-1!==["right","left"].indexOf(n),a=i?"top":"left",s=i?"left":"top",l=i?"height":"width",c=i?"width":"height";return r[a]=t[a]+t[l]/2-o[l]/2,r[s]=n===s?t[s]-o[c]:t[_(s)],r}function M(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function A(e,t,n){return(void 0===n?e:e.slice(0,function(e,t,n){if(Array.prototype.findIndex)return e.findIndex((function(e){return e[t]===n}));var o=M(e,(function(e){return e[t]===n}));return e.indexOf(o)}(e,"name",n))).forEach((function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=e.function||e.fn;e.enabled&&i(n)&&(t.offsets.popper=T(t.offsets.popper),t.offsets.reference=T(t.offsets.reference),t=n(t,e))})),t}function L(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=R(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=I(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=j(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=A(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function D(e,t){return e.some((function(e){var n=e.name;return e.enabled&&n===t}))}function B(e){for(var t=[!1,"ms","Webkit","Moz","O"],n=e.charAt(0).toUpperCase()+e.slice(1),o=0;o<t.length;o++){var r=t[o],i=r?""+r+n:e;if(void 0!==document.body.style[i])return i}return null}function F(){return this.state.isDestroyed=!0,D(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[B("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function q(e){var t=e.ownerDocument;return t?t.defaultView:window}function U(e,t,n,o){n.updateBound=o,q(e).addEventListener("resize",n.updateBound,{passive:!0});var r=l(e);return function e(t,n,o,r){var i="BODY"===t.nodeName,a=i?t.ownerDocument.defaultView:t;a.addEventListener(n,o,{passive:!0}),i||e(l(a.parentNode),n,o,r),r.push(a)}(r,"scroll",n.updateBound,n.scrollParents),n.scrollElement=r,n.eventsEnabled=!0,n}function W(){this.state.eventsEnabled||(this.state=U(this.reference,this.options,this.state,this.scheduleUpdate))}function z(){var e,t;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(e=this.reference,t=this.state,q(e).removeEventListener("resize",t.updateBound),t.scrollParents.forEach((function(e){e.removeEventListener("scroll",t.updateBound)})),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t))}function H(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function G(e,t){Object.keys(t).forEach((function(n){var o="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&H(t[n])&&(o="px"),e.style[n]=t[n]+o}))}var V=n&&/Firefox/i.test(navigator.userAgent);function Y(e,t,n){var o=M(e,(function(e){return e.name===t})),r=!!o&&e.some((function(e){return e.name===n&&e.enabled&&e.order<o.order}));if(!r){var i="`"+t+"`",a="`"+n+"`";console.warn(a+" modifier is required by "+i+" modifier in order to work, be sure to include it before "+i+"!")}return r}var K=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],$=K.slice(3);function X(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=$.indexOf(e),o=$.slice(n+1).concat($.slice(0,n));return t?o.reverse():o}var J={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"};function Q(e,t,n,o){var r=[0,0],i=-1!==["right","left"].indexOf(o),a=e.split(/(\+|\-)/).map((function(e){return e.trim()})),s=a.indexOf(M(a,(function(e){return-1!==e.search(/,|\s/)})));a[s]&&-1===a[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,c=-1!==s?[a.slice(0,s).concat([a[s].split(l)[0]]),[a[s].split(l)[1]].concat(a.slice(s+1))]:[a];return(c=c.map((function(e,o){var r=(1===o?!i:i)?"height":"width",a=!1;return e.reduce((function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,a=!0,e):a?(e[e.length-1]+=t,a=!1,e):e.concat(t)}),[]).map((function(e){return function(e,t,n,o){var r=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),i=+r[1],a=r[2];if(!i)return e;if(0===a.indexOf("%")){var s=void 0;switch(a){case"%p":s=n;break;case"%":case"%r":default:s=o}return T(s)[t]/100*i}if("vh"===a||"vw"===a){return("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*i}return i}(e,r,t,n)}))}))).forEach((function(e,t){e.forEach((function(n,o){H(n)&&(r[t]+=n*("-"===e[o-1]?-1:1))}))})),r}var Z={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,n=t.split("-")[0],o=t.split("-")[1];if(o){var r=e.offsets,i=r.reference,a=r.popper,s=-1!==["bottom","top"].indexOf(n),l=s?"left":"top",c=s?"width":"height",u={start:O({},l,i[l]),end:O({},l,i[l]+i[c]-a[c])};e.offsets.popper=S({},a,u[o])}return e}},offset:{order:200,enabled:!0,fn:function(e,t){var n=t.offset,o=e.placement,r=e.offsets,i=r.popper,a=r.reference,s=o.split("-")[0],l=void 0;return l=H(+n)?[+n,0]:Q(n,i,a,s),"left"===s?(i.top+=l[0],i.left-=l[1]):"right"===s?(i.top+=l[0],i.left+=l[1]):"top"===s?(i.left+=l[0],i.top-=l[1]):"bottom"===s&&(i.left+=l[0],i.top+=l[1]),e.popper=i,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var n=t.boundariesElement||d(e.instance.popper);e.instance.reference===n&&(n=d(n));var o=B("transform"),r=e.instance.popper.style,i=r.top,a=r.left,s=r[o];r.top="",r.left="",r[o]="";var l=C(e.instance.popper,e.instance.reference,t.padding,n,e.positionFixed);r.top=i,r.left=a,r[o]=s,t.boundaries=l;var c=t.priority,u=e.offsets.popper,p={primary:function(e){var n=u[e];return u[e]<l[e]&&!t.escapeWithReference&&(n=Math.max(u[e],l[e])),O({},e,n)},secondary:function(e){var n="right"===e?"left":"top",o=u[n];return u[e]>l[e]&&!t.escapeWithReference&&(o=Math.min(u[n],l[e]-("right"===e?u.width:u.height))),O({},n,o)}};return c.forEach((function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";u=S({},u,p[t](e))})),e.offsets.popper=u,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,n=t.popper,o=t.reference,r=e.placement.split("-")[0],i=Math.floor,a=-1!==["top","bottom"].indexOf(r),s=a?"right":"bottom",l=a?"left":"top",c=a?"width":"height";return n[s]<i(o[l])&&(e.offsets.popper[l]=i(o[l])-n[c]),n[l]>i(o[s])&&(e.offsets.popper[l]=i(o[s])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){var n;if(!Y(e.instance.modifiers,"arrow","keepTogether"))return e;var o=t.element;if("string"==typeof o){if(!(o=e.instance.popper.querySelector(o)))return e}else if(!e.instance.popper.contains(o))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var r=e.placement.split("-")[0],i=e.offsets,s=i.popper,l=i.reference,c=-1!==["left","right"].indexOf(r),u=c?"height":"width",p=c?"Top":"Left",f=p.toLowerCase(),d=c?"left":"top",h=c?"bottom":"right",m=x(o)[u];l[h]-m<s[f]&&(e.offsets.popper[f]-=s[f]-(l[h]-m)),l[f]+m>s[h]&&(e.offsets.popper[f]+=l[f]+m-s[h]),e.offsets.popper=T(e.offsets.popper);var y=l[f]+l[u]/2-m/2,b=a(e.instance.popper),g=parseFloat(b["margin"+p],10),v=parseFloat(b["border"+p+"Width"],10),w=y-e.offsets.popper[f]-g-v;return w=Math.max(Math.min(s[u]-m,w),0),e.arrowElement=o,e.offsets.arrow=(O(n={},f,Math.round(w)),O(n,d,""),n),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(e,t){if(D(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var n=C(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),o=e.placement.split("-")[0],r=_(o),i=e.placement.split("-")[1]||"",a=[];switch(t.behavior){case J.FLIP:a=[o,r];break;case J.CLOCKWISE:a=X(o);break;case J.COUNTERCLOCKWISE:a=X(o,!0);break;default:a=t.behavior}return a.forEach((function(s,l){if(o!==s||a.length===l+1)return e;o=e.placement.split("-")[0],r=_(o);var c=e.offsets.popper,u=e.offsets.reference,p=Math.floor,f="left"===o&&p(c.right)>p(u.left)||"right"===o&&p(c.left)<p(u.right)||"top"===o&&p(c.bottom)>p(u.top)||"bottom"===o&&p(c.top)<p(u.bottom),d=p(c.left)<p(n.left),h=p(c.right)>p(n.right),m=p(c.top)<p(n.top),y=p(c.bottom)>p(n.bottom),b="left"===o&&d||"right"===o&&h||"top"===o&&m||"bottom"===o&&y,g=-1!==["top","bottom"].indexOf(o),v=!!t.flipVariations&&(g&&"start"===i&&d||g&&"end"===i&&h||!g&&"start"===i&&m||!g&&"end"===i&&y),w=!!t.flipVariationsByContent&&(g&&"start"===i&&h||g&&"end"===i&&d||!g&&"start"===i&&y||!g&&"end"===i&&m),E=v||w;(f||b||E)&&(e.flipped=!0,(f||b)&&(o=a[l+1]),E&&(i=function(e){return"end"===e?"start":"start"===e?"end":e}(i)),e.placement=o+(i?"-"+i:""),e.offsets.popper=S({},e.offsets.popper,j(e.instance.popper,e.offsets.reference,e.placement)),e=A(e.instance.modifiers,e,"flip"))})),e},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,n=t.split("-")[0],o=e.offsets,r=o.popper,i=o.reference,a=-1!==["left","right"].indexOf(n),s=-1===["top","left"].indexOf(n);return r[a?"left":"top"]=i[n]-(s?r[a?"width":"height"]:0),e.placement=_(t),e.offsets.popper=T(r),e}},hide:{order:800,enabled:!0,fn:function(e){if(!Y(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=M(e.instance.modifiers,(function(e){return"preventOverflow"===e.name})).boundaries;if(t.bottom<n.top||t.left>n.right||t.top>n.bottom||t.right<n.left){if(!0===e.hide)return e;e.hide=!0,e.attributes["x-out-of-boundaries"]=""}else{if(!1===e.hide)return e;e.hide=!1,e.attributes["x-out-of-boundaries"]=!1}return e}},computeStyle:{order:850,enabled:!0,fn:function(e,t){var n=t.x,o=t.y,r=e.offsets.popper,i=M(e.instance.modifiers,(function(e){return"applyStyle"===e.name})).gpuAcceleration;void 0!==i&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var a=void 0!==i?i:t.gpuAcceleration,s=d(e.instance.popper),l=k(s),c={position:r.position},u=function(e,t){var n=e.offsets,o=n.popper,r=n.reference,i=Math.round,a=Math.floor,s=function(e){return e},l=i(r.width),c=i(o.width),u=-1!==["left","right"].indexOf(e.placement),p=-1!==e.placement.indexOf("-"),f=t?u||p||l%2==c%2?i:a:s,d=t?i:s;return{left:f(l%2==1&&c%2==1&&!p&&t?o.left-1:o.left),top:d(o.top),bottom:d(o.bottom),right:f(o.right)}}(e,window.devicePixelRatio<2||!V),p="bottom"===n?"top":"bottom",f="right"===o?"left":"right",h=B("transform"),m=void 0,y=void 0;if(y="bottom"===p?"HTML"===s.nodeName?-s.clientHeight+u.bottom:-l.height+u.bottom:u.top,m="right"===f?"HTML"===s.nodeName?-s.clientWidth+u.right:-l.width+u.right:u.left,a&&h)c[h]="translate3d("+m+"px, "+y+"px, 0)",c[p]=0,c[f]=0,c.willChange="transform";else{var b="bottom"===p?-1:1,g="right"===f?-1:1;c[p]=y*b,c[f]=m*g,c.willChange=p+", "+f}var v={"x-placement":e.placement};return e.attributes=S({},v,e.attributes),e.styles=S({},c,e.styles),e.arrowStyles=S({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(e){var t,n;return G(e.instance.popper,e.styles),t=e.instance.popper,n=e.attributes,Object.keys(n).forEach((function(e){!1!==n[e]?t.setAttribute(e,n[e]):t.removeAttribute(e)})),e.arrowElement&&Object.keys(e.arrowStyles).length&&G(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,n,o,r){var i=R(r,t,e,n.positionFixed),a=I(n.placement,i,t,e,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return t.setAttribute("x-placement",a),G(t,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:void 0}}},ee=function(){function e(t,n){var o=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};w(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(o.update)},this.update=r(this.update.bind(this)),this.options=S({},e.Defaults,a),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(S({},e.Defaults.modifiers,a.modifiers)).forEach((function(t){o.options.modifiers[t]=S({},e.Defaults.modifiers[t]||{},a.modifiers?a.modifiers[t]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(e){return S({name:e},o.options.modifiers[e])})).sort((function(e,t){return e.order-t.order})),this.modifiers.forEach((function(e){e.enabled&&i(e.onLoad)&&e.onLoad(o.reference,o.popper,o.options,e,o.state)})),this.update();var s=this.options.eventsEnabled;s&&this.enableEventListeners(),this.state.eventsEnabled=s}return E(e,[{key:"update",value:function(){return L.call(this)}},{key:"destroy",value:function(){return F.call(this)}},{key:"enableEventListeners",value:function(){return W.call(this)}},{key:"disableEventListeners",value:function(){return z.call(this)}}]),e}();ee.Utils=("undefined"!=typeof window?window:e).PopperUtils,ee.placements=K,ee.Defaults=Z,t.a=ee}).call(this,n(13))},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){var o,r;r=function(e){var t=["N","E","A","D"];function n(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}function o(e,t){Object.defineProperty(this,"kind",{value:e,enumerable:!0}),t&&t.length&&Object.defineProperty(this,"path",{value:t,enumerable:!0})}function r(e,t,n){r.super_.call(this,"E",e),Object.defineProperty(this,"lhs",{value:t,enumerable:!0}),Object.defineProperty(this,"rhs",{value:n,enumerable:!0})}function i(e,t){i.super_.call(this,"N",e),Object.defineProperty(this,"rhs",{value:t,enumerable:!0})}function a(e,t){a.super_.call(this,"D",e),Object.defineProperty(this,"lhs",{value:t,enumerable:!0})}function s(e,t,n){s.super_.call(this,"A",e),Object.defineProperty(this,"index",{value:t,enumerable:!0}),Object.defineProperty(this,"item",{value:n,enumerable:!0})}function l(e,t,n){var o=e.slice((n||t)+1||e.length);return e.length=t<0?e.length+t:t,e.push.apply(e,o),e}function c(e){var t=typeof e;return"object"!==t?t:e===Math?"math":null===e?"null":Array.isArray(e)?"array":"[object Date]"===Object.prototype.toString.call(e)?"date":"function"==typeof e.toString&&/^\/.*\//.test(e.toString())?"regexp":"object"}function u(e){var t=0;if(0===e.length)return t;for(var n=0;n<e.length;n++)t=(t<<5)-t+e.charCodeAt(n),t&=t;return t}function p(e){var t=0,n=c(e);if("array"===n)return e.forEach((function(e){t+=p(e)})),t+u("[type: array, hash: "+t+"]");if("object"===n){for(var o in e)if(e.hasOwnProperty(o)){var r="[ type: object, key: "+o+", value hash: "+p(e[o])+"]";t+=u(r)}return t}return t+u("[ type: "+n+" ; value: "+e+"]")}function f(e,t,n,o,l,u,d,h){n=n||[],d=d||[];var m=(l=l||[]).slice(0);if(null!=u){if(o){if("function"==typeof o&&o(m,u))return;if("object"==typeof o){if(o.prefilter&&o.prefilter(m,u))return;if(o.normalize){var y=o.normalize(m,u,e,t);y&&(e=y[0],t=y[1])}}}m.push(u)}"regexp"===c(e)&&"regexp"===c(t)&&(e=e.toString(),t=t.toString());var b,g,v,w,E=typeof e,O=typeof t,S="undefined"!==E||d&&d.length>0&&d[d.length-1].lhs&&Object.getOwnPropertyDescriptor(d[d.length-1].lhs,u),T="undefined"!==O||d&&d.length>0&&d[d.length-1].rhs&&Object.getOwnPropertyDescriptor(d[d.length-1].rhs,u);if(!S&&T)n.push(new i(m,t));else if(!T&&S)n.push(new a(m,e));else if(c(e)!==c(t))n.push(new r(m,e,t));else if("date"===c(e)&&e-t!=0)n.push(new r(m,e,t));else if("object"===E&&null!==e&&null!==t){for(b=d.length-1;b>-1;--b)if(d[b].lhs===e){w=!0;break}if(w)e!==t&&n.push(new r(m,e,t));else{if(d.push({lhs:e,rhs:t}),Array.isArray(e)){for(h&&(e.sort((function(e,t){return p(e)-p(t)})),t.sort((function(e,t){return p(e)-p(t)}))),b=t.length-1,g=e.length-1;b>g;)n.push(new s(m,b,new i(void 0,t[b--])));for(;g>b;)n.push(new s(m,g,new a(void 0,e[g--])));for(;b>=0;--b)f(e[b],t[b],n,o,m,b,d,h)}else{var k=Object.keys(e),N=Object.keys(t);for(b=0;b<k.length;++b)v=k[b],(w=N.indexOf(v))>=0?(f(e[v],t[v],n,o,m,v,d,h),N[w]=null):f(e[v],void 0,n,o,m,v,d,h);for(b=0;b<N.length;++b)(v=N[b])&&f(void 0,t[v],n,o,m,v,d,h)}d.length=d.length-1}}else e!==t&&("number"===E&&isNaN(e)&&isNaN(t)||n.push(new r(m,e,t)))}function d(e,t,n,o,r){var i=[];if(f(e,t,i,o,null,null,null,r),n)for(var a=0;a<i.length;++a)n(i[a]);return i}function h(e,t,n,o){var r=d(e,t,o?function(e){e&&o.push(e)}:void 0,n);return o||(r.length?r:void 0)}function m(e,n,o){if(void 0===o&&n&&~t.indexOf(n.kind)&&(o=n),e&&o&&o.kind){for(var r=e,i=-1,a=o.path?o.path.length-1:0;++i<a;)void 0===r[o.path[i]]&&(r[o.path[i]]=void 0!==o.path[i+1]&&"number"==typeof o.path[i+1]?[]:{}),r=r[o.path[i]];switch(o.kind){case"A":o.path&&void 0===r[o.path[i]]&&(r[o.path[i]]=[]),function e(t,n,o){if(o.path&&o.path.length){var r,i=t[n],a=o.path.length-1;for(r=0;r<a;r++)i=i[o.path[r]];switch(o.kind){case"A":e(i[o.path[r]],o.index,o.item);break;case"D":delete i[o.path[r]];break;case"E":case"N":i[o.path[r]]=o.rhs}}else switch(o.kind){case"A":e(t[n],o.index,o.item);break;case"D":t=l(t,n);break;case"E":case"N":t[n]=o.rhs}return t}(o.path?r[o.path[i]]:r,o.index,o.item);break;case"D":delete r[o.path[i]];break;case"E":case"N":r[o.path[i]]=o.rhs}}}return n(r,o),n(i,o),n(a,o),n(s,o),Object.defineProperties(h,{diff:{value:h,enumerable:!0},orderIndependentDiff:{value:function(e,t,n,o){var r=o?function(e){e&&o.push(e)}:void 0,i=d(e,t,r,n,!0);return o||(i.length?i:void 0)},enumerable:!0},observableDiff:{value:d,enumerable:!0},orderIndependentObservableDiff:{value:function(e,t,n,o,r,i,a){return f(e,t,n,o,r,i,a,!0)},enumerable:!0},orderIndepHash:{value:p,enumerable:!0},applyDiff:{value:function(e,t,n){e&&t&&d(e,t,(function(o){n&&!n(e,t,o)||m(e,t,o)}))},enumerable:!0},applyChange:{value:m,enumerable:!0},revertChange:{value:function(e,t,n){if(e&&t&&n&&n.kind){var o,r,i=e;for(r=n.path.length-1,o=0;o<r;o++)void 0===i[n.path[o]]&&(i[n.path[o]]={}),i=i[n.path[o]];switch(n.kind){case"A":!function e(t,n,o){if(o.path&&o.path.length){var r,i=t[n],a=o.path.length-1;for(r=0;r<a;r++)i=i[o.path[r]];switch(o.kind){case"A":e(i[o.path[r]],o.index,o.item);break;case"D":case"E":i[o.path[r]]=o.lhs;break;case"N":delete i[o.path[r]]}}else switch(o.kind){case"A":e(t[n],o.index,o.item);break;case"D":case"E":t[n]=o.lhs;break;case"N":t=l(t,n)}return t}(i[n.path[o]],n.index,n.item);break;case"D":case"E":i[n.path[o]]=n.lhs;break;case"N":delete i[n.path[o]]}}},enumerable:!0},isConflict:{value:function(){return"undefined"!=typeof $conflict},enumerable:!0}}),h.DeepDiff=h,e&&(e.DeepDiff=h),h}(this),void 0===(o=function(){return r}.call(t,n,t,e))||(e.exports=o)},function(e,t){var n=new Error("Element already at target scroll position"),o=new Error("Scroll cancelled"),r=Math.min,i=Date.now;function a(e){return function(t,a,c,u){"function"==typeof(c=c||{})&&(u=c,c={}),"function"!=typeof u&&(u=l);var p=i(),f=t[e],d=c.ease||s,h=isNaN(c.duration)?350:+c.duration,m=!1;return f===a?u(n,t[e]):requestAnimationFrame((function n(s){if(m)return u(o,t[e]);var l=i();var c=r(1,(l-p)/h);var y=d(c);t[e]=y*(a-f)+f;c<1?requestAnimationFrame(n):requestAnimationFrame((function(){u(null,t[e])}))})),function(){m=!0}}}function s(e){return.5*(1-Math.cos(Math.PI*e))}function l(){}e.exports={left:a("scrollLeft"),top:a("scrollTop")}},function(e,t,n){"use strict";(function(e){var o=n(1),r=n.n(o),i=n(0),a=n.n(i),s=n(11),l=n.n(s),c=n(12),u=n(4),p=n.n(u),f=n(2),d=n.n(f),h=n(6),m=n(5),y=n.n(m),b=n(9);function g(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function v(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function w(e,t,n){return t&&v(e.prototype,t),n&&v(e,n),e}function E(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function O(e,t){var n=Object.keys(e);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(e)),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n}function S(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?O(n,!0).forEach((function(t){E(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):O(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function T(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&N(e,t)}function k(e){return(k=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function N(e,t){return(N=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function P(e,t){if(null==e)return{};var n,o,r=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function C(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function I(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?C(e):t}var R={flip:{padding:20},preventOverflow:{padding:10}},x={INIT:"init",IDLE:"idle",OPENING:"opening",OPEN:"open",CLOSING:"closing",ERROR:"error"},_=n.n(b).a.canUseDOM,j=void 0!==y.a.createPortal;function M(){return"ontouchstart"in window&&/Mobi/.test(navigator.userAgent)}function A(e){var t=e.title,n=e.data,o=e.warn,r=void 0!==o&&o,i=e.debug,a=void 0!==i&&i,s=r?console.warn||console.error:console.log;a&&t&&n&&(console.groupCollapsed("%creact-floater: ".concat(t),"color: #9b00ff; font-weight: bold; font-size: 12px;"),Array.isArray(n)?n.forEach((function(e){d.a.plainObject(e)&&e.key?s.apply(console,[e.key,e.value]):s.apply(console,[e])})):s.apply(console,[n]),console.groupEnd())}function L(){}var D=function(e){function t(e){var n;return g(this,t),n=I(this,k(t).call(this,e)),_?(n.node=document.createElement("div"),e.id&&(n.node.id=e.id),e.zIndex&&(n.node.style.zIndex=e.zIndex),document.body.appendChild(n.node),n):I(n)}return T(t,e),w(t,[{key:"componentDidMount",value:function(){_&&(j||this.renderPortal())}},{key:"componentDidUpdate",value:function(){_&&(j||this.renderPortal())}},{key:"componentWillUnmount",value:function(){_&&this.node&&(j||y.a.unmountComponentAtNode(this.node),document.body.removeChild(this.node))}},{key:"renderPortal",value:function(){if(!_)return null;var e=this.props,t=e.children,n=e.setRef;return j?y.a.createPortal(t,this.node):(n(y.a.unstable_renderSubtreeIntoContainer(this,t.length>1?r.a.createElement("div",null,t):t[0],this.node)),null)}},{key:"renderReact16",value:function(){var e=this.props,t=e.hasChildren,n=e.placement,o=e.target;return t?this.renderPortal():o||"center"===n?this.renderPortal():null}},{key:"render",value:function(){return j?this.renderReact16():null}}]),t}(r.a.Component);E(D,"propTypes",{children:a.a.oneOfType([a.a.element,a.a.array]),hasChildren:a.a.bool,id:a.a.oneOfType([a.a.string,a.a.number]),placement:a.a.string,setRef:a.a.func.isRequired,target:a.a.oneOfType([a.a.object,a.a.string]),zIndex:a.a.number});var B=function(e){function t(){return g(this,t),I(this,k(t).apply(this,arguments))}return T(t,e),w(t,[{key:"render",value:function(){var e,t=this.props,n=t.placement,o=t.setArrowRef,i=t.styles.arrow,a=i.color,s=i.display,l=i.length,c=i.margin,u=i.position,p=i.spread,f={display:s,position:u},d=p,h=l;return n.startsWith("top")?(e="0,0 ".concat(d/2,",").concat(h," ").concat(d,",0"),f.bottom=0,f.marginLeft=c,f.marginRight=c):n.startsWith("bottom")?(e="".concat(d,",").concat(h," ").concat(d/2,",0 0,").concat(h),f.top=0,f.marginLeft=c,f.marginRight=c):n.startsWith("left")?(h=p,e="0,0 ".concat(d=l,",").concat(h/2," 0,").concat(h),f.right=0,f.marginTop=c,f.marginBottom=c):n.startsWith("right")&&(h=p,e="".concat(d=l,",").concat(h," ").concat(d,",0 0,").concat(h/2),f.left=0,f.marginTop=c,f.marginBottom=c),r.a.createElement("div",{className:"__floater__arrow",style:this.parentStyle},r.a.createElement("span",{ref:o,style:f},r.a.createElement("svg",{width:d,height:h,version:"1.1",xmlns:"http://www.w3.org/2000/svg"},r.a.createElement("polygon",{points:e,fill:a}))))}},{key:"parentStyle",get:function(){var e=this.props,t=e.placement,n=e.styles.arrow.length,o={position:"absolute"};return t.startsWith("top")?(o.bottom=0,o.left=0,o.right=0,o.height=n):t.startsWith("bottom")?(o.left=0,o.right=0,o.top=0,o.height=n):t.startsWith("left")?(o.right=0,o.top=0,o.bottom=0):t.startsWith("right")&&(o.left=0,o.top=0),o}}]),t}(r.a.Component);E(B,"propTypes",{placement:a.a.string.isRequired,setArrowRef:a.a.func.isRequired,styles:a.a.object.isRequired});var F=function(e){var t=e.handleClick,n=e.styles,o=n.color,i=n.height,a=n.width,s=P(n,["color","height","width"]);return r.a.createElement("button",{"aria-label":"close",onClick:t,style:s,type:"button"},r.a.createElement("svg",{width:"".concat(a,"px"),height:"".concat(i,"px"),viewBox:"0 0 18 18",version:"1.1",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid"},r.a.createElement("g",null,r.a.createElement("path",{d:"M8.13911129,9.00268191 L0.171521827,17.0258467 C-0.0498027049,17.248715 -0.0498027049,17.6098394 0.171521827,17.8327545 C0.28204354,17.9443526 0.427188206,17.9998706 0.572051765,17.9998706 C0.71714958,17.9998706 0.862013139,17.9443526 0.972581703,17.8327545 L9.0000937,9.74924618 L17.0276057,17.8327545 C17.1384085,17.9443526 17.2832721,17.9998706 17.4281356,17.9998706 C17.5729992,17.9998706 17.718097,17.9443526 17.8286656,17.8327545 C18.0499901,17.6098862 18.0499901,17.2487618 17.8286656,17.0258467 L9.86135722,9.00268191 L17.8340066,0.973848225 C18.0553311,0.750979934 18.0553311,0.389855532 17.8340066,0.16694039 C17.6126821,-0.0556467968 17.254037,-0.0556467968 17.0329467,0.16694039 L9.00042166,8.25611765 L0.967006424,0.167268345 C0.745681892,-0.0553188426 0.387317931,-0.0553188426 0.165993399,0.167268345 C-0.0553311331,0.390136635 -0.0553311331,0.751261038 0.165993399,0.974176179 L8.13920499,9.00268191 L8.13911129,9.00268191 Z",fill:o}))))};F.propTypes={handleClick:a.a.func.isRequired,styles:a.a.object.isRequired};var q=function(e){var t=e.content,n=e.footer,o=e.handleClick,i=e.open,a=e.positionWrapper,s=e.showCloseButton,l=e.title,c=e.styles,u={content:r.a.isValidElement(t)?t:r.a.createElement("div",{className:"__floater__content",style:c.content},t)};return l&&(u.title=r.a.isValidElement(l)?l:r.a.createElement("div",{className:"__floater__title",style:c.title},l)),n&&(u.footer=r.a.isValidElement(n)?n:r.a.createElement("div",{className:"__floater__footer",style:c.footer},n)),!s&&!a||d.a.boolean(i)||(u.close=r.a.createElement(F,{styles:c.close,handleClick:o})),r.a.createElement("div",{className:"__floater__container",style:c.container},u.close,u.title,u.content,u.footer)};q.propTypes={content:a.a.node.isRequired,footer:a.a.node,handleClick:a.a.func.isRequired,open:a.a.bool,positionWrapper:a.a.bool.isRequired,showCloseButton:a.a.bool.isRequired,styles:a.a.object.isRequired,title:a.a.node};var U=function(e){function t(){return g(this,t),I(this,k(t).apply(this,arguments))}return T(t,e),w(t,[{key:"render",value:function(){var e=this.props,t=e.component,n=e.handleClick,o=e.hideArrow,i=e.setFloaterRef,a=e.status,s={},l=["__floater"];return t?r.a.isValidElement(t)?s.content=r.a.cloneElement(t,{closeFn:n}):s.content=t({closeFn:n}):s.content=r.a.createElement(q,this.props),a===x.OPEN&&l.push("__floater__open"),o||(s.arrow=r.a.createElement(B,this.props)),r.a.createElement("div",{ref:i,className:l.join(" "),style:this.style},r.a.createElement("div",{className:"__floater__body"},s.content,s.arrow))}},{key:"style",get:function(){var e=this.props,t=e.disableAnimation,n=e.component,o=e.placement,r=e.hideArrow,i=e.isPositioned,a=e.status,s=e.styles,l=s.arrow.length,c=s.floater,u=s.floaterCentered,p=s.floaterClosing,f=s.floaterOpening,d=s.floaterWithAnimation,h=s.floaterWithComponent,m={};return r||(o.startsWith("top")?m.padding="0 0 ".concat(l,"px"):o.startsWith("bottom")?m.padding="".concat(l,"px 0 0"):o.startsWith("left")?m.padding="0 ".concat(l,"px 0 0"):o.startsWith("right")&&(m.padding="0 0 0 ".concat(l,"px"))),[x.OPENING,x.OPEN].includes(a)&&(m=S({},m,{},f)),a===x.CLOSING&&(m=S({},m,{},p)),a!==x.OPEN||t||i||(m=S({},m,{},d)),"center"===o&&(m=S({},m,{},u)),n&&(m=S({},m,{},h)),S({},c,{},m)}}]),t}(r.a.Component);E(U,"propTypes",{component:a.a.oneOfType([a.a.func,a.a.element]),content:a.a.node,disableAnimation:a.a.bool.isRequired,footer:a.a.node,handleClick:a.a.func.isRequired,hideArrow:a.a.bool.isRequired,isPositioned:a.a.bool,open:a.a.bool,placement:a.a.string.isRequired,positionWrapper:a.a.bool.isRequired,setArrowRef:a.a.func.isRequired,setFloaterRef:a.a.func.isRequired,showCloseButton:a.a.bool,status:a.a.string.isRequired,styles:a.a.object.isRequired,title:a.a.node});var W=function(e){function t(){return g(this,t),I(this,k(t).apply(this,arguments))}return T(t,e),w(t,[{key:"render",value:function(){var e,t=this.props,n=t.children,o=t.handleClick,i=t.handleMouseEnter,a=t.handleMouseLeave,s=t.setChildRef,l=t.setWrapperRef,c=t.style,u=t.styles;if(n)if(1===r.a.Children.count(n))if(r.a.isValidElement(n)){var p=d.a.function(n.type)?"innerRef":"ref";e=r.a.cloneElement(r.a.Children.only(n),E({},p,s))}else e=r.a.createElement("span",null,n);else e=n;return e?r.a.createElement("span",{ref:l,style:S({},u,{},c),onClick:o,onMouseEnter:i,onMouseLeave:a},e):null}}]),t}(r.a.Component);E(W,"propTypes",{children:a.a.node,handleClick:a.a.func.isRequired,handleMouseEnter:a.a.func.isRequired,handleMouseLeave:a.a.func.isRequired,setChildRef:a.a.func.isRequired,setWrapperRef:a.a.func.isRequired,style:a.a.object,styles:a.a.object.isRequired});var z={zIndex:100};var H=["position","top","right","bottom","left"],G=function(t){function n(e){var t;return g(this,n),E(C(t=I(this,k(n).call(this,e))),"setArrowRef",(function(e){t.arrowRef=e})),E(C(t),"setChildRef",(function(e){t.childRef=e})),E(C(t),"setFloaterRef",(function(e){t.floaterRef||(t.floaterRef=e)})),E(C(t),"setWrapperRef",(function(e){t.wrapperRef=e})),E(C(t),"handleTransitionEnd",(function(){var e=t.state.status,n=t.props.callback;t.wrapperPopper&&t.wrapperPopper.instance.update(),t.setState({status:e===x.OPENING?x.OPEN:x.IDLE},(function(){var e=t.state.status;n(e===x.OPEN?"open":"close",t.props)}))})),E(C(t),"handleClick",(function(){var e=t.props,n=e.event,o=e.open;if(!d.a.boolean(o)){var r=t.state,i=r.positionWrapper,a=r.status;("click"===t.event||"hover"===t.event&&i)&&(A({title:"click",data:[{event:n,status:a===x.OPEN?"closing":"opening"}],debug:t.debug}),t.toggle())}})),E(C(t),"handleMouseEnter",(function(){var e=t.props,n=e.event,o=e.open;if(!d.a.boolean(o)&&!M()){var r=t.state.status;"hover"===t.event&&r===x.IDLE&&(A({title:"mouseEnter",data:[{key:"originalEvent",value:n}],debug:t.debug}),clearTimeout(t.eventDelayTimeout),t.toggle())}})),E(C(t),"handleMouseLeave",(function(){var e=t.props,n=e.event,o=e.eventDelay,r=e.open;if(!d.a.boolean(r)&&!M()){var i=t.state,a=i.status,s=i.positionWrapper;"hover"===t.event&&(A({title:"mouseLeave",data:[{key:"originalEvent",value:n}],debug:t.debug}),o?![x.OPENING,x.OPEN].includes(a)||s||t.eventDelayTimeout||(t.eventDelayTimeout=setTimeout((function(){delete t.eventDelayTimeout,t.toggle()}),1e3*o)):t.toggle(x.IDLE))}})),t.state={currentPlacement:e.placement,positionWrapper:e.wrapperOptions.position&&!!e.target,status:x.INIT,statusWrapper:x.INIT},t._isMounted=!1,_&&window.addEventListener("load",(function(){t.popper&&t.popper.instance.update(),t.wrapperPopper&&t.wrapperPopper.instance.update()})),t}return T(n,t),w(n,[{key:"componentDidMount",value:function(){if(_){var e=this.state.positionWrapper,t=this.props,n=t.children,o=t.open,r=t.target;this._isMounted=!0,A({title:"init",data:{hasChildren:!!n,hasTarget:!!r,isControlled:d.a.boolean(o),positionWrapper:e,target:this.target,floater:this.floaterRef},debug:this.debug}),this.initPopper(),!n&&r&&d.a.boolean(o)}}},{key:"componentDidUpdate",value:function(e,t){if(_){var n,o=this.props,r=o.autoOpen,i=o.open,a=o.target,s=o.wrapperOptions,l=Object(h.a)(t,this.state),c=l.changedFrom,u=l.changedTo;if(e.open!==i)d.a.boolean(i)&&(n=i?x.OPENING:x.CLOSING),this.toggle(n);e.wrapperOptions.position===s.position&&e.target===a||this.changeWrapperPosition(this.props),u("status",x.IDLE)&&i?this.toggle(x.OPEN):c("status",x.INIT,x.IDLE)&&r&&this.toggle(x.OPEN),this.popper&&u("status",x.OPENING)&&this.popper.instance.update(),this.floaterRef&&(u("status",x.OPENING)||u("status",x.CLOSING))&&function(e,t,n){var o,r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];o=function(r){n(r),function(e,t,n){var o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];e.removeEventListener(t,n,o)}(e,t,o)},function(e,t,n){var o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];e.addEventListener(t,n,o)}(e,t,o,r)}(this.floaterRef,"transitionend",this.handleTransitionEnd)}}},{key:"componentWillUnmount",value:function(){_&&(this._isMounted=!1,this.popper&&this.popper.instance.destroy(),this.wrapperPopper&&this.wrapperPopper.instance.destroy())}},{key:"initPopper",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.target,n=this.state.positionWrapper,o=this.props,r=o.disableFlip,i=o.getPopper,a=o.hideArrow,s=o.offset,l=o.placement,u=o.wrapperOptions,p="top"===l||"bottom"===l?"flip":["right","bottom-end","top-end","left","top-start","bottom-start"];if("center"===l?this.setState({status:x.IDLE}):t&&this.floaterRef&&new c.a(t,this.floaterRef,{placement:l,modifiers:{arrow:S({enabled:!a,element:this.arrowRef},this.options.arrow),computeStyle:this.options.computeStyle,flip:S({enabled:!r,behavior:p},this.options.flip),keepTogether:this.options.keepTogether,hide:this.options.hide,inner:this.options.inner,offset:S({offset:"0, ".concat(s,"px")},this.options.offset),preventOverflow:this.options.preventOverflow,shift:this.options.shift},onCreate:function(t){e.popper=t,i(t,"floater"),e._isMounted&&e.setState({currentPlacement:t.placement,status:x.IDLE}),l!==t.placement&&setTimeout((function(){t.instance.update()}),1)},onUpdate:function(t){e.popper=t;var n=e.state.currentPlacement;e._isMounted&&t.placement!==n&&e.setState({currentPlacement:t.placement})}}),n){var f=d.a.undefined(u.offset)?0:u.offset;new c.a(this.target,this.wrapperRef,{placement:u.placement||l,modifiers:{arrow:{enabled:!1},offset:{offset:"0, ".concat(f,"px")},flip:{enabled:!1}},onCreate:function(t){e.wrapperPopper=t,e._isMounted&&e.setState({statusWrapper:x.IDLE}),i(t,"wrapper"),l!==t.placement&&setTimeout((function(){t.instance.update()}),1)}})}}},{key:"changeWrapperPosition",value:function(e){var t=e.target,n=e.wrapperOptions;this.setState({positionWrapper:n.position&&!!t})}},{key:"toggle",value:function(e){var t=this.state.status===x.OPEN?x.CLOSING:x.OPENING;d.a.undefined(e)||(t=e),this.setState({status:t})}},{key:"render",value:function(){var e=this.state,t=e.currentPlacement,n=e.positionWrapper,o=e.status,i=this.props,a=i.children,s=i.component,l=i.content,c=i.disableAnimation,u=i.footer,p=i.hideArrow,f=i.id,d=i.isPositioned,h=i.open,m=i.showCloseButton,y=i.style,b=i.target,g=i.title,v=r.a.createElement(W,{handleClick:this.handleClick,handleMouseEnter:this.handleMouseEnter,handleMouseLeave:this.handleMouseLeave,setChildRef:this.setChildRef,setWrapperRef:this.setWrapperRef,style:y,styles:this.styles.wrapper},a),w={};return n?w.wrapperInPortal=v:w.wrapperAsChildren=v,r.a.createElement("span",null,r.a.createElement(D,{hasChildren:!!a,id:f,placement:t,setRef:this.setFloaterRef,target:b,zIndex:this.styles.options.zIndex},r.a.createElement(U,{component:s,content:l,disableAnimation:c,footer:u,handleClick:this.handleClick,hideArrow:p||"center"===t,isPositioned:d,open:h,placement:t,positionWrapper:n,setArrowRef:this.setArrowRef,setFloaterRef:this.setFloaterRef,showCloseButton:m,status:o,styles:this.styles,title:g}),w.wrapperInPortal),w.wrapperAsChildren)}},{key:"debug",get:function(){return this.props.debug||!!e.ReactFloaterDebug}},{key:"event",get:function(){var e=this.props,t=e.disableHoverToClick,n=e.event;return"hover"===n&&M()&&!t?"click":n}},{key:"options",get:function(){var e=this.props.options;return p()(R,e||{})}},{key:"styles",get:function(){var e,t=this,n=this.state,o=n.status,r=n.positionWrapper,i=n.statusWrapper,a=this.props.styles,s=p()(function(e){var t=p()(z,e.options||{});return{wrapper:{cursor:"help",display:"inline-flex",flexDirection:"column",zIndex:t.zIndex},wrapperPosition:{left:-1e3,position:"absolute",top:-1e3,visibility:"hidden"},floater:{display:"inline-block",filter:"drop-shadow(0 0 3px rgba(0, 0, 0, 0.3))",maxWidth:300,opacity:0,position:"relative",transition:"opacity 0.3s",visibility:"hidden",zIndex:t.zIndex},floaterOpening:{opacity:1,visibility:"visible"},floaterWithAnimation:{opacity:1,transition:"opacity 0.3s, transform 0.2s",visibility:"visible"},floaterWithComponent:{maxWidth:"100%"},floaterClosing:{opacity:0,visibility:"visible"},floaterCentered:{left:"50%",position:"fixed",top:"50%",transform:"translate(-50%, -50%)"},container:{backgroundColor:"#fff",color:"#666",minHeight:60,minWidth:200,padding:20,position:"relative"},title:{borderBottom:"1px solid #555",color:"#555",fontSize:18,marginBottom:5,paddingBottom:6,paddingRight:18},content:{fontSize:15},close:{backgroundColor:"transparent",border:0,borderRadius:0,color:"#555",fontSize:0,height:15,outline:"none",padding:10,position:"absolute",right:0,top:0,width:15,WebkitAppearance:"none"},footer:{borderTop:"1px solid #ccc",fontSize:13,marginTop:10,paddingTop:5},arrow:{color:"#fff",display:"inline-flex",length:16,margin:8,position:"absolute",spread:32},options:t}}(a),a);r&&(e=[x.IDLE].includes(o)&&[x.IDLE].includes(i)?this.wrapperPopper.styles:s.wrapperPosition,s.wrapper=S({},s.wrapper,{},e));if(this.target){var l=window.getComputedStyle(this.target);this.wrapperStyles?s.wrapper=S({},s.wrapper,{},this.wrapperStyles):["relative","static"].includes(l.position)||(this.wrapperStyles={},r||(H.forEach((function(e){t.wrapperStyles[e]=l[e]})),s.wrapper=S({},s.wrapper,{},this.wrapperStyles),this.target.style.position="relative",this.target.style.top="auto",this.target.style.right="auto",this.target.style.bottom="auto",this.target.style.left="auto"))}return s}},{key:"target",get:function(){if(!_)return null;var e=this.props.target;return e?d.a.domElement(e)?e:document.querySelector(e):this.childRef||this.wrapperRef}}]),n}(r.a.Component);E(G,"propTypes",{autoOpen:a.a.bool,callback:a.a.func,children:a.a.node,component:l()(a.a.oneOfType([a.a.func,a.a.element]),(function(e){return!e.content})),content:l()(a.a.node,(function(e){return!e.component})),debug:a.a.bool,disableAnimation:a.a.bool,disableFlip:a.a.bool,disableHoverToClick:a.a.bool,event:a.a.oneOf(["hover","click"]),eventDelay:a.a.number,footer:a.a.node,getPopper:a.a.func,hideArrow:a.a.bool,id:a.a.oneOfType([a.a.string,a.a.number]),isPositioned:a.a.bool,offset:a.a.number,open:a.a.bool,options:a.a.object,placement:a.a.oneOf(["top","top-start","top-end","bottom","bottom-start","bottom-end","left","left-start","left-end","right","right-start","right-end","auto","center"]),showCloseButton:a.a.bool,style:a.a.object,styles:a.a.object,target:a.a.oneOfType([a.a.object,a.a.string]),title:a.a.node,wrapperOptions:a.a.shape({offset:a.a.number,placement:a.a.oneOf(["top","top-start","top-end","bottom","bottom-start","bottom-end","left","left-start","left-end","right","right-start","right-end","auto"]),position:a.a.bool})}),E(G,"defaultProps",{autoOpen:!1,callback:L,debug:!1,disableAnimation:!1,disableFlip:!1,disableHoverToClick:!1,event:"click",eventDelay:.4,getPopper:L,hideArrow:!1,offset:15,placement:"bottom",showCloseButton:!1,styles:{},target:null,wrapperOptions:{position:!1}}),t.a=G}).call(this,n(13))},function(e,t,n){var o;
39
/*!
40
Copyright (c) 2017 Jed Watson.
41
Licensed under the MIT License (MIT), see
42
http://jedwatson.github.io/classnames
43
+ */!function(){"use strict";var n={}.hasOwnProperty;function r(){for(var e=[],t=0;t<arguments.length;t++){var o=arguments[t];if(o){var i=typeof o;if("string"===i||"number"===i)e.push(o);else if(Array.isArray(o)&&o.length){var a=r.apply(null,o);a&&e.push(a)}else if("object"===i)for(var s in o)n.call(o,s)&&o[s]&&e.push(s)}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):void 0===(o=function(){return r}.apply(t,[]))||(e.exports=o)}()},function(e,t,n){e.exports=function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=6)}([function(e,t){e.exports=n(1)},function(e,t,n){e.exports=n(2)()},function(e,t,n){"use strict";var o=n(3);function r(){}e.exports=function(){function e(e,t,n,r,i,a){if(a!==o){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}var n={array:e.isRequired=e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return n.checkPropTypes=r,n.PropTypes=n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){},,function(e,t,n){"use strict";n.r(t);var o=n(0),r=n.n(o),i="notification-item",a={BOTTOM_LEFT:"bottom-left",BOTTOM_RIGHT:"bottom-right",BOTTOM_CENTER:"bottom-center",TOP_LEFT:"top-left",TOP_RIGHT:"top-right",TOP_CENTER:"top-center"},s={TOP:"top",BOTTOM:"bottom"},l={SUCCESS:"success",DANGER:"danger",INFO:"info",DEFAULT:"default",WARNING:"warning"},c="SLIDING_ANIMATION_EXIT",u="TOUCH_SLIDING_ANIMATION_EXIT",p="REMOVAL",f={TIMEOUT:1,CLICK:2,TOUCH:3,MANUAL:4},d={DISMISS_ICON_CLASS:"className property of dismissIcon option is required",DISMISS_ICON_CONTENT:"content property of dismissIcon option is required",DISMISS_ICON_STRING:"className property of dismissIcon option must be a String",DISMISS_ICON_INVALID:"content property of dismissIcon option must be a valid React element",ANIMATION_IN:"animationIn option must be an array",ANIMATION_OUT:"animationOut option must be an array",DISMISS_REQUIRED:"duration property of dismiss option is required",DISMISS_NUMBER:"duration property of dismiss option must be a Number",DISMISS_POSITIVE:"duration property of dismiss option must be a positive Number",TITLE_STRING:"title option must be a String.",MESSAGE_REQUIRED:"message option is required",MESSAGE_STRING:"message option must be a String",TYPE_REQUIRED:"type option is required",TYPE_STRING:"type option must be a String",TYPE_NOT_EXISTENT:"type option not found",CONTAINER_REQUIRED:"container option is required",CONTAINER_STRING:"container option must be a String",DISMISSABLE_CLICK_BOOL:"click property of dismissable option must be a Boolean",DISMISSABLE_TOUCH_BOOL:"touch property of dismissable option must be a Boolean",WIDTH_NUMBER:"width option must be a Number",INSERT_STRING:"insert option must be a String",TRANSITION_DURATION_NUMBER:"duration property of transition option must be a Number",TRANSITION_CUBICBEZIER_NUMBER:"cubicBezier property of transition option must be a String",TRANSITION_DELAY_NUMBER:"delay property of transition option must be a Number",TYPE_NOT_FOUND:"custom type not found"};function h(e){return e?"".concat(e,"px"):void 0}function m(e){return null==e}function y(e){return"string"==typeof e}function b(e){return"number"==typeof e}function g(e){return"boolean"==typeof e}function v(e){return!m(e)&&e.constructor===Array}function w(e,t){var n=t.duration,o=t.cubicBezier,r=t.delay,i=e||{};if(m(i.duration)&&(i.duration=n),m(i.cubicBezier)&&(i.cubicBezier=o),m(i.delay)&&(i.delay=r),!b(i.duration))throw new Error(d.TRANSITION_DURATION_NUMBER);if(!y(i.cubicBezier))throw new Error(d.TRANSITION_CUBICBEZIER_NUMBER);if(!b(i.delay))throw new Error(d.TRANSITION_DELAY_NUMBER);return i}function E(e){return e===a.BOTTOM_LEFT||e===a.BOTTOM_RIGHT||e===a.BOTTOM_CENTER}function O(e){return e===a.TOP_LEFT||e===a.TOP_RIGHT||e===a.TOP_CENTER}function S(e){var t=e.type,n=e.userDefinedTypes;if(e.content)return[i];if(!n)return function(e){switch(e.toLowerCase()){case l.DEFAULT:return[i,"notification-default"];case l.SUCCESS:return[i,"notification-success"];case l.DANGER:return[i,"notification-danger"];case l.WARNING:return[i,"notification-warning"];case l.INFO:return[i,"notification-info"];default:return[i]}}(t);var o=n.find((function(e){return e.name===t}));if(!o)throw new Error(d.TYPE_NOT_FOUND);return[i].concat(o.htmlClasses)}function T(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:500,t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"linear",n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:0,o=3<arguments.length&&void 0!==arguments[3]?arguments[3]:"height";return"".concat(e,"ms ").concat(o," ").concat(t," ").concat(n,"ms")}function k(e){return T(e.slidingExit.duration,e.slidingExit.cubicBezier,e.slidingExit.delay,"all")}function N(e,t,n){var o,r,i=2*window.innerWidth,a=T((o=e.touchSlidingExit.swipe).duration,o.cubicBezier,o.delay,"left"),s=T((r=e.touchSlidingExit.fade).duration,r.cubicBezier,r.delay,"opacity");return{opacity:0,position:"relative",transition:"".concat(a,", ").concat(s),left:"".concat(0<=n-t?i:-i,"px")}}function P(e,t){return{height:"".concat(t,"px"),width:h(e.width),transition:T(e.slidingExit.duration,e.slidingExit.cubicBezier,e.slidingExit.delay)}}function C(e){return(C="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function I(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function R(e){return(R=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function x(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _(e,t){return(_=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var j=function(e){function t(e){var n,o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),this,(n=!(o=R(t).call(this,e))||"object"!==C(o)&&"function"!=typeof o?x(this):o).endOfSmartSliding=!1,n.onTransitionEnd=n.onTransitionEnd.bind(x(n)),n.onNotificationClick=n.onNotificationClick.bind(x(n)),n.setDismissTimeout=n.setDismissTimeout.bind(x(n)),n.onSmartSlidingEnd=n.onSmartSlidingEnd.bind(x(n)),n.onTouchSmartSlidingEnd=n.onTouchSmartSlidingEnd.bind(x(n)),n.onTouchStart=n.onTouchStart.bind(x(n)),n.onTouchMove=n.onTouchMove.bind(x(n)),n.onTouchEnd=n.onTouchEnd.bind(x(n)),n.rootDOM=r.a.createRef(),n.state=function(e){var t,n=e.notification,o=e.isFirstNotification,r=((t=n).insert===s.TOP&&O(t.container)||t.insert===s.BOTTOM&&E(t.container))&&!o,i={};return i.animatedElementClasses=S(n),i.rootElementStyle={height:"0",marginBottom:0,overflow:"hidden",width:h(n.width)},r?i.animatedElementClasses.push("notification-invisible"):n.animationIn&&0<n.animationIn.length&&n.animationIn.forEach((function(e){return i.animatedElementClasses.push(e)})),i.hasSliding=r,i}(e),n}var n,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_(e,t)}(t,r.a.Component),n=t,(o=[{key:"componentDidMount",value:function(){this.smartSliding(),this.setRemovalTimeout(this.props.notification.dismiss)}},{key:"componentWillUnmount",value:function(){this.timeoutId&&(this.timeoutId=clearTimeout(this.timeoutId))}},{key:"setDismissTimeout",value:function(e){var t=this;this.timeoutId=setTimeout((function(){var e=t.props,n=e.notification,o=e.toggleTimeoutRemoval;n.stage!==p&&n.stage!==u&&t.setState({rootElementStyle:P(n,t.rootDOM.current.scrollHeight)},(function(){return requestAnimationFrame((function(){return o(n)}))}))}),e)}},{key:"setRemovalTimeout",value:function(e){e&&0<e.duration&&this.setDismissTimeout(e.duration)}},{key:"onTransitionEnd",value:function(){var e=this.props.notification,t=e.animationIn,n=S(e);n.push("notification-visible"),n=n.concat(t||[]),this.setState({animatedElementClasses:n,rootElementStyle:{height:"auto",width:h(e.width)}})}},{key:"onTouchSmartSlidingEnd",value:function(e){e.stopPropagation(),e.target.isSameNode(this.rootDOM.current)&&(this.endOfSmartSliding&&this.props.toggleRemoval(this.props.notification),this.endOfSmartSliding=!0)}},{key:"onSmartSlidingEnd",value:function(){var e=this.props.notification;e.animationOut&&e.animationOut.length&&!this.endOfSmartSliding||this.props.toggleRemoval(e),this.endOfSmartSliding=!0}},{key:"smartSliding",value:function(){var e=this.props.notification,t=e.slidingEnter,n=S(e),o={transition:e.resized?void 0:T(t.duration,t.cubicBezier,t.delay),width:h(e.width),height:"".concat(this.rootDOM.current.scrollHeight,"px")};!e.resized&&e.animationIn&&0<e.animationIn.length&&e.animationIn.forEach((function(e){return n.push(e)})),this.setState({rootElementStyle:o,animatedElementClasses:n})}},{key:"onNotificationClick",value:function(){var e=this,t=this.props.notification,n=P(t,this.rootDOM.current.scrollHeight);this.setState({rootElementStyle:n},(function(){return requestAnimationFrame((function(){e.props.onClickHandler(t)}))}))}},{key:"onTouchStart",value:function(e){this.setState({startX:e.touches[0].pageX,currentX:e.touches[0].pageX})}},{key:"onTouchMove",value:function(e){var t,n,o=this.props,r=o.notification,i=o.toggleTouchEnd,a=e.touches[0].pageX-this.state.startX;t=a,n=Math.abs(t),.4*window.innerWidth<=n?this.setState({animatedElementClasses:S(r),rootElementStyle:P(r,this.rootDOM.current.scrollHeight)},(function(){requestAnimationFrame((function(){return i(r)}))})):this.setState({currentX:e.touches[0].pageX,childElementStyle:{position:"relative",left:"".concat(0+a,"px")}})}},{key:"onTouchEnd",value:function(){var e=this.props.notification.touchSlidingBack;this.setState({childElementStyle:{left:"0",position:"relative",transition:T(e.duration,e.cubicBezier,e.delay,"left")}})}},{key:"render",value:function(){var e=this.props.notification,t=this.state.childElementStyle,n=this.onAnimationEnd,o=null,i=!1,a=this.state.hasSliding?this.onTransitionEnd:null,s=function(e,t){var n,o,r,i,a,s,l,p,f,d=u,m=c,y=t.animatedElementClasses,b=t.rootElementStyle,g=t.currentX,v=t.startX;return e.stage===d?(i=g,a=v,s=S(r=e),{childElementStyle:N(r,a,i),animatedElementClasses:s,rootElementStyle:{height:0,marginBottom:0,transition:k(r),width:h(r.width)}}):e.stage===m?(p=(l=e).animationOut,f=S(l),p&&p.forEach((function(e){return f.push(e)})),{rootElementStyle:{height:0,marginBottom:0,transition:k(l),width:h(l.width)},animatedElementClasses:f}):(n=e.resized?(o=b,S(e)):(o=b,y),{rootElementStyle:o,animatedElementClasses:n})}(e,this.state),l=(s.animatedElementClasses||[]).join(" "),f=s.rootElementStyle;if(e.dismissable.click&&(o=this.onNotificationClick),e.stage===p?(n=null,f=P(e,this.rootDOM.current.scrollHeight)):e.stage===c?(n=this.onSmartSlidingEnd,a=this.onSmartSlidingEnd):e.stage===u&&(n=this.onTouchSmartSlidingEnd,a=this.onTouchSmartSlidingEnd,o=null,t=s.childElementStyle,i=!0),e.content)return r.a.createElement("div",{onTouchStart:i?null:this.onTouchStart,onTouchMove:i?null:this.onTouchMove,onTouchEnd:i?null:this.onTouchEnd,onTouchCancel:i?null:this.onTouchEnd,onClick:o,className:"notification-item-root",onAnimationEnd:n,onTransitionEnd:a,ref:this.rootDOM,style:f},r.a.createElement("div",{className:"".concat(l," notification-item-child"),style:t},e.content));var d,m,y,b=r.a.createElement("div",{className:"notification-close",onClick:this.onNotificationClick},r.a.createElement("span",null,"×")),g=e.dismissIcon?(d=e,m=this.onNotificationClick,d.dismissIcon?r.a.createElement("div",{className:d.dismissIcon.className,onClick:m},d.dismissIcon.content):r.a.createElement("div",{className:"notification-close",onClick:m},r.a.createElement("span",null,"×"))):b;return e.title&&(y=r.a.createElement("h4",{className:"notification-title"},e.title)),r.a.createElement("div",{onTouchStart:i?null:this.onTouchStart,onTouchMove:i?null:this.onTouchMove,onTouchEnd:i?null:this.onTouchEnd,onTouchCancel:i?null:this.onTouchEnd,onClick:o,className:"notification-item-root",onAnimationEnd:n,onTransitionEnd:a,ref:this.rootDOM,style:f},r.a.createElement("div",{className:"".concat(l," notification-item-child"),style:t},r.a.createElement("div",{className:"notification-content"},g,y,r.a.createElement("p",{className:"notification-message"},this.props.notification.message))))}}])&&I(n.prototype,o),t}(),M=n(1),A=n.n(M);function L(e){return(L="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function D(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function B(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function F(e){return(F=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function q(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function U(e,t){return(U=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}n(4);var W=function(e){function t(e){var n,o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),this,(n=!(o=F(t).call(this,e))||"object"!==L(o)&&"function"!=typeof o?q(this):o).state={isMobile:e.isMobile,breakpoint:e.breakpoint,notifications:[]},v(e.types)&&(n.state.userDefinedTypes=e.types),n.addNotification=n.addNotification.bind(q(n)),n.onNotificationClick=n.onNotificationClick.bind(q(n)),n.toggleRemoval=n.toggleRemoval.bind(q(n)),n.toggleTimeoutRemoval=n.toggleTimeoutRemoval.bind(q(n)),n.handleResize=n.handleResize.bind(q(n)),n.renderReactNotifications=n.renderReactNotifications.bind(q(n)),n.toggleTouchEnd=n.toggleTouchEnd.bind(q(n)),n}var n,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&U(e,t)}(t,r.a.Component),n=t,(o=[{key:"componentDidMount",value:function(){var e=this;this.setState({width:window.innerWidth},(function(){window.addEventListener("resize",e.handleResize)}))}},{key:"componentWillUnmount",value:function(){this.mounted=!1}},{key:"handleResize",value:function(){this.setState({width:window.innerWidth,notifications:this.state.notifications.map((function(e){return e.resized=!0,e}))})}},{key:"toggleTimeoutRemoval",value:function(e){var t=c,n=f.TIMEOUT;this.setState({notifications:this.state.notifications.map((function(o){return o.id===e.id&&(o.stage=t,o.removedBy=n),o}))})}},{key:"addNotification",value:function(e){var t=function(e,t){var n=e,o=n.insert,i=n.container,a=n.dismissIcon,s=n.animationIn,c=n.animationOut,u=n.slidingEnter,p=n.slidingExit,f=n.touchSlidingBack,h=n.touchSlidingExit,E=n.dismissable,O=n.dismiss,S=n.width,T=n.id;return n.id=T||Math.random().toString(36).substr(2,9),function(e){var t=e.content,n=e.title;if(!t&&!m(n)&&!y(n))throw new Error(d.TITLE_STRING)}(n),function(e){var t=e.content,n=e.message;if(!t){if(!n)throw new Error(d.MESSAGE_REQUIRED);if(!y(n))throw new Error(d.MESSAGE_STRING)}}(n),n.type=function(e,t){var n=e.content,o=e.type;if(!n){if(!o)throw new Error(d.TYPE_REQUIRED);if(!y(o))throw new Error(d.TYPE_STRING);if(!t&&o!==l.SUCCESS&&o!==l.DANGER&&o!==l.INFO&&o!==l.DEFAULT&&o!==l.WARNING)throw new Error(d.TYPE_NOT_EXISTENT);return o.toLowerCase()}}(n,t),t&&!n.content&&(n.userDefinedTypes=function(e,t){var n=e.type;if(!e.content&&n!==l.SUCCESS&&n!==l.DANGER&&n!==l.INFO&&n!==l.DEFAULT&&n!==l.WARNING&&t){if(!t.find((function(e){return e.name===n})))throw new Error(d.TYPE_NOT_FOUND);return t}}(n,t)),n.container=function(e){if(!e)throw new Error(d.CONTAINER_REQUIRED);if(!y(e))throw new Error(d.CONTAINER_STRING);return e.toLowerCase()}(i),n.insert=function(e){if(!e)return"top";if(!y(e))throw new Error(d.INSERT_STRING);return e.toLowerCase()}(o),n.dismissable=function(e){var t=e;if(!t)return{click:!0,touch:!0};if(m(t.click)&&(t.click=!0),m(t.touch)&&(t.touch=!0),!g(t.click))throw new Error(d.DISMISSABLE_CLICK_BOOL);if(!g(t.touch))throw new Error(d.DISMISSABLE_TOUCH_BOOL);return t}(E),function(e){if(!m(e)){var t=e.className,n=e.content;if(!t)throw new Error(d.DISMISS_ICON_CLASS);if(!y(t))throw new Error(d.DISMISS_ICON_STRING);if(!n)throw new Error(d.DISMISS_ICON_CONTENT);if(!r.a.isValidElement(n))throw new Error(d.DISMISS_ICON_INVALID)}}(a),n.animationIn=function(e){if(m(e))return[];if(!v(e))throw new Error(d.ANIMATION_IN);return e}(s),n.animationOut=function(e){if(m(e))return[];if(!v(e))throw new Error(d.ANIMATION_OUT);return e}(c),m(S)||(n.width=function(e){if(m(e))return 0;if(!b(e))throw new Error(d.WIDTH_NUMBER);return e}(S)),n.slidingEnter=w(u,{duration:600,cubicBezier:"linear",delay:0}),n.slidingExit=w(p,{duration:600,cubicBezier:"linear",delay:0}),n.touchSlidingBack=w(f,{duration:600,cubicBezier:"ease-in",delay:0}),n.touchSlidingExit=h||{},n.touchSlidingExit.swipe=w(n.touchSlidingExit.swipe||{},{duration:600,cubicBezier:"ease-in",delay:0}),n.touchSlidingExit.fade=w(n.touchSlidingExit.fade||{},{duration:300,cubicBezier:"ease-in",delay:0}),function(e){if(e){if(m(e.duration))throw new Error(d.DISMISS_REQUIRED);if(!b(e.duration))throw new Error(d.DISMISS_NUMBER);if(e.duration<0)throw new Error(d.DISMISS_POSITIVE)}}(O),n}(e,this.state.userDefinedTypes);return this.setState((function(e){return{notifications:t.insert===s.TOP?[t].concat(D(e.notifications)):[].concat(D(e.notifications),[t])}})),t.id}},{key:"removeNotification",value:function(e){var t=this;this.setState({notifications:this.state.notifications.map((function(t){return t.id===e&&(t.stage=p,t.removedBy=f.API),t}))},(function(){requestAnimationFrame((function(){t.setState({notifications:t.state.notifications.map((function(t){return t.id===e&&(t.stage=c,t.removedBy=f.API),t}))})}))}))}},{key:"onNotificationClick",value:function(e){var t=this,n=e.dismissable,o=e.dismissIcon;(n&&n.click||o)&&requestAnimationFrame((function(){t.setState({notifications:t.state.notifications.map((function(t){return t.id===e.id&&(t.stage=c,t.removedBy=f.CLICK),t}))})}))}},{key:"toggleTouchEnd",value:function(e){var t=u;this.setState({notifications:this.state.notifications.map((function(n){return n.id===e.id&&(n.stage=t,n.removedBy=f.TOUCH),n}))})}},{key:"toggleRemoval",value:function(e){var t=this;this.setState({notifications:this.state.notifications.filter((function(t){return t.id!==e.id}))},(function(){t.props.onNotificationRemoval&&t.props.onNotificationRemoval(e.id,e.removedBy)}))}},{key:"renderReactNotifications",value:function(e){var t=this;return e.map((function(n){return r.a.createElement(j,{key:n.id,notification:n,isFirstNotification:1===e.length,onClickHandler:t.onNotificationClick,toggleRemoval:t.toggleRemoval,toggleTimeoutRemoval:t.toggleTimeoutRemoval,toggleTouchEnd:t.toggleTouchEnd})}))}},{key:"render",value:function(){var e,t,n,o=this.state;if(this.props.isMobile&&o.width<=o.breakpoint){var i=(e=o.notifications,t=[],n=[],e.forEach((function(e){var o=e.container.toLowerCase();if(O(o))n.push(e);else{if(!E(o))throw new Error("Container ".concat(e.container," is not valid"));t.push(e)}})),{top:n,bottom:t}),s=this.renderReactNotifications(i.top),l=this.renderReactNotifications(i.bottom);return r.a.createElement("div",{className:"react-notification-root"},r.a.createElement("div",{className:"notification-container-mobile-top"},s),r.a.createElement("div",{className:"notification-container-mobile-bottom"},l))}var c,u,p,f,d,h,m,y=(c=o.notifications,u=[],p=[],f=[],d=[],h=[],m=[],c.forEach((function(e){var t=e.container.toLowerCase();if(t===a.TOP_LEFT)u.push(e);else if(t===a.TOP_RIGHT)p.push(e);else if(t===a.TOP_CENTER)f.push(e);else if(t===a.BOTTOM_LEFT)d.push(e);else if(t===a.BOTTOM_RIGHT)h.push(e);else{if(t!==a.BOTTOM_CENTER)throw new Error("Container ".concat(e.container," is not valid"));m.push(e)}})),{topLeft:u,topRight:p,topCenter:f,bottomLeft:d,bottomRight:h,bottomCenter:m}),b=this.renderReactNotifications(y.topLeft),g=this.renderReactNotifications(y.topRight),v=this.renderReactNotifications(y.topCenter),w=this.renderReactNotifications(y.bottomLeft),S=this.renderReactNotifications(y.bottomRight),T=this.renderReactNotifications(y.bottomCenter);return r.a.createElement("div",{className:"react-notification-root"},r.a.createElement("div",{className:"notification-container-top-left"},b),r.a.createElement("div",{className:"notification-container-top-right"},g),r.a.createElement("div",{className:"notification-container-bottom-left"},w),r.a.createElement("div",{className:"notification-container-bottom-right"},S),r.a.createElement("div",{className:"notification-container-top-center"},v),r.a.createElement("div",{className:"notification-container-bottom-center"},T))}}])&&B(n.prototype,o),t}();W.propTypes={isMobile:A.a.bool,breakpoint:A.a.number,types:A.a.array,onNotificationRemoval:A.a.func},W.defaultProps={isMobile:!0,breakpoint:768},t.default=W}])},function(e,t,n){},function(e,t,n){"use strict";var o=n(21);function r(){}function i(){}i.resetWarningCache=r,e.exports=function(){function e(e,t,n,r,i,a){if(a!==o){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:r};return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";
44
+ /** @license React v16.11.0
45
* react-is.production.min.js
46
*
47
* Copyright (c) Facebook, Inc. and its affiliates.
48
*
49
* This source code is licensed under the MIT license found in the
50
* LICENSE file in the root directory of this source tree.
51
+ */Object.defineProperty(t,"__esModule",{value:!0});var o="function"==typeof Symbol&&Symbol.for,r=o?Symbol.for("react.element"):60103,i=o?Symbol.for("react.portal"):60106,a=o?Symbol.for("react.fragment"):60107,s=o?Symbol.for("react.strict_mode"):60108,l=o?Symbol.for("react.profiler"):60114,c=o?Symbol.for("react.provider"):60109,u=o?Symbol.for("react.context"):60110,p=o?Symbol.for("react.async_mode"):60111,f=o?Symbol.for("react.concurrent_mode"):60111,d=o?Symbol.for("react.forward_ref"):60112,h=o?Symbol.for("react.suspense"):60113,m=o?Symbol.for("react.suspense_list"):60120,y=o?Symbol.for("react.memo"):60115,b=o?Symbol.for("react.lazy"):60116,g=o?Symbol.for("react.fundamental"):60117,v=o?Symbol.for("react.responder"):60118,w=o?Symbol.for("react.scope"):60119;function E(e){if("object"==typeof e&&null!==e){var t=e.$typeof;switch(t){case r:switch(e=e.type){case p:case f:case a:case l:case s:case h:return e;default:switch(e=e&&e.$typeof){case u:case d:case c:return e;default:return t}}case b:case y:case i:return t}}}function O(e){return E(e)===f}t.typeOf=E,t.AsyncMode=p,t.ConcurrentMode=f,t.ContextConsumer=u,t.ContextProvider=c,t.Element=r,t.ForwardRef=d,t.Fragment=a,t.Lazy=b,t.Memo=y,t.Portal=i,t.Profiler=l,t.StrictMode=s,t.Suspense=h,t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===f||e===l||e===s||e===h||e===m||"object"==typeof e&&null!==e&&(e.$typeof===b||e.$typeof===y||e.$typeof===c||e.$typeof===u||e.$typeof===d||e.$typeof===g||e.$typeof===v||e.$typeof===w)},t.isAsyncMode=function(e){return O(e)||E(e)===p},t.isConcurrentMode=O,t.isContextConsumer=function(e){return E(e)===u},t.isContextProvider=function(e){return E(e)===c},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$typeof===r},t.isForwardRef=function(e){return E(e)===d},t.isFragment=function(e){return E(e)===a},t.isLazy=function(e){return E(e)===b},t.isMemo=function(e){return E(e)===y},t.isPortal=function(e){return E(e)===i},t.isProfiler=function(e){return E(e)===l},t.isStrictMode=function(e){return E(e)===s},t.isSuspense=function(e){return E(e)===h}},function(e,t,n){},function(e,t,n){"use strict";n.r(t);n(19);var o=n(1),r=n.n(o),i=n(0),a=n.n(i),s=n(6),l=n(2),c=n.n(l),u=n(5),p=n.n(u),f=n(9),d=n.n(f),h=n(15),m=n.n(h),y=n(7),b=n.n(y),g=n(10),v=n.n(g),w=n(8),E=n(4),O=n.n(E),S=n(16);function T(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function k(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function N(e,t,n){return t&&k(e.prototype,t),n&&k(e,n),e}function P(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function C(){return(C=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}function I(e,t){var n=Object.keys(e);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(e)),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n}function R(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?I(n,!0).forEach((function(t){P(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):I(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function x(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&j(e,t)}function _(e){return(_=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function j(e,t){return(j=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function M(e,t){if(null==e)return{};var n,o,r=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function A(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function L(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?A(e):t}var D={INIT:"init",START:"start",STOP:"stop",RESET:"reset",PREV:"prev",NEXT:"next",GO:"go",CLOSE:"close",SKIP:"skip",UPDATE:"update"},B="tour:start",F="step:before",q="beacon",U="tooltip",W="step:after",z="tour:end",H="tour:status",G="error:target_not_found",V={INIT:"init",READY:"ready",BEACON:"beacon",TOOLTIP:"tooltip",COMPLETE:"complete",ERROR:"error"},Y={IDLE:"idle",READY:"ready",WAITING:"waiting",RUNNING:"running",PAUSED:"paused",SKIPPED:"skipped",FINISHED:"finished",ERROR:"error"},K=d.a.canUseDOM,$=void 0!==u.createPortal;function X(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:navigator.userAgent,t=e;return"undefined"==typeof window?t="node":document.documentMode?t="ie":/Edge/.test(e)?t="edge":Boolean(window.opera)||e.indexOf(" OPR/")>=0?t="opera":void 0!==window.InstallTrigger?t="firefox":window.chrome?t="chrome":/(Version\/([0-9._]+).*Safari|CriOS|FxiOS| Mobile\/)/.test(e)&&(t="safari"),t}function J(e){return Object.prototype.toString.call(e).slice(8,-1).toLowerCase()}function Q(e){var t=[];return function e(n){if("string"==typeof n||"number"==typeof n)t.push(n);else if(Array.isArray(n))n.forEach((function(t){return e(t)}));else if(n&&n.props){var o=n.props.children;Array.isArray(o)?o.forEach((function(t){return e(t)})):e(o)}}(e),t.join(" ").trim()}function Z(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function ee(e){return e.disableBeacon||"center"===e.placement}function te(){return!["chrome","safari","firefox","opera"].includes(X())}function ne(e){var t=e.title,n=e.data,o=e.warn,r=void 0!==o&&o,i=e.debug,a=void 0!==i&&i,s=r?console.warn||console.error:console.log;a&&(t&&n?(console.groupCollapsed("%creact-joyride: ".concat(t),"color: #ff0044; font-weight: bold; font-size: 12px;"),Array.isArray(n)?n.forEach((function(e){c.a.plainObject(e)&&e.key?s.apply(console,[e.key,e.value]):s.apply(console,[e])})):s.apply(console,[n]),console.groupEnd()):console.error("Missing title or data props"))}var oe={action:"",controlled:!1,index:0,lifecycle:V.INIT,size:0,status:Y.IDLE},re=["action","index","lifecycle","status"];function ie(e){var t=new Map,n=new Map;return new(function(){function e(){var t=this,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=o.continuous,i=void 0!==r&&r,a=o.stepIndex,s=o.steps,l=void 0===s?[]:s;T(this,e),P(this,"listener",void 0),P(this,"setSteps",(function(e){var o=t.getState(),r=o.size,i=o.status,a={size:e.length,status:i};n.set("steps",e),i===Y.WAITING&&!r&&e.length&&(a.status=Y.RUNNING),t.setState(a)})),P(this,"addListener",(function(e){t.listener=e})),P(this,"update",(function(e){if(n=e,o=re,!(c.a.plainObject(n)&&c.a.array(o)&&Object.keys(n).every((function(e){return o.includes(e)}))))throw new Error("State is not valid. Valid keys: ".concat(re.join(", ")));var n,o;t.setState(R({},t.getNextState(R({},t.getState(),{},e,{action:e.action||D.UPDATE}),!0)))})),P(this,"start",(function(e){var n=t.getState(),o=n.index,r=n.size;t.setState(R({},t.getNextState({action:D.START,index:c.a.number(e)?e:o},!0),{status:r?Y.RUNNING:Y.WAITING}))})),P(this,"stop",(function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=t.getState(),o=n.index,r=n.status;[Y.FINISHED,Y.SKIPPED].includes(r)||t.setState(R({},t.getNextState({action:D.STOP,index:o+(e?1:0)}),{status:Y.PAUSED}))})),P(this,"close",(function(){var e=t.getState(),n=e.index;e.status===Y.RUNNING&&t.setState(R({},t.getNextState({action:D.CLOSE,index:n+1})))})),P(this,"go",(function(e){var n=t.getState(),o=n.controlled,r=n.status;if(!o&&r===Y.RUNNING){var i=t.getSteps()[e];t.setState(R({},t.getNextState({action:D.GO,index:e}),{status:i?r:Y.FINISHED}))}})),P(this,"info",(function(){return t.getState()})),P(this,"next",(function(){var e=t.getState(),n=e.index;e.status===Y.RUNNING&&t.setState(t.getNextState({action:D.NEXT,index:n+1}))})),P(this,"open",(function(){t.getState().status===Y.RUNNING&&t.setState(R({},t.getNextState({action:D.UPDATE,lifecycle:V.TOOLTIP})))})),P(this,"prev",(function(){var e=t.getState(),n=e.index;e.status===Y.RUNNING&&t.setState(R({},t.getNextState({action:D.PREV,index:n-1})))})),P(this,"reset",(function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=t.getState(),o=n.controlled;o||t.setState(R({},t.getNextState({action:D.RESET,index:0}),{status:e?Y.RUNNING:Y.READY}))})),P(this,"skip",(function(){t.getState().status===Y.RUNNING&&t.setState({action:D.SKIP,lifecycle:V.INIT,status:Y.SKIPPED})})),this.setState({action:D.INIT,controlled:c.a.number(a),continuous:i,index:c.a.number(a)?a:0,lifecycle:V.INIT,status:l.length?Y.READY:Y.IDLE},!0),this.setSteps(l)}return N(e,[{key:"setState",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=this.getState(),r=R({},o,{},e),i=r.action,a=r.index,s=r.lifecycle,l=r.size,c=r.status;t.set("action",i),t.set("index",a),t.set("lifecycle",s),t.set("size",l),t.set("status",c),n&&(t.set("controlled",e.controlled),t.set("continuous",e.continuous)),this.listener&&this.hasUpdatedState(o)&&this.listener(this.getState())}},{key:"getState",value:function(){return t.size?{action:t.get("action")||"",controlled:t.get("controlled")||!1,index:parseInt(t.get("index"),10),lifecycle:t.get("lifecycle")||"",size:t.get("size")||0,status:t.get("status")||""}:R({},oe)}},{key:"getNextState",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.getState(),o=n.action,r=n.controlled,i=n.index,a=n.size,s=n.status,l=c.a.number(e.index)?e.index:i,u=r&&!t?i:Math.min(Math.max(l,0),a);return{action:e.action||o,controlled:r,index:u,lifecycle:e.lifecycle||V.INIT,size:e.size||a,status:u===a?Y.FINISHED:e.status||s}}},{key:"hasUpdatedState",value:function(e){return JSON.stringify(e)!==JSON.stringify(this.getState())}},{key:"getSteps",value:function(){var e=n.get("steps");return Array.isArray(e)?e:[]}},{key:"getHelpers",value:function(){return{close:this.close,go:this.go,info:this.info,next:this.next,open:this.open,prev:this.prev,reset:this.reset,skip:this.skip}}}]),e}())(e)}function ae(e){return e?e.getBoundingClientRect():{}}function se(e){return"string"==typeof e?document.querySelector(e):e}function le(e,t,n){var o=v()(e);return o.isSameNode(b()())?n?document:b()():o.scrollHeight>o.offsetHeight||t?o:(o.style.overflow="initial",b()())}function ce(e,t){return!!e&&!le(e,t).isSameNode(b()())}function ue(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"fixed";if(!(e&&e instanceof HTMLElement))return!1;var n=e.nodeName;return"BODY"!==n&&"HTML"!==n&&(function(e){return e&&1===e.nodeType?getComputedStyle(e):{}}(e).position===t||ue(e.parentNode,t))}function pe(e,t,n){if(!e)return 0;var o=v()(e),r=e.offsetTop;return ce(e,n)&&!function(e){return e.offsetParent!==document.body}(e)&&(r-=o.offsetTop),Math.floor(r-t)}var fe=function(e){function t(t,n,o,r,i,a){var s=r||"<<anonymous>>",l=a||o;if(null==n[o])return t?new Error("Required ".concat(i," `").concat(l,"` was not specified in `").concat(s,"`.")):null;for(var c=arguments.length,u=new Array(c>6?c-6:0),p=6;p<c;p++)u[p-6]=arguments[p];return e.apply(void 0,[n,o,s,i,l].concat(u))}var n=t.bind(null,!1);return n.isRequired=t.bind(null,!0),n}((function(e,t,n,o,i){var a=e[t],s=a;if(!r.a.isValidElement(a)&&Object(w.isValidElementType)(a)){s=r.a.createElement(s,{ref:function(){},step:{}})}if(c.a.string(a)||c.a.number(a)||!Object(w.isValidElementType)(a)||![w.Element,w.ForwardRef].includes(Object(w.typeOf)(s)))return new Error("Invalid ".concat(o," `").concat(i,"` supplied to `").concat(n,"`. Expected a React class or forwardRef."))})),de={arrowColor:"#fff",backgroundColor:"#fff",beaconSize:36,overlayColor:"rgba(0, 0, 0, 0.5)",primaryColor:"#f04",spotlightShadow:"0 0 15px rgba(0, 0, 0, 0.5)",textColor:"#333",zIndex:100},he={backgroundColor:"transparent",border:0,borderRadius:0,color:"#555",cursor:"pointer",fontSize:16,lineHeight:1,padding:8,WebkitAppearance:"none"},me={borderRadius:4,position:"absolute"};var ye={floaterProps:{options:{preventOverflow:{boundariesElement:"scrollParent"}},wrapperOptions:{offset:-18,position:!0}},locale:{back:"Back",close:"Close",last:"Last",next:"Next",open:"Open the dialog",skip:"Skip"},step:{event:"click",placement:"bottom",offset:10}};function be(e){var t=["beaconComponent","disableCloseOnEsc","disableOverlay","disableOverlayClose","disableScrolling","disableScrollParentFix","floaterProps","hideBackButton","locale","showProgress","showSkipButton","spotlightClicks","spotlightPadding","styles","tooltipComponent"];return Object.keys(e).filter((function(e){return t.includes(e)})).reduce((function(t,n){return t[n]=e[n],t}),{})}function ge(e,t){if(!e)return null;var n=O.a.all([be(t),ye.step,e],{isMergeableObject:c.a.plainObject}),o=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=O()(de,e.options||{}),n=290;window.innerWidth>480&&(n=380),t.width&&(n=window.innerWidth<t.width?window.innerWidth-30:t.width);var o,r,i,a={bottom:0,left:0,overflow:"hidden",position:"absolute",right:0,top:0,zIndex:t.zIndex},s={beacon:R({},he,{display:"inline-block",height:t.beaconSize,position:"relative",width:t.beaconSize,zIndex:t.zIndex}),beaconInner:{animation:"joyride-beacon-inner 1.2s infinite ease-in-out",backgroundColor:t.primaryColor,borderRadius:"50%",display:"block",height:"50%",left:"50%",opacity:.7,position:"absolute",top:"50%",transform:"translate(-50%, -50%)",width:"50%"},beaconOuter:{animation:"joyride-beacon-outer 1.2s infinite ease-in-out",backgroundColor:"rgba(".concat((o=t.primaryColor,r=o.replace(/^#?([a-f\d])([a-f\d])([a-f\d])#x2F;i,(function(e,t,n,o){return t+t+n+n+o+o})),i=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})#x2F;i.exec(r),i?[parseInt(i[1],16),parseInt(i[2],16),parseInt(i[3],16)]:[]).join(","),", 0.2)"),border:"2px solid ".concat(t.primaryColor),borderRadius:"50%",boxSizing:"border-box",display:"block",height:"100%",left:0,opacity:.9,position:"absolute",top:0,transformOrigin:"center",width:"100%"},tooltip:{backgroundColor:t.backgroundColor,borderRadius:5,boxSizing:"border-box",color:t.textColor,fontSize:16,maxWidth:"100%",padding:15,position:"relative",width:n},tooltipContainer:{lineHeight:1.4,textAlign:"center"},tooltipTitle:{fontSize:18,margin:0},tooltipContent:{padding:"20px 10px"},tooltipFooter:{alignItems:"center",display:"flex",justifyContent:"flex-end",marginTop:15},tooltipFooterSpacer:{flex:1},buttonNext:R({},he,{backgroundColor:t.primaryColor,borderRadius:4,color:"#fff"}),buttonBack:R({},he,{color:t.primaryColor,marginLeft:"auto",marginRight:5}),buttonClose:R({},he,{color:t.textColor,height:14,padding:15,position:"absolute",right:0,top:0,width:14}),buttonSkip:R({},he,{color:t.textColor,fontSize:14}),overlay:R({},a,{backgroundColor:t.overlayColor,mixBlendMode:"hard-light"}),overlayLegacy:R({},a),overlayLegacyCenter:R({},a,{backgroundColor:t.overlayColor}),spotlight:R({},me,{backgroundColor:"gray"}),spotlightLegacy:R({},me,{boxShadow:"0 0 0 9999px ".concat(t.overlayColor,", ").concat(t.spotlightShadow)}),floaterStyles:{arrow:{color:t.arrowColor},options:{zIndex:t.zIndex}},options:t};return O()(s,e)}(O()(t.styles||{},e.styles||{})),r=ce(se(e.target),n.disableScrollParentFix),i=O.a.all([t.floaterProps||{},ye.floaterProps,n.floaterProps||{}]);return i.offset=n.offset,i.styles=O()(i.styles||{},o.floaterStyles||{}),delete o.floaterStyles,i.offset+=t.spotlightPadding||e.spotlightPadding,e.placementBeacon&&(i.wrapperOptions.placement=e.placementBeacon),r&&(i.options.preventOverflow.boundariesElement="window"),R({},n,{locale:O.a.all([ye.locale,t.locale||{},n.locale||{}]),floaterProps:i,styles:o})}function ve(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return c.a.plainObject(e)?!!e.target||(ne({title:"validateStep",data:"target is missing from the step",warn:!0,debug:t}),!1):(ne({title:"validateStep",data:"step must be an object",warn:!0,debug:t}),!1)}function we(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return c.a.array(e)?e.every((function(e){return ve(e,t)})):(ne({title:"validateSteps",data:"steps must be an array",warn:!0,debug:t}),!1)}var Ee=function e(t){var n=this,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(T(this,e),P(this,"element",void 0),P(this,"options",void 0),P(this,"canBeTabbed",(function(e){var t=e.tabIndex;return(null===t||t<0)&&(t=void 0),!isNaN(t)&&n.canHaveFocus(e,!0)})),P(this,"canHaveFocus",(function(e,t){var o=e.nodeName.toLowerCase();return(/input|select|textarea|button|object/.test(o)&&!e.getAttribute("disabled")||"a"===o&&e.getAttribute("href")||t)&&n.isVisible(e)})),P(this,"findValidTabElements",(function(){return[].slice.call(n.element.querySelectorAll("*"),0).filter(n.canBeTabbed)})),P(this,"handleKeyDown",(function(e){var t=n.options.keyCode,o=void 0===t?9:t;e.keyCode===o&&n.interceptTab(e)})),P(this,"interceptTab",(function(e){e.preventDefault();var t=n.findValidTabElements(),o=e.shiftKey;if(t.length){var r=t.indexOf(document.activeElement);-1===r||!o&&r+1===t.length?r=0:o&&0===r?r=t.length-1:r+=o?-1:1,t[r].focus()}})),P(this,"isHidden",(function(e){var t=e.offsetWidth<=0&&e.offsetHeight<=0,n=window.getComputedStyle(e);return!(!t||e.innerHTML)||(t&&"visible"!==n.getPropertyValue("overflow")||"none"===n.getPropertyValue("display"))})),P(this,"isVisible",(function(e){for(var t=e;t;)if(t instanceof HTMLElement){if(t===document.body)break;if(n.isHidden(t))return!1;t=t.parentNode}return!0})),P(this,"removeScope",(function(){window.removeEventListener("keydown",n.handleKeyDown)})),P(this,"setFocus",(function(){var e=n.options.selector;if(e){var t=n.element.querySelector(e);t&&t.focus()}})),!(t instanceof HTMLElement))throw new TypeError("Invalid parameter: element must be an HTMLElement");this.element=t,this.options=o,window.addEventListener("keydown",this.handleKeyDown,!1),this.setFocus()},Oe=function(e){function t(e){var n;if(T(this,t),P(A(n=L(this,_(t).call(this,e))),"setBeaconRef",(function(e){n.beacon=e})),!e.beaconComponent){var o=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css",r.id="joyride-beacon-animation",r.appendChild(document.createTextNode("\n @keyframes joyride-beacon-inner {\n 20% {\n opacity: 0.9;\n }\n \n 90% {\n opacity: 0.7;\n }\n }\n \n @keyframes joyride-beacon-outer {\n 0% {\n transform: scale(1);\n }\n \n 45% {\n opacity: 0.7;\n transform: scale(0.75);\n }\n \n 100% {\n opacity: 0.9;\n transform: scale(1);\n }\n }\n ")),o.appendChild(r)}return n}return x(t,e),N(t,[{key:"componentDidMount",value:function(){var e=this,t=this.props.shouldFocus;setTimeout((function(){c.a.domElement(e.beacon)&&t&&e.beacon.focus()}),0)}},{key:"componentWillUnmount",value:function(){var e=document.getElementById("joyride-beacon-animation");e&&e.parentNode.removeChild(e)}},{key:"render",value:function(){var e,t=this.props,n=t.beaconComponent,o=t.locale,i=t.onClickOrHover,a=t.styles,s={"aria-label":o.open,onClick:i,onMouseEnter:i,ref:this.setBeaconRef,title:o.open};if(n){var l=n;e=r.a.createElement(l,s)}else e=r.a.createElement("button",C({key:"JoyrideBeacon",className:"react-joyride__beacon",style:a.beacon,type:"button","data-test-id":"button-beacon"},s),r.a.createElement("span",{style:a.beaconInner}),r.a.createElement("span",{style:a.beaconOuter}));return e}}]),t}(r.a.Component);P(Oe,"propTypes",{beaconComponent:fe,locale:a.a.object.isRequired,onClickOrHover:a.a.func.isRequired,shouldFocus:a.a.bool.isRequired,styles:a.a.object.isRequired});var Se=function(e){var t=e.styles;return r.a.createElement("div",{key:"JoyrideSpotlight",className:"react-joyride__spotlight",style:t})};Se.propTypes={styles:a.a.object.isRequired};var Te=function(e){function t(){var e,n;T(this,t);for(var o=arguments.length,r=new Array(o),i=0;i<o;i++)r[i]=arguments[i];return P(A(n=L(this,(e=_(t)).call.apply(e,[this].concat(r)))),"_isMounted",!1),P(A(n),"state",{mouseOverSpotlight:!1,isScrolling:!1,showSpotlight:!0}),P(A(n),"handleMouseMove",(function(e){var t=n.state.mouseOverSpotlight,o=n.spotlightStyles,r=o.height,i=o.left,a=o.position,s=o.top,l=o.width,c="fixed"===a?e.clientY:e.pageY,u="fixed"===a?e.clientX:e.pageX,p=u>=i&&u<=i+l&&(c>=s&&c<=s+r);p!==t&&n.updateState({mouseOverSpotlight:p})})),P(A(n),"handleScroll",(function(){var e=se(n.props.target);n.scrollParent!==document?(n.state.isScrolling||n.updateState({isScrolling:!0,showSpotlight:!1}),clearTimeout(n.scrollTimeout),n.scrollTimeout=setTimeout((function(){n.updateState({isScrolling:!1,showSpotlight:!0})}),50)):ue(e,"sticky")&&n.updateState({})})),P(A(n),"handleResize",(function(){clearTimeout(n.resizeTimeout),n.resizeTimeout=setTimeout((function(){n._isMounted&&n.forceUpdate()}),100)})),n}return x(t,e),N(t,[{key:"componentDidMount",value:function(){var e=this.props,t=(e.debug,e.disableScrolling,e.disableScrollParentFix),n=se(e.target);this.scrollParent=le(n,t,!0),this._isMounted=!0,window.addEventListener("resize",this.handleResize)}},{key:"componentDidUpdate",value:function(e){var t=this,n=this.props,o=n.lifecycle,r=n.spotlightClicks,i=Object(s.a)(e,this.props),a=i.changed;(0,i.changedTo)("lifecycle",V.TOOLTIP)&&(this.scrollParent.addEventListener("scroll",this.handleScroll,{passive:!0}),setTimeout((function(){t.state.isScrolling||t.updateState({showSpotlight:!0})}),100)),(a("spotlightClicks")||a("disableOverlay")||a("lifecycle"))&&(r&&o===V.TOOLTIP?window.addEventListener("mousemove",this.handleMouseMove,!1):o!==V.TOOLTIP&&window.removeEventListener("mousemove",this.handleMouseMove))}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,window.removeEventListener("mousemove",this.handleMouseMove),window.removeEventListener("resize",this.handleResize),clearTimeout(this.resizeTimeout),clearTimeout(this.scrollTimeout),this.scrollParent.removeEventListener("scroll",this.handleScroll)}},{key:"updateState",value:function(e){this._isMounted&&this.setState(e)}},{key:"render",value:function(){var e=this.state,t=e.mouseOverSpotlight,n=e.showSpotlight,o=this.props,i=o.disableOverlay,a=o.lifecycle,s=o.onClickOverlay,l=o.placement,c=o.styles;if(i||a!==V.TOOLTIP)return null;var u=c.overlay;te()&&(u="center"===l?c.overlayLegacyCenter:c.overlayLegacy);var p,f,d,h=R({cursor:"pointer",height:(p=document,f=p.body,d=p.documentElement,f&&d?Math.max(f.scrollHeight,f.offsetHeight,d.clientHeight,d.scrollHeight,d.offsetHeight):0),pointerEvents:t?"none":"auto"},u),m="center"!==l&&n&&r.a.createElement(Se,{styles:this.spotlightStyles});if("safari"===X()){h.mixBlendMode,h.zIndex;var y=M(h,["mixBlendMode","zIndex"]);m=r.a.createElement("div",{style:R({},y)},m),delete h.backgroundColor}return r.a.createElement("div",{className:"react-joyride__overlay",style:h,onClick:s},m)}},{key:"spotlightStyles",get:function(){var e=this.state.showSpotlight,t=this.props,n=t.disableScrollParentFix,o=t.spotlightClicks,r=t.spotlightPadding,i=t.styles,a=se(t.target),s=ae(a),l=ue(a),c=function(e,t,n){var o=ae(e),r=le(e,n),i=ce(e,n),a=0;r instanceof HTMLElement&&(a=r.scrollTop);var s=o.top+(i||ue(e)?0:a);return Math.floor(s-t)}(a,r,n);return R({},te()?i.spotlightLegacy:i.spotlight,{height:Math.round(s.height+2*r),left:Math.round(s.left-r),opacity:e?1:0,pointerEvents:o?"none":"auto",position:l?"fixed":"absolute",top:c,transition:"opacity 0.2s",width:Math.round(s.width+2*r)})}}]),t}(r.a.Component);P(Te,"propTypes",{debug:a.a.bool.isRequired,disableOverlay:a.a.bool.isRequired,disableScrolling:a.a.bool.isRequired,disableScrollParentFix:a.a.bool.isRequired,lifecycle:a.a.string.isRequired,onClickOverlay:a.a.func.isRequired,placement:a.a.string.isRequired,spotlightClicks:a.a.bool.isRequired,spotlightPadding:a.a.number,styles:a.a.object.isRequired,target:a.a.oneOfType([a.a.object,a.a.string]).isRequired});var ke=function(e){var t=e.styles,n=M(e,["styles"]),o=t.color,i=t.height,a=t.width,s=M(t,["color","height","width"]);return r.a.createElement("button",C({style:s,type:"button"},n),r.a.createElement("svg",{width:"number"==typeof a?"".concat(a,"px"):a,height:"number"==typeof i?"".concat(i,"px"):i,viewBox:"0 0 18 18",version:"1.1",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid"},r.a.createElement("g",null,r.a.createElement("path",{d:"M8.13911129,9.00268191 L0.171521827,17.0258467 C-0.0498027049,17.248715 -0.0498027049,17.6098394 0.171521827,17.8327545 C0.28204354,17.9443526 0.427188206,17.9998706 0.572051765,17.9998706 C0.71714958,17.9998706 0.862013139,17.9443526 0.972581703,17.8327545 L9.0000937,9.74924618 L17.0276057,17.8327545 C17.1384085,17.9443526 17.2832721,17.9998706 17.4281356,17.9998706 C17.5729992,17.9998706 17.718097,17.9443526 17.8286656,17.8327545 C18.0499901,17.6098862 18.0499901,17.2487618 17.8286656,17.0258467 L9.86135722,9.00268191 L17.8340066,0.973848225 C18.0553311,0.750979934 18.0553311,0.389855532 17.8340066,0.16694039 C17.6126821,-0.0556467968 17.254037,-0.0556467968 17.0329467,0.16694039 L9.00042166,8.25611765 L0.967006424,0.167268345 C0.745681892,-0.0553188426 0.387317931,-0.0553188426 0.165993399,0.167268345 C-0.0553311331,0.390136635 -0.0553311331,0.751261038 0.165993399,0.974176179 L8.13920499,9.00268191 L8.13911129,9.00268191 Z",fill:o}))))};ke.propTypes={styles:a.a.object.isRequired};var Ne=function(e){function t(){return T(this,t),L(this,_(t).apply(this,arguments))}return x(t,e),N(t,[{key:"render",value:function(){var e=this.props,t=e.backProps,n=e.closeProps,o=e.continuous,i=e.index,a=e.isLastStep,s=e.primaryProps,l=e.size,c=e.skipProps,u=e.step,p=e.tooltipProps,f=u.content,d=u.hideBackButton,h=u.hideCloseButton,m=u.hideFooter,y=u.showProgress,b=u.showSkipButton,g=u.title,v=u.styles,w=u.locale,E=w.back,O=w.close,S=w.last,T=w.next,k=w.skip,N={primary:O};return o&&(N.primary=a?S:T,y&&(N.primary=r.a.createElement("span",null,N.primary," (",i+1,"/",l,")"))),b&&!a&&(N.skip=r.a.createElement("button",C({style:v.buttonSkip,type:"button","data-test-id":"button-skip","aria-live":"off"},c),k)),!d&&i>0&&(N.back=r.a.createElement("button",C({style:v.buttonBack,type:"button","data-test-id":"button-back"},t),E)),N.close=!h&&r.a.createElement(ke,C({styles:v.buttonClose,"data-test-id":"button-close"},n)),r.a.createElement("div",C({key:"JoyrideTooltip",className:"react-joyride__tooltip",style:v.tooltip},p),r.a.createElement("div",{style:v.tooltipContainer},g&&r.a.createElement("h4",{style:v.tooltipTitle,"aria-label":g},g),r.a.createElement("div",{style:v.tooltipContent},f)),!m&&r.a.createElement("div",{style:v.tooltipFooter},r.a.createElement("div",{style:v.tooltipFooterSpacer},N.skip),N.back,r.a.createElement("button",C({style:v.buttonNext,type:"button","data-test-id":"button-primary"},s),N.primary)),N.close)}}]),t}(r.a.Component);P(Ne,"propTypes",{backProps:a.a.object.isRequired,closeProps:a.a.object.isRequired,continuous:a.a.bool.isRequired,index:a.a.number.isRequired,isLastStep:a.a.bool.isRequired,primaryProps:a.a.object.isRequired,size:a.a.number.isRequired,skipProps:a.a.object.isRequired,step:a.a.object.isRequired,tooltipProps:a.a.object.isRequired});var Pe=function(e){function t(){var e,n;T(this,t);for(var o=arguments.length,r=new Array(o),i=0;i<o;i++)r[i]=arguments[i];return P(A(n=L(this,(e=_(t)).call.apply(e,[this].concat(r)))),"handleClickBack",(function(e){e.preventDefault(),n.props.helpers.prev()})),P(A(n),"handleClickClose",(function(e){e.preventDefault(),n.props.helpers.close()})),P(A(n),"handleClickPrimary",(function(e){e.preventDefault();var t=n.props,o=t.continuous,r=t.helpers;o?r.next():r.close()})),P(A(n),"handleClickSkip",(function(e){e.preventDefault(),n.props.helpers.skip()})),P(A(n),"getElementsProps",(function(){var e=n.props,t=e.continuous,o=e.isLastStep,r=e.setTooltipRef,i=e.step,a=Q(i.locale.back),s=Q(i.locale.close),l=Q(i.locale.last),c=Q(i.locale.next),u=Q(i.locale.skip),p=t?c:s;return o&&(p=l),{backProps:{"aria-label":a,"data-action":"back",onClick:n.handleClickBack,role:"button",title:a},closeProps:{"aria-label":s,"data-action":"close",onClick:n.handleClickClose,role:"button",title:s},primaryProps:{"aria-label":p,"data-action":"primary",onClick:n.handleClickPrimary,role:"button",title:p},skipProps:{"aria-label":u,"data-action":"skip",onClick:n.handleClickSkip,role:"button",title:u},tooltipProps:{"aria-modal":!0,ref:r,role:"alertdialog"}}})),n}return x(t,e),N(t,[{key:"render",value:function(){var e,t=this.props,n=t.continuous,o=t.index,i=t.isLastStep,a=t.size,s=t.step,l=(s.beaconComponent,s.tooltipComponent),c=M(s,["beaconComponent","tooltipComponent"]);if(l){var u=R({},this.getElementsProps(),{continuous:n,index:o,isLastStep:i,size:a,step:c}),p=l;e=r.a.createElement(p,u)}else e=r.a.createElement(Ne,C({},this.getElementsProps(),{continuous:n,index:o,isLastStep:i,size:a,step:s}));return e}}]),t}(r.a.Component);P(Pe,"propTypes",{continuous:a.a.bool.isRequired,helpers:a.a.object.isRequired,index:a.a.number.isRequired,isLastStep:a.a.bool.isRequired,setTooltipRef:a.a.func.isRequired,size:a.a.number.isRequired,step:a.a.object.isRequired});var Ce=function(e){function t(e){var n;return T(this,t),n=L(this,_(t).call(this,e)),K?(n.node=document.createElement("div"),e.id&&(n.node.id=e.id),document.body.appendChild(n.node),n):L(n)}return x(t,e),N(t,[{key:"componentDidMount",value:function(){K&&($||this.renderReact15())}},{key:"componentDidUpdate",value:function(){K&&($||this.renderReact15())}},{key:"componentWillUnmount",value:function(){K&&this.node&&($||p.a.unmountComponentAtNode(this.node),document.body.removeChild(this.node))}},{key:"renderReact15",value:function(){if(!K)return null;var e=this.props.children;return p.a.unstable_renderSubtreeIntoContainer(this,e,this.node),null}},{key:"renderReact16",value:function(){if(!K||!$)return null;var e=this.props.children;return p.a.createPortal(e,this.node)}},{key:"render",value:function(){return $?this.renderReact16():null}}]),t}(r.a.Component);P(Ce,"propTypes",{children:a.a.element,id:a.a.oneOfType([a.a.string,a.a.number])});var Ie=function(e){function t(){var e,n;T(this,t);for(var o=arguments.length,r=new Array(o),i=0;i<o;i++)r[i]=arguments[i];return P(A(n=L(this,(e=_(t)).call.apply(e,[this].concat(r)))),"scope",{removeScope:function(){}}),P(A(n),"handleClickHoverBeacon",(function(e){var t=n.props,o=t.step,r=t.update;"mouseenter"===e.type&&"hover"!==o.event||r({lifecycle:V.TOOLTIP})})),P(A(n),"handleClickOverlay",(function(){var e=n.props,t=e.helpers;e.step.disableOverlayClose||t.close()})),P(A(n),"setTooltipRef",(function(e){n.tooltip=e})),P(A(n),"setPopper",(function(e,t){var o=n.props,r=o.action,i=o.setPopper,a=o.update;"wrapper"===t?n.beaconPopper=e:n.tooltipPopper=e,i(e,t),n.beaconPopper&&n.tooltipPopper&&a({action:r===D.CLOSE?D.CLOSE:r,lifecycle:V.READY})})),n}return x(t,e),N(t,[{key:"componentDidMount",value:function(){var e=this.props,t=e.debug,n=e.index;ne({title:"step:".concat(n),data:[{key:"props",value:this.props}],debug:t})}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.action,o=t.callback,r=t.continuous,i=t.controlled,a=t.debug,l=t.index,c=t.lifecycle,u=t.size,p=t.status,f=t.step,d=t.update,h=Object(s.a)(e,this.props),m=h.changed,y=h.changedTo,b=h.changedFrom,g={action:n,controlled:i,index:l,lifecycle:c,size:u,status:p},v=r&&n!==D.CLOSE&&(l>0||n===D.PREV),w=m("action")||m("index")||m("lifecycle")||m("status"),E=b("lifecycle",[V.TOOLTIP,V.INIT],V.INIT);if(y("action",[D.NEXT,D.PREV,D.SKIP,D.CLOSE])&&(E||i)&&o(R({},g,{index:e.index,lifecycle:V.COMPLETE,step:e.step,type:W})),w&&f){var O=se(f.target);!!O&&function(e){if(!e)return!1;for(var t=e;t&&t!==document.body;){if(t instanceof HTMLElement){var n=getComputedStyle(t),o=n.display,r=n.visibility;if("none"===o||"hidden"===r)return!1}t=t.parentNode}return!0}(O)?(b("status",Y.READY,Y.RUNNING)||b("lifecycle",V.INIT,V.READY))&&o(R({},g,{step:f,type:F})):(console.warn("Target not mounted",f),o(R({},g,{type:G,step:f})),i||d({index:l+([D.PREV].includes(n)?-1:1)}))}b("lifecycle",V.INIT,V.READY)&&d({lifecycle:ee(f)||v?V.TOOLTIP:V.BEACON}),m("index")&&ne({title:"step:".concat(c),data:[{key:"props",value:this.props}],debug:a}),y("lifecycle",V.BEACON)&&o(R({},g,{step:f,type:q})),y("lifecycle",V.TOOLTIP)&&(o(R({},g,{step:f,type:U})),this.scope=new Ee(this.tooltip,{selector:"[data-action=primary]"}),this.scope.setFocus()),b("lifecycle",[V.TOOLTIP,V.INIT],V.INIT)&&(this.scope.removeScope(),delete this.beaconPopper,delete this.tooltipPopper)}},{key:"componentWillUnmount",value:function(){this.scope.removeScope()}},{key:"render",value:function(){var e=this.props,t=e.continuous,n=e.debug,o=e.helpers,i=e.index,a=e.lifecycle,s=e.shouldScroll,l=e.size,u=e.step,p=se(u.target);return ve(u)&&c.a.domElement(p)?r.a.createElement("div",{key:"JoyrideStep-".concat(i),className:"react-joyride__step"},r.a.createElement(Ce,{id:"react-joyride-portal"},r.a.createElement(Te,C({},u,{debug:n,lifecycle:a,onClickOverlay:this.handleClickOverlay}))),r.a.createElement(S.a,C({component:r.a.createElement(Pe,{continuous:t,helpers:o,index:i,isLastStep:i+1===l,setTooltipRef:this.setTooltipRef,size:l,step:u}),debug:n,getPopper:this.setPopper,id:"react-joyride-step-".concat(i),isPositioned:u.isFixed||ue(p),open:this.open,placement:u.placement,target:u.target},u.floaterProps),r.a.createElement(Oe,{beaconComponent:u.beaconComponent,locale:u.locale,onClickOrHover:this.handleClickHoverBeacon,shouldFocus:s,styles:u.styles}))):null}},{key:"open",get:function(){var e=this.props,t=e.step,n=e.lifecycle;return!(!ee(t)&&n!==V.TOOLTIP)}}]),t}(r.a.Component);P(Ie,"propTypes",{action:a.a.string.isRequired,callback:a.a.func.isRequired,continuous:a.a.bool.isRequired,controlled:a.a.bool.isRequired,debug:a.a.bool.isRequired,helpers:a.a.object.isRequired,index:a.a.number.isRequired,lifecycle:a.a.string.isRequired,setPopper:a.a.func.isRequired,shouldScroll:a.a.bool.isRequired,size:a.a.number.isRequired,status:a.a.string.isRequired,step:a.a.shape({beaconComponent:fe,content:a.a.node.isRequired,disableBeacon:a.a.bool,disableOverlay:a.a.bool,disableOverlayClose:a.a.bool,disableScrolling:a.a.bool,disableScrollParentFix:a.a.bool,event:a.a.string,floaterProps:a.a.shape({options:a.a.object,styles:a.a.object,wrapperOptions:a.a.object}),hideBackButton:a.a.bool,hideCloseButton:a.a.bool,hideFooter:a.a.bool,isFixed:a.a.bool,locale:a.a.object,offset:a.a.number.isRequired,placement:a.a.oneOf(["top","top-start","top-end","bottom","bottom-start","bottom-end","left","left-start","left-end","right","right-start","right-end","auto","center"]),spotlightClicks:a.a.bool,spotlightPadding:a.a.number,styles:a.a.object,target:a.a.oneOfType([a.a.object,a.a.string]).isRequired,title:a.a.node,tooltipComponent:fe}).isRequired,update:a.a.func.isRequired});var Re=function(e){function t(e){var n;return T(this,t),P(A(n=L(this,_(t).call(this,e))),"initStore",(function(){var e=n.props,t=e.debug,o=e.getHelpers,r=e.run,i=e.stepIndex;n.store=new ie(R({},n.props,{controlled:r&&c.a.number(i)})),n.helpers=n.store.getHelpers();var a=n.store.addListener;return ne({title:"init",data:[{key:"props",value:n.props},{key:"state",value:n.state}],debug:t}),a(n.syncState),o(n.helpers),n.store.getState()})),P(A(n),"callback",(function(e){var t=n.props.callback;c.a.function(t)&&t(e)})),P(A(n),"handleKeyboard",(function(e){var t=n.state,o=t.index,r=t.lifecycle,i=n.props.steps[o],a=window.Event?e.which:e.keyCode;r===V.TOOLTIP&&27===a&&i&&!i.disableCloseOnEsc&&n.store.close()})),P(A(n),"syncState",(function(e){n.setState(e)})),P(A(n),"setPopper",(function(e,t){"wrapper"===t?n.beaconPopper=e:n.tooltipPopper=e})),n.state=n.initStore(),n}return x(t,e),N(t,[{key:"componentDidMount",value:function(){if(K){var e=this.props,t=e.disableCloseOnEsc,n=e.debug,o=e.run,r=e.steps,i=this.store.start;we(r,n)&&o&&i(),t||document.body.addEventListener("keydown",this.handleKeyboard,{passive:!0})}}},{key:"componentDidUpdate",value:function(e,t){if(K){var n=this.state,r=n.action,i=n.controlled,a=n.index,l=n.lifecycle,u=n.status,p=this.props,f=p.debug,d=p.run,h=p.stepIndex,m=p.steps,y=e.steps,b=e.stepIndex,g=this.store,v=g.setSteps,w=g.reset,E=g.start,O=g.stop,S=g.update,T=Object(s.a)(e,this.props).changed,k=Object(s.a)(t,this.state),N=k.changed,P=k.changedFrom,C=k.changedTo,I=ge(m[a],this.props),x=!function e(t,n){var r,i=Object(o.isValidElement)(t)||Object(o.isValidElement)(n),a=c.a.undefined(t)||c.a.undefined(n);if(J(t)!==J(n)||i||a)return!1;if(c.a.domElement(t))return t.isSameNode(n);if(c.a.number(t))return t===n;if(c.a.function(t))return t.toString()===n.toString();for(var s in t)if(Z(t,s)){if(void 0===t[s]||void 0===n[s])return!1;if(r=J(t[s]),["object","array"].includes(r)&&e(t[s],n[s]))continue;if("function"===r&&e(t[s],n[s]))continue;if(t[s]!==n[s])return!1}for(var l in n)if(Z(n,l)&&void 0===t[l])return!1;return!0}(y,m),_=c.a.number(h)&&T("stepIndex");if(x&&(we(m,f)?v(m):console.warn("Steps are not valid",m)),T("run")&&(d?E(h):O()),_){var j=b<h?D.NEXT:D.PREV;r===D.STOP&&(j=D.START),[Y.FINISHED,Y.SKIPPED].includes(u)||S({action:r===D.CLOSE?D.CLOSE:j,index:h,lifecycle:V.INIT})}var M=R({},this.state,{index:a,step:I});if(C("action",[D.NEXT,D.PREV,D.SKIP,D.CLOSE])&&C("status",Y.PAUSED)){var A=ge(m[t.index],this.props);this.callback(R({},M,{index:t.index,lifecycle:V.COMPLETE,step:A,type:W}))}if(C("status",[Y.FINISHED,Y.SKIPPED])){var L=ge(m[t.index],this.props);i||this.callback(R({},M,{index:t.index,lifecycle:V.COMPLETE,step:L,type:W})),this.callback(R({},M,{type:z,step:L,index:t.index})),w()}else P("status",[Y.IDLE,Y.READY],Y.RUNNING)?this.callback(R({},M,{type:B})):N("status")?this.callback(R({},M,{type:H})):C("action",D.RESET)&&this.callback(R({},M,{type:H}));I&&(this.scrollToStep(t),"center"===I.placement&&u===Y.RUNNING&&l===V.INIT&&this.store.update({lifecycle:V.READY}))}}},{key:"componentWillUnmount",value:function(){this.props.disableCloseOnEsc||document.body.removeEventListener("keydown",this.handleKeyboard)}},{key:"scrollToStep",value:function(e){var t=this.state,n=t.index,o=t.lifecycle,r=t.status,i=this.props,a=i.debug,s=i.disableScrolling,l=i.disableScrollParentFix,c=i.scrollToFirstStep,u=i.scrollOffset,p=ge(i.steps[n],this.props);if(p){var f=se(p.target),d=!s&&(0!==n||c||o===V.TOOLTIP)&&"center"!==p.placement&&(!p.isFixed||!ue(f))&&e.lifecycle!==o&&[V.BEACON,V.TOOLTIP].includes(o);if(r===Y.RUNNING&&d){var h=ce(f,l),y=le(f,l),g=Math.floor(pe(f,u,l))||0;if(ne({title:"scrollToStep",data:[{key:"index",value:n},{key:"lifecycle",value:o},{key:"status",value:r}],debug:a}),o===V.BEACON&&this.beaconPopper){var v=this.beaconPopper,w=v.placement,E=v.popper;["bottom"].includes(w)||h||(g=Math.floor(E.top-u))}else if(o===V.TOOLTIP&&this.tooltipPopper){var O=this.tooltipPopper,S=O.flipped,T=O.placement,k=O.popper;!["top","right","left"].includes(T)||S||h?g-=p.spotlightPadding:g=Math.floor(k.top-u)}g=g>=0?g:0,r===Y.RUNNING&&function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:b()();new Promise((function(n,o){var r=t.scrollTop,i=e>r?e-r:r-e;m.a.top(t,e,{duration:i<100?50:300},(function(e){return e&&"Element already at target scroll position"!==e.message?o(e):n()}))}))}(g,y)}}}},{key:"render",value:function(){if(!K)return null;var e,t=this.state,n=t.index,o=t.status,i=this.props,a=i.continuous,s=i.debug,l=i.disableScrolling,c=i.scrollToFirstStep,u=ge(i.steps[n],this.props);return o===Y.RUNNING&&u&&(e=r.a.createElement(Ie,C({},this.state,{callback:this.callback,continuous:a,debug:s,setPopper:this.setPopper,helpers:this.helpers,shouldScroll:!l&&(0!==n||c),step:u,update:this.store.update}))),r.a.createElement("div",{className:"react-joyride"},e)}}]),t}(r.a.Component);P(Re,"propTypes",{beaconComponent:fe,callback:a.a.func,continuous:a.a.bool,debug:a.a.bool,disableCloseOnEsc:a.a.bool,disableOverlay:a.a.bool,disableOverlayClose:a.a.bool,disableScrolling:a.a.bool,disableScrollParentFix:a.a.bool,floaterProps:a.a.shape({options:a.a.object,styles:a.a.object,wrapperOptions:a.a.object}),getHelpers:a.a.func,hideBackButton:a.a.bool,locale:a.a.object,run:a.a.bool,scrollOffset:a.a.number,scrollToFirstStep:a.a.bool,showProgress:a.a.bool,showSkipButton:a.a.bool,spotlightClicks:a.a.bool,spotlightPadding:a.a.number,stepIndex:a.a.number,steps:a.a.array,styles:a.a.object,tooltipComponent:fe}),P(Re,"defaultProps",{continuous:!1,debug:!1,disableCloseOnEsc:!1,disableOverlay:!1,disableOverlayClose:!1,disableScrolling:!1,disableScrollParentFix:!1,getHelpers:function(){},hideBackButton:!1,run:!0,scrollOffset:20,scrollToFirstStep:!1,showSkipButton:!1,showProgress:!1,spotlightClicks:!1,spotlightPadding:10,steps:[]});var xe=Re;function _e(e){return(_e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function je(e,t,n,o,r,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(o,r)}function Me(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Ae(e){return(Ae=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Le(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function De(e,t){return(De=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var Be=wp.i18n.__,Fe=wp.components,qe=Fe.Button,Ue=Fe.Modal,We=wp.element,ze=We.Component,He=We.Fragment,Ge=function(e){function t(){var e,n,o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(o=Ae(t).apply(this,arguments))||"object"!==_e(o)&&"function"!=typeof o?Le(n):o).skipTour=e.skipTour.bind(Le(e)),e.state={isOpen:!0,runTour:!1,steps:[{target:".otter-step-one",content:Be("Howdy, I'm Ollie The Otter! I will help you configure your Otter experience. So let's start the magic!"),disableBeacon:!0},{target:".otter-step-two",content:Be("Jazz up your blocks with some sparkly custom CSS or Blocks Animation right inside the block. Here you can enable modules to enhance your experience with Block Editor.")},{target:".otter-step-three",content:Be("Section Block is the signature feature of Otter. It allows you to build beautiful layouts right inside the Block Editor. You can set Section Block as the default block for your new Pages.")},{target:".otter-step-four",content:Be("We love maps! Here you can set your Google Maps API key for Otter's Map Block.")},{target:".otter-step-five",content:Be("If you don't have an API key, you can register one by clicking here.")},{target:".otter-step-six",content:Be("If you ever need any help, we are a team of real Otter-lovers who would love to help you out.")},{target:".otter-step-seven",content:Be("And if you love what we do, please leave us a review at WordPress.org. Your review keeps us motivated to make awesome things.")},{target:".otter-step-one",content:Be("That's it for now! Hope you enjoy Otter and love it as much as we do.")}]},e}var n,o,r,i,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&De(e,t)}(t,e),n=t,(o=[{key:"componentDidMount",value:(i=regeneratorRuntime.mark((function e(){var t=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:wp.api.loadPromise.then((function(){t.settings=new wp.api.models.Settings}));case 1:case"end":return e.stop()}}),e)})),a=function(){var e=this,t=arguments;return new Promise((function(n,o){var r=i.apply(e,t);function a(e){je(r,n,o,a,s,"next",e)}function s(e){je(r,n,o,a,s,"throw",e)}a(void 0)}))},function(){return a.apply(this,arguments)})},{key:"skipTour",value:function(e){var t=this;if(this.state.isOpen&&this.setState({isOpen:!1}),"finished"===e||"skipped"===e){var n=new wp.api.models.Settings({themeisle_blocks_settings_tour:!1}).save();n.success((function(e,n){t.settings.fetch()})),n.error((function(e,t){console.warning(e.responseJSON.message)}))}}},{key:"render",value:function(){var e=this;return wp.element.createElement(He,null,this.state.isOpen&&wp.element.createElement(Ue,{title:Be("Welcome to Otter!"),isDismissable:!1,className:"otter-onboarding-modal"},wp.element.createElement("div",{className:"otter-onboarding-modal-content"},Be("Would you like to start the onboarding wizard which will help you personalize the plugin for yourself?")),wp.element.createElement("div",{className:"otter-onboarding-modal-action"},wp.element.createElement(qe,{isPrimary:!0,isLarge:!0,onClick:function(){return e.setState({isOpen:!1,runTour:!0})}},Be("Start")),wp.element.createElement(qe,{isDefault:!0,isLarge:!0,onClick:function(){return e.skipTour("skipped")}},Be("Skip")))),wp.element.createElement(xe,{continuous:!0,run:this.state.runTour,steps:this.state.steps,scrollToFirstStep:!0,showSkipButton:!0,locale:{back:Be("Back"),close:Be("Close"),last:Be("Finish"),next:Be("Next"),skip:Be("Skip")},callback:function(t){return e.skipTour(t.status)}}))}}])&&Me(n.prototype,o),r&&Me(n,r),t}(ze),Ve=n(17),Ye=n.n(Ve);function Ke(e){return(Ke="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function $e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Xe(e,t){return!t||"object"!==Ke(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Je(e){return(Je=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Qe(e,t){return(Qe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var Ze=wp.i18n.__,et=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Xe(this,Je(t).apply(this,arguments))}var n,o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qe(e,t)}(t,e),n=t,(o=[{key:"render",value:function(){return wp.element.createElement("header",{className:"otter-header"},wp.element.createElement("div",{className:Ye()("otter-container","otter-step-one")},wp.element.createElement("div",{className:"otter-logo"},wp.element.createElement("img",{src:otterObj.assetsPath+"images/logo.png",title:Ze("Gutenberg Blocks and Template Library by Otter")}),wp.element.createElement("abbr",{title:"Version: ".concat(otterObj.version),className:"version"},otterObj.version))))}}])&&$e(n.prototype,o),r&&$e(n,r),t}(wp.element.Component),tt=n(18),nt=n.n(tt);n(23);function ot(e){return(ot="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function rt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function it(e,t,n,o,r,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(o,r)}function at(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function st(e){return(st=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function lt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ct(e,t){return(ct=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var ut=wp.i18n.__,pt=wp.components,ft=pt.BaseControl,dt=pt.Button,ht=pt.ExternalLink,mt=pt.PanelBody,yt=pt.PanelRow,bt=pt.Placeholder,gt=pt.Spinner,vt=pt.ToggleControl,wt=wp.element,Et=wt.Component,Ot=wt.Fragment,St=function(e){function t(){var e,n,o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(o=st(t).apply(this,arguments))||"object"!==ot(o)&&"function"!=typeof o?lt(n):o).changeOptions=e.changeOptions.bind(lt(e)),e.addNotification=e.addNotification.bind(lt(e)),e.notificationDOMRef=React.createRef(),e.state={isAPILoaded:!1,isAPISaving:!1,notification:null,cssModule:!1,blocksAnimation:!1,isDefaultSection:!0,googleMapsAPI:""},e}var n,o,r,i,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ct(e,t)}(t,e),n=t,(o=[{key:"componentDidMount",value:(i=regeneratorRuntime.mark((function e(){var t=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:wp.api.loadPromise.then((function(){t.settings=new wp.api.models.Settings,!1===t.state.isAPILoaded&&t.settings.fetch().then((function(e){t.setState({cssModule:Boolean(e.themeisle_blocks_settings_css_module),blocksAnimation:Boolean(e.themeisle_blocks_settings_blocks_animation),isDefaultSection:Boolean(e.themeisle_blocks_settings_default_block),googleMapsAPI:e.themeisle_google_map_block_api_key,isAPILoaded:!0})}))}));case 1:case"end":return e.stop()}}),e)})),a=function(){var e=this,t=arguments;return new Promise((function(n,o){var r=i.apply(e,t);function a(e){it(r,n,o,a,s,"next",e)}function s(e){it(r,n,o,a,s,"throw",e)}a(void 0)}))},function(){return a.apply(this,arguments)})},{key:"changeOptions",value:function(e,t,n){var o=this;this.setState({isAPISaving:!0}),this.addNotification(ut("Updating settings…"),"info");var r=new wp.api.models.Settings(rt({},e,n)).save();r.success((function(n,r){o.notificationDOMRef.current.removeNotification(o.state.notification),"success"===r&&(o.setState(rt({},t,n[e])),setTimeout((function(){o.addNotification(ut("Settings saved."),"success"),o.setState({isAPISaving:!1})}),800)),"error"===r&&setTimeout((function(){o.addNotification(ut("An unknown error occurred."),"danger"),o.setState({isAPISaving:!1})}),800),o.settings.fetch()})),r.error((function(e,t){o.notificationDOMRef.current.removeNotification(o.state.notification),setTimeout((function(){o.addNotification(e.responseJSON.message?e.responseJSON.message:ut("An unknown error occurred."),"danger"),o.setState({isAPISaving:!1})}),800)}))}},{key:"addNotification",value:function(e,t){var n=this.notificationDOMRef.current.addNotification({message:e,type:t,insert:"top",container:"top-right",slidingEnter:{duration:0,delay:0},dismiss:{duration:2e3},dismissable:{click:!0}});this.setState({notification:n})}},{key:"render",value:function(){var e=this;return this.state.isAPILoaded?wp.element.createElement(Ot,null,wp.element.createElement(nt.a,{ref:this.notificationDOMRef}),wp.element.createElement("div",{className:"otter-main"},wp.element.createElement("div",{className:"otter-step-two"},wp.element.createElement(mt,{title:ut("Modules")},wp.element.createElement(yt,null,wp.element.createElement(vt,{label:ut("Enable Custom CSS Module"),help:"Custom CSS module allows to add custom CSS to each block in Block Editor.",checked:this.state.cssModule,onChange:function(){return e.changeOptions("themeisle_blocks_settings_css_module","cssModule",!e.state.cssModule)}})),wp.element.createElement(yt,null,wp.element.createElement(vt,{label:ut("Enable Blocks Animation Module"),help:"Blocks Animation module allows to add CSS animations to each block in Block Editor.",checked:this.state.blocksAnimation,onChange:function(){return e.changeOptions("themeisle_blocks_settings_blocks_animation","blocksAnimation",!e.state.blocksAnimation)}})))),wp.element.createElement("div",{className:"otter-step-three"},wp.element.createElement(mt,{title:ut("Section")},wp.element.createElement(yt,null,wp.element.createElement(vt,{label:ut("Make Section your default block for Pages"),help:"Everytime you create a new page, Section block will be appended there by default.",checked:this.state.isDefaultSection,onChange:function(){return e.changeOptions("themeisle_blocks_settings_default_block","isDefaultSection",!e.state.isDefaultSection)}})))),wp.element.createElement("div",{className:"otter-step-four"},wp.element.createElement(mt,{title:ut("Maps")},wp.element.createElement(yt,null,wp.element.createElement(ft,{label:ut("Google Maps API"),help:"In order to use Google Maps block, you need to use Google Maps and Places API.",id:"otter-options-google-map-api",className:"otter-text-field"},wp.element.createElement("input",{type:"text",id:"otter-options-google-map-api",value:this.state.googleMapsAPI,placeholder:ut("Google Maps API Key"),disabled:this.state.isAPISaving,onChange:function(t){return e.setState({googleMapsAPI:t.target.value})}}),wp.element.createElement("div",{className:"otter-text-field-button-group"},wp.element.createElement(dt,{isPrimary:!0,isLarge:!0,disabled:this.state.isAPISaving,onClick:function(){return e.changeOptions("themeisle_google_map_block_api_key","googleMapsAPI",e.state.googleMapsAPI)}},ut("Save")),wp.element.createElement(ht,{href:"https://developers.google.com/maps/documentation/javascript/get-api-key",className:"otter-step-five"},ut("Get API Key"))))))),wp.element.createElement(mt,null,wp.element.createElement("div",{className:"otter-info"},wp.element.createElement("h2",null,ut("Got a question for us?")),wp.element.createElement("p",null,ut("We would love to help you out if you need any help with Otter.")),wp.element.createElement("div",{className:"otter-info-button-group"},wp.element.createElement(dt,{isDefault:!0,isLarge:!0,target:"_blank",href:"https://wordpress.org/support/plugin/otter-blocks",className:"otter-step-six"},ut("Ask a question")),wp.element.createElement(dt,{isDefault:!0,isLarge:!0,target:"_blank",href:"https://wordpress.org/support/plugin/otter-blocks/reviews/#new-post",className:"otter-step-seven"},ut("Leave a review"))))))):wp.element.createElement(bt,null,wp.element.createElement(gt,null))}}])&&at(n.prototype,o),r&&at(n,r),t}(Et);function Tt(e){return(Tt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function kt(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Nt(e,t){return!t||"object"!==Tt(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Pt(e){return(Pt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Ct(e,t){return(Ct=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var It=wp.i18n.__,Rt=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Nt(this,Pt(t).apply(this,arguments))}var n,o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ct(e,t)}(t,e),n=t,(o=[{key:"render",value:function(){return wp.element.createElement("footer",{className:"otter-footer"},wp.element.createElement("div",{className:"otter-container"},It("No otters were harmed during the making of this plugin.")))}}])&&kt(n.prototype,o),r&&kt(n,r),t}(wp.element.Component);function xt(e){return(xt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _t(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function jt(e,t){return!t||"object"!==xt(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Mt(e){return(Mt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function At(e,t){return(At=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var Lt=wp.element,Dt=Lt.Component,Bt=Lt.Fragment,Ft=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),jt(this,Mt(t).apply(this,arguments))}var n,o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&At(e,t)}(t,e),n=t,(o=[{key:"render",value:function(){return wp.element.createElement(Bt,null,Boolean(otterObj.showTour)&&wp.element.createElement(Ge,null),wp.element.createElement(et,null),wp.element.createElement(St,null),wp.element.createElement(Rt,null))}}])&&_t(n.prototype,o),r&&_t(n,r),t}(Dt);ReactDOM.render(wp.element.createElement(Ft,null),document.getElementById("otter"))}]);
otter-blocks.php CHANGED
@@ -3,7 +3,7 @@
3
* Plugin Name: Gutenberg Blocks and Template Library by Otter
4
* Plugin URI: https://themeisle.com/plugins/otter-blocks
5
* Description: Create beautiful and attracting posts, pages, and landing pages with Gutenberg Blocks and Template Library by Otter. Otter comes with dozens of Gutenberg blocks that are all you need to build beautiful pages.
6
- * Version: 1.2.5
7
* Author: ThemeIsle
8
* Author URI: https://themeisle.com
9
* License: GPL-2.0+
@@ -22,7 +22,7 @@ if ( ! defined( 'WPINC' ) ) {
22
define( 'OTTER_BLOCKS_BASEFILE', __FILE__ );
23
define( 'OTTER_BLOCKS_URL', plugins_url( '/', __FILE__ ) );
24
define( 'OTTER_BLOCKS_PATH', dirname( __FILE__ ) );
25
- define( 'OTTER_BLOCKS_VERSION', '1.2.5' );
26
define( 'OTTER_BLOCKS_DEV', false );
27
28
$vendor_file = OTTER_BLOCKS_PATH . '/vendor/autoload.php';
@@ -48,3 +48,13 @@ add_filter(
48
return $products;
49
}
50
);
3
* Plugin Name: Gutenberg Blocks and Template Library by Otter
4
* Plugin URI: https://themeisle.com/plugins/otter-blocks
5
* Description: Create beautiful and attracting posts, pages, and landing pages with Gutenberg Blocks and Template Library by Otter. Otter comes with dozens of Gutenberg blocks that are all you need to build beautiful pages.
6
+ * Version: 1.3.0
7
* Author: ThemeIsle
8
* Author URI: https://themeisle.com
9
* License: GPL-2.0+
22
define( 'OTTER_BLOCKS_BASEFILE', __FILE__ );
23
define( 'OTTER_BLOCKS_URL', plugins_url( '/', __FILE__ ) );
24
define( 'OTTER_BLOCKS_PATH', dirname( __FILE__ ) );
25
+ define( 'OTTER_BLOCKS_VERSION', '1.3.0' );
26
define( 'OTTER_BLOCKS_DEV', false );
27
28
$vendor_file = OTTER_BLOCKS_PATH . '/vendor/autoload.php';
48
return $products;
49
}
50
);
51
+
52
+ add_action(
53
+ 'plugin_action_links_' . plugin_basename( __FILE__ ), function( $links ) {
54
+ array_unshift(
55
+ $links,
56
+ sprintf( '<a href="%s">%s</a>', admin_url( 'options-general.php?page=otter' ), __( 'Settings', 'otter-blocks' ) )
57
+ );
58
+ return $links;
59
+ }
60
+ );
readme.md CHANGED
@@ -44,6 +44,22 @@ It has:
44
3. Posts Block
45
46
## Changelog ##
47
### 1.2.5 - 2019-09-10 ###
48
49
* Fix AMP compatibility errors.
44
3. Posts Block
45
46
## Changelog ##
47
+ ### 1.3.0 - 2019-11-05 ###
48
+
49
+ * Lazy load Font Awesome Picker to improve load time.
50
+ * Fixed link fetching in WP 5.0
51
+ * Added Style Switcher to Block Controls
52
+ * Added Map Styles to Google Map Block
53
+ * Improved CSS handling for blocks
54
+ * Added block navigator to Section block
55
+ * Added inserter to Button Group
56
+ * Fixed Marker Modal closing on search
57
+ * Fixed sizing control focus
58
+ * Fixed post excerpt now showing in Posts Grid
59
+ * Added meta control options to Posts Block
60
+ * Added improved Gradient Picker control
61
+
62
+
63
### 1.2.5 - 2019-09-10 ###
64
65
* Fix AMP compatibility errors.
readme.txt CHANGED
@@ -44,6 +44,22 @@ It has:
44
3. Posts Block
45
46
== Changelog ==
47
= 1.2.5 - 2019-09-10 =
48
49
* Fix AMP compatibility errors.
44
3. Posts Block
45
46
== Changelog ==
47
+ = 1.3.0 - 2019-11-05 =
48
+
49
+ * Lazy load Font Awesome Picker to improve load time.
50
+ * Fixed link fetching in WP 5.0
51
+ * Added Style Switcher to Block Controls
52
+ * Added Map Styles to Google Map Block
53
+ * Improved CSS handling for blocks
54
+ * Added block navigator to Section block
55
+ * Added inserter to Button Group
56
+ * Fixed Marker Modal closing on search
57
+ * Fixed sizing control focus
58
+ * Fixed post excerpt now showing in Posts Grid
59
+ * Added meta control options to Posts Block
60
+ * Added improved Gradient Picker control
61
+
62
+
63
= 1.2.5 - 2019-09-10 =
64
65
* Fix AMP compatibility errors.
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
5
require_once __DIR__ . '/composer' . '/autoload_real.php';
6
7
- return ComposerAutoloaderInitdace1cf96a42d5dbfc274f534aba464d::getLoader();
4
5
require_once __DIR__ . '/composer' . '/autoload_real.php';
6
7
+ return ComposerAutoloaderInite9e5b5f920d8a6816f8778d06d87ccc5::getLoader();
vendor/codeinwp/gutenberg-animation/build/animate.js ADDED
@@ -0,0 +1 @@
1
+ !function(t){var e={};function n(o){if(e[o])return e[o].exports;var i=e[o]={i:o,l:!1,exports:{}};return t[o].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=t,n.c=e,n.d=function(t,e,o){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(o,i,function(e){return t[e]}.bind(null,i));return o},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=0)}([function(t,e){var n=["none","bounce","flash","pulse","rubberBand","shake","headShake","swing","tada","wobble","jello","heartBeat","hinge","jackInTheBox","bounceIn","bounceInDown","bounceInLeft","bounceInRight","bounceInUp","bounceOut","bounceOutDown","bounceOutLeft","bounceOutRight","bounceOutUp","fadeIn","fadeInDown","fadeInDownBig","fadeInLeft","fadeInLeftBig","fadeInRight","fadeInRightBig","fadeInUp","fadeOut","fadeOutDown","fadeOutDownBig","fadeOutLeft","fadeOutLeftBig","fadeOutRight","fadeOutRightBig","fadeOutUp","fadeOutUpBig","flip","flipInX","flipInY","flipOutX","flipOutY","lightSpeedIn","lightSpeedOut","rotateIn","rotateInDownLeft","rotateInDownRight","rotateInUpLeft","rotateInUpRight","rotateOut","rotateOutDownLeft","rotateOutDownRight","rotateOutUpLeft","rotateOutUpRight","slideInDown","slideInLeft","slideInRight","slideInUp","slideOutDown","slideOutLeft","slideOutRight","slideOutUp","zoomIn","zoomInDown","zoomInLeft","zoomInRight","zoomInUp","zoomOut","zoomOutDown","zoomOutLeft","zoomOutRight","zoomOutUp","rollIn","rollOut"],o=["bounceOut","bounceOutDown","bounceOutLeft","bounceOutRight","bounceOutUp","fadeOut","fadeOutDown","fadeOutDownBig","fadeOutLeft","fadeOutLeftBig","fadeOutRight","fadeOutRightBig","fadeOutUp","fadeOutUpBig","flipOutX","flipOutY","lightSpeedOut","rotateOut","rotateOutDownLeft","rotateOutDownRight","rotateOutUpLeft","rotateOutUpRight","slideOutDown","slideOutLeft","slideOutRight","slideOutUp","zoomOut","zoomOutDown","zoomOutLeft","zoomOutRight","zoomOutUp","rollOut"],i=["none","delay-2s","delay-3s","delay-4s","delay-5s"],u=["none","slow","slower","fast","faster"];window.onload=function(){var t=document.querySelectorAll(".animated"),e=!0,r=!1,f=void 0;try{for(var l,s=function(){var t=l.value;if(classes=t.classList,t.animationClasses=[],!a(t)){var e=n.find((function(t){return Array.from(classes).find((function(e){return e===t}))})),r=i.find((function(t){return Array.from(classes).find((function(e){return e===t}))})),f=u.find((function(t){return Array.from(classes).find((function(e){return e===t}))}));t.classList.add("hidden-animated"),e&&(t.animationClasses.push(e),t.classList.remove(e)),r&&(t.animationClasses.push(r),t.classList.remove(r)),f&&(t.animationClasses.push(f),t.classList.remove(f))}o.forEach((function(e){t.className.includes(e)&&t.addEventListener("animationend",(function(){t.classList.remove(e)}))}))},d=t[Symbol.iterator]();!(e=(l=d.next()).done);e=!0)s()}catch(t){r=!0,f=t}finally{try{e||null==d.return||d.return()}finally{if(r)throw f}}window.onscroll=function(){var e=!0,n=!1,o=void 0;try{for(var i,u=function(){var t=i.value;t.getBoundingClientRect().top<=.75*window.innerHeight&&0<t.getBoundingClientRect().top&&(t.animationClasses&&0<t.animationClasses.length&&(t.animationClasses.forEach((function(e){return t.classList.add(e)})),t.classList.remove("hidden-animated"),delete t.animationClasses))},a=t[Symbol.iterator]();!(e=(i=a.next()).done);e=!0)u()}catch(t){n=!0,o=t}finally{try{e||null==a.return||a.return()}finally{if(n)throw o}}}};var a=function(t){var e=window.scrollY||window.pageYOffset,n=t.getBoundingClientRect().top+e,o=e,i=e+window.innerHeight,u=n,a=n+t.clientHeight;return a>=o&&a<=i||u<=i&&u>=o}}]);
vendor/codeinwp/gutenberg-animation/build/build.js CHANGED
@@ -1 +1 @@
1
- !function(e){var t={};function n(a){if(t[a])return t[a].exports;var l=t[a]={i:a,l:!1,exports:{}};return e[a].call(l.exports,l,l.exports,n),l.l=!0,l.exports}n.m=e,n.c=t,n.d=function(e,t,a){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:a})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var a=Object.create(null);if(n.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var l in e)n.d(a,l,function(t){return e[t]}.bind(null,l));return a},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){"use strict";n.r(t);var a=wp.i18n.__,l=[{label:a("None"),value:"none"},{label:a("Bounce"),value:"bounce"},{label:a("Flash"),value:"flash"},{label:a("Pulse"),value:"pulse"},{label:a("Rubber Band"),value:"rubberBand"},{label:a("Shake"),value:"shake"},{label:a("Head Shake"),value:"headShake"},{label:a("Swing"),value:"swing"},{label:a("TaDa"),value:"tada"},{label:a("Wobble"),value:"wobble"},{label:a("Jello"),value:"jello"},{label:a("Bounce In"),value:"bounceIn"},{label:a("Bounce In Down"),value:"bounceInDown"},{label:a("Bounce In Left"),value:"bounceInLeft"},{label:a("Bounce In Right"),value:"bounceInRight"},{label:a("Bounce In Up"),value:"bounceInUp"},{label:a("Fade In"),value:"fadeIn"},{label:a("Fade In Down"),value:"fadeInDown"},{label:a("Fade In Down Big"),value:"fadeInDownBig"},{label:a("Fade In Left"),value:"fadeInLeft"},{label:a("Fade In Left Big"),value:"fadeInLeftBig"},{label:a("Fade In Right"),value:"fadeInRight"},{label:a("Fade In Left Big"),value:"fadeInRightBig"},{label:a("Fade In Up"),value:"fadeInUp"},{label:a("Fade In Up Big"),value:"fadeInUpBig"},{label:a("Flip In X"),value:"flipInX"},{label:a("Flip In Y"),value:"flipInY"},{label:a("Light Speed In"),value:"lightSpeedIn"},{label:a("Rotate In"),value:"rotateIn"},{label:a("Rotate In Down Left"),value:"rotateInDownLeft"},{label:a("Rotate In Down Right"),value:"rotateInDownRight"},{label:a("Rotate In Up Left"),value:"rotateInUpLeft"},{label:a("Rotate In Up Right"),value:"rotateInUpRight"},{label:a("Hinge"),value:"hinge"},{label:a("Jack In The Box"),value:"jackInTheBox"},{label:a("Roll In"),value:"rollIn"},{label:a("Zoom In"),value:"zoomIn"},{label:a("Zoom In Down"),value:"zoomInDown"},{label:a("Zoom In Left"),value:"zoomInLeft"},{label:a("Zoom In Right"),value:"zoomInRight"},{label:a("Zoom In Up"),value:"zoomInUp"},{label:a("Slide In Down"),value:"slideInDown"},{label:a("Slide In Left"),value:"slideInLeft"},{label:a("Slide In Right"),value:"slideInRight"},{label:a("Slide In Up"),value:"slideInUp"},{label:a("Heart Beat"),value:"heartBeat"}],o=[{label:a("Default"),value:"none"},{label:a("Two Second"),value:"delay-2s"},{label:a("Three Second"),value:"delay-3s"},{label:a("Four Second"),value:"delay-4s"},{label:a("Five Second"),value:"delay-5s"}],i=[{label:a("Default"),value:"none"},{label:a("Slow"),value:"slow"},{label:a("Slower"),value:"slower"},{label:a("Fast"),value:"fast"},{label:a("Faster"),value:"faster"}];function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function u(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function s(e){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function p(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var f=wp.i18n.__,d=wp.components.SelectControl,b=wp.element,m=b.Component,v=b.Fragment,h=function(e){function t(){var e,n,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(a=s(t).apply(this,arguments))||"object"!==r(a)&&"function"!=typeof a?p(n):a).updateAnimation=e.updateAnimation.bind(p(e)),e.updateDelay=e.updateDelay.bind(p(e)),e.updateSpeed=e.updateSpeed.bind(p(e)),e.state={animation:"none",delay:"default",speed:"default"},e}var n,a,b;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c(e,t)}(t,m),n=t,(a=[{key:"componentDidMount",value:function(){var e;if(this.props.attributes.className){e=(e=this.props.attributes.className).split(" ");var t=Array.from(l).find(function(t){return e.find(function(e){return e===t.value})}),n=Array.from(o).find(function(t){return e.find(function(e){return e===t.value})}),a=Array.from(i).find(function(t){return e.find(function(e){return e===t.value})});this.setState({animation:t?t.value:"none",delay:n?n.value:"default",speed:a?a.value:"default"})}}},{key:"updateAnimation",value:function(e){var t,n=this,a="none"!==e?e:"";if(this.props.attributes.className){var l=(t=(t=this.props.attributes.className).split(" ")).find(function(e){return e===n.state.animation});t.find(function(e){return"animated"===e})||t.push("animated"),l?t=t.join(" ").replace(this.state.animation,a):(t.push(a),t=t.join(" "))}else t="animated ".concat(a);"none"===e&&(t=t.replace("animated","").replace(this.state.delay,"").replace(this.state.speed,""),this.setState({delay:"default",speed:"defualt"})),t=t.replace(/\s+/g," "),this.setState({animation:e}),this.props.setAttributes({className:t})}},{key:"updateDelay",value:function(e){var t,n=this,a="none"!==e?e:"";this.props.attributes.className?(t=(t=this.props.attributes.className).split(" ")).find(function(e){return e===n.state.delay})?t=t.join(" ").replace(this.state.delay,a):(t.push(a),t=t.join(" ")):t=a;t=t.replace(/\s+/g," "),this.setState({delay:e}),this.props.setAttributes({className:t})}},{key:"updateSpeed",value:function(e){var t,n=this,a="none"!==e?e:"";this.props.attributes.className?(t=(t=this.props.attributes.className).split(" ")).find(function(e){return e===n.state.speed})?t=t.join(" ").replace(this.state.speed,a):(t.push(a),t=t.join(" ")):t=a;t=t.replace(/\s+/g," "),this.setState({speed:e}),this.props.setAttributes({className:t})}},{key:"render",value:function(){return wp.element.createElement(v,null,wp.element.createElement(d,{label:f("Animation"),value:this.state.animation||"none",options:l,onChange:this.updateAnimation}),"none"!==this.state.animation&&wp.element.createElement(v,null,wp.element.createElement(d,{label:f("Delay"),value:this.state.delay||"default",options:o,onChange:this.updateDelay}),wp.element.createElement(d,{label:f("Speed"),value:this.state.speed||"default",options:i,onChange:this.updateSpeed})))}}])&&u(n.prototype,a),b&&u(n,b),t}(),I=wp.i18n.__,y=wp.blocks.hasBlockSupport,w=wp.components.PanelBody,g=wp.compose.createHigherOrderComponent,S=wp.editor.InspectorControls,B=wp.element.Fragment;(0,wp.hooks.addFilter)("editor.BlockEdit","themeisle-custom-css/with-inspector-controls",g(function(e){return function(t){return y(t.name,"customClassName",!0)&&t.isSelected?wp.element.createElement(B,null,wp.element.createElement(e,t),wp.element.createElement(S,null,wp.element.createElement(w,{title:I("Animations"),initialOpen:!1},wp.element.createElement(h,{setAttributes:t.setAttributes,attributes:t.attributes})))):wp.element.createElement(e,t)}},"withInspectorControl"))}]);
1
+ !function(e){var t={};function a(l){if(t[l])return t[l].exports;var n=t[l]={i:l,l:!1,exports:{}};return e[l].call(n.exports,n,n.exports,a),n.l=!0,n.exports}a.m=e,a.c=t,a.d=function(e,t,l){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:l})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var l=Object.create(null);if(a.r(l),Object.defineProperty(l,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)a.d(l,n,function(t){return e[t]}.bind(null,n));return l},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a(a.s=1)}([,function(e,t,a){"use strict";a.r(t);var l=wp.i18n.__,n=[{label:l("None"),value:"none"},{label:l("Bounce"),value:"bounce"},{label:l("Flash"),value:"flash"},{label:l("Pulse"),value:"pulse"},{label:l("Rubber Band"),value:"rubberBand"},{label:l("Shake"),value:"shake"},{label:l("Head Shake"),value:"headShake"},{label:l("Swing"),value:"swing"},{label:l("TaDa"),value:"tada"},{label:l("Wobble"),value:"wobble"},{label:l("Jello"),value:"jello"},{label:l("Heart Beat"),value:"heartBeat"},{label:l("Hinge"),value:"hinge"},{label:l("Jack In The Box"),value:"jackInTheBox"},{label:l("Bounce In"),value:"bounceIn"},{label:l("Bounce In Down"),value:"bounceInDown"},{label:l("Bounce In Left"),value:"bounceInLeft"},{label:l("Bounce In Right"),value:"bounceInRight"},{label:l("Bounce In Up"),value:"bounceInUp"},{label:l("Bounce Out"),value:"bounceOut"},{label:l("Bounce Out Down"),value:"bounceOutDown"},{label:l("Bounce Out Left"),value:"bounceOutLeft"},{label:l("Bounce Out Right"),value:"bounceOutRight"},{label:l("Bounce Out Up"),value:"bounceOutUp"},{label:l("Fade In"),value:"fadeIn"},{label:l("Fade In Down"),value:"fadeInDown"},{label:l("Fade In Down Big"),value:"fadeInDownBig"},{label:l("Fade In Left"),value:"fadeInLeft"},{label:l("Fade In Left Big"),value:"fadeInLeftBig"},{label:l("Fade In Right"),value:"fadeInRight"},{label:l("Fade In Left Big"),value:"fadeInRightBig"},{label:l("Fade In Up"),value:"fadeInUp"},{label:l("Fade Out"),value:"fadeOut"},{label:l("Fade Out Down"),value:"fadeOutDown"},{label:l("Fade Out Down Big"),value:"fadeOutDownBig"},{label:l("Fade Out Left"),value:"fadeOutLeft"},{label:l("Fade Out Left Big"),value:"fadeOutLeftBig"},{label:l("Fade Out Right"),value:"fadeOutRight"},{label:l("Fade In Left Big"),value:"fadeOutRightBig"},{label:l("Fade Out Up"),value:"fadeOutUp"},{label:l("Fade Out Up Big"),value:"fadeOutUpBig"},{label:l("Flip"),value:"flip"},{label:l("Flip In X"),value:"flipInX"},{label:l("Flip In Y"),value:"flipInY"},{label:l("Flip Out X"),value:"flipOutX"},{label:l("Flip Out Y"),value:"flipOutY"},{label:l("Light Speed In"),value:"lightSpeedIn"},{label:l("Light Speed Out"),value:"lightSpeedOut"},{label:l("Rotate In"),value:"rotateIn"},{label:l("Rotate In Down Left"),value:"rotateInDownLeft"},{label:l("Rotate In Down Right"),value:"rotateInDownRight"},{label:l("Rotate In Up Left"),value:"rotateInUpLeft"},{label:l("Rotate In Up Right"),value:"rotateInUpRight"},{label:l("Rotate Out"),value:"rotateOut"},{label:l("Rotate Out Down Left"),value:"rotateOutDownLeft"},{label:l("Rotate Out Down Right"),value:"rotateOutDownRight"},{label:l("Rotate Out Up Left"),value:"rotateOutUpLeft"},{label:l("Rotate Out Up Right"),value:"rotateOutUpRight"},{label:l("Slide In Down"),value:"slideInDown"},{label:l("Slide In Left"),value:"slideInLeft"},{label:l("Slide In Right"),value:"slideInRight"},{label:l("Slide In Up"),value:"slideInUp"},{label:l("Slide Out Down"),value:"slideOutDown"},{label:l("Slide Out Left"),value:"slideOutLeft"},{label:l("Slide Out Right"),value:"slideOutRight"},{label:l("Slide Out Up"),value:"slideOutUp"},{label:l("Zoom In"),value:"zoomIn"},{label:l("Zoom In Down"),value:"zoomInDown"},{label:l("Zoom In Left"),value:"zoomInLeft"},{label:l("Zoom In Right"),value:"zoomInRight"},{label:l("Zoom In Up"),value:"zoomInUp"},{label:l("Zoom Out"),value:"zoomOut"},{label:l("Zoom Out Down"),value:"zoomOutDown"},{label:l("Zoom Out Left"),value:"zoomOutLeft"},{label:l("Zoom Out Right"),value:"zoomOutRight"},{label:l("Zoom Out Up"),value:"zoomOutUp"},{label:l("Roll In"),value:"rollIn"},{label:l("Roll Out"),value:"rollOut"}],o=["bounceOut","bounceOutDown","bounceOutLeft","bounceOutRight","bounceOutUp","fadeOut","fadeOutDown","fadeOutDownBig","fadeOutLeft","fadeOutLeftBig","fadeOutRight","fadeOutRightBig","fadeOutUp","fadeOutUpBig","flipOutX","flipOutY","lightSpeedOut","rotateOut","rotateOutDownLeft","rotateOutDownRight","rotateOutUpLeft","rotateOutUpRight","slideOutDown","slideOutLeft","slideOutRight","slideOutUp","zoomOut","zoomOutDown","zoomOutLeft","zoomOutRight","zoomOutUp","rollOut"],u=[{label:l("Default"),value:"none"},{label:l("Two Second"),value:"delay-2s"},{label:l("Three Second"),value:"delay-3s"},{label:l("Four Second"),value:"delay-4s"},{label:l("Five Second"),value:"delay-5s"}],i=[{label:l("Default"),value:"none"},{label:l("Slow"),value:"slow"},{label:l("Slower"),value:"slower"},{label:l("Fast"),value:"fast"},{label:l("Faster"),value:"faster"}];function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function s(e,t,a,l,n,o,u){try{var i=e[o](u),r=i.value}catch(e){return void a(e)}i.done?t(r):Promise.resolve(r).then(l,n)}function p(e,t){for(var a=0;a<t.length;a++){var l=t[a];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,l.key,l)}}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function f(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var b=wp.i18n.__,v=wp.components.SelectControl,m=wp.element,h=m.Component,O=m.Fragment,g=function(e){function t(){var e,a,l;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),a=this,(e=!(l=c(t).apply(this,arguments))||"object"!==r(l)&&"function"!=typeof l?f(a):l).updateAnimation=e.updateAnimation.bind(f(e)),e.updateDelay=e.updateDelay.bind(f(e)),e.updateSpeed=e.updateSpeed.bind(f(e)),e.state={animation:"none",delay:"default",speed:"default"},e}var a,l,m,h,g;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d(e,t)}(t,e),a=t,(l=[{key:"componentDidMount",value:function(){var e;if(this.props.attributes.className){e=(e=this.props.attributes.className).split(" ");var t=Array.from(n).find((function(t){return e.find((function(e){return e===t.value}))})),a=Array.from(u).find((function(t){return e.find((function(e){return e===t.value}))})),l=Array.from(i).find((function(t){return e.find((function(e){return e===t.value}))}));this.setState({animation:t?t.value:"none",delay:a?a.value:"default",speed:l?l.value:"default"})}}},{key:"updateAnimation",value:(h=regeneratorRuntime.mark((function e(t){var a,l,n,u,i=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return l="none"!==t?t:"",this.props.attributes.className?(a=(a=this.props.attributes.className).split(" "),n=a.find((function(e){return e===i.state.animation})),a.find((function(e){return"animated"===e}))||a.push("animated"),n?a=a.join(" ").replace(this.state.animation,l):(a.push(l),a=a.join(" "))):a="animated ".concat(l),"none"===t&&(a=a.replace("animated","").replace(this.state.delay,"").replace(this.state.speed,""),this.setState({delay:"default",speed:"defualt"})),a=a.replace(/\s+/g," "),this.setState({animation:t}),e.next=7,this.props.setAttributes({className:a});case 7:u=document.querySelector("#block-".concat(this.props.clientId," .animated")),o.forEach((function(e){u.className.includes(e)&&u.addEventListener("animationend",(function(){u.classList.remove(e),u.addEventListener("animationstart",(function(){u.classList.remove(e)}))}))}));case 9:case"end":return e.stop()}}),e,this)})),g=function(){var e=this,t=arguments;return new Promise((function(a,l){var n=h.apply(e,t);function o(e){s(n,a,l,o,u,"next",e)}function u(e){s(n,a,l,o,u,"throw",e)}o(void 0)}))},function(e){return g.apply(this,arguments)})},{key:"updateDelay",value:function(e){var t,a=this,l="none"!==e?e:"";this.props.attributes.className?(t=(t=this.props.attributes.className).split(" ")).find((function(e){return e===a.state.delay}))?t=t.join(" ").replace(this.state.delay,l):(t.push(l),t=t.join(" ")):t=l,t=t.replace(/\s+/g," "),this.setState({delay:e}),this.props.setAttributes({className:t})}},{key:"updateSpeed",value:function(e){var t,a=this,l="none"!==e?e:"";this.props.attributes.className?(t=(t=this.props.attributes.className).split(" ")).find((function(e){return e===a.state.speed}))?t=t.join(" ").replace(this.state.speed,l):(t.push(l),t=t.join(" ")):t=l,t=t.replace(/\s+/g," "),this.setState({speed:e}),this.props.setAttributes({className:t})}},{key:"render",value:function(){return wp.element.createElement(O,null,wp.element.createElement(v,{label:b("Animation"),value:this.state.animation||"none",options:n,onChange:this.updateAnimation}),"none"!==this.state.animation&&wp.element.createElement(O,null,wp.element.createElement(v,{label:b("Delay"),value:this.state.delay||"default",options:u,onChange:this.updateDelay}),wp.element.createElement(v,{label:b("Speed"),value:this.state.speed||"default",options:i,onChange:this.updateSpeed})))}}])&&p(a.prototype,l),m&&p(a,m),t}(h),w=wp.i18n.__,I=wp.blocks.hasBlockSupport,y=wp.components.PanelBody,R=wp.compose.createHigherOrderComponent,S=(wp.blockEditor||wp.editor).InspectorControls,D=wp.element.Fragment;(0,wp.hooks.addFilter)("editor.BlockEdit","themeisle-custom-css/with-inspector-controls",R((function(e){return function(t){return I(t.name,"customClassName",!0)&&t.isSelected?wp.element.createElement(D,null,wp.element.createElement(e,t),wp.element.createElement(S,null,wp.element.createElement(y,{title:w("Animations"),initialOpen:!1},wp.element.createElement(g,{clientId:t.clientId,setAttributes:t.setAttributes,attributes:t.attributes})))):wp.element.createElement(e,t)}}),"withInspectorControl"))}]);
vendor/codeinwp/gutenberg-animation/class-gutenberg-animation.php CHANGED
@@ -5,149 +5,148 @@ namespace ThemeIsle;
5
/**
6
* Class GutenbergAnimation
7
*/
8
- if ( ! class_exists( '\ThemeIsle\GutenbergAnimation' ) ) {
9
- class GutenbergAnimation {
10
-
11
- /**
12
- * The main instance var.
13
- *
14
- * @var GutenbergAnimation
15
- */
16
- public static $instance = null;
17
-
18
- /**
19
- * Holds the module slug.
20
- *
21
- * @since 1.0.0
22
- * @access protected
23
- * @var string $slug The module slug.
24
- */
25
- protected $slug = 'gutenberg-animation';
26
-
27
- /**
28
- * Initialize the class
29
- */
30
- public function init() {
31
- add_action( 'enqueue_block_editor_assets', array( $this, 'enqueue_editor_assets' ) );
32
- add_action( 'enqueue_block_assets', array( $this, 'enqueue_block_frontend_assets' ) );
33
- }
34
35
- /**
36
- * Load Gutenberg editor assets.
37
- *
38
- * @since 1.0.0
39
- * @access public
40
- */
41
- public function enqueue_editor_assets() {
42
- if ( THEMEISLE_GUTENBERG_ANIMATION_DEV ) {
43
- $version = time();
44
- } else {
45
- $version = THEMEISLE_GUTENBERG_ANIMATION_DEV;
46
- }
47
-
48
- wp_enqueue_script(
49
- 'themeisle-gutenberg-animation',
50
- plugin_dir_url( $this->get_dir() ) . $this->slug . '/build/build.js',
51
- array( 'wp-i18n', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-editor', 'wp-element', 'wp-hooks' ),
52
- $version
53
- );
54
-
55
- wp_set_script_translations( 'themeisle-gutenberg-animation', 'textdomain' );
56
}
57
58
- /**
59
- * Load Gutenberg assets.
60
- *
61
- * @since 1.0.0
62
- * @access public
63
- */
64
- public function enqueue_block_frontend_assets() {
65
- if ( function_exists( 'is_amp_endpoint' ) && is_amp_endpoint() ) {
66
- return;
67
- }
68
-
69
- wp_enqueue_style(
70
- 'animate-css',
71
- plugin_dir_url( $this->get_dir() ) . $this->slug . '/assets/css/animate.min.css'
72
- );
73
-
74
- if ( is_admin() ) {
75
- return;
76
- }
77
-
78
- if ( THEMEISLE_GUTENBERG_ANIMATION_DEV ) {
79
- $version = time();
80
- } else {
81
- $version = THEMEISLE_GUTENBERG_ANIMATION_DEV;
82
- }
83
-
84
- wp_enqueue_script(
85
- 'themeisle-gutenberg-animation-frontend',
86
- plugin_dir_url( $this->get_dir() ) . $this->slug . '/assets/js/animate.js',
87
- array(),
88
- $version,
89
- true
90
- );
91
- wp_enqueue_style(
92
- 'themeisle-gutenberg-animation-style',
93
- plugin_dir_url( $this->get_dir() ) . $this->slug . '/assets/css/style.css'
94
- );
95
- }
96
97
- /**
98
- * Method to return path to child class in a Reflective Way.
99
- *
100
- * @since 1.0.0
101
- * @access protected
102
- * @return string
103
- */
104
- protected function get_dir() {
105
- return dirname( __FILE__ );
106
}
107
108
- /**
109
- * The instance method for the static class.
110
- * Defines and returns the instance of the static class.
111
- *
112
- * @static
113
- * @since 1.0.0
114
- * @access public
115
- * @return GutenbergAnimation
116
- */
117
- public static function instance() {
118
- if ( is_null( self::$instance ) ) {
119
- self::$instance = new self();
120
- self::$instance->init();
121
- }
122
-
123
- return self::$instance;
124
}
125
126
- /**
127
- * Throw error on object clone
128
- *
129
- * The whole idea of the singleton design pattern is that there is a single
130
- * object therefore, we don't want the object to be cloned.
131
- *
132
- * @access public
133
- * @since 1.0.0
134
- * @return void
135
- */
136
- public function __clone() {
137
- // Cloning instances of the class is forbidden.
138
- _doing_it_wrong( __FUNCTION__, esc_html__( 'Cheatin&#8217; huh?', 'textdomain' ), '1.0.0' );
139
}
140
141
- /**
142
- * Disable unserializing of the class
143
- *
144
- * @access public
145
- * @since 1.0.0
146
- * @return void
147
- */
148
- public function __wakeup() {
149
- // Unserializing instances of the class is forbidden.
150
- _doing_it_wrong( __FUNCTION__, esc_html__( 'Cheatin&#8217; huh?', 'textdomain' ), '1.0.0' );
151
}
152
}
153
}
5
/**
6
* Class GutenbergAnimation
7
*/
8
+ class GutenbergAnimation {
9
+
10
+ /**
11
+ * The main instance var.
12
+ *
13
+ * @var GutenbergAnimation
14
+ */
15
+ public static $instance = null;
16
+
17
+ /**
18
+ * Holds the module slug.
19
+ *
20
+ * @since 1.0.0
21
+ * @access protected
22
+ * @var string $slug The module slug.
23
+ */
24
+ protected $slug = 'gutenberg-animation';
25
+
26
+ /**
27
+ * Initialize the class
28
+ */
29
+ public function init() {
30
+ add_action( 'enqueue_block_editor_assets', array( $this, 'enqueue_editor_assets' ) );
31
+ add_action( 'enqueue_block_assets', array( $this, 'enqueue_block_frontend_assets' ) );
32
+ }
33
34
+ /**
35
+ * Load Gutenberg editor assets.
36
+ *
37
+ * @since 1.0.0
38
+ * @access public
39
+ */
40
+ public function enqueue_editor_assets() {
41
+ if ( THEMEISLE_GUTENBERG_ANIMATION_DEV ) {
42
+ $version = time();
43
+ } else {
44
+ $version = THEMEISLE_GUTENBERG_ANIMATION_DEV;
45
}
46
47
+ wp_enqueue_script(
48
+ 'themeisle-gutenberg-animation',
49
+ plugin_dir_url( $this->get_dir() ) . $this->slug . '/build/build.js',
50
+ array( 'wp-i18n', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-editor', 'wp-element', 'wp-hooks' ),
51
+ $version
52
+ );
53
+
54
+ wp_set_script_translations( 'themeisle-gutenberg-animation', 'textdomain' );
55
+ }
56
57
+ /**
58
+ * Load Gutenberg assets.
59
+ *
60
+ * @since 1.0.0
61
+ * @access public
62
+ */
63
+ public function enqueue_block_frontend_assets() {
64
+ if ( function_exists( 'is_amp_endpoint' ) && is_amp_endpoint() ) {
65
+ return;
66
}
67
68
+ wp_enqueue_style(
69
+ 'animate-css',
70
+ plugin_dir_url( $this->get_dir() ) . $this->slug . '/assets/css/animate.min.css'
71
+ );
72
+
73
+ if ( is_admin() ) {
74
+ return;
75
}
76
77
+ if ( THEMEISLE_GUTENBERG_ANIMATION_DEV ) {
78
+ $version = time();
79
+ } else {
80
+ $version = THEMEISLE_GUTENBERG_ANIMATION_DEV;
81
}
82
83
+ wp_enqueue_script(
84
+ 'themeisle-gutenberg-animation-frontend',
85
+ plugin_dir_url( $this->get_dir() ) . $this->slug . '/build/animate.js',
86
+ array(),
87
+ $version,
88
+ true
89
+ );
90
+
91
+ wp_enqueue_style(
92
+ 'themeisle-gutenberg-animation-style',
93
+ plugin_dir_url( $this->get_dir() ) . $this->slug . '/assets/css/style.css'
94
+ );
95
+ }
96
+
97
+ /**
98
+ * Method to return path to child class in a Reflective Way.
99
+ *
100
+ * @since 1.0.0
101
+ * @access protected
102
+ * @return string
103
+ */
104
+ protected function get_dir() {
105
+ return dirname( __FILE__ );
106
+ }
107
+
108
+ /**
109
+ * The instance method for the static class.
110
+ * Defines and returns the instance of the static class.
111
+ *
112
+ * @static
113
+ * @since 1.0.0
114
+ * @access public
115
+ * @return GutenbergAnimation
116
+ */
117
+ public static function instance() {
118
+ if ( is_null( self::$instance ) ) {
119
+ self::$instance = new self();
120
+ self::$instance->init();
121
}
122
+
123
+ return self::$instance;
124
+ }
125
+
126
+ /**
127
+ * Throw error on object clone
128
+ *
129
+ * The whole idea of the singleton design pattern is that there is a single
130
+ * object therefore, we don't want the object to be cloned.
131
+ *
132
+ * @access public
133
+ * @since 1.0.0
134
+ * @return void
135
+ */
136
+ public function __clone() {
137
+ // Cloning instances of the class is forbidden.
138
+ _doing_it_wrong( __FUNCTION__, esc_html__( 'Cheatin&#8217; huh?', 'textdomain' ), '1.0.0' );
139
+ }
140
+
141
+ /**
142
+ * Disable unserializing of the class
143
+ *
144
+ * @access public
145
+ * @since 1.0.0
146
+ * @return void
147
+ */
148
+ public function __wakeup() {
149
+ // Unserializing instances of the class is forbidden.
150
+ _doing_it_wrong( __FUNCTION__, esc_html__( 'Cheatin&#8217; huh?', 'textdomain' ), '1.0.0' );
151
}
152
}
vendor/codeinwp/gutenberg-animation/load.php CHANGED
@@ -8,7 +8,7 @@
8
* @since 1.0.0
9
*/
10
11
- define( 'THEMEISLE_GUTENBERG_ANIMATION_VERSION', '1.0.2' );
12
define( 'THEMEISLE_GUTENBERG_ANIMATION_DEV', false );
13
14
add_action(
8
* @since 1.0.0
9
*/
10
11
+ define( 'THEMEISLE_GUTENBERG_ANIMATION_VERSION', '1.0.3' );
12
define( 'THEMEISLE_GUTENBERG_ANIMATION_DEV', false );
13
14
add_action(
vendor/codeinwp/gutenberg-animation/src/data.js CHANGED
@@ -3,7 +3,7 @@
3
*/
4
const { __ } = wp.i18n;
5
6
- export const animation = [
7
{
8
label: __( 'None' ),
9
value: 'none'
@@ -48,6 +48,18 @@ export const animation = [
48
label: __( 'Jello' ),
49
value: 'jello'
50
},
51
{
52
label: __( 'Bounce In' ),
53
value: 'bounceIn'
@@ -68,6 +80,26 @@ export const animation = [
68
label: __( 'Bounce In Up' ),
69
value: 'bounceInUp'
70
},
71
{
72
label: __( 'Fade In' ),
73
value: 'fadeIn'
@@ -101,8 +133,44 @@ export const animation = [
101
value: 'fadeInUp'
102
},
103
{
104
- label: __( 'Fade In Up Big' ),
105
- value: 'fadeInUpBig'
106
},
107
{
108
label: __( 'Flip In X' ),
@@ -112,10 +180,22 @@ export const animation = [
112
label: __( 'Flip In Y' ),
113
value: 'flipInY'
114
},
115
{
116
label: __( 'Light Speed In' ),
117
value: 'lightSpeedIn'
118
},
119
{
120
label: __( 'Rotate In' ),
121
value: 'rotateIn'
@@ -137,16 +217,56 @@ export const animation = [
137
value: 'rotateInUpRight'
138
},
139
{
140
- label: __( 'Hinge' ),
141
- value: 'hinge'
142
},
143
{
144
- label: __( 'Jack In The Box' ),
145
- value: 'jackInTheBox'
146
},
147
{
148
- label: __( 'Roll In' ),
149
- value: 'rollIn'
150
},
151
{
152
label: __( 'Zoom In' ),
@@ -169,28 +289,71 @@ export const animation = [
169
value: 'zoomInUp'
170
},
171
{
172
- label: __( 'Slide In Down' ),
173
- value: 'slideInDown'
174
},
175
{
176
- label: __( 'Slide In Left' ),
177
- value: 'slideInLeft'
178
},
179
{
180
- label: __( 'Slide In Right' ),
181
- value: 'slideInRight'
182
},
183
{
184
- label: __( 'Slide In Up' ),
185
- value: 'slideInUp'
186
},
187
{
188
- label: __( 'Heart Beat' ),
189
- value: 'heartBeat'
190
}
191
];
192
193
- export const delay = [
194
{
195
label: __( 'Default' ),
196
value: 'none'
@@ -213,7 +376,7 @@ export const delay = [
213
}
214
];
215
216
- export const speed = [
217
{
218
label: __( 'Default' ),
219
value: 'none'
3
*/
4
const { __ } = wp.i18n;
5
6
+ export const animationsList = [
7
{
8
label: __( 'None' ),
9
value: 'none'
48
label: __( 'Jello' ),
49
value: 'jello'
50
},
51
+ {
52
+ label: __( 'Heart Beat' ),
53
+ value: 'heartBeat'
54
+ },
55
+ {
56
+ label: __( 'Hinge' ),
57
+ value: 'hinge'
58
+ },
59
+ {
60
+ label: __( 'Jack In The Box' ),
61
+ value: 'jackInTheBox'
62
+ },
63
{
64
label: __( 'Bounce In' ),
65
value: 'bounceIn'
80
label: __( 'Bounce In Up' ),
81
value: 'bounceInUp'
82
},
83
+ {
84
+ label: __( 'Bounce Out' ),
85
+ value: 'bounceOut'
86
+ },
87
+ {
88
+ label: __( 'Bounce Out Down' ),
89
+ value: 'bounceOutDown'
90
+ },
91
+ {
92
+ label: __( 'Bounce Out Left' ),
93
+ value: 'bounceOutLeft'
94
+ },
95
+ {
96
+ label: __( 'Bounce Out Right' ),
97
+ value: 'bounceOutRight'
98
+ },
99
+ {
100
+ label: __( 'Bounce Out Up' ),
101
+ value: 'bounceOutUp'
102
+ },
103
{
104
label: __( 'Fade In' ),
105
value: 'fadeIn'
133
value: 'fadeInUp'
134
},
135
{
136
+ label: __( 'Fade Out' ),
137
+ value: 'fadeOut'
138
+ },
139
+ {
140
+ label: __( 'Fade Out Down' ),
141
+ value: 'fadeOutDown'
142
+ },
143
+ {
144
+ label: __( 'Fade Out Down Big' ),
145
+ value: 'fadeOutDownBig'
146
+ },
147
+ {
148
+ label: __( 'Fade Out Left' ),
149
+ value: 'fadeOutLeft'
150
+ },
151
+ {
152
+ label: __( 'Fade Out Left Big' ),
153
+ value: 'fadeOutLeftBig'
154
+ },
155
+ {
156
+ label: __( 'Fade Out Right' ),
157
+ value: 'fadeOutRight'
158
+ },
159
+ {
160
+ label: __( 'Fade In Left Big' ),
161
+ value: 'fadeOutRightBig'
162
+ },
163
+ {
164
+ label: __( 'Fade Out Up' ),
165
+ value: 'fadeOutUp'
166
+ },
167
+ {
168
+ label: __( 'Fade Out Up Big' ),
169
+ value: 'fadeOutUpBig'
170
+ },
171
+ {
172
+ label: __( 'Flip' ),
173
+ value: 'flip'
174
},
175
{
176
label: __( 'Flip In X' ),
180
label: __( 'Flip In Y' ),
181
value: 'flipInY'
182
},
183
+ {
184
+ label: __( 'Flip Out X' ),
185
+ value: 'flipOutX'
186
+ },
187
+ {
188
+ label: __( 'Flip Out Y' ),
189
+ value: 'flipOutY'
190
+ },
191
{
192
label: __( 'Light Speed In' ),
193
value: 'lightSpeedIn'
194
},
195
+ {
196
+ label: __( 'Light Speed Out' ),
197
+ value: 'lightSpeedOut'
198
+ },
199
{
200
label: __( 'Rotate In' ),
201
value: 'rotateIn'
217
value: 'rotateInUpRight'
218
},
219
{
220
+ label: __( 'Rotate Out' ),
221
+ value: 'rotateOut'
222
},
223
{
224
+ label: __( 'Rotate Out Down Left' ),
225
+ value: 'rotateOutDownLeft'
226
},
227
{
228
+ label: __( 'Rotate Out Down Right' ),
229
+ value: 'rotateOutDownRight'
230
+ },
231
+ {
232
+ label: __( 'Rotate Out Up Left' ),
233
+ value: 'rotateOutUpLeft'
234
+ },
235
+ {
236
+ label: __( 'Rotate Out Up Right' ),
237
+ value: 'rotateOutUpRight'
238
+ },
239
+ {
240
+ label: __( 'Slide In Down' ),
241
+ value: 'slideInDown'
242
+ },
243
+ {
244
+ label: __( 'Slide In Left' ),
245
+ value: 'slideInLeft'
246
+ },
247
+ {
248
+ label: __( 'Slide In Right' ),
249
+ value: 'slideInRight'
250
+ },
251
+ {
252
+ label: __( 'Slide In Up' ),
253
+ value: 'slideInUp'
254
+ },
255
+ {
256
+ label: __( 'Slide Out Down' ),
257
+ value: 'slideOutDown'
258
+ },
259
+ {
260
+ label: __( 'Slide Out Left' ),
261
+ value: 'slideOutLeft'
262
+ },
263
+ {
264
+ label: __( 'Slide Out Right' ),
265
+ value: 'slideOutRight'
266
+ },
267
+ {
268
+ label: __( 'Slide Out Up' ),
269
+ value: 'slideOutUp'
270
},
271
{
272
label: __( 'Zoom In' ),
289
value: 'zoomInUp'
290
},
291
{
292
+ label: __( 'Zoom Out' ),
293
+ value: 'zoomOut'
294
},
295
{
296
+ label: __( 'Zoom Out Down' ),
297
+ value: 'zoomOutDown'
298
},
299
{
300
+ label: __( 'Zoom Out Left' ),
301
+ value: 'zoomOutLeft'
302
},
303
{
304
+ label: __( 'Zoom Out Right' ),
305
+ value: 'zoomOutRight'
306
},
307
{
308
+ label: __( 'Zoom Out Up' ),
309
+ value: 'zoomOutUp'
310
+ },
311
+ {
312
+ label: __( 'Roll In' ),
313
+ value: 'rollIn'
314
+ },
315
+ {
316
+ label: __( 'Roll Out' ),
317
+ value: 'rollOut'
318
}
319
];
320
321
+ export const outAnimation = [
322
+ 'bounceOut',
323
+ 'bounceOutDown',
324
+ 'bounceOutLeft',
325
+ 'bounceOutRight',
326
+ 'bounceOutUp',
327
+ 'fadeOut',
328
+ 'fadeOutDown',
329
+ 'fadeOutDownBig',
330
+ 'fadeOutLeft',
331
+ 'fadeOutLeftBig',
332
+ 'fadeOutRight',
333
+ 'fadeOutRightBig',
334
+ 'fadeOutUp',
335
+ 'fadeOutUpBig',
336
+ 'flipOutX',
337
+ 'flipOutY',
338
+ 'lightSpeedOut',
339
+ 'rotateOut',
340
+ 'rotateOutDownLeft',
341
+ 'rotateOutDownRight',
342
+ 'rotateOutUpLeft',
343
+ 'rotateOutUpRight',
344
+ 'slideOutDown',
345
+ 'slideOutLeft',
346
+ 'slideOutRight',
347
+ 'slideOutUp',
348
+ 'zoomOut',
349
+ 'zoomOutDown',
350
+ 'zoomOutLeft',
351
+ 'zoomOutRight',
352
+ 'zoomOutUp',
353
+ 'rollOut'
354
+ ];
355
+
356
+ export const delayList = [
357
{
358
label: __( 'Default' ),
359
value: 'none'
376
}
377
];
378
379
+ export const speedList = [
380
{
381
label: __( 'Default' ),
382
value: 'none'
vendor/codeinwp/gutenberg-animation/src/editor.js CHANGED
@@ -16,9 +16,10 @@ const {
16
* Internal dependencies.
17
*/
18
import {
19
- animation,
20
- delay,
21
- speed
22
} from './data.js';
23
24
class AnimationControls extends Component {
@@ -43,15 +44,15 @@ class AnimationControls extends Component {
43
classes = this.props.attributes.className;
44
classes = classes.split( ' ' );
45
46
- const animationClass = Array.from( animation ).find( i => {
47
return classes.find( o => o === i.value );
48
});
49
50
- const delayClass = Array.from( delay ).find( i => {
51
return classes.find( o => o === i.value );
52
});
53
54
- const speedClass = Array.from( speed ).find( i => {
55
return classes.find( o => o === i.value );
56
});
57
@@ -63,7 +64,7 @@ class AnimationControls extends Component {
63
}
64
}
65
66
- updateAnimation( e ) {
67
let classes;
68
let animationValue = 'none' !== e ? e : '';
69
@@ -99,7 +100,23 @@ class AnimationControls extends Component {
99
classes = classes.replace( /\s+/g, ' ' );
100
101
this.setState({ animation: e });
102
- this.props.setAttributes({ className: classes });
103
}
104
105
updateDelay( e ) {
@@ -158,7 +175,7 @@ class AnimationControls extends Component {
158
<SelectControl
159
label={ __( 'Animation' ) }
160
value={ this.state.animation || 'none' }
161
- options={ animation }
162
onChange={ this.updateAnimation }
163
/>
164
@@ -167,14 +184,14 @@ class AnimationControls extends Component {
167
<SelectControl
168
label={ __( 'Delay' ) }
169
value={ this.state.delay || 'default' }
170
- options={ delay }
171
onChange={ this.updateDelay }
172
/>
173
174
<SelectControl
175
label={ __( 'Speed' ) }
176
value={ this.state.speed || 'default' }
177
- options={ speed }
178
onChange={ this.updateSpeed }
179
/>
180
</Fragment>
16
* Internal dependencies.
17
*/
18
import {
19
+ animationsList,
20
+ outAnimation,
21
+ delayList,
22
+ speedList
23
} from './data.js';
24
25
class AnimationControls extends Component {
44
classes = this.props.attributes.className;
45
classes = classes.split( ' ' );
46
47
+ const animationClass = Array.from( animationsList ).find( i => {
48
return classes.find( o => o === i.value );
49
});
50
51
+ const delayClass = Array.from( delayList ).find( i => {
52
return classes.find( o => o === i.value );
53
});
54
55
+ const speedClass = Array.from( speedList ).find( i => {
56
return classes.find( o => o === i.value );
57
});
58
64
}
65
}
66
67
+ async updateAnimation( e ) {
68
let classes;
69
let animationValue = 'none' !== e ? e : '';
70
100
classes = classes.replace( /\s+/g, ' ' );
101
102
this.setState({ animation: e });
103
+ await this.props.setAttributes({ className: classes });
104
+
105
+ const block = document.querySelector( `#block-${ this.props.clientId } .animated` );
106
+
107
+ outAnimation.forEach( i => {
108
+ const isOut = block.className.includes( i );
109
+
110
+ if ( isOut ) {
111
+ block.addEventListener( 'animationend', () => {
112
+ block.classList.remove( i );
113
+
114
+ block.addEventListener( 'animationstart', () => {
115
+ block.classList.remove( i );
116
+ });
117
+ });
118
+ }
119
+ });
120
}
121
122
updateDelay( e ) {
175
<SelectControl
176
label={ __( 'Animation' ) }
177
value={ this.state.animation || 'none' }
178
+ options={ animationsList }
179
onChange={ this.updateAnimation }
180
/>
181
184
<SelectControl
185
label={ __( 'Delay' ) }
186
value={ this.state.delay || 'default' }
187
+ options={ delayList }
188
onChange={ this.updateDelay }
189
/>
190
191
<SelectControl
192
label={ __( 'Speed' ) }
193
value={ this.state.speed || 'default' }
194
+ options={ speedList }
195
onChange={ this.updateSpeed }
196
/>
197
</Fragment>
vendor/codeinwp/gutenberg-animation/{assets/js/animate.js → src/frontend.js} RENAMED
@@ -1,4 +1,4 @@
1
- const animation = [
2
'none',
3
'bounce',
4
'flash',
@@ -10,11 +10,19 @@ const animation = [
10
'tada',
11
'wobble',
12
'jello',
13
'bounceIn',
14
'bounceInDown',
15
'bounceInLeft',
16
'bounceInRight',
17
'bounceInUp',
18
'fadeIn',
19
'fadeInDown',
20
'fadeInDownBig',
@@ -23,28 +31,87 @@ const animation = [
23
'fadeInRight',
24
'fadeInRightBig',
25
'fadeInUp',
26
- 'fadeInUpBig',
27
'flipInX',
28
'flipInY',
29
'lightSpeedIn',
30
'rotateIn',
31
'rotateInDownLeft',
32
'rotateInDownRight',
33
'rotateInUpLeft',
34
'rotateInUpRight',
35
- 'hinge',
36
- 'jackInTheBox',
37
- 'rollIn',
38
'zoomIn',
39
'zoomInDown',
40
'zoomInLeft',
41
'zoomInRight',
42
'zoomInUp',
43
- 'slideInDown',
44
- 'slideInLeft',
45
- 'slideInRight',
46
- 'slideInUp',
47
- 'heartBeat'
48
];
49
50
const delay = [
@@ -63,7 +130,6 @@ const speed = [
63
'faster'
64
];
65
66
-
67
window.onload = () => {
68
const elements = document.querySelectorAll( '.animated' );
69
for ( const element of elements ) {
@@ -71,7 +137,7 @@ window.onload = () => {
71
element.animationClasses = [];
72
73
if ( ! isElementInViewport( element ) ) {
74
- const animationClass = animation.find( i => {
75
return Array.from( classes ).find( o => o === i );
76
});
77
@@ -100,6 +166,16 @@ window.onload = () => {
100
element.classList.remove( speedClass );
101
}
102
}
103
}
104
105
window.onscroll = () => {
1
+ const animations = [
2
'none',
3
'bounce',
4
'flash',
10
'tada',
11
'wobble',
12
'jello',
13
+ 'heartBeat',
14
+ 'hinge',
15
+ 'jackInTheBox',
16
'bounceIn',
17
'bounceInDown',
18
'bounceInLeft',
19
'bounceInRight',
20
'bounceInUp',
21
+ 'bounceOut',
22
+ 'bounceOutDown',
23
+ 'bounceOutLeft',
24
+ 'bounceOutRight',
25
+ 'bounceOutUp',
26
'fadeIn',
27
'fadeInDown',
28
'fadeInDownBig',
31
'fadeInRight',
32
'fadeInRightBig',
33
'fadeInUp',
34
+ 'fadeOut',
35
+ 'fadeOutDown',
36
+ 'fadeOutDownBig',
37
+ 'fadeOutLeft',
38
+ 'fadeOutLeftBig',
39
+ 'fadeOutRight',
40
+ 'fadeOutRightBig',
41
+ 'fadeOutUp',
42
+ 'fadeOutUpBig',
43
+ 'flip',
44
'flipInX',
45
'flipInY',
46
+ 'flipOutX',
47
+ 'flipOutY',
48
'lightSpeedIn',
49
+ 'lightSpeedOut',
50
'rotateIn',
51
'rotateInDownLeft',
52
'rotateInDownRight',
53
'rotateInUpLeft',
54
'rotateInUpRight',
55
+ 'rotateOut',
56
+ 'rotateOutDownLeft',
57
+ 'rotateOutDownRight',
58
+ 'rotateOutUpLeft',
59
+ 'rotateOutUpRight',
60
+ 'slideInDown',
61
+ 'slideInLeft',
62
+ 'slideInRight',
63
+ 'slideInUp',
64
+ 'slideOutDown',
65
+ 'slideOutLeft',
66
+ 'slideOutRight',
67
+ 'slideOutUp',
68
'zoomIn',
69
'zoomInDown',
70
'zoomInLeft',
71
'zoomInRight',
72
'zoomInUp',
73
+ 'zoomOut',
74
+ 'zoomOutDown',
75
+ 'zoomOutLeft',
76
+ 'zoomOutRight',
77
+ 'zoomOutUp',
78
+ 'rollIn',
79
+ 'rollOut'
80
+ ];
81
+
82
+ const outAnimation = [
83
+ 'bounceOut',
84
+ 'bounceOutDown',
85
+ 'bounceOutLeft',
86
+ 'bounceOutRight',
87
+ 'bounceOutUp',
88
+ 'fadeOut',
89
+ 'fadeOutDown',
90
+ 'fadeOutDownBig',
91
+ 'fadeOutLeft',
92
+ 'fadeOutLeftBig',
93
+ 'fadeOutRight',
94
+ 'fadeOutRightBig',
95
+ 'fadeOutUp',
96
+ 'fadeOutUpBig',
97
+ 'flipOutX',
98
+ 'flipOutY',
99
+ 'lightSpeedOut',
100
+ 'rotateOut',
101
+ 'rotateOutDownLeft',
102
+ 'rotateOutDownRight',
103
+ 'rotateOutUpLeft',
104
+ 'rotateOutUpRight',
105
+ 'slideOutDown',
106
+ 'slideOutLeft',
107
+ 'slideOutRight',
108
+ 'slideOutUp',
109
+ 'zoomOut',
110
+ 'zoomOutDown',
111
+ 'zoomOutLeft',
112
+ 'zoomOutRight',
113
+ 'zoomOutUp',
114
+ 'rollOut'
115
];
116
117
const delay = [
130
'faster'
131
];
132
133
window.onload = () => {
134
const elements = document.querySelectorAll( '.animated' );
135
for ( const element of elements ) {
137
element.animationClasses = [];
138
139
if ( ! isElementInViewport( element ) ) {
140
+ const animationClass = animations.find( i => {
141
return Array.from( classes ).find( o => o === i );
142
});
143
166
element.classList.remove( speedClass );
167
}
168
}
169
+
170
+ outAnimation.forEach( i => {
171
+ const isOut = element.className.includes( i );
172
+
173
+ if ( isOut ) {
174
+ element.addEventListener( 'animationend', () => {
175
+ element.classList.remove( i );
176
+ });
177
+ }
178
+ });
179
}
180
181
window.onscroll = () => {
vendor/codeinwp/gutenberg-animation/src/index.js CHANGED
@@ -9,7 +9,7 @@ const { PanelBody } = wp.components;
9
10
const { createHigherOrderComponent } = wp.compose;
11
12
- const { InspectorControls } = wp.editor;
13
14
const { Fragment } = wp.element;
15
@@ -33,6 +33,7 @@ const withInspectorControls = createHigherOrderComponent( ( BlockEdit ) => {
33
initialOpen={ false }
34
>
35
<AnimationControls
36
setAttributes={ props.setAttributes }
37
attributes={ props.attributes }
38
/>
9
10
const { createHigherOrderComponent } = wp.compose;
11
12
+ const { InspectorControls } = wp.blockEditor || wp.editor;
13
14
const { Fragment } = wp.element;
15
33
initialOpen={ false }
34
>
35
<AnimationControls
36
+ clientId={ props.clientId }
37
setAttributes={ props.setAttributes }
38
attributes={ props.attributes }
39
/>
vendor/codeinwp/gutenberg-animation/webpack.config.js CHANGED
@@ -3,10 +3,14 @@ const NODE_ENV = process.env.NODE_ENV || 'development';
3
4
module.exports = {
5
mode: NODE_ENV,
6
- entry: './src/index.js',
7
output: {
8
path: __dirname,
9
- filename: './build/build.js'
10
},
11
module: {
12
rules: [
@@ -32,6 +36,18 @@ module.exports = {
32
}
33
]
34
},
35
plugins: [
36
new webpack.DefinePlugin({
37
'process.env.NODE_ENV': JSON.stringify( NODE_ENV )
3
4
module.exports = {
5
mode: NODE_ENV,
6
+ entry: {
7
+ build: './src/index.js',
8
+ animate: './src/frontend.js'
9
+ },
10
output: {
11
path: __dirname,
12
+ filename: './build/[name].js',
13
+ chunkFilename: './build/[name].js'
14
},
15
module: {
16
rules: [
36
}
37
]
38
},
39
+ optimization: {
40
+ splitChunks: {
41
+ cacheGroups: {
42
+ animate: {
43
+ name: 'animate',
44
+ test: /frontend\.js#x2F;,
45
+ chunks: 'all',
46
+ reuseExistingChunk: true
47
+ }
48
+ }
49
+ }
50
+ },
51
plugins: [
52
new webpack.DefinePlugin({
53
'process.env.NODE_ENV': JSON.stringify( NODE_ENV )
vendor/codeinwp/gutenberg-blocks/assets/icons/map-aubergine.png ADDED
Binary file
vendor/codeinwp/gutenberg-blocks/assets/icons/map-dark.png ADDED
Binary file
vendor/codeinwp/gutenberg-blocks/assets/icons/map-night.png ADDED
Binary file
vendor/codeinwp/gutenberg-blocks/assets/icons/map-retro.png ADDED
Binary file
vendor/codeinwp/gutenberg-blocks/assets/icons/map-silver.png ADDED
Binary file
vendor/codeinwp/gutenberg-blocks/assets/icons/map-standard.png ADDED
Binary file
vendor/codeinwp/gutenberg-blocks/autoloader.php ADDED
@@ -0,0 +1,146 @@
1
+ <?php
2
+ /**
3
+ * Gutenberg Blocks Autoloader
4
+ *
5
+ * @package Gutenberg Blocks
6
+ */
7
+
8
+ namespace ThemeIsle\GutenbergBlocks;
9
+
10
+ class Autoloader {
11
+ /**
12
+ * An associative array where the key is a namespace prefix and the value
13
+ * is an array of base directories for classes in that namespace.
14
+ *
15
+ * @var array
16
+ */
17
+ protected $prefixes = array();
18
+
19
+ /**
20
+ * Register loader with SPL autoloader stack.
21
+ *
22
+ * @return void
23
+ */
24
+ public function register() {
25
+ spl_autoload_register( array( $this, 'load_class' ) );
26
+ }
27
+
28
+ /**
29
+ * Adds a base directory for a namespace prefix.
30
+ *
31
+ * @param string $prefix The namespace prefix.
32
+ * @param string $base_dir A base directory for class files in the
33
+ * namespace.
34
+ * @param bool $prepend If true, prepend the base directory to the stack
35
+ * instead of appending it; this causes it to be searched first rather
36
+ * than last.
37
+ * @return void
38
+ */
39
+ public function add_namespace( $prefix, $base_dir, $prepend = false ) {
40
+ // normalize namespace prefix
41
+ $prefix = trim( $prefix, '\\' ) . '\\';
42
+
43
+ // normalize the base directory with a trailing separator
44
+ $base_dir = rtrim( $base_dir, DIRECTORY_SEPARATOR ) . '/';
45
+
46
+ // initialize the namespace prefix array
47
+ if ( isset( $this->prefixes[ $prefix ] ) === false ) {
48
+ $this->prefixes[ $prefix ] = array();
49
+ }
50
+
51
+ // retain the base directory for the namespace prefix
52
+ if ( $prepend ) {
53
+ array_unshift( $this->prefixes[ $prefix ], $base_dir );
54
+ } else {
55
+ array_push( $this->prefixes[ $prefix ], $base_dir );
56
+ }
57
+ }
58
+
59
+ /**
60
+ * Loads the class file for a given class name.
61
+ *
62
+ * @param string $class The fully-qualified class name.
63
+ * @return mixed The mapped file name on success, or boolean false on
64
+ * failure.
65
+ */
66
+ public function load_class( $class ) {
67
+ // the current namespace prefix
68
+ $prefix = $class;
69
+
70
+ // work backwards through the namespace names of the fully-qualified
71
+ // class name to find a mapped file name
72
+ while ( false !== $pos = strrpos( $prefix, '\\' ) ) {
73
+
74
+ // retain the trailing namespace separator in the prefix
75
+ $prefix = substr( $class, 0, $pos + 1 );
76
+
77
+ // the rest is the relative class name
78
+ $relative_class = substr( $class, $pos + 1 );
79
+
80
+ // try to load a mapped file for the prefix and relative class
81
+ $mapped_file = $this->load_mapped_file( $prefix, $relative_class );
82
+ if ( $mapped_file ) {
83
+ return $mapped_file;
84
+ }
85
+
86
+ // remove the trailing namespace separator for the next iteration
87
+ // of strrpos()
88
+ $prefix = rtrim( $prefix, '\\' );
89
+ }
90
+
91
+ // never found a mapped file
92
+ return false;
93
+ }
94
+
95
+ /**
96
+ * Load the mapped file for a namespace prefix and relative class.
97
+ *
98
+ * @param string $prefix The namespace prefix.
99
+ * @param string $relative_class The relative class name.
100
+ * @return mixed Boolean false if no mapped file can be loaded, or the
101
+ * name of the mapped file that was loaded.
102
+ */
103
+ protected function load_mapped_file( $prefix, $relative_class ) {
104
+ // are there any base directories for this namespace prefix?
105
+ if ( isset( $this->prefixes[ $prefix ] ) === false ) {
106
+ return false;
107
+ }
108
+
109
+ // look through base directories for this namespace prefix
110
+ foreach ( $this->prefixes[ $prefix ] as $base_dir ) {
111