diff --git a/Gruntfile.js b/Gruntfile.js
index 79653145f1..bff880ab26 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -20,7 +20,7 @@ module.exports = function(grunt) {
files: [{
expand: true,
cwd: 'assets/css/scss',
- src: ['*.scss','!gf-merge-tags-*.scss','!admin-merge-tags.scss','!admin-tooltips.scss','!admin-metabox-panel.scss','!admin-metabox.scss','!admin-members-plugin.scss','!variables.scss'],
+ src: ['*.scss','!gf-merge-tags-*.scss','!admin-merge-tags.scss','!admin-tooltips.scss','!admin-metabox-panel.scss','!admin-metabox.scss','!admin-metabox-placeholder.scss','!admin-members-plugin.scss','!variables.scss'],
dest: 'assets/css',
ext: '.css'
}]
diff --git a/assets/css/admin-datepicker.css b/assets/css/admin-datepicker.css
index 1c5ec5f74a..4ed603fb76 100644
--- a/assets/css/admin-datepicker.css
+++ b/assets/css/admin-datepicker.css
@@ -196,10 +196,10 @@
/* Corner radius */
-.ui-corner-all, .ui-corner-top, .ui-corner-left, .ui-corner-tl { -webkit-border-top-left-radius: 4px; -moz-border-radius-topleft: 4px; border-top-left-radius: 4px; }
-.ui-corner-all, .ui-corner-top, .ui-corner-right, .ui-corner-tr { -webkit-border-top-right-radius: 4px; -moz-border-radius-topright: 4px; border-top-right-radius: 4px; }
-.ui-corner-all, .ui-corner-bottom, .ui-corner-left, .ui-corner-bl { -webkit-border-bottom-left-radius: 4px; -moz-border-radius-bottomleft: 4px; border-bottom-left-radius: 4px; }
-.ui-corner-all, .ui-corner-bottom, .ui-corner-right, .ui-corner-br { -webkit-border-bottom-right-radius: 4px; -moz-border-radius-bottomright: 4px; border-bottom-right-radius: 4px; }
+.ui-corner-all, .ui-corner-top, .ui-corner-left, .ui-corner-tl { border-top-left-radius: 4px; }
+.ui-corner-all, .ui-corner-top, .ui-corner-right, .ui-corner-tr { border-top-right-radius: 4px; }
+.ui-corner-all, .ui-corner-bottom, .ui-corner-left, .ui-corner-bl { border-bottom-left-radius: 4px; }
+.ui-corner-all, .ui-corner-bottom, .ui-corner-right, .ui-corner-br { border-bottom-right-radius: 4px; }
/*
diff --git a/assets/css/admin-entries-list.css b/assets/css/admin-entries-list.css
index 15947d065e..4c40f0aed8 100644
--- a/assets/css/admin-entries-list.css
+++ b/assets/css/admin-entries-list.css
@@ -1 +1 @@
-#wpbody table .gv-approve-column{width:40px;text-align:center;vertical-align:top}#wpbody table th.check-column:nth-child(2),#wpbody table tbody th.column-is_starred{text-align:center}#wpbody table thead th.gv-approve-column a{height:40px;display:table-cell;vertical-align:middle;text-align:center;width:40px}#wpbody table thead th.gv-approve-column *:before{padding:0;margin:0;content:"a";display:inline-block;-webkit-font-smoothing:antialiased;font:normal 22px/1 'gravityview';vertical-align:top;color:#555}#wpbody table .toggleApproved{padding:0;margin:0;display:inline-block}#wpbody table .loading{cursor:wait}#wpbody table .toggleApproved:before{padding:0;margin:0;content:"\f158";color:#940303;display:inline-block;-webkit-font-smoothing:antialiased;font:normal 22px/1 'dashicons';height:20px;vertical-align:top}#wpbody table .toggleApproved.approved:before{content:"\f147";color:#00ac15;font-size:26px;text-indent:-4px}.rtl #wpbody table .toggleApproved.approved:before{text-align:right;text-indent:4px}#wpbody table .toggleApproved.unapproved:before{content:"\f159";color:#ecaa00;font-size:20px}.rtl #wpbody table .toggleApproved.unapproved:before{text-align:right;text-indent:4px}.gv-approval-toggle{color:#008000 !important;-webkit-box-shadow:none !important;-moz-box-shadow:none !important;box-shadow:none !important;text-decoration:none !important;border-bottom:none !important}.gv-approval-toggle span.screen-reader-text{position:absolute;margin:-1px;padding:0;height:1px;width:1px;overflow:hidden;clip:rect(0 0 0 0);border:0}.gv-approval-toggle.gv-approval-disapproved{color:#981225 !important}.gv-approval-toggle.gv-approval-disapproved::before{content:"\f158"}.gv-approval-toggle.gv-approval-unapproved{color:#ecaa00 !important}.gv-approval-toggle.gv-approval-unapproved::before{content:"\f159"}.gv-approval-toggle.gv-approval-loading{opacity:.7;cursor:wait !important}.gv-approval-toggle.gv-approval-loading::before{background:#f0f0f0 !important}.gv-approval-toggle::before{font-family:"dashicons";left:0;top:0;cursor:pointer;content:"\f147";width:24px;height:24px;border:1px solid #dedede;padding:4px;-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px;display:inline;font-size:24px;-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,0);-moz-box-shadow:inset 0 3px 5px rgba(0,0,0,0);box-shadow:inset 0 3px 5px rgba(0,0,0,0)}.gv-approval-toggle.selected:link::before,.gv-approval-toggle.selected:visited::before{background:#f0f0f0}.gv-approval-toggle.selected.popover:link::before{cursor:not-allowed}.gv-approval-toggle:hover::before{background:#eaeaea}.gv-approval-toggle:active::before{background:#dedede}
+#wpbody table .gv-approve-column{width:40px;text-align:center;vertical-align:top}#wpbody table th.check-column:nth-child(2),#wpbody table tbody th.column-is_starred{text-align:center}#wpbody table thead th.gv-approve-column a{height:40px;display:table-cell;vertical-align:middle;text-align:center;width:40px}#wpbody table thead th.gv-approve-column *:before{padding:0;margin:0;content:"a";display:inline-block;-webkit-font-smoothing:antialiased;font:normal 22px/1 'gravityview';vertical-align:top;color:#555}#wpbody table .toggleApproved{padding:0;margin:0;display:inline-block}#wpbody table .loading{cursor:wait}#wpbody table .toggleApproved:before{padding:0;margin:0;content:"\f158";color:#940303;display:inline-block;-webkit-font-smoothing:antialiased;font:normal 22px/1 'dashicons';height:20px;vertical-align:top}#wpbody table .toggleApproved.approved:before{content:"\f147";color:#00ac15;font-size:26px;text-indent:-4px}.rtl #wpbody table .toggleApproved.approved:before{text-align:right;text-indent:4px}#wpbody table .toggleApproved.unapproved:before{content:"\f159";color:#ecaa00;font-size:20px}.rtl #wpbody table .toggleApproved.unapproved:before{text-align:right;text-indent:4px}.gv-approval-toggle{color:#008000 !important;-webkit-box-shadow:none !important;box-shadow:none !important;text-decoration:none !important;border-bottom:none !important}.gv-approval-toggle span.screen-reader-text{position:absolute;margin:-1px;padding:0;height:1px;width:1px;overflow:hidden;clip:rect(0 0 0 0);border:0}.gv-approval-toggle.gv-approval-disapproved{color:#981225 !important}.gv-approval-toggle.gv-approval-disapproved::before{content:"\f158"}.gv-approval-toggle.gv-approval-unapproved{color:#ecaa00 !important}.gv-approval-toggle.gv-approval-unapproved::before{content:"\f159"}.gv-approval-toggle.gv-approval-loading{opacity:.7;cursor:wait !important}.gv-approval-toggle.gv-approval-loading::before{background:#f0f0f0 !important}.gv-approval-toggle::before{font-family:"dashicons";left:0;top:0;cursor:pointer;content:"\f147";width:24px;height:24px;border:1px solid #dedede;padding:4px;border-radius:2px;display:inline;font-size:24px;-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,0);box-shadow:inset 0 3px 5px rgba(0,0,0,0)}.gv-approval-toggle.selected:link::before,.gv-approval-toggle.selected:visited::before{background:#f0f0f0}.gv-approval-toggle.selected.popover:link::before{cursor:not-allowed}.gv-approval-toggle:hover::before{background:#eaeaea}.gv-approval-toggle:active::before{background:#dedede}
diff --git a/assets/css/admin-global.css b/assets/css/admin-global.css
index e0c462b78e..e68fa9d2ba 100644
--- a/assets/css/admin-global.css
+++ b/assets/css/admin-global.css
@@ -1 +1 @@
-@font-face{font-family:"gravityview";src:url("../fonts/gravityview.eot");src:url("../fonts/gravityview.eot?#iefix") format("embedded-opentype"),url("../fonts/gravityview.woff") format("woff"),url("../fonts/gravityview.ttf") format("truetype"),url("../fonts/gravityview.svg#gravityview") format("svg");font-weight:normal;font-style:normal}a.icon{text-decoration:none}[data-gv-icon]:before{font-family:"gravityview" !important;content:attr(data-gv-icon);font-style:normal !important;font-weight:normal !important;font-variant:normal !important;text-transform:none !important;speak:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.gv-icon__before,#toplevel_page_gravityview_settings .wp-menu-image:before,#adminmenu .menu-icon-gravityview div.wp-menu-image:before,#available-widgets [class*=gv_recent_entries] .widget-title:before,#available-widgets [class*=gravityview_search] .widget-title:before,[class^="gv-icon-"]:before,[class*=" gv-icon-"]:before{font-family:"gravityview" !important;font-style:normal !important;font-weight:normal !important;font-variant:normal !important;text-transform:none !important;speak:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.gv-icon-astronaut-head__before,#toplevel_page_gravityview_settings .wp-menu-image:before,#adminmenu .menu-icon-gravityview div.wp-menu-image:before,#available-widgets [class*=gv_recent_entries] .widget-title:before,#available-widgets [class*=gravityview_search] .widget-title:before,.gv-icon-astronaut-head:before{content:"\61"}.gv-icon-astronaut:before{content:"\62"}.gv-icon-datatables-icon:before{content:"\63"}.gv-icon-caret-up-down:before{content:"\64"}.gv-icon-minus-square:before{content:"\66"}.gv-icon-plus-square:before{content:"\67"}.gv-icon-level-down:before{content:"\65"}.gv-icon-sort-asc:before{content:"\68"}.gv-icon-sort-desc:before{content:"\69"}.gv-icon-number-one:before{content:"\6a"}.gv-icon-question-circle:before{content:"\6b"}.members-tab-title a[href$="type-gravityview"]{display:none !important}.members-tab-title .gv-icon-astronaut-head{font-size:20px;width:20px;line-height:20px;margin-right:6.25px;display:block;float:left}#hs-beacon iframe[style*="max-height"],#beacon-container iframe[style*="max-height"]{z-index:10010 !important}.admin-bar #hs-beacon iframe[style*="bottom: 0"],.admin-bar #beacon-container iframe[style*="bottom: 0"]{padding-top:32px}#hs-beacon iframe[data-reactid-hs=".0.0"],#beacon-container iframe[data-reactid-hs=".0.0"]{right:-5px !important;bottom:-5px !important}.rtl #hs-beacon iframe[data-reactid-hs=".0.0"],.rtl #beacon-container iframe[data-reactid-hs=".0.0"]{right:auto !important;left:-5px !important}#menu-posts-gravityview .wp-submenu .dashicons{padding:0 .2em}.wp-editor-tools #add_gravityview{width:auto}.gravitykit_page_gv-getting-started .about-wrap .feature-video iframe,.post-type-gravityview .about-wrap .feature-video iframe{width:100%;max-width:560px}.gravitykit_page_gv-getting-started .about-wrap .feature-video .button-hero,.post-type-gravityview .about-wrap .feature-video .button-hero{font-size:22px;max-width:100%;overflow:hidden;-o-text-overflow:ellipsis;text-overflow:ellipsis;height:auto}.gravitykit_page_gv-getting-started .about-wrap .feature-section.three-col .col,.post-type-gravityview .about-wrap .feature-section.three-col .col{-webkit-flex-basis:30%;-ms-flex-preferred-size:30%;flex-basis:30%;max-width:250px}.gravitykit_page_gv-getting-started .about-wrap .feature-section img,.post-type-gravityview .about-wrap .feature-section img{border:1px solid #ccc;max-width:99%}#wpwrap .gv_connected_forms .gv-icon{font-size:19px;height:19px;width:20px;display:inline-block}#wpwrap .gv_connected_forms .gv-create-view:before{content:"\f132";display:inline-block;font-weight:normal;font-size:20px;font-family:dashicons !important;line-height:20px !important;margin:0 auto;padding:0;position:relative;text-align:center;width:20px;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#wpwrap .gv_connected_forms .hidden{display:none !important}#wpwrap .gv_connected_forms .gf_submenu{min-width:150px;max-width:100%}#wpwrap .gv_connected_forms li a{width:auto}.gf-popover__button[data-url="#gravityview-group-heading"]{font-weight:500;color:#40464d;padding-top:12px;padding-bottom:6px;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;cursor:default !important}.gf-popover__button__icon:empty{display:none}.gf-popover__button[data-url="#gravityview-group-heading"]:hover{background:white;color:#40464d}.post-type-gravityview .changelog ul,.gravitykit_page_gv-changelog .changelog ul{list-style-type:square}.post-type-gravityview .changelog ul ul,.gravitykit_page_gv-changelog .changelog ul ul{list-style:circle;margin:.5em 0 .5em 1.3em}.gv-entry-creator-dropdown .select2-search__field{padding:0 4px 0 4px}.gv-entry-creator-dropdown.gf25 .select2-search__field{line-height:1.25rem;padding:.6875rem 1rem}.gv-entry-creator-dropdown.gf25.select2-dropdown--below{border-top:initial;margin-top:-8px}.gv-entry-creator-container.select2-container--default.gf25{min-height:4em}.gv-entry-creator-container.select2-container--default.gf25 .select2-selection__arrow{display:none}.gv-entry-creator-container.select2-container--default.gf25 .select2-selection__rendered{margin:-1px}.gv-fields.csv-disabled{cursor:not-allowed}.gv-fields.csv-disabled .csv-disabled-notice{display:block}.gv-fields.csv-disabled .gv-field-label,.gv-fields.csv-disabled .gv-field-controls button{color:#d7dade !important}.ui-tooltip-content .gv-items-picker-container.gv-widget-picker-container .gv-fields.csv-disabled{display:none}.gv-shortcode{position:relative}.gv-shortcode .dashicons-editor-code{color:#888;left:-1px;font-size:20px;line-height:1}html[dir=rtl] .gv-shortcode .dashicons-editor-code{left:auto;right:-1px}html[dir=rtl] .gv-shortcode .code.widefat{text-align:right}.gv-shortcode input.code{cursor:pointer}.gv-shortcode span.copied{display:none;position:absolute;top:30px;right:15px;background-color:#000;color:#FFF;padding:2px 5px;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px}.wp-list-table .gv-shortcode span.copied{top:3px;right:3px}
+@font-face{font-family:"gravityview";src:url("../fonts/gravityview.eot");src:url("../fonts/gravityview.eot?#iefix") format("embedded-opentype"),url("../fonts/gravityview.woff") format("woff"),url("../fonts/gravityview.ttf") format("truetype"),url("../fonts/gravityview.svg#gravityview") format("svg");font-weight:normal;font-style:normal}a.icon{text-decoration:none}[data-gv-icon]:before{font-family:"gravityview" !important;content:attr(data-gv-icon);font-style:normal !important;font-weight:normal !important;font-variant:normal !important;text-transform:none !important;speak:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.gv-icon__before,#toplevel_page_gravityview_settings .wp-menu-image:before,#adminmenu .menu-icon-gravityview div.wp-menu-image:before,#available-widgets [class*=gv_recent_entries] .widget-title:before,#available-widgets [class*=gravityview_search] .widget-title:before,[class^="gv-icon-"]:before,[class*=" gv-icon-"]:before{font-family:"gravityview" !important;font-style:normal !important;font-weight:normal !important;font-variant:normal !important;text-transform:none !important;speak:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.gv-icon-astronaut-head__before,#toplevel_page_gravityview_settings .wp-menu-image:before,#adminmenu .menu-icon-gravityview div.wp-menu-image:before,#available-widgets [class*=gv_recent_entries] .widget-title:before,#available-widgets [class*=gravityview_search] .widget-title:before,.gv-icon-astronaut-head:before{content:"\61"}.gv-icon-astronaut:before{content:"\62"}.gv-icon-datatables-icon:before{content:"\63"}.gv-icon-caret-up-down:before{content:"\64"}.gv-icon-minus-square:before{content:"\66"}.gv-icon-plus-square:before{content:"\67"}.gv-icon-level-down:before{content:"\65"}.gv-icon-sort-asc:before{content:"\68"}.gv-icon-sort-desc:before{content:"\69"}.gv-icon-number-one:before{content:"\6a"}.gv-icon-question-circle:before{content:"\6b"}.members-tab-title a[href$="type-gravityview"]{display:none !important}.members-tab-title .gv-icon-astronaut-head{font-size:20px;width:20px;line-height:20px;margin-right:6.25px;display:block;float:left}#hs-beacon iframe[style*="max-height"],#beacon-container iframe[style*="max-height"]{z-index:10010 !important}.admin-bar #hs-beacon iframe[style*="bottom: 0"],.admin-bar #beacon-container iframe[style*="bottom: 0"]{padding-top:32px}#hs-beacon iframe[data-reactid-hs=".0.0"],#beacon-container iframe[data-reactid-hs=".0.0"]{right:-5px !important;bottom:-5px !important}.rtl #hs-beacon iframe[data-reactid-hs=".0.0"],.rtl #beacon-container iframe[data-reactid-hs=".0.0"]{right:auto !important;left:-5px !important}#menu-posts-gravityview .wp-submenu .dashicons{padding:0 .2em}.wp-editor-tools #add_gravityview{width:auto}.gravitykit_page_gv-getting-started .about-wrap .feature-video iframe,.post-type-gravityview .about-wrap .feature-video iframe{width:100%;max-width:560px}.gravitykit_page_gv-getting-started .about-wrap .feature-video .button-hero,.post-type-gravityview .about-wrap .feature-video .button-hero{font-size:22px;max-width:100%;overflow:hidden;text-overflow:ellipsis;height:auto}.gravitykit_page_gv-getting-started .about-wrap .feature-section.three-col .col,.post-type-gravityview .about-wrap .feature-section.three-col .col{-webkit-flex-basis:30%;flex-basis:30%;max-width:250px}.gravitykit_page_gv-getting-started .about-wrap .feature-section img,.post-type-gravityview .about-wrap .feature-section img{border:1px solid #ccc;max-width:99%}#wpwrap .gv_connected_forms .gv-icon{font-size:19px;height:19px;width:20px;display:inline-block}#wpwrap .gv_connected_forms .gv-create-view:before{content:"\f132";display:inline-block;font-weight:normal;font-size:20px;font-family:dashicons !important;line-height:20px !important;margin:0 auto;padding:0;position:relative;text-align:center;width:20px;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#wpwrap .gv_connected_forms .hidden{display:none !important}#wpwrap .gv_connected_forms .gf_submenu{min-width:150px;max-width:100%}#wpwrap .gv_connected_forms li a{width:auto}.gf-popover__button[data-url="#gravityview-group-heading"]{font-weight:500;color:#40464d;padding-top:12px;padding-bottom:6px;border-radius:0;cursor:default !important}.gf-popover__button__icon:empty{display:none}.gf-popover__button[data-url="#gravityview-group-heading"]:hover{background:white;color:#40464d}.post-type-gravityview .changelog ul,.gravitykit_page_gv-changelog .changelog ul{list-style-type:square}.post-type-gravityview .changelog ul ul,.gravitykit_page_gv-changelog .changelog ul ul{list-style:circle;margin:.5em 0 .5em 1.3em}.gv-entry-creator-dropdown .select2-search__field{padding:0 4px 0 4px}.gv-entry-creator-dropdown.gf25 .select2-search__field{line-height:1.25rem;padding:.6875rem 1rem}.gv-entry-creator-dropdown.gf25.select2-dropdown--below{border-top:initial;margin-top:-8px}.gv-entry-creator-container.select2-container--default.gf25{min-height:4em}.gv-entry-creator-container.select2-container--default.gf25 .select2-selection__arrow{display:none}.gv-entry-creator-container.select2-container--default.gf25 .select2-selection__rendered{margin:-1px}.gv-fields.csv-disabled{cursor:not-allowed}.gv-fields.csv-disabled .csv-disabled-notice{display:block}.gv-fields.csv-disabled .gv-field-label,.gv-fields.csv-disabled .gv-field-controls button{color:#d7dade !important}.ui-tooltip-content .gv-items-picker-container.gv-widget-picker-container .gv-fields.csv-disabled{display:none}.gv-shortcode{position:relative}.gv-shortcode .dashicons-editor-code{color:#888;left:-1px;font-size:20px;line-height:1}html[dir=rtl] .gv-shortcode .dashicons-editor-code{left:auto;right:-1px}html[dir=rtl] .gv-shortcode .code.widefat{text-align:right}.gv-shortcode input.code{cursor:pointer}.gv-shortcode span.copied{display:none;position:absolute;top:30px;right:15px;background-color:#000;color:#FFF;padding:2px 5px;border-radius:5px}.wp-list-table .gv-shortcode span.copied{top:3px;right:3px}
diff --git a/assets/css/admin-installer.css b/assets/css/admin-installer.css
index b28fdb161c..dfff6f0506 100644
--- a/assets/css/admin-installer.css
+++ b/assets/css/admin-installer.css
@@ -1 +1 @@
-.gravityview_page_gv-admin-installer #wpwrap h1{font-size:2.7em;line-height:1.3;font-weight:300;text-align:center}.gravityview_page_gv-admin-installer #wpwrap h2{text-align:center;margin:.25em 0 2em;font-size:1.4em;line-height:1.5}.gravityview_page_gv-admin-installer .gv-admin-installer-refresh-link{position:absolute;top:10px;right:10px}.rtl .gravityview_page_gv-admin-installer .gv-admin-installer-refresh-link{right:auto;left:10px}.gravityview_page_gv-admin-installer .update-nag{display:none}.gravityview_page_gv-admin-installer #message.notice-warning{margin:0 0 2.5em;padding:10px;width:100%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-box-shadow:0 0 6px rgba(255,215,128,0.7);-moz-box-shadow:0 0 6px rgba(255,215,128,0.7);box-shadow:0 0 6px rgba(255,215,128,0.7);background-color:#fffde6;border:1px solid #e6e0a1;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px}.gravityview_page_gv-admin-installer #message.notice-warning .button-link{display:none}.gravityview_page_gv-admin-installer #message.notice-warning img{height:120px;width:auto !important}.gravityview_page_gv-admin-installer #message.notice-warning h3{font-size:150%}.gravityview_page_gv-admin-installer #message.notice-warning p{font-size:120%;font-weight:bold}.gravityview_page_gv-admin-installer #message.notice-warning a{font-weight:normal}.gv-admin-installer-container{min-height:400px;display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:flex;display:-webkit-flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:start;-webkit-align-items:flex-start;-moz-box-align:start;-ms-flex-align:start;align-items:flex-start;-webkit-align-content:space-between;-ms-flex-line-pack:justify;align-content:space-between}.gv-admin-installer-container .gv-admin-installer-section{width:100%}.gv-admin-installer-container .gv-admin-installer-section h3{font-size:1.5em}.gv-admin-installer-container:after{display:block;-webkit-box-flex:999;-webkit-flex:999 999 auto;-moz-box-flex:999;-ms-flex:999 999 auto;flex:999 999 auto}.gv-admin-installer-container .item{-webkit-box-flex:0;-webkit-flex:0 0 auto;-moz-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;margin:0 1% 20px 0;border:1px solid #d1d1d5;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;-webkit-box-shadow:0 0 6px rgba(33,36,52,0.1);-moz-box-shadow:0 0 6px rgba(33,36,52,0.1);box-shadow:0 0 6px rgba(33,36,52,0.1);width:340px;min-width:250px;max-width:100%;min-height:515px;background-color:#ffffff;position:relative}.gv-admin-installer-container .item.featured{background-color:#ffffee;border-color:#FFFBCC}.gv-admin-installer-container .addon-inner{margin:1.5em}.gv-admin-installer-container .addon-inner ul{list-style:initial;margin-right:0;margin-left:1.25em}.rtl .gv-admin-installer-container .addon-inner ul{margin-left:0;margin-right:1.25em}.gv-admin-installer-container .addon-inner div{margin-top:1em}.gv-admin-installer-container .addon-inner p{font-size:1.1em}.gv-admin-installer-container .addon-inner .thumbnail{width:100%;max-width:300px}.gv-admin-installer-container .addon-inner .status{-webkit-transition:background-color .75s;-o-transition:background-color .75s;-moz-transition:background-color .75s;transition:background-color .75s}.gv-admin-installer-container .addon-inner .inactive{background-color:#FFFBCC;padding:6px;font-weight:bold;border:1px solid #E6DB55;color:#424242;margin-bottom:12px;background-repeat:repeat-x;background-position:0 0;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.gv-admin-installer-container .addon-inner .notinstalled{background-color:#EEE;border:1px solid #DADADA;padding:6px;display:block;font-weight:bold;color:#424242;margin-bottom:12px;background-repeat:repeat-x;background-position:0 0;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.gv-admin-installer-container .addon-inner .active{background-color:#CBECA0;border:1px solid #97B48A;padding:6px;display:block;font-weight:bold;color:#2D5312;margin-bottom:12px;background-repeat:repeat-x;background-position:0 0;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.gv-admin-installer-container .addon-inner .disabled-license{cursor:not-allowed}.gv-admin-installer-container .addon-inner .spinner{display:none;visibility:visible;margin-right:0;margin-left:10px}.rtl .gv-admin-installer-container .addon-inner .spinner{margin-left:0;margin-right:10px}
+.gravityview_page_gv-admin-installer #wpwrap h1{font-size:2.7em;line-height:1.3;font-weight:300;text-align:center}.gravityview_page_gv-admin-installer #wpwrap h2{text-align:center;margin:.25em 0 2em;font-size:1.4em;line-height:1.5}.gravityview_page_gv-admin-installer .gv-admin-installer-refresh-link{position:absolute;top:10px;right:10px}.rtl .gravityview_page_gv-admin-installer .gv-admin-installer-refresh-link{right:auto;left:10px}.gravityview_page_gv-admin-installer .update-nag{display:none}.gravityview_page_gv-admin-installer #message.notice-warning{margin:0 0 2.5em;padding:10px;width:100%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-box-shadow:0 0 6px rgba(255,215,128,0.7);box-shadow:0 0 6px rgba(255,215,128,0.7);background-color:#fffde6;border:1px solid #e6e0a1;border-radius:5px}.gravityview_page_gv-admin-installer #message.notice-warning .button-link{display:none}.gravityview_page_gv-admin-installer #message.notice-warning img{height:120px;width:auto !important}.gravityview_page_gv-admin-installer #message.notice-warning h3{font-size:150%}.gravityview_page_gv-admin-installer #message.notice-warning p{font-size:120%;font-weight:bold}.gravityview_page_gv-admin-installer #message.notice-warning a{font-weight:normal}.gv-admin-installer-container{min-height:400px;display:-webkit-box;display:-moz-box;display:flex;display:-webkit-flex;-webkit-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;flex-direction:row;-webkit-box-align:start;-webkit-align-items:flex-start;-moz-box-align:start;align-items:flex-start;-webkit-align-content:space-between;align-content:space-between}.gv-admin-installer-container .gv-admin-installer-section{width:100%}.gv-admin-installer-container .gv-admin-installer-section h3{font-size:1.5em}.gv-admin-installer-container:after{display:block;-webkit-box-flex:999;-webkit-flex:999 999 auto;-moz-box-flex:999;flex:999 999 auto}.gv-admin-installer-container .item{-webkit-box-flex:0;-webkit-flex:0 0 auto;-moz-box-flex:0;flex:0 0 auto;margin:0 1% 20px 0;border:1px solid #d1d1d5;border-radius:5px;-webkit-box-shadow:0 0 6px rgba(33,36,52,0.1);box-shadow:0 0 6px rgba(33,36,52,0.1);width:340px;min-width:250px;max-width:100%;min-height:515px;background-color:#ffffff;position:relative}.gv-admin-installer-container .item.featured{background-color:#ffffee;border-color:#FFFBCC}.gv-admin-installer-container .addon-inner{margin:1.5em}.gv-admin-installer-container .addon-inner ul{list-style:initial;margin-right:0;margin-left:1.25em}.rtl .gv-admin-installer-container .addon-inner ul{margin-left:0;margin-right:1.25em}.gv-admin-installer-container .addon-inner div{margin-top:1em}.gv-admin-installer-container .addon-inner p{font-size:1.1em}.gv-admin-installer-container .addon-inner .thumbnail{width:100%;max-width:300px}.gv-admin-installer-container .addon-inner .status{-webkit-transition:background-color .75s;-moz-transition:background-color .75s;transition:background-color .75s}.gv-admin-installer-container .addon-inner .inactive{background-color:#FFFBCC;padding:6px;font-weight:bold;border:1px solid #E6DB55;color:#424242;margin-bottom:12px;background-repeat:repeat-x;background-position:0 0;border-radius:3px}.gv-admin-installer-container .addon-inner .notinstalled{background-color:#EEE;border:1px solid #DADADA;padding:6px;display:block;font-weight:bold;color:#424242;margin-bottom:12px;background-repeat:repeat-x;background-position:0 0;border-radius:3px}.gv-admin-installer-container .addon-inner .active{background-color:#CBECA0;border:1px solid #97B48A;padding:6px;display:block;font-weight:bold;color:#2D5312;margin-bottom:12px;background-repeat:repeat-x;background-position:0 0;border-radius:3px}.gv-admin-installer-container .addon-inner .disabled-license{cursor:not-allowed}.gv-admin-installer-container .addon-inner .spinner{display:none;visibility:visible;margin-right:0;margin-left:10px}.rtl .gv-admin-installer-container .addon-inner .spinner{margin-left:0;margin-right:10px}
diff --git a/assets/css/admin-metabox-placeholder.css b/assets/css/admin-metabox-placeholder.css
new file mode 100644
index 0000000000..3578144331
--- /dev/null
+++ b/assets/css/admin-metabox-placeholder.css
@@ -0,0 +1 @@
+span.gravityview-upgrade-pill{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;border-radius:6px;background-color:#FFF;padding:6px 8px;color:#a2aab2;text-transform:uppercase;font-size:10px;font-weight:700;line-height:1;position:absolute;top:14px;right:13px}span.gravityview-upgrade-pill:dir(rtl){right:auto;left:13px}span.gravityview-upgrade-pill svg{width:10px;height:10px}span.gravityview-upgrade-pill span{width:0;overflow:hidden}a.gravityview-upgrade:hover span.gravityview-upgrade-pill{color:#191e23}a.gravityview-upgrade:hover span.gravityview-upgrade-pill span{width:auto;margin-left:6px}a.gravityview-upgrade:hover span.gravityview-upgrade-pill:dir(rtl) span{margin-left:0;margin-right:6px}.gk-gravityview-placeholder-container{margin:16px;background:white;overflow:hidden;border-radius:4px;border:1px #DDDDE5 solid;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;-webkit-flex-wrap:wrap;flex-wrap:wrap}@-webkit-keyframes spinner-animation{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@-moz-keyframes spinner-animation{0%{-moz-transform:rotate(0deg);transform:rotate(0deg)}to{-moz-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes spinner-animation{0%{-webkit-transform:rotate(0deg);-moz-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(359deg);-moz-transform:rotate(359deg);transform:rotate(359deg)}}.gk-gravityview-placeholder-container .loading{display:none;width:16px;height:16px;margin:2px;-webkit-animation:spinner-animation 1s cubic-bezier(0.6, 0, 0.4, 1) infinite;-moz-animation:spinner-animation 1s cubic-bezier(0.6, 0, 0.4, 1) infinite;animation:spinner-animation 1s cubic-bezier(0.6, 0, 0.4, 1) infinite}.gk-gravityview-placeholder-container .gk-gravityview-placeholder-content{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;padding:16px}.gk-gravityview-placeholder-container .gk-gravityview-placeholder-icon{width:48px;height:48px}.gk-gravityview-placeholder-container .gk-gravityview-placeholder-learn-more{text-align:center;margin:1.5em auto;font-size:1.1em}.gk-gravityview-placeholder-container .gk-gravityview-placeholder-learn-more a{display:inline-block}.gk-gravityview-placeholder-container .gk-gravityview-placeholder-summary{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;flex:1;line-height:1.5}.gk-gravityview-placeholder-container .gk-gravityview-placeholder-summary h3{display:block;font-weight:500;vertical-align:middle;color:#191e23;font-size:16px;margin:0;padding:0}.gk-gravityview-placeholder-container .gk-gravityview-placeholder-summary .howto{font-size:14px;margin:0}.gk-gravityview-placeholder-container .gk-gravityview-placeholder-summary .howto p{margin:0 !important}.gk-gravityview-placeholder-container .gk-gravityview-placeholder-button{display:-webkit-inline-box;display:-webkit-inline-flex;display:-moz-inline-box;display:inline-flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;justify-content:center;-webkit-box-flex:0;-webkit-flex-grow:0;-moz-box-flex:0;flex-grow:0}.gk-gravityview-placeholder-container .gk-gravityview-placeholder-button.is-idle{cursor:progress;background:#8f98a1;border-color:#8f98a1}.gk-gravityview-placeholder-container .gk-gravityview-placeholder-button.is-idle .loading{display:block}.gk-gravityview-placeholder-container .gk-gravityview-placeholder-button.is-error{background:#c0461e;border-color:#c0461e}@media (min-width: 1200px){.gk-gravityview-placeholder-container.gk-gravityview-placeholder-container--inline .gk-gravityview-placeholder-icon{margin-right:16px}.gk-gravityview-placeholder-container.gk-gravityview-placeholder-container--inline .gk-gravityview-placeholder-icon:dir(rtl){margin-left:16px;margin-right:0}}.gk-gravityview-placeholder-container.gk-gravityview-placeholder-container--inline .gk-gravityview-placeholder-body{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;flex:1}@media (min-width: 1300px){.gk-gravityview-placeholder-container.gk-gravityview-placeholder-container--inline .gk-gravityview-placeholder-actions{margin-left:16px}.gk-gravityview-placeholder-container.gk-gravityview-placeholder-container--inline .gk-gravityview-placeholder-actions:dir(rtl){margin-left:0;margin-right:16px}}@media (max-width: 1299px){.gk-gravityview-placeholder-container.gk-gravityview-placeholder-container--inline .gk-gravityview-placeholder-body{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column}.gk-gravityview-placeholder-container.gk-gravityview-placeholder-container--inline .gk-gravityview-placeholder-actions{margin-top:16px}}@media (max-width: 1199px){.gk-gravityview-placeholder-container.gk-gravityview-placeholder-container--inline .gk-gravityview-placeholder-content{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;text-align:center}.gk-gravityview-placeholder-container.gk-gravityview-placeholder-container--inline .gk-gravityview-placeholder-icon{margin-bottom:16px}}.gk-gravityview-placeholder-container.gk-gravityview-placeholder-container--card{max-width:400px;margin:32px auto;width:-webkit-calc(100% - 64px);width:-moz-calc(100% - 64px);width:calc(100% - 64px)}.gk-gravityview-placeholder-container.gk-gravityview-placeholder-container--card .gk-gravityview-placeholder-header{aspect-ratio:16/9;width:100%;background-color:#FF1B67}.gk-gravityview-placeholder-container.gk-gravityview-placeholder-container--card .gk-gravityview-placeholder-content{-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;text-align:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;padding:32px 32px}.gk-gravityview-placeholder-container.gk-gravityview-placeholder-container--card .gk-gravityview-placeholder-icon{margin-bottom:24px;width:80px;height:80px}.gk-gravityview-placeholder-container.gk-gravityview-placeholder-container--card .gk-gravityview-placeholder-summary{line-height:20px}.gk-gravityview-placeholder-container.gk-gravityview-placeholder-container--card .gk-gravityview-placeholder-summary h3{margin-bottom:16px}.gk-gravityview-placeholder-container.gk-gravityview-placeholder-container--card .gk-gravityview-placeholder-summary p{margin-top:16px !important}.gk-gravityview-placeholder-container.gk-gravityview-placeholder-container--card .gk-gravityview-placeholder-actions{margin-top:36px}
diff --git a/assets/css/admin-settings.css b/assets/css/admin-settings.css
index e21a78530d..9129d56016 100644
--- a/assets/css/admin-settings.css
+++ b/assets/css/admin-settings.css
@@ -1 +1 @@
-.gravityview_page_gravityview_settings .gform-settings__navigation,.toplevel_page_gravityview_settings .gform-settings__navigation{display:none}.gravityview_page_gravityview_settings .gform-settings__wrapper,.toplevel_page_gravityview_settings .gform-settings__wrapper{grid-template-columns:none}.gravityview_page_gravityview_settings #gv-uninstall-wrapper,.toplevel_page_gravityview_settings #gv-uninstall-wrapper{margin-top:10px;clear:both;width:100%;display:none}.gravityview_page_gravityview_settings .button-danger:active,.gravityview_page_gravityview_settings .button-danger:hover,.toplevel_page_gravityview_settings .button-danger:active,.toplevel_page_gravityview_settings .button-danger:hover{border:1px solid #DD3D36;background:#DD3D36;color:#FFF;-webkit-box-shadow:inset 0 2px 5px -3px rgba(173,12,17,0.5);-moz-box-shadow:inset 0 2px 5px -3px rgba(173,12,17,0.5);box-shadow:inset 0 2px 5px -3px rgba(173,12,17,0.5);text-shadow:none !important}.gravityview_page_gravityview_settings #gaddon-setting-row-license_key th,.toplevel_page_gravityview_settings #gaddon-setting-row-license_key th{position:relative}.gravityview_page_gravityview_settings #gaddon-setting-row-license_key td,.toplevel_page_gravityview_settings #gaddon-setting-row-license_key td{vertical-align:top}.gravityview_page_gravityview_settings .edd-license-key[disabled],.toplevel_page_gravityview_settings .edd-license-key[disabled]{color:#555D66;cursor:not-allowed}.gravityview_page_gravityview_settings .gv-refresh-page,.toplevel_page_gravityview_settings .gv-refresh-page{font-weight:bold;font-size:1.1em}.gravityview_page_gravityview_settings .gv-license-details,.toplevel_page_gravityview_settings .gv-license-details{display:block;clear:both;position:relative;font-size:1.1em}.gravityview_page_gravityview_settings .gv-license-details li,.toplevel_page_gravityview_settings .gv-license-details li{margin:0}.gravityview_page_gravityview_settings .gv-license-details ul.ul-disc,.toplevel_page_gravityview_settings .gv-license-details ul.ul-disc{margin-left:0;padding-left:1.3em}.gravityview_page_gravityview_settings .gv-license-details ul.ul-disc li,.toplevel_page_gravityview_settings .gv-license-details ul.ul-disc li{padding-left:.1em;list-style:disc outside;overflow:visible}.gravityview_page_gravityview_settings .gv-license-details h3,.toplevel_page_gravityview_settings .gv-license-details h3{text-transform:uppercase;font-weight:400;font-size:1em;margin:.5em 0}.gravityview_page_gravityview_settings .gv-license-details h4,.toplevel_page_gravityview_settings .gv-license-details h4{margin:0 0 .5em 0}.gravityview_page_gravityview_settings .gv-license-details .description,.toplevel_page_gravityview_settings .gv-license-details .description{padding-top:.25em}.gravityview_page_gravityview_settings .gv-license-details .gv-access-account.text-link,.toplevel_page_gravityview_settings .gv-license-details .gv-access-account.text-link{margin-left:.33em}.gravityview_page_gravityview_settings .gform_tab_content>h3,.toplevel_page_gravityview_settings .gform_tab_content>h3{position:absolute;top:.5em;right:10px}.gravityview_page_gravityview_settings .gform-settings-header_buttons,.toplevel_page_gravityview_settings .gform-settings-header_buttons{position:relative;display:block;width:100%;height:100%;text-align:right}.gravityview_page_gravityview_settings .gv-version-info,.toplevel_page_gravityview_settings .gv-version-info{height:70px;display:inline-block;padding:1.375rem 1em 0;margin-top:20px;font-size:16px;color:white;font-weight:bold;vertical-align:middle}.gravityview_page_gravityview_settings .gv-edd-message,.toplevel_page_gravityview_settings .gv-edd-message{min-height:20px;padding:8px 19px;margin:10px 0 !important;border:1px solid;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;position:relative;display:block !important;background-color:#eeeeee;border-color:#cccccc;color:#666666}.gravityview_page_gravityview_settings .gv-edd-message.valid,.toplevel_page_gravityview_settings .gv-edd-message.valid{background-color:#c4ee91;border-color:#71af5d;color:#4d7615}.gravityview_page_gravityview_settings .gv-edd-message.error,.gravityview_page_gravityview_settings .gv-edd-message.invalid,.gravityview_page_gravityview_settings .gv-edd-message.failed,.toplevel_page_gravityview_settings .gv-edd-message.error,.toplevel_page_gravityview_settings .gv-edd-message.invalid,.toplevel_page_gravityview_settings .gv-edd-message.failed{background-color:#fba1a3;border-color:#b84f5b;color:#981225}.gravityview_page_gravityview_settings .gv-edd-message.site_inactive,.gravityview_page_gravityview_settings .gv-edd-message.deactivated,.toplevel_page_gravityview_settings .gv-edd-message.site_inactive,.toplevel_page_gravityview_settings .gv-edd-message.deactivated{background-color:#fbeba4;border-color:#d7c281;color:#958234}.gravityview_page_gravityview_settings .gv-edd-message.pending,.toplevel_page_gravityview_settings .gv-edd-message.pending{background-color:#d3e4f4;border-color:#a9b6c2;color:#5c80a1}.gravityview_page_gravityview_settings .gv-edd-message p:first-child,.toplevel_page_gravityview_settings .gv-edd-message p:first-child{margin:0;padding:2px}.gravityview_page_gravityview_settings .inline.hide:empty,.gravityview_page_gravityview_settings .gv-edd-message.hide,.toplevel_page_gravityview_settings .inline.hide:empty,.toplevel_page_gravityview_settings .gv-edd-message.hide{display:none !important}.gravityview_page_gravityview_settings .hide,.toplevel_page_gravityview_settings .hide{display:none}.gravityview_page_gravityview_settings .alignright.button-danger,.toplevel_page_gravityview_settings .alignright.button-danger{margin:10px 0 20px 0}.gravityview_page_gravityview_settings.gf-2-5,.toplevel_page_gravityview_settings.gf-2-5{background:#F6F9FC url("../images/star-chart.png") top center repeat-x;-moz-background-size:contain;background-size:contain}.gravityview_page_gravityview_settings.gf-2-5 #wpwrap,.toplevel_page_gravityview_settings.gf-2-5 #wpwrap{background:rgba(255,255,255,0.85)}.gravityview_page_gravityview_settings.gf-2-5 .gv-version-info,.toplevel_page_gravityview_settings.gf-2-5 .gv-version-info{text-align:right;color:#191e23;padding-right:0;margin-top:15px;text-shadow:#d3e4f4 0 0 2px}.gravityview_page_gravityview_settings.gf-2-5 .gv-license-details h3,.toplevel_page_gravityview_settings.gf-2-5 .gv-license-details h3{border-top:1px solid #ebebf2;font-size:1em;margin-top:20px;padding-top:20px;font-weight:500}.gravityview_page_gravityview_settings.gf-2-5 .gv-license-details ul,.toplevel_page_gravityview_settings.gf-2-5 .gv-license-details ul{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-align-content:flex-start;-ms-flex-line-pack:start;align-content:flex-start}.gravityview_page_gravityview_settings.gf-2-5 .gv-license-details ul li,.toplevel_page_gravityview_settings.gf-2-5 .gv-license-details ul li{-webkit-flex-basis:30%;-ms-flex-preferred-size:30%;flex-basis:30%;padding:5px 3% 5px 0;min-width:200px}.gravityview_page_gravityview_settings.gf-2-5 .gv-license-details ul li.license-detail--upgrade,.toplevel_page_gravityview_settings.gf-2-5 .gv-license-details ul li.license-detail--upgrade{-webkit-flex-basis:100%;-ms-flex-preferred-size:100%;flex-basis:100%;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;margin-top:1em}.gravityview_page_gravityview_settings.gf-2-5 .gv-license-details ul li.license-detail--upgrade li,.toplevel_page_gravityview_settings.gf-2-5 .gv-license-details ul li.license-detail--upgrade li{min-width:300px;max-width:100%}.gravityview_page_gravityview_settings.gf-2-5 .gv-license-details ul li.license-detail--upgrade .howto,.toplevel_page_gravityview_settings.gf-2-5 .gv-license-details ul li.license-detail--upgrade .howto{padding-top:.5em;font-size:1em;line-height:1.6}.gravityview_page_gravityview_settings.gf-2-5 .gv-license-details .gv-license-detail,.toplevel_page_gravityview_settings.gf-2-5 .gv-license-details .gv-license-detail{display:block;font-weight:bold;margin-top:.5em}.gravityview_page_gravityview_settings.gf-2-5 .gv-license-details .gv-license-detail a,.toplevel_page_gravityview_settings.gf-2-5 .gv-license-details .gv-license-detail a{font-weight:normal}.gravityview_page_gravityview_settings.gf-2-5 .gv-license-details .gv-access-account,.toplevel_page_gravityview_settings.gf-2-5 .gv-license-details .gv-access-account{max-width:100%;display:inline-block;white-space:normal;height:auto;line-height:1.2;margin-top:.5rem}.gravityview_page_gravityview_settings.gf-2-5 .gv-edd-button-wrapper,.toplevel_page_gravityview_settings.gf-2-5 .gv-edd-button-wrapper{margin:10px 0 10px 0}.gravityview_page_gravityview_settings.gf-2-5 .gv-edd-button-wrapper>input[name*="activate"],.toplevel_page_gravityview_settings.gf-2-5 .gv-edd-button-wrapper>input[name*="activate"]{margin-left:0 !important}.gravityview_page_gravityview_settings.gf-2-5 #gv-edd-status,.toplevel_page_gravityview_settings.gf-2-5 #gv-edd-status{margin-bottom:10px}.gravityview_page_gravityview_settings.gf-2-5 .gform-settings-field__edd_license .gform-settings-input__container,.toplevel_page_gravityview_settings.gf-2-5 .gform-settings-field__edd_license .gform-settings-input__container{clear:both;display:block}.gravityview_page_gravityview_settings.gf-2-5 .gform-settings-header,.toplevel_page_gravityview_settings.gf-2-5 .gform-settings-header{-moz-background-size:cover;background-size:cover;background:transparent;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;outline:none}.gravityview_page_gravityview_settings.gf-2-5 .gform-settings-header .gform-settings__wrapper,.toplevel_page_gravityview_settings.gf-2-5 .gform-settings-header .gform-settings__wrapper{background:url("../images/GravityView.svg") 16px 7px no-repeat;-moz-background-size:contain;background-size:contain;height:60px}.gravityview_page_gravityview_settings.gf-2-5 .gform-settings-header .gform-settings__wrapper img,.toplevel_page_gravityview_settings.gf-2-5 .gform-settings-header .gform-settings__wrapper img{display:none}.gravityview_page_gravityview_settings.gf-2-5 .gform-settings-field,.toplevel_page_gravityview_settings.gf-2-5 .gform-settings-field{margin-bottom:2em}.gravityview_page_gravityview_settings.gf-2-5 .gform-settings-label,.toplevel_page_gravityview_settings.gf-2-5 .gform-settings-label{font-size:1rem}.gravityview_page_gravityview_settings.gf-2-5 .gform-settings-description,.toplevel_page_gravityview_settings.gf-2-5 .gform-settings-description{font-size:.9rem}.gravityview_page_gravityview_settings.gf-2-5 .notice,.toplevel_page_gravityview_settings.gf-2-5 .notice{padding:.75em 1em .5em}.gravityview_page_gravityview_settings #gform-settings #gaddon-setting-row-gv_header,.toplevel_page_gravityview_settings #gform-settings #gaddon-setting-row-gv_header{padding:0;background:url(../images/stars.jpg) left top repeat-x}.gravityview_page_gravityview_settings #gform-settings #gaddon-setting-row-gv_header td,.toplevel_page_gravityview_settings #gform-settings #gaddon-setting-row-gv_header td{padding:0 !important;background:transparent none;height:130px;position:relative;overflow:hidden;text-align:right}.gravityview_page_gravityview_settings #gform-settings #gaddon-setting-row-gv_header td:before,.toplevel_page_gravityview_settings #gform-settings #gaddon-setting-row-gv_header td:before{content:'';display:block;position:absolute;left:0;bottom:-150px;height:263px;background:transparent url(../images/astronaut-200x263.png) -30px 0 no-repeat;margin:0;padding:10px 0 0 160px}.gravityview_page_gravityview_settings .gform_tab_group,.toplevel_page_gravityview_settings .gform_tab_group{position:relative}.gravityview_page_gravityview_settings .gform_tab_group #message,.toplevel_page_gravityview_settings .gform_tab_group #message{position:absolute;width:auto;white-space:nowrap;top:35px;left:150px;margin-bottom:10px;padding-top:5px;padding-bottom:5px;z-index:1000;opacity:.95}.gravityview_page_gravityview_settings .gform_tab_group #message p,.toplevel_page_gravityview_settings .gform_tab_group #message p{margin:0;padding:.25em 5px;font-size:16px}.gravityview_page_gravityview_settings .gform_tab_group #message p strong,.toplevel_page_gravityview_settings .gform_tab_group #message p strong{font-weight:400}.gravityview_page_gravityview_settings #gform_tab_container,.toplevel_page_gravityview_settings #gform_tab_container{margin-left:0;background-color:#fff;padding:20px 20px 0 20px}.gravityview_page_gravityview_settings #gform_tabs,.toplevel_page_gravityview_settings #gform_tabs{margin-top:0;display:none}.gravityview_page_gravityview_settings #gform-settings,.toplevel_page_gravityview_settings #gform-settings{clear:both}.gravityview_page_gravityview_settings #gform-settings tr,.toplevel_page_gravityview_settings #gform-settings tr{border-top:1px solid #E7E7E7}.gravityview_page_gravityview_settings #gform-settings tr:first-child,.toplevel_page_gravityview_settings #gform-settings tr:first-child{border-top:none}.gravityview_page_gravityview_settings #gform-settings tr:first-child td,.gravityview_page_gravityview_settings #gform-settings tr:first-child th,.toplevel_page_gravityview_settings #gform-settings tr:first-child td,.toplevel_page_gravityview_settings #gform-settings tr:first-child th{padding-top:10px !important}.gravityview_page_gravityview_settings #gform-settings .gaddon-section,.toplevel_page_gravityview_settings #gform-settings .gaddon-section{padding-top:0}.gravityview_page_gravityview_settings #gform-settings .gaddon-section>h4,.toplevel_page_gravityview_settings #gform-settings .gaddon-section>h4{color:#777;font-size:16px;font-weight:400;line-height:22px}.gravityview_page_gravityview_settings #gform-settings table:last-child>tr:first-child td,.gravityview_page_gravityview_settings #gform-settings table:last-child>tr:first-child th,.gravityview_page_gravityview_settings #gform-settings table:last-child>tr:last-child td,.gravityview_page_gravityview_settings #gform-settings table:last-child>tr:last-child th,.toplevel_page_gravityview_settings #gform-settings table:last-child>tr:first-child td,.toplevel_page_gravityview_settings #gform-settings table:last-child>tr:first-child th,.toplevel_page_gravityview_settings #gform-settings table:last-child>tr:last-child td,.toplevel_page_gravityview_settings #gform-settings table:last-child>tr:last-child th{padding-bottom:10px !important}.gravityview_page_gravityview_settings #gform-settings th,.gravityview_page_gravityview_settings #gform-settings td,.toplevel_page_gravityview_settings #gform-settings th,.toplevel_page_gravityview_settings #gform-settings td{margin:0;padding:20px 10px 20px 0;width:auto}.gravityview_page_gravityview_settings #gform-settings td,.toplevel_page_gravityview_settings #gform-settings td{width:60%}.gravityview_page_gravityview_settings #gform-settings td[colspan],.toplevel_page_gravityview_settings #gform-settings td[colspan]{width:100%}.gravityview_page_gravityview_settings #gform-settings th,.toplevel_page_gravityview_settings #gform-settings th{font-weight:bold;display:block}.gravityview_page_gravityview_settings #gform-settings label,.toplevel_page_gravityview_settings #gform-settings label{display:inline-block}.gravityview_page_gravityview_settings #gform-settings span.description,.toplevel_page_gravityview_settings #gform-settings span.description{display:block;font-style:normal;font-weight:400;color:#666}
+.gravityview_page_gravityview_settings .gform-settings__navigation,.toplevel_page_gravityview_settings .gform-settings__navigation{display:none}.gravityview_page_gravityview_settings .gform-settings__wrapper,.toplevel_page_gravityview_settings .gform-settings__wrapper{grid-template-columns:none}.gravityview_page_gravityview_settings #gv-uninstall-wrapper,.toplevel_page_gravityview_settings #gv-uninstall-wrapper{margin-top:10px;clear:both;width:100%;display:none}.gravityview_page_gravityview_settings .button-danger:active,.gravityview_page_gravityview_settings .button-danger:hover,.toplevel_page_gravityview_settings .button-danger:active,.toplevel_page_gravityview_settings .button-danger:hover{border:1px solid #DD3D36;background:#DD3D36;color:#FFF;-webkit-box-shadow:inset 0 2px 5px -3px rgba(173,12,17,0.5);box-shadow:inset 0 2px 5px -3px rgba(173,12,17,0.5);text-shadow:none !important}.gravityview_page_gravityview_settings #gaddon-setting-row-license_key th,.toplevel_page_gravityview_settings #gaddon-setting-row-license_key th{position:relative}.gravityview_page_gravityview_settings #gaddon-setting-row-license_key td,.toplevel_page_gravityview_settings #gaddon-setting-row-license_key td{vertical-align:top}.gravityview_page_gravityview_settings .edd-license-key[disabled],.toplevel_page_gravityview_settings .edd-license-key[disabled]{color:#555D66;cursor:not-allowed}.gravityview_page_gravityview_settings .gv-refresh-page,.toplevel_page_gravityview_settings .gv-refresh-page{font-weight:bold;font-size:1.1em}.gravityview_page_gravityview_settings .gv-license-details,.toplevel_page_gravityview_settings .gv-license-details{display:block;clear:both;position:relative;font-size:1.1em}.gravityview_page_gravityview_settings .gv-license-details li,.toplevel_page_gravityview_settings .gv-license-details li{margin:0}.gravityview_page_gravityview_settings .gv-license-details ul.ul-disc,.toplevel_page_gravityview_settings .gv-license-details ul.ul-disc{margin-left:0;padding-left:1.3em}.gravityview_page_gravityview_settings .gv-license-details ul.ul-disc li,.toplevel_page_gravityview_settings .gv-license-details ul.ul-disc li{padding-left:.1em;list-style:disc outside;overflow:visible}.gravityview_page_gravityview_settings .gv-license-details h3,.toplevel_page_gravityview_settings .gv-license-details h3{text-transform:uppercase;font-weight:400;font-size:1em;margin:.5em 0}.gravityview_page_gravityview_settings .gv-license-details h4,.toplevel_page_gravityview_settings .gv-license-details h4{margin:0 0 .5em 0}.gravityview_page_gravityview_settings .gv-license-details .description,.toplevel_page_gravityview_settings .gv-license-details .description{padding-top:.25em}.gravityview_page_gravityview_settings .gv-license-details .gv-access-account.text-link,.toplevel_page_gravityview_settings .gv-license-details .gv-access-account.text-link{margin-left:.33em}.gravityview_page_gravityview_settings .gform_tab_content>h3,.toplevel_page_gravityview_settings .gform_tab_content>h3{position:absolute;top:.5em;right:10px}.gravityview_page_gravityview_settings .gform-settings-header_buttons,.toplevel_page_gravityview_settings .gform-settings-header_buttons{position:relative;display:block;width:100%;height:100%;text-align:right}.gravityview_page_gravityview_settings .gv-version-info,.toplevel_page_gravityview_settings .gv-version-info{height:70px;display:inline-block;padding:1.375rem 1em 0;margin-top:20px;font-size:16px;color:white;font-weight:bold;vertical-align:middle}.gravityview_page_gravityview_settings .gv-edd-message,.toplevel_page_gravityview_settings .gv-edd-message{min-height:20px;padding:8px 19px;margin:10px 0 !important;border:1px solid;border-radius:4px;position:relative;display:block !important;background-color:#eeeeee;border-color:#cccccc;color:#666666}.gravityview_page_gravityview_settings .gv-edd-message.valid,.toplevel_page_gravityview_settings .gv-edd-message.valid{background-color:#c4ee91;border-color:#71af5d;color:#4d7615}.gravityview_page_gravityview_settings .gv-edd-message.error,.gravityview_page_gravityview_settings .gv-edd-message.invalid,.gravityview_page_gravityview_settings .gv-edd-message.failed,.toplevel_page_gravityview_settings .gv-edd-message.error,.toplevel_page_gravityview_settings .gv-edd-message.invalid,.toplevel_page_gravityview_settings .gv-edd-message.failed{background-color:#fba1a3;border-color:#b84f5b;color:#981225}.gravityview_page_gravityview_settings .gv-edd-message.site_inactive,.gravityview_page_gravityview_settings .gv-edd-message.deactivated,.toplevel_page_gravityview_settings .gv-edd-message.site_inactive,.toplevel_page_gravityview_settings .gv-edd-message.deactivated{background-color:#fbeba4;border-color:#d7c281;color:#958234}.gravityview_page_gravityview_settings .gv-edd-message.pending,.toplevel_page_gravityview_settings .gv-edd-message.pending{background-color:#d3e4f4;border-color:#a9b6c2;color:#5c80a1}.gravityview_page_gravityview_settings .gv-edd-message p:first-child,.toplevel_page_gravityview_settings .gv-edd-message p:first-child{margin:0;padding:2px}.gravityview_page_gravityview_settings .inline.hide:empty,.gravityview_page_gravityview_settings .gv-edd-message.hide,.toplevel_page_gravityview_settings .inline.hide:empty,.toplevel_page_gravityview_settings .gv-edd-message.hide{display:none !important}.gravityview_page_gravityview_settings .hide,.toplevel_page_gravityview_settings .hide{display:none}.gravityview_page_gravityview_settings .alignright.button-danger,.toplevel_page_gravityview_settings .alignright.button-danger{margin:10px 0 20px 0}.gravityview_page_gravityview_settings.gf-2-5,.toplevel_page_gravityview_settings.gf-2-5{background:#F6F9FC url("../images/star-chart.png") top center repeat-x;-webkit-background-size:contain;background-size:contain}.gravityview_page_gravityview_settings.gf-2-5 #wpwrap,.toplevel_page_gravityview_settings.gf-2-5 #wpwrap{background:rgba(255,255,255,0.85)}.gravityview_page_gravityview_settings.gf-2-5 .gv-version-info,.toplevel_page_gravityview_settings.gf-2-5 .gv-version-info{text-align:right;color:#191e23;padding-right:0;margin-top:15px;text-shadow:#d3e4f4 0 0 2px}.gravityview_page_gravityview_settings.gf-2-5 .gv-license-details h3,.toplevel_page_gravityview_settings.gf-2-5 .gv-license-details h3{border-top:1px solid #ebebf2;font-size:1em;margin-top:20px;padding-top:20px;font-weight:500}.gravityview_page_gravityview_settings.gf-2-5 .gv-license-details ul,.toplevel_page_gravityview_settings.gf-2-5 .gv-license-details ul{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap;-webkit-align-content:flex-start;align-content:flex-start}.gravityview_page_gravityview_settings.gf-2-5 .gv-license-details ul li,.toplevel_page_gravityview_settings.gf-2-5 .gv-license-details ul li{-webkit-flex-basis:30%;flex-basis:30%;padding:5px 3% 5px 0;min-width:200px}.gravityview_page_gravityview_settings.gf-2-5 .gv-license-details ul li.license-detail--upgrade,.toplevel_page_gravityview_settings.gf-2-5 .gv-license-details ul li.license-detail--upgrade{-webkit-flex-basis:100%;flex-basis:100%;-webkit-flex-shrink:0;flex-shrink:0;margin-top:1em}.gravityview_page_gravityview_settings.gf-2-5 .gv-license-details ul li.license-detail--upgrade li,.toplevel_page_gravityview_settings.gf-2-5 .gv-license-details ul li.license-detail--upgrade li{min-width:300px;max-width:100%}.gravityview_page_gravityview_settings.gf-2-5 .gv-license-details ul li.license-detail--upgrade .howto,.toplevel_page_gravityview_settings.gf-2-5 .gv-license-details ul li.license-detail--upgrade .howto{padding-top:.5em;font-size:1em;line-height:1.6}.gravityview_page_gravityview_settings.gf-2-5 .gv-license-details .gv-license-detail,.toplevel_page_gravityview_settings.gf-2-5 .gv-license-details .gv-license-detail{display:block;font-weight:bold;margin-top:.5em}.gravityview_page_gravityview_settings.gf-2-5 .gv-license-details .gv-license-detail a,.toplevel_page_gravityview_settings.gf-2-5 .gv-license-details .gv-license-detail a{font-weight:normal}.gravityview_page_gravityview_settings.gf-2-5 .gv-license-details .gv-access-account,.toplevel_page_gravityview_settings.gf-2-5 .gv-license-details .gv-access-account{max-width:100%;display:inline-block;white-space:normal;height:auto;line-height:1.2;margin-top:.5rem}.gravityview_page_gravityview_settings.gf-2-5 .gv-edd-button-wrapper,.toplevel_page_gravityview_settings.gf-2-5 .gv-edd-button-wrapper{margin:10px 0 10px 0}.gravityview_page_gravityview_settings.gf-2-5 .gv-edd-button-wrapper>input[name*="activate"],.toplevel_page_gravityview_settings.gf-2-5 .gv-edd-button-wrapper>input[name*="activate"]{margin-left:0 !important}.gravityview_page_gravityview_settings.gf-2-5 #gv-edd-status,.toplevel_page_gravityview_settings.gf-2-5 #gv-edd-status{margin-bottom:10px}.gravityview_page_gravityview_settings.gf-2-5 .gform-settings-field__edd_license .gform-settings-input__container,.toplevel_page_gravityview_settings.gf-2-5 .gform-settings-field__edd_license .gform-settings-input__container{clear:both;display:block}.gravityview_page_gravityview_settings.gf-2-5 .gform-settings-header,.toplevel_page_gravityview_settings.gf-2-5 .gform-settings-header{-webkit-background-size:cover;background-size:cover;background:transparent;-webkit-box-shadow:none;box-shadow:none;outline:none}.gravityview_page_gravityview_settings.gf-2-5 .gform-settings-header .gform-settings__wrapper,.toplevel_page_gravityview_settings.gf-2-5 .gform-settings-header .gform-settings__wrapper{background:url("../images/GravityView.svg") 16px 7px no-repeat;-webkit-background-size:contain;background-size:contain;height:60px}.gravityview_page_gravityview_settings.gf-2-5 .gform-settings-header .gform-settings__wrapper img,.toplevel_page_gravityview_settings.gf-2-5 .gform-settings-header .gform-settings__wrapper img{display:none}.gravityview_page_gravityview_settings.gf-2-5 .gform-settings-field,.toplevel_page_gravityview_settings.gf-2-5 .gform-settings-field{margin-bottom:2em}.gravityview_page_gravityview_settings.gf-2-5 .gform-settings-label,.toplevel_page_gravityview_settings.gf-2-5 .gform-settings-label{font-size:1rem}.gravityview_page_gravityview_settings.gf-2-5 .gform-settings-description,.toplevel_page_gravityview_settings.gf-2-5 .gform-settings-description{font-size:.9rem}.gravityview_page_gravityview_settings.gf-2-5 .notice,.toplevel_page_gravityview_settings.gf-2-5 .notice{padding:.75em 1em .5em}.gravityview_page_gravityview_settings #gform-settings #gaddon-setting-row-gv_header,.toplevel_page_gravityview_settings #gform-settings #gaddon-setting-row-gv_header{padding:0;background:url(../images/stars.jpg) left top repeat-x}.gravityview_page_gravityview_settings #gform-settings #gaddon-setting-row-gv_header td,.toplevel_page_gravityview_settings #gform-settings #gaddon-setting-row-gv_header td{padding:0 !important;background:transparent none;height:130px;position:relative;overflow:hidden;text-align:right}.gravityview_page_gravityview_settings #gform-settings #gaddon-setting-row-gv_header td:before,.toplevel_page_gravityview_settings #gform-settings #gaddon-setting-row-gv_header td:before{content:'';display:block;position:absolute;left:0;bottom:-150px;height:263px;background:transparent url(../images/astronaut-200x263.png) -30px 0 no-repeat;margin:0;padding:10px 0 0 160px}.gravityview_page_gravityview_settings .gform_tab_group,.toplevel_page_gravityview_settings .gform_tab_group{position:relative}.gravityview_page_gravityview_settings .gform_tab_group #message,.toplevel_page_gravityview_settings .gform_tab_group #message{position:absolute;width:auto;white-space:nowrap;top:35px;left:150px;margin-bottom:10px;padding-top:5px;padding-bottom:5px;z-index:1000;opacity:.95}.gravityview_page_gravityview_settings .gform_tab_group #message p,.toplevel_page_gravityview_settings .gform_tab_group #message p{margin:0;padding:.25em 5px;font-size:16px}.gravityview_page_gravityview_settings .gform_tab_group #message p strong,.toplevel_page_gravityview_settings .gform_tab_group #message p strong{font-weight:400}.gravityview_page_gravityview_settings #gform_tab_container,.toplevel_page_gravityview_settings #gform_tab_container{margin-left:0;background-color:#fff;padding:20px 20px 0 20px}.gravityview_page_gravityview_settings #gform_tabs,.toplevel_page_gravityview_settings #gform_tabs{margin-top:0;display:none}.gravityview_page_gravityview_settings #gform-settings,.toplevel_page_gravityview_settings #gform-settings{clear:both}.gravityview_page_gravityview_settings #gform-settings tr,.toplevel_page_gravityview_settings #gform-settings tr{border-top:1px solid #E7E7E7}.gravityview_page_gravityview_settings #gform-settings tr:first-child,.toplevel_page_gravityview_settings #gform-settings tr:first-child{border-top:none}.gravityview_page_gravityview_settings #gform-settings tr:first-child td,.gravityview_page_gravityview_settings #gform-settings tr:first-child th,.toplevel_page_gravityview_settings #gform-settings tr:first-child td,.toplevel_page_gravityview_settings #gform-settings tr:first-child th{padding-top:10px !important}.gravityview_page_gravityview_settings #gform-settings .gaddon-section,.toplevel_page_gravityview_settings #gform-settings .gaddon-section{padding-top:0}.gravityview_page_gravityview_settings #gform-settings .gaddon-section>h4,.toplevel_page_gravityview_settings #gform-settings .gaddon-section>h4{color:#777;font-size:16px;font-weight:400;line-height:22px}.gravityview_page_gravityview_settings #gform-settings table:last-child>tr:first-child td,.gravityview_page_gravityview_settings #gform-settings table:last-child>tr:first-child th,.gravityview_page_gravityview_settings #gform-settings table:last-child>tr:last-child td,.gravityview_page_gravityview_settings #gform-settings table:last-child>tr:last-child th,.toplevel_page_gravityview_settings #gform-settings table:last-child>tr:first-child td,.toplevel_page_gravityview_settings #gform-settings table:last-child>tr:first-child th,.toplevel_page_gravityview_settings #gform-settings table:last-child>tr:last-child td,.toplevel_page_gravityview_settings #gform-settings table:last-child>tr:last-child th{padding-bottom:10px !important}.gravityview_page_gravityview_settings #gform-settings th,.gravityview_page_gravityview_settings #gform-settings td,.toplevel_page_gravityview_settings #gform-settings th,.toplevel_page_gravityview_settings #gform-settings td{margin:0;padding:20px 10px 20px 0;width:auto}.gravityview_page_gravityview_settings #gform-settings td,.toplevel_page_gravityview_settings #gform-settings td{width:60%}.gravityview_page_gravityview_settings #gform-settings td[colspan],.toplevel_page_gravityview_settings #gform-settings td[colspan]{width:100%}.gravityview_page_gravityview_settings #gform-settings th,.toplevel_page_gravityview_settings #gform-settings th{font-weight:bold;display:block}.gravityview_page_gravityview_settings #gform-settings label,.toplevel_page_gravityview_settings #gform-settings label{display:inline-block}.gravityview_page_gravityview_settings #gform-settings span.description,.toplevel_page_gravityview_settings #gform-settings span.description{display:block;font-style:normal;font-weight:400;color:#666}
diff --git a/assets/css/admin-views.css b/assets/css/admin-views.css
index 12833d100e..9c22239e18 100644
--- a/assets/css/admin-views.css
+++ b/assets/css/admin-views.css
@@ -1 +1 @@
-.widgets-php .gv-overlay{display:none}#gv-widget-search-settings-link{display:none;text-align:center;font-size:110%}#gv-widget-search-settings-link .dashicons{margin-right:5px;line-height:20px !important;height:20px !important;font-size:20px !important}#gv-widget-search-settings-link a{text-decoration:none;text-align:center}.gv_tooltip,.post-type-gravityview .gf_tooltip{font-size:0.001px;background:transparent;display:inline-block;text-align:center;-webkit-border-radius:100px;-moz-border-radius:100px;border-radius:100px;padding:.2rem;margin:0 2px 0 0;height:16px;width:16px;text-decoration:none;color:#424242;zoom:1;filter:alpha(opacity=50);opacity:0.5;border:none;cursor:help}.gv_tooltip:before,.post-type-gravityview .gf_tooltip:before{display:inline-block;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font:normal normal normal 14px/1 'gravityview';content:"\6b"}.rtl .gv_tooltip,.rtl .post-type-gravityview .gf_tooltip{margin:0 0 0 2px}body .ui-tooltip{padding:0;position:absolute;width:460px;max-width:100%;z-index:999999 !important;background:white;border:1px solid #e2e4e7;-webkit-box-shadow:0 3px 30px rgba(25,30,35,0.1);-moz-box-shadow:0 3px 30px rgba(25,30,35,0.1);box-shadow:0 3px 30px rgba(25,30,35,0.1);font-size:1em;overflow-y:hidden}body .ui-tooltip:has(.gv-widget-picker-container){width:640px}body .ui-tooltip br{display:none}* html .ui-tooltip{background-image:none}.ui-tooltip-content{padding:20px;color:#40464d;max-height:500px;overflow-y:auto;position:relative}.ui-tooltip-content h6{font-size:17px;color:#40464d}.ui-tooltip-content p{font-size:14px}.gravityview-item-picker-tooltip .ui-tooltip-content{padding:0;overflow-x:hidden}.ui-tooltip-content:after{content:"";display:table;clear:both}.ui-tooltip-content .close{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}.rtl .ui-tooltip-content .close{right:-100000px;left:auto}.ui-tooltip-content .gv-field-controls,.ui-tooltip-content .gv-add-field-before,.ui-tooltip-content .gv-field-duplicate{display:none}.ui-tooltip-content div[role=listbox]{padding:8px;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-flow:row wrap;-moz-box-orient:horizontal;-moz-box-direction:normal;-ms-flex-flow:row wrap;flex-flow:row wrap;-webkit-justify-content:space-around;-ms-flex-pack:distribute;justify-content:space-around}.ui-tooltip-content [data-cols="2"] .gv-fields{width:50%}.ui-tooltip-content .gv-fields{background:transparent;border:1px solid white;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;padding:.5em .75em;margin-bottom:10px;width:50%}.ui-tooltip-content .gv-fields.trigger--hover,.ui-tooltip-content .gv-fields:hover{border:1px solid #7e8993;color:#191e23}.ui-tooltip-content .gv-fields.trigger--active,.ui-tooltip-content .gv-fields:active{border-color:#32373C;background:rgba(210,224,235,0.7)}.ui-tooltip-content .gv-fields h5{float:none;width:100%;font-weight:normal}.ui-tooltip-content .gv-fields .gv-field-info{display:block;font-weight:normal;color:#999;text-shadow:none;margin-top:.5rem}.ui-tooltip-content .gv-fields .gv-field-info span:after{content:", "}.ui-tooltip-content .gv-fields .gv-field-label{display:block;width:100%;margin-bottom:0}.ui-tooltip-content .gv-fields .dashicons,.ui-tooltip-content .gv-fields .gform-icon,.ui-tooltip-content .gv-fields .material-icons{display:table-cell;margin:0 auto 10px;font-size:24px;width:24px;height:24px}.ui-tooltip-content .gv-fields[data-fieldid="all-fields"]{width:100%;padding-left:12px !important}.rtl .ui-tooltip-content .gv-fields[data-fieldid="all-fields"]{padding-right:12px !important;padding-left:0 !important}.ui-tooltip-content .gv-items-picker-container .gv-fields{padding:16px 12px}.ui-tooltip-content .gv-items-picker-container .gv-fields *{cursor:pointer !important}.ui-tooltip-content .gv-items-picker-container .dashicons,.ui-tooltip-content .gv-items-picker-container .gform-icon,.ui-tooltip-content .gv-items-picker-container .gv-icon{display:inline-block;margin:0 .2em 0 0;color:#6c7781;width:.9em}.rtl .ui-tooltip-content .gv-items-picker-container .dashicons,.rtl .ui-tooltip-content .gv-items-picker-container .gform-icon,.rtl .ui-tooltip-content .gv-items-picker-container .gv-icon{margin:0 0 0 .2em}.ui-tooltip-content .gv-items-picker-container .dashicons.background-icon,.ui-tooltip-content .gv-items-picker-container .gform-icon.background-icon,.ui-tooltip-content .gv-items-picker-container .gv-icon.background-icon{-webkit-transition:opacity 0.1s ease-in;-o-transition:opacity 0.1s ease-in;-moz-transition:opacity 0.1s ease-in;transition:opacity 0.1s ease-in;background-repeat:no-repeat !important;-moz-background-size:contain;background-size:contain;background-position:center center;opacity:.566}.ui-tooltip-content .gv-items-picker-container .gv-fields.trigger--hover .dashicons,.ui-tooltip-content .gv-items-picker-container .gv-fields.trigger--hover .gv-icon,.ui-tooltip-content .gv-items-picker-container .gv-fields:hover .dashicons,.ui-tooltip-content .gv-items-picker-container .gv-fields:hover .gv-icon{color:#40464d}.ui-tooltip-content .gv-items-picker-container .gv-fields.trigger--hover .dashicons.background-icon,.ui-tooltip-content .gv-items-picker-container .gv-fields.trigger--hover .gv-icon.background-icon,.ui-tooltip-content .gv-items-picker-container .gv-fields:hover .dashicons.background-icon,.ui-tooltip-content .gv-items-picker-container .gv-fields:hover .gv-icon.background-icon{-webkit-transition:opacity 0.1s ease-in;-o-transition:opacity 0.1s ease-in;-moz-transition:opacity 0.1s ease-in;transition:opacity 0.1s ease-in;opacity:.766}.ui-tooltip-content .gv-items-picker-container[data-layout="list"] .gv-field-label-text-container{display:inline-block;display:-webkit-inline-box;display:-webkit-inline-flex;display:-moz-inline-box;display:-ms-inline-flexbox;display:inline-flex;white-space:nowrap;max-width:100%;overflow:hidden;-o-text-overflow:ellipsis;text-overflow:ellipsis}.ui-tooltip-content .gv-items-picker-container[data-layout="grid"] .gv-field-label-text-container{max-width:80%}.ui-tooltip-content .gv-items-picker-container[data-layout="list"] .gv-fields.gv-child-field{padding-top:3px;padding-bottom:4px}.ui-tooltip-content .gv-items-picker-container .gv-child-field .gv-icon-level-down{display:inline-block;position:relative;top:.1em}.ui-tooltip-content .gv-items-picker-container[data-layout="list"] .gv-fields{width:100%;min-height:36px;font-size:13px;padding:7px 12px 8px 48px;margin:0;line-height:24px}.rtl .ui-tooltip-content .gv-items-picker-container[data-layout="list"] .gv-fields{padding:7px 48px 8px 12px}.ui-tooltip-content .gv-items-picker-container[data-layout="list"] .gv-fields *{text-align:left}.rtl .ui-tooltip-content .gv-items-picker-container[data-layout="list"] .gv-fields *{text-align:right}.ui-tooltip-content .gv-items-picker-container[data-layout="list"] .gform-icon,.ui-tooltip-content .gv-items-picker-container[data-layout="list"] .dashicons{display:inline-block;margin:0 8px 0 -36px}.rtl .ui-tooltip-content .gv-items-picker-container[data-layout="list"] .gform-icon,.rtl .ui-tooltip-content .gv-items-picker-container[data-layout="list"] .dashicons{margin:0 -36px 0 8px}.ui-tooltip-content .gv-items-picker-container[data-layout="list"] .gv-field-info{display:none}.ui-tooltip-content .gv-items-picker-container.gv-widget-picker-container .gv-icon,.ui-tooltip-content .gv-items-picker-container.gv-widget-picker-container .gform-icon,.ui-tooltip-content .gv-items-picker-container.gv-widget-picker-container .dashicons{padding:17px;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;background-color:#f6f7f8;-moz-background-size:24px !important;background-size:24px !important;background-position:center center;display:table-cell;float:left;font-size:24px !important;width:24px !important;height:24px !important;line-height:24px !important;margin:0 10px 6px 0 !important}.ui-tooltip-content .gv-items-picker-container.gv-widget-picker-container .gv-fields{display:block;width:50%;padding:16px 12px;line-height:1.25em}.ui-tooltip-content .gv-items-picker-container.gv-widget-picker-container .gv-fields h5{font-weight:500;color:#23282d}.ui-tooltip-content .gv-items-picker-container.gv-widget-picker-container .gv-field-info{margin:.25em 0 0 0;display:table-row;color:#6c7781}.ui-tooltip-content [data-fieldid="all-fields"] *{text-align:center !important}.ui-tooltip-content .gv-field-filter-form{z-index:10000;position:-webkit-sticky;position:sticky;top:0;width:460px;background:#f6f7f8;margin:0;padding:16px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;border-bottom:1px solid #e2e8f0;background-color:#fdfdff;-webkit-border-bottom-left-radius:6px;-moz-border-radius-bottomleft:6px;border-bottom-left-radius:6px;-webkit-border-bottom-right-radius:6px;-moz-border-radius-bottomright:6px;border-bottom-right-radius:6px}.rtl .ui-tooltip-content .gv-field-filter-form{text-align:right}.ui-tooltip-content .gv-field-filter-form input.gv-field-filter{top:0;left:0;width:75%;height:2.5em;padding-left:30px;display:inline-block;line-height:1em}.ui-tooltip-content .gv-field-filter-form input.gv-field-filter::-webkit-input-placeholder{line-height:2.5em}.ui-tooltip-content .gv-field-filter-form input.gv-field-filter:-moz-placeholder{line-height:2.5em}.ui-tooltip-content .gv-field-filter-form input.gv-field-filter::-moz-placeholder{line-height:2.5em}.ui-tooltip-content .gv-field-filter-form input.gv-field-filter:-ms-input-placeholder{line-height:2.5em}.ui-tooltip-content .gv-field-filter-form input.gv-field-filter::-ms-input-placeholder{line-height:2.5em}.ui-tooltip-content .gv-field-filter-form input.gv-field-filter:-moz-placeholder-shown{line-height:2.5em}.ui-tooltip-content .gv-field-filter-form input.gv-field-filter:-ms-input-placeholder{line-height:2.5em}.ui-tooltip-content .gv-field-filter-form input.gv-field-filter::placeholder,.ui-tooltip-content .gv-field-filter-form input.gv-field-filter:placeholder-shown{line-height:2.5em}.rtl .ui-tooltip-content .gv-field-filter-form input.gv-field-filter{text-align:right;padding-left:8px;padding-right:30px;left:auto;right:0}.ui-tooltip-content .gv-field-filter-form:before{font-family:Dashicons, sans-serif;content:"\f179";display:block;height:26px;width:26px;margin-left:3px;line-height:35px;font-size:26px;position:absolute;color:#ccd0d4}.rtl .ui-tooltip-content .gv-field-filter-form:before{left:auto;margin-left:auto;margin-right:3px}.ui-tooltip-content .gv-field-filter-form .button-group{float:right;height:35px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.rtl .ui-tooltip-content .gv-field-filter-form .button-group{float:left}.ui-tooltip-content .gv-field-filter-form span[role=button]{display:inline-block;cursor:pointer;margin:0;border-color:#7e8993;color:#8f98a1;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;height:35px}.ui-tooltip-content .gv-field-filter-form span[role=button]:first-child{border-right:0}.ui-tooltip-content .gv-field-filter-form span[role=button] .gform-icon,.ui-tooltip-content .gv-field-filter-form span[role=button] .dashicons{line-height:35px}.ui-tooltip-content .gv-field-filter-form span[role=button]:hover{background:rgba(210,224,235,0.2)}.ui-tooltip-content .gv-field-filter-form span[role=button].active{background:rgba(210,224,235,0.6);color:#40464D;border-color:#7e8993}.ui-tooltip-content .gv-no-results{text-align:center;font-size:16px;font-style:italic;padding:0 24px 32px 24px;margin:1em 0;vertical-align:top}.top .ui-tooltip-content::after{bottom:-14px;left:48%;border-color:#999 transparent;border-width:10px 10px 0}#gravityview_settings{padding:0;display:none}#gravityview_settings .gform-field-filter{clear:both;padding:.5em 0 0}#gravityview_settings .inside{padding:0;margin:0;background:#fff;*zoom:1}#gravityview_settings .inside:before,#gravityview_settings .inside:after{content:" ";display:table}#gravityview_settings .inside:after{clear:both}#gravityview_settings ul.ui-tabs-nav{line-height:1em;float:left;width:30%;max-width:20em;margin:0;position:relative;padding:0 0 30px;background-color:#fff;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.rtl #gravityview_settings ul.ui-tabs-nav{float:right}#side-sortables #gravityview_settings ul.ui-tabs-nav{width:100%;padding-bottom:0;border:none}#gravityview_settings ul.ui-tabs-nav li{display:block;padding:0;margin:0;top:0;width:100%}#gravityview_settings ul.ui-tabs-nav li.ui-state-disabled{display:none}#gravityview_settings ul.ui-tabs-nav li a{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:13px;line-height:24px !important;margin:0;display:block;width:100%;text-decoration:none;border:none;outline:none;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;border-bottom:1px solid rgba(210,224,235,0.45);color:#40464d;background:none;-webkit-transition-duration:0s;-moz-transition-duration:0s;-o-transition-duration:0s;transition-duration:0s;-o-text-overflow:ellipsis;text-overflow:ellipsis;overflow-x:hidden}#gravityview_settings ul.ui-tabs-nav li:first-child a{border-top:0 !important}#gravityview_settings ul.ui-tabs-nav li.ui-state-hover a{background-color:rgba(210,224,235,0.2);color:#32373c}#gravityview_settings ul.ui-tabs-nav li.ui-state-active a{position:relative;background-color:rgba(210,224,235,0.45);-webkit-box-shadow:0 1px 2px rgba(215,218,222,0.5);-moz-box-shadow:0 1px 2px rgba(215,218,222,0.5);box-shadow:0 1px 2px rgba(215,218,222,0.5);color:#191e23}#gravityview_settings #gravityview-metabox-content-container{background:transparent;float:left;width:100%;border-left:1px solid #eee;padding-left:20em;padding-left:-webkit-calc( min( 30%, 20em ));padding-left:-moz-calc( min( 30%, 20em ));padding-left:calc( min( 30%, 20em ));margin-left:-20em;margin-left:-webkit-calc( min( 30%, 20em ) * -1);margin-left:-moz-calc( min( 30%, 20em ) * -1);margin-left:calc( min( 30%, 20em ) * -1);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.rtl #gravityview_settings #gravityview-metabox-content-container{float:right;border-left:none;border-right:1px solid #eee}.rtl #gravityview_settings #gravityview-metabox-content-container{padding-left:0;margin-left:0;padding-right:20em;padding-right:-webkit-calc(min(30%, 20em));padding-right:-moz-calc(min(30%, 20em));padding-right:calc(min(30%, 20em));margin-right:-20em;margin-right:-webkit-calc(min(30%, 20em) * -1);margin-right:-moz-calc(min(30%, 20em) * -1);margin-right:calc(min(30%, 20em) * -1)}#side-sortables #gravityview_settings #gravityview-metabox-content-container{width:100%}#side-sortables #gravityview_settings #gravityview-metabox-content-container th,#side-sortables #gravityview_settings #gravityview-metabox-content-container td{*zoom:1;display:block;padding:10px 10px 3px}#side-sortables #gravityview_settings #gravityview-metabox-content-container th:before,#side-sortables #gravityview_settings #gravityview-metabox-content-container th:after,#side-sortables #gravityview_settings #gravityview-metabox-content-container td:before,#side-sortables #gravityview_settings #gravityview-metabox-content-container td:after{content:" ";display:table}#side-sortables #gravityview_settings #gravityview-metabox-content-container th:after,#side-sortables #gravityview_settings #gravityview-metabox-content-container td:after{clear:both}.rtl #side-sortables #gravityview_settings #gravityview-metabox-content-container th,.rtl #side-sortables #gravityview_settings #gravityview-metabox-content-container td{padding:10px 0 3px 10px}#gravityview_settings #gravityview-metabox-content-container .form-table{margin-top:0;padding-top:0}#gravityview_settings #gravityview-metabox-content-container .form-table caption{text-align:left;font-size:14px;padding:8px 10px;margin:0;line-height:1.4;font-weight:600}.rtl #gravityview_settings #gravityview-metabox-content-container .form-table caption{text-align:right}#gravityview_settings #gravityview-metabox-content-container .form-table label .howto{margin-top:5px;white-space:normal}#gravityview_settings #gravityview-metabox-content-container .ui-tabs-panel{*zoom:1;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:0;border:none}#gravityview_settings #gravityview-metabox-content-container .ui-tabs-panel:before,#gravityview_settings #gravityview-metabox-content-container .ui-tabs-panel:after{content:" ";display:table}#gravityview_settings #gravityview-metabox-content-container .ui-tabs-panel:after{clear:both}#side-sortables #gravityview_settings #gravityview-metabox-content-container .ui-tabs-panel{margin-top:1px;border-top:2px solid #ccc}#gravityview_settings #gravityview-metabox-content-container .ui-tabs-panel p{margin:9px 0}#gravityview_settings #gravityview-metabox-content-container .ui-tabs-panel p.form-field,#gravityview_settings #gravityview-metabox-content-container .ui-tabs-panel fieldset.form-field{padding:5px 20px 5px 162px !important}.rtl #gravityview_settings #gravityview-metabox-content-container .ui-tabs-panel p.form-field,.rtl #gravityview_settings #gravityview-metabox-content-container .ui-tabs-panel fieldset.form-field{padding:5px 162px 5px 20px !important}#gravityview_settings #gravityview-metabox-content-container .ui-tabs-panel .description{padding:0;margin:0 0 0 7px;clear:none;display:inline}.rtl #gravityview_settings #gravityview-metabox-content-container .ui-tabs-panel .description{margin:0 7px 0 0}#gravityview_settings #gravityview-metabox-content-container .ui-tabs-panel div+input{margin-top:5px}#gravityview_settings #gravityview-metabox-content-container .ui-tabs-panel textarea,#gravityview_settings #gravityview-metabox-content-container .ui-tabs-panel input,#gravityview_settings #gravityview-metabox-content-container .ui-tabs-panel select{margin:0}#gravityview_settings #gravityview-metabox-content-container .ui-tabs-panel textarea[type="checkbox"],#gravityview_settings #gravityview-metabox-content-container .ui-tabs-panel input[type="checkbox"],#gravityview_settings #gravityview-metabox-content-container .ui-tabs-panel select[type="checkbox"]{margin-top:-4px}#gravityview_settings #gravityview-metabox-content-container .ui-tabs-panel textarea::-webkit-input-placeholder, #gravityview_settings #gravityview-metabox-content-container .ui-tabs-panel input::-webkit-input-placeholder, #gravityview_settings #gravityview-metabox-content-container .ui-tabs-panel select::-webkit-input-placeholder{color:#8F98A1}#gravityview_settings #gravityview-metabox-content-container .ui-tabs-panel textarea:-moz-placeholder, #gravityview_settings #gravityview-metabox-content-container .ui-tabs-panel input:-moz-placeholder, #gravityview_settings #gravityview-metabox-content-container .ui-tabs-panel select:-moz-placeholder{color:#8F98A1}#gravityview_settings #gravityview-metabox-content-container .ui-tabs-panel textarea::-moz-placeholder, #gravityview_settings #gravityview-metabox-content-container .ui-tabs-panel input::-moz-placeholder, #gravityview_settings #gravityview-metabox-content-container .ui-tabs-panel select::-moz-placeholder{color:#8F98A1}#gravityview_settings #gravityview-metabox-content-container .ui-tabs-panel textarea:-ms-input-placeholder, #gravityview_settings #gravityview-metabox-content-container .ui-tabs-panel input:-ms-input-placeholder, #gravityview_settings #gravityview-metabox-content-container .ui-tabs-panel select:-ms-input-placeholder{color:#8F98A1}#gravityview_settings #gravityview-metabox-content-container .ui-tabs-panel textarea::-ms-input-placeholder, #gravityview_settings #gravityview-metabox-content-container .ui-tabs-panel input::-ms-input-placeholder, #gravityview_settings #gravityview-metabox-content-container .ui-tabs-panel select::-ms-input-placeholder{color:#8F98A1}#gravityview_settings #gravityview-metabox-content-container .ui-tabs-panel textarea::placeholder,#gravityview_settings #gravityview-metabox-content-container .ui-tabs-panel input::placeholder,#gravityview_settings #gravityview-metabox-content-container .ui-tabs-panel select::placeholder{color:#8F98A1}#gravityview_settings #gravityview-metabox-content-container .ui-tabs-panel textarea{vertical-align:top;height:3.5em;line-height:1.5em}#gravityview_settings #gravityview-metabox-content-container .ui-tabs-panel textarea[rows]{height:auto}#gravityview_settings #gravityview-metabox-content-container .ui-tabs-panel input.button{width:auto;margin-left:8px}.rtl #gravityview_settings #gravityview-metabox-content-container .ui-tabs-panel input.button{margin-left:0;margin-right:8px}:root{--bs-datepicker: 0 0.125rem 0.75rem rgba(28, 31, 63, 0.09);--bs-popup: 0 0 1px rgba(18, 25, 97, 0.24), 0 24px 24px rgba(18, 25, 97, 0.03), 0 2px 2px rgba(18, 25, 97, 0.03), 0 4px 4px rgba(18, 25, 97, 0.03), 0 8px 8px rgba(18, 25, 97, 0.03), 0 16px 16px rgba(18, 25, 97, 0.03);--bs-focus-light: 0 0 0 1px var(--c-focus);--bs-focus: 0 0 0 2px var(--c-focus);--bs-focus-sm: 0 1px 2px rgba(0, 0, 0, 0.05), 0 0 0 2px var(--c-white-lilac);--bs-button: 0 1px 2px rgba(0, 0, 0, 0.05);--bs-small: var(--bs-datepicker);--bs-input-focus: 0 0.125rem 0.0675rem rgba(28, 31, 63, 0.0634624), 0 0 0 2px var(--c-focus);--bs-input-hover: 0 0.25rem 0.25rem rgba(18, 25, 97, 0.0405344);--bs-outline-light: 0 2px 2px rgba(58, 58, 87, 0.0596411);--bs-outline-light-hover: 0 4px 2px rgba(58, 58, 87, 0.1);--bs-outline-light-hover-alt: 0 2px 2px rgba(58, 58, 87, 0.0796);--c-white: #fff;--c-black: #000;--c-titan-white: #fdfdff;--c-zircon: #fbfdff;--c-light-blue: #f6f9fc;--c-comet: #5b5e80;--c-blue-haze: #c3c5db;--c-white-lilac: #ecedf8;--c-white-iris: #f4f5fb;--c-snuff: #d5d7e9;--c-santas: #9b9db8;--c-amethyst-smoke: #9092b2;--c-gravity-blue: #3e7da6;--c-primary-light: #3985b7;--c-chathams: #0f3d6c;--c-orange: #f15a2b;--c-green: #22a753;--c-hunter: #276a52;--c-tara: #e1f6ed;--c-emerald: #57c091;--c-red: #dd301d;--c-background-red: #feefef;--c-blue-ribbon: #175cff;--c-yellow: #ffbe03;--c-warning: #a16938;--c-port: #242748;--c-port-dark: #1c1f3f;--c-spindle: #bed8ed;--c-placeholder: var(--c-comet);--c-border: var(--c-amethyst-smoke);--c-button-disabled: #639cc1;--c-focus: var(--c-spindle);--c-icon: var(--c-amethyst-smoke);--c-text: var(--c-port);--c-disabled: var(--c-white-iris);--c-error: var(--c-red);--c-button: var(--c-gravity-blue);--h-editor-accordion-toggles: 3.375rem;--gform-icon--zoho: "\e977";--gform-icon--zapier: "\e976";--gform-icon--webhooks: "\e975";--gform-icon--warning-amber: "\e973";--gform-icon--warning: "\e974";--gform-icon--vote: "\e972";--gform-icon--videopipe: "\e971";--gform-icon--verified: "\e970";--gform-icon--user: "\e97d";--gform-icon--upload: "\e96f";--gform-icon--twilio: "\e96e";--gform-icon--trello: "\e96d";--gform-icon--trash: "\e985";--gform-icon--total: "\e96c";--gform-icon--tools: "\e97f";--gform-icon--title: "\e96b";--gform-icon--time: "\e96a";--gform-icon--tags: "\e969";--gform-icon--survey: "\e968";--gform-icon--style: "\e967";--gform-icon--stripe: "\e966";--gform-icon--st-plus: "\e951";--gform-icon--st-circle: "\e94a";--gform-icon--square: "\e965";--gform-icon--slack: "\e964";--gform-icon--single-line-text: "\e963";--gform-icon--signature: "\e962";--gform-icon--shipping: "\e961";--gform-icon--settings: "\e986";--gform-icon--sendgrid: "\e960";--gform-icon--section: "\e95f";--gform-icon--search: "\e95e";--gform-icon--renew: "\e980";--gform-icon--recaptcha: "\e95d";--gform-icon--radio-button: "\e95c";--gform-icon--quiz: "\e95b";--gform-icon--question-mark: "\e97e";--gform-icon--question: "\e95a";--gform-icon--quantity: "\e901";--gform-icon--product: "\e959";--gform-icon--postmark: "\e958";--gform-icon--post-image: "\e956";--gform-icon--post-custom-field: "\e957";--gform-icon--polls: "\e953";--gform-icon--poll-alt: "\e954";--gform-icon--poll: "\e955";--gform-icon--pointer: "\e952";--gform-icon--plus-regular: "\e982";--gform-icon--place: "\e950";--gform-icon--phone: "\e94f";--gform-icon--paypal: "\e94e";--gform-icon--password1: "\e94d";--gform-icon--password: "\e97c";--gform-icon--paragraph-text: "\e94c";--gform-icon--page: "\e94b";--gform-icon--numbers-alt: "\e948";--gform-icon--numbers: "\e949";--gform-icon--notifications-active: "\e97b";--gform-icon--name-2: "\e97a";--gform-icon--name: "\e947";--gform-icon--multi-select: "\e946";--gform-icon--monetization-on: "\e945";--gform-icon--mollie: "\e944";--gform-icon--misc: "\e943";--gform-icon--minus-regular: "\e981";--gform-icon--minus: "\e942";--gform-icon--merge-tag: "\e941";--gform-icon--mailgun: "\e940";--gform-icon--mailchimp: "\e93f";--gform-icon--mail: "\e93e";--gform-icon--mad-mimi: "\e93d";--gform-icon--list: "\e93c";--gform-icon--link: "\e93b";--gform-icon--jetsloth: "\e93a";--gform-icon--info-outline: "\e988";--gform-icon--info: "\e98d";--gform-icon--icontact: "\e937";--gform-icon--hubspot: "\e936";--gform-icon--html-code: "\e935";--gform-icon--how-to-reg: "\e934";--gform-icon--hidden: "\e933";--gform-icon--helpscout: "\e932";--gform-icon--help: "\e939";--gform-icon--gravity-pdf: "\e930";--gform-icon--gravity-logo: "\e92f";--gform-icon--get-response: "\e92e";--gform-icon--freshbooks: "\e92d";--gform-icon--format-quote1: "\e92c";--gform-icon--format-quote: "\e900";--gform-icon--for-gravity: "\e92b";--gform-icon--flag-alt: "\e92a";--gform-icon--flag: "\e929";--gform-icon--excerpt: "\e928";--gform-icon--entries: "\e927";--gform-icon--emma: "\e926";--gform-icon--embed: "\e925";--gform-icon--embed-alt: "\e991";--gform-icon--email-octopus: "\e924";--gform-icon--ellipsis: "\e923";--gform-icon--duplicate: "\e922";--gform-icon--dropdown: "\e921";--gform-icon--dropbox: "\e920";--gform-icon--drag-indicator: "\e91e";--gform-icon--drag: "\e91f";--gform-icon--dollar: "\e91d";--gform-icon--design: "\e979";--gform-icon--delete: "\e91c";--gform-icon--date: "\e91b";--gform-icon--credit-card: "\e978";--gform-icon--create: "\e919";--gform-icon--coupon-alt: "\e918";--gform-icon--coupon: "\e917";--gform-icon--copy: "e990";--gform-icon--constant-contact: "\e916";--gform-icon--consent: "\e915";--gform-icon--confirmations: "\e987";--gform-icon--color-pallet: "\e914";--gform-icon--cog: "\e913";--gform-icon--clever-reach: "\e912";--gform-icon--circle-star: "\e98c";--gform-icon--circle-notice: "\e98e";--gform-icon--circle-delete: "\e98a";--gform-icon--circle-close: "\e938";--gform-icon--circle-check: "\e931";--gform-icon--circle-arrow-down: "\e989";--gform-icon--chevron: "\e911";--gform-icon--check-box: "\e910";--gform-icon--check: "\e983";--gform-icon--chained-selects: "\e91a";--gform-icon--category: "\e90f";--gform-icon--capsule: "\e90e";--gform-icon--campaign-monitor: "\e90d";--gform-icon--campaign: "\e984";--gform-icon--breeze: "\e90c";--gform-icon--body: "\e90b";--gform-icon--back: "\e90a";--gform-icon--aweber: "\e909";--gform-icon--authorize-dot-net: "\e908";--gform-icon--api: "\e907";--gform-icon--analytics: "\e906";--gform-icon--akismet: "\e98b";--gform-icon--agile-crm: "\e905";--gform-icon--advanced-post-creation: "\e904";--gform-icon--active-campaign: "\e903";--gform-icon--accessibility: "\e902";--gform-icon--floppy-disk: "\e98f";--gform-icon--circle-check-alt: "\e992";--tr-hover: all 0.15s ease;--tr-hover-slow: color 300ms ease-in-out, background-color 300ms ease-in-out, border-color 300ms ease-in-out;--tr-color: color 0.15s ease;--tr-dropdown: opacity 0.15s ease;--tr-button: transform 300ms ease, box-shadow 300ms ease, background-color 300ms ease;--tr-inputs: box-shadow 0.15s ease, background-color 0.15s ease;--tr-toggles: left 0.25s ease;--tr-cl-button-focus: border-color 200ms ease-in-out, box-shadow 200ms ease-in-out;--tr-cl-flyout-reveal: opacity 190ms ease-in-out, transform 190ms ease-in-out;--t-font-family-base: inter, -apple-system, blinkmacsystemfont, "Segoe UI", roboto, oxygen-sans, ubuntu, cantarell, "Helvetica Neue", sans-serif;--t-font-family-admin-icons: "gform-icons-admin";--t-font-family-theme-icons: "gform-icons-theme";--t-font-weight-normal: 400;--t-font-weight-medium: 500;--t-font-weight-bold: 600;--t-font-size-small: 0.75rem;--t-font-size-base: 0.8125rem;--t-font-size-label: 0.875rem;--t-font-size-large-label: 1.0625rem;--t-line-height-base: 1.188rem;--t-line-height-label: 1.125rem}.all-merge-tags{position:absolute;right:0;top:-1.9rem}.all-merge-tags button{-webkit-transition:color ease-in-out 500ms;-o-transition:color ease-in-out 500ms;-moz-transition:color ease-in-out 500ms;transition:color ease-in-out 500ms}.gform-tinymce-mergetag-button .all-merge-tags{display:inline-block;padding-top:0.45rem;position:static}.wp-media-buttons .all-merge-tags{position:relative;top:0.375rem}.field_setting .all-merge-tags{top:-0.15rem}.field_setting .all-merge-tags .gform-button--unstyled{font-weight:400}@-moz-document url-prefix(){.gform-settings-input__container--with-merge-tag .all-merge-tags.textarea a.open-list{margin-top:1px}}#gf_merge_tag_list{background:#fff;border:1px solid #d9dae6;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;-webkit-box-shadow:0 3px 5px rgba(0,0,0,0.125);-moz-box-shadow:0 3px 5px rgba(0,0,0,0.125);box-shadow:0 3px 5px rgba(0,0,0,0.125);max-height:14rem;overflow:auto;position:absolute;right:0;width:14.625rem !important;z-index:999}#gf_merge_tag_list li{margin:0}#gf_merge_tag_list li a{cursor:pointer}#gf_merge_tag_list li a:hover{background:#f6f9fc}#gf_merge_tag_list li:last-child a{border-bottom:none}#gf_merge_tag_list li a,#gf_merge_tag_list .group-header{border-bottom:1px solid #ecedf8;color:#242748;display:block;font-size:0.875rem;line-height:1.1875rem;padding:0.75rem 1.1875rem 1.0625rem}#gf_merge_tag_list .group-header{font-weight:bold}.right ul#gf_merge_tag_list{right:0}.mt-gform_notification_message,.mt-form_confirmation_message{float:right;position:relative;right:10px;top:90px}#wp-gform_notification_message-wrap,#wp-form_confirmation_message-wrap{margin-right:12px}#form_settings{margin-top:0}table#gf_personal_data_field_settings td{margin:0;padding:0;vertical-align:top}#gf_personal_data_field_settings .gf_personal_data_field_label_title{font-weight:bold;padding:0 10px 10px 0;text-align:left}#gf_personal_data_field_settings .gf_personal_data_cb_title{font-weight:bold;padding:0;text-align:center;width:50px}#gf_personal_data_field_settings .gf_personal_data_cb_cell{text-align:center;width:50px}.gform-admin .ui-autocomplete .ui-state-active{background-color:var(--c-light-blue);border-right:2px solid var(--c-gravity-blue)}.gform-admin .ui-menu-item{padding:0}.gform-admin .ui-menu-item div{padding:0.25rem 0.625rem}.gform-admin .gform-dropdown--merge-tags{display:inline-block}.gform-admin .gform-dropdown--merge-tags .gform-dropdown__control{background:none;border:none;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;display:inline-block;height:auto;line-height:1;padding:0}.gform-admin .gform-dropdown--merge-tags .gform-dropdown__control i.gform-dropdown__chevron{display:none}.gform-admin .gform-dropdown--merge-tags .gform-dropdown__control .gform-icon--merge-tag{border:1px solid transparent;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;color:#9092b2;font-size:1.5rem;position:relative}.gform-admin .gform-dropdown--merge-tags .gform-dropdown__control:focus .gform-icon--merge-tag{border:1px solid var(--c-primary-light);-webkit-box-shadow:var(--bs-input-focus);-moz-box-shadow:var(--bs-input-focus);box-shadow:var(--bs-input-focus);color:var(--c-text)}.gform-admin .gform-dropdown--merge-tags .gform-dropdown__control:hover .gform-icon--merge-tag{-webkit-box-shadow:var(--bs-input-hover);-moz-box-shadow:var(--bs-input-hover);box-shadow:var(--bs-input-hover);color:var(--c-text)}.gform-admin .gform-dropdown--merge-tags .gform-dropdown__control .gform-dropdown__control-text{-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;color:var(--c-port);display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;font-size:0.8125rem;overflow:visible}.gform-admin .gform-dropdown--merge-tags .gform-dropdown__container{-webkit-border-radius:0.1875rem;-moz-border-radius:0.1875rem;border-radius:0.1875rem;border-top:0.0625rem solid #d5d7e9;top:1.5rem;width:16rem}@media (--viewport-full){.gform-admin .gform-dropdown--merge-tags .gform-dropdown__container{width:18.75rem}}.gform-admin .gform-dropdown--merge-tags .gform-dropdown__container::before{display:none}.gform-admin .gform-dropdown--merge-tags .gform-dropdown__group-text{display:inline-block;padding-bottom:0.6875rem}.right .gform-dropdown__container{right:0}.gform-admin .gform-dropdown__search .gform-dropdown__search-input{-webkit-appearance:none;background:#fff;border:1px solid var(--c-blue-haze);-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;-webkit-box-shadow:0 0 0 transparent;-moz-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;color:var(--c-port);font-family:var(--t-font-family-base);font-size:0.8125rem;line-height:2;outline:none;padding:0.25rem 0.75rem;-webkit-transition:var(--tr-inputs);-o-transition:var(--tr-inputs);-moz-transition:var(--tr-inputs);transition:var(--tr-inputs)}html[dir="rtl"] .all-merge-tags{left:0;right:auto}html[dir="rtl"] #gf_merge_tag_list{left:0;right:auto}html[dir="rtl"] .gform-admin .gform-dropdown--merge-tags .gform-dropdown__control{padding:0}html[dir="rtl"] .right .gform-dropdown__container{left:0;right:auto}.all-merge-tags{top:auto}.all-merge-tags{text-align:center}.all-merge-tags.right{right:8px;left:auto}.all-merge-tags.left{right:auto;left:8px}.all-merge-tags *{text-align:left}.ui-tabs table td{position:relative}td .all-merge-tags,th .all-merge-tags{width:-webkit-calc( 5% + 10px);width:-moz-calc( 5% + 10px);width:calc( 5% + 10px)}td .all-merge-tags.right,td .all-merge-tags.left,th .all-merge-tags.right,th .all-merge-tags.left{right:auto;left:auto}.rtl .all-merge-tags{text-align:left}.rtl .all-merge-tags *{text-align:right}.rtl .all-merge-tags.left{right:8px;left:auto}.rtl .all-merge-tags.right{right:auto;left:8px}.post-type-gravityview .simplebar-placeholder{display:none}@-webkit-keyframes spinner-animation{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@-moz-keyframes spinner-animation{0%{-moz-transform:rotate(0deg);transform:rotate(0deg)}to{-moz-transform:rotate(359deg);transform:rotate(359deg)}}@-o-keyframes spinner-animation{0%{-o-transform:rotate(0deg);transform:rotate(0deg)}to{-o-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes spinner-animation{0%{-webkit-transform:rotate(0deg);-moz-transform:rotate(0deg);-o-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(359deg);-moz-transform:rotate(359deg);-o-transform:rotate(359deg);transform:rotate(359deg)}}.view-dropdown{position:absolute;right:0;top:0;left:0}.view-dropdown *{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.view-dropdown .view-dropdown-select{position:absolute;right:0;top:0;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;border:1px solid #ccd0d4;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;cursor:pointer;background-color:#FFF;overflow:hidden;max-width:99%}.view-dropdown .view-dropdown-select:hover .view-dropdown-select__toggle,.view-dropdown .view-dropdown-select:focus .view-dropdown-select__toggle{background-color:#f6f7f7}.view-dropdown .view-dropdown-select:focus{border:1px solid #2c3338}.view-dropdown .view-dropdown-select__value__icon{margin-right:8px;max-width:32px;height:24px;-webkit-box-flex:0;-webkit-flex-grow:0;-moz-box-flex:0;-ms-flex-positive:0;flex-grow:0;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;-ms-flex-pack:center;justify-content:center;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex}.view-dropdown .view-dropdown-select__value__icon img{max-width:32px;max-height:24px;pointer-events:none}.view-dropdown .view-dropdown-select__value{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;font-size:14px;font-weight:500;color:#2c3338;white-space:nowrap}.view-dropdown .view-dropdown-select__value__selection{color:#2271b1;margin-left:4px;-o-text-overflow:ellipsis;text-overflow:ellipsis;overflow:hidden}.view-dropdown .view-dropdown-select__value,.view-dropdown .view-dropdown-select__toggle{line-height:24px;padding:8px;overflow:hidden}.view-dropdown .view-dropdown-select__toggle{-webkit-box-flex:0;-webkit-flex-grow:0;-moz-box-flex:0;-ms-flex-positive:0;flex-grow:0;border-left:1px solid #e2e4e7}.view-dropdown .view-dropdown-toggle__chevron{width:20px;height:20px;margin-top:2px;rotate:-180deg}.view-dropdown .view-dropdown-options{display:none;position:absolute;top:48px;right:0;width:360px;background-color:#FFF;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;border:1px solid #c3c4c7;overflow:hidden;-webkit-box-shadow:0 6px 20px 0 rgba(0,0,0,0.1);-moz-box-shadow:0 6px 20px 0 rgba(0,0,0,0.1);box-shadow:0 6px 20px 0 rgba(0,0,0,0.1)}.view-dropdown .view-dropdown-options__header{padding:15px 20px;border-bottom:1px solid #c3c4c7;font-size:14px;font-weight:500;cursor:default}.view-dropdown .view-dropdown-options__body{padding:12px}.view-dropdown .view-dropdown-options__footer{padding:0 20px 20px}.view-dropdown .view-dropdown-options__footer *,.view-dropdown .view-dropdown-options__footer{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.view-dropdown .view-dropdown-options__footer a{font-size:14px;text-decoration:none}.view-dropdown .view-dropdown-options__footer a span{border-bottom:1px solid currentColor}.view-dropdown .view-dropdown-options__footer a span+svg{margin-left:4px}.view-dropdown .view-dropdown-list{overflow:hidden;overflow-y:auto;max-height:450px}.view-dropdown .view-dropdown-list-item{padding:8px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;overflow:hidden;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;color:#2c3338;line-height:17px;cursor:pointer;border:2px solid #FFF;margin-bottom:4px}.view-dropdown .view-dropdown-list-item:hover{background-color:#f6f7f7;border-color:#dcdcde}.view-dropdown .view-dropdown-list-item:focus{background-color:#f6f7f7;border-color:#dcdcde}.view-dropdown .view-dropdown-list-item.view-dropdown-list-item--active{border-color:#1d2327}.view-dropdown .view-dropdown-list-item[aria-disabled="true"]{cursor:not-allowed}.view-dropdown .view-dropdown-list-item[aria-disabled="true"]{color:#50575e}.view-dropdown .view-dropdown-list-item[aria-disabled="true"] .view-dropdown-button--pill{display:inherit}.view-dropdown .view-dropdown-list-item.is-idle{cursor:progress}.view-dropdown .view-dropdown-button--pill{display:none;border:0;background-color:#007cb2;color:#FFF;-webkit-border-radius:10px;-moz-border-radius:10px;border-radius:10px;font-weight:500;font-size:11px;line-height:20px;padding:0 10px;text-decoration:none;margin-left:.666em;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0}.view-dropdown .view-dropdown-button--pill:hover,.view-dropdown .view-dropdown-button--pill:focus{background-color:#0a4b78}.view-dropdown .view-dropdown-button--pill .loading{display:none;width:16px;height:16px;margin:2px;-webkit-animation:spinner-animation 1s cubic-bezier(0.6, 0, 0.4, 1) infinite;-moz-animation:spinner-animation 1s cubic-bezier(0.6, 0, 0.4, 1) infinite;-o-animation:spinner-animation 1s cubic-bezier(0.6, 0, 0.4, 1) infinite;animation:spinner-animation 1s cubic-bezier(0.6, 0, 0.4, 1) infinite}.view-dropdown .view-dropdown-button--pill.has-failed{background-color:#c0461e}.view-dropdown .view-dropdown-button--pill.is-idle{cursor:progress;background:#979fa7}.view-dropdown .view-dropdown-button--pill.is-idle .loading{display:block}.view-dropdown .view-dropdown-list-item__icon{-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;width:48px;height:48px;-webkit-box-flex:0;-webkit-flex-grow:0;-moz-box-flex:0;-ms-flex-positive:0;flex-grow:0;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;margin-right:18px;background-color:#f6f7f7;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;-ms-flex-pack:center;justify-content:center}.view-dropdown .view-dropdown-list-item__icon img{max-height:32px;max-width:34px;pointer-events:none}.view-dropdown .view-dropdown-list-item__value{padding:4px 0}.view-dropdown .view-dropdown-list-item__label{font-weight:500;font-size:15px;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:.15em}.view-dropdown .view-dropdown-list-item__description{font-size:12px;color:#50575e}.view-dropdown.view-dropdown--open{z-index:15}.view-dropdown.view-dropdown--open .view-dropdown-toggle__chevron{rotate:none}.view-dropdown.view-dropdown--open .view-dropdown-options{display:block}.view-dropdown .view-dropdown-list-available{border:2px solid #ff1b67;background-color:#fbfcfd;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;overflow:hidden;margin-top:8px;padding-bottom:2px}.view-dropdown .view-dropdown-list-available .view-dropdown-list-available__header{background-color:#ff1b67;color:#FFF;font-size:12px;height:46px;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;padding:0 12px;margin:0 -2px 4px}.view-dropdown .view-dropdown-list-available .view-dropdown-list-available__heading{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;text-transform:uppercase;font-weight:bold;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center}.view-dropdown .view-dropdown-list-available .view-dropdown-list-available__heading svg{margin-right:8px}.view-dropdown .view-dropdown-list-available a.view-dropdown-list-available__upgrade{display:inline-block;background-color:#2271b1;color:#fff;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:0 0 4px 1px rgba(255,255,255,0.4);-moz-box-shadow:0 0 4px 1px rgba(255,255,255,0.4);box-shadow:0 0 4px 1px rgba(255,255,255,0.4);text-decoration:none;font-size:13px;font-weight:500;line-height:16px;margin-top:-1px;padding:5px 15px 7px}.view-dropdown .view-dropdown-list-available a.view-dropdown-list-available__upgrade:hover,.view-dropdown .view-dropdown-list-available a.view-dropdown-list-available__upgrade:focus{background-color:#0a4b78}.view-dropdown .view-dropdown-list-available .view-dropdown-list-item__icon,.view-dropdown .view-dropdown-list-available .view-dropdown-list-item,.view-dropdown .view-dropdown-list-available .view-dropdown-list-item:hover{background-color:transparent;border-color:transparent}.view-dropdown div[data-value="diy_placeholder"] img,.view-dropdown div[data-value="datatables_table"] img{position:relative}.view-dropdown div[data-value="diy_placeholder"] img{top:-1px;max-width:30px}.view-dropdown div[data-value="datatables_table"] img{top:-2px;right:-3px;max-width:36px}.ui-tooltip-content .gv-fields .gv-field-info span.gv-sublabel:after,.ui-tooltip-content .gv-fields .gv-field-info span:last-child:after,.ui-tooltip .gv-fields .gv-field-info span.gv-sublabel:after,.ui-tooltip .gv-fields .gv-field-info span:last-child:after,.gv-dialog-options:after,.gv-dialog-options .gv-setting-container:after,.gv-dialog-options .gv-setting-list:after{content:"";display:table;clear:both}.gk-large-icon,#gk-settings-link .dashicons,.post-type-gravityview .ui-tabs .ui-tabs-nav li .dashicons,.post-type-gravityview .ui-tabs .ui-tabs-nav li .gform-icon,.post-type-gravityview .ui-tabs .ui-tabs-nav li [class^='gv-icon-'],.post-type-gravityview .ui-tabs .ui-tabs-nav li [class^='gv-icon-']:before{font-size:24px;height:24px;width:24px;vertical-align:top;overflow:hidden}.gv-reset-button-style,.gv-fields .gv-field-controls button,.gv-widget-search-fields table .cell-sort button,.gv-widget-search-fields table .cell-add-remove button,.postbox .gv-dialog-options table .cell-sort button,.postbox .gv-dialog-options table .cell-add-remove button{font-family:inherit;font-size:100%;margin:0;overflow:visible;text-transform:none;-webkit-appearance:button;border:none;background:none;padding:0;cursor:pointer}.gv-reset-button-style::-moz-focus-inner,.gv-fields .gv-field-controls button::-moz-focus-inner,.gv-widget-search-fields table .cell-sort button::-moz-focus-inner,.gv-widget-search-fields table .cell-add-remove button::-moz-focus-inner,.postbox .gv-dialog-options table .cell-sort button::-moz-focus-inner,.postbox .gv-dialog-options table .cell-add-remove button::-moz-focus-inner{border-style:none;padding:0}.gv-reset-button-style:-moz-focusring,.gv-fields .gv-field-controls button:-moz-focusring,.gv-widget-search-fields table .cell-sort button:-moz-focusring,.gv-widget-search-fields table .cell-add-remove button:-moz-focusring,.postbox .gv-dialog-options table .cell-sort button:-moz-focusring,.postbox .gv-dialog-options table .cell-add-remove button:-moz-focusring{outline:1px dotted ButtonText}.gv-grid{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;margin-bottom:2em;display:grid;grid-template-columns:repeat(12, 1fr);grid-template-rows:repeat(auto-fill, auto);grid-column-gap:24px;grid-row-gap:12px}.gv-grid [class^="gv-grid-col-"]{max-width:100%}.gv-grid-col-1-4{grid-column:span 2}.gv-grid-col-1-2{grid-column:span 6}.gv-grid-col-1-8{width:12.5%}.gv-grid-col-1-3{grid-column:span 4}.gv-grid-col-2-3{grid-column:span 8}.gv-grid-col-1-1{grid-column:1 / -1;width:100%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}@media (max-width: 1024px){.gv-grid-col-1-3,.gv-grid-col-2-3,.gv-grid-col-1-2{grid-column:span 6}}@media (max-width: 640px){.gv-grid-col-1-3,.gv-grid-col-2-3,.gv-grid-col-1-2{grid-column:1 / -1}.gv-grid-col-1-4{grid-column:span 2}}#edit-active-fields,#single-active-fields,#directory-footer-widgets{margin-bottom:0}.gv-section{position:relative}.gv-section:before,.gv-section:after{content:" ";display:table}.gv-section:after{clear:both}.gv-section h4{font-size:22px;font-weight:bold;margin-top:1em;margin-bottom:1em;padding-bottom:0}@media (max-width: 850px){.gv-section h4{margin-top:.5em}}.gv-section h4 span{font-size:14px;display:block;color:#636D77;font-weight:normal}.notice-warning a{font-size:1.2em;display:inline-block;padding-bottom:.5em}#gravityview_select_template .gv-grid{grid-template-columns:repeat(auto-fill, minmax(75px, 1fr))}.gv-view-types-module{padding:1em;margin-bottom:1em;background:#eee;position:relative;border:2px solid transparent;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.gv-view-types-module:hover .gv-view-types-hover{display:block}.gv-view-types-module.gv-selected{border:2px solid #1e8cbe}.gv-view-types-module img{display:block;width:100%;height:auto;margin:0;padding:0}.gv-view-types-module h5{white-space:nowrap;margin:0.5em 0;padding:0;font-size:18px}.gv-view-types-module .description{margin:0;padding:0;min-height:4.5em}.gv-view-types-module .button.button-hero{padding:0}.gv-view-types-module.gv-view-template-placeholder{opacity:.7;-webkit-transition:all .1s;-o-transition:all .1s;-moz-transition:all .1s;transition:all .1s}.gv-view-types-module.gv-view-template-placeholder:hover{opacity:1}.gv-view-types-module.gv-view-template-placeholder .gv-view-types-hover{background:rgba(255,255,255,0.9);font-size:1rem;position:absolute}.gv-view-types-module.gv-view-template-placeholder .gv-included-in{background:#555D66;color:white;position:absolute;bottom:0;left:0;padding:.5em;margin-bottom:0}html[dir=rtl] .gv-view-types-module.gv-view-template-placeholder .gv-included-in{right:0;left:auto}.gv-view-types-module.gv-view-template-placeholder .gv-included-in a{color:white}.gv-view-types-hover{display:none;background:rgba(0,0,0,0.6);position:absolute;top:0;left:0;right:0;height:100%}.gv-view-types-hover .gv-site-preview{color:#fff;text-decoration:none}.gv-view-types-hover .gv-site-preview .dashicons{font-size:24px;width:24px;height:24px;position:absolute;top:5px;right:5px;opacity:.5}.gv-view-types-hover .gv-site-preview .dashicons:hover,.gv-view-types-hover .gv-site-preview .dashicons:focus{opacity:1}.gv-view-types-hover>div{padding-top:31%;margin-top:-15px}.gv-view-types-hover>div p{margin:0.5em 0 1.5em;padding:0;text-align:center}.gv-view-types-hover>div p .button{display:inline-block;width:70%}#gravityview_select_form .handlediv{display:none}.gv-form-links{color:#d7dade;font-weight:normal;padding:0 0 0 10px}.metabox-prefs .gv-form-links{display:none}.gv-form-links .row-actions{visibility:visible;padding:0;left:auto}@media screen and (max-width: 850px){.gv-form-links .row-actions,.gv-form-links .row-actions a{display:inline !important}}.gv-form-links .gv-form-title{display:none}#gv_switch_view_button{display:none !important}#gravityview_select_template{display:none}#gravityview_select_template .inside{max-height:500px;max-height:50vh;overflow-x:auto}#gravityview_form_id{max-width:50%}.gv-template-preview{display:none;width:90%}#gravityview_settings th{white-space:nowrap;width:30%;min-width:100px;max-width:200px;padding:16px 10px}#gravityview_settings #gravityview_advanced th{white-space:normal}@media (max-width: 1199px){#gravityview_settings #gravityview_maps_settings td,#gravityview_settings [scope="row"]{white-space:normal;display:inline-block;max-width:100%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;width:100%;padding-bottom:5px}#gravityview_settings #gravityview_maps_settings td+td,#gravityview_settings [scope="row"]+td{padding-top:0;display:block}}#gravityview_settings th span,#gravityview_settings th input,#gravityview_settings td span,#gravityview_settings td input{font-weight:normal !important}#gravityview_settings th .gform-dropdown--merge-tags .gform-dropdown__group-text,#gravityview_settings td .gform-dropdown--merge-tags .gform-dropdown__group-text{font-weight:500 !important}#gravityview_settings th select[multiple],#gravityview_settings td select[multiple]{display:block;max-width:100%;width:100%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#gravityview_settings th label,#gravityview_settings td label{display:block;position:relative;font-weight:500;line-height:1.3;vertical-align:middle;color:#23282d;font-size:15px}#gravityview_settings th .wp-picker-input-wrap label,#gravityview_settings td .wp-picker-input-wrap label{display:inline-block}#gravityview_settings .howto{margin:.25em 0 .5em;font-weight:normal}#gravityview_settings li .nav-tab{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}#gravityview_sort_filter,#gravityview_view_config{display:none}.postbox{-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px}.postbox .handle-actions{position:absolute;left:-9999px}#gravityview_view_config{background:transparent;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;border:none}#gravityview_view_config .postbox-header{display:none}#gravityview_view_config>.inside{padding:0;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;overflow:visible}#gravityview_view_config #gv-view-configuration-tabs{padding:0}#gravityview_view_config #gv-view-configuration-tabs .ui-tabs-panel{-webkit-border-radius:0 0 5px 5px;-moz-border-radius:0 0 5px 5px;border-radius:0 0 5px 5px;border:1px solid #ccd0d4}@media (min-width: 850px) and (max-width: 1199px){#gravityview_view_config #gv-view-configuration-tabs .gv-responsive-label--collapse{display:none}}.clear-all-fields{text-decoration:none;padding:6px .5em 6px 1em;cursor:pointer;margin:-6px -1em;border:1px solid transparent;color:#7e8993;font-size:12px !important;position:relative;-webkit-transition:.1s padding;-o-transition:.1s padding;-moz-transition:.1s padding;transition:.1s padding}html[dir=rtl] .clear-all-fields{padding:6px 1em 6px .5em}.clear-all-fields:after{content:"\f335";font-family:Dashicons, sans-serif;font-size:12px;line-height:12px;background-color:#d7dade;color:#7e8993;-webkit-border-radius:50px;-moz-border-radius:50px;border-radius:50px;margin:.25em .5em 0;text-decoration:none;border:none;position:absolute;right:0;opacity:0;-webkit-transition:.1s all;-o-transition:.1s all;-moz-transition:.1s all;transition:.1s all}.clear-all-fields:hover{padding:6px -webkit-calc( 1em + 12px) 6px 1em;padding:6px -moz-calc( 1em + 12px) 6px 1em;padding:6px calc( 1em + 12px) 6px 1em;-webkit-transition:.2s all;-o-transition:.2s all;-moz-transition:.2s all;transition:.2s all;position:relative;background:#f1f1f1;-webkit-box-shadow:0 0 2px #d7dade;-moz-box-shadow:0 0 2px #d7dade;box-shadow:0 0 2px #d7dade;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;text-decoration:underline}.clear-all-fields:hover:after{-webkit-transition:.2s all;-o-transition:.2s all;-moz-transition:.2s all;transition:.2s all;opacity:1;background-color:#ccd0d4;color:#6c7781}.gv-wait,.gv-wait a{cursor:wait}.post-type-gravityview .ui-front,.post-type-gravityview .CodeMirror-hints,.post-type-gravityview .CodeMirror-lint-tooltip{z-index:10001 !important}.post-type-gravityview .CodeMirror,.CodeMirror-hint{font-size:15px}.post-type-gravityview .CodeMirror{height:15.75em;max-width:690px !important}.gform-admin .gform-dropdown--merge-tags .gform-dropdown__container{z-index:10002}#gk-settings-link{color:#a2aab2;position:relative;float:right;top:1em;margin-left:.5em;margin-right:0;background-color:transparent;text-decoration:none;border:none}html[dir=rtl] #gk-settings-link{margin-right:.5em;margin-left:0;float:left}#gk-settings-link:visited{color:#a2aab2}#gk-settings-link:hover{color:#40464d}#gk-settings-link:active{color:#23282d}@media (max-width: 850px){#gk-settings-link{display:block;top:auto}}.post-type-gravityview .ui-tabs{position:relative;padding:.1em;zoom:1;margin-top:1em;-webkit-transition:none;-o-transition:none;-moz-transition:none;transition:none}.post-type-gravityview .ui-tabs #gv-view-configuration-tabs-tooltip{position:absolute;right:0}html[dir=rtl] .post-type-gravityview .ui-tabs #gv-view-configuration-tabs-tooltip{right:auto;left:0}.post-type-gravityview .ui-tabs .ui-tabs-nav{margin:0;padding:0;-webkit-margin-before:0;-webkit-margin-after:0;-webkit-margin-start:0;-webkit-margin-end:0;-webkit-padding-start:0}@media (max-width: 850px){.post-type-gravityview .ui-tabs .ui-tabs-nav{width:100%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}}.post-type-gravityview .ui-tabs .ui-tabs-nav li{-webkit-transition:none;-o-transition:none;-moz-transition:none;transition:none;list-style:none;float:left;position:relative;top:2px;margin:0 .5em 1px 0;border-bottom:0;padding:0;white-space:nowrap;outline:none}[dir=rtl] .post-type-gravityview .ui-tabs .ui-tabs-nav li{float:right;margin:0 0 1px .5em}@media (max-width: 850px){.post-type-gravityview .ui-tabs .ui-tabs-nav li{width:100%;float:left}}.post-type-gravityview .ui-tabs .ui-tabs-nav li .nav-tab{-webkit-transition:none;-o-transition:none;-moz-transition:none;transition:none;-webkit-border-radius:3px 3px 0 0;-moz-border-radius:3px 3px 0 0;border-radius:3px 3px 0 0;float:left;padding:.666em 1.333em;margin:0 5px 0 0;text-decoration:none;font-size:15px;font-weight:400;background-color:#f3f4f5;color:#40464d;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}html[dir=rtl] .post-type-gravityview .ui-tabs .ui-tabs-nav li .nav-tab{float:right;margin:0 0 0 5px}.post-type-gravityview .ui-tabs .ui-tabs-nav li .nav-tab:link,.post-type-gravityview .ui-tabs .ui-tabs-nav li .nav-tab:visited,.post-type-gravityview .ui-tabs .ui-tabs-nav li .nav-tab:hover,.post-type-gravityview .ui-tabs .ui-tabs-nav li .nav-tab:active,.post-type-gravityview .ui-tabs .ui-tabs-nav li .nav-tab:focus{outline:none;-webkit-box-shadow:none}@media (min-width: 851px) and (max-width: 1023px){.post-type-gravityview .ui-tabs .ui-tabs-nav li .nav-tab{font-size:13px}}.post-type-gravityview .ui-tabs .ui-tabs-nav li .dashicons,.post-type-gravityview .ui-tabs .ui-tabs-nav li .gform-icon,.post-type-gravityview .ui-tabs .ui-tabs-nav li [class^='gv-icon-'],.post-type-gravityview .ui-tabs .ui-tabs-nav li [class^='gv-icon-']:before{color:#a2aab2}.post-type-gravityview .ui-tabs .ui-tabs-nav li.tab-not-configured .dashicons{color:#f7a407}.post-type-gravityview .ui-tabs .ui-tabs-nav li .configuration-status-icons{position:absolute;padding:0;left:0;top:-1em;display:block}.post-type-gravityview .ui-tabs .ui-tabs-nav li .configuration-status-icons .gform-icon,.post-type-gravityview .ui-tabs .ui-tabs-nav li .configuration-status-icons .dashicons{font-size:18px;height:18px;width:18px;line-height:24px;display:inline-block;padding:0 .111em}.post-type-gravityview .ui-tabs .ui-tabs-nav li .configuration-status-icons .gform-icon:hover,.post-type-gravityview .ui-tabs .ui-tabs-nav li .configuration-status-icons .dashicons:hover{color:#006899}.post-type-gravityview .ui-tabs .ui-tabs-nav li a{border-bottom:1px solid #ccc}.post-type-gravityview .ui-tabs .ui-tabs-nav li.ui-state-active a,.post-type-gravityview .ui-tabs .ui-tabs-nav li.ui-state-active.tab-not-configured a,.post-type-gravityview .ui-tabs .ui-tabs-nav li.ui-state-active.ui-state-hover a{background-color:#fff;border-bottom:1px solid #fff;color:#23282d}.post-type-gravityview .ui-tabs .ui-tabs-nav li.ui-state-active .dashicons,.post-type-gravityview .ui-tabs .ui-tabs-nav li.ui-state-active .dashicons.tab-icon,.post-type-gravityview .ui-tabs .ui-tabs-nav li.ui-state-active .gform-icon,.post-type-gravityview .ui-tabs .ui-tabs-nav li.ui-state-active [class^='gv-icon-'],.post-type-gravityview .ui-tabs .ui-tabs-nav li.ui-state-active [class^='gv-icon-']:before,.post-type-gravityview .ui-tabs .ui-tabs-nav li.ui-state-active.tab-not-configured .dashicons,.post-type-gravityview .ui-tabs .ui-tabs-nav li.ui-state-active.tab-not-configured .dashicons.tab-icon,.post-type-gravityview .ui-tabs .ui-tabs-nav li.ui-state-active.tab-not-configured .gform-icon,.post-type-gravityview .ui-tabs .ui-tabs-nav li.ui-state-active.tab-not-configured [class^='gv-icon-'],.post-type-gravityview .ui-tabs .ui-tabs-nav li.ui-state-active.tab-not-configured [class^='gv-icon-']:before,.post-type-gravityview .ui-tabs .ui-tabs-nav li.ui-state-active.ui-state-hover .dashicons,.post-type-gravityview .ui-tabs .ui-tabs-nav li.ui-state-active.ui-state-hover .dashicons.tab-icon,.post-type-gravityview .ui-tabs .ui-tabs-nav li.ui-state-active.ui-state-hover .gform-icon,.post-type-gravityview .ui-tabs .ui-tabs-nav li.ui-state-active.ui-state-hover [class^='gv-icon-'],.post-type-gravityview .ui-tabs .ui-tabs-nav li.ui-state-active.ui-state-hover [class^='gv-icon-']:before{color:#40464d}.post-type-gravityview .ui-tabs .ui-tabs-nav li.ui-state-active .configuration-status-icons .dashicons,.post-type-gravityview .ui-tabs .ui-tabs-nav li.ui-state-active.tab-not-configured .configuration-status-icons .dashicons,.post-type-gravityview .ui-tabs .ui-tabs-nav li.ui-state-active.ui-state-hover .configuration-status-icons .dashicons{color:#006899}.post-type-gravityview .ui-tabs .ui-tabs-nav li.ui-state-hover a{background-color:rgba(255,255,255,0.5);color:#23282d}.post-type-gravityview .ui-tabs .ui-tabs-nav li.ui-state-hover .gform-icon,.post-type-gravityview .ui-tabs .ui-tabs-nav li.ui-state-hover .dashicons,.post-type-gravityview .ui-tabs .ui-tabs-nav li.ui-state-hover [class^='gv-icon-'],.post-type-gravityview .ui-tabs .ui-tabs-nav li.ui-state-hover [class^='gv-icon-']:before{color:#6c7781}.post-type-gravityview .ui-tabs .ui-tabs-nav li .configuration-status-icons{display:inline-block;padding-left:.666em}html[dir=rtl] .post-type-gravityview .ui-tabs .ui-tabs-nav li .configuration-status-icons{padding-right:.666em}.post-type-gravityview .ui-tabs .ui-tabs-nav li .configuration-status-icons .gform-icon,.post-type-gravityview .ui-tabs .ui-tabs-nav li .configuration-status-icons .dashicons{display:inline-block}.post-type-gravityview .ui-tabs .ui-tabs-nav li.tab-not-configured .configuration-status-icons{padding-right:0}html[dir=rtl] .post-type-gravityview .ui-tabs .ui-tabs-nav li.tab-not-configured .configuration-status-icons{padding-left:0}.post-type-gravityview .ui-tabs .ui-tabs-nav li.tab-not-configured .configuration-status-icons .dashicons-info{display:inline-block;color:#ffb900}.post-type-gravityview .ui-tabs .ui-tabs-nav li.tab-not-configured a{background-color:#f3f4f5}.post-type-gravityview .ui-tabs .ui-tabs-panel{display:block;padding:20px;background:#fff;border:none;border-top:1px solid #ccc;max-width:100%}@media (max-width: 850px){.post-type-gravityview .ui-tabs .ui-tabs-panel{border-top:0}}.post-type-gravityview .ui-tabs .ui-tabs-hide{display:none !important}@media (max-width: 850px){#gv-view-configuration-tabs.ui-tabs.ui-tabs-nav{margin-bottom:10px}#gv-view-configuration-tabs .nav-tab{-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;margin-bottom:3px;width:100%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;border:1px solid #a2aab2 !important}}.gv-dialog{position:absolute;z-index:10001 !important;overflow:visible;-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto}.gv-overlay{cursor:pointer;position:fixed;z-index:10000 !important;background:rgba(225,225,225,0.4);width:100%;height:100%;overflow:hidden}hr{border:0;height:0;border-bottom:1px solid #d7dade;margin:2em 0 2em 0}.gv-droppable-area{-webkit-transition:all 200ms;-o-transition:all 200ms;-moz-transition:all 200ms;transition:all 200ms;margin-bottom:1em;text-align:center}.gv-droppable-area .gv-droppable-area-action{padding:4px .5em 12px .5em}.gv-droppable-area div:empty+.gv-droppable-area-action{margin-top:.5em}.gv-droppable-area .gv-droppable-area-action:before,.gv-droppable-area .gv-droppable-area-action:after{content:" ";display:table}.gv-droppable-area .gv-droppable-area-action:after{clear:both}.gv-droppable-area .gv-droppable-area-title{padding:.5em 0;text-align:left;margin:0 12px 6px 0;color:#7e8993;text-transform:uppercase;font-size:13px;font-weight:500}html[dir=rtl] .gv-droppable-area .gv-droppable-area-title{margin:0 0 6px 12px;text-align:right}.gv-droppable-area .gv-droppable-area-title span{text-transform:none;font-weight:normal}.gv-droppable-area .gv-droppable-area-subtitle{margin:0.25em 0 0 0;padding:0;color:#636D77}.gv-droppable-area .button-secondary{margin:0 .5em}.gv-droppable-area .button-secondary:first-child{margin:0}.active-drop-container{-webkit-box-shadow:0 0 0 2px rgba(210,224,235,0.6);-moz-box-shadow:0 0 0 2px rgba(210,224,235,0.6);box-shadow:0 0 0 2px rgba(210,224,235,0.6);min-height:44px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;max-width:100%}.active-drop-container.is-receivable{border:none;-webkit-transition:all 200ms;-o-transition:all 200ms;-moz-transition:all 200ms;transition:all 200ms}.active-drop-container.is-receivable:empty{min-height:44px}.active-drop-container.is-receivable .active-drop{min-height:60px;background:rgba(210,224,235,0.4);-webkit-transition:all 200ms;-o-transition:all 200ms;-moz-transition:all 200ms;transition:all 200ms}.active-drop{-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;padding:4px 8px 8px;position:relative;-webkit-transition:all 200ms;-o-transition:all 200ms;-moz-transition:all 200ms;transition:all 200ms;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.active-drop .drop-message{color:#6D7883;margin:-8px 0 0 0;display:block;text-align:center;width:90%;padding:0 5%;z-index:1;min-height:42px;font-size:14px;position:absolute;top:50%;line-height:16px}.active-drop .gv-add-field{display:none}.gv-grid-col-1-2 .drop-message{padding-top:0;padding-bottom:0}.fields-placeholder{margin:8px 2px;height:40px;border:none;background:rgba(99,109,119,0.2);-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}#directory-fields .gv-fields{-webkit-box-shadow:2px 2px 2px #F6F9FC;-moz-box-shadow:2px 2px 2px #F6F9FC;box-shadow:2px 2px 2px #F6F9FC}#directory-fields .gv-fields.ui-sortable-helper{-webkit-box-shadow:2px 2px 5px rgba(210,224,235,0.4);-moz-box-shadow:2px 2px 5px rgba(210,224,235,0.4);box-shadow:2px 2px 5px rgba(210,224,235,0.4)}.gv-fields{cursor:move;border:1px solid #d7dade;background:#f3f4f5;overflow:hidden;margin:8px 0;width:100%;z-index:100;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;-webkit-transition:border-color 50ms;-o-transition:border-color 50ms;-moz-transition:border-color 50ms;transition:border-color 50ms}.active-drop-container .gv-fields[data-fieldid=entry_link],.active-drop-container .gv-fields[data-fieldid=edit_link],.active-drop-container .gv-fields[data-fieldid=delete_link],.active-drop-container .gv-fields.has-single-entry-link{background-color:#e6f6fb}.gv-fields[data-fieldid=entry_link] .gv-field-controls .dashicons-media-default,.gv-fields[data-fieldid=edit_link] .gv-field-controls .dashicons-media-default,.gv-fields[data-fieldid=delete_link] .gv-field-controls .dashicons-media-default,.gv-fields.has-single-entry-link .gv-field-controls .dashicons-media-default{line-height:44px;margin:-2px 6px 0 0}html[dir=rtl] .gv-fields[data-fieldid=entry_link] .gv-field-controls .dashicons-media-default,html[dir=rtl] .gv-fields[data-fieldid=edit_link] .gv-field-controls .dashicons-media-default,html[dir=rtl] .gv-fields[data-fieldid=delete_link] .gv-field-controls .dashicons-media-default,html[dir=rtl] .gv-fields.has-single-entry-link .gv-field-controls .dashicons-media-default{margin:-2px 0 0 6px}.gv-fields .gv-field-controls .dashicons-media-default,.gv-fields .gv-field-controls .icon-custom-visibility,.gv-fields .gv-field-controls .gv-indicator-icon{cursor:help}.gv-fields .gv-field-controls .icon-custom-visibility,.gv-fields .gv-field-controls .gv-indicator-icon{line-height:44px;margin:-2px 6px 0 0}html[dir=rtl] .gv-fields .gv-field-controls .icon-custom-visibility,html[dir=rtl] .gv-fields .gv-field-controls .gv-indicator-icon{margin:-2px 0 0 6px}.gv-fields.has-custom-visibility .gv-field-controls .icon-custom-visibility{display:inline-block}.gv-fields h5{float:left;width:100%;font-weight:600;font-size:15px;line-height:26px;margin:0;padding:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;text-align:left;position:relative}html[dir=rtl] .gv-fields h5{float:right;text-align:right}.gv-fields h5 .gv-field-label{display:inline-block;max-width:80%;max-width:-webkit-calc( 100% - 95px);max-width:-moz-calc( 100% - 95px);max-width:calc( 100% - 95px)}.gravityview-item-picker-tooltip .gv-fields h5 .gv-field-label{max-width:100%}.gv-fields h5 .gv-field-label .gform-icon,.gv-fields h5 .gv-field-label .dashicons{margin-top:.2em;margin-bottom:-.2em}.gv-items-picker-container .gv-fields h5 .gv-field-label .gform-icon,.gv-items-picker-container .gv-fields h5 .gv-field-label .dashicons{margin-top:0;margin-bottom:0}.gv-fields h5 small{color:#777;font-weight:600}.gv-fields span.gv-field-controls{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.gv-fields button.gv-field-duplicate{border:0;cursor:pointer;position:absolute;left:-9999px;background:none}.gv-fields button.gv-field-duplicate:hover,.gv-fields button.gv-field-duplicate:focus{color:#136cb9;position:static}.gv-fields:hover{border-color:#8f98a1}.gv-fields:hover .gv-field-controls .dashicons{color:#136cb9}.gv-fields:hover h5 small,.gv-fields:hover .gv-field-info{color:#636D77}.gv-fields:hover button.gv-field-duplicate{position:static}.gv-fields .gv-add-field-before{position:absolute;height:10px;left:10px;border:0;color:#2271b1;z-index:10;margin-top:-10px;right:10px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;cursor:pointer;background:none;text-decoration:none}.gv-fields .gv-add-field-before .dashicons{position:absolute;top:-5px;margin-left:-10px;background:#FFF;-webkit-border-radius:100%;-moz-border-radius:100%;border-radius:100%;visibility:hidden}.gv-fields .gv-add-field-before::before{display:block;height:2px;position:absolute;left:0;right:0;background-color:#2271b1;content:' ';-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;top:4px;visibility:hidden}.gv-fields .gv-add-field-before:hover .dashicons,.gv-fields .gv-add-field-before:hover::before,.gv-fields .gv-add-field-before:focus .dashicons,.gv-fields .gv-add-field-before:focus::before{visibility:visible;text-decoration:none}.gv-fields .gv-field-controls button{border-left:1px solid transparent;border-right:1px solid #d7dade;padding:11px 12px;margin:0 8px 0 0;background-color:#f3f4f5;-webkit-transition:all 200ms;-o-transition:all 200ms;-moz-transition:all 200ms;transition:all 200ms;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;color:#006899}html[dir=rtl] .gv-fields .gv-field-controls button{margin:0 0 0 8px;border-right:1px solid transparent;border-left:1px solid #d7dade}.gv-fields .gv-field-controls button .gform-icon,.gv-fields .gv-field-controls button .dashicons{-webkit-transition:-webkit-transform 200ms;transition:-webkit-transform 200ms;-o-transition:-o-transform 200ms;-moz-transition:transform 200ms, -moz-transform 200ms;transition:transform 200ms;transition:transform 200ms, -webkit-transform 200ms, -moz-transform 200ms, -o-transform 200ms}.gv-fields .gv-field-controls button:hover,.gv-fields .gv-field-controls button:active,.gv-fields .gv-field-controls button.active{background:#fefefe;-webkit-box-shadow:0 0 2px #d7dade;-moz-box-shadow:0 0 2px #d7dade;box-shadow:0 0 2px #d7dade}.gv-fields .gv-field-controls button:hover .dashicons-admin-generic,.gv-fields .gv-field-controls button:active .dashicons-admin-generic,.gv-fields .gv-field-controls button.active .dashicons-admin-generic{-webkit-transform:rotate(30deg);-moz-transform:rotate(30deg);-ms-transform:rotate(30deg);-o-transform:rotate(30deg);transform:rotate(30deg);text-shadow:0 0 2px #bfe7f4}.gv-fields .gv-field-controls button.hide-if-js{display:inline-block;visibility:hidden;width:0;margin:0}.gv-fields .gv-field-controls button.gv-remove-field{position:absolute;top:0;right:-3px;margin:0;background-color:transparent}html[dir=rtl] .gv-fields .gv-field-controls button.gv-remove-field{left:-3px;right:auto}.gv-fields .gv-field-controls button.gv-remove-field:hover,.gv-fields .gv-field-controls button.gv-remove-field:active,.gv-fields .gv-field-controls button.gv-remove-field:focus{background:#fefefe;border-right-color:transparent;border-left:1px solid #d7dade}html[dir=rtl] .gv-fields .gv-field-controls button.gv-remove-field:hover,html[dir=rtl] .gv-fields .gv-field-controls button.gv-remove-field:active,html[dir=rtl] .gv-fields .gv-field-controls button.gv-remove-field:focus{border-left:none;border-right:1px solid #d7dade}.gv-fields .gv-field-controls button.gv-remove-field:hover .dashicons,.gv-fields .gv-field-controls button.gv-remove-field:active .dashicons,.gv-fields .gv-field-controls button.gv-remove-field:focus .dashicons{-webkit-transform:none;-moz-transform:none;-ms-transform:none;-o-transform:none;transform:none;color:#C62D2D}.gv-fields .gv-field-controls button .gform-icon,.gv-fields .gv-field-controls button .dashicons{width:20px;font-size:20px;height:20px;line-height:20px}.gv-fields .gv-field-controls button .gform-icon.dashicons-dismiss,.gv-fields .gv-field-controls button .dashicons.dashicons-dismiss{color:#999}.gv-fields .gv-field-controls button .gform-icon.dashicons-dismiss:hover,.gv-fields .gv-field-controls button .gform-icon.dashicons-dismiss:active,.gv-fields .gv-field-controls button .gform-icon.dashicons-dismiss:focus,.gv-fields .gv-field-controls button .dashicons.dashicons-dismiss:hover,.gv-fields .gv-field-controls button .dashicons.dashicons-dismiss:active,.gv-fields .gv-field-controls button .dashicons.dashicons-dismiss:focus{color:#C62D2D}.gv-fields .gv-field-controls button .gform-icon.dashicons-media-default,.gv-fields .gv-field-controls button .dashicons.dashicons-media-default{color:#aaa;width:20px;font-size:16px;line-height:20px;cursor:default}.gv-fields .gv-field-info{display:none;text-align:left;line-height:1.25em}html[dir=rtl] .gv-fields .gv-field-info{text-align:right}.ui-tooltip .gv-fields .gv-field-info{display:block;font-weight:normal;color:#999;text-shadow:none}.ui-tooltip .gv-fields .gv-field-info span:after{content:", "}.ui-dialog-content,.ui-dialog{cursor:default}.post-type-gravityview .ui-dialog-content{overflow:inherit;padding:0}.ui-draggable-dragging{max-width:400px !important}#directory-available-fields .gv-fields h5,#directory-available-widgets .gv-fields h5,#single-available-fields .gv-fields h5{padding:0 !important}#directory-available-fields .gv-fields span.gv-field-controls,#directory-available-widgets .gv-fields span.gv-field-controls,#single-available-fields .gv-fields span.gv-field-controls{display:none !important}.gv-label-radio{padding:0 .5em 0 0}.gv-sublabel{font-size:.9em;display:block}.gv-dialog.ui-widget-content>div{padding-left:25px;padding-right:25px}.gv-dialog .ui-dialog-content{padding:25px !important}.gv-dialog .ui-dialog-titlebar,.gv-dialog .ui-dialog-buttonpane{min-height:1.25em;line-height:1.25;padding:5px;height:auto;background:white;border:none;text-align:left;font-weight:300;font-size:1.5rem}html[dir=rtl] .gv-dialog .ui-dialog-titlebar,html[dir=rtl] .gv-dialog .ui-dialog-buttonpane{text-align:right}.gv-dialog .ui-dialog-title{display:block;width:95%}.gv-dialog .ui-dialog-titlebar{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;background:#fdfdff;border-bottom:1px solid #e2e8f0;padding:25px 12.5px 25px}.gv-dialog .gv-field-details--toggle{width:100%;display:block;font-size:.8rem;font-weight:400;border:none;line-height:1.5rem;margin:1rem 0 -6.25px;padding:0;color:#6c7781}.gv-dialog .gv-field-details--toggle .gform-icon,.gv-dialog .gv-field-details--toggle .dashicons{margin-top:.1em}.gv-dialog .gv-field-details{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;width:100%;font-size:.9rem;color:#555d66;padding-bottom:0;margin-top:12.5px}.gv-dialog .gv-field-details.gv-field-details--closed{display:none}.gv-dialog .gv-field-details .gv-field-detail{padding-right:2%;-webkit-box-flex:33%;-webkit-flex:33%;-moz-box-flex:33%;-ms-flex:33%;flex:33%;-webkit-align-self:flex-start;-ms-flex-item-align:start;align-self:flex-start;-webkit-flex-shrink:1;-ms-flex-negative:1;flex-shrink:1}html[dir=rtl] .gv-dialog .gv-field-details .gv-field-detail{padding-left:2%;padding-right:0}.gv-dialog .gv-field-details .gv-field-detail--form{-webkit-box-flex:33%;-webkit-flex:33%;-moz-box-flex:33%;-ms-flex:33%;flex:33%;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0}.gv-dialog .gv-field-details .gv-field-detail--label{font-weight:500;display:inline-block;padding-right:.33rem}.gv-dialog .gv-field-details .gv-field-detail--label:after{content:': '}html[dir=rtl] .gv-dialog .gv-field-details .gv-field-detail--label{padding-left:.33rem}.gv-dialog .ui-dialog-buttonpane{padding-left:10px !important;padding-right:10px !important;padding-bottom:10px !important}.gv-dialog .ui-dialog-buttonpane button{min-height:32px;line-height:2.30769231;padding:0 12px;font-size:14px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.gv-dialog .ui-button.ui-dialog-titlebar-close{padding:3px;top:5px;right:5px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;text-indent:-99999px}html[dir=rtl] .gv-dialog .ui-button.ui-dialog-titlebar-close{right:auto;left:5px}.gv-dialog .ui-button.ui-dialog-titlebar-close:hover{background:#f1f1f1}.gv-dialog .ui-button.ui-dialog-titlebar-close .ui-icon.ui-icon-closethick{display:none}.gv-dialog .ui-button.ui-dialog-titlebar-close:before{text-indent:0;position:absolute;left:0;top:3px;content:"\f335";font-family:Dashicons, sans-serif;font-size:30px;line-height:30px;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.gv-dialog-options{display:none;width:90%;padding:10px 0 !important;text-align:left}.gv-dialog-options fieldset.item-settings-group{border-bottom:1px solid #e2e4e7;min-height:2rem;display:block;padding:15px;padding-left:200px;margin-left:-25px;margin-right:-25px}html[dir=rtl] .gv-dialog-options fieldset.item-settings-group{padding-left:15px;padding-right:200px}.gv-dialog-options fieldset.item-settings-group:first-child{padding-top:0}.gv-dialog-options fieldset.item-settings-group:last-of-type{border-bottom:none}.gv-dialog-options fieldset.item-settings-group.item-settings-group-field .gv-setting-container{padding-left:25px;margin-left:-200px}.gv-dialog-options fieldset.item-settings-group.item-settings-group-field legend{display:none}.gv-dialog-options fieldset.item-settings-group legend{position:absolute;font-size:24px;left:25px;padding:0;color:#23282d;font-weight:200}html[dir=rtl] .gv-dialog-options fieldset.item-settings-group legend{right:25px;left:auto}@media (max-width: 850px){.gv-dialog-options fieldset.item-settings-group{margin:0;padding-left:0}.gv-dialog-options fieldset.item-settings-group:first-child legend{padding-top:0;padding-bottom:15px}.gv-dialog-options fieldset.item-settings-group.item-settings-group-field{margin:0}.gv-dialog-options fieldset.item-settings-group legend{padding-top:15px;position:relative;left:auto}}html[dir=rtl] .gv-dialog-options{text-align:right}.gv-dialog-options .subtitle{margin:0 15px .8em;padding:.5em 0 .8em;border-bottom:1px solid rgba(210,224,235,0.45)}.gv-dialog-options.gv-dialog-warning p{font-size:1.1em;margin:0 !important;padding:0 0 1em !important}.gv-dialog-options.gv-dialog-warning .dashicons{font-size:70px;width:70px;height:70px;line-height:.8;float:right;text-align:right;color:#d7dade}html[dir=rtl] .gv-dialog-options.gv-dialog-warning .dashicons{text-align:left;float:left}.gv-dialog-options .gv-setting-container{margin:0;padding:.4em 0 .8em;display:block;font-size:1.1em;clear:left}.gv-dialog-options .gv-setting-container.hidden,.gv-dialog-options .gv-setting-container.gv-setting-container-search_mode{display:none}.gv-dialog-options .gv-setting-container:last-child{padding-bottom:.5em}.gv-dialog-options .gv-setting-container label{margin:0;font-weight:normal;color:#40464d;display:inline-block;padding-right:.666em;max-width:100%}.gv-dialog-options .gv-setting-container label *{font-weight:normal}.gv-dialog-options .gv-setting-container label .gform-dropdown__group-text{font-weight:500 !important}.gv-dialog-options .gv-setting-container label[for$=only_loggedin]::after,.gv-dialog-options .gv-setting-container label[for*=show_as_link]::after{content:"\f160";font-family:Dashicons, sans-serif;font-size:20px;height:20px;width:20px;line-height:20px;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin-left:.25em;position:absolute;color:#555D66}.gv-dialog-options .gv-setting-container label[for*=show_as_link]::after{content:"\f498"}.gv-dialog-options .gv-setting-container .howto{margin:.25em 0 .5em;font-weight:normal}.gv-dialog-options .gv-setting-container code{font-style:normal !important}.gv-dialog-options .gv-setting-container.gv-setting-container-choice_display .gv-label-radio{display:block;margin:.5em 0}.gv-dialog-options fieldset legend{font-size:1.1em;padding-bottom:.2em}.gv-dialog-options .gv-setting-list li{list-style:none;display:block;padding:.2em .2em .4em}.gv-dialog-options .gv-setting-list li.gv-sub-setting{padding-left:1.7em}.gv-dialog-options input[type="text"]{display:inline-block;clear:left}.gv-dialog-options table select{width:95%;margin:0 auto;white-space:nowrap}.gv-dialog-options table{width:100%;border:none}.gv-widget-search-fields table,.postbox .gv-dialog-options table{padding-bottom:15px;margin:.5em auto}.gv-widget-search-fields table td,.gv-widget-search-fields table th,.postbox .gv-dialog-options table td,.postbox .gv-dialog-options table th{text-align:left;padding:10px 5px}html[dir=rtl] .gv-widget-search-fields table td,html[dir=rtl] .gv-widget-search-fields table th,html[dir=rtl] .postbox .gv-dialog-options table td,html[dir=rtl] .postbox .gv-dialog-options table th{text-align:right}.gv-widget-search-fields table .no-search-fields td,.postbox .gv-dialog-options table .no-search-fields td{text-align:center;font-size:15px;padding:15px 0}.gv-widget-search-fields table .no-search-fields td .gv-add-search-field,.postbox .gv-dialog-options table .no-search-fields td .gv-add-search-field{display:block;margin:1em auto}.gv-widget-search-fields table .cell-sort,.postbox .gv-dialog-options table .cell-sort{cursor:ns-resize}.gv-widget-search-fields table .cell-sort .icon,.postbox .gv-dialog-options table .cell-sort .icon{-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;padding:7px 7px 6px;background-color:#f3f4f5}.gv-widget-search-fields table .cell-sort:hover .icon,.postbox .gv-dialog-options table .cell-sort:hover .icon{background-color:#d7dade}.gv-widget-search-fields table .cell-sort.no-sort,.postbox .gv-dialog-options table .cell-sort.no-sort{cursor:default}.gv-widget-search-fields table .gv-search-fields,.gv-widget-search-fields table .gv-search-inputs,.postbox .gv-dialog-options table .gv-search-fields,.postbox .gv-dialog-options table .gv-search-inputs{width:100%}.gv-widget-search-fields table .cell-sort button.gv-remove-search-field,.gv-widget-search-fields table .cell-add-remove button.gv-remove-search-field,.postbox .gv-dialog-options table .cell-sort button.gv-remove-search-field,.postbox .gv-dialog-options table .cell-add-remove button.gv-remove-search-field{margin-left:6px}.gv-widget-search-fields table .cell-sort button .dashicons,.gv-widget-search-fields table .cell-add-remove button .dashicons,.postbox .gv-dialog-options table .cell-sort button .dashicons,.postbox .gv-dialog-options table .cell-add-remove button .dashicons{font-size:20px;height:20px;width:20px;opacity:.8;cursor:pointer}.gv-widget-search-fields table .cell-sort button .dashicons:hover,.gv-widget-search-fields table .cell-sort button .dashicons:focus,.gv-widget-search-fields table .cell-add-remove button .dashicons:hover,.gv-widget-search-fields table .cell-add-remove button .dashicons:focus,.postbox .gv-dialog-options table .cell-sort button .dashicons:hover,.postbox .gv-dialog-options table .cell-sort button .dashicons:focus,.postbox .gv-dialog-options table .cell-add-remove button .dashicons:hover,.postbox .gv-dialog-options table .cell-add-remove button .dashicons:focus{opacity:1}.gv-widget-search-fields table .cell-sort button .dashicons-plus-alt,.gv-widget-search-fields table .cell-add-remove button .dashicons-plus-alt,.postbox .gv-dialog-options table .cell-sort button .dashicons-plus-alt,.postbox .gv-dialog-options table .cell-add-remove button .dashicons-plus-alt{color:#328540}.gv-widget-search-fields table .cell-sort button .dashicons-dismiss,.gv-widget-search-fields table .cell-add-remove button .dashicons-dismiss,.postbox .gv-dialog-options table .cell-sort button .dashicons-dismiss,.postbox .gv-dialog-options table .cell-add-remove button .dashicons-dismiss{font-size:20px;height:20px;width:20px;color:#C62D2D}.gv-widget-search-fields table .cell-sort,.postbox .gv-dialog-options table .cell-sort{width:24px}.gv-widget-search-fields table .cell-add-remove,.postbox .gv-dialog-options table .cell-add-remove{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;width:50px}.wp-block-legacy-widget .gv-widget-search-fields .cell-add-remove{width:70px !important}.wp-block-legacy-widget .gv-howto.howto{font-size:small}.post-type-gravityview input.gv-merge-tag-support,.post-type-gravityview input.merge-tag-support,.widgets-php input.gv-merge-tag-support,.widgets-php input.merge-tag-support{width:95%}.post-type-gravityview .gravityview_sort_field,.widgets-php .gravityview_sort_field{max-width:250px}.post-type-gravityview #gv-loading,.widgets-php #gv-loading{text-align:center;font-size:16px;line-height:20px;padding:0 40px;display:block}.post-type-gravityview #gv-loading .spinner,.widgets-php #gv-loading .spinner{display:inline-block;margin-top:-3px;float:none}.gv-label{display:inline-block;clear:right;margin:0 1em .5em 0;color:#6c7781;text-transform:uppercase;font-size:13px;font-weight:500 !important}.gv-label::after{content:"\A";white-space:pre}.gv-label-select select{display:block}.gv-label-checkbox{padding-right:1em;display:block;width:100%;font-weight:500}.gv-label-textarea,.gv-label-text{float:left;clear:both;width:100%;display:block;margin-bottom:0.5em}.gv-label-textarea textarea.gv-merge-tag-support .gv-label-textarea textarea.merge-tag-support{width:95%}.gv-label-textarea .ui-autocomplete{top:auto !important;max-height:300px;overflow-y:auto;left:25px !important;right:25px !important;width:-webkit-calc( 100% - ( 25px * 2 ) - 2px) !important;width:-moz-calc( 100% - ( 25px * 2 ) - 2px) !important;width:calc( 100% - ( 25px * 2 ) - 2px) !important;outline:none}.gv-label-textarea .ui-autocomplete li{padding:0}.gv-label-textarea .ui-autocomplete li .ui-menu-item-wrapper{padding:4px 10px}.gv-label-textarea .ui-autocomplete .ui-menu-item .ui-state-active,.gv-label-textarea .ui-autocomplete .ui-menu-item:hover{background:#edeff0}.gv-label-textarea .ui-autocomplete .ui-menu-item-wrapper:active{background:#e2e4e7}#gv-direct-access:before{font:normal 20px/1 Dashicons;speak:never;display:inline-block;margin-left:-1px;padding-right:3px;vertical-align:top;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#gv-direct-access:before{content:"\f528";color:#bd8600}#gv-direct-access.embed-only:before{content:"\f160";color:#00a32a}.button.button-link.gv-add-field{text-decoration:none;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;min-height:40px;line-height:40px;padding:0 1.25rem;margin-top:-4px}.button.button-link.gv-add-field .dashicons{padding:0 .25em;line-height:40px}.gv-droppable-area .gv-add-field[data-formid]{max-width:100% !important;overflow-x:hidden;-o-text-overflow:ellipsis;text-overflow:ellipsis;margin-bottom:.5em}.gv-field-label .gv-icon,.gv-field-label .gform-icon,.gv-field-label .dashicons{display:none}.gv-field-label .dashicons-welcome-write-blog,.gv-field-label .dashicons-trash,.gv-field-label .dashicons-controls-repeat,.gv-field-label .dashicons-admin-comments,.gv-field-label .dashicons-yes-alt,.gv-field-label .dashicons-editor-code,.gv-field-label[data-original-title="Gravity Forms"] .background-icon,.gv-field-label[data-original-title="GravityView View"] .background-icon,.gv-field-label .dashicons-lock,.gv-field-label .dashicons-warning,.gv-field-label .dashicons-search,.gv-field-label .dashicons-media-default{display:inline-block !important;background-repeat:no-repeat;-moz-background-size:contain;background-size:contain;background-position:center center}.gv-fields.gv-nonexistent-form-field span.gv-field-label,.gv-fields.gv-nonexistent-form-field:hover span.gv-field-label{padding:8px 12px}.gv-fields.gv-nonexistent-form-field span.gv-field-label-text-container,.gv-fields.gv-nonexistent-form-field:hover span.gv-field-label-text-container{color:#7e8993}.gv-fields.gv-nonexistent-form-field .dashicons-warning,.gv-fields.gv-nonexistent-form-field:hover .dashicons-warning{color:#ffb900}.gform-admin .gform-visually-hidden,#gv-view-configuration-tabs .gform-visually-hidden{border:0;clip:rect(0, 0, 0, 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.gv-section-header{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;margin-top:-1em}.gv-section-header h4{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;-ms-flex:1;flex:1}.gv-section-header .view-template-select{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;-ms-flex:1;flex:1;height:42px;width:100%;position:relative;margin:1rem 0 1rem 1rem;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0}
+.widgets-php .gv-overlay{display:none}#gv-widget-search-settings-link{display:none;text-align:center;font-size:110%}#gv-widget-search-settings-link .dashicons{margin-right:5px;line-height:20px !important;height:20px !important;font-size:20px !important}#gv-widget-search-settings-link a{text-decoration:none;text-align:center}.gv_tooltip,.post-type-gravityview .gf_tooltip{font-size:0.001px;background:transparent;display:inline-block;text-align:center;border-radius:100px;padding:.2rem;margin:0 2px 0 0;height:16px;width:16px;text-decoration:none;color:#424242;zoom:1;filter:alpha(opacity=50);opacity:0.5;border:none;cursor:help}.gv_tooltip:before,.post-type-gravityview .gf_tooltip:before{display:inline-block;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font:normal normal normal 14px/1 'gravityview';content:"\6b"}.rtl .gv_tooltip,.rtl .post-type-gravityview .gf_tooltip{margin:0 0 0 2px}body .ui-tooltip{padding:0;position:absolute;width:460px;max-width:100%;z-index:999999 !important;background:white;border:1px solid #e2e4e7;-webkit-box-shadow:0 3px 30px rgba(25,30,35,0.1);box-shadow:0 3px 30px rgba(25,30,35,0.1);font-size:1em;overflow-y:hidden}body .ui-tooltip:has(.gv-widget-picker-container){width:640px}body .ui-tooltip br{display:none}* html .ui-tooltip{background-image:none}.ui-tooltip-content{padding:20px;color:#40464d;max-height:500px;overflow-y:auto;position:relative}.ui-tooltip-content h6{font-size:17px;color:#40464d}.ui-tooltip-content p{font-size:14px}.gravityview-item-picker-tooltip .ui-tooltip-content{padding:0;overflow-x:hidden}.ui-tooltip-content:after{content:"";display:table;clear:both}.ui-tooltip-content .close{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}.rtl .ui-tooltip-content .close{right:-100000px;left:auto}.ui-tooltip-content .gv-field-controls,.ui-tooltip-content .gv-add-field-before,.ui-tooltip-content .gv-field-duplicate{display:none}.ui-tooltip-content div[role=listbox]{padding:8px;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-flow:row wrap;-moz-box-orient:horizontal;-moz-box-direction:normal;flex-flow:row wrap;-webkit-justify-content:space-around;justify-content:space-around}.ui-tooltip-content [data-cols="2"] .gv-fields{width:50%}.ui-tooltip-content .gv-fields{background:transparent;border:1px solid white;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;border-radius:4px;padding:.5em .75em;margin-bottom:10px;width:50%}.ui-tooltip-content .gv-fields.trigger--hover,.ui-tooltip-content .gv-fields:hover{border:1px solid #7e8993;color:#191e23}.ui-tooltip-content .gv-fields.trigger--active,.ui-tooltip-content .gv-fields:active{border-color:#32373C;background:rgba(210,224,235,0.7)}.ui-tooltip-content .gv-fields h5{float:none;width:100%;font-weight:normal}.ui-tooltip-content .gv-fields .gv-field-info{display:block;font-weight:normal;color:#999;text-shadow:none;margin-top:.5rem}.ui-tooltip-content .gv-fields .gv-field-info span:after{content:", "}.ui-tooltip-content .gv-fields .gv-field-label{display:block;width:100%;margin-bottom:0}.ui-tooltip-content .gv-fields .dashicons,.ui-tooltip-content .gv-fields .gform-icon,.ui-tooltip-content .gv-fields .material-icons{display:table-cell;margin:0 auto 10px;font-size:24px;width:24px;height:24px}.ui-tooltip-content .gv-fields[data-fieldid="all-fields"]{width:100%;padding-left:12px !important}.rtl .ui-tooltip-content .gv-fields[data-fieldid="all-fields"]{padding-right:12px !important;padding-left:0 !important}.ui-tooltip-content .gv-items-picker-container .gv-fields{padding:16px 12px}.ui-tooltip-content .gv-items-picker-container .gv-fields *{cursor:pointer !important}.ui-tooltip-content .gv-items-picker-container .dashicons,.ui-tooltip-content .gv-items-picker-container .gform-icon,.ui-tooltip-content .gv-items-picker-container .gv-icon{display:inline-block;margin:0 .2em 0 0;color:#6c7781;width:.9em}.rtl .ui-tooltip-content .gv-items-picker-container .dashicons,.rtl .ui-tooltip-content .gv-items-picker-container .gform-icon,.rtl .ui-tooltip-content .gv-items-picker-container .gv-icon{margin:0 0 0 .2em}.ui-tooltip-content .gv-items-picker-container .dashicons.background-icon,.ui-tooltip-content .gv-items-picker-container .gform-icon.background-icon,.ui-tooltip-content .gv-items-picker-container .gv-icon.background-icon{-webkit-transition:opacity 0.1s ease-in;-moz-transition:opacity 0.1s ease-in;transition:opacity 0.1s ease-in;background-repeat:no-repeat !important;-webkit-background-size:contain;background-size:contain;background-position:center center;opacity:.566}.ui-tooltip-content .gv-items-picker-container .gv-fields.trigger--hover .dashicons,.ui-tooltip-content .gv-items-picker-container .gv-fields.trigger--hover .gv-icon,.ui-tooltip-content .gv-items-picker-container .gv-fields:hover .dashicons,.ui-tooltip-content .gv-items-picker-container .gv-fields:hover .gv-icon{color:#40464d}.ui-tooltip-content .gv-items-picker-container .gv-fields.trigger--hover .dashicons.background-icon,.ui-tooltip-content .gv-items-picker-container .gv-fields.trigger--hover .gv-icon.background-icon,.ui-tooltip-content .gv-items-picker-container .gv-fields:hover .dashicons.background-icon,.ui-tooltip-content .gv-items-picker-container .gv-fields:hover .gv-icon.background-icon{-webkit-transition:opacity 0.1s ease-in;-moz-transition:opacity 0.1s ease-in;transition:opacity 0.1s ease-in;opacity:.766}.ui-tooltip-content .gv-items-picker-container[data-layout="list"] .gv-field-label-text-container{display:inline-block;display:-webkit-inline-box;display:-webkit-inline-flex;display:-moz-inline-box;display:inline-flex;white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis}.ui-tooltip-content .gv-items-picker-container[data-layout="grid"] .gv-field-label-text-container{max-width:80%}.ui-tooltip-content .gv-items-picker-container[data-layout="list"] .gv-fields.gv-child-field{padding-top:3px;padding-bottom:4px}.ui-tooltip-content .gv-items-picker-container .gv-child-field .gv-icon-level-down{display:inline-block;position:relative;top:.1em}.ui-tooltip-content .gv-items-picker-container[data-layout="list"] .gv-fields{width:100%;min-height:36px;font-size:13px;padding:7px 12px 8px 48px;margin:0;line-height:24px}.rtl .ui-tooltip-content .gv-items-picker-container[data-layout="list"] .gv-fields{padding:7px 48px 8px 12px}.ui-tooltip-content .gv-items-picker-container[data-layout="list"] .gv-fields *{text-align:left}.rtl .ui-tooltip-content .gv-items-picker-container[data-layout="list"] .gv-fields *{text-align:right}.ui-tooltip-content .gv-items-picker-container[data-layout="list"] .gform-icon,.ui-tooltip-content .gv-items-picker-container[data-layout="list"] .dashicons{display:inline-block;margin:0 8px 0 -36px}.rtl .ui-tooltip-content .gv-items-picker-container[data-layout="list"] .gform-icon,.rtl .ui-tooltip-content .gv-items-picker-container[data-layout="list"] .dashicons{margin:0 -36px 0 8px}.ui-tooltip-content .gv-items-picker-container[data-layout="list"] .gv-field-info{display:none}.ui-tooltip-content .gv-items-picker-container.gv-widget-picker-container .gv-icon,.ui-tooltip-content .gv-items-picker-container.gv-widget-picker-container .gform-icon,.ui-tooltip-content .gv-items-picker-container.gv-widget-picker-container .dashicons{padding:17px;border-radius:5px;background-color:#f6f7f8;-webkit-background-size:24px 24px !important;background-size:24px !important;background-position:center center;display:table-cell;float:left;font-size:24px !important;width:24px !important;height:24px !important;line-height:24px !important;margin:0 10px 6px 0 !important}.ui-tooltip-content .gv-items-picker-container.gv-widget-picker-container .gv-fields{display:block;width:50%;padding:16px 12px;line-height:1.25em}.ui-tooltip-content .gv-items-picker-container.gv-widget-picker-container .gv-fields h5{font-weight:500;color:#23282d}.ui-tooltip-content .gv-items-picker-container.gv-widget-picker-container .gv-field-info{margin:.25em 0 0 0;display:table-row;color:#6c7781}.ui-tooltip-content [data-fieldid="all-fields"] *{text-align:center !important}.ui-tooltip-content .gv-field-filter-form{z-index:10000;position:-webkit-sticky;position:sticky;top:0;width:460px;background:#f6f7f8;margin:0;padding:16px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;border-bottom:1px solid #e2e8f0;background-color:#fdfdff;border-bottom-left-radius:6px;border-bottom-right-radius:6px}.rtl .ui-tooltip-content .gv-field-filter-form{text-align:right}.ui-tooltip-content .gv-field-filter-form input.gv-field-filter{top:0;left:0;width:75%;height:2.5em;padding-left:30px;display:inline-block;line-height:1em}.ui-tooltip-content .gv-field-filter-form input.gv-field-filter::-webkit-input-placeholder{line-height:2.5em}.ui-tooltip-content .gv-field-filter-form input.gv-field-filter::-moz-placeholder{line-height:2.5em}.ui-tooltip-content .gv-field-filter-form input.gv-field-filter:-ms-input-placeholder{line-height:2.5em}.ui-tooltip-content .gv-field-filter-form input.gv-field-filter::-ms-input-placeholder{line-height:2.5em}.ui-tooltip-content .gv-field-filter-form input.gv-field-filter:-moz-placeholder-shown{line-height:2.5em}.ui-tooltip-content .gv-field-filter-form input.gv-field-filter:-ms-input-placeholder{line-height:2.5em}.ui-tooltip-content .gv-field-filter-form input.gv-field-filter::placeholder,.ui-tooltip-content .gv-field-filter-form input.gv-field-filter:placeholder-shown{line-height:2.5em}.rtl .ui-tooltip-content .gv-field-filter-form input.gv-field-filter{text-align:right;padding-left:8px;padding-right:30px;left:auto;right:0}.ui-tooltip-content .gv-field-filter-form:before{font-family:Dashicons, sans-serif;content:"\f179";display:block;height:26px;width:26px;margin-left:3px;line-height:35px;font-size:26px;position:absolute;color:#ccd0d4}.rtl .ui-tooltip-content .gv-field-filter-form:before{left:auto;margin-left:auto;margin-right:3px}.ui-tooltip-content .gv-field-filter-form .button-group{float:right;height:35px;border-radius:3px}.rtl .ui-tooltip-content .gv-field-filter-form .button-group{float:left}.ui-tooltip-content .gv-field-filter-form span[role=button]{display:inline-block;cursor:pointer;margin:0;border-color:#7e8993;color:#8f98a1;border-radius:3px;height:35px}.ui-tooltip-content .gv-field-filter-form span[role=button]:first-child{border-right:0}.ui-tooltip-content .gv-field-filter-form span[role=button] .gform-icon,.ui-tooltip-content .gv-field-filter-form span[role=button] .dashicons{line-height:35px}.ui-tooltip-content .gv-field-filter-form span[role=button]:hover{background:rgba(210,224,235,0.2)}.ui-tooltip-content .gv-field-filter-form span[role=button].active{background:rgba(210,224,235,0.6);color:#40464D;border-color:#7e8993}.ui-tooltip-content .gv-no-results{text-align:center;font-size:16px;font-style:italic;padding:0 24px 32px 24px;margin:1em 0;vertical-align:top}.top .ui-tooltip-content::after{bottom:-14px;left:48%;border-color:#999 transparent;border-width:10px 10px 0}#gravityview_settings{padding:0;display:none}#gravityview_settings .gform-field-filter{clear:both;padding:.5em 0 0}#gravityview_settings .inside{padding:0;margin:0;background:#fff;*zoom:1}#gravityview_settings .inside:before,#gravityview_settings .inside:after{content:" ";display:table}#gravityview_settings .inside:after{clear:both}#gravityview_settings ul.ui-tabs-nav{line-height:1em;float:left;width:30%;max-width:20em;margin:0;position:relative;padding:0 0 30px;background-color:#fff;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.rtl #gravityview_settings ul.ui-tabs-nav{float:right}#side-sortables #gravityview_settings ul.ui-tabs-nav{width:100%;padding-bottom:0;border:none}#gravityview_settings ul.ui-tabs-nav li{display:block;padding:0;margin:0;top:0;width:100%}#gravityview_settings ul.ui-tabs-nav li.ui-state-disabled{display:none}#gravityview_settings ul.ui-tabs-nav li a{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:13px;line-height:24px !important;margin:0;display:block;width:100%;text-decoration:none;border:none;outline:none;-webkit-box-shadow:none;box-shadow:none;border-bottom:1px solid rgba(210,224,235,0.45);color:#40464d;background:none;-webkit-transition-duration:0s;-moz-transition-duration:0s;transition-duration:0s;text-overflow:ellipsis;overflow-x:hidden}#gravityview_settings ul.ui-tabs-nav li:first-child a{border-top:0 !important}#gravityview_settings ul.ui-tabs-nav li.ui-state-hover a{background-color:rgba(210,224,235,0.2);color:#32373c}#gravityview_settings ul.ui-tabs-nav li.ui-state-active a{position:relative;background-color:rgba(210,224,235,0.45);-webkit-box-shadow:0 1px 2px rgba(215,218,222,0.5);box-shadow:0 1px 2px rgba(215,218,222,0.5);color:#191e23}#gravityview_settings #gravityview-metabox-content-container{background:transparent;float:left;width:100%;border-left:1px solid #eee;padding-left:20em;padding-left:-webkit-calc( min( 30%, 20em ));padding-left:-moz-calc( min( 30%, 20em ));padding-left:calc( min( 30%, 20em ));margin-left:-20em;margin-left:-webkit-calc( min( 30%, 20em ) * -1);margin-left:-moz-calc( min( 30%, 20em ) * -1);margin-left:calc( min( 30%, 20em ) * -1);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.rtl #gravityview_settings #gravityview-metabox-content-container{float:right;border-left:none;border-right:1px solid #eee}.rtl #gravityview_settings #gravityview-metabox-content-container{padding-left:0;margin-left:0;padding-right:20em;padding-right:-webkit-calc(min(30%, 20em));padding-right:-moz-calc(min(30%, 20em));padding-right:calc(min(30%, 20em));margin-right:-20em;margin-right:-webkit-calc(min(30%, 20em) * -1);margin-right:-moz-calc(min(30%, 20em) * -1);margin-right:calc(min(30%, 20em) * -1)}#side-sortables #gravityview_settings #gravityview-metabox-content-container{width:100%}#side-sortables #gravityview_settings #gravityview-metabox-content-container th,#side-sortables #gravityview_settings #gravityview-metabox-content-container td{*zoom:1;display:block;padding:10px 10px 3px}#side-sortables #gravityview_settings #gravityview-metabox-content-container th:before,#side-sortables #gravityview_settings #gravityview-metabox-content-container th:after,#side-sortables #gravityview_settings #gravityview-metabox-content-container td:before,#side-sortables #gravityview_settings #gravityview-metabox-content-container td:after{content:" ";display:table}#side-sortables #gravityview_settings #gravityview-metabox-content-container th:after,#side-sortables #gravityview_settings #gravityview-metabox-content-container td:after{clear:both}.rtl #side-sortables #gravityview_settings #gravityview-metabox-content-container th,.rtl #side-sortables #gravityview_settings #gravityview-metabox-content-container td{padding:10px 0 3px 10px}#gravityview_settings #gravityview-metabox-content-container .form-table{margin-top:0;padding-top:0}#gravityview_settings #gravityview-metabox-content-container .form-table caption{text-align:left;font-size:14px;padding:8px 10px;margin:0;line-height:1.4;font-weight:600}.rtl #gravityview_settings #gravityview-metabox-content-container .form-table caption{text-align:right}#gravityview_settings #gravityview-metabox-content-container .form-table label .howto{margin-top:5px;white-space:normal}#gravityview_settings #gravityview-metabox-content-container .ui-tabs-panel{*zoom:1;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:0;border:none}#gravityview_settings #gravityview-metabox-content-container .ui-tabs-panel:before,#gravityview_settings #gravityview-metabox-content-container .ui-tabs-panel:after{content:" ";display:table}#gravityview_settings #gravityview-metabox-content-container .ui-tabs-panel:after{clear:both}#side-sortables #gravityview_settings #gravityview-metabox-content-container .ui-tabs-panel{margin-top:1px;border-top:2px solid #ccc}#gravityview_settings #gravityview-metabox-content-container .ui-tabs-panel p{margin:9px 0}#gravityview_settings #gravityview-metabox-content-container .ui-tabs-panel p.form-field,#gravityview_settings #gravityview-metabox-content-container .ui-tabs-panel fieldset.form-field{padding:5px 20px 5px 162px !important}.rtl #gravityview_settings #gravityview-metabox-content-container .ui-tabs-panel p.form-field,.rtl #gravityview_settings #gravityview-metabox-content-container .ui-tabs-panel fieldset.form-field{padding:5px 162px 5px 20px !important}#gravityview_settings #gravityview-metabox-content-container .ui-tabs-panel .description{padding:0;margin:0 0 0 7px;clear:none;display:inline}.rtl #gravityview_settings #gravityview-metabox-content-container .ui-tabs-panel .description{margin:0 7px 0 0}#gravityview_settings #gravityview-metabox-content-container .ui-tabs-panel div+input{margin-top:5px}#gravityview_settings #gravityview-metabox-content-container .ui-tabs-panel textarea,#gravityview_settings #gravityview-metabox-content-container .ui-tabs-panel input,#gravityview_settings #gravityview-metabox-content-container .ui-tabs-panel select{margin:0}#gravityview_settings #gravityview-metabox-content-container .ui-tabs-panel textarea[type="checkbox"],#gravityview_settings #gravityview-metabox-content-container .ui-tabs-panel input[type="checkbox"],#gravityview_settings #gravityview-metabox-content-container .ui-tabs-panel select[type="checkbox"]{margin-top:-4px}#gravityview_settings #gravityview-metabox-content-container .ui-tabs-panel textarea::-webkit-input-placeholder, #gravityview_settings #gravityview-metabox-content-container .ui-tabs-panel input::-webkit-input-placeholder, #gravityview_settings #gravityview-metabox-content-container .ui-tabs-panel select::-webkit-input-placeholder{color:#8F98A1}#gravityview_settings #gravityview-metabox-content-container .ui-tabs-panel textarea::-moz-placeholder, #gravityview_settings #gravityview-metabox-content-container .ui-tabs-panel input::-moz-placeholder, #gravityview_settings #gravityview-metabox-content-container .ui-tabs-panel select::-moz-placeholder{color:#8F98A1}#gravityview_settings #gravityview-metabox-content-container .ui-tabs-panel textarea:-ms-input-placeholder, #gravityview_settings #gravityview-metabox-content-container .ui-tabs-panel input:-ms-input-placeholder, #gravityview_settings #gravityview-metabox-content-container .ui-tabs-panel select:-ms-input-placeholder{color:#8F98A1}#gravityview_settings #gravityview-metabox-content-container .ui-tabs-panel textarea::-ms-input-placeholder, #gravityview_settings #gravityview-metabox-content-container .ui-tabs-panel input::-ms-input-placeholder, #gravityview_settings #gravityview-metabox-content-container .ui-tabs-panel select::-ms-input-placeholder{color:#8F98A1}#gravityview_settings #gravityview-metabox-content-container .ui-tabs-panel textarea::placeholder,#gravityview_settings #gravityview-metabox-content-container .ui-tabs-panel input::placeholder,#gravityview_settings #gravityview-metabox-content-container .ui-tabs-panel select::placeholder{color:#8F98A1}#gravityview_settings #gravityview-metabox-content-container .ui-tabs-panel textarea{vertical-align:top;height:3.5em;line-height:1.5em}#gravityview_settings #gravityview-metabox-content-container .ui-tabs-panel textarea[rows]{height:auto}#gravityview_settings #gravityview-metabox-content-container .ui-tabs-panel input.button{width:auto;margin-left:8px}.rtl #gravityview_settings #gravityview-metabox-content-container .ui-tabs-panel input.button{margin-left:0;margin-right:8px}#gravityview_settings span.gravityview-upgrade-pill{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;border-radius:6px;background-color:#FFF;padding:6px 8px;color:#a2aab2;text-transform:uppercase;font-size:10px;font-weight:700;line-height:1;position:absolute;top:14px;right:13px}#gravityview_settings span.gravityview-upgrade-pill:dir(rtl){right:auto;left:13px}#gravityview_settings span.gravityview-upgrade-pill svg{width:10px;height:10px}#gravityview_settings span.gravityview-upgrade-pill span{width:0;overflow:hidden}#gravityview_settings a.gravityview-upgrade:hover span.gravityview-upgrade-pill{color:#191e23}#gravityview_settings a.gravityview-upgrade:hover span.gravityview-upgrade-pill span{width:auto;margin-left:6px}#gravityview_settings a.gravityview-upgrade:hover span.gravityview-upgrade-pill:dir(rtl) span{margin-left:0;margin-right:6px}#gravityview_settings .gk-gravityview-placeholder-container{margin:16px;background:white;overflow:hidden;border-radius:4px;border:1px #DDDDE5 solid;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;-webkit-flex-wrap:wrap;flex-wrap:wrap}@-webkit-keyframes spinner-animation{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@-moz-keyframes spinner-animation{0%{-moz-transform:rotate(0deg);transform:rotate(0deg)}to{-moz-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes spinner-animation{0%{-webkit-transform:rotate(0deg);-moz-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(359deg);-moz-transform:rotate(359deg);transform:rotate(359deg)}}#gravityview_settings .gk-gravityview-placeholder-container .loading{display:none;width:16px;height:16px;margin:2px;-webkit-animation:spinner-animation 1s cubic-bezier(0.6, 0, 0.4, 1) infinite;-moz-animation:spinner-animation 1s cubic-bezier(0.6, 0, 0.4, 1) infinite;animation:spinner-animation 1s cubic-bezier(0.6, 0, 0.4, 1) infinite}#gravityview_settings .gk-gravityview-placeholder-container .gk-gravityview-placeholder-content{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;padding:16px}#gravityview_settings .gk-gravityview-placeholder-container .gk-gravityview-placeholder-icon{width:48px;height:48px}#gravityview_settings .gk-gravityview-placeholder-container .gk-gravityview-placeholder-learn-more{text-align:center;margin:1.5em auto;font-size:1.1em}#gravityview_settings .gk-gravityview-placeholder-container .gk-gravityview-placeholder-learn-more a{display:inline-block}#gravityview_settings .gk-gravityview-placeholder-container .gk-gravityview-placeholder-summary{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;flex:1;line-height:1.5}#gravityview_settings .gk-gravityview-placeholder-container .gk-gravityview-placeholder-summary h3{display:block;font-weight:500;vertical-align:middle;color:#191e23;font-size:16px;margin:0;padding:0}#gravityview_settings .gk-gravityview-placeholder-container .gk-gravityview-placeholder-summary .howto{font-size:14px;margin:0}#gravityview_settings .gk-gravityview-placeholder-container .gk-gravityview-placeholder-summary .howto p{margin:0 !important}#gravityview_settings .gk-gravityview-placeholder-container .gk-gravityview-placeholder-button{display:-webkit-inline-box;display:-webkit-inline-flex;display:-moz-inline-box;display:inline-flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;justify-content:center;-webkit-box-flex:0;-webkit-flex-grow:0;-moz-box-flex:0;flex-grow:0}#gravityview_settings .gk-gravityview-placeholder-container .gk-gravityview-placeholder-button.is-idle{cursor:progress;background:#8f98a1;border-color:#8f98a1}#gravityview_settings .gk-gravityview-placeholder-container .gk-gravityview-placeholder-button.is-idle .loading{display:block}#gravityview_settings .gk-gravityview-placeholder-container .gk-gravityview-placeholder-button.is-error{background:#c0461e;border-color:#c0461e}@media (min-width: 1200px){#gravityview_settings .gk-gravityview-placeholder-container.gk-gravityview-placeholder-container--inline .gk-gravityview-placeholder-icon{margin-right:16px}#gravityview_settings .gk-gravityview-placeholder-container.gk-gravityview-placeholder-container--inline .gk-gravityview-placeholder-icon:dir(rtl){margin-left:16px;margin-right:0}}#gravityview_settings .gk-gravityview-placeholder-container.gk-gravityview-placeholder-container--inline .gk-gravityview-placeholder-body{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;flex:1}@media (min-width: 1300px){#gravityview_settings .gk-gravityview-placeholder-container.gk-gravityview-placeholder-container--inline .gk-gravityview-placeholder-actions{margin-left:16px}#gravityview_settings .gk-gravityview-placeholder-container.gk-gravityview-placeholder-container--inline .gk-gravityview-placeholder-actions:dir(rtl){margin-left:0;margin-right:16px}}@media (max-width: 1299px){#gravityview_settings .gk-gravityview-placeholder-container.gk-gravityview-placeholder-container--inline .gk-gravityview-placeholder-body{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column}#gravityview_settings .gk-gravityview-placeholder-container.gk-gravityview-placeholder-container--inline .gk-gravityview-placeholder-actions{margin-top:16px}}@media (max-width: 1199px){#gravityview_settings .gk-gravityview-placeholder-container.gk-gravityview-placeholder-container--inline .gk-gravityview-placeholder-content{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;text-align:center}#gravityview_settings .gk-gravityview-placeholder-container.gk-gravityview-placeholder-container--inline .gk-gravityview-placeholder-icon{margin-bottom:16px}}#gravityview_settings .gk-gravityview-placeholder-container.gk-gravityview-placeholder-container--card{max-width:400px;margin:32px auto;width:-webkit-calc(100% - 64px);width:-moz-calc(100% - 64px);width:calc(100% - 64px)}#gravityview_settings .gk-gravityview-placeholder-container.gk-gravityview-placeholder-container--card .gk-gravityview-placeholder-header{aspect-ratio:16/9;width:100%;background-color:#FF1B67}#gravityview_settings .gk-gravityview-placeholder-container.gk-gravityview-placeholder-container--card .gk-gravityview-placeholder-content{-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;text-align:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;padding:32px 32px}#gravityview_settings .gk-gravityview-placeholder-container.gk-gravityview-placeholder-container--card .gk-gravityview-placeholder-icon{margin-bottom:24px;width:80px;height:80px}#gravityview_settings .gk-gravityview-placeholder-container.gk-gravityview-placeholder-container--card .gk-gravityview-placeholder-summary{line-height:20px}#gravityview_settings .gk-gravityview-placeholder-container.gk-gravityview-placeholder-container--card .gk-gravityview-placeholder-summary h3{margin-bottom:16px}#gravityview_settings .gk-gravityview-placeholder-container.gk-gravityview-placeholder-container--card .gk-gravityview-placeholder-summary p{margin-top:16px !important}#gravityview_settings .gk-gravityview-placeholder-container.gk-gravityview-placeholder-container--card .gk-gravityview-placeholder-actions{margin-top:36px}:root{--bs-datepicker: 0 0.125rem 0.75rem rgba(28, 31, 63, 0.09);--bs-popup: 0 0 1px rgba(18, 25, 97, 0.24), 0 24px 24px rgba(18, 25, 97, 0.03), 0 2px 2px rgba(18, 25, 97, 0.03), 0 4px 4px rgba(18, 25, 97, 0.03), 0 8px 8px rgba(18, 25, 97, 0.03), 0 16px 16px rgba(18, 25, 97, 0.03);--bs-focus-light: 0 0 0 1px var(--c-focus);--bs-focus: 0 0 0 2px var(--c-focus);--bs-focus-sm: 0 1px 2px rgba(0, 0, 0, 0.05), 0 0 0 2px var(--c-white-lilac);--bs-button: 0 1px 2px rgba(0, 0, 0, 0.05);--bs-small: var(--bs-datepicker);--bs-input-focus: 0 0.125rem 0.0675rem rgba(28, 31, 63, 0.0634624), 0 0 0 2px var(--c-focus);--bs-input-hover: 0 0.25rem 0.25rem rgba(18, 25, 97, 0.0405344);--bs-outline-light: 0 2px 2px rgba(58, 58, 87, 0.0596411);--bs-outline-light-hover: 0 4px 2px rgba(58, 58, 87, 0.1);--bs-outline-light-hover-alt: 0 2px 2px rgba(58, 58, 87, 0.0796);--c-white: #fff;--c-black: #000;--c-titan-white: #fdfdff;--c-zircon: #fbfdff;--c-light-blue: #f6f9fc;--c-comet: #5b5e80;--c-blue-haze: #c3c5db;--c-white-lilac: #ecedf8;--c-white-iris: #f4f5fb;--c-snuff: #d5d7e9;--c-santas: #9b9db8;--c-amethyst-smoke: #9092b2;--c-gravity-blue: #3e7da6;--c-primary-light: #3985b7;--c-chathams: #0f3d6c;--c-orange: #f15a2b;--c-green: #22a753;--c-hunter: #276a52;--c-tara: #e1f6ed;--c-emerald: #57c091;--c-red: #dd301d;--c-background-red: #feefef;--c-blue-ribbon: #175cff;--c-yellow: #ffbe03;--c-warning: #a16938;--c-port: #242748;--c-port-dark: #1c1f3f;--c-spindle: #bed8ed;--c-placeholder: var(--c-comet);--c-border: var(--c-amethyst-smoke);--c-button-disabled: #639cc1;--c-focus: var(--c-spindle);--c-icon: var(--c-amethyst-smoke);--c-text: var(--c-port);--c-disabled: var(--c-white-iris);--c-error: var(--c-red);--c-button: var(--c-gravity-blue);--h-editor-accordion-toggles: 3.375rem;--gform-icon--zoho: "\e977";--gform-icon--zapier: "\e976";--gform-icon--webhooks: "\e975";--gform-icon--warning-amber: "\e973";--gform-icon--warning: "\e974";--gform-icon--vote: "\e972";--gform-icon--videopipe: "\e971";--gform-icon--verified: "\e970";--gform-icon--user: "\e97d";--gform-icon--upload: "\e96f";--gform-icon--twilio: "\e96e";--gform-icon--trello: "\e96d";--gform-icon--trash: "\e985";--gform-icon--total: "\e96c";--gform-icon--tools: "\e97f";--gform-icon--title: "\e96b";--gform-icon--time: "\e96a";--gform-icon--tags: "\e969";--gform-icon--survey: "\e968";--gform-icon--style: "\e967";--gform-icon--stripe: "\e966";--gform-icon--st-plus: "\e951";--gform-icon--st-circle: "\e94a";--gform-icon--square: "\e965";--gform-icon--slack: "\e964";--gform-icon--single-line-text: "\e963";--gform-icon--signature: "\e962";--gform-icon--shipping: "\e961";--gform-icon--settings: "\e986";--gform-icon--sendgrid: "\e960";--gform-icon--section: "\e95f";--gform-icon--search: "\e95e";--gform-icon--renew: "\e980";--gform-icon--recaptcha: "\e95d";--gform-icon--radio-button: "\e95c";--gform-icon--quiz: "\e95b";--gform-icon--question-mark: "\e97e";--gform-icon--question: "\e95a";--gform-icon--quantity: "\e901";--gform-icon--product: "\e959";--gform-icon--postmark: "\e958";--gform-icon--post-image: "\e956";--gform-icon--post-custom-field: "\e957";--gform-icon--polls: "\e953";--gform-icon--poll-alt: "\e954";--gform-icon--poll: "\e955";--gform-icon--pointer: "\e952";--gform-icon--plus-regular: "\e982";--gform-icon--place: "\e950";--gform-icon--phone: "\e94f";--gform-icon--paypal: "\e94e";--gform-icon--password1: "\e94d";--gform-icon--password: "\e97c";--gform-icon--paragraph-text: "\e94c";--gform-icon--page: "\e94b";--gform-icon--numbers-alt: "\e948";--gform-icon--numbers: "\e949";--gform-icon--notifications-active: "\e97b";--gform-icon--name-2: "\e97a";--gform-icon--name: "\e947";--gform-icon--multi-select: "\e946";--gform-icon--monetization-on: "\e945";--gform-icon--mollie: "\e944";--gform-icon--misc: "\e943";--gform-icon--minus-regular: "\e981";--gform-icon--minus: "\e942";--gform-icon--merge-tag: "\e941";--gform-icon--mailgun: "\e940";--gform-icon--mailchimp: "\e93f";--gform-icon--mail: "\e93e";--gform-icon--mad-mimi: "\e93d";--gform-icon--list: "\e93c";--gform-icon--link: "\e93b";--gform-icon--jetsloth: "\e93a";--gform-icon--info-outline: "\e988";--gform-icon--info: "\e98d";--gform-icon--icontact: "\e937";--gform-icon--hubspot: "\e936";--gform-icon--html-code: "\e935";--gform-icon--how-to-reg: "\e934";--gform-icon--hidden: "\e933";--gform-icon--helpscout: "\e932";--gform-icon--help: "\e939";--gform-icon--gravity-pdf: "\e930";--gform-icon--gravity-logo: "\e92f";--gform-icon--get-response: "\e92e";--gform-icon--freshbooks: "\e92d";--gform-icon--format-quote1: "\e92c";--gform-icon--format-quote: "\e900";--gform-icon--for-gravity: "\e92b";--gform-icon--flag-alt: "\e92a";--gform-icon--flag: "\e929";--gform-icon--excerpt: "\e928";--gform-icon--entries: "\e927";--gform-icon--emma: "\e926";--gform-icon--embed: "\e925";--gform-icon--embed-alt: "\e991";--gform-icon--email-octopus: "\e924";--gform-icon--ellipsis: "\e923";--gform-icon--duplicate: "\e922";--gform-icon--dropdown: "\e921";--gform-icon--dropbox: "\e920";--gform-icon--drag-indicator: "\e91e";--gform-icon--drag: "\e91f";--gform-icon--dollar: "\e91d";--gform-icon--design: "\e979";--gform-icon--delete: "\e91c";--gform-icon--date: "\e91b";--gform-icon--credit-card: "\e978";--gform-icon--create: "\e919";--gform-icon--coupon-alt: "\e918";--gform-icon--coupon: "\e917";--gform-icon--copy: "e990";--gform-icon--constant-contact: "\e916";--gform-icon--consent: "\e915";--gform-icon--confirmations: "\e987";--gform-icon--color-pallet: "\e914";--gform-icon--cog: "\e913";--gform-icon--clever-reach: "\e912";--gform-icon--circle-star: "\e98c";--gform-icon--circle-notice: "\e98e";--gform-icon--circle-delete: "\e98a";--gform-icon--circle-close: "\e938";--gform-icon--circle-check: "\e931";--gform-icon--circle-arrow-down: "\e989";--gform-icon--chevron: "\e911";--gform-icon--check-box: "\e910";--gform-icon--check: "\e983";--gform-icon--chained-selects: "\e91a";--gform-icon--category: "\e90f";--gform-icon--capsule: "\e90e";--gform-icon--campaign-monitor: "\e90d";--gform-icon--campaign: "\e984";--gform-icon--breeze: "\e90c";--gform-icon--body: "\e90b";--gform-icon--back: "\e90a";--gform-icon--aweber: "\e909";--gform-icon--authorize-dot-net: "\e908";--gform-icon--api: "\e907";--gform-icon--analytics: "\e906";--gform-icon--akismet: "\e98b";--gform-icon--agile-crm: "\e905";--gform-icon--advanced-post-creation: "\e904";--gform-icon--active-campaign: "\e903";--gform-icon--accessibility: "\e902";--gform-icon--floppy-disk: "\e98f";--gform-icon--circle-check-alt: "\e992";--tr-hover: all 0.15s ease;--tr-hover-slow: color 300ms ease-in-out, background-color 300ms ease-in-out, border-color 300ms ease-in-out;--tr-color: color 0.15s ease;--tr-dropdown: opacity 0.15s ease;--tr-button: transform 300ms ease, box-shadow 300ms ease, background-color 300ms ease;--tr-inputs: box-shadow 0.15s ease, background-color 0.15s ease;--tr-toggles: left 0.25s ease;--tr-cl-button-focus: border-color 200ms ease-in-out, box-shadow 200ms ease-in-out;--tr-cl-flyout-reveal: opacity 190ms ease-in-out, transform 190ms ease-in-out;--t-font-family-base: inter, -apple-system, blinkmacsystemfont, "Segoe UI", roboto, oxygen-sans, ubuntu, cantarell, "Helvetica Neue", sans-serif;--t-font-family-admin-icons: "gform-icons-admin";--t-font-family-theme-icons: "gform-icons-theme";--t-font-weight-normal: 400;--t-font-weight-medium: 500;--t-font-weight-bold: 600;--t-font-size-small: 0.75rem;--t-font-size-base: 0.8125rem;--t-font-size-label: 0.875rem;--t-font-size-large-label: 1.0625rem;--t-line-height-base: 1.188rem;--t-line-height-label: 1.125rem}.all-merge-tags{position:absolute;right:0;top:-1.9rem}.all-merge-tags button{-webkit-transition:color ease-in-out 500ms;-moz-transition:color ease-in-out 500ms;transition:color ease-in-out 500ms}.gform-tinymce-mergetag-button .all-merge-tags{display:inline-block;padding-top:0.45rem;position:static}.wp-media-buttons .all-merge-tags{position:relative;top:0.375rem}.field_setting .all-merge-tags{top:-0.15rem}.field_setting .all-merge-tags .gform-button--unstyled{font-weight:400}@-moz-document url-prefix(){.gform-settings-input__container--with-merge-tag .all-merge-tags.textarea a.open-list{margin-top:1px}}#gf_merge_tag_list{background:#fff;border:1px solid #d9dae6;border-radius:3px;-webkit-box-shadow:0 3px 5px rgba(0,0,0,0.125);box-shadow:0 3px 5px rgba(0,0,0,0.125);max-height:14rem;overflow:auto;position:absolute;right:0;width:14.625rem !important;z-index:999}#gf_merge_tag_list li{margin:0}#gf_merge_tag_list li a{cursor:pointer}#gf_merge_tag_list li a:hover{background:#f6f9fc}#gf_merge_tag_list li:last-child a{border-bottom:none}#gf_merge_tag_list li a,#gf_merge_tag_list .group-header{border-bottom:1px solid #ecedf8;color:#242748;display:block;font-size:0.875rem;line-height:1.1875rem;padding:0.75rem 1.1875rem 1.0625rem}#gf_merge_tag_list .group-header{font-weight:bold}.right ul#gf_merge_tag_list{right:0}.mt-gform_notification_message,.mt-form_confirmation_message{float:right;position:relative;right:10px;top:90px}#wp-gform_notification_message-wrap,#wp-form_confirmation_message-wrap{margin-right:12px}#form_settings{margin-top:0}table#gf_personal_data_field_settings td{margin:0;padding:0;vertical-align:top}#gf_personal_data_field_settings .gf_personal_data_field_label_title{font-weight:bold;padding:0 10px 10px 0;text-align:left}#gf_personal_data_field_settings .gf_personal_data_cb_title{font-weight:bold;padding:0;text-align:center;width:50px}#gf_personal_data_field_settings .gf_personal_data_cb_cell{text-align:center;width:50px}.gform-admin .ui-autocomplete .ui-state-active{background-color:var(--c-light-blue);border-right:2px solid var(--c-gravity-blue)}.gform-admin .ui-menu-item{padding:0}.gform-admin .ui-menu-item div{padding:0.25rem 0.625rem}.gform-admin .gform-dropdown--merge-tags{display:inline-block}.gform-admin .gform-dropdown--merge-tags .gform-dropdown__control{background:none;border:none;-webkit-box-shadow:none;box-shadow:none;display:inline-block;height:auto;line-height:1;padding:0}.gform-admin .gform-dropdown--merge-tags .gform-dropdown__control i.gform-dropdown__chevron{display:none}.gform-admin .gform-dropdown--merge-tags .gform-dropdown__control .gform-icon--merge-tag{border:1px solid transparent;border-radius:3px;color:#9092b2;font-size:1.5rem;position:relative}.gform-admin .gform-dropdown--merge-tags .gform-dropdown__control:focus .gform-icon--merge-tag{border:1px solid var(--c-primary-light);-webkit-box-shadow:var(--bs-input-focus);box-shadow:var(--bs-input-focus);color:var(--c-text)}.gform-admin .gform-dropdown--merge-tags .gform-dropdown__control:hover .gform-icon--merge-tag{-webkit-box-shadow:var(--bs-input-hover);box-shadow:var(--bs-input-hover);color:var(--c-text)}.gform-admin .gform-dropdown--merge-tags .gform-dropdown__control .gform-dropdown__control-text{-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;color:var(--c-port);display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;font-size:0.8125rem;overflow:visible}.gform-admin .gform-dropdown--merge-tags .gform-dropdown__container{border-radius:0.1875rem;border-top:0.0625rem solid #d5d7e9;top:1.5rem;width:16rem}@media (--viewport-full){.gform-admin .gform-dropdown--merge-tags .gform-dropdown__container{width:18.75rem}}.gform-admin .gform-dropdown--merge-tags .gform-dropdown__container::before{display:none}.gform-admin .gform-dropdown--merge-tags .gform-dropdown__group-text{display:inline-block;padding-bottom:0.6875rem}.right .gform-dropdown__container{right:0}.gform-admin .gform-dropdown__search .gform-dropdown__search-input{-webkit-appearance:none;background:#fff;border:1px solid var(--c-blue-haze);border-radius:3px;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;color:var(--c-port);font-family:var(--t-font-family-base);font-size:0.8125rem;line-height:2;outline:none;padding:0.25rem 0.75rem;-webkit-transition:var(--tr-inputs);-moz-transition:var(--tr-inputs);transition:var(--tr-inputs)}html[dir="rtl"] .all-merge-tags{left:0;right:auto}html[dir="rtl"] #gf_merge_tag_list{left:0;right:auto}html[dir="rtl"] .gform-admin .gform-dropdown--merge-tags .gform-dropdown__control{padding:0}html[dir="rtl"] .right .gform-dropdown__container{left:0;right:auto}.all-merge-tags{top:auto}.all-merge-tags{text-align:center}.all-merge-tags.right{right:8px;left:auto}.all-merge-tags.left{right:auto;left:8px}.all-merge-tags *{text-align:left}.ui-tabs table td{position:relative}td .all-merge-tags,th .all-merge-tags{width:-webkit-calc( 5% + 10px);width:-moz-calc( 5% + 10px);width:calc( 5% + 10px)}td .all-merge-tags.right,td .all-merge-tags.left,th .all-merge-tags.right,th .all-merge-tags.left{right:auto;left:auto}.rtl .all-merge-tags{text-align:left}.rtl .all-merge-tags *{text-align:right}.rtl .all-merge-tags.left{right:8px;left:auto}.rtl .all-merge-tags.right{right:auto;left:8px}.post-type-gravityview .simplebar-placeholder{display:none}@keyframes spinner-animation{0%{-webkit-transform:rotate(0deg);-moz-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(359deg);-moz-transform:rotate(359deg);transform:rotate(359deg)}}.view-dropdown{position:absolute;right:0;top:0;left:0}.view-dropdown *{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.view-dropdown .view-dropdown-select{position:absolute;right:0;top:0;border-radius:3px;border:1px solid #ccd0d4;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;cursor:pointer;background-color:#FFF;overflow:hidden;max-width:99%}.view-dropdown .view-dropdown-select:hover .view-dropdown-select__toggle,.view-dropdown .view-dropdown-select:focus .view-dropdown-select__toggle{background-color:#f6f7f7}.view-dropdown .view-dropdown-select:focus{border:1px solid #2c3338}.view-dropdown .view-dropdown-select__value__icon{margin-right:8px;max-width:32px;height:24px;-webkit-box-flex:0;-webkit-flex-grow:0;-moz-box-flex:0;flex-grow:0;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;justify-content:center;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}.view-dropdown .view-dropdown-select__value__icon img{max-width:32px;max-height:24px;pointer-events:none}.view-dropdown .view-dropdown-select__value{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;font-size:14px;font-weight:500;color:#2c3338;white-space:nowrap}.view-dropdown .view-dropdown-select__value__selection{color:#2271b1;margin-left:4px;text-overflow:ellipsis;overflow:hidden}.view-dropdown .view-dropdown-select__value,.view-dropdown .view-dropdown-select__toggle{line-height:24px;padding:8px;overflow:hidden}.view-dropdown .view-dropdown-select__toggle{-webkit-box-flex:0;-webkit-flex-grow:0;-moz-box-flex:0;flex-grow:0;border-left:1px solid #e2e4e7}.view-dropdown .view-dropdown-toggle__chevron{width:20px;height:20px;margin-top:2px;rotate:-180deg}.view-dropdown .view-dropdown-options{display:none;position:absolute;top:48px;right:0;width:360px;background-color:#FFF;border-radius:3px;border:1px solid #c3c4c7;overflow:hidden;-webkit-box-shadow:0 6px 20px 0 rgba(0,0,0,0.1);box-shadow:0 6px 20px 0 rgba(0,0,0,0.1)}.view-dropdown .view-dropdown-options__header{padding:15px 20px;border-bottom:1px solid #c3c4c7;font-size:14px;font-weight:500;cursor:default}.view-dropdown .view-dropdown-options__body{padding:12px}.view-dropdown .view-dropdown-options__footer{padding:0 20px 20px}.view-dropdown .view-dropdown-options__footer *,.view-dropdown .view-dropdown-options__footer{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.view-dropdown .view-dropdown-options__footer a{font-size:14px;text-decoration:none}.view-dropdown .view-dropdown-options__footer a span{border-bottom:1px solid currentColor}.view-dropdown .view-dropdown-options__footer a span+svg{margin-left:4px}.view-dropdown .view-dropdown-list{overflow:hidden;overflow-y:auto;max-height:450px}.view-dropdown .view-dropdown-list-item{padding:8px;border-radius:4px;overflow:hidden;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;color:#2c3338;line-height:17px;cursor:pointer;border:2px solid #FFF;margin-bottom:4px}.view-dropdown .view-dropdown-list-item:hover{background-color:#f6f7f7;border-color:#dcdcde}.view-dropdown .view-dropdown-list-item:focus{background-color:#f6f7f7;border-color:#dcdcde}.view-dropdown .view-dropdown-list-item.view-dropdown-list-item--active{border-color:#1d2327}.view-dropdown .view-dropdown-list-item[aria-disabled="true"]{cursor:not-allowed}.view-dropdown .view-dropdown-list-item[aria-disabled="true"]{color:#50575e}.view-dropdown .view-dropdown-list-item[aria-disabled="true"] .view-dropdown-button--pill{display:inherit}.view-dropdown .view-dropdown-list-item.is-idle{cursor:progress}.view-dropdown .view-dropdown-button--pill{display:none;border:0;background-color:#007cb2;color:#FFF;border-radius:10px;font-weight:500;font-size:11px;line-height:20px;padding:0 10px;text-decoration:none;margin-left:.666em;-webkit-flex-shrink:0;flex-shrink:0}.view-dropdown .view-dropdown-button--pill:hover,.view-dropdown .view-dropdown-button--pill:focus{background-color:#0a4b78}.view-dropdown .view-dropdown-button--pill .loading{display:none;width:16px;height:16px;margin:2px;-webkit-animation:spinner-animation 1s cubic-bezier(0.6, 0, 0.4, 1) infinite;-moz-animation:spinner-animation 1s cubic-bezier(0.6, 0, 0.4, 1) infinite;animation:spinner-animation 1s cubic-bezier(0.6, 0, 0.4, 1) infinite}.view-dropdown .view-dropdown-button--pill.has-failed{background-color:#c0461e}.view-dropdown .view-dropdown-button--pill.is-idle{cursor:progress;background:#979fa7}.view-dropdown .view-dropdown-button--pill.is-idle .loading{display:block}.view-dropdown .view-dropdown-list-item__icon{border-radius:3px;width:48px;height:48px;-webkit-box-flex:0;-webkit-flex-grow:0;-moz-box-flex:0;flex-grow:0;-webkit-flex-shrink:0;flex-shrink:0;margin-right:18px;background-color:#f6f7f7;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;justify-content:center}.view-dropdown .view-dropdown-list-item__icon img{max-height:32px;max-width:34px;pointer-events:none}.view-dropdown .view-dropdown-list-item__value{padding:4px 0}.view-dropdown .view-dropdown-list-item__label{font-weight:500;font-size:15px;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;margin-bottom:.15em}.view-dropdown .view-dropdown-list-item__description{font-size:12px;color:#50575e}.view-dropdown.view-dropdown--open{z-index:15}.view-dropdown.view-dropdown--open .view-dropdown-toggle__chevron{rotate:none}.view-dropdown.view-dropdown--open .view-dropdown-options{display:block}.view-dropdown .view-dropdown-list-available{border:2px solid #ff1b67;background-color:#fbfcfd;border-radius:4px;overflow:hidden;margin-top:8px;padding-bottom:2px}.view-dropdown .view-dropdown-list-available .view-dropdown-list-available__header{background-color:#ff1b67;color:#FFF;font-size:12px;height:46px;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;padding:0 12px;margin:0 -2px 4px}.view-dropdown .view-dropdown-list-available .view-dropdown-list-available__heading{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;text-transform:uppercase;font-weight:bold;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.view-dropdown .view-dropdown-list-available .view-dropdown-list-available__heading svg{margin-right:8px}.view-dropdown .view-dropdown-list-available a.view-dropdown-list-available__upgrade{display:inline-block;background-color:#2271b1;color:#fff;border-radius:4px;-webkit-box-shadow:0 0 4px 1px rgba(255,255,255,0.4);box-shadow:0 0 4px 1px rgba(255,255,255,0.4);text-decoration:none;font-size:13px;font-weight:500;line-height:16px;margin-top:-1px;padding:5px 15px 7px}.view-dropdown .view-dropdown-list-available a.view-dropdown-list-available__upgrade:hover,.view-dropdown .view-dropdown-list-available a.view-dropdown-list-available__upgrade:focus{background-color:#0a4b78}.view-dropdown .view-dropdown-list-available .view-dropdown-list-item__icon,.view-dropdown .view-dropdown-list-available .view-dropdown-list-item,.view-dropdown .view-dropdown-list-available .view-dropdown-list-item:hover{background-color:transparent;border-color:transparent}.view-dropdown div[data-value="diy_placeholder"] img,.view-dropdown div[data-value="datatables_table"] img{position:relative}.view-dropdown div[data-value="diy_placeholder"] img{top:-1px;max-width:30px}.view-dropdown div[data-value="datatables_table"] img{top:-2px;right:-3px;max-width:36px}.ui-tooltip-content .gv-fields .gv-field-info span.gv-sublabel:after,.ui-tooltip-content .gv-fields .gv-field-info span:last-child:after,.ui-tooltip .gv-fields .gv-field-info span.gv-sublabel:after,.ui-tooltip .gv-fields .gv-field-info span:last-child:after,.gv-dialog-options:after,.gv-dialog-options .gv-setting-container:after,.gv-dialog-options .gv-setting-list:after{content:"";display:table;clear:both}.gk-large-icon,#gk-settings-link .dashicons,.post-type-gravityview .ui-tabs .ui-tabs-nav li .dashicons,.post-type-gravityview .ui-tabs .ui-tabs-nav li .gform-icon,.post-type-gravityview .ui-tabs .ui-tabs-nav li [class^='gv-icon-'],.post-type-gravityview .ui-tabs .ui-tabs-nav li [class^='gv-icon-']:before{font-size:24px;height:24px;width:24px;vertical-align:top;overflow:hidden}.gv-reset-button-style,.gv-fields .gv-field-controls button,.gv-widget-search-fields table .cell-sort button,.gv-widget-search-fields table .cell-add-remove button,.postbox .gv-dialog-options table .cell-sort button,.postbox .gv-dialog-options table .cell-add-remove button{font-family:inherit;font-size:100%;margin:0;overflow:visible;text-transform:none;-webkit-appearance:button;border:none;background:none;padding:0;cursor:pointer}.gv-reset-button-style::-moz-focus-inner,.gv-fields .gv-field-controls button::-moz-focus-inner,.gv-widget-search-fields table .cell-sort button::-moz-focus-inner,.gv-widget-search-fields table .cell-add-remove button::-moz-focus-inner,.postbox .gv-dialog-options table .cell-sort button::-moz-focus-inner,.postbox .gv-dialog-options table .cell-add-remove button::-moz-focus-inner{border-style:none;padding:0}.gv-reset-button-style:-moz-focusring,.gv-fields .gv-field-controls button:-moz-focusring,.gv-widget-search-fields table .cell-sort button:-moz-focusring,.gv-widget-search-fields table .cell-add-remove button:-moz-focusring,.postbox .gv-dialog-options table .cell-sort button:-moz-focusring,.postbox .gv-dialog-options table .cell-add-remove button:-moz-focusring{outline:1px dotted ButtonText}.gv-grid{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;margin-bottom:2em;display:grid;grid-template-columns:repeat(12, 1fr);grid-template-rows:repeat(auto-fill, auto);grid-column-gap:24px;grid-row-gap:12px}.gv-grid [class^="gv-grid-col-"]{max-width:100%}.gv-grid-col-1-4{grid-column:span 2}.gv-grid-col-1-2{grid-column:span 6}.gv-grid-col-1-8{width:12.5%}.gv-grid-col-1-3{grid-column:span 4}.gv-grid-col-2-3{grid-column:span 8}.gv-grid-col-1-1{grid-column:1 / -1;width:100%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}@media (max-width: 1024px){.gv-grid-col-1-3,.gv-grid-col-2-3,.gv-grid-col-1-2{grid-column:span 6}}@media (max-width: 640px){.gv-grid-col-1-3,.gv-grid-col-2-3,.gv-grid-col-1-2{grid-column:1 / -1}.gv-grid-col-1-4{grid-column:span 2}}#edit-active-fields,#single-active-fields,#directory-footer-widgets{margin-bottom:0}.gv-section{position:relative}.gv-section:before,.gv-section:after{content:" ";display:table}.gv-section:after{clear:both}.gv-section h4{font-size:22px;font-weight:bold;margin-top:1em;margin-bottom:1em;padding-bottom:0}@media (max-width: 850px){.gv-section h4{margin-top:.5em}}.gv-section h4 span{font-size:14px;display:block;color:#636D77;font-weight:normal}.notice-warning a{font-size:1.2em;display:inline-block;padding-bottom:.5em}#gravityview_select_template .gv-grid{grid-template-columns:repeat(auto-fill, minmax(75px, 1fr))}.gv-view-types-module{padding:1em;margin-bottom:1em;background:#eee;position:relative;border:2px solid transparent;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.gv-view-types-module:hover .gv-view-types-hover{display:block}.gv-view-types-module.gv-selected{border:2px solid #1e8cbe}.gv-view-types-module img{display:block;width:100%;height:auto;margin:0;padding:0}.gv-view-types-module h5{white-space:nowrap;margin:0.5em 0;padding:0;font-size:18px}.gv-view-types-module .description{margin:0;padding:0;min-height:4.5em}.gv-view-types-module .button.button-hero{padding:0}.gv-view-types-module.gv-view-template-placeholder{opacity:.7;-webkit-transition:all .1s;-moz-transition:all .1s;transition:all .1s}.gv-view-types-module.gv-view-template-placeholder:hover{opacity:1}.gv-view-types-module.gv-view-template-placeholder .gv-view-types-hover{background:rgba(255,255,255,0.9);font-size:1rem;position:absolute}.gv-view-types-module.gv-view-template-placeholder .gv-included-in{background:#555D66;color:white;position:absolute;bottom:0;left:0;padding:.5em;margin-bottom:0}html[dir=rtl] .gv-view-types-module.gv-view-template-placeholder .gv-included-in{right:0;left:auto}.gv-view-types-module.gv-view-template-placeholder .gv-included-in a{color:white}.gv-view-types-hover{display:none;background:rgba(0,0,0,0.6);position:absolute;top:0;left:0;right:0;height:100%}.gv-view-types-hover .gv-site-preview{color:#fff;text-decoration:none}.gv-view-types-hover .gv-site-preview .dashicons{font-size:24px;width:24px;height:24px;position:absolute;top:5px;right:5px;opacity:.5}.gv-view-types-hover .gv-site-preview .dashicons:hover,.gv-view-types-hover .gv-site-preview .dashicons:focus{opacity:1}.gv-view-types-hover>div{padding-top:31%;margin-top:-15px}.gv-view-types-hover>div p{margin:0.5em 0 1.5em;padding:0;text-align:center}.gv-view-types-hover>div p .button{display:inline-block;width:70%}#gravityview_select_form .handlediv{display:none}.gv-form-links{color:#d7dade;font-weight:normal;padding:0 0 0 10px}.metabox-prefs .gv-form-links{display:none}.gv-form-links .row-actions{visibility:visible;padding:0;left:auto}@media screen and (max-width: 850px){.gv-form-links .row-actions,.gv-form-links .row-actions a{display:inline !important}}.gv-form-links .gv-form-title{display:none}#gv_switch_view_button{display:none !important}#gravityview_select_template{display:none}#gravityview_select_template .inside{max-height:500px;max-height:50vh;overflow-x:auto}#gravityview_form_id{max-width:50%}.gv-template-preview{display:none;width:90%}#gravityview_settings th{white-space:nowrap;width:30%;min-width:100px;max-width:200px;padding:16px 10px}#gravityview_settings #gravityview_advanced th{white-space:normal}@media (max-width: 1199px){#gravityview_settings #gravityview_maps_settings td,#gravityview_settings [scope="row"]{white-space:normal;display:inline-block;max-width:100%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;width:100%;padding-bottom:5px}#gravityview_settings #gravityview_maps_settings td+td,#gravityview_settings [scope="row"]+td{padding-top:0;display:block}}#gravityview_settings th span,#gravityview_settings th input,#gravityview_settings td span,#gravityview_settings td input{font-weight:normal !important}#gravityview_settings th .gform-dropdown--merge-tags .gform-dropdown__group-text,#gravityview_settings td .gform-dropdown--merge-tags .gform-dropdown__group-text{font-weight:500 !important}#gravityview_settings th select[multiple],#gravityview_settings td select[multiple]{display:block;max-width:100%;width:100%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#gravityview_settings th label,#gravityview_settings td label{display:block;position:relative;font-weight:500;line-height:1.3;vertical-align:middle;color:#23282d;font-size:15px}#gravityview_settings th .wp-picker-input-wrap label,#gravityview_settings td .wp-picker-input-wrap label{display:inline-block}#gravityview_settings .howto{margin:.25em 0 .5em;font-weight:normal}#gravityview_settings li .nav-tab{border-radius:0}#gravityview_sort_filter,#gravityview_view_config{display:none}.postbox{border-radius:5px}.postbox .handle-actions{position:absolute;left:-9999px}#gravityview_view_config{background:transparent;-webkit-box-shadow:none;box-shadow:none;border:none}#gravityview_view_config .postbox-header{display:none}#gravityview_view_config>.inside{padding:0;border-radius:5px;overflow:visible}#gravityview_view_config #gv-view-configuration-tabs{padding:0}#gravityview_view_config #gv-view-configuration-tabs .ui-tabs-panel{border-radius:0 0 5px 5px;border:1px solid #ccd0d4}@media (min-width: 850px) and (max-width: 1199px){#gravityview_view_config #gv-view-configuration-tabs .gv-responsive-label--collapse{display:none}}.clear-all-fields{text-decoration:none;padding:6px .5em 6px 1em;cursor:pointer;margin:-6px -1em;border:1px solid transparent;color:#7e8993;font-size:12px !important;position:relative;-webkit-transition:.1s padding;-moz-transition:.1s padding;transition:.1s padding}html[dir=rtl] .clear-all-fields{padding:6px 1em 6px .5em}.clear-all-fields:after{content:"\f335";font-family:Dashicons, sans-serif;font-size:12px;line-height:12px;background-color:#d7dade;color:#7e8993;border-radius:50px;margin:.25em .5em 0;text-decoration:none;border:none;position:absolute;right:0;opacity:0;-webkit-transition:.1s all;-moz-transition:.1s all;transition:.1s all}.clear-all-fields:hover{padding:6px -webkit-calc( 1em + 12px) 6px 1em;padding:6px -moz-calc( 1em + 12px) 6px 1em;padding:6px calc( 1em + 12px) 6px 1em;-webkit-transition:.2s all;-moz-transition:.2s all;transition:.2s all;position:relative;background:#f1f1f1;-webkit-box-shadow:0 0 2px #d7dade;box-shadow:0 0 2px #d7dade;border-radius:3px;text-decoration:underline}.clear-all-fields:hover:after{-webkit-transition:.2s all;-moz-transition:.2s all;transition:.2s all;opacity:1;background-color:#ccd0d4;color:#6c7781}.gv-wait,.gv-wait a{cursor:wait}.post-type-gravityview .ui-front,.post-type-gravityview .CodeMirror-hints,.post-type-gravityview .CodeMirror-lint-tooltip{z-index:10001 !important}.post-type-gravityview .CodeMirror,.CodeMirror-hint{font-size:15px}.post-type-gravityview .CodeMirror{height:15.75em;max-width:690px !important}.gform-admin .gform-dropdown--merge-tags .gform-dropdown__container{z-index:10002}#gk-settings-link{color:#a2aab2;position:relative;float:right;top:1em;margin-left:.5em;margin-right:0;background-color:transparent;text-decoration:none;border:none}html[dir=rtl] #gk-settings-link{margin-right:.5em;margin-left:0;float:left}#gk-settings-link:visited{color:#a2aab2}#gk-settings-link:hover{color:#40464d}#gk-settings-link:active{color:#23282d}@media (max-width: 850px){#gk-settings-link{display:block;top:auto}}.post-type-gravityview .ui-tabs{position:relative;padding:.1em;zoom:1;margin-top:1em;-webkit-transition:none;-moz-transition:none;transition:none}.post-type-gravityview .ui-tabs #gv-view-configuration-tabs-tooltip{position:absolute;right:0}html[dir=rtl] .post-type-gravityview .ui-tabs #gv-view-configuration-tabs-tooltip{right:auto;left:0}.post-type-gravityview .ui-tabs .ui-tabs-nav{margin:0;padding:0;-webkit-margin-before:0;-webkit-margin-after:0;-webkit-margin-start:0;-webkit-margin-end:0;-webkit-padding-start:0}@media (max-width: 850px){.post-type-gravityview .ui-tabs .ui-tabs-nav{width:100%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}}.post-type-gravityview .ui-tabs .ui-tabs-nav li{-webkit-transition:none;-moz-transition:none;transition:none;list-style:none;float:left;position:relative;top:2px;margin:0 .5em 1px 0;border-bottom:0;padding:0;white-space:nowrap;outline:none}[dir=rtl] .post-type-gravityview .ui-tabs .ui-tabs-nav li{float:right;margin:0 0 1px .5em}@media (max-width: 850px){.post-type-gravityview .ui-tabs .ui-tabs-nav li{width:100%;float:left}}.post-type-gravityview .ui-tabs .ui-tabs-nav li .nav-tab{-webkit-transition:none;-moz-transition:none;transition:none;border-radius:3px 3px 0 0;float:left;padding:.666em 1.333em;margin:0 5px 0 0;text-decoration:none;font-size:15px;font-weight:400;background-color:#f3f4f5;color:#40464d;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}html[dir=rtl] .post-type-gravityview .ui-tabs .ui-tabs-nav li .nav-tab{float:right;margin:0 0 0 5px}.post-type-gravityview .ui-tabs .ui-tabs-nav li .nav-tab:link,.post-type-gravityview .ui-tabs .ui-tabs-nav li .nav-tab:visited,.post-type-gravityview .ui-tabs .ui-tabs-nav li .nav-tab:hover,.post-type-gravityview .ui-tabs .ui-tabs-nav li .nav-tab:active,.post-type-gravityview .ui-tabs .ui-tabs-nav li .nav-tab:focus{outline:none;-webkit-box-shadow:none}@media (min-width: 851px) and (max-width: 1023px){.post-type-gravityview .ui-tabs .ui-tabs-nav li .nav-tab{font-size:13px}}.post-type-gravityview .ui-tabs .ui-tabs-nav li .dashicons,.post-type-gravityview .ui-tabs .ui-tabs-nav li .gform-icon,.post-type-gravityview .ui-tabs .ui-tabs-nav li [class^='gv-icon-'],.post-type-gravityview .ui-tabs .ui-tabs-nav li [class^='gv-icon-']:before{color:#a2aab2}.post-type-gravityview .ui-tabs .ui-tabs-nav li.tab-not-configured .dashicons{color:#f7a407}.post-type-gravityview .ui-tabs .ui-tabs-nav li .configuration-status-icons{position:absolute;padding:0;left:0;top:-1em;display:block}.post-type-gravityview .ui-tabs .ui-tabs-nav li .configuration-status-icons .gform-icon,.post-type-gravityview .ui-tabs .ui-tabs-nav li .configuration-status-icons .dashicons{font-size:18px;height:18px;width:18px;line-height:24px;display:inline-block;padding:0 .111em}.post-type-gravityview .ui-tabs .ui-tabs-nav li .configuration-status-icons .gform-icon:hover,.post-type-gravityview .ui-tabs .ui-tabs-nav li .configuration-status-icons .dashicons:hover{color:#006899}.post-type-gravityview .ui-tabs .ui-tabs-nav li a{border-bottom:1px solid #ccc}.post-type-gravityview .ui-tabs .ui-tabs-nav li.ui-state-active a,.post-type-gravityview .ui-tabs .ui-tabs-nav li.ui-state-active.tab-not-configured a,.post-type-gravityview .ui-tabs .ui-tabs-nav li.ui-state-active.ui-state-hover a{background-color:#fff;border-bottom:1px solid #fff;color:#23282d}.post-type-gravityview .ui-tabs .ui-tabs-nav li.ui-state-active .dashicons,.post-type-gravityview .ui-tabs .ui-tabs-nav li.ui-state-active .dashicons.tab-icon,.post-type-gravityview .ui-tabs .ui-tabs-nav li.ui-state-active .gform-icon,.post-type-gravityview .ui-tabs .ui-tabs-nav li.ui-state-active [class^='gv-icon-'],.post-type-gravityview .ui-tabs .ui-tabs-nav li.ui-state-active [class^='gv-icon-']:before,.post-type-gravityview .ui-tabs .ui-tabs-nav li.ui-state-active.tab-not-configured .dashicons,.post-type-gravityview .ui-tabs .ui-tabs-nav li.ui-state-active.tab-not-configured .dashicons.tab-icon,.post-type-gravityview .ui-tabs .ui-tabs-nav li.ui-state-active.tab-not-configured .gform-icon,.post-type-gravityview .ui-tabs .ui-tabs-nav li.ui-state-active.tab-not-configured [class^='gv-icon-'],.post-type-gravityview .ui-tabs .ui-tabs-nav li.ui-state-active.tab-not-configured [class^='gv-icon-']:before,.post-type-gravityview .ui-tabs .ui-tabs-nav li.ui-state-active.ui-state-hover .dashicons,.post-type-gravityview .ui-tabs .ui-tabs-nav li.ui-state-active.ui-state-hover .dashicons.tab-icon,.post-type-gravityview .ui-tabs .ui-tabs-nav li.ui-state-active.ui-state-hover .gform-icon,.post-type-gravityview .ui-tabs .ui-tabs-nav li.ui-state-active.ui-state-hover [class^='gv-icon-'],.post-type-gravityview .ui-tabs .ui-tabs-nav li.ui-state-active.ui-state-hover [class^='gv-icon-']:before{color:#40464d}.post-type-gravityview .ui-tabs .ui-tabs-nav li.ui-state-active .configuration-status-icons .dashicons,.post-type-gravityview .ui-tabs .ui-tabs-nav li.ui-state-active.tab-not-configured .configuration-status-icons .dashicons,.post-type-gravityview .ui-tabs .ui-tabs-nav li.ui-state-active.ui-state-hover .configuration-status-icons .dashicons{color:#006899}.post-type-gravityview .ui-tabs .ui-tabs-nav li.ui-state-hover a{background-color:rgba(255,255,255,0.5);color:#23282d}.post-type-gravityview .ui-tabs .ui-tabs-nav li.ui-state-hover .gform-icon,.post-type-gravityview .ui-tabs .ui-tabs-nav li.ui-state-hover .dashicons,.post-type-gravityview .ui-tabs .ui-tabs-nav li.ui-state-hover [class^='gv-icon-'],.post-type-gravityview .ui-tabs .ui-tabs-nav li.ui-state-hover [class^='gv-icon-']:before{color:#6c7781}.post-type-gravityview .ui-tabs .ui-tabs-nav li .configuration-status-icons{display:inline-block;padding-left:.666em}html[dir=rtl] .post-type-gravityview .ui-tabs .ui-tabs-nav li .configuration-status-icons{padding-right:.666em}.post-type-gravityview .ui-tabs .ui-tabs-nav li .configuration-status-icons .gform-icon,.post-type-gravityview .ui-tabs .ui-tabs-nav li .configuration-status-icons .dashicons{display:inline-block}.post-type-gravityview .ui-tabs .ui-tabs-nav li.tab-not-configured .configuration-status-icons{padding-right:0}html[dir=rtl] .post-type-gravityview .ui-tabs .ui-tabs-nav li.tab-not-configured .configuration-status-icons{padding-left:0}.post-type-gravityview .ui-tabs .ui-tabs-nav li.tab-not-configured .configuration-status-icons .dashicons-info{display:inline-block;color:#ffb900}.post-type-gravityview .ui-tabs .ui-tabs-nav li.tab-not-configured a{background-color:#f3f4f5}.post-type-gravityview .ui-tabs .ui-tabs-panel{display:block;padding:20px;background:#fff;border:none;border-top:1px solid #ccc;max-width:100%}@media (max-width: 850px){.post-type-gravityview .ui-tabs .ui-tabs-panel{border-top:0}}.post-type-gravityview .ui-tabs .ui-tabs-hide{display:none !important}@media (max-width: 850px){#gv-view-configuration-tabs.ui-tabs.ui-tabs-nav{margin-bottom:10px}#gv-view-configuration-tabs .nav-tab{border-radius:3px;margin-bottom:3px;width:100%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;border:1px solid #a2aab2 !important}}.gv-dialog{position:absolute;z-index:10001 !important;overflow:visible;-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto}.gv-overlay{cursor:pointer;position:fixed;z-index:10000 !important;background:rgba(225,225,225,0.4);width:100%;height:100%;overflow:hidden}hr{border:0;height:0;border-bottom:1px solid #d7dade;margin:2em 0 2em 0}.gv-droppable-area{-webkit-transition:all 200ms;-moz-transition:all 200ms;transition:all 200ms;margin-bottom:1em;text-align:center}.gv-droppable-area .gv-droppable-area-action{padding:4px .5em 12px .5em}.gv-droppable-area div:empty+.gv-droppable-area-action{margin-top:.5em}.gv-droppable-area .gv-droppable-area-action:before,.gv-droppable-area .gv-droppable-area-action:after{content:" ";display:table}.gv-droppable-area .gv-droppable-area-action:after{clear:both}.gv-droppable-area .gv-droppable-area-title{padding:.5em 0;text-align:left;margin:0 12px 6px 0;color:#7e8993;text-transform:uppercase;font-size:13px;font-weight:500}html[dir=rtl] .gv-droppable-area .gv-droppable-area-title{margin:0 0 6px 12px;text-align:right}.gv-droppable-area .gv-droppable-area-title span{text-transform:none;font-weight:normal}.gv-droppable-area .gv-droppable-area-subtitle{margin:0.25em 0 0 0;padding:0;color:#636D77}.gv-droppable-area .button-secondary{margin:0 .5em}.gv-droppable-area .button-secondary:first-child{margin:0}.active-drop-container{-webkit-box-shadow:0 0 0 2px rgba(210,224,235,0.6);box-shadow:0 0 0 2px rgba(210,224,235,0.6);min-height:44px;border-radius:3px;max-width:100%}.active-drop-container.is-receivable{border:none;-webkit-transition:all 200ms;-moz-transition:all 200ms;transition:all 200ms}.active-drop-container.is-receivable:empty{min-height:44px}.active-drop-container.is-receivable .active-drop{min-height:60px;background:rgba(210,224,235,0.4);-webkit-transition:all 200ms;-moz-transition:all 200ms;transition:all 200ms}.active-drop{border-radius:3px;padding:4px 8px 8px;position:relative;-webkit-transition:all 200ms;-moz-transition:all 200ms;transition:all 200ms;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.active-drop .drop-message{color:#6D7883;margin:-8px 0 0 0;display:block;text-align:center;width:90%;padding:0 5%;z-index:1;min-height:42px;font-size:14px;position:absolute;top:50%;line-height:16px}.active-drop .gv-add-field{display:none}.gv-grid-col-1-2 .drop-message{padding-top:0;padding-bottom:0}.fields-placeholder{margin:8px 2px;height:40px;border:none;background:rgba(99,109,119,0.2);border-radius:3px}#directory-fields .gv-fields{-webkit-box-shadow:2px 2px 2px #F6F9FC;box-shadow:2px 2px 2px #F6F9FC}#directory-fields .gv-fields.ui-sortable-helper{-webkit-box-shadow:2px 2px 5px rgba(210,224,235,0.4);box-shadow:2px 2px 5px rgba(210,224,235,0.4)}.gv-fields{cursor:move;border:1px solid #d7dade;background:#f3f4f5;overflow:hidden;margin:8px 0;width:100%;z-index:100;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;border-radius:3px;-webkit-transition:border-color 50ms;-moz-transition:border-color 50ms;transition:border-color 50ms}.active-drop-container .gv-fields[data-fieldid=entry_link],.active-drop-container .gv-fields[data-fieldid=edit_link],.active-drop-container .gv-fields[data-fieldid=delete_link],.active-drop-container .gv-fields.has-single-entry-link{background-color:#e6f6fb}.gv-fields[data-fieldid=entry_link] .gv-field-controls .dashicons-media-default,.gv-fields[data-fieldid=edit_link] .gv-field-controls .dashicons-media-default,.gv-fields[data-fieldid=delete_link] .gv-field-controls .dashicons-media-default,.gv-fields.has-single-entry-link .gv-field-controls .dashicons-media-default{line-height:44px;margin:-2px 6px 0 0}html[dir=rtl] .gv-fields[data-fieldid=entry_link] .gv-field-controls .dashicons-media-default,html[dir=rtl] .gv-fields[data-fieldid=edit_link] .gv-field-controls .dashicons-media-default,html[dir=rtl] .gv-fields[data-fieldid=delete_link] .gv-field-controls .dashicons-media-default,html[dir=rtl] .gv-fields.has-single-entry-link .gv-field-controls .dashicons-media-default{margin:-2px 0 0 6px}.gv-fields .gv-field-controls .dashicons-media-default,.gv-fields .gv-field-controls .icon-custom-visibility,.gv-fields .gv-field-controls .gv-indicator-icon{cursor:help}.gv-fields .gv-field-controls .icon-custom-visibility,.gv-fields .gv-field-controls .gv-indicator-icon{line-height:44px;margin:-2px 6px 0 0}html[dir=rtl] .gv-fields .gv-field-controls .icon-custom-visibility,html[dir=rtl] .gv-fields .gv-field-controls .gv-indicator-icon{margin:-2px 0 0 6px}.gv-fields.has-custom-visibility .gv-field-controls .icon-custom-visibility{display:inline-block}.gv-fields h5{float:left;width:100%;font-weight:600;font-size:15px;line-height:26px;margin:0;padding:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;text-align:left;position:relative}html[dir=rtl] .gv-fields h5{float:right;text-align:right}.gv-fields h5 .gv-field-label{display:inline-block;max-width:80%;max-width:-webkit-calc( 100% - 95px);max-width:-moz-calc( 100% - 95px);max-width:calc( 100% - 95px)}.gravityview-item-picker-tooltip .gv-fields h5 .gv-field-label{max-width:100%}.gv-fields h5 .gv-field-label .gform-icon,.gv-fields h5 .gv-field-label .dashicons{margin-top:.2em;margin-bottom:-.2em}.gv-items-picker-container .gv-fields h5 .gv-field-label .gform-icon,.gv-items-picker-container .gv-fields h5 .gv-field-label .dashicons{margin-top:0;margin-bottom:0}.gv-fields h5 small{color:#777;font-weight:600}.gv-fields span.gv-field-controls{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.gv-fields button.gv-field-duplicate{border:0;cursor:pointer;position:absolute;left:-9999px;background:none}.gv-fields button.gv-field-duplicate:hover,.gv-fields button.gv-field-duplicate:focus{color:#136cb9;position:static}.gv-fields:hover{border-color:#8f98a1}.gv-fields:hover .gv-field-controls .dashicons{color:#136cb9}.gv-fields:hover h5 small,.gv-fields:hover .gv-field-info{color:#636D77}.gv-fields:hover button.gv-field-duplicate{position:static}.gv-fields .gv-add-field-before{position:absolute;height:10px;left:10px;border:0;color:#2271b1;z-index:10;margin-top:-10px;right:10px;border-radius:4px;cursor:pointer;background:none;text-decoration:none}.gv-fields .gv-add-field-before .dashicons{position:absolute;top:-5px;margin-left:-10px;background:#FFF;border-radius:100%;visibility:hidden}.gv-fields .gv-add-field-before::before{display:block;height:2px;position:absolute;left:0;right:0;background-color:#2271b1;content:' ';border-radius:4px;top:4px;visibility:hidden}.gv-fields .gv-add-field-before:hover .dashicons,.gv-fields .gv-add-field-before:hover::before,.gv-fields .gv-add-field-before:focus .dashicons,.gv-fields .gv-add-field-before:focus::before{visibility:visible;text-decoration:none}.gv-fields .gv-field-controls button{border-left:1px solid transparent;border-right:1px solid #d7dade;padding:11px 12px;margin:0 8px 0 0;background-color:#f3f4f5;-webkit-transition:all 200ms;-moz-transition:all 200ms;transition:all 200ms;border-radius:0;color:#006899}html[dir=rtl] .gv-fields .gv-field-controls button{margin:0 0 0 8px;border-right:1px solid transparent;border-left:1px solid #d7dade}.gv-fields .gv-field-controls button .gform-icon,.gv-fields .gv-field-controls button .dashicons{-webkit-transition:-webkit-transform 200ms;transition:-webkit-transform 200ms;-moz-transition:transform 200ms, -moz-transform 200ms;transition:transform 200ms;transition:transform 200ms, -webkit-transform 200ms, -moz-transform 200ms}.gv-fields .gv-field-controls button:hover,.gv-fields .gv-field-controls button:active,.gv-fields .gv-field-controls button.active{background:#fefefe;-webkit-box-shadow:0 0 2px #d7dade;box-shadow:0 0 2px #d7dade}.gv-fields .gv-field-controls button:hover .dashicons-admin-generic,.gv-fields .gv-field-controls button:active .dashicons-admin-generic,.gv-fields .gv-field-controls button.active .dashicons-admin-generic{-webkit-transform:rotate(30deg);-moz-transform:rotate(30deg);-ms-transform:rotate(30deg);transform:rotate(30deg);text-shadow:0 0 2px #bfe7f4}.gv-fields .gv-field-controls button.hide-if-js{display:inline-block;visibility:hidden;width:0;margin:0}.gv-fields .gv-field-controls button.gv-remove-field{position:absolute;top:0;right:-3px;margin:0;background-color:transparent}html[dir=rtl] .gv-fields .gv-field-controls button.gv-remove-field{left:-3px;right:auto}.gv-fields .gv-field-controls button.gv-remove-field:hover,.gv-fields .gv-field-controls button.gv-remove-field:active,.gv-fields .gv-field-controls button.gv-remove-field:focus{background:#fefefe;border-right-color:transparent;border-left:1px solid #d7dade}html[dir=rtl] .gv-fields .gv-field-controls button.gv-remove-field:hover,html[dir=rtl] .gv-fields .gv-field-controls button.gv-remove-field:active,html[dir=rtl] .gv-fields .gv-field-controls button.gv-remove-field:focus{border-left:none;border-right:1px solid #d7dade}.gv-fields .gv-field-controls button.gv-remove-field:hover .dashicons,.gv-fields .gv-field-controls button.gv-remove-field:active .dashicons,.gv-fields .gv-field-controls button.gv-remove-field:focus .dashicons{-webkit-transform:none;-moz-transform:none;-ms-transform:none;transform:none;color:#C62D2D}.gv-fields .gv-field-controls button .gform-icon,.gv-fields .gv-field-controls button .dashicons{width:20px;font-size:20px;height:20px;line-height:20px}.gv-fields .gv-field-controls button .gform-icon.dashicons-dismiss,.gv-fields .gv-field-controls button .dashicons.dashicons-dismiss{color:#999}.gv-fields .gv-field-controls button .gform-icon.dashicons-dismiss:hover,.gv-fields .gv-field-controls button .gform-icon.dashicons-dismiss:active,.gv-fields .gv-field-controls button .gform-icon.dashicons-dismiss:focus,.gv-fields .gv-field-controls button .dashicons.dashicons-dismiss:hover,.gv-fields .gv-field-controls button .dashicons.dashicons-dismiss:active,.gv-fields .gv-field-controls button .dashicons.dashicons-dismiss:focus{color:#C62D2D}.gv-fields .gv-field-controls button .gform-icon.dashicons-media-default,.gv-fields .gv-field-controls button .dashicons.dashicons-media-default{color:#aaa;width:20px;font-size:16px;line-height:20px;cursor:default}.gv-fields .gv-field-info{display:none;text-align:left;line-height:1.25em}html[dir=rtl] .gv-fields .gv-field-info{text-align:right}.ui-tooltip .gv-fields .gv-field-info{display:block;font-weight:normal;color:#999;text-shadow:none}.ui-tooltip .gv-fields .gv-field-info span:after{content:", "}.ui-dialog-content,.ui-dialog{cursor:default}.post-type-gravityview .ui-dialog-content{overflow:inherit;padding:0}.ui-draggable-dragging{max-width:400px !important}#directory-available-fields .gv-fields h5,#directory-available-widgets .gv-fields h5,#single-available-fields .gv-fields h5{padding:0 !important}#directory-available-fields .gv-fields span.gv-field-controls,#directory-available-widgets .gv-fields span.gv-field-controls,#single-available-fields .gv-fields span.gv-field-controls{display:none !important}.gv-label-radio{padding:0 .5em 0 0}.gv-sublabel{font-size:.9em;display:block}.gv-dialog.ui-widget-content>div{padding-left:25px;padding-right:25px}.gv-dialog .ui-dialog-content{padding:25px !important}.gv-dialog .ui-dialog-titlebar,.gv-dialog .ui-dialog-buttonpane{min-height:1.25em;line-height:1.25;padding:5px;height:auto;background:white;border:none;text-align:left;font-weight:300;font-size:1.5rem}html[dir=rtl] .gv-dialog .ui-dialog-titlebar,html[dir=rtl] .gv-dialog .ui-dialog-buttonpane{text-align:right}.gv-dialog .ui-dialog-title{display:block;width:95%}.gv-dialog .ui-dialog-titlebar{border-radius:0;background:#fdfdff;border-bottom:1px solid #e2e8f0;padding:25px 12.5px 25px}.gv-dialog .gv-field-details--toggle{width:100%;display:block;font-size:.8rem;font-weight:400;border:none;line-height:1.5rem;margin:1rem 0 -6.25px;padding:0;color:#6c7781}.gv-dialog .gv-field-details--toggle .gform-icon,.gv-dialog .gv-field-details--toggle .dashicons{margin-top:.1em}.gv-dialog .gv-field-details{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;width:100%;font-size:.9rem;color:#555d66;padding-bottom:0;margin-top:12.5px}.gv-dialog .gv-field-details.gv-field-details--closed{display:none}.gv-dialog .gv-field-details .gv-field-detail{padding-right:2%;-webkit-box-flex:33%;-webkit-flex:33%;-moz-box-flex:33%;flex:33%;-webkit-align-self:flex-start;align-self:flex-start;-webkit-flex-shrink:1;flex-shrink:1}html[dir=rtl] .gv-dialog .gv-field-details .gv-field-detail{padding-left:2%;padding-right:0}.gv-dialog .gv-field-details .gv-field-detail--form{-webkit-box-flex:33%;-webkit-flex:33%;-moz-box-flex:33%;flex:33%;-webkit-flex-shrink:0;flex-shrink:0}.gv-dialog .gv-field-details .gv-field-detail--label{font-weight:500;display:inline-block;padding-right:.33rem}.gv-dialog .gv-field-details .gv-field-detail--label:after{content:': '}html[dir=rtl] .gv-dialog .gv-field-details .gv-field-detail--label{padding-left:.33rem}.gv-dialog .ui-dialog-buttonpane{padding-left:10px !important;padding-right:10px !important;padding-bottom:10px !important}.gv-dialog .ui-dialog-buttonpane button{min-height:32px;line-height:2.30769231;padding:0 12px;font-size:14px;border-radius:3px}.gv-dialog .ui-button.ui-dialog-titlebar-close{padding:3px;top:5px;right:5px;border-radius:3px;text-indent:-99999px}html[dir=rtl] .gv-dialog .ui-button.ui-dialog-titlebar-close{right:auto;left:5px}.gv-dialog .ui-button.ui-dialog-titlebar-close:hover{background:#f1f1f1}.gv-dialog .ui-button.ui-dialog-titlebar-close .ui-icon.ui-icon-closethick{display:none}.gv-dialog .ui-button.ui-dialog-titlebar-close:before{text-indent:0;position:absolute;left:0;top:3px;content:"\f335";font-family:Dashicons, sans-serif;font-size:30px;line-height:30px;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.gv-dialog-options{display:none;width:90%;padding:10px 0 !important;text-align:left}.gv-dialog-options fieldset.item-settings-group{border-bottom:1px solid #e2e4e7;min-height:2rem;display:block;padding:15px;padding-left:200px;margin-left:-25px;margin-right:-25px}html[dir=rtl] .gv-dialog-options fieldset.item-settings-group{padding-left:15px;padding-right:200px}.gv-dialog-options fieldset.item-settings-group:first-child{padding-top:0}.gv-dialog-options fieldset.item-settings-group:last-of-type{border-bottom:none}.gv-dialog-options fieldset.item-settings-group.item-settings-group-field .gv-setting-container{padding-left:25px;margin-left:-200px}.gv-dialog-options fieldset.item-settings-group.item-settings-group-field legend{display:none}.gv-dialog-options fieldset.item-settings-group legend{position:absolute;font-size:24px;left:25px;padding:0;color:#23282d;font-weight:200}html[dir=rtl] .gv-dialog-options fieldset.item-settings-group legend{right:25px;left:auto}@media (max-width: 850px){.gv-dialog-options fieldset.item-settings-group{margin:0;padding-left:0}.gv-dialog-options fieldset.item-settings-group:first-child legend{padding-top:0;padding-bottom:15px}.gv-dialog-options fieldset.item-settings-group.item-settings-group-field{margin:0}.gv-dialog-options fieldset.item-settings-group legend{padding-top:15px;position:relative;left:auto}}html[dir=rtl] .gv-dialog-options{text-align:right}.gv-dialog-options .subtitle{margin:0 15px .8em;padding:.5em 0 .8em;border-bottom:1px solid rgba(210,224,235,0.45)}.gv-dialog-options.gv-dialog-warning p{font-size:1.1em;margin:0 !important;padding:0 0 1em !important}.gv-dialog-options.gv-dialog-warning .dashicons{font-size:70px;width:70px;height:70px;line-height:.8;float:right;text-align:right;color:#d7dade}html[dir=rtl] .gv-dialog-options.gv-dialog-warning .dashicons{text-align:left;float:left}.gv-dialog-options .gv-setting-container{margin:0;padding:.4em 0 .8em;display:block;font-size:1.1em;clear:left}.gv-dialog-options .gv-setting-container.hidden,.gv-dialog-options .gv-setting-container.gv-setting-container-search_mode{display:none}.gv-dialog-options .gv-setting-container:last-child{padding-bottom:.5em}.gv-dialog-options .gv-setting-container label{margin:0;font-weight:normal;color:#40464d;display:inline-block;padding-right:.666em;max-width:100%}.gv-dialog-options .gv-setting-container label *{font-weight:normal}.gv-dialog-options .gv-setting-container label .gform-dropdown__group-text{font-weight:500 !important}.gv-dialog-options .gv-setting-container label[for$=only_loggedin]::after,.gv-dialog-options .gv-setting-container label[for*=show_as_link]::after{content:"\f160";font-family:Dashicons, sans-serif;font-size:20px;height:20px;width:20px;line-height:20px;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin-left:.25em;position:absolute;color:#555D66}.gv-dialog-options .gv-setting-container label[for*=show_as_link]::after{content:"\f498"}.gv-dialog-options .gv-setting-container .howto{margin:.25em 0 .5em;font-weight:normal}.gv-dialog-options .gv-setting-container code{font-style:normal !important}.gv-dialog-options .gv-setting-container.gv-setting-container-choice_display .gv-label-radio{display:block;margin:.5em 0}.gv-dialog-options fieldset legend{font-size:1.1em;padding-bottom:.2em}.gv-dialog-options .gv-setting-list li{list-style:none;display:block;padding:.2em .2em .4em}.gv-dialog-options .gv-setting-list li.gv-sub-setting{padding-left:1.7em}.gv-dialog-options input[type="text"]{display:inline-block;clear:left}.gv-dialog-options table select{width:95%;margin:0 auto;white-space:nowrap}.gv-dialog-options table{width:100%;border:none}.gv-widget-search-fields table,.postbox .gv-dialog-options table{padding-bottom:15px;margin:.5em auto}.gv-widget-search-fields table td,.gv-widget-search-fields table th,.postbox .gv-dialog-options table td,.postbox .gv-dialog-options table th{text-align:left;padding:10px 5px}html[dir=rtl] .gv-widget-search-fields table td,html[dir=rtl] .gv-widget-search-fields table th,html[dir=rtl] .postbox .gv-dialog-options table td,html[dir=rtl] .postbox .gv-dialog-options table th{text-align:right}.gv-widget-search-fields table .no-search-fields td,.postbox .gv-dialog-options table .no-search-fields td{text-align:center;font-size:15px;padding:15px 0}.gv-widget-search-fields table .no-search-fields td .gv-add-search-field,.postbox .gv-dialog-options table .no-search-fields td .gv-add-search-field{display:block;margin:1em auto}.gv-widget-search-fields table .cell-sort,.postbox .gv-dialog-options table .cell-sort{cursor:ns-resize}.gv-widget-search-fields table .cell-sort .icon,.postbox .gv-dialog-options table .cell-sort .icon{border-radius:5px;padding:7px 7px 6px;background-color:#f3f4f5}.gv-widget-search-fields table .cell-sort:hover .icon,.postbox .gv-dialog-options table .cell-sort:hover .icon{background-color:#d7dade}.gv-widget-search-fields table .cell-sort.no-sort,.postbox .gv-dialog-options table .cell-sort.no-sort{cursor:default}.gv-widget-search-fields table .gv-search-fields,.gv-widget-search-fields table .gv-search-inputs,.postbox .gv-dialog-options table .gv-search-fields,.postbox .gv-dialog-options table .gv-search-inputs{width:100%}.gv-widget-search-fields table .cell-sort button.gv-remove-search-field,.gv-widget-search-fields table .cell-add-remove button.gv-remove-search-field,.postbox .gv-dialog-options table .cell-sort button.gv-remove-search-field,.postbox .gv-dialog-options table .cell-add-remove button.gv-remove-search-field{margin-left:6px}.gv-widget-search-fields table .cell-sort button .dashicons,.gv-widget-search-fields table .cell-add-remove button .dashicons,.postbox .gv-dialog-options table .cell-sort button .dashicons,.postbox .gv-dialog-options table .cell-add-remove button .dashicons{font-size:20px;height:20px;width:20px;opacity:.8;cursor:pointer}.gv-widget-search-fields table .cell-sort button .dashicons:hover,.gv-widget-search-fields table .cell-sort button .dashicons:focus,.gv-widget-search-fields table .cell-add-remove button .dashicons:hover,.gv-widget-search-fields table .cell-add-remove button .dashicons:focus,.postbox .gv-dialog-options table .cell-sort button .dashicons:hover,.postbox .gv-dialog-options table .cell-sort button .dashicons:focus,.postbox .gv-dialog-options table .cell-add-remove button .dashicons:hover,.postbox .gv-dialog-options table .cell-add-remove button .dashicons:focus{opacity:1}.gv-widget-search-fields table .cell-sort button .dashicons-plus-alt,.gv-widget-search-fields table .cell-add-remove button .dashicons-plus-alt,.postbox .gv-dialog-options table .cell-sort button .dashicons-plus-alt,.postbox .gv-dialog-options table .cell-add-remove button .dashicons-plus-alt{color:#328540}.gv-widget-search-fields table .cell-sort button .dashicons-dismiss,.gv-widget-search-fields table .cell-add-remove button .dashicons-dismiss,.postbox .gv-dialog-options table .cell-sort button .dashicons-dismiss,.postbox .gv-dialog-options table .cell-add-remove button .dashicons-dismiss{font-size:20px;height:20px;width:20px;color:#C62D2D}.gv-widget-search-fields table .cell-sort,.postbox .gv-dialog-options table .cell-sort{width:24px}.gv-widget-search-fields table .cell-add-remove,.postbox .gv-dialog-options table .cell-add-remove{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;width:50px}.wp-block-legacy-widget .gv-widget-search-fields .cell-add-remove{width:70px !important}.wp-block-legacy-widget .gv-howto.howto{font-size:small}.post-type-gravityview input.gv-merge-tag-support,.post-type-gravityview input.merge-tag-support,.widgets-php input.gv-merge-tag-support,.widgets-php input.merge-tag-support{width:95%}.post-type-gravityview .gravityview_sort_field,.widgets-php .gravityview_sort_field{max-width:250px}.post-type-gravityview #gv-loading,.widgets-php #gv-loading{text-align:center;font-size:16px;line-height:20px;padding:0 40px;display:block}.post-type-gravityview #gv-loading .spinner,.widgets-php #gv-loading .spinner{display:inline-block;margin-top:-3px;float:none}.gv-label{display:inline-block;clear:right;margin:0 1em .5em 0;color:#6c7781;text-transform:uppercase;font-size:13px;font-weight:500 !important}.gv-label::after{content:"\A";white-space:pre}.gv-label-select select{display:block}.gv-label-checkbox{padding-right:1em;display:block;width:100%;font-weight:500}.gv-label-textarea,.gv-label-text{float:left;clear:both;width:100%;display:block;margin-bottom:0.5em}.gv-label-textarea textarea.gv-merge-tag-support .gv-label-textarea textarea.merge-tag-support{width:95%}.gv-label-textarea .ui-autocomplete{top:auto !important;max-height:300px;overflow-y:auto;left:25px !important;right:25px !important;width:-webkit-calc( 100% - ( 25px * 2 ) - 2px) !important;width:-moz-calc( 100% - ( 25px * 2 ) - 2px) !important;width:calc( 100% - ( 25px * 2 ) - 2px) !important;outline:none}.gv-label-textarea .ui-autocomplete li{padding:0}.gv-label-textarea .ui-autocomplete li .ui-menu-item-wrapper{padding:4px 10px}.gv-label-textarea .ui-autocomplete .ui-menu-item .ui-state-active,.gv-label-textarea .ui-autocomplete .ui-menu-item:hover{background:#edeff0}.gv-label-textarea .ui-autocomplete .ui-menu-item-wrapper:active{background:#e2e4e7}#gv-direct-access:before{font:normal 20px/1 Dashicons;speak:never;display:inline-block;margin-left:-1px;padding-right:3px;vertical-align:top;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#gv-direct-access:before{content:"\f528";color:#bd8600}#gv-direct-access.embed-only:before{content:"\f160";color:#00a32a}.button.button-link.gv-add-field{text-decoration:none;border-radius:3px;min-height:40px;line-height:40px;padding:0 1.25rem;margin-top:-4px}.button.button-link.gv-add-field .dashicons{padding:0 .25em;line-height:40px}.gv-droppable-area .gv-add-field[data-formid]{max-width:100% !important;overflow-x:hidden;text-overflow:ellipsis;margin-bottom:.5em}.gv-field-label .gv-icon,.gv-field-label .gform-icon,.gv-field-label .dashicons{display:none}.gv-field-label .dashicons-welcome-write-blog,.gv-field-label .dashicons-trash,.gv-field-label .dashicons-controls-repeat,.gv-field-label .dashicons-admin-comments,.gv-field-label .dashicons-yes-alt,.gv-field-label .dashicons-editor-code,.gv-field-label[data-original-title="Gravity Forms"] .background-icon,.gv-field-label[data-original-title="GravityView View"] .background-icon,.gv-field-label .dashicons-lock,.gv-field-label .dashicons-warning,.gv-field-label .dashicons-search,.gv-field-label .dashicons-media-default{display:inline-block !important;background-repeat:no-repeat;-webkit-background-size:contain;background-size:contain;background-position:center center}.gv-fields.gv-nonexistent-form-field span.gv-field-label,.gv-fields.gv-nonexistent-form-field:hover span.gv-field-label{padding:8px 12px}.gv-fields.gv-nonexistent-form-field span.gv-field-label-text-container,.gv-fields.gv-nonexistent-form-field:hover span.gv-field-label-text-container{color:#7e8993}.gv-fields.gv-nonexistent-form-field .dashicons-warning,.gv-fields.gv-nonexistent-form-field:hover .dashicons-warning{color:#ffb900}.gform-admin .gform-visually-hidden,#gv-view-configuration-tabs .gform-visually-hidden{border:0;clip:rect(0, 0, 0, 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.gv-section-header{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;justify-content:space-between;margin-top:-1em}.gv-section-header h4{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;flex:1}.gv-section-header .view-template-select{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;flex:1;height:42px;width:100%;position:relative;margin:1rem 0 1rem 1rem;-webkit-flex-shrink:0;flex-shrink:0}.post-type-gravityview #post-body.columns-2 #postbox-container-1{clear:left}
diff --git a/assets/css/gf-merge-tags.css b/assets/css/gf-merge-tags.css
index aa42f6dff5..5426dcff94 100644
--- a/assets/css/gf-merge-tags.css
+++ b/assets/css/gf-merge-tags.css
@@ -1 +1 @@
-.all-merge-tags{position:absolute;right:0;top:-1.9rem}.all-merge-tags button{-webkit-transition:color ease-in-out 500ms;-o-transition:color ease-in-out 500ms;-moz-transition:color ease-in-out 500ms;transition:color ease-in-out 500ms}.gform-tinymce-mergetag-button .all-merge-tags{display:inline-block;padding-top:0.45rem;position:static}.wp-media-buttons .all-merge-tags{position:relative;top:0.375rem}.field_setting .all-merge-tags{top:-0.15rem}.field_setting .all-merge-tags .gform-button--unstyled{font-weight:400}@-moz-document url-prefix(){.gform-settings-input__container--with-merge-tag .all-merge-tags.textarea a.open-list{margin-top:1px}}#gf_merge_tag_list{background:#fff;border:1px solid #d9dae6;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;-webkit-box-shadow:0 3px 5px rgba(0,0,0,0.125);-moz-box-shadow:0 3px 5px rgba(0,0,0,0.125);box-shadow:0 3px 5px rgba(0,0,0,0.125);max-height:14rem;overflow:auto;position:absolute;right:0;width:14.625rem !important;z-index:999}#gf_merge_tag_list li{margin:0}#gf_merge_tag_list li a{cursor:pointer}#gf_merge_tag_list li a:hover{background:#f6f9fc}#gf_merge_tag_list li:last-child a{border-bottom:none}#gf_merge_tag_list li a,#gf_merge_tag_list .group-header{border-bottom:1px solid #ecedf8;color:#242748;display:block;font-size:0.875rem;line-height:1.1875rem;padding:0.75rem 1.1875rem 1.0625rem}#gf_merge_tag_list .group-header{font-weight:bold}.right ul#gf_merge_tag_list{right:0}.mt-gform_notification_message,.mt-form_confirmation_message{float:right;position:relative;right:10px;top:90px}#wp-gform_notification_message-wrap,#wp-form_confirmation_message-wrap{margin-right:12px}#form_settings{margin-top:0}table#gf_personal_data_field_settings td{margin:0;padding:0;vertical-align:top}#gf_personal_data_field_settings .gf_personal_data_field_label_title{font-weight:bold;padding:0 10px 10px 0;text-align:left}#gf_personal_data_field_settings .gf_personal_data_cb_title{font-weight:bold;padding:0;text-align:center;width:50px}#gf_personal_data_field_settings .gf_personal_data_cb_cell{text-align:center;width:50px}.gform-admin .ui-autocomplete .ui-state-active{background-color:var(--c-light-blue);border-right:2px solid var(--c-gravity-blue)}.gform-admin .ui-menu-item{padding:0}.gform-admin .ui-menu-item div{padding:0.25rem 0.625rem}.gform-admin .gform-dropdown--merge-tags{display:inline-block}.gform-admin .gform-dropdown--merge-tags .gform-dropdown__control{background:none;border:none;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;display:inline-block;height:auto;line-height:1;padding:0}.gform-admin .gform-dropdown--merge-tags .gform-dropdown__control i.gform-dropdown__chevron{display:none}.gform-admin .gform-dropdown--merge-tags .gform-dropdown__control .gform-icon--merge-tag{border:1px solid transparent;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;color:#9092b2;font-size:1.5rem;position:relative}.gform-admin .gform-dropdown--merge-tags .gform-dropdown__control:focus .gform-icon--merge-tag{border:1px solid var(--c-primary-light);-webkit-box-shadow:var(--bs-input-focus);-moz-box-shadow:var(--bs-input-focus);box-shadow:var(--bs-input-focus);color:var(--c-text)}.gform-admin .gform-dropdown--merge-tags .gform-dropdown__control:hover .gform-icon--merge-tag{-webkit-box-shadow:var(--bs-input-hover);-moz-box-shadow:var(--bs-input-hover);box-shadow:var(--bs-input-hover);color:var(--c-text)}.gform-admin .gform-dropdown--merge-tags .gform-dropdown__control .gform-dropdown__control-text{-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;color:var(--c-port);display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;font-size:0.8125rem;overflow:visible}.gform-admin .gform-dropdown--merge-tags .gform-dropdown__container{-webkit-border-radius:0.1875rem;-moz-border-radius:0.1875rem;border-radius:0.1875rem;border-top:0.0625rem solid #d5d7e9;top:1.5rem;width:16rem}@media (--viewport-full){.gform-admin .gform-dropdown--merge-tags .gform-dropdown__container{width:18.75rem}}.gform-admin .gform-dropdown--merge-tags .gform-dropdown__container::before{display:none}.gform-admin .gform-dropdown--merge-tags .gform-dropdown__group-text{display:inline-block;padding-bottom:0.6875rem}.right .gform-dropdown__container{right:0}.gform-admin .gform-dropdown__search .gform-dropdown__search-input{-webkit-appearance:none;background:#fff;border:1px solid var(--c-blue-haze);-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;-webkit-box-shadow:0 0 0 transparent;-moz-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;color:var(--c-port);font-family:var(--t-font-family-base);font-size:0.8125rem;line-height:2;outline:none;padding:0.25rem 0.75rem;-webkit-transition:var(--tr-inputs);-o-transition:var(--tr-inputs);-moz-transition:var(--tr-inputs);transition:var(--tr-inputs)}html[dir="rtl"] .all-merge-tags{left:0;right:auto}html[dir="rtl"] #gf_merge_tag_list{left:0;right:auto}html[dir="rtl"] .gform-admin .gform-dropdown--merge-tags .gform-dropdown__control{padding:0}html[dir="rtl"] .right .gform-dropdown__container{left:0;right:auto}
+.all-merge-tags{position:absolute;right:0;top:-1.9rem}.all-merge-tags button{-webkit-transition:color ease-in-out 500ms;-moz-transition:color ease-in-out 500ms;transition:color ease-in-out 500ms}.gform-tinymce-mergetag-button .all-merge-tags{display:inline-block;padding-top:0.45rem;position:static}.wp-media-buttons .all-merge-tags{position:relative;top:0.375rem}.field_setting .all-merge-tags{top:-0.15rem}.field_setting .all-merge-tags .gform-button--unstyled{font-weight:400}@-moz-document url-prefix(){.gform-settings-input__container--with-merge-tag .all-merge-tags.textarea a.open-list{margin-top:1px}}#gf_merge_tag_list{background:#fff;border:1px solid #d9dae6;border-radius:3px;-webkit-box-shadow:0 3px 5px rgba(0,0,0,0.125);box-shadow:0 3px 5px rgba(0,0,0,0.125);max-height:14rem;overflow:auto;position:absolute;right:0;width:14.625rem !important;z-index:999}#gf_merge_tag_list li{margin:0}#gf_merge_tag_list li a{cursor:pointer}#gf_merge_tag_list li a:hover{background:#f6f9fc}#gf_merge_tag_list li:last-child a{border-bottom:none}#gf_merge_tag_list li a,#gf_merge_tag_list .group-header{border-bottom:1px solid #ecedf8;color:#242748;display:block;font-size:0.875rem;line-height:1.1875rem;padding:0.75rem 1.1875rem 1.0625rem}#gf_merge_tag_list .group-header{font-weight:bold}.right ul#gf_merge_tag_list{right:0}.mt-gform_notification_message,.mt-form_confirmation_message{float:right;position:relative;right:10px;top:90px}#wp-gform_notification_message-wrap,#wp-form_confirmation_message-wrap{margin-right:12px}#form_settings{margin-top:0}table#gf_personal_data_field_settings td{margin:0;padding:0;vertical-align:top}#gf_personal_data_field_settings .gf_personal_data_field_label_title{font-weight:bold;padding:0 10px 10px 0;text-align:left}#gf_personal_data_field_settings .gf_personal_data_cb_title{font-weight:bold;padding:0;text-align:center;width:50px}#gf_personal_data_field_settings .gf_personal_data_cb_cell{text-align:center;width:50px}.gform-admin .ui-autocomplete .ui-state-active{background-color:var(--c-light-blue);border-right:2px solid var(--c-gravity-blue)}.gform-admin .ui-menu-item{padding:0}.gform-admin .ui-menu-item div{padding:0.25rem 0.625rem}.gform-admin .gform-dropdown--merge-tags{display:inline-block}.gform-admin .gform-dropdown--merge-tags .gform-dropdown__control{background:none;border:none;-webkit-box-shadow:none;box-shadow:none;display:inline-block;height:auto;line-height:1;padding:0}.gform-admin .gform-dropdown--merge-tags .gform-dropdown__control i.gform-dropdown__chevron{display:none}.gform-admin .gform-dropdown--merge-tags .gform-dropdown__control .gform-icon--merge-tag{border:1px solid transparent;border-radius:3px;color:#9092b2;font-size:1.5rem;position:relative}.gform-admin .gform-dropdown--merge-tags .gform-dropdown__control:focus .gform-icon--merge-tag{border:1px solid var(--c-primary-light);-webkit-box-shadow:var(--bs-input-focus);box-shadow:var(--bs-input-focus);color:var(--c-text)}.gform-admin .gform-dropdown--merge-tags .gform-dropdown__control:hover .gform-icon--merge-tag{-webkit-box-shadow:var(--bs-input-hover);box-shadow:var(--bs-input-hover);color:var(--c-text)}.gform-admin .gform-dropdown--merge-tags .gform-dropdown__control .gform-dropdown__control-text{-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;color:var(--c-port);display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;font-size:0.8125rem;overflow:visible}.gform-admin .gform-dropdown--merge-tags .gform-dropdown__container{border-radius:0.1875rem;border-top:0.0625rem solid #d5d7e9;top:1.5rem;width:16rem}@media (--viewport-full){.gform-admin .gform-dropdown--merge-tags .gform-dropdown__container{width:18.75rem}}.gform-admin .gform-dropdown--merge-tags .gform-dropdown__container::before{display:none}.gform-admin .gform-dropdown--merge-tags .gform-dropdown__group-text{display:inline-block;padding-bottom:0.6875rem}.right .gform-dropdown__container{right:0}.gform-admin .gform-dropdown__search .gform-dropdown__search-input{-webkit-appearance:none;background:#fff;border:1px solid var(--c-blue-haze);border-radius:3px;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;color:var(--c-port);font-family:var(--t-font-family-base);font-size:0.8125rem;line-height:2;outline:none;padding:0.25rem 0.75rem;-webkit-transition:var(--tr-inputs);-moz-transition:var(--tr-inputs);transition:var(--tr-inputs)}html[dir="rtl"] .all-merge-tags{left:0;right:auto}html[dir="rtl"] #gf_merge_tag_list{left:0;right:auto}html[dir="rtl"] .gform-admin .gform-dropdown--merge-tags .gform-dropdown__control{padding:0}html[dir="rtl"] .right .gform-dropdown__container{left:0;right:auto}
diff --git a/assets/css/gf_tooltip.css b/assets/css/gf_tooltip.css
index 7cc33a6e80..9a2c5059a2 100644
--- a/assets/css/gf_tooltip.css
+++ b/assets/css/gf_tooltip.css
@@ -28,11 +28,8 @@ a.tooltip_bottomleft:hover {
color: #000;
text-shadow: 1px 1px 1px #fff;
font-size: 1.0em;
- -webkit-border-radius: 6px;
- -moz-border-radius: 6px;
border-radius: 6px;
-webkit-box-shadow: 0 8px 6px -6px rgba(0, 0, 0, 0.3);
- -moz-box-shadow: 0 8px 6px -6px rgba(0, 0, 0, 0.3);
box-shadow: 0 8px 6px -6px rgba(0, 0, 0, 0.3);
}
diff --git a/assets/css/merge-tags.css b/assets/css/merge-tags.css
index aa42f6dff5..5426dcff94 100644
--- a/assets/css/merge-tags.css
+++ b/assets/css/merge-tags.css
@@ -1 +1 @@
-.all-merge-tags{position:absolute;right:0;top:-1.9rem}.all-merge-tags button{-webkit-transition:color ease-in-out 500ms;-o-transition:color ease-in-out 500ms;-moz-transition:color ease-in-out 500ms;transition:color ease-in-out 500ms}.gform-tinymce-mergetag-button .all-merge-tags{display:inline-block;padding-top:0.45rem;position:static}.wp-media-buttons .all-merge-tags{position:relative;top:0.375rem}.field_setting .all-merge-tags{top:-0.15rem}.field_setting .all-merge-tags .gform-button--unstyled{font-weight:400}@-moz-document url-prefix(){.gform-settings-input__container--with-merge-tag .all-merge-tags.textarea a.open-list{margin-top:1px}}#gf_merge_tag_list{background:#fff;border:1px solid #d9dae6;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;-webkit-box-shadow:0 3px 5px rgba(0,0,0,0.125);-moz-box-shadow:0 3px 5px rgba(0,0,0,0.125);box-shadow:0 3px 5px rgba(0,0,0,0.125);max-height:14rem;overflow:auto;position:absolute;right:0;width:14.625rem !important;z-index:999}#gf_merge_tag_list li{margin:0}#gf_merge_tag_list li a{cursor:pointer}#gf_merge_tag_list li a:hover{background:#f6f9fc}#gf_merge_tag_list li:last-child a{border-bottom:none}#gf_merge_tag_list li a,#gf_merge_tag_list .group-header{border-bottom:1px solid #ecedf8;color:#242748;display:block;font-size:0.875rem;line-height:1.1875rem;padding:0.75rem 1.1875rem 1.0625rem}#gf_merge_tag_list .group-header{font-weight:bold}.right ul#gf_merge_tag_list{right:0}.mt-gform_notification_message,.mt-form_confirmation_message{float:right;position:relative;right:10px;top:90px}#wp-gform_notification_message-wrap,#wp-form_confirmation_message-wrap{margin-right:12px}#form_settings{margin-top:0}table#gf_personal_data_field_settings td{margin:0;padding:0;vertical-align:top}#gf_personal_data_field_settings .gf_personal_data_field_label_title{font-weight:bold;padding:0 10px 10px 0;text-align:left}#gf_personal_data_field_settings .gf_personal_data_cb_title{font-weight:bold;padding:0;text-align:center;width:50px}#gf_personal_data_field_settings .gf_personal_data_cb_cell{text-align:center;width:50px}.gform-admin .ui-autocomplete .ui-state-active{background-color:var(--c-light-blue);border-right:2px solid var(--c-gravity-blue)}.gform-admin .ui-menu-item{padding:0}.gform-admin .ui-menu-item div{padding:0.25rem 0.625rem}.gform-admin .gform-dropdown--merge-tags{display:inline-block}.gform-admin .gform-dropdown--merge-tags .gform-dropdown__control{background:none;border:none;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;display:inline-block;height:auto;line-height:1;padding:0}.gform-admin .gform-dropdown--merge-tags .gform-dropdown__control i.gform-dropdown__chevron{display:none}.gform-admin .gform-dropdown--merge-tags .gform-dropdown__control .gform-icon--merge-tag{border:1px solid transparent;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;color:#9092b2;font-size:1.5rem;position:relative}.gform-admin .gform-dropdown--merge-tags .gform-dropdown__control:focus .gform-icon--merge-tag{border:1px solid var(--c-primary-light);-webkit-box-shadow:var(--bs-input-focus);-moz-box-shadow:var(--bs-input-focus);box-shadow:var(--bs-input-focus);color:var(--c-text)}.gform-admin .gform-dropdown--merge-tags .gform-dropdown__control:hover .gform-icon--merge-tag{-webkit-box-shadow:var(--bs-input-hover);-moz-box-shadow:var(--bs-input-hover);box-shadow:var(--bs-input-hover);color:var(--c-text)}.gform-admin .gform-dropdown--merge-tags .gform-dropdown__control .gform-dropdown__control-text{-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;color:var(--c-port);display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;font-size:0.8125rem;overflow:visible}.gform-admin .gform-dropdown--merge-tags .gform-dropdown__container{-webkit-border-radius:0.1875rem;-moz-border-radius:0.1875rem;border-radius:0.1875rem;border-top:0.0625rem solid #d5d7e9;top:1.5rem;width:16rem}@media (--viewport-full){.gform-admin .gform-dropdown--merge-tags .gform-dropdown__container{width:18.75rem}}.gform-admin .gform-dropdown--merge-tags .gform-dropdown__container::before{display:none}.gform-admin .gform-dropdown--merge-tags .gform-dropdown__group-text{display:inline-block;padding-bottom:0.6875rem}.right .gform-dropdown__container{right:0}.gform-admin .gform-dropdown__search .gform-dropdown__search-input{-webkit-appearance:none;background:#fff;border:1px solid var(--c-blue-haze);-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;-webkit-box-shadow:0 0 0 transparent;-moz-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;color:var(--c-port);font-family:var(--t-font-family-base);font-size:0.8125rem;line-height:2;outline:none;padding:0.25rem 0.75rem;-webkit-transition:var(--tr-inputs);-o-transition:var(--tr-inputs);-moz-transition:var(--tr-inputs);transition:var(--tr-inputs)}html[dir="rtl"] .all-merge-tags{left:0;right:auto}html[dir="rtl"] #gf_merge_tag_list{left:0;right:auto}html[dir="rtl"] .gform-admin .gform-dropdown--merge-tags .gform-dropdown__control{padding:0}html[dir="rtl"] .right .gform-dropdown__container{left:0;right:auto}
+.all-merge-tags{position:absolute;right:0;top:-1.9rem}.all-merge-tags button{-webkit-transition:color ease-in-out 500ms;-moz-transition:color ease-in-out 500ms;transition:color ease-in-out 500ms}.gform-tinymce-mergetag-button .all-merge-tags{display:inline-block;padding-top:0.45rem;position:static}.wp-media-buttons .all-merge-tags{position:relative;top:0.375rem}.field_setting .all-merge-tags{top:-0.15rem}.field_setting .all-merge-tags .gform-button--unstyled{font-weight:400}@-moz-document url-prefix(){.gform-settings-input__container--with-merge-tag .all-merge-tags.textarea a.open-list{margin-top:1px}}#gf_merge_tag_list{background:#fff;border:1px solid #d9dae6;border-radius:3px;-webkit-box-shadow:0 3px 5px rgba(0,0,0,0.125);box-shadow:0 3px 5px rgba(0,0,0,0.125);max-height:14rem;overflow:auto;position:absolute;right:0;width:14.625rem !important;z-index:999}#gf_merge_tag_list li{margin:0}#gf_merge_tag_list li a{cursor:pointer}#gf_merge_tag_list li a:hover{background:#f6f9fc}#gf_merge_tag_list li:last-child a{border-bottom:none}#gf_merge_tag_list li a,#gf_merge_tag_list .group-header{border-bottom:1px solid #ecedf8;color:#242748;display:block;font-size:0.875rem;line-height:1.1875rem;padding:0.75rem 1.1875rem 1.0625rem}#gf_merge_tag_list .group-header{font-weight:bold}.right ul#gf_merge_tag_list{right:0}.mt-gform_notification_message,.mt-form_confirmation_message{float:right;position:relative;right:10px;top:90px}#wp-gform_notification_message-wrap,#wp-form_confirmation_message-wrap{margin-right:12px}#form_settings{margin-top:0}table#gf_personal_data_field_settings td{margin:0;padding:0;vertical-align:top}#gf_personal_data_field_settings .gf_personal_data_field_label_title{font-weight:bold;padding:0 10px 10px 0;text-align:left}#gf_personal_data_field_settings .gf_personal_data_cb_title{font-weight:bold;padding:0;text-align:center;width:50px}#gf_personal_data_field_settings .gf_personal_data_cb_cell{text-align:center;width:50px}.gform-admin .ui-autocomplete .ui-state-active{background-color:var(--c-light-blue);border-right:2px solid var(--c-gravity-blue)}.gform-admin .ui-menu-item{padding:0}.gform-admin .ui-menu-item div{padding:0.25rem 0.625rem}.gform-admin .gform-dropdown--merge-tags{display:inline-block}.gform-admin .gform-dropdown--merge-tags .gform-dropdown__control{background:none;border:none;-webkit-box-shadow:none;box-shadow:none;display:inline-block;height:auto;line-height:1;padding:0}.gform-admin .gform-dropdown--merge-tags .gform-dropdown__control i.gform-dropdown__chevron{display:none}.gform-admin .gform-dropdown--merge-tags .gform-dropdown__control .gform-icon--merge-tag{border:1px solid transparent;border-radius:3px;color:#9092b2;font-size:1.5rem;position:relative}.gform-admin .gform-dropdown--merge-tags .gform-dropdown__control:focus .gform-icon--merge-tag{border:1px solid var(--c-primary-light);-webkit-box-shadow:var(--bs-input-focus);box-shadow:var(--bs-input-focus);color:var(--c-text)}.gform-admin .gform-dropdown--merge-tags .gform-dropdown__control:hover .gform-icon--merge-tag{-webkit-box-shadow:var(--bs-input-hover);box-shadow:var(--bs-input-hover);color:var(--c-text)}.gform-admin .gform-dropdown--merge-tags .gform-dropdown__control .gform-dropdown__control-text{-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;color:var(--c-port);display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;font-size:0.8125rem;overflow:visible}.gform-admin .gform-dropdown--merge-tags .gform-dropdown__container{border-radius:0.1875rem;border-top:0.0625rem solid #d5d7e9;top:1.5rem;width:16rem}@media (--viewport-full){.gform-admin .gform-dropdown--merge-tags .gform-dropdown__container{width:18.75rem}}.gform-admin .gform-dropdown--merge-tags .gform-dropdown__container::before{display:none}.gform-admin .gform-dropdown--merge-tags .gform-dropdown__group-text{display:inline-block;padding-bottom:0.6875rem}.right .gform-dropdown__container{right:0}.gform-admin .gform-dropdown__search .gform-dropdown__search-input{-webkit-appearance:none;background:#fff;border:1px solid var(--c-blue-haze);border-radius:3px;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;color:var(--c-port);font-family:var(--t-font-family-base);font-size:0.8125rem;line-height:2;outline:none;padding:0.25rem 0.75rem;-webkit-transition:var(--tr-inputs);-moz-transition:var(--tr-inputs);transition:var(--tr-inputs)}html[dir="rtl"] .all-merge-tags{left:0;right:auto}html[dir="rtl"] #gf_merge_tag_list{left:0;right:auto}html[dir="rtl"] .gform-admin .gform-dropdown--merge-tags .gform-dropdown__control{padding:0}html[dir="rtl"] .right .gform-dropdown__container{left:0;right:auto}
diff --git a/assets/css/scss/admin-metabox-placeholder.scss b/assets/css/scss/admin-metabox-placeholder.scss
new file mode 100644
index 0000000000..d035020a95
--- /dev/null
+++ b/assets/css/scss/admin-metabox-placeholder.scss
@@ -0,0 +1,239 @@
+@import "_mixins";
+@import "variables";
+
+span.gravityview-upgrade-pill {
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ border-radius: 6px;
+ background-color: #FFF;
+ padding: 6px 8px;
+ color: $color-aaa;
+ text-transform: uppercase;
+ font-size: 10px;
+ font-weight: 700;
+ line-height: 1;
+ position: absolute;
+ top: 14px;
+ right: 13px;
+
+ &:dir(rtl) {
+ right: auto;
+ left: 13px;
+ }
+
+ svg {
+ width: 10px;
+ height: 10px;
+ }
+
+ span {
+ width: 0;
+ overflow: hidden;
+ }
+}
+
+a.gravityview-upgrade {
+ &:hover {
+ span.gravityview-upgrade-pill {
+ color: $color-111 ;
+
+ span {
+ width: auto;
+ margin-left: 6px;
+ }
+
+ &:dir(rtl) {
+ span {
+ margin-left: 0;
+ margin-right: 6px;
+ }
+ }
+ }
+ }
+}
+
+.gk-gravityview-placeholder-container {
+ margin: 16px;
+ background: white;
+ overflow: hidden;
+ border-radius: 4px;
+ border: 1px #DDDDE5 solid;
+ display: flex;
+ flex-direction: column;
+ flex-wrap: wrap;
+
+ @keyframes spinner-animation {
+ 0% {
+ transform: rotate(0deg)
+ }
+ to {
+ transform: rotate(359deg)
+ }
+ }
+
+ .loading {
+ display: none;
+ width: 16px;
+ height: 16px;
+ margin: 2px;
+ animation: spinner-animation 1s cubic-bezier(.6, 0, .4, 1) infinite;
+ }
+
+ .gk-gravityview-placeholder-content {
+ display: flex;
+ padding: 16px;
+ }
+
+ .gk-gravityview-placeholder-icon {
+ width: 48px;
+ height: 48px;
+ }
+
+ .gk-gravityview-placeholder-learn-more {
+ text-align: center;
+ margin: 1.5em auto;
+ font-size: 1.1em;
+
+ a {
+ display: inline-block;
+ }
+ }
+
+ .gk-gravityview-placeholder-summary {
+ flex: 1;
+ line-height: 1.5;
+
+ h3 {
+ display: block;
+ font-weight: 500;
+ vertical-align: middle;
+ color: $color-111;
+ font-size: 16px;
+ margin: 0;
+ padding: 0;
+ }
+
+ .howto {
+ font-size: 14px;
+ margin: 0;
+
+ p {
+ margin: 0 !important;
+ }
+ }
+ }
+
+ .gk-gravityview-placeholder-button {
+ display: inline-flex;
+ align-items: center;
+ justify-content: center;
+ flex-grow: 0;
+
+ &.is-idle {
+ cursor: progress;
+ background: $color-888;
+ border-color: $color-888;
+
+ .loading {
+ display: block;
+ }
+ }
+
+ &.is-error {
+ background: $color-red;
+ border-color: $color-red;
+ }
+ }
+
+ &.gk-gravityview-placeholder-container--inline {
+ .gk-gravityview-placeholder-icon {
+ @media (min-width: 1200px) {
+ margin-right: 16px;
+
+ &:dir(rtl) {
+ margin-left: 16px;
+ margin-right: 0;
+ }
+ }
+ }
+
+ .gk-gravityview-placeholder-body {
+ display: flex;
+ flex: 1;
+ }
+
+ .gk-gravityview-placeholder-actions {
+ @media (min-width: 1300px) {
+ margin-left: 16px;
+
+ &:dir(rtl) {
+ margin-left: 0;
+ margin-right: 16px;
+ }
+ }
+ }
+
+ @media (max-width: 1299px) {
+ .gk-gravityview-placeholder-body {
+ flex-direction: column;
+ }
+ .gk-gravityview-placeholder-actions {
+ margin-top: 16px;
+ }
+ }
+
+ @media (max-width: 1199px) {
+ .gk-gravityview-placeholder-content {
+ flex-direction: column;
+ align-items: center;
+ text-align: center;
+ }
+
+ .gk-gravityview-placeholder-icon {
+ margin-bottom: 16px;
+ }
+ }
+ }
+
+ &.gk-gravityview-placeholder-container--card {
+ max-width: 400px;
+ margin: 32px auto;
+ width: calc(100% - 64px); // keep at least 32px margin on the sides.
+
+ .gk-gravityview-placeholder-header {
+ aspect-ratio: 16/9;
+ width: 100%;
+ background-color: #FF1B67;
+ }
+
+ .gk-gravityview-placeholder-content {
+ align-items: center;
+ text-align: center;
+ flex-direction: column;
+ padding: 32px 32px;
+ }
+
+ .gk-gravityview-placeholder-icon {
+ margin-bottom: 24px;
+ width: 80px;
+ height: 80px;
+ }
+
+ .gk-gravityview-placeholder-summary {
+ line-height: 20px;
+
+ h3 {
+ margin-bottom: 16px;
+ }
+
+ p {
+ margin-top: 16px !important;
+ }
+ }
+
+ .gk-gravityview-placeholder-actions {
+ margin-top: 36px;
+ }
+ }
+}
diff --git a/assets/css/scss/admin-metabox.scss b/assets/css/scss/admin-metabox.scss
index f12fb8bead..17d698710d 100644
--- a/assets/css/scss/admin-metabox.scss
+++ b/assets/css/scss/admin-metabox.scss
@@ -110,4 +110,7 @@
// The right panel
@import "admin-metabox-panel";
+
+ // Styles for placeholder functionality.
+ @import "admin-metabox-placeholder";
}
diff --git a/assets/css/scss/admin-views.scss b/assets/css/scss/admin-views.scss
index 9cf9f4b016..7783f0351f 100644
--- a/assets/css/scss/admin-views.scss
+++ b/assets/css/scss/admin-views.scss
@@ -2098,3 +2098,13 @@ $dialog-button-padding: 5px;
flex-shrink: 0;
}
}
+
+/**
+ * This fixes a Safari Tech Preview bug that only Zack will ever see, where the GravityView
+ * metaboxes are all showing up in the second column.
+ *
+ * Once this is fixed in STP, we can remove this.
+ */
+.post-type-gravityview #post-body.columns-2 #postbox-container-1 {
+ clear: left;
+}
diff --git a/assets/js/admin-entries-list.min.js b/assets/js/admin-entries-list.min.js
index 894838436a..86bd8df72a 100644
--- a/assets/js/admin-entries-list.min.js
+++ b/assets/js/admin-entries-list.min.js
@@ -1 +1 @@
-!function($){"use strict";var self={init:function(){self.maybeDisplayMessages(),+gvGlobals.add_bulk_action&&self.addBulkAction(),+gvGlobals.show_column&&(self.addApprovedColumn(),self.setInitialApprovedEntries(),self.setupTippy(),$(".toggleApproved").on("click",self.toggleApproved))}};self.setupTippy=function(){function gv_select_status(element,status){$(element).find("a").removeClass("selected").off().end().find('a[data-approved="'+status+'"]').addClass("selected")}tippy(".toggleApproved",{interactive:!0,arrow:!0,arrowType:"round",theme:"light-border",content:gvGlobals.status_popover_template,placement:gvGlobals.status_popover_placement,onShow:function(showEvent){var $entry_element=$(showEvent.reference),current_status=parseInt($entry_element.attr("data-current-status"),10);document.gvStatusKeyPressHandler=function(key){key.preventDefault();key=key.key||key.keyCode;"Escape"!==key&&"Esc"!==key?-1!==["1","2","3"].indexOf(key)&&$(showEvent.popper).find('a[data-approved="'+key+'"]').trigger("click"):showEvent.popper._tippy.hide()},$(document).on("keyup",document.gvStatusKeyPressHandler),$(showEvent.popper).on("click",function(new_class_and_title){new_class_and_title.preventDefault();var new_status=parseInt($(new_class_and_title.target).attr("data-approved"),10),entry_id=$entry_element.parent().parent().find('th input[type="checkbox"]').val(),new_class_and_title=self.getClassAndTitleFromApprovalStatus(new_status);$entry_element.addClass("loading").prop("title",new_class_and_title[1]).attr("data-current-status",new_status),self.updateApproved(entry_id,new_status,$entry_element),gv_select_status(showEvent.popper,new_status)}),gv_select_status(showEvent.popper,current_status)},onHide:function(hideEvent){$(hideEvent.popper).off("click"),$(document).off("keyup",document.gvStatusKeyPressHandler)}})},self.maybeDisplayMessages=function(){0 ",{label:key}),$.each(gvGlobals.bulk_actions[key],function(i){$optgroup.append($(" ",{value:gvGlobals.bulk_actions[key][i].value}).html(gvGlobals.bulk_actions[key][i].label))}),$optgroups.push($optgroup)}),$("#bulk_action, #bulk_action2, #bulk-action-selector-top, #bulk-action-selector-bottom").append($optgroups))},self.addApprovedColumn=function(){var link;1===$("tbody tr","#lead_form").length&&1===$("tbody tr td","#lead_form").length||(link=' ',0===gvGlobals.column_link.length&&(link=' '),$("thead th.check-column:eq(1), tfoot th.check-column:eq(1), thead .column-is_starred, tfoot .column-is_starred").after('
'+link+" "),$('th.check-column[scope=row]:has(img[src*="star"]),td:has(img[src*="star"]),tbody th.column-is_starred').after(' '))},self.toggleApproved=function(e){e.preventDefault();var title,status,entryID=$(this).parent().parent().find('th input[type="checkbox"]').val();return e.altKey?(e.preventDefault(),title=e.shiftKey?(status=gvGlobals.status_disapproved,gvGlobals.disapprove_title):(status=gvGlobals.status_unapproved,gvGlobals.unapprove_title)):status=$(this).hasClass("approved")?(title=gvGlobals.approve_title,gvGlobals.status_disapproved):(title=gvGlobals.disapprove_title,gvGlobals.status_approved),$(this).addClass("loading").prop("title",title).attr("data-current-status",status),self.updateApproved(entryID,status,$(this)),!1},self.displayMessage=function(messageBox,messageClass,container){self.hideMessage(container,!0);messageBox=$('");$(messageBox).prependTo(container).slideDown(),"updated"===messageClass&&window.setTimeout(function(){self.hideMessage(container,!1)},1e4)},self.hideMessage=function(messageBox,messageQueued){messageBox=$(messageBox).find(".message");messageQueued?$(messageBox).remove():$(messageBox).slideUp(function(){$(this).remove()})},self.updateApproved=function(data,approved,$target){data={action:"gv_update_approved",entry_slug:data,form_id:gvGlobals.form_id,approved:approved,nonce:gvGlobals.nonce,admin_nonce:gvGlobals.admin_nonce};return $.post(ajaxurl,data,function(response){if(response)if($target.removeClass("loading"),response.success){var approved_increment=$target.hasClass("approved")?-1:0,disapproved_increment=$target.hasClass("disapproved")?-1:0,unapproved_increment=$target.hasClass("unapproved")?-1:0;switch($target.removeClass("approved unapproved disapproved"),parseInt(approved,10)){case parseInt(gvGlobals.status_approved,10):$target.addClass("approved"),approved_increment++;break;case parseInt(gvGlobals.status_disapproved,10):$target.addClass("disapproved"),disapproved_increment++;break;case parseInt(gvGlobals.status_unapproved,10):$target.addClass("unapproved"),unapproved_increment++}window.UpdateCount("gv_approved_count",approved_increment),window.UpdateCount("gv_disapproved_count",disapproved_increment),window.UpdateCount("gv_unapproved_count",unapproved_increment)}else alert(response.data[0].message)}),!0},$(self.init)}(jQuery);
\ No newline at end of file
+!function($){var self={init:function(){self.maybeDisplayMessages(),+gvGlobals.add_bulk_action&&self.addBulkAction(),+gvGlobals.show_column&&(self.addApprovedColumn(),self.setInitialApprovedEntries(),self.setupTippy(),$(".toggleApproved").on("click",self.toggleApproved))}};self.setupTippy=function(){function gv_select_status(element,status){$(element).find("a").removeClass("selected").off().end().find('a[data-approved="'+status+'"]').addClass("selected")}tippy(".toggleApproved",{interactive:!0,arrow:!0,arrowType:"round",theme:"light-border",content:gvGlobals.status_popover_template,placement:gvGlobals.status_popover_placement,onShow:function(showEvent){var $entry_element=$(showEvent.reference),current_status=parseInt($entry_element.attr("data-current-status"),10);document.gvStatusKeyPressHandler=function(keyPressEvent){keyPressEvent.preventDefault();keyPressEvent=keyPressEvent.key||keyPressEvent.keyCode;"Escape"===keyPressEvent||"Esc"===keyPressEvent?showEvent.popper._tippy.hide():-1!==["1","2","3"].indexOf(keyPressEvent)&&$(showEvent.popper).find('a[data-approved="'+keyPressEvent+'"]').trigger("click")},$(document).on("keyup",document.gvStatusKeyPressHandler),$(showEvent.popper).on("click",function(linkClickEvent){linkClickEvent.preventDefault();var linkClickEvent=parseInt($(linkClickEvent.target).attr("data-approved"),10),entry_id=$entry_element.parent().parent().find('th input[type="checkbox"]').val(),new_class_and_title=self.getClassAndTitleFromApprovalStatus(linkClickEvent);$entry_element.addClass("loading").prop("title",new_class_and_title[1]).attr("data-current-status",linkClickEvent),self.updateApproved(entry_id,linkClickEvent,$entry_element),gv_select_status(showEvent.popper,linkClickEvent)}),gv_select_status(showEvent.popper,current_status)},onHide:function(hideEvent){$(hideEvent.popper).off("click"),$(document).off("keyup",document.gvStatusKeyPressHandler)}})},self.maybeDisplayMessages=function(){0 ",{label:key}),$.each(gvGlobals.bulk_actions[key],function(i){$optgroup.append($(" ",{value:gvGlobals.bulk_actions[key][i].value}).html(gvGlobals.bulk_actions[key][i].label))}),$optgroups.push($optgroup)}),$("#bulk_action, #bulk_action2, #bulk-action-selector-top, #bulk-action-selector-bottom").append($optgroups))},self.addApprovedColumn=function(){var link;1===$("tbody tr","#lead_form").length&&1===$("tbody tr td","#lead_form").length||(link=' ',0===gvGlobals.column_link.length&&(link=' '),$("thead th.check-column:eq(1), tfoot th.check-column:eq(1), thead .column-is_starred, tfoot .column-is_starred").after(''+link+" "),$('th.check-column[scope=row]:has(img[src*="star"]),td:has(img[src*="star"]),tbody th.column-is_starred').after(' '))},self.toggleApproved=function(e){e.preventDefault();var title,status,entryID=$(this).parent().parent().find('th input[type="checkbox"]').val();return e.altKey?(e.preventDefault(),title=e.shiftKey?(status=gvGlobals.status_disapproved,gvGlobals.disapprove_title):(status=gvGlobals.status_unapproved,gvGlobals.unapprove_title)):status=$(this).hasClass("approved")?(title=gvGlobals.approve_title,gvGlobals.status_disapproved):(title=gvGlobals.disapprove_title,gvGlobals.status_approved),$(this).addClass("loading").prop("title",title).attr("data-current-status",status),self.updateApproved(entryID,status,$(this)),!1},self.displayMessage=function(message,messageClass,container){self.hideMessage(container,!0);message=$('");$(message).prependTo(container).slideDown(),"updated"===messageClass&&window.setTimeout(function(){self.hideMessage(container,!1)},1e4)},self.hideMessage=function(container,messageQueued){container=$(container).find(".message");messageQueued?$(container).remove():$(container).slideUp(function(){$(this).remove()})},self.updateApproved=function(entryID,approved,$target){entryID={action:"gv_update_approved",entry_slug:entryID,form_id:gvGlobals.form_id,approved:approved,nonce:gvGlobals.nonce,admin_nonce:gvGlobals.admin_nonce};return $.post(ajaxurl,entryID,function(response){if(response)if($target.removeClass("loading"),response.success){var approved_increment=$target.hasClass("approved")?-1:0,disapproved_increment=$target.hasClass("disapproved")?-1:0,unapproved_increment=$target.hasClass("unapproved")?-1:0;switch($target.removeClass("approved unapproved disapproved"),parseInt(approved,10)){case parseInt(gvGlobals.status_approved,10):$target.addClass("approved"),approved_increment++;break;case parseInt(gvGlobals.status_disapproved,10):$target.addClass("disapproved"),disapproved_increment++;break;case parseInt(gvGlobals.status_unapproved,10):$target.addClass("unapproved"),unapproved_increment++}window.UpdateCount("gv_approved_count",approved_increment),window.UpdateCount("gv_disapproved_count",disapproved_increment),window.UpdateCount("gv_unapproved_count",unapproved_increment)}else alert(response.data[0].message)}),!0},$(self.init)}(jQuery);
\ No newline at end of file
diff --git a/assets/js/admin-entry-creator.min.js b/assets/js/admin-entry-creator.min.js
index f802a5399c..00b4aa5cc5 100644
--- a/assets/js/admin-entry-creator.min.js
+++ b/assets/js/admin-entry-creator.min.js
@@ -1 +1 @@
-!function($){"use strict";$(document).on("ready",function(){$.fn.selectWoo.amd.define("select2/data/extended-ajax",["./ajax","./tags","../utils","module","jquery"],function(AjaxAdapter,Tags,Utils,module,$){function ExtendedAjaxAdapter($element,options){this.minimumInputLength=options.get("minimumInputLength"),this.defaultResults=options.get("defaultResults"),ExtendedAjaxAdapter.__super__.constructor.call(this,$element,options)}Utils.Extend(ExtendedAjaxAdapter,AjaxAdapter);var originalQuery=AjaxAdapter.prototype.query;return ExtendedAjaxAdapter.prototype.query=function(params,callback){var defaultResults="function"==typeof this.defaultResults?this.defaultResults.call(this):this.defaultResults;defaultResults&&defaultResults.length&&(!params.term||params.term.length=this.minimumInputLength?originalQuery.call(this,params,callback):this.trigger("results:message",{message:"inputTooShort",args:{minimum:this.minimumInputLength,input:"",params:params}})},ExtendedAjaxAdapter});var gv_nonce=$("#gv_entry_creator_nonce").val(),$select=$("#change_created_by"),$defaultResults=$("option[value]:not([selected])",$select),defaultResults=[];$defaultResults.each(function(){var $option=$(this);defaultResults.push({id:$option.attr("value"),text:$option.text(),disabled:$option.attr("disabled")})}),$select.selectWoo({dropdownCssClass:"gv-entry-creator-dropdown",minimumInputLength:3,ajax:{type:"POST",url:GVEntryCreator.ajaxurl,dataType:"json",delay:250,data:function(params){return{q:params.term,page:params.page,action:GVEntryCreator.action,gv_nonce:gv_nonce}},processResults:function(data){var results=[];return data?data.results?data:($.each(data,function(index,user){results.push({id:user.ID,text:user.display_name+" ("+user.user_nicename+")"})}),{results:results}):results},cache:!0},dataAdapter:$.fn.selectWoo.amd.require("select2/data/extended-ajax"),defaultResults:defaultResults}),$("#select2-change_created_by-container").parents(".select2-container--default").addClass("gv-entry-creator-container").addClass(GVEntryCreator.gf25?"gf25":""),$select.on("select2:open",function(){$(".gv-entry-creator-dropdown").addClass(GVEntryCreator.gf25?"gf25":""),$(".gv-entry-creator-dropdown input.select2-search__field").prop("placeholder",GVEntryCreator.language.search_placeholder).attr("aria-label",GVEntryCreator.language.search_placeholder)})})}(jQuery);
\ No newline at end of file
+!function($){$(document).on("ready",function(){$.fn.selectWoo.amd.define("select2/data/extended-ajax",["./ajax","./tags","../utils","module","jquery"],function(AjaxAdapter,Tags,Utils,module,$){function ExtendedAjaxAdapter($element,options){this.minimumInputLength=options.get("minimumInputLength"),this.defaultResults=options.get("defaultResults"),ExtendedAjaxAdapter.__super__.constructor.call(this,$element,options)}Utils.Extend(ExtendedAjaxAdapter,AjaxAdapter);var originalQuery=AjaxAdapter.prototype.query;return ExtendedAjaxAdapter.prototype.query=function(params,callback){var defaultResults="function"==typeof this.defaultResults?this.defaultResults.call(this):this.defaultResults;defaultResults&&defaultResults.length&&(!params.term||params.term.length=this.minimumInputLength?originalQuery.call(this,params,callback):this.trigger("results:message",{message:"inputTooShort",args:{minimum:this.minimumInputLength,input:"",params:params}})},ExtendedAjaxAdapter});var gv_nonce=$("#gv_entry_creator_nonce").val(),$select=$("#change_created_by"),$defaultResults=$("option[value]:not([selected])",$select),defaultResults=[];$defaultResults.each(function(){var $option=$(this);defaultResults.push({id:$option.attr("value"),text:$option.text(),disabled:$option.attr("disabled")})}),$select.selectWoo({dropdownCssClass:"gv-entry-creator-dropdown",minimumInputLength:3,ajax:{type:"POST",url:GVEntryCreator.ajaxurl,dataType:"json",delay:250,data:function(params){return{q:params.term,page:params.page,action:GVEntryCreator.action,gv_nonce:gv_nonce}},processResults:function(data){var results=[];return data?data.results?data:($.each(data,function(index,user){results.push({id:user.ID,text:user.display_name+" ("+user.user_nicename+")"})}),{results:results}):results},cache:!0},dataAdapter:$.fn.selectWoo.amd.require("select2/data/extended-ajax"),defaultResults:defaultResults}),$("#select2-change_created_by-container").parents(".select2-container--default").addClass("gv-entry-creator-container").addClass(GVEntryCreator.gf25?"gf25":""),$select.on("select2:open",function(){$(".gv-entry-creator-dropdown").addClass(GVEntryCreator.gf25?"gf25":""),$(".gv-entry-creator-dropdown input.select2-search__field").prop("placeholder",GVEntryCreator.language.search_placeholder).attr("aria-label",GVEntryCreator.language.search_placeholder)})})}(jQuery);
\ No newline at end of file
diff --git a/assets/js/admin-post-edit.min.js b/assets/js/admin-post-edit.min.js
index 96b3832e9f..97944ddea3 100644
--- a/assets/js/admin-post-edit.min.js
+++ b/assets/js/admin-post-edit.min.js
@@ -1 +1 @@
-jQuery(function($){$("#select_gravityview_view_form").find("select").prop("defaultValue",function(){return $(this).val()}),$(".gv-datepicker").datepicker({dateFormat:"yy-mm-dd",constrainInput:!1}),$("#gravityview_id").on("change",function(){var data,hide_if_js=$("#select_gravityview_view_form").find(".hide-if-js");""!==$("#gravityview_id").val()?($(".gravityview_sort_field").prop("disabled","disabled").empty().append(""+gvGlobals.loading_text+" "),data={action:"gv_sortable_fields",viewid:$(this).val(),nonce:gvGlobals.nonce},$.post(ajaxurl,data,function(response){response&&$(".gravityview_sort_field").empty().append(response).prop("disabled",null)}),hide_if_js.fadeIn()):hide_if_js.fadeOut()}),$("body").on("click","#add_gravityview",function(e){e.preventDefault(),tb_show($(this).attr("title"),$(this).attr("href"),""),$("#TB_ajaxContent").css("padding-bottom","8px")}),$("#insert_gravityview_view").on("click",function(e){return e.preventDefault(),function(){if(""===$("#gravityview_id").val())return alert(gvGlobals.alert_1),$("#gravityview_view_id").trigger("focus");var shortcode="[gravityview";$("#select_gravityview_view_form").find(":input:enabled").each(function(){var setting_value="";if($(this).is(":checkbox")||$(this).is(":radio")){if(!0===$(this).is(":checked")&&!0===$(this).prop("defaultChecked"))return;if(!1===$(this).is(":checked")&&!1===$(this).prop("defaultChecked"))return;setting_value=$(this).is(":checked")?"1":"0",$(this).prop("checked",$(this).prop("defaultChecked"))}else{if($(this).is("select")&&""===$(this).val())return;if($(this).val()===$(this).prop("defaultValue"))return;setting_value=$(this).val(),$(this).val($(this).prop("defaultValue"))}var setting_attr=$(this).prop("name").replace(/^gravityview_/,"");shortcode+=" "+setting_attr+'="'+setting_value+'"'}),shortcode+="]",window.send_to_editor(shortcode)}(),$("#select_gravityview_view_form").find(".hide-if-js").hide(),!1})});
\ No newline at end of file
+jQuery(function($){$("#select_gravityview_view_form").find("select").prop("defaultValue",function(){return $(this).val()}),$(".gv-datepicker").datepicker({dateFormat:"yy-mm-dd",constrainInput:!1}),$("#gravityview_id").on("change",function(){var data,hide_if_js=$("#select_gravityview_view_form").find(".hide-if-js");""===$("#gravityview_id").val()?hide_if_js.fadeOut():($(".gravityview_sort_field").prop("disabled","disabled").empty().append(""+gvGlobals.loading_text+" "),data={action:"gv_sortable_fields",viewid:$(this).val(),nonce:gvGlobals.nonce},$.post(ajaxurl,data,function(response){response&&$(".gravityview_sort_field").empty().append(response).prop("disabled",null)}),hide_if_js.fadeIn())}),$("body").on("click","#add_gravityview",function(e){e.preventDefault(),tb_show($(this).attr("title"),$(this).attr("href"),""),$("#TB_ajaxContent").css("padding-bottom","8px")}),$("#insert_gravityview_view").on("click",function(e){var shortcode;return e.preventDefault(),""===$("#gravityview_id").val()?(alert(gvGlobals.alert_1),$("#gravityview_view_id").trigger("focus")):(shortcode="[gravityview",$("#select_gravityview_view_form").find(":input:enabled").each(function(){var setting_value="";if($(this).is(":checkbox")||$(this).is(":radio")){if(!0===$(this).is(":checked")&&!0===$(this).prop("defaultChecked"))return;if(!1===$(this).is(":checked")&&!1===$(this).prop("defaultChecked"))return;setting_value=$(this).is(":checked")?"1":"0",$(this).prop("checked",$(this).prop("defaultChecked"))}else{if($(this).is("select")&&""===$(this).val())return;if($(this).val()===$(this).prop("defaultValue"))return;setting_value=$(this).val(),$(this).val($(this).prop("defaultValue"))}var setting_attr=$(this).prop("name").replace(/^gravityview_/,"");shortcode+=" "+setting_attr+'="'+setting_value+'"'}),shortcode+="]",window.send_to_editor(shortcode)),$("#select_gravityview_view_form").find(".hide-if-js").hide(),!1})});
\ No newline at end of file
diff --git a/assets/js/admin-shortcode.js b/assets/js/admin-shortcode.js
index 297cf3fb01..e208e18af0 100644
--- a/assets/js/admin-shortcode.js
+++ b/assets/js/admin-shortcode.js
@@ -3,15 +3,15 @@
* @since 2.21
*/
( function ( $ ) {
- $( document ).on( 'ready', function () {
- var shortcode_clipboard = new ClipboardJS( '.gv-shortcode input.code', {
+ $( function () {
+ const shortcode_clipboard = new ClipboardJS( '.gv-shortcode input.code', {
text: function ( trigger ) {
return $( trigger ).val();
}
} );
shortcode_clipboard.on('success', function (e) {
- var $el = $( e.trigger ).closest( '.gv-shortcode' ).find( '.copied' );
+ const $el = $( e.trigger ).closest( '.gv-shortcode' ).find( '.copied' );
$el.show();
setTimeout( function () {
$el.fadeOut();
diff --git a/assets/js/admin-shortcode.min.js b/assets/js/admin-shortcode.min.js
index 73bb28334a..b3f0663016 100644
--- a/assets/js/admin-shortcode.min.js
+++ b/assets/js/admin-shortcode.min.js
@@ -1 +1 @@
-!function($){$(document).on("ready",function(){new ClipboardJS(".gv-shortcode input.code",{text:function(trigger){return $(trigger).val()}}).on("success",function(e){var $el=$(e.trigger).closest(".gv-shortcode").find(".copied");$el.show(),setTimeout(function(){$el.fadeOut()},1e3)}),$(".gv-shortcode input.code").on("keydown",function(e){"Enter"===e.key&&(e.preventDefault(),$(this).trigger("click"))})})}(jQuery);
\ No newline at end of file
+!function($){$(function(){new ClipboardJS(".gv-shortcode input.code",{text:function(trigger){return $(trigger).val()}}).on("success",function(e){let $el=$(e.trigger).closest(".gv-shortcode").find(".copied");$el.show(),setTimeout(function(){$el.fadeOut()},1e3)}),$(".gv-shortcode input.code").on("keydown",function(e){"Enter"===e.key&&(e.preventDefault(),$(this).trigger("click"))})})}(jQuery);
\ No newline at end of file
diff --git a/assets/js/admin-view-dropdown.min.js b/assets/js/admin-view-dropdown.min.js
index 0c222f6a7c..22744133f9 100644
--- a/assets/js/admin-view-dropdown.min.js
+++ b/assets/js/admin-view-dropdown.min.js
@@ -1 +1 @@
-!function($){"use strict";function ViewDropDown(el){this.initialized=!1,this.$el=$(el),this.open=!1,this.init(),this.renderOptions()}ViewDropDown.prototype.init=function(){if(!this.initialized){const $el=this.$el,dropdown=this;this.storeValue(),$el.hide(),$el.wrap($('
')),this.$wrapper=$el.closest("div.view-dropdown"),this.$options_wrapper=$('
'),this.$wrapper.append(this.$options_wrapper),this.$el.data("scope")&&this.$options_wrapper.append($('")),this.$options_list=$('
'),this.$options_wrapper.append($('
').append(this.$options_list)),this.$options_wrapper.append($('')),this.select=$('\t
\t\t
\t\t
'+this.$el.data("label")+': \t\t
\t
\t
').insertAfter(this.$el),$(document.body).on("keyup",function(e){dropdown.open&&"Escape"===e.key&&dropdown.close()}).on("keydown",function(e){!dropdown.open||e.altKey||e.metaKey||e.ctrlKey||e.shiftKey||e.preventDefault(),dropdown.open&&-1<[" ","Enter","Tab"].indexOf(e.key)&&0 ');var action=$option.data("action"),id="view-option-"+(Math.random()+1).toString(36).substring(2);const $item=$("\t
'+icon+'
\t
\t\t
\t\t
'+$option.data("description")+"
\t
");$item.data("option",$option),"buy"===action?placeholders.push($item):$list.append($item)}}),0\t\t
');$(placeholders).each(function(i,el){$available.find(".view-dropdown-list-available__options").append(el)}),$list.append($available)}this.refresh()},ViewDropDown.prototype.toggle=function(){this.open=!this.open,this.refresh(),this.open&&this.focusActive()},ViewDropDown.prototype.focusActive=function(){this.$options_list.find("div.view-dropdown-list-item--active").focus()},ViewDropDown.prototype.close=function(){this.open=!1,this.refresh()},ViewDropDown.prototype.refresh=function(){this.$wrapper.toggleClass("view-dropdown--open",this.open);var value=this.$el.val(),$option=this.$el.find('option[value="'+value+'"]'),title=$option[0]?.innerText||"Select an option",icon="";$option.data("icon")&&(icon=' ');var dropdown=this;value&&(title=$option.data("title"),this.$options_list.find("div.view-dropdown-list-item").each(function(){var active=$(this).data("value")===value;$(this).toggleClass("view-dropdown-list-item--active",$(this).data("value")===value).attr("aria-selected",active?"true":"false"),active&&dropdown.select.attr("aria-activedescendant",$(this).attr("id"))})),this.select.find(".view-dropdown-select__value__selection").html(title),this.select.find(".view-dropdown-select__value__icon").html(icon)},$.fn.extend({viewDropdown:function(){return $(this).data("view-data")||$(this).data("view-data",new ViewDropDown(this)),$(this).data("view-data")}}),$(function(){$("select[data-view-dropdown]").each(function(){$(this).viewDropdown()})})}(jQuery);
\ No newline at end of file
+!function($){function ViewDropDown(el){this.initialized=!1,this.$el=$(el),this.open=!1,this.init(),this.renderOptions()}ViewDropDown.prototype.init=function(){if(!this.initialized){let $el=this.$el,dropdown=this;this.storeValue(),$el.hide(),$el.wrap($('
')),this.$wrapper=$el.closest("div.view-dropdown"),this.$options_wrapper=$('
'),this.$wrapper.append(this.$options_wrapper),this.$el.data("scope")&&this.$options_wrapper.append($('")),this.$options_list=$('
'),this.$options_wrapper.append($('
').append(this.$options_list)),this.$options_wrapper.append($('')),this.select=$('\t
\t\t
\t\t
'+this.$el.data("label")+': \t\t
\t
\t
').insertAfter(this.$el),$(document.body).on("keyup",function(e){dropdown.open&&"Escape"===e.key&&dropdown.close()}).on("keydown",function(e){!dropdown.open||e.altKey||e.metaKey||e.ctrlKey||e.shiftKey||e.preventDefault(),dropdown.open&&-1<[" ","Enter","Tab"].indexOf(e.key)&&0 ');var action=$option.data("action"),id="view-option-"+(Math.random()+1).toString(36).substring(2),id=$("\t
'+icon+'
\t
\t\t
\t\t
'+$option.data("description")+"
\t
");id.data("option",$option),"buy"===action?placeholders.push(id):$list.append(id)}}),0\t\t
');$(placeholders).each(function(i,el){$available.find(".view-dropdown-list-available__options").append(el)}),$list.append($available)}this.refresh()},ViewDropDown.prototype.toggle=function(){this.open=!this.open,this.refresh(),this.open&&this.focusActive()},ViewDropDown.prototype.focusActive=function(){this.$options_list.find("div.view-dropdown-list-item--active").focus()},ViewDropDown.prototype.close=function(){this.open=!1,this.refresh()},ViewDropDown.prototype.refresh=function(){this.$wrapper.toggleClass("view-dropdown--open",this.open);var value=this.$el.val(),$option=this.$el.find('option[value="'+value+'"]'),title=$option[0]?.innerText||"Select an option",icon="",dropdown=($option.data("icon")&&(icon=' '),this);value&&(title=$option.data("title"),this.$options_list.find("div.view-dropdown-list-item").each(function(){var active=$(this).data("value")===value;$(this).toggleClass("view-dropdown-list-item--active",$(this).data("value")===value).attr("aria-selected",active?"true":"false"),active&&dropdown.select.attr("aria-activedescendant",$(this).attr("id"))})),this.select.find(".view-dropdown-select__value__selection").html(title),this.select.find(".view-dropdown-select__value__icon").html(icon)},$.fn.extend({viewDropdown:function(){return $(this).data("view-data")||$(this).data("view-data",new ViewDropDown(this)),$(this).data("view-data")}}),$(function(){$("select[data-view-dropdown]").each(function(){$(this).viewDropdown()})})}(jQuery);
\ No newline at end of file
diff --git a/assets/js/admin-views.js b/assets/js/admin-views.js
index c2d394977a..ecbb7a7b58 100644
--- a/assets/js/admin-views.js
+++ b/assets/js/admin-views.js
@@ -1647,11 +1647,13 @@
.done( (response) => {
if ( !response.success ) {
defer.reject( response.data );
+
return;
}
viewConfiguration.performingAjaxAction = false;
- defer.resolve();
+
+ defer.resolve( response );
} );
return defer.promise();
@@ -2217,12 +2219,12 @@
placeField: function ( $field, $addButton, $anchor, add_before_anchor = false ) {
const vcfg = viewConfiguration;
const $newField = $field.clone().hide();
- const templateId = $( "#gravityview_directory_template" ).val();
+ const templateId = $addButton.attr( 'data-templateid' );
const data = {
action: 'gv_field_options',
template: templateId,
- area: $addButton.attr('data-areaid'),
+ area: $addButton.attr( 'data-areaid' ),
context: $addButton.attr( 'data-context' ),
field_id: $newField.attr( 'data-fieldid' ),
field_label: $newField.find( '.gv-field-label' ).attr( 'data-original-title' ),
@@ -3151,4 +3153,47 @@
update_csv_widget_classes();
} );
+ /**
+ * Upgrade plugins support.
+ *
+ * @since 2.26
+ */
+ $( function () {
+ const $spinner = $( ' ' );
+
+ $( document ).on( 'click', '.gk-gravityview-placeholder-actions [data-action]', function ( e ) {
+ e.preventDefault();
+
+ if ( viewConfiguration.hasUnsavedChanges && !window.confirm( gvGlobals.discard_unsaved_changes ) ) {
+ return;
+ }
+
+ if ( $( this ).hasClass( 'is-idle' ) ) {
+ return;
+ }
+
+ $( this ).addClass( 'is-idle' ).html( $spinner );
+
+ const action = $( this ).data( 'action' ) + '_product';
+
+ const payload = {
+ text_domain: $( this ).data( 'text-domain' ),
+ activate: true,
+ };
+
+ const on_fail = () => $(this).removeClass( 'is-idle' ).addClass( 'is-error' ).text( 'Try again' );
+
+ $.when( viewConfiguration.server_request( action, payload ) )
+ .then( ( response ) => {
+ console.log(response);
+ if ( ! response.success ) {
+ throw new Error();
+ }
+
+ // Refresh page on success.
+ document.location = document.location;
+ } )
+ .fail( on_fail );
+ } );
+ } );
}(jQuery));
diff --git a/assets/js/admin-views.min.js b/assets/js/admin-views.min.js
index 34eba25d7b..ef6a988343 100644
--- a/assets/js/admin-views.min.js
+++ b/assets/js/admin-views.min.js
@@ -1 +1 @@
-!function($){var viewConfiguration,viewGeneralSettings;$.widget.bridge("gvTooltip",$.ui.tooltip),viewConfiguration={startFreshStatus:!1,hasUnsavedChanges:!1,altKey:!1,dialogWidth:750,performingAjaxAction:!1,init:function(){var vcfg=viewConfiguration;vcfg.gvSelectForm=$("#gravityview_form_id"),vcfg.gvSwitchView=$("#gv_switch_view_button"),vcfg.currentFormId=vcfg.gvSelectForm.val(),vcfg.currentDirectoryTemplate=$("#gravityview_directory_template").val(),vcfg.currentSingletemplate=$("#gravityview_single_template").val(),vcfg.directAccessSelect=$("#gv-direct-access-select"),vcfg.toggleInitialVisibility(vcfg),$(document.body).on("keydown keyup",vcfg.altKeyListener).on("change","#gravityview_form_id",vcfg.formChange).on("click",'a[href="#gv_start_fresh"]',vcfg.startFresh).on("click","#publish, #save-post",vcfg.processFormSubmit).on("submit","#post",vcfg.processFormSubmit).on("click",".gv-view-types-hover",vcfg.selectTemplateHover).on("click","a[rel*=external]",vcfg.openExternalLinks).on("click mouseup keyup",vcfg.closeTooltips).on("click",'.gv-field-filter-form span[role="button"]',vcfg.switchTooltipLayout).on("click","#gv_switch_view_button",vcfg.switchView).on("click",".clear-all-fields",vcfg.removeAllFields).on("click",".gv_select_template",vcfg.selectTemplate).on("change","select[data-view-dropdown]",vcfg.selectTemplate).on("click",".ui-tooltip-content .gv-fields",vcfg.startAddField).on("click",".gv-add-field-before",function(){$(this).closest(".active-drop-container").find("a.gv-add-field").trigger("click",{before:$(this).closest(".gv-fields")})}).on("click",".gv-field-duplicate",vcfg.duplicateField).on("click","#gv-direct-access .edit-direct-access",vcfg.editDirectAccess).on("click","#gv-direct-access-select .cancel-direct-access",vcfg.cancelDirectAccess).on("click","#gv-direct-access-select .save-direct-access",vcfg.updateDirectAccess).on("gravityview_form_change",vcfg.updateFormLinks).on("gravityview_form_change",vcfg.updateWidgetFormIds).on("change",".gv-dialog-options input[name*=show_as_link]",vcfg.toggleShowAsEntry).on("change",".gv-dialog-options input[name*=only_loggedin]",vcfg.toggleCustomVisibility).on("change",".gv-dialog-options [name*=allow_edit_cap]",vcfg.toggleCustomVisibility).on("click",".gv-field-controls .gv-remove-field",vcfg.removeField).on("click",".gv-field-controls .gv-field-settings",vcfg.openFieldSettings).on("dblclick",".gv-fields:not(.gv-nonexistent-form-field)",vcfg.openFieldSettings).on("change","#gravityview_settings",vcfg.zebraStripeSettings).on("click",".gv-field-details--toggle",function(e){var $dialog=$(this).parents(".ui-dialog"),was_closed=$(".gv-field-details",$dialog).hasClass("gv-field-details--closed");return viewConfiguration.toggleFieldDetails($dialog,was_closed),$.cookie("gv-field-details-expanded",was_closed,{path:gvGlobals.admin_cookiepath}),!1}).on("search keydown keyup",".gv-field-filter-form input:visible",vcfg.setupFieldFilters).on("click",".gv-section .is-dismissible .notice-dismiss",function(e){var warning_name=$(this).parents(".gv-section").attr("id")+"-"+$("#post_ID").val();$.cookie("warning-dismissed-"+warning_name,1,{path:gvGlobals.admin_cookiepath}),$(document.body).trigger("gravityview/tabs-ready")}).on("gravityview/loaded gravityview/tabs-ready gravityview/field-added gravityview/field-removed gravityview/all-fields-removed gravityview/show-as-entry gravityview/view-config-updated",vcfg.toggleTabConfigurationWarnings).on("gravityview/loaded gravityview/tabs-ready gravityview/field-added gravityview/field-removed gravityview/all-fields-removed gravityview/show-as-entry gravityview/view-config-updated",vcfg.toggleRemoveAllFields).on("search keydown keyup",".gv-field-filter-form input:visible",vcfg.setupFieldFilters).on("gravityview/loaded",function(){$(".gv-setting-list, #gravityview_settings").on("change",vcfg.toggleCheckboxes).trigger("change")}).on("change",".gv-dialog-options",vcfg.toggleCheckboxes).on("focus",".gv-add-field",function(e){$(this).parent(".gv-fields").addClass("trigger--hover")}).on("blur",".gv-add-field",function(e){$(this).parent(".gv-fields").removeClass("trigger--hover")}).on("keydown",".gv-add-field",function(e){return 13!==e.keyCode&&32!==e.keyCode||void $(this).parent(".gv-fields").addClass("trigger--active")}).on("keyup",".gv-add-field",function(e){return 13!==e.keyCode&&32!==e.keyCode||void $(this).parent(".gv-fields").removeClass("trigger--active")}).on("gravityview/dropdown/activate gravityview/dropdown/install",vcfg.enableLockedTemplate),$(window).resize(function(){var $open_dialog=$(".ui-dialog:visible").find(".ui-dialog-content");$open_dialog.dialog("option","position",{my:"center",at:"center",of:window});var window_width=vcfg.dialogWidth,ninety_five_per=.95*$(window).width();vcfg.dialogWidth>ninety_five_per&&(window_width=ninety_five_per),$open_dialog.dialog("option","width",window_width)}),window.addEventListener("beforeunload",event=>{vcfg.hasUnsavedChanges&&event.preventDefault()}),gvGlobals.passed_form_id&&vcfg.gvSelectForm.trigger("change");var _sendToEditor=window.send_to_editor;window.send_to_editor=function(val){var cursorPosition=$("#"+window.wpActiveEditor);if(!cursorPosition.hasClass("codemirror")&&_sendToEditor)return _sendToEditor(val);var codeMirror=cursorPosition.next(".CodeMirror")[0].CodeMirror,cursorPosition=codeMirror.getCursor();codeMirror.replaceRange(val,window.wp.CodeMirror.Pos(cursorPosition.line,cursorPosition.ch))},$("div .gform-dropdown__trigger").on("click.gravityforms",vcfg.sendMergeTagValueToCodemirrorEditor)},getCookieVal:function(cookie){return!(!cookie||"undefined"===cookie||"false"===cookie)&&cookie},toggleTabConfigurationWarnings:function(e){var tabs={single:{configured:$(".gv-dialog-options input[name*=show_as_link]:checked","#directory-active-fields").length||$('[data-fieldid="entry_link"]',"#directory-active-fields").length,icon:"dashicons-media-default"},edit:{configured:$('.gv-fields .field-key[value="edit_link"]').length,icon:"dashicons-welcome-write-blog"}};$.each(tabs,function(index,value){var show_warning=index+"-fields-"+$("#post_ID").val(),dismissed_warning=viewConfiguration.getCookieVal($.cookie("warning-dismissed-"+show_warning));const $fields_section=$("#"+index+"-fields");show_warning=$fields_section.find(".active-drop .gv-fields").length,show_warning=!dismissed_warning&&0===value.configured&&0vcfg.dialogWidth?vcfg.dialogWidth:$(window).width()-10},open:function(){return $('
').prependTo("#wpwrap"),vcfg.toggleCheckboxes(thisDialog),vcfg.setupFieldDetails(thisDialog),vcfg.refresh_merge_tags(thisDialog,function(){vcfg.setupCodeMirror(thisDialog)}),$sortableEls=$('.ui-widget-content[aria-hidden="false"]').find(".active-drop-widget, .active-drop-field"),$sortableEls.length&&$sortableEls.each((i,el)=>{$(el).hasClass("ui-sortable")&&$(el).sortable("disable")}),!0},close:function(e){e.preventDefault(),$("textarea.code",thisDialog).each(function(){$CodeMirror=$(this).next(".CodeMirror"),0!==$CodeMirror.length&&$CodeMirror[0].hasOwnProperty("CodeMirror")&&$CodeMirror[0].CodeMirror.toTextArea()}),thisDialog.find(".merge-tag-support").removeClass("merge-tag-support").addClass("gv-merge-tag-support"),$(".gv-field-settings.active","#gravityview_view_config").removeClass("active"),vcfg.setCustomLabel(thisDialog),$("#wpwrap").find("> .gv-overlay").fadeOut("fast",function(){$(this).remove()}),$sortableEls=$('.ui-widget-content[aria-hidden="false"]').find(".active-drop-widget, .active-drop-field"),$sortableEls.length&&$sortableEls.each((i,el)=>{$(el).hasClass("ui-sortable")&&$(el).sortable("enable")}),vcfg._restoreValue(),$(document.body).trigger("gravityview/dialog-closed",thisDialog)},closeOnEscape:!0,buttons:buttons})},setupCodeMirror:function(dialog){var vcfg=viewConfiguration;$("textarea.code:visible",dialog).each(function(){const codemirrorConfig=$.extend(!0,{},wp.codeEditor.defaultSettings);var $textarea,editorId,mergeTag,initialEditorCursorPos,$autocompleteEl,closeAutocompletion,mergeTags=$(this).data("codemirror");mergeTags&&(codemirrorConfig.codemirror=$.extend({},codemirrorConfig.codemirror,mergeTags));let editor=wp.codeEditor.initialize($(this),codemirrorConfig);($(this).hasClass("merge-tag-support")||$(this).hasClass("gv-merge-tag-support"))&&(editor.codemirror.setSize("95%"),$textarea=$(this),editorId=$textarea.attr("id"),mergeTags=window.gfMergeTags.getAutoCompleteMergeTags($textarea),mergeTag="",initialEditorCursorPos=editor.codemirror.getCursor(),$textarea.parent().find(".all-merge-tags").detach().insertBefore($textarea),$textarea.parent().find("div .gform-dropdown__trigger").on("click.gravityforms",vcfg.sendMergeTagValueToCodemirrorEditor),$textarea.autocomplete({appendTo:$textarea.parent(),minLength:1,position:{my:"center top",at:"center bottom",collision:"none"},source:mergeTags,select:function(event,currentEditorCursorPos){var val=currentEditorCursorPos.item.value.replace(/^{|}$/gm,""),currentEditorCursorPos=editor.codemirror.getCursor();editor.codemirror.replaceRange(val,initialEditorCursorPos,window.wp.CodeMirror.Pos(currentEditorCursorPos.line,currentEditorCursorPos.ch)),editor.codemirror.focus(),editor.codemirror.setCursor(window.wp.CodeMirror.Pos(currentEditorCursorPos.line,currentEditorCursorPos.ch+val.length+1))}}),$autocompleteEl=$textarea.parent().find("ul.ui-autocomplete"),closeAutocompletion=function(){$("#"+editorId).autocomplete("close")},$(document.body).on("keyup",function(e){$autocompleteEl.is(":visible")&&27===e.which&&(e.preventDefault(),closeAutocompletion(),$textarea.focus())}),editor.codemirror.on("mousedown",function(){closeAutocompletion()}),editor.codemirror.on("keydown",function(el,e){$autocompleteEl.is(":visible")&&(38!==e.which&&40!==e.which&&13!==e.which||($autocompleteEl.not(":focus")&&$autocompleteEl.focus(),e.preventDefault()))}),editor.codemirror.on("change",function(e,currentEditorCursorPos){"{}"===currentEditorCursorPos.text[0]&&(initialEditorCursorPos=editor.codemirror.getCursor());currentEditorCursorPos=editor.codemirror.getCursor();"{"!==(mergeTag=editor.codemirror.getRange({ch:initialEditorCursorPos.ch-1,line:initialEditorCursorPos.line},currentEditorCursorPos))[0]?closeAutocompletion():$("#"+editorId).autocomplete("search",mergeTag)}))})},sendMergeTagValueToCodemirrorEditor:function(e){var _activeEditorBackup=window.wpActiveEditor;window.wpActiveEditor=$(e.currentTarget).parentsUntil(".gv-setting-container").find("textarea").attr("id"),window.wpActiveEditor&&window.send_to_editor($(this).data("value")),window.wpActiveEditor=_activeEditorBackup},setupFieldDetails:function(dialog){$(".gv-field-details--container",dialog).insertAfter(".ui-dialog-title:visible");var show_details=$.cookie("gv-field-details-expanded"),show_details=viewConfiguration.getCookieVal(show_details);viewConfiguration.toggleFieldDetails(dialog,show_details),viewConfiguration.migrateSurveyScore(dialog)},migrateSurveyScore:function($dialog){var $score;0===$dialog.parents('[data-inputtype="survey"]').length||($score=$dialog.find(".gv-setting-container-score input"))&&0!=+$score.val()&&$dialog.find('.gv-setting-container-choice_display input[value="score"]').trigger("click").trigger("focus")},toggleFieldDetails:function($dialog,show_details){$parent=$dialog.parent(),$parent.find(".gv-field-details").toggleClass("gv-field-details--closed",!show_details).end().find(".gv-field-details--toggle .dashicons").toggleClass("dashicons-arrow-down",!!show_details).toggleClass("dashicons-arrow-right",!show_details).end()},setCustomLabel:function($label){var custom_label_text=$("[name*=admin_label]",$label),custom_label_text=custom_label_text.length&&custom_label_text.val()?custom_label_text:$("[name*=custom_label]",$label),$label=$label.parents(".gv-fields").find(".gv-field-label-text-container");custom_label_text.length&&(0<(custom_label_text=custom_label_text.val().trim()).length?$label.html(custom_label_text):$label.html($label.attr("data-original-title")))},getSortableFields:function(context,id){return new Promise((resolve,reject)=>{var vcfg=viewConfiguration;$(".gravityview_sort_field").prop("disabled","disabled").empty().append(""+gvGlobals.loading_text+" ");var data={action:"gv_sortable_fields_form",nonce:gvGlobals.nonce};void 0!==context&&"preset"===context?data.template_id=id:data.form_id=vcfg.gvSelectForm.val(),$.post(ajaxurl,data,function(response){"false"!==response&&"0"!==response&&$(".gravityview_sort_field").empty().append(response).prop("disabled",null),resolve()})})},hideViewConfig:function(){$("#gravityview_view_config").slideUp(150),$(document).trigger("gv_admin_views_hideViewConfig")},showViewConfig:function(){$("#gravityview_view_config").slideDown(150),viewGeneralSettings.metaboxObj.show(),viewConfiguration.toggleDropMessage(),viewConfiguration.init_tooltips(),$(document).trigger("gv_admin_views_showViewConfig")},switchView:function(vcfg){vcfg.preventDefault(),vcfg.stopImmediatePropagation();vcfg=viewConfiguration;vcfg.templateFilter("custom"),vcfg.toggleViewTypeMetabox()},templateFilter:function(templateType){$(".gv-view-types-module").each(function(){$(this).attr("data-filter")===templateType?$(this).parent().show():$(this).parent().hide()})},_isViewDropDown:function(){return viewConfiguration.wantedTemplate&&void 0!==viewConfiguration.wantedTemplate.data("view-data")},_getCurrentTemplateId(){var section=this._getTemplateSection();return null===section||"directory"===section?this.currentDirectoryTemplate:"single"===section?this.currentSingletemplate:""},_setCurrentTemplateId(template_id){var section=this._getTemplateSection();null!==section&&"directory"!==section||(this.currentDirectoryTemplate=template_id),null!==section&&"single"!==section||(this.currentSingletemplate=template_id)},_getTemplateId:function(use_base_template=!1){if(!viewConfiguration.wantedTemplate)return"";let template_id=viewConfiguration.wantedTemplate.data(use_base_template?"base-template":"templateid");return viewConfiguration._isViewDropDown()&&(template_id=viewConfiguration.wantedTemplate.val()),template_id},_getTemplateSection:function(){let section=null;return viewConfiguration._isViewDropDown()&&(section=viewConfiguration.wantedTemplate.data("section")),section},_restoreValue:function(){viewConfiguration._isViewDropDown()&&viewConfiguration.wantedTemplate.data("view-data").restoreValue()},_storeValue:function(){viewConfiguration.wantedTemplate&&(viewConfiguration._isViewDropDown()?viewConfiguration.wantedTemplate.data("view-data").storeValue():$("select[data-view-dropdown]").each(function(){$(this).data("view-data").storeValue()}),this._setCurrentTemplateId(this._getTemplateId()))},selectTemplate:function(slugmatch,currentTemplate){var selectedTemplateId,regexMatch,vcfg=viewConfiguration;void 0!==currentTemplate&&null===currentTemplate.section||(slugmatch.preventDefault(),slugmatch.stopImmediatePropagation(),vcfg.wantedTemplate=$(this),selectedTemplateId=vcfg._getTemplateId(),regexMatch=/(.*?)_(.*?)$/i,slugmatch=(currentTemplate=vcfg._getCurrentTemplateId()).replace(regexMatch,"$2"),slugmatch=selectedTemplateId.replace(regexMatch,"$2")===slugmatch,currentTemplate&&!slugmatch&&vcfg.getConfiguredFields().length?currentTemplate!==selectedTemplateId?vcfg.getConfiguredFields().length?vcfg.showDialog("#gravityview_switch_template_dialog"):(vcfg.toggleViewTypeMetabox(),vcfg.selectTemplateContinue(slugmatch)):(vcfg.toggleViewTypeMetabox(),vcfg.showViewConfig()):($("#gravityview_select_template").slideUp(150),vcfg.selectTemplateContinue(slugmatch),vcfg._storeValue()))},selectTemplateContinue:function(slugmatch){var vcfg=viewConfiguration,selectedTemplateId=vcfg._getTemplateId(),selectedFormId=vcfg.gvSelectForm.val(),changeAllSection=!vcfg._getTemplateSection();changeAllSection&&($parent=vcfg._getTemplateId(!0),$("#gravityview_directory_template").val($parent).trigger("change",{section:null}),$("#gravityview_single_template").val($parent).trigger("change",{section:null}));var $parent=vcfg.wantedTemplate.parents(".gv-view-types-module");$parent.parents(".gv-grid").find(".gv-view-types-module").removeClass("gv-selected"),$parent.addClass("gv-selected"),vcfg.waiting("start"),vcfg.startFreshStatus?Promise.all([vcfg.getAvailableFields("preset",selectedTemplateId),vcfg.getPresetFields(selectedTemplateId),vcfg.getSortableFields("preset",selectedTemplateId)]).then(function(){$(".ui-tabs-panel").each(function(){vcfg.init_droppables(this)})}):(!slugmatch||changeAllSection?vcfg.updateActiveAreas(selectedTemplateId,+selectedFormId):vcfg.waiting("stop"),changeAllSection&&(vcfg.gvSwitchView.fadeIn(150),vcfg.toggleViewTypeMetabox())),vcfg.currentTemplateId=selectedTemplateId,vcfg.setUnsavedChanges(!0)},server_request:(ajaxRoute,payload)=>{const defer=$.Deferred();viewConfiguration.performingAjaxAction=!0,$(".gv-view-template-notice").hide();var{_wpNonce:nonce,_wpAjaxAction:action,_wpAjaxUrl:url,ajaxRouter,frontendFoundationVersion}=window.gvGlobals.foundation_licenses_router;return $.post(url,{nonce:nonce,action:action,ajaxRouter:ajaxRouter,ajaxRoute:ajaxRoute,frontendFoundationVersion:frontendFoundationVersion,payload:payload}).fail(response=>defer.reject(response.responseText)).done(response=>{response.success?(viewConfiguration.performingAjaxAction=!1,defer.resolve()):defer.reject(response.data)}),defer.promise()},selectTemplateHover:function(on_success){const vcfg=viewConfiguration,$link=$(on_success.target),$parent=$link.parents(".gv-view-types-module");if($link.is("[rel=internal]")&&!$link.hasClass("gv-layout-activate")&&!$link.hasClass("gv-layout-install"))return!0;on_success.preventDefault(),on_success.stopImmediatePropagation();var on_fail=error=>{$(".gv-view-template-notice").show().find("p").html(error),document.querySelector(".gv-view-template-notice").scrollIntoView({behavior:"smooth"})},do_always=()=>{vcfg.performingAjaxAction=!1,$link.removeClass("disabled")},on_success=()=>{$parent.find(".gv-view-types-hover > div:eq(0)").hide(),$parent.find(".gv-view-types-hover > div:eq(1)").removeClass("hidden"),$parent.removeClass("gv-view-template-placeholder"),$parent.find("a.gv_select_template").attr("data-templateid",$link.data("templateid")).trigger("click")};return $link.hasClass("gv-layout-activate")?vcfg.performingAjaxAction?void 0:($link.addClass("disabled"),void $.when(vcfg.server_request("activate_product",{text_domain:$link.attr("data-template-text-domain")})).then(on_success).always(do_always).fail(on_fail)):$link.hasClass("gv-layout-install")?vcfg.performingAjaxAction?void 0:void $.when(vcfg.server_request("install_product",{id:$link.attr("data-download-id"),activate:!0})).then(on_success).always(do_always).fail(on_fail):void $(this).find(".gv_select_template").trigger("click")},enableLockedTemplate:function(e,data){const $option=$(data?.option)||null;var action=data?.action||null,payload={text_domain:$option.data("template-text-domain"),activate:!0},$spinner=$(' ');if("{}"!==JSON.stringify(payload)){const $pill=$(e.target),$item=$pill.closest(".view-dropdown-list-item");$pill.addClass("is-idle").html($spinner),$item.addClass("is-idle"),$.when(viewConfiguration.server_request(action+"_product",payload)).then(()=>{$pill.removeClass("has-failed");const $view_selectors=$("[data-view-dropdown]"),$options=$view_selectors.find('option[value="'+$option.val()+'"]');$options.attr("disabled",!1),$options.val($option.data("template-id")),$view_selectors.each((_,el)=>{const dropdown=$(el).viewDropdown();dropdown.renderOptions()}),data?.dropdown?.focusActive()}).fail(error=>{$pill.addClass("has-failed").text("Error"),console.log(error)}).always(()=>{$pill.removeClass("is-idle"),$item.removeClass("is-idle")})}},openExternalLinks:function(){return window.Beacon&&($(this).is("[data-beacon-article]")||$(this).is("[data-beacon-article-modal]")||$(this).is("[data-beacon-article-sidebar]")||$(this).is("[data-beacon-article-inline]"))||window.open(this.href),!1},previewTemplate:function(e){e.preventDefault(),e.stopImmediatePropagation();var parent=$(e.currentTarget).parents(".gv-view-types-module");parent.find(".gv-template-preview").dialog({dialogClass:"wp-dialog gv-dialog",appendTo:$("#gravityview_select_template"),width:viewConfiguration.dialogWidth,open:function(){$('
').prependTo("#wpwrap")},close:function(){$(this).dialog("option","appendTo",parent),$("#wpwrap").find("> .gv-overlay").fadeOut("fast",function(){$(this).remove()})},closeOnEscape:!0,buttons:[{text:gvGlobals.label_close,click:function(){$(this).dialog("close")}}]})},updateActiveAreas:function(template,data){var vcfg=viewConfiguration,data={action:"gv_get_active_areas",template_id:template,form_id:data,nonce:gvGlobals.nonce};return vcfg.updateViewConfig(data)},getPresetFields:function(data){var vcfg=viewConfiguration;$("#directory-active-fields, #single-active-fields").children().remove();data={action:"gv_get_preset_fields",template_id:data,nonce:gvGlobals.nonce};return vcfg.updateViewConfig(data)},updateViewConfig:function(data){return new Promise((resolve,reject)=>{const vcfg=viewConfiguration,section=vcfg._getTemplateSection(),update_directory="directory"===section||null===section,update_single="single"===section||null===section;update_directory&&$("#directory-active-fields").children().remove(),update_single&&$("#single-active-fields").children().remove(),$.post(ajaxurl,data,function(content){content&&(content=JSON.parse(content),update_directory&&($("#directory-header-widgets").html(content.header),$("#directory-footer-widgets").html(content.footer),$("#directory-active-fields").append(content.directory)),update_single&&$("#single-active-fields").append(content.single),vcfg.showViewConfig(),vcfg.waiting("stop"),$(document.body).trigger("gravityview/view-config-updated",content,section)),resolve()}),vcfg.setUnsavedChanges(!0)})},waiting:function(action){$containers=$("#wpwrap,.gv-fields"),"start"===action?$containers.addClass("gv-wait"):$containers.removeClass("gv-wait")},remove_tooltips:function(el){$(el||".gv-add-field").is(":ui-tooltip")&&$(".gv-add-field").gvTooltip("destroy").off("click")},init_tooltips:function(el){0!==$(el||".gv-add-field","#post").not(":ui-tooltip").length&&$(el||".gv-add-field","#post").gvTooltip({show:150,hide:200,content:function(){var context=$(this).attr("data-context"),formId=$(this).attr("data-formid")||$("#gravityview_form_id").val(),templateId=$("#gravityview_directory_template").val();switch($(this).attr("data-objecttype")){case"field":return $("#"+context+"-available-fields-"+(formId||templateId)).html();case"widget":return $("#directory-available-widgets").html()}},close:function(){$(this).attr("data-tooltip",null)},open:function(event,tooltip){$(this).attr("data-tooltip","active").attr("data-tooltip-id",$(this).attr("aria-describedby")),$focus_item=$("input[type=search]",tooltip.tooltip),$focus_item.length||($focus_item=$(tooltip.tooltip).find(".close").first());var activate_layout="list";$(tooltip).find(".gv-items-picker-container[data-layout]").length?activate_layout=$(tooltip).find(".gv-items-picker-container[data-layout]").attr("data-layout"):(layout_cookie=$.cookie("gv-items-picker-layout"),viewConfiguration.getCookieVal(layout_cookie)&&(activate_layout=layout_cookie)),viewConfiguration.setTooltipLayout(activate_layout),$focus_item.trigger("focus")},closeOnEscape:!0,disabled:!0,position:{my:"center bottom",at:"center top-12"},tooltipClass:"gravityview-item-picker-tooltip top"}).attr("title","").on("mouseout focusout",function(e){e.stopImmediatePropagation()}).on("click",function(e,data){$(this).attr("title",""),$(this).data("before",null),data?.before&&$(this).data("before",data.before),e.preventDefault(),$(this).gvTooltip("open")})},setupFieldFilters:function(e){var input=$(this).val().trim(),$tooltip=$(this).parents(".ui-tooltip-content"),$resultsNotFound=$tooltip.find(".gv-no-results");"keydown"!==e.type?($tooltip.find(".gv-fields").show().filter(function(){var match_title=$(this).find(".gv-field-label").attr("data-original-title").match(new RegExp(input,"i")),match_id=$(this).attr("data-fieldid").match(new RegExp(input,"i")),match_parent=!!$(this).attr("data-parent-label")&&$(this).attr("data-parent-label").match(new RegExp(input,"i"));return!match_title&&!match_id&&!match_parent}).hide(),$tooltip.find(".gv-fields:visible").length?$resultsNotFound.hide():$resultsNotFound.show()):$(this).attr("data-has-search",0{var vcfg=viewConfiguration;vcfg.toggleDropMessage(),vcfg.getConfiguredFields().remove();var data={action:"gv_available_fields",nonce:gvGlobals.nonce};data.form_preset_ids=void 0!==preset&&"preset"===preset?[templateid]:[vcfg.gvSelectForm.val()],$("#directory-available-fields-"+data.form_preset_ids[0]).length||$.post(ajaxurl,data,function(response){response.success||response.data||resolve(),$.each(response.data,function(context,markup){$("#"+context+"-fields").append(markup)}),resolve()})})},startAddField:function(e){$(this).has(".field-id-all-fields").length?viewConfiguration.addAllFields($(this)):viewConfiguration.addField($(this),e)},addAllFields:function(clicked){const fields=clicked.siblings(".gv-fields").filter(function(){var field_id=$(this).data("fieldid");return+field_id===parseInt(field_id,10)});!async function(){for(let i=0;inew Promise((resolve,reject)=>{$(document.body).one("gravityview/field-added",function(){resolve()}),$(el).trigger("click")}))(fields[i]);$("a.gv-add-field[data-tooltip='active']").gvTooltip("close")}()},addField:function(clicked,$before){$before.preventDefault();$before=clicked.closest(".ui-tooltip").attr("id");const $addButton=$('.gv-add-field[data-tooltip-id="'+$before+'"]');$before=$addButton.data("before");viewConfiguration.placeField(clicked,$addButton,$before,!!$before)},placeField:function($field,$addButton,$anchor,add_before_anchor=!1){const vcfg=viewConfiguration,$newField=$field.clone().hide();var data={action:"gv_field_options",template:$("#gravityview_directory_template").val(),area:$addButton.attr("data-areaid"),context:$addButton.attr("data-context"),field_id:$newField.attr("data-fieldid"),field_label:$newField.find(".gv-field-label").attr("data-original-title"),field_type:$addButton.attr("data-objecttype"),input_type:$newField.attr("data-inputtype"),form_id:parseInt($field.attr("data-formid"),10)||vcfg.currentFormId,nonce:gvGlobals.nonce};$.ajax({type:"POST",url:ajaxurl,data:data,async:!0,beforeSend:function(){vcfg.disable_publish()},complete:function(){vcfg.enable_publish()}}).done(function(response){var insert_method=/[^\[]+\[[^\]]+\]\[([^\]]+)\].*/i;if(0<$field.find("input.field-key").length){$newField.find(".gv-dialog, .gv-dialog-options").remove();const oldId=$field.find("input.field-key").attr("name").replace(insert_method,"$1"),newId=response.match(insert_method,"$1")[1]??null;response=$(response),$field.find(".gv-dialog-options :input").each(function(i,el){if($(el).attr("name")){const $fields=response.find('[name="'+$(el).attr("name").replaceAll(""+oldId,""+newId)+'"]');1===$fields.length?$fields.val($(el).val()):2===$fields.length&&$(el).is(":checked")&&$fields.prop("checked",!0)}})}$newField.append(response),$(".ui-tabs-panel").each(function(){vcfg.init_droppables(this)}),0<$(".gv-dialog-options",$newField).length&&$(".gv-field-settings",$newField).removeClass("hide-if-js"),$anchor?(insert_method=add_before_anchor?"insertBefore":"insertAfter",$newField[insert_method]($anchor)):$addButton.closest(".gv-droppable-area").find(".active-drop").append($newField),$(document.body).trigger("gravityview/field-added",$newField),$newField.fadeIn(100),vcfg.refreshGFtooltips()}).fail(function(jqXHR){vcfg.enable_publish(),alert(gvGlobals.field_loaderror),console.log(jqXHR)}).always(function(){vcfg.toggleDropMessage(),vcfg.setUnsavedChanges(!0)})},duplicateField:function($field){$field.preventDefault();$field=$(this).closest(".gv-fields");viewConfiguration.placeField($field,$(this).closest(".active-drop-container").find("a.gv-add-field"),$field)},refresh_merge_tags:function($source,onRefresh){let $merge_tag_supported=$source?$(".gv-merge-tag-support,.merge-tag-support",$source):$(".gv-merge-tag-support:visible");if($merge_tag_supported.removeClass("gv-merge-tag-support mt-initialized").addClass("merge-tag-support"),window.gform?.instances?.mergeTags)return $(".all-merge-tags",$source).remove(),document.dispatchEvent(new Event("DOMContentLoaded")),void setTimeout(function(){$merge_tag_supported.removeClass("merge-tag-support").addClass("gv-merge-tag-support"),onRefresh&&onRefresh()},300);"undefined"!=typeof form&&$(document.body).not(".gv-form-changed")&&0<=$merge_tag_supported.length&&(window.gfMergeTags&&($(".all-merge-tags:visible").remove(),gfMergeTags.hasOwnProperty("destroy")?$merge_tag_supported.each(function(){new gfMergeTagsObj(form,$(this))}):window.gfMergeTags=new gfMergeTagsObj(form)),$merge_tag_supported.removeClass("merge-tag-support").addClass("gv-merge-tag-support"),onRefresh&&onRefresh())},enable_publish:function(){$(document).trigger("autosave-enable-buttons.edit-post"),$("#publishing-action").find("#publish").prop("disabled",null).removeClass("button-primary-disabled")},disable_publish:function(){$(document).trigger("autosave-disable-buttons.edit-post"),$("#publishing-action").find("#publish").prop("disabled","disabled").addClass("button-primary-disabled")},init_droppables:function(panel){var vcfg;$(panel).find(".active-drop-field").sortable("instance")||(vcfg=viewConfiguration,$(panel).find(".active-drop-widget").sortable({placeholder:"fields-placeholder",items:"> .gv-fields",distance:2,revert:75,connectWith:".active-drop-widget",start:function(event,ui){$("#directory-fields, #single-fields").find(".active-drop-container-widget").addClass("is-receivable")},stop:function(event,ui){$("#directory-fields, #single-fields").find(".active-drop-container-widget").removeClass("is-receivable")},change:function(event,ui){vcfg.setUnsavedChanges(!0)},receive:function(event,ui){var sender_area=ui.sender.attr("data-areaid"),receiver_area=$(this).attr("data-areaid");ui.item.find('[name^="widgets['+sender_area+']"]').each(function(){var name=$(this).attr("name");$(this).attr("name",name.replace(sender_area,receiver_area))}),vcfg.toggleDropMessage()}}),$(panel).find(".active-drop-field").sortable({placeholder:"fields-placeholder",items:"> .gv-fields",distance:2,revert:75,connectWith:".active-drop-field",start:function(event,ui){$(panel).find(".active-drop-container-field").addClass("is-receivable")},stop:function(event,ui){$(panel).find(".active-drop-container-field").removeClass("is-receivable")},change:function(event,ui){vcfg.setUnsavedChanges(!0)},receive:function(event,ui){var sender_area,receiver_area;0 ",{name:"gv_fields",value:serialized_data,type:"hidden"})),setTimeout(function(){$post.data("gv-valid",!0),"click"===e.type?$(e.target).trigger("click"):$post.trigger("submit")},101),!1)},createPresetForm:function(e,data){var vcfg=viewConfiguration,$target=$(e.target);e.stopPropagation();data={action:"gv_set_preset_form",template_id:data,nonce:gvGlobals.nonce};return $.ajax({type:"POST",url:ajaxurl,data:data,async:!1,success:function(response){"false"!==response&&"0"!==response?(vcfg.startFreshStatus=!1,vcfg.gvSelectForm.find("option:selected").removeAttr("selected").end().append(response),"click"===e.type?$target.trigger("click"):$("#post").trigger("submit")):$target.before(''+gvGlobals.label_publisherror+"
")}}),!1}},viewGeneralSettings={templateId:null,metaboxObj:null,init:function(){viewGeneralSettings.metaboxObj=$("#gravityview_settings"),viewGeneralSettings.initTabs(),$("#gravityview_directory_template").on("change",viewGeneralSettings.updateSettingsDisplay),$(document.body).on("gravityview/settings/tab/enable",viewGeneralSettings.enableSettingTab).on("gravityview/settings/tab/disable",viewGeneralSettings.disableSettingTab)},updateSettingsDisplay:function(){viewGeneralSettings.templateId=$(this).val(),$("tr[data-show-if]").each(viewGeneralSettings.toggleSetting)},toggleSetting:function(){var row=$(this),templates=row.attr("data-show-if");templates.length<1||!viewGeneralSettings.templateId||(0ninety_five_per&&(window_width=ninety_five_per),$open_dialog.dialog("option","width",window_width)}),window.addEventListener("beforeunload",event=>{vcfg.hasUnsavedChanges&&event.preventDefault()}),gvGlobals.passed_form_id&&vcfg.gvSelectForm.trigger("change"),window.send_to_editor);window.send_to_editor=function(val){var $el=$("#"+window.wpActiveEditor);if(!$el.hasClass("codemirror")&&_sendToEditor)return _sendToEditor(val);var $el=$el.next(".CodeMirror")[0].CodeMirror,cursorPosition=$el.getCursor();$el.replaceRange(val,window.wp.CodeMirror.Pos(cursorPosition.line,cursorPosition.ch))},$("div .gform-dropdown__trigger").on("click.gravityforms",vcfg.sendMergeTagValueToCodemirrorEditor)},getCookieVal:function(cookie){return!(!cookie||"undefined"===cookie||"false"===cookie)&&cookie},toggleTabConfigurationWarnings:function(e){var tabs={single:{configured:$(".gv-dialog-options input[name*=show_as_link]:checked","#directory-active-fields").length||$('[data-fieldid="entry_link"]',"#directory-active-fields").length,icon:"dashicons-media-default"},edit:{configured:$('.gv-fields .field-key[value="edit_link"]').length,icon:"dashicons-welcome-write-blog"}};$.each(tabs,function(index,value){var warning_name=index+"-fields-"+$("#post_ID").val(),warning_name=viewConfiguration.getCookieVal($.cookie("warning-dismissed-"+warning_name)),$fields_section=$("#"+index+"-fields"),fields_count=$fields_section.find(".active-drop .gv-fields").length,warning_name=!warning_name&&0===value.configured&&0vcfg.dialogWidth?vcfg.dialogWidth:$(window).width()-10},open:function(){return $('
').prependTo("#wpwrap"),vcfg.toggleCheckboxes(thisDialog),vcfg.setupFieldDetails(thisDialog),vcfg.refresh_merge_tags(thisDialog,function(){vcfg.setupCodeMirror(thisDialog)}),($sortableEls=$('.ui-widget-content[aria-hidden="false"]').find(".active-drop-widget, .active-drop-field")).length&&$sortableEls.each((i,el)=>{$(el).hasClass("ui-sortable")&&$(el).sortable("disable")}),!0},close:function(e){e.preventDefault(),$("textarea.code",thisDialog).each(function(){0!==($CodeMirror=$(this).next(".CodeMirror")).length&&$CodeMirror[0].hasOwnProperty("CodeMirror")&&$CodeMirror[0].CodeMirror.toTextArea()}),thisDialog.find(".merge-tag-support").removeClass("merge-tag-support").addClass("gv-merge-tag-support"),$(".gv-field-settings.active","#gravityview_view_config").removeClass("active"),vcfg.setCustomLabel(thisDialog),$("#wpwrap").find("> .gv-overlay").fadeOut("fast",function(){$(this).remove()}),($sortableEls=$('.ui-widget-content[aria-hidden="false"]').find(".active-drop-widget, .active-drop-field")).length&&$sortableEls.each((i,el)=>{$(el).hasClass("ui-sortable")&&$(el).sortable("enable")}),vcfg._restoreValue(),$(document.body).trigger("gravityview/dialog-closed",thisDialog)},closeOnEscape:!0,buttons:buttons})},setupCodeMirror:function(dialog){var vcfg=viewConfiguration;$("textarea.code:visible",dialog).each(function(){var $textarea,editorId,mergeTag,initialEditorCursorPos,$autocompleteEl,closeAutocompletion,codemirrorConfig=$.extend(!0,{},wp.codeEditor.defaultSettings),attributeValue=$(this).data("codemirror");attributeValue&&(codemirrorConfig.codemirror=$.extend({},codemirrorConfig.codemirror,attributeValue));let editor=wp.codeEditor.initialize($(this),codemirrorConfig);($(this).hasClass("merge-tag-support")||$(this).hasClass("gv-merge-tag-support"))&&(editor.codemirror.setSize("95%"),$textarea=$(this),editorId=$textarea.attr("id"),attributeValue=window.gfMergeTags.getAutoCompleteMergeTags($textarea),mergeTag="",initialEditorCursorPos=editor.codemirror.getCursor(),$textarea.parent().find(".all-merge-tags").detach().insertBefore($textarea),$textarea.parent().find("div .gform-dropdown__trigger").on("click.gravityforms",vcfg.sendMergeTagValueToCodemirrorEditor),$textarea.autocomplete({appendTo:$textarea.parent(),minLength:1,position:{my:"center top",at:"center bottom",collision:"none"},source:attributeValue,select:function(event,ui){var ui=ui.item.value.replace(/^{|}$/gm,""),currentEditorCursorPos=editor.codemirror.getCursor();editor.codemirror.replaceRange(ui,initialEditorCursorPos,window.wp.CodeMirror.Pos(currentEditorCursorPos.line,currentEditorCursorPos.ch)),editor.codemirror.focus(),editor.codemirror.setCursor(window.wp.CodeMirror.Pos(currentEditorCursorPos.line,currentEditorCursorPos.ch+ui.length+1))}}),$autocompleteEl=$textarea.parent().find("ul.ui-autocomplete"),closeAutocompletion=function(){$("#"+editorId).autocomplete("close")},$(document.body).on("keyup",function(e){$autocompleteEl.is(":visible")&&27===e.which&&(e.preventDefault(),closeAutocompletion(),$textarea.focus())}),editor.codemirror.on("mousedown",function(){closeAutocompletion()}),editor.codemirror.on("keydown",function(el,e){!$autocompleteEl.is(":visible")||38!==e.which&&40!==e.which&&13!==e.which||($autocompleteEl.not(":focus")&&$autocompleteEl.focus(),e.preventDefault())}),editor.codemirror.on("change",function(e,obj){"{}"===obj.text[0]&&(initialEditorCursorPos=editor.codemirror.getCursor());obj=editor.codemirror.getCursor();"{"===(mergeTag=editor.codemirror.getRange({ch:initialEditorCursorPos.ch-1,line:initialEditorCursorPos.line},obj))[0]?$("#"+editorId).autocomplete("search",mergeTag):closeAutocompletion()}))})},sendMergeTagValueToCodemirrorEditor:function(e){var _activeEditorBackup=window.wpActiveEditor;window.wpActiveEditor=$(e.currentTarget).parentsUntil(".gv-setting-container").find("textarea").attr("id"),window.wpActiveEditor&&window.send_to_editor($(this).data("value")),window.wpActiveEditor=_activeEditorBackup},setupFieldDetails:function(dialog){$(".gv-field-details--container",dialog).insertAfter(".ui-dialog-title:visible");var show_details_cookie=$.cookie("gv-field-details-expanded"),show_details_cookie=viewConfiguration.getCookieVal(show_details_cookie);viewConfiguration.toggleFieldDetails(dialog,show_details_cookie),viewConfiguration.migrateSurveyScore(dialog)},migrateSurveyScore:function($dialog){var $score;0!==$dialog.parents('[data-inputtype="survey"]').length&&($score=$dialog.find(".gv-setting-container-score input"))&&0!=+$score.val()&&$dialog.find('.gv-setting-container-choice_display input[value="score"]').trigger("click").trigger("focus")},toggleFieldDetails:function($dialog,show_details){($parent=$dialog.parent()).find(".gv-field-details").toggleClass("gv-field-details--closed",!show_details).end().find(".gv-field-details--toggle .dashicons").toggleClass("dashicons-arrow-down",!!show_details).toggleClass("dashicons-arrow-right",!show_details).end()},setCustomLabel:function(dialog){var $admin_label=$("[name*=admin_label]",dialog),$admin_label=$admin_label.length&&$admin_label.val()?$admin_label:$("[name*=custom_label]",dialog),dialog=dialog.parents(".gv-fields").find(".gv-field-label-text-container");$admin_label.length&&(0<($admin_label=$admin_label.val().trim()).length?dialog.html($admin_label):dialog.html(dialog.attr("data-original-title")))},getSortableFields:function(context,id){return new Promise((resolve,reject)=>{var vcfg=viewConfiguration,data=($(".gravityview_sort_field").prop("disabled","disabled").empty().append(""+gvGlobals.loading_text+" "),{action:"gv_sortable_fields_form",nonce:gvGlobals.nonce});void 0!==context&&"preset"===context?data.template_id=id:data.form_id=vcfg.gvSelectForm.val(),$.post(ajaxurl,data,function(response){"false"!==response&&"0"!==response&&$(".gravityview_sort_field").empty().append(response).prop("disabled",null),resolve()})})},hideViewConfig:function(){$("#gravityview_view_config").slideUp(150),$(document).trigger("gv_admin_views_hideViewConfig")},showViewConfig:function(){$("#gravityview_view_config").slideDown(150),viewGeneralSettings.metaboxObj.show(),viewConfiguration.toggleDropMessage(),viewConfiguration.init_tooltips(),$(document).trigger("gv_admin_views_showViewConfig")},switchView:function(e){e.preventDefault(),e.stopImmediatePropagation();e=viewConfiguration;e.templateFilter("custom"),e.toggleViewTypeMetabox()},templateFilter:function(templateType){$(".gv-view-types-module").each(function(){$(this).attr("data-filter")===templateType?$(this).parent().show():$(this).parent().hide()})},_isViewDropDown:function(){return viewConfiguration.wantedTemplate&&void 0!==viewConfiguration.wantedTemplate.data("view-data")},_getCurrentTemplateId(){var section=this._getTemplateSection();return null===section||"directory"===section?this.currentDirectoryTemplate:"single"===section?this.currentSingletemplate:""},_setCurrentTemplateId(template_id){var section=this._getTemplateSection();null!==section&&"directory"!==section||(this.currentDirectoryTemplate=template_id),null!==section&&"single"!==section||(this.currentSingletemplate=template_id)},_getTemplateId:function(use_base_template=!1){if(!viewConfiguration.wantedTemplate)return"";let template_id=viewConfiguration.wantedTemplate.data(use_base_template?"base-template":"templateid");return template_id=viewConfiguration._isViewDropDown()?viewConfiguration.wantedTemplate.val():template_id},_getTemplateSection:function(){let section=null;return section=viewConfiguration._isViewDropDown()?viewConfiguration.wantedTemplate.data("section"):section},_restoreValue:function(){viewConfiguration._isViewDropDown()&&viewConfiguration.wantedTemplate.data("view-data").restoreValue()},_storeValue:function(){viewConfiguration.wantedTemplate&&(viewConfiguration._isViewDropDown()?viewConfiguration.wantedTemplate.data("view-data").storeValue():$("select[data-view-dropdown]").each(function(){$(this).data("view-data").storeValue()}),this._setCurrentTemplateId(this._getTemplateId()))},selectTemplate:function(e,data){var currentTemplate,currTemplateIdSlug,vcfg=viewConfiguration;void 0!==data&&null===data.section||(e.preventDefault(),e.stopImmediatePropagation(),vcfg.wantedTemplate=$(this),data=vcfg._getTemplateId(),e=/(.*?)_(.*?)$/i,currTemplateIdSlug=(currentTemplate=vcfg._getCurrentTemplateId()).replace(e,"$2"),e=data.replace(e,"$2")===currTemplateIdSlug,currentTemplate&&!e&&vcfg.getConfiguredFields().length?currentTemplate!==data?vcfg.getConfiguredFields().length?vcfg.showDialog("#gravityview_switch_template_dialog"):(vcfg.toggleViewTypeMetabox(),vcfg.selectTemplateContinue(e)):(vcfg.toggleViewTypeMetabox(),vcfg.showViewConfig()):($("#gravityview_select_template").slideUp(150),vcfg.selectTemplateContinue(e),vcfg._storeValue()))},selectTemplateContinue:function(slugmatch){var vcfg=viewConfiguration,selectedTemplateId=vcfg._getTemplateId(),selectedFormId=vcfg.gvSelectForm.val(),changeAllSection=!vcfg._getTemplateSection(),base_template=(changeAllSection&&(base_template=vcfg._getTemplateId(!0),$("#gravityview_directory_template").val(base_template).trigger("change",{section:null}),$("#gravityview_single_template").val(base_template).trigger("change",{section:null})),vcfg.wantedTemplate.parents(".gv-view-types-module"));base_template.parents(".gv-grid").find(".gv-view-types-module").removeClass("gv-selected"),base_template.addClass("gv-selected"),vcfg.waiting("start"),vcfg.startFreshStatus?Promise.all([vcfg.getAvailableFields("preset",selectedTemplateId),vcfg.getPresetFields(selectedTemplateId),vcfg.getSortableFields("preset",selectedTemplateId)]).then(function(){$(".ui-tabs-panel").each(function(){vcfg.init_droppables(this)})}):(!slugmatch||changeAllSection?vcfg.updateActiveAreas(selectedTemplateId,+selectedFormId):vcfg.waiting("stop"),changeAllSection&&(vcfg.gvSwitchView.fadeIn(150),vcfg.toggleViewTypeMetabox())),vcfg.currentTemplateId=selectedTemplateId,vcfg.setUnsavedChanges(!0)},server_request:(ajaxRoute,payload)=>{let defer=$.Deferred();viewConfiguration.performingAjaxAction=!0,$(".gv-view-template-notice").hide();var{_wpNonce:nonce,_wpAjaxAction:action,_wpAjaxUrl:url,ajaxRouter,frontendFoundationVersion}=window.gvGlobals.foundation_licenses_router;return $.post(url,{nonce:nonce,action:action,ajaxRouter:ajaxRouter,ajaxRoute:ajaxRoute,frontendFoundationVersion:frontendFoundationVersion,payload:payload}).fail(response=>defer.reject(response.responseText)).done(response=>{response.success?(viewConfiguration.performingAjaxAction=!1,defer.resolve()):defer.reject(response.data)}),defer.promise()},selectTemplateHover:function(e){let vcfg=viewConfiguration,$link=$(e.target),$parent=$link.parents(".gv-view-types-module");if($link.is("[rel=internal]")&&!$link.hasClass("gv-layout-activate")&&!$link.hasClass("gv-layout-install"))return!0;e.preventDefault(),e.stopImmediatePropagation();var e=error=>{$(".gv-view-template-notice").show().find("p").html(error),document.querySelector(".gv-view-template-notice").scrollIntoView({behavior:"smooth"})},do_always=()=>{vcfg.performingAjaxAction=!1,$link.removeClass("disabled")},on_success=()=>{$parent.find(".gv-view-types-hover > div:eq(0)").hide(),$parent.find(".gv-view-types-hover > div:eq(1)").removeClass("hidden"),$parent.removeClass("gv-view-template-placeholder"),$parent.find("a.gv_select_template").attr("data-templateid",$link.data("templateid")).trigger("click")};return $link.hasClass("gv-layout-activate")?vcfg.performingAjaxAction?void 0:($link.addClass("disabled"),void $.when(vcfg.server_request("activate_product",{text_domain:$link.attr("data-template-text-domain")})).then(on_success).always(do_always).fail(e)):$link.hasClass("gv-layout-install")?vcfg.performingAjaxAction?void 0:void $.when(vcfg.server_request("install_product",{id:$link.attr("data-download-id"),activate:!0})).then(on_success).always(do_always).fail(e):void $(this).find(".gv_select_template").trigger("click")},enableLockedTemplate:function(e,data){let $option=$(data?.option)||null;var action=data?.action||null,payload={text_domain:$option.data("template-text-domain"),activate:!0},$spinner=$(' ');if("{}"!==JSON.stringify(payload)){let $pill=$(e.target),$item=$pill.closest(".view-dropdown-list-item");$pill.addClass("is-idle").html($spinner),$item.addClass("is-idle"),$.when(viewConfiguration.server_request(action+"_product",payload)).then(()=>{$pill.removeClass("has-failed");var $view_selectors=$("[data-view-dropdown]"),$options=$view_selectors.find('option[value="'+$option.val()+'"]');$options.attr("disabled",!1),$options.val($option.data("template-id")),$view_selectors.each((_,el)=>{$(el).viewDropdown().renderOptions()}),data?.dropdown?.focusActive()}).fail(error=>{$pill.addClass("has-failed").text("Error"),console.log(error)}).always(()=>{$pill.removeClass("is-idle"),$item.removeClass("is-idle")})}},openExternalLinks:function(){return window.Beacon&&($(this).is("[data-beacon-article]")||$(this).is("[data-beacon-article-modal]")||$(this).is("[data-beacon-article-sidebar]")||$(this).is("[data-beacon-article-inline]"))||window.open(this.href),!1},previewTemplate:function(e){e.preventDefault(),e.stopImmediatePropagation();var parent=$(e.currentTarget).parents(".gv-view-types-module");parent.find(".gv-template-preview").dialog({dialogClass:"wp-dialog gv-dialog",appendTo:$("#gravityview_select_template"),width:viewConfiguration.dialogWidth,open:function(){$('
').prependTo("#wpwrap")},close:function(){$(this).dialog("option","appendTo",parent),$("#wpwrap").find("> .gv-overlay").fadeOut("fast",function(){$(this).remove()})},closeOnEscape:!0,buttons:[{text:gvGlobals.label_close,click:function(){$(this).dialog("close")}}]})},updateActiveAreas:function(template,form_id){var vcfg=viewConfiguration,template={action:"gv_get_active_areas",template_id:template,form_id:form_id,nonce:gvGlobals.nonce};return vcfg.updateViewConfig(template)},getPresetFields:function(template){var vcfg=viewConfiguration,template=($("#directory-active-fields, #single-active-fields").children().remove(),{action:"gv_get_preset_fields",template_id:template,nonce:gvGlobals.nonce});return vcfg.updateViewConfig(template)},updateViewConfig:function(data){return new Promise((resolve,reject)=>{let vcfg=viewConfiguration,section=vcfg._getTemplateSection(),update_directory="directory"===section||null===section,update_single="single"===section||null===section;update_directory&&$("#directory-active-fields").children().remove(),update_single&&$("#single-active-fields").children().remove(),$.post(ajaxurl,data,function(response){response&&(response=JSON.parse(response),update_directory&&($("#directory-header-widgets").html(response.header),$("#directory-footer-widgets").html(response.footer),$("#directory-active-fields").append(response.directory)),update_single&&$("#single-active-fields").append(response.single),vcfg.showViewConfig(),vcfg.waiting("stop"),$(document.body).trigger("gravityview/view-config-updated",response,section)),resolve()}),vcfg.setUnsavedChanges(!0)})},waiting:function(action){$containers=$("#wpwrap,.gv-fields"),"start"===action?$containers.addClass("gv-wait"):$containers.removeClass("gv-wait")},remove_tooltips:function(el){$(el||".gv-add-field").is(":ui-tooltip")&&$(".gv-add-field").gvTooltip("destroy").off("click")},init_tooltips:function(el){0!==$(el||".gv-add-field","#post").not(":ui-tooltip").length&&$(el||".gv-add-field","#post").gvTooltip({show:150,hide:200,content:function(){var context=$(this).attr("data-context"),formId=$(this).attr("data-formid")||$("#gravityview_form_id").val(),templateId=$("#gravityview_directory_template").val();switch($(this).attr("data-objecttype")){case"field":return $("#"+context+"-available-fields-"+(formId||templateId)).html();case"widget":return $("#directory-available-widgets").html()}},close:function(){$(this).attr("data-tooltip",null)},open:function(event,tooltip){$(this).attr("data-tooltip","active").attr("data-tooltip-id",$(this).attr("aria-describedby")),($focus_item=$("input[type=search]",tooltip.tooltip)).length||($focus_item=$(tooltip.tooltip).find(".close").first());var activate_layout="list";$(tooltip).find(".gv-items-picker-container[data-layout]").length?activate_layout=$(tooltip).find(".gv-items-picker-container[data-layout]").attr("data-layout"):(layout_cookie=$.cookie("gv-items-picker-layout"),viewConfiguration.getCookieVal(layout_cookie)&&(activate_layout=layout_cookie)),viewConfiguration.setTooltipLayout(activate_layout),$focus_item.trigger("focus")},closeOnEscape:!0,disabled:!0,position:{my:"center bottom",at:"center top-12"},tooltipClass:"gravityview-item-picker-tooltip top"}).attr("title","").on("mouseout focusout",function(e){e.stopImmediatePropagation()}).on("click",function(e,data){$(this).attr("title",""),$(this).data("before",null),data?.before&&$(this).data("before",data.before),e.preventDefault(),$(this).gvTooltip("open")})},setupFieldFilters:function(e){var input=$(this).val().trim(),$tooltip=$(this).parents(".ui-tooltip-content"),$resultsNotFound=$tooltip.find(".gv-no-results");"keydown"===e.type?$(this).attr("data-has-search",0{var vcfg=viewConfiguration,data=(vcfg.toggleDropMessage(),vcfg.getConfiguredFields().remove(),{action:"gv_available_fields",nonce:gvGlobals.nonce});data.form_preset_ids=void 0!==preset&&"preset"===preset?[templateid]:[vcfg.gvSelectForm.val()],$("#directory-available-fields-"+data.form_preset_ids[0]).length||$.post(ajaxurl,data,function(response){response.success||response.data||resolve(),$.each(response.data,function(context,markup){$("#"+context+"-fields").append(markup)}),resolve()})})},startAddField:function(e){$(this).has(".field-id-all-fields").length?viewConfiguration.addAllFields($(this)):viewConfiguration.addField($(this),e)},addAllFields:function(clicked){let fields=clicked.siblings(".gv-fields").filter(function(){var field_id=$(this).data("fieldid");return+field_id===parseInt(field_id,10)});!async function(){for(let i=0;inew Promise((resolve,reject)=>{$(document.body).one("gravityview/field-added",function(){resolve()}),$(el).trigger("click")}))(fields[i]);$("a.gv-add-field[data-tooltip='active']").gvTooltip("close")}()},addField:function(clicked,e){e.preventDefault();var e=clicked.closest(".ui-tooltip").attr("id"),e=$('.gv-add-field[data-tooltip-id="'+e+'"]'),$before=e.data("before");viewConfiguration.placeField(clicked,e,$before,!!$before)},placeField:function($field,$addButton,$anchor,add_before_anchor=!1){let vcfg=viewConfiguration,$newField=$field.clone().hide();var data={action:"gv_field_options",template:$addButton.attr("data-templateid"),area:$addButton.attr("data-areaid"),context:$addButton.attr("data-context"),field_id:$newField.attr("data-fieldid"),field_label:$newField.find(".gv-field-label").attr("data-original-title"),field_type:$addButton.attr("data-objecttype"),input_type:$newField.attr("data-inputtype"),form_id:parseInt($field.attr("data-formid"),10)||vcfg.currentFormId,nonce:gvGlobals.nonce};$.ajax({type:"POST",url:ajaxurl,data:data,async:!0,beforeSend:function(){vcfg.disable_publish()},complete:function(){vcfg.enable_publish()}}).done(function(response){var regex=/[^\[]+\[[^\]]+\]\[([^\]]+)\].*/i;if(0<$field.find("input.field-key").length){$newField.find(".gv-dialog, .gv-dialog-options").remove();let oldId=$field.find("input.field-key").attr("name").replace(regex,"$1"),newId=response.match(regex,"$1")[1]??null;response=$(response),$field.find(".gv-dialog-options :input").each(function(i,el){var $fields;$(el).attr("name")&&(1===($fields=response.find('[name="'+$(el).attr("name").replaceAll(""+oldId,""+newId)+'"]')).length?$fields.val($(el).val()):2===$fields.length&&$(el).is(":checked")&&$fields.prop("checked",!0))})}$newField.append(response),$(".ui-tabs-panel").each(function(){vcfg.init_droppables(this)}),0<$(".gv-dialog-options",$newField).length&&$(".gv-field-settings",$newField).removeClass("hide-if-js"),$anchor?(regex=add_before_anchor?"insertBefore":"insertAfter",$newField[regex]($anchor)):$addButton.closest(".gv-droppable-area").find(".active-drop").append($newField),$(document.body).trigger("gravityview/field-added",$newField),$newField.fadeIn(100),vcfg.refreshGFtooltips()}).fail(function(jqXHR){vcfg.enable_publish(),alert(gvGlobals.field_loaderror),console.log(jqXHR)}).always(function(){vcfg.toggleDropMessage(),vcfg.setUnsavedChanges(!0)})},duplicateField:function(e){e.preventDefault();e=$(this).closest(".gv-fields");viewConfiguration.placeField(e,$(this).closest(".active-drop-container").find("a.gv-add-field"),e)},refresh_merge_tags:function($source,onRefresh){let $merge_tag_supported=$source?$(".gv-merge-tag-support,.merge-tag-support",$source):$(".gv-merge-tag-support:visible");$merge_tag_supported.removeClass("gv-merge-tag-support mt-initialized").addClass("merge-tag-support"),window.gform?.instances?.mergeTags?($(".all-merge-tags",$source).remove(),document.dispatchEvent(new Event("DOMContentLoaded")),setTimeout(function(){$merge_tag_supported.removeClass("merge-tag-support").addClass("gv-merge-tag-support"),onRefresh&&onRefresh()},300)):"undefined"!=typeof form&&$(document.body).not(".gv-form-changed")&&0<=$merge_tag_supported.length&&(window.gfMergeTags&&($(".all-merge-tags:visible").remove(),gfMergeTags.hasOwnProperty("destroy")?$merge_tag_supported.each(function(){new gfMergeTagsObj(form,$(this))}):window.gfMergeTags=new gfMergeTagsObj(form)),$merge_tag_supported.removeClass("merge-tag-support").addClass("gv-merge-tag-support"),onRefresh)&&onRefresh()},enable_publish:function(){$(document).trigger("autosave-enable-buttons.edit-post"),$("#publishing-action").find("#publish").prop("disabled",null).removeClass("button-primary-disabled")},disable_publish:function(){$(document).trigger("autosave-disable-buttons.edit-post"),$("#publishing-action").find("#publish").prop("disabled","disabled").addClass("button-primary-disabled")},init_droppables:function(panel){var vcfg;$(panel).find(".active-drop-field").sortable("instance")||(vcfg=viewConfiguration,$(panel).find(".active-drop-widget").sortable({placeholder:"fields-placeholder",items:"> .gv-fields",distance:2,revert:75,connectWith:".active-drop-widget",start:function(event,ui){$("#directory-fields, #single-fields").find(".active-drop-container-widget").addClass("is-receivable")},stop:function(event,ui){$("#directory-fields, #single-fields").find(".active-drop-container-widget").removeClass("is-receivable")},change:function(event,ui){vcfg.setUnsavedChanges(!0)},receive:function(event,ui){var sender_area=ui.sender.attr("data-areaid"),receiver_area=$(this).attr("data-areaid");ui.item.find('[name^="widgets['+sender_area+']"]').each(function(){var name=$(this).attr("name");$(this).attr("name",name.replace(sender_area,receiver_area))}),vcfg.toggleDropMessage()}}),$(panel).find(".active-drop-field").sortable({placeholder:"fields-placeholder",items:"> .gv-fields",distance:2,revert:75,connectWith:".active-drop-field",start:function(event,ui){$(panel).find(".active-drop-container-field").addClass("is-receivable")},stop:function(event,ui){$(panel).find(".active-drop-container-field").removeClass("is-receivable")},change:function(event,ui){vcfg.setUnsavedChanges(!0)},receive:function(event,ui){var sender_area,receiver_area;0 ",{name:"gv_fields",value:serialized_data,type:"hidden"})),setTimeout(function(){$post.data("gv-valid",!0),"click"===e.type?$(e.target).trigger("click"):$post.trigger("submit")},101),!1)},createPresetForm:function(e,templateId){var vcfg=viewConfiguration,$target=$(e.target),templateId=(e.stopPropagation(),{action:"gv_set_preset_form",template_id:templateId,nonce:gvGlobals.nonce});return $.ajax({type:"POST",url:ajaxurl,data:templateId,async:!1,success:function(response){"false"!==response&&"0"!==response?(vcfg.startFreshStatus=!1,vcfg.gvSelectForm.find("option:selected").removeAttr("selected").end().append(response),"click"===e.type?$target.trigger("click"):$("#post").trigger("submit")):$target.before(''+gvGlobals.label_publisherror+"
")}}),!1}},viewGeneralSettings={templateId:null,metaboxObj:null,init:function(){viewGeneralSettings.metaboxObj=$("#gravityview_settings"),viewGeneralSettings.initTabs(),$("#gravityview_directory_template").on("change",viewGeneralSettings.updateSettingsDisplay),$(document.body).on("gravityview/settings/tab/enable",viewGeneralSettings.enableSettingTab).on("gravityview/settings/tab/disable",viewGeneralSettings.disableSettingTab)},updateSettingsDisplay:function(){viewGeneralSettings.templateId=$(this).val(),$("tr[data-show-if]").each(viewGeneralSettings.toggleSetting)},toggleSetting:function(){var row=$(this),templates=row.attr("data-show-if");templates.length<1||!viewGeneralSettings.templateId||(0 ');$(document).on("click",".gk-gravityview-placeholder-actions [data-action]",function(e){var text_domain,nonce,action,url,ajaxRouter,frontendFoundationVersion;e.preventDefault(),viewConfiguration.hasUnsavedChanges&&!window.confirm(gvGlobals.discard_unsaved_changes)||$(this).hasClass("is-idle")||($(this).addClass("is-idle").html($spinner),e=$(this).data("action")+"_product",text_domain=$(this).data("text-domain"),{_wpNonce:nonce,_wpAjaxAction:action,_wpAjaxUrl:url,ajaxRouter,frontendFoundationVersion}=window.gvGlobals.foundation_licenses_router,$.post(url,{nonce:nonce,action:action,ajaxRouter:ajaxRouter,ajaxRoute:e,frontendFoundationVersion:frontendFoundationVersion,payload:{text_domain:text_domain,activate:!0}}).fail(_=>{$(this).removeClass("is-idle").addClass("is-error").text("Try again")}).done(response=>{response.success?document.location=document.location:$(this).removeClass("is-idle").addClass("is-error").text("Try again")}))})})}(jQuery);
\ No newline at end of file
diff --git a/assets/js/admin-widgets.min.js b/assets/js/admin-widgets.min.js
index 8aeb629746..cc506bb7b1 100644
--- a/assets/js/admin-widgets.min.js
+++ b/assets/js/admin-widgets.min.js
@@ -1 +1 @@
-jQuery(function($){gvWidgets={init:function(){$(document).on("widget-added widget-updated widget-toggled",gvWidgets.modified).on("change refresh","#widgets-right .gv-recent-entries-select-view",gvWidgets.refreshMergeTags),$(document.body).on("click.widgets-toggle",gvWidgets.toggle)},toggle:function(target){var widget,target=$(target.target);target.parents(".widget-top").length&&!target.parents("#available-widgets").length&&(widget=target.closest("div.widget"),window.setTimeout(function(){widget.trigger("widget-toggled",widget)},110))},modified:function(e,widget){$(widget).has(".gv-recent-entries-select-view")&&$(widget).find(".gv-recent-entries-select-view").trigger("refresh")},refreshMergeTags:function(e){var data=$(this).val();0!==data.length?(data={action:"gv_get_view_merge_tag_data",view_id:data,nonce:GVWidgets.nonce},$.post(ajaxurl,data,function(parsed){parsed&&(parsed=JSON.parse(parsed),gf_vars.mergeTags=parsed.mergeTags,window.form=new Form,window.form.id=parsed.form.id,window.form.fields=parsed.form.fields,window.form.title=parsed.form.title,$(".all-merge-tags").remove(),"undefined"!=typeof form&&$("body").not(".gv-form-changed")&&(window.gfMergeTags=new gfMergeTagsObj(form)))})):$(".all-merge-tags").remove()}},gvWidgets.init()});
\ No newline at end of file
+jQuery(function($){(gvWidgets={init:function(){$(document).on("widget-added widget-updated widget-toggled",gvWidgets.modified).on("change refresh","#widgets-right .gv-recent-entries-select-view",gvWidgets.refreshMergeTags),$(document.body).on("click.widgets-toggle",gvWidgets.toggle)},toggle:function(e){var widget,e=$(e.target);e.parents(".widget-top").length&&!e.parents("#available-widgets").length&&(widget=e.closest("div.widget"),window.setTimeout(function(){widget.trigger("widget-toggled",widget)},110))},modified:function(e,widget){$(widget).has(".gv-recent-entries-select-view")&&$(widget).find(".gv-recent-entries-select-view").trigger("refresh")},refreshMergeTags:function(e){var view_id=$(this).val();0===view_id.length?$(".all-merge-tags").remove():(view_id={action:"gv_get_view_merge_tag_data",view_id:view_id,nonce:GVWidgets.nonce},$.post(ajaxurl,view_id,function(response){response&&(response=JSON.parse(response),gf_vars.mergeTags=response.mergeTags,window.form=new Form,window.form.id=response.form.id,window.form.fields=response.form.fields,window.form.title=response.form.title,$(".all-merge-tags").remove(),"undefined"!=typeof form)&&$("body").not(".gv-form-changed")&&(window.gfMergeTags=new gfMergeTagsObj(form))}))}}).init()});
\ No newline at end of file
diff --git a/assets/js/fe-views.min.js b/assets/js/fe-views.min.js
index 39fa1f877f..c4551315b5 100644
--- a/assets/js/fe-views.min.js
+++ b/assets/js/fe-views.min.js
@@ -1 +1 @@
-jQuery(function($){({init:function(){this.datepicker(),$(".gv-widget-search").each(function(){$(this).attr("data-state",$(this).serialize())}),$(".gv-widget-search").on("keyup, change",this.form_changed),$(".gv-widget-search .gv-search-field-search_all input[type=search]").on("search",function(e){$(e.target).parents("form").trigger("keyup")}),$(".gv-search-clear").on("click",this.clear_search),$("a.gv-sort").on("click",this.multiclick_sort),this.number_range()},form_changed:function($form){$form=$($form.target).hasClass("gv-widget-search")?$($form.target):$($form.target).parents("form");$form.serialize()===$form.attr("data-state")?$form.hasClass("gv-is-search")?$(".gv-search-clear",$(this)).text(gvGlobals.clear):$(".gv-search-clear",$(this)).fadeOut(100):$(".gv-search-clear",$(this)).text(gvGlobals.reset).fadeIn(100)},clear_search:function(e){var $form=$(this).parents("form"),changed=$form.attr("data-state")!==$form.serialize();return!(!$form.hasClass("gv-is-search")||changed)||(!changed||(e.preventDefault(),$form.trigger("reset"),!1===$form.hasClass("gv-is-search")?$(".gv-search-clear",$form).hide(100):$(".gv-search-clear",$form).text(gvGlobals.clear),!1))},datepicker:function(){jQuery.fn.datepicker&&$(".gv-datepicker").each(function(){var element=jQuery(this),format="",showOn="focus";element.hasClass("datepicker_with_icon")&&(showOn="both",format=jQuery("#gforms_calendar_icon_"+this.id).val()),gvGlobals.datepicker.showOn=showOn,gvGlobals.datepicker.buttonImage=format,gvGlobals.datepicker.buttonImageOnly=!0,gvGlobals.datepicker.dateFormat||(format="mm/dd/yy",element.hasClass("mdy")?format="mm/dd/yy":element.hasClass("dmy")?format="dd/mm/yy":element.hasClass("dmy_dash")?format="dd-mm-yy":element.hasClass("dmy_dot")?format="dd.mm.yy":element.hasClass("ymd_slash")?format="yy/mm/dd":element.hasClass("ymd_dash")?format="yy-mm-dd":element.hasClass("ymd_dot")&&(format="yy.mm.dd"),gvGlobals.datepicker.dateFormat=format),element.datepicker(gvGlobals.datepicker)})},multiclick_sort:function(e){e.shiftKey&&(e.preventDefault(),location.href=$(this).data("multisort-href"))},number_range(){$(".gv-search-number-range").on("change","input",function(){const $name=$(this).attr("name"),current_type=$name.includes("max")?"max":"min",other_type="max"==current_type?"min":"max",$other=$(this).closest(".gv-search-number-range").find('input[name="'+$name.replace(/(min|max)/,other_type)+'"]');setTimeout(function(){var value;$(this).attr(other_type)&&""!==$(this).val()&&(value=parseFloat($(this).val()),"max"==current_type&&valueparseFloat($(this).attr("max"))&&$(this).val($(this).attr("max"))),$other.attr(current_type,$(this).val())}.bind(this),2)}).find("input").trigger("change")}}).init()});
\ No newline at end of file
+jQuery(function($){({init:function(){this.datepicker(),$(".gv-widget-search").each(function(){$(this).attr("data-state",$(this).serialize())}),$(".gv-widget-search").on("keyup, change",this.form_changed),$(".gv-widget-search .gv-search-field-search_all input[type=search]").on("search",function(e){$(e.target).parents("form").trigger("keyup")}),$(".gv-search-clear").on("click",this.clear_search),$("a.gv-sort").on("click",this.multiclick_sort),this.number_range()},form_changed:function(e){e=$(e.target).hasClass("gv-widget-search")?$(e.target):$(e.target).parents("form");e.serialize()===e.attr("data-state")?e.hasClass("gv-is-search")?$(".gv-search-clear",$(this)).text(gvGlobals.clear):$(".gv-search-clear",$(this)).fadeOut(100):$(".gv-search-clear",$(this)).text(gvGlobals.reset).fadeIn(100)},clear_search:function(e){var $form=$(this).parents("form"),changed=$form.attr("data-state")!==$form.serialize();return!(!$form.hasClass("gv-is-search")||changed)||!changed||(e.preventDefault(),$form.trigger("reset"),!1===$form.hasClass("gv-is-search")?$(".gv-search-clear",$form).hide(100):$(".gv-search-clear",$form).text(gvGlobals.clear),!1)},datepicker:function(){jQuery.fn.datepicker&&$(".gv-datepicker").each(function(){var element=jQuery(this),image="",showOn="focus";element.hasClass("datepicker_with_icon")&&(showOn="both",image=jQuery("#gforms_calendar_icon_"+this.id).val()),gvGlobals.datepicker.showOn=showOn,gvGlobals.datepicker.buttonImage=image,gvGlobals.datepicker.buttonImageOnly=!0,gvGlobals.datepicker.dateFormat||(showOn="mm/dd/yy",element.hasClass("mdy")?showOn="mm/dd/yy":element.hasClass("dmy")?showOn="dd/mm/yy":element.hasClass("dmy_dash")?showOn="dd-mm-yy":element.hasClass("dmy_dot")?showOn="dd.mm.yy":element.hasClass("ymd_slash")?showOn="yy/mm/dd":element.hasClass("ymd_dash")?showOn="yy-mm-dd":element.hasClass("ymd_dot")&&(showOn="yy.mm.dd"),gvGlobals.datepicker.dateFormat=showOn),element.datepicker(gvGlobals.datepicker)})},multiclick_sort:function(e){e.shiftKey&&(e.preventDefault(),location.href=$(this).data("multisort-href"))},number_range(){$(".gv-search-number-range").on("change","input",function(){var $name=$(this).attr("name");let current_type=$name.includes("max")?"max":"min",other_type="max"==current_type?"min":"max",$other=$(this).closest(".gv-search-number-range").find('input[name="'+$name.replace(/(min|max)/,other_type)+'"]');setTimeout(function(){var value;$(this).attr(other_type)&&""!==$(this).val()&&(value=parseFloat($(this).val()),"max"==current_type&&valueparseFloat($(this).attr("max"))&&$(this).val($(this).attr("max"))),$other.attr(current_type,$(this).val())}.bind(this),2)}).find("input").trigger("change")}}).init()});
\ No newline at end of file
diff --git a/assets/js/field-approval.min.js b/assets/js/field-approval.min.js
index b6f64db0f2..5d23c53de7 100644
--- a/assets/js/field-approval.min.js
+++ b/assets/js/field-approval.min.js
@@ -1 +1 @@
-!function($){"use strict";var self={response:{status:""},debug:!1,dt_selector:".gv-datatables",css_classes:{approved:"gv-approval-approved",unapproved:"gv-approval-unapproved",disapproved:"gv-approval-disapproved",loading:"gv-approval-loading"},selector:".gv-approval-toggle"};$(function(){self.setup_triggers()}),self.setup_triggers=function(){window.gvApproval&&(0<$(self.dt_selector).length?($(".gv-datatables").on("draw.dt",self.add_toggle_approval_trigger),$(window).on("gravityview-datatables/event/responsive",self.add_toggle_approval_trigger)):self.add_toggle_approval_trigger())},self.add_toggle_approval_trigger=function(){function gv_select_status(element,status){$(element).find("a").removeClass("selected").end().find('a[data-approved="'+status+'"]').addClass("selected")}tippy(self.selector,{interactive:!0,arrow:!0,arrowType:"round",theme:"light-border",content:gvApproval.status_popover_template,placement:gvApproval.status_popover_placement,onShow:function(showEvent){var $entry_element=$(showEvent.reference),current_status=parseInt($entry_element.attr("data-current-status"),10);document.gvStatusKeyPressHandler=function(key){key.preventDefault();key=key.key||key.keyCode;"Escape"!==key&&"Esc"!==key?-1!==["1","2","3"].indexOf(key)&&$(showEvent.popper).find('a[data-approved="'+key+'"]').trigger("click"):showEvent.popper._tippy.hide()},$(document).on("keyup",document.gvStatusKeyPressHandler),$(showEvent.popper).on("click",function(linkClickEvent){linkClickEvent.preventDefault();var new_status=parseInt($(linkClickEvent.target).attr("data-approved"),10);$entry_element._newStatus=new_status,self.toggle_approval(linkClickEvent,$entry_element),gv_select_status(showEvent.popper,new_status)}),gv_select_status(showEvent.popper,current_status)},onHide:function(hideEvent){$(hideEvent.popper).off("click"),$(document).off("keyup",document.gvStatusKeyPressHandler)}}),$(self.selector).on("click",function(e){return e.preventDefault(),$(e.target).hasClass(self.css_classes.loading)?(self.debug&&console.log("add_toggle_approval_trigger","Cannot toggle approval while approval is pending."),!1):void self.toggle_approval(e)})},self.toggle_approval=function(e,form_id){var $link,new_status;e.preventDefault(),new_status=form_id&&form_id._newStatus?($link=form_id)._newStatus:($link=$(e.target).is("span")?$(e.target).parent():$(e.target),self.get_new_status(e,$link.attr("data-current-status")));var entry_slug=$link.attr("data-entry-slug"),form_id=$link.attr("data-form-id");return self.debug&&console.log("toggle_approval",{target:e.target,current_approval_value:$link.attr("data-current-status"),new_status:new_status}),$link.addClass(self.css_classes.loading),self.update_approval(entry_slug,form_id,new_status,$link),!1},self.get_new_status=function(e,old_status){return e.altKey?(e.preventDefault(),(e.shiftKey?gvApproval.status.disapproved:gvApproval.status.unapproved).value):(old_status+""==gvApproval.status.approved.value+""?gvApproval.status.disapproved:gvApproval.status.approved).value},self.update_approval=function(entry_slug,form_id,set_approved,$target){var css_class,new_status,data={action:"gv_update_approved",entry_slug:entry_slug,form_id:form_id,approved:set_approved,nonce:gvApproval.nonce};return $target.attr("aria-busy",!0),$.post(gvApproval.ajaxurl,data,function(response){if(response.success){switch(response.data.status){case gvApproval.status.approved.value:new_status=gvApproval.status.approved,css_class=self.css_classes.approved;break;case gvApproval.status.disapproved.value:new_status=gvApproval.status.disapproved,css_class=self.css_classes.disapproved;break;case gvApproval.status.unapproved.value:new_status=gvApproval.status.unapproved,css_class=self.css_classes.unapproved}$target.prop("title",new_status.title).attr("data-current-status",response.data.status).removeClass(self.css_classes.disapproved).removeClass(self.css_classes.approved).removeClass(self.css_classes.unapproved).addClass(css_class).find("span").text(new_status.label)}else"0"!==response&&(self.debug&&console.error("AJAX Error",response),alert(response.data[0].message));$target.attr("aria-busy",!1).removeClass(self.css_classes.loading),self.debug&&console.log("update_approval",{data:data,response:response})}),!0}}(jQuery);
\ No newline at end of file
+!function($){var self={response:{status:""},debug:!1,dt_selector:".gv-datatables",css_classes:{approved:"gv-approval-approved",unapproved:"gv-approval-unapproved",disapproved:"gv-approval-disapproved",loading:"gv-approval-loading"},selector:".gv-approval-toggle"};$(function(){self.setup_triggers()}),self.setup_triggers=function(){window.gvApproval&&(0<$(self.dt_selector).length?($(".gv-datatables").on("draw.dt",self.add_toggle_approval_trigger),$(window).on("gravityview-datatables/event/responsive",self.add_toggle_approval_trigger)):self.add_toggle_approval_trigger())},self.add_toggle_approval_trigger=function(){function gv_select_status(element,status){$(element).find("a").removeClass("selected").end().find('a[data-approved="'+status+'"]').addClass("selected")}tippy(self.selector,{interactive:!0,arrow:!0,arrowType:"round",theme:"light-border",content:gvApproval.status_popover_template,placement:gvApproval.status_popover_placement,onShow:function(showEvent){var $entry_element=$(showEvent.reference),current_status=parseInt($entry_element.attr("data-current-status"),10);document.gvStatusKeyPressHandler=function(keyPressEvent){keyPressEvent.preventDefault();keyPressEvent=keyPressEvent.key||keyPressEvent.keyCode;"Escape"===keyPressEvent||"Esc"===keyPressEvent?showEvent.popper._tippy.hide():-1!==["1","2","3"].indexOf(keyPressEvent)&&$(showEvent.popper).find('a[data-approved="'+keyPressEvent+'"]').trigger("click")},$(document).on("keyup",document.gvStatusKeyPressHandler),$(showEvent.popper).on("click",function(linkClickEvent){linkClickEvent.preventDefault();var new_status=parseInt($(linkClickEvent.target).attr("data-approved"),10);$entry_element._newStatus=new_status,self.toggle_approval(linkClickEvent,$entry_element),gv_select_status(showEvent.popper,new_status)}),gv_select_status(showEvent.popper,current_status)},onHide:function(hideEvent){$(hideEvent.popper).off("click"),$(document).off("keyup",document.gvStatusKeyPressHandler)}}),$(self.selector).on("click",function(e){if(e.preventDefault(),$(e.target).hasClass(self.css_classes.loading))return self.debug&&console.log("add_toggle_approval_trigger","Cannot toggle approval while approval is pending."),!1;self.toggle_approval(e)})},self.toggle_approval=function(e,$target){e.preventDefault(),$target=$target&&$target._newStatus?($link=$target)._newStatus:($link=$(e.target).is("span")?$(e.target).parent():$(e.target),self.get_new_status(e,$link.attr("data-current-status")));var $link,entry_slug=$link.attr("data-entry-slug"),form_id=$link.attr("data-form-id");return self.debug&&console.log("toggle_approval",{target:e.target,current_approval_value:$link.attr("data-current-status"),new_status:$target}),$link.addClass(self.css_classes.loading),self.update_approval(entry_slug,form_id,$target,$link),!1},self.get_new_status=function(e,old_status){return(e.altKey?(e.preventDefault(),e.shiftKey?gvApproval.status.disapproved:gvApproval.status.unapproved):old_status+""==gvApproval.status.approved.value+""?gvApproval.status.disapproved:gvApproval.status.approved).value},self.update_approval=function(entry_slug,form_id,set_approved,$target){var css_class,new_status,data={action:"gv_update_approved",entry_slug:entry_slug,form_id:form_id,approved:set_approved,nonce:gvApproval.nonce};return $target.attr("aria-busy",!0),$.post(gvApproval.ajaxurl,data,function(response){if(response.success){switch(response.data.status){case gvApproval.status.approved.value:new_status=gvApproval.status.approved,css_class=self.css_classes.approved;break;case gvApproval.status.disapproved.value:new_status=gvApproval.status.disapproved,css_class=self.css_classes.disapproved;break;case gvApproval.status.unapproved.value:new_status=gvApproval.status.unapproved,css_class=self.css_classes.unapproved}$target.prop("title",new_status.title).attr("data-current-status",response.data.status).removeClass(self.css_classes.disapproved).removeClass(self.css_classes.approved).removeClass(self.css_classes.unapproved).addClass(css_class).find("span").text(new_status.label)}else"0"!==response&&(self.debug&&console.error("AJAX Error",response),alert(response.data[0].message));$target.attr("aria-busy",!1).removeClass(self.css_classes.loading),self.debug&&console.log("update_approval",{data:data,response:response})}),!0}}(jQuery);
\ No newline at end of file
diff --git a/assets/js/gf_tooltip.min.js b/assets/js/gf_tooltip.min.js
index ada23ee003..66a1ce1a20 100644
--- a/assets/js/gf_tooltip.min.js
+++ b/assets/js/gf_tooltip.min.js
@@ -1 +1 @@
-function gform_initialize_tooltips(){jQuery(".gf_tooltip").tooltip({show:500,content:function(){return jQuery(this).prop("title")},open:function(event,$id){if(void 0===event.originalEvent)return!1;$id=jQuery($id.tooltip).attr("id");jQuery("div.ui-tooltip").not("#"+$id).remove()},close:function(event,ui){ui.tooltip.on("hover",function(){jQuery(this).stop(!0).fadeTo(400,1)},function(){jQuery(this).fadeOut("500",function(){jQuery(this).remove()})})}})}jQuery(function(){gform_initialize_tooltips()});
\ No newline at end of file
+function gform_initialize_tooltips(){jQuery(".gf_tooltip").tooltip({show:500,content:function(){return jQuery(this).prop("title")},open:function(event,ui){if(void 0===event.originalEvent)return!1;event=jQuery(ui.tooltip).attr("id");jQuery("div.ui-tooltip").not("#"+event).remove()},close:function(event,ui){ui.tooltip.on("hover",function(){jQuery(this).stop(!0).fadeTo(400,1)},function(){jQuery(this).fadeOut("500",function(){jQuery(this).remove()})})}})}jQuery(function(){gform_initialize_tooltips()});
\ No newline at end of file
diff --git a/assets/lib/jquery.cookie/jquery.cookie.min.js b/assets/lib/jquery.cookie/jquery.cookie.min.js
index 28e46c1332..5dab8d2616 100644
--- a/assets/lib/jquery.cookie/jquery.cookie.min.js
+++ b/assets/lib/jquery.cookie/jquery.cookie.min.js
@@ -1 +1 @@
-!function(factory){"function"==typeof define&&define.amd?define(["jquery"],factory):"object"==typeof exports?factory(require("jquery")):factory(jQuery)}(function($){var pluses=/\+/g;function encode(s){return config.raw?s:encodeURIComponent(s)}function read(value,converter){value=config.raw?value:function(s){0===s.indexOf('"')&&(s=s.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\"));try{return s=decodeURIComponent(s.replace(pluses," ")),config.json?JSON.parse(s):s}catch(e){}}(value);return $.isFunction(converter)?converter(value):value}var config=$.cookie=function(key,value,options){var days,t;if(void 0!==value&&!$.isFunction(value))return"number"==typeof(options=$.extend({},config.defaults,options)).expires&&(days=options.expires,(t=options.expires=new Date).setTime(+t+864e5*days)),document.cookie=[encode(key),"=",function(value){return encode(config.json?JSON.stringify(value):String(value))}(value),options.expires?"; expires="+options.expires.toUTCString():"",options.path?"; path="+options.path:"",options.domain?"; domain="+options.domain:"",options.secure?"; secure":""].join("");for(var result=key?void 0:{},cookies=document.cookie?document.cookie.split("; "):[],i=0,l=cookies.length;i=7.2.0",
"psr/log": "^1.1",
- "trustedlogin/client": "^1.7"
+ "trustedlogin/client": "^v1.8.0"
},
"require-dev": {
"dealerdirect/phpcodesniffer-composer-installer": "^0.7",
@@ -323,10 +323,10 @@
}
],
"support": {
- "source": "https://github.com/GravityKit/Foundation/tree/v1.2.15",
+ "source": "https://github.com/GravityKit/Foundation/tree/v1.2.17",
"issues": "https://github.com/GravityKit/Foundation/issues"
},
- "time": "2024-05-22T20:23:59+00:00"
+ "time": "2024-07-22T23:20:16+00:00"
},
{
"name": "illuminate/container",
@@ -958,16 +958,16 @@
},
{
"name": "symfony/polyfill-mbstring",
- "version": "v1.29.0",
+ "version": "v1.30.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-mbstring.git",
- "reference": "9773676c8a1bb1f8d4340a62efe641cf76eda7ec"
+ "reference": "fd22ab50000ef01661e2a31d850ebaa297f8e03c"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/9773676c8a1bb1f8d4340a62efe641cf76eda7ec",
- "reference": "9773676c8a1bb1f8d4340a62efe641cf76eda7ec",
+ "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/fd22ab50000ef01661e2a31d850ebaa297f8e03c",
+ "reference": "fd22ab50000ef01661e2a31d850ebaa297f8e03c",
"shasum": ""
},
"require": {
@@ -1018,7 +1018,7 @@
"shim"
],
"support": {
- "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.29.0"
+ "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.30.0"
},
"funding": [
{
@@ -1034,7 +1034,7 @@
"type": "tidelift"
}
],
- "time": "2024-01-29T20:11:03+00:00"
+ "time": "2024-06-19T12:30:46+00:00"
},
{
"name": "symfony/polyfill-php70",
@@ -1106,24 +1106,29 @@
},
{
"name": "trustedlogin/client",
- "version": "v1.7.0",
+ "version": "v1.8.0",
"source": {
"type": "git",
"url": "https://github.com/trustedlogin/client.git",
- "reference": "35938a4bd9749f475518b88d4ce593d27970024c"
+ "reference": "3ba476906afe0b98f551f080ee0cd92d5d9c8830"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/trustedlogin/client/zipball/35938a4bd9749f475518b88d4ce593d27970024c",
- "reference": "35938a4bd9749f475518b88d4ce593d27970024c",
+ "url": "https://api.github.com/repos/trustedlogin/client/zipball/3ba476906afe0b98f551f080ee0cd92d5d9c8830",
+ "reference": "3ba476906afe0b98f551f080ee0cd92d5d9c8830",
"shasum": ""
},
"require-dev": {
+ "dealerdirect/phpcodesniffer-composer-installer": "^1.0",
"ext-curl": "*",
"ext-json": "*",
"php": ">=5.3.0",
- "spatie/phpunit-watcher": "^1.23",
- "yoast/phpunit-polyfills": "^1.1.0"
+ "phpcompatibility/phpcompatibility-wp": "^2.1",
+ "phpstan/extension-installer": "^1.3",
+ "phpstan/phpstan": "^1.10",
+ "szepeviktor/phpstan-wordpress": "^1.3",
+ "wp-coding-standards/wpcs": "^3.0",
+ "yoast/phpunit-polyfills": "^1.0.0"
},
"bin": [
"bin/build-sass"
@@ -1154,9 +1159,9 @@
],
"support": {
"issues": "https://github.com/trustedlogin/client/issues",
- "source": "https://github.com/trustedlogin/client/tree/v1.7.0"
+ "source": "https://github.com/trustedlogin/client/tree/v1.8.0"
},
- "time": "2024-01-29T20:51:28+00:00"
+ "time": "2024-07-18T15:45:05+00:00"
}
],
"packages-dev": [
@@ -6668,16 +6673,16 @@
},
{
"name": "symfony/polyfill-php80",
- "version": "v1.29.0",
+ "version": "v1.30.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-php80.git",
- "reference": "87b68208d5c1188808dd7839ee1e6c8ec3b02f1b"
+ "reference": "77fa7995ac1b21ab60769b7323d600a991a90433"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/87b68208d5c1188808dd7839ee1e6c8ec3b02f1b",
- "reference": "87b68208d5c1188808dd7839ee1e6c8ec3b02f1b",
+ "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/77fa7995ac1b21ab60769b7323d600a991a90433",
+ "reference": "77fa7995ac1b21ab60769b7323d600a991a90433",
"shasum": ""
},
"require": {
@@ -6728,7 +6733,7 @@
"shim"
],
"support": {
- "source": "https://github.com/symfony/polyfill-php80/tree/v1.29.0"
+ "source": "https://github.com/symfony/polyfill-php80/tree/v1.30.0"
},
"funding": [
{
@@ -6744,7 +6749,7 @@
"type": "tidelift"
}
],
- "time": "2024-01-29T20:11:03+00:00"
+ "time": "2024-05-31T15:07:36+00:00"
},
{
"name": "symfony/process",
diff --git a/future/includes/class-gv-form-gravityforms.php b/future/includes/class-gv-form-gravityforms.php
index 469f7ce02d..24ce9cfa15 100644
--- a/future/includes/class-gv-form-gravityforms.php
+++ b/future/includes/class-gv-form-gravityforms.php
@@ -128,10 +128,14 @@ function ( $filters, $sorts, $offset ) use ( $form ) {
$paging['offset'] = $offset->offset;
}
- foreach ( \GFAPI::get_entries( $form->ID, $search_criteria, $sorting, $paging ) as $entry ) {
+ $_entries = \GFAPI::get_entries( $form->ID, $search_criteria, $sorting, $paging );
+
+ foreach ( $_entries as $entry ) {
$entries->add( \GV\GF_Entry::from_entry( $entry ) );
}
+ unset( $_entries );
+
return $entries;
}
);
diff --git a/future/includes/class-gv-shortcode-gravityview.php b/future/includes/class-gv-shortcode-gravityview.php
index bc4525165b..7fc74ca013 100644
--- a/future/includes/class-gv-shortcode-gravityview.php
+++ b/future/includes/class-gv-shortcode-gravityview.php
@@ -139,6 +139,13 @@ public function callback( $passed_atts, $content = '', $tag = '' ) {
$view->settings->update( array( 'shortcode_atts' => $atts ) );
$view->settings->update( $atts );
+ /**
+ * Assign all `shortcode_atts` settings to the View so they can be used by layouts and extensions.
+ * @used-by GV_Extension_DataTables_Data::get_datatables_script_configuration()
+ */
+ $view->settings->update( array( 'shortcode_atts' => $atts ) );
+ $view->settings->update( $atts );
+
/**
* Check permissions.
*/
diff --git a/future/includes/class-gv-view.php b/future/includes/class-gv-view.php
index 725233aec7..864a1e4a5d 100644
--- a/future/includes/class-gv-view.php
+++ b/future/includes/class-gv-view.php
@@ -1464,17 +1464,22 @@ private function run_db_query( GF_Query $query ) {
$query_hash = md5( serialize( $query_introspect ) );
- $atts = $this->settings->all();
+ $caching_atts = [
+ 'view_id' => $this->ID ?: null,
+ 'caching' => $this->settings->get( 'caching' ),
+ 'caching_entries' => $this->settings->get( 'caching_entries' ),
+ 'query_hash' => $query_hash,
+ ];
- $atts['query_hash'] = $query_hash;
+ $caching_atts = array_merge( $caching_atts, $this->settings->get( 'caching_atts', [] ) );
- $form_ids = [ $this->form->ID];
+ $form_ids = [ $this->form->ID ];
foreach ( $this->joins as $join ) {
$form_ids[] = $join->join_on->ID;
}
- $long_lived_cache = new GravityView_Cache( $form_ids, $atts );
+ $long_lived_cache = new GravityView_Cache( $form_ids, $caching_atts );
if ( $long_lived_cache->use_cache() ) {
$cached_entries = $long_lived_cache->get();
diff --git a/future/includes/gutenberg/blocks/view/edit.js b/future/includes/gutenberg/blocks/view/edit.js
index 38b88affc7..16095bf4eb 100644
--- a/future/includes/gutenberg/blocks/view/edit.js
+++ b/future/includes/gutenberg/blocks/view/edit.js
@@ -6,6 +6,7 @@ import moment from 'moment';
import DatePicker from 'react-datepicker';
import ViewSelector from 'shared/js/view-selector';
+import SortFieldSelector from 'shared/js/sort-selector';
import PostSelector from 'shared/js/post-selector';
import PreviewControl from 'shared/js/preview-control';
import PreviewAsShortcodeControl from 'shared/js/preview-as-shortcode-control';
@@ -218,12 +219,10 @@ export default function Edit( { attributes, setAttributes, name: blockName } ) {
onChange={ ( pageSize ) => setAttributes( { pageSize } ) }
/>
- setAttributes( { sortField } ) }
+ setAttributes({sortField}) }
+ sortField={sortField}
/>
array('react', 'react-dom', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-i18n', 'wp-url'), 'version' => '126886dd65a95b932b62');
+ array('react', 'react-dom', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-i18n', 'wp-url'), 'version' => 'aaa1f10f009fa63e0765');
diff --git a/future/includes/gutenberg/build/entry-field.css b/future/includes/gutenberg/build/entry-field.css
index 274f24d021..1612f049c8 100644
--- a/future/includes/gutenberg/build/entry-field.css
+++ b/future/includes/gutenberg/build/entry-field.css
@@ -1 +1 @@
-.preview-image{display:block;margin:0 auto}[class*=gk-gravityview-blocks]{text-align:left}[class*=gk-gravityview-blocks] .disabled{opacity:.2!important}[class*=gk-gravityview-blocks] .entry-selector,[class*=gk-gravityview-blocks] .preview-control,[class*=gk-gravityview-blocks] .view-selector{display:inline-block;text-align:left;width:100%}[class*=gk-gravityview-blocks] .view-selector input{-webkit-box-shadow:none!important;box-shadow:none!important;height:auto!important;margin:0!important}[class*=gk-gravityview-blocks] .preview-image{display:block;margin:0 auto 20px}[class*=gk-gravityview-blocks] .block-editor{padding:40px;text-align:center}[class*=gk-gravityview-blocks] .block-editor .entry-selector,[class*=gk-gravityview-blocks] .block-editor .preview-control,[class*=gk-gravityview-blocks] .block-editor .view-selector{width:70%}[class*=gk-gravityview-blocks] .block-editor .preview-control span{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}[class*=gk-gravityview-blocks] .block-preview .loading-state{position:relative}[class*=gk-gravityview-blocks] .block-preview .loading-state.initial{padding:40px}[class*=gk-gravityview-blocks] .block-preview .loading-state .loader{left:-10%;position:absolute;top:5%}[class*=gk-gravityview-blocks] .components-panel .entry-selector:not(.no-entry-input),[class*=gk-gravityview-blocks] .components-panel .view-selector{margin-bottom:24px}[class*=gk-gravityview-blocks] .components-panel .view-selector.edit-view{margin-bottom:12px}[class*=gk-gravityview-blocks] .components-panel .view-selector.edit-view p{margin:10px 0}[class*=gk-gravityview-blocks] .components-panel .entry-selector.minimal-bottom-margin{margin-bottom:12px}[class*=gk-gravityview-blocks] .components-panel .btn-group-double,[class*=gk-gravityview-blocks] .components-panel .btn-group-triple{margin-bottom:24px;width:100%}[class*=gk-gravityview-blocks] .components-panel .btn-group-double .components-button,[class*=gk-gravityview-blocks] .components-panel .btn-group-triple .components-button{-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;justify-content:center}[class*=gk-gravityview-blocks] .components-panel .btn-group-double .components-button{width:50%}[class*=gk-gravityview-blocks] .components-panel .btn-group-triple .components-button{width:33%}[class*=gk-gravityview-blocks] .components-panel .suggestion-list ul{background:#fff;border:1px solid #e6e6e6}[class*=gk-gravityview-blocks] .components-panel .suggestion-list ul li{border-bottom:1px solid #fff;cursor:pointer;line-height:25px;margin:0;padding:10px}[class*=gk-gravityview-blocks] .components-panel .suggestion-list ul li:last-child{border-bottom:0}[class*=gk-gravityview-blocks] .components-panel .suggestion-list ul li:hover{background:var(--wp-admin-theme-color-darker-10);color:#fff}.gravityview-blocks-preview-as-shortcode{margin-bottom:24px}.gravityview-blocks-preview-as-shortcode .disabled{opacity:.2!important}[class*=gk-gravityview-blocks] .field-selector{display:inline-block;text-align:left;width:70%}[class*=gk-gravityview-blocks] .components-panel .field-selector,[class*=gk-gravityview-blocks] .components-panel .first-last-entry-id-notice{margin-bottom:24px}
+.preview-image{display:block;margin:0 auto}[class*=gk-gravityview-blocks]{text-align:left}[class*=gk-gravityview-blocks] .disabled{opacity:.2!important}[class*=gk-gravityview-blocks] .entry-selector,[class*=gk-gravityview-blocks] .preview-control,[class*=gk-gravityview-blocks] .sort-field-selector,[class*=gk-gravityview-blocks] .view-selector{display:inline-block;text-align:left;width:100%}[class*=gk-gravityview-blocks] .sort-field-selector input,[class*=gk-gravityview-blocks] .view-selector input{-webkit-box-shadow:none!important;box-shadow:none!important;height:auto!important;margin:0!important}[class*=gk-gravityview-blocks] .preview-image{display:block;margin:0 auto 20px}[class*=gk-gravityview-blocks] .block-editor{padding:40px;text-align:center}[class*=gk-gravityview-blocks] .block-editor .entry-selector,[class*=gk-gravityview-blocks] .block-editor .preview-control,[class*=gk-gravityview-blocks] .block-editor .sort-field-selector,[class*=gk-gravityview-blocks] .block-editor .view-selector{width:70%}[class*=gk-gravityview-blocks] .block-editor .preview-control span{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}[class*=gk-gravityview-blocks] .block-preview .loading-state{position:relative}[class*=gk-gravityview-blocks] .block-preview .loading-state.initial{padding:40px}[class*=gk-gravityview-blocks] .block-preview .loading-state .loader{left:-10%;position:absolute;top:5%}[class*=gk-gravityview-blocks] .components-panel .entry-selector:not(.no-entry-input),[class*=gk-gravityview-blocks] .components-panel .sort-field-selector,[class*=gk-gravityview-blocks] .components-panel .view-selector{margin-bottom:24px}[class*=gk-gravityview-blocks] .components-panel .view-selector.edit-view{margin-bottom:12px}[class*=gk-gravityview-blocks] .components-panel .view-selector.edit-view p{margin:10px 0}[class*=gk-gravityview-blocks] .components-panel .entry-selector.minimal-bottom-margin{margin-bottom:12px}[class*=gk-gravityview-blocks] .components-panel .btn-group-double,[class*=gk-gravityview-blocks] .components-panel .btn-group-triple{margin-bottom:24px;width:100%}[class*=gk-gravityview-blocks] .components-panel .btn-group-double .components-button,[class*=gk-gravityview-blocks] .components-panel .btn-group-triple .components-button{-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;justify-content:center}[class*=gk-gravityview-blocks] .components-panel .btn-group-double .components-button{width:50%}[class*=gk-gravityview-blocks] .components-panel .btn-group-triple .components-button{width:33%}[class*=gk-gravityview-blocks] .components-panel .suggestion-list ul{background:#fff;border:1px solid #e6e6e6}[class*=gk-gravityview-blocks] .components-panel .suggestion-list ul li{border-bottom:1px solid #fff;cursor:pointer;line-height:25px;margin:0;padding:10px}[class*=gk-gravityview-blocks] .components-panel .suggestion-list ul li:last-child{border-bottom:0}[class*=gk-gravityview-blocks] .components-panel .suggestion-list ul li:hover{background:var(--wp-admin-theme-color-darker-10);color:#fff}.gravityview-blocks-preview-as-shortcode{margin-bottom:24px}.gravityview-blocks-preview-as-shortcode .disabled{opacity:.2!important}[class*=gk-gravityview-blocks] .field-selector{display:inline-block;text-align:left;width:70%}[class*=gk-gravityview-blocks] .components-panel .field-selector,[class*=gk-gravityview-blocks] .components-panel .first-last-entry-id-notice{margin-bottom:24px}
diff --git a/future/includes/gutenberg/build/entry-link.asset.php b/future/includes/gutenberg/build/entry-link.asset.php
index b4f733d8b2..48fb4125b6 100644
--- a/future/includes/gutenberg/build/entry-link.asset.php
+++ b/future/includes/gutenberg/build/entry-link.asset.php
@@ -1 +1 @@
- array('react', 'react-dom', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-i18n', 'wp-url'), 'version' => '87d749db696f0cffb89c');
+ array('react', 'react-dom', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-i18n', 'wp-url'), 'version' => '1a7a07fac96df1f6044e');
diff --git a/future/includes/gutenberg/build/entry-link.css b/future/includes/gutenberg/build/entry-link.css
index c6dcc51444..d648917f87 100644
--- a/future/includes/gutenberg/build/entry-link.css
+++ b/future/includes/gutenberg/build/entry-link.css
@@ -1 +1 @@
-.preview-image{display:block;margin:0 auto}[class*=gk-gravityview-blocks]{text-align:left}[class*=gk-gravityview-blocks] .disabled{opacity:.2!important}[class*=gk-gravityview-blocks] .entry-selector,[class*=gk-gravityview-blocks] .preview-control,[class*=gk-gravityview-blocks] .view-selector{display:inline-block;text-align:left;width:100%}[class*=gk-gravityview-blocks] .view-selector input{-webkit-box-shadow:none!important;box-shadow:none!important;height:auto!important;margin:0!important}[class*=gk-gravityview-blocks] .preview-image{display:block;margin:0 auto 20px}[class*=gk-gravityview-blocks] .block-editor{padding:40px;text-align:center}[class*=gk-gravityview-blocks] .block-editor .entry-selector,[class*=gk-gravityview-blocks] .block-editor .preview-control,[class*=gk-gravityview-blocks] .block-editor .view-selector{width:70%}[class*=gk-gravityview-blocks] .block-editor .preview-control span{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}[class*=gk-gravityview-blocks] .block-preview .loading-state{position:relative}[class*=gk-gravityview-blocks] .block-preview .loading-state.initial{padding:40px}[class*=gk-gravityview-blocks] .block-preview .loading-state .loader{left:-10%;position:absolute;top:5%}[class*=gk-gravityview-blocks] .components-panel .entry-selector:not(.no-entry-input),[class*=gk-gravityview-blocks] .components-panel .view-selector{margin-bottom:24px}[class*=gk-gravityview-blocks] .components-panel .view-selector.edit-view{margin-bottom:12px}[class*=gk-gravityview-blocks] .components-panel .view-selector.edit-view p{margin:10px 0}[class*=gk-gravityview-blocks] .components-panel .entry-selector.minimal-bottom-margin{margin-bottom:12px}[class*=gk-gravityview-blocks] .components-panel .btn-group-double,[class*=gk-gravityview-blocks] .components-panel .btn-group-triple{margin-bottom:24px;width:100%}[class*=gk-gravityview-blocks] .components-panel .btn-group-double .components-button,[class*=gk-gravityview-blocks] .components-panel .btn-group-triple .components-button{-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;justify-content:center}[class*=gk-gravityview-blocks] .components-panel .btn-group-double .components-button{width:50%}[class*=gk-gravityview-blocks] .components-panel .btn-group-triple .components-button{width:33%}[class*=gk-gravityview-blocks] .components-panel .suggestion-list ul{background:#fff;border:1px solid #e6e6e6}[class*=gk-gravityview-blocks] .components-panel .suggestion-list ul li{border-bottom:1px solid #fff;cursor:pointer;line-height:25px;margin:0;padding:10px}[class*=gk-gravityview-blocks] .components-panel .suggestion-list ul li:last-child{border-bottom:0}[class*=gk-gravityview-blocks] .components-panel .suggestion-list ul li:hover{background:var(--wp-admin-theme-color-darker-10);color:#fff}.gravityview-blocks-preview-as-shortcode{margin-bottom:24px}.gravityview-blocks-preview-as-shortcode .disabled{opacity:.2!important}
+.preview-image{display:block;margin:0 auto}[class*=gk-gravityview-blocks]{text-align:left}[class*=gk-gravityview-blocks] .disabled{opacity:.2!important}[class*=gk-gravityview-blocks] .entry-selector,[class*=gk-gravityview-blocks] .preview-control,[class*=gk-gravityview-blocks] .sort-field-selector,[class*=gk-gravityview-blocks] .view-selector{display:inline-block;text-align:left;width:100%}[class*=gk-gravityview-blocks] .sort-field-selector input,[class*=gk-gravityview-blocks] .view-selector input{-webkit-box-shadow:none!important;box-shadow:none!important;height:auto!important;margin:0!important}[class*=gk-gravityview-blocks] .preview-image{display:block;margin:0 auto 20px}[class*=gk-gravityview-blocks] .block-editor{padding:40px;text-align:center}[class*=gk-gravityview-blocks] .block-editor .entry-selector,[class*=gk-gravityview-blocks] .block-editor .preview-control,[class*=gk-gravityview-blocks] .block-editor .sort-field-selector,[class*=gk-gravityview-blocks] .block-editor .view-selector{width:70%}[class*=gk-gravityview-blocks] .block-editor .preview-control span{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}[class*=gk-gravityview-blocks] .block-preview .loading-state{position:relative}[class*=gk-gravityview-blocks] .block-preview .loading-state.initial{padding:40px}[class*=gk-gravityview-blocks] .block-preview .loading-state .loader{left:-10%;position:absolute;top:5%}[class*=gk-gravityview-blocks] .components-panel .entry-selector:not(.no-entry-input),[class*=gk-gravityview-blocks] .components-panel .sort-field-selector,[class*=gk-gravityview-blocks] .components-panel .view-selector{margin-bottom:24px}[class*=gk-gravityview-blocks] .components-panel .view-selector.edit-view{margin-bottom:12px}[class*=gk-gravityview-blocks] .components-panel .view-selector.edit-view p{margin:10px 0}[class*=gk-gravityview-blocks] .components-panel .entry-selector.minimal-bottom-margin{margin-bottom:12px}[class*=gk-gravityview-blocks] .components-panel .btn-group-double,[class*=gk-gravityview-blocks] .components-panel .btn-group-triple{margin-bottom:24px;width:100%}[class*=gk-gravityview-blocks] .components-panel .btn-group-double .components-button,[class*=gk-gravityview-blocks] .components-panel .btn-group-triple .components-button{-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;justify-content:center}[class*=gk-gravityview-blocks] .components-panel .btn-group-double .components-button{width:50%}[class*=gk-gravityview-blocks] .components-panel .btn-group-triple .components-button{width:33%}[class*=gk-gravityview-blocks] .components-panel .suggestion-list ul{background:#fff;border:1px solid #e6e6e6}[class*=gk-gravityview-blocks] .components-panel .suggestion-list ul li{border-bottom:1px solid #fff;cursor:pointer;line-height:25px;margin:0;padding:10px}[class*=gk-gravityview-blocks] .components-panel .suggestion-list ul li:last-child{border-bottom:0}[class*=gk-gravityview-blocks] .components-panel .suggestion-list ul li:hover{background:var(--wp-admin-theme-color-darker-10);color:#fff}.gravityview-blocks-preview-as-shortcode{margin-bottom:24px}.gravityview-blocks-preview-as-shortcode .disabled{opacity:.2!important}
diff --git a/future/includes/gutenberg/build/entry.asset.php b/future/includes/gutenberg/build/entry.asset.php
index d8f0e448d0..63201ec75a 100644
--- a/future/includes/gutenberg/build/entry.asset.php
+++ b/future/includes/gutenberg/build/entry.asset.php
@@ -1 +1 @@
- array('react', 'react-dom', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-i18n', 'wp-url'), 'version' => '49ed214f4662c1c315da');
+ array('react', 'react-dom', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-i18n', 'wp-url'), 'version' => 'c724ecf30d5c7319a3b6');
diff --git a/future/includes/gutenberg/build/entry.css b/future/includes/gutenberg/build/entry.css
index c6dcc51444..d648917f87 100644
--- a/future/includes/gutenberg/build/entry.css
+++ b/future/includes/gutenberg/build/entry.css
@@ -1 +1 @@
-.preview-image{display:block;margin:0 auto}[class*=gk-gravityview-blocks]{text-align:left}[class*=gk-gravityview-blocks] .disabled{opacity:.2!important}[class*=gk-gravityview-blocks] .entry-selector,[class*=gk-gravityview-blocks] .preview-control,[class*=gk-gravityview-blocks] .view-selector{display:inline-block;text-align:left;width:100%}[class*=gk-gravityview-blocks] .view-selector input{-webkit-box-shadow:none!important;box-shadow:none!important;height:auto!important;margin:0!important}[class*=gk-gravityview-blocks] .preview-image{display:block;margin:0 auto 20px}[class*=gk-gravityview-blocks] .block-editor{padding:40px;text-align:center}[class*=gk-gravityview-blocks] .block-editor .entry-selector,[class*=gk-gravityview-blocks] .block-editor .preview-control,[class*=gk-gravityview-blocks] .block-editor .view-selector{width:70%}[class*=gk-gravityview-blocks] .block-editor .preview-control span{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}[class*=gk-gravityview-blocks] .block-preview .loading-state{position:relative}[class*=gk-gravityview-blocks] .block-preview .loading-state.initial{padding:40px}[class*=gk-gravityview-blocks] .block-preview .loading-state .loader{left:-10%;position:absolute;top:5%}[class*=gk-gravityview-blocks] .components-panel .entry-selector:not(.no-entry-input),[class*=gk-gravityview-blocks] .components-panel .view-selector{margin-bottom:24px}[class*=gk-gravityview-blocks] .components-panel .view-selector.edit-view{margin-bottom:12px}[class*=gk-gravityview-blocks] .components-panel .view-selector.edit-view p{margin:10px 0}[class*=gk-gravityview-blocks] .components-panel .entry-selector.minimal-bottom-margin{margin-bottom:12px}[class*=gk-gravityview-blocks] .components-panel .btn-group-double,[class*=gk-gravityview-blocks] .components-panel .btn-group-triple{margin-bottom:24px;width:100%}[class*=gk-gravityview-blocks] .components-panel .btn-group-double .components-button,[class*=gk-gravityview-blocks] .components-panel .btn-group-triple .components-button{-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;justify-content:center}[class*=gk-gravityview-blocks] .components-panel .btn-group-double .components-button{width:50%}[class*=gk-gravityview-blocks] .components-panel .btn-group-triple .components-button{width:33%}[class*=gk-gravityview-blocks] .components-panel .suggestion-list ul{background:#fff;border:1px solid #e6e6e6}[class*=gk-gravityview-blocks] .components-panel .suggestion-list ul li{border-bottom:1px solid #fff;cursor:pointer;line-height:25px;margin:0;padding:10px}[class*=gk-gravityview-blocks] .components-panel .suggestion-list ul li:last-child{border-bottom:0}[class*=gk-gravityview-blocks] .components-panel .suggestion-list ul li:hover{background:var(--wp-admin-theme-color-darker-10);color:#fff}.gravityview-blocks-preview-as-shortcode{margin-bottom:24px}.gravityview-blocks-preview-as-shortcode .disabled{opacity:.2!important}
+.preview-image{display:block;margin:0 auto}[class*=gk-gravityview-blocks]{text-align:left}[class*=gk-gravityview-blocks] .disabled{opacity:.2!important}[class*=gk-gravityview-blocks] .entry-selector,[class*=gk-gravityview-blocks] .preview-control,[class*=gk-gravityview-blocks] .sort-field-selector,[class*=gk-gravityview-blocks] .view-selector{display:inline-block;text-align:left;width:100%}[class*=gk-gravityview-blocks] .sort-field-selector input,[class*=gk-gravityview-blocks] .view-selector input{-webkit-box-shadow:none!important;box-shadow:none!important;height:auto!important;margin:0!important}[class*=gk-gravityview-blocks] .preview-image{display:block;margin:0 auto 20px}[class*=gk-gravityview-blocks] .block-editor{padding:40px;text-align:center}[class*=gk-gravityview-blocks] .block-editor .entry-selector,[class*=gk-gravityview-blocks] .block-editor .preview-control,[class*=gk-gravityview-blocks] .block-editor .sort-field-selector,[class*=gk-gravityview-blocks] .block-editor .view-selector{width:70%}[class*=gk-gravityview-blocks] .block-editor .preview-control span{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}[class*=gk-gravityview-blocks] .block-preview .loading-state{position:relative}[class*=gk-gravityview-blocks] .block-preview .loading-state.initial{padding:40px}[class*=gk-gravityview-blocks] .block-preview .loading-state .loader{left:-10%;position:absolute;top:5%}[class*=gk-gravityview-blocks] .components-panel .entry-selector:not(.no-entry-input),[class*=gk-gravityview-blocks] .components-panel .sort-field-selector,[class*=gk-gravityview-blocks] .components-panel .view-selector{margin-bottom:24px}[class*=gk-gravityview-blocks] .components-panel .view-selector.edit-view{margin-bottom:12px}[class*=gk-gravityview-blocks] .components-panel .view-selector.edit-view p{margin:10px 0}[class*=gk-gravityview-blocks] .components-panel .entry-selector.minimal-bottom-margin{margin-bottom:12px}[class*=gk-gravityview-blocks] .components-panel .btn-group-double,[class*=gk-gravityview-blocks] .components-panel .btn-group-triple{margin-bottom:24px;width:100%}[class*=gk-gravityview-blocks] .components-panel .btn-group-double .components-button,[class*=gk-gravityview-blocks] .components-panel .btn-group-triple .components-button{-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;justify-content:center}[class*=gk-gravityview-blocks] .components-panel .btn-group-double .components-button{width:50%}[class*=gk-gravityview-blocks] .components-panel .btn-group-triple .components-button{width:33%}[class*=gk-gravityview-blocks] .components-panel .suggestion-list ul{background:#fff;border:1px solid #e6e6e6}[class*=gk-gravityview-blocks] .components-panel .suggestion-list ul li{border-bottom:1px solid #fff;cursor:pointer;line-height:25px;margin:0;padding:10px}[class*=gk-gravityview-blocks] .components-panel .suggestion-list ul li:last-child{border-bottom:0}[class*=gk-gravityview-blocks] .components-panel .suggestion-list ul li:hover{background:var(--wp-admin-theme-color-darker-10);color:#fff}.gravityview-blocks-preview-as-shortcode{margin-bottom:24px}.gravityview-blocks-preview-as-shortcode .disabled{opacity:.2!important}
diff --git a/future/includes/gutenberg/build/view-details.asset.php b/future/includes/gutenberg/build/view-details.asset.php
index 26becfa704..7b14017ed9 100644
--- a/future/includes/gutenberg/build/view-details.asset.php
+++ b/future/includes/gutenberg/build/view-details.asset.php
@@ -1 +1 @@
- array('react', 'react-dom', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-i18n', 'wp-url'), 'version' => 'f60c4fef2bf2dbdafd2a');
+ array('react', 'react-dom', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-i18n', 'wp-url'), 'version' => '6bd78ccfc484fc1b9fd1');
diff --git a/future/includes/gutenberg/build/view-details.css b/future/includes/gutenberg/build/view-details.css
index c6dcc51444..d648917f87 100644
--- a/future/includes/gutenberg/build/view-details.css
+++ b/future/includes/gutenberg/build/view-details.css
@@ -1 +1 @@
-.preview-image{display:block;margin:0 auto}[class*=gk-gravityview-blocks]{text-align:left}[class*=gk-gravityview-blocks] .disabled{opacity:.2!important}[class*=gk-gravityview-blocks] .entry-selector,[class*=gk-gravityview-blocks] .preview-control,[class*=gk-gravityview-blocks] .view-selector{display:inline-block;text-align:left;width:100%}[class*=gk-gravityview-blocks] .view-selector input{-webkit-box-shadow:none!important;box-shadow:none!important;height:auto!important;margin:0!important}[class*=gk-gravityview-blocks] .preview-image{display:block;margin:0 auto 20px}[class*=gk-gravityview-blocks] .block-editor{padding:40px;text-align:center}[class*=gk-gravityview-blocks] .block-editor .entry-selector,[class*=gk-gravityview-blocks] .block-editor .preview-control,[class*=gk-gravityview-blocks] .block-editor .view-selector{width:70%}[class*=gk-gravityview-blocks] .block-editor .preview-control span{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}[class*=gk-gravityview-blocks] .block-preview .loading-state{position:relative}[class*=gk-gravityview-blocks] .block-preview .loading-state.initial{padding:40px}[class*=gk-gravityview-blocks] .block-preview .loading-state .loader{left:-10%;position:absolute;top:5%}[class*=gk-gravityview-blocks] .components-panel .entry-selector:not(.no-entry-input),[class*=gk-gravityview-blocks] .components-panel .view-selector{margin-bottom:24px}[class*=gk-gravityview-blocks] .components-panel .view-selector.edit-view{margin-bottom:12px}[class*=gk-gravityview-blocks] .components-panel .view-selector.edit-view p{margin:10px 0}[class*=gk-gravityview-blocks] .components-panel .entry-selector.minimal-bottom-margin{margin-bottom:12px}[class*=gk-gravityview-blocks] .components-panel .btn-group-double,[class*=gk-gravityview-blocks] .components-panel .btn-group-triple{margin-bottom:24px;width:100%}[class*=gk-gravityview-blocks] .components-panel .btn-group-double .components-button,[class*=gk-gravityview-blocks] .components-panel .btn-group-triple .components-button{-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;justify-content:center}[class*=gk-gravityview-blocks] .components-panel .btn-group-double .components-button{width:50%}[class*=gk-gravityview-blocks] .components-panel .btn-group-triple .components-button{width:33%}[class*=gk-gravityview-blocks] .components-panel .suggestion-list ul{background:#fff;border:1px solid #e6e6e6}[class*=gk-gravityview-blocks] .components-panel .suggestion-list ul li{border-bottom:1px solid #fff;cursor:pointer;line-height:25px;margin:0;padding:10px}[class*=gk-gravityview-blocks] .components-panel .suggestion-list ul li:last-child{border-bottom:0}[class*=gk-gravityview-blocks] .components-panel .suggestion-list ul li:hover{background:var(--wp-admin-theme-color-darker-10);color:#fff}.gravityview-blocks-preview-as-shortcode{margin-bottom:24px}.gravityview-blocks-preview-as-shortcode .disabled{opacity:.2!important}
+.preview-image{display:block;margin:0 auto}[class*=gk-gravityview-blocks]{text-align:left}[class*=gk-gravityview-blocks] .disabled{opacity:.2!important}[class*=gk-gravityview-blocks] .entry-selector,[class*=gk-gravityview-blocks] .preview-control,[class*=gk-gravityview-blocks] .sort-field-selector,[class*=gk-gravityview-blocks] .view-selector{display:inline-block;text-align:left;width:100%}[class*=gk-gravityview-blocks] .sort-field-selector input,[class*=gk-gravityview-blocks] .view-selector input{-webkit-box-shadow:none!important;box-shadow:none!important;height:auto!important;margin:0!important}[class*=gk-gravityview-blocks] .preview-image{display:block;margin:0 auto 20px}[class*=gk-gravityview-blocks] .block-editor{padding:40px;text-align:center}[class*=gk-gravityview-blocks] .block-editor .entry-selector,[class*=gk-gravityview-blocks] .block-editor .preview-control,[class*=gk-gravityview-blocks] .block-editor .sort-field-selector,[class*=gk-gravityview-blocks] .block-editor .view-selector{width:70%}[class*=gk-gravityview-blocks] .block-editor .preview-control span{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}[class*=gk-gravityview-blocks] .block-preview .loading-state{position:relative}[class*=gk-gravityview-blocks] .block-preview .loading-state.initial{padding:40px}[class*=gk-gravityview-blocks] .block-preview .loading-state .loader{left:-10%;position:absolute;top:5%}[class*=gk-gravityview-blocks] .components-panel .entry-selector:not(.no-entry-input),[class*=gk-gravityview-blocks] .components-panel .sort-field-selector,[class*=gk-gravityview-blocks] .components-panel .view-selector{margin-bottom:24px}[class*=gk-gravityview-blocks] .components-panel .view-selector.edit-view{margin-bottom:12px}[class*=gk-gravityview-blocks] .components-panel .view-selector.edit-view p{margin:10px 0}[class*=gk-gravityview-blocks] .components-panel .entry-selector.minimal-bottom-margin{margin-bottom:12px}[class*=gk-gravityview-blocks] .components-panel .btn-group-double,[class*=gk-gravityview-blocks] .components-panel .btn-group-triple{margin-bottom:24px;width:100%}[class*=gk-gravityview-blocks] .components-panel .btn-group-double .components-button,[class*=gk-gravityview-blocks] .components-panel .btn-group-triple .components-button{-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;justify-content:center}[class*=gk-gravityview-blocks] .components-panel .btn-group-double .components-button{width:50%}[class*=gk-gravityview-blocks] .components-panel .btn-group-triple .components-button{width:33%}[class*=gk-gravityview-blocks] .components-panel .suggestion-list ul{background:#fff;border:1px solid #e6e6e6}[class*=gk-gravityview-blocks] .components-panel .suggestion-list ul li{border-bottom:1px solid #fff;cursor:pointer;line-height:25px;margin:0;padding:10px}[class*=gk-gravityview-blocks] .components-panel .suggestion-list ul li:last-child{border-bottom:0}[class*=gk-gravityview-blocks] .components-panel .suggestion-list ul li:hover{background:var(--wp-admin-theme-color-darker-10);color:#fff}.gravityview-blocks-preview-as-shortcode{margin-bottom:24px}.gravityview-blocks-preview-as-shortcode .disabled{opacity:.2!important}
diff --git a/future/includes/gutenberg/build/view.asset.php b/future/includes/gutenberg/build/view.asset.php
index 4e8637bff5..728ef8cff7 100644
--- a/future/includes/gutenberg/build/view.asset.php
+++ b/future/includes/gutenberg/build/view.asset.php
@@ -1 +1 @@
- array('moment', 'react', 'react-dom', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-i18n', 'wp-url'), 'version' => '5e18f20feef7b3108f23');
+ array('moment', 'react', 'react-dom', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => 'b2c9319c987610a79a9e');
diff --git a/future/includes/gutenberg/build/view.css b/future/includes/gutenberg/build/view.css
index 05e8222e97..6972bbb8e1 100644
--- a/future/includes/gutenberg/build/view.css
+++ b/future/includes/gutenberg/build/view.css
@@ -1 +1 @@
-.preview-image{display:block;margin:0 auto}[class*=gk-gravityview-blocks]{text-align:left}[class*=gk-gravityview-blocks] .disabled{opacity:.2!important}[class*=gk-gravityview-blocks] .entry-selector,[class*=gk-gravityview-blocks] .preview-control,[class*=gk-gravityview-blocks] .view-selector{display:inline-block;text-align:left;width:100%}[class*=gk-gravityview-blocks] .view-selector input{-webkit-box-shadow:none!important;box-shadow:none!important;height:auto!important;margin:0!important}[class*=gk-gravityview-blocks] .preview-image{display:block;margin:0 auto 20px}[class*=gk-gravityview-blocks] .block-editor{padding:40px;text-align:center}[class*=gk-gravityview-blocks] .block-editor .entry-selector,[class*=gk-gravityview-blocks] .block-editor .preview-control,[class*=gk-gravityview-blocks] .block-editor .view-selector{width:70%}[class*=gk-gravityview-blocks] .block-editor .preview-control span{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}[class*=gk-gravityview-blocks] .block-preview .loading-state{position:relative}[class*=gk-gravityview-blocks] .block-preview .loading-state.initial{padding:40px}[class*=gk-gravityview-blocks] .block-preview .loading-state .loader{left:-10%;position:absolute;top:5%}[class*=gk-gravityview-blocks] .components-panel .entry-selector:not(.no-entry-input),[class*=gk-gravityview-blocks] .components-panel .view-selector{margin-bottom:24px}[class*=gk-gravityview-blocks] .components-panel .view-selector.edit-view{margin-bottom:12px}[class*=gk-gravityview-blocks] .components-panel .view-selector.edit-view p{margin:10px 0}[class*=gk-gravityview-blocks] .components-panel .entry-selector.minimal-bottom-margin{margin-bottom:12px}[class*=gk-gravityview-blocks] .components-panel .btn-group-double,[class*=gk-gravityview-blocks] .components-panel .btn-group-triple{margin-bottom:24px;width:100%}[class*=gk-gravityview-blocks] .components-panel .btn-group-double .components-button,[class*=gk-gravityview-blocks] .components-panel .btn-group-triple .components-button{-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;justify-content:center}[class*=gk-gravityview-blocks] .components-panel .btn-group-double .components-button{width:50%}[class*=gk-gravityview-blocks] .components-panel .btn-group-triple .components-button{width:33%}[class*=gk-gravityview-blocks] .components-panel .suggestion-list ul{background:#fff;border:1px solid #e6e6e6}[class*=gk-gravityview-blocks] .components-panel .suggestion-list ul li{border-bottom:1px solid #fff;cursor:pointer;line-height:25px;margin:0;padding:10px}[class*=gk-gravityview-blocks] .components-panel .suggestion-list ul li:last-child{border-bottom:0}[class*=gk-gravityview-blocks] .components-panel .suggestion-list ul li:hover{background:var(--wp-admin-theme-color-darker-10);color:#fff}.gravityview-blocks-preview-as-shortcode{margin-bottom:24px}.gravityview-blocks-preview-as-shortcode .disabled{opacity:.2!important}.react-datepicker__month-read-view--down-arrow,.react-datepicker__month-year-read-view--down-arrow,.react-datepicker__navigation-icon:before,.react-datepicker__year-read-view--down-arrow{border-color:#ccc;border-style:solid;border-width:3px 3px 0 0;content:"";display:block;height:9px;position:absolute;top:6px;width:9px}.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle,.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle{margin-left:-4px;position:absolute;width:0}.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle:after,.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle:before,.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle:after,.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle:before{border:8px solid rgba(0,0,0,0);-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;content:"";height:0;left:-8px;position:absolute;width:1px;z-index:-1}.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle:before,.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle:before{border-bottom-color:#aeaeae}.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle{margin-top:-8px;top:0}.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle:after,.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle:before{border-bottom-color:#f0f0f0;border-top:none}.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle:after{top:0}.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle:before{border-bottom-color:#aeaeae;top:-1px}.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle{bottom:0;margin-bottom:-8px}.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle:after,.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle:before{border-bottom:none;border-top-color:#fff}.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle:after{bottom:0}.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle:before{border-top-color:#aeaeae;bottom:-1px}.react-datepicker-wrapper{border:0;display:inline-block;padding:0;width:100%}.react-datepicker{background-color:#fff;border:1px solid #aeaeae;border-radius:.3rem;color:#000;display:inline-block;font-family:Helvetica Neue,helvetica,arial,sans-serif;font-size:.8rem;position:relative}.react-datepicker--time-only .react-datepicker__triangle{left:35px}.react-datepicker--time-only .react-datepicker__time-container{border-left:0}.react-datepicker--time-only .react-datepicker__time,.react-datepicker--time-only .react-datepicker__time-box{border-bottom-left-radius:.3rem;border-bottom-right-radius:.3rem}.react-datepicker__triangle{left:50px;position:absolute}.react-datepicker-popper{z-index:1}.react-datepicker-popper[data-placement^=bottom]{padding-top:10px}.react-datepicker-popper[data-placement=bottom-end] .react-datepicker__triangle,.react-datepicker-popper[data-placement=top-end] .react-datepicker__triangle{left:auto;right:50px}.react-datepicker-popper[data-placement^=top]{padding-bottom:10px}.react-datepicker-popper[data-placement^=right]{padding-left:8px}.react-datepicker-popper[data-placement^=right] .react-datepicker__triangle{left:auto;right:42px}.react-datepicker-popper[data-placement^=left]{padding-right:8px}.react-datepicker-popper[data-placement^=left] .react-datepicker__triangle{left:42px;right:auto}.react-datepicker__header{background-color:#f0f0f0;border-bottom:1px solid #aeaeae;border-top-left-radius:.3rem;padding:8px 0;position:relative;text-align:center}.react-datepicker__header--time{padding-bottom:8px;padding-left:5px;padding-right:5px}.react-datepicker__header--time:not(.react-datepicker__header--time--only){border-top-left-radius:0}.react-datepicker__header:not(.react-datepicker__header--has-time-select){border-top-right-radius:.3rem}.react-datepicker__month-dropdown-container--scroll,.react-datepicker__month-dropdown-container--select,.react-datepicker__month-year-dropdown-container--scroll,.react-datepicker__month-year-dropdown-container--select,.react-datepicker__year-dropdown-container--scroll,.react-datepicker__year-dropdown-container--select{display:inline-block;margin:0 2px}.react-datepicker-time__header,.react-datepicker-year-header,.react-datepicker__current-month{color:#000;font-size:.944rem;font-weight:700;margin-top:0}.react-datepicker-time__header{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.react-datepicker__navigation{-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;background:none;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;border:none;cursor:pointer;height:32px;justify-content:center;overflow:hidden;padding:0;position:absolute;text-align:center;text-indent:-999em;top:2px;width:32px;z-index:1}.react-datepicker__navigation--previous{left:2px}.react-datepicker__navigation--next{right:2px}.react-datepicker__navigation--next--with-time:not(.react-datepicker__navigation--next--with-today-button){right:85px}.react-datepicker__navigation--years{display:block;margin-left:auto;margin-right:auto;position:relative;top:0}.react-datepicker__navigation--years-previous{top:4px}.react-datepicker__navigation--years-upcoming{top:-4px}.react-datepicker__navigation:hover :before{border-color:#a6a6a6}.react-datepicker__navigation-icon{font-size:20px;position:relative;top:-1px;width:0}.react-datepicker__navigation-icon--next{left:-2px}.react-datepicker__navigation-icon--next:before{left:-7px;-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.react-datepicker__navigation-icon--previous{right:-2px}.react-datepicker__navigation-icon--previous:before{right:-7px;-webkit-transform:rotate(225deg);-moz-transform:rotate(225deg);-ms-transform:rotate(225deg);transform:rotate(225deg)}.react-datepicker__month-container{float:left}.react-datepicker__year{margin:.4rem;text-align:center}.react-datepicker__year-wrapper{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap;max-width:180px}.react-datepicker__year .react-datepicker__year-text{display:inline-block;margin:2px;width:4rem}.react-datepicker__month{margin:.4rem;text-align:center}.react-datepicker__month .react-datepicker__month-text,.react-datepicker__month .react-datepicker__quarter-text{display:inline-block;margin:2px;width:4rem}.react-datepicker__input-time-container{clear:both;float:left;margin:5px 0 10px 15px;text-align:left;width:100%}.react-datepicker__input-time-container .react-datepicker-time__caption,.react-datepicker__input-time-container .react-datepicker-time__input-container{display:inline-block}.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input{display:inline-block;margin-left:10px}.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input{width:auto}.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input[type=time]::-webkit-inner-spin-button,.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input[type=time]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input[type=time]{-moz-appearance:textfield}.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__delimiter{display:inline-block;margin-left:5px}.react-datepicker__time-container{border-left:1px solid #aeaeae;float:right;width:85px}.react-datepicker__time-container--with-today-button{border:1px solid #aeaeae;border-radius:.3rem;display:inline;position:absolute;right:-72px;top:0}.react-datepicker__time-container .react-datepicker__time{background:#fff;border-bottom-right-radius:.3rem;position:relative}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box{border-bottom-right-radius:.3rem;margin:0 auto;overflow-x:hidden;text-align:center;width:85px}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;height:-webkit-calc(195px + .85rem);height:-moz-calc(195px + .85rem);height:calc(195px + .85rem);list-style:none;margin:0;overflow-y:scroll;padding-left:0;padding-right:0;width:100%}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item{height:30px;padding:5px 10px;white-space:nowrap}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item:hover{background-color:#f0f0f0;cursor:pointer}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--selected{background-color:#216ba5;color:#fff;font-weight:700}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--selected:hover{background-color:#216ba5}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--disabled{color:#ccc}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--disabled:hover{background-color:rgba(0,0,0,0);cursor:default}.react-datepicker__week-number{color:#ccc;display:inline-block;line-height:1.7rem;margin:.166rem;text-align:center;width:1.7rem}.react-datepicker__week-number.react-datepicker__week-number--clickable{cursor:pointer}.react-datepicker__week-number.react-datepicker__week-number--clickable:hover{background-color:#f0f0f0;border-radius:.3rem}.react-datepicker__day-names,.react-datepicker__week{white-space:nowrap}.react-datepicker__day-names{margin-bottom:-8px}.react-datepicker__day,.react-datepicker__day-name,.react-datepicker__time-name{color:#000;display:inline-block;line-height:1.7rem;margin:.166rem;text-align:center;width:1.7rem}.react-datepicker__month--in-range,.react-datepicker__month--in-selecting-range,.react-datepicker__month--selected,.react-datepicker__quarter--in-range,.react-datepicker__quarter--in-selecting-range,.react-datepicker__quarter--selected{background-color:#216ba5;border-radius:.3rem;color:#fff}.react-datepicker__month--in-range:hover,.react-datepicker__month--in-selecting-range:hover,.react-datepicker__month--selected:hover,.react-datepicker__quarter--in-range:hover,.react-datepicker__quarter--in-selecting-range:hover,.react-datepicker__quarter--selected:hover{background-color:#1d5d90}.react-datepicker__month--disabled,.react-datepicker__quarter--disabled{color:#ccc;pointer-events:none}.react-datepicker__month--disabled:hover,.react-datepicker__quarter--disabled:hover{background-color:rgba(0,0,0,0);cursor:default}.react-datepicker__day,.react-datepicker__month-text,.react-datepicker__quarter-text,.react-datepicker__year-text{cursor:pointer}.react-datepicker__day:hover,.react-datepicker__month-text:hover,.react-datepicker__quarter-text:hover,.react-datepicker__year-text:hover{background-color:#f0f0f0;border-radius:.3rem}.react-datepicker__day--today,.react-datepicker__month-text--today,.react-datepicker__quarter-text--today,.react-datepicker__year-text--today{font-weight:700}.react-datepicker__day--highlighted,.react-datepicker__month-text--highlighted,.react-datepicker__quarter-text--highlighted,.react-datepicker__year-text--highlighted{background-color:#3dcc4a;border-radius:.3rem;color:#fff}.react-datepicker__day--highlighted:hover,.react-datepicker__month-text--highlighted:hover,.react-datepicker__quarter-text--highlighted:hover,.react-datepicker__year-text--highlighted:hover{background-color:#32be3f}.react-datepicker__day--highlighted-custom-1,.react-datepicker__month-text--highlighted-custom-1,.react-datepicker__quarter-text--highlighted-custom-1,.react-datepicker__year-text--highlighted-custom-1{color:#f0f}.react-datepicker__day--highlighted-custom-2,.react-datepicker__month-text--highlighted-custom-2,.react-datepicker__quarter-text--highlighted-custom-2,.react-datepicker__year-text--highlighted-custom-2{color:green}.react-datepicker__day--in-range,.react-datepicker__day--in-selecting-range,.react-datepicker__day--selected,.react-datepicker__month-text--in-range,.react-datepicker__month-text--in-selecting-range,.react-datepicker__month-text--selected,.react-datepicker__quarter-text--in-range,.react-datepicker__quarter-text--in-selecting-range,.react-datepicker__quarter-text--selected,.react-datepicker__year-text--in-range,.react-datepicker__year-text--in-selecting-range,.react-datepicker__year-text--selected{background-color:#216ba5;border-radius:.3rem;color:#fff}.react-datepicker__day--in-range:hover,.react-datepicker__day--in-selecting-range:hover,.react-datepicker__day--selected:hover,.react-datepicker__month-text--in-range:hover,.react-datepicker__month-text--in-selecting-range:hover,.react-datepicker__month-text--selected:hover,.react-datepicker__quarter-text--in-range:hover,.react-datepicker__quarter-text--in-selecting-range:hover,.react-datepicker__quarter-text--selected:hover,.react-datepicker__year-text--in-range:hover,.react-datepicker__year-text--in-selecting-range:hover,.react-datepicker__year-text--selected:hover{background-color:#1d5d90}.react-datepicker__day--keyboard-selected,.react-datepicker__month-text--keyboard-selected,.react-datepicker__quarter-text--keyboard-selected,.react-datepicker__year-text--keyboard-selected{background-color:#2579ba;border-radius:.3rem;color:#fff}.react-datepicker__day--keyboard-selected:hover,.react-datepicker__month-text--keyboard-selected:hover,.react-datepicker__quarter-text--keyboard-selected:hover,.react-datepicker__year-text--keyboard-selected:hover{background-color:#1d5d90}.react-datepicker__day--in-selecting-range:not(.react-datepicker__day--in-range,.react-datepicker__month-text--in-range,.react-datepicker__quarter-text--in-range,.react-datepicker__year-text--in-range),.react-datepicker__month-text--in-selecting-range:not(.react-datepicker__day--in-range,.react-datepicker__month-text--in-range,.react-datepicker__quarter-text--in-range,.react-datepicker__year-text--in-range),.react-datepicker__quarter-text--in-selecting-range:not(.react-datepicker__day--in-range,.react-datepicker__month-text--in-range,.react-datepicker__quarter-text--in-range,.react-datepicker__year-text--in-range),.react-datepicker__year-text--in-selecting-range:not(.react-datepicker__day--in-range,.react-datepicker__month-text--in-range,.react-datepicker__quarter-text--in-range,.react-datepicker__year-text--in-range){background-color:rgba(33,107,165,.5)}.react-datepicker__month--selecting-range .react-datepicker__day--in-range:not(.react-datepicker__day--in-selecting-range,.react-datepicker__month-text--in-selecting-range,.react-datepicker__quarter-text--in-selecting-range,.react-datepicker__year-text--in-selecting-range),.react-datepicker__month--selecting-range .react-datepicker__month-text--in-range:not(.react-datepicker__day--in-selecting-range,.react-datepicker__month-text--in-selecting-range,.react-datepicker__quarter-text--in-selecting-range,.react-datepicker__year-text--in-selecting-range),.react-datepicker__month--selecting-range .react-datepicker__quarter-text--in-range:not(.react-datepicker__day--in-selecting-range,.react-datepicker__month-text--in-selecting-range,.react-datepicker__quarter-text--in-selecting-range,.react-datepicker__year-text--in-selecting-range),.react-datepicker__month--selecting-range .react-datepicker__year-text--in-range:not(.react-datepicker__day--in-selecting-range,.react-datepicker__month-text--in-selecting-range,.react-datepicker__quarter-text--in-selecting-range,.react-datepicker__year-text--in-selecting-range){background-color:#f0f0f0;color:#000}.react-datepicker__day--disabled,.react-datepicker__month-text--disabled,.react-datepicker__quarter-text--disabled,.react-datepicker__year-text--disabled{color:#ccc;cursor:default}.react-datepicker__day--disabled:hover,.react-datepicker__month-text--disabled:hover,.react-datepicker__quarter-text--disabled:hover,.react-datepicker__year-text--disabled:hover{background-color:rgba(0,0,0,0)}.react-datepicker__month-text.react-datepicker__month--in-range:hover,.react-datepicker__month-text.react-datepicker__month--selected:hover,.react-datepicker__month-text.react-datepicker__quarter--in-range:hover,.react-datepicker__month-text.react-datepicker__quarter--selected:hover,.react-datepicker__quarter-text.react-datepicker__month--in-range:hover,.react-datepicker__quarter-text.react-datepicker__month--selected:hover,.react-datepicker__quarter-text.react-datepicker__quarter--in-range:hover,.react-datepicker__quarter-text.react-datepicker__quarter--selected:hover{background-color:#216ba5}.react-datepicker__month-text:hover,.react-datepicker__quarter-text:hover{background-color:#f0f0f0}.react-datepicker__input-container{display:inline-block;position:relative;width:100%}.react-datepicker__month-read-view,.react-datepicker__month-year-read-view,.react-datepicker__year-read-view{border:1px solid rgba(0,0,0,0);border-radius:.3rem;position:relative}.react-datepicker__month-read-view:hover,.react-datepicker__month-year-read-view:hover,.react-datepicker__year-read-view:hover{cursor:pointer}.react-datepicker__month-read-view:hover .react-datepicker__month-read-view--down-arrow,.react-datepicker__month-read-view:hover .react-datepicker__year-read-view--down-arrow,.react-datepicker__month-year-read-view:hover .react-datepicker__month-read-view--down-arrow,.react-datepicker__month-year-read-view:hover .react-datepicker__year-read-view--down-arrow,.react-datepicker__year-read-view:hover .react-datepicker__month-read-view--down-arrow,.react-datepicker__year-read-view:hover .react-datepicker__year-read-view--down-arrow{border-top-color:#b3b3b3}.react-datepicker__month-read-view--down-arrow,.react-datepicker__month-year-read-view--down-arrow,.react-datepicker__year-read-view--down-arrow{right:-16px;top:0;-webkit-transform:rotate(135deg);-moz-transform:rotate(135deg);-ms-transform:rotate(135deg);transform:rotate(135deg)}.react-datepicker__month-dropdown,.react-datepicker__month-year-dropdown,.react-datepicker__year-dropdown{background-color:#f0f0f0;border:1px solid #aeaeae;border-radius:.3rem;left:25%;position:absolute;text-align:center;top:30px;width:50%;z-index:1}.react-datepicker__month-dropdown:hover,.react-datepicker__month-year-dropdown:hover,.react-datepicker__year-dropdown:hover{cursor:pointer}.react-datepicker__month-dropdown--scrollable,.react-datepicker__month-year-dropdown--scrollable,.react-datepicker__year-dropdown--scrollable{height:150px;overflow-y:scroll}.react-datepicker__month-option,.react-datepicker__month-year-option,.react-datepicker__year-option{display:block;line-height:20px;margin-left:auto;margin-right:auto;width:100%}.react-datepicker__month-option:first-of-type,.react-datepicker__month-year-option:first-of-type,.react-datepicker__year-option:first-of-type{border-top-left-radius:.3rem;border-top-right-radius:.3rem}.react-datepicker__month-option:last-of-type,.react-datepicker__month-year-option:last-of-type,.react-datepicker__year-option:last-of-type{border-bottom-left-radius:.3rem;border-bottom-right-radius:.3rem;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.react-datepicker__month-option:hover,.react-datepicker__month-year-option:hover,.react-datepicker__year-option:hover{background-color:#ccc}.react-datepicker__month-option:hover .react-datepicker__navigation--years-upcoming,.react-datepicker__month-year-option:hover .react-datepicker__navigation--years-upcoming,.react-datepicker__year-option:hover .react-datepicker__navigation--years-upcoming{border-bottom-color:#b3b3b3}.react-datepicker__month-option:hover .react-datepicker__navigation--years-previous,.react-datepicker__month-year-option:hover .react-datepicker__navigation--years-previous,.react-datepicker__year-option:hover .react-datepicker__navigation--years-previous{border-top-color:#b3b3b3}.react-datepicker__month-option--selected,.react-datepicker__month-year-option--selected,.react-datepicker__year-option--selected{left:15px;position:absolute}.react-datepicker__close-icon{background-color:rgba(0,0,0,0);border:0;cursor:pointer;display:table-cell;height:100%;outline:0;padding:0 6px 0 0;position:absolute;right:0;top:0;vertical-align:middle}.react-datepicker__close-icon:after{background-color:#216ba5;border-radius:50%;color:#fff;content:"×";cursor:pointer;display:table-cell;font-size:12px;height:16px;line-height:1;padding:2px;text-align:center;vertical-align:middle;width:16px}.react-datepicker__today-button{background:#f0f0f0;border-top:1px solid #aeaeae;clear:left;cursor:pointer;font-weight:700;padding:5px 0;text-align:center}.react-datepicker__portal{background-color:rgba(0,0,0,.8);height:100vh;left:0;position:fixed;top:0;width:100vw;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;z-index:2147483647}.react-datepicker__portal .react-datepicker__day,.react-datepicker__portal .react-datepicker__day-name,.react-datepicker__portal .react-datepicker__time-name{line-height:3rem;width:3rem}@media(max-height:550px),(max-width:400px){.react-datepicker__portal .react-datepicker__day,.react-datepicker__portal .react-datepicker__day-name,.react-datepicker__portal .react-datepicker__time-name{line-height:2rem;width:2rem}}.react-datepicker__portal .react-datepicker-time__header,.react-datepicker__portal .react-datepicker__current-month{font-size:1.44rem}.react-datepicker-popper{z-index:1000}.react-datepicker-wrapper,.react-datepicker-wrapper .react-datepicker__input-container{display:block}.react-datepicker-wrapper .react-datepicker__input-container input{display:block;width:100%}.gv-map-canvas{background-color:#b4b9be;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:200px!important;width:100%!important;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.gv-map-canvas svg{height:40px;width:40px}.gv-map-canvas p{font-size:1rem}.gv-datatables{height:200px;text-align:center}.gv-datatables tbody{background-color:#b4b9be;font-size:1rem}
+.preview-image{display:block;margin:0 auto}[class*=gk-gravityview-blocks]{text-align:left}[class*=gk-gravityview-blocks] .disabled{opacity:.2!important}[class*=gk-gravityview-blocks] .entry-selector,[class*=gk-gravityview-blocks] .preview-control,[class*=gk-gravityview-blocks] .sort-field-selector,[class*=gk-gravityview-blocks] .view-selector{display:inline-block;text-align:left;width:100%}[class*=gk-gravityview-blocks] .sort-field-selector input,[class*=gk-gravityview-blocks] .view-selector input{-webkit-box-shadow:none!important;box-shadow:none!important;height:auto!important;margin:0!important}[class*=gk-gravityview-blocks] .preview-image{display:block;margin:0 auto 20px}[class*=gk-gravityview-blocks] .block-editor{padding:40px;text-align:center}[class*=gk-gravityview-blocks] .block-editor .entry-selector,[class*=gk-gravityview-blocks] .block-editor .preview-control,[class*=gk-gravityview-blocks] .block-editor .sort-field-selector,[class*=gk-gravityview-blocks] .block-editor .view-selector{width:70%}[class*=gk-gravityview-blocks] .block-editor .preview-control span{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex}[class*=gk-gravityview-blocks] .block-preview .loading-state{position:relative}[class*=gk-gravityview-blocks] .block-preview .loading-state.initial{padding:40px}[class*=gk-gravityview-blocks] .block-preview .loading-state .loader{left:-10%;position:absolute;top:5%}[class*=gk-gravityview-blocks] .components-panel .entry-selector:not(.no-entry-input),[class*=gk-gravityview-blocks] .components-panel .sort-field-selector,[class*=gk-gravityview-blocks] .components-panel .view-selector{margin-bottom:24px}[class*=gk-gravityview-blocks] .components-panel .view-selector.edit-view{margin-bottom:12px}[class*=gk-gravityview-blocks] .components-panel .view-selector.edit-view p{margin:10px 0}[class*=gk-gravityview-blocks] .components-panel .entry-selector.minimal-bottom-margin{margin-bottom:12px}[class*=gk-gravityview-blocks] .components-panel .btn-group-double,[class*=gk-gravityview-blocks] .components-panel .btn-group-triple{margin-bottom:24px;width:100%}[class*=gk-gravityview-blocks] .components-panel .btn-group-double .components-button,[class*=gk-gravityview-blocks] .components-panel .btn-group-triple .components-button{-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;justify-content:center}[class*=gk-gravityview-blocks] .components-panel .btn-group-double .components-button{width:50%}[class*=gk-gravityview-blocks] .components-panel .btn-group-triple .components-button{width:33%}[class*=gk-gravityview-blocks] .components-panel .suggestion-list ul{background:#fff;border:1px solid #e6e6e6}[class*=gk-gravityview-blocks] .components-panel .suggestion-list ul li{border-bottom:1px solid #fff;cursor:pointer;line-height:25px;margin:0;padding:10px}[class*=gk-gravityview-blocks] .components-panel .suggestion-list ul li:last-child{border-bottom:0}[class*=gk-gravityview-blocks] .components-panel .suggestion-list ul li:hover{background:var(--wp-admin-theme-color-darker-10);color:#fff}.gravityview-blocks-preview-as-shortcode{margin-bottom:24px}.gravityview-blocks-preview-as-shortcode .disabled{opacity:.2!important}.react-datepicker__month-read-view--down-arrow,.react-datepicker__month-year-read-view--down-arrow,.react-datepicker__navigation-icon:before,.react-datepicker__year-read-view--down-arrow{border-color:#ccc;border-style:solid;border-width:3px 3px 0 0;content:"";display:block;height:9px;position:absolute;top:6px;width:9px}.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle,.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle{margin-left:-4px;position:absolute;width:0}.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle:after,.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle:before,.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle:after,.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle:before{border:8px solid rgba(0,0,0,0);-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;content:"";height:0;left:-8px;position:absolute;width:1px;z-index:-1}.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle:before,.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle:before{border-bottom-color:#aeaeae}.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle{margin-top:-8px;top:0}.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle:after,.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle:before{border-bottom-color:#f0f0f0;border-top:none}.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle:after{top:0}.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle:before{border-bottom-color:#aeaeae;top:-1px}.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle{bottom:0;margin-bottom:-8px}.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle:after,.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle:before{border-bottom:none;border-top-color:#fff}.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle:after{bottom:0}.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle:before{border-top-color:#aeaeae;bottom:-1px}.react-datepicker-wrapper{border:0;display:inline-block;padding:0;width:100%}.react-datepicker{background-color:#fff;border:1px solid #aeaeae;border-radius:.3rem;color:#000;display:inline-block;font-family:Helvetica Neue,helvetica,arial,sans-serif;font-size:.8rem;position:relative}.react-datepicker--time-only .react-datepicker__triangle{left:35px}.react-datepicker--time-only .react-datepicker__time-container{border-left:0}.react-datepicker--time-only .react-datepicker__time,.react-datepicker--time-only .react-datepicker__time-box{border-bottom-left-radius:.3rem;border-bottom-right-radius:.3rem}.react-datepicker__triangle{left:50px;position:absolute}.react-datepicker-popper{z-index:1}.react-datepicker-popper[data-placement^=bottom]{padding-top:10px}.react-datepicker-popper[data-placement=bottom-end] .react-datepicker__triangle,.react-datepicker-popper[data-placement=top-end] .react-datepicker__triangle{left:auto;right:50px}.react-datepicker-popper[data-placement^=top]{padding-bottom:10px}.react-datepicker-popper[data-placement^=right]{padding-left:8px}.react-datepicker-popper[data-placement^=right] .react-datepicker__triangle{left:auto;right:42px}.react-datepicker-popper[data-placement^=left]{padding-right:8px}.react-datepicker-popper[data-placement^=left] .react-datepicker__triangle{left:42px;right:auto}.react-datepicker__header{background-color:#f0f0f0;border-bottom:1px solid #aeaeae;border-top-left-radius:.3rem;padding:8px 0;position:relative;text-align:center}.react-datepicker__header--time{padding-bottom:8px;padding-left:5px;padding-right:5px}.react-datepicker__header--time:not(.react-datepicker__header--time--only){border-top-left-radius:0}.react-datepicker__header:not(.react-datepicker__header--has-time-select){border-top-right-radius:.3rem}.react-datepicker__month-dropdown-container--scroll,.react-datepicker__month-dropdown-container--select,.react-datepicker__month-year-dropdown-container--scroll,.react-datepicker__month-year-dropdown-container--select,.react-datepicker__year-dropdown-container--scroll,.react-datepicker__year-dropdown-container--select{display:inline-block;margin:0 2px}.react-datepicker-time__header,.react-datepicker-year-header,.react-datepicker__current-month{color:#000;font-size:.944rem;font-weight:700;margin-top:0}.react-datepicker-time__header{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.react-datepicker__navigation{-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;background:none;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;border:none;cursor:pointer;height:32px;justify-content:center;overflow:hidden;padding:0;position:absolute;text-align:center;text-indent:-999em;top:2px;width:32px;z-index:1}.react-datepicker__navigation--previous{left:2px}.react-datepicker__navigation--next{right:2px}.react-datepicker__navigation--next--with-time:not(.react-datepicker__navigation--next--with-today-button){right:85px}.react-datepicker__navigation--years{display:block;margin-left:auto;margin-right:auto;position:relative;top:0}.react-datepicker__navigation--years-previous{top:4px}.react-datepicker__navigation--years-upcoming{top:-4px}.react-datepicker__navigation:hover :before{border-color:#a6a6a6}.react-datepicker__navigation-icon{font-size:20px;position:relative;top:-1px;width:0}.react-datepicker__navigation-icon--next{left:-2px}.react-datepicker__navigation-icon--next:before{left:-7px;-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.react-datepicker__navigation-icon--previous{right:-2px}.react-datepicker__navigation-icon--previous:before{right:-7px;-webkit-transform:rotate(225deg);-moz-transform:rotate(225deg);-ms-transform:rotate(225deg);transform:rotate(225deg)}.react-datepicker__month-container{float:left}.react-datepicker__year{margin:.4rem;text-align:center}.react-datepicker__year-wrapper{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap;max-width:180px}.react-datepicker__year .react-datepicker__year-text{display:inline-block;margin:2px;width:4rem}.react-datepicker__month{margin:.4rem;text-align:center}.react-datepicker__month .react-datepicker__month-text,.react-datepicker__month .react-datepicker__quarter-text{display:inline-block;margin:2px;width:4rem}.react-datepicker__input-time-container{clear:both;float:left;margin:5px 0 10px 15px;text-align:left;width:100%}.react-datepicker__input-time-container .react-datepicker-time__caption,.react-datepicker__input-time-container .react-datepicker-time__input-container{display:inline-block}.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input{display:inline-block;margin-left:10px}.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input{width:auto}.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input[type=time]::-webkit-inner-spin-button,.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input[type=time]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input[type=time]{-moz-appearance:textfield}.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__delimiter{display:inline-block;margin-left:5px}.react-datepicker__time-container{border-left:1px solid #aeaeae;float:right;width:85px}.react-datepicker__time-container--with-today-button{border:1px solid #aeaeae;border-radius:.3rem;display:inline;position:absolute;right:-72px;top:0}.react-datepicker__time-container .react-datepicker__time{background:#fff;border-bottom-right-radius:.3rem;position:relative}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box{border-bottom-right-radius:.3rem;margin:0 auto;overflow-x:hidden;text-align:center;width:85px}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;height:-webkit-calc(195px + .85rem);height:-moz-calc(195px + .85rem);height:calc(195px + .85rem);list-style:none;margin:0;overflow-y:scroll;padding-left:0;padding-right:0;width:100%}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item{height:30px;padding:5px 10px;white-space:nowrap}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item:hover{background-color:#f0f0f0;cursor:pointer}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--selected{background-color:#216ba5;color:#fff;font-weight:700}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--selected:hover{background-color:#216ba5}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--disabled{color:#ccc}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--disabled:hover{background-color:rgba(0,0,0,0);cursor:default}.react-datepicker__week-number{color:#ccc;display:inline-block;line-height:1.7rem;margin:.166rem;text-align:center;width:1.7rem}.react-datepicker__week-number.react-datepicker__week-number--clickable{cursor:pointer}.react-datepicker__week-number.react-datepicker__week-number--clickable:hover{background-color:#f0f0f0;border-radius:.3rem}.react-datepicker__day-names,.react-datepicker__week{white-space:nowrap}.react-datepicker__day-names{margin-bottom:-8px}.react-datepicker__day,.react-datepicker__day-name,.react-datepicker__time-name{color:#000;display:inline-block;line-height:1.7rem;margin:.166rem;text-align:center;width:1.7rem}.react-datepicker__month--in-range,.react-datepicker__month--in-selecting-range,.react-datepicker__month--selected,.react-datepicker__quarter--in-range,.react-datepicker__quarter--in-selecting-range,.react-datepicker__quarter--selected{background-color:#216ba5;border-radius:.3rem;color:#fff}.react-datepicker__month--in-range:hover,.react-datepicker__month--in-selecting-range:hover,.react-datepicker__month--selected:hover,.react-datepicker__quarter--in-range:hover,.react-datepicker__quarter--in-selecting-range:hover,.react-datepicker__quarter--selected:hover{background-color:#1d5d90}.react-datepicker__month--disabled,.react-datepicker__quarter--disabled{color:#ccc;pointer-events:none}.react-datepicker__month--disabled:hover,.react-datepicker__quarter--disabled:hover{background-color:rgba(0,0,0,0);cursor:default}.react-datepicker__day,.react-datepicker__month-text,.react-datepicker__quarter-text,.react-datepicker__year-text{cursor:pointer}.react-datepicker__day:hover,.react-datepicker__month-text:hover,.react-datepicker__quarter-text:hover,.react-datepicker__year-text:hover{background-color:#f0f0f0;border-radius:.3rem}.react-datepicker__day--today,.react-datepicker__month-text--today,.react-datepicker__quarter-text--today,.react-datepicker__year-text--today{font-weight:700}.react-datepicker__day--highlighted,.react-datepicker__month-text--highlighted,.react-datepicker__quarter-text--highlighted,.react-datepicker__year-text--highlighted{background-color:#3dcc4a;border-radius:.3rem;color:#fff}.react-datepicker__day--highlighted:hover,.react-datepicker__month-text--highlighted:hover,.react-datepicker__quarter-text--highlighted:hover,.react-datepicker__year-text--highlighted:hover{background-color:#32be3f}.react-datepicker__day--highlighted-custom-1,.react-datepicker__month-text--highlighted-custom-1,.react-datepicker__quarter-text--highlighted-custom-1,.react-datepicker__year-text--highlighted-custom-1{color:#f0f}.react-datepicker__day--highlighted-custom-2,.react-datepicker__month-text--highlighted-custom-2,.react-datepicker__quarter-text--highlighted-custom-2,.react-datepicker__year-text--highlighted-custom-2{color:green}.react-datepicker__day--in-range,.react-datepicker__day--in-selecting-range,.react-datepicker__day--selected,.react-datepicker__month-text--in-range,.react-datepicker__month-text--in-selecting-range,.react-datepicker__month-text--selected,.react-datepicker__quarter-text--in-range,.react-datepicker__quarter-text--in-selecting-range,.react-datepicker__quarter-text--selected,.react-datepicker__year-text--in-range,.react-datepicker__year-text--in-selecting-range,.react-datepicker__year-text--selected{background-color:#216ba5;border-radius:.3rem;color:#fff}.react-datepicker__day--in-range:hover,.react-datepicker__day--in-selecting-range:hover,.react-datepicker__day--selected:hover,.react-datepicker__month-text--in-range:hover,.react-datepicker__month-text--in-selecting-range:hover,.react-datepicker__month-text--selected:hover,.react-datepicker__quarter-text--in-range:hover,.react-datepicker__quarter-text--in-selecting-range:hover,.react-datepicker__quarter-text--selected:hover,.react-datepicker__year-text--in-range:hover,.react-datepicker__year-text--in-selecting-range:hover,.react-datepicker__year-text--selected:hover{background-color:#1d5d90}.react-datepicker__day--keyboard-selected,.react-datepicker__month-text--keyboard-selected,.react-datepicker__quarter-text--keyboard-selected,.react-datepicker__year-text--keyboard-selected{background-color:#2579ba;border-radius:.3rem;color:#fff}.react-datepicker__day--keyboard-selected:hover,.react-datepicker__month-text--keyboard-selected:hover,.react-datepicker__quarter-text--keyboard-selected:hover,.react-datepicker__year-text--keyboard-selected:hover{background-color:#1d5d90}.react-datepicker__day--in-selecting-range:not(.react-datepicker__day--in-range,.react-datepicker__month-text--in-range,.react-datepicker__quarter-text--in-range,.react-datepicker__year-text--in-range),.react-datepicker__month-text--in-selecting-range:not(.react-datepicker__day--in-range,.react-datepicker__month-text--in-range,.react-datepicker__quarter-text--in-range,.react-datepicker__year-text--in-range),.react-datepicker__quarter-text--in-selecting-range:not(.react-datepicker__day--in-range,.react-datepicker__month-text--in-range,.react-datepicker__quarter-text--in-range,.react-datepicker__year-text--in-range),.react-datepicker__year-text--in-selecting-range:not(.react-datepicker__day--in-range,.react-datepicker__month-text--in-range,.react-datepicker__quarter-text--in-range,.react-datepicker__year-text--in-range){background-color:rgba(33,107,165,.5)}.react-datepicker__month--selecting-range .react-datepicker__day--in-range:not(.react-datepicker__day--in-selecting-range,.react-datepicker__month-text--in-selecting-range,.react-datepicker__quarter-text--in-selecting-range,.react-datepicker__year-text--in-selecting-range),.react-datepicker__month--selecting-range .react-datepicker__month-text--in-range:not(.react-datepicker__day--in-selecting-range,.react-datepicker__month-text--in-selecting-range,.react-datepicker__quarter-text--in-selecting-range,.react-datepicker__year-text--in-selecting-range),.react-datepicker__month--selecting-range .react-datepicker__quarter-text--in-range:not(.react-datepicker__day--in-selecting-range,.react-datepicker__month-text--in-selecting-range,.react-datepicker__quarter-text--in-selecting-range,.react-datepicker__year-text--in-selecting-range),.react-datepicker__month--selecting-range .react-datepicker__year-text--in-range:not(.react-datepicker__day--in-selecting-range,.react-datepicker__month-text--in-selecting-range,.react-datepicker__quarter-text--in-selecting-range,.react-datepicker__year-text--in-selecting-range){background-color:#f0f0f0;color:#000}.react-datepicker__day--disabled,.react-datepicker__month-text--disabled,.react-datepicker__quarter-text--disabled,.react-datepicker__year-text--disabled{color:#ccc;cursor:default}.react-datepicker__day--disabled:hover,.react-datepicker__month-text--disabled:hover,.react-datepicker__quarter-text--disabled:hover,.react-datepicker__year-text--disabled:hover{background-color:rgba(0,0,0,0)}.react-datepicker__month-text.react-datepicker__month--in-range:hover,.react-datepicker__month-text.react-datepicker__month--selected:hover,.react-datepicker__month-text.react-datepicker__quarter--in-range:hover,.react-datepicker__month-text.react-datepicker__quarter--selected:hover,.react-datepicker__quarter-text.react-datepicker__month--in-range:hover,.react-datepicker__quarter-text.react-datepicker__month--selected:hover,.react-datepicker__quarter-text.react-datepicker__quarter--in-range:hover,.react-datepicker__quarter-text.react-datepicker__quarter--selected:hover{background-color:#216ba5}.react-datepicker__month-text:hover,.react-datepicker__quarter-text:hover{background-color:#f0f0f0}.react-datepicker__input-container{display:inline-block;position:relative;width:100%}.react-datepicker__month-read-view,.react-datepicker__month-year-read-view,.react-datepicker__year-read-view{border:1px solid rgba(0,0,0,0);border-radius:.3rem;position:relative}.react-datepicker__month-read-view:hover,.react-datepicker__month-year-read-view:hover,.react-datepicker__year-read-view:hover{cursor:pointer}.react-datepicker__month-read-view:hover .react-datepicker__month-read-view--down-arrow,.react-datepicker__month-read-view:hover .react-datepicker__year-read-view--down-arrow,.react-datepicker__month-year-read-view:hover .react-datepicker__month-read-view--down-arrow,.react-datepicker__month-year-read-view:hover .react-datepicker__year-read-view--down-arrow,.react-datepicker__year-read-view:hover .react-datepicker__month-read-view--down-arrow,.react-datepicker__year-read-view:hover .react-datepicker__year-read-view--down-arrow{border-top-color:#b3b3b3}.react-datepicker__month-read-view--down-arrow,.react-datepicker__month-year-read-view--down-arrow,.react-datepicker__year-read-view--down-arrow{right:-16px;top:0;-webkit-transform:rotate(135deg);-moz-transform:rotate(135deg);-ms-transform:rotate(135deg);transform:rotate(135deg)}.react-datepicker__month-dropdown,.react-datepicker__month-year-dropdown,.react-datepicker__year-dropdown{background-color:#f0f0f0;border:1px solid #aeaeae;border-radius:.3rem;left:25%;position:absolute;text-align:center;top:30px;width:50%;z-index:1}.react-datepicker__month-dropdown:hover,.react-datepicker__month-year-dropdown:hover,.react-datepicker__year-dropdown:hover{cursor:pointer}.react-datepicker__month-dropdown--scrollable,.react-datepicker__month-year-dropdown--scrollable,.react-datepicker__year-dropdown--scrollable{height:150px;overflow-y:scroll}.react-datepicker__month-option,.react-datepicker__month-year-option,.react-datepicker__year-option{display:block;line-height:20px;margin-left:auto;margin-right:auto;width:100%}.react-datepicker__month-option:first-of-type,.react-datepicker__month-year-option:first-of-type,.react-datepicker__year-option:first-of-type{border-top-left-radius:.3rem;border-top-right-radius:.3rem}.react-datepicker__month-option:last-of-type,.react-datepicker__month-year-option:last-of-type,.react-datepicker__year-option:last-of-type{border-bottom-left-radius:.3rem;border-bottom-right-radius:.3rem;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.react-datepicker__month-option:hover,.react-datepicker__month-year-option:hover,.react-datepicker__year-option:hover{background-color:#ccc}.react-datepicker__month-option:hover .react-datepicker__navigation--years-upcoming,.react-datepicker__month-year-option:hover .react-datepicker__navigation--years-upcoming,.react-datepicker__year-option:hover .react-datepicker__navigation--years-upcoming{border-bottom-color:#b3b3b3}.react-datepicker__month-option:hover .react-datepicker__navigation--years-previous,.react-datepicker__month-year-option:hover .react-datepicker__navigation--years-previous,.react-datepicker__year-option:hover .react-datepicker__navigation--years-previous{border-top-color:#b3b3b3}.react-datepicker__month-option--selected,.react-datepicker__month-year-option--selected,.react-datepicker__year-option--selected{left:15px;position:absolute}.react-datepicker__close-icon{background-color:rgba(0,0,0,0);border:0;cursor:pointer;display:table-cell;height:100%;outline:0;padding:0 6px 0 0;position:absolute;right:0;top:0;vertical-align:middle}.react-datepicker__close-icon:after{background-color:#216ba5;border-radius:50%;color:#fff;content:"×";cursor:pointer;display:table-cell;font-size:12px;height:16px;line-height:1;padding:2px;text-align:center;vertical-align:middle;width:16px}.react-datepicker__today-button{background:#f0f0f0;border-top:1px solid #aeaeae;clear:left;cursor:pointer;font-weight:700;padding:5px 0;text-align:center}.react-datepicker__portal{background-color:rgba(0,0,0,.8);height:100vh;left:0;position:fixed;top:0;width:100vw;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;z-index:2147483647}.react-datepicker__portal .react-datepicker__day,.react-datepicker__portal .react-datepicker__day-name,.react-datepicker__portal .react-datepicker__time-name{line-height:3rem;width:3rem}@media(max-height:550px),(max-width:400px){.react-datepicker__portal .react-datepicker__day,.react-datepicker__portal .react-datepicker__day-name,.react-datepicker__portal .react-datepicker__time-name{line-height:2rem;width:2rem}}.react-datepicker__portal .react-datepicker-time__header,.react-datepicker__portal .react-datepicker__current-month{font-size:1.44rem}.react-datepicker-popper{z-index:1000}.react-datepicker-wrapper,.react-datepicker-wrapper .react-datepicker__input-container{display:block}.react-datepicker-wrapper .react-datepicker__input-container input{display:block;width:100%}.gv-map-canvas{background-color:#b4b9be;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:flex;height:200px!important;width:100%!important;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;align-items:center}.gv-map-canvas svg{height:40px;width:40px}.gv-map-canvas p{font-size:1rem}.gv-datatables{height:200px;text-align:center}.gv-datatables tbody{background-color:#b4b9be;font-size:1rem}
diff --git a/future/includes/gutenberg/build/view.js b/future/includes/gutenberg/build/view.js
index a49b6ce4bd..5e76a64dca 100644
--- a/future/includes/gutenberg/build/view.js
+++ b/future/includes/gutenberg/build/view.js
@@ -1 +1 @@
-(function(){var __webpack_modules__={4850:function(e,t,n){"use strict";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},r(e)}function o(e){var t=function(e,t){if("object"!=r(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,"string");if("object"!=r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==r(t)?t:String(t)}function a(e,t,n){return(t=o(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var u=n(1609),s=window.wp.blocks,c=JSON.parse('{"apiVersion":2,"name":"gk-gravityview-blocks/view","version":"1.0.0","title":"GravityView View","category":"gk-gravityview-blocks","description":"Display a GravityView View.","keywords":["GravityView","view"],"supports":{"html":false},"textdomain":"gk-gravityview","attributes":{"viewId":{"default":"","type":"string"},"postId":{"default":0,"type":"number"},"secret":{"default":null,"type":"string"},"pageSize":{"default":"","type":"string"},"sortField":{"default":"","type":"string"},"sortDirection":{"default":"","type":"string"},"searchField":{"default":"","type":"string"},"searchValue":{"default":"","type":"string"},"searchOperator":{"default":"contains","type":"string"},"startDate":{"default":"","type":"string"},"startDateType":{"default":"date","type":"string"},"endDate":{"default":"","type":"string"},"endDateType":{"default":"date","type":"string"},"classValue":{"default":"","type":"string"},"offset":{"default":0,"type":"number"},"singleTitle":{"default":"","type":"string"},"backLinkLabel":{"default":"","type":"string"},"previewBlock":{"type":"boolean","default":false},"previewAsShortcode":{"type":"boolean","default":false},"showPreviewImage":{"type":"boolean","default":false}},"example":{"attributes":{"showPreviewImage":true}}}'),l=n(3145),f=n(7800);function p(e){return function(e){if(Array.isArray(e))return(0,l.A)(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||(0,f.A)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var d=n(7723),h=window.wp.blockEditor,m=n(6427),y=window.moment,v=n.n(y),b=n(9386),g=n.n(b);function w(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function _(e){for(var t=1;t0?N(K,--W):0,V--,10===q&&(V=1,U--),q}function G(){return q=W2||ee(q)>3?"":" "}function ae(e,t){for(;--t&&G()&&!(q<48||q>102||q>57&&q<65||q>70&&q<97););return J(e,Z()+(t<6&&32==X()&&32==G()))}function ie(e){for(;G();)switch(q){case e:return W;case 34:case 39:34!==e&&39!==e&&ie(q);break;case 40:41===e&&ie(e);break;case 92:G()}return W}function ue(e,t){for(;G()&&e+q!==57&&(e+q!==84||47!==X()););return"/*"+J(t,W-1)+"*"+T(47===e?e:G())}function se(e){for(;!ee(X());)G();return J(e,W)}var ce="-ms-",le="-moz-",fe="-webkit-",pe="comm",de="rule",he="decl",me="@keyframes";function ye(e,t){for(var n="",r=Y(e),o=0;o0&&F(k)-f&&B(d>32?Oe(k+";",r,n,f-1):Oe(j(k," ","")+";",r,n,f-2),s);break;case 59:k+=";";default:if(B(O=we(k,t,n,c,l,o,u,g,w=[],_=[],f),a),123===b)if(0===l)ge(k,t,O,O,w,a,f,u,_);else switch(99===p&&110===N(k,3)?100:p){case 100:case 109:case 115:ge(e,O,O,r&&B(we(e,O,O,0,0,o,u,g,o,w=[],f),_),o,_,f,u,r?w:_);break;default:ge(k,O,O,O,[""],_,0,u,_)}}c=l=d=0,m=v=1,g=k="",f=i;break;case 58:f=1+F(k),d=h;default:if(m<1)if(123==b)--m;else if(125==b&&0==m++&&125==Q())continue;switch(k+=T(b),b*m){case 38:v=l>0?1:(k+="\f",-1);break;case 44:u[c++]=(F(k)-1)*v,v=1;break;case 64:45===X()&&(k+=re(G())),p=X(),l=f=F(g=k+=se(Z())),b++;break;case 45:45===h&&2==F(k)&&(m=0)}}return a}function we(e,t,n,r,o,a,i,u,s,c,l){for(var f=o-1,p=0===o?a:[""],d=Y(p),h=0,m=0,y=0;h0?p[v]+" "+b:j(b,/&\f/g,p[v])))&&(s[y++]=g);return z(e,t,n,0===o?de:u,s,c,l)}function _e(e,t,n){return z(e,t,n,pe,T(q),L(e,2,-2),0)}function Oe(e,t,n,r){return z(e,t,n,he,L(e,0,r),L(e,r+1,-1),r)}var ke=function(e,t,n){for(var r=0,o=0;r=o,o=X(),38===r&&12===o&&(t[n]=1),!ee(o);)G();return J(e,W)},De=new WeakMap,Se=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||De.get(n))&&!r){De.set(e,!0);for(var o=[],a=function(e,t){return ne(function(e,t){var n=-1,r=44;do{switch(ee(r)){case 0:38===r&&12===X()&&(t[n]=1),e[n]+=ke(W-1,t,n);break;case 2:e[n]+=re(r);break;case 4:if(44===r){e[++n]=58===X()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=T(r)}}while(r=G());return e}(te(e),t))}(t,o),i=n.props,u=0,s=0;u6)switch(N(e,t+1)){case 109:if(45!==N(e,t+4))break;case 102:return j(e,/(.+:)(.+)-([^]+)/,"$1"+fe+"$2-$3$1"+le+(108==N(e,t+3)?"$3":"$2-$3"))+e;case 115:return~I(e,"stretch")?Ee(j(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==N(e,t+1))break;case 6444:switch(N(e,F(e)-3-(~I(e,"!important")&&10))){case 107:return j(e,":",":"+fe)+e;case 101:return j(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+fe+(45===N(e,14)?"inline-":"")+"box$3$1"+fe+"$2$3$1"+ce+"$2box$3")+e}break;case 5936:switch(N(e,t+11)){case 114:return fe+e+ce+j(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return fe+e+ce+j(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return fe+e+ce+j(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return fe+e+ce+e+e}return e}var Pe=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case he:e.return=Ee(e.value,e.length);break;case me:return ye([$(e,{value:j(e.value,"@","@"+fe)})],r);case de:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=/(::plac\w+|:read-\w+)/.exec(e))?e[0]:e}(t)){case":read-only":case":read-write":return ye([$(e,{props:[j(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return ye([$(e,{props:[j(t,/:(plac\w+)/,":"+fe+"input-$1")]}),$(e,{props:[j(t,/:(plac\w+)/,":-moz-$1")]}),$(e,{props:[j(t,/:(plac\w+)/,ce+"input-$1")]})],r)}return""}))}}],xe=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var r,o,a=e.stylisPlugins||Pe,i={},u=[];r=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)},Re={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Ae=/[A-Z]|^ms/g,je=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Ie=function(e){return 45===e.charCodeAt(1)},Ne=function(e){return null!=e&&"boolean"!=typeof e},Le=function(e){var t=Object.create(null);return function(e){return void 0===t[e]&&(t[e]=Ie(n=e)?n:n.replace(Ae,"-$&").toLowerCase()),t[e];var n}}(),Fe=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(je,(function(e,t,n){return Be={name:t,styles:n,next:Be},t}))}return 1===Re[e]||Ie(e)||"number"!=typeof t||0===t?t:t+"px"};function Ye(e,t,n){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return Be={name:n.name,styles:n.styles,next:Be},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)Be={name:r.name,styles:r.styles,next:Be},r=r.next;return n.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;oe.brand+"/"+e.version)).join(" "),rt):navigator.userAgent}())}["top","right","bottom","left"].reduce(((e,t)=>e.concat(t,t+"-start",t+"-end")),[]),Math.min,Math.max;const lt=Math.round;function ft(e){return at(e)?e:e.contextElement}const pt={x:1,y:1};function dt(e){const t=ft(e);if(!ot(t))return pt;const n=t.getBoundingClientRect(),{width:r,height:o,fallback:a}=function(e){const t=tt(e);let n=parseFloat(t.width),r=parseFloat(t.height);const o=e.offsetWidth,a=e.offsetHeight,i=lt(n)!==o||lt(r)!==a;return i&&(n=o,r=a),{width:n,height:r,fallback:i}}(t);let i=(a?lt(n.width):n.width)/r,u=(a?lt(n.height):n.height)/o;return i&&Number.isFinite(i)||(i=1),u&&Number.isFinite(u)||(u=1),{x:i,y:u}}function ht(e,t,n,r){var o,a;void 0===t&&(t=!1),void 0===n&&(n=!1);const i=e.getBoundingClientRect(),u=ft(e);let s=pt;t&&(r?at(r)&&(s=dt(r)):s=dt(e));const c=u?et(u):window,l=!ct()&&n;let f=(i.left+(l&&(null==(o=c.visualViewport)?void 0:o.offsetLeft)||0))/s.x,p=(i.top+(l&&(null==(a=c.visualViewport)?void 0:a.offsetTop)||0))/s.y,d=i.width/s.x,h=i.height/s.y;if(u){const e=et(u),t=r&&at(r)?et(r):r;let n=e.frameElement;for(;n&&r&&t!==e;){const e=dt(n),t=n.getBoundingClientRect(),r=getComputedStyle(n);t.x+=(n.clientLeft+parseFloat(r.paddingLeft))*e.x,t.y+=(n.clientTop+parseFloat(r.paddingTop))*e.y,f*=e.x,p*=e.y,d*=e.x,h*=e.y,f+=t.x,p+=t.y,n=et(n).frameElement}}return{width:d,height:h,top:p,right:f+d,bottom:p+h,left:f,x:f,y:p}}function mt(e){if("html"===nt(e))return e;const t=e.assignedSlot||e.parentNode||(ut(e)?e.host:null)||function(e){return((it(e)?e.ownerDocument:e.document)||window.document).documentElement}(e);return ut(t)?t.host:t}function yt(e){const t=mt(e);return function(e){return["html","body","#document"].includes(nt(e))}(t)?e.ownerDocument.body:ot(t)&&st(t)?t:yt(t)}function vt(e,t){var n;void 0===t&&(t=[]);const r=yt(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),a=et(r);return o?t.concat(a,a.visualViewport||[],st(r)?r:[]):t.concat(r,vt(r))}var bt=u.useLayoutEffect,gt=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],wt=function(){};function _t(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function Ot(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o-1}function Et(e){return Ct(e)?window.pageYOffset:e.scrollTop}function Pt(e,t){Ct(e)?window.scrollTo(0,t):e.scrollTop=t}function xt(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:wt,o=Et(e),a=t-o,i=0;!function t(){var u,s=(u=i+=10,a*((u=u/n-1)*u*u+1)+o);Pt(e,s),in.bottom?Pt(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+o,e.scrollHeight)):r.top-o=h)return{placement:"bottom",maxHeight:t};if(D>=h&&!i)return a&&xt(s,S,E),{placement:"bottom",maxHeight:t};if(!i&&D>=r||i&&O>=r)return a&&xt(s,S,E),{placement:"bottom",maxHeight:i?O-g:D-g};if("auto"===o||i){var P=t,x=i?_:k;return x>=r&&(P=Math.min(x-g-u,t)),{placement:"top",maxHeight:P}}if("bottom"===o)return a&&Pt(s,S),{placement:"bottom",maxHeight:t};break;case"top":if(_>=h)return{placement:"top",maxHeight:t};if(k>=h&&!i)return a&&xt(s,C,E),{placement:"top",maxHeight:t};if(!i&&k>=r||i&&_>=r){var M=t;return(!i&&k>=r||i&&_>=r)&&(M=i?_-w:k-w),a&&xt(s,C,E),{placement:"top",maxHeight:M}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(o,'".'))}return c}({maxHeight:r,menuEl:e,minHeight:n,placement:o,shouldScroll:i&&!t,isFixedPosition:t,controlHeight:g});h(u.maxHeight),b(u.placement),null==c||c(u.placement)}}),[r,o,a,i,n,c,g]),t({ref:l,placerProps:_(_({},e),{},{placement:v||Ft(o),maxHeight:d})})},Ut=function(e,t){var n=e.theme,r=n.spacing.baseUnit,o=n.colors;return _({textAlign:"center"},t?{}:{color:o.neutral40,padding:"".concat(2*r,"px ").concat(3*r,"px")})},Vt=Ut,Ht=Ut,Wt=function(e){var t=e.children,n=e.innerProps;return Xe("div",D({},St(e,"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),n),t)};Wt.defaultProps={children:"No options"};var qt=function(e){var t=e.children,n=e.innerProps;return Xe("div",D({},St(e,"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),n),t)};qt.defaultProps={children:"Loading..."};var Kt,zt,$t,Qt=["size"],Gt={name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"},Xt=function(e){var t=e.size,n=i(e,Qt);return Xe("svg",D({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:Gt},n))},Zt=function(e){return Xe(Xt,D({size:20},e),Xe("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},Jt=function(e){return Xe(Xt,D({size:20},e),Xe("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},en=function(e,t){var n=e.isFocused,r=e.theme,o=r.spacing.baseUnit,a=r.colors;return _({label:"indicatorContainer",display:"flex",transition:"color 150ms"},t?{}:{color:n?a.neutral60:a.neutral20,padding:2*o,":hover":{color:n?a.neutral80:a.neutral40}})},tn=en,nn=en,rn=function(){var e=Ze.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}(Kt||(zt=["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"],$t||($t=zt.slice(0)),Kt=Object.freeze(Object.defineProperties(zt,{raw:{value:Object.freeze($t)}})))),on=function(e){var t=e.delay,n=e.offset;return Xe("span",{css:Ze({animation:"".concat(rn," 1s ease-in-out ").concat(t,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:n?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},"","")})},an=function(e){var t=e.innerProps,n=e.isRtl;return Xe("div",D({},St(e,"loadingIndicator",{indicator:!0,"loading-indicator":!0}),t),Xe(on,{delay:0,offset:n}),Xe(on,{delay:160,offset:!0}),Xe(on,{delay:320,offset:!n}))};an.defaultProps={size:4};var un=["data"],sn=["innerRef","isDisabled","isHidden","inputClassName"],cn={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},ln={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":_({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},cn)},fn=function(e){return _({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},cn)},pn=function(e){var t=e.children,n=e.innerProps;return Xe("div",n,t)},dn={ClearIndicator:function(e){var t=e.children,n=e.innerProps;return Xe("div",D({},St(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),n),t||Xe(Zt,null))},Control:function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,o=e.innerRef,a=e.innerProps,i=e.menuIsOpen;return Xe("div",D({ref:o},St(e,"control",{control:!0,"control--is-disabled":n,"control--is-focused":r,"control--menu-is-open":i}),a),t)},DropdownIndicator:function(e){var t=e.children,n=e.innerProps;return Xe("div",D({},St(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),n),t||Xe(Jt,null))},DownChevron:Jt,CrossIcon:Zt,Group:function(e){var t=e.children,n=e.cx,r=e.getStyles,o=e.getClassNames,a=e.Heading,i=e.headingProps,u=e.innerProps,s=e.label,c=e.theme,l=e.selectProps;return Xe("div",D({},St(e,"group",{group:!0}),u),Xe(a,D({},i,{selectProps:l,theme:c,getStyles:r,getClassNames:o,cx:n}),s),Xe("div",null,t))},GroupHeading:function(e){var t=Dt(e);t.data;var n=i(t,un);return Xe("div",D({},St(e,"groupHeading",{"group-heading":!0}),n))},IndicatorsContainer:function(e){var t=e.children,n=e.innerProps;return Xe("div",D({},St(e,"indicatorsContainer",{indicators:!0}),n),t)},IndicatorSeparator:function(e){var t=e.innerProps;return Xe("span",D({},t,St(e,"indicatorSeparator",{"indicator-separator":!0})))},Input:function(e){var t=e.cx,n=e.value,r=Dt(e),o=r.innerRef,a=r.isDisabled,u=r.isHidden,s=r.inputClassName,c=i(r,sn);return Xe("div",D({},St(e,"input",{"input-container":!0}),{"data-value":n||""}),Xe("input",D({className:t({input:!0},s),ref:o,style:fn(u),disabled:a},c)))},LoadingIndicator:an,Menu:function(e){var t=e.children,n=e.innerRef,r=e.innerProps;return Xe("div",D({},St(e,"menu",{menu:!0}),{ref:n},r),t)},MenuList:function(e){var t=e.children,n=e.innerProps,r=e.innerRef,o=e.isMulti;return Xe("div",D({},St(e,"menuList",{"menu-list":!0,"menu-list--is-multi":o}),{ref:r},n),t)},MenuPortal:function(e){var t=e.appendTo,n=e.children,r=e.controlElement,o=e.innerProps,a=e.menuPlacement,i=e.menuPosition,s=(0,u.useRef)(null),c=(0,u.useRef)(null),l=(0,u.useState)(Ft(a)),f=(0,O.A)(l,2),p=f[0],d=f[1],h=(0,u.useMemo)((function(){return{setPortalPlacement:d}}),[]),m=(0,u.useState)(null),y=(0,O.A)(m,2),v=y[0],b=y[1],g=(0,u.useCallback)((function(){if(r){var e=function(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}(r),t="fixed"===i?0:window.pageYOffset,n=e[p]+t;n===(null==v?void 0:v.offset)&&e.left===(null==v?void 0:v.rect.left)&&e.width===(null==v?void 0:v.rect.width)||b({offset:n,rect:e})}}),[r,i,p,null==v?void 0:v.offset,null==v?void 0:v.rect.left,null==v?void 0:v.rect.width]);bt((function(){g()}),[g]);var w=(0,u.useCallback)((function(){"function"==typeof c.current&&(c.current(),c.current=null),r&&s.current&&(c.current=function(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:o=!0,ancestorResize:a=!0,elementResize:i=!0,animationFrame:u=!1}=r,s=o&&!u,c=s||a?[...at(e)?vt(e):e.contextElement?vt(e.contextElement):[],...vt(t)]:[];c.forEach((e=>{s&&e.addEventListener("scroll",n,{passive:!0}),a&&e.addEventListener("resize",n)}));let l,f=null;if(i){let r=!0;f=new ResizeObserver((()=>{r||n(),r=!1})),at(e)&&!u&&f.observe(e),at(e)||!e.contextElement||u||f.observe(e.contextElement),f.observe(t)}let p=u?ht(e):null;return u&&function t(){const r=ht(e);!p||r.x===p.x&&r.y===p.y&&r.width===p.width&&r.height===p.height||n(),p=r,l=requestAnimationFrame(t)}(),n(),()=>{var e;c.forEach((e=>{s&&e.removeEventListener("scroll",n),a&&e.removeEventListener("resize",n)})),null==(e=f)||e.disconnect(),f=null,u&&cancelAnimationFrame(l)}}(r,s.current,g,{elementResize:"ResizeObserver"in window}))}),[r,g]);bt((function(){w()}),[w]);var k=(0,u.useCallback)((function(e){s.current=e,w()}),[w]);if(!t&&"fixed"!==i||!v)return null;var S=Xe("div",D({ref:k},St(_(_({},e),{},{offset:v.offset,position:i,rect:v.rect}),"menuPortal",{"menu-portal":!0}),o),n);return Xe(Yt.Provider,{value:h},t?(0,Je.createPortal)(S,t):S)},LoadingMessage:qt,NoOptionsMessage:Wt,MultiValue:function(e){var t=e.children,n=e.components,r=e.data,o=e.innerProps,a=e.isDisabled,i=e.removeProps,u=e.selectProps,s=n.Container,c=n.Label,l=n.Remove;return Xe(s,{data:r,innerProps:_(_({},St(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":a})),o),selectProps:u},Xe(c,{data:r,innerProps:_({},St(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:u},t),Xe(l,{data:r,innerProps:_(_({},St(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(t||"option")},i),selectProps:u}))},MultiValueContainer:pn,MultiValueLabel:pn,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return Xe("div",D({role:"button"},n),t||Xe(Zt,{size:14}))},Option:function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,o=e.isSelected,a=e.innerRef,i=e.innerProps;return Xe("div",D({},St(e,"option",{option:!0,"option--is-disabled":n,"option--is-focused":r,"option--is-selected":o}),{ref:a,"aria-disabled":n},i),t)},Placeholder:function(e){var t=e.children,n=e.innerProps;return Xe("div",D({},St(e,"placeholder",{placeholder:!0}),n),t)},SelectContainer:function(e){var t=e.children,n=e.innerProps,r=e.isDisabled,o=e.isRtl;return Xe("div",D({},St(e,"container",{"--is-disabled":r,"--is-rtl":o}),n),t)},SingleValue:function(e){var t=e.children,n=e.isDisabled,r=e.innerProps;return Xe("div",D({},St(e,"singleValue",{"single-value":!0,"single-value--is-disabled":n}),r),t)},ValueContainer:function(e){var t=e.children,n=e.innerProps,r=e.isMulti,o=e.hasValue;return Xe("div",D({},St(e,"valueContainer",{"value-container":!0,"value-container--is-multi":r,"value-container--has-value":o}),n),t)}},hn=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function mn(e,t){if(e.length!==t.length)return!1;for(var n=0;n1?"s":""," ").concat(o.join(","),", selected.");case"select-option":return"option ".concat(r,a?" is disabled. Select another option.":", selected.");default:return""}},onFocus:function(e){var t=e.context,n=e.focused,r=e.options,o=e.label,a=void 0===o?"":o,i=e.selectValue,u=e.isDisabled,s=e.isSelected,c=function(e,t){return e&&e.length?"".concat(e.indexOf(t)+1," of ").concat(e.length):""};if("value"===t&&i)return"value ".concat(a," focused, ").concat(c(i,n),".");if("menu"===t){var l=u?" disabled":"",f="".concat(s?"selected":"focused").concat(l);return"option ".concat(a," ").concat(f,", ").concat(c(r,n),".")}return""},onFilter:function(e){var t=e.inputValue,n=e.resultsMessage;return"".concat(n).concat(t?" for search term "+t:"",".")}},gn=function(e){var t=e.ariaSelection,n=e.focusedOption,r=e.focusedValue,o=e.focusableOptions,a=e.isFocused,i=e.selectValue,s=e.selectProps,c=e.id,l=s.ariaLiveMessages,f=s.getOptionLabel,p=s.inputValue,d=s.isMulti,h=s.isOptionDisabled,m=s.isSearchable,y=s.menuIsOpen,v=s.options,b=s.screenReaderStatus,g=s.tabSelectsValue,w=s["aria-label"],O=s["aria-live"],k=(0,u.useMemo)((function(){return _(_({},bn),l||{})}),[l]),D=(0,u.useMemo)((function(){var e,n="";if(t&&k.onChange){var r=t.option,o=t.options,a=t.removedValue,u=t.removedValues,s=t.value,c=a||r||(e=s,Array.isArray(e)?null:e),l=c?f(c):"",p=o||u||void 0,d=p?p.map(f):[],m=_({isDisabled:c&&h(c,i),label:l,labels:d},t);n=k.onChange(m)}return n}),[t,k,h,i,f]),S=(0,u.useMemo)((function(){var e="",t=n||r,a=!!(n&&i&&i.includes(n));if(t&&k.onFocus){var u={focused:t,label:f(t),isDisabled:h(t,i),isSelected:a,options:o,context:t===n?"menu":"value",selectValue:i};e=k.onFocus(u)}return e}),[n,r,f,h,k,o,i]),C=(0,u.useMemo)((function(){var e="";if(y&&v.length&&k.onFilter){var t=b({count:o.length});e=k.onFilter({inputValue:p,resultsMessage:t})}return e}),[o,p,y,k,v,b]),E=(0,u.useMemo)((function(){var e="";if(k.guidance){var t=r?"value":y?"menu":"input";e=k.guidance({"aria-label":w,context:t,isDisabled:n&&h(n,i),isMulti:d,isSearchable:m,tabSelectsValue:g})}return e}),[w,n,r,d,h,m,y,k,i,g]),P="".concat(S," ").concat(C," ").concat(E),x=Xe(u.Fragment,null,Xe("span",{id:"aria-selection"},D),Xe("span",{id:"aria-context"},P)),M="initial-input-focus"===(null==t?void 0:t.action);return Xe(u.Fragment,null,Xe(vn,{id:c},M&&x),Xe(vn,{"aria-live":O,"aria-atomic":"false","aria-relevant":"additions text"},a&&!M&&x))},wn=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],On=new RegExp("["+wn.map((function(e){return e.letters})).join("")+"]","g"),kn={},Dn=0;Dn1?t-1:0),r=1;r0,m=f-p-c,y=!1;m>t&&i.current&&(r&&r(e),i.current=!1),h&&s.current&&(a&&a(e),s.current=!1),h&&t>m?(n&&!i.current&&n(e),d.scrollTop=f,y=!0,i.current=!0):!h&&-t>c&&(o&&!s.current&&o(e),d.scrollTop=0,y=!0,s.current=!0),y&&function(e){e.preventDefault(),e.stopPropagation()}(e)}}),[n,r,o,a]),p=(0,u.useCallback)((function(e){f(e,e.deltaY)}),[f]),d=(0,u.useCallback)((function(e){c.current=e.changedTouches[0].clientY}),[]),h=(0,u.useCallback)((function(e){var t=c.current-e.changedTouches[0].clientY;f(e,t)}),[f]),m=(0,u.useCallback)((function(e){if(e){var t=!!It&&{passive:!1};e.addEventListener("wheel",p,t),e.addEventListener("touchstart",d,t),e.addEventListener("touchmove",h,t)}}),[h,d,p]),y=(0,u.useCallback)((function(e){e&&(e.removeEventListener("wheel",p,!1),e.removeEventListener("touchstart",d,!1),e.removeEventListener("touchmove",h,!1))}),[h,d,p]);return(0,u.useEffect)((function(){if(t){var e=l.current;return m(e),function(){y(e)}}}),[t,m,y]),function(e){l.current=e}}({isEnabled:void 0===r||r,onBottomArrive:e.onBottomArrive,onBottomLeave:e.onBottomLeave,onTopArrive:e.onTopArrive,onTopLeave:e.onTopLeave}),a=function(e){var t=e.isEnabled,n=e.accountForScrollbars,r=void 0===n||n,o=(0,u.useRef)({}),a=(0,u.useRef)(null),i=(0,u.useCallback)((function(e){if(Yn){var t=document.body,n=t&&t.style;if(r&&An.forEach((function(e){var t=n&&n[e];o.current[e]=t})),r&&Bn<1){var a=parseInt(o.current.paddingRight,10)||0,i=document.body?document.body.clientWidth:0,u=window.innerWidth-i+a||0;Object.keys(jn).forEach((function(e){var t=jn[e];n&&(n[e]=t)})),n&&(n.paddingRight="".concat(u,"px"))}t&&Fn()&&(t.addEventListener("touchmove",In,Un),e&&(e.addEventListener("touchstart",Ln,Un),e.addEventListener("touchmove",Nn,Un))),Bn+=1}}),[r]),s=(0,u.useCallback)((function(e){if(Yn){var t=document.body,n=t&&t.style;Bn=Math.max(Bn-1,0),r&&Bn<1&&An.forEach((function(e){var t=o.current[e];n&&(n[e]=t)})),t&&Fn()&&(t.removeEventListener("touchmove",In,Un),e&&(e.removeEventListener("touchstart",Ln,Un),e.removeEventListener("touchmove",Nn,Un)))}}),[r]);return(0,u.useEffect)((function(){if(t){var e=a.current;return i(e),function(){s(e)}}}),[t,i,s]),function(e){a.current=e}}({isEnabled:n});return Xe(u.Fragment,null,n&&Xe("div",{onClick:Vn,css:Hn}),t((function(e){o(e),a(e)})))}var qn={name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"},Kn=function(e){var t=e.name,n=e.onFocus;return Xe("input",{required:!0,name:t,tabIndex:-1,onFocus:n,css:qn,value:"",onChange:function(){}})},zn={clearIndicator:nn,container:function(e){var t=e.isDisabled;return{label:"container",direction:e.isRtl?"rtl":void 0,pointerEvents:t?"none":void 0,position:"relative"}},control:function(e,t){var n=e.isDisabled,r=e.isFocused,o=e.theme,a=o.colors,i=o.borderRadius;return _({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:o.spacing.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},t?{}:{backgroundColor:n?a.neutral5:a.neutral0,borderColor:n?a.neutral10:r?a.primary:a.neutral20,borderRadius:i,borderStyle:"solid",borderWidth:1,boxShadow:r?"0 0 0 1px ".concat(a.primary):void 0,"&:hover":{borderColor:r?a.primary:a.neutral30}})},dropdownIndicator:tn,group:function(e,t){var n=e.theme.spacing;return t?{}:{paddingBottom:2*n.baseUnit,paddingTop:2*n.baseUnit}},groupHeading:function(e,t){var n=e.theme,r=n.colors,o=n.spacing;return _({label:"group",cursor:"default",display:"block"},t?{}:{color:r.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:3*o.baseUnit,paddingRight:3*o.baseUnit,textTransform:"uppercase"})},indicatorsContainer:function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},indicatorSeparator:function(e,t){var n=e.isDisabled,r=e.theme,o=r.spacing.baseUnit,a=r.colors;return _({label:"indicatorSeparator",alignSelf:"stretch",width:1},t?{}:{backgroundColor:n?a.neutral10:a.neutral20,marginBottom:2*o,marginTop:2*o})},input:function(e,t){var n=e.isDisabled,r=e.value,o=e.theme,a=o.spacing,i=o.colors;return _(_({visibility:n?"hidden":"visible",transform:r?"translateZ(0)":""},ln),t?{}:{margin:a.baseUnit/2,paddingBottom:a.baseUnit/2,paddingTop:a.baseUnit/2,color:i.neutral80})},loadingIndicator:function(e,t){var n=e.isFocused,r=e.size,o=e.theme,a=o.colors,i=o.spacing.baseUnit;return _({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:r,lineHeight:1,marginRight:r,textAlign:"center",verticalAlign:"middle"},t?{}:{color:n?a.neutral60:a.neutral20,padding:2*i})},loadingMessage:Ht,menu:function(e,t){var n,r=e.placement,o=e.theme,i=o.borderRadius,u=o.spacing,s=o.colors;return _((a(n={label:"menu"},function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(r),"100%"),a(n,"position","absolute"),a(n,"width","100%"),a(n,"zIndex",1),n),t?{}:{backgroundColor:s.neutral0,borderRadius:i,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:u.menuGutter,marginTop:u.menuGutter})},menuList:function(e,t){var n=e.maxHeight,r=e.theme.spacing.baseUnit;return _({maxHeight:n,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},t?{}:{paddingBottom:r,paddingTop:r})},menuPortal:function(e){var t=e.rect,n=e.offset,r=e.position;return{left:t.left,position:r,top:n,width:t.width,zIndex:1}},multiValue:function(e,t){var n=e.theme,r=n.spacing,o=n.borderRadius,a=n.colors;return _({label:"multiValue",display:"flex",minWidth:0},t?{}:{backgroundColor:a.neutral10,borderRadius:o/2,margin:r.baseUnit/2})},multiValueLabel:function(e,t){var n=e.theme,r=n.borderRadius,o=n.colors,a=e.cropWithEllipsis;return _({overflow:"hidden",textOverflow:a||void 0===a?"ellipsis":void 0,whiteSpace:"nowrap"},t?{}:{borderRadius:r/2,color:o.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},multiValueRemove:function(e,t){var n=e.theme,r=n.spacing,o=n.borderRadius,a=n.colors,i=e.isFocused;return _({alignItems:"center",display:"flex"},t?{}:{borderRadius:o/2,backgroundColor:i?a.dangerLight:void 0,paddingLeft:r.baseUnit,paddingRight:r.baseUnit,":hover":{backgroundColor:a.dangerLight,color:a.danger}})},noOptionsMessage:Vt,option:function(e,t){var n=e.isDisabled,r=e.isFocused,o=e.isSelected,a=e.theme,i=a.spacing,u=a.colors;return _({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},t?{}:{backgroundColor:o?u.primary:r?u.primary25:"transparent",color:n?u.neutral20:o?u.neutral0:"inherit",padding:"".concat(2*i.baseUnit,"px ").concat(3*i.baseUnit,"px"),":active":{backgroundColor:n?void 0:o?u.primary:u.primary50}})},placeholder:function(e,t){var n=e.theme,r=n.spacing,o=n.colors;return _({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},t?{}:{color:o.neutral50,marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2})},singleValue:function(e,t){var n=e.isDisabled,r=e.theme,o=r.spacing,a=r.colors;return _({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t?{}:{color:n?a.neutral40:a.neutral80,marginLeft:o.baseUnit/2,marginRight:o.baseUnit/2})},valueContainer:function(e,t){var n=e.theme.spacing,r=e.isMulti,o=e.hasValue,a=e.selectProps.controlShouldRenderValue;return _({alignItems:"center",display:r&&o&&a?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},t?{}:{padding:"".concat(n.baseUnit/2,"px ").concat(2*n.baseUnit,"px")})}},$n={borderRadius:4,colors:{primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},spacing:{baseUnit:4,controlHeight:38,menuGutter:8}},Qn={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:Tt(),captureMenuScroll:!Tt(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:function(e,t){if(e.data.__isNew__)return!0;var n=_({ignoreCase:!0,ignoreAccents:!0,stringify:Mn,trim:!0,matchFrom:"any"},undefined),r=n.ignoreCase,o=n.ignoreAccents,a=n.stringify,i=n.trim,u=n.matchFrom,s=i?xn(t):t,c=i?xn(a(e)):a(e);return r&&(s=s.toLowerCase(),c=c.toLowerCase()),o&&(s=Pn(s),c=En(c)),"start"===u?c.substr(0,s.length)===s:c.indexOf(s)>-1},formatGroupLabel:function(e){return e.label},getOptionLabel:function(e){return e.label},getOptionValue:function(e){return e.value},isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:function(e){return!!e.isDisabled},loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!function(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch(e){return!1}}(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(e){var t=e.count;return"".concat(t," result").concat(1!==t?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function Gn(e,t,n,r){return{type:"option",data:t,isDisabled:nr(e,t,n),isSelected:rr(e,t,n),label:er(e,t),value:tr(e,t),index:r}}function Xn(e,t){return e.options.map((function(n,r){if("options"in n){var o=n.options.map((function(n,r){return Gn(e,n,t,r)})).filter((function(t){return Jn(e,t)}));return o.length>0?{type:"group",data:n,options:o,index:r}:void 0}var a=Gn(e,n,t,r);return Jn(e,a)?a:void 0})).filter(Nt)}function Zn(e){return e.reduce((function(e,t){return"group"===t.type?e.push.apply(e,p(t.options.map((function(e){return e.data})))):e.push(t.data),e}),[])}function Jn(e,t){var n=e.inputValue,r=void 0===n?"":n,o=t.data,a=t.isSelected,i=t.label,u=t.value;return(!ar(e)||!a)&&or(e,{label:i,value:u,data:o},r)}var er=function(e,t){return e.getOptionLabel(t)},tr=function(e,t){return e.getOptionValue(t)};function nr(e,t,n){return"function"==typeof e.isOptionDisabled&&e.isOptionDisabled(t,n)}function rr(e,t,n){if(n.indexOf(t)>-1)return!0;if("function"==typeof e.isOptionSelected)return e.isOptionSelected(t,n);var r=tr(e,t);return n.some((function(t){return tr(e,t)===r}))}function or(e,t,n){return!e.filterOption||e.filterOption(t,n)}var ar=function(e){var t=e.hideSelectedOptions,n=e.isMulti;return void 0===t?n:t},ir=1,ur=function(e){!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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&C(e,t)}(c,e);var t,n,o,a,i,s=(t=c,n=P(),function(){var e,o=E(t);if(n){var a=E(this).constructor;e=Reflect.construct(o,arguments,a)}else e=o.apply(this,arguments);return function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,e)});function c(e){var t;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),(t=s.call(this,e)).state={ariaSelection:null,focusedOption:null,focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0},t.blockOptionHover=!1,t.isComposing=!1,t.commonProps=void 0,t.initialTouchX=0,t.initialTouchY=0,t.instancePrefix="",t.openAfterFocus=!1,t.scrollToFocusedOptionOnUpdate=!1,t.userIsDragging=void 0,t.controlRef=null,t.getControlRef=function(e){t.controlRef=e},t.focusedOptionRef=null,t.getFocusedOptionRef=function(e){t.focusedOptionRef=e},t.menuListRef=null,t.getMenuListRef=function(e){t.menuListRef=e},t.inputRef=null,t.getInputRef=function(e){t.inputRef=e},t.focus=t.focusInput,t.blur=t.blurInput,t.onChange=function(e,n){var r=t.props,o=r.onChange,a=r.name;n.name=a,t.ariaOnChange(e,n),o(e,n)},t.setValue=function(e,n,r){var o=t.props,a=o.closeMenuOnSelect,i=o.isMulti,u=o.inputValue;t.onInputChange("",{action:"set-value",prevInputValue:u}),a&&(t.setState({inputIsHiddenAfterUpdate:!i}),t.onMenuClose()),t.setState({clearFocusValueOnUpdate:!0}),t.onChange(e,{action:n,option:r})},t.selectOption=function(e){var n=t.props,r=n.blurInputOnSelect,o=n.isMulti,a=n.name,i=t.state.selectValue,u=o&&t.isOptionSelected(e,i),s=t.isOptionDisabled(e,i);if(u){var c=t.getOptionValue(e);t.setValue(i.filter((function(e){return t.getOptionValue(e)!==c})),"deselect-option",e)}else{if(s)return void t.ariaOnChange(e,{action:"select-option",option:e,name:a});o?t.setValue([].concat(p(i),[e]),"select-option",e):t.setValue(e,"select-option")}r&&t.blurInput()},t.removeValue=function(e){var n=t.props.isMulti,r=t.state.selectValue,o=t.getOptionValue(e),a=r.filter((function(e){return t.getOptionValue(e)!==o})),i=Lt(n,a,a[0]||null);t.onChange(i,{action:"remove-value",removedValue:e}),t.focusInput()},t.clearValue=function(){var e=t.state.selectValue;t.onChange(Lt(t.props.isMulti,[],null),{action:"clear",removedValues:e})},t.popValue=function(){var e=t.props.isMulti,n=t.state.selectValue,r=n[n.length-1],o=n.slice(0,n.length-1),a=Lt(e,o,o[0]||null);t.onChange(a,{action:"pop-value",removedValue:r})},t.getValue=function(){return t.state.selectValue},t.cx=function(){for(var e=arguments.length,n=new Array(e),r=0;r5||a>5}},t.onTouchEnd=function(e){t.userIsDragging||(t.controlRef&&!t.controlRef.contains(e.target)&&t.menuListRef&&!t.menuListRef.contains(e.target)&&t.blurInput(),t.initialTouchX=0,t.initialTouchY=0)},t.onControlTouchEnd=function(e){t.userIsDragging||t.onControlMouseDown(e)},t.onClearIndicatorTouchEnd=function(e){t.userIsDragging||t.onClearIndicatorMouseDown(e)},t.onDropdownIndicatorTouchEnd=function(e){t.userIsDragging||t.onDropdownIndicatorMouseDown(e)},t.handleInputChange=function(e){var n=t.props.inputValue,r=e.currentTarget.value;t.setState({inputIsHiddenAfterUpdate:!1}),t.onInputChange(r,{action:"input-change",prevInputValue:n}),t.props.menuIsOpen||t.onMenuOpen()},t.onInputFocus=function(e){t.props.onFocus&&t.props.onFocus(e),t.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(t.openAfterFocus||t.props.openMenuOnFocus)&&t.openMenu("first"),t.openAfterFocus=!1},t.onInputBlur=function(e){var n=t.props.inputValue;t.menuListRef&&t.menuListRef.contains(document.activeElement)?t.inputRef.focus():(t.props.onBlur&&t.props.onBlur(e),t.onInputChange("",{action:"input-blur",prevInputValue:n}),t.onMenuClose(),t.setState({focusedValue:null,isFocused:!1}))},t.onOptionHover=function(e){t.blockOptionHover||t.state.focusedOption===e||t.setState({focusedOption:e})},t.shouldHideSelectedOptions=function(){return ar(t.props)},t.onValueInputFocus=function(e){e.preventDefault(),e.stopPropagation(),t.focus()},t.onKeyDown=function(e){var n=t.props,r=n.isMulti,o=n.backspaceRemovesValue,a=n.escapeClearsValue,i=n.inputValue,u=n.isClearable,s=n.isDisabled,c=n.menuIsOpen,l=n.onKeyDown,f=n.tabSelectsValue,p=n.openMenuOnFocus,d=t.state,h=d.focusedOption,m=d.focusedValue,y=d.selectValue;if(!(s||"function"==typeof l&&(l(e),e.defaultPrevented))){switch(t.blockOptionHover=!0,e.key){case"ArrowLeft":if(!r||i)return;t.focusValue("previous");break;case"ArrowRight":if(!r||i)return;t.focusValue("next");break;case"Delete":case"Backspace":if(i)return;if(m)t.removeValue(m);else{if(!o)return;r?t.popValue():u&&t.clearValue()}break;case"Tab":if(t.isComposing)return;if(e.shiftKey||!c||!f||!h||p&&t.isOptionSelected(h,y))return;t.selectOption(h);break;case"Enter":if(229===e.keyCode)break;if(c){if(!h)return;if(t.isComposing)return;t.selectOption(h);break}return;case"Escape":c?(t.setState({inputIsHiddenAfterUpdate:!1}),t.onInputChange("",{action:"menu-close",prevInputValue:i}),t.onMenuClose()):u&&a&&t.clearValue();break;case" ":if(i)return;if(!c){t.openMenu("first");break}if(!h)return;t.selectOption(h);break;case"ArrowUp":c?t.focusOption("up"):t.openMenu("last");break;case"ArrowDown":c?t.focusOption("down"):t.openMenu("first");break;case"PageUp":if(!c)return;t.focusOption("pageup");break;case"PageDown":if(!c)return;t.focusOption("pagedown");break;case"Home":if(!c)return;t.focusOption("first");break;case"End":if(!c)return;t.focusOption("last");break;default:return}e.preventDefault()}},t.instancePrefix="react-select-"+(t.props.instanceId||++ir),t.state.selectValue=kt(e.value),e.menuIsOpen&&t.state.selectValue.length){var n=t.buildFocusableOptions(),r=n.indexOf(t.state.selectValue[0]);t.state.focusedOption=n[r]}return t}return o=c,a=[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&Mt(this.menuListRef,this.focusedOptionRef)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isDisabled,r=t.menuIsOpen,o=this.state.isFocused;(o&&!n&&e.isDisabled||o&&r&&!e.menuIsOpen)&&this.focusInput(),o&&n&&!e.isDisabled?this.setState({isFocused:!1},this.onMenuClose):o||n||!e.isDisabled||this.inputRef!==document.activeElement||this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(Mt(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(e,t){this.props.onInputChange(e,t)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(e){var t=this,n=this.state,r=n.selectValue,o=n.isFocused,a=this.buildFocusableOptions(),i="first"===e?0:a.length-1;if(!this.props.isMulti){var u=a.indexOf(r[0]);u>-1&&(i=u)}this.scrollToFocusedOptionOnUpdate=!(o&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:a[i]},(function(){return t.onMenuOpen()}))}},{key:"focusValue",value:function(e){var t=this.state,n=t.selectValue,r=t.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var o=n.indexOf(r);r||(o=-1);var a=n.length-1,i=-1;if(n.length){switch(e){case"previous":i=0===o?0:-1===o?a:o-1;break;case"next":o>-1&&o0&&void 0!==arguments[0]?arguments[0]:"first",t=this.props.pageSize,n=this.state.focusedOption,r=this.getFocusableOptions();if(r.length){var o=0,a=r.indexOf(n);n||(a=-1),"up"===e?o=a>0?a-1:r.length-1:"down"===e?o=(a+1)%r.length:"pageup"===e?(o=a-t)<0&&(o=0):"pagedown"===e?(o=a+t)>r.length-1&&(o=r.length-1):"last"===e&&(o=r.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:r[o],focusedValue:null})}}},{key:"getTheme",value:function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme($n):_(_({},$n),this.props.theme):$n}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.cx,n=this.getStyles,r=this.getClassNames,o=this.getValue,a=this.selectOption,i=this.setValue,u=this.props,s=u.isMulti,c=u.isRtl,l=u.options;return{clearValue:e,cx:t,getStyles:n,getClassNames:r,getValue:o,hasValue:this.hasValue(),isMulti:s,isRtl:c,options:l,selectOption:a,selectProps:u,setValue:i,theme:this.getTheme()}}},{key:"hasValue",value:function(){return this.state.selectValue.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var e=this.props,t=e.isClearable,n=e.isMulti;return void 0===t?n:t}},{key:"isOptionDisabled",value:function(e,t){return nr(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return rr(this.props,e,t)}},{key:"filterOption",value:function(e,t){return or(this.props,e,t)}},{key:"formatOptionLabel",value:function(e,t){if("function"==typeof this.props.formatOptionLabel){var n=this.props.inputValue,r=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:n,selectValue:r})}return this.getOptionLabel(e)}},{key:"formatGroupLabel",value:function(e){return this.props.formatGroupLabel(e)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var e=this.props,t=e.isDisabled,n=e.isSearchable,r=e.inputId,o=e.inputValue,a=e.tabIndex,i=e.form,s=e.menuIsOpen,c=e.required,l=this.getComponents().Input,f=this.state,p=f.inputIsHidden,d=f.ariaSelection,h=this.commonProps,m=r||this.getElementId("input"),y=_(_(_({"aria-autocomplete":"list","aria-expanded":s,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":c,role:"combobox"},s&&{"aria-controls":this.getElementId("listbox"),"aria-owns":this.getElementId("listbox")}),!n&&{"aria-readonly":!0}),this.hasValue()?"initial-input-focus"===(null==d?void 0:d.action)&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return n?u.createElement(l,D({},h,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:m,innerRef:this.getInputRef,isDisabled:t,isHidden:p,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:a,form:i,type:"text",value:o},y)):u.createElement(Rn,D({id:m,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:wt,onFocus:this.onInputFocus,disabled:t,tabIndex:a,inputMode:"none",form:i,value:""},y))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,t=this.getComponents(),n=t.MultiValue,r=t.MultiValueContainer,o=t.MultiValueLabel,a=t.MultiValueRemove,i=t.SingleValue,s=t.Placeholder,c=this.commonProps,l=this.props,f=l.controlShouldRenderValue,p=l.isDisabled,d=l.isMulti,h=l.inputValue,m=l.placeholder,y=this.state,v=y.selectValue,b=y.focusedValue,g=y.isFocused;if(!this.hasValue()||!f)return h?null:u.createElement(s,D({},c,{key:"placeholder",isDisabled:p,isFocused:g,innerProps:{id:this.getElementId("placeholder")}}),m);if(d)return v.map((function(t,i){var s=t===b,l="".concat(e.getOptionLabel(t),"-").concat(e.getOptionValue(t));return u.createElement(n,D({},c,{components:{Container:r,Label:o,Remove:a},isFocused:s,isDisabled:p,key:l,index:i,removeProps:{onClick:function(){return e.removeValue(t)},onTouchEnd:function(){return e.removeValue(t)},onMouseDown:function(e){e.preventDefault()}},data:t}),e.formatOptionLabel(t,"value"))}));if(h)return null;var w=v[0];return u.createElement(i,D({},c,{data:w,isDisabled:p}),this.formatOptionLabel(w,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.getComponents().ClearIndicator,t=this.commonProps,n=this.props,r=n.isDisabled,o=n.isLoading,a=this.state.isFocused;if(!this.isClearable()||!e||r||!this.hasValue()||o)return null;var i={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return u.createElement(e,D({},t,{innerProps:i,isFocused:a}))}},{key:"renderLoadingIndicator",value:function(){var e=this.getComponents().LoadingIndicator,t=this.commonProps,n=this.props,r=n.isDisabled,o=n.isLoading,a=this.state.isFocused;return e&&o?u.createElement(e,D({},t,{innerProps:{"aria-hidden":"true"},isDisabled:r,isFocused:a})):null}},{key:"renderIndicatorSeparator",value:function(){var e=this.getComponents(),t=e.DropdownIndicator,n=e.IndicatorSeparator;if(!t||!n)return null;var r=this.commonProps,o=this.props.isDisabled,a=this.state.isFocused;return u.createElement(n,D({},r,{isDisabled:o,isFocused:a}))}},{key:"renderDropdownIndicator",value:function(){var e=this.getComponents().DropdownIndicator;if(!e)return null;var t=this.commonProps,n=this.props.isDisabled,r=this.state.isFocused,o={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return u.createElement(e,D({},t,{innerProps:o,isDisabled:n,isFocused:r}))}},{key:"renderMenu",value:function(){var e=this,t=this.getComponents(),n=t.Group,r=t.GroupHeading,o=t.Menu,a=t.MenuList,i=t.MenuPortal,s=t.LoadingMessage,c=t.NoOptionsMessage,l=t.Option,f=this.commonProps,p=this.state.focusedOption,d=this.props,h=d.captureMenuScroll,m=d.inputValue,y=d.isLoading,v=d.loadingMessage,b=d.minMenuHeight,g=d.maxMenuHeight,w=d.menuIsOpen,_=d.menuPlacement,O=d.menuPosition,k=d.menuPortalTarget,S=d.menuShouldBlockScroll,C=d.menuShouldScrollIntoView,E=d.noOptionsMessage,P=d.onMenuScrollToTop,x=d.onMenuScrollToBottom;if(!w)return null;var M,T=function(t,n){var r=t.type,o=t.data,a=t.isDisabled,i=t.isSelected,s=t.label,c=t.value,d=p===o,h=a?void 0:function(){return e.onOptionHover(o)},m=a?void 0:function(){return e.selectOption(o)},y="".concat(e.getElementId("option"),"-").concat(n),v={id:y,onClick:m,onMouseMove:h,onMouseOver:h,tabIndex:-1};return u.createElement(l,D({},f,{innerProps:v,data:o,isDisabled:a,isSelected:i,key:y,label:s,type:r,value:c,isFocused:d,innerRef:d?e.getFocusedOptionRef:void 0}),e.formatOptionLabel(t.data,"menu"))};if(this.hasOptions())M=this.getCategorizedOptions().map((function(t){if("group"===t.type){var o=t.data,a=t.options,i=t.index,s="".concat(e.getElementId("group"),"-").concat(i),c="".concat(s,"-heading");return u.createElement(n,D({},f,{key:s,data:o,options:a,Heading:r,headingProps:{id:c,data:t.data},label:e.formatGroupLabel(t.data)}),t.options.map((function(e){return T(e,"".concat(i,"-").concat(e.index))})))}if("option"===t.type)return T(t,"".concat(t.index))}));else if(y){var R=v({inputValue:m});if(null===R)return null;M=u.createElement(s,f,R)}else{var A=E({inputValue:m});if(null===A)return null;M=u.createElement(c,f,A)}var j={minMenuHeight:b,maxMenuHeight:g,menuPlacement:_,menuPosition:O,menuShouldScrollIntoView:C},I=u.createElement(Bt,D({},f,j),(function(t){var n=t.ref,r=t.placerProps,i=r.placement,s=r.maxHeight;return u.createElement(o,D({},f,j,{innerRef:n,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove,id:e.getElementId("listbox")},isLoading:y,placement:i}),u.createElement(Wn,{captureEnabled:h,onTopArrive:P,onBottomArrive:x,lockEnabled:S},(function(t){return u.createElement(a,D({},f,{innerRef:function(n){e.getMenuListRef(n),t(n)},isLoading:y,maxHeight:s,focusedOption:p}),M)})))}));return k||"fixed"===O?u.createElement(i,D({},f,{appendTo:k,controlElement:this.controlRef,menuPlacement:_,menuPosition:O}),I):I}},{key:"renderFormField",value:function(){var e=this,t=this.props,n=t.delimiter,r=t.isDisabled,o=t.isMulti,a=t.name,i=t.required,s=this.state.selectValue;if(a&&!r){if(i&&!this.hasValue())return u.createElement(Kn,{name:a,onFocus:this.onValueInputFocus});if(o){if(n){var c=s.map((function(t){return e.getOptionValue(t)})).join(n);return u.createElement("input",{name:a,type:"hidden",value:c})}var l=s.length>0?s.map((function(t,n){return u.createElement("input",{key:"i-".concat(n),name:a,type:"hidden",value:e.getOptionValue(t)})})):u.createElement("input",{name:a,type:"hidden",value:""});return u.createElement("div",null,l)}var f=s[0]?this.getOptionValue(s[0]):"";return u.createElement("input",{name:a,type:"hidden",value:f})}}},{key:"renderLiveRegion",value:function(){var e=this.commonProps,t=this.state,n=t.ariaSelection,r=t.focusedOption,o=t.focusedValue,a=t.isFocused,i=t.selectValue,s=this.getFocusableOptions();return u.createElement(gn,D({},e,{id:this.getElementId("live-region"),ariaSelection:n,focusedOption:r,focusedValue:o,isFocused:a,selectValue:i,focusableOptions:s}))}},{key:"render",value:function(){var e=this.getComponents(),t=e.Control,n=e.IndicatorsContainer,r=e.SelectContainer,o=e.ValueContainer,a=this.props,i=a.className,s=a.id,c=a.isDisabled,l=a.menuIsOpen,f=this.state.isFocused,p=this.commonProps=this.getCommonProps();return u.createElement(r,D({},p,{className:i,innerProps:{id:s,onKeyDown:this.onKeyDown},isDisabled:c,isFocused:f}),this.renderLiveRegion(),u.createElement(t,D({},p,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:c,isFocused:f,menuIsOpen:l}),u.createElement(o,D({},p,{isDisabled:c}),this.renderPlaceholderOrValue(),this.renderInput()),u.createElement(n,D({},p,{isDisabled:c}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],i=[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,r=t.clearFocusValueOnUpdate,o=t.inputIsHiddenAfterUpdate,a=t.ariaSelection,i=t.isFocused,u=t.prevWasFocused,s=e.options,c=e.value,l=e.menuIsOpen,f=e.inputValue,p=e.isMulti,d=kt(c),h={};if(n&&(c!==n.value||s!==n.options||l!==n.menuIsOpen||f!==n.inputValue)){var m=l?function(e,t){return Zn(Xn(e,t))}(e,d):[],y=r?function(e,t){var n=e.focusedValue,r=e.selectValue.indexOf(n);if(r>-1){if(t.indexOf(n)>-1)return n;if(r-1?n:t[0]}(t,m);h={selectValue:d,focusedOption:v,focusedValue:y,clearFocusValueOnUpdate:!1}}var b=null!=o&&e!==n?{inputIsHidden:o,inputIsHiddenAfterUpdate:void 0}:{},g=a,w=i&&u;return i&&!w&&(g={value:Lt(p,d,d[0]||null),options:d,action:"initial-input-focus"},w=!u),"initial-input-focus"===(null==a?void 0:a.action)&&(g=null),_(_(_({},h),b),{},{prevProps:e,ariaSelection:g,prevWasFocused:w})}}],a&&S(o.prototype,a),i&&S(o,i),Object.defineProperty(o,"prototype",{writable:!1}),c}(u.Component);ur.defaultProps=Qn;var sr=(0,u.forwardRef)((function(e,t){var n=function(e){var t=e.defaultInputValue,n=void 0===t?"":t,r=e.defaultMenuIsOpen,o=void 0!==r&&r,a=e.defaultValue,s=void 0===a?null:a,c=e.inputValue,l=e.menuIsOpen,f=e.onChange,p=e.onInputChange,d=e.onMenuClose,h=e.onMenuOpen,m=e.value,y=i(e,k),v=(0,u.useState)(void 0!==c?c:n),b=(0,O.A)(v,2),g=b[0],w=b[1],D=(0,u.useState)(void 0!==l?l:o),S=(0,O.A)(D,2),C=S[0],E=S[1],P=(0,u.useState)(void 0!==m?m:s),x=(0,O.A)(P,2),M=x[0],T=x[1],R=(0,u.useCallback)((function(e,t){"function"==typeof f&&f(e,t),T(e)}),[f]),A=(0,u.useCallback)((function(e,t){var n;"function"==typeof p&&(n=p(e,t)),w(void 0!==n?n:e)}),[p]),j=(0,u.useCallback)((function(){"function"==typeof h&&h(),E(!0)}),[h]),I=(0,u.useCallback)((function(){"function"==typeof d&&d(),E(!1)}),[d]),N=void 0!==c?c:g,L=void 0!==l?l:C,F=void 0!==m?m:M;return _(_({},y),{},{inputValue:N,menuIsOpen:L,onChange:R,onInputChange:A,onMenuClose:I,onMenuOpen:j,value:F})}(e);return u.createElement(ur,D({ref:t},n))})),cr=sr;function lr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function fr(e){for(var t=1;t').concat(s," ")}})))}var dr=n(6087),hr=n(1455),mr=n.n(hr);function yr(e){var t=e.postId,n=e.onChange,r=(0,dr.useState)(!1),o=(0,O.A)(r,2),a=o[0],i=o[1],s=(0,dr.useState)([]),c=(0,O.A)(s,2),l=c[0],f=c[1];return(0,dr.useEffect)((function(){mr()({path:"/wp/v2/posts/?per_page=-1"}).then((function(e){return f(e)}))}),[]),(0,u.createElement)("div",{className:"post-selector"},(0,u.createElement)(m.TextControl,{label:(0,d.__)("Post ID","gk-gravityview"),value:t,type:"number",min:"1",onChange:function(e){n(e),i(!0)}}),(0,u.createElement)("div",{className:"gk-gravityview-block suggestion-list"},function(){if(!l.length||!t||!a)return null;var e=l.filter((function(e){return e.id.toString().indexOf(t)>=0})).map((function(e){var t=e.id,r=e.title.rendered;return(0,u.createElement)("li",{key:t,onClick:function(){i(!1),n(t)},dangerouslySetInnerHTML:{__html:"ID : ".concat(t," => ").concat(r)}})}));return 0===e.length?null:(0,u.createElement)("ul",null,e)}()))}function vr(e){var t=e.isDisabled,n=void 0!==t&&t,r=e.toggleOpacity,o=void 0===r||r,a=e.children;return n?(0,u.createElement)("div",{className:n&&o?"disabled":""},(0,u.createElement)(m.Disabled,{isDisabled:n},a)):a}function br(e){var t=e.preview,n=e.disabled,r=void 0!==n&&n,o=e.onChange;return(0,u.createElement)(vr,{isDisabled:r},(0,u.createElement)(m.BaseControl,{className:"preview-control"},(0,u.createElement)(m.ToggleControl,{label:(0,d.__)("Preview","gk-gravityview"),checked:t,onChange:function(e){return o(e)}})))}function gr(e){var t=e.previewAsShortcode,n=e.disabled,r=void 0!==n&&n,o=e.onChange;return(0,u.createElement)(h.InspectorAdvancedControls,null,(0,u.createElement)("div",{className:"gravityview-blocks-preview-as-shortcode"},(0,u.createElement)(vr,{isDisabled:r},(0,u.createElement)(m.ToggleControl,{label:(0,d.__)("Preview As Shortcode","gk-gravityview"),checked:t,onChange:function(e){return o(e)}}))))}var wr=n(8967);function _r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Or(e){var t=e.blockPreviewImage,n=e.newViewUrl,r=(0,d._x)("You must [url]create a View[/url] before using this block.","Placeholders inside [] are not to be translated.","gk-gravityview").replace("[url]",'')).replace("[/url]"," "),o=(0,u.createElement)("p",{className:"no-views-notice",dangerouslySetInnerHTML:{__html:r}});return(0,u.createElement)("div",function(e){for(var t=1;t0&&v()(y).isValid(),F=(w||"").indexOf("-")>0&&v()(w).isValid();function Y(e){var t=gkGravityViewBlocks.views.find((function(t){return t.value===e}));s({viewId:e,secret:null==t?void 0:t.secret,previewBlock:!(R&&!e)&&R})}return(0,u.createElement)("div",function(e){for(var t=1;t",label:(0,d._x)("Not Equal",'Denotes search operator "<>".',"gk-gravityview")},{value:"not in",label:(0,d._x)("Not In",'Denotes search operator "not in".',"gk-gravityview")},{value:"in",label:(0,d._x)("In",'Denotes search operator "in".',"gk-gravityview")},{value:">",label:(0,d._x)("Greater",'Denotes search operator ">".',"gk-gravityview")},{value:"<",label:(0,d._x)("Lesser",'Denotes search operator "<".',"gk-gravityview")},{value:"contains",label:(0,d._x)("Contains",'Denotes search operator "contains".',"gk-gravityview")},{value:"starts_with",label:(0,d._x)("Starts With",'Denotes search operator "starts_with".',"gk-gravityview")},{value:"ends_with",label:(0,d._x)("Ends With",'Denotes search operator "ends_with".',"gk-gravityview")},{value:"like",label:(0,d._x)("Like",'Denotes search operator "like".',"gk-gravityview")},{value:">=",label:(0,d._x)("Greater Or Equal",'Denotes search operator ">=".',"gk-gravityview")},{value:"<=",label:(0,d._x)("Lesser Or Equal",'Denotes search operator "<=".',"gk-gravityview")}],onChange:function(e){return s({searchOperator:e})}}))),(0,u.createElement)(vr,{isDisabled:!l},(0,u.createElement)(m.TextControl,{label:(0,d._x)("Class","Denotes CSS class","gk-gravityview"),value:P,onChange:function(e){return s({classValue:e})}}),(0,u.createElement)(m.TextControl,{label:(0,d.__)("Offset","gk-gravityview"),value:x,type:"number",min:"0",onChange:function(e){return s({offset:e})}}),(0,u.createElement)(m.TextControl,{label:(0,d.__)("Single Title","gk-gravityview"),value:M,onChange:function(e){return s({singleTitle:e})}}),(0,u.createElement)(m.TextControl,{label:(0,d.__)("Back Link Label","gk-gravityview"),value:T,onChange:function(e){return s({backLinkLabel:e})}}),(0,u.createElement)(yr,{postId:f,onChange:function(e){return s({postId:e})}})))))),(0,u.createElement)(gr,{previewAsShortcode:A,disabled:!R,onChange:function(e){return s({previewAsShortcode:e})}}),!N&&(0,u.createElement)(u.Fragment,null,(0,u.createElement)("div",{className:"block-editor"},I,(0,u.createElement)(pr,{viewId:l,onChange:Y}),(0,u.createElement)(br,{disabled:!l,preview:R,onChange:function(e){return s({previewBlock:e})}}))),N&&(0,u.createElement)(u.Fragment,null,(0,u.createElement)("div",{className:"block-preview"},(0,u.createElement)(vr,{isDisabled:!0,toggleOpacity:!1},(0,u.createElement)(wr.A,{block:c,attributes:i,dataType:"json",loadStyles:!0,blockPreviewImage:I,onResponse:function(e){var t=document.createElement("div");return t.innerHTML=e,p(t.getElementsByTagName("script")).forEach((function(e){return e.remove()})),/gv-map-container/.test(e)&&p(t.querySelectorAll(".gv-map-canvas")).forEach((function(e){e.innerHTML='\n\t\t\t\t\t \n\t\t\t\t\t\n\t\t\t\t\t\t'.concat((0,d.__)("Map is not available in the Block preview","gk-gravityview"),"\n\t\t\t\t\t
")})),/gv-datatables/.test(e)&&p(t.querySelectorAll("table.gv-datatables")).forEach((function(e){var t=document.createElement("tbody");t.innerHTML='\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t').concat((0,d.__)("Entries from the DataTables layout are not available in the Block preview","gk-gravityview"),"\n\t\t\t\t\t\t \n\t\t\t\t\t "),e.querySelector("thead").appendChild(t)})),(0,u.createElement)("div",{dangerouslySetInnerHTML:{__html:t.innerHTML}})}})))))},save:function(){return null},transforms:{from:[{type:"shortcode",tag:["gravityview"],attributes:{viewId:{type:"string",shortcode:function(e){return e.named.viewId}},postId:{type:"number",shortcode:function(e){return e.named.postId}},pageSize:{type:"string",shortcode:function(e){return e.named.pageSize}},sortField:{type:"string",shortcode:function(e){return e.named.sortField}},sortDirection:{type:"string",shortcode:function(e){return e.named.sortDirection}},searchField:{type:"string",shortcode:function(e){return e.named.searchField}},searchValue:{type:"string",shortcode:function(e){return e.named.searchValue}},searchOperator:{type:"string",shortcode:function(e){return e.named.searchOperator}},startDate:{type:"string",shortcode:function(e){return e.named.startDate}},endDate:{type:"string",shortcode:function(e){return e.named.endDate}},class:{type:"string",shortcode:function(e){return e.named.classValue}},offset:{type:"string",shortcode:function(e){return e.named.offset}},singleTitle:{type:"string",shortcode:function(e){return e.named.singleTitle}},backLinkLabel:{type:"string",shortcode:function(e){return e.named.backLinkLabel}},detail:{type:"string",shortcode:function(e){return e.named.detail}}}}]}}))},3768:function(e,t,n){"use strict";var r=n(2837),o={loadedStyles:(0,r.eU)(new Set),loadedScripts:(0,r.eU)(new Set)};t.A=o},8967:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";var _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(296),react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(1609),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__),_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(7723),_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__),_wordpress_element__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(6087),_wordpress_element__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__),_wordpress_api_fetch__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(1455),_wordpress_api_fetch__WEBPACK_IMPORTED_MODULE_3___default=__webpack_require__.n(_wordpress_api_fetch__WEBPACK_IMPORTED_MODULE_3__),_wordpress_url__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(3832),_wordpress_url__WEBPACK_IMPORTED_MODULE_4___default=__webpack_require__.n(_wordpress_url__WEBPACK_IMPORTED_MODULE_4__),_wordpress_components__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(6427),_wordpress_components__WEBPACK_IMPORTED_MODULE_5___default=__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_5__),dangerously_set_html_content__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(7733),jotai__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(2837),_global_store__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(3768),API_PATH="/wp/v2/block-renderer",DEBOUNCE_FETCH=500,loadAsset=function(e){var t=e.asset,n=e.type,r=e.onLoad,o="js"===n?document.createElement("script"):document.createElement("link");"js"===n?(o.setAttribute("type","text/javascript"),o.setAttribute("src",t),o.onload=r):(o.setAttribute("rel","stylesheet"),o.setAttribute("type","text/css"),o.setAttribute("href",t)),document.body.appendChild(o)},ServerSideRender=function ServerSideRender(props){var block=props.block,blockPreviewImage=props.blockPreviewImage,dataType=props.dataType,attributes=props.attributes,loadScripts=props.loadScripts,loadStyles=props.loadStyles,onEmptyResponse=props.onEmptyResponse,onError=props.onError,onLoading=props.onLoading,onResponse=props.onResponse,_useState=(0,_wordpress_element__WEBPACK_IMPORTED_MODULE_2__.useState)(null),_useState2=(0,_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_8__.A)(_useState,2),response=_useState2[0],setResponse=_useState2[1],_useState3=(0,_wordpress_element__WEBPACK_IMPORTED_MODULE_2__.useState)(!0),_useState4=(0,_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_8__.A)(_useState3,2),isFetching=_useState4[0],setIsFetching=_useState4[1],_useState5=(0,_wordpress_element__WEBPACK_IMPORTED_MODULE_2__.useState)(null),_useState6=(0,_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_8__.A)(_useState5,2),error=_useState6[0],setError=_useState6[1],_useAtom=(0,jotai__WEBPACK_IMPORTED_MODULE_9__.fp)(_global_store__WEBPACK_IMPORTED_MODULE_7__.A.loadedScripts),_useAtom2=(0,_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_8__.A)(_useAtom,2),loadedScripts=_useAtom2[0],setLoadedScripts=_useAtom2[1],_useAtom3=(0,jotai__WEBPACK_IMPORTED_MODULE_9__.fp)(_global_store__WEBPACK_IMPORTED_MODULE_7__.A.loadedStyles),_useAtom4=(0,_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_8__.A)(_useAtom3,2),loadedStyles=_useAtom4[0],setLoadedStyles=_useAtom4[1];(0,_wordpress_element__WEBPACK_IMPORTED_MODULE_2__.useEffect)((function(){var e=setTimeout((function(){return fetch()}),DEBOUNCE_FETCH);return function(){return clearTimeout(e)}}),[attributes]);var fetch=function fetch(){var path=(0,_wordpress_url__WEBPACK_IMPORTED_MODULE_4__.addQueryArgs)("".concat(API_PATH,"/").concat(block),{context:"edit",attributes:attributes});setIsFetching(!0),_wordpress_api_fetch__WEBPACK_IMPORTED_MODULE_3___default()({path:path}).then((function(res){if("json"===dataType){var _response=JSON.parse(res.rendered);loadStyles&&Object.values(_response.styles).forEach((function(e){loadedStyles.has(e)||(loadAsset({asset:e,type:"css"}),setLoadedStyles(loadedStyles.add(e)))})),loadScripts&&Object.values(_response.scripts).forEach((function(asset){var assetToLoad=asset;loadedScripts.has(asset)||loadedScripts.has(null==asset?void 0:asset.src)||(null!=asset&&asset.src&&(assetToLoad=asset.src),null!=asset&&asset.data&&eval(asset.data),loadAsset({assetToLoad:assetToLoad,type:"js"}),setLoadedScripts(loadedScripts.add(assetToLoad)))})),setTimeout((function(){setResponse(_response.content),setIsFetching(!1)}),250)}else setResponse(res.rendered),setIsFetching(!1)})).catch((function(e){setError(e),setIsFetching(!1)}))};return error?"function"==typeof onError?onError(error):(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("div",{className:"error-state"},_x("The block could not be rendered due to an error: [error]","[error] placeholder will be replaced with an error message and is not to be translated.","gk-gravitykit").replace("[error]",error.message)):isFetching&&response?"function"==typeof onLoading?onLoading(response):(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("div",{className:"loading-state"},(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("div",{className:"loader"},(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_5__.Spinner,null)),(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(dangerously_set_html_content__WEBPACK_IMPORTED_MODULE_6__.A,{html:response})):isFetching?"function"==typeof onLoading?onLoading():(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("div",{className:"loading-state initial"},(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("div",{className:"loader"},(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_5__.Spinner,null)),blockPreviewImage):response?"function"==typeof onResponse?onResponse(response):(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(dangerously_set_html_content__WEBPACK_IMPORTED_MODULE_6__.A,{html:response}):"function"==typeof onEmptyResponse?onEmptyResponse():(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("div",{class:"empty-response"},(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("p",null,(0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)("The block did not render any content.","gk-gravityview")))};__webpack_exports__.A=ServerSideRender},2485:function(e,t){var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t=0||(o[n]=e[n]);return o}(e,i),u=(0,r.useRef)(null),s=(0,r.useRef)(!0);return(0,r.useEffect)((function(){if(!t||!u.current)throw new Error("html prop cant't be null");if(s.current){s.current=!1;var e=document.createRange().createContextualFragment(t);u.current.innerHTML="",u.current.appendChild(e)}}),[t,u]),o().createElement("div",a({},n,{ref:u}))}},4274:function(e,t,n){"use strict";n.d(t,{A:function(){return p}});var r={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function o(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}var a={date:o({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:o({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:o({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},i={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function u(e){return function(t,n){var r;if("formatting"===(null!=n&&n.context?String(n.context):"standalone")&&e.formattingValues){var o=e.defaultFormattingWidth||e.defaultWidth,a=null!=n&&n.width?String(n.width):o;r=e.formattingValues[a]||e.formattingValues[o]}else{var i=e.defaultWidth,u=null!=n&&n.width?String(n.width):e.defaultWidth;r=e.values[u]||e.values[i]}return r[e.argumentCallback?e.argumentCallback(t):t]}}var s={ordinalNumber:function(e,t){var n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:u({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:u({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:u({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:u({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:u({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})};function c(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.width,o=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],a=t.match(o);if(!a)return null;var i,u=a[0],s=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],c=Array.isArray(s)?function(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{},n=e.match(l.matchPattern);if(!n)return null;var r=n[0],o=e.match(l.parsePattern);if(!o)return null;var a=l.valueCallback?l.valueCallback(o[0]):o[0];return{value:a=t.valueCallback?t.valueCallback(a):a,rest:e.slice(r.length)}}),era:c({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:c({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:c({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:c({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:c({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},p={code:"en-US",formatDistance:function(e,t,n){var o,a=r[e];return o="string"==typeof a?a:1===t?a.one:a.other.replace("{{count}}",t.toString()),null!=n&&n.addSuffix?n.comparison&&n.comparison>0?"in "+o:o+" ago":o},formatLong:a,formatRelative:function(e,t,n,r){return i[e]},localize:s,match:f,options:{weekStartsOn:0,firstWeekContainsDate:1}}},1858:function(e,t,n){"use strict";n.d(t,{q:function(){return o}});var r={};function o(){return r}},1788:function(e,t){"use strict";var n=function(e,t){switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},r=function(e,t){switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}},o={p:r,P:function(e,t){var o,a=e.match(/(P+)(p+)?/)||[],i=a[1],u=a[2];if(!u)return n(e,t);switch(i){case"P":o=t.dateTime({width:"short"});break;case"PP":o=t.dateTime({width:"medium"});break;case"PPP":o=t.dateTime({width:"long"});break;default:o=t.dateTime({width:"full"})}return o.replace("{{date}}",n(i,t)).replace("{{time}}",r(u,t))}};t.A=o},7044:function(e,t,n){"use strict";function r(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}n.d(t,{A:function(){return r}})},1053:function(e,t,n){"use strict";n.d(t,{A:function(){return s}});var r=n(123),o=n(9411),a=n(4127),i=n(551),u=6048e5;function s(e){(0,i.A)(1,arguments);var t=(0,r.default)(e),n=(0,o.A)(t).getTime()-function(e){(0,i.A)(1,arguments);var t=(0,a.A)(e),n=new Date(0);return n.setUTCFullYear(t,0,4),n.setUTCHours(0,0,0,0),(0,o.A)(n)}(t).getTime();return Math.round(n/u)+1}},4127:function(e,t,n){"use strict";n.d(t,{A:function(){return i}});var r=n(123),o=n(551),a=n(9411);function i(e){(0,o.A)(1,arguments);var t=(0,r.default)(e),n=t.getUTCFullYear(),i=new Date(0);i.setUTCFullYear(n+1,0,4),i.setUTCHours(0,0,0,0);var u=(0,a.A)(i),s=new Date(0);s.setUTCFullYear(n,0,4),s.setUTCHours(0,0,0,0);var c=(0,a.A)(s);return t.getTime()>=u.getTime()?n+1:t.getTime()>=c.getTime()?n:n-1}},6894:function(e,t,n){"use strict";n.d(t,{A:function(){return l}});var r=n(123),o=n(9742),a=n(464),i=n(551),u=n(4188),s=n(1858),c=6048e5;function l(e,t){(0,i.A)(1,arguments);var n=(0,r.default)(e),l=(0,o.A)(n,t).getTime()-function(e,t){var n,r,c,l,f,p,d,h;(0,i.A)(1,arguments);var m=(0,s.q)(),y=(0,u.A)(null!==(n=null!==(r=null!==(c=null!==(l=null==t?void 0:t.firstWeekContainsDate)&&void 0!==l?l:null==t||null===(f=t.locale)||void 0===f||null===(p=f.options)||void 0===p?void 0:p.firstWeekContainsDate)&&void 0!==c?c:m.firstWeekContainsDate)&&void 0!==r?r:null===(d=m.locale)||void 0===d||null===(h=d.options)||void 0===h?void 0:h.firstWeekContainsDate)&&void 0!==n?n:1),v=(0,a.A)(e,t),b=new Date(0);return b.setUTCFullYear(v,0,y),b.setUTCHours(0,0,0,0),(0,o.A)(b,t)}(n,t).getTime();return Math.round(l/c)+1}},464:function(e,t,n){"use strict";n.d(t,{A:function(){return s}});var r=n(123),o=n(551),a=n(9742),i=n(4188),u=n(1858);function s(e,t){var n,s,c,l,f,p,d,h;(0,o.A)(1,arguments);var m=(0,r.default)(e),y=m.getUTCFullYear(),v=(0,u.q)(),b=(0,i.A)(null!==(n=null!==(s=null!==(c=null!==(l=null==t?void 0:t.firstWeekContainsDate)&&void 0!==l?l:null==t||null===(f=t.locale)||void 0===f||null===(p=f.options)||void 0===p?void 0:p.firstWeekContainsDate)&&void 0!==c?c:v.firstWeekContainsDate)&&void 0!==s?s:null===(d=v.locale)||void 0===d||null===(h=d.options)||void 0===h?void 0:h.firstWeekContainsDate)&&void 0!==n?n:1);if(!(b>=1&&b<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var g=new Date(0);g.setUTCFullYear(y+1,0,b),g.setUTCHours(0,0,0,0);var w=(0,a.A)(g,t),_=new Date(0);_.setUTCFullYear(y,0,b),_.setUTCHours(0,0,0,0);var O=(0,a.A)(_,t);return m.getTime()>=w.getTime()?y+1:m.getTime()>=O.getTime()?y:y-1}},1109:function(e,t,n){"use strict";n.d(t,{ef:function(){return a},lJ:function(){return u},xM:function(){return i}});var r=["D","DD"],o=["YY","YYYY"];function a(e){return-1!==r.indexOf(e)}function i(e){return-1!==o.indexOf(e)}function u(e,t,n){if("YYYY"===e)throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("YY"===e)throw new RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("D"===e)throw new RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("DD"===e)throw new RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}},551:function(e,t,n){"use strict";function r(e,t){if(t.length1?"s":"")+" required, but only "+t.length+" present")}n.d(t,{A:function(){return r}})},9411:function(e,t,n){"use strict";n.d(t,{A:function(){return a}});var r=n(123),o=n(551);function a(e){(0,o.A)(1,arguments);var t=(0,r.default)(e),n=t.getUTCDay(),a=(n<1?7:0)+n-1;return t.setUTCDate(t.getUTCDate()-a),t.setUTCHours(0,0,0,0),t}},9742:function(e,t,n){"use strict";n.d(t,{A:function(){return u}});var r=n(123),o=n(551),a=n(4188),i=n(1858);function u(e,t){var n,u,s,c,l,f,p,d;(0,o.A)(1,arguments);var h=(0,i.q)(),m=(0,a.A)(null!==(n=null!==(u=null!==(s=null!==(c=null==t?void 0:t.weekStartsOn)&&void 0!==c?c:null==t||null===(l=t.locale)||void 0===l||null===(f=l.options)||void 0===f?void 0:f.weekStartsOn)&&void 0!==s?s:h.weekStartsOn)&&void 0!==u?u:null===(p=h.locale)||void 0===p||null===(d=p.options)||void 0===d?void 0:d.weekStartsOn)&&void 0!==n?n:0);if(!(m>=0&&m<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var y=(0,r.default)(e),v=y.getUTCDay(),b=(v=s.getDate()?s:(n.setFullYear(s.getFullYear(),s.getMonth(),u),n)}},2238:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return i}});var r=n(4188),o=n(2998),a=n(551);function i(e,t){(0,a.A)(2,arguments);var n=7*(0,r.A)(t);return(0,o.default)(e,n)}},9317:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return i}});var r=n(4188),o=n(2118),a=n(551);function i(e,t){(0,a.A)(2,arguments);var n=(0,r.A)(t);return(0,o.default)(e,12*n)}},7499:function(e,t,n){"use strict";n.d(t,{Cg:function(){return r},_m:function(){return a},s0:function(){return o}}),Math.pow(10,8);var r=6e4,o=36e5,a=1e3},63:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return u}});var r=n(7044),o=n(1127),a=n(551),i=864e5;function u(e,t){(0,a.A)(2,arguments);var n=(0,o.default)(e),u=(0,o.default)(t),s=n.getTime()-(0,r.A)(n),c=u.getTime()-(0,r.A)(u);return Math.round((s-c)/i)}},667:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return a}});var r=n(123),o=n(551);function a(e,t){(0,o.A)(2,arguments);var n=(0,r.default)(e),a=(0,r.default)(t);return 12*(n.getFullYear()-a.getFullYear())+(n.getMonth()-a.getMonth())}},733:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return u}});var r=n(7827),o=n(7044),a=n(551),i=6048e5;function u(e,t,n){(0,a.A)(2,arguments);var u=(0,r.default)(e,n),s=(0,r.default)(t,n),c=u.getTime()-(0,o.A)(u),l=s.getTime()-(0,o.A)(s);return Math.round((c-l)/i)}},2002:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return a}});var r=n(123),o=n(551);function a(e,t){(0,o.A)(2,arguments);var n=(0,r.default)(e),a=(0,r.default)(t);return n.getFullYear()-a.getFullYear()}},6212:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return a}});var r=n(123),o=n(551);function a(e){(0,o.A)(1,arguments);var t=(0,r.default)(e);return t.setHours(23,59,59,999),t}},9312:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return a}});var r=n(123),o=n(551);function a(e){(0,o.A)(1,arguments);var t=(0,r.default)(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(23,59,59,999),t}},6462:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return u}});var r=n(1858),o=n(123),a=n(4188),i=n(551);function u(e,t){var n,u,s,c,l,f,p,d;(0,i.A)(1,arguments);var h=(0,r.q)(),m=(0,a.A)(null!==(n=null!==(u=null!==(s=null!==(c=null==t?void 0:t.weekStartsOn)&&void 0!==c?c:null==t||null===(l=t.locale)||void 0===l||null===(f=l.options)||void 0===f?void 0:f.weekStartsOn)&&void 0!==s?s:h.weekStartsOn)&&void 0!==u?u:null===(p=h.locale)||void 0===p||null===(d=p.options)||void 0===d?void 0:d.weekStartsOn)&&void 0!==n?n:0);if(!(m>=0&&m<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var y=(0,o.default)(e),v=y.getDay(),b=6+(v0?n:1-n;return f("yy"===t?r%100:r,t.length)},d=function(e,t){var n=e.getUTCMonth();return"M"===t?String(n+1):f(n+1,2)},h=function(e,t){return f(e.getUTCDate(),t.length)},m=function(e,t){return f(e.getUTCHours()%12||12,t.length)},y=function(e,t){return f(e.getUTCHours(),t.length)},v=function(e,t){return f(e.getUTCMinutes(),t.length)},b=function(e,t){return f(e.getUTCSeconds(),t.length)},g=function(e,t){var n=t.length,r=e.getUTCMilliseconds();return f(Math.floor(r*Math.pow(10,n-3)),t.length)},w={G:function(e,t,n){var r=e.getUTCFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if("yo"===t){var r=e.getUTCFullYear(),o=r>0?r:1-r;return n.ordinalNumber(o,{unit:"year"})}return p(e,t)},Y:function(e,t,n,r){var o=(0,l.A)(e,r),a=o>0?o:1-o;return"YY"===t?f(a%100,2):"Yo"===t?n.ordinalNumber(a,{unit:"year"}):f(a,t.length)},R:function(e,t){return f((0,s.A)(e),t.length)},u:function(e,t){return f(e.getUTCFullYear(),t.length)},Q:function(e,t,n){var r=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return f(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){var r=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return f(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){var r=e.getUTCMonth();switch(t){case"M":case"MM":return d(e,t);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){var r=e.getUTCMonth();switch(t){case"L":return String(r+1);case"LL":return f(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){var o=(0,c.A)(e,r);return"wo"===t?n.ordinalNumber(o,{unit:"week"}):f(o,t.length)},I:function(e,t,n){var r=(0,u.A)(e);return"Io"===t?n.ordinalNumber(r,{unit:"week"}):f(r,t.length)},d:function(e,t,n){return"do"===t?n.ordinalNumber(e.getUTCDate(),{unit:"date"}):h(e,t)},D:function(e,t,n){var r=function(e){(0,i.A)(1,arguments);var t=(0,a.default)(e),n=t.getTime();t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0);var r=n-t.getTime();return Math.floor(r/864e5)+1}(e);return"Do"===t?n.ordinalNumber(r,{unit:"dayOfYear"}):f(r,t.length)},E:function(e,t,n){var r=e.getUTCDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){var o=e.getUTCDay(),a=(o-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(a);case"ee":return f(a,2);case"eo":return n.ordinalNumber(a,{unit:"day"});case"eee":return n.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(o,{width:"short",context:"formatting"});default:return n.day(o,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){var o=e.getUTCDay(),a=(o-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(a);case"cc":return f(a,t.length);case"co":return n.ordinalNumber(a,{unit:"day"});case"ccc":return n.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(o,{width:"narrow",context:"standalone"});case"cccccc":return n.day(o,{width:"short",context:"standalone"});default:return n.day(o,{width:"wide",context:"standalone"})}},i:function(e,t,n){var r=e.getUTCDay(),o=0===r?7:r;switch(t){case"i":return String(o);case"ii":return f(o,t.length);case"io":return n.ordinalNumber(o,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){var r=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(e,t,n){var r,o=e.getUTCHours();switch(r=12===o?"noon":0===o?"midnight":o/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(e,t,n){var r,o=e.getUTCHours();switch(r=o>=17?"evening":o>=12?"afternoon":o>=4?"morning":"night",t){case"B":case"BB":case"BBB":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(e,t,n){if("ho"===t){var r=e.getUTCHours()%12;return 0===r&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return m(e,t)},H:function(e,t,n){return"Ho"===t?n.ordinalNumber(e.getUTCHours(),{unit:"hour"}):y(e,t)},K:function(e,t,n){var r=e.getUTCHours()%12;return"Ko"===t?n.ordinalNumber(r,{unit:"hour"}):f(r,t.length)},k:function(e,t,n){var r=e.getUTCHours();return 0===r&&(r=24),"ko"===t?n.ordinalNumber(r,{unit:"hour"}):f(r,t.length)},m:function(e,t,n){return"mo"===t?n.ordinalNumber(e.getUTCMinutes(),{unit:"minute"}):v(e,t)},s:function(e,t,n){return"so"===t?n.ordinalNumber(e.getUTCSeconds(),{unit:"second"}):b(e,t)},S:function(e,t){return g(e,t)},X:function(e,t,n,r){var o=(r._originalDate||e).getTimezoneOffset();if(0===o)return"Z";switch(t){case"X":return O(o);case"XXXX":case"XX":return k(o);default:return k(o,":")}},x:function(e,t,n,r){var o=(r._originalDate||e).getTimezoneOffset();switch(t){case"x":return O(o);case"xxxx":case"xx":return k(o);default:return k(o,":")}},O:function(e,t,n,r){var o=(r._originalDate||e).getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+_(o,":");default:return"GMT"+k(o,":")}},z:function(e,t,n,r){var o=(r._originalDate||e).getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+_(o,":");default:return"GMT"+k(o,":")}},t:function(e,t,n,r){var o=r._originalDate||e;return f(Math.floor(o.getTime()/1e3),t.length)},T:function(e,t,n,r){return f((r._originalDate||e).getTime(),t.length)}};function _(e,t){var n=e>0?"-":"+",r=Math.abs(e),o=Math.floor(r/60),a=r%60;if(0===a)return n+String(o);var i=t||"";return n+String(o)+i+f(a,2)}function O(e,t){return e%60==0?(e>0?"-":"+")+f(Math.abs(e)/60,2):k(e,t)}function k(e,t){var n=t||"",r=e>0?"-":"+",o=Math.abs(e);return r+f(Math.floor(o/60),2)+n+f(o%60,2)}var D=w,S=n(1788),C=n(7044),E=n(1109),P=n(4188),x=n(1858),M=n(4274),T=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,R=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,A=/^'([^]*?)'?$/,j=/''/g,I=/[a-zA-Z]/;function N(e,t,n){var u,s,c,l,f,p,d,h,m,y,v,b,g,w,_,O,k,N;(0,i.A)(2,arguments);var L=String(t),F=(0,x.q)(),Y=null!==(u=null!==(s=null==n?void 0:n.locale)&&void 0!==s?s:F.locale)&&void 0!==u?u:M.A,B=(0,P.A)(null!==(c=null!==(l=null!==(f=null!==(p=null==n?void 0:n.firstWeekContainsDate)&&void 0!==p?p:null==n||null===(d=n.locale)||void 0===d||null===(h=d.options)||void 0===h?void 0:h.firstWeekContainsDate)&&void 0!==f?f:F.firstWeekContainsDate)&&void 0!==l?l:null===(m=F.locale)||void 0===m||null===(y=m.options)||void 0===y?void 0:y.firstWeekContainsDate)&&void 0!==c?c:1);if(!(B>=1&&B<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var U=(0,P.A)(null!==(v=null!==(b=null!==(g=null!==(w=null==n?void 0:n.weekStartsOn)&&void 0!==w?w:null==n||null===(_=n.locale)||void 0===_||null===(O=_.options)||void 0===O?void 0:O.weekStartsOn)&&void 0!==g?g:F.weekStartsOn)&&void 0!==b?b:null===(k=F.locale)||void 0===k||null===(N=k.options)||void 0===N?void 0:N.weekStartsOn)&&void 0!==v?v:0);if(!(U>=0&&U<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!Y.localize)throw new RangeError("locale must contain localize property");if(!Y.formatLong)throw new RangeError("locale must contain formatLong property");var V=(0,a.default)(e);if(!(0,r.default)(V))throw new RangeError("Invalid time value");var H=(0,C.A)(V),W=(0,o.A)(V,H),q={firstWeekContainsDate:B,weekStartsOn:U,locale:Y,_originalDate:V};return L.match(R).map((function(e){var t=e[0];return"p"===t||"P"===t?(0,S.A[t])(e,Y.formatLong):e})).join("").match(T).map((function(r){if("''"===r)return"'";var o,a,i=r[0];if("'"===i)return(a=(o=r).match(A))?a[1].replace(j,"'"):o;var u=D[i];if(u)return null!=n&&n.useAdditionalWeekYearTokens||!(0,E.xM)(r)||(0,E.lJ)(r,t,String(e)),null!=n&&n.useAdditionalDayOfYearTokens||!(0,E.ef)(r)||(0,E.lJ)(r,t,String(e)),u(W,r,Y.localize,q);if(i.match(I))throw new RangeError("Format string contains an unescaped latin alphabet character `"+i+"`");return r})).join("")}},274:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return a}});var r=n(123),o=n(551);function a(e){return(0,o.A)(1,arguments),(0,r.default)(e).getDate()}},7512:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return a}});var r=n(123),o=n(551);function a(e){return(0,o.A)(1,arguments),(0,r.default)(e).getDay()}},8089:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return a}});var r=n(123),o=n(551);function a(e){return(0,o.A)(1,arguments),(0,r.default)(e).getHours()}},8850:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return s}});var r=n(123),o=n(7827),a=n(551);function i(e){return(0,a.A)(1,arguments),(0,o.default)(e,{weekStartsOn:1})}var u=6048e5;function s(e){(0,a.A)(1,arguments);var t=(0,r.default)(e),n=i(t).getTime()-function(e){(0,a.A)(1,arguments);var t=function(e){(0,a.A)(1,arguments);var t=(0,r.default)(e),n=t.getFullYear(),o=new Date(0);o.setFullYear(n+1,0,4),o.setHours(0,0,0,0);var u=i(o),s=new Date(0);s.setFullYear(n,0,4),s.setHours(0,0,0,0);var c=i(s);return t.getTime()>=u.getTime()?n+1:t.getTime()>=c.getTime()?n:n-1}(e),n=new Date(0);return n.setFullYear(t,0,4),n.setHours(0,0,0,0),i(n)}(t).getTime();return Math.round(n/u)+1}},2563:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return a}});var r=n(123),o=n(551);function a(e){return(0,o.A)(1,arguments),(0,r.default)(e).getMinutes()}},2044:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return a}});var r=n(123),o=n(551);function a(e){return(0,o.A)(1,arguments),(0,r.default)(e).getMonth()}},4158:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return a}});var r=n(123),o=n(551);function a(e){(0,o.A)(1,arguments);var t=(0,r.default)(e);return Math.floor(t.getMonth()/3)+1}},9251:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return a}});var r=n(123),o=n(551);function a(e){return(0,o.A)(1,arguments),(0,r.default)(e).getSeconds()}},8519:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return a}});var r=n(123),o=n(551);function a(e){return(0,o.A)(1,arguments),(0,r.default)(e).getTime()}},2379:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return a}});var r=n(123),o=n(551);function a(e){return(0,o.A)(1,arguments),(0,r.default)(e).getFullYear()}},9672:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return a}});var r=n(123),o=n(551);function a(e,t){(0,o.A)(2,arguments);var n=(0,r.default)(e),a=(0,r.default)(t);return n.getTime()>a.getTime()}},7813:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return a}});var r=n(123),o=n(551);function a(e,t){(0,o.A)(2,arguments);var n=(0,r.default)(e),a=(0,r.default)(t);return n.getTime()=a&&n<=i}},7440:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return i}});var r=n(123),o=n(551);function a(e){return a="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},a(e)}function i(e){var t,n;if((0,o.A)(1,arguments),e&&"function"==typeof e.forEach)t=e;else{if("object"!==a(e)||null===e)return new Date(NaN);t=Array.prototype.slice.call(e)}return t.forEach((function(e){var t=(0,r.default)(e);(void 0===n||nt||isNaN(t.getDate()))&&(n=t)})),n||new Date(NaN)}},892:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return Mo}});var r=n(4274),o=n(5654),a=n(123);function i(e,t){if(null==e)throw new TypeError("assign requires that input parameter not be null or undefined");for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}var u=n(1788),s=n(7044),c=n(1109),l=n(4188),f=n(551);function p(e){return p="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},p(e)}function d(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&&h(e,t)}function h(e,t){return h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},h(e,t)}function m(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=v(e);if(t){var o=v(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){return!t||"object"!==p(t)&&"function"!=typeof t?y(e):t}(this,n)}}function y(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v(e){return v=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},v(e)}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;n0,o=r?t:1-t;if(o<=50)n=e||100;else{var a=o+50;n=e+100*Math.floor(a/100)-(e>=a%100?100:0)}return r?n:1-n}function de(e){return e%400==0||e%4==0&&e%100!=0}function he(e){return he="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},he(e)}function me(e,t){for(var n=0;n0}},{key:"set",value:function(e,t,n){var r=e.getUTCFullYear();if(n.isTwoDigitYear){var o=pe(n.year,r);return e.setUTCFullYear(o,0,1),e.setUTCHours(0,0,0,0),e}var a="era"in t&&1!==t.era?1-n.year:n.year;return e.setUTCFullYear(a,0,1),e.setUTCHours(0,0,0,0),e}}])&&me(t.prototype,n),i}(C),_e=n(464),Oe=n(9742);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},ke(e)}function De(e,t){for(var n=0;n0}},{key:"set",value:function(e,t,n,r){var o=(0,_e.A)(e,r);if(n.isTwoDigitYear){var a=pe(n.year,o);return e.setUTCFullYear(a,0,r.firstWeekContainsDate),e.setUTCHours(0,0,0,0),(0,Oe.A)(e,r)}var i="era"in t&&1!==t.era?1-n.year:n.year;return e.setUTCFullYear(i,0,r.firstWeekContainsDate),e.setUTCHours(0,0,0,0),(0,Oe.A)(e,r)}}])&&De(t.prototype,n),i}(C),Me=n(9411);function Te(e){return Te="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},Te(e)}function Re(e,t){for(var n=0;n=1&&t<=4}},{key:"set",value:function(e,t,n){return e.setUTCMonth(3*(n-1),1),e.setUTCHours(0,0,0,0),e}}])&&Ke(t.prototype,n),i}(C);function Ze(e){return Ze="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},Ze(e)}function Je(e,t){for(var n=0;n=1&&t<=4}},{key:"set",value:function(e,t,n){return e.setUTCMonth(3*(n-1),1),e.setUTCHours(0,0,0,0),e}}])&&Je(t.prototype,n),i}(C);function at(e){return at="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},at(e)}function it(e,t){for(var n=0;n=0&&t<=11}},{key:"set",value:function(e,t,n){return e.setUTCMonth(n,1),e.setUTCHours(0,0,0,0),e}}])&&it(t.prototype,n),i}(C);function pt(e){return pt="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},pt(e)}function dt(e,t){for(var n=0;n=0&&t<=11}},{key:"set",value:function(e,t,n){return e.setUTCMonth(n,1),e.setUTCHours(0,0,0,0),e}}])&&dt(t.prototype,n),i}(C),gt=n(6894);function wt(e){return wt="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},wt(e)}function _t(e,t){for(var n=0;n=1&&t<=53}},{key:"set",value:function(e,t,n,r){return(0,Oe.A)(function(e,t,n){(0,f.A)(2,arguments);var r=(0,a.default)(e),o=(0,l.A)(t),i=(0,gt.A)(r,n)-o;return r.setUTCDate(r.getUTCDate()-7*i),r}(e,n,r),r)}}],n&&_t(t.prototype,n),u}(C),Et=n(1053);function Pt(e){return Pt="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},Pt(e)}function xt(e,t){for(var n=0;n=1&&t<=53}},{key:"set",value:function(e,t,n){return(0,Me.A)(function(e,t){(0,f.A)(2,arguments);var n=(0,a.default)(e),r=(0,l.A)(t),o=(0,Et.A)(n)-r;return n.setUTCDate(n.getUTCDate()-7*o),n}(e,n))}}],n&&xt(t.prototype,n),u}(C);function It(e){return It="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},It(e)}function Nt(e,t){for(var n=0;n=1&&t<=Vt[r]:t>=1&&t<=Ut[r]}},{key:"set",value:function(e,t,n){return e.setUTCDate(n),e.setUTCHours(0,0,0,0),e}}])&&Nt(t.prototype,n),i}(C);function Wt(e){return Wt="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},Wt(e)}function qt(e,t){for(var n=0;n=1&&t<=366:t>=1&&t<=365}},{key:"set",value:function(e,t,n){return e.setUTCMonth(0,n),e.setUTCHours(0,0,0,0),e}}])&&qt(t.prototype,n),i}(C),Xt=n(1858);function Zt(e,t,n){var r,o,i,u,s,c,p,d;(0,f.A)(2,arguments);var h=(0,Xt.q)(),m=(0,l.A)(null!==(r=null!==(o=null!==(i=null!==(u=null==n?void 0:n.weekStartsOn)&&void 0!==u?u:null==n||null===(s=n.locale)||void 0===s||null===(c=s.options)||void 0===c?void 0:c.weekStartsOn)&&void 0!==i?i:h.weekStartsOn)&&void 0!==o?o:null===(p=h.locale)||void 0===p||null===(d=p.options)||void 0===d?void 0:d.weekStartsOn)&&void 0!==r?r:0);if(!(m>=0&&m<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var y=(0,a.default)(e),v=(0,l.A)(t),b=((v%7+7)%7=0&&t<=6}},{key:"set",value:function(e,t,n,r){return(e=Zt(e,n,r)).setUTCHours(0,0,0,0),e}}])&&en(t.prototype,n),i}(C);function un(e){return un="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},un(e)}function sn(e,t){for(var n=0;n=0&&t<=6}},{key:"set",value:function(e,t,n,r){return(e=Zt(e,n,r)).setUTCHours(0,0,0,0),e}}])&&sn(t.prototype,n),i}(C);function hn(e){return hn="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},hn(e)}function mn(e,t){for(var n=0;n=0&&t<=6}},{key:"set",value:function(e,t,n,r){return(e=Zt(e,n,r)).setUTCHours(0,0,0,0),e}}])&&mn(t.prototype,n),i}(C);function On(e){return On="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},On(e)}function kn(e,t){for(var n=0;n=1&&t<=7}},{key:"set",value:function(e,t,n){return e=function(e,t){(0,f.A)(2,arguments);var n=(0,l.A)(t);n%7==0&&(n-=7);var r=(0,a.default)(e),o=((n%7+7)%7<1?7:0)+n-r.getUTCDay();return r.setUTCDate(r.getUTCDate()+o),r}(e,n),e.setUTCHours(0,0,0,0),e}}],n&&kn(t.prototype,n),u}(C);function xn(e){return xn="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},xn(e)}function Mn(e,t){for(var n=0;n=1&&t<=12}},{key:"set",value:function(e,t,n){var r=e.getUTCHours()>=12;return r&&n<12?e.setUTCHours(n+12,0,0,0):r||12!==n?e.setUTCHours(n,0,0,0):e.setUTCHours(0,0,0,0),e}}])&&Xn(t.prototype,n),i}(C);function rr(e){return rr="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},rr(e)}function or(e,t){for(var n=0;n=0&&t<=23}},{key:"set",value:function(e,t,n){return e.setUTCHours(n,0,0,0),e}}])&&or(t.prototype,n),i}(C);function lr(e){return lr="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},lr(e)}function fr(e,t){for(var n=0;n=0&&t<=11}},{key:"set",value:function(e,t,n){return e.getUTCHours()>=12&&n<12?e.setUTCHours(n+12,0,0,0):e.setUTCHours(n,0,0,0),e}}])&&fr(t.prototype,n),i}(C);function vr(e){return vr="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},vr(e)}function br(e,t){for(var n=0;n=1&&t<=24}},{key:"set",value:function(e,t,n){var r=n<=24?n%24:n;return e.setUTCHours(r,0,0,0),e}}])&&br(t.prototype,n),i}(C);function Dr(e){return Dr="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},Dr(e)}function Sr(e,t){for(var n=0;n=0&&t<=59}},{key:"set",value:function(e,t,n){return e.setUTCMinutes(n,0,0),e}}])&&Sr(t.prototype,n),i}(C);function Tr(e){return Tr="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},Tr(e)}function Rr(e,t){for(var n=0;n=0&&t<=59}},{key:"set",value:function(e,t,n){return e.setUTCSeconds(n,0),e}}])&&Rr(t.prototype,n),i}(C);function Fr(e){return Fr="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},Fr(e)}function Yr(e,t){for(var n=0;n=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,u=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return i=e.done,e},e:function(e){u=!0,a=e},f:function(){try{i||null==n.return||n.return()}finally{if(u)throw a}}}}function ko(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=1&&N<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var L=(0,l.A)(null!==(k=null!==(S=null!==(C=null!==(E=null==p?void 0:p.weekStartsOn)&&void 0!==E?E:null==p||null===(P=p.locale)||void 0===P||null===(x=P.options)||void 0===x?void 0:x.weekStartsOn)&&void 0!==C?C:j.weekStartsOn)&&void 0!==S?S:null===(M=j.locale)||void 0===M||null===(T=M.options)||void 0===T?void 0:T.weekStartsOn)&&void 0!==k?k:0);if(!(L>=0&&L<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(""===A)return""===R?(0,a.default)(n):new Date(NaN);var F,Y={firstWeekContainsDate:N,weekStartsOn:L,locale:I},B=[new D],U=A.match(So).map((function(e){var t=e[0];return t in u.A?(0,u.A[t])(e,I.formatLong):e})).join("").match(Do),V=[],H=Oo(U);try{var W=function(){var t=F.value;null!=p&&p.useAdditionalWeekYearTokens||!(0,c.xM)(t)||(0,c.lJ)(t,A,e),null!=p&&p.useAdditionalDayOfYearTokens||!(0,c.ef)(t)||(0,c.lJ)(t,A,e);var n=t[0],r=wo[n];if(r){var o=r.incompatibleTokens;if(Array.isArray(o)){var a=V.find((function(e){return o.includes(e.token)||e.token===n}));if(a)throw new RangeError("The format string mustn't contain `".concat(a.fullToken,"` and `").concat(t,"` at the same time"))}else if("*"===r.incompatibleTokens&&V.length>0)throw new RangeError("The format string mustn't contain `".concat(t,"` and any other token at the same time"));V.push({token:n,fullToken:t});var i=r.run(R,t,I.match,Y);if(!i)return{v:new Date(NaN)};B.push(i.setter),R=i.rest}else{if(n.match(xo))throw new RangeError("Format string contains an unescaped latin alphabet character `"+n+"`");if("''"===t?t="'":"'"===n&&(t=t.match(Co)[1].replace(Eo,"'")),0!==R.indexOf(t))return{v:new Date(NaN)};R=R.slice(t.length)}};for(H.s();!(F=H.n()).done;){var q=W();if("object"===_o(q))return q.v}}catch(e){H.e(e)}finally{H.f()}if(R.length>0&&Po.test(R))return new Date(NaN);var K=B.map((function(e){return e.priority})).sort((function(e,t){return t-e})).filter((function(e,t,n){return n.indexOf(e)===t})).map((function(e){return B.filter((function(t){return t.priority===e})).sort((function(e,t){return t.subPriority-e.subPriority}))})).map((function(e){return e[0]})),z=(0,a.default)(n);if(isNaN(z.getTime()))return new Date(NaN);var $,Q=(0,o.A)(z,(0,s.A)(z)),G={},X=Oo(K);try{for(X.s();!($=X.n()).done;){var Z=$.value;if(!Z.validate(Q,Y))return new Date(NaN);var J=Z.set(Q,G,Y);Array.isArray(J)?(Q=J[0],i(G,J[1])):Q=J}}catch(e){X.e(e)}finally{X.f()}return Q}},1806:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return i}});var r=n(7499),o=n(551),a=n(4188);function i(e,t){var n;(0,o.A)(1,arguments);var i=(0,a.A)(null!==(n=null==t?void 0:t.additionalDigits)&&void 0!==n?n:2);if(2!==i&&1!==i&&0!==i)throw new RangeError("additionalDigits must be 0, 1 or 2");if("string"!=typeof e&&"[object String]"!==Object.prototype.toString.call(e))return new Date(NaN);var m,y=function(e){var t,n={},r=e.split(u.dateTimeDelimiter);if(r.length>2)return n;if(/:/.test(r[0])?t=r[0]:(n.date=r[0],t=r[1],u.timeZoneDelimiter.test(n.date)&&(n.date=e.split(u.timeZoneDelimiter)[0],t=e.substr(n.date.length,e.length))),t){var o=u.timezone.exec(t);o?(n.time=t.replace(o[1],""),n.timezone=o[1]):n.time=t}return n}(e);if(y.date){var v=function(e,t){var n=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+t)+"})|(\\d{2}|[+-]\\d{"+(2+t)+"})$)"),r=e.match(n);if(!r)return{year:NaN,restDateString:""};var o=r[1]?parseInt(r[1]):null,a=r[2]?parseInt(r[2]):null;return{year:null===a?o:100*a,restDateString:e.slice((r[1]||r[2]).length)}}(y.date,i);m=function(e,t){if(null===t)return new Date(NaN);var n=e.match(s);if(!n)return new Date(NaN);var r=!!n[4],o=f(n[1]),a=f(n[2])-1,i=f(n[3]),u=f(n[4]),c=f(n[5])-1;if(r)return function(e,t,n){return t>=1&&t<=53&&n>=0&&n<=6}(0,u,c)?function(e,t,n){var r=new Date(0);r.setUTCFullYear(e,0,4);var o=7*(t-1)+n+1-(r.getUTCDay()||7);return r.setUTCDate(r.getUTCDate()+o),r}(t,u,c):new Date(NaN);var l=new Date(0);return function(e,t,n){return t>=0&&t<=11&&n>=1&&n<=(d[t]||(h(e)?29:28))}(t,a,i)&&function(e,t){return t>=1&&t<=(h(e)?366:365)}(t,o)?(l.setUTCFullYear(t,a,Math.max(o,i)),l):new Date(NaN)}(v.restDateString,v.year)}if(!m||isNaN(m.getTime()))return new Date(NaN);var b,g=m.getTime(),w=0;if(y.time&&(w=function(e){var t=e.match(c);if(!t)return NaN;var n=p(t[1]),o=p(t[2]),a=p(t[3]);return function(e,t,n){return 24===e?0===t&&0===n:n>=0&&n<60&&t>=0&&t<60&&e>=0&&e<25}(n,o,a)?n*r.s0+o*r.Cg+1e3*a:NaN}(y.time),isNaN(w)))return new Date(NaN);if(!y.timezone){var _=new Date(g+w),O=new Date(0);return O.setFullYear(_.getUTCFullYear(),_.getUTCMonth(),_.getUTCDate()),O.setHours(_.getUTCHours(),_.getUTCMinutes(),_.getUTCSeconds(),_.getUTCMilliseconds()),O}return b=function(e){if("Z"===e)return 0;var t=e.match(l);if(!t)return 0;var n="+"===t[1]?-1:1,o=parseInt(t[2]),a=t[3]&&parseInt(t[3])||0;return function(e,t){return t>=0&&t<=59}(0,a)?n*(o*r.s0+a*r.Cg):NaN}(y.timezone),isNaN(b)?new Date(NaN):new Date(g+w+b)}var u={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},s=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,c=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,l=/^([+-])(\d{2})(?::?(\d{2}))?$/;function f(e){return e?parseInt(e):1}function p(e){return e&&parseFloat(e.replace(",","."))||0}var d=[31,null,31,30,31,30,31,31,30,31,30,31];function h(e){return e%400==0||e%4==0&&e%100!=0}},7901:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return i}});var r=n(4188),o=n(123),a=n(551);function i(e,t){(0,a.A)(2,arguments);var n=(0,o.default)(e),i=(0,r.A)(t);return n.setHours(i),n}},7375:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return i}});var r=n(4188),o=n(123),a=n(551);function i(e,t){(0,a.A)(2,arguments);var n=(0,o.default)(e),i=(0,r.A)(t);return n.setMinutes(i),n}},1104:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return i}});var r=n(4188),o=n(123),a=n(551);function i(e,t){(0,a.A)(2,arguments);var n=(0,o.default)(e),i=(0,r.A)(t),u=n.getFullYear(),s=n.getDate(),c=new Date(0);c.setFullYear(u,i,15),c.setHours(0,0,0,0);var l=function(e){(0,a.A)(1,arguments);var t=(0,o.default)(e),n=t.getFullYear(),r=t.getMonth(),i=new Date(0);return i.setFullYear(n,r+1,0),i.setHours(0,0,0,0),i.getDate()}(c);return n.setMonth(i,Math.min(s,l)),n}},6090:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return u}});var r=n(4188),o=n(123),a=n(1104),i=n(551);function u(e,t){(0,i.A)(2,arguments);var n=(0,o.default)(e),u=(0,r.A)(t)-(Math.floor(n.getMonth()/3)+1);return(0,a.default)(n,n.getMonth()+3*u)}},1591:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return i}});var r=n(4188),o=n(123),a=n(551);function i(e,t){(0,a.A)(2,arguments);var n=(0,o.default)(e),i=(0,r.A)(t);return n.setSeconds(i),n}},8895:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return i}});var r=n(4188),o=n(123),a=n(551);function i(e,t){(0,a.A)(2,arguments);var n=(0,o.default)(e),i=(0,r.A)(t);return isNaN(n.getTime())?new Date(NaN):(n.setFullYear(i),n)}},1127:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return a}});var r=n(123),o=n(551);function a(e){(0,o.A)(1,arguments);var t=(0,r.default)(e);return t.setHours(0,0,0,0),t}},543:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return a}});var r=n(123),o=n(551);function a(e){(0,o.A)(1,arguments);var t=(0,r.default)(e);return t.setDate(1),t.setHours(0,0,0,0),t}},6757:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return a}});var r=n(123),o=n(551);function a(e){(0,o.A)(1,arguments);var t=(0,r.default)(e),n=t.getMonth(),a=n-n%3;return t.setMonth(a,1),t.setHours(0,0,0,0),t}},7827:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return u}});var r=n(123),o=n(4188),a=n(551),i=n(1858);function u(e,t){var n,u,s,c,l,f,p,d;(0,a.A)(1,arguments);var h=(0,i.q)(),m=(0,o.A)(null!==(n=null!==(u=null!==(s=null!==(c=null==t?void 0:t.weekStartsOn)&&void 0!==c?c:null==t||null===(l=t.locale)||void 0===l||null===(f=l.options)||void 0===f?void 0:f.weekStartsOn)&&void 0!==s?s:h.weekStartsOn)&&void 0!==u?u:null===(p=h.locale)||void 0===p||null===(d=p.options)||void 0===d?void 0:d.weekStartsOn)&&void 0!==n?n:0);if(!(m>=0&&m<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var y=(0,r.default)(e),v=y.getDay(),b=(ve.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&void 0!==arguments[1]?arguments[1]:{},n=t.minDate,r=t.maxDate,o=t.excludeDates,a=t.excludeDateIntervals,i=t.includeDates,u=t.includeDateIntervals,s=t.filterDate;return tn(e,{minDate:n,maxDate:r})||o&&o.some((function(t){return Ut(e,t)}))||a&&a.some((function(t){var n=t.start,r=t.end;return at.default(e,{start:n,end:r})}))||i&&!i.some((function(t){return Ut(e,t)}))||u&&!u.some((function(t){var n=t.start,r=t.end;return at.default(e,{start:n,end:r})}))||s&&!s(Mt(e))||!1}function Qt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.excludeDates,r=t.excludeDateIntervals;return r&&r.length>0?r.some((function(t){var n=t.start,r=t.end;return at.default(e,{start:n,end:r})})):n&&n.some((function(t){return Ut(e,t)}))||!1}function Gt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.minDate,r=t.maxDate,o=t.excludeDates,a=t.includeDates,i=t.filterDate;return tn(e,{minDate:n,maxDate:r})||o&&o.some((function(t){return Yt(e,t)}))||a&&!a.some((function(t){return Yt(e,t)}))||i&&!i(Mt(e))||!1}function Xt(e,t,n,r){var o=Ae.default(e),a=Te.default(e),i=Ae.default(t),u=Te.default(t),s=Ae.default(r);return o===i&&o===s?a<=n&&n<=u:o=n||so:void 0}function Zt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.minDate,r=t.maxDate,o=t.excludeDates,a=t.includeDates,i=t.filterDate;return tn(e,{minDate:n,maxDate:r})||o&&o.some((function(t){return Bt(e,t)}))||a&&!a.some((function(t){return Bt(e,t)}))||i&&!i(Mt(e))||!1}function Jt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.minDate,r=t.maxDate;return tn(new Date(e,0,1),{minDate:n,maxDate:r})||!1}function en(e,t,n,r){var o=Ae.default(e),a=Re.default(e),i=Ae.default(t),u=Re.default(t),s=Ae.default(r);return o===i&&o===s?a<=n&&n<=u:o=n||so:void 0}function tn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.minDate,r=t.maxDate;return n&&He.default(e,n)<0||r&&He.default(e,r)>0}function nn(e,t){return t.some((function(t){return Ee.default(t)===Ee.default(e)&&Ce.default(t)===Ce.default(e)}))}function rn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.excludeTimes,r=t.includeTimes,o=t.filterTime;return n&&nn(e,n)||r&&!nn(e,r)||o&&!o(e)||!1}function on(e,t){var n=t.minTime,r=t.maxTime;if(!n||!r)throw new Error("Both minTime and maxTime props required");var o,a=Mt(),i=Le.default(Ne.default(a,Ce.default(e)),Ee.default(e)),u=Le.default(Ne.default(a,Ce.default(n)),Ee.default(n)),s=Le.default(Ne.default(a,Ce.default(r)),Ee.default(r));try{o=!at.default(i,{start:u,end:s})}catch(e){o=!1}return o}function an(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.minDate,r=t.includeDates,o=ke.default(e,1);return n&&We.default(n,o)>0||r&&r.every((function(e){return We.default(e,o)>0}))||!1}function un(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.maxDate,r=t.includeDates,o=ge.default(e,1);return n&&We.default(o,n)>0||r&&r.every((function(e){return We.default(o,e)>0}))||!1}function sn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.minDate,r=t.includeDates,o=De.default(e,1);return n&&qe.default(n,o)>0||r&&r.every((function(e){return qe.default(e,o)>0}))||!1}function cn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.maxDate,r=t.includeDates,o=we.default(e,1);return n&&qe.default(o,n)>0||r&&r.every((function(e){return qe.default(o,e)>0}))||!1}function ln(e){var t=e.minDate,n=e.includeDates;if(n&&t){var r=n.filter((function(e){return He.default(e,t)>=0}));return Ue.default(r)}return n?Ue.default(n):t}function fn(e){var t=e.maxDate,n=e.includeDates;if(n&&t){var r=n.filter((function(e){return He.default(e,t)<=0}));return Ve.default(r)}return n?Ve.default(n):t}function pn(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"react-datepicker__day--highlighted",n=new Map,r=0,o=e.length;r1&&void 0!==arguments[1]?arguments[1]:12,n=Math.ceil(Ae.default(e)/t)*t;return{startPeriod:n-(t-1),endPeriod:n}}function yn(e,t,n,r){for(var o=[],a=0;a<2*t+1;a++){var i=e+t-a,u=!0;n&&(u=Ae.default(n)<=i),r&&u&&(u=Ae.default(r)>=i),u&&o.push(i)}return o}var vn=function(e){gt(r,e);var n=kt(r);function r(e){var o;ht(this,r),vt(Ot(o=n.call(this,e)),"renderOptions",(function(){var e=o.props.year,t=o.state.yearsList.map((function(t){return le.default.createElement("div",{className:e===t?"react-datepicker__year-option react-datepicker__year-option--selected_year":"react-datepicker__year-option",key:t,onClick:o.onChange.bind(Ot(o),t),"aria-selected":e===t?"true":void 0},e===t?le.default.createElement("span",{className:"react-datepicker__year-option--selected"},"✓"):"",t)})),n=o.props.minDate?Ae.default(o.props.minDate):null,r=o.props.maxDate?Ae.default(o.props.maxDate):null;return r&&o.state.yearsList.find((function(e){return e===r}))||t.unshift(le.default.createElement("div",{className:"react-datepicker__year-option",key:"upcoming",onClick:o.incrementYears},le.default.createElement("a",{className:"react-datepicker__navigation react-datepicker__navigation--years react-datepicker__navigation--years-upcoming"}))),n&&o.state.yearsList.find((function(e){return e===n}))||t.push(le.default.createElement("div",{className:"react-datepicker__year-option",key:"previous",onClick:o.decrementYears},le.default.createElement("a",{className:"react-datepicker__navigation react-datepicker__navigation--years react-datepicker__navigation--years-previous"}))),t})),vt(Ot(o),"onChange",(function(e){o.props.onChange(e)})),vt(Ot(o),"handleClickOutside",(function(){o.props.onCancel()})),vt(Ot(o),"shiftYears",(function(e){var t=o.state.yearsList.map((function(t){return t+e}));o.setState({yearsList:t})})),vt(Ot(o),"incrementYears",(function(){return o.shiftYears(1)})),vt(Ot(o),"decrementYears",(function(){return o.shiftYears(-1)}));var a=e.yearDropdownItemNumber,i=e.scrollableYearDropdown,u=a||(i?10:5);return o.state={yearsList:yn(o.props.year,u,o.props.minDate,o.props.maxDate)},o.dropdownRef=t.createRef(),o}return yt(r,[{key:"componentDidMount",value:function(){var e=this.dropdownRef.current;e&&(e.scrollTop=e.scrollHeight/2-e.clientHeight/2)}},{key:"render",value:function(){var e=fe.default({"react-datepicker__year-dropdown":!0,"react-datepicker__year-dropdown--scrollable":this.props.scrollableYearDropdown});return le.default.createElement("div",{className:e,ref:this.dropdownRef},this.renderOptions())}}]),r}(le.default.Component),bn=ct.default(vn),gn=function(e){gt(n,e);var t=kt(n);function n(){var e;ht(this,n);for(var r=arguments.length,o=new Array(r),a=0;a0&&void 0!==arguments[0]?arguments[0]:{},n=!1;0===e.getTabIndex()&&!t.isInputFocused&&e.isSameDay(e.props.preSelection)&&(document.activeElement&&document.activeElement!==document.body||(n=!0),e.props.inline&&!e.props.shouldFocusDayInline&&(n=!1),e.props.containerRef&&e.props.containerRef.current&&e.props.containerRef.current.contains(document.activeElement)&&document.activeElement.classList.contains("react-datepicker__day")&&(n=!0)),n&&e.dayEl.current.focus({preventScroll:!0})})),vt(Ot(e),"renderDayContents",(function(){return e.props.monthShowsDuplicateDaysEnd&&e.isAfterMonth()||e.props.monthShowsDuplicateDaysStart&&e.isBeforeMonth()?null:e.props.renderDayContents?e.props.renderDayContents(xe.default(e.props.day),e.props.day):xe.default(e.props.day)})),vt(Ot(e),"render",(function(){return le.default.createElement("div",{ref:e.dayEl,className:e.getClassNames(e.props.day),onKeyDown:e.handleOnKeyDown,onClick:e.handleClick,onMouseEnter:e.handleMouseEnter,tabIndex:e.getTabIndex(),"aria-label":e.getAriaLabel(),role:"option","aria-disabled":e.isDisabled(),"aria-current":e.isCurrentDay()?"date":void 0,"aria-selected":e.isSelected()},e.renderDayContents())})),e}return yt(n,[{key:"componentDidMount",value:function(){this.handleFocusDay()}},{key:"componentDidUpdate",value:function(e){this.handleFocusDay(e)}}]),n}(le.default.Component),xn=function(e){gt(n,e);var t=kt(n);function n(){var e;ht(this,n);for(var r=arguments.length,o=new Array(r),a=0;a=6,u=!n&&!e.isWeekInMonth(a);if(i||u){if(!e.props.peekNextMonth)break;o=!0}}return t})),vt(Ot(e),"onMonthClick",(function(t,n){e.handleDayClick(Nt(Fe.default(e.props.day,n)),t)})),vt(Ot(e),"handleMonthNavigation",(function(t,n){e.isDisabled(n)||e.isExcluded(n)||(e.props.setPreSelection(n),e.MONTH_REFS[t].current&&e.MONTH_REFS[t].current.focus())})),vt(Ot(e),"onMonthKeyDown",(function(t,n){var r=t.key;if(!e.props.disabledKeyboardNavigation)switch(r){case"Enter":e.onMonthClick(t,n),e.props.setPreSelection(e.props.selected);break;case"ArrowRight":e.handleMonthNavigation(11===n?0:n+1,ge.default(e.props.preSelection,1));break;case"ArrowLeft":e.handleMonthNavigation(0===n?11:n-1,ke.default(e.props.preSelection,1))}})),vt(Ot(e),"onQuarterClick",(function(t,n){e.handleDayClick(function(e){return Qe.default(e)}(Ye.default(e.props.day,n)),t)})),vt(Ot(e),"getMonthClassNames",(function(t){var n=e.props,r=n.day,o=n.startDate,a=n.endDate,i=n.selected,u=n.minDate,s=n.maxDate,c=n.preSelection,l=n.monthClassName,f=l?l(r):void 0;return fe.default("react-datepicker__month-text","react-datepicker__month-".concat(t),f,{"react-datepicker__month--disabled":(u||s)&&Gt(Fe.default(r,t),e.props),"react-datepicker__month--selected":e.isSelectedMonth(r,t,i),"react-datepicker__month-text--keyboard-selected":Te.default(c)===t,"react-datepicker__month--in-range":Xt(o,a,t,r),"react-datepicker__month--range-start":e.isRangeStartMonth(t),"react-datepicker__month--range-end":e.isRangeEndMonth(t),"react-datepicker__month-text--today":e.isCurrentMonth(r,t)})})),vt(Ot(e),"getTabIndex",(function(t){var n=Te.default(e.props.preSelection);return e.props.disabledKeyboardNavigation||t!==n?"-1":"0"})),vt(Ot(e),"getAriaLabel",(function(t){var n=e.props,r=n.chooseDayAriaLabelPrefix,o=void 0===r?"Choose":r,a=n.disabledDayAriaLabelPrefix,i=void 0===a?"Not available":a,u=n.day,s=Fe.default(u,t),c=e.isDisabled(s)||e.isExcluded(s)?i:o;return"".concat(c," ").concat(Rt(s,"MMMM yyyy"))})),vt(Ot(e),"getQuarterClassNames",(function(t){var n=e.props,r=n.day,o=n.startDate,a=n.endDate,i=n.selected,u=n.minDate,s=n.maxDate;return fe.default("react-datepicker__quarter-text","react-datepicker__quarter-".concat(t),{"react-datepicker__quarter--disabled":(u||s)&&Zt(Ye.default(r,t),e.props),"react-datepicker__quarter--selected":e.isSelectedQuarter(r,t,i),"react-datepicker__quarter--in-range":en(o,a,t,r),"react-datepicker__quarter--range-start":e.isRangeStartQuarter(t),"react-datepicker__quarter--range-end":e.isRangeEndQuarter(t)})})),vt(Ot(e),"renderMonths",(function(){var t=e.props,n=t.showFullMonthYearPicker,r=t.showTwoColumnMonthYearPicker,o=t.showFourColumnMonthYearPicker,a=t.locale,i=t.day,u=t.selected;return(o?[[0,1,2,3],[4,5,6,7],[8,9,10,11]]:r?[[0,1],[2,3],[4,5],[6,7],[8,9],[10,11]]:[[0,1,2],[3,4,5],[6,7,8],[9,10,11]]).map((function(t,r){return le.default.createElement("div",{className:"react-datepicker__month-wrapper",key:r},t.map((function(t,r){return le.default.createElement("div",{ref:e.MONTH_REFS[t],key:r,onClick:function(n){e.onMonthClick(n,t)},onKeyDown:function(n){e.onMonthKeyDown(n,t)},tabIndex:e.getTabIndex(t),className:e.getMonthClassNames(t),role:"option","aria-label":e.getAriaLabel(t),"aria-current":e.isCurrentMonth(i,t)?"date":void 0,"aria-selected":e.isSelectedMonth(i,t,u)},n?Kt(t,a):zt(t,a))})))}))})),vt(Ot(e),"renderQuarters",(function(){var t=e.props,n=t.day,r=t.selected;return le.default.createElement("div",{className:"react-datepicker__quarter-wrapper"},[1,2,3,4].map((function(t,o){return le.default.createElement("div",{key:o,role:"option",onClick:function(n){e.onQuarterClick(n,t)},className:e.getQuarterClassNames(t),"aria-selected":e.isSelectedQuarter(n,t,r)},function(e,t){return Rt(Ye.default(Mt(),e),"QQQ",t)}(t,e.props.locale))})))})),vt(Ot(e),"getClassNames",(function(){var t=e.props;t.day;var n=t.selectingDate,r=t.selectsStart,o=t.selectsEnd,a=t.showMonthYearPicker,i=t.showQuarterYearPicker;return fe.default("react-datepicker__month",{"react-datepicker__month--selecting-range":n&&(r||o)},{"react-datepicker__monthPicker":a},{"react-datepicker__quarterPicker":i})})),e}return yt(n,[{key:"render",value:function(){var e=this.props,t=e.showMonthYearPicker,n=e.showQuarterYearPicker,r=e.day,o=e.ariaLabelPrefix,a=void 0===o?"month ":o;return le.default.createElement("div",{className:this.getClassNames(),onMouseLeave:this.handleMouseLeave,"aria-label":"".concat(a," ").concat(Rt(r,"yyyy-MM")),role:"listbox"},t?this.renderMonths():n?this.renderQuarters():this.renderWeeks())}}]),n}(le.default.Component),Rn=function(e){gt(n,e);var t=kt(n);function n(){var e;ht(this,n);for(var r=arguments.length,o=new Array(r),a=0;a0&&void 0!==arguments[0]?arguments[0]:{}).className||"").split(/\s+/);return Nn.some((function(t){return e.indexOf(t)>=0}))})(e.target)&&r.props.onDropdownFocus()})),vt(Ot(r),"getDateInView",(function(){var e=r.props,t=e.preSelection,n=e.selected,o=e.openToDate,a=ln(r.props),i=fn(r.props),u=Mt();return o||n||t||(a&&ot.default(u,a)?a:i&&rt.default(u,i)?i:u)})),vt(Ot(r),"increaseMonth",(function(){r.setState((function(e){var t=e.date;return{date:ge.default(t,1)}}),(function(){return r.handleMonthChange(r.state.date)}))})),vt(Ot(r),"decreaseMonth",(function(){r.setState((function(e){var t=e.date;return{date:ke.default(t,1)}}),(function(){return r.handleMonthChange(r.state.date)}))})),vt(Ot(r),"handleDayClick",(function(e,t,n){r.props.onSelect(e,t,n),r.props.setPreSelection&&r.props.setPreSelection(e)})),vt(Ot(r),"handleDayMouseEnter",(function(e){r.setState({selectingDate:e}),r.props.onDayMouseEnter&&r.props.onDayMouseEnter(e)})),vt(Ot(r),"handleMonthMouseLeave",(function(){r.setState({selectingDate:null}),r.props.onMonthMouseLeave&&r.props.onMonthMouseLeave()})),vt(Ot(r),"handleYearChange",(function(e){r.props.onYearChange&&r.props.onYearChange(e),r.props.adjustDateOnChange&&(r.props.onSelect&&r.props.onSelect(e),r.props.setOpen&&r.props.setOpen(!0)),r.props.setPreSelection&&r.props.setPreSelection(e)})),vt(Ot(r),"handleMonthChange",(function(e){r.props.onMonthChange&&r.props.onMonthChange(e),r.props.adjustDateOnChange&&(r.props.onSelect&&r.props.onSelect(e),r.props.setOpen&&r.props.setOpen(!0)),r.props.setPreSelection&&r.props.setPreSelection(e)})),vt(Ot(r),"handleMonthYearChange",(function(e){r.handleYearChange(e),r.handleMonthChange(e)})),vt(Ot(r),"changeYear",(function(e){r.setState((function(t){var n=t.date;return{date:Be.default(n,e)}}),(function(){return r.handleYearChange(r.state.date)}))})),vt(Ot(r),"changeMonth",(function(e){r.setState((function(t){var n=t.date;return{date:Fe.default(n,e)}}),(function(){return r.handleMonthChange(r.state.date)}))})),vt(Ot(r),"changeMonthYear",(function(e){r.setState((function(t){var n=t.date;return{date:Be.default(Fe.default(n,Te.default(e)),Ae.default(e))}}),(function(){return r.handleMonthYearChange(r.state.date)}))})),vt(Ot(r),"header",(function(){var e=It(arguments.length>0&&void 0!==arguments[0]?arguments[0]:r.state.date,r.props.locale,r.props.calendarStartDay),t=[];return r.props.showWeekNumbers&&t.push(le.default.createElement("div",{key:"W",className:"react-datepicker__day-name"},r.props.weekLabel||"#")),t.concat([0,1,2,3,4,5,6].map((function(t){var n=ve.default(e,t),o=r.formatWeekday(n,r.props.locale),a=r.props.weekDayClassName?r.props.weekDayClassName(n):void 0;return le.default.createElement("div",{key:t,className:fe.default("react-datepicker__day-name",a)},o)})))})),vt(Ot(r),"formatWeekday",(function(e,t){return r.props.formatWeekDay?function(e,t,n){return t(Rt(e,"EEEE",n))}(e,r.props.formatWeekDay,t):r.props.useWeekdaysShort?function(e,t){return Rt(e,"EEE",t)}(e,t):function(e,t){return Rt(e,"EEEEEE",t)}(e,t)})),vt(Ot(r),"decreaseYear",(function(){r.setState((function(e){var t=e.date;return{date:De.default(t,r.props.showYearPicker?r.props.yearItemNumber:1)}}),(function(){return r.handleYearChange(r.state.date)}))})),vt(Ot(r),"renderPreviousButton",(function(){if(!r.props.renderCustomHeader){var e;switch(!0){case r.props.showMonthYearPicker:e=sn(r.state.date,r.props);break;case r.props.showYearPicker:e=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.minDate,r=t.yearItemNumber,o=void 0===r?12:r,a=mn(Lt(De.default(e,o)),o).endPeriod,i=n&&Ae.default(n);return i&&i>a||!1}(r.state.date,r.props);break;default:e=an(r.state.date,r.props)}if((r.props.forceShowMonthNavigation||r.props.showDisabledMonthNavigation||!e)&&!r.props.showTimeSelectOnly){var t=["react-datepicker__navigation","react-datepicker__navigation--previous"],n=r.decreaseMonth;(r.props.showMonthYearPicker||r.props.showQuarterYearPicker||r.props.showYearPicker)&&(n=r.decreaseYear),e&&r.props.showDisabledMonthNavigation&&(t.push("react-datepicker__navigation--previous--disabled"),n=null);var o=r.props.showMonthYearPicker||r.props.showQuarterYearPicker||r.props.showYearPicker,a=r.props,i=a.previousMonthButtonLabel,u=a.previousYearButtonLabel,s=r.props,c=s.previousMonthAriaLabel,l=void 0===c?"string"==typeof i?i:"Previous Month":c,f=s.previousYearAriaLabel,p=void 0===f?"string"==typeof u?u:"Previous Year":f;return le.default.createElement("button",{type:"button",className:t.join(" "),onClick:n,onKeyDown:r.props.handleOnKeyDown,"aria-label":o?p:l},le.default.createElement("span",{className:["react-datepicker__navigation-icon","react-datepicker__navigation-icon--previous"].join(" ")},o?r.props.previousYearButtonLabel:r.props.previousMonthButtonLabel))}}})),vt(Ot(r),"increaseYear",(function(){r.setState((function(e){var t=e.date;return{date:we.default(t,r.props.showYearPicker?r.props.yearItemNumber:1)}}),(function(){return r.handleYearChange(r.state.date)}))})),vt(Ot(r),"renderNextButton",(function(){if(!r.props.renderCustomHeader){var e;switch(!0){case r.props.showMonthYearPicker:e=cn(r.state.date,r.props);break;case r.props.showYearPicker:e=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.maxDate,r=t.yearItemNumber,o=void 0===r?12:r,a=mn(we.default(e,o),o).startPeriod,i=n&&Ae.default(n);return i&&i0&&void 0!==arguments[0]?arguments[0]:r.state.date,t=["react-datepicker__current-month"];return r.props.showYearDropdown&&t.push("react-datepicker__current-month--hasYearDropdown"),r.props.showMonthDropdown&&t.push("react-datepicker__current-month--hasMonthDropdown"),r.props.showMonthYearDropdown&&t.push("react-datepicker__current-month--hasMonthYearDropdown"),le.default.createElement("div",{className:t.join(" ")},Rt(e,r.props.dateFormat,r.props.locale))})),vt(Ot(r),"renderYearDropdown",(function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(r.props.showYearDropdown&&!e)return le.default.createElement(gn,{adjustDateOnChange:r.props.adjustDateOnChange,date:r.state.date,onSelect:r.props.onSelect,setOpen:r.props.setOpen,dropdownMode:r.props.dropdownMode,onChange:r.changeYear,minDate:r.props.minDate,maxDate:r.props.maxDate,year:Ae.default(r.state.date),scrollableYearDropdown:r.props.scrollableYearDropdown,yearDropdownItemNumber:r.props.yearDropdownItemNumber})})),vt(Ot(r),"renderMonthDropdown",(function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(r.props.showMonthDropdown&&!e)return le.default.createElement(kn,{dropdownMode:r.props.dropdownMode,locale:r.props.locale,onChange:r.changeMonth,month:Te.default(r.state.date),useShortMonthInDropdown:r.props.useShortMonthInDropdown})})),vt(Ot(r),"renderMonthYearDropdown",(function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(r.props.showMonthYearDropdown&&!e)return le.default.createElement(En,{dropdownMode:r.props.dropdownMode,locale:r.props.locale,dateFormat:r.props.dateFormat,onChange:r.changeMonthYear,minDate:r.props.minDate,maxDate:r.props.maxDate,date:r.state.date,scrollableMonthYearDropdown:r.props.scrollableMonthYearDropdown})})),vt(Ot(r),"renderTodayButton",(function(){if(r.props.todayButton&&!r.props.showTimeSelectOnly)return le.default.createElement("div",{className:"react-datepicker__today-button",onClick:function(e){return r.props.onSelect(Ke.default(Mt()),e)}},r.props.todayButton)})),vt(Ot(r),"renderDefaultHeader",(function(e){var t=e.monthDate,n=e.i;return le.default.createElement("div",{className:"react-datepicker__header ".concat(r.props.showTimeSelect?"react-datepicker__header--has-time-select":"")},r.renderCurrentMonth(t),le.default.createElement("div",{className:"react-datepicker__header__dropdown react-datepicker__header__dropdown--".concat(r.props.dropdownMode),onFocus:r.handleDropdownFocus},r.renderMonthDropdown(0!==n),r.renderMonthYearDropdown(0!==n),r.renderYearDropdown(0!==n)),le.default.createElement("div",{className:"react-datepicker__day-names"},r.header(t)))})),vt(Ot(r),"renderCustomHeader",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.monthDate,n=e.i;if(r.props.showTimeSelect&&!r.state.monthContainer||r.props.showTimeSelectOnly)return null;var o=an(r.state.date,r.props),a=un(r.state.date,r.props),i=sn(r.state.date,r.props),u=cn(r.state.date,r.props),s=!r.props.showMonthYearPicker&&!r.props.showQuarterYearPicker&&!r.props.showYearPicker;return le.default.createElement("div",{className:"react-datepicker__header react-datepicker__header--custom",onFocus:r.props.onDropdownFocus},r.props.renderCustomHeader(pt(pt({},r.state),{},{customHeaderCount:n,monthDate:t,changeMonth:r.changeMonth,changeYear:r.changeYear,decreaseMonth:r.decreaseMonth,increaseMonth:r.increaseMonth,decreaseYear:r.decreaseYear,increaseYear:r.increaseYear,prevMonthButtonDisabled:o,nextMonthButtonDisabled:a,prevYearButtonDisabled:i,nextYearButtonDisabled:u})),s&&le.default.createElement("div",{className:"react-datepicker__day-names"},r.header(t)))})),vt(Ot(r),"renderYearHeader",(function(){var e=r.state.date,t=r.props,n=t.showYearPicker,o=mn(e,t.yearItemNumber),a=o.startPeriod,i=o.endPeriod;return le.default.createElement("div",{className:"react-datepicker__header react-datepicker-year-header"},n?"".concat(a," - ").concat(i):Ae.default(e))})),vt(Ot(r),"renderHeader",(function(e){switch(!0){case void 0!==r.props.renderCustomHeader:return r.renderCustomHeader(e);case r.props.showMonthYearPicker||r.props.showQuarterYearPicker||r.props.showYearPicker:return r.renderYearHeader(e);default:return r.renderDefaultHeader(e)}})),vt(Ot(r),"renderMonths",(function(){if(!r.props.showTimeSelectOnly&&!r.props.showYearPicker){for(var e=[],t=r.props.showPreviousMonths?r.props.monthsShown-1:0,n=ke.default(r.state.date,t),o=0;o0;e.push(le.default.createElement("div",{key:u,ref:function(e){r.monthContainer=e},className:"react-datepicker__month-container"},r.renderHeader({monthDate:i,i:o}),le.default.createElement(Tn,{chooseDayAriaLabelPrefix:r.props.chooseDayAriaLabelPrefix,disabledDayAriaLabelPrefix:r.props.disabledDayAriaLabelPrefix,weekAriaLabelPrefix:r.props.weekAriaLabelPrefix,ariaLabelPrefix:r.props.monthAriaLabelPrefix,onChange:r.changeMonthYear,day:i,dayClassName:r.props.dayClassName,calendarStartDay:r.props.calendarStartDay,monthClassName:r.props.monthClassName,onDayClick:r.handleDayClick,handleOnKeyDown:r.props.handleOnDayKeyDown,onDayMouseEnter:r.handleDayMouseEnter,onMouseLeave:r.handleMonthMouseLeave,onWeekSelect:r.props.onWeekSelect,orderInDisplay:o,formatWeekNumber:r.props.formatWeekNumber,locale:r.props.locale,minDate:r.props.minDate,maxDate:r.props.maxDate,excludeDates:r.props.excludeDates,excludeDateIntervals:r.props.excludeDateIntervals,highlightDates:r.props.highlightDates,selectingDate:r.state.selectingDate,includeDates:r.props.includeDates,includeDateIntervals:r.props.includeDateIntervals,inline:r.props.inline,shouldFocusDayInline:r.props.shouldFocusDayInline,fixedHeight:r.props.fixedHeight,filterDate:r.props.filterDate,preSelection:r.props.preSelection,setPreSelection:r.props.setPreSelection,selected:r.props.selected,selectsStart:r.props.selectsStart,selectsEnd:r.props.selectsEnd,selectsRange:r.props.selectsRange,selectsDisabledDaysInRange:r.props.selectsDisabledDaysInRange,showWeekNumbers:r.props.showWeekNumbers,startDate:r.props.startDate,endDate:r.props.endDate,peekNextMonth:r.props.peekNextMonth,setOpen:r.props.setOpen,shouldCloseOnSelect:r.props.shouldCloseOnSelect,renderDayContents:r.props.renderDayContents,disabledKeyboardNavigation:r.props.disabledKeyboardNavigation,showMonthYearPicker:r.props.showMonthYearPicker,showFullMonthYearPicker:r.props.showFullMonthYearPicker,showTwoColumnMonthYearPicker:r.props.showTwoColumnMonthYearPicker,showFourColumnMonthYearPicker:r.props.showFourColumnMonthYearPicker,showYearPicker:r.props.showYearPicker,showQuarterYearPicker:r.props.showQuarterYearPicker,isInputFocused:r.props.isInputFocused,containerRef:r.containerRef,monthShowsDuplicateDaysEnd:s,monthShowsDuplicateDaysStart:c})))}return e}})),vt(Ot(r),"renderYears",(function(){if(!r.props.showTimeSelectOnly)return r.props.showYearPicker?le.default.createElement("div",{className:"react-datepicker__year--container"},r.renderHeader(),le.default.createElement(An,bt({onDayClick:r.handleDayClick,date:r.state.date},r.props))):void 0})),vt(Ot(r),"renderTimeSection",(function(){if(r.props.showTimeSelect&&(r.state.monthContainer||r.props.showTimeSelectOnly))return le.default.createElement(Rn,{selected:r.props.selected,openToDate:r.props.openToDate,onChange:r.props.onTimeChange,timeClassName:r.props.timeClassName,format:r.props.timeFormat,includeTimes:r.props.includeTimes,intervals:r.props.timeIntervals,minTime:r.props.minTime,maxTime:r.props.maxTime,excludeTimes:r.props.excludeTimes,filterTime:r.props.filterTime,timeCaption:r.props.timeCaption,todayButton:r.props.todayButton,showMonthDropdown:r.props.showMonthDropdown,showMonthYearDropdown:r.props.showMonthYearDropdown,showYearDropdown:r.props.showYearDropdown,withPortal:r.props.withPortal,monthRef:r.state.monthContainer,injectTimes:r.props.injectTimes,locale:r.props.locale,handleOnKeyDown:r.props.handleOnKeyDown,showTimeSelectOnly:r.props.showTimeSelectOnly})})),vt(Ot(r),"renderInputTimeSection",(function(){var e=new Date(r.props.selected),t=Tt(e)&&Boolean(r.props.selected)?"".concat(hn(e.getHours()),":").concat(hn(e.getMinutes())):"";if(r.props.showTimeInput)return le.default.createElement(jn,{date:e,timeString:t,timeInputLabel:r.props.timeInputLabel,onChange:r.props.onTimeChange,customTimeInput:r.props.customTimeInput})})),r.containerRef=le.default.createRef(),r.state={date:r.getDateInView(),selectingDate:null,monthContainer:null},r}return yt(n,[{key:"componentDidMount",value:function(){this.props.showTimeSelect&&(this.assignMonthContainer=void this.setState({monthContainer:this.monthContainer}))}},{key:"componentDidUpdate",value:function(e){this.props.preSelection&&!Ut(this.props.preSelection,e.preSelection)?this.setState({date:this.props.preSelection}):this.props.openToDate&&!Ut(this.props.openToDate,e.openToDate)&&this.setState({date:this.props.openToDate})}},{key:"render",value:function(){var e=this.props.container||In;return le.default.createElement("div",{ref:this.containerRef},le.default.createElement(e,{className:fe.default("react-datepicker",this.props.className,{"react-datepicker--time-only":this.props.showTimeSelectOnly}),showPopperArrow:this.props.showPopperArrow,arrowProps:this.props.arrowProps},this.renderPreviousButton(),this.renderNextButton(),this.renderMonths(),this.renderYears(),this.renderTodayButton(),this.renderTimeSection(),this.renderInputTimeSection(),this.props.children))}}],[{key:"defaultProps",get:function(){return{onDropdownFocus:function(){},monthsShown:1,monthSelectedIn:0,forceShowMonthNavigation:!1,timeCaption:"Time",previousYearButtonLabel:"Previous Year",nextYearButtonLabel:"Next Year",previousMonthButtonLabel:"Previous Month",nextMonthButtonLabel:"Next Month",customTimeInput:null,yearItemNumber:12}}}]),n}(le.default.Component),Fn=function(e){gt(n,e);var t=kt(n);function n(e){var r;return ht(this,n),(r=t.call(this,e)).el=document.createElement("div"),r}return yt(n,[{key:"componentDidMount",value:function(){this.portalRoot=(this.props.portalHost||document).getElementById(this.props.portalId),this.portalRoot||(this.portalRoot=document.createElement("div"),this.portalRoot.setAttribute("id",this.props.portalId),(this.props.portalHost||document.body).appendChild(this.portalRoot)),this.portalRoot.appendChild(this.el)}},{key:"componentWillUnmount",value:function(){this.portalRoot.removeChild(this.el)}},{key:"render",value:function(){return lt.default.createPortal(this.props.children,this.el)}}]),n}(le.default.Component),Yn=function(e){return!e.disabled&&-1!==e.tabIndex},Bn=function(e){gt(n,e);var t=kt(n);function n(e){var r;return ht(this,n),vt(Ot(r=t.call(this,e)),"getTabChildren",(function(){return Array.prototype.slice.call(r.tabLoopRef.current.querySelectorAll("[tabindex], a, button, input, select, textarea"),1,-1).filter(Yn)})),vt(Ot(r),"handleFocusStart",(function(e){var t=r.getTabChildren();t&&t.length>1&&t[t.length-1].focus()})),vt(Ot(r),"handleFocusEnd",(function(e){var t=r.getTabChildren();t&&t.length>1&&t[0].focus()})),r.tabLoopRef=le.default.createRef(),r}return yt(n,[{key:"render",value:function(){return this.props.enableTabLoop?le.default.createElement("div",{className:"react-datepicker__tab-loop",ref:this.tabLoopRef},le.default.createElement("div",{className:"react-datepicker__tab-loop__start",tabIndex:"0",onFocus:this.handleFocusStart}),this.props.children,le.default.createElement("div",{className:"react-datepicker__tab-loop__end",tabIndex:"0",onFocus:this.handleFocusEnd})):this.props.children}}],[{key:"defaultProps",get:function(){return{enableTabLoop:!0}}}]),n}(le.default.Component),Un=function(e){gt(n,e);var t=kt(n);function n(){return ht(this,n),t.apply(this,arguments)}return yt(n,[{key:"render",value:function(){var e,t=this.props,n=t.className,r=t.wrapperClassName,o=t.hidePopper,a=t.popperComponent,i=t.popperModifiers,u=t.popperPlacement,s=t.popperProps,c=t.targetComponent,l=t.enableTabLoop,f=t.popperOnKeyDown,p=t.portalId,d=t.portalHost;if(!o){var h=fe.default("react-datepicker-popper",n);e=le.default.createElement(se.Popper,bt({modifiers:i,placement:u},s),(function(e){var t=e.ref,n=e.style,r=e.placement,o=e.arrowProps;return le.default.createElement(Bn,{enableTabLoop:l},le.default.createElement("div",{ref:t,style:n,className:h,"data-placement":r,onKeyDown:f},le.default.cloneElement(a,{arrowProps:o})))}))}this.props.popperContainer&&(e=le.default.createElement(this.props.popperContainer,{},e)),p&&!o&&(e=le.default.createElement(Fn,{portalId:p,portalHost:d},e));var m=fe.default("react-datepicker-wrapper",r);return le.default.createElement(se.Manager,{className:"react-datepicker-manager"},le.default.createElement(se.Reference,null,(function(e){var t=e.ref;return le.default.createElement("div",{ref:t,className:m},c)})),e)}}],[{key:"defaultProps",get:function(){return{hidePopper:!0,popperModifiers:[],popperProps:{},popperPlacement:"bottom-start"}}}]),n}(le.default.Component),Vn="react-datepicker-ignore-onclickoutside",Hn=ct.default(Ln),Wn="Date input not valid.",qn=function(e){gt(n,e);var t=kt(n);function n(e){var r;return ht(this,n),vt(Ot(r=t.call(this,e)),"getPreSelection",(function(){return r.props.openToDate?r.props.openToDate:r.props.selectsEnd&&r.props.startDate?r.props.startDate:r.props.selectsStart&&r.props.endDate?r.props.endDate:Mt()})),vt(Ot(r),"calcInitialState",(function(){var e,t=r.getPreSelection(),n=ln(r.props),o=fn(r.props),a=n&&ot.default(t,Ke.default(n))?n:o&&rt.default(t,Xe.default(o))?o:t;return{open:r.props.startOpen||!1,preventFocus:!1,preSelection:null!==(e=r.props.selectsRange?r.props.startDate:r.props.selected)&&void 0!==e?e:a,highlightDates:pn(r.props.highlightDates),focused:!1,shouldFocusDayInline:!1}})),vt(Ot(r),"clearPreventFocusTimeout",(function(){r.preventFocusTimeout&&clearTimeout(r.preventFocusTimeout)})),vt(Ot(r),"setFocus",(function(){r.input&&r.input.focus&&r.input.focus({preventScroll:!0})})),vt(Ot(r),"setBlur",(function(){r.input&&r.input.blur&&r.input.blur(),r.cancelFocusInput()})),vt(Ot(r),"setOpen",(function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];r.setState({open:e,preSelection:e&&r.state.open?r.state.preSelection:r.calcInitialState().preSelection,lastPreSelectChange:zn},(function(){e||r.setState((function(e){return{focused:!!t&&e.focused}}),(function(){!t&&r.setBlur(),r.setState({inputValue:null})}))}))})),vt(Ot(r),"inputOk",(function(){return pe.default(r.state.preSelection)})),vt(Ot(r),"isCalendarOpen",(function(){return void 0===r.props.open?r.state.open&&!r.props.disabled&&!r.props.readOnly:r.props.open})),vt(Ot(r),"handleFocus",(function(e){r.state.preventFocus||(r.props.onFocus(e),r.props.preventOpenOnFocus||r.props.readOnly||r.setOpen(!0)),r.setState({focused:!0})})),vt(Ot(r),"cancelFocusInput",(function(){clearTimeout(r.inputFocusTimeout),r.inputFocusTimeout=null})),vt(Ot(r),"deferFocusInput",(function(){r.cancelFocusInput(),r.inputFocusTimeout=setTimeout((function(){return r.setFocus()}),1)})),vt(Ot(r),"handleDropdownFocus",(function(){r.cancelFocusInput()})),vt(Ot(r),"handleBlur",(function(e){(!r.state.open||r.props.withPortal||r.props.showTimeInput)&&r.props.onBlur(e),r.setState({focused:!1})})),vt(Ot(r),"handleCalendarClickOutside",(function(e){r.props.inline||r.setOpen(!1),r.props.onClickOutside(e),r.props.withPortal&&e.preventDefault()})),vt(Ot(r),"handleChange",(function(){for(var e=arguments.length,t=new Array(e),n=0;n0&&(a=ut.default(e,t.slice(0,e.length),new Date)),Tt(a)||(a=new Date(e))),Tt(a)&&u?a:null)}(o.target.value,r.props.dateFormat,r.props.locale,r.props.strictParsing,r.props.minDate);!a&&o.target.value||r.setSelected(a,o,!0)}})),vt(Ot(r),"handleSelect",(function(e,t,n){if(r.setState({preventFocus:!0},(function(){return r.preventFocusTimeout=setTimeout((function(){return r.setState({preventFocus:!1})}),50),r.preventFocusTimeout})),r.props.onChangeRaw&&r.props.onChangeRaw(t),r.setSelected(e,t,!1,n),!r.props.shouldCloseOnSelect||r.props.showTimeSelect)r.setPreSelection(e);else if(!r.props.inline){r.props.selectsRange||r.setOpen(!1);var o=r.props,a=o.startDate,i=o.endDate;!a||i||ot.default(e,a)||r.setOpen(!1)}})),vt(Ot(r),"setSelected",(function(e,t,n,o){var a=e;if(null===a||!$t(a,r.props)){var i=r.props,u=i.onChange,s=i.selectsRange,c=i.startDate,l=i.endDate;if(!Vt(r.props.selected,a)||r.props.allowSameDay||s)if(null!==a&&(!r.props.selected||n&&(r.props.showTimeSelect||r.props.showTimeSelectOnly||r.props.showTimeInput)||(a=jt(a,{hour:Ee.default(r.props.selected),minute:Ce.default(r.props.selected),second:Se.default(r.props.selected)})),r.props.inline||r.setState({preSelection:a}),r.props.focusSelectedMonth||r.setState({monthSelectedIn:o})),s){var f=c&&l;c||l?c&&!l&&(ot.default(a,c)?u([a,null],t):u([c,a],t)):u([a,null],t),f&&u([a,null],t)}else u(a,t);n||(r.props.onSelect(a,t),r.setState({inputValue:null}))}})),vt(Ot(r),"setPreSelection",(function(e){var t=void 0!==r.props.minDate,n=void 0!==r.props.maxDate,o=!0;if(e){var a=Ke.default(e);if(t&&n)o=Ht(e,r.props.minDate,r.props.maxDate);else if(t){var i=Ke.default(r.props.minDate);o=rt.default(e,i)||Vt(a,i)}else if(n){var u=Xe.default(r.props.maxDate);o=ot.default(e,u)||Vt(a,u)}}o&&r.setState({preSelection:e})})),vt(Ot(r),"handleTimeChange",(function(e){var t=jt(r.props.selected?r.props.selected:r.getPreSelection(),{hour:Ee.default(e),minute:Ce.default(e)});r.setState({preSelection:t}),r.props.onChange(t),r.props.shouldCloseOnSelect&&r.setOpen(!1),r.props.showTimeInput&&r.setOpen(!0),r.setState({inputValue:null})})),vt(Ot(r),"onInputClick",(function(){r.props.disabled||r.props.readOnly||r.setOpen(!0),r.props.onInputClick()})),vt(Ot(r),"onInputKeyDown",(function(e){r.props.onKeyDown(e);var t=e.key;if(r.state.open||r.props.inline||r.props.preventOpenOnFocus){if(r.state.open){if("ArrowDown"===t||"ArrowUp"===t){e.preventDefault();var n=r.calendar.componentNode&&r.calendar.componentNode.querySelector('.react-datepicker__day[tabindex="0"]');return void(n&&n.focus({preventScroll:!0}))}var o=Mt(r.state.preSelection);"Enter"===t?(e.preventDefault(),r.inputOk()&&r.state.lastPreSelectChange===zn?(r.handleSelect(o,e),!r.props.shouldCloseOnSelect&&r.setPreSelection(o)):r.setOpen(!1)):"Escape"===t&&(e.preventDefault(),r.setOpen(!1)),r.inputOk()||r.props.onInputError({code:1,msg:Wn})}}else"ArrowDown"!==t&&"ArrowUp"!==t&&"Enter"!==t||r.onInputClick()})),vt(Ot(r),"onDayKeyDown",(function(e){r.props.onKeyDown(e);var t=e.key,n=Mt(r.state.preSelection);if("Enter"===t)e.preventDefault(),r.handleSelect(n,e),!r.props.shouldCloseOnSelect&&r.setPreSelection(n);else if("Escape"===t)e.preventDefault(),r.setOpen(!1),r.inputOk()||r.props.onInputError({code:1,msg:Wn});else if(!r.props.disabledKeyboardNavigation){var o;switch(t){case"ArrowLeft":o=_e.default(n,1);break;case"ArrowRight":o=ve.default(n,1);break;case"ArrowUp":o=Oe.default(n,1);break;case"ArrowDown":o=be.default(n,1);break;case"PageUp":o=ke.default(n,1);break;case"PageDown":o=ge.default(n,1);break;case"Home":o=De.default(n,1);break;case"End":o=we.default(n,1)}if(!o)return void(r.props.onInputError&&r.props.onInputError({code:1,msg:Wn}));if(e.preventDefault(),r.setState({lastPreSelectChange:zn}),r.props.adjustDateOnChange&&r.setSelected(o),r.setPreSelection(o),r.props.inline){var a=Te.default(n),i=Te.default(o),u=Ae.default(n),s=Ae.default(o);a!==i||u!==s?r.setState({shouldFocusDayInline:!0}):r.setState({shouldFocusDayInline:!1})}}})),vt(Ot(r),"onPopperKeyDown",(function(e){"Escape"===e.key&&(e.preventDefault(),r.setState({preventFocus:!0},(function(){r.setOpen(!1),setTimeout((function(){r.setFocus(),r.setState({preventFocus:!1})}))})))})),vt(Ot(r),"onClearClick",(function(e){e&&e.preventDefault&&e.preventDefault(),r.props.selectsRange?r.props.onChange([null,null],e):r.props.onChange(null,e),r.setState({inputValue:null})})),vt(Ot(r),"clear",(function(){r.onClearClick()})),vt(Ot(r),"onScroll",(function(e){"boolean"==typeof r.props.closeOnScroll&&r.props.closeOnScroll?e.target!==document&&e.target!==document.documentElement&&e.target!==document.body||r.setOpen(!1):"function"==typeof r.props.closeOnScroll&&r.props.closeOnScroll(e)&&r.setOpen(!1)})),vt(Ot(r),"renderCalendar",(function(){return r.props.inline||r.isCalendarOpen()?le.default.createElement(Hn,{ref:function(e){r.calendar=e},locale:r.props.locale,calendarStartDay:r.props.calendarStartDay,chooseDayAriaLabelPrefix:r.props.chooseDayAriaLabelPrefix,disabledDayAriaLabelPrefix:r.props.disabledDayAriaLabelPrefix,weekAriaLabelPrefix:r.props.weekAriaLabelPrefix,monthAriaLabelPrefix:r.props.monthAriaLabelPrefix,adjustDateOnChange:r.props.adjustDateOnChange,setOpen:r.setOpen,shouldCloseOnSelect:r.props.shouldCloseOnSelect,dateFormat:r.props.dateFormatCalendar,useWeekdaysShort:r.props.useWeekdaysShort,formatWeekDay:r.props.formatWeekDay,dropdownMode:r.props.dropdownMode,selected:r.props.selected,preSelection:r.state.preSelection,onSelect:r.handleSelect,onWeekSelect:r.props.onWeekSelect,openToDate:r.props.openToDate,minDate:r.props.minDate,maxDate:r.props.maxDate,selectsStart:r.props.selectsStart,selectsEnd:r.props.selectsEnd,selectsRange:r.props.selectsRange,startDate:r.props.startDate,endDate:r.props.endDate,excludeDates:r.props.excludeDates,excludeDateIntervals:r.props.excludeDateIntervals,filterDate:r.props.filterDate,onClickOutside:r.handleCalendarClickOutside,formatWeekNumber:r.props.formatWeekNumber,highlightDates:r.state.highlightDates,includeDates:r.props.includeDates,includeDateIntervals:r.props.includeDateIntervals,includeTimes:r.props.includeTimes,injectTimes:r.props.injectTimes,inline:r.props.inline,shouldFocusDayInline:r.state.shouldFocusDayInline,peekNextMonth:r.props.peekNextMonth,showMonthDropdown:r.props.showMonthDropdown,showPreviousMonths:r.props.showPreviousMonths,useShortMonthInDropdown:r.props.useShortMonthInDropdown,showMonthYearDropdown:r.props.showMonthYearDropdown,showWeekNumbers:r.props.showWeekNumbers,showYearDropdown:r.props.showYearDropdown,withPortal:r.props.withPortal,forceShowMonthNavigation:r.props.forceShowMonthNavigation,showDisabledMonthNavigation:r.props.showDisabledMonthNavigation,scrollableYearDropdown:r.props.scrollableYearDropdown,scrollableMonthYearDropdown:r.props.scrollableMonthYearDropdown,todayButton:r.props.todayButton,weekLabel:r.props.weekLabel,outsideClickIgnoreClass:Vn,fixedHeight:r.props.fixedHeight,monthsShown:r.props.monthsShown,monthSelectedIn:r.state.monthSelectedIn,onDropdownFocus:r.handleDropdownFocus,onMonthChange:r.props.onMonthChange,onYearChange:r.props.onYearChange,dayClassName:r.props.dayClassName,weekDayClassName:r.props.weekDayClassName,monthClassName:r.props.monthClassName,timeClassName:r.props.timeClassName,showTimeSelect:r.props.showTimeSelect,showTimeSelectOnly:r.props.showTimeSelectOnly,onTimeChange:r.handleTimeChange,timeFormat:r.props.timeFormat,timeIntervals:r.props.timeIntervals,minTime:r.props.minTime,maxTime:r.props.maxTime,excludeTimes:r.props.excludeTimes,filterTime:r.props.filterTime,timeCaption:r.props.timeCaption,className:r.props.calendarClassName,container:r.props.calendarContainer,yearItemNumber:r.props.yearItemNumber,yearDropdownItemNumber:r.props.yearDropdownItemNumber,previousMonthAriaLabel:r.props.previousMonthAriaLabel,previousMonthButtonLabel:r.props.previousMonthButtonLabel,nextMonthAriaLabel:r.props.nextMonthAriaLabel,nextMonthButtonLabel:r.props.nextMonthButtonLabel,previousYearAriaLabel:r.props.previousYearAriaLabel,previousYearButtonLabel:r.props.previousYearButtonLabel,nextYearAriaLabel:r.props.nextYearAriaLabel,nextYearButtonLabel:r.props.nextYearButtonLabel,timeInputLabel:r.props.timeInputLabel,disabledKeyboardNavigation:r.props.disabledKeyboardNavigation,renderCustomHeader:r.props.renderCustomHeader,popperProps:r.props.popperProps,renderDayContents:r.props.renderDayContents,onDayMouseEnter:r.props.onDayMouseEnter,onMonthMouseLeave:r.props.onMonthMouseLeave,selectsDisabledDaysInRange:r.props.selectsDisabledDaysInRange,showTimeInput:r.props.showTimeInput,showMonthYearPicker:r.props.showMonthYearPicker,showFullMonthYearPicker:r.props.showFullMonthYearPicker,showTwoColumnMonthYearPicker:r.props.showTwoColumnMonthYearPicker,showFourColumnMonthYearPicker:r.props.showFourColumnMonthYearPicker,showYearPicker:r.props.showYearPicker,showQuarterYearPicker:r.props.showQuarterYearPicker,showPopperArrow:r.props.showPopperArrow,excludeScrollbar:r.props.excludeScrollbar,handleOnKeyDown:r.props.onKeyDown,handleOnDayKeyDown:r.onDayKeyDown,isInputFocused:r.state.focused,customTimeInput:r.props.customTimeInput,setPreSelection:r.setPreSelection},r.props.children):null})),vt(Ot(r),"renderDateInput",(function(){var e,t=fe.default(r.props.className,vt({},Vn,r.state.open)),n=r.props.customInput||le.default.createElement("input",{type:"text"}),o=r.props.customInputRef||"ref",a="string"==typeof r.props.value?r.props.value:"string"==typeof r.state.inputValue?r.state.inputValue:r.props.selectsRange?function(e,t,n){if(!e)return"";var r=At(e,n),o=t?At(t,n):"";return"".concat(r," - ").concat(o)}(r.props.startDate,r.props.endDate,r.props):At(r.props.selected,r.props);return le.default.cloneElement(n,(vt(e={},o,(function(e){r.input=e})),vt(e,"value",a),vt(e,"onBlur",r.handleBlur),vt(e,"onChange",r.handleChange),vt(e,"onClick",r.onInputClick),vt(e,"onFocus",r.handleFocus),vt(e,"onKeyDown",r.onInputKeyDown),vt(e,"id",r.props.id),vt(e,"name",r.props.name),vt(e,"autoFocus",r.props.autoFocus),vt(e,"placeholder",r.props.placeholderText),vt(e,"disabled",r.props.disabled),vt(e,"autoComplete",r.props.autoComplete),vt(e,"className",fe.default(n.props.className,t)),vt(e,"title",r.props.title),vt(e,"readOnly",r.props.readOnly),vt(e,"required",r.props.required),vt(e,"tabIndex",r.props.tabIndex),vt(e,"aria-describedby",r.props.ariaDescribedBy),vt(e,"aria-invalid",r.props.ariaInvalid),vt(e,"aria-labelledby",r.props.ariaLabelledBy),vt(e,"aria-required",r.props.ariaRequired),e))})),vt(Ot(r),"renderClearButton",(function(){var e=r.props,t=e.isClearable,n=e.selected,o=e.startDate,a=e.endDate,i=e.clearButtonTitle,u=e.clearButtonClassName,s=void 0===u?"":u,c=e.ariaLabelClose,l=void 0===c?"Close":c;return!t||null==n&&null==o&&null==a?null:le.default.createElement("button",{type:"button",className:"react-datepicker__close-icon ".concat(s).trim(),"aria-label":l,onClick:r.onClearClick,title:i,tabIndex:-1})})),r.state=r.calcInitialState(),r}return yt(n,[{key:"componentDidMount",value:function(){window.addEventListener("scroll",this.onScroll,!0)}},{key:"componentDidUpdate",value:function(e,t){var n,r;e.inline&&(n=e.selected,r=this.props.selected,n&&r?Te.default(n)!==Te.default(r)||Ae.default(n)!==Ae.default(r):n!==r)&&this.setPreSelection(this.props.selected),void 0!==this.state.monthSelectedIn&&e.monthsShown!==this.props.monthsShown&&this.setState({monthSelectedIn:0}),e.highlightDates!==this.props.highlightDates&&this.setState({highlightDates:pn(this.props.highlightDates)}),t.focused||Vt(e.selected,this.props.selected)||this.setState({inputValue:null}),t.open!==this.state.open&&(!1===t.open&&!0===this.state.open&&this.props.onCalendarOpen(),!0===t.open&&!1===this.state.open&&this.props.onCalendarClose())}},{key:"componentWillUnmount",value:function(){this.clearPreventFocusTimeout(),window.removeEventListener("scroll",this.onScroll,!0)}},{key:"renderInputContainer",value:function(){return le.default.createElement("div",{className:"react-datepicker__input-container"},this.renderDateInput(),this.renderClearButton())}},{key:"render",value:function(){var e=this.renderCalendar();if(this.props.inline)return e;if(this.props.withPortal){var t=this.state.open?le.default.createElement("div",{className:"react-datepicker__portal"},e):null;return this.state.open&&this.props.portalId&&(t=le.default.createElement(Fn,{portalId:this.props.portalId,portalHost:this.props.portalHost},t)),le.default.createElement("div",null,this.renderInputContainer(),t)}return le.default.createElement(Un,{className:this.props.popperClassName,wrapperClassName:this.props.wrapperClassName,hidePopper:!this.isCalendarOpen(),portalId:this.props.portalId,portalHost:this.props.portalHost,popperModifiers:this.props.popperModifiers,targetComponent:this.renderInputContainer(),popperContainer:this.props.popperContainer,popperComponent:e,popperPlacement:this.props.popperPlacement,popperProps:this.props.popperProps,popperOnKeyDown:this.onPopperKeyDown,enableTabLoop:this.props.enableTabLoop})}}],[{key:"defaultProps",get:function(){return{allowSameDay:!1,dateFormat:"MM/dd/yyyy",dateFormatCalendar:"LLLL yyyy",onChange:function(){},disabled:!1,disabledKeyboardNavigation:!1,dropdownMode:"scroll",onFocus:function(){},onBlur:function(){},onKeyDown:function(){},onInputClick:function(){},onSelect:function(){},onClickOutside:function(){},onMonthChange:function(){},onCalendarOpen:function(){},onCalendarClose:function(){},preventOpenOnFocus:!1,onYearChange:function(){},onInputError:function(){},monthsShown:1,readOnly:!1,withPortal:!1,selectsDisabledDaysInRange:!1,shouldCloseOnSelect:!0,showTimeSelect:!1,showTimeInput:!1,showPreviousMonths:!1,showMonthYearPicker:!1,showFullMonthYearPicker:!1,showTwoColumnMonthYearPicker:!1,showFourColumnMonthYearPicker:!1,showYearPicker:!1,showQuarterYearPicker:!1,strictParsing:!1,timeIntervals:30,timeCaption:"Time",previousMonthAriaLabel:"Previous Month",previousMonthButtonLabel:"Previous Month",nextMonthAriaLabel:"Next Month",nextMonthButtonLabel:"Next Month",previousYearAriaLabel:"Previous Year",previousYearButtonLabel:"Previous Year",nextYearAriaLabel:"Next Year",nextYearButtonLabel:"Next Year",timeInputLabel:"Time",enableTabLoop:!0,yearItemNumber:12,renderDayContents:function(e){return e},focusSelectedMonth:!1,showPopperArrow:!0,excludeScrollbar:!0,customTimeInput:null,calendarStartDay:void 0}}}]),n}(le.default.Component),Kn="input",zn="navigate";e.CalendarContainer=In,e.default=qn,e.getDefaultLocale=Wt,e.registerLocale=function(e,t){var n="undefined"!=typeof window?window:globalThis;n.__localeData__||(n.__localeData__={}),n.__localeData__[e]=t},e.setDefaultLocale=function(e){("undefined"!=typeof window?window:globalThis).__localeId__=e},Object.defineProperty(e,"__esModule",{value:!0})}(t,n(1609),n(5556),n(2485),n(5290),n(6828),n(2346),n(2890),n(1524),n(2998),n(2238),n(2118),n(9317),n(8805),n(2831),n(979),n(3337),n(4327),n(9326),n(9251),n(2563),n(8089),n(7512),n(274),n(8850),n(2044),n(4158),n(2379),n(8519),n(1591),n(7375),n(7901),n(1104),n(6090),n(8895),n(838),n(7440),n(63),n(667),n(733),n(2002),n(1127),n(7827),n(543),n(6757),n(7054),n(6212),n(6462),n(9312),n(5010),n(1810),n(2702),n(4125),n(992),n(9672),n(7813),n(3652),n(123),n(892),n(1806),n(3908),n(5795),n(2430))},115:function(e){var t="undefined"!=typeof Element,n="function"==typeof Map,r="function"==typeof Set,o="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function a(e,i){if(e===i)return!0;if(e&&i&&"object"==typeof e&&"object"==typeof i){if(e.constructor!==i.constructor)return!1;var u,s,c,l;if(Array.isArray(e)){if((u=e.length)!=i.length)return!1;for(s=u;0!=s--;)if(!a(e[s],i[s]))return!1;return!0}if(n&&e instanceof Map&&i instanceof Map){if(e.size!==i.size)return!1;for(l=e.entries();!(s=l.next()).done;)if(!i.has(s.value[0]))return!1;for(l=e.entries();!(s=l.next()).done;)if(!a(s.value[1],i.get(s.value[0])))return!1;return!0}if(r&&e instanceof Set&&i instanceof Set){if(e.size!==i.size)return!1;for(l=e.entries();!(s=l.next()).done;)if(!i.has(s.value[0]))return!1;return!0}if(o&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(i)){if((u=e.length)!=i.length)return!1;for(s=u;0!=s--;)if(e[s]!==i[s])return!1;return!0}if(e.constructor===RegExp)return e.source===i.source&&e.flags===i.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===i.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===i.toString();if((u=(c=Object.keys(e)).length)!==Object.keys(i).length)return!1;for(s=u;0!=s--;)if(!Object.prototype.hasOwnProperty.call(i,c[s]))return!1;if(t&&e instanceof Element)return!1;for(s=u;0!=s--;)if(("_owner"!==c[s]&&"__v"!==c[s]&&"__o"!==c[s]||!e.$$typeof)&&!a(e[c[s]],i[c[s]]))return!1;return!0}return e!=e&&i!=i}e.exports=function(e,t){try{return a(e,t)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}},3908:function(e,t,n){"use strict";n.r(t),n.d(t,{IGNORE_CLASS_NAME:function(){return h}});var r=n(1609),o=n(5795);function a(e,t){return a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},a(e,t)}function i(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function u(e,t,n){return e===t||(e.correspondingElement?e.correspondingElement.classList.contains(n):e.classList.contains(n))}var s,c,l=(void 0===s&&(s=0),function(){return++s}),f={},p={},d=["touchstart","touchmove"],h="ignore-react-onclickoutside";function m(e,t){var n=null;return-1!==d.indexOf(t)&&c&&(n={passive:!e.props.preventDefault}),n}t.default=function(e,t){var n,s,d=e.displayName||e.name||"Component";return s=n=function(n){var s,h;function y(e){var r;return(r=n.call(this,e)||this).__outsideClickHandler=function(e){if("function"!=typeof r.__clickOutsideHandlerProp){var t=r.getInstance();if("function"!=typeof t.props.handleClickOutside){if("function"!=typeof t.handleClickOutside)throw new Error("WrappedComponent: "+d+" lacks a handleClickOutside(event) function for processing outside click events.");t.handleClickOutside(e)}else t.props.handleClickOutside(e)}else r.__clickOutsideHandlerProp(e)},r.__getComponentNode=function(){var e=r.getInstance();return t&&"function"==typeof t.setClickOutsideRef?t.setClickOutsideRef()(e):"function"==typeof e.setClickOutsideRef?e.setClickOutsideRef():(0,o.findDOMNode)(e)},r.enableOnClickOutside=function(){if("undefined"!=typeof document&&!p[r._uid]){void 0===c&&(c=function(){if("undefined"!=typeof window&&"function"==typeof window.addEventListener){var e=!1,t=Object.defineProperty({},"passive",{get:function(){e=!0}}),n=function(){};return window.addEventListener("testPassiveEventSupport",n,t),window.removeEventListener("testPassiveEventSupport",n,t),e}}()),p[r._uid]=!0;var e=r.props.eventTypes;e.forEach||(e=[e]),f[r._uid]=function(e){var t;null!==r.componentNode&&(r.props.preventDefault&&e.preventDefault(),r.props.stopPropagation&&e.stopPropagation(),r.props.excludeScrollbar&&(t=e,document.documentElement.clientWidth<=t.clientX||document.documentElement.clientHeight<=t.clientY)||function(e,t,n){if(e===t)return!0;for(;e.parentNode||e.host;){if(e.parentNode&&u(e,t,n))return!0;e=e.parentNode||e.host}return e}(e.composed&&e.composedPath&&e.composedPath().shift()||e.target,r.componentNode,r.props.outsideClickIgnoreClass)===document&&r.__outsideClickHandler(e))},e.forEach((function(e){document.addEventListener(e,f[r._uid],m(i(r),e))}))}},r.disableOnClickOutside=function(){delete p[r._uid];var e=f[r._uid];if(e&&"undefined"!=typeof document){var t=r.props.eventTypes;t.forEach||(t=[t]),t.forEach((function(t){return document.removeEventListener(t,e,m(i(r),t))})),delete f[r._uid]}},r.getRef=function(e){return r.instanceRef=e},r._uid=l(),r}h=n,(s=y).prototype=Object.create(h.prototype),s.prototype.constructor=s,a(s,h);var v=y.prototype;return v.getInstance=function(){if(e.prototype&&!e.prototype.isReactComponent)return this;var t=this.instanceRef;return t.getInstance?t.getInstance():t},v.componentDidMount=function(){if("undefined"!=typeof document&&document.createElement){var e=this.getInstance();if(t&&"function"==typeof t.handleClickOutside&&(this.__clickOutsideHandlerProp=t.handleClickOutside(e),"function"!=typeof this.__clickOutsideHandlerProp))throw new Error("WrappedComponent: "+d+" lacks a function for processing outside click events specified by the handleClickOutside config option.");this.componentNode=this.__getComponentNode(),this.props.disableOnClickOutside||this.enableOnClickOutside()}},v.componentDidUpdate=function(){this.componentNode=this.__getComponentNode()},v.componentWillUnmount=function(){this.disableOnClickOutside()},v.render=function(){var t=this.props;t.excludeScrollbar;var n=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}(t,["excludeScrollbar"]);return e.prototype&&e.prototype.isReactComponent?n.ref=this.getRef:n.wrappedRef=this.getRef,n.disableOnClickOutside=this.disableOnClickOutside,n.enableOnClickOutside=this.enableOnClickOutside,(0,r.createElement)(e,n)},y}(r.Component),n.displayName="OnClickOutside("+d+")",n.defaultProps={eventTypes:["mousedown","touchstart"],excludeScrollbar:t&&t.excludeScrollbar||!1,outsideClickIgnoreClass:h,preventDefault:!1,stopPropagation:!1},n.getClass=function(){return e.getClass?e.getClass():e},s}},2430:function(e,t,n){"use strict";n.r(t),n.d(t,{Manager:function(){return i},Popper:function(){return Pe},Reference:function(){return Te},usePopper:function(){return De}});var r=n(1609),o=r.createContext(),a=r.createContext();function i(e){var t=e.children,n=r.useState(null),i=n[0],u=n[1],s=r.useRef(!1);r.useEffect((function(){return function(){s.current=!0}}),[]);var c=r.useCallback((function(e){s.current||u(e)}),[]);return r.createElement(o.Provider,{value:i},r.createElement(a.Provider,{value:c},t))}var u=function(e){return Array.isArray(e)?e[0]:e},s=function(e){if("function"==typeof e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r0&&g(r.width)/e.offsetWidth||1,a=e.offsetHeight>0&&g(r.height)/e.offsetHeight||1);var i=(h(e)?d(e):window).visualViewport,u=!_()&&n,s=(r.left+(u&&i?i.offsetLeft:0))/o,c=(r.top+(u&&i?i.offsetTop:0))/a,l=r.width/o,f=r.height/a;return{width:l,height:f,top:c,right:s+l,bottom:c+f,left:s,x:s,y:c}}function k(e){var t=d(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function D(e){return e?(e.nodeName||"").toLowerCase():null}function S(e){return((h(e)?e.ownerDocument:e.document)||window.document).documentElement}function C(e){return O(S(e)).left+k(e).scrollLeft}function E(e){return d(e).getComputedStyle(e)}function P(e){var t=E(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function x(e,t,n){void 0===n&&(n=!1);var r,o,a=m(t),i=m(t)&&function(e){var t=e.getBoundingClientRect(),n=g(t.width)/e.offsetWidth||1,r=g(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),u=S(t),s=O(e,i,n),c={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(a||!a&&!n)&&(("body"!==D(t)||P(u))&&(c=(r=t)!==d(r)&&m(r)?{scrollLeft:(o=r).scrollLeft,scrollTop:o.scrollTop}:k(r)),m(t)?((l=O(t,!0)).x+=t.clientLeft,l.y+=t.clientTop):u&&(l.x=C(u))),{x:s.left+c.scrollLeft-l.x,y:s.top+c.scrollTop-l.y,width:s.width,height:s.height}}function M(e){var t=O(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function T(e){return"html"===D(e)?e:e.assignedSlot||e.parentNode||(y(e)?e.host:null)||S(e)}function R(e){return["html","body","#document"].indexOf(D(e))>=0?e.ownerDocument.body:m(e)&&P(e)?e:R(T(e))}function A(e,t){var n;void 0===t&&(t=[]);var r=R(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),a=d(r),i=o?[a].concat(a.visualViewport||[],P(r)?r:[]):r,u=t.concat(i);return o?u:u.concat(A(T(i)))}function j(e){return["table","td","th"].indexOf(D(e))>=0}function I(e){return m(e)&&"fixed"!==E(e).position?e.offsetParent:null}function N(e){for(var t=d(e),n=I(e);n&&j(n)&&"static"===E(n).position;)n=I(n);return n&&("html"===D(n)||"body"===D(n)&&"static"===E(n).position)?t:n||function(e){var t=/firefox/i.test(w());if(/Trident/i.test(w())&&m(e)&&"fixed"===E(e).position)return null;var n=T(e);for(y(n)&&(n=n.host);m(n)&&["html","body"].indexOf(D(n))<0;){var r=E(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}var L="top",F="bottom",Y="right",B="left",U="auto",V=[L,F,Y,B],H="start",W="end",q="viewport",K="popper",z=V.reduce((function(e,t){return e.concat([t+"-"+H,t+"-"+W])}),[]),$=[].concat(V,[U]).reduce((function(e,t){return e.concat([t,t+"-"+H,t+"-"+W])}),[]),Q=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function G(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),r}var X={placement:"bottom",modifiers:[],strategy:"absolute"};function Z(){for(var e=arguments.length,t=new Array(e),n=0;n=0?"x":"y"}function oe(e){var t,n=e.reference,r=e.element,o=e.placement,a=o?te(o):null,i=o?ne(o):null,u=n.x+n.width/2-r.width/2,s=n.y+n.height/2-r.height/2;switch(a){case L:t={x:u,y:n.y-r.height};break;case F:t={x:u,y:n.y+n.height};break;case Y:t={x:n.x+n.width,y:s};break;case B:t={x:n.x-r.width,y:s};break;default:t={x:n.x,y:n.y}}var c=a?re(a):null;if(null!=c){var l="y"===c?"height":"width";switch(i){case H:t[c]=t[c]-(n[l]/2-r[l]/2);break;case W:t[c]=t[c]+(n[l]/2-r[l]/2)}}return t}var ae={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ie(e){var t,n=e.popper,r=e.popperRect,o=e.placement,a=e.variation,i=e.offsets,u=e.position,s=e.gpuAcceleration,c=e.adaptive,l=e.roundOffsets,f=e.isFixed,p=i.x,h=void 0===p?0:p,m=i.y,y=void 0===m?0:m,v="function"==typeof l?l({x:h,y:y}):{x:h,y:y};h=v.x,y=v.y;var b=i.hasOwnProperty("x"),w=i.hasOwnProperty("y"),_=B,O=L,k=window;if(c){var D=N(n),C="clientHeight",P="clientWidth";D===d(n)&&"static"!==E(D=S(n)).position&&"absolute"===u&&(C="scrollHeight",P="scrollWidth"),(o===L||(o===B||o===Y)&&a===W)&&(O=F,y-=(f&&D===k&&k.visualViewport?k.visualViewport.height:D[C])-r.height,y*=s?1:-1),o!==B&&(o!==L&&o!==F||a!==W)||(_=Y,h-=(f&&D===k&&k.visualViewport?k.visualViewport.width:D[P])-r.width,h*=s?1:-1)}var x,M=Object.assign({position:u},c&&ae),T=!0===l?function(e){var t=e.x,n=e.y,r=window.devicePixelRatio||1;return{x:g(t*r)/r||0,y:g(n*r)/r||0}}({x:h,y:y}):{x:h,y:y};return h=T.x,y=T.y,s?Object.assign({},M,((x={})[O]=w?"0":"",x[_]=b?"0":"",x.transform=(k.devicePixelRatio||1)<=1?"translate("+h+"px, "+y+"px)":"translate3d("+h+"px, "+y+"px, 0)",x)):Object.assign({},M,((t={})[O]=w?y+"px":"",t[_]=b?h+"px":"",t.transform="",t))}var ue={left:"right",right:"left",bottom:"top",top:"bottom"};function se(e){return e.replace(/left|right|bottom|top/g,(function(e){return ue[e]}))}var ce={start:"end",end:"start"};function le(e){return e.replace(/start|end/g,(function(e){return ce[e]}))}function fe(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&y(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function pe(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function de(e,t,n){return t===q?pe(function(e,t){var n=d(e),r=S(e),o=n.visualViewport,a=r.clientWidth,i=r.clientHeight,u=0,s=0;if(o){a=o.width,i=o.height;var c=_();(c||!c&&"fixed"===t)&&(u=o.offsetLeft,s=o.offsetTop)}return{width:a,height:i,x:u+C(e),y:s}}(e,n)):h(t)?function(e,t){var n=O(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):pe(function(e){var t,n=S(e),r=k(e),o=null==(t=e.ownerDocument)?void 0:t.body,a=v(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),i=v(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),u=-r.scrollLeft+C(e),s=-r.scrollTop;return"rtl"===E(o||n).direction&&(u+=v(n.clientWidth,o?o.clientWidth:0)-a),{width:a,height:i,x:u,y:s}}(S(e)))}function he(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function me(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function ye(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,a=n.strategy,i=void 0===a?e.strategy:a,u=n.boundary,s=void 0===u?"clippingParents":u,c=n.rootBoundary,l=void 0===c?q:c,f=n.elementContext,p=void 0===f?K:f,d=n.altBoundary,y=void 0!==d&&d,g=n.padding,w=void 0===g?0:g,_=he("number"!=typeof w?w:me(w,V)),k=p===K?"reference":K,C=e.rects.popper,P=e.elements[y?k:p],x=function(e,t,n,r){var o="clippingParents"===t?function(e){var t=A(T(e)),n=["absolute","fixed"].indexOf(E(e).position)>=0&&m(e)?N(e):e;return h(n)?t.filter((function(e){return h(e)&&fe(e,n)&&"body"!==D(e)})):[]}(e):[].concat(t),a=[].concat(o,[n]),i=a[0],u=a.reduce((function(t,n){var o=de(e,n,r);return t.top=v(o.top,t.top),t.right=b(o.right,t.right),t.bottom=b(o.bottom,t.bottom),t.left=v(o.left,t.left),t}),de(e,i,r));return u.width=u.right-u.left,u.height=u.bottom-u.top,u.x=u.left,u.y=u.top,u}(h(P)?P:P.contextElement||S(e.elements.popper),s,l,i),M=O(e.elements.reference),R=oe({reference:M,element:C,strategy:"absolute",placement:o}),j=pe(Object.assign({},C,R)),I=p===K?j:M,B={top:x.top-I.top+_.top,bottom:I.bottom-x.bottom+_.bottom,left:x.left-I.left+_.left,right:I.right-x.right+_.right},U=e.modifiersData.offset;if(p===K&&U){var H=U[o];Object.keys(B).forEach((function(e){var t=[Y,F].indexOf(e)>=0?1:-1,n=[L,F].indexOf(e)>=0?"y":"x";B[e]+=H[n]*t}))}return B}function ve(e,t,n){return v(e,b(t,n))}function be(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function ge(e){return[L,Y,F,B].some((function(t){return e[t]>=0}))}var we=J({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,a=void 0===o||o,i=r.resize,u=void 0===i||i,s=d(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&c.forEach((function(e){e.addEventListener("scroll",n.update,ee)})),u&&s.addEventListener("resize",n.update,ee),function(){a&&c.forEach((function(e){e.removeEventListener("scroll",n.update,ee)})),u&&s.removeEventListener("resize",n.update,ee)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=oe({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,a=n.adaptive,i=void 0===a||a,u=n.roundOffsets,s=void 0===u||u,c={placement:te(t.placement),variation:ne(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,ie(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i,roundOffsets:s})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,ie(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:s})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];m(o)&&D(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],o=t.attributes[e]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});m(r)&&D(r)&&(Object.assign(r.style,a),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,a=void 0===o?[0,0]:o,i=$.reduce((function(e,n){return e[n]=function(e,t,n){var r=te(e),o=[B,L].indexOf(r)>=0?-1:1,a="function"==typeof n?n(Object.assign({},t,{placement:e})):n,i=a[0],u=a[1];return i=i||0,u=(u||0)*o,[B,Y].indexOf(r)>=0?{x:u,y:i}:{x:i,y:u}}(n,t.rects,a),e}),{}),u=i[t.placement],s=u.x,c=u.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=i}},{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,a=void 0===o||o,i=n.altAxis,u=void 0===i||i,s=n.fallbackPlacements,c=n.padding,l=n.boundary,f=n.rootBoundary,p=n.altBoundary,d=n.flipVariations,h=void 0===d||d,m=n.allowedAutoPlacements,y=t.options.placement,v=te(y),b=s||(v!==y&&h?function(e){if(te(e)===U)return[];var t=se(e);return[le(e),t,le(t)]}(y):[se(y)]),g=[y].concat(b).reduce((function(e,n){return e.concat(te(n)===U?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,a=n.rootBoundary,i=n.padding,u=n.flipVariations,s=n.allowedAutoPlacements,c=void 0===s?$:s,l=ne(r),f=l?u?z:z.filter((function(e){return ne(e)===l})):V,p=f.filter((function(e){return c.indexOf(e)>=0}));0===p.length&&(p=f);var d=p.reduce((function(t,n){return t[n]=ye(e,{placement:n,boundary:o,rootBoundary:a,padding:i})[te(n)],t}),{});return Object.keys(d).sort((function(e,t){return d[e]-d[t]}))}(t,{placement:n,boundary:l,rootBoundary:f,padding:c,flipVariations:h,allowedAutoPlacements:m}):n)}),[]),w=t.rects.reference,_=t.rects.popper,O=new Map,k=!0,D=g[0],S=0;S=0,M=x?"width":"height",T=ye(t,{placement:C,boundary:l,rootBoundary:f,altBoundary:p,padding:c}),R=x?P?Y:B:P?F:L;w[M]>_[M]&&(R=se(R));var A=se(R),j=[];if(a&&j.push(T[E]<=0),u&&j.push(T[R]<=0,T[A]<=0),j.every((function(e){return e}))){D=C,k=!1;break}O.set(C,j)}if(k)for(var I=function(e){var t=g.find((function(t){var n=O.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return D=t,"break"},N=h?3:1;N>0&&"break"!==I(N);N--);t.placement!==D&&(t.modifiersData[r]._skip=!0,t.placement=D,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,a=void 0===o||o,i=n.altAxis,u=void 0!==i&&i,s=n.boundary,c=n.rootBoundary,l=n.altBoundary,f=n.padding,p=n.tether,d=void 0===p||p,h=n.tetherOffset,m=void 0===h?0:h,y=ye(t,{boundary:s,rootBoundary:c,padding:f,altBoundary:l}),g=te(t.placement),w=ne(t.placement),_=!w,O=re(g),k="x"===O?"y":"x",D=t.modifiersData.popperOffsets,S=t.rects.reference,C=t.rects.popper,E="function"==typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,P="number"==typeof E?{mainAxis:E,altAxis:E}:Object.assign({mainAxis:0,altAxis:0},E),x=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,T={x:0,y:0};if(D){if(a){var R,A="y"===O?L:B,j="y"===O?F:Y,I="y"===O?"height":"width",U=D[O],V=U+y[A],W=U-y[j],q=d?-C[I]/2:0,K=w===H?S[I]:C[I],z=w===H?-C[I]:-S[I],$=t.elements.arrow,Q=d&&$?M($):{width:0,height:0},G=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},X=G[A],Z=G[j],J=ve(0,S[I],Q[I]),ee=_?S[I]/2-q-J-X-P.mainAxis:K-J-X-P.mainAxis,oe=_?-S[I]/2+q+J+Z+P.mainAxis:z+J+Z+P.mainAxis,ae=t.elements.arrow&&N(t.elements.arrow),ie=ae?"y"===O?ae.clientTop||0:ae.clientLeft||0:0,ue=null!=(R=null==x?void 0:x[O])?R:0,se=U+oe-ue,ce=ve(d?b(V,U+ee-ue-ie):V,U,d?v(W,se):W);D[O]=ce,T[O]=ce-U}if(u){var le,fe="x"===O?L:B,pe="x"===O?F:Y,de=D[k],he="y"===k?"height":"width",me=de+y[fe],be=de-y[pe],ge=-1!==[L,B].indexOf(g),we=null!=(le=null==x?void 0:x[k])?le:0,_e=ge?me:de-S[he]-C[he]-we+P.altAxis,Oe=ge?de+S[he]+C[he]-we-P.altAxis:be,ke=d&&ge?function(e,t,n){var r=ve(e,t,n);return r>n?n:r}(_e,de,Oe):ve(d?_e:me,de,d?Oe:be);D[k]=ke,T[k]=ke-de}t.modifiersData[r]=T}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,a=n.elements.arrow,i=n.modifiersData.popperOffsets,u=te(n.placement),s=re(u),c=[B,Y].indexOf(u)>=0?"height":"width";if(a&&i){var l=function(e,t){return he("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:me(e,V))}(o.padding,n),f=M(a),p="y"===s?L:B,d="y"===s?F:Y,h=n.rects.reference[c]+n.rects.reference[s]-i[s]-n.rects.popper[c],m=i[s]-n.rects.reference[s],y=N(a),v=y?"y"===s?y.clientHeight||0:y.clientWidth||0:0,b=h/2-m/2,g=l[p],w=v-f[c]-l[d],_=v/2-f[c]/2+b,O=ve(g,_,w),k=s;n.modifiersData[r]=((t={})[k]=O,t.centerOffset=O-_,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&fe(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,a=t.modifiersData.preventOverflow,i=ye(t,{elementContext:"reference"}),u=ye(t,{altBoundary:!0}),s=be(i,r),c=be(u,o,a),l=ge(s),f=ge(c);t.modifiersData[n]={referenceClippingOffsets:s,popperEscapeOffsets:c,isReferenceHidden:l,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":l,"data-popper-escaped":f})}}]}),_e=n(115),Oe=n.n(_e),ke=[],De=function(e,t,n){void 0===n&&(n={});var o=r.useRef(null),a={onFirstUpdate:n.onFirstUpdate,placement:n.placement||"bottom",strategy:n.strategy||"absolute",modifiers:n.modifiers||ke},i=r.useState({styles:{popper:{position:a.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),u=i[0],s=i[1],c=r.useMemo((function(){return{name:"updateState",enabled:!0,phase:"write",fn:function(e){var t=e.state,n=Object.keys(t.elements);p.flushSync((function(){s({styles:l(n.map((function(e){return[e,t.styles[e]||{}]}))),attributes:l(n.map((function(e){return[e,t.attributes[e]]})))})}))},requires:["computeStyles"]}}),[]),d=r.useMemo((function(){var e={onFirstUpdate:a.onFirstUpdate,placement:a.placement,strategy:a.strategy,modifiers:[].concat(a.modifiers,[c,{name:"applyStyles",enabled:!1}])};return Oe()(o.current,e)?o.current||e:(o.current=e,e)}),[a.onFirstUpdate,a.placement,a.strategy,a.modifiers,c]),h=r.useRef();return f((function(){h.current&&h.current.setOptions(d)}),[d]),f((function(){if(null!=e&&null!=t){var r=(n.createPopper||we)(e,t,d);return h.current=r,function(){r.destroy(),h.current=null}}}),[e,t,n.createPopper]),{state:h.current?h.current.state:null,styles:u.styles,attributes:u.attributes,update:h.current?h.current.update:null,forceUpdate:h.current?h.current.forceUpdate:null}},Se=function(){},Ce=function(){return Promise.resolve(null)},Ee=[];function Pe(e){var t=e.placement,n=void 0===t?"bottom":t,a=e.strategy,i=void 0===a?"absolute":a,s=e.modifiers,l=void 0===s?Ee:s,f=e.referenceElement,p=e.onFirstUpdate,d=e.innerRef,h=e.children,m=r.useContext(o),y=r.useState(null),v=y[0],b=y[1],g=r.useState(null),w=g[0],_=g[1];r.useEffect((function(){c(d,v)}),[d,v]);var O=r.useMemo((function(){return{placement:n,strategy:i,onFirstUpdate:p,modifiers:[].concat(l,[{name:"arrow",enabled:null!=w,options:{element:w}}])}}),[n,i,p,l,w]),k=De(f||m,v,O),D=k.state,S=k.styles,C=k.forceUpdate,E=k.update,P=r.useMemo((function(){return{ref:b,style:S.popper,placement:D?D.placement:n,hasPopperEscaped:D&&D.modifiersData.hide?D.modifiersData.hide.hasPopperEscaped:null,isReferenceHidden:D&&D.modifiersData.hide?D.modifiersData.hide.isReferenceHidden:null,arrowProps:{style:S.arrow,ref:_},forceUpdate:C||Se,update:E||Ce}}),[b,_,n,D,S,E,C]);return u(h)(P)}var xe=n(9771),Me=n.n(xe);function Te(e){var t=e.children,n=e.innerRef,o=r.useContext(a),i=r.useCallback((function(e){c(n,e),s(o,e)}),[n,o]);return r.useEffect((function(){return function(){return c(n,null)}}),[]),r.useEffect((function(){Me()(Boolean(o),"`Reference` should not be used outside of a `Manager` component.")}),[o]),u(t)({ref:i})}},9771:function(e){"use strict";e.exports=function(){}},1609:function(e){"use strict";e.exports=window.React},5795:function(e){"use strict";e.exports=window.ReactDOM},1455:function(e){"use strict";e.exports=window.wp.apiFetch},6427:function(e){"use strict";e.exports=window.wp.components},6087:function(e){"use strict";e.exports=window.wp.element},7723:function(e){"use strict";e.exports=window.wp.i18n},3832:function(e){"use strict";e.exports=window.wp.url},3145:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n!!e[a],u=e=>!e[a].c,s=e=>{var t;const{b:n,c:r}=e[a];r&&(r(),null==(t=f.get(n))||t())},c=(e,t)=>{const n=e[a].o,r=t[a].o;return n===r||e===r||i(n)&&c(n,t)},l=(e,t)=>{const n={b:e,o:t,c:null},r=new Promise((e=>{n.c=()=>{n.c=null,e()},t.finally(n.c)}));return r[a]=n,r},f=new WeakMap,p=e=>"init"in e,d="r",h="w",m="c",y="s",v=e=>{const t=new WeakMap,n=new WeakMap,r=new Map;let o,f;if(o=new Set,f=new Set,e)for(const[n,r]of e){const e={v:r,r:0,y:!0,d:new Map};Object.freeze(e),p(n)||console.warn("Found initial value for derived atom which can cause unexpected behavior",n),t.set(n,e)}const v=new WeakMap,b=new WeakMap,g=e=>{let t=b.get(e);return t||(t=new Map,b.set(e,t)),t},w=(e,n)=>{if(e){const t=g(e);let r=t.get(n);return r||(r=w(e.p,n),r&&"p"in r&&u(r.p)&&(r=void 0),r&&t.set(n,r)),r}return t.get(n)},_=(e,n,o)=>{if(Object.freeze(o),e)g(e).set(n,o);else{const e=t.get(n);t.set(n,o),r.has(n)||r.set(n,e)}},O=(e,t=new Map,n)=>{if(!n)return t;const r=new Map;let o=!1;return n.forEach((n=>{var a;const i=(null==(a=w(e,n))?void 0:a.r)||0;r.set(n,i),t.get(n)!==i&&(o=!0)})),t.size!==r.size||o?r:t},k=(e,t,n,r,o)=>{const a=w(e,t);if(a){if(o&&(!("p"in a)||!c(a.p,o)))return a;"p"in a&&s(a.p)}const i={v:n,r:(null==a?void 0:a.r)||0,y:!0,d:O(e,null==a?void 0:a.d,r)};let u=!(null==a?void 0:a.y);return a&&"v"in a&&Object.is(a.v,n)?i.d===a.d||i.d.size===a.d.size&&Array.from(i.d.keys()).every((e=>a.d.has(e)))||(u=!0,Promise.resolve().then((()=>{I(e)}))):(u=!0,++i.r,i.d.has(t)&&(i.d=new Map(i.d).set(t,i.r))),a&&!u?a:(_(e,t,i),i)},D=(e,t,n,r,o)=>{const a=w(e,t);if(a){if(o&&(!("p"in a)||!c(a.p,o)))return a;"p"in a&&s(a.p)}const i={e:n,r:((null==a?void 0:a.r)||0)+1,y:!0,d:O(e,null==a?void 0:a.d,r)};return _(e,t,i),i},S=(e,t,n,r)=>{const o=w(e,t);if(o&&"p"in o){if(c(o.p,n)&&!u(o.p))return o.y?o:{...o,y:!0};s(o.p)}((e,t,n)=>{let r=v.get(t);r||(r=new Map,v.set(t,r)),n.then((()=>{r.get(e)===n&&(r.delete(e),r.size||v.delete(t))})),r.set(e,n)})(e,t,n);const a={p:n,r:((null==o?void 0:o.r)||0)+1,y:!0,d:O(e,null==o?void 0:o.d,r)};return _(e,t,a),a},C=(e,t,n,r)=>{if(n instanceof Promise){const o=l(n,n.then((n=>{k(e,t,n,r,o)})).catch((n=>{if(n instanceof Promise)return i(n)?n.then((()=>{E(e,t,!0)})):n;D(e,t,n,r,o)})));return S(e,t,o,r)}return k(e,t,n,r)},E=(e,t,r)=>{if(!r){const r=w(e,t);if(r){if(r.y&&"p"in r&&!u(r.p))return r;if(r.d.forEach(((r,o)=>{if(o!==t)if(n.has(o)){const t=w(e,o);t&&!t.y&&E(e,o)}else E(e,o)})),Array.from(r.d).every((([t,n])=>{const r=w(e,t);return r&&!("p"in r)&&r.r===n})))return r.y?r:{...r,y:!0}}}const o=new Set;try{const n=t.read((n=>{o.add(n);const r=n===t?w(e,n):E(e,n);if(r){if("e"in r)throw r.e;if("p"in r)throw r.p;return r.v}if(p(n))return n.init;throw new Error("no atom init")}));return C(e,t,n,o)}catch(n){if(n instanceof Promise){const r=i(n)&&u(n)?(e=>l(e[a].b,e[a].o))(n):l(n,n);return S(e,t,r,o)}return D(e,t,n,o)}},P=(e,t)=>!t.l.size&&(!t.t.size||1===t.t.size&&t.t.has(e)),x=(e,t)=>{const r=n.get(t);null==r||r.t.forEach((n=>{n!==t&&(((e,t)=>{const n=w(e,t);if(n){const r={...n,y:!1};_(e,t,r)}else console.warn("[Bug] could not invalidate non existing atom",t)})(e,n),x(e,n))}))},M=(e,t,n)=>{let r=!0;const o=(t,n)=>{const r=E(e,t);if("e"in r)throw r.e;if("p"in r){if(null==n?void 0:n.unstable_promise)return r.p.then((()=>{const a=w(e,t);return a&&"p"in a&&a.p===r.p?new Promise((e=>setTimeout(e))).then((()=>o(t,n))):o(t,n)}));throw console.info("Reading pending atom state in write operation. We throw a promise for now.",t),r.p}if("v"in r)return r.v;throw console.warn("[Bug] no value found while reading atom in write operation. This is probably a bug.",t),new Error("no value found")},a=t.write(o,((n,o)=>{let a;if(n===t){if(!p(n))throw new Error("atom not writable");const t=(e=>{const t=new Set,n=v.get(e);return n&&(v.delete(e),n.forEach(((e,n)=>{s(e),t.add(n)}))),t})(n);t.forEach((t=>{t!==e&&C(t,n,o)})),w(e,n)!==C(e,n,o)&&x(e,n)}else a=M(e,n,o);return r||I(e),a}),n);return r=!1,a},T=(e,t,n)=>{const r=M(n,e,t);return I(n),r},R=(e,t,r)=>{const o={t:new Set(r&&[r]),l:new Set};if(n.set(t,o),f.add(t),E(void 0,t).d.forEach(((r,o)=>{const a=n.get(o);a?a.t.add(t):o!==t&&R(e,o,t)})),(e=>!!e.write)(t)&&t.onMount){const n=n=>T(t,n,e),r=t.onMount(n);e=void 0,r&&(o.u=r)}return o},A=(e,t)=>{var r;const o=null==(r=n.get(t))?void 0:r.u;o&&o(),n.delete(t),f.delete(t);const a=w(e,t);a?("p"in a&&s(a.p),a.d.forEach(((r,o)=>{if(o!==t){const r=n.get(o);r&&(r.t.delete(t),P(o,r)&&A(e,o))}}))):console.warn("[Bug] could not find atom state to unmount",t)},j=(e,t,r,o)=>{const a=new Set(r.d.keys());null==o||o.forEach(((r,o)=>{if(a.has(o))return void a.delete(o);const i=n.get(o);i&&(i.t.delete(t),P(o,i)&&A(e,o))})),a.forEach((r=>{const o=n.get(r);o?o.t.add(t):n.has(t)&&R(e,r,t)}))},I=e=>{if(e)g(e).forEach(((r,o)=>{if(r!==t.get(o)){const t=n.get(o);null==t||t.l.forEach((t=>t(e)))}}));else{for(;r.size;){const e=Array.from(r);r.clear(),e.forEach((([e,t])=>{const r=w(void 0,e);if(r&&r.d!==(null==t?void 0:t.d)&&j(void 0,e,r,null==t?void 0:t.d),t&&!t.y&&(null==r?void 0:r.y))return;const o=n.get(e);null==o||o.l.forEach((e=>e()))}))}o.forEach((e=>e()))}};return{[d]:(e,t)=>E(t,e),[h]:T,[m]:(e,n)=>{n&&(e=>{g(e).forEach(((n,r)=>{const o=t.get(r);(!o||n.r>o.r||n.y!==o.y||n.r===o.r&&n.d!==o.d)&&(t.set(r,n),n.d!==(null==o?void 0:o.d)&&j(e,r,n,null==o?void 0:o.d))}))})(n),I(void 0)},[y]:(e,t,r)=>{const o=((e,t)=>{let r=n.get(t);return r||(r=R(e,t)),r})(r,e),a=o.l;return a.add(t),()=>{a.delete(t),((e,t)=>{const r=n.get(t);r&&P(t,r)&&A(e,t)})(r,e)}},h:(e,t)=>{for(const[n,r]of e)p(n)&&(C(t,n,r),x(t,n));I(t)},n:e=>(o.add(e),()=>{o.delete(e)}),l:()=>f.values(),a:e=>t.get(e),m:e=>n.get(e)}},b=new Map,g=e=>{return b.has(e)||b.set(e,(0,r.createContext)({s:n?n(t).SECRET_INTERNAL_store:v(t)})),b.get(e);var t,n};function w(e,t){return function(e,t){const n="atom"+ ++o,r={toString:()=>n};return"function"==typeof e?r.read=e:(r.init=e,r.read=e=>e(r),r.write=(e,t,n)=>t(r,"function"==typeof n?n(e(r)):n)),t&&(r.write=t),r}(e,t)}function _(e,t){const n=g(t),o=(0,r.useContext)(n),{s:a,v:i}=o,u=t=>{const n=a[d](e,t);if(!n.y)throw new Error("should not be invalidated");if("e"in n)throw n.e;if("p"in n)throw n.p;if("v"in n)return n.v;throw new Error("no atom value")},[[s,c,l],f]=(0,r.useReducer)(((t,n)=>{const r=u(n);return Object.is(t[1],r)&&t[2]===e?t:[n,r,e]}),i,(t=>[t,u(t),e]));let p=c;return l!==e&&(f(s),p=u(s)),(0,r.useEffect)((()=>{const{v:t}=o;t&&a[m](e,t);const n=a[y](e,f,t);return f(t),n}),[a,e,o]),(0,r.useEffect)((()=>{a[m](e,s)})),(0,r.useDebugValue)(p),p}function O(e,t){const n=g(t),{s:o,w:a}=(0,r.useContext)(n);return(0,r.useCallback)((t=>{if(!("write"in e))throw new Error("not writable atom");const n=n=>o[h](e,t,n);return a?a(n):n()}),[o,a,e])}function k(e,t){return"scope"in e&&(console.warn("atom.scope is deprecated. Please do useAtom(atom, scope) instead."),t=e.scope),[_(e,t),O(e,t)]}}},__webpack_module_cache__={},deferred;function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var n=__webpack_module_cache__[e]={exports:{}};return __webpack_modules__[e].call(n.exports,n,n.exports,__webpack_require__),n.exports}__webpack_require__.m=__webpack_modules__,deferred=[],__webpack_require__.O=function(e,t,n,r){if(!t){var o=1/0;for(s=0;s=r)&&Object.keys(__webpack_require__.O).every((function(e){return __webpack_require__.O[e](t[i])}))?t.splice(i--,1):(a=!1,r0&&deferred[s-1][2]>r;s--)deferred[s]=deferred[s-1];deferred[s]=[t,n,r]},__webpack_require__.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return __webpack_require__.d(t,{a:t}),t},__webpack_require__.d=function(e,t){for(var n in t)__webpack_require__.o(t,n)&&!__webpack_require__.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},__webpack_require__.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},__webpack_require__.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},function(){var e={552:0,525:0};__webpack_require__.O.j=function(t){return 0===e[t]};var t=function(t,n){var r,o,a=n[0],i=n[1],u=n[2],s=0;if(a.some((function(t){return 0!==e[t]}))){for(r in i)__webpack_require__.o(i,r)&&(__webpack_require__.m[r]=i[r]);if(u)var c=u(__webpack_require__)}for(t&&t(n);s=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var u=n(1609),s=window.wp.blocks,c=JSON.parse('{"apiVersion":2,"name":"gk-gravityview-blocks/view","version":"1.0.0","title":"GravityView View","category":"gk-gravityview-blocks","description":"Display a GravityView View.","keywords":["GravityView","view"],"supports":{"html":false},"textdomain":"gk-gravityview","attributes":{"viewId":{"default":"","type":"string"},"postId":{"default":0,"type":"number"},"secret":{"default":null,"type":"string"},"pageSize":{"default":"","type":"string"},"sortField":{"default":"","type":"string"},"sortDirection":{"default":"","type":"string"},"searchField":{"default":"","type":"string"},"searchValue":{"default":"","type":"string"},"searchOperator":{"default":"contains","type":"string"},"startDate":{"default":"","type":"string"},"startDateType":{"default":"date","type":"string"},"endDate":{"default":"","type":"string"},"endDateType":{"default":"date","type":"string"},"classValue":{"default":"","type":"string"},"offset":{"default":0,"type":"number"},"singleTitle":{"default":"","type":"string"},"backLinkLabel":{"default":"","type":"string"},"previewBlock":{"type":"boolean","default":false},"previewAsShortcode":{"type":"boolean","default":false},"showPreviewImage":{"type":"boolean","default":false}},"example":{"attributes":{"showPreviewImage":true}}}'),l=n(3145),f=n(7800);function p(e){return function(e){if(Array.isArray(e))return(0,l.A)(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||(0,f.A)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var d=n(7723),h=window.wp.blockEditor,m=n(6427),y=window.moment,v=n.n(y),b=n(9386),g=n.n(b);function w(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function _(e){for(var t=1;t0?N(K,--W):0,V--,10===q&&(V=1,U--),q}function G(){return q=W2||ee(q)>3?"":" "}function ae(e,t){for(;--t&&G()&&!(q<48||q>102||q>57&&q<65||q>70&&q<97););return J(e,Z()+(t<6&&32==X()&&32==G()))}function ie(e){for(;G();)switch(q){case e:return W;case 34:case 39:34!==e&&39!==e&&ie(q);break;case 40:41===e&&ie(e);break;case 92:G()}return W}function ue(e,t){for(;G()&&e+q!==57&&(e+q!==84||47!==X()););return"/*"+J(t,W-1)+"*"+T(47===e?e:G())}function se(e){for(;!ee(X());)G();return J(e,W)}var ce="-ms-",le="-moz-",fe="-webkit-",pe="comm",de="rule",he="decl",me="@keyframes";function ye(e,t){for(var n="",r=B(e),o=0;o0&&F(k)-f&&Y(d>32?Oe(k+";",r,n,f-1):Oe(j(k," ","")+";",r,n,f-2),s);break;case 59:k+=";";default:if(Y(O=we(k,t,n,c,l,o,u,g,w=[],_=[],f),a),123===b)if(0===l)ge(k,t,O,O,w,a,f,u,_);else switch(99===p&&110===N(k,3)?100:p){case 100:case 109:case 115:ge(e,O,O,r&&Y(we(e,O,O,0,0,o,u,g,o,w=[],f),_),o,_,f,u,r?w:_);break;default:ge(k,O,O,O,[""],_,0,u,_)}}c=l=d=0,m=v=1,g=k="",f=i;break;case 58:f=1+F(k),d=h;default:if(m<1)if(123==b)--m;else if(125==b&&0==m++&&125==Q())continue;switch(k+=T(b),b*m){case 38:v=l>0?1:(k+="\f",-1);break;case 44:u[c++]=(F(k)-1)*v,v=1;break;case 64:45===X()&&(k+=re(G())),p=X(),l=f=F(g=k+=se(Z())),b++;break;case 45:45===h&&2==F(k)&&(m=0)}}return a}function we(e,t,n,r,o,a,i,u,s,c,l){for(var f=o-1,p=0===o?a:[""],d=B(p),h=0,m=0,y=0;h0?p[v]+" "+b:j(b,/&\f/g,p[v])))&&(s[y++]=g);return z(e,t,n,0===o?de:u,s,c,l)}function _e(e,t,n){return z(e,t,n,pe,T(q),L(e,2,-2),0)}function Oe(e,t,n,r){return z(e,t,n,he,L(e,0,r),L(e,r+1,-1),r)}var ke=function(e,t,n){for(var r=0,o=0;r=o,o=X(),38===r&&12===o&&(t[n]=1),!ee(o);)G();return J(e,W)},De=new WeakMap,Se=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||De.get(n))&&!r){De.set(e,!0);for(var o=[],a=function(e,t){return ne(function(e,t){var n=-1,r=44;do{switch(ee(r)){case 0:38===r&&12===X()&&(t[n]=1),e[n]+=ke(W-1,t,n);break;case 2:e[n]+=re(r);break;case 4:if(44===r){e[++n]=58===X()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=T(r)}}while(r=G());return e}(te(e),t))}(t,o),i=n.props,u=0,s=0;u6)switch(N(e,t+1)){case 109:if(45!==N(e,t+4))break;case 102:return j(e,/(.+:)(.+)-([^]+)/,"$1"+fe+"$2-$3$1"+le+(108==N(e,t+3)?"$3":"$2-$3"))+e;case 115:return~I(e,"stretch")?Ee(j(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==N(e,t+1))break;case 6444:switch(N(e,F(e)-3-(~I(e,"!important")&&10))){case 107:return j(e,":",":"+fe)+e;case 101:return j(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+fe+(45===N(e,14)?"inline-":"")+"box$3$1"+fe+"$2$3$1"+ce+"$2box$3")+e}break;case 5936:switch(N(e,t+11)){case 114:return fe+e+ce+j(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return fe+e+ce+j(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return fe+e+ce+j(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return fe+e+ce+e+e}return e}var Pe=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case he:e.return=Ee(e.value,e.length);break;case me:return ye([$(e,{value:j(e.value,"@","@"+fe)})],r);case de:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=/(::plac\w+|:read-\w+)/.exec(e))?e[0]:e}(t)){case":read-only":case":read-write":return ye([$(e,{props:[j(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return ye([$(e,{props:[j(t,/:(plac\w+)/,":"+fe+"input-$1")]}),$(e,{props:[j(t,/:(plac\w+)/,":-moz-$1")]}),$(e,{props:[j(t,/:(plac\w+)/,ce+"input-$1")]})],r)}return""}))}}],xe=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var r,o,a=e.stylisPlugins||Pe,i={},u=[];r=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)},Re={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Ae=/[A-Z]|^ms/g,je=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Ie=function(e){return 45===e.charCodeAt(1)},Ne=function(e){return null!=e&&"boolean"!=typeof e},Le=function(e){var t=Object.create(null);return function(e){return void 0===t[e]&&(t[e]=Ie(n=e)?n:n.replace(Ae,"-$&").toLowerCase()),t[e];var n}}(),Fe=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(je,(function(e,t,n){return Ye={name:t,styles:n,next:Ye},t}))}return 1===Re[e]||Ie(e)||"number"!=typeof t||0===t?t:t+"px"};function Be(e,t,n){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return Ye={name:n.name,styles:n.styles,next:Ye},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)Ye={name:r.name,styles:r.styles,next:Ye},r=r.next;return n.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;oe.brand+"/"+e.version)).join(" "),rt):navigator.userAgent}())}["top","right","bottom","left"].reduce(((e,t)=>e.concat(t,t+"-start",t+"-end")),[]),Math.min,Math.max;const lt=Math.round;function ft(e){return at(e)?e:e.contextElement}const pt={x:1,y:1};function dt(e){const t=ft(e);if(!ot(t))return pt;const n=t.getBoundingClientRect(),{width:r,height:o,fallback:a}=function(e){const t=tt(e);let n=parseFloat(t.width),r=parseFloat(t.height);const o=e.offsetWidth,a=e.offsetHeight,i=lt(n)!==o||lt(r)!==a;return i&&(n=o,r=a),{width:n,height:r,fallback:i}}(t);let i=(a?lt(n.width):n.width)/r,u=(a?lt(n.height):n.height)/o;return i&&Number.isFinite(i)||(i=1),u&&Number.isFinite(u)||(u=1),{x:i,y:u}}function ht(e,t,n,r){var o,a;void 0===t&&(t=!1),void 0===n&&(n=!1);const i=e.getBoundingClientRect(),u=ft(e);let s=pt;t&&(r?at(r)&&(s=dt(r)):s=dt(e));const c=u?et(u):window,l=!ct()&&n;let f=(i.left+(l&&(null==(o=c.visualViewport)?void 0:o.offsetLeft)||0))/s.x,p=(i.top+(l&&(null==(a=c.visualViewport)?void 0:a.offsetTop)||0))/s.y,d=i.width/s.x,h=i.height/s.y;if(u){const e=et(u),t=r&&at(r)?et(r):r;let n=e.frameElement;for(;n&&r&&t!==e;){const e=dt(n),t=n.getBoundingClientRect(),r=getComputedStyle(n);t.x+=(n.clientLeft+parseFloat(r.paddingLeft))*e.x,t.y+=(n.clientTop+parseFloat(r.paddingTop))*e.y,f*=e.x,p*=e.y,d*=e.x,h*=e.y,f+=t.x,p+=t.y,n=et(n).frameElement}}return{width:d,height:h,top:p,right:f+d,bottom:p+h,left:f,x:f,y:p}}function mt(e){if("html"===nt(e))return e;const t=e.assignedSlot||e.parentNode||(ut(e)?e.host:null)||function(e){return((it(e)?e.ownerDocument:e.document)||window.document).documentElement}(e);return ut(t)?t.host:t}function yt(e){const t=mt(e);return function(e){return["html","body","#document"].includes(nt(e))}(t)?e.ownerDocument.body:ot(t)&&st(t)?t:yt(t)}function vt(e,t){var n;void 0===t&&(t=[]);const r=yt(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),a=et(r);return o?t.concat(a,a.visualViewport||[],st(r)?r:[]):t.concat(r,vt(r))}var bt=u.useLayoutEffect,gt=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],wt=function(){};function _t(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function Ot(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o-1}function Et(e){return Ct(e)?window.pageYOffset:e.scrollTop}function Pt(e,t){Ct(e)?window.scrollTo(0,t):e.scrollTop=t}function xt(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:wt,o=Et(e),a=t-o,i=0;!function t(){var u,s=(u=i+=10,a*((u=u/n-1)*u*u+1)+o);Pt(e,s),in.bottom?Pt(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+o,e.scrollHeight)):r.top-o=h)return{placement:"bottom",maxHeight:t};if(D>=h&&!i)return a&&xt(s,S,E),{placement:"bottom",maxHeight:t};if(!i&&D>=r||i&&O>=r)return a&&xt(s,S,E),{placement:"bottom",maxHeight:i?O-g:D-g};if("auto"===o||i){var P=t,x=i?_:k;return x>=r&&(P=Math.min(x-g-u,t)),{placement:"top",maxHeight:P}}if("bottom"===o)return a&&Pt(s,S),{placement:"bottom",maxHeight:t};break;case"top":if(_>=h)return{placement:"top",maxHeight:t};if(k>=h&&!i)return a&&xt(s,C,E),{placement:"top",maxHeight:t};if(!i&&k>=r||i&&_>=r){var M=t;return(!i&&k>=r||i&&_>=r)&&(M=i?_-w:k-w),a&&xt(s,C,E),{placement:"top",maxHeight:M}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(o,'".'))}return c}({maxHeight:r,menuEl:e,minHeight:n,placement:o,shouldScroll:i&&!t,isFixedPosition:t,controlHeight:g});h(u.maxHeight),b(u.placement),null==c||c(u.placement)}}),[r,o,a,i,n,c,g]),t({ref:l,placerProps:_(_({},e),{},{placement:v||Ft(o),maxHeight:d})})},Ut=function(e,t){var n=e.theme,r=n.spacing.baseUnit,o=n.colors;return _({textAlign:"center"},t?{}:{color:o.neutral40,padding:"".concat(2*r,"px ").concat(3*r,"px")})},Vt=Ut,Ht=Ut,Wt=function(e){var t=e.children,n=e.innerProps;return Xe("div",D({},St(e,"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),n),t)};Wt.defaultProps={children:"No options"};var qt=function(e){var t=e.children,n=e.innerProps;return Xe("div",D({},St(e,"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),n),t)};qt.defaultProps={children:"Loading..."};var Kt,zt,$t,Qt=["size"],Gt={name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"},Xt=function(e){var t=e.size,n=i(e,Qt);return Xe("svg",D({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:Gt},n))},Zt=function(e){return Xe(Xt,D({size:20},e),Xe("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},Jt=function(e){return Xe(Xt,D({size:20},e),Xe("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},en=function(e,t){var n=e.isFocused,r=e.theme,o=r.spacing.baseUnit,a=r.colors;return _({label:"indicatorContainer",display:"flex",transition:"color 150ms"},t?{}:{color:n?a.neutral60:a.neutral20,padding:2*o,":hover":{color:n?a.neutral80:a.neutral40}})},tn=en,nn=en,rn=function(){var e=Ze.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}(Kt||(zt=["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"],$t||($t=zt.slice(0)),Kt=Object.freeze(Object.defineProperties(zt,{raw:{value:Object.freeze($t)}})))),on=function(e){var t=e.delay,n=e.offset;return Xe("span",{css:Ze({animation:"".concat(rn," 1s ease-in-out ").concat(t,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:n?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},"","")})},an=function(e){var t=e.innerProps,n=e.isRtl;return Xe("div",D({},St(e,"loadingIndicator",{indicator:!0,"loading-indicator":!0}),t),Xe(on,{delay:0,offset:n}),Xe(on,{delay:160,offset:!0}),Xe(on,{delay:320,offset:!n}))};an.defaultProps={size:4};var un=["data"],sn=["innerRef","isDisabled","isHidden","inputClassName"],cn={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},ln={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":_({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},cn)},fn=function(e){return _({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},cn)},pn=function(e){var t=e.children,n=e.innerProps;return Xe("div",n,t)},dn={ClearIndicator:function(e){var t=e.children,n=e.innerProps;return Xe("div",D({},St(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),n),t||Xe(Zt,null))},Control:function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,o=e.innerRef,a=e.innerProps,i=e.menuIsOpen;return Xe("div",D({ref:o},St(e,"control",{control:!0,"control--is-disabled":n,"control--is-focused":r,"control--menu-is-open":i}),a),t)},DropdownIndicator:function(e){var t=e.children,n=e.innerProps;return Xe("div",D({},St(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),n),t||Xe(Jt,null))},DownChevron:Jt,CrossIcon:Zt,Group:function(e){var t=e.children,n=e.cx,r=e.getStyles,o=e.getClassNames,a=e.Heading,i=e.headingProps,u=e.innerProps,s=e.label,c=e.theme,l=e.selectProps;return Xe("div",D({},St(e,"group",{group:!0}),u),Xe(a,D({},i,{selectProps:l,theme:c,getStyles:r,getClassNames:o,cx:n}),s),Xe("div",null,t))},GroupHeading:function(e){var t=Dt(e);t.data;var n=i(t,un);return Xe("div",D({},St(e,"groupHeading",{"group-heading":!0}),n))},IndicatorsContainer:function(e){var t=e.children,n=e.innerProps;return Xe("div",D({},St(e,"indicatorsContainer",{indicators:!0}),n),t)},IndicatorSeparator:function(e){var t=e.innerProps;return Xe("span",D({},t,St(e,"indicatorSeparator",{"indicator-separator":!0})))},Input:function(e){var t=e.cx,n=e.value,r=Dt(e),o=r.innerRef,a=r.isDisabled,u=r.isHidden,s=r.inputClassName,c=i(r,sn);return Xe("div",D({},St(e,"input",{"input-container":!0}),{"data-value":n||""}),Xe("input",D({className:t({input:!0},s),ref:o,style:fn(u),disabled:a},c)))},LoadingIndicator:an,Menu:function(e){var t=e.children,n=e.innerRef,r=e.innerProps;return Xe("div",D({},St(e,"menu",{menu:!0}),{ref:n},r),t)},MenuList:function(e){var t=e.children,n=e.innerProps,r=e.innerRef,o=e.isMulti;return Xe("div",D({},St(e,"menuList",{"menu-list":!0,"menu-list--is-multi":o}),{ref:r},n),t)},MenuPortal:function(e){var t=e.appendTo,n=e.children,r=e.controlElement,o=e.innerProps,a=e.menuPlacement,i=e.menuPosition,s=(0,u.useRef)(null),c=(0,u.useRef)(null),l=(0,u.useState)(Ft(a)),f=(0,O.A)(l,2),p=f[0],d=f[1],h=(0,u.useMemo)((function(){return{setPortalPlacement:d}}),[]),m=(0,u.useState)(null),y=(0,O.A)(m,2),v=y[0],b=y[1],g=(0,u.useCallback)((function(){if(r){var e=function(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}(r),t="fixed"===i?0:window.pageYOffset,n=e[p]+t;n===(null==v?void 0:v.offset)&&e.left===(null==v?void 0:v.rect.left)&&e.width===(null==v?void 0:v.rect.width)||b({offset:n,rect:e})}}),[r,i,p,null==v?void 0:v.offset,null==v?void 0:v.rect.left,null==v?void 0:v.rect.width]);bt((function(){g()}),[g]);var w=(0,u.useCallback)((function(){"function"==typeof c.current&&(c.current(),c.current=null),r&&s.current&&(c.current=function(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:o=!0,ancestorResize:a=!0,elementResize:i=!0,animationFrame:u=!1}=r,s=o&&!u,c=s||a?[...at(e)?vt(e):e.contextElement?vt(e.contextElement):[],...vt(t)]:[];c.forEach((e=>{s&&e.addEventListener("scroll",n,{passive:!0}),a&&e.addEventListener("resize",n)}));let l,f=null;if(i){let r=!0;f=new ResizeObserver((()=>{r||n(),r=!1})),at(e)&&!u&&f.observe(e),at(e)||!e.contextElement||u||f.observe(e.contextElement),f.observe(t)}let p=u?ht(e):null;return u&&function t(){const r=ht(e);!p||r.x===p.x&&r.y===p.y&&r.width===p.width&&r.height===p.height||n(),p=r,l=requestAnimationFrame(t)}(),n(),()=>{var e;c.forEach((e=>{s&&e.removeEventListener("scroll",n),a&&e.removeEventListener("resize",n)})),null==(e=f)||e.disconnect(),f=null,u&&cancelAnimationFrame(l)}}(r,s.current,g,{elementResize:"ResizeObserver"in window}))}),[r,g]);bt((function(){w()}),[w]);var k=(0,u.useCallback)((function(e){s.current=e,w()}),[w]);if(!t&&"fixed"!==i||!v)return null;var S=Xe("div",D({ref:k},St(_(_({},e),{},{offset:v.offset,position:i,rect:v.rect}),"menuPortal",{"menu-portal":!0}),o),n);return Xe(Bt.Provider,{value:h},t?(0,Je.createPortal)(S,t):S)},LoadingMessage:qt,NoOptionsMessage:Wt,MultiValue:function(e){var t=e.children,n=e.components,r=e.data,o=e.innerProps,a=e.isDisabled,i=e.removeProps,u=e.selectProps,s=n.Container,c=n.Label,l=n.Remove;return Xe(s,{data:r,innerProps:_(_({},St(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":a})),o),selectProps:u},Xe(c,{data:r,innerProps:_({},St(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:u},t),Xe(l,{data:r,innerProps:_(_({},St(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(t||"option")},i),selectProps:u}))},MultiValueContainer:pn,MultiValueLabel:pn,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return Xe("div",D({role:"button"},n),t||Xe(Zt,{size:14}))},Option:function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,o=e.isSelected,a=e.innerRef,i=e.innerProps;return Xe("div",D({},St(e,"option",{option:!0,"option--is-disabled":n,"option--is-focused":r,"option--is-selected":o}),{ref:a,"aria-disabled":n},i),t)},Placeholder:function(e){var t=e.children,n=e.innerProps;return Xe("div",D({},St(e,"placeholder",{placeholder:!0}),n),t)},SelectContainer:function(e){var t=e.children,n=e.innerProps,r=e.isDisabled,o=e.isRtl;return Xe("div",D({},St(e,"container",{"--is-disabled":r,"--is-rtl":o}),n),t)},SingleValue:function(e){var t=e.children,n=e.isDisabled,r=e.innerProps;return Xe("div",D({},St(e,"singleValue",{"single-value":!0,"single-value--is-disabled":n}),r),t)},ValueContainer:function(e){var t=e.children,n=e.innerProps,r=e.isMulti,o=e.hasValue;return Xe("div",D({},St(e,"valueContainer",{"value-container":!0,"value-container--is-multi":r,"value-container--has-value":o}),n),t)}},hn=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function mn(e,t){if(e.length!==t.length)return!1;for(var n=0;n1?"s":""," ").concat(o.join(","),", selected.");case"select-option":return"option ".concat(r,a?" is disabled. Select another option.":", selected.");default:return""}},onFocus:function(e){var t=e.context,n=e.focused,r=e.options,o=e.label,a=void 0===o?"":o,i=e.selectValue,u=e.isDisabled,s=e.isSelected,c=function(e,t){return e&&e.length?"".concat(e.indexOf(t)+1," of ").concat(e.length):""};if("value"===t&&i)return"value ".concat(a," focused, ").concat(c(i,n),".");if("menu"===t){var l=u?" disabled":"",f="".concat(s?"selected":"focused").concat(l);return"option ".concat(a," ").concat(f,", ").concat(c(r,n),".")}return""},onFilter:function(e){var t=e.inputValue,n=e.resultsMessage;return"".concat(n).concat(t?" for search term "+t:"",".")}},gn=function(e){var t=e.ariaSelection,n=e.focusedOption,r=e.focusedValue,o=e.focusableOptions,a=e.isFocused,i=e.selectValue,s=e.selectProps,c=e.id,l=s.ariaLiveMessages,f=s.getOptionLabel,p=s.inputValue,d=s.isMulti,h=s.isOptionDisabled,m=s.isSearchable,y=s.menuIsOpen,v=s.options,b=s.screenReaderStatus,g=s.tabSelectsValue,w=s["aria-label"],O=s["aria-live"],k=(0,u.useMemo)((function(){return _(_({},bn),l||{})}),[l]),D=(0,u.useMemo)((function(){var e,n="";if(t&&k.onChange){var r=t.option,o=t.options,a=t.removedValue,u=t.removedValues,s=t.value,c=a||r||(e=s,Array.isArray(e)?null:e),l=c?f(c):"",p=o||u||void 0,d=p?p.map(f):[],m=_({isDisabled:c&&h(c,i),label:l,labels:d},t);n=k.onChange(m)}return n}),[t,k,h,i,f]),S=(0,u.useMemo)((function(){var e="",t=n||r,a=!!(n&&i&&i.includes(n));if(t&&k.onFocus){var u={focused:t,label:f(t),isDisabled:h(t,i),isSelected:a,options:o,context:t===n?"menu":"value",selectValue:i};e=k.onFocus(u)}return e}),[n,r,f,h,k,o,i]),C=(0,u.useMemo)((function(){var e="";if(y&&v.length&&k.onFilter){var t=b({count:o.length});e=k.onFilter({inputValue:p,resultsMessage:t})}return e}),[o,p,y,k,v,b]),E=(0,u.useMemo)((function(){var e="";if(k.guidance){var t=r?"value":y?"menu":"input";e=k.guidance({"aria-label":w,context:t,isDisabled:n&&h(n,i),isMulti:d,isSearchable:m,tabSelectsValue:g})}return e}),[w,n,r,d,h,m,y,k,i,g]),P="".concat(S," ").concat(C," ").concat(E),x=Xe(u.Fragment,null,Xe("span",{id:"aria-selection"},D),Xe("span",{id:"aria-context"},P)),M="initial-input-focus"===(null==t?void 0:t.action);return Xe(u.Fragment,null,Xe(vn,{id:c},M&&x),Xe(vn,{"aria-live":O,"aria-atomic":"false","aria-relevant":"additions text"},a&&!M&&x))},wn=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],On=new RegExp("["+wn.map((function(e){return e.letters})).join("")+"]","g"),kn={},Dn=0;Dn1?t-1:0),r=1;r0,m=f-p-c,y=!1;m>t&&i.current&&(r&&r(e),i.current=!1),h&&s.current&&(a&&a(e),s.current=!1),h&&t>m?(n&&!i.current&&n(e),d.scrollTop=f,y=!0,i.current=!0):!h&&-t>c&&(o&&!s.current&&o(e),d.scrollTop=0,y=!0,s.current=!0),y&&function(e){e.preventDefault(),e.stopPropagation()}(e)}}),[n,r,o,a]),p=(0,u.useCallback)((function(e){f(e,e.deltaY)}),[f]),d=(0,u.useCallback)((function(e){c.current=e.changedTouches[0].clientY}),[]),h=(0,u.useCallback)((function(e){var t=c.current-e.changedTouches[0].clientY;f(e,t)}),[f]),m=(0,u.useCallback)((function(e){if(e){var t=!!It&&{passive:!1};e.addEventListener("wheel",p,t),e.addEventListener("touchstart",d,t),e.addEventListener("touchmove",h,t)}}),[h,d,p]),y=(0,u.useCallback)((function(e){e&&(e.removeEventListener("wheel",p,!1),e.removeEventListener("touchstart",d,!1),e.removeEventListener("touchmove",h,!1))}),[h,d,p]);return(0,u.useEffect)((function(){if(t){var e=l.current;return m(e),function(){y(e)}}}),[t,m,y]),function(e){l.current=e}}({isEnabled:void 0===r||r,onBottomArrive:e.onBottomArrive,onBottomLeave:e.onBottomLeave,onTopArrive:e.onTopArrive,onTopLeave:e.onTopLeave}),a=function(e){var t=e.isEnabled,n=e.accountForScrollbars,r=void 0===n||n,o=(0,u.useRef)({}),a=(0,u.useRef)(null),i=(0,u.useCallback)((function(e){if(Bn){var t=document.body,n=t&&t.style;if(r&&An.forEach((function(e){var t=n&&n[e];o.current[e]=t})),r&&Yn<1){var a=parseInt(o.current.paddingRight,10)||0,i=document.body?document.body.clientWidth:0,u=window.innerWidth-i+a||0;Object.keys(jn).forEach((function(e){var t=jn[e];n&&(n[e]=t)})),n&&(n.paddingRight="".concat(u,"px"))}t&&Fn()&&(t.addEventListener("touchmove",In,Un),e&&(e.addEventListener("touchstart",Ln,Un),e.addEventListener("touchmove",Nn,Un))),Yn+=1}}),[r]),s=(0,u.useCallback)((function(e){if(Bn){var t=document.body,n=t&&t.style;Yn=Math.max(Yn-1,0),r&&Yn<1&&An.forEach((function(e){var t=o.current[e];n&&(n[e]=t)})),t&&Fn()&&(t.removeEventListener("touchmove",In,Un),e&&(e.removeEventListener("touchstart",Ln,Un),e.removeEventListener("touchmove",Nn,Un)))}}),[r]);return(0,u.useEffect)((function(){if(t){var e=a.current;return i(e),function(){s(e)}}}),[t,i,s]),function(e){a.current=e}}({isEnabled:n});return Xe(u.Fragment,null,n&&Xe("div",{onClick:Vn,css:Hn}),t((function(e){o(e),a(e)})))}var qn={name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"},Kn=function(e){var t=e.name,n=e.onFocus;return Xe("input",{required:!0,name:t,tabIndex:-1,onFocus:n,css:qn,value:"",onChange:function(){}})},zn={clearIndicator:nn,container:function(e){var t=e.isDisabled;return{label:"container",direction:e.isRtl?"rtl":void 0,pointerEvents:t?"none":void 0,position:"relative"}},control:function(e,t){var n=e.isDisabled,r=e.isFocused,o=e.theme,a=o.colors,i=o.borderRadius;return _({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:o.spacing.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},t?{}:{backgroundColor:n?a.neutral5:a.neutral0,borderColor:n?a.neutral10:r?a.primary:a.neutral20,borderRadius:i,borderStyle:"solid",borderWidth:1,boxShadow:r?"0 0 0 1px ".concat(a.primary):void 0,"&:hover":{borderColor:r?a.primary:a.neutral30}})},dropdownIndicator:tn,group:function(e,t){var n=e.theme.spacing;return t?{}:{paddingBottom:2*n.baseUnit,paddingTop:2*n.baseUnit}},groupHeading:function(e,t){var n=e.theme,r=n.colors,o=n.spacing;return _({label:"group",cursor:"default",display:"block"},t?{}:{color:r.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:3*o.baseUnit,paddingRight:3*o.baseUnit,textTransform:"uppercase"})},indicatorsContainer:function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},indicatorSeparator:function(e,t){var n=e.isDisabled,r=e.theme,o=r.spacing.baseUnit,a=r.colors;return _({label:"indicatorSeparator",alignSelf:"stretch",width:1},t?{}:{backgroundColor:n?a.neutral10:a.neutral20,marginBottom:2*o,marginTop:2*o})},input:function(e,t){var n=e.isDisabled,r=e.value,o=e.theme,a=o.spacing,i=o.colors;return _(_({visibility:n?"hidden":"visible",transform:r?"translateZ(0)":""},ln),t?{}:{margin:a.baseUnit/2,paddingBottom:a.baseUnit/2,paddingTop:a.baseUnit/2,color:i.neutral80})},loadingIndicator:function(e,t){var n=e.isFocused,r=e.size,o=e.theme,a=o.colors,i=o.spacing.baseUnit;return _({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:r,lineHeight:1,marginRight:r,textAlign:"center",verticalAlign:"middle"},t?{}:{color:n?a.neutral60:a.neutral20,padding:2*i})},loadingMessage:Ht,menu:function(e,t){var n,r=e.placement,o=e.theme,i=o.borderRadius,u=o.spacing,s=o.colors;return _((a(n={label:"menu"},function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(r),"100%"),a(n,"position","absolute"),a(n,"width","100%"),a(n,"zIndex",1),n),t?{}:{backgroundColor:s.neutral0,borderRadius:i,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:u.menuGutter,marginTop:u.menuGutter})},menuList:function(e,t){var n=e.maxHeight,r=e.theme.spacing.baseUnit;return _({maxHeight:n,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},t?{}:{paddingBottom:r,paddingTop:r})},menuPortal:function(e){var t=e.rect,n=e.offset,r=e.position;return{left:t.left,position:r,top:n,width:t.width,zIndex:1}},multiValue:function(e,t){var n=e.theme,r=n.spacing,o=n.borderRadius,a=n.colors;return _({label:"multiValue",display:"flex",minWidth:0},t?{}:{backgroundColor:a.neutral10,borderRadius:o/2,margin:r.baseUnit/2})},multiValueLabel:function(e,t){var n=e.theme,r=n.borderRadius,o=n.colors,a=e.cropWithEllipsis;return _({overflow:"hidden",textOverflow:a||void 0===a?"ellipsis":void 0,whiteSpace:"nowrap"},t?{}:{borderRadius:r/2,color:o.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},multiValueRemove:function(e,t){var n=e.theme,r=n.spacing,o=n.borderRadius,a=n.colors,i=e.isFocused;return _({alignItems:"center",display:"flex"},t?{}:{borderRadius:o/2,backgroundColor:i?a.dangerLight:void 0,paddingLeft:r.baseUnit,paddingRight:r.baseUnit,":hover":{backgroundColor:a.dangerLight,color:a.danger}})},noOptionsMessage:Vt,option:function(e,t){var n=e.isDisabled,r=e.isFocused,o=e.isSelected,a=e.theme,i=a.spacing,u=a.colors;return _({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},t?{}:{backgroundColor:o?u.primary:r?u.primary25:"transparent",color:n?u.neutral20:o?u.neutral0:"inherit",padding:"".concat(2*i.baseUnit,"px ").concat(3*i.baseUnit,"px"),":active":{backgroundColor:n?void 0:o?u.primary:u.primary50}})},placeholder:function(e,t){var n=e.theme,r=n.spacing,o=n.colors;return _({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},t?{}:{color:o.neutral50,marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2})},singleValue:function(e,t){var n=e.isDisabled,r=e.theme,o=r.spacing,a=r.colors;return _({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t?{}:{color:n?a.neutral40:a.neutral80,marginLeft:o.baseUnit/2,marginRight:o.baseUnit/2})},valueContainer:function(e,t){var n=e.theme.spacing,r=e.isMulti,o=e.hasValue,a=e.selectProps.controlShouldRenderValue;return _({alignItems:"center",display:r&&o&&a?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},t?{}:{padding:"".concat(n.baseUnit/2,"px ").concat(2*n.baseUnit,"px")})}},$n={borderRadius:4,colors:{primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},spacing:{baseUnit:4,controlHeight:38,menuGutter:8}},Qn={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:Tt(),captureMenuScroll:!Tt(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:function(e,t){if(e.data.__isNew__)return!0;var n=_({ignoreCase:!0,ignoreAccents:!0,stringify:Mn,trim:!0,matchFrom:"any"},undefined),r=n.ignoreCase,o=n.ignoreAccents,a=n.stringify,i=n.trim,u=n.matchFrom,s=i?xn(t):t,c=i?xn(a(e)):a(e);return r&&(s=s.toLowerCase(),c=c.toLowerCase()),o&&(s=Pn(s),c=En(c)),"start"===u?c.substr(0,s.length)===s:c.indexOf(s)>-1},formatGroupLabel:function(e){return e.label},getOptionLabel:function(e){return e.label},getOptionValue:function(e){return e.value},isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:function(e){return!!e.isDisabled},loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!function(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch(e){return!1}}(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(e){var t=e.count;return"".concat(t," result").concat(1!==t?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function Gn(e,t,n,r){return{type:"option",data:t,isDisabled:nr(e,t,n),isSelected:rr(e,t,n),label:er(e,t),value:tr(e,t),index:r}}function Xn(e,t){return e.options.map((function(n,r){if("options"in n){var o=n.options.map((function(n,r){return Gn(e,n,t,r)})).filter((function(t){return Jn(e,t)}));return o.length>0?{type:"group",data:n,options:o,index:r}:void 0}var a=Gn(e,n,t,r);return Jn(e,a)?a:void 0})).filter(Nt)}function Zn(e){return e.reduce((function(e,t){return"group"===t.type?e.push.apply(e,p(t.options.map((function(e){return e.data})))):e.push(t.data),e}),[])}function Jn(e,t){var n=e.inputValue,r=void 0===n?"":n,o=t.data,a=t.isSelected,i=t.label,u=t.value;return(!ar(e)||!a)&&or(e,{label:i,value:u,data:o},r)}var er=function(e,t){return e.getOptionLabel(t)},tr=function(e,t){return e.getOptionValue(t)};function nr(e,t,n){return"function"==typeof e.isOptionDisabled&&e.isOptionDisabled(t,n)}function rr(e,t,n){if(n.indexOf(t)>-1)return!0;if("function"==typeof e.isOptionSelected)return e.isOptionSelected(t,n);var r=tr(e,t);return n.some((function(t){return tr(e,t)===r}))}function or(e,t,n){return!e.filterOption||e.filterOption(t,n)}var ar=function(e){var t=e.hideSelectedOptions,n=e.isMulti;return void 0===t?n:t},ir=1,ur=function(e){!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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&C(e,t)}(c,e);var t,n,o,a,i,s=(t=c,n=P(),function(){var e,o=E(t);if(n){var a=E(this).constructor;e=Reflect.construct(o,arguments,a)}else e=o.apply(this,arguments);return function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,e)});function c(e){var t;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),(t=s.call(this,e)).state={ariaSelection:null,focusedOption:null,focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0},t.blockOptionHover=!1,t.isComposing=!1,t.commonProps=void 0,t.initialTouchX=0,t.initialTouchY=0,t.instancePrefix="",t.openAfterFocus=!1,t.scrollToFocusedOptionOnUpdate=!1,t.userIsDragging=void 0,t.controlRef=null,t.getControlRef=function(e){t.controlRef=e},t.focusedOptionRef=null,t.getFocusedOptionRef=function(e){t.focusedOptionRef=e},t.menuListRef=null,t.getMenuListRef=function(e){t.menuListRef=e},t.inputRef=null,t.getInputRef=function(e){t.inputRef=e},t.focus=t.focusInput,t.blur=t.blurInput,t.onChange=function(e,n){var r=t.props,o=r.onChange,a=r.name;n.name=a,t.ariaOnChange(e,n),o(e,n)},t.setValue=function(e,n,r){var o=t.props,a=o.closeMenuOnSelect,i=o.isMulti,u=o.inputValue;t.onInputChange("",{action:"set-value",prevInputValue:u}),a&&(t.setState({inputIsHiddenAfterUpdate:!i}),t.onMenuClose()),t.setState({clearFocusValueOnUpdate:!0}),t.onChange(e,{action:n,option:r})},t.selectOption=function(e){var n=t.props,r=n.blurInputOnSelect,o=n.isMulti,a=n.name,i=t.state.selectValue,u=o&&t.isOptionSelected(e,i),s=t.isOptionDisabled(e,i);if(u){var c=t.getOptionValue(e);t.setValue(i.filter((function(e){return t.getOptionValue(e)!==c})),"deselect-option",e)}else{if(s)return void t.ariaOnChange(e,{action:"select-option",option:e,name:a});o?t.setValue([].concat(p(i),[e]),"select-option",e):t.setValue(e,"select-option")}r&&t.blurInput()},t.removeValue=function(e){var n=t.props.isMulti,r=t.state.selectValue,o=t.getOptionValue(e),a=r.filter((function(e){return t.getOptionValue(e)!==o})),i=Lt(n,a,a[0]||null);t.onChange(i,{action:"remove-value",removedValue:e}),t.focusInput()},t.clearValue=function(){var e=t.state.selectValue;t.onChange(Lt(t.props.isMulti,[],null),{action:"clear",removedValues:e})},t.popValue=function(){var e=t.props.isMulti,n=t.state.selectValue,r=n[n.length-1],o=n.slice(0,n.length-1),a=Lt(e,o,o[0]||null);t.onChange(a,{action:"pop-value",removedValue:r})},t.getValue=function(){return t.state.selectValue},t.cx=function(){for(var e=arguments.length,n=new Array(e),r=0;r5||a>5}},t.onTouchEnd=function(e){t.userIsDragging||(t.controlRef&&!t.controlRef.contains(e.target)&&t.menuListRef&&!t.menuListRef.contains(e.target)&&t.blurInput(),t.initialTouchX=0,t.initialTouchY=0)},t.onControlTouchEnd=function(e){t.userIsDragging||t.onControlMouseDown(e)},t.onClearIndicatorTouchEnd=function(e){t.userIsDragging||t.onClearIndicatorMouseDown(e)},t.onDropdownIndicatorTouchEnd=function(e){t.userIsDragging||t.onDropdownIndicatorMouseDown(e)},t.handleInputChange=function(e){var n=t.props.inputValue,r=e.currentTarget.value;t.setState({inputIsHiddenAfterUpdate:!1}),t.onInputChange(r,{action:"input-change",prevInputValue:n}),t.props.menuIsOpen||t.onMenuOpen()},t.onInputFocus=function(e){t.props.onFocus&&t.props.onFocus(e),t.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(t.openAfterFocus||t.props.openMenuOnFocus)&&t.openMenu("first"),t.openAfterFocus=!1},t.onInputBlur=function(e){var n=t.props.inputValue;t.menuListRef&&t.menuListRef.contains(document.activeElement)?t.inputRef.focus():(t.props.onBlur&&t.props.onBlur(e),t.onInputChange("",{action:"input-blur",prevInputValue:n}),t.onMenuClose(),t.setState({focusedValue:null,isFocused:!1}))},t.onOptionHover=function(e){t.blockOptionHover||t.state.focusedOption===e||t.setState({focusedOption:e})},t.shouldHideSelectedOptions=function(){return ar(t.props)},t.onValueInputFocus=function(e){e.preventDefault(),e.stopPropagation(),t.focus()},t.onKeyDown=function(e){var n=t.props,r=n.isMulti,o=n.backspaceRemovesValue,a=n.escapeClearsValue,i=n.inputValue,u=n.isClearable,s=n.isDisabled,c=n.menuIsOpen,l=n.onKeyDown,f=n.tabSelectsValue,p=n.openMenuOnFocus,d=t.state,h=d.focusedOption,m=d.focusedValue,y=d.selectValue;if(!(s||"function"==typeof l&&(l(e),e.defaultPrevented))){switch(t.blockOptionHover=!0,e.key){case"ArrowLeft":if(!r||i)return;t.focusValue("previous");break;case"ArrowRight":if(!r||i)return;t.focusValue("next");break;case"Delete":case"Backspace":if(i)return;if(m)t.removeValue(m);else{if(!o)return;r?t.popValue():u&&t.clearValue()}break;case"Tab":if(t.isComposing)return;if(e.shiftKey||!c||!f||!h||p&&t.isOptionSelected(h,y))return;t.selectOption(h);break;case"Enter":if(229===e.keyCode)break;if(c){if(!h)return;if(t.isComposing)return;t.selectOption(h);break}return;case"Escape":c?(t.setState({inputIsHiddenAfterUpdate:!1}),t.onInputChange("",{action:"menu-close",prevInputValue:i}),t.onMenuClose()):u&&a&&t.clearValue();break;case" ":if(i)return;if(!c){t.openMenu("first");break}if(!h)return;t.selectOption(h);break;case"ArrowUp":c?t.focusOption("up"):t.openMenu("last");break;case"ArrowDown":c?t.focusOption("down"):t.openMenu("first");break;case"PageUp":if(!c)return;t.focusOption("pageup");break;case"PageDown":if(!c)return;t.focusOption("pagedown");break;case"Home":if(!c)return;t.focusOption("first");break;case"End":if(!c)return;t.focusOption("last");break;default:return}e.preventDefault()}},t.instancePrefix="react-select-"+(t.props.instanceId||++ir),t.state.selectValue=kt(e.value),e.menuIsOpen&&t.state.selectValue.length){var n=t.buildFocusableOptions(),r=n.indexOf(t.state.selectValue[0]);t.state.focusedOption=n[r]}return t}return o=c,a=[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&Mt(this.menuListRef,this.focusedOptionRef)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isDisabled,r=t.menuIsOpen,o=this.state.isFocused;(o&&!n&&e.isDisabled||o&&r&&!e.menuIsOpen)&&this.focusInput(),o&&n&&!e.isDisabled?this.setState({isFocused:!1},this.onMenuClose):o||n||!e.isDisabled||this.inputRef!==document.activeElement||this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(Mt(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(e,t){this.props.onInputChange(e,t)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(e){var t=this,n=this.state,r=n.selectValue,o=n.isFocused,a=this.buildFocusableOptions(),i="first"===e?0:a.length-1;if(!this.props.isMulti){var u=a.indexOf(r[0]);u>-1&&(i=u)}this.scrollToFocusedOptionOnUpdate=!(o&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:a[i]},(function(){return t.onMenuOpen()}))}},{key:"focusValue",value:function(e){var t=this.state,n=t.selectValue,r=t.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var o=n.indexOf(r);r||(o=-1);var a=n.length-1,i=-1;if(n.length){switch(e){case"previous":i=0===o?0:-1===o?a:o-1;break;case"next":o>-1&&o0&&void 0!==arguments[0]?arguments[0]:"first",t=this.props.pageSize,n=this.state.focusedOption,r=this.getFocusableOptions();if(r.length){var o=0,a=r.indexOf(n);n||(a=-1),"up"===e?o=a>0?a-1:r.length-1:"down"===e?o=(a+1)%r.length:"pageup"===e?(o=a-t)<0&&(o=0):"pagedown"===e?(o=a+t)>r.length-1&&(o=r.length-1):"last"===e&&(o=r.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:r[o],focusedValue:null})}}},{key:"getTheme",value:function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme($n):_(_({},$n),this.props.theme):$n}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.cx,n=this.getStyles,r=this.getClassNames,o=this.getValue,a=this.selectOption,i=this.setValue,u=this.props,s=u.isMulti,c=u.isRtl,l=u.options;return{clearValue:e,cx:t,getStyles:n,getClassNames:r,getValue:o,hasValue:this.hasValue(),isMulti:s,isRtl:c,options:l,selectOption:a,selectProps:u,setValue:i,theme:this.getTheme()}}},{key:"hasValue",value:function(){return this.state.selectValue.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var e=this.props,t=e.isClearable,n=e.isMulti;return void 0===t?n:t}},{key:"isOptionDisabled",value:function(e,t){return nr(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return rr(this.props,e,t)}},{key:"filterOption",value:function(e,t){return or(this.props,e,t)}},{key:"formatOptionLabel",value:function(e,t){if("function"==typeof this.props.formatOptionLabel){var n=this.props.inputValue,r=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:n,selectValue:r})}return this.getOptionLabel(e)}},{key:"formatGroupLabel",value:function(e){return this.props.formatGroupLabel(e)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var e=this.props,t=e.isDisabled,n=e.isSearchable,r=e.inputId,o=e.inputValue,a=e.tabIndex,i=e.form,s=e.menuIsOpen,c=e.required,l=this.getComponents().Input,f=this.state,p=f.inputIsHidden,d=f.ariaSelection,h=this.commonProps,m=r||this.getElementId("input"),y=_(_(_({"aria-autocomplete":"list","aria-expanded":s,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":c,role:"combobox"},s&&{"aria-controls":this.getElementId("listbox"),"aria-owns":this.getElementId("listbox")}),!n&&{"aria-readonly":!0}),this.hasValue()?"initial-input-focus"===(null==d?void 0:d.action)&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return n?u.createElement(l,D({},h,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:m,innerRef:this.getInputRef,isDisabled:t,isHidden:p,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:a,form:i,type:"text",value:o},y)):u.createElement(Rn,D({id:m,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:wt,onFocus:this.onInputFocus,disabled:t,tabIndex:a,inputMode:"none",form:i,value:""},y))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,t=this.getComponents(),n=t.MultiValue,r=t.MultiValueContainer,o=t.MultiValueLabel,a=t.MultiValueRemove,i=t.SingleValue,s=t.Placeholder,c=this.commonProps,l=this.props,f=l.controlShouldRenderValue,p=l.isDisabled,d=l.isMulti,h=l.inputValue,m=l.placeholder,y=this.state,v=y.selectValue,b=y.focusedValue,g=y.isFocused;if(!this.hasValue()||!f)return h?null:u.createElement(s,D({},c,{key:"placeholder",isDisabled:p,isFocused:g,innerProps:{id:this.getElementId("placeholder")}}),m);if(d)return v.map((function(t,i){var s=t===b,l="".concat(e.getOptionLabel(t),"-").concat(e.getOptionValue(t));return u.createElement(n,D({},c,{components:{Container:r,Label:o,Remove:a},isFocused:s,isDisabled:p,key:l,index:i,removeProps:{onClick:function(){return e.removeValue(t)},onTouchEnd:function(){return e.removeValue(t)},onMouseDown:function(e){e.preventDefault()}},data:t}),e.formatOptionLabel(t,"value"))}));if(h)return null;var w=v[0];return u.createElement(i,D({},c,{data:w,isDisabled:p}),this.formatOptionLabel(w,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.getComponents().ClearIndicator,t=this.commonProps,n=this.props,r=n.isDisabled,o=n.isLoading,a=this.state.isFocused;if(!this.isClearable()||!e||r||!this.hasValue()||o)return null;var i={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return u.createElement(e,D({},t,{innerProps:i,isFocused:a}))}},{key:"renderLoadingIndicator",value:function(){var e=this.getComponents().LoadingIndicator,t=this.commonProps,n=this.props,r=n.isDisabled,o=n.isLoading,a=this.state.isFocused;return e&&o?u.createElement(e,D({},t,{innerProps:{"aria-hidden":"true"},isDisabled:r,isFocused:a})):null}},{key:"renderIndicatorSeparator",value:function(){var e=this.getComponents(),t=e.DropdownIndicator,n=e.IndicatorSeparator;if(!t||!n)return null;var r=this.commonProps,o=this.props.isDisabled,a=this.state.isFocused;return u.createElement(n,D({},r,{isDisabled:o,isFocused:a}))}},{key:"renderDropdownIndicator",value:function(){var e=this.getComponents().DropdownIndicator;if(!e)return null;var t=this.commonProps,n=this.props.isDisabled,r=this.state.isFocused,o={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return u.createElement(e,D({},t,{innerProps:o,isDisabled:n,isFocused:r}))}},{key:"renderMenu",value:function(){var e=this,t=this.getComponents(),n=t.Group,r=t.GroupHeading,o=t.Menu,a=t.MenuList,i=t.MenuPortal,s=t.LoadingMessage,c=t.NoOptionsMessage,l=t.Option,f=this.commonProps,p=this.state.focusedOption,d=this.props,h=d.captureMenuScroll,m=d.inputValue,y=d.isLoading,v=d.loadingMessage,b=d.minMenuHeight,g=d.maxMenuHeight,w=d.menuIsOpen,_=d.menuPlacement,O=d.menuPosition,k=d.menuPortalTarget,S=d.menuShouldBlockScroll,C=d.menuShouldScrollIntoView,E=d.noOptionsMessage,P=d.onMenuScrollToTop,x=d.onMenuScrollToBottom;if(!w)return null;var M,T=function(t,n){var r=t.type,o=t.data,a=t.isDisabled,i=t.isSelected,s=t.label,c=t.value,d=p===o,h=a?void 0:function(){return e.onOptionHover(o)},m=a?void 0:function(){return e.selectOption(o)},y="".concat(e.getElementId("option"),"-").concat(n),v={id:y,onClick:m,onMouseMove:h,onMouseOver:h,tabIndex:-1};return u.createElement(l,D({},f,{innerProps:v,data:o,isDisabled:a,isSelected:i,key:y,label:s,type:r,value:c,isFocused:d,innerRef:d?e.getFocusedOptionRef:void 0}),e.formatOptionLabel(t.data,"menu"))};if(this.hasOptions())M=this.getCategorizedOptions().map((function(t){if("group"===t.type){var o=t.data,a=t.options,i=t.index,s="".concat(e.getElementId("group"),"-").concat(i),c="".concat(s,"-heading");return u.createElement(n,D({},f,{key:s,data:o,options:a,Heading:r,headingProps:{id:c,data:t.data},label:e.formatGroupLabel(t.data)}),t.options.map((function(e){return T(e,"".concat(i,"-").concat(e.index))})))}if("option"===t.type)return T(t,"".concat(t.index))}));else if(y){var R=v({inputValue:m});if(null===R)return null;M=u.createElement(s,f,R)}else{var A=E({inputValue:m});if(null===A)return null;M=u.createElement(c,f,A)}var j={minMenuHeight:b,maxMenuHeight:g,menuPlacement:_,menuPosition:O,menuShouldScrollIntoView:C},I=u.createElement(Yt,D({},f,j),(function(t){var n=t.ref,r=t.placerProps,i=r.placement,s=r.maxHeight;return u.createElement(o,D({},f,j,{innerRef:n,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove,id:e.getElementId("listbox")},isLoading:y,placement:i}),u.createElement(Wn,{captureEnabled:h,onTopArrive:P,onBottomArrive:x,lockEnabled:S},(function(t){return u.createElement(a,D({},f,{innerRef:function(n){e.getMenuListRef(n),t(n)},isLoading:y,maxHeight:s,focusedOption:p}),M)})))}));return k||"fixed"===O?u.createElement(i,D({},f,{appendTo:k,controlElement:this.controlRef,menuPlacement:_,menuPosition:O}),I):I}},{key:"renderFormField",value:function(){var e=this,t=this.props,n=t.delimiter,r=t.isDisabled,o=t.isMulti,a=t.name,i=t.required,s=this.state.selectValue;if(a&&!r){if(i&&!this.hasValue())return u.createElement(Kn,{name:a,onFocus:this.onValueInputFocus});if(o){if(n){var c=s.map((function(t){return e.getOptionValue(t)})).join(n);return u.createElement("input",{name:a,type:"hidden",value:c})}var l=s.length>0?s.map((function(t,n){return u.createElement("input",{key:"i-".concat(n),name:a,type:"hidden",value:e.getOptionValue(t)})})):u.createElement("input",{name:a,type:"hidden",value:""});return u.createElement("div",null,l)}var f=s[0]?this.getOptionValue(s[0]):"";return u.createElement("input",{name:a,type:"hidden",value:f})}}},{key:"renderLiveRegion",value:function(){var e=this.commonProps,t=this.state,n=t.ariaSelection,r=t.focusedOption,o=t.focusedValue,a=t.isFocused,i=t.selectValue,s=this.getFocusableOptions();return u.createElement(gn,D({},e,{id:this.getElementId("live-region"),ariaSelection:n,focusedOption:r,focusedValue:o,isFocused:a,selectValue:i,focusableOptions:s}))}},{key:"render",value:function(){var e=this.getComponents(),t=e.Control,n=e.IndicatorsContainer,r=e.SelectContainer,o=e.ValueContainer,a=this.props,i=a.className,s=a.id,c=a.isDisabled,l=a.menuIsOpen,f=this.state.isFocused,p=this.commonProps=this.getCommonProps();return u.createElement(r,D({},p,{className:i,innerProps:{id:s,onKeyDown:this.onKeyDown},isDisabled:c,isFocused:f}),this.renderLiveRegion(),u.createElement(t,D({},p,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:c,isFocused:f,menuIsOpen:l}),u.createElement(o,D({},p,{isDisabled:c}),this.renderPlaceholderOrValue(),this.renderInput()),u.createElement(n,D({},p,{isDisabled:c}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],i=[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,r=t.clearFocusValueOnUpdate,o=t.inputIsHiddenAfterUpdate,a=t.ariaSelection,i=t.isFocused,u=t.prevWasFocused,s=e.options,c=e.value,l=e.menuIsOpen,f=e.inputValue,p=e.isMulti,d=kt(c),h={};if(n&&(c!==n.value||s!==n.options||l!==n.menuIsOpen||f!==n.inputValue)){var m=l?function(e,t){return Zn(Xn(e,t))}(e,d):[],y=r?function(e,t){var n=e.focusedValue,r=e.selectValue.indexOf(n);if(r>-1){if(t.indexOf(n)>-1)return n;if(r-1?n:t[0]}(t,m);h={selectValue:d,focusedOption:v,focusedValue:y,clearFocusValueOnUpdate:!1}}var b=null!=o&&e!==n?{inputIsHidden:o,inputIsHiddenAfterUpdate:void 0}:{},g=a,w=i&&u;return i&&!w&&(g={value:Lt(p,d,d[0]||null),options:d,action:"initial-input-focus"},w=!u),"initial-input-focus"===(null==a?void 0:a.action)&&(g=null),_(_(_({},h),b),{},{prevProps:e,ariaSelection:g,prevWasFocused:w})}}],a&&S(o.prototype,a),i&&S(o,i),Object.defineProperty(o,"prototype",{writable:!1}),c}(u.Component);ur.defaultProps=Qn;var sr=(0,u.forwardRef)((function(e,t){var n=function(e){var t=e.defaultInputValue,n=void 0===t?"":t,r=e.defaultMenuIsOpen,o=void 0!==r&&r,a=e.defaultValue,s=void 0===a?null:a,c=e.inputValue,l=e.menuIsOpen,f=e.onChange,p=e.onInputChange,d=e.onMenuClose,h=e.onMenuOpen,m=e.value,y=i(e,k),v=(0,u.useState)(void 0!==c?c:n),b=(0,O.A)(v,2),g=b[0],w=b[1],D=(0,u.useState)(void 0!==l?l:o),S=(0,O.A)(D,2),C=S[0],E=S[1],P=(0,u.useState)(void 0!==m?m:s),x=(0,O.A)(P,2),M=x[0],T=x[1],R=(0,u.useCallback)((function(e,t){"function"==typeof f&&f(e,t),T(e)}),[f]),A=(0,u.useCallback)((function(e,t){var n;"function"==typeof p&&(n=p(e,t)),w(void 0!==n?n:e)}),[p]),j=(0,u.useCallback)((function(){"function"==typeof h&&h(),E(!0)}),[h]),I=(0,u.useCallback)((function(){"function"==typeof d&&d(),E(!1)}),[d]),N=void 0!==c?c:g,L=void 0!==l?l:C,F=void 0!==m?m:M;return _(_({},y),{},{inputValue:N,menuIsOpen:L,onChange:R,onInputChange:A,onMenuClose:I,onMenuOpen:j,value:F})}(e);return u.createElement(ur,D({ref:t},n))})),cr=sr;function lr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function fr(e){for(var t=1;t').concat(s," ")}})))}function dr(e,t,n,r,o,a,i){try{var u=e[a](i),s=u.value}catch(e){return void n(e)}u.done?t(s):Promise.resolve(s).then(r,o)}var hr=window.regeneratorRuntime,mr=n.n(hr);function yr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function vr(e){for(var t=1;t=0})).map((function(e){var t=e.id,r=e.title.rendered;return(0,u.createElement)("li",{key:t,onClick:function(){i(!1),n(t)},dangerouslySetInnerHTML:{__html:"ID : ".concat(t," => ").concat(r)}})}));return 0===e.length?null:(0,u.createElement)("ul",null,e)}()))}function kr(e){var t=e.isDisabled,n=void 0!==t&&t,r=e.toggleOpacity,o=void 0===r||r,a=e.children;return n?(0,u.createElement)("div",{className:n&&o?"disabled":""},(0,u.createElement)(m.Disabled,{isDisabled:n},a)):a}function Dr(e){var t=e.preview,n=e.disabled,r=void 0!==n&&n,o=e.onChange;return(0,u.createElement)(kr,{isDisabled:r},(0,u.createElement)(m.BaseControl,{className:"preview-control"},(0,u.createElement)(m.ToggleControl,{label:(0,d.__)("Preview","gk-gravityview"),checked:t,onChange:function(e){return o(e)}})))}function Sr(e){var t=e.previewAsShortcode,n=e.disabled,r=void 0!==n&&n,o=e.onChange;return(0,u.createElement)(h.InspectorAdvancedControls,null,(0,u.createElement)("div",{className:"gravityview-blocks-preview-as-shortcode"},(0,u.createElement)(kr,{isDisabled:r},(0,u.createElement)(m.ToggleControl,{label:(0,d.__)("Preview As Shortcode","gk-gravityview"),checked:t,onChange:function(e){return o(e)}}))))}var Cr=n(8967);function Er(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Pr(e){var t=e.blockPreviewImage,n=e.newViewUrl,r=(0,d._x)("You must [url]create a View[/url] before using this block.","Placeholders inside [] are not to be translated.","gk-gravityview").replace("[url]",'')).replace("[/url]"," "),o=(0,u.createElement)("p",{className:"no-views-notice",dangerouslySetInnerHTML:{__html:r}});return(0,u.createElement)("div",function(e){for(var t=1;t0&&v()(y).isValid(),F=(w||"").indexOf("-")>0&&v()(w).isValid();function B(e){var t=gkGravityViewBlocks.views.find((function(t){return t.value===e}));s({viewId:e,secret:null==t?void 0:t.secret,previewBlock:!(R&&!e)&&R})}return(0,u.createElement)("div",function(e){for(var t=1;t",label:(0,d._x)("Not Equal",'Denotes search operator "<>".',"gk-gravityview")},{value:"not in",label:(0,d._x)("Not In",'Denotes search operator "not in".',"gk-gravityview")},{value:"in",label:(0,d._x)("In",'Denotes search operator "in".',"gk-gravityview")},{value:">",label:(0,d._x)("Greater",'Denotes search operator ">".',"gk-gravityview")},{value:"<",label:(0,d._x)("Lesser",'Denotes search operator "<".',"gk-gravityview")},{value:"contains",label:(0,d._x)("Contains",'Denotes search operator "contains".',"gk-gravityview")},{value:"starts_with",label:(0,d._x)("Starts With",'Denotes search operator "starts_with".',"gk-gravityview")},{value:"ends_with",label:(0,d._x)("Ends With",'Denotes search operator "ends_with".',"gk-gravityview")},{value:"like",label:(0,d._x)("Like",'Denotes search operator "like".',"gk-gravityview")},{value:">=",label:(0,d._x)("Greater Or Equal",'Denotes search operator ">=".',"gk-gravityview")},{value:"<=",label:(0,d._x)("Lesser Or Equal",'Denotes search operator "<=".',"gk-gravityview")}],onChange:function(e){return s({searchOperator:e})}}))),(0,u.createElement)(kr,{isDisabled:!l},(0,u.createElement)(m.TextControl,{label:(0,d._x)("Class","Denotes CSS class","gk-gravityview"),value:P,onChange:function(e){return s({classValue:e})}}),(0,u.createElement)(m.TextControl,{label:(0,d.__)("Offset","gk-gravityview"),value:x,type:"number",min:"0",onChange:function(e){return s({offset:e})}}),(0,u.createElement)(m.TextControl,{label:(0,d.__)("Single Title","gk-gravityview"),value:M,onChange:function(e){return s({singleTitle:e})}}),(0,u.createElement)(m.TextControl,{label:(0,d.__)("Back Link Label","gk-gravityview"),value:T,onChange:function(e){return s({backLinkLabel:e})}}),(0,u.createElement)(Or,{postId:f,onChange:function(e){return s({postId:e})}})))))),(0,u.createElement)(Sr,{previewAsShortcode:A,disabled:!R,onChange:function(e){return s({previewAsShortcode:e})}}),!N&&(0,u.createElement)(u.Fragment,null,(0,u.createElement)("div",{className:"block-editor"},I,(0,u.createElement)(pr,{viewId:l,onChange:B}),(0,u.createElement)(Dr,{disabled:!l,preview:R,onChange:function(e){return s({previewBlock:e})}}))),N&&(0,u.createElement)(u.Fragment,null,(0,u.createElement)("div",{className:"block-preview"},(0,u.createElement)(kr,{isDisabled:!0,toggleOpacity:!1},(0,u.createElement)(Cr.A,{block:c,attributes:i,dataType:"json",loadStyles:!0,blockPreviewImage:I,onResponse:function(e){var t=document.createElement("div");return t.innerHTML=e,p(t.getElementsByTagName("script")).forEach((function(e){return e.remove()})),/gv-map-container/.test(e)&&p(t.querySelectorAll(".gv-map-canvas")).forEach((function(e){e.innerHTML='\n\t\t\t\t\t \n\t\t\t\t\t\n\t\t\t\t\t\t'.concat((0,d.__)("Map is not available in the Block preview","gk-gravityview"),"\n\t\t\t\t\t
")})),/gv-datatables/.test(e)&&p(t.querySelectorAll("table.gv-datatables")).forEach((function(e){var t=document.createElement("tbody");t.innerHTML='\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t').concat((0,d.__)("Entries from the DataTables layout are not available in the Block preview","gk-gravityview"),"\n\t\t\t\t\t\t \n\t\t\t\t\t "),e.querySelector("thead").appendChild(t)})),(0,u.createElement)("div",{dangerouslySetInnerHTML:{__html:t.innerHTML}})}})))))},save:function(){return null},transforms:{from:[{type:"shortcode",tag:["gravityview"],attributes:{viewId:{type:"string",shortcode:function(e){return e.named.viewId}},postId:{type:"number",shortcode:function(e){return e.named.postId}},pageSize:{type:"string",shortcode:function(e){return e.named.pageSize}},sortField:{type:"string",shortcode:function(e){return e.named.sortField}},sortDirection:{type:"string",shortcode:function(e){return e.named.sortDirection}},searchField:{type:"string",shortcode:function(e){return e.named.searchField}},searchValue:{type:"string",shortcode:function(e){return e.named.searchValue}},searchOperator:{type:"string",shortcode:function(e){return e.named.searchOperator}},startDate:{type:"string",shortcode:function(e){return e.named.startDate}},endDate:{type:"string",shortcode:function(e){return e.named.endDate}},class:{type:"string",shortcode:function(e){return e.named.classValue}},offset:{type:"string",shortcode:function(e){return e.named.offset}},singleTitle:{type:"string",shortcode:function(e){return e.named.singleTitle}},backLinkLabel:{type:"string",shortcode:function(e){return e.named.backLinkLabel}},detail:{type:"string",shortcode:function(e){return e.named.detail}}}}]}}))},3768:function(e,t,n){"use strict";var r=n(2837),o={loadedStyles:(0,r.eU)(new Set),loadedScripts:(0,r.eU)(new Set)};t.A=o},8967:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";var _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(296),react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(1609),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__),_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(7723),_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__),_wordpress_element__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(6087),_wordpress_element__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__),_wordpress_api_fetch__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(1455),_wordpress_api_fetch__WEBPACK_IMPORTED_MODULE_3___default=__webpack_require__.n(_wordpress_api_fetch__WEBPACK_IMPORTED_MODULE_3__),_wordpress_url__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(3832),_wordpress_url__WEBPACK_IMPORTED_MODULE_4___default=__webpack_require__.n(_wordpress_url__WEBPACK_IMPORTED_MODULE_4__),_wordpress_components__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(6427),_wordpress_components__WEBPACK_IMPORTED_MODULE_5___default=__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_5__),dangerously_set_html_content__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(7733),jotai__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(2837),_global_store__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(3768),API_PATH="/wp/v2/block-renderer",DEBOUNCE_FETCH=500,loadAsset=function(e){var t=e.asset,n=e.type,r=e.onLoad,o="js"===n?document.createElement("script"):document.createElement("link");"js"===n?(o.setAttribute("type","text/javascript"),o.setAttribute("src",t),o.onload=r):(o.setAttribute("rel","stylesheet"),o.setAttribute("type","text/css"),o.setAttribute("href",t)),document.body.appendChild(o)},ServerSideRender=function ServerSideRender(props){var block=props.block,blockPreviewImage=props.blockPreviewImage,dataType=props.dataType,attributes=props.attributes,loadScripts=props.loadScripts,loadStyles=props.loadStyles,onEmptyResponse=props.onEmptyResponse,onError=props.onError,onLoading=props.onLoading,onResponse=props.onResponse,_useState=(0,_wordpress_element__WEBPACK_IMPORTED_MODULE_2__.useState)(null),_useState2=(0,_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_8__.A)(_useState,2),response=_useState2[0],setResponse=_useState2[1],_useState3=(0,_wordpress_element__WEBPACK_IMPORTED_MODULE_2__.useState)(!0),_useState4=(0,_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_8__.A)(_useState3,2),isFetching=_useState4[0],setIsFetching=_useState4[1],_useState5=(0,_wordpress_element__WEBPACK_IMPORTED_MODULE_2__.useState)(null),_useState6=(0,_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_8__.A)(_useState5,2),error=_useState6[0],setError=_useState6[1],_useAtom=(0,jotai__WEBPACK_IMPORTED_MODULE_9__.fp)(_global_store__WEBPACK_IMPORTED_MODULE_7__.A.loadedScripts),_useAtom2=(0,_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_8__.A)(_useAtom,2),loadedScripts=_useAtom2[0],setLoadedScripts=_useAtom2[1],_useAtom3=(0,jotai__WEBPACK_IMPORTED_MODULE_9__.fp)(_global_store__WEBPACK_IMPORTED_MODULE_7__.A.loadedStyles),_useAtom4=(0,_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_8__.A)(_useAtom3,2),loadedStyles=_useAtom4[0],setLoadedStyles=_useAtom4[1];(0,_wordpress_element__WEBPACK_IMPORTED_MODULE_2__.useEffect)((function(){var e=setTimeout((function(){return fetch()}),DEBOUNCE_FETCH);return function(){return clearTimeout(e)}}),[attributes]);var fetch=function fetch(){var path=(0,_wordpress_url__WEBPACK_IMPORTED_MODULE_4__.addQueryArgs)("".concat(API_PATH,"/").concat(block),{context:"edit",attributes:attributes});setIsFetching(!0),_wordpress_api_fetch__WEBPACK_IMPORTED_MODULE_3___default()({path:path}).then((function(res){if("json"===dataType){var _response=JSON.parse(res.rendered);loadStyles&&Object.values(_response.styles).forEach((function(e){loadedStyles.has(e)||(loadAsset({asset:e,type:"css"}),setLoadedStyles(loadedStyles.add(e)))})),loadScripts&&Object.values(_response.scripts).forEach((function(asset){var assetToLoad=asset;loadedScripts.has(asset)||loadedScripts.has(null==asset?void 0:asset.src)||(null!=asset&&asset.src&&(assetToLoad=asset.src),null!=asset&&asset.data&&eval(asset.data),loadAsset({assetToLoad:assetToLoad,type:"js"}),setLoadedScripts(loadedScripts.add(assetToLoad)))})),setTimeout((function(){setResponse(_response.content),setIsFetching(!1)}),250)}else setResponse(res.rendered),setIsFetching(!1)})).catch((function(e){setError(e),setIsFetching(!1)}))};return error?"function"==typeof onError?onError(error):(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("div",{className:"error-state"},_x("The block could not be rendered due to an error: [error]","[error] placeholder will be replaced with an error message and is not to be translated.","gk-gravitykit").replace("[error]",error.message)):isFetching&&response?"function"==typeof onLoading?onLoading(response):(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("div",{className:"loading-state"},(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("div",{className:"loader"},(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_5__.Spinner,null)),(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(dangerously_set_html_content__WEBPACK_IMPORTED_MODULE_6__.A,{html:response})):isFetching?"function"==typeof onLoading?onLoading():(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("div",{className:"loading-state initial"},(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("div",{className:"loader"},(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_5__.Spinner,null)),blockPreviewImage):response?"function"==typeof onResponse?onResponse(response):(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(dangerously_set_html_content__WEBPACK_IMPORTED_MODULE_6__.A,{html:response}):"function"==typeof onEmptyResponse?onEmptyResponse():(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("div",{class:"empty-response"},(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("p",null,(0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)("The block did not render any content.","gk-gravityview")))};__webpack_exports__.A=ServerSideRender},2485:function(e,t){var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t=0||(o[n]=e[n]);return o}(e,i),u=(0,r.useRef)(null),s=(0,r.useRef)(!0);return(0,r.useEffect)((function(){if(!t||!u.current)throw new Error("html prop cant't be null");if(s.current){s.current=!1;var e=document.createRange().createContextualFragment(t);u.current.innerHTML="",u.current.appendChild(e)}}),[t,u]),o().createElement("div",a({},n,{ref:u}))}},4274:function(e,t,n){"use strict";n.d(t,{A:function(){return p}});var r={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function o(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}var a={date:o({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:o({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:o({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},i={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function u(e){return function(t,n){var r;if("formatting"===(null!=n&&n.context?String(n.context):"standalone")&&e.formattingValues){var o=e.defaultFormattingWidth||e.defaultWidth,a=null!=n&&n.width?String(n.width):o;r=e.formattingValues[a]||e.formattingValues[o]}else{var i=e.defaultWidth,u=null!=n&&n.width?String(n.width):e.defaultWidth;r=e.values[u]||e.values[i]}return r[e.argumentCallback?e.argumentCallback(t):t]}}var s={ordinalNumber:function(e,t){var n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:u({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:u({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:u({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:u({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:u({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})};function c(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.width,o=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],a=t.match(o);if(!a)return null;var i,u=a[0],s=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],c=Array.isArray(s)?function(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{},n=e.match(l.matchPattern);if(!n)return null;var r=n[0],o=e.match(l.parsePattern);if(!o)return null;var a=l.valueCallback?l.valueCallback(o[0]):o[0];return{value:a=t.valueCallback?t.valueCallback(a):a,rest:e.slice(r.length)}}),era:c({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:c({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:c({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:c({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:c({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},p={code:"en-US",formatDistance:function(e,t,n){var o,a=r[e];return o="string"==typeof a?a:1===t?a.one:a.other.replace("{{count}}",t.toString()),null!=n&&n.addSuffix?n.comparison&&n.comparison>0?"in "+o:o+" ago":o},formatLong:a,formatRelative:function(e,t,n,r){return i[e]},localize:s,match:f,options:{weekStartsOn:0,firstWeekContainsDate:1}}},1858:function(e,t,n){"use strict";n.d(t,{q:function(){return o}});var r={};function o(){return r}},1788:function(e,t){"use strict";var n=function(e,t){switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},r=function(e,t){switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}},o={p:r,P:function(e,t){var o,a=e.match(/(P+)(p+)?/)||[],i=a[1],u=a[2];if(!u)return n(e,t);switch(i){case"P":o=t.dateTime({width:"short"});break;case"PP":o=t.dateTime({width:"medium"});break;case"PPP":o=t.dateTime({width:"long"});break;default:o=t.dateTime({width:"full"})}return o.replace("{{date}}",n(i,t)).replace("{{time}}",r(u,t))}};t.A=o},7044:function(e,t,n){"use strict";function r(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}n.d(t,{A:function(){return r}})},1053:function(e,t,n){"use strict";n.d(t,{A:function(){return s}});var r=n(123),o=n(9411),a=n(4127),i=n(551),u=6048e5;function s(e){(0,i.A)(1,arguments);var t=(0,r.default)(e),n=(0,o.A)(t).getTime()-function(e){(0,i.A)(1,arguments);var t=(0,a.A)(e),n=new Date(0);return n.setUTCFullYear(t,0,4),n.setUTCHours(0,0,0,0),(0,o.A)(n)}(t).getTime();return Math.round(n/u)+1}},4127:function(e,t,n){"use strict";n.d(t,{A:function(){return i}});var r=n(123),o=n(551),a=n(9411);function i(e){(0,o.A)(1,arguments);var t=(0,r.default)(e),n=t.getUTCFullYear(),i=new Date(0);i.setUTCFullYear(n+1,0,4),i.setUTCHours(0,0,0,0);var u=(0,a.A)(i),s=new Date(0);s.setUTCFullYear(n,0,4),s.setUTCHours(0,0,0,0);var c=(0,a.A)(s);return t.getTime()>=u.getTime()?n+1:t.getTime()>=c.getTime()?n:n-1}},6894:function(e,t,n){"use strict";n.d(t,{A:function(){return l}});var r=n(123),o=n(9742),a=n(464),i=n(551),u=n(4188),s=n(1858),c=6048e5;function l(e,t){(0,i.A)(1,arguments);var n=(0,r.default)(e),l=(0,o.A)(n,t).getTime()-function(e,t){var n,r,c,l,f,p,d,h;(0,i.A)(1,arguments);var m=(0,s.q)(),y=(0,u.A)(null!==(n=null!==(r=null!==(c=null!==(l=null==t?void 0:t.firstWeekContainsDate)&&void 0!==l?l:null==t||null===(f=t.locale)||void 0===f||null===(p=f.options)||void 0===p?void 0:p.firstWeekContainsDate)&&void 0!==c?c:m.firstWeekContainsDate)&&void 0!==r?r:null===(d=m.locale)||void 0===d||null===(h=d.options)||void 0===h?void 0:h.firstWeekContainsDate)&&void 0!==n?n:1),v=(0,a.A)(e,t),b=new Date(0);return b.setUTCFullYear(v,0,y),b.setUTCHours(0,0,0,0),(0,o.A)(b,t)}(n,t).getTime();return Math.round(l/c)+1}},464:function(e,t,n){"use strict";n.d(t,{A:function(){return s}});var r=n(123),o=n(551),a=n(9742),i=n(4188),u=n(1858);function s(e,t){var n,s,c,l,f,p,d,h;(0,o.A)(1,arguments);var m=(0,r.default)(e),y=m.getUTCFullYear(),v=(0,u.q)(),b=(0,i.A)(null!==(n=null!==(s=null!==(c=null!==(l=null==t?void 0:t.firstWeekContainsDate)&&void 0!==l?l:null==t||null===(f=t.locale)||void 0===f||null===(p=f.options)||void 0===p?void 0:p.firstWeekContainsDate)&&void 0!==c?c:v.firstWeekContainsDate)&&void 0!==s?s:null===(d=v.locale)||void 0===d||null===(h=d.options)||void 0===h?void 0:h.firstWeekContainsDate)&&void 0!==n?n:1);if(!(b>=1&&b<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var g=new Date(0);g.setUTCFullYear(y+1,0,b),g.setUTCHours(0,0,0,0);var w=(0,a.A)(g,t),_=new Date(0);_.setUTCFullYear(y,0,b),_.setUTCHours(0,0,0,0);var O=(0,a.A)(_,t);return m.getTime()>=w.getTime()?y+1:m.getTime()>=O.getTime()?y:y-1}},1109:function(e,t,n){"use strict";n.d(t,{ef:function(){return a},lJ:function(){return u},xM:function(){return i}});var r=["D","DD"],o=["YY","YYYY"];function a(e){return-1!==r.indexOf(e)}function i(e){return-1!==o.indexOf(e)}function u(e,t,n){if("YYYY"===e)throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("YY"===e)throw new RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("D"===e)throw new RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("DD"===e)throw new RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}},551:function(e,t,n){"use strict";function r(e,t){if(t.length1?"s":"")+" required, but only "+t.length+" present")}n.d(t,{A:function(){return r}})},9411:function(e,t,n){"use strict";n.d(t,{A:function(){return a}});var r=n(123),o=n(551);function a(e){(0,o.A)(1,arguments);var t=(0,r.default)(e),n=t.getUTCDay(),a=(n<1?7:0)+n-1;return t.setUTCDate(t.getUTCDate()-a),t.setUTCHours(0,0,0,0),t}},9742:function(e,t,n){"use strict";n.d(t,{A:function(){return u}});var r=n(123),o=n(551),a=n(4188),i=n(1858);function u(e,t){var n,u,s,c,l,f,p,d;(0,o.A)(1,arguments);var h=(0,i.q)(),m=(0,a.A)(null!==(n=null!==(u=null!==(s=null!==(c=null==t?void 0:t.weekStartsOn)&&void 0!==c?c:null==t||null===(l=t.locale)||void 0===l||null===(f=l.options)||void 0===f?void 0:f.weekStartsOn)&&void 0!==s?s:h.weekStartsOn)&&void 0!==u?u:null===(p=h.locale)||void 0===p||null===(d=p.options)||void 0===d?void 0:d.weekStartsOn)&&void 0!==n?n:0);if(!(m>=0&&m<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var y=(0,r.default)(e),v=y.getUTCDay(),b=(v=s.getDate()?s:(n.setFullYear(s.getFullYear(),s.getMonth(),u),n)}},2238:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return i}});var r=n(4188),o=n(2998),a=n(551);function i(e,t){(0,a.A)(2,arguments);var n=7*(0,r.A)(t);return(0,o.default)(e,n)}},9317:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return i}});var r=n(4188),o=n(2118),a=n(551);function i(e,t){(0,a.A)(2,arguments);var n=(0,r.A)(t);return(0,o.default)(e,12*n)}},7499:function(e,t,n){"use strict";n.d(t,{Cg:function(){return r},_m:function(){return a},s0:function(){return o}}),Math.pow(10,8);var r=6e4,o=36e5,a=1e3},63:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return u}});var r=n(7044),o=n(1127),a=n(551),i=864e5;function u(e,t){(0,a.A)(2,arguments);var n=(0,o.default)(e),u=(0,o.default)(t),s=n.getTime()-(0,r.A)(n),c=u.getTime()-(0,r.A)(u);return Math.round((s-c)/i)}},667:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return a}});var r=n(123),o=n(551);function a(e,t){(0,o.A)(2,arguments);var n=(0,r.default)(e),a=(0,r.default)(t);return 12*(n.getFullYear()-a.getFullYear())+(n.getMonth()-a.getMonth())}},733:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return u}});var r=n(7827),o=n(7044),a=n(551),i=6048e5;function u(e,t,n){(0,a.A)(2,arguments);var u=(0,r.default)(e,n),s=(0,r.default)(t,n),c=u.getTime()-(0,o.A)(u),l=s.getTime()-(0,o.A)(s);return Math.round((c-l)/i)}},2002:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return a}});var r=n(123),o=n(551);function a(e,t){(0,o.A)(2,arguments);var n=(0,r.default)(e),a=(0,r.default)(t);return n.getFullYear()-a.getFullYear()}},6212:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return a}});var r=n(123),o=n(551);function a(e){(0,o.A)(1,arguments);var t=(0,r.default)(e);return t.setHours(23,59,59,999),t}},9312:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return a}});var r=n(123),o=n(551);function a(e){(0,o.A)(1,arguments);var t=(0,r.default)(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(23,59,59,999),t}},6462:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return u}});var r=n(1858),o=n(123),a=n(4188),i=n(551);function u(e,t){var n,u,s,c,l,f,p,d;(0,i.A)(1,arguments);var h=(0,r.q)(),m=(0,a.A)(null!==(n=null!==(u=null!==(s=null!==(c=null==t?void 0:t.weekStartsOn)&&void 0!==c?c:null==t||null===(l=t.locale)||void 0===l||null===(f=l.options)||void 0===f?void 0:f.weekStartsOn)&&void 0!==s?s:h.weekStartsOn)&&void 0!==u?u:null===(p=h.locale)||void 0===p||null===(d=p.options)||void 0===d?void 0:d.weekStartsOn)&&void 0!==n?n:0);if(!(m>=0&&m<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var y=(0,o.default)(e),v=y.getDay(),b=6+(v0?n:1-n;return f("yy"===t?r%100:r,t.length)},d=function(e,t){var n=e.getUTCMonth();return"M"===t?String(n+1):f(n+1,2)},h=function(e,t){return f(e.getUTCDate(),t.length)},m=function(e,t){return f(e.getUTCHours()%12||12,t.length)},y=function(e,t){return f(e.getUTCHours(),t.length)},v=function(e,t){return f(e.getUTCMinutes(),t.length)},b=function(e,t){return f(e.getUTCSeconds(),t.length)},g=function(e,t){var n=t.length,r=e.getUTCMilliseconds();return f(Math.floor(r*Math.pow(10,n-3)),t.length)},w={G:function(e,t,n){var r=e.getUTCFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if("yo"===t){var r=e.getUTCFullYear(),o=r>0?r:1-r;return n.ordinalNumber(o,{unit:"year"})}return p(e,t)},Y:function(e,t,n,r){var o=(0,l.A)(e,r),a=o>0?o:1-o;return"YY"===t?f(a%100,2):"Yo"===t?n.ordinalNumber(a,{unit:"year"}):f(a,t.length)},R:function(e,t){return f((0,s.A)(e),t.length)},u:function(e,t){return f(e.getUTCFullYear(),t.length)},Q:function(e,t,n){var r=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return f(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){var r=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return f(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){var r=e.getUTCMonth();switch(t){case"M":case"MM":return d(e,t);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){var r=e.getUTCMonth();switch(t){case"L":return String(r+1);case"LL":return f(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){var o=(0,c.A)(e,r);return"wo"===t?n.ordinalNumber(o,{unit:"week"}):f(o,t.length)},I:function(e,t,n){var r=(0,u.A)(e);return"Io"===t?n.ordinalNumber(r,{unit:"week"}):f(r,t.length)},d:function(e,t,n){return"do"===t?n.ordinalNumber(e.getUTCDate(),{unit:"date"}):h(e,t)},D:function(e,t,n){var r=function(e){(0,i.A)(1,arguments);var t=(0,a.default)(e),n=t.getTime();t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0);var r=n-t.getTime();return Math.floor(r/864e5)+1}(e);return"Do"===t?n.ordinalNumber(r,{unit:"dayOfYear"}):f(r,t.length)},E:function(e,t,n){var r=e.getUTCDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){var o=e.getUTCDay(),a=(o-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(a);case"ee":return f(a,2);case"eo":return n.ordinalNumber(a,{unit:"day"});case"eee":return n.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(o,{width:"short",context:"formatting"});default:return n.day(o,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){var o=e.getUTCDay(),a=(o-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(a);case"cc":return f(a,t.length);case"co":return n.ordinalNumber(a,{unit:"day"});case"ccc":return n.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(o,{width:"narrow",context:"standalone"});case"cccccc":return n.day(o,{width:"short",context:"standalone"});default:return n.day(o,{width:"wide",context:"standalone"})}},i:function(e,t,n){var r=e.getUTCDay(),o=0===r?7:r;switch(t){case"i":return String(o);case"ii":return f(o,t.length);case"io":return n.ordinalNumber(o,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){var r=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(e,t,n){var r,o=e.getUTCHours();switch(r=12===o?"noon":0===o?"midnight":o/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(e,t,n){var r,o=e.getUTCHours();switch(r=o>=17?"evening":o>=12?"afternoon":o>=4?"morning":"night",t){case"B":case"BB":case"BBB":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(e,t,n){if("ho"===t){var r=e.getUTCHours()%12;return 0===r&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return m(e,t)},H:function(e,t,n){return"Ho"===t?n.ordinalNumber(e.getUTCHours(),{unit:"hour"}):y(e,t)},K:function(e,t,n){var r=e.getUTCHours()%12;return"Ko"===t?n.ordinalNumber(r,{unit:"hour"}):f(r,t.length)},k:function(e,t,n){var r=e.getUTCHours();return 0===r&&(r=24),"ko"===t?n.ordinalNumber(r,{unit:"hour"}):f(r,t.length)},m:function(e,t,n){return"mo"===t?n.ordinalNumber(e.getUTCMinutes(),{unit:"minute"}):v(e,t)},s:function(e,t,n){return"so"===t?n.ordinalNumber(e.getUTCSeconds(),{unit:"second"}):b(e,t)},S:function(e,t){return g(e,t)},X:function(e,t,n,r){var o=(r._originalDate||e).getTimezoneOffset();if(0===o)return"Z";switch(t){case"X":return O(o);case"XXXX":case"XX":return k(o);default:return k(o,":")}},x:function(e,t,n,r){var o=(r._originalDate||e).getTimezoneOffset();switch(t){case"x":return O(o);case"xxxx":case"xx":return k(o);default:return k(o,":")}},O:function(e,t,n,r){var o=(r._originalDate||e).getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+_(o,":");default:return"GMT"+k(o,":")}},z:function(e,t,n,r){var o=(r._originalDate||e).getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+_(o,":");default:return"GMT"+k(o,":")}},t:function(e,t,n,r){var o=r._originalDate||e;return f(Math.floor(o.getTime()/1e3),t.length)},T:function(e,t,n,r){return f((r._originalDate||e).getTime(),t.length)}};function _(e,t){var n=e>0?"-":"+",r=Math.abs(e),o=Math.floor(r/60),a=r%60;if(0===a)return n+String(o);var i=t||"";return n+String(o)+i+f(a,2)}function O(e,t){return e%60==0?(e>0?"-":"+")+f(Math.abs(e)/60,2):k(e,t)}function k(e,t){var n=t||"",r=e>0?"-":"+",o=Math.abs(e);return r+f(Math.floor(o/60),2)+n+f(o%60,2)}var D=w,S=n(1788),C=n(7044),E=n(1109),P=n(4188),x=n(1858),M=n(4274),T=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,R=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,A=/^'([^]*?)'?$/,j=/''/g,I=/[a-zA-Z]/;function N(e,t,n){var u,s,c,l,f,p,d,h,m,y,v,b,g,w,_,O,k,N;(0,i.A)(2,arguments);var L=String(t),F=(0,x.q)(),B=null!==(u=null!==(s=null==n?void 0:n.locale)&&void 0!==s?s:F.locale)&&void 0!==u?u:M.A,Y=(0,P.A)(null!==(c=null!==(l=null!==(f=null!==(p=null==n?void 0:n.firstWeekContainsDate)&&void 0!==p?p:null==n||null===(d=n.locale)||void 0===d||null===(h=d.options)||void 0===h?void 0:h.firstWeekContainsDate)&&void 0!==f?f:F.firstWeekContainsDate)&&void 0!==l?l:null===(m=F.locale)||void 0===m||null===(y=m.options)||void 0===y?void 0:y.firstWeekContainsDate)&&void 0!==c?c:1);if(!(Y>=1&&Y<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var U=(0,P.A)(null!==(v=null!==(b=null!==(g=null!==(w=null==n?void 0:n.weekStartsOn)&&void 0!==w?w:null==n||null===(_=n.locale)||void 0===_||null===(O=_.options)||void 0===O?void 0:O.weekStartsOn)&&void 0!==g?g:F.weekStartsOn)&&void 0!==b?b:null===(k=F.locale)||void 0===k||null===(N=k.options)||void 0===N?void 0:N.weekStartsOn)&&void 0!==v?v:0);if(!(U>=0&&U<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!B.localize)throw new RangeError("locale must contain localize property");if(!B.formatLong)throw new RangeError("locale must contain formatLong property");var V=(0,a.default)(e);if(!(0,r.default)(V))throw new RangeError("Invalid time value");var H=(0,C.A)(V),W=(0,o.A)(V,H),q={firstWeekContainsDate:Y,weekStartsOn:U,locale:B,_originalDate:V};return L.match(R).map((function(e){var t=e[0];return"p"===t||"P"===t?(0,S.A[t])(e,B.formatLong):e})).join("").match(T).map((function(r){if("''"===r)return"'";var o,a,i=r[0];if("'"===i)return(a=(o=r).match(A))?a[1].replace(j,"'"):o;var u=D[i];if(u)return null!=n&&n.useAdditionalWeekYearTokens||!(0,E.xM)(r)||(0,E.lJ)(r,t,String(e)),null!=n&&n.useAdditionalDayOfYearTokens||!(0,E.ef)(r)||(0,E.lJ)(r,t,String(e)),u(W,r,B.localize,q);if(i.match(I))throw new RangeError("Format string contains an unescaped latin alphabet character `"+i+"`");return r})).join("")}},274:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return a}});var r=n(123),o=n(551);function a(e){return(0,o.A)(1,arguments),(0,r.default)(e).getDate()}},7512:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return a}});var r=n(123),o=n(551);function a(e){return(0,o.A)(1,arguments),(0,r.default)(e).getDay()}},8089:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return a}});var r=n(123),o=n(551);function a(e){return(0,o.A)(1,arguments),(0,r.default)(e).getHours()}},8850:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return s}});var r=n(123),o=n(7827),a=n(551);function i(e){return(0,a.A)(1,arguments),(0,o.default)(e,{weekStartsOn:1})}var u=6048e5;function s(e){(0,a.A)(1,arguments);var t=(0,r.default)(e),n=i(t).getTime()-function(e){(0,a.A)(1,arguments);var t=function(e){(0,a.A)(1,arguments);var t=(0,r.default)(e),n=t.getFullYear(),o=new Date(0);o.setFullYear(n+1,0,4),o.setHours(0,0,0,0);var u=i(o),s=new Date(0);s.setFullYear(n,0,4),s.setHours(0,0,0,0);var c=i(s);return t.getTime()>=u.getTime()?n+1:t.getTime()>=c.getTime()?n:n-1}(e),n=new Date(0);return n.setFullYear(t,0,4),n.setHours(0,0,0,0),i(n)}(t).getTime();return Math.round(n/u)+1}},2563:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return a}});var r=n(123),o=n(551);function a(e){return(0,o.A)(1,arguments),(0,r.default)(e).getMinutes()}},2044:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return a}});var r=n(123),o=n(551);function a(e){return(0,o.A)(1,arguments),(0,r.default)(e).getMonth()}},4158:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return a}});var r=n(123),o=n(551);function a(e){(0,o.A)(1,arguments);var t=(0,r.default)(e);return Math.floor(t.getMonth()/3)+1}},9251:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return a}});var r=n(123),o=n(551);function a(e){return(0,o.A)(1,arguments),(0,r.default)(e).getSeconds()}},8519:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return a}});var r=n(123),o=n(551);function a(e){return(0,o.A)(1,arguments),(0,r.default)(e).getTime()}},2379:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return a}});var r=n(123),o=n(551);function a(e){return(0,o.A)(1,arguments),(0,r.default)(e).getFullYear()}},9672:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return a}});var r=n(123),o=n(551);function a(e,t){(0,o.A)(2,arguments);var n=(0,r.default)(e),a=(0,r.default)(t);return n.getTime()>a.getTime()}},7813:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return a}});var r=n(123),o=n(551);function a(e,t){(0,o.A)(2,arguments);var n=(0,r.default)(e),a=(0,r.default)(t);return n.getTime()=a&&n<=i}},7440:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return i}});var r=n(123),o=n(551);function a(e){return a="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},a(e)}function i(e){var t,n;if((0,o.A)(1,arguments),e&&"function"==typeof e.forEach)t=e;else{if("object"!==a(e)||null===e)return new Date(NaN);t=Array.prototype.slice.call(e)}return t.forEach((function(e){var t=(0,r.default)(e);(void 0===n||nt||isNaN(t.getDate()))&&(n=t)})),n||new Date(NaN)}},892:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return Mo}});var r=n(4274),o=n(5654),a=n(123);function i(e,t){if(null==e)throw new TypeError("assign requires that input parameter not be null or undefined");for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}var u=n(1788),s=n(7044),c=n(1109),l=n(4188),f=n(551);function p(e){return p="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},p(e)}function d(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&&h(e,t)}function h(e,t){return h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},h(e,t)}function m(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=v(e);if(t){var o=v(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){return!t||"object"!==p(t)&&"function"!=typeof t?y(e):t}(this,n)}}function y(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v(e){return v=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},v(e)}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;n0,o=r?t:1-t;if(o<=50)n=e||100;else{var a=o+50;n=e+100*Math.floor(a/100)-(e>=a%100?100:0)}return r?n:1-n}function de(e){return e%400==0||e%4==0&&e%100!=0}function he(e){return he="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},he(e)}function me(e,t){for(var n=0;n0}},{key:"set",value:function(e,t,n){var r=e.getUTCFullYear();if(n.isTwoDigitYear){var o=pe(n.year,r);return e.setUTCFullYear(o,0,1),e.setUTCHours(0,0,0,0),e}var a="era"in t&&1!==t.era?1-n.year:n.year;return e.setUTCFullYear(a,0,1),e.setUTCHours(0,0,0,0),e}}])&&me(t.prototype,n),i}(C),_e=n(464),Oe=n(9742);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},ke(e)}function De(e,t){for(var n=0;n0}},{key:"set",value:function(e,t,n,r){var o=(0,_e.A)(e,r);if(n.isTwoDigitYear){var a=pe(n.year,o);return e.setUTCFullYear(a,0,r.firstWeekContainsDate),e.setUTCHours(0,0,0,0),(0,Oe.A)(e,r)}var i="era"in t&&1!==t.era?1-n.year:n.year;return e.setUTCFullYear(i,0,r.firstWeekContainsDate),e.setUTCHours(0,0,0,0),(0,Oe.A)(e,r)}}])&&De(t.prototype,n),i}(C),Me=n(9411);function Te(e){return Te="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},Te(e)}function Re(e,t){for(var n=0;n=1&&t<=4}},{key:"set",value:function(e,t,n){return e.setUTCMonth(3*(n-1),1),e.setUTCHours(0,0,0,0),e}}])&&Ke(t.prototype,n),i}(C);function Ze(e){return Ze="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},Ze(e)}function Je(e,t){for(var n=0;n=1&&t<=4}},{key:"set",value:function(e,t,n){return e.setUTCMonth(3*(n-1),1),e.setUTCHours(0,0,0,0),e}}])&&Je(t.prototype,n),i}(C);function at(e){return at="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},at(e)}function it(e,t){for(var n=0;n=0&&t<=11}},{key:"set",value:function(e,t,n){return e.setUTCMonth(n,1),e.setUTCHours(0,0,0,0),e}}])&&it(t.prototype,n),i}(C);function pt(e){return pt="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},pt(e)}function dt(e,t){for(var n=0;n=0&&t<=11}},{key:"set",value:function(e,t,n){return e.setUTCMonth(n,1),e.setUTCHours(0,0,0,0),e}}])&&dt(t.prototype,n),i}(C),gt=n(6894);function wt(e){return wt="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},wt(e)}function _t(e,t){for(var n=0;n=1&&t<=53}},{key:"set",value:function(e,t,n,r){return(0,Oe.A)(function(e,t,n){(0,f.A)(2,arguments);var r=(0,a.default)(e),o=(0,l.A)(t),i=(0,gt.A)(r,n)-o;return r.setUTCDate(r.getUTCDate()-7*i),r}(e,n,r),r)}}],n&&_t(t.prototype,n),u}(C),Et=n(1053);function Pt(e){return Pt="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},Pt(e)}function xt(e,t){for(var n=0;n=1&&t<=53}},{key:"set",value:function(e,t,n){return(0,Me.A)(function(e,t){(0,f.A)(2,arguments);var n=(0,a.default)(e),r=(0,l.A)(t),o=(0,Et.A)(n)-r;return n.setUTCDate(n.getUTCDate()-7*o),n}(e,n))}}],n&&xt(t.prototype,n),u}(C);function It(e){return It="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},It(e)}function Nt(e,t){for(var n=0;n=1&&t<=Vt[r]:t>=1&&t<=Ut[r]}},{key:"set",value:function(e,t,n){return e.setUTCDate(n),e.setUTCHours(0,0,0,0),e}}])&&Nt(t.prototype,n),i}(C);function Wt(e){return Wt="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},Wt(e)}function qt(e,t){for(var n=0;n=1&&t<=366:t>=1&&t<=365}},{key:"set",value:function(e,t,n){return e.setUTCMonth(0,n),e.setUTCHours(0,0,0,0),e}}])&&qt(t.prototype,n),i}(C),Xt=n(1858);function Zt(e,t,n){var r,o,i,u,s,c,p,d;(0,f.A)(2,arguments);var h=(0,Xt.q)(),m=(0,l.A)(null!==(r=null!==(o=null!==(i=null!==(u=null==n?void 0:n.weekStartsOn)&&void 0!==u?u:null==n||null===(s=n.locale)||void 0===s||null===(c=s.options)||void 0===c?void 0:c.weekStartsOn)&&void 0!==i?i:h.weekStartsOn)&&void 0!==o?o:null===(p=h.locale)||void 0===p||null===(d=p.options)||void 0===d?void 0:d.weekStartsOn)&&void 0!==r?r:0);if(!(m>=0&&m<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var y=(0,a.default)(e),v=(0,l.A)(t),b=((v%7+7)%7=0&&t<=6}},{key:"set",value:function(e,t,n,r){return(e=Zt(e,n,r)).setUTCHours(0,0,0,0),e}}])&&en(t.prototype,n),i}(C);function un(e){return un="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},un(e)}function sn(e,t){for(var n=0;n=0&&t<=6}},{key:"set",value:function(e,t,n,r){return(e=Zt(e,n,r)).setUTCHours(0,0,0,0),e}}])&&sn(t.prototype,n),i}(C);function hn(e){return hn="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},hn(e)}function mn(e,t){for(var n=0;n=0&&t<=6}},{key:"set",value:function(e,t,n,r){return(e=Zt(e,n,r)).setUTCHours(0,0,0,0),e}}])&&mn(t.prototype,n),i}(C);function On(e){return On="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},On(e)}function kn(e,t){for(var n=0;n=1&&t<=7}},{key:"set",value:function(e,t,n){return e=function(e,t){(0,f.A)(2,arguments);var n=(0,l.A)(t);n%7==0&&(n-=7);var r=(0,a.default)(e),o=((n%7+7)%7<1?7:0)+n-r.getUTCDay();return r.setUTCDate(r.getUTCDate()+o),r}(e,n),e.setUTCHours(0,0,0,0),e}}],n&&kn(t.prototype,n),u}(C);function xn(e){return xn="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},xn(e)}function Mn(e,t){for(var n=0;n=1&&t<=12}},{key:"set",value:function(e,t,n){var r=e.getUTCHours()>=12;return r&&n<12?e.setUTCHours(n+12,0,0,0):r||12!==n?e.setUTCHours(n,0,0,0):e.setUTCHours(0,0,0,0),e}}])&&Xn(t.prototype,n),i}(C);function rr(e){return rr="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},rr(e)}function or(e,t){for(var n=0;n=0&&t<=23}},{key:"set",value:function(e,t,n){return e.setUTCHours(n,0,0,0),e}}])&&or(t.prototype,n),i}(C);function lr(e){return lr="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},lr(e)}function fr(e,t){for(var n=0;n=0&&t<=11}},{key:"set",value:function(e,t,n){return e.getUTCHours()>=12&&n<12?e.setUTCHours(n+12,0,0,0):e.setUTCHours(n,0,0,0),e}}])&&fr(t.prototype,n),i}(C);function vr(e){return vr="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},vr(e)}function br(e,t){for(var n=0;n=1&&t<=24}},{key:"set",value:function(e,t,n){var r=n<=24?n%24:n;return e.setUTCHours(r,0,0,0),e}}])&&br(t.prototype,n),i}(C);function Dr(e){return Dr="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},Dr(e)}function Sr(e,t){for(var n=0;n=0&&t<=59}},{key:"set",value:function(e,t,n){return e.setUTCMinutes(n,0,0),e}}])&&Sr(t.prototype,n),i}(C);function Tr(e){return Tr="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},Tr(e)}function Rr(e,t){for(var n=0;n=0&&t<=59}},{key:"set",value:function(e,t,n){return e.setUTCSeconds(n,0),e}}])&&Rr(t.prototype,n),i}(C);function Fr(e){return Fr="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},Fr(e)}function Br(e,t){for(var n=0;n=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,u=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return i=e.done,e},e:function(e){u=!0,a=e},f:function(){try{i||null==n.return||n.return()}finally{if(u)throw a}}}}function ko(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=1&&N<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var L=(0,l.A)(null!==(k=null!==(S=null!==(C=null!==(E=null==p?void 0:p.weekStartsOn)&&void 0!==E?E:null==p||null===(P=p.locale)||void 0===P||null===(x=P.options)||void 0===x?void 0:x.weekStartsOn)&&void 0!==C?C:j.weekStartsOn)&&void 0!==S?S:null===(M=j.locale)||void 0===M||null===(T=M.options)||void 0===T?void 0:T.weekStartsOn)&&void 0!==k?k:0);if(!(L>=0&&L<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(""===A)return""===R?(0,a.default)(n):new Date(NaN);var F,B={firstWeekContainsDate:N,weekStartsOn:L,locale:I},Y=[new D],U=A.match(So).map((function(e){var t=e[0];return t in u.A?(0,u.A[t])(e,I.formatLong):e})).join("").match(Do),V=[],H=Oo(U);try{var W=function(){var t=F.value;null!=p&&p.useAdditionalWeekYearTokens||!(0,c.xM)(t)||(0,c.lJ)(t,A,e),null!=p&&p.useAdditionalDayOfYearTokens||!(0,c.ef)(t)||(0,c.lJ)(t,A,e);var n=t[0],r=wo[n];if(r){var o=r.incompatibleTokens;if(Array.isArray(o)){var a=V.find((function(e){return o.includes(e.token)||e.token===n}));if(a)throw new RangeError("The format string mustn't contain `".concat(a.fullToken,"` and `").concat(t,"` at the same time"))}else if("*"===r.incompatibleTokens&&V.length>0)throw new RangeError("The format string mustn't contain `".concat(t,"` and any other token at the same time"));V.push({token:n,fullToken:t});var i=r.run(R,t,I.match,B);if(!i)return{v:new Date(NaN)};Y.push(i.setter),R=i.rest}else{if(n.match(xo))throw new RangeError("Format string contains an unescaped latin alphabet character `"+n+"`");if("''"===t?t="'":"'"===n&&(t=t.match(Co)[1].replace(Eo,"'")),0!==R.indexOf(t))return{v:new Date(NaN)};R=R.slice(t.length)}};for(H.s();!(F=H.n()).done;){var q=W();if("object"===_o(q))return q.v}}catch(e){H.e(e)}finally{H.f()}if(R.length>0&&Po.test(R))return new Date(NaN);var K=Y.map((function(e){return e.priority})).sort((function(e,t){return t-e})).filter((function(e,t,n){return n.indexOf(e)===t})).map((function(e){return Y.filter((function(t){return t.priority===e})).sort((function(e,t){return t.subPriority-e.subPriority}))})).map((function(e){return e[0]})),z=(0,a.default)(n);if(isNaN(z.getTime()))return new Date(NaN);var $,Q=(0,o.A)(z,(0,s.A)(z)),G={},X=Oo(K);try{for(X.s();!($=X.n()).done;){var Z=$.value;if(!Z.validate(Q,B))return new Date(NaN);var J=Z.set(Q,G,B);Array.isArray(J)?(Q=J[0],i(G,J[1])):Q=J}}catch(e){X.e(e)}finally{X.f()}return Q}},1806:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return i}});var r=n(7499),o=n(551),a=n(4188);function i(e,t){var n;(0,o.A)(1,arguments);var i=(0,a.A)(null!==(n=null==t?void 0:t.additionalDigits)&&void 0!==n?n:2);if(2!==i&&1!==i&&0!==i)throw new RangeError("additionalDigits must be 0, 1 or 2");if("string"!=typeof e&&"[object String]"!==Object.prototype.toString.call(e))return new Date(NaN);var m,y=function(e){var t,n={},r=e.split(u.dateTimeDelimiter);if(r.length>2)return n;if(/:/.test(r[0])?t=r[0]:(n.date=r[0],t=r[1],u.timeZoneDelimiter.test(n.date)&&(n.date=e.split(u.timeZoneDelimiter)[0],t=e.substr(n.date.length,e.length))),t){var o=u.timezone.exec(t);o?(n.time=t.replace(o[1],""),n.timezone=o[1]):n.time=t}return n}(e);if(y.date){var v=function(e,t){var n=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+t)+"})|(\\d{2}|[+-]\\d{"+(2+t)+"})$)"),r=e.match(n);if(!r)return{year:NaN,restDateString:""};var o=r[1]?parseInt(r[1]):null,a=r[2]?parseInt(r[2]):null;return{year:null===a?o:100*a,restDateString:e.slice((r[1]||r[2]).length)}}(y.date,i);m=function(e,t){if(null===t)return new Date(NaN);var n=e.match(s);if(!n)return new Date(NaN);var r=!!n[4],o=f(n[1]),a=f(n[2])-1,i=f(n[3]),u=f(n[4]),c=f(n[5])-1;if(r)return function(e,t,n){return t>=1&&t<=53&&n>=0&&n<=6}(0,u,c)?function(e,t,n){var r=new Date(0);r.setUTCFullYear(e,0,4);var o=7*(t-1)+n+1-(r.getUTCDay()||7);return r.setUTCDate(r.getUTCDate()+o),r}(t,u,c):new Date(NaN);var l=new Date(0);return function(e,t,n){return t>=0&&t<=11&&n>=1&&n<=(d[t]||(h(e)?29:28))}(t,a,i)&&function(e,t){return t>=1&&t<=(h(e)?366:365)}(t,o)?(l.setUTCFullYear(t,a,Math.max(o,i)),l):new Date(NaN)}(v.restDateString,v.year)}if(!m||isNaN(m.getTime()))return new Date(NaN);var b,g=m.getTime(),w=0;if(y.time&&(w=function(e){var t=e.match(c);if(!t)return NaN;var n=p(t[1]),o=p(t[2]),a=p(t[3]);return function(e,t,n){return 24===e?0===t&&0===n:n>=0&&n<60&&t>=0&&t<60&&e>=0&&e<25}(n,o,a)?n*r.s0+o*r.Cg+1e3*a:NaN}(y.time),isNaN(w)))return new Date(NaN);if(!y.timezone){var _=new Date(g+w),O=new Date(0);return O.setFullYear(_.getUTCFullYear(),_.getUTCMonth(),_.getUTCDate()),O.setHours(_.getUTCHours(),_.getUTCMinutes(),_.getUTCSeconds(),_.getUTCMilliseconds()),O}return b=function(e){if("Z"===e)return 0;var t=e.match(l);if(!t)return 0;var n="+"===t[1]?-1:1,o=parseInt(t[2]),a=t[3]&&parseInt(t[3])||0;return function(e,t){return t>=0&&t<=59}(0,a)?n*(o*r.s0+a*r.Cg):NaN}(y.timezone),isNaN(b)?new Date(NaN):new Date(g+w+b)}var u={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},s=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,c=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,l=/^([+-])(\d{2})(?::?(\d{2}))?$/;function f(e){return e?parseInt(e):1}function p(e){return e&&parseFloat(e.replace(",","."))||0}var d=[31,null,31,30,31,30,31,31,30,31,30,31];function h(e){return e%400==0||e%4==0&&e%100!=0}},7901:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return i}});var r=n(4188),o=n(123),a=n(551);function i(e,t){(0,a.A)(2,arguments);var n=(0,o.default)(e),i=(0,r.A)(t);return n.setHours(i),n}},7375:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return i}});var r=n(4188),o=n(123),a=n(551);function i(e,t){(0,a.A)(2,arguments);var n=(0,o.default)(e),i=(0,r.A)(t);return n.setMinutes(i),n}},1104:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return i}});var r=n(4188),o=n(123),a=n(551);function i(e,t){(0,a.A)(2,arguments);var n=(0,o.default)(e),i=(0,r.A)(t),u=n.getFullYear(),s=n.getDate(),c=new Date(0);c.setFullYear(u,i,15),c.setHours(0,0,0,0);var l=function(e){(0,a.A)(1,arguments);var t=(0,o.default)(e),n=t.getFullYear(),r=t.getMonth(),i=new Date(0);return i.setFullYear(n,r+1,0),i.setHours(0,0,0,0),i.getDate()}(c);return n.setMonth(i,Math.min(s,l)),n}},6090:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return u}});var r=n(4188),o=n(123),a=n(1104),i=n(551);function u(e,t){(0,i.A)(2,arguments);var n=(0,o.default)(e),u=(0,r.A)(t)-(Math.floor(n.getMonth()/3)+1);return(0,a.default)(n,n.getMonth()+3*u)}},1591:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return i}});var r=n(4188),o=n(123),a=n(551);function i(e,t){(0,a.A)(2,arguments);var n=(0,o.default)(e),i=(0,r.A)(t);return n.setSeconds(i),n}},8895:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return i}});var r=n(4188),o=n(123),a=n(551);function i(e,t){(0,a.A)(2,arguments);var n=(0,o.default)(e),i=(0,r.A)(t);return isNaN(n.getTime())?new Date(NaN):(n.setFullYear(i),n)}},1127:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return a}});var r=n(123),o=n(551);function a(e){(0,o.A)(1,arguments);var t=(0,r.default)(e);return t.setHours(0,0,0,0),t}},543:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return a}});var r=n(123),o=n(551);function a(e){(0,o.A)(1,arguments);var t=(0,r.default)(e);return t.setDate(1),t.setHours(0,0,0,0),t}},6757:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return a}});var r=n(123),o=n(551);function a(e){(0,o.A)(1,arguments);var t=(0,r.default)(e),n=t.getMonth(),a=n-n%3;return t.setMonth(a,1),t.setHours(0,0,0,0),t}},7827:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return u}});var r=n(123),o=n(4188),a=n(551),i=n(1858);function u(e,t){var n,u,s,c,l,f,p,d;(0,a.A)(1,arguments);var h=(0,i.q)(),m=(0,o.A)(null!==(n=null!==(u=null!==(s=null!==(c=null==t?void 0:t.weekStartsOn)&&void 0!==c?c:null==t||null===(l=t.locale)||void 0===l||null===(f=l.options)||void 0===f?void 0:f.weekStartsOn)&&void 0!==s?s:h.weekStartsOn)&&void 0!==u?u:null===(p=h.locale)||void 0===p||null===(d=p.options)||void 0===d?void 0:d.weekStartsOn)&&void 0!==n?n:0);if(!(m>=0&&m<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var y=(0,r.default)(e),v=y.getDay(),b=(ve.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&void 0!==arguments[1]?arguments[1]:{},n=t.minDate,r=t.maxDate,o=t.excludeDates,a=t.excludeDateIntervals,i=t.includeDates,u=t.includeDateIntervals,s=t.filterDate;return tn(e,{minDate:n,maxDate:r})||o&&o.some((function(t){return Ut(e,t)}))||a&&a.some((function(t){var n=t.start,r=t.end;return at.default(e,{start:n,end:r})}))||i&&!i.some((function(t){return Ut(e,t)}))||u&&!u.some((function(t){var n=t.start,r=t.end;return at.default(e,{start:n,end:r})}))||s&&!s(Mt(e))||!1}function Qt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.excludeDates,r=t.excludeDateIntervals;return r&&r.length>0?r.some((function(t){var n=t.start,r=t.end;return at.default(e,{start:n,end:r})})):n&&n.some((function(t){return Ut(e,t)}))||!1}function Gt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.minDate,r=t.maxDate,o=t.excludeDates,a=t.includeDates,i=t.filterDate;return tn(e,{minDate:n,maxDate:r})||o&&o.some((function(t){return Bt(e,t)}))||a&&!a.some((function(t){return Bt(e,t)}))||i&&!i(Mt(e))||!1}function Xt(e,t,n,r){var o=Ae.default(e),a=Te.default(e),i=Ae.default(t),u=Te.default(t),s=Ae.default(r);return o===i&&o===s?a<=n&&n<=u:o=n||so:void 0}function Zt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.minDate,r=t.maxDate,o=t.excludeDates,a=t.includeDates,i=t.filterDate;return tn(e,{minDate:n,maxDate:r})||o&&o.some((function(t){return Yt(e,t)}))||a&&!a.some((function(t){return Yt(e,t)}))||i&&!i(Mt(e))||!1}function Jt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.minDate,r=t.maxDate;return tn(new Date(e,0,1),{minDate:n,maxDate:r})||!1}function en(e,t,n,r){var o=Ae.default(e),a=Re.default(e),i=Ae.default(t),u=Re.default(t),s=Ae.default(r);return o===i&&o===s?a<=n&&n<=u:o=n||so:void 0}function tn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.minDate,r=t.maxDate;return n&&He.default(e,n)<0||r&&He.default(e,r)>0}function nn(e,t){return t.some((function(t){return Ee.default(t)===Ee.default(e)&&Ce.default(t)===Ce.default(e)}))}function rn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.excludeTimes,r=t.includeTimes,o=t.filterTime;return n&&nn(e,n)||r&&!nn(e,r)||o&&!o(e)||!1}function on(e,t){var n=t.minTime,r=t.maxTime;if(!n||!r)throw new Error("Both minTime and maxTime props required");var o,a=Mt(),i=Le.default(Ne.default(a,Ce.default(e)),Ee.default(e)),u=Le.default(Ne.default(a,Ce.default(n)),Ee.default(n)),s=Le.default(Ne.default(a,Ce.default(r)),Ee.default(r));try{o=!at.default(i,{start:u,end:s})}catch(e){o=!1}return o}function an(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.minDate,r=t.includeDates,o=ke.default(e,1);return n&&We.default(n,o)>0||r&&r.every((function(e){return We.default(e,o)>0}))||!1}function un(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.maxDate,r=t.includeDates,o=ge.default(e,1);return n&&We.default(o,n)>0||r&&r.every((function(e){return We.default(o,e)>0}))||!1}function sn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.minDate,r=t.includeDates,o=De.default(e,1);return n&&qe.default(n,o)>0||r&&r.every((function(e){return qe.default(e,o)>0}))||!1}function cn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.maxDate,r=t.includeDates,o=we.default(e,1);return n&&qe.default(o,n)>0||r&&r.every((function(e){return qe.default(o,e)>0}))||!1}function ln(e){var t=e.minDate,n=e.includeDates;if(n&&t){var r=n.filter((function(e){return He.default(e,t)>=0}));return Ue.default(r)}return n?Ue.default(n):t}function fn(e){var t=e.maxDate,n=e.includeDates;if(n&&t){var r=n.filter((function(e){return He.default(e,t)<=0}));return Ve.default(r)}return n?Ve.default(n):t}function pn(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"react-datepicker__day--highlighted",n=new Map,r=0,o=e.length;r1&&void 0!==arguments[1]?arguments[1]:12,n=Math.ceil(Ae.default(e)/t)*t;return{startPeriod:n-(t-1),endPeriod:n}}function yn(e,t,n,r){for(var o=[],a=0;a<2*t+1;a++){var i=e+t-a,u=!0;n&&(u=Ae.default(n)<=i),r&&u&&(u=Ae.default(r)>=i),u&&o.push(i)}return o}var vn=function(e){gt(r,e);var n=kt(r);function r(e){var o;ht(this,r),vt(Ot(o=n.call(this,e)),"renderOptions",(function(){var e=o.props.year,t=o.state.yearsList.map((function(t){return le.default.createElement("div",{className:e===t?"react-datepicker__year-option react-datepicker__year-option--selected_year":"react-datepicker__year-option",key:t,onClick:o.onChange.bind(Ot(o),t),"aria-selected":e===t?"true":void 0},e===t?le.default.createElement("span",{className:"react-datepicker__year-option--selected"},"✓"):"",t)})),n=o.props.minDate?Ae.default(o.props.minDate):null,r=o.props.maxDate?Ae.default(o.props.maxDate):null;return r&&o.state.yearsList.find((function(e){return e===r}))||t.unshift(le.default.createElement("div",{className:"react-datepicker__year-option",key:"upcoming",onClick:o.incrementYears},le.default.createElement("a",{className:"react-datepicker__navigation react-datepicker__navigation--years react-datepicker__navigation--years-upcoming"}))),n&&o.state.yearsList.find((function(e){return e===n}))||t.push(le.default.createElement("div",{className:"react-datepicker__year-option",key:"previous",onClick:o.decrementYears},le.default.createElement("a",{className:"react-datepicker__navigation react-datepicker__navigation--years react-datepicker__navigation--years-previous"}))),t})),vt(Ot(o),"onChange",(function(e){o.props.onChange(e)})),vt(Ot(o),"handleClickOutside",(function(){o.props.onCancel()})),vt(Ot(o),"shiftYears",(function(e){var t=o.state.yearsList.map((function(t){return t+e}));o.setState({yearsList:t})})),vt(Ot(o),"incrementYears",(function(){return o.shiftYears(1)})),vt(Ot(o),"decrementYears",(function(){return o.shiftYears(-1)}));var a=e.yearDropdownItemNumber,i=e.scrollableYearDropdown,u=a||(i?10:5);return o.state={yearsList:yn(o.props.year,u,o.props.minDate,o.props.maxDate)},o.dropdownRef=t.createRef(),o}return yt(r,[{key:"componentDidMount",value:function(){var e=this.dropdownRef.current;e&&(e.scrollTop=e.scrollHeight/2-e.clientHeight/2)}},{key:"render",value:function(){var e=fe.default({"react-datepicker__year-dropdown":!0,"react-datepicker__year-dropdown--scrollable":this.props.scrollableYearDropdown});return le.default.createElement("div",{className:e,ref:this.dropdownRef},this.renderOptions())}}]),r}(le.default.Component),bn=ct.default(vn),gn=function(e){gt(n,e);var t=kt(n);function n(){var e;ht(this,n);for(var r=arguments.length,o=new Array(r),a=0;a0&&void 0!==arguments[0]?arguments[0]:{},n=!1;0===e.getTabIndex()&&!t.isInputFocused&&e.isSameDay(e.props.preSelection)&&(document.activeElement&&document.activeElement!==document.body||(n=!0),e.props.inline&&!e.props.shouldFocusDayInline&&(n=!1),e.props.containerRef&&e.props.containerRef.current&&e.props.containerRef.current.contains(document.activeElement)&&document.activeElement.classList.contains("react-datepicker__day")&&(n=!0)),n&&e.dayEl.current.focus({preventScroll:!0})})),vt(Ot(e),"renderDayContents",(function(){return e.props.monthShowsDuplicateDaysEnd&&e.isAfterMonth()||e.props.monthShowsDuplicateDaysStart&&e.isBeforeMonth()?null:e.props.renderDayContents?e.props.renderDayContents(xe.default(e.props.day),e.props.day):xe.default(e.props.day)})),vt(Ot(e),"render",(function(){return le.default.createElement("div",{ref:e.dayEl,className:e.getClassNames(e.props.day),onKeyDown:e.handleOnKeyDown,onClick:e.handleClick,onMouseEnter:e.handleMouseEnter,tabIndex:e.getTabIndex(),"aria-label":e.getAriaLabel(),role:"option","aria-disabled":e.isDisabled(),"aria-current":e.isCurrentDay()?"date":void 0,"aria-selected":e.isSelected()},e.renderDayContents())})),e}return yt(n,[{key:"componentDidMount",value:function(){this.handleFocusDay()}},{key:"componentDidUpdate",value:function(e){this.handleFocusDay(e)}}]),n}(le.default.Component),xn=function(e){gt(n,e);var t=kt(n);function n(){var e;ht(this,n);for(var r=arguments.length,o=new Array(r),a=0;a=6,u=!n&&!e.isWeekInMonth(a);if(i||u){if(!e.props.peekNextMonth)break;o=!0}}return t})),vt(Ot(e),"onMonthClick",(function(t,n){e.handleDayClick(Nt(Fe.default(e.props.day,n)),t)})),vt(Ot(e),"handleMonthNavigation",(function(t,n){e.isDisabled(n)||e.isExcluded(n)||(e.props.setPreSelection(n),e.MONTH_REFS[t].current&&e.MONTH_REFS[t].current.focus())})),vt(Ot(e),"onMonthKeyDown",(function(t,n){var r=t.key;if(!e.props.disabledKeyboardNavigation)switch(r){case"Enter":e.onMonthClick(t,n),e.props.setPreSelection(e.props.selected);break;case"ArrowRight":e.handleMonthNavigation(11===n?0:n+1,ge.default(e.props.preSelection,1));break;case"ArrowLeft":e.handleMonthNavigation(0===n?11:n-1,ke.default(e.props.preSelection,1))}})),vt(Ot(e),"onQuarterClick",(function(t,n){e.handleDayClick(function(e){return Qe.default(e)}(Be.default(e.props.day,n)),t)})),vt(Ot(e),"getMonthClassNames",(function(t){var n=e.props,r=n.day,o=n.startDate,a=n.endDate,i=n.selected,u=n.minDate,s=n.maxDate,c=n.preSelection,l=n.monthClassName,f=l?l(r):void 0;return fe.default("react-datepicker__month-text","react-datepicker__month-".concat(t),f,{"react-datepicker__month--disabled":(u||s)&&Gt(Fe.default(r,t),e.props),"react-datepicker__month--selected":e.isSelectedMonth(r,t,i),"react-datepicker__month-text--keyboard-selected":Te.default(c)===t,"react-datepicker__month--in-range":Xt(o,a,t,r),"react-datepicker__month--range-start":e.isRangeStartMonth(t),"react-datepicker__month--range-end":e.isRangeEndMonth(t),"react-datepicker__month-text--today":e.isCurrentMonth(r,t)})})),vt(Ot(e),"getTabIndex",(function(t){var n=Te.default(e.props.preSelection);return e.props.disabledKeyboardNavigation||t!==n?"-1":"0"})),vt(Ot(e),"getAriaLabel",(function(t){var n=e.props,r=n.chooseDayAriaLabelPrefix,o=void 0===r?"Choose":r,a=n.disabledDayAriaLabelPrefix,i=void 0===a?"Not available":a,u=n.day,s=Fe.default(u,t),c=e.isDisabled(s)||e.isExcluded(s)?i:o;return"".concat(c," ").concat(Rt(s,"MMMM yyyy"))})),vt(Ot(e),"getQuarterClassNames",(function(t){var n=e.props,r=n.day,o=n.startDate,a=n.endDate,i=n.selected,u=n.minDate,s=n.maxDate;return fe.default("react-datepicker__quarter-text","react-datepicker__quarter-".concat(t),{"react-datepicker__quarter--disabled":(u||s)&&Zt(Be.default(r,t),e.props),"react-datepicker__quarter--selected":e.isSelectedQuarter(r,t,i),"react-datepicker__quarter--in-range":en(o,a,t,r),"react-datepicker__quarter--range-start":e.isRangeStartQuarter(t),"react-datepicker__quarter--range-end":e.isRangeEndQuarter(t)})})),vt(Ot(e),"renderMonths",(function(){var t=e.props,n=t.showFullMonthYearPicker,r=t.showTwoColumnMonthYearPicker,o=t.showFourColumnMonthYearPicker,a=t.locale,i=t.day,u=t.selected;return(o?[[0,1,2,3],[4,5,6,7],[8,9,10,11]]:r?[[0,1],[2,3],[4,5],[6,7],[8,9],[10,11]]:[[0,1,2],[3,4,5],[6,7,8],[9,10,11]]).map((function(t,r){return le.default.createElement("div",{className:"react-datepicker__month-wrapper",key:r},t.map((function(t,r){return le.default.createElement("div",{ref:e.MONTH_REFS[t],key:r,onClick:function(n){e.onMonthClick(n,t)},onKeyDown:function(n){e.onMonthKeyDown(n,t)},tabIndex:e.getTabIndex(t),className:e.getMonthClassNames(t),role:"option","aria-label":e.getAriaLabel(t),"aria-current":e.isCurrentMonth(i,t)?"date":void 0,"aria-selected":e.isSelectedMonth(i,t,u)},n?Kt(t,a):zt(t,a))})))}))})),vt(Ot(e),"renderQuarters",(function(){var t=e.props,n=t.day,r=t.selected;return le.default.createElement("div",{className:"react-datepicker__quarter-wrapper"},[1,2,3,4].map((function(t,o){return le.default.createElement("div",{key:o,role:"option",onClick:function(n){e.onQuarterClick(n,t)},className:e.getQuarterClassNames(t),"aria-selected":e.isSelectedQuarter(n,t,r)},function(e,t){return Rt(Be.default(Mt(),e),"QQQ",t)}(t,e.props.locale))})))})),vt(Ot(e),"getClassNames",(function(){var t=e.props;t.day;var n=t.selectingDate,r=t.selectsStart,o=t.selectsEnd,a=t.showMonthYearPicker,i=t.showQuarterYearPicker;return fe.default("react-datepicker__month",{"react-datepicker__month--selecting-range":n&&(r||o)},{"react-datepicker__monthPicker":a},{"react-datepicker__quarterPicker":i})})),e}return yt(n,[{key:"render",value:function(){var e=this.props,t=e.showMonthYearPicker,n=e.showQuarterYearPicker,r=e.day,o=e.ariaLabelPrefix,a=void 0===o?"month ":o;return le.default.createElement("div",{className:this.getClassNames(),onMouseLeave:this.handleMouseLeave,"aria-label":"".concat(a," ").concat(Rt(r,"yyyy-MM")),role:"listbox"},t?this.renderMonths():n?this.renderQuarters():this.renderWeeks())}}]),n}(le.default.Component),Rn=function(e){gt(n,e);var t=kt(n);function n(){var e;ht(this,n);for(var r=arguments.length,o=new Array(r),a=0;a0&&void 0!==arguments[0]?arguments[0]:{}).className||"").split(/\s+/);return Nn.some((function(t){return e.indexOf(t)>=0}))})(e.target)&&r.props.onDropdownFocus()})),vt(Ot(r),"getDateInView",(function(){var e=r.props,t=e.preSelection,n=e.selected,o=e.openToDate,a=ln(r.props),i=fn(r.props),u=Mt();return o||n||t||(a&&ot.default(u,a)?a:i&&rt.default(u,i)?i:u)})),vt(Ot(r),"increaseMonth",(function(){r.setState((function(e){var t=e.date;return{date:ge.default(t,1)}}),(function(){return r.handleMonthChange(r.state.date)}))})),vt(Ot(r),"decreaseMonth",(function(){r.setState((function(e){var t=e.date;return{date:ke.default(t,1)}}),(function(){return r.handleMonthChange(r.state.date)}))})),vt(Ot(r),"handleDayClick",(function(e,t,n){r.props.onSelect(e,t,n),r.props.setPreSelection&&r.props.setPreSelection(e)})),vt(Ot(r),"handleDayMouseEnter",(function(e){r.setState({selectingDate:e}),r.props.onDayMouseEnter&&r.props.onDayMouseEnter(e)})),vt(Ot(r),"handleMonthMouseLeave",(function(){r.setState({selectingDate:null}),r.props.onMonthMouseLeave&&r.props.onMonthMouseLeave()})),vt(Ot(r),"handleYearChange",(function(e){r.props.onYearChange&&r.props.onYearChange(e),r.props.adjustDateOnChange&&(r.props.onSelect&&r.props.onSelect(e),r.props.setOpen&&r.props.setOpen(!0)),r.props.setPreSelection&&r.props.setPreSelection(e)})),vt(Ot(r),"handleMonthChange",(function(e){r.props.onMonthChange&&r.props.onMonthChange(e),r.props.adjustDateOnChange&&(r.props.onSelect&&r.props.onSelect(e),r.props.setOpen&&r.props.setOpen(!0)),r.props.setPreSelection&&r.props.setPreSelection(e)})),vt(Ot(r),"handleMonthYearChange",(function(e){r.handleYearChange(e),r.handleMonthChange(e)})),vt(Ot(r),"changeYear",(function(e){r.setState((function(t){var n=t.date;return{date:Ye.default(n,e)}}),(function(){return r.handleYearChange(r.state.date)}))})),vt(Ot(r),"changeMonth",(function(e){r.setState((function(t){var n=t.date;return{date:Fe.default(n,e)}}),(function(){return r.handleMonthChange(r.state.date)}))})),vt(Ot(r),"changeMonthYear",(function(e){r.setState((function(t){var n=t.date;return{date:Ye.default(Fe.default(n,Te.default(e)),Ae.default(e))}}),(function(){return r.handleMonthYearChange(r.state.date)}))})),vt(Ot(r),"header",(function(){var e=It(arguments.length>0&&void 0!==arguments[0]?arguments[0]:r.state.date,r.props.locale,r.props.calendarStartDay),t=[];return r.props.showWeekNumbers&&t.push(le.default.createElement("div",{key:"W",className:"react-datepicker__day-name"},r.props.weekLabel||"#")),t.concat([0,1,2,3,4,5,6].map((function(t){var n=ve.default(e,t),o=r.formatWeekday(n,r.props.locale),a=r.props.weekDayClassName?r.props.weekDayClassName(n):void 0;return le.default.createElement("div",{key:t,className:fe.default("react-datepicker__day-name",a)},o)})))})),vt(Ot(r),"formatWeekday",(function(e,t){return r.props.formatWeekDay?function(e,t,n){return t(Rt(e,"EEEE",n))}(e,r.props.formatWeekDay,t):r.props.useWeekdaysShort?function(e,t){return Rt(e,"EEE",t)}(e,t):function(e,t){return Rt(e,"EEEEEE",t)}(e,t)})),vt(Ot(r),"decreaseYear",(function(){r.setState((function(e){var t=e.date;return{date:De.default(t,r.props.showYearPicker?r.props.yearItemNumber:1)}}),(function(){return r.handleYearChange(r.state.date)}))})),vt(Ot(r),"renderPreviousButton",(function(){if(!r.props.renderCustomHeader){var e;switch(!0){case r.props.showMonthYearPicker:e=sn(r.state.date,r.props);break;case r.props.showYearPicker:e=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.minDate,r=t.yearItemNumber,o=void 0===r?12:r,a=mn(Lt(De.default(e,o)),o).endPeriod,i=n&&Ae.default(n);return i&&i>a||!1}(r.state.date,r.props);break;default:e=an(r.state.date,r.props)}if((r.props.forceShowMonthNavigation||r.props.showDisabledMonthNavigation||!e)&&!r.props.showTimeSelectOnly){var t=["react-datepicker__navigation","react-datepicker__navigation--previous"],n=r.decreaseMonth;(r.props.showMonthYearPicker||r.props.showQuarterYearPicker||r.props.showYearPicker)&&(n=r.decreaseYear),e&&r.props.showDisabledMonthNavigation&&(t.push("react-datepicker__navigation--previous--disabled"),n=null);var o=r.props.showMonthYearPicker||r.props.showQuarterYearPicker||r.props.showYearPicker,a=r.props,i=a.previousMonthButtonLabel,u=a.previousYearButtonLabel,s=r.props,c=s.previousMonthAriaLabel,l=void 0===c?"string"==typeof i?i:"Previous Month":c,f=s.previousYearAriaLabel,p=void 0===f?"string"==typeof u?u:"Previous Year":f;return le.default.createElement("button",{type:"button",className:t.join(" "),onClick:n,onKeyDown:r.props.handleOnKeyDown,"aria-label":o?p:l},le.default.createElement("span",{className:["react-datepicker__navigation-icon","react-datepicker__navigation-icon--previous"].join(" ")},o?r.props.previousYearButtonLabel:r.props.previousMonthButtonLabel))}}})),vt(Ot(r),"increaseYear",(function(){r.setState((function(e){var t=e.date;return{date:we.default(t,r.props.showYearPicker?r.props.yearItemNumber:1)}}),(function(){return r.handleYearChange(r.state.date)}))})),vt(Ot(r),"renderNextButton",(function(){if(!r.props.renderCustomHeader){var e;switch(!0){case r.props.showMonthYearPicker:e=cn(r.state.date,r.props);break;case r.props.showYearPicker:e=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.maxDate,r=t.yearItemNumber,o=void 0===r?12:r,a=mn(we.default(e,o),o).startPeriod,i=n&&Ae.default(n);return i&&i0&&void 0!==arguments[0]?arguments[0]:r.state.date,t=["react-datepicker__current-month"];return r.props.showYearDropdown&&t.push("react-datepicker__current-month--hasYearDropdown"),r.props.showMonthDropdown&&t.push("react-datepicker__current-month--hasMonthDropdown"),r.props.showMonthYearDropdown&&t.push("react-datepicker__current-month--hasMonthYearDropdown"),le.default.createElement("div",{className:t.join(" ")},Rt(e,r.props.dateFormat,r.props.locale))})),vt(Ot(r),"renderYearDropdown",(function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(r.props.showYearDropdown&&!e)return le.default.createElement(gn,{adjustDateOnChange:r.props.adjustDateOnChange,date:r.state.date,onSelect:r.props.onSelect,setOpen:r.props.setOpen,dropdownMode:r.props.dropdownMode,onChange:r.changeYear,minDate:r.props.minDate,maxDate:r.props.maxDate,year:Ae.default(r.state.date),scrollableYearDropdown:r.props.scrollableYearDropdown,yearDropdownItemNumber:r.props.yearDropdownItemNumber})})),vt(Ot(r),"renderMonthDropdown",(function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(r.props.showMonthDropdown&&!e)return le.default.createElement(kn,{dropdownMode:r.props.dropdownMode,locale:r.props.locale,onChange:r.changeMonth,month:Te.default(r.state.date),useShortMonthInDropdown:r.props.useShortMonthInDropdown})})),vt(Ot(r),"renderMonthYearDropdown",(function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(r.props.showMonthYearDropdown&&!e)return le.default.createElement(En,{dropdownMode:r.props.dropdownMode,locale:r.props.locale,dateFormat:r.props.dateFormat,onChange:r.changeMonthYear,minDate:r.props.minDate,maxDate:r.props.maxDate,date:r.state.date,scrollableMonthYearDropdown:r.props.scrollableMonthYearDropdown})})),vt(Ot(r),"renderTodayButton",(function(){if(r.props.todayButton&&!r.props.showTimeSelectOnly)return le.default.createElement("div",{className:"react-datepicker__today-button",onClick:function(e){return r.props.onSelect(Ke.default(Mt()),e)}},r.props.todayButton)})),vt(Ot(r),"renderDefaultHeader",(function(e){var t=e.monthDate,n=e.i;return le.default.createElement("div",{className:"react-datepicker__header ".concat(r.props.showTimeSelect?"react-datepicker__header--has-time-select":"")},r.renderCurrentMonth(t),le.default.createElement("div",{className:"react-datepicker__header__dropdown react-datepicker__header__dropdown--".concat(r.props.dropdownMode),onFocus:r.handleDropdownFocus},r.renderMonthDropdown(0!==n),r.renderMonthYearDropdown(0!==n),r.renderYearDropdown(0!==n)),le.default.createElement("div",{className:"react-datepicker__day-names"},r.header(t)))})),vt(Ot(r),"renderCustomHeader",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.monthDate,n=e.i;if(r.props.showTimeSelect&&!r.state.monthContainer||r.props.showTimeSelectOnly)return null;var o=an(r.state.date,r.props),a=un(r.state.date,r.props),i=sn(r.state.date,r.props),u=cn(r.state.date,r.props),s=!r.props.showMonthYearPicker&&!r.props.showQuarterYearPicker&&!r.props.showYearPicker;return le.default.createElement("div",{className:"react-datepicker__header react-datepicker__header--custom",onFocus:r.props.onDropdownFocus},r.props.renderCustomHeader(pt(pt({},r.state),{},{customHeaderCount:n,monthDate:t,changeMonth:r.changeMonth,changeYear:r.changeYear,decreaseMonth:r.decreaseMonth,increaseMonth:r.increaseMonth,decreaseYear:r.decreaseYear,increaseYear:r.increaseYear,prevMonthButtonDisabled:o,nextMonthButtonDisabled:a,prevYearButtonDisabled:i,nextYearButtonDisabled:u})),s&&le.default.createElement("div",{className:"react-datepicker__day-names"},r.header(t)))})),vt(Ot(r),"renderYearHeader",(function(){var e=r.state.date,t=r.props,n=t.showYearPicker,o=mn(e,t.yearItemNumber),a=o.startPeriod,i=o.endPeriod;return le.default.createElement("div",{className:"react-datepicker__header react-datepicker-year-header"},n?"".concat(a," - ").concat(i):Ae.default(e))})),vt(Ot(r),"renderHeader",(function(e){switch(!0){case void 0!==r.props.renderCustomHeader:return r.renderCustomHeader(e);case r.props.showMonthYearPicker||r.props.showQuarterYearPicker||r.props.showYearPicker:return r.renderYearHeader(e);default:return r.renderDefaultHeader(e)}})),vt(Ot(r),"renderMonths",(function(){if(!r.props.showTimeSelectOnly&&!r.props.showYearPicker){for(var e=[],t=r.props.showPreviousMonths?r.props.monthsShown-1:0,n=ke.default(r.state.date,t),o=0;o0;e.push(le.default.createElement("div",{key:u,ref:function(e){r.monthContainer=e},className:"react-datepicker__month-container"},r.renderHeader({monthDate:i,i:o}),le.default.createElement(Tn,{chooseDayAriaLabelPrefix:r.props.chooseDayAriaLabelPrefix,disabledDayAriaLabelPrefix:r.props.disabledDayAriaLabelPrefix,weekAriaLabelPrefix:r.props.weekAriaLabelPrefix,ariaLabelPrefix:r.props.monthAriaLabelPrefix,onChange:r.changeMonthYear,day:i,dayClassName:r.props.dayClassName,calendarStartDay:r.props.calendarStartDay,monthClassName:r.props.monthClassName,onDayClick:r.handleDayClick,handleOnKeyDown:r.props.handleOnDayKeyDown,onDayMouseEnter:r.handleDayMouseEnter,onMouseLeave:r.handleMonthMouseLeave,onWeekSelect:r.props.onWeekSelect,orderInDisplay:o,formatWeekNumber:r.props.formatWeekNumber,locale:r.props.locale,minDate:r.props.minDate,maxDate:r.props.maxDate,excludeDates:r.props.excludeDates,excludeDateIntervals:r.props.excludeDateIntervals,highlightDates:r.props.highlightDates,selectingDate:r.state.selectingDate,includeDates:r.props.includeDates,includeDateIntervals:r.props.includeDateIntervals,inline:r.props.inline,shouldFocusDayInline:r.props.shouldFocusDayInline,fixedHeight:r.props.fixedHeight,filterDate:r.props.filterDate,preSelection:r.props.preSelection,setPreSelection:r.props.setPreSelection,selected:r.props.selected,selectsStart:r.props.selectsStart,selectsEnd:r.props.selectsEnd,selectsRange:r.props.selectsRange,selectsDisabledDaysInRange:r.props.selectsDisabledDaysInRange,showWeekNumbers:r.props.showWeekNumbers,startDate:r.props.startDate,endDate:r.props.endDate,peekNextMonth:r.props.peekNextMonth,setOpen:r.props.setOpen,shouldCloseOnSelect:r.props.shouldCloseOnSelect,renderDayContents:r.props.renderDayContents,disabledKeyboardNavigation:r.props.disabledKeyboardNavigation,showMonthYearPicker:r.props.showMonthYearPicker,showFullMonthYearPicker:r.props.showFullMonthYearPicker,showTwoColumnMonthYearPicker:r.props.showTwoColumnMonthYearPicker,showFourColumnMonthYearPicker:r.props.showFourColumnMonthYearPicker,showYearPicker:r.props.showYearPicker,showQuarterYearPicker:r.props.showQuarterYearPicker,isInputFocused:r.props.isInputFocused,containerRef:r.containerRef,monthShowsDuplicateDaysEnd:s,monthShowsDuplicateDaysStart:c})))}return e}})),vt(Ot(r),"renderYears",(function(){if(!r.props.showTimeSelectOnly)return r.props.showYearPicker?le.default.createElement("div",{className:"react-datepicker__year--container"},r.renderHeader(),le.default.createElement(An,bt({onDayClick:r.handleDayClick,date:r.state.date},r.props))):void 0})),vt(Ot(r),"renderTimeSection",(function(){if(r.props.showTimeSelect&&(r.state.monthContainer||r.props.showTimeSelectOnly))return le.default.createElement(Rn,{selected:r.props.selected,openToDate:r.props.openToDate,onChange:r.props.onTimeChange,timeClassName:r.props.timeClassName,format:r.props.timeFormat,includeTimes:r.props.includeTimes,intervals:r.props.timeIntervals,minTime:r.props.minTime,maxTime:r.props.maxTime,excludeTimes:r.props.excludeTimes,filterTime:r.props.filterTime,timeCaption:r.props.timeCaption,todayButton:r.props.todayButton,showMonthDropdown:r.props.showMonthDropdown,showMonthYearDropdown:r.props.showMonthYearDropdown,showYearDropdown:r.props.showYearDropdown,withPortal:r.props.withPortal,monthRef:r.state.monthContainer,injectTimes:r.props.injectTimes,locale:r.props.locale,handleOnKeyDown:r.props.handleOnKeyDown,showTimeSelectOnly:r.props.showTimeSelectOnly})})),vt(Ot(r),"renderInputTimeSection",(function(){var e=new Date(r.props.selected),t=Tt(e)&&Boolean(r.props.selected)?"".concat(hn(e.getHours()),":").concat(hn(e.getMinutes())):"";if(r.props.showTimeInput)return le.default.createElement(jn,{date:e,timeString:t,timeInputLabel:r.props.timeInputLabel,onChange:r.props.onTimeChange,customTimeInput:r.props.customTimeInput})})),r.containerRef=le.default.createRef(),r.state={date:r.getDateInView(),selectingDate:null,monthContainer:null},r}return yt(n,[{key:"componentDidMount",value:function(){this.props.showTimeSelect&&(this.assignMonthContainer=void this.setState({monthContainer:this.monthContainer}))}},{key:"componentDidUpdate",value:function(e){this.props.preSelection&&!Ut(this.props.preSelection,e.preSelection)?this.setState({date:this.props.preSelection}):this.props.openToDate&&!Ut(this.props.openToDate,e.openToDate)&&this.setState({date:this.props.openToDate})}},{key:"render",value:function(){var e=this.props.container||In;return le.default.createElement("div",{ref:this.containerRef},le.default.createElement(e,{className:fe.default("react-datepicker",this.props.className,{"react-datepicker--time-only":this.props.showTimeSelectOnly}),showPopperArrow:this.props.showPopperArrow,arrowProps:this.props.arrowProps},this.renderPreviousButton(),this.renderNextButton(),this.renderMonths(),this.renderYears(),this.renderTodayButton(),this.renderTimeSection(),this.renderInputTimeSection(),this.props.children))}}],[{key:"defaultProps",get:function(){return{onDropdownFocus:function(){},monthsShown:1,monthSelectedIn:0,forceShowMonthNavigation:!1,timeCaption:"Time",previousYearButtonLabel:"Previous Year",nextYearButtonLabel:"Next Year",previousMonthButtonLabel:"Previous Month",nextMonthButtonLabel:"Next Month",customTimeInput:null,yearItemNumber:12}}}]),n}(le.default.Component),Fn=function(e){gt(n,e);var t=kt(n);function n(e){var r;return ht(this,n),(r=t.call(this,e)).el=document.createElement("div"),r}return yt(n,[{key:"componentDidMount",value:function(){this.portalRoot=(this.props.portalHost||document).getElementById(this.props.portalId),this.portalRoot||(this.portalRoot=document.createElement("div"),this.portalRoot.setAttribute("id",this.props.portalId),(this.props.portalHost||document.body).appendChild(this.portalRoot)),this.portalRoot.appendChild(this.el)}},{key:"componentWillUnmount",value:function(){this.portalRoot.removeChild(this.el)}},{key:"render",value:function(){return lt.default.createPortal(this.props.children,this.el)}}]),n}(le.default.Component),Bn=function(e){return!e.disabled&&-1!==e.tabIndex},Yn=function(e){gt(n,e);var t=kt(n);function n(e){var r;return ht(this,n),vt(Ot(r=t.call(this,e)),"getTabChildren",(function(){return Array.prototype.slice.call(r.tabLoopRef.current.querySelectorAll("[tabindex], a, button, input, select, textarea"),1,-1).filter(Bn)})),vt(Ot(r),"handleFocusStart",(function(e){var t=r.getTabChildren();t&&t.length>1&&t[t.length-1].focus()})),vt(Ot(r),"handleFocusEnd",(function(e){var t=r.getTabChildren();t&&t.length>1&&t[0].focus()})),r.tabLoopRef=le.default.createRef(),r}return yt(n,[{key:"render",value:function(){return this.props.enableTabLoop?le.default.createElement("div",{className:"react-datepicker__tab-loop",ref:this.tabLoopRef},le.default.createElement("div",{className:"react-datepicker__tab-loop__start",tabIndex:"0",onFocus:this.handleFocusStart}),this.props.children,le.default.createElement("div",{className:"react-datepicker__tab-loop__end",tabIndex:"0",onFocus:this.handleFocusEnd})):this.props.children}}],[{key:"defaultProps",get:function(){return{enableTabLoop:!0}}}]),n}(le.default.Component),Un=function(e){gt(n,e);var t=kt(n);function n(){return ht(this,n),t.apply(this,arguments)}return yt(n,[{key:"render",value:function(){var e,t=this.props,n=t.className,r=t.wrapperClassName,o=t.hidePopper,a=t.popperComponent,i=t.popperModifiers,u=t.popperPlacement,s=t.popperProps,c=t.targetComponent,l=t.enableTabLoop,f=t.popperOnKeyDown,p=t.portalId,d=t.portalHost;if(!o){var h=fe.default("react-datepicker-popper",n);e=le.default.createElement(se.Popper,bt({modifiers:i,placement:u},s),(function(e){var t=e.ref,n=e.style,r=e.placement,o=e.arrowProps;return le.default.createElement(Yn,{enableTabLoop:l},le.default.createElement("div",{ref:t,style:n,className:h,"data-placement":r,onKeyDown:f},le.default.cloneElement(a,{arrowProps:o})))}))}this.props.popperContainer&&(e=le.default.createElement(this.props.popperContainer,{},e)),p&&!o&&(e=le.default.createElement(Fn,{portalId:p,portalHost:d},e));var m=fe.default("react-datepicker-wrapper",r);return le.default.createElement(se.Manager,{className:"react-datepicker-manager"},le.default.createElement(se.Reference,null,(function(e){var t=e.ref;return le.default.createElement("div",{ref:t,className:m},c)})),e)}}],[{key:"defaultProps",get:function(){return{hidePopper:!0,popperModifiers:[],popperProps:{},popperPlacement:"bottom-start"}}}]),n}(le.default.Component),Vn="react-datepicker-ignore-onclickoutside",Hn=ct.default(Ln),Wn="Date input not valid.",qn=function(e){gt(n,e);var t=kt(n);function n(e){var r;return ht(this,n),vt(Ot(r=t.call(this,e)),"getPreSelection",(function(){return r.props.openToDate?r.props.openToDate:r.props.selectsEnd&&r.props.startDate?r.props.startDate:r.props.selectsStart&&r.props.endDate?r.props.endDate:Mt()})),vt(Ot(r),"calcInitialState",(function(){var e,t=r.getPreSelection(),n=ln(r.props),o=fn(r.props),a=n&&ot.default(t,Ke.default(n))?n:o&&rt.default(t,Xe.default(o))?o:t;return{open:r.props.startOpen||!1,preventFocus:!1,preSelection:null!==(e=r.props.selectsRange?r.props.startDate:r.props.selected)&&void 0!==e?e:a,highlightDates:pn(r.props.highlightDates),focused:!1,shouldFocusDayInline:!1}})),vt(Ot(r),"clearPreventFocusTimeout",(function(){r.preventFocusTimeout&&clearTimeout(r.preventFocusTimeout)})),vt(Ot(r),"setFocus",(function(){r.input&&r.input.focus&&r.input.focus({preventScroll:!0})})),vt(Ot(r),"setBlur",(function(){r.input&&r.input.blur&&r.input.blur(),r.cancelFocusInput()})),vt(Ot(r),"setOpen",(function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];r.setState({open:e,preSelection:e&&r.state.open?r.state.preSelection:r.calcInitialState().preSelection,lastPreSelectChange:zn},(function(){e||r.setState((function(e){return{focused:!!t&&e.focused}}),(function(){!t&&r.setBlur(),r.setState({inputValue:null})}))}))})),vt(Ot(r),"inputOk",(function(){return pe.default(r.state.preSelection)})),vt(Ot(r),"isCalendarOpen",(function(){return void 0===r.props.open?r.state.open&&!r.props.disabled&&!r.props.readOnly:r.props.open})),vt(Ot(r),"handleFocus",(function(e){r.state.preventFocus||(r.props.onFocus(e),r.props.preventOpenOnFocus||r.props.readOnly||r.setOpen(!0)),r.setState({focused:!0})})),vt(Ot(r),"cancelFocusInput",(function(){clearTimeout(r.inputFocusTimeout),r.inputFocusTimeout=null})),vt(Ot(r),"deferFocusInput",(function(){r.cancelFocusInput(),r.inputFocusTimeout=setTimeout((function(){return r.setFocus()}),1)})),vt(Ot(r),"handleDropdownFocus",(function(){r.cancelFocusInput()})),vt(Ot(r),"handleBlur",(function(e){(!r.state.open||r.props.withPortal||r.props.showTimeInput)&&r.props.onBlur(e),r.setState({focused:!1})})),vt(Ot(r),"handleCalendarClickOutside",(function(e){r.props.inline||r.setOpen(!1),r.props.onClickOutside(e),r.props.withPortal&&e.preventDefault()})),vt(Ot(r),"handleChange",(function(){for(var e=arguments.length,t=new Array(e),n=0;n0&&(a=ut.default(e,t.slice(0,e.length),new Date)),Tt(a)||(a=new Date(e))),Tt(a)&&u?a:null)}(o.target.value,r.props.dateFormat,r.props.locale,r.props.strictParsing,r.props.minDate);!a&&o.target.value||r.setSelected(a,o,!0)}})),vt(Ot(r),"handleSelect",(function(e,t,n){if(r.setState({preventFocus:!0},(function(){return r.preventFocusTimeout=setTimeout((function(){return r.setState({preventFocus:!1})}),50),r.preventFocusTimeout})),r.props.onChangeRaw&&r.props.onChangeRaw(t),r.setSelected(e,t,!1,n),!r.props.shouldCloseOnSelect||r.props.showTimeSelect)r.setPreSelection(e);else if(!r.props.inline){r.props.selectsRange||r.setOpen(!1);var o=r.props,a=o.startDate,i=o.endDate;!a||i||ot.default(e,a)||r.setOpen(!1)}})),vt(Ot(r),"setSelected",(function(e,t,n,o){var a=e;if(null===a||!$t(a,r.props)){var i=r.props,u=i.onChange,s=i.selectsRange,c=i.startDate,l=i.endDate;if(!Vt(r.props.selected,a)||r.props.allowSameDay||s)if(null!==a&&(!r.props.selected||n&&(r.props.showTimeSelect||r.props.showTimeSelectOnly||r.props.showTimeInput)||(a=jt(a,{hour:Ee.default(r.props.selected),minute:Ce.default(r.props.selected),second:Se.default(r.props.selected)})),r.props.inline||r.setState({preSelection:a}),r.props.focusSelectedMonth||r.setState({monthSelectedIn:o})),s){var f=c&&l;c||l?c&&!l&&(ot.default(a,c)?u([a,null],t):u([c,a],t)):u([a,null],t),f&&u([a,null],t)}else u(a,t);n||(r.props.onSelect(a,t),r.setState({inputValue:null}))}})),vt(Ot(r),"setPreSelection",(function(e){var t=void 0!==r.props.minDate,n=void 0!==r.props.maxDate,o=!0;if(e){var a=Ke.default(e);if(t&&n)o=Ht(e,r.props.minDate,r.props.maxDate);else if(t){var i=Ke.default(r.props.minDate);o=rt.default(e,i)||Vt(a,i)}else if(n){var u=Xe.default(r.props.maxDate);o=ot.default(e,u)||Vt(a,u)}}o&&r.setState({preSelection:e})})),vt(Ot(r),"handleTimeChange",(function(e){var t=jt(r.props.selected?r.props.selected:r.getPreSelection(),{hour:Ee.default(e),minute:Ce.default(e)});r.setState({preSelection:t}),r.props.onChange(t),r.props.shouldCloseOnSelect&&r.setOpen(!1),r.props.showTimeInput&&r.setOpen(!0),r.setState({inputValue:null})})),vt(Ot(r),"onInputClick",(function(){r.props.disabled||r.props.readOnly||r.setOpen(!0),r.props.onInputClick()})),vt(Ot(r),"onInputKeyDown",(function(e){r.props.onKeyDown(e);var t=e.key;if(r.state.open||r.props.inline||r.props.preventOpenOnFocus){if(r.state.open){if("ArrowDown"===t||"ArrowUp"===t){e.preventDefault();var n=r.calendar.componentNode&&r.calendar.componentNode.querySelector('.react-datepicker__day[tabindex="0"]');return void(n&&n.focus({preventScroll:!0}))}var o=Mt(r.state.preSelection);"Enter"===t?(e.preventDefault(),r.inputOk()&&r.state.lastPreSelectChange===zn?(r.handleSelect(o,e),!r.props.shouldCloseOnSelect&&r.setPreSelection(o)):r.setOpen(!1)):"Escape"===t&&(e.preventDefault(),r.setOpen(!1)),r.inputOk()||r.props.onInputError({code:1,msg:Wn})}}else"ArrowDown"!==t&&"ArrowUp"!==t&&"Enter"!==t||r.onInputClick()})),vt(Ot(r),"onDayKeyDown",(function(e){r.props.onKeyDown(e);var t=e.key,n=Mt(r.state.preSelection);if("Enter"===t)e.preventDefault(),r.handleSelect(n,e),!r.props.shouldCloseOnSelect&&r.setPreSelection(n);else if("Escape"===t)e.preventDefault(),r.setOpen(!1),r.inputOk()||r.props.onInputError({code:1,msg:Wn});else if(!r.props.disabledKeyboardNavigation){var o;switch(t){case"ArrowLeft":o=_e.default(n,1);break;case"ArrowRight":o=ve.default(n,1);break;case"ArrowUp":o=Oe.default(n,1);break;case"ArrowDown":o=be.default(n,1);break;case"PageUp":o=ke.default(n,1);break;case"PageDown":o=ge.default(n,1);break;case"Home":o=De.default(n,1);break;case"End":o=we.default(n,1)}if(!o)return void(r.props.onInputError&&r.props.onInputError({code:1,msg:Wn}));if(e.preventDefault(),r.setState({lastPreSelectChange:zn}),r.props.adjustDateOnChange&&r.setSelected(o),r.setPreSelection(o),r.props.inline){var a=Te.default(n),i=Te.default(o),u=Ae.default(n),s=Ae.default(o);a!==i||u!==s?r.setState({shouldFocusDayInline:!0}):r.setState({shouldFocusDayInline:!1})}}})),vt(Ot(r),"onPopperKeyDown",(function(e){"Escape"===e.key&&(e.preventDefault(),r.setState({preventFocus:!0},(function(){r.setOpen(!1),setTimeout((function(){r.setFocus(),r.setState({preventFocus:!1})}))})))})),vt(Ot(r),"onClearClick",(function(e){e&&e.preventDefault&&e.preventDefault(),r.props.selectsRange?r.props.onChange([null,null],e):r.props.onChange(null,e),r.setState({inputValue:null})})),vt(Ot(r),"clear",(function(){r.onClearClick()})),vt(Ot(r),"onScroll",(function(e){"boolean"==typeof r.props.closeOnScroll&&r.props.closeOnScroll?e.target!==document&&e.target!==document.documentElement&&e.target!==document.body||r.setOpen(!1):"function"==typeof r.props.closeOnScroll&&r.props.closeOnScroll(e)&&r.setOpen(!1)})),vt(Ot(r),"renderCalendar",(function(){return r.props.inline||r.isCalendarOpen()?le.default.createElement(Hn,{ref:function(e){r.calendar=e},locale:r.props.locale,calendarStartDay:r.props.calendarStartDay,chooseDayAriaLabelPrefix:r.props.chooseDayAriaLabelPrefix,disabledDayAriaLabelPrefix:r.props.disabledDayAriaLabelPrefix,weekAriaLabelPrefix:r.props.weekAriaLabelPrefix,monthAriaLabelPrefix:r.props.monthAriaLabelPrefix,adjustDateOnChange:r.props.adjustDateOnChange,setOpen:r.setOpen,shouldCloseOnSelect:r.props.shouldCloseOnSelect,dateFormat:r.props.dateFormatCalendar,useWeekdaysShort:r.props.useWeekdaysShort,formatWeekDay:r.props.formatWeekDay,dropdownMode:r.props.dropdownMode,selected:r.props.selected,preSelection:r.state.preSelection,onSelect:r.handleSelect,onWeekSelect:r.props.onWeekSelect,openToDate:r.props.openToDate,minDate:r.props.minDate,maxDate:r.props.maxDate,selectsStart:r.props.selectsStart,selectsEnd:r.props.selectsEnd,selectsRange:r.props.selectsRange,startDate:r.props.startDate,endDate:r.props.endDate,excludeDates:r.props.excludeDates,excludeDateIntervals:r.props.excludeDateIntervals,filterDate:r.props.filterDate,onClickOutside:r.handleCalendarClickOutside,formatWeekNumber:r.props.formatWeekNumber,highlightDates:r.state.highlightDates,includeDates:r.props.includeDates,includeDateIntervals:r.props.includeDateIntervals,includeTimes:r.props.includeTimes,injectTimes:r.props.injectTimes,inline:r.props.inline,shouldFocusDayInline:r.state.shouldFocusDayInline,peekNextMonth:r.props.peekNextMonth,showMonthDropdown:r.props.showMonthDropdown,showPreviousMonths:r.props.showPreviousMonths,useShortMonthInDropdown:r.props.useShortMonthInDropdown,showMonthYearDropdown:r.props.showMonthYearDropdown,showWeekNumbers:r.props.showWeekNumbers,showYearDropdown:r.props.showYearDropdown,withPortal:r.props.withPortal,forceShowMonthNavigation:r.props.forceShowMonthNavigation,showDisabledMonthNavigation:r.props.showDisabledMonthNavigation,scrollableYearDropdown:r.props.scrollableYearDropdown,scrollableMonthYearDropdown:r.props.scrollableMonthYearDropdown,todayButton:r.props.todayButton,weekLabel:r.props.weekLabel,outsideClickIgnoreClass:Vn,fixedHeight:r.props.fixedHeight,monthsShown:r.props.monthsShown,monthSelectedIn:r.state.monthSelectedIn,onDropdownFocus:r.handleDropdownFocus,onMonthChange:r.props.onMonthChange,onYearChange:r.props.onYearChange,dayClassName:r.props.dayClassName,weekDayClassName:r.props.weekDayClassName,monthClassName:r.props.monthClassName,timeClassName:r.props.timeClassName,showTimeSelect:r.props.showTimeSelect,showTimeSelectOnly:r.props.showTimeSelectOnly,onTimeChange:r.handleTimeChange,timeFormat:r.props.timeFormat,timeIntervals:r.props.timeIntervals,minTime:r.props.minTime,maxTime:r.props.maxTime,excludeTimes:r.props.excludeTimes,filterTime:r.props.filterTime,timeCaption:r.props.timeCaption,className:r.props.calendarClassName,container:r.props.calendarContainer,yearItemNumber:r.props.yearItemNumber,yearDropdownItemNumber:r.props.yearDropdownItemNumber,previousMonthAriaLabel:r.props.previousMonthAriaLabel,previousMonthButtonLabel:r.props.previousMonthButtonLabel,nextMonthAriaLabel:r.props.nextMonthAriaLabel,nextMonthButtonLabel:r.props.nextMonthButtonLabel,previousYearAriaLabel:r.props.previousYearAriaLabel,previousYearButtonLabel:r.props.previousYearButtonLabel,nextYearAriaLabel:r.props.nextYearAriaLabel,nextYearButtonLabel:r.props.nextYearButtonLabel,timeInputLabel:r.props.timeInputLabel,disabledKeyboardNavigation:r.props.disabledKeyboardNavigation,renderCustomHeader:r.props.renderCustomHeader,popperProps:r.props.popperProps,renderDayContents:r.props.renderDayContents,onDayMouseEnter:r.props.onDayMouseEnter,onMonthMouseLeave:r.props.onMonthMouseLeave,selectsDisabledDaysInRange:r.props.selectsDisabledDaysInRange,showTimeInput:r.props.showTimeInput,showMonthYearPicker:r.props.showMonthYearPicker,showFullMonthYearPicker:r.props.showFullMonthYearPicker,showTwoColumnMonthYearPicker:r.props.showTwoColumnMonthYearPicker,showFourColumnMonthYearPicker:r.props.showFourColumnMonthYearPicker,showYearPicker:r.props.showYearPicker,showQuarterYearPicker:r.props.showQuarterYearPicker,showPopperArrow:r.props.showPopperArrow,excludeScrollbar:r.props.excludeScrollbar,handleOnKeyDown:r.props.onKeyDown,handleOnDayKeyDown:r.onDayKeyDown,isInputFocused:r.state.focused,customTimeInput:r.props.customTimeInput,setPreSelection:r.setPreSelection},r.props.children):null})),vt(Ot(r),"renderDateInput",(function(){var e,t=fe.default(r.props.className,vt({},Vn,r.state.open)),n=r.props.customInput||le.default.createElement("input",{type:"text"}),o=r.props.customInputRef||"ref",a="string"==typeof r.props.value?r.props.value:"string"==typeof r.state.inputValue?r.state.inputValue:r.props.selectsRange?function(e,t,n){if(!e)return"";var r=At(e,n),o=t?At(t,n):"";return"".concat(r," - ").concat(o)}(r.props.startDate,r.props.endDate,r.props):At(r.props.selected,r.props);return le.default.cloneElement(n,(vt(e={},o,(function(e){r.input=e})),vt(e,"value",a),vt(e,"onBlur",r.handleBlur),vt(e,"onChange",r.handleChange),vt(e,"onClick",r.onInputClick),vt(e,"onFocus",r.handleFocus),vt(e,"onKeyDown",r.onInputKeyDown),vt(e,"id",r.props.id),vt(e,"name",r.props.name),vt(e,"autoFocus",r.props.autoFocus),vt(e,"placeholder",r.props.placeholderText),vt(e,"disabled",r.props.disabled),vt(e,"autoComplete",r.props.autoComplete),vt(e,"className",fe.default(n.props.className,t)),vt(e,"title",r.props.title),vt(e,"readOnly",r.props.readOnly),vt(e,"required",r.props.required),vt(e,"tabIndex",r.props.tabIndex),vt(e,"aria-describedby",r.props.ariaDescribedBy),vt(e,"aria-invalid",r.props.ariaInvalid),vt(e,"aria-labelledby",r.props.ariaLabelledBy),vt(e,"aria-required",r.props.ariaRequired),e))})),vt(Ot(r),"renderClearButton",(function(){var e=r.props,t=e.isClearable,n=e.selected,o=e.startDate,a=e.endDate,i=e.clearButtonTitle,u=e.clearButtonClassName,s=void 0===u?"":u,c=e.ariaLabelClose,l=void 0===c?"Close":c;return!t||null==n&&null==o&&null==a?null:le.default.createElement("button",{type:"button",className:"react-datepicker__close-icon ".concat(s).trim(),"aria-label":l,onClick:r.onClearClick,title:i,tabIndex:-1})})),r.state=r.calcInitialState(),r}return yt(n,[{key:"componentDidMount",value:function(){window.addEventListener("scroll",this.onScroll,!0)}},{key:"componentDidUpdate",value:function(e,t){var n,r;e.inline&&(n=e.selected,r=this.props.selected,n&&r?Te.default(n)!==Te.default(r)||Ae.default(n)!==Ae.default(r):n!==r)&&this.setPreSelection(this.props.selected),void 0!==this.state.monthSelectedIn&&e.monthsShown!==this.props.monthsShown&&this.setState({monthSelectedIn:0}),e.highlightDates!==this.props.highlightDates&&this.setState({highlightDates:pn(this.props.highlightDates)}),t.focused||Vt(e.selected,this.props.selected)||this.setState({inputValue:null}),t.open!==this.state.open&&(!1===t.open&&!0===this.state.open&&this.props.onCalendarOpen(),!0===t.open&&!1===this.state.open&&this.props.onCalendarClose())}},{key:"componentWillUnmount",value:function(){this.clearPreventFocusTimeout(),window.removeEventListener("scroll",this.onScroll,!0)}},{key:"renderInputContainer",value:function(){return le.default.createElement("div",{className:"react-datepicker__input-container"},this.renderDateInput(),this.renderClearButton())}},{key:"render",value:function(){var e=this.renderCalendar();if(this.props.inline)return e;if(this.props.withPortal){var t=this.state.open?le.default.createElement("div",{className:"react-datepicker__portal"},e):null;return this.state.open&&this.props.portalId&&(t=le.default.createElement(Fn,{portalId:this.props.portalId,portalHost:this.props.portalHost},t)),le.default.createElement("div",null,this.renderInputContainer(),t)}return le.default.createElement(Un,{className:this.props.popperClassName,wrapperClassName:this.props.wrapperClassName,hidePopper:!this.isCalendarOpen(),portalId:this.props.portalId,portalHost:this.props.portalHost,popperModifiers:this.props.popperModifiers,targetComponent:this.renderInputContainer(),popperContainer:this.props.popperContainer,popperComponent:e,popperPlacement:this.props.popperPlacement,popperProps:this.props.popperProps,popperOnKeyDown:this.onPopperKeyDown,enableTabLoop:this.props.enableTabLoop})}}],[{key:"defaultProps",get:function(){return{allowSameDay:!1,dateFormat:"MM/dd/yyyy",dateFormatCalendar:"LLLL yyyy",onChange:function(){},disabled:!1,disabledKeyboardNavigation:!1,dropdownMode:"scroll",onFocus:function(){},onBlur:function(){},onKeyDown:function(){},onInputClick:function(){},onSelect:function(){},onClickOutside:function(){},onMonthChange:function(){},onCalendarOpen:function(){},onCalendarClose:function(){},preventOpenOnFocus:!1,onYearChange:function(){},onInputError:function(){},monthsShown:1,readOnly:!1,withPortal:!1,selectsDisabledDaysInRange:!1,shouldCloseOnSelect:!0,showTimeSelect:!1,showTimeInput:!1,showPreviousMonths:!1,showMonthYearPicker:!1,showFullMonthYearPicker:!1,showTwoColumnMonthYearPicker:!1,showFourColumnMonthYearPicker:!1,showYearPicker:!1,showQuarterYearPicker:!1,strictParsing:!1,timeIntervals:30,timeCaption:"Time",previousMonthAriaLabel:"Previous Month",previousMonthButtonLabel:"Previous Month",nextMonthAriaLabel:"Next Month",nextMonthButtonLabel:"Next Month",previousYearAriaLabel:"Previous Year",previousYearButtonLabel:"Previous Year",nextYearAriaLabel:"Next Year",nextYearButtonLabel:"Next Year",timeInputLabel:"Time",enableTabLoop:!0,yearItemNumber:12,renderDayContents:function(e){return e},focusSelectedMonth:!1,showPopperArrow:!0,excludeScrollbar:!0,customTimeInput:null,calendarStartDay:void 0}}}]),n}(le.default.Component),Kn="input",zn="navigate";e.CalendarContainer=In,e.default=qn,e.getDefaultLocale=Wt,e.registerLocale=function(e,t){var n="undefined"!=typeof window?window:globalThis;n.__localeData__||(n.__localeData__={}),n.__localeData__[e]=t},e.setDefaultLocale=function(e){("undefined"!=typeof window?window:globalThis).__localeId__=e},Object.defineProperty(e,"__esModule",{value:!0})}(t,n(1609),n(5556),n(2485),n(5290),n(6828),n(2346),n(2890),n(1524),n(2998),n(2238),n(2118),n(9317),n(8805),n(2831),n(979),n(3337),n(4327),n(9326),n(9251),n(2563),n(8089),n(7512),n(274),n(8850),n(2044),n(4158),n(2379),n(8519),n(1591),n(7375),n(7901),n(1104),n(6090),n(8895),n(838),n(7440),n(63),n(667),n(733),n(2002),n(1127),n(7827),n(543),n(6757),n(7054),n(6212),n(6462),n(9312),n(5010),n(1810),n(2702),n(4125),n(992),n(9672),n(7813),n(3652),n(123),n(892),n(1806),n(3908),n(5795),n(2430))},115:function(e){var t="undefined"!=typeof Element,n="function"==typeof Map,r="function"==typeof Set,o="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function a(e,i){if(e===i)return!0;if(e&&i&&"object"==typeof e&&"object"==typeof i){if(e.constructor!==i.constructor)return!1;var u,s,c,l;if(Array.isArray(e)){if((u=e.length)!=i.length)return!1;for(s=u;0!=s--;)if(!a(e[s],i[s]))return!1;return!0}if(n&&e instanceof Map&&i instanceof Map){if(e.size!==i.size)return!1;for(l=e.entries();!(s=l.next()).done;)if(!i.has(s.value[0]))return!1;for(l=e.entries();!(s=l.next()).done;)if(!a(s.value[1],i.get(s.value[0])))return!1;return!0}if(r&&e instanceof Set&&i instanceof Set){if(e.size!==i.size)return!1;for(l=e.entries();!(s=l.next()).done;)if(!i.has(s.value[0]))return!1;return!0}if(o&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(i)){if((u=e.length)!=i.length)return!1;for(s=u;0!=s--;)if(e[s]!==i[s])return!1;return!0}if(e.constructor===RegExp)return e.source===i.source&&e.flags===i.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===i.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===i.toString();if((u=(c=Object.keys(e)).length)!==Object.keys(i).length)return!1;for(s=u;0!=s--;)if(!Object.prototype.hasOwnProperty.call(i,c[s]))return!1;if(t&&e instanceof Element)return!1;for(s=u;0!=s--;)if(("_owner"!==c[s]&&"__v"!==c[s]&&"__o"!==c[s]||!e.$$typeof)&&!a(e[c[s]],i[c[s]]))return!1;return!0}return e!=e&&i!=i}e.exports=function(e,t){try{return a(e,t)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}},3908:function(e,t,n){"use strict";n.r(t),n.d(t,{IGNORE_CLASS_NAME:function(){return h}});var r=n(1609),o=n(5795);function a(e,t){return a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},a(e,t)}function i(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function u(e,t,n){return e===t||(e.correspondingElement?e.correspondingElement.classList.contains(n):e.classList.contains(n))}var s,c,l=(void 0===s&&(s=0),function(){return++s}),f={},p={},d=["touchstart","touchmove"],h="ignore-react-onclickoutside";function m(e,t){var n=null;return-1!==d.indexOf(t)&&c&&(n={passive:!e.props.preventDefault}),n}t.default=function(e,t){var n,s,d=e.displayName||e.name||"Component";return s=n=function(n){var s,h;function y(e){var r;return(r=n.call(this,e)||this).__outsideClickHandler=function(e){if("function"!=typeof r.__clickOutsideHandlerProp){var t=r.getInstance();if("function"!=typeof t.props.handleClickOutside){if("function"!=typeof t.handleClickOutside)throw new Error("WrappedComponent: "+d+" lacks a handleClickOutside(event) function for processing outside click events.");t.handleClickOutside(e)}else t.props.handleClickOutside(e)}else r.__clickOutsideHandlerProp(e)},r.__getComponentNode=function(){var e=r.getInstance();return t&&"function"==typeof t.setClickOutsideRef?t.setClickOutsideRef()(e):"function"==typeof e.setClickOutsideRef?e.setClickOutsideRef():(0,o.findDOMNode)(e)},r.enableOnClickOutside=function(){if("undefined"!=typeof document&&!p[r._uid]){void 0===c&&(c=function(){if("undefined"!=typeof window&&"function"==typeof window.addEventListener){var e=!1,t=Object.defineProperty({},"passive",{get:function(){e=!0}}),n=function(){};return window.addEventListener("testPassiveEventSupport",n,t),window.removeEventListener("testPassiveEventSupport",n,t),e}}()),p[r._uid]=!0;var e=r.props.eventTypes;e.forEach||(e=[e]),f[r._uid]=function(e){var t;null!==r.componentNode&&(r.props.preventDefault&&e.preventDefault(),r.props.stopPropagation&&e.stopPropagation(),r.props.excludeScrollbar&&(t=e,document.documentElement.clientWidth<=t.clientX||document.documentElement.clientHeight<=t.clientY)||function(e,t,n){if(e===t)return!0;for(;e.parentNode||e.host;){if(e.parentNode&&u(e,t,n))return!0;e=e.parentNode||e.host}return e}(e.composed&&e.composedPath&&e.composedPath().shift()||e.target,r.componentNode,r.props.outsideClickIgnoreClass)===document&&r.__outsideClickHandler(e))},e.forEach((function(e){document.addEventListener(e,f[r._uid],m(i(r),e))}))}},r.disableOnClickOutside=function(){delete p[r._uid];var e=f[r._uid];if(e&&"undefined"!=typeof document){var t=r.props.eventTypes;t.forEach||(t=[t]),t.forEach((function(t){return document.removeEventListener(t,e,m(i(r),t))})),delete f[r._uid]}},r.getRef=function(e){return r.instanceRef=e},r._uid=l(),r}h=n,(s=y).prototype=Object.create(h.prototype),s.prototype.constructor=s,a(s,h);var v=y.prototype;return v.getInstance=function(){if(e.prototype&&!e.prototype.isReactComponent)return this;var t=this.instanceRef;return t.getInstance?t.getInstance():t},v.componentDidMount=function(){if("undefined"!=typeof document&&document.createElement){var e=this.getInstance();if(t&&"function"==typeof t.handleClickOutside&&(this.__clickOutsideHandlerProp=t.handleClickOutside(e),"function"!=typeof this.__clickOutsideHandlerProp))throw new Error("WrappedComponent: "+d+" lacks a function for processing outside click events specified by the handleClickOutside config option.");this.componentNode=this.__getComponentNode(),this.props.disableOnClickOutside||this.enableOnClickOutside()}},v.componentDidUpdate=function(){this.componentNode=this.__getComponentNode()},v.componentWillUnmount=function(){this.disableOnClickOutside()},v.render=function(){var t=this.props;t.excludeScrollbar;var n=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}(t,["excludeScrollbar"]);return e.prototype&&e.prototype.isReactComponent?n.ref=this.getRef:n.wrappedRef=this.getRef,n.disableOnClickOutside=this.disableOnClickOutside,n.enableOnClickOutside=this.enableOnClickOutside,(0,r.createElement)(e,n)},y}(r.Component),n.displayName="OnClickOutside("+d+")",n.defaultProps={eventTypes:["mousedown","touchstart"],excludeScrollbar:t&&t.excludeScrollbar||!1,outsideClickIgnoreClass:h,preventDefault:!1,stopPropagation:!1},n.getClass=function(){return e.getClass?e.getClass():e},s}},2430:function(e,t,n){"use strict";n.r(t),n.d(t,{Manager:function(){return i},Popper:function(){return Pe},Reference:function(){return Te},usePopper:function(){return De}});var r=n(1609),o=r.createContext(),a=r.createContext();function i(e){var t=e.children,n=r.useState(null),i=n[0],u=n[1],s=r.useRef(!1);r.useEffect((function(){return function(){s.current=!0}}),[]);var c=r.useCallback((function(e){s.current||u(e)}),[]);return r.createElement(o.Provider,{value:i},r.createElement(a.Provider,{value:c},t))}var u=function(e){return Array.isArray(e)?e[0]:e},s=function(e){if("function"==typeof e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r0&&g(r.width)/e.offsetWidth||1,a=e.offsetHeight>0&&g(r.height)/e.offsetHeight||1);var i=(h(e)?d(e):window).visualViewport,u=!_()&&n,s=(r.left+(u&&i?i.offsetLeft:0))/o,c=(r.top+(u&&i?i.offsetTop:0))/a,l=r.width/o,f=r.height/a;return{width:l,height:f,top:c,right:s+l,bottom:c+f,left:s,x:s,y:c}}function k(e){var t=d(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function D(e){return e?(e.nodeName||"").toLowerCase():null}function S(e){return((h(e)?e.ownerDocument:e.document)||window.document).documentElement}function C(e){return O(S(e)).left+k(e).scrollLeft}function E(e){return d(e).getComputedStyle(e)}function P(e){var t=E(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function x(e,t,n){void 0===n&&(n=!1);var r,o,a=m(t),i=m(t)&&function(e){var t=e.getBoundingClientRect(),n=g(t.width)/e.offsetWidth||1,r=g(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),u=S(t),s=O(e,i,n),c={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(a||!a&&!n)&&(("body"!==D(t)||P(u))&&(c=(r=t)!==d(r)&&m(r)?{scrollLeft:(o=r).scrollLeft,scrollTop:o.scrollTop}:k(r)),m(t)?((l=O(t,!0)).x+=t.clientLeft,l.y+=t.clientTop):u&&(l.x=C(u))),{x:s.left+c.scrollLeft-l.x,y:s.top+c.scrollTop-l.y,width:s.width,height:s.height}}function M(e){var t=O(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function T(e){return"html"===D(e)?e:e.assignedSlot||e.parentNode||(y(e)?e.host:null)||S(e)}function R(e){return["html","body","#document"].indexOf(D(e))>=0?e.ownerDocument.body:m(e)&&P(e)?e:R(T(e))}function A(e,t){var n;void 0===t&&(t=[]);var r=R(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),a=d(r),i=o?[a].concat(a.visualViewport||[],P(r)?r:[]):r,u=t.concat(i);return o?u:u.concat(A(T(i)))}function j(e){return["table","td","th"].indexOf(D(e))>=0}function I(e){return m(e)&&"fixed"!==E(e).position?e.offsetParent:null}function N(e){for(var t=d(e),n=I(e);n&&j(n)&&"static"===E(n).position;)n=I(n);return n&&("html"===D(n)||"body"===D(n)&&"static"===E(n).position)?t:n||function(e){var t=/firefox/i.test(w());if(/Trident/i.test(w())&&m(e)&&"fixed"===E(e).position)return null;var n=T(e);for(y(n)&&(n=n.host);m(n)&&["html","body"].indexOf(D(n))<0;){var r=E(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}var L="top",F="bottom",B="right",Y="left",U="auto",V=[L,F,B,Y],H="start",W="end",q="viewport",K="popper",z=V.reduce((function(e,t){return e.concat([t+"-"+H,t+"-"+W])}),[]),$=[].concat(V,[U]).reduce((function(e,t){return e.concat([t,t+"-"+H,t+"-"+W])}),[]),Q=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function G(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),r}var X={placement:"bottom",modifiers:[],strategy:"absolute"};function Z(){for(var e=arguments.length,t=new Array(e),n=0;n=0?"x":"y"}function oe(e){var t,n=e.reference,r=e.element,o=e.placement,a=o?te(o):null,i=o?ne(o):null,u=n.x+n.width/2-r.width/2,s=n.y+n.height/2-r.height/2;switch(a){case L:t={x:u,y:n.y-r.height};break;case F:t={x:u,y:n.y+n.height};break;case B:t={x:n.x+n.width,y:s};break;case Y:t={x:n.x-r.width,y:s};break;default:t={x:n.x,y:n.y}}var c=a?re(a):null;if(null!=c){var l="y"===c?"height":"width";switch(i){case H:t[c]=t[c]-(n[l]/2-r[l]/2);break;case W:t[c]=t[c]+(n[l]/2-r[l]/2)}}return t}var ae={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ie(e){var t,n=e.popper,r=e.popperRect,o=e.placement,a=e.variation,i=e.offsets,u=e.position,s=e.gpuAcceleration,c=e.adaptive,l=e.roundOffsets,f=e.isFixed,p=i.x,h=void 0===p?0:p,m=i.y,y=void 0===m?0:m,v="function"==typeof l?l({x:h,y:y}):{x:h,y:y};h=v.x,y=v.y;var b=i.hasOwnProperty("x"),w=i.hasOwnProperty("y"),_=Y,O=L,k=window;if(c){var D=N(n),C="clientHeight",P="clientWidth";D===d(n)&&"static"!==E(D=S(n)).position&&"absolute"===u&&(C="scrollHeight",P="scrollWidth"),(o===L||(o===Y||o===B)&&a===W)&&(O=F,y-=(f&&D===k&&k.visualViewport?k.visualViewport.height:D[C])-r.height,y*=s?1:-1),o!==Y&&(o!==L&&o!==F||a!==W)||(_=B,h-=(f&&D===k&&k.visualViewport?k.visualViewport.width:D[P])-r.width,h*=s?1:-1)}var x,M=Object.assign({position:u},c&&ae),T=!0===l?function(e){var t=e.x,n=e.y,r=window.devicePixelRatio||1;return{x:g(t*r)/r||0,y:g(n*r)/r||0}}({x:h,y:y}):{x:h,y:y};return h=T.x,y=T.y,s?Object.assign({},M,((x={})[O]=w?"0":"",x[_]=b?"0":"",x.transform=(k.devicePixelRatio||1)<=1?"translate("+h+"px, "+y+"px)":"translate3d("+h+"px, "+y+"px, 0)",x)):Object.assign({},M,((t={})[O]=w?y+"px":"",t[_]=b?h+"px":"",t.transform="",t))}var ue={left:"right",right:"left",bottom:"top",top:"bottom"};function se(e){return e.replace(/left|right|bottom|top/g,(function(e){return ue[e]}))}var ce={start:"end",end:"start"};function le(e){return e.replace(/start|end/g,(function(e){return ce[e]}))}function fe(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&y(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function pe(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function de(e,t,n){return t===q?pe(function(e,t){var n=d(e),r=S(e),o=n.visualViewport,a=r.clientWidth,i=r.clientHeight,u=0,s=0;if(o){a=o.width,i=o.height;var c=_();(c||!c&&"fixed"===t)&&(u=o.offsetLeft,s=o.offsetTop)}return{width:a,height:i,x:u+C(e),y:s}}(e,n)):h(t)?function(e,t){var n=O(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):pe(function(e){var t,n=S(e),r=k(e),o=null==(t=e.ownerDocument)?void 0:t.body,a=v(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),i=v(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),u=-r.scrollLeft+C(e),s=-r.scrollTop;return"rtl"===E(o||n).direction&&(u+=v(n.clientWidth,o?o.clientWidth:0)-a),{width:a,height:i,x:u,y:s}}(S(e)))}function he(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function me(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function ye(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,a=n.strategy,i=void 0===a?e.strategy:a,u=n.boundary,s=void 0===u?"clippingParents":u,c=n.rootBoundary,l=void 0===c?q:c,f=n.elementContext,p=void 0===f?K:f,d=n.altBoundary,y=void 0!==d&&d,g=n.padding,w=void 0===g?0:g,_=he("number"!=typeof w?w:me(w,V)),k=p===K?"reference":K,C=e.rects.popper,P=e.elements[y?k:p],x=function(e,t,n,r){var o="clippingParents"===t?function(e){var t=A(T(e)),n=["absolute","fixed"].indexOf(E(e).position)>=0&&m(e)?N(e):e;return h(n)?t.filter((function(e){return h(e)&&fe(e,n)&&"body"!==D(e)})):[]}(e):[].concat(t),a=[].concat(o,[n]),i=a[0],u=a.reduce((function(t,n){var o=de(e,n,r);return t.top=v(o.top,t.top),t.right=b(o.right,t.right),t.bottom=b(o.bottom,t.bottom),t.left=v(o.left,t.left),t}),de(e,i,r));return u.width=u.right-u.left,u.height=u.bottom-u.top,u.x=u.left,u.y=u.top,u}(h(P)?P:P.contextElement||S(e.elements.popper),s,l,i),M=O(e.elements.reference),R=oe({reference:M,element:C,strategy:"absolute",placement:o}),j=pe(Object.assign({},C,R)),I=p===K?j:M,Y={top:x.top-I.top+_.top,bottom:I.bottom-x.bottom+_.bottom,left:x.left-I.left+_.left,right:I.right-x.right+_.right},U=e.modifiersData.offset;if(p===K&&U){var H=U[o];Object.keys(Y).forEach((function(e){var t=[B,F].indexOf(e)>=0?1:-1,n=[L,F].indexOf(e)>=0?"y":"x";Y[e]+=H[n]*t}))}return Y}function ve(e,t,n){return v(e,b(t,n))}function be(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function ge(e){return[L,B,F,Y].some((function(t){return e[t]>=0}))}var we=J({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,a=void 0===o||o,i=r.resize,u=void 0===i||i,s=d(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&c.forEach((function(e){e.addEventListener("scroll",n.update,ee)})),u&&s.addEventListener("resize",n.update,ee),function(){a&&c.forEach((function(e){e.removeEventListener("scroll",n.update,ee)})),u&&s.removeEventListener("resize",n.update,ee)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=oe({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,a=n.adaptive,i=void 0===a||a,u=n.roundOffsets,s=void 0===u||u,c={placement:te(t.placement),variation:ne(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,ie(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i,roundOffsets:s})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,ie(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:s})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];m(o)&&D(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],o=t.attributes[e]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});m(r)&&D(r)&&(Object.assign(r.style,a),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,a=void 0===o?[0,0]:o,i=$.reduce((function(e,n){return e[n]=function(e,t,n){var r=te(e),o=[Y,L].indexOf(r)>=0?-1:1,a="function"==typeof n?n(Object.assign({},t,{placement:e})):n,i=a[0],u=a[1];return i=i||0,u=(u||0)*o,[Y,B].indexOf(r)>=0?{x:u,y:i}:{x:i,y:u}}(n,t.rects,a),e}),{}),u=i[t.placement],s=u.x,c=u.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=i}},{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,a=void 0===o||o,i=n.altAxis,u=void 0===i||i,s=n.fallbackPlacements,c=n.padding,l=n.boundary,f=n.rootBoundary,p=n.altBoundary,d=n.flipVariations,h=void 0===d||d,m=n.allowedAutoPlacements,y=t.options.placement,v=te(y),b=s||(v!==y&&h?function(e){if(te(e)===U)return[];var t=se(e);return[le(e),t,le(t)]}(y):[se(y)]),g=[y].concat(b).reduce((function(e,n){return e.concat(te(n)===U?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,a=n.rootBoundary,i=n.padding,u=n.flipVariations,s=n.allowedAutoPlacements,c=void 0===s?$:s,l=ne(r),f=l?u?z:z.filter((function(e){return ne(e)===l})):V,p=f.filter((function(e){return c.indexOf(e)>=0}));0===p.length&&(p=f);var d=p.reduce((function(t,n){return t[n]=ye(e,{placement:n,boundary:o,rootBoundary:a,padding:i})[te(n)],t}),{});return Object.keys(d).sort((function(e,t){return d[e]-d[t]}))}(t,{placement:n,boundary:l,rootBoundary:f,padding:c,flipVariations:h,allowedAutoPlacements:m}):n)}),[]),w=t.rects.reference,_=t.rects.popper,O=new Map,k=!0,D=g[0],S=0;S=0,M=x?"width":"height",T=ye(t,{placement:C,boundary:l,rootBoundary:f,altBoundary:p,padding:c}),R=x?P?B:Y:P?F:L;w[M]>_[M]&&(R=se(R));var A=se(R),j=[];if(a&&j.push(T[E]<=0),u&&j.push(T[R]<=0,T[A]<=0),j.every((function(e){return e}))){D=C,k=!1;break}O.set(C,j)}if(k)for(var I=function(e){var t=g.find((function(t){var n=O.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return D=t,"break"},N=h?3:1;N>0&&"break"!==I(N);N--);t.placement!==D&&(t.modifiersData[r]._skip=!0,t.placement=D,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,a=void 0===o||o,i=n.altAxis,u=void 0!==i&&i,s=n.boundary,c=n.rootBoundary,l=n.altBoundary,f=n.padding,p=n.tether,d=void 0===p||p,h=n.tetherOffset,m=void 0===h?0:h,y=ye(t,{boundary:s,rootBoundary:c,padding:f,altBoundary:l}),g=te(t.placement),w=ne(t.placement),_=!w,O=re(g),k="x"===O?"y":"x",D=t.modifiersData.popperOffsets,S=t.rects.reference,C=t.rects.popper,E="function"==typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,P="number"==typeof E?{mainAxis:E,altAxis:E}:Object.assign({mainAxis:0,altAxis:0},E),x=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,T={x:0,y:0};if(D){if(a){var R,A="y"===O?L:Y,j="y"===O?F:B,I="y"===O?"height":"width",U=D[O],V=U+y[A],W=U-y[j],q=d?-C[I]/2:0,K=w===H?S[I]:C[I],z=w===H?-C[I]:-S[I],$=t.elements.arrow,Q=d&&$?M($):{width:0,height:0},G=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},X=G[A],Z=G[j],J=ve(0,S[I],Q[I]),ee=_?S[I]/2-q-J-X-P.mainAxis:K-J-X-P.mainAxis,oe=_?-S[I]/2+q+J+Z+P.mainAxis:z+J+Z+P.mainAxis,ae=t.elements.arrow&&N(t.elements.arrow),ie=ae?"y"===O?ae.clientTop||0:ae.clientLeft||0:0,ue=null!=(R=null==x?void 0:x[O])?R:0,se=U+oe-ue,ce=ve(d?b(V,U+ee-ue-ie):V,U,d?v(W,se):W);D[O]=ce,T[O]=ce-U}if(u){var le,fe="x"===O?L:Y,pe="x"===O?F:B,de=D[k],he="y"===k?"height":"width",me=de+y[fe],be=de-y[pe],ge=-1!==[L,Y].indexOf(g),we=null!=(le=null==x?void 0:x[k])?le:0,_e=ge?me:de-S[he]-C[he]-we+P.altAxis,Oe=ge?de+S[he]+C[he]-we-P.altAxis:be,ke=d&&ge?function(e,t,n){var r=ve(e,t,n);return r>n?n:r}(_e,de,Oe):ve(d?_e:me,de,d?Oe:be);D[k]=ke,T[k]=ke-de}t.modifiersData[r]=T}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,a=n.elements.arrow,i=n.modifiersData.popperOffsets,u=te(n.placement),s=re(u),c=[Y,B].indexOf(u)>=0?"height":"width";if(a&&i){var l=function(e,t){return he("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:me(e,V))}(o.padding,n),f=M(a),p="y"===s?L:Y,d="y"===s?F:B,h=n.rects.reference[c]+n.rects.reference[s]-i[s]-n.rects.popper[c],m=i[s]-n.rects.reference[s],y=N(a),v=y?"y"===s?y.clientHeight||0:y.clientWidth||0:0,b=h/2-m/2,g=l[p],w=v-f[c]-l[d],_=v/2-f[c]/2+b,O=ve(g,_,w),k=s;n.modifiersData[r]=((t={})[k]=O,t.centerOffset=O-_,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&fe(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,a=t.modifiersData.preventOverflow,i=ye(t,{elementContext:"reference"}),u=ye(t,{altBoundary:!0}),s=be(i,r),c=be(u,o,a),l=ge(s),f=ge(c);t.modifiersData[n]={referenceClippingOffsets:s,popperEscapeOffsets:c,isReferenceHidden:l,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":l,"data-popper-escaped":f})}}]}),_e=n(115),Oe=n.n(_e),ke=[],De=function(e,t,n){void 0===n&&(n={});var o=r.useRef(null),a={onFirstUpdate:n.onFirstUpdate,placement:n.placement||"bottom",strategy:n.strategy||"absolute",modifiers:n.modifiers||ke},i=r.useState({styles:{popper:{position:a.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),u=i[0],s=i[1],c=r.useMemo((function(){return{name:"updateState",enabled:!0,phase:"write",fn:function(e){var t=e.state,n=Object.keys(t.elements);p.flushSync((function(){s({styles:l(n.map((function(e){return[e,t.styles[e]||{}]}))),attributes:l(n.map((function(e){return[e,t.attributes[e]]})))})}))},requires:["computeStyles"]}}),[]),d=r.useMemo((function(){var e={onFirstUpdate:a.onFirstUpdate,placement:a.placement,strategy:a.strategy,modifiers:[].concat(a.modifiers,[c,{name:"applyStyles",enabled:!1}])};return Oe()(o.current,e)?o.current||e:(o.current=e,e)}),[a.onFirstUpdate,a.placement,a.strategy,a.modifiers,c]),h=r.useRef();return f((function(){h.current&&h.current.setOptions(d)}),[d]),f((function(){if(null!=e&&null!=t){var r=(n.createPopper||we)(e,t,d);return h.current=r,function(){r.destroy(),h.current=null}}}),[e,t,n.createPopper]),{state:h.current?h.current.state:null,styles:u.styles,attributes:u.attributes,update:h.current?h.current.update:null,forceUpdate:h.current?h.current.forceUpdate:null}},Se=function(){},Ce=function(){return Promise.resolve(null)},Ee=[];function Pe(e){var t=e.placement,n=void 0===t?"bottom":t,a=e.strategy,i=void 0===a?"absolute":a,s=e.modifiers,l=void 0===s?Ee:s,f=e.referenceElement,p=e.onFirstUpdate,d=e.innerRef,h=e.children,m=r.useContext(o),y=r.useState(null),v=y[0],b=y[1],g=r.useState(null),w=g[0],_=g[1];r.useEffect((function(){c(d,v)}),[d,v]);var O=r.useMemo((function(){return{placement:n,strategy:i,onFirstUpdate:p,modifiers:[].concat(l,[{name:"arrow",enabled:null!=w,options:{element:w}}])}}),[n,i,p,l,w]),k=De(f||m,v,O),D=k.state,S=k.styles,C=k.forceUpdate,E=k.update,P=r.useMemo((function(){return{ref:b,style:S.popper,placement:D?D.placement:n,hasPopperEscaped:D&&D.modifiersData.hide?D.modifiersData.hide.hasPopperEscaped:null,isReferenceHidden:D&&D.modifiersData.hide?D.modifiersData.hide.isReferenceHidden:null,arrowProps:{style:S.arrow,ref:_},forceUpdate:C||Se,update:E||Ce}}),[b,_,n,D,S,E,C]);return u(h)(P)}var xe=n(9771),Me=n.n(xe);function Te(e){var t=e.children,n=e.innerRef,o=r.useContext(a),i=r.useCallback((function(e){c(n,e),s(o,e)}),[n,o]);return r.useEffect((function(){return function(){return c(n,null)}}),[]),r.useEffect((function(){Me()(Boolean(o),"`Reference` should not be used outside of a `Manager` component.")}),[o]),u(t)({ref:i})}},9771:function(e){"use strict";e.exports=function(){}},1609:function(e){"use strict";e.exports=window.React},5795:function(e){"use strict";e.exports=window.ReactDOM},1455:function(e){"use strict";e.exports=window.wp.apiFetch},6427:function(e){"use strict";e.exports=window.wp.components},6087:function(e){"use strict";e.exports=window.wp.element},7723:function(e){"use strict";e.exports=window.wp.i18n},3832:function(e){"use strict";e.exports=window.wp.url},3145:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n!!e[a],u=e=>!e[a].c,s=e=>{var t;const{b:n,c:r}=e[a];r&&(r(),null==(t=f.get(n))||t())},c=(e,t)=>{const n=e[a].o,r=t[a].o;return n===r||e===r||i(n)&&c(n,t)},l=(e,t)=>{const n={b:e,o:t,c:null},r=new Promise((e=>{n.c=()=>{n.c=null,e()},t.finally(n.c)}));return r[a]=n,r},f=new WeakMap,p=e=>"init"in e,d="r",h="w",m="c",y="s",v=e=>{const t=new WeakMap,n=new WeakMap,r=new Map;let o,f;if(o=new Set,f=new Set,e)for(const[n,r]of e){const e={v:r,r:0,y:!0,d:new Map};Object.freeze(e),p(n)||console.warn("Found initial value for derived atom which can cause unexpected behavior",n),t.set(n,e)}const v=new WeakMap,b=new WeakMap,g=e=>{let t=b.get(e);return t||(t=new Map,b.set(e,t)),t},w=(e,n)=>{if(e){const t=g(e);let r=t.get(n);return r||(r=w(e.p,n),r&&"p"in r&&u(r.p)&&(r=void 0),r&&t.set(n,r)),r}return t.get(n)},_=(e,n,o)=>{if(Object.freeze(o),e)g(e).set(n,o);else{const e=t.get(n);t.set(n,o),r.has(n)||r.set(n,e)}},O=(e,t=new Map,n)=>{if(!n)return t;const r=new Map;let o=!1;return n.forEach((n=>{var a;const i=(null==(a=w(e,n))?void 0:a.r)||0;r.set(n,i),t.get(n)!==i&&(o=!0)})),t.size!==r.size||o?r:t},k=(e,t,n,r,o)=>{const a=w(e,t);if(a){if(o&&(!("p"in a)||!c(a.p,o)))return a;"p"in a&&s(a.p)}const i={v:n,r:(null==a?void 0:a.r)||0,y:!0,d:O(e,null==a?void 0:a.d,r)};let u=!(null==a?void 0:a.y);return a&&"v"in a&&Object.is(a.v,n)?i.d===a.d||i.d.size===a.d.size&&Array.from(i.d.keys()).every((e=>a.d.has(e)))||(u=!0,Promise.resolve().then((()=>{I(e)}))):(u=!0,++i.r,i.d.has(t)&&(i.d=new Map(i.d).set(t,i.r))),a&&!u?a:(_(e,t,i),i)},D=(e,t,n,r,o)=>{const a=w(e,t);if(a){if(o&&(!("p"in a)||!c(a.p,o)))return a;"p"in a&&s(a.p)}const i={e:n,r:((null==a?void 0:a.r)||0)+1,y:!0,d:O(e,null==a?void 0:a.d,r)};return _(e,t,i),i},S=(e,t,n,r)=>{const o=w(e,t);if(o&&"p"in o){if(c(o.p,n)&&!u(o.p))return o.y?o:{...o,y:!0};s(o.p)}((e,t,n)=>{let r=v.get(t);r||(r=new Map,v.set(t,r)),n.then((()=>{r.get(e)===n&&(r.delete(e),r.size||v.delete(t))})),r.set(e,n)})(e,t,n);const a={p:n,r:((null==o?void 0:o.r)||0)+1,y:!0,d:O(e,null==o?void 0:o.d,r)};return _(e,t,a),a},C=(e,t,n,r)=>{if(n instanceof Promise){const o=l(n,n.then((n=>{k(e,t,n,r,o)})).catch((n=>{if(n instanceof Promise)return i(n)?n.then((()=>{E(e,t,!0)})):n;D(e,t,n,r,o)})));return S(e,t,o,r)}return k(e,t,n,r)},E=(e,t,r)=>{if(!r){const r=w(e,t);if(r){if(r.y&&"p"in r&&!u(r.p))return r;if(r.d.forEach(((r,o)=>{if(o!==t)if(n.has(o)){const t=w(e,o);t&&!t.y&&E(e,o)}else E(e,o)})),Array.from(r.d).every((([t,n])=>{const r=w(e,t);return r&&!("p"in r)&&r.r===n})))return r.y?r:{...r,y:!0}}}const o=new Set;try{const n=t.read((n=>{o.add(n);const r=n===t?w(e,n):E(e,n);if(r){if("e"in r)throw r.e;if("p"in r)throw r.p;return r.v}if(p(n))return n.init;throw new Error("no atom init")}));return C(e,t,n,o)}catch(n){if(n instanceof Promise){const r=i(n)&&u(n)?(e=>l(e[a].b,e[a].o))(n):l(n,n);return S(e,t,r,o)}return D(e,t,n,o)}},P=(e,t)=>!t.l.size&&(!t.t.size||1===t.t.size&&t.t.has(e)),x=(e,t)=>{const r=n.get(t);null==r||r.t.forEach((n=>{n!==t&&(((e,t)=>{const n=w(e,t);if(n){const r={...n,y:!1};_(e,t,r)}else console.warn("[Bug] could not invalidate non existing atom",t)})(e,n),x(e,n))}))},M=(e,t,n)=>{let r=!0;const o=(t,n)=>{const r=E(e,t);if("e"in r)throw r.e;if("p"in r){if(null==n?void 0:n.unstable_promise)return r.p.then((()=>{const a=w(e,t);return a&&"p"in a&&a.p===r.p?new Promise((e=>setTimeout(e))).then((()=>o(t,n))):o(t,n)}));throw console.info("Reading pending atom state in write operation. We throw a promise for now.",t),r.p}if("v"in r)return r.v;throw console.warn("[Bug] no value found while reading atom in write operation. This is probably a bug.",t),new Error("no value found")},a=t.write(o,((n,o)=>{let a;if(n===t){if(!p(n))throw new Error("atom not writable");const t=(e=>{const t=new Set,n=v.get(e);return n&&(v.delete(e),n.forEach(((e,n)=>{s(e),t.add(n)}))),t})(n);t.forEach((t=>{t!==e&&C(t,n,o)})),w(e,n)!==C(e,n,o)&&x(e,n)}else a=M(e,n,o);return r||I(e),a}),n);return r=!1,a},T=(e,t,n)=>{const r=M(n,e,t);return I(n),r},R=(e,t,r)=>{const o={t:new Set(r&&[r]),l:new Set};if(n.set(t,o),f.add(t),E(void 0,t).d.forEach(((r,o)=>{const a=n.get(o);a?a.t.add(t):o!==t&&R(e,o,t)})),(e=>!!e.write)(t)&&t.onMount){const n=n=>T(t,n,e),r=t.onMount(n);e=void 0,r&&(o.u=r)}return o},A=(e,t)=>{var r;const o=null==(r=n.get(t))?void 0:r.u;o&&o(),n.delete(t),f.delete(t);const a=w(e,t);a?("p"in a&&s(a.p),a.d.forEach(((r,o)=>{if(o!==t){const r=n.get(o);r&&(r.t.delete(t),P(o,r)&&A(e,o))}}))):console.warn("[Bug] could not find atom state to unmount",t)},j=(e,t,r,o)=>{const a=new Set(r.d.keys());null==o||o.forEach(((r,o)=>{if(a.has(o))return void a.delete(o);const i=n.get(o);i&&(i.t.delete(t),P(o,i)&&A(e,o))})),a.forEach((r=>{const o=n.get(r);o?o.t.add(t):n.has(t)&&R(e,r,t)}))},I=e=>{if(e)g(e).forEach(((r,o)=>{if(r!==t.get(o)){const t=n.get(o);null==t||t.l.forEach((t=>t(e)))}}));else{for(;r.size;){const e=Array.from(r);r.clear(),e.forEach((([e,t])=>{const r=w(void 0,e);if(r&&r.d!==(null==t?void 0:t.d)&&j(void 0,e,r,null==t?void 0:t.d),t&&!t.y&&(null==r?void 0:r.y))return;const o=n.get(e);null==o||o.l.forEach((e=>e()))}))}o.forEach((e=>e()))}};return{[d]:(e,t)=>E(t,e),[h]:T,[m]:(e,n)=>{n&&(e=>{g(e).forEach(((n,r)=>{const o=t.get(r);(!o||n.r>o.r||n.y!==o.y||n.r===o.r&&n.d!==o.d)&&(t.set(r,n),n.d!==(null==o?void 0:o.d)&&j(e,r,n,null==o?void 0:o.d))}))})(n),I(void 0)},[y]:(e,t,r)=>{const o=((e,t)=>{let r=n.get(t);return r||(r=R(e,t)),r})(r,e),a=o.l;return a.add(t),()=>{a.delete(t),((e,t)=>{const r=n.get(t);r&&P(t,r)&&A(e,t)})(r,e)}},h:(e,t)=>{for(const[n,r]of e)p(n)&&(C(t,n,r),x(t,n));I(t)},n:e=>(o.add(e),()=>{o.delete(e)}),l:()=>f.values(),a:e=>t.get(e),m:e=>n.get(e)}},b=new Map,g=e=>{return b.has(e)||b.set(e,(0,r.createContext)({s:n?n(t).SECRET_INTERNAL_store:v(t)})),b.get(e);var t,n};function w(e,t){return function(e,t){const n="atom"+ ++o,r={toString:()=>n};return"function"==typeof e?r.read=e:(r.init=e,r.read=e=>e(r),r.write=(e,t,n)=>t(r,"function"==typeof n?n(e(r)):n)),t&&(r.write=t),r}(e,t)}function _(e,t){const n=g(t),o=(0,r.useContext)(n),{s:a,v:i}=o,u=t=>{const n=a[d](e,t);if(!n.y)throw new Error("should not be invalidated");if("e"in n)throw n.e;if("p"in n)throw n.p;if("v"in n)return n.v;throw new Error("no atom value")},[[s,c,l],f]=(0,r.useReducer)(((t,n)=>{const r=u(n);return Object.is(t[1],r)&&t[2]===e?t:[n,r,e]}),i,(t=>[t,u(t),e]));let p=c;return l!==e&&(f(s),p=u(s)),(0,r.useEffect)((()=>{const{v:t}=o;t&&a[m](e,t);const n=a[y](e,f,t);return f(t),n}),[a,e,o]),(0,r.useEffect)((()=>{a[m](e,s)})),(0,r.useDebugValue)(p),p}function O(e,t){const n=g(t),{s:o,w:a}=(0,r.useContext)(n);return(0,r.useCallback)((t=>{if(!("write"in e))throw new Error("not writable atom");const n=n=>o[h](e,t,n);return a?a(n):n()}),[o,a,e])}function k(e,t){return"scope"in e&&(console.warn("atom.scope is deprecated. Please do useAtom(atom, scope) instead."),t=e.scope),[_(e,t),O(e,t)]}}},__webpack_module_cache__={},deferred;function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var n=__webpack_module_cache__[e]={exports:{}};return __webpack_modules__[e].call(n.exports,n,n.exports,__webpack_require__),n.exports}__webpack_require__.m=__webpack_modules__,deferred=[],__webpack_require__.O=function(e,t,n,r){if(!t){var o=1/0;for(s=0;s=r)&&Object.keys(__webpack_require__.O).every((function(e){return __webpack_require__.O[e](t[i])}))?t.splice(i--,1):(a=!1,r0&&deferred[s-1][2]>r;s--)deferred[s]=deferred[s-1];deferred[s]=[t,n,r]},__webpack_require__.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return __webpack_require__.d(t,{a:t}),t},__webpack_require__.d=function(e,t){for(var n in t)__webpack_require__.o(t,n)&&!__webpack_require__.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},__webpack_require__.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},__webpack_require__.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},function(){var e={552:0,525:0};__webpack_require__.O.j=function(t){return 0===e[t]};var t=function(t,n){var r,o,a=n[0],i=n[1],u=n[2],s=0;if(a.some((function(t){return 0!==e[t]}))){for(r in i)__webpack_require__.o(i,r)&&(__webpack_require__.m[r]=i[r]);if(u)var c=u(__webpack_require__)}for(t&&t(n);s $this->get_views(),
+ 'nonce'=>wp_create_nonce( 'gravityview_ajaxaddshortcode' ),
)
);
diff --git a/future/includes/gutenberg/package-lock.json b/future/includes/gutenberg/package-lock.json
index ca67b6d544..7c2f2ada48 100644
--- a/future/includes/gutenberg/package-lock.json
+++ b/future/includes/gutenberg/package-lock.json
@@ -6120,12 +6120,12 @@
}
},
"node_modules/braces": {
- "version": "3.0.2",
- "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz",
- "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==",
+ "version": "3.0.3",
+ "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz",
+ "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==",
"dev": true,
"dependencies": {
- "fill-range": "^7.0.1"
+ "fill-range": "^7.1.1"
},
"engines": {
"node": ">=8"
@@ -9440,9 +9440,9 @@
}
},
"node_modules/fill-range": {
- "version": "7.0.1",
- "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz",
- "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==",
+ "version": "7.1.1",
+ "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz",
+ "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==",
"dev": true,
"dependencies": {
"to-regex-range": "^5.0.1"
@@ -23663,12 +23663,12 @@
}
},
"braces": {
- "version": "3.0.2",
- "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz",
- "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==",
+ "version": "3.0.3",
+ "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz",
+ "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==",
"dev": true,
"requires": {
- "fill-range": "^7.0.1"
+ "fill-range": "^7.1.1"
}
},
"browserslist": {
@@ -26132,9 +26132,9 @@
}
},
"fill-range": {
- "version": "7.0.1",
- "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz",
- "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==",
+ "version": "7.1.1",
+ "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz",
+ "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==",
"dev": true,
"requires": {
"to-regex-range": "^5.0.1"
diff --git a/future/includes/gutenberg/shared/css/blocks.scss b/future/includes/gutenberg/shared/css/blocks.scss
index 329cce7433..66bb2be053 100644
--- a/future/includes/gutenberg/shared/css/blocks.scss
+++ b/future/includes/gutenberg/shared/css/blocks.scss
@@ -16,13 +16,13 @@ $background-color: #fff;
@include disabled-element;
- .entry-selector, .preview-control, .view-selector {
+ .entry-selector, .preview-control, .view-selector,.sort-field-selector {
width: 100%;
display: inline-block;
text-align: left;
}
- .view-selector {
+ .view-selector,.sort-field-selector {
input {
margin: 0 !important;
height: auto !important;
@@ -42,7 +42,7 @@ $background-color: #fff;
text-align: center;
padding: 40px;
- .entry-selector, .preview-control, .view-selector {
+ .entry-selector, .preview-control, .view-selector,.sort-field-selector {
width: 70%;
}
@@ -74,7 +74,7 @@ $background-color: #fff;
* Sidebar
*/
.components-panel {
- .view-selector, .entry-selector:not(.no-entry-input) {
+ .view-selector, .sort-field-selector, .entry-selector:not(.no-entry-input) {
margin-bottom: 24px;
}
diff --git a/future/includes/gutenberg/shared/js/sort-selector.js b/future/includes/gutenberg/shared/js/sort-selector.js
new file mode 100644
index 0000000000..ce26126047
--- /dev/null
+++ b/future/includes/gutenberg/shared/js/sort-selector.js
@@ -0,0 +1,79 @@
+import { __ } from '@wordpress/i18n';
+import Select from 'react-select';
+import { BaseControl } from '@wordpress/components';
+import { useEffect, useState } from 'react';
+
+export default function SortFieldSelector( {
+ viewId,
+ onChange,
+ sortField,
+} ) {
+ const labels = {
+ selectSortField: __( 'Select a Sort Field', 'gk-gravityview' ),
+ sort: __( 'Sort Field', 'gk-gravityview' ),
+ };
+
+ const defaultOption = { value: '', label: labels.selectSortField };
+
+ const [ options, setOptions ] = useState( [ defaultOption ] );
+ const [ selectedSortField, setSelectedSortField ] = useState( defaultOption );
+
+ const fetchData = async ( viewId ) => {
+ try {
+ const response = await fetch( gkGravityViewBlocks.ajax_url, {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/x-www-form-urlencoded',
+ },
+ body: new URLSearchParams( {
+ action: 'gv_sortable_fields',
+ nonce: gkGravityViewBlocks.nonce,
+ viewid: viewId,
+ } ),
+ } );
+
+ if ( response.status === 200 ) {
+ const text = await response.text();
+ const parser = new DOMParser();
+ const doc = parser.parseFromString( text, 'text/html' );
+ const optionElements = doc.querySelectorAll( 'option' );
+ const newOptions = Array.from( optionElements ).map( ( option ) => ( {
+ value: option.value,
+ label: option.textContent,
+ } ) );
+
+ setOptions( [ defaultOption, ...newOptions ] );
+ const selectedOption =
+ newOptions.find( ( option ) => option.value === sortField ) ||
+ defaultOption;
+ setSelectedSortField( selectedOption );
+ } else {
+ console.error( 'Error:', response );
+ }
+ } catch ( error ) {
+ console.error( 'Fetch error:', error );
+ }
+ };
+
+ useEffect( () => {
+ fetchData( viewId );
+ }, [ viewId ] );
+
+ return (
+
+ ( { ...base, zIndex: 10 } ) } }
+ options={ options }
+ value={ selectedSortField }
+ onChange={ ( e ) => {
+ onChange( e.value );
+ setSelectedSortField( e );
+ } }
+ noOptionsMessage={ () => __( 'No Sorting Fields found', 'gk-gravityview' ) }
+ />
+
+ );
+}
diff --git a/gravityview.php b/gravityview.php
index 82c92c3887..917906e0e2 100644
--- a/gravityview.php
+++ b/gravityview.php
@@ -3,7 +3,7 @@
* Plugin Name: GravityView
* Plugin URI: https://www.gravitykit.com
* Description: The best, easiest way to display Gravity Forms entries on your website.
- * Version: 2.25
+ * Version: 2.26
* Author: GravityKit
* Author URI: https://www.gravitykit.com
* Text Domain: gk-gravityview
@@ -27,7 +27,7 @@
/**
* The plugin version.
*/
-define( 'GV_PLUGIN_VERSION', '2.25' );
+define( 'GV_PLUGIN_VERSION', '2.26' );
/**
* Full path to the GravityView file
diff --git a/includes/admin/metaboxes/class-gravityview-metabox-tab.php b/includes/admin/metaboxes/class-gravityview-metabox-tab.php
index 4dafeb1f78..75b687c5dd 100644
--- a/includes/admin/metaboxes/class-gravityview-metabox-tab.php
+++ b/includes/admin/metaboxes/class-gravityview-metabox-tab.php
@@ -92,6 +92,13 @@ class GravityView_Metabox_Tab {
*/
public $icon_class_name = '';
+ /**
+ * CSS class to append to the navigation tab.
+ *
+ * @since 2.26
+ * @var string
+ */
+ public $extra_nav_class = '';
/**
* Create a new metabox tab
diff --git a/includes/admin/metaboxes/views/gravityview-content.php b/includes/admin/metaboxes/views/gravityview-content.php
index 58ac3edeeb..70116a0e1e 100644
--- a/includes/admin/metaboxes/views/gravityview-content.php
+++ b/includes/admin/metaboxes/views/gravityview-content.php
@@ -24,9 +24,31 @@
echo '
diff --git a/includes/admin/metaboxes/views/gravityview-navigation.php b/includes/admin/metaboxes/views/gravityview-navigation.php
index 1e75f15f8d..fa0fc58e7d 100644
--- a/includes/admin/metaboxes/views/gravityview-navigation.php
+++ b/includes/admin/metaboxes/views/gravityview-navigation.php
@@ -16,14 +16,31 @@
foreach ( $metaboxes as $metabox ) {
$class = ! isset( $class ) ? 'nav-tab-active' : '';
+ if ( $metabox->extra_nav_class ) {
+ $class .= ' ' . gravityview_sanitize_html_class( (string) $metabox->extra_nav_class );
+ }
?>
- title ); ?>
+ title ), $metabox );
+
+ echo $title; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped - Intent is to allow HTML.
+ ?>
-
\ No newline at end of file
+
diff --git a/includes/admin/metaboxes/views/placeholder.php b/includes/admin/metaboxes/views/placeholder.php
new file mode 100644
index 0000000000..8d364fc499
--- /dev/null
+++ b/includes/admin/metaboxes/views/placeholder.php
@@ -0,0 +1,71 @@
+
+
+
+
+
+
+
+
+
+
%s%s ',
+ esc_url( $buy_now_link ),
+ // translators: %s is the plugin title.
+ esc_html( sprintf( __( 'Learn more about %s…', 'gk-gravityview' ), $title ) ),
+ esc_html__( 'This link opens in a new window.', 'gk-gravityview' )
+ );
+ } ?>
+
+
+
+ %2$s',
+ esc_url( $button_href ),
+ esc_html( $button_text ),
+ implode( ' ', $attributes ),
+ );
+ } else {
+ printf(
+ '
%s%s ',
+ esc_url( $buy_now_link ),
+ esc_html( $button_text ),
+ esc_html__( 'This link opens in a new window.', 'gk-gravityview' )
+ );
+ }
+ ?>
+
+
+
+
diff --git a/includes/class-admin-views.php b/includes/class-admin-views.php
index 4790d167c6..fe73f1cc4a 100644
--- a/includes/class-admin-views.php
+++ b/includes/class-admin-views.php
@@ -1172,6 +1172,7 @@ function render_active_areas( $template_id, $type, $zone, $rows, $values ) {
diff --git a/includes/class-gravityview-entry-link-shortcode.php b/includes/class-gravityview-entry-link-shortcode.php
index 0eff217ade..dab70ad456 100644
--- a/includes/class-gravityview-entry-link-shortcode.php
+++ b/includes/class-gravityview-entry-link-shortcode.php
@@ -133,6 +133,10 @@ private function shortcode( $atts, $content = null, $context = 'gv_entry_link' )
$this->view_id = empty( $this->settings['view_id'] ) ? GravityView_View::getInstance()->getViewId() : absint( $this->settings['view_id'] );
+ if ( empty( $this->view_id ) && get_the_ID() ) {
+ $this->view_id = get_the_ID();
+ }
+
if ( empty( $this->view_id ) ) {
gravityview()->log->error( 'A View ID was not defined and we are not inside a View' );
diff --git a/includes/class-gravityview-merge-tags.php b/includes/class-gravityview-merge-tags.php
index d83716e639..6b60f6d248 100644
--- a/includes/class-gravityview-merge-tags.php
+++ b/includes/class-gravityview-merge-tags.php
@@ -6,6 +6,14 @@
* @since 1.8.4
*/
class GravityView_Merge_Tags {
+ /**
+ * Microcache for merge tag modifiers.
+ *
+ * @since 2.26
+ *
+ * @var array[]
+ */
+ private static $merge_tag_modifiers = [];
/**
* @since 1.8.4
@@ -20,12 +28,44 @@ public function __construct() {
* @since 1.8.4
*/
private function add_hooks() {
-
/** @see GFCommon::replace_variables_prepopulate */
add_filter( 'gform_replace_merge_tags', array( 'GravityView_Merge_Tags', 'replace_gv_merge_tags' ), 10, 7 );
// Process after 10 priority
add_filter( 'gform_merge_tag_filter', array( 'GravityView_Merge_Tags', 'process_modifiers' ), 20, 5 );
+
+ add_filter( 'gform_pre_replace_merge_tags', [ $this, 'cache_merge_tag_modifiers' ] );
+ }
+
+ /**
+ * Caches merge tag modifiers to preserve their case sensitivity.
+ * This is necessary because {@see GFCommon::replace_field_variable()) applies
+ * `strtolower()` to the modifier and causes issues where case is expected,
+ * such as date formatting (e.g., `format:Y-m-d`).
+ *
+ * @since 2.26
+ *
+ * @param string $text Text with merge tags.
+ *
+ * @return string
+ */
+ public function cache_merge_tag_modifiers( $text ) {
+ // Regex pattern taken from GFCommon::replace_variables().
+ preg_match_all( '/{[^{]*?:(\d+(\.\w+)?)(:(.*?))?}/mi', $text, $matches, PREG_SET_ORDER );
+
+ if ( ! $matches ) {
+ return $text;
+ }
+
+ foreach ( $matches as $match ) {
+ $modifier = $match[4] ?? '';
+
+ if ( $modifier ) {
+ self::$merge_tag_modifiers[ strtolower( $modifier ) ] = $modifier;
+ }
+ }
+
+ return $text;
}
/**
@@ -50,6 +90,9 @@ public static function process_modifiers( $value, $merge_tag, $modifier, $field,
return $value;
}
+ // Retrieve the original case-sensitive modifier.
+ $modifier = self::$merge_tag_modifiers[ strtolower( $modifier ) ] ?? $modifier;
+
// matching regex => the value is the method to call to replace the value.
$gv_modifiers = array(
'maxwords:(\d+)' => 'modifier_maxwords',
@@ -70,6 +113,7 @@ public static function process_modifiers( $value, $merge_tag, $modifier, $field,
'ucfirst' => 'modifier_strings',
'ucwords' => 'modifier_strings',
'wptexturize' => 'modifier_strings',
+ 'format' => 'modifier_format',
);
$modifiers = explode( ',', $modifier );
@@ -97,7 +141,7 @@ public static function process_modifiers( $value, $merge_tag, $modifier, $field,
}
// The called method is passed the raw value and the full matches array
- $return = self::$method( $return, $matches, $value, $field );
+ $return = self::$method( $return, $matches, $value, $field, $passed_modifier );
break;
}
}
@@ -123,6 +167,27 @@ public static function process_modifiers( $value, $merge_tag, $modifier, $field,
return $return;
}
+ /**
+ * Converts date and time values to the format modifier.
+ *
+ * @since 2.26
+ *
+ * @param string $raw_value
+ * @param array $matches
+ * @param string $value
+ * @param array $field
+ * @param string $modifier
+ *
+ * @return string
+ */
+ private static function modifier_format( $raw_value, $matches, $value, $field, $modifier ) {
+ if ( ( $field instanceof GF_Field_Date || $field instanceof GF_Field_Time ) && $modifier ) {
+ return self::format_date( $raw_value, $modifier );
+ }
+
+ return $raw_value;
+ }
+
/**
* Convert Date field values to timestamp int
*
@@ -566,7 +631,7 @@ private static function get_format_from_modifiers( $exploded, $backup = '' ) {
// If there's a "format:[php date format string]" date format, grab it
if ( false !== $format_key_index && isset( $exploded[ $format_key_index + 1 ] ) ) {
// Return escaped colons placeholder
- $return = str_replace( '|COLON|', ':', $exploded[ $format_key_index + 1 ] );
+ $return = str_replace( '|COLON|', ':', implode( ':', array_slice( $exploded, $format_key_index + 1 ) ) );
}
return $return;
diff --git a/includes/extensions/entry-notes/assets/js/entry-notes.min.js b/includes/extensions/entry-notes/assets/js/entry-notes.min.js
index 9df66d3d5f..346f1208d1 100644
--- a/includes/extensions/entry-notes/assets/js/entry-notes.min.js
+++ b/includes/extensions/entry-notes/assets/js/entry-notes.min.js
@@ -1 +1 @@
-!function($){var gv_notes={selectors:{wrapper:".gv-notes",bulk_form:".gv-notes-list",bulk_toggle:".gv-notes-toggle",bulk_checkbox:'input[name="note[]"]',bulk_submit:".gv-notes-delete",add_note_form:"form.gv-note-add",add_note_submit:".gv-add-note-submit",add_note_content:"textarea[name=gv-note-content]",email_wrapper:".gv-note-email-container",email_to_wrapper:".gv-note-to-container",email_select:".gv-note-email-to",email_to_custom_wrapper:".gv-note-to-custom-container"},init:function(){$(gv_notes.selectors.wrapper).each(function(){gv_notes.setup_checkboxes($(this)),$(gv_notes.selectors.bulk_toggle,$(this)).on("change",gv_notes.toggle_all),$(gv_notes.selectors.bulk_form,$(this)).on("submit",gv_notes.delete_notes),$(gv_notes.selectors.email_select,$(this)).on("change",gv_notes.email_fields_toggle).trigger("change"),$(gv_notes.selectors.add_note_form,$(this)).on("submit",gv_notes.add_note).find("textarea").on("keydown",gv_notes.command_enter)})},setup_checkboxes:function($container){$(gv_notes.selectors.bulk_checkbox,$container).on("change",gv_notes.toggle_disable_delete).shiftSelectable().filter(":first-child").trigger("change")},toggle_disable_delete:function(){$container=$(this).parents(gv_notes.selectors.wrapper),$checkboxes=$(gv_notes.selectors.bulk_checkbox,$container),$(gv_notes.selectors.bulk_submit,$container).prop("disabled",0===$checkboxes.filter(":checked").length)},email_fields_toggle:function($email_container){var val=$(this).val(),$email_container=$($email_container.target).parents(gv_notes.selectors.wrapper).find(gv_notes.selectors.email_wrapper);$(gv_notes.selectors.email_to_wrapper,$email_container).toggle(""!==val),$(gv_notes.selectors.email_to_custom_wrapper,$email_container).toggle("custom"===val)},command_enter:function(e){13==e.keyCode&&e.metaKey&&$(e.currentTarget).parents("form.gv-note-add").submit()},toggle_all:function(e){$container=$(this).parents(gv_notes.selectors.wrapper),$checkboxes=$(gv_notes.selectors.bulk_checkbox,$container),$checkboxes.prop("checked",$(this).prop("checked")).trigger("change")},delete_notes:function(e){e.preventDefault();var $container=$(e.target).parent(gv_notes.selectors.wrapper),$checked=$(gv_notes.selectors.bulk_checkbox,$container).filter(":checked");if(0===$checked.length)return console.log("No notes were checked"),!1;if(!window.confirm(GVNotes.text.delete_confirm))return console.log("Just kidding. Please do not delete me!"),!1;var $submit=$container.find(gv_notes.selectors.bulk_submit);$.ajax({url:GVNotes.ajaxurl,isLocal:!0,method:"POST",beforeSend:function(){$container.addClass("gv-processing-note"),$submit.data("value",$submit.html()).prop("disabled",!0).html(GVNotes.text.processing)},data:{action:"gv_delete_notes",data:$(this).serialize()}}).done(function(data,textStatus,jqXHR){$submit.prop("disabled",!1).html($submit.data("value")),$container.removeClass("gv-processing-note"),!0===data.success?$checked.parents("tr.gv-note").addClass("gv-note-deleted").animate({height:"0",opacity:"0"},"slow",function(){$(this).remove(),0===$("tr.gv-note",$container).length&&$container.removeClass("gv-has-notes").addClass("gv-no-notes"),$container.find(gv_notes.selectors.bulk_toggle).prop("checked",!1),gv_notes.setup_checkboxes($container)}):gv_notes.show_message($submit,data.data.error)})},show_message:function($insert_after,message,message_class){var css_class="gv-note-message",message_class=!1===message_class?"gv-note-success":"gv-note-error";$message=$insert_after.next("."+css_class).length?$insert_after.next("."+css_class):$("
",{class:css_class}),$message.insertAfter($insert_after).attr("class",css_class+" "+message_class).html(message).fadeIn("fast").delay(3e3).fadeOut("fast").on("click",function(){$(this).fadeOut("fast")})},add_note:function(e){e.preventDefault();var $container=$(e.target).parent(gv_notes.selectors.wrapper),$submit=$container.find(gv_notes.selectors.add_note_submit),$inputs=$container.find(":input").not("[type=hidden]");if(""!==$container.find(gv_notes.selectors.add_note_content).val().trim())return $.ajax({url:GVNotes.ajaxurl,isLocal:!0,method:"POST",beforeSend:function(){$container.addClass("gv-processing-note"),$inputs.prop("disabled","disabled"),$submit.data("value",$submit.html()).html(GVNotes.text.processing)},data:{action:"gv_note_add",data:$(this).serialize()}}).done(function(data,textStatus,jqXHR){$submit.html($submit.data("value")),$inputs.prop("disabled",!1),$container.removeClass("gv-processing-note"),!0===data.success?($container.removeClass("gv-no-notes").addClass("gv-has-notes"),$(data.data.html).hide().appendTo($("table tbody",$container)).fadeIn(),gv_notes.setup_checkboxes($container),$inputs.val("").trigger("change"),gv_notes.show_message($submit,GVNotes.text.note_added,!1)):gv_notes.show_message($submit,data.data.error)}),!1;gv_notes.show_message($submit,GVNotes.text.error_empty_note)}};$.fn.shiftSelectable=function(){var lastChecked,$boxes=this;return $boxes.click(function(end){var start;lastChecked=(lastChecked&&end.shiftKey&&(start=$boxes.index(this),end=$boxes.index(lastChecked),$boxes.slice(Math.min(start,end),Math.max(start,end)+1).prop("checked",lastChecked.checked).trigger("change")),this)}),this},gv_notes.init(),window.gvEntryNotes=gv_notes}(jQuery);
\ No newline at end of file
+!function($){var gv_notes={selectors:{wrapper:".gv-notes",bulk_form:".gv-notes-list",bulk_toggle:".gv-notes-toggle",bulk_checkbox:'input[name="note[]"]',bulk_submit:".gv-notes-delete",add_note_form:"form.gv-note-add",add_note_submit:".gv-add-note-submit",add_note_content:"textarea[name=gv-note-content]",email_wrapper:".gv-note-email-container",email_to_wrapper:".gv-note-to-container",email_select:".gv-note-email-to",email_to_custom_wrapper:".gv-note-to-custom-container"},init:function(){$(gv_notes.selectors.wrapper).each(function(){gv_notes.setup_checkboxes($(this)),$(gv_notes.selectors.bulk_toggle,$(this)).on("change",gv_notes.toggle_all),$(gv_notes.selectors.bulk_form,$(this)).on("submit",gv_notes.delete_notes),$(gv_notes.selectors.email_select,$(this)).on("change",gv_notes.email_fields_toggle).trigger("change"),$(gv_notes.selectors.add_note_form,$(this)).on("submit",gv_notes.add_note).find("textarea").on("keydown",gv_notes.command_enter)})},setup_checkboxes:function($container){$(gv_notes.selectors.bulk_checkbox,$container).on("change",gv_notes.toggle_disable_delete).shiftSelectable().filter(":first-child").trigger("change")},toggle_disable_delete:function(){$container=$(this).parents(gv_notes.selectors.wrapper),$checkboxes=$(gv_notes.selectors.bulk_checkbox,$container),$(gv_notes.selectors.bulk_submit,$container).prop("disabled",0===$checkboxes.filter(":checked").length)},email_fields_toggle:function(e){var val=$(this).val(),e=$(e.target).parents(gv_notes.selectors.wrapper).find(gv_notes.selectors.email_wrapper);$(gv_notes.selectors.email_to_wrapper,e).toggle(""!==val),$(gv_notes.selectors.email_to_custom_wrapper,e).toggle("custom"===val)},command_enter:function(e){13==e.keyCode&&e.metaKey&&$(e.currentTarget).parents("form.gv-note-add").submit()},toggle_all:function(e){$container=$(this).parents(gv_notes.selectors.wrapper),($checkboxes=$(gv_notes.selectors.bulk_checkbox,$container)).prop("checked",$(this).prop("checked")).trigger("change")},delete_notes:function(e){e.preventDefault();var $submit,$container=$(e.target).parent(gv_notes.selectors.wrapper),$checked=$(gv_notes.selectors.bulk_checkbox,$container).filter(":checked");return 0===$checked.length?(console.log("No notes were checked"),!1):window.confirm(GVNotes.text.delete_confirm)?($submit=$container.find(gv_notes.selectors.bulk_submit),void $.ajax({url:GVNotes.ajaxurl,isLocal:!0,method:"POST",beforeSend:function(){$container.addClass("gv-processing-note"),$submit.data("value",$submit.html()).prop("disabled",!0).html(GVNotes.text.processing)},data:{action:"gv_delete_notes",data:$(this).serialize()}}).done(function(data,textStatus,jqXHR){$submit.prop("disabled",!1).html($submit.data("value")),$container.removeClass("gv-processing-note"),!0===data.success?$checked.parents("tr.gv-note").addClass("gv-note-deleted").animate({height:"0",opacity:"0"},"slow",function(){$(this).remove(),0===$("tr.gv-note",$container).length&&$container.removeClass("gv-has-notes").addClass("gv-no-notes"),$container.find(gv_notes.selectors.bulk_toggle).prop("checked",!1),gv_notes.setup_checkboxes($container)}):gv_notes.show_message($submit,data.data.error)})):(console.log("Just kidding. Please do not delete me!"),!1)},show_message:function($insert_after,message,is_error){var css_class="gv-note-message",is_error=!1===is_error?"gv-note-success":"gv-note-error";($message=$insert_after.next("."+css_class).length?$insert_after.next("."+css_class):$("
",{class:css_class})).insertAfter($insert_after).attr("class",css_class+" "+is_error).html(message).fadeIn("fast").delay(3e3).fadeOut("fast").on("click",function(){$(this).fadeOut("fast")})},add_note:function(e){e.preventDefault();var $container=$(e.target).parent(gv_notes.selectors.wrapper),$submit=$container.find(gv_notes.selectors.add_note_submit),$inputs=$container.find(":input").not("[type=hidden]");if(""!==$container.find(gv_notes.selectors.add_note_content).val().trim())return $.ajax({url:GVNotes.ajaxurl,isLocal:!0,method:"POST",beforeSend:function(){$container.addClass("gv-processing-note"),$inputs.prop("disabled","disabled"),$submit.data("value",$submit.html()).html(GVNotes.text.processing)},data:{action:"gv_note_add",data:$(this).serialize()}}).done(function(data,textStatus,jqXHR){$submit.html($submit.data("value")),$inputs.prop("disabled",!1),$container.removeClass("gv-processing-note"),!0===data.success?($container.removeClass("gv-no-notes").addClass("gv-has-notes"),$(data.data.html).hide().appendTo($("table tbody",$container)).fadeIn(),gv_notes.setup_checkboxes($container),$inputs.val("").trigger("change"),gv_notes.show_message($submit,GVNotes.text.note_added,!1)):gv_notes.show_message($submit,data.data.error)}),!1;gv_notes.show_message($submit,GVNotes.text.error_empty_note)}};$.fn.shiftSelectable=function(){var lastChecked,$boxes=this;return $boxes.click(function(evt){var end;lastChecked=(lastChecked&&evt.shiftKey&&(evt=$boxes.index(this),end=$boxes.index(lastChecked),$boxes.slice(Math.min(evt,end),Math.max(evt,end)+1).prop("checked",lastChecked.checked).trigger("change")),this)}),this},gv_notes.init(),window.gvEntryNotes=gv_notes}(jQuery);
\ No newline at end of file
diff --git a/includes/fields/class-gravityview-field-approval.php b/includes/fields/class-gravityview-field-approval.php
index 181ecdcf37..dd5f7b2337 100644
--- a/includes/fields/class-gravityview-field-approval.php
+++ b/includes/fields/class-gravityview-field-approval.php
@@ -19,7 +19,7 @@ class GravityView_Field_Entry_Approval extends GravityView_Field {
var $group = 'gravityview';
- var $contexts = array( 'single', 'multiple' );
+ var $contexts = array( 'single', 'multiple', 'edit' );
var $icon = 'dashicons-yes-alt';
@@ -83,6 +83,42 @@ private function add_hooks() {
add_filter( 'gravityview/field_output/html', array( $this, 'maybe_prevent_field_render' ), 10, 2 );
add_filter( 'gravityview/field/is_visible', array( $this, 'maybe_not_visible' ), 10, 2 );
+
+ add_filter( 'gravityview/edit_entry/form_fields', array( $this, 'show_field_in_edit_entry' ), 10, 3 );
+
+ add_action( 'gravityview/edit_entry/after_update', array( $this, 'update_edit_entry' ), 10, 3 );
+
+ }
+
+ /**
+ * Updates approval field after edit entry save.
+ *
+ * @since 2.26
+ *
+ * @param array $form Gravity Forms form array
+ * @param int $entry_id Gravity Forms Entry ID
+ * @param GravityView_Edit_Entry_Render $Edit_Entry_Render
+ *
+ * @return void
+ */
+ public function update_edit_entry( $form = array(), $entry_id = 0, $Edit_Entry_Render = null ) {
+ if ( ! $form || ! $entry_id ) {
+ return;
+ }
+
+ $unique_id = crc32( 'is_approved' );
+
+ if ( ! isset( $_POST[ 'input_' . $unique_id ] ) ) {
+ return;
+ }
+
+ $approval_status = \GV\Utils::_POST( 'input_' . $unique_id );
+
+ if ( ! GravityView_Entry_Approval_Status::is_valid( $approval_status ) ) {
+ $approval_status = GravityView_Entry_Approval_Status::UNAPPROVED;
+ }
+
+ GravityView_Entry_Approval::update_approved( $entry_id, $approval_status, $form['id'] );
}
/**
@@ -227,7 +263,7 @@ public function enqueue_and_localize_script() {
*/
public function filter_gravityview_entry_default_field( $entry_default_fields, $form, $context ) {
- if ( ! isset( $entry_default_fields[ "{$this->name}" ] ) && 'edit' !== $context ) {
+ if ( ! isset( $entry_default_fields[ "{$this->name}" ] ) && 'edit' === $context ) {
$entry_default_fields[ "{$this->name}" ] = array(
'label' => $this->label,
'desc' => $this->description,
@@ -279,6 +315,77 @@ public static function get_css_class( $approved_status ) {
return esc_attr( "gv-approval-{$approved_key}" );
}
+
+ /**
+ * Adds the GravityView Approval Entries field to the Edit Entry form
+ *
+ * @since 2.26
+ *
+ * @param GF_Field[] $fields Gravity Forms form fields
+ * @param array|null $edit_fields Fields for the Edit Entry tab configured in the View Configuration
+ * @param array $form GF Form array (`fields` key modified to have only fields configured to show in Edit Entry)
+ *
+ * @return GF_Field[] If Custom Content field exists, returns fields array with the fields inserted. Otherwise, returns unmodified fields array.
+ */
+ public function show_field_in_edit_entry( $fields, $edit_fields = null, $form = array() ) {
+ // Not configured; show all fields.
+ if ( is_null( $edit_fields ) ) {
+ return $fields;
+ }
+
+ $new_fields = array();
+ $i = 0;
+
+ $entry = gravityview()->request->is_edit_entry( $form['id'] );
+ $_entry = $entry->as_entry();
+
+ foreach ( (array) $edit_fields as $id => $edit_field ) {
+ if ( 'entry_approval' !== $edit_field['id'] ) {
+ if ( isset( $fields[ $i ] ) ) {
+ $new_fields[] = $fields[ $i ];
+ }
+ ++$i;
+ continue;
+ }
+
+ $label = ( $edit_field['custom_label'] ? $edit_field['custom_label'] : __( 'Approve Entries', 'gk-gravityview' ) );
+
+ if ( ! $edit_field['show_label'] ) {
+ $label = '';
+ }
+
+ $unique_id = crc32( 'is_approved' );
+
+ $value = ( $_entry['is_approved'] ? (int) $_entry['is_approved'] : GravityView_Entry_Approval_Status::UNAPPROVED );
+ $value = $_POST[ "input_{$unique_id}" ] ?? $value;
+
+ $field_data = array(
+ 'id' => $unique_id,
+ 'custom_id' => $id,
+ 'label' => $label,
+ 'choices' => array(
+ array(
+ 'text' => __( 'Approve', 'gk-gravityview' ),
+ 'value' => GravityView_Entry_Approval_Status::APPROVED,
+ ),
+ array(
+ 'text' => __( 'Disapprove', 'gk-gravityview' ),
+ 'value' => GravityView_Entry_Approval_Status::DISAPPROVED,
+ ),
+ array(
+ 'text' => __( 'Reset Approval', 'gk-gravityview' ),
+ 'value' => GravityView_Entry_Approval_Status::UNAPPROVED,
+ ),
+ ),
+ 'defaultValue' => (int) $value,
+ 'cssClass' => $edit_field['custom_class'],
+ );
+
+ $new_fields[] = new GF_Field_Radio( $field_data );
+ }
+ return $new_fields;
+ }
+
}
new GravityView_Field_Entry_Approval();
diff --git a/includes/fields/class-gravityview-field-is-read.php b/includes/fields/class-gravityview-field-is-read.php
index 0220599b11..99bf07fcb7 100644
--- a/includes/fields/class-gravityview-field-is-read.php
+++ b/includes/fields/class-gravityview-field-is-read.php
@@ -42,7 +42,7 @@ class GravityView_Field_Is_Read extends GravityView_Field {
/**
* An array of entry IDs that have been marked as read during the request.
*
- * @since TBD
+ * @since 2.25
*
* @var array
*/
@@ -91,7 +91,7 @@ private function add_hooks() {
/**
* Adds the "Mark Entry As Read" setting to the View settings.
*
- * @since TBD
+ * @since 2.25
*
* @param array $settings The settings.
*
@@ -117,7 +117,7 @@ public function modify_single_entry_view_settings( $settings ) {
/**
* Marks the entry as read if the user has `gravityview_edit_entries` capability and the "Mark Entry As Read" View setting is enabled.
*
- * @since TBD
+ * @since 2.25
*
* @return void
*/
diff --git a/includes/fields/class-gravityview-field-time.php b/includes/fields/class-gravityview-field-time.php
index 997d671fe8..b1471441ac 100644
--- a/includes/fields/class-gravityview-field-time.php
+++ b/includes/fields/class-gravityview-field-time.php
@@ -65,8 +65,10 @@ public function __construct() {
add_filter( 'gravityview/sorting/time', array( $this, 'modify_sort_id' ), 10, 2 );
add_filter( 'gravityview_search_criteria', array( $this, '_maybe_filter_gravity_forms_query' ), 10, 4 );
+
}
+
/**
* Modify the sort key for the time field so it can be parsed by the query filter
*
diff --git a/includes/load-plugin-and-theme-hooks.php b/includes/load-plugin-and-theme-hooks.php
index 37428f3141..6491470ec3 100644
--- a/includes/load-plugin-and-theme-hooks.php
+++ b/includes/load-plugin-and-theme-hooks.php
@@ -17,6 +17,8 @@
// Abstract class
require $include_path . 'abstract-gravityview-plugin-and-theme-hooks.php';
+require $include_path . 'class-gravityview-object-placeholder.php';
+require $include_path . 'class-gravityview-feature-upgrade.php';
$plugin_hooks_files = glob( $include_path . 'class-gravityview-plugin-hooks-*.php' );
diff --git a/includes/plugin-and-theme-hooks/abstract-gravityview-plugin-and-theme-hooks.php b/includes/plugin-and-theme-hooks/abstract-gravityview-plugin-and-theme-hooks.php
index 3fc812237f..4139cceec6 100644
--- a/includes/plugin-and-theme-hooks/abstract-gravityview-plugin-and-theme-hooks.php
+++ b/includes/plugin-and-theme-hooks/abstract-gravityview-plugin-and-theme-hooks.php
@@ -132,12 +132,23 @@ protected function is_active() {
private function maybe_add_hooks() {
if ( ! $this->is_active() ) {
+
+ $this->add_inactive_hooks();
+
return;
}
$this->add_hooks();
}
+ /**
+ * Add hooks when the plugin / theme is active.
+ *
+ * @since 2.26
+ */
+ protected function add_inactive_hooks(): void {
+ }
+
/**
* Add filters for meta key and script/style handles, if defined.
*
@@ -178,8 +189,7 @@ protected function add_hooks() {
* @return array Array of features associated with a functional area of the edit screen, merged with existing values
*/
public function merge_post_type_support( $supports = array(), $is_hierarchical = false ) {
- $supports = array_merge( $this->post_type_support, $supports );
- return $supports;
+ return array_merge( $this->post_type_support, $supports );
}
/**
diff --git a/includes/plugin-and-theme-hooks/class-gravityview-feature-upgrade.php b/includes/plugin-and-theme-hooks/class-gravityview-feature-upgrade.php
new file mode 100644
index 0000000000..de5fb41b9d
--- /dev/null
+++ b/includes/plugin-and-theme-hooks/class-gravityview-feature-upgrade.php
@@ -0,0 +1,62 @@
+
+
+
+SVG;
+ }
+
+ /**
+ * Displays an upgrade pill on any metabox tab that has the `gravityview-upgrade` class.
+ *
+ * @since 2.26
+ *
+ * @param string $title The metabox navigation title.
+ * @param GravityView_Metabox_Tab $metabox The metabox object.
+ *
+ * @return string The navigation label for the metabox.
+ */
+ public function maybe_add_upgrade_pill( $title, GravityView_Metabox_Tab $metabox ): string {
+ $disabled = apply_filters( 'gk/gravityview/feature/upgrade/disabled', false );
+
+ if (
+ $disabled
+ || false === strpos( $metabox->extra_nav_class, 'gravityview-upgrade' )
+ ) {
+ return $title;
+ }
+
+ return sprintf(
+ '%s%s %s ',
+ $title,
+ $this->star_svg(),
+ esc_html__( 'Upgrade', 'gk-gravityview' )
+ );
+ }
+}
+
+new GravityView_Feature_Upgrade();
diff --git a/includes/plugin-and-theme-hooks/class-gravityview-object-placeholder.php b/includes/plugin-and-theme-hooks/class-gravityview-object-placeholder.php
new file mode 100644
index 0000000000..c08c0b2362
--- /dev/null
+++ b/includes/plugin-and-theme-hooks/class-gravityview-object-placeholder.php
@@ -0,0 +1,268 @@
+title = $title;
+ $this->description = $description;
+ $this->icon = $icon;
+ $this->text_domain = $text_domain;
+ $this->buy_now_link = $buy_now_link;
+ }
+
+ /**
+ * Create a placeholder of the "inline" type.
+ *
+ * @since 2.26
+ *
+ * @param string $title The title.
+ * @param string $description The description.
+ * @param string $icon The icon.
+ * @param string $text_domain The plugin text domain.
+ * @param string $buy_now_link The (optional)) buy_now_link.
+ *
+ * @return self The placeholder object.
+ */
+ public static function inline(
+ string $title,
+ string $description,
+ string $icon,
+ string $text_domain,
+ string $buy_now_link = ''
+ ): self {
+
+ $placeholder = new self( $title, $description, $icon, $text_domain, $buy_now_link );
+ $placeholder->type = self::TYPE_INLINE;
+
+ return $placeholder;
+ }
+
+ /**
+ * Create a placeholder of the "card" type.
+ *
+ * @since 2.26
+ *
+ * @param string $title The title.
+ * @param string $description The description.
+ * @param string $icon The icon.
+ * @param string $text_domain The plugin text domain.
+ * @param string $buy_now_link The (optional)) buy_now_link.
+ *
+ * @return self The placeholder object.
+ */
+ public static function card(
+ string $title,
+ string $description,
+ string $icon,
+ string $text_domain,
+ string $buy_now_link = ''
+ ): self {
+
+ $placeholder = new self( $title, $description, $icon, $text_domain, $buy_now_link );
+ $placeholder->type = self::TYPE_CARD;
+
+ return $placeholder;
+ }
+
+ /**
+ * Returns whether the plugin is included in one of the licences.
+ *
+ * @since 2.26
+ *
+ * @throws Exception
+ *
+ * @return bool Whether the plugin is included in one of the licences.
+ */
+ private function is_included(): bool {
+ /**
+ * @var $product_manager \GravityKit\GravityView\Foundation\Licenses\ProductManager
+ */
+ $product_manager = GravityKitFoundation::licenses()->product_manager();
+ $products = $product_manager->get_products_data();
+
+ $product = $products[ $this->text_domain ] ?? null;
+ if ( ! $product ) {
+ return false;
+ }
+
+ // There is license for this product.
+ return count( $product['licenses'] ?? [] ) > 0;
+ }
+
+ /**
+ * Returns the plugin info.
+ *
+ * @since 2.26
+ *
+ * @return array
+ */
+ private function get_plugin(): array {
+ if ( null !== $this->plugin ) {
+ return $this->plugin;
+ }
+
+ $this->plugin = Core::get_installed_plugin_by_text_domain( $this->text_domain ) ?? [];
+
+ return $this->plugin;
+ }
+
+ /**
+ * Returns the status for the plugin.
+ *
+ * @since 2.26
+ *
+ * @return int The status for the plugin.
+ */
+ private function get_status(): int {
+ $plugin = $this->get_plugin();
+
+ if ( ! $plugin ) {
+ return self::STATUS_NOT_INSTALLED;
+ }
+
+ return $plugin['active'] ? self::STATUS_ACTIVE : self::STATUS_INACTIVE;
+ }
+
+ /**
+ * Renders the placeholder using placeholder template.
+ *
+ * @since 2.26
+ */
+ public function render(): void {
+ if ( self::STATUS_ACTIVE === $this->get_status() ) {
+ return;
+ }
+
+ $attributes = [ 'data-text-domain' => $this->text_domain ];
+ if ( self::STATUS_INACTIVE === $this->get_status() ) {
+ $plugin = $this->get_plugin();
+ $plugin_basename = $plugin['path'] ?? '';
+
+ $caps = 'activate_plugins';
+ $attributes['data-action'] = 'activate';
+ $button_text = __( 'Activate Now', 'gk-gravityview' );
+ $button_href = wp_nonce_url( admin_url( 'plugins.php?action=activate&plugin=' . $plugin_basename ), 'activate-plugin_' . $plugin_basename );
+ } elseif ( self::STATUS_NOT_INSTALLED === $this->get_status() && $this->is_included() ) {
+ $caps = 'install_plugins';
+ $attributes['data-action'] = 'install';
+ $button_text = __( 'Install & Activate', 'gk-gravityview' );
+ $button_href = $this->buy_now_link;
+ } else {
+ $caps = 'read';
+ $button_text = __( 'Buy Now', 'gk-gravityview' );
+ $button_href = $this->buy_now_link;
+ }
+
+ $params = compact( 'caps', 'button_href', 'button_text', 'attributes' );
+ $params = array_merge( $params, [
+ 'type' => (string) $this->type,
+ 'icon' => (string) $this->icon,
+ 'title' => (string) $this->title,
+ 'description' => (string) $this->description,
+ 'buy_now_link' => (string) $this->buy_now_link,
+ ] );
+
+ // Render the template in a scoped function.
+ ( static function () use ( $params ) {
+ extract( $params );
+ require GRAVITYVIEW_DIR . 'includes/admin/metaboxes/views/placeholder.php';
+ } )();
+ }
+}
diff --git a/includes/plugin-and-theme-hooks/class-gravityview-plugin-hooks-gravitymaps.php b/includes/plugin-and-theme-hooks/class-gravityview-plugin-hooks-gravitymaps.php
index 6d76268e3b..4c49900701 100644
--- a/includes/plugin-and-theme-hooks/class-gravityview-plugin-hooks-gravitymaps.php
+++ b/includes/plugin-and-theme-hooks/class-gravityview-plugin-hooks-gravitymaps.php
@@ -2,14 +2,16 @@
/**
* @inheritDoc
+ *
* @since 2.16
*/
class GravityView_Plugin_Hooks_GravityMaps extends GravityView_Plugin_and_Theme_Hooks {
- public function __construct() {
+ protected $constant_name = 'GRAVITYVIEW_MAPS_VERSION';
- if ( ! defined( 'GRAVITYVIEW_MAPS_VERSION' ) || version_compare( GRAVITYVIEW_MAPS_VERSION, '1.8', '>=' ) ) {
- return;
- }
+ /**
+ * @inheritDoc
+ */
+ public function add_hooks() {
/**
* Temporarily keep maps working on the front-end when running new GV and old Maps.
@@ -30,37 +32,134 @@ function ( $api_key ) {
}
);
- /**
- * @since 2.16
- * @param array $notices
- * @return array $notices, with a new notice about Maps compatibility added.
- */
- add_filter(
- 'gravityview/admin/notices',
- function ( $notices ) {
-
- $message = '' . esc_html__( 'Plugin update required.', 'gk-gravityview' ) . ' ';
- $message .= esc_html_x( 'You are using [plugin] [version] that is incompatible with the current version of GravityView. Please [link]update [plugin][/link] to the latest version.', 'Placeholders inside [] are not to be translated.', 'gk-gravityview' );
-
- $message = strtr(
- $message,
- array(
- '[version]' => GRAVITYVIEW_MAPS_VERSION,
- '[link]' => '',
- '[plugin]' => 'GravityView Maps',
- '[/link]' => ' ',
- )
- );
-
- $notices[] = array(
- 'class' => 'error',
- 'message' => $message,
- 'dismiss' => false,
- );
-
- return $notices;
+ if ( defined( 'GRAVITYVIEW_MAPS_VERSION' ) &&
+ version_compare( GRAVITYVIEW_MAPS_VERSION, '1.8', '<' )
+ ) {
+ /**
+ * @since 2.16
+ *
+ * @param array $notices
+ *
+ * @return array $notices, with a new notice about Maps compatibility added.
+ */
+ add_filter(
+ 'gravityview/admin/notices',
+ function ( $notices ) {
+
+ $message = '' . esc_html__( 'Plugin update required.', 'gk-gravityview' ) . ' ';
+ $message .= esc_html_x( 'You are using [plugin] [version] that is incompatible with the current version of GravityView. Please [link]update [plugin][/link] to the latest version.', 'Placeholders inside [] are not to be translated.', 'gk-gravityview' );
+
+ $message = strtr(
+ $message,
+ [
+ '[version]' => GRAVITYVIEW_MAPS_VERSION,
+ '[link]' => '',
+ '[plugin]' => 'GravityView Maps',
+ '[/link]' => ' ',
+ ]
+ );
+
+ $notices[] = [
+ 'class' => 'error',
+ 'message' => $message,
+ 'dismiss' => false,
+ ];
+
+ return $notices;
+ }
+ );
+ }
+
+ parent::add_hooks();
+ }
+
+ /**
+ * @inheritDoc
+ *
+ * @since 2.26
+ */
+ protected function add_inactive_hooks(): void {
+ add_action( 'add_meta_boxes', [ $this, 'register_metabox_placeholder' ] );
+ }
+
+ /**
+ * Returns the icon for the GravityView Maps layout.
+ *
+ * @since 2.26
+ *
+ * @return string The SVG icon.
+ */
+ private function get_placeholder_icon(): string {
+ return <<
+
+
+
+
+
+
+
+
+
+
+ICON;
+ }
+
+ /**
+ * Returns the placeholder value object.
+ *
+ * @since 2.26
+ *
+ * @return GravityView_Object_Placeholder The placeholder.
+ */
+ private function get_placeholder(): GravityView_Object_Placeholder {
+ return
+ GravityView_Object_Placeholder::card(
+ __( 'Maps Layout', 'gk-gravityview' ),
+ __( 'Display entries in a Map View, where entries are displayed as “pins” on a map, like on Yelp.com. Also, add map widgets and fields to all GravityView layouts.', 'gk-gravityview' ),
+ $this->get_placeholder_icon(),
+ 'gk-gravitymaps',
+ 'https://www.gravitykit.com/products/maps/'
+ );
+ }
+
+ /**
+ * Register the Maps placeholder metabox.
+ *
+ * @since 2.26
+ */
+ public function register_metabox_placeholder(): void {
+ $disabled = apply_filters( 'gk/gravityview/feature/upgrade/disabled', false );
+
+ if ( $disabled ) {
+ return;
+ }
+
+ $metabox = new GravityView_Metabox_Tab(
+ 'maps_settings',
+ __( 'Maps', 'gk-gravitymaps', 'gk-gravityview' ),
+ '',
+ 'dashicons-location-alt',
+ function () {
+ $this->get_placeholder()->render();
}
);
+
+ $metabox->extra_nav_class = 'gravityview-upgrade';
+
+ GravityView_Metabox_Tabs::add( $metabox );
}
}
diff --git a/includes/plugin-and-theme-hooks/class-gravityview-plugin-hooks-gravityview-advanced-filtering.php b/includes/plugin-and-theme-hooks/class-gravityview-plugin-hooks-gravityview-advanced-filtering.php
new file mode 100644
index 0000000000..14319315b9
--- /dev/null
+++ b/includes/plugin-and-theme-hooks/class-gravityview-plugin-hooks-gravityview-advanced-filtering.php
@@ -0,0 +1,78 @@
+id ) {
+ return;
+ }
+
+ $this->get_placeholder()->render();
+ }
+
+ /**
+ * Returns the placeholder value object.
+ *
+ * @since 2.26
+ *
+ * @return GravityView_Object_Placeholder The placeholder.
+ */
+ private function get_placeholder(): GravityView_Object_Placeholder {
+ return
+ GravityView_Object_Placeholder::inline(
+ __( 'Advanced Filtering', 'gk-gravityview' ),
+ __( 'Control what entries are displayed in a View using advanced conditional logic.', 'gk-gravityview' ),
+ $this->get_placeholder_icon(),
+ 'gravityview-advanced-filter',
+ 'https://www.gravitykit.com/products/advanced-filter'
+ );
+ }
+
+ /**
+ * Returns the icon for the Advanced Filtering extension.
+ *
+ * @since 2.26
+ *
+ * @return string The SVG icon.
+ */
+ private function get_placeholder_icon(): string {
+ return <<
+
+
+
+
+
+ICON;
+ }
+}
+
+new GravityView_Plugin_Hooks_GravityView_Advanced_Filtering();
diff --git a/includes/plugin-and-theme-hooks/class-gravityview-plugin-hooks-gravityview-datatables.php b/includes/plugin-and-theme-hooks/class-gravityview-plugin-hooks-gravityview-datatables.php
new file mode 100644
index 0000000000..50b19f49b0
--- /dev/null
+++ b/includes/plugin-and-theme-hooks/class-gravityview-plugin-hooks-gravityview-datatables.php
@@ -0,0 +1,107 @@
+get_placeholder_icon(),
+ 'gv-datatables',
+ 'https://www.gravitykit.com/products/datatables/'
+ );
+ }
+
+ /**
+ * Returns the icon for the DataTables layout.
+ *
+ * @since 2.26
+ *
+ * @return string The SVG icon.
+ */
+ public function get_placeholder_icon(): string {
+ return <<
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ICON;
+ }
+
+ /**
+ * @inheritDoc
+ *
+ * @since 2.26
+ */
+ protected function add_inactive_hooks(): void {
+ add_action( 'add_meta_boxes', [ $this, 'register_metabox_placeholder' ] );
+ }
+
+ /**
+ * Register the DataTables placeholder metabox.
+ *
+ * @since 2.26
+ */
+ public function register_metabox_placeholder(): void {
+ $disabled = apply_filters( 'gk/gravityview/feature/upgrade/disabled', false );
+ if ( $disabled ) {
+ return;
+ }
+
+ $metabox = new GravityView_Metabox_Tab(
+ 'datatables_settings',
+ __( 'DataTables', 'gv-datatables', 'gk-gravityview' ),
+ '',
+ 'gv-icon-datatables-icon',
+ function () {
+ $this->get_placeholder()->render();
+ }
+ );
+
+ $metabox->extra_nav_class = 'gravityview-upgrade';
+
+ GravityView_Metabox_Tabs::add( $metabox );
+ }
+}
+
+new GravityView_Plugin_Hooks_GravityView_DataTables();
diff --git a/includes/plugin-and-theme-hooks/class-gravityview-plugin-hooks-gravityview-ratings-reviews.php b/includes/plugin-and-theme-hooks/class-gravityview-plugin-hooks-gravityview-ratings-reviews.php
new file mode 100644
index 0000000000..16c0d13079
--- /dev/null
+++ b/includes/plugin-and-theme-hooks/class-gravityview-plugin-hooks-gravityview-ratings-reviews.php
@@ -0,0 +1,99 @@
+get_placeholder()->render();
+ }
+ );
+
+ $metabox->extra_nav_class = 'gravityview-upgrade';
+
+ GravityView_Metabox_Tabs::add( $metabox );
+ }
+
+ /**
+ * Returns the placeholder value object.
+ *
+ * @since 2.26
+ *
+ * @return GravityView_Object_Placeholder The placeholder.
+ */
+ private function get_placeholder(): GravityView_Object_Placeholder {
+ return
+ GravityView_Object_Placeholder::card(
+ esc_html__( 'Ratings & Reviews', 'gk-gravityview' ),
+ esc_html__( 'Allow users to rate, review, and comment on entries in a View. Supports star ratings and up/down voting.', 'gk-gravityview' ),
+ $this->get_placeholder_icon(),
+ 'gravityview-ratings-reviews',
+ 'https://www.gravitykit.com/products/ratings-reviews/'
+ );
+ }
+
+ /**
+ * Returns the icon for the Ratings & Reviews extension.
+ *
+ * @since 2.26
+ *
+ * @return string The SVG icon.
+ */
+ private function get_placeholder_icon(): string {
+ return <<
+
+
+
+
+
+
+
+ICON;
+ }
+}
+
+new GravityView_Plugin_Hooks_GravityView_Ratings_Reviews();
diff --git a/includes/widgets/search-widget/assets/js/admin-search-widget.min.js b/includes/widgets/search-widget/assets/js/admin-search-widget.min.js
index b78da5f9f0..8ba79c41d6 100644
--- a/includes/widgets/search-widget/assets/js/admin-search-widget.min.js
+++ b/includes/widgets/search-widget/assets/js/admin-search-widget.min.js
@@ -1 +1 @@
-!function($){var gvSearchWidget={wrapClass:null,widgetTarget:$(".gv-dialog-options"),selectFields:null,wp_widget_id:"gravityview_search",default_search_fields:'[{"field":"search_all","input":"input_text"}]',init:function(wrapClass){gvSearchWidget.wrapClass=wrapClass;var wp_widget_id=gvSearchWidget.wp_widget_id;$("body").on("dialogopen",'[data-fieldid="search_bar"] .'+wrapClass,gvSearchWidget.openDialog).bind("click.widgets-toggle",gvSearchWidget.openWidget).on("click","."+wrapClass+" .gv-add-search-field",gvSearchWidget.addField).on("click","."+wrapClass+" .gv-remove-search-field",gvSearchWidget.removeField).on("change","."+wrapClass+" select.gv-search-fields",gvSearchWidget.updateRow).on("change","."+wrapClass+" select.gv-search-inputs",gvSearchWidget.toggleSearchMode).on("keyup","."+wrapClass+" input.gv-search-labels",gvSearchWidget.updateWidgetConfig).on("sortcreate sortupdate sort","."+wrapClass+" table",gvSearchWidget.zebraStripe).on("click",".widget[id*='"+wp_widget_id+"'] input.widget-control-save",gvSearchWidget.saveWidget).on("change","#gravityview_form_id",gvSearchWidget.clearViewSearchData).on("change","#gravityview_view_id",gvSearchWidget.clearWidgetSearchData),$(document).on("widget-added widget-updated",gvSearchWidget.refreshWidget).on("submit","form#post",gvSearchWidget.updateWidgetConfig)},resetWidgetTarget:function(obj){gvSearchWidget.widgetTarget=obj.closest("div.widget").find("div."+gvSearchWidget.wrapClass),gvSearchWidget.selectFields=null},resetWidgetData:function(obj){gvSearchWidget.resetWidgetTarget(obj),$("table",gvSearchWidget.widgetTarget).remove()},openWidget:function(widgetId){var widget,target=$(widgetId.target);target.parents(".widget-top").length&&!target.parents("#available-widgets").length&&(widgetId.preventDefault(),widgetId=(widget=$(widgetId.target).closest("div.widget")).attr("id"),!widget.hasClass("open")&&0 '+gvGlobals.loading_text+""),void gvSearchWidget.getSelectFields(parent);table=gvSearchWidget.addTable(),fields&&0===fields.length?gvSearchWidget.addRow(table,null,null):gvSearchWidget.populateRows(table,fields),gvSearchWidget.widgetTarget.is(".gv-widget-search-fields")?gvSearchWidget.widgetTarget.append(table):gvSearchWidget.widgetTarget.find(".gv-setting-container-search_fields").after(table),gvSearchWidget.toggleSearchMode(),gvSearchWidget.widgetTarget.find("table tbody").sortable({start:function(event,ui){$(ui.item).removeClass("alt"),$(ui.item).find(".cell-add-remove").toggle()},stop:function(event,ui){$(ui.item).find(".cell-add-remove").toggle(),gvSearchWidget.updateWidgetConfig(ui.item),gvSearchWidget.triggerWidgetChange(ui.item)}}),gvSearchWidget.updateAvailableFields(),gvSearchWidget.updateWidgetConfig(),$gvloading.remove()}},triggerWidgetChange:function(el){$(el).parents(".widget-content").find("p input").trigger("change")},zebraStripe:function(){$(gvSearchWidget.widgetTarget).find("tr.gv-search-field-row").removeClass("alt").filter(":even").addClass("alt")},populateRows:function(table,rows){var rows=JSON.parse(rows),pos=null;rows&&0!==rows.length?$.each(rows,function(i,values){gvSearchWidget.addRow(table,pos,values),pos=table.find("tbody tr:last")}):gvSearchWidget.addEmptyMsg(table)},addTable:function(){return $('')},addEmptyMsg:function(table){$(table).append(''+gvSearchVar.label_nofields+' '+gvSearchVar.label_addfield+" ")},addRow:function(table,row,curr){var rowString=$(' ').append(' ').append(''+gvSearchWidget.getSelectFields()+" ").append(' ').append(' ').append(' ');null!==row&&row.length?$(row,table).after(rowString):$("tbody",table).append(rowString),table.find("tr.new-row").each(function(){$(this).removeClass("new-row"),null!==curr&&$(this).find("select.gv-search-fields").val(curr.field),null!==curr&&$(this).find(".cell-input-label input").val(curr.label),gvSearchWidget.updateSelectInput($(this)),gvSearchWidget.updatePlaceholder($(this)),null!==curr&&$(this).find("select.gv-search-inputs").val(curr.input),$(this).find("select.gv-search-fields, input.gv-search-labels, select.gv-search-inputs").on("change keyup",gvSearchWidget.updateWidgetConfig),gvSearchWidget.updateWidgetConfig(),gvSearchWidget.triggerWidgetChange(this),$(this).show().removeClass("hide-if-js")}),gvSearchWidget.styleRow(table)},updatePlaceholder:function(placeholder_text){var $label_input=placeholder_text.find(".cell-input-label input"),placeholder_text=placeholder_text.find("select.gv-search-fields option").filter(":selected"),placeholder_text=placeholder_text.attr("data-placeholder")?placeholder_text.attr("data-placeholder"):placeholder_text.text();$label_input.attr("placeholder",placeholder_text)},toggleSearchMode:function(){var table_row_count=$("tbody tr",gvSearchWidget.widgetTarget).length,$search_mode_container=$('input[name*="search_mode"]',gvSearchWidget.widgetTarget).parents(".gv-setting-container"),has_date_range=0<$('option:selected[value="date_range"]',gvSearchWidget.widgetTarget).length;$search_mode_container.find("input").each(function(){has_date_range?($(this).prop("disabled",!0),$(this).prop("checked","all"===$(this).val())):$(this).prop("disabled",!1)}),1'+label+"")}),options.join())},getValue:function(obj,key){var value=null;return $.each(obj,function(k,val){if(key===k)return value=val,!1}),value},saveWidget:function(){gvSearchWidget.resetWidgetTarget($(this)),gvSearchWidget.updateWidgetConfig()},updateWidgetConfig:function(e){var widgetTarget,configs=[];e?(widgetTarget=(e.target?$(e.target):e).parents(".gv-widget-search-fields, .gv-fields"),$(".gv-setting-container-search_mode").find("input:checked:disabled").prop("disabled",!1)):widgetTarget=gvSearchWidget.widgetTarget,widgetTarget.find("table tr.gv-search-field-row").each(function(){var row={field:$(this).find("select.gv-search-fields").val(),input:$(this).find("select.gv-search-inputs").val(),label:$(this).find("input.gv-search-labels").val()};configs.push(row)}),$(".gv-search-fields-value",widgetTarget).val(JSON.stringify(configs))},clearViewSearchData:function(){gvSearchWidget.selectFields=null,$(".gv-search-fields-value").each(function(){$(this).parents("."+gvSearchWidget.wrapClass).find("table").remove(),$(this).val(gvSearchWidget.default_search_fields)})},clearWidgetSearchData:function(){gvSearchWidget.resetWidgetData($(this)),gvSearchWidget.widgetTarget.removeData("gvSelectFields"),$(".gv-search-fields-value",gvSearchWidget.widgetTarget).val(gvSearchWidget.default_search_fields);var widget=gvSearchWidget.widgetTarget.closest("div.widget");$(".hide-on-view-change:visible",widget).slideUp(100),""!==$(this).val()&&gvSearchWidget.renderUI(widget)}};$(document).ready(function(){var contextClass=$("body").hasClass("widgets-php")?"gv-widget-search-fields":"gv-dialog-options";gvSearchWidget.init(contextClass)})}(jQuery);
\ No newline at end of file
+!function($){var gvSearchWidget={wrapClass:null,widgetTarget:$(".gv-dialog-options"),selectFields:null,wp_widget_id:"gravityview_search",default_search_fields:'[{"field":"search_all","input":"input_text"}]',init:function(wrapClass){gvSearchWidget.wrapClass=wrapClass;var wp_widget_id=gvSearchWidget.wp_widget_id;$("body").on("dialogopen",'[data-fieldid="search_bar"] .'+wrapClass,gvSearchWidget.openDialog).bind("click.widgets-toggle",gvSearchWidget.openWidget).on("click","."+wrapClass+" .gv-add-search-field",gvSearchWidget.addField).on("click","."+wrapClass+" .gv-remove-search-field",gvSearchWidget.removeField).on("change","."+wrapClass+" select.gv-search-fields",gvSearchWidget.updateRow).on("change","."+wrapClass+" select.gv-search-inputs",gvSearchWidget.toggleSearchMode).on("keyup","."+wrapClass+" input.gv-search-labels",gvSearchWidget.updateWidgetConfig).on("sortcreate sortupdate sort","."+wrapClass+" table",gvSearchWidget.zebraStripe).on("click",".widget[id*='"+wp_widget_id+"'] input.widget-control-save",gvSearchWidget.saveWidget).on("change","#gravityview_form_id",gvSearchWidget.clearViewSearchData).on("change","#gravityview_view_id",gvSearchWidget.clearWidgetSearchData),$(document).on("widget-added widget-updated",gvSearchWidget.refreshWidget).on("submit","form#post",gvSearchWidget.updateWidgetConfig)},resetWidgetTarget:function(obj){gvSearchWidget.widgetTarget=obj.closest("div.widget").find("div."+gvSearchWidget.wrapClass),gvSearchWidget.selectFields=null},resetWidgetData:function(obj){gvSearchWidget.resetWidgetTarget(obj),$("table",gvSearchWidget.widgetTarget).remove()},openWidget:function(e){var widgetId,target=$(e.target);target.parents(".widget-top").length&&!target.parents("#available-widgets").length&&(e.preventDefault(),widgetId=(e=$(e.target).closest("div.widget")).attr("id"),!e.hasClass("open"))&&0 '+gvGlobals.loading_text+""),gvSearchWidget.getSelectFields(parent)):(table=gvSearchWidget.addTable(),fields&&0===fields.length?gvSearchWidget.addRow(table,null,null):gvSearchWidget.populateRows(table,fields),gvSearchWidget.widgetTarget.is(".gv-widget-search-fields")?gvSearchWidget.widgetTarget.append(table):gvSearchWidget.widgetTarget.find(".gv-setting-container-search_fields").after(table),gvSearchWidget.toggleSearchMode(),gvSearchWidget.widgetTarget.find("table tbody").sortable({start:function(event,ui){$(ui.item).removeClass("alt"),$(ui.item).find(".cell-add-remove").toggle()},stop:function(event,ui){$(ui.item).find(".cell-add-remove").toggle(),gvSearchWidget.updateWidgetConfig(ui.item),gvSearchWidget.triggerWidgetChange(ui.item)}}),gvSearchWidget.updateAvailableFields(),gvSearchWidget.updateWidgetConfig(),$gvloading.remove()))},triggerWidgetChange:function(el){$(el).parents(".widget-content").find("p input").trigger("change")},zebraStripe:function(){$(gvSearchWidget.widgetTarget).find("tr.gv-search-field-row").removeClass("alt").filter(":even").addClass("alt")},populateRows:function(table,fields){var fields=JSON.parse(fields),pos=null;fields&&0!==fields.length?$.each(fields,function(i,values){gvSearchWidget.addRow(table,pos,values),pos=table.find("tbody tr:last")}):gvSearchWidget.addEmptyMsg(table)},addTable:function(){return $('')},addEmptyMsg:function(table){$(table).append(''+gvSearchVar.label_nofields+' '+gvSearchVar.label_addfield+" ")},addRow:function(table,row,curr){var rowString=$(' ').append(' ').append(''+gvSearchWidget.getSelectFields()+" ").append(' ').append(' ').append(' ');null!==row&&row.length?$(row,table).after(rowString):$("tbody",table).append(rowString),table.find("tr.new-row").each(function(){$(this).removeClass("new-row"),null!==curr&&$(this).find("select.gv-search-fields").val(curr.field),null!==curr&&$(this).find(".cell-input-label input").val(curr.label),gvSearchWidget.updateSelectInput($(this)),gvSearchWidget.updatePlaceholder($(this)),null!==curr&&$(this).find("select.gv-search-inputs").val(curr.input),$(this).find("select.gv-search-fields, input.gv-search-labels, select.gv-search-inputs").on("change keyup",gvSearchWidget.updateWidgetConfig),gvSearchWidget.updateWidgetConfig(),gvSearchWidget.triggerWidgetChange(this),$(this).show().removeClass("hide-if-js")}),gvSearchWidget.styleRow(table)},updatePlaceholder:function($row){var $label_input=$row.find(".cell-input-label input"),$row=$row.find("select.gv-search-fields option").filter(":selected"),$row=$row.attr("data-placeholder")?$row.attr("data-placeholder"):$row.text();$label_input.attr("placeholder",$row)},toggleSearchMode:function(){var table_row_count=$("tbody tr",gvSearchWidget.widgetTarget).length,$search_mode_container=$('input[name*="search_mode"]',gvSearchWidget.widgetTarget).parents(".gv-setting-container"),has_date_range=0<$('option:selected[value="date_range"]',gvSearchWidget.widgetTarget).length;$search_mode_container.find("input").each(function(){has_date_range?($(this).prop("disabled",!0),$(this).prop("checked","all"===$(this).val())):$(this).prop("disabled",!1)}),1'+label+"")}),options.join())},getValue:function(obj,key){var value=null;return $.each(obj,function(k,val){if(key===k)return value=val,!1}),value},saveWidget:function(){gvSearchWidget.resetWidgetTarget($(this)),gvSearchWidget.updateWidgetConfig()},updateWidgetConfig:function(e){var widgetTarget,configs=[];e?(widgetTarget=(e.target?$(e.target):e).parents(".gv-widget-search-fields, .gv-fields"),$(".gv-setting-container-search_mode").find("input:checked:disabled").prop("disabled",!1)):widgetTarget=gvSearchWidget.widgetTarget,widgetTarget.find("table tr.gv-search-field-row").each(function(){var row={field:$(this).find("select.gv-search-fields").val(),input:$(this).find("select.gv-search-inputs").val(),label:$(this).find("input.gv-search-labels").val()};configs.push(row)}),$(".gv-search-fields-value",widgetTarget).val(JSON.stringify(configs))},clearViewSearchData:function(){gvSearchWidget.selectFields=null,$(".gv-search-fields-value").each(function(){$(this).parents("."+gvSearchWidget.wrapClass).find("table").remove(),$(this).val(gvSearchWidget.default_search_fields)})},clearWidgetSearchData:function(){gvSearchWidget.resetWidgetData($(this)),gvSearchWidget.widgetTarget.removeData("gvSelectFields"),$(".gv-search-fields-value",gvSearchWidget.widgetTarget).val(gvSearchWidget.default_search_fields);var widget=gvSearchWidget.widgetTarget.closest("div.widget");$(".hide-on-view-change:visible",widget).slideUp(100),""!==$(this).val()&&gvSearchWidget.renderUI(widget)}};$(document).ready(function(){var contextClass=$("body").hasClass("widgets-php")?"gv-widget-search-fields":"gv-dialog-options";gvSearchWidget.init(contextClass)})}(jQuery);
\ No newline at end of file
diff --git a/includes/widgets/search-widget/assets/js/source/admin-search-widget.js b/includes/widgets/search-widget/assets/js/source/admin-search-widget.js
index 514363b49c..1b166d5140 100644
--- a/includes/widgets/search-widget/assets/js/source/admin-search-widget.js
+++ b/includes/widgets/search-widget/assets/js/source/admin-search-widget.js
@@ -530,7 +530,7 @@
var options = gvSearchWidget.getSelectInput( type );
- select.html( options );
+ select.html( options ).trigger( 'change' );
// If there's only one option, disable ability to change it.
select.prop( 'disabled', function () {
diff --git a/readme.txt b/readme.txt
index a49c015f21..48db28db6a 100644
--- a/readme.txt
+++ b/readme.txt
@@ -1,7 +1,7 @@
=== GravityView ===
Tags: gravity forms, directory, gravity forms directory
Requires at least: 4.7
-Tested up to: 6.5.3
+Tested up to: 6.6.0
Requires PHP: 7.2.0
Stable tag: trunk
Contributors: The GravityKit Team
@@ -21,6 +21,32 @@ Beautifully display your Gravity Forms entries. Learn more on [gravitykit.com](h
== Changelog ==
+= 2.26 on August 8, 2024 =
+
+This update resolves various issues, including compatibility with Yoast SEO, improves performance through enhanced View entries caching, and adds new functionality.
+
+#### 🚀 Added
+* Ability to modify the entry creator’s information on the Edit Entry screen.
+* Merge tag modifier for formatting Date and Time fields (e.g., `{Date Field:1:format:Y-m-d}`).
+* Placeholders in View Settings to inform you that additional functionality is available.
+
+#### ✨ Improved
+* The "Sort By" option in the GravityView Gutenberg block now offers a dropdown selection of fields instead of requiring manual entry of the field ID.
+* Caching of View entries to prevent unnecessary database queries. Thanks, Shehroz!
+
+#### 🐛 Fixed
+* Timeout issue when rendering a page/post with GravityView Gutenberg blocks when Yoast SEO is active.
+* View editor fields added to the Single or Edit Entry layouts inheriting options from the View type set in the Multiple Entries layout.
+* An issue in the Search Bar widget configuration where adding a Date field caused the search mode ("any" and "all") to no longer be toggleable.
+* `[gv_entry_link]` shortcode not rendering inside the Custom HTML block.
+
+#### 🔧 Updated
+* [Foundation](https://www.gravitykit.com/foundation/) and [TrustedLogin](https://www.trustedlogin.com/) to versions 1.2.17 and 1.8.0, respectively.
+
+#### 💻 Developer Updates
+* Added: `gk/gravityview/feature/upgrade/disabled` filter to disable the functionality placeholders. Return `true` to disable the placeholders.
+* Added: `gk/gravityview/metabox/content/before` and `gk/gravityview/metabox/content/after` actions, triggered before and after the View metabox is rendered.
+
= 2.25 on June 5, 2024 =
This update improves how entries are automatically marked as "Read" and adds a new View setting to control this functionality.
diff --git a/tests/unit-tests/GravityView_Merge_Tags_Test.php b/tests/unit-tests/GravityView_Merge_Tags_Test.php
index 2dae1db4c1..ba379ca66e 100644
--- a/tests/unit-tests/GravityView_Merge_Tags_Test.php
+++ b/tests/unit-tests/GravityView_Merge_Tags_Test.php
@@ -221,6 +221,22 @@ function test_process_modifiers() {
'raw' => '["Apple", "Orange", "Pear"]',
'expected' => 'Apple Orange Pear',
),
+
+ array(
+ 'modifier' => 'format:F-j-y',
+ 'merge_tag' => 'Date',
+ 'value' => '06/02/2024',
+ 'raw' => '06/02/2024',
+ 'expected' => 'June-2-24',
+ ),
+
+ array(
+ 'modifier' => 'format:g:i..a',
+ 'merge_tag' => 'Time',
+ 'value' => '04:05 pm',
+ 'raw' => '04:05 pm',
+ 'expected' => '4:05..pm',
+ ),
);
// Fake it as it's used for default filters
@@ -229,6 +245,14 @@ function test_process_modifiers() {
foreach ( $tests as $test ) {
$value = isset( $test['value'] ) ? $test['value'] : 'value should not be used';
$merge_tag = isset( $test['merge_tag'] ) ? $test['merge_tag'] : 'merge tag not used';
+ if( isset( $test['merge_tag'] ) && $test['merge_tag'] === 'Time'){
+ $field = new GF_Field_Time();
+ }
+
+ if( isset( $test['merge_tag'] ) && $test['merge_tag'] === 'Date'){
+ $field = new GF_Field_Date();
+ }
+
$value = GravityView_Merge_Tags::process_modifiers( $value, $merge_tag, $test['modifier'], $field, $test['raw'] );
$this->assertEquals( $test['expected'], $value, print_r( $test, true ) );
}
diff --git a/translations.pot b/translations.pot
index 8f4a9b6931..dcf1829199 100644
--- a/translations.pot
+++ b/translations.pot
@@ -9,14 +9,13 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"POT-Creation-Date: 2024-06-05T21:56:50+00:00\n"
+"POT-Creation-Date: 2024-07-22T23:33:25+00:00\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"X-Generator: WP-CLI 2.10.0\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Domain: gk-gravityview\n"
#. Plugin Name of the plugin
-#: gravityview.php
#: future/includes/gutenberg/class-gv-gutenberg-blocks.php:165
#: includes/class-gravityview-admin-bar.php:60
#: includes/class-gravityview-roles-capabilities.php:149
@@ -26,17 +25,14 @@ msgstr ""
#. Plugin URI of the plugin
#. Author URI of the plugin
-#: gravityview.php
msgid "https://www.gravitykit.com"
msgstr ""
#. Description of the plugin
-#: gravityview.php
msgid "The best, easiest way to display Gravity Forms entries on your website."
msgstr ""
#. Author of the plugin
-#: gravityview.php
#: vendor_prefixed/gravitykit/foundation/src/Licenses/WP/PluginsPage.php:402
#: vendor_prefixed/gravitykit/foundation/src/WP/AdminMenu.php:163
#: vendor_prefixed/gravitykit/foundation/src/WP/AdminMenu.php:164
@@ -190,7 +186,7 @@ msgstr ""
#: includes/admin/metaboxes/views/view-configuration.php:95
#: includes/admin/metaboxes/views/view-configuration.php:213
#: includes/admin/metaboxes/views/view-configuration.php:214
-#: includes/class-admin-views.php:1427
+#: includes/class-admin-views.php:1428
#: includes/class-frontend-views.php:685
#: includes/class-gravityview-admin-bar.php:111
#: includes/class-gravityview-entry-link-shortcode.php:246
@@ -266,7 +262,7 @@ msgstr ""
#: includes/class-gravityview-entry-approval-merge-tags.php:92
#: includes/plugin-and-theme-hooks/class-gravityview-plugin-hooks-gravity-forms-advanced-post-creation.php:123
#: includes/plugin-and-theme-hooks/class-gravityview-plugin-hooks-lifterlms.php:81
-#: vendor_prefixed/trustedlogin/client/src/Form.php:1160
+#: vendor_prefixed/trustedlogin/client/src/Form.php:1312
msgid "(This link opens in a new window.)"
msgstr ""
@@ -1480,12 +1476,12 @@ msgstr ""
#: includes/admin/metaboxes/views/direct-access-status.php:98
#: includes/class-admin-add-shortcode.php:140
-#: includes/class-admin-views.php:1527
+#: includes/class-admin-views.php:1528
#: includes/extensions/edit-entry/class-edit-entry-locking.php:283
#: includes/extensions/edit-entry/class-edit-entry-render.php:1192
#: includes/extensions/edit-entry/class-edit-entry-render.php:1325
#: vendor_prefixed/gravitykit/foundation/src/translations.js.php:99
-#: vendor_prefixed/trustedlogin/client/src/Form.php:1153
+#: vendor_prefixed/trustedlogin/client/src/Form.php:1305
msgid "Cancel"
msgstr ""
@@ -1544,7 +1540,7 @@ msgstr ""
#: includes/admin/metaboxes/views/shortcode-hint.php:20
#: includes/class-admin-views.php:516
-#: vendor_prefixed/trustedlogin/client/src/Form.php:1157
+#: vendor_prefixed/trustedlogin/client/src/Form.php:1309
msgid "Copied!"
msgstr ""
@@ -1615,14 +1611,14 @@ msgstr ""
msgid "These widgets will be shown below entries."
msgstr ""
-#. translators: %1$s is the vendor title
+#. translators: %1$s is the vendor title.
#: includes/admin/metaboxes/views/view-configuration.php:148
-#: includes/class-admin-views.php:1299
-#: includes/class-admin-views.php:1526
+#: includes/class-admin-views.php:1300
+#: includes/class-admin-views.php:1527
#: includes/extensions/lightbox/fancybox/class-gravityview-lightbox-provider-fancybox.php:74
#: vendor_prefixed/gravitykit/foundation/src/Integrations/HelpScout.php:216
#: vendor_prefixed/gravitykit/foundation/src/translations.js.php:24
-#: vendor_prefixed/trustedlogin/client/src/Form.php:1152
+#: vendor_prefixed/trustedlogin/client/src/Form.php:1304
msgid "Close"
msgstr ""
@@ -1692,7 +1688,7 @@ msgid "(no title)"
msgstr ""
#: includes/class-admin-add-shortcode.php:186
-#: includes/class-admin-views.php:1531
+#: includes/class-admin-views.php:1532
msgid "Loading…"
msgstr ""
@@ -1848,86 +1844,86 @@ msgstr ""
msgid "Clear all fields"
msgstr ""
-#: includes/class-admin-views.php:1212
+#: includes/class-admin-views.php:1213
#: includes/widgets/search-widget/class-search-widget.php:131
msgid "Search Bar"
msgstr ""
-#: includes/class-admin-views.php:1222
+#: includes/class-admin-views.php:1223
#: includes/widgets/class-gravityview-widget-pagination-info.php:31
msgid "Show Pagination Info"
msgstr ""
-#: includes/class-admin-views.php:1228
-#: includes/class-admin-views.php:1235
+#: includes/class-admin-views.php:1229
+#: includes/class-admin-views.php:1236
#: includes/widgets/class-gravityview-widget-page-links.php:30
msgid "Page Links"
msgstr ""
-#: includes/class-admin-views.php:1302
+#: includes/class-admin-views.php:1303
msgid "Filter Fields:"
msgstr ""
-#: includes/class-admin-views.php:1303
+#: includes/class-admin-views.php:1304
msgid "Filter fields by name or label"
msgstr ""
-#: includes/class-admin-views.php:1314
+#: includes/class-admin-views.php:1315
msgid "No fields were found matching the search."
msgstr ""
-#: includes/class-admin-views.php:1351
+#: includes/class-admin-views.php:1352
msgid "This View is configured using the %s View type, which is disabled."
msgstr ""
-#: includes/class-admin-views.php:1352
+#: includes/class-admin-views.php:1353
msgid "The data is not lost; re-activate the associated plugin and the configuration will re-appear."
msgstr ""
-#: includes/class-admin-views.php:1428
+#: includes/class-admin-views.php:1429
#: includes/fields/class-gravityview-field-edit-link.php:32
msgid "Link to Edit Entry"
msgstr ""
-#: includes/class-admin-views.php:1522
+#: includes/class-admin-views.php:1523
msgid "Enter View name here"
msgstr ""
-#: includes/class-admin-views.php:1523
+#: includes/class-admin-views.php:1524
msgid "Reorder Search Fields"
msgstr ""
-#: includes/class-admin-views.php:1524
+#: includes/class-admin-views.php:1525
#: includes/widgets/search-widget/class-search-widget.php:311
msgid "Add Search Field"
msgstr ""
-#: includes/class-admin-views.php:1525
+#: includes/class-admin-views.php:1526
msgid "Remove Search Field"
msgstr ""
-#: includes/class-admin-views.php:1528
+#: includes/class-admin-views.php:1529
msgid "Continue"
msgstr ""
-#: includes/class-admin-views.php:1529
-#: vendor_prefixed/trustedlogin/client/src/Form.php:1149
+#: includes/class-admin-views.php:1530
+#: vendor_prefixed/trustedlogin/client/src/Form.php:1301
msgid "Ok"
msgstr ""
-#: includes/class-admin-views.php:1530
+#: includes/class-admin-views.php:1531
msgid "Error while creating the View for you. Check the settings or contact GravityView support."
msgstr ""
-#: includes/class-admin-views.php:1532
+#: includes/class-admin-views.php:1533
msgid "There was an error loading dynamic content."
msgstr ""
-#: includes/class-admin-views.php:1533
+#: includes/class-admin-views.php:1534
msgid "Error while adding the field. Please try again or contact GravityView support."
msgstr ""
-#: includes/class-admin-views.php:1534
+#: includes/class-admin-views.php:1535
msgid "Would you like to remove all fields in this zone?"
msgstr ""
@@ -2252,7 +2248,7 @@ msgstr ""
#: includes/class-gravityview-change-entry-creator.php:164
#: includes/extensions/edit-entry/class-edit-entry-locking.php:288
-#: vendor_prefixed/trustedlogin/client/src/Form.php:1301
+#: vendor_prefixed/trustedlogin/client/src/Form.php:1457
msgid "Error"
msgstr ""
@@ -5364,7 +5360,7 @@ msgid "[name] joined the chat"
msgstr ""
#: vendor_prefixed/gravitykit/foundation/src/Integrations/TrustedLogin.php:114
-#: vendor_prefixed/trustedlogin/client/src/Admin.php:198
+#: vendor_prefixed/trustedlogin/client/src/Admin.php:305
msgid "Grant Support Access"
msgstr ""
@@ -5382,8 +5378,8 @@ msgid "Unable to process remote request. Invalid response body."
msgstr ""
#: vendor_prefixed/gravitykit/foundation/src/Licenses/LicenseManager.php:141
-#: vendor_prefixed/gravitykit/foundation/src/Licenses/LicenseManager.php:446
-#: vendor_prefixed/gravitykit/foundation/src/Licenses/LicenseManager.php:471
+#: vendor_prefixed/gravitykit/foundation/src/Licenses/LicenseManager.php:447
+#: vendor_prefixed/gravitykit/foundation/src/Licenses/LicenseManager.php:472
#: vendor_prefixed/gravitykit/foundation/src/Licenses/ProductManager.php:177
#: vendor_prefixed/gravitykit/foundation/src/Licenses/ProductManager.php:320
#: vendor_prefixed/gravitykit/foundation/src/Licenses/ProductManager.php:452
@@ -5427,29 +5423,29 @@ msgstr ""
msgid "License status could not be determined."
msgstr ""
-#: vendor_prefixed/gravitykit/foundation/src/Licenses/LicenseManager.php:340
+#: vendor_prefixed/gravitykit/foundation/src/Licenses/LicenseManager.php:341
msgid "License data received from the API is incomplete."
msgstr ""
-#: vendor_prefixed/gravitykit/foundation/src/Licenses/LicenseManager.php:450
-#: vendor_prefixed/gravitykit/foundation/src/Licenses/LicenseManager.php:529
+#: vendor_prefixed/gravitykit/foundation/src/Licenses/LicenseManager.php:451
+#: vendor_prefixed/gravitykit/foundation/src/Licenses/LicenseManager.php:530
msgid "Missing license key."
msgstr ""
-#: vendor_prefixed/gravitykit/foundation/src/Licenses/LicenseManager.php:477
+#: vendor_prefixed/gravitykit/foundation/src/Licenses/LicenseManager.php:478
#: vendor_prefixed/gravitykit/foundation/src/translations.js.php:27
msgid "This license is already activated."
msgstr ""
-#: vendor_prefixed/gravitykit/foundation/src/Licenses/LicenseManager.php:537
+#: vendor_prefixed/gravitykit/foundation/src/Licenses/LicenseManager.php:538
msgid "The license key is invalid."
msgstr ""
-#: vendor_prefixed/gravitykit/foundation/src/Licenses/LicenseManager.php:568
+#: vendor_prefixed/gravitykit/foundation/src/Licenses/LicenseManager.php:569
msgid "Failed to deactivate license."
msgstr ""
-#: vendor_prefixed/gravitykit/foundation/src/Licenses/LicenseManager.php:608
+#: vendor_prefixed/gravitykit/foundation/src/Licenses/LicenseManager.php:609
msgctxt "Indicates \"time ago\""
msgid "ago"
msgstr ""
@@ -5827,10 +5823,10 @@ msgstr ""
msgid "Deactivate"
msgstr ""
-#. translators: %1$s is the vendor title
+#. translators: %1$s is the vendor title.
#: vendor_prefixed/gravitykit/foundation/src/translations.js.php:41
-#: vendor_prefixed/trustedlogin/client/src/Form.php:1156
-#: vendor_prefixed/trustedlogin/client/src/Form.php:1333
+#: vendor_prefixed/trustedlogin/client/src/Form.php:1308
+#: vendor_prefixed/trustedlogin/client/src/Form.php:1488
msgid "Copy"
msgstr ""
@@ -6347,415 +6343,414 @@ msgstr ""
msgid "Select All"
msgstr ""
-#: vendor_prefixed/trustedlogin/client/src/Admin.php:126
-#: vendor_prefixed/trustedlogin/client/src/Admin.php:166
-#: vendor_prefixed/trustedlogin/client/src/Form.php:235
+#: vendor_prefixed/trustedlogin/client/src/Admin.php:226
+#: vendor_prefixed/trustedlogin/client/src/Admin.php:267
+#: vendor_prefixed/trustedlogin/client/src/Form.php:275
msgid "Revoke Access"
msgstr ""
-#: vendor_prefixed/trustedlogin/client/src/Admin.php:171
+#: vendor_prefixed/trustedlogin/client/src/Admin.php:272
msgid "You are logged in as a support user. Click to permanently revoke access."
msgstr ""
-#: vendor_prefixed/trustedlogin/client/src/Ajax.php:97
+#: vendor_prefixed/trustedlogin/client/src/Ajax.php:108
msgid "Verification issue: Request could not be verified. Please reload the page."
msgstr ""
-#: vendor_prefixed/trustedlogin/client/src/Ajax.php:104
+#: vendor_prefixed/trustedlogin/client/src/Ajax.php:114
msgid "You do not have the ability to create users."
msgstr ""
-#: vendor_prefixed/trustedlogin/client/src/Client.php:324
-#: vendor_prefixed/trustedlogin/client/src/Client.php:454
+#: vendor_prefixed/trustedlogin/client/src/Client.php:341
+#: vendor_prefixed/trustedlogin/client/src/Client.php:476
msgid "TrustedLogin requires a secure connection using HTTPS."
msgstr ""
-#: vendor_prefixed/trustedlogin/client/src/Client.php:577
+#: vendor_prefixed/trustedlogin/client/src/Client.php:624
msgid "The support user was not deleted."
msgstr ""
-#: vendor_prefixed/trustedlogin/client/src/Encryption.php:311
+#: vendor_prefixed/trustedlogin/client/src/Encryption.php:342
msgid "Encryption key could not be fetched, Vendor site returned 404."
msgstr ""
#. translators: %s is the ID of the user who created the support session. The user can't be found; only the User ID is known.
-#: vendor_prefixed/trustedlogin/client/src/Form.php:222
+#: vendor_prefixed/trustedlogin/client/src/Form.php:262
msgid "Unknown (User #%d)"
msgstr ""
-#. translators: %s is the display name of the user who granted access
-#: vendor_prefixed/trustedlogin/client/src/Form.php:237
-msgid "Created %s ago by %s"
+#. translators: %s is the display name of the user who granted access.
+#: vendor_prefixed/trustedlogin/client/src/Form.php:277
+msgid "Created %1$s ago by %2$s"
msgstr ""
-#: vendor_prefixed/trustedlogin/client/src/Form.php:263
-#: vendor_prefixed/trustedlogin/client/src/Form.php:1072
+#: vendor_prefixed/trustedlogin/client/src/Form.php:303
+#: vendor_prefixed/trustedlogin/client/src/Form.php:1224
msgid "Secured by TrustedLogin"
msgstr ""
-#: vendor_prefixed/trustedlogin/client/src/Form.php:349
+#: vendor_prefixed/trustedlogin/client/src/Form.php:397
msgid "Terms of Service"
msgstr ""
-#: vendor_prefixed/trustedlogin/client/src/Form.php:365
+#: vendor_prefixed/trustedlogin/client/src/Form.php:413
msgid "By granting access, you agree to the {{tos_link}}."
msgstr ""
-#. translators: %s is the reference ID
-#: vendor_prefixed/trustedlogin/client/src/Form.php:406
+#. translators: %s is the reference ID.
+#: vendor_prefixed/trustedlogin/client/src/Form.php:454
msgid "Reference #%s"
msgstr ""
-#. translators: %1$s is replaced with the name of the software developer (e.g. "Acme Widgets"). %2$s is the amount of time remaining for access ("1 week")
-#: vendor_prefixed/trustedlogin/client/src/Form.php:422
+#. translators: %1$s is replaced with the name of the software developer (e.g. "Acme Widgets"). %2$s is the amount of time remaining for access ("1 week").
+#: vendor_prefixed/trustedlogin/client/src/Form.php:476
msgid "%1$s has site access that expires in %2$s."
msgstr ""
-#. translators: %1$s is replaced with the name of the software developer (e.g. "Acme Widgets")
-#: vendor_prefixed/trustedlogin/client/src/Form.php:430
+#. translators: %1$s is replaced with the name of the software developer (e.g. "Acme Widgets").
+#: vendor_prefixed/trustedlogin/client/src/Form.php:484
msgid "%1$s would like support access to this site."
msgstr ""
-#. translators: %1$s is replaced with the name of the software developer (e.g. "Acme Widgets")
-#: vendor_prefixed/trustedlogin/client/src/Form.php:433
+#. translators: %1$s is replaced with the name of the software developer (e.g. "Acme Widgets").
+#: vendor_prefixed/trustedlogin/client/src/Form.php:487
msgid "Grant %1$s access to this site."
msgstr ""
-#: vendor_prefixed/trustedlogin/client/src/Form.php:505
+#: vendor_prefixed/trustedlogin/client/src/Form.php:565
msgid "Include a message for support?"
msgstr ""
-#: vendor_prefixed/trustedlogin/client/src/Form.php:518
+#: vendor_prefixed/trustedlogin/client/src/Form.php:580
msgid "Please describe the issue you are having."
msgstr ""
-#. translators: %s is replaced with the of time that the login will be active for (e.g. "1 week")
-#: vendor_prefixed/trustedlogin/client/src/Form.php:542
+#. translators: %s is replaced with the of time that the login will be active for (e.g. "1 week").
+#: vendor_prefixed/trustedlogin/client/src/Form.php:607
msgid "Access this site for %s."
msgstr ""
-#. translators: %s is replaced by the amount of time that the login will be active for (e.g. "1 week")
-#: vendor_prefixed/trustedlogin/client/src/Form.php:545
+#. translators: %s is replaced by the amount of time that the login will be active for (e.g. "1 week").
+#: vendor_prefixed/trustedlogin/client/src/Form.php:610
msgid "Access auto-expires in %s. You may revoke access at any time."
msgstr ""
-#. translators: %s is replaced with the name of the role (e.g. "Administrator")
-#: vendor_prefixed/trustedlogin/client/src/Form.php:552
+#. translators: %s is replaced with the name of the role (e.g. "Administrator").
+#: vendor_prefixed/trustedlogin/client/src/Form.php:617
msgid "Create a user with a role based on %s."
msgstr ""
-#: vendor_prefixed/trustedlogin/client/src/Form.php:555
+#: vendor_prefixed/trustedlogin/client/src/Form.php:620
msgid "View modified role capabilities"
msgstr ""
-#. translators: %s is replaced with the name of the role (e.g. "Administrator")
-#: vendor_prefixed/trustedlogin/client/src/Form.php:561
+#. translators: %s is replaced with the name of the role (e.g. "Administrator").
+#: vendor_prefixed/trustedlogin/client/src/Form.php:625
msgid "Create a user with a role of %s."
msgstr ""
-#. translators: [link] and [/link] are replaced with a link to the Site Health page. Do not translate.
-#: vendor_prefixed/trustedlogin/client/src/Form.php:589
+#: vendor_prefixed/trustedlogin/client/src/Form.php:656
msgid "Include the [link]Site Health[/link] troubleshooting report"
msgstr ""
-#: vendor_prefixed/trustedlogin/client/src/Form.php:612
+#: vendor_prefixed/trustedlogin/client/src/Form.php:682
msgid "Additional capabilities:"
msgstr ""
-#: vendor_prefixed/trustedlogin/client/src/Form.php:613
+#: vendor_prefixed/trustedlogin/client/src/Form.php:683
msgid "Removed capabilities:"
msgstr ""
-#. translators: %s is replaced with the name of the software developer (e.g. "Acme Widgets")
-#: vendor_prefixed/trustedlogin/client/src/Form.php:683
+#. translators: %s is replaced with the name of the software developer (e.g. "Acme Widgets").
+#: vendor_prefixed/trustedlogin/client/src/Form.php:753
msgid "%s support may not be able to access this site."
msgstr ""
-#. translators: %s is replaced with the name of the software developer (e.g. "Acme Widgets")
-#: vendor_prefixed/trustedlogin/client/src/Form.php:684
+#. translators: %s is replaced with the name of the software developer (e.g. "Acme Widgets").
+#: vendor_prefixed/trustedlogin/client/src/Form.php:754
msgid "This website is running in a local development environment. To provide support, we must be able to access your site using a publicly-accessible URL."
msgstr ""
-#: vendor_prefixed/trustedlogin/client/src/Form.php:686
+#: vendor_prefixed/trustedlogin/client/src/Form.php:756
msgid "Learn more."
msgstr ""
-#: vendor_prefixed/trustedlogin/client/src/Form.php:736
+#: vendor_prefixed/trustedlogin/client/src/Form.php:809
msgid "Learn about TrustedLogin"
msgstr ""
-#: vendor_prefixed/trustedlogin/client/src/Form.php:792
+#: vendor_prefixed/trustedlogin/client/src/Form.php:866
msgid "TrustedLogin Status"
msgstr ""
-#: vendor_prefixed/trustedlogin/client/src/Form.php:792
+#: vendor_prefixed/trustedlogin/client/src/Form.php:866
msgid "Offline"
msgstr ""
-#: vendor_prefixed/trustedlogin/client/src/Form.php:792
+#: vendor_prefixed/trustedlogin/client/src/Form.php:866
msgid "Online"
msgstr ""
-#: vendor_prefixed/trustedlogin/client/src/Form.php:793
+#: vendor_prefixed/trustedlogin/client/src/Form.php:867
msgid "API Key"
msgstr ""
-#: vendor_prefixed/trustedlogin/client/src/Form.php:794
+#: vendor_prefixed/trustedlogin/client/src/Form.php:868
msgid "License Key"
msgstr ""
-#: vendor_prefixed/trustedlogin/client/src/Form.php:795
+#: vendor_prefixed/trustedlogin/client/src/Form.php:869
msgid "Log URL"
msgstr ""
-#: vendor_prefixed/trustedlogin/client/src/Form.php:795
+#: vendor_prefixed/trustedlogin/client/src/Form.php:869
msgid "Download the log"
msgstr ""
-#: vendor_prefixed/trustedlogin/client/src/Form.php:796
+#: vendor_prefixed/trustedlogin/client/src/Form.php:870
msgid "Log Level"
msgstr ""
-#: vendor_prefixed/trustedlogin/client/src/Form.php:796
+#: vendor_prefixed/trustedlogin/client/src/Form.php:870
msgid "(Default)"
msgstr ""
-#: vendor_prefixed/trustedlogin/client/src/Form.php:797
+#: vendor_prefixed/trustedlogin/client/src/Form.php:871
msgid "Webhook URL"
msgstr ""
-#: vendor_prefixed/trustedlogin/client/src/Form.php:798
+#: vendor_prefixed/trustedlogin/client/src/Form.php:872
msgid "Vendor Public Key"
msgstr ""
-#: vendor_prefixed/trustedlogin/client/src/Form.php:798
+#: vendor_prefixed/trustedlogin/client/src/Form.php:872
msgid "Verify key"
msgstr ""
-#: vendor_prefixed/trustedlogin/client/src/Form.php:816
+#: vendor_prefixed/trustedlogin/client/src/Form.php:892
msgid "Debugging Info"
msgstr ""
-#: vendor_prefixed/trustedlogin/client/src/Form.php:818
+#: vendor_prefixed/trustedlogin/client/src/Form.php:894
msgid "TrustedLogin Config"
msgstr ""
-#. translators: %s is replaced with the name of the software developer (e.g. "Acme Widgets")
-#: vendor_prefixed/trustedlogin/client/src/Form.php:1011
+#. translators: %s is replaced with the name of the software developer (e.g. "Acme Widgets").
+#: vendor_prefixed/trustedlogin/client/src/Form.php:1163
msgid "Grant %s Access"
msgstr ""
-#. translators: %s is replaced with the name of the software developer (e.g. "Acme Widgets")
-#: vendor_prefixed/trustedlogin/client/src/Form.php:1013
+#. translators: %s is replaced with the name of the software developer (e.g. "Acme Widgets").
+#: vendor_prefixed/trustedlogin/client/src/Form.php:1165
msgid "Extend %s Access"
msgstr ""
-#: vendor_prefixed/trustedlogin/client/src/Form.php:1126
+#: vendor_prefixed/trustedlogin/client/src/Form.php:1278
msgid "Could not create TrustedLogin access."
msgstr ""
-#. translators: %s is replaced with the name of the software developer (e.g. "Acme Widgets")
-#: vendor_prefixed/trustedlogin/client/src/Form.php:1135
+#. translators: %s is replaced with the name of the software developer (e.g. "Acme Widgets").
+#: vendor_prefixed/trustedlogin/client/src/Form.php:1287
msgid "The user details could not be sent to %1$s automatically."
msgstr ""
-#. translators: %1$s is the vendor support url and %2$s is the vendor title
-#: vendor_prefixed/trustedlogin/client/src/Form.php:1140
+#. translators: %1$s is the vendor support url and %2$s is the vendor title.
+#: vendor_prefixed/trustedlogin/client/src/Form.php:1292
msgid "Please click here to go to the %2$s support site"
msgstr ""
-#: vendor_prefixed/trustedlogin/client/src/Form.php:1148
+#: vendor_prefixed/trustedlogin/client/src/Form.php:1300
msgid "Confirm"
msgstr ""
-#. translators: %1$s is the vendor title
-#: vendor_prefixed/trustedlogin/client/src/Form.php:1151
+#. translators: %1$s is the vendor title.
+#: vendor_prefixed/trustedlogin/client/src/Form.php:1303
msgid "Go to %1$s support site"
msgstr ""
-#. translators: %1$s is the vendor title
-#: vendor_prefixed/trustedlogin/client/src/Form.php:1155
+#. translators: %1$s is the vendor title.
+#: vendor_prefixed/trustedlogin/client/src/Form.php:1307
msgid "Revoke %1$s support access"
msgstr ""
-#: vendor_prefixed/trustedlogin/client/src/Form.php:1161
+#: vendor_prefixed/trustedlogin/client/src/Form.php:1313
msgid "The access key has been copied to your clipboard."
msgstr ""
-#: vendor_prefixed/trustedlogin/client/src/Form.php:1165
+#: vendor_prefixed/trustedlogin/client/src/Form.php:1317
msgid "Support access granted"
msgstr ""
-#. translators: %1$s is the vendor title
-#: vendor_prefixed/trustedlogin/client/src/Form.php:1168
+#. translators: %1$s is the vendor title.
+#: vendor_prefixed/trustedlogin/client/src/Form.php:1320
msgid "A temporary support user has been created, and sent to %1$s support."
msgstr ""
-#. translators: %1$s is the vendor title
-#: vendor_prefixed/trustedlogin/client/src/Form.php:1174
+#. translators: %1$s is the vendor title.
+#: vendor_prefixed/trustedlogin/client/src/Form.php:1326
msgid "Generating & encrypting secure support access for %1$s"
msgstr ""
-#. translators: %1$s is the vendor title and %2$s is the human-readable expiration time (for example, "1 week")
-#: vendor_prefixed/trustedlogin/client/src/Form.php:1178
+#. translators: %1$s is the vendor title and %2$s is the human-readable expiration time (for example, "1 week").
+#: vendor_prefixed/trustedlogin/client/src/Form.php:1330
msgid "Extending support access for %1$s by %2$s"
msgstr ""
-#. translators: %1$s is the vendor title
-#: vendor_prefixed/trustedlogin/client/src/Form.php:1182
+#. translators: %1$s is the vendor title.
+#: vendor_prefixed/trustedlogin/client/src/Form.php:1334
msgid "Sending encrypted access to %1$s."
msgstr ""
-#. translators: %1$s is the vendor title
-#: vendor_prefixed/trustedlogin/client/src/Form.php:1186
+#. translators: %1$s is the vendor title.
+#: vendor_prefixed/trustedlogin/client/src/Form.php:1338
msgid "Error syncing support user to %1$s"
msgstr ""
-#: vendor_prefixed/trustedlogin/client/src/Form.php:1197
+#: vendor_prefixed/trustedlogin/client/src/Form.php:1352
msgid "Action Cancelled"
msgstr ""
-#. translators: %1$s is the vendor title
-#: vendor_prefixed/trustedlogin/client/src/Form.php:1200
+#. translators: %1$s is the vendor title.
+#: vendor_prefixed/trustedlogin/client/src/Form.php:1355
msgid "A support account for %1$s was not created."
msgstr ""
-#: vendor_prefixed/trustedlogin/client/src/Form.php:1205
+#: vendor_prefixed/trustedlogin/client/src/Form.php:1360
msgid "Support Access Was Not Granted"
msgstr ""
-#: vendor_prefixed/trustedlogin/client/src/Form.php:1206
+#: vendor_prefixed/trustedlogin/client/src/Form.php:1361
msgid "There was an error granting access: "
msgstr ""
-#: vendor_prefixed/trustedlogin/client/src/Form.php:1209
+#: vendor_prefixed/trustedlogin/client/src/Form.php:1364
msgid "Your authorized session has expired. Please refresh the page."
msgstr ""
-#: vendor_prefixed/trustedlogin/client/src/Form.php:1212
+#: vendor_prefixed/trustedlogin/client/src/Form.php:1367
msgid "TrustedLogin Key Created"
msgstr ""
-#. translators: %1$s is the vendor title
-#: vendor_prefixed/trustedlogin/client/src/Form.php:1215
+#. translators: %1$s is the vendor title.
+#: vendor_prefixed/trustedlogin/client/src/Form.php:1370
msgid "Share this TrustedLogin Key with %1$s to give them secure access:"
msgstr ""
-#: vendor_prefixed/trustedlogin/client/src/Form.php:1221
+#: vendor_prefixed/trustedlogin/client/src/Form.php:1376
msgid "The TrustedLogin vendor could not be found."
msgstr ""
-#. translators: %1$s is the vendor title
-#: vendor_prefixed/trustedlogin/client/src/Form.php:1227
+#. translators: %1$s is the vendor title.
+#: vendor_prefixed/trustedlogin/client/src/Form.php:1382
msgid "%1$s Support user already exists"
msgstr ""
-#. translators: %1$s is the vendor title, %2$s is the URL to the users list page
-#: vendor_prefixed/trustedlogin/client/src/Form.php:1233
+#. translators: %1$s is the vendor title, %2$s is the URL to the users list page.
+#: vendor_prefixed/trustedlogin/client/src/Form.php:1388
msgid "A support user for %1$s already exists. You may revoke this support access from your Users list ."
msgstr ""
-#. translators: %s is replaced with the name of the software developer (e.g. "Acme Widgets")
-#: vendor_prefixed/trustedlogin/client/src/Form.php:1275
+#. translators: %s is replaced with the name of the software developer (e.g. "Acme Widgets").
+#: vendor_prefixed/trustedlogin/client/src/Form.php:1431
msgid "No %s users exist."
msgstr ""
-#: vendor_prefixed/trustedlogin/client/src/Form.php:1305
+#: vendor_prefixed/trustedlogin/client/src/Form.php:1461
msgid "There was an error returning the access key."
msgstr ""
-#: vendor_prefixed/trustedlogin/client/src/Form.php:1327
+#: vendor_prefixed/trustedlogin/client/src/Form.php:1482
msgid "Site access key:"
msgstr ""
-#: vendor_prefixed/trustedlogin/client/src/Form.php:1329
+#: vendor_prefixed/trustedlogin/client/src/Form.php:1484
msgid "Access Key"
msgstr ""
-#: vendor_prefixed/trustedlogin/client/src/Form.php:1337
+#: vendor_prefixed/trustedlogin/client/src/Form.php:1492
msgid "Copy the access key to your clipboard"
msgstr ""
#. translators: %s is the display name of the TrustedLogin support user.
-#: vendor_prefixed/trustedlogin/client/src/Form.php:1340
+#: vendor_prefixed/trustedlogin/client/src/Form.php:1495
msgid "The access key is not a password; only %1$s will be able to access your site using this code. You may share this access key on support forums."
msgstr ""
-#. translators: %s is replaced with the name of the software developer (e.g. "Acme Widgets")
-#: vendor_prefixed/trustedlogin/client/src/Form.php:1373
+#. translators: %s is replaced with the name of the software developer (e.g. "Acme Widgets").
+#: vendor_prefixed/trustedlogin/client/src/Form.php:1529
msgid "%s access revoked."
msgstr ""
-#: vendor_prefixed/trustedlogin/client/src/Form.php:1376
+#: vendor_prefixed/trustedlogin/client/src/Form.php:1533
msgid "You may safely close this window."
msgstr ""
-#: vendor_prefixed/trustedlogin/client/src/Remote.php:248
+#: vendor_prefixed/trustedlogin/client/src/Remote.php:269
msgid "Unable to verify Pause Mode."
msgstr ""
-#: vendor_prefixed/trustedlogin/client/src/Remote.php:251
+#: vendor_prefixed/trustedlogin/client/src/Remote.php:272
msgid "Authentication failed."
msgstr ""
-#: vendor_prefixed/trustedlogin/client/src/Remote.php:254
+#: vendor_prefixed/trustedlogin/client/src/Remote.php:275
msgid "TrustedLogin account issue."
msgstr ""
-#: vendor_prefixed/trustedlogin/client/src/Remote.php:257
+#: vendor_prefixed/trustedlogin/client/src/Remote.php:278
msgid "Invalid tokens."
msgstr ""
-#: vendor_prefixed/trustedlogin/client/src/Remote.php:261
+#: vendor_prefixed/trustedlogin/client/src/Remote.php:282
msgid "The TrustedLogin vendor was not found."
msgstr ""
-#: vendor_prefixed/trustedlogin/client/src/Remote.php:271
+#: vendor_prefixed/trustedlogin/client/src/Remote.php:292
msgid "The TrustedLogin site is not currently online."
msgstr ""
-#: vendor_prefixed/trustedlogin/client/src/Remote.php:277
+#: vendor_prefixed/trustedlogin/client/src/Remote.php:298
msgid "The TrustedLogin site is not currently available."
msgstr ""
-#: vendor_prefixed/trustedlogin/client/src/Remote.php:281
-#: vendor_prefixed/trustedlogin/client/src/Remote.php:324
+#: vendor_prefixed/trustedlogin/client/src/Remote.php:302
+#: vendor_prefixed/trustedlogin/client/src/Remote.php:347
msgid "Invalid response."
msgstr ""
-#: vendor_prefixed/trustedlogin/client/src/Remote.php:318
+#: vendor_prefixed/trustedlogin/client/src/Remote.php:341
msgid "The response was invalid."
msgstr ""
-#. translators: %s is the name of the missing data from the server
-#: vendor_prefixed/trustedlogin/client/src/Remote.php:343
+#. translators: %s is the name of the missing data from the server.
+#: vendor_prefixed/trustedlogin/client/src/Remote.php:365
msgid "Invalid response. Missing key: %s"
msgstr ""
-#: vendor_prefixed/trustedlogin/client/src/SecurityChecks.php:89
+#: vendor_prefixed/trustedlogin/client/src/SecurityChecks.php:118
msgid "TrustedLogin temporarily disabled."
msgstr ""
-#. translators: %s is the error message
-#: vendor_prefixed/trustedlogin/client/src/SecurityChecks.php:118
+#. translators: %s is the error message.
+#: vendor_prefixed/trustedlogin/client/src/SecurityChecks.php:145
msgid "There was an issue verifying the user identifier with TrustedLogin, aborting login. (%s)"
msgstr ""
-#: vendor_prefixed/trustedlogin/client/src/SiteAccess.php:61
+#: vendor_prefixed/trustedlogin/client/src/SiteAccess.php:73
msgid "Unexpected action value"
msgstr ""
-#: vendor_prefixed/trustedlogin/client/src/SiteAccess.php:92
+#: vendor_prefixed/trustedlogin/client/src/SiteAccess.php:104
msgid "Could not sync to TrustedLogin server"
msgstr ""
-#. translators: %s is replaced with the name of the software developer (e.g. "Acme Widgets")
-#: vendor_prefixed/trustedlogin/client/src/SupportRole.php:245
-#: vendor_prefixed/trustedlogin/client/src/SupportUser.php:240
+#. translators: %s is replaced with the name of the software developer (e.g. "Acme Widgets").
+#: vendor_prefixed/trustedlogin/client/src/SupportRole.php:271
+#: vendor_prefixed/trustedlogin/client/src/SupportUser.php:270
msgid "%s Support"
msgstr ""
-#: vendor_prefixed/trustedlogin/client/src/SupportUser.php:203
+#: vendor_prefixed/trustedlogin/client/src/SupportUser.php:233
msgid "User not created; User with that email already exists"
msgstr ""
@@ -7093,83 +7088,3 @@ msgstr ""
#: future/includes/gutenberg/shared/js/server-side-render.js:171
msgid "The block did not render any content."
msgstr ""
-
-#: future/includes/gutenberg/blocks/entry-field/block.json
-msgctxt "block title"
-msgid "GravityView Entry Field"
-msgstr ""
-
-#: future/includes/gutenberg/blocks/entry-field/block.json
-msgctxt "block description"
-msgid "Display an entry field value."
-msgstr ""
-
-#: future/includes/gutenberg/blocks/entry-field/block.json
-#: future/includes/gutenberg/blocks/entry-link/block.json
-#: future/includes/gutenberg/blocks/entry/block.json
-#: future/includes/gutenberg/blocks/view-details/block.json
-#: future/includes/gutenberg/blocks/view/block.json
-msgctxt "block keyword"
-msgid "GravityView"
-msgstr ""
-
-#: future/includes/gutenberg/blocks/entry-field/block.json
-#: future/includes/gutenberg/blocks/entry-link/block.json
-#: future/includes/gutenberg/blocks/entry/block.json
-#: future/includes/gutenberg/blocks/view-details/block.json
-msgctxt "block keyword"
-msgid "form entry"
-msgstr ""
-
-#: future/includes/gutenberg/blocks/entry-field/block.json
-#: future/includes/gutenberg/blocks/entry-link/block.json
-#: future/includes/gutenberg/blocks/entry/block.json
-#: future/includes/gutenberg/blocks/view-details/block.json
-msgctxt "block keyword"
-msgid "entry"
-msgstr ""
-
-#: future/includes/gutenberg/blocks/entry-link/block.json
-msgctxt "block title"
-msgid "GravityView Entry Link"
-msgstr ""
-
-#: future/includes/gutenberg/blocks/entry-link/block.json
-msgctxt "block description"
-msgid "Display a link to the GravityView entry."
-msgstr ""
-
-#: future/includes/gutenberg/blocks/entry/block.json
-msgctxt "block title"
-msgid "GravityView Entry"
-msgstr ""
-
-#: future/includes/gutenberg/blocks/entry/block.json
-msgctxt "block description"
-msgid "Display a GravityView entry."
-msgstr ""
-
-#: future/includes/gutenberg/blocks/view-details/block.json
-msgctxt "block title"
-msgid "GravityView View Details"
-msgstr ""
-
-#: future/includes/gutenberg/blocks/view-details/block.json
-msgctxt "block description"
-msgid "Display specific information about a GravityView View."
-msgstr ""
-
-#: future/includes/gutenberg/blocks/view/block.json
-msgctxt "block title"
-msgid "GravityView View"
-msgstr ""
-
-#: future/includes/gutenberg/blocks/view/block.json
-msgctxt "block description"
-msgid "Display a GravityView View."
-msgstr ""
-
-#: future/includes/gutenberg/blocks/view/block.json
-msgctxt "block keyword"
-msgid "view"
-msgstr ""