.bb-logic-rule-field {
/* Select Input */
.react-select__container {
width: 100%;
}
.react-select__control {
background: #fff;
box-shadow: inset 0 1px 2px rgba(0,0,0,.07);
color: #32373c;
border-color: #ddd;
height: 28px;
min-height: 0;
transition: 50ms border-color ease-in-out;
}
.react-select__control:hover {
border-color: #ddd;
}
.react-select__control.react-select__control--isFocused {
border-color: #5B9DD7;
box-shadow: rgba(30, 140, 190, 0.8) 0px 0px 2px 0px;
}
.react-select__value-container {
padding: 0 6px;
}
.react-select__input input {
background: transparent;
box-shadow: none;
}
.react-select__input input:focus {
border: none;
box-shadow: none;
outline: none;
}
.react-select__dropdown-indicator {
border-color: #32373c transparent transparent transparent;
border-style: solid;
border-width: 5px 4px 0 4px;
height: 0;
margin: 1px 7px 0 0;
padding: 0;
width: 0;
}
.react-select__indicator svg {
display: none;
}
.react-select__indicator-separator {
display: none;
}
/* Select Menu */
.react-select__menu {
border: 1px solid #ddd;
box-shadow: 0 4px 11px hsla(0, 0%, 0%, 0.1);
outline: 0;
margin: 3px 0;
}
.react-select__option,
.react-select__option.react-select__option--isSelected {
padding: 5px 12px;
}
.react-select__group {
padding: 0;
}
.react-select__group-heading {
color: #32373c;
font-size: 100%;
font-weight: bold;
margin: 5px 0;
text-transform: none;
}
.react-select__group .react-select__option,
.react-select__group .react-select__option.react-select__option--isSelected {
padding-left: 20px;
}
}
jQuery(function(a){if("undefined"==typeof kadence_blocks_form_params)return!1;var b={init:function(){a("form.kb-form").on("submit",this.submit)},submit:function(c){c.preventDefault(),a("body").trigger("kb-form-start-submit",a(this));var d=a(this),e=d.find("input[type=submit]");form_data=b.validateForm(d),form_data&&(d.parent(".wp-block-kadence-form").find(".kadence-blocks-form-message").slideUp("fast",function(){a(this).remove()}),d.append(""),e.attr("disabled","disabled").addClass("button-primary-disabled"),a.post(kadence_blocks_form_params.ajaxurl,form_data,function(c){c.success?(a("body").trigger("kb-form-success",c),c.redirect?window.location=c.redirect:(d.after(c.html),0"+d+""):a(b).after(""+d+"
"));a(b).focus()},clearForm:function(b){a(b)[0].reset()},addErrorNotice:function(b){a(b).after(""+kadence_blocks_form_params.error_message+"
")},isValidURL:function(a){return /^(http:\/\/www.|https:\/\/www.|ftp:\/\/www.|www.|http:\/\/|https:\/\/){1}([0-9A-Za-z]+.)/.test(a)},isValidTel:function(a){return /\/^[+]?[(]?[0-9]{3}[)]?[-s.]?[0-9]{3}[-s.]?[0-9]{4,6}$\/im/.test(a)},validateForm:function(c){var d=!1;error_type="",b.removeErrors(c),b.removeErrorNotice(c);var e=c.find("[data-required=\"yes\"]:visible");if(e.each(function(c,e){var f=a(e).data("type");switch(h="",f){case"textarea":case"text":h=a.trim(a(e).val()),""===h&&(d=!0,error_type="required",b.markError(e,error_type));break;case"tel":h=a.trim(a(e).val()),""===h&&(d=!0,error_type="required",b.markError(e,error_type));break;case"accept":!1==a(e).prop("checked")&&(d=!0,error_type="required",b.markError(e,error_type));break;case"select":h=a(e).val(),a(e).prop("multiple")?(null===h||0===h.length)&&(d=!0,error_type="required",b.markError(e,error_type)):(!h||"-1"===h)&&(d=!0,error_type="required",b.markError(e,error_type));break;case"radio":var g=a(e).find("input:checked").length;g||(d=!0,error_type="required",b.markError(e,error_type));break;case"checkbox":var g=a(e).find("input:checked").length;g||(d=!0,error_type="required",b.markError(e,error_type));break;case"email":var h=a(e).val();""===h?""===h&&(d=!0,error_type="required",b.markError(e,error_type)):!b.isValidEmail(h)&&(d=!0,error_type="validation",b.markError(e,error_type));break;case"url":var h=a(e).val();""===h||b.isValidURL(h)||(d=!0,error_type="validation",b.markError(e,error_type));}}),d)return b.addErrorNotice(c),!1;var f=c.serialize();return f=f+"&_kb_form_verify="+kadence_blocks_form_params.nonce,f}};b.init()});( function( wp ) {
if ( ! wp ) {
return;
}
wp.plugins.registerPlugin( 'classic-editor-plugin', {
render: function() {
var createElement = wp.element.createElement;
var PluginMoreMenuItem = wp.editPost.PluginMoreMenuItem;
var url = wp.url.addQueryArgs( document.location.href, { 'classic-editor': '', 'classic-editor__forget': '' } );
var linkText = lodash.get( window, [ 'classicEditorPluginL10n', 'linkText' ] ) || 'Switch to classic editor';
return createElement(
PluginMoreMenuItem,
{
icon: 'editor-kitchensink',
href: url,
},
linkText
);
},
} );
} )( window.wp );
{"code":"oembed_invalid_url","message":"Not Found","data":{"status":404}}