diff --git a/CHANGELOG.md b/CHANGELOG.md index 9ef4b52..ea45e1e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,7 @@ This is an alpha version! The changes listed here are not final. ### Changed - Forms: rename "URL" field to "Website" - Forms: settings, opt-in for default 40px size in gutenberg +- Forms: update width control to use more modern ToggleGroupControl - Forms: use core icons for phone and email fields ### Fixed diff --git a/dist/blocks/editor.asset.php b/dist/blocks/editor.asset.php index b937baa..1562d6a 100644 --- a/dist/blocks/editor.asset.php +++ b/dist/blocks/editor.asset.php @@ -1 +1 @@ - array('jetpack-connection', 'lodash', 'react', 'react-jsx-runtime', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => 'a20bf3be0e8b9f1abd0f'); + array('jetpack-connection', 'lodash', 'react', 'react-jsx-runtime', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => '59e251dadf11c3eeb4e9'); diff --git a/dist/blocks/editor.css b/dist/blocks/editor.css index 2177878..12a72c7 100644 --- a/dist/blocks/editor.css +++ b/dist/blocks/editor.css @@ -1 +1 @@ -.jetpack-editor-panel-logo{margin-left:.5em}.wp-block-jetpack-contact-form{box-sizing:border-box}.wp-block-jetpack-contact-form .block-editor-block-variation-picker.has-many-variations .components-placeholder__fieldset{margin:0;max-width:unset}.wp-block-jetpack-contact-form .block-editor-block-variation-picker.has-many-variations .components-placeholder__fieldset .block-editor-block-variation-picker__variations{gap:20px 0;justify-content:center;margin:16px auto;max-width:560px}.wp-block-jetpack-contact-form .block-editor-block-variation-picker.has-many-variations .components-placeholder__fieldset .block-editor-block-variation-picker__variations>li{flex:0;margin:0;max-width:none;padding:0 2px;text-align:center;width:unset}.wp-block-jetpack-contact-form .block-editor-block-variation-picker.has-many-variations .components-placeholder__fieldset .block-editor-block-variation-picker__variations .block-editor-block-variation-picker__variation{margin-left:4px;margin-right:4px;padding:22px}.wp-block-jetpack-contact-form .block-editor-block-variation-picker.has-many-variations .components-placeholder__fieldset .block-editor-block-variation-picker__variations .block-editor-block-variation-picker__variation svg{height:auto;width:24px}.wp-block-jetpack-contact-form .block-editor-block-variation-picker.has-many-variations .components-placeholder__fieldset .block-editor-block-variation-picker__variations .block-editor-block-variation-picker__variation-label{margin-right:0}.wp-block-jetpack-contact-form .block-editor-inner-blocks>.block-editor-block-list__layout{display:flex;flex-direction:row;flex-wrap:wrap;gap:var(--wp--style--block-gap,1.5rem);justify-content:flex-start}.wp-block-jetpack-contact-form .block-editor-inner-blocks>.block-editor-block-list__layout .wp-block{flex:0 0 100%;margin:0}.wp-block-jetpack-contact-form .block-editor-inner-blocks>.block-editor-block-list__layout .wp-block.jetpack-field__width-25,.wp-block-jetpack-contact-form .block-editor-inner-blocks>.block-editor-block-list__layout .wp-block.jetpack-field__width-50,.wp-block-jetpack-contact-form .block-editor-inner-blocks>.block-editor-block-list__layout .wp-block.jetpack-field__width-75{box-sizing:border-box}.wp-block-jetpack-contact-form .block-editor-inner-blocks>.block-editor-block-list__layout .wp-block.jetpack-field__width-25{flex:1 1 calc(25% - var(--wp--style--block-gap, 1.5rem)*1);max-width:25%}.wp-block-jetpack-contact-form .block-editor-inner-blocks>.block-editor-block-list__layout .wp-block.jetpack-field__width-25 .jetpack-option__input.jetpack-option__input.jetpack-option__input{width:70px}.wp-block-jetpack-contact-form .block-editor-inner-blocks>.block-editor-block-list__layout .wp-block.jetpack-field__width-50{flex:1 1 calc(50% - var(--wp--style--block-gap, 1.5rem)*1);max-width:50%}.wp-block-jetpack-contact-form .block-editor-inner-blocks>.block-editor-block-list__layout .wp-block.jetpack-field__width-75{flex:1 1 calc(75% - var(--wp--style--block-gap, 1.5rem)*1);max-width:75%}@media(max-width:480px){.wp-block-jetpack-contact-form .block-editor-inner-blocks>.block-editor-block-list__layout .wp-block[class*=jetpack-field__width-]{flex-basis:100%;max-width:none}}.wp-block-jetpack-contact-form .block-editor-inner-blocks>.block-editor-block-list__layout .wp-block[data-type="jetpack/field-checkbox"],.wp-block-jetpack-contact-form .block-editor-inner-blocks>.block-editor-block-list__layout .wp-block[data-type="jetpack/field-consent"]{align-self:center}.wp-block-jetpack-contact-form .block-list-appender{flex:0 0 100%}.wp-block-jetpack-contact-form [data-type="jetpack/field-checkbox-multiple"] .wp-block,.wp-block-jetpack-contact-form [data-type="jetpack/field-radio"] .wp-block{margin:unset}.jetpack-contact-form .components-placeholder{padding:24px}.jetpack-contact-form .components-placeholder input[type=text]{line-height:16px;outline-style:none;outline-width:0;width:100%}.jetpack-contact-form .components-placeholder .components-placeholder__label svg{margin-right:1ch}.jetpack-contact-form .components-placeholder .components-placeholder__fieldset,.jetpack-contact-form .components-placeholder .help-message{max-width:none;text-align:left}.jetpack-contact-form .components-placeholder .help-message{margin:0 0 1em;width:100%}.jetpack-contact-form .components-placeholder .components-base-control{width:100%}.jetpack-contact-form.is-placeholder{background-color:#fff;border:1px solid #1e1e1e;padding:24px}.jetpack-contact-form.is-placeholder .components-placeholder{box-shadow:unset;margin-bottom:16px;padding:0}.jetpack-contact-form.is-placeholder .block-editor-block-variation-picker__variation svg path:not(.icon-filler){fill:currentColor}.jetpack-contact-form.is-placeholder .form-placeholder__footer{align-items:center;display:flex;flex-direction:column;gap:12px;justify-content:center}@media(min-width:600px){.jetpack-contact-form.is-placeholder .form-placeholder__footer{flex-direction:row;justify-content:space-between}}.jetpack-contact-form.is-placeholder .form-placeholder__footer-links{align-items:center;display:flex;flex-direction:column;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}@media(min-width:600px){.jetpack-contact-form.is-placeholder .form-placeholder__footer-links{align-items:flex-end}}.jetpack-contact-form.is-placeholder .form-placeholder__external-link{font-size:13px;font-weight:400;padding:0}.jetpack-contact-form.is-placeholder .form-placeholder__external-link,.jetpack-contact-form.is-placeholder .form-placeholder__external-link:active,.jetpack-contact-form.is-placeholder .form-placeholder__external-link:focus,.jetpack-contact-form.is-placeholder .form-placeholder__external-link:hover{background-color:unset;color:var(--wp-admin-theme-color)}.jetpack-contact-form.is-placeholder .form-placeholder__external-link svg{height:1.4em;margin-left:2px;width:1.4em}.form-placeholder__patterns-modal{max-width:1200px}@media(min-width:600px){.form-placeholder__patterns-modal{height:calc(100% - 120px);width:calc(100% - 32px)}}@media(min-width:782px){.form-placeholder__patterns-modal{width:750px}}@media(min-width:960px){.form-placeholder__patterns-modal{height:80%;max-height:none;width:80%}}.form-placeholder__patterns-modal .components-modal__content{margin-bottom:60px;padding:0}.form-placeholder__patterns-modal .components-modal__content .view-mode-carousel .carousel-container{margin-bottom:20px}.form-placeholder__patterns-modal .components-modal__content .view-mode-carousel .pattern-slide{border:1px solid #ddd}.form-placeholder__patterns-modal .components-modal__content .view-mode-carousel .block-editor-block-pattern-setup__container{padding:0 32px}.form-placeholder__patterns-modal .block-editor-block-pattern-setup__grid .block-editor-block-pattern-setup__container{padding-bottom:72px}.jetpack-contact-form__intro-message{margin:0 0 16px}.jetpack-contact-form__create{width:100%}.jetpack-contact-form__thankyou-redirect-url{min-width:auto}.jetpack-contact-form__thankyou-redirect-url input[type=text]{width:100%}.jetpack-contact-form__thankyou-redirect-url__suggestions{width:230px}.jetpack-contact-form__integration-panel button{margin-top:1em}.jetpack-field-label{align-items:baseline;display:flex;flex-direction:row;justify-content:flex-start}.jetpack-field-label .components-base-control{margin-bottom:-3px;margin-top:-1px}.jetpack-field-label .rich-text.jetpack-field-label__input{cursor:text;font-weight:700;margin-bottom:.25em}.jetpack-field-label .jetpack-field-label__suffix{font-weight:700;margin-inline-start:.25em}.jetpack-field-label .required{color:unset;font-size:85%;font-weight:400;margin-inline-start:.25em;opacity:.6;word-break:normal}.jetpack-field-label .components-toggle-control .components-base-control__field{margin-bottom:0}.jetpack-field-label__input{min-height:unset;padding:0}.jetpack-field__textarea{min-height:200px}.jetpack-field .jetpack-field__input,.jetpack-field .jetpack-field__textarea{border:1px solid #8c8f94;border-radius:0;box-shadow:unset;box-sizing:border-box;font:inherit;margin:0;padding:16px;width:100%}.jetpack-field .jetpack-field__textarea{border:var(--jetpack--contact-form--border);border-color:var(--jetpack--contact-form--border-color);border-style:var(--jetpack--contact-form--border-style);border-width:var(--jetpack--contact-form--border-size)}.jetpack-field .components-base-control__field{margin-bottom:0}.jetpack-field.jetpack-field-checkbox .jetpack-field-checkbox__checkbox,.jetpack-field.jetpack-field-consent .jetpack-field-consent__checkbox{border-color:currentColor;margin:0 .75rem 0 0;opacity:1}.jetpack-field .jetpack-option__type.jetpack-option__type{all:initial;align-items:center;appearance:none;border:none;color:var(--jetpack--contact-form--text-color);display:flex;font-family:var(--jetpack--contact-form--font-family);font-size:var(--jetpack--contact-form--font-size,16px);height:var(--jetpack--contact-form--font-size,16px);justify-content:center;margin:0 10px 0 0;outline:none;pointer-events:none;position:relative;width:var(--jetpack--contact-form--font-size,16px)}.jetpack-field .jetpack-option__type.jetpack-option__type:after,.jetpack-field .jetpack-option__type.jetpack-option__type:before{all:initial;color:inherit;font-family:inherit;font-size:inherit}.jetpack-field .jetpack-option__type.jetpack-option__type:before{align-items:center;border:1px solid;border-radius:min(var(--jetpack--contact-form--button-outline--border-radius,0px),4px);box-sizing:border-box;content:" ";display:flex;font-weight:700;height:var(--jetpack--contact-form--font-size,16px);justify-content:center;width:var(--jetpack--contact-form--font-size,16px)}.jetpack-field .jetpack-option__type.jetpack-option__type[type=radio]:before{border-radius:50%}.jetpack-field.jetpack-field-multiple.is-style-button .jetpack-field-option,.jetpack-field.jetpack-field-multiple.is-style-button .wp-block-jetpack-field-option-checkbox,.jetpack-field.jetpack-field-multiple.is-style-button .wp-block-jetpack-field-option-radio{align-items:center;background:var(--jetpack--contact-form--button-outline--background-color);border:var(--jetpack--contact-form--button-outline--border);border-color:currentColor;border-radius:var(--jetpack--contact-form--button-outline--border-radius);border-width:var(--jetpack--contact-form--button-outline--border-size);color:var(--jetpack--contact-form--button-outline--text-color);line-height:var(--jetpack--contact-form--button-outline--line-height);padding:var(--jetpack--contact-form--button-outline--padding)}.jetpack-field.jetpack-field-multiple.is-style-button .jetpack-field-option.field-option-radio,.jetpack-field.jetpack-field-multiple.is-style-button .wp-block-jetpack-field-option-checkbox.field-option-radio,.jetpack-field.jetpack-field-multiple.is-style-button .wp-block-jetpack-field-option-radio.field-option-radio{flex-direction:row-reverse;gap:16px;position:relative}.jetpack-field.jetpack-field-multiple.is-style-button .jetpack-field-option.field-option-radio .jetpack-option__type,.jetpack-field.jetpack-field-multiple.is-style-button .wp-block-jetpack-field-option-checkbox.field-option-radio .jetpack-option__type,.jetpack-field.jetpack-field-multiple.is-style-button .wp-block-jetpack-field-option-radio.field-option-radio .jetpack-option__type{display:none}.jetpack-field.jetpack-field-multiple.is-style-button .jetpack-field-option .jetpack-option__type,.jetpack-field.jetpack-field-multiple.is-style-button .wp-block-jetpack-field-option-checkbox .jetpack-option__type,.jetpack-field.jetpack-field-multiple.is-style-button .wp-block-jetpack-field-option-radio .jetpack-option__type{color:var(--jetpack--contact-form--button-outline--color)}.jetpack-field.jetpack-field-multiple.is-style-button .wp-block-jetpack-field-option-radio .jetpack-option__type{display:none}.jetpack-field.jetpack-field-multiple .jetpack-field-multiple__add-option{margin:0;padding:0}.jetpack-field.jetpack-field-multiple .jetpack-field-multiple__add-option .dashicon{display:flex;height:1rem;margin-left:0;margin-right:.75rem;width:1rem}.jetpack-field.jetpack-field-multiple .jetpack-field-multiple__add-option .dashicon:before{font-size:1rem}.jetpack-field.jetpack-field-multiple .jetpack-field-multiple__add-option svg{margin-right:12px}.jetpack-field .jetpack-field-consent__checkbox+.jetpack-field-label{line-height:normal}.jetpack-field .jetpack-field-option{align-items:center;display:flex;justify-content:flex-start}.jetpack-field .jetpack-field-option>input{margin:0 5px 0 0}.jetpack-field .jetpack-field-option.field-option-checkbox,.jetpack-field .jetpack-field-option.field-option-radio,.jetpack-field .wp-block-jetpack-field-option-checkbox,.jetpack-field .wp-block-jetpack-field-option-radio{align-items:baseline;display:flex}.jetpack-field .jetpack-field-option.field-option-checkbox .jetpack-option__type:before,.jetpack-field .jetpack-field-option.field-option-radio .jetpack-option__type:before,.jetpack-field .wp-block-jetpack-field-option-checkbox .jetpack-option__type:before,.jetpack-field .wp-block-jetpack-field-option-radio .jetpack-option__type:before{display:block}.jetpack-field .jetpack-field-option.field-option-radio .jetpack-option__type,.jetpack-field .wp-block-jetpack-field-option-radio .jetpack-option__type{transform:translateY(15%)}:where(:not(.contact-form))>.jetpack-field .jetpack-field__input,:where(:not(.contact-form))>.jetpack-field .jetpack-field__textarea{padding-left:max(var(--jetpack--contact-form--input-padding-left,16px),var(--jetpack--contact-form--border-radius));padding-right:max(var(--jetpack--contact-form--input-padding-left,16px),var(--jetpack--contact-form--border-radius))}.jetpack-field-label__width .components-button-group{display:block}.jetpack-field-label__width .components-base-control__field{margin-bottom:12px}.jetpack-field-multiple__list.jetpack-field-multiple__list{align-items:flex-start;display:flex;flex:1;flex-direction:column;gap:12px;list-style-type:none;margin:0;padding-left:0}.jetpack-field-multiple__list.jetpack-field-multiple__list:empty{display:none}[data-type="jetpack/field-select"] .jetpack-field-multiple__list.jetpack-field-multiple__list{border:1px solid #0006;border-radius:4px;padding:4px}.jetpack-option{align-items:center;display:flex;margin:0}.jetpack-option__type.jetpack-option__type{margin-top:0}.jetpack-option__input.jetpack-option__input.jetpack-option__input{background:#0000;border:none;border-radius:0;color:inherit;flex-grow:1;font-size:inherit;line-height:1.5;padding:0}.jetpack-option__input.jetpack-option__input.jetpack-option__input:hover{border-color:#357cb5}.jetpack-option__input.jetpack-option__input.jetpack-option__input:focus{box-shadow:none}.jetpack-field-multiple.components-base-control{font-size:inherit}.jetpack-option__remove.jetpack-option__remove{padding:6px;vertical-align:bottom}.jetpack-field .components-base-control__label{display:block}.jetpack-field-checkbox,.jetpack-field-consent{display:flex}.jetpack-field-checkbox .jetpack-field-label .jetpack-field-label__input,.jetpack-field-consent .jetpack-field-label .jetpack-field-label__input{font-weight:400}.jetpack-field-checkbox{align-items:baseline}.jetpack-field-checkbox .jetpack-field-label{display:block}.jetpack-field-consent{align-items:center}.jetpack-field-consent .jetpack-field-label{flex-grow:1}.jetpack-field-consent .jetpack-field-label .jetpack-field-label__input{font-size:13px;text-transform:uppercase}.block-editor-inserter__preview .jetpack-contact-form{padding:16px}.block-editor-inserter__preview .jetpack-contact-form .block-editor-inner-blocks .block-editor-block-list__layout{margin:0}.jetpack-contact-form__popover .components-popover__content{min-width:260px}.jetpack-contact-form__popover .components-popover__content .components-base-control{margin-bottom:24px}.jetpack-contact-form__popover .components-popover__content .components-base-control:last-child{margin-bottom:8px}.jetpack-contact-form__popover .components-popover__content .form-settings-dropdown__content{padding:12px}.jetpack-contact-form__popover .components-popover__content .form-settings-dropdown__close-icon{height:24px;justify-content:center;padding:0;width:24px}.jetpack-contact-form__popover .components-popover__content .form-settings-dropdown__item svg{margin-right:8px;fill:none}.jetpack-contact-form__crm_text,.jetpack-contact-form__crm_toggle p{margin-bottom:0}.jetpack-field-dropdown{display:inline-flex;flex-direction:column;font-family:var(--jetpack--contact-form--font-family);width:100%}.jetpack-field-dropdown__wrapper{position:relative}.jetpack-field-dropdown__toggle{align-items:center;background-color:var(--jetpack--contact-form--input-background);border:var(--jetpack--contact-form--border);border-color:var(--jetpack--contact-form--border-color);border-radius:var(--jetpack--contact-form--border-radius);border-style:var(--jetpack--contact-form--border-style);border-width:var(--jetpack--contact-form--border-size);color:var(--jetpack--contact-form--text-color);display:flex;font-size:var(--jetpack--contact-form--font-size,16px);justify-content:space-between;line-height:var(--jetpack--contact-form--line-height);padding:var(--jetpack--contact-form--input-padding)}.jetpack-field-dropdown__icon{align-items:center;border:2px solid #0000;box-sizing:border-box;display:flex;height:.8em;justify-content:center;margin-right:4px;overflow:visible;position:relative;width:.8em}.jetpack-field-dropdown__icon:after{border-bottom:2px solid;border-right:2px solid;box-sizing:border-box;content:"";display:block;height:100%;margin-top:-2px;transform:rotate(45deg);width:100%}.jetpack-field-dropdown__popover{background-color:var(--jetpack--contact-form--input-background);border:var(--jetpack--contact-form--border);border-color:var(--jetpack--contact-form--border-color);border-radius:var(--jetpack--contact-form--border-radius);border-style:var(--jetpack--contact-form--border-style);border-width:var(--jetpack--contact-form--border-size);box-shadow:0 2px 6px #0000000d;color:var(--jetpack--contact-form--text-color);font-size:var(--jetpack--contact-form--font-size,16px);line-height:normal;margin-top:8px;max-height:165px;overflow:auto;padding:0}.jetpack-field-dropdown__popover .rich-text{padding:var(--jetpack--contact-form--input-padding)}.jetpack-contact-form .jetpack-field .jetpack-field__input,.jetpack-contact-form .jetpack-field .jetpack-field__textarea{color:#787c82}.jetpack-contact-form.is-style-animated .jetpack-field,.jetpack-contact-form.is-style-outlined .jetpack-field{position:relative}.jetpack-contact-form.is-style-outlined .block-editor-block-list__block:not([contenteditable]):focus:after{bottom:-10px;left:-10px;right:-10px;top:-10px}.jetpack-contact-form.is-style-outlined .jetpack-field{--notch-width:max(var(--jetpack--contact-form--input-padding-left,16px),var(--jetpack--contact-form--border-radius));display:flex;margin-top:8px}.jetpack-contact-form.is-style-outlined .jetpack-field .notched-label{box-sizing:border-box;display:flex;height:100%;left:0;max-width:100%;position:absolute;text-align:left;top:0;width:100%;z-index:1}.jetpack-contact-form.is-style-outlined .jetpack-field .notched-label__leading{border:var(--jetpack--contact-form--border);border-color:var(--jetpack--contact-form--border-color);border-radius:var(--jetpack--contact-form--border-radius);border-bottom-right-radius:unset;border-style:var(--jetpack--contact-form--border-style);border-width:var(--jetpack--contact-form--border-size);border-right:none;border-top-right-radius:unset;width:var(--notch-width)}.jetpack-contact-form.is-style-outlined .jetpack-field .notched-label__notch{border:var(--jetpack--contact-form--border);border-color:var(--jetpack--contact-form--border-color);border-radius:unset;border-style:var(--jetpack--contact-form--border-style);border-width:var(--jetpack--contact-form--border-size);border-left:none;border-right:none;padding:0 4px;transition:border .15s linear}.jetpack-contact-form.is-style-outlined .jetpack-field .notched-label__label{margin:0;position:relative;top:50%;transform:translateY(-50%);transition:all .15s cubic-bezier(.4,0,.2,1);will-change:transform}.jetpack-contact-form.is-style-outlined .jetpack-field .notched-label__label label{font-weight:300}.jetpack-contact-form.is-style-outlined .jetpack-field .notched-label__trailing{border:var(--jetpack--contact-form--border);border-color:var(--jetpack--contact-form--border-color);border-style:var(--jetpack--contact-form--border-style);border-width:var(--jetpack--contact-form--border-size);border-left:none;border-radius:var(--jetpack--contact-form--border-radius);border-bottom-left-radius:unset;border-top-left-radius:unset;flex-grow:1}.jetpack-contact-form.is-style-outlined .jetpack-field.jetpack-field-textarea .notched-label__label{top:var(--jetpack--contact-form--input-padding-top,16px);transform:unset}.jetpack-contact-form.is-style-outlined .jetpack-field.has-placeholder .notched-label__notch,.jetpack-contact-form.is-style-outlined .jetpack-field.is-selected .notched-label__notch{border-top-color:#0000}.jetpack-contact-form.is-style-outlined .jetpack-field.has-placeholder .notched-label__label,.jetpack-contact-form.is-style-outlined .jetpack-field.is-selected .notched-label__label{font-size:.8em;top:calc(var(--jetpack--contact-form--border-size)*-1);transform:translateY(-50%)}.jetpack-contact-form.is-style-outlined .jetpack-field.has-placeholder.jetpack-field-dropdown .jetpack-field-dropdown__toggle,.jetpack-contact-form.is-style-outlined .jetpack-field.is-selected.jetpack-field-dropdown .jetpack-field-dropdown__toggle{border-color:#0000;padding-left:calc(var(--notch-width) + 4px);padding-right:calc(var(--notch-width) + 4px)}.jetpack-contact-form.is-style-outlined .jetpack-field.jetpack-field-multiple{background-color:var(--jetpack--contact-form--input-background);border:var(--jetpack--contact-form--border);border-color:var(--jetpack--contact-form--border-color);border-radius:var(--jetpack--contact-form--border-radius);border-style:var(--jetpack--contact-form--border-style);border-width:var(--jetpack--contact-form--border-size);border-top:none;padding:var(--jetpack--contact-form--input-padding,16px);padding-top:calc(var(--jetpack--contact-form--input-padding, 16px) + 4px)}.jetpack-contact-form.is-style-outlined .jetpack-field.jetpack-field-multiple .notched-label{height:unset}.jetpack-contact-form.is-style-outlined .jetpack-field.jetpack-field-multiple .notched-label__leading,.jetpack-contact-form.is-style-outlined .jetpack-field.jetpack-field-multiple .notched-label__notch,.jetpack-contact-form.is-style-outlined .jetpack-field.jetpack-field-multiple .notched-label__trailing{border-bottom:none;border-left:none;border-right:none}.jetpack-contact-form.is-style-outlined .jetpack-field.jetpack-field-checkbox{margin-top:0}.jetpack-contact-form.is-style-outlined .jetpack-field .jetpack-field-dropdown__popover .rich-text{padding-left:calc(var(--notch-width) + 4px);padding-right:calc(var(--notch-width) + 4px)}.jetpack-contact-form.is-style-outlined .jetpack-field .jetpack-field-dropdown__icon{margin-right:0}.jetpack-contact-form.is-style-outlined .jetpack-field .jetpack-field__input,.jetpack-contact-form.is-style-outlined .jetpack-field .jetpack-field__textarea{border-top-color:#0000!important;display:flex;outline:none;padding-left:calc(var(--notch-width) + 4px);padding-right:calc(var(--notch-width) + 4px)}.jetpack-contact-form.is-style-animated .jetpack-field{--left-offset:calc(var(--jetpack--contact-form--input-padding-left, 16px) + var(--jetpack--contact-form--border-size));--label-left:max(var(--left-offset),var(--jetpack--contact-form--border-radius));--field-padding:calc(var(--label-left) - var(--jetpack--contact-form--border-size))}.jetpack-contact-form.is-style-animated .jetpack-field .jetpack-field__input{outline:none}.jetpack-contact-form.is-style-animated .jetpack-field .jetpack-field__textarea{outline:none;padding:var(--jetpack--contact-form--input-padding,16px)}.jetpack-contact-form.is-style-animated .jetpack-field .jetpack-field-dropdown__toggle,.jetpack-contact-form.is-style-animated .jetpack-field .jetpack-field__input,.jetpack-contact-form.is-style-animated .jetpack-field .jetpack-field__textarea{padding-left:var(--field-padding);padding-right:var(--field-padding);padding-top:1.4em}.jetpack-contact-form.is-style-animated .jetpack-field.jetpack-field-dropdown .jetpack-field-dropdown__popover .rich-text{padding-left:var(--field-padding);padding-right:var(--field-padding)}.jetpack-contact-form.is-style-animated .jetpack-field.jetpack-field-multiple{padding-bottom:var(--jetpack--contact-form--input-padding,16px);padding-top:1.8em}.jetpack-contact-form.is-style-animated .jetpack-field.jetpack-field-multiple.has-placeholder .animated-label__label{font-size:1em;left:0;top:0}.jetpack-contact-form.is-style-animated .jetpack-field .animated-label__label{box-sizing:border-box;left:var(--label-left);margin:0;max-width:100%;position:absolute;top:50%;transform:translateY(-50%);transition:all .15s cubic-bezier(.4,0,.2,1);width:100%;z-index:1}.jetpack-contact-form.is-style-animated .jetpack-field .animated-label__label .jetpack-field-label__input{margin:0}.jetpack-contact-form.is-style-animated .jetpack-field.jetpack-field-textarea .animated-label__label{top:var(--jetpack--contact-form--input-padding-top,16px);transform:unset}.jetpack-contact-form.is-style-animated .jetpack-field.has-placeholder .animated-label__label,.jetpack-contact-form.is-style-animated .jetpack-field.is-selected .animated-label__label{font-size:.75em;top:calc(2px + var(--jetpack--contact-form--border-size));transform:translateY(0)}.jetpack-contact-form.is-style-below .jetpack-field:not(.jetpack-field-checkbox){display:flex;flex-direction:column-reverse}.block-editor-block-inspector .components-base-control .components-base-control:last-child{margin-bottom:0}@keyframes R2i0K45dEF157drbVRPI{0%{opacity:.6}50%{opacity:1}to{opacity:.6}}.NisihrgiIKl_knpYJtfg{animation:R2i0K45dEF157drbVRPI 1.5s infinite;background-color:var(--jp-gray);height:100%;width:100%}.help-message{display:flex;font-size:13px;line-height:1.4em;margin-bottom:1em;margin-top:-.5em}.help-message svg{margin-right:5px;min-width:24px}.help-message>span{margin-top:2px}.help-message.help-message-is-error{color:var(--color-error)}.help-message.help-message-is-error svg{fill:var(--color-error)}._fUXxnSp5pagKBp9gSN7 *{box-sizing:border-box} \ No newline at end of file +.jetpack-editor-panel-logo{margin-left:.5em}.wp-block-jetpack-contact-form{box-sizing:border-box}.wp-block-jetpack-contact-form .block-editor-block-variation-picker.has-many-variations .components-placeholder__fieldset{margin:0;max-width:unset}.wp-block-jetpack-contact-form .block-editor-block-variation-picker.has-many-variations .components-placeholder__fieldset .block-editor-block-variation-picker__variations{gap:20px 0;justify-content:center;margin:16px auto;max-width:560px}.wp-block-jetpack-contact-form .block-editor-block-variation-picker.has-many-variations .components-placeholder__fieldset .block-editor-block-variation-picker__variations>li{flex:0;margin:0;max-width:none;padding:0 2px;text-align:center;width:unset}.wp-block-jetpack-contact-form .block-editor-block-variation-picker.has-many-variations .components-placeholder__fieldset .block-editor-block-variation-picker__variations .block-editor-block-variation-picker__variation{margin-left:4px;margin-right:4px;padding:22px}.wp-block-jetpack-contact-form .block-editor-block-variation-picker.has-many-variations .components-placeholder__fieldset .block-editor-block-variation-picker__variations .block-editor-block-variation-picker__variation svg{height:auto;width:24px}.wp-block-jetpack-contact-form .block-editor-block-variation-picker.has-many-variations .components-placeholder__fieldset .block-editor-block-variation-picker__variations .block-editor-block-variation-picker__variation-label{margin-right:0}.wp-block-jetpack-contact-form .block-editor-inner-blocks>.block-editor-block-list__layout{display:flex;flex-direction:row;flex-wrap:wrap;gap:var(--wp--style--block-gap,1.5rem);justify-content:flex-start}.wp-block-jetpack-contact-form .block-editor-inner-blocks>.block-editor-block-list__layout .wp-block{flex:0 0 100%;margin:0}.wp-block-jetpack-contact-form .block-editor-inner-blocks>.block-editor-block-list__layout .wp-block.jetpack-field__width-25,.wp-block-jetpack-contact-form .block-editor-inner-blocks>.block-editor-block-list__layout .wp-block.jetpack-field__width-50,.wp-block-jetpack-contact-form .block-editor-inner-blocks>.block-editor-block-list__layout .wp-block.jetpack-field__width-75{box-sizing:border-box}.wp-block-jetpack-contact-form .block-editor-inner-blocks>.block-editor-block-list__layout .wp-block.jetpack-field__width-25{flex:1 1 calc(25% - var(--wp--style--block-gap, 1.5rem)*1);max-width:25%}.wp-block-jetpack-contact-form .block-editor-inner-blocks>.block-editor-block-list__layout .wp-block.jetpack-field__width-25 .jetpack-option__input.jetpack-option__input.jetpack-option__input{width:70px}.wp-block-jetpack-contact-form .block-editor-inner-blocks>.block-editor-block-list__layout .wp-block.jetpack-field__width-50{flex:1 1 calc(50% - var(--wp--style--block-gap, 1.5rem)*1);max-width:50%}.wp-block-jetpack-contact-form .block-editor-inner-blocks>.block-editor-block-list__layout .wp-block.jetpack-field__width-75{flex:1 1 calc(75% - var(--wp--style--block-gap, 1.5rem)*1);max-width:75%}@media(max-width:480px){.wp-block-jetpack-contact-form .block-editor-inner-blocks>.block-editor-block-list__layout .wp-block[class*=jetpack-field__width-]{flex-basis:100%;max-width:none}}.wp-block-jetpack-contact-form .block-editor-inner-blocks>.block-editor-block-list__layout .wp-block[data-type="jetpack/field-checkbox"],.wp-block-jetpack-contact-form .block-editor-inner-blocks>.block-editor-block-list__layout .wp-block[data-type="jetpack/field-consent"]{align-self:center}.wp-block-jetpack-contact-form .block-list-appender{flex:0 0 100%}.wp-block-jetpack-contact-form [data-type="jetpack/field-checkbox-multiple"] .wp-block,.wp-block-jetpack-contact-form [data-type="jetpack/field-radio"] .wp-block{margin:unset}.jetpack-contact-form .components-placeholder{padding:24px}.jetpack-contact-form .components-placeholder input[type=text]{line-height:16px;outline-style:none;outline-width:0;width:100%}.jetpack-contact-form .components-placeholder .components-placeholder__label svg{margin-right:1ch}.jetpack-contact-form .components-placeholder .components-placeholder__fieldset,.jetpack-contact-form .components-placeholder .help-message{max-width:none;text-align:left}.jetpack-contact-form .components-placeholder .help-message{margin:0 0 1em;width:100%}.jetpack-contact-form .components-placeholder .components-base-control{width:100%}.jetpack-contact-form.is-placeholder{background-color:#fff;border:1px solid #1e1e1e;padding:24px}.jetpack-contact-form.is-placeholder .components-placeholder{box-shadow:unset;margin-bottom:16px;padding:0}.jetpack-contact-form.is-placeholder .block-editor-block-variation-picker__variation svg path:not(.icon-filler){fill:currentColor}.jetpack-contact-form.is-placeholder .form-placeholder__footer{align-items:center;display:flex;flex-direction:column;gap:12px;justify-content:center}@media(min-width:600px){.jetpack-contact-form.is-placeholder .form-placeholder__footer{flex-direction:row;justify-content:space-between}}.jetpack-contact-form.is-placeholder .form-placeholder__footer-links{align-items:center;display:flex;flex-direction:column;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}@media(min-width:600px){.jetpack-contact-form.is-placeholder .form-placeholder__footer-links{align-items:flex-end}}.jetpack-contact-form.is-placeholder .form-placeholder__external-link{font-size:13px;font-weight:400;padding:0}.jetpack-contact-form.is-placeholder .form-placeholder__external-link,.jetpack-contact-form.is-placeholder .form-placeholder__external-link:active,.jetpack-contact-form.is-placeholder .form-placeholder__external-link:focus,.jetpack-contact-form.is-placeholder .form-placeholder__external-link:hover{background-color:unset;color:var(--wp-admin-theme-color)}.jetpack-contact-form.is-placeholder .form-placeholder__external-link svg{height:1.4em;margin-left:2px;width:1.4em}.form-placeholder__patterns-modal{max-width:1200px}@media(min-width:600px){.form-placeholder__patterns-modal{height:calc(100% - 120px);width:calc(100% - 32px)}}@media(min-width:782px){.form-placeholder__patterns-modal{width:750px}}@media(min-width:960px){.form-placeholder__patterns-modal{height:80%;max-height:none;width:80%}}.form-placeholder__patterns-modal .components-modal__content{margin-bottom:60px;padding:0}.form-placeholder__patterns-modal .components-modal__content .view-mode-carousel .carousel-container{margin-bottom:20px}.form-placeholder__patterns-modal .components-modal__content .view-mode-carousel .pattern-slide{border:1px solid #ddd}.form-placeholder__patterns-modal .components-modal__content .view-mode-carousel .block-editor-block-pattern-setup__container{padding:0 32px}.form-placeholder__patterns-modal .block-editor-block-pattern-setup__grid .block-editor-block-pattern-setup__container{padding-bottom:72px}.jetpack-contact-form__intro-message{margin:0 0 16px}.jetpack-contact-form__create{width:100%}.jetpack-contact-form__thankyou-redirect-url{min-width:auto}.jetpack-contact-form__thankyou-redirect-url input[type=text]{width:100%}.jetpack-contact-form__thankyou-redirect-url__suggestions{width:230px}.jetpack-contact-form__integration-panel button{margin-top:1em}.jetpack-field-label{align-items:baseline;display:flex;flex-direction:row;justify-content:flex-start}.jetpack-field-label .components-base-control{margin-bottom:-3px;margin-top:-1px}.jetpack-field-label .rich-text.jetpack-field-label__input{cursor:text;font-weight:700;margin-bottom:.25em}.jetpack-field-label .jetpack-field-label__suffix{font-weight:700;margin-inline-start:.25em}.jetpack-field-label .required{color:unset;font-size:85%;font-weight:400;margin-inline-start:.25em;opacity:.6;word-break:normal}.jetpack-field-label .components-toggle-control .components-base-control__field{margin-bottom:0}.jetpack-field-label__input{min-height:unset;padding:0}.jetpack-field__textarea{min-height:200px}.jetpack-field .jetpack-field__input,.jetpack-field .jetpack-field__textarea{border:1px solid #8c8f94;border-radius:0;box-shadow:unset;box-sizing:border-box;font:inherit;margin:0;padding:16px;width:100%}.jetpack-field .jetpack-field__textarea{border:var(--jetpack--contact-form--border);border-color:var(--jetpack--contact-form--border-color);border-style:var(--jetpack--contact-form--border-style);border-width:var(--jetpack--contact-form--border-size)}.jetpack-field .components-base-control__field{margin-bottom:0}.jetpack-field.jetpack-field-checkbox .jetpack-field-checkbox__checkbox,.jetpack-field.jetpack-field-consent .jetpack-field-consent__checkbox{border-color:currentColor;margin:0 .75rem 0 0;opacity:1}.jetpack-field .jetpack-option__type.jetpack-option__type{all:initial;align-items:center;appearance:none;border:none;color:var(--jetpack--contact-form--text-color);display:flex;font-family:var(--jetpack--contact-form--font-family);font-size:var(--jetpack--contact-form--font-size,16px);height:var(--jetpack--contact-form--font-size,16px);justify-content:center;margin:0 10px 0 0;outline:none;pointer-events:none;position:relative;width:var(--jetpack--contact-form--font-size,16px)}.jetpack-field .jetpack-option__type.jetpack-option__type:after,.jetpack-field .jetpack-option__type.jetpack-option__type:before{all:initial;color:inherit;font-family:inherit;font-size:inherit}.jetpack-field .jetpack-option__type.jetpack-option__type:before{align-items:center;border:1px solid;border-radius:min(var(--jetpack--contact-form--button-outline--border-radius,0px),4px);box-sizing:border-box;content:" ";display:flex;font-weight:700;height:var(--jetpack--contact-form--font-size,16px);justify-content:center;width:var(--jetpack--contact-form--font-size,16px)}.jetpack-field .jetpack-option__type.jetpack-option__type[type=radio]:before{border-radius:50%}.jetpack-field.jetpack-field-multiple.is-style-button .jetpack-field-option,.jetpack-field.jetpack-field-multiple.is-style-button .wp-block-jetpack-field-option-checkbox,.jetpack-field.jetpack-field-multiple.is-style-button .wp-block-jetpack-field-option-radio{align-items:center;background:var(--jetpack--contact-form--button-outline--background-color);border:var(--jetpack--contact-form--button-outline--border);border-color:currentColor;border-radius:var(--jetpack--contact-form--button-outline--border-radius);border-width:var(--jetpack--contact-form--button-outline--border-size);color:var(--jetpack--contact-form--button-outline--text-color);line-height:var(--jetpack--contact-form--button-outline--line-height);padding:var(--jetpack--contact-form--button-outline--padding)}.jetpack-field.jetpack-field-multiple.is-style-button .jetpack-field-option.field-option-radio,.jetpack-field.jetpack-field-multiple.is-style-button .wp-block-jetpack-field-option-checkbox.field-option-radio,.jetpack-field.jetpack-field-multiple.is-style-button .wp-block-jetpack-field-option-radio.field-option-radio{flex-direction:row-reverse;gap:16px;position:relative}.jetpack-field.jetpack-field-multiple.is-style-button .jetpack-field-option.field-option-radio .jetpack-option__type,.jetpack-field.jetpack-field-multiple.is-style-button .wp-block-jetpack-field-option-checkbox.field-option-radio .jetpack-option__type,.jetpack-field.jetpack-field-multiple.is-style-button .wp-block-jetpack-field-option-radio.field-option-radio .jetpack-option__type{display:none}.jetpack-field.jetpack-field-multiple.is-style-button .jetpack-field-option .jetpack-option__type,.jetpack-field.jetpack-field-multiple.is-style-button .wp-block-jetpack-field-option-checkbox .jetpack-option__type,.jetpack-field.jetpack-field-multiple.is-style-button .wp-block-jetpack-field-option-radio .jetpack-option__type{color:var(--jetpack--contact-form--button-outline--color)}.jetpack-field.jetpack-field-multiple.is-style-button .wp-block-jetpack-field-option-radio .jetpack-option__type{display:none}.jetpack-field.jetpack-field-multiple .jetpack-field-multiple__add-option{margin:0;padding:0}.jetpack-field.jetpack-field-multiple .jetpack-field-multiple__add-option .dashicon{display:flex;height:1rem;margin-left:0;margin-right:.75rem;width:1rem}.jetpack-field.jetpack-field-multiple .jetpack-field-multiple__add-option .dashicon:before{font-size:1rem}.jetpack-field.jetpack-field-multiple .jetpack-field-multiple__add-option svg{margin-right:12px}.jetpack-field .jetpack-field-consent__checkbox+.jetpack-field-label{line-height:normal}.jetpack-field .jetpack-field-option{align-items:center;display:flex;justify-content:flex-start}.jetpack-field .jetpack-field-option>input{margin:0 5px 0 0}.jetpack-field .jetpack-field-option.field-option-checkbox,.jetpack-field .jetpack-field-option.field-option-radio,.jetpack-field .wp-block-jetpack-field-option-checkbox,.jetpack-field .wp-block-jetpack-field-option-radio{align-items:baseline;display:flex}.jetpack-field .jetpack-field-option.field-option-checkbox .jetpack-option__type:before,.jetpack-field .jetpack-field-option.field-option-radio .jetpack-option__type:before,.jetpack-field .wp-block-jetpack-field-option-checkbox .jetpack-option__type:before,.jetpack-field .wp-block-jetpack-field-option-radio .jetpack-option__type:before{display:block}.jetpack-field .jetpack-field-option.field-option-radio .jetpack-option__type,.jetpack-field .wp-block-jetpack-field-option-radio .jetpack-option__type{transform:translateY(15%)}:where(:not(.contact-form))>.jetpack-field .jetpack-field__input,:where(:not(.contact-form))>.jetpack-field .jetpack-field__textarea{padding-left:max(var(--jetpack--contact-form--input-padding-left,16px),var(--jetpack--contact-form--border-radius));padding-right:max(var(--jetpack--contact-form--input-padding-left,16px),var(--jetpack--contact-form--border-radius))}.jetpack-field-multiple__list.jetpack-field-multiple__list{align-items:flex-start;display:flex;flex:1;flex-direction:column;gap:12px;list-style-type:none;margin:0;padding-left:0}.jetpack-field-multiple__list.jetpack-field-multiple__list:empty{display:none}[data-type="jetpack/field-select"] .jetpack-field-multiple__list.jetpack-field-multiple__list{border:1px solid #0006;border-radius:4px;padding:4px}.jetpack-option{align-items:center;display:flex;margin:0}.jetpack-option__type.jetpack-option__type{margin-top:0}.jetpack-option__input.jetpack-option__input.jetpack-option__input{background:#0000;border:none;border-radius:0;color:inherit;flex-grow:1;font-size:inherit;line-height:1.5;padding:0}.jetpack-option__input.jetpack-option__input.jetpack-option__input:hover{border-color:#357cb5}.jetpack-option__input.jetpack-option__input.jetpack-option__input:focus{box-shadow:none}.jetpack-field-multiple.components-base-control{font-size:inherit}.jetpack-option__remove.jetpack-option__remove{padding:6px;vertical-align:bottom}.jetpack-field .components-base-control__label{display:block}.jetpack-field-checkbox,.jetpack-field-consent{display:flex}.jetpack-field-checkbox .jetpack-field-label .jetpack-field-label__input,.jetpack-field-consent .jetpack-field-label .jetpack-field-label__input{font-weight:400}.jetpack-field-checkbox{align-items:baseline}.jetpack-field-checkbox .jetpack-field-label{display:block}.jetpack-field-consent{align-items:center}.jetpack-field-consent .jetpack-field-label{flex-grow:1}.jetpack-field-consent .jetpack-field-label .jetpack-field-label__input{font-size:13px;text-transform:uppercase}.block-editor-inserter__preview .jetpack-contact-form{padding:16px}.block-editor-inserter__preview .jetpack-contact-form .block-editor-inner-blocks .block-editor-block-list__layout{margin:0}.jetpack-contact-form__popover .components-popover__content{min-width:260px}.jetpack-contact-form__popover .components-popover__content .components-base-control{margin-bottom:24px}.jetpack-contact-form__popover .components-popover__content .components-base-control:last-child{margin-bottom:8px}.jetpack-contact-form__popover .components-popover__content .form-settings-dropdown__content{padding:12px}.jetpack-contact-form__popover .components-popover__content .form-settings-dropdown__close-icon{height:24px;justify-content:center;padding:0;width:24px}.jetpack-contact-form__popover .components-popover__content .form-settings-dropdown__item svg{margin-right:8px;fill:none}.jetpack-contact-form__crm_text,.jetpack-contact-form__crm_toggle p{margin-bottom:0}.jetpack-field-dropdown{display:inline-flex;flex-direction:column;font-family:var(--jetpack--contact-form--font-family);width:100%}.jetpack-field-dropdown__wrapper{position:relative}.jetpack-field-dropdown__toggle{align-items:center;background-color:var(--jetpack--contact-form--input-background);border:var(--jetpack--contact-form--border);border-color:var(--jetpack--contact-form--border-color);border-radius:var(--jetpack--contact-form--border-radius);border-style:var(--jetpack--contact-form--border-style);border-width:var(--jetpack--contact-form--border-size);color:var(--jetpack--contact-form--text-color);display:flex;font-size:var(--jetpack--contact-form--font-size,16px);justify-content:space-between;line-height:var(--jetpack--contact-form--line-height);padding:var(--jetpack--contact-form--input-padding)}.jetpack-field-dropdown__icon{align-items:center;border:2px solid #0000;box-sizing:border-box;display:flex;height:.8em;justify-content:center;margin-right:4px;overflow:visible;position:relative;width:.8em}.jetpack-field-dropdown__icon:after{border-bottom:2px solid;border-right:2px solid;box-sizing:border-box;content:"";display:block;height:100%;margin-top:-2px;transform:rotate(45deg);width:100%}.jetpack-field-dropdown__popover{background-color:var(--jetpack--contact-form--input-background);border:var(--jetpack--contact-form--border);border-color:var(--jetpack--contact-form--border-color);border-radius:var(--jetpack--contact-form--border-radius);border-style:var(--jetpack--contact-form--border-style);border-width:var(--jetpack--contact-form--border-size);box-shadow:0 2px 6px #0000000d;color:var(--jetpack--contact-form--text-color);font-size:var(--jetpack--contact-form--font-size,16px);line-height:normal;margin-top:8px;max-height:165px;overflow:auto;padding:0}.jetpack-field-dropdown__popover .rich-text{padding:var(--jetpack--contact-form--input-padding)}.jetpack-contact-form .jetpack-field .jetpack-field__input,.jetpack-contact-form .jetpack-field .jetpack-field__textarea{color:#787c82}.jetpack-contact-form.is-style-animated .jetpack-field,.jetpack-contact-form.is-style-outlined .jetpack-field{position:relative}.jetpack-contact-form.is-style-outlined .block-editor-block-list__block:not([contenteditable]):focus:after{bottom:-10px;left:-10px;right:-10px;top:-10px}.jetpack-contact-form.is-style-outlined .jetpack-field{--notch-width:max(var(--jetpack--contact-form--input-padding-left,16px),var(--jetpack--contact-form--border-radius));display:flex;margin-top:8px}.jetpack-contact-form.is-style-outlined .jetpack-field .notched-label{box-sizing:border-box;display:flex;height:100%;left:0;max-width:100%;position:absolute;text-align:left;top:0;width:100%;z-index:1}.jetpack-contact-form.is-style-outlined .jetpack-field .notched-label__leading{border:var(--jetpack--contact-form--border);border-color:var(--jetpack--contact-form--border-color);border-radius:var(--jetpack--contact-form--border-radius);border-bottom-right-radius:unset;border-style:var(--jetpack--contact-form--border-style);border-width:var(--jetpack--contact-form--border-size);border-right:none;border-top-right-radius:unset;width:var(--notch-width)}.jetpack-contact-form.is-style-outlined .jetpack-field .notched-label__notch{border:var(--jetpack--contact-form--border);border-color:var(--jetpack--contact-form--border-color);border-radius:unset;border-style:var(--jetpack--contact-form--border-style);border-width:var(--jetpack--contact-form--border-size);border-left:none;border-right:none;padding:0 4px;transition:border .15s linear}.jetpack-contact-form.is-style-outlined .jetpack-field .notched-label__label{margin:0;position:relative;top:50%;transform:translateY(-50%);transition:all .15s cubic-bezier(.4,0,.2,1);will-change:transform}.jetpack-contact-form.is-style-outlined .jetpack-field .notched-label__label label{font-weight:300}.jetpack-contact-form.is-style-outlined .jetpack-field .notched-label__trailing{border:var(--jetpack--contact-form--border);border-color:var(--jetpack--contact-form--border-color);border-style:var(--jetpack--contact-form--border-style);border-width:var(--jetpack--contact-form--border-size);border-left:none;border-radius:var(--jetpack--contact-form--border-radius);border-bottom-left-radius:unset;border-top-left-radius:unset;flex-grow:1}.jetpack-contact-form.is-style-outlined .jetpack-field.jetpack-field-textarea .notched-label__label{top:var(--jetpack--contact-form--input-padding-top,16px);transform:unset}.jetpack-contact-form.is-style-outlined .jetpack-field.has-placeholder .notched-label__notch,.jetpack-contact-form.is-style-outlined .jetpack-field.is-selected .notched-label__notch{border-top-color:#0000}.jetpack-contact-form.is-style-outlined .jetpack-field.has-placeholder .notched-label__label,.jetpack-contact-form.is-style-outlined .jetpack-field.is-selected .notched-label__label{font-size:.8em;top:calc(var(--jetpack--contact-form--border-size)*-1);transform:translateY(-50%)}.jetpack-contact-form.is-style-outlined .jetpack-field.has-placeholder.jetpack-field-dropdown .jetpack-field-dropdown__toggle,.jetpack-contact-form.is-style-outlined .jetpack-field.is-selected.jetpack-field-dropdown .jetpack-field-dropdown__toggle{border-color:#0000;padding-left:calc(var(--notch-width) + 4px);padding-right:calc(var(--notch-width) + 4px)}.jetpack-contact-form.is-style-outlined .jetpack-field.jetpack-field-multiple{background-color:var(--jetpack--contact-form--input-background);border:var(--jetpack--contact-form--border);border-color:var(--jetpack--contact-form--border-color);border-radius:var(--jetpack--contact-form--border-radius);border-style:var(--jetpack--contact-form--border-style);border-width:var(--jetpack--contact-form--border-size);border-top:none;padding:var(--jetpack--contact-form--input-padding,16px);padding-top:calc(var(--jetpack--contact-form--input-padding, 16px) + 4px)}.jetpack-contact-form.is-style-outlined .jetpack-field.jetpack-field-multiple .notched-label{height:unset}.jetpack-contact-form.is-style-outlined .jetpack-field.jetpack-field-multiple .notched-label__leading,.jetpack-contact-form.is-style-outlined .jetpack-field.jetpack-field-multiple .notched-label__notch,.jetpack-contact-form.is-style-outlined .jetpack-field.jetpack-field-multiple .notched-label__trailing{border-bottom:none;border-left:none;border-right:none}.jetpack-contact-form.is-style-outlined .jetpack-field.jetpack-field-checkbox{margin-top:0}.jetpack-contact-form.is-style-outlined .jetpack-field .jetpack-field-dropdown__popover .rich-text{padding-left:calc(var(--notch-width) + 4px);padding-right:calc(var(--notch-width) + 4px)}.jetpack-contact-form.is-style-outlined .jetpack-field .jetpack-field-dropdown__icon{margin-right:0}.jetpack-contact-form.is-style-outlined .jetpack-field .jetpack-field__input,.jetpack-contact-form.is-style-outlined .jetpack-field .jetpack-field__textarea{border-top-color:#0000!important;display:flex;outline:none;padding-left:calc(var(--notch-width) + 4px);padding-right:calc(var(--notch-width) + 4px)}.jetpack-contact-form.is-style-animated .jetpack-field{--left-offset:calc(var(--jetpack--contact-form--input-padding-left, 16px) + var(--jetpack--contact-form--border-size));--label-left:max(var(--left-offset),var(--jetpack--contact-form--border-radius));--field-padding:calc(var(--label-left) - var(--jetpack--contact-form--border-size))}.jetpack-contact-form.is-style-animated .jetpack-field .jetpack-field__input{outline:none}.jetpack-contact-form.is-style-animated .jetpack-field .jetpack-field__textarea{outline:none;padding:var(--jetpack--contact-form--input-padding,16px)}.jetpack-contact-form.is-style-animated .jetpack-field .jetpack-field-dropdown__toggle,.jetpack-contact-form.is-style-animated .jetpack-field .jetpack-field__input,.jetpack-contact-form.is-style-animated .jetpack-field .jetpack-field__textarea{padding-left:var(--field-padding);padding-right:var(--field-padding);padding-top:1.4em}.jetpack-contact-form.is-style-animated .jetpack-field.jetpack-field-dropdown .jetpack-field-dropdown__popover .rich-text{padding-left:var(--field-padding);padding-right:var(--field-padding)}.jetpack-contact-form.is-style-animated .jetpack-field.jetpack-field-multiple{padding-bottom:var(--jetpack--contact-form--input-padding,16px);padding-top:1.8em}.jetpack-contact-form.is-style-animated .jetpack-field.jetpack-field-multiple.has-placeholder .animated-label__label{font-size:1em;left:0;top:0}.jetpack-contact-form.is-style-animated .jetpack-field .animated-label__label{box-sizing:border-box;left:var(--label-left);margin:0;max-width:100%;position:absolute;top:50%;transform:translateY(-50%);transition:all .15s cubic-bezier(.4,0,.2,1);width:100%;z-index:1}.jetpack-contact-form.is-style-animated .jetpack-field .animated-label__label .jetpack-field-label__input{margin:0}.jetpack-contact-form.is-style-animated .jetpack-field.jetpack-field-textarea .animated-label__label{top:var(--jetpack--contact-form--input-padding-top,16px);transform:unset}.jetpack-contact-form.is-style-animated .jetpack-field.has-placeholder .animated-label__label,.jetpack-contact-form.is-style-animated .jetpack-field.is-selected .animated-label__label{font-size:.75em;top:calc(2px + var(--jetpack--contact-form--border-size));transform:translateY(0)}.jetpack-contact-form.is-style-below .jetpack-field:not(.jetpack-field-checkbox){display:flex;flex-direction:column-reverse}.block-editor-block-inspector .components-base-control .components-base-control:last-child{margin-bottom:0}@keyframes R2i0K45dEF157drbVRPI{0%{opacity:.6}50%{opacity:1}to{opacity:.6}}.NisihrgiIKl_knpYJtfg{animation:R2i0K45dEF157drbVRPI 1.5s infinite;background-color:var(--jp-gray);height:100%;width:100%}.help-message{display:flex;font-size:13px;line-height:1.4em;margin-bottom:1em;margin-top:-.5em}.help-message svg{margin-right:5px;min-width:24px}.help-message>span{margin-top:2px}.help-message.help-message-is-error{color:var(--color-error)}.help-message.help-message-is-error svg{fill:var(--color-error)}._fUXxnSp5pagKBp9gSN7 *{box-sizing:border-box} \ No newline at end of file diff --git a/dist/blocks/editor.js b/dist/blocks/editor.js index 4e4397d..0b55c10 100644 --- a/dist/blocks/editor.js +++ b/dist/blocks/editor.js @@ -1,11 +1,11 @@ -(()=>{var e={2663:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});var a=r(5573),o=r(790);const n=(0,o.jsx)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(a.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M3 7c0-1.1.9-2 2-2h14a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V7Zm2-.5h14c.3 0 .5.2.5.5v1L12 13.5 4.5 7.9V7c0-.3.2-.5.5-.5Zm-.5 3.3V17c0 .3.2.5.5.5h14c.3 0 .5-.2.5-.5V9.8L12 15.4 4.5 9.8Z"})})},4066:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});var a=r(5573),o=r(790);const n=(0,o.jsx)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(a.Path,{d:"M12 3.3c-4.8 0-8.8 3.9-8.8 8.8 0 4.8 3.9 8.8 8.8 8.8 4.8 0 8.8-3.9 8.8-8.8s-4-8.8-8.8-8.8zm6.5 5.5h-2.6C15.4 7.3 14.8 6 14 5c2 .6 3.6 2 4.5 3.8zm.7 3.2c0 .6-.1 1.2-.2 1.8h-2.9c.1-.6.1-1.2.1-1.8s-.1-1.2-.1-1.8H19c.2.6.2 1.2.2 1.8zM12 18.7c-1-.7-1.8-1.9-2.3-3.5h4.6c-.5 1.6-1.3 2.9-2.3 3.5zm-2.6-4.9c-.1-.6-.1-1.1-.1-1.8 0-.6.1-1.2.1-1.8h5.2c.1.6.1 1.1.1 1.8s-.1 1.2-.1 1.8H9.4zM4.8 12c0-.6.1-1.2.2-1.8h2.9c-.1.6-.1 1.2-.1 1.8 0 .6.1 1.2.1 1.8H5c-.2-.6-.2-1.2-.2-1.8zM12 5.3c1 .7 1.8 1.9 2.3 3.5H9.7c.5-1.6 1.3-2.9 2.3-3.5zM10 5c-.8 1-1.4 2.3-1.8 3.8H5.5C6.4 7 8 5.6 10 5zM5.5 15.3h2.6c.4 1.5 1 2.8 1.8 3.7-1.8-.6-3.5-2-4.4-3.7zM14 19c.8-1 1.4-2.2 1.8-3.7h2.6C17.6 17 16 18.4 14 19z"})})},2065:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});var a=r(5573),o=r(790);const n=(0,o.jsx)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(a.Path,{d:"M15 4H9c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h6c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 14c0 .3-.2.5-.5.5H9c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h6c.3 0 .5.2.5.5v12zm-4.5-.5h2V16h-2v1.5z"})})},3407:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});var a=r(5573),o=r(790);const n=(0,o.jsx)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(a.Path,{d:"M15.5 9.5a1 1 0 100-2 1 1 0 000 2zm0 1.5a2.5 2.5 0 100-5 2.5 2.5 0 000 5zm-2.25 6v-2a2.75 2.75 0 00-2.75-2.75h-4A2.75 2.75 0 003.75 15v2h1.5v-2c0-.69.56-1.25 1.25-1.25h4c.69 0 1.25.56 1.25 1.25v2h1.5zm7-2v2h-1.5v-2c0-.69-.56-1.25-1.25-1.25H15v-1.5h2.5A2.75 2.75 0 0120.25 15zM9.5 8.5a1 1 0 11-2 0 1 1 0 012 0zm1.5 0a2.5 2.5 0 11-5 0 2.5 2.5 0 015 0z",fillRule:"evenodd"})})},9904:(e,t)=>{"use strict";var r=/^[-!#$%&'*+\/0-9=?A-Z^_a-z{|}~](\.?[-!#$%&'*+\/0-9=?A-Z^_a-z`{|}~])*@[a-zA-Z0-9](-*\.?[a-zA-Z0-9])*\.[a-zA-Z](-?[a-zA-Z0-9])+$/;t.validate=function(e){if(!e)return!1;if(e.length>254)return!1;if(!r.test(e))return!1;var t=e.split("@");return!(t[0].length>64)&&!t[1].split(".").some((function(e){return e.length>63}))}},7876:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});const a={placeholder:"NisihrgiIKl_knpYJtfg",pulse:"R2i0K45dEF157drbVRPI"}},5196:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});const a={global:"_fUXxnSp5pagKBp9gSN7"}},7378:e=>{var t=1e3,r=60*t,a=60*r,o=24*a,n=7*o,l=365.25*o;function i(e,t,r,a){var o=t>=1.5*r;return Math.round(e/r)+" "+a+(o?"s":"")}e.exports=function(e,s){s=s||{};var c=typeof e;if("string"===c&&e.length>0)return function(e){if((e=String(e)).length>100)return;var i=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!i)return;var s=parseFloat(i[1]);switch((i[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return s*l;case"weeks":case"week":case"w":return s*n;case"days":case"day":case"d":return s*o;case"hours":case"hour":case"hrs":case"hr":case"h":return s*a;case"minutes":case"minute":case"mins":case"min":case"m":return s*r;case"seconds":case"second":case"secs":case"sec":case"s":return s*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return s;default:return}}(e);if("number"===c&&isFinite(e))return s.long?function(e){var n=Math.abs(e);if(n>=o)return i(e,n,o,"day");if(n>=a)return i(e,n,a,"hour");if(n>=r)return i(e,n,r,"minute");if(n>=t)return i(e,n,t,"second");return e+" ms"}(e):function(e){var n=Math.abs(e);if(n>=o)return Math.round(e/o)+"d";if(n>=a)return Math.round(e/a)+"h";if(n>=r)return Math.round(e/r)+"m";if(n>=t)return Math.round(e/t)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},4172:(e,t,r)=>{const a=Symbol("SemVer ANY");class o{static get ANY(){return a}constructor(e,t){if(t=n(t),e instanceof o){if(e.loose===!!t.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),c("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===a?this.value="":this.value=this.operator+this.semver.version,c("comp",this)}parse(e){const t=this.options.loose?l[i.COMPARATORLOOSE]:l[i.COMPARATOR],r=e.match(t);if(!r)throw new TypeError(`Invalid comparator: ${e}`);this.operator=void 0!==r[1]?r[1]:"","="===this.operator&&(this.operator=""),r[2]?this.semver=new d(r[2],this.options.loose):this.semver=a}toString(){return this.value}test(e){if(c("Comparator.test",e,this.options.loose),this.semver===a||e===a)return!0;if("string"==typeof e)try{e=new d(e,this.options)}catch(e){return!1}return s(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof o))throw new TypeError("a Comparator is required");return""===this.operator?""===this.value||new u(e.value,t).test(this.value):""===e.operator?""===e.value||new u(this.value,t).test(e.semver):(!(t=n(t)).includePrerelease||"<0.0.0-0"!==this.value&&"<0.0.0-0"!==e.value)&&(!(!t.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0")))&&(!(!this.operator.startsWith(">")||!e.operator.startsWith(">"))||(!(!this.operator.startsWith("<")||!e.operator.startsWith("<"))||(!(this.semver.version!==e.semver.version||!this.operator.includes("=")||!e.operator.includes("="))||(!!(s(this.semver,"<",e.semver,t)&&this.operator.startsWith(">")&&e.operator.startsWith("<"))||!!(s(this.semver,">",e.semver,t)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))))))}}e.exports=o;const n=r(879),{safeRe:l,t:i}=r(4746),s=r(9019),c=r(4860),d=r(3296),u=r(2787)},2787:(e,t,r)=>{const a=/\s+/g;class o{constructor(e,t){if(t=l(t),e instanceof o)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new o(e.raw,t);if(e instanceof i)return this.raw=e.value,this.set=[[e]],this.formatted=void 0,this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e.trim().replace(a," "),this.set=this.raw.split("||").map((e=>this.parseRange(e.trim()))).filter((e=>e.length)),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){const e=this.set[0];if(this.set=this.set.filter((e=>!k(e[0]))),0===this.set.length)this.set=[e];else if(this.set.length>1)for(const e of this.set)if(1===e.length&&g(e[0])){this.set=[e];break}}this.formatted=void 0}get range(){if(void 0===this.formatted){this.formatted="";for(let e=0;e0&&(this.formatted+="||");const t=this.set[e];for(let e=0;e0&&(this.formatted+=" "),this.formatted+=t[e].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(e){const t=((this.options.includePrerelease&&h)|(this.options.loose&&b))+":"+e,r=n.get(t);if(r)return r;const a=this.options.loose,o=a?d[u.HYPHENRANGELOOSE]:d[u.HYPHENRANGE];e=e.replace(o,B(this.options.includePrerelease)),s("hyphen replace",e),e=e.replace(d[u.COMPARATORTRIM],p),s("comparator trim",e),e=e.replace(d[u.TILDETRIM],m),s("tilde trim",e),e=e.replace(d[u.CARETTRIM],f),s("caret trim",e);let l=e.split(" ").map((e=>C(e,this.options))).join(" ").split(/\s+/).map((e=>S(e,this.options)));a&&(l=l.filter((e=>(s("loose invalid filter",e,this.options),!!e.match(d[u.COMPARATORLOOSE]))))),s("range list",l);const c=new Map,g=l.map((e=>new i(e,this.options)));for(const e of g){if(k(e))return[e];c.set(e.value,e)}c.size>1&&c.has("")&&c.delete("");const E=[...c.values()];return n.set(t,E),E}intersects(e,t){if(!(e instanceof o))throw new TypeError("a Range is required");return this.set.some((r=>E(r,t)&&e.set.some((e=>E(e,t)&&r.every((r=>e.every((e=>r.intersects(e,t)))))))))}test(e){if(!e)return!1;if("string"==typeof e)try{e=new c(e,this.options)}catch(e){return!1}for(let t=0;t"<0.0.0-0"===e.value,g=e=>""===e.value,E=(e,t)=>{let r=!0;const a=e.slice();let o=a.pop();for(;r&&a.length;)r=a.every((e=>o.intersects(e,t))),o=a.pop();return r},C=(e,t)=>(s("comp",e,t),e=y(e,t),s("caret",e),e=v(e,t),s("tildes",e),e=w(e,t),s("xrange",e),e=_(e,t),s("stars",e),e),R=e=>!e||"x"===e.toLowerCase()||"*"===e,v=(e,t)=>e.trim().split(/\s+/).map((e=>j(e,t))).join(" "),j=(e,t)=>{const r=t.loose?d[u.TILDELOOSE]:d[u.TILDE];return e.replace(r,((t,r,a,o,n)=>{let l;return s("tilde",e,t,r,a,o,n),R(r)?l="":R(a)?l=`>=${r}.0.0 <${+r+1}.0.0-0`:R(o)?l=`>=${r}.${a}.0 <${r}.${+a+1}.0-0`:n?(s("replaceTilde pr",n),l=`>=${r}.${a}.${o}-${n} <${r}.${+a+1}.0-0`):l=`>=${r}.${a}.${o} <${r}.${+a+1}.0-0`,s("tilde return",l),l}))},y=(e,t)=>e.trim().split(/\s+/).map((e=>A(e,t))).join(" "),A=(e,t)=>{s("caret",e,t);const r=t.loose?d[u.CARETLOOSE]:d[u.CARET],a=t.includePrerelease?"-0":"";return e.replace(r,((t,r,o,n,l)=>{let i;return s("caret",e,t,r,o,n,l),R(r)?i="":R(o)?i=`>=${r}.0.0${a} <${+r+1}.0.0-0`:R(n)?i="0"===r?`>=${r}.${o}.0${a} <${r}.${+o+1}.0-0`:`>=${r}.${o}.0${a} <${+r+1}.0.0-0`:l?(s("replaceCaret pr",l),i="0"===r?"0"===o?`>=${r}.${o}.${n}-${l} <${r}.${o}.${+n+1}-0`:`>=${r}.${o}.${n}-${l} <${r}.${+o+1}.0-0`:`>=${r}.${o}.${n}-${l} <${+r+1}.0.0-0`):(s("no pr"),i="0"===r?"0"===o?`>=${r}.${o}.${n}${a} <${r}.${o}.${+n+1}-0`:`>=${r}.${o}.${n}${a} <${r}.${+o+1}.0-0`:`>=${r}.${o}.${n} <${+r+1}.0.0-0`),s("caret return",i),i}))},w=(e,t)=>(s("replaceXRanges",e,t),e.split(/\s+/).map((e=>x(e,t))).join(" ")),x=(e,t)=>{e=e.trim();const r=t.loose?d[u.XRANGELOOSE]:d[u.XRANGE];return e.replace(r,((r,a,o,n,l,i)=>{s("xRange",e,r,a,o,n,l,i);const c=R(o),d=c||R(n),u=d||R(l),p=u;return"="===a&&p&&(a=""),i=t.includePrerelease?"-0":"",c?r=">"===a||"<"===a?"<0.0.0-0":"*":a&&p?(d&&(n=0),l=0,">"===a?(a=">=",d?(o=+o+1,n=0,l=0):(n=+n+1,l=0)):"<="===a&&(a="<",d?o=+o+1:n=+n+1),"<"===a&&(i="-0"),r=`${a+o}.${n}.${l}${i}`):d?r=`>=${o}.0.0${i} <${+o+1}.0.0-0`:u&&(r=`>=${o}.${n}.0${i} <${o}.${+n+1}.0-0`),s("xRange return",r),r}))},_=(e,t)=>(s("replaceStars",e,t),e.trim().replace(d[u.STAR],"")),S=(e,t)=>(s("replaceGTE0",e,t),e.trim().replace(d[t.includePrerelease?u.GTE0PRE:u.GTE0],"")),B=e=>(t,r,a,o,n,l,i,s,c,d,u,p)=>`${r=R(a)?"":R(o)?`>=${a}.0.0${e?"-0":""}`:R(n)?`>=${a}.${o}.0${e?"-0":""}`:l?`>=${r}`:`>=${r}${e?"-0":""}`} ${s=R(c)?"":R(d)?`<${+c+1}.0.0-0`:R(u)?`<${c}.${+d+1}.0-0`:p?`<=${c}.${d}.${u}-${p}`:e?`<${c}.${d}.${+u+1}-0`:`<=${s}`}`.trim(),I=(e,t,r)=>{for(let r=0;r0){const a=e[r].semver;if(a.major===t.major&&a.minor===t.minor&&a.patch===t.patch)return!0}return!1}return!0}},3296:(e,t,r)=>{const a=r(4860),{MAX_LENGTH:o,MAX_SAFE_INTEGER:n}=r(246),{safeRe:l,t:i}=r(4746),s=r(879),{compareIdentifiers:c}=r(487);class d{constructor(e,t){if(t=s(t),e instanceof d){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`);if(e.length>o)throw new TypeError(`version is longer than ${o} characters`);a("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const r=e.trim().match(t.loose?l[i.LOOSE]:l[i.FULL]);if(!r)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>n||this.major<0)throw new TypeError("Invalid major version");if(this.minor>n||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>n||this.patch<0)throw new TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map((e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t=0;)"number"==typeof this.prerelease[a]&&(this.prerelease[a]++,a=-2);if(-1===a){if(t===this.prerelease.join(".")&&!1===r)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(e)}}if(t){let a=[t,e];!1===r&&(a=[t]),0===c(this.prerelease[0],t)?isNaN(this.prerelease[1])&&(this.prerelease=a):this.prerelease=a}break}default:throw new Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}}e.exports=d},2322:(e,t,r)=>{const a=r(5788);e.exports=(e,t)=>{const r=a(e.trim().replace(/^[=v]+/,""),t);return r?r.version:null}},9019:(e,t,r)=>{const a=r(9250),o=r(6723),n=r(9272),l=r(6453),i=r(3356),s=r(9116);e.exports=(e,t,r,c)=>{switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof r&&(r=r.version),e===r;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof r&&(r=r.version),e!==r;case"":case"=":case"==":return a(e,r,c);case"!=":return o(e,r,c);case">":return n(e,r,c);case">=":return l(e,r,c);case"<":return i(e,r,c);case"<=":return s(e,r,c);default:throw new TypeError(`Invalid operator: ${t}`)}}},1854:(e,t,r)=>{const a=r(3296),o=r(5788),{safeRe:n,t:l}=r(4746);e.exports=(e,t)=>{if(e instanceof a)return e;if("number"==typeof e&&(e=String(e)),"string"!=typeof e)return null;let r=null;if((t=t||{}).rtl){const a=t.includePrerelease?n[l.COERCERTLFULL]:n[l.COERCERTL];let o;for(;(o=a.exec(e))&&(!r||r.index+r[0].length!==e.length);)r&&o.index+o[0].length===r.index+r[0].length||(r=o),a.lastIndex=o.index+o[1].length+o[2].length;a.lastIndex=-1}else r=e.match(t.includePrerelease?n[l.COERCEFULL]:n[l.COERCE]);if(null===r)return null;const i=r[2],s=r[3]||"0",c=r[4]||"0",d=t.includePrerelease&&r[5]?`-${r[5]}`:"",u=t.includePrerelease&&r[6]?`+${r[6]}`:"";return o(`${i}.${s}.${c}${d}${u}`,t)}},8201:(e,t,r)=>{const a=r(3296);e.exports=(e,t,r)=>{const o=new a(e,r),n=new a(t,r);return o.compare(n)||o.compareBuild(n)}},2471:(e,t,r)=>{const a=r(4940);e.exports=(e,t)=>a(e,t,!0)},4940:(e,t,r)=>{const a=r(3296);e.exports=(e,t,r)=>new a(e,r).compare(new a(t,r))},844:(e,t,r)=>{const a=r(5788);e.exports=(e,t)=>{const r=a(e,null,!0),o=a(t,null,!0),n=r.compare(o);if(0===n)return null;const l=n>0,i=l?r:o,s=l?o:r,c=!!i.prerelease.length;if(!!s.prerelease.length&&!c)return s.patch||s.minor?i.patch?"patch":i.minor?"minor":"major":"major";const d=c?"pre":"";return r.major!==o.major?d+"major":r.minor!==o.minor?d+"minor":r.patch!==o.patch?d+"patch":"prerelease"}},9250:(e,t,r)=>{const a=r(4940);e.exports=(e,t,r)=>0===a(e,t,r)},9272:(e,t,r)=>{const a=r(4940);e.exports=(e,t,r)=>a(e,t,r)>0},6453:(e,t,r)=>{const a=r(4940);e.exports=(e,t,r)=>a(e,t,r)>=0},6619:(e,t,r)=>{const a=r(3296);e.exports=(e,t,r,o,n)=>{"string"==typeof r&&(n=o,o=r,r=void 0);try{return new a(e instanceof a?e.version:e,r).inc(t,o,n).version}catch(e){return null}}},3356:(e,t,r)=>{const a=r(4940);e.exports=(e,t,r)=>a(e,t,r)<0},9116:(e,t,r)=>{const a=r(4940);e.exports=(e,t,r)=>a(e,t,r)<=0},3566:(e,t,r)=>{const a=r(3296);e.exports=(e,t)=>new a(e,t).major},2186:(e,t,r)=>{const a=r(3296);e.exports=(e,t)=>new a(e,t).minor},6723:(e,t,r)=>{const a=r(4940);e.exports=(e,t,r)=>0!==a(e,t,r)},5788:(e,t,r)=>{const a=r(3296);e.exports=(e,t,r=!1)=>{if(e instanceof a)return e;try{return new a(e,t)}catch(e){if(!r)return null;throw e}}},6313:(e,t,r)=>{const a=r(3296);e.exports=(e,t)=>new a(e,t).patch},965:(e,t,r)=>{const a=r(5788);e.exports=(e,t)=>{const r=a(e,t);return r&&r.prerelease.length?r.prerelease:null}},8998:(e,t,r)=>{const a=r(4940);e.exports=(e,t,r)=>a(t,e,r)},1753:(e,t,r)=>{const a=r(8201);e.exports=(e,t)=>e.sort(((e,r)=>a(r,e,t)))},6146:(e,t,r)=>{const a=r(2787);e.exports=(e,t,r)=>{try{t=new a(t,r)}catch(e){return!1}return t.test(e)}},5123:(e,t,r)=>{const a=r(8201);e.exports=(e,t)=>e.sort(((e,r)=>a(e,r,t)))},9141:(e,t,r)=>{const a=r(5788);e.exports=(e,t)=>{const r=a(e,t);return r?r.version:null}},8265:(e,t,r)=>{const a=r(4746),o=r(246),n=r(3296),l=r(487),i=r(5788),s=r(9141),c=r(2322),d=r(6619),u=r(844),p=r(3566),m=r(2186),f=r(6313),h=r(965),b=r(4940),k=r(8998),g=r(2471),E=r(8201),C=r(5123),R=r(1753),v=r(9272),j=r(3356),y=r(9250),A=r(6723),w=r(6453),x=r(9116),_=r(9019),S=r(1854),B=r(4172),I=r(2787),N=r(6146),P=r(8067),L=r(7064),M=r(3410),F=r(8761),T=r(5966),$=r(6207),O=r(7095),V=r(3250),H=r(6160),D=r(8417),z=r(2620);e.exports={parse:i,valid:s,clean:c,inc:d,diff:u,major:p,minor:m,patch:f,prerelease:h,compare:b,rcompare:k,compareLoose:g,compareBuild:E,sort:C,rsort:R,gt:v,lt:j,eq:y,neq:A,gte:w,lte:x,cmp:_,coerce:S,Comparator:B,Range:I,satisfies:N,toComparators:P,maxSatisfying:L,minSatisfying:M,minVersion:F,validRange:T,outside:$,gtr:O,ltr:V,intersects:H,simplifyRange:D,subset:z,SemVer:n,re:a.re,src:a.src,tokens:a.t,SEMVER_SPEC_VERSION:o.SEMVER_SPEC_VERSION,RELEASE_TYPES:o.RELEASE_TYPES,compareIdentifiers:l.compareIdentifiers,rcompareIdentifiers:l.rcompareIdentifiers}},246:e=>{const t=Number.MAX_SAFE_INTEGER||9007199254740991;e.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:t,RELEASE_TYPES:["major","premajor","minor","preminor","patch","prepatch","prerelease"],SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}},4860:e=>{const t="object"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=t},487:e=>{const t=/^[0-9]+$/,r=(e,r)=>{const a=t.test(e),o=t.test(r);return a&&o&&(e=+e,r=+r),e===r?0:a&&!o?-1:o&&!a?1:er(t,e)}},7582:e=>{e.exports=class{constructor(){this.max=1e3,this.map=new Map}get(e){const t=this.map.get(e);return void 0===t?void 0:(this.map.delete(e),this.map.set(e,t),t)}delete(e){return this.map.delete(e)}set(e,t){if(!this.delete(e)&&void 0!==t){if(this.map.size>=this.max){const e=this.map.keys().next().value;this.delete(e)}this.map.set(e,t)}return this}}},879:e=>{const t=Object.freeze({loose:!0}),r=Object.freeze({});e.exports=e=>e?"object"!=typeof e?t:e:r},4746:(e,t,r)=>{const{MAX_SAFE_COMPONENT_LENGTH:a,MAX_SAFE_BUILD_LENGTH:o,MAX_LENGTH:n}=r(246),l=r(4860),i=(t=e.exports={}).re=[],s=t.safeRe=[],c=t.src=[],d=t.t={};let u=0;const p="[a-zA-Z0-9-]",m=[["\\s",1],["\\d",n],[p,o]],f=(e,t,r)=>{const a=(e=>{for(const[t,r]of m)e=e.split(`${t}*`).join(`${t}{0,${r}}`).split(`${t}+`).join(`${t}{1,${r}}`);return e})(t),o=u++;l(e,o,t),d[e]=o,c[o]=t,i[o]=new RegExp(t,r?"g":void 0),s[o]=new RegExp(a,r?"g":void 0)};f("NUMERICIDENTIFIER","0|[1-9]\\d*"),f("NUMERICIDENTIFIERLOOSE","\\d+"),f("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${p}*`),f("MAINVERSION",`(${c[d.NUMERICIDENTIFIER]})\\.(${c[d.NUMERICIDENTIFIER]})\\.(${c[d.NUMERICIDENTIFIER]})`),f("MAINVERSIONLOOSE",`(${c[d.NUMERICIDENTIFIERLOOSE]})\\.(${c[d.NUMERICIDENTIFIERLOOSE]})\\.(${c[d.NUMERICIDENTIFIERLOOSE]})`),f("PRERELEASEIDENTIFIER",`(?:${c[d.NUMERICIDENTIFIER]}|${c[d.NONNUMERICIDENTIFIER]})`),f("PRERELEASEIDENTIFIERLOOSE",`(?:${c[d.NUMERICIDENTIFIERLOOSE]}|${c[d.NONNUMERICIDENTIFIER]})`),f("PRERELEASE",`(?:-(${c[d.PRERELEASEIDENTIFIER]}(?:\\.${c[d.PRERELEASEIDENTIFIER]})*))`),f("PRERELEASELOOSE",`(?:-?(${c[d.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${c[d.PRERELEASEIDENTIFIERLOOSE]})*))`),f("BUILDIDENTIFIER",`${p}+`),f("BUILD",`(?:\\+(${c[d.BUILDIDENTIFIER]}(?:\\.${c[d.BUILDIDENTIFIER]})*))`),f("FULLPLAIN",`v?${c[d.MAINVERSION]}${c[d.PRERELEASE]}?${c[d.BUILD]}?`),f("FULL",`^${c[d.FULLPLAIN]}$`),f("LOOSEPLAIN",`[v=\\s]*${c[d.MAINVERSIONLOOSE]}${c[d.PRERELEASELOOSE]}?${c[d.BUILD]}?`),f("LOOSE",`^${c[d.LOOSEPLAIN]}$`),f("GTLT","((?:<|>)?=?)"),f("XRANGEIDENTIFIERLOOSE",`${c[d.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),f("XRANGEIDENTIFIER",`${c[d.NUMERICIDENTIFIER]}|x|X|\\*`),f("XRANGEPLAIN",`[v=\\s]*(${c[d.XRANGEIDENTIFIER]})(?:\\.(${c[d.XRANGEIDENTIFIER]})(?:\\.(${c[d.XRANGEIDENTIFIER]})(?:${c[d.PRERELEASE]})?${c[d.BUILD]}?)?)?`),f("XRANGEPLAINLOOSE",`[v=\\s]*(${c[d.XRANGEIDENTIFIERLOOSE]})(?:\\.(${c[d.XRANGEIDENTIFIERLOOSE]})(?:\\.(${c[d.XRANGEIDENTIFIERLOOSE]})(?:${c[d.PRERELEASELOOSE]})?${c[d.BUILD]}?)?)?`),f("XRANGE",`^${c[d.GTLT]}\\s*${c[d.XRANGEPLAIN]}$`),f("XRANGELOOSE",`^${c[d.GTLT]}\\s*${c[d.XRANGEPLAINLOOSE]}$`),f("COERCEPLAIN",`(^|[^\\d])(\\d{1,${a}})(?:\\.(\\d{1,${a}}))?(?:\\.(\\d{1,${a}}))?`),f("COERCE",`${c[d.COERCEPLAIN]}(?:$|[^\\d])`),f("COERCEFULL",c[d.COERCEPLAIN]+`(?:${c[d.PRERELEASE]})?`+`(?:${c[d.BUILD]})?(?:$|[^\\d])`),f("COERCERTL",c[d.COERCE],!0),f("COERCERTLFULL",c[d.COERCEFULL],!0),f("LONETILDE","(?:~>?)"),f("TILDETRIM",`(\\s*)${c[d.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",f("TILDE",`^${c[d.LONETILDE]}${c[d.XRANGEPLAIN]}$`),f("TILDELOOSE",`^${c[d.LONETILDE]}${c[d.XRANGEPLAINLOOSE]}$`),f("LONECARET","(?:\\^)"),f("CARETTRIM",`(\\s*)${c[d.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",f("CARET",`^${c[d.LONECARET]}${c[d.XRANGEPLAIN]}$`),f("CARETLOOSE",`^${c[d.LONECARET]}${c[d.XRANGEPLAINLOOSE]}$`),f("COMPARATORLOOSE",`^${c[d.GTLT]}\\s*(${c[d.LOOSEPLAIN]})$|^$`),f("COMPARATOR",`^${c[d.GTLT]}\\s*(${c[d.FULLPLAIN]})$|^$`),f("COMPARATORTRIM",`(\\s*)${c[d.GTLT]}\\s*(${c[d.LOOSEPLAIN]}|${c[d.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",f("HYPHENRANGE",`^\\s*(${c[d.XRANGEPLAIN]})\\s+-\\s+(${c[d.XRANGEPLAIN]})\\s*$`),f("HYPHENRANGELOOSE",`^\\s*(${c[d.XRANGEPLAINLOOSE]})\\s+-\\s+(${c[d.XRANGEPLAINLOOSE]})\\s*$`),f("STAR","(<|>)?=?\\s*\\*"),f("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),f("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")},7095:(e,t,r)=>{const a=r(6207);e.exports=(e,t,r)=>a(e,t,">",r)},6160:(e,t,r)=>{const a=r(2787);e.exports=(e,t,r)=>(e=new a(e,r),t=new a(t,r),e.intersects(t,r))},3250:(e,t,r)=>{const a=r(6207);e.exports=(e,t,r)=>a(e,t,"<",r)},7064:(e,t,r)=>{const a=r(3296),o=r(2787);e.exports=(e,t,r)=>{let n=null,l=null,i=null;try{i=new o(t,r)}catch(e){return null}return e.forEach((e=>{i.test(e)&&(n&&-1!==l.compare(e)||(n=e,l=new a(n,r)))})),n}},3410:(e,t,r)=>{const a=r(3296),o=r(2787);e.exports=(e,t,r)=>{let n=null,l=null,i=null;try{i=new o(t,r)}catch(e){return null}return e.forEach((e=>{i.test(e)&&(n&&1!==l.compare(e)||(n=e,l=new a(n,r)))})),n}},8761:(e,t,r)=>{const a=r(3296),o=r(2787),n=r(9272);e.exports=(e,t)=>{e=new o(e,t);let r=new a("0.0.0");if(e.test(r))return r;if(r=new a("0.0.0-0"),e.test(r))return r;r=null;for(let t=0;t{const t=new a(e.semver.version);switch(e.operator){case">":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":l&&!n(t,l)||(l=t);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${e.operator}`)}})),!l||r&&!n(r,l)||(r=l)}return r&&e.test(r)?r:null}},6207:(e,t,r)=>{const a=r(3296),o=r(4172),{ANY:n}=o,l=r(2787),i=r(6146),s=r(9272),c=r(3356),d=r(9116),u=r(6453);e.exports=(e,t,r,p)=>{let m,f,h,b,k;switch(e=new a(e,p),t=new l(t,p),r){case">":m=s,f=d,h=c,b=">",k=">=";break;case"<":m=c,f=u,h=s,b="<",k="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(i(e,t,p))return!1;for(let r=0;r{e.semver===n&&(e=new o(">=0.0.0")),l=l||e,i=i||e,m(e.semver,l.semver,p)?l=e:h(e.semver,i.semver,p)&&(i=e)})),l.operator===b||l.operator===k)return!1;if((!i.operator||i.operator===b)&&f(e,i.semver))return!1;if(i.operator===k&&h(e,i.semver))return!1}return!0}},8417:(e,t,r)=>{const a=r(6146),o=r(4940);e.exports=(e,t,r)=>{const n=[];let l=null,i=null;const s=e.sort(((e,t)=>o(e,t,r)));for(const e of s){a(e,t,r)?(i=e,l||(l=e)):(i&&n.push([l,i]),i=null,l=null)}l&&n.push([l,null]);const c=[];for(const[e,t]of n)e===t?c.push(e):t||e!==s[0]?t?e===s[0]?c.push(`<=${t}`):c.push(`${e} - ${t}`):c.push(`>=${e}`):c.push("*");const d=c.join(" || "),u="string"==typeof t.raw?t.raw:String(t);return d.length{const a=r(2787),o=r(4172),{ANY:n}=o,l=r(6146),i=r(4940),s=[new o(">=0.0.0-0")],c=[new o(">=0.0.0")],d=(e,t,r)=>{if(e===t)return!0;if(1===e.length&&e[0].semver===n){if(1===t.length&&t[0].semver===n)return!0;e=r.includePrerelease?s:c}if(1===t.length&&t[0].semver===n){if(r.includePrerelease)return!0;t=c}const a=new Set;let o,d,m,f,h,b,k;for(const t of e)">"===t.operator||">="===t.operator?o=u(o,t,r):"<"===t.operator||"<="===t.operator?d=p(d,t,r):a.add(t.semver);if(a.size>1)return null;if(o&&d){if(m=i(o.semver,d.semver,r),m>0)return null;if(0===m&&(">="!==o.operator||"<="!==d.operator))return null}for(const e of a){if(o&&!l(e,String(o),r))return null;if(d&&!l(e,String(d),r))return null;for(const a of t)if(!l(e,String(a),r))return!1;return!0}let g=!(!d||r.includePrerelease||!d.semver.prerelease.length)&&d.semver,E=!(!o||r.includePrerelease||!o.semver.prerelease.length)&&o.semver;g&&1===g.prerelease.length&&"<"===d.operator&&0===g.prerelease[0]&&(g=!1);for(const e of t){if(k=k||">"===e.operator||">="===e.operator,b=b||"<"===e.operator||"<="===e.operator,o)if(E&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===E.major&&e.semver.minor===E.minor&&e.semver.patch===E.patch&&(E=!1),">"===e.operator||">="===e.operator){if(f=u(o,e,r),f===e&&f!==o)return!1}else if(">="===o.operator&&!l(o.semver,String(e),r))return!1;if(d)if(g&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===g.major&&e.semver.minor===g.minor&&e.semver.patch===g.patch&&(g=!1),"<"===e.operator||"<="===e.operator){if(h=p(d,e,r),h===e&&h!==d)return!1}else if("<="===d.operator&&!l(d.semver,String(e),r))return!1;if(!e.operator&&(d||o)&&0!==m)return!1}return!(o&&b&&!d&&0!==m)&&(!(d&&k&&!o&&0!==m)&&(!E&&!g))},u=(e,t,r)=>{if(!e)return t;const a=i(e.semver,t.semver,r);return a>0?e:a<0||">"===t.operator&&">="===e.operator?t:e},p=(e,t,r)=>{if(!e)return t;const a=i(e.semver,t.semver,r);return a<0?e:a>0||"<"===t.operator&&"<="===e.operator?t:e};e.exports=(e,t,r={})=>{if(e===t)return!0;e=new a(e,r),t=new a(t,r);let o=!1;e:for(const a of e.set){for(const e of t.set){const t=d(a,e,r);if(o=o||null!==t,t)continue e}if(o)return!1}return!0}},8067:(e,t,r)=>{const a=r(2787);e.exports=(e,t)=>new a(e,t).set.map((e=>e.map((e=>e.value)).join(" ").trim().split(" ")))},5966:(e,t,r)=>{const a=r(2787);e.exports=(e,t)=>{try{return new a(e,t).range||"*"}catch(e){return null}}},372:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var a=r(67);const o=r.n(a)()("dops:analytics");let n,l;window._tkq=window._tkq||[],window.ga=window.ga||function(){(window.ga.q=window.ga.q||[]).push(arguments)},window.ga.l=+new Date;const i={initialize:function(e,t,r){i.setUser(e,t),i.setSuperProps(r),i.identifyUser()},setGoogleAnalyticsEnabled:function(e,t=null){this.googleAnalyticsEnabled=e,this.googleAnalyticsKey=t},setMcAnalyticsEnabled:function(e){this.mcAnalyticsEnabled=e},setUser:function(e,t){l={ID:e,username:t}},setSuperProps:function(e){n=e},assignSuperProps:function(e){n=Object.assign(n||{},e)},mc:{bumpStat:function(e,t){const r=function(e,t){let r="";if("object"==typeof e){for(const t in e)r+="&x_"+encodeURIComponent(t)+"="+encodeURIComponent(e[t]);o("Bumping stats %o",e)}else r="&x_"+encodeURIComponent(e)+"="+encodeURIComponent(t),o('Bumping stat "%s" in group "%s"',t,e);return r}(e,t);i.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom-no-pv"+r+"&t="+Math.random())},bumpStatWithPageView:function(e,t){const r=function(e,t){let r="";if("object"==typeof e){for(const t in e)r+="&"+encodeURIComponent(t)+"="+encodeURIComponent(e[t]);o("Built stats %o",e)}else r="&"+encodeURIComponent(e)+"="+encodeURIComponent(t),o('Built stat "%s" in group "%s"',t,e);return r}(e,t);i.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom"+r+"&t="+Math.random())}},pageView:{record:function(e,t){i.tracks.recordPageView(e),i.ga.recordPageView(e,t)}},purchase:{record:function(e,t,r,a,o,n,l){i.ga.recordPurchase(e,t,r,a,o,n,l)}},tracks:{recordEvent:function(e,t){t=t||{},0===e.indexOf("akismet_")||0===e.indexOf("jetpack_")?(n&&(o("- Super Props: %o",n),t=Object.assign(t,n)),o('Record event "%s" called with props %s',e,JSON.stringify(t)),window._tkq.push(["recordEvent",e,t])):o('- Event name must be prefixed by "akismet_" or "jetpack_"')},recordJetpackClick:function(e){const t="object"==typeof e?e:{target:e};i.tracks.recordEvent("jetpack_wpa_click",t)},recordPageView:function(e){i.tracks.recordEvent("akismet_page_view",{path:e})},setOptOut:function(e){o("Pushing setOptOut: %o",e),window._tkq.push(["setOptOut",e])}},ga:{initialized:!1,initialize:function(){let e={};i.ga.initialized||(l&&(e={userId:"u-"+l.ID}),window.ga("create",this.googleAnalyticsKey,"auto",e),i.ga.initialized=!0)},recordPageView:function(e,t){i.ga.initialize(),o("Recording Page View ~ [URL: "+e+"] [Title: "+t+"]"),this.googleAnalyticsEnabled&&(window.ga("set","page",e),window.ga("send",{hitType:"pageview",page:e,title:t}))},recordEvent:function(e,t,r,a){i.ga.initialize();let n="Recording Event ~ [Category: "+e+"] [Action: "+t+"]";void 0!==r&&(n+=" [Option Label: "+r+"]"),void 0!==a&&(n+=" [Option Value: "+a+"]"),o(n),this.googleAnalyticsEnabled&&window.ga("send","event",e,t,r,a)},recordPurchase:function(e,t,r,a,o,n,l){window.ga("require","ecommerce"),window.ga("ecommerce:addTransaction",{id:e,revenue:a,currency:l}),window.ga("ecommerce:addItem",{id:e,name:t,sku:r,price:o,quantity:n}),window.ga("ecommerce:send")}},identifyUser:function(){l&&window._tkq.push(["identifyUser",l.ID,l.username])},setProperties:function(e){window._tkq.push(["setProperties",e])},clearedIdentity:function(){window._tkq.push(["clearIdentity"])}},s=i},1876:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var a=r(3022),o=r(1609),n=r.n(o),l=r(7876);const i=({children:e=null,width:t=null,height:r=null,className:o=""})=>n().createElement("div",{className:(0,a.A)(l.A.placeholder,o),style:{width:t,height:r}},e)},723:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>p});var a=r(1609),o=r.n(a),n=r(5196);const l={"--font-headline-medium":"48px","--font-headline-small":"36px","--font-title-medium":"24px","--font-title-small":"20px","--font-body":"16px","--font-body-small":"14px","--font-body-extra-small":"12px","--font-title-large":"var(--font-headline-small)","--font-label":"var(--font-body-extra-small)"},i={"--jp-black":"#000000","--jp-black-80":"#2c3338","--jp-white":"#ffffff","--jp-white-off":"#f9f9f6","--jp-gray":"#dcdcde","--jp-gray-0":"#F6F7F7","--jp-gray-5":"var(--jp-gray)","--jp-gray-10":"#C3C4C7","--jp-gray-20":"#A7AAAD","--jp-gray-40":"#787C82","--jp-gray-50":"#646970","--jp-gray-60":"#50575E","--jp-gray-70":"#3C434A","--jp-gray-80":"#2C3338","--jp-gray-90":"#1d2327","--jp-gray-off":"#e2e2df","--jp-red-0":"#F7EBEC","--jp-red-5":"#FACFD2","--jp-red-40":"#E65054","--jp-red-50":"#D63638","--jp-red-60":"#B32D2E","--jp-red-70":"#8A2424","--jp-red-80":"#691C1C","--jp-red":"#d63639","--jp-yellow-5":"#F5E6B3","--jp-yellow-10":"#F2CF75","--jp-yellow-20":"#F0C930","--jp-yellow-30":"#DEB100","--jp-yellow-40":"#C08C00","--jp-yellow-50":"#9D6E00","--jp-yellow-60":"#7D5600","--jp-blue-20":"#68B3E8","--jp-blue-40":"#1689DB","--jp-pink":"#C9356E","--jp-green-0":"#f0f2eb","--jp-green-5":"#d0e6b8","--jp-green-10":"#9dd977","--jp-green-20":"#64ca43","--jp-green-30":"#2fb41f","--jp-green-40":"#069e08","--jp-green-50":"#008710","--jp-green-60":"#007117","--jp-green-70":"#005b18","--jp-green-80":"#004515","--jp-green-90":"#003010","--jp-green-100":"#001c09","--jp-green":"#069e08","--jp-green-primary":"var( --jp-green-40 )","--jp-green-secondary":"var( --jp-green-30 )"},s={"--jp-border-radius":"4px","--jp-menu-border-height":"1px","--jp-underline-thickness":"2px"},c={"--spacing-base":"8px"},d={},u=(e,t,r)=>{const a={...l,...i,...s,...c};for(const t in a)e.style.setProperty(t,a[t]);r&&e.classList.add(n.A.global),t&&(d[t]={provided:!0,root:e})},p=({children:e=null,targetDom:t,id:r,withGlobalStyles:n=!0})=>{const l=(0,a.useRef)(),i=d?.[r]?.provided;return(0,a.useLayoutEffect)((()=>{if(!i)return t?u(t,r,n):void(l?.current&&u(l.current,r,n))}),[t,l,i,r,n]),t?o().createElement(o().Fragment,null,e):o().createElement("div",{ref:l},e)}},5985:(e,t,r)=>{"use strict";r.d(t,{$i:()=>a.A,FB:()=>n.A,Sy:()=>o.Sy,aq:()=>l.aq,d9:()=>o.d9,q7:()=>i.A});var a=r(4972),o=r(2634),n=r(703),l=(r(2034),r(3265)),i=(r(3489),r(6923));r(5877),r(335),r(8290)},5877:(e,t,r)=>{"use strict";r(1609)},335:(e,t,r)=>{"use strict";r(8468)},4972:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});const a="Jetpack_Editor_Initial_State";function o(){return"object"==typeof window?window?.[a]??null:null}},703:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var a=r(4972);function o(e){const t=(0,a.A)(),r=t?.available_blocks?.[e]?.available??!1,o=t?.available_blocks?.[e]?.unavailable_reason??"unknown";return{available:r,...!r&&{details:t?.available_blocks?.[e]?.details??[],unavailableReason:o}}}},3489:(e,t,r)=>{"use strict";var a=r(372);r(9384),r(8468);const{tracks:o}=a.A,{recordEvent:n}=o},6923:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var a=r(7143),o=r(8468),n=r(8290);const l=e=>{const{isModuleActive:t,isChangingStatus:r,isLoadingModules:l}=(0,a.useSelect)((t=>{const r=t(n.F);return{isModuleActive:r.isModuleActive(e),isChangingStatus:r.isModuleUpdating(e),isLoadingModules:r.areModulesLoading(e)}}),[e]),{updateJetpackModuleStatus:i}=(0,a.useDispatch)(n.F),s=(0,o.useCallback)((t=>i({name:e,active:t})),[e,i]);return(0,o.useMemo)((()=>({isLoadingModules:l,isChangingStatus:r,isModuleActive:t,changeStatus:s})),[l,r,t,s])}},7105:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>u,E9:()=>d});var a=r(7143),o=r(2634),n=r(4478),l=r(8290);const i="SET_JETPACK_MODULES";function s(e){return d({isLoading:e})}function c(e,t){return{type:"SET_MODULE_UPDATING",name:e,isUpdating:t}}function d(e){return{type:i,options:e}}const u={updateJetpackModuleStatus:function*(e){try{yield c(e.name,!0),yield(0,n.sB)(e);const t=yield(0,n.wz)();return yield d({data:t}),!0}catch{const e=(0,a.select)(l.F).getJetpackModules();return yield d(e),!1}finally{yield c(e.name,!1)}},setJetpackModules:d,fetchModules:function*(){if((0,o.Sy)())return!0;try{yield s(!0);const e=yield(0,n.wz)();return yield d({data:e}),!0}catch{const e=(0,a.select)(l.F).getJetpackModules();return yield d(e),!1}finally{yield s(!1)}}}},4478:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>c,sB:()=>s,wz:()=>i});var a=r(1455),o=r.n(a);const n="FETCH_JETPACK_MODULES",l="UPDATE_JETPACK_MODULE_STATUS",i=()=>({type:n}),s=e=>({type:l,settings:e}),c={[n]:function(){return o()({path:"/jetpack/v4/module/all",method:"GET"})},[l]:function({settings:e}){return o()({path:`/jetpack/v4/module/${e.name}/active`,method:"POST",data:{active:e.active}})}}},8290:(e,t,r)=>{"use strict";r.d(t,{F:()=>c});var a=r(7143),o=r(7105),n=r(4478),l=r(8862),i=r(2701),s=r(1640);const c="jetpack-modules",d=(0,a.createReduxStore)(c,{reducer:l.A,actions:o.Ay,controls:n.Ay,resolvers:i.A,selectors:s.A});(0,a.register)(d);const u=window?.Initial_State?.getModules||window?.Jetpack_Editor_Initial_State?.modules||null;null!==u&&(0,a.dispatch)(c).setJetpackModules({data:{...u}})},8862:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});const a={isLoading:!1,isUpdating:{},data:{}},o=(e=a,t)=>{switch(t.type){case"SET_JETPACK_MODULES":return{...e,...t.options};case"SET_MODULE_UPDATING":return{...e,isUpdating:{...e.isUpdating,[t.name]:t.isUpdating}}}return e}},2701:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});var a=r(7105),o=r(4478);const n={getJetpackModules:function*(){try{const e=yield(0,o.wz)();if(e)return(0,a.E9)({data:e})}catch(e){console.error(e)}}}},1640:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var a=r(2634);const o={getJetpackModules:e=>e.data,isModuleActive:(e,t)=>(0,a.Sy)()||(e?.data?.[t]?.activated??!1),areModulesLoading:e=>e.isLoading??!1,isModuleUpdating:(e,t)=>e?.isUpdating?.[t]??!1}},3265:(e,t,r)=>{"use strict";r.d(t,{aq:()=>o});var a=r(7723);r(3832),r(6087);const __=a.__;function o(e,t){return"missing_plan"===e&&t.required_plan}__("Upgrade your plan to use video covers","jetpack-forms"),__("Upgrade your plan to upload audio","jetpack-forms")},2034:(e,t,r)=>{"use strict";r(2279)},2634:(e,t,r)=>{"use strict";function a(){return"object"==typeof window&&"string"==typeof window._currentSiteType?window._currentSiteType:null}function o(){return"simple"===a()}function n(){return"atomic"===a()}r.d(t,{Sy:()=>o,d9:()=>n})},8575:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var a=r(7723);const __=a.__,o={subject:{type:"string",default:window.jpFormsBlocks?.defaults?.subject||""},to:{type:"string",default:window.jpFormsBlocks?.defaults?.to||""},customThankyou:{type:"string",default:""},customThankyouHeading:{type:"string",default:__("Your message has been sent","jetpack-forms")},customThankyouMessage:{type:"string",default:""},customThankyouRedirect:{type:"string",default:""},jetpackCRM:{type:"boolean",default:!0},formTitle:{type:"string",default:""},salesforceData:{type:"object",default:{organizationId:"",sendToSalesforce:!1}}}},1013:(e,t,r)=>{"use strict";r.d(t,{P:()=>_});var a=r(4997),o=r(6427),n=r(7723),l=r(2663),i=r(4066),s=r(2065),c=r(6087),d=r(1978),u=r(9958),p=r(4697),m=r(565),f=r(4506),h=r(3052),b=r(358),k=r(5700),g=r(5214),E=r(7817),C=r(9787),R=r(1663),v=r(6691),j=r(9771),y=r(1097);const __=n.__,_x=n._x,A={apiVersion:3,category:"contact-form",supports:{reusable:!1,html:!1},attributes:{label:{type:"string",default:null},required:{type:"boolean",default:!1},requiredText:{type:"string"},options:{type:"array",default:[]},defaultValue:{type:"string",default:""},placeholder:{type:"string",default:""},id:{type:"string",default:""},width:{type:"number",default:100},borderRadius:{type:"number",default:""},borderWidth:{type:"number",default:""},labelFontSize:{type:"string"},fieldFontSize:{type:"string"},lineHeight:{type:"number"},labelLineHeight:{type:"number"},inputColor:{type:"string"},labelColor:{type:"string"},fieldBackgroundColor:{type:"string"},buttonBackgroundColor:{type:"string"},buttonBorderRadius:{type:"number",default:""},buttonBorderWidth:{type:"number",default:""},borderColor:{type:"string"},shareFieldAttributes:{type:"boolean",default:!0}},transforms:{to:[{type:"block",blocks:["jetpack/field-text"],transform:e=>(0,a.createBlock)("jetpack/field-text",e)},{type:"block",blocks:["jetpack/field-name"],transform:e=>(0,a.createBlock)("jetpack/field-name",e)},{type:"block",blocks:["jetpack/field-email"],transform:e=>(0,a.createBlock)("jetpack/field-email",e)},{type:"block",blocks:["jetpack/field-url"],transform:e=>(0,a.createBlock)("jetpack/field-url",e)},{type:"block",blocks:["jetpack/field-date"],transform:e=>(0,a.createBlock)("jetpack/field-date",e)},{type:"block",blocks:["jetpack/field-telephone"],transform:e=>(0,a.createBlock)("jetpack/field-telephone",e)},{type:"block",blocks:["jetpack/field-textarea"],transform:e=>(0,a.createBlock)("jetpack/field-textarea",e)},{type:"block",blocks:["jetpack/field-checkbox-multiple"],transform:(e,t)=>{let r=[];if((0,c.isEmpty)(t))e.options?.length&&(r=(0,c.map)(e.options,(e=>(0,a.createBlock)("jetpack/field-option-checkbox",{label:e,fieldType:"checkbox"}))));else{const e=(0,c.filter)(t,(({name:e})=>(0,c.startsWith)(e,"jetpack/field-option")));r=(0,c.map)(e,(e=>(0,a.createBlock)("jetpack/field-option-checkbox",{label:e.attributes.label,fieldType:"checkbox"})))}return(0,a.createBlock)("jetpack/field-checkbox-multiple",e,r)}},{type:"block",blocks:["jetpack/field-radio"],transform:(e,t)=>{let r=[];if((0,c.isEmpty)(t))e.options?.length&&(r=(0,c.map)(e.options,(e=>(0,a.createBlock)("jetpack/field-option-radio",{label:e,fieldType:"radio"}))));else{const e=(0,c.filter)(t,(({name:e})=>(0,c.startsWith)(e,"jetpack/field-option")));r=(0,c.map)(e,(e=>(0,a.createBlock)("jetpack/field-option-radio",{label:e.attributes.label,fieldType:"radio"})))}return(0,a.createBlock)("jetpack/field-radio",e,r)}},{type:"block",blocks:["jetpack/field-select"],transform:(e,t)=>{if(!(0,c.isEmpty)(t)){const r=(0,c.filter)(t,(({name:e})=>(0,c.startsWith)(e,"jetpack/field-option")));e.options=(0,c.map)(r,(e=>e.attributes.label))}return e.options=e.options?.length?e.options:[""],(0,a.createBlock)("jetpack/field-select",e)}},{type:"block",blocks:["jetpack/field-consent"],transform:e=>(0,a.createBlock)("jetpack/field-consent",e)},{type:"block",blocks:["jetpack/field-checkbox"],transform:e=>(0,a.createBlock)("jetpack/field-checkbox",e)}]},save:()=>null,example:{}},w=e=>({attributes:{...A.attributes,label:{type:"string",default:"checkbox"===e?"Choose several options":"Choose one option"}},migrate:t=>{const r=`jetpack/field-option-${e}`,o=(0,c.filter)(t.options,(e=>!(0,c.isEmpty)((0,c.trim)(e)))),n=(0,c.map)(o,(e=>(0,a.createBlock)(r,{label:e})));return t.options=[],[t,n]},isEligible:e=>e.options&&(0,c.filter)(e.options,(e=>!(0,c.isEmpty)((0,c.trim)(e)))).length,save:()=>null}),x=e=>t=>((0,R.DR)(t),React.createElement(d.A,{clientId:t.clientId,type:e,label:(0,v.A)(t.attributes,t.name),required:t.attributes.required,requiredText:t.attributes.requiredText,setAttributes:t.setAttributes,isSelected:t.isSelected,defaultValue:t.attributes.defaultValue,placeholder:t.attributes.placeholder,id:t.attributes.id,width:t.attributes.width,attributes:t.attributes})),_=[{name:"field-text",settings:{...A,title:__("Text Input Field","jetpack-forms"),description:__("Collect short text responses from site visitors.","jetpack-forms"),icon:(0,y.A)(React.createElement(o.Path,{fill:(0,C.V)(),d:"M12 7H4V8.5H12V7ZM19.75 17.25V10.75H4.25V17.25H19.75ZM5.75 15.75V12.25H18.25V15.75H5.75Z"})),edit:x("text"),attributes:{...A.attributes,label:{type:"string",default:"Text"}}}},{name:"field-name",settings:{...A,title:__("Name Field","jetpack-forms"),description:__("Collect the site visitor’s name.","jetpack-forms"),icon:(0,y.A)(React.createElement(o.Path,{fill:(0,C.V)(),d:"M8.25 11.5C9.63071 11.5 10.75 10.3807 10.75 9C10.75 7.61929 9.63071 6.5 8.25 6.5C6.86929 6.5 5.75 7.61929 5.75 9C5.75 10.3807 6.86929 11.5 8.25 11.5ZM8.25 10C8.80228 10 9.25 9.55228 9.25 9C9.25 8.44772 8.80228 8 8.25 8C7.69772 8 7.25 8.44772 7.25 9C7.25 9.55228 7.69772 10 8.25 10ZM13 15.5V17.5H11.5V15.5C11.5 14.8096 10.9404 14.25 10.25 14.25H6.25C5.55964 14.25 5 14.8096 5 15.5V17.5H3.5V15.5C3.5 13.9812 4.73122 12.75 6.25 12.75H10.25C11.7688 12.75 13 13.9812 13 15.5ZM20.5 11H14.5V9.5H20.5V11ZM20.5 14.5H14.5V13H20.5V14.5Z"})),edit:x("text"),attributes:{...A.attributes,label:{type:"string",default:"Name"}}}},{name:"field-email",settings:{...A,title:__("Email Field","jetpack-forms"),keywords:[__("e-mail","jetpack-forms"),__("mail","jetpack-forms"),"email"],description:__("Collect email addresses from your visitors.","jetpack-forms"),icon:React.createElement(o.Icon,{icon:l.A,style:{fill:(0,C.V)()}}),edit:x("email"),attributes:{...A.attributes,label:{type:"string",default:"Email"}}}},{name:"field-url",settings:{...A,title:__("Website Field","jetpack-forms"),keywords:[__("url","jetpack-forms"),__("internet page","jetpack-forms"),__("link","jetpack-forms"),__("website","jetpack-forms")],description:__("Collect a website address from your site visitors.","jetpack-forms"),icon:React.createElement(o.Icon,{icon:i.A,style:{fill:(0,C.V)()}}),edit:x("url"),attributes:{...A.attributes,label:{type:"string",default:__("Website","jetpack-forms")}}}},{name:"field-date",settings:{...A,title:__("Date Picker","jetpack-forms"),keywords:[__("Calendar","jetpack-forms"),_x("day month year","block search term","jetpack-forms")],description:__("Capture date information with a date picker.","jetpack-forms"),icon:(0,y.A)(React.createElement(o.Path,{fill:(0,C.V)(),fillRule:"evenodd",d:"M4.5 7H19.5V19C19.5 19.2761 19.2761 19.5 19 19.5H5C4.72386 19.5 4.5 19.2761 4.5 19V7ZM3 5V7V19C3 20.1046 3.89543 21 5 21H19C20.1046 21 21 20.1046 21 19V7V5C21 3.89543 20.1046 3 19 3H5C3.89543 3 3 3.89543 3 5ZM11 9.25H7V13.25H11V9.25Z"})),edit:m.A,attributes:{...A.attributes,label:{type:"string",default:"Date"},dateFormat:{type:"string",default:"yy-mm-dd"}}}},{name:"field-telephone",settings:{...A,title:__("Phone Number Field","jetpack-forms"),keywords:[__("Phone","jetpack-forms"),__("Cellular phone","jetpack-forms"),__("Mobile","jetpack-forms")],description:__("Collect phone numbers from site visitors.","jetpack-forms"),icon:React.createElement(o.Icon,{icon:s.A,style:{fill:(0,C.V)()}}),edit:x("tel"),attributes:{...A.attributes,label:{type:"string",default:"Phone"}}}},{name:"field-textarea",settings:{...A,title:__("Multi-line Text Field","jetpack-forms"),keywords:[__("Textarea","jetpack-forms"),"textarea",__("Multiline text","jetpack-forms")],description:__("Capture longform text responses from site visitors.","jetpack-forms"),icon:(0,y.A)(React.createElement(o.Path,{fill:(0,C.V)(),d:"M20 5H4V6.5H20V5ZM5.5 11.5H18.5V18.5H5.5V11.5ZM20 20V10H4V20H20Z"})),edit:e=>((0,R.DR)(e),React.createElement(E.A,{clientId:e.clientId,label:e.attributes.label,required:e.attributes.required,requiredText:e.attributes.requiredText,attributes:e.attributes,setAttributes:e.setAttributes,isSelected:e.isSelected,defaultValue:e.attributes.defaultValue,placeholder:e.attributes.placeholder,id:e.attributes.id,width:e.attributes.width})),attributes:{...A.attributes}}},{name:"field-checkbox",settings:{...A,title:__("Checkbox","jetpack-forms"),keywords:[__("Confirm","jetpack-forms"),__("Accept","jetpack-forms")],description:__("Confirm or select information with a single checkbox.","jetpack-forms"),icon:(0,y.A)(React.createElement(o.Path,{fill:(0,C.V)(),fillRule:"evenodd",d:"M6.125 6H17.875C17.944 6 18 6.05596 18 6.125V17.875C18 17.944 17.944 18 17.875 18H6.125C6.05596 18 6 17.944 6 17.875V6.125C6 6.05596 6.05596 6 6.125 6ZM4.5 6.125C4.5 5.22754 5.22754 4.5 6.125 4.5H17.875C18.7725 4.5 19.5 5.22754 19.5 6.125V17.875C19.5 18.7725 18.7725 19.5 17.875 19.5H6.125C5.22754 19.5 4.5 18.7725 4.5 17.875V6.125ZM10.5171 16.4421L16.5897 8.71335L15.4103 7.78662L10.4828 14.0579L8.57616 11.7698L7.42383 12.7301L10.5171 16.4421Z"})),edit:e=>((0,R.DR)(e),React.createElement(u.A,{clientId:e.clientId,label:e.attributes.label,required:e.attributes.required,requiredText:e.attributes.requiredText,setAttributes:e.setAttributes,isSelected:e.isSelected,defaultValue:e.attributes.defaultValue,id:e.attributes.id,width:e.attributes.width,attributes:e.attributes})),attributes:{...A.attributes,label:{type:"string",default:""}}}},{name:"field-consent",settings:{...A,title:__("Terms Consent","jetpack-forms"),keywords:[__("Consent","jetpack-forms")],description:__("Communicate site terms and offer visitors consent to those terms.","jetpack-forms"),icon:(0,y.A)(React.createElement(React.Fragment,null,React.createElement(o.Path,{fill:(0,C.V)(),d:"M7 5.5H17C17.2761 5.5 17.5 5.72386 17.5 6V13H19V6C19 4.89543 18.1046 4 17 4H7C5.89543 4 5 4.89543 5 6V18C5 19.1046 5.89543 20 7 20H11.5V18.5H7C6.72386 18.5 6.5 18.2761 6.5 18V6C6.5 5.72386 6.72386 5.5 7 5.5ZM16 7.75H8V9.25H16V7.75ZM8 11H13V12.5H8V11Z"}),React.createElement(o.Path,{fill:(0,C.V)(),d:"M20.1087 15.9382L15.9826 21.6689L12.959 18.5194L14.0411 17.4806L15.8175 19.331L18.8914 15.0618L20.1087 15.9382Z"}))),attributes:{...A.attributes,label:{type:"string",default:__("Consent","jetpack-forms")},consentType:{type:"string",default:"implicit"},implicitConsentMessage:{type:"string",default:__("By submitting your information, you're giving us permission to email you. You may unsubscribe at any time.","jetpack-forms")},explicitConsentMessage:{type:"string",default:__("Can we send you an email from time to time?","jetpack-forms")}},edit:({attributes:e,clientId:t,isSelected:r,name:a,setAttributes:o})=>{(0,R.DR)({attributes:e,clientId:t,name:a});const{id:n,width:l,consentType:i,implicitConsentMessage:s,explicitConsentMessage:c}=e;return React.createElement(p.A,{clientId:t,id:n,isSelected:r,width:l,consentType:i,implicitConsentMessage:s,explicitConsentMessage:c,setAttributes:o,attributes:e})}}},{name:k.A.name,settings:(0,j.A)(A,{...k.A.settings,deprecated:[w("radio")]})},g.A,{name:h.A.name,settings:(0,j.A)(A,{...h.A.settings,deprecated:[w("checkbox")]})},b.A,{name:"field-select",settings:{...A,title:__("Dropdown Field","jetpack-forms"),keywords:[__("Choose","jetpack-forms"),__("Dropdown","jetpack-forms"),__("Option","jetpack-forms")],description:__("Add a compact select box, that when expanded, allows visitors to choose one value from the list.","jetpack-forms"),icon:(0,y.A)(React.createElement(o.Path,{fill:(0,C.V)(),d:"M5 4.5H19C19.2761 4.5 19.5 4.72386 19.5 5V19C19.5 19.2761 19.2761 19.5 19 19.5H5C4.72386 19.5 4.5 19.2761 4.5 19V5C4.5 4.72386 4.72386 4.5 5 4.5ZM19 3H5C3.89543 3 3 3.89543 3 5V19C3 20.1046 3.89543 21 5 21H19C20.1046 21 21 20.1046 21 19V5C21 3.89543 20.1046 3 19 3ZM8.93582 10.1396L8.06396 11.3602L11.9999 14.1716L15.9358 11.3602L15.064 10.1396L11.9999 12.3283L8.93582 10.1396Z"})),edit:f.A,attributes:{...A.attributes,toggleLabel:{type:"string",default:null},options:{type:"array",default:[""]}}}}]},8799:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var a=r(6427),o=r(7723),n=r(1097);const __=o.__,l=({required:e,onClick:t})=>React.createElement(a.ToolbarGroup,null,React.createElement(a.ToolbarButton,{title:__("Required","jetpack-forms"),icon:(0,n.A)(React.createElement(a.Path,{d:"M8.23118 8L16 16M8 16L15.7688 8 M6.5054 11.893L17.6567 11.9415M12.0585 17.6563L12 6.5",stroke:"currentColor"})),onClick:t,className:e?"is-pressed":void 0}))},615:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var a=r(6072),o=r.n(a),n=r(3022),l=r(9789);const i=({children:e=null,isError:t=!1,...r})=>{const a=(0,n.A)("help-message",{"help-message-is-error":t});return e&&React.createElement("div",o()({className:a},r),t&&React.createElement(l.A,{size:"24","aria-hidden":"true",role:"img",focusable:"false"}),React.createElement("span",null,e))}},599:(e,t,r)=>{"use strict";function a({children:e}){return React.createElement("p",{style:{color:"rgba( 117, 117, 117, 1 )",marginBottom:"24px"}},e)}r.d(t,{A:()=>a})},3373:(e,t,r)=>{"use strict";r.d(t,{o:()=>l});var a=r(6427),o=r(7723),n=r(5620);const __=o.__,l=({changeStatus:e,isLoading:t,isModuleActive:r})=>React.createElement(a.Placeholder,{icon:n.W.icon,instructions:__("You’ll need to activate the Contact Form feature to use this block.","jetpack-forms"),label:n.W.title},React.createElement(a.Button,{disabled:r||t,isBusy:t,onClick:()=>e(!0),variant:"secondary"},t?__("Activating Contact Form","jetpack-forms"):__("Activate Contact Form","jetpack-forms",0)))},1465:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});var a=r(1876),o=r(6427);const n=function(){return React.createElement(o.Placeholder,null,React.createElement(o.Flex,{gap:2,direction:"column",style:{width:"100%"}},React.createElement(o.Flex,{gap:4},React.createElement(o.FlexItem,null,React.createElement(a.A,{width:30,height:30})),React.createElement(o.FlexBlock,null,React.createElement(a.A,{width:"90%",height:30}))),React.createElement(o.Flex,{style:{marginTop:12}},React.createElement(o.FlexBlock,null,React.createElement(a.A,{height:30,width:"60%"}))),React.createElement(o.Flex,{style:{marginTop:12}},React.createElement(o.FlexBlock,null,React.createElement(a.A,{width:150,height:50}))),React.createElement(o.Flex,{style:{marginTop:18}},React.createElement(o.FlexBlock,null,React.createElement(a.A,{width:"90%",height:16})))))}},5345:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var a=r(6427),o=r(8468),n=r(7723);const __=n.__,l=({error:e})=>React.createElement(a.Notice,{isDismissible:!1,status:"error"},(0,o.createInterpolateElement)(__('The CRM Jetpack Form extension failed to activate. The error message was "".',"jetpack-forms"),{error:React.createElement("span",null,e)}))},2842:(e,t,r)=>{"use strict";r.d(t,{A:()=>u});var a=r(1455),o=r.n(a),n=r(6427),l=r(7723),i=r(5345);const __=l.__,s=({isActivatingExt:e,setIsActivatingExt:t,extActivationError:r,setExtActivationError:a,crmData:l,setCRMData:s})=>{const c=((e,t,r,a)=>()=>{t(void 0),e(!0),o()({path:"/jetpack/v4/jetpack_crm",method:"POST",data:{extension:"jetpackforms"}}).then((e=>{if("success"!==e.code)throw new Error(e.code);const t=Object.assign({},r);t.jp_form_ext_enabled=!0,a(t)})).catch((e=>{t(e.message)})).finally((()=>{e(!1)}))})(t,a,l,s);return e?React.createElement(n.Spinner,null):r?React.createElement(i.A,{error:r}):React.createElement(n.Button,{variant:"secondary",onClick:c},__("Enable Jetpack Forms Extension","jetpack-forms"))},c=()=>React.createElement("p",{className:"jetpack-contact-form__crm_text"},__("A site administrator must enable the CRM Jetpack Forms extension.","jetpack-forms")),d=()=>React.createElement("p",{className:"jetpack-contact-form__crm_text"},__("You can integrate this contact form with Jetpack CRM by enabling Jetpack CRM's Jetpack Forms extension.","jetpack-forms")),u=({isActivatingExt:e,setIsActivatingExt:t,extActivationError:r,setExtActivationError:a,crmData:o,setCRMData:n})=>o.can_activate_extension?React.createElement("div",null,React.createElement(d,null),React.createElement("br",null),React.createElement(s,{isActivatingExt:e,setIsActivatingExt:t,extActivationError:r,setExtActivationError:a,crmData:o,setCRMData:n})):React.createElement(c,null)},3912:(e,t,r)=>{"use strict";r.d(t,{A:()=>k});var a=r(6427),o=r(8468),n=r(7723),l=r(8265),i=r.n(l),s=r(1620),c=r(2842);const __=n.__,d=Object.freeze({ACTIVE:1,INSTALLED:2,NOT_INSTALLED:3}),u=()=>React.createElement("p",{className:"jetpack-contact-form__crm_text"},__("The Jetpack CRM plugin is installed but has an invalid version.","jetpack-forms")),p=()=>React.createElement("p",{className:"jetpack-contact-form__crm_text"},__("Please update to the latest version of the Jetpack CRM plugin to integrate your contact form with your CRM.","jetpack-forms")),m=({isActivating:e})=>{const t=e?__("Activating…","jetpack-forms"):__("Installing…","jetpack-forms",0);return React.createElement(a.Button,{variant:"secondary",icon:React.createElement(a.Icon,{style:{animation:"rotation 2s infinite linear"},icon:"update"}),disabled:!0,"aria-label":t},t)},f=({installAndActivateCRMPlugin:e,isInstalling:t})=>{let r=React.createElement(a.Button,{variant:"secondary",onClick:e},__("Install Jetpack CRM","jetpack-forms"));return t&&(r=React.createElement(m,null)),React.createElement("p",{className:"jetpack-contact-form__crm_text jetpack-contact-form__integration-panel"},React.createElement("em",{style:{color:"rgba(38, 46, 57, 0.7)"}},__("You can save contacts from Jetpack contact forms in Jetpack CRM.","jetpack-forms"),React.createElement("br",null),r))},h=({activateCRMPlugin:e,isInstalling:t})=>React.createElement("p",{className:"jetpack-contact-form__crm_text jetpack-contact-form__integration-panel"},React.createElement("em",null,__("You already have the Jetpack CRM plugin installed, but it’s not activated.","jetpack-forms")),React.createElement("br",null),t&&React.createElement(m,{isActivating:!0}),!t&&React.createElement(a.Button,{variant:"secondary",onClick:e},__("Activate the Jetpack CRM plugin","jetpack-forms"))),b=({crmData:e,setCRMData:t,jetpackCRM:r,setAttributes:n})=>{const[l,s]=(0,o.useState)(!1),[d,u]=(0,o.useState)(!1);return e.jp_form_ext_enabled?i().satisfies(i().coerce(e.crm_version),"3.0.19 - 4.0.0")?React.createElement("p",{className:"jetpack-contact-form__crm_text"},__("Contacts from this form will be stored in Jetpack CRM.","jetpack-forms")):React.createElement(a.ToggleControl,{className:"jetpack-contact-form__crm_toggle",label:__("Jetpack CRM","jetpack-forms"),checked:r,onChange:e=>n({jetpackCRM:e}),help:__("Store contact form submissions in your CRM.","jetpack-forms"),__nextHasNoMarginBottom:!0}):React.createElement(c.A,{isActivatingExt:l,setIsActivatingExt:s,extActivationError:d,setExtActivationError:u,crmData:e,setCRMData:t})},k=({crmData:e,setCRMData:t,jetpackCRM:r,setAttributes:a,onCRMPluginClick:o,isInstalling:n})=>{const l=i().coerce(e.crm_version);if(e.crm_installed&&!l)return React.createElement(u,null);if(e.crm_installed&&i().lt(l,"4.9.1"))return React.createElement(p,null);let c=d.NOT_INSTALLED;return e.crm_active?c=d.ACTIVE:e.crm_installed&&(c=d.INSTALLED),React.createElement("div",{"aria-live":"polite"},d.ACTIVE===c&&React.createElement(b,{crmData:e,setCRMData:t,jetpackCRM:r,setAttributes:a}),d.INSTALLED===c&&React.createElement(h,{activateCRMPlugin:()=>o(s.Bf,"zero-bs-crm/ZeroBSCRM"),isInstalling:n}),d.NOT_INSTALLED===c&&React.createElement(f,{installAndActivateCRMPlugin:()=>o(s.pj,"zero-bs-crm"),isInstalling:n}))}},186:(e,t,r)=>{"use strict";r.d(t,{A:()=>d});var a=r(1455),o=r.n(a),n=r(6427),l=r(8468),i=r(3912);const s=(e,t,r)=>{o()({path:"/jetpack/v4/jetpack_crm"}).then((r=>{if(r.error)throw r.message;e(!1),t(r)})).catch((()=>e(!0))).finally((()=>r(!1)))},c=({jetpackCRM:e,setAttributes:t})=>{const[r,a]=(0,l.useState)(!0),[o,c]=(0,l.useState)(!1),[d,u]=(0,l.useState)(),[p,m]=(0,l.useState)(!1),f=(0,l.useCallback)(((e,t)=>{m(!0),e(t).catch((()=>{c(!0)})).finally((()=>{m(!1),a(!0),s(c,u,a)}))}),[m,c,a]);return(0,l.useEffect)((()=>{s(c,u,a)}),[]),r?React.createElement(n.Spinner,null):o?null:React.createElement(i.A,{crmData:d,setCRMData:u,jetpackCRM:e,setAttributes:t,onCRMPluginClick:f,isInstalling:p})},d=({jetpackCRM:e,setAttributes:t})=>React.createElement(n.BaseControl,{__nextHasNoMarginBottom:!0},React.createElement(c,{jetpackCRM:e,setAttributes:t}))},7309:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});var a=r(6427),o=r(8468),n=r(7723),l=r(9904),i=r(615),s=r(599);const __=n.__,c=({emailAddress:e="",emailSubject:t="",instanceId:r,setAttributes:c,postAuthorEmail:d})=>{const[u,p]=(0,o.useState)(!1),m=e=>0!==(e=e.trim()).length&&(!l.validate(e)&&{email:e});return React.createElement(React.Fragment,null,React.createElement(s.A,null,__("Get incoming form responses sent to your email inbox:","jetpack-forms")),React.createElement(a.TextControl,{"aria-describedby":`contact-form-${r}-email-${u&&u.length>0?"error":"help"}`,label:__("Email address to send to","jetpack-forms"),placeholder:__("name@example.com","jetpack-forms"),onKeyDown:e=>{"Enter"===event.key&&(e.preventDefault(),e.stopPropagation())},value:e,onBlur:e=>{if(0===e.target.value.length)return p(!1),void c({to:d});const t=e.target.value.split(",").map(m).filter(Boolean);t&&t.length&&p(t)},onChange:e=>{p(!1),c({to:e.trim()})},help:__("You can enter multiple email addresses separated by commas.","jetpack-forms"),__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0}),React.createElement(i.A,{isError:!0,id:`contact-form-${r}-email-error`},(()=>{if(u){if(1===u.length)return u[0]&&u[0].email?(0,n.sprintf)(/* translators: placeholder is an email address. */ -__("%s is not a valid email address.","jetpack-forms"),u[0].email):u[0];if(2===u.length)return(0,n.sprintf)(/* translators: placeholders are email addresses. */ -__("%1$s and %2$s are not a valid email address.","jetpack-forms"),u[0].email,u[1].email);const e=u.map((e=>e.email));return(0,n.sprintf)(/* translators: placeholder is a list of email addresses. */ -__("%s are not a valid email address.","jetpack-forms"),e.join(", "))}return null})()),React.createElement(a.TextControl,{label:__("Email subject line","jetpack-forms"),value:t,placeholder:__("Enter a subject","jetpack-forms"),onChange:e=>c({subject:e}),__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0}))}},9958:(e,t,r)=>{"use strict";r.d(t,{A:()=>m});var a=r(4715),o=r(6427),n=r(9491),l=r(7723),i=r(8890),s=r(8799),c=r(6869),d=r(975),u=r(1646),p=r(1787);const __=l.__;const m=(0,n.compose)((0,i.H)(["borderRadius","borderWidth","labelFontSize","fieldFontSize","lineHeight","labelLineHeight","inputColor","labelColor","fieldBackgroundColor","borderColor"]),n.withInstanceId)((function(e){const{instanceId:t,required:r,requiredText:n,label:l,setAttributes:i,width:m,defaultValue:f,attributes:h}=e,{blockStyle:b}=(0,p.U)(h),k=(0,a.useBlockProps)({id:`jetpack-field-checkbox-${t}`,className:"jetpack-field jetpack-field-checkbox",style:b});return React.createElement(React.Fragment,null,React.createElement(a.BlockControls,null,React.createElement(s.A,{required:r,onClick:()=>i({required:!r})})),React.createElement("div",k,React.createElement("input",{className:"jetpack-field-checkbox__checkbox",type:"checkbox",disabled:!0,checked:f}),React.createElement(c.A,{required:r,requiredText:n,label:l,setAttributes:i,attributes:h}),React.createElement(a.InspectorControls,null,React.createElement(o.PanelBody,{title:__("Checkbox Settings","jetpack-forms")},React.createElement(o.ToggleControl,{label:__("Checked by default","jetpack-forms"),checked:f,onChange:e=>i({defaultValue:e?"true":""}),__nextHasNoMarginBottom:!0}))),React.createElement(a.InspectorControls,null,React.createElement(o.PanelBody,{title:__("Manage Responses","jetpack-forms")},React.createElement(u.A,{isChildBlock:!0})),React.createElement(o.PanelBody,{title:__("Field Settings","jetpack-forms")},React.createElement(o.ToggleControl,{label:__("Field is required","jetpack-forms"),checked:r,onChange:e=>i({required:e}),help:__('You can edit the "required" label in the editor',"jetpack-forms"),__nextHasNoMarginBottom:!0}),React.createElement(d.A,{setAttributes:i,width:m}),React.createElement(o.ToggleControl,{label:__("Sync fields style","jetpack-forms"),checked:h.shareFieldAttributes,onChange:e=>i({shareFieldAttributes:e}),help:__("Deactivate for individual styling of this block","jetpack-forms"),__nextHasNoMarginBottom:!0})),React.createElement(a.PanelColorSettings,{title:__("Color","jetpack-forms"),initialOpen:!1,colorSettings:[{value:h.labelColor,onChange:e=>i({labelColor:e}),label:__("Label Text","jetpack-forms")}]}),React.createElement(o.PanelBody,{title:__("Label Styles","jetpack-forms"),initialOpen:h.labelFontSize},React.createElement(a.FontSizePicker,{withSlider:!0,withReset:!0,size:"__unstable-large",__nextHasNoMarginBottom:!0,onChange:e=>i({labelFontSize:e}),value:h.labelFontSize})))))}))},6563:(e,t,r)=>{"use strict";r.d(t,{A:()=>h});var a=r(6072),o=r.n(a),n=r(4715),l=r(9491),i=r(7143),s=r(3022),c=r(1663),d=r(6691),u=r(8890),p=r(1713),m=r(6869),f=r(1787);const h=(0,l.compose)((0,u.H)(["borderRadius","borderWidth","labelFontSize","fieldFontSize","lineHeight","labelLineHeight","inputColor","labelColor","fieldBackgroundColor","buttonBackgroundColor","buttonBorderRadius","buttonBorderWidth","borderColor"]),l.withInstanceId)((e=>{const{name:t,className:r,clientId:a,instanceId:l,setAttributes:u,isSelected:h,attributes:b,type:k}=e,{required:g,requiredText:E,options:C,id:R,width:v}=b;(0,c.DR)(e);const j=(0,i.useSelect)((e=>e("core/block-editor").getBlock(a).innerBlocks),[a]),y=(0,s.A)(r,"jetpack-field jetpack-field-multiple",{"is-selected":h,"has-placeholder":C&&C.length||j.length}),A=(0,c.BV)(a),{blockStyle:w}=(0,f.U)(b),x=(0,n.useBlockProps)({id:`jetpack-field-multiple-${l}`,style:w,className:y}),_=(0,n.useInnerBlocksProps)(x,{defaultBlock:`jetpack/field-option-${k}`,template:[[`jetpack/field-option-${k}`]],templateInsertUpdatesSelection:!0});return React.createElement(React.Fragment,null,React.createElement("div",x,React.createElement(m.A,{required:g,requiredText:E,label:(0,d.A)(b,t),setAttributes:u,isSelected:h,attributes:b,style:A}),React.createElement("ul",o()({},_,{className:"jetpack-field-multiple__list"}))),React.createElement(p.A,{blockClassNames:y,clientId:a,id:R,required:g,attributes:b,setAttributes:u,type:k,width:v,hidePlaceholder:!0}))}))},9659:(e,t,r)=>{"use strict";r.d(t,{A:()=>f});var a=r(6072),o=r.n(a),n=r(4715),l=r(4997),i=r(7143),s=r(7723),c=r(3022),d=r(6087),u=r(8882),p=r(2233),m=r(1787);const __=s.__;function f({attributes:e,clientId:t,name:r,onReplace:a,setAttributes:s,type:f}){const{removeBlock:h}=(0,i.useDispatch)("core/block-editor"),b=(0,p.F)(t),{optionStyle:k}=(0,m.U)(b),g=(0,i.useSelect)((e=>{const r=e("core/block-editor"),a=(0,d.first)(r.getBlockParents(t,!0));return r.getBlock(a).innerBlocks.length}),[t]),E=(0,n.useBlockProps)(),C=(0,u.B)(),R=(0,c.A)("jetpack-field-option",`field-option-${f}`,E.className),v=(0,n.useInnerBlocksProps)(E,{className:R,style:k});return React.createElement(React.Fragment,null,React.createElement("li",v,React.createElement("input",{type:f,className:"jetpack-option__type",tabIndex:"-1"}),React.createElement(n.RichText,o()({identifier:"label",tagName:"div",className:"wp-block",value:e.label,placeholder:__("Add option…","jetpack-forms"),allowedFormats:[],onChange:e=>s({label:e}),preserveWhiteSpace:!1,withoutInteractiveFormatting:!0,onRemove:()=>{g<=1||h(t)},onReplace:a},C?{}:{onSplit:t=>(0,l.createBlock)(r,{...e,clientId:t&&0===e.label.indexOf(t)?e.clientId:void 0,label:t})}))))}},4414:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});const a={apiVersion:3,category:"contact-form",attributes:{label:{type:"string"},fieldType:{enum:["checkbox","radio"],default:"checkbox"}},supports:{reusable:!1,html:!1,splitting:!0}}},8230:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});const a={styles:[{name:"list",label:"List",isDefault:!0},{name:"button",label:"Button"}]}},4697:(e,t,r)=>{"use strict";r.d(t,{A:()=>u});var a=r(4715),o=r(6427),n=r(9491),l=r(7723),i=r(8890),s=r(6869),c=r(975),d=r(1646);const __=l.__,u=(0,n.compose)((0,i.H)(["borderRadius","borderWidth","labelFontSize","fieldFontSize","lineHeight","labelLineHeight","inputColor","labelColor","fieldBackgroundColor","borderColor"]),n.withInstanceId)((({instanceId:e,width:t,consentType:r,implicitConsentMessage:n,explicitConsentMessage:i,setAttributes:u,attributes:p})=>{const m=(0,a.useBlockProps)({id:`jetpack-field-consent-${e}`,className:"jetpack-field jetpack-field-consent"});return React.createElement("div",m,"explicit"===r&&React.createElement("input",{className:"jetpack-field-consent__checkbox",type:"checkbox",disabled:!0}),React.createElement(s.A,{required:!1,label:{implicit:n,explicit:i}[r]??"",attributes:p,setAttributes:u,labelFieldName:`${r}ConsentMessage`,placeholder:(0,l.sprintf)(/* translators: placeholder is a type of consent: implicit or explicit */ -__("Add %s consent message…","jetpack-forms"),r)}),React.createElement(a.InspectorControls,null,React.createElement(o.PanelBody,{title:__("Manage Responses","jetpack-forms")},React.createElement(d.A,{isChildBlock:!0})),React.createElement(o.PanelBody,{title:__("Field Settings","jetpack-forms")},React.createElement(c.A,{setAttributes:u,width:t}),React.createElement(o.ToggleControl,{label:__("Sync fields style","jetpack-forms"),checked:p.shareFieldAttributes,onChange:e=>u({shareFieldAttributes:e}),help:__("Deactivate for individual styling of this block","jetpack-forms"),__nextHasNoMarginBottom:!0})),React.createElement(a.PanelColorSettings,{title:__("Color","jetpack-forms"),initialOpen:!1,colorSettings:[{value:p.labelColor,onChange:e=>u({labelColor:e}),label:__("Label Text","jetpack-forms")}]}),React.createElement(o.PanelBody,{title:__("Consent Settings","jetpack-forms")},React.createElement(o.BaseControl,{__nextHasNoMarginBottom:!0},React.createElement(o.SelectControl,{label:__("Permission to email","jetpack-forms"),value:r,options:[{label:__("Mention that you can email","jetpack-forms"),value:"implicit"},{label:__("Add a privacy checkbox","jetpack-forms"),value:"explicit"}],onChange:e=>u({consentType:e}),__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0})))))}))},1713:(e,t,r)=>{"use strict";r.d(t,{A:()=>u});var a=r(4715),o=r(6427),n=r(8468),l=r(7723),i=r(1663),s=r(8799),c=r(975),d=r(1646);const __=l.__,u=({attributes:e,blockClassNames:t,clientId:r,id:l,placeholder:u,placeholderField:p="placeholder",hidePlaceholder:m,required:f,setAttributes:h,type:b,width:k,extraFieldSettings:g=[]})=>{const E=(0,i.BV)(r),C=(0,i.zD)(t),R=["radio","checkbox"].includes(b),v=(e,t=parseInt)=>r=>{const a=t(r,10);h({[e]:isNaN(a)?"":a})},j="button"===C?__("Button Text","jetpack-forms"):__("Option Text","jetpack-forms",0),y=R?j:__("Field Text","jetpack-forms",0),A=R?__("Background","jetpack-forms"):__("Field Background","jetpack-forms",0),w=R?__("Options Styles","jetpack-forms"):__("Input Field Styles","jetpack-forms",0),x=[{value:e.labelColor,onChange:e=>h({labelColor:e}),label:__("Label Text","jetpack-forms")},{value:e.inputColor,onChange:e=>h({inputColor:e}),label:y}];R&&"button"===C&&x.push({value:e.buttonBackgroundColor,onChange:e=>h({buttonBackgroundColor:e}),label:__("Button Background","jetpack-forms")}),R&&E!==i.pC.OUTLINED||(x.push({value:e.fieldBackgroundColor,onChange:e=>h({fieldBackgroundColor:e}),label:A}),x.push({value:e.borderColor,onChange:e=>h({borderColor:e}),label:__("Border","jetpack-forms")}));let _=[React.createElement(o.ToggleControl,{key:"required",label:__("Field is required","jetpack-forms"),checked:f,onChange:e=>h({required:e}),help:__('You can edit the "required" label in the editor',"jetpack-forms"),__nextHasNoMarginBottom:!0}),!m&&React.createElement(o.TextControl,{key:"placeholderField",label:__("Placeholder text","jetpack-forms"),value:u||"",onChange:e=>h({[p]:e}),help:__("Show visitors an example of the type of content expected. Otherwise, leave blank.","jetpack-forms"),__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0}),React.createElement(c.A,{key:"width",setAttributes:h,width:k}),React.createElement(o.ToggleControl,{key:"shareFieldAttributes",label:__("Sync fields style","jetpack-forms"),checked:e.shareFieldAttributes,onChange:e=>h({shareFieldAttributes:e}),help:__("Deactivate for individual styling of this block","jetpack-forms"),__nextHasNoMarginBottom:!0})];return g.forEach((({element:e,index:t})=>{(0,n.isValidElement)(e)&&(t>=0&&t<_.length?_=[..._.slice(0,t),e,..._.slice(t)]:_.push(e))})),React.createElement(React.Fragment,null,React.createElement(a.BlockControls,null,React.createElement(s.A,{required:f,onClick:()=>h({required:!f})})),React.createElement(a.InspectorControls,null,React.createElement(o.PanelBody,{title:__("Manage Responses","jetpack-forms")},React.createElement(d.A,{isChildBlock:!0})),React.createElement(o.PanelBody,{title:__("Field Settings","jetpack-forms")},React.createElement(React.Fragment,null,_)),React.createElement(a.PanelColorSettings,{title:__("Color","jetpack-forms"),initialOpen:!1,colorSettings:x}),React.createElement(o.PanelBody,{title:w,initialOpen:!1},React.createElement(o.BaseControl,null,React.createElement(a.FontSizePicker,{withReset:!0,size:"__unstable-large",__nextHasNoMarginBottom:!0,onChange:e=>h({fieldFontSize:e}),value:e.fieldFontSize})),React.createElement(o.BaseControl,null,React.createElement(a.LineHeightControl,{__nextHasNoMarginBottom:!0,__unstableInputWidth:"100%",value:e.lineHeight,onChange:v("lineHeight",parseFloat),size:"__unstable-large"})),(R||"button"===C)&&React.createElement(React.Fragment,null,React.createElement(o.RangeControl,{label:__("Button Border Width","jetpack-forms"),value:e.buttonBorderWidth,initialPosition:1,onChange:v("buttonBorderWidth"),min:0,max:100,__nextHasNoMarginBottom:!0}),React.createElement(o.RangeControl,{label:__("Button Border Radius","jetpack-forms"),value:e.buttonBorderRadius,initialPosition:0,onChange:v("buttonBorderRadius"),min:0,max:100,__nextHasNoMarginBottom:!0})),(!R||E===i.pC.OUTLINED)&&React.createElement(React.Fragment,null,React.createElement(o.RangeControl,{label:__("Border Width","jetpack-forms"),value:e.borderWidth,initialPosition:1,onChange:v("borderWidth"),min:0,max:100,__nextHasNoMarginBottom:!0}),React.createElement(o.RangeControl,{label:__("Border Radius","jetpack-forms"),value:e.borderRadius,initialPosition:0,onChange:v("borderRadius"),min:0,max:100,__nextHasNoMarginBottom:!0}))),React.createElement(o.PanelBody,{title:__("Label Styles","jetpack-forms"),initialOpen:!1},React.createElement(o.BaseControl,null,React.createElement(a.FontSizePicker,{withReset:!0,size:"__unstable-large",__nextHasNoMarginBottom:!0,onChange:e=>h({labelFontSize:e}),value:e.labelFontSize})),React.createElement(o.BaseControl,null,React.createElement(a.LineHeightControl,{__unstableInputWidth:"100%",__nextHasNoMarginBottom:!0,value:e.labelLineHeight,onChange:v("labelLineHeight",parseFloat),size:"__unstable-large"})))),React.createElement(a.InspectorAdvancedControls,null,React.createElement(o.TextControl,{label:__("Name/ID","jetpack-forms"),value:l||"",onChange:e=>{const t=e.replace(/[^a-zA-Z0-9_-]/g,"");h({id:t})},help:__("Customize the input's name/ID. Only alphanumeric, dash and underscore characters are allowed","jetpack-forms"),__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0})))}},565:(e,t,r)=>{"use strict";r.d(t,{A:()=>h});var a=r(4715),o=r(6427),n=r(9491),l=r(7723),i=r(3022),s=r(1663),c=r(8890),d=r(1713),u=r(6869),p=r(1787);const __=l.__,m=(new Date).getFullYear(),f=[{value:"mm/dd/yy", +(()=>{var e={2663:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});var a=r(5573),o=r(790);const n=(0,o.jsx)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(a.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M3 7c0-1.1.9-2 2-2h14a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V7Zm2-.5h14c.3 0 .5.2.5.5v1L12 13.5 4.5 7.9V7c0-.3.2-.5.5-.5Zm-.5 3.3V17c0 .3.2.5.5.5h14c.3 0 .5-.2.5-.5V9.8L12 15.4 4.5 9.8Z"})})},4066:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});var a=r(5573),o=r(790);const n=(0,o.jsx)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(a.Path,{d:"M12 3.3c-4.8 0-8.8 3.9-8.8 8.8 0 4.8 3.9 8.8 8.8 8.8 4.8 0 8.8-3.9 8.8-8.8s-4-8.8-8.8-8.8zm6.5 5.5h-2.6C15.4 7.3 14.8 6 14 5c2 .6 3.6 2 4.5 3.8zm.7 3.2c0 .6-.1 1.2-.2 1.8h-2.9c.1-.6.1-1.2.1-1.8s-.1-1.2-.1-1.8H19c.2.6.2 1.2.2 1.8zM12 18.7c-1-.7-1.8-1.9-2.3-3.5h4.6c-.5 1.6-1.3 2.9-2.3 3.5zm-2.6-4.9c-.1-.6-.1-1.1-.1-1.8 0-.6.1-1.2.1-1.8h5.2c.1.6.1 1.1.1 1.8s-.1 1.2-.1 1.8H9.4zM4.8 12c0-.6.1-1.2.2-1.8h2.9c-.1.6-.1 1.2-.1 1.8 0 .6.1 1.2.1 1.8H5c-.2-.6-.2-1.2-.2-1.8zM12 5.3c1 .7 1.8 1.9 2.3 3.5H9.7c.5-1.6 1.3-2.9 2.3-3.5zM10 5c-.8 1-1.4 2.3-1.8 3.8H5.5C6.4 7 8 5.6 10 5zM5.5 15.3h2.6c.4 1.5 1 2.8 1.8 3.7-1.8-.6-3.5-2-4.4-3.7zM14 19c.8-1 1.4-2.2 1.8-3.7h2.6C17.6 17 16 18.4 14 19z"})})},2065:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});var a=r(5573),o=r(790);const n=(0,o.jsx)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(a.Path,{d:"M15 4H9c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h6c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 14c0 .3-.2.5-.5.5H9c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h6c.3 0 .5.2.5.5v12zm-4.5-.5h2V16h-2v1.5z"})})},3407:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});var a=r(5573),o=r(790);const n=(0,o.jsx)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(a.Path,{d:"M15.5 9.5a1 1 0 100-2 1 1 0 000 2zm0 1.5a2.5 2.5 0 100-5 2.5 2.5 0 000 5zm-2.25 6v-2a2.75 2.75 0 00-2.75-2.75h-4A2.75 2.75 0 003.75 15v2h1.5v-2c0-.69.56-1.25 1.25-1.25h4c.69 0 1.25.56 1.25 1.25v2h1.5zm7-2v2h-1.5v-2c0-.69-.56-1.25-1.25-1.25H15v-1.5h2.5A2.75 2.75 0 0120.25 15zM9.5 8.5a1 1 0 11-2 0 1 1 0 012 0zm1.5 0a2.5 2.5 0 11-5 0 2.5 2.5 0 015 0z",fillRule:"evenodd"})})},9904:(e,t)=>{"use strict";var r=/^[-!#$%&'*+\/0-9=?A-Z^_a-z{|}~](\.?[-!#$%&'*+\/0-9=?A-Z^_a-z`{|}~])*@[a-zA-Z0-9](-*\.?[a-zA-Z0-9])*\.[a-zA-Z](-?[a-zA-Z0-9])+$/;t.validate=function(e){if(!e)return!1;if(e.length>254)return!1;if(!r.test(e))return!1;var t=e.split("@");return!(t[0].length>64)&&!t[1].split(".").some((function(e){return e.length>63}))}},7876:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});const a={placeholder:"NisihrgiIKl_knpYJtfg",pulse:"R2i0K45dEF157drbVRPI"}},5196:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});const a={global:"_fUXxnSp5pagKBp9gSN7"}},7378:e=>{var t=1e3,r=60*t,a=60*r,o=24*a,n=7*o,l=365.25*o;function i(e,t,r,a){var o=t>=1.5*r;return Math.round(e/r)+" "+a+(o?"s":"")}e.exports=function(e,s){s=s||{};var c=typeof e;if("string"===c&&e.length>0)return function(e){if((e=String(e)).length>100)return;var i=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!i)return;var s=parseFloat(i[1]);switch((i[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return s*l;case"weeks":case"week":case"w":return s*n;case"days":case"day":case"d":return s*o;case"hours":case"hour":case"hrs":case"hr":case"h":return s*a;case"minutes":case"minute":case"mins":case"min":case"m":return s*r;case"seconds":case"second":case"secs":case"sec":case"s":return s*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return s;default:return}}(e);if("number"===c&&isFinite(e))return s.long?function(e){var n=Math.abs(e);if(n>=o)return i(e,n,o,"day");if(n>=a)return i(e,n,a,"hour");if(n>=r)return i(e,n,r,"minute");if(n>=t)return i(e,n,t,"second");return e+" ms"}(e):function(e){var n=Math.abs(e);if(n>=o)return Math.round(e/o)+"d";if(n>=a)return Math.round(e/a)+"h";if(n>=r)return Math.round(e/r)+"m";if(n>=t)return Math.round(e/t)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},4172:(e,t,r)=>{const a=Symbol("SemVer ANY");class o{static get ANY(){return a}constructor(e,t){if(t=n(t),e instanceof o){if(e.loose===!!t.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),c("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===a?this.value="":this.value=this.operator+this.semver.version,c("comp",this)}parse(e){const t=this.options.loose?l[i.COMPARATORLOOSE]:l[i.COMPARATOR],r=e.match(t);if(!r)throw new TypeError(`Invalid comparator: ${e}`);this.operator=void 0!==r[1]?r[1]:"","="===this.operator&&(this.operator=""),r[2]?this.semver=new u(r[2],this.options.loose):this.semver=a}toString(){return this.value}test(e){if(c("Comparator.test",e,this.options.loose),this.semver===a||e===a)return!0;if("string"==typeof e)try{e=new u(e,this.options)}catch(e){return!1}return s(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof o))throw new TypeError("a Comparator is required");return""===this.operator?""===this.value||new d(e.value,t).test(this.value):""===e.operator?""===e.value||new d(this.value,t).test(e.semver):(!(t=n(t)).includePrerelease||"<0.0.0-0"!==this.value&&"<0.0.0-0"!==e.value)&&(!(!t.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0")))&&(!(!this.operator.startsWith(">")||!e.operator.startsWith(">"))||(!(!this.operator.startsWith("<")||!e.operator.startsWith("<"))||(!(this.semver.version!==e.semver.version||!this.operator.includes("=")||!e.operator.includes("="))||(!!(s(this.semver,"<",e.semver,t)&&this.operator.startsWith(">")&&e.operator.startsWith("<"))||!!(s(this.semver,">",e.semver,t)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))))))}}e.exports=o;const n=r(879),{safeRe:l,t:i}=r(4746),s=r(9019),c=r(4860),u=r(3296),d=r(2787)},2787:(e,t,r)=>{const a=/\s+/g;class o{constructor(e,t){if(t=l(t),e instanceof o)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new o(e.raw,t);if(e instanceof i)return this.raw=e.value,this.set=[[e]],this.formatted=void 0,this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e.trim().replace(a," "),this.set=this.raw.split("||").map((e=>this.parseRange(e.trim()))).filter((e=>e.length)),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){const e=this.set[0];if(this.set=this.set.filter((e=>!k(e[0]))),0===this.set.length)this.set=[e];else if(this.set.length>1)for(const e of this.set)if(1===e.length&&g(e[0])){this.set=[e];break}}this.formatted=void 0}get range(){if(void 0===this.formatted){this.formatted="";for(let e=0;e0&&(this.formatted+="||");const t=this.set[e];for(let e=0;e0&&(this.formatted+=" "),this.formatted+=t[e].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(e){const t=((this.options.includePrerelease&&h)|(this.options.loose&&b))+":"+e,r=n.get(t);if(r)return r;const a=this.options.loose,o=a?u[d.HYPHENRANGELOOSE]:u[d.HYPHENRANGE];e=e.replace(o,B(this.options.includePrerelease)),s("hyphen replace",e),e=e.replace(u[d.COMPARATORTRIM],p),s("comparator trim",e),e=e.replace(u[d.TILDETRIM],m),s("tilde trim",e),e=e.replace(u[d.CARETTRIM],f),s("caret trim",e);let l=e.split(" ").map((e=>C(e,this.options))).join(" ").split(/\s+/).map((e=>S(e,this.options)));a&&(l=l.filter((e=>(s("loose invalid filter",e,this.options),!!e.match(u[d.COMPARATORLOOSE]))))),s("range list",l);const c=new Map,g=l.map((e=>new i(e,this.options)));for(const e of g){if(k(e))return[e];c.set(e.value,e)}c.size>1&&c.has("")&&c.delete("");const E=[...c.values()];return n.set(t,E),E}intersects(e,t){if(!(e instanceof o))throw new TypeError("a Range is required");return this.set.some((r=>E(r,t)&&e.set.some((e=>E(e,t)&&r.every((r=>e.every((e=>r.intersects(e,t)))))))))}test(e){if(!e)return!1;if("string"==typeof e)try{e=new c(e,this.options)}catch(e){return!1}for(let t=0;t"<0.0.0-0"===e.value,g=e=>""===e.value,E=(e,t)=>{let r=!0;const a=e.slice();let o=a.pop();for(;r&&a.length;)r=a.every((e=>o.intersects(e,t))),o=a.pop();return r},C=(e,t)=>(s("comp",e,t),e=y(e,t),s("caret",e),e=v(e,t),s("tildes",e),e=w(e,t),s("xrange",e),e=_(e,t),s("stars",e),e),R=e=>!e||"x"===e.toLowerCase()||"*"===e,v=(e,t)=>e.trim().split(/\s+/).map((e=>j(e,t))).join(" "),j=(e,t)=>{const r=t.loose?u[d.TILDELOOSE]:u[d.TILDE];return e.replace(r,((t,r,a,o,n)=>{let l;return s("tilde",e,t,r,a,o,n),R(r)?l="":R(a)?l=`>=${r}.0.0 <${+r+1}.0.0-0`:R(o)?l=`>=${r}.${a}.0 <${r}.${+a+1}.0-0`:n?(s("replaceTilde pr",n),l=`>=${r}.${a}.${o}-${n} <${r}.${+a+1}.0-0`):l=`>=${r}.${a}.${o} <${r}.${+a+1}.0-0`,s("tilde return",l),l}))},y=(e,t)=>e.trim().split(/\s+/).map((e=>A(e,t))).join(" "),A=(e,t)=>{s("caret",e,t);const r=t.loose?u[d.CARETLOOSE]:u[d.CARET],a=t.includePrerelease?"-0":"";return e.replace(r,((t,r,o,n,l)=>{let i;return s("caret",e,t,r,o,n,l),R(r)?i="":R(o)?i=`>=${r}.0.0${a} <${+r+1}.0.0-0`:R(n)?i="0"===r?`>=${r}.${o}.0${a} <${r}.${+o+1}.0-0`:`>=${r}.${o}.0${a} <${+r+1}.0.0-0`:l?(s("replaceCaret pr",l),i="0"===r?"0"===o?`>=${r}.${o}.${n}-${l} <${r}.${o}.${+n+1}-0`:`>=${r}.${o}.${n}-${l} <${r}.${+o+1}.0-0`:`>=${r}.${o}.${n}-${l} <${+r+1}.0.0-0`):(s("no pr"),i="0"===r?"0"===o?`>=${r}.${o}.${n}${a} <${r}.${o}.${+n+1}-0`:`>=${r}.${o}.${n}${a} <${r}.${+o+1}.0-0`:`>=${r}.${o}.${n} <${+r+1}.0.0-0`),s("caret return",i),i}))},w=(e,t)=>(s("replaceXRanges",e,t),e.split(/\s+/).map((e=>x(e,t))).join(" ")),x=(e,t)=>{e=e.trim();const r=t.loose?u[d.XRANGELOOSE]:u[d.XRANGE];return e.replace(r,((r,a,o,n,l,i)=>{s("xRange",e,r,a,o,n,l,i);const c=R(o),u=c||R(n),d=u||R(l),p=d;return"="===a&&p&&(a=""),i=t.includePrerelease?"-0":"",c?r=">"===a||"<"===a?"<0.0.0-0":"*":a&&p?(u&&(n=0),l=0,">"===a?(a=">=",u?(o=+o+1,n=0,l=0):(n=+n+1,l=0)):"<="===a&&(a="<",u?o=+o+1:n=+n+1),"<"===a&&(i="-0"),r=`${a+o}.${n}.${l}${i}`):u?r=`>=${o}.0.0${i} <${+o+1}.0.0-0`:d&&(r=`>=${o}.${n}.0${i} <${o}.${+n+1}.0-0`),s("xRange return",r),r}))},_=(e,t)=>(s("replaceStars",e,t),e.trim().replace(u[d.STAR],"")),S=(e,t)=>(s("replaceGTE0",e,t),e.trim().replace(u[t.includePrerelease?d.GTE0PRE:d.GTE0],"")),B=e=>(t,r,a,o,n,l,i,s,c,u,d,p)=>`${r=R(a)?"":R(o)?`>=${a}.0.0${e?"-0":""}`:R(n)?`>=${a}.${o}.0${e?"-0":""}`:l?`>=${r}`:`>=${r}${e?"-0":""}`} ${s=R(c)?"":R(u)?`<${+c+1}.0.0-0`:R(d)?`<${c}.${+u+1}.0-0`:p?`<=${c}.${u}.${d}-${p}`:e?`<${c}.${u}.${+d+1}-0`:`<=${s}`}`.trim(),I=(e,t,r)=>{for(let r=0;r0){const a=e[r].semver;if(a.major===t.major&&a.minor===t.minor&&a.patch===t.patch)return!0}return!1}return!0}},3296:(e,t,r)=>{const a=r(4860),{MAX_LENGTH:o,MAX_SAFE_INTEGER:n}=r(246),{safeRe:l,t:i}=r(4746),s=r(879),{compareIdentifiers:c}=r(487);class u{constructor(e,t){if(t=s(t),e instanceof u){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`);if(e.length>o)throw new TypeError(`version is longer than ${o} characters`);a("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const r=e.trim().match(t.loose?l[i.LOOSE]:l[i.FULL]);if(!r)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>n||this.major<0)throw new TypeError("Invalid major version");if(this.minor>n||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>n||this.patch<0)throw new TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map((e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t=0;)"number"==typeof this.prerelease[a]&&(this.prerelease[a]++,a=-2);if(-1===a){if(t===this.prerelease.join(".")&&!1===r)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(e)}}if(t){let a=[t,e];!1===r&&(a=[t]),0===c(this.prerelease[0],t)?isNaN(this.prerelease[1])&&(this.prerelease=a):this.prerelease=a}break}default:throw new Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}}e.exports=u},2322:(e,t,r)=>{const a=r(5788);e.exports=(e,t)=>{const r=a(e.trim().replace(/^[=v]+/,""),t);return r?r.version:null}},9019:(e,t,r)=>{const a=r(9250),o=r(6723),n=r(9272),l=r(6453),i=r(3356),s=r(9116);e.exports=(e,t,r,c)=>{switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof r&&(r=r.version),e===r;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof r&&(r=r.version),e!==r;case"":case"=":case"==":return a(e,r,c);case"!=":return o(e,r,c);case">":return n(e,r,c);case">=":return l(e,r,c);case"<":return i(e,r,c);case"<=":return s(e,r,c);default:throw new TypeError(`Invalid operator: ${t}`)}}},1854:(e,t,r)=>{const a=r(3296),o=r(5788),{safeRe:n,t:l}=r(4746);e.exports=(e,t)=>{if(e instanceof a)return e;if("number"==typeof e&&(e=String(e)),"string"!=typeof e)return null;let r=null;if((t=t||{}).rtl){const a=t.includePrerelease?n[l.COERCERTLFULL]:n[l.COERCERTL];let o;for(;(o=a.exec(e))&&(!r||r.index+r[0].length!==e.length);)r&&o.index+o[0].length===r.index+r[0].length||(r=o),a.lastIndex=o.index+o[1].length+o[2].length;a.lastIndex=-1}else r=e.match(t.includePrerelease?n[l.COERCEFULL]:n[l.COERCE]);if(null===r)return null;const i=r[2],s=r[3]||"0",c=r[4]||"0",u=t.includePrerelease&&r[5]?`-${r[5]}`:"",d=t.includePrerelease&&r[6]?`+${r[6]}`:"";return o(`${i}.${s}.${c}${u}${d}`,t)}},8201:(e,t,r)=>{const a=r(3296);e.exports=(e,t,r)=>{const o=new a(e,r),n=new a(t,r);return o.compare(n)||o.compareBuild(n)}},2471:(e,t,r)=>{const a=r(4940);e.exports=(e,t)=>a(e,t,!0)},4940:(e,t,r)=>{const a=r(3296);e.exports=(e,t,r)=>new a(e,r).compare(new a(t,r))},844:(e,t,r)=>{const a=r(5788);e.exports=(e,t)=>{const r=a(e,null,!0),o=a(t,null,!0),n=r.compare(o);if(0===n)return null;const l=n>0,i=l?r:o,s=l?o:r,c=!!i.prerelease.length;if(!!s.prerelease.length&&!c)return s.patch||s.minor?i.patch?"patch":i.minor?"minor":"major":"major";const u=c?"pre":"";return r.major!==o.major?u+"major":r.minor!==o.minor?u+"minor":r.patch!==o.patch?u+"patch":"prerelease"}},9250:(e,t,r)=>{const a=r(4940);e.exports=(e,t,r)=>0===a(e,t,r)},9272:(e,t,r)=>{const a=r(4940);e.exports=(e,t,r)=>a(e,t,r)>0},6453:(e,t,r)=>{const a=r(4940);e.exports=(e,t,r)=>a(e,t,r)>=0},6619:(e,t,r)=>{const a=r(3296);e.exports=(e,t,r,o,n)=>{"string"==typeof r&&(n=o,o=r,r=void 0);try{return new a(e instanceof a?e.version:e,r).inc(t,o,n).version}catch(e){return null}}},3356:(e,t,r)=>{const a=r(4940);e.exports=(e,t,r)=>a(e,t,r)<0},9116:(e,t,r)=>{const a=r(4940);e.exports=(e,t,r)=>a(e,t,r)<=0},3566:(e,t,r)=>{const a=r(3296);e.exports=(e,t)=>new a(e,t).major},2186:(e,t,r)=>{const a=r(3296);e.exports=(e,t)=>new a(e,t).minor},6723:(e,t,r)=>{const a=r(4940);e.exports=(e,t,r)=>0!==a(e,t,r)},5788:(e,t,r)=>{const a=r(3296);e.exports=(e,t,r=!1)=>{if(e instanceof a)return e;try{return new a(e,t)}catch(e){if(!r)return null;throw e}}},6313:(e,t,r)=>{const a=r(3296);e.exports=(e,t)=>new a(e,t).patch},965:(e,t,r)=>{const a=r(5788);e.exports=(e,t)=>{const r=a(e,t);return r&&r.prerelease.length?r.prerelease:null}},8998:(e,t,r)=>{const a=r(4940);e.exports=(e,t,r)=>a(t,e,r)},1753:(e,t,r)=>{const a=r(8201);e.exports=(e,t)=>e.sort(((e,r)=>a(r,e,t)))},6146:(e,t,r)=>{const a=r(2787);e.exports=(e,t,r)=>{try{t=new a(t,r)}catch(e){return!1}return t.test(e)}},5123:(e,t,r)=>{const a=r(8201);e.exports=(e,t)=>e.sort(((e,r)=>a(e,r,t)))},9141:(e,t,r)=>{const a=r(5788);e.exports=(e,t)=>{const r=a(e,t);return r?r.version:null}},8265:(e,t,r)=>{const a=r(4746),o=r(246),n=r(3296),l=r(487),i=r(5788),s=r(9141),c=r(2322),u=r(6619),d=r(844),p=r(3566),m=r(2186),f=r(6313),h=r(965),b=r(4940),k=r(8998),g=r(2471),E=r(8201),C=r(5123),R=r(1753),v=r(9272),j=r(3356),y=r(9250),A=r(6723),w=r(6453),x=r(9116),_=r(9019),S=r(1854),B=r(4172),I=r(2787),N=r(6146),P=r(8067),M=r(7064),L=r(3410),F=r(8761),T=r(5966),$=r(6207),O=r(7095),V=r(3250),H=r(6160),D=r(8417),z=r(2620);e.exports={parse:i,valid:s,clean:c,inc:u,diff:d,major:p,minor:m,patch:f,prerelease:h,compare:b,rcompare:k,compareLoose:g,compareBuild:E,sort:C,rsort:R,gt:v,lt:j,eq:y,neq:A,gte:w,lte:x,cmp:_,coerce:S,Comparator:B,Range:I,satisfies:N,toComparators:P,maxSatisfying:M,minSatisfying:L,minVersion:F,validRange:T,outside:$,gtr:O,ltr:V,intersects:H,simplifyRange:D,subset:z,SemVer:n,re:a.re,src:a.src,tokens:a.t,SEMVER_SPEC_VERSION:o.SEMVER_SPEC_VERSION,RELEASE_TYPES:o.RELEASE_TYPES,compareIdentifiers:l.compareIdentifiers,rcompareIdentifiers:l.rcompareIdentifiers}},246:e=>{const t=Number.MAX_SAFE_INTEGER||9007199254740991;e.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:t,RELEASE_TYPES:["major","premajor","minor","preminor","patch","prepatch","prerelease"],SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}},4860:e=>{const t="object"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=t},487:e=>{const t=/^[0-9]+$/,r=(e,r)=>{const a=t.test(e),o=t.test(r);return a&&o&&(e=+e,r=+r),e===r?0:a&&!o?-1:o&&!a?1:er(t,e)}},7582:e=>{e.exports=class{constructor(){this.max=1e3,this.map=new Map}get(e){const t=this.map.get(e);return void 0===t?void 0:(this.map.delete(e),this.map.set(e,t),t)}delete(e){return this.map.delete(e)}set(e,t){if(!this.delete(e)&&void 0!==t){if(this.map.size>=this.max){const e=this.map.keys().next().value;this.delete(e)}this.map.set(e,t)}return this}}},879:e=>{const t=Object.freeze({loose:!0}),r=Object.freeze({});e.exports=e=>e?"object"!=typeof e?t:e:r},4746:(e,t,r)=>{const{MAX_SAFE_COMPONENT_LENGTH:a,MAX_SAFE_BUILD_LENGTH:o,MAX_LENGTH:n}=r(246),l=r(4860),i=(t=e.exports={}).re=[],s=t.safeRe=[],c=t.src=[],u=t.t={};let d=0;const p="[a-zA-Z0-9-]",m=[["\\s",1],["\\d",n],[p,o]],f=(e,t,r)=>{const a=(e=>{for(const[t,r]of m)e=e.split(`${t}*`).join(`${t}{0,${r}}`).split(`${t}+`).join(`${t}{1,${r}}`);return e})(t),o=d++;l(e,o,t),u[e]=o,c[o]=t,i[o]=new RegExp(t,r?"g":void 0),s[o]=new RegExp(a,r?"g":void 0)};f("NUMERICIDENTIFIER","0|[1-9]\\d*"),f("NUMERICIDENTIFIERLOOSE","\\d+"),f("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${p}*`),f("MAINVERSION",`(${c[u.NUMERICIDENTIFIER]})\\.(${c[u.NUMERICIDENTIFIER]})\\.(${c[u.NUMERICIDENTIFIER]})`),f("MAINVERSIONLOOSE",`(${c[u.NUMERICIDENTIFIERLOOSE]})\\.(${c[u.NUMERICIDENTIFIERLOOSE]})\\.(${c[u.NUMERICIDENTIFIERLOOSE]})`),f("PRERELEASEIDENTIFIER",`(?:${c[u.NUMERICIDENTIFIER]}|${c[u.NONNUMERICIDENTIFIER]})`),f("PRERELEASEIDENTIFIERLOOSE",`(?:${c[u.NUMERICIDENTIFIERLOOSE]}|${c[u.NONNUMERICIDENTIFIER]})`),f("PRERELEASE",`(?:-(${c[u.PRERELEASEIDENTIFIER]}(?:\\.${c[u.PRERELEASEIDENTIFIER]})*))`),f("PRERELEASELOOSE",`(?:-?(${c[u.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${c[u.PRERELEASEIDENTIFIERLOOSE]})*))`),f("BUILDIDENTIFIER",`${p}+`),f("BUILD",`(?:\\+(${c[u.BUILDIDENTIFIER]}(?:\\.${c[u.BUILDIDENTIFIER]})*))`),f("FULLPLAIN",`v?${c[u.MAINVERSION]}${c[u.PRERELEASE]}?${c[u.BUILD]}?`),f("FULL",`^${c[u.FULLPLAIN]}$`),f("LOOSEPLAIN",`[v=\\s]*${c[u.MAINVERSIONLOOSE]}${c[u.PRERELEASELOOSE]}?${c[u.BUILD]}?`),f("LOOSE",`^${c[u.LOOSEPLAIN]}$`),f("GTLT","((?:<|>)?=?)"),f("XRANGEIDENTIFIERLOOSE",`${c[u.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),f("XRANGEIDENTIFIER",`${c[u.NUMERICIDENTIFIER]}|x|X|\\*`),f("XRANGEPLAIN",`[v=\\s]*(${c[u.XRANGEIDENTIFIER]})(?:\\.(${c[u.XRANGEIDENTIFIER]})(?:\\.(${c[u.XRANGEIDENTIFIER]})(?:${c[u.PRERELEASE]})?${c[u.BUILD]}?)?)?`),f("XRANGEPLAINLOOSE",`[v=\\s]*(${c[u.XRANGEIDENTIFIERLOOSE]})(?:\\.(${c[u.XRANGEIDENTIFIERLOOSE]})(?:\\.(${c[u.XRANGEIDENTIFIERLOOSE]})(?:${c[u.PRERELEASELOOSE]})?${c[u.BUILD]}?)?)?`),f("XRANGE",`^${c[u.GTLT]}\\s*${c[u.XRANGEPLAIN]}$`),f("XRANGELOOSE",`^${c[u.GTLT]}\\s*${c[u.XRANGEPLAINLOOSE]}$`),f("COERCEPLAIN",`(^|[^\\d])(\\d{1,${a}})(?:\\.(\\d{1,${a}}))?(?:\\.(\\d{1,${a}}))?`),f("COERCE",`${c[u.COERCEPLAIN]}(?:$|[^\\d])`),f("COERCEFULL",c[u.COERCEPLAIN]+`(?:${c[u.PRERELEASE]})?`+`(?:${c[u.BUILD]})?(?:$|[^\\d])`),f("COERCERTL",c[u.COERCE],!0),f("COERCERTLFULL",c[u.COERCEFULL],!0),f("LONETILDE","(?:~>?)"),f("TILDETRIM",`(\\s*)${c[u.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",f("TILDE",`^${c[u.LONETILDE]}${c[u.XRANGEPLAIN]}$`),f("TILDELOOSE",`^${c[u.LONETILDE]}${c[u.XRANGEPLAINLOOSE]}$`),f("LONECARET","(?:\\^)"),f("CARETTRIM",`(\\s*)${c[u.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",f("CARET",`^${c[u.LONECARET]}${c[u.XRANGEPLAIN]}$`),f("CARETLOOSE",`^${c[u.LONECARET]}${c[u.XRANGEPLAINLOOSE]}$`),f("COMPARATORLOOSE",`^${c[u.GTLT]}\\s*(${c[u.LOOSEPLAIN]})$|^$`),f("COMPARATOR",`^${c[u.GTLT]}\\s*(${c[u.FULLPLAIN]})$|^$`),f("COMPARATORTRIM",`(\\s*)${c[u.GTLT]}\\s*(${c[u.LOOSEPLAIN]}|${c[u.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",f("HYPHENRANGE",`^\\s*(${c[u.XRANGEPLAIN]})\\s+-\\s+(${c[u.XRANGEPLAIN]})\\s*$`),f("HYPHENRANGELOOSE",`^\\s*(${c[u.XRANGEPLAINLOOSE]})\\s+-\\s+(${c[u.XRANGEPLAINLOOSE]})\\s*$`),f("STAR","(<|>)?=?\\s*\\*"),f("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),f("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")},7095:(e,t,r)=>{const a=r(6207);e.exports=(e,t,r)=>a(e,t,">",r)},6160:(e,t,r)=>{const a=r(2787);e.exports=(e,t,r)=>(e=new a(e,r),t=new a(t,r),e.intersects(t,r))},3250:(e,t,r)=>{const a=r(6207);e.exports=(e,t,r)=>a(e,t,"<",r)},7064:(e,t,r)=>{const a=r(3296),o=r(2787);e.exports=(e,t,r)=>{let n=null,l=null,i=null;try{i=new o(t,r)}catch(e){return null}return e.forEach((e=>{i.test(e)&&(n&&-1!==l.compare(e)||(n=e,l=new a(n,r)))})),n}},3410:(e,t,r)=>{const a=r(3296),o=r(2787);e.exports=(e,t,r)=>{let n=null,l=null,i=null;try{i=new o(t,r)}catch(e){return null}return e.forEach((e=>{i.test(e)&&(n&&1!==l.compare(e)||(n=e,l=new a(n,r)))})),n}},8761:(e,t,r)=>{const a=r(3296),o=r(2787),n=r(9272);e.exports=(e,t)=>{e=new o(e,t);let r=new a("0.0.0");if(e.test(r))return r;if(r=new a("0.0.0-0"),e.test(r))return r;r=null;for(let t=0;t{const t=new a(e.semver.version);switch(e.operator){case">":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":l&&!n(t,l)||(l=t);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${e.operator}`)}})),!l||r&&!n(r,l)||(r=l)}return r&&e.test(r)?r:null}},6207:(e,t,r)=>{const a=r(3296),o=r(4172),{ANY:n}=o,l=r(2787),i=r(6146),s=r(9272),c=r(3356),u=r(9116),d=r(6453);e.exports=(e,t,r,p)=>{let m,f,h,b,k;switch(e=new a(e,p),t=new l(t,p),r){case">":m=s,f=u,h=c,b=">",k=">=";break;case"<":m=c,f=d,h=s,b="<",k="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(i(e,t,p))return!1;for(let r=0;r{e.semver===n&&(e=new o(">=0.0.0")),l=l||e,i=i||e,m(e.semver,l.semver,p)?l=e:h(e.semver,i.semver,p)&&(i=e)})),l.operator===b||l.operator===k)return!1;if((!i.operator||i.operator===b)&&f(e,i.semver))return!1;if(i.operator===k&&h(e,i.semver))return!1}return!0}},8417:(e,t,r)=>{const a=r(6146),o=r(4940);e.exports=(e,t,r)=>{const n=[];let l=null,i=null;const s=e.sort(((e,t)=>o(e,t,r)));for(const e of s){a(e,t,r)?(i=e,l||(l=e)):(i&&n.push([l,i]),i=null,l=null)}l&&n.push([l,null]);const c=[];for(const[e,t]of n)e===t?c.push(e):t||e!==s[0]?t?e===s[0]?c.push(`<=${t}`):c.push(`${e} - ${t}`):c.push(`>=${e}`):c.push("*");const u=c.join(" || "),d="string"==typeof t.raw?t.raw:String(t);return u.length{const a=r(2787),o=r(4172),{ANY:n}=o,l=r(6146),i=r(4940),s=[new o(">=0.0.0-0")],c=[new o(">=0.0.0")],u=(e,t,r)=>{if(e===t)return!0;if(1===e.length&&e[0].semver===n){if(1===t.length&&t[0].semver===n)return!0;e=r.includePrerelease?s:c}if(1===t.length&&t[0].semver===n){if(r.includePrerelease)return!0;t=c}const a=new Set;let o,u,m,f,h,b,k;for(const t of e)">"===t.operator||">="===t.operator?o=d(o,t,r):"<"===t.operator||"<="===t.operator?u=p(u,t,r):a.add(t.semver);if(a.size>1)return null;if(o&&u){if(m=i(o.semver,u.semver,r),m>0)return null;if(0===m&&(">="!==o.operator||"<="!==u.operator))return null}for(const e of a){if(o&&!l(e,String(o),r))return null;if(u&&!l(e,String(u),r))return null;for(const a of t)if(!l(e,String(a),r))return!1;return!0}let g=!(!u||r.includePrerelease||!u.semver.prerelease.length)&&u.semver,E=!(!o||r.includePrerelease||!o.semver.prerelease.length)&&o.semver;g&&1===g.prerelease.length&&"<"===u.operator&&0===g.prerelease[0]&&(g=!1);for(const e of t){if(k=k||">"===e.operator||">="===e.operator,b=b||"<"===e.operator||"<="===e.operator,o)if(E&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===E.major&&e.semver.minor===E.minor&&e.semver.patch===E.patch&&(E=!1),">"===e.operator||">="===e.operator){if(f=d(o,e,r),f===e&&f!==o)return!1}else if(">="===o.operator&&!l(o.semver,String(e),r))return!1;if(u)if(g&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===g.major&&e.semver.minor===g.minor&&e.semver.patch===g.patch&&(g=!1),"<"===e.operator||"<="===e.operator){if(h=p(u,e,r),h===e&&h!==u)return!1}else if("<="===u.operator&&!l(u.semver,String(e),r))return!1;if(!e.operator&&(u||o)&&0!==m)return!1}return!(o&&b&&!u&&0!==m)&&(!(u&&k&&!o&&0!==m)&&(!E&&!g))},d=(e,t,r)=>{if(!e)return t;const a=i(e.semver,t.semver,r);return a>0?e:a<0||">"===t.operator&&">="===e.operator?t:e},p=(e,t,r)=>{if(!e)return t;const a=i(e.semver,t.semver,r);return a<0?e:a>0||"<"===t.operator&&"<="===e.operator?t:e};e.exports=(e,t,r={})=>{if(e===t)return!0;e=new a(e,r),t=new a(t,r);let o=!1;e:for(const a of e.set){for(const e of t.set){const t=u(a,e,r);if(o=o||null!==t,t)continue e}if(o)return!1}return!0}},8067:(e,t,r)=>{const a=r(2787);e.exports=(e,t)=>new a(e,t).set.map((e=>e.map((e=>e.value)).join(" ").trim().split(" ")))},5966:(e,t,r)=>{const a=r(2787);e.exports=(e,t)=>{try{return new a(e,t).range||"*"}catch(e){return null}}},372:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var a=r(67);const o=r.n(a)()("dops:analytics");let n,l;window._tkq=window._tkq||[],window.ga=window.ga||function(){(window.ga.q=window.ga.q||[]).push(arguments)},window.ga.l=+new Date;const i={initialize:function(e,t,r){i.setUser(e,t),i.setSuperProps(r),i.identifyUser()},setGoogleAnalyticsEnabled:function(e,t=null){this.googleAnalyticsEnabled=e,this.googleAnalyticsKey=t},setMcAnalyticsEnabled:function(e){this.mcAnalyticsEnabled=e},setUser:function(e,t){l={ID:e,username:t}},setSuperProps:function(e){n=e},assignSuperProps:function(e){n=Object.assign(n||{},e)},mc:{bumpStat:function(e,t){const r=function(e,t){let r="";if("object"==typeof e){for(const t in e)r+="&x_"+encodeURIComponent(t)+"="+encodeURIComponent(e[t]);o("Bumping stats %o",e)}else r="&x_"+encodeURIComponent(e)+"="+encodeURIComponent(t),o('Bumping stat "%s" in group "%s"',t,e);return r}(e,t);i.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom-no-pv"+r+"&t="+Math.random())},bumpStatWithPageView:function(e,t){const r=function(e,t){let r="";if("object"==typeof e){for(const t in e)r+="&"+encodeURIComponent(t)+"="+encodeURIComponent(e[t]);o("Built stats %o",e)}else r="&"+encodeURIComponent(e)+"="+encodeURIComponent(t),o('Built stat "%s" in group "%s"',t,e);return r}(e,t);i.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom"+r+"&t="+Math.random())}},pageView:{record:function(e,t){i.tracks.recordPageView(e),i.ga.recordPageView(e,t)}},purchase:{record:function(e,t,r,a,o,n,l){i.ga.recordPurchase(e,t,r,a,o,n,l)}},tracks:{recordEvent:function(e,t){t=t||{},0===e.indexOf("akismet_")||0===e.indexOf("jetpack_")?(n&&(o("- Super Props: %o",n),t=Object.assign(t,n)),o('Record event "%s" called with props %s',e,JSON.stringify(t)),window._tkq.push(["recordEvent",e,t])):o('- Event name must be prefixed by "akismet_" or "jetpack_"')},recordJetpackClick:function(e){const t="object"==typeof e?e:{target:e};i.tracks.recordEvent("jetpack_wpa_click",t)},recordPageView:function(e){i.tracks.recordEvent("akismet_page_view",{path:e})},setOptOut:function(e){o("Pushing setOptOut: %o",e),window._tkq.push(["setOptOut",e])}},ga:{initialized:!1,initialize:function(){let e={};i.ga.initialized||(l&&(e={userId:"u-"+l.ID}),window.ga("create",this.googleAnalyticsKey,"auto",e),i.ga.initialized=!0)},recordPageView:function(e,t){i.ga.initialize(),o("Recording Page View ~ [URL: "+e+"] [Title: "+t+"]"),this.googleAnalyticsEnabled&&(window.ga("set","page",e),window.ga("send",{hitType:"pageview",page:e,title:t}))},recordEvent:function(e,t,r,a){i.ga.initialize();let n="Recording Event ~ [Category: "+e+"] [Action: "+t+"]";void 0!==r&&(n+=" [Option Label: "+r+"]"),void 0!==a&&(n+=" [Option Value: "+a+"]"),o(n),this.googleAnalyticsEnabled&&window.ga("send","event",e,t,r,a)},recordPurchase:function(e,t,r,a,o,n,l){window.ga("require","ecommerce"),window.ga("ecommerce:addTransaction",{id:e,revenue:a,currency:l}),window.ga("ecommerce:addItem",{id:e,name:t,sku:r,price:o,quantity:n}),window.ga("ecommerce:send")}},identifyUser:function(){l&&window._tkq.push(["identifyUser",l.ID,l.username])},setProperties:function(e){window._tkq.push(["setProperties",e])},clearedIdentity:function(){window._tkq.push(["clearIdentity"])}},s=i},1876:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var a=r(3022),o=r(1609),n=r.n(o),l=r(7876);const i=({children:e=null,width:t=null,height:r=null,className:o=""})=>n().createElement("div",{className:(0,a.A)(l.A.placeholder,o),style:{width:t,height:r}},e)},723:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>p});var a=r(1609),o=r.n(a),n=r(5196);const l={"--font-headline-medium":"48px","--font-headline-small":"36px","--font-title-medium":"24px","--font-title-small":"20px","--font-body":"16px","--font-body-small":"14px","--font-body-extra-small":"12px","--font-title-large":"var(--font-headline-small)","--font-label":"var(--font-body-extra-small)"},i={"--jp-black":"#000000","--jp-black-80":"#2c3338","--jp-white":"#ffffff","--jp-white-off":"#f9f9f6","--jp-gray":"#dcdcde","--jp-gray-0":"#F6F7F7","--jp-gray-5":"var(--jp-gray)","--jp-gray-10":"#C3C4C7","--jp-gray-20":"#A7AAAD","--jp-gray-40":"#787C82","--jp-gray-50":"#646970","--jp-gray-60":"#50575E","--jp-gray-70":"#3C434A","--jp-gray-80":"#2C3338","--jp-gray-90":"#1d2327","--jp-gray-off":"#e2e2df","--jp-red-0":"#F7EBEC","--jp-red-5":"#FACFD2","--jp-red-40":"#E65054","--jp-red-50":"#D63638","--jp-red-60":"#B32D2E","--jp-red-70":"#8A2424","--jp-red-80":"#691C1C","--jp-red":"#d63639","--jp-yellow-5":"#F5E6B3","--jp-yellow-10":"#F2CF75","--jp-yellow-20":"#F0C930","--jp-yellow-30":"#DEB100","--jp-yellow-40":"#C08C00","--jp-yellow-50":"#9D6E00","--jp-yellow-60":"#7D5600","--jp-blue-20":"#68B3E8","--jp-blue-40":"#1689DB","--jp-pink":"#C9356E","--jp-green-0":"#f0f2eb","--jp-green-5":"#d0e6b8","--jp-green-10":"#9dd977","--jp-green-20":"#64ca43","--jp-green-30":"#2fb41f","--jp-green-40":"#069e08","--jp-green-50":"#008710","--jp-green-60":"#007117","--jp-green-70":"#005b18","--jp-green-80":"#004515","--jp-green-90":"#003010","--jp-green-100":"#001c09","--jp-green":"#069e08","--jp-green-primary":"var( --jp-green-40 )","--jp-green-secondary":"var( --jp-green-30 )"},s={"--jp-border-radius":"4px","--jp-menu-border-height":"1px","--jp-underline-thickness":"2px"},c={"--spacing-base":"8px"},u={},d=(e,t,r)=>{const a={...l,...i,...s,...c};for(const t in a)e.style.setProperty(t,a[t]);r&&e.classList.add(n.A.global),t&&(u[t]={provided:!0,root:e})},p=({children:e=null,targetDom:t,id:r,withGlobalStyles:n=!0})=>{const l=(0,a.useRef)(),i=u?.[r]?.provided;return(0,a.useLayoutEffect)((()=>{if(!i)return t?d(t,r,n):void(l?.current&&d(l.current,r,n))}),[t,l,i,r,n]),t?o().createElement(o().Fragment,null,e):o().createElement("div",{ref:l},e)}},5985:(e,t,r)=>{"use strict";r.d(t,{$i:()=>a.A,FB:()=>n.A,Sy:()=>o.Sy,aq:()=>l.aq,d9:()=>o.d9,q7:()=>i.A});var a=r(4972),o=r(2634),n=r(703),l=(r(2034),r(3265)),i=(r(3489),r(6923));r(5877),r(335),r(8290)},5877:(e,t,r)=>{"use strict";r(1609)},335:(e,t,r)=>{"use strict";r(8468)},4972:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});const a="Jetpack_Editor_Initial_State";function o(){return"object"==typeof window?window?.[a]??null:null}},703:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var a=r(4972);function o(e){const t=(0,a.A)(),r=t?.available_blocks?.[e]?.available??!1,o=t?.available_blocks?.[e]?.unavailable_reason??"unknown";return{available:r,...!r&&{details:t?.available_blocks?.[e]?.details??[],unavailableReason:o}}}},3489:(e,t,r)=>{"use strict";var a=r(372);r(9384),r(8468);const{tracks:o}=a.A,{recordEvent:n}=o},6923:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var a=r(7143),o=r(8468),n=r(8290);const l=e=>{const{isModuleActive:t,isChangingStatus:r,isLoadingModules:l}=(0,a.useSelect)((t=>{const r=t(n.F);return{isModuleActive:r.isModuleActive(e),isChangingStatus:r.isModuleUpdating(e),isLoadingModules:r.areModulesLoading(e)}}),[e]),{updateJetpackModuleStatus:i}=(0,a.useDispatch)(n.F),s=(0,o.useCallback)((t=>i({name:e,active:t})),[e,i]);return(0,o.useMemo)((()=>({isLoadingModules:l,isChangingStatus:r,isModuleActive:t,changeStatus:s})),[l,r,t,s])}},7105:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>d,E9:()=>u});var a=r(7143),o=r(2634),n=r(4478),l=r(8290);const i="SET_JETPACK_MODULES";function s(e){return u({isLoading:e})}function c(e,t){return{type:"SET_MODULE_UPDATING",name:e,isUpdating:t}}function u(e){return{type:i,options:e}}const d={updateJetpackModuleStatus:function*(e){try{yield c(e.name,!0),yield(0,n.sB)(e);const t=yield(0,n.wz)();return yield u({data:t}),!0}catch{const e=(0,a.select)(l.F).getJetpackModules();return yield u(e),!1}finally{yield c(e.name,!1)}},setJetpackModules:u,fetchModules:function*(){if((0,o.Sy)())return!0;try{yield s(!0);const e=yield(0,n.wz)();return yield u({data:e}),!0}catch{const e=(0,a.select)(l.F).getJetpackModules();return yield u(e),!1}finally{yield s(!1)}}}},4478:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>c,sB:()=>s,wz:()=>i});var a=r(1455),o=r.n(a);const n="FETCH_JETPACK_MODULES",l="UPDATE_JETPACK_MODULE_STATUS",i=()=>({type:n}),s=e=>({type:l,settings:e}),c={[n]:function(){return o()({path:"/jetpack/v4/module/all",method:"GET"})},[l]:function({settings:e}){return o()({path:`/jetpack/v4/module/${e.name}/active`,method:"POST",data:{active:e.active}})}}},8290:(e,t,r)=>{"use strict";r.d(t,{F:()=>c});var a=r(7143),o=r(7105),n=r(4478),l=r(8862),i=r(2701),s=r(1640);const c="jetpack-modules",u=(0,a.createReduxStore)(c,{reducer:l.A,actions:o.Ay,controls:n.Ay,resolvers:i.A,selectors:s.A});(0,a.register)(u);const d=window?.Initial_State?.getModules||window?.Jetpack_Editor_Initial_State?.modules||null;null!==d&&(0,a.dispatch)(c).setJetpackModules({data:{...d}})},8862:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});const a={isLoading:!1,isUpdating:{},data:{}},o=(e=a,t)=>{switch(t.type){case"SET_JETPACK_MODULES":return{...e,...t.options};case"SET_MODULE_UPDATING":return{...e,isUpdating:{...e.isUpdating,[t.name]:t.isUpdating}}}return e}},2701:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});var a=r(7105),o=r(4478);const n={getJetpackModules:function*(){try{const e=yield(0,o.wz)();if(e)return(0,a.E9)({data:e})}catch(e){console.error(e)}}}},1640:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var a=r(2634);const o={getJetpackModules:e=>e.data,isModuleActive:(e,t)=>(0,a.Sy)()||(e?.data?.[t]?.activated??!1),areModulesLoading:e=>e.isLoading??!1,isModuleUpdating:(e,t)=>e?.isUpdating?.[t]??!1}},3265:(e,t,r)=>{"use strict";r.d(t,{aq:()=>o});var a=r(7723);r(3832),r(6087);const __=a.__;function o(e,t){return"missing_plan"===e&&t.required_plan}__("Upgrade your plan to use video covers","jetpack-forms"),__("Upgrade your plan to upload audio","jetpack-forms")},2034:(e,t,r)=>{"use strict";r(2279)},2634:(e,t,r)=>{"use strict";function a(){return"object"==typeof window&&"string"==typeof window._currentSiteType?window._currentSiteType:null}function o(){return"simple"===a()}function n(){return"atomic"===a()}r.d(t,{Sy:()=>o,d9:()=>n})},8575:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var a=r(7723);const __=a.__,o={subject:{type:"string",default:window.jpFormsBlocks?.defaults?.subject||""},to:{type:"string",default:window.jpFormsBlocks?.defaults?.to||""},customThankyou:{type:"string",default:""},customThankyouHeading:{type:"string",default:__("Your message has been sent","jetpack-forms")},customThankyouMessage:{type:"string",default:""},customThankyouRedirect:{type:"string",default:""},jetpackCRM:{type:"boolean",default:!0},formTitle:{type:"string",default:""},salesforceData:{type:"object",default:{organizationId:"",sendToSalesforce:!1}}}},1013:(e,t,r)=>{"use strict";r.d(t,{P:()=>_});var a=r(4997),o=r(6427),n=r(7723),l=r(2663),i=r(4066),s=r(2065),c=r(6087),u=r(1978),d=r(9958),p=r(4697),m=r(565),f=r(4506),h=r(3052),b=r(358),k=r(5700),g=r(5214),E=r(7817),C=r(9787),R=r(1663),v=r(6691),j=r(9771),y=r(1097);const __=n.__,_x=n._x,A={apiVersion:3,category:"contact-form",supports:{reusable:!1,html:!1},attributes:{label:{type:"string",default:null},required:{type:"boolean",default:!1},requiredText:{type:"string"},options:{type:"array",default:[]},defaultValue:{type:"string",default:""},placeholder:{type:"string",default:""},id:{type:"string",default:""},width:{type:"number",default:100},borderRadius:{type:"number",default:""},borderWidth:{type:"number",default:""},labelFontSize:{type:"string"},fieldFontSize:{type:"string"},lineHeight:{type:"number"},labelLineHeight:{type:"number"},inputColor:{type:"string"},labelColor:{type:"string"},fieldBackgroundColor:{type:"string"},buttonBackgroundColor:{type:"string"},buttonBorderRadius:{type:"number",default:""},buttonBorderWidth:{type:"number",default:""},borderColor:{type:"string"},shareFieldAttributes:{type:"boolean",default:!0}},transforms:{to:[{type:"block",blocks:["jetpack/field-text"],transform:e=>(0,a.createBlock)("jetpack/field-text",e)},{type:"block",blocks:["jetpack/field-name"],transform:e=>(0,a.createBlock)("jetpack/field-name",e)},{type:"block",blocks:["jetpack/field-email"],transform:e=>(0,a.createBlock)("jetpack/field-email",e)},{type:"block",blocks:["jetpack/field-url"],transform:e=>(0,a.createBlock)("jetpack/field-url",e)},{type:"block",blocks:["jetpack/field-date"],transform:e=>(0,a.createBlock)("jetpack/field-date",e)},{type:"block",blocks:["jetpack/field-telephone"],transform:e=>(0,a.createBlock)("jetpack/field-telephone",e)},{type:"block",blocks:["jetpack/field-textarea"],transform:e=>(0,a.createBlock)("jetpack/field-textarea",e)},{type:"block",blocks:["jetpack/field-checkbox-multiple"],transform:(e,t)=>{let r=[];if((0,c.isEmpty)(t))e.options?.length&&(r=(0,c.map)(e.options,(e=>(0,a.createBlock)("jetpack/field-option-checkbox",{label:e,fieldType:"checkbox"}))));else{const e=(0,c.filter)(t,(({name:e})=>(0,c.startsWith)(e,"jetpack/field-option")));r=(0,c.map)(e,(e=>(0,a.createBlock)("jetpack/field-option-checkbox",{label:e.attributes.label,fieldType:"checkbox"})))}return(0,a.createBlock)("jetpack/field-checkbox-multiple",e,r)}},{type:"block",blocks:["jetpack/field-radio"],transform:(e,t)=>{let r=[];if((0,c.isEmpty)(t))e.options?.length&&(r=(0,c.map)(e.options,(e=>(0,a.createBlock)("jetpack/field-option-radio",{label:e,fieldType:"radio"}))));else{const e=(0,c.filter)(t,(({name:e})=>(0,c.startsWith)(e,"jetpack/field-option")));r=(0,c.map)(e,(e=>(0,a.createBlock)("jetpack/field-option-radio",{label:e.attributes.label,fieldType:"radio"})))}return(0,a.createBlock)("jetpack/field-radio",e,r)}},{type:"block",blocks:["jetpack/field-select"],transform:(e,t)=>{if(!(0,c.isEmpty)(t)){const r=(0,c.filter)(t,(({name:e})=>(0,c.startsWith)(e,"jetpack/field-option")));e.options=(0,c.map)(r,(e=>e.attributes.label))}return e.options=e.options?.length?e.options:[""],(0,a.createBlock)("jetpack/field-select",e)}},{type:"block",blocks:["jetpack/field-consent"],transform:e=>(0,a.createBlock)("jetpack/field-consent",e)},{type:"block",blocks:["jetpack/field-checkbox"],transform:e=>(0,a.createBlock)("jetpack/field-checkbox",e)}]},save:()=>null,example:{}},w=e=>({attributes:{...A.attributes,label:{type:"string",default:"checkbox"===e?"Choose several options":"Choose one option"}},migrate:t=>{const r=`jetpack/field-option-${e}`,o=(0,c.filter)(t.options,(e=>!(0,c.isEmpty)((0,c.trim)(e)))),n=(0,c.map)(o,(e=>(0,a.createBlock)(r,{label:e})));return t.options=[],[t,n]},isEligible:e=>e.options&&(0,c.filter)(e.options,(e=>!(0,c.isEmpty)((0,c.trim)(e)))).length,save:()=>null}),x=e=>t=>((0,R.DR)(t),React.createElement(u.A,{clientId:t.clientId,type:e,label:(0,v.A)(t.attributes,t.name),required:t.attributes.required,requiredText:t.attributes.requiredText,setAttributes:t.setAttributes,isSelected:t.isSelected,defaultValue:t.attributes.defaultValue,placeholder:t.attributes.placeholder,id:t.attributes.id,width:t.attributes.width,attributes:t.attributes})),_=[{name:"field-text",settings:{...A,title:__("Text Input Field","jetpack-forms"),description:__("Collect short text responses from site visitors.","jetpack-forms"),icon:(0,y.A)(React.createElement(o.Path,{fill:(0,C.V)(),d:"M12 7H4V8.5H12V7ZM19.75 17.25V10.75H4.25V17.25H19.75ZM5.75 15.75V12.25H18.25V15.75H5.75Z"})),edit:x("text"),attributes:{...A.attributes,label:{type:"string",default:"Text"}}}},{name:"field-name",settings:{...A,title:__("Name Field","jetpack-forms"),description:__("Collect the site visitor’s name.","jetpack-forms"),icon:(0,y.A)(React.createElement(o.Path,{fill:(0,C.V)(),d:"M8.25 11.5C9.63071 11.5 10.75 10.3807 10.75 9C10.75 7.61929 9.63071 6.5 8.25 6.5C6.86929 6.5 5.75 7.61929 5.75 9C5.75 10.3807 6.86929 11.5 8.25 11.5ZM8.25 10C8.80228 10 9.25 9.55228 9.25 9C9.25 8.44772 8.80228 8 8.25 8C7.69772 8 7.25 8.44772 7.25 9C7.25 9.55228 7.69772 10 8.25 10ZM13 15.5V17.5H11.5V15.5C11.5 14.8096 10.9404 14.25 10.25 14.25H6.25C5.55964 14.25 5 14.8096 5 15.5V17.5H3.5V15.5C3.5 13.9812 4.73122 12.75 6.25 12.75H10.25C11.7688 12.75 13 13.9812 13 15.5ZM20.5 11H14.5V9.5H20.5V11ZM20.5 14.5H14.5V13H20.5V14.5Z"})),edit:x("text"),attributes:{...A.attributes,label:{type:"string",default:"Name"}}}},{name:"field-email",settings:{...A,title:__("Email Field","jetpack-forms"),keywords:[__("e-mail","jetpack-forms"),__("mail","jetpack-forms"),"email"],description:__("Collect email addresses from your visitors.","jetpack-forms"),icon:React.createElement(o.Icon,{icon:l.A,style:{fill:(0,C.V)()}}),edit:x("email"),attributes:{...A.attributes,label:{type:"string",default:"Email"}}}},{name:"field-url",settings:{...A,title:__("Website Field","jetpack-forms"),keywords:[__("url","jetpack-forms"),__("internet page","jetpack-forms"),__("link","jetpack-forms"),__("website","jetpack-forms")],description:__("Collect a website address from your site visitors.","jetpack-forms"),icon:React.createElement(o.Icon,{icon:i.A,style:{fill:(0,C.V)()}}),edit:x("url"),attributes:{...A.attributes,label:{type:"string",default:__("Website","jetpack-forms")}}}},{name:"field-date",settings:{...A,title:__("Date Picker","jetpack-forms"),keywords:[__("Calendar","jetpack-forms"),_x("day month year","block search term","jetpack-forms")],description:__("Capture date information with a date picker.","jetpack-forms"),icon:(0,y.A)(React.createElement(o.Path,{fill:(0,C.V)(),fillRule:"evenodd",d:"M4.5 7H19.5V19C19.5 19.2761 19.2761 19.5 19 19.5H5C4.72386 19.5 4.5 19.2761 4.5 19V7ZM3 5V7V19C3 20.1046 3.89543 21 5 21H19C20.1046 21 21 20.1046 21 19V7V5C21 3.89543 20.1046 3 19 3H5C3.89543 3 3 3.89543 3 5ZM11 9.25H7V13.25H11V9.25Z"})),edit:m.A,attributes:{...A.attributes,label:{type:"string",default:"Date"},dateFormat:{type:"string",default:"yy-mm-dd"}}}},{name:"field-telephone",settings:{...A,title:__("Phone Number Field","jetpack-forms"),keywords:[__("Phone","jetpack-forms"),__("Cellular phone","jetpack-forms"),__("Mobile","jetpack-forms")],description:__("Collect phone numbers from site visitors.","jetpack-forms"),icon:React.createElement(o.Icon,{icon:s.A,style:{fill:(0,C.V)()}}),edit:x("tel"),attributes:{...A.attributes,label:{type:"string",default:"Phone"}}}},{name:"field-textarea",settings:{...A,title:__("Multi-line Text Field","jetpack-forms"),keywords:[__("Textarea","jetpack-forms"),"textarea",__("Multiline text","jetpack-forms")],description:__("Capture longform text responses from site visitors.","jetpack-forms"),icon:(0,y.A)(React.createElement(o.Path,{fill:(0,C.V)(),d:"M20 5H4V6.5H20V5ZM5.5 11.5H18.5V18.5H5.5V11.5ZM20 20V10H4V20H20Z"})),edit:e=>((0,R.DR)(e),React.createElement(E.A,{clientId:e.clientId,label:e.attributes.label,required:e.attributes.required,requiredText:e.attributes.requiredText,attributes:e.attributes,setAttributes:e.setAttributes,isSelected:e.isSelected,defaultValue:e.attributes.defaultValue,placeholder:e.attributes.placeholder,id:e.attributes.id,width:e.attributes.width})),attributes:{...A.attributes}}},{name:"field-checkbox",settings:{...A,title:__("Checkbox","jetpack-forms"),keywords:[__("Confirm","jetpack-forms"),__("Accept","jetpack-forms")],description:__("Confirm or select information with a single checkbox.","jetpack-forms"),icon:(0,y.A)(React.createElement(o.Path,{fill:(0,C.V)(),fillRule:"evenodd",d:"M6.125 6H17.875C17.944 6 18 6.05596 18 6.125V17.875C18 17.944 17.944 18 17.875 18H6.125C6.05596 18 6 17.944 6 17.875V6.125C6 6.05596 6.05596 6 6.125 6ZM4.5 6.125C4.5 5.22754 5.22754 4.5 6.125 4.5H17.875C18.7725 4.5 19.5 5.22754 19.5 6.125V17.875C19.5 18.7725 18.7725 19.5 17.875 19.5H6.125C5.22754 19.5 4.5 18.7725 4.5 17.875V6.125ZM10.5171 16.4421L16.5897 8.71335L15.4103 7.78662L10.4828 14.0579L8.57616 11.7698L7.42383 12.7301L10.5171 16.4421Z"})),edit:e=>((0,R.DR)(e),React.createElement(d.A,{clientId:e.clientId,label:e.attributes.label,required:e.attributes.required,requiredText:e.attributes.requiredText,setAttributes:e.setAttributes,isSelected:e.isSelected,defaultValue:e.attributes.defaultValue,id:e.attributes.id,width:e.attributes.width,attributes:e.attributes})),attributes:{...A.attributes,label:{type:"string",default:""}}}},{name:"field-consent",settings:{...A,title:__("Terms Consent","jetpack-forms"),keywords:[__("Consent","jetpack-forms")],description:__("Communicate site terms and offer visitors consent to those terms.","jetpack-forms"),icon:(0,y.A)(React.createElement(React.Fragment,null,React.createElement(o.Path,{fill:(0,C.V)(),d:"M7 5.5H17C17.2761 5.5 17.5 5.72386 17.5 6V13H19V6C19 4.89543 18.1046 4 17 4H7C5.89543 4 5 4.89543 5 6V18C5 19.1046 5.89543 20 7 20H11.5V18.5H7C6.72386 18.5 6.5 18.2761 6.5 18V6C6.5 5.72386 6.72386 5.5 7 5.5ZM16 7.75H8V9.25H16V7.75ZM8 11H13V12.5H8V11Z"}),React.createElement(o.Path,{fill:(0,C.V)(),d:"M20.1087 15.9382L15.9826 21.6689L12.959 18.5194L14.0411 17.4806L15.8175 19.331L18.8914 15.0618L20.1087 15.9382Z"}))),attributes:{...A.attributes,label:{type:"string",default:__("Consent","jetpack-forms")},consentType:{type:"string",default:"implicit"},implicitConsentMessage:{type:"string",default:__("By submitting your information, you're giving us permission to email you. You may unsubscribe at any time.","jetpack-forms")},explicitConsentMessage:{type:"string",default:__("Can we send you an email from time to time?","jetpack-forms")}},edit:({attributes:e,clientId:t,isSelected:r,name:a,setAttributes:o})=>{(0,R.DR)({attributes:e,clientId:t,name:a});const{id:n,width:l,consentType:i,implicitConsentMessage:s,explicitConsentMessage:c}=e;return React.createElement(p.A,{clientId:t,id:n,isSelected:r,width:l,consentType:i,implicitConsentMessage:s,explicitConsentMessage:c,setAttributes:o,attributes:e})}}},{name:k.A.name,settings:(0,j.A)(A,{...k.A.settings,deprecated:[w("radio")]})},g.A,{name:h.A.name,settings:(0,j.A)(A,{...h.A.settings,deprecated:[w("checkbox")]})},b.A,{name:"field-select",settings:{...A,title:__("Dropdown Field","jetpack-forms"),keywords:[__("Choose","jetpack-forms"),__("Dropdown","jetpack-forms"),__("Option","jetpack-forms")],description:__("Add a compact select box, that when expanded, allows visitors to choose one value from the list.","jetpack-forms"),icon:(0,y.A)(React.createElement(o.Path,{fill:(0,C.V)(),d:"M5 4.5H19C19.2761 4.5 19.5 4.72386 19.5 5V19C19.5 19.2761 19.2761 19.5 19 19.5H5C4.72386 19.5 4.5 19.2761 4.5 19V5C4.5 4.72386 4.72386 4.5 5 4.5ZM19 3H5C3.89543 3 3 3.89543 3 5V19C3 20.1046 3.89543 21 5 21H19C20.1046 21 21 20.1046 21 19V5C21 3.89543 20.1046 3 19 3ZM8.93582 10.1396L8.06396 11.3602L11.9999 14.1716L15.9358 11.3602L15.064 10.1396L11.9999 12.3283L8.93582 10.1396Z"})),edit:f.A,attributes:{...A.attributes,toggleLabel:{type:"string",default:null},options:{type:"array",default:[""]}}}}]},8799:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var a=r(6427),o=r(7723),n=r(1097);const __=o.__,l=({required:e,onClick:t})=>React.createElement(a.ToolbarGroup,null,React.createElement(a.ToolbarButton,{title:__("Required","jetpack-forms"),icon:(0,n.A)(React.createElement(a.Path,{d:"M8.23118 8L16 16M8 16L15.7688 8 M6.5054 11.893L17.6567 11.9415M12.0585 17.6563L12 6.5",stroke:"currentColor"})),onClick:t,className:e?"is-pressed":void 0}))},615:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var a=r(6072),o=r.n(a),n=r(3022),l=r(9789);const i=({children:e=null,isError:t=!1,...r})=>{const a=(0,n.A)("help-message",{"help-message-is-error":t});return e&&React.createElement("div",o()({className:a},r),t&&React.createElement(l.A,{size:"24","aria-hidden":"true",role:"img",focusable:"false"}),React.createElement("span",null,e))}},599:(e,t,r)=>{"use strict";function a({children:e}){return React.createElement("p",{style:{color:"rgba( 117, 117, 117, 1 )",marginBottom:"24px"}},e)}r.d(t,{A:()=>a})},3373:(e,t,r)=>{"use strict";r.d(t,{o:()=>l});var a=r(6427),o=r(7723),n=r(5620);const __=o.__,l=({changeStatus:e,isLoading:t,isModuleActive:r})=>React.createElement(a.Placeholder,{icon:n.W.icon,instructions:__("You’ll need to activate the Contact Form feature to use this block.","jetpack-forms"),label:n.W.title},React.createElement(a.Button,{disabled:r||t,isBusy:t,onClick:()=>e(!0),variant:"secondary"},t?__("Activating Contact Form","jetpack-forms"):__("Activate Contact Form","jetpack-forms",0)))},1465:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});var a=r(1876),o=r(6427);const n=function(){return React.createElement(o.Placeholder,null,React.createElement(o.Flex,{gap:2,direction:"column",style:{width:"100%"}},React.createElement(o.Flex,{gap:4},React.createElement(o.FlexItem,null,React.createElement(a.A,{width:30,height:30})),React.createElement(o.FlexBlock,null,React.createElement(a.A,{width:"90%",height:30}))),React.createElement(o.Flex,{style:{marginTop:12}},React.createElement(o.FlexBlock,null,React.createElement(a.A,{height:30,width:"60%"}))),React.createElement(o.Flex,{style:{marginTop:12}},React.createElement(o.FlexBlock,null,React.createElement(a.A,{width:150,height:50}))),React.createElement(o.Flex,{style:{marginTop:18}},React.createElement(o.FlexBlock,null,React.createElement(a.A,{width:"90%",height:16})))))}},5345:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var a=r(6427),o=r(8468),n=r(7723);const __=n.__,l=({error:e})=>React.createElement(a.Notice,{isDismissible:!1,status:"error"},(0,o.createInterpolateElement)(__('The CRM Jetpack Form extension failed to activate. The error message was "".',"jetpack-forms"),{error:React.createElement("span",null,e)}))},2842:(e,t,r)=>{"use strict";r.d(t,{A:()=>d});var a=r(1455),o=r.n(a),n=r(6427),l=r(7723),i=r(5345);const __=l.__,s=({isActivatingExt:e,setIsActivatingExt:t,extActivationError:r,setExtActivationError:a,crmData:l,setCRMData:s})=>{const c=((e,t,r,a)=>()=>{t(void 0),e(!0),o()({path:"/jetpack/v4/jetpack_crm",method:"POST",data:{extension:"jetpackforms"}}).then((e=>{if("success"!==e.code)throw new Error(e.code);const t=Object.assign({},r);t.jp_form_ext_enabled=!0,a(t)})).catch((e=>{t(e.message)})).finally((()=>{e(!1)}))})(t,a,l,s);return e?React.createElement(n.Spinner,null):r?React.createElement(i.A,{error:r}):React.createElement(n.Button,{variant:"secondary",onClick:c},__("Enable Jetpack Forms Extension","jetpack-forms"))},c=()=>React.createElement("p",{className:"jetpack-contact-form__crm_text"},__("A site administrator must enable the CRM Jetpack Forms extension.","jetpack-forms")),u=()=>React.createElement("p",{className:"jetpack-contact-form__crm_text"},__("You can integrate this contact form with Jetpack CRM by enabling Jetpack CRM's Jetpack Forms extension.","jetpack-forms")),d=({isActivatingExt:e,setIsActivatingExt:t,extActivationError:r,setExtActivationError:a,crmData:o,setCRMData:n})=>o.can_activate_extension?React.createElement("div",null,React.createElement(u,null),React.createElement("br",null),React.createElement(s,{isActivatingExt:e,setIsActivatingExt:t,extActivationError:r,setExtActivationError:a,crmData:o,setCRMData:n})):React.createElement(c,null)},3912:(e,t,r)=>{"use strict";r.d(t,{A:()=>k});var a=r(6427),o=r(8468),n=r(7723),l=r(8265),i=r.n(l),s=r(1620),c=r(2842);const __=n.__,u=Object.freeze({ACTIVE:1,INSTALLED:2,NOT_INSTALLED:3}),d=()=>React.createElement("p",{className:"jetpack-contact-form__crm_text"},__("The Jetpack CRM plugin is installed but has an invalid version.","jetpack-forms")),p=()=>React.createElement("p",{className:"jetpack-contact-form__crm_text"},__("Please update to the latest version of the Jetpack CRM plugin to integrate your contact form with your CRM.","jetpack-forms")),m=({isActivating:e})=>{const t=e?__("Activating…","jetpack-forms"):__("Installing…","jetpack-forms",0);return React.createElement(a.Button,{variant:"secondary",icon:React.createElement(a.Icon,{style:{animation:"rotation 2s infinite linear"},icon:"update"}),disabled:!0,"aria-label":t},t)},f=({installAndActivateCRMPlugin:e,isInstalling:t})=>{let r=React.createElement(a.Button,{variant:"secondary",onClick:e},__("Install Jetpack CRM","jetpack-forms"));return t&&(r=React.createElement(m,null)),React.createElement("p",{className:"jetpack-contact-form__crm_text jetpack-contact-form__integration-panel"},React.createElement("em",{style:{color:"rgba(38, 46, 57, 0.7)"}},__("You can save contacts from Jetpack contact forms in Jetpack CRM.","jetpack-forms"),React.createElement("br",null),r))},h=({activateCRMPlugin:e,isInstalling:t})=>React.createElement("p",{className:"jetpack-contact-form__crm_text jetpack-contact-form__integration-panel"},React.createElement("em",null,__("You already have the Jetpack CRM plugin installed, but it’s not activated.","jetpack-forms")),React.createElement("br",null),t&&React.createElement(m,{isActivating:!0}),!t&&React.createElement(a.Button,{variant:"secondary",onClick:e},__("Activate the Jetpack CRM plugin","jetpack-forms"))),b=({crmData:e,setCRMData:t,jetpackCRM:r,setAttributes:n})=>{const[l,s]=(0,o.useState)(!1),[u,d]=(0,o.useState)(!1);return e.jp_form_ext_enabled?i().satisfies(i().coerce(e.crm_version),"3.0.19 - 4.0.0")?React.createElement("p",{className:"jetpack-contact-form__crm_text"},__("Contacts from this form will be stored in Jetpack CRM.","jetpack-forms")):React.createElement(a.ToggleControl,{className:"jetpack-contact-form__crm_toggle",label:__("Jetpack CRM","jetpack-forms"),checked:r,onChange:e=>n({jetpackCRM:e}),help:__("Store contact form submissions in your CRM.","jetpack-forms"),__nextHasNoMarginBottom:!0}):React.createElement(c.A,{isActivatingExt:l,setIsActivatingExt:s,extActivationError:u,setExtActivationError:d,crmData:e,setCRMData:t})},k=({crmData:e,setCRMData:t,jetpackCRM:r,setAttributes:a,onCRMPluginClick:o,isInstalling:n})=>{const l=i().coerce(e.crm_version);if(e.crm_installed&&!l)return React.createElement(d,null);if(e.crm_installed&&i().lt(l,"4.9.1"))return React.createElement(p,null);let c=u.NOT_INSTALLED;return e.crm_active?c=u.ACTIVE:e.crm_installed&&(c=u.INSTALLED),React.createElement("div",{"aria-live":"polite"},u.ACTIVE===c&&React.createElement(b,{crmData:e,setCRMData:t,jetpackCRM:r,setAttributes:a}),u.INSTALLED===c&&React.createElement(h,{activateCRMPlugin:()=>o(s.Bf,"zero-bs-crm/ZeroBSCRM"),isInstalling:n}),u.NOT_INSTALLED===c&&React.createElement(f,{installAndActivateCRMPlugin:()=>o(s.pj,"zero-bs-crm"),isInstalling:n}))}},186:(e,t,r)=>{"use strict";r.d(t,{A:()=>u});var a=r(1455),o=r.n(a),n=r(6427),l=r(8468),i=r(3912);const s=(e,t,r)=>{o()({path:"/jetpack/v4/jetpack_crm"}).then((r=>{if(r.error)throw r.message;e(!1),t(r)})).catch((()=>e(!0))).finally((()=>r(!1)))},c=({jetpackCRM:e,setAttributes:t})=>{const[r,a]=(0,l.useState)(!0),[o,c]=(0,l.useState)(!1),[u,d]=(0,l.useState)(),[p,m]=(0,l.useState)(!1),f=(0,l.useCallback)(((e,t)=>{m(!0),e(t).catch((()=>{c(!0)})).finally((()=>{m(!1),a(!0),s(c,d,a)}))}),[m,c,a]);return(0,l.useEffect)((()=>{s(c,d,a)}),[]),r?React.createElement(n.Spinner,null):o?null:React.createElement(i.A,{crmData:u,setCRMData:d,jetpackCRM:e,setAttributes:t,onCRMPluginClick:f,isInstalling:p})},u=({jetpackCRM:e,setAttributes:t})=>React.createElement(n.BaseControl,{__nextHasNoMarginBottom:!0},React.createElement(c,{jetpackCRM:e,setAttributes:t}))},7309:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});var a=r(6427),o=r(8468),n=r(7723),l=r(9904),i=r(615),s=r(599);const __=n.__,c=({emailAddress:e="",emailSubject:t="",instanceId:r,setAttributes:c,postAuthorEmail:u})=>{const[d,p]=(0,o.useState)(!1),m=e=>0!==(e=e.trim()).length&&(!l.validate(e)&&{email:e});return React.createElement(React.Fragment,null,React.createElement(s.A,null,__("Get incoming form responses sent to your email inbox:","jetpack-forms")),React.createElement(a.TextControl,{"aria-describedby":`contact-form-${r}-email-${d&&d.length>0?"error":"help"}`,label:__("Email address to send to","jetpack-forms"),placeholder:__("name@example.com","jetpack-forms"),onKeyDown:e=>{"Enter"===event.key&&(e.preventDefault(),e.stopPropagation())},value:e,onBlur:e=>{if(0===e.target.value.length)return p(!1),void c({to:u});const t=e.target.value.split(",").map(m).filter(Boolean);t&&t.length&&p(t)},onChange:e=>{p(!1),c({to:e.trim()})},help:__("You can enter multiple email addresses separated by commas.","jetpack-forms"),__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0}),React.createElement(i.A,{isError:!0,id:`contact-form-${r}-email-error`},(()=>{if(d){if(1===d.length)return d[0]&&d[0].email?(0,n.sprintf)(/* translators: placeholder is an email address. */ +__("%s is not a valid email address.","jetpack-forms"),d[0].email):d[0];if(2===d.length)return(0,n.sprintf)(/* translators: placeholders are email addresses. */ +__("%1$s and %2$s are not a valid email address.","jetpack-forms"),d[0].email,d[1].email);const e=d.map((e=>e.email));return(0,n.sprintf)(/* translators: placeholder is a list of email addresses. */ +__("%s are not a valid email address.","jetpack-forms"),e.join(", "))}return null})()),React.createElement(a.TextControl,{label:__("Email subject line","jetpack-forms"),value:t,placeholder:__("Enter a subject","jetpack-forms"),onChange:e=>c({subject:e}),__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0}))}},9958:(e,t,r)=>{"use strict";r.d(t,{A:()=>m});var a=r(4715),o=r(6427),n=r(9491),l=r(7723),i=r(8890),s=r(8799),c=r(6869),u=r(975),d=r(1646),p=r(1787);const __=l.__;const m=(0,n.compose)((0,i.H)(["borderRadius","borderWidth","labelFontSize","fieldFontSize","lineHeight","labelLineHeight","inputColor","labelColor","fieldBackgroundColor","borderColor"]),n.withInstanceId)((function(e){const{instanceId:t,required:r,requiredText:n,label:l,setAttributes:i,width:m,defaultValue:f,attributes:h}=e,{blockStyle:b}=(0,p.U)(h),k=(0,a.useBlockProps)({id:`jetpack-field-checkbox-${t}`,className:"jetpack-field jetpack-field-checkbox",style:b});return React.createElement(React.Fragment,null,React.createElement(a.BlockControls,null,React.createElement(s.A,{required:r,onClick:()=>i({required:!r})})),React.createElement("div",k,React.createElement("input",{className:"jetpack-field-checkbox__checkbox",type:"checkbox",disabled:!0,checked:f}),React.createElement(c.A,{required:r,requiredText:n,label:l,setAttributes:i,attributes:h}),React.createElement(a.InspectorControls,null,React.createElement(o.PanelBody,{title:__("Checkbox Settings","jetpack-forms")},React.createElement(o.ToggleControl,{label:__("Checked by default","jetpack-forms"),checked:f,onChange:e=>i({defaultValue:e?"true":""}),__nextHasNoMarginBottom:!0}))),React.createElement(a.InspectorControls,null,React.createElement(o.PanelBody,{title:__("Manage Responses","jetpack-forms")},React.createElement(d.A,{isChildBlock:!0})),React.createElement(o.PanelBody,{title:__("Field Settings","jetpack-forms")},React.createElement(o.ToggleControl,{label:__("Field is required","jetpack-forms"),checked:r,onChange:e=>i({required:e}),help:__('You can edit the "required" label in the editor',"jetpack-forms"),__nextHasNoMarginBottom:!0}),React.createElement(u.A,{setAttributes:i,width:m}),React.createElement(o.ToggleControl,{label:__("Sync fields style","jetpack-forms"),checked:h.shareFieldAttributes,onChange:e=>i({shareFieldAttributes:e}),help:__("Deactivate for individual styling of this block","jetpack-forms"),__nextHasNoMarginBottom:!0})),React.createElement(a.PanelColorSettings,{title:__("Color","jetpack-forms"),initialOpen:!1,colorSettings:[{value:h.labelColor,onChange:e=>i({labelColor:e}),label:__("Label Text","jetpack-forms")}]}),React.createElement(o.PanelBody,{title:__("Label Styles","jetpack-forms"),initialOpen:h.labelFontSize},React.createElement(a.FontSizePicker,{withSlider:!0,withReset:!0,size:"__unstable-large",__nextHasNoMarginBottom:!0,onChange:e=>i({labelFontSize:e}),value:h.labelFontSize})))))}))},6563:(e,t,r)=>{"use strict";r.d(t,{A:()=>h});var a=r(6072),o=r.n(a),n=r(4715),l=r(9491),i=r(7143),s=r(3022),c=r(1663),u=r(6691),d=r(8890),p=r(1713),m=r(6869),f=r(1787);const h=(0,l.compose)((0,d.H)(["borderRadius","borderWidth","labelFontSize","fieldFontSize","lineHeight","labelLineHeight","inputColor","labelColor","fieldBackgroundColor","buttonBackgroundColor","buttonBorderRadius","buttonBorderWidth","borderColor"]),l.withInstanceId)((e=>{const{name:t,className:r,clientId:a,instanceId:l,setAttributes:d,isSelected:h,attributes:b,type:k}=e,{required:g,requiredText:E,options:C,id:R,width:v}=b;(0,c.DR)(e);const j=(0,i.useSelect)((e=>e("core/block-editor").getBlock(a).innerBlocks),[a]),y=(0,s.A)(r,"jetpack-field jetpack-field-multiple",{"is-selected":h,"has-placeholder":C&&C.length||j.length}),A=(0,c.BV)(a),{blockStyle:w}=(0,f.U)(b),x=(0,n.useBlockProps)({id:`jetpack-field-multiple-${l}`,style:w,className:y}),_=(0,n.useInnerBlocksProps)(x,{defaultBlock:`jetpack/field-option-${k}`,template:[[`jetpack/field-option-${k}`]],templateInsertUpdatesSelection:!0});return React.createElement(React.Fragment,null,React.createElement("div",x,React.createElement(m.A,{required:g,requiredText:E,label:(0,u.A)(b,t),setAttributes:d,isSelected:h,attributes:b,style:A}),React.createElement("ul",o()({},_,{className:"jetpack-field-multiple__list"}))),React.createElement(p.A,{blockClassNames:y,clientId:a,id:R,required:g,attributes:b,setAttributes:d,type:k,width:v,hidePlaceholder:!0}))}))},9659:(e,t,r)=>{"use strict";r.d(t,{A:()=>f});var a=r(6072),o=r.n(a),n=r(4715),l=r(4997),i=r(7143),s=r(7723),c=r(3022),u=r(6087),d=r(8882),p=r(2233),m=r(1787);const __=s.__;function f({attributes:e,clientId:t,name:r,onReplace:a,setAttributes:s,type:f}){const{removeBlock:h}=(0,i.useDispatch)("core/block-editor"),b=(0,p.F)(t),{optionStyle:k}=(0,m.U)(b),g=(0,i.useSelect)((e=>{const r=e("core/block-editor"),a=(0,u.first)(r.getBlockParents(t,!0));return r.getBlock(a).innerBlocks.length}),[t]),E=(0,n.useBlockProps)(),C=(0,d.B)(),R=(0,c.A)("jetpack-field-option",`field-option-${f}`,E.className),v=(0,n.useInnerBlocksProps)(E,{className:R,style:k});return React.createElement(React.Fragment,null,React.createElement("li",v,React.createElement("input",{type:f,className:"jetpack-option__type",tabIndex:"-1"}),React.createElement(n.RichText,o()({identifier:"label",tagName:"div",className:"wp-block",value:e.label,placeholder:__("Add option…","jetpack-forms"),allowedFormats:[],onChange:e=>s({label:e}),preserveWhiteSpace:!1,withoutInteractiveFormatting:!0,onRemove:()=>{g<=1||h(t)},onReplace:a},C?{}:{onSplit:t=>(0,l.createBlock)(r,{...e,clientId:t&&0===e.label.indexOf(t)?e.clientId:void 0,label:t})}))))}},4414:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});const a={apiVersion:3,category:"contact-form",attributes:{label:{type:"string"},fieldType:{enum:["checkbox","radio"],default:"checkbox"}},supports:{reusable:!1,html:!1,splitting:!0}}},8230:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});const a={styles:[{name:"list",label:"List",isDefault:!0},{name:"button",label:"Button"}]}},4697:(e,t,r)=>{"use strict";r.d(t,{A:()=>d});var a=r(4715),o=r(6427),n=r(9491),l=r(7723),i=r(8890),s=r(6869),c=r(975),u=r(1646);const __=l.__,d=(0,n.compose)((0,i.H)(["borderRadius","borderWidth","labelFontSize","fieldFontSize","lineHeight","labelLineHeight","inputColor","labelColor","fieldBackgroundColor","borderColor"]),n.withInstanceId)((({instanceId:e,width:t,consentType:r,implicitConsentMessage:n,explicitConsentMessage:i,setAttributes:d,attributes:p})=>{const m=(0,a.useBlockProps)({id:`jetpack-field-consent-${e}`,className:"jetpack-field jetpack-field-consent"});return React.createElement("div",m,"explicit"===r&&React.createElement("input",{className:"jetpack-field-consent__checkbox",type:"checkbox",disabled:!0}),React.createElement(s.A,{required:!1,label:{implicit:n,explicit:i}[r]??"",attributes:p,setAttributes:d,labelFieldName:`${r}ConsentMessage`,placeholder:(0,l.sprintf)(/* translators: placeholder is a type of consent: implicit or explicit */ +__("Add %s consent message…","jetpack-forms"),r)}),React.createElement(a.InspectorControls,null,React.createElement(o.PanelBody,{title:__("Manage Responses","jetpack-forms")},React.createElement(u.A,{isChildBlock:!0})),React.createElement(o.PanelBody,{title:__("Field Settings","jetpack-forms")},React.createElement(c.A,{setAttributes:d,width:t}),React.createElement(o.ToggleControl,{label:__("Sync fields style","jetpack-forms"),checked:p.shareFieldAttributes,onChange:e=>d({shareFieldAttributes:e}),help:__("Deactivate for individual styling of this block","jetpack-forms"),__nextHasNoMarginBottom:!0})),React.createElement(a.PanelColorSettings,{title:__("Color","jetpack-forms"),initialOpen:!1,colorSettings:[{value:p.labelColor,onChange:e=>d({labelColor:e}),label:__("Label Text","jetpack-forms")}]}),React.createElement(o.PanelBody,{title:__("Consent Settings","jetpack-forms")},React.createElement(o.BaseControl,{__nextHasNoMarginBottom:!0},React.createElement(o.SelectControl,{label:__("Permission to email","jetpack-forms"),value:r,options:[{label:__("Mention that you can email","jetpack-forms"),value:"implicit"},{label:__("Add a privacy checkbox","jetpack-forms"),value:"explicit"}],onChange:e=>d({consentType:e}),__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0})))))}))},1713:(e,t,r)=>{"use strict";r.d(t,{A:()=>d});var a=r(4715),o=r(6427),n=r(8468),l=r(7723),i=r(1663),s=r(8799),c=r(975),u=r(1646);const __=l.__,d=({attributes:e,blockClassNames:t,clientId:r,id:l,placeholder:d,placeholderField:p="placeholder",hidePlaceholder:m,required:f,setAttributes:h,type:b,width:k,extraFieldSettings:g=[]})=>{const E=(0,i.BV)(r),C=(0,i.zD)(t),R=["radio","checkbox"].includes(b),v=(e,t=parseInt)=>r=>{const a=t(r,10);h({[e]:isNaN(a)?"":a})},j="button"===C?__("Button Text","jetpack-forms"):__("Option Text","jetpack-forms",0),y=R?j:__("Field Text","jetpack-forms",0),A=R?__("Background","jetpack-forms"):__("Field Background","jetpack-forms",0),w=R?__("Options Styles","jetpack-forms"):__("Input Field Styles","jetpack-forms",0),x=[{value:e.labelColor,onChange:e=>h({labelColor:e}),label:__("Label Text","jetpack-forms")},{value:e.inputColor,onChange:e=>h({inputColor:e}),label:y}];R&&"button"===C&&x.push({value:e.buttonBackgroundColor,onChange:e=>h({buttonBackgroundColor:e}),label:__("Button Background","jetpack-forms")}),R&&E!==i.pC.OUTLINED||(x.push({value:e.fieldBackgroundColor,onChange:e=>h({fieldBackgroundColor:e}),label:A}),x.push({value:e.borderColor,onChange:e=>h({borderColor:e}),label:__("Border","jetpack-forms")}));let _=[React.createElement(o.ToggleControl,{key:"required",label:__("Field is required","jetpack-forms"),checked:f,onChange:e=>h({required:e}),help:__('You can edit the "required" label in the editor',"jetpack-forms"),__nextHasNoMarginBottom:!0}),!m&&React.createElement(o.TextControl,{key:"placeholderField",label:__("Placeholder text","jetpack-forms"),value:d||"",onChange:e=>h({[p]:e}),help:__("Show visitors an example of the type of content expected. Otherwise, leave blank.","jetpack-forms"),__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0}),React.createElement(c.A,{key:"width",setAttributes:h,width:k}),React.createElement(o.ToggleControl,{key:"shareFieldAttributes",label:__("Sync fields style","jetpack-forms"),checked:e.shareFieldAttributes,onChange:e=>h({shareFieldAttributes:e}),help:__("Deactivate for individual styling of this block","jetpack-forms"),__nextHasNoMarginBottom:!0})];return g.forEach((({element:e,index:t})=>{(0,n.isValidElement)(e)&&(t>=0&&t<_.length?_=[..._.slice(0,t),e,..._.slice(t)]:_.push(e))})),React.createElement(React.Fragment,null,React.createElement(a.BlockControls,null,React.createElement(s.A,{required:f,onClick:()=>h({required:!f})})),React.createElement(a.InspectorControls,null,React.createElement(o.PanelBody,{title:__("Manage Responses","jetpack-forms")},React.createElement(u.A,{isChildBlock:!0})),React.createElement(o.PanelBody,{title:__("Field Settings","jetpack-forms")},React.createElement(React.Fragment,null,_)),React.createElement(a.PanelColorSettings,{title:__("Color","jetpack-forms"),initialOpen:!1,colorSettings:x}),React.createElement(o.PanelBody,{title:w,initialOpen:!1},React.createElement(o.BaseControl,null,React.createElement(a.FontSizePicker,{withReset:!0,size:"__unstable-large",__nextHasNoMarginBottom:!0,onChange:e=>h({fieldFontSize:e}),value:e.fieldFontSize})),React.createElement(o.BaseControl,null,React.createElement(a.LineHeightControl,{__nextHasNoMarginBottom:!0,__unstableInputWidth:"100%",value:e.lineHeight,onChange:v("lineHeight",parseFloat),size:"__unstable-large"})),(R||"button"===C)&&React.createElement(React.Fragment,null,React.createElement(o.RangeControl,{label:__("Button Border Width","jetpack-forms"),value:e.buttonBorderWidth,initialPosition:1,onChange:v("buttonBorderWidth"),min:0,max:100,__nextHasNoMarginBottom:!0}),React.createElement(o.RangeControl,{label:__("Button Border Radius","jetpack-forms"),value:e.buttonBorderRadius,initialPosition:0,onChange:v("buttonBorderRadius"),min:0,max:100,__nextHasNoMarginBottom:!0})),(!R||E===i.pC.OUTLINED)&&React.createElement(React.Fragment,null,React.createElement(o.RangeControl,{label:__("Border Width","jetpack-forms"),value:e.borderWidth,initialPosition:1,onChange:v("borderWidth"),min:0,max:100,__nextHasNoMarginBottom:!0}),React.createElement(o.RangeControl,{label:__("Border Radius","jetpack-forms"),value:e.borderRadius,initialPosition:0,onChange:v("borderRadius"),min:0,max:100,__nextHasNoMarginBottom:!0}))),React.createElement(o.PanelBody,{title:__("Label Styles","jetpack-forms"),initialOpen:!1},React.createElement(o.BaseControl,null,React.createElement(a.FontSizePicker,{withReset:!0,size:"__unstable-large",__nextHasNoMarginBottom:!0,onChange:e=>h({labelFontSize:e}),value:e.labelFontSize})),React.createElement(o.BaseControl,null,React.createElement(a.LineHeightControl,{__unstableInputWidth:"100%",__nextHasNoMarginBottom:!0,value:e.labelLineHeight,onChange:v("labelLineHeight",parseFloat),size:"__unstable-large"})))),React.createElement(a.InspectorAdvancedControls,null,React.createElement(o.TextControl,{label:__("Name/ID","jetpack-forms"),value:l||"",onChange:e=>{const t=e.replace(/[^a-zA-Z0-9_-]/g,"");h({id:t})},help:__("Customize the input's name/ID. Only alphanumeric, dash and underscore characters are allowed","jetpack-forms"),__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0})))}},565:(e,t,r)=>{"use strict";r.d(t,{A:()=>h});var a=r(4715),o=r(6427),n=r(9491),l=r(7723),i=r(3022),s=r(1663),c=r(8890),u=r(1713),d=r(6869),p=r(1787);const __=l.__,m=(new Date).getFullYear(),f=[{value:"mm/dd/yy", /* translators: date format. DD is the day of the month, MM the month, and YYYY the year (e.g., 12/31/2023). */ label:__("MM/DD/YYYY","jetpack-forms"),example:`12/31/${m}`},{value:"dd/mm/yy", /* translators: date format. DD is the day of the month, MM the month, and YYYY the year (e.g., 31/12/2023). */ label:__("DD/MM/YYYY","jetpack-forms"),example:`21/12/${m}`},{value:"yy-mm-dd", /* translators: date format. DD is the day of the month, MM the month, and YYYY the year (e.g., 2023-12-31). */ -label:__("YYYY-MM-DD","jetpack-forms"),example:`${m}-12-31`}],h=(0,n.compose)((0,c.H)(["borderRadius","borderWidth","labelFontSize","fieldFontSize","lineHeight","labelLineHeight","inputColor","labelColor","fieldBackgroundColor","borderColor"]))((e=>{const{attributes:t,clientId:r,isSelected:n,name:l,setAttributes:c}=e,{id:m,label:h,required:b,requiredText:k,width:g,placeholder:E,dateFormat:C}=t;(0,s.DR)({attributes:t,clientId:r,name:l});const{blockStyle:R,fieldStyle:v}=(0,p.U)(t),j=(0,s.BV)(r),y=(0,a.useBlockProps)({className:(0,i.A)("jetpack-field",{"is-selected":n,"has-placeholder":!!E}),style:R});return React.createElement(React.Fragment,null,React.createElement("div",y,React.createElement(u.A,{attributes:t,label:h,suffix:`(${f.find((e=>e.value===C))?.label})`,required:b,requiredText:k,setAttributes:c,style:j}),React.createElement("input",{className:"jetpack-field__input",onChange:e=>c({placeholder:e.target.value}),style:v,type:"text",value:E})),React.createElement(d.A,{id:m,required:b,width:g,setAttributes:c,placeholder:E,attributes:t,extraFieldSettings:[{index:1,element:React.createElement(o.SelectControl,{key:"date-format",label:__("Date Format","jetpack-forms"),options:f.map((({value:e,label:t,example:r})=>({value:e,label:`${t} (${r})`}))),onChange:e=>c({dateFormat:e}),value:t.dateFormat,help:__("Select the format in which the date will be displayed.","jetpack-forms"),__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0})}]}))}))},4506:(e,t,r)=>{"use strict";r.d(t,{A:()=>b});var a=r(4715),o=r(9491),n=r(8468),l=r(7723),i=r(3022),s=r(6087),c=r(2386),d=r(2453),u=r(1663),p=r(8890),m=r(1713),f=r(6869),h=r(1787);const __=l.__,b=(0,o.compose)((0,p.H)(["borderRadius","borderWidth","labelFontSize","fieldFontSize","lineHeight","labelLineHeight","inputColor","labelColor","fieldBackgroundColor","borderColor"]))((({attributes:e,clientId:t,isSelected:r,name:o,setAttributes:l})=>{const{id:p,label:b,options:k,required:g,requiredText:E,toggleLabel:C,width:R}=e,v=(0,n.useRef)(void 0),j=(0,u.BV)(t),{blockStyle:y}=(0,h.U)(e),A=(0,a.useBlockProps)({className:(0,i.A)("jetpack-field jetpack-field-dropdown",{"is-selected":r,"has-placeholder":!(0,s.isEmpty)(C)}),style:y});(0,u.DR)({attributes:e,clientId:t,name:o});const w=(e,t)=>(0,d.Z)(v.current,"[role=textbox]",e,t),x=(t,r)=>{const a=[...e.options],o=""!==r[r.length-1];a[t]&&(a[t]=r.shift(),t++),a.splice(t,0,...r),l({options:a}),w(t+r.length-1,o)},_=e=>t=>{const r=(0,s.split)(t,"\n").filter((e=>e&&""!==(0,s.trim)(e)));r.length&&(r.length>1?x(e,r):((e,t)=>{const r=[...k];r[e]=t,l({options:r}),w(e)})(e,r.pop()))},S=t=>r=>{if("Enter"!==r.key)return;r.preventDefault();const a=e.options[t];if(!a)return;const o=(0,c.J)(r.target),n=o?a.slice(o):"";x(t,n?[a.slice(0,o),n]:[a,""])},B=t=>()=>{if(1===e.options.length)return;const r=[...e.options];r.splice(t,1),l({options:r}),w(Math.max(t-1,0),!0)};return(0,n.useEffect)((()=>{(0,s.isNil)(b)&&l({label:""}),(0,s.isNil)(C)&&l({toggleLabel:__("Select one option","jetpack-forms")})}),[]),React.createElement("div",A,React.createElement("div",{className:"jetpack-field-dropdown__wrapper"},React.createElement(f.A,{required:g,requiredText:E,label:b,attributes:e,setAttributes:l,isSelected:r,style:j}),React.createElement("div",{className:"jetpack-field-dropdown__toggle"},React.createElement(a.RichText,{value:C,onChange:e=>{l({toggleLabel:e})},allowedFormats:["core/bold","core/italic"],withoutInteractiveFormatting:!0}),React.createElement("span",{className:"jetpack-field-dropdown__icon"}))),r&&React.createElement("div",{className:"jetpack-field-dropdown__popover",ref:v},k.map(((e,t)=>React.createElement(a.RichText,{key:t,value:e,onChange:_(t),onKeyDown:S(t),onRemove:B(t),onReplace:s.noop,placeholder:__("Add option…","jetpack-forms"),__unstableDisableFormats:!0})))),React.createElement(m.A,{id:p,required:g,attributes:e,setAttributes:l,width:R,placeholder:C,placeholderField:"toggleLabel",type:"dropdown"}))}))},6869:(e,t,r)=>{"use strict";r.d(t,{A:()=>u});var a=r(6072),o=r.n(a),n=r(4715),l=r(7723),i=r(3022),s=r(1663),c=r(1787);const __=l.__,d=({attributes:e,className:t,label:r,suffix:a,labelFieldName:o,placeholder:l,resetFocus:s,required:d,requiredText:u,setAttributes:p})=>{const{labelStyle:m}=(0,c.U)(e);return React.createElement("div",{className:(0,i.A)(t,"jetpack-field-label"),style:m},React.createElement(n.RichText,{tagName:"label",value:r,className:"jetpack-field-label__input",onChange:e=>{s&&s(),p(o?{[o]:e}:{label:e})},placeholder:l??__("Add label…","jetpack-forms"),withoutInteractiveFormatting:!0,allowedFormats:["core/bold","core/italic"]}),a&&React.createElement("span",{className:"jetpack-field-label__suffix"},a),d&&React.createElement(n.RichText,{tagName:"span",value:u||__("(required)","jetpack-forms"),className:"required",onChange:e=>{p({requiredText:e})},withoutInteractiveFormatting:!0,allowedFormats:["core/bold","core/italic"]}))},u=e=>{const{style:t}=e,r=(0,i.A)({"notched-label__label":t===s.pC.OUTLINED,"animated-label__label":t===s.pC.ANIMATED,"below-label__label":t===s.pC.BELOW});return t===s.pC.OUTLINED?React.createElement("div",{className:"notched-label"},React.createElement("div",{className:"notched-label__leading"}),React.createElement("div",{className:"notched-label__notch"},React.createElement(d,o()({className:r},e))),React.createElement("div",{className:"notched-label__trailing"})):React.createElement(d,o()({className:r},e))}},2438:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var a=r(6072),o=r.n(a),n=r(6563);function l(e){return React.createElement(n.A,o()({},e,{type:"checkbox"}))}},3052:(e,t,r)=>{"use strict";r.d(t,{A:()=>d});var a=r(6427),o=r(7723),n=r(9787),l=r(1097),i=r(8230),s=r(2438),c=r(1747);const __=o.__,d={name:"field-checkbox-multiple",settings:{...i.A,title:__("Multiple Choice (Checkbox)","jetpack-forms"),keywords:[__("Choose Multiple","jetpack-forms"),__("Option","jetpack-forms")],description:__("Offer users a list of choices, and allow them to select multiple options.","jetpack-forms"),icon:(0,l.A)(React.createElement(a.Path,{fill:(0,n.V)(),d:"M7.0812 10.1419L10.6001 5.45005L9.40006 4.55005L6.91891 7.85824L5.53039 6.46972L4.46973 7.53038L7.0812 10.1419ZM12 8.5H20V7H12V8.5ZM12 17H20V15.5H12V17ZM8.5 14.5H5.5V17.5H8.5V14.5ZM5.5 13H8.5C9.32843 13 10 13.6716 10 14.5V17.5C10 18.3284 9.32843 19 8.5 19H5.5C4.67157 19 4 18.3284 4 17.5V14.5C4 13.6716 4.67157 13 5.5 13Z"})),edit:s.A,save:c.A,allowedBlocks:["jetpack/field-option-checkbox"],attributes:{label:{type:"string",default:"Choose several options"}}}}},2496:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var a=r(6072),o=r.n(a),n=r(9659);function l(e){return React.createElement(n.A,o()({},e,{type:"checkbox"}))}},358:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});var a=r(6427),o=r(7723),n=r(9787),l=r(1097),i=r(4414),s=r(2496);const __=o.__,c={name:"field-option-checkbox",settings:{...i.A,title:__("Multiple Choice Option","jetpack-forms"),parent:["jetpack/field-checkbox-multiple"],icon:(0,l.A)(React.createElement(React.Fragment,null,React.createElement(a.Path,{d:"M5.5 10.5H8.5V13.5H5.5V10.5ZM8.5 9H5.5C4.67157 9 4 9.67157 4 10.5V13.5C4 14.3284 4.67157 15 5.5 15H8.5C9.32843 15 10 14.3284 10 13.5V10.5C10 9.67157 9.32843 9 8.5 9ZM12 12.75H20V11.25H12V12.75Z",fill:(0,n.V)()}))),edit:s.A}}},1747:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var a=r(4715);const o=()=>React.createElement("div",a.useBlockProps.save(),React.createElement(a.InnerBlocks.Content,null))},9678:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var a=r(6072),o=r.n(a),n=r(6563);function l(e){return React.createElement(n.A,o()({},e,{type:"radio"}))}},5700:(e,t,r)=>{"use strict";r.d(t,{A:()=>u});var a=r(6427),o=r(8468),n=r(7723),l=r(9787),i=r(1097),s=r(8230),c=r(9678),d=r(8891);const __=n.__,u={name:"field-radio",settings:{...s.A,title:__("Single Choice (Radio)","jetpack-forms"),keywords:[__("Choose","jetpack-forms"),__("Select","jetpack-forms"),__("Option","jetpack-forms")],description:__("Offer users a list of choices, and allow them to select a single option.","jetpack-forms"),icon:(0,i.A)(React.createElement(o.Fragment,null,React.createElement(a.Path,{fill:(0,l.V)(),d:"M4 7.75C4 9.40685 5.34315 10.75 7 10.75C8.65685 10.75 10 9.40685 10 7.75C10 6.09315 8.65685 4.75 7 4.75C5.34315 4.75 4 6.09315 4 7.75ZM20 8.5H12V7H20V8.5ZM20 17H12V15.5H20V17ZM7 17.75C6.17157 17.75 5.5 17.0784 5.5 16.25C5.5 15.4216 6.17157 14.75 7 14.75C7.82843 14.75 8.5 15.4216 8.5 16.25C8.5 17.0784 7.82843 17.75 7 17.75ZM4 16.25C4 17.9069 5.34315 19.25 7 19.25C8.65685 19.25 10 17.9069 10 16.25C10 14.5931 8.65685 13.25 7 13.25C5.34315 13.25 4 14.5931 4 16.25Z"}))),edit:c.A,save:d.A,allowedBlocks:["jetpack/field-option-radio"],attributes:{label:{type:"string",default:"Choose one option"}}}}},9864:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var a=r(6072),o=r.n(a),n=r(9659);function l(e){return React.createElement(n.A,o()({},e,{type:"radio"}))}},5214:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});var a=r(6427),o=r(7723),n=r(9787),l=r(1097),i=r(4414),s=r(9864);const __=o.__,c={name:"field-option-radio",settings:{...i.A,title:__("Single Choice Option","jetpack-forms"),parent:["jetpack/field-radio"],icon:(0,l.A)(React.createElement(a.Path,{d:"M7.5 13.5C6.67157 13.5 6 12.8284 6 12C6 11.1716 6.67157 10.5 7.5 10.5C8.32843 10.5 9 11.1716 9 12C9 12.8284 8.32843 13.5 7.5 13.5ZM4.5 12C4.5 13.6569 5.84315 15 7.5 15C9.15685 15 10.5 13.6569 10.5 12C10.5 10.3431 9.15685 9 7.5 9C5.84315 9 4.5 10.3431 4.5 12ZM12.5 12.75H20.5V11.25H12.5V12.75Z",fill:(0,n.V)()})),edit:s.A}}},8891:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var a=r(4715);const o=()=>React.createElement("div",a.useBlockProps.save(),React.createElement(a.InnerBlocks.Content,null))},7817:(e,t,r)=>{"use strict";r.d(t,{A:()=>m});var a=r(4715),o=r(9491),n=r(8468),l=r(3022),i=r(6087),s=r(1663),c=r(8890),d=r(1713),u=r(6869),p=r(1787);const m=(0,o.compose)((0,c.H)(["borderRadius","borderWidth","labelFontSize","fieldFontSize","lineHeight","labelLineHeight","inputColor","labelColor","fieldBackgroundColor","borderColor"]))((e=>{const{attributes:t,clientId:r,id:o,isSelected:c,required:m,requiredText:f,label:h,setAttributes:b,placeholder:k,width:g}=e,E=(0,s.BV)(r),{blockStyle:C,fieldStyle:R}=(0,p.U)(t),v=(0,a.useBlockProps)({className:(0,l.A)("jetpack-field jetpack-field-textarea",{"is-selected":c,"has-placeholder":!(0,i.isEmpty)(k)}),style:C});return(0,n.useEffect)((()=>{(0,i.isNil)(h)&&b({label:""})}),[]),React.createElement(React.Fragment,null,React.createElement("div",v,React.createElement(u.A,{clientId:r,required:m,requiredText:f,label:h,setAttributes:b,attributes:t,style:E}),React.createElement("textarea",{className:"jetpack-field__textarea",value:k,onChange:e=>b({placeholder:e.target.value}),style:R})),React.createElement(d.A,{id:o,required:m,setAttributes:b,width:g,placeholder:k,attributes:t}))}))},975:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});var a=r(6427),o=r(7723);const __=o.__;function n({setAttributes:e,width:t}){return React.createElement(a.BaseControl,{help:__("Adjust the width of the field to include multiple fields on a single line.","jetpack-forms"),className:"jetpack-field-label__width",__nextHasNoMarginBottom:!0},React.createElement(a.BaseControl.VisualLabel,null,__("Field Width","jetpack-forms")),React.createElement(a.ButtonGroup,{"aria-label":__("Field Width","jetpack-forms")},[25,50,75,100].map((r=>React.createElement(a.Button,{key:r,isSmall:!0,variant:r===t?"primary":void 0,onClick:()=>e({width:r})},r,"%")))))}},1978:(e,t,r)=>{"use strict";r.d(t,{A:()=>h});var a=r(6072),o=r.n(a),n=r(4715),l=r(9491),i=r(2619),s=r(3022),c=r(6087),d=r(1663),u=r(8890),p=r(1713),m=r(6869),f=r(1787);const h=(0,l.compose)((0,u.H)(["borderRadius","borderWidth","labelFontSize","fieldFontSize","lineHeight","labelLineHeight","inputColor","labelColor","fieldBackgroundColor","borderColor"]))((e=>{const{attributes:t,clientId:r,id:a,isSelected:o,required:l,requiredText:i,label:u,setAttributes:h,placeholder:b,width:k}=e,{blockStyle:g,fieldStyle:E}=(0,f.U)(t),C=(0,d.BV)(r),R=(0,n.useBlockProps)({className:(0,s.A)("jetpack-field",{"is-selected":o,"has-placeholder":!(0,c.isEmpty)(b)}),style:g});return React.createElement(React.Fragment,null,React.createElement("div",R,React.createElement(m.A,{attributes:t,label:u,required:l,requiredText:i,setAttributes:h,style:C}),React.createElement("input",{className:"jetpack-field__input",onChange:e=>h({placeholder:e.target.value}),style:E,type:"text",value:b})),React.createElement(p.A,{id:a,required:l,width:k,setAttributes:h,placeholder:b,attributes:t}))})),b=(0,l.createHigherOrderComponent)((e=>t=>{if(t.name.indexOf("jetpack/field")>-1){const r=t.attributes.width?"jetpack-field__width-"+t.attributes.width:"";return React.createElement(e,o()({},t,{className:r}))}return React.createElement(e,t)}),"withCustomClassName");(0,i.addFilter)("editor.BlockListBlock","jetpack/contact-form",b)},1646:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});var a=r(5985),o=r(6427),n=r(7723),l=r(6087),i=r(599);const __=n.__,s=`${(0,l.get)((0,a.$i)(),"adminUrl",!1)}edit.php?post_type=feedback`,c=()=>React.createElement(React.Fragment,null,React.createElement(i.A,null,__("Manage and export your form responses in WPAdmin:","jetpack-forms")),React.createElement(o.Button,{variant:"secondary",href:s,target:"_blank"},__("View Form Responses","jetpack-forms"),React.createElement("span",{className:"screen-reader-text"},__("(opens in a new tab)","jetpack-forms"))))},5044:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});var a=r(4997),o=r(6427),n=r(7143),l=r(8468),i=r(7723);const __=i.__,s=()=>{const{insertConsentBlock:e}=(()=>{const e=(0,n.useSelect)((e=>e("core/block-editor").getSelectedBlock()),[]),{insertBlock:t}=(0,n.useDispatch)("core/block-editor");return{insertConsentBlock:(0,l.useCallback)((async()=>{let r=(e.innerBlocks??[]).findIndex((({name:e})=>"jetpack/button"===e));-1===r&&(r=(e.innerBlocks??[]).length);const o=await(0,a.createBlock)("jetpack/field-consent");await t(o,r,e.clientId,!1)}),[t,e.clientId,e.innerBlocks])}})();return React.createElement(React.Fragment,null,React.createElement("p",null,__("You’re already collecting email contacts. Why not make sure you have permission to email them too?","jetpack-forms")),React.createElement(o.Button,{variant:"secondary",onClick:e,style:{marginBottom:"1em"}},__("Add email permission request","jetpack-forms")),React.createElement("br",null))},c=()=>{const e=(0,n.useSelect)((e=>e("core/block-editor").getSelectedBlock()),[]);return(0,l.useMemo)((()=>(e=>{const t=e.some((({name:e})=>"jetpack/field-email"===e)),r=e.some((({name:e})=>"jetpack/field-consent"===e));return!!t&&!r})(e.innerBlocks)),[e.innerBlocks])?React.createElement(s,null):null}},1807:(e,t,r)=>{"use strict";r.d(t,{A:()=>p});var a=r(6427),o=r(8468),n=r(6087),l=r(1620),i=r(6607),s=r(3842);const c="creative-mail-by-constant-contact/creative-mail-plugin.php",d=({pluginState:e,setPluginState:t})=>{const[r,a]=(0,o.useState)(),[n,l]=(0,o.useState)(!1),c=((e,t,r)=>(0,o.useCallback)(((a,o)=>{e(void 0),t(!0),a(o).then((()=>{r(s.G.ACTIVE)})).catch((t=>{e(t)})).finally((()=>t(!1)))}),[t,e,r]))(a,l,t);return r?React.createElement(i.A,{error:r}):React.createElement(s.A,{pluginState:e,onCreativeMailPluginClick:c,isInstalling:n})},u=({isFetchingPlugins:e,hasError:t,pluginState:r,setPluginState:o})=>e?React.createElement(a.Spinner,null):t?null:React.createElement(d,{pluginState:r,setPluginState:o}),p=()=>{const[e,t]=(0,o.useState)(!0),[r,a]=(0,o.useState)(!1),[i,d]=(0,o.useState)(s.G.NOT_INSTALLED);return(0,o.useEffect)((()=>{(0,l.xy)().then((e=>{a(!1),(0,n.get)(e,c)&&((0,n.get)(e,[c,"active"])?d(s.G.ACTIVE):d(s.G.INSTALLED))})).catch((()=>a(!0))).finally((()=>t(!1)))}),[d,t,a]),React.createElement(u,{isFetchingPlugins:e,hasError:r,pluginState:i,setPluginState:d})}},6607:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var a=r(6427),o=r(8468),n=r(7723);const __=n.__,l=({error:e})=>React.createElement(a.Notice,{isDismissible:!1,status:"error"},(0,o.createInterpolateElement)(__("The plugin failed to install. Please check the plugin information for detailed requirements.","jetpack-forms"),{a:React.createElement(a.ExternalLink,{href:"https://wordpress.org/plugins/creative-mail-by-constant-contact"}),b:React.createElement("span",null,e)}))},3842:(e,t,r)=>{"use strict";r.d(t,{A:()=>m,G:()=>s});var a=r(5985),o=r(6427),n=r(7723),l=r(6087),i=r(1620);const __=n.__,s=Object.freeze({ACTIVE:1,INSTALLED:2,NOT_INSTALLED:3}),c=({isActivating:e})=>{const t=e?__("Activating…","jetpack-forms"):__("Installing…","jetpack-forms",0);return React.createElement(o.Button,{variant:"secondary",icon:React.createElement(o.Icon,{style:{animation:"rotation 2s infinite linear"},icon:"update"}),disabled:!0,"aria-label":t},t)},d=({installAndActivateCreativeMailPlugin:e,isInstalling:t})=>React.createElement("p",{className:"jetpack-contact-form__integration-panel"},React.createElement("em",{style:{color:"rgba(38, 46, 57, 0.7)"}},__("To start sending email campaigns, install the Creative Mail plugin for WordPress.","jetpack-forms"),React.createElement("br",null),t&&React.createElement(c,null),!t&&React.createElement(o.Button,{variant:"secondary",onClick:e},__("Install Creative Mail plugin","jetpack-forms")))),u=({activateCreativeMailPlugin:e,isInstalling:t})=>React.createElement("p",{className:"jetpack-contact-form__integration-panel"},React.createElement("em",null,__("To start sending email campaigns, activate the Creative Mail plugin for WordPress.","jetpack-forms")),React.createElement("br",null),t&&React.createElement(c,{isActivating:!0}),!t&&React.createElement(o.Button,{variant:"secondary",onClick:e},__("Activate Creative Mail Plugin","jetpack-forms"))),p=()=>React.createElement("p",null,React.createElement("em",null,__("You’re all setup for email marketing with Creative Mail.","jetpack-forms"),React.createElement("br",null),React.createElement(o.ExternalLink,{href:`${(0,l.get)((0,a.$i)(),"adminUrl",!1)}admin.php?page=creativemail`},__("Open Creative Mail settings","jetpack-forms")))),m=({pluginState:e,onCreativeMailPluginClick:t,isInstalling:r})=>React.createElement("div",{"aria-live":"polite"},s.ACTIVE===e&&React.createElement(p,null),s.INSTALLED===e&&React.createElement(u,{activateCreativeMailPlugin:()=>t(i.Bf,"creative-mail-by-constant-contact/creative-mail-plugin"),isInstalling:r}),s.NOT_INSTALLED===e&&React.createElement(d,{installAndActivateCreativeMailPlugin:()=>t(i.pj,"creative-mail-by-constant-contact"),isInstalling:r}))},6124:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var a=r(6427),o=r(5044),n=r(1807);const l=()=>React.createElement(a.BaseControl,{__nextHasNoMarginBottom:!0},React.createElement(o.A,null),React.createElement(n.A,null))},9364:(e,t,r)=>{"use strict";r.d(t,{A:()=>d,F:()=>c});var a=r(6427),o=r(8468),n=r(7723),l=r(615),i=r(9787),s=r(1097);const __=n.__,c={name:"salesforce-web-to-lead-form",title:__("Salesforce Lead Form","jetpack-forms"),description:__("Add a Salesforce Lead form to your site","jetpack-forms"),icon:(0,s.A)(React.createElement(a.Path,{d:"M10.6778 7.72509C11.1949 7.1895 11.9152 6.8509 12.7094 6.8509C13.7682 6.8509 14.6855 7.4419 15.178 8.31608C15.6028 8.12524 16.0768 8.02059 16.5755 8.02059C18.4839 8.02059 20.0229 9.57811 20.0229 11.4988C20.0229 13.4196 18.4777 14.9771 16.5755 14.9771C16.3415 14.9771 16.1138 14.9525 15.8983 14.9094C15.4674 15.6789 14.6424 16.2022 13.6944 16.2022C13.3004 16.2022 12.9248 16.1099 12.5924 15.9498C12.1553 16.9779 11.1334 17.7043 9.94523 17.7043C8.70783 17.7043 7.64896 16.9225 7.24265 15.8205C7.06412 15.8574 6.87943 15.8759 6.69475 15.8759C5.21725 15.8759 4.02295 14.6693 4.02295 13.1733C4.02295 12.176 4.55854 11.3018 5.35885 10.834C5.19263 10.4584 5.10029 10.0398 5.10029 9.59658C5.09413 7.8913 6.49159 6.5 8.20302 6.5C9.21264 6.5 10.1114 6.98018 10.6778 7.72509Z",fill:(0,i.V)()}),24,24,"0 0 24 24"),innerBlocks:[["jetpack/field-email",{required:!0,label:__("Business Email","jetpack-forms"),id:"email"}],["jetpack/field-name",{required:!0,label:__("First Name","jetpack-forms"),id:"first_name"}],["jetpack/field-name",{required:!0,label:__("Last Name","jetpack-forms"),id:"last_name"}],["jetpack/field-text",{required:!0,label:__("Job Title","jetpack-forms"),id:"title"}],["jetpack/field-text",{required:!0,label:__("Company","jetpack-forms"),id:"company"}],["jetpack/field-telephone",{required:!0,label:__("Phone Number","jetpack-forms"),id:"phone"}],["jetpack/button",{text:__("Submit","jetpack-forms"),element:"button",lock:{remove:!0}}]],attributes:{subject:__("New lead received from your website","jetpack-forms"),salesforceData:{organizationId:"",sendToSalesforce:!0},style:{spacing:{padding:{top:"16px",right:"16px",bottom:"16px",left:"16px"}}}}},d=({salesforceData:e,setAttributes:t,instanceId:r})=>{const[n,i]=(0,o.useState)(!1);return React.createElement(o.Fragment,null,React.createElement(a.PanelBody,{title:__("Salesforce","jetpack-forms"),initialOpen:!0},React.createElement(a.BaseControl,{__nextHasNoMarginBottom:!0},React.createElement(a.TextControl,{label:__("Organization ID","jetpack-forms"),value:e.organizationId||"",placeholder:__("Enter your Organization ID","jetpack-forms"),onBlur:e=>{i(!e.target.value.trim().match(/^[a-zA-Z0-9]{15,18}$/))},onChange:r=>{var a;i(!1),a={organizationId:r.trim()},t({salesforceData:{...e,...a}})},help:__("Enter the Salesforce organization ID to send Leads to.","jetpack-forms"),__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0}),n&&React.createElement(l.A,{isError:!0,id:`contact-form-${r}-email-error`},__("Invalid Organization ID. Should be a 15 – 18 characters long alphanumeric string.","jetpack-forms")),React.createElement(a.ExternalLink,{href:"https://help.salesforce.com/s/articleView?id=000325251&type=1"},__("Where to find your Salesforce Organization ID","jetpack-forms")),React.createElement("p",{style:{"margin-top":"32px",display:"flex","font-size":"12px",gap:"8px"}},React.createElement("div",null,React.createElement("span",{style:{padding:"3px 6px","border-radius":"4px",background:"#2FB41F",color:"white",display:"block","font-weight":600,"font-size":"11px"}},"BETA")),React.createElement("div",null,__("This premium feature is currently free to use as it is in beta.","jetpack-forms"))))))}},1787:(e,t,r)=>{"use strict";r.d(t,{U:()=>o});var a=r(6087);const o=e=>{const t={"--jetpack--contact-form--border-color":e.borderColor,"--jetpack--contact-form--border-radius":(0,a.isNumber)(e.borderRadius)?`${e.borderRadius}px`:null,"--jetpack--contact-form--border-size":(0,a.isNumber)(e.borderWidth)?`${e.borderWidth}px`:null,"--jetpack--contact-form--input-background":e.fieldBackgroundColor,"--jetpack--contact-form--font-size":e.fieldFontSize,"--jetpack--contact-form--line-height":e.lineHeight,"--jetpack--contact-form--text-color":e.inputColor,"--jetpack--contact-form--button-outline--text-color":e.inputColor,"--jetpack--contact-form--button-outline--background-color":e.buttonBackgroundColor,"--jetpack--contact-form--button-outline--border-radius":(0,a.isNumber)(e.buttonBorderRadius)?`${e.buttonBorderRadius}px`:null,"--jetpack--contact-form--button-outline--border-size":(0,a.isNumber)(e.buttonBorderWidth)?`${e.buttonBorderWidth}px`:null},r={color:e.labelColor,fontSize:e.labelFontSize,lineHeight:e.labelLineHeight},o={backgroundColor:e.fieldBackgroundColor,borderColor:e.borderColor,borderRadius:(0,a.isNumber)(e.borderRadius)?e.borderRadius:null,borderWidth:(0,a.isNumber)(e.borderWidth)?e.borderWidth:null,color:e.inputColor,fontSize:e.fieldFontSize,lineHeight:e.lineHeight};return{blockStyle:t,fieldStyle:o,labelStyle:r,optionStyle:{color:o.color,fontSize:o.fontSize,lineHeight:o.lineHeight}}}},4351:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});var a=r(4715),o=r(4997),n=r(7723),l=r(6087),i=r(8575);const __=n.__,s=["submit_button_text","has_form_settings_set","submitButtonText","backgroundButtonColor","textButtonColor","customBackgroundButtonColor","customTextButtonColor","submitButtonClasses","hasFormSettingsSet"],c=[{attributes:{...i.A},supports:{html:!1},save:()=>React.createElement(a.InnerBlocks.Content,null)},{attributes:{submit_button_text:{type:"string",default:__("Submit","jetpack-forms")},has_form_settings_set:{type:"string",default:null},submitButtonText:{type:"string",default:__("Submit","jetpack-forms")},backgroundButtonColor:{type:"string"},textButtonColor:{type:"string"},customBackgroundButtonColor:{type:"string"},customTextButtonColor:{type:"string"},submitButtonClasses:{type:"string"},...i.A},migrate:(e,t)=>{const r=(0,l.omit)(e,s),a={text:e.submitButtonText||e.submit_button_text||__("Submit","jetpack-forms"),backgroundColor:e.backgroundButtonColor,textColor:e.textButtonColor,customBackgroundColor:e.customBackgroundButtonColor,customTextColor:e.customTextButtonColor};return[r,t.concat((0,o.createBlock)("jetpack/button",{element:"button",...a}))]},isEligible:e=>!(!e.has_form_settings_set&&!e.hasFormSettingsSet),save:()=>React.createElement(a.InnerBlocks.Content,null)}]},30:(e,t,r)=>{"use strict";r.d(t,{A:()=>B});var a=r(723),o=r(5985),n=r(4715),l=r(4997),i=r(6427),s=r(9491),c=r(7143),d=r(8468),u=r(7723),p=r(3022),m=r(6087),f=r(1013),h=r(599),b=r(3373),k=r(1465),g=r(186),E=r(7309),C=r(1646),R=r(6124),v=r(9364),j=r(2377),y=r(8152);const __=u.__,A=(0,m.filter)(f.P,(({settings:e})=>!e.parent||"jetpack/contact-form"===e.parent||(0,m.isArray)(e.parent)&&e.parent.includes("jetpack/contact-form"))),w=[...(0,m.map)(A,(e=>`jetpack/${e.name}`)),"core/audio","core/columns","core/group","core/heading","core/html","core/image","core/list","core/paragraph","core/row","core/separator","core/spacer","core/stack","core/subhead","core/video"],x=[...(0,m.map)(A,(e=>`jetpack/${e.name}`))],_=`${(0,m.get)((0,o.$i)(),"adminUrl",!1)}edit.php?post_type=feedback`,S=(0,d.forwardRef)((({attributes:e,setAttributes:t,postAuthorEmail:r,hasInnerBlocks:a,replaceInnerBlocks:s,selectBlock:c,clientId:u,instanceId:f,className:j,blockType:A,variations:S,defaultVariation:B,canUserInstallPlugins:I,style:N},P)=>{const{to:L,subject:M,customThankyou:F,customThankyouHeading:T,customThankyouMessage:$,customThankyouRedirect:O,jetpackCRM:V,salesforceData:H}=e,[D,z]=(0,d.useState)(!1),q=(0,n.useBlockProps)(),{isLoadingModules:G,isChangingStatus:U,isModuleActive:Z,changeStatus:W}=(0,o.q7)("contact-form"),J=(0,p.A)(j,"jetpack-contact-form",{"is-placeholder":!a&&l.registerBlockVariation}),Y=!!window?.Jetpack_Editor_Initial_State?.available_blocks["contact-form/salesforce-lead-form"],X=e=>(0,m.map)(e,(([e,t,r=[]])=>(0,l.createBlock)(e,t,X(r)))),K=e=>{e.attributes&&t(e.attributes),e.innerBlocks&&s(u,X(e.innerBlocks)),c(u)};(0,d.useEffect)((()=>{a||l.registerBlockVariation||K(y.A[0])})),(0,d.useEffect)((()=>{a||!l.registerBlockVariation||D||-1===window.location.search.indexOf("showJetpackFormsPatterns")||z(!0)}),[]);let Q;return Q=Z?!a&&l.registerBlockVariation?React.createElement("div",{className:J},React.createElement(n.__experimentalBlockVariationPicker,{icon:(0,m.get)(A,["icon","src"]),label:(0,m.get)(A,["title"]),instructions:__("Start building a form by selecting one of these form templates, or search in the patterns library for more forms:","jetpack-forms"),variations:(0,m.filter)(S,(e=>!e.hiddenFromPicker)),onSelect:(e=B)=>{K(e)}}),React.createElement("div",{className:"form-placeholder__footer"},React.createElement(i.Button,{variant:"secondary",onClick:()=>z(!0)},__("Explore Form Patterns","jetpack-forms")),React.createElement("div",{className:"form-placeholder__footer-links"},React.createElement(i.Button,{variant:"link",className:"form-placeholder__external-link",href:"https://jetpack.com/support/jetpack-blocks/contact-form/",target:"_blank"},__("Learn more about customizing forms","jetpack-forms")),React.createElement(i.Button,{variant:"link",className:"form-placeholder__external-link",href:_,target:"_blank"},__("View and export your form responses here","jetpack-forms")))),D&&React.createElement(i.Modal,{className:"form-placeholder__patterns-modal",title:__("Choose a pattern","jetpack-forms"),closeLabel:__("Cancel","jetpack-forms"),onRequestClose:()=>z(!1)},React.createElement(n.__experimentalBlockPatternSetup,{initialViewMode:"grid",filterPatternsFn:e=>-1!==e.content.indexOf("jetpack/contact-form"),clientId:u}))):React.createElement(React.Fragment,null,React.createElement(n.InspectorControls,null,!e.formTitle&&React.createElement(i.PanelBody,null,React.createElement(i.Notice,{status:"warning",isDismissible:!1},__("Add a heading inside the form or before it to help everybody identify it.","jetpack-forms"))," "),React.createElement(i.PanelBody,{title:__("Manage Responses","jetpack-forms")},React.createElement(C.A,{setAttributes:t})),React.createElement(i.PanelBody,{title:__("Submission Settings","jetpack-forms"),initialOpen:!1},React.createElement(React.Fragment,null,React.createElement(h.A,null,__("Customize the view after form submission:","jetpack-forms")),React.createElement(i.SelectControl,{label:__("On Submission","jetpack-forms"),value:F,options:[{label:__("Show a summary of submitted fields","jetpack-forms"),value:""},{label:__("Show a custom text message","jetpack-forms"),value:"message"},{label:__("Redirect to another webpage","jetpack-forms"),value:"redirect"}],onChange:e=>t({customThankyou:e}),__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0}),"redirect"!==F&&React.createElement(i.TextControl,{label:__("Message Heading","jetpack-forms"),value:T,placeholder:__("Your message has been sent","jetpack-forms"),onChange:e=>t({customThankyouHeading:e}),__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0}),"message"===F&&React.createElement(i.TextareaControl,{label:__("Message Text","jetpack-forms"),value:$,placeholder:__("Thank you for your submission!","jetpack-forms"),onChange:e=>t({customThankyouMessage:e}),__nextHasNoMarginBottom:!0}),"redirect"===F&&React.createElement("div",null,React.createElement(n.URLInput,{label:__("Redirect Address","jetpack-forms"),value:O,className:"jetpack-contact-form__thankyou-redirect-url",onChange:e=>t({customThankyouRedirect:e})})))),React.createElement(i.PanelBody,{title:__("Email Connection","jetpack-forms")},React.createElement(E.A,{emailAddress:L,emailSubject:M,instanceId:f,postAuthorEmail:r,setAttributes:t})),Y&&H?.sendToSalesforce&&React.createElement(v.A,{salesforceData:H,setAttributes:t,instanceId:f}),!((0,o.Sy)()||(0,o.d9)())&&React.createElement(d.Fragment,null,I&&React.createElement(i.PanelBody,{title:__("CRM Connection","jetpack-forms"),initialOpen:!1},React.createElement(g.A,{jetpackCRM:V,setAttributes:t})),React.createElement(i.PanelBody,{title:__("Creative Mail","jetpack-forms"),initialOpen:!1},React.createElement(R.A,null)))),React.createElement("div",{className:J,style:N,ref:P},React.createElement(n.InnerBlocks,{allowedBlocks:w,prioritizedInserterBlocks:x,templateInsertUpdatesSelection:!1}))):G?React.createElement(k.A,null):React.createElement(b.o,{changeStatus:W,isModuleActive:Z,isLoading:U}),React.createElement("div",q,Q)})),B=(0,s.compose)([(0,c.withSelect)(((e,t)=>{const{getBlockType:r,getBlockVariations:a,getDefaultBlockVariation:o}=e("core/blocks"),{getBlocks:n}=e("core/block-editor"),{getEditedPostAttribute:l}=e("core/editor"),{getUser:i,canUser:s}=e("core"),c=n(t.clientId),d=l("author"),u=d&&i(d)&&i(d).email,p=s("create","plugins"),m=c.find((e=>"jetpack/button"===e.name));if(m&&!m.attributes.lock){const e={move:!1,remove:!0};m.attributes.lock=e}return{blockType:r&&r(t.name),canUserInstallPlugins:p,defaultVariation:o&&o(t.name,"block"),variations:a&&a(t.name,"block"),innerBlocks:c,hasInnerBlocks:c.length>0,postAuthorEmail:u}})),(0,c.withDispatch)((e=>{const{replaceInnerBlocks:t,selectBlock:r}=e("core/block-editor");return{replaceInnerBlocks:t,selectBlock:r}})),s.withInstanceId,e=>t=>React.createElement(a.Ay,null,React.createElement(e,t))])((0,j.d)(S))},5620:(e,t,r)=>{"use strict";r.d(t,{U:()=>m,W:()=>h});var a=r(4715),o=r(6427),n=r(7723),l=r(8575),i=r(4351),s=r(30),c=r(6779),d=r(9787),u=r(1097),p=r(8152);const __=n.__,_x=n._x,m="contact-form",f=(0,u.A)(React.createElement(React.Fragment,null,React.createElement(o.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M18 9H13V7.5H18V9Z",fill:(0,d.V)()}),React.createElement(o.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M18 16.5H13V15H18V16.5Z",fill:(0,d.V)()}),React.createElement(o.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M9.5 7.5H7.5V9.5H9.5V7.5ZM7.5 6H9.5C10.3284 6 11 6.67157 11 7.5V9.5C11 10.3284 10.3284 11 9.5 11H7.5C6.67157 11 6 10.3284 6 9.5V7.5C6 6.67157 6.67157 6 7.5 6Z",fill:(0,d.V)()}),React.createElement(o.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M9.5 14.5H7.5V16.5H9.5V14.5ZM7.5 13H9.5C10.3284 13 11 13.6716 11 14.5V16.5C11 17.3284 10.3284 18 9.5 18H7.5C6.67157 18 6 17.3284 6 16.5V14.5C6 13.6716 6.67157 13 7.5 13Z",fill:(0,d.V)()}),React.createElement(o.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M19 4.5H5C4.72386 4.5 4.5 4.72386 4.5 5V19C4.5 19.2761 4.72386 19.5 5 19.5H19C19.2761 19.5 19.5 19.2761 19.5 19V5C19.5 4.72386 19.2761 4.5 19 4.5ZM5 3C3.89543 3 3 3.89543 3 5V19C3 20.1046 3.89543 21 5 21H19C20.1046 21 21 20.1046 21 19V5C21 3.89543 20.1046 3 19 3H5Z",fill:(0,d.V)()}))),h={apiVersion:3,title:__("Form","jetpack-forms"),description:__("Create forms to collect data from site visitors and manage their responses.","jetpack-forms"),icon:f,keywords:[_x("email","block search term","jetpack-forms"),_x("feedback","block search term","jetpack-forms"),_x("contact form","block search term","jetpack-forms")],supports:{color:{link:!0,gradients:!0},html:!1,spacing:{padding:!0,margin:!0},align:["wide","full"]},attributes:l.A,edit:s.A,save:()=>{const e=a.useBlockProps.save();return React.createElement("div",e,React.createElement(a.InnerBlocks.Content,null))},example:{innerBlocks:[{name:"jetpack/field-name",attributes:{required:!0,label:__("Name","jetpack-forms")}},{name:"jetpack/field-email",attributes:{required:!0,label:__("Email","jetpack-forms")}},{name:"jetpack/field-textarea",attributes:{label:__("Message","jetpack-forms")}},{name:"jetpack/button",attributes:{text:__("Contact Us","jetpack-forms"),element:"button",lock:{remove:!0}}}]},styles:[{name:"default",label:"Default",isDefault:!0},{name:"animated",label:"Animated"},{name:"outlined",label:"Outlined"}],variations:p.A,category:"contact-form",transforms:c.A,deprecated:i.A}},6779:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var a=r(4997),o=r(7723),n=r(6087);const __=o.__,l=(e,t,r)=>{const a=r.match(new RegExp(`\\[${e}[^\\]]* ${t}="([^"]*)"`,"im"));if(a&&a.length)return a[1];const o=r.match(new RegExp(`\\[${e}[^\\]]* ${t}='([^']*)'`,"im"));if(o&&o.length)return o[1];const n=r.match(new RegExp(`\\[${e}[^\\]]* ${t}=([^\\s]*)\\s`,"im"));return!(!n||!n.length)&&n[1]},i={root:{},innerBlocks:[]},s={from:[{type:"raw",priority:1,isMatch:e=>!("P"!==e.nodeName||!(/\[contact-form(\s.*?)?\](?:([^\[]+)?)?/g.test(e.textContent)||/\[contact-field(\s.*?)?\](?:([^\[]+)?)?/g.test(e.textContent)||/\[\/contact-form]/g.test(e.textContent))),transform:e=>{const t=e.textContent.replace("
","");if(t.includes("[contact-form")&&(i.root={},i.innerBlocks=[],i.root=(e=>{const t={to:l("contact-form","to",e),subject:l("contact-form","subject",e),submitButtonText:l("contact-form","submit_button_text",e)};return{blockName:"jetpack/contact-form",attrs:(0,n.pickBy)(t,n.identity)}})(t)),t.includes("[contact-field")){const e=t.match(/(\[contact-field[\s\S]*?\/?])/g);e&&e.length>0&&e.forEach((e=>{i.innerBlocks.push((e=>{const t={label:l("contact-field","label",e),placeholder:l("contact-field","placeholder",e),required:l("contact-field","required",e),options:l("contact-field","options",e)},r=(e=>{const t="jetpack",r={text:`${t}/field-text`,url:`${t}/field-text`,textarea:`${t}/field-textarea`,radio:`${t}/field-radio`,checkbox:`${t}/field-checkbox`,"checkbox-multiple":`${t}/field-checkbox-multiple`,select:`${t}/field-select`,email:`${t}/field-email`,name:`${t}/field-name`,default:`${t}/field-text`};return r[e]?r[e]:r.default})(l("contact-field","type",e));return t.options&&(t.options=t.options.split(",")),(0,a.createBlock)(r,(0,n.pickBy)(t,n.identity))})(e))}))}if(t.includes("[/contact-form]")){i.innerBlocks.push((0,a.createBlock)("jetpack/button",{element:"button",text:i.root.attrs.submitButtonText||__("Contact Us","jetpack-forms")}));return(0,a.createBlock)(i.root.blockName,i.root.attrs,i.innerBlocks)}return!1}}],to:[{type:"block",blocks:["jetpack/subscriptions"],transform:()=>(0,a.createBlock)("jetpack/subscriptions")}]}},9787:(e,t,r)=>{"use strict";r.d(t,{V:()=>l});var a=r(8377),o=r(5985);const n=a.T["Jetpack Green 40"];function l(){return(0,o.d9)()||(0,o.Sy)()?null:n}},8882:(e,t,r)=>{"use strict";r.d(t,{B:()=>o});var a=r(4997);function o(){return(0,a.hasBlockSupport)("core/paragraph","splitting",!1)}},2386:(e,t,r)=>{"use strict";r.d(t,{J:()=>a});const a=e=>{const t=e.ownerDocument.defaultView.getSelection();if(0===t.rangeCount)return 0;const r=t.getRangeAt(0),a=r.cloneRange();return a.selectNodeContents(e),a.setEnd(r.endContainer,r.endOffset),a.toString().length}},2453:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});var a=r(6087);const o=(e,t,r,o)=>setTimeout((()=>{(0,a.tap)(e.querySelectorAll(t)[r],(e=>{if(e&&(e.focus(),document.createRange&&o)){const t=document.createRange();t.selectNodeContents(e),t.collapse(!1);const r=document.defaultView.getSelection();r.removeAllRanges(),r.addRange(t)}}))}),0)},2962:()=>{window.jetpackForms=window.jetpackForms||{},window.jetpackForms.getBackgroundColor=function(e){let t=window.getComputedStyle(e).backgroundColor;for(;"rgba(0, 0, 0, 0)"===t&&e.parentNode&&e.parentNode.nodeType===window.Node.ELEMENT_NODE;)if("wp-block-cover"!==(e=e.parentNode).className)t=window.getComputedStyle(e).backgroundColor;else{const r=e.querySelector(".wp-block-cover__background");t=window.getComputedStyle(r).backgroundColor}return t},window.jetpackForms.generateStyleVariables=function(e){if(!e)return;const t=window["editor-canvas"]?window["editor-canvas"].document:document,r=t.querySelector("body"),a=t.createElement("div");a.className="contact-form__style-probe",a.style="position: absolute; z-index: -1; width: 1px; height: 1px; visibility: hidden",a.innerHTML='\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t
\n\t\t',e.parentNode.appendChild(a);const o=a.querySelector(".btn-primary"),n=a.querySelector(".btn-outline"),l=a.querySelector('input[type="text"]'),i=window.jetpackForms.getBackgroundColor(r),s=window.jetpackForms.getBackgroundColor(l),c=window.getComputedStyle(l).backgroundColor,{border:d,borderColor:u,backgroundColor:p,color:m}=window.getComputedStyle(o),{backgroundColor:f,border:h,borderWidth:b,borderRadius:k,color:g,padding:E,lineHeight:C}=window.getComputedStyle(n),R=window.jetpackForms.getBackgroundColor(n),{color:v,padding:j,paddingTop:y,paddingLeft:A,border:w,borderColor:x,borderWidth:_,borderStyle:S,borderRadius:B,fontSize:I,fontFamily:N,lineHeight:P}=window.getComputedStyle(l);return a.remove(),{"--jetpack--contact-form--primary-color":p,"--jetpack--contact-form--background-color":i,"--jetpack--contact-form--text-color":v,"--jetpack--contact-form--border":w,"--jetpack--contact-form--border-color":x,"--jetpack--contact-form--border-size":_,"--jetpack--contact-form--border-style":S,"--jetpack--contact-form--border-radius":B,"--jetpack--contact-form--input-background":c,"--jetpack--contact-form--input-background-fallback":s,"--jetpack--contact-form--input-padding":j,"--jetpack--contact-form--input-padding-top":y,"--jetpack--contact-form--input-padding-left":A,"--jetpack--contact-form--font-size":I,"--jetpack--contact-form--font-family":N,"--jetpack--contact-form--line-height":P,"--jetpack--contact-form--button-primary--color":m,"--jetpack--contact-form--button-primary--background-color":p,"--jetpack--contact-form--button-primary--border":d,"--jetpack--contact-form--button-primary--border-color":u,"--jetpack--contact-form--button-outline--padding":E,"--jetpack--contact-form--button-outline--border":h,"--jetpack--contact-form--button-outline--background-color":f,"--jetpack--contact-form--button-outline--background-color-fallback":R,"--jetpack--contact-form--button-outline--border-size":b,"--jetpack--contact-form--button-outline--border-radius":k,"--jetpack--contact-form--button-outline--text-color":g,"--jetpack--contact-form--button-outline--line-height":C}}},1663:(e,t,r)=>{"use strict";r.d(t,{BV:()=>p,DR:()=>d,pC:()=>c,zD:()=>u});var a=r(4715),o=r(4997),n=r(7143),l=r(8468),i=r(7723);const __=i.__,s="jetpack/contact-form",c={ANIMATED:"animated",BELOW:"below",DEFAULT:"default",OUTLINED:"outlined"},d=({attributes:e,clientId:t,name:r})=>{const i={text:__("Submit","jetpack-forms"),element:"button",lock:{remove:!0}},{replaceBlock:c}=(0,n.useDispatch)(a.store),d=(0,n.useSelect)((e=>e(a.store).getBlockParentsByBlockName(t,s)));(0,l.useEffect)((()=>{d?.length||c(t,(0,o.createBlock)(s,{},[(0,o.createBlock)(r,e),(0,o.createBlock)("jetpack/button",i)]))}),[])},u=e=>{const t=e&&e.match(/is-style-([^\s]+)/i);return t?t[1]:""},p=e=>{const t=(0,n.useSelect)((t=>{const[r]=t(a.store).getBlockParentsByBlockName(e,s);return t(a.store).getBlockAttributes(r)}));return u(t?.className)||c.DEFAULT}},6691:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var a=r(4997);function o(e,t){return e.label||(0,a.getBlockType)(t).title}},9771:(e,t,r)=>{"use strict";function a(e,t){return{...e,...t,supports:{...e.supports,...t.supports},attributes:{...e.attributes,...t.attributes}}}r.d(t,{A:()=>a})},1620:(e,t,r)=>{"use strict";r.d(t,{Bf:()=>s,pj:()=>i,xy:()=>l});var a=r(5985),o=r(1455),n=r.n(o);async function l(){if((0,a.Sy)())return Promise.reject();try{return await n()({path:"/jetpack/v4/plugins"})}catch(e){return Promise.reject(e.message)}}async function i(e){if((0,a.Sy)())return Promise.reject();try{return await n()({path:"/jetpack/v4/plugins",method:"POST",data:{slug:e,status:"active",source:"block-editor"}})}catch(e){return Promise.reject(e.message)}}async function s(e){if((0,a.Sy)())return Promise.reject();try{return await n()({path:`/jetpack/v4/plugins/${e}`,method:"POST",data:{status:"active",source:"block-editor"}})}catch(e){return Promise.reject(e.message)}}},2399:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});var a=r(5985),o=r(4997);function n(e,t,r=[],n=!0){const{available:l,details:i,unavailableReason:s}=(0,a.FB)(e),c=(0,a.aq)(s,i),d=n?"jetpack/":"";if(!l&&!c)return!1;const u=(0,o.registerBlockType)(d+e,t);return r.forEach((e=>(0,o.registerBlockType)(d+e.name,e.settings))),u}},1097:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var a=r(6427);const o=(e,t=24,r=24,o="0 0 24 24")=>React.createElement(a.SVG,{xmlns:"http://www.w3.org/2000/svg",width:t,height:r,viewBox:o},React.createElement(a.Path,{fill:"none",d:"M0 0h24v24H0V0z",className:"icon-filler"}),e)},2233:(e,t,r)=>{"use strict";r.d(t,{F:()=>n});var a=r(7143),o=r(6087);const n=e=>(0,a.useSelect)((t=>{const r=t("core/block-editor");return r.getBlockAttributes((0,o.first)(r.getBlockParents(e,!0)))}))},8890:(e,t,r)=>{"use strict";r.d(t,{H:()=>s});var a=r(6072),o=r.n(a),n=r(7143),l=r(8468),i=r(6087);const s=e=>t=>({attributes:r,clientId:a,setAttributes:s,...c})=>{const d=(({attributes:e,clientId:t,setAttributes:r,sharedAttributes:a})=>{const{updateBlockAttributes:o}=(0,n.useDispatch)("core/block-editor"),s=(0,n.useSelect)((e=>{const r=e("core/block-editor"),a=(0,i.first)(r.getBlockParentsByBlockName(t,"jetpack/contact-form"));return(0,i.filter)(r.getBlocks(a),(e=>e.name.indexOf("jetpack/field")>-1&&e.attributes.shareFieldAttributes))}),[t]);return(0,l.useEffect)((()=>{if(!(0,i.isEmpty)(s)&&e.shareFieldAttributes){const e=(0,i.pick)((0,i.first)(s).attributes,a);o([t],e)}}),[]),(0,l.useCallback)((n=>{let l,c;e.shareFieldAttributes&&(0,i.isNil)(n.shareFieldAttributes)?(l=(0,i.map)(s,(e=>e.clientId)),c=(0,i.pick)(n,a)):n.shareFieldAttributes&&!(0,i.isEmpty)(s)&&(l=[t],c=(0,i.pick)((0,i.first)(s).attributes,a)),(0,i.isEmpty)(l)||(0,i.isEmpty)(c)||o(l,c),r(n)}),[e,t,r,a,s,o])})({attributes:r,clientId:a,setAttributes:s,sharedAttributes:e});return React.createElement(t,o()({attributes:r,clientId:a,setAttributes:d},c))}},2377:(e,t,r)=>{"use strict";r.d(t,{d:()=>l});var a=r(6072),o=r.n(a),n=(r(2962),r(8468));const l=e=>t=>{const{generateStyleVariables:r}=window.jetpackForms,a=(0,n.useRef)(void 0);return React.createElement(e,o()({style:r(a?.current)},t,{ref:a}))}},8152:(e,t,r)=>{"use strict";r.d(t,{A:()=>p});var a=r(5985),o=r(6427),n=r(7723),l=r(3407),i=r(6087),s=r(9364),c=r(9787),d=r(1097);const __=n.__,_x=n._x,u={style:{spacing:{padding:{top:"16px",right:"16px",bottom:"16px",left:"16px"}}}},p=(0,i.compact)([{name:"contact-form",title:__("Contact Form","jetpack-forms"),description:__("Add a contact form to your page.","jetpack-forms"),icon:(0,d.A)(React.createElement(React.Fragment,null,React.createElement(o.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M12 5.3203L6.6477 9L12 12.6797L17.3523 9L12 5.3203ZM12 3.5L4 9L12 14.5L20 9L12 3.5Z",fill:(0,c.V)()}),React.createElement(o.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M4 18V9H5.5V18C5.5 18.4142 5.83579 18.75 6.25 18.75H17.75C18.1642 18.75 18.5 18.4142 18.5 18V9H20V18C20 19.2426 18.9926 20.25 17.75 20.25H6.25C5.00736 20.25 4 19.2426 4 18Z",fill:(0,c.V)()})),24,24,"0 0 24 24"),innerBlocks:[["jetpack/field-name",{required:!0,label:__("Name","jetpack-forms")}],["jetpack/field-email",{required:!0,label:__("Email","jetpack-forms")}],["jetpack/field-textarea",{label:__("Message","jetpack-forms")}],["jetpack/button",{text:__("Contact Us","jetpack-forms"),element:"button",lock:{remove:!0}}]],attributes:{...u}},{name:"rsvp-form",title:__("RSVP Form","jetpack-forms"),description:__("Add an RSVP form to your page","jetpack-forms"),icon:(0,d.A)(React.createElement(React.Fragment,null,React.createElement(o.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M7.87868 15.5L5.5 17.8787L5.5 6C5.5 5.72386 5.72386 5.5 6 5.5L18 5.5C18.2761 5.5 18.5 5.72386 18.5 6L18.5 15C18.5 15.2761 18.2761 15.5 18 15.5L7.87868 15.5ZM8.5 17L18 17C19.1046 17 20 16.1046 20 15L20 6C20 4.89543 19.1046 4 18 4L6 4C4.89543 4 4 4.89543 4 6L4 18.9393C4 19.5251 4.47487 20 5.06066 20C5.34196 20 5.61175 19.8883 5.81066 19.6893L8.5 17Z",fill:(0,c.V)()}),React.createElement(o.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M15.6087 7.93847L11.4826 13.6692L8.45898 10.5196L9.54107 9.48084L11.3175 11.3313L14.3914 7.06201L15.6087 7.93847Z",fill:(0,c.V)()})),24,24,"0 0 24 24"),innerBlocks:[["jetpack/field-name",{required:!0,label:__("Name","jetpack-forms")}],["jetpack/field-email",{required:!0,label:__("Email","jetpack-forms")}],["jetpack/field-radio",{label:__("Attending?","jetpack-forms"),required:!0,options:[__("Yes","jetpack-forms"),__("No","jetpack-forms")]}],["jetpack/field-textarea",{label:__("Other Details","jetpack-forms")}],["jetpack/button",{text:__("Send RSVP","jetpack-forms"),element:"button",lock:{remove:!0}}]],attributes:{...u,subject:__("A new RSVP from your website","jetpack-forms")}},{name:"registration-form",title:__("Registration Form","jetpack-forms"),description:__("Add a Registration form to your page","jetpack-forms"),icon:(0,d.A)(React.createElement(React.Fragment,null,React.createElement(o.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M18.5 5.5V8H20V5.5H22.5V4H20V1.5H18.5V4H16V5.5H18.5ZM12 4H6C4.89543 4 4 4.89543 4 6V18C4 19.1046 4.89543 20 6 20H18C19.1046 20 20 19.1046 20 18V12H18.5V18C18.5 18.2761 18.2761 18.5 18 18.5H6C5.72386 18.5 5.5 18.2761 5.5 18V6C5.5 5.72386 5.72386 5.5 6 5.5H12V4Z",fill:(0,c.V)()}),React.createElement(o.Path,{d:"M16.75 17.5V15.5C16.75 13.9812 15.5188 12.75 14 12.75H10C8.48122 12.75 7.25 13.9812 7.25 15.5V17.5H8.75V15.5C8.75 14.8096 9.30964 14.25 10 14.25H14C14.6904 14.25 15.25 14.8096 15.25 15.5V17.5H16.75Z",fill:(0,c.V)()}),React.createElement(o.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M14.5 9C14.5 10.3807 13.3807 11.5 12 11.5C10.6193 11.5 9.5 10.3807 9.5 9C9.5 7.61929 10.6193 6.5 12 6.5C13.3807 6.5 14.5 7.61929 14.5 9ZM13 9C13 9.55228 12.5523 10 12 10C11.4477 10 11 9.55228 11 9C11 8.44772 11.4477 8 12 8C12.5523 8 13 8.44772 13 9Z",fill:(0,c.V)()})),24,24,"0 0 24 24"),innerBlocks:[["jetpack/field-name",{required:!0,label:__("Name","jetpack-forms")}],["jetpack/field-email",{required:!0,label:__("Email","jetpack-forms")}],["jetpack/field-telephone",{label:__("Phone","jetpack-forms")}],["jetpack/field-select",{label:__("How did you hear about us?","jetpack-forms"),options:[__("Search Engine","jetpack-forms"),__("Social Media","jetpack-forms"),__("TV","jetpack-forms"),__("Radio","jetpack-forms"),__("Friend or Family","jetpack-forms")]}],["jetpack/field-textarea",{label:__("Other Details","jetpack-forms")}],["jetpack/button",{text:__("Send","jetpack-forms"),element:"button",lock:{remove:!0}}]],attributes:{...u,subject:__("A new registration from your website","jetpack-forms")}},{name:"appointment-form",title:__("Appointment Form","jetpack-forms"),description:__("Add an Appointment booking form to your page","jetpack-forms"),icon:(0,d.A)(React.createElement(React.Fragment,null,React.createElement(o.Path,{d:"M4 6C4 4.89543 4.89543 4 6 4H18C19.1046 4 20 4.89543 20 6V8H4V6Z",fill:(0,c.V)()}),React.createElement(o.Path,{d:"M7 9.25H11V13.25H7V9.25Z",fill:(0,c.V)()}),React.createElement(o.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M6 5.5H18C18.2761 5.5 18.5 5.72386 18.5 6V12H20V6C20 4.89543 19.1046 4 18 4H6C4.89543 4 4 4.89543 4 6V18C4 19.1046 4.89543 20 6 20H12V18.5H6C5.72386 18.5 5.5 18.2761 5.5 18V6C5.5 5.72386 5.72386 5.5 6 5.5Z",fill:(0,c.V)()}),React.createElement(o.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M17.25 21V15H18.75V21H17.25Z",fill:(0,c.V)()}),React.createElement(o.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M15 17.25L21 17.25L21 18.75L15 18.75L15 17.25Z",fill:(0,c.V)()})),24,24,"0 0 24 24"),innerBlocks:[["jetpack/field-name",{required:!0,label:__("Name","jetpack-forms")}],["jetpack/field-email",{required:!0,label:__("Email","jetpack-forms")}],["jetpack/field-telephone",{required:!0,label:__("Phone","jetpack-forms")}],["jetpack/field-date",{label:__("Date","jetpack-forms"),required:!0}],["jetpack/field-radio",{label:__("Time","jetpack-forms"),required:!0,options:[__("Morning","jetpack-forms"),__("Afternoon","jetpack-forms")]}],["jetpack/field-textarea",{label:__("Notes","jetpack-forms")}],["jetpack/button",{text:__("Book Appointment","jetpack-forms"),element:"button",lock:{remove:!0}}]],attributes:{...u,subject:__("A new appointment booked from your website","jetpack-forms")}},{name:"feedback-form",title:__("Feedback Form","jetpack-forms"),description:__("Add a Feedback form to your page","jetpack-forms"),icon:(0,d.A)(React.createElement(React.Fragment,null,React.createElement(o.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M12 18.5C15.5899 18.5 18.5 15.5899 18.5 12C18.5 8.41015 15.5899 5.5 12 5.5C8.41015 5.5 5.5 8.41015 5.5 12C5.5 15.5899 8.41015 18.5 12 18.5ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20Z",fill:(0,c.V)()}),React.createElement(o.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M9.5 11C10.3284 11 11 10.3284 11 9.5C11 8.67157 10.3284 8 9.5 8C8.67157 8 8 8.67157 8 9.5C8 10.3284 8.67157 11 9.5 11Z",fill:(0,c.V)()}),React.createElement(o.Path,{d:"M16 9.5C16 10.3284 15.3284 11 14.5 11C13.6716 11 13 10.3284 13 9.5C13 8.67157 13.6716 8 14.5 8C15.3284 8 16 8.67157 16 9.5Z",fill:(0,c.V)()}),React.createElement(o.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M14.5 11C15.3284 11 16 10.3284 16 9.5C16 8.67157 15.3284 8 14.5 8C13.6716 8 13 8.67157 13 9.5C13 10.3284 13.6716 11 14.5 11Z",fill:(0,c.V)()}),React.createElement(o.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M8.16492 14.6566L7.41431 13.7183L8.58561 12.7812L9.33622 13.7195C9.98358 14.5287 10.9637 14.9998 12 14.9998C13.0362 14.9998 14.0163 14.5287 14.6637 13.7195L15.4143 12.7812L16.5856 13.7183L15.835 14.6566C14.903 15.8216 13.4919 16.4998 12 16.4998C10.508 16.4998 9.09693 15.8216 8.16492 14.6566Z",fill:(0,c.V)()})),24,24,"0 0 24 24"),innerBlocks:[["jetpack/field-name",{required:!0,label:__("Name","jetpack-forms")}],["jetpack/field-email",{required:!0,label:__("Email","jetpack-forms")}],["jetpack/field-radio",{label:__("Please rate our website","jetpack-forms"),required:!0,options:[__("1 - Very Bad","jetpack-forms"),__("2 - Poor","jetpack-forms"),__("3 - Average","jetpack-forms"),__("4 - Good","jetpack-forms"),__("5 - Excellent","jetpack-forms")]}],["jetpack/field-textarea",{label:__("How could we improve?","jetpack-forms")}],["jetpack/button",{text:__("Send Feedback","jetpack-forms"),element:"button",lock:{remove:!0}}]],attributes:{...u,subject:__("New feedback received from your website","jetpack-forms")}},!((0,a.d9)()||(0,a.Sy)())&&{name:"lead-capture-form",title:__("Lead capture","jetpack-forms"),description:__("A simple way to collect leads using forms on your site.","jetpack-forms"),keywords:[_x("subscribe","block search term","jetpack-forms"),_x("email","block search term","jetpack-forms"),_x("signup","block search term","jetpack-forms")],icon:l.A,innerBlocks:[["jetpack/field-name",{required:!0,label:__("Name","jetpack-forms")}],["jetpack/field-email",{required:!0,label:__("Email","jetpack-forms")}],["jetpack/field-consent",{}],["jetpack/button",{text:__("Subscribe","jetpack-forms"),element:"button",lock:{remove:!0}}]],attributes:{...u}},s.F])},67:(e,t,r)=>{t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const r="color: "+this.color;t.splice(1,0,r,"color: inherit");let a=0,o=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(a++,"%c"===e&&(o=a))})),t.splice(o,0,r)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let e;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=r(8926)(t);const{formatters:a}=e.exports;a.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},8926:(e,t,r)=>{e.exports=function(e){function t(e){let r,o,n,l=null;function i(...e){if(!i.enabled)return;const a=i,o=Number(new Date),n=o-(r||o);a.diff=n,a.prev=r,a.curr=o,r=o,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let l=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((r,o)=>{if("%%"===r)return"%";l++;const n=t.formatters[o];if("function"==typeof n){const t=e[l];r=n.call(a,t),e.splice(l,1),l--}return r})),t.formatArgs.call(a,e);(a.log||t.log).apply(a,e)}return i.namespace=e,i.useColors=t.useColors(),i.color=t.selectColor(e),i.extend=a,i.destroy=t.destroy,Object.defineProperty(i,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==l?l:(o!==t.namespaces&&(o=t.namespaces,n=t.enabled(e)),n),set:e=>{l=e}}),"function"==typeof t.init&&t.init(i),i}function a(e,r){const a=t(this.namespace+(void 0===r?":":r)+e);return a.log=this.log,a}function o(e,t){let r=0,a=0,o=-1,n=0;for(;r"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){t.save(e),t.namespaces=e,t.names=[],t.skips=[];const r=("string"==typeof e?e:"").trim().replace(" ",",").split(",").filter(Boolean);for(const e of r)"-"===e[0]?t.skips.push(e.slice(1)):t.names.push(e)},t.enabled=function(e){for(const r of t.skips)if(o(e,r))return!1;for(const r of t.names)if(o(e,r))return!0;return!1},t.humanize=r(7378),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach((r=>{t[r]=e[r]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let r=0;for(let t=0;t{"use strict";t.A=function(e){var t=e.size,r=void 0===t?24:t,a=e.onClick,i=(e.icon,e.className),s=function(e,t){if(null==e)return{};var r,a,o=function(e,t){if(null==e)return{};var r,a,o={},n=Object.keys(e);for(a=0;a{"use strict";e.exports=window.JetpackConnection},1609:e=>{"use strict";e.exports=window.React},790:e=>{"use strict";e.exports=window.ReactJSXRuntime},6087:e=>{"use strict";e.exports=window.lodash},1455:e=>{"use strict";e.exports=window.wp.apiFetch},4715:e=>{"use strict";e.exports=window.wp.blockEditor},4997:e=>{"use strict";e.exports=window.wp.blocks},6427:e=>{"use strict";e.exports=window.wp.components},9491:e=>{"use strict";e.exports=window.wp.compose},7143:e=>{"use strict";e.exports=window.wp.data},8468:e=>{"use strict";e.exports=window.wp.element},2619:e=>{"use strict";e.exports=window.wp.hooks},7723:e=>{"use strict";e.exports=window.wp.i18n},2279:e=>{"use strict";e.exports=window.wp.plugins},5573:e=>{"use strict";e.exports=window.wp.primitives},3832:e=>{"use strict";e.exports=window.wp.url},6072:e=>{function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";function a(e){var t,r,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e)){var n=e.length;for(t=0;to});const o=function(){for(var e,t,r=0,o="",n=arguments.length;r{"use strict";e.exports=JSON.parse('{"T":{"White":"#fff","Black":"#000","Gray":"#646970","Gray 0":"#f6f7f7","Gray 5":"#dcdcde","Gray 10":"#c3c4c7","Gray 20":"#a7aaad","Gray 30":"#8c8f94","Gray 40":"#787c82","Gray 50":"#646970","Gray 60":"#50575e","Gray 70":"#3c434a","Gray 80":"#2c3338","Gray 90":"#1d2327","Gray 100":"#101517","Blue":"#0675c4","Blue 0":"#e9f0f5","Blue 5":"#bbe0fa","Blue 10":"#91caf2","Blue 20":"#68b3e8","Blue 30":"#399ce3","Blue 40":"#1689db","Blue 50":"#0675c4","Blue 60":"#055d9c","Blue 70":"#044b7a","Blue 80":"#02395c","Blue 90":"#01283d","Blue 100":"#001621","Purple":"#984a9c","Purple 0":"#f2e9ed","Purple 5":"#ebcee0","Purple 10":"#e3afd5","Purple 20":"#d48fc8","Purple 30":"#c475bd","Purple 40":"#b35eb1","Purple 50":"#984a9c","Purple 60":"#7c3982","Purple 70":"#662c6e","Purple 80":"#4d2054","Purple 90":"#35163b","Purple 100":"#1e0c21","Pink":"#c9356e","Pink 0":"#f5e9ed","Pink 5":"#f2ceda","Pink 10":"#f7a8c3","Pink 20":"#f283aa","Pink 30":"#eb6594","Pink 40":"#e34c84","Pink 50":"#c9356e","Pink 60":"#ab235a","Pink 70":"#8c1749","Pink 80":"#700f3b","Pink 90":"#4f092a","Pink 100":"#260415","Red":"#d63638","Red 0":"#f7ebec","Red 5":"#facfd2","Red 10":"#ffabaf","Red 20":"#ff8085","Red 30":"#f86368","Red 40":"#e65054","Red 50":"#d63638","Red 60":"#b32d2e","Red 70":"#8a2424","Red 80":"#691c1c","Red 90":"#451313","Red 100":"#240a0a","Orange":"#b26200","Orange 0":"#f5ece6","Orange 5":"#f7dcc6","Orange 10":"#ffbf86","Orange 20":"#faa754","Orange 30":"#e68b28","Orange 40":"#d67709","Orange 50":"#b26200","Orange 60":"#8a4d00","Orange 70":"#704000","Orange 80":"#543100","Orange 90":"#361f00","Orange 100":"#1f1200","Yellow":"#9d6e00","Yellow 0":"#f5f1e1","Yellow 5":"#f5e6b3","Yellow 10":"#f2d76b","Yellow 20":"#f0c930","Yellow 30":"#deb100","Yellow 40":"#c08c00","Yellow 50":"#9d6e00","Yellow 60":"#7d5600","Yellow 70":"#674600","Yellow 80":"#4f3500","Yellow 90":"#320","Yellow 100":"#1c1300","Green":"#008a20","Green 0":"#e6f2e8","Green 5":"#b8e6bf","Green 10":"#68de86","Green 20":"#1ed15a","Green 30":"#00ba37","Green 40":"#00a32a","Green 50":"#008a20","Green 60":"#007017","Green 70":"#005c12","Green 80":"#00450c","Green 90":"#003008","Green 100":"#001c05","Celadon":"#008763","Celadon 0":"#e4f2ed","Celadon 5":"#a7e8d3","Celadon 10":"#66deb9","Celadon 20":"#31cc9f","Celadon 30":"#09b585","Celadon 40":"#009e73","Celadon 50":"#008763","Celadon 60":"#007053","Celadon 70":"#005c44","Celadon 80":"#004533","Celadon 90":"#003024","Celadon 100":"#001c15","Automattic Blue":"#24a3e0","Automattic Blue 0":"#ebf4fa","Automattic Blue 5":"#c4e2f5","Automattic Blue 10":"#88ccf2","Automattic Blue 20":"#5ab7e8","Automattic Blue 30":"#24a3e0","Automattic Blue 40":"#1490c7","Automattic Blue 50":"#0277a8","Automattic Blue 60":"#036085","Automattic Blue 70":"#02506e","Automattic Blue 80":"#02384d","Automattic Blue 90":"#022836","Automattic Blue 100":"#021b24","WordPress Blue":"#3858e9","WordPress Blue 0":"#fbfcfe","WordPress Blue 5":"#f7f8fe","WordPress Blue 10":"#d6ddf9","WordPress Blue 20":"#adbaf3","WordPress Blue 30":"#7b90ff","WordPress Blue 40":"#546ff3","WordPress Blue 50":"#3858e9","WordPress Blue 60":"#2a46ce","WordPress Blue 70":"#1d35b4","WordPress Blue 80":"#1f3286","WordPress Blue 90":"#14215a","WordPress Blue 100":"#0a112d","Simplenote Blue":"#3361cc","Simplenote Blue 0":"#e9ecf5","Simplenote Blue 5":"#ced9f2","Simplenote Blue 10":"#abc1f5","Simplenote Blue 20":"#84a4f0","Simplenote Blue 30":"#618df2","Simplenote Blue 40":"#4678eb","Simplenote Blue 50":"#3361cc","Simplenote Blue 60":"#1d4fc4","Simplenote Blue 70":"#113ead","Simplenote Blue 80":"#0d2f85","Simplenote Blue 90":"#09205c","Simplenote Blue 100":"#05102e","WooCommerce Purple":"#720eec","WooCommerce Purple 0":"#f2edff","WooCommerce Purple 5":"#e1d7ff","WooCommerce Purple 10":"#d1c1ff","WooCommerce Purple 20":"#b999ff","WooCommerce Purple 30":"#a77eff","WooCommerce Purple 40":"#873eff","WooCommerce Purple 50":"#720eec","WooCommerce Purple 60":"#6108ce","WooCommerce Purple 70":"#5007aa","WooCommerce Purple 80":"#3c087e","WooCommerce Purple 90":"#2c045d","WooCommerce Purple 100":"#1f0342","Jetpack Green":"#069e08","Jetpack Green 0":"#f0f2eb","Jetpack Green 5":"#d0e6b8","Jetpack Green 10":"#9dd977","Jetpack Green 20":"#64ca43","Jetpack Green 30":"#2fb41f","Jetpack Green 40":"#069e08","Jetpack Green 50":"#008710","Jetpack Green 60":"#007117","Jetpack Green 70":"#005b18","Jetpack Green 80":"#004515","Jetpack Green 90":"#003010","Jetpack Green 100":"#001c09"}}')}},t={};function r(a){var o=t[a];if(void 0!==o)return o.exports;var n=t[a]={exports:{}};return e[a](n,n.exports,r),n.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var a in t)r.o(t,a)&&!r.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";var e=r(1013),t=r(2399),a=r(5620);(0,t.A)(a.U,a.W,e.P)})()})(); \ No newline at end of file +label:__("YYYY-MM-DD","jetpack-forms"),example:`${m}-12-31`}],h=(0,n.compose)((0,c.H)(["borderRadius","borderWidth","labelFontSize","fieldFontSize","lineHeight","labelLineHeight","inputColor","labelColor","fieldBackgroundColor","borderColor"]))((e=>{const{attributes:t,clientId:r,isSelected:n,name:l,setAttributes:c}=e,{id:m,label:h,required:b,requiredText:k,width:g,placeholder:E,dateFormat:C}=t;(0,s.DR)({attributes:t,clientId:r,name:l});const{blockStyle:R,fieldStyle:v}=(0,p.U)(t),j=(0,s.BV)(r),y=(0,a.useBlockProps)({className:(0,i.A)("jetpack-field",{"is-selected":n,"has-placeholder":!!E}),style:R});return React.createElement(React.Fragment,null,React.createElement("div",y,React.createElement(d.A,{attributes:t,label:h,suffix:`(${f.find((e=>e.value===C))?.label})`,required:b,requiredText:k,setAttributes:c,style:j}),React.createElement("input",{className:"jetpack-field__input",onChange:e=>c({placeholder:e.target.value}),style:v,type:"text",value:E})),React.createElement(u.A,{id:m,required:b,width:g,setAttributes:c,placeholder:E,attributes:t,extraFieldSettings:[{index:1,element:React.createElement(o.SelectControl,{key:"date-format",label:__("Date Format","jetpack-forms"),options:f.map((({value:e,label:t,example:r})=>({value:e,label:`${t} (${r})`}))),onChange:e=>c({dateFormat:e}),value:t.dateFormat,help:__("Select the format in which the date will be displayed.","jetpack-forms"),__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0})}]}))}))},4506:(e,t,r)=>{"use strict";r.d(t,{A:()=>b});var a=r(4715),o=r(9491),n=r(8468),l=r(7723),i=r(3022),s=r(6087),c=r(2386),u=r(2453),d=r(1663),p=r(8890),m=r(1713),f=r(6869),h=r(1787);const __=l.__,b=(0,o.compose)((0,p.H)(["borderRadius","borderWidth","labelFontSize","fieldFontSize","lineHeight","labelLineHeight","inputColor","labelColor","fieldBackgroundColor","borderColor"]))((({attributes:e,clientId:t,isSelected:r,name:o,setAttributes:l})=>{const{id:p,label:b,options:k,required:g,requiredText:E,toggleLabel:C,width:R}=e,v=(0,n.useRef)(void 0),j=(0,d.BV)(t),{blockStyle:y}=(0,h.U)(e),A=(0,a.useBlockProps)({className:(0,i.A)("jetpack-field jetpack-field-dropdown",{"is-selected":r,"has-placeholder":!(0,s.isEmpty)(C)}),style:y});(0,d.DR)({attributes:e,clientId:t,name:o});const w=(e,t)=>(0,u.Z)(v.current,"[role=textbox]",e,t),x=(t,r)=>{const a=[...e.options],o=""!==r[r.length-1];a[t]&&(a[t]=r.shift(),t++),a.splice(t,0,...r),l({options:a}),w(t+r.length-1,o)},_=e=>t=>{const r=(0,s.split)(t,"\n").filter((e=>e&&""!==(0,s.trim)(e)));r.length&&(r.length>1?x(e,r):((e,t)=>{const r=[...k];r[e]=t,l({options:r}),w(e)})(e,r.pop()))},S=t=>r=>{if("Enter"!==r.key)return;r.preventDefault();const a=e.options[t];if(!a)return;const o=(0,c.J)(r.target),n=o?a.slice(o):"";x(t,n?[a.slice(0,o),n]:[a,""])},B=t=>()=>{if(1===e.options.length)return;const r=[...e.options];r.splice(t,1),l({options:r}),w(Math.max(t-1,0),!0)};return(0,n.useEffect)((()=>{(0,s.isNil)(b)&&l({label:""}),(0,s.isNil)(C)&&l({toggleLabel:__("Select one option","jetpack-forms")})}),[]),React.createElement("div",A,React.createElement("div",{className:"jetpack-field-dropdown__wrapper"},React.createElement(f.A,{required:g,requiredText:E,label:b,attributes:e,setAttributes:l,isSelected:r,style:j}),React.createElement("div",{className:"jetpack-field-dropdown__toggle"},React.createElement(a.RichText,{value:C,onChange:e=>{l({toggleLabel:e})},allowedFormats:["core/bold","core/italic"],withoutInteractiveFormatting:!0}),React.createElement("span",{className:"jetpack-field-dropdown__icon"}))),r&&React.createElement("div",{className:"jetpack-field-dropdown__popover",ref:v},k.map(((e,t)=>React.createElement(a.RichText,{key:t,value:e,onChange:_(t),onKeyDown:S(t),onRemove:B(t),onReplace:s.noop,placeholder:__("Add option…","jetpack-forms"),__unstableDisableFormats:!0})))),React.createElement(m.A,{id:p,required:g,attributes:e,setAttributes:l,width:R,placeholder:C,placeholderField:"toggleLabel",type:"dropdown"}))}))},6869:(e,t,r)=>{"use strict";r.d(t,{A:()=>d});var a=r(6072),o=r.n(a),n=r(4715),l=r(7723),i=r(3022),s=r(1663),c=r(1787);const __=l.__,u=({attributes:e,className:t,label:r,suffix:a,labelFieldName:o,placeholder:l,resetFocus:s,required:u,requiredText:d,setAttributes:p})=>{const{labelStyle:m}=(0,c.U)(e);return React.createElement("div",{className:(0,i.A)(t,"jetpack-field-label"),style:m},React.createElement(n.RichText,{tagName:"label",value:r,className:"jetpack-field-label__input",onChange:e=>{s&&s(),p(o?{[o]:e}:{label:e})},placeholder:l??__("Add label…","jetpack-forms"),withoutInteractiveFormatting:!0,allowedFormats:["core/bold","core/italic"]}),a&&React.createElement("span",{className:"jetpack-field-label__suffix"},a),u&&React.createElement(n.RichText,{tagName:"span",value:d||__("(required)","jetpack-forms"),className:"required",onChange:e=>{p({requiredText:e})},withoutInteractiveFormatting:!0,allowedFormats:["core/bold","core/italic"]}))},d=e=>{const{style:t}=e,r=(0,i.A)({"notched-label__label":t===s.pC.OUTLINED,"animated-label__label":t===s.pC.ANIMATED,"below-label__label":t===s.pC.BELOW});return t===s.pC.OUTLINED?React.createElement("div",{className:"notched-label"},React.createElement("div",{className:"notched-label__leading"}),React.createElement("div",{className:"notched-label__notch"},React.createElement(u,o()({className:r},e))),React.createElement("div",{className:"notched-label__trailing"})):React.createElement(u,o()({className:r},e))}},2438:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var a=r(6072),o=r.n(a),n=r(6563);function l(e){return React.createElement(n.A,o()({},e,{type:"checkbox"}))}},3052:(e,t,r)=>{"use strict";r.d(t,{A:()=>u});var a=r(6427),o=r(7723),n=r(9787),l=r(1097),i=r(8230),s=r(2438),c=r(1747);const __=o.__,u={name:"field-checkbox-multiple",settings:{...i.A,title:__("Multiple Choice (Checkbox)","jetpack-forms"),keywords:[__("Choose Multiple","jetpack-forms"),__("Option","jetpack-forms")],description:__("Offer users a list of choices, and allow them to select multiple options.","jetpack-forms"),icon:(0,l.A)(React.createElement(a.Path,{fill:(0,n.V)(),d:"M7.0812 10.1419L10.6001 5.45005L9.40006 4.55005L6.91891 7.85824L5.53039 6.46972L4.46973 7.53038L7.0812 10.1419ZM12 8.5H20V7H12V8.5ZM12 17H20V15.5H12V17ZM8.5 14.5H5.5V17.5H8.5V14.5ZM5.5 13H8.5C9.32843 13 10 13.6716 10 14.5V17.5C10 18.3284 9.32843 19 8.5 19H5.5C4.67157 19 4 18.3284 4 17.5V14.5C4 13.6716 4.67157 13 5.5 13Z"})),edit:s.A,save:c.A,allowedBlocks:["jetpack/field-option-checkbox"],attributes:{label:{type:"string",default:"Choose several options"}}}}},2496:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var a=r(6072),o=r.n(a),n=r(9659);function l(e){return React.createElement(n.A,o()({},e,{type:"checkbox"}))}},358:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});var a=r(6427),o=r(7723),n=r(9787),l=r(1097),i=r(4414),s=r(2496);const __=o.__,c={name:"field-option-checkbox",settings:{...i.A,title:__("Multiple Choice Option","jetpack-forms"),parent:["jetpack/field-checkbox-multiple"],icon:(0,l.A)(React.createElement(React.Fragment,null,React.createElement(a.Path,{d:"M5.5 10.5H8.5V13.5H5.5V10.5ZM8.5 9H5.5C4.67157 9 4 9.67157 4 10.5V13.5C4 14.3284 4.67157 15 5.5 15H8.5C9.32843 15 10 14.3284 10 13.5V10.5C10 9.67157 9.32843 9 8.5 9ZM12 12.75H20V11.25H12V12.75Z",fill:(0,n.V)()}))),edit:s.A}}},1747:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var a=r(4715);const o=()=>React.createElement("div",a.useBlockProps.save(),React.createElement(a.InnerBlocks.Content,null))},9678:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var a=r(6072),o=r.n(a),n=r(6563);function l(e){return React.createElement(n.A,o()({},e,{type:"radio"}))}},5700:(e,t,r)=>{"use strict";r.d(t,{A:()=>d});var a=r(6427),o=r(8468),n=r(7723),l=r(9787),i=r(1097),s=r(8230),c=r(9678),u=r(8891);const __=n.__,d={name:"field-radio",settings:{...s.A,title:__("Single Choice (Radio)","jetpack-forms"),keywords:[__("Choose","jetpack-forms"),__("Select","jetpack-forms"),__("Option","jetpack-forms")],description:__("Offer users a list of choices, and allow them to select a single option.","jetpack-forms"),icon:(0,i.A)(React.createElement(o.Fragment,null,React.createElement(a.Path,{fill:(0,l.V)(),d:"M4 7.75C4 9.40685 5.34315 10.75 7 10.75C8.65685 10.75 10 9.40685 10 7.75C10 6.09315 8.65685 4.75 7 4.75C5.34315 4.75 4 6.09315 4 7.75ZM20 8.5H12V7H20V8.5ZM20 17H12V15.5H20V17ZM7 17.75C6.17157 17.75 5.5 17.0784 5.5 16.25C5.5 15.4216 6.17157 14.75 7 14.75C7.82843 14.75 8.5 15.4216 8.5 16.25C8.5 17.0784 7.82843 17.75 7 17.75ZM4 16.25C4 17.9069 5.34315 19.25 7 19.25C8.65685 19.25 10 17.9069 10 16.25C10 14.5931 8.65685 13.25 7 13.25C5.34315 13.25 4 14.5931 4 16.25Z"}))),edit:c.A,save:u.A,allowedBlocks:["jetpack/field-option-radio"],attributes:{label:{type:"string",default:"Choose one option"}}}}},9864:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var a=r(6072),o=r.n(a),n=r(9659);function l(e){return React.createElement(n.A,o()({},e,{type:"radio"}))}},5214:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});var a=r(6427),o=r(7723),n=r(9787),l=r(1097),i=r(4414),s=r(9864);const __=o.__,c={name:"field-option-radio",settings:{...i.A,title:__("Single Choice Option","jetpack-forms"),parent:["jetpack/field-radio"],icon:(0,l.A)(React.createElement(a.Path,{d:"M7.5 13.5C6.67157 13.5 6 12.8284 6 12C6 11.1716 6.67157 10.5 7.5 10.5C8.32843 10.5 9 11.1716 9 12C9 12.8284 8.32843 13.5 7.5 13.5ZM4.5 12C4.5 13.6569 5.84315 15 7.5 15C9.15685 15 10.5 13.6569 10.5 12C10.5 10.3431 9.15685 9 7.5 9C5.84315 9 4.5 10.3431 4.5 12ZM12.5 12.75H20.5V11.25H12.5V12.75Z",fill:(0,n.V)()})),edit:s.A}}},8891:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var a=r(4715);const o=()=>React.createElement("div",a.useBlockProps.save(),React.createElement(a.InnerBlocks.Content,null))},7817:(e,t,r)=>{"use strict";r.d(t,{A:()=>m});var a=r(4715),o=r(9491),n=r(8468),l=r(3022),i=r(6087),s=r(1663),c=r(8890),u=r(1713),d=r(6869),p=r(1787);const m=(0,o.compose)((0,c.H)(["borderRadius","borderWidth","labelFontSize","fieldFontSize","lineHeight","labelLineHeight","inputColor","labelColor","fieldBackgroundColor","borderColor"]))((e=>{const{attributes:t,clientId:r,id:o,isSelected:c,required:m,requiredText:f,label:h,setAttributes:b,placeholder:k,width:g}=e,E=(0,s.BV)(r),{blockStyle:C,fieldStyle:R}=(0,p.U)(t),v=(0,a.useBlockProps)({className:(0,l.A)("jetpack-field jetpack-field-textarea",{"is-selected":c,"has-placeholder":!(0,i.isEmpty)(k)}),style:C});return(0,n.useEffect)((()=>{(0,i.isNil)(h)&&b({label:""})}),[]),React.createElement(React.Fragment,null,React.createElement("div",v,React.createElement(d.A,{clientId:r,required:m,requiredText:f,label:h,setAttributes:b,attributes:t,style:E}),React.createElement("textarea",{className:"jetpack-field__textarea",value:k,onChange:e=>b({placeholder:e.target.value}),style:R})),React.createElement(u.A,{id:o,required:m,setAttributes:b,width:g,placeholder:k,attributes:t}))}))},975:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var a=r(6427),o=r(7723);const __=o.__,n=[25,50,75,100];function l({setAttributes:e,width:t}){return React.createElement(a.BaseControl,{help:__("Adjust the width of the field to include multiple fields on a single line.","jetpack-forms"),__nextHasNoMarginBottom:!0},React.createElement(a.__experimentalToggleGroupControl,{__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0,"aria-label":__("Width","jetpack-forms"),isBlock:!0,label:__("Width","jetpack-forms"),onChange:t=>e({width:t}),value:t},n.map((e=>React.createElement(a.__experimentalToggleGroupControlOption,{key:e,label:`${e}%`,value:e})))))}},1978:(e,t,r)=>{"use strict";r.d(t,{A:()=>h});var a=r(6072),o=r.n(a),n=r(4715),l=r(9491),i=r(2619),s=r(3022),c=r(6087),u=r(1663),d=r(8890),p=r(1713),m=r(6869),f=r(1787);const h=(0,l.compose)((0,d.H)(["borderRadius","borderWidth","labelFontSize","fieldFontSize","lineHeight","labelLineHeight","inputColor","labelColor","fieldBackgroundColor","borderColor"]))((e=>{const{attributes:t,clientId:r,id:a,isSelected:o,required:l,requiredText:i,label:d,setAttributes:h,placeholder:b,width:k}=e,{blockStyle:g,fieldStyle:E}=(0,f.U)(t),C=(0,u.BV)(r),R=(0,n.useBlockProps)({className:(0,s.A)("jetpack-field",{"is-selected":o,"has-placeholder":!(0,c.isEmpty)(b)}),style:g});return React.createElement(React.Fragment,null,React.createElement("div",R,React.createElement(m.A,{attributes:t,label:d,required:l,requiredText:i,setAttributes:h,style:C}),React.createElement("input",{className:"jetpack-field__input",onChange:e=>h({placeholder:e.target.value}),style:E,type:"text",value:b})),React.createElement(p.A,{id:a,required:l,width:k,setAttributes:h,placeholder:b,attributes:t}))})),b=(0,l.createHigherOrderComponent)((e=>t=>{if(t.name.indexOf("jetpack/field")>-1){const r=t.attributes.width?"jetpack-field__width-"+t.attributes.width:"";return React.createElement(e,o()({},t,{className:r}))}return React.createElement(e,t)}),"withCustomClassName");(0,i.addFilter)("editor.BlockListBlock","jetpack/contact-form",b)},1646:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});var a=r(5985),o=r(6427),n=r(7723),l=r(6087),i=r(599);const __=n.__,s=`${(0,l.get)((0,a.$i)(),"adminUrl",!1)}edit.php?post_type=feedback`,c=()=>React.createElement(React.Fragment,null,React.createElement(i.A,null,__("Manage and export your form responses in WPAdmin:","jetpack-forms")),React.createElement(o.Button,{variant:"secondary",href:s,target:"_blank"},__("View Form Responses","jetpack-forms"),React.createElement("span",{className:"screen-reader-text"},__("(opens in a new tab)","jetpack-forms"))))},5044:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});var a=r(4997),o=r(6427),n=r(7143),l=r(8468),i=r(7723);const __=i.__,s=()=>{const{insertConsentBlock:e}=(()=>{const e=(0,n.useSelect)((e=>e("core/block-editor").getSelectedBlock()),[]),{insertBlock:t}=(0,n.useDispatch)("core/block-editor");return{insertConsentBlock:(0,l.useCallback)((async()=>{let r=(e.innerBlocks??[]).findIndex((({name:e})=>"jetpack/button"===e));-1===r&&(r=(e.innerBlocks??[]).length);const o=await(0,a.createBlock)("jetpack/field-consent");await t(o,r,e.clientId,!1)}),[t,e.clientId,e.innerBlocks])}})();return React.createElement(React.Fragment,null,React.createElement("p",null,__("You’re already collecting email contacts. Why not make sure you have permission to email them too?","jetpack-forms")),React.createElement(o.Button,{variant:"secondary",onClick:e,style:{marginBottom:"1em"}},__("Add email permission request","jetpack-forms")),React.createElement("br",null))},c=()=>{const e=(0,n.useSelect)((e=>e("core/block-editor").getSelectedBlock()),[]);return(0,l.useMemo)((()=>(e=>{const t=e.some((({name:e})=>"jetpack/field-email"===e)),r=e.some((({name:e})=>"jetpack/field-consent"===e));return!!t&&!r})(e.innerBlocks)),[e.innerBlocks])?React.createElement(s,null):null}},1807:(e,t,r)=>{"use strict";r.d(t,{A:()=>p});var a=r(6427),o=r(8468),n=r(6087),l=r(1620),i=r(6607),s=r(3842);const c="creative-mail-by-constant-contact/creative-mail-plugin.php",u=({pluginState:e,setPluginState:t})=>{const[r,a]=(0,o.useState)(),[n,l]=(0,o.useState)(!1),c=((e,t,r)=>(0,o.useCallback)(((a,o)=>{e(void 0),t(!0),a(o).then((()=>{r(s.G.ACTIVE)})).catch((t=>{e(t)})).finally((()=>t(!1)))}),[t,e,r]))(a,l,t);return r?React.createElement(i.A,{error:r}):React.createElement(s.A,{pluginState:e,onCreativeMailPluginClick:c,isInstalling:n})},d=({isFetchingPlugins:e,hasError:t,pluginState:r,setPluginState:o})=>e?React.createElement(a.Spinner,null):t?null:React.createElement(u,{pluginState:r,setPluginState:o}),p=()=>{const[e,t]=(0,o.useState)(!0),[r,a]=(0,o.useState)(!1),[i,u]=(0,o.useState)(s.G.NOT_INSTALLED);return(0,o.useEffect)((()=>{(0,l.xy)().then((e=>{a(!1),(0,n.get)(e,c)&&((0,n.get)(e,[c,"active"])?u(s.G.ACTIVE):u(s.G.INSTALLED))})).catch((()=>a(!0))).finally((()=>t(!1)))}),[u,t,a]),React.createElement(d,{isFetchingPlugins:e,hasError:r,pluginState:i,setPluginState:u})}},6607:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var a=r(6427),o=r(8468),n=r(7723);const __=n.__,l=({error:e})=>React.createElement(a.Notice,{isDismissible:!1,status:"error"},(0,o.createInterpolateElement)(__("The plugin failed to install. Please check the plugin information for detailed requirements.","jetpack-forms"),{a:React.createElement(a.ExternalLink,{href:"https://wordpress.org/plugins/creative-mail-by-constant-contact"}),b:React.createElement("span",null,e)}))},3842:(e,t,r)=>{"use strict";r.d(t,{A:()=>m,G:()=>s});var a=r(5985),o=r(6427),n=r(7723),l=r(6087),i=r(1620);const __=n.__,s=Object.freeze({ACTIVE:1,INSTALLED:2,NOT_INSTALLED:3}),c=({isActivating:e})=>{const t=e?__("Activating…","jetpack-forms"):__("Installing…","jetpack-forms",0);return React.createElement(o.Button,{variant:"secondary",icon:React.createElement(o.Icon,{style:{animation:"rotation 2s infinite linear"},icon:"update"}),disabled:!0,"aria-label":t},t)},u=({installAndActivateCreativeMailPlugin:e,isInstalling:t})=>React.createElement("p",{className:"jetpack-contact-form__integration-panel"},React.createElement("em",{style:{color:"rgba(38, 46, 57, 0.7)"}},__("To start sending email campaigns, install the Creative Mail plugin for WordPress.","jetpack-forms"),React.createElement("br",null),t&&React.createElement(c,null),!t&&React.createElement(o.Button,{variant:"secondary",onClick:e},__("Install Creative Mail plugin","jetpack-forms")))),d=({activateCreativeMailPlugin:e,isInstalling:t})=>React.createElement("p",{className:"jetpack-contact-form__integration-panel"},React.createElement("em",null,__("To start sending email campaigns, activate the Creative Mail plugin for WordPress.","jetpack-forms")),React.createElement("br",null),t&&React.createElement(c,{isActivating:!0}),!t&&React.createElement(o.Button,{variant:"secondary",onClick:e},__("Activate Creative Mail Plugin","jetpack-forms"))),p=()=>React.createElement("p",null,React.createElement("em",null,__("You’re all setup for email marketing with Creative Mail.","jetpack-forms"),React.createElement("br",null),React.createElement(o.ExternalLink,{href:`${(0,l.get)((0,a.$i)(),"adminUrl",!1)}admin.php?page=creativemail`},__("Open Creative Mail settings","jetpack-forms")))),m=({pluginState:e,onCreativeMailPluginClick:t,isInstalling:r})=>React.createElement("div",{"aria-live":"polite"},s.ACTIVE===e&&React.createElement(p,null),s.INSTALLED===e&&React.createElement(d,{activateCreativeMailPlugin:()=>t(i.Bf,"creative-mail-by-constant-contact/creative-mail-plugin"),isInstalling:r}),s.NOT_INSTALLED===e&&React.createElement(u,{installAndActivateCreativeMailPlugin:()=>t(i.pj,"creative-mail-by-constant-contact"),isInstalling:r}))},6124:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var a=r(6427),o=r(5044),n=r(1807);const l=()=>React.createElement(a.BaseControl,{__nextHasNoMarginBottom:!0},React.createElement(o.A,null),React.createElement(n.A,null))},9364:(e,t,r)=>{"use strict";r.d(t,{A:()=>u,F:()=>c});var a=r(6427),o=r(8468),n=r(7723),l=r(615),i=r(9787),s=r(1097);const __=n.__,c={name:"salesforce-web-to-lead-form",title:__("Salesforce Lead Form","jetpack-forms"),description:__("Add a Salesforce Lead form to your site","jetpack-forms"),icon:(0,s.A)(React.createElement(a.Path,{d:"M10.6778 7.72509C11.1949 7.1895 11.9152 6.8509 12.7094 6.8509C13.7682 6.8509 14.6855 7.4419 15.178 8.31608C15.6028 8.12524 16.0768 8.02059 16.5755 8.02059C18.4839 8.02059 20.0229 9.57811 20.0229 11.4988C20.0229 13.4196 18.4777 14.9771 16.5755 14.9771C16.3415 14.9771 16.1138 14.9525 15.8983 14.9094C15.4674 15.6789 14.6424 16.2022 13.6944 16.2022C13.3004 16.2022 12.9248 16.1099 12.5924 15.9498C12.1553 16.9779 11.1334 17.7043 9.94523 17.7043C8.70783 17.7043 7.64896 16.9225 7.24265 15.8205C7.06412 15.8574 6.87943 15.8759 6.69475 15.8759C5.21725 15.8759 4.02295 14.6693 4.02295 13.1733C4.02295 12.176 4.55854 11.3018 5.35885 10.834C5.19263 10.4584 5.10029 10.0398 5.10029 9.59658C5.09413 7.8913 6.49159 6.5 8.20302 6.5C9.21264 6.5 10.1114 6.98018 10.6778 7.72509Z",fill:(0,i.V)()}),24,24,"0 0 24 24"),innerBlocks:[["jetpack/field-email",{required:!0,label:__("Business Email","jetpack-forms"),id:"email"}],["jetpack/field-name",{required:!0,label:__("First Name","jetpack-forms"),id:"first_name"}],["jetpack/field-name",{required:!0,label:__("Last Name","jetpack-forms"),id:"last_name"}],["jetpack/field-text",{required:!0,label:__("Job Title","jetpack-forms"),id:"title"}],["jetpack/field-text",{required:!0,label:__("Company","jetpack-forms"),id:"company"}],["jetpack/field-telephone",{required:!0,label:__("Phone Number","jetpack-forms"),id:"phone"}],["jetpack/button",{text:__("Submit","jetpack-forms"),element:"button",lock:{remove:!0}}]],attributes:{subject:__("New lead received from your website","jetpack-forms"),salesforceData:{organizationId:"",sendToSalesforce:!0},style:{spacing:{padding:{top:"16px",right:"16px",bottom:"16px",left:"16px"}}}}},u=({salesforceData:e,setAttributes:t,instanceId:r})=>{const[n,i]=(0,o.useState)(!1);return React.createElement(o.Fragment,null,React.createElement(a.PanelBody,{title:__("Salesforce","jetpack-forms"),initialOpen:!0},React.createElement(a.BaseControl,{__nextHasNoMarginBottom:!0},React.createElement(a.TextControl,{label:__("Organization ID","jetpack-forms"),value:e.organizationId||"",placeholder:__("Enter your Organization ID","jetpack-forms"),onBlur:e=>{i(!e.target.value.trim().match(/^[a-zA-Z0-9]{15,18}$/))},onChange:r=>{var a;i(!1),a={organizationId:r.trim()},t({salesforceData:{...e,...a}})},help:__("Enter the Salesforce organization ID to send Leads to.","jetpack-forms"),__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0}),n&&React.createElement(l.A,{isError:!0,id:`contact-form-${r}-email-error`},__("Invalid Organization ID. Should be a 15 – 18 characters long alphanumeric string.","jetpack-forms")),React.createElement(a.ExternalLink,{href:"https://help.salesforce.com/s/articleView?id=000325251&type=1"},__("Where to find your Salesforce Organization ID","jetpack-forms")),React.createElement("p",{style:{"margin-top":"32px",display:"flex","font-size":"12px",gap:"8px"}},React.createElement("div",null,React.createElement("span",{style:{padding:"3px 6px","border-radius":"4px",background:"#2FB41F",color:"white",display:"block","font-weight":600,"font-size":"11px"}},"BETA")),React.createElement("div",null,__("This premium feature is currently free to use as it is in beta.","jetpack-forms"))))))}},1787:(e,t,r)=>{"use strict";r.d(t,{U:()=>o});var a=r(6087);const o=e=>{const t={"--jetpack--contact-form--border-color":e.borderColor,"--jetpack--contact-form--border-radius":(0,a.isNumber)(e.borderRadius)?`${e.borderRadius}px`:null,"--jetpack--contact-form--border-size":(0,a.isNumber)(e.borderWidth)?`${e.borderWidth}px`:null,"--jetpack--contact-form--input-background":e.fieldBackgroundColor,"--jetpack--contact-form--font-size":e.fieldFontSize,"--jetpack--contact-form--line-height":e.lineHeight,"--jetpack--contact-form--text-color":e.inputColor,"--jetpack--contact-form--button-outline--text-color":e.inputColor,"--jetpack--contact-form--button-outline--background-color":e.buttonBackgroundColor,"--jetpack--contact-form--button-outline--border-radius":(0,a.isNumber)(e.buttonBorderRadius)?`${e.buttonBorderRadius}px`:null,"--jetpack--contact-form--button-outline--border-size":(0,a.isNumber)(e.buttonBorderWidth)?`${e.buttonBorderWidth}px`:null},r={color:e.labelColor,fontSize:e.labelFontSize,lineHeight:e.labelLineHeight},o={backgroundColor:e.fieldBackgroundColor,borderColor:e.borderColor,borderRadius:(0,a.isNumber)(e.borderRadius)?e.borderRadius:null,borderWidth:(0,a.isNumber)(e.borderWidth)?e.borderWidth:null,color:e.inputColor,fontSize:e.fieldFontSize,lineHeight:e.lineHeight};return{blockStyle:t,fieldStyle:o,labelStyle:r,optionStyle:{color:o.color,fontSize:o.fontSize,lineHeight:o.lineHeight}}}},4351:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});var a=r(4715),o=r(4997),n=r(7723),l=r(6087),i=r(8575);const __=n.__,s=["submit_button_text","has_form_settings_set","submitButtonText","backgroundButtonColor","textButtonColor","customBackgroundButtonColor","customTextButtonColor","submitButtonClasses","hasFormSettingsSet"],c=[{attributes:{...i.A},supports:{html:!1},save:()=>React.createElement(a.InnerBlocks.Content,null)},{attributes:{submit_button_text:{type:"string",default:__("Submit","jetpack-forms")},has_form_settings_set:{type:"string",default:null},submitButtonText:{type:"string",default:__("Submit","jetpack-forms")},backgroundButtonColor:{type:"string"},textButtonColor:{type:"string"},customBackgroundButtonColor:{type:"string"},customTextButtonColor:{type:"string"},submitButtonClasses:{type:"string"},...i.A},migrate:(e,t)=>{const r=(0,l.omit)(e,s),a={text:e.submitButtonText||e.submit_button_text||__("Submit","jetpack-forms"),backgroundColor:e.backgroundButtonColor,textColor:e.textButtonColor,customBackgroundColor:e.customBackgroundButtonColor,customTextColor:e.customTextButtonColor};return[r,t.concat((0,o.createBlock)("jetpack/button",{element:"button",...a}))]},isEligible:e=>!(!e.has_form_settings_set&&!e.hasFormSettingsSet),save:()=>React.createElement(a.InnerBlocks.Content,null)}]},30:(e,t,r)=>{"use strict";r.d(t,{A:()=>B});var a=r(723),o=r(5985),n=r(4715),l=r(4997),i=r(6427),s=r(9491),c=r(7143),u=r(8468),d=r(7723),p=r(3022),m=r(6087),f=r(1013),h=r(599),b=r(3373),k=r(1465),g=r(186),E=r(7309),C=r(1646),R=r(6124),v=r(9364),j=r(2377),y=r(8152);const __=d.__,A=(0,m.filter)(f.P,(({settings:e})=>!e.parent||"jetpack/contact-form"===e.parent||(0,m.isArray)(e.parent)&&e.parent.includes("jetpack/contact-form"))),w=[...(0,m.map)(A,(e=>`jetpack/${e.name}`)),"core/audio","core/columns","core/group","core/heading","core/html","core/image","core/list","core/paragraph","core/row","core/separator","core/spacer","core/stack","core/subhead","core/video"],x=[...(0,m.map)(A,(e=>`jetpack/${e.name}`))],_=`${(0,m.get)((0,o.$i)(),"adminUrl",!1)}edit.php?post_type=feedback`,S=(0,u.forwardRef)((({attributes:e,setAttributes:t,postAuthorEmail:r,hasInnerBlocks:a,replaceInnerBlocks:s,selectBlock:c,clientId:d,instanceId:f,className:j,blockType:A,variations:S,defaultVariation:B,canUserInstallPlugins:I,style:N},P)=>{const{to:M,subject:L,customThankyou:F,customThankyouHeading:T,customThankyouMessage:$,customThankyouRedirect:O,jetpackCRM:V,salesforceData:H}=e,[D,z]=(0,u.useState)(!1),q=(0,n.useBlockProps)(),{isLoadingModules:G,isChangingStatus:U,isModuleActive:Z,changeStatus:W}=(0,o.q7)("contact-form"),J=(0,p.A)(j,"jetpack-contact-form",{"is-placeholder":!a&&l.registerBlockVariation}),Y=!!window?.Jetpack_Editor_Initial_State?.available_blocks["contact-form/salesforce-lead-form"],X=e=>(0,m.map)(e,(([e,t,r=[]])=>(0,l.createBlock)(e,t,X(r)))),K=e=>{e.attributes&&t(e.attributes),e.innerBlocks&&s(d,X(e.innerBlocks)),c(d)};(0,u.useEffect)((()=>{a||l.registerBlockVariation||K(y.A[0])})),(0,u.useEffect)((()=>{a||!l.registerBlockVariation||D||-1===window.location.search.indexOf("showJetpackFormsPatterns")||z(!0)}),[]);let Q;return Q=Z?!a&&l.registerBlockVariation?React.createElement("div",{className:J},React.createElement(n.__experimentalBlockVariationPicker,{icon:(0,m.get)(A,["icon","src"]),label:(0,m.get)(A,["title"]),instructions:__("Start building a form by selecting one of these form templates, or search in the patterns library for more forms:","jetpack-forms"),variations:(0,m.filter)(S,(e=>!e.hiddenFromPicker)),onSelect:(e=B)=>{K(e)}}),React.createElement("div",{className:"form-placeholder__footer"},React.createElement(i.Button,{variant:"secondary",onClick:()=>z(!0)},__("Explore Form Patterns","jetpack-forms")),React.createElement("div",{className:"form-placeholder__footer-links"},React.createElement(i.Button,{variant:"link",className:"form-placeholder__external-link",href:"https://jetpack.com/support/jetpack-blocks/contact-form/",target:"_blank"},__("Learn more about customizing forms","jetpack-forms")),React.createElement(i.Button,{variant:"link",className:"form-placeholder__external-link",href:_,target:"_blank"},__("View and export your form responses here","jetpack-forms")))),D&&React.createElement(i.Modal,{className:"form-placeholder__patterns-modal",title:__("Choose a pattern","jetpack-forms"),closeLabel:__("Cancel","jetpack-forms"),onRequestClose:()=>z(!1)},React.createElement(n.__experimentalBlockPatternSetup,{initialViewMode:"grid",filterPatternsFn:e=>-1!==e.content.indexOf("jetpack/contact-form"),clientId:d}))):React.createElement(React.Fragment,null,React.createElement(n.InspectorControls,null,!e.formTitle&&React.createElement(i.PanelBody,null,React.createElement(i.Notice,{status:"warning",isDismissible:!1},__("Add a heading inside the form or before it to help everybody identify it.","jetpack-forms"))," "),React.createElement(i.PanelBody,{title:__("Manage Responses","jetpack-forms")},React.createElement(C.A,{setAttributes:t})),React.createElement(i.PanelBody,{title:__("Submission Settings","jetpack-forms"),initialOpen:!1},React.createElement(React.Fragment,null,React.createElement(h.A,null,__("Customize the view after form submission:","jetpack-forms")),React.createElement(i.SelectControl,{label:__("On Submission","jetpack-forms"),value:F,options:[{label:__("Show a summary of submitted fields","jetpack-forms"),value:""},{label:__("Show a custom text message","jetpack-forms"),value:"message"},{label:__("Redirect to another webpage","jetpack-forms"),value:"redirect"}],onChange:e=>t({customThankyou:e}),__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0}),"redirect"!==F&&React.createElement(i.TextControl,{label:__("Message Heading","jetpack-forms"),value:T,placeholder:__("Your message has been sent","jetpack-forms"),onChange:e=>t({customThankyouHeading:e}),__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0}),"message"===F&&React.createElement(i.TextareaControl,{label:__("Message Text","jetpack-forms"),value:$,placeholder:__("Thank you for your submission!","jetpack-forms"),onChange:e=>t({customThankyouMessage:e}),__nextHasNoMarginBottom:!0}),"redirect"===F&&React.createElement("div",null,React.createElement(n.URLInput,{label:__("Redirect Address","jetpack-forms"),value:O,className:"jetpack-contact-form__thankyou-redirect-url",onChange:e=>t({customThankyouRedirect:e})})))),React.createElement(i.PanelBody,{title:__("Email Connection","jetpack-forms")},React.createElement(E.A,{emailAddress:M,emailSubject:L,instanceId:f,postAuthorEmail:r,setAttributes:t})),Y&&H?.sendToSalesforce&&React.createElement(v.A,{salesforceData:H,setAttributes:t,instanceId:f}),!((0,o.Sy)()||(0,o.d9)())&&React.createElement(u.Fragment,null,I&&React.createElement(i.PanelBody,{title:__("CRM Connection","jetpack-forms"),initialOpen:!1},React.createElement(g.A,{jetpackCRM:V,setAttributes:t})),React.createElement(i.PanelBody,{title:__("Creative Mail","jetpack-forms"),initialOpen:!1},React.createElement(R.A,null)))),React.createElement("div",{className:J,style:N,ref:P},React.createElement(n.InnerBlocks,{allowedBlocks:w,prioritizedInserterBlocks:x,templateInsertUpdatesSelection:!1}))):G?React.createElement(k.A,null):React.createElement(b.o,{changeStatus:W,isModuleActive:Z,isLoading:U}),React.createElement("div",q,Q)})),B=(0,s.compose)([(0,c.withSelect)(((e,t)=>{const{getBlockType:r,getBlockVariations:a,getDefaultBlockVariation:o}=e("core/blocks"),{getBlocks:n}=e("core/block-editor"),{getEditedPostAttribute:l}=e("core/editor"),{getUser:i,canUser:s}=e("core"),c=n(t.clientId),u=l("author"),d=u&&i(u)&&i(u).email,p=s("create","plugins"),m=c.find((e=>"jetpack/button"===e.name));if(m&&!m.attributes.lock){const e={move:!1,remove:!0};m.attributes.lock=e}return{blockType:r&&r(t.name),canUserInstallPlugins:p,defaultVariation:o&&o(t.name,"block"),variations:a&&a(t.name,"block"),innerBlocks:c,hasInnerBlocks:c.length>0,postAuthorEmail:d}})),(0,c.withDispatch)((e=>{const{replaceInnerBlocks:t,selectBlock:r}=e("core/block-editor");return{replaceInnerBlocks:t,selectBlock:r}})),s.withInstanceId,e=>t=>React.createElement(a.Ay,null,React.createElement(e,t))])((0,j.d)(S))},5620:(e,t,r)=>{"use strict";r.d(t,{U:()=>m,W:()=>h});var a=r(4715),o=r(6427),n=r(7723),l=r(8575),i=r(4351),s=r(30),c=r(6779),u=r(9787),d=r(1097),p=r(8152);const __=n.__,_x=n._x,m="contact-form",f=(0,d.A)(React.createElement(React.Fragment,null,React.createElement(o.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M18 9H13V7.5H18V9Z",fill:(0,u.V)()}),React.createElement(o.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M18 16.5H13V15H18V16.5Z",fill:(0,u.V)()}),React.createElement(o.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M9.5 7.5H7.5V9.5H9.5V7.5ZM7.5 6H9.5C10.3284 6 11 6.67157 11 7.5V9.5C11 10.3284 10.3284 11 9.5 11H7.5C6.67157 11 6 10.3284 6 9.5V7.5C6 6.67157 6.67157 6 7.5 6Z",fill:(0,u.V)()}),React.createElement(o.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M9.5 14.5H7.5V16.5H9.5V14.5ZM7.5 13H9.5C10.3284 13 11 13.6716 11 14.5V16.5C11 17.3284 10.3284 18 9.5 18H7.5C6.67157 18 6 17.3284 6 16.5V14.5C6 13.6716 6.67157 13 7.5 13Z",fill:(0,u.V)()}),React.createElement(o.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M19 4.5H5C4.72386 4.5 4.5 4.72386 4.5 5V19C4.5 19.2761 4.72386 19.5 5 19.5H19C19.2761 19.5 19.5 19.2761 19.5 19V5C19.5 4.72386 19.2761 4.5 19 4.5ZM5 3C3.89543 3 3 3.89543 3 5V19C3 20.1046 3.89543 21 5 21H19C20.1046 21 21 20.1046 21 19V5C21 3.89543 20.1046 3 19 3H5Z",fill:(0,u.V)()}))),h={apiVersion:3,title:__("Form","jetpack-forms"),description:__("Create forms to collect data from site visitors and manage their responses.","jetpack-forms"),icon:f,keywords:[_x("email","block search term","jetpack-forms"),_x("feedback","block search term","jetpack-forms"),_x("contact form","block search term","jetpack-forms")],supports:{color:{link:!0,gradients:!0},html:!1,spacing:{padding:!0,margin:!0},align:["wide","full"]},attributes:l.A,edit:s.A,save:()=>{const e=a.useBlockProps.save();return React.createElement("div",e,React.createElement(a.InnerBlocks.Content,null))},example:{innerBlocks:[{name:"jetpack/field-name",attributes:{required:!0,label:__("Name","jetpack-forms")}},{name:"jetpack/field-email",attributes:{required:!0,label:__("Email","jetpack-forms")}},{name:"jetpack/field-textarea",attributes:{label:__("Message","jetpack-forms")}},{name:"jetpack/button",attributes:{text:__("Contact Us","jetpack-forms"),element:"button",lock:{remove:!0}}}]},styles:[{name:"default",label:"Default",isDefault:!0},{name:"animated",label:"Animated"},{name:"outlined",label:"Outlined"}],variations:p.A,category:"contact-form",transforms:c.A,deprecated:i.A}},6779:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var a=r(4997),o=r(7723),n=r(6087);const __=o.__,l=(e,t,r)=>{const a=r.match(new RegExp(`\\[${e}[^\\]]* ${t}="([^"]*)"`,"im"));if(a&&a.length)return a[1];const o=r.match(new RegExp(`\\[${e}[^\\]]* ${t}='([^']*)'`,"im"));if(o&&o.length)return o[1];const n=r.match(new RegExp(`\\[${e}[^\\]]* ${t}=([^\\s]*)\\s`,"im"));return!(!n||!n.length)&&n[1]},i={root:{},innerBlocks:[]},s={from:[{type:"raw",priority:1,isMatch:e=>!("P"!==e.nodeName||!(/\[contact-form(\s.*?)?\](?:([^\[]+)?)?/g.test(e.textContent)||/\[contact-field(\s.*?)?\](?:([^\[]+)?)?/g.test(e.textContent)||/\[\/contact-form]/g.test(e.textContent))),transform:e=>{const t=e.textContent.replace("
","");if(t.includes("[contact-form")&&(i.root={},i.innerBlocks=[],i.root=(e=>{const t={to:l("contact-form","to",e),subject:l("contact-form","subject",e),submitButtonText:l("contact-form","submit_button_text",e)};return{blockName:"jetpack/contact-form",attrs:(0,n.pickBy)(t,n.identity)}})(t)),t.includes("[contact-field")){const e=t.match(/(\[contact-field[\s\S]*?\/?])/g);e&&e.length>0&&e.forEach((e=>{i.innerBlocks.push((e=>{const t={label:l("contact-field","label",e),placeholder:l("contact-field","placeholder",e),required:l("contact-field","required",e),options:l("contact-field","options",e)},r=(e=>{const t="jetpack",r={text:`${t}/field-text`,url:`${t}/field-text`,textarea:`${t}/field-textarea`,radio:`${t}/field-radio`,checkbox:`${t}/field-checkbox`,"checkbox-multiple":`${t}/field-checkbox-multiple`,select:`${t}/field-select`,email:`${t}/field-email`,name:`${t}/field-name`,default:`${t}/field-text`};return r[e]?r[e]:r.default})(l("contact-field","type",e));return t.options&&(t.options=t.options.split(",")),(0,a.createBlock)(r,(0,n.pickBy)(t,n.identity))})(e))}))}if(t.includes("[/contact-form]")){i.innerBlocks.push((0,a.createBlock)("jetpack/button",{element:"button",text:i.root.attrs.submitButtonText||__("Contact Us","jetpack-forms")}));return(0,a.createBlock)(i.root.blockName,i.root.attrs,i.innerBlocks)}return!1}}],to:[{type:"block",blocks:["jetpack/subscriptions"],transform:()=>(0,a.createBlock)("jetpack/subscriptions")}]}},9787:(e,t,r)=>{"use strict";r.d(t,{V:()=>l});var a=r(8377),o=r(5985);const n=a.T["Jetpack Green 40"];function l(){return(0,o.d9)()||(0,o.Sy)()?null:n}},8882:(e,t,r)=>{"use strict";r.d(t,{B:()=>o});var a=r(4997);function o(){return(0,a.hasBlockSupport)("core/paragraph","splitting",!1)}},2386:(e,t,r)=>{"use strict";r.d(t,{J:()=>a});const a=e=>{const t=e.ownerDocument.defaultView.getSelection();if(0===t.rangeCount)return 0;const r=t.getRangeAt(0),a=r.cloneRange();return a.selectNodeContents(e),a.setEnd(r.endContainer,r.endOffset),a.toString().length}},2453:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});var a=r(6087);const o=(e,t,r,o)=>setTimeout((()=>{(0,a.tap)(e.querySelectorAll(t)[r],(e=>{if(e&&(e.focus(),document.createRange&&o)){const t=document.createRange();t.selectNodeContents(e),t.collapse(!1);const r=document.defaultView.getSelection();r.removeAllRanges(),r.addRange(t)}}))}),0)},2962:()=>{window.jetpackForms=window.jetpackForms||{},window.jetpackForms.getBackgroundColor=function(e){let t=window.getComputedStyle(e).backgroundColor;for(;"rgba(0, 0, 0, 0)"===t&&e.parentNode&&e.parentNode.nodeType===window.Node.ELEMENT_NODE;)if("wp-block-cover"!==(e=e.parentNode).className)t=window.getComputedStyle(e).backgroundColor;else{const r=e.querySelector(".wp-block-cover__background");t=window.getComputedStyle(r).backgroundColor}return t},window.jetpackForms.generateStyleVariables=function(e){if(!e)return;const t=window["editor-canvas"]?window["editor-canvas"].document:document,r=t.querySelector("body"),a=t.createElement("div");a.className="contact-form__style-probe",a.style="position: absolute; z-index: -1; width: 1px; height: 1px; visibility: hidden",a.innerHTML='\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t
\n\t\t',e.parentNode.appendChild(a);const o=a.querySelector(".btn-primary"),n=a.querySelector(".btn-outline"),l=a.querySelector('input[type="text"]'),i=window.jetpackForms.getBackgroundColor(r),s=window.jetpackForms.getBackgroundColor(l),c=window.getComputedStyle(l).backgroundColor,{border:u,borderColor:d,backgroundColor:p,color:m}=window.getComputedStyle(o),{backgroundColor:f,border:h,borderWidth:b,borderRadius:k,color:g,padding:E,lineHeight:C}=window.getComputedStyle(n),R=window.jetpackForms.getBackgroundColor(n),{color:v,padding:j,paddingTop:y,paddingLeft:A,border:w,borderColor:x,borderWidth:_,borderStyle:S,borderRadius:B,fontSize:I,fontFamily:N,lineHeight:P}=window.getComputedStyle(l);return a.remove(),{"--jetpack--contact-form--primary-color":p,"--jetpack--contact-form--background-color":i,"--jetpack--contact-form--text-color":v,"--jetpack--contact-form--border":w,"--jetpack--contact-form--border-color":x,"--jetpack--contact-form--border-size":_,"--jetpack--contact-form--border-style":S,"--jetpack--contact-form--border-radius":B,"--jetpack--contact-form--input-background":c,"--jetpack--contact-form--input-background-fallback":s,"--jetpack--contact-form--input-padding":j,"--jetpack--contact-form--input-padding-top":y,"--jetpack--contact-form--input-padding-left":A,"--jetpack--contact-form--font-size":I,"--jetpack--contact-form--font-family":N,"--jetpack--contact-form--line-height":P,"--jetpack--contact-form--button-primary--color":m,"--jetpack--contact-form--button-primary--background-color":p,"--jetpack--contact-form--button-primary--border":u,"--jetpack--contact-form--button-primary--border-color":d,"--jetpack--contact-form--button-outline--padding":E,"--jetpack--contact-form--button-outline--border":h,"--jetpack--contact-form--button-outline--background-color":f,"--jetpack--contact-form--button-outline--background-color-fallback":R,"--jetpack--contact-form--button-outline--border-size":b,"--jetpack--contact-form--button-outline--border-radius":k,"--jetpack--contact-form--button-outline--text-color":g,"--jetpack--contact-form--button-outline--line-height":C}}},1663:(e,t,r)=>{"use strict";r.d(t,{BV:()=>p,DR:()=>u,pC:()=>c,zD:()=>d});var a=r(4715),o=r(4997),n=r(7143),l=r(8468),i=r(7723);const __=i.__,s="jetpack/contact-form",c={ANIMATED:"animated",BELOW:"below",DEFAULT:"default",OUTLINED:"outlined"},u=({attributes:e,clientId:t,name:r})=>{const i={text:__("Submit","jetpack-forms"),element:"button",lock:{remove:!0}},{replaceBlock:c}=(0,n.useDispatch)(a.store),u=(0,n.useSelect)((e=>e(a.store).getBlockParentsByBlockName(t,s)));(0,l.useEffect)((()=>{u?.length||c(t,(0,o.createBlock)(s,{},[(0,o.createBlock)(r,e),(0,o.createBlock)("jetpack/button",i)]))}),[])},d=e=>{const t=e&&e.match(/is-style-([^\s]+)/i);return t?t[1]:""},p=e=>{const t=(0,n.useSelect)((t=>{const[r]=t(a.store).getBlockParentsByBlockName(e,s);return t(a.store).getBlockAttributes(r)}));return d(t?.className)||c.DEFAULT}},6691:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var a=r(4997);function o(e,t){return e.label||(0,a.getBlockType)(t).title}},9771:(e,t,r)=>{"use strict";function a(e,t){return{...e,...t,supports:{...e.supports,...t.supports},attributes:{...e.attributes,...t.attributes}}}r.d(t,{A:()=>a})},1620:(e,t,r)=>{"use strict";r.d(t,{Bf:()=>s,pj:()=>i,xy:()=>l});var a=r(5985),o=r(1455),n=r.n(o);async function l(){if((0,a.Sy)())return Promise.reject();try{return await n()({path:"/jetpack/v4/plugins"})}catch(e){return Promise.reject(e.message)}}async function i(e){if((0,a.Sy)())return Promise.reject();try{return await n()({path:"/jetpack/v4/plugins",method:"POST",data:{slug:e,status:"active",source:"block-editor"}})}catch(e){return Promise.reject(e.message)}}async function s(e){if((0,a.Sy)())return Promise.reject();try{return await n()({path:`/jetpack/v4/plugins/${e}`,method:"POST",data:{status:"active",source:"block-editor"}})}catch(e){return Promise.reject(e.message)}}},2399:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});var a=r(5985),o=r(4997);function n(e,t,r=[],n=!0){const{available:l,details:i,unavailableReason:s}=(0,a.FB)(e),c=(0,a.aq)(s,i),u=n?"jetpack/":"";if(!l&&!c)return!1;const d=(0,o.registerBlockType)(u+e,t);return r.forEach((e=>(0,o.registerBlockType)(u+e.name,e.settings))),d}},1097:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var a=r(6427);const o=(e,t=24,r=24,o="0 0 24 24")=>React.createElement(a.SVG,{xmlns:"http://www.w3.org/2000/svg",width:t,height:r,viewBox:o},React.createElement(a.Path,{fill:"none",d:"M0 0h24v24H0V0z",className:"icon-filler"}),e)},2233:(e,t,r)=>{"use strict";r.d(t,{F:()=>n});var a=r(7143),o=r(6087);const n=e=>(0,a.useSelect)((t=>{const r=t("core/block-editor");return r.getBlockAttributes((0,o.first)(r.getBlockParents(e,!0)))}))},8890:(e,t,r)=>{"use strict";r.d(t,{H:()=>s});var a=r(6072),o=r.n(a),n=r(7143),l=r(8468),i=r(6087);const s=e=>t=>({attributes:r,clientId:a,setAttributes:s,...c})=>{const u=(({attributes:e,clientId:t,setAttributes:r,sharedAttributes:a})=>{const{updateBlockAttributes:o}=(0,n.useDispatch)("core/block-editor"),s=(0,n.useSelect)((e=>{const r=e("core/block-editor"),a=(0,i.first)(r.getBlockParentsByBlockName(t,"jetpack/contact-form"));return(0,i.filter)(r.getBlocks(a),(e=>e.name.indexOf("jetpack/field")>-1&&e.attributes.shareFieldAttributes))}),[t]);return(0,l.useEffect)((()=>{if(!(0,i.isEmpty)(s)&&e.shareFieldAttributes){const e=(0,i.pick)((0,i.first)(s).attributes,a);o([t],e)}}),[]),(0,l.useCallback)((n=>{let l,c;e.shareFieldAttributes&&(0,i.isNil)(n.shareFieldAttributes)?(l=(0,i.map)(s,(e=>e.clientId)),c=(0,i.pick)(n,a)):n.shareFieldAttributes&&!(0,i.isEmpty)(s)&&(l=[t],c=(0,i.pick)((0,i.first)(s).attributes,a)),(0,i.isEmpty)(l)||(0,i.isEmpty)(c)||o(l,c),r(n)}),[e,t,r,a,s,o])})({attributes:r,clientId:a,setAttributes:s,sharedAttributes:e});return React.createElement(t,o()({attributes:r,clientId:a,setAttributes:u},c))}},2377:(e,t,r)=>{"use strict";r.d(t,{d:()=>l});var a=r(6072),o=r.n(a),n=(r(2962),r(8468));const l=e=>t=>{const{generateStyleVariables:r}=window.jetpackForms,a=(0,n.useRef)(void 0);return React.createElement(e,o()({style:r(a?.current)},t,{ref:a}))}},8152:(e,t,r)=>{"use strict";r.d(t,{A:()=>p});var a=r(5985),o=r(6427),n=r(7723),l=r(3407),i=r(6087),s=r(9364),c=r(9787),u=r(1097);const __=n.__,_x=n._x,d={style:{spacing:{padding:{top:"16px",right:"16px",bottom:"16px",left:"16px"}}}},p=(0,i.compact)([{name:"contact-form",title:__("Contact Form","jetpack-forms"),description:__("Add a contact form to your page.","jetpack-forms"),icon:(0,u.A)(React.createElement(React.Fragment,null,React.createElement(o.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M12 5.3203L6.6477 9L12 12.6797L17.3523 9L12 5.3203ZM12 3.5L4 9L12 14.5L20 9L12 3.5Z",fill:(0,c.V)()}),React.createElement(o.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M4 18V9H5.5V18C5.5 18.4142 5.83579 18.75 6.25 18.75H17.75C18.1642 18.75 18.5 18.4142 18.5 18V9H20V18C20 19.2426 18.9926 20.25 17.75 20.25H6.25C5.00736 20.25 4 19.2426 4 18Z",fill:(0,c.V)()})),24,24,"0 0 24 24"),innerBlocks:[["jetpack/field-name",{required:!0,label:__("Name","jetpack-forms")}],["jetpack/field-email",{required:!0,label:__("Email","jetpack-forms")}],["jetpack/field-textarea",{label:__("Message","jetpack-forms")}],["jetpack/button",{text:__("Contact Us","jetpack-forms"),element:"button",lock:{remove:!0}}]],attributes:{...d}},{name:"rsvp-form",title:__("RSVP Form","jetpack-forms"),description:__("Add an RSVP form to your page","jetpack-forms"),icon:(0,u.A)(React.createElement(React.Fragment,null,React.createElement(o.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M7.87868 15.5L5.5 17.8787L5.5 6C5.5 5.72386 5.72386 5.5 6 5.5L18 5.5C18.2761 5.5 18.5 5.72386 18.5 6L18.5 15C18.5 15.2761 18.2761 15.5 18 15.5L7.87868 15.5ZM8.5 17L18 17C19.1046 17 20 16.1046 20 15L20 6C20 4.89543 19.1046 4 18 4L6 4C4.89543 4 4 4.89543 4 6L4 18.9393C4 19.5251 4.47487 20 5.06066 20C5.34196 20 5.61175 19.8883 5.81066 19.6893L8.5 17Z",fill:(0,c.V)()}),React.createElement(o.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M15.6087 7.93847L11.4826 13.6692L8.45898 10.5196L9.54107 9.48084L11.3175 11.3313L14.3914 7.06201L15.6087 7.93847Z",fill:(0,c.V)()})),24,24,"0 0 24 24"),innerBlocks:[["jetpack/field-name",{required:!0,label:__("Name","jetpack-forms")}],["jetpack/field-email",{required:!0,label:__("Email","jetpack-forms")}],["jetpack/field-radio",{label:__("Attending?","jetpack-forms"),required:!0,options:[__("Yes","jetpack-forms"),__("No","jetpack-forms")]}],["jetpack/field-textarea",{label:__("Other Details","jetpack-forms")}],["jetpack/button",{text:__("Send RSVP","jetpack-forms"),element:"button",lock:{remove:!0}}]],attributes:{...d,subject:__("A new RSVP from your website","jetpack-forms")}},{name:"registration-form",title:__("Registration Form","jetpack-forms"),description:__("Add a Registration form to your page","jetpack-forms"),icon:(0,u.A)(React.createElement(React.Fragment,null,React.createElement(o.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M18.5 5.5V8H20V5.5H22.5V4H20V1.5H18.5V4H16V5.5H18.5ZM12 4H6C4.89543 4 4 4.89543 4 6V18C4 19.1046 4.89543 20 6 20H18C19.1046 20 20 19.1046 20 18V12H18.5V18C18.5 18.2761 18.2761 18.5 18 18.5H6C5.72386 18.5 5.5 18.2761 5.5 18V6C5.5 5.72386 5.72386 5.5 6 5.5H12V4Z",fill:(0,c.V)()}),React.createElement(o.Path,{d:"M16.75 17.5V15.5C16.75 13.9812 15.5188 12.75 14 12.75H10C8.48122 12.75 7.25 13.9812 7.25 15.5V17.5H8.75V15.5C8.75 14.8096 9.30964 14.25 10 14.25H14C14.6904 14.25 15.25 14.8096 15.25 15.5V17.5H16.75Z",fill:(0,c.V)()}),React.createElement(o.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M14.5 9C14.5 10.3807 13.3807 11.5 12 11.5C10.6193 11.5 9.5 10.3807 9.5 9C9.5 7.61929 10.6193 6.5 12 6.5C13.3807 6.5 14.5 7.61929 14.5 9ZM13 9C13 9.55228 12.5523 10 12 10C11.4477 10 11 9.55228 11 9C11 8.44772 11.4477 8 12 8C12.5523 8 13 8.44772 13 9Z",fill:(0,c.V)()})),24,24,"0 0 24 24"),innerBlocks:[["jetpack/field-name",{required:!0,label:__("Name","jetpack-forms")}],["jetpack/field-email",{required:!0,label:__("Email","jetpack-forms")}],["jetpack/field-telephone",{label:__("Phone","jetpack-forms")}],["jetpack/field-select",{label:__("How did you hear about us?","jetpack-forms"),options:[__("Search Engine","jetpack-forms"),__("Social Media","jetpack-forms"),__("TV","jetpack-forms"),__("Radio","jetpack-forms"),__("Friend or Family","jetpack-forms")]}],["jetpack/field-textarea",{label:__("Other Details","jetpack-forms")}],["jetpack/button",{text:__("Send","jetpack-forms"),element:"button",lock:{remove:!0}}]],attributes:{...d,subject:__("A new registration from your website","jetpack-forms")}},{name:"appointment-form",title:__("Appointment Form","jetpack-forms"),description:__("Add an Appointment booking form to your page","jetpack-forms"),icon:(0,u.A)(React.createElement(React.Fragment,null,React.createElement(o.Path,{d:"M4 6C4 4.89543 4.89543 4 6 4H18C19.1046 4 20 4.89543 20 6V8H4V6Z",fill:(0,c.V)()}),React.createElement(o.Path,{d:"M7 9.25H11V13.25H7V9.25Z",fill:(0,c.V)()}),React.createElement(o.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M6 5.5H18C18.2761 5.5 18.5 5.72386 18.5 6V12H20V6C20 4.89543 19.1046 4 18 4H6C4.89543 4 4 4.89543 4 6V18C4 19.1046 4.89543 20 6 20H12V18.5H6C5.72386 18.5 5.5 18.2761 5.5 18V6C5.5 5.72386 5.72386 5.5 6 5.5Z",fill:(0,c.V)()}),React.createElement(o.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M17.25 21V15H18.75V21H17.25Z",fill:(0,c.V)()}),React.createElement(o.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M15 17.25L21 17.25L21 18.75L15 18.75L15 17.25Z",fill:(0,c.V)()})),24,24,"0 0 24 24"),innerBlocks:[["jetpack/field-name",{required:!0,label:__("Name","jetpack-forms")}],["jetpack/field-email",{required:!0,label:__("Email","jetpack-forms")}],["jetpack/field-telephone",{required:!0,label:__("Phone","jetpack-forms")}],["jetpack/field-date",{label:__("Date","jetpack-forms"),required:!0}],["jetpack/field-radio",{label:__("Time","jetpack-forms"),required:!0,options:[__("Morning","jetpack-forms"),__("Afternoon","jetpack-forms")]}],["jetpack/field-textarea",{label:__("Notes","jetpack-forms")}],["jetpack/button",{text:__("Book Appointment","jetpack-forms"),element:"button",lock:{remove:!0}}]],attributes:{...d,subject:__("A new appointment booked from your website","jetpack-forms")}},{name:"feedback-form",title:__("Feedback Form","jetpack-forms"),description:__("Add a Feedback form to your page","jetpack-forms"),icon:(0,u.A)(React.createElement(React.Fragment,null,React.createElement(o.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M12 18.5C15.5899 18.5 18.5 15.5899 18.5 12C18.5 8.41015 15.5899 5.5 12 5.5C8.41015 5.5 5.5 8.41015 5.5 12C5.5 15.5899 8.41015 18.5 12 18.5ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20Z",fill:(0,c.V)()}),React.createElement(o.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M9.5 11C10.3284 11 11 10.3284 11 9.5C11 8.67157 10.3284 8 9.5 8C8.67157 8 8 8.67157 8 9.5C8 10.3284 8.67157 11 9.5 11Z",fill:(0,c.V)()}),React.createElement(o.Path,{d:"M16 9.5C16 10.3284 15.3284 11 14.5 11C13.6716 11 13 10.3284 13 9.5C13 8.67157 13.6716 8 14.5 8C15.3284 8 16 8.67157 16 9.5Z",fill:(0,c.V)()}),React.createElement(o.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M14.5 11C15.3284 11 16 10.3284 16 9.5C16 8.67157 15.3284 8 14.5 8C13.6716 8 13 8.67157 13 9.5C13 10.3284 13.6716 11 14.5 11Z",fill:(0,c.V)()}),React.createElement(o.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M8.16492 14.6566L7.41431 13.7183L8.58561 12.7812L9.33622 13.7195C9.98358 14.5287 10.9637 14.9998 12 14.9998C13.0362 14.9998 14.0163 14.5287 14.6637 13.7195L15.4143 12.7812L16.5856 13.7183L15.835 14.6566C14.903 15.8216 13.4919 16.4998 12 16.4998C10.508 16.4998 9.09693 15.8216 8.16492 14.6566Z",fill:(0,c.V)()})),24,24,"0 0 24 24"),innerBlocks:[["jetpack/field-name",{required:!0,label:__("Name","jetpack-forms")}],["jetpack/field-email",{required:!0,label:__("Email","jetpack-forms")}],["jetpack/field-radio",{label:__("Please rate our website","jetpack-forms"),required:!0,options:[__("1 - Very Bad","jetpack-forms"),__("2 - Poor","jetpack-forms"),__("3 - Average","jetpack-forms"),__("4 - Good","jetpack-forms"),__("5 - Excellent","jetpack-forms")]}],["jetpack/field-textarea",{label:__("How could we improve?","jetpack-forms")}],["jetpack/button",{text:__("Send Feedback","jetpack-forms"),element:"button",lock:{remove:!0}}]],attributes:{...d,subject:__("New feedback received from your website","jetpack-forms")}},!((0,a.d9)()||(0,a.Sy)())&&{name:"lead-capture-form",title:__("Lead capture","jetpack-forms"),description:__("A simple way to collect leads using forms on your site.","jetpack-forms"),keywords:[_x("subscribe","block search term","jetpack-forms"),_x("email","block search term","jetpack-forms"),_x("signup","block search term","jetpack-forms")],icon:l.A,innerBlocks:[["jetpack/field-name",{required:!0,label:__("Name","jetpack-forms")}],["jetpack/field-email",{required:!0,label:__("Email","jetpack-forms")}],["jetpack/field-consent",{}],["jetpack/button",{text:__("Subscribe","jetpack-forms"),element:"button",lock:{remove:!0}}]],attributes:{...d}},s.F])},67:(e,t,r)=>{t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const r="color: "+this.color;t.splice(1,0,r,"color: inherit");let a=0,o=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(a++,"%c"===e&&(o=a))})),t.splice(o,0,r)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let e;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=r(8926)(t);const{formatters:a}=e.exports;a.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},8926:(e,t,r)=>{e.exports=function(e){function t(e){let r,o,n,l=null;function i(...e){if(!i.enabled)return;const a=i,o=Number(new Date),n=o-(r||o);a.diff=n,a.prev=r,a.curr=o,r=o,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let l=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((r,o)=>{if("%%"===r)return"%";l++;const n=t.formatters[o];if("function"==typeof n){const t=e[l];r=n.call(a,t),e.splice(l,1),l--}return r})),t.formatArgs.call(a,e);(a.log||t.log).apply(a,e)}return i.namespace=e,i.useColors=t.useColors(),i.color=t.selectColor(e),i.extend=a,i.destroy=t.destroy,Object.defineProperty(i,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==l?l:(o!==t.namespaces&&(o=t.namespaces,n=t.enabled(e)),n),set:e=>{l=e}}),"function"==typeof t.init&&t.init(i),i}function a(e,r){const a=t(this.namespace+(void 0===r?":":r)+e);return a.log=this.log,a}function o(e,t){let r=0,a=0,o=-1,n=0;for(;r"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){t.save(e),t.namespaces=e,t.names=[],t.skips=[];const r=("string"==typeof e?e:"").trim().replace(" ",",").split(",").filter(Boolean);for(const e of r)"-"===e[0]?t.skips.push(e.slice(1)):t.names.push(e)},t.enabled=function(e){for(const r of t.skips)if(o(e,r))return!1;for(const r of t.names)if(o(e,r))return!0;return!1},t.humanize=r(7378),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach((r=>{t[r]=e[r]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let r=0;for(let t=0;t{"use strict";t.A=function(e){var t=e.size,r=void 0===t?24:t,a=e.onClick,i=(e.icon,e.className),s=function(e,t){if(null==e)return{};var r,a,o=function(e,t){if(null==e)return{};var r,a,o={},n=Object.keys(e);for(a=0;a{"use strict";e.exports=window.JetpackConnection},1609:e=>{"use strict";e.exports=window.React},790:e=>{"use strict";e.exports=window.ReactJSXRuntime},6087:e=>{"use strict";e.exports=window.lodash},1455:e=>{"use strict";e.exports=window.wp.apiFetch},4715:e=>{"use strict";e.exports=window.wp.blockEditor},4997:e=>{"use strict";e.exports=window.wp.blocks},6427:e=>{"use strict";e.exports=window.wp.components},9491:e=>{"use strict";e.exports=window.wp.compose},7143:e=>{"use strict";e.exports=window.wp.data},8468:e=>{"use strict";e.exports=window.wp.element},2619:e=>{"use strict";e.exports=window.wp.hooks},7723:e=>{"use strict";e.exports=window.wp.i18n},2279:e=>{"use strict";e.exports=window.wp.plugins},5573:e=>{"use strict";e.exports=window.wp.primitives},3832:e=>{"use strict";e.exports=window.wp.url},6072:e=>{function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";function a(e){var t,r,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e)){var n=e.length;for(t=0;to});const o=function(){for(var e,t,r=0,o="",n=arguments.length;r{"use strict";e.exports=JSON.parse('{"T":{"White":"#fff","Black":"#000","Gray":"#646970","Gray 0":"#f6f7f7","Gray 5":"#dcdcde","Gray 10":"#c3c4c7","Gray 20":"#a7aaad","Gray 30":"#8c8f94","Gray 40":"#787c82","Gray 50":"#646970","Gray 60":"#50575e","Gray 70":"#3c434a","Gray 80":"#2c3338","Gray 90":"#1d2327","Gray 100":"#101517","Blue":"#0675c4","Blue 0":"#e9f0f5","Blue 5":"#bbe0fa","Blue 10":"#91caf2","Blue 20":"#68b3e8","Blue 30":"#399ce3","Blue 40":"#1689db","Blue 50":"#0675c4","Blue 60":"#055d9c","Blue 70":"#044b7a","Blue 80":"#02395c","Blue 90":"#01283d","Blue 100":"#001621","Purple":"#984a9c","Purple 0":"#f2e9ed","Purple 5":"#ebcee0","Purple 10":"#e3afd5","Purple 20":"#d48fc8","Purple 30":"#c475bd","Purple 40":"#b35eb1","Purple 50":"#984a9c","Purple 60":"#7c3982","Purple 70":"#662c6e","Purple 80":"#4d2054","Purple 90":"#35163b","Purple 100":"#1e0c21","Pink":"#c9356e","Pink 0":"#f5e9ed","Pink 5":"#f2ceda","Pink 10":"#f7a8c3","Pink 20":"#f283aa","Pink 30":"#eb6594","Pink 40":"#e34c84","Pink 50":"#c9356e","Pink 60":"#ab235a","Pink 70":"#8c1749","Pink 80":"#700f3b","Pink 90":"#4f092a","Pink 100":"#260415","Red":"#d63638","Red 0":"#f7ebec","Red 5":"#facfd2","Red 10":"#ffabaf","Red 20":"#ff8085","Red 30":"#f86368","Red 40":"#e65054","Red 50":"#d63638","Red 60":"#b32d2e","Red 70":"#8a2424","Red 80":"#691c1c","Red 90":"#451313","Red 100":"#240a0a","Orange":"#b26200","Orange 0":"#f5ece6","Orange 5":"#f7dcc6","Orange 10":"#ffbf86","Orange 20":"#faa754","Orange 30":"#e68b28","Orange 40":"#d67709","Orange 50":"#b26200","Orange 60":"#8a4d00","Orange 70":"#704000","Orange 80":"#543100","Orange 90":"#361f00","Orange 100":"#1f1200","Yellow":"#9d6e00","Yellow 0":"#f5f1e1","Yellow 5":"#f5e6b3","Yellow 10":"#f2d76b","Yellow 20":"#f0c930","Yellow 30":"#deb100","Yellow 40":"#c08c00","Yellow 50":"#9d6e00","Yellow 60":"#7d5600","Yellow 70":"#674600","Yellow 80":"#4f3500","Yellow 90":"#320","Yellow 100":"#1c1300","Green":"#008a20","Green 0":"#e6f2e8","Green 5":"#b8e6bf","Green 10":"#68de86","Green 20":"#1ed15a","Green 30":"#00ba37","Green 40":"#00a32a","Green 50":"#008a20","Green 60":"#007017","Green 70":"#005c12","Green 80":"#00450c","Green 90":"#003008","Green 100":"#001c05","Celadon":"#008763","Celadon 0":"#e4f2ed","Celadon 5":"#a7e8d3","Celadon 10":"#66deb9","Celadon 20":"#31cc9f","Celadon 30":"#09b585","Celadon 40":"#009e73","Celadon 50":"#008763","Celadon 60":"#007053","Celadon 70":"#005c44","Celadon 80":"#004533","Celadon 90":"#003024","Celadon 100":"#001c15","Automattic Blue":"#24a3e0","Automattic Blue 0":"#ebf4fa","Automattic Blue 5":"#c4e2f5","Automattic Blue 10":"#88ccf2","Automattic Blue 20":"#5ab7e8","Automattic Blue 30":"#24a3e0","Automattic Blue 40":"#1490c7","Automattic Blue 50":"#0277a8","Automattic Blue 60":"#036085","Automattic Blue 70":"#02506e","Automattic Blue 80":"#02384d","Automattic Blue 90":"#022836","Automattic Blue 100":"#021b24","WordPress Blue":"#3858e9","WordPress Blue 0":"#fbfcfe","WordPress Blue 5":"#f7f8fe","WordPress Blue 10":"#d6ddf9","WordPress Blue 20":"#adbaf3","WordPress Blue 30":"#7b90ff","WordPress Blue 40":"#546ff3","WordPress Blue 50":"#3858e9","WordPress Blue 60":"#2a46ce","WordPress Blue 70":"#1d35b4","WordPress Blue 80":"#1f3286","WordPress Blue 90":"#14215a","WordPress Blue 100":"#0a112d","Simplenote Blue":"#3361cc","Simplenote Blue 0":"#e9ecf5","Simplenote Blue 5":"#ced9f2","Simplenote Blue 10":"#abc1f5","Simplenote Blue 20":"#84a4f0","Simplenote Blue 30":"#618df2","Simplenote Blue 40":"#4678eb","Simplenote Blue 50":"#3361cc","Simplenote Blue 60":"#1d4fc4","Simplenote Blue 70":"#113ead","Simplenote Blue 80":"#0d2f85","Simplenote Blue 90":"#09205c","Simplenote Blue 100":"#05102e","WooCommerce Purple":"#720eec","WooCommerce Purple 0":"#f2edff","WooCommerce Purple 5":"#e1d7ff","WooCommerce Purple 10":"#d1c1ff","WooCommerce Purple 20":"#b999ff","WooCommerce Purple 30":"#a77eff","WooCommerce Purple 40":"#873eff","WooCommerce Purple 50":"#720eec","WooCommerce Purple 60":"#6108ce","WooCommerce Purple 70":"#5007aa","WooCommerce Purple 80":"#3c087e","WooCommerce Purple 90":"#2c045d","WooCommerce Purple 100":"#1f0342","Jetpack Green":"#069e08","Jetpack Green 0":"#f0f2eb","Jetpack Green 5":"#d0e6b8","Jetpack Green 10":"#9dd977","Jetpack Green 20":"#64ca43","Jetpack Green 30":"#2fb41f","Jetpack Green 40":"#069e08","Jetpack Green 50":"#008710","Jetpack Green 60":"#007117","Jetpack Green 70":"#005b18","Jetpack Green 80":"#004515","Jetpack Green 90":"#003010","Jetpack Green 100":"#001c09"}}')}},t={};function r(a){var o=t[a];if(void 0!==o)return o.exports;var n=t[a]={exports:{}};return e[a](n,n.exports,r),n.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var a in t)r.o(t,a)&&!r.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";var e=r(1013),t=r(2399),a=r(5620);(0,t.A)(a.U,a.W,e.P)})()})(); \ No newline at end of file diff --git a/dist/blocks/editor.rtl.css b/dist/blocks/editor.rtl.css index 0609504..bcc42b8 100644 --- a/dist/blocks/editor.rtl.css +++ b/dist/blocks/editor.rtl.css @@ -1 +1 @@ -.jetpack-editor-panel-logo{margin-right:.5em}.wp-block-jetpack-contact-form{box-sizing:border-box}.wp-block-jetpack-contact-form .block-editor-block-variation-picker.has-many-variations .components-placeholder__fieldset{margin:0;max-width:unset}.wp-block-jetpack-contact-form .block-editor-block-variation-picker.has-many-variations .components-placeholder__fieldset .block-editor-block-variation-picker__variations{gap:20px 0;justify-content:center;margin:16px auto;max-width:560px}.wp-block-jetpack-contact-form .block-editor-block-variation-picker.has-many-variations .components-placeholder__fieldset .block-editor-block-variation-picker__variations>li{flex:0;margin:0;max-width:none;padding:0 2px;text-align:center;width:unset}.wp-block-jetpack-contact-form .block-editor-block-variation-picker.has-many-variations .components-placeholder__fieldset .block-editor-block-variation-picker__variations .block-editor-block-variation-picker__variation{margin-left:4px;margin-right:4px;padding:22px}.wp-block-jetpack-contact-form .block-editor-block-variation-picker.has-many-variations .components-placeholder__fieldset .block-editor-block-variation-picker__variations .block-editor-block-variation-picker__variation svg{height:auto;width:24px}.wp-block-jetpack-contact-form .block-editor-block-variation-picker.has-many-variations .components-placeholder__fieldset .block-editor-block-variation-picker__variations .block-editor-block-variation-picker__variation-label{margin-left:0}.wp-block-jetpack-contact-form .block-editor-inner-blocks>.block-editor-block-list__layout{display:flex;flex-direction:row;flex-wrap:wrap;gap:var(--wp--style--block-gap,1.5rem);justify-content:flex-start}.wp-block-jetpack-contact-form .block-editor-inner-blocks>.block-editor-block-list__layout .wp-block{flex:0 0 100%;margin:0}.wp-block-jetpack-contact-form .block-editor-inner-blocks>.block-editor-block-list__layout .wp-block.jetpack-field__width-25,.wp-block-jetpack-contact-form .block-editor-inner-blocks>.block-editor-block-list__layout .wp-block.jetpack-field__width-50,.wp-block-jetpack-contact-form .block-editor-inner-blocks>.block-editor-block-list__layout .wp-block.jetpack-field__width-75{box-sizing:border-box}.wp-block-jetpack-contact-form .block-editor-inner-blocks>.block-editor-block-list__layout .wp-block.jetpack-field__width-25{flex:1 1 calc(25% - var(--wp--style--block-gap, 1.5rem)*1);max-width:25%}.wp-block-jetpack-contact-form .block-editor-inner-blocks>.block-editor-block-list__layout .wp-block.jetpack-field__width-25 .jetpack-option__input.jetpack-option__input.jetpack-option__input{width:70px}.wp-block-jetpack-contact-form .block-editor-inner-blocks>.block-editor-block-list__layout .wp-block.jetpack-field__width-50{flex:1 1 calc(50% - var(--wp--style--block-gap, 1.5rem)*1);max-width:50%}.wp-block-jetpack-contact-form .block-editor-inner-blocks>.block-editor-block-list__layout .wp-block.jetpack-field__width-75{flex:1 1 calc(75% - var(--wp--style--block-gap, 1.5rem)*1);max-width:75%}@media(max-width:480px){.wp-block-jetpack-contact-form .block-editor-inner-blocks>.block-editor-block-list__layout .wp-block[class*=jetpack-field__width-]{flex-basis:100%;max-width:none}}.wp-block-jetpack-contact-form .block-editor-inner-blocks>.block-editor-block-list__layout .wp-block[data-type="jetpack/field-checkbox"],.wp-block-jetpack-contact-form .block-editor-inner-blocks>.block-editor-block-list__layout .wp-block[data-type="jetpack/field-consent"]{align-self:center}.wp-block-jetpack-contact-form .block-list-appender{flex:0 0 100%}.wp-block-jetpack-contact-form [data-type="jetpack/field-checkbox-multiple"] .wp-block,.wp-block-jetpack-contact-form [data-type="jetpack/field-radio"] .wp-block{margin:unset}.jetpack-contact-form .components-placeholder{padding:24px}.jetpack-contact-form .components-placeholder input[type=text]{line-height:16px;outline-style:none;outline-width:0;width:100%}.jetpack-contact-form .components-placeholder .components-placeholder__label svg{margin-left:1ch}.jetpack-contact-form .components-placeholder .components-placeholder__fieldset,.jetpack-contact-form .components-placeholder .help-message{max-width:none;text-align:right}.jetpack-contact-form .components-placeholder .help-message{margin:0 0 1em;width:100%}.jetpack-contact-form .components-placeholder .components-base-control{width:100%}.jetpack-contact-form.is-placeholder{background-color:#fff;border:1px solid #1e1e1e;padding:24px}.jetpack-contact-form.is-placeholder .components-placeholder{box-shadow:unset;margin-bottom:16px;padding:0}.jetpack-contact-form.is-placeholder .block-editor-block-variation-picker__variation svg path:not(.icon-filler){fill:currentColor}.jetpack-contact-form.is-placeholder .form-placeholder__footer{align-items:center;display:flex;flex-direction:column;gap:12px;justify-content:center}@media(min-width:600px){.jetpack-contact-form.is-placeholder .form-placeholder__footer{flex-direction:row;justify-content:space-between}}.jetpack-contact-form.is-placeholder .form-placeholder__footer-links{align-items:center;display:flex;flex-direction:column;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}@media(min-width:600px){.jetpack-contact-form.is-placeholder .form-placeholder__footer-links{align-items:flex-end}}.jetpack-contact-form.is-placeholder .form-placeholder__external-link{font-size:13px;font-weight:400;padding:0}.jetpack-contact-form.is-placeholder .form-placeholder__external-link,.jetpack-contact-form.is-placeholder .form-placeholder__external-link:active,.jetpack-contact-form.is-placeholder .form-placeholder__external-link:focus,.jetpack-contact-form.is-placeholder .form-placeholder__external-link:hover{background-color:unset;color:var(--wp-admin-theme-color)}.jetpack-contact-form.is-placeholder .form-placeholder__external-link svg{height:1.4em;margin-right:2px;width:1.4em}.form-placeholder__patterns-modal{max-width:1200px}@media(min-width:600px){.form-placeholder__patterns-modal{height:calc(100% - 120px);width:calc(100% - 32px)}}@media(min-width:782px){.form-placeholder__patterns-modal{width:750px}}@media(min-width:960px){.form-placeholder__patterns-modal{height:80%;max-height:none;width:80%}}.form-placeholder__patterns-modal .components-modal__content{margin-bottom:60px;padding:0}.form-placeholder__patterns-modal .components-modal__content .view-mode-carousel .carousel-container{margin-bottom:20px}.form-placeholder__patterns-modal .components-modal__content .view-mode-carousel .pattern-slide{border:1px solid #ddd}.form-placeholder__patterns-modal .components-modal__content .view-mode-carousel .block-editor-block-pattern-setup__container{padding:0 32px}.form-placeholder__patterns-modal .block-editor-block-pattern-setup__grid .block-editor-block-pattern-setup__container{padding-bottom:72px}.jetpack-contact-form__intro-message{margin:0 0 16px}.jetpack-contact-form__create{width:100%}.jetpack-contact-form__thankyou-redirect-url{min-width:auto}.jetpack-contact-form__thankyou-redirect-url input[type=text]{width:100%}.jetpack-contact-form__thankyou-redirect-url__suggestions{width:230px}.jetpack-contact-form__integration-panel button{margin-top:1em}.jetpack-field-label{align-items:baseline;display:flex;flex-direction:row;justify-content:flex-start}.jetpack-field-label .components-base-control{margin-bottom:-3px;margin-top:-1px}.jetpack-field-label .rich-text.jetpack-field-label__input{cursor:text;font-weight:700;margin-bottom:.25em}.jetpack-field-label .jetpack-field-label__suffix{font-weight:700;margin-inline-start:.25em}.jetpack-field-label .required{color:unset;font-size:85%;font-weight:400;margin-inline-start:.25em;opacity:.6;word-break:normal}.jetpack-field-label .components-toggle-control .components-base-control__field{margin-bottom:0}.jetpack-field-label__input{min-height:unset;padding:0}.jetpack-field__textarea{min-height:200px}.jetpack-field .jetpack-field__input,.jetpack-field .jetpack-field__textarea{border:1px solid #8c8f94;border-radius:0;box-shadow:unset;box-sizing:border-box;font:inherit;margin:0;padding:16px;width:100%}.jetpack-field .jetpack-field__textarea{border:var(--jetpack--contact-form--border);border-color:var(--jetpack--contact-form--border-color);border-style:var(--jetpack--contact-form--border-style);border-width:var(--jetpack--contact-form--border-size)}.jetpack-field .components-base-control__field{margin-bottom:0}.jetpack-field.jetpack-field-checkbox .jetpack-field-checkbox__checkbox,.jetpack-field.jetpack-field-consent .jetpack-field-consent__checkbox{border-color:currentColor;margin:0 0 0 .75rem;opacity:1}.jetpack-field .jetpack-option__type.jetpack-option__type{all:initial;align-items:center;appearance:none;border:none;color:var(--jetpack--contact-form--text-color);display:flex;font-family:var(--jetpack--contact-form--font-family);font-size:var(--jetpack--contact-form--font-size,16px);height:var(--jetpack--contact-form--font-size,16px);justify-content:center;margin:0 0 0 10px;outline:none;pointer-events:none;position:relative;width:var(--jetpack--contact-form--font-size,16px)}.jetpack-field .jetpack-option__type.jetpack-option__type:after,.jetpack-field .jetpack-option__type.jetpack-option__type:before{all:initial;color:inherit;font-family:inherit;font-size:inherit}.jetpack-field .jetpack-option__type.jetpack-option__type:before{align-items:center;border:1px solid;border-radius:min(var(--jetpack--contact-form--button-outline--border-radius,0px),4px);box-sizing:border-box;content:" ";display:flex;font-weight:700;height:var(--jetpack--contact-form--font-size,16px);justify-content:center;width:var(--jetpack--contact-form--font-size,16px)}.jetpack-field .jetpack-option__type.jetpack-option__type[type=radio]:before{border-radius:50%}.jetpack-field.jetpack-field-multiple.is-style-button .jetpack-field-option,.jetpack-field.jetpack-field-multiple.is-style-button .wp-block-jetpack-field-option-checkbox,.jetpack-field.jetpack-field-multiple.is-style-button .wp-block-jetpack-field-option-radio{align-items:center;background:var(--jetpack--contact-form--button-outline--background-color);border:var(--jetpack--contact-form--button-outline--border);border-color:currentColor;border-radius:var(--jetpack--contact-form--button-outline--border-radius);border-width:var(--jetpack--contact-form--button-outline--border-size);color:var(--jetpack--contact-form--button-outline--text-color);line-height:var(--jetpack--contact-form--button-outline--line-height);padding:var(--jetpack--contact-form--button-outline--padding)}.jetpack-field.jetpack-field-multiple.is-style-button .jetpack-field-option.field-option-radio,.jetpack-field.jetpack-field-multiple.is-style-button .wp-block-jetpack-field-option-checkbox.field-option-radio,.jetpack-field.jetpack-field-multiple.is-style-button .wp-block-jetpack-field-option-radio.field-option-radio{flex-direction:row-reverse;gap:16px;position:relative}.jetpack-field.jetpack-field-multiple.is-style-button .jetpack-field-option.field-option-radio .jetpack-option__type,.jetpack-field.jetpack-field-multiple.is-style-button .wp-block-jetpack-field-option-checkbox.field-option-radio .jetpack-option__type,.jetpack-field.jetpack-field-multiple.is-style-button .wp-block-jetpack-field-option-radio.field-option-radio .jetpack-option__type{display:none}.jetpack-field.jetpack-field-multiple.is-style-button .jetpack-field-option .jetpack-option__type,.jetpack-field.jetpack-field-multiple.is-style-button .wp-block-jetpack-field-option-checkbox .jetpack-option__type,.jetpack-field.jetpack-field-multiple.is-style-button .wp-block-jetpack-field-option-radio .jetpack-option__type{color:var(--jetpack--contact-form--button-outline--color)}.jetpack-field.jetpack-field-multiple.is-style-button .wp-block-jetpack-field-option-radio .jetpack-option__type{display:none}.jetpack-field.jetpack-field-multiple .jetpack-field-multiple__add-option{margin:0;padding:0}.jetpack-field.jetpack-field-multiple .jetpack-field-multiple__add-option .dashicon{display:flex;height:1rem;margin-left:.75rem;margin-right:0;width:1rem}.jetpack-field.jetpack-field-multiple .jetpack-field-multiple__add-option .dashicon:before{font-size:1rem}.jetpack-field.jetpack-field-multiple .jetpack-field-multiple__add-option svg{margin-left:12px}.jetpack-field .jetpack-field-consent__checkbox+.jetpack-field-label{line-height:normal}.jetpack-field .jetpack-field-option{align-items:center;display:flex;justify-content:flex-start}.jetpack-field .jetpack-field-option>input{margin:0 0 0 5px}.jetpack-field .jetpack-field-option.field-option-checkbox,.jetpack-field .jetpack-field-option.field-option-radio,.jetpack-field .wp-block-jetpack-field-option-checkbox,.jetpack-field .wp-block-jetpack-field-option-radio{align-items:baseline;display:flex}.jetpack-field .jetpack-field-option.field-option-checkbox .jetpack-option__type:before,.jetpack-field .jetpack-field-option.field-option-radio .jetpack-option__type:before,.jetpack-field .wp-block-jetpack-field-option-checkbox .jetpack-option__type:before,.jetpack-field .wp-block-jetpack-field-option-radio .jetpack-option__type:before{display:block}.jetpack-field .jetpack-field-option.field-option-radio .jetpack-option__type,.jetpack-field .wp-block-jetpack-field-option-radio .jetpack-option__type{transform:translateY(15%)}:where(:not(.contact-form))>.jetpack-field .jetpack-field__input,:where(:not(.contact-form))>.jetpack-field .jetpack-field__textarea{padding-left:max(var(--jetpack--contact-form--input-padding-left,16px),var(--jetpack--contact-form--border-radius));padding-right:max(var(--jetpack--contact-form--input-padding-left,16px),var(--jetpack--contact-form--border-radius))}.jetpack-field-label__width .components-button-group{display:block}.jetpack-field-label__width .components-base-control__field{margin-bottom:12px}.jetpack-field-multiple__list.jetpack-field-multiple__list{align-items:flex-start;display:flex;flex:1;flex-direction:column;gap:12px;list-style-type:none;margin:0;padding-right:0}.jetpack-field-multiple__list.jetpack-field-multiple__list:empty{display:none}[data-type="jetpack/field-select"] .jetpack-field-multiple__list.jetpack-field-multiple__list{border:1px solid #0006;border-radius:4px;padding:4px}.jetpack-option{align-items:center;display:flex;margin:0}.jetpack-option__type.jetpack-option__type{margin-top:0}.jetpack-option__input.jetpack-option__input.jetpack-option__input{background:#0000;border:none;border-radius:0;color:inherit;flex-grow:1;font-size:inherit;line-height:1.5;padding:0}.jetpack-option__input.jetpack-option__input.jetpack-option__input:hover{border-color:#357cb5}.jetpack-option__input.jetpack-option__input.jetpack-option__input:focus{box-shadow:none}.jetpack-field-multiple.components-base-control{font-size:inherit}.jetpack-option__remove.jetpack-option__remove{padding:6px;vertical-align:bottom}.jetpack-field .components-base-control__label{display:block}.jetpack-field-checkbox,.jetpack-field-consent{display:flex}.jetpack-field-checkbox .jetpack-field-label .jetpack-field-label__input,.jetpack-field-consent .jetpack-field-label .jetpack-field-label__input{font-weight:400}.jetpack-field-checkbox{align-items:baseline}.jetpack-field-checkbox .jetpack-field-label{display:block}.jetpack-field-consent{align-items:center}.jetpack-field-consent .jetpack-field-label{flex-grow:1}.jetpack-field-consent .jetpack-field-label .jetpack-field-label__input{font-size:13px;text-transform:uppercase}.block-editor-inserter__preview .jetpack-contact-form{padding:16px}.block-editor-inserter__preview .jetpack-contact-form .block-editor-inner-blocks .block-editor-block-list__layout{margin:0}.jetpack-contact-form__popover .components-popover__content{min-width:260px}.jetpack-contact-form__popover .components-popover__content .components-base-control{margin-bottom:24px}.jetpack-contact-form__popover .components-popover__content .components-base-control:last-child{margin-bottom:8px}.jetpack-contact-form__popover .components-popover__content .form-settings-dropdown__content{padding:12px}.jetpack-contact-form__popover .components-popover__content .form-settings-dropdown__close-icon{height:24px;justify-content:center;padding:0;width:24px}.jetpack-contact-form__popover .components-popover__content .form-settings-dropdown__item svg{margin-left:8px;fill:none}.jetpack-contact-form__crm_text,.jetpack-contact-form__crm_toggle p{margin-bottom:0}.jetpack-field-dropdown{display:inline-flex;flex-direction:column;font-family:var(--jetpack--contact-form--font-family);width:100%}.jetpack-field-dropdown__wrapper{position:relative}.jetpack-field-dropdown__toggle{align-items:center;background-color:var(--jetpack--contact-form--input-background);border:var(--jetpack--contact-form--border);border-color:var(--jetpack--contact-form--border-color);border-radius:var(--jetpack--contact-form--border-radius);border-style:var(--jetpack--contact-form--border-style);border-width:var(--jetpack--contact-form--border-size);color:var(--jetpack--contact-form--text-color);display:flex;font-size:var(--jetpack--contact-form--font-size,16px);justify-content:space-between;line-height:var(--jetpack--contact-form--line-height);padding:var(--jetpack--contact-form--input-padding)}.jetpack-field-dropdown__icon{align-items:center;border:2px solid #0000;box-sizing:border-box;display:flex;height:.8em;justify-content:center;margin-left:4px;overflow:visible;position:relative;width:.8em}.jetpack-field-dropdown__icon:after{border-bottom:2px solid;border-left:2px solid;box-sizing:border-box;content:"";display:block;height:100%;margin-top:-2px;transform:rotate(-45deg);width:100%}.jetpack-field-dropdown__popover{background-color:var(--jetpack--contact-form--input-background);border:var(--jetpack--contact-form--border);border-color:var(--jetpack--contact-form--border-color);border-radius:var(--jetpack--contact-form--border-radius);border-style:var(--jetpack--contact-form--border-style);border-width:var(--jetpack--contact-form--border-size);box-shadow:0 2px 6px #0000000d;color:var(--jetpack--contact-form--text-color);font-size:var(--jetpack--contact-form--font-size,16px);line-height:normal;margin-top:8px;max-height:165px;overflow:auto;padding:0}.jetpack-field-dropdown__popover .rich-text{padding:var(--jetpack--contact-form--input-padding)}.jetpack-contact-form .jetpack-field .jetpack-field__input,.jetpack-contact-form .jetpack-field .jetpack-field__textarea{color:#787c82}.jetpack-contact-form.is-style-animated .jetpack-field,.jetpack-contact-form.is-style-outlined .jetpack-field{position:relative}.jetpack-contact-form.is-style-outlined .block-editor-block-list__block:not([contenteditable]):focus:after{bottom:-10px;left:-10px;right:-10px;top:-10px}.jetpack-contact-form.is-style-outlined .jetpack-field{--notch-width:max(var(--jetpack--contact-form--input-padding-left,16px),var(--jetpack--contact-form--border-radius));display:flex;margin-top:8px}.jetpack-contact-form.is-style-outlined .jetpack-field .notched-label{box-sizing:border-box;display:flex;height:100%;max-width:100%;position:absolute;right:0;text-align:right;top:0;width:100%;z-index:1}.jetpack-contact-form.is-style-outlined .jetpack-field .notched-label__leading{border:var(--jetpack--contact-form--border);border-color:var(--jetpack--contact-form--border-color);border-style:var(--jetpack--contact-form--border-style);border-width:var(--jetpack--contact-form--border-size);border-left:none;border-radius:var(--jetpack--contact-form--border-radius);border-bottom-left-radius:unset;border-top-left-radius:unset;width:var(--notch-width)}.jetpack-contact-form.is-style-outlined .jetpack-field .notched-label__notch{border:var(--jetpack--contact-form--border);border-color:var(--jetpack--contact-form--border-color);border-radius:unset;border-style:var(--jetpack--contact-form--border-style);border-width:var(--jetpack--contact-form--border-size);border-left:none;border-right:none;padding:0 4px;transition:border .15s linear}.jetpack-contact-form.is-style-outlined .jetpack-field .notched-label__label{margin:0;position:relative;top:50%;transform:translateY(-50%);transition:all .15s cubic-bezier(.4,0,.2,1);will-change:transform}.jetpack-contact-form.is-style-outlined .jetpack-field .notched-label__label label{font-weight:300}.jetpack-contact-form.is-style-outlined .jetpack-field .notched-label__trailing{border:var(--jetpack--contact-form--border);border-color:var(--jetpack--contact-form--border-color);border-radius:var(--jetpack--contact-form--border-radius);border-bottom-right-radius:unset;border-style:var(--jetpack--contact-form--border-style);border-width:var(--jetpack--contact-form--border-size);border-right:none;border-top-right-radius:unset;flex-grow:1}.jetpack-contact-form.is-style-outlined .jetpack-field.jetpack-field-textarea .notched-label__label{top:var(--jetpack--contact-form--input-padding-top,16px);transform:unset}.jetpack-contact-form.is-style-outlined .jetpack-field.has-placeholder .notched-label__notch,.jetpack-contact-form.is-style-outlined .jetpack-field.is-selected .notched-label__notch{border-top-color:#0000}.jetpack-contact-form.is-style-outlined .jetpack-field.has-placeholder .notched-label__label,.jetpack-contact-form.is-style-outlined .jetpack-field.is-selected .notched-label__label{font-size:.8em;top:calc(var(--jetpack--contact-form--border-size)*-1);transform:translateY(-50%)}.jetpack-contact-form.is-style-outlined .jetpack-field.has-placeholder.jetpack-field-dropdown .jetpack-field-dropdown__toggle,.jetpack-contact-form.is-style-outlined .jetpack-field.is-selected.jetpack-field-dropdown .jetpack-field-dropdown__toggle{border-color:#0000;padding-left:calc(var(--notch-width) + 4px);padding-right:calc(var(--notch-width) + 4px)}.jetpack-contact-form.is-style-outlined .jetpack-field.jetpack-field-multiple{background-color:var(--jetpack--contact-form--input-background);border:var(--jetpack--contact-form--border);border-color:var(--jetpack--contact-form--border-color);border-radius:var(--jetpack--contact-form--border-radius);border-style:var(--jetpack--contact-form--border-style);border-width:var(--jetpack--contact-form--border-size);border-top:none;padding:var(--jetpack--contact-form--input-padding,16px);padding-top:calc(var(--jetpack--contact-form--input-padding, 16px) + 4px)}.jetpack-contact-form.is-style-outlined .jetpack-field.jetpack-field-multiple .notched-label{height:unset}.jetpack-contact-form.is-style-outlined .jetpack-field.jetpack-field-multiple .notched-label__leading,.jetpack-contact-form.is-style-outlined .jetpack-field.jetpack-field-multiple .notched-label__notch,.jetpack-contact-form.is-style-outlined .jetpack-field.jetpack-field-multiple .notched-label__trailing{border-bottom:none;border-left:none;border-right:none}.jetpack-contact-form.is-style-outlined .jetpack-field.jetpack-field-checkbox{margin-top:0}.jetpack-contact-form.is-style-outlined .jetpack-field .jetpack-field-dropdown__popover .rich-text{padding-left:calc(var(--notch-width) + 4px);padding-right:calc(var(--notch-width) + 4px)}.jetpack-contact-form.is-style-outlined .jetpack-field .jetpack-field-dropdown__icon{margin-left:0}.jetpack-contact-form.is-style-outlined .jetpack-field .jetpack-field__input,.jetpack-contact-form.is-style-outlined .jetpack-field .jetpack-field__textarea{border-top-color:#0000!important;display:flex;outline:none;padding-left:calc(var(--notch-width) + 4px);padding-right:calc(var(--notch-width) + 4px)}.jetpack-contact-form.is-style-animated .jetpack-field{--left-offset:calc(var(--jetpack--contact-form--input-padding-left, 16px) + var(--jetpack--contact-form--border-size));--label-left:max(var(--left-offset),var(--jetpack--contact-form--border-radius));--field-padding:calc(var(--label-left) - var(--jetpack--contact-form--border-size))}.jetpack-contact-form.is-style-animated .jetpack-field .jetpack-field__input{outline:none}.jetpack-contact-form.is-style-animated .jetpack-field .jetpack-field__textarea{outline:none;padding:var(--jetpack--contact-form--input-padding,16px)}.jetpack-contact-form.is-style-animated .jetpack-field .jetpack-field-dropdown__toggle,.jetpack-contact-form.is-style-animated .jetpack-field .jetpack-field__input,.jetpack-contact-form.is-style-animated .jetpack-field .jetpack-field__textarea{padding-left:var(--field-padding);padding-right:var(--field-padding);padding-top:1.4em}.jetpack-contact-form.is-style-animated .jetpack-field.jetpack-field-dropdown .jetpack-field-dropdown__popover .rich-text{padding-left:var(--field-padding);padding-right:var(--field-padding)}.jetpack-contact-form.is-style-animated .jetpack-field.jetpack-field-multiple{padding-bottom:var(--jetpack--contact-form--input-padding,16px);padding-top:1.8em}.jetpack-contact-form.is-style-animated .jetpack-field.jetpack-field-multiple.has-placeholder .animated-label__label{font-size:1em;right:0;top:0}.jetpack-contact-form.is-style-animated .jetpack-field .animated-label__label{box-sizing:border-box;margin:0;max-width:100%;position:absolute;right:var(--label-left);top:50%;transform:translateY(-50%);transition:all .15s cubic-bezier(.4,0,.2,1);width:100%;z-index:1}.jetpack-contact-form.is-style-animated .jetpack-field .animated-label__label .jetpack-field-label__input{margin:0}.jetpack-contact-form.is-style-animated .jetpack-field.jetpack-field-textarea .animated-label__label{top:var(--jetpack--contact-form--input-padding-top,16px);transform:unset}.jetpack-contact-form.is-style-animated .jetpack-field.has-placeholder .animated-label__label,.jetpack-contact-form.is-style-animated .jetpack-field.is-selected .animated-label__label{font-size:.75em;top:calc(2px + var(--jetpack--contact-form--border-size));transform:translateY(0)}.jetpack-contact-form.is-style-below .jetpack-field:not(.jetpack-field-checkbox){display:flex;flex-direction:column-reverse}.block-editor-block-inspector .components-base-control .components-base-control:last-child{margin-bottom:0}@keyframes R2i0K45dEF157drbVRPI{0%{opacity:.6}50%{opacity:1}to{opacity:.6}}.NisihrgiIKl_knpYJtfg{animation:R2i0K45dEF157drbVRPI 1.5s infinite;background-color:var(--jp-gray);height:100%;width:100%}.help-message{display:flex;font-size:13px;line-height:1.4em;margin-bottom:1em;margin-top:-.5em}.help-message svg{margin-left:5px;min-width:24px}.help-message>span{margin-top:2px}.help-message.help-message-is-error{color:var(--color-error)}.help-message.help-message-is-error svg{fill:var(--color-error)}._fUXxnSp5pagKBp9gSN7 *{box-sizing:border-box} \ No newline at end of file +.jetpack-editor-panel-logo{margin-right:.5em}.wp-block-jetpack-contact-form{box-sizing:border-box}.wp-block-jetpack-contact-form .block-editor-block-variation-picker.has-many-variations .components-placeholder__fieldset{margin:0;max-width:unset}.wp-block-jetpack-contact-form .block-editor-block-variation-picker.has-many-variations .components-placeholder__fieldset .block-editor-block-variation-picker__variations{gap:20px 0;justify-content:center;margin:16px auto;max-width:560px}.wp-block-jetpack-contact-form .block-editor-block-variation-picker.has-many-variations .components-placeholder__fieldset .block-editor-block-variation-picker__variations>li{flex:0;margin:0;max-width:none;padding:0 2px;text-align:center;width:unset}.wp-block-jetpack-contact-form .block-editor-block-variation-picker.has-many-variations .components-placeholder__fieldset .block-editor-block-variation-picker__variations .block-editor-block-variation-picker__variation{margin-left:4px;margin-right:4px;padding:22px}.wp-block-jetpack-contact-form .block-editor-block-variation-picker.has-many-variations .components-placeholder__fieldset .block-editor-block-variation-picker__variations .block-editor-block-variation-picker__variation svg{height:auto;width:24px}.wp-block-jetpack-contact-form .block-editor-block-variation-picker.has-many-variations .components-placeholder__fieldset .block-editor-block-variation-picker__variations .block-editor-block-variation-picker__variation-label{margin-left:0}.wp-block-jetpack-contact-form .block-editor-inner-blocks>.block-editor-block-list__layout{display:flex;flex-direction:row;flex-wrap:wrap;gap:var(--wp--style--block-gap,1.5rem);justify-content:flex-start}.wp-block-jetpack-contact-form .block-editor-inner-blocks>.block-editor-block-list__layout .wp-block{flex:0 0 100%;margin:0}.wp-block-jetpack-contact-form .block-editor-inner-blocks>.block-editor-block-list__layout .wp-block.jetpack-field__width-25,.wp-block-jetpack-contact-form .block-editor-inner-blocks>.block-editor-block-list__layout .wp-block.jetpack-field__width-50,.wp-block-jetpack-contact-form .block-editor-inner-blocks>.block-editor-block-list__layout .wp-block.jetpack-field__width-75{box-sizing:border-box}.wp-block-jetpack-contact-form .block-editor-inner-blocks>.block-editor-block-list__layout .wp-block.jetpack-field__width-25{flex:1 1 calc(25% - var(--wp--style--block-gap, 1.5rem)*1);max-width:25%}.wp-block-jetpack-contact-form .block-editor-inner-blocks>.block-editor-block-list__layout .wp-block.jetpack-field__width-25 .jetpack-option__input.jetpack-option__input.jetpack-option__input{width:70px}.wp-block-jetpack-contact-form .block-editor-inner-blocks>.block-editor-block-list__layout .wp-block.jetpack-field__width-50{flex:1 1 calc(50% - var(--wp--style--block-gap, 1.5rem)*1);max-width:50%}.wp-block-jetpack-contact-form .block-editor-inner-blocks>.block-editor-block-list__layout .wp-block.jetpack-field__width-75{flex:1 1 calc(75% - var(--wp--style--block-gap, 1.5rem)*1);max-width:75%}@media(max-width:480px){.wp-block-jetpack-contact-form .block-editor-inner-blocks>.block-editor-block-list__layout .wp-block[class*=jetpack-field__width-]{flex-basis:100%;max-width:none}}.wp-block-jetpack-contact-form .block-editor-inner-blocks>.block-editor-block-list__layout .wp-block[data-type="jetpack/field-checkbox"],.wp-block-jetpack-contact-form .block-editor-inner-blocks>.block-editor-block-list__layout .wp-block[data-type="jetpack/field-consent"]{align-self:center}.wp-block-jetpack-contact-form .block-list-appender{flex:0 0 100%}.wp-block-jetpack-contact-form [data-type="jetpack/field-checkbox-multiple"] .wp-block,.wp-block-jetpack-contact-form [data-type="jetpack/field-radio"] .wp-block{margin:unset}.jetpack-contact-form .components-placeholder{padding:24px}.jetpack-contact-form .components-placeholder input[type=text]{line-height:16px;outline-style:none;outline-width:0;width:100%}.jetpack-contact-form .components-placeholder .components-placeholder__label svg{margin-left:1ch}.jetpack-contact-form .components-placeholder .components-placeholder__fieldset,.jetpack-contact-form .components-placeholder .help-message{max-width:none;text-align:right}.jetpack-contact-form .components-placeholder .help-message{margin:0 0 1em;width:100%}.jetpack-contact-form .components-placeholder .components-base-control{width:100%}.jetpack-contact-form.is-placeholder{background-color:#fff;border:1px solid #1e1e1e;padding:24px}.jetpack-contact-form.is-placeholder .components-placeholder{box-shadow:unset;margin-bottom:16px;padding:0}.jetpack-contact-form.is-placeholder .block-editor-block-variation-picker__variation svg path:not(.icon-filler){fill:currentColor}.jetpack-contact-form.is-placeholder .form-placeholder__footer{align-items:center;display:flex;flex-direction:column;gap:12px;justify-content:center}@media(min-width:600px){.jetpack-contact-form.is-placeholder .form-placeholder__footer{flex-direction:row;justify-content:space-between}}.jetpack-contact-form.is-placeholder .form-placeholder__footer-links{align-items:center;display:flex;flex-direction:column;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}@media(min-width:600px){.jetpack-contact-form.is-placeholder .form-placeholder__footer-links{align-items:flex-end}}.jetpack-contact-form.is-placeholder .form-placeholder__external-link{font-size:13px;font-weight:400;padding:0}.jetpack-contact-form.is-placeholder .form-placeholder__external-link,.jetpack-contact-form.is-placeholder .form-placeholder__external-link:active,.jetpack-contact-form.is-placeholder .form-placeholder__external-link:focus,.jetpack-contact-form.is-placeholder .form-placeholder__external-link:hover{background-color:unset;color:var(--wp-admin-theme-color)}.jetpack-contact-form.is-placeholder .form-placeholder__external-link svg{height:1.4em;margin-right:2px;width:1.4em}.form-placeholder__patterns-modal{max-width:1200px}@media(min-width:600px){.form-placeholder__patterns-modal{height:calc(100% - 120px);width:calc(100% - 32px)}}@media(min-width:782px){.form-placeholder__patterns-modal{width:750px}}@media(min-width:960px){.form-placeholder__patterns-modal{height:80%;max-height:none;width:80%}}.form-placeholder__patterns-modal .components-modal__content{margin-bottom:60px;padding:0}.form-placeholder__patterns-modal .components-modal__content .view-mode-carousel .carousel-container{margin-bottom:20px}.form-placeholder__patterns-modal .components-modal__content .view-mode-carousel .pattern-slide{border:1px solid #ddd}.form-placeholder__patterns-modal .components-modal__content .view-mode-carousel .block-editor-block-pattern-setup__container{padding:0 32px}.form-placeholder__patterns-modal .block-editor-block-pattern-setup__grid .block-editor-block-pattern-setup__container{padding-bottom:72px}.jetpack-contact-form__intro-message{margin:0 0 16px}.jetpack-contact-form__create{width:100%}.jetpack-contact-form__thankyou-redirect-url{min-width:auto}.jetpack-contact-form__thankyou-redirect-url input[type=text]{width:100%}.jetpack-contact-form__thankyou-redirect-url__suggestions{width:230px}.jetpack-contact-form__integration-panel button{margin-top:1em}.jetpack-field-label{align-items:baseline;display:flex;flex-direction:row;justify-content:flex-start}.jetpack-field-label .components-base-control{margin-bottom:-3px;margin-top:-1px}.jetpack-field-label .rich-text.jetpack-field-label__input{cursor:text;font-weight:700;margin-bottom:.25em}.jetpack-field-label .jetpack-field-label__suffix{font-weight:700;margin-inline-start:.25em}.jetpack-field-label .required{color:unset;font-size:85%;font-weight:400;margin-inline-start:.25em;opacity:.6;word-break:normal}.jetpack-field-label .components-toggle-control .components-base-control__field{margin-bottom:0}.jetpack-field-label__input{min-height:unset;padding:0}.jetpack-field__textarea{min-height:200px}.jetpack-field .jetpack-field__input,.jetpack-field .jetpack-field__textarea{border:1px solid #8c8f94;border-radius:0;box-shadow:unset;box-sizing:border-box;font:inherit;margin:0;padding:16px;width:100%}.jetpack-field .jetpack-field__textarea{border:var(--jetpack--contact-form--border);border-color:var(--jetpack--contact-form--border-color);border-style:var(--jetpack--contact-form--border-style);border-width:var(--jetpack--contact-form--border-size)}.jetpack-field .components-base-control__field{margin-bottom:0}.jetpack-field.jetpack-field-checkbox .jetpack-field-checkbox__checkbox,.jetpack-field.jetpack-field-consent .jetpack-field-consent__checkbox{border-color:currentColor;margin:0 0 0 .75rem;opacity:1}.jetpack-field .jetpack-option__type.jetpack-option__type{all:initial;align-items:center;appearance:none;border:none;color:var(--jetpack--contact-form--text-color);display:flex;font-family:var(--jetpack--contact-form--font-family);font-size:var(--jetpack--contact-form--font-size,16px);height:var(--jetpack--contact-form--font-size,16px);justify-content:center;margin:0 0 0 10px;outline:none;pointer-events:none;position:relative;width:var(--jetpack--contact-form--font-size,16px)}.jetpack-field .jetpack-option__type.jetpack-option__type:after,.jetpack-field .jetpack-option__type.jetpack-option__type:before{all:initial;color:inherit;font-family:inherit;font-size:inherit}.jetpack-field .jetpack-option__type.jetpack-option__type:before{align-items:center;border:1px solid;border-radius:min(var(--jetpack--contact-form--button-outline--border-radius,0px),4px);box-sizing:border-box;content:" ";display:flex;font-weight:700;height:var(--jetpack--contact-form--font-size,16px);justify-content:center;width:var(--jetpack--contact-form--font-size,16px)}.jetpack-field .jetpack-option__type.jetpack-option__type[type=radio]:before{border-radius:50%}.jetpack-field.jetpack-field-multiple.is-style-button .jetpack-field-option,.jetpack-field.jetpack-field-multiple.is-style-button .wp-block-jetpack-field-option-checkbox,.jetpack-field.jetpack-field-multiple.is-style-button .wp-block-jetpack-field-option-radio{align-items:center;background:var(--jetpack--contact-form--button-outline--background-color);border:var(--jetpack--contact-form--button-outline--border);border-color:currentColor;border-radius:var(--jetpack--contact-form--button-outline--border-radius);border-width:var(--jetpack--contact-form--button-outline--border-size);color:var(--jetpack--contact-form--button-outline--text-color);line-height:var(--jetpack--contact-form--button-outline--line-height);padding:var(--jetpack--contact-form--button-outline--padding)}.jetpack-field.jetpack-field-multiple.is-style-button .jetpack-field-option.field-option-radio,.jetpack-field.jetpack-field-multiple.is-style-button .wp-block-jetpack-field-option-checkbox.field-option-radio,.jetpack-field.jetpack-field-multiple.is-style-button .wp-block-jetpack-field-option-radio.field-option-radio{flex-direction:row-reverse;gap:16px;position:relative}.jetpack-field.jetpack-field-multiple.is-style-button .jetpack-field-option.field-option-radio .jetpack-option__type,.jetpack-field.jetpack-field-multiple.is-style-button .wp-block-jetpack-field-option-checkbox.field-option-radio .jetpack-option__type,.jetpack-field.jetpack-field-multiple.is-style-button .wp-block-jetpack-field-option-radio.field-option-radio .jetpack-option__type{display:none}.jetpack-field.jetpack-field-multiple.is-style-button .jetpack-field-option .jetpack-option__type,.jetpack-field.jetpack-field-multiple.is-style-button .wp-block-jetpack-field-option-checkbox .jetpack-option__type,.jetpack-field.jetpack-field-multiple.is-style-button .wp-block-jetpack-field-option-radio .jetpack-option__type{color:var(--jetpack--contact-form--button-outline--color)}.jetpack-field.jetpack-field-multiple.is-style-button .wp-block-jetpack-field-option-radio .jetpack-option__type{display:none}.jetpack-field.jetpack-field-multiple .jetpack-field-multiple__add-option{margin:0;padding:0}.jetpack-field.jetpack-field-multiple .jetpack-field-multiple__add-option .dashicon{display:flex;height:1rem;margin-left:.75rem;margin-right:0;width:1rem}.jetpack-field.jetpack-field-multiple .jetpack-field-multiple__add-option .dashicon:before{font-size:1rem}.jetpack-field.jetpack-field-multiple .jetpack-field-multiple__add-option svg{margin-left:12px}.jetpack-field .jetpack-field-consent__checkbox+.jetpack-field-label{line-height:normal}.jetpack-field .jetpack-field-option{align-items:center;display:flex;justify-content:flex-start}.jetpack-field .jetpack-field-option>input{margin:0 0 0 5px}.jetpack-field .jetpack-field-option.field-option-checkbox,.jetpack-field .jetpack-field-option.field-option-radio,.jetpack-field .wp-block-jetpack-field-option-checkbox,.jetpack-field .wp-block-jetpack-field-option-radio{align-items:baseline;display:flex}.jetpack-field .jetpack-field-option.field-option-checkbox .jetpack-option__type:before,.jetpack-field .jetpack-field-option.field-option-radio .jetpack-option__type:before,.jetpack-field .wp-block-jetpack-field-option-checkbox .jetpack-option__type:before,.jetpack-field .wp-block-jetpack-field-option-radio .jetpack-option__type:before{display:block}.jetpack-field .jetpack-field-option.field-option-radio .jetpack-option__type,.jetpack-field .wp-block-jetpack-field-option-radio .jetpack-option__type{transform:translateY(15%)}:where(:not(.contact-form))>.jetpack-field .jetpack-field__input,:where(:not(.contact-form))>.jetpack-field .jetpack-field__textarea{padding-left:max(var(--jetpack--contact-form--input-padding-left,16px),var(--jetpack--contact-form--border-radius));padding-right:max(var(--jetpack--contact-form--input-padding-left,16px),var(--jetpack--contact-form--border-radius))}.jetpack-field-multiple__list.jetpack-field-multiple__list{align-items:flex-start;display:flex;flex:1;flex-direction:column;gap:12px;list-style-type:none;margin:0;padding-right:0}.jetpack-field-multiple__list.jetpack-field-multiple__list:empty{display:none}[data-type="jetpack/field-select"] .jetpack-field-multiple__list.jetpack-field-multiple__list{border:1px solid #0006;border-radius:4px;padding:4px}.jetpack-option{align-items:center;display:flex;margin:0}.jetpack-option__type.jetpack-option__type{margin-top:0}.jetpack-option__input.jetpack-option__input.jetpack-option__input{background:#0000;border:none;border-radius:0;color:inherit;flex-grow:1;font-size:inherit;line-height:1.5;padding:0}.jetpack-option__input.jetpack-option__input.jetpack-option__input:hover{border-color:#357cb5}.jetpack-option__input.jetpack-option__input.jetpack-option__input:focus{box-shadow:none}.jetpack-field-multiple.components-base-control{font-size:inherit}.jetpack-option__remove.jetpack-option__remove{padding:6px;vertical-align:bottom}.jetpack-field .components-base-control__label{display:block}.jetpack-field-checkbox,.jetpack-field-consent{display:flex}.jetpack-field-checkbox .jetpack-field-label .jetpack-field-label__input,.jetpack-field-consent .jetpack-field-label .jetpack-field-label__input{font-weight:400}.jetpack-field-checkbox{align-items:baseline}.jetpack-field-checkbox .jetpack-field-label{display:block}.jetpack-field-consent{align-items:center}.jetpack-field-consent .jetpack-field-label{flex-grow:1}.jetpack-field-consent .jetpack-field-label .jetpack-field-label__input{font-size:13px;text-transform:uppercase}.block-editor-inserter__preview .jetpack-contact-form{padding:16px}.block-editor-inserter__preview .jetpack-contact-form .block-editor-inner-blocks .block-editor-block-list__layout{margin:0}.jetpack-contact-form__popover .components-popover__content{min-width:260px}.jetpack-contact-form__popover .components-popover__content .components-base-control{margin-bottom:24px}.jetpack-contact-form__popover .components-popover__content .components-base-control:last-child{margin-bottom:8px}.jetpack-contact-form__popover .components-popover__content .form-settings-dropdown__content{padding:12px}.jetpack-contact-form__popover .components-popover__content .form-settings-dropdown__close-icon{height:24px;justify-content:center;padding:0;width:24px}.jetpack-contact-form__popover .components-popover__content .form-settings-dropdown__item svg{margin-left:8px;fill:none}.jetpack-contact-form__crm_text,.jetpack-contact-form__crm_toggle p{margin-bottom:0}.jetpack-field-dropdown{display:inline-flex;flex-direction:column;font-family:var(--jetpack--contact-form--font-family);width:100%}.jetpack-field-dropdown__wrapper{position:relative}.jetpack-field-dropdown__toggle{align-items:center;background-color:var(--jetpack--contact-form--input-background);border:var(--jetpack--contact-form--border);border-color:var(--jetpack--contact-form--border-color);border-radius:var(--jetpack--contact-form--border-radius);border-style:var(--jetpack--contact-form--border-style);border-width:var(--jetpack--contact-form--border-size);color:var(--jetpack--contact-form--text-color);display:flex;font-size:var(--jetpack--contact-form--font-size,16px);justify-content:space-between;line-height:var(--jetpack--contact-form--line-height);padding:var(--jetpack--contact-form--input-padding)}.jetpack-field-dropdown__icon{align-items:center;border:2px solid #0000;box-sizing:border-box;display:flex;height:.8em;justify-content:center;margin-left:4px;overflow:visible;position:relative;width:.8em}.jetpack-field-dropdown__icon:after{border-bottom:2px solid;border-left:2px solid;box-sizing:border-box;content:"";display:block;height:100%;margin-top:-2px;transform:rotate(-45deg);width:100%}.jetpack-field-dropdown__popover{background-color:var(--jetpack--contact-form--input-background);border:var(--jetpack--contact-form--border);border-color:var(--jetpack--contact-form--border-color);border-radius:var(--jetpack--contact-form--border-radius);border-style:var(--jetpack--contact-form--border-style);border-width:var(--jetpack--contact-form--border-size);box-shadow:0 2px 6px #0000000d;color:var(--jetpack--contact-form--text-color);font-size:var(--jetpack--contact-form--font-size,16px);line-height:normal;margin-top:8px;max-height:165px;overflow:auto;padding:0}.jetpack-field-dropdown__popover .rich-text{padding:var(--jetpack--contact-form--input-padding)}.jetpack-contact-form .jetpack-field .jetpack-field__input,.jetpack-contact-form .jetpack-field .jetpack-field__textarea{color:#787c82}.jetpack-contact-form.is-style-animated .jetpack-field,.jetpack-contact-form.is-style-outlined .jetpack-field{position:relative}.jetpack-contact-form.is-style-outlined .block-editor-block-list__block:not([contenteditable]):focus:after{bottom:-10px;left:-10px;right:-10px;top:-10px}.jetpack-contact-form.is-style-outlined .jetpack-field{--notch-width:max(var(--jetpack--contact-form--input-padding-left,16px),var(--jetpack--contact-form--border-radius));display:flex;margin-top:8px}.jetpack-contact-form.is-style-outlined .jetpack-field .notched-label{box-sizing:border-box;display:flex;height:100%;max-width:100%;position:absolute;right:0;text-align:right;top:0;width:100%;z-index:1}.jetpack-contact-form.is-style-outlined .jetpack-field .notched-label__leading{border:var(--jetpack--contact-form--border);border-color:var(--jetpack--contact-form--border-color);border-style:var(--jetpack--contact-form--border-style);border-width:var(--jetpack--contact-form--border-size);border-left:none;border-radius:var(--jetpack--contact-form--border-radius);border-bottom-left-radius:unset;border-top-left-radius:unset;width:var(--notch-width)}.jetpack-contact-form.is-style-outlined .jetpack-field .notched-label__notch{border:var(--jetpack--contact-form--border);border-color:var(--jetpack--contact-form--border-color);border-radius:unset;border-style:var(--jetpack--contact-form--border-style);border-width:var(--jetpack--contact-form--border-size);border-left:none;border-right:none;padding:0 4px;transition:border .15s linear}.jetpack-contact-form.is-style-outlined .jetpack-field .notched-label__label{margin:0;position:relative;top:50%;transform:translateY(-50%);transition:all .15s cubic-bezier(.4,0,.2,1);will-change:transform}.jetpack-contact-form.is-style-outlined .jetpack-field .notched-label__label label{font-weight:300}.jetpack-contact-form.is-style-outlined .jetpack-field .notched-label__trailing{border:var(--jetpack--contact-form--border);border-color:var(--jetpack--contact-form--border-color);border-radius:var(--jetpack--contact-form--border-radius);border-bottom-right-radius:unset;border-style:var(--jetpack--contact-form--border-style);border-width:var(--jetpack--contact-form--border-size);border-right:none;border-top-right-radius:unset;flex-grow:1}.jetpack-contact-form.is-style-outlined .jetpack-field.jetpack-field-textarea .notched-label__label{top:var(--jetpack--contact-form--input-padding-top,16px);transform:unset}.jetpack-contact-form.is-style-outlined .jetpack-field.has-placeholder .notched-label__notch,.jetpack-contact-form.is-style-outlined .jetpack-field.is-selected .notched-label__notch{border-top-color:#0000}.jetpack-contact-form.is-style-outlined .jetpack-field.has-placeholder .notched-label__label,.jetpack-contact-form.is-style-outlined .jetpack-field.is-selected .notched-label__label{font-size:.8em;top:calc(var(--jetpack--contact-form--border-size)*-1);transform:translateY(-50%)}.jetpack-contact-form.is-style-outlined .jetpack-field.has-placeholder.jetpack-field-dropdown .jetpack-field-dropdown__toggle,.jetpack-contact-form.is-style-outlined .jetpack-field.is-selected.jetpack-field-dropdown .jetpack-field-dropdown__toggle{border-color:#0000;padding-left:calc(var(--notch-width) + 4px);padding-right:calc(var(--notch-width) + 4px)}.jetpack-contact-form.is-style-outlined .jetpack-field.jetpack-field-multiple{background-color:var(--jetpack--contact-form--input-background);border:var(--jetpack--contact-form--border);border-color:var(--jetpack--contact-form--border-color);border-radius:var(--jetpack--contact-form--border-radius);border-style:var(--jetpack--contact-form--border-style);border-width:var(--jetpack--contact-form--border-size);border-top:none;padding:var(--jetpack--contact-form--input-padding,16px);padding-top:calc(var(--jetpack--contact-form--input-padding, 16px) + 4px)}.jetpack-contact-form.is-style-outlined .jetpack-field.jetpack-field-multiple .notched-label{height:unset}.jetpack-contact-form.is-style-outlined .jetpack-field.jetpack-field-multiple .notched-label__leading,.jetpack-contact-form.is-style-outlined .jetpack-field.jetpack-field-multiple .notched-label__notch,.jetpack-contact-form.is-style-outlined .jetpack-field.jetpack-field-multiple .notched-label__trailing{border-bottom:none;border-left:none;border-right:none}.jetpack-contact-form.is-style-outlined .jetpack-field.jetpack-field-checkbox{margin-top:0}.jetpack-contact-form.is-style-outlined .jetpack-field .jetpack-field-dropdown__popover .rich-text{padding-left:calc(var(--notch-width) + 4px);padding-right:calc(var(--notch-width) + 4px)}.jetpack-contact-form.is-style-outlined .jetpack-field .jetpack-field-dropdown__icon{margin-left:0}.jetpack-contact-form.is-style-outlined .jetpack-field .jetpack-field__input,.jetpack-contact-form.is-style-outlined .jetpack-field .jetpack-field__textarea{border-top-color:#0000!important;display:flex;outline:none;padding-left:calc(var(--notch-width) + 4px);padding-right:calc(var(--notch-width) + 4px)}.jetpack-contact-form.is-style-animated .jetpack-field{--left-offset:calc(var(--jetpack--contact-form--input-padding-left, 16px) + var(--jetpack--contact-form--border-size));--label-left:max(var(--left-offset),var(--jetpack--contact-form--border-radius));--field-padding:calc(var(--label-left) - var(--jetpack--contact-form--border-size))}.jetpack-contact-form.is-style-animated .jetpack-field .jetpack-field__input{outline:none}.jetpack-contact-form.is-style-animated .jetpack-field .jetpack-field__textarea{outline:none;padding:var(--jetpack--contact-form--input-padding,16px)}.jetpack-contact-form.is-style-animated .jetpack-field .jetpack-field-dropdown__toggle,.jetpack-contact-form.is-style-animated .jetpack-field .jetpack-field__input,.jetpack-contact-form.is-style-animated .jetpack-field .jetpack-field__textarea{padding-left:var(--field-padding);padding-right:var(--field-padding);padding-top:1.4em}.jetpack-contact-form.is-style-animated .jetpack-field.jetpack-field-dropdown .jetpack-field-dropdown__popover .rich-text{padding-left:var(--field-padding);padding-right:var(--field-padding)}.jetpack-contact-form.is-style-animated .jetpack-field.jetpack-field-multiple{padding-bottom:var(--jetpack--contact-form--input-padding,16px);padding-top:1.8em}.jetpack-contact-form.is-style-animated .jetpack-field.jetpack-field-multiple.has-placeholder .animated-label__label{font-size:1em;right:0;top:0}.jetpack-contact-form.is-style-animated .jetpack-field .animated-label__label{box-sizing:border-box;margin:0;max-width:100%;position:absolute;right:var(--label-left);top:50%;transform:translateY(-50%);transition:all .15s cubic-bezier(.4,0,.2,1);width:100%;z-index:1}.jetpack-contact-form.is-style-animated .jetpack-field .animated-label__label .jetpack-field-label__input{margin:0}.jetpack-contact-form.is-style-animated .jetpack-field.jetpack-field-textarea .animated-label__label{top:var(--jetpack--contact-form--input-padding-top,16px);transform:unset}.jetpack-contact-form.is-style-animated .jetpack-field.has-placeholder .animated-label__label,.jetpack-contact-form.is-style-animated .jetpack-field.is-selected .animated-label__label{font-size:.75em;top:calc(2px + var(--jetpack--contact-form--border-size));transform:translateY(0)}.jetpack-contact-form.is-style-below .jetpack-field:not(.jetpack-field-checkbox){display:flex;flex-direction:column-reverse}.block-editor-block-inspector .components-base-control .components-base-control:last-child{margin-bottom:0}@keyframes R2i0K45dEF157drbVRPI{0%{opacity:.6}50%{opacity:1}to{opacity:.6}}.NisihrgiIKl_knpYJtfg{animation:R2i0K45dEF157drbVRPI 1.5s infinite;background-color:var(--jp-gray);height:100%;width:100%}.help-message{display:flex;font-size:13px;line-height:1.4em;margin-bottom:1em;margin-top:-.5em}.help-message svg{margin-left:5px;min-width:24px}.help-message>span{margin-top:2px}.help-message.help-message-is-error{color:var(--color-error)}.help-message.help-message-is-error svg{fill:var(--color-error)}._fUXxnSp5pagKBp9gSN7 *{box-sizing:border-box} \ No newline at end of file