Version Description
- Improvement: Forms are now automatically hidden after a successful submission, and a "Fill out this form again" link lets submitters submit again for better usability.
- Improvement: Control labels in the builder have been reworded for better clarity.
Download this release
Release Info
Developer | happyforms |
Plugin | Form builder to get in touch with visitors, grow your email list and collect payments — Happyforms |
Version | 1.18.0 |
Comparing to | |
See all releases |
Code changes from version 1.17.0 to 1.18.0
- bundles/css/frontend.css +1 -1
- bundles/js/frontend.js +1 -1
- core/assets/css/customize.css +20 -16
- core/assets/js/parts/part-checkbox.js +12 -10
- core/assets/js/parts/part-field-choice.js +20 -6
- core/assets/js/parts/part-radio.js +12 -10
- core/assets/js/parts/part-select.js +11 -9
- core/assets/svg/icons/scale.svg +0 -1
- core/classes/class-form-setup.php +21 -34
- core/classes/parts/class-part-checkbox.php +2 -2
- core/classes/parts/class-part-radio.php +1 -3
- core/classes/parts/class-part-select.php +1 -3
- core/helpers/helper-misc.php +37 -1
- core/templates/partials/form-after-submission-links.php +3 -0
- core/templates/parts/customize-checkbox.php +13 -7
- core/templates/parts/customize-radio.php +15 -7
- core/templates/parts/customize-select.php +13 -7
- core/templates/parts/frontend-checkbox.php +1 -1
- core/templates/parts/frontend-radio.php +1 -1
- happyforms.php +3 -3
- inc/assets/css/frontend/color.css +41 -0
- inc/assets/js/customize.js +11 -0
- inc/assets/js/frontend.js +15 -1
- inc/classes/class-answer-limiter-dummy.php +2 -2
- inc/classes/class-happyforms.php +10 -3
- inc/classes/parts/class-part-likert-scale-dummy.php +0 -12
- inc/templates/customize-controls/text_dummy.php +8 -0
- inc/templates/customize-form-part-choice-footer.php +5 -0
- {core → inc}/templates/customize-form-part-footer.php +0 -0
- languages/happyforms.pot +65 -84
- readme.txt +12 -3
bundles/css/frontend.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
:root{--happyforms-color-primary:#000;--happyforms-color-success-notice:#ebf9f0;--happyforms-color-success-notice-text:#1eb452;--happyforms-color-error:#f23000;--happyforms-color-error-notice:#ffeeea;--happyforms-color-error-notice-text:#f23000;--happyforms-color-notice-text:#454545;--happyforms-color-part-title:#000;--happyforms-color-part-value:#000;--happyforms-color-part-placeholder:#888888;--happyforms-color-part-description:#454545;--happyforms-color-part-border:#dbdbdb;--happyforms-color-part-border-focus:#7aa4ff;--happyforms-color-part-background:#fff;--happyforms-color-part-background-focus:#fff;--happyforms-color-submit-background:#000000;--happyforms-color-submit-background-hover:#000000;--happyforms-color-submit-border:transparent;--happyforms-color-submit-text:#fff;--happyforms-color-submit-text-hover:#fff;--happyforms-color-table-row-odd:#fcfcfc;--happyforms-color-table-row-even:#efefef;--happyforms-color-table-row-odd-text:#000;--happyforms-color-table-row-even-text:#000;--happyforms-color-choice-checkmark-bg:#fff;--happyforms-color-choice-checkmark-bg-focus:#000;--happyforms-color-choice-checkmark-color:#fff;--happyforms-color-dropdown-bg-color:#fff;--happyforms-color-dropdown-item-bg:#fff;--happyforms-color-dropdown-item-text:#000;--happyforms-color-dropdown-item-bg-hover:#f4f4f5;--happyforms-color-dropdown-item-text-hover:#000;--happyforms-form-title-font-size:32px;--happyforms-form-font-weight:normal;--happyforms-part-title-font-size:16px;--happyforms-part-description-font-size:12px;--happyforms-part-value-font-size:16px;--happyforms-submit-button-font-size:16px;--happyforms-transition-duration:0.25s}.happyforms-form.happyforms-styles form{font-weight:400;font-weight:var(--happyforms-form-font-weight);transition:opacity .25s ease-in-out;transition:opacity var(--happyforms-transition-duration) ease-in-out}.happyforms-styles h3.happyforms-form__title{font-weight:400;font-size:32px;font-size:var(--happyforms-form-title-font-size);color:#000;color:var(--happyforms-color-primary)}.happyforms-styles .happyforms-part__label{line-height:1;font-weight:400;font-size:16px;font-size:var(--happyforms-part-title-font-size);background-color:transparent;overflow-wrap:anywhere}.happyforms-styles .happyforms-part__label .happyforms-optional,.happyforms-styles .happyforms-part__label .label{font-weight:400;font-style:normal;font-size:16px;font-size:var(--happyforms-part-title-font-size);color:#000;color:var(--happyforms-color-part-title);background-color:transparent}.happyforms-styles .happyforms-part__description{line-height:1.4;font-size:14px;font-size:var(--happyforms-part-description-font-size);color:#454545;color:var(--happyforms-color-part-description);overflow-wrap:anywhere}.happyforms-styles .happyforms-part input[type=email],.happyforms-styles .happyforms-part input[type=number],.happyforms-styles .happyforms-part input[type=password],.happyforms-styles .happyforms-part input[type=range],.happyforms-styles .happyforms-part input[type=tel],.happyforms-styles .happyforms-part input[type=text],.happyforms-styles .happyforms-part select.happyforms-select,.happyforms-styles .happyforms-part textarea{margin:0;padding:10px;border-width:1px;border-style:solid;border-color:#dbdbdb!important;border-color:var(--happyforms-color-part-border)!important;border-radius:6px;border-radius:6px!important;box-shadow:none;box-sizing:border-box;font-style:normal;font-size:16px;font-size:var(--happyforms-part-value-font-size);background-color:#fff!important;background-color:var(--happyforms-color-part-background)!important;color:#000;color:var(--happyforms-color-part-value);transition-property:none;transition-duration:.1s;transition-duration:var(--happyforms-transition-duration);transition-timing-function:ease-in}.happyforms-styles .happyforms-part input[type=email],.happyforms-styles .happyforms-part input[type=number],.happyforms-styles .happyforms-part input[type=password],.happyforms-styles .happyforms-part input[type=range],.happyforms-styles .happyforms-part input[type=tel],.happyforms-styles .happyforms-part input[type=text],.happyforms-styles .happyforms-part select.happyforms-select{height:auto!important}.happyforms-styles.happyforms-form--part-border-off .happyforms-part input[type=email],.happyforms-styles.happyforms-form--part-border-off .happyforms-part input[type=number],.happyforms-styles.happyforms-form--part-border-off .happyforms-part input[type=password],.happyforms-styles.happyforms-form--part-border-off .happyforms-part input[type=range],.happyforms-styles.happyforms-form--part-border-off .happyforms-part input[type=tel],.happyforms-styles.happyforms-form--part-border-off .happyforms-part input[type=text],.happyforms-styles.happyforms-form--part-border-off .happyforms-part select.happyforms-select,.happyforms-styles.happyforms-form--part-border-off .happyforms-part textarea{border-color:transparent!important}.happyforms-styles .happyforms-part input[type=email]:focus,.happyforms-styles .happyforms-part input[type=number]:focus,.happyforms-styles .happyforms-part input[type=password]:focus,.happyforms-styles .happyforms-part input[type=tel]:focus,.happyforms-styles .happyforms-part input[type=text]:focus,.happyforms-styles .happyforms-part select.happyforms-select:focus,.happyforms-styles .happyforms-part textarea:focus{outline:0;border-color:#7aa4ff!important;border-color:var(--happyforms-color-part-border-focus)!important;color:#000;color:var(--happyforms-color-part-value);background-color:#fff!important;background-color:var(--happyforms-color-part-background-focus)!important;box-shadow:inset 0 0 0 1px #7aa4ff;box-shadow:inset 0 0 0 1px var(--happyforms-color-part-border-focus)}.happyforms-styles .happyforms-part select:focus{outline:0}.happyforms-styles.happyforms-form--part-border-off .happyforms-part input[type=email]:focus,.happyforms-styles.happyforms-form--part-border-off .happyforms-part input[type=number]:focus,.happyforms-styles.happyforms-form--part-border-off .happyforms-part input[type=password]:focus,.happyforms-styles.happyforms-form--part-border-off .happyforms-part input[type=tel]:focus,.happyforms-styles.happyforms-form--part-border-off .happyforms-part input[type=text]:focus,.happyforms-styles.happyforms-form--part-border-off .happyforms-part select.happyforms-select:focus,.happyforms-styles.happyforms-form--part-border-off .happyforms-part textarea:focus{border-color:transparent!important}.happyforms-styles .happyforms-part.happyforms-part--error input[type=email],.happyforms-styles .happyforms-part.happyforms-part--error input[type=number],.happyforms-styles .happyforms-part.happyforms-part--error input[type=password],.happyforms-styles .happyforms-part.happyforms-part--error input[type=range],.happyforms-styles .happyforms-part.happyforms-part--error input[type=tel],.happyforms-styles .happyforms-part.happyforms-part--error input[type=text],.happyforms-styles .happyforms-part.happyforms-part--error textarea{border-color:#f23000;border-color:var(--happyforms-color-error)}.happyforms-styles .happyforms-part.display-type--block .happyforms-part__el{width:100%}.happyforms-styles .happyforms-part ::-webkit-input-placeholder{font-weight:400;font-style:normal;color:#888;color:var(--happyforms-color-part-placeholder)!important}.happyforms-styles .happyforms-part ::-moz-placeholder{font-weight:400;font-style:normal;color:#888;color:var(--happyforms-color-part-placeholder)!important}.happyforms-styles .happyforms-part ::-ms-placeholder{font-weight:400;font-style:normal;color:#888;color:var(--happyforms-color-part-placeholder)!important}.happyforms-styles .happyforms-part ::placeholder{font-weight:400;font-style:normal;color:#888;color:var(--happyforms-color-part-placeholder)!important}.happyforms-styles .happyforms-part-el-wrap{position:relative}.happyforms-styles .happyforms-part-wrap{position:relative}.happyforms-styles .happyforms-part .option-label{border-radius:6px;line-height:1.3125;line-height:calc(var(--happyforms-part-value-font-size) * 1.3125);font-size:16px;font-size:var(--happyforms-part-value-font-size);overflow-wrap:anywhere}.happyforms-styles .happyforms-part .happyforms-part-option:last-of-type .option-label{margin-bottom:0}.happyforms-styles .option-label input[type=text]{position:relative;top:0;padding-top:1px;padding-bottom:1px;border:0;border-radius:0!important}.happyforms-styles .option-label input[type=text]:focus{border-top:0;border-right:0;border-left:0;box-shadow:none}.happyforms-styles .option-label input{top:3px}.happyforms-styles .happyforms-part--checkbox .happyforms-part-option,.happyforms-styles .happyforms-part--radio .happyforms-part-option{margin-bottom:10px}.happyforms-styles .happyforms-part--checkbox label.option-label,.happyforms-styles .happyforms-part--radio label.option-label{margin-bottom:0}.happyforms-part .option-label .happyforms-remaining-choice,.happyforms-styles .happyforms-part .option-label .label{font-weight:400;font-size:16px;font-size:var(--happyforms-part-value-font-size);color:#000;color:var(--happyforms-color-part-description)}.happyforms-styles .happyforms-part .option-label input:checked+.checkmark{background-color:#000;background-color:var(--happyforms-color-choice-checkmark-bg-focus)}.happyforms-styles .happyforms-part-option__description{font-size:var(--happyforms-part-description-font-size);color:#000;color:var(--happyforms-color-part-description)}.happyforms-styles .happyforms-part .happyforms-part-option label.heading-label{font-weight:400;font-style:normal;font-size:16px;font-size:var(--happyforms-part-value-font-size);color:#000;color:var(--happyforms-color-part-title)}.happyforms-styles .happyforms-part .checkmark{z-index:5;display:flex;align-items:center;justify-content:center;width:21px;min-width:21px;height:21px;margin:calc((var(--happyforms-part-value-font-size) * 1.3125 - 21px)/ 2) 0;border-radius:50%;border:1px solid;border-color:#dbdbdb;border-color:var(--happyforms-color-part-border);font-weight:700;font-size:14px;font-size:var(--happyforms-part-description-font-size);background-color:#fff;background-color:var(--happyforms-color-choice-checkmark-bg);color:#000;color:var(--happyforms-color-choice-checkmark-bg-focus)}.happyforms-styles .happyforms-part .checkmark svg{display:none;width:10px}.happyforms-styles .happyforms-part--checkbox .checkmark,.happyforms-styles .happyforms-part--legal .checkmark,.happyforms-styles .happyforms-part--table.happyforms-selection--multiple .checkmark{border-radius:6px}.happyforms-styles.happyforms-form--part-border-radius-square .happyforms-part--checkbox .checkmark,.happyforms-styles.happyforms-form--part-border-radius-square .happyforms-part--legal .checkmark,.happyforms-styles.happyforms-form--part-border-radius-square .happyforms-part--table.happyforms-selection--multiple .checkmark{border-radius:0}.happyforms-styles .happyforms-part .option-label input:checked+.checkmark{background-color:#000;background-color:var(--happyforms-color-choice-checkmark-bg-focus)}.happyforms-styles .happyforms-part .option-label input:focus+.checkmark{border-color:#7aa4ff;border-color:var(--happyforms-color-part-border-focus);box-shadow:inset 0 0 0 1px #7aa4ff;box-shadow:inset 0 0 0 1px var(--happyforms-color-part-border-focus)}.happyforms-styles .happyforms-part input:checked+.checkmark svg{display:block;color:#fff;color:var(--happyforms-color-choice-checkmark-color)}.happyforms-radio-circle{display:none;width:7px;height:7px;border-radius:50%;background-color:#fff;background-color:var(--happyforms-color-choice-checkmark-color)}.happyforms-styles .happyforms-part--poll input:checked+.checkmark .happyforms-radio-circle,.happyforms-styles .happyforms-part--radio input:checked+.checkmark .happyforms-radio-circle,.happyforms-styles .happyforms-part--table:not(.happyforms-selection--multiple) input:checked+.checkmark .happyforms-radio-circle{display:block}.happyforms-styles .happyforms-part input:checked+.checkmark svg{display:block;color:#fff;color:var(--happyforms-color-choice-checkmark-color)}.happyforms-styles .happyforms-part__select-bg{padding:1px 0 2px;border:1px solid;border-radius:6px;border-color:#dbdbdb;border-color:var(--happyforms-color-part-border);background-color:#fff;background-color:var(--happyforms-color-part-background)}.happyforms-styles .happyforms-part__select-wrap:after{border-top:6px solid #000;border-top-color:var(--happyforms-color-part-value)}.happyforms-styles .happyforms-part select.happyforms-select:invalid{color:var(--happyforms-color-part-placeholder)!important}.happyforms-styles .happyforms-part select.happyforms-select:focus{outline-width:1px;outline-color:#000;outline-color:var(--happyforms-color-part-value)}.happyforms-styles .happyforms-part-date__time-input .happyforms-spinner-arrow{border-top:6px solid #000;border-top:6px solid var(--happyforms-color-part-value);background-position:left top;background-size:cover}.happyforms-styles button[type=submit].happyforms-button--submit,.happyforms-styles button[type=submit][disabled].happyforms-button--submit{-webkit-appearance:none;height:auto;padding:15px 30px;border-radius:4px!important;border:1px solid transparent!important;border-color:var(--happyforms-color-submit-border)!important;font-weight:400;font-style:normal;font-size:16px;font-size:var(--happyforms-submit-button-font-size);color:#fff;color:var(--happyforms-color-submit-text);background-color:#000;background-color:var(--happyforms-color-submit-background);background:#000;background:var(--happyforms-color-submit-background);text-transform:none;transition-property:all;transition-duration:.25s;transition-duration:var(--happyforms-transition-duration);transition-timing-function:ease-in;white-space:normal;overflow-wrap:anywhere}.happyforms-styles button[type=submit]:not(:hover):not(:active):not(.has-background){background-color:#000;background-color:var(--happyforms-color-submit-background);background:#000;background:var(--happyforms-color-submit-background);color:#fff;color:var(--happyforms-color-submit-text)}.happyforms-styles button[type=submit].happyforms-button--submit:focus,.happyforms-styles button[type=submit].happyforms-button--submit:hover{cursor:pointer;border-radius:4px;border-color:transparent!important;border-color:var(--happyforms-color-submit-border)!important;background-color:#000;background-color:var(--happyforms-color-submit-background-hover);background:#000;background:var(--happyforms-color-submit-background-hover);text-transform:none;text-decoration:none;color:#fff;color:var(--happyforms-color-submit-text-hover)}.happyforms-styles button[type=submit][disabled].happyforms-button--submit:focus,.happyforms-styles button[type=submit][disabled].happyforms-button--submit:hover{cursor:default;background-color:#407fff;background-color:var(--happyforms-color-submit-background);background:#407fff;background:var(--happyforms-color-submit-background);color:#fff;color:var(--happyforms-color-submit-text)}.happyforms-styles .happyforms-visuallyhidden{position:absolute;border:0;clip:rect(0 0 0 0);width:1px;height:1px;margin:-1px;padding:0;overflow:hidden}.happyforms-styles .happyforms-message-notices .happyforms-message-notice{padding:20px 15px;border-radius:6px;background-color:transparent;color:#454545}.happyforms-styles.happyforms-form--part-border-radius-square .happyforms-message-notices .happyforms-message-notice{border-radius:0}.happyforms-styles.happyforms-form--part-border-radius-pill .happyforms-message-notices .happyforms-message-notice{padding:20px 25px;border-radius:25px}.happyforms-styles .happyforms-message-notices .success{background-color:#ebf9f0;background-color:var(--happyforms-color-success-notice)}.happyforms-styles .happyforms-message-notices .success h2{color:#1eb452!important;color:var(--happyforms-color-success-notice-text)!important}.happyforms-styles .happyforms-message-notices .error{background-color:#ffeeea;background-color:var(--happyforms-color-error-notice)}.happyforms-styles .happyforms-message-notices .error h2{color:#f23000!important;color:var(--happyforms-color-error-notice-text)!important}.happyforms-styles .happyforms-message-notices h2{margin-top:0!important;margin-bottom:0!important;padding-top:0!important;padding-bottom:0!important;font-weight:400!important;font-size:16px!important}.happyforms-styles .happyforms-message-notices h2:before{display:none}.happyforms-styles .happyforms-message-notices h2 span{display:block;font-weight:400;font-size:14px}.happyforms-styles .happyforms-form__part .happyforms-message-notices h2{font-weight:400!important;font-size:16px!important;font-size:var(--happyforms-part-value-font-size)!important}.happyforms-styles .happyforms-form__part .happyforms-message-notice.error h2{color:#f23000;color:var(--happyforms-color-error)}.happyforms-styles.happyforms-form--part-border-radius-square .happyforms-part .happyforms-part__select-bg,.happyforms-styles.happyforms-form--part-border-radius-square .happyforms-part input[type=email],.happyforms-styles.happyforms-form--part-border-radius-square .happyforms-part input[type=number],.happyforms-styles.happyforms-form--part-border-radius-square .happyforms-part input[type=password],.happyforms-styles.happyforms-form--part-border-radius-square .happyforms-part input[type=tel],.happyforms-styles.happyforms-form--part-border-radius-square .happyforms-part input[type=text],.happyforms-styles.happyforms-form--part-border-radius-square .happyforms-part textarea,.happyforms-styles.happyforms-form--part-border-radius-square .happyforms-part:not(.happyforms-part--phone) select.happyforms-select{border-radius:0!important}.happyforms-styles.happyforms-form--part-border-radius-square .option-label{border-radius:0}.happyforms-styles.happyforms-form--part-border-radius-pill .happyforms-part input[type=email],.happyforms-styles.happyforms-form--part-border-radius-pill .happyforms-part input[type=number],.happyforms-styles.happyforms-form--part-border-radius-pill .happyforms-part input[type=password],.happyforms-styles.happyforms-form--part-border-radius-pill .happyforms-part input[type=tel],.happyforms-styles.happyforms-form--part-border-radius-pill .happyforms-part input[type=text],.happyforms-styles.happyforms-form--part-border-radius-pill .happyforms-part textarea,.happyforms-styles.happyforms-form--part-border-radius-pill .happyforms-part:not(.happyforms-part--phone) select.happyforms-select{border-radius:25px!important;padding-left:25px;padding-right:25px}.happyforms-styles.happyforms-form--part-border-radius-pill .happyforms-part textarea{padding:15px}.happyforms-styles.happyforms-form--part-border-radius-pill .happyforms-part .happyforms-part__select-bg{border-radius:25px;padding-left:15px}.happyforms-styles.happyforms-form--part-border-radius-pill .option-label{border-radius:25px}.happyforms-styles.happyforms-form--part-placeholder-toggle .happyforms-part ::-webkit-input-placeholder{color:transparent!important;transition:color .25s;transition:color var(--happyforms-transition-duration)}.happyforms-styles.happyforms-form--part-placeholder-toggle .happyforms-part ::-moz-placeholder{color:transparent!important;transition:color .25s;transition:color var(--happyforms-transition-duration)}.happyforms-styles.happyforms-form--part-placeholder-toggle .happyforms-part ::-ms-placeholder{color:transparent!important;transition:color .25s;transition:color var(--happyforms-transition-duration)}.happyforms-styles.happyforms-form--part-placeholder-toggle .happyforms-part ::placeholder{color:transparent!important;transition:color .25s;transition:color var(--happyforms-transition-duration)}.happyforms-styles.happyforms-form--part-placeholder-toggle .happyforms-part input:focus::-webkit-input-placeholder{color:#888!important;color:var(--happyforms-color-part-placeholder)!important}.happyforms-styles.happyforms-form--part-placeholder-toggle .happyforms-part input:focus::-moz-placeholder{color:#888!important;color:var(--happyforms-color-part-placeholder)!important}.happyforms-styles.happyforms-form--part-placeholder-toggle .happyforms-part input:focus::-ms-placeholder{color:#888!important;color:var(--happyforms-color-part-placeholder)!important}.happyforms-styles.happyforms-form--part-placeholder-toggle .happyforms-part input:focus::placeholder{color:#888!important;color:var(--happyforms-color-part-placeholder)!important}.happyforms-styles .happyforms-part--label-inside label .label{font-weight:700;font-size:14px;color:#000;color:var(--happyforms-color-part-title)}.happyforms-styles.happyforms-form--part-borders-bottom-only .happyforms-part input[type=email],.happyforms-styles.happyforms-form--part-borders-bottom-only .happyforms-part input[type=number],.happyforms-styles.happyforms-form--part-borders-bottom-only .happyforms-part input[type=password],.happyforms-styles.happyforms-form--part-borders-bottom-only .happyforms-part input[type=text],.happyforms-styles.happyforms-form--part-borders-bottom-only .happyforms-part textarea,.happyforms-styles.happyforms-form--part-borders-bottom-only .happyforms-part:not(.happyforms-part--phone) select.happyforms-select{border-top-color:transparent!important;border-left-color:transparent!important;border-right-color:transparent!important;box-shadow:none!important}.happyforms-styles.happyforms-form--part-disable-transitions .happyforms-part input[type=email],.happyforms-styles.happyforms-form--part-disable-transitions .happyforms-part input[type=number],.happyforms-styles.happyforms-form--part-disable-transitions .happyforms-part input[type=password],.happyforms-styles.happyforms-form--part-disable-transitions .happyforms-part input[type=text],.happyforms-styles.happyforms-form--part-disable-transitions .happyforms-part textarea{transition-duration:0s}.happyforms-styles .happyforms-part input[type=email],.happyforms-styles .happyforms-part input[type=number],.happyforms-styles .happyforms-part input[type=password],.happyforms-styles .happyforms-part input[type=text],.happyforms-styles .happyforms-part textarea{transition:border-color .4s;transition:border-color var(--happyforms-transition-duration)}.happyforms-styles .happyforms-part--label-as_placeholder label{color:#888;color:var(--happyforms-color-part-placeholder);transition-duration:.4s;transition-duration:var(--happyforms-transition-duration)}.happyforms-styles .happyforms-part--label-as_placeholder .happyforms-part__label .label{color:#888;color:var(--happyforms-color-part-placeholder)}.happyforms-styles .happyforms-part--label-as_placeholder input:focus~.happyforms-part__label-container label .label,.happyforms-styles .happyforms-part--label-as_placeholder textarea:focus~.happyforms-part__label-container label .label,.happyforms-styles .happyforms-part--label-as_placeholder.happyforms-part--filled .happyforms-part__label-container label .label,.happyforms-styles .happyforms-part--select.happyforms-part--filled.happyforms-part--label-as_placeholder .label{font-weight:700;font-size:14px;color:#000;color:var(--happyforms-color-part-value)}.happyforms-styles.happyforms-form--submit-button-border-hide button[type=submit].happyforms-button--submit{border-width:0!important}.happyforms-styles.happyforms-form--submit-button-border-radius-square button[type=submit].happyforms-button--submit,.happyforms-styles.happyforms-form--submit-button-border-radius-square button[type=submit].happyforms-button--submit:hover{border-radius:0!important}.happyforms-styles.happyforms-form--submit-button-border-radius-pill button[type=submit].happyforms-button--submit,.happyforms-styles.happyforms-form--submit-button-border-radius-pill button[type=submit].happyforms-button--submit:hover{border-radius:60px!important}.happyforms-styles.happyforms-form--submit-button-bold .happyforms-part--submit button[type=submit]{font-weight:700}.happyforms-styles.happyforms-form--submit-button-disable-transitions button[type=submit]{transition-duration:0s!important}.happyforms-styles.happyforms-form--submit-button-padding-narrow button[type=submit].happyforms-button--submit{padding:10px 20px}.happyforms-styles.happyforms-form--submit-button-padding-wide button[type=submit].happyforms-button--submit{padding:20px 50px}.happyforms-styles.happyforms-form--submit-button-fullwidth button[type=submit].happyforms-button--submit{padding-left:0;padding-right:0;margin-right:0}.happyforms-styles.happyforms-form--part-title-font-weight-bold .happyforms-part__label .label{font-weight:700}.happyforms-styles .happyforms-custom-select input[readonly=readonly]{cursor:pointer}.happyforms-styles .happyforms-custom-select-dropdown{background-color:#fff;background-color:var(--happyforms-color-dropdown-bg-color);border:1px solid #dbdbdb;border:1px solid var(--happyforms-color-part-border);border-radius:6px}.happyforms-styles.happyforms-form--part-border-radius-square .happyforms-custom-select-dropdown{border-radius:0}.happyforms-styles.happyforms-form--part-border-radius-pill .happyforms-custom-select-dropdown{border-radius:25px}.happyforms-styles .happyforms-custom-select-dropdown li{transition:background-color .2s ease-in;color:#000;color:var(--happyforms-color-dropdown-item-text);background-color:#fff;background-color:var(--happyforms-color-dropdown-item-bg);font-size:16px;font-size:var(--happyforms-part-value-font-size)}.happyforms-styles .happyforms-custom-select-dropdown li.happyforms-custom-select-dropdown__placeholder{color:#888;color:var(--happyforms-color-part-placeholder)}.happyforms-styles .happyforms-custom-select-dropdown li.happyforms-custom-select-dropdown__item.active,.happyforms-styles .happyforms-custom-select-dropdown li.happyforms-custom-select-dropdown__item:hover{color:#000;color:var(--happyforms-color-dropdown-item-text-hover);background-color:#f4f4f5;background-color:var(--happyforms-color-dropdown-item-bg-hover)}.happyforms-styles .happyforms-part-preview .happyforms-part__label .label{font-weight:700;color:#000;color:var(--happyforms-color-table-row-odd-text)}.happyforms-styles .happyforms-part-preview .happyforms-part__el-preview{font-size:16px;font-size:var(--happyforms-part-value-font-size)}.happyforms-styles .happyforms-part-preview{background-color:#fcfcfc;background-color:var(--happyforms-color-table-row-odd)}.happyforms-styles .happyforms-part-preview:nth-child(2n){background-color:#efefef;background-color:var(--happyforms-color-table-row-even)}.happyforms-styles .happyforms-part-preview:nth-child(2n) .happyforms-part__label .label{color:#000;color:var(--happyforms-color-table-row-even-text)}.happyforms-styles .happyforms-form-preview>p{font-size:16px;font-size:var(--happyforms-part-value-font-size)}.happyforms-part-error-notice p{font-size:16px;font-size:var(--happyforms-part-value-font-size);color:#f23000;color:var(--happyforms-color-error)}.happyforms-part-error-notice p svg{color:#f23000;color:var(--happyforms-color-error)}.happyforms-styles .happyforms-input-group__suffix a.happyforms-plain-button,.happyforms-styles .happyforms-input-group__suffix button.happyforms-plain-button{font-size:16px;font-size:var(--happyforms-part-value-font-size);color:var(--happyforms-color-part-value)}.happyforms-styles .happyforms-input-group__prefix,.happyforms-styles .happyforms-input-group__suffix{font-size:16px;font-size:var(--happyforms-part-value-font-size);background:#e8e8e8}.happyforms-styles.happyforms-form .happyforms-part .happyforms-input{position:relative;flex:1;width:100%}.happyforms-styles.happyforms-styles.happyforms-form--part-border-radius-square button.happyforms-pair-group__button{border-radius:0}.happyforms-styles.happyforms-styles.happyforms-form--part-border-radius-pill button.happyforms-pair-group__button{border-radius:25px}.happyforms-styles button.happyforms-pair-group__button:hover{background-color:#000;background-color:var(--happyforms-color-submit-background-hover)}.happyforms-styles.happyforms-form .happyforms-part .happyforms-input-group.with-prefix .happyforms-input>input{padding-left:10px;border-top-left-radius:0!important;border-bottom-left-radius:0!important}.happyforms-styles.happyforms-form .happyforms-part .happyforms-input-group.with-suffix .happyforms-input>input{padding-right:10px;border-top-right-radius:0!important;border-bottom-right-radius:0!important}.happyforms-styles.happyforms-form--part-border-radius-square .happyforms-input-group__prefix{border-top-left-radius:0;border-bottom-left-radius:0}.happyforms-styles.happyforms-form--part-border-radius-pill .happyforms-input-group__prefix{border-top-left-radius:25px;border-bottom-left-radius:25px}.happyforms-styles.happyforms-form--part-border-radius-square .happyforms-input-group__suffix{border-top-right-radius:0;border-bottom-right-radius:0}.happyforms-styles.happyforms-form--part-border-radius-pill .happyforms-input-group__suffix{border-top-right-radius:25px;border-bottom-right-radius:25px}.happyforms-part__char-counter{font-size:14px;font-size:var(--happyforms-part-description-font-size);color:#454545;color:var(--happyforms-color-part-description)}.happyforms-styles .happyforms-part--rich_text div.mce-toolbar-grp{border-radius:6px;border-bottom-left-radius:0;border-bottom-right-radius:0;background-color:#fff;border-color:#dbdbdb!important;border-color:var(--happyforms-color-part-border)!important}.happyforms-styles.happyforms-form--part-border-radius-square .happyforms-part--rich_text div.mce-toolbar-grp{border-radius:0}.happyforms-styles.happyforms-form--part-border-radius-pill .happyforms-part--rich_text div.mce-toolbar-grp{border-radius:25px;border-bottom-left-radius:0;border-bottom-right-radius:0}.happyforms-styles div.mce-inline-toolbar-grp.happyforms-editor-toolbar-link{border-color:#7aa4ff!important;border-color:var(--happyforms-color-part-border-focus)!important}.happyforms-styles .happyforms-editor-toolbar-link.mce-inline-toolbar-grp.mce-arrow-down:before{border-top-color:#7aa4ff;border-top-color:var(--happyforms-color-part-border-focus)}.happyforms-styles div.mce-inline-toolbar-grp.happyforms-editor-toolbar-link div.wp-link-input input::placeholder{color:#888;color:var(--happyforms-color-part-placeholder)!important}.happyforms-styles .happyforms-part--rich_text .mce-toolbar .mce-btn-group .mce-btn,.happyforms-styles .happyforms-part--rich_text .qt-dfw,.happyforms-styles .mce-inline-toolbar-grp .mce-toolbar .mce-btn-group .mce-btn,.happyforms-styles .mce-inline-toolbar-grp .mce-toolbar .mce-btn-group .mce-btn.mce-primary{padding:2px;background-color:#fff;border-color:#fff}.happyforms-styles .happyforms-part--rich_text .mce-inline-toolbar-grp .mce-toolbar .mce-btn-group .mce-btn.mce-primary:focus,.happyforms-styles .happyforms-part--rich_text .mce-inline-toolbar-grp .mce-toolbar .mce-btn-group .mce-btn.mce-primary:hover,.happyforms-styles .happyforms-part--rich_text .mce-inline-toolbar-grp .mce-toolbar .mce-btn-group .mce-btn:focus,.happyforms-styles .happyforms-part--rich_text .mce-inline-toolbar-grp .mce-toolbar .mce-btn-group .mce-btn:hover,.happyforms-styles .happyforms-part--rich_text .mce-toolbar .mce-btn-group .mce-btn.mce-active,.happyforms-styles .happyforms-part--rich_text .mce-toolbar .mce-btn-group .mce-btn.mce-active:hover,.happyforms-styles .happyforms-part--rich_text .mce-toolbar .mce-btn-group .mce-btn:active,.happyforms-styles .happyforms-part--rich_text .mce-toolbar .mce-btn-group .mce-btn:focus,.happyforms-styles .happyforms-part--rich_text .mce-toolbar .mce-btn-group .mce-btn:hover,.happyforms-styles .happyforms-part--rich_text .qt-dfw.active,.happyforms-styles .happyforms-part--rich_text .qt-dfw.active:hover,.happyforms-styles .happyforms-part--rich_text .qt-dfw:focus,.happyforms-styles .happyforms-part--rich_text .qt-dfw:hover,.happyforms-styles .mce-inline-toolbar-grp .mce-toolbar .mce-btn-group .mce-btn.mce-primary:hover,.happyforms-styles .mce-inline-toolbar-grp .mce-toolbar .mce-btn-group .mce-btn:hover{border-color:transparent;border-radius:6px;background-color:#efefef}.happyforms-styles .happyforms-editor-toolbar-link svg,.happyforms-styles .happyforms-part--rich_text .mce-btn svg{fill:#000}.happyforms-styles .happyforms-part--rich_text .happyforms-visual-editor{padding-bottom:1.5px;border:0}.happyforms-styles .happyforms-part--rich_text .mce-edit-area{border-bottom-width:1.5px;border:1px solid #dbdbdb!important;border-radius:6px;border-top-left-radius:0;border-top-right-radius:0;transition:border-color .25s;transition:border-color var(--happyforms-transition-duration)}.happyforms-styles.happyforms-form--part-border-radius-square .happyforms-part--rich_text .mce-edit-area{border-radius:0}.happyforms-styles .happyforms-part--rich_text.focus .mce-edit-area{border-color:#7aa4ff!important;border-color:var(--happyforms-color-part-border-focus)!important;box-shadow:inset 0 0 0 1px #7aa4ff;box-shadow:inset 0 0 0 1px var(--happyforms-color-part-border-focus)}.happyforms-styles .happyforms-part--rich_text .mce-edit-area{background-color:#fff!important;background-color:var(--happyforms-color-part-background)!important}.happyforms-styles.happyforms-form--part-border-radius-pill .happyforms-part--rich_text .mce-edit-area{border-bottom-left-radius:25px;border-bottom-right-radius:25px}.happyforms-styles .happyforms-part--rich_text.focus .mce-edit-area{background-color:#fff!important;background-color:var(--happyforms-color-part-background-focus)!important}.happyforms-styles .happyforms-part--rich_text .mce-statusbar{border-bottom-left-radius:6px;border-bottom-right-radius:6px}.happyforms-styles .happyforms-part--rich_text .mce-statusbar .mce-path:first-child{display:none}.happyforms-styles.happyforms-form--part-border-radius-square .happyforms-part--rich_text .mce-statusbar{border-radius:0}.happyforms-styles.happyforms-form--part-border-radius-pill .happyforms-part--rich_text .mce-statusbar{border-bottom-left-radius:25px;border-bottom-right-radius:25px}.happyforms-styles.happyforms-form--part-border-off .happyforms-part--rich_text .happyforms-visual-editor{padding-bottom:1px}.happyforms-part--email_integration .option-label .label p,.happyforms-part--legal .option-label .label p,.happyforms-part--mailchimp .option-label .label p,.happyforms-part--signature .option-label .label p{margin-top:0}.happyforms-part--email_integration .option-label .label p:last-child,.happyforms-part--legal .option-label .label p:last-child,.happyforms-part--mailchimp .option-label .label p:last-child,.happyforms-part--signature .option-label .label p:last-child{margin-bottom:0}:root{--happyforms-form-width:100%}.happyforms-flex{display:flex;flex-flow:row wrap;align-items:flex-start;max-width:100%}.happyforms-form--hide-title .happyforms-flex{padding-top:0}.happyforms-form{max-width:100%;max-width:var(--happyforms-form-width);margin:0 auto;border-style:solid;border-width:0}.happyforms-form form{margin:0;padding:0;background-color:transparent}.happyforms-form.happyforms-form--padding-narrow{padding:1%}.happyforms-form.happyforms-form--padding-wide{padding:3.5%}.happyforms-form form.happyforms-form--submitting{opacity:.5}.happyforms-form--direction-rtl{direction:rtl}.happyforms-flex>input[type=checkbox]{display:none!important}h3.happyforms-form__title{margin:0;padding:0}.happyforms-form--hide-title h3.happyforms-form__title{display:none}.happyforms-form--title-text-align-right h3.happyforms-form__title{text-align:right}.happyforms-form--title-text-align-center h3.happyforms-form__title{text-align:center}.happyforms-form__part{position:relative;display:block;box-sizing:border-box;width:100%;margin-bottom:15px;padding:5px 1%}.happyforms-form__part:last-child{margin-bottom:0}@media screen and (min-width:800px){.happyforms-part--width-half{width:50%}.happyforms-part--width-third{width:33.333%}.happyforms-part--width-quarter{width:25%}}.happyforms-part--width-half,.happyforms-part--width-third{align-self:flex-start}.happyforms-part--width-auto{align-self:flex-start;flex-grow:1;width:auto;max-width:75%}.happyforms-part--width-auto+.happyforms-part--recaptcha,.happyforms-part--width-auto+.happyforms-part--recaptcha+.happyforms-part--submit,.happyforms-part--width-auto+.happyforms-part--submit{align-self:center;width:auto!important;margin-bottom:0!important;padding-top:5px;padding-bottom:0}.happyforms-form--part-outer-padding-narrow .happyforms-part--width-auto+.happyforms-part--recaptcha+.happyforms-part--submit,.happyforms-part--width-auto+.happyforms-part--recaptcha{top:-13px}.happyforms-form--part-outer-padding-narrow .happyforms-part--width-auto+.happyforms-part--submit{top:-10px}.happyforms-form--part-outer-padding-narrow .happyforms-part--width-auto+.happyforms-part--recaptcha{top:3px}.happyforms-form--part-outer-padding-wide .happyforms-part--width-auto+.happyforms-part--submit{top:-25px}.happyforms-form--part-outer-padding-wide .happyforms-part--width-auto+.happyforms-part--recaptcha{top:-23px}.happyforms-form--part-outer-padding-wide .happyforms-part--width-auto+.happyforms-part--recaptcha+.happyforms-part--submit{top:-45px}.happyforms-part--width-auto+.happyforms-part--recaptcha+.happyforms-part--submit button[type=submit],.happyforms-part--width-auto+.happyforms-part--submit button[type=submit]{width:100%;padding:17px 50px}.happyforms-form--submit-part-of-input .happyforms-part--width-auto+.happyforms-part--recaptcha+.happyforms-part--submit,.happyforms-form--submit-part-of-input .happyforms-part--width-auto+.happyforms-part--submit{left:-1.5%;padding-left:0;padding-right:0}.happyforms-form--submit-part-of-input.happyforms-form--part-outer-padding-wide .happyforms-part--width-auto+.happyforms-part--recaptcha+.happyforms-part--submit,.happyforms-form--submit-part-of-input.happyforms-form--part-outer-padding-wide .happyforms-part--width-auto+.happyforms-part--submit{left:-3.5%;padding-left:0}.happyforms-form--submit-part-of-input.happyforms-form--part-outer-padding-narrow .happyforms-part--width-auto+.happyforms-part--recaptcha+.happyforms-part--submit,.happyforms-form--submit-part-of-input.happyforms-form--part-outer-padding-narrow .happyforms-part--width-auto+.happyforms-part--submit{left:-1%;padding-left:0}.happyforms-form--submit-part-of-input .happyforms-part--width-auto+.happyforms-part--recaptcha+.happyforms-part--submit button[type=submit],.happyforms-form--submit-part-of-input .happyforms-part--width-auto+.happyforms-part--submit button[type=submit]{padding-top:8px;padding-bottom:9px;border-top-left-radius:0;border-bottom-left-radius:0}.happyforms-form--submit-part-of-input.happyforms-form--part-inner-padding-wide .happyforms-part--width-auto+.happyforms-part--recaptcha+.happyforms-part--submit button[type=submit],.happyforms-form--submit-part-of-input.happyforms-form--part-inner-padding-wide .happyforms-part--width-auto+.happyforms-part--submit button[type=submit]{padding-top:13px;padding-bottom:15px}.happyforms-form--submit-part-of-input.happyforms-form--part-inner-padding-narrow .happyforms-part--width-auto+.happyforms-part--recaptcha+.happyforms-part--submit button[type=submit],.happyforms-form--submit-part-of-input.happyforms-form--part-inner-padding-narrow .happyforms-part--width-auto+.happyforms-part--submit button[type=submit]{padding-top:3px;padding-bottom:4px}.happyforms-form--submit-part-of-input .happyforms-part--width-auto.happyforms-part--label-as_placeholder+.happyforms-part--recaptcha+.happyforms-part--submit button[type=submit],.happyforms-form--submit-part-of-input .happyforms-part--width-auto.happyforms-part--label-as_placeholder+.happyforms-part--submit button[type=submit],.happyforms-form--submit-part-of-input .happyforms-part--width-auto.happyforms-part--label-inside+.happyforms-part--recaptcha+.happyforms-part--submit button[type=submit],.happyforms-form--submit-part-of-input .happyforms-part--width-auto.happyforms-part--label-inside+.happyforms-part--submit button[type=submit]{padding-top:16px;padding-bottom:18px}.happyforms-part__label{display:inline-block;margin-bottom:15px}.happyforms-part__label .happyforms-optional,.happyforms-part__label .happyforms-required,.happyforms-part__label .label{padding:0;white-space:normal}.happyforms-form__part[data-happyforms-required] .happyforms-part__label .happyforms-optional{display:none}.happyforms-form__part .happyforms-part__label .happyforms-required{display:none}.happyforms-form__part[data-happyforms-required] .happyforms-part__label .happyforms-required{display:inline-block}.happyforms-part__description{display:block;margin:-3px 0 10px}.happyforms-part--focus-reveal-description .happyforms-part__description{display:none}.happyforms-form__part.focus .happyforms-part__description,.happyforms-part--focus-reveal-description input:focus+.happyforms-part__description,.happyforms-part--focus-reveal-description textarea:focus+.happyforms-part__description{display:block}.happyforms-form--part-description-text-align-center .happyforms-part__description{text-align:center}.happyforms-form--part-description-text-align-right .happyforms-part__description{text-align:right}.happyforms-part input[type=email],.happyforms-part input[type=number],.happyforms-part input[type=password],.happyforms-part input[type=range],.happyforms-part input[type=tel],.happyforms-part input[type=text],.happyforms-part textarea,.happyforms-part.happyforms-part select.happyforms-select{width:100%;box-sizing:border-box;max-width:none}.happyforms-part.happyforms-part select.happyforms-select{appearance:none!important;-moz-appearance:none!important;-webkit-appearance:none!important;background-image:none!important}.happyforms-part textarea{height:auto}.happyforms-form--part-value-text-align-center .happyforms-part input[type=email],.happyforms-form--part-value-text-align-center .happyforms-part input[type=number],.happyforms-form--part-value-text-align-center .happyforms-part input[type=password],.happyforms-form--part-value-text-align-center .happyforms-part input[type=tel],.happyforms-form--part-value-text-align-center .happyforms-part input[type=text],.happyforms-form--part-value-text-align-center .happyforms-part textarea,.happyforms-form--part-value-text-align-center .happyforms-part--choice .option-label{text-align:center}.happyforms-form--part-value-text-align-center .happyforms-part--choice .happyforms-part__el{justify-content:center}.happyforms-form--part-value-text-align-right .happyforms-part input[type=email],.happyforms-form--part-value-text-align-right .happyforms-part input[type=number],.happyforms-form--part-value-text-align-right .happyforms-part input[type=password],.happyforms-form--part-value-text-align-right .happyforms-part input[type=tel],.happyforms-form--part-value-text-align-right .happyforms-part input[type=text],.happyforms-form--part-value-text-align-right .happyforms-part textarea,.happyforms-form--part-value-text-align-right .happyforms-part--choice .option-label{text-align:right}.happyforms-form--part-value-text-align-right .happyforms-part--choice .happyforms-part__el{justify-content:flex-end}.happyforms-part.happyforms-part--error input[type=email],.happyforms-part.happyforms-part--error input[type=number],.happyforms-part.happyforms-part--error input[type=password],.happyforms-part.happyforms-part--error input[type=range],.happyforms-part.happyforms-part--error input[type=tel],.happyforms-part.happyforms-part--error input[type=text],.happyforms-part.happyforms-part--error textarea{border-color:#ff7550}.happyforms-part.display-type--block .happyforms-part__el{width:100%}.happyforms-part-el-wrap{position:relative}.happyforms-part-wrap{position:relative}.happyforms-part--label-below .happyforms-part-wrap{display:flex;flex-flow:row wrap-reverse;align-content:flex-end}.happyforms-part--label-below .happyforms-part__label{order:2;margin-top:10px;margin-bottom:5px}.happyforms-part--label-below .happyforms-part__description{order:1;margin-top:0}.happyforms-part--label-below.happyforms-part--date .happyforms-part__el{width:100%;order:2}.happyforms-part--date .happyforms-part__description{width:100%}.happyforms-part--label-left .happyforms-part__description{width:100%}.happyforms-part--label-left .happyforms-part-wrap{display:flex;flex-flow:row;flex-wrap:wrap}@media screen and (min-width:800px){.happyforms-part--label-left .happyforms-part-wrap>.happyforms-part__label-container{float:none;width:25%;margin-bottom:0;align-self:flex-start}}.happyforms-part--label-left .happyforms-part-wrap>.happyforms-part__el{width:75%}.happyforms-part--label-left.happyforms-part--date .happyforms-custom-select{width:100%}@media screen and (max-width:800px){.happyforms-part--label-left .happyforms-part-wrap{flex-flow:column}.happyforms-part--label-left .happyforms-part-wrap>.happyforms-part__label{align-self:flex-start}.happyforms-part--label-left .happyforms-custom-select,.happyforms-part--label-left .happyforms-part-wrap>.happyforms-part__el{width:100%}}.happyforms-part--label-hidden .happyforms-part-wrap .happyforms-part__label{display:none!important}.happyforms-part .option-label{display:flex;align-items:center;position:relative;cursor:pointer;padding:0 5px 5px 0}.happyforms-part--choice .option-label{margin-right:20px}.happyforms-part--choice.happyforms-part-options-width--full .option-label{margin-right:0}.happyforms-styles .happyforms-part .happyforms-part-option .option-label{align-items:flex-start}.happyforms-styles .happyforms-part .happyforms-part-option.disabled-option .option-label,.happyforms-styles .happyforms-part .happyforms-table__cell.disabled-option .option-label{cursor:default}@media screen and (max-width:800px){.happyforms-part--choice .option-label{margin-right:0}}.happyforms-part--choice .option-label input:focus{outline:0}.happyforms-part .option-label .label-wrap{position:relative;display:inline-block;padding:0 10px;white-space:normal;color:inherit}.happyforms-form--direction-rtl .happyforms-part--choice .option-label .label{margin-right:0}.happyforms-part-option:last-of-type{margin-bottom:0!important}.happyforms-part-option__description{display:block;width:auto;max-width:400px;margin-top:0;margin-left:31px;flex-basis:100%;font-weight:400;font-weight:var(--happyforms-form-font-weight);line-height:1.4}.happyforms-part--choice.display-type--block .happyforms-part-option__description{max-width:none}.happyforms-part.display-type--block .option-label{display:flex;margin-right:0;flex-wrap:wrap}.happyforms-part .happyforms-part-option.option-heading{width:100%}.happyforms-part--choice .happyforms-part__el{display:flex;flex-flow:row wrap}@media screen and (max-width:800px){.happyforms-part--choice .happyforms-part__el{flex-flow:column wrap}}.happyforms-part--choice{margin-bottom:0}.happyforms-part--choice.display-type--block{margin-bottom:15px}.happyforms-part--choice.happyforms-part-options-width--full .happyforms-part__option{width:100%}.happyforms-part--choice.happyforms-part-options-width--half .happyforms-part__el,.happyforms-part--choice.happyforms-part-options-width--quarter .happyforms-part__el,.happyforms-part--choice.happyforms-part-options-width--third .happyforms-part__el{margin:0 -1%}.happyforms-part--choice.happyforms-part-options-width--half .happyforms-part__option,.happyforms-part--choice.happyforms-part-options-width--quarter .happyforms-part__option,.happyforms-part--choice.happyforms-part-options-width--third .happyforms-part__option{padding:0 1%}.happyforms-part--choice.happyforms-part-options-width--half .happyforms-part__option label,.happyforms-part--choice.happyforms-part-options-width--quarter .happyforms-part__option label,.happyforms-part--choice.happyforms-part-options-width--third .happyforms-part__option label{margin-right:0}.happyforms-part--choice.happyforms-part-options-width--half .happyforms-part__option{width:50%}.happyforms-part--choice.happyforms-part-options-width--third .happyforms-part__option{width:33.333%}.happyforms-part--choice.happyforms-part-options-width--quarter .happyforms-part__option{width:25%}.happyforms-part--choice .happyforms-part__el .happyforms-part__description{flex:0 1 100%;width:100%;margin-top:-5px;margin-bottom:20px}.happyforms-part--choice.display-type--block .happyforms-part__el .happyforms-part__description{flex:0;width:auto;margin-top:5px;margin-bottom:0}@media screen and (max-width:800px){.happyforms-part--choice.happyforms-part-options-width--half .happyforms-part__option,.happyforms-part--choice.happyforms-part-options-width--quarter .happyforms-part__option,.happyforms-part--choice.happyforms-part-options-width--third .happyforms-part__option{width:100%}}.happyforms-part--choice.display-type--block .happyforms-part__el{display:flex!important;flex-flow:column wrap}.happyforms-part .checkmark svg{display:none}.happyforms-part--legal .option-label p:last-child{margin-bottom:0}.happyforms-part--label-below .happyforms-custom-select,.happyforms-part--label-below .happyforms-part__el,.happyforms-part--label-below input,.happyforms-part--label-below textarea{order:3}.happyforms-part--label-below .happyforms-custom-select,.happyforms-part--label-below .happyforms-part__el{width:100%}.happyforms-form--part-title-text-align-center .happyforms-part__label{text-align:center}.happyforms-form--part-title-text-align-center .happyforms-part--label-above .happyforms-part__label,.happyforms-form--part-title-text-align-center .happyforms-part--label-as_placeholder .happyforms-part__label,.happyforms-form--part-title-text-align-center .happyforms-part--label-below .happyforms-part__label,.happyforms-form--part-title-text-align-center .happyforms-part--label-inside .happyforms-part__label,.happyforms-form--part-title-text-align-center .happyforms-part--label-show .happyforms-part__label,.happyforms-form--part-title-text-align-right .happyforms-part--label-above .happyforms-part__label,.happyforms-form--part-title-text-align-right .happyforms-part--label-as_placeholder .happyforms-part__label,.happyforms-form--part-title-text-align-right .happyforms-part--label-show .happyforms-part__label{width:100%}.happyforms-form--part-title-text-align-right .happyforms-part--label-as_placeholder .happyforms-part__label,.happyforms-form--part-title-text-align-right .happyforms-part--label-inside .happyforms-part__label{width:calc(100% - 20px)}.happyforms-form--part-title-text-align-right.happyforms-form--part-inner-padding-wide .happyforms-part--label-as_placeholder .happyforms-part__label{width:calc(100% - 30px)}.happyforms-form--part-title-text-align-center .happyforms-part--label-left .happyforms-part__label{align-self:flex-start}.happyforms-form--part-title-text-align-right .happyforms-part__label{text-align:right}.happyforms-form--part-title-text-align-right .happyforms-part--label-left .happyforms-part__label{align-self:flex-start;margin-bottom:10px;padding-right:15px}.happyforms-part--label-hidden .happyforms-part-wrap>.happyforms-part__label{display:none!important}.happyforms-part__select-wrap{position:relative;flex:1;padding:0 0 0 2%}.happyforms-part__select-wrap{height:100%}.happyforms-part__select-bg{padding:1px 0 2px;border:1px solid;border-color:#dbdbdb}.happyforms-part__select-wrap:first-of-type{padding-left:0!important}.happyforms-part__select-wrap:after{content:'';position:absolute;top:44%;right:15px;z-index:1;display:block;width:0;height:0;border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid}.happyforms-part select:focus{outline-width:1px;outline-color:#000}.happyforms-part__select-wrap:last-child{padding-right:0}.happyforms-part--submit{display:flex;flex-flow:row wrap;align-items:center;width:100%;margin-bottom:0;padding-top:10px}.happyforms-message-notices{padding:0 1%;margin:0 0 25px 0}form .happyforms-flex>.happyforms-message-notices .happyforms-message-notice{width:100%;box-sizing:border-box}form .happyforms-flex>.happyforms-message-notices .happyforms-message-notice a{border:0}.happyforms-flex>.happyforms-message-notices p:last-child{margin-bottom:0}.happyforms-form__part .happyforms-message-notice.error h2{color:#ff7550}.happyforms-form__title+.happyforms-message-notices{margin-top:25px}.happyforms-part--label-inside .happyforms-part__label-container{position:absolute;top:8px;left:10px;z-index:2;width:98%}.happyforms-part--label-as_placeholder input,.happyforms-part--label-as_placeholder textarea,.happyforms-part--label-inside input,.happyforms-part--label-inside textarea{padding-top:30px!important;padding-bottom:7px!important}.happyforms-form--part-inner-padding-narrow .happyforms-part--label-as_placeholder input,.happyforms-form--part-inner-padding-narrow .happyforms-part--label-as_placeholder textarea,.happyforms-form--part-inner-padding-narrow .happyforms-part--label-inside input,.happyforms-form--part-inner-padding-narrow .happyforms-part--label-inside textarea{padding-top:22px!important;padding-bottom:5px!important}.happyforms-form--part-inner-padding-wide .happyforms-part--label-as_placeholder input,.happyforms-form--part-inner-padding-wide .happyforms-part--label-as_placeholder textarea,.happyforms-form--part-inner-padding-wide .happyforms-part--label-inside input,.happyforms-form--part-inner-padding-wide .happyforms-part--label-inside textarea{padding-top:30px!important;padding-bottom:10px!important}.happyforms-part input[type=email],.happyforms-part input[type=number],.happyforms-part input[type=password],.happyforms-part input[type=text],.happyforms-part textarea{margin-bottom:0;transition:border-color .4s;transition:border-color var(--happyforms-transition-duration)}.happyforms-part--label-below .happyforms-part__label-container{width:100%}.happyforms-part--label-as_placeholder label{transition-duration:.4s}.happyforms-part--label-as_placeholder ::-webkit-input-placeholder{opacity:0}.happyforms-part--label-as_placeholder ::-moz-placeholder{opacity:0}.happyforms-part--label-as_placeholder ::-ms-placeholder{opacity:0}.happyforms-part--label-as_placeholder ::placeholder{opacity:0}.happyforms-part--label-as_placeholder label{position:absolute;left:11px;top:23px;z-index:5;transition-property:top}.happyforms-form--direction-rtl .happyforms-part--label-as_placeholder label{left:auto;right:11px}.happyforms-part--label-as_placeholder input:focus~.happyforms-part__label-container>label,.happyforms-part--label-as_placeholder textarea:focus~.happyforms-part__label-container>label,.happyforms-part--label-as_placeholder.happyforms-part--filled .happyforms-part__label-container label,.happyforms-part--select.happyforms-part--label-as_placeholder.happyforms-part--filled label{top:8px}.happyforms-form--part-inner-padding-narrow .happyforms-part--label-as_placeholder label{top:19px;left:5px}.happyforms-form--direction-rtl.happyforms-form--part-inner-padding-narrow .happyforms-part--label-as_placeholder label{right:5px;left:auto}.happyforms-form--part-inner-padding-narrow .happyforms-part--label-as_placeholder input:focus~.happyforms-part__label-container>label,.happyforms-form--part-inner-padding-narrow .happyforms-part--label-as_placeholder textarea:focus~.happyforms-part__label-container>label,.happyforms-form--part-inner-padding-narrow .happyforms-part--label-as_placeholder.happyforms-part--filled .happyforms-part__label-container label,.happyforms-form--part-inner-padding-narrow .happyforms-part--label-as_placeholder.happyforms-part--filled textarea~label{top:7px}.happyforms-form--part-inner-padding-wide .happyforms-part--label-as_placeholder label{top:25px;left:15px}.happyforms-form--direction-rtl.happyforms-form--part-inner-padding-wide .happyforms-part--label-as_placeholder label{right:15px;left:auto}.happyforms-form--part-inner-padding-wide .happyforms-part--label-as_placeholder input:focus~.happyforms-part__label-container>label,.happyforms-form--part-inner-padding-wide .happyforms-part--label-as_placeholder textarea:focus~.happyforms-part__label-container>label,.happyforms-form--part-inner-padding-wide .happyforms-part--label-as_placeholder.happyforms-part--filled .happyforms-part__label-container label,.happyforms-form--part-inner-padding-wide .happyforms-part--label-as_placeholder.happyforms-part--filled textarea~label{top:12px}.happyforms-form--part-outer-padding-narrow .happyforms-form__part{margin-bottom:5px;padding:0 .5%}.happyforms-form--part-outer-padding-narrow .happyforms-message-notices{padding-left:.5%;padding-right:.5%}.happyforms-form--part-outer-padding-narrow .happyforms-part__select-wrap{padding:0}.happyforms-form--part-outer-padding-narrow .happyforms-part-option{margin-right:-5px}.happyforms-form--part-outer-padding-narrow .happyforms-part.display-type--block .happyforms-part-option{margin-right:0;margin-bottom:5px}.happyforms-form--part-outer-padding-narrow .happyforms-part--choice .option-label{margin-right:15px}.happyforms-form--part-outer-padding-wide .happyforms-form__part{padding:20px 3%}.happyforms-form--part-outer-padding-wide .happyforms-message-notices{padding-left:3%;padding-right:3%}.happyforms-form--part-outer-padding-wide .happyforms-part .happyforms-part-option{margin-right:15px}.happyforms-form--part-outer-padding-wide .happyforms-part.display-type--block .happyforms-part-option{margin-right:0;margin-bottom:35px}.happyforms-form--part-inner-padding-narrow .happyforms-part .option-label,.happyforms-form--part-inner-padding-narrow .happyforms-part input[type=email],.happyforms-form--part-inner-padding-narrow .happyforms-part input[type=number],.happyforms-form--part-inner-padding-narrow .happyforms-part input[type=tel],.happyforms-form--part-inner-padding-narrow .happyforms-part input[type=text],.happyforms-form--part-inner-padding-narrow .happyforms-part textarea,.happyforms-form--part-inner-padding-narrow .happyforms-part:not(.happyforms-part--phone) select.happyforms-select{padding:5px}.happyforms-form--part-inner-padding-narrow .happyforms-part--placeholder .happyforms-part__el{padding:5px}.happyforms-form--part-inner-padding-narrow .happyforms-part--legal label{margin-left:5px}.happyforms-form--part-inner-padding-narrow .happyforms-part__label{margin-bottom:5px}.happyforms-form--part-inner-padding-narrow .happyforms-part--label-below .happyforms-part__label{margin-top:5px}.happyforms-form--part-inner-padding-wide .happyforms-part .option-label,.happyforms-form--part-inner-padding-wide .happyforms-part input[type=email],.happyforms-form--part-inner-padding-wide .happyforms-part input[type=number],.happyforms-form--part-inner-padding-wide .happyforms-part input[type=tel],.happyforms-form--part-inner-padding-wide .happyforms-part input[type=text],.happyforms-form--part-inner-padding-wide .happyforms-part textarea,.happyforms-form--part-inner-padding-wide .happyforms-part--placeholder .happyforms-part__el,.happyforms-form--part-inner-padding-wide .happyforms-part:not(.happyforms-part--phone) select.happyforms-select{padding:15px}.happyforms-form--part-inner-padding-wide .happyforms-part--legal .option-label{padding-left:0}.happyforms-form--part-inner-padding-wide .happyforms-part--legal .option-label .label{padding-left:20px}.happyforms-form--part-inner-padding-wide .happyforms-part .happyforms-part__select-wrap:after{top:45%}.happyforms-form--part-hide-labels .happyforms-part__label{display:none}.happyforms-form--submit-button-fullwidth button[type=submit].happyforms-button--submit{width:100%}button[type=submit][disabled].happyforms-button--submit{cursor:default}.happyforms-form--submit-button-align-center .happyforms-part--submit{text-align:center}.happyforms-form--submit-button-align-right .happyforms-part--submit{text-align:right}.happyforms-part--rating .happyforms-visuallyhidden,.ui-helper-hidden-accessible{position:absolute;border:0;clip:rect(0 0 0 0);width:1px;height:1px;margin:-1px;padding:0;overflow:hidden}.widget button[type=submit].happyforms-button--submit,.widget button[type=submit][disabled].happyforms-button--submit,.widget button[type=submit][disabled].happyforms-button--submit:hover{width:100%}.happyforms-custom-select input[readonly=readonly]{cursor:pointer}.happyforms-custom-select-dropdown{display:none;position:absolute;top:calc(100% + 2px);left:0;z-index:10;list-style:none;margin:0!important;padding:5px 0!important;text-align:left;background-color:#fff;border:1px solid #dbdbdb;white-space:nowrap;width:100%;max-height:250px;overflow-y:scroll}.happyforms-custom-select .happyforms-part__select-wrap input[data-searchable=false]{cursor:pointer}.happyforms-part__select-wrap{cursor:pointer}.happyforms-custom-select-dropdown.active{display:block!important}.happyforms-custom-select-dropdown li{cursor:pointer;display:flex;align-items:center;margin:0;padding:5px 10px;min-height:35px;color:#000;background-color:#fff;white-space:normal;overflow-wrap:anywhere}.happyforms-custom-select-dropdown li.happyforms-custom-select-dropdown__placeholder{color:#888}.happyforms-custom-select-dropdown li.happyforms-custom-select-dropdown__not-found{display:none;cursor:default}.happyforms-custom-select-dropdown li.happyforms-custom-select-dropdown__item.active,.happyforms-custom-select-dropdown li.happyforms-custom-select-dropdown__item:hover{color:#000;background-color:#dbdbdb}.happyforms-part--with-autocomplete .happyforms-custom-select-dropdown li.happyforms-custom-select-dropdown__placeholder,.happyforms-part-date--required .happyforms-custom-select-dropdown li.happyforms-custom-select-dropdown__placeholder,.happyforms-part-select--required .happyforms-custom-select-dropdown li.happyforms-custom-select-dropdown__placeholder{display:none}.happyforms-part-preview .happyforms-part__label{cursor:default;margin-bottom:10px}.happyforms-part-preview .happyforms-part__label .label{font-weight:700}.happyforms-form-preview .happyforms-part--submit{margin-top:30px}.happyforms-part--submit *{margin-right:20px}.happyforms-form--submit-button-align-center .happyforms-part--submit,.happyforms-form--submit-button-fullwidth .happyforms-part--submit{flex-flow:column wrap;align-items:center}.happyforms-form--submit-button-align-center .happyforms-part--submit a,.happyforms-form--submit-button-fullwidth .happyforms-part--submit a{order:2;margin-top:10px;margin-right:0}.happyforms-form--submit-button-align-right .happyforms-part--submit{justify-content:flex-end}.happyforms-form--submit-button-align-center .happyforms-part--submit input,.happyforms-form--submit-button-align-right .happyforms-part--submit input{margin-right:0}.happyforms-form--submit-button-align-right .happyforms-part--submit input+a{margin-left:20px;margin-right:0}@media screen and (max-width:800px){.happyforms-form-preview .happyforms-part--submit{flex-flow:column wrap}.happyforms-form-preview .happyforms-part--submit input{margin-right:0}}.happyforms-hide{display:none}.happyforms-part-preview{margin-bottom:0;padding:10px 1%;margin:0}.happyforms-part-preview{background-color:#fcfcfc}.happyforms-part-preview+.happyforms-part--recaptcha{margin-top:20px}.happyforms-part-preview:nth-child(2n){background-color:#efefef}.happyforms-part-preview:nth-child(2n) .happyforms-part__label .label{color:#000}.happyforms-form-preview>p{padding:45px 1% 10px}.happyforms-part__char-counter{display:none;margin-top:5px;pointer-events:none}.happyforms-part .happyforms-remaining-choice,.happyforms-part__char-counter .counter-label{text-transform:lowercase}.happyforms-part--checkbox .option-label .label-wrap,.happyforms-part--radio .option-label .label-wrap{padding-right:5px;flex:1}.happyforms-custom-select-dropdown .happyforms-remaining-choice{padding-left:5px}.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}.screen-reader-text:focus{background-color:#eee;clip:auto!important;clip-path:none;color:#444;display:block;font-size:1em;height:auto;left:5px;line-height:normal;padding:15px 23px 14px;text-decoration:none;top:5px;width:auto;z-index:100000}.happyforms-part-error-notice,.happyforms-part-error-notice p{margin:0;padding:0}.happyforms-part-error-notice{margin:10px 0 0}.happyforms-part-error-notice p{display:flex;flex-flow:row nowrap;align-items:center;-moz-user-select:none;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;line-height:1.2}.happyforms-part-error-notice p svg{content:'';display:inline-block;width:17px;height:17px;margin:0 8px 0 0}.happyforms-input-group{display:flex;align-items:stretch;flex-flow:row wrap}.happyforms-form .happyforms-part .happyforms-input{position:relative;flex:1;width:100%;display:flex;align-items:stretch}.happyforms-form .happyforms-part .happyforms-input-group.with-prefix .happyforms-input>input{border-top-left-radius:0!important;border-bottom-left-radius:0!important}.happyforms-form .happyforms-part .happyforms-input-group.with-suffix .happyforms-input>input{border-top-right-radius:0!important;border-bottom-right-radius:0!important}.happyforms-input-group__prefix,.happyforms-input-group__suffix{display:flex;align-items:center;max-height:100%;padding:10px 15px;font-weight:400;border:1px solid #dbdbdb;border:1px solid var(--happyforms-color-part-border)!important;background:#e8e8e8;text-shadow:none}.happyforms-input-group__prefix{border-right:0!important;border-top-left-radius:6px;border-bottom-left-radius:6px}.happyforms-input-group__suffix{border-left:0!important;border-top-right-radius:6px;border-bottom-right-radius:6px}.happyforms-input-group__prefix span,.happyforms-input-group__suffix span{word-break:break-word}.happyforms-input-group__suffix.happyforms-input-group__suffix--button{position:relative;padding:0!important}.happyforms-input-group__suffix a.happyforms-plain-button,.happyforms-input-group__suffix button.happyforms-plain-button{outline:0;margin:0;padding:10px 15px;line-height:1;font-weight:400;box-shadow:none;border:0;background-color:transparent;text-transform:none}.happyforms-input-group input{width:100%}.happyforms-part--choice .happyforms-part-option--other input[type=text]{display:none;margin-top:10px!important}.happyforms-part--choice .happyforms-part-option--other input[type=text].hf-show{display:block}.happyforms-part--select .happyforms-part-option--other input[type=text]{display:none;margin-top:10px}.happyforms-part--select .happyforms-part-option--other input[type=text].hf-show{display:block}.happyforms-part--rich_text div.mce-toolbar-grp{position:relative;left:-1px;width:calc(100% - 2px);border:1px solid #dbdbdb!important;border-bottom:0!important}.happyforms-part--rich_text div.mce-panel{background:0 0!important}.happyforms-part--rich_text.focus div.mce-toolbar-grp{left:0}.happyforms-part--rich_text div.mce-toolbar-grp>div{padding:0 2px}.happyforms-part--rich_text.focus div.mce-toolbar-grp>div{padding:0 1px}.happyforms-part--rich_text .mce-top-part::before{box-shadow:none}div.mce-inline-toolbar-grp.happyforms-editor-toolbar-link{background-color:#fff;border-width:1px;box-shadow:none;border-radius:6px}.happyforms-editor-toolbar-link.mce-inline-toolbar-grp.mce-arrow-up:before{top:-11px;left:50%;border-width:0 11px 11px}.happyforms-editor-toolbar-link.mce-inline-toolbar-grp.mce-arrow-down:before{bottom:-10px;border-width:9px 9px 0}.happyforms-editor-toolbar-link.mce-inline-toolbar-grp.mce-arrow-down:after{bottom:-8px;left:50%;border-top-color:#fff}.happyforms-editor-toolbar-link.mce-inline-toolbar-grp.mce-arrow-left:before{left:18px}.happyforms-editor-toolbar-link.mce-inline-toolbar-grp.mce-arrow-left.mce-arrow-down:after{left:19px}.happyforms-editor-toolbar-link.mce-inline-toolbar-grp.mce-arrow-up.mce-arrow-right:before{left:auto;right:18px}.happyforms-editor-toolbar-link.mce-inline-toolbar-grp.mce-arrow-up:after{left:calc(50% + 0px);top:-10px;border-bottom-color:#fff;border-width:0 10px 10px 10px}.happyforms-editor-toolbar-link.mce-inline-toolbar-grp.mce-arrow-up.mce-arrow-left:after{left:19px}.happyforms-editor-toolbar-link.mce-inline-toolbar-grp.mce-arrow-right:after{left:auto;right:19px}.happyforms-editor-toolbar-link .mce-toolbar .mce-btn-group .mce-btn button,.happyforms-part--rich_text .mce-toolbar .mce-btn-group .mce-btn button{cursor:pointer!important;padding:0!important;background-color:transparent}div.mce-inline-toolbar-grp.happyforms-editor-toolbar-link div.wp-link-input input{margin:0;padding:5px;border:0;background-color:#fff}div.mce-inline-toolbar-grp.happyforms-editor-toolbar-link div.wp-link-preview{margin:7px 6px}div.mce-inline-toolbar-grp.happyforms-editor-toolbar-link div.wp-link-input input::placeholder{color:#888}div.mce-inline-toolbar-grp.happyforms-editor-toolbar-link .mce-btn,div.mce-inline-toolbar-grp.happyforms-editor-toolbar-link .mce-btn.mce-primary{border-color:transparent}div.mce-inline-toolbar-grp.happyforms-editor-toolbar-link .mce-btn:active,div.mce-inline-toolbar-grp.happyforms-editor-toolbar-link .mce-btn:hover{border-color:transparent!important;border-radius:6px;background-color:#efefef!important}.happyforms-part--rich_text .mce-panel{z-index:1!important}.happyforms-part--rich_text .mce-toolbar .mce-btn-group .mce-btn,.happyforms-part--rich_text .qt-dfw,.mce-inline-toolbar-grp .mce-toolbar .mce-btn-group .mce-btn,.mce-inline-toolbar-grp .mce-toolbar .mce-btn-group .mce-btn.mce-primary{padding:2px;background-color:transparent}.happyforms-part--rich_text .mce-inline-toolbar-grp .mce-toolbar .mce-btn-group .mce-btn.mce-primary:focus,.happyforms-part--rich_text .mce-inline-toolbar-grp .mce-toolbar .mce-btn-group .mce-btn.mce-primary:hover,.happyforms-part--rich_text .mce-inline-toolbar-grp .mce-toolbar .mce-btn-group .mce-btn:focus,.happyforms-part--rich_text .mce-inline-toolbar-grp .mce-toolbar .mce-btn-group .mce-btn:hover,.happyforms-part--rich_text .mce-toolbar .mce-btn-group .mce-btn.mce-active,.happyforms-part--rich_text .mce-toolbar .mce-btn-group .mce-btn.mce-active:hover,.happyforms-part--rich_text .mce-toolbar .mce-btn-group .mce-btn:active,.happyforms-part--rich_text .mce-toolbar .mce-btn-group .mce-btn:focus,.happyforms-part--rich_text .mce-toolbar .mce-btn-group .mce-btn:hover,.happyforms-part--rich_text .qt-dfw.active,.happyforms-part--rich_text .qt-dfw.active:hover,.happyforms-part--rich_text .qt-dfw:focus,.happyforms-part--rich_text .qt-dfw:hover,.mce-inline-toolbar-grp .mce-toolbar .mce-btn-group .mce-btn.mce-primary:hover,.mce-inline-toolbar-grp .mce-toolbar .mce-btn-group .mce-btn:hover{background:0 0;box-shadow:none;color:inherit}.mce-inline-toolbar-grp .mce-toolbar .mce-btn-group .mce-btn,.mce-inline-toolbar-grp .mce-toolbar .mce-btn-group .mce-btn.mce-primary,.mce-inline-toolbar-grp .mce-toolbar .mce-btn-group .mce-btn.mce-primary:focus,.mce-inline-toolbar-grp .mce-toolbar .mce-btn-group .mce-btn.mce-primary:hover,.mce-inline-toolbar-grp .mce-toolbar .mce-btn-group .mce-btn:focus,.mce-inline-toolbar-grp .mce-toolbar .mce-btn-group .mce-btn:hover{box-shadow:none}.happyforms-part--rich_text .mce-btn svg{fill:currentColor}.happyforms-editor-toolbar-link svg{fill:#000}.happyforms-part--rich_text .mce-edit-area,.happyforms-part--rich_text .mce-statusbar .mce-container-body,.happyforms-part--rich_text div.mce-statusbar{border-width:0!important}.happyforms-part--rich_text div.mce-toolbar-grp{background-color:#fff!important}.happyforms-part--rich_text .mce-tinymce.mce-container{border:0;border-width:0!important;box-shadow:none}.happyforms-part--rich_text.focus .mce-tinymce.mce-container{overflow:hidden}.happyforms-part--rich_text .mce-statusbar{position:absolute;left:2px;bottom:2px;width:calc(100% - 4px);background-color:transparent!important}.happyforms-part--rich_text .happyforms-visual-editor{position:relative;overflow:hidden;padding:1px 1px 0;border:1px solid}.happyforms-part--rich_text.focus .happyforms-visual-editor{outline:0}.happyforms-form--part-border-off .happyforms-part--rich_text .happyforms-visual-editor{border-color:transparent}.happyforms-form--part-borders-bottom-only .happyforms-part--rich_text.focus .happyforms-visual-editor{border-bottom-width:1px}.happyforms-form--part-border-off .happyforms-part--rich_text .mce-statusbar .mce-container-body,.happyforms-form--part-border-off .happyforms-part--rich_text div.mce-toolbar-grp{border:0}.happyforms-form--part-borders-bottom-only .happyforms-part--rich_text .happyforms-visual-editor{box-shadow:none;border-top-color:transparent;border-left-color:transparent;border-right-color:transparent}.happyforms-form--part-borders-bottom-only .happyforms-part--rich_text .mce-statusbar .mce-container-body{border-left:0;border-right:0}.happyforms-form--part-border-radius-square .happyforms-part--rich_text .happyforms-visual-editor,.happyforms-form--part-border-radius-square .happyforms-part--rich_text .mce-tinymce.mce-container{border-radius:0!important}.happyforms-form--part-border-radius-pill .happyforms-part--rich_text .happyforms-visual-editor,.happyforms-form--part-border-radius-pill .happyforms-part--rich_text .mce-tinymce.mce-container{border-radius:25px!important}.happyforms-form--part-border-radius-pill .happyforms-part--rich_text .mce-toolbar .mce-btn-group.mce-first{margin-left:10px}.happyforms-form--part-border-radius-pill .happyforms-part--rich_text .mce-container-body .mce-resizehandle{right:10px;bottom:3px}.happyforms-form--part-inner-padding-narrow .happyforms-part--rich_text .mce-content-body{margin-top:0;margin-bottom:0}.happyforms-part--rich_text .mce-edit-area{position:relative;left:-1px;padding:0;overflow:hidden}.happyforms-part--rich_text.focus .mce-edit-area{left:0}.happyforms-form--part-inner-padding-wide .happyforms-part--rich_text.focus .mce-edit-area{width:calc(100% - 10px)}.happyforms-part--rich_text.focus .mce-edit-area iframe{margin-left:-1px}.happyforms-part--rich_text .mce-edit-area iframe{position:relative;top:-5px}.happyforms-form--part-inner-padding-wide .happyforms-part--rich_text .mce-edit-area{padding:0 5px 5px}.happyforms-form--part-inner-padding-narrow .happyforms-part--rich_text .mce-edit-area iframe{top:-10px;left:-5px}.happyforms-part--rich_text .mce-container-body .mce-resizehandle{right:-1px;bottom:-1px;overflow-y:hidden;resize:horizontal}.happyforms-part--rich_text .mce-container-body .mce-resizehandle .mce-i-resize:before{resize:horizontal;overflow-y:scroll;color:transparent}
|
1 |
+
:root{--happyforms-color-primary:#000;--happyforms-color-success-notice:#ebf9f0;--happyforms-color-success-notice-text:#1eb452;--happyforms-color-error:#f23000;--happyforms-color-error-notice:#ffeeea;--happyforms-color-error-notice-text:#f23000;--happyforms-color-notice-text:#454545;--happyforms-color-part-title:#000;--happyforms-color-part-value:#000;--happyforms-color-part-placeholder:#888888;--happyforms-color-part-description:#454545;--happyforms-color-part-border:#dbdbdb;--happyforms-color-part-border-focus:#7aa4ff;--happyforms-color-part-background:#fff;--happyforms-color-part-background-focus:#fff;--happyforms-color-submit-background:#000000;--happyforms-color-submit-background-hover:#000000;--happyforms-color-submit-border:transparent;--happyforms-color-submit-text:#fff;--happyforms-color-submit-text-hover:#fff;--happyforms-color-table-row-odd:#fcfcfc;--happyforms-color-table-row-even:#efefef;--happyforms-color-table-row-odd-text:#000;--happyforms-color-table-row-even-text:#000;--happyforms-color-choice-checkmark-bg:#fff;--happyforms-color-choice-checkmark-bg-focus:#000;--happyforms-color-choice-checkmark-color:#fff;--happyforms-color-dropdown-bg-color:#fff;--happyforms-color-dropdown-item-bg:#fff;--happyforms-color-dropdown-item-text:#000;--happyforms-color-dropdown-item-bg-hover:#f4f4f5;--happyforms-color-dropdown-item-text-hover:#000;--happyforms-form-title-font-size:32px;--happyforms-form-font-weight:normal;--happyforms-part-title-font-size:16px;--happyforms-part-description-font-size:12px;--happyforms-part-value-font-size:16px;--happyforms-submit-button-font-size:16px;--happyforms-transition-duration:0.25s}.happyforms-form.happyforms-styles form{font-weight:400;font-weight:var(--happyforms-form-font-weight);transition:opacity .25s ease-in-out;transition:opacity var(--happyforms-transition-duration) ease-in-out}.happyforms-styles h3.happyforms-form__title{font-weight:400;font-size:32px;font-size:var(--happyforms-form-title-font-size);color:#000;color:var(--happyforms-color-primary)}.happyforms-styles .happyforms-part__label{line-height:1;font-weight:400;font-size:16px;font-size:var(--happyforms-part-title-font-size);background-color:transparent;overflow-wrap:anywhere}.happyforms-styles .happyforms-part__label .happyforms-optional,.happyforms-styles .happyforms-part__label .label{font-weight:400;font-style:normal;font-size:16px;font-size:var(--happyforms-part-title-font-size);color:#000;color:var(--happyforms-color-part-title);background-color:transparent}.happyforms-styles .happyforms-part__description{line-height:1.4;font-size:14px;font-size:var(--happyforms-part-description-font-size);color:#454545;color:var(--happyforms-color-part-description);overflow-wrap:anywhere}.happyforms-styles .happyforms-part input[type=email],.happyforms-styles .happyforms-part input[type=number],.happyforms-styles .happyforms-part input[type=password],.happyforms-styles .happyforms-part input[type=range],.happyforms-styles .happyforms-part input[type=tel],.happyforms-styles .happyforms-part input[type=text],.happyforms-styles .happyforms-part select.happyforms-select,.happyforms-styles .happyforms-part textarea{margin:0;padding:10px;border-width:1px;border-style:solid;border-color:#dbdbdb!important;border-color:var(--happyforms-color-part-border)!important;border-radius:6px;border-radius:6px!important;box-shadow:none;box-sizing:border-box;font-style:normal;font-size:16px;font-size:var(--happyforms-part-value-font-size);background-color:#fff!important;background-color:var(--happyforms-color-part-background)!important;color:#000;color:var(--happyforms-color-part-value);transition-property:none;transition-duration:.1s;transition-duration:var(--happyforms-transition-duration);transition-timing-function:ease-in}.happyforms-styles .happyforms-part input[type=email],.happyforms-styles .happyforms-part input[type=number],.happyforms-styles .happyforms-part input[type=password],.happyforms-styles .happyforms-part input[type=range],.happyforms-styles .happyforms-part input[type=tel],.happyforms-styles .happyforms-part input[type=text],.happyforms-styles .happyforms-part select.happyforms-select{height:auto!important}.happyforms-styles.happyforms-form--part-border-off .happyforms-part input[type=email],.happyforms-styles.happyforms-form--part-border-off .happyforms-part input[type=number],.happyforms-styles.happyforms-form--part-border-off .happyforms-part input[type=password],.happyforms-styles.happyforms-form--part-border-off .happyforms-part input[type=range],.happyforms-styles.happyforms-form--part-border-off .happyforms-part input[type=tel],.happyforms-styles.happyforms-form--part-border-off .happyforms-part input[type=text],.happyforms-styles.happyforms-form--part-border-off .happyforms-part select.happyforms-select,.happyforms-styles.happyforms-form--part-border-off .happyforms-part textarea{border-color:transparent!important}.happyforms-styles .happyforms-part input[type=email]:focus,.happyforms-styles .happyforms-part input[type=number]:focus,.happyforms-styles .happyforms-part input[type=password]:focus,.happyforms-styles .happyforms-part input[type=tel]:focus,.happyforms-styles .happyforms-part input[type=text]:focus,.happyforms-styles .happyforms-part select.happyforms-select:focus,.happyforms-styles .happyforms-part textarea:focus{outline:0;border-color:#7aa4ff!important;border-color:var(--happyforms-color-part-border-focus)!important;color:#000;color:var(--happyforms-color-part-value);background-color:#fff!important;background-color:var(--happyforms-color-part-background-focus)!important;box-shadow:inset 0 0 0 1px #7aa4ff;box-shadow:inset 0 0 0 1px var(--happyforms-color-part-border-focus)}.happyforms-styles .happyforms-part select:focus{outline:0}.happyforms-styles.happyforms-form--part-border-off .happyforms-part input[type=email]:focus,.happyforms-styles.happyforms-form--part-border-off .happyforms-part input[type=number]:focus,.happyforms-styles.happyforms-form--part-border-off .happyforms-part input[type=password]:focus,.happyforms-styles.happyforms-form--part-border-off .happyforms-part input[type=tel]:focus,.happyforms-styles.happyforms-form--part-border-off .happyforms-part input[type=text]:focus,.happyforms-styles.happyforms-form--part-border-off .happyforms-part select.happyforms-select:focus,.happyforms-styles.happyforms-form--part-border-off .happyforms-part textarea:focus{border-color:transparent!important}.happyforms-styles .happyforms-part.happyforms-part--error input[type=email],.happyforms-styles .happyforms-part.happyforms-part--error input[type=number],.happyforms-styles .happyforms-part.happyforms-part--error input[type=password],.happyforms-styles .happyforms-part.happyforms-part--error input[type=range],.happyforms-styles .happyforms-part.happyforms-part--error input[type=tel],.happyforms-styles .happyforms-part.happyforms-part--error input[type=text],.happyforms-styles .happyforms-part.happyforms-part--error textarea{border-color:#f23000;border-color:var(--happyforms-color-error)}.happyforms-styles .happyforms-part.display-type--block .happyforms-part__el{width:100%}.happyforms-styles .happyforms-part ::-webkit-input-placeholder{font-weight:400;font-style:normal;color:#888;color:var(--happyforms-color-part-placeholder)!important}.happyforms-styles .happyforms-part ::-moz-placeholder{font-weight:400;font-style:normal;color:#888;color:var(--happyforms-color-part-placeholder)!important}.happyforms-styles .happyforms-part ::-ms-placeholder{font-weight:400;font-style:normal;color:#888;color:var(--happyforms-color-part-placeholder)!important}.happyforms-styles .happyforms-part ::placeholder{font-weight:400;font-style:normal;color:#888;color:var(--happyforms-color-part-placeholder)!important}.happyforms-styles .happyforms-part-el-wrap{position:relative}.happyforms-styles .happyforms-part-wrap{position:relative}.happyforms-styles .happyforms-part .option-label{border-radius:6px;line-height:1.3125;line-height:calc(var(--happyforms-part-value-font-size) * 1.3125);font-size:16px;font-size:var(--happyforms-part-value-font-size);overflow-wrap:anywhere}.happyforms-styles .happyforms-part .happyforms-part-option:last-of-type .option-label{margin-bottom:0}.happyforms-styles .option-label input[type=text]{position:relative;top:0;padding-top:1px;padding-bottom:1px;border:0;border-radius:0!important}.happyforms-styles .option-label input[type=text]:focus{border-top:0;border-right:0;border-left:0;box-shadow:none}.happyforms-styles .option-label input{top:3px}.happyforms-styles .happyforms-part--checkbox .happyforms-part-option,.happyforms-styles .happyforms-part--radio .happyforms-part-option{margin-bottom:10px}.happyforms-styles .happyforms-part--checkbox label.option-label,.happyforms-styles .happyforms-part--radio label.option-label{margin-bottom:0}.happyforms-part .option-label .happyforms-remaining-choice,.happyforms-styles .happyforms-part .option-label .label{font-weight:400;font-size:16px;font-size:var(--happyforms-part-value-font-size);color:#000;color:var(--happyforms-color-part-description)}.happyforms-styles .happyforms-part .option-label input:checked+.checkmark{background-color:#000;background-color:var(--happyforms-color-choice-checkmark-bg-focus)}.happyforms-styles .happyforms-part-option__description{font-size:var(--happyforms-part-description-font-size);color:#000;color:var(--happyforms-color-part-description)}.happyforms-styles .happyforms-part .happyforms-part-option label.heading-label{font-weight:400;font-style:normal;font-size:16px;font-size:var(--happyforms-part-value-font-size);color:#000;color:var(--happyforms-color-part-title)}.happyforms-styles .happyforms-part .checkmark{z-index:5;display:flex;align-items:center;justify-content:center;width:21px;min-width:21px;height:21px;margin:calc((var(--happyforms-part-value-font-size) * 1.3125 - 21px)/ 2) 0;border-radius:50%;border:1px solid;border-color:#dbdbdb;border-color:var(--happyforms-color-part-border);font-weight:700;font-size:14px;font-size:var(--happyforms-part-description-font-size);background-color:#fff;background-color:var(--happyforms-color-choice-checkmark-bg);color:#000;color:var(--happyforms-color-choice-checkmark-bg-focus)}.happyforms-styles .happyforms-part .checkmark svg{display:none;width:10px}.happyforms-styles .happyforms-part--checkbox .checkmark,.happyforms-styles .happyforms-part--legal .checkmark,.happyforms-styles .happyforms-part--table.happyforms-selection--multiple .checkmark{border-radius:6px}.happyforms-styles.happyforms-form--part-border-radius-square .happyforms-part--checkbox .checkmark,.happyforms-styles.happyforms-form--part-border-radius-square .happyforms-part--legal .checkmark,.happyforms-styles.happyforms-form--part-border-radius-square .happyforms-part--table.happyforms-selection--multiple .checkmark{border-radius:0}.happyforms-styles .happyforms-part .option-label input:checked+.checkmark{background-color:#000;background-color:var(--happyforms-color-choice-checkmark-bg-focus)}.happyforms-styles .happyforms-part .option-label input:focus+.checkmark{border-color:#7aa4ff;border-color:var(--happyforms-color-part-border-focus);box-shadow:inset 0 0 0 1px #7aa4ff;box-shadow:inset 0 0 0 1px var(--happyforms-color-part-border-focus)}.happyforms-styles .happyforms-part input:checked+.checkmark svg{display:block;color:#fff;color:var(--happyforms-color-choice-checkmark-color)}.happyforms-radio-circle{display:none;width:7px;height:7px;border-radius:50%;background-color:#fff;background-color:var(--happyforms-color-choice-checkmark-color)}.happyforms-styles .happyforms-part--poll input:checked+.checkmark .happyforms-radio-circle,.happyforms-styles .happyforms-part--radio input:checked+.checkmark .happyforms-radio-circle,.happyforms-styles .happyforms-part--table:not(.happyforms-selection--multiple) input:checked+.checkmark .happyforms-radio-circle{display:block}.happyforms-styles .happyforms-part input:checked+.checkmark svg{display:block;color:#fff;color:var(--happyforms-color-choice-checkmark-color)}.happyforms-styles .happyforms-part__select-bg{padding:1px 0 2px;border:1px solid;border-radius:6px;border-color:#dbdbdb;border-color:var(--happyforms-color-part-border);background-color:#fff;background-color:var(--happyforms-color-part-background)}.happyforms-styles .happyforms-part__select-wrap:after{border-top:6px solid #000;border-top-color:var(--happyforms-color-part-value)}.happyforms-styles .happyforms-part select.happyforms-select:invalid{color:var(--happyforms-color-part-placeholder)!important}.happyforms-styles .happyforms-part select.happyforms-select:focus{outline-width:1px;outline-color:#000;outline-color:var(--happyforms-color-part-value)}.happyforms-styles .happyforms-part-date__time-input .happyforms-spinner-arrow{border-top:6px solid #000;border-top:6px solid var(--happyforms-color-part-value);background-position:left top;background-size:cover}.happyforms-styles button[type=submit].happyforms-button--submit,.happyforms-styles button[type=submit][disabled].happyforms-button--submit{-webkit-appearance:none;height:auto;padding:15px 30px;border-radius:4px!important;border:1px solid transparent!important;border-color:var(--happyforms-color-submit-border)!important;font-weight:400;font-style:normal;font-size:16px;font-size:var(--happyforms-submit-button-font-size);color:#fff;color:var(--happyforms-color-submit-text);background-color:#000;background-color:var(--happyforms-color-submit-background);background:#000;background:var(--happyforms-color-submit-background);text-transform:none;transition-property:all;transition-duration:.25s;transition-duration:var(--happyforms-transition-duration);transition-timing-function:ease-in;white-space:normal;overflow-wrap:anywhere}.happyforms-styles button[type=submit]:not(:hover):not(:active):not(.has-background){background-color:#000;background-color:var(--happyforms-color-submit-background);background:#000;background:var(--happyforms-color-submit-background);color:#fff;color:var(--happyforms-color-submit-text)}.happyforms-styles button[type=submit].happyforms-button--submit:focus,.happyforms-styles button[type=submit].happyforms-button--submit:hover{cursor:pointer;border-radius:4px;border-color:transparent!important;border-color:var(--happyforms-color-submit-border)!important;background-color:#000;background-color:var(--happyforms-color-submit-background-hover);background:#000;background:var(--happyforms-color-submit-background-hover);text-transform:none;text-decoration:none;color:#fff;color:var(--happyforms-color-submit-text-hover)}.happyforms-styles button[type=submit][disabled].happyforms-button--submit:focus,.happyforms-styles button[type=submit][disabled].happyforms-button--submit:hover{cursor:default;background-color:#407fff;background-color:var(--happyforms-color-submit-background);background:#407fff;background:var(--happyforms-color-submit-background);color:#fff;color:var(--happyforms-color-submit-text)}.happyforms-styles .happyforms-visuallyhidden{position:absolute;border:0;clip:rect(0 0 0 0);width:1px;height:1px;margin:-1px;padding:0;overflow:hidden}.happyforms-styles .happyforms-message-notices .happyforms-message-notice{padding:20px 15px;border-radius:6px;background-color:transparent;color:#454545}.happyforms-styles.happyforms-form--part-border-radius-square .happyforms-message-notices .happyforms-message-notice{border-radius:0}.happyforms-styles.happyforms-form--part-border-radius-pill .happyforms-message-notices .happyforms-message-notice{padding:20px 25px;border-radius:25px}.happyforms-styles .happyforms-message-notices .success{background-color:#ebf9f0;background-color:var(--happyforms-color-success-notice)}.happyforms-styles .happyforms-message-notices .success h2{color:#1eb452!important;color:var(--happyforms-color-success-notice-text)!important}.happyforms-styles .happyforms-message-notices .error{background-color:#ffeeea;background-color:var(--happyforms-color-error-notice)}.happyforms-styles .happyforms-message-notices .error h2{color:#f23000!important;color:var(--happyforms-color-error-notice-text)!important}.happyforms-styles .happyforms-message-notices h2{margin-top:0!important;margin-bottom:0!important;padding-top:0!important;padding-bottom:0!important;font-weight:400!important;font-size:16px!important}.happyforms-styles .happyforms-message-notices h2:before{display:none}.happyforms-styles .happyforms-message-notices h2 span{display:block;font-weight:400;font-size:14px}.happyforms-styles .happyforms-form__part .happyforms-message-notices h2{font-weight:400!important;font-size:16px!important;font-size:var(--happyforms-part-value-font-size)!important}.happyforms-styles .happyforms-form__part .happyforms-message-notice.error h2{color:#f23000;color:var(--happyforms-color-error)}.happyforms-styles.happyforms-form--part-border-radius-square .happyforms-part .happyforms-part__select-bg,.happyforms-styles.happyforms-form--part-border-radius-square .happyforms-part input[type=email],.happyforms-styles.happyforms-form--part-border-radius-square .happyforms-part input[type=number],.happyforms-styles.happyforms-form--part-border-radius-square .happyforms-part input[type=password],.happyforms-styles.happyforms-form--part-border-radius-square .happyforms-part input[type=tel],.happyforms-styles.happyforms-form--part-border-radius-square .happyforms-part input[type=text],.happyforms-styles.happyforms-form--part-border-radius-square .happyforms-part textarea,.happyforms-styles.happyforms-form--part-border-radius-square .happyforms-part:not(.happyforms-part--phone) select.happyforms-select{border-radius:0!important}.happyforms-styles.happyforms-form--part-border-radius-square .option-label{border-radius:0}.happyforms-styles.happyforms-form--part-border-radius-pill .happyforms-part input[type=email],.happyforms-styles.happyforms-form--part-border-radius-pill .happyforms-part input[type=number],.happyforms-styles.happyforms-form--part-border-radius-pill .happyforms-part input[type=password],.happyforms-styles.happyforms-form--part-border-radius-pill .happyforms-part input[type=tel],.happyforms-styles.happyforms-form--part-border-radius-pill .happyforms-part input[type=text],.happyforms-styles.happyforms-form--part-border-radius-pill .happyforms-part textarea,.happyforms-styles.happyforms-form--part-border-radius-pill .happyforms-part:not(.happyforms-part--phone) select.happyforms-select{border-radius:25px!important;padding-left:25px;padding-right:25px}.happyforms-styles.happyforms-form--part-border-radius-pill .happyforms-part textarea{padding:15px}.happyforms-styles.happyforms-form--part-border-radius-pill .happyforms-part .happyforms-part__select-bg{border-radius:25px;padding-left:15px}.happyforms-styles.happyforms-form--part-border-radius-pill .option-label{border-radius:25px}.happyforms-styles.happyforms-form--part-placeholder-toggle .happyforms-part ::-webkit-input-placeholder{color:transparent!important;transition:color .25s;transition:color var(--happyforms-transition-duration)}.happyforms-styles.happyforms-form--part-placeholder-toggle .happyforms-part ::-moz-placeholder{color:transparent!important;transition:color .25s;transition:color var(--happyforms-transition-duration)}.happyforms-styles.happyforms-form--part-placeholder-toggle .happyforms-part ::-ms-placeholder{color:transparent!important;transition:color .25s;transition:color var(--happyforms-transition-duration)}.happyforms-styles.happyforms-form--part-placeholder-toggle .happyforms-part ::placeholder{color:transparent!important;transition:color .25s;transition:color var(--happyforms-transition-duration)}.happyforms-styles.happyforms-form--part-placeholder-toggle .happyforms-part input:focus::-webkit-input-placeholder{color:#888!important;color:var(--happyforms-color-part-placeholder)!important}.happyforms-styles.happyforms-form--part-placeholder-toggle .happyforms-part input:focus::-moz-placeholder{color:#888!important;color:var(--happyforms-color-part-placeholder)!important}.happyforms-styles.happyforms-form--part-placeholder-toggle .happyforms-part input:focus::-ms-placeholder{color:#888!important;color:var(--happyforms-color-part-placeholder)!important}.happyforms-styles.happyforms-form--part-placeholder-toggle .happyforms-part input:focus::placeholder{color:#888!important;color:var(--happyforms-color-part-placeholder)!important}.happyforms-styles .happyforms-part--label-inside label .label{font-weight:700;font-size:14px;color:#000;color:var(--happyforms-color-part-title)}.happyforms-styles.happyforms-form--part-borders-bottom-only .happyforms-part input[type=email],.happyforms-styles.happyforms-form--part-borders-bottom-only .happyforms-part input[type=number],.happyforms-styles.happyforms-form--part-borders-bottom-only .happyforms-part input[type=password],.happyforms-styles.happyforms-form--part-borders-bottom-only .happyforms-part input[type=text],.happyforms-styles.happyforms-form--part-borders-bottom-only .happyforms-part textarea,.happyforms-styles.happyforms-form--part-borders-bottom-only .happyforms-part:not(.happyforms-part--phone) select.happyforms-select{border-top-color:transparent!important;border-left-color:transparent!important;border-right-color:transparent!important;box-shadow:none!important}.happyforms-styles.happyforms-form--part-disable-transitions .happyforms-part input[type=email],.happyforms-styles.happyforms-form--part-disable-transitions .happyforms-part input[type=number],.happyforms-styles.happyforms-form--part-disable-transitions .happyforms-part input[type=password],.happyforms-styles.happyforms-form--part-disable-transitions .happyforms-part input[type=text],.happyforms-styles.happyforms-form--part-disable-transitions .happyforms-part textarea{transition-duration:0s}.happyforms-styles .happyforms-part input[type=email],.happyforms-styles .happyforms-part input[type=number],.happyforms-styles .happyforms-part input[type=password],.happyforms-styles .happyforms-part input[type=text],.happyforms-styles .happyforms-part textarea{transition:border-color .4s;transition:border-color var(--happyforms-transition-duration)}.happyforms-styles .happyforms-part--label-as_placeholder label{color:#888;color:var(--happyforms-color-part-placeholder);transition-duration:.4s;transition-duration:var(--happyforms-transition-duration)}.happyforms-styles .happyforms-part--label-as_placeholder .happyforms-part__label .label{color:#888;color:var(--happyforms-color-part-placeholder)}.happyforms-styles .happyforms-part--label-as_placeholder input:focus~.happyforms-part__label-container label .label,.happyforms-styles .happyforms-part--label-as_placeholder textarea:focus~.happyforms-part__label-container label .label,.happyforms-styles .happyforms-part--label-as_placeholder.happyforms-part--filled .happyforms-part__label-container label .label,.happyforms-styles .happyforms-part--select.happyforms-part--filled.happyforms-part--label-as_placeholder .label{font-weight:700;font-size:14px;color:#000;color:var(--happyforms-color-part-value)}.happyforms-styles.happyforms-form--submit-button-border-hide button[type=submit].happyforms-button--submit{border-width:0!important}.happyforms-styles.happyforms-form--submit-button-border-radius-square button[type=submit].happyforms-button--submit,.happyforms-styles.happyforms-form--submit-button-border-radius-square button[type=submit].happyforms-button--submit:hover{border-radius:0!important}.happyforms-styles.happyforms-form--submit-button-border-radius-pill button[type=submit].happyforms-button--submit,.happyforms-styles.happyforms-form--submit-button-border-radius-pill button[type=submit].happyforms-button--submit:hover{border-radius:60px!important}.happyforms-styles.happyforms-form--submit-button-bold .happyforms-part--submit button[type=submit]{font-weight:700}.happyforms-styles.happyforms-form--submit-button-disable-transitions button[type=submit]{transition-duration:0s!important}.happyforms-styles.happyforms-form--submit-button-padding-narrow button[type=submit].happyforms-button--submit{padding:10px 20px}.happyforms-styles.happyforms-form--submit-button-padding-wide button[type=submit].happyforms-button--submit{padding:20px 50px}.happyforms-styles.happyforms-form--submit-button-fullwidth button[type=submit].happyforms-button--submit{padding-left:0;padding-right:0;margin-right:0}.happyforms-styles.happyforms-form--part-title-font-weight-bold .happyforms-part__label .label{font-weight:700}.happyforms-styles .happyforms-custom-select input[readonly=readonly]{cursor:pointer}.happyforms-styles .happyforms-custom-select-dropdown{background-color:#fff;background-color:var(--happyforms-color-dropdown-bg-color);border:1px solid #dbdbdb;border:1px solid var(--happyforms-color-part-border);border-radius:6px}.happyforms-styles.happyforms-form--part-border-radius-square .happyforms-custom-select-dropdown{border-radius:0}.happyforms-styles.happyforms-form--part-border-radius-pill .happyforms-custom-select-dropdown{border-radius:25px}.happyforms-styles .happyforms-custom-select-dropdown li{transition:background-color .2s ease-in;color:#000;color:var(--happyforms-color-dropdown-item-text);background-color:#fff;background-color:var(--happyforms-color-dropdown-item-bg);font-size:16px;font-size:var(--happyforms-part-value-font-size)}.happyforms-styles .happyforms-custom-select-dropdown li.happyforms-custom-select-dropdown__placeholder{color:#888;color:var(--happyforms-color-part-placeholder)}.happyforms-styles .happyforms-custom-select-dropdown li.happyforms-custom-select-dropdown__item.active,.happyforms-styles .happyforms-custom-select-dropdown li.happyforms-custom-select-dropdown__item:hover{color:#000;color:var(--happyforms-color-dropdown-item-text-hover);background-color:#f4f4f5;background-color:var(--happyforms-color-dropdown-item-bg-hover)}.happyforms-styles .happyforms-part-preview .happyforms-part__label .label{font-weight:700;color:#000;color:var(--happyforms-color-table-row-odd-text)}.happyforms-styles .happyforms-part-preview .happyforms-part__el-preview{font-size:16px;font-size:var(--happyforms-part-value-font-size)}.happyforms-styles .happyforms-part-preview{background-color:#fcfcfc;background-color:var(--happyforms-color-table-row-odd)}.happyforms-styles .happyforms-part-preview:nth-child(2n){background-color:#efefef;background-color:var(--happyforms-color-table-row-even)}.happyforms-styles .happyforms-part-preview:nth-child(2n) .happyforms-part__label .label{color:#000;color:var(--happyforms-color-table-row-even-text)}.happyforms-styles .happyforms-form-preview>p{font-size:16px;font-size:var(--happyforms-part-value-font-size)}.happyforms-part-error-notice p{font-size:16px;font-size:var(--happyforms-part-value-font-size);color:#f23000;color:var(--happyforms-color-error)}.happyforms-part-error-notice p svg{color:#f23000;color:var(--happyforms-color-error)}.happyforms-styles .happyforms-input-group__suffix a.happyforms-plain-button,.happyforms-styles .happyforms-input-group__suffix button.happyforms-plain-button{font-size:16px;font-size:var(--happyforms-part-value-font-size);color:var(--happyforms-color-part-value)}.happyforms-styles .happyforms-input-group__prefix,.happyforms-styles .happyforms-input-group__suffix{font-size:16px;font-size:var(--happyforms-part-value-font-size);background:#e8e8e8}.happyforms-styles.happyforms-form .happyforms-part .happyforms-input{position:relative;flex:1;width:100%}.happyforms-styles.happyforms-styles.happyforms-form--part-border-radius-square button.happyforms-pair-group__button{border-radius:0}.happyforms-styles.happyforms-styles.happyforms-form--part-border-radius-pill button.happyforms-pair-group__button{border-radius:25px}.happyforms-styles button.happyforms-pair-group__button:hover{background-color:#000;background-color:var(--happyforms-color-submit-background-hover)}.happyforms-styles.happyforms-form .happyforms-part .happyforms-input-group.with-prefix .happyforms-input>input{padding-left:10px;border-top-left-radius:0!important;border-bottom-left-radius:0!important}.happyforms-styles.happyforms-form .happyforms-part .happyforms-input-group.with-suffix .happyforms-input>input{padding-right:10px;border-top-right-radius:0!important;border-bottom-right-radius:0!important}.happyforms-styles.happyforms-form--part-border-radius-square .happyforms-input-group__prefix{border-top-left-radius:0;border-bottom-left-radius:0}.happyforms-styles.happyforms-form--part-border-radius-pill .happyforms-input-group__prefix{border-top-left-radius:25px;border-bottom-left-radius:25px}.happyforms-styles.happyforms-form--part-border-radius-square .happyforms-input-group__suffix{border-top-right-radius:0;border-bottom-right-radius:0}.happyforms-styles.happyforms-form--part-border-radius-pill .happyforms-input-group__suffix{border-top-right-radius:25px;border-bottom-right-radius:25px}.happyforms-part__char-counter{font-size:14px;font-size:var(--happyforms-part-description-font-size);color:#454545;color:var(--happyforms-color-part-description)}.happyforms-styles .happyforms-part--rich_text div.mce-toolbar-grp{border-radius:6px;border-bottom-left-radius:0;border-bottom-right-radius:0;background-color:#fff;border-color:#dbdbdb!important;border-color:var(--happyforms-color-part-border)!important}.happyforms-styles.happyforms-form--part-border-radius-square .happyforms-part--rich_text div.mce-toolbar-grp{border-radius:0}.happyforms-styles.happyforms-form--part-border-radius-pill .happyforms-part--rich_text div.mce-toolbar-grp{border-radius:25px;border-bottom-left-radius:0;border-bottom-right-radius:0}.happyforms-styles div.mce-inline-toolbar-grp.happyforms-editor-toolbar-link{border-color:#7aa4ff!important;border-color:var(--happyforms-color-part-border-focus)!important}.happyforms-styles .happyforms-editor-toolbar-link.mce-inline-toolbar-grp.mce-arrow-down:before{border-top-color:#7aa4ff;border-top-color:var(--happyforms-color-part-border-focus)}.happyforms-styles div.mce-inline-toolbar-grp.happyforms-editor-toolbar-link div.wp-link-input input::placeholder{color:#888;color:var(--happyforms-color-part-placeholder)!important}.happyforms-styles .happyforms-part--rich_text .mce-toolbar .mce-btn-group .mce-btn,.happyforms-styles .happyforms-part--rich_text .qt-dfw,.happyforms-styles .mce-inline-toolbar-grp .mce-toolbar .mce-btn-group .mce-btn,.happyforms-styles .mce-inline-toolbar-grp .mce-toolbar .mce-btn-group .mce-btn.mce-primary{padding:2px;background-color:#fff;border-color:#fff}.happyforms-styles .happyforms-part--rich_text .mce-inline-toolbar-grp .mce-toolbar .mce-btn-group .mce-btn.mce-primary:focus,.happyforms-styles .happyforms-part--rich_text .mce-inline-toolbar-grp .mce-toolbar .mce-btn-group .mce-btn.mce-primary:hover,.happyforms-styles .happyforms-part--rich_text .mce-inline-toolbar-grp .mce-toolbar .mce-btn-group .mce-btn:focus,.happyforms-styles .happyforms-part--rich_text .mce-inline-toolbar-grp .mce-toolbar .mce-btn-group .mce-btn:hover,.happyforms-styles .happyforms-part--rich_text .mce-toolbar .mce-btn-group .mce-btn.mce-active,.happyforms-styles .happyforms-part--rich_text .mce-toolbar .mce-btn-group .mce-btn.mce-active:hover,.happyforms-styles .happyforms-part--rich_text .mce-toolbar .mce-btn-group .mce-btn:active,.happyforms-styles .happyforms-part--rich_text .mce-toolbar .mce-btn-group .mce-btn:focus,.happyforms-styles .happyforms-part--rich_text .mce-toolbar .mce-btn-group .mce-btn:hover,.happyforms-styles .happyforms-part--rich_text .qt-dfw.active,.happyforms-styles .happyforms-part--rich_text .qt-dfw.active:hover,.happyforms-styles .happyforms-part--rich_text .qt-dfw:focus,.happyforms-styles .happyforms-part--rich_text .qt-dfw:hover,.happyforms-styles .mce-inline-toolbar-grp .mce-toolbar .mce-btn-group .mce-btn.mce-primary:hover,.happyforms-styles .mce-inline-toolbar-grp .mce-toolbar .mce-btn-group .mce-btn:hover{border-color:transparent;border-radius:6px;background-color:#efefef}.happyforms-styles .happyforms-editor-toolbar-link svg,.happyforms-styles .happyforms-part--rich_text .mce-btn svg{fill:#000}.happyforms-styles .happyforms-part--rich_text .happyforms-visual-editor{padding-bottom:1.5px;border:0}.happyforms-styles .happyforms-part--rich_text .mce-edit-area{border-bottom-width:1.5px;border:1px solid #dbdbdb!important;border-radius:6px;border-top-left-radius:0;border-top-right-radius:0;transition:border-color .25s;transition:border-color var(--happyforms-transition-duration)}.happyforms-styles.happyforms-form--part-border-radius-square .happyforms-part--rich_text .mce-edit-area{border-radius:0}.happyforms-styles .happyforms-part--rich_text.focus .mce-edit-area{border-color:#7aa4ff!important;border-color:var(--happyforms-color-part-border-focus)!important;box-shadow:inset 0 0 0 1px #7aa4ff;box-shadow:inset 0 0 0 1px var(--happyforms-color-part-border-focus)}.happyforms-styles .happyforms-part--rich_text .mce-edit-area{background-color:#fff!important;background-color:var(--happyforms-color-part-background)!important}.happyforms-styles.happyforms-form--part-border-radius-pill .happyforms-part--rich_text .mce-edit-area{border-bottom-left-radius:25px;border-bottom-right-radius:25px}.happyforms-styles .happyforms-part--rich_text.focus .mce-edit-area{background-color:#fff!important;background-color:var(--happyforms-color-part-background-focus)!important}.happyforms-styles .happyforms-part--rich_text .mce-statusbar{border-bottom-left-radius:6px;border-bottom-right-radius:6px}.happyforms-styles .happyforms-part--rich_text .mce-statusbar .mce-path:first-child{display:none}.happyforms-styles.happyforms-form--part-border-radius-square .happyforms-part--rich_text .mce-statusbar{border-radius:0}.happyforms-styles.happyforms-form--part-border-radius-pill .happyforms-part--rich_text .mce-statusbar{border-bottom-left-radius:25px;border-bottom-right-radius:25px}.happyforms-styles.happyforms-form--part-border-off .happyforms-part--rich_text .happyforms-visual-editor{padding-bottom:1px}.happyforms-part--email_integration .option-label .label p,.happyforms-part--legal .option-label .label p,.happyforms-part--mailchimp .option-label .label p,.happyforms-part--signature .option-label .label p{margin-top:0}.happyforms-part--email_integration .option-label .label p:last-child,.happyforms-part--legal .option-label .label p:last-child,.happyforms-part--mailchimp .option-label .label p:last-child,.happyforms-part--signature .option-label .label p:last-child{margin-bottom:0}.happyforms-styles button.happyforms-text-button{-webkit-appearance:none;height:auto;font-weight:400;font-style:normal;font-size:16px;background-color:#000;background-color:var(--happyforms-color-submit-background);background:#000;background:var(--happyforms-color-submit-background);text-transform:none;transition-property:all;transition-duration:.25s;transition-duration:var(--happyforms-transition-duration);transition-timing-function:ease-in;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;text-shadow:none;text-decoration:none;letter-spacing:0;white-space:normal;overflow-wrap:anywhere;outline:0}.happyforms-styles button.happyforms-text-button{background-color:transparent!important;padding:0;font-size:var(--happyforms-part-value-font-size);color:#000!important;color:var(--happyforms-color-part-value)!important;border:0 solid transparent!important;width:auto!important;border-width:0!important;font-weight:400!important;text-decoration:underline;display:inline-block;cursor:pointer}:root{--happyforms-form-width:100%}.happyforms-flex{display:flex;flex-flow:row wrap;align-items:flex-start;max-width:100%}.happyforms-form--hide-title .happyforms-flex{padding-top:0}.happyforms-form{max-width:100%;max-width:var(--happyforms-form-width);margin:0 auto;border-style:solid;border-width:0}.happyforms-form form{margin:0;padding:0;background-color:transparent}.happyforms-form.happyforms-form--padding-narrow{padding:1%}.happyforms-form.happyforms-form--padding-wide{padding:3.5%}.happyforms-form form.happyforms-form--submitting{opacity:.5}.happyforms-form--direction-rtl{direction:rtl}.happyforms-flex>input[type=checkbox]{display:none!important}h3.happyforms-form__title{margin:0;padding:0}.happyforms-form--hide-title h3.happyforms-form__title{display:none}.happyforms-form--title-text-align-right h3.happyforms-form__title{text-align:right}.happyforms-form--title-text-align-center h3.happyforms-form__title{text-align:center}.happyforms-form__part{position:relative;display:block;box-sizing:border-box;width:100%;margin-bottom:15px;padding:5px 1%}.happyforms-form__part:last-child{margin-bottom:0}@media screen and (min-width:800px){.happyforms-part--width-half{width:50%}.happyforms-part--width-third{width:33.333%}.happyforms-part--width-quarter{width:25%}}.happyforms-part--width-half,.happyforms-part--width-third{align-self:flex-start}.happyforms-part--width-auto{align-self:flex-start;flex-grow:1;width:auto;max-width:75%}.happyforms-part--width-auto+.happyforms-part--recaptcha,.happyforms-part--width-auto+.happyforms-part--recaptcha+.happyforms-part--submit,.happyforms-part--width-auto+.happyforms-part--submit{align-self:center;width:auto!important;margin-bottom:0!important;padding-top:5px;padding-bottom:0}.happyforms-form--part-outer-padding-narrow .happyforms-part--width-auto+.happyforms-part--recaptcha+.happyforms-part--submit,.happyforms-part--width-auto+.happyforms-part--recaptcha{top:-13px}.happyforms-form--part-outer-padding-narrow .happyforms-part--width-auto+.happyforms-part--submit{top:-10px}.happyforms-form--part-outer-padding-narrow .happyforms-part--width-auto+.happyforms-part--recaptcha{top:3px}.happyforms-form--part-outer-padding-wide .happyforms-part--width-auto+.happyforms-part--submit{top:-25px}.happyforms-form--part-outer-padding-wide .happyforms-part--width-auto+.happyforms-part--recaptcha{top:-23px}.happyforms-form--part-outer-padding-wide .happyforms-part--width-auto+.happyforms-part--recaptcha+.happyforms-part--submit{top:-45px}.happyforms-part--width-auto+.happyforms-part--recaptcha+.happyforms-part--submit button[type=submit],.happyforms-part--width-auto+.happyforms-part--submit button[type=submit]{width:100%;padding:17px 50px}.happyforms-form--submit-part-of-input .happyforms-part--width-auto+.happyforms-part--recaptcha+.happyforms-part--submit,.happyforms-form--submit-part-of-input .happyforms-part--width-auto+.happyforms-part--submit{left:-1.5%;padding-left:0;padding-right:0}.happyforms-form--submit-part-of-input.happyforms-form--part-outer-padding-wide .happyforms-part--width-auto+.happyforms-part--recaptcha+.happyforms-part--submit,.happyforms-form--submit-part-of-input.happyforms-form--part-outer-padding-wide .happyforms-part--width-auto+.happyforms-part--submit{left:-3.5%;padding-left:0}.happyforms-form--submit-part-of-input.happyforms-form--part-outer-padding-narrow .happyforms-part--width-auto+.happyforms-part--recaptcha+.happyforms-part--submit,.happyforms-form--submit-part-of-input.happyforms-form--part-outer-padding-narrow .happyforms-part--width-auto+.happyforms-part--submit{left:-1%;padding-left:0}.happyforms-form--submit-part-of-input .happyforms-part--width-auto+.happyforms-part--recaptcha+.happyforms-part--submit button[type=submit],.happyforms-form--submit-part-of-input .happyforms-part--width-auto+.happyforms-part--submit button[type=submit]{padding-top:8px;padding-bottom:9px;border-top-left-radius:0;border-bottom-left-radius:0}.happyforms-form--submit-part-of-input.happyforms-form--part-inner-padding-wide .happyforms-part--width-auto+.happyforms-part--recaptcha+.happyforms-part--submit button[type=submit],.happyforms-form--submit-part-of-input.happyforms-form--part-inner-padding-wide .happyforms-part--width-auto+.happyforms-part--submit button[type=submit]{padding-top:13px;padding-bottom:15px}.happyforms-form--submit-part-of-input.happyforms-form--part-inner-padding-narrow .happyforms-part--width-auto+.happyforms-part--recaptcha+.happyforms-part--submit button[type=submit],.happyforms-form--submit-part-of-input.happyforms-form--part-inner-padding-narrow .happyforms-part--width-auto+.happyforms-part--submit button[type=submit]{padding-top:3px;padding-bottom:4px}.happyforms-form--submit-part-of-input .happyforms-part--width-auto.happyforms-part--label-as_placeholder+.happyforms-part--recaptcha+.happyforms-part--submit button[type=submit],.happyforms-form--submit-part-of-input .happyforms-part--width-auto.happyforms-part--label-as_placeholder+.happyforms-part--submit button[type=submit],.happyforms-form--submit-part-of-input .happyforms-part--width-auto.happyforms-part--label-inside+.happyforms-part--recaptcha+.happyforms-part--submit button[type=submit],.happyforms-form--submit-part-of-input .happyforms-part--width-auto.happyforms-part--label-inside+.happyforms-part--submit button[type=submit]{padding-top:16px;padding-bottom:18px}.happyforms-part__label{display:inline-block;margin-bottom:15px}.happyforms-part__label .happyforms-optional,.happyforms-part__label .happyforms-required,.happyforms-part__label .label{padding:0;white-space:normal}.happyforms-form__part[data-happyforms-required] .happyforms-part__label .happyforms-optional{display:none}.happyforms-form__part .happyforms-part__label .happyforms-required{display:none}.happyforms-form__part[data-happyforms-required] .happyforms-part__label .happyforms-required{display:inline-block}.happyforms-part__description{display:block;margin:-3px 0 10px}.happyforms-part--focus-reveal-description .happyforms-part__description{display:none}.happyforms-form__part.focus .happyforms-part__description,.happyforms-part--focus-reveal-description input:focus+.happyforms-part__description,.happyforms-part--focus-reveal-description textarea:focus+.happyforms-part__description{display:block}.happyforms-form--part-description-text-align-center .happyforms-part__description{text-align:center}.happyforms-form--part-description-text-align-right .happyforms-part__description{text-align:right}.happyforms-part input[type=email],.happyforms-part input[type=number],.happyforms-part input[type=password],.happyforms-part input[type=range],.happyforms-part input[type=tel],.happyforms-part input[type=text],.happyforms-part textarea,.happyforms-part.happyforms-part select.happyforms-select{width:100%;box-sizing:border-box;max-width:none}.happyforms-part.happyforms-part select.happyforms-select{appearance:none!important;-moz-appearance:none!important;-webkit-appearance:none!important;background-image:none!important}.happyforms-part textarea{height:auto}.happyforms-form--part-value-text-align-center .happyforms-part input[type=email],.happyforms-form--part-value-text-align-center .happyforms-part input[type=number],.happyforms-form--part-value-text-align-center .happyforms-part input[type=password],.happyforms-form--part-value-text-align-center .happyforms-part input[type=tel],.happyforms-form--part-value-text-align-center .happyforms-part input[type=text],.happyforms-form--part-value-text-align-center .happyforms-part textarea,.happyforms-form--part-value-text-align-center .happyforms-part--choice .option-label{text-align:center}.happyforms-form--part-value-text-align-center .happyforms-part--choice .happyforms-part__el{justify-content:center}.happyforms-form--part-value-text-align-right .happyforms-part input[type=email],.happyforms-form--part-value-text-align-right .happyforms-part input[type=number],.happyforms-form--part-value-text-align-right .happyforms-part input[type=password],.happyforms-form--part-value-text-align-right .happyforms-part input[type=tel],.happyforms-form--part-value-text-align-right .happyforms-part input[type=text],.happyforms-form--part-value-text-align-right .happyforms-part textarea,.happyforms-form--part-value-text-align-right .happyforms-part--choice .option-label{text-align:right}.happyforms-form--part-value-text-align-right .happyforms-part--choice .happyforms-part__el{justify-content:flex-end}.happyforms-part.happyforms-part--error input[type=email],.happyforms-part.happyforms-part--error input[type=number],.happyforms-part.happyforms-part--error input[type=password],.happyforms-part.happyforms-part--error input[type=range],.happyforms-part.happyforms-part--error input[type=tel],.happyforms-part.happyforms-part--error input[type=text],.happyforms-part.happyforms-part--error textarea{border-color:#ff7550}.happyforms-part.display-type--block .happyforms-part__el{width:100%}.happyforms-part-el-wrap{position:relative}.happyforms-part-wrap{position:relative}.happyforms-part--label-below .happyforms-part-wrap{display:flex;flex-flow:row wrap-reverse;align-content:flex-end}.happyforms-part--label-below .happyforms-part__label{order:2;margin-top:10px;margin-bottom:5px}.happyforms-part--label-below .happyforms-part__description{order:1;margin-top:0}.happyforms-part--label-below.happyforms-part--date .happyforms-part__el{width:100%;order:2}.happyforms-part--date .happyforms-part__description{width:100%}.happyforms-part--label-left .happyforms-part__description{width:100%}.happyforms-part--label-left .happyforms-part-wrap{display:flex;flex-flow:row;flex-wrap:wrap}@media screen and (min-width:800px){.happyforms-part--label-left .happyforms-part-wrap>.happyforms-part__label-container{float:none;width:25%;margin-bottom:0;align-self:flex-start}}.happyforms-part--label-left .happyforms-part-wrap>.happyforms-part__el{width:75%}.happyforms-part--label-left.happyforms-part--date .happyforms-custom-select{width:100%}@media screen and (max-width:800px){.happyforms-part--label-left .happyforms-part-wrap{flex-flow:column}.happyforms-part--label-left .happyforms-part-wrap>.happyforms-part__label{align-self:flex-start}.happyforms-part--label-left .happyforms-custom-select,.happyforms-part--label-left .happyforms-part-wrap>.happyforms-part__el{width:100%}}.happyforms-part--label-hidden .happyforms-part-wrap .happyforms-part__label{display:none!important}.happyforms-part .option-label{display:flex;align-items:center;position:relative;cursor:pointer;padding:0 5px 5px 0}.happyforms-part--choice .option-label{margin-right:20px}.happyforms-part--choice.happyforms-part-options-width--full .option-label{margin-right:0}.happyforms-styles .happyforms-part .happyforms-part-option .option-label{align-items:flex-start}.happyforms-styles .happyforms-part .happyforms-part-option.disabled-option .option-label,.happyforms-styles .happyforms-part .happyforms-table__cell.disabled-option .option-label{cursor:default}@media screen and (max-width:800px){.happyforms-part--choice .option-label{margin-right:0}}.happyforms-part--choice .option-label input:focus{outline:0}.happyforms-part .option-label .label-wrap{position:relative;display:inline-block;padding:0 10px;white-space:normal;color:inherit}.happyforms-form--direction-rtl .happyforms-part--choice .option-label .label{margin-right:0}.happyforms-part-option:last-of-type{margin-bottom:0!important}.happyforms-part-option__description{display:block;width:auto;max-width:400px;margin-top:0;margin-left:31px;flex-basis:100%;font-weight:400;font-weight:var(--happyforms-form-font-weight);line-height:1.4}.happyforms-part--choice.display-type--block .happyforms-part-option__description{max-width:none}.happyforms-part.display-type--block .option-label{display:flex;margin-right:0;flex-wrap:wrap}.happyforms-part .happyforms-part-option.option-heading{width:100%}.happyforms-part--choice .happyforms-part__el{display:flex;flex-flow:row wrap}@media screen and (max-width:800px){.happyforms-part--choice .happyforms-part__el{flex-flow:column wrap}}.happyforms-part--choice{margin-bottom:0}.happyforms-part--choice.display-type--block{margin-bottom:15px}.happyforms-part--choice.happyforms-part-options-width--full .happyforms-part__option{width:100%}.happyforms-part--choice.happyforms-part-options-width--half .happyforms-part__el,.happyforms-part--choice.happyforms-part-options-width--quarter .happyforms-part__el,.happyforms-part--choice.happyforms-part-options-width--third .happyforms-part__el{margin:0 -1%}.happyforms-part--choice.happyforms-part-options-width--half .happyforms-part__option,.happyforms-part--choice.happyforms-part-options-width--quarter .happyforms-part__option,.happyforms-part--choice.happyforms-part-options-width--third .happyforms-part__option{padding:0 1%}.happyforms-part--choice.happyforms-part-options-width--half .happyforms-part__option label,.happyforms-part--choice.happyforms-part-options-width--quarter .happyforms-part__option label,.happyforms-part--choice.happyforms-part-options-width--third .happyforms-part__option label{margin-right:0}.happyforms-part--choice.happyforms-part-options-width--half .happyforms-part__option{width:50%}.happyforms-part--choice.happyforms-part-options-width--third .happyforms-part__option{width:33.333%}.happyforms-part--choice.happyforms-part-options-width--quarter .happyforms-part__option{width:25%}.happyforms-part--choice .happyforms-part__el .happyforms-part__description{flex:0 1 100%;width:100%;margin-top:-5px;margin-bottom:20px}.happyforms-part--choice.display-type--block .happyforms-part__el .happyforms-part__description{flex:0;width:auto;margin-top:5px;margin-bottom:0}@media screen and (max-width:800px){.happyforms-part--choice.happyforms-part-options-width--half .happyforms-part__option,.happyforms-part--choice.happyforms-part-options-width--quarter .happyforms-part__option,.happyforms-part--choice.happyforms-part-options-width--third .happyforms-part__option{width:100%}}.happyforms-part--choice.display-type--block .happyforms-part__el{display:flex!important;flex-flow:column wrap}.happyforms-part .checkmark svg{display:none}.happyforms-part--legal .option-label p:last-child{margin-bottom:0}.happyforms-part--label-below .happyforms-custom-select,.happyforms-part--label-below .happyforms-part__el,.happyforms-part--label-below input,.happyforms-part--label-below textarea{order:3}.happyforms-part--label-below .happyforms-custom-select,.happyforms-part--label-below .happyforms-part__el{width:100%}.happyforms-form--part-title-text-align-center .happyforms-part__label{text-align:center}.happyforms-form--part-title-text-align-center .happyforms-part--label-above .happyforms-part__label,.happyforms-form--part-title-text-align-center .happyforms-part--label-as_placeholder .happyforms-part__label,.happyforms-form--part-title-text-align-center .happyforms-part--label-below .happyforms-part__label,.happyforms-form--part-title-text-align-center .happyforms-part--label-inside .happyforms-part__label,.happyforms-form--part-title-text-align-center .happyforms-part--label-show .happyforms-part__label,.happyforms-form--part-title-text-align-right .happyforms-part--label-above .happyforms-part__label,.happyforms-form--part-title-text-align-right .happyforms-part--label-as_placeholder .happyforms-part__label,.happyforms-form--part-title-text-align-right .happyforms-part--label-show .happyforms-part__label{width:100%}.happyforms-form--part-title-text-align-right .happyforms-part--label-as_placeholder .happyforms-part__label,.happyforms-form--part-title-text-align-right .happyforms-part--label-inside .happyforms-part__label{width:calc(100% - 20px)}.happyforms-form--part-title-text-align-right.happyforms-form--part-inner-padding-wide .happyforms-part--label-as_placeholder .happyforms-part__label{width:calc(100% - 30px)}.happyforms-form--part-title-text-align-center .happyforms-part--label-left .happyforms-part__label{align-self:flex-start}.happyforms-form--part-title-text-align-right .happyforms-part__label{text-align:right}.happyforms-form--part-title-text-align-right .happyforms-part--label-left .happyforms-part__label{align-self:flex-start;margin-bottom:10px;padding-right:15px}.happyforms-part--label-hidden .happyforms-part-wrap>.happyforms-part__label{display:none!important}.happyforms-part__select-wrap{position:relative;flex:1;padding:0 0 0 2%}.happyforms-part__select-wrap{height:100%}.happyforms-part__select-bg{padding:1px 0 2px;border:1px solid;border-color:#dbdbdb}.happyforms-part__select-wrap:first-of-type{padding-left:0!important}.happyforms-part__select-wrap:after{content:'';position:absolute;top:44%;right:15px;z-index:1;display:block;width:0;height:0;border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid}.happyforms-part select:focus{outline-width:1px;outline-color:#000}.happyforms-part__select-wrap:last-child{padding-right:0}.happyforms-part--submit{display:flex;flex-flow:row wrap;align-items:center;width:100%;margin-bottom:0;padding-top:10px}.happyforms-message-notices{padding:0 1%;margin:0 0 25px 0}form .happyforms-flex>.happyforms-message-notices .happyforms-message-notice{width:100%;box-sizing:border-box}form .happyforms-flex>.happyforms-message-notices .happyforms-message-notice a{border:0}.happyforms-flex>.happyforms-message-notices p:last-child{margin-bottom:0}.happyforms-form__part .happyforms-message-notice.error h2{color:#ff7550}.happyforms-form__title+.happyforms-message-notices{margin-top:25px}.happyforms-part--label-inside .happyforms-part__label-container{position:absolute;top:8px;left:10px;z-index:2;width:98%}.happyforms-part--label-as_placeholder input,.happyforms-part--label-as_placeholder textarea,.happyforms-part--label-inside input,.happyforms-part--label-inside textarea{padding-top:30px!important;padding-bottom:7px!important}.happyforms-form--part-inner-padding-narrow .happyforms-part--label-as_placeholder input,.happyforms-form--part-inner-padding-narrow .happyforms-part--label-as_placeholder textarea,.happyforms-form--part-inner-padding-narrow .happyforms-part--label-inside input,.happyforms-form--part-inner-padding-narrow .happyforms-part--label-inside textarea{padding-top:22px!important;padding-bottom:5px!important}.happyforms-form--part-inner-padding-wide .happyforms-part--label-as_placeholder input,.happyforms-form--part-inner-padding-wide .happyforms-part--label-as_placeholder textarea,.happyforms-form--part-inner-padding-wide .happyforms-part--label-inside input,.happyforms-form--part-inner-padding-wide .happyforms-part--label-inside textarea{padding-top:30px!important;padding-bottom:10px!important}.happyforms-part input[type=email],.happyforms-part input[type=number],.happyforms-part input[type=password],.happyforms-part input[type=text],.happyforms-part textarea{margin-bottom:0;transition:border-color .4s;transition:border-color var(--happyforms-transition-duration)}.happyforms-part--label-below .happyforms-part__label-container{width:100%}.happyforms-part--label-as_placeholder label{transition-duration:.4s}.happyforms-part--label-as_placeholder ::-webkit-input-placeholder{opacity:0}.happyforms-part--label-as_placeholder ::-moz-placeholder{opacity:0}.happyforms-part--label-as_placeholder ::-ms-placeholder{opacity:0}.happyforms-part--label-as_placeholder ::placeholder{opacity:0}.happyforms-part--label-as_placeholder label{position:absolute;left:11px;top:23px;z-index:5;transition-property:top}.happyforms-form--direction-rtl .happyforms-part--label-as_placeholder label{left:auto;right:11px}.happyforms-part--label-as_placeholder input:focus~.happyforms-part__label-container>label,.happyforms-part--label-as_placeholder textarea:focus~.happyforms-part__label-container>label,.happyforms-part--label-as_placeholder.happyforms-part--filled .happyforms-part__label-container label,.happyforms-part--select.happyforms-part--label-as_placeholder.happyforms-part--filled label{top:8px}.happyforms-form--part-inner-padding-narrow .happyforms-part--label-as_placeholder label{top:19px;left:5px}.happyforms-form--direction-rtl.happyforms-form--part-inner-padding-narrow .happyforms-part--label-as_placeholder label{right:5px;left:auto}.happyforms-form--part-inner-padding-narrow .happyforms-part--label-as_placeholder input:focus~.happyforms-part__label-container>label,.happyforms-form--part-inner-padding-narrow .happyforms-part--label-as_placeholder textarea:focus~.happyforms-part__label-container>label,.happyforms-form--part-inner-padding-narrow .happyforms-part--label-as_placeholder.happyforms-part--filled .happyforms-part__label-container label,.happyforms-form--part-inner-padding-narrow .happyforms-part--label-as_placeholder.happyforms-part--filled textarea~label{top:7px}.happyforms-form--part-inner-padding-wide .happyforms-part--label-as_placeholder label{top:25px;left:15px}.happyforms-form--direction-rtl.happyforms-form--part-inner-padding-wide .happyforms-part--label-as_placeholder label{right:15px;left:auto}.happyforms-form--part-inner-padding-wide .happyforms-part--label-as_placeholder input:focus~.happyforms-part__label-container>label,.happyforms-form--part-inner-padding-wide .happyforms-part--label-as_placeholder textarea:focus~.happyforms-part__label-container>label,.happyforms-form--part-inner-padding-wide .happyforms-part--label-as_placeholder.happyforms-part--filled .happyforms-part__label-container label,.happyforms-form--part-inner-padding-wide .happyforms-part--label-as_placeholder.happyforms-part--filled textarea~label{top:12px}.happyforms-form--part-outer-padding-narrow .happyforms-form__part{margin-bottom:5px;padding:0 .5%}.happyforms-form--part-outer-padding-narrow .happyforms-message-notices{padding-left:.5%;padding-right:.5%}.happyforms-form--part-outer-padding-narrow .happyforms-part__select-wrap{padding:0}.happyforms-form--part-outer-padding-narrow .happyforms-part-option{margin-right:-5px}.happyforms-form--part-outer-padding-narrow .happyforms-part.display-type--block .happyforms-part-option{margin-right:0;margin-bottom:5px}.happyforms-form--part-outer-padding-narrow .happyforms-part--choice .option-label{margin-right:15px}.happyforms-form--part-outer-padding-wide .happyforms-form__part{padding:20px 3%}.happyforms-form--part-outer-padding-wide .happyforms-message-notices{padding-left:3%;padding-right:3%}.happyforms-form--part-outer-padding-wide .happyforms-part .happyforms-part-option{margin-right:15px}.happyforms-form--part-outer-padding-wide .happyforms-part.display-type--block .happyforms-part-option{margin-right:0;margin-bottom:35px}.happyforms-form--part-inner-padding-narrow .happyforms-part .option-label,.happyforms-form--part-inner-padding-narrow .happyforms-part input[type=email],.happyforms-form--part-inner-padding-narrow .happyforms-part input[type=number],.happyforms-form--part-inner-padding-narrow .happyforms-part input[type=tel],.happyforms-form--part-inner-padding-narrow .happyforms-part input[type=text],.happyforms-form--part-inner-padding-narrow .happyforms-part textarea,.happyforms-form--part-inner-padding-narrow .happyforms-part:not(.happyforms-part--phone) select.happyforms-select{padding:5px}.happyforms-form--part-inner-padding-narrow .happyforms-part--placeholder .happyforms-part__el{padding:5px}.happyforms-form--part-inner-padding-narrow .happyforms-part--legal label{margin-left:5px}.happyforms-form--part-inner-padding-narrow .happyforms-part__label{margin-bottom:5px}.happyforms-form--part-inner-padding-narrow .happyforms-part--label-below .happyforms-part__label{margin-top:5px}.happyforms-form--part-inner-padding-wide .happyforms-part .option-label,.happyforms-form--part-inner-padding-wide .happyforms-part input[type=email],.happyforms-form--part-inner-padding-wide .happyforms-part input[type=number],.happyforms-form--part-inner-padding-wide .happyforms-part input[type=tel],.happyforms-form--part-inner-padding-wide .happyforms-part input[type=text],.happyforms-form--part-inner-padding-wide .happyforms-part textarea,.happyforms-form--part-inner-padding-wide .happyforms-part--placeholder .happyforms-part__el,.happyforms-form--part-inner-padding-wide .happyforms-part:not(.happyforms-part--phone) select.happyforms-select{padding:15px}.happyforms-form--part-inner-padding-wide .happyforms-part--legal .option-label{padding-left:0}.happyforms-form--part-inner-padding-wide .happyforms-part--legal .option-label .label{padding-left:20px}.happyforms-form--part-inner-padding-wide .happyforms-part .happyforms-part__select-wrap:after{top:45%}.happyforms-form--part-hide-labels .happyforms-part__label{display:none}.happyforms-form--submit-button-fullwidth button[type=submit].happyforms-button--submit{width:100%}button[type=submit][disabled].happyforms-button--submit{cursor:default}.happyforms-form--submit-button-align-center .happyforms-part--submit{text-align:center}.happyforms-form--submit-button-align-right .happyforms-part--submit{text-align:right}.happyforms-part--rating .happyforms-visuallyhidden,.ui-helper-hidden-accessible{position:absolute;border:0;clip:rect(0 0 0 0);width:1px;height:1px;margin:-1px;padding:0;overflow:hidden}.widget button[type=submit].happyforms-button--submit,.widget button[type=submit][disabled].happyforms-button--submit,.widget button[type=submit][disabled].happyforms-button--submit:hover{width:100%}.happyforms-custom-select input[readonly=readonly]{cursor:pointer}.happyforms-custom-select-dropdown{display:none;position:absolute;top:calc(100% + 2px);left:0;z-index:10;list-style:none;margin:0!important;padding:5px 0!important;text-align:left;background-color:#fff;border:1px solid #dbdbdb;white-space:nowrap;width:100%;max-height:250px;overflow-y:scroll}.happyforms-custom-select .happyforms-part__select-wrap input[data-searchable=false]{cursor:pointer}.happyforms-part__select-wrap{cursor:pointer}.happyforms-custom-select-dropdown.active{display:block!important}.happyforms-custom-select-dropdown li{cursor:pointer;display:flex;align-items:center;margin:0;padding:5px 10px;min-height:35px;color:#000;background-color:#fff;white-space:normal;overflow-wrap:anywhere}.happyforms-custom-select-dropdown li.happyforms-custom-select-dropdown__placeholder{color:#888}.happyforms-custom-select-dropdown li.happyforms-custom-select-dropdown__not-found{display:none;cursor:default}.happyforms-custom-select-dropdown li.happyforms-custom-select-dropdown__item.active,.happyforms-custom-select-dropdown li.happyforms-custom-select-dropdown__item:hover{color:#000;background-color:#dbdbdb}.happyforms-part--with-autocomplete .happyforms-custom-select-dropdown li.happyforms-custom-select-dropdown__placeholder,.happyforms-part-date--required .happyforms-custom-select-dropdown li.happyforms-custom-select-dropdown__placeholder,.happyforms-part-select--required .happyforms-custom-select-dropdown li.happyforms-custom-select-dropdown__placeholder{display:none}.happyforms-part-preview .happyforms-part__label{cursor:default;margin-bottom:10px}.happyforms-part-preview .happyforms-part__label .label{font-weight:700}.happyforms-form-preview .happyforms-part--submit{margin-top:30px}.happyforms-part--submit *{margin-right:20px}.happyforms-form--submit-button-align-center .happyforms-part--submit,.happyforms-form--submit-button-fullwidth .happyforms-part--submit{flex-flow:column wrap;align-items:center}.happyforms-form--submit-button-align-center .happyforms-part--submit a,.happyforms-form--submit-button-fullwidth .happyforms-part--submit a{order:2;margin-top:10px;margin-right:0}.happyforms-form--submit-button-align-right .happyforms-part--submit{justify-content:flex-end}.happyforms-form--submit-button-align-center .happyforms-part--submit input,.happyforms-form--submit-button-align-right .happyforms-part--submit input{margin-right:0}.happyforms-form--submit-button-align-right .happyforms-part--submit input+a{margin-left:20px;margin-right:0}@media screen and (max-width:800px){.happyforms-form-preview .happyforms-part--submit{flex-flow:column wrap}.happyforms-form-preview .happyforms-part--submit input{margin-right:0}}.happyforms-hide{display:none}.happyforms-part-preview{margin-bottom:0;padding:10px 1%;margin:0}.happyforms-part-preview{background-color:#fcfcfc}.happyforms-part-preview+.happyforms-part--recaptcha{margin-top:20px}.happyforms-part-preview:nth-child(2n){background-color:#efefef}.happyforms-part-preview:nth-child(2n) .happyforms-part__label .label{color:#000}.happyforms-form-preview>p{padding:45px 1% 10px}.happyforms-part__char-counter{display:none;margin-top:5px;pointer-events:none}.happyforms-part .happyforms-remaining-choice,.happyforms-part__char-counter .counter-label{text-transform:lowercase}.happyforms-part--checkbox .option-label .label-wrap,.happyforms-part--radio .option-label .label-wrap{padding-right:5px;flex:1}.happyforms-custom-select-dropdown .happyforms-remaining-choice{padding-left:5px}.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}.screen-reader-text:focus{background-color:#eee;clip:auto!important;clip-path:none;color:#444;display:block;font-size:1em;height:auto;left:5px;line-height:normal;padding:15px 23px 14px;text-decoration:none;top:5px;width:auto;z-index:100000}.happyforms-part-error-notice,.happyforms-part-error-notice p{margin:0;padding:0}.happyforms-part-error-notice{margin:10px 0 0}.happyforms-part-error-notice p{display:flex;flex-flow:row nowrap;align-items:center;-moz-user-select:none;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;line-height:1.2}.happyforms-part-error-notice p svg{content:'';display:inline-block;width:17px;height:17px;margin:0 8px 0 0}.happyforms-input-group{display:flex;align-items:stretch;flex-flow:row wrap}.happyforms-form .happyforms-part .happyforms-input{position:relative;flex:1;width:100%;display:flex;align-items:stretch}.happyforms-form .happyforms-part .happyforms-input-group.with-prefix .happyforms-input>input{border-top-left-radius:0!important;border-bottom-left-radius:0!important}.happyforms-form .happyforms-part .happyforms-input-group.with-suffix .happyforms-input>input{border-top-right-radius:0!important;border-bottom-right-radius:0!important}.happyforms-input-group__prefix,.happyforms-input-group__suffix{display:flex;align-items:center;max-height:100%;padding:10px 15px;font-weight:400;border:1px solid #dbdbdb;border:1px solid var(--happyforms-color-part-border)!important;background:#e8e8e8;text-shadow:none}.happyforms-input-group__prefix{border-right:0!important;border-top-left-radius:6px;border-bottom-left-radius:6px}.happyforms-input-group__suffix{border-left:0!important;border-top-right-radius:6px;border-bottom-right-radius:6px}.happyforms-input-group__prefix span,.happyforms-input-group__suffix span{word-break:break-word}.happyforms-input-group__suffix.happyforms-input-group__suffix--button{position:relative;padding:0!important}.happyforms-input-group__suffix a.happyforms-plain-button,.happyforms-input-group__suffix button.happyforms-plain-button{outline:0;margin:0;padding:10px 15px;line-height:1;font-weight:400;box-shadow:none;border:0;background-color:transparent;text-transform:none}.happyforms-input-group input{width:100%}.happyforms-part--choice .happyforms-part-option--other input[type=text]{display:none;margin-top:10px!important}.happyforms-part--choice .happyforms-part-option--other input[type=text].hf-show{display:block}.happyforms-part--select .happyforms-part-option--other input[type=text]{display:none;margin-top:10px}.happyforms-part--select .happyforms-part-option--other input[type=text].hf-show{display:block}.happyforms-part--rich_text div.mce-toolbar-grp{position:relative;left:-1px;width:calc(100% - 2px);border:1px solid #dbdbdb!important;border-bottom:0!important}.happyforms-part--rich_text div.mce-panel{background:0 0!important}.happyforms-part--rich_text.focus div.mce-toolbar-grp{left:0}.happyforms-part--rich_text div.mce-toolbar-grp>div{padding:0 2px}.happyforms-part--rich_text.focus div.mce-toolbar-grp>div{padding:0 1px}.happyforms-part--rich_text .mce-top-part::before{box-shadow:none}div.mce-inline-toolbar-grp.happyforms-editor-toolbar-link{background-color:#fff;border-width:1px;box-shadow:none;border-radius:6px}.happyforms-editor-toolbar-link.mce-inline-toolbar-grp.mce-arrow-up:before{top:-11px;left:50%;border-width:0 11px 11px}.happyforms-editor-toolbar-link.mce-inline-toolbar-grp.mce-arrow-down:before{bottom:-10px;border-width:9px 9px 0}.happyforms-editor-toolbar-link.mce-inline-toolbar-grp.mce-arrow-down:after{bottom:-8px;left:50%;border-top-color:#fff}.happyforms-editor-toolbar-link.mce-inline-toolbar-grp.mce-arrow-left:before{left:18px}.happyforms-editor-toolbar-link.mce-inline-toolbar-grp.mce-arrow-left.mce-arrow-down:after{left:19px}.happyforms-editor-toolbar-link.mce-inline-toolbar-grp.mce-arrow-up.mce-arrow-right:before{left:auto;right:18px}.happyforms-editor-toolbar-link.mce-inline-toolbar-grp.mce-arrow-up:after{left:calc(50% + 0px);top:-10px;border-bottom-color:#fff;border-width:0 10px 10px 10px}.happyforms-editor-toolbar-link.mce-inline-toolbar-grp.mce-arrow-up.mce-arrow-left:after{left:19px}.happyforms-editor-toolbar-link.mce-inline-toolbar-grp.mce-arrow-right:after{left:auto;right:19px}.happyforms-editor-toolbar-link .mce-toolbar .mce-btn-group .mce-btn button,.happyforms-part--rich_text .mce-toolbar .mce-btn-group .mce-btn button{cursor:pointer!important;padding:0!important;background-color:transparent}div.mce-inline-toolbar-grp.happyforms-editor-toolbar-link div.wp-link-input input{margin:0;padding:5px;border:0;background-color:#fff}div.mce-inline-toolbar-grp.happyforms-editor-toolbar-link div.wp-link-preview{margin:7px 6px}div.mce-inline-toolbar-grp.happyforms-editor-toolbar-link div.wp-link-input input::placeholder{color:#888}div.mce-inline-toolbar-grp.happyforms-editor-toolbar-link .mce-btn,div.mce-inline-toolbar-grp.happyforms-editor-toolbar-link .mce-btn.mce-primary{border-color:transparent}div.mce-inline-toolbar-grp.happyforms-editor-toolbar-link .mce-btn:active,div.mce-inline-toolbar-grp.happyforms-editor-toolbar-link .mce-btn:hover{border-color:transparent!important;border-radius:6px;background-color:#efefef!important}.happyforms-part--rich_text .mce-panel{z-index:1!important}.happyforms-part--rich_text .mce-toolbar .mce-btn-group .mce-btn,.happyforms-part--rich_text .qt-dfw,.mce-inline-toolbar-grp .mce-toolbar .mce-btn-group .mce-btn,.mce-inline-toolbar-grp .mce-toolbar .mce-btn-group .mce-btn.mce-primary{padding:2px;background-color:transparent}.happyforms-part--rich_text .mce-inline-toolbar-grp .mce-toolbar .mce-btn-group .mce-btn.mce-primary:focus,.happyforms-part--rich_text .mce-inline-toolbar-grp .mce-toolbar .mce-btn-group .mce-btn.mce-primary:hover,.happyforms-part--rich_text .mce-inline-toolbar-grp .mce-toolbar .mce-btn-group .mce-btn:focus,.happyforms-part--rich_text .mce-inline-toolbar-grp .mce-toolbar .mce-btn-group .mce-btn:hover,.happyforms-part--rich_text .mce-toolbar .mce-btn-group .mce-btn.mce-active,.happyforms-part--rich_text .mce-toolbar .mce-btn-group .mce-btn.mce-active:hover,.happyforms-part--rich_text .mce-toolbar .mce-btn-group .mce-btn:active,.happyforms-part--rich_text .mce-toolbar .mce-btn-group .mce-btn:focus,.happyforms-part--rich_text .mce-toolbar .mce-btn-group .mce-btn:hover,.happyforms-part--rich_text .qt-dfw.active,.happyforms-part--rich_text .qt-dfw.active:hover,.happyforms-part--rich_text .qt-dfw:focus,.happyforms-part--rich_text .qt-dfw:hover,.mce-inline-toolbar-grp .mce-toolbar .mce-btn-group .mce-btn.mce-primary:hover,.mce-inline-toolbar-grp .mce-toolbar .mce-btn-group .mce-btn:hover{background:0 0;box-shadow:none;color:inherit}.mce-inline-toolbar-grp .mce-toolbar .mce-btn-group .mce-btn,.mce-inline-toolbar-grp .mce-toolbar .mce-btn-group .mce-btn.mce-primary,.mce-inline-toolbar-grp .mce-toolbar .mce-btn-group .mce-btn.mce-primary:focus,.mce-inline-toolbar-grp .mce-toolbar .mce-btn-group .mce-btn.mce-primary:hover,.mce-inline-toolbar-grp .mce-toolbar .mce-btn-group .mce-btn:focus,.mce-inline-toolbar-grp .mce-toolbar .mce-btn-group .mce-btn:hover{box-shadow:none}.happyforms-part--rich_text .mce-btn svg{fill:currentColor}.happyforms-editor-toolbar-link svg{fill:#000}.happyforms-part--rich_text .mce-edit-area,.happyforms-part--rich_text .mce-statusbar .mce-container-body,.happyforms-part--rich_text div.mce-statusbar{border-width:0!important}.happyforms-part--rich_text div.mce-toolbar-grp{background-color:#fff!important}.happyforms-part--rich_text .mce-tinymce.mce-container{border:0;border-width:0!important;box-shadow:none}.happyforms-part--rich_text.focus .mce-tinymce.mce-container{overflow:hidden}.happyforms-part--rich_text .mce-statusbar{position:absolute;left:2px;bottom:2px;width:calc(100% - 4px);background-color:transparent!important}.happyforms-part--rich_text .happyforms-visual-editor{position:relative;overflow:hidden;padding:1px 1px 0;border:1px solid}.happyforms-part--rich_text.focus .happyforms-visual-editor{outline:0}.happyforms-form--part-border-off .happyforms-part--rich_text .happyforms-visual-editor{border-color:transparent}.happyforms-form--part-borders-bottom-only .happyforms-part--rich_text.focus .happyforms-visual-editor{border-bottom-width:1px}.happyforms-form--part-border-off .happyforms-part--rich_text .mce-statusbar .mce-container-body,.happyforms-form--part-border-off .happyforms-part--rich_text div.mce-toolbar-grp{border:0}.happyforms-form--part-borders-bottom-only .happyforms-part--rich_text .happyforms-visual-editor{box-shadow:none;border-top-color:transparent;border-left-color:transparent;border-right-color:transparent}.happyforms-form--part-borders-bottom-only .happyforms-part--rich_text .mce-statusbar .mce-container-body{border-left:0;border-right:0}.happyforms-form--part-border-radius-square .happyforms-part--rich_text .happyforms-visual-editor,.happyforms-form--part-border-radius-square .happyforms-part--rich_text .mce-tinymce.mce-container{border-radius:0!important}.happyforms-form--part-border-radius-pill .happyforms-part--rich_text .happyforms-visual-editor,.happyforms-form--part-border-radius-pill .happyforms-part--rich_text .mce-tinymce.mce-container{border-radius:25px!important}.happyforms-form--part-border-radius-pill .happyforms-part--rich_text .mce-toolbar .mce-btn-group.mce-first{margin-left:10px}.happyforms-form--part-border-radius-pill .happyforms-part--rich_text .mce-container-body .mce-resizehandle{right:10px;bottom:3px}.happyforms-form--part-inner-padding-narrow .happyforms-part--rich_text .mce-content-body{margin-top:0;margin-bottom:0}.happyforms-part--rich_text .mce-edit-area{position:relative;left:-1px;padding:0;overflow:hidden}.happyforms-part--rich_text.focus .mce-edit-area{left:0}.happyforms-form--part-inner-padding-wide .happyforms-part--rich_text.focus .mce-edit-area{width:calc(100% - 10px)}.happyforms-part--rich_text.focus .mce-edit-area iframe{margin-left:-1px}.happyforms-part--rich_text .mce-edit-area iframe{position:relative;top:-5px}.happyforms-form--part-inner-padding-wide .happyforms-part--rich_text .mce-edit-area{padding:0 5px 5px}.happyforms-form--part-inner-padding-narrow .happyforms-part--rich_text .mce-edit-area iframe{top:-10px;left:-5px}.happyforms-part--rich_text .mce-container-body .mce-resizehandle{right:-1px;bottom:-1px;overflow-y:hidden;resize:horizontal}.happyforms-part--rich_text .mce-container-body .mce-resizehandle .mce-i-resize:before{resize:horizontal;overflow-y:scroll;color:transparent}
|
bundles/js/frontend.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
!function(n){"use strict";function d(n,t){var r=(65535&n)+(65535&t);return(n>>16)+(t>>16)+(r>>16)<<16|65535&r}function f(n,t,r,e,o,u){return d((u=d(d(t,n),d(e,u)))<<o|u>>>32-o,r)}function l(n,t,r,e,o,u,c){return f(t&r|~t&e,n,t,o,u,c)}function g(n,t,r,e,o,u,c){return f(t&e|r&~e,n,t,o,u,c)}function v(n,t,r,e,o,u,c){return f(t^r^e,n,t,o,u,c)}function m(n,t,r,e,o,u,c){return f(r^(t|~e),n,t,o,u,c)}function c(n,t){var r,e,o,u;n[t>>5]|=128<<t%32,n[14+(t+64>>>9<<4)]=t;for(var c=1732584193,f=-271733879,i=-1732584194,a=271733878,h=0;h<n.length;h+=16)c=l(r=c,e=f,o=i,u=a,n[h],7,-680876936),a=l(a,c,f,i,n[h+1],12,-389564586),i=l(i,a,c,f,n[h+2],17,606105819),f=l(f,i,a,c,n[h+3],22,-1044525330),c=l(c,f,i,a,n[h+4],7,-176418897),a=l(a,c,f,i,n[h+5],12,1200080426),i=l(i,a,c,f,n[h+6],17,-1473231341),f=l(f,i,a,c,n[h+7],22,-45705983),c=l(c,f,i,a,n[h+8],7,1770035416),a=l(a,c,f,i,n[h+9],12,-1958414417),i=l(i,a,c,f,n[h+10],17,-42063),f=l(f,i,a,c,n[h+11],22,-1990404162),c=l(c,f,i,a,n[h+12],7,1804603682),a=l(a,c,f,i,n[h+13],12,-40341101),i=l(i,a,c,f,n[h+14],17,-1502002290),c=g(c,f=l(f,i,a,c,n[h+15],22,1236535329),i,a,n[h+1],5,-165796510),a=g(a,c,f,i,n[h+6],9,-1069501632),i=g(i,a,c,f,n[h+11],14,643717713),f=g(f,i,a,c,n[h],20,-373897302),c=g(c,f,i,a,n[h+5],5,-701558691),a=g(a,c,f,i,n[h+10],9,38016083),i=g(i,a,c,f,n[h+15],14,-660478335),f=g(f,i,a,c,n[h+4],20,-405537848),c=g(c,f,i,a,n[h+9],5,568446438),a=g(a,c,f,i,n[h+14],9,-1019803690),i=g(i,a,c,f,n[h+3],14,-187363961),f=g(f,i,a,c,n[h+8],20,1163531501),c=g(c,f,i,a,n[h+13],5,-1444681467),a=g(a,c,f,i,n[h+2],9,-51403784),i=g(i,a,c,f,n[h+7],14,1735328473),c=v(c,f=g(f,i,a,c,n[h+12],20,-1926607734),i,a,n[h+5],4,-378558),a=v(a,c,f,i,n[h+8],11,-2022574463),i=v(i,a,c,f,n[h+11],16,1839030562),f=v(f,i,a,c,n[h+14],23,-35309556),c=v(c,f,i,a,n[h+1],4,-1530992060),a=v(a,c,f,i,n[h+4],11,1272893353),i=v(i,a,c,f,n[h+7],16,-155497632),f=v(f,i,a,c,n[h+10],23,-1094730640),c=v(c,f,i,a,n[h+13],4,681279174),a=v(a,c,f,i,n[h],11,-358537222),i=v(i,a,c,f,n[h+3],16,-722521979),f=v(f,i,a,c,n[h+6],23,76029189),c=v(c,f,i,a,n[h+9],4,-640364487),a=v(a,c,f,i,n[h+12],11,-421815835),i=v(i,a,c,f,n[h+15],16,530742520),c=m(c,f=v(f,i,a,c,n[h+2],23,-995338651),i,a,n[h],6,-198630844),a=m(a,c,f,i,n[h+7],10,1126891415),i=m(i,a,c,f,n[h+14],15,-1416354905),f=m(f,i,a,c,n[h+5],21,-57434055),c=m(c,f,i,a,n[h+12],6,1700485571),a=m(a,c,f,i,n[h+3],10,-1894986606),i=m(i,a,c,f,n[h+10],15,-1051523),f=m(f,i,a,c,n[h+1],21,-2054922799),c=m(c,f,i,a,n[h+8],6,1873313359),a=m(a,c,f,i,n[h+15],10,-30611744),i=m(i,a,c,f,n[h+6],15,-1560198380),f=m(f,i,a,c,n[h+13],21,1309151649),c=m(c,f,i,a,n[h+4],6,-145523070),a=m(a,c,f,i,n[h+11],10,-1120210379),i=m(i,a,c,f,n[h+2],15,718787259),f=m(f,i,a,c,n[h+9],21,-343485551),c=d(c,r),f=d(f,e),i=d(i,o),a=d(a,u);return[c,f,i,a]}function i(n){for(var t="",r=32*n.length,e=0;e<r;e+=8)t+=String.fromCharCode(n[e>>5]>>>e%32&255);return t}function a(n){var t=[];for(t[(n.length>>2)-1]=void 0,e=0;e<t.length;e+=1)t[e]=0;for(var r=8*n.length,e=0;e<r;e+=8)t[e>>5]|=(255&n.charCodeAt(e/8))<<e%32;return t}function e(n){for(var t,r="0123456789abcdef",e="",o=0;o<n.length;o+=1)t=n.charCodeAt(o),e+=r.charAt(t>>>4&15)+r.charAt(15&t);return e}function r(n){return unescape(encodeURIComponent(n))}function o(n){return i(c(a(n=r(n)),8*n.length))}function u(n,t){return function(n,t){var r,e=a(n),o=[],u=[];for(o[15]=u[15]=void 0,16<e.length&&(e=c(e,8*n.length)),r=0;r<16;r+=1)o[r]=909522486^e[r],u[r]=1549556828^e[r];return t=c(o.concat(a(t)),512+8*t.length),i(c(u.concat(t),640))}(r(n),r(t))}function t(n,t,r){return t?r?u(t,n):e(u(t,n)):r?o(n):e(o(n))}"function"==typeof define&&define.amd?define(function(){return t}):"object"==typeof module&&module.exports?module.exports=t:n.md5=t}(this),function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.Cleave=t():e.Cleave=t()}(this,function(){return e=[function(e,t,r){!function(t){"use strict";function i(e,t){var r=this,n=!1;if("string"==typeof e?(r.element=document.querySelector(e),n=1<document.querySelectorAll(e).length):void 0!==e.length&&0<e.length?(r.element=e[0],n=1<e.length):r.element=e,!r.element)throw new Error("[cleave.js] Please check the element");if(n)try{console.warn("[cleave.js] Multiple input fields matched, cleave.js will only take the first one.")}catch(a){}t.initValue=r.element.value,r.properties=i.DefaultProperties.assign({},t),r.init()}i.prototype={init:function(){var e=this,t=e.properties;return t.numeral||t.phone||t.creditCard||t.time||t.date||0!==t.blocksLength||t.prefix?(t.maxLength=i.Util.getMaxLength(t.blocks),e.isAndroid=i.Util.isAndroid(),e.lastInputValue="",e.isBackward="",e.onChangeListener=e.onChange.bind(e),e.onKeyDownListener=e.onKeyDown.bind(e),e.onFocusListener=e.onFocus.bind(e),e.onCutListener=e.onCut.bind(e),e.onCopyListener=e.onCopy.bind(e),e.initSwapHiddenInput(),e.element.addEventListener("input",e.onChangeListener),e.element.addEventListener("keydown",e.onKeyDownListener),e.element.addEventListener("focus",e.onFocusListener),e.element.addEventListener("cut",e.onCutListener),e.element.addEventListener("copy",e.onCopyListener),e.initPhoneFormatter(),e.initDateFormatter(),e.initTimeFormatter(),e.initNumeralFormatter(),void((t.initValue||t.prefix&&!t.noImmediatePrefix)&&e.onInput(t.initValue))):void e.onInput(t.initValue)},initSwapHiddenInput:function(){var r,e=this;e.properties.swapHiddenInput&&(r=e.element.cloneNode(!0),e.element.parentNode.insertBefore(r,e.element),e.elementSwapHidden=e.element,e.elementSwapHidden.type="hidden",e.element=r,e.element.id="")},initNumeralFormatter:function(){var t=this.properties;t.numeral&&(t.numeralFormatter=new i.NumeralFormatter(t.numeralDecimalMark,t.numeralIntegerScale,t.numeralDecimalScale,t.numeralThousandsGroupStyle,t.numeralPositiveOnly,t.stripLeadingZeroes,t.prefix,t.signBeforePrefix,t.tailPrefix,t.delimiter))},initTimeFormatter:function(){var t=this.properties;t.time&&(t.timeFormatter=new i.TimeFormatter(t.timePattern,t.timeFormat),t.blocks=t.timeFormatter.getBlocks(),t.blocksLength=t.blocks.length,t.maxLength=i.Util.getMaxLength(t.blocks))},initDateFormatter:function(){var t=this.properties;t.date&&(t.dateFormatter=new i.DateFormatter(t.datePattern,t.dateMin,t.dateMax),t.blocks=t.dateFormatter.getBlocks(),t.blocksLength=t.blocks.length,t.maxLength=i.Util.getMaxLength(t.blocks))},initPhoneFormatter:function(){var t=this.properties;if(t.phone)try{t.phoneFormatter=new i.PhoneFormatter(new t.root.Cleave.AsYouTypeFormatter(t.phoneRegionCode),t.delimiter)}catch(r){throw new Error("[cleave.js] Please include phone-type-formatter.{country}.js lib")}},onKeyDown:function(e){var t=this,e=e.which||e.keyCode;t.lastInputValue=t.element.value,t.isBackward=8===e},onChange:function(e){var t=this,r=t.properties,n=i.Util,e=(t.isBackward=t.isBackward||"deleteContentBackward"===e.inputType,n.getPostDelimiter(t.lastInputValue,r.delimiter,r.delimiters));t.isBackward&&e?r.postDelimiterBackspace=e:r.postDelimiterBackspace=!1,this.onInput(this.element.value)},onFocus:function(){var e=this,t=e.properties;e.lastInputValue=e.element.value,t.prefix&&t.noImmediatePrefix&&!e.element.value&&this.onInput(t.prefix),i.Util.fixPrefixCursor(e.element,t.prefix,t.delimiter,t.delimiters)},onCut:function(e){i.Util.checkFullSelection(this.element.value)&&(this.copyClipboardData(e),this.onInput(""))},onCopy:function(e){i.Util.checkFullSelection(this.element.value)&&this.copyClipboardData(e)},copyClipboardData:function(e){var r=this.properties,n=i.Util,a=this.element.value,n=r.copyDelimiter?a:n.stripDelimiters(a,r.delimiter,r.delimiters);try{(e.clipboardData?e:window).clipboardData.setData("Text",n),e.preventDefault()}catch(l){}},onInput:function(e){var t=this,r=t.properties,n=i.Util,a=n.getPostDelimiter(e,r.delimiter,r.delimiters);r.numeral||!r.postDelimiterBackspace||a||(e=n.headStr(e,e.length-r.postDelimiterBackspace.length)),r.phone?!r.prefix||r.noImmediatePrefix&&!e.length?r.result=r.phoneFormatter.format(e):r.result=r.prefix+r.phoneFormatter.format(e).slice(r.prefix.length):r.numeral?r.prefix&&r.noImmediatePrefix&&0===e.length?r.result="":r.result=r.numeralFormatter.format(e):(r.date&&(e=r.dateFormatter.getValidatedDate(e)),r.time&&(e=r.timeFormatter.getValidatedTime(e)),e=n.stripDelimiters(e,r.delimiter,r.delimiters),e=n.getPrefixStrippedValue(e,r.prefix,r.prefixLength,r.result,r.delimiter,r.delimiters,r.noImmediatePrefix,r.tailPrefix,r.signBeforePrefix),e=r.numericOnly?n.strip(e,/[^\d]/g):e,e=r.uppercase?e.toUpperCase():e,e=r.lowercase?e.toLowerCase():e,r.prefix&&(r.tailPrefix?e+=r.prefix:e=r.prefix+e,0===r.blocksLength)?r.result=e:(r.creditCard&&t.updateCreditCardPropsByValue(e),e=n.headStr(e,r.maxLength),r.result=n.getFormattedValue(e,r.blocks,r.blocksLength,r.delimiter,r.delimiters,r.delimiterLazyShow))),t.updateValueState()},updateCreditCardPropsByValue:function(e){var n=this.properties,a=i.Util;a.headStr(n.result,4)!==a.headStr(e,4)&&(e=i.CreditCardDetector.getInfo(e,n.creditCardStrictMode),n.blocks=e.blocks,n.blocksLength=n.blocks.length,n.maxLength=a.getMaxLength(n.blocks),n.creditCardType!==e.type&&(n.creditCardType=e.type,n.onCreditCardTypeChanged.call(this,n.creditCardType)))},updateValueState:function(){var n,a,o,e=this,t=i.Util,r=e.properties;e.element&&(n=e.element.selectionEnd,a=e.element.value,o=r.result,n=t.getNextCursorPosition(n,a,o,r.delimiter,r.delimiters),e.isAndroid?window.setTimeout(function(){e.element.value=o,t.setSelection(e.element,n,r.document,!1),e.callOnValueChanged()},1):(e.element.value=o,r.swapHiddenInput&&(e.elementSwapHidden.value=e.getRawValue()),t.setSelection(e.element,n,r.document,!1),e.callOnValueChanged()))},callOnValueChanged:function(){var e=this,t=e.properties;t.onValueChanged.call(e,{target:{name:e.element.name,value:t.result,rawValue:e.getRawValue()}})},setPhoneRegionCode:function(e){var t=this;t.properties.phoneRegionCode=e,t.initPhoneFormatter(),t.onChange()},setRawValue:function(e){var t=this,r=t.properties;e=null!=e?e.toString():"",r.numeral&&(e=e.replace(".",r.numeralDecimalMark)),r.postDelimiterBackspace=!1,t.element.value=e,t.onInput(e)},getRawValue:function(){var t=this.properties,r=i.Util,n=this.element.value;return t.rawValueTrimPrefix&&(n=r.getPrefixStrippedValue(n,t.prefix,t.prefixLength,t.result,t.delimiter,t.delimiters,t.noImmediatePrefix,t.tailPrefix,t.signBeforePrefix)),t.numeral?t.numeralFormatter.getRawValue(n):r.stripDelimiters(n,t.delimiter,t.delimiters)},getISOFormatDate:function(){var t=this.properties;return t.date?t.dateFormatter.getISOFormatDate():""},getISOFormatTime:function(){var t=this.properties;return t.time?t.timeFormatter.getISOFormatTime():""},getFormattedValue:function(){return this.element.value},destroy:function(){var e=this;e.element.removeEventListener("input",e.onChangeListener),e.element.removeEventListener("keydown",e.onKeyDownListener),e.element.removeEventListener("focus",e.onFocusListener),e.element.removeEventListener("cut",e.onCutListener),e.element.removeEventListener("copy",e.onCopyListener)},toString:function(){return"[Cleave Object]"}},i.NumeralFormatter=r(1),i.DateFormatter=r(2),i.TimeFormatter=r(3),i.PhoneFormatter=r(4),i.CreditCardDetector=r(5),i.Util=r(6),i.DefaultProperties=r(7),("object"==typeof t&&t?t:window).Cleave=i,e.exports=i}.call(t,function(){return this}())},function(e,t){"use strict";function r(e,t,i,n,a,o,l,s,c,u){var d=this;d.numeralDecimalMark=e||".",d.numeralIntegerScale=0<t?t:0,d.numeralDecimalScale=0<=i?i:2,d.numeralThousandsGroupStyle=n||r.groupStyle.thousand,d.numeralPositiveOnly=!!a,d.stripLeadingZeroes=!1!==o,d.prefix=l||""===l?l:"",d.signBeforePrefix=!!s,d.tailPrefix=!!c,d.delimiter=u||""===u?u:",",d.delimiterRE=u?new RegExp("\\"+u,"g"):""}r.groupStyle={thousand:"thousand",lakh:"lakh",wan:"wan",none:"none"},r.prototype={getRawValue:function(e){return e.replace(this.delimiterRE,"").replace(this.numeralDecimalMark,".")},format:function(e){var i,n,a,o=this,l="";switch(e=e.replace(/[A-Za-z]/g,"").replace(o.numeralDecimalMark,"M").replace(/[^\dM-]/g,"").replace(/^\-/,"N").replace(/\-/g,"").replace("N",o.numeralPositiveOnly?"":"-").replace("M",o.numeralDecimalMark),i="-"===(e=o.stripLeadingZeroes?e.replace(/^(-)?0+(?=\d)/,"$1"):e).slice(0,1)?"-":"",n=void 0!==o.prefix?o.signBeforePrefix?i+o.prefix:o.prefix+i:i,0<=(a=e).indexOf(o.numeralDecimalMark)&&(a=(e=e.split(o.numeralDecimalMark))[0],l=o.numeralDecimalMark+e[1].slice(0,o.numeralDecimalScale)),"-"==i&&(a=a.slice(1)),0<o.numeralIntegerScale&&(a=a.slice(0,o.numeralIntegerScale)),o.numeralThousandsGroupStyle){case r.groupStyle.lakh:a=a.replace(/(\d)(?=(\d\d)+\d$)/g,"$1"+o.delimiter);break;case r.groupStyle.wan:a=a.replace(/(\d)(?=(\d{4})+$)/g,"$1"+o.delimiter);break;case r.groupStyle.thousand:a=a.replace(/(\d)(?=(\d{3})+$)/g,"$1"+o.delimiter)}return o.tailPrefix?i+a.toString()+(0<o.numeralDecimalScale?l.toString():"")+o.prefix:n+a.toString()+(0<o.numeralDecimalScale?l.toString():"")}},e.exports=r},function(e,t){"use strict";function r(e,t,r){var i=this;i.date=[],i.blocks=[],i.datePattern=e,i.dateMin=t.split("-").reverse().map(function(e){return parseInt(e,10)}),2===i.dateMin.length&&i.dateMin.unshift(0),i.dateMax=r.split("-").reverse().map(function(e){return parseInt(e,10)}),2===i.dateMax.length&&i.dateMax.unshift(0),i.initBlocks()}r.prototype={initBlocks:function(){var e=this;e.datePattern.forEach(function(t){"Y"===t?e.blocks.push(4):e.blocks.push(2)})},getISOFormatDate:function(){var e=this,t=e.date;return t[2]?t[2]+"-"+e.addLeadingZero(t[1])+"-"+e.addLeadingZero(t[0]):""},getBlocks:function(){return this.blocks},getValidatedDate:function(e){var t=this,r="";return e=e.replace(/[^\d]/g,""),t.blocks.forEach(function(i,n){if(0<e.length){var a=e.slice(0,i),o=a.slice(0,1),i=e.slice(i);switch(t.datePattern[n]){case"d":"00"===a?a="01":3<parseInt(o,10)?a="0"+o:31<parseInt(a,10)&&(a="31");break;case"m":"00"===a?a="01":1<parseInt(o,10)?a="0"+o:12<parseInt(a,10)&&(a="12")}r+=a,e=i}}),this.getFixedDateString(r)},getFixedDateString:function(e){var t,r,i,n=this,a=n.datePattern,o=[],l=0,s=0,c=0,u=0,d=0,m=0,p=!1;return 4===e.length&&"y"!==a[0].toLowerCase()&&"y"!==a[1].toLowerCase()&&(d=2-(u="d"===a[0]?0:2),t=parseInt(e.slice(u,u+2),10),r=parseInt(e.slice(d,d+2),10),o=this.getFixedDate(t,r,0)),8===e.length&&(a.forEach(function(e,t){switch(e){case"d":l=t;break;case"m":s=t;break;default:c=t}}),m=2*c,u=l<=c?2*l:2*l+2,d=s<=c?2*s:2*s+2,t=parseInt(e.slice(u,u+2),10),r=parseInt(e.slice(d,d+2),10),i=parseInt(e.slice(m,m+4),10),p=4===e.slice(m,m+4).length,o=this.getFixedDate(t,r,i)),4!==e.length||"y"!==a[0]&&"y"!==a[1]||(m=2-(d="m"===a[0]?0:2),r=parseInt(e.slice(d,d+2),10),i=parseInt(e.slice(m,m+2),10),p=2===e.slice(m,m+2).length,o=[0,r,i]),6!==e.length||"Y"!==a[0]&&"Y"!==a[1]||(m=2-.5*(d="m"===a[0]?0:4),r=parseInt(e.slice(d,d+2),10),i=parseInt(e.slice(m,m+4),10),p=4===e.slice(m,m+4).length,o=[0,r,i]),o=n.getRangeFixedDate(o),0===(n.date=o).length?e:a.reduce(function(e,t){switch(t){case"d":return e+(0===o[0]?"":n.addLeadingZero(o[0]));case"m":return e+(0===o[1]?"":n.addLeadingZero(o[1]));case"y":return e+(p?n.addLeadingZeroForYear(o[2],!1):"");case"Y":return e+(p?n.addLeadingZeroForYear(o[2],!0):"")}},"")},getRangeFixedDate:function(e){var t=this,r=t.datePattern,i=t.dateMin||[],t=t.dateMax||[];return!e.length||i.length<3&&t.length<3||r.find(function(e){return"y"===e.toLowerCase()})&&0===e[2]?e:t.length&&(t[2]<e[2]||t[2]===e[2]&&(t[1]<e[1]||t[1]===e[1]&&t[0]<e[0]))?t:i.length&&(i[2]>e[2]||i[2]===e[2]&&(i[1]>e[1]||i[1]===e[1]&&i[0]>e[0]))?i:e},getFixedDate:function(e,t,r){return e=Math.min(e,31),t=Math.min(t,12),r=parseInt(r||0,10),[e=t<7&&t%2==0||8<t&&t%2==1?Math.min(e,2===t?this.isLeapYear(r)?29:28:30):e,t,r]},isLeapYear:function(e){return e%4==0&&e%100!=0||e%400==0},addLeadingZero:function(e){return(e<10?"0":"")+e},addLeadingZeroForYear:function(e,t){return t?(e<10?"000":e<100?"00":e<1e3?"0":"")+e:(e<10?"0":"")+e}},e.exports=r},function(e,t){"use strict";function r(e,t){var r=this;r.time=[],r.blocks=[],r.timePattern=e,r.timeFormat=t,r.initBlocks()}r.prototype={initBlocks:function(){var e=this;e.timePattern.forEach(function(){e.blocks.push(2)})},getISOFormatTime:function(){var e=this,t=e.time;return t[2]?e.addLeadingZero(t[0])+":"+e.addLeadingZero(t[1])+":"+e.addLeadingZero(t[2]):""},getBlocks:function(){return this.blocks},getTimeFormatOptions:function(){return"12"===String(this.timeFormat)?{maxHourFirstDigit:1,maxHours:12,maxMinutesFirstDigit:5,maxMinutes:60}:{maxHourFirstDigit:2,maxHours:23,maxMinutesFirstDigit:5,maxMinutes:60}},getValidatedTime:function(e){var t=this,r="",i=(e=e.replace(/[^\d]/g,""),t.getTimeFormatOptions());return t.blocks.forEach(function(n,a){if(0<e.length){var o=e.slice(0,n),l=o.slice(0,1),n=e.slice(n);switch(t.timePattern[a]){case"h":parseInt(l,10)>i.maxHourFirstDigit?o="0"+l:parseInt(o,10)>i.maxHours&&(o=i.maxHours+"");break;case"m":case"s":parseInt(l,10)>i.maxMinutesFirstDigit?o="0"+l:parseInt(o,10)>i.maxMinutes&&(o=i.maxMinutes+"")}r+=o,e=n}}),this.getFixedTimeString(r)},getFixedTimeString:function(e){var r,i,u,n=this,a=n.timePattern,o=[],l=0,s=0,c=0,d=0,m=0;return 6===e.length&&(a.forEach(function(e,t){switch(e){case"s":l=2*t;break;case"m":s=2*t;break;case"h":c=2*t}}),m=c,d=s,u=l,u=parseInt(e.slice(u,u+2),10),r=parseInt(e.slice(d,d+2),10),i=parseInt(e.slice(m,m+2),10),o=this.getFixedTime(i,r,u)),4===e.length&&n.timePattern.indexOf("s")<0&&(a.forEach(function(e,t){switch(e){case"m":s=2*t;break;case"h":c=2*t}}),m=c,d=s,u=0,r=parseInt(e.slice(d,d+2),10),i=parseInt(e.slice(m,m+2),10),o=this.getFixedTime(i,r,u)),0===(n.time=o).length?e:a.reduce(function(e,t){switch(t){case"s":return e+n.addLeadingZero(o[2]);case"m":return e+n.addLeadingZero(o[1]);case"h":return e+n.addLeadingZero(o[0])}},"")},getFixedTime:function(e,t,r){return r=Math.min(parseInt(r||0,10),60),t=Math.min(t,60),[e=Math.min(e,60),t,r]},addLeadingZero:function(e){return(e<10?"0":"")+e}},e.exports=r},function(e,t){"use strict";function r(e,t){var r=this;r.delimiter=t||""===t?t:" ",r.delimiterRE=t?new RegExp("\\"+t,"g"):"",r.formatter=e}r.prototype={setFormatter:function(e){this.formatter=e},format:function(e){var t=this;t.formatter.clear();for(var r,i="",n=!1,a=0,o=(e=(e=(e=e.replace(/[^\d+]/g,"")).replace(/^\+/,"B").replace(/\+/g,"").replace("B","+")).replace(t.delimiterRE,"")).length;a<o;a++)r=t.formatter.inputDigit(e.charAt(a)),/[\s()-]/g.test(r)?(i=r,n=!0):n||(i=r);return(i=i.replace(/[()]/g,"")).replace(/[\s-]/g,t.delimiter)}},e.exports=r},function(e,t){"use strict";var r={blocks:{uatp:[4,5,6],amex:[4,6,5],diners:[4,6,4],discover:[4,4,4,4],mastercard:[4,4,4,4],dankort:[4,4,4,4],instapayment:[4,4,4,4],jcb15:[4,6,5],jcb:[4,4,4,4],maestro:[4,4,4,4],visa:[4,4,4,4],mir:[4,4,4,4],unionPay:[4,4,4,4],general:[4,4,4,4]},re:{uatp:/^(?!1800)1\d{0,14}/,amex:/^3[47]\d{0,13}/,discover:/^(?:6011|65\d{0,2}|64[4-9]\d?)\d{0,12}/,diners:/^3(?:0([0-5]|9)|[689]\d?)\d{0,11}/,mastercard:/^(5[1-5]\d{0,2}|22[2-9]\d{0,1}|2[3-7]\d{0,2})\d{0,12}/,dankort:/^(5019|4175|4571)\d{0,12}/,instapayment:/^63[7-9]\d{0,13}/,jcb15:/^(?:2131|1800)\d{0,11}/,jcb:/^(?:35\d{0,2})\d{0,12}/,maestro:/^(?:5[0678]\d{0,2}|6304|67\d{0,2})\d{0,12}/,mir:/^220[0-4]\d{0,12}/,visa:/^4\d{0,15}/,unionPay:/^(62|81)\d{0,14}/},getStrictBlocks:function(e){var t=e.reduce(function(e,t){return e+t},0);return e.concat(19-t)},getInfo:function(e,t){var a,o,i=r.blocks,n=r.re;for(a in t=!!t,n)if(n[a].test(e))return o=i[a],{type:a,blocks:t?this.getStrictBlocks(o):o};return{type:"unknown",blocks:t?this.getStrictBlocks(i.general):i.general}}};e.exports=r},function(e,t){"use strict";e.exports={noop:function(){},strip:function(e,t){return e.replace(t,"")},getPostDelimiter:function(e,t,r){if(0===r.length)return e.slice(-t.length)===t?t:"";var i="";return r.forEach(function(t){e.slice(-t.length)===t&&(i=t)}),i},getDelimiterREByDelimiter:function(e){return new RegExp(e.replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1"),"g")},getNextCursorPosition:function(e,t,r,i,n){return t.length===e?r.length:e+this.getPositionOffset(e,t,r,i,n)},getPositionOffset:function(e,t,r,i,n){t=this.stripDelimiters(t.slice(0,e),i,n),r=this.stripDelimiters(r.slice(0,e),i,n),e=t.length-r.length;return 0!=e?e/Math.abs(e):0},stripDelimiters:function(e,t,r){var i=this;return 0===r.length?(t=t?i.getDelimiterREByDelimiter(t):"",e.replace(t,"")):(r.forEach(function(t){t.split("").forEach(function(t){e=e.replace(i.getDelimiterREByDelimiter(t),"")})}),e)},headStr:function(e,t){return e.slice(0,t)},getMaxLength:function(e){return e.reduce(function(e,t){return e+t},0)},getPrefixStrippedValue:function(e,t,r,i,n,a,o,l,s){if(0===r)return e;if(e===t&&""!==e)return"";if(s&&"-"==e.slice(0,1))return c="-"==i.slice(0,1)?i.slice(1):i,"-"+this.getPrefixStrippedValue(e.slice(1),t,r,c,n,a,o,l,s);if(i.slice(0,r)!==t&&!l)return o&&!i&&e?e:"";if(i.slice(-r)!==t&&l)return o&&!i&&e?e:"";var c=this.stripDelimiters(i,n,a);return e.slice(0,r)===t||l?e.slice(-r)!==t&&l?c.slice(0,-r-1):l?e.slice(0,-r):e.slice(r):c.slice(r)},getFirstDiffIndex:function(e,t){for(var r=0;e.charAt(r)===t.charAt(r);)if(""===e.charAt(r++))return-1;return r},getFormattedValue:function(e,t,r,i,n,a){var o="",l=0<n.length,s="";return 0===r?e:(t.forEach(function(t,c){var u,d;0<e.length&&(u=e.slice(0,t),d=e.slice(t),s=l?n[a?c-1:c]||s:i,a?(0<c&&(o+=s),o+=u):(o+=u,u.length===t&&c<r-1&&(o+=s)),e=d)}),o)},fixPrefixCursor:function(e,t,r,i){var n,o;e&&(n=e.value,r=r||i[0]||" ",!e.setSelectionRange||!t||t.length+r.length<=n.length||(o=2*n.length,setTimeout(function(){e.setSelectionRange(o,o)},1)))},checkFullSelection:function(e){try{return(window.getSelection()||document.getSelection()||{}).toString().length===e.length}catch(r){}return!1},setSelection:function(e,t,r){if(e===this.getActiveElement(r)&&!(e&&e.value.length<=t))if(e.createTextRange){r=e.createTextRange();r.move("character",t),r.select()}else try{e.setSelectionRange(t,t)}catch(n){console.warn("The input element type does not support selection")}},getActiveElement:function(e){e=e.activeElement;return e&&e.shadowRoot?this.getActiveElement(e.shadowRoot):e},isAndroid:function(){return navigator&&/android/i.test(navigator.userAgent)},isAndroidBackspaceKeydown:function(e,t){return!!(this.isAndroid()&&e&&t)&&t===e.slice(0,-1)}}},function(e,t){!function(t){"use strict";e.exports={assign:function(e,r){return(e=e||{}).creditCard=!!(r=r||{}).creditCard,e.creditCardStrictMode=!!r.creditCardStrictMode,e.creditCardType="",e.onCreditCardTypeChanged=r.onCreditCardTypeChanged||function(){},e.phone=!!r.phone,e.phoneRegionCode=r.phoneRegionCode||"AU",e.phoneFormatter={},e.time=!!r.time,e.timePattern=r.timePattern||["h","m","s"],e.timeFormat=r.timeFormat||"24",e.timeFormatter={},e.date=!!r.date,e.datePattern=r.datePattern||["d","m","Y"],e.dateMin=r.dateMin||"",e.dateMax=r.dateMax||"",e.dateFormatter={},e.numeral=!!r.numeral,e.numeralIntegerScale=0<r.numeralIntegerScale?r.numeralIntegerScale:0,e.numeralDecimalScale=0<=r.numeralDecimalScale?r.numeralDecimalScale:2,e.numeralDecimalMark=r.numeralDecimalMark||".",e.numeralThousandsGroupStyle=r.numeralThousandsGroupStyle||"thousand",e.numeralPositiveOnly=!!r.numeralPositiveOnly,e.stripLeadingZeroes=!1!==r.stripLeadingZeroes,e.signBeforePrefix=!!r.signBeforePrefix,e.tailPrefix=!!r.tailPrefix,e.swapHiddenInput=!!r.swapHiddenInput,e.numericOnly=e.creditCard||e.date||!!r.numericOnly,e.uppercase=!!r.uppercase,e.lowercase=!!r.lowercase,e.prefix=!e.creditCard&&!e.date&&r.prefix||"",e.noImmediatePrefix=!!r.noImmediatePrefix,e.prefixLength=e.prefix.length,e.rawValueTrimPrefix=!!r.rawValueTrimPrefix,e.copyDelimiter=!!r.copyDelimiter,e.initValue=void 0!==r.initValue&&null!==r.initValue?r.initValue.toString():"",e.delimiter=r.delimiter||""===r.delimiter?r.delimiter:r.date?"/":r.time?":":r.numeral?",":(r.phone," "),e.delimiterLength=e.delimiter.length,e.delimiterLazyShow=!!r.delimiterLazyShow,e.delimiters=r.delimiters||[],e.blocks=r.blocks||[],e.blocksLength=e.blocks.length,e.root="object"==typeof t&&t?t:window,e.document=r.document||e.root.document,e.maxLength=0,e.backspace=!1,e.result="",e.onValueChanged=r.onValueChanged||function(){},e}}}.call(t,function(){return this}())}],r={},t.m=e,t.c=r,t.p="",t(0);function t(i){if(r[i])return r[i].exports;var n=r[i]={exports:{},id:i,loaded:!1};return e[i].call(n.exports,n,n.exports,t),n.loaded=!0,n.exports}var e,r}),function($){HappyForms.parts=HappyForms.parts||{},HappyForms.parts.multi_line_text={init:function(options){this.$form=options.form,this.type=this.$el.data("happyforms-type"),this.$input=$("textarea",this.$el),this.$counter=$(".happyforms-part__char-counter span.counter",this.$el),this.$input.on("blur",this.onBlur.bind(this)),this.$input.on("keyup",this.triggerChange.bind(this)),this.$input.on("change",this.triggerChange.bind(this)),this.$el.on("keyup",this.refreshCounter.bind(this)),this.refreshCounter(),$(".happyforms-part__char-counter").show()},getValueLength:function(){var mode=this.$input.attr("data-length-mode"),value=this.$input.val(),length=value.length;return length="word"===mode?(mode=value.match(/\w+/g))?mode.length:0:length},refreshCounter:function(){var length;parseInt(this.$input.attr("data-length"),10)<1||(length=this.getValueLength(),this.$counter.text(length))},onFocus:function(){this.$el.addClass("focus")},onBlur:function(){this.$el.removeClass("focus")},isFilled:function(){return""!==this.$input.val()},serialize:function(){return HappyForms.parts.base.serialize.apply(this,arguments)}}}(jQuery),function($){HappyForms.parts=HappyForms.parts||{},HappyForms.parts.email={init:function(){this.type=this.$el.data("happyforms-type"),this.$input=$("input",this.$el),this.$visualInput=$("input[type=email]",this.$el),this.$input.on("keyup",this.triggerChange.bind(this)),this.$input.on("change",this.triggerChange.bind(this)),this.$input.on("focus",this.onInputFocus.bind(this)),this.$visualInput.on("blur",this.onBlur.bind(this))}}}(jQuery),function($){HappyForms.parts=HappyForms.parts||{},HappyForms.parts.radio={init:function(){this.type=this.$el.data("happyforms-type"),this.$input=$("input",this.$el),this.$visualInput=$("input[type=email]",this.$el),this.$input.on("keyup",this.triggerChange.bind(this)),this.$input.on("change",this.triggerChange.bind(this)),this.$input.on("change",this.onRadioChange.bind(this)),this.$input.on("focus",this.onFocus.bind(this))},onRadioChange:function(e){var $otherRadio=$(".happyforms-part-option--other input[type=radio]",this.$el),$otherInput=$otherRadio.parent().nextAll("input"),$generalInput=$("input[type=text]",this.$el);$generalInput.prop("required",!1),$otherRadio.length&&$otherRadio.is(":checked")?($(e.target)[0]===$otherRadio[0]&&$otherInput.addClass("hf-show").trigger("focus"),""===this.$el.data("happyforms-required")&&$otherInput.prop("required",!0)):$generalInput.removeClass("hf-show")},onFocus:function(e){e=$(e.target);"text"===e.attr("type")&&e.prevAll("input[type=radio]").prop("checked",!0)},serialize:function(){var self=this;return this.$input.map(function(i,input){var input=$(input),$customInput=0;if("text"!==input.attr("type")){"text"===$(self.$input[i+1]).attr("type")&&($customInput=$(self.$input[i+1]));i={name:input.attr("name"),value:input.val()};if($customInput.length&&($customInput=$customInput.val(),i.value=[input.val(),$customInput],i.value=JSON.stringify(i.value)),input.is(":checked"))return i}}).toArray()}}}(jQuery),function($){HappyForms.parts=HappyForms.parts||{},HappyForms.parts.checkbox={init:function(){this.type=this.$el.data("happyforms-type"),this.$input=$("input",this.$el),this.$input.on("change",this.triggerChange.bind(this)),this.$input.on("change",this.onCheckboxChange.bind(this)),this.$input.on("focus",this.onFocus.bind(this))},onCheckboxChange:function(e){var $otherCheckbox=$(".happyforms-part-option--other input[type=checkbox]",this.$el),$otherInput=$otherCheckbox.parent().nextAll("input"),$generalInput=$("input[type=text]",this.$el);$generalInput.prop("required",!1),$otherCheckbox.length&&$otherCheckbox.is(":checked")?($(e.target)[0]===$otherCheckbox[0]&&$otherInput.addClass("hf-show").trigger("focus"),""===this.$el.data("happyforms-required")&&$otherInput.prop("required",!0)):$generalInput.removeClass("hf-show")},serialize:function(){var self=this;return this.$input.map(function(i,input){var input=$(input),$customInput=0;if("text"!==input.attr("type")){"text"===$(self.$input[i+1]).attr("type")&&($customInput=$(self.$input[i+1]));i={name:input.attr("name"),value:input.val()};if($customInput.length&&($customInput=$customInput.val(),i.value=[input.val(),$customInput],i.value=JSON.stringify(i.value)),input.is(":checked"))return i}}).toArray()},onFocus:function(e){e=$(e.target);"text"===e.attr("type")&&e.prevAll("input[type=checkbox]").prop("checked",!0)}}}(jQuery),function($){HappyForms.parts=HappyForms.parts||{},HappyForms.parts.select={init:function(options){this.type=this.$el.data("happyforms-type"),this.$input=$("[data-serialize]",this.$el),this.$input.on("change",this.triggerChange.bind(this)),this.$input.on("blur",this.onBlur.bind(this))},onBlur:function(){var $otherinput=$(".happyforms-part-option--other input[type=text]",this.$el);"999"===this.$input.val()?($otherinput.addClass("hf-show"),$otherinput.focus()):$otherinput.removeClass("hf-show")},serialize:function(){var self=this;return this.$input.map(function(i,select){var select=$(select,self.$el),$customInput=0,value=(999==select.val()&&($customInput=$(" .happyforms-part-option--other input[type=text]",self.$el)),select.val()),value=(null==value&&(value=""),{name:select.attr("name"),value:value});return $customInput.length&&($customInput=$customInput.val(),value.value=[select.val(),$customInput],value.value=JSON.stringify(value.value)),value}).toArray()}}}(jQuery),function($){HappyForms.parts=HappyForms.parts||{},HappyForms.parts.number={init:function(){this.type=this.$el.data("happyforms-type"),this.allowedKeys=["0","1","2","3","4","5","6","7","8","9","Meta","Delete","ArrowLeft","ArrowRight"];var self,decimalMark,delimiterMark,masked=this.$el.attr("data-mask");this.$input=$("input",this.$el),this.cleaveInstances=[],this.$input.on("keyup",this.onKeyUp.bind(this)),this.$input.on("change",this.triggerChange.bind(this)),this.$input.on("focus",this.onInputFocus.bind(this)),this.$input.on("blur",this.onBlur.bind(this)),this.numeralDecimalMark=this.$el.attr("data-decimal-mark")||"",this.delimiter=this.$el.attr("data-thousands-delimiter")||"",masked&&(decimalMark=(self=this).numeralDecimalMark,delimiterMark=this.delimiter,this.$input.each(function(){var $input=$(this),$input=new Cleave($input,{numeral:!0,numeralDecimalMark:decimalMark,delimiter:delimiterMark});self.cleaveInstances.push($input)})),this.onBlur()},onKeyUp:function(e){var value=$(e.target).val(),regex=new RegExp("[^0-9"+this.numeralDecimalMark+this.delimiter+"-]","g"),value=value.replace(regex,"");$(e.target).val(value),this.triggerChange()},reinit:function(){$.each(this.cleaveInstances,function(i,instance){var input=instance.element,rawValue=instance.getRawValue();instance.destroy(),input.value=rawValue}),this.init()}}}(jQuery),HappyForms.Antispam={getHash:function(data){var hash=[];return data.forEach(function(entry){hash.push(entry.value)}),hash=hash.join("").replace(/[^\w\d]/gm,""),hash=md5(hash)},getPlatformInfo:function(){var key,value,info={user_agent:navigator.userAgent,app_version:navigator.appVersion,language:navigator.language||navigator.userLanguage||navigator.browserLanguage||navigator.systemLanguage,languages_length:navigator.languages.length,webdriver:navigator.webdriver?1:0,concurrency:navigator.hardwareConcurrency,outer_width:window.outerWidth,outer_height:window.outerHeight,connectionRtt:navigator.connection?navigator.connection.rtt:-1},platformInfo={};for([key,value]of Object.entries(info))platformInfo[`platform_info[${key}]`]=value;return platformInfo}},function($){HappyForms.parts=HappyForms.parts||{},HappyForms.parts.base={init:function(){this.type=this.$el.data("happyforms-type"),this.$input=$("input, textarea, select",this.$el),this.$input.on("keyup change",this.triggerChange.bind(this)),this.$input.on("blur",this.onBlur.bind(this)),this.$input.on("focus",this.onInputFocus.bind(this)),this.onBlur()},getType:function(){return this.type},onInputFocus:function(){this.$el.addClass("focus")},onBlur:function(){this.$el.is(".happyforms-part--label-as_placeholder")&&(this.isFilled()?this.$el.addClass("happyforms-part--filled"):this.$el.removeClass("happyforms-part--filled")),this.$el.removeClass("focus")},triggerChange:function(data){this.$el.trigger("happyforms-change",data)},isRequired:function(){return this.$el.is(":visible")&&this.$el.is("[data-happyforms-required]")},isFilled:function(){return 0<this.$input.filter(function(){var $input=$(this);return $input.is("[type=checkbox]")||$input.is("[type=radio]")?$input.is(":checked"):""!==$input.val()}).length},confirmationMatches:function(){var matches=!1,$input=this.$input,$input=($input=this.$visualInput?this.$visualInput:$input).map(function(){return $(this).val()}).toArray();return matches=2===$input.length?$input[0]===$input[1]:matches},requiresConfirmation:function(){return this.$el.is("[data-happyforms-require-confirmation]")},serialize:function(){return this.$input.map(function(i,input){var input=$(input),keyValue={name:input.attr("name"),value:input.val()};if(!input.is("[type=checkbox]")&&!input.is("[type=radio]")||input.is(":checked"))return keyValue}).toArray()},isValid:function(){var valid=!0;this.$el.data("happyforms-type");return this.$input?(this.isRequired()&&(valid=valid&&this.isFilled()),this.isRequired()&&this.requiresConfirmation()?valid&&this.confirmationMatches():valid):valid},destroy:function(){this.$el.data("HappyFormPart",!1)}},HappyForms.wrapPart=function($part,$form){var type=$part.data("happyforms-type"),partMethods=HappyForms.parts.base;HappyForms.parts[type]&&(partMethods=$.extend({},HappyForms.parts.base,HappyForms.parts[type])),$part.happyFormPart(partMethods,{form:$form})},HappyForms.Form=function(el){this.el=el,this.$el=$(this.el),this.$form=$("form",this.$el),this.$parts=$("[data-happyforms-type]",this.$form),this.$submits=$('[type="submit"], a.submit',this.$form),this.$submit=$('[type="submit"]',this.$form),this.$submitLinks=$("a.submit",this.$form),this.$step=$('[name="happyforms_step"]',this.$form),this.init()},HappyForms.Form.prototype={init:function(){var $form=this.$form;$("[data-happyforms-type]",this.$form).each(function(){var $part=$(this);$part.data("happyforms-type");HappyForms.wrapPart($part,$form)}),this.$el.trigger("happyforms-change"),this.$el.trigger("happyforms-init"),this.$form.off("submit"),this.$submit.off("click"),this.$submitLinks.off("click"),this.$form.on("submit",this.submit.bind(this)),this.$submit.on("click",this.buttonSubmit.bind(this)),this.$submitLinks.on("click",this.linkSubmit.bind(this)),this.$el.on("happyforms-scrolltop",this.onScrollTop.bind(this))},detach:function(){this.$el.off("happyforms-change"),this.$el.off("happyforms-scrolltop"),$("[data-happyforms-type]",this.$form).remove()},serialize:function(submitEl){for(var action=$("[name=action]",this.$form).val(),form_id=$("[name=happyforms_form_id]",this.$form).val(),formData=($("[name=_wp_http_referer]",this.$form).val(),[{name:"action",value:action},{name:"happyforms_form_id",value:form_id},{name:"happyforms_step",value:this.$step.val()},{name:"happyforms_random_seed",value:$("[name=happyforms_random_seed]",this.$form).val()}]),honeypotNames=["single_line_text","multi_line_text","number"],h=0;h<honeypotNames.length;h++){var inputName=form_id+"-"+honeypotNames[h],$input=$("[name="+inputName+"]");if($input.length){formData.push({name:inputName,value:$input.val()});break}}var key,value,action=$("[data-happyforms-type]",this.$form).map(function(i,part){return $(part).happyFormPart("serialize")}).toArray().filter(function(entry){return null!==entry.name&&void 0!==entry.name}),action=formData.concat(action),params=new URLSearchParams,action=(action.forEach(function(entry){params.append(entry.name,entry.value)}),HappyForms.Antispam.getHash(action)),action=(params.append("hash",action),HappyForms.Antispam.getPlatformInfo());for([key,value]of Object.entries(action))params.append(key,value);return params=params.toString()},buttonSubmit:function(e){e.target.hasAttribute("data-step")&&this.$step.val(e.target.getAttribute("data-step"))},linkSubmit:function(e){e.preventDefault(),e.stopImmediatePropagation(),e.target.hasAttribute("data-step")&&this.$step.val(e.target.getAttribute("data-step")),this.$form.trigger("submit")},submit:function(e){e.preventDefault(),this.$form.addClass("happyforms-form--submitting"),this.$submits.attr("disabled","disabled"),$.ajax({type:"post",data:this.serialize(e.target)}).done(this.onSubmitComplete.bind(this))},onSubmitComplete:function(response){if(this.$form.trigger("happyforms.submitted",response),!response.data)return!1;var elTopOffset,$notices;response.data.html&&(response=$(response.data.html),$("[data-happyforms-type]",this.$form).each(function(){$(this).trigger("happyforms.detach")}),this.detach(),this.$el.replaceWith(response),this.$el=response,this.$el.happyForm(),(response=$("form",this.$el)).attr("data-happyforms-scroll-disabled")||(this.$el.get(0).getBoundingClientRect().top<0&&(elTopOffset=this.$el.offset().top,$notices=$(".happyforms-message-notices",this.$el),response.is(".happyforms-form--notices-below")&&$notices.length&&(elTopOffset=$notices.offset().top),($notices=response.attr("data-happyforms-scroll-offset"))&&(elTopOffset+=$notices=parseInt($notices,10)),this.$el.trigger("happyforms-scrolltop",elTopOffset)),!$(".happyforms-message-notice.error",response).length&&this.$el.hasClass("happyforms-form--hide-on-submit")&&$(".happyforms-part",response).hide()))},onScrollTop:function(e,offset){e.isDefaultPrevented()||$("html, body").animate({scrollTop:offset+"px"},500)}},HappyForms.Part=function(el){this.el=el,this.$el=$(this.el)},$.fn.happyFormPart=function(method){if("object"==typeof method){var part=new HappyForms.Part(this);$.extend(part,method),$(this).data("HappyFormPart",part),part.init.apply(part,Array.prototype.slice.call(arguments,1))}else{part=$(this).data("HappyFormPart");if(part&&part[method])return part[method].apply(part,Array.prototype.slice.call(arguments,1))}},$.fn.happyForm=function(method){this.each(function(){if(method){var instance=$.data(this,"HappyForm");if(instance&&instance[method])return instance[method].apply(instance,Array.prototype.slice.call(arguments,1))}else $.data(this,"HappyForm",new HappyForms.Form(this,arguments))})},$(function(){$(".happyforms-form").happyForm()})}(jQuery);
|
1 |
+
!function(n){"use strict";function d(n,t){var r=(65535&n)+(65535&t);return(n>>16)+(t>>16)+(r>>16)<<16|65535&r}function f(n,t,r,e,o,u){return d((u=d(d(t,n),d(e,u)))<<o|u>>>32-o,r)}function l(n,t,r,e,o,u,c){return f(t&r|~t&e,n,t,o,u,c)}function g(n,t,r,e,o,u,c){return f(t&e|r&~e,n,t,o,u,c)}function v(n,t,r,e,o,u,c){return f(t^r^e,n,t,o,u,c)}function m(n,t,r,e,o,u,c){return f(r^(t|~e),n,t,o,u,c)}function c(n,t){var r,e,o,u;n[t>>5]|=128<<t%32,n[14+(t+64>>>9<<4)]=t;for(var c=1732584193,f=-271733879,i=-1732584194,a=271733878,h=0;h<n.length;h+=16)c=l(r=c,e=f,o=i,u=a,n[h],7,-680876936),a=l(a,c,f,i,n[h+1],12,-389564586),i=l(i,a,c,f,n[h+2],17,606105819),f=l(f,i,a,c,n[h+3],22,-1044525330),c=l(c,f,i,a,n[h+4],7,-176418897),a=l(a,c,f,i,n[h+5],12,1200080426),i=l(i,a,c,f,n[h+6],17,-1473231341),f=l(f,i,a,c,n[h+7],22,-45705983),c=l(c,f,i,a,n[h+8],7,1770035416),a=l(a,c,f,i,n[h+9],12,-1958414417),i=l(i,a,c,f,n[h+10],17,-42063),f=l(f,i,a,c,n[h+11],22,-1990404162),c=l(c,f,i,a,n[h+12],7,1804603682),a=l(a,c,f,i,n[h+13],12,-40341101),i=l(i,a,c,f,n[h+14],17,-1502002290),c=g(c,f=l(f,i,a,c,n[h+15],22,1236535329),i,a,n[h+1],5,-165796510),a=g(a,c,f,i,n[h+6],9,-1069501632),i=g(i,a,c,f,n[h+11],14,643717713),f=g(f,i,a,c,n[h],20,-373897302),c=g(c,f,i,a,n[h+5],5,-701558691),a=g(a,c,f,i,n[h+10],9,38016083),i=g(i,a,c,f,n[h+15],14,-660478335),f=g(f,i,a,c,n[h+4],20,-405537848),c=g(c,f,i,a,n[h+9],5,568446438),a=g(a,c,f,i,n[h+14],9,-1019803690),i=g(i,a,c,f,n[h+3],14,-187363961),f=g(f,i,a,c,n[h+8],20,1163531501),c=g(c,f,i,a,n[h+13],5,-1444681467),a=g(a,c,f,i,n[h+2],9,-51403784),i=g(i,a,c,f,n[h+7],14,1735328473),c=v(c,f=g(f,i,a,c,n[h+12],20,-1926607734),i,a,n[h+5],4,-378558),a=v(a,c,f,i,n[h+8],11,-2022574463),i=v(i,a,c,f,n[h+11],16,1839030562),f=v(f,i,a,c,n[h+14],23,-35309556),c=v(c,f,i,a,n[h+1],4,-1530992060),a=v(a,c,f,i,n[h+4],11,1272893353),i=v(i,a,c,f,n[h+7],16,-155497632),f=v(f,i,a,c,n[h+10],23,-1094730640),c=v(c,f,i,a,n[h+13],4,681279174),a=v(a,c,f,i,n[h],11,-358537222),i=v(i,a,c,f,n[h+3],16,-722521979),f=v(f,i,a,c,n[h+6],23,76029189),c=v(c,f,i,a,n[h+9],4,-640364487),a=v(a,c,f,i,n[h+12],11,-421815835),i=v(i,a,c,f,n[h+15],16,530742520),c=m(c,f=v(f,i,a,c,n[h+2],23,-995338651),i,a,n[h],6,-198630844),a=m(a,c,f,i,n[h+7],10,1126891415),i=m(i,a,c,f,n[h+14],15,-1416354905),f=m(f,i,a,c,n[h+5],21,-57434055),c=m(c,f,i,a,n[h+12],6,1700485571),a=m(a,c,f,i,n[h+3],10,-1894986606),i=m(i,a,c,f,n[h+10],15,-1051523),f=m(f,i,a,c,n[h+1],21,-2054922799),c=m(c,f,i,a,n[h+8],6,1873313359),a=m(a,c,f,i,n[h+15],10,-30611744),i=m(i,a,c,f,n[h+6],15,-1560198380),f=m(f,i,a,c,n[h+13],21,1309151649),c=m(c,f,i,a,n[h+4],6,-145523070),a=m(a,c,f,i,n[h+11],10,-1120210379),i=m(i,a,c,f,n[h+2],15,718787259),f=m(f,i,a,c,n[h+9],21,-343485551),c=d(c,r),f=d(f,e),i=d(i,o),a=d(a,u);return[c,f,i,a]}function i(n){for(var t="",r=32*n.length,e=0;e<r;e+=8)t+=String.fromCharCode(n[e>>5]>>>e%32&255);return t}function a(n){var t=[];for(t[(n.length>>2)-1]=void 0,e=0;e<t.length;e+=1)t[e]=0;for(var r=8*n.length,e=0;e<r;e+=8)t[e>>5]|=(255&n.charCodeAt(e/8))<<e%32;return t}function e(n){for(var t,r="0123456789abcdef",e="",o=0;o<n.length;o+=1)t=n.charCodeAt(o),e+=r.charAt(t>>>4&15)+r.charAt(15&t);return e}function r(n){return unescape(encodeURIComponent(n))}function o(n){return i(c(a(n=r(n)),8*n.length))}function u(n,t){return function(n,t){var r,e=a(n),o=[],u=[];for(o[15]=u[15]=void 0,16<e.length&&(e=c(e,8*n.length)),r=0;r<16;r+=1)o[r]=909522486^e[r],u[r]=1549556828^e[r];return t=c(o.concat(a(t)),512+8*t.length),i(c(u.concat(t),640))}(r(n),r(t))}function t(n,t,r){return t?r?u(t,n):e(u(t,n)):r?o(n):e(o(n))}"function"==typeof define&&define.amd?define(function(){return t}):"object"==typeof module&&module.exports?module.exports=t:n.md5=t}(this),function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.Cleave=t():e.Cleave=t()}(this,function(){return e=[function(e,t,r){!function(t){"use strict";function i(e,t){var r=this,n=!1;if("string"==typeof e?(r.element=document.querySelector(e),n=1<document.querySelectorAll(e).length):void 0!==e.length&&0<e.length?(r.element=e[0],n=1<e.length):r.element=e,!r.element)throw new Error("[cleave.js] Please check the element");if(n)try{console.warn("[cleave.js] Multiple input fields matched, cleave.js will only take the first one.")}catch(a){}t.initValue=r.element.value,r.properties=i.DefaultProperties.assign({},t),r.init()}i.prototype={init:function(){var e=this,t=e.properties;return t.numeral||t.phone||t.creditCard||t.time||t.date||0!==t.blocksLength||t.prefix?(t.maxLength=i.Util.getMaxLength(t.blocks),e.isAndroid=i.Util.isAndroid(),e.lastInputValue="",e.isBackward="",e.onChangeListener=e.onChange.bind(e),e.onKeyDownListener=e.onKeyDown.bind(e),e.onFocusListener=e.onFocus.bind(e),e.onCutListener=e.onCut.bind(e),e.onCopyListener=e.onCopy.bind(e),e.initSwapHiddenInput(),e.element.addEventListener("input",e.onChangeListener),e.element.addEventListener("keydown",e.onKeyDownListener),e.element.addEventListener("focus",e.onFocusListener),e.element.addEventListener("cut",e.onCutListener),e.element.addEventListener("copy",e.onCopyListener),e.initPhoneFormatter(),e.initDateFormatter(),e.initTimeFormatter(),e.initNumeralFormatter(),void((t.initValue||t.prefix&&!t.noImmediatePrefix)&&e.onInput(t.initValue))):void e.onInput(t.initValue)},initSwapHiddenInput:function(){var r,e=this;e.properties.swapHiddenInput&&(r=e.element.cloneNode(!0),e.element.parentNode.insertBefore(r,e.element),e.elementSwapHidden=e.element,e.elementSwapHidden.type="hidden",e.element=r,e.element.id="")},initNumeralFormatter:function(){var t=this.properties;t.numeral&&(t.numeralFormatter=new i.NumeralFormatter(t.numeralDecimalMark,t.numeralIntegerScale,t.numeralDecimalScale,t.numeralThousandsGroupStyle,t.numeralPositiveOnly,t.stripLeadingZeroes,t.prefix,t.signBeforePrefix,t.tailPrefix,t.delimiter))},initTimeFormatter:function(){var t=this.properties;t.time&&(t.timeFormatter=new i.TimeFormatter(t.timePattern,t.timeFormat),t.blocks=t.timeFormatter.getBlocks(),t.blocksLength=t.blocks.length,t.maxLength=i.Util.getMaxLength(t.blocks))},initDateFormatter:function(){var t=this.properties;t.date&&(t.dateFormatter=new i.DateFormatter(t.datePattern,t.dateMin,t.dateMax),t.blocks=t.dateFormatter.getBlocks(),t.blocksLength=t.blocks.length,t.maxLength=i.Util.getMaxLength(t.blocks))},initPhoneFormatter:function(){var t=this.properties;if(t.phone)try{t.phoneFormatter=new i.PhoneFormatter(new t.root.Cleave.AsYouTypeFormatter(t.phoneRegionCode),t.delimiter)}catch(r){throw new Error("[cleave.js] Please include phone-type-formatter.{country}.js lib")}},onKeyDown:function(e){var t=this,e=e.which||e.keyCode;t.lastInputValue=t.element.value,t.isBackward=8===e},onChange:function(e){var t=this,r=t.properties,n=i.Util,e=(t.isBackward=t.isBackward||"deleteContentBackward"===e.inputType,n.getPostDelimiter(t.lastInputValue,r.delimiter,r.delimiters));t.isBackward&&e?r.postDelimiterBackspace=e:r.postDelimiterBackspace=!1,this.onInput(this.element.value)},onFocus:function(){var e=this,t=e.properties;e.lastInputValue=e.element.value,t.prefix&&t.noImmediatePrefix&&!e.element.value&&this.onInput(t.prefix),i.Util.fixPrefixCursor(e.element,t.prefix,t.delimiter,t.delimiters)},onCut:function(e){i.Util.checkFullSelection(this.element.value)&&(this.copyClipboardData(e),this.onInput(""))},onCopy:function(e){i.Util.checkFullSelection(this.element.value)&&this.copyClipboardData(e)},copyClipboardData:function(e){var r=this.properties,n=i.Util,a=this.element.value,n=r.copyDelimiter?a:n.stripDelimiters(a,r.delimiter,r.delimiters);try{(e.clipboardData?e:window).clipboardData.setData("Text",n),e.preventDefault()}catch(l){}},onInput:function(e){var t=this,r=t.properties,n=i.Util,a=n.getPostDelimiter(e,r.delimiter,r.delimiters);r.numeral||!r.postDelimiterBackspace||a||(e=n.headStr(e,e.length-r.postDelimiterBackspace.length)),r.phone?!r.prefix||r.noImmediatePrefix&&!e.length?r.result=r.phoneFormatter.format(e):r.result=r.prefix+r.phoneFormatter.format(e).slice(r.prefix.length):r.numeral?r.prefix&&r.noImmediatePrefix&&0===e.length?r.result="":r.result=r.numeralFormatter.format(e):(r.date&&(e=r.dateFormatter.getValidatedDate(e)),r.time&&(e=r.timeFormatter.getValidatedTime(e)),e=n.stripDelimiters(e,r.delimiter,r.delimiters),e=n.getPrefixStrippedValue(e,r.prefix,r.prefixLength,r.result,r.delimiter,r.delimiters,r.noImmediatePrefix,r.tailPrefix,r.signBeforePrefix),e=r.numericOnly?n.strip(e,/[^\d]/g):e,e=r.uppercase?e.toUpperCase():e,e=r.lowercase?e.toLowerCase():e,r.prefix&&(r.tailPrefix?e+=r.prefix:e=r.prefix+e,0===r.blocksLength)?r.result=e:(r.creditCard&&t.updateCreditCardPropsByValue(e),e=n.headStr(e,r.maxLength),r.result=n.getFormattedValue(e,r.blocks,r.blocksLength,r.delimiter,r.delimiters,r.delimiterLazyShow))),t.updateValueState()},updateCreditCardPropsByValue:function(e){var n=this.properties,a=i.Util;a.headStr(n.result,4)!==a.headStr(e,4)&&(e=i.CreditCardDetector.getInfo(e,n.creditCardStrictMode),n.blocks=e.blocks,n.blocksLength=n.blocks.length,n.maxLength=a.getMaxLength(n.blocks),n.creditCardType!==e.type&&(n.creditCardType=e.type,n.onCreditCardTypeChanged.call(this,n.creditCardType)))},updateValueState:function(){var n,a,o,e=this,t=i.Util,r=e.properties;e.element&&(n=e.element.selectionEnd,a=e.element.value,o=r.result,n=t.getNextCursorPosition(n,a,o,r.delimiter,r.delimiters),e.isAndroid?window.setTimeout(function(){e.element.value=o,t.setSelection(e.element,n,r.document,!1),e.callOnValueChanged()},1):(e.element.value=o,r.swapHiddenInput&&(e.elementSwapHidden.value=e.getRawValue()),t.setSelection(e.element,n,r.document,!1),e.callOnValueChanged()))},callOnValueChanged:function(){var e=this,t=e.properties;t.onValueChanged.call(e,{target:{name:e.element.name,value:t.result,rawValue:e.getRawValue()}})},setPhoneRegionCode:function(e){var t=this;t.properties.phoneRegionCode=e,t.initPhoneFormatter(),t.onChange()},setRawValue:function(e){var t=this,r=t.properties;e=null!=e?e.toString():"",r.numeral&&(e=e.replace(".",r.numeralDecimalMark)),r.postDelimiterBackspace=!1,t.element.value=e,t.onInput(e)},getRawValue:function(){var t=this.properties,r=i.Util,n=this.element.value;return t.rawValueTrimPrefix&&(n=r.getPrefixStrippedValue(n,t.prefix,t.prefixLength,t.result,t.delimiter,t.delimiters,t.noImmediatePrefix,t.tailPrefix,t.signBeforePrefix)),t.numeral?t.numeralFormatter.getRawValue(n):r.stripDelimiters(n,t.delimiter,t.delimiters)},getISOFormatDate:function(){var t=this.properties;return t.date?t.dateFormatter.getISOFormatDate():""},getISOFormatTime:function(){var t=this.properties;return t.time?t.timeFormatter.getISOFormatTime():""},getFormattedValue:function(){return this.element.value},destroy:function(){var e=this;e.element.removeEventListener("input",e.onChangeListener),e.element.removeEventListener("keydown",e.onKeyDownListener),e.element.removeEventListener("focus",e.onFocusListener),e.element.removeEventListener("cut",e.onCutListener),e.element.removeEventListener("copy",e.onCopyListener)},toString:function(){return"[Cleave Object]"}},i.NumeralFormatter=r(1),i.DateFormatter=r(2),i.TimeFormatter=r(3),i.PhoneFormatter=r(4),i.CreditCardDetector=r(5),i.Util=r(6),i.DefaultProperties=r(7),("object"==typeof t&&t?t:window).Cleave=i,e.exports=i}.call(t,function(){return this}())},function(e,t){"use strict";function r(e,t,i,n,a,o,l,s,c,u){var d=this;d.numeralDecimalMark=e||".",d.numeralIntegerScale=0<t?t:0,d.numeralDecimalScale=0<=i?i:2,d.numeralThousandsGroupStyle=n||r.groupStyle.thousand,d.numeralPositiveOnly=!!a,d.stripLeadingZeroes=!1!==o,d.prefix=l||""===l?l:"",d.signBeforePrefix=!!s,d.tailPrefix=!!c,d.delimiter=u||""===u?u:",",d.delimiterRE=u?new RegExp("\\"+u,"g"):""}r.groupStyle={thousand:"thousand",lakh:"lakh",wan:"wan",none:"none"},r.prototype={getRawValue:function(e){return e.replace(this.delimiterRE,"").replace(this.numeralDecimalMark,".")},format:function(e){var i,n,a,o=this,l="";switch(e=e.replace(/[A-Za-z]/g,"").replace(o.numeralDecimalMark,"M").replace(/[^\dM-]/g,"").replace(/^\-/,"N").replace(/\-/g,"").replace("N",o.numeralPositiveOnly?"":"-").replace("M",o.numeralDecimalMark),i="-"===(e=o.stripLeadingZeroes?e.replace(/^(-)?0+(?=\d)/,"$1"):e).slice(0,1)?"-":"",n=void 0!==o.prefix?o.signBeforePrefix?i+o.prefix:o.prefix+i:i,0<=(a=e).indexOf(o.numeralDecimalMark)&&(a=(e=e.split(o.numeralDecimalMark))[0],l=o.numeralDecimalMark+e[1].slice(0,o.numeralDecimalScale)),"-"==i&&(a=a.slice(1)),0<o.numeralIntegerScale&&(a=a.slice(0,o.numeralIntegerScale)),o.numeralThousandsGroupStyle){case r.groupStyle.lakh:a=a.replace(/(\d)(?=(\d\d)+\d$)/g,"$1"+o.delimiter);break;case r.groupStyle.wan:a=a.replace(/(\d)(?=(\d{4})+$)/g,"$1"+o.delimiter);break;case r.groupStyle.thousand:a=a.replace(/(\d)(?=(\d{3})+$)/g,"$1"+o.delimiter)}return o.tailPrefix?i+a.toString()+(0<o.numeralDecimalScale?l.toString():"")+o.prefix:n+a.toString()+(0<o.numeralDecimalScale?l.toString():"")}},e.exports=r},function(e,t){"use strict";function r(e,t,r){var i=this;i.date=[],i.blocks=[],i.datePattern=e,i.dateMin=t.split("-").reverse().map(function(e){return parseInt(e,10)}),2===i.dateMin.length&&i.dateMin.unshift(0),i.dateMax=r.split("-").reverse().map(function(e){return parseInt(e,10)}),2===i.dateMax.length&&i.dateMax.unshift(0),i.initBlocks()}r.prototype={initBlocks:function(){var e=this;e.datePattern.forEach(function(t){"Y"===t?e.blocks.push(4):e.blocks.push(2)})},getISOFormatDate:function(){var e=this,t=e.date;return t[2]?t[2]+"-"+e.addLeadingZero(t[1])+"-"+e.addLeadingZero(t[0]):""},getBlocks:function(){return this.blocks},getValidatedDate:function(e){var t=this,r="";return e=e.replace(/[^\d]/g,""),t.blocks.forEach(function(i,n){if(0<e.length){var a=e.slice(0,i),o=a.slice(0,1),i=e.slice(i);switch(t.datePattern[n]){case"d":"00"===a?a="01":3<parseInt(o,10)?a="0"+o:31<parseInt(a,10)&&(a="31");break;case"m":"00"===a?a="01":1<parseInt(o,10)?a="0"+o:12<parseInt(a,10)&&(a="12")}r+=a,e=i}}),this.getFixedDateString(r)},getFixedDateString:function(e){var t,r,i,n=this,a=n.datePattern,o=[],l=0,s=0,c=0,u=0,d=0,m=0,p=!1;return 4===e.length&&"y"!==a[0].toLowerCase()&&"y"!==a[1].toLowerCase()&&(d=2-(u="d"===a[0]?0:2),t=parseInt(e.slice(u,u+2),10),r=parseInt(e.slice(d,d+2),10),o=this.getFixedDate(t,r,0)),8===e.length&&(a.forEach(function(e,t){switch(e){case"d":l=t;break;case"m":s=t;break;default:c=t}}),m=2*c,u=l<=c?2*l:2*l+2,d=s<=c?2*s:2*s+2,t=parseInt(e.slice(u,u+2),10),r=parseInt(e.slice(d,d+2),10),i=parseInt(e.slice(m,m+4),10),p=4===e.slice(m,m+4).length,o=this.getFixedDate(t,r,i)),4!==e.length||"y"!==a[0]&&"y"!==a[1]||(m=2-(d="m"===a[0]?0:2),r=parseInt(e.slice(d,d+2),10),i=parseInt(e.slice(m,m+2),10),p=2===e.slice(m,m+2).length,o=[0,r,i]),6!==e.length||"Y"!==a[0]&&"Y"!==a[1]||(m=2-.5*(d="m"===a[0]?0:4),r=parseInt(e.slice(d,d+2),10),i=parseInt(e.slice(m,m+4),10),p=4===e.slice(m,m+4).length,o=[0,r,i]),o=n.getRangeFixedDate(o),0===(n.date=o).length?e:a.reduce(function(e,t){switch(t){case"d":return e+(0===o[0]?"":n.addLeadingZero(o[0]));case"m":return e+(0===o[1]?"":n.addLeadingZero(o[1]));case"y":return e+(p?n.addLeadingZeroForYear(o[2],!1):"");case"Y":return e+(p?n.addLeadingZeroForYear(o[2],!0):"")}},"")},getRangeFixedDate:function(e){var t=this,r=t.datePattern,i=t.dateMin||[],t=t.dateMax||[];return!e.length||i.length<3&&t.length<3||r.find(function(e){return"y"===e.toLowerCase()})&&0===e[2]?e:t.length&&(t[2]<e[2]||t[2]===e[2]&&(t[1]<e[1]||t[1]===e[1]&&t[0]<e[0]))?t:i.length&&(i[2]>e[2]||i[2]===e[2]&&(i[1]>e[1]||i[1]===e[1]&&i[0]>e[0]))?i:e},getFixedDate:function(e,t,r){return e=Math.min(e,31),t=Math.min(t,12),r=parseInt(r||0,10),[e=t<7&&t%2==0||8<t&&t%2==1?Math.min(e,2===t?this.isLeapYear(r)?29:28:30):e,t,r]},isLeapYear:function(e){return e%4==0&&e%100!=0||e%400==0},addLeadingZero:function(e){return(e<10?"0":"")+e},addLeadingZeroForYear:function(e,t){return t?(e<10?"000":e<100?"00":e<1e3?"0":"")+e:(e<10?"0":"")+e}},e.exports=r},function(e,t){"use strict";function r(e,t){var r=this;r.time=[],r.blocks=[],r.timePattern=e,r.timeFormat=t,r.initBlocks()}r.prototype={initBlocks:function(){var e=this;e.timePattern.forEach(function(){e.blocks.push(2)})},getISOFormatTime:function(){var e=this,t=e.time;return t[2]?e.addLeadingZero(t[0])+":"+e.addLeadingZero(t[1])+":"+e.addLeadingZero(t[2]):""},getBlocks:function(){return this.blocks},getTimeFormatOptions:function(){return"12"===String(this.timeFormat)?{maxHourFirstDigit:1,maxHours:12,maxMinutesFirstDigit:5,maxMinutes:60}:{maxHourFirstDigit:2,maxHours:23,maxMinutesFirstDigit:5,maxMinutes:60}},getValidatedTime:function(e){var t=this,r="",i=(e=e.replace(/[^\d]/g,""),t.getTimeFormatOptions());return t.blocks.forEach(function(n,a){if(0<e.length){var o=e.slice(0,n),l=o.slice(0,1),n=e.slice(n);switch(t.timePattern[a]){case"h":parseInt(l,10)>i.maxHourFirstDigit?o="0"+l:parseInt(o,10)>i.maxHours&&(o=i.maxHours+"");break;case"m":case"s":parseInt(l,10)>i.maxMinutesFirstDigit?o="0"+l:parseInt(o,10)>i.maxMinutes&&(o=i.maxMinutes+"")}r+=o,e=n}}),this.getFixedTimeString(r)},getFixedTimeString:function(e){var r,i,u,n=this,a=n.timePattern,o=[],l=0,s=0,c=0,d=0,m=0;return 6===e.length&&(a.forEach(function(e,t){switch(e){case"s":l=2*t;break;case"m":s=2*t;break;case"h":c=2*t}}),m=c,d=s,u=l,u=parseInt(e.slice(u,u+2),10),r=parseInt(e.slice(d,d+2),10),i=parseInt(e.slice(m,m+2),10),o=this.getFixedTime(i,r,u)),4===e.length&&n.timePattern.indexOf("s")<0&&(a.forEach(function(e,t){switch(e){case"m":s=2*t;break;case"h":c=2*t}}),m=c,d=s,u=0,r=parseInt(e.slice(d,d+2),10),i=parseInt(e.slice(m,m+2),10),o=this.getFixedTime(i,r,u)),0===(n.time=o).length?e:a.reduce(function(e,t){switch(t){case"s":return e+n.addLeadingZero(o[2]);case"m":return e+n.addLeadingZero(o[1]);case"h":return e+n.addLeadingZero(o[0])}},"")},getFixedTime:function(e,t,r){return r=Math.min(parseInt(r||0,10),60),t=Math.min(t,60),[e=Math.min(e,60),t,r]},addLeadingZero:function(e){return(e<10?"0":"")+e}},e.exports=r},function(e,t){"use strict";function r(e,t){var r=this;r.delimiter=t||""===t?t:" ",r.delimiterRE=t?new RegExp("\\"+t,"g"):"",r.formatter=e}r.prototype={setFormatter:function(e){this.formatter=e},format:function(e){var t=this;t.formatter.clear();for(var r,i="",n=!1,a=0,o=(e=(e=(e=e.replace(/[^\d+]/g,"")).replace(/^\+/,"B").replace(/\+/g,"").replace("B","+")).replace(t.delimiterRE,"")).length;a<o;a++)r=t.formatter.inputDigit(e.charAt(a)),/[\s()-]/g.test(r)?(i=r,n=!0):n||(i=r);return(i=i.replace(/[()]/g,"")).replace(/[\s-]/g,t.delimiter)}},e.exports=r},function(e,t){"use strict";var r={blocks:{uatp:[4,5,6],amex:[4,6,5],diners:[4,6,4],discover:[4,4,4,4],mastercard:[4,4,4,4],dankort:[4,4,4,4],instapayment:[4,4,4,4],jcb15:[4,6,5],jcb:[4,4,4,4],maestro:[4,4,4,4],visa:[4,4,4,4],mir:[4,4,4,4],unionPay:[4,4,4,4],general:[4,4,4,4]},re:{uatp:/^(?!1800)1\d{0,14}/,amex:/^3[47]\d{0,13}/,discover:/^(?:6011|65\d{0,2}|64[4-9]\d?)\d{0,12}/,diners:/^3(?:0([0-5]|9)|[689]\d?)\d{0,11}/,mastercard:/^(5[1-5]\d{0,2}|22[2-9]\d{0,1}|2[3-7]\d{0,2})\d{0,12}/,dankort:/^(5019|4175|4571)\d{0,12}/,instapayment:/^63[7-9]\d{0,13}/,jcb15:/^(?:2131|1800)\d{0,11}/,jcb:/^(?:35\d{0,2})\d{0,12}/,maestro:/^(?:5[0678]\d{0,2}|6304|67\d{0,2})\d{0,12}/,mir:/^220[0-4]\d{0,12}/,visa:/^4\d{0,15}/,unionPay:/^(62|81)\d{0,14}/},getStrictBlocks:function(e){var t=e.reduce(function(e,t){return e+t},0);return e.concat(19-t)},getInfo:function(e,t){var a,o,i=r.blocks,n=r.re;for(a in t=!!t,n)if(n[a].test(e))return o=i[a],{type:a,blocks:t?this.getStrictBlocks(o):o};return{type:"unknown",blocks:t?this.getStrictBlocks(i.general):i.general}}};e.exports=r},function(e,t){"use strict";e.exports={noop:function(){},strip:function(e,t){return e.replace(t,"")},getPostDelimiter:function(e,t,r){if(0===r.length)return e.slice(-t.length)===t?t:"";var i="";return r.forEach(function(t){e.slice(-t.length)===t&&(i=t)}),i},getDelimiterREByDelimiter:function(e){return new RegExp(e.replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1"),"g")},getNextCursorPosition:function(e,t,r,i,n){return t.length===e?r.length:e+this.getPositionOffset(e,t,r,i,n)},getPositionOffset:function(e,t,r,i,n){t=this.stripDelimiters(t.slice(0,e),i,n),r=this.stripDelimiters(r.slice(0,e),i,n),e=t.length-r.length;return 0!=e?e/Math.abs(e):0},stripDelimiters:function(e,t,r){var i=this;return 0===r.length?(t=t?i.getDelimiterREByDelimiter(t):"",e.replace(t,"")):(r.forEach(function(t){t.split("").forEach(function(t){e=e.replace(i.getDelimiterREByDelimiter(t),"")})}),e)},headStr:function(e,t){return e.slice(0,t)},getMaxLength:function(e){return e.reduce(function(e,t){return e+t},0)},getPrefixStrippedValue:function(e,t,r,i,n,a,o,l,s){if(0===r)return e;if(e===t&&""!==e)return"";if(s&&"-"==e.slice(0,1))return c="-"==i.slice(0,1)?i.slice(1):i,"-"+this.getPrefixStrippedValue(e.slice(1),t,r,c,n,a,o,l,s);if(i.slice(0,r)!==t&&!l)return o&&!i&&e?e:"";if(i.slice(-r)!==t&&l)return o&&!i&&e?e:"";var c=this.stripDelimiters(i,n,a);return e.slice(0,r)===t||l?e.slice(-r)!==t&&l?c.slice(0,-r-1):l?e.slice(0,-r):e.slice(r):c.slice(r)},getFirstDiffIndex:function(e,t){for(var r=0;e.charAt(r)===t.charAt(r);)if(""===e.charAt(r++))return-1;return r},getFormattedValue:function(e,t,r,i,n,a){var o="",l=0<n.length,s="";return 0===r?e:(t.forEach(function(t,c){var u,d;0<e.length&&(u=e.slice(0,t),d=e.slice(t),s=l?n[a?c-1:c]||s:i,a?(0<c&&(o+=s),o+=u):(o+=u,u.length===t&&c<r-1&&(o+=s)),e=d)}),o)},fixPrefixCursor:function(e,t,r,i){var n,o;e&&(n=e.value,r=r||i[0]||" ",!e.setSelectionRange||!t||t.length+r.length<=n.length||(o=2*n.length,setTimeout(function(){e.setSelectionRange(o,o)},1)))},checkFullSelection:function(e){try{return(window.getSelection()||document.getSelection()||{}).toString().length===e.length}catch(r){}return!1},setSelection:function(e,t,r){if(e===this.getActiveElement(r)&&!(e&&e.value.length<=t))if(e.createTextRange){r=e.createTextRange();r.move("character",t),r.select()}else try{e.setSelectionRange(t,t)}catch(n){console.warn("The input element type does not support selection")}},getActiveElement:function(e){e=e.activeElement;return e&&e.shadowRoot?this.getActiveElement(e.shadowRoot):e},isAndroid:function(){return navigator&&/android/i.test(navigator.userAgent)},isAndroidBackspaceKeydown:function(e,t){return!!(this.isAndroid()&&e&&t)&&t===e.slice(0,-1)}}},function(e,t){!function(t){"use strict";e.exports={assign:function(e,r){return(e=e||{}).creditCard=!!(r=r||{}).creditCard,e.creditCardStrictMode=!!r.creditCardStrictMode,e.creditCardType="",e.onCreditCardTypeChanged=r.onCreditCardTypeChanged||function(){},e.phone=!!r.phone,e.phoneRegionCode=r.phoneRegionCode||"AU",e.phoneFormatter={},e.time=!!r.time,e.timePattern=r.timePattern||["h","m","s"],e.timeFormat=r.timeFormat||"24",e.timeFormatter={},e.date=!!r.date,e.datePattern=r.datePattern||["d","m","Y"],e.dateMin=r.dateMin||"",e.dateMax=r.dateMax||"",e.dateFormatter={},e.numeral=!!r.numeral,e.numeralIntegerScale=0<r.numeralIntegerScale?r.numeralIntegerScale:0,e.numeralDecimalScale=0<=r.numeralDecimalScale?r.numeralDecimalScale:2,e.numeralDecimalMark=r.numeralDecimalMark||".",e.numeralThousandsGroupStyle=r.numeralThousandsGroupStyle||"thousand",e.numeralPositiveOnly=!!r.numeralPositiveOnly,e.stripLeadingZeroes=!1!==r.stripLeadingZeroes,e.signBeforePrefix=!!r.signBeforePrefix,e.tailPrefix=!!r.tailPrefix,e.swapHiddenInput=!!r.swapHiddenInput,e.numericOnly=e.creditCard||e.date||!!r.numericOnly,e.uppercase=!!r.uppercase,e.lowercase=!!r.lowercase,e.prefix=!e.creditCard&&!e.date&&r.prefix||"",e.noImmediatePrefix=!!r.noImmediatePrefix,e.prefixLength=e.prefix.length,e.rawValueTrimPrefix=!!r.rawValueTrimPrefix,e.copyDelimiter=!!r.copyDelimiter,e.initValue=void 0!==r.initValue&&null!==r.initValue?r.initValue.toString():"",e.delimiter=r.delimiter||""===r.delimiter?r.delimiter:r.date?"/":r.time?":":r.numeral?",":(r.phone," "),e.delimiterLength=e.delimiter.length,e.delimiterLazyShow=!!r.delimiterLazyShow,e.delimiters=r.delimiters||[],e.blocks=r.blocks||[],e.blocksLength=e.blocks.length,e.root="object"==typeof t&&t?t:window,e.document=r.document||e.root.document,e.maxLength=0,e.backspace=!1,e.result="",e.onValueChanged=r.onValueChanged||function(){},e}}}.call(t,function(){return this}())}],r={},t.m=e,t.c=r,t.p="",t(0);function t(i){if(r[i])return r[i].exports;var n=r[i]={exports:{},id:i,loaded:!1};return e[i].call(n.exports,n,n.exports,t),n.loaded=!0,n.exports}var e,r}),function($){HappyForms.parts=HappyForms.parts||{},HappyForms.parts.multi_line_text={init:function(options){this.$form=options.form,this.type=this.$el.data("happyforms-type"),this.$input=$("textarea",this.$el),this.$counter=$(".happyforms-part__char-counter span.counter",this.$el),this.$input.on("blur",this.onBlur.bind(this)),this.$input.on("keyup",this.triggerChange.bind(this)),this.$input.on("change",this.triggerChange.bind(this)),this.$el.on("keyup",this.refreshCounter.bind(this)),this.refreshCounter(),$(".happyforms-part__char-counter").show()},getValueLength:function(){var mode=this.$input.attr("data-length-mode"),value=this.$input.val(),length=value.length;return length="word"===mode?(mode=value.match(/\w+/g))?mode.length:0:length},refreshCounter:function(){var length;parseInt(this.$input.attr("data-length"),10)<1||(length=this.getValueLength(),this.$counter.text(length))},onFocus:function(){this.$el.addClass("focus")},onBlur:function(){this.$el.removeClass("focus")},isFilled:function(){return""!==this.$input.val()},serialize:function(){return HappyForms.parts.base.serialize.apply(this,arguments)}}}(jQuery),function($){HappyForms.parts=HappyForms.parts||{},HappyForms.parts.email={init:function(){this.type=this.$el.data("happyforms-type"),this.$input=$("input",this.$el),this.$visualInput=$("input[type=email]",this.$el),this.$input.on("keyup",this.triggerChange.bind(this)),this.$input.on("change",this.triggerChange.bind(this)),this.$input.on("focus",this.onInputFocus.bind(this)),this.$visualInput.on("blur",this.onBlur.bind(this))}}}(jQuery),function($){HappyForms.parts=HappyForms.parts||{},HappyForms.parts.radio={init:function(){this.type=this.$el.data("happyforms-type"),this.$input=$("input",this.$el),this.$visualInput=$("input[type=email]",this.$el),this.$input.on("keyup",this.triggerChange.bind(this)),this.$input.on("change",this.triggerChange.bind(this)),this.$input.on("change",this.onRadioChange.bind(this)),this.$input.on("focus",this.onFocus.bind(this))},onRadioChange:function(e){var $otherRadio=$(".happyforms-part-option--other input[type=radio]",this.$el),$otherInput=$otherRadio.parent().nextAll("input"),$generalInput=$("input[type=text]",this.$el);$generalInput.prop("required",!1),$otherRadio.length&&$otherRadio.is(":checked")?($(e.target)[0]===$otherRadio[0]&&$otherInput.addClass("hf-show").trigger("focus"),""===this.$el.data("happyforms-required")&&$otherInput.prop("required",!0)):$generalInput.removeClass("hf-show")},onFocus:function(e){e=$(e.target);"text"===e.attr("type")&&e.prevAll("input[type=radio]").prop("checked",!0)},serialize:function(){var self=this;return this.$input.map(function(i,input){var input=$(input),$customInput=0;if("text"!==input.attr("type")){"text"===$(self.$input[i+1]).attr("type")&&($customInput=$(self.$input[i+1]));i={name:input.attr("name"),value:input.val()};if($customInput.length&&($customInput=$customInput.val(),i.value=[input.val(),$customInput],i.value=JSON.stringify(i.value)),input.is(":checked"))return i}}).toArray()}}}(jQuery),function($){HappyForms.parts=HappyForms.parts||{},HappyForms.parts.checkbox={init:function(){this.type=this.$el.data("happyforms-type"),this.$input=$("input",this.$el),this.$input.on("change",this.triggerChange.bind(this)),this.$input.on("change",this.onCheckboxChange.bind(this)),this.$input.on("focus",this.onFocus.bind(this))},onCheckboxChange:function(e){var $otherCheckbox=$(".happyforms-part-option--other input[type=checkbox]",this.$el),$otherInput=$otherCheckbox.parent().nextAll("input"),$generalInput=$("input[type=text]",this.$el);$generalInput.prop("required",!1),$otherCheckbox.length&&$otherCheckbox.is(":checked")?($(e.target)[0]===$otherCheckbox[0]&&$otherInput.addClass("hf-show").trigger("focus"),""===this.$el.data("happyforms-required")&&$otherInput.prop("required",!0)):$generalInput.removeClass("hf-show")},serialize:function(){var self=this;return this.$input.map(function(i,input){var input=$(input),$customInput=0;if("text"!==input.attr("type")){"text"===$(self.$input[i+1]).attr("type")&&($customInput=$(self.$input[i+1]));i={name:input.attr("name"),value:input.val()};if($customInput.length&&($customInput=$customInput.val(),i.value=[input.val(),$customInput],i.value=JSON.stringify(i.value)),input.is(":checked"))return i}}).toArray()},onFocus:function(e){e=$(e.target);"text"===e.attr("type")&&e.prevAll("input[type=checkbox]").prop("checked",!0)}}}(jQuery),function($){HappyForms.parts=HappyForms.parts||{},HappyForms.parts.select={init:function(options){this.type=this.$el.data("happyforms-type"),this.$input=$("[data-serialize]",this.$el),this.$input.on("change",this.triggerChange.bind(this)),this.$input.on("blur",this.onBlur.bind(this))},onBlur:function(){var $otherinput=$(".happyforms-part-option--other input[type=text]",this.$el);"999"===this.$input.val()?($otherinput.addClass("hf-show"),$otherinput.focus()):$otherinput.removeClass("hf-show")},serialize:function(){var self=this;return this.$input.map(function(i,select){var select=$(select,self.$el),$customInput=0,value=(999==select.val()&&($customInput=$(" .happyforms-part-option--other input[type=text]",self.$el)),select.val()),value=(null==value&&(value=""),{name:select.attr("name"),value:value});return $customInput.length&&($customInput=$customInput.val(),value.value=[select.val(),$customInput],value.value=JSON.stringify(value.value)),value}).toArray()}}}(jQuery),function($){HappyForms.parts=HappyForms.parts||{},HappyForms.parts.number={init:function(){this.type=this.$el.data("happyforms-type"),this.allowedKeys=["0","1","2","3","4","5","6","7","8","9","Meta","Delete","ArrowLeft","ArrowRight"];var self,decimalMark,delimiterMark,masked=this.$el.attr("data-mask");this.$input=$("input",this.$el),this.cleaveInstances=[],this.$input.on("keyup",this.onKeyUp.bind(this)),this.$input.on("change",this.triggerChange.bind(this)),this.$input.on("focus",this.onInputFocus.bind(this)),this.$input.on("blur",this.onBlur.bind(this)),this.numeralDecimalMark=this.$el.attr("data-decimal-mark")||"",this.delimiter=this.$el.attr("data-thousands-delimiter")||"",masked&&(decimalMark=(self=this).numeralDecimalMark,delimiterMark=this.delimiter,this.$input.each(function(){var $input=$(this),$input=new Cleave($input,{numeral:!0,numeralDecimalMark:decimalMark,delimiter:delimiterMark});self.cleaveInstances.push($input)})),this.onBlur()},onKeyUp:function(e){var value=$(e.target).val(),regex=new RegExp("[^0-9"+this.numeralDecimalMark+this.delimiter+"-]","g"),value=value.replace(regex,"");$(e.target).val(value),this.triggerChange()},reinit:function(){$.each(this.cleaveInstances,function(i,instance){var input=instance.element,rawValue=instance.getRawValue();instance.destroy(),input.value=rawValue}),this.init()}}}(jQuery),HappyForms.Antispam={getHash:function(data){var hash=[];return data.forEach(function(entry){hash.push(entry.value)}),hash=hash.join("").replace(/[^\w\d]/gm,""),hash=md5(hash)},getPlatformInfo:function(){var key,value,info={user_agent:navigator.userAgent,app_version:navigator.appVersion,language:navigator.language||navigator.userLanguage||navigator.browserLanguage||navigator.systemLanguage,languages_length:navigator.languages.length,webdriver:navigator.webdriver?1:0,concurrency:navigator.hardwareConcurrency,outer_width:window.outerWidth,outer_height:window.outerHeight,connectionRtt:navigator.connection?navigator.connection.rtt:-1},platformInfo={};for([key,value]of Object.entries(info))platformInfo[`platform_info[${key}]`]=value;return platformInfo}},function($){HappyForms.parts=HappyForms.parts||{},HappyForms.parts.base={init:function(){this.type=this.$el.data("happyforms-type"),this.$input=$("input, textarea, select",this.$el),this.$input.on("keyup change",this.triggerChange.bind(this)),this.$input.on("blur",this.onBlur.bind(this)),this.$input.on("focus",this.onInputFocus.bind(this)),this.onBlur()},getType:function(){return this.type},onInputFocus:function(){this.$el.addClass("focus")},onBlur:function(){this.$el.is(".happyforms-part--label-as_placeholder")&&(this.isFilled()?this.$el.addClass("happyforms-part--filled"):this.$el.removeClass("happyforms-part--filled")),this.$el.removeClass("focus")},triggerChange:function(data){this.$el.trigger("happyforms-change",data)},isRequired:function(){return this.$el.is(":visible")&&this.$el.is("[data-happyforms-required]")},isFilled:function(){return 0<this.$input.filter(function(){var $input=$(this);return $input.is("[type=checkbox]")||$input.is("[type=radio]")?$input.is(":checked"):""!==$input.val()}).length},confirmationMatches:function(){var matches=!1,$input=this.$input,$input=($input=this.$visualInput?this.$visualInput:$input).map(function(){return $(this).val()}).toArray();return matches=2===$input.length?$input[0]===$input[1]:matches},requiresConfirmation:function(){return this.$el.is("[data-happyforms-require-confirmation]")},serialize:function(){return this.$input.map(function(i,input){var input=$(input),keyValue={name:input.attr("name"),value:input.val()};if(!input.is("[type=checkbox]")&&!input.is("[type=radio]")||input.is(":checked"))return keyValue}).toArray()},isValid:function(){var valid=!0;this.$el.data("happyforms-type");return this.$input?(this.isRequired()&&(valid=valid&&this.isFilled()),this.isRequired()&&this.requiresConfirmation()?valid&&this.confirmationMatches():valid):valid},destroy:function(){this.$el.data("HappyFormPart",!1)}},HappyForms.wrapPart=function($part,$form){var type=$part.data("happyforms-type"),partMethods=HappyForms.parts.base;HappyForms.parts[type]&&(partMethods=$.extend({},HappyForms.parts.base,HappyForms.parts[type])),$part.happyFormPart(partMethods,{form:$form})},HappyForms.Form=function(el){this.el=el,this.$el=$(this.el),this.$form=$("form",this.$el),this.$parts=$("[data-happyforms-type]",this.$form),this.$submits=$('[type="submit"], a.submit',this.$form),this.$submit=$('[type="submit"]',this.$form),this.$submitLinks=$("a.submit",this.$form),this.$step=$('[name="happyforms_step"]',this.$form),this.init()},HappyForms.Form.prototype={init:function(){var $form=this.$form;$("[data-happyforms-type]",this.$form).each(function(){var $part=$(this);$part.data("happyforms-type");HappyForms.wrapPart($part,$form)}),this.$el.trigger("happyforms-change"),this.$el.trigger("happyforms-init"),this.$form.off("submit"),this.$submit.off("click"),this.$submitLinks.off("click"),this.$form.on("submit",this.submit.bind(this)),this.$submit.on("click",this.buttonSubmit.bind(this)),this.$submitLinks.on("click",this.linkSubmit.bind(this)),this.$el.on("happyforms-scrolltop",this.onScrollTop.bind(this)),this.$el.on("click",".happyforms-fill-out-again",this.fillAgain.bind(this))},detach:function(){this.$el.off("happyforms-change"),this.$el.off("happyforms-scrolltop"),$("[data-happyforms-type]",this.$form).remove()},serialize:function(submitEl){for(var action=$("[name=action]",this.$form).val(),form_id=$("[name=happyforms_form_id]",this.$form).val(),formData=($("[name=_wp_http_referer]",this.$form).val(),[{name:"action",value:action},{name:"happyforms_form_id",value:form_id},{name:"happyforms_step",value:this.$step.val()},{name:"happyforms_random_seed",value:$("[name=happyforms_random_seed]",this.$form).val()}]),honeypotNames=["single_line_text","multi_line_text","number"],h=0;h<honeypotNames.length;h++){var inputName=form_id+"-"+honeypotNames[h],$input=$("[name="+inputName+"]");if($input.length){formData.push({name:inputName,value:$input.val()});break}}var key,value,action=$("[data-happyforms-type]",this.$form).map(function(i,part){return $(part).happyFormPart("serialize")}).toArray().filter(function(entry){return null!==entry.name&&void 0!==entry.name}),action=formData.concat(action),params=new URLSearchParams,action=(action.forEach(function(entry){params.append(entry.name,entry.value)}),HappyForms.Antispam.getHash(action)),action=(params.append("hash",action),HappyForms.Antispam.getPlatformInfo());for([key,value]of Object.entries(action))params.append(key,value);return params=params.toString()},buttonSubmit:function(e){e.target.hasAttribute("data-step")&&this.$step.val(e.target.getAttribute("data-step"))},linkSubmit:function(e){e.preventDefault(),e.stopImmediatePropagation(),e.target.hasAttribute("data-step")&&this.$step.val(e.target.getAttribute("data-step")),this.$form.trigger("submit")},submit:function(e){e.preventDefault(),this.$form.addClass("happyforms-form--submitting"),this.$submits.attr("disabled","disabled"),$.ajax({type:"post",data:this.serialize(e.target)}).done(this.onSubmitComplete.bind(this))},onSubmitComplete:function(response){if(this.$form.trigger("happyforms.submitted",response),!response.data)return!1;var elTopOffset,$notices;response.data.html&&(response=$(response.data.html),$("[data-happyforms-type]",this.$form).each(function(){$(this).trigger("happyforms.detach")}),this.detach(),this.$el.replaceWith(response),this.$el=response,this.$el.happyForm(),(response=$("form",this.$el)).attr("data-happyforms-scroll-disabled")||(this.$el.get(0).getBoundingClientRect().top<0&&(elTopOffset=this.$el.offset().top,$notices=$(".happyforms-message-notices",this.$el),response.is(".happyforms-form--notices-below")&&$notices.length&&(elTopOffset=$notices.offset().top),($notices=response.attr("data-happyforms-scroll-offset"))&&(elTopOffset+=$notices=parseInt($notices,10)),this.$el.trigger("happyforms-scrolltop",elTopOffset)),!$(".happyforms-message-notice.error",response).length&&this.$el.hasClass("happyforms-form--hide-on-submit")&&$(".happyforms-part",response).hide()))},onScrollTop:function(e,offset){e.isDefaultPrevented()||$("html, body").animate({scrollTop:offset+"px"},500)},fillAgain:function(e){e.preventDefault();e=(e=window.location.pathname).substring(0,e.length-1),e=window.location.origin+e;e+="#"+this.$form.attr("id"),window.history.pushState(null,null,e),window.location.reload()}},HappyForms.Part=function(el){this.el=el,this.$el=$(this.el)},$.fn.happyFormPart=function(method){if("object"==typeof method){var part=new HappyForms.Part(this);$.extend(part,method),$(this).data("HappyFormPart",part),part.init.apply(part,Array.prototype.slice.call(arguments,1))}else{part=$(this).data("HappyFormPart");if(part&&part[method])return part[method].apply(part,Array.prototype.slice.call(arguments,1))}},$.fn.happyForm=function(method){this.each(function(){if(method){var instance=$.data(this,"HappyForm");if(instance&&instance[method])return instance[method].apply(instance,Array.prototype.slice.call(arguments,1))}else $.data(this,"HappyForm",new HappyForms.Form(this,arguments))})},$(function(){$(".happyforms-form").happyForm()})}(jQuery);
|
core/assets/css/customize.css
CHANGED
@@ -228,7 +228,8 @@ span.members-only {
|
|
228 |
font-weight: 400;
|
229 |
}
|
230 |
|
231 |
-
.happyforms-form-part-logic span.members-only
|
|
|
232 |
margin-left: 5px;
|
233 |
}
|
234 |
|
@@ -375,7 +376,7 @@ p.happyforms-step-progress-counter {
|
|
375 |
}
|
376 |
|
377 |
.happyforms-widget-title h3,
|
378 |
-
.happyforms-part-widget .options .happyforms-choice-item-widget h3 {
|
379 |
margin: 0;
|
380 |
padding: 15px;
|
381 |
font-size: 1em !important;
|
@@ -425,17 +426,20 @@ a.happyforms-form-part-advanced-settings {
|
|
425 |
line-height: 1.5;
|
426 |
}
|
427 |
|
428 |
-
a.happyforms-form-part-logic
|
|
|
429 |
float: right;
|
430 |
}
|
431 |
|
432 |
-
.happyforms-part-logic-wrap
|
|
|
433 |
display: none;
|
434 |
overflow: hidden;
|
435 |
}
|
436 |
|
437 |
.happyforms-part-logic-wrap .no-parts,
|
438 |
-
.happyforms-setup-logic-wrap .no-parts
|
|
|
439 |
display: none;
|
440 |
margin-bottom: 15px;
|
441 |
border: 1px solid #eee;
|
@@ -443,22 +447,26 @@ a.happyforms-form-part-logic {
|
|
443 |
}
|
444 |
|
445 |
.happyforms-part-logic-wrap .no-parts--show,
|
446 |
-
.happyforms-setup-logic-wrap .no-parts--show
|
|
|
447 |
display: block;
|
448 |
}
|
449 |
|
450 |
.happyforms-part-logic-wrap .no-parts h3,
|
451 |
-
.happyforms-setup-logic-wrap .no-parts h3
|
|
|
452 |
margin-top: 5px;
|
453 |
}
|
454 |
|
455 |
.happyforms-part-logic-wrap .no-parts--small h3,
|
456 |
-
.happyforms-setup-logic-wrap .no-parts--small h3
|
|
|
457 |
margin-bottom: 0;
|
458 |
}
|
459 |
|
460 |
.happyforms-part-logic-wrap .no-parts--small p,
|
461 |
-
.happyforms-setup-logic-wrap .no-parts--small p
|
|
|
462 |
font-size: 14px;
|
463 |
}
|
464 |
|
@@ -482,7 +490,8 @@ a.happyforms-form-part-logic {
|
|
482 |
|
483 |
a.happyforms-form-part-advanced-settings:before,
|
484 |
a.happyforms-form-part-logic:before,
|
485 |
-
a.advanced-column:before
|
|
|
486 |
position: relative;
|
487 |
top: 2px;
|
488 |
display: inline-block;
|
@@ -569,7 +578,6 @@ a.happyforms-form-part-remove:hover {
|
|
569 |
.happyforms-setup-view #customize-control-email_recipient,
|
570 |
.happyforms-setup-view #customize-control-email_bccs,
|
571 |
.happyforms-setup-view #customize-control-alert_email_subject,
|
572 |
-
.happyforms-setup-view .customize-control[id*='customize-control-redirect']:not(#customize-control-redirect_on_complete):not(#customize-control-redirect_blank),
|
573 |
.happyforms-setup-view .customize-control[id*='customize-control-captcha_']:not(#customize-control-captcha_label),
|
574 |
.happyforms-setup-view #customize-control-email_mark_and_reply {
|
575 |
padding-bottom: 5px;
|
@@ -643,7 +651,7 @@ a.happyforms-form-part-remove:hover {
|
|
643 |
.has-required-field #customize-control-required_field_label,
|
644 |
.has-min-limit-choices #customize-control-select_more_choices,
|
645 |
.has-max-limit-choices #customize-control-select_less_choices,
|
646 |
-
|
647 |
.has-min-words-label #customize-control-words_label_min,
|
648 |
.has-max-words-label #customize-control-words_label_max,
|
649 |
.has-min-chars-label #customize-control-characters_label_min,
|
@@ -1200,10 +1208,6 @@ ul.happyforms-parts-list li[data-part-type="rank_order_dummy"] .happyforms-parts
|
|
1200 |
background-image: url(../svg/icons/rank.svg);
|
1201 |
}
|
1202 |
|
1203 |
-
ul.happyforms-parts-list li[data-part-type="likert_scale_dummy"] .happyforms-parts-list-item-title:before {
|
1204 |
-
background-image: url(../svg/icons/scale.svg);
|
1205 |
-
}
|
1206 |
-
|
1207 |
ul.happyforms-parts-list li[data-part-type="rating_dummy"] .happyforms-parts-list-item-title:before {
|
1208 |
background-image: url(../svg/icons/rate.svg);
|
1209 |
}
|
228 |
font-weight: 400;
|
229 |
}
|
230 |
|
231 |
+
.happyforms-form-part-logic span.members-only,
|
232 |
+
.happyforms-item-logic span.members-only{
|
233 |
margin-left: 5px;
|
234 |
}
|
235 |
|
376 |
}
|
377 |
|
378 |
.happyforms-widget-title h3,
|
379 |
+
.happyforms-part-widget .options .happyforms-choice-item-widget .happyforms-item-choice-widget-title h3 {
|
380 |
margin: 0;
|
381 |
padding: 15px;
|
382 |
font-size: 1em !important;
|
426 |
line-height: 1.5;
|
427 |
}
|
428 |
|
429 |
+
a.happyforms-form-part-logic,
|
430 |
+
a.happyforms-item-logic {
|
431 |
float: right;
|
432 |
}
|
433 |
|
434 |
+
.happyforms-part-logic-wrap,
|
435 |
+
.happyforms-part-choice-logic-wrap {
|
436 |
display: none;
|
437 |
overflow: hidden;
|
438 |
}
|
439 |
|
440 |
.happyforms-part-logic-wrap .no-parts,
|
441 |
+
.happyforms-setup-logic-wrap .no-parts,
|
442 |
+
.happyforms-part-choice-logic-wrap .no-parts {
|
443 |
display: none;
|
444 |
margin-bottom: 15px;
|
445 |
border: 1px solid #eee;
|
447 |
}
|
448 |
|
449 |
.happyforms-part-logic-wrap .no-parts--show,
|
450 |
+
.happyforms-setup-logic-wrap .no-parts--show,
|
451 |
+
.happyforms-part-choice-logic-wrap .no-parts--show {
|
452 |
display: block;
|
453 |
}
|
454 |
|
455 |
.happyforms-part-logic-wrap .no-parts h3,
|
456 |
+
.happyforms-setup-logic-wrap .no-parts h3,
|
457 |
+
.happyforms-part-choice-logic-wrap .no-parts h3 {
|
458 |
margin-top: 5px;
|
459 |
}
|
460 |
|
461 |
.happyforms-part-logic-wrap .no-parts--small h3,
|
462 |
+
.happyforms-setup-logic-wrap .no-parts--small h3,
|
463 |
+
.happyforms-part-choice-logic-wrap .no-parts--small h3 {
|
464 |
margin-bottom: 0;
|
465 |
}
|
466 |
|
467 |
.happyforms-part-logic-wrap .no-parts--small p,
|
468 |
+
.happyforms-setup-logic-wrap .no-parts--small p,
|
469 |
+
.happyforms-part-choice-logic-wrap .no-parts--small p {
|
470 |
font-size: 14px;
|
471 |
}
|
472 |
|
490 |
|
491 |
a.happyforms-form-part-advanced-settings:before,
|
492 |
a.happyforms-form-part-logic:before,
|
493 |
+
a.advanced-column:before,
|
494 |
+
a.happyforms-item-logic:before {
|
495 |
position: relative;
|
496 |
top: 2px;
|
497 |
display: inline-block;
|
578 |
.happyforms-setup-view #customize-control-email_recipient,
|
579 |
.happyforms-setup-view #customize-control-email_bccs,
|
580 |
.happyforms-setup-view #customize-control-alert_email_subject,
|
|
|
581 |
.happyforms-setup-view .customize-control[id*='customize-control-captcha_']:not(#customize-control-captcha_label),
|
582 |
.happyforms-setup-view #customize-control-email_mark_and_reply {
|
583 |
padding-bottom: 5px;
|
651 |
.has-required-field #customize-control-required_field_label,
|
652 |
.has-min-limit-choices #customize-control-select_more_choices,
|
653 |
.has-max-limit-choices #customize-control-select_less_choices,
|
654 |
+
#customize-control-confirmation_message,
|
655 |
.has-min-words-label #customize-control-words_label_min,
|
656 |
.has-max-words-label #customize-control-words_label_max,
|
657 |
.has-min-chars-label #customize-control-characters_label_min,
|
1208 |
background-image: url(../svg/icons/rank.svg);
|
1209 |
}
|
1210 |
|
|
|
|
|
|
|
|
|
1211 |
ul.happyforms-parts-list li[data-part-type="rating_dummy"] .happyforms-parts-list-item-title:before {
|
1212 |
background-image: url(../svg/icons/rate.svg);
|
1213 |
}
|
core/assets/js/parts/part-checkbox.js
CHANGED
@@ -23,12 +23,14 @@
|
|
23 |
},
|
24 |
} );
|
25 |
|
26 |
-
var OptionModel =
|
27 |
-
defaults: {
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
|
|
|
|
32 |
},
|
33 |
} );
|
34 |
|
@@ -36,7 +38,7 @@
|
|
36 |
model: OptionModel,
|
37 |
} );
|
38 |
|
39 |
-
|
40 |
template: '#customize-happyforms-checkbox-item-template',
|
41 |
|
42 |
onItemDefaultChange: function( e ) {
|
@@ -62,7 +64,7 @@
|
|
62 |
},
|
63 |
} );
|
64 |
|
65 |
-
|
66 |
template: '#customize-happyforms-checkbox-item-heading-template',
|
67 |
} );
|
68 |
|
@@ -82,7 +84,7 @@
|
|
82 |
},
|
83 |
|
84 |
getOptionItemView: function( optionModel, options ) {
|
85 |
-
var view = new
|
86 |
model: optionModel,
|
87 |
part: this.model,
|
88 |
}, options ) );
|
@@ -91,7 +93,7 @@
|
|
91 |
},
|
92 |
|
93 |
getOptionHeadingView: function( optionModel, options ) {
|
94 |
-
var view = new
|
95 |
model: optionModel,
|
96 |
part: this.model,
|
97 |
}, options ) );
|
23 |
},
|
24 |
} );
|
25 |
|
26 |
+
var OptionModel = happyForms.classes.models.Option.extend( {
|
27 |
+
defaults: function() {
|
28 |
+
return _.extend( {
|
29 |
+
is_default: false,
|
30 |
+
label: '',
|
31 |
+
description: '',
|
32 |
+
is_heading: false,
|
33 |
+
}, _.result( happyForms.classes.models.Option.prototype, 'defaults' ) );
|
34 |
},
|
35 |
} );
|
36 |
|
38 |
model: OptionModel,
|
39 |
} );
|
40 |
|
41 |
+
happyForms.classes.views.checkboxOptionItem = happyForms.classes.views.OptionItem.extend( {
|
42 |
template: '#customize-happyforms-checkbox-item-template',
|
43 |
|
44 |
onItemDefaultChange: function( e ) {
|
64 |
},
|
65 |
} );
|
66 |
|
67 |
+
happyForms.classes.views.checkboxOptionHeading = happyForms.classes.views.OptionHeading.extend( {
|
68 |
template: '#customize-happyforms-checkbox-item-heading-template',
|
69 |
} );
|
70 |
|
84 |
},
|
85 |
|
86 |
getOptionItemView: function( optionModel, options ) {
|
87 |
+
var view = new happyForms.classes.views.checkboxOptionItem( _.extend( {
|
88 |
model: optionModel,
|
89 |
part: this.model,
|
90 |
}, options ) );
|
93 |
},
|
94 |
|
95 |
getOptionHeadingView: function( optionModel, options ) {
|
96 |
+
var view = new happyForms.classes.views.checkboxOptionHeading( _.extend( {
|
97 |
model: optionModel,
|
98 |
part: this.model,
|
99 |
}, options ) );
|
core/assets/js/parts/part-field-choice.js
CHANGED
@@ -1,5 +1,11 @@
|
|
1 |
( function( $, _, Backbone, api, settings ) {
|
2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
happyForms.classes.views.Option = Backbone.View.extend( {
|
4 |
events: {
|
5 |
'click .happyforms-delete-item': 'onDeleteClick',
|
@@ -98,7 +104,7 @@
|
|
98 |
onLabelChange: function( e ) {
|
99 |
var label = $( e.target ).val();
|
100 |
this.model.set( 'label', label );
|
101 |
-
this.part.trigger( 'change' );
|
102 |
$('.happyforms-item-choice-widget-title h3 .choice-in-widget-title span', this.$el ).text( label );
|
103 |
|
104 |
var data = {
|
@@ -136,7 +142,7 @@
|
|
136 |
onItemLabelChange: function( e ) {
|
137 |
var label = $( e.target ).val();
|
138 |
this.model.set( 'label', label );
|
139 |
-
this.part.trigger( 'change' );
|
140 |
$('.happyforms-item-choice-widget-title h3 .choice-in-widget-title span', this.$el ).text( label );
|
141 |
|
142 |
var data = {
|
@@ -385,7 +391,10 @@
|
|
385 |
attrs.id = this.getOptionModelID();
|
386 |
var modelClass = this.model.get( 'options' ).model;
|
387 |
var clonedModel = new modelClass( attrs );
|
388 |
-
this.model.get( 'options' ).add( clonedModel, {
|
|
|
|
|
|
|
389 |
this.model.get( 'options' ).findWhere( { id: attrs.id } ).trigger( 'open-widget' );
|
390 |
},
|
391 |
|
@@ -405,7 +414,7 @@
|
|
405 |
},
|
406 |
|
407 |
onOptionModelAdd: function( optionModel, optionsCollection, options ) {
|
408 |
-
this.model.trigger( 'change' );
|
409 |
this.addOptionItemView( optionModel, options );
|
410 |
|
411 |
var model = this.model;
|
@@ -415,6 +424,7 @@
|
|
415 |
var data = {
|
416 |
id: model.get( 'id' ),
|
417 |
html: response,
|
|
|
418 |
};
|
419 |
|
420 |
happyForms.previewSend( 'happyforms-form-part-refresh', data );
|
@@ -423,11 +433,11 @@
|
|
423 |
},
|
424 |
|
425 |
onOptionModelChange: function( optionModel ) {
|
426 |
-
this.model.trigger( 'change' );
|
427 |
},
|
428 |
|
429 |
onOptionModelRemove: function( optionModel ) {
|
430 |
-
this.model.trigger( 'change' );
|
431 |
|
432 |
var optionViewModel = this.optionViews.find( function( viewModel ) {
|
433 |
return viewModel.get( 'view' ).model.id === optionModel.id;
|
@@ -586,6 +596,10 @@
|
|
586 |
} );
|
587 |
|
588 |
happyForms.previewer = _.extend( happyForms.previewer, {
|
|
|
|
|
|
|
|
|
589 |
onOptionDeleteCallback: function( id, html, options ) {
|
590 |
var part = this.getPartModel( id );
|
591 |
var $part = this.getPartElement( html );
|
1 |
( function( $, _, Backbone, api, settings ) {
|
2 |
|
3 |
+
happyForms.classes.models.Option = Backbone.Model.extend( {
|
4 |
+
defaults: {
|
5 |
+
type: 'option',
|
6 |
+
}
|
7 |
+
} );
|
8 |
+
|
9 |
happyForms.classes.views.Option = Backbone.View.extend( {
|
10 |
events: {
|
11 |
'click .happyforms-delete-item': 'onDeleteClick',
|
104 |
onLabelChange: function( e ) {
|
105 |
var label = $( e.target ).val();
|
106 |
this.model.set( 'label', label );
|
107 |
+
this.part.trigger( 'change', this.part, {} );
|
108 |
$('.happyforms-item-choice-widget-title h3 .choice-in-widget-title span', this.$el ).text( label );
|
109 |
|
110 |
var data = {
|
142 |
onItemLabelChange: function( e ) {
|
143 |
var label = $( e.target ).val();
|
144 |
this.model.set( 'label', label );
|
145 |
+
this.part.trigger( 'change', this.part, {} );
|
146 |
$('.happyforms-item-choice-widget-title h3 .choice-in-widget-title span', this.$el ).text( label );
|
147 |
|
148 |
var data = {
|
391 |
attrs.id = this.getOptionModelID();
|
392 |
var modelClass = this.model.get( 'options' ).model;
|
393 |
var clonedModel = new modelClass( attrs );
|
394 |
+
this.model.get( 'options' ).add( clonedModel, {
|
395 |
+
at: index,
|
396 |
+
duplicateOf: fieldChoice,
|
397 |
+
} );
|
398 |
this.model.get( 'options' ).findWhere( { id: attrs.id } ).trigger( 'open-widget' );
|
399 |
},
|
400 |
|
414 |
},
|
415 |
|
416 |
onOptionModelAdd: function( optionModel, optionsCollection, options ) {
|
417 |
+
this.model.trigger( 'change', this.model, {} );
|
418 |
this.addOptionItemView( optionModel, options );
|
419 |
|
420 |
var model = this.model;
|
424 |
var data = {
|
425 |
id: model.get( 'id' ),
|
426 |
html: response,
|
427 |
+
callback: 'onOptionAddCallback',
|
428 |
};
|
429 |
|
430 |
happyForms.previewSend( 'happyforms-form-part-refresh', data );
|
433 |
},
|
434 |
|
435 |
onOptionModelChange: function( optionModel ) {
|
436 |
+
this.model.trigger( 'change', this.model, {} );
|
437 |
},
|
438 |
|
439 |
onOptionModelRemove: function( optionModel ) {
|
440 |
+
this.model.trigger( 'change', this.model, {} );
|
441 |
|
442 |
var optionViewModel = this.optionViews.find( function( viewModel ) {
|
443 |
return viewModel.get( 'view' ).model.id === optionModel.id;
|
596 |
} );
|
597 |
|
598 |
happyForms.previewer = _.extend( happyForms.previewer, {
|
599 |
+
onOptionAddCallback: function() {
|
600 |
+
// noop
|
601 |
+
},
|
602 |
+
|
603 |
onOptionDeleteCallback: function( id, html, options ) {
|
604 |
var part = this.getPartModel( id );
|
605 |
var $part = this.getPartElement( html );
|
core/assets/js/parts/part-radio.js
CHANGED
@@ -23,12 +23,14 @@
|
|
23 |
},
|
24 |
} );
|
25 |
|
26 |
-
var OptionModel =
|
27 |
-
defaults: {
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
|
|
|
|
32 |
},
|
33 |
} );
|
34 |
|
@@ -36,11 +38,11 @@
|
|
36 |
model: OptionModel,
|
37 |
} );
|
38 |
|
39 |
-
|
40 |
template: '#customize-happyforms-radio-item-template',
|
41 |
} );
|
42 |
|
43 |
-
|
44 |
template: '#customize-happyforms-radio-item-heading-template',
|
45 |
} );
|
46 |
|
@@ -52,7 +54,7 @@
|
|
52 |
} ),
|
53 |
|
54 |
getOptionItemView: function( optionModel, options ) {
|
55 |
-
var view = new
|
56 |
model: optionModel,
|
57 |
part: this.model,
|
58 |
}, options ) );
|
@@ -61,7 +63,7 @@
|
|
61 |
},
|
62 |
|
63 |
getOptionHeadingView: function( optionModel, options ) {
|
64 |
-
var view = new
|
65 |
model: optionModel,
|
66 |
part: this.model,
|
67 |
}, options ) );
|
23 |
},
|
24 |
} );
|
25 |
|
26 |
+
var OptionModel = happyForms.classes.models.Option.extend( {
|
27 |
+
defaults: function() {
|
28 |
+
return _.extend( {
|
29 |
+
is_default: false,
|
30 |
+
label: '',
|
31 |
+
description: '',
|
32 |
+
is_heading: false,
|
33 |
+
}, _.result( happyForms.classes.models.Option.prototype, 'defaults' ) );
|
34 |
},
|
35 |
} );
|
36 |
|
38 |
model: OptionModel,
|
39 |
} );
|
40 |
|
41 |
+
happyForms.classes.views.radioOptionItem = happyForms.classes.views.OptionItem.extend( {
|
42 |
template: '#customize-happyforms-radio-item-template',
|
43 |
} );
|
44 |
|
45 |
+
happyForms.classes.views.radioOptionHeading = happyForms.classes.views.OptionHeading.extend( {
|
46 |
template: '#customize-happyforms-radio-item-heading-template',
|
47 |
} );
|
48 |
|
54 |
} ),
|
55 |
|
56 |
getOptionItemView: function( optionModel, options ) {
|
57 |
+
var view = new happyForms.classes.views.radioOptionItem( _.extend( {
|
58 |
model: optionModel,
|
59 |
part: this.model,
|
60 |
}, options ) );
|
63 |
},
|
64 |
|
65 |
getOptionHeadingView: function( optionModel, options ) {
|
66 |
+
var view = new happyForms.classes.views.radioOptionHeading( _.extend( {
|
67 |
model: optionModel,
|
68 |
part: this.model,
|
69 |
}, options ) );
|
core/assets/js/parts/part-select.js
CHANGED
@@ -23,11 +23,13 @@
|
|
23 |
},
|
24 |
} );
|
25 |
|
26 |
-
var OptionModel =
|
27 |
-
defaults: {
|
28 |
-
|
29 |
-
|
30 |
-
|
|
|
|
|
31 |
},
|
32 |
} );
|
33 |
|
@@ -35,7 +37,7 @@
|
|
35 |
model: OptionModel,
|
36 |
} );
|
37 |
|
38 |
-
|
39 |
template: '#customize-happyforms-select-item-heading-template',
|
40 |
|
41 |
onLabelChange: function( e ) {
|
@@ -56,7 +58,7 @@
|
|
56 |
},
|
57 |
} );
|
58 |
|
59 |
-
|
60 |
template: '#customize-happyforms-select-item-template',
|
61 |
|
62 |
onItemLabelChange: function( e ) {
|
@@ -113,7 +115,7 @@
|
|
113 |
},
|
114 |
|
115 |
getOptionItemView: function( optionModel, options ) {
|
116 |
-
var view = new
|
117 |
model: optionModel,
|
118 |
part: this.model,
|
119 |
}, options ) );
|
@@ -122,7 +124,7 @@
|
|
122 |
},
|
123 |
|
124 |
getOptionHeadingView: function( optionModel, options ) {
|
125 |
-
var view = new
|
126 |
model: optionModel,
|
127 |
part: this.model,
|
128 |
}, options ) );
|
23 |
},
|
24 |
} );
|
25 |
|
26 |
+
var OptionModel = happyForms.classes.models.Option.extend( {
|
27 |
+
defaults: function() {
|
28 |
+
return _.extend( {
|
29 |
+
is_default: false,
|
30 |
+
label: '',
|
31 |
+
is_heading: false,
|
32 |
+
}, _.result( happyForms.classes.models.Option.prototype, 'defaults' ) );
|
33 |
},
|
34 |
} );
|
35 |
|
37 |
model: OptionModel,
|
38 |
} );
|
39 |
|
40 |
+
happyForms.classes.views.selectOptionHeading = happyForms.classes.views.OptionHeading.extend( {
|
41 |
template: '#customize-happyforms-select-item-heading-template',
|
42 |
|
43 |
onLabelChange: function( e ) {
|
58 |
},
|
59 |
} );
|
60 |
|
61 |
+
happyForms.classes.views.selectOptionItem = happyForms.classes.views.OptionItem.extend( {
|
62 |
template: '#customize-happyforms-select-item-template',
|
63 |
|
64 |
onItemLabelChange: function( e ) {
|
115 |
},
|
116 |
|
117 |
getOptionItemView: function( optionModel, options ) {
|
118 |
+
var view = new happyForms.classes.views.selectOptionItem( _.extend( {
|
119 |
model: optionModel,
|
120 |
part: this.model,
|
121 |
}, options ) );
|
124 |
},
|
125 |
|
126 |
getOptionHeadingView: function( optionModel, options ) {
|
127 |
+
var view = new happyForms.classes.views.selectOptionHeading( _.extend( {
|
128 |
model: optionModel,
|
129 |
part: this.model,
|
130 |
}, options ) );
|
core/assets/svg/icons/scale.svg
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
<svg enable-background="new 0 0 24 24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="m0 0h24v24h-24z" fill="none"/><path d="m0 0h24v24h-24z" fill="none"/><path d="m17 4h3v16h-3zm-12 10h3v6h-3zm6-5h3v11h-3z" fill="#32373c"/></svg>
|
|
core/classes/class-form-setup.php
CHANGED
@@ -54,22 +54,10 @@ class HappyForms_Form_Setup {
|
|
54 |
global $current_user;
|
55 |
|
56 |
$fields = array(
|
57 |
-
'confirm_submission' => array(
|
58 |
-
'default' => 'success_message_hide_form',
|
59 |
-
'sanitize' => 'sanitize_text_field',
|
60 |
-
),
|
61 |
-
'redirect_on_complete' => array(
|
62 |
-
'default' => 0,
|
63 |
-
'sanitize' => 'happyforms_sanitize_checkbox',
|
64 |
-
),
|
65 |
'redirect_url' => array(
|
66 |
'default' => '',
|
67 |
'sanitize' => 'sanitize_text_field',
|
68 |
),
|
69 |
-
'redirect_blank' => array(
|
70 |
-
'default' => 0,
|
71 |
-
'sanitize' => 'happyforms_sanitize_checkbox',
|
72 |
-
),
|
73 |
'spam_prevention' => array(
|
74 |
'default' => 1,
|
75 |
'sanitize' => 'happyforms_sanitize_checkbox',
|
@@ -130,7 +118,7 @@ class HappyForms_Form_Setup {
|
|
130 |
public function get_messages_fields( $fields ) {
|
131 |
$messages_fields = array(
|
132 |
'confirmation_message' => array(
|
133 |
-
'default' => __( '
|
134 |
'sanitize' => 'esc_html',
|
135 |
),
|
136 |
'error_message' => array(
|
@@ -141,6 +129,10 @@ class HappyForms_Form_Setup {
|
|
141 |
'default' => __( 'Send', 'happyforms' ),
|
142 |
'sanitize' => 'sanitize_text_field',
|
143 |
),
|
|
|
|
|
|
|
|
|
144 |
);
|
145 |
|
146 |
$fields = array_merge( $fields, $messages_fields );
|
@@ -150,23 +142,6 @@ class HappyForms_Form_Setup {
|
|
150 |
|
151 |
public function get_controls() {
|
152 |
$controls = array(
|
153 |
-
10 => array(
|
154 |
-
'type' => 'select',
|
155 |
-
'label' => __( 'After the form is submitted', 'happyforms' ),
|
156 |
-
'options' => array(
|
157 |
-
'success_message_hide_form' => __( 'Show a message', 'happyforms' ),
|
158 |
-
'success_message' => __( 'Show a message and allow to resubmit the form', 'happyforms' ),
|
159 |
-
'redirect' => __( 'Redirect to a web address', 'happyforms' ),
|
160 |
-
),
|
161 |
-
'field' => 'confirm_submission',
|
162 |
-
),
|
163 |
-
20 => array(
|
164 |
-
'type' => 'group_start',
|
165 |
-
'trigger' => 'confirm_submission',
|
166 |
-
),
|
167 |
-
110 => array(
|
168 |
-
'type' => 'group_end'
|
169 |
-
),
|
170 |
1100 => array(
|
171 |
'type' => 'add_submit_button_class-checkbox',
|
172 |
'label' => __( 'Add custom CSS classes to submit button', 'happyforms' ),
|
@@ -229,6 +204,11 @@ class HappyForms_Form_Setup {
|
|
229 |
'label' => __( 'Submit form', 'happyforms' ),
|
230 |
'field' => 'submit_button_label',
|
231 |
),
|
|
|
|
|
|
|
|
|
|
|
232 |
);
|
233 |
|
234 |
$controls = happyforms_safe_array_merge( $controls, $message_controls );
|
@@ -372,18 +352,25 @@ class HappyForms_Form_Setup {
|
|
372 |
}
|
373 |
|
374 |
public function submission_success( $submission, $form, $message ) {
|
375 |
-
if ( 'success_message_hide_form' !== happyforms_get_form_property( $form, 'confirm_submission' ) && happyforms_is_falsy( happyforms_get_form_property( $form, 'form_hide_on_submit' ) ) ) {
|
376 |
-
return;
|
377 |
-
}
|
378 |
-
|
379 |
add_filter( 'happyforms_form_has_captcha', '__return_false', 10, 2 );
|
380 |
|
381 |
add_action( 'happyforms_part_before', 'ob_start', 10, 0 );
|
382 |
add_action( 'happyforms_part_after', 'ob_end_clean', 10, 0 );
|
383 |
add_action( 'happyforms_form_submit_before', 'ob_start', 10, 0 );
|
384 |
add_action( 'happyforms_form_submit_after', 'ob_end_clean', 10, 0 );
|
|
|
385 |
}
|
386 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
387 |
}
|
388 |
|
389 |
if ( ! function_exists( 'happyforms_get_setup' ) ):
|
54 |
global $current_user;
|
55 |
|
56 |
$fields = array(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
57 |
'redirect_url' => array(
|
58 |
'default' => '',
|
59 |
'sanitize' => 'sanitize_text_field',
|
60 |
),
|
|
|
|
|
|
|
|
|
61 |
'spam_prevention' => array(
|
62 |
'default' => 1,
|
63 |
'sanitize' => 'happyforms_sanitize_checkbox',
|
118 |
public function get_messages_fields( $fields ) {
|
119 |
$messages_fields = array(
|
120 |
'confirmation_message' => array(
|
121 |
+
'default' => __( "We've got your submission.", 'happyforms' ),
|
122 |
'sanitize' => 'esc_html',
|
123 |
),
|
124 |
'error_message' => array(
|
129 |
'default' => __( 'Send', 'happyforms' ),
|
130 |
'sanitize' => 'sanitize_text_field',
|
131 |
),
|
132 |
+
'fill_out_again_link' => array(
|
133 |
+
'default' => __( 'Fill out this form again', 'happyforms' ),
|
134 |
+
'sanitize' => 'sanitize_text_field',
|
135 |
+
)
|
136 |
);
|
137 |
|
138 |
$fields = array_merge( $fields, $messages_fields );
|
142 |
|
143 |
public function get_controls() {
|
144 |
$controls = array(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
145 |
1100 => array(
|
146 |
'type' => 'add_submit_button_class-checkbox',
|
147 |
'label' => __( 'Add custom CSS classes to submit button', 'happyforms' ),
|
204 |
'label' => __( 'Submit form', 'happyforms' ),
|
205 |
'field' => 'submit_button_label',
|
206 |
),
|
207 |
+
2021 => array(
|
208 |
+
'type' => 'text',
|
209 |
+
'label' => __( 'Fill out again the form', 'happyforms' ),
|
210 |
+
'field' => 'fill_out_again_link',
|
211 |
+
),
|
212 |
);
|
213 |
|
214 |
$controls = happyforms_safe_array_merge( $controls, $message_controls );
|
352 |
}
|
353 |
|
354 |
public function submission_success( $submission, $form, $message ) {
|
|
|
|
|
|
|
|
|
355 |
add_filter( 'happyforms_form_has_captcha', '__return_false', 10, 2 );
|
356 |
|
357 |
add_action( 'happyforms_part_before', 'ob_start', 10, 0 );
|
358 |
add_action( 'happyforms_part_after', 'ob_end_clean', 10, 0 );
|
359 |
add_action( 'happyforms_form_submit_before', 'ob_start', 10, 0 );
|
360 |
add_action( 'happyforms_form_submit_after', 'ob_end_clean', 10, 0 );
|
361 |
+
add_action( 'happyforms_parts_after', array( $this, 'after_submission_links'), 20 );
|
362 |
}
|
363 |
|
364 |
+
public function after_submission_links ( $form ) {
|
365 |
+
$template = happyforms_get_core_folder() . '/templates/partials/form-after-submission-links.php';
|
366 |
+
$template = apply_filters( 'happyforms_after_submission_links_template', $template );
|
367 |
+
|
368 |
+
ob_start();
|
369 |
+
require_once( $template );
|
370 |
+
$html = ob_get_clean();
|
371 |
+
|
372 |
+
echo $html;
|
373 |
+
}
|
374 |
}
|
375 |
|
376 |
if ( ! function_exists( 'happyforms_get_setup' ) ):
|
core/classes/parts/class-part-checkbox.php
CHANGED
@@ -264,7 +264,7 @@ class HappyForms_Part_Checkbox extends HappyForms_Form_Part {
|
|
264 |
return $validated_value;
|
265 |
}
|
266 |
|
267 |
-
$options =
|
268 |
$intersection = array_intersect( $options, $validated_value );
|
269 |
|
270 |
if ( count( $validated_value ) !== count( $intersection ) ) {
|
@@ -286,7 +286,7 @@ class HappyForms_Part_Checkbox extends HappyForms_Form_Part {
|
|
286 |
|
287 |
$numeric_values = array_filter( $validated_value, 'is_int' );
|
288 |
$array_values = array_filter( $validated_value, 'is_array' );
|
289 |
-
$options =
|
290 |
$intersection = array_intersect( $options, $numeric_values );
|
291 |
|
292 |
if ( count( $numeric_values ) !== count( $intersection ) ) {
|
264 |
return $validated_value;
|
265 |
}
|
266 |
|
267 |
+
$options = array_keys( $part['options'] );
|
268 |
$intersection = array_intersect( $options, $validated_value );
|
269 |
|
270 |
if ( count( $validated_value ) !== count( $intersection ) ) {
|
286 |
|
287 |
$numeric_values = array_filter( $validated_value, 'is_int' );
|
288 |
$array_values = array_filter( $validated_value, 'is_array' );
|
289 |
+
$options = array_keys( $part['options'] );
|
290 |
$intersection = array_intersect( $options, $numeric_values );
|
291 |
|
292 |
if ( count( $numeric_values ) !== count( $intersection ) ) {
|
core/classes/parts/class-part-radio.php
CHANGED
@@ -217,9 +217,7 @@ class HappyForms_Part_Radio extends HappyForms_Form_Part {
|
|
217 |
return new WP_Error( 'error', happyforms_get_validation_message( 'field_invalid' ) );
|
218 |
}
|
219 |
|
220 |
-
|
221 |
-
|
222 |
-
if ( ! in_array( $validated_value, $options ) ) {
|
223 |
return new WP_Error( 'error', happyforms_get_validation_message( 'field_invalid' ) );
|
224 |
}
|
225 |
}
|
217 |
return new WP_Error( 'error', happyforms_get_validation_message( 'field_invalid' ) );
|
218 |
}
|
219 |
|
220 |
+
if ( ! in_array( $validated_value, array_keys( $part['options'] ) ) ) {
|
|
|
|
|
221 |
return new WP_Error( 'error', happyforms_get_validation_message( 'field_invalid' ) );
|
222 |
}
|
223 |
}
|
core/classes/parts/class-part-select.php
CHANGED
@@ -213,9 +213,7 @@ class HappyForms_Part_Select extends HappyForms_Form_Part {
|
|
213 |
return new WP_Error( 'error', happyforms_get_validation_message( 'field_invalid' ) );
|
214 |
}
|
215 |
|
216 |
-
|
217 |
-
|
218 |
-
if ( ! in_array( intval( $validated_value ), $options ) ) {
|
219 |
return new WP_Error( 'error', happyforms_get_validation_message( 'field_invalid' ) );
|
220 |
}
|
221 |
}
|
213 |
return new WP_Error( 'error', happyforms_get_validation_message( 'field_invalid' ) );
|
214 |
}
|
215 |
|
216 |
+
if ( ! in_array( intval( $validated_value ), array_keys( $part['options'] ) ) ) {
|
|
|
|
|
217 |
return new WP_Error( 'error', happyforms_get_validation_message( 'field_invalid' ) );
|
218 |
}
|
219 |
}
|
core/helpers/helper-misc.php
CHANGED
@@ -894,7 +894,7 @@ endif;
|
|
894 |
if ( ! function_exists( 'happyforms_customize_part_footer' ) ):
|
895 |
|
896 |
function happyforms_customize_part_footer() {
|
897 |
-
$template =
|
898 |
$template = apply_filters( 'happyforms_part_customize_footer_template_path', $template );
|
899 |
|
900 |
$html = '';
|
@@ -927,6 +927,42 @@ function happyforms_customize_part_logic() {
|
|
927 |
|
928 |
endif;
|
929 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
930 |
if ( ! function_exists( 'happyforms_customize_part_width_control' ) ) :
|
931 |
|
932 |
function happyforms_customize_part_width_control() {
|
894 |
if ( ! function_exists( 'happyforms_customize_part_footer' ) ):
|
895 |
|
896 |
function happyforms_customize_part_footer() {
|
897 |
+
$template = happyforms_get_include_folder() . '/templates/customize-form-part-footer.php';
|
898 |
$template = apply_filters( 'happyforms_part_customize_footer_template_path', $template );
|
899 |
|
900 |
$html = '';
|
927 |
|
928 |
endif;
|
929 |
|
930 |
+
if ( ! function_exists( 'happyforms_customize_part_choice_logic' ) ) :
|
931 |
+
|
932 |
+
function happyforms_customize_part_choice_logic() {
|
933 |
+
$template_path = '';
|
934 |
+
$template_html = '';
|
935 |
+
|
936 |
+
$template_path = apply_filters( 'happyforms_customize_part_choice_logic_template_path', $template_path );
|
937 |
+
|
938 |
+
if ( '' !== $template_path ) {
|
939 |
+
ob_start();
|
940 |
+
require( $template_path );
|
941 |
+
$template_html = ob_get_clean();
|
942 |
+
}
|
943 |
+
|
944 |
+
echo $template_html;
|
945 |
+
}
|
946 |
+
|
947 |
+
endif;
|
948 |
+
|
949 |
+
if ( ! function_exists( 'happyforms_customize_part_choice_footer' ) ):
|
950 |
+
|
951 |
+
function happyforms_customize_part_choice_footer() {
|
952 |
+
$template = happyforms_get_include_folder() . '/templates/customize-form-part-choice-footer.php';
|
953 |
+
$template = apply_filters( 'happyforms_customize_part_choice_footer_template_path', $template );
|
954 |
+
|
955 |
+
$html = '';
|
956 |
+
|
957 |
+
ob_start();
|
958 |
+
require( $template );
|
959 |
+
$html = ob_get_clean();
|
960 |
+
|
961 |
+
echo $html;
|
962 |
+
}
|
963 |
+
|
964 |
+
endif;
|
965 |
+
|
966 |
if ( ! function_exists( 'happyforms_customize_part_width_control' ) ) :
|
967 |
|
968 |
function happyforms_customize_part_width_control() {
|
core/templates/partials/form-after-submission-links.php
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
<div class="happyforms-form__part happyforms-part happyforms-form-links">
|
2 |
+
<button type="button" class="happyforms-text-button happyforms-fill-out-again"><?php echo $form['fill_out_again_link']; ?></button>
|
3 |
+
</div>
|
core/templates/parts/customize-checkbox.php
CHANGED
@@ -148,7 +148,7 @@
|
|
148 |
</p>
|
149 |
<p>
|
150 |
<label>
|
151 |
-
<?php _e( 'Max
|
152 |
<input type="number" class="widefat" name="limit_submissions_amount" min="0" value="<%= typeof limit_submissions_amount !== 'undefined' ? limit_submissions_amount : '' %>">
|
153 |
</label>
|
154 |
</p>
|
@@ -157,10 +157,13 @@
|
|
157 |
<input type="checkbox" name="is_default" value="1" <% if (is_default == 1) { %> checked="checked"<% } %>> <?php _e( 'Make this choice default', 'happyforms' ); ?>
|
158 |
</label>
|
159 |
</p>
|
160 |
-
<div class="
|
161 |
-
<
|
162 |
-
|
|
|
163 |
</div>
|
|
|
|
|
164 |
</div>
|
165 |
</div>
|
166 |
</li>
|
@@ -185,10 +188,13 @@
|
|
185 |
<input type="text" class="widefat" name="label" value="<%= label %>" data-option-attribute="label">
|
186 |
</label>
|
187 |
</p>
|
188 |
-
<div class="
|
189 |
-
<
|
190 |
-
|
|
|
191 |
</div>
|
|
|
|
|
192 |
</div>
|
193 |
</div>
|
194 |
</li>
|
148 |
</p>
|
149 |
<p>
|
150 |
<label>
|
151 |
+
<?php _e( 'Max times this choice can be submitted', 'happyforms' ); ?>:
|
152 |
<input type="number" class="widefat" name="limit_submissions_amount" min="0" value="<%= typeof limit_submissions_amount !== 'undefined' ? limit_submissions_amount : '' %>">
|
153 |
</label>
|
154 |
</p>
|
157 |
<input type="checkbox" name="is_default" value="1" <% if (is_default == 1) { %> checked="checked"<% } %>> <?php _e( 'Make this choice default', 'happyforms' ); ?>
|
158 |
</label>
|
159 |
</p>
|
160 |
+
<div class="happyforms-part-choice-logic-wrap">
|
161 |
+
<div class="happyforms-logic-view">
|
162 |
+
<?php happyforms_customize_part_choice_logic(); ?>
|
163 |
+
</div>
|
164 |
</div>
|
165 |
+
|
166 |
+
<?php happyforms_customize_part_choice_footer(); ?>
|
167 |
</div>
|
168 |
</div>
|
169 |
</li>
|
188 |
<input type="text" class="widefat" name="label" value="<%= label %>" data-option-attribute="label">
|
189 |
</label>
|
190 |
</p>
|
191 |
+
<div class="happyforms-part-choice-logic-wrap">
|
192 |
+
<div class="happyforms-logic-view">
|
193 |
+
<?php happyforms_customize_part_choice_logic(); ?>
|
194 |
+
</div>
|
195 |
</div>
|
196 |
+
|
197 |
+
<?php happyforms_customize_part_choice_footer(); ?>
|
198 |
</div>
|
199 |
</div>
|
200 |
</li>
|
core/templates/parts/customize-radio.php
CHANGED
@@ -134,7 +134,7 @@ Click the "Add Choice" button to start.', 'happyforms' ); ?></p>
|
|
134 |
</p>
|
135 |
<p>
|
136 |
<label>
|
137 |
-
<?php _e( 'Max
|
138 |
<input type="number" class="widefat" name="limit_submissions_amount" min="0" value="<%= typeof limit_submissions_amount !== 'undefined' ? limit_submissions_amount : '' %>">
|
139 |
</label>
|
140 |
</p>
|
@@ -143,10 +143,14 @@ Click the "Add Choice" button to start.', 'happyforms' ); ?></p>
|
|
143 |
<input type="checkbox" name="is_default" value="1" class="default-option-switch"<% if (is_default == 1) { %> checked="checked"<% } %>> <?php _e( 'Make this choice default', 'happyforms' ); ?>
|
144 |
</label>
|
145 |
</p>
|
146 |
-
|
147 |
-
|
148 |
-
<
|
|
|
|
|
149 |
</div>
|
|
|
|
|
150 |
</div>
|
151 |
</div>
|
152 |
</li>
|
@@ -171,10 +175,14 @@ Click the "Add Choice" button to start.', 'happyforms' ); ?></p>
|
|
171 |
<input type="text" class="widefat" name="label" value="<%= label %>" data-option-attribute="label">
|
172 |
</label>
|
173 |
</p>
|
174 |
-
|
175 |
-
|
176 |
-
<
|
|
|
|
|
177 |
</div>
|
|
|
|
|
178 |
</div>
|
179 |
</div>
|
180 |
</li>
|
134 |
</p>
|
135 |
<p>
|
136 |
<label>
|
137 |
+
<?php _e( 'Max times this choice can be submitted', 'happyforms' ); ?>:
|
138 |
<input type="number" class="widefat" name="limit_submissions_amount" min="0" value="<%= typeof limit_submissions_amount !== 'undefined' ? limit_submissions_amount : '' %>">
|
139 |
</label>
|
140 |
</p>
|
143 |
<input type="checkbox" name="is_default" value="1" class="default-option-switch"<% if (is_default == 1) { %> checked="checked"<% } %>> <?php _e( 'Make this choice default', 'happyforms' ); ?>
|
144 |
</label>
|
145 |
</p>
|
146 |
+
|
147 |
+
<div class="happyforms-part-choice-logic-wrap">
|
148 |
+
<div class="happyforms-logic-view">
|
149 |
+
<?php happyforms_customize_part_choice_logic(); ?>
|
150 |
+
</div>
|
151 |
</div>
|
152 |
+
|
153 |
+
<?php happyforms_customize_part_choice_footer(); ?>
|
154 |
</div>
|
155 |
</div>
|
156 |
</li>
|
175 |
<input type="text" class="widefat" name="label" value="<%= label %>" data-option-attribute="label">
|
176 |
</label>
|
177 |
</p>
|
178 |
+
|
179 |
+
<div class="happyforms-part-choice-logic-wrap">
|
180 |
+
<div class="happyforms-logic-view">
|
181 |
+
<?php happyforms_customize_part_choice_logic(); ?>
|
182 |
+
</div>
|
183 |
</div>
|
184 |
+
|
185 |
+
<?php happyforms_customize_part_choice_footer(); ?>
|
186 |
</div>
|
187 |
</div>
|
188 |
</li>
|
core/templates/parts/customize-select.php
CHANGED
@@ -119,7 +119,7 @@
|
|
119 |
</p>
|
120 |
<p>
|
121 |
<label>
|
122 |
-
<?php _e( 'Max
|
123 |
<input type="number" class="widefat" name="limit_submissions_amount" min="0" value="<%= typeof limit_submissions_amount !== 'undefined' ? limit_submissions_amount : '' %>">
|
124 |
</label>
|
125 |
</p>
|
@@ -128,10 +128,13 @@
|
|
128 |
<input type="checkbox" name="is_default" value="1" class="default-option-switch"<% if (is_default == 1) { %> checked="checked"<% } %>> <?php _e( 'Make this choice default', 'happyforms' ); ?>
|
129 |
</label>
|
130 |
</p>
|
131 |
-
<div class="
|
132 |
-
<
|
133 |
-
|
|
|
134 |
</div>
|
|
|
|
|
135 |
</div>
|
136 |
</div>
|
137 |
</li>
|
@@ -156,10 +159,13 @@
|
|
156 |
<input type="text" class="widefat" name="label" value="<%= label %>" data-option-attribute="label">
|
157 |
</label>
|
158 |
</p>
|
159 |
-
<div class="
|
160 |
-
<
|
161 |
-
|
|
|
162 |
</div>
|
|
|
|
|
163 |
</div>
|
164 |
</div>
|
165 |
</li>
|
119 |
</p>
|
120 |
<p>
|
121 |
<label>
|
122 |
+
<?php _e( 'Max times this choice can be submitted', 'happyforms' ); ?>:
|
123 |
<input type="number" class="widefat" name="limit_submissions_amount" min="0" value="<%= typeof limit_submissions_amount !== 'undefined' ? limit_submissions_amount : '' %>">
|
124 |
</label>
|
125 |
</p>
|
128 |
<input type="checkbox" name="is_default" value="1" class="default-option-switch"<% if (is_default == 1) { %> checked="checked"<% } %>> <?php _e( 'Make this choice default', 'happyforms' ); ?>
|
129 |
</label>
|
130 |
</p>
|
131 |
+
<div class="happyforms-part-choice-logic-wrap">
|
132 |
+
<div class="happyforms-logic-view">
|
133 |
+
<?php happyforms_customize_part_choice_logic(); ?>
|
134 |
+
</div>
|
135 |
</div>
|
136 |
+
|
137 |
+
<?php happyforms_customize_part_choice_footer(); ?>
|
138 |
</div>
|
139 |
</div>
|
140 |
</li>
|
159 |
<input type="text" class="widefat" name="label" value="<%= label %>" data-option-attribute="label">
|
160 |
</label>
|
161 |
</p>
|
162 |
+
<div class="happyforms-part-choice-logic-wrap">
|
163 |
+
<div class="happyforms-logic-view">
|
164 |
+
<?php happyforms_customize_part_choice_logic(); ?>
|
165 |
+
</div>
|
166 |
</div>
|
167 |
+
|
168 |
+
<?php happyforms_customize_part_choice_footer(); ?>
|
169 |
</div>
|
170 |
</div>
|
171 |
</li>
|
core/templates/parts/frontend-checkbox.php
CHANGED
@@ -22,7 +22,7 @@
|
|
22 |
if ( happyforms_is_truthy( $option['is_heading'] ) ) {
|
23 |
$option_classes .= ' option-heading';
|
24 |
?>
|
25 |
-
<div class="<?php echo $option_classes; ?>" id="<?php echo
|
26 |
<label class="heading-label"><?php echo esc_attr( $option['label'] ); ?></label>
|
27 |
</div>
|
28 |
<?php
|
22 |
if ( happyforms_is_truthy( $option['is_heading'] ) ) {
|
23 |
$option_classes .= ' option-heading';
|
24 |
?>
|
25 |
+
<div class="<?php echo $option_classes; ?>" id="<?php echo esc_attr( $option['id'] ); ?>">
|
26 |
<label class="heading-label"><?php echo esc_attr( $option['label'] ); ?></label>
|
27 |
</div>
|
28 |
<?php
|
core/templates/parts/frontend-radio.php
CHANGED
@@ -19,7 +19,7 @@
|
|
19 |
if ( happyforms_is_truthy( $option['is_heading'] ) ) {
|
20 |
$option_classes .= ' option-heading';
|
21 |
?>
|
22 |
-
<div class="<?php echo $option_classes; ?>" id="<?php echo
|
23 |
<label class="heading-label"><?php echo esc_attr( $option['label'] ); ?></label>
|
24 |
</div>
|
25 |
<?php
|
19 |
if ( happyforms_is_truthy( $option['is_heading'] ) ) {
|
20 |
$option_classes .= ' option-heading';
|
21 |
?>
|
22 |
+
<div class="<?php echo $option_classes; ?>" id="<?php echo esc_attr( $option['id'] ); ?>">
|
23 |
<label class="heading-label"><?php echo esc_attr( $option['label'] ); ?></label>
|
24 |
</div>
|
25 |
<?php
|
happyforms.php
CHANGED
@@ -3,9 +3,9 @@
|
|
3 |
/**
|
4 |
* Plugin Name: Happyforms (free)
|
5 |
* Plugin URI: https://happyforms.io
|
6 |
-
* Description:
|
7 |
* Author: Happyforms
|
8 |
-
* Version: 1.
|
9 |
* Author URI: https://happyforms.io
|
10 |
* Upgrade URI: https://happyforms.io/upgrade
|
11 |
*/
|
@@ -22,7 +22,7 @@ if ( defined( 'HAPPYFORMS_UPGRADE_VERSION' ) ) {
|
|
22 |
/**
|
23 |
* The current version of the plugin.
|
24 |
*/
|
25 |
-
define( 'HAPPYFORMS_VERSION', '1.
|
26 |
|
27 |
if ( ! function_exists( 'happyforms_get_version' ) ):
|
28 |
|
3 |
/**
|
4 |
* Plugin Name: Happyforms (free)
|
5 |
* Plugin URI: https://happyforms.io
|
6 |
+
* Description: Form builder to get in touch with visitors, grow your email list and collect payments.
|
7 |
* Author: Happyforms
|
8 |
+
* Version: 1.18.0
|
9 |
* Author URI: https://happyforms.io
|
10 |
* Upgrade URI: https://happyforms.io/upgrade
|
11 |
*/
|
22 |
/**
|
23 |
* The current version of the plugin.
|
24 |
*/
|
25 |
+
define( 'HAPPYFORMS_VERSION', '1.18.0' );
|
26 |
|
27 |
if ( ! function_exists( 'happyforms_get_version' ) ):
|
28 |
|
inc/assets/css/frontend/color.css
CHANGED
@@ -1046,3 +1046,44 @@
|
|
1046 |
.happyforms-part--signature .option-label .label p:last-child {
|
1047 |
margin-bottom: 0;
|
1048 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1046 |
.happyforms-part--signature .option-label .label p:last-child {
|
1047 |
margin-bottom: 0;
|
1048 |
}
|
1049 |
+
|
1050 |
+
.happyforms-styles button.happyforms-text-button {
|
1051 |
+
-webkit-appearance: none;
|
1052 |
+
height: auto;
|
1053 |
+
font-weight: normal;
|
1054 |
+
font-style: normal;
|
1055 |
+
font-size: 16px;
|
1056 |
+
background-color: #000;
|
1057 |
+
background-color: var(--happyforms-color-submit-background);
|
1058 |
+
background: #000;
|
1059 |
+
background: var(--happyforms-color-submit-background);
|
1060 |
+
text-transform: none;
|
1061 |
+
transition-property: all;
|
1062 |
+
transition-duration: 0.25s;
|
1063 |
+
transition-duration: var(--happyforms-transition-duration);
|
1064 |
+
transition-timing-function: ease-in;
|
1065 |
+
-webkit-box-shadow: none;
|
1066 |
+
-moz-box-shadow: none;
|
1067 |
+
box-shadow: none;
|
1068 |
+
text-shadow: none;
|
1069 |
+
text-decoration: none;
|
1070 |
+
letter-spacing: 0;
|
1071 |
+
white-space: normal;
|
1072 |
+
overflow-wrap: anywhere;
|
1073 |
+
outline: 0;
|
1074 |
+
}
|
1075 |
+
|
1076 |
+
.happyforms-styles button.happyforms-text-button {
|
1077 |
+
background-color: transparent !important;
|
1078 |
+
padding: 0;
|
1079 |
+
font-size: var(--happyforms-part-value-font-size);
|
1080 |
+
color: #000 !important;
|
1081 |
+
color: var(--happyforms-color-part-value) !important;
|
1082 |
+
border: 0px solid transparent !important;
|
1083 |
+
width: auto !important;
|
1084 |
+
border-width: 0px !important;
|
1085 |
+
font-weight: normal !important;
|
1086 |
+
text-decoration: underline;
|
1087 |
+
display: inline-block;
|
1088 |
+
cursor: pointer;
|
1089 |
+
}
|
inc/assets/js/customize.js
CHANGED
@@ -736,6 +736,14 @@
|
|
736 |
var attrs = part.toJSON();
|
737 |
delete attrs.id;
|
738 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
739 |
var duplicate = PartFactory.model(
|
740 |
attrs,
|
741 |
{ collection: this.model.get( 'parts' ) },
|
@@ -1042,6 +1050,7 @@
|
|
1042 |
'click .apply-all-check': 'applyOptionGlobally',
|
1043 |
'click .happyforms-form-part-advanced-settings': 'onAdvancedSettingsClick',
|
1044 |
'click .happyforms-form-part-logic': 'openUpgradeModal',
|
|
|
1045 |
'click .input_dummy': 'openUpgradeModal',
|
1046 |
},
|
1047 |
|
@@ -1517,6 +1526,7 @@
|
|
1517 |
'change input[type=number]': 'onNumberChange',
|
1518 |
'click .customize-control-checkbox_dummy': 'openUpgradeModal',
|
1519 |
'click .customize-control-number_dummy': 'openUpgradeModal',
|
|
|
1520 |
} ),
|
1521 |
|
1522 |
pointers: {},
|
@@ -1651,6 +1661,7 @@
|
|
1651 |
'click .customize-control-checkbox_dummy': 'openUpgradeModal',
|
1652 |
'click .customize-control-email-parts-list_dummy': 'openUpgradeModal',
|
1653 |
'click .customize-control-number_dummy': 'openUpgradeModal',
|
|
|
1654 |
} ),
|
1655 |
|
1656 |
editors: {
|
736 |
var attrs = part.toJSON();
|
737 |
delete attrs.id;
|
738 |
|
739 |
+
if ( [ 'radio', 'checkbox', 'select' ].includes( part.get( 'type' ) ) ) {
|
740 |
+
var duplicatePartId = happyForms.utils.uniqueId( part.get( 'type' ) + '_', part.collection );
|
741 |
+
|
742 |
+
for ( var o = 0; o < attrs.options.length; o ++ ) {
|
743 |
+
attrs.options[o].id = attrs.options[o].id.replace( `${part.id}_`, `${duplicatePartId}_` );
|
744 |
+
}
|
745 |
+
}
|
746 |
+
|
747 |
var duplicate = PartFactory.model(
|
748 |
attrs,
|
749 |
{ collection: this.model.get( 'parts' ) },
|
1050 |
'click .apply-all-check': 'applyOptionGlobally',
|
1051 |
'click .happyforms-form-part-advanced-settings': 'onAdvancedSettingsClick',
|
1052 |
'click .happyforms-form-part-logic': 'openUpgradeModal',
|
1053 |
+
'click .happyforms-item-logic': 'openUpgradeModal',
|
1054 |
'click .input_dummy': 'openUpgradeModal',
|
1055 |
},
|
1056 |
|
1526 |
'change input[type=number]': 'onNumberChange',
|
1527 |
'click .customize-control-checkbox_dummy': 'openUpgradeModal',
|
1528 |
'click .customize-control-number_dummy': 'openUpgradeModal',
|
1529 |
+
'click .customize-control-text_dummy': 'openUpgradeModal',
|
1530 |
} ),
|
1531 |
|
1532 |
pointers: {},
|
1661 |
'click .customize-control-checkbox_dummy': 'openUpgradeModal',
|
1662 |
'click .customize-control-email-parts-list_dummy': 'openUpgradeModal',
|
1663 |
'click .customize-control-number_dummy': 'openUpgradeModal',
|
1664 |
+
'click .customize-control-text_dummy': 'openUpgradeModal',
|
1665 |
} ),
|
1666 |
|
1667 |
editors: {
|
inc/assets/js/frontend.js
CHANGED
@@ -183,6 +183,7 @@
|
|
183 |
this.$submit.on( 'click', this.buttonSubmit.bind( this ) );
|
184 |
this.$submitLinks.on( 'click', this.linkSubmit.bind( this ) );
|
185 |
this.$el.on( 'happyforms-scrolltop', this.onScrollTop.bind( this ) );
|
|
|
186 |
},
|
187 |
|
188 |
detach: function() {
|
@@ -349,7 +350,20 @@
|
|
349 |
$( 'html, body' ).animate( {
|
350 |
scrollTop: offset + 'px'
|
351 |
}, 500 );
|
352 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
353 |
}
|
354 |
|
355 |
HappyForms.Part = function( el ) {
|
183 |
this.$submit.on( 'click', this.buttonSubmit.bind( this ) );
|
184 |
this.$submitLinks.on( 'click', this.linkSubmit.bind( this ) );
|
185 |
this.$el.on( 'happyforms-scrolltop', this.onScrollTop.bind( this ) );
|
186 |
+
this.$el.on( 'click', '.happyforms-fill-out-again', this.fillAgain.bind( this ) );
|
187 |
},
|
188 |
|
189 |
detach: function() {
|
350 |
$( 'html, body' ).animate( {
|
351 |
scrollTop: offset + 'px'
|
352 |
}, 500 );
|
353 |
+
},
|
354 |
+
|
355 |
+
fillAgain: function( e ) {
|
356 |
+
e.preventDefault();
|
357 |
+
|
358 |
+
var path = window.location.pathname;
|
359 |
+
path = path.substring(0, path.length - 1);
|
360 |
+
|
361 |
+
var url = window.location.origin + path;
|
362 |
+
url += '#' + this.$form.attr( 'id' );
|
363 |
+
|
364 |
+
window.history.pushState( null, null, url );
|
365 |
+
window.location.reload();
|
366 |
+
},
|
367 |
}
|
368 |
|
369 |
HappyForms.Part = function( el ) {
|
inc/classes/class-answer-limiter-dummy.php
CHANGED
@@ -35,7 +35,7 @@ class HappyForms_Answer_Limiter_Dummy {
|
|
35 |
public function add_part_controls() {
|
36 |
?>
|
37 |
<p class="input_dummy">
|
38 |
-
<label><?php _e( 'Max times the same answer
|
39 |
<span class="members-only"><?php _e( 'Members Only', 'happyforms') ?></span>
|
40 |
<input type="number" />
|
41 |
</p>
|
@@ -52,4 +52,4 @@ function happyforms_answer_limiter_dummy() {
|
|
52 |
|
53 |
endif;
|
54 |
|
55 |
-
happyforms_answer_limiter_dummy();
|
35 |
public function add_part_controls() {
|
36 |
?>
|
37 |
<p class="input_dummy">
|
38 |
+
<label><?php _e( 'Max times the same answer can be submitted', 'happyforms' ); ?>:</label>
|
39 |
<span class="members-only"><?php _e( 'Members Only', 'happyforms') ?></span>
|
40 |
<input type="number" />
|
41 |
</p>
|
52 |
|
53 |
endif;
|
54 |
|
55 |
+
happyforms_answer_limiter_dummy();
|
inc/classes/class-happyforms.php
CHANGED
@@ -50,9 +50,6 @@ class HappyForms extends HappyForms_Core {
|
|
50 |
require_once( happyforms_get_include_folder() . '/classes/parts/class-part-scale-dummy.php' );
|
51 |
$part_library->register_part( 'HappyForms_Part_Scale_Dummy', 14 );
|
52 |
|
53 |
-
require_once( happyforms_get_include_folder() . '/classes/parts/class-part-likert-scale-dummy.php' );
|
54 |
-
$part_library->register_part( 'HappyForms_Part_LikertScale_Dummy', 16 );
|
55 |
-
|
56 |
require_once( happyforms_get_include_folder() . '/classes/parts/class-part-signature-dummy.php' );
|
57 |
$part_library->register_part( 'HappyForms_Part_Signature_Dummy', 19 );
|
58 |
|
@@ -100,6 +97,12 @@ class HappyForms extends HappyForms_Core {
|
|
100 |
'id' => 'happyforms-redirect-upsell',
|
101 |
);
|
102 |
|
|
|
|
|
|
|
|
|
|
|
|
|
103 |
$controls[1450] = array(
|
104 |
'type' => 'checkbox_dummy',
|
105 |
'dummy_id' => 'shuffle_parts',
|
@@ -225,6 +228,10 @@ class HappyForms extends HappyForms_Core {
|
|
225 |
if ( 'panel_dummy' === $type ) {
|
226 |
require( happyforms_get_include_folder() . '/templates/customize-controls/panel_dummy.php' );
|
227 |
}
|
|
|
|
|
|
|
|
|
228 |
}
|
229 |
|
230 |
public function admin_enqueue_scripts() {
|
50 |
require_once( happyforms_get_include_folder() . '/classes/parts/class-part-scale-dummy.php' );
|
51 |
$part_library->register_part( 'HappyForms_Part_Scale_Dummy', 14 );
|
52 |
|
|
|
|
|
|
|
53 |
require_once( happyforms_get_include_folder() . '/classes/parts/class-part-signature-dummy.php' );
|
54 |
$part_library->register_part( 'HappyForms_Part_Signature_Dummy', 19 );
|
55 |
|
97 |
'id' => 'happyforms-redirect-upsell',
|
98 |
);
|
99 |
|
100 |
+
$controls[1449] = array(
|
101 |
+
'type' => 'text_dummy',
|
102 |
+
'dummy_id' => 'redirect_url',
|
103 |
+
'label' => __( 'Redirect to this page address (URL) after submission', 'happyforms' ),
|
104 |
+
);
|
105 |
+
|
106 |
$controls[1450] = array(
|
107 |
'type' => 'checkbox_dummy',
|
108 |
'dummy_id' => 'shuffle_parts',
|
228 |
if ( 'panel_dummy' === $type ) {
|
229 |
require( happyforms_get_include_folder() . '/templates/customize-controls/panel_dummy.php' );
|
230 |
}
|
231 |
+
|
232 |
+
if ( 'text_dummy' === $type ) {
|
233 |
+
require( happyforms_get_include_folder() . '/templates/customize-controls/text_dummy.php' );
|
234 |
+
}
|
235 |
}
|
236 |
|
237 |
public function admin_enqueue_scripts() {
|
inc/classes/parts/class-part-likert-scale-dummy.php
DELETED
@@ -1,12 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
class HappyForms_Part_LikertScale_Dummy extends HappyForms_Form_Part {
|
4 |
-
|
5 |
-
public $type = 'likert_scale_dummy';
|
6 |
-
|
7 |
-
public function __construct() {
|
8 |
-
$this->label = __( 'Scale', 'happyforms' );
|
9 |
-
$this->description = __( 'For collecting ratings using a fixed numeric scale.', 'happyforms' );
|
10 |
-
}
|
11 |
-
|
12 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
inc/templates/customize-controls/text_dummy.php
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<div class="customize-control customize-control-number customize-control-text_dummy input_dummy" id="customize-control-<?php echo $control['dummy_id']; ?>">
|
2 |
+
<div class="customize-inside-control-row" data-pointer-target>
|
3 |
+
<label for="max_entries" class="customize-control-title">
|
4 |
+
<?php echo $control['label']; ?> <span class="members-only"><?php _e( 'Members Only', 'happyforms') ?></span>
|
5 |
+
</label>
|
6 |
+
<input type="text" />
|
7 |
+
</div>
|
8 |
+
</div>
|
inc/templates/customize-form-part-choice-footer.php
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<div class="option-actions">
|
2 |
+
<a href="#" class="happyforms-delete-item"><?php _e( 'Delete', 'happyforms' ); ?></a> |
|
3 |
+
<a href="#" class="happyforms-duplicate-item"><?php _e( 'Duplicate', 'happyforms' ); ?></a>
|
4 |
+
<a href="#" class="happyforms-item-logic"><?php _e( 'Logic', 'happyforms' ); ?><span class="members-only"><?php _e( 'Members Only', 'happyforms') ?></span></a>
|
5 |
+
</div>
|
{core → inc}/templates/customize-form-part-footer.php
RENAMED
File without changes
|
languages/happyforms.pot
CHANGED
@@ -2,14 +2,14 @@
|
|
2 |
# This file is distributed under the same license as the Happyforms (free) plugin.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: Happyforms (free) 1.
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/happyforms/\n"
|
7 |
"Last-Translator: The Theme Foundry\n"
|
8 |
"Language-Team: The Theme Foundry\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
-
"POT-Creation-Date: 2022-08-
|
13 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
14 |
"X-Generator: WP-CLI 2.4.0\n"
|
15 |
"X-Domain: happyforms\n"
|
@@ -24,7 +24,7 @@ msgid "https://happyforms.io"
|
|
24 |
msgstr ""
|
25 |
|
26 |
#. Description of the plugin
|
27 |
-
msgid "
|
28 |
msgstr ""
|
29 |
|
30 |
#. Author of the plugin
|
@@ -36,7 +36,7 @@ msgstr ""
|
|
36 |
#: core/classes/class-happyforms-core.php:186
|
37 |
#: core/classes/class-happyforms-core.php:187
|
38 |
#: core/classes/class-happyforms-widget.php:13
|
39 |
-
#: core/helpers/helper-misc.php:
|
40 |
msgid "Forms"
|
41 |
msgstr ""
|
42 |
|
@@ -79,13 +79,8 @@ msgstr ""
|
|
79 |
|
80 |
#: core/classes/class-form-admin.php:454
|
81 |
#: core/templates/customize-form-item.php:27
|
82 |
-
#:
|
83 |
-
#:
|
84 |
-
#: core/templates/parts/customize-checkbox.php:190
|
85 |
-
#: core/templates/parts/customize-radio.php:148
|
86 |
-
#: core/templates/parts/customize-radio.php:176
|
87 |
-
#: core/templates/parts/customize-select.php:133
|
88 |
-
#: core/templates/parts/customize-select.php:161
|
89 |
msgid "Duplicate"
|
90 |
msgstr ""
|
91 |
|
@@ -170,7 +165,7 @@ msgid "Email me a copy of each submission"
|
|
170 |
msgstr ""
|
171 |
|
172 |
#: core/classes/class-form-email.php:106
|
173 |
-
#: inc/classes/class-happyforms.php:
|
174 |
msgid "To email address"
|
175 |
msgstr ""
|
176 |
|
@@ -344,66 +339,58 @@ msgstr ""
|
|
344 |
msgid "Missing validation callback for field %s"
|
345 |
msgstr ""
|
346 |
|
347 |
-
#: core/classes/class-form-setup.php:
|
348 |
msgid "Validate your submission"
|
349 |
msgstr ""
|
350 |
|
351 |
-
#: core/classes/class-form-setup.php:
|
352 |
-
msgid "
|
353 |
msgstr ""
|
354 |
|
355 |
-
#: core/classes/class-form-setup.php:
|
356 |
msgid "Bummer. The form can't be submitted. Please check for mistakes."
|
357 |
msgstr ""
|
358 |
|
359 |
-
#: core/classes/class-form-setup.php:
|
360 |
msgid "Send"
|
361 |
msgstr ""
|
362 |
|
363 |
-
#: core/classes/class-form-setup.php:
|
364 |
-
msgid "
|
365 |
-
msgstr ""
|
366 |
-
|
367 |
-
#: core/classes/class-form-setup.php:157
|
368 |
-
msgid "Show a message"
|
369 |
-
msgstr ""
|
370 |
-
|
371 |
-
#: core/classes/class-form-setup.php:158
|
372 |
-
msgid "Show a message and allow to resubmit the form"
|
373 |
-
msgstr ""
|
374 |
-
|
375 |
-
#: core/classes/class-form-setup.php:159
|
376 |
-
msgid "Redirect to a web address"
|
377 |
msgstr ""
|
378 |
|
379 |
-
#: core/classes/class-form-setup.php:
|
380 |
msgid "Add custom CSS classes to submit button"
|
381 |
msgstr ""
|
382 |
|
383 |
-
#: core/classes/class-form-setup.php:
|
384 |
msgid "Submit button CSS classes"
|
385 |
msgstr ""
|
386 |
|
387 |
-
#: core/classes/class-form-setup.php:
|
388 |
msgid "Add custom HTML ID to form"
|
389 |
msgstr ""
|
390 |
|
391 |
-
#: core/classes/class-form-setup.php:
|
392 |
msgid "Form HTML ID"
|
393 |
msgstr ""
|
394 |
|
395 |
-
#: core/classes/class-form-setup.php:
|
396 |
msgid "Form is successfully submitted"
|
397 |
msgstr ""
|
398 |
|
399 |
-
#: core/classes/class-form-setup.php:
|
400 |
msgid "Form can’t be submitted"
|
401 |
msgstr ""
|
402 |
|
403 |
-
#: core/classes/class-form-setup.php:
|
404 |
msgid "Submit form"
|
405 |
msgstr ""
|
406 |
|
|
|
|
|
|
|
|
|
407 |
#: core/classes/class-form-styles.php:54
|
408 |
msgid "Left-to-right"
|
409 |
msgstr ""
|
@@ -686,16 +673,16 @@ msgstr ""
|
|
686 |
#: core/classes/class-form-styles.php:682
|
687 |
#: core/templates/parts/customize-checkbox.php:4
|
688 |
#: core/templates/parts/customize-checkbox.php:139
|
689 |
-
#: core/templates/parts/customize-checkbox.php:
|
690 |
#: core/templates/parts/customize-email.php:4
|
691 |
#: core/templates/parts/customize-multi-line-text.php:4
|
692 |
#: core/templates/parts/customize-number.php:4
|
693 |
#: core/templates/parts/customize-radio.php:4
|
694 |
#: core/templates/parts/customize-radio.php:125
|
695 |
-
#: core/templates/parts/customize-radio.php:
|
696 |
#: core/templates/parts/customize-select.php:4
|
697 |
#: core/templates/parts/customize-select.php:116
|
698 |
-
#: core/templates/parts/customize-select.php:
|
699 |
#: core/templates/parts/customize-single-line-text.php:4
|
700 |
msgid "Label"
|
701 |
msgstr ""
|
@@ -2634,13 +2621,15 @@ msgid "part value is currently used as subject"
|
|
2634 |
msgstr ""
|
2635 |
|
2636 |
#: core/templates/customize-controls/setup/upsell.php:2
|
2637 |
-
#: core/templates/customize-form-part-footer.php:5
|
2638 |
#: core/templates/customize-form-parts-drawer.php:37
|
2639 |
#: inc/classes/class-answer-limiter-dummy.php:39
|
2640 |
#: inc/templates/customize-controls/checkbox_dummy.php:7
|
2641 |
#: inc/templates/customize-controls/email-parts-list-dummy.php:2
|
2642 |
#: inc/templates/customize-controls/number_dummy.php:4
|
2643 |
#: inc/templates/customize-controls/panel_dummy.php:3
|
|
|
|
|
|
|
2644 |
msgid "Members Only"
|
2645 |
msgstr ""
|
2646 |
|
@@ -2680,13 +2669,8 @@ msgid "Style"
|
|
2680 |
msgstr ""
|
2681 |
|
2682 |
#: core/templates/customize-form-item.php:33
|
2683 |
-
#:
|
2684 |
-
#:
|
2685 |
-
#: core/templates/parts/customize-checkbox.php:189
|
2686 |
-
#: core/templates/parts/customize-radio.php:147
|
2687 |
-
#: core/templates/parts/customize-radio.php:175
|
2688 |
-
#: core/templates/parts/customize-select.php:132
|
2689 |
-
#: core/templates/parts/customize-select.php:160
|
2690 |
msgid "Delete"
|
2691 |
msgstr ""
|
2692 |
|
@@ -2694,8 +2678,9 @@ msgstr ""
|
|
2694 |
msgid "Preview"
|
2695 |
msgstr ""
|
2696 |
|
2697 |
-
#: core/templates/customize-form-part-footer.php:5
|
2698 |
#: core/templates/customize-form-part-logic.php:2
|
|
|
|
|
2699 |
msgid "Logic"
|
2700 |
msgstr ""
|
2701 |
|
@@ -2904,7 +2889,9 @@ msgid "Choice"
|
|
2904 |
msgstr ""
|
2905 |
|
2906 |
#: core/templates/parts/customize-checkbox.php:151
|
2907 |
-
|
|
|
|
|
2908 |
msgstr ""
|
2909 |
|
2910 |
#: core/templates/parts/customize-checkbox.php:157
|
@@ -2913,9 +2900,9 @@ msgstr ""
|
|
2913 |
msgid "Make this choice default"
|
2914 |
msgstr ""
|
2915 |
|
2916 |
-
#: core/templates/parts/customize-checkbox.php:
|
2917 |
-
#: core/templates/parts/customize-radio.php:
|
2918 |
-
#: core/templates/parts/customize-select.php:
|
2919 |
#: inc/classes/parts/class-part-layout-title-dummy.php:8
|
2920 |
msgid "Heading"
|
2921 |
msgstr ""
|
@@ -2981,77 +2968,79 @@ msgid ""
|
|
2981 |
"Click the \"Add Choice\" button to start."
|
2982 |
msgstr ""
|
2983 |
|
2984 |
-
#: core/templates/parts/customize-radio.php:137
|
2985 |
-
#: core/templates/parts/customize-select.php:122
|
2986 |
-
#: inc/classes/class-happyforms.php:136
|
2987 |
-
msgid "Max number of submissions"
|
2988 |
-
msgstr ""
|
2989 |
-
|
2990 |
#: core/templates/preview-form-pencil.php:3
|
2991 |
msgid "Click to edit this part."
|
2992 |
msgstr ""
|
2993 |
|
2994 |
#: inc/classes/class-answer-limiter-dummy.php:38
|
2995 |
-
msgid "Max times the same answer
|
2996 |
msgstr ""
|
2997 |
|
2998 |
-
#: inc/classes/class-happyforms.php:
|
2999 |
msgid "Upgrade"
|
3000 |
msgstr ""
|
3001 |
|
3002 |
-
#: inc/classes/class-happyforms.php:
|
|
|
|
|
|
|
|
|
3003 |
msgid "Shuffle order of fields"
|
3004 |
msgstr ""
|
3005 |
|
3006 |
-
#: inc/classes/class-happyforms.php:
|
3007 |
msgid "Use reCAPTCHA"
|
3008 |
msgstr ""
|
3009 |
|
3010 |
-
#: inc/classes/class-happyforms.php:
|
3011 |
msgid "Save incomplete and abandoned submissions"
|
3012 |
msgstr ""
|
3013 |
|
3014 |
-
#: inc/classes/class-happyforms.php:
|
3015 |
msgid "Let submitters save a draft for set number of days"
|
3016 |
msgstr ""
|
3017 |
|
3018 |
-
#: inc/classes/class-happyforms.php:
|
3019 |
msgid "Require submitters to review a submission"
|
3020 |
msgstr ""
|
3021 |
|
3022 |
-
#: inc/classes/class-happyforms.php:
|
|
|
|
|
|
|
|
|
3023 |
msgid "Erase submitter's personal data after set number of days"
|
3024 |
msgstr ""
|
3025 |
|
3026 |
-
#: inc/classes/class-happyforms.php:
|
3027 |
msgid "Show an error message if field contains words in Disallowed Comment Keys"
|
3028 |
msgstr ""
|
3029 |
|
3030 |
-
#: inc/classes/class-happyforms.php:
|
3031 |
msgid "Include reply link"
|
3032 |
msgstr ""
|
3033 |
|
3034 |
-
#: inc/classes/class-happyforms.php:
|
3035 |
msgid "Include referral web address"
|
3036 |
msgstr ""
|
3037 |
|
3038 |
-
#: inc/classes/class-happyforms.php:
|
3039 |
msgid "Send abandonment email"
|
3040 |
msgstr ""
|
3041 |
|
3042 |
-
#: inc/classes/class-happyforms.php:
|
3043 |
msgid "Checkboxes & Radios"
|
3044 |
msgstr ""
|
3045 |
|
3046 |
-
#: inc/classes/class-happyforms.php:
|
3047 |
msgid "Rating"
|
3048 |
msgstr ""
|
3049 |
|
3050 |
-
#: inc/classes/class-happyforms.php:
|
3051 |
msgid "Separators"
|
3052 |
msgstr ""
|
3053 |
|
3054 |
-
#: inc/classes/class-happyforms.php:
|
3055 |
msgid "Multi Step"
|
3056 |
msgstr ""
|
3057 |
|
@@ -3125,14 +3114,6 @@ msgstr ""
|
|
3125 |
msgid "For adding titles to visually separate fields."
|
3126 |
msgstr ""
|
3127 |
|
3128 |
-
#: inc/classes/parts/class-part-likert-scale-dummy.php:8
|
3129 |
-
msgid "Scale"
|
3130 |
-
msgstr ""
|
3131 |
-
|
3132 |
-
#: inc/classes/parts/class-part-likert-scale-dummy.php:9
|
3133 |
-
msgid "For collecting ratings using a fixed numeric scale."
|
3134 |
-
msgstr ""
|
3135 |
-
|
3136 |
#: inc/classes/parts/class-part-media-dummy.php:8
|
3137 |
msgid "Media"
|
3138 |
msgstr ""
|
2 |
# This file is distributed under the same license as the Happyforms (free) plugin.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: Happyforms (free) 1.18.0\n"
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/happyforms/\n"
|
7 |
"Last-Translator: The Theme Foundry\n"
|
8 |
"Language-Team: The Theme Foundry\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"POT-Creation-Date: 2022-08-31T08:42:48+00:00\n"
|
13 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
14 |
"X-Generator: WP-CLI 2.4.0\n"
|
15 |
"X-Domain: happyforms\n"
|
24 |
msgstr ""
|
25 |
|
26 |
#. Description of the plugin
|
27 |
+
msgid "Form builder to get in touch with visitors, grow your email list and collect payments."
|
28 |
msgstr ""
|
29 |
|
30 |
#. Author of the plugin
|
36 |
#: core/classes/class-happyforms-core.php:186
|
37 |
#: core/classes/class-happyforms-core.php:187
|
38 |
#: core/classes/class-happyforms-widget.php:13
|
39 |
+
#: core/helpers/helper-misc.php:1057
|
40 |
msgid "Forms"
|
41 |
msgstr ""
|
42 |
|
79 |
|
80 |
#: core/classes/class-form-admin.php:454
|
81 |
#: core/templates/customize-form-item.php:27
|
82 |
+
#: inc/templates/customize-form-part-choice-footer.php:3
|
83 |
+
#: inc/templates/customize-form-part-footer.php:4
|
|
|
|
|
|
|
|
|
|
|
84 |
msgid "Duplicate"
|
85 |
msgstr ""
|
86 |
|
165 |
msgstr ""
|
166 |
|
167 |
#: core/classes/class-form-email.php:106
|
168 |
+
#: inc/classes/class-happyforms.php:173
|
169 |
msgid "To email address"
|
170 |
msgstr ""
|
171 |
|
339 |
msgid "Missing validation callback for field %s"
|
340 |
msgstr ""
|
341 |
|
342 |
+
#: core/classes/class-form-setup.php:86
|
343 |
msgid "Validate your submission"
|
344 |
msgstr ""
|
345 |
|
346 |
+
#: core/classes/class-form-setup.php:121
|
347 |
+
msgid "We've got your submission."
|
348 |
msgstr ""
|
349 |
|
350 |
+
#: core/classes/class-form-setup.php:125
|
351 |
msgid "Bummer. The form can't be submitted. Please check for mistakes."
|
352 |
msgstr ""
|
353 |
|
354 |
+
#: core/classes/class-form-setup.php:129
|
355 |
msgid "Send"
|
356 |
msgstr ""
|
357 |
|
358 |
+
#: core/classes/class-form-setup.php:133
|
359 |
+
msgid "Fill out this form again"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
360 |
msgstr ""
|
361 |
|
362 |
+
#: core/classes/class-form-setup.php:147
|
363 |
msgid "Add custom CSS classes to submit button"
|
364 |
msgstr ""
|
365 |
|
366 |
+
#: core/classes/class-form-setup.php:156
|
367 |
msgid "Submit button CSS classes"
|
368 |
msgstr ""
|
369 |
|
370 |
+
#: core/classes/class-form-setup.php:165
|
371 |
msgid "Add custom HTML ID to form"
|
372 |
msgstr ""
|
373 |
|
374 |
+
#: core/classes/class-form-setup.php:174
|
375 |
msgid "Form HTML ID"
|
376 |
msgstr ""
|
377 |
|
378 |
+
#: core/classes/class-form-setup.php:194
|
379 |
msgid "Form is successfully submitted"
|
380 |
msgstr ""
|
381 |
|
382 |
+
#: core/classes/class-form-setup.php:199
|
383 |
msgid "Form can’t be submitted"
|
384 |
msgstr ""
|
385 |
|
386 |
+
#: core/classes/class-form-setup.php:204
|
387 |
msgid "Submit form"
|
388 |
msgstr ""
|
389 |
|
390 |
+
#: core/classes/class-form-setup.php:209
|
391 |
+
msgid "Fill out again the form"
|
392 |
+
msgstr ""
|
393 |
+
|
394 |
#: core/classes/class-form-styles.php:54
|
395 |
msgid "Left-to-right"
|
396 |
msgstr ""
|
673 |
#: core/classes/class-form-styles.php:682
|
674 |
#: core/templates/parts/customize-checkbox.php:4
|
675 |
#: core/templates/parts/customize-checkbox.php:139
|
676 |
+
#: core/templates/parts/customize-checkbox.php:187
|
677 |
#: core/templates/parts/customize-email.php:4
|
678 |
#: core/templates/parts/customize-multi-line-text.php:4
|
679 |
#: core/templates/parts/customize-number.php:4
|
680 |
#: core/templates/parts/customize-radio.php:4
|
681 |
#: core/templates/parts/customize-radio.php:125
|
682 |
+
#: core/templates/parts/customize-radio.php:174
|
683 |
#: core/templates/parts/customize-select.php:4
|
684 |
#: core/templates/parts/customize-select.php:116
|
685 |
+
#: core/templates/parts/customize-select.php:158
|
686 |
#: core/templates/parts/customize-single-line-text.php:4
|
687 |
msgid "Label"
|
688 |
msgstr ""
|
2621 |
msgstr ""
|
2622 |
|
2623 |
#: core/templates/customize-controls/setup/upsell.php:2
|
|
|
2624 |
#: core/templates/customize-form-parts-drawer.php:37
|
2625 |
#: inc/classes/class-answer-limiter-dummy.php:39
|
2626 |
#: inc/templates/customize-controls/checkbox_dummy.php:7
|
2627 |
#: inc/templates/customize-controls/email-parts-list-dummy.php:2
|
2628 |
#: inc/templates/customize-controls/number_dummy.php:4
|
2629 |
#: inc/templates/customize-controls/panel_dummy.php:3
|
2630 |
+
#: inc/templates/customize-controls/text_dummy.php:4
|
2631 |
+
#: inc/templates/customize-form-part-choice-footer.php:4
|
2632 |
+
#: inc/templates/customize-form-part-footer.php:5
|
2633 |
msgid "Members Only"
|
2634 |
msgstr ""
|
2635 |
|
2669 |
msgstr ""
|
2670 |
|
2671 |
#: core/templates/customize-form-item.php:33
|
2672 |
+
#: inc/templates/customize-form-part-choice-footer.php:2
|
2673 |
+
#: inc/templates/customize-form-part-footer.php:3
|
|
|
|
|
|
|
|
|
|
|
2674 |
msgid "Delete"
|
2675 |
msgstr ""
|
2676 |
|
2678 |
msgid "Preview"
|
2679 |
msgstr ""
|
2680 |
|
|
|
2681 |
#: core/templates/customize-form-part-logic.php:2
|
2682 |
+
#: inc/templates/customize-form-part-choice-footer.php:4
|
2683 |
+
#: inc/templates/customize-form-part-footer.php:5
|
2684 |
msgid "Logic"
|
2685 |
msgstr ""
|
2686 |
|
2889 |
msgstr ""
|
2890 |
|
2891 |
#: core/templates/parts/customize-checkbox.php:151
|
2892 |
+
#: core/templates/parts/customize-radio.php:137
|
2893 |
+
#: core/templates/parts/customize-select.php:122
|
2894 |
+
msgid "Max times this choice can be submitted"
|
2895 |
msgstr ""
|
2896 |
|
2897 |
#: core/templates/parts/customize-checkbox.php:157
|
2900 |
msgid "Make this choice default"
|
2901 |
msgstr ""
|
2902 |
|
2903 |
+
#: core/templates/parts/customize-checkbox.php:180
|
2904 |
+
#: core/templates/parts/customize-radio.php:167
|
2905 |
+
#: core/templates/parts/customize-select.php:151
|
2906 |
#: inc/classes/parts/class-part-layout-title-dummy.php:8
|
2907 |
msgid "Heading"
|
2908 |
msgstr ""
|
2968 |
"Click the \"Add Choice\" button to start."
|
2969 |
msgstr ""
|
2970 |
|
|
|
|
|
|
|
|
|
|
|
|
|
2971 |
#: core/templates/preview-form-pencil.php:3
|
2972 |
msgid "Click to edit this part."
|
2973 |
msgstr ""
|
2974 |
|
2975 |
#: inc/classes/class-answer-limiter-dummy.php:38
|
2976 |
+
msgid "Max times the same answer can be submitted"
|
2977 |
msgstr ""
|
2978 |
|
2979 |
+
#: inc/classes/class-happyforms.php:95
|
2980 |
msgid "Upgrade"
|
2981 |
msgstr ""
|
2982 |
|
2983 |
+
#: inc/classes/class-happyforms.php:103
|
2984 |
+
msgid "Redirect to this page address (URL) after submission"
|
2985 |
+
msgstr ""
|
2986 |
+
|
2987 |
+
#: inc/classes/class-happyforms.php:109
|
2988 |
msgid "Shuffle order of fields"
|
2989 |
msgstr ""
|
2990 |
|
2991 |
+
#: inc/classes/class-happyforms.php:115
|
2992 |
msgid "Use reCAPTCHA"
|
2993 |
msgstr ""
|
2994 |
|
2995 |
+
#: inc/classes/class-happyforms.php:121
|
2996 |
msgid "Save incomplete and abandoned submissions"
|
2997 |
msgstr ""
|
2998 |
|
2999 |
+
#: inc/classes/class-happyforms.php:127
|
3000 |
msgid "Let submitters save a draft for set number of days"
|
3001 |
msgstr ""
|
3002 |
|
3003 |
+
#: inc/classes/class-happyforms.php:133
|
3004 |
msgid "Require submitters to review a submission"
|
3005 |
msgstr ""
|
3006 |
|
3007 |
+
#: inc/classes/class-happyforms.php:139
|
3008 |
+
msgid "Max number of submissions"
|
3009 |
+
msgstr ""
|
3010 |
+
|
3011 |
+
#: inc/classes/class-happyforms.php:145
|
3012 |
msgid "Erase submitter's personal data after set number of days"
|
3013 |
msgstr ""
|
3014 |
|
3015 |
+
#: inc/classes/class-happyforms.php:151
|
3016 |
msgid "Show an error message if field contains words in Disallowed Comment Keys"
|
3017 |
msgstr ""
|
3018 |
|
3019 |
+
#: inc/classes/class-happyforms.php:161
|
3020 |
msgid "Include reply link"
|
3021 |
msgstr ""
|
3022 |
|
3023 |
+
#: inc/classes/class-happyforms.php:167
|
3024 |
msgid "Include referral web address"
|
3025 |
msgstr ""
|
3026 |
|
3027 |
+
#: inc/classes/class-happyforms.php:179
|
3028 |
msgid "Send abandonment email"
|
3029 |
msgstr ""
|
3030 |
|
3031 |
+
#: inc/classes/class-happyforms.php:189
|
3032 |
msgid "Checkboxes & Radios"
|
3033 |
msgstr ""
|
3034 |
|
3035 |
+
#: inc/classes/class-happyforms.php:195
|
3036 |
msgid "Rating"
|
3037 |
msgstr ""
|
3038 |
|
3039 |
+
#: inc/classes/class-happyforms.php:201
|
3040 |
msgid "Separators"
|
3041 |
msgstr ""
|
3042 |
|
3043 |
+
#: inc/classes/class-happyforms.php:207
|
3044 |
msgid "Multi Step"
|
3045 |
msgstr ""
|
3046 |
|
3114 |
msgid "For adding titles to visually separate fields."
|
3115 |
msgstr ""
|
3116 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3117 |
#: inc/classes/parts/class-part-media-dummy.php:8
|
3118 |
msgid "Media"
|
3119 |
msgstr ""
|
readme.txt
CHANGED
@@ -1,15 +1,15 @@
|
|
1 |
-
===
|
2 |
|
3 |
Contributors: happyforms
|
4 |
Tags: contact form, contact form plugin, forms, form builder, custom form, intake form, registration form, survey form, quiz form, payment form, newsletter form, giveaway form, fundraising form, donation form, nomination form, order form, questionnaire form, onboarding form, contract form, estimate form, research form, qualitative form, quantitative form, membership form, mobile form, feedback form, release form, inquiry form, request form, evaluation form, RSVP form, reservation form, sales lead form, popup form, quote form, event form, booking form, application form, agreement form, safety form, compliance form, assessment form, sponsorship form, report form, file upload form, satisfaction form
|
5 |
Requires at least: 5.0
|
6 |
Tested up to: 6.0
|
7 |
Requires PHP: 7.0
|
8 |
-
Stable tag: 1.
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
12 |
-
|
13 |
|
14 |
== Description ==
|
15 |
|
@@ -143,6 +143,12 @@ Aw, honestly, the thought that you're writing about our contact form builder is
|
|
143 |
|
144 |
== Changelog ==
|
145 |
|
|
|
|
|
|
|
|
|
|
|
|
|
146 |
= 1.17.0 =
|
147 |
* Improvement: All sections in Style tab are now always visible for easier access to controls.
|
148 |
* Improvement: Choice based fields build interface has been tidied up and made more coherent.
|
@@ -955,6 +961,9 @@ Aw, honestly, the thought that you're writing about our contact form builder is
|
|
955 |
|
956 |
== Upgrade Notice ==
|
957 |
|
|
|
|
|
|
|
958 |
= 1.17.0 =
|
959 |
* Single-bundle frontend styles for better performance, builder interface improvements.
|
960 |
|
1 |
+
=== Form builder to get in touch with visitors, grow your email list and collect payments — Happyforms ===
|
2 |
|
3 |
Contributors: happyforms
|
4 |
Tags: contact form, contact form plugin, forms, form builder, custom form, intake form, registration form, survey form, quiz form, payment form, newsletter form, giveaway form, fundraising form, donation form, nomination form, order form, questionnaire form, onboarding form, contract form, estimate form, research form, qualitative form, quantitative form, membership form, mobile form, feedback form, release form, inquiry form, request form, evaluation form, RSVP form, reservation form, sales lead form, popup form, quote form, event form, booking form, application form, agreement form, safety form, compliance form, assessment form, sponsorship form, report form, file upload form, satisfaction form
|
5 |
Requires at least: 5.0
|
6 |
Tested up to: 6.0
|
7 |
Requires PHP: 7.0
|
8 |
+
Stable tag: 1.18.0
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
12 |
+
Build your own contact form, newsletter form and payment form — without the sucky stuff. Nah to lost emails, pesky spam, leaky privacy and outsourced help.
|
13 |
|
14 |
== Description ==
|
15 |
|
143 |
|
144 |
== Changelog ==
|
145 |
|
146 |
+
= 1.18.0 =
|
147 |
+
* Improvement: Forms are now automatically hidden after a successful submission, and a "Fill out this form again" link lets submitters submit again for better usability.
|
148 |
+
* Improvement: Control labels in the builder have been reworded for better clarity.
|
149 |
+
|
150 |
+
= 1.17.0 =
|
151 |
+
|
152 |
= 1.17.0 =
|
153 |
* Improvement: All sections in Style tab are now always visible for easier access to controls.
|
154 |
* Improvement: Choice based fields build interface has been tidied up and made more coherent.
|
961 |
|
962 |
== Upgrade Notice ==
|
963 |
|
964 |
+
= 1.18.0 =
|
965 |
+
* Improved behavior after successful submission, minor tweaks and improvements.
|
966 |
+
|
967 |
= 1.17.0 =
|
968 |
* Single-bundle frontend styles for better performance, builder interface improvements.
|
969 |
|