diff --git a/assets/css/admin-global.css b/assets/css/admin-global.css index ccef47eeb..2f3124856 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}span[data-slug-preview]{font-weight:bold;color:#111}#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}span[data-slug-preview]{font-weight:bold;color:#111}#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%}.post-type-gravityview #wpcontent{position:relative}.post-type-gravityview h1.wp-heading-inline{margin-bottom:24px}.post-type-gravityview h1.wp-heading-inline:before{content:"";display:inline-block;width:36px;height:36px;margin-right:8px;position:relative;top:9px;-moz-background-size:contain;background-size:contain;background-repeat:no-repeat;background-position:center;background-image:url("data:image/svg+xml,%3Csvg fill='none' height='80' viewBox='0 0 80 80' width='80' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3CclipPath id='a'%3E%3Cpath d='m16 18h48v44h-48z'/%3E%3C/clipPath%3E%3Crect fill='%23ff1b67' height='80' rx='8' width='80'/%3E%3Cg clip-path='url(%23a)'%3E%3Cpath clip-rule='evenodd' d='m58.4105 54.6666h-5.5281v1.8333c0 3.0376-2.4922 5.5-5.528 5.5h-14.741c-3.0759 0-5.5281-2.4624-5.5281-5.5v-27.4999h-5.5281c-1.0428 0-1.8424.8207-1.8424 1.8333v18.3333c0 1.0126.7996 1.8334 1.8424 1.8334h.9216c.4841 0 .9209.4104.9209.9167v1.8333c0 .5062-.4368.9166-.9209.9166h-.9216c-3.0786 0-5.528-2.4624-5.528-5.5v-18.3333c0-3.0376 2.4494-5.5 5.528-5.5h5.5281v-1.8333c0-3.0376 2.4522-5.5 5.5281-5.5h14.741c3.0358 0 5.528 2.4624 5.528 5.5v27.5h5.5281c1.0027 0 1.8424-.8208 1.8424-1.8334v-18.3333c0-1.0126-.8397-1.8333-1.8424-1.8333h-.9216c-.5242 0-.9216-.4104-.9216-.9167v-1.8334c0-.5062.3974-.9166.9216-.9166h.9216c3.0385 0 5.5273 2.4624 5.5273 5.5v18.3333c0 3.0376-2.4888 5.5-5.5273 5.5zm-9.2137-31.1666c0-1.0126-.8424-1.8333-1.8424-1.8333h-14.741c-1.0401 0-1.8425.8207-1.8425 1.8333v32.9999c0 1.0126.8024 1.8334 1.8425 1.8334h14.741c1 0 1.8424-.8208 1.8424-1.8334z' fill='%23fff' fill-rule='evenodd'/%3E%3C/g%3E%3C/svg%3E")}.post-type-gravityview h1.wp-heading-inline:after{content:"";position:absolute;display:block;left:-20px;right:0;height:84px;background:white;top:0;z-index:-1}@media (max-width: 782px){.post-type-gravityview h1.wp-heading-inline:after{height:136px}}#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} diff --git a/assets/css/admin-views.css b/assets/css/admin-views.css index 89d8b3cfa..247b4752e 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}#gravityview_settings span.gravityview-upgrade-pill{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;-webkit-border-radius:6px;-moz-border-radius:6px;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;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;border:1px #DDDDE5 solid;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-flex-wrap:wrap;-ms-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)}}@-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)}}#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;-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}#gravityview_settings .gk-gravityview-placeholder-container .gk-gravityview-placeholder-content{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;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;-ms-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:-ms-inline-flexbox;display:inline-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;-webkit-box-flex:0;-webkit-flex-grow:0;-moz-box-flex:0;-ms-flex-positive: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:-ms-flexbox;display:flex;-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;-ms-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;-ms-flex-direction:column;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;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-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;-ms-flex-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;-ms-flex-direction:column;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;-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}@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 .gv-grid-row{padding:12px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;margin-bottom:24px;display:grid;grid-template-columns:repeat(12, 1fr);grid-template-rows:repeat(auto-fill, auto);grid-column-gap:12px;grid-row-gap:24px;position:relative;background-color:#FFF}.gv-grid .gv-grid-row:hover .gv-grid-row-actions{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex}.gv-grid .gv-grid-row.is-sortable .gv-droppable-area-title{display:none}.gv-grid .gv-grid-row-actions{position:absolute;z-index:1;bottom:100%;left:10px;margin-bottom:-16px;background-color:#FFF;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;border:1px solid #D5D7E9;display:none;overflow:hidden;-webkit-box-shadow:0 0 20px 0 #D5D7E9;-moz-box-shadow:0 0 20px 0 #D5D7E9;box-shadow:0 0 20px 0 #D5D7E9}.gv-grid .gv-grid-row-action{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;padding:8px 6px;width:32px;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;cursor:pointer}.gv-grid .gv-grid-row-action+.gv-grid-row-action{border-left:1px solid #D5D7E9}.gv-grid .gv-grid-row-action:hover{color:#2271B1}.gv-grid .gv-grid-row-handle{cursor:-webkit-grab;cursor:-moz-grab;cursor:grab}.gv-grid .gv-grid-row-handle:active{cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:grabbing}.gv-grid .grid-row-placeholder{background:rgba(210,224,235,0.6);-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;margin-bottom:24px;padding:12px}.gv-grid.ui-sortable .gv-grid-row{-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);-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.gv-grid .gv-grid-add-row .gv-grid-row-button{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;-ms-flex-pack:center;justify-content:center}.gv-grid .gv-grid-add-row .gv-grid-row-layouts-wrapper{max-height:0;overflow:hidden}.gv-grid .gv-grid-add-row .gv-grid-row-layouts{background-image:url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' rx='3' ry='3' stroke='%23DADADA' stroke-width='2' stroke-dasharray='6' stroke-dashoffset='0' stroke-linecap='round'/%3e%3c/svg%3e");-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;-ms-flex:1;flex:1;padding:2em;margin-bottom:2em}.gv-grid .gv-grid-add-row.open .gv-grid-row-layouts-wrapper{max-height:500px;-webkit-transition:max-height 300ms ease-out;-o-transition:max-height 300ms ease-out;-moz-transition:max-height 300ms ease-out;transition:max-height 300ms ease-out}.gv-grid .gv-grid-add-row .gv-grid-row-types{max-width:690px;margin:1em auto;display:grid;grid-template-columns:repeat(4, 1fr);gap:30px}.gv-grid .gv-grid-add-row .gv-grid-row-title{color:#2C3338;text-align:center;text-transform:uppercase;font-size:12px;font-weight:500;line-height:20px}.gv-grid .gv-grid-add-row .gv-add-row{border:0;padding:0;margin:0;cursor:pointer;background:transparent}.gv-grid .gv-grid-add-row .gv-add-row:hover [class^="gv-grid-add-row-icon-"],.gv-grid .gv-grid-add-row .gv-add-row:active [class^="gv-grid-add-row-icon-"]{background-color:#818994;color:#FFF}.gv-grid .gv-grid-add-row .gv-grid-add-row-icon{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-flex-wrap:nowrap;-ms-flex-wrap:nowrap;flex-wrap:nowrap;gap:6px}.gv-grid .gv-grid-add-row [class^="gv-grid-add-row-icon-column-"]{text-align:center;line-height:30px;background-color:#D5DAE0;color:#D5DAE0;font-size:11px;-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px}.gv-grid .gv-grid-add-row .gv-grid-add-row-icon-column-100{width:100%}.gv-grid .gv-grid-add-row .gv-grid-add-row-icon-column-50{width:50%}.gv-grid .gv-grid-add-row .gv-grid-add-row-icon-column-25{width:25%}.gv-grid .gv-grid-add-row .gv-grid-add-row-icon-column-33{width:33%}.gv-grid .gv-grid-add-row .gv-grid-add-row-icon-column-66{width:66%}.gv-grid [class^="gv-grid-col-"]{max-width:100%}.gv-grid-col-1-6{grid-column:span 2}.gv-grid-col-1-4{grid-column:span 3}.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-row{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 svg.loading{height:30px;width:30px;margin-top:7px;-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}.gv-view-types-module:hover .gv-view-types-hover,.gv-view-types-module.active .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,.gv-view-types-module.gv-view-template-placeholder.active{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:0;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;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:6px 8px 0 8px;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{min-height:44px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;max-width:100%}.active-drop-container.is-receivable{min-height:44px;border:none;-webkit-transition:all 200ms;-o-transition:all 200ms;-moz-transition:all 200ms;transition:all 200ms}.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;margin-bottom:8px}.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}.active-drop .gv-field-label{vertical-align:middle;white-space:nowrap;overflow:hidden;-o-text-overflow:ellipsis;text-overflow:ellipsis;margin-top:-2px}.active-drop .gfield:hover .gv-field-label{max-width:-webkit-calc(100% - 125px);max-width:-moz-calc(100% - 125px);max-width:calc(100% - 125px)}.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;border:1px solid #d7dade}[class^="gv-grid-col-"]:not(.gv-grid-col-1-1) .gv-droppable-area .gv-add-field{display:block;text-align:center}[class^="gv-grid-col-"]:not(.gv-grid-col-1-1) .gv-droppable-area .gv-add-field+.gv-add-field{margin-top:-1px}.gv-grid-col-1-1 .gv-droppable-area .gv-add-field+.gv-add-field{margin-left:8px}.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}.post-type-gravityview #post-body.columns-2 #postbox-container-1{clear:left} +.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 select{width:100%}#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:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;-webkit-border-radius:6px;-moz-border-radius:6px;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;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;border:1px #DDDDE5 solid;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-flex-wrap:wrap;-ms-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)}}@-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)}}#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;-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}#gravityview_settings .gk-gravityview-placeholder-container .gk-gravityview-placeholder-content{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;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;-ms-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:-ms-inline-flexbox;display:inline-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;-webkit-box-flex:0;-webkit-flex-grow:0;-moz-box-flex:0;-ms-flex-positive: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:-ms-flexbox;display:flex;-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;-ms-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;-ms-flex-direction:column;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;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-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;-ms-flex-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;-ms-flex-direction:column;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;-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}@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 .gv-grid-row{padding:12px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;margin-bottom:24px;display:grid;grid-template-columns:repeat(12, 1fr);grid-template-rows:repeat(auto-fill, auto);grid-column-gap:12px;grid-row-gap:24px;position:relative;background-color:#FFF}.gv-grid .gv-grid-row:hover .gv-grid-row-actions{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex}.gv-grid .gv-grid-row.is-sortable .gv-droppable-area-title{display:none}.gv-grid .gv-grid-row-actions{position:absolute;z-index:1;bottom:100%;left:10px;margin-bottom:-16px;background-color:#FFF;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;border:1px solid #D5D7E9;display:none;overflow:hidden;-webkit-box-shadow:0 0 20px 0 #D5D7E9;-moz-box-shadow:0 0 20px 0 #D5D7E9;box-shadow:0 0 20px 0 #D5D7E9}.gv-grid .gv-grid-row-action{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;padding:8px 6px;width:32px;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;cursor:pointer}.gv-grid .gv-grid-row-action+.gv-grid-row-action{border-left:1px solid #D5D7E9}.gv-grid .gv-grid-row-action:hover{color:#2271B1}.gv-grid .gv-grid-row-handle{cursor:-webkit-grab;cursor:-moz-grab;cursor:grab}.gv-grid .gv-grid-row-handle:active{cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:grabbing}.gv-grid .grid-row-placeholder{background:rgba(210,224,235,0.6);-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;margin-bottom:24px;padding:12px}.gv-grid.ui-sortable .gv-grid-row{-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);-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.gv-grid .gv-grid-add-row .gv-grid-row-button{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;-ms-flex-pack:center;justify-content:center}.gv-grid .gv-grid-add-row .gv-grid-row-layouts-wrapper{max-height:0;overflow:hidden}.gv-grid .gv-grid-add-row .gv-grid-row-layouts{background-image:url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' rx='3' ry='3' stroke='%23DADADA' stroke-width='2' stroke-dasharray='6' stroke-dashoffset='0' stroke-linecap='round'/%3e%3c/svg%3e");-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;-ms-flex:1;flex:1;padding:2em;margin-bottom:2em}.gv-grid .gv-grid-add-row.open .gv-grid-row-layouts-wrapper{max-height:500px;-webkit-transition:max-height 300ms ease-out;-o-transition:max-height 300ms ease-out;-moz-transition:max-height 300ms ease-out;transition:max-height 300ms ease-out}.gv-grid .gv-grid-add-row .gv-grid-row-types{max-width:690px;margin:1em auto;display:grid;grid-template-columns:repeat(4, 1fr);gap:30px}.gv-grid .gv-grid-add-row .gv-grid-row-title{color:#2C3338;text-align:center;text-transform:uppercase;font-size:12px;font-weight:500;line-height:20px}.gv-grid .gv-grid-add-row .gv-add-row{border:0;padding:0;margin:0;cursor:pointer;background:transparent}.gv-grid .gv-grid-add-row .gv-add-row:hover [class^="gv-grid-add-row-icon-"],.gv-grid .gv-grid-add-row .gv-add-row:active [class^="gv-grid-add-row-icon-"]{background-color:#818994;color:#FFF}.gv-grid .gv-grid-add-row .gv-grid-add-row-icon{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-flex-wrap:nowrap;-ms-flex-wrap:nowrap;flex-wrap:nowrap;gap:6px}.gv-grid .gv-grid-add-row [class^="gv-grid-add-row-icon-column-"]{text-align:center;line-height:30px;background-color:#D5DAE0;color:#D5DAE0;font-size:11px;-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px}.gv-grid .gv-grid-add-row .gv-grid-add-row-icon-column-100{width:100%}.gv-grid .gv-grid-add-row .gv-grid-add-row-icon-column-50{width:50%}.gv-grid .gv-grid-add-row .gv-grid-add-row-icon-column-25{width:25%}.gv-grid .gv-grid-add-row .gv-grid-add-row-icon-column-33{width:33%}.gv-grid .gv-grid-add-row .gv-grid-add-row-icon-column-66{width:66%}.gv-grid [class^="gv-grid-col-"]{max-width:100%}.gv-grid-col-1-6{grid-column:span 2}.gv-grid-col-1-4{grid-column:span 3}.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-row{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 svg.loading{height:30px;width:30px;margin-top:7px;-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}.gv-view-types-module:hover .gv-view-types-hover,.gv-view-types-module.active .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,.gv-view-types-module.gv-view-template-placeholder.active{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 input.gv-error,#gravityview_settings td input.gv-error{border:1px solid #c0461e}#gravityview_settings th .gv-error-message,#gravityview_settings td .gv-error-message{margin-top:4px;color:#c0461e}#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:0;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 .striped>tbody>:nth-child(odd){background-color:initial}.post-type-gravityview .ui-tabs .striped>tbody .alternate{background-color:#f6f7f7}.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;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:6px 8px 0 8px;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{min-height:44px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;max-width:100%}.active-drop-container.is-receivable{min-height:44px;border:none;-webkit-transition:all 200ms;-o-transition:all 200ms;-moz-transition:all 200ms;transition:all 200ms}.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;margin-bottom:8px}.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}.active-drop .gv-field-label{vertical-align:middle;white-space:nowrap;overflow:hidden;-o-text-overflow:ellipsis;text-overflow:ellipsis;margin-top:-2px}.active-drop .gfield:hover .gv-field-label{max-width:-webkit-calc(100% - 125px);max-width:-moz-calc(100% - 125px);max-width:calc(100% - 125px)}.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;border:1px solid #d7dade}[class^="gv-grid-col-"]:not(.gv-grid-col-1-1) .gv-droppable-area .gv-add-field{display:block;text-align:center}[class^="gv-grid-col-"]:not(.gv-grid-col-1-1) .gv-droppable-area .gv-add-field+.gv-add-field{margin-top:-1px}.gv-grid-col-1-1 .gv-droppable-area .gv-add-field+.gv-add-field{margin-left:8px}.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}.post-type-gravityview #post-body.columns-2 #postbox-container-1{clear:left} diff --git a/assets/css/scss/admin-global.scss b/assets/css/scss/admin-global.scss index 9cb8c8b01..fd5a913a0 100644 --- a/assets/css/scss/admin-global.scss +++ b/assets/css/scss/admin-global.scss @@ -61,6 +61,46 @@ } } +.post-type-gravityview { + #wpcontent { + position: relative; + } + + h1.wp-heading-inline { + margin-bottom: 24px; + + &:before { + content: ""; + display: inline-block; + width: 36px; + height: 36px; + margin-right: 8px; + position: relative; + top: 9px; + background-size: contain; + background-repeat: no-repeat; + background-position: center; + background-image: url("data:image/svg+xml,%3Csvg fill='none' height='80' viewBox='0 0 80 80' width='80' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3CclipPath id='a'%3E%3Cpath d='m16 18h48v44h-48z'/%3E%3C/clipPath%3E%3Crect fill='%23ff1b67' height='80' rx='8' width='80'/%3E%3Cg clip-path='url(%23a)'%3E%3Cpath clip-rule='evenodd' d='m58.4105 54.6666h-5.5281v1.8333c0 3.0376-2.4922 5.5-5.528 5.5h-14.741c-3.0759 0-5.5281-2.4624-5.5281-5.5v-27.4999h-5.5281c-1.0428 0-1.8424.8207-1.8424 1.8333v18.3333c0 1.0126.7996 1.8334 1.8424 1.8334h.9216c.4841 0 .9209.4104.9209.9167v1.8333c0 .5062-.4368.9166-.9209.9166h-.9216c-3.0786 0-5.528-2.4624-5.528-5.5v-18.3333c0-3.0376 2.4494-5.5 5.528-5.5h5.5281v-1.8333c0-3.0376 2.4522-5.5 5.5281-5.5h14.741c3.0358 0 5.528 2.4624 5.528 5.5v27.5h5.5281c1.0027 0 1.8424-.8208 1.8424-1.8334v-18.3333c0-1.0126-.8397-1.8333-1.8424-1.8333h-.9216c-.5242 0-.9216-.4104-.9216-.9167v-1.8334c0-.5062.3974-.9166.9216-.9166h.9216c3.0385 0 5.5273 2.4624 5.5273 5.5v18.3333c0 3.0376-2.4888 5.5-5.5273 5.5zm-9.2137-31.1666c0-1.0126-.8424-1.8333-1.8424-1.8333h-14.741c-1.0401 0-1.8425.8207-1.8425 1.8333v32.9999c0 1.0126.8024 1.8334 1.8425 1.8334h14.741c1 0 1.8424-.8208 1.8424-1.8334z' fill='%23fff' fill-rule='evenodd'/%3E%3C/g%3E%3C/svg%3E"); + } + + &:after { + content: ""; + position: absolute; + display: block; + left: -20px; // Adjust for the left padding applied to #wpcontent. + right: 0; + height: 84px; + background: white; + top: 0; + z-index: -1; + + @media (max-width: 782px) { + height: 136px; + } + } + } +} + // Form Toolbar for connected views #wpwrap .gv_connected_forms { diff --git a/assets/css/scss/admin-metabox-panel.scss b/assets/css/scss/admin-metabox-panel.scss index 88d03d0b9..771d74b79 100644 --- a/assets/css/scss/admin-metabox-panel.scss +++ b/assets/css/scss/admin-metabox-panel.scss @@ -130,6 +130,10 @@ } } + select { + width: 100%; + } + textarea { vertical-align: top; height: 3.5em; diff --git a/assets/css/scss/admin-views.scss b/assets/css/scss/admin-views.scss index a0a68993f..0116afc87 100644 --- a/assets/css/scss/admin-views.scss +++ b/assets/css/scss/admin-views.scss @@ -594,11 +594,19 @@ $gv-overlay-index: 10000; th, td { - span, input { font-weight: normal !important; } + input.gv-error { + border: 1px solid $color-red; + } + + .gv-error-message { + margin-top: 4px; + color: $color-red; + } + // 2.6 field groups in the Merge Tag dropdowns inside View Settings .gform-dropdown--merge-tags .gform-dropdown__group-text { font-weight: 500 !important; @@ -814,6 +822,16 @@ $gv-overlay-index: 10000; margin-top: 1em; transition: none; + // Disable default WP style and use .alternate instead to support hidden items. + .striped > tbody { + > :nth-child(odd) { + background-color: initial; + } + .alternate { + background-color: #f6f7f7; + } + } + #gv-view-configuration-tabs-tooltip { position: absolute; right: 0; diff --git a/assets/js/admin-views.js b/assets/js/admin-views.js index 3673c5c29..6b87fd9a5 100644 --- a/assets/js/admin-views.js +++ b/assets/js/admin-views.js @@ -190,7 +190,9 @@ // Double-clicking a field/widget label opens settings .on( 'dblclick', ".gv-fields:not(.gv-nonexistent-form-field)", vcfg.openFieldSettings ) - .on( 'change', "#gravityview_settings", vcfg.zebraStripeSettings ) + .on( 'change', "#gravityview_settings", vcfg.changedSettingsAction ) + + .on( 'click', 'div[data-js="gform-simplebar"]', vcfg.changedSettingsAction ) .on( 'click', '.gv-field-details--toggle', function( e ) { @@ -280,7 +282,6 @@ $open_dialog.dialog( 'option', 'width', window_width ); }); - // Make sure the user intends to leave the page before leaving. window.addEventListener('beforeunload', ( event) => { if ( vcfg.hasUnsavedChanges ) { @@ -369,19 +370,134 @@ viewConfiguration.altKey = e.altKey; }, + /** + * Manages all actions required when the settings are updated. + * + * @since 2.33 + * + * @param {Event} event + */ + changedSettingsAction: function (event) { + // Revalidate all current tab fields, as new fields may appear when settings are changed. + var $tabFields = viewGeneralSettings.metaboxObj.find( '[name^=template_settings]:visible' ); + $tabFields.each( function () { + viewConfiguration.validateField( $( this ) ); + } ); + + // Recalculate zebra stripes. + viewConfiguration.zebraStripeSettings(); + }, + + /** + * Validates the field when its value changes. + * + * @since 2.33 + * + * @param {jQuery} $field + */ + validateField: function ( $field ) { + var rules = $field.data( 'rules' ); + if ( ! rules ) { + return; + } + + var error = viewConfiguration.validateValue( $field.val(), rules ); + + $field.toggleClass( 'gv-error', !! error ); + + $field.parent().find( '.gv-error-message' ).remove(); + if ( error ) { + $field.parent().append( + $( '
', { class: 'gv-error-message', text: error } ) + ); + } + }, + + /** + * Validates a value against a set of rules. + * + * @since 2.33 + * + * @param {any} value - The value to validate. + * @param {Array} rules - The rules to validate against. + * @returns {String|undefined} - Error message. Empty if valid. + */ + validateValue( value, rules ) { + if ( ! rules ) { + return; + } + + var validators = viewConfiguration.getValidators(); + for ( var i in rules ) { + if ( ! rules.hasOwnProperty( i ) ) { + continue; + } + var ruleset = rules[ i ], + rule = ruleset.rule, + message = ruleset.message, + param = '', + isValid = true; + + // Split the rule to get the rule parameter. Example: max:5, rule - max, param - 5. + if ( rule.includes( ':' ) ) { + var parts = rule.split( /:(.+)/ ); // Split only on the first ":" + rule = parts[ 0 ]; + param = parts[ 1 ]; + } + if ( validators[ rule ] ) { + isValid = validators[ rule ]( value, param ); + } + if ( ! isValid ) { + return message; + } + } + }, + + /** + * Gets a list of validation callbacks. + * + * @since 2.33 + * + * @returns {Object} - An object containing validation callbacks. + */ + getValidators: function () { + return { + required: function ( value ) { + return value !== null && value !== undefined && value.toString().trim() !== ''; + }, + max: function ( value, max ) { + return value !== null && value !== undefined && Number( value ) <= max; + }, + min: function ( value, min ) { + return value !== null && value !== undefined && Number( value ) >= min; + }, + email: function ( value ) { + return /^[^\s@]+@[^\s@]+\.[^\s@]+$/.test( value ); + }, + integer: function ( value ) { + return Number.isInteger ? Number.isInteger( Number( value ) ) : Number( value ) % 1 === 0; + }, + matches: function ( value, pattern ) { + return new RegExp( pattern ).test( value ); + }, + }; + }, + /** * Update zebra striping when settings are changed * This prevents two gray rows next to each other. * @since 1.19 */ - zebraStripeSettings: function() { - jQuery( '#gravityview_settings').find('table').each( function ( ) { - $trs = $( this ).find('tr').not('[style="display: none;"]'); + zebraStripeSettings: function () { + setTimeout( function () { + viewGeneralSettings.metaboxObj.find( 'table' ).each( function () { + var $trs = $( this ).find( 'tr' ).filter( ':visible' ); - $trs.removeClass('alternate'); + $trs.removeClass( 'alternate' ); - $trs.filter( ':even' ).addClass( 'alternate' ); - }); + $trs.filter( ':even' ).addClass( 'alternate' ); + } ); + }, 50 ); }, /** @@ -1312,7 +1428,7 @@ } else { // If there's no custom title, then use the original // @see GravityView_Admin_View_Item::getOutput() - $label.html( $label.attr( 'data-original-title' ) ); + $label.html( $label.parent( '.gv-field-label' ).data( 'original-title' ) ); } } @@ -2071,9 +2187,10 @@ tooltipClass: 'gravityview-item-picker-tooltip top' } ) // add title attribute so the tooltip can continue to work (jquery ui bug?) - .attr( "title", "" ).on( 'mouseout focusout', function ( e ) { - e.stopImmediatePropagation(); - } ) + .attr( 'title', function() { + return $( this ).attr( 'title' ) || $( this ).data( 'title' ) || ''; + } ) + .on( 'mouseout focusout', e => e.stopImmediatePropagation() ) .on( 'click', function ( e, data ) { // add title attribute so the tooltip can continue to work (jquery ui bug?) $( this ).attr( "title", "" ); @@ -2557,10 +2674,10 @@ revert: 75, connectWith: ".active-drop-field", start: function( event, ui ) { - $( panel ).find( ".active-drop-container-field" ).addClass('is-receivable'); + $( document.body ).find( ".active-drop-container-field" ).addClass('is-receivable'); }, stop: function( event, ui ) { - $( panel ).find( ".active-drop-container-field" ).removeClass('is-receivable'); + $( document.body ).find( ".active-drop-container-field" ).removeClass('is-receivable'); }, change: function( event, ui ) { vcfg.setUnsavedChanges( true ); @@ -2764,6 +2881,10 @@ var vcfg = viewConfiguration; var templateId = vcfg._getTemplateId(); + if ( ! vcfg.validateSettingFields( e ) ) { + return false; + } + // Create the form if we're starting fresh. // On success, this also sets the vcfg.startFreshStatus to false. if ( vcfg.startFreshStatus ) { @@ -2854,7 +2975,42 @@ }, 101 ); return false; + }, + + validateSettingFields: function ( e ) { + + var $metabox = viewGeneralSettings.metaboxObj; + + var $invalidFields = $metabox + .find( '[name^=template_settings].gv-error' ) + .filter( function () { + // Get only active fields, i.e., those whose parent is not "display: none". + return $( this ).closest( 'tr.alternate' ).css( 'display' ) !== 'none'; + } ); + + // If no invalid fields are found, return. + if ( ! $invalidFields.length ) { + return true; + } + // Prevent form submission. + e.stopImmediatePropagation(); + e.preventDefault(); + + // Open the tab containing the invalid field. + var tabPanelId = $invalidFields.first().closest( 'div[role=tabpanel]' ).prop( 'id' ); + var $tabLink = $metabox.find( '.ui-tab[aria-controls=' + tabPanelId + '] a.nav-tab' ); + $tabLink.trigger( 'click' ); + + // Scroll to the Settings section. + window.scrollTo( + { + top: $metabox.offset().top, + behavior: 'smooth', + }, + ); + + return false; }, /** @@ -3046,6 +3202,7 @@ } ); viewConfiguration.setupCodeMirror( ui.newPanel ); + viewConfiguration.zebraStripeSettings(); } } ) .addClass( "ui-tabs-vertical ui-helper-clearfix" ) diff --git a/assets/js/admin-views.min.js b/assets/js/admin-views.min.js index b4708efcc..1182dbbf2 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);const $spinner=$('');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).on("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"),$(document.body).trigger("gravityview/dialog-opened",thisDialog),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("");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){const $template=viewConfiguration.wantedTemplate;if(!$template)return"";let template_id=$template.data(use_base_template?"base-template":"templateid");return viewConfiguration._isViewDropDown()&&(template_id=viewConfiguration.wantedTemplate.val(),template_id=String($template.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(),$("#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(response)):defer.reject(response.data)}),defer.promise()},selectTemplateHover:function(on_success){const vcfg=viewConfiguration,$link=$(on_success.target),$parent=$link.parents(".gv-view-types-module"),$select=$(this).find(".gv_select_template");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"),$parent.removeClass("active")},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"),vcfg.activateViewSelection($link.data("templateid")),$select.trigger("click")};if($link.hasClass("gv-layout-activate"))return vcfg.performingAjaxAction?void 0:($parent.addClass("active"),$link.addClass("disabled").attr("disabled",!0),$link.html($spinner),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||($parent.addClass("active"),$link.addClass("disabled").attr("disabled",!0),$link.html($spinner),$.when(vcfg.server_request("install_product",{id:$link.attr("data-download-id"),text_domain:$link.attr("data-template-text-domain"),activate:!0})).then(on_success).always(do_always).fail(on_fail)))},enableLockedTemplate:function(e,data){const $option=$(data?.option)||null;var action=data?.action||null,payload={text_domain:$option.data("template-text-domain"),activate:!0};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"),viewConfiguration.activateViewSelection($option.data("template-id")),data?.dropdown?.focusActive()}).fail(error=>{$pill.addClass("has-failed").text("Error"),console.log(error)}).always(()=>{$pill.removeClass("is-idle"),$item.removeClass("is-idle")})}},activateViewSelection:function(template_id){const $view_selectors=$("[data-view-dropdown]"),$options=$view_selectors.find('option[data-template-id="'+template_id+'"]');$options.attr("disabled",!1),$options.val(template_id),$view_selectors.each((_,el)=>{const dropdown=$(el).viewDropdown();dropdown.renderOptions()}),viewConfiguration.updateSettingsArea()},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)},updateSettingsArea:function(){const $settings_content=$("#gravityview_settings .inside");$settings_content.html(""),$.get(document.URL,function(response){if(response){const $document=$(response);$settings_content.html($document.find("#gravityview_settings .inside").html()),viewGeneralSettings.refresh(),$("#gravityview_directory_template").trigger("change")}})},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),$("#directory-header-widgets a[data-templateid], #directory-footer-widgets a[data-templateid]").attr("data-templateid",data.template_id).attr("data-formid",data.form_id)),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 box="list";$(tooltip).find(".gv-items-picker-container[data-layout]").length?box=$(tooltip).find(".gv-items-picker-container[data-layout]").attr("data-layout"):(layout_cookie=$.cookie("gv-items-picker-layout"),viewConfiguration.getCookieVal(layout_cookie)&&(box=layout_cookie)),viewConfiguration.setTooltipLayout(box),$focus_item[0].focus({preventScroll:!0});box=$focus_item[0].getBoundingClientRect();(box.y<0||box.y>document.body.getBoundingClientRect().height)&&window.scrollTo({left:window.scrollX,top:window.scrollY+box.y+(box.y<0?-60:60),behavior:"smooth"})},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:$addButton.attr("data-templateid")??$addButton.parents(".gv-section").find(".view-template-select select").val()??$("#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)},refresh:function(){viewGeneralSettings.metaboxObj.trigger("change"),viewGeneralSettings.metaboxObj.tabs("destroy"),viewGeneralSettings.initTabs()},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(payload){var action;payload.preventDefault(),viewConfiguration.hasUnsavedChanges&&!window.confirm(gvGlobals.discard_unsaved_changes)||$(this).hasClass("is-idle")||($(this).addClass("is-idle").html($spinner),action=$(this).data("action")+"_product",payload={text_domain:$(this).data("text-domain"),activate:!0},$.when(viewConfiguration.server_request(action,payload)).then(response=>{if(!response.success)throw new Error;document.location=document.location}).fail(()=>$(this).removeClass("is-idle").addClass("is-error").text("Try again")))})})}(jQuery); \ No newline at end of file +!function($){var viewConfiguration,viewGeneralSettings;$.widget.bridge("gvTooltip",$.ui.tooltip);const $spinner=$('');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.changedSettingsAction).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).on("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&&0",{class:"gv-error-message",text:error})))},validateValue(value,rules){if(rules){var i,validators=viewConfiguration.getValidators();for(i in rules)if(rules.hasOwnProperty(i)){var parts=rules[i],rule=parts.rule,message=parts.message,param="",isValid=!0;if(rule.includes(":")&&(rule=(parts=rule.split(/:(.+)/))[0],param=parts[1]),!(isValid=validators[rule]?validators[rule](value,param):isValid))return message}}},getValidators:function(){return{required:function(value){return null!=value&&""!==value.toString().trim()},max:function(value,max){return null!=value&&Number(value)<=max},min:function(value,min){return null!=value&&Number(value)>=min},email:function(value){return/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(value)},integer:function(value){return Number.isInteger?Number.isInteger(Number(value)):Number(value)%1==0},matches:function(value,pattern){return new RegExp(pattern).test(value)}}},zebraStripeSettings:function(){setTimeout(function(){viewGeneralSettings.metaboxObj.find("table").each(function(){var $trs=$(this).find("tr").filter(":visible");$trs.removeClass("alternate"),$trs.filter(":even").addClass("alternate")})},50)},toggleCheckboxes:function($parent){$parent=$parent.currentTarget||$parent;viewConfiguration.toggleRequired($parent,"requires",!1),viewConfiguration.toggleRequired($parent,"requires-not",!0);$parent=$($parent).is(".gv-fields")?$($parent):$($parent).parents(".gv-fields");$parent.length&&(viewConfiguration.toggleDisabled($("input[type=checkbox][name*=link_to_]",$parent),$("input[type=checkbox][name*=show_as_link]",$parent)),viewConfiguration.toggleDisabled($("input[type=checkbox][name*=link_phone]",$parent),$("input[type=checkbox][name*=show_as_link]",$parent)))},toggleDisabled:function($one,$two){0!==$one.length&&0!==$two.length&&($one.is(":checked")?$two.prop("disabled",!0):$two.is(":checked")&&$one.prop("disabled",!0))},toggleRequired:function(currentTarget,data_attr,reverse_logic){var $parent=$(currentTarget,"#post");$parent.find("[data-"+data_attr+"]").each(function(){var $this=$(this),requires_value=$this.data(data_attr).split("="),$input=requires_value[0],requires_value=requires_value[1],$input=$parent.find('[name$="['+$input+']"]').filter(":input");$input.is("[type=checkbox]")?reverse_logic?$this.toggle(0<$input.filter(":not(:checked)").filter(":not(:hidden)").length):$this.toggle($input.is(":checked")):void 0!==requires_value&&(reverse_logic?$this.toggle($input.val()!==requires_value):$this.toggle($input.val()===requires_value))})},switchTooltipLayout:function(e){var layout=$(this).data("value");viewConfiguration.setTooltipLayout(layout)},setTooltipLayout:function(layout){$(".gv-items-picker--"+layout).addClass("active"),$(".gv-items-picker").not(".gv-items-picker--"+layout).removeClass("active"),$(".gv-items-picker-container").attr("data-layout",layout),$.cookie("gv-items-picker-layout",layout,{path:gvGlobals.admin_cookiepath})},closeTooltips:function(e){var activeTooltips=$("[data-tooltip='active']"),close=!1,return_false=!1;switch(e.type){case"keyup":if(27===e.keyCode){if($(".ui-autocomplete").is(":visible"))return;return_false=close=0===$(".gv-field-filter-form input[data-has-search]:focus").length,window.Beacon&&window.Beacon("close")}((13===e.keyCode||32===e.keyCode)&&$(e.target).is(".close")||$(e.target).is(".dashicons-dismiss"))&&(close=!0);break;case"mouseup":$(e.target).parents(".ui-dialog,.ui-tooltip").length||$(e.target).is(".ui-dialog,.ui-tooltip")?close=!1:0vcfg.dialogWidth?vcfg.dialogWidth:$(window).width()-10},open:function(){return $('
').prependTo("#wpwrap"),$(document.body).trigger("gravityview/dialog-opened",thisDialog),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.parent(".gv-field-label").data("original-title")))},getSortableFields:function(context,id){return new Promise((resolve,reject)=>{var vcfg=viewConfiguration;$(".gravityview_sort_field").prop("disabled","disabled").empty().append("");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){const $template=viewConfiguration.wantedTemplate;if(!$template)return"";let template_id=$template.data(use_base_template?"base-template":"templateid");return viewConfiguration._isViewDropDown()&&(template_id=viewConfiguration.wantedTemplate.val(),template_id=String($template.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(),$("#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(response)):defer.reject(response.data)}),defer.promise()},selectTemplateHover:function(on_success){const vcfg=viewConfiguration,$link=$(on_success.target),$parent=$link.parents(".gv-view-types-module"),$select=$(this).find(".gv_select_template");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"),$parent.removeClass("active")},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"),vcfg.activateViewSelection($link.data("templateid")),$select.trigger("click")};if($link.hasClass("gv-layout-activate"))return vcfg.performingAjaxAction?void 0:($parent.addClass("active"),$link.addClass("disabled").attr("disabled",!0),$link.html($spinner),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||($parent.addClass("active"),$link.addClass("disabled").attr("disabled",!0),$link.html($spinner),$.when(vcfg.server_request("install_product",{id:$link.attr("data-download-id"),text_domain:$link.attr("data-template-text-domain"),activate:!0})).then(on_success).always(do_always).fail(on_fail)))},enableLockedTemplate:function(e,data){const $option=$(data?.option)||null;var action=data?.action||null,payload={text_domain:$option.data("template-text-domain"),activate:!0};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"),viewConfiguration.activateViewSelection($option.data("template-id")),data?.dropdown?.focusActive()}).fail(error=>{$pill.addClass("has-failed").text("Error"),console.log(error)}).always(()=>{$pill.removeClass("is-idle"),$item.removeClass("is-idle")})}},activateViewSelection:function(template_id){const $view_selectors=$("[data-view-dropdown]"),$options=$view_selectors.find('option[data-template-id="'+template_id+'"]');$options.attr("disabled",!1),$options.val(template_id),$view_selectors.each((_,el)=>{const dropdown=$(el).viewDropdown();dropdown.renderOptions()}),viewConfiguration.updateSettingsArea()},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)},updateSettingsArea:function(){const $settings_content=$("#gravityview_settings .inside");$settings_content.html(""),$.get(document.URL,function(response){if(response){const $document=$(response);$settings_content.html($document.find("#gravityview_settings .inside").html()),viewGeneralSettings.refresh(),$("#gravityview_directory_template").trigger("change")}})},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),$("#directory-header-widgets a[data-templateid], #directory-footer-widgets a[data-templateid]").attr("data-templateid",data.template_id).attr("data-formid",data.form_id)),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 box="list";$(tooltip).find(".gv-items-picker-container[data-layout]").length?box=$(tooltip).find(".gv-items-picker-container[data-layout]").attr("data-layout"):(layout_cookie=$.cookie("gv-items-picker-layout"),viewConfiguration.getCookieVal(layout_cookie)&&(box=layout_cookie)),viewConfiguration.setTooltipLayout(box),$focus_item[0].focus({preventScroll:!0});box=$focus_item[0].getBoundingClientRect();(box.y<0||box.y>document.body.getBoundingClientRect().height)&&window.scrollTo({left:window.scrollX,top:window.scrollY+box.y+(box.y<0?-60:60),behavior:"smooth"})},closeOnEscape:!0,disabled:!0,position:{my:"center bottom",at:"center top-12"},tooltipClass:"gravityview-item-picker-tooltip top"}).attr("title",function(){return $(this).attr("title")||$(this).data("title")||""}).on("mouseout focusout",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:$addButton.attr("data-templateid")??$addButton.parents(".gv-section").find(".view-template-select select").val()??$("#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){$(document.body).find(".active-drop-container-field").addClass("is-receivable")},stop:function(event,ui){$(document.body).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)},validateSettingFields:function(e){var $metabox=viewGeneralSettings.metaboxObj,tabPanelId=$metabox.find("[name^=template_settings].gv-error").filter(function(){return"none"!==$(this).closest("tr.alternate").css("display")});if(!tabPanelId.length)return!0;e.stopImmediatePropagation(),e.preventDefault();tabPanelId=tabPanelId.first().closest("div[role=tabpanel]").prop("id");return $metabox.find(".ui-tab[aria-controls="+tabPanelId+"] a.nav-tab").trigger("click"),window.scrollTo({top:$metabox.offset().top,behavior:"smooth"}),!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)},refresh:function(){viewGeneralSettings.metaboxObj.trigger("change"),viewGeneralSettings.metaboxObj.tabs("destroy"),viewGeneralSettings.initTabs()},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(payload){var action;payload.preventDefault(),viewConfiguration.hasUnsavedChanges&&!window.confirm(gvGlobals.discard_unsaved_changes)||$(this).hasClass("is-idle")||($(this).addClass("is-idle").html($spinner),action=$(this).data("action")+"_product",payload={text_domain:$(this).data("text-domain"),activate:!0},$.when(viewConfiguration.server_request(action,payload)).then(response=>{if(!response.success)throw new Error;document.location=document.location}).fail(()=>$(this).removeClass("is-idle").addClass("is-error").text("Try again")))})})}(jQuery); \ No newline at end of file diff --git a/assets/js/field-user-activation.js b/assets/js/field-user-activation.js new file mode 100644 index 000000000..ff92cdb3b --- /dev/null +++ b/assets/js/field-user-activation.js @@ -0,0 +1,68 @@ + +(function( $ ) { + + "use strict"; + + var self = { + /** + * @var {string} jQuery selector used to find approval target + */ + 'selector': '.gv-user-activation-link' + }; + + $(function() { + self.userActivation(); + }); + + + self.userActivation = function(){ + $(document).on('click', self.selector, function(e){ + e.preventDefault(); + + var that = $(this); + var activationKey = that.attr('activation-key'); + + if (!confirm(gvUserActivation.confirm_message)) { + return; + } + var spinner = self.ajaxSpinner(that, 'margin-left:10px'); + + jQuery.post(gvUserActivation.ajax_url, { + key: activationKey, + action: 'gf_user_activate', + nonce: gvUserActivation.nonce + }, function (response) { + + spinner.destroy(); + + // if there is an error message, alert it + if ( ! response.success ) { + alert( response.data.message ); + } else { + that.parent().html(gvUserActivation.success_message); + } + + }); + + }); + }, + + self.ajaxSpinner = function(elem, style) { + + this.elem = elem; + this.image = ''; + + this.init = function () { + this.spinner = jQuery(this.image); + jQuery(this.elem).after(this.spinner); + return this; + } + + this.destroy = function () { + jQuery(this.spinner).remove(); + } + + return this.init(); + } + +} (jQuery) ); diff --git a/assets/js/field-user-activation.min.js b/assets/js/field-user-activation.min.js new file mode 100644 index 000000000..c4d7a967e --- /dev/null +++ b/assets/js/field-user-activation.min.js @@ -0,0 +1 @@ +!function($){"use strict";var self={selector:".gv-user-activation-link"};$(function(){self.userActivation()}),self.userActivation=function(){$(document).on("click",self.selector,function(activationKey){activationKey.preventDefault();var spinner,that=$(this),activationKey=that.attr("activation-key");confirm(gvUserActivation.confirm_message)&&(spinner=self.ajaxSpinner(that,"margin-left:10px"),jQuery.post(gvUserActivation.ajax_url,{key:activationKey,action:"gf_user_activate",nonce:gvUserActivation.nonce},function(response){response.success?that.parent().html(gvUserActivation.success_message):alert(response.data.message),spinner.destroy()}))})},self.ajaxSpinner=function(elem,style){return this.elem=elem,this.image='',this.init=function(){return this.spinner=jQuery(this.image),jQuery(this.elem).after(this.spinner),this},this.destroy=function(){jQuery(this.spinner).remove()},this.init()}}(jQuery); \ No newline at end of file diff --git a/composer.lock b/composer.lock index cc4242d8f..146522649 100644 --- a/composer.lock +++ b/composer.lock @@ -237,12 +237,12 @@ "source": { "type": "git", "url": "git@github.com:GravityKit/Foundation.git", - "reference": "d9419f64ce3955097e723001ab91f71544785766" + "reference": "5d33a5fc40221fd32bc296c05b87cc51feab10a2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/GravityKit/Foundation/zipball/d9419f64ce3955097e723001ab91f71544785766", - "reference": "d9419f64ce3955097e723001ab91f71544785766", + "url": "https://api.github.com/repos/GravityKit/Foundation/zipball/5d33a5fc40221fd32bc296c05b87cc51feab10a2", + "reference": "5d33a5fc40221fd32bc296c05b87cc51feab10a2", "shasum": "" }, "require": { @@ -340,10 +340,10 @@ } ], "support": { - "source": "https://github.com/GravityKit/Foundation/tree/v1.2.21", + "source": "https://github.com/GravityKit/Foundation/tree/v1.2.22", "issues": "https://github.com/GravityKit/Foundation/issues" }, - "time": "2024-11-21T17:11:41+00:00" + "time": "2024-12-09T16:46:42+00:00" }, { "name": "illuminate/container", @@ -1072,12 +1072,12 @@ }, "type": "metapackage", "extra": { + "thanks": { + "url": "https://github.com/symfony/polyfill", + "name": "symfony/polyfill" + }, "branch-alias": { "dev-main": "1.20-dev" - }, - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" } }, "notification-url": "https://packagist.org/downloads/", @@ -6032,16 +6032,16 @@ }, { "name": "symfony/deprecation-contracts", - "version": "v2.5.3", + "version": "v2.5.4", "source": { "type": "git", "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "80d075412b557d41002320b96a096ca65aa2c98d" + "reference": "605389f2a7e5625f273b53960dc46aeaf9c62918" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/80d075412b557d41002320b96a096ca65aa2c98d", - "reference": "80d075412b557d41002320b96a096ca65aa2c98d", + "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/605389f2a7e5625f273b53960dc46aeaf9c62918", + "reference": "605389f2a7e5625f273b53960dc46aeaf9c62918", "shasum": "" }, "require": { @@ -6079,7 +6079,7 @@ "description": "A generic function and convention to trigger deprecation notices", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v2.5.3" + "source": "https://github.com/symfony/deprecation-contracts/tree/v2.5.4" }, "funding": [ { @@ -6095,7 +6095,7 @@ "type": "tidelift" } ], - "time": "2023-01-24T14:02:46+00:00" + "time": "2024-09-25T14:11:13+00:00" }, { "name": "symfony/dom-crawler", @@ -6259,16 +6259,16 @@ }, { "name": "symfony/event-dispatcher-contracts", - "version": "v2.5.3", + "version": "v2.5.4", "source": { "type": "git", "url": "https://github.com/symfony/event-dispatcher-contracts.git", - "reference": "540f4c73e87fd0c71ca44a6aa305d024ac68cb73" + "reference": "e0fe3d79b516eb75126ac6fa4cbf19b79b08c99f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/540f4c73e87fd0c71ca44a6aa305d024ac68cb73", - "reference": "540f4c73e87fd0c71ca44a6aa305d024ac68cb73", + "url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/e0fe3d79b516eb75126ac6fa4cbf19b79b08c99f", + "reference": "e0fe3d79b516eb75126ac6fa4cbf19b79b08c99f", "shasum": "" }, "require": { @@ -6318,7 +6318,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/event-dispatcher-contracts/tree/v2.5.3" + "source": "https://github.com/symfony/event-dispatcher-contracts/tree/v2.5.4" }, "funding": [ { @@ -6334,7 +6334,7 @@ "type": "tidelift" } ], - "time": "2024-01-23T13:51:25+00:00" + "time": "2024-09-25T14:11:13+00:00" }, { "name": "symfony/filesystem", @@ -6737,8 +6737,8 @@ "type": "library", "extra": { "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" + "url": "https://github.com/symfony/polyfill", + "name": "symfony/polyfill" } }, "autoload": { @@ -6861,16 +6861,16 @@ }, { "name": "symfony/service-contracts", - "version": "v2.5.3", + "version": "v2.5.4", "source": { "type": "git", "url": "https://github.com/symfony/service-contracts.git", - "reference": "a2329596ddc8fd568900e3fc76cba42489ecc7f3" + "reference": "f37b419f7aea2e9abf10abd261832cace12e3300" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/service-contracts/zipball/a2329596ddc8fd568900e3fc76cba42489ecc7f3", - "reference": "a2329596ddc8fd568900e3fc76cba42489ecc7f3", + "url": "https://api.github.com/repos/symfony/service-contracts/zipball/f37b419f7aea2e9abf10abd261832cace12e3300", + "reference": "f37b419f7aea2e9abf10abd261832cace12e3300", "shasum": "" }, "require": { @@ -6924,7 +6924,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/service-contracts/tree/v2.5.3" + "source": "https://github.com/symfony/service-contracts/tree/v2.5.4" }, "funding": [ { @@ -6940,7 +6940,7 @@ "type": "tidelift" } ], - "time": "2023-04-21T15:04:16+00:00" + "time": "2024-09-25T14:11:13+00:00" }, { "name": "symfony/string", diff --git a/future/includes/class-gv-permalinks.php b/future/includes/class-gv-permalinks.php index 93cf2c4e1..b2003f549 100644 --- a/future/includes/class-gv-permalinks.php +++ b/future/includes/class-gv-permalinks.php @@ -21,6 +21,17 @@ final class Permalinks { */ private Plugin_Settings $settings; + /** + * A memoization of the current View. + * + * This is used to determine the View, when rendering through a shortcode. + * + * @since 2.33 + * + * @var View|null + */ + private ?View $current_view; + /** * The default slug values. * @@ -169,7 +180,9 @@ public function __construct( Plugin_Settings $settings ) { add_filter( 'gravityview/view/settings/defaults', [ $this, 'add_view_settings' ] ); add_action( 'init', [ $this, 'maybe_update_rewrite_rules' ], 1 ); - add_action( 'admin_enqueue_scripts', [ $this, 'add_view_settings_scripts' ], 1500 ); + + add_action( 'gravityview/shortcode/before-processing', [ $this, 'capture_view' ] ); + add_action( 'gravityview/shortcode/after-processing', [ $this, 'clear_captured_view' ] ); } /** @@ -266,8 +279,8 @@ public function set_entry_endpoint( $endpoint ): string { * @return string The slug. */ public function set_entry_slug( $slug, $entry_id, array $entry ): string { - $new_slug = trim( $this->settings->get( 'entry_slug', $slug ) ); - $view = View::from_post( get_post() ); + $new_slug = trim( (string) $this->settings->get( 'entry_slug' ) ?: $slug ); + $view = $this->get_current_view(); if ( $view && (int) $view->form->ID === (int) $entry['form_id'] ) { $new_slug = trim( (string) $view->settings->get( 'single_entry_slug' ) ?: $new_slug ); @@ -292,12 +305,12 @@ public function set_entry_slug( $slug, $entry_id, array $entry ): string { * @return bool Whether the custom entry slug is enabled */ public function is_custom_entry_slug( bool $is_custom_slug ): bool { - $is_global_entry_slug = '' !== trim( (string) $this->settings->get( 'entry_slug', '' ) ); + $is_global_entry_slug = '' !== trim( (string) $this->settings->get( 'entry_slug') ?: '' ); $is_view_entry_slug = false; - $view = View::from_post( get_post() ); + $view = $this->get_current_view(); if ( $view ) { - $entry_slug = (string) $view->settings->get( 'single_entry_slug' ); + $entry_slug = (string) $view->settings->get( 'single_entry_slug' ) ?: ''; $is_view_entry_slug = (bool) trim( $entry_slug ); } @@ -495,86 +508,12 @@ public function add_view_settings( array $settings ): array { 'id' => '54c67bb5e4b07997ea3f3f58', 'url' => 'https://docs.gravitykit.com/article/57-customizing-urls', ], + 'validation' => $this->entry_slug_validation(), ]; return $settings; } - /** - * Adds inline JavaScript for the View settings. - * - * @since 2.29.0 - */ - public function add_view_settings_scripts(): void { - if ( ! wp_script_is( 'gravityview_views_scripts', 'registered' ) ) { - return; - } - - $js = << { - if ( value.length === 0 ) { - return ''; - } - - if (value.length < 3) { - return '[ERROR_AT_LEAST_3]'; - } - - if ( ! value.match( /{entry_id}/s ) ) { - return '[ERROR_MISSING_ENTRY_ID]'; - } - - if ( ! value.match( /(^(?:[a-zA-Z0-9_\-]*|\{[^\}]*\})*$)/s ) ) { - return '[ERROR_NO_SPACES]'; - } - - return ''; - } - - $( '#gravityview_se_single_entry_slug' ).on( 'input', function () { - const value = $( this ).val(); - const parent = $( this ).closest( 'label' ); - const error = getErrorMessage( value ); - const is_valid = '' === error; - - parent.toggleClass( 'form-invalid form-required', ! is_valid ); - $( '#publish ') - .attr( 'disabled', ! is_valid ) - .toggleClass( 'disabled' , ! is_valid ); - - parent.find( 'span.error-message' ).remove(); - if ( !is_valid ) { - parent.append( $( '' + error + '' ) ); - } - } ); - } ); - } )( jQuery ); - JS; - - $js = strtr( - $js, - [ - '[ERROR_AT_LEAST_3]' => strtr( - // Translators: [count] is replaced by the amount of characters. - esc_html__( 'At least [count] characters are required.', 'gk-gravityview' ), - [ '[count]' => 3 ], - ), - '[ERROR_MISSING_ENTRY_ID]' => strtr( - // Translators: [slug] will contain the slug value. - __( 'Must contain "[slug]".', 'gk-gravityview' ), - [ '[slug]' => '{entry_id}' ] - ), - '[ERROR_NO_SPACES]' => esc_html__( - 'Only letters, numbers, underscores and dashes are allowed.', - 'gk-gravityview', - ), - ] - ); - - wp_add_inline_script( 'gravityview_views_scripts', $js ); - } /** * Returns whether the current request is a backend validation. @@ -649,7 +588,7 @@ private function entry_slug_validation(): array { ), ], [ - 'rule' => 'matches:^[a-zA-Z0-9_{}\-]*$', + 'rule' => 'matches:^(?:[a-zA-Z0-9_\-]|{[^}]*})*$', 'message' => esc_html__( 'Only letters, numbers, underscores and dashes are allowed.', 'gk-gravityview', @@ -742,4 +681,45 @@ public function add_global_settings_scripts( array $scripts ): array { return $scripts; } + + /** + * Captures the current View when it is rendered through a shortcode or block. + * + * @since 2.33 + * + * @param View|null $view The View object. + */ + public function capture_view( $view ): void { + /** + * When viewing an entry don't render multiple views. + */ + $selected_view = (int) ( $_GET['gvid'] ?? 0 ); + if ( $selected_view && (int) $view->ID !== $selected_view ) { + return; + } + + if ( $view instanceof View ) { + $this->current_view = $view; + } + } + + /** + * Clears the captured View object. + * + * @since 2.33 + */ + public function clear_captured_view(): void { + $this->current_view = null; + } + + /** + * Returns the current View. + * + * @since 2.33 + */ + private function get_current_view(): ?View { + $view = $this->current_view ?? View::from_post( get_post() ); + + return $view instanceof View ? $view : null; + } } diff --git a/future/includes/class-gv-settings-view.php b/future/includes/class-gv-settings-view.php index b9a0740eb..80ed58ce4 100644 --- a/future/includes/class-gv-settings-view.php +++ b/future/includes/class-gv-settings-view.php @@ -189,8 +189,9 @@ public static function defaults( $detailed = false, $group = null ) { 'type' => 'text', 'class' => 'code widefat', 'value' => '', - 'placeholder' => 'https://www.example.com', + 'placeholder' => 'https://www.example.com/{field:1}', 'requires' => 'no_entries_options=2', + 'validation' => self::validate_url_with_tags(), ), 'no_search_results_text' => array( 'label' => __( '"No Search Results" Text', 'gk-gravityview' ), @@ -515,6 +516,7 @@ public static function defaults( $detailed = false, $group = null ) { 'placeholder' => 'https://www.example.com/landing-page/', 'requires' => 'edit_redirect=2', 'merge_tags' => 'force', + 'validation' => self::validate_url_with_tags(), ), 'action_label_update' => array( 'label' => __( 'Update Button Text', 'gk-gravityview' ), @@ -601,6 +603,7 @@ public static function defaults( $detailed = false, $group = null ) { 'placeholder' => 'https://www.example.com/landing-page/', 'requires' => 'delete_redirect=' . \GravityView_Delete_Entry::REDIRECT_TO_URL_VALUE, 'merge_tags' => 'force', + 'validation' => self::validate_url_with_tags(), ), 'is_secure' => [ 'label' => __( 'Enable Enhanced Security', 'gk-gravityview' ), @@ -808,4 +811,46 @@ function ( $key ) use ( $_this ) { ) ); } + + /** + * Validates URLs with merge tags. + * + * Valid format examples: + * http://foo.bar/{field:1} + * https://foo.bar/{field:1} + * https://{field:1} + * https://foo.bar/{field:1}/{another:2} + * https://foo.bar/{field:1}:8080?name=value#fragment + * http://foo.bar + * https://foo.bar/path/to/resource + * http://192.168.0.1:8080/query?name=value#fragment + * https://[2001:db8::1]:443/resource + * https://2001:0db8:85a3:0000:0000:8a2e:0370:7334/path/to?name=value#fragment + * {field:1} + * {field:1}/path/to?name=value#fragment + * + * Invalid examples: + * htp://foo.bar - Misspelled protocol http (should not match). + * foo.bar - Missing protocol (http:// or https://) or leading //. + * https://foo - Incomplete domain (e.g., .com). + * http://foo - Same as above; incomplete domain. + * foo.bar/{field:1} - Missing protocol (http:// or https://) or leading //. + * foo - No protocol, domain, or valid structure. + * + * @since 2.33 + * + * @return array + **/ + private static function validate_url_with_tags() { + return [ + [ + 'rule' => 'required', + 'message' => __( 'Field is required', 'gk-gravityview' ), + ], + [ + 'rule' => "matches:^s*((https?:\/\/)((\S+\.+\S+)|(\[?(\S+:)+\S+\]?)|({.*}.*))?(?::\d+)?({.*}.*)?|({.*}.*))\s*$", + 'message' => __( 'Must be a valid URL. Can contain merge tags.', 'gk-gravityview' ), + ], + ]; + } } diff --git a/future/includes/class-gv-shortcode-gravityview.php b/future/includes/class-gv-shortcode-gravityview.php index 7fc74ca01..741eb5a78 100644 --- a/future/includes/class-gv-shortcode-gravityview.php +++ b/future/includes/class-gv-shortcode-gravityview.php @@ -1,6 +1,8 @@ views->set( $view ); /** @@ -186,7 +198,7 @@ public function callback( $passed_atts, $content = '', $tag = '' ) { '' ); - return \GVCommon::generate_notice( '

' . $notice . '

', 'notice', array( 'delete_post' ), $view->ID ); + return self::_return( \GVCommon::generate_notice( '

' . $notice . '

', 'notice', array( 'delete_post' ), $view->ID ) ); case 'no_direct_access': case 'embed_only': case 'not_public': @@ -295,6 +307,14 @@ public function callback( $passed_atts, $content = '', $tag = '' ) { * Just this view. */ } else { + /** + * When viewing a specific View don't render the other Views. + */ + $selected_view = (int) \GV\Utils::_GET( 'gvid',0 ); + if ( $selected_view && (int) $view->ID !== $selected_view ) { + return self::_return( '' ); + } + if ( $is_reembedded ) { // Mock the request with the actual View, not the global one @@ -485,6 +505,19 @@ private function detail( $view, $entries, $atts ) { */ private static function _return( $value ) { array_pop( self::$callstack ); + $view = self::$current_view; + + self::$current_view = null; // Clear for future calls. + + /** + * @action `gravityview/shortcode/after-processing` Runs after the GV shortcode is processed. + * + * @since 2.33 + * + * @param \GV\View|null $view The View object. + */ + do_action( 'gravityview/shortcode/after-processing', $view ); + return $value; } } diff --git a/future/includes/class-gv-template-entry-layout-builder.php b/future/includes/class-gv-template-entry-layout-builder.php new file mode 100644 index 000000000..cbf4d04dc --- /dev/null +++ b/future/includes/class-gv-template-entry-layout-builder.php @@ -0,0 +1,26 @@ +plugin->dir( 'future/includes/class-gv-template-entry-table.php' ); require gravityview()->plugin->dir( 'future/includes/class-gv-template-entry-list.php' ); require gravityview()->plugin->dir( 'future/includes/class-gv-template-entry-legacy.php' ); +require gravityview()->plugin->dir( 'future/includes/class-gv-template-entry-layout-builder.php' ); diff --git a/future/includes/class-gv-template-view-layout-builder.php b/future/includes/class-gv-template-view-layout-builder.php new file mode 100644 index 000000000..d5952adbf --- /dev/null +++ b/future/includes/class-gv-template-view-layout-builder.php @@ -0,0 +1,27 @@ +is_multi() ) { - if ( ! $single_entry = $entry->from_field( $field ) ) { - echo ''; - return; - } - $form = GF_Form::by_id( $field->form_id ); + $single_entry = $entry->from_field( $field ); + $form = GF_Form::by_id( $field->form_id ); } $renderer = new Field_Renderer(); diff --git a/future/includes/class-gv-template-view.php b/future/includes/class-gv-template-view.php index 7deae12f0..9295be254 100644 --- a/future/includes/class-gv-template-view.php +++ b/future/includes/class-gv-template-view.php @@ -158,3 +158,4 @@ public function render() { require gravityview()->plugin->dir( 'future/includes/class-gv-template-view-table.php' ); require gravityview()->plugin->dir( 'future/includes/class-gv-template-view-list.php' ); require gravityview()->plugin->dir( 'future/includes/class-gv-template-view-legacy.php' ); +require gravityview()->plugin->dir( 'future/includes/class-gv-template-view-layout-builder.php' ); diff --git a/future/includes/class-gv-view.php b/future/includes/class-gv-view.php index b3c330030..5824a6376 100644 --- a/future/includes/class-gv-view.php +++ b/future/includes/class-gv-view.php @@ -28,6 +28,11 @@ */ class View implements \ArrayAccess { + /** + * @var string GravityView custom post type. + * */ + const POST_TYPE = 'gravityview'; + /** * @var \WP_Post The backing post instance. */ @@ -130,7 +135,7 @@ public function __construct() { */ public static function register_post_type() { /** Register only once */ - if ( post_type_exists( 'gravityview' ) ) { + if ( post_type_exists( self::POST_TYPE ) ) { return; } @@ -243,7 +248,7 @@ public static function register_post_type() { 'map_meta_cap' => true, ); - register_post_type( 'gravityview', $args ); + register_post_type( self::POST_TYPE, $args ); } /** @@ -576,7 +581,7 @@ public static function get_joins( $post ) { return $joins; } - if ( ! $post || 'gravityview' !== get_post_type( $post ) ) { + if ( ! $post || self::POST_TYPE !== get_post_type( $post ) ) { gravityview()->log->error( 'Only "gravityview" post types can be \GV\View instances.' ); return $joins; } @@ -672,7 +677,7 @@ public static function get_joined_forms( $post_id ) { public static function get_unions( $post ) { $unions = array(); - if ( ! $post || 'gravityview' !== get_post_type( $post ) ) { + if ( ! $post || self::POST_TYPE !== get_post_type( $post ) ) { gravityview()->log->error( 'Only "gravityview" post types can be \GV\View instances.' ); return $unions; } @@ -726,7 +731,7 @@ public static function get_unions( $post ) { */ public static function from_post( $post ) { - if ( ! $post || 'gravityview' !== get_post_type( $post ) ) { + if ( ! $post || self::POST_TYPE !== get_post_type( $post ) ) { gravityview()->log->error( 'Only gravityview post types can be \GV\View instances.' ); return null; } @@ -873,6 +878,39 @@ public static function by_id( $post_id ) { return self::from_post( $post ); } + /** + * Gets the source of the field. + * + * @since 2.33 + * + * @param Field $field The field. + * @param View $view The view. + * + * @return GF_Form|Internal_Source + */ + public static function get_source( $field, $view ) { + if ( ! is_numeric( $field->ID ) ) { + return new Internal_Source(); + } + + $form_id = $field->field->formId ?? null; + + // If the field's form differs from the main view form, get the form from the joined entries. + if ( $form_id && $view->form->ID != $form_id && ! empty( $view->joins ) ) { + foreach ( $view->joins as $join ) { + if ( isset( $join->join_on->ID ) && $join->join_on->ID == $form_id ) { + return $join->join_on; + } + } + + // Edge case where the form cannot be retrieved from the joins. + return GF_Form::by_id( $form_id ); + } + + // Return the main view form. + return $view->form; + } + /** * Determines if a view exists to begin with. * @@ -883,7 +921,7 @@ public static function by_id( $post_id ) { * @return bool Whether the post exists or not. */ public static function exists( $view ) { - return 'gravityview' == get_post_type( $view ); + return self::POST_TYPE == get_post_type( $view ); } /** @@ -1691,7 +1729,7 @@ function ( $field ) use ( $allowed_field_ids ) { } foreach ( $allowed as $field ) { - $source = is_numeric( $field->ID ) ? $view->form : new \GV\Internal_Source(); + $source = self::get_source( $field, $view ); $return[] = $renderer->render( $field, $view, $source, $entry, gravityview()->request, '\GV\Field_CSV_Template' ); @@ -1778,7 +1816,7 @@ public static function restrict( $caps, $cap, $user_id, $args ) { return $caps; case 'edit_post': - if ( 'gravityview' === get_post_type( array_pop( $args ) ) ) { + if ( self::POST_TYPE === get_post_type( array_pop( $args ) ) ) { return self::restrict( $caps, 'edit_gravityview', $user_id, $args ); } endswitch; diff --git a/future/includes/rest/class-gv-rest-views-route.php b/future/includes/rest/class-gv-rest-views-route.php index 5a10a9ea1..bf7915e9b 100644 --- a/future/includes/rest/class-gv-rest-views-route.php +++ b/future/includes/rest/class-gv-rest-views-route.php @@ -11,6 +11,10 @@ namespace GV\REST; use GravityView_Widget_Export_Link; +use GV\Field; +use GV\GF_Form; +use GV\Internal_Source; +use GV\View; use WP_REST_Request; /** If this file is called directly, abort. */ @@ -121,7 +125,7 @@ public function get_item( $request ) { * Prepare the item for the REST response * * @since 2.0 - * @param \GV\View $view The view. + * @param View $view The view. * @param \GV\Entry $entry WordPress representation of the item. * @param \WP_REST_Request $request Request object. * @param string $context The context (directory, single) @@ -143,7 +147,7 @@ public function prepare_entry_for_response( $view, $entry, \WP_REST_Request $req * Allow more entry fields that are output in regular REST requests. * * @param array $allowed The allowed ones, default by_visible, by_position( "context_*" ), i.e. as set in the view. - * @param \GV\View $view The view. + * @param View $view The view. * @param \GV\Entry $entry The entry. * @param \WP_REST_Request $request Request object. * @param string $context The context (directory, single) @@ -173,7 +177,8 @@ function ( $field ) use ( $allowed_field_ids ) { // remove all links from output. $field->update_configuration( [ 'show_as_link' => '0' ] ); - $source = is_numeric( $field->ID ) ? $view->form : new \GV\Internal_Source(); + $source = View::get_source( $field, $view ); + $field_id = $field->ID; $index = null; @@ -194,7 +199,7 @@ function ( $field ) use ( $allowed_field_ids ) { * Filter the key name in the results for JSON output. * * @param string $field_id The ID. Should be unique or keys will be gobbled up. - * @param \GV\View $view The view. + * @param View $view The view. * @param \GV\Entry $entry The entry. * @param \WP_REST_Request $request Request object. * @param string $context The context (directory, single) @@ -270,7 +275,7 @@ public function get_sub_items( $request ) { } } - $view = \GV\View::by_id( $view_id ); + $view = View::by_id( $view_id ); if ( null !== $view ) { $post = $view->get_post(); @@ -298,7 +303,7 @@ function ( $context ) use ( &$count, &$total ) { * @since 2.0 * @param bool $insert_meta Add tags? [Default: true] * @param int $count The number of entries being rendered - * @param \GV\View $view The view. + * @param View $view The view. * @param \WP_REST_Request $request Request object. * @param int $total The number of total entries for the request */ @@ -406,7 +411,7 @@ public function get_sub_item( $request ) { $entry_id = intval( $url['s_id'] ); $format = \GV\Utils::get( $url, 'format', 'json' ); - $view = \GV\View::by_id( $view_id ); + $view = View::by_id( $view_id ); $entry = \GV\GF_Entry::by_id( $entry_id ); if ( 'html' === $format ) { @@ -434,7 +439,7 @@ public function prepare_view_for_response( $view_post, \WP_REST_Request $request ); } - $view = \GV\View::from_post( $view_post ); + $view = View::from_post( $view_post ); $item = $view->as_data(); @@ -485,7 +490,7 @@ public function get_item_permissions_check( $request ) { $view_id = intval( $url['id'] ); } - if ( ! $view = \GV\View::by_id( $view_id ) ) { + if ( ! $view = View::by_id( $view_id ) ) { return new \WP_Error( 'rest_forbidden', __( 'You are not allowed to access this content.', 'gk-gravityview' ) ); } @@ -513,7 +518,7 @@ public function get_item_permissions_check( $request ) { * Disable rest output. Final chance. * * @param bool Enable or not. - * @param \GV\View $view The view. + * @param View $view The view. */ if ( ! apply_filters( 'gravityview/view/output/rest', true, $view ) ) { return new \WP_Error( 'rest_forbidden', __( 'You are not allowed to access this content.', 'gk-gravityview' ) ); @@ -532,7 +537,7 @@ public function get_sub_item_permissions_check( $request ) { $view_id = intval( $url['id'] ); $entry_id = intval( $url['s_id'] ); - $view = \GV\View::by_id( $view_id ); + $view = View::by_id( $view_id ); if ( ! $entry = \GV\GF_Entry::by_id( $entry_id ) ) { return new \WP_Error( 'rest_forbidden', 'You are not allowed to view this content.', 'gravityview' ); @@ -580,7 +585,7 @@ public function get_sub_items_permissions_check( $request ) { $nonce = $request->get_param( '_nonce' ); $view_id = rgar( $params, 'id', 0 ); - if ( ! $view = \GV\View::by_id( $view_id ) ) { + if ( ! $view = View::by_id( $view_id ) ) { return new \WP_Error( 'rest_forbidden', __( 'You are not allowed to access this content.', 'gk-gravityview' ) ); } diff --git a/future/includes/trait-gv-field-renderer.php b/future/includes/trait-gv-field-renderer.php new file mode 100644 index 000000000..004036abd --- /dev/null +++ b/future/includes/trait-gv-field-renderer.php @@ -0,0 +1,66 @@ +view->form; + + $context = Template_Context::from_template( $this, compact( 'field', 'entry' ) ); + + $renderer = new Field_Renderer(); + $source = is_numeric( $field->ID ) ? $this->view->form : new Internal_Source(); + + $value = $renderer->render( $field, $this->view, $source, $entry, $this->request ); + $label = apply_filters( + 'gravityview/template/field_label', + $field->get_label( $this->view, $form ), + $field->as_configuration(), + $form->form ?: null, + null, + ); + + /** + * @filter `gravityview/template/field/label` Override the field label. + * @since 2.0 + * + * @param [in,out] string $label The label to override. + * @param \GV\Template_Context $context The context. + */ + $label = apply_filters( 'gravityview/template/field/label', $label, $context ); + + /** + * @filter `gravityview/template/table/entry/hide_empty` + * + * @param boolean $hide_empty Should the row be hidden if the value is empty? Default: don't hide. + * @param \GV\Template_Context $context The context ;) Love it, cherish it. And don't you dare modify it! + */ + $hide_empty = apply_filters( + 'gravityview/render/hide-empty-zone', + Utils::get( $extras, 'hide_empty', $this->view->settings->get( 'hide_empty', false ) ), + $context, + ); + + $markup = '
+ {{ label }} +
{{ value }}
+
'; + + $extras = array_merge( $extras, compact( 'hide_empty', 'value', 'label', 'markup' ) ); + + return \gravityview_field_output( $extras, $context ); + } +} diff --git a/future/lib/class-gamajo-template-loader.php b/future/lib/class-gamajo-template-loader.php index 43e26d02c..150f8b0cb 100644 --- a/future/lib/class-gamajo-template-loader.php +++ b/future/lib/class-gamajo-template-loader.php @@ -115,7 +115,10 @@ public function get_template_part( $slug, $name = null, $load = true ) { // Get files names of templates, for given slug and name. $templates = $this->get_template_file_names( $slug, $name ); - + if($slug == 'note'){ + $load = false; + var_dump($templates,$this->locate_template( $templates, false, false ));exit; + } // Return the part that is found. return $this->locate_template( $templates, $load, false ); } diff --git a/gravityview.php b/gravityview.php index d4632e39d..ac5aa5fc4 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.32 + * Version: 2.33 * Requires PHP: 7.4.0 * Author: GravityKit * Author URI: https://www.gravitykit.com @@ -32,7 +32,7 @@ /** * The plugin version. */ -define( 'GV_PLUGIN_VERSION', '2.32' ); +define( 'GV_PLUGIN_VERSION', '2.33' ); /** * Full path to the GravityView file diff --git a/includes/admin/field-types/type_text.php b/includes/admin/field-types/type_text.php index f77dc410d..2428b902b 100644 --- a/includes/admin/field-types/type_text.php +++ b/includes/admin/field-types/type_text.php @@ -1,4 +1,7 @@ field['merge_tags'] || 'force' === $this->field['merge_tags'] ) { $class = 'gv-merge-tag-support mt-position-right mt-hide_all_fields '; } - $class .= \GV\Utils::get( $this->field, 'class', 'widefat' ); - $placeholder = \GV\Utils::get( $this->field, 'placeholder' ); - ?> - - field, 'class', 'widefat' ); + $placeholder = Utils::get( $this->field, 'placeholder' ); + $validation = Utils::get( $this->field, 'validation' ); + + printf( + '', + esc_attr( $this->name ), + esc_attr( $placeholder ), + $this->get_field_id(), + esc_attr( $this->value ), + esc_attr( $class ), + esc_attr( json_encode( $validation ) ) + ); } } diff --git a/includes/class-admin-views.php b/includes/class-admin-views.php index 0bc25b8e6..063d39f5c 100644 --- a/includes/class-admin-views.php +++ b/includes/class-admin-views.php @@ -29,6 +29,9 @@ class GravityView_Admin_Views { function __construct() { add_action( 'save_post', array( $this, 'save_postdata' ) ); + // Remove unnecessary noise from the Views overview page. + add_action( 'current_screen', [ $this, 'disable_views_overview_notices' ] ); + // set the blocklist field types across the entire plugin add_filter( 'gravityview_blocklist_field_types', array( $this, 'default_field_blocklist' ), 10, 2 ); @@ -74,6 +77,50 @@ function __construct() { add_filter( 'gk/gravityview/admin-views/view/is-dynamic', [ $this, 'add_dynamic_widgets' ], 0, 3 ); } + /** + * Disables all notices and footer text on the Views overview page. + * + * @since 2.33 + * + * @return void + */ + public function disable_views_overview_notices() { + if ( ! $this->is_views_overview_page() ) { + return; + } + add_action( + 'admin_enqueue_scripts', + function () { + remove_all_actions( 'admin_notices' ); + } + ); + add_filter( + 'admin_enqueue_scripts', + function () { + remove_all_filters( 'update_footer' ); + } + ); + add_action( + 'admin_footer_text', + function () { + return ''; + } + ); + } + + /** + * Checks if the current page is the Views overview page. + * + * @since 2.33 + * + * @return bool + */ + public function is_views_overview_page(): bool { + $screen = get_current_screen(); + + return $screen && View::POST_TYPE === $screen->post_type && 'edit' === $screen->base; + } + /** * Allow targeting different versions of Gravity Forms using CSS selectors. * @@ -1198,6 +1245,7 @@ function render_active_areas( $template_id, $type, $zone, $rows, $values ) {
plugin->is_GF_25() && gravityview()->request->is_admin( '', 'single' ) ) { wp_dequeue_script( 'gform_tooltip_init' ); wp_dequeue_style( 'gform_tooltip' ); - wp_enqueue_style( 'gravityview_gf_tooltip', plugins_url( 'assets/css/gf_tooltip.css', GRAVITYVIEW_FILE ), array(), \GV\Plugin::$version ); - wp_enqueue_script( 'gravityview_gf_tooltip', plugins_url( 'assets/js/gf_tooltip' . $script_debug . '.js', GRAVITYVIEW_FILE ), array(), \GV\Plugin::$version ); + wp_enqueue_style( 'gravityview_gf_tooltip', plugins_url( 'assets/css/gf_tooltip.css', GRAVITYVIEW_FILE ), array(), $version ); + wp_enqueue_script( 'gravityview_gf_tooltip', plugins_url( 'assets/js/gf_tooltip' . $script_debug . '.js', GRAVITYVIEW_FILE ), array(), $version ); } // Add the GV font (with the Astronaut) - wp_enqueue_style( 'gravityview_global', plugins_url( 'assets/css/admin-global.css', GRAVITYVIEW_FILE ), array(), \GV\Plugin::$version ); - wp_register_style( 'gravityview_views_styles', plugins_url( 'assets/css/admin-views.css', GRAVITYVIEW_FILE ), array( 'dashicons', 'wp-jquery-ui-dialog' ), \GV\Plugin::$version ); + wp_enqueue_style( 'gravityview_global', plugins_url( 'assets/css/admin-global.css', GRAVITYVIEW_FILE ), array(), $version ); + wp_register_style( 'gravityview_views_styles', plugins_url( 'assets/css/admin-views.css', GRAVITYVIEW_FILE ), array( 'dashicons', 'wp-jquery-ui-dialog' ), $version ); - wp_register_script( 'gravityview-jquery-cookie', plugins_url( 'assets/lib/jquery.cookie/jquery.cookie.min.js', GRAVITYVIEW_FILE ), array( 'jquery' ), \GV\Plugin::$version, true ); + wp_register_script( 'gravityview-jquery-cookie', plugins_url( 'assets/lib/jquery.cookie/jquery.cookie.min.js', GRAVITYVIEW_FILE ), array( 'jquery' ), $version, true ); wp_enqueue_script( 'gravityview-shortcode', plugins_url( 'assets/js/admin-shortcode' . $script_debug . '.js', GRAVITYVIEW_FILE ), @@ -1741,7 +1791,7 @@ static function add_scripts_and_styles( $hook ) { 'jquery', 'clipboard', ], - \GV\Plugin::$version, + $version, true ); @@ -1759,7 +1809,7 @@ static function add_scripts_and_styles( $hook ) { wp_enqueue_script( 'jquery-ui-datepicker' ); - wp_enqueue_style( 'gravityview_views_datepicker', plugins_url( 'assets/css/admin-datepicker.css', GRAVITYVIEW_FILE ), \GV\Plugin::$version ); + wp_enqueue_style( 'gravityview_views_datepicker', plugins_url( 'assets/css/admin-datepicker.css', GRAVITYVIEW_FILE ), $version ); // Enqueue scripts wp_enqueue_script( @@ -1777,10 +1827,10 @@ static function add_scripts_and_styles( $hook ) { 'underscore', 'clipboard', ], - \GV\Plugin::$version + $version ); - wp_enqueue_script( 'gravityview_view_dropdown', plugins_url( 'assets/js/admin-view-dropdown' . $script_debug . '.js', GRAVITYVIEW_FILE ), [ 'jquery' ], \GV\Plugin::$version ); - wp_enqueue_script( 'gravityview_grid', plugins_url( 'assets/js/admin-grid' . $script_debug . '.js', GRAVITYVIEW_FILE ), [ 'jquery' ], \GV\Plugin::$version ); + wp_enqueue_script( 'gravityview_view_dropdown', plugins_url( 'assets/js/admin-view-dropdown' . $script_debug . '.js', GRAVITYVIEW_FILE ), [ 'jquery' ], $version ); + wp_enqueue_script( 'gravityview_grid', plugins_url( 'assets/js/admin-grid' . $script_debug . '.js', GRAVITYVIEW_FILE ), [ 'jquery' ], $version ); wp_localize_script( 'gravityview_views_scripts', diff --git a/includes/class-admin-welcome.php b/includes/class-admin-welcome.php index 65756471f..6c8b9d997 100644 --- a/includes/class-admin-welcome.php +++ b/includes/class-admin-welcome.php @@ -296,6 +296,44 @@ public function changelog_screen() { * - If 4.28, include to 4.26. */ ?> +

2.33 on December 19, 2024

+ +

This release introduces support for the Source ID meta (Gravity Forms 2.9+), adds a new User Activation field to the View editor, and includes various fixes and enhancements.

+ +

🚀 Added

+ +
    +
  • Support for the Source ID meta introduced in Gravity Forms 2.9.
  • +
  • New User Activation field in the View editor to activate users added by the Gravity Forms User Registration add-on.
  • +
  • Client-side validation of View editor settings to prevent incorrect values.
  • +
  • :initials merge tag modifier for Name fields to display initials.
  • +
  • :format merge tag modifier for field inputs (e.g., {Event Field:1.1:format:Y-m-d}).
  • +
+ +

🐛 Fixed

+ +
    +
  • Merge tags in redirect URLs were not processed after editing or deleting an entry in the lightbox.
  • +
  • Individual Checkboxes field inputs incorrectly exported in CSV.
  • +
  • Custom permalinks not being used in embedded Views.
  • +
  • Deprecated filter notice when both the Advanced Filter extension (version 3 or newer) and Gravity Flow are active.
  • +
  • Labels for fields with empty values disappearing in mobile view when joining forms using the Multiple Forms extension.
  • +
  • Views defaulting to English instead of the site's language for users without certain capabilities.
  • +
+ +

🔧 Updated

+ +
+ +

💻 Developer Updates

+ +
    +
  • Added gravityview/template/field/csv/tick filter to programmatically modify the checkbox "check" output in CSV.
  • +
  • Added gravityview/shortcode/after-processing action after a [gravityview] shortcode is finished.
  • +
+

2.32 on November 21, 2024

This release adds a new form notification option for updated entries, resolves file upload issues on the Edit Entry screen, and includes developer-focused enhancements.

@@ -387,52 +425,6 @@ public function changelog_screen() {
  • Added gravityview/fields/image_choice/output_label filter to control whether to display the value or label of an Image Choice field.
  • -

    2.30.1 on October 15, 2024

    - -

    This hotfix release resolves an issue with the Multiple Forms extension.

    - -

    🐛 Fixed

    - -
      -
    • Fatal error in the View editor when using joined data from multiple forms.
    • -
    - -

    2.30 on October 14, 2024

    - -

    This release adds the ability to change the entry creator from the Edit Entry screen, improves upload handling, fixes various bugs, and updates internal components.

    - -

    🚀 Added

    - -
      -
    • Entry creator can now be changed from the Edit Entry screen.
    • -
    • {now}, {yesterday}, and {tomorrow} relative date merge tags.
    • -
    - -

    ✨ Improved

    - -
      -
    • Handling of multi-file uploads on the Edit Entry screen.
    • -
    - -

    🐛 Fixed

    - -
      -
    • Entry loading inside a lightbox did not work in some cases when BuddyPress was active.
    • -
    • Resending notifications from the Entries screen did not work when sending to all entries filtered by approval status.
    • -
    • Conflict with the Wordfence plugin caused a fatal error when redirecting users after deleting an entry.
    • -
    • Fatal error when rendering a GravityView View field with a non-existent View ID.
    • -
    • Survey field (Rating type) values were displayed in reverse order when a View was embedded inside another View.
    • -
    • Unexpected scrolling in the View editor after adding a field.
    • -
    • PHP notice when rendering a View with a field associated with an inactive add-on.
    • -
    • Entry duplication not working on the Entries page.
    • -
    - -

    🔧 Updated

    - - -

    diff --git a/includes/class-api.php b/includes/class-api.php index b407b4f62..9e2af3228 100644 --- a/includes/class-api.php +++ b/includes/class-api.php @@ -181,15 +181,20 @@ public static function field_class( $field, $form = null, $entry = null ) { if ( ! empty( $field['id'] ) ) { if ( ! empty( $form ) && ! empty( $form['id'] ) ) { - $form_id = '-' . $form['id']; + $form_id = $form['id']; } else { // @deprecated path. Form should always be given. gravityview()->log->warning( 'GravityView_View::getInstance() legacy API called' ); $gravityview_view = GravityView_View::getInstance(); - $form_id = $gravityview_view->getFormId() ? '-' . $gravityview_view->getFormId() : ''; + $form_id = $gravityview_view->getFormId() ? $gravityview_view->getFormId() : ''; } - $classes[] = 'gv-field' . $form_id . '-' . $field['id']; + $classes[] = 'gv-field' . ( $form_id ? '-' . $form_id : '' ) . '-' . $field['id']; + + // Field is from different form, so we add an extra class. + if ( (int) ( $field['form_id'] ?? $form_id ) !== (int) $form_id ) { + $classes[] = 'gv-field-' . $field['form_id'] . '-' . $field['id']; + } } return esc_attr( implode( ' ', $classes ) ); @@ -211,7 +216,8 @@ public static function field_html_attr_id( $field, $form = array(), $entry = arr if ( ! empty( $id ) ) { if ( ! empty( $form ) && ! empty( $form['id'] ) ) { - $form_id = '-' . $form['id']; + $form_id = $field['form_id'] ?? $form['id']; + $form_id = '-' . $form_id; } else { // @deprecated path. Form should always be given. gravityview()->log->warning( 'GravityView_View::getInstance() legacy API called' ); diff --git a/includes/class-common.php b/includes/class-common.php index e41c8396a..91b90e841 100644 --- a/includes/class-common.php +++ b/includes/class-common.php @@ -896,16 +896,18 @@ public static function get_entry( $entry_slug, $force_allow_ids = false, $check_ } /** - * Wrapper for the GFFormsModel::matches_operation() method that adds additional comparisons, including: + * Wrapper for the GFFormsModel::matches_conditional_operation() method that adds additional comparisons, including: * 'equals', 'greater_than_or_is', 'greater_than_or_equals', 'less_than_or_is', 'less_than_or_equals', * 'not_contains', 'in', and 'not_in' * - * @since 1.13 You can define context, which displays/hides based on what's being displayed (single, multiple, edit) - * @since 1.22.1 Added 'in' and 'not_in' for JSON-encoded array values, serialized non-strings - * * @see https://docs.gravitykit.com/article/252-gvlogic-shortcode + * * @uses GFFormsModel::matches_operation + * * @since 1.7.5 + * @since 1.13 You can define context, which displays/hides based on what's being displayed (single, multiple, edit) + * @since 1.22.1 Added 'in' and 'not_in' for JSON-encoded array values, serialized non-strings + * @since 2.33 Uses GFFormsModel::matches_operation or GFFormsModel::matches_conditional_operation depending on the Gravity Forms version. * * @param mixed $val1 Left side of comparison * @param mixed $val2 Right side of comparison @@ -914,7 +916,6 @@ public static function get_entry( $entry_slug, $force_allow_ids = false, $check_ * @return bool True: matches, false: not matches */ public static function matches_operation( $val1, $val2, $operation ) { - // Only process strings $val1 = ! is_string( $val1 ) ? wp_json_encode( $val1 ) : $val1; $val2 = ! is_string( $val2 ) ? wp_json_encode( $val2 ) : $val2; @@ -922,7 +923,6 @@ public static function matches_operation( $val1, $val2, $operation ) { $value = false; if ( 'context' === $val1 ) { - $matching_contexts = array( $val2 ); // We allow for non-standard contexts. @@ -950,6 +950,10 @@ public static function matches_operation( $val1, $val2, $operation ) { $val2 = (string) $timestamp_2; } + $gf_comparison_method = method_exists( GFFormsModel::class, 'matches_conditional_operation' ) + ? 'matches_conditional_operation' + : 'matches_operation'; + switch ( $operation ) { case 'equals': $value = self::matches_operation( $val1, $val2, 'is' ); @@ -998,13 +1002,12 @@ public static function matches_operation( $val1, $val2, $operation ) { $value = ( 'in' === $operation ) ? $json_in : ! $json_in; } break; - case 'less_than': case '<': if ( is_string( $val1 ) && is_string( $val2 ) ) { $value = $val1 < $val2; } else { - $value = GFFormsModel::matches_operation( $val1, $val2, $operation ); + $value = GFFormsModel::$gf_comparison_method( $val1, $val2, $operation ); } break; case 'greater_than': @@ -1012,11 +1015,11 @@ public static function matches_operation( $val1, $val2, $operation ) { if ( is_string( $val1 ) && is_string( $val2 ) ) { $value = $val1 > $val2; } else { - $value = GFFormsModel::matches_operation( $val1, $val2, $operation ); + $value = GFFormsModel::$gf_comparison_method( $val1, $val2, $operation ); } break; default: - $value = GFFormsModel::matches_operation( $val1, $val2, $operation ); + $value = GFFormsModel::$gf_comparison_method( $val1, $val2, $operation ); } return $value; @@ -1156,6 +1159,46 @@ public static function check_entry_display( $entry, $view = null ) { return $entry; } + /** + * Formats date without applying site's timezone. This is a copy of {@see GFCommon::format_date()}. + * + * @since 2.33 + * + * @param string $gmt_datetime The UTC date/time value to be formatted. + * @param bool $is_human Indicates if a human-readable time difference such as "1 hour ago" should be returned when within 24hrs of the current time. Defaults to true. + * @param string $date_format The format the value should be returned in. Defaults to an empty string; the date format from the WordPress general settings, if configured, or Y-m-d. + * @param bool $include_time Indicates if the time should be included in the returned string. Defaults to true; the time format from the WordPress general settings, if configured, or H:i. + * + * @return string + * + */ + public static function format_date_without_timezone_offset( $gmt_datetime, $is_human = true, $date_format = '', $include_time = true ) { + if ( empty( $gmt_datetime ) ) { + return ''; + } + + $gmt_time = mysql2date( 'G', $gmt_datetime ); + + if ( $is_human ) { + $time_diff = time() - $gmt_time; + + if ( $time_diff > 0 && $time_diff < DAY_IN_SECONDS ) { + return sprintf( esc_html__( '%s ago', 'gravityview' ), human_time_diff( $gmt_time ) ); + } + } + + if ( empty( $date_format ) ) { + $date_format = GFCommon::get_default_date_format(); + } + + if ( $include_time ) { + $time_format = GFCommon::get_default_time_format(); + + return sprintf( esc_html__( '%1$s at %2$s', 'gravityview' ), date_i18n( $date_format, $gmt_time, true ), date_i18n( $time_format, $gmt_time, true ) ); + } + + return date_i18n( $date_format, $gmt_time, true ); + } /** * Allow formatting date and time based on GravityView standards @@ -1176,34 +1219,34 @@ public static function check_entry_display( $entry, $view = null ) { * @return int|null|string Formatted date based on the original date */ public static function format_date( $date_string = '', $args = array() ) { - - $default_atts = array( - 'raw' => false, - 'timestamp' => false, - 'diff' => false, - 'human' => false, - 'format' => '', - 'time' => false, - ); + $default_atts = [ + 'raw' => false, + 'timestamp' => false, + 'diff' => false, + 'human' => false, + 'format' => '', + 'time' => false, + 'no_tz_offset' => false, + ]; $atts = wp_parse_args( $args, $default_atts ); /** - * Gravity Forms code to adjust date to locally-configured Time Zone + * Gravity Forms code to adjust date to locally-configured timezone. * * @see GFCommon::format_date() for original code */ $date_gmt_time = mysql2date( 'G', $date_string ); $date_local_timestamp = GFCommon::get_local_timestamp( $date_gmt_time ); - $format = \GV\Utils::get( $atts, 'format' ); - $is_human = ! empty( $atts['human'] ); - $is_diff = ! empty( $atts['diff'] ); - $is_raw = ! empty( $atts['raw'] ); - $is_timestamp = ! empty( $atts['timestamp'] ); - $include_time = ! empty( $atts['time'] ); - $time_diff = strtotime( $date_string ) - current_time( 'timestamp' ); - + $format = \GV\Utils::get( $atts, 'format' ); + $is_human = ! empty( $atts['human'] ); + $is_diff = ! empty( $atts['diff'] ); + $is_raw = ! empty( $atts['raw'] ); + $is_timestamp = ! empty( $atts['timestamp'] ); + $include_time = ! empty( $atts['time'] ); + $no_tz_offset = ! empty( $atts['no_tz_offset'] ); + $time_diff = strtotime( $date_string ) - current_time( 'timestamp' ); // If we're using time diff, we want to have a different default format if ( empty( $format ) ) { @@ -1220,11 +1263,13 @@ public static function format_date( $date_string = '', $args = array() ) { $formatted_date = $date_local_timestamp; } elseif ( $is_diff ) { $formatted_date = sprintf( $format, human_time_diff( $date_gmt_time, current_time( 'timestamp' ) ) ); + } elseif ( $no_tz_offset ) { + $formatted_date = self::format_date_without_timezone_offset( $date_string, $is_human, $format, $include_time ); } else { $formatted_date = GFCommon::format_date( $date_string, $is_human, $format, $include_time ); } - unset( $format, $is_diff, $is_human, $is_timestamp, $is_raw, $date_gmt_time, $date_local_timestamp, $default_atts ); + unset( $format, $is_diff, $is_human, $is_timestamp, $no_tz_offset, $is_raw, $date_gmt_time, $date_local_timestamp, $default_atts ); return $formatted_date; } diff --git a/includes/class-frontend-views.php b/includes/class-frontend-views.php index 47029b0b8..241322a21 100644 --- a/includes/class-frontend-views.php +++ b/includes/class-frontend-views.php @@ -926,11 +926,11 @@ public static function process_search_only_approved( $args, $search_criteria ) { } if ( ! empty( $args['show_only_approved'] ) ) { - - $search_criteria['field_filters'][] = array( - 'key' => GravityView_Entry_Approval::meta_key, - 'value' => GravityView_Entry_Approval_Status::APPROVED, - ); + $search_criteria['field_filters'][] = [ + 'key' => GravityView_Entry_Approval::meta_key, + 'operator' => '=', + 'value' => GravityView_Entry_Approval_Status::APPROVED, + ]; $search_criteria['field_filters']['mode'] = 'all'; // force all the criterias to be met diff --git a/includes/class-gravityview-merge-tags.php b/includes/class-gravityview-merge-tags.php index 7d482376f..f3a8c7911 100644 --- a/includes/class-gravityview-merge-tags.php +++ b/includes/class-gravityview-merge-tags.php @@ -84,6 +84,10 @@ public function cache_merge_tag_modifiers( $text ) { * @return string If no modifiers passed, $raw_value is not a string, or {all_fields} Merge Tag is used, original value. Otherwise, output from modifier methods. */ public static function process_modifiers( $value, $merge_tag, $modifier, $field, $raw_value ) { + // Process array value for sub-fields like name and address. + if ( $raw_value[ $merge_tag ] ?? null ) { + $raw_value = $raw_value[ $merge_tag ]; + } // No modifier was set or the raw value was empty if ( 'all_fields' === $merge_tag || '' === $modifier || ! is_string( $raw_value ) || '' === $raw_value ) { @@ -108,6 +112,7 @@ public static function process_modifiers( $value, $merge_tag, $modifier, $field, 'ucfirst' => 'modifier_strings', 'ucwords' => 'modifier_strings', 'wptexturize' => 'modifier_strings', + 'initials' => 'modifier_initials', /** @see modifier_initials */ 'format' => 'modifier_format', /** @see modifier_format */ 'human' => 'modifier_human', /** @see modifier_human */ ); @@ -119,16 +124,13 @@ public static function process_modifiers( $value, $merge_tag, $modifier, $field, $unserialized = maybe_unserialize( $raw_value ); if ( method_exists( $field, 'get_value_merge_tag' ) && is_array( $unserialized ) ) { - $non_gv_modifiers = array_diff( $modifiers, array_keys( $gv_modifiers ) ); $return = $field->get_value_merge_tag( $value, '', array( 'currency' => '' ), array(), implode( '', $non_gv_modifiers ), $raw_value, false, false, 'text', false ); } foreach ( $modifiers as $passed_modifier ) { - foreach ( $gv_modifiers as $gv_modifier => $method ) { - // Uses ^ to only match the first modifier, to enforce same order as passed by GF preg_match( '/^' . $gv_modifier . '/ism', $passed_modifier, $matches ); @@ -137,7 +139,8 @@ 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, $passed_modifier ); + $return = self::$method( $return, $matches, $value, $field, $passed_modifier, $merge_tag ); + break; } } @@ -200,16 +203,18 @@ public static function modifier_human( $raw_value, $matches, $value = '', $field * Converts date and time values to the format modifier. * * @since 2.26 + * @since 2.33 Added $merge_tag parameter. * * @param string $raw_value * @param array $matches * @param string $value * @param array $field * @param string $modifier + * @param string $merge_tag * * @return string */ - private static function modifier_format( $raw_value, $matches, $value, $field, $modifier ) { + private static function modifier_format( $raw_value, $matches, $value, $field, $modifier, $merge_tag = '' ) { $format = self::get_format_merge_tag_modifier_value( $modifier ); if ( ! $format ) { @@ -224,7 +229,7 @@ private static function modifier_format( $raw_value, $matches, $value, $field, $ return self::format_date( $raw_value, $modifier ); } - return $raw_value; + return apply_filters( 'gravityview/merge_tags/modifiers/format', $raw_value, $format, $field, $modifier, $merge_tag ); } /** @@ -407,6 +412,19 @@ private static function modifier_strings( $raw_value, $matches, $value = '', $fi return $return; } + /** + * Adds a modifier to convert a full name or string to initials. + * + * @since 2.33 + * + * @param string $raw_value The full name or string to convert. + * + * @return string The initials. + */ + public static function modifier_initials( $raw_value ) { + return GravityView_Field_Name::convert_to_initials( $raw_value ); + } + /** * Alias for GFCommon::replace_variables() * @@ -682,12 +700,13 @@ public static function format_date( $date_or_time_string = '', $modifier = '' ) $parsed_modifier = explode( ':', $modifier ); $atts = [ - 'format' => self::get_format_merge_tag_modifier_value( $modifier, false ), - 'human' => in_array( 'human', $parsed_modifier ), // {date_created:human} - 'diff' => in_array( 'diff', $parsed_modifier ), // {date_created:diff} - 'raw' => in_array( 'raw', $parsed_modifier ), // {date_created:raw} - 'timestamp' => in_array( 'timestamp', $parsed_modifier ), // {date_created:timestamp} - 'time' => in_array( 'time', $parsed_modifier ), // {date_created:time} + 'format' => self::get_format_merge_tag_modifier_value( $modifier, false ), + 'human' => in_array( 'human', $parsed_modifier ), // {date_created:human} + 'diff' => in_array( 'diff', $parsed_modifier ), // {date_created:diff} + 'raw' => in_array( 'raw', $parsed_modifier ), // {date_created:raw} + 'timestamp' => in_array( 'timestamp', $parsed_modifier ), // {date_created:timestamp} + 'time' => in_array( 'time', $parsed_modifier ), // {date_created:time} + 'no_tz_offset' => in_array( 'no_tz_offset', $parsed_modifier ), // {date_created:no_tz_offset} ]; return GVCommon::format_date( $date_or_time_string, $atts ); diff --git a/includes/extensions/duplicate-entry/class-duplicate-entry.php b/includes/extensions/duplicate-entry/class-duplicate-entry.php index b0deb23ab..9ef390a88 100644 --- a/includes/extensions/duplicate-entry/class-duplicate-entry.php +++ b/includes/extensions/duplicate-entry/class-duplicate-entry.php @@ -483,6 +483,7 @@ private function duplicate_entry( $entry ) { $row['is_read'] = false; $row['ip'] = rgars( $form, 'personalData/preventIP' ) ? '' : GFFormsModel::get_ip(); $row['source_url'] = esc_url_raw( remove_query_arg( array( 'action', 'gvid', 'result', 'duplicate', 'entry_id' ) ) ); + $row['source_id'] = null; // Duplicated entry doesn't have a source ID page, since it's coming from admin. $row['user_agent'] = \GV\Utils::_SERVER( 'HTTP_USER_AGENT' ); $row['created_by'] = wp_get_current_user()->ID; diff --git a/includes/extensions/edit-entry/class-edit-entry-render.php b/includes/extensions/edit-entry/class-edit-entry-render.php index 30987be9a..6d59e3936 100644 --- a/includes/extensions/edit-entry/class-edit-entry-render.php +++ b/includes/extensions/edit-entry/class-edit-entry-render.php @@ -1238,7 +1238,7 @@ private function maybe_print_message() { case '2': $redirect_url = $edit_redirect_url; $redirect_url = GFCommon::replace_variables( $redirect_url, $this->form, $this->entry, false, false, false, 'text' ); - $entry_updated_message = sprintf( esc_attr_x( 'Entry Updated. %1$sRedirecting to %2$s%3$s', 'Replacement 1 is HTML. Replacement 2 is the URL where the user will be taken. Replacement 3 is HTML.', 'gk-gravityview' ), '', esc_html( $edit_redirect_url ), '' ); + $entry_updated_message = sprintf( esc_attr_x( 'Entry Updated. %1$sRedirecting to %2$s%3$s', 'Replacement 1 is HTML. Replacement 2 is the URL where the user will be taken. Replacement 3 is HTML.', 'gk-gravityview' ), '', esc_html( $redirect_url ), '' ); break; case '': @@ -2293,7 +2293,7 @@ private function filter_conditional_logic( $form ) { $value = gform_get_meta( $this->entry['id'], $rule['fieldId'] ); } - $match = GFFormsModel::matches_operation( $value, $rule['value'], $rule['operator'] ); + $match = GVCommon::matches_operation( $value, $rule['value'], $rule['operator'] ); if ( $match ) { $remove_conditions_rule[] = array( $field['id'], $i ); diff --git a/includes/extensions/entry-notes/class-gravityview-field-notes.php b/includes/extensions/entry-notes/class-gravityview-field-notes.php index 33f2c5bf0..e2f48e3f8 100644 --- a/includes/extensions/entry-notes/class-gravityview-field-notes.php +++ b/includes/extensions/entry-notes/class-gravityview-field-notes.php @@ -514,6 +514,7 @@ public static function display_note( $note, $show_delete = false, $context = nul ob_start(); $context->template->get_template_part( 'note', $note_row_template, true ); $note_row = ob_get_clean(); + } else { /** @deprecated path */ ob_start(); @@ -534,7 +535,7 @@ public static function display_note( $note, $show_delete = false, $context = nul '{row_class}' => 'gv-note', '{note_detail}' => $note_detail_html, ); - +var_dump($note_row);exit; // Strip extra whitespace in template $output = gravityview_strip_whitespace( $note_row ); diff --git a/includes/extensions/lightbox-entry/class-gravityview-lightbox-entry.php b/includes/extensions/lightbox-entry/class-gravityview-lightbox-entry.php index 03767f9b1..2f752cda2 100644 --- a/includes/extensions/lightbox-entry/class-gravityview-lightbox-entry.php +++ b/includes/extensions/lightbox-entry/class-gravityview-lightbox-entry.php @@ -127,7 +127,7 @@ public function process_rest_request( $request ) { gravityview()->request = new GravityView_Lightbox_Entry_Request( $view, $entry ); if ( $delete_nonce ) { - return $this->process_delete_entry( $view ); + return $this->process_delete_entry( $view, $entry, $form ); } if ( $duplicate_nonce ) { @@ -339,7 +339,11 @@ private function process_edit_entry( $nonce, $view, $entry, $form ) { } $reload_page = 1 === (int) $view->settings->get( 'edit_redirect' ) ? 'true' : 'false'; - $redirect_to_url = 2 === (int) $view->settings->get( 'edit_redirect' ) ? esc_url( $view->settings->get( 'edit_redirect_url', '' ) ) : ''; + $redirect_to_url = 2 === (int) $view->settings->get( 'edit_redirect' ) ? $view->settings->get( 'edit_redirect_url', '' ) : ''; + + if ( $redirect_to_url ) { + $redirect_to_url = esc_url( GravityView_API::replace_variables( $redirect_to_url, $form, $entry->as_entry() ) ); + } add_filter( 'gravityview/edit_entry/success', function ( $message ) use ( $view, $reload_page, $redirect_to_url ) { return <<settings->get( 'delete_redirect' ) ? 'true' : 'false'; $redirect_to_url = GravityView_Delete_Entry::REDIRECT_TO_URL_VALUE === (int) $view->settings->get( 'delete_redirect' ) ? esc_url( $view->settings->get( 'delete_redirect_url', '' ) ) : ''; + if ( $redirect_to_url ) { + $redirect_to_url = esc_url( GravityView_API::replace_variables( $redirect_to_url, $form, $entry->as_entry() ) ); + } + ob_start(); echo <<settings->get( 'single_title', '' ), $form, - $entry + $entry->as_entry() ) ); diff --git a/includes/fields/class-gravityview-field-name.php b/includes/fields/class-gravityview-field-name.php index 5d17c02c4..728450472 100644 --- a/includes/fields/class-gravityview-field-name.php +++ b/includes/fields/class-gravityview-field-name.php @@ -48,7 +48,29 @@ public function field_options( $field_options, $template_id, $field_id, $context return $field_options; } + /** + * Converts a full name or string to initials. + * + * @since 2.33 + * + * @param string $value The full name or string to convert. + * + * @return string The initials. + */ + public static function convert_to_initials( $value ) { + $names = explode( ' ', $value ); + + $display_value = ''; + + foreach ( $names as $name ) { + $first_char = function_exists( 'mb_substr' ) ? mb_substr( $name, 0, 1 ) : substr( $name, 0, 1 ); + $upper_char = function_exists( 'mb_strtoupper' ) ? mb_strtoupper( $first_char ) : strtoupper( $first_char ); + + $display_value .= trim( $upper_char ) . '.'; + } + return $display_value; + } } new GravityView_Field_Name(); diff --git a/includes/fields/class-gravityview-field-source-id.php b/includes/fields/class-gravityview-field-source-id.php new file mode 100644 index 000000000..9c4991ec9 --- /dev/null +++ b/includes/fields/class-gravityview-field-source-id.php @@ -0,0 +1,82 @@ +label = esc_html__( 'Source ID', 'gk-gravityview' ); + $this->description = esc_html__( 'The post or page where the form was submitted.', 'gk-gravityview' ); + + parent::__construct(); + } + + /** + * @inheritDoc + */ + public function field_options( $field_options, $template_id, $field_id, $context, $input_type, $form_id ) { + + // Don't link to entry; doesn't make sense. + unset( $field_options['show_as_link'] ); + + if ( 'edit' === $context ) { + return $field_options; + } + + $add_options = array(); + $add_options['link_to_source'] = array( + 'type' => 'checkbox', + 'label' => __( 'Link to URL', 'gk-gravityview' ), + 'desc' => __( 'Link to the page where the entry was submitted.', 'gk-gravityview' ), + 'value' => false, + 'merge_tags' => false, + ); + $add_options['link_text'] = array( + 'type' => 'select', + 'label' => __( 'Link Text', 'gk-gravityview' ), + 'desc' => __( 'What should the link show?', 'gk-gravityview' ), + 'value' => 'source_id', + 'merge_tags' => false, + 'choices' => [ + 'source_id' => __( 'ID of Source', 'gk-gravityview' ), + 'page_title' => __( 'Title of Source', 'gk-gravityview' ), + 'custom' => __( 'Custom Text', 'gk-gravityview' ), + ], + 'requires' => 'link_to_source=1', + ); + $add_options['source_link_text'] = array( + 'type' => 'text', + 'label' => __( 'Link Text:', 'gk-gravityview' ), + 'desc' => __( 'Customize the link text. If empty, the link text will be the source ID.', 'gk-gravityview' ), + 'value' => null, + 'merge_tags' => 'force', + 'requires' => 'link_text=custom', + 'class' => 'widefat', + ); + + return $add_options + $field_options; + } +} + +new GravityView_Field_Source_ID(); diff --git a/includes/fields/class-gravityview-field-user-activation.php b/includes/fields/class-gravityview-field-user-activation.php new file mode 100644 index 000000000..739e402da --- /dev/null +++ b/includes/fields/class-gravityview-field-user-activation.php @@ -0,0 +1,186 @@ +label = esc_attr__( 'User Activation', 'gk-gravityview' ); + + $this->description = esc_attr__( 'Activate and deactivate users.', 'gk-gravityview' ); + + $this->add_hooks(); + + parent::__construct(); + } + + public function add_hooks() { + add_filter( 'gravityview_field_entry_value_' . $this->name . '_pre_link', array( $this, 'get_content' ), 10, 4 ); + + add_action( 'wp_enqueue_scripts', array( $this, 'register_scripts_and_styles' ) ); + + // Make sure scripts are registered for FSE themes + add_action( 'gravityview/template/before', array( $this, 'register_scripts_and_styles' ) ); + + add_action( 'gravityview/field/user_activation/load_scripts', array( $this, 'enqueue_and_localize_script' ) ); + + add_action( 'gravityview_datatables_scripts_styles', array( $this, 'enqueue_and_localize_script' ) ); + } + + /** + * Enqueues and localizes the script + * + * @since 2.33 + */ + public function enqueue_and_localize_script() { + // The script is already registered and enqueued + if ( wp_script_is( 'gv-user-activation', 'enqueued' ) ) { + return; + } + wp_enqueue_script( 'gv-user-activation' ); + + wp_localize_script( + 'gv-user-activation', + 'gvUserActivation', + array( + 'ajax_url' => admin_url( 'admin-ajax.php' ), + 'nonce' => wp_create_nonce( 'gf_user_activate' ), + 'success_message' => esc_html__( 'User Activated Successfully!', 'gk-gravityview' ), + 'confirm_message' => esc_html__( 'Are you sure you want to activate this user?', 'gk-gravityview' ), + 'spinner_url' => GFCommon::get_base_url() . '/images/spinner.svg', + ) + ); + } + + /** + * Registers the scripts and styles + * + * @since 2.33 + */ + public function register_scripts_and_styles() { + if ( wp_script_is( 'gv-user-activation' ) ) { + return; + } + + $script_debug = ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) ? '' : '.min'; + + wp_register_script( 'gv-user-activation', GRAVITYVIEW_URL . 'assets/js/field-user-activation' . $script_debug . '.js', array( 'jquery' ), GV_PLUGIN_VERSION, true ); + } + + /** + * Gets the content of the field + * + * @since 2.33 + * + * @param string $output + * @param array $entry + * @param array $field_settings + * @param array $field + * + * @return string + */ + public function get_content( $output = '', $entry = array(), $field_settings = array(), $field = array() ) { + /** Overridden by a template. */ + if ( ! empty( $field['field_path'] ) ) { + return $output; + } + + return $output; + } + + /** + * Checks if the user exists + * + * @since 2.33 + * + * @param array $form + * @param array $entry + * + * @return bool + */ + public static function check_if_user_exist( $form, $entry ) { + foreach ( $form['fields'] as $field ) { + if ( $field->type !== 'email' ) { + continue; + } + + $email = rgar( $entry, $field->id ); + if ( $email ) { + return email_exists( $email ); + } + } + + return false; + } + + /** + * Checks if the activation key is valid + * + * @since 2.33 + * + * @param string $activation_key + * + * @return WP_Error|true + */ + public static function check_activation_key( $activation_key ) { + global $wpdb; + + $signup = $wpdb->get_row( $wpdb->prepare( "SELECT * FROM {$wpdb->prefix}signups WHERE activation_key = %s", $activation_key ) ); + + if ( empty( $signup ) ) { + return new WP_Error( 'invalid_key', __( 'Invalid activation key', 'gk-gravityview' ) ); + } + + if ( $signup->active ) { + return new WP_Error( 'already_active', __( 'The user is already active', 'gk-gravityview' ) ); + } + + return true; + } + + /** + * Checks if the feeds are valid and have the user activation value set to manual. + * + * @since 2.33 + * + * @param int $form_id + * + * @return bool + */ + public static function check_if_feeds_are_valid( $form_id ) { + $valid = false; + $feeds = GFAPI::get_feeds( null, $form_id ); + if ( empty( $feeds ) ) { + return $valid; + } + + foreach ( $feeds as $feed ) { + if ( ( isset( $feed['is_active'] ) && 1 !== (int) $feed['is_active'] ) || !isset( $feed['addon_slug'] ) || 'gravityformsuserregistration' !== $feed['addon_slug'] ) { + continue; + } + + if ( 'manual' === $feed['meta']['userActivationValue'] ) { + $valid = true; + break; + } + } + + return $valid; + } + +} + +if ( class_exists( 'GF_User_Registration_Bootstrap' ) ) { + new GravityView_Field_User_Activation(); +} diff --git a/includes/plugin-and-theme-hooks/class-gravityview-plugin-hooks-gravity-flow.php b/includes/plugin-and-theme-hooks/class-gravityview-plugin-hooks-gravity-flow.php index a5d75449b..3a514e788 100644 --- a/includes/plugin-and-theme-hooks/class-gravityview-plugin-hooks-gravity-flow.php +++ b/includes/plugin-and-theme-hooks/class-gravityview-plugin-hooks-gravity-flow.php @@ -37,7 +37,13 @@ function add_hooks() { add_filter( 'gravityview/admin/available_fields', array( $this, 'maybe_add_non_default_fields' ), 10, 3 ); - add_filter( 'gravityview/adv_filter/field_filters', array( $this, 'maybe_add_non_default_filter_fields' ), 10, 2 ); + if ( defined( 'GRAVITYKIT_ADVANCED_FILTERING_VERSION' ) ) { + add_filter( + version_compare( GRAVITYKIT_ADVANCED_FILTERING_VERSION, '3.0.0', '<' ) + ? 'gravityview/adv_filter/field_filters' + : 'gk/query-filters/field-filters', + [ $this, 'maybe_add_non_default_filter_fields' ], 10, 2 ); + } add_action( 'gravityflow_post_process_workflow', array( $this, 'clear_cache_after_workflow' ), 10, 4 ); diff --git a/includes/presets/layout-builder/Template/FieldRenderer.php b/includes/presets/layout-builder/Template/FieldRenderer.php new file mode 100644 index 000000000..e69de29bb diff --git a/includes/presets/layout-builder/class-gravityview-layout-builder.php b/includes/presets/layout-builder/class-gravityview-layout-builder.php new file mode 100644 index 000000000..da294cc58 --- /dev/null +++ b/includes/presets/layout-builder/class-gravityview-layout-builder.php @@ -0,0 +1,161 @@ + [ Grid::get_row_by_type( '100' ) ], + ); + + parent::__construct( + self::ID, + [ + 'slug' => self::ID, + 'type' => 'custom', + 'label' => __( 'Layout Builder', 'gk-gravityview' ), + 'description' => __( + 'Display items in customizable rows and columns.', + 'gk-gravityview', + ), + 'css_source' => null, + 'logo' => plugins_url( 'includes/presets/layout-builder/logo-layout-builder.svg', GRAVITYVIEW_FILE ), + ], + [ + 'show_as_link' => [ + 'type' => 'checkbox', + 'label' => esc_html__( 'Link to single entry', 'gk-gravityview' ), + 'value' => false, + 'context' => 'directory', + 'priority' => 1190, + 'group' => 'display', + ], + ], + $areas, + ); + + add_filter( 'gravityview/template/view/class', [ __CLASS__, 'get_view_class' ] ); + add_filter( 'gravityview/template/entry/class', [ __CLASS__, 'get_view_class' ] ); + + add_filter( 'gk/gravityview/admin-views/view/is-dynamic', [ __CLASS__, 'make_dynamic' ], 5, 3 ); + add_filter( 'gk/gravityview/admin-views/view/template/active-areas', [ __CLASS__, 'replace_active_areas' ], 5, 4 ); + + add_action( 'wp_enqueue_scripts', [ __CLASS__, 'register_style_assets' ] ); + } + + /** + * Returns {@see ViewTemplate} class name to be used as the View template class. + * + * @used-by `gravityview/template/view/class` filter. + * + * @since TBD + * + * @param string $template_class View template class. + * + * @return string The template class to use. + */ + public static function get_view_class( string $template_class ): string { + // GravityView expects the class to be in the "GV\View__Template" format. + $is_layout_builder_template = false !== stripos( $template_class, '_' . self::ID . '_' ); + if ( ! $is_layout_builder_template ) { + return $template_class; + } + + return stripos( $template_class, 'view_' ) !== false + ? View_Layout_Builder_Template::class + : Entry_Layout_Builder_Template::class; + } + + /** + * Returns the dynamic areas, stored in the fields array. + * + * @since $ver$ + * + * @param array $areas The current areas. + * @param string $template_id The template ID. + * @param string $context The context / zone. + * @param array $fields The fields to render. + * + * @return array The rows with the active dynamic areas. + */ + public static function replace_active_areas( + array $areas, + string $template_id, + string $context, + array $fields + ): array { + if ( self::ID !== $template_id ) { + return $areas; + } + + $collection = Field_Collection::from_configuration( $fields ); + $rows = Grid::prefixed( + self::ID, + static fn() => Grid::get_rows_from_collection( $collection, $context ), + ); + + return $rows ?: $areas; + } + + /** + * Makes the field sections for the Layout Builder template sortable. + * + * @since $ver$ + * + * @param bool $is_dynamic Whether it is dynamic. + * @param string $template_id The template ID. + * @param string $type The object type. + * + * @return bool Whether it is sortable + */ + public static function make_dynamic( bool $is_dynamic, string $template_id, string $type ): bool { + if ( + self::ID !== $template_id + || 'field' !== $type + ) { + return $is_dynamic; + } + + return true; + } + + /** + * Registers the style assets for the View layout. + * + * @since $ver$ + */ + public static function register_style_assets(): void { + $style = 'gravityview_style_' . self::ID; + wp_register_style( + $style, + plugin_dir_url( GRAVITYVIEW_FILE ) . 'templates/css/layout-builder.css', + [], + GV_PLUGIN_VERSION + ); + } +} + +// new GravityView_Layout_Builder(); diff --git a/includes/presets/layout-builder/index.php b/includes/presets/layout-builder/index.php new file mode 100644 index 000000000..8142269b1 --- /dev/null +++ b/includes/presets/layout-builder/index.php @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/includes/presets/register-default-templates.php b/includes/presets/register-default-templates.php index e9f5024bc..7e7b52f8f 100644 --- a/includes/presets/register-default-templates.php +++ b/includes/presets/register-default-templates.php @@ -40,6 +40,7 @@ function gravityview_register_default_templates() { include_once $path . 'resume-board/class-gravityview-preset-resume-board.php'; include_once $path . 'job-board/class-gravityview-preset-job-board.php'; include_once $path . 'event-listings/class-gravityview-preset-event-listings.php'; + include_once $path . 'layout-builder/class-gravityview-layout-builder.php'; } diff --git a/readme.txt b/readme.txt index e8a4d7fa0..fb115fb69 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.7 +Tested up to: 6.7.1 Requires PHP: 7.4.0 Stable tag: trunk Contributors: The GravityKit Team @@ -21,7 +21,31 @@ Beautifully display your Gravity Forms entries. Learn more on [gravitykit.com](h == Changelog == -= develop = += 2.33 on December 19, 2024 = + +This release introduces support for the Source ID meta (Gravity Forms 2.9+), adds a new User Activation field to the View editor, and includes various fixes and enhancements. + +#### 🚀 Added +* Support for the Source ID meta introduced in Gravity Forms 2.9. +* New User Activation field in the View editor to activate users added by the Gravity Forms User Registration add-on. +* Client-side validation of View editor settings to prevent incorrect values. +* `:initials` merge tag modifier for Name fields to display initials. +* `:format` merge tag modifier for field inputs (e.g., `{Event Field:1.1:format:Y-m-d}`). + +#### 🐛 Fixed +* Merge tags in redirect URLs were not processed after editing or deleting an entry in the lightbox. +* Individual Checkboxes field inputs incorrectly exported in CSV. +* Custom permalinks not being used in embedded Views. +* Deprecated filter notice when both the Advanced Filter extension (version 3 or newer) and Gravity Flow are active. +* Labels for fields with empty values disappearing in mobile view when joining forms using the Multiple Forms extension. +* Views defaulting to English instead of the site's language for users without certain capabilities. + +#### 🔧 Updated +* [Foundation](https://www.gravitykit.com/foundation/) to version 1.2.22. + +#### 💻 Developer Updates +* Added `gravityview/template/field/csv/tick` filter to programmatically modify the checkbox "check" output in CSV. +* Added `gravityview/shortcode/after-processing` action after a `[gravityview]` shortcode is finished. = 2.32 on November 21, 2024 = diff --git a/templates/css/layout-builder.css b/templates/css/layout-builder.css new file mode 100644 index 000000000..c1c448837 --- /dev/null +++ b/templates/css/layout-builder.css @@ -0,0 +1 @@ +.gv-edit-entry-wrapper .gform_wrapper{border:1px solid #E3E6EF;background:#FFF;padding:16px 0}.gv-edit-entry-wrapper .gform_wrapper{padding:16px}.gv-edit-entry-wrapper .gform_wrapper .gform-footer{margin-top:16px;background-color:#F7FAFC;padding:16px 32px;border-radius:4px}.gv-edit-entry-wrapper .gform_wrapper .gform-footer #publishing-action{flex:1}.gv-edit-entry-wrapper .gform_wrapper .gform-footer input.button,.gv-edit-entry-wrapper .gform_wrapper .gform-footer a.btn{font-size:1em;line-height:1.3em;text-decoration:none;display:inline-block;border-radius:4px;padding:14px 20px;margin:0;border:1px solid #E3E6EF;color:#0073AA;cursor:pointer}.gv-edit-entry-wrapper .gform_wrapper .gform-footer input.button:hover,.gv-edit-entry-wrapper .gform_wrapper .gform-footer a.btn:hover{color:#005680;border-color:#005680}.gv-edit-entry-wrapper .gform_wrapper .gform-footer input.button.button-primary,.gv-edit-entry-wrapper .gform_wrapper .gform-footer a.btn.button-primary{background-color:#0073AA;border-color:#0073AA;color:#FFF}.gv-edit-entry-wrapper .gform_wrapper .gform-footer input.button.button-primary:hover,.gv-edit-entry-wrapper .gform_wrapper .gform-footer a.btn.button-primary:hover{background-color:#005680;border-color:#005680}.gv-edit-entry-wrapper .gform_wrapper .gform-footer input.button.btn-danger,.gv-edit-entry-wrapper .gform_wrapper .gform-footer a.btn.btn-danger{color:#a00}.gv-edit-entry-wrapper .gform_wrapper .gform-footer input.button.btn-danger:hover,.gv-edit-entry-wrapper .gform_wrapper .gform-footer a.btn.btn-danger:hover{background-color:#a00;border-color:#a00;color:#FFF}.gv-edit-entry-wrapper .gform_wrapper .gform-footer input.button.gv-button-delete,.gv-edit-entry-wrapper .gform_wrapper .gform-footer a.btn.gv-button-delete{float:right}.gv-edit-entry-wrapper .gform_wrapper .gform-footer input.button.gv-button-cancel,.gv-edit-entry-wrapper .gform_wrapper .gform-footer a.btn.gv-button-cancel{margin-left:5px;border-color:transparent}.gv-edit-entry-wrapper .gform_wrapper .gfield_label,.gv-edit-entry-wrapper .gform_wrapper .gform-field-label--type-sub{color:#565D67;font-weight:normal}.gv-edit-entry-wrapper .gform_wrapper .gfield_label{margin-bottom:3px}.gv-edit-entry-wrapper .gform_wrapper label.gform-field-label--type-sub{text-transform:uppercase;font-size:.7em;padding-left:14px}.gv-edit-entry-wrapper .gform_wrapper .ginput_container input{border:1px solid #E3E6EF;border-radius:4px;padding:13px}.gv-layout-builder-view--entry{border:1px solid #E3E6EF;background:#FFF;padding:16px 0}.gv-layout-builder-view--entry+.gv-layout-builder-view--entry{margin-top:-1px}.gv-layout-builder-view--entry .gv-grid-row{display:flex}.gv-layout-builder-view--entry .gv-grid-row+.gv-grid-row div[class^=gv-field-]{margin-top:16px;border-top:1px solid #E3E6EF;padding-top:16px}.gv-layout-builder-view--entry div[class^=gv-field-] .gv-field-label{color:#565D67;font-size:.8em}.gv-layout-builder-view--entry div[class^=gv-field-] .gv-field-label+*{margin:0}.gv-layout-builder-view--entry div[class^=gv-field-] p,.gv-layout-builder-view--entry div[class^=gv-field-] ul,.gv-layout-builder-view--entry div[class^=gv-field-] ol{margin:0}.gv-layout-builder-view--entry div[class^=gv-field-] p+p,.gv-layout-builder-view--entry div[class^=gv-field-] p ul,.gv-layout-builder-view--entry div[class^=gv-field-] p ol,.gv-layout-builder-view--entry div[class^=gv-field-] ul+p,.gv-layout-builder-view--entry div[class^=gv-field-] ul ul,.gv-layout-builder-view--entry div[class^=gv-field-] ul ol,.gv-layout-builder-view--entry div[class^=gv-field-] ol+p,.gv-layout-builder-view--entry div[class^=gv-field-] ol ul,.gv-layout-builder-view--entry div[class^=gv-field-] ol ol{margin-top:1em}.gv-layout-builder-view--entry div[class^=gv-field-]+div[class^=gv-field-]{margin-top:16px;border-top:1px solid #E3E6EF;padding-top:16px}.gv-layout-builder-view--entry div[class^=gv-grid-col-]{padding:0 16px}.gv-layout-builder-view--entry div[class^=gv-grid-col-]+div[class^=gv-grid-col-]{border-left:1px solid #E3E6EF} diff --git a/templates/css/source/layout-builder.scss b/templates/css/source/layout-builder.scss new file mode 100644 index 000000000..a17c73b91 --- /dev/null +++ b/templates/css/source/layout-builder.scss @@ -0,0 +1,8 @@ +$color-border: #E3E6EF; +$color-label: #565D67; +$color-primary: #0073AA; +$color-danger: #AA0000; +$padding: 16px; + +@import 'layout-builder/edit_entry'; +@import 'layout-builder/view_entry'; diff --git a/templates/css/source/layout-builder/_edit_entry.scss b/templates/css/source/layout-builder/_edit_entry.scss new file mode 100644 index 000000000..f62d7c2ec --- /dev/null +++ b/templates/css/source/layout-builder/_edit_entry.scss @@ -0,0 +1,93 @@ +.gv-edit-entry-wrapper .gform_wrapper { + border: 1px solid $color-border; + background: #FFF; + padding: $padding 0; +} + +.gv-edit-entry-wrapper .gform_wrapper { + padding: $padding; + + .gform-footer { + margin-top: $padding; + background-color: #F7FAFC; + padding: $padding $padding*2; + border-radius: 4px; + + #publishing-action { + flex: 1; + } + + input.button, + a.btn { + font-size: 1em; + line-height: 1.3em; + text-decoration: none; + display: inline-block; + border-radius: 4px; + padding: 14px 20px; + margin: 0; + border: 1px solid $color-border; + color: $color-primary; + cursor: pointer; + + &:hover { + color: #005680; + border-color: #005680;; + } + + &.button-primary { + background-color: $color-primary; + border-color: $color-primary; + color: #FFF; + + &:hover { + background-color: #005680; + border-color: #005680; + } + } + + &.btn-danger { + color: $color-danger; + + &:hover { + background-color: $color-danger; + border-color: $color-danger; + color: #FFF; + } + } + + &.gv-button-delete { + float: right; + } + + &.gv-button-cancel { + margin-left: 5px; + border-color: transparent; + } + } + } + + .gfield_label, + .gform-field-label--type-sub { + color: $color-label; + font-weight: normal; + } + + .gfield_label { + margin-bottom: 3px; + } + + label.gform-field-label--type-sub { + text-transform: uppercase; + font-size: .7em; + padding-left: 14px; + } + + .ginput_container { + input { + border: 1px solid $color-border; + border-radius: 4px; + padding: 13px; + } + } +} diff --git a/templates/css/source/layout-builder/_view_entry.scss b/templates/css/source/layout-builder/_view_entry.scss new file mode 100644 index 000000000..d777779c5 --- /dev/null +++ b/templates/css/source/layout-builder/_view_entry.scss @@ -0,0 +1,54 @@ +.gv-layout-builder-view--entry { + border: 1px solid $color-border; + background: #FFF; + padding: $padding 0; + + + .gv-layout-builder-view--entry { + margin-top: -1px; + } + + .gv-grid-row { + display: flex; + + & + .gv-grid-row { + div[class^=gv-field-] { + margin-top: $padding; + border-top: 1px solid $color-border; + padding-top: $padding; + } + } + } + + div[class^=gv-field-] { + .gv-field-label { + color: $color-label; + font-size: .8em; + + + * { + margin: 0; + } + } + + p, ul, ol { + margin: 0; + + & + p, ul, ol { + margin-top: 1em; + } + } + + & + div[class^=gv-field-] { + margin-top: $padding; + border-top: 1px solid $color-border; + padding-top: $padding; + } + } + + div[class^=gv-grid-col-] { + padding: 0 $padding; + + & + div[class^=gv-grid-col-] { + border-left: 1px solid $color-border; + } + } +} diff --git a/templates/css/source/layout-builder/index.php b/templates/css/source/layout-builder/index.php new file mode 100644 index 000000000..e71af0ef2 --- /dev/null +++ b/templates/css/source/layout-builder/index.php @@ -0,0 +1 @@ +template ) ) { + gravityview()->log->error( '{file} template was loaded without context', [ 'file' => __FILE__ ] ); + + return; +} + +gravityview_before( $gravityview ); + +ob_start(); +gravityview_header( $gravityview ); + +$zone = 'single'; +$rows = Grid::prefixed( + GravityView_Layout_Builder::ID, + static fn() => Grid::get_rows_from_collection( $gravityview->fields, $zone ) +); + +// There are entries. Loop through them. +$entry = $gravityview->entry; +$back_link = gravityview_back_link( $gravityview ); +if ( $back_link ) { + printf( '', $back_link ); +} +?> +
    + +
    + $areas ) { + $column = $col; + ?> +
    + fields->by_position( $zone . '_' . $area['areaid'] )->all() as $field ) { + echo $gravityview->template->the_field( $field, $entry ); + } + } + } + ?> +
    + +
    + +
    +view->get_anchor_id() ) . '" class="' . esc_attr( $class ) . '">{content}
    ', + $gravityview->view->get_anchor_id(), + $gravityview->view +); + +echo $wrapper_container ? str_replace( '{content}', $content, $wrapper_container ) : $content; diff --git a/templates/fields/field-checkbox-csv.php b/templates/fields/field-checkbox-csv.php index a9c6dabf1..2ab8e6b43 100644 --- a/templates/fields/field-checkbox-csv.php +++ b/templates/fields/field-checkbox-csv.php @@ -2,28 +2,66 @@ /** * The default field output template for CSVs. * - * @global \GV\Template_Context $gravityview * @since 2.0 + * @global Template_Context $gravityview */ +use GV\Template_Context; +use GV\Utils; + if ( ! isset( $gravityview ) || empty( $gravityview->template ) ) { gravityview()->log->error( '{file} template loaded without context', array( 'file' => __FILE__ ) ); + return; } -$field_id = $gravityview->field->ID; -$display_value = $gravityview->display_value; -$value = $gravityview->value; -$entry = $gravityview->entry->as_entry(); +$field_id = $gravityview->field->ID; +$field = $gravityview->field->field; +$value = $gravityview->value; +$form = $gravityview->view->form->form; +$entry = $gravityview->entry->as_entry(); +$field_settings = $gravityview->field->as_configuration(); +$display_type = Utils::get( $field_settings, 'choice_display' ); +$is_single_input = floor( $field_id ) !== floatval( $field_id ); +$output = ''; -/** - * The value used to separate multiple values in the CSV export. - * - * @since 2.4.2 - * - * @param string The glue. Default: ";" (semicolon) - * @param \GV\Template_Context The context. - */ -$glue = apply_filters( 'gravityview/template/field/csv/glue', ';', $gravityview ); +// It's the parent field, not an input +if ( ! $is_single_input ) { + /** + * The value used to separate multiple values in the CSV export. + * + * @since 2.4.2 + * + * @param string $glue The glue. Default: ";" (semicolon). + * @param Template_Context $gravityview The context. + */ + $glue = apply_filters( 'gravityview/template/field/csv/glue', ';', $gravityview ); + $output = implode( $glue, array_filter( $value ) ); +} else { + + $field_value = $entry[ $field_id ] ?? ''; + + switch ( $display_type ) { + case 'label': + $output = gravityview_get_field_label( $form, $field_id, $value ); + break; + case 'tick': + default: + if ( $field_value ) { + /** + * Change the output for a checkbox "check" symbol. + * + * @since 2.33 + * + * @param string $output Checkbox "check" symbol. Default: "✓". + * @param array $entry Entry data. + * @param GF_Field_Checkbox $field GravityView field. + * @param Template_Context $gravityview The context. + */ + $output = apply_filters( 'gravityview/template/field/csv/tick', '✓', $entry, $field, $gravityview ); + } + break; + } +} -echo implode( $glue, array_filter( $value ) ); +echo $output; diff --git a/templates/fields/field-name-html.php b/templates/fields/field-name-html.php index 0f44ac0d2..5460d8e1c 100644 --- a/templates/fields/field-name-html.php +++ b/templates/fields/field-name-html.php @@ -28,16 +28,7 @@ } if ( ! empty( $field_settings['show_as_initials'] ) ) { - $names = explode( ' ', $display_value ); - - $display_value = ''; - - foreach ( $names as $name ) { - $first_char = function_exists( 'mb_substr' ) ? mb_substr( $name, 0, 1 ) : substr( $name, 0, 1 ); - $upper_char = function_exists( 'mb_strtoupper' ) ? mb_strtoupper( $first_char ) : strtoupper( $first_char ); - - $display_value .= trim( $upper_char ) . '.'; - } + $display_value = GravityView_Field_Name::convert_to_initials( $display_value ); } /** diff --git a/templates/fields/field-source_id-html.php b/templates/fields/field-source_id-html.php new file mode 100644 index 000000000..d9f0e1cf6 --- /dev/null +++ b/templates/fields/field-source_id-html.php @@ -0,0 +1,48 @@ +template ) ) { + gravityview()->log->error( '{file} template loaded without context', array( 'file' => __FILE__ ) ); + + return; +} + +$value = esc_html( $gravityview->value ); +$form = $gravityview->view->form->form; +$entry = $gravityview->entry->as_entry(); +$field_settings = $gravityview->field->as_configuration(); + +$output = $value; + +if ( empty( $value ) ) { + return; +} + +// No link to source. Just output the value. +if ( empty( $field_settings['link_to_source'] ) ) { + echo $output; + return; +} + +switch( $field_settings['link_text'] ) { + default: + case 'source_id': + $link_text = $value; + break; + case 'page_title': + $link_text = get_the_title( $value ); + break; + case 'custom': + $link_text = $field_settings['source_link_text']; + $link_text = GravityView_API::replace_variables( $field_settings['source_link_text'], $form, $entry ); + break; +} + +$href = get_permalink( $value ); + +echo gravityview_get_link( $href, $link_text ); diff --git a/templates/fields/field-user_activation.php b/templates/fields/field-user_activation.php new file mode 100644 index 000000000..d24bfe985 --- /dev/null +++ b/templates/fields/field-user_activation.php @@ -0,0 +1,54 @@ +template ) ) { + gravityview()->log->error( '{file} template loaded without context', array( 'file' => __FILE__ ) ); + return; +} + +if ( ! class_exists( 'gf_user_registration' ) ) { + echo __( 'Install/activate Gravity Forms User Registration Add-On', 'gk-gravityview' ); + return; +} + + +require_once gf_user_registration()->get_base_path() . '/includes/signups.php'; + +$entry = $gravityview->entry->as_entry(); +if ( ! GravityView_Field_User_Activation::check_if_feeds_are_valid( $entry['form_id'] ) ) { + echo __( 'No feeds are found or feeds are not set to manual activation', 'gk-gravityview' ); + return; +} + +if ( ! class_exists( 'GFUserSignups' ) ) { + gravityview()->log->error( 'GFUserSignups class does not exist', array() ); + echo __( 'An error occurred', 'gk-gravityview' ); + return; +} + +$user_exist = GravityView_Field_User_Activation::check_if_user_exist( $gravityview->view->form, $entry ); +if ( $user_exist ) { + echo __( 'The user is already active', 'gk-gravityview' ); + return; +} + +$activation_key = GFUserSignups::get_lead_activation_key( $entry['id'] ); +$user_activation = GravityView_Field_User_Activation::check_activation_key( $activation_key ); +if ( is_wp_error( $user_activation ) ) { + echo $user_activation->get_error_message(); + return; +} + + +do_action( 'gravityview/field/user_activation/load_scripts', $gravityview ); + +?> + + + + diff --git a/templates/views/gravityview-layout-builder.php b/templates/views/gravityview-layout-builder.php new file mode 100644 index 000000000..5f75b7b3e --- /dev/null +++ b/templates/views/gravityview-layout-builder.php @@ -0,0 +1,86 @@ +template ) ) { + gravityview()->log->error( '{file} template was loaded without context', [ 'file' => __FILE__ ] ); + + return; +} + +ob_start(); +gravityview_before( $gravityview ); + +gravityview_header( $gravityview ); + +// There are no entries. +if ( ! $gravityview->entries->count() ) { + ?> +
    +
    +

    +
    +
    + Grid::get_rows_from_collection( $gravityview->fields, $zone ) + ); + // There are entries. Loop through them. + foreach ( $gravityview->entries->all() as $entry ) { + ?> +
    + +
    + $areas ) { + $column = $col; + ?> +
    + fields->by_position( $zone . '_' . $area['areaid'] )->all() as $field ) { + echo $gravityview->template->the_field( $field, $entry ); + } + } + } + ?> +
    + +
    + +
    + view->get_anchor_id() ) . '" class="' . esc_attr( $class ) . '">{content}
    ', + $gravityview->view->get_anchor_id(), + $gravityview->view +); + +echo $wrapper_container ? str_replace( '{content}', $content, $wrapper_container ) : $content; diff --git a/tests/bootstrap.php b/tests/bootstrap.php index f3316b853..4882a865f 100644 --- a/tests/bootstrap.php +++ b/tests/bootstrap.php @@ -224,6 +224,7 @@ private function create_stubs() { '3' => '3.33333', 'ip' => '127.0.0.1', 'source_url' => 'http://example.com/wordpress/?gf_page=preview&id=16', + 'source_id' => 16, 'user_agent' => 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_4) AppleWebKit/537.78.2 (KHTML, like Gecko) Version/7.0.6 Safari/537.78.2', 'payment_status' => 'Processing', 'payment_date' => '2014-08-29 20:55:06', diff --git a/tests/gravityview-factory.php b/tests/gravityview-factory.php index 1f4ba3835..8ae4cc9f7 100644 --- a/tests/gravityview-factory.php +++ b/tests/gravityview-factory.php @@ -181,6 +181,7 @@ function __construct( $factory = null ) { '3' => GV_UnitTest_Generator_Number::get(), 'ip' => GV_UnitTest_Generator_IP::get(), 'source_url' => 'http://example.com/wordpress/?gf_page=preview&id=16', + 'source_id' => 16, 'user_agent' => GF_UnitTest_Generator_User_Agent::get(), 'payment_status' => GF_UnitTest_Generator_Payment_Status::get(), 'payment_date' => GV_UnitTest_Generator_Date::get(), diff --git a/tests/unit-tests/GravityView_Duplicate_Entry_Test.php b/tests/unit-tests/GravityView_Duplicate_Entry_Test.php index 3d1b43790..88c119b08 100644 --- a/tests/unit-tests/GravityView_Duplicate_Entry_Test.php +++ b/tests/unit-tests/GravityView_Duplicate_Entry_Test.php @@ -477,6 +477,7 @@ public function test_duplicate_basic() { $this->assertNotEquals( $duplicate_entry['id'], $source_entry['id'] ); $this->assertNotEquals( $duplicate_entry['source_url'], $source_entry['source_url'] ); + $this->assertEquals( $duplicate_entry['source_id'], null ); $this->assertStringContainsString( 'tests', $duplicate_entry['source_url'] ); diff --git a/translations.pot b/translations.pot index af9dea907..8d28d0acb 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-11-21T17:39:44+00:00\n" +"POT-Creation-Date: 2024-12-10T00:52:31+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:409 #: vendor_prefixed/gravitykit/foundation/src/WP/AdminMenu.php:197 #: vendor_prefixed/gravitykit/foundation/src/WP/AdminMenu.php:198 @@ -94,22 +90,22 @@ msgstr "" #: future/includes/class-gv-oembed.php:232 #: future/includes/class-gv-oembed.php:237 #: future/includes/class-gv-oembed.php:243 -#: future/includes/class-gv-shortcode-gravityview.php:194 -#: future/includes/class-gv-shortcode-gravityview.php:228 -#: future/includes/class-gv-shortcode-gravityview.php:233 -#: future/includes/class-gv-shortcode-gravityview.php:239 -#: future/includes/class-gv-shortcode-gravityview.php:262 -#: future/includes/class-gv-shortcode-gravityview.php:267 -#: future/includes/class-gv-shortcode-gravityview.php:273 -#: future/includes/class-gv-shortcode-gravityview.php:287 -#: future/includes/class-gv-view.php:359 -#: future/includes/class-gv-view.php:373 +#: future/includes/class-gv-shortcode-gravityview.php:206 +#: future/includes/class-gv-shortcode-gravityview.php:240 +#: future/includes/class-gv-shortcode-gravityview.php:245 +#: future/includes/class-gv-shortcode-gravityview.php:251 +#: future/includes/class-gv-shortcode-gravityview.php:274 +#: future/includes/class-gv-shortcode-gravityview.php:279 +#: future/includes/class-gv-shortcode-gravityview.php:285 +#: future/includes/class-gv-shortcode-gravityview.php:299 +#: future/includes/class-gv-view.php:364 #: future/includes/class-gv-view.php:378 -#: future/includes/class-gv-view.php:384 -#: future/includes/class-gv-view.php:407 +#: future/includes/class-gv-view.php:383 +#: future/includes/class-gv-view.php:389 #: future/includes/class-gv-view.php:412 -#: future/includes/class-gv-view.php:418 -#: future/includes/class-gv-view.php:432 +#: future/includes/class-gv-view.php:417 +#: future/includes/class-gv-view.php:423 +#: future/includes/class-gv-view.php:437 #: includes/class-frontend-views.php:818 msgid "You are not allowed to view this content." msgstr "" @@ -131,77 +127,77 @@ msgid "Styles don't get loaded when being previewed, so the content below will l msgstr "" #. Translators: [url] is replaced by the preview URL. -#: future/includes/class-gv-permalinks.php:333 +#: future/includes/class-gv-permalinks.php:346 msgid "Example: [url]" msgstr "" #. Translators: [slug] is replaced by the slug. -#: future/includes/class-gv-permalinks.php:335 -#: future/includes/class-gv-permalinks.php:492 +#: future/includes/class-gv-permalinks.php:348 +#: future/includes/class-gv-permalinks.php:505 msgid "Default: [slug]" msgstr "" -#: future/includes/class-gv-permalinks.php:346 +#: future/includes/class-gv-permalinks.php:359 msgid "View Slug" msgstr "" #. Translators: [slug] is replaced by the correct merge tag. -#: future/includes/class-gv-permalinks.php:352 -#: future/includes/class-gv-permalinks.php:384 +#: future/includes/class-gv-permalinks.php:365 +#: future/includes/class-gv-permalinks.php:397 msgid "The slug must be at least 3 characters, and cannot contain certain words. See documentation for more information." msgstr "" -#: future/includes/class-gv-permalinks.php:370 -#: future/includes/class-gv-permalinks.php:402 +#: future/includes/class-gv-permalinks.php:383 +#: future/includes/class-gv-permalinks.php:415 msgid "Read documentation" msgstr "" -#: future/includes/class-gv-permalinks.php:377 +#: future/includes/class-gv-permalinks.php:390 msgid "Entry Endpoint" msgstr "" -#: future/includes/class-gv-permalinks.php:409 -#: future/includes/class-gv-permalinks.php:475 +#: future/includes/class-gv-permalinks.php:422 +#: future/includes/class-gv-permalinks.php:488 msgid "Entry Slug" msgstr "" #. Translators: [slug] is replaced by the correct merge tag. -#: future/includes/class-gv-permalinks.php:416 +#: future/includes/class-gv-permalinks.php:429 msgid "The entry slug requires at least the [slug] merge tag, to ensure uniqueness." msgstr "" -#: future/includes/class-gv-permalinks.php:453 +#: future/includes/class-gv-permalinks.php:466 msgid "Permalinks" msgstr "" -#: future/includes/class-gv-permalinks.php:454 +#: future/includes/class-gv-permalinks.php:467 msgid "GravityView allows you to create a custom URL structure for your Views." msgstr "" #. Translators: [entry_id] will be replaced by the actual merge tag. -#: future/includes/class-gv-permalinks.php:479 +#: future/includes/class-gv-permalinks.php:492 msgid "Change the slug for an entry. Make sure to at least include [entry_id] to avoid URL collisions." msgstr "" #. Translators: [count] is replaced by the amount of characters. -#: future/includes/class-gv-permalinks.php:561 -#: future/includes/class-gv-permalinks.php:611 +#: future/includes/class-gv-permalinks.php:574 +#: future/includes/class-gv-permalinks.php:624 msgid "At least [count] characters are required." msgstr "" #. Translators: [slug] will contain the slug value. -#: future/includes/class-gv-permalinks.php:566 -#: future/includes/class-gv-permalinks.php:647 +#: future/includes/class-gv-permalinks.php:579 +#: future/includes/class-gv-permalinks.php:660 msgid "Must contain \"[slug]\"." msgstr "" -#: future/includes/class-gv-permalinks.php:569 -#: future/includes/class-gv-permalinks.php:602 -#: future/includes/class-gv-permalinks.php:653 +#: future/includes/class-gv-permalinks.php:582 +#: future/includes/class-gv-permalinks.php:615 +#: future/includes/class-gv-permalinks.php:666 msgid "Only letters, numbers, underscores and dashes are allowed." msgstr "" -#: future/includes/class-gv-permalinks.php:617 +#: future/includes/class-gv-permalinks.php:630 msgid "You have used a reserved word." msgstr "" @@ -217,13 +213,13 @@ msgstr "" #: future/includes/class-gv-plugin.php:709 #: future/includes/class-gv-plugin.php:710 -#: future/includes/class-gv-view.php:171 +#: future/includes/class-gv-view.php:176 msgid "All Views" msgstr "" #: future/includes/class-gv-plugin.php:721 #: future/includes/class-gv-plugin.php:722 -#: future/includes/class-gv-view.php:174 +#: future/includes/class-gv-view.php:179 msgid "New View" msgstr "" @@ -289,7 +285,7 @@ msgstr "" #: future/includes/class-gv-renderer.php:258 #: future/includes/class-gv-renderer.php:333 #: future/includes/class-gv-renderer.php:390 -#: future/includes/class-gv-view.php:339 +#: future/includes/class-gv-view.php:344 #: includes/class-frontend-views.php:696 msgid "You can only see this message because you are able to edit this View." msgstr "" @@ -299,7 +295,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:1698 +#: includes/class-admin-views.php:1746 #: includes/class-frontend-views.php:685 #: includes/class-gravityview-admin-bar.php:111 #: includes/class-gravityview-entry-link-shortcode.php:250 @@ -743,7 +739,7 @@ msgstr "" #: future/includes/class-gv-settings-view.php:315 #: future/includes/class-gv-settings-view.php:346 -#: includes/class-common.php:1652 +#: includes/class-common.php:1655 #: includes/fields/class-gravityview-field-date-created.php:29 msgid "Date Created" msgstr "" @@ -1042,19 +1038,19 @@ msgstr "" msgid "Do not limit the number of entries output in the file." msgstr "" -#: future/includes/class-gv-shortcode-gravityview.php:166 +#: future/includes/class-gv-shortcode-gravityview.php:178 #: future/includes/class-gv-shortcode-gventry.php:147 #: future/includes/class-gv-shortcode-gvfield.php:151 -#: future/includes/class-gv-view.php:337 +#: future/includes/class-gv-view.php:342 msgid "This View is not configured properly. Start by selecting a form." msgstr "" #. Translators: The first %s is the beginning of the HTML. The second %s is the end of the HTML. -#: future/includes/class-gv-shortcode-gravityview.php:180 +#: future/includes/class-gv-shortcode-gravityview.php:192 msgid "This View is in the Trash. %sClick to restore the View%s." msgstr "" -#: future/includes/class-gv-shortcode-gravityview.php:184 +#: future/includes/class-gv-shortcode-gravityview.php:196 msgid "Are you sure you want to restore this View? It will immediately be removed from the trash and set to draft status." msgstr "" @@ -1062,35 +1058,35 @@ msgstr "" msgid "%1$s: Invalid View secret provided. Update the shortcode with the secret: %2$s" msgstr "" -#: future/includes/class-gv-view.php:167 +#: future/includes/class-gv-view.php:172 msgctxt "Post Type General Name" msgid "Views" msgstr "" -#: future/includes/class-gv-view.php:168 +#: future/includes/class-gv-view.php:173 msgctxt "Post Type Singular Name" msgid "View" msgstr "" -#: future/includes/class-gv-view.php:169 +#: future/includes/class-gv-view.php:174 msgctxt "Menu name" msgid "Views" msgstr "" -#: future/includes/class-gv-view.php:170 +#: future/includes/class-gv-view.php:175 msgid "Parent View:" msgstr "" -#: future/includes/class-gv-view.php:172 +#: future/includes/class-gv-view.php:177 msgctxt "View Item" msgid "View" msgstr "" -#: future/includes/class-gv-view.php:173 +#: future/includes/class-gv-view.php:178 msgid "Add New View" msgstr "" -#: future/includes/class-gv-view.php:175 +#: future/includes/class-gv-view.php:180 #: includes/class-gravityview-admin-bar.php:163 #: future/includes/gutenberg/build/entry-field.js:1 #: future/includes/gutenberg/build/entry-link.js:1 @@ -1101,67 +1097,67 @@ msgstr "" msgid "Edit View" msgstr "" -#: future/includes/class-gv-view.php:176 +#: future/includes/class-gv-view.php:181 msgid "Update View" msgstr "" -#: future/includes/class-gv-view.php:177 +#: future/includes/class-gv-view.php:182 msgid "Search Views" msgstr "" -#: future/includes/class-gv-view.php:179 +#: future/includes/class-gv-view.php:184 #: includes/class-admin.php:59 msgid "No Views found in Trash" msgstr "" -#: future/includes/class-gv-view.php:180 +#: future/includes/class-gv-view.php:185 msgid "Filter Views list" msgstr "" -#: future/includes/class-gv-view.php:181 +#: future/includes/class-gv-view.php:186 msgid "Views list navigation" msgstr "" -#: future/includes/class-gv-view.php:182 +#: future/includes/class-gv-view.php:187 msgid "Views list" msgstr "" -#: future/includes/class-gv-view.php:183 +#: future/includes/class-gv-view.php:188 msgid "See Views" msgstr "" -#: future/includes/class-gv-view.php:184 +#: future/includes/class-gv-view.php:189 msgid "View Attributes" msgstr "" -#: future/includes/class-gv-view.php:185 +#: future/includes/class-gv-view.php:190 msgid "View updated." msgstr "" -#: future/includes/class-gv-view.php:186 +#: future/includes/class-gv-view.php:191 msgid "View published." msgstr "" -#: future/includes/class-gv-view.php:187 +#: future/includes/class-gv-view.php:192 msgid "View reverted to draft." msgstr "" -#: future/includes/class-gv-view.php:188 +#: future/includes/class-gv-view.php:193 msgid "View scheduled." msgstr "" -#: future/includes/class-gv-view.php:192 +#: future/includes/class-gv-view.php:197 msgid "view" msgstr "" -#: future/includes/class-gv-view.php:193 +#: future/includes/class-gv-view.php:198 msgid "Create views based on a Gravity Forms form" msgstr "" -#: future/includes/class-gv-view.php:341 +#: future/includes/class-gv-view.php:346 #: includes/admin/metaboxes/class-gravityview-admin-metaboxes.php:228 #: includes/admin/metaboxes/class-gravityview-admin-metaboxes.php:268 -#: includes/class-admin-views.php:634 +#: includes/class-admin-views.php:681 msgid "Data Source" msgstr "" @@ -1220,26 +1216,26 @@ msgstr "" msgid "Endpoint Not Yet Implemented." msgstr "" -#: future/includes/rest/class-gv-rest-views-route.php:80 +#: future/includes/rest/class-gv-rest-views-route.php:84 #: includes/class-admin.php:61 #: includes/plugin-and-theme-hooks/class-gravityview-plugin-hooks-lifterlms.php:333 msgid "No Views found." msgstr "" -#: future/includes/rest/class-gv-rest-views-route.php:322 +#: future/includes/rest/class-gv-rest-views-route.php:327 msgid "No Entries found." msgstr "" -#: future/includes/rest/class-gv-rest-views-route.php:433 -#: future/includes/rest/class-gv-rest-views-route.php:489 -#: future/includes/rest/class-gv-rest-views-route.php:504 -#: future/includes/rest/class-gv-rest-views-route.php:508 -#: future/includes/rest/class-gv-rest-views-route.php:519 -#: future/includes/rest/class-gv-rest-views-route.php:584 +#: future/includes/rest/class-gv-rest-views-route.php:438 +#: future/includes/rest/class-gv-rest-views-route.php:494 +#: future/includes/rest/class-gv-rest-views-route.php:509 +#: future/includes/rest/class-gv-rest-views-route.php:513 +#: future/includes/rest/class-gv-rest-views-route.php:524 +#: future/includes/rest/class-gv-rest-views-route.php:589 msgid "You are not allowed to access this content." msgstr "" -#: future/includes/rest/class-gv-rest-views-route.php:506 +#: future/includes/rest/class-gv-rest-views-route.php:511 msgid "This View is not configured properly." msgstr "" @@ -1291,7 +1287,7 @@ msgid "Add \"%s\"" msgstr "" #: includes/admin/class-gravityview-admin-view-item.php:218 -#: includes/class-admin-views.php:1026 +#: includes/class-admin-views.php:1073 msgid "Add Field" msgstr "" @@ -1462,7 +1458,7 @@ msgstr "" #: includes/admin/metaboxes/class-gravityview-admin-metaboxes.php:86 #: includes/admin/metaboxes/views/view-configuration.php:90 -#: includes/class-admin-views.php:576 +#: includes/class-admin-views.php:623 #: vendor_prefixed/gravitykit/foundation/src/Licenses/WP/PluginsPage.php:206 #: vendor_prefixed/gravitykit/foundation/src/Licenses/WP/PluginsPage.php:305 #: vendor_prefixed/gravitykit/foundation/src/Settings/Framework.php:379 @@ -1593,7 +1589,7 @@ msgstr "" #: includes/admin/metaboxes/views/direct-access-status.php:98 #: includes/class-admin-add-shortcode.php:140 -#: includes/class-admin-views.php:1799 +#: includes/class-admin-views.php:1847 #: includes/extensions/edit-entry/class-edit-entry-locking.php:283 #: includes/extensions/edit-entry/class-edit-entry-render.php:1175 #: includes/extensions/edit-entry/class-edit-entry-render.php:1308 @@ -1657,12 +1653,12 @@ msgid "Add this shortcode to a post or page to embed this view." msgstr "" #: includes/admin/metaboxes/views/shortcode-hint.php:19 -#: includes/class-admin-views.php:524 +#: includes/class-admin-views.php:571 msgid "Click to copy" msgstr "" #: includes/admin/metaboxes/views/shortcode-hint.php:20 -#: includes/class-admin-views.php:526 +#: includes/class-admin-views.php:573 #: vendor_prefixed/trustedlogin/client/src/Form.php:1316 msgid "Copied!" msgstr "" @@ -1737,8 +1733,8 @@ msgstr "" #. translators: %1$s is the vendor title. #: includes/admin/metaboxes/views/view-configuration.php:148 -#: includes/class-admin-views.php:1422 -#: includes/class-admin-views.php:1798 +#: includes/class-admin-views.php:1470 +#: includes/class-admin-views.php:1846 #: 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 @@ -1812,7 +1808,7 @@ msgid "(no title)" msgstr "" #: includes/class-admin-add-shortcode.php:186 -#: includes/class-admin-views.php:1803 +#: includes/class-admin-views.php:1851 msgid "Loading…" msgstr "" @@ -1860,214 +1856,214 @@ msgstr "" msgid "GravityView entry approval status" msgstr "" -#: includes/class-admin-views.php:196 +#: includes/class-admin-views.php:243 msgid "Filter Views by form" msgstr "" -#: includes/class-admin-views.php:198 +#: includes/class-admin-views.php:245 msgid "All forms" msgstr "" -#: includes/class-admin-views.php:212 +#: includes/class-admin-views.php:259 msgid "Filter Views by layout" msgstr "" -#: includes/class-admin-views.php:214 +#: includes/class-admin-views.php:261 msgid "All layouts" msgstr "" -#: includes/class-admin-views.php:215 +#: includes/class-admin-views.php:262 msgid "Layouts" msgstr "" -#: includes/class-admin-views.php:225 +#: includes/class-admin-views.php:272 msgid "Form Presets" msgstr "" -#: includes/class-admin-views.php:285 -#: includes/class-admin-views.php:317 +#: includes/class-admin-views.php:332 +#: includes/class-admin-views.php:364 msgid "Create a View" msgstr "" -#: includes/class-admin-views.php:287 -#: includes/class-admin-views.php:319 +#: includes/class-admin-views.php:334 +#: includes/class-admin-views.php:366 msgid "Create a View using this form as a data source" msgstr "" -#: includes/class-admin-views.php:304 +#: includes/class-admin-views.php:351 msgid "No Title (View #%d)" msgstr "" -#: includes/class-admin-views.php:333 +#: includes/class-admin-views.php:380 msgid "Connected Views" msgstr "" -#: includes/class-admin-views.php:335 +#: includes/class-admin-views.php:382 msgid "GravityView Views using this form as a data source" msgstr "" -#: includes/class-admin-views.php:416 +#: includes/class-admin-views.php:463 msgid "CSS Merge Tags" msgstr "" -#: includes/class-admin-views.php:417 +#: includes/class-admin-views.php:464 msgid "Developers: The CSS classes will be sanitized using the %1$ssanitize_title_with_dashes()%2$s function." msgstr "" -#: includes/class-admin-views.php:493 +#: includes/class-admin-views.php:540 msgid "Not connected." msgstr "" -#: includes/class-admin-views.php:502 +#: includes/class-admin-views.php:549 msgid "The connected form can not be found; it may no longer exist." msgstr "" -#: includes/class-admin-views.php:564 +#: includes/class-admin-views.php:611 #: includes/class-gravityview-admin-bar.php:164 msgid "Edit Form" msgstr "" -#: includes/class-admin-views.php:571 +#: includes/class-admin-views.php:618 msgid "Entries" msgstr "" -#: includes/class-admin-views.php:576 +#: includes/class-admin-views.php:623 msgid "Edit settings for this form" msgstr "" -#: includes/class-admin-views.php:581 +#: includes/class-admin-views.php:628 msgid "Preview Form" msgstr "" -#: includes/class-admin-views.php:581 +#: includes/class-admin-views.php:628 msgid "Preview this form" msgstr "" -#: includes/class-admin-views.php:637 +#: includes/class-admin-views.php:684 msgctxt "Column title that shows what template is being used for Views" msgid "Template" msgstr "" -#: includes/class-admin-views.php:639 +#: includes/class-admin-views.php:686 msgid "Shortcode" msgstr "" -#: includes/class-admin-views.php:839 +#: includes/class-admin-views.php:886 msgid "Add All Form Fields" msgstr "" -#: includes/class-admin-views.php:840 +#: includes/class-admin-views.php:887 msgid "Insert all the form fields at once." msgstr "" -#: includes/class-admin-views.php:1024 +#: includes/class-admin-views.php:1071 msgid "Add Widget" msgstr "" -#: includes/class-admin-views.php:1126 +#: includes/class-admin-views.php:1173 msgid "Clear all fields" msgstr "" -#: includes/class-admin-views.php:1261 +#: includes/class-admin-views.php:1309 msgid "Are you sure you want to delete the entire row?" msgstr "" -#: includes/class-admin-views.php:1316 +#: includes/class-admin-views.php:1364 #: includes/widgets/search-widget/class-search-widget.php:131 msgid "Search Bar" msgstr "" -#: includes/class-admin-views.php:1326 +#: includes/class-admin-views.php:1374 #: includes/widgets/class-gravityview-widget-pagination-info.php:31 msgid "Show Pagination Info" msgstr "" -#: includes/class-admin-views.php:1332 -#: includes/class-admin-views.php:1339 +#: includes/class-admin-views.php:1380 +#: includes/class-admin-views.php:1387 #: includes/widgets/class-gravityview-widget-page-links.php:30 msgid "Page Links" msgstr "" -#: includes/class-admin-views.php:1425 +#: includes/class-admin-views.php:1473 msgid "Filter Fields:" msgstr "" -#: includes/class-admin-views.php:1426 +#: includes/class-admin-views.php:1474 msgid "Filter fields by name or label" msgstr "" -#: includes/class-admin-views.php:1437 +#: includes/class-admin-views.php:1485 msgid "No fields were found matching the search." msgstr "" -#: includes/class-admin-views.php:1474 +#: includes/class-admin-views.php:1522 msgid "This View is configured using the %s View type, which is disabled." msgstr "" -#: includes/class-admin-views.php:1475 +#: includes/class-admin-views.php:1523 msgid "The data is not lost; re-activate the associated plugin and the configuration will re-appear." msgstr "" -#: includes/class-admin-views.php:1552 +#: includes/class-admin-views.php:1600 msgid "Select your layout" msgstr "" -#: includes/class-admin-views.php:1576 +#: includes/class-admin-views.php:1624 msgid "Add [type] row" msgstr "" -#: includes/class-admin-views.php:1588 +#: includes/class-admin-views.php:1636 msgid "Add Row" msgstr "" -#: includes/class-admin-views.php:1699 +#: includes/class-admin-views.php:1747 #: includes/fields/class-gravityview-field-edit-link.php:32 msgid "Link to Edit Entry" msgstr "" -#: includes/class-admin-views.php:1794 +#: includes/class-admin-views.php:1842 msgid "Enter View name here" msgstr "" -#: includes/class-admin-views.php:1795 +#: includes/class-admin-views.php:1843 msgid "Reorder Search Fields" msgstr "" -#: includes/class-admin-views.php:1796 +#: includes/class-admin-views.php:1844 #: includes/widgets/search-widget/class-search-widget.php:311 msgid "Add Search Field" msgstr "" -#: includes/class-admin-views.php:1797 +#: includes/class-admin-views.php:1845 msgid "Remove Search Field" msgstr "" -#: includes/class-admin-views.php:1800 +#: includes/class-admin-views.php:1848 msgid "Continue" msgstr "" -#: includes/class-admin-views.php:1801 +#: includes/class-admin-views.php:1849 #: vendor_prefixed/trustedlogin/client/src/Form.php:1308 msgid "Ok" msgstr "" -#: includes/class-admin-views.php:1802 +#: includes/class-admin-views.php:1850 msgid "Error while creating the View for you. Check the settings or contact GravityView support." msgstr "" -#: includes/class-admin-views.php:1804 +#: includes/class-admin-views.php:1852 msgid "There was an error loading dynamic content." msgstr "" -#: includes/class-admin-views.php:1805 +#: includes/class-admin-views.php:1853 msgid "Error while adding the field. Please try again or contact GravityView support." msgstr "" -#: includes/class-admin-views.php:1806 +#: includes/class-admin-views.php:1854 msgid "Would you like to remove all fields in this zone?" msgstr "" -#: includes/class-admin-views.php:1807 +#: includes/class-admin-views.php:1855 msgid "You have unsaved changes. Continuing will discard them. Are you sure you want to proceed?" msgstr "" @@ -2261,24 +2257,24 @@ msgstr "" msgid "Post ID" msgstr "" -#: includes/class-common.php:1212 +#: includes/class-common.php:1215 msgid "%s ago" msgstr "" -#: includes/class-common.php:1212 +#: includes/class-common.php:1215 msgid "%s from now" msgstr "" -#: includes/class-common.php:1605 +#: includes/class-common.php:1608 msgid "Default (Entry ID)" msgstr "" -#: includes/class-common.php:1656 +#: includes/class-common.php:1659 #: includes/fields/class-gravityview-field-date-updated.php:31 msgid "Date Updated" msgstr "" -#: includes/class-common.php:1788 +#: includes/class-common.php:1791 msgid "Email hidden; Javascript is required." msgstr "" @@ -4313,18 +4309,18 @@ msgid "Don’t show the full URL, only show the domain." msgstr "" #: includes/fields/class-gravityview-field-workflow_current_status_timestamp.php:30 -#: includes/plugin-and-theme-hooks/class-gravityview-plugin-hooks-gravity-flow.php:160 -#: includes/plugin-and-theme-hooks/class-gravityview-plugin-hooks-gravity-flow.php:187 +#: includes/plugin-and-theme-hooks/class-gravityview-plugin-hooks-gravity-flow.php:166 +#: includes/plugin-and-theme-hooks/class-gravityview-plugin-hooks-gravity-flow.php:193 msgid "Workflow Current Status Timestamp" msgstr "" #: includes/fields/class-gravityview-field-workflow_final_status.php:24 -#: includes/plugin-and-theme-hooks/class-gravityview-plugin-hooks-gravity-flow.php:144 +#: includes/plugin-and-theme-hooks/class-gravityview-plugin-hooks-gravity-flow.php:150 msgid "Workflow Status" msgstr "" #: includes/fields/class-gravityview-field-workflow_step.php:24 -#: includes/plugin-and-theme-hooks/class-gravityview-plugin-hooks-gravity-flow.php:139 +#: includes/plugin-and-theme-hooks/class-gravityview-plugin-hooks-gravity-flow.php:145 msgid "Workflow Step" msgstr "" @@ -4380,7 +4376,7 @@ msgstr "" msgid "Install & Activate" msgstr "" -#: includes/plugin-and-theme-hooks/class-gravityview-plugin-hooks-gravity-flow.php:133 +#: includes/plugin-and-theme-hooks/class-gravityview-plugin-hooks-gravity-flow.php:139 msgctxt "Gravity Flow Workflow Step Status" msgid "Status: %s" msgstr "" @@ -7374,83 +7370,3 @@ msgstr "" #: future/includes/gutenberg/shared/js/sort-selector.js:75 msgid "No Sorting Fields found" 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 ""